/* Unified usability layer. Scope functional surfaces and preserve brand assets. */
:root{--control-radius:12px;--readable-line:1.7;scroll-padding-top:110px}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.site-skip{position:fixed;top:12px;left:12px;z-index:10000;transform:translateY(-180%);background:#efd7a3;color:#0b1523;padding:14px 20px}.site-skip:focus{transform:none}
.site-search-trigger{position:fixed;right:22px;top:10px;z-index:45;background:#101e2df0;color:#d9e7ef;border:1px solid #8eb4bb55;padding:8px 12px;border-radius:9px;font-size:12px;backdrop-filter:blur(12px)}.site-search-trigger kbd{margin-left:8px;font:10px monospace;color:#9bb5c7}.site-command{width:min(560px,92vw);max-height:85dvh;border:1px solid #9ebec066;border-radius:20px;background:#0e1b2a;color:#e5eef5;padding:24px;box-shadow:0 30px 100px #0009}.site-command::backdrop{background:#020810bf;backdrop-filter:blur(6px)}.site-command header{display:flex;align-items:center;justify-content:space-between;gap:20px}.site-command header button{font-size:26px;background:transparent;color:#e5eef5;border:0;min-width:44px;min-height:44px}.site-command h2{font-size:24px}.site-command input{width:100%;padding:16px;color:#e5eef5;background:#14273a;border:1px solid #66859b;border-radius:10px;font-size:16px}.site-command nav{display:grid;gap:7px}.site-command nav a{display:grid;gap:5px;color:#e5eef5;text-decoration:none;padding:12px 15px;border:1px solid #42586b66;border-radius:10px}.site-command nav a:hover{background:#83e5e214;border-color:#83e5e288}.site-command small{color:#adbfce}.site-top{position:fixed;left:22px;bottom:100px;z-index:35;width:44px;height:44px;border-radius:50%;background:#142535;color:#edd6a2;border:1px solid #edd6a277}.public-menu-trigger,.public-mobile-menu{display:none}
.system-page{max-width:760px;min-height:80vh;margin:auto;padding:100px 24px;background:radial-gradient(ellipse at top,#83e5e212,transparent 65%)}.system-page h1{font-size:clamp(34px,6vw,58px);color:#efd7a3}.system-page p{line-height:1.7;color:#b9cbd8}.system-page img{object-fit:contain}.system-page .portal-actions{margin-top:30px}
/* 1: consistent focus; 2: text selection; 3: anchored section spacing */
:where(button,a,input,select,textarea,summary,[tabindex]):focus-visible{outline:2px solid #8ce4df;outline-offset:4px}::selection{background:#b89a5e;color:#07121e}section[id],.admin-detail,.conversation,.order-detail{scroll-margin-top:110px}
/* Forms readable on iOS and errors independent of color */
:where(.portal,.checkout-shell,.login-page) :is(input,textarea,select){font-size:16px;accent-color:#e8cc91}.login-card fieldset{border:0;padding:0;margin:0;min-width:0}.login-card fieldset:disabled{opacity:.65}.login-card fieldset input{width:100%}.login-card .check-label input{width:auto}.login-card .password-visibility{margin:0 0 16px;background:transparent;color:#8ce4df;border:1px solid #8ce4df55}.auth-help{margin:24px 0;line-height:1.65}.auth-help summary{cursor:pointer}.auth-help a{color:#efd7a3}.login-card [aria-invalid=true],.portal [aria-invalid=true]{border-color:#ed9b9b;box-shadow:0 0 0 1px #ed9b9b55}.portal textarea{resize:vertical;min-height:100px;line-height:1.65}.portal :is(input,textarea)::placeholder,.login-page input::placeholder{color:#91a8bc;opacity:1}
/* More legible content, headings, numbers and long identifiers */
:where(.portal,.checkout-shell,.login-page,.max-information) p{line-height:var(--readable-line)}:where(.portal,.checkout-shell) h2{line-height:1.2;text-wrap:balance}:where(.portal,.checkout-shell) :is(.wallet-address,code,dd,.ticket-row small){overflow-wrap:anywhere}.portal :is(.portal-metrics strong,.admin-summary strong,.payment-receipt strong,td){font-variant-numeric:tabular-nums}.portal .portal-card>h2+.small{max-width:75ch}.portal .portal-alert,.portal .portal-notice{border-left-width:4px;padding:16px 20px}.portal .portal-alert a,.portal .portal-notice a{text-decoration:underline;text-underline-offset:3px}.portal .empty-state{padding:32px 20px;text-align:center;border:1px dashed #69899c66;border-radius:14px;color:#b8cad6}
/* Admin tables remain usable in narrow windows */
.portal .table-scroll{max-height:65vh;overflow:auto;overscroll-behavior:contain;border:1px solid #516d8055;border-radius:12px;margin-top:16px}.portal table{width:100%;border-collapse:separate;border-spacing:0}.portal table th{position:sticky;top:0;z-index:2;background:#132536;color:#dceaf1;text-align:left;padding:15px}.portal table td{padding:16px 15px;border-bottom:1px solid #516d8044;vertical-align:top}.portal tbody tr:nth-child(even){background:#83e5e205}.portal tbody tr:hover{background:#83e5e210}.portal td small{display:block;margin-top:5px;color:#aac0d0}.portal .admin-pagination{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px;padding-top:20px}.portal .admin-pagination span{flex:1;text-align:center;min-width:180px;color:#b9cad5}.portal .admin-detail{border-color:#d9bb7e88;box-shadow:0 0 0 1px #d9bb7e15,0 20px 60px #0003}.portal .admin-filters{align-items:end;gap:14px}.portal .admin-filters label{display:grid;gap:8px}.portal .admin-search label{min-width:0}.portal .admin-search input{width:100%}
/* Transaction stages, review and download feedback */
.payment-steps li[aria-current=step]{border-color:#e9ce92!important;background:#e9ce9215;color:#f1deb6!important}.payment-steps li.step-complete{border-color:#83e5e277;color:#b7eee8}.payment-steps li.step-complete b{color:#83e5e2}.withdraw-presets{display:flex;flex-wrap:wrap;gap:8px;margin-block:12px}.withdraw-presets button{font-size:13px;padding:10px 14px}.portal .withdraw-review:focus{outline:2px solid #8ce4df;outline-offset:4px}.bot-download-action progress{display:block;width:100%;height:8px;margin-top:18px;accent-color:#83e5e2}.portal .bot-download-guide{border-top:1px solid #516d8066;margin-top:32px;padding-top:28px}
/* Conversation and support readability */
.portal .portal-messages{max-height:60vh;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding-right:6px}.portal .portal-messages p{white-space:pre-wrap;overflow-wrap:anywhere}.portal .portal-messages article{margin-bottom:14px}.portal .conversation-head{align-items:flex-start;gap:16px}.portal .conversation-head h2{overflow-wrap:anywhere}.portal .ticket-row[aria-pressed=true]{border-left:3px solid #e9ce92;background:#e9ce920c}.max-support-body{overscroll-behavior:contain}.support-email{display:block;margin:15px 0;color:#efd7a3}.max-support-panel .max-support-topics button{min-height:56px}.portal .ref-avatar{object-fit:contain}.portal .tree-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px}.portal .tree-list .ref-node{width:100%;min-width:0}.portal .referral-share input{font-family:monospace;font-size:14px}
@media(max-width:800px){.site-search-trigger{right:14px;top:auto;bottom:100px;font-size:12px}.site-search-trigger kbd{display:none}.public-menu-trigger{display:block;position:fixed;left:18px;top:12px;z-index:65;min-height:44px;background:#142535f5;color:#efd7a3;border:1px solid #efd7a366;border-radius:10px;padding:10px 18px}.public-mobile-menu{display:grid;position:fixed;top:64px;left:16px;right:16px;max-height:75dvh;overflow:auto;z-index:64;padding:16px;background:#0e1b2afc;border:1px solid #688a9b;border-radius:16px;box-shadow:0 20px 60px #0009}.public-mobile-menu a{display:flex;justify-content:space-between;gap:20px;padding:13px;color:#dceaf1;text-decoration:none;border-bottom:1px solid #516d8044}.public-mobile-menu a[aria-current=page]{color:#efd7a3}.max-site>header.wrap{padding-top:65px}.max-information .info-shared-header header{padding-top:65px}.portal .support-workspace{grid-template-columns:1fr}.portal .conversation{min-width:0}.portal .admin-filters>*{max-width:100%}.portal .withdraw-input-row{flex-wrap:wrap}.portal .withdraw-input-row input{flex:1;min-width:180px}.portal .payment-receipt>div{min-width:0}.portal .portal-main{padding-bottom:calc(130px + env(safe-area-inset-bottom))}.portal .admin-pagination span{order:-1;flex-basis:100%}.portal .referral-hero h2{font-size:clamp(28px,7vw,42px)}.max-support-panel{max-height:85dvh}.site-command{padding:20px}.site-top{bottom:155px}.guide-header{padding-top:70px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
@media print{.portal-sidebar,.portal-top,.portal-menu-toggle,.dash-mobile-nav,.site-search-trigger,.site-top,.max-support-trigger,.max-support-panel,.public-menu-trigger,.fx-tools,.live-tape,button,form,.market-center,.offer-notice{display:none!important}body,.portal,.portal-main,.portal-card,.checkout-shell{background:#fff!important;color:#111!important;box-shadow:none!important}.portal-main{padding:0!important}.portal{display:block!important}h1,h2,h3,p,span,strong,code,dd,dt{color:#111!important}.portal-card,.order-detail,.reward-row{break-inside:avoid;border:1px solid #bbb!important}.wallet-address{overflow-wrap:anywhere}.table-scroll{max-height:none!important;overflow:visible!important}a{color:#111!important}.site-command{display:none!important}}
body:has(.portal) .site-search-trigger{top:auto;bottom:170px;right:22px}body:has(.portal) .max-support-trigger{bottom:95px}.portal :is(.withdraw-review,.admin-detail,.conversation):focus{outline:2px solid #8ce4df;outline-offset:4px}.portal .portal-actions{flex-wrap:wrap}.portal .bot-download-action button{white-space:normal}.guide-header nav{flex-wrap:wrap}.max-information .info-index a{min-height:40px;display:flex;align-items:center}@media(max-width:800px){body:has(.portal) .site-search-trigger{right:14px;bottom:170px}.portal .support-workspace{display:grid;grid-template-columns:minmax(0,1fr)}}
/* Mobile refinement: one header row and no duplicate floating search. */
.mobile-header-menu{display:none}.live-tape{min-height:0;padding-bottom:10px}.market-widget-tape .market-widget-host{height:100px}
@media(max-width:800px){
 .max-site>header.wrap,.max-information .info-shared-header>header{display:flex;flex-wrap:nowrap;align-items:center;gap:10px;min-height:76px;padding:12px 14px;top:8px;margin-top:8px;border-radius:16px}
 .max-site>header.wrap>nav,.max-information .info-shared-header>header>nav{display:none}
 .max-site>header .wordmark,.max-information .info-shared-header .wordmark{margin:0;flex:0 0 auto}
 .max-site>header .brand-logo,.max-information .info-shared-header .brand-logo{width:44px;height:44px;max-width:44px;max-height:44px}
 .max-site>header .navcta,.max-information .info-shared-header .navcta{margin-left:auto;padding:12px;min-height:44px;font-size:11px;display:inline-flex;align-items:center}
 .mobile-header-menu,.max-site .mobile-header-menu{position:static;display:inline-flex;align-items:center;justify-content:center;gap:8px;flex:0 0 auto;min-height:44px;margin:0;padding:10px 12px;border:1px solid #688a9b77;border-radius:9px;background:#142535;color:#eed39a;clip-path:none;font:600 12px Arial}
 .mobile-header-menu span{font-size:18px}.public-mobile-menu{top:94px;max-height:calc(100dvh - 118px);left:4.5%;right:4.5%;padding:10px}
 .guide-header{padding:14px 0;display:flex;align-items:center;gap:12px}.guide-header>nav{display:none}.guide-header .mobile-header-menu{margin-left:auto}.guide-header .guide-back{font-size:13px}
 .max-site .hero{min-height:0;padding-block:36px 42px;gap:28px}.max-site .hero h1{font-size:clamp(34px,8.8vw,48px);line-height:1.1;letter-spacing:-1.7px}.max-site .hero h1 em{letter-spacing:-1.7px}
 .max-site .hero .eyebrow{max-width:100%;font-size:9px;letter-spacing:1.2px;padding:8px 11px;line-height:1.5;white-space:normal}.max-site .hero .intro{font-size:16px;line-height:1.7;margin-block:22px}
 .max-site .hero-copy .actions{display:flex;flex-direction:column;align-items:stretch;gap:12px}.max-site .hero-copy .actions .button{width:100%;min-height:52px;padding:16px 18px;font-size:15px;text-align:center;justify-content:center}.max-site .hero-copy .actions .text-link{align-self:center;font-size:14px;padding:8px 0;line-height:1.4}
 .max-site .launch-ribbon{display:flex;flex-wrap:wrap;gap:12px;padding:16px}.max-site .launch-ribbon span{font-size:12px;line-height:1.5;flex:1 1 170px}.max-site .launch-ribbon strong{font-size:24px}.max-site .launch-ribbon>a{flex-basis:100%;font-size:13px}
 .fx-tools{left:12px;bottom:calc(86px + env(safe-area-inset-bottom));padding:3px;gap:0;box-shadow:0 6px 18px #0003}.fx-tools button,.fx-tools a{min-height:36px;padding:8px}.fx-tools button:first-child span{display:none}.fx-tools button:first-child{width:36px;justify-content:center}
 .max-support-trigger{right:12px;bottom:calc(86px + env(safe-area-inset-bottom));width:48px;height:48px;min-width:48px;min-height:48px;padding:10px}.max-support-trigger svg{width:23px;height:23px}.max-support-trigger>span{display:none}
 .live-tape{margin-top:10px;padding-top:0;padding-bottom:8px;border-bottom-color:#435d6c55;background:#0b1420}.market-widget-tape .market-widget-host{height:100px}
}
@media(max-width:360px){.max-site>header.wrap,.max-information .info-shared-header>header{gap:6px;padding:10px}.max-site>header .navcta{padding:10px;font-size:10px}.mobile-header-menu,.max-site .mobile-header-menu{padding:10px;font-size:11px}}
/* Commercial assistant remains inside the existing support dialog. */
.support-mode{display:flex;gap:8px;padding:12px 18px;border-bottom:1px solid #526e8044}.support-mode button{flex:1;min-height:44px;background:#152b3d;color:#c8dce8;border:1px solid #526e8077;border-radius:9px;padding:9px}.support-mode button[aria-pressed=true]{color:#efd7a3;border-color:#efd7a399}.sales-assistant{color:#dbe8f1}.sales-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.sales-heading h3{font-size:16px}.sales-assistant label{display:grid;gap:7px;margin:12px 0}.sales-assistant :is(input,select,textarea){width:100%;min-width:0;background:#152b3d;color:#edf4f8;padding:12px;border:1px solid #5c7a8b;border-radius:8px;font-size:16px}.sales-assistant button{min-height:44px;border:1px solid #63879966;background:#173044;color:#dceef4;padding:10px 14px;border-radius:9px}.sales-assistant .gold{background:#efd7a3;color:#112131}.sales-topics{display:flex;flex-wrap:wrap;gap:7px}.sales-topics button{font-size:12px;padding:8px 10px}.sales-history{max-height:260px;overflow:auto;overscroll-behavior:contain}.sales-history article,.crm-message{padding:16px;margin-block:12px;border:1px solid #63879955;background:#14283a;border-radius:10px;overflow-wrap:anywhere}.sales-history p,.crm-message p{font-size:14px;line-height:1.6}.sales-history a,.sales-assistant a{color:#efd7a3}.sales-assistant details{margin-top:22px}.sales-assistant .sales-consent{display:block;font-size:12px;line-height:1.6}.sales-consent input{width:auto;margin-right:8px}.sales-honeypot{position:absolute!important;left:-10000px!important;opacity:0;pointer-events:none}.measurement-choice{position:relative;margin:20px auto;width:min(1100px,91%);padding:22px;background:#102131;border:1px solid #63879966;border-radius:14px;color:#dbe8f1}.measurement-choice p{font-size:13px;line-height:1.6}.measurement-choice div{display:flex;flex-wrap:wrap;gap:12px}.measurement-choice button{min-height:44px;padding:12px 18px;background:#142a3e;color:#dce8f1;border:1px solid #83e5e255;border-radius:9px}.measurement-choice button.gold{background:#efd7a3;color:#14202a}.measurement-choice a,.privacy-page a{color:#efd7a3}.privacy-page h2{margin-top:36px;font-size:24px}.crm-events{display:flex;flex-wrap:wrap;gap:10px}.crm-events span{padding:10px 14px;background:#152b3d;border-radius:8px}.crm-message strong{display:block;margin-top:8px}.max-support-footer a{display:block;margin-top:6px;color:#efd7a3}@media(max-width:600px){.sales-heading{flex-wrap:wrap}.measurement-choice{margin-bottom:calc(110px + env(safe-area-inset-bottom))}.measurement-choice button{width:100%}.support-mode{padding:10px}.max-support-panel .max-support-body{max-height:60dvh;overflow-y:auto}}

/* Lectura sencilla: explicación principal y detalles a demanda. */
.simple-explanation{margin:32px 0;padding:clamp(20px,4vw,40px);border:1px solid #536970;border-radius:22px;background:#101e28;color:#edf3f7;font-size:18px;line-height:1.75;text-align:left}.simple-explanation h2{font-size:clamp(28px,4vw,40px);line-height:1.2}.simple-explanation h3{font-size:21px;line-height:1.4;color:#f0d59b}.simple-explanation p{max-width:75ch;color:#dce5eb}.simple-explanation .simple-lead{font-size:21px}.simple-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin:28px 0}.simple-grid article{padding:20px;border:1px solid #435763;border-radius:14px;background:#142632}.simple-explanation details,.simple-purchase{border:1px solid #536970;border-radius:12px;margin:14px 0;padding:16px 20px}.simple-explanation summary,.simple-purchase>summary{cursor:pointer;min-height:44px;align-content:center;font-size:19px;font-weight:700;color:#f0d59b;line-height:1.5}.simple-explanation li{margin:16px 0;padding-left:4px}.simple-explanation dt{font-weight:700;color:#f0d59b;margin-top:18px}.simple-explanation dd{margin:4px 0 16px}.simple-help a{text-decoration:underline;text-underline-offset:4px;color:#a6ece0}.simple-explanation summary:focus-visible{outline:3px solid #a6ece0;outline-offset:5px}@media(max-width:700px){.simple-grid{grid-template-columns:1fr;gap:14px}.simple-explanation{font-size:18px;padding:20px 16px}.simple-explanation .simple-lead{font-size:20px}.simple-explanation details{padding:14px}.simple-purchase{padding:12px}.simple-explanation ol{padding-left:24px}}
.social-links{max-width:1100px;margin:32px auto;padding:28px 24px 100px;color:#edf3f7}.social-links h2{font-size:24px}.social-links p{font-size:17px;color:#d1dee6}.social-links nav{display:flex;flex-wrap:wrap;gap:12px;margin-top:18px}.social-links a{display:inline-flex;gap:16px;align-items:center;min-height:48px;padding:12px 20px;border:1px solid #bb9c55;border-radius:12px;background:#142632;color:#f3dca4;font-weight:700;text-decoration:none}.social-links a:focus-visible{outline:3px solid #a6ece0;outline-offset:4px}.social-editor fieldset{border:0;padding:0;display:grid;gap:20px;max-width:760px}.social-editor label{display:grid;gap:8px;font-size:18px}.social-editor input{width:100%;min-height:48px}.social-editor label button{justify-self:start}@media(min-width:1000px){body:has(.portal)>.social-links{margin-left:310px}}@media(max-width:600px){.social-links nav{display:grid;grid-template-columns:1fr 1fr}.social-links a{padding:12px;font-size:16px}}
