/* Layout direction based on the supplied reference: compact navigation, clear
   content columns and simple bordered panels. XWADDA keeps its own monochrome identity. */
:root{--cyan:#fff;--blue:#fff;--lime:#fff;--line:#484848;--muted:#c5c5c5;--bg:#080808;--ink:#fafafa}
body{background:#080808!important;color:#fafafa!important}
.site-header{height:70px;background:#080808;border-color:#3b3b3b;padding:0 clamp(16px,4vw,58px)}
.site-brand{gap:7px;letter-spacing:.01em}.site-brand img{display:block!important;width:54px!important;height:54px!important;object-fit:contain!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;mix-blend-mode:normal!important;filter:none!important}
.site-brand:before{content:none!important}
.site-brand small{color:var(--cyan)!important}
.site-header nav{gap:20px;color:#e8e8e8}.site-header nav a{color:#e8e8e8}.site-header nav a:hover{color:var(--cyan)!important}
.site-header .nav-cta,.nav-cta{background:#fff!important;border:1px solid #fff!important;color:#080808!important;box-shadow:none!important}
.landing{max-width:1180px;padding:14px 28px 48px}
.landing-hero{min-height:475px;padding:34px 0 44px;gap:25px}
.hero-copy h1{letter-spacing:-.055em}.hero-copy h1 span{background:none;color:#fff}
.hero-copy>p{color:#d0d0d0}.hero-trust{color:#ccc;gap:12px}.hero-trust span{border:1px solid #555;border-radius:5px;padding:8px 10px}
.orbit-card,.glass-card,.how-grid article,.metric,.room-summary article,.deal-card,.message,.page-body .row,.simple-page,.auth-card{background:#111!important;border:1px solid #505050!important;box-shadow:none!important}
.orbit-card{transform:none;border-radius:12px}.glow{display:none}.float-code,.float-lock{background:#151515;border-color:#5a5a5a;box-shadow:none}
.orbit-note,.room-preview-rows>div{background:#1b1b1b;border-color:#555}.room-preview-rows small{color:#ccc}
.how-grid article,.feature-grid article,.payment-card{border-radius:8px;background:#111!important;border-color:#484848!important}
.how-grid article:after{display:none}.how-section{padding:38px 0}.feature-section,.payments-section,.faq-section{padding:35px 0}
.proof-strip{background:#111;border:1px solid #484848}.proof-strip>div{border-color:#484848}
.landing-callout{background:#151515;border:1px solid #555;border-radius:8px}.landing-footnote{border-left-color:var(--cyan);color:#ddd}
.button.primary,.button-primary,.page-body button:not(.nav-button){background:var(--cyan)!important;color:#080808!important;box-shadow:none!important}
.button.secondary{background:#202020!important;border:1px solid #666;color:#fff!important}.button.ghost{background:#111;border-color:#777;color:#fff}
.feature-grid p,.payments-section p,.payments-section li,.payment-card p,.faq-section details p{color:#ccc}
.auth-card{max-width:470px;border-radius:10px;padding:28px}.auth-card h1{font-size:28px}.auth-form input{background:#070707;border-color:#666}
.site-footer,.site-copyright,.portal-footer{color:#aaa!important;border-color:#444!important}

/* Signed-in workspaces use the reference's fixed rail and open work area. */
.authenticated-shell>.site-header,.authenticated-shell>.site-copyright{display:none!important}
.authenticated-shell .page-body{min-height:100vh}
.dashboard-shell{display:grid;grid-template-columns:232px minmax(0,1fr);gap:0;max-width:none;margin:0;padding:0;min-height:100vh}
.app-sidebar{position:sticky;top:0;height:100vh;min-height:620px;display:flex;flex-direction:column;padding:24px 15px;background:#0b0b0b;border-right:1px solid #414141}
.sidebar-brand{display:flex;align-items:center;gap:10px;margin:0 8px 35px;color:#fff;text-decoration:none;font:800 15px var(--display);letter-spacing:.04em}
.sidebar-brand img{width:62px;height:62px;object-fit:contain;border:0;border-radius:0;background:transparent;filter:none}
.sidebar-brand>b{font:900 16px var(--display);letter-spacing:-.13em;border-bottom:2px solid var(--cyan);padding:5px 5px 6px 2px}
.sidebar-brand small{color:var(--cyan);font-size:9px}
.sidebar-label{display:block;margin:0 10px 10px;color:#9e9e9e;font:700 9px var(--display);letter-spacing:.15em}
.sidebar-link{display:flex;align-items:center;gap:12px;padding:12px 11px;margin:2px 0;border:0;border-radius:6px;background:transparent;color:#c9c9c9;text-decoration:none;font-size:12px;text-align:left;cursor:pointer}
.sidebar-link:hover,.sidebar-link.active{background:#202020;color:#fff}.sidebar-link.active{box-shadow:inset 2px 0 var(--cyan)}
.sidebar-bottom{margin-top:auto;padding:16px 9px 0;border-top:1px solid #414141;color:#ccc;font-size:11px}
.sidebar-bottom>strong{display:block;margin:5px 0 13px;color:#fff;font-size:13px;overflow-wrap:anywhere}
.sidebar-controls{display:flex;gap:6px;margin:10px 0}.sidebar-controls button,.sidebar-controls select{min-width:0;padding:7px;border:1px solid #666;border-radius:5px;background:#111;color:#fff;font-size:10px}.sidebar-controls select{flex:1}
.sidebar-logout{padding:6px 0;border:0;background:none;color:#ddd;font-size:11px}
.portal-content{min-width:0;padding:32px clamp(20px,3.2vw,48px) 18px}
.dash-welcome{margin:2px 0 22px}.dash-welcome h1{font-size:29px}.dash-welcome p{color:#ccc}
.metric-grid{gap:10px}.metric{border-radius:7px;padding:15px 17px}.metric strong{font-size:24px}.workspace-grid{grid-template-columns:minmax(0,1.25fr) minmax(285px,.8fr);gap:15px;margin-top:22px}
.deal-card{border-radius:7px;padding:15px}.deal-card:hover{border-color:var(--cyan)!important;transform:none}
.glass-card{border-radius:8px;padding:17px}.workspace-side{gap:10px}.join-card{background:#151515!important}
.state-pill{background:#202020;color:#fff;border:1px solid #606060}.live-tag i{box-shadow:none!important}
.stack-form{gap:9px}.stack-form input,.stack-form textarea,.stack-form select{border-radius:5px;background:#080808;color:#fff;border-color:#666}
.stack-form input:focus,.stack-form textarea:focus,.stack-form select:focus{border-color:var(--cyan);box-shadow:0 0 0 2px #ffffff20}
.portal-footer{text-align:left;padding:20px 0 0;font-size:10px}
@media(max-width:1000px){.workspace-grid{grid-template-columns:minmax(0,1.1fr) minmax(270px,.9fr)}.portal-content{padding:27px 20px}}
@media(max-width:760px){.site-header{height:auto;min-height:64px;flex-wrap:wrap;padding:9px 14px}.site-header nav{display:flex;gap:12px;margin-left:auto}.site-controls{margin-left:0}.landing{padding:10px 18px 35px}.landing-hero{min-height:0;padding:38px 0 28px}.proof-strip{grid-template-columns:1fr}.proof-strip>div{border-right:0;border-bottom:1px solid #484848}.proof-strip>div:last-child{border-bottom:0}.dashboard-shell{grid-template-columns:1fr}.app-sidebar{position:static;height:auto;min-height:0;padding:13px 15px;border-right:0;border-bottom:1px solid #414141;display:grid;grid-template-columns:1fr auto;gap:8px}.sidebar-brand{margin:0 3px 8px}.sidebar-label{display:none}.sidebar-link{display:inline-flex;margin:0;padding:9px 7px;font-size:10px}.sidebar-bottom{grid-column:1/-1;display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin-top:4px;padding:9px 3px 0}.sidebar-bottom>strong{margin:0 5px}.sidebar-controls{margin:0}.sidebar-logout{margin-left:auto}.portal-content{padding:22px 15px 14px}.workspace-grid{grid-template-columns:1fr}.workspace-side{grid-template-columns:1fr 1fr;align-items:start}.portal-footer{text-align:center}}
@media(max-width:520px){.site-header nav{gap:8px}.site-header nav a{font-size:11px}.site-header nav a[href="#features"],.site-header nav a[href="#payments"]{display:none}.site-controls{gap:5px}.site-controls button,.site-controls select{padding:6px 7px;font-size:10px}.landing-hero{grid-template-columns:1fr}.hero-copy h1{font-size:43px}.hero-visual{min-height:300px}.how-grid{grid-template-columns:1fr 1fr}.feature-grid{grid-template-columns:1fr}.payments-section{grid-template-columns:1fr}.dash-welcome{align-items:flex-start;flex-direction:column}.metric-grid{grid-template-columns:1fr 1fr}.metric:last-child{grid-column:span 2}.workspace-side{grid-template-columns:1fr}.sidebar-link{justify-content:center}.sidebar-link span{font-size:9px}.sidebar-controls button,.sidebar-controls select{padding:6px;font-size:9px}}
/* The white theme remains the default; dark mode uses the same layout. */
body[data-theme="light"]{background:#f4f4f4!important;color:#111!important}
body[data-theme="light"] .site-brand:before{color:#111}
body[data-theme="light"] .landing-hero h1,body[data-theme="light"] .section-head h2,body[data-theme="light"] .how-section h2,body[data-theme="light"] .landing-callout h2{color:#111}
body[data-theme="light"] .hero-copy>p,body[data-theme="light"] .hero-trust,body[data-theme="light"] .section-head>p,body[data-theme="light"] .how-grid p,body[data-theme="light"] .feature-grid p,body[data-theme="light"] .payments-section p,body[data-theme="light"] .payments-section li,body[data-theme="light"] .faq-section details p{color:#333}
body[data-theme="light"] .orbit-card,body[data-theme="light"] .glass-card,body[data-theme="light"] .how-grid article,body[data-theme="light"] .feature-grid article,body[data-theme="light"] .metric,body[data-theme="light"] .room-summary article,body[data-theme="light"] .deal-card,body[data-theme="light"] .message,body[data-theme="light"] .payment-card,body[data-theme="light"] .proof-strip,body[data-theme="light"] .landing-callout,body[data-theme="light"] .auth-card{background:#fff!important;color:#111!important;border-color:#aaa!important}
body[data-theme="light"] .orbit-card h3,body[data-theme="light"] .glass-card h2,body[data-theme="light"] .metric strong,body[data-theme="light"] .deal-card h3,body[data-theme="light"] .feature-grid b,body[data-theme="light"] .payment-card b,body[data-theme="light"] .auth-card h1{color:#111}
body[data-theme="light"] .orbit-card>p,body[data-theme="light"] .orbit-note small,body[data-theme="light"] .room-preview-rows small,body[data-theme="light"] .dash-welcome p,body[data-theme="light"] .metric span,body[data-theme="light"] .deal-card>p,body[data-theme="light"] .glass-card>p{color:#444}
body[data-theme="light"] .orbit-note,body[data-theme="light"] .room-preview-rows>div,body[data-theme="light"] .empty-state,body[data-theme="light"] .invite-box{background:#f3f3f3;color:#222;border-color:#bbb}
body[data-theme="light"] .float-code,body[data-theme="light"] .float-lock{background:#fff;color:#111;border-color:#999}
body[data-theme="light"] .site-header{background:#fff;border-color:#aaa}body[data-theme="light"] .site-header nav a{color:#222}
body[data-theme="light"] .sidebar-controls button,body[data-theme="light"] .sidebar-controls select{background:#171717;color:#fff;border-color:#666}
body[data-theme="light"] .stack-form label{color:#222}body[data-theme="light"] .stack-form input,body[data-theme="light"] .stack-form textarea,body[data-theme="light"] .stack-form select,body[data-theme="light"] .auth-form input{background:#fff!important;color:#111!important;border-color:#888!important}
body[data-theme="light"] .form-note,body[data-theme="light"] .empty-state,body[data-theme="light"] .portal-footer{color:#444!important}
body[data-theme="light"] .how-grid article>span,body[data-theme="light"] .deal-code,body[data-theme="light"] .code-chip,body[data-theme="light"] .room-code strong{color:#111!important}
body[data-theme="light"] .landing-footnote{color:#333}
body[data-theme="light"] .sidebar-brand{color:#fff}
.status-completed{color:#25a65a!important}.status-cancelled{color:#e04444!important}.status-refunded{color:#222!important}
.completed-card{border-color:#328a50!important}.completed-card strong{color:#36a85d!important}.cancelled-card{border-color:#a84444!important}.cancelled-card strong{color:#e04444!important}
.insights-page{max-width:1180px;margin:0 auto;padding:34px clamp(16px,4vw,48px);min-height:72vh}
.page-title{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:22px}.page-title h1{font:800 31px var(--display);letter-spacing:-.05em;margin:8px 0}.subhead{color:#bbb;line-height:1.65;margin:0;max-width:700px}
.insight-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:16px 0}.currency-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.insight-card,.panel-light,.seller-listing,.market-category-card,.safety-count{padding:17px;border:1px solid #505050;border-radius:7px;background:#111;color:#fff}
.insight-card small,.market-category-card small,.safety-count small{display:block;color:#aaa;font-size:9px;letter-spacing:.1em}.insight-card strong,.market-category-card strong,.safety-count strong{display:block;font:800 23px var(--display);margin:8px 0}.insight-card span{font-size:10px;color:#bbb}
.panel-light{margin:20px 0;padding:19px}.panel-light h2{margin:6px 0 12px;font:750 17px var(--display)}.insight-list{display:grid;gap:7px}.insight-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:16px;padding:12px;border-bottom:1px solid #444;color:#fff;text-decoration:none}.insight-row span:first-child{font-weight:700}.insight-row small{display:block;margin-top:4px;color:#aaa;font-weight:400}.insight-row b{font-size:11px}
.seller-directory{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.seller-listing h3{font:750 16px var(--display);margin:8px 0}.seller-listing p{color:#ccc;font-size:12px;line-height:1.65}.seller-title{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.seller-title h3{margin:0}.seller-title span,.seller-history{color:#aaa;font-size:10px}.seller-category{color:var(--cyan)!important;font-size:10px!important;font-weight:800;text-transform:uppercase;letter-spacing:.08em}.seller-price{border-top:1px solid #444;padding-top:12px;margin-top:12px;font-size:11px}.seller-listing .full{margin-top:12px}.seller-editor{max-width:760px}.market-category-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:18px 0}.market-category-card strong{font-size:28px}.market-category-card span{font-weight:800}.safety-banner{padding:16px 18px;border:1px solid #666;border-left:4px solid var(--cyan);background:#151515;border-radius:6px;margin:15px 0}.safety-banner p{margin:6px 0 0;color:#ccc;font-size:12px;line-height:1.6}.safety-count strong{font-size:26px}.disclaimer{font-size:11px;color:#aaa;line-height:1.6;margin:20px 0}
.room-status{display:inline-block;padding:5px 8px;border:1px solid #666;border-radius:4px}.room-controls form{display:grid;gap:7px}.cancel-button{background:#181818!important;border:1px solid #777!important;color:#fff!important}.cancel-button:hover{border-color:#e04444!important;color:#e04444!important}
body[data-theme="light"] .insight-card,body[data-theme="light"] .panel-light,body[data-theme="light"] .seller-listing,body[data-theme="light"] .market-category-card,body[data-theme="light"] .safety-count{background:#fff!important;color:#111!important;border-color:#999!important}
body[data-theme="light"] .page-title h1,body[data-theme="light"] .panel-light h2,body[data-theme="light"] .insight-card strong,body[data-theme="light"] .seller-listing h3{color:#111}
body[data-theme="light"] .subhead,body[data-theme="light"] .seller-listing p,body[data-theme="light"] .insight-card span,body[data-theme="light"] .seller-title span,body[data-theme="light"] .seller-history,body[data-theme="light"] .insight-row small,body[data-theme="light"] .disclaimer{color:#444}
body[data-theme="light"] .insight-row{color:#111;border-color:#ccc}body[data-theme="light"] .safety-banner{background:#fff;color:#111;border-color:#888}body[data-theme="light"] .safety-banner p{color:#333}
body[data-theme="light"] .status-refunded{color:#222!important}.site-header .nav-button{color:#222}
/* Keep the brand palette strictly monochrome; only final escrow states use color. */
body[data-theme="light"]{--cyan:#315efb;--blue:#315efb;--lime:#315efb;--line:#bbb;--muted:#444;--bg:#f4f4f4;--ink:#111}
body[data-theme="dark"]{--cyan:#6f91ff;--blue:#6f91ff;--lime:#6f91ff;--line:#484848;--muted:#c5c5c5;--bg:#080808;--ink:#fafafa}
body[data-theme="light"] .button.primary,body[data-theme="light"] .button-primary,body[data-theme="light"] .page-body button:not(.nav-button){background:#315efb!important;color:#fff!important;border-color:#315efb!important}
body[data-theme="dark"] .button.primary,body[data-theme="dark"] .button-primary,body[data-theme="dark"] .page-body button:not(.nav-button){background:#6f91ff!important;color:#080808!important;border-color:#6f91ff!important}
.sidebar-link{width:100%;font-family:inherit}.sidebar-link:focus-visible,.button:focus-visible,button:focus-visible,a:focus-visible{outline:2px solid currentColor;outline-offset:2px}
.status-completed{color:#147a36!important}.status-cancelled{color:#c52222!important}
.completed-card{border-color:#258447!important}.completed-card strong{color:#147a36!important}.cancelled-card{border-color:#ba3030!important}.cancelled-card strong{color:#c52222!important}
body[data-theme="light"] .status-completed{color:#147a36!important}body[data-theme="light"] .status-cancelled{color:#c52222!important}
body[data-theme="light"] .completed-card{border-color:#258447!important}body[data-theme="light"] .cancelled-card{border-color:#ba3030!important}
body[data-theme="light"] .sidebar-link{color:#eee}body[data-theme="light"] .sidebar-link:hover,body[data-theme="light"] .sidebar-link.active{background:#333;color:#fff}
body[data-theme="light"] .metric small,body[data-theme="light"] .section-head .eyebrow,body[data-theme="light"] .deal-code,body[data-theme="light"] .seller-category{color:#111!important}
body[data-theme="light"] .button.secondary,body[data-theme="light"] .button.ghost{background:#fff!important;color:#111!important;border-color:#555!important}
body[data-theme="light"] .cancel-button{background:#fff!important;color:#111!important;border-color:#777!important}
body[data-theme="dark"] .site-brand img{filter:invert(1)!important}
.sidebar-brand img{filter:invert(1)!important}
body[data-theme="light"] .site-brand img{filter:none!important}
body[data-theme="light"] .hero-copy h1 span{color:#315efb}
body[data-theme="dark"] .page-body .sidebar-link,body[data-theme="light"] .page-body .sidebar-link{background:transparent!important;color:#c9c9c9!important;border-color:transparent!important}
body[data-theme="dark"] .page-body .sidebar-link:hover,body[data-theme="dark"] .page-body .sidebar-link.active,body[data-theme="light"] .page-body .sidebar-link:hover,body[data-theme="light"] .page-body .sidebar-link.active{background:#202020!important;color:#fff!important;border-color:transparent!important}
body[data-theme="dark"] .page-body .sidebar-toggle,body[data-theme="light"] .page-body .sidebar-toggle{background:#111!important;color:#fff!important;border:1px solid #666!important}
.page-body .sidebar-backdrop{background:#0009!important;border:0!important;box-shadow:none!important}
.page-body .sidebar-logout{background:transparent!important;color:#ddd!important;border:0!important}
.site-header{height:82px}.site-brand img{width:78px!important;height:68px!important}
.sidebar-brand img{width:124px;height:76px;object-fit:contain}
.sidebar-link.active{box-shadow:inset 3px 0 var(--cyan);background:#1e1e1e}
.site-brand small,.sidebar-brand small{color:var(--cyan)!important}
.site-header nav a:hover,.hero-copy h1 span,.seller-category,.safety-banner{border-color:var(--cyan)}
.support-fab{position:fixed;z-index:40;right:22px;bottom:22px;width:66px;height:66px;display:grid;place-items:center;padding:5px;border:1px solid #777;border-radius:50%;background:#101010;box-shadow:0 8px 30px #0008;transition:transform .18s ease,border-color .18s ease}
.support-fab:hover{transform:translateY(-3px) scale(1.04);border-color:var(--cyan)}.support-fab img{width:54px;height:54px}.support-fab .active-dot{position:absolute;right:3px;top:2px;width:14px;height:14px;border:2px solid #111;border-radius:50%;background:#22c55e;box-shadow:0 0 0 2px #22c55e35}
body[data-theme="light"] .support-fab{background:#fff;border-color:#777}.support-fab .support-tip{position:absolute;right:75px;white-space:nowrap;background:#111;color:#fff;border-radius:5px;padding:8px 10px;font-size:11px;opacity:0;pointer-events:none;transition:opacity .15s ease}.support-fab:hover .support-tip,.support-fab:focus-visible .support-tip{opacity:1}
.sidebar-toggle{display:none}.sidebar-backdrop{display:none}
.support-page{padding-bottom:100px}.support-list{margin-top:25px}.support-list>h2{font-size:22px}.support-ticket{border:1px solid #555;border-radius:9px;background:#111;color:#fff;padding:18px;margin:12px 0;animation:portal-in .34s ease both}.support-ticket-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.support-ticket-head small{display:block;color:#aaa;margin-top:4px}.ticket-state{font-size:10px;color:var(--cyan);text-transform:uppercase;letter-spacing:.08em}.support-thread{display:grid;gap:8px;margin:12px 0}.support-message{padding:12px;border-left:3px solid #777;background:#191919;border-radius:4px}.support-message.from-support{border-color:var(--cyan)}.support-message small{display:block;color:#aaa;font-size:10px;margin-top:3px}.support-message p{margin:8px 0 0;white-space:pre-wrap;line-height:1.55}.support-ticket form{margin-top:10px}
body[data-theme="light"] .support-ticket{background:#fff;color:#111;border-color:#aaa}body[data-theme="light"] .support-message{background:#f3f3f3}body[data-theme="light"] .support-message small,body[data-theme="light"] .support-ticket-head small{color:#555}
@keyframes portal-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
.deal-card,.glass-card,.insight-card,.seller-listing,.button{transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease}
.deal-card:hover,.seller-listing:hover,.insight-card:hover{transform:translateY(-2px)}
@media(max-width:760px){.site-header{height:auto}.dashboard-shell{display:block}.app-sidebar{position:fixed;z-index:52;top:0;bottom:0;left:0;width:260px;height:100dvh;min-height:0;display:flex;flex-direction:column;padding:22px 16px;background:#090909;transform:translateX(-105%);transition:transform .24s ease;box-shadow:12px 0 36px #0007}.nav-open .app-sidebar{transform:translateX(0)}.sidebar-brand{margin:0 5px 28px}.sidebar-label{display:block}.sidebar-link{display:flex;justify-content:flex-start;margin:2px 0;padding:11px;font-size:12px}.sidebar-link span{font-size:12px}.sidebar-bottom{display:block;margin-top:auto}.sidebar-bottom>strong{margin:5px 0 13px}.sidebar-controls{margin:10px 0}.sidebar-logout{margin-left:0}.sidebar-backdrop{position:fixed;z-index:51;inset:0;width:100%;height:100%;border:0;background:#0009}.nav-open .sidebar-backdrop{display:block}.sidebar-toggle{display:inline-flex;align-items:center;justify-content:center;flex:0 0 42px;width:42px;height:42px;border:1px solid #666;border-radius:6px;background:#111;color:#fff;font-size:19px}.dash-welcome{display:flex;align-items:center;gap:12px}.dash-welcome>div{flex:1}.support-fab{right:14px;bottom:14px;width:58px;height:58px}.support-fab img{width:46px;height:46px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.01ms!important}}
.workspace-main{width:min(100%,1040px);margin:4px auto 0}.menu-top{display:flex;align-items:center;justify-content:space-between;gap:8px}.menu-close{display:none;border:1px solid #666;border-radius:6px;background:#151515;color:#fff;width:38px;height:38px;font-size:23px;line-height:1}
.portal-dialog{width:min(620px,calc(100% - 24px));max-height:calc(100dvh - 28px);overflow:auto;padding:24px;border:1px solid #555;border-radius:12px;background:#111;color:#fff;box-shadow:0 28px 90px #000a;animation:portal-in .2s ease both}.portal-dialog::backdrop{background:#000a;backdrop-filter:blur(3px)}.portal-dialog h2{font-size:24px;margin:16px 0 6px}.portal-dialog>p{color:#bbb;line-height:1.6;margin:4px 0 20px}.dialog-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.dialog-head .button{padding:9px 12px}.portal-dialog .stack-form{margin-top:16px}.portal-dialog label{color:#eee}.portal-dialog input,.portal-dialog textarea,.portal-dialog select{background:#080808;color:#fff;border:1px solid #666}.portal-dialog .button.primary{background:#6f91ff!important;color:#080808!important;border-color:#6f91ff!important}
body[data-theme="light"] .portal-dialog{background:#fff;color:#111;border-color:#aaa}body[data-theme="light"] .portal-dialog>p,body[data-theme="light"] .portal-dialog label{color:#333}body[data-theme="light"] .portal-dialog input,body[data-theme="light"] .portal-dialog textarea,body[data-theme="light"] .portal-dialog select{background:#fff;color:#111;border-color:#888}.portal-dialog .button.secondary{background:transparent!important;color:inherit!important;border:1px solid #777!important}
@media(max-width:760px){.app-sidebar{left:0;right:auto;bottom:0;width:min(300px,84vw);height:100dvh;min-height:100dvh;padding:16px;transform:translateX(-110%);visibility:hidden;overflow-y:auto}.nav-open .app-sidebar{transform:translateX(0);visibility:visible}.menu-close{display:inline-grid;place-items:center}.sidebar-brand{margin:0 0 20px}.sidebar-label{display:block}.sidebar-link{width:100%;min-height:42px;justify-content:flex-start;padding:10px 12px;font-size:13px}.sidebar-link span{font-size:13px}.sidebar-bottom{display:block;margin-top:auto}.sidebar-backdrop{display:block;position:fixed;z-index:50;inset:0;width:100vw;height:100dvh;padding:0;border:0;border-radius:0;background:#000a!important;opacity:0;visibility:hidden;pointer-events:none}.nav-open .sidebar-backdrop{opacity:1;visibility:visible;pointer-events:auto}.portal-content{padding:18px 14px}.dash-welcome{display:flex;align-items:center;gap:10px}.dash-welcome>div{flex:1;min-width:0}.dash-welcome .button{padding:10px;font-size:11px}.metric-grid{grid-template-columns:1fr 1fr}.metric:last-child{grid-column:1/-1}}
@media(max-width:850px){.seller-directory{grid-template-columns:repeat(2,minmax(0,1fr))}.market-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.insight-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.insights-page{padding:24px 15px}.page-title{display:grid}.seller-directory{grid-template-columns:1fr}.insight-row{grid-template-columns:1fr auto;gap:7px}.insight-row b{grid-column:2;grid-row:1}.insight-row span:nth-child(2){grid-column:1}.currency-grid{grid-template-columns:1fr}.sidebar-brand{margin-bottom:8px}.sidebar-brand img{width:45px;height:45px}}

body[data-theme] .page-body .sidebar-backdrop{background:#000a!important;border:0!important;box-shadow:none!important}

/* Final cascade: drawer controls stay monochrome; action buttons use the blue theme. */
body[data-theme] .page-body .app-sidebar button.sidebar-link:not(.nav-button){background:transparent!important;color:#c9c9c9!important;border:0!important;box-shadow:none!important}
body[data-theme] .page-body .app-sidebar button.sidebar-link:not(.nav-button):hover,body[data-theme] .page-body .app-sidebar button.sidebar-link.active:not(.nav-button){background:#202020!important;color:#fff!important;box-shadow:inset 3px 0 var(--cyan)!important}
body[data-theme] .page-body .app-sidebar .sidebar-toggle,body[data-theme] .page-body .app-sidebar .sidebar-controls button,body[data-theme] .page-body .app-sidebar .sidebar-controls select{background:#111!important;color:#fff!important;border:1px solid #666!important;box-shadow:none!important}
body[data-theme] .page-body .app-sidebar .sidebar-logout{background:transparent!important;color:#ddd!important;border:0!important;box-shadow:none!important}
body[data-theme] .page-body button.sidebar-backdrop{background:#000a!important;color:transparent!important;border:0!important;box-shadow:none!important}
body[data-theme] .portal-dialog button.button.secondary{background:transparent!important;color:inherit!important;border:1px solid #777!important;box-shadow:none!important}
body[data-theme="light"] .portal-dialog button.button.primary{background:#315efb!important;color:#fff!important;border-color:#315efb!important}
body[data-theme="dark"] .portal-dialog button.button.primary{background:#6f91ff!important;color:#080808!important;border-color:#6f91ff!important}

/* Admin workspace: compact operational cards, tidy forms and safe overflow. */
html,body{max-width:100%;overflow-x:clip}.site-header{gap:clamp(10px,2vw,26px)}.site-brand{flex:0 0 auto;gap:14px!important;min-width:0}.site-brand img{width:62px!important;height:62px!important;flex:0 0 62px;object-fit:contain!important}.site-brand>span{white-space:nowrap}.site-header nav{min-width:0;flex-wrap:wrap;align-items:center}.site-header nav form{margin:0}
.support-fab{position:relative!important;inset:auto!important;display:grid!important;float:none!important;margin:16px 24px 12px auto!important;flex:0 0 58px;width:58px!important;height:58px!important;box-shadow:none!important}.support-fab .support-tip{display:none!important}.support-fab .active-dot{right:1px;top:1px}
.admin-panel{max-width:1440px}.admin-nav{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0 22px;padding:10px;border:1px solid #aaa;border-radius:8px;background:#fff}.admin-nav a{display:inline-flex;align-items:center;min-height:38px;padding:8px 12px;border:1px solid #888;border-radius:5px;color:#111;text-decoration:none;font-size:12px}.admin-nav a:hover{background:#111;color:#fff}.admin-stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(135px,1fr));gap:10px}.admin-stat{display:flex;flex-direction:column;gap:9px;min-height:90px;padding:14px;border:1px solid #aaa;border-radius:7px;background:#fff;color:#111;text-decoration:none}.admin-stat span{font-size:11px;color:#444}.admin-stat b{font-size:24px;line-height:1}.admin-stat:hover{border-color:#315efb;transform:translateY(-1px)}.admin-section{scroll-margin-top:18px;margin-top:30px;padding:20px;border:1px solid #aaa;border-radius:8px;background:#fff;color:#111}.admin-section h2{margin:5px 0;font-size:21px}.admin-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:16px}.admin-section-head p{margin:5px 0 0;color:#555;font-size:12px}.admin-filter,.admin-filter label{display:flex;align-items:flex-end;gap:8px;margin:0}.admin-filter label{display:grid;font-size:11px}.admin-filter select,.admin-inline-form select{min-width:145px;padding:9px;border:1px solid #888;border-radius:5px;background:#fff;color:#111}.admin-record-list{display:grid;gap:10px}.admin-record{min-width:0;padding:15px;border:1px solid #bbb;border-radius:7px;background:#fafafa;overflow-wrap:anywhere}.admin-record-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.admin-record-heading small{display:block;margin-top:5px;color:#555;font-size:11px}.admin-record-meta{display:flex;gap:7px 16px;flex-wrap:wrap;margin:13px 0;color:#444;font-size:11px}.admin-action-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:end;margin-top:12px;padding-top:12px;border-top:1px solid #ddd}.admin-action-form label{margin:0;color:#222}.admin-action-form label:has(textarea){grid-column:1/-1}.admin-action-form textarea{min-height:68px;resize:vertical}.admin-action-form button{justify-self:start}.admin-inline-form{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:12px}.admin-note{display:block;margin-top:9px;color:#555}.admin-empty{padding:18px;border:1px dashed #aaa;border-radius:6px;color:#555}.admin-table-wrap{max-width:100%;overflow:auto}.admin-table{width:100%;border-collapse:collapse;font-size:11px}.admin-table th,.admin-table td{padding:10px;text-align:left;vertical-align:top;border-bottom:1px solid #ccc;overflow-wrap:anywhere}.admin-table th{white-space:nowrap;background:#f1f1f1}.admin-shell .support-fab{display:none!important}
.support-page,.support-list,.support-ticket{min-width:0;max-width:100%}.support-ticket{overflow-wrap:anywhere}.support-ticket-head{align-items:flex-start}.support-ticket form.stack-form{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:10px}.support-ticket form.stack-form label{min-width:0;margin:0}.support-ticket form.stack-form button{width:auto;min-width:190px}.support-ticket>form:not(.stack-form){margin:10px 0 0}.support-ticket>form:not(.stack-form) button{width:auto;min-width:160px}
@media(max-width:760px){.site-header{display:flex;flex-wrap:wrap;align-items:center}.site-brand{gap:10px!important}.site-brand img{width:52px!important;height:52px!important;flex-basis:52px}.site-header nav{order:3;width:100%;justify-content:flex-start}.site-controls{margin-left:auto}.support-fab{margin-right:14px!important}.admin-section{padding:14px}.admin-section-head{display:grid;align-items:start}.admin-filter{width:100%;flex-wrap:wrap}.admin-filter label{flex:1}.admin-action-form{grid-template-columns:1fr}.admin-action-form label:has(textarea){grid-column:auto}.support-ticket form.stack-form{grid-template-columns:1fr}.support-ticket form.stack-form button{width:100%}.admin-stat{min-height:78px;padding:11px}.admin-table{min-width:680px}}
@media(max-width:480px){.site-brand img{width:44px!important;height:44px!important;flex-basis:44px}.site-header nav{gap:8px}.site-header nav a{font-size:11px}.site-controls button,.site-controls select{padding:6px;font-size:10px}.admin-stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-nav a{flex:1 1 calc(50% - 8px);justify-content:center}.admin-record-heading{display:grid}.admin-inline-form>*{flex:1 1 100%}.page-title .button{justify-self:start}}
body[data-theme="dark"] .admin-nav,body[data-theme="dark"] .admin-section{background:#111;color:#f5f5f5;border-color:#555}body[data-theme="dark"] .admin-nav a{background:#171717;color:#fff;border-color:#666}body[data-theme="dark"] .admin-nav a:hover{background:#fff;color:#111}body[data-theme="dark"] .admin-stat{background:#111;color:#fff;border-color:#555}body[data-theme="dark"] .admin-stat span,body[data-theme="dark"] .admin-section-head p,body[data-theme="dark"] .admin-record-heading small,body[data-theme="dark"] .admin-record-meta,body[data-theme="dark"] .admin-note,body[data-theme="dark"] .admin-empty{color:#ccc}body[data-theme="dark"] .admin-record{background:#171717;color:#fff;border-color:#555}body[data-theme="dark"] .admin-action-form{border-color:#444}body[data-theme="dark"] .admin-action-form label{color:#eee}body[data-theme="dark"] .admin-filter select,body[data-theme="dark"] .admin-inline-form select{background:#111;color:#fff;border-color:#777}body[data-theme="dark"] .admin-table th{background:#222}body[data-theme="dark"] .admin-table td,body[data-theme="dark"] .admin-table th{border-color:#555}

/* Keep the public navigation visible during page scroll, with the mark and wordmark separate. */
.site-header{position:sticky!important;top:0;z-index:80;backdrop-filter:saturate(120%) blur(10px);box-shadow:0 1px 0 rgba(128,128,128,.24)}
.authenticated-shell .dash-welcome{position:sticky;top:0;z-index:40;padding:12px clamp(12px,2vw,28px);background:var(--page,#fff);border-bottom:1px solid rgba(128,128,128,.35)}
body[data-theme="dark"].authenticated-shell .dash-welcome{background:#090909}
.site-brand{gap:16px!important}.site-brand img{width:76px!important;height:68px!important;flex:0 0 76px!important;object-fit:contain!important}.site-brand>span{font-size:20px!important;font-weight:850!important;letter-spacing:.015em!important}.site-brand small{font-size:.8em!important}
.sidebar-brand{gap:14px!important}.sidebar-brand img{width:84px!important;height:66px!important;flex:0 0 84px!important;object-fit:contain!important}.sidebar-brand>span{font-size:16px!important;letter-spacing:.02em!important}.sidebar-brand small{font-size:.8em!important}
.seller-review-state{display:flex;flex-direction:column;gap:4px;padding:12px 14px;margin:12px 0;border:1px solid #777;border-left:4px solid #555;border-radius:6px;background:#f2f2f2;color:#111}.seller-review-state span{font-size:12px;color:#444}.seller-review-state.approved{border-left-color:#25834b}.seller-review-state.rejected{border-left-color:#bd3434}.seller-review-state.pending{border-left-color:#315efb}
.admin-pagination{display:flex;align-items:center;justify-content:center;gap:14px;flex-wrap:wrap;margin-top:16px}.admin-pagination .button{min-width:116px;text-align:center}
body[data-theme="dark"] .seller-review-state{background:#171717;color:#fff;border-color:#666}body[data-theme="dark"] .seller-review-state span{color:#ccc}
@media(max-width:760px){.site-brand{gap:10px!important}.site-brand img{width:55px!important;height:54px!important;flex-basis:55px!important}.site-brand>span{font-size:17px!important}.sidebar-brand img{width:68px!important;height:56px!important;flex-basis:68px!important}}
@media(max-width:480px){.site-brand img{width:46px!important;height:46px!important;flex-basis:46px!important}.site-brand>span{font-size:15px!important}}
/* Wallet and payment experience */
.wallet-panel,.payment-panel{max-width:960px;margin-inline:auto}.wallet-panel .safety-banner,.payment-disclaimer{border:1px solid var(--line,#bbb);border-left:4px solid var(--ink,#111);border-radius:10px;padding:14px 16px;margin:0 0 20px;background:var(--surface-soft,#f1f1f1);color:var(--ink,#111)}.wallet-page .stack-form label,.payment-page label{display:grid;gap:7px}.wallet-page input:not([type=checkbox]),.payment-page input:not([type=checkbox]),.payment-page textarea{width:100%;min-width:0;padding:13px;border:1px solid var(--line,#999);border-radius:9px;background:var(--surface,#fff);color:var(--ink,#111)}.wallet-page label small,.form-note,.wallet-updated{color:var(--muted,#555);font-size:.88rem}.form-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.wallet-clear-row{display:flex;flex-wrap:wrap;gap:12px 20px}.wallet-clear-row label{display:flex!important;align-items:center;gap:8px}.wallet-clear-row input{accent-color:var(--ink,#111)}.wallet-inline-link{display:inline-block;margin:4px 0 16px;color:var(--ink,#111);text-decoration:underline;text-underline-offset:3px}.payment-method-card{border:1px solid var(--line,#aaa);border-radius:14px;background:var(--surface,#fff);padding:20px;margin:18px 0}.payment-total{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:16px;border:1px solid var(--line,#aaa);border-radius:10px;background:var(--surface-soft,#f2f2f2)}.payment-total strong{font-size:1.15rem}.payment-progress{display:flex;align-items:center;gap:14px;margin:18px 0;padding:15px;border:1px solid var(--line,#aaa);border-radius:12px;background:var(--surface-soft,#f4f4f4);color:var(--ink,#111)}.payment-progress[hidden]{display:none}.payment-progress small{display:block;color:var(--muted,#555);margin-top:3px}.payment-spinner{width:34px;height:34px;flex:none;border:3px solid var(--line,#aaa);border-top-color:var(--accent,#315bff);border-radius:50%;animation:xw-spin .85s linear infinite}.payment-progress:not(.is-active) .payment-spinner{animation-play-state:paused;opacity:.5}.payment-actions{display:flex;flex-wrap:wrap;gap:10px}.payment-state{min-height:1.4em;color:var(--ink,#111)}.admin-action-form{display:grid;gap:12px}.admin-action-form label{display:grid;gap:6px}.admin-action-form input,.admin-action-form textarea,.admin-action-form select{width:100%;padding:11px;border:1px solid var(--line,#999);border-radius:8px;background:var(--surface,#fff);color:var(--ink,#111)}.admin-record-meta{display:flex;flex-wrap:wrap;gap:8px 18px}.admin-note{display:block;padding:10px 0;color:var(--muted,#555)}
@keyframes xw-spin{to{transform:rotate(360deg)}}
html[data-theme=dark] .wallet-panel,html[data-theme=dark] .payment-panel,body.dark-mode .wallet-panel,body.dark-mode .payment-panel{--surface:#151515;--surface-soft:#202020;--ink:#f5f5f5;--muted:#c1c1c1;--line:#555;--accent:#8197ff;color:var(--ink)}
@media(max-width:640px){.form-pair{grid-template-columns:1fr}.payment-total{align-items:flex-start;flex-direction:column}.wallet-clear-row{display:grid;grid-template-columns:1fr 1fr}.payment-method-card{padding:15px}}

/* Light mode is complete across the standalone account, support and operations pages. */
body[data-theme="light"] .support-ticket,
body[data-theme="light"] .support-message,
body[data-theme="light"] .admin-record,
body[data-theme="light"] .admin-stat,
body[data-theme="light"] .admin-section,
body[data-theme="light"] .admin-nav,
body[data-theme="light"] .admin-upload,
body[data-theme="light"] .admin-add-form,
body[data-theme="light"] .admin-table,
body[data-theme="light"] .admin-table-wrap,
body[data-theme="light"] .market-category-card,
body[data-theme="light"] .insight-card,
body[data-theme="light"] .seller-listing,
body[data-theme="light"] .safety-count,
body[data-theme="light"] .payment-method-card,
body[data-theme="light"] .support-page .panel-light,
body[data-theme="light"] .simple-page,
body[data-theme="light"] .auth-card {
  background:#fff!important;
  color:#111!important;
  border-color:#b7b7b7!important;
  box-shadow:0 8px 24px rgba(0,0,0,.06)!important;
}
body[data-theme="light"] .support-ticket h1,
body[data-theme="light"] .support-ticket h2,
body[data-theme="light"] .support-ticket h3,
body[data-theme="light"] .support-message b,
body[data-theme="light"] .admin-record b,
body[data-theme="light"] .admin-stat b,
body[data-theme="light"] .admin-section h2,
body[data-theme="light"] .admin-upload h3,
body[data-theme="light"] .admin-add-form h3,
body[data-theme="light"] .insights-page h1,
body[data-theme="light"] .insights-page h2,
body[data-theme="light"] .insights-page h3,
body[data-theme="light"] .simple-page h1,
body[data-theme="light"] .simple-page h2,
body[data-theme="light"] .auth-card h1 {color:#111!important}
body[data-theme="light"] .support-ticket p,
body[data-theme="light"] .support-ticket small,
body[data-theme="light"] .support-message p,
body[data-theme="light"] .support-message small,
body[data-theme="light"] .admin-record small,
body[data-theme="light"] .admin-record-meta,
body[data-theme="light"] .admin-section p,
body[data-theme="light"] .admin-upload p,
body[data-theme="light"] .subhead,
body[data-theme="light"] .ticket-state,
body[data-theme="light"] .admin-empty,
body[data-theme="light"] .admin-stat span,
body[data-theme="light"] .site-copyright {color:#444!important}
body[data-theme="light"] .support-message,
body[data-theme="light"] .admin-table th,
body[data-theme="light"] .admin-nav a,
body[data-theme="light"] .admin-record-meta span,
body[data-theme="light"] .admin-stat {border-color:#c5c5c5!important}
body[data-theme="light"] .admin-table th,
body[data-theme="light"] .support-message.from-support {background:#f2f2f2!important}
body[data-theme="light"] .support-ticket textarea,
body[data-theme="light"] .support-ticket input,
body[data-theme="light"] .admin-record input,
body[data-theme="light"] .admin-record textarea,
body[data-theme="light"] .admin-record select,
body[data-theme="light"] .admin-filter select,
body[data-theme="light"] .admin-inline-form select {background:#fff!important;color:#111!important;border-color:#888!important}
body[data-theme="light"] .admin-nav a {background:#f3f3f3!important;color:#111!important}
body[data-theme="light"] .admin-nav a:hover {background:#111!important;color:#fff!important}
body[data-theme="light"] .site-header .site-controls button,
body[data-theme="light"] .site-header .site-controls select {background:#fff!important;color:#111!important;border-color:#777!important}

/* Let the document scroll as one page instead of pinning the top and side rails. */
html,body {height:auto!important;min-height:100%;overflow-y:auto!important}
.site-header,.authenticated-shell .dash-welcome,.app-sidebar {position:static!important;top:auto!important}
.app-sidebar {height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important;transform:none!important;visibility:visible!important}
.support-fab {position:fixed!important;right:22px!important;bottom:22px!important;top:auto!important;left:auto!important;inset:auto 22px 22px auto!important;z-index:90!important;display:grid!important;margin:0!important;float:none!important}
.site-brand>span,.sidebar-brand>span {margin-left:12px!important;white-space:nowrap!important}
.status-completed,.state-pill.status-completed,.room-status.status-completed {background:#fff!important;color:#16803c!important;border:1px solid #16803c!important;box-shadow:none!important}
.status-cancelled,.state-pill.status-cancelled,.room-status.status-cancelled {background:transparent!important;color:#c52222!important;border-color:transparent!important;box-shadow:none!important}
.deposit-address-row {display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:12px 0;padding:12px;border:1px solid var(--line,#888);border-radius:8px;background:var(--surface-soft,#f2f2f2)}
.deposit-address-row code {display:block;flex:1 1 250px;min-width:0;overflow-wrap:anywhere;color:var(--ink,#111);font-size:12px}
.deposit-address-row button {flex:0 0 auto}
@media(max-width:760px) {
  .app-sidebar {display:none!important;width:100%!important;padding:16px!important;border:1px solid #555!important}
  body.nav-open .app-sidebar {display:flex!important}
  .sidebar-backdrop,body.nav-open .sidebar-backdrop {display:none!important;position:static!important}
  .app-sidebar .sidebar-bottom {margin-top:12px!important}
  .support-fab {margin-right:14px!important}
}

/* The member workspace keeps a stable navigation rail; only its content scrolls. */
.dashboard-shell .app-sidebar {position:fixed!important;inset:0 auto 0 0!important;width:232px!important;height:100dvh!important;max-height:100dvh!important;min-height:0!important;overflow-y:auto!important;overscroll-behavior:contain;z-index:80!important;align-self:auto!important}
.dashboard-shell .portal-content {margin-left:232px!important;min-width:0}
.dashboard-shell .sidebar-label {display:block!important}
.dashboard-shell .sidebar-link {justify-content:flex-start!important}
.dashboard-shell .menu-close {display:none}
@media(max-width:760px) {
  .dashboard-shell {display:block!important;min-height:100vh}
  .dashboard-shell .app-sidebar {display:flex!important;position:fixed!important;inset:0 auto 0 0!important;width:min(86vw,320px)!important;height:100dvh!important;max-height:100dvh!important;min-height:0!important;padding:20px 16px!important;overflow-y:auto!important;transform:translateX(-110%)!important;transition:transform .22s ease!important;z-index:122!important;border-right:1px solid #555!important;border-bottom:0!important;box-shadow:14px 0 38px #0008}
  body.nav-open .dashboard-shell .app-sidebar {transform:translateX(0)!important}
  .dashboard-shell .menu-close {display:inline-grid;place-items:center;width:40px;height:40px;border:1px solid #666;border-radius:6px;background:#171717;color:#fff;font-size:22px}
  .dashboard-shell .menu-top {display:flex;align-items:center;justify-content:space-between;gap:8px}
  .dashboard-shell .sidebar-label {display:block!important;margin:14px 10px 8px!important}
  .dashboard-shell .sidebar-link {display:flex!important;width:100%;justify-content:flex-start!important;margin:2px 0!important;padding:11px!important;font-size:12px!important}
  .dashboard-shell .sidebar-link span {font-size:12px!important}
  .dashboard-shell .sidebar-bottom {display:block!important;margin-top:auto!important;padding-top:15px!important}
  .dashboard-shell .sidebar-bottom>strong {margin:5px 0 13px!important}
  .dashboard-shell .sidebar-controls {margin:10px 0!important}
  .dashboard-shell .sidebar-logout {margin:0!important}
  .dashboard-shell .sidebar-backdrop {display:none!important;position:fixed!important;inset:0!important;width:100vw!important;height:100dvh!important;z-index:121!important;background:#0009!important}
  body.nav-open .dashboard-shell .sidebar-backdrop {display:block!important}
  .dashboard-shell .portal-content {margin:0!important;padding:22px 15px 14px!important}
}

/* Landing-page payment preview: active controls, with no fabricated usage figures. */
.dashboard-shell {display:block!important;min-height:100vh}
.deal-preview {display:grid;gap:13px;width:min(100%,460px);transform:none!important}
.deal-preview>label,.deal-preview label {display:grid;gap:6px;color:var(--ink,#111);font-size:11px;font-weight:700}
.deal-preview input,.deal-preview select {min-width:0;width:100%;padding:10px 11px;border:1px solid #888;border-radius:6px;background:#fff;color:#111;font:inherit}
.preview-badge {padding:5px 8px;border:1px solid #888;border-radius:20px;color:#444;font-size:9px}
.preview-price {display:grid;grid-template-columns:1fr auto;align-items:end;gap:12px}
.amount-input {display:grid;grid-template-columns:85px minmax(0,1fr);gap:6px}
.preview-price>strong {font-size:16px;white-space:nowrap}
.preview-methods {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.preview-method {padding:9px 5px;border:1px solid #888;border-radius:5px;background:transparent;color:var(--ink,#111);font-size:10px;font-weight:700;cursor:pointer}
.preview-method.active {background:#111!important;color:#fff!important;border-color:#111!important}
.preview-phone[hidden],.preview-method[hidden] {display:none!important}
.preview-breakdown {display:grid;gap:7px;padding:11px 0;border-top:1px solid #888;border-bottom:1px solid #888;color:var(--ink,#111);font-size:10px}
.preview-breakdown span {display:flex;justify-content:space-between;gap:10px}
.preview-breakdown b {text-align:right}
.preview-breakdown .preview-due {padding-top:7px;border-top:1px solid #aaa;font-size:12px;font-weight:800}
.preview-note {color:#555;font-size:9px;line-height:1.5}
.hero-proof {display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:24px}
.hero-proof>div {display:grid;gap:4px;padding:11px;border-top:2px solid #555}
.hero-proof b {font-size:12px}.hero-proof small {color:#888;font-size:9px;line-height:1.4}
.how-grid article {border-top:2px solid #777}
.sidebar-section-label {margin-top:14px!important;margin-bottom:4px!important;padding-top:9px;border-top:1px solid #333}
body[data-theme="dark"] .deal-preview>label,body[data-theme="dark"] .deal-preview label,body[data-theme="dark"] .preview-price>strong,body[data-theme="dark"] .preview-breakdown {color:#f5f5f5}
body[data-theme="dark"] .deal-preview input,body[data-theme="dark"] .deal-preview select {background:#090909;color:#fff;border-color:#777}
body[data-theme="dark"] .preview-method {color:#eee;border-color:#777}
body[data-theme="dark"] .preview-method.active {background:#fff!important;color:#111!important;border-color:#fff!important}
body[data-theme="dark"] .preview-note,body[data-theme="dark"] .hero-proof small {color:#bbb}
body[data-theme="dark"] .preview-badge {color:#ddd;border-color:#777}
@media(max-width:520px) {.hero-proof {grid-template-columns:1fr 1fr}.hero-proof>div:last-child {grid-column:1/-1}.preview-methods {grid-template-columns:1fr 1fr}.preview-price {grid-template-columns:1fr}.preview-price>strong {font-size:14px}}

/* Keep the live indicator attached to the support control across themes and breakpoints. */
.support-fab {position:fixed!important;inset:auto 22px 22px auto!important;z-index:100!important;margin:0!important}
.support-fab>.active-dot {position:absolute!important;inset:2px 2px auto auto!important;z-index:2!important;transform:none!important}
@media(max-width:760px) {.support-fab {inset:auto 14px 14px auto!important;margin:0!important}}

/* Deal status labels stay legible without dark badge fills. */
.deal-card .state-pill.status-completed,
.room-hero .room-status.status-completed,
.room-summary .status-completed,
.status-completed.state-pill {background:#fff!important;background-image:none!important;color:#16803c!important;border:1px solid #16803c!important;box-shadow:none!important}
.deal-card .state-pill.status-cancelled,
.room-hero .room-status.status-cancelled,
.room-summary .status-cancelled,
.status-cancelled.state-pill {background:transparent!important;background-color:transparent!important;background-image:none!important;color:#c52222!important;border:0!important;box-shadow:none!important}
body[data-theme="dark"] .deal-card .state-pill.status-completed,
body[data-theme="dark"] .room-hero .room-status.status-completed,
body[data-theme="dark"] .room-summary .status-completed {background:#fff!important;color:#16803c!important}
body[data-theme="dark"] .deal-card .state-pill.status-cancelled,
body[data-theme="dark"] .room-hero .room-status.status-cancelled,
body[data-theme="dark"] .room-summary .status-cancelled {background:transparent!important;color:#c52222!important}
/* USDT kiosk order flow */
.kiosk-page{max-width:1180px}.kiosk-market{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 24px;align-items:center;margin:22px 0;padding:22px}.kiosk-market p{margin:6px 0 0;color:var(--muted,#555)}.kiosk-quotes{display:flex;gap:10px;flex-wrap:wrap}.quote-value,.quote-unavailable{padding:11px 14px;border:1px solid var(--line,#aaa);border-radius:9px;font-weight:700}.quote-unavailable{color:#a22}.kiosk-asof{grid-column:1/-1;color:var(--muted,#666)}.kiosk-trade{max-width:780px;margin:22px auto;padding:24px}.kiosk-direction{display:flex;gap:10px;margin:16px 0}.kiosk-direction button.is-selected{background:#17191d;color:white;border-color:#17191d}.kiosk-total{display:flex;justify-content:space-between;gap:12px;padding:14px;border:1px solid var(--line,#aaa);border-radius:9px;background:var(--surface-soft,#f2f2f2)}.kiosk-total strong{font-size:1.12rem}.kiosk-history{margin-top:34px}.kiosk-orders{display:grid;gap:14px}.kiosk-order{padding:18px;border:1px solid var(--line,#aaa);border-radius:12px;background:var(--surface,#fff);color:var(--ink,#111)}.kiosk-order-head{display:flex;justify-content:space-between;gap:14px;align-items:flex-start}.kiosk-order h3{margin:5px 0}.kiosk-order-head small{color:var(--muted,#666)}.kiosk-status{padding:5px 9px;border:1px solid currentColor;border-radius:999px;font-size:.8rem}.kiosk-completed{color:#207447}.kiosk-cancelled{color:#a33}.kiosk-order-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:16px 0}.kiosk-order-grid span{color:var(--muted,#666);font-size:.82rem}.kiosk-order-grid strong{display:block;margin-top:5px;color:var(--ink,#111);overflow-wrap:anywhere}.kiosk-instruction{overflow-wrap:anywhere}.kiosk-copy{min-height:38px}.kiosk-page [hidden]{display:none!important}
body[data-theme="dark"] .kiosk-direction button.is-selected{background:#f4f4f4;color:#111;border-color:#f4f4f4}body[data-theme="dark"] .quote-unavailable{color:#ff8585}body[data-theme="dark"] .kiosk-completed{color:#72cf9c}body[data-theme="dark"] .kiosk-cancelled{color:#ff8d8d}
@media(max-width:700px){.kiosk-market{grid-template-columns:1fr}.kiosk-asof{grid-column:auto}.kiosk-order-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.kiosk-order-head{flex-direction:column}.kiosk-trade{padding:16px}}
.kiosk-crypto-output{display:grid;gap:10px;justify-items:start;margin-top:14px}.kiosk-crypto-output img{max-width:100%;height:auto;border:1px solid var(--line,#aaa);border-radius:10px;background:#fff;padding:8px}.kiosk-crypto-output .deposit-address-row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.kiosk-crypto-output code{display:block;max-width:100%;overflow-wrap:anywhere;padding:10px;border:1px solid var(--line,#aaa);border-radius:8px;background:var(--surface-soft,#f2f2f2);color:var(--ink,#111)}.kiosk-order .payment-progress{margin:12px 0}
.kiosk-deposit-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:14px 0}.kiosk-deposit-card{padding:14px;border:1px solid var(--line,#aaa);border-radius:12px;background:var(--surface,#fff)}.kiosk-deposit-card.is-selected{border:2px solid var(--ink,#111);box-shadow:0 0 0 2px color-mix(in srgb,var(--ink,#111) 12%,transparent)}.kiosk-deposit-card>div{display:grid;justify-items:start;gap:10px}.kiosk-deposit-card img{background:#fff;border:1px solid var(--line,#aaa);border-radius:9px;padding:6px}.kiosk-deposit-card code{overflow-wrap:anywhere;max-width:100%;padding:9px;border:1px solid var(--line,#aaa);border-radius:8px;background:var(--surface-soft,#f2f2f2);color:var(--ink,#111)}.google-signin-button{width:100%;max-width:400px;min-height:44px;margin:0 auto}.google-signin-unavailable{margin-top:10px}.site-controls [data-pwa-install]{white-space:nowrap}
@media(max-width:700px){.kiosk-deposit-options{grid-template-columns:1fr}}

.kiosk-service-section{margin:56px auto;padding:clamp(24px,5vw,54px);max-width:1240px;border:1px solid var(--line,#bbb);border-radius:20px;background:var(--surface,#fff);color:var(--ink,#111)}.kiosk-service-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:24px 0}.kiosk-service-grid article{padding:20px;border:1px solid var(--line,#bbb);border-radius:14px;background:var(--surface-soft,#f5f5f5)}.kiosk-service-grid h3{margin:9px 0}.kiosk-service-grid p{color:var(--muted,#555);line-height:1.6}@media(max-width:760px){.kiosk-service-grid{grid-template-columns:1fr}}
/* Admin website controls: keep the maintenance switch compact and easy to scan. */
.admin-settings-form{max-width:860px}.admin-settings-form .admin-maintenance-toggle{display:flex!important;align-items:center;gap:11px;font-weight:750}.admin-settings-form .admin-maintenance-toggle input[type="checkbox"]{width:19px!important;height:19px!important;flex:0 0 19px;margin:0;accent-color:#3157df}.admin-settings-form>.form-note{text-align:left}
