/* DARTAVA 2 | APPROVED LIGHT RELEASE
   One visual system: public website, desktop, mobile browser, Android TWA/APK/AAB.
   Warm ivory + navy-charcoal + royal blue + coral. Only match/camera stages remain dark.
   This replaces the old teal-forced stylesheet, it is not a new overlay on top of it. */
:root {
 --dartava2-bg:#f8f7f3;--dartava2-panel:#ffffff;--dartava2-deep:#212b3d;
 --dartava2-line:#dce2ed;--dartava2-text:#202839;--dartava2-muted:#5d697b;
 --dartava2-teal:#365bce;--dartava2-gold:#ec785d;
 --dartava2-blue:#365bce;--dartava2-purple:#8865c9;
}
html:has(body[data-r3-surface]) {background:#f8f7f3;color-scheme:light}
body[data-r3-surface] {
 --teal:#365bce;--teal-2:#2747b2;--aqua:#91a6f5;--aqua-soft:#eaf0ff;
 --canvas:#f8f7f3;--paper:#fff;--ink:#202839;--ink-2:#31415e;
 --muted:#5d697b;--line:#dce2ed;--danger:#d25244;--success:#248061;
 --shadow:0 20px 55px rgba(37,52,79,.08);--shadow-sm:0 8px 30px rgba(37,52,79,.065);
 background:radial-gradient(circle at 82% 0,rgba(88,116,224,.085),transparent 37rem),#f8f7f3!important;
 color:#202839!important;
 font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
 font-size:16px;
}
body[data-r3-surface] :is(h1,h2,h3,h4,strong,b){color:inherit}
body[data-r3-surface] :is(.r3-muted,.r3-section-head p,.r3-phone-section-head p,.r3-page-card p){color:#5d697b}
body[data-r3-surface] .r3-kicker{color:#365bce!important;letter-spacing:.1em;font-weight:850}
body[data-r3-surface] .r3-btn--primary{background:#365bce!important;border-color:#365bce!important;color:#fff!important;box-shadow:0 8px 20px rgba(54,91,206,.17)}
body[data-r3-surface] .r3-btn--primary:hover{background:#2848ad!important}
body[data-r3-surface] .r3-btn--soft{background:#fff!important;border:1px solid #d0d9e9!important;color:#293957!important}
body[data-r3-surface] .r3-btn--ghost{border-color:#cbd4e5;color:#2e405c}
body[data-r3-surface] .r3-pill{border-color:#d6dfef;background:#eef2fb;color:#39517e}
body[data-r3-surface] .r3-dot{background:#ec785d;box-shadow:0 0 0 5px rgba(236,120,93,.13)}
body[data-r3-surface] :is(button,a,input,select,textarea):focus-visible{outline:3px solid #f0a089!important;outline-offset:3px}
body[data-r3-surface] :is(input,select,textarea){accent-color:#365bce}
body[data-r3-surface] :is(.r3-card,.r3-page-card,.r3-panel,.r3-metric,.r3-quick-panel,.r3-game:not(.featured),.r3-phone-card,.r3-phone-metric,.r3-list-item,.r3-choice,.r3-setup-card,.r3-price,.r3-auth-card,.r3-settings-card) {
 background:#fff!important;color:#202839!important;
 border-color:#dce2ed!important;
 box-shadow:0 9px 27px rgba(36,54,86,.055)!important;
}
body[data-r3-surface] :is(.r3-card,.r3-page-card,.r3-panel,.r3-metric,.r3-phone-card,.r3-price) :is(p,small,.r3-muted){color:#5d697b!important}
body[data-r3-surface] :is(.r3-product-title h1,.r3-phone-section-head h2,.r3-panel h2,.r3-display){color:#202839}
body[data-r3-surface] .r3-metric-grid{gap:12px;margin-top:14px}
body[data-r3-surface] .r3-metric-grid .r3-metric{padding:17px 20px}
body[data-r3-surface] .r3-metric-grid .r3-metric strong{font-size:clamp(29px,3vw,40px);color:#202839!important}
body[data-r3-surface] .r3-metric-grid .r3-metric small{color:#66748b!important}

/* Desktop application and navigation */
body[data-r3-surface="pc"] .r3-desktop-shell{background:#f8f7f3!important}
body[data-r3-surface="pc"] .r3-rail{background:#212b3d!important;color:#f6f8ff;border-right:1px solid #344259}
body[data-r3-surface="pc"] .r3-rail :is(.r3-brand,.r3-brand b){color:#fff!important}
body[data-r3-surface="pc"] .r3-rail-nav button,
body[data-r3-surface="pc"] .r3-rail-bottom button{font-size:14px;color:#dae2ef!important;border-radius:12px}
body[data-r3-surface="pc"] .r3-rail-nav button:hover,
body[data-r3-surface="pc"] .r3-rail-bottom button:hover{background:#354866!important;color:#fff!important}
body[data-r3-surface="pc"] .r3-rail-nav button[data-active="1"],
body[data-r3-surface="pc"] .r3-rail-bottom button[data-active="1"]{background:#365bce!important;color:#fff!important}
body[data-r3-surface="pc"] .r3-desktop-main{background:#f8f7f3!important}
body[data-r3-surface="pc"] .r3-topbar{background:rgba(255,255,255,.92)!important;color:#202839!important;border-bottom:1px solid #dce2ed;backdrop-filter:blur(12px)}
body[data-r3-surface="pc"] .r3-topbar :is(strong,small){color:#2d3c53!important}
body[data-r3-surface="pc"] .r3-account-chip .r3-pill{background:#eaf0ff;color:#2c4eaa;border-color:#d0defb}

/* Desktop home: photo remains dark for readable white copy, all other content stays light */
body[data-r3-surface] .md-product-home{
 position:relative;min-height:330px;border:1px solid #cad5e8;border-radius:22px;
 display:flex;align-items:center;padding:34px 40px;overflow:hidden;
 background:linear-gradient(90deg,rgba(30,39,59,.99) 0%,rgba(31,42,64,.95) 39%,rgba(31,42,64,.14) 88%),url('/dartava-v38-hero.webp') 67% 45% / cover no-repeat!important;
 box-shadow:0 17px 47px rgba(28,40,61,.13)
}
body[data-r3-surface] .md-product-home:after{content:none!important}
body[data-r3-surface] .md-product-home>div{position:relative;z-index:1;max-width:54%}
body[data-r3-surface] .md-product-home>img{display:none!important}
body[data-r3-surface] .md-product-home h1{color:#fff!important;font-size:clamp(43px,4.6vw,70px);line-height:.98}
body[data-r3-surface] .md-product-home p{color:#dbe2ef!important}
body[data-r3-surface] .md-product-home .r3-btn--primary{background:#ec785d!important;border-color:#ec785d!important;color:#1b273a!important}
body[data-r3-surface] .md-quick-links button{background:#fff;color:#2c4268;border:1px solid #d9e2ef;border-radius:11px}
body[data-r3-surface] .md-home-columns .r3-panel{padding:20px;border-radius:17px}
body[data-r3-surface] .md-home-columns :is(h2,h3,b){color:#202839!important}
body[data-r3-surface] .md-home-link{background:#f1f4fb!important;border-color:#d8e2f0!important;color:#2f405d!important}
body[data-r3-surface] .md-home-link small{color:#64748b!important}

/* Home quick action tiles: blue, coral, indigo, purpleânot a wall of teal. */
.dt2-feature-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:16px 0}
.dt2-feature{min-width:0;min-height:138px;border-radius:17px;border:1px solid #dce2ed;
 padding:19px;text-align:left;display:flex;flex-direction:column;align-items:flex-start;
 color:#233656!important;background:#fff!important;box-shadow:0 9px 28px rgba(37,55,85,.07);
 transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.dt2-feature:hover{transform:translateY(-2px);border-color:#95a8dd;box-shadow:0 12px 32px rgba(37,55,85,.1)}
.dt2-feature b{font:800 clamp(21px,2.3vw,29px)/1 'Barlow Condensed',system-ui,sans-serif;letter-spacing:.02em;margin:12px 0 5px}
.dt2-feature small{font:500 13px/1.42 Inter,system-ui,sans-serif;color:#596b83!important}
.dt2-feature i{font-style:normal;font-size:24px;line-height:1;color:#365bce}
.dt2-feature--oche{background:#fff1ea!important;border-color:#f2ccb8!important;color:#873f25!important}
.dt2-feature--oche i{color:#e16e4d}
.dt2-feature--train{background:#eaf0ff!important;border-color:#bfcff7!important;color:#2849a5!important}
.dt2-feature--clubs{background:#f3edfc!important;border-color:#d8c7ee!important;color:#7144a4!important}
.dt2-feature--clubs i{color:#8760c1}

/* Phone browser and Android installed app: SAME tokens and card layout. */
body[data-r3-surface="mobile"] .r3-phone-shell,
body[data-r3-surface="app"] .r3-phone-shell{background:#f8f7f3!important;color:#202839}
body[data-r3-surface="mobile"] .r3-phone-top,
body[data-r3-surface="app"] .r3-phone-top{background:#212b3d!important;color:#fff!important;border-color:#35425b!important}
body[data-r3-surface="mobile"] .r3-phone-top :is(b,strong,span,button),
body[data-r3-surface="app"] .r3-phone-top :is(b,strong,span,button){color:#f8f9ff}
body[data-r3-surface="mobile"] .r3-phone-nav,
body[data-r3-surface="app"] .r3-phone-nav{
 background:#fff!important;border-top:1px solid #dce2ed!important;color:#50617e!important;
 box-shadow:0 -8px 27px rgba(31,47,79,.07)
}
body[data-r3-surface="mobile"] .r3-phone-nav button,
body[data-r3-surface="app"] .r3-phone-nav button{color:#5b697f!important}
body[data-r3-surface="mobile"] .r3-phone-nav button[data-active="1"],
body[data-r3-surface="app"] .r3-phone-nav button[data-active="1"]{color:#365bce!important;background:#eaf0ff!important}
body[data-r3-surface="mobile"] .r3-phone-hero,
body[data-r3-surface="app"] .r3-app-launch{
 background:linear-gradient(90deg,rgba(30,39,59,.97),rgba(32,45,67,.88) 58%,rgba(26,37,56,.1)),url('/dartava-v38-hero.webp') 70% center/cover no-repeat!important;
 border:1px solid #506384!important;border-radius:21px!important;
 color:#fff!important;padding:25px 21px!important;position:relative;overflow:hidden;min-height:211px
}
body[data-r3-surface="mobile"] .r3-phone-hero:after{content:none!important}
body[data-r3-surface="mobile"] .r3-phone-hero :is(h1,p),
body[data-r3-surface="app"] .r3-app-launch :is(h1,p){color:#f8f9ff!important;position:relative;z-index:1;max-width:73%}
body[data-r3-surface="mobile"] .r3-phone-hero h1{font-size:clamp(41px,10.7vw,57px)}
body[data-r3-surface="app"] .r3-app-launch h1{font-size:clamp(38px,9.6vw,55px)}
body[data-r3-surface="mobile"] .r3-phone-play,
body[data-r3-surface="app"] .r3-app-primary{background:#365bce!important;color:#fff!important;border:0!important;box-shadow:0 9px 24px rgba(36,63,147,.2)}
body[data-r3-surface="app"] .r3-app-primary>span{background:#213d90!important;color:#fff!important}
body[data-r3-surface="mobile"] .r3-phone-action,
body[data-r3-surface="app"] .r3-app-quick button{background:#fff!important;color:#243451!important;border-color:#d7dfee!important}
body[data-r3-surface="mobile"] .r3-phone-action :is(b,small),
body[data-r3-surface="app"] .r3-app-quick button :is(b,small){color:#40516c!important}
body[data-r3-surface="app"] .r3-app-quick button:nth-child(1){background:#eaf0ff!important;border-color:#c6d5fa!important}
body[data-r3-surface="app"] .r3-app-quick button:nth-child(3){background:#f4edff!important;border-color:#dacbf0!important}
body[data-r3-surface="app"] .r3-app-quick button:nth-child(4){background:#fff0e9!important;border-color:#f3caba!important}
body[data-r3-surface="app"] .r3-app-quick button>span{background:#e4ebfd;color:#3153bc}
body[data-r3-surface="app"] .r3-app-stats{background:#dce3ee;border-color:#dce3ee}
body[data-r3-surface="app"] .r3-app-stats>div{background:#fff}
body[data-r3-surface="app"] .r3-app-stats b{color:#202839}

/* Public website: warm, editorial, immediately understandable. */
body[data-r3-surface="site"] .r3-site-header{background:rgba(255,255,255,.97)!important;border-bottom:1px solid #dce2ed!important;box-shadow:0 6px 18px rgba(35,50,79,.05)}
body[data-r3-surface="site"] .r3-site-header .r3-site-nav button{color:#394d6c!important}
body[data-r3-surface="site"] .r3-site-header .r3-site-nav button[data-active="1"],
body[data-r3-surface="site"] .r3-site-header .r3-site-nav button:hover{background:#eaf0ff!important;color:#2b49ac!important;box-shadow:none!important}
body[data-r3-surface="site"] .r3-site-main{background:transparent!important}
body[data-r3-surface="site"] :is(.r3-hero-copy h1,.r3-section-head h2){color:#202839!important}
body[data-r3-surface="site"] :is(.r3-hero-copy p,.r3-section-head p){color:#5c697c!important}
body[data-r3-surface="site"] .r3-hero{
 background:linear-gradient(90deg,#f8f7f3 0%,rgba(248,247,243,.96) 42%,rgba(248,247,243,.11) 100%),url('/dartava-v38-hero.webp') 75% center/cover no-repeat!important;
 border:1px solid #e5e4e1;border-radius:23px;padding:42px;margin-top:16px
}
body[data-r3-surface="site"] .r3-hero-copy h1 em{color:#365bce!important}
body[data-r3-surface="site"] .r3-site-footer{border-top:1px solid #dce2ed}
body[data-r3-surface="site"] :is(.r3-live-stage,.r3-score-stage,.r3-board-stage){background-color:#212b3d;color:#f8faff}
body[data-r3-surface="site"] .r3-live-stage :is(h2,h3,strong,b){color:#fff}
body[data-r3-surface="site"] .v5-shell .v5-panel,
body[data-r3-surface="site"] .v5-shell .v5-card,
body[data-r3-surface="site"] :is(.v3-card,.v3-panel,.v3-sidebox,.v3-steps,.v3-dna){
 background:#fff!important;border-color:#dce2ed!important;color:#202839!important;box-shadow:0 9px 28px rgba(37,54,80,.07)
}
body[data-r3-surface="site"] :is(.v5-shell,.v3-page){color:#202839}
body[data-r3-surface="site"] :is(.v5-shell,.v3-page) :is(h1,h2,h3,strong,b){color:#202839}
body[data-r3-surface="site"] :is(.v5-shell,.v3-page) :is(p,small){color:#5d697b}
body[data-r3-surface="site"] :is(.v5-btn,.v3-btn){border-radius:11px;min-height:46px}

/* Live scoring and Board Vision remain dark and high-contrastânot washed out. */
body[data-r3-surface] :is(.r3-fullscreen-mode,.r3-fullscreen-body,[data-r3-fullscreen],[data-r3-games-layer],[data-r3bv-overlay]){
 background:#212b3d;color:#fff;
}
body[data-r3-surface] :is(.r3-fullscreen-mode,.r3-fullscreen-body,.r3-fullscreen-head) :is(h1,h2,h3,b,strong,small){color:#fff}
body[data-r3-surface] .r3-fullscreen-head{background:#202a3e!important;color:#fff;border-bottom:1px solid #425373}
body[data-r3-surface] [data-r3-score-form] input{color:#1e2b3e;background:#fff}
body[data-r3-surface] .r3-board-placeholder{color:#fff}
body[data-r3-surface] :is(.r3-fullscreen-mode,[data-r3-fullscreen]) .r3-btn--soft{background:#303f5b!important;border-color:#566d96!important;color:#fff!important}
body[data-r3-surface] :is(.r3-fullscreen-mode,[data-r3-fullscreen]) .r3-display{color:#fff!important}

/* Legibility and accessibility across all pages */
body[data-r3-surface] :is(.r3-btn,.r3-phone-nav button,.r3-site-nav button,.r3-rail-nav button,.r3-app-quick button){min-height:44px}
body[data-r3-surface] :is(input,select,textarea){font-size:max(16px,1rem)}
body[data-r3-surface] :is(.r3-list-item small,.r3-phone-action small,.r3-app-quick small){line-height:1.45}
@media(max-width:1120px){.dt2-feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}body[data-r3-surface] .md-product-home>div{max-width:66%}}
@media(max-width:820px){
 body[data-r3-surface] .md-product-home{min-height:248px;padding:24px;background-position:72% center}
 body[data-r3-surface] .md-product-home>div{max-width:74%}
 .dt2-feature-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 .dt2-feature{min-height:124px;padding:15px}
 .dt2-feature b{font-size:22px}
 body[data-r3-surface] .r3-metric-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
 body[data-r3-surface] .r3-metric-grid .r3-metric{padding:12px}
 body[data-r3-surface] .r3-metric-grid .r3-metric strong{font-size:27px}
 body[data-r3-surface="site"] .r3-hero{padding:26px;background-position:70% center}
}
@media(max-width:520px){
 body[data-r3-surface="pc"] .r3-desktop-shell{display:block}
 body[data-r3-surface="mobile"] .r3-phone-hero h1{font-size:clamp(36px,10vw,50px)}
 body[data-r3-surface="app"] .r3-app-launch h1{font-size:clamp(35px,10vw,50px)}
 body[data-r3-surface="site"] .r3-hero{background-position:72% center;padding:24px 19px}
 body[data-r3-surface="site"] .r3-hero-copy h1{font-size:clamp(44px,12vw,60px)}
 body[data-r3-surface] .md-product-home>div{max-width:81%}
}
@media(prefers-reduced-motion:reduce){body[data-r3-surface] *{transition:none!important;scroll-behavior:auto!important}}


/* Phone browser uses the exact installed-app Home markup and equal card geometry. */
body[data-r3-surface="mobile"] .r3-app-home{padding:12px 0 24px}
body[data-r3-surface="mobile"] .r3-app-launch{display:grid;gap:12px}
body[data-r3-surface="mobile"] .r3-app-launch h1{margin:4px 0 6px;font-size:clamp(34px,9vw,52px);line-height:.96;letter-spacing:-.045em}
body[data-r3-surface="mobile"] .r3-app-launch p{margin:0;font-size:14px;line-height:1.45}
body[data-r3-surface="mobile"] .r3-app-primary{
 display:grid;grid-template-columns:42px 1fr;grid-template-rows:auto auto;column-gap:12px;
 align-items:center;width:100%;padding:16px;border-radius:18px;text-align:left;min-height:84px
}
body[data-r3-surface="mobile"] .r3-app-primary>span{grid-row:1/3;display:grid;width:42px;height:42px;place-items:center;border-radius:50%;background:#213d90;color:#fff;font-size:17px}
body[data-r3-surface="mobile"] .r3-app-primary b{font-size:18px;letter-spacing:.025em}
body[data-r3-surface="mobile"] .r3-app-primary small{font-size:11px;font-weight:750;color:#e5edff}
body[data-r3-surface="mobile"] .r3-app-camera{
 display:grid;grid-template-columns:28px 1fr 20px;gap:10px;align-items:center;width:100%;
 padding:14px;border:1px solid #8093bb;border-radius:16px;background:rgba(255,255,255,.1);color:#fff;text-align:left;min-height:70px
}
body[data-r3-surface="mobile"] .r3-app-camera svg{width:25px;height:25px;stroke:#b8cafa}
body[data-r3-surface="mobile"] .r3-app-camera span{display:grid;gap:2px}
body[data-r3-surface="mobile"] .r3-app-camera b{font-size:14px}
body[data-r3-surface="mobile"] .r3-app-camera small{font-size:11px;color:#d0ddf1}
body[data-r3-surface="mobile"] .r3-app-camera strong{font-size:20px;color:#b8cafa}
body[data-r3-surface="mobile"] .r3-app-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;margin:12px 0;overflow:hidden;border:1px solid #dce2ed;border-radius:18px;background:#dce2ed}
body[data-r3-surface="mobile"] .r3-app-stats>div{display:grid;gap:2px;min-height:72px;place-content:center;background:#fff;text-align:center}
body[data-r3-surface="mobile"] .r3-app-stats b{font-size:22px;color:#202839}
body[data-r3-surface="mobile"] .r3-app-stats small{font-size:9px;font-weight:850;letter-spacing:.08em;color:#66738a}
body[data-r3-surface="mobile"] .r3-app-quick{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
body[data-r3-surface="mobile"] .r3-app-quick button{
 display:grid;grid-template-columns:28px 1fr;grid-template-rows:auto auto;column-gap:9px;
 min-height:92px;padding:14px;border:1px solid #dce2ed;border-radius:18px;background:#fff;color:#202839;text-align:left;box-shadow:0 8px 22px rgba(31,45,69,.05)
}
body[data-r3-surface="mobile"] .r3-app-quick button>span{grid-row:1/3;display:grid;width:28px;height:28px;place-items:center;border-radius:9px;background:#eaf0ff;color:#365bce;font-weight:900}
body[data-r3-surface="mobile"] .r3-app-quick b{align-self:end;font-size:13px}
body[data-r3-surface="mobile"] .r3-app-quick small{align-self:start;color:#607086;font-size:11px;line-height:1.35}
@media(max-width:360px){body[data-r3-surface="mobile"] .r3-app-quick{grid-template-columns:1fr}}

/* Dartava 2 approved compact UI; both installed Android TWA and phone browser. */
body[data-r3-surface="app"] .r3-app-launch,body[data-r3-surface="mobile"] .r3-app-launch{min-height:0!important;gap:9px!important;padding:17px!important;border-radius:18px!important}
body[data-r3-surface="app"] .r3-app-launch h1,body[data-r3-surface="mobile"] .r3-app-launch h1{font-size:clamp(30px,8vw,42px)!important;line-height:.97!important;margin:3px 0 5px!important}
body[data-r3-surface="app"] .r3-app-launch p,body[data-r3-surface="mobile"] .r3-app-launch p{font-size:13px!important;line-height:1.4!important;max-width:33ch}
body[data-r3-surface="app"] .r3-app-primary,body[data-r3-surface="mobile"] .r3-app-primary{min-height:64px!important;padding:11px 13px!important}
body[data-r3-surface="app"] .r3-app-camera,body[data-r3-surface="mobile"] .r3-app-camera{min-height:56px!important;padding:11px!important}
body[data-r3-surface="app"] .r3-phone-top,body[data-r3-surface="mobile"] .r3-phone-top{padding-top:max(env(safe-area-inset-top),10px)!important;min-height:calc(58px + env(safe-area-inset-top))!important}
body[data-r3-surface="app"] .r3-phone-nav,body[data-r3-surface="mobile"] .r3-phone-nav{height:calc(66px + env(safe-area-inset-bottom))!important;padding:5px 7px calc(6px + env(safe-area-inset-bottom))!important}
body[data-r3-surface="app"] .r3-phone-shell,body[data-r3-surface="mobile"] .r3-phone-shell{padding-bottom:calc(82px + env(safe-area-inset-bottom))!important}
body[data-r3-surface] .dt2-oche-intro{padding:18px;border-radius:18px;background:#212b3d;color:#fff;display:flex;flex-wrap:wrap;gap:12px;justify-content:space-between;align-items:center}
body[data-r3-surface] .dt2-oche-intro h1{color:#fff!important;margin:3px 0 5px;font-size:clamp(27px,6.8vw,37px);line-height:1}
body[data-r3-surface] .dt2-oche-intro p{color:#dbe4f5!important;margin:0;font-size:13px;line-height:1.45;max-width:45ch}
body[data-r3-surface] .dt2-oche-actions{display:flex;gap:8px;flex-wrap:wrap}
body[data-r3-surface] .dt2-oche-actions button{min-height:44px;padding:10px 13px;border:0;border-radius:10px;background:#ec785d;color:#212b3d;font-size:12px;font-weight:800}
body[data-r3-surface] .dt2-oche-actions button+button{background:#fff;color:#263651}
body[data-r3-surface] .dt2-oche-tabs{display:flex;gap:7px;overflow-x:auto;scrollbar-width:thin;padding:12px 0;max-width:100%}
body[data-r3-surface] .dt2-oche-tabs button{flex:none;min-height:42px;padding:9px 12px;border:1px solid #d9dfeb;border-radius:999px;background:#fff;color:#32415b;font-size:12px;font-weight:750;white-space:nowrap}
body[data-r3-surface] .dt2-oche-tabs button[aria-selected="true"]{border-color:#365bce;background:#365bce;color:#fff}
body[data-r3-surface] .dt2-oche-feed .r3-real-feed-card{margin-bottom:10px}
@media(max-width:520px){body[data-r3-surface] .dt2-oche-intro{padding:16px}body[data-r3-surface] .dt2-oche-actions{width:100%}body[data-r3-surface] .dt2-oche-actions button{flex:1}}

/* Approved real-data social surface; retire old unconnected Oche buttons. */
body[data-r3-surface] .r3-phone-page:has(.dt2-oche-intro)>.r3-phone-hero{display:none!important}
body[data-r3-surface] .r3-product-title:has(+ .r3-three-col .dt2-oche-intro){display:none!important}
body[data-r3-surface] .r3-three-col:has(.dt2-oche-intro)>aside:first-child{display:none!important}
body[data-r3-surface] .r3-three-col:has(.dt2-oche-intro){display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,.35fr);gap:16px}
body[data-r3-surface] .dt2-oche-post{background:#fff;border:1px solid #dce2ed;border-radius:14px;padding:15px;margin:9px 0;color:#202839;box-shadow:0 7px 20px rgba(37,55,85,.04)}
body[data-r3-surface] .dt2-oche-post-head{display:flex;align-items:center;justify-content:space-between;gap:10px}
body[data-r3-surface] .dt2-oche-post-head b{font-size:16px;color:#202839}body[data-r3-surface] .dt2-oche-post-head small{color:#64748b;font-size:12px}
body[data-r3-surface] .dt2-oche-post p{font-size:14px;color:#36445c;line-height:1.55}
body[data-r3-surface] .dt2-oche-post-actions{display:flex;gap:6px;flex-wrap:wrap;margin-top:10px}
body[data-r3-surface] .dt2-oche-post-actions button{min-height:38px;border:1px solid #d7dfed;border-radius:9px;background:#f4f6fb;color:#253755;font-size:12px;font-weight:750;padding:8px 10px}
body[data-r3-surface] .dt2-oche-empty,body[data-r3-surface] .dt2-oche-notice{padding:16px;border:1px solid #dce2ed;border-radius:12px;background:#fff;color:#53627a}
@media(max-width:900px){body[data-r3-surface] .r3-three-col:has(.dt2-oche-intro){grid-template-columns:1fr}body[data-r3-surface] .r3-three-col:has(.dt2-oche-intro)>aside:last-child{display:none}}

body[data-r3-surface] #dt2-oche-reply{width:min(480px,calc(100vw - 24px));max-height:90dvh;border:1px solid #ccd7ec;border-radius:18px;padding:20px;background:#fff;color:#212b3d}
#dt2-oche-reply::backdrop{background:rgba(20,31,51,.68)}
#dt2-oche-reply .dt2-oche-reply-form{display:grid;gap:10px}
#dt2-oche-reply h2{font-size:23px;margin:0 0 7px;color:#212b3d}
#dt2-oche-reply label{font-size:13px;font-weight:750}
#dt2-oche-reply textarea{width:100%;min-height:100px;padding:12px;border:1px solid #d6deed;border-radius:10px;font-size:16px}
#dt2-oche-reply .dt2-oche-reply-form>div{display:flex;gap:9px}
#dt2-oche-reply button{flex:1;min-height:45px;border:0;border-radius:10px;background:#365bce;color:white;font-weight:750}
#dt2-oche-reply button:first-child{background:#e9edf6;color:#25354e}
#dt2-oche-reply .dt2-oche-reply-error{color:#b44136;font-size:13px;margin:0}

/* Readable Oche content, no miniature labels. */
body[data-r3-surface] .dt2-oche-post p{font-size:16px;line-height:1.55}
body[data-r3-surface] .dt2-oche-tabs button{font-size:13px}
body[data-r3-surface] .dt2-oche-post-actions button{font-size:13px}
body[data-r3-surface] .dt2-oche-intro p{font-size:15px}
body[data-r3-surface] .dt2-oche-post-head b{font-size:17px}
