:root{--bg:#f7f8fb;--card:#fff;--ink:#172033;--muted:#687086;--brand:#176b87;--line:#e7eaf0;--danger:#b42318;--ok:#057a55}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:Tahoma,Arial,sans-serif;line-height:1.8}a{color:var(--brand);text-decoration:none}input,textarea,select,button{font:inherit;border:1px solid var(--line);border-radius:12px;padding:10px;background:white}textarea{width:100%}button{background:var(--brand);color:white;border:0;cursor:pointer;padding:10px 18px}.ltr{direction:ltr;text-align:left}.small{font-size:12px}.site-hero{padding:30px 7vw 55px;background:linear-gradient(135deg,#082f49,#176b87);color:white}.site-hero nav{display:flex;gap:22px;align-items:center}.site-hero a{color:white}.site-hero h1{font-size:40px;max-width:850px}.site-hero p{max-width:760px;color:#dbeafe}.site-main{max-width:1180px;margin:-35px auto 40px;padding:0 16px}.article-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:18px}.news-card,.panel,.login-card,.summary{background:var(--card);border:1px solid var(--line);border-radius:22px;padding:20px;box-shadow:0 12px 34px rgba(15,23,42,.06)}.news-card h2{font-size:20px;line-height:1.5}.meta{color:var(--muted);font-size:13px}.tags{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.tags span{background:#e0f2fe;color:#075985;border-radius:99px;padding:4px 10px;font-size:12px}footer{text-align:center;color:var(--muted);padding:30px}.article-header{max-width:900px;margin:0 auto;padding:40px 20px 15px}.article-header h1{font-size:34px;line-height:1.45}.article-main{max-width:900px;margin:0 auto 60px;padding:0 20px}.article-main section{background:white;border:1px solid var(--line);border-radius:22px;padding:22px;margin:18px 0}.notice{background:#fff7ed;border:1px solid #fed7aa;border-radius:16px;padding:12px}.login-body{display:grid;place-items:center;min-height:100vh}.login-card{width:min(430px,92vw)}.login-card label,.grid-form label,.edit-form label,.inline-form label{display:flex;flex-direction:column;gap:6px;margin-bottom:12px}.admin-body{display:grid;grid-template-columns:250px 1fr;min-height:100vh}.admin-sidebar{background:#082f49;color:white;padding:22px;display:flex;flex-direction:column;gap:8px;position:sticky;top:0;height:100vh}.admin-sidebar a{color:white;padding:9px 10px;border-radius:12px}.admin-sidebar a:hover{background:rgba(255,255,255,.12)}.brand{font-weight:bold;font-size:22px;margin-bottom:14px}.admin-main{padding:24px;overflow:auto}.admin-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:14px;margin-bottom:18px}.card{background:white;border:1px solid var(--line);border-radius:20px;padding:18px}.card strong{display:block;font-size:30px;color:var(--brand)}.panel{margin-bottom:18px;overflow:auto}.grid-form{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;align-items:end}.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:14px}.check{flex-direction:row!important;align-items:center}.inline-form{display:flex;gap:14px;align-items:end;flex-wrap:wrap}table{width:100%;border-collapse:collapse;background:white}th,td{border-bottom:1px solid var(--line);padding:10px;text-align:right;vertical-align:top}th{color:var(--muted);font-size:13px}.alert{padding:12px 14px;border-radius:14px;margin-bottom:16px;background:#ecfdf3;color:var(--ok)}.alert.error{background:#fef3f2;color:var(--danger)}.article-box{max-height:520px;overflow:auto;background:#f8fafc;border:1px solid var(--line);border-radius:18px;padding:16px;white-space:normal}.toolbar{display:flex;gap:12px;margin-bottom:14px}@media(max-width:760px){.admin-body{grid-template-columns:1fr}.admin-sidebar{position:static;height:auto}.site-hero h1,.article-header h1{font-size:27px}.grid-2{grid-template-columns:1fr}}
.ad-box{background:#fff;border:1px dashed #cbd5e1;border-radius:20px;padding:18px;margin:18px 0;box-shadow:0 12px 34px rgba(15,23,42,.04)}.ad-box a{display:block;color:inherit}.ad-box img{max-width:100%;border-radius:16px;margin-bottom:10px}.ad-label{display:inline-block;background:#f1f5f9;color:#64748b;border-radius:99px;padding:2px 9px;font-size:11px;margin-bottom:6px}.grid-wide{grid-column:1/-1}.social-channel-card{background:#f8fafc;border:1px solid var(--line);border-radius:18px;padding:16px;margin:14px 0}.status{display:inline-block;border-radius:99px;background:#eef2ff;color:#3730a3;padding:3px 9px;font-size:12px}.status-posted,.status-sent,.status-active,.status-published{background:#ecfdf3;color:#057a55}.status-failed{background:#fef3f2;color:#b42318}.status-queued,.status-draft{background:#fff7ed;color:#c2410c}.row-actions{display:inline-flex;gap:6px;align-items:center;flex-wrap:wrap}.newsletter-box{background:white;border:1px solid var(--line);border-radius:22px;padding:22px;margin:18px 0;box-shadow:0 12px 34px rgba(15,23,42,.05)}.newsletter-box h2{margin-top:0}.newsletter-form{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.newsletter-form input{min-width:210px;flex:1}.hp{position:absolute;right:-9999px;opacity:0}.ad-box strong{display:block;font-size:18px;margin:4px 0}.ad-box p{margin:4px 0;color:var(--muted)}
.trend-strip{background:white;border:1px solid var(--line);border-radius:22px;padding:18px;margin:18px 0;box-shadow:0 12px 34px rgba(15,23,42,.05)}.related-list{display:grid;gap:12px}.related-item{border:1px solid var(--line);background:#f8fafc;border-radius:16px;padding:12px}.status-warning{background:#fff7ed;color:#c2410c}.status-critical{background:#fef3f2;color:#b42318}.status-disabled,.status-cancelled,.status-expired{background:#f1f5f9;color:#64748b}.status-trial{background:#eef2ff;color:#3730a3}.status-active{background:#ecfdf3;color:#057a55}.admin-sidebar{overflow:auto}.admin-main pre{white-space:pre-wrap}
.form-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}.form-actions button{width:auto}.notice{background:#eef7f5;border:1px solid #cde7df;border-radius:12px;padding:10px 12px;margin:10px 0;color:#24463f}.alert.error{background:#fff1f1;border-color:#ffd1d1;color:#9b1c1c}.alert.success{background:#f0fff7;border-color:#c7f0dc;color:#12683b}

/* Member newsletter area */
.member-hero{background:radial-gradient(circle at 20% 10%,rgba(0,255,194,.22),transparent 32%),linear-gradient(135deg,#07111f,#101b35 55%,#0e3a49)}
.member-main{max-width:1180px}.member-panel{margin-bottom:22px}.member-login-card{max-width:520px}.newsletter-form-extended{grid-template-columns:repeat(6,minmax(0,1fr))}.newsletter-form-extended input,.newsletter-form-extended select{min-width:0}
.checkbox-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;margin:12px 0 20px}.check-card{display:block;border:1px solid rgba(30,60,90,.14);border-radius:18px;padding:14px;background:linear-gradient(180deg,#fff,#f9fbff);box-shadow:0 8px 24px rgba(20,35,70,.05);cursor:pointer}.check-card input{margin-left:8px}.check-card strong{display:block;margin-bottom:4px}.check-card small{display:block;color:#69738a;line-height:1.7}.cluster-select{max-height:360px;overflow:auto;padding-left:4px}.member-panel table .ltr,.ltr{direction:ltr;text-align:left}.status-paid,.status-active,.status-sent{background:#e9fff7;color:#05624b}.status-pending,.status-trial{background:#fff7dc;color:#8a5b00}.status-failed,.status-cancelled,.status-expired{background:#ffecec;color:#9b1c1c}
@media (max-width:900px){.newsletter-form-extended{grid-template-columns:1fr}.checkbox-grid{grid-template-columns:1fr}}
/* Performance fetch preloader */
.progress-panel{border:1px solid rgba(23,107,135,.22);background:linear-gradient(180deg,#fff,#f7fbff)}
.progress-wrap{margin-top:16px;border:1px solid var(--line);border-radius:18px;background:#f8fafc;padding:16px}
.progress-bar{height:14px;background:#e2e8f0;border-radius:999px;overflow:hidden;box-shadow:inset 0 1px 2px rgba(15,23,42,.08)}
.progress-bar span{display:block;height:100%;width:0;background:linear-gradient(90deg,#176b87,#22c55e);transition:width .25s ease;border-radius:999px}
.progress-status{font-weight:700;margin-top:12px;color:#0f3550}.progress-counters{display:flex;gap:12px;flex-wrap:wrap;margin:12px 0}.progress-counters span{background:white;border:1px solid var(--line);border-radius:999px;padding:5px 12px;color:var(--muted)}
.progress-log{max-height:360px;overflow:auto;margin:12px 0 0;padding:0 24px 0 0}.progress-log li{border-bottom:1px solid #e5edf5;padding:7px 0;color:#334155}.progress-log li.err{color:#b42318}.progress-log li.warn{color:#c2410c}.btn-muted{background:#64748b!important}
/* Admin quick dashboard, pagination and AI processing controls */
.quick-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:14px;margin-top:16px}.quick-card{display:block;background:linear-gradient(180deg,#fff,#f8fbff);border:1px solid var(--line);border-radius:20px;padding:18px;box-shadow:0 12px 30px rgba(15,23,42,.05);color:var(--ink);transition:.18s ease}.quick-card:hover{transform:translateY(-2px);box-shadow:0 16px 38px rgba(15,23,42,.08)}.quick-card strong{display:block;font-size:18px;margin:8px 0 4px}.quick-card small{display:block;color:var(--muted);line-height:1.7}.quick-badge{display:inline-block;background:#e0f2fe;color:#075985;border-radius:99px;padding:2px 10px;font-size:12px}.dashboard-stats .card{background:linear-gradient(180deg,#fff,#f8fafc)}.pagination{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-top:16px}.pagination a{background:#fff;border:1px solid var(--line);border-radius:12px;padding:7px 12px}.pagination a.active{background:var(--brand);color:#fff;border-color:var(--brand)}.site-pagination{justify-content:center;margin:28px 0}.ai-action-panel{border-color:rgba(23,107,135,.28);background:linear-gradient(180deg,#fff,#f7fcff)}.mini-cards{grid-template-columns:repeat(auto-fit,minmax(190px,1fr));margin-bottom:14px}.status-processing{background:#eef2ff;color:#3730a3}.status-processed{background:#ecfdf3;color:#057a55}.status-pending{background:#fff7ed;color:#c2410c}.status-failed{background:#fef3f2;color:#b42318}.status-skipped{background:#f1f5f9;color:#64748b}
/* Bulk operations, row numbers and review navigation */
.bulk-toolbar{display:flex;gap:12px;align-items:end;flex-wrap:wrap;background:#f8fafc;border:1px solid var(--line);border-radius:18px;padding:14px;margin:14px 0}.bulk-toolbar label{display:flex;flex-direction:column;gap:6px}.row-no,.row-chip{font-weight:700;color:#176b87;background:#e0f2fe;border-radius:999px;padding:3px 9px;white-space:nowrap;text-align:center}.row-chip{display:inline-block;font-size:12px;margin-left:6px}.review-nav-panel{background:linear-gradient(180deg,#fff,#f8fbff);border-color:rgba(23,107,135,.25)}.review-nav,.public-article-nav{display:flex;gap:10px;align-items:center;justify-content:space-between;flex-wrap:wrap}.btn-link,.public-article-nav a{background:#fff;border:1px solid var(--line);border-radius:14px;padding:9px 14px;color:var(--brand)}.btn-link:hover,.public-article-nav a:hover{background:#e0f2fe}.btn-disabled,.public-article-nav span{background:#f1f5f9;color:#94a3b8;border:1px solid var(--line);border-radius:14px;padding:9px 14px}.public-article-nav{margin-top:18px;border-top:1px solid rgba(255,255,255,.22);padding-top:16px}.public-article-nav-bottom{border-top:1px solid var(--line);margin:24px 0 0;padding-top:18px}.article-check{width:18px;height:18px}.admin-main table th:first-child,.admin-main table td:first-child{width:1%;white-space:nowrap}


/* Public layout refinements */
.latest-header{display:flex;justify-content:space-between;gap:14px;align-items:center;margin:18px 0;background:white;border:1px solid var(--line);border-radius:22px;padding:18px 20px;box-shadow:0 12px 34px rgba(15,23,42,.04)}.latest-header h2{margin:0 0 4px}.view-switcher{display:flex;gap:8px;background:#f1f5f9;border-radius:16px;padding:5px}.view-switcher a{border-radius:12px;padding:7px 12px;color:#475569}.view-switcher a.active{background:white;color:var(--brand);box-shadow:0 4px 14px rgba(15,23,42,.08)}.article-list{display:grid;grid-template-columns:1fr;gap:14px}.news-card-list{display:grid;grid-template-columns:1fr;gap:6px;padding:18px 22px}.news-card-list h2{margin:4px 0;font-size:19px}.news-card-list p{margin:4px 0}.newsletter-under-list{margin-top:26px;border-color:rgba(23,107,135,.20);background:linear-gradient(180deg,#fff,#f7fcff)}.site-footer{background:#07111f;color:#dbeafe;text-align:right;padding:34px 7vw;margin-top:30px}.site-footer-inner{max-width:1180px;margin:0 auto;display:grid;grid-template-columns:1.4fr 1fr;gap:18px;align-items:start}.site-footer strong{font-size:20px;color:white}.site-footer p{margin:8px 0;color:#b8c7df}.site-footer nav{display:flex;gap:12px;flex-wrap:wrap;justify-content:flex-end}.site-footer a{color:#dbeafe;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.10);border-radius:999px;padding:6px 12px}.footer-note{grid-column:1/-1;border-top:1px solid rgba(255,255,255,.10);padding-top:14px;font-size:13px}.btn-success{background:#057a55!important}.complete-row{background:linear-gradient(90deg,rgba(236,253,243,.72),transparent 42%)}.incomplete-row{background:linear-gradient(90deg,rgba(255,247,237,.45),transparent 42%)}@media(max-width:760px){.latest-header{align-items:stretch;flex-direction:column}.site-footer-inner{grid-template-columns:1fr}.site-footer nav{justify-content:flex-start}.newsletter-form{align-items:stretch}.newsletter-form input,.newsletter-form select,.newsletter-form button{width:100%}}
/* Article related content and newsletter placement */
.newsletter-under-article{margin-top:28px;border-color:rgba(23,107,135,.24);background:linear-gradient(180deg,#fff,#f6fcff)}
.related-articles-section{background:linear-gradient(180deg,#fff,#f8fbff)!important}
.related-articles-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px;margin-top:12px}
.related-article-card{border:1px solid var(--line);border-radius:18px;background:#f8fafc;padding:15px;box-shadow:0 8px 24px rgba(15,23,42,.04)}
.related-article-card h3{font-size:17px;line-height:1.6;margin:8px 0}.related-article-card p{margin:0;color:#475569;font-size:13px;line-height:1.8}

/* Shared public header and responsive public layout */
.public-page{min-width:0;overflow-x:hidden}.public-header{padding:20px 7vw 58px;background:radial-gradient(circle at 18% 8%,rgba(34,211,238,.20),transparent 28%),linear-gradient(135deg,#061321,#0f3d5e 52%,#176b87);color:#fff}.public-header.article-public-hero{padding-bottom:46px}.public-topbar{max-width:1180px;margin:0 auto;display:flex;align-items:center;gap:18px;justify-content:space-between;position:relative}.public-brand{display:inline-flex;align-items:center;gap:10px;color:#fff;font-weight:800;font-size:18px}.brand-mark{display:inline-grid;place-items:center;width:38px;height:38px;border-radius:14px;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.22);font-size:13px;letter-spacing:.6px}.public-nav-links{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.public-nav-links a{color:#eaf6ff;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.07);border-radius:999px;padding:8px 13px}.public-nav-links a.active,.public-nav-links a:hover{background:#fff;color:#0f3d5e}.public-nav-toggle{position:absolute;opacity:0;pointer-events:none}.public-nav-button{display:none;color:#fff;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.20);border-radius:14px;padding:8px 13px;font-size:22px;line-height:1;cursor:pointer}.public-hero-content{max-width:1180px;margin:38px auto 0}.public-kicker{display:inline-block;margin:0 0 8px;color:#a7f3d0;background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.16);border-radius:999px;padding:3px 10px;font-size:12px}.public-hero-content h1{font-size:clamp(28px,4.4vw,44px);line-height:1.45;max-width:980px;margin:0 0 10px}.public-hero-content p{max-width:860px;margin:0;color:#dbeafe}.public-hero-content a{color:#fff;text-decoration:underline;text-underline-offset:4px}.article-nav-panel{margin-top:-26px;background:rgba(255,255,255,.92);backdrop-filter:blur(10px);border:1px solid rgba(226,232,240,.9);border-radius:22px;box-shadow:0 16px 40px rgba(15,23,42,.08);padding:18px 20px}.auth-main{display:grid;place-items:center;min-height:auto}.public-auth-card{width:min(560px,100%)}.pricing-card .btn-link{display:inline-block;margin-top:10px}

/* Tabbed public article analysis */
.analysis-tabs-section{overflow:hidden}.analysis-tabs{display:grid;grid-template-columns:repeat(5,minmax(0,auto)) 1fr;align-items:start;gap:8px}.analysis-tabs input{position:absolute;opacity:0;pointer-events:none}.analysis-tabs label{border:1px solid var(--line);background:#f8fafc;color:#475569;border-radius:999px;padding:8px 13px;font-weight:700;cursor:pointer;white-space:nowrap;transition:.18s ease}.analysis-tabs label:hover{background:#e0f2fe;color:#075985}.analysis-panel{display:none;grid-column:1/-1;border:1px solid var(--line);border-radius:18px;background:linear-gradient(180deg,#fff,#f8fbff);padding:18px;margin-top:8px}.analysis-panel h3{margin-top:0;color:#0f3d5e}.analysis-tabs input:checked + label{background:var(--brand);border-color:var(--brand);color:#fff;box-shadow:0 10px 24px rgba(23,107,135,.18)}.analysis-tabs input:checked + label + .analysis-panel{display:block}

/* Mobile-first fixes for public pages */
img,iframe,video{max-width:100%;height:auto}.article-main,.site-main{width:100%}.article-main p,.news-card p,.related-item p{overflow-wrap:anywhere}.related-list,.related-articles-grid{min-width:0}.public-article-nav{gap:8px}.public-article-nav a,.public-article-nav span{flex:1 1 auto;text-align:center}.news-card-list{grid-template-columns:1fr}.article-box,table{max-width:100%}.panel table{display:block;overflow-x:auto;white-space:nowrap}.newsletter-form-extended{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));align-items:end}.newsletter-form-extended button{min-height:44px}
@media(max-width:820px){.public-header{padding:14px 16px 42px}.public-topbar{align-items:flex-start}.public-nav-button{display:inline-block}.public-nav-links{display:none;position:absolute;top:52px;left:0;right:0;z-index:20;flex-direction:column;align-items:stretch;background:rgba(6,19,33,.96);border:1px solid rgba(255,255,255,.16);border-radius:20px;padding:12px;box-shadow:0 18px 50px rgba(0,0,0,.24)}.public-nav-links a{display:block;text-align:center;border-radius:14px}.public-nav-toggle:checked ~ .public-nav-links{display:flex}.public-hero-content{margin-top:30px}.site-main{margin-top:-28px;padding:0 12px}.article-main{padding:0 12px}.article-nav-panel{margin: -20px 12px 0}.latest-header{padding:14px}.article-grid{grid-template-columns:1fr}.news-card{padding:16px;border-radius:18px}.analysis-tabs{display:flex;overflow-x:auto;padding-bottom:8px;scroll-snap-type:x proximity}.analysis-tabs label{scroll-snap-align:start;flex:0 0 auto}.analysis-panel{flex:1 0 100%;min-width:100%;order:99}.site-footer{padding:26px 16px}.public-article-nav{flex-direction:column}.public-article-nav a,.public-article-nav span{width:100%}.newsletter-box{padding:18px}.newsletter-form-extended{grid-template-columns:1fr}.member-main .panel{padding:16px}.checkbox-grid{grid-template-columns:1fr}.bulk-toolbar,.inline-form,.grid-form{display:grid;grid-template-columns:1fr}.bulk-toolbar label,.inline-form label,.grid-form label{width:100%}}
@media(max-width:520px){.public-brand span:last-child{font-size:16px}.brand-mark{width:34px;height:34px;border-radius:12px}.public-hero-content h1{font-size:25px}.public-hero-content p{font-size:14px}.view-switcher{width:100%;justify-content:space-between}.view-switcher a{flex:1;text-align:center}.tags span{font-size:11px}.article-header{padding-left:12px;padding-right:12px}.article-main section{padding:16px;border-radius:18px}.analysis-tabs label{font-size:13px;padding:7px 10px}.site-footer-inner{gap:12px}.site-footer nav a{flex:1 1 42%;text-align:center}.login-card{width:100%;border-radius:18px}}

/* Unified public auth / member UI pass */
.public-page .site-main.unified-public-main{max-width:1180px;margin:-34px auto 0;padding:0 18px 36px;position:relative;z-index:2}.auth-page .public-header{padding-bottom:70px}.auth-shell{display:grid;grid-template-columns:minmax(260px,.9fr) minmax(300px,1.1fr);gap:18px;align-items:stretch;width:100%}.auth-intro-card,.public-auth-card,.member-panel,.public-page .panel{border:1px solid rgba(226,232,240,.96);background:rgba(255,255,255,.96);box-shadow:0 20px 55px rgba(15,23,42,.08);border-radius:26px;padding:26px}.auth-intro-card{background:linear-gradient(160deg,#061321,#0f3d5e 72%,#176b87);color:#fff;overflow:hidden;position:relative}.auth-intro-card:after{content:"";position:absolute;inset:auto -80px -90px auto;width:220px;height:220px;border-radius:999px;background:rgba(34,211,238,.18)}.auth-intro-card h2{margin:8px 0 10px;font-size:28px;line-height:1.45}.auth-intro-card p{color:#dbeafe;line-height:2}.auth-benefits{display:grid;gap:10px;margin:22px 0 0;padding:0;list-style:none}.auth-benefits li{background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.14);border-radius:16px;padding:10px 12px}.public-auth-card h2{margin-top:0;color:#0f3d5e}.auth-form label{font-weight:700;color:#334155}.auth-form input,.auth-form select,.auth-form textarea{border-radius:16px;border:1px solid #dbe3ef;background:#fff;padding:12px 14px;min-height:46px}.auth-form input:focus,.auth-form select:focus,.auth-form textarea:focus{outline:3px solid rgba(23,107,135,.14);border-color:#176b87}.auth-form button,.public-auth-card button,.inline-mini-form button{border:0;border-radius:16px;background:linear-gradient(135deg,#176b87,#0f3d5e);color:#fff;padding:12px 18px;font-weight:800;cursor:pointer}.auth-links{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:16px}.auth-links a,.auth-links button{background:#f1f5f9;border:1px solid #dbe3ef;color:#0f3d5e;border-radius:999px;padding:8px 12px;text-decoration:none}.inline-mini-form{display:inline;margin:0}.step-indicator{display:flex;gap:8px;flex-wrap:wrap;margin-top:18px}.step-indicator span{border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.10);border-radius:999px;padding:7px 12px;color:#dbeafe}.step-indicator span.active{background:#fff;color:#0f3d5e}.debug-code-box{display:grid;gap:6px;background:#ecfeff;border:1px solid #67e8f9;border-radius:20px;padding:16px;margin:14px 0}.debug-code-box span{color:#0e7490;font-weight:700}.debug-code-box strong{font-size:30px;letter-spacing:8px;color:#0f3d5e;text-align:center;background:#fff;border-radius:16px;padding:10px}.debug-code-box small{color:#475569;line-height:1.8}.otp-input{text-align:center;font-size:24px;letter-spacing:8px;font-weight:800}.member-main{max-width:1180px;margin:-34px auto 0;padding:0 18px 36px;display:grid;gap:18px}.member-panel h2{color:#0f3d5e;margin-top:0}.member-panel .checkbox-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}.check-card{display:block;border:1px solid #dbe3ef;background:#f8fafc;border-radius:18px;padding:14px;cursor:pointer}.check-card input{margin-left:8px}.check-card strong{display:block;margin-bottom:5px;color:#0f3d5e}.check-card small{color:#64748b;line-height:1.8}.public-page .alert{border-radius:18px;padding:12px 14px;margin-bottom:16px}.public-page .alert.success{background:#ecfdf3;color:#027a48;border:1px solid #a6f4c5}.public-page .alert.error{background:#fef3f2;color:#b42318;border:1px solid #fecdca}.public-page code{background:#eef6ff;border:1px solid #dbeafe;border-radius:8px;padding:2px 6px}.public-page .ltr{direction:ltr;text-align:left}.public-page pre.ltr{white-space:pre-wrap;background:#07111f;color:#dbeafe;border-radius:18px;padding:16px;overflow-x:auto}.public-topbar,.public-hero-content,.site-footer-inner,.site-main,.article-main{box-sizing:border-box}.public-page input,.public-page select,.public-page textarea,.public-page button{font-family:inherit}.public-page .grid-form,.public-page .inline-form{gap:12px}.public-page .login-card{max-width:none}.public-page .member-login-card{width:auto}.public-nav-links a{white-space:nowrap}
@media(max-width:900px){.auth-shell{grid-template-columns:1fr}.auth-intro-card{min-height:auto}.public-page .site-main.unified-public-main,.member-main{margin-top:-26px;padding-left:12px;padding-right:12px}.auth-intro-card,.public-auth-card,.member-panel,.public-page .panel{border-radius:20px;padding:18px}.auth-intro-card h2{font-size:23px}.debug-code-box strong{font-size:25px;letter-spacing:5px}.member-panel .checkbox-grid{grid-template-columns:1fr}}
@media(max-width:520px){.public-page .site-main.unified-public-main,.member-main{padding-left:10px;padding-right:10px}.auth-links{display:grid;grid-template-columns:1fr}.auth-links a,.auth-links button{text-align:center;width:100%}.otp-input{font-size:21px;letter-spacing:5px}.debug-code-box strong{font-size:23px}.auth-intro-card,.public-auth-card,.member-panel,.public-page .panel{padding:16px}.public-nav-links a{white-space:normal}}

/* Final public UI cleanup: remove placeholder brand visual, unify auth pages */
.public-brand{gap:0;font-size:20px;font-weight:900;letter-spacing:0}.public-brand span{line-height:1}.brand-mark,.public-kicker{display:none!important}.public-header{background:radial-gradient(circle at 18% 10%,rgba(34,211,238,.22),transparent 30%),linear-gradient(135deg,#07111f,#0b2a44 55%,#14536b);box-shadow:inset 0 -1px rgba(255,255,255,.08)}.public-topbar{border-bottom:1px solid rgba(255,255,255,.10);padding-bottom:14px}.public-hero-content{margin-top:28px}.public-hero-content h1{letter-spacing:-.02em}.public-hero-content p{font-size:15px}.public-nav-links a{font-size:13px;font-weight:700}.public-footer{background:#07111f;color:#dbeafe;margin-top:34px}.public-footer-inner{max-width:1180px;margin:0 auto;display:grid;grid-template-columns:1fr auto;gap:18px;align-items:center;text-align:right}.public-footer p{margin:4px 0;color:#b9c9df}.public-footer nav{display:flex;gap:8px;flex-wrap:wrap}.public-footer nav a{color:#eaf6ff;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.12);border-radius:999px;padding:7px 12px}.footer-note{grid-column:1/-1;border-top:1px solid rgba(255,255,255,.10);padding-top:12px;font-size:12px}.auth-page{background:linear-gradient(180deg,#eef6ff 0,#f7f8fb 36%,#f7f8fb 100%)}.auth-page .public-header{min-height:260px}.auth-shell{margin-top:0;align-items:stretch}.auth-intro-card,.public-auth-card{min-height:100%;position:relative}.auth-intro-card{background:linear-gradient(145deg,#07111f,#0f3d5e 58%,#176b87);box-shadow:0 30px 70px rgba(15,23,42,.18)}.auth-intro-card:before{content:"";position:absolute;inset:22px auto auto 22px;width:92px;height:92px;border-radius:28px;background:linear-gradient(135deg,rgba(255,255,255,.20),rgba(255,255,255,.04));border:1px solid rgba(255,255,255,.12)}.auth-intro-card h2{font-size:clamp(24px,3vw,34px);max-width:520px}.auth-benefits li{backdrop-filter:blur(10px)}.public-auth-card{border:1px solid #dbe3ef;background:linear-gradient(180deg,#fff,#fbfdff);box-shadow:0 25px 70px rgba(15,23,42,.11)}.public-auth-card:before{content:"";display:block;width:54px;height:5px;border-radius:999px;background:linear-gradient(90deg,#176b87,#22d3ee);margin:0 0 18px auto}.auth-form label{font-size:13px}.auth-form input,.auth-form select,.auth-form textarea{width:100%;box-shadow:0 1px 0 rgba(15,23,42,.03)}.auth-form button,.public-auth-card button{width:100%;min-height:48px;box-shadow:0 14px 28px rgba(23,107,135,.18)}.auth-links{justify-content:center}.auth-links a,.auth-links button{font-size:13px}.register-shell .public-auth-card{max-width:680px}.step-indicator span{font-weight:800}.debug-code-box{box-shadow:0 12px 30px rgba(14,116,144,.10)}.home-editor-field small{color:var(--muted);font-size:11px;margin:3px 0 6px}.home-editor-form textarea{min-height:110px}.home-editor-form input,.home-editor-form textarea{width:100%}
@media(max-width:900px){.public-footer-inner{grid-template-columns:1fr;text-align:center}.public-footer nav{justify-content:center}.auth-page .public-header{min-height:230px}.auth-shell{gap:12px}.auth-intro-card:before{display:none}}
@media(max-width:520px){.public-brand{font-size:17px}.public-topbar{padding-bottom:10px}.auth-page .public-header{min-height:210px}.auth-intro-card h2{font-size:23px}.public-auth-card:before{margin-left:auto;margin-right:auto}.public-footer nav a{flex:1 1 40%;text-align:center}}
/* Newsletter public form: email-only compact mode */
.newsletter-form-simple{display:grid;grid-template-columns:minmax(220px,1fr) auto;gap:10px;align-items:center;max-width:620px}
.newsletter-form-simple input[type="email"]{min-height:46px}
.newsletter-form-simple button{min-height:46px;white-space:nowrap}
@media(max-width:640px){.newsletter-form-simple{grid-template-columns:1fr}.newsletter-form-simple button{width:100%}}

/* Public static pages: about/contact/faq */
.content-page .site-main.unified-public-main{max-width:1120px;margin:-34px auto 0;padding:0 18px 36px;position:relative;z-index:2}
.content-card{background:rgba(255,255,255,.97);border:1px solid #dbe3ef;border-radius:26px;padding:26px;box-shadow:0 20px 55px rgba(15,23,42,.08);margin-bottom:18px}
.content-card h2,.content-card h3{margin-top:0;color:#0f3d5e}.content-prose p{font-size:16px;line-height:2.1}.content-grid-2{display:grid;grid-template-columns:1fr 1fr;gap:18px}.faq-list{display:grid;gap:12px}.faq-list details{background:#f8fafc;border:1px solid #e2e8f0;border-radius:18px;padding:0;overflow:hidden}.faq-list summary{cursor:pointer;font-weight:900;color:#0f3d5e;padding:16px 18px;list-style:none}.faq-list summary::-webkit-details-marker{display:none}.faq-list summary:after{content:'+';float:left;color:#176b87}.faq-list details[open] summary:after{content:'−'}.faq-list p{padding:0 18px 18px;margin:0;color:#334155;line-height:2}.contact-shell{display:grid;grid-template-columns:minmax(260px,.8fr) minmax(320px,1.2fr);gap:18px;align-items:start}.contact-info{background:linear-gradient(145deg,#07111f,#0f3d5e 62%,#176b87);color:#fff}.contact-info h2{color:#fff}.contact-info p{color:#dbeafe}.contact-lines{display:grid;gap:10px;margin-top:18px}.contact-lines span{display:block;background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.12);border-radius:16px;padding:10px 12px}.contact-form-card{margin-bottom:18px}.hp-field{position:absolute!important;right:-9999px!important;width:1px!important;height:1px!important;opacity:0!important}.content-page .newsletter-box{margin-top:18px}
@media(max-width:900px){.content-page .site-main.unified-public-main{margin-top:-26px;padding-left:12px;padding-right:12px}.content-grid-2,.contact-shell{grid-template-columns:1fr}.content-card{padding:18px;border-radius:20px}.content-prose p{font-size:15px}.faq-list summary{padding:14px}}

.article-main-image{margin:0 0 22px;border-radius:24px;overflow:hidden;background:rgba(15,23,42,.55);border:1px solid rgba(148,163,184,.22)}
.article-main-image img{width:100%;max-height:460px;object-fit:cover;display:block}
.article-main-image figcaption{font-size:13px;color:#94a3b8;padding:10px 16px}
.credential-box{padding:16px;border-radius:18px;background:rgba(15,23,42,.45);border:1px solid rgba(59,130,246,.2);margin:14px 0}.credential-box h3{margin-top:0}.credential-box input{direction:ltr;text-align:left}

/* Article thumbnails on the public home page */
.news-card{overflow:hidden;padding:0;display:flex;flex-direction:column}
.news-card-content{padding:18px 20px 20px}
.news-card-media{display:block;position:relative;width:100%;aspect-ratio:16/9;background:linear-gradient(135deg,#e0f2fe,#f8fafc);overflow:hidden;border-bottom:1px solid var(--line)}
.news-card-media img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .35s ease,filter .35s ease}
.news-card:hover .news-card-media img{transform:scale(1.035);filter:saturate(1.05)}
.news-card-media.is-empty{display:grid;place-items:center;color:#64748b;font-size:13px;font-weight:800;background:radial-gradient(circle at 30% 20%,rgba(23,107,135,.18),transparent 35%),linear-gradient(135deg,#f8fafc,#e0f2fe)}
.news-card-media.is-empty:before{content:"";position:absolute;inset:16px;border:1px dashed rgba(23,107,135,.22);border-radius:18px}
.news-card-list{grid-template-columns:190px minmax(0,1fr)!important;align-items:stretch;padding:0!important;gap:0!important;overflow:hidden}
.news-card-list .news-card-media{height:100%;min-height:150px;aspect-ratio:auto;border-bottom:0;border-left:1px solid var(--line)}
.news-card-list .news-card-content{padding:16px 18px}
.news-card-list h2{margin:4px 0;font-size:19px}
.news-card-list p{margin:4px 0}
@media(max-width:760px){.news-card-list{grid-template-columns:1fr!important}.news-card-list .news-card-media{height:auto;aspect-ratio:16/9;border-left:0;border-bottom:1px solid var(--line)}.news-card-content{padding:16px}}

.dashboard-stats .stat-card{position:relative;color:var(--ink);text-decoration:none;transition:.18s ease}.dashboard-stats .stat-card:hover{transform:translateY(-2px);box-shadow:0 16px 38px rgba(15,23,42,.08);border-color:rgba(23,107,135,.35)}.dashboard-stats .stat-card em{display:inline-block;margin-top:8px;color:var(--brand);font-style:normal;font-size:12px}.dashboard-stats .stat-card:hover strong{text-decoration:underline}


/* Fetch dashboard controls and public trend links */
.fetch-loader{display:none;align-items:center;gap:10px;margin-bottom:12px;color:#0f3d5e;font-weight:800}.fetch-loader.is-active{display:flex}.fetch-loader span{width:18px;height:18px;border:3px solid #cbd5e1;border-top-color:#176b87;border-radius:999px;animation:fetchSpin .8s linear infinite}@keyframes fetchSpin{to{transform:rotate(360deg)}}.fetch-site-box{margin-top:12px;background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:12px}.site-fetch-list{max-height:170px;overflow:auto;margin:8px 0 0;padding:0 18px 0 0}.site-fetch-list li{padding:6px 0;border-bottom:1px solid #eef2f7;color:#334155}.site-fetch-list li.ok{color:#057a55}.site-fetch-list li.err{color:#b42318}.progress-counters{display:flex;gap:12px;flex-wrap:wrap;margin-top:12px}.progress-status{margin-top:10px;color:#334155;font-weight:800}.trend-links a{background:#e0f2fe;color:#075985;border-radius:99px;padding:4px 10px;font-size:12px;text-decoration:none;display:inline-flex;align-items:center}.trend-links a:hover{background:#bae6fd;color:#0c4a6e}.trend-back-link{display:inline-flex;align-items:center;justify-content:center;border-radius:14px;padding:10px 14px;color:#fff!important;text-decoration:none}


/* Longer public article previews: show at least about five readable lines on cards. */
.news-card .news-card-preview,.related-item .news-card-preview{display:block;margin:10px 0 0;color:#334155;font-size:14px;line-height:2.05;min-height:10.25em;white-space:normal;overflow:visible}
.news-card-list .news-card-preview{font-size:15px;line-height:2.1;min-height:10.5em}

/* Public news search and compact cards */
.news-search-panel{background:linear-gradient(180deg,#fff,#f8fbff);border:1px solid var(--line);border-radius:24px;padding:20px;margin:18px 0;box-shadow:0 14px 38px rgba(15,23,42,.06)}
.search-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:14px}
.search-panel-head h2{margin:0 0 4px}.search-panel-head p{margin:0}
.news-filter-form{display:grid;gap:12px}.search-filter-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px;align-items:end}.search-filter-grid label{display:flex;flex-direction:column;gap:6px;font-size:13px;color:#334155;font-weight:700}.search-filter-grid input,.search-filter-grid select{width:100%;min-height:44px;background:#fff}.filter-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.filter-actions .btn-muted,.search-panel-head .btn-muted{display:inline-flex;align-items:center;justify-content:center;border-radius:12px;padding:10px 16px;color:#fff}
.news-card{min-width:0}.news-card-content{min-width:0}.news-card h2{margin:8px 0 0;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;min-height:auto;overflow-wrap:anywhere}.news-card-list h2{-webkit-line-clamp:2}.news-card .tags{margin-top:14px}.news-card .news-card-preview{display:none!important}.related-card-compact strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.article-full-text p{font-size:16px;line-height:2.25;color:#1f2937}.article-source-note{margin-top:14px!important}.tags a{background:#e0f2fe;color:#075985;border-radius:99px;padding:4px 10px;font-size:12px}.tags a:hover{background:#bae6fd}.content-card{background:white;border:1px solid var(--line);border-radius:22px;padding:20px;box-shadow:0 12px 34px rgba(15,23,42,.05)}
@media(max-width:760px){.search-panel-head{flex-direction:column}.filter-actions .btn-muted,.search-panel-head .btn-muted{width:100%}.news-search-panel{padding:16px;border-radius:18px}.search-filter-grid{grid-template-columns:1fr}.news-card h2{-webkit-line-clamp:3}}

/* اصلاحات جستجوی عمومی: کادر ساده همیشه دیده می‌شود و فیلترهای پیشرفته فقط با دکمه باز می‌شوند. */
.simple-search-row{display:grid;grid-template-columns:minmax(220px,1fr) auto auto;gap:10px;align-items:end}
.simple-search-label{display:flex;flex-direction:column;gap:6px;font-size:13px;color:#334155;font-weight:800}
.simple-search-label input{width:100%;min-height:48px;background:#fff;font-size:15px}
.advanced-search-toggle{border:0;cursor:pointer;min-height:48px;background:#f1f5f9!important;color:#176b87!important;font-weight:800}
.advanced-search-fields{display:none;margin-top:14px;border-top:1px dashed var(--line);padding-top:14px}
.advanced-search-fields.is-open{display:block}
.persian-date-input{text-align:center;letter-spacing:.5px;direction:ltr}
.news-filter-form .filter-actions{margin-top:12px}

/* در موبایل، جستجوی ساده ستونی می‌شود تا دکمه‌ها از کادر بیرون نزنند. */
@media(max-width:760px){.simple-search-row{grid-template-columns:1fr}.advanced-search-toggle,.simple-search-row button{width:100%}}

/* بازبینی کیفیت خبرها و حذف صفحات غیرخبری */
.quality-panel{border-color:rgba(180,83,9,.25);background:linear-gradient(180deg,#fff,#fffbeb)}
.quality-panel .small{color:#92400e}
.progress-log .warn,.site-fetch-list li.warn{color:#92400e}

/* =========================================================
   قالب جدید IT Radar — سفید، مشکی، قرمز و موشن سبک
   این بخش به انتهای فایل اضافه شده تا بدون حذف ساختار قبلی، ظاهر عمومی سایت را بازطراحی کند.
   ========================================================= */
:root{
  --bg:#ffffff;
  --card:#ffffff;
  --ink:#0b0b0f;
  --muted:#667085;
  --brand:#ef1515;
  --brand-dark:#b90000;
  --brand-soft:#fff1f1;
  --line:#e8e8ee;
  --shadow-soft:0 18px 45px rgba(15,15,20,.07);
  --shadow-red:0 18px 45px rgba(239,21,21,.16);
}
body.public-page{background:#fff;color:var(--ink);font-family:Tahoma,Arial,sans-serif;line-height:1.8}
.public-page a{color:var(--brand)}
.public-page button,.public-page .it-btn-primary{background:var(--brand);color:#fff;border:0}
.public-page input,.public-page select,.public-page textarea{border-color:var(--line);background:#fff;color:var(--ink)}

/* هدر جدید: نوار سفید، لوگوی CSS، لینک‌های مشکی و اکسنت قرمز */
.public-header{background:#fff!important;color:var(--ink)!important;padding:0!important;border-bottom:1px solid var(--line);box-shadow:0 8px 28px rgba(15,15,20,.035)}
.public-topbar{max-width:1440px;min-height:78px;padding:0 44px!important;border:0!important;gap:22px;direction:ltr}
.public-brand{color:#0b0b0f!important;font-size:28px!important;font-weight:950!important;letter-spacing:-.04em;display:inline-flex;align-items:center;gap:12px!important;white-space:nowrap}
.it-logo-mark{width:48px;height:38px;display:inline-grid;place-items:center;position:relative;background:var(--brand);border-radius:0 0 10px 0;box-shadow:var(--shadow-red);overflow:hidden;flex:0 0 auto}
.it-logo-mark:before{content:"";position:absolute;inset:6px;border:2px solid #fff;border-radius:999px;background:repeating-radial-gradient(circle at 50% 50%,transparent 0 5px,rgba(255,255,255,.72) 6px 7px,transparent 8px 13px)}
.it-logo-mark:after{content:"";position:absolute;width:22px;height:2px;background:#fff;transform:rotate(-38deg);transform-origin:right center;right:12px;top:18px;box-shadow:0 0 0 4px rgba(255,255,255,.10)}
.it-logo-mark span{position:absolute;width:6px;height:6px;background:#fff;border-radius:999px;right:18px;top:15px;z-index:2}
.it-brand-text{line-height:1;color:#0b0b0f}
.public-nav-links{display:flex;align-items:center;gap:26px;direction:ltr;margin:0 auto}
.public-nav-links a{color:#0b0b0f!important;background:transparent!important;border:0!important;padding:27px 0 23px!important;border-radius:0!important;font-size:14px!important;font-weight:850!important;position:relative;box-shadow:none!important}
.public-nav-links a:after{content:"";position:absolute;left:0;right:0;bottom:14px;height:3px;background:var(--brand);border-radius:999px;transform:scaleX(0);transition:transform .22s ease}
.public-nav-links a:hover:after,.public-nav-links a.active:after{transform:scaleX(1)}
.topbar-search{display:flex;align-items:center;width:min(280px,28vw);height:46px;border:1px solid var(--line);border-radius:12px;background:#fff;overflow:hidden;box-shadow:0 8px 25px rgba(15,15,20,.04)}
.topbar-search input{border:0!important;border-radius:0!important;height:44px;min-width:0;flex:1;padding:0 14px;direction:ltr;text-align:left;color:#111}
.topbar-search button{width:46px;height:46px;border-radius:0!important;background:#fff!important;color:#111!important;font-size:22px;box-shadow:none!important;padding:0!important}
.topbar-member{width:44px;height:44px;border-radius:999px;background:#050505!important;color:#fff!important;display:grid;place-items:center;font-weight:950;font-size:13px;box-shadow:0 12px 25px rgba(0,0,0,.15)}
.public-hero-content{max-width:1180px;margin:0 auto;padding:56px 20px;text-align:center;color:#111!important}
.public-hero-content h1{color:#111!important;font-size:clamp(30px,4vw,56px);letter-spacing:-.04em;margin:0 0 14px}
.public-hero-content p{color:#555!important;margin:0 auto;max-width:760px}
.it-radar-home-header .public-hero-content{display:none!important}
.public-nav-toggle,.public-nav-button{display:none}

/* هیروی صفحه اصلی با رادار متحرک */
.it-radar-home .site-main{max-width:1440px;margin:0 auto 40px;padding:0 44px}
.it-home-hero{background:#fff;border-bottom:1px solid var(--line);overflow:hidden}
.it-home-hero-inner{max-width:1440px;margin:0 auto;padding:42px 44px 36px;display:grid;grid-template-columns:minmax(320px,.95fr) minmax(360px,1.12fr) 300px;gap:34px;align-items:center;min-height:520px;direction:ltr}
.it-hero-copy{direction:ltr;text-align:left;animation:itFadeUp .65s ease both}
.it-kicker{display:inline-flex;align-items:center;gap:10px;border:1px solid var(--line);background:#fff;border-radius:999px;padding:8px 14px;color:#3b3b44;font-size:12px;font-weight:900;letter-spacing:.1em;box-shadow:0 10px 25px rgba(15,15,20,.04)}
.it-kicker span{width:9px;height:9px;border-radius:999px;background:var(--brand);box-shadow:0 0 0 7px rgba(239,21,21,.09);animation:itPulse 1.7s ease infinite}
.it-hero-copy h1{font-size:clamp(42px,4.8vw,70px);line-height:1.05;margin:28px 0 18px;color:#050505;letter-spacing:-.065em;max-width:670px}
.it-hero-copy p{max-width:620px;color:#4f5560;font-size:17px;line-height:1.85;margin:0 0 26px}
.it-hero-actions{display:flex;gap:16px;flex-wrap:wrap}
.it-btn-primary,.it-btn-ghost{min-height:54px;padding:0 24px;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;gap:14px;font-weight:950;text-decoration:none!important;transition:transform .2s ease,box-shadow .2s ease,background .2s ease}
.it-btn-primary{box-shadow:var(--shadow-red)}
.it-btn-primary:hover{transform:translateY(-2px);background:#d60000!important;color:#fff!important}
.it-btn-ghost{background:#fff;color:var(--brand)!important;border:2px solid var(--brand)}
.it-btn-ghost:hover{transform:translateY(-2px);background:var(--brand-soft)}
.it-radar-stage{position:relative;min-height:440px;display:grid;place-items:center;border-right:1px solid var(--line);border-left:1px solid var(--line);animation:itFadeUp .8s ease .05s both}
.it-radar-core{width:min(440px,80vw);aspect-ratio:1;position:relative;border-radius:50%;display:grid;place-items:center;background:radial-gradient(circle,rgba(239,21,21,.08) 0 8%,transparent 9% 100%)}
.it-radar-ring{position:absolute;inset:calc(var(--i,1)*12%);border:1px solid rgba(239,21,21,.20);border-radius:50%}
.it-radar-ring.r1{--i:1}.it-radar-ring.r2{--i:2}.it-radar-ring.r3{--i:3}
.it-radar-core:before,.it-radar-core:after{content:"";position:absolute;background:rgba(239,21,21,.18)}
.it-radar-core:before{width:1px;height:100%;left:50%;top:0}.it-radar-core:after{height:1px;width:100%;right:0;top:50%}
.it-radar-sweep{position:absolute;inset:0;border-radius:50%;background:conic-gradient(from 0deg,rgba(239,21,21,.34),rgba(239,21,21,.08) 25deg,transparent 70deg);animation:itRadarSpin 4.2s linear infinite;mix-blend-mode:multiply}
.it-radar-logo{width:70px;height:70px;border-radius:50%;background:var(--brand);box-shadow:0 0 0 14px rgba(239,21,21,.08),0 0 32px rgba(239,21,21,.38);z-index:2;position:relative}
.it-radar-logo:before{content:"";position:absolute;inset:13px;border:4px solid #fff;border-radius:50%;background:repeating-radial-gradient(circle at center,transparent 0 7px,rgba(255,255,255,.78) 8px 9px,transparent 10px 15px)}
.it-radar-logo:after{content:"";position:absolute;width:28px;height:4px;background:#fff;right:14px;top:32px;transform:rotate(-38deg);border-radius:999px}
.it-radar-dot{position:absolute;width:13px;height:13px;border-radius:50%;background:var(--brand);box-shadow:0 0 0 8px rgba(239,21,21,.14),0 0 26px rgba(239,21,21,.62);z-index:3;animation:itPulse 1.9s ease infinite}
.it-radar-dot.d1{left:28%;top:22%}.it-radar-dot.d2{right:24%;top:44%;animation-delay:.35s}.it-radar-dot.d3{left:42%;bottom:22%;animation-delay:.75s}
.it-radar-card{position:absolute;background:#fff;border:1px solid var(--line);border-radius:12px;padding:12px 16px;font-weight:900;font-size:13px;color:#111;box-shadow:0 14px 35px rgba(15,15,20,.08);z-index:4;animation:itFloat 4s ease-in-out infinite}
.it-radar-card small{display:block;color:var(--brand);font-size:11px;margin-top:4px}
.it-radar-card-a{left:8%;top:8%}.it-radar-card-b{right:3%;top:13%;animation-delay:.7s}.it-radar-card-c{left:4%;bottom:20%;animation-delay:1.2s}
.it-scan-line{position:absolute;bottom:10px;left:50%;transform:translateX(-50%);font-size:12px;color:#333;font-weight:800;white-space:nowrap}
.it-scan-line:after{content:"";display:block;width:230px;height:4px;margin:8px auto 0;border-radius:999px;background:linear-gradient(90deg,transparent,var(--brand),transparent);animation:itScanBar 2.2s ease-in-out infinite}
.it-live-panel{direction:ltr;text-align:left;border-right:0;padding-right:0;display:grid;gap:12px;animation:itFadeUp .85s ease .1s both}
.it-live-panel h2{font-size:14px;text-transform:uppercase;letter-spacing:.12em;margin:0 0 4px;color:#111;display:flex;align-items:center;gap:8px}.it-live-panel h2 span{width:8px;height:8px;background:var(--brand);border-radius:50%}
.it-stat-row{background:#fff;border:1px solid var(--line);border-radius:12px;padding:13px 16px;box-shadow:0 14px 35px rgba(15,15,20,.055);position:relative;overflow:hidden}
.it-stat-row:after{content:"";position:absolute;right:12px;bottom:12px;width:58px;height:24px;background:linear-gradient(135deg,transparent 48%,var(--brand) 50%,transparent 52%),linear-gradient(45deg,transparent 48%,var(--brand) 50%,transparent 52%);opacity:.7}
.it-stat-row small{display:block;color:#505762;font-weight:800}.it-stat-row strong{display:block;font-size:26px;color:#0b0b0f;line-height:1.1;margin:3px 0}.it-stat-row em{font-style:normal;color:var(--brand);font-size:12px;font-weight:900}

/* تیکر، ترندها و جستجو */
.it-live-ticker{display:grid;grid-template-columns:auto 1fr;gap:20px;align-items:center;border-bottom:1px solid var(--line);border-top:1px solid var(--line);padding:14px 0;margin:0 0 22px;background:#fff;overflow:hidden}
.it-live-ticker strong{display:flex;gap:8px;align-items:center;color:#111;font-size:13px;letter-spacing:.08em;white-space:nowrap}.it-live-ticker strong span{width:7px;height:7px;background:var(--brand);border-radius:50%}
.it-ticker-track{display:flex;gap:34px;white-space:nowrap;overflow:hidden;mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent)}
.it-ticker-track a{color:#30333a!important;text-decoration:none;font-size:13px;font-weight:700;animation:itTicker 22s linear infinite}.it-ticker-track em{font-style:normal;color:var(--brand);font-weight:950;margin-left:8px}
.trend-strip{background:#fff!important;border:0!important;border-bottom:1px solid var(--line)!important;border-radius:0!important;padding:0 0 18px!important;margin:0 0 24px!important;box-shadow:none!important;display:grid;grid-template-columns:auto 1fr;gap:24px;align-items:center}
.trend-strip h2{margin:0;font-size:16px;color:#111;text-transform:uppercase;letter-spacing:.04em}.trend-links{margin:0!important;display:flex;gap:18px;overflow:auto;padding-bottom:2px}
.trend-links a,.tags a,.tags span{background:#fff!important;color:#111!important;border:1px solid var(--line)!important;border-radius:999px!important;padding:9px 20px!important;font-weight:900!important;box-shadow:0 8px 22px rgba(15,15,20,.035);transition:.2s ease}
.trend-links a:before,.tags span:before,.tags a:before{content:"";width:6px;height:6px;background:var(--brand);display:inline-block;border-radius:50%;margin-left:8px;vertical-align:middle}
.trend-links a:hover,.tags a:hover,.tags span:hover{border-color:rgba(239,21,21,.35)!important;color:var(--brand)!important;transform:translateY(-1px)}
.news-search-panel{background:#fff!important;border:1px solid var(--line)!important;border-radius:18px!important;padding:22px!important;margin:22px 0!important;box-shadow:var(--shadow-soft)!important}.search-panel-head h2{color:#111}.search-panel-head .meta{color:#667085!important}
.simple-search-label input{min-height:54px;border-radius:12px!important;font-size:15px}.simple-search-row button{min-height:54px;border-radius:10px!important;font-weight:950}.advanced-search-toggle{background:#fff!important;color:#111!important;border:1px solid var(--line)!important}.advanced-search-toggle:hover{border-color:var(--brand)!important;color:var(--brand)!important}.advanced-search-fields{border-top:1px dashed #ddd!important}.search-filter-grid label{color:#111!important;font-weight:900}.filter-actions .btn-muted,.search-panel-head .btn-muted{background:#111!important;color:#fff!important}

/* کارت‌های خبر: تیره، تصویری، تیتر جذاب و بدون متن اضافه */
.latest-header{background:#fff!important;border:0!important;border-radius:0!important;box-shadow:none!important;border-bottom:1px solid var(--line)!important;margin:26px 0 18px!important;padding:0 0 16px!important}.latest-header h2{color:#111;font-size:18px;text-transform:uppercase;letter-spacing:.02em}.view-switcher{background:#f7f7f9!important}.view-switcher a{color:#111!important}.view-switcher a.active{color:var(--brand)!important;background:#fff!important}
.article-grid{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:20px}.news-card{border-radius:12px!important;border:1px solid #111!important;background:#050506!important;box-shadow:0 18px 40px rgba(0,0,0,.14)!important;overflow:hidden;position:relative;transition:transform .24s ease,box-shadow .24s ease}.news-card:hover{transform:translateY(-5px);box-shadow:0 28px 70px rgba(0,0,0,.20)!important}
.news-card:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 30%,rgba(0,0,0,.88) 100%);pointer-events:none;z-index:1}.news-card-media{border:0!important;background:radial-gradient(circle at 50% 40%,rgba(239,21,21,.28),#08080a 55%)!important}.news-card-media img{filter:saturate(1.05) contrast(1.05) brightness(.78)}.news-card:hover .news-card-media img{transform:scale(1.055);filter:saturate(1.12) contrast(1.08) brightness(.85)}
.news-card-media.is-empty{color:#fff!important;background:radial-gradient(circle at 35% 30%,rgba(239,21,21,.45),transparent 28%),linear-gradient(135deg,#050506,#111)!important}.news-card-media.is-empty:after{content:"";position:absolute;inset:18%;border:1px solid rgba(239,21,21,.45);border-radius:50%;background:repeating-radial-gradient(circle,transparent 0 13px,rgba(239,21,21,.23) 14px 15px)}.news-card-media.is-empty span{z-index:2;color:#fff}.news-card-content{position:absolute;left:0;right:0;bottom:0;z-index:2;padding:18px!important;direction:ltr;text-align:left}.news-card-content .meta{display:inline-flex;color:#fff!important;border:1px solid rgba(239,21,21,.85);background:rgba(0,0,0,.62);border-radius:5px;padding:2px 7px;font-size:10px;font-weight:900;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.news-card h2{margin:10px 0 0!important;line-height:1.22!important;-webkit-line-clamp:3!important}.news-card h2 a{color:#fff!important;text-decoration:none!important;font-size:19px;letter-spacing:-.02em}.news-card .tags{display:none!important}.news-card-list{grid-template-columns:260px minmax(0,1fr)!important;min-height:170px}.news-card-list .news-card-content{position:relative;background:#070708}.news-card-list:after{display:none}.news-card-list h2 a{font-size:21px}.article-list{gap:16px}
.site-pagination a{background:#fff;border:1px solid var(--line);border-radius:10px;padding:8px 13px;color:#111!important}.site-pagination a.active{background:var(--brand);color:#fff!important;border-color:var(--brand)}

/* بخش منابع و خبرنامه */
.source-intelligence{margin:30px 0 18px}.section-title-row{display:flex;justify-content:space-between;align-items:flex-end;gap:14px;margin-bottom:16px}.section-title-row h2{margin:0;color:#111;text-transform:uppercase;font-size:18px;letter-spacing:.02em}.section-title-row a{font-weight:950;color:var(--brand)!important}.source-bucket-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:18px}.source-bucket-card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:20px;box-shadow:var(--shadow-soft);transition:.2s ease}.source-bucket-card:hover{transform:translateY(-3px);border-color:rgba(239,21,21,.28)}.source-bucket-head{display:flex;gap:14px;align-items:center;margin-bottom:18px}.source-bucket-icon{width:42px;height:42px;border:1px solid #111;border-radius:50%;display:grid;place-items:center;color:var(--brand);font-weight:950}.source-bucket-card h3{margin:0;color:#111}.source-bucket-card small{color:#667085}.source-logo-row{display:flex;gap:10px;flex-wrap:wrap}.source-logo-row span{width:58px;height:58px;border-radius:50%;display:grid;place-items:center;text-align:center;font-size:10px;line-height:1.35;background:#fafafa;border:1px solid var(--line);color:#111;font-weight:850;overflow:hidden;padding:4px}.newsletter-box{background:#050506!important;color:#fff!important;border-radius:0!important;border:1px solid #111!important;box-shadow:none!important;margin:30px 0!important;padding:30px!important;position:relative;overflow:hidden}.newsletter-box:after{content:"";position:absolute;inset:auto -80px -120px auto;width:280px;height:280px;border-radius:50%;border:1px solid rgba(239,21,21,.35);background:repeating-radial-gradient(circle,transparent 0 18px,rgba(239,21,21,.18) 19px 20px);animation:itRadarSpin 9s linear infinite}.newsletter-box h2{color:#fff!important;margin-top:0}.newsletter-box p{color:#d6d6dc!important;max-width:760px}.newsletter-form-simple{position:relative;z-index:2}.newsletter-form-simple input{background:#09090b!important;color:#fff!important;border-color:#303038!important;border-radius:8px!important}.newsletter-form-simple button{background:var(--brand)!important;border-radius:8px!important;font-weight:950}
.public-footer{background:#050506!important;color:#fff!important;margin-top:0!important;padding:24px 44px!important}.public-footer-inner{max-width:1440px!important}.public-footer strong{color:#fff!important;font-size:24px}.public-footer p{color:#d0d0d6!important}.public-footer nav a{background:transparent!important;border:0!important;color:#fff!important}.public-footer nav a:hover{color:var(--brand)!important}.footer-note{border-top:1px solid rgba(255,255,255,.12)!important;color:#a0a0aa!important}

/* صفحات مقاله و سایر صفحات عمومی با همان زبان بصری */
.article-public-hero{background:#fff!important}.article-public-hero .public-hero-content{text-align:right;direction:rtl;padding:42px 44px;border-top:1px solid var(--line)}.article-public-hero .public-hero-content h1{font-size:clamp(30px,3.8vw,54px);color:#111!important}.article-main{max-width:940px}.article-main section,.article-main-image,.article-nav-panel{border-color:var(--line)!important;border-radius:14px!important;box-shadow:var(--shadow-soft)!important}.article-main section h2{color:#111}.article-full-text p{color:#111!important;font-size:17px!important;line-height:2.35!important}.analysis-tabs label{border-color:var(--line)!important}.analysis-tabs input:checked + label{background:var(--brand)!important;color:#fff!important}.content-card{border-radius:14px!important;box-shadow:var(--shadow-soft)!important}.content-card h2,.content-card h3{color:#111!important}.contact-info{background:#050506!important;color:#fff!important}.contact-info h2{color:#fff!important}

/* موشن‌ها */
@keyframes itRadarSpin{to{transform:rotate(360deg)}}
@keyframes itPulse{0%,100%{transform:scale(1);opacity:1}50%{transform:scale(1.25);opacity:.72}}
@keyframes itFadeUp{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:translateY(0)}}
@keyframes itFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-10px)}}
@keyframes itScanBar{0%,100%{opacity:.35;transform:scaleX(.55)}50%{opacity:1;transform:scaleX(1)}}
@keyframes itTicker{from{transform:translateX(0)}to{transform:translateX(34%)}}
@media (prefers-reduced-motion: reduce){*,*:before,*:after{animation:none!important;transition:none!important}}

/* ریسپانسیو */
@media(max-width:1180px){.it-home-hero-inner{grid-template-columns:1fr 1fr}.it-live-panel{grid-column:1/-1;grid-template-columns:repeat(4,1fr)}.public-topbar{padding:0 22px!important}.topbar-search{display:none}.public-nav-links{gap:16px}.it-radar-stage{border-left:0}}
@media(max-width:900px){.public-topbar{direction:rtl;min-height:66px}.public-brand{font-size:23px!important;margin-left:auto}.public-nav-button{display:grid;place-items:center;width:44px;height:44px;border:1px solid var(--line);border-radius:10px;color:#111;background:#fff;cursor:pointer}.public-nav-links{position:absolute;top:64px;left:0;right:0;display:none;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:0 0 18px 18px;box-shadow:var(--shadow-soft);padding:12px;z-index:20}.public-nav-toggle:checked~.public-nav-links{display:flex}.public-nav-links a{padding:10px 12px!important;width:100%;text-align:center}.topbar-member{display:none}.it-home-hero-inner{grid-template-columns:1fr;padding:30px 18px}.it-hero-copy{text-align:center}.it-hero-copy p,.it-hero-copy h1{margin-left:auto;margin-right:auto}.it-hero-actions{justify-content:center}.it-radar-stage{min-height:360px;border:0}.it-live-panel{grid-template-columns:1fr 1fr}.it-radar-home .site-main{padding:0 18px}.trend-strip{grid-template-columns:1fr;gap:12px}.section-title-row{align-items:flex-start;flex-direction:column}.article-public-hero .public-hero-content{text-align:center;padding:34px 18px}}
@media(max-width:640px){.it-logo-mark{width:42px;height:34px}.it-brand-text{font-size:21px}.it-hero-copy h1{font-size:38px}.it-live-panel{grid-template-columns:1fr}.it-radar-card{display:none}.it-radar-core{width:310px}.it-live-ticker{grid-template-columns:1fr}.article-grid{grid-template-columns:1fr}.news-card h2 a{font-size:18px}.news-card-list{grid-template-columns:1fr!important}.news-card-list .news-card-content{position:absolute;background:transparent}.public-footer{padding:24px 18px!important}.public-footer-inner{grid-template-columns:1fr!important;text-align:center}.public-footer nav{justify-content:center}.source-logo-row span{width:52px;height:52px}.newsletter-box{padding:22px!important}}


/* =========================================================
   نسخه RTL صفحه عمومی IT Radar
   این بخش فقط جهت چیدمان، استیکی بودن منو و موبایل‌ویو را اصلاح می‌کند.
   منطق PHP، دیتابیس و کرالر تغییری نکرده‌اند.
   ========================================================= */
html[dir="rtl"]{scroll-padding-top:94px}
body.public-page{direction:rtl;text-align:right;overflow-x:hidden}
.public-page *{max-width:100%}
.public-page img{max-width:100%;height:auto}

/* هدر استیکی: هنگام اسکرول بالای صفحه می‌ماند و از محتوای زیر جدا می‌شود. */
.public-header{position:sticky!important;top:0;z-index:1000;background:rgba(255,255,255,.96)!important;backdrop-filter:saturate(1.3) blur(12px);box-shadow:0 10px 30px rgba(15,15,20,.06)!important}
.public-topbar{direction:rtl!important;justify-content:flex-start!important}
.public-brand{direction:ltr!important;text-align:left!important;order:1;margin-inline-end:0!important}
.public-nav-links{direction:rtl!important;order:2;margin-inline-start:auto!important;margin-inline-end:auto!important}
.public-nav-links a{text-align:center}
.topbar-search{direction:rtl!important;order:3}
.topbar-search input{direction:rtl!important;text-align:right!important}
.topbar-member{order:4}
.public-nav-button{order:5}
.public-hero-content{direction:rtl;text-align:right}
.public-header + .it-home-hero,.public-header + main{scroll-margin-top:94px}
#featured-news,#trending-topics,#source-intelligence,#news-search{scroll-margin-top:104px}

/* هیرو: متن سمت راست، رادار در مرکز و آمارها در سمت چپ قرار می‌گیرند. */
.it-home-hero-inner{direction:rtl!important;grid-template-columns:minmax(320px,.95fr) minmax(360px,1.12fr) 300px!important}
.it-hero-copy{direction:rtl!important;text-align:right!important}
.it-hero-copy h1,.it-hero-copy p{margin-left:0!important;margin-right:0!important;letter-spacing:0!important}
.it-kicker{direction:rtl;letter-spacing:0!important}
.it-hero-actions{justify-content:flex-start;direction:rtl}
.it-btn-primary,.it-btn-ghost{direction:rtl}
.it-radar-stage{direction:ltr!important}
.it-live-panel{direction:rtl!important;text-align:right!important}
.it-live-panel h2{direction:rtl;justify-content:flex-start;letter-spacing:0!important;text-transform:none!important}
.it-stat-row{direction:rtl;text-align:right;padding-left:86px!important;padding-right:16px!important}
.it-stat-row:after{left:12px!important;right:auto!important;transform:scaleX(-1)}

/* تیکر و ترندها: جهت خواندن فارسی و حرکت روان‌تر در RTL. */
.it-live-ticker{direction:rtl!important;grid-template-columns:auto minmax(0,1fr)!important}
.it-live-ticker strong{letter-spacing:0!important}
.it-ticker-track{direction:rtl;justify-content:flex-start;mask-image:linear-gradient(270deg,transparent,#000 6%,#000 94%,transparent)!important}
.it-ticker-track a{direction:rtl;text-align:right;animation:itTickerRtl 24s linear infinite!important}
.it-ticker-track em{margin-left:0!important;margin-right:8px!important}
.trend-strip{direction:rtl!important;grid-template-columns:auto minmax(0,1fr)!important}
.trend-strip h2{letter-spacing:0!important;text-transform:none!important}
.trend-links{direction:rtl}
.trend-links a:before,.tags span:before,.tags a:before{margin-left:8px;margin-right:0}

/* جستجو و فرم‌ها: چینش راست‌به‌چپ، اما تاریخ شمسی همچنان قابل تایپ عددی می‌ماند. */
.news-search-panel,.news-filter-form,.search-panel-head,.simple-search-row,.search-filter-grid,.filter-actions{direction:rtl;text-align:right}
.simple-search-row{display:grid;grid-template-columns:minmax(260px,1fr) auto auto;gap:12px;align-items:end}
.simple-search-label input,.news-search-panel input:not(.persian-date-input),.news-search-panel select{direction:rtl;text-align:right}
.persian-date-input{direction:ltr!important;text-align:center!important}
.search-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.search-filter-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px}
.advanced-search-fields{display:none;padding-top:18px;margin-top:18px}
.advanced-search-fields.is-open{display:block}

/* کارت‌های خبر: محتوا داخل کارت راست‌چین می‌شود و در موبایل از کادر بیرون نمی‌زند. */
.news-card-content{direction:rtl!important;text-align:right!important;left:0!important;right:0!important}
.news-card-content .meta{direction:rtl;justify-content:flex-start;text-align:right;max-width:100%}
.news-card h2{display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;word-break:normal;overflow-wrap:anywhere}
.news-card h2 a{letter-spacing:0!important}
.article-grid,.article-list{direction:rtl}
.news-card-list{grid-template-columns:minmax(0,1fr) 260px!important}
.news-card-list .news-card-media{order:2}
.news-card-list .news-card-content{order:1}
.latest-header{direction:rtl;display:flex;align-items:flex-end;justify-content:space-between;gap:16px}
.view-switcher{direction:rtl;display:inline-flex;gap:6px}
.site-pagination{direction:rtl;display:flex;gap:8px;flex-wrap:wrap;justify-content:center}

/* بخش منابع و خبرنامه در حالت RTL. */
.section-title-row{direction:rtl;text-align:right}
.source-bucket-grid,.source-bucket-card,.source-bucket-head,.source-logo-row{direction:rtl;text-align:right}
.source-bucket-head{justify-content:flex-start}
.newsletter-box,.newsletter-form-simple{direction:rtl;text-align:right}
.newsletter-form,.newsletter-form-simple{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.newsletter-form input,.newsletter-form-simple input{min-width:240px;flex:1;direction:rtl;text-align:right}
.public-footer,.public-footer-inner,.public-footer nav{direction:rtl;text-align:right}
.public-footer nav{justify-content:flex-end}
.article-public-hero .public-hero-content{text-align:right!important;direction:rtl!important}

/* حرکت تیکر متناسب با RTL */
@keyframes itTickerRtl{from{transform:translateX(0)}to{transform:translateX(-34%)}}

/* تبلت: هیرو دو ستونه می‌شود و آمارها زیر آن می‌آیند. */
@media(max-width:1180px){
  .it-home-hero-inner{grid-template-columns:1fr 1fr!important;gap:24px!important}
  .it-live-panel{grid-column:1/-1;grid-template-columns:repeat(4,minmax(0,1fr))!important}
  .public-topbar{padding:0 22px!important}
  .topbar-search{display:none!important}
  .public-nav-links{gap:14px!important}
}

/* موبایل: منو جمع می‌شود، هدر استیکی می‌ماند، هیرو تک‌ستونه و کارت‌ها تمام‌عرض می‌شوند. */
@media(max-width:900px){
  html[dir="rtl"]{scroll-padding-top:76px}
  .public-header{position:sticky!important;top:0}
  .public-topbar{min-height:66px!important;padding:0 16px!important;display:flex!important;align-items:center!important;gap:10px!important;direction:rtl!important}
  .public-brand{font-size:22px!important;order:1;margin:0!important;flex:0 0 auto}
  .public-nav-button{display:grid!important;place-items:center!important;width:44px;height:44px;order:2;margin-right:auto!important;margin-left:0!important;border:1px solid var(--line);border-radius:12px;color:#111;background:#fff;cursor:pointer;line-height:1}
  .public-nav-links{order:6;position:absolute!important;top:66px!important;left:12px!important;right:12px!important;display:none!important;flex-direction:column!important;align-items:stretch!important;background:#fff!important;border:1px solid var(--line)!important;border-radius:0 0 18px 18px!important;box-shadow:var(--shadow-soft)!important;padding:10px!important;z-index:1001!important;max-height:calc(100vh - 84px);overflow:auto;margin:0!important}
  .public-nav-toggle:checked~.public-nav-links{display:flex!important}
  .public-nav-links a{width:100%!important;text-align:right!important;padding:12px 14px!important;border-bottom:1px solid #f1f1f4!important}
  .public-nav-links a:after{display:none!important}
  .topbar-search,.topbar-member{display:none!important}
  .it-radar-home .site-main{padding:0 16px!important;margin-bottom:28px!important}
  .it-home-hero-inner{grid-template-columns:1fr!important;padding:26px 16px 28px!important;min-height:0!important;gap:24px!important}
  .it-hero-copy{text-align:right!important}
  .it-hero-copy h1{font-size:clamp(32px,9vw,46px)!important;line-height:1.25!important}
  .it-hero-copy p{font-size:15px!important;line-height:2!important}
  .it-hero-actions{justify-content:flex-start!important}
  .it-radar-stage{min-height:330px!important;border:0!important;overflow:hidden}
  .it-radar-core{width:min(330px,88vw)!important}
  .it-live-panel{grid-template-columns:1fr 1fr!important}
  .it-live-ticker{grid-template-columns:1fr!important;gap:10px!important;padding:12px 0!important}
  .trend-strip{grid-template-columns:1fr!important;gap:12px!important}
  .simple-search-row{grid-template-columns:1fr!important}
  .search-panel-head{display:grid!important;grid-template-columns:1fr!important}
  .latest-header{display:grid!important;grid-template-columns:1fr!important;align-items:start!important}
  .section-title-row{flex-direction:column!important;align-items:flex-start!important}
  .public-footer{padding:24px 16px!important}
  .public-footer-inner{grid-template-columns:1fr!important;text-align:right!important}
  .public-footer nav{justify-content:flex-start!important}
}

/* موبایل کوچک: کارت‌های خبری و خبرنامه کاملاً فشرده و بدون اسکرول افقی می‌شوند. */
@media(max-width:640px){
  .it-logo-mark{width:40px!important;height:32px!important}
  .it-brand-text{font-size:20px!important}
  .it-live-panel{grid-template-columns:1fr!important}
  .it-radar-card{display:none!important}
  .article-grid{grid-template-columns:1fr!important;gap:16px!important}
  .news-card{min-height:260px!important}
  .news-card-media{min-height:260px!important}
  .news-card h2 a{font-size:18px!important;line-height:1.35!important}
  .news-card-list{grid-template-columns:1fr!important;min-height:260px!important}
  .news-card-list .news-card-content{position:absolute!important;background:transparent!important}
  .source-bucket-grid{grid-template-columns:1fr!important}
  .source-logo-row span{width:52px!important;height:52px!important}
  .newsletter-box{padding:22px!important}
  .newsletter-form input,.newsletter-form-simple input,.newsletter-form button,.newsletter-form-simple button{width:100%;min-width:0}
}


/* =========================================================
   اصلاح گرید آخرین اخبار: کارت‌ها حذف نمی‌شوند؛ فقط در دسکتاپ هر ردیف ۴ کارت دارد.
   بعد از هر دو ردیف ۴تایی، جایگاه تبلیغ تمام‌عرض وسط لیست قرار می‌گیرد.
   ========================================================= */
.it-radar-home .article-grid,
.content-page .article-grid{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  align-items:stretch;
}
.it-radar-home .article-grid .grid-wide,
.content-page .article-grid .grid-wide{
  grid-column:1/-1;
}
.ad-between-news{
  margin:4px 0 8px;
}
.ad-between-news .ad-box{
  margin:0;
}
.it-radar-home .news-card,
.content-page .news-card{
  min-width:0;
}
@media(max-width:1180px){
  .it-radar-home .article-grid,
  .content-page .article-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}
@media(max-width:640px){
  .it-radar-home .article-grid,
  .content-page .article-grid{
    grid-template-columns:1fr!important;
  }
}

/* =========================================================
   اصلاح قفل شدن متن بالای صفحات زیر منوی استیکی
   منوی سایت استیکی می‌ماند، اما تیتر/هیروی صفحات از هدر جدا شده و مثل محتوای عادی اسکرول می‌شود.
   ========================================================= */
.public-header{
  position:sticky!important;
  top:0!important;
  z-index:1000!important;
  padding:0!important;
  background:rgba(255,255,255,.96)!important;
  backdrop-filter:saturate(1.3) blur(12px);
  border-bottom:1px solid var(--line)!important;
  box-shadow:0 10px 30px rgba(15,15,20,.06)!important;
}
.public-page-hero{
  position:relative;
  z-index:1;
  background:#fff;
  border-bottom:1px solid var(--line);
  padding:0;
  margin:0;
}
.public-page-hero .public-hero-content{
  max-width:1180px;
  margin:0 auto!important;
  padding:42px 44px 34px!important;
  direction:rtl;
  text-align:right!important;
  color:#111!important;
}
.public-page-hero .public-hero-content h1{
  margin:0 0 12px!important;
  color:#111!important;
  line-height:1.45!important;
}
.public-page-hero .public-hero-content p{
  margin:0!important;
  color:#555!important;
  max-width:860px;
}
.public-page-hero.article-public-hero{
  background:#fff!important;
}
.public-page-hero.article-public-hero .public-hero-content{
  border-top:0!important;
}
.public-page-hero.article-public-hero .public-hero-content h1{
  font-size:clamp(30px,3.8vw,54px)!important;
}
.public-page .site-main.unified-public-main,
.content-page .site-main.unified-public-main,
.member-main{
  margin-top:22px!important;
}
.article-header.article-nav-panel{
  margin-top:22px!important;
  position:relative;
  z-index:2;
}
.public-header + .public-page-hero,
.public-page-hero + main,
.public-page-hero + .article-header{
  scroll-margin-top:94px;
}
@media(max-width:900px){
  .public-page-hero .public-hero-content{
    padding:30px 18px 24px!important;
  }
  .public-page-hero .public-hero-content h1{
    font-size:clamp(26px,8vw,38px)!important;
  }
  .public-page .site-main.unified-public-main,
  .content-page .site-main.unified-public-main,
  .member-main,
  .article-header.article-nav-panel{
    margin-top:16px!important;
  }
}


/* =========================================================
   اصلاحات نسخه ۴۹: کوچک‌سازی تیتر هیرو، ورودی صفحه جستجو، دکمه کلیه اخبار و فاصله مقاله‌های مرتبط
   ========================================================= */
.it-hero-copy h1{
  font-size:clamp(30px,3.6vw,48px)!important;
  line-height:1.24!important;
}
.home-search-entry{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:16px;
  padding:18px 20px;
  margin:20px 0 24px;
  box-shadow:var(--shadow-soft);
  direction:rtl;
  text-align:right;
}
.home-search-entry h2{margin:0 0 4px!important;color:#111!important;font-size:18px!important}
.home-search-entry .meta{margin:0!important}
.view-switcher-with-actions{flex-wrap:wrap;align-items:center}
.view-switcher .view-action-link{
  background:#111!important;
  color:#fff!important;
  border-color:#111!important;
}
.view-switcher .view-action-link:hover{
  background:var(--brand)!important;
  border-color:var(--brand)!important;
  color:#fff!important;
}
.related-card-compact strong{
  margin:0!important;
  line-height:1.45!important;
}
.related-card-compact .related-meta,
.related-card-compact .meta{
  display:block!important;
  margin-top:0!important;
  padding-top:0!important;
  line-height:1.55!important;
}
.article-full-text p{
  white-space:normal!important;
}
@media(max-width:900px){
  .home-search-entry{display:grid;grid-template-columns:1fr;align-items:start}
  .it-hero-copy h1{font-size:clamp(28px,7vw,38px)!important;line-height:1.3!important}
}


/* =========================================================
   اصلاحات نسخه ۵۰: جستجوی کوتاه، خبرنامه سراسری، خوانایی قیمت و هدر ورود
   ========================================================= */
.search-panel-head-compact{margin-bottom:12px!important;justify-content:flex-start!important}
body.public-page.content-page .news-search-panel{margin-top:0!important}
.search-page-note{display:none!important}
.pricing-main{display:grid!important;gap:22px!important}
.pricing-intro-card{background:#fff;border:1px solid var(--line);border-radius:22px;padding:24px;box-shadow:var(--shadow-soft);direction:rtl;text-align:right}
.pricing-intro-card h2{margin:6px 0 8px!important;color:#111!important;font-size:clamp(22px,2.5vw,34px)!important;line-height:1.55!important}
.pricing-intro-card p{margin:0!important;color:#475467!important;max-width:820px!important;line-height:2.05!important}
.public-kicker-soft{display:inline-flex;align-items:center;border:1px solid rgba(239,21,21,.22);background:var(--brand-soft);color:var(--brand);border-radius:999px;padding:4px 12px;font-size:12px;font-weight:950}
.pricing-grid-readable{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:18px;align-items:stretch}
.pricing-plan-card{background:#fff!important;border:1px solid var(--line)!important;border-radius:22px!important;padding:22px!important;box-shadow:var(--shadow-soft)!important;display:flex;flex-direction:column;gap:18px;min-height:100%;direction:rtl;text-align:right;overflow:hidden;position:relative}
.pricing-plan-card:before{content:"";position:absolute;top:0;right:0;left:0;height:4px;background:linear-gradient(90deg,var(--brand),#111)}
.pricing-plan-head h2{margin:0 0 10px!important;color:#111!important;font-size:22px!important;line-height:1.45!important}
.pricing-price{margin:0!important;color:#111!important;display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}
.pricing-price strong{font-size:34px;line-height:1;color:var(--brand)!important;letter-spacing:-.03em}
.pricing-price span{color:#667085;font-size:13px;font-weight:800}
.pricing-features{display:grid;gap:10px;margin:0;padding:0;list-style:none;flex:1}
.pricing-features li{position:relative;background:#fafafa;border:1px solid #eee;border-radius:14px;padding:10px 36px 10px 12px;color:#1f2937;line-height:1.9;font-size:14px}
.pricing-features li:before{content:"✓";position:absolute;right:12px;top:10px;width:18px;height:18px;border-radius:50%;display:grid;place-items:center;background:var(--brand);color:#fff;font-size:11px;font-weight:950}
.pricing-action{display:inline-flex;align-items:center;justify-content:center;margin-top:auto;background:#111!important;color:#fff!important;border-radius:14px;padding:12px 16px;font-weight:950;text-align:center}
.pricing-action:hover{background:var(--brand)!important;color:#fff!important}
.auth-page .public-header{min-height:0!important;padding-bottom:0!important}
.auth-page .public-page-hero{margin:0!important;background:#fff!important;border-bottom:1px solid var(--line)!important}
.auth-page .public-page-hero .public-hero-content{padding-top:28px!important;padding-bottom:22px!important}
.auth-page .site-main.unified-public-main{margin-top:22px!important;max-width:1180px!important}
.auth-page .auth-shell{margin-top:0!important}
.member-login-card.public-auth-card{background:#fff!important;color:#111!important}
.member-login-card.public-auth-card h2{color:#111!important}
.newsletter-box{max-width:1180px;margin:32px auto!important}
body.it-radar-home .newsletter-box{max-width:none}
@media(max-width:760px){.pricing-grid-readable{grid-template-columns:1fr}.pricing-plan-card{padding:18px!important}.pricing-price strong{font-size:28px}.auth-page .public-page-hero .public-hero-content{padding:22px 18px!important}.auth-page .site-main.unified-public-main{margin-top:16px!important}}


/* =========================================================
   اصلاحات نسخه ۵۱: مسیر news برای جزئیات خبر، کارت خلاصه/شرح، دکمه‌های قبلی/بعدی و حذف فاصله اضافه
   ========================================================= */
.article-header.article-nav-panel{
  margin-top:0!important;
  margin-bottom:0!important;
  padding-top:14px!important;
  padding-bottom:14px!important;
}
.article-nav-panel .public-article-nav,
.public-article-nav-bottom{
  margin-top:0!important;
  padding-top:0!important;
  border-top:0!important;
}
.public-article-nav{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px!important;
  align-items:stretch!important;
}
.public-article-nav a,
.public-article-nav span{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:52px!important;
  border-radius:16px!important;
  padding:12px 16px!important;
  font-weight:950!important;
  line-height:1.5!important;
  text-align:center!important;
}
.public-article-nav a{
  background:#111!important;
  color:#fff!important;
  border:1px solid #111!important;
  box-shadow:0 10px 24px rgba(17,17,17,.12)!important;
}
.public-article-nav a:hover{
  background:var(--brand)!important;
  border-color:var(--brand)!important;
  color:#fff!important;
  transform:translateY(-1px);
}
.public-article-nav span{
  background:#f5f5f5!important;
  color:#98a2b3!important;
  border:1px solid var(--line)!important;
}
.article-main .article-text-card{
  position:relative;
  overflow:hidden;
  background:linear-gradient(180deg,#fff,#fffafa)!important;
  border:1px solid rgba(239,21,21,.16)!important;
  border-right:5px solid var(--brand)!important;
  border-radius:18px!important;
  padding:24px 26px!important;
  box-shadow:0 16px 42px rgba(17,17,17,.06)!important;
}
.article-main .article-text-card:before{
  content:"";
  position:absolute;
  top:0;
  right:0;
  left:0;
  height:3px;
  background:linear-gradient(90deg,var(--brand),#111);
}
.article-main .article-text-card h2{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin:0 0 14px!important;
  padding:5px 12px;
  border-radius:999px;
  background:var(--brand-soft);
  color:var(--brand)!important;
  font-size:15px!important;
  font-weight:950!important;
}
.article-main .article-text-card h2:before{
  content:"";
  width:8px;
  height:8px;
  border-radius:50%;
  background:var(--brand);
  box-shadow:0 0 0 5px rgba(239,21,21,.10);
}
.article-main .article-text-card p{
  margin:0!important;
  color:#111!important;
  line-height:2.25!important;
  font-size:16px!important;
  white-space:normal!important;
}
.article-main .article-description-card p{
  font-size:17px!important;
  line-height:2.35!important;
}
.related-card-compact strong,
.related-card-compact strong a{
  margin-bottom:0!important;
  padding-bottom:0!important;
}
.related-card-compact .related-meta,
.related-card-compact .meta{
  margin-top:2px!important;
}
@media(max-width:640px){
  .public-article-nav{grid-template-columns:1fr!important}
  .article-main .article-text-card{padding:20px 18px!important;border-right-width:4px!important}
}

/* =========================================================
   اصلاحات نسخه ۵۲: مسیرهای تمیز، جابه‌جایی دکمه جستجو، یکسان‌سازی استایل عمومی و بازنگری وزن فونت
   ========================================================= */
body.public-page,
body.it-radar-home{
  font-size:15px!important;
  font-weight:400!important;
  line-height:1.75!important;
  color:#151515!important;
}
body.public-page h1,
body.public-page h2,
body.public-page h3,
body.it-radar-home h1,
body.it-radar-home h2,
body.it-radar-home h3{
  font-weight:800!important;
  letter-spacing:0!important;
}
.public-topbar,
.public-nav-links a,
.topbar-search input,
.topbar-search button,
.topbar-member,
.news-card,
.content-card,
.news-search-panel,
.pricing-plan-card,
.public-auth-card{
  font-weight:400!important;
}
.public-brand .it-brand-text{font-weight:800!important;font-size:22px!important}
.public-nav-links a{font-weight:700!important;font-size:14px!important}
.public-page-hero .public-hero-content h1{font-size:clamp(25px,3vw,38px)!important;line-height:1.45!important}
.public-page-hero .public-hero-content p{font-size:14px!important;line-height:1.9!important}
.it-hero-copy h1{font-size:clamp(28px,3.2vw,42px)!important;font-weight:800!important}
.it-hero-copy p{font-size:15px!important;line-height:1.95!important}
.latest-header h2,.trend-strip h2,.home-search-entry h2{font-size:20px!important;font-weight:800!important}
.news-card h2,.news-card h2 a{font-size:17px!important;font-weight:800!important;line-height:1.5!important}
.news-card .meta,.meta{font-size:12px!important;font-weight:500!important}
button,.btn-muted,.view-switcher a,.pricing-action,.public-article-nav a,.public-article-nav span{font-weight:750!important}

.news-filter-form{padding:18px!important}
.search-action-row{
  grid-template-columns:minmax(260px,1fr) auto!important;
  align-items:end!important;
  gap:14px!important;
}
.search-inline-actions{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:10px!important;
  white-space:nowrap!important;
}
.search-inline-actions button,
.search-inline-actions .btn-muted{
  min-height:44px!important;
  border-radius:12px!important;
  padding:10px 18px!important;
}
.search-inline-actions .advanced-search-toggle{
  background:#fff!important;
  color:#111!important;
  border:1px solid var(--line)!important;
}
.search-inline-actions .advanced-search-toggle:hover{
  border-color:rgba(239,21,21,.35)!important;
  color:var(--brand)!important;
}
.filter-actions{justify-content:flex-start!important;gap:10px!important}

.auth-page .public-header,
.content-page .public-header,
.public-page .public-header{
  background:rgba(255,255,255,.97)!important;
}
.auth-page .public-page-hero .public-hero-content{
  max-width:1180px!important;
  padding:24px 44px 20px!important;
}
.auth-page .public-page-hero .public-hero-content h1{
  font-size:clamp(24px,2.8vw,34px)!important;
}
.auth-shell{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(320px,480px)!important;
  gap:20px!important;
  align-items:stretch!important;
}
.auth-intro-card,.public-auth-card{
  border-radius:20px!important;
  border:1px solid var(--line)!important;
  box-shadow:var(--shadow-soft)!important;
}
.public-auth-card .edit-form button{width:100%!important;border-radius:12px!important}

@media(max-width:900px){
  .search-action-row{grid-template-columns:1fr!important}
  .search-inline-actions{justify-content:stretch!important;display:grid!important;grid-template-columns:1fr 1fr!important}
  .auth-shell{grid-template-columns:1fr!important}
  .auth-page .public-page-hero .public-hero-content{padding:22px 18px 18px!important}
}
@media(max-width:520px){
  body.public-page,body.it-radar-home{font-size:14px!important}
  .search-inline-actions{grid-template-columns:1fr!important}
  .public-brand .it-brand-text{font-size:20px!important}
  .news-card h2,.news-card h2 a{font-size:16px!important}
}

/* تب‌بندی صفحه اجرای دستی ادمین: فرم‌های شلوغ jobs.php را از هم جدا می‌کند. */
.admin-job-tabs{display:grid;gap:18px;min-width:0}
.admin-tab-nav{position:sticky;top:0;z-index:15;display:flex;gap:10px;align-items:center;flex-wrap:wrap;background:rgba(247,248,251,.92);backdrop-filter:blur(10px);border:1px solid var(--line);border-radius:20px;padding:10px;margin-bottom:4px;box-shadow:0 12px 30px rgba(15,23,42,.06)}
.admin-tab-button{background:#fff;color:#172033;border:1px solid var(--line);border-radius:14px;padding:10px 16px;font-weight:800;box-shadow:none;transition:.16s ease}
.admin-tab-button:hover{border-color:var(--brand);color:var(--brand);transform:translateY(-1px)}
.admin-tab-button.active{background:var(--brand);color:#fff;border-color:var(--brand);box-shadow:0 10px 22px rgba(23,107,135,.22)}
.admin-tab-panel{display:none;min-width:0}
.admin-tab-panel.active{display:block;animation:adminTabFade .18s ease both}
@keyframes adminTabFade{from{opacity:.5;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}
.panel-heading-row{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.admin-job-form-grid{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:14px;align-items:end}
.admin-job-form-grid label{min-width:0;margin-bottom:0!important}
.admin-job-form-grid input,.admin-job-form-grid select{width:100%;min-width:0}
.job-action-stack{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.job-action-stack button{min-height:44px;border-radius:12px}
.admin-result-box{max-height:520px;overflow:auto;border-radius:16px;background:#08111f!important;color:#dbeafe!important;border:1px solid rgba(148,163,184,.24)}
@media(max-width:760px){.admin-tab-nav{position:static;display:grid;grid-template-columns:1fr 1fr}.admin-tab-button{width:100%;padding:10px 12px}.admin-job-form-grid{grid-template-columns:1fr!important}.job-action-stack{display:grid;grid-template-columns:1fr 1fr}.job-action-stack button{width:100%}}
@media(max-width:460px){.admin-tab-nav{grid-template-columns:1fr}.job-action-stack{grid-template-columns:1fr}}

/* تنظیمات صفحه اتصال LinkedIn در پنل ادمین */
.linkedin-setup-panel .status-card{min-width:260px;border:1px solid var(--line);border-radius:18px;padding:14px 16px;background:#fff;box-shadow:var(--shadow-soft);display:grid;gap:6px;color:#111}
.linkedin-setup-panel .status-card.ok{border-color:rgba(22,163,74,.35);background:linear-gradient(135deg,#f0fdf4,#fff)}
.linkedin-setup-panel .status-card.warn{border-color:rgba(239,68,68,.28);background:linear-gradient(135deg,#fff1f2,#fff)}
.linkedin-setup-panel .status-card strong{font-size:15px;font-weight:850}
.linkedin-setup-panel .status-card span,.linkedin-setup-panel .status-card small{direction:ltr;text-align:left;font-size:12px;color:#64748b}
.danger-text{color:#dc2626!important;font-weight:800!important}
.linkedin-settings-form h3{margin:22px 0 12px;font-size:16px;font-weight:850;color:#111;border-right:4px solid var(--brand);padding-right:10px}
.readonly-input{background:#f8fafc!important;border:1px dashed var(--line)!important;font-size:13px!important}
.linkedin-actions{margin-top:18px;display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.linkedin-actions .button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 18px;border-radius:12px;background:#111;color:#fff;text-decoration:none;font-weight:800}
.linkedin-actions .button:hover{background:var(--brand);color:#fff}
.danger-zone{border-color:rgba(220,38,38,.18)!important;background:linear-gradient(135deg,#fff,#fff5f5)!important}
.btn-danger{background:#dc2626!important;color:#fff!important;border-color:#dc2626!important}
@media(max-width:760px){.panel-heading-row{display:grid}.linkedin-setup-panel .status-card{width:100%;min-width:0}.linkedin-actions{display:grid}.linkedin-actions button,.linkedin-actions .button{width:100%}}

/* =========================================================
   بازطراحی تب اتوماسیون jobs.php — کارت‌های تفکیک‌شده، راست‌چین و قابل خواندن
   ========================================================= */
.nr-auto-hero{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:22px;align-items:stretch;overflow:hidden!important;background:radial-gradient(circle at 8% 12%,rgba(239,21,21,.10),transparent 34%),linear-gradient(135deg,#fff,#fff8f8)!important;border-color:rgba(239,21,21,.14)!important}
.nr-auto-eyebrow{display:inline-flex;align-items:center;justify-content:center;background:#111;color:#fff;border-radius:999px;padding:3px 11px;font-size:12px;font-weight:800;margin-bottom:8px;letter-spacing:.4px;direction:ltr}
.nr-auto-hero h2{margin:0 0 6px;font-size:24px;line-height:1.5}.nr-auto-hero p{margin:0;color:#475467;max-width:880px}.nr-auto-pills{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}.nr-auto-pills span{background:#fff;border:1px solid var(--line);box-shadow:0 8px 20px rgba(15,23,42,.04);border-radius:999px;padding:6px 12px;color:#475467;font-size:13px}.nr-auto-pills b{color:var(--brand)}
.nr-auto-hero-actions{display:grid;align-content:center;gap:10px;background:#fff;border:1px solid var(--line);border-radius:18px;padding:16px;box-shadow:0 14px 34px rgba(15,23,42,.06)}.nr-auto-hero-actions button{width:100%;min-height:46px;border-radius:14px;font-weight:850}.nr-auto-hero-actions small{display:block;color:#667085;font-size:12px;line-height:1.8}.btn-success{background:#057a55!important;color:#fff!important;border-color:#057a55!important}
.nr-auto-layout{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(300px,.75fr);gap:18px;align-items:start}.nr-auto-settings-card,.nr-ai-queue-card,.nr-stage-panel,.nr-stats-panel,.nr-auto-help{overflow:visible!important}.nr-auto-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:14px}.nr-auto-form-grid label{display:flex;flex-direction:column;gap:6px;font-size:13px;color:#344054;font-weight:800}.nr-auto-form-grid input,.nr-auto-form-grid select{width:100%;min-height:44px;background:#fff}.nr-auto-check{border:1px dashed var(--line);border-radius:14px;padding:10px 12px;background:#fafafa;justify-content:flex-start!important;align-items:center!important;min-height:44px}.nr-auto-check input{width:auto!important;min-height:auto!important}
.nr-queue-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:14px}.nr-queue-item{background:#f8fafc;border:1px solid var(--line);border-radius:16px;padding:14px;min-height:96px;display:grid;align-content:center;gap:3px}.nr-queue-item strong{font-size:28px;color:#111;line-height:1}.nr-queue-item span{font-size:13px;color:#667085}.nr-queue-item.warn{background:#fff7ed;border-color:#fed7aa}.nr-queue-item.warn strong{color:#c2410c}.nr-queue-item.danger{background:#fff1f1;border-color:#ffd1d1}.nr-queue-item.danger strong{color:#dc2626}
.nr-stage-status{display:inline-flex;align-items:center;justify-content:center;background:#f1f5f9;color:#334155;border:1px solid var(--line);border-radius:999px;padding:7px 14px;font-weight:850}.nr-stage-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;margin-top:16px}.nr-stage-card{position:relative;background:linear-gradient(180deg,#fff,#f8fafc);border:1px solid var(--line);border-radius:18px;padding:16px 12px;text-align:center;min-height:126px;display:grid;gap:6px;align-content:center;box-shadow:0 10px 24px rgba(15,23,42,.04)}.nr-stage-card span{width:32px;height:32px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;margin:0 auto;background:#111;color:#fff;font-weight:900}.nr-stage-card strong{font-size:14px}.nr-stage-card em{font-style:normal;color:#667085;font-size:12px}.nr-stage-card[data-stage="fetch"] span,.nr-stage-card[data-stage="ai"] span{background:var(--brand)}
.nr-stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.nr-stats-grid div{background:#fff;border:1px solid var(--line);border-radius:16px;padding:14px;box-shadow:0 10px 22px rgba(15,23,42,.04)}.nr-stats-grid small{display:block;color:#667085;font-size:12px}.nr-stats-grid strong{display:block;font-size:26px;line-height:1.3;margin-top:4px;color:#111}.nr-auto-shortcuts{display:flex;gap:10px;flex-wrap:wrap}.nr-auto-shortcuts button,.nr-auto-shortcuts .button{border-radius:14px;min-height:42px;display:inline-flex;align-items:center;justify-content:center;padding:10px 15px;background:#111;color:#fff!important;border:0;font-weight:800}.nr-auto-shortcuts button:hover,.nr-auto-shortcuts .button:hover{background:var(--brand)}
@media(max-width:1120px){.nr-auto-hero,.nr-auto-layout{grid-template-columns:1fr}.nr-stage-grid{grid-template-columns:repeat(3,1fr)}.nr-stats-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:760px){.nr-auto-form-grid,.nr-queue-grid,.nr-stage-grid,.nr-stats-grid{grid-template-columns:1fr}.nr-auto-pills{display:grid}.nr-auto-shortcuts{display:grid}.nr-auto-shortcuts button,.nr-auto-shortcuts .button{width:100%}.nr-auto-hero h2{font-size:20px}.nr-auto-hero-actions{padding:12px}}

/* =========================================================
   نسخه ۵۷: نظم‌دهی منوی ادمین و صفحه مدیریت خبرها
   ========================================================= */
.admin-body{grid-template-columns:280px minmax(0,1fr)!important;background:#f6f7fb!important}
.admin-sidebar{padding:18px!important;gap:14px!important;background:linear-gradient(180deg,#061d2d,#082f49 54%,#071827)!important;border-left:1px solid rgba(255,255,255,.08);box-shadow:-12px 0 32px rgba(2,8,23,.06)}
.admin-brand-box{border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.07);border-radius:18px;padding:14px;margin-bottom:2px}.admin-brand-box .brand{margin:0 0 4px!important;line-height:1.3}.admin-brand-box small{display:block;color:rgba(255,255,255,.68);font-size:12px;line-height:1.8}.admin-nav{display:grid;gap:12px}.admin-nav-group{display:grid;gap:5px;padding:10px;border-radius:18px;background:rgba(255,255,255,.045);border:1px solid rgba(255,255,255,.08)}.admin-nav-title{font-size:11px;font-weight:850;color:rgba(255,255,255,.58);padding:0 5px 5px;letter-spacing:0;white-space:nowrap}.admin-sidebar .admin-nav a{display:flex;align-items:center;gap:9px;color:rgba(255,255,255,.86)!important;padding:8px 9px!important;border-radius:12px;font-size:13px;font-weight:750;line-height:1.45}.admin-sidebar .admin-nav a:hover{background:rgba(255,255,255,.12)!important;color:#fff!important;transform:translateX(-1px)}.admin-sidebar .admin-nav a.active{background:#fff!important;color:#082f49!important;box-shadow:0 10px 22px rgba(0,0,0,.12)}.admin-nav-icon{display:inline-flex;align-items:center;justify-content:center;min-width:38px;height:24px;border-radius:999px;background:rgba(255,255,255,.11);font-size:10px;font-weight:900}.admin-sidebar .admin-nav a.active .admin-nav-icon{background:#e0f2fe;color:#075985}.admin-logout-link{margin-top:auto!important;display:flex!important;align-items:center!important;justify-content:center!important;background:rgba(239,68,68,.12)!important;border:1px solid rgba(248,113,113,.24);color:#fecaca!important;font-weight:850!important}.admin-logout-link:hover{background:rgba(239,68,68,.22)!important;color:#fff!important}.admin-main{min-width:0!important;padding:22px!important}.admin-top{background:#fff;border:1px solid var(--line);border-radius:20px;padding:14px 18px;box-shadow:0 12px 30px rgba(15,23,42,.05)}.admin-top h1{margin:0;font-size:22px}.admin-top span{background:#f1f5f9;border:1px solid var(--line);border-radius:999px;padding:5px 11px;color:#475467;font-weight:800;font-size:13px}.admin-main .button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:42px;padding:9px 15px;border-radius:13px;background:var(--brand);color:#fff!important;border:1px solid var(--brand);font-weight:850;text-decoration:none}.admin-main .button:hover{filter:brightness(.96);transform:translateY(-1px)}.btn-muted,.admin-main .button.btn-muted{background:#fff!important;color:#172033!important;border:1px solid var(--line)!important}.btn-muted:hover,.admin-main .button.btn-muted:hover{border-color:var(--brand)!important;color:var(--brand)!important}.btn-success{background:#057a55!important;color:#fff!important;border-color:#057a55!important}

.article-admin-shell{overflow:visible!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}.article-admin-hero{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px;align-items:center;background:radial-gradient(circle at 6% 12%,rgba(23,107,135,.13),transparent 30%),linear-gradient(135deg,#fff,#f8fbff);border:1px solid rgba(23,107,135,.16);border-radius:24px;padding:22px;margin-bottom:16px;box-shadow:0 16px 40px rgba(15,23,42,.06)}.article-admin-eyebrow{display:inline-flex;align-items:center;justify-content:center;background:#111;color:#fff;border-radius:999px;padding:3px 11px;font-size:12px;font-weight:900;margin-bottom:8px;direction:ltr}.article-admin-hero h2{font-size:26px;margin:0 0 6px;line-height:1.45}.article-admin-hero p{max-width:860px}.article-admin-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}.article-filter-badges{display:flex;gap:8px;flex-wrap:wrap;margin-top:13px}.article-filter-badges span{background:#e0f2fe;color:#075985;border:1px solid rgba(14,116,144,.16);border-radius:999px;padding:4px 10px;font-size:12px;font-weight:850}.article-stat-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;margin-bottom:16px}.article-stat-card{display:block;background:#fff;border:1px solid var(--line);border-radius:18px;padding:15px;box-shadow:0 12px 30px rgba(15,23,42,.045);color:#172033!important;min-height:118px}.article-stat-card:hover{transform:translateY(-2px);box-shadow:0 16px 36px rgba(15,23,42,.075);border-color:rgba(23,107,135,.28)}.article-stat-card small{display:block;color:#667085;font-size:12px;font-weight:800}.article-stat-card strong{display:block;font-size:28px;line-height:1.25;color:#111;margin:4px 0}.article-stat-card span{display:block;color:#667085;font-size:12px}.article-stat-card.ok{background:linear-gradient(180deg,#fff,#f0fdf4);border-color:rgba(22,163,74,.22)}.article-stat-card.warn{background:linear-gradient(180deg,#fff,#fff7ed);border-color:#fed7aa}.article-stat-card.danger{background:linear-gradient(180deg,#fff,#fff1f1);border-color:#ffd1d1}.article-stat-card.danger strong{color:#dc2626}.article-stat-card.warn strong{color:#c2410c}.article-quick-tabs{position:sticky;top:8px;z-index:12;display:flex;align-items:center;gap:8px;flex-wrap:wrap;background:rgba(246,247,251,.92);backdrop-filter:blur(10px);border:1px solid var(--line);border-radius:18px;padding:9px;margin-bottom:16px;box-shadow:0 10px 26px rgba(15,23,42,.05)}.article-quick-tabs a{background:#fff;border:1px solid var(--line);border-radius:12px;padding:8px 13px;color:#344054;font-weight:800;font-size:13px}.article-quick-tabs a:hover{border-color:var(--brand);color:var(--brand)}.article-quick-tabs a.active{background:var(--brand);border-color:var(--brand);color:#fff}.article-admin-layout{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:14px;margin-bottom:14px}.article-filter-card,.article-side-card,.article-bulk-card,.article-table-head,.article-table-wrap{background:#fff;border:1px solid var(--line);border-radius:20px;box-shadow:0 12px 30px rgba(15,23,42,.045)}.article-filter-card{padding:18px}.article-filter-card h3,.article-side-card h3,.article-bulk-card h3,.article-table-head h3{margin:0 0 4px;font-size:17px}.article-filter-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:14px;align-items:end}.article-filter-grid label,.article-bulk-card label{display:flex;flex-direction:column;gap:6px;font-size:13px;color:#344054;font-weight:850}.article-filter-grid input,.article-filter-grid select,.article-bulk-card select{width:100%;min-height:44px;background:#fff}.article-complete-check{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start;gap:8px!important;border:1px dashed var(--line);border-radius:14px;padding:11px 12px;background:#f8fafc;min-height:44px}.article-complete-check input{width:auto!important;min-height:auto!important}.article-side-card{padding:18px;display:grid;align-content:center}.article-side-card strong{display:block;font-size:36px;color:var(--brand);line-height:1.2}.article-side-card span{font-weight:850;color:#111}.article-bulk-form{display:grid;gap:14px}.article-bulk-card{display:grid;grid-template-columns:minmax(220px,1fr) minmax(260px,.8fr) minmax(360px,1.2fr);gap:14px;align-items:end;padding:16px}.article-bulk-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.article-bulk-actions button{min-height:42px;border-radius:12px}.article-table-head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 16px;margin-top:4px}.article-table-head .check{margin:0!important;background:#f8fafc;border:1px solid var(--line);border-radius:999px;padding:7px 12px}.article-table-wrap{overflow:auto}.article-admin-table{min-width:980px;border-collapse:separate;border-spacing:0}.article-admin-table thead th{position:sticky;top:0;z-index:8;background:#f8fafc!important;color:#475467!important;font-weight:900;border-bottom:1px solid var(--line)!important}.article-admin-table tbody tr{transition:.14s ease}.article-admin-table tbody tr:hover{background:#f8fbff}.article-admin-table td,.article-admin-table th{padding:12px 10px!important}.article-title-cell{min-width:330px}.article-title-cell>a{display:block;color:#111;font-weight:900;line-height:1.65}.article-title-cell>a:hover{color:var(--brand)}.article-row-meta{display:flex;gap:7px;flex-wrap:wrap;margin-top:6px}.article-row-meta span{display:inline-flex;background:#f1f5f9;color:#64748b;border-radius:999px;padding:2px 8px;font-size:11px;font-weight:750}.article-quality-stack{display:flex;gap:6px;flex-wrap:wrap}.article-date-cell{direction:ltr;text-align:left;color:#667085;font-size:12px;white-space:nowrap}.complete-row{box-shadow:inset -4px 0 0 rgba(5,122,85,.55)}.incomplete-row{box-shadow:inset -4px 0 0 rgba(194,65,12,.38)}.empty-state{text-align:center;padding:32px;color:#667085;background:#f8fafc;border:1px dashed var(--line);border-radius:16px}.article-pagination{justify-content:center;margin:18px 0 0!important}.status-ready_for_review{background:#e0f2fe;color:#075985}.status-approved{background:#ecfdf3;color:#057a55}.status-needs_edit{background:#fff7ed;color:#c2410c}.status-rejected{background:#fef3f2;color:#b42318}.status-ai_pending,.status-no_publication{background:#f1f5f9;color:#64748b}
@media(max-width:1220px){.article-stat-grid{grid-template-columns:repeat(3,1fr)}.article-admin-layout{grid-template-columns:1fr}.article-bulk-card{grid-template-columns:1fr}.article-bulk-actions{justify-content:flex-start}}
@media(max-width:900px){.admin-body{grid-template-columns:1fr!important}.admin-sidebar{position:static!important;height:auto!important}.admin-nav{grid-template-columns:1fr 1fr}.admin-logout-link{margin-top:4px!important}.article-admin-hero{grid-template-columns:1fr}.article-admin-actions{justify-content:flex-start}.article-filter-grid{grid-template-columns:1fr 1fr}.article-stat-grid{grid-template-columns:repeat(2,1fr)}.article-quick-tabs{position:static}.article-table-head{display:grid}.article-table-head .check{border-radius:14px}}
@media(max-width:620px){.admin-main{padding:14px!important}.admin-top{display:grid;gap:8px}.admin-nav{grid-template-columns:1fr}.article-stat-grid,.article-filter-grid{grid-template-columns:1fr}.article-admin-hero,.article-filter-card,.article-side-card,.article-bulk-card,.article-table-head{border-radius:16px;padding:14px}.article-admin-actions,.article-bulk-actions{display:grid;grid-template-columns:1fr}.article-admin-actions .button,.article-bulk-actions button{width:100%}.article-quick-tabs{display:grid;grid-template-columns:1fr 1fr}.article-quick-tabs a{text-align:center}.article-table-wrap{border-radius:16px}.article-title-cell{min-width:280px}}

/* v58: auto publication + unpublish controls */
.article-stat-grid{grid-template-columns:repeat(auto-fit,minmax(145px,1fr))!important}
.article-action-cell{min-width:130px;white-space:nowrap}.btn-mini{min-height:32px!important;border-radius:10px!important;padding:6px 10px!important;font-size:12px!important;font-weight:850!important}.btn-danger{background:#dc2626!important;color:#fff!important;border-color:#dc2626!important}.btn-danger:hover{background:#b91c1c!important;border-color:#b91c1c!important}.status-archived{background:#f1f5f9;color:#475569}.nr-auto-publish-card{border-color:rgba(5,122,85,.16)!important;background:linear-gradient(180deg,#fff,#f8fffb)!important}.nr-auto-publish-state{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:7px 13px;font-weight:900;font-size:13px;border:1px solid var(--line);background:#f8fafc;color:#475467}.nr-auto-publish-state.enabled{background:#ecfdf3;color:#057a55;border-color:rgba(5,122,85,.24)}.nr-auto-publish-state.disabled{background:#fff7ed;color:#c2410c;border-color:#fed7aa}.nr-auto-publish-summary{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:15px 0}.nr-auto-publish-summary>div{background:#fff;border:1px solid var(--line);border-radius:16px;padding:13px;box-shadow:0 10px 22px rgba(15,23,42,.035)}.nr-auto-publish-summary small{display:block;color:#667085;font-size:12px}.nr-auto-publish-summary strong{display:block;margin-top:4px;color:#111;font-size:16px;line-height:1.6}.nr-auto-publish-form{align-items:end}.nr-wide-check{flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;gap:8px!important;background:#f8fafc;border:1px dashed var(--line);border-radius:14px;padding:11px 12px;min-height:44px}.nr-wide-check input{width:auto!important;min-height:auto!important}.nr-cron-hint{margin-top:10px;background:#0f172a;color:#dbeafe;border-radius:14px;padding:10px 12px;font-size:12px;overflow:auto}
@media(max-width:1100px){.nr-auto-publish-summary{grid-template-columns:repeat(2,1fr)}}
@media(max-width:620px){.nr-auto-publish-summary{grid-template-columns:1fr}.article-action-cell{min-width:110px}}


/* =========================================================
   نسخه ۶۱: خوانایی صفحه خبر، ناوبری ثابت کناری و کوچک‌سازی تیتر خبر
   ========================================================= */
body.public-page .public-page-hero.article-public-hero .public-hero-content{
  max-width:940px!important;
  padding:24px 44px 18px!important;
}
body.public-page .public-page-hero.article-public-hero .public-hero-content h1{
  font-size:clamp(21px,2.15vw,30px)!important;
  line-height:1.55!important;
  font-weight:800!important;
  margin-bottom:8px!important;
}
body.public-page .public-page-hero.article-public-hero .public-hero-content p{
  font-size:12px!important;
  line-height:1.7!important;
  color:#667085!important;
}
.article-header.article-nav-panel,
.public-article-nav-bottom{
  display:none!important;
}
.article-floating-nav{
  position:fixed;
  inset-block-start:50%;
  transform:translateY(-50%);
  z-index:850;
  pointer-events:none;
}
.article-floating-nav .article-float-nav-link{
  position:fixed;
  top:50%;
  transform:translateY(-50%);
  width:74px;
  min-height:74px;
  border-radius:999px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#111!important;
  color:#fff!important;
  border:1px solid #111!important;
  box-shadow:0 16px 38px rgba(17,17,17,.18)!important;
  font-size:13px;
  font-weight:850!important;
  line-height:1.3;
  text-align:center;
  pointer-events:auto;
  transition:transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.article-floating-nav .article-float-nav-link:hover{
  transform:translateY(-50%) scale(1.04);
  background:var(--brand)!important;
  border-color:var(--brand)!important;
  color:#fff!important;
  box-shadow:0 18px 42px rgba(239,21,21,.22)!important;
}
.article-floating-nav .article-float-prev{
  right:max(18px,calc((100vw - 940px)/2 - 104px));
}
.article-floating-nav .article-float-next{
  left:max(18px,calc((100vw - 940px)/2 - 104px));
}
.article-floating-nav .article-float-prev:before{
  content:"→";
  display:block;
  font-size:18px;
  margin-left:5px;
}
.article-floating-nav .article-float-next:after{
  content:"←";
  display:block;
  font-size:18px;
  margin-right:5px;
}
.article-main .article-text-card p.article-sentence-lines,
.article-main .article-sentence-lines,
.analysis-panel p.article-sentence-lines{
  white-space:pre-line!important;
  line-height:1.82!important;
  margin:0!important;
  font-size:16px!important;
  color:#111!important;
}
.article-main .article-description-card p.article-sentence-lines{
  line-height:1.86!important;
  font-size:16px!important;
}
.article-main .article-text-card{
  padding-top:22px!important;
  padding-bottom:22px!important;
}
@media(max-width:1160px){
  .article-floating-nav .article-float-prev{right:10px;}
  .article-floating-nav .article-float-next{left:10px;}
  .article-floating-nav .article-float-nav-link{width:58px;min-height:58px;font-size:12px;opacity:.92;}
}
@media(max-width:760px){
  body.public-page .public-page-hero.article-public-hero .public-hero-content{padding:20px 18px 14px!important;}
  body.public-page .public-page-hero.article-public-hero .public-hero-content h1{font-size:21px!important;line-height:1.55!important;}
  .article-floating-nav{
    left:10px;
    right:10px;
    top:auto;
    bottom:12px;
    transform:none;
    display:flex;
    justify-content:space-between;
    gap:10px;
    z-index:900;
  }
  .article-floating-nav .article-float-nav-link{
    position:static;
    transform:none;
    flex:1 1 0;
    min-height:46px;
    width:auto;
    border-radius:14px;
  }
  .article-floating-nav .article-float-nav-link:hover{transform:none;}
  .article-main{padding-bottom:72px!important;}
  .article-main .article-text-card p.article-sentence-lines,
  .article-main .article-sentence-lines,
  .analysis-panel p.article-sentence-lines{font-size:15px!important;line-height:1.8!important;}
}

/* v62: simpler bulk actions in admin/articles.php */
.article-bulk-card.simple-bulk-card{grid-template-columns:minmax(260px,1fr) minmax(320px,.9fr) auto;align-items:end}
.simple-bulk-actions{justify-content:flex-end;align-items:end}
.simple-bulk-actions .btn-success{min-width:150px;font-weight:900}
@media(max-width:1220px){.article-bulk-card.simple-bulk-card{grid-template-columns:1fr}.simple-bulk-actions{justify-content:flex-start}.simple-bulk-actions .btn-success{width:100%}}

/* v63: scoped bulk actions in admin articles */
.article-bulk-card.article-bulk-scope-card{grid-template-columns:minmax(240px,1fr) minmax(230px,.65fr) minmax(300px,.85fr) auto;position:relative}
.article-bulk-scope-hint{grid-column:1/-1;margin:0!important;background:#f8fafc;border:1px dashed var(--line);border-radius:12px;padding:9px 12px;color:#475467!important}
.article-bulk-card.article-bulk-scope-card select:focus{border-color:var(--brand);box-shadow:0 0 0 3px rgba(23,107,135,.10)}
.article-check:disabled{opacity:.35;cursor:not-allowed}
#selectAllArticles:disabled{opacity:.45;cursor:not-allowed}
@media(max-width:1220px){.article-bulk-card.article-bulk-scope-card{grid-template-columns:1fr}.article-bulk-scope-hint{grid-column:auto}}

/* v64: clearer bulk action modes, visible article prev/next, stable trend links */
.article-bulk-card.article-bulk-scope-card{
  grid-template-columns:minmax(220px,.9fr) minmax(340px,1.25fr) minmax(280px,.9fr) auto!important;
  align-items:end!important;
}
.article-bulk-intro{min-width:0}
.bulk-mode-box{display:grid;grid-template-columns:1fr 1fr;gap:10px;align-items:stretch}
.bulk-mode-btn{appearance:none;border:1px solid var(--line);background:#fff;border-radius:16px;padding:12px 14px;text-align:right;cursor:pointer;min-height:72px;display:grid;gap:4px;align-content:center;transition:.16s ease;box-shadow:0 8px 22px rgba(15,23,42,.04)}
.bulk-mode-btn strong{display:block;color:#111;font-size:14px;line-height:1.5;font-weight:950}
.bulk-mode-btn span{display:block;color:#667085;font-size:12px;line-height:1.7;font-weight:750}
.bulk-mode-btn:hover{border-color:rgba(23,107,135,.35);transform:translateY(-1px)}
.bulk-mode-btn.active{background:linear-gradient(180deg,#eef9ff,#fff);border-color:var(--brand);box-shadow:0 0 0 3px rgba(23,107,135,.10),0 12px 28px rgba(15,23,42,.06)}
.bulk-mode-btn.active strong{color:var(--brand)}
.bulk-mode-all.active{background:linear-gradient(180deg,#fff7ed,#fff);border-color:#fb923c;box-shadow:0 0 0 3px rgba(251,146,60,.13),0 12px 28px rgba(15,23,42,.06)}
.bulk-mode-all.active strong{color:#c2410c}
.bulk-action-label{min-width:0}.article-bulk-scope-hint{grid-column:1/-1!important}.article-bulk-actions.simple-bulk-actions .btn-success{white-space:nowrap;min-width:210px}
@media(max-width:1320px){.article-bulk-card.article-bulk-scope-card{grid-template-columns:1fr 1fr!important}.article-bulk-actions.simple-bulk-actions{justify-content:flex-start}.article-bulk-actions.simple-bulk-actions .btn-success{width:100%}}
@media(max-width:760px){.bulk-mode-box{grid-template-columns:1fr}.article-bulk-card.article-bulk-scope-card{grid-template-columns:1fr!important}.article-bulk-actions.simple-bulk-actions .btn-success{min-width:0;width:100%}}

.article-floating-nav{position:fixed!important;top:50%!important;left:0!important;right:0!important;transform:translateY(-50%)!important;z-index:99999!important;pointer-events:none!important;height:0!important;overflow:visible!important}
.article-floating-nav .article-float-nav-link{position:fixed!important;top:50%!important;transform:translateY(-50%)!important;width:auto!important;min-width:92px!important;min-height:56px!important;padding:0 16px!important;border-radius:18px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;background:#fff!important;color:#111!important;border:1px solid rgba(17,17,17,.14)!important;box-shadow:0 18px 44px rgba(15,23,42,.18)!important;font-size:14px!important;font-weight:950!important;text-decoration:none!important;opacity:.98!important;pointer-events:auto!important;white-space:nowrap!important}
.article-floating-nav .article-float-nav-link span{display:inline-flex!important;color:inherit!important;line-height:1!important}
.article-floating-nav .article-float-prev{right:18px!important;left:auto!important}.article-floating-nav .article-float-next{left:18px!important;right:auto!important}
.article-floating-nav .article-float-prev:before{content:"→"!important;font-size:18px!important;margin:0 0 0 6px!important}.article-floating-nav .article-float-next:after{content:"←"!important;font-size:18px!important;margin:0 6px 0 0!important}
.article-floating-nav .article-float-nav-link:hover{background:var(--brand)!important;color:#fff!important;border-color:var(--brand)!important;transform:translateY(-50%) scale(1.03)!important;box-shadow:0 20px 50px rgba(239,21,21,.24)!important}
@media(max-width:760px){.article-floating-nav{top:auto!important;bottom:12px!important;left:12px!important;right:12px!important;transform:none!important;height:auto!important;display:flex!important;gap:10px!important;justify-content:space-between!important}.article-floating-nav .article-float-nav-link{position:static!important;transform:none!important;flex:1 1 0!important;min-width:0!important;min-height:48px!important;border-radius:14px!important}.article-floating-nav .article-float-nav-link:hover{transform:none!important}.article-floating-nav .article-float-prev{right:auto!important}.article-floating-nav .article-float-next{left:auto!important}.article-main{padding-bottom:78px!important}}

/* v65: public UI cleanup — stable links, cleaner header/cards, readable public pages */
body.public-page{
  background:#f6f7fb!important;
  color:#111827!important;
  overflow-x:hidden!important;
}
body.public-page .public-header{
  position:sticky!important;
  top:0!important;
  z-index:1200!important;
  min-height:0!important;
  padding:0!important;
  background:rgba(255,255,255,.98)!important;
  border-bottom:1px solid #e7eaf0!important;
  box-shadow:0 8px 26px rgba(15,23,42,.06)!important;
  backdrop-filter:saturate(1.2) blur(10px)!important;
}
body.public-page .public-topbar{
  width:min(1240px,calc(100% - 32px))!important;
  min-height:68px!important;
  margin:0 auto!important;
  padding:0!important;
  display:grid!important;
  grid-template-columns:auto minmax(0,1fr) minmax(210px,300px) auto!important;
  align-items:center!important;
  gap:18px!important;
  direction:rtl!important;
}
body.public-page .public-brand{
  color:#111827!important;
  min-width:max-content!important;
}
body.public-page .public-nav-links{
  position:static!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:18px!important;
  margin:0!important;
  padding:0!important;
  direction:rtl!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}
body.public-page .public-nav-links a{
  color:#111827!important;
  background:transparent!important;
  border:0!important;
  padding:23px 0 19px!important;
  border-radius:0!important;
  font-size:13px!important;
  font-weight:800!important;
  white-space:nowrap!important;
}
body.public-page .public-nav-links a.active,
body.public-page .public-nav-links a:hover{
  color:var(--brand)!important;
}
body.public-page .topbar-search{
  width:100%!important;
  max-width:300px!important;
  height:42px!important;
  margin:0!important;
  direction:rtl!important;
  border-radius:14px!important;
  background:#f8fafc!important;
}
body.public-page .topbar-search input{
  direction:rtl!important;
  text-align:right!important;
  background:transparent!important;
  height:40px!important;
  font-size:12px!important;
}
body.public-page .topbar-search button{
  height:40px!important;
  width:42px!important;
  background:transparent!important;
}
body.public-page .topbar-member{
  width:40px!important;
  height:40px!important;
  font-size:12px!important;
}
body.public-page .public-page-hero{
  background:#fff!important;
  border-bottom:1px solid #e7eaf0!important;
}
body.public-page .public-page-hero .public-hero-content{
  width:min(1180px,calc(100% - 32px))!important;
  padding:24px 0 20px!important;
  margin:0 auto!important;
  text-align:right!important;
}
body.public-page .public-page-hero .public-hero-content h1{
  font-size:clamp(22px,2.35vw,32px)!important;
  line-height:1.55!important;
  margin:0 0 7px!important;
  letter-spacing:0!important;
}
body.public-page .public-page-hero .public-hero-content p{
  font-size:13px!important;
  line-height:1.9!important;
  color:#667085!important;
  max-width:900px!important;
}
body.it-radar-home .site-main,
body.public-page .site-main.unified-public-main,
body.content-page .site-main.unified-public-main{
  width:min(1240px,calc(100% - 32px))!important;
  max-width:1240px!important;
  margin:24px auto 42px!important;
  padding:0!important;
}
body.it-radar-home .it-home-hero{
  border-bottom:1px solid #e7eaf0!important;
  background:linear-gradient(180deg,#fff,#fafafa)!important;
}
body.it-radar-home .it-home-hero-inner{
  width:min(1240px,calc(100% - 32px))!important;
  max-width:1240px!important;
  min-height:410px!important;
  padding:26px 0 28px!important;
  grid-template-columns:minmax(280px,.95fr) minmax(320px,1fr) 270px!important;
  gap:24px!important;
}
body.it-radar-home .it-hero-copy h1{
  font-size:clamp(27px,3vw,38px)!important;
  line-height:1.32!important;
  letter-spacing:-.025em!important;
}
body.it-radar-home .it-hero-copy p{
  font-size:14px!important;
  line-height:1.95!important;
}
body.it-radar-home .it-radar-stage{
  min-height:340px!important;
}
body.it-radar-home .it-radar-core{
  width:min(330px,72vw)!important;
}
body.public-page .latest-header,
body.public-page .trend-strip,
body.public-page .home-search-entry,
body.public-page .content-card,
body.public-page .news-search-panel{
  border:1px solid #e7eaf0!important;
  border-radius:20px!important;
  background:#fff!important;
  box-shadow:0 10px 28px rgba(15,23,42,.045)!important;
}
body.public-page .trend-strip{
  padding:16px 18px!important;
  margin-bottom:20px!important;
}
body.public-page .article-grid{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:16px!important;
  align-items:stretch!important;
}
body.public-page .article-grid .grid-wide{
  grid-column:1/-1!important;
}
body.public-page .news-card{
  display:flex!important;
  flex-direction:column!important;
  min-height:0!important;
  height:auto!important;
  padding:0!important;
  overflow:hidden!important;
  background:#fff!important;
  border:1px solid #e7eaf0!important;
  border-radius:20px!important;
  box-shadow:0 12px 28px rgba(15,23,42,.055)!important;
}
body.public-page .news-card-media{
  position:relative!important;
  display:block!important;
  width:100%!important;
  min-height:176px!important;
  height:176px!important;
  overflow:hidden!important;
  background:linear-gradient(135deg,#f2f4f7,#fff)!important;
  border-radius:0!important;
  order:0!important;
}
body.public-page .news-card-media img{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  display:block!important;
}
body.public-page .news-card-media.is-empty{
  display:grid!important;
  place-items:center!important;
  color:#667085!important;
  font-size:12px!important;
}
body.public-page .news-card-content{
  position:static!important;
  inset:auto!important;
  min-height:0!important;
  display:flex!important;
  flex-direction:column!important;
  gap:9px!important;
  padding:14px 15px 15px!important;
  background:#fff!important;
  color:#111827!important;
  text-align:right!important;
  direction:rtl!important;
  order:1!important;
}
body.public-page .news-card h2{
  margin:0!important;
  min-height:0!important;
  display:block!important;
}
body.public-page .news-card h2,
body.public-page .news-card h2 a{
  font-size:15px!important;
  font-weight:850!important;
  line-height:1.62!important;
  color:#111827!important;
  letter-spacing:0!important;
  -webkit-line-clamp:3!important;
}
body.public-page .news-card .meta{
  color:#667085!important;
  font-size:11px!important;
  line-height:1.7!important;
}
body.public-page .tags{
  gap:6px!important;
  margin-top:4px!important;
}
body.public-page .tags span,
body.public-page .tags a,
body.public-page .trend-links a{
  padding:5px 10px!important;
  font-size:11px!important;
  line-height:1.6!important;
  font-weight:750!important;
  box-shadow:none!important;
}
body.public-page .article-list{
  display:grid!important;
  gap:14px!important;
}
body.public-page .news-card-list{
  display:grid!important;
  grid-template-columns:240px minmax(0,1fr)!important;
  min-height:0!important;
}
body.public-page .news-card-list .news-card-media{
  height:100%!important;
  min-height:170px!important;
  grid-column:1!important;
  grid-row:1!important;
}
body.public-page .news-card-list .news-card-content{
  grid-column:2!important;
  grid-row:1!important;
  justify-content:center!important;
}
body.public-page .site-pagination,
body.public-page .pagination{
  display:flex!important;
  justify-content:center!important;
  align-items:center!important;
  gap:8px!important;
  flex-wrap:wrap!important;
  margin:24px 0!important;
}
body.public-page .site-pagination a,
body.public-page .pagination a{
  min-width:40px!important;
  min-height:40px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  border:1px solid #e7eaf0!important;
  border-radius:12px!important;
  background:#fff!important;
  color:#111827!important;
  font-weight:850!important;
}
body.public-page .site-pagination a.active,
body.public-page .pagination a.active,
body.public-page .site-pagination a:hover,
body.public-page .pagination a:hover{
  background:var(--brand)!important;
  color:#fff!important;
  border-color:var(--brand)!important;
}
body.public-page .article-main{
  width:min(880px,calc(100% - 32px))!important;
  max-width:880px!important;
  margin:24px auto 60px!important;
  padding:0!important;
}
body.public-page .article-main section,
body.public-page .article-text-card{
  border-radius:20px!important;
  border:1px solid #e7eaf0!important;
  box-shadow:0 10px 28px rgba(15,23,42,.045)!important;
}
body.public-page .article-main h2{
  font-size:19px!important;
  line-height:1.55!important;
  margin-top:0!important;
}
body.public-page .article-floating-nav{
  position:fixed!important;
  inset:auto 0 auto 0!important;
  top:50%!important;
  transform:translateY(-50%)!important;
  z-index:1500!important;
  pointer-events:none!important;
  height:0!important;
  overflow:visible!important;
}
body.public-page .article-floating-nav .article-float-nav-link{
  position:fixed!important;
  top:50%!important;
  transform:translateY(-50%)!important;
  min-width:112px!important;
  min-height:52px!important;
  padding:0 14px!important;
  border-radius:16px!important;
  background:#111827!important;
  color:#fff!important;
  border:1px solid #111827!important;
  box-shadow:0 18px 40px rgba(17,24,39,.24)!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  font-size:13px!important;
  font-weight:900!important;
  white-space:nowrap!important;
  pointer-events:auto!important;
  opacity:.96!important;
}
body.public-page .article-floating-nav .article-float-prev{right:18px!important;left:auto!important;}
body.public-page .article-floating-nav .article-float-next{left:18px!important;right:auto!important;}
body.public-page .article-floating-nav .article-float-prev:before{content:"→"!important;margin-left:8px!important;font-size:18px!important;}
body.public-page .article-floating-nav .article-float-next:after{content:"←"!important;margin-right:8px!important;font-size:18px!important;}
body.public-page .article-floating-nav .article-float-nav-link:hover{
  background:var(--brand)!important;
  color:#fff!important;
  border-color:var(--brand)!important;
}
@media(max-width:1100px){
  body.public-page .article-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;}
  body.it-radar-home .it-home-hero-inner{grid-template-columns:1fr 1fr!important;}
  body.it-radar-home .it-live-panel{grid-column:1/-1!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;}
}
@media(max-width:820px){
  body.public-page .public-topbar{width:calc(100% - 24px)!important;min-height:62px!important;grid-template-columns:auto 1fr auto!important;gap:10px!important;}
  body.public-page .public-nav-button{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:42px!important;height:42px!important;background:#111827!important;color:#fff!important;border-radius:12px!important;grid-column:3!important;grid-row:1!important;}
  body.public-page .public-brand{grid-column:1!important;grid-row:1!important;}
  body.public-page .topbar-search{grid-column:2!important;grid-row:1!important;max-width:none!important;}
  body.public-page .topbar-member{display:none!important;}
  body.public-page .public-nav-links{display:none!important;position:absolute!important;top:62px!important;right:0!important;left:0!important;background:#fff!important;border:1px solid #e7eaf0!important;border-radius:0 0 18px 18px!important;padding:10px!important;box-shadow:0 18px 42px rgba(15,23,42,.12)!important;}
  body.public-page .public-nav-toggle:checked ~ .public-nav-links{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;}
  body.public-page .public-nav-links a{padding:10px!important;border-radius:12px!important;background:#f8fafc!important;text-align:center!important;}
  body.public-page .article-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  body.it-radar-home .it-home-hero-inner{grid-template-columns:1fr!important;min-height:0!important;}
  body.it-radar-home .it-radar-stage{display:none!important;}
  body.it-radar-home .it-live-panel{grid-template-columns:1fr 1fr!important;}
  body.public-page .latest-header{display:grid!important;grid-template-columns:1fr!important;align-items:start!important;}
  body.public-page .news-card-list{grid-template-columns:1fr!important;}
  body.public-page .news-card-list .news-card-media,
  body.public-page .news-card-list .news-card-content{grid-column:auto!important;grid-row:auto!important;}
  body.public-page .article-floating-nav{top:auto!important;bottom:12px!important;left:12px!important;right:12px!important;transform:none!important;display:flex!important;gap:10px!important;justify-content:space-between!important;height:auto!important;}
  body.public-page .article-floating-nav .article-float-nav-link{position:static!important;transform:none!important;flex:1 1 0!important;min-width:0!important;min-height:48px!important;border-radius:14px!important;}
  body.public-page .article-main{padding-bottom:72px!important;}
}
@media(max-width:560px){
  body.public-page .article-grid{grid-template-columns:1fr!important;}
  body.public-page .public-topbar{grid-template-columns:auto 1fr auto!important;}
  body.public-page .topbar-search input{font-size:11px!important;}
  body.it-radar-home .it-live-panel{grid-template-columns:1fr!important;}
  body.public-page .view-switcher{width:100%!important;display:grid!important;grid-template-columns:1fr 1fr!important;}
  body.public-page .view-switcher a{text-align:center!important;}
}

/* v66 — Professional public reader mode */
body.public-page.article-detail-page{
  background:linear-gradient(180deg,#f7f8fb 0,#f3f5f9 320px,#f7f8fb 100%)!important;
}
body.public-page.article-detail-page .public-page-hero.article-public-hero{
  background:linear-gradient(180deg,#fff,#fbfcff)!important;
  border-bottom:1px solid #e7eaf0!important;
}
body.public-page.article-detail-page .public-page-hero.article-public-hero .public-hero-content{
  width:min(1120px,calc(100% - 32px))!important;
  padding:20px 0 18px!important;
}
body.public-page.article-detail-page .public-page-hero.article-public-hero .public-hero-content h1{
  max-width:920px!important;
  font-size:clamp(20px,2.1vw,28px)!important;
  line-height:1.55!important;
  font-weight:900!important;
  letter-spacing:-.015em!important;
  margin:0 0 10px!important;
}
body.public-page.article-detail-page .public-page-hero.article-public-hero .public-hero-content p{
  display:flex!important;
  gap:8px!important;
  flex-wrap:wrap!important;
  align-items:center!important;
  margin:0!important;
}
.article-hero-meta-item{
  display:inline-flex!important;
  align-items:center!important;
  min-height:28px!important;
  padding:4px 10px!important;
  border-radius:999px!important;
  background:#f2f4f7!important;
  border:1px solid #e7eaf0!important;
  color:#475467!important;
  font-size:12px!important;
  font-weight:800!important;
  line-height:1.5!important;
}
.article-reading-progress{
  position:fixed!important;
  top:0!important;
  right:0!important;
  left:0!important;
  height:3px!important;
  z-index:20000!important;
  background:rgba(231,234,240,.65)!important;
  pointer-events:none!important;
}
.article-reading-progress span{
  display:block!important;
  height:100%!important;
  width:0;
  background:linear-gradient(90deg,var(--brand),#0f766e)!important;
  transition:width .12s linear!important;
}
body.public-page.article-detail-page .article-main.article-reader-layout{
  width:min(1180px,calc(100% - 32px))!important;
  max-width:1180px!important;
  margin:22px auto 72px!important;
  padding:0!important;
  display:grid!important;
  grid-template-columns:minmax(0,820px) 300px!important;
  gap:22px!important;
  align-items:start!important;
}
.article-reader-content{min-width:0!important;}
.article-reader-aside{
  position:sticky!important;
  top:92px!important;
  display:grid!important;
  gap:14px!important;
  min-width:0!important;
}
body.public-page.article-detail-page .article-reader-content > section,
body.public-page.article-detail-page .article-reader-content > .summary,
body.public-page.article-detail-page .article-text-card,
body.public-page.article-detail-page .article-reader-aside > section{
  background:rgba(255,255,255,.96)!important;
  border:1px solid #e7eaf0!important;
  border-radius:22px!important;
  box-shadow:0 14px 34px rgba(15,23,42,.055)!important;
}
body.public-page.article-detail-page .article-reader-content > section,
body.public-page.article-detail-page .article-text-card{
  padding:24px 26px!important;
  margin:0 0 16px!important;
}
.reader-highlight-card{
  border-color:rgba(23,107,135,.24)!important;
  background:linear-gradient(180deg,#fff,#f8fbff)!important;
}
.section-kicker{
  display:inline-flex!important;
  align-items:center!important;
  gap:6px!important;
  margin:0 0 8px!important;
  color:var(--brand)!important;
  font-size:12px!important;
  font-weight:950!important;
  letter-spacing:0!important;
}
.section-kicker:before{
  content:"";
  width:7px;
  height:7px;
  border-radius:99px;
  background:var(--brand);
  box-shadow:0 0 0 4px rgba(23,107,135,.10);
}
body.public-page.article-detail-page .article-main h2{
  font-size:20px!important;
  line-height:1.55!important;
  margin:0 0 12px!important;
  color:#111827!important;
}
body.public-page.article-detail-page .article-main h3{
  font-size:16px!important;
  line-height:1.7!important;
  margin:16px 0 8px!important;
  color:#1f2937!important;
}
body.public-page.article-detail-page .article-sentence-lines{
  white-space:pre-line!important;
  font-size:16px!important;
  line-height:1.86!important;
  margin:0!important;
  color:#202939!important;
  text-align:right!important;
  word-break:normal!important;
  overflow-wrap:anywhere!important;
}
body.public-page.article-detail-page .article-source-note{
  margin-top:14px!important;
  padding:10px 12px!important;
  border-radius:14px!important;
  background:#f8fafc!important;
  border:1px dashed #d0d5dd!important;
}
.article-lead-image{
  margin:0 0 16px!important;
  border-radius:24px!important;
  overflow:hidden!important;
  border:1px solid #e7eaf0!important;
  background:#fff!important;
  box-shadow:0 16px 42px rgba(15,23,42,.08)!important;
}
.article-lead-image img{
  width:100%!important;
  max-height:430px!important;
  object-fit:cover!important;
  display:block!important;
}
.article-lead-image figcaption{
  padding:10px 14px!important;
  color:#667085!important;
  font-size:12px!important;
  line-height:1.7!important;
  background:#fff!important;
}
.reader-side-card{
  padding:16px!important;
  margin:0!important;
}
.reader-side-label{
  display:block!important;
  color:var(--brand)!important;
  font-size:12px!important;
  font-weight:950!important;
  margin-bottom:10px!important;
}
.reader-side-row{
  display:flex!important;
  justify-content:space-between!important;
  align-items:flex-start!important;
  gap:12px!important;
  padding:10px 0!important;
  border-bottom:1px solid #eef1f5!important;
}
.reader-side-row:last-child{border-bottom:0!important;}
.reader-side-row small{
  color:#667085!important;
  font-size:12px!important;
  white-space:nowrap!important;
}
.reader-side-row strong{
  color:#111827!important;
  font-size:13px!important;
  line-height:1.7!important;
  text-align:left!important;
  direction:rtl!important;
}
.reader-actions-card{display:grid!important;gap:10px!important;}
.reader-action-button{
  width:100%!important;
  min-height:42px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  border-radius:14px!important;
  border:1px solid var(--brand)!important;
  background:var(--brand)!important;
  color:#fff!important;
  font-size:13px!important;
  font-weight:900!important;
  padding:9px 12px!important;
  cursor:pointer!important;
  text-decoration:none!important;
}
.reader-action-button.muted{
  background:#fff!important;
  color:#111827!important;
  border-color:#e7eaf0!important;
}
.reader-action-button:hover{filter:brightness(.98)!important;transform:translateY(-1px)!important;}
.reader-mini-tags,
.reader-tags{gap:7px!important;margin-top:8px!important;}
.reader-mini-tags a,
.reader-tags a{
  background:#f2f4f7!important;
  color:#344054!important;
  border:1px solid #e7eaf0!important;
}
.reader-related-section .related-articles,
.reader-cluster-card .cluster-source-list{
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:12px!important;
  margin-top:12px!important;
}
.related-card-compact,
.cluster-source-item{
  border:1px solid #e7eaf0!important;
  background:#fff!important;
  border-radius:16px!important;
  padding:14px!important;
  box-shadow:none!important;
}
.related-card-compact strong,
.cluster-source-item strong{
  display:block!important;
  font-size:14px!important;
  line-height:1.75!important;
  margin-bottom:7px!important;
}
.related-card-compact .meta,
.cluster-source-item .meta{
  display:block!important;
  font-size:12px!important;
  line-height:1.7!important;
}
.analysis-tabs{
  background:#f8fafc!important;
  border:1px solid #e7eaf0!important;
  border-radius:18px!important;
  padding:10px!important;
}
.analysis-tabs label{
  border-radius:12px!important;
  font-size:12px!important;
  font-weight:900!important;
}
.analysis-panel{
  background:#fff!important;
  border-radius:16px!important;
}
body.public-page.article-detail-page .article-floating-nav{
  z-index:1600!important;
}
body.public-page.article-detail-page .article-floating-nav .article-float-nav-link{
  width:148px!important;
  min-height:62px!important;
  padding:9px 12px!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  text-align:right!important;
  background:rgba(255,255,255,.96)!important;
  color:#111827!important;
  border:1px solid rgba(17,24,39,.10)!important;
  box-shadow:0 18px 48px rgba(15,23,42,.16)!important;
  backdrop-filter:blur(10px)!important;
}
body.public-page.article-detail-page .article-floating-nav .article-float-nav-link span{
  font-size:12px!important;
  font-weight:950!important;
  color:var(--brand)!important;
}
body.public-page.article-detail-page .article-floating-nav .article-float-nav-link small{
  display:block!important;
  max-width:100%!important;
  overflow:hidden!important;
  display:-webkit-box!important;
  -webkit-line-clamp:2!important;
  -webkit-box-orient:vertical!important;
  color:#344054!important;
  font-size:11px!important;
  font-weight:750!important;
  line-height:1.55!important;
}
body.public-page.article-detail-page .article-floating-nav .article-float-nav-link:hover{
  background:#111827!important;
  color:#fff!important;
}
body.public-page.article-detail-page .article-floating-nav .article-float-nav-link:hover span,
body.public-page.article-detail-page .article-floating-nav .article-float-nav-link:hover small{color:#fff!important;}
@media(max-width:1320px){
  body.public-page.article-detail-page .article-floating-nav .article-float-nav-link{width:58px!important;min-width:58px!important;align-items:center!important;padding:0!important;}
  body.public-page.article-detail-page .article-floating-nav .article-float-nav-link small{display:none!important;}
}
@media(max-width:1040px){
  body.public-page.article-detail-page .article-main.article-reader-layout{
    grid-template-columns:1fr!important;
    width:min(900px,calc(100% - 28px))!important;
  }
  .article-reader-aside{position:static!important;grid-template-columns:1fr 1fr!important;}
  .reader-side-tags{grid-column:1/-1!important;}
}
@media(max-width:760px){
  body.public-page.article-detail-page .public-page-hero.article-public-hero .public-hero-content h1{font-size:19px!important;line-height:1.65!important;}
  body.public-page.article-detail-page .article-main.article-reader-layout{width:calc(100% - 24px)!important;margin-top:16px!important;padding-bottom:78px!important;}
  body.public-page.article-detail-page .article-reader-content > section,
  body.public-page.article-detail-page .article-text-card{padding:18px 16px!important;border-radius:18px!important;}
  body.public-page.article-detail-page .article-sentence-lines{font-size:15px!important;line-height:1.84!important;}
  .article-reader-aside{grid-template-columns:1fr!important;}
  .reader-related-section .related-articles,
  .reader-cluster-card .cluster-source-list{grid-template-columns:1fr!important;}
  body.public-page.article-detail-page .article-floating-nav .article-float-nav-link{width:auto!important;min-width:0!important;min-height:50px!important;align-items:center!important;flex-direction:row!important;justify-content:center!important;}
  body.public-page.article-detail-page .article-floating-nav .article-float-nav-link small{display:none!important;}
}


/* ===============================
   اسلایدر رونمایی‌های جدید محصول/سرویس
   این بخش از فیلدهای AI در article_analysis تغذیه می‌شود.
   =============================== */
.product-launch-slider {
  margin: 28px 0 22px;
  padding: 24px;
  border: 1px solid rgba(229, 35, 35, .14);
  border-radius: 28px;
  background:
    radial-gradient(circle at 92% 12%, rgba(229, 35, 35, .11), transparent 28%),
    linear-gradient(135deg, #fff, #fff7f7 58%, #ffffff);
  box-shadow: 0 22px 60px rgba(17, 24, 39, .07);
  overflow: hidden;
}
.product-launch-head {
  align-items: center;
  margin-bottom: 18px;
}
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #d71920;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: -.01em;
  margin-bottom: 5px;
}
.section-eyebrow::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d71920;
  box-shadow: 0 0 0 6px rgba(215,25,32,.09);
}
.slider-controls {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.launch-slider-btn {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(17,24,39,.12);
  background: #fff;
  color: #111827;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
}
.launch-slider-btn:hover {
  transform: translateY(-1px);
  background: #d71920;
  border-color: #d71920;
  color: #fff;
}
.product-launch-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 390px);
  gap: 18px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory;
  padding: 4px 2px 14px;
  scrollbar-width: thin;
}
.product-launch-card {
  position: relative;
  display: grid;
  grid-template-columns: 116px 1fr;
  min-height: 204px;
  border-radius: 24px;
  border: 1px solid rgba(17,24,39,.08);
  background: #fff;
  box-shadow: 0 14px 35px rgba(17,24,39,.08);
  overflow: hidden;
  scroll-snap-align: start;
}
.product-launch-card::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #ef233c, #111827);
}
.product-launch-media {
  display: block;
  min-height: 100%;
  background: #111827;
  overflow: hidden;
}
.product-launch-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.04) contrast(1.02);
}
.product-launch-media.is-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 900;
  letter-spacing: -.03em;
  background:
    radial-gradient(circle at center, rgba(239,35,60,.45), transparent 42%),
    #111827;
}
.product-launch-body {
  padding: 17px 18px 15px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.product-launch-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: .76rem;
}
.product-launch-meta span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 5px 10px;
  background: rgba(239,35,60,.09);
  color: #c1121f;
  font-weight: 800;
  white-space: nowrap;
}
.product-launch-meta em {
  font-style: normal;
  color: #6b7280;
  font-weight: 700;
  white-space: nowrap;
}
.product-launch-body h3 {
  margin: 0;
  font-size: 1.03rem;
  line-height: 1.55;
  font-weight: 850;
  letter-spacing: -.025em;
}
.product-launch-body h3 a {
  color: #111827;
  text-decoration: none;
}
.product-launch-body h3 a:hover {
  color: #d71920;
}
.product-launch-body p {
  margin: 0;
  color: #4b5563;
  font-size: .88rem;
  line-height: 1.85;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-launch-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid rgba(17,24,39,.07);
  padding-top: 10px;
}
.product-launch-foot small {
  color: #6b7280;
  font-size: .76rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.product-launch-foot a {
  color: #d71920;
  font-weight: 850;
  text-decoration: none;
  white-space: nowrap;
  font-size: .82rem;
}
@media (max-width: 760px) {
  .product-launch-slider { padding: 18px; border-radius: 22px; }
  .product-launch-head { gap: 14px; }
  .slider-controls { display: none; }
  .product-launch-track { grid-auto-columns: minmax(278px, 86vw); }
  .product-launch-card { grid-template-columns: 96px 1fr; min-height: 190px; }
  .product-launch-body { padding: 14px; }
  .product-launch-body h3 { font-size: .96rem; }
}


/* =========================================================
   اصلاح نسخه ۵۸: اسلایدر رونمایی بدون اسکرول افقی
   - اسلایدر بالای کادر «رصد لحظه‌ای فناوری» قرار می‌گیرد.
   - آیتم‌ها با translate و موشن نرم جابه‌جا می‌شوند، نه با scroll.
   - کارت‌های داخلی همچنان RTL هستند، اما Track برای محاسبه حرکت LTR شده است.
   ========================================================= */
.product-launch-home-top{
  width:calc(100% - 88px)!important;
  max-width:1440px!important;
  margin:20px auto 18px!important;
}
.product-launch-viewport{
  position:relative!important;
  overflow:hidden!important;
  border-radius:24px!important;
}
.product-launch-viewport::after{
  content:"";
  pointer-events:none;
  position:absolute;
  inset:0;
  border-radius:inherit;
  box-shadow:inset 0 0 0 1px rgba(17,24,39,.04);
}
.product-launch-track{
  display:flex!important;
  grid-auto-flow:unset!important;
  grid-auto-columns:unset!important;
  gap:0!important;
  overflow:visible!important;
  overscroll-behavior:auto!important;
  scroll-snap-type:none!important;
  scrollbar-width:none!important;
  padding:4px 0 10px!important;
  direction:ltr!important;
  will-change:transform!important;
  transition:transform .68s cubic-bezier(.22,.9,.22,1)!important;
}
.product-launch-track::-webkit-scrollbar{display:none!important}
.product-launch-card{
  flex:0 0 100%!important;
  direction:rtl!important;
  scroll-snap-align:none!important;
  grid-template-columns:minmax(180px,34%) 1fr!important;
  min-height:268px!important;
  margin:0!important;
  opacity:.68!important;
  transform:scale(.975)!important;
  transition:opacity .42s ease, transform .42s ease, box-shadow .42s ease!important;
}
.product-launch-card.is-active{
  opacity:1!important;
  transform:scale(1)!important;
  box-shadow:0 18px 45px rgba(17,24,39,.10)!important;
}
.product-launch-body h3{font-size:1.14rem!important;line-height:1.65!important}
.product-launch-body p{max-width:820px!important}
.public-topbar{grid-template-columns:auto auto 1fr auto!important}
.public-nav-links{margin-inline-start:auto!important}
@media(max-width:900px){
  .product-launch-home-top{width:calc(100% - 32px)!important;margin:16px auto 14px!important;padding:18px!important}
  .product-launch-card{grid-template-columns:120px 1fr!important;min-height:214px!important}
  .product-launch-body h3{font-size:1rem!important}
  .product-launch-body p{-webkit-line-clamp:2!important}
}
@media(max-width:560px){
  .product-launch-home-top{width:calc(100% - 20px)!important;margin:12px auto!important;padding:14px!important;border-radius:20px!important}
  .product-launch-head{margin-bottom:12px!important}
  .product-launch-card{grid-template-columns:1fr!important;min-height:0!important}
  .product-launch-media{height:156px!important;min-height:156px!important}
  .product-launch-body{padding:14px!important}
  .product-launch-foot{align-items:flex-start!important;flex-direction:column!important;gap:8px!important}
}
@media(prefers-reduced-motion:reduce){
  .product-launch-track,.product-launch-card{transition:none!important}
}

/* پری‌لودر دقیق اتوماسیون: این بخش چرخه کامل را به درخواست‌های کوچک Ajax تبدیل می‌کند تا صفحه ادمین timeout نشود. */
.automation-runner-panel{background:linear-gradient(180deg,#fff,#fff7f7);border:1px solid rgba(225,29,72,.18)}
.automation-run-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin:14px 0 18px}
.automation-loader{display:none;align-items:center;gap:10px;background:#fff;border:1px solid rgba(225,29,72,.18);border-radius:16px;padding:12px 14px;margin-bottom:14px;color:#111827;font-weight:800}
.automation-loader.is-active{display:flex}
.automation-loader span{width:22px;height:22px;border-radius:50%;border:3px solid rgba(225,29,72,.16);border-top-color:var(--brand,#e11d48);animation:autoSpin .9s linear infinite;display:inline-block}
@keyframes autoSpin{to{transform:rotate(360deg)}}
.automation-overall{display:grid;gap:8px;margin-bottom:16px}.automation-overall .progress-bar{height:12px;background:#f1f5f9;border-radius:999px;overflow:hidden;border:1px solid #e5e7eb}.automation-overall .progress-bar span{display:block;height:100%;width:0;background:linear-gradient(90deg,#ef4444,#b91c1c);transition:width .25s ease;border-radius:999px}
.automation-step-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;margin:16px 0}.automation-step-card{border:1px solid #e5e7eb;background:#fff;border-radius:18px;padding:14px;display:grid;gap:6px;min-height:104px;box-shadow:0 12px 28px rgba(15,23,42,.05);position:relative;overflow:hidden}.automation-step-card:before{content:"";position:absolute;inset-inline-start:0;top:0;bottom:0;width:4px;background:#e5e7eb}.automation-step-card strong{font-size:.95rem;color:#111827}.automation-step-card span{font-size:.86rem;color:#475569}.automation-step-card em{font-style:normal;font-size:.78rem;color:#64748b;font-weight:800}.automation-step-card.running{border-color:rgba(225,29,72,.45);box-shadow:0 16px 34px rgba(225,29,72,.10)}.automation-step-card.running:before{background:#ef4444}.automation-step-card.done{border-color:rgba(22,163,74,.28)}.automation-step-card.done:before{background:#16a34a}.automation-step-card.err{border-color:rgba(220,38,38,.4)}.automation-step-card.err:before{background:#dc2626}.automation-step-card.skipped{background:#f8fafc}.automation-step-card.skipped:before{background:#94a3b8}.automation-counters{margin:14px 0}.automation-log{max-height:320px;overflow:auto;background:#0f172a;color:#e5e7eb;border-radius:18px;padding:14px 30px 14px 14px;line-height:1.9}.automation-log li{margin:0 0 6px}.automation-log li.err{color:#fecaca}.automation-log li.warn{color:#fde68a}
@media(max-width:1180px){.automation-step-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:720px){.automation-run-toolbar{display:grid}.automation-step-grid{grid-template-columns:1fr 1fr}.automation-step-card{min-height:auto}.automation-log{max-height:260px}}@media(max-width:460px){.automation-step-grid{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.automation-loader span{animation:none}.automation-overall .progress-bar span{transition:none}}


/* Social post format settings */
.social-format-panel{border:1px solid rgba(20,184,166,.22);box-shadow:0 18px 45px rgba(15,23,42,.06)}
.social-format-panel h2{margin:0 0 8px;font-size:20px;font-weight:900;color:#0f172a}
.social-format-form textarea.ltr{direction:ltr;text-align:left;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;line-height:1.65}
.social-format-form code{background:#f1f5f9;border:1px solid #e2e8f0;border-radius:8px;padding:2px 6px;display:inline-block;margin:2px}
.social-format-form hr{border:0;border-top:1px solid var(--line);margin:22px 0}

/* v77: staged auto-publish runner */
.nr-auto-publish-runner{margin-top:16px;border:1px solid rgba(5,122,85,.18);background:#fff;border-radius:18px;padding:16px;box-shadow:0 14px 34px rgba(15,23,42,.045)}
.nr-auto-publish-runner-head{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;margin-bottom:12px}
.nr-auto-publish-runner-head h3{margin:0 0 5px;font-size:18px;line-height:1.5;color:#101828}
.nr-runner-badge{display:inline-flex;align-items:center;justify-content:center;min-width:90px;border-radius:999px;padding:8px 12px;font-size:12px;font-weight:900;background:#f8fafc;color:#475467;border:1px solid var(--line)}
.nr-runner-badge.running{background:#eff6ff;color:#1d4ed8;border-color:#bfdbfe}.nr-runner-badge.waiting{background:#fff7ed;color:#c2410c;border-color:#fed7aa}.nr-runner-badge.done{background:#ecfdf3;color:#057a55;border-color:rgba(5,122,85,.24)}.nr-runner-badge.stopped{background:#f8fafc;color:#64748b;border-color:#cbd5e1}.nr-runner-badge.err{background:#fef2f2;color:#b42318;border-color:#fecaca}
.nr-runner-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin:12px 0}
.nr-runner-grid>div{background:#f8fafc;border:1px solid var(--line);border-radius:14px;padding:12px}.nr-runner-grid small{display:block;color:#667085;font-size:12px}.nr-runner-grid strong{display:block;margin-top:5px;font-size:18px;color:#111827}
.nr-runner-progress{height:12px;border-radius:999px;background:#eef2f7;overflow:hidden;border:1px solid #e5e7eb;margin:12px 0}.nr-runner-progress span{display:block;height:100%;background:linear-gradient(90deg,#057a55,#22c55e);transition:width .25s ease}
.nr-runner-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:12px 0}.nr-runner-actions .nr-wide-check{flex:1 1 320px;margin:0}.nr-runner-actions button{min-height:42px}
.nr-runner-log{margin:12px 0 0;padding:10px 18px;max-height:240px;overflow:auto;background:#0f172a;color:#dbeafe;border-radius:14px;line-height:1.8;font-size:12px;direction:rtl}.nr-runner-log li{margin:2px 0}.nr-runner-log li.warn{color:#fde68a}.nr-runner-log li.err{color:#fecaca}
@media(max-width:900px){.nr-runner-grid{grid-template-columns:repeat(2,1fr)}.nr-auto-publish-runner-head{flex-direction:column}.nr-runner-badge{align-self:flex-start}}
@media(max-width:560px){.nr-runner-grid{grid-template-columns:1fr}.nr-runner-actions{display:block}.nr-runner-actions button{width:100%;margin-top:8px}}

/* v78: public/admin social links and auto-publish social send status */
.public-topbar{grid-template-columns:auto auto 1fr auto auto!important;gap:12px!important}
.social-links{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.social-link{display:inline-flex;align-items:center;justify-content:center;min-height:30px;padding:6px 10px;border-radius:999px;border:1px solid rgba(148,163,184,.28);background:rgba(255,255,255,.84);color:#334155!important;text-decoration:none!important;font-size:12px;font-weight:850;line-height:1;transition:transform .18s ease,background .18s ease,border-color .18s ease}
.social-link:hover{transform:translateY(-1px);background:#fff;border-color:rgba(20,184,166,.45)}
.public-top-social{margin-inline-start:8px;max-width:310px;overflow:hidden;flex-wrap:nowrap}.public-top-social .social-link{font-size:11px;padding:6px 8px;white-space:nowrap}
.public-footer-social{margin-top:14px}.public-footer-social .social-link{background:rgba(15,23,42,.04)}
.admin-sidebar-social{margin-top:12px;gap:6px}.admin-sidebar-social .social-link{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.14);color:#e5e7eb!important;font-size:11px;padding:6px 8px}
.admin-top-actions{display:flex;align-items:center;gap:12px}.admin-top-social .social-link{font-size:11px;padding:6px 8px;background:#f8fafc}
.social-public-links-settings{margin:14px 0 18px;padding:14px;border:1px solid rgba(20,184,166,.22);border-radius:18px;background:#f8fffd}.social-public-links-settings h3{margin:0 0 6px;font-size:16px;color:#0f172a}.social-test-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:12px}.social-test-row small{color:#667085;font-weight:700}
@media(max-width:1100px){.public-top-social{display:none}.admin-top-social{display:none}}
@media(max-width:760px){.public-topbar{grid-template-columns:auto auto 1fr auto!important}.public-footer-social{justify-content:center}.admin-sidebar-social{display:none}.admin-top-actions{gap:8px}}

/* v79: clearer auto-publish ready breakdown and immediate social diagnostics */
.nr-runner-grid em{display:block;margin-top:4px;font-style:normal;font-size:11px;line-height:1.55;color:#64748b;font-weight:750}
.nr-runner-log li.err{white-space:pre-wrap;word-break:break-word}


/* v82: نمایش زمان انتشار شمسی در کارت‌های خبر صفحه اول و صفحه اخبار */
body.public-page .news-card-time{
  display:inline-flex!important;
  align-items:center!important;
  align-self:flex-start!important;
  width:auto!important;
  max-width:100%!important;
  padding:3px 9px!important;
  border-radius:999px!important;
  background:#f8fafc!important;
  border:1px solid rgba(148,163,184,.35)!important;
  color:#475467!important;
  font-size:11px!important;
  font-weight:800!important;
  line-height:1.8!important;
  direction:rtl!important;
  text-align:right!important;
  white-space:nowrap!important;
}
body.public-page .news-card-list .news-card-time{
  margin-top:0!important;
}
@media(max-width:640px){
  body.public-page .news-card-time{font-size:10.5px!important;white-space:normal!important;}
}

/* v88 — HTTPS/security + visits + tighter live ticker */
body.it-radar-home .site-main{padding-top:0!important;}
body.it-radar-home .it-live-ticker{
  position:sticky!important;
  top:0!important;
  z-index:120!important;
  margin:0 0 12px!important;
  padding:9px 16px!important;
  min-height:44px!important;
  border:1px solid #e7eaf0!important;
  border-top:0!important;
  border-radius:0 0 16px 16px!important;
  box-shadow:0 12px 28px rgba(15,23,42,.075)!important;
}
body.it-radar-home .it-live-ticker strong{font-size:12px!important;}
body.it-radar-home .it-ticker-track a{font-size:12px!important;}
body.it-radar-home .product-launch-home-top{margin-top:8px!important;}
.public-visit-counter{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  align-items:center;
  margin:10px 0 4px;
}
.public-visit-counter span{
  display:inline-flex;
  align-items:center;
  min-height:30px;
  padding:4px 10px;
  border:1px solid rgba(255,255,255,.14);
  border-radius:999px;
  color:#e5e7eb;
  background:rgba(255,255,255,.045);
  font-size:12px;
  font-weight:800;
}
.admin-metric-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px;margin-top:12px;}
.admin-metric-grid .stat-card{background:#fff;border:1px solid #e7eaf0;border-radius:16px;padding:16px;box-shadow:0 10px 26px rgba(15,23,42,.045);}
.admin-metric-grid .stat-card strong{display:block;font-size:28px;line-height:1.2;color:#111827;}
.admin-metric-grid .stat-card span{color:#667085;font-weight:800;font-size:12px;}
.analytics-grid{align-items:start;margin:16px 0;}
.compact-table{font-size:12px;}
.compact-table th,.compact-table td{vertical-align:top;}
.small-cell{max-width:320px;white-space:normal;word-break:break-word;}
@media(max-width:820px){
  body.it-radar-home .it-live-ticker{position:relative!important;top:auto!important;border-radius:14px!important;margin:6px 0 12px!important;}
  .public-visit-counter{justify-content:center;}
}

/* v91: social links/channel management */
.grid-4{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;align-items:end}
.panel-subtle{margin:16px 0;padding:14px;border:1px dashed rgba(15,23,42,.18);border-radius:18px;background:rgba(248,250,252,.9)}
.social-custom-links{display:flex;flex-direction:column;gap:10px;margin-top:10px}
.social-custom-link-row{padding:10px;border-radius:14px;background:#fff;border:1px solid rgba(15,23,42,.08)}
.social-add-channel h3,.social-public-links-settings h4{margin:0 0 8px;color:#0f172a}
@media(max-width:900px){.grid-4{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.grid-4{grid-template-columns:1fr}}
