/* Canonical palette, typography and shared section geometry across every public page. */
:root{--font:"Vazirmatn",Tahoma,sans-serif;--surface-raised:var(--surface-2,var(--soft));--rv-content-width:1180px}
html[data-theme="dark"] body{--bg:var(--rv-dark-bg,#141611);--surface:var(--rv-dark-surface,#1d2119);--surface-2:var(--rv-dark-raised,#252b20);--border:var(--rv-dark-border,#353d2d);--text:var(--rv-dark-text,#f1f1e9);--muted:var(--rv-dark-muted,#a8ae9d);--accent:var(--rv-dark-accent,#e9c34a)}
html[data-theme="light"] body{--bg:var(--rv-light-bg,#e8ede2);--surface:var(--rv-light-surface,#ffffff);--surface-2:var(--rv-light-raised,#dce5d2);--border:var(--rv-light-border,#d5dece);--text:var(--rv-light-text,#252d24);--muted:var(--rv-light-muted,#596653);--accent:var(--rv-light-accent,#e9c34a)}
html body{--font:"Vazirmatn",Tahoma,sans-serif;--surface-raised:var(--surface-2);--paper:var(--bg);--panel:var(--surface);--soft:var(--surface-2);--line:var(--border);--ink:var(--text);--ep-bg:var(--bg);--ep-paper:var(--surface);--ep-text:var(--text);--ep-muted:var(--muted);--ep-line:var(--border);--in-bg:var(--bg);--in-paper:var(--surface);--in-text:var(--text);--in-muted:var(--muted);--in-line:var(--border);--nw-bg:var(--bg);--nw-surface:var(--surface);--nw-ink:var(--text);--nw-line:var(--border);--nw-muted:var(--muted);--mh-bg:var(--bg);--mh-panel:var(--surface);--mh-ink:var(--text);--mh-muted:var(--muted);--ap-panel:var(--surface);--ap-raised:var(--surface-2);--ap-line:var(--border);--ap-gold:var(--accent);background:var(--bg);color:var(--text);font-family:var(--font)}
body .rv-shared-slot{display:block;width:100%;max-width:none;margin:0;padding:24px 20px;background:transparent;border:0;box-shadow:none;color:var(--text);font-family:var(--font);box-sizing:border-box;clear:both}
body .rv-shared-stack,body .rv-partner-extras{display:block;width:100%;max-width:none;margin:0;padding:0;background:transparent;border:0;box-shadow:none}
body .rv-shared-slot .rv-shared-practice,body .rv-shared-slot .rv-shared-promo{width:100%;max-width:var(--rv-content-width);box-sizing:border-box;margin:0 auto;border:1px solid var(--border);border-radius:24px;background:var(--surface);color:var(--text)}
body .rv-shared-slot .rv-shared-practice{padding:32px;display:grid;grid-template-columns:1fr 1.15fr;gap:24px;align-items:center}
body .rv-shared-slot .rv-shared-practice h2,body .rv-shared-slot .rv-promo-copy h2{font-size:28px!important;line-height:1.65!important;font-weight:800!important;font-family:var(--font)!important;letter-spacing:0;margin:10px 0;color:var(--text)}
body .rv-shared-slot p{font-size:15px!important;line-height:2!important;font-weight:400!important;font-family:var(--font)!important;letter-spacing:0;color:var(--muted)}
body .rv-shared-slot .rv-promo-inner{display:grid;grid-template-columns:280px 1fr;align-items:center;gap:40px;padding:32px}
body .rv-shared-slot .rv-promo-art img{display:block;width:100%;height:230px;object-fit:contain;margin:0;border-radius:16px}
body .rv-shared-slot .rv-shared-practice>img{display:block;width:100%;height:180px;object-fit:contain;margin:0}
body .rv-shared-slot .rv-practice-links{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;grid-column:1/-1}
body .rv-shared-slot .rv-practice-links a{display:flex;align-items:center;justify-content:center;min-height:48px;padding:12px 8px;font-size:13px!important;line-height:1.8!important;font-weight:500!important;font-family:var(--font)!important;border:1px solid var(--border);border-radius:12px;background:var(--surface-2);color:var(--text);text-decoration:none}
body .rv-shared-slot .rv-practice-links a:hover{border-color:var(--accent)}
body .rv-shared-slot .btn--primary{background:var(--accent)!important;color:#252d24!important;border-color:var(--accent);font-size:14px!important;line-height:1.8!important;font-weight:700!important;font-family:var(--font)!important;padding:12px 20px;border-radius:10px;display:inline-flex;text-decoration:none}
body .rv-shared-slot .rv-promo-eyebrow{font-size:12px!important;line-height:1.8!important;font-weight:500!important;font-family:var(--font)!important;letter-spacing:1px;color:var(--muted)}
body :is(a,button,input,select,textarea,summary):focus-visible{outline:2px solid var(--accent);outline-offset:4px}
.rv-auth-entry{text-align:center;max-width:460px;margin:64px auto;padding:28px}.rv-auth-entry h1{font-size:28px}.rv-auth-entry p{color:var(--muted);margin:18px 0;line-height:2}
.ep-guide{border:1px solid var(--border);border-radius:22px;background:var(--surface);overflow:hidden}.ep-guide-intro{padding:28px 32px;border-bottom:1px solid var(--border);background:var(--surface-2)}.ep-guide-intro h3{font-size:23px;margin:0 0 12px}.ep-guide-intro p{line-height:2;color:var(--muted)}.ep-install-steps{list-style:none;margin:0;padding:0 32px}.ep-install-steps>li{display:flex;align-items:flex-start;gap:20px;padding:26px 0;border-bottom:1px solid var(--border)}.ep-install-steps>li:last-child{border:0}.ep-step-number{display:grid;place-items:center;flex:0 0 42px;height:42px;border-radius:12px;color:#252d24;background:var(--accent);font-size:19px;font-weight:800}.ep-install-steps h3{font-size:19px;line-height:1.7;margin:2px 0 9px;color:var(--text)}.ep-install-steps p{font-size:15px;line-height:2.2;max-width:860px;margin:0;white-space:pre-line;color:var(--muted);overflow-wrap:anywhere}.ep-install-video{padding:24px 32px;background:var(--surface-2);border-top:1px solid var(--border)}.ep-install-video summary{font-weight:700;cursor:pointer;line-height:1.9}.ep-install-video p{color:var(--muted);line-height:2}
@media(max-width:700px){body .rv-shared-slot{padding:18px 16px}body .rv-shared-slot .rv-shared-practice{grid-template-columns:1fr;padding:22px;gap:18px}body .rv-shared-slot .rv-shared-practice>img{height:135px}body .rv-shared-slot .rv-promo-inner{grid-template-columns:1fr;padding:24px;gap:20px}body .rv-shared-slot .rv-promo-art img{height:180px}body .rv-shared-slot .rv-practice-links{grid-template-columns:repeat(2,minmax(0,1fr))}body .rv-shared-slot .rv-shared-practice h2,body .rv-shared-slot .rv-promo-copy h2{font-size:24px!important}.ep-guide-intro,.ep-install-video{padding:22px}.ep-install-steps{padding:0 20px}.ep-install-steps>li{gap:14px}.ep-install-steps h3{font-size:17px}.ep-step-number{flex-basis:34px;height:34px;font-size:16px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}body *{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}

body :is(.rv-article-content,.ls-prose,.nw-prose) :is(h2,h3,p,li,span,strong,b,a,blockquote){font-family:var(--article-fontFamily,Vazirmatn),Tahoma,sans-serif!important}
/* Paired foreground/background tokens: dark feature panels stay readable in either theme. */
body .section--dark{--text:#ffffff;--muted:#c8d2c3;--surface:#203323;--surface-2:#293d2d;--border:#66775e;--on-navy:#ffffff;color:#ffffff}
body .section--dark .btn--outline,body [data-pilot-tutorial]{color:#fff;border-color:#8d9b83;background:transparent;-webkit-text-fill-color:currentColor}
body .section--dark .btn--outline:hover{background:#ffffff18;color:#fff}
body :is(.btn--primary,.btn--gold,.th-gold,.ed-button--gold){color:#252d24;background:#e9c34a;-webkit-text-fill-color:currentColor}
body :is(.btn--primary,.btn--gold,.th-gold,.ed-button--gold):hover{color:#252d24;background:#f0ce67}
body .btn--ghost{color:var(--text);background:var(--surface-2)}
body .btn--outline{color:var(--text)}
body .section--dark .btn--outline{color:#fff}
body .rv-shared-slot .rv-shared-promo{position:relative;isolation:isolate;margin:0 auto;padding:0;background:var(--surface);color:var(--text)}
body .rv-shared-slot .rv-promo-copy{position:relative;z-index:1;padding:12px 0 24px 80px}
body .rv-shared-slot .rv-promo-art{height:auto}
.rv-audio-wave{position:absolute;left:28px;bottom:26px;height:64px;display:flex;gap:3px;align-items:center;opacity:.55;pointer-events:none;color:var(--accent)}
.rv-audio-wave i{display:block;width:3px;height:var(--wave-height);border-radius:3px;background:currentColor;animation:rv-wave 2.2s ease-in-out var(--wave-delay) infinite alternate;transform-origin:center}
@keyframes rv-wave{from{transform:scaleY(.4)}to{transform:scaleY(1)}}
.nav-drop .rv-menu-copy,.mobilenav .rv-menu-copy{display:flex;flex-direction:column;gap:3px;min-width:0}.nav-drop .rv-menu-copy b,.mobilenav .rv-menu-copy b{font-size:12px;line-height:1.8;white-space:normal;color:var(--text)}.nav-drop .rv-menu-copy small,.mobilenav .rv-menu-copy small{font-size:10px;line-height:1.8;font-weight:400;color:var(--muted);white-space:normal}.nav-drop:has(.rv-menu-copy){min-width:315px;max-width:calc(100vw - 32px)}
.rv-nav-hint{line-height:1.9!important;font-weight:400!important}
.auth-card .auth-brand{height:auto;min-height:48px;gap:12px;margin-bottom:20px}.auth-brand-logo{display:grid;place-items:center;width:48px;height:48px;border-radius:14px;background:#253825;border:1px solid #d4b657;box-shadow:0 4px 12px #0001}.auth-brand-logo img{display:block;width:38px;height:38px;object-fit:contain}
.rv-journal-page #overview .title-row,.rv-radar-page .rv-heading{position:relative;isolation:isolate;overflow:hidden;padding-left:250px;min-height:170px}.rv-hero-art{position:absolute;left:18px;top:50%;transform:translateY(-50%);width:220px;color:var(--muted);pointer-events:none}.rv-hero-art svg{display:block;width:100%;height:auto}.rv-headingmeta{position:relative;z-index:1}
#arad-launcher{background:transparent;border:0;box-shadow:none;border-radius:0}#arad-launcher:hover{box-shadow:none}#arad-launcher picture{border-radius:18px}#arad-launcher .aw-dot{display:block;width:13px;height:13px;right:0;bottom:2px;background:#22c55e;border:2px solid var(--surface,#fff);box-shadow:0 0 0 2px #22c55e26;z-index:1}
.comparison-status{color:var(--text);padding:12px 20px;background:var(--surface-2)}.comparison-instructions{color:var(--muted);margin:18px 0}.broker-card input[type=checkbox]{accent-color:#65744b}.broker-card:has(input:checked){outline:2px solid var(--accent);outline-offset:-2px}#compareDialog{color:var(--text);background:var(--surface)}#compareClose{color:var(--text);background:var(--surface-2)}#compareBody th,#compareBody td{color:var(--text)}#compareBody .compare-group th{background:var(--surface-2)}
@media(max-width:700px){body .rv-shared-slot .rv-promo-copy{padding:0 0 48px}.rv-audio-wave{left:22px;bottom:18px;height:38px;transform:scale(.75);transform-origin:left bottom}.rv-journal-page #overview .title-row,.rv-radar-page .rv-heading{padding-left:110px}.rv-hero-art{width:105px;left:4px;opacity:.75}.nav-drop:has(.rv-menu-copy){min-width:0}}
@media(prefers-reduced-motion:reduce){.rv-audio-wave i{animation:none}}
body :is(.hero,.ctaband){--text:#ffffff;--muted:#c8d2c3;--on-navy:#ffffff}
body :is(.hero,.ctaband) .btn--outline{color:#ffffff;-webkit-text-fill-color:currentColor;border-color:#8d9b83}
body :is(.hero,.ctaband) .btn--outline:hover{color:#ffffff;background:#ffffff18}
html[data-theme="light"] .calc-direction button[data-direction="buy"]{color:#146532}
html[data-theme="light"] .rv-journal-page .chipbtn.active{color:#4b5e32;background:#e3ead9}
html[data-theme="dark"] .cr-star button[aria-pressed="false"]{color:var(--muted)}
.rv-journal-page .title-row,.rv-radar-page .rv-heading{--text:#f3f2e8;--muted:#c8d2c3;--surface:#253825;--surface-2:#2c402e;--border:#566748}
/* Compact, fixed-height groups: four quotes with a vertical crossfade. */
body .ticker--pages{padding:0;color:#f3f2e8;background:#ffffff06;overflow:hidden}
.ticker--pages .ticker__frame{display:flex;align-items:center;gap:14px;height:56px;min-height:0}
.ticker--pages .ticker__viewport{flex:1;min-width:0;height:56px;overflow:hidden;padding:8px 0;box-sizing:border-box}
.ticker--pages .ticker__track{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;width:100%;height:40px;direction:rtl;animation:none;transform:none}
.ticker--pages .tk{display:flex;flex-direction:column;justify-content:center;align-items:stretch;min-width:0;gap:3px;padding:0 18px;border-inline-end:1px solid #ffffff16;white-space:normal;line-height:1.4}
.ticker--pages .tk:first-child{padding-inline-start:0}.ticker--pages .tk:last-child{border-inline-end:0}
.tk__identity,.tk__quote{display:flex;align-items:center;justify-content:space-between;gap:6px;min-width:0}.ticker--pages .sym{color:#f3f2e8;font-size:11px;letter-spacing:.2px}.ticker--pages .tk__name{font-size:10px;color:#c8d2c3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ticker--pages .px{font-size:13px;font-weight:700;color:#fff;font-variant-numeric:tabular-nums;white-space:nowrap}.ticker--pages .chg{font-size:10px;padding:1px 4px;border-radius:4px;white-space:nowrap}.ticker--pages .up{color:#83d9a5;background:#173d28}.ticker--pages .dn{color:#ffa29b;background:#482725}
.ticker__controls{display:flex;align-items:center;gap:5px;flex-shrink:0;direction:ltr}.ticker__position{font-size:10px;color:#c8d2c3;white-space:nowrap;margin-right:4px}.ticker__controls button{display:grid;place-items:center;width:28px;height:28px;padding:0;border:1px solid #ffffff36;background:#ffffff09;color:#fff;border-radius:8px;font:14px/1 var(--font)}.ticker__controls button:hover{background:#ffffff20}.ticker__controls button:focus-visible{outline-color:var(--accent)}
@media(max-width:1000px){.ticker--pages .tk{padding:0 10px}.ticker__position{display:none}.ticker--pages .tk__name{display:none}}
@media(max-width:760px){.ticker--pages .ticker__frame{gap:10px;height:92px}.ticker--pages .ticker__viewport{height:92px;padding:8px 0}.ticker--pages .ticker__track{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));height:76px;row-gap:6px}.ticker--pages .tk{padding:0 10px;gap:2px}.ticker--pages .tk:nth-child(odd){padding-inline-start:0}.ticker--pages .tk:nth-child(even){border-inline-end:0}.ticker--pages .px{font-size:12px}.ticker--pages .sym{font-size:10px}.ticker--pages .chg{font-size:10px}.ticker__controls{flex-direction:column;gap:6px}}
/* v34: compact tools and contained comparison scrolling. */
body #compareDialog{padding:20px;width:min(940px,calc(100vw - 28px));max-height:calc(100dvh - 32px);overflow:hidden;overscroll-behavior:contain}
body #compareDialog[open]{display:flex;flex-direction:column;gap:14px}
body #compareDialog .compare-title{flex:0 0 auto;margin:0;padding-bottom:10px;border-bottom:1px solid var(--border)}
body #compareBody{flex:1 1 auto;min-height:0;overflow:auto;overscroll-behavior:contain;touch-action:pan-x pan-y;scrollbar-gutter:stable;max-height:calc(100dvh - 132px)}
body #compareBody thead th{position:sticky;top:0;z-index:2;background:var(--surface);box-shadow:0 1px 0 var(--border)}
body #compareBody td,body #compareBody th{padding:12px 10px}
body #compareBody .compare-note{font-size:12px;line-height:1.9;margin:0 0 14px}
body .ep-downloads{max-width:860px;gap:16px}body .ep-release{padding:20px;border-radius:15px}body .ep-platform{margin-bottom:12px}body .ep-platform b{font-size:22px}body .ep-release h3{font-size:18px;margin-bottom:7px}body .ep-release>p{font-size:12px;line-height:1.9;margin-bottom:12px}body .ep-release dl{margin-bottom:14px}body .ep-release dl>div{padding:8px 0}body .ep-release details{margin-bottom:12px}body #downloads.ep-section,body #install.ep-section{padding-block:42px}body #downloads .ep-heading,body #install .ep-heading{margin-bottom:22px}
body .ep-guide{max-width:860px;margin:auto;border-radius:16px}body .ep-guide-intro{padding:18px 22px}body .ep-guide-intro h3{font-size:18px;margin-bottom:6px}body .ep-guide-intro p{font-size:13px;line-height:1.9}body .ep-install-steps{padding:0 22px}body .ep-install-steps>li{display:block;padding:0}body .ep-install-step summary{display:flex;align-items:center;gap:10px;padding:12px 0;cursor:pointer;list-style:none}body .ep-install-step summary::-webkit-details-marker{display:none}body .ep-install-step summary:after{content:'+';margin-inline-start:auto;color:var(--muted);font-size:19px}body .ep-install-step[open] summary:after{content:'−'}body .ep-step-number{display:grid;place-items:center;flex:0 0 28px;height:28px;border-radius:8px;font-size:13px}body .ep-install-step h3{font-size:14px;margin:0;line-height:1.8}body .ep-install-step p{font-size:13px;line-height:1.95;margin:0;padding:0 38px 15px 0}body .ep-install-video{padding:14px 22px}body .ep-install-video summary{font-size:13px}body .ep-install-video p{font-size:12px}
body .calc-workspace{max-width:1040px}body .calc-grid{gap:16px}body .calc-form,body .calc-result{padding:18px}body .calc-form-head{margin-bottom:14px}body .calc-fields{gap:12px}body .calc-field{gap:5px}body .calc-field input,body .calc-field select{height:42px}body .calc-result-main{padding:18px 0 15px}body .calc-specs .calc-fields{margin-top:12px}body .calc-result-note{margin-top:10px}
body .cal-workspace-heading{padding:16px 20px 12px}body .cal-table thead th{height:38px}body .cal-event td{height:60px;padding:10px 8px}body .cal-day-heading th{padding:7px 20px}body .cal-event-title strong{line-height:1.7}body .cal-table-footer{padding:11px 20px}body .cal-workspace{margin-bottom:30px}
body .mh-clock-grid{gap:12px;margin-bottom:18px}body .mh-clock{padding:13px 16px}body .mh-clock-foot{padding-top:9px;margin-top:9px}body .mh-converter{padding:18px 22px;gap:24px;margin-bottom:18px}body .mh-session-row{min-height:58px}body .mh-board h2,body .mh-converter h2{font-size:19px}
body .st-grid{gap:14px}body .st-card-top{padding:16px 18px 13px}body .st-card-metrics{gap:11px 14px;padding:0 18px 15px}body .st-card-metrics>div{gap:4px}body .st-card-metrics strong{font-size:15px}body .st-card-actions{padding:9px 18px}body .st-server-list{padding:0 14px 14px}body .st-server{margin-top:10px;padding:12px}body .st-server-metrics{margin:12px 0;gap:8px}
@media(min-width:1100px){body .st-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
body .nw-mast{position:relative;padding-inline-end:230px;min-height:166px;align-items:center}body .nw-header-art{position:absolute;left:4px;top:0;width:214px;color:var(--muted);pointer-events:none}body .nw-header-art svg{display:block;width:100%;height:auto}body .nw-mast .nw-date{position:absolute;left:20px;bottom:10px;font-size:10px}
body .host__avatar svg{width:34px;height:34px;display:block;margin:auto}
body .live-access-art{margin:0;align-self:center;position:relative;min-width:0}body .live-access-art img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:22px;border:1px solid var(--border)}body .live-access-grid{gap:40px}
body #live-access-dialog{width:min(540px,calc(100vw - 28px))}body #live-access-dialog .live-access-card{border:0;padding:10px 0;background:transparent}
@media(max-width:760px){body #compareDialog{padding:14px}body #compareDialog .compare-title h2{font-size:18px}body .ep-guide-intro,body .ep-install-video{padding:15px 17px}body .ep-install-steps{padding:0 17px}body .ep-install-step p{padding-right:0}body .ep-release{padding:18px}body .calc-workspace{max-width:100%}body .cal-event{padding:10px 14px}body .cal-event td{height:auto;padding:0}body .cal-event .cal-event-title{padding:7px 0 9px}body .cal-event .cal-number{padding:8px 3px 0}body .mh-converter{padding:17px;gap:17px}body .nw-mast{padding-inline-end:112px;min-height:150px}body .nw-header-art{width:106px;top:14px;left:0}body .nw-mast .nw-date{position:static;font-size:10px}body .live-access-grid{gap:22px}body .live-access-art{max-width:520px;width:100%;margin-inline:auto}}

/* The Radcast topic marquee follows the editable theme text color.
   The landing ticker uses its own fixed dark treatment. */
body.rv-radcast-page .ticker,body.rv-radcast-page #ticker span{color:var(--text)}
