/* RILEVO Future Heritage — visual system v13.0
   Non-invasive presentation layer; uses existing DOM and backend logic.
   Semantic intent: trust (obsidian), clarity (porcelain), progress (emerald),
   guided action (mint), editorial emphasis (champagne). */
:root,html[data-theme="light"]{
  color-scheme:light;
  --rv-obsidian:#0B1316;--rv-midnight:#17252A;--rv-porcelain:#F7F5EE;
  --rv-white:#FFFEFA;--rv-ink:#243539;--rv-emerald:#087962;
  --rv-mint:#49E3B4;--rv-gold:#D9AD72;--rv-muted:#546762;
  --rv-edge:#D9E1DA;--rv-raised:#FFFFFF;--rv-focus:#087962;
  --rv-serif:"Instrument Serif",Georgia,"Times New Roman",serif;
  --ink:var(--rv-obsidian);--ink-soft:var(--rv-midnight);--ink-3:#253B40;
  --paper:var(--rv-porcelain);--paper-2:#EFEDE5;--surface:var(--rv-white);--surface-2:#F4F4EC;
  --violet:var(--rv-emerald);--violet-deep:#075543;--violet-soft:#DCEFE7;
  --acid:var(--rv-mint);--acid-deep:#29C995;--cyan:#8EDCCB;
  --muted:var(--rv-muted);--muted-2:#6E7E77;
  --line:rgba(26,59,57,.15);--line-strong:rgba(26,59,57,.25);
  --shadow-sm:0 8px 28px rgba(7,36,30,.05);--shadow:0 24px 68px rgba(7,36,30,.1);
  --radius-xl:28px;--radius-lg:20px;--radius-md:14px;--radius-sm:10px;
  --ease:cubic-bezier(.16,1,.3,1);
}
html[data-theme="dark"]{
  color-scheme:dark;
  --rv-obsidian:#0B1316;--rv-midnight:#17252A;--rv-porcelain:#111E21;
  --rv-white:#18282A;--rv-ink:#F6F7F3;--rv-emerald:#66E2BF;
  --rv-mint:#49E3B4;--rv-gold:#E5C291;--rv-muted:#B6C9C4;
  --rv-edge:#365354;--rv-raised:#213437;--rv-focus:#49E3B4;
  --ink:#0B1316;--ink-soft:#17252A;--ink-3:#253B40;
  --paper:#111E21;--paper-2:#172629;--surface:#1C2E31;--surface-2:#23383A;
  --violet:#66E2BF;--violet-deep:#49E3B4;--violet-soft:#21483F;
  --acid:#49E3B4;--acid-deep:#49E3B4;--cyan:#8EDCCB;
  --muted:#BDCEC8;--muted-2:#A2B8B0;
  --line:rgba(202,243,228,.17);--line-strong:rgba(202,243,228,.3);
  --shadow-sm:0 10px 38px rgba(0,0,0,.13);--shadow:0 24px 78px rgba(0,0,0,.27);
}
html{background:var(--paper);scroll-padding-top:92px}
body{background:var(--paper);color:var(--rv-ink);font-size:14px}
body,button,input,textarea,select{font-family:"Manrope",system-ui,sans-serif}
:where(a,button,input,textarea,select,[tabindex]):focus-visible{outline:3px solid var(--rv-focus)!important;outline-offset:3px}
::selection{background:var(--rv-mint);color:var(--rv-obsidian)}
.shell{width:min(1320px,calc(100% - 56px))}
.lead{font-size:clamp(14px,1.12vw,16px);line-height:1.8;color:var(--muted)}
.small{font-size:12px;line-height:1.7;color:var(--muted)}
.tiny{font-size:10px;line-height:1.6}
.eyebrow,.r4-section-index,.r4-kicker,.card-kicker{color:var(--rv-emerald);font-weight:850;letter-spacing:.15em}
.title,.title-sm,.display,.display-md{letter-spacing:-.052em;line-height:1.06}
.title,.title-sm{color:inherit}
.title-sm{font-size:clamp(26px,3vw,39px)}
.r4-home .r4-section-head h2,.r4-home .r4-title,.r4-home .r4-stage-caption h2{letter-spacing:-.065em}
:is(.r4-section-head h2,.r4-title,.r4-stage-caption h2,.r4-intelligence h2) em{font-family:var(--rv-serif);font-weight:400;letter-spacing:-.04em;font-style:italic}
/* THE CONTINUUM: connected paths from one business chapter to the next. */
.r4-stage-art .rv13-continuum{position:absolute;inset:8% 0 5%;display:grid;place-items:center;overflow:hidden}
.rv13-continuum svg{width:min(88%,480px);height:auto;display:block;filter:drop-shadow(0 28px 52px rgba(73,227,180,.10))}
.rv13-continuum .rv13-track{stroke:#AEC7BB;stroke-opacity:.32;stroke-width:1.2;fill:none}
.rv13-continuum .rv13-passage{stroke:var(--rv-mint);stroke-width:6;stroke-linecap:round;fill:none;stroke-dasharray:420 540}
.rv13-continuum .rv13-gold{stroke:var(--rv-gold);stroke-width:3;fill:none;stroke-linecap:round}
.rv13-continuum .rv13-node{fill:var(--rv-mint)}
.r4-art-slash{display:none}
/* NAV / BRAND — deliberate contrast and breathing room */
.nav-wrap{top:16px}
.nav-shell{width:min(1330px,calc(100% - 32px));border:1px solid rgba(210,249,235,.14);border-radius:17px;min-height:70px;background:rgba(11,19,22,.95);box-shadow:0 16px 58px rgba(1,12,13,.14);padding:8px 12px 8px 18px;gap:16px}
.brand{font-family:"Manrope",system-ui,sans-serif;font-size:21px;letter-spacing:-.057em;font-weight:850;gap:11px}
.brand-mark{border-radius:11px;width:39px;height:39px;background:#112327;box-shadow:inset 0 0 0 1px rgba(255,255,255,.1)}
.brand-mark:before{display:none}.brand-mark img{width:39px;height:39px}
.nav-links{gap:1px}.nav-links a{font-size:12px;font-weight:750;color:#BBCAC5;padding:11px 12px}
.nav-links a:hover,.nav-links a.active{color:#F6F7F3;background:rgba(143,237,205,.13)}
.nav-pro{background:var(--rv-mint);color:#0B1316;font-size:11px;font-weight:850;border-radius:10px}
.nav-pro:hover{background:#92F0D0}
.nav-avatar{background:#235546;color:#DAFBEF}.nav-user{font-size:11px;color:#E5F5ED}
.r5-quick-access{min-height:40px;border-radius:10px!important}
.rv-theme-toggle{display:flex;align-items:center;justify-content:center;gap:6px;min-width:41px;min-height:41px;padding:5px 10px;border-radius:11px;border:1px solid rgba(211,242,230,.18);background:rgba(255,255,255,.045);color:#E6F5ED;font-size:11px;font-weight:800;transition:background .17s ease,border-color .17s ease}
.rv-theme-toggle:hover{background:rgba(73,227,180,.12);border-color:rgba(73,227,180,.4)}
.rv-theme-glyph{font-size:18px;line-height:1}
.mobile-panel{top:92px;border:1px solid rgba(211,242,230,.16);border-radius:17px;background:#112022}
.mobile-panel a{font-size:14px}
.mobile-panel .rv-theme-toggle{justify-content:flex-start;padding:13px 15px;font-size:13px}
/* BUTTONS AND CONTROLS */
.btn,.nav-pro{transition:transform .18s var(--ease),background .18s ease,box-shadow .18s ease}
.btn{border-radius:11px;font-size:12px;font-weight:820;letter-spacing:0;min-height:46px}
.btn-small{min-height:38px;font-size:11px}.btn-dark{background:#102326;color:#F6F7F3}.btn-dark:hover{background:#1B4C43}
.btn-acid{background:var(--rv-mint);color:#081B16}.btn-violet{background:#087962;color:#fff}
.btn-soft{background:#DBF0E8;color:#075642}.btn-ghost{background:var(--surface);color:var(--rv-ink);border:1px solid var(--line)}
.btn[disabled]{cursor:not-allowed;opacity:.54;box-shadow:none}
:where(input,textarea,select,.input){font-size:14px;min-height:44px}
:where(input,textarea,select)::placeholder{opacity:1;color:#70867E}
/* HOMEPAGE */
.r4-hero{background:var(--rv-porcelain);padding-top:159px;border-color:var(--line)}
.r4-hero:before{background:radial-gradient(circle,rgba(73,227,180,.13),transparent 66%);right:-410px;top:-300px}
.r4-hero-lines{opacity:.31;background-size:78px 78px;background-image:linear-gradient(90deg,rgba(8,121,98,.09) 1px,transparent 1px),linear-gradient(rgba(8,121,98,.08) 1px,transparent 1px)}
.r4-hero-layout{grid-template-columns:minmax(0,1.22fr) minmax(340px,.78fr);gap:clamp(32px,4.5vw,72px);padding-bottom:91px}
.r4-kicker{color:#33635A;font-size:10px;letter-spacing:.14em;white-space:normal}
.r4-kicker-symbol{width:34px;height:34px;color:var(--rv-mint);border-radius:9px;background:#15332E}
.r4-title{margin:36px -16px 0 0;font-size:clamp(64px,6.7vw,103px);font-weight:800;color:#0B2321;line-height:1.02}
.r4-title>span{color:#55726B}
.r4-title em{white-space:normal;font-style:italic;color:#087962;font-size:1.06em}
.r4-period{color:var(--rv-gold)}
.r4-intro{max-width:650px;color:#415B55;font-size:clamp(14px,1.15vw,16px);font-weight:500;line-height:1.8;margin-top:32px}
.r4-search{min-height:74px;border-radius:12px;background:#FFFEFA;border:1px solid #BACCC3;box-shadow:0 17px 42px rgba(9,46,33,.08);margin-top:31px}
.r4-search input{font-size:13px;font-weight:650;color:#14372F;min-width:0}
.r4-search button{border-radius:9px;background:#087962;color:#fff;font-size:12px;font-weight:850}
.r4-search button:hover{background:#075642}
.r4-popular a{border-color:#CED9D1;border-radius:7px;color:#2E5D52;font-size:11px}
.r4-popular a:hover{color:#082B23;background:#D4F7E7}
.r4-hero-actions{font-size:12px;color:#526963;gap:19px;margin-top:31px}
.r4-link-arrow{font-size:12px;color:#075642}
.o8-stage-links{margin-top:27px;gap:10px}
.o8-stage-link{border-radius:11px;border-color:#C7D9CD;background:#F1F4EB;color:#183C33;min-height:116px}
.o8-stage-link:hover{background:#E8F3E9;transform:translateY(-2px)}
.o8-stage-link span{color:#087962}.o8-stage-link strong{font-size:16px;font-weight:750;color:#12362D}.o8-stage-link small{color:#5A6F63;font-size:11px}
.r4-stage{transform:none;border-radius:16px;min-height:600px;background:#101F21;border-color:#2C4443;box-shadow:0 28px 85px rgba(10,46,38,.16)}
.r4-stage:hover{transform:none}
.r4-stage-top{padding:23px 26px;border-color:rgba(191,225,217,.16)}
.r4-stage-mono,.r4-label-mono{color:#BDD9CE}
.r4-stage-indicator{color:#8AF2C8}.r4-stage-indicator i{background:var(--rv-mint)}
.r4-stage-art{background:radial-gradient(ellipse at 60% 36%,#17433E,#122A2B 58%,#0B1719 86%)}
.r4-art-rings{opacity:.37;background:repeating-radial-gradient(circle at 54% 47%,transparent 0,transparent 70px,rgba(73,227,180,.12) 71px,transparent 72px)}
.r4-art-coord{color:#A6C9BC}
.r4-stage-caption{background:linear-gradient(0deg,#101F21 77%,rgba(16,31,33,.82) 93%,transparent)}
.r4-stage-caption h2{font-size:clamp(30px,2.8vw,40px);letter-spacing:-.05em}
.r4-stage-caption>a{color:#67E4BE;font-size:13px}
.r4-stage-bottom{background:#15292A;border-color:rgba(173,223,209,.18)}
.r4-stage-circle{background:var(--rv-mint);color:#091D17}
.r4-hero-bottom{border-color:#C6D6CC;color:#4B675A;font-size:12px}
.r4-hero-bottom b{color:#087962}
.r4-hero-bottom>a{color:#075642}
.r4-values{background:#0E2324}.r4-values-grid>div{border-color:rgba(255,255,255,.11)}
.r4-values-grid strong{font-size:15px;color:#fff}.r4-values-grid p{font-size:12px;color:#B9D0C5}
.r4-values-icon{color:var(--rv-mint)}
.r4-section{padding:96px 0}
.r4-section-index{color:#087962}
.r4-section-head h2{color:#1F3734;font-size:clamp(41px,4.8vw,68px);line-height:1.04}
.r4-section-head h2 em{color:#087962}
.r4-section-head>p,.r4-section-side p{font-size:13px;color:#536E60}
.r4-categories{background:#F2F2E9}
.r4-sector{border-color:#D6E1D5;background:#FFFEFA;border-radius:12px;padding:28px;min-height:215px}
.r4-sector:hover{border-color:#88B8A2;box-shadow:0 13px 42px rgba(10,51,36,.1)}
.r4-sector strong{color:#173E35}
.r4-sector small{font-size:12px;color:#58766C}
.r4-opportunities{background:var(--paper)}
.r4-home .listing-card,.listing-card{border-radius:12px;border-color:var(--line);box-shadow:var(--shadow-sm)}
.listing-body{color:var(--rv-ink)}.listing-card .listing-body{padding:23px}
.listing-price,.listing-title{font-variant-numeric:tabular-nums}
/* INNER PAGES */
.r4-page-hero,.dashboard-hero{background:radial-gradient(ellipse at 82% 14%,rgba(73,227,180,.105),transparent 48%),#0D2223}
.r4-page-hero .eyebrow,.dashboard-hero .eyebrow{color:#7FF0C9}
.r4-page-hero .lead.light,.dashboard-hero .lead.light{color:#C5D7CF}
.dashboard-hero:after{background:radial-gradient(circle,rgba(73,227,180,.09),transparent 68%)}
.dashboard-panel,.next-action-card,.card{border-radius:15px;border-color:var(--line)}
.dashboard-panel{min-height:255px}
.dashboard-grid{gap:14px}
.stat{border-color:rgba(165,232,209,.23);background:rgba(255,255,255,.05)}
.stat span{font-size:11px;color:#C0D4C8}.stat strong{font-size:clamp(23px,3vw,38px);font-variant-numeric:tabular-nums}
.card-title{letter-spacing:-.04em}
.table-wrap,.r9-table-scroll{border-radius:13px;border-color:var(--line);box-shadow:var(--shadow-sm)}
.footer{background:#0B171A;border-top:1px solid rgba(255,255,255,.06);padding-bottom:32px}
.footer-grid{grid-template-columns:1.45fr 1fr 1fr 1fr;gap:32px}
.footer-brand{font-family:"Manrope",system-ui,sans-serif;font-size:24px;font-weight:850}
.footer-title{font-size:10px;color:#C5D9D0}
.footer-links a,.footer-links button{font-size:12px;color:#B4C9C1}
.footer-bottom{font-size:11px;color:#B4C9C1}
.footer .footer-trust strong{font-size:12px}
.footer .footer-trust span{font-size:11px}
/* LEGAL AND FORM CONTENT */
.legal h1,.legal h2{font-family:"Manrope",system-ui,sans-serif;color:var(--rv-ink);letter-spacing:-.055em}
.legal p,.legal li{font-size:14px;line-height:1.85;color:var(--muted)}
.legal a{color:#087962;text-decoration:underline;text-underline-offset:3px}
.legal .notice{background:#F7EDD7;color:#684B20;border-color:#E6CE96}
.form-field label,.label{font-size:12px}
/* CORE NAV/UX STATES */
.r5-command-panel{border-radius:16px!important}
.r5-command-result{font-size:13px}
.toast{font-size:12px;border-radius:12px}
.state p{font-size:13px}
.skeleton{background:#E8EBE4}
@media (hover:hover){.btn:hover{transform:translateY(-2px)}.nav-pro:hover{transform:translateY(-1px)}}
/* DARK — intentionally composed, not a pixel inversion. */
html[data-theme="dark"] body{color:var(--rv-ink);background:var(--paper)}
html[data-theme="dark"] .r4-hero{background:#111E21;border-color:#304641}
html[data-theme="dark"] .r4-hero:before{background:radial-gradient(circle,rgba(73,227,180,.07),transparent 69%)}
html[data-theme="dark"] .r4-hero-lines{opacity:.17}
html[data-theme="dark"] .r4-title{color:#F6F7F3}
html[data-theme="dark"] .r4-title>span{color:#A2C2B6}
html[data-theme="dark"] .r4-title em{color:#6CE9C2}
html[data-theme="dark"] .r4-intro{color:#C0D4CA}
html[data-theme="dark"] .r4-kicker{color:#B9DCCB}
html[data-theme="dark"] .r4-search{background:#213638;border-color:#45665D;box-shadow:0 15px 37px rgba(0,0,0,.13)}
html[data-theme="dark"] .r4-search input{color:#F6F7F3}
html[data-theme="dark"] .r4-search input::placeholder{color:#B7C9C2}
html[data-theme="dark"] .r4-popular a{background:#1F3534;color:#CDE6D9;border-color:#3F5E55}
html[data-theme="dark"] .r4-popular>span,html[data-theme="dark"] .r4-hero-actions{color:#B4C9C1}
html[data-theme="dark"] .r4-link-arrow,html[data-theme="dark"] .r4-hero-bottom>a{color:#83ECCB}
html[data-theme="dark"] .r4-hero-bottom{border-color:#36514C;color:#B9CFC4}
html[data-theme="dark"] .o8-stage-link{background:#203535;border-color:#35564C}
html[data-theme="dark"] .o8-stage-link span{color:#84EBCB}
html[data-theme="dark"] .o8-stage-link strong{color:#EBFBF3}
html[data-theme="dark"] .o8-stage-link small{color:#BDCEC5}
html[data-theme="dark"] .r4-categories{background:#142326}
html[data-theme="dark"] .r4-section-head h2{color:#F3F7F2}
html[data-theme="dark"] .r4-section-head h2 em{color:#6CE9C2}
html[data-theme="dark"] .r4-section-head>p,html[data-theme="dark"] .r4-section-side p{color:#BECEC4}
html[data-theme="dark"] .r4-sector{background:#1D3132;border-color:#3A5550}
html[data-theme="dark"] .r4-sector strong{color:#F0F8F2}
html[data-theme="dark"] .r4-sector small{color:#B8CEC3}
html[data-theme="dark"] .listing-card{background:#1D3133;border-color:#385452}
html[data-theme="dark"] .listing-body,html[data-theme="dark"] .listing-card .listing-body{background:#1D3133;color:#F2F7F3}
html[data-theme="dark"] .card,html[data-theme="dark"] .dashboard-panel,html[data-theme="dark"] .next-action-card{background:var(--surface);color:#F2F8F5;border-color:#395550}
html[data-theme="dark"] .btn-ghost{background:#2A4446;color:#EBF9F1;border-color:#486960}
html[data-theme="dark"] .btn-soft{background:#254B43;color:#B6FBE3}
html[data-theme="dark"] .r4-section-index{color:#80E9C7}
html[data-theme="dark"] .r4-home .r4-section-side p{color:#C0D4CC}
html[data-theme="dark"] .legal p,html[data-theme="dark"] .legal li{color:#C8D6CF}
html[data-theme="dark"] .legal a{color:#84EFCA}
html[data-theme="dark"] .legal .notice{background:#3A3328;border-color:#6B5438;color:#F5D7A7}
html[data-theme="dark"] :where(.input,.select,.textarea,.form-input,input:not([type="checkbox"]):not([type="radio"]),textarea,select){color:#F5FCF8;background:#253C3D;border-color:#51706A}
html[data-theme="dark"] :where(.input,.select,.textarea,input,textarea,select)::placeholder{color:#B2C9C0}
html[data-theme="dark"] .card-dark,html[data-theme="dark"] .card-violet,html[data-theme="dark"] .auth-card{background:#142628}
html[data-theme="dark"] .conversation-sidebar{background:#142526}
html[data-theme="dark"] .conversation-item{color:#F6F7F3;border-color:#3D5451}
html[data-theme="dark"] .conversation-item:hover,html[data-theme="dark"] .conversation-item.active{background:#254041}
html[data-theme="dark"] .chat-panel{background:#122224}
html[data-theme="dark"] .chat-header,html[data-theme="dark"] .composer{background:#1C3134}
html[data-theme="dark"] .bubble{color:#F6F7F3;background:#2B4545;border-color:#466460}
html[data-theme="dark"] .bubble-time{color:#C0D6CB}
html[data-theme="dark"] .table-wrap,html[data-theme="dark"] .r9-table-scroll{background:#1E3234}
html[data-theme="dark"] .table th,html[data-theme="dark"] .table td{border-color:#48605A}
html[data-theme="dark"] .r9-comparison-table{color:#E7F3EA}
html[data-theme="dark"] .r9-comparison-table tbody td{background:#203737}
html[data-theme="dark"] .r9-comparison-table tbody th{background:#29413C;color:#D4E9DC}
html[data-theme="dark"] .o8-panel,html[data-theme="dark"] .o8-seller-card{background:#1E3333;color:#F6F7F3;border-color:#395A51}
html[data-theme="dark"] .o8-seller-card h3{color:#F6F7F3}
html[data-theme="dark"] .o8-seller-card>p{color:#BFCEC6}
html[data-theme="dark"] .rv-theme-toggle{border-color:#45625C}
/* Responsive precision */
@media(max-width:1160px){.nav-links a{padding-inline:8px;font-size:11px}}
@media(max-width:1100px){.nav-links{display:none}.mobile-menu{display:grid}}
@media(max-width:980px){.r4-hero-layout{grid-template-columns:1fr}.r4-title{max-width:900px}.r4-stage{max-width:680px;width:100%;min-height:490px}}
@media(max-width:760px){.shell{width:min(1320px,calc(100% - 28px))}.nav-wrap{top:10px}.nav-shell{width:calc(100% - 20px);min-height:60px;padding:6px 8px 6px 11px;border-radius:13px;gap:6px}.brand{font-size:18px;gap:7px}.brand-mark,.brand-mark img{width:34px;height:34px}.nav-user{padding:3px;min-height:39px}.nav-user [data-user-name]{display:none}.nav-avatar{width:32px;height:32px}.rv-theme-toggle{min-width:38px;min-height:38px;padding:5px}.r5-quick-access{min-width:37px;padding:0 8px!important}.r5-quick-access kbd{display:none}.r4-hero{padding-top:113px}.r4-hero-layout{padding-bottom:46px;gap:34px}.r4-title{font-size:clamp(46px,10.9vw,79px);line-height:1.055;letter-spacing:-.06em;margin-right:0}.r4-kicker{font-size:9px}.r4-intro{font-size:14px;line-height:1.75;margin-top:21px}.r4-search{min-height:61px;padding:6px 6px 6px 11px;gap:8px}.r4-search input{height:45px;font-size:12px}.r4-search button{min-width:77px;height:45px;font-size:11px;gap:5px}.o8-stage-links{grid-template-columns:1fr}.o8-stage-link{min-height:96px;padding:17px 20px}.r4-hero-actions{gap:12px;margin-top:27px}.r4-stage{min-height:460px}.r4-hero-bottom{gap:14px;font-size:10px}.r4-hero-bottom>a{margin-left:0}.r4-section{padding:72px 0}.r4-section-head h2{font-size:clamp(36px,9vw,61px)}.r4-sector{padding:18px;min-height:168px}.r4-sector strong{font-size:20px}.footer-grid{grid-template-columns:1fr 1fr;gap:26px}.footer-grid>div:first-child{grid-column:1/-1}.footer-grid>div:last-child{grid-column:auto}}
@media(max-width:410px){.brand{font-size:16px}.r4-title{font-size:clamp(43px,11vw,52px)}.r4-stage{min-height:430px}.nav-shell{gap:4px}.r4-hero-actions{font-size:10px}.r4-hero-bottom{gap:8px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
/* Cross-page quality fixes verified at 390px */
.dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-grid>*{min-width:0;overflow-wrap:anywhere}
.dash-list,.dash-row{min-width:0;max-width:100%}.dash-row>*{min-width:0}
.r10-chat-shell,.r10-chat-room,.r10-sidebar{min-width:0}
/* Privacy panel belongs to the same brand, preserving the explicit opt-in flow */
.rilevo-consent-banner{background:#0E2121;border-color:#365D51;border-radius:15px;box-shadow:0 20px 65px rgba(2,22,17,.27)}
.rilevo-consent-banner-text span{color:#D1E8DD}
.rilevo-consent-banner-text a{color:#82EBC6}
.rilevo-consent-banner [data-banner-reject],.rilevo-consent-banner [data-banner-accept],.rilevo-consent-actions [data-consent-reject],.rilevo-consent-actions [data-consent-accept]{background:#49E3B4;border-color:#49E3B4;color:#0A251C}
.rilevo-consent-banner [data-banner-manage]{border-color:#74988A;color:#F5FAF6;background:#204037}
.rilevo-consent-banner-close{border-color:#7BB09B!important}
.rilevo-privacy-dialog{border-color:var(--line)}
.rilevo-consent-option input{accent-color:#087962}
.rilevo-consent-option strong{color:#143C30}
.rilevo-consent-actions [data-consent-save]{background:#0B2926}
.rilevo-consent-banner :is(button,a):focus-visible,.rilevo-privacy-dialog :is(button,a,input):focus-visible{outline-color:#49E3B4}
@media(max-width:760px){.dashboard-grid{grid-template-columns:minmax(0,1fr)}.dashboard-panel,.next-action-card{min-width:0;max-width:100%}.rilevo-consent-banner{border-radius:14px}}
/* Theme contrast on the guided entry cards — explicit because legacy CSS uses highly specific overrides. */
html[data-theme="dark"] body .r4-home .o8-stage-links .o8-stage-link{background:#203535!important;border-color:#406057!important;color:#F2FBF5!important}
html[data-theme="dark"] body .r4-home .o8-stage-link strong{color:#F2FBF5!important}
html[data-theme="dark"] body .r4-home .o8-stage-link small{color:#C4DAD0!important}
html[data-theme="dark"] body .r4-home .o8-stage-link span{color:#7FE8C5!important}
/* Always show a meaningful Continuum fallback if a listing photo is absent/offline. */
.r4-spot-image{background:radial-gradient(circle at 52% 50%,#255E53,#102527 76%)}
.r4-spot-image::before{content:"↗";position:absolute;left:50%;top:45%;transform:translate(-50%,-50%);font:300 190px/1 Georgia,serif;color:#66E4B5;opacity:.55;z-index:0}
.r4-spot-photo{position:relative;z-index:1}
.r4-spot-image:after{z-index:2}
html[data-theme="dark"] body .r4-home .o8-stage-links a.o8-stage-link{background-color:#203535!important;background-image:none!important}

/* RILEVO 15 / Supporto: tipografia e densità del Future Heritage */
.r15-help-intro {max-width:720px;margin:0 0 34px}
.r15-help-intro h2 {font-size:clamp(32px,4vw,54px);letter-spacing:-.045em;line-height:1.06;margin:14px 0}
.r15-help-intro p,.r15-help-card p,.r15-help-warning p,.r15-help-contact p {color:var(--rv-muted, #576765);font-size:15px;line-height:1.7}
.r15-help-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.r15-help-card {padding:clamp(22px,3vw,36px);display:flex;flex-direction:column;min-height:265px;align-items:flex-start}
.r15-help-card .btn {margin-top:auto}
.r15-help-number {font-size:12px;letter-spacing:.17em;font-weight:800;color:#087962;margin-bottom:24px}
.r15-help-card h3 {font-size:25px;letter-spacing:-.03em;margin:0 0 8px}
.r15-help-warning {display:flex;gap:25px;align-items:end;justify-content:space-between;background:#102823;color:#f7f5ee;padding:clamp(24px,4vw,45px);border-radius:20px;margin:28px 0}
.r15-help-warning p {max-width:760px;color:#c6d6d0}
.r15-help-warning h3 {font-size:clamp(22px,3vw,33px);letter-spacing:-.03em;margin:10px 0}
.r15-help-warning .btn {white-space:nowrap}
.r15-help-contact {display:flex;align-items:center;justify-content:space-between;gap:18px;padding:22px 0 50px}
.r15-help-contact h3 {font-size:24px;margin:0}
@media(max-width:700px){.r15-help-grid{grid-template-columns:1fr}.r15-help-card{min-height:225px}.r15-help-warning,.r15-help-contact{align-items:stretch;flex-direction:column}.r15-help-warning .btn{align-self:flex-start}}

/* Release 15.0.4: disclose sample content and let long deal chats load history. */
.rilevo-demo-notice{position:relative;z-index:1200;padding:10px 18px;background:#542F15;color:#FFF6E8;text-align:center;font:700 12px/1.5 Manrope,sans-serif;letter-spacing:.01em;border-bottom:1px solid #D9AD72}
.r10-history-control{display:flex;justify-content:center;padding:0 0 18px}
.r10-load-older{min-height:40px;padding:9px 15px;border:1px solid #B7CDBE;border-radius:999px;background:#FFF;color:#174B39;font:700 12px/1.3 Manrope,sans-serif;cursor:pointer}
.r10-load-older:hover{background:#EAF3EC}
.r10-load-older:focus-visible{outline:3px solid #087962;outline-offset:3px}
.r10-load-older:disabled{opacity:.65;cursor:wait}
html[data-theme="dark"] .r10-load-older{background:#203B36;border-color:#55766A;color:#E8F8ED}
html[data-theme="dark"] .r10-load-older:hover{background:#2A4C43}
