.skip-link{position:fixed;left:20px;top:-60px;z-index:100;padding:12px;background:#fff;border-radius:8px;color:#064cce}.skip-link:focus{top:15px}.app-loading{min-height:500px;padding-top:25px}.loading-heading{width:38%;height:40px;margin-bottom:30px;border-radius:10px}.loading-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.loading-stats i{height:115px;border-radius:15px}.loading-chart{height:320px;margin-top:22px;border-radius:18px}.loading-heading,.loading-stats i,.loading-chart{display:block;background:linear-gradient(100deg,#e8edf9 25%,#f7f9ff 45%,#e8edf9 65%);background-size:250% 100%;animation:skeleton 1.5s linear infinite}.app-loading>p{color:#69758d;margin-top:24px;font-size:13px}@keyframes skeleton{to{background-position:-250% 0}}.app-fallback{margin:35px auto;max-width:620px;padding:55px 35px;border-radius:22px;background:#fff;text-align:center;box-shadow:0 7px 30px #1d397e0c}.app-fallback>span{font-size:40px;color:#0758ee}.app-fallback h1{font-size:25px;letter-spacing:-.7px}.app-fallback p{font-size:14px;line-height:1.7;color:#67748c;max-width:420px;margin:15px auto 25px}.app-fallback a{display:inline-block;color:#1c62d6;font-size:13px;padding:12px}.app-error-banner{display:flex;align-items:center;gap:12px;background:#fff5e7;color:#775a28;border:1px solid #f0dcb7;padding:10px 14px;border-radius:10px;font-size:12px;margin:8px 0 15px;line-height:1.5}.app-error-banner[hidden]{display:none}.app-error-banner span{flex:1}.app-error-banner button{font-size:12px;font-weight:600;white-space:nowrap}.app-error-banner button:last-child{font-size:19px}.system.offline i{background:#e7a945}.app-demo-label{position:absolute;top:72px;right:26px;font-size:9px;letter-spacing:.8px;text-transform:uppercase;color:#6e81a7;pointer-events:none}.system small{line-height:1.4}.brand{min-width:0}.profile>button:last-child{font-size:17px}.profile .avatar{font-size:26px;color:#fff;background:linear-gradient(135deg,#0b4cdf,#4ca6ff);font-weight:700;font-family:Arial}.profile button{border-radius:8px}#modal{max-height:88vh;overflow:auto}#modal .modal-head{position:sticky;top:-25px;background:#fff;z-index:3;padding:10px 0;border-bottom:1px solid #eef1f8}#modal label{line-height:1.5}#modal input,#modal select{min-height:40px}#modal input[type=checkbox]{min-height:unset;width:16px;height:16px}#modal button:disabled{opacity:.5;cursor:not-allowed}.search{position:relative}.search input{min-width:0}.search kbd{flex-shrink:0}#search-results{max-height:350px;overflow-y:auto}#search-results button{border-radius:7px}#search-results button:hover,#search-results button:focus-visible{background:#edf3ff}#screen:focus{outline:none}#screen{min-width:0}main{min-width:0}nav button[aria-current=page]{color:#fff}.overview-chart svg path{transition:d .25s}.overview-agents .agent-detail{min-width:0}.overview-agents .agent-detail strong{display:inline-block;max-width:160px;overflow:hidden;text-overflow:ellipsis;vertical-align:bottom}.overview-agents .agent-detail p{white-space:normal}.overview-agents .agent-row{min-width:0}.overview-agents .manage{flex-shrink:0}.overview-columns>*{min-width:0}#screen section{min-width:0}body.compact .f-table td,body.compact .a-table td{padding-top:6px;padding-bottom:6px;height:44px}.toast-error{background:#7e2943!important}.empty-state{padding:35px;text-align:center;color:#75819b}.app-status-note{font-size:11px;color:#7d8ba6;line-height:1.5}.doc-grid{display:grid;gap:12px}.doc-grid button{border:1px solid #e0e7f5;border-radius:12px;padding:15px;text-align:left;background:#fafcff}.doc-grid button strong{display:block;color:#1459cb;margin-bottom:6px}.doc-grid button span{font-size:12px;color:#758199}.overview-chart .chart-label{pointer-events:none}nav button{flex-shrink:0}main header{position:relative;z-index:5}#toast{max-width:calc(100vw - 30px);text-align:center;line-height:1.5;pointer-events:none}input:invalid:not(:placeholder-shown){box-shadow:none}button:disabled{cursor:not-allowed}body{overflow-x:hidden}dialog::backdrop{backdrop-filter:blur(4px)}
@media(min-width:761px){aside{overflow-y:auto;scrollbar-width:thin}.promo{margin-top:max(20px,calc(100vh - 800px))}.system{margin-top:24px}.brand{padding-bottom:30px}}
@media(max-width:1150px) and (min-width:761px){.profile strong{max-width:130px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;display:block}.search{max-width:48%}.overview-agents .agent-detail strong{max-width:170px}}
@media(max-width:760px){aside{position:sticky!important;top:0;z-index:20;padding:10px 12px 8px!important;box-shadow:0 3px 12px #06122c15}aside .brand{font-size:20px;padding:0 0 9px;gap:10px;width:max-content}.brand .brandmark{font-size:38px;width:31px}.brand small{font-size:9px;margin-top:2px}nav{display:flex;overflow-x:auto;gap:6px;padding-bottom:3px;scrollbar-width:thin}nav button,nav button:not(.active){display:flex;height:35px;padding:7px 10px;gap:7px;font-size:11px;border-radius:8px}nav button:not(.active) span{display:inline!important}nav button svg{width:17px;height:17px;flex-shrink:0}nav button b{width:17px;height:17px;font-size:9px;margin-left:2px}.search{width:100%!important;max-width:none;height:40px}.search kbd{font-size:10px}main{padding-top:13px!important}.app-demo-label{display:none}.loading-stats{grid-template-columns:repeat(2,1fr)}.loading-heading{width:75%;height:30px}.loading-chart{height:250px}.app-fallback{margin:20px 0;padding:35px 18px}.app-fallback h1{font-size:22px}.app-error-banner{gap:7px;font-size:11px}.app-error-banner button{font-size:11px}#modal{padding:20px;width:calc(100% - 22px);max-height:85vh}#modal .modal-head{top:-20px}#modal-title{font-size:20px}.profile{display:none}#search-results{left:15px;top:58px;width:calc(100% - 30px)}.overview-agents .agent-detail strong{max-width:150px}.overview-agents .status{font-size:9px}.overview-agents .mini-spark{width:40px}.overview-agents .agent-row{gap:7px}.overview-agents .agent-detail{white-space:normal}}
@media(max-width:390px){.overview-agents .mini-spark{display:none}.overview-agents .agent-detail strong{max-width:145px}.overview-metrics strong{font-size:15px}.overview-metrics>div{padding:0 7px}.welcome h1{font-size:22px}.page-heading>select{max-width:100px}.profile{display:none}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.paypal button{color:#10152d}.admin-screen .ad-settings-nav{position:static!important;top:auto!important;box-shadow:none;padding:11px!important}.admin-screen .ad-settings-nav:before{display:none}#search-results svg{width:18px;height:18px;vertical-align:middle;margin-right:7px}.overview-right .activity-row .desc{min-width:0}.overview-right .activity-row strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.overview-right .activity-row>b{white-space:nowrap}.overview-right .activity-row small{font-size:10px}.profile strong{color:#13213e}.profile small{color:#334966}.overview-chart svg{font-family:Arial,sans-serif}@media(min-width:761px) and (max-height:820px){body>aside .promo{display:none}body>aside .system{margin-top:auto}body>aside{padding-bottom:18px}}@media(max-width:760px){.admin-screen .ad-settings-nav{padding:7px!important;display:flex}.admin-screen .ad-settings-nav button{padding:9px!important}}

body>aside{overflow-x:hidden}body>aside .brand{max-width:100%}body>aside nav button{min-width:0;max-width:100%}@media(min-width:761px) and (max-width:1150px){body>aside .brand{padding-left:3px;padding-right:0;font-size:20px;gap:9px}body>aside .brandmark{width:34px;font-size:48px}body>aside nav button{gap:16px;padding-left:10px;padding-right:10px}}

/* Live mode: sign-in and sign-out (lead, 2026-11-06) */
.signin form{display:grid;gap:10px;width:min(420px,100%);margin:18px auto 10px;text-align:left}
.signin label{font-weight:600;font-size:14px}
.signin input{padding:12px 14px;border:1px solid #d5dbea;border-radius:10px;font:inherit;font-family:ui-monospace,monospace}
.signin input:focus-visible{outline:3px solid #9fc2ff;outline-offset:1px}
.signin .signin-error{color:#b42335;margin:0;font-size:14px}
.signin small{display:block;color:#5d6785;max-width:460px;margin:8px auto 0}
.approval-count[hidden]{display:none!important}
.system:has(.signout){flex-wrap:wrap}
.system .signout{flex-basis:100%;margin-top:8px;background:transparent;border:1px solid rgba(255,255,255,.25);color:inherit;border-radius:8px;padding:6px 10px;font-size:12px;cursor:pointer;white-space:nowrap}

/* Auth mode: sign-in, loading and session screens (lead, 2026-11-06) */
body[data-auth] aside,body[data-auth] main>header,body[data-auth] .app-demo-label,body[data-auth] .hero-art{display:none!important}
body[data-auth] main{margin:0;padding:0!important;min-height:100vh;background:#f4f6fd}
.auth-page{display:grid;grid-template-columns:minmax(320px,1fr) minmax(360px,560px);min-height:100vh}
.auth-brand{position:relative;overflow:hidden;color:#dfe5f7;padding:48px 56px;display:flex;flex-direction:column;background:radial-gradient(ellipse at 85% 110%,#2b7bff 0,#123ab3 22%,transparent 55%),radial-gradient(ellipse at 10% -10%,#1d3a8a 0,transparent 45%),linear-gradient(160deg,#0b101e,#0a1430 70%,#081126)}
.auth-brand .brand{padding:0;margin-bottom:auto}
.auth-brand h2{font-size:38px;line-height:1.15;letter-spacing:-1.2px;color:#fff;margin:48px 0 28px;max-width:520px}
.auth-brand ul{list-style:none;padding:0;margin:0 0 40px;display:grid;gap:20px;max-width:500px}
.auth-brand li{display:flex;gap:14px;align-items:flex-start;font-size:14px;line-height:1.5}
.auth-brand li b{flex-shrink:0;width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#1d4fd8;color:#fff;font-size:14px}
.auth-brand li strong{display:block;color:#fff;font-size:15px;margin-bottom:2px}
.auth-sandbox{display:flex;align-items:center;gap:10px;font-size:12px;color:#aab6d6;margin:0}
.auth-sandbox i{width:10px;height:10px;border-radius:50%;background:#2ed36a;box-shadow:0 0 0 4px #2ed36a33}
.auth-card{align-self:center;margin:40px;padding:44px 40px;background:#fff;border-radius:22px;box-shadow:0 20px 60px #10255a14;border:1px solid #e6ebf7}
.auth-lock{display:grid;place-items:center;width:52px;height:52px;border-radius:14px;background:#eaf1ff;font-size:24px;margin-bottom:18px}
.auth-card h1{font-size:26px;letter-spacing:-.7px;margin:0 0 10px}
.auth-lead{color:#5d6785;line-height:1.6;margin:0 0 22px}
.auth-note{border-radius:10px;padding:10px 14px;font-size:13px;margin:0 0 18px;background:#eef4ff;color:#1c4fb8;border:1px solid #d3e1ff}
.auth-note[data-kind=warn]{background:#fff6e8;color:#7a5418;border-color:#f1dcb5}
.auth-card form{display:grid;gap:10px;text-align:left}
.auth-card label{font-weight:600;font-size:14px}
.auth-input{display:flex;align-items:stretch;border:1px solid #d5dbea;border-radius:12px;background:#fbfcff;overflow:hidden}
.auth-input:focus-within{outline:3px solid #9fc2ff;outline-offset:1px;border-color:#5b8def}
.auth-input input{flex:1;min-width:0;border:0;background:transparent;padding:13px 14px;font-family:ui-monospace,Menlo,monospace;font-size:14px;outline:none}
.auth-input button{padding:0 16px;font-size:13px;color:#1c58cf;font-weight:600;border-left:1px solid #e3e8f4}
.auth-submit{margin-top:6px;height:46px;font-weight:600;font-size:15px;display:flex;align-items:center;justify-content:center;gap:10px}
.auth-submit.busy:before{content:'';width:16px;height:16px;border-radius:50%;border:2px solid #ffffff66;border-top-color:#fff;animation:auth-spin .8s linear infinite}
.auth-submit:disabled{opacity:.85}
.signin-error{color:#b42335;margin:0;font-size:13px;line-height:1.5}
.signin-error[hidden],.auth-note[hidden]{display:none}
.auth-help{font-size:12px;color:#6a7591;line-height:1.6;margin:20px 0 0}
.auth-help code{background:#f0f3fa;padding:2px 6px;border-radius:5px;font-size:11.5px}
.auth-loading{text-align:left}
.auth-spinner{display:block;width:44px;height:44px;border-radius:50%;border:4px solid #dfe7fb;border-top-color:#135cf1;animation:auth-spin .9s linear infinite;margin-bottom:22px}
.auth-steps{list-style:none;padding:0;margin:22px 0 0;display:grid;gap:14px;font-size:14px;color:#8a94ad}
.auth-steps li{display:flex;align-items:center;gap:12px}
.auth-steps li:before{content:'';flex-shrink:0;width:20px;height:20px;border-radius:50%;border:2px solid #d5dcec;box-sizing:border-box}
.auth-steps li.active{color:#10152d;font-weight:600}
.auth-steps li.active:before{border-color:#135cf1;border-top-color:transparent;animation:auth-spin .9s linear infinite}
.auth-steps li.done{color:#2a7a55}
.auth-steps li.done:before{content:'✓';border:0;background:#2ea866;color:#fff;font-size:12px;display:grid;place-items:center}
@keyframes auth-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.auth-spinner,.auth-steps li.active:before,.auth-submit.busy:before{animation:none}}
@media(max-width:900px){.auth-page{grid-template-columns:1fr}.auth-brand{padding:28px 22px}.auth-brand h2{font-size:26px;margin:26px 0 18px}.auth-brand ul{gap:14px;margin-bottom:22px}.auth-brand li{font-size:13px}.auth-card{margin:-18px 14px 30px;padding:30px 22px;position:relative}}
@media(max-width:520px){.auth-brand ul li:nth-child(n+2){display:none}.auth-card h1{font-size:22px}}

/* Tester fixes 2026-11-06 */
#screen dd,#screen td,#screen h3,#screen strong,#screen small,#modal-content dd,#modal-content h3,.f-request p{unicode-bidi:isolate}
#modal-content,#modal-content h3,#modal-content dd,#modal-content pre,.ws-wallet-item,.ws-wallet-item strong,.f-request-main,.f-request-main *,.a-table td{overflow-wrap:anywhere;min-width:0}
.f-request-main>div{min-width:0}
#modal-content pre{white-space:pre-wrap;word-break:break-all}
.f-agent-said{background:#f7f9ff;border-radius:12px;padding:12px 14px}
.a-live-empty{text-align:center;padding:36px 18px}.a-live-empty p{color:#5d6785}
.a-agents-panel[hidden]{display:none}
.signout-mobile{display:none}
@media(max-width:760px){body:not([data-auth]) header .profile{display:flex!important;gap:8px}header .profile .avatar,header .profile>div,header .profile>button[data-action=profile]{display:none}header .profile .bell{margin-right:0;font-size:26px;color:#10152d}.signout-mobile{display:inline-block;border:1px solid #d5dbea;border-radius:8px;padding:6px 10px;font-size:12px;color:#10152d;background:#fff;white-space:nowrap}header{gap:10px}.search{min-width:0}}

header .profile .signout-mobile{font-size:12px!important;padding:6px 10px!important;line-height:1.2}

/* Live data retains the original dashboard composition and dimensions. */
.live-agent-avatar{font-family:Arial,sans-serif!important;font-size:20px!important;font-weight:700;letter-spacing:0!important}
.a-live .live-agent-avatar.purple{color:#7545e5;background:#ece4ff}
.a-live .a-progress svg,.ws-live .ws-available svg,.f-live .balance-bar svg{display:block;height:100%;width:100%}
.a-live #connected-agents.ap-grid{height:auto;--ag-font-size:12px;--ag-cell-horizontal-padding:8px;--ag-header-background-color:#f0f1fc99;--ag-background-color:#ffffff20;--ag-odd-row-background-color:#ffffff10;--ag-row-border-color:#edf0f7;--ag-border-color:#e8eaf5}
.a-live #connected-agents .ag-header{border-bottom:0}
.a-live #connected-agents .ag-header-cell-text{font-size:11px;font-weight:500;color:#283351}
.a-live #connected-agents .ag-cell{overflow:hidden}
.a-live #connected-agents .ag-cell-wrapper,.a-live #connected-agents .ag-cell-value,.a-live-cell{width:100%;min-width:0}
.a-live-cell>strong{font-size:14px;font-weight:600}
.a-live-cell small{display:block;font-size:11px;margin-top:3px;color:#515c78}
.a-live .a-agent-name{gap:14px}
.a-live .a-agent-name strong,.a-live .a-agent-name small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:165px}
.a-live .a-tags{max-height:43px;overflow:auto;gap:3px}
.a-live .a-tags span{font-size:10px;padding:2px 7px}
.a-live .a-wallet-name{gap:10px;font-size:12px}
.a-live .a-wallet-symbol{filter:none;font-size:20px}
.a-live .a-wallet-symbol svg{width:21px;height:21px}
.a-live .a-stat-spark,.f-live .spark,.ws-live .ws-spark{pointer-events:none}
.a-live #connected-agents input[type=checkbox]{width:14px;height:14px;accent-color:#0755ed}
.a-live .a-security-checks{font-size:10px}
.a-live .a-metrics small{font-size:11px}
.a-live .ap-grid-shell{border-top:0}
.a-live #connected-agents .ag-paging-panel{min-height:40px;height:auto;font-size:11px}
.f-live .overview-metrics>div{min-width:0}
.f-live .overview-metrics strong{font-size:23px;overflow-wrap:anywhere}
.f-live .overview-metrics b{font-size:11px}
.f-live .overview-right .paypal h3{font-size:16px;position:relative;z-index:1}
.f-live .paypal-large{opacity:.85}
.f-live .overview-right .activity-row small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:235px}
.f-live .overview-right .activity-row>b{font-size:12px}
.f-live .overview-chart svg{display:block}
.ws-live .ws-wallet-items{overflow-y:auto;height:calc(100% - 45px);scrollbar-width:thin}
.ws-live .ws-wallet-item{padding-left:18px;gap:12px}
.ws-live .ws-wallet-item strong{display:inline-block;max-width:145px;overflow:hidden;text-overflow:ellipsis;vertical-align:middle}
.ws-live .ws-wallet-item p em{margin-left:8px}
.ws-live .ws-detail-heading h2{font-size:21px}
.ws-live .ws-balance b{font-size:17px}
.ws-live .ws-details{padding:15px 14px}
.ws-live .ws-details dl{grid-template-columns:1fr auto;gap:14px 8px}
.ws-live .ws-details dt{font-size:11px}
.ws-live .ws-details dd{max-width:112px;overflow:hidden;text-overflow:ellipsis;font-size:11px}
.ws-live .ws-chart-wrap .ap-chart-wrap{height:160px}
.ws-live .ws-chart-wrap{margin-top:8px}
.ws-live #wallet-ledger-state{font-size:10px;color:#71809c;margin:0 17px 5px;line-height:1.2}
.ws-live .ws-transactions .ws-table-scroll{height:calc(100% - 65px);overflow:auto}
.ws-live .ws-transactions table{table-layout:auto}
.ws-live .ws-transactions td{max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ws-live .ws-allowance-footnote{font-size:10px;color:#74809a;margin:9px 3px 0}
.ws-live .ws-control-links{position:relative;z-index:1}
.ws-live .ws-wallet-art{opacity:.95}
.finance-screen.f-live .f-stat{position:relative;overflow:hidden}
.finance-screen.f-live .f-stat small{font-size:11px;color:#299d66;display:block;margin-top:8px}
.f-live .f-spark{position:absolute;right:8px;bottom:4px;width:30%;height:40px;pointer-events:none}
.f-live .f-spark svg{width:100%;height:100%}
.insights-screen .i-live-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.admin-screen .ad-stats .ad-stat,.insights-screen .i-stat{min-width:0}
.admin-screen .ad-live-nav button.selected{background:#0755ef;color:white;border-radius:9px}
.admin-screen .ad-live-code{font-size:12px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere;background:#08152e;color:#dce8ff;padding:18px;border-radius:12px}
.admin-screen .ad-live-credential h4{margin:0 0 5px}
.admin-screen .ad-live-credential{padding:13px 0;border-bottom:1px solid #edf0f7}
.admin-screen .ad-live-credential small{display:block;margin-top:4px;color:#75809b}
@media(max-width:760px){
 .f-live .overview-metrics strong{font-size:15px}.f-live .overview-metrics b{font-size:9px}.f-live .overview-financial .panel-title{flex-wrap:wrap}.f-live .wallet-summary-content strong{font-size:22px}.f-live .overview-right .activity-row small{max-width:160px}.f-live .overview-right .activity-row>b{font-size:11px}
 .a-live .a-metrics strong{font-size:18px}.a-live .a-security-checks{font-size:9px;flex-wrap:wrap}.a-live .a-tools{flex-wrap:wrap}.a-live #connected-agents{max-width:100%}
 .ws-live .ws-wallet-list{height:350px!important}.ws-live .ws-wallet-item{padding-left:15px}.ws-live .ws-wallet-detail{height:auto;min-height:490px;padding:20px 17px}.ws-live .ws-detail-heading{gap:12px;flex-wrap:wrap}.ws-live .ws-detail-heading h2{font-size:19px}.ws-live .ws-manage{margin-left:auto;font-size:11px}.ws-live .ws-chart-wrap{margin:12px 0 0;width:100%}.ws-live .ws-detail-main{margin-bottom:65px}.ws-live .ws-details{display:block;margin:10px 0 0;min-height:0}.ws-live .ws-details h3{margin-bottom:12px}.ws-live .ws-details dl{gap:9px}.ws-live .ws-fund-actions{bottom:15px;left:15px;gap:7px}.ws-live .ws-fund-actions button{padding:10px;font-size:12px}.ws-live .ws-transactions{height:220px}.ws-live .ws-wallet-art{opacity:.6}
 .insights-screen .i-live-stats{grid-template-columns:1fr 1fr}
}
/* Retire the earlier simplified live overrides where they displaced demo geometry. */
.f-live.overview-screen .overview-financial{height:326px;min-height:0}
.f-live.overview-screen .wallet-summary{height:211px;min-height:0}
.a-live #connected-agents .ag-header-cell-filter-button,.a-live #connected-agents .ag-header-cell-resize{display:none}
.a-live #connected-agents .ag-header-cell-filter-button{width:0}
.a-live #connected-agents .ag-header-cell-label{gap:0}
.ws-live .ws-main-grid .ws-panel{margin-bottom:0}
.ws-live .ws-wallet-items{display:block;grid-template-columns:none}
.ws-live .ws-stat{height:109px}
.ws-live .ws-stat-copy>small{font-size:11px}
.ws-live .ws-transactions table td,.ws-live .ws-transactions table th{padding:6px 12px;font-size:11px}
.insights-screen .ad-full{margin-top:18px}
@media(max-width:760px){.f-live.overview-screen .overview-financial{height:auto}.f-live.overview-screen .wallet-summary{height:211px}.ws-live .ws-stat{height:109px}}
@media(min-width:761px){body[data-live]:not([data-auth])>aside .promo{margin-top:29px;flex-shrink:0}body[data-live]:not([data-auth])>aside .system{margin-top:30px;padding:14px 16px;min-height:67px;flex-shrink:0}.system .signout{margin-top:0;padding:3px 7px;font-size:10px;flex-basis:auto;margin-left:25px;border-color:#293149}.system small{margin-top:6px}}
/* Broad translucent curves retain the reference's soft blue header backdrop. */
body[data-live] .hero-art:before{top:-235px;right:2%;width:75%;height:375px;border-radius:0 0 65% 50%;transform:rotate(-24deg);background:linear-gradient(140deg,#d3e2ff 18%,#5c91ff 53%,#0c4dcc 78%,#89b6ff);box-shadow:0 1px 7px #b4ceff}
body[data-live] .hero-art:after{top:-248px;right:38%;height:420px;width:82%;border-radius:0 0 65% 45%;transform:rotate(-15deg);background:linear-gradient(120deg,#f8f7ff,#eef1ff 83%,#c2d8ff)}
@media(max-width:760px){body[data-live] .hero-art:before{right:-45%;width:140%}}
.a-live #connected-agents.ap-grid{--ag-auto-height-max-body-height:100000px}
.a-live .a-toolbar{height:60px}
.ws-live .ws-heading{margin-bottom:18px}
@media(max-width:1100px){.a-live .a-toolbar{height:auto}}
@media(max-width:760px){.f-live .welcome h1{font-size:21px}}

@media(max-width:760px){.overview-screen .overview-bottom>.panel{height:auto;min-height:210px}.overview-screen .stat{height:auto;min-height:110px;padding-bottom:42px}.overview-screen .overview-right .activity{height:auto;min-height:225px}}

/* OV: real protection evidence and the owner emergency stop. */
.overview-audience{max-width:850px;line-height:1.6}
.protection-strip{padding:18px 22px;margin:0 0 14px}
.protection-strip h2{font-size:16px;margin:0 0 6px}
.protection-strip p{font-size:11px;color:#5d6785;line-height:1.5;margin:0}
.protection-tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:14px;margin-top:16px}
.protection-tiles article{min-width:0;border-left:3px solid #0755ef;padding-left:12px}
.protection-tiles strong{display:block;font-size:23px;color:#142245;overflow-wrap:anywhere}
.protection-tiles span{display:block;font-size:12px;line-height:1.5;color:#5d6785;margin-top:5px}
.overview-emergency{display:flex;justify-content:flex-end;margin:0 0 16px}
.emergency-stop{border:1px solid #b42335;border-radius:9px;background:#fff4f5;color:#941c2d;font-weight:600;font-size:12px;padding:11px 15px}
.emergency-stop:hover{background:#ffe5e9}
.freeze-actions{display:flex;justify-content:flex-end;gap:15px;margin-top:24px}
.freeze-error{color:#941c2d}
.f-live .overview-right .activity-row .activity-rule{white-space:normal;overflow:visible;max-width:none;overflow-wrap:anywhere;color:#941c2d;margin-top:4px}
#phone-nav{display:none}
.phone-more-menu{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.phone-more-menu button{display:flex;align-items:center;gap:10px;min-width:0;min-height:52px;padding:12px;text-align:left;border:1px solid #e0e7f5;border-radius:10px;color:#1459cb;background:#fafcff;font-size:13px}
.phone-more-menu svg{width:20px;height:20px;flex-shrink:0}
body[data-auth] #phone-nav{display:none!important}
@media(max-width:760px){
 body>aside{display:none!important}
 body:not([data-auth]) main{margin-left:0;padding-bottom:calc(94px + env(safe-area-inset-bottom,0px))!important}
 #phone-nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));position:fixed;left:0;right:0;bottom:0;z-index:30;margin:0;padding:6px 5px calc(6px + env(safe-area-inset-bottom,0px));gap:2px;background:#0b142c;box-shadow:0 -3px 18px #06122c20;overflow:visible}
 #phone-nav button,#phone-nav button:not(.active){position:relative;display:flex;flex-direction:column;justify-content:center;gap:4px;width:100%;min-width:0;height:57px;margin:0;padding:5px 1px;font-size:9px;line-height:1.2;border-radius:8px;color:#c0ccea;white-space:normal}
 #phone-nav button.active{background:#17439b;color:#fff}
 #phone-nav button span,#phone-nav button:not(.active) span{display:block!important}
 #phone-nav button svg{width:21px;height:21px;flex-shrink:0}
 #phone-nav button:before,#phone-nav button.active:before{display:none}
 #phone-nav button b{position:absolute;top:1px;right:10px;margin:0;width:17px;height:17px;font-size:9px;background:#2468e8;color:#fff;display:grid;place-items:center;border-radius:50%}
 #toast{bottom:calc(86px + env(safe-area-inset-bottom,0px))}
 .protection-strip{padding:16px}
 .protection-tiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 12px}
 .protection-tiles strong{font-size:21px}
 .protection-tiles span{font-size:11px}
 .overview-emergency .emergency-stop{width:100%}
 .f-live .welcome{align-items:flex-start;flex-wrap:wrap;gap:12px}
 .f-live .welcome>div{min-width:0;width:100%}
 .f-live .welcome p{max-width:100%;font-size:12px}
}

.sidebar-docs{color:#c0ccea;font-size:12px;padding:14px;text-align:left;margin-top:16px}
.f-live .overview-right .activity{height:auto;min-height:225px}

/* TOUR: one starting point, with evidence rather than click-based progress. */
.overview-audience>p{margin-bottom:4px}
.overview-audience>small{display:block;font-size:11px;color:#5d6785;line-height:1.5}
.overview-tour-wrap{margin:0 0 18px}
.overview-tour{padding:24px;border:1px solid #cbdcfc;background:linear-gradient(120deg,#f1f6ff,#fff 75%);box-shadow:0 6px 24px #183e8508}
.tour-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}
.tour-eyebrow{font-size:10px;letter-spacing:1.4px;font-weight:700;color:#235ac5}
.tour-heading h2{font-size:24px;line-height:1.25;letter-spacing:-.7px;margin:7px 0 8px;color:#142245}
.tour-heading p{font-size:13px;color:#536581;line-height:1.5;margin:0}
.tour-dismiss{display:flex;align-items:center;gap:6px;min-height:36px;padding:8px 10px;border:1px solid #d7e2f5;border-radius:8px;font-size:11px;color:#526684;flex-shrink:0;background:#ffffffa6}
.tour-dismiss span{font-size:17px;line-height:1}
.tour-dismiss:hover{background:#e7effe;color:#164eb6}
.tour-steps{list-style:none;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding:0;margin:22px 0 12px}
.tour-steps li{min-width:0}
.tour-steps a{height:100%;display:flex;flex-direction:column;align-items:flex-start;padding:15px;border:1px solid #d5e1f6;border-radius:12px;color:#142245;text-decoration:none;background:#fff;transition:border-color .15s,box-shadow .15s}
.tour-steps a:hover{border-color:#719bf0;box-shadow:0 4px 14px #164eb612}
.tour-step-top{display:flex;align-items:center;gap:8px;width:100%;margin-bottom:15px}
.tour-step-number{display:grid;place-items:center;flex-shrink:0;width:29px;height:29px;border-radius:9px;font-size:13px;font-weight:700;color:#1d5ed9;background:#edf3ff}
.tour-evidence-check{display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:#e1f6ed;color:#117053;font-size:12px;font-weight:700}
.tour-step-arrow{margin-left:auto;color:#6d83ab;font-size:18px}
.tour-steps strong{font-size:14px;line-height:1.45;letter-spacing:-.15px}
.tour-step-hint{display:block;font-size:11px;line-height:1.6;color:#5d6e89;margin-top:7px}
.tour-evidence-note{font-size:10px;line-height:1.5;color:#64738c;margin:0}
.tour-payment{border-top:1px solid #dce6f7;margin-top:18px;padding-top:17px}
.tour-payment h3{margin:0 0 12px;font-size:12px;color:#334d75}
.tour-payment-flow{list-style:none;display:flex;align-items:center;flex-wrap:wrap;gap:8px 0;margin:0;padding:0;color:#354c72;font-size:11px;font-weight:600;line-height:1.5}
.tour-payment-flow li{display:flex;align-items:center;min-width:0}
.tour-payment-flow li:not(:last-child)::after{content:'→';font-size:15px;color:#8ca2c7;padding:0 12px;font-weight:400}
.tour-payment-flow li:last-child{color:#117053}
.tour-payment .tour-payment-detail,.tour-payment .tour-payment-note{font-size:11px;line-height:1.65;color:#596a85;margin:12px 0 0}
.tour-payment .tour-payment-note{margin-top:5px;color:#6e6170}
.tour-restore{display:block;padding:8px 0;font-size:12px}
.overview-tour[hidden],.tour-restore[hidden]{display:none}
.overview-tour a:focus-visible,.tour-dismiss:focus-visible,.tour-restore:focus-visible{outline:3px solid #346fea;outline-offset:3px}
.tour-payment h3,#tour-title{scroll-margin-top:20px}
.tour-lab-hint{padding:12px 14px;border:1px solid #c4d7fb;border-radius:9px;background:#eef4ff;color:#234a88;font-size:12px;line-height:1.6}
.lab-attacks,#lab-errand-form{scroll-margin-top:20px}
.protection-impact{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;border-top:1px solid #e2e9f6;padding-top:18px;margin-top:18px}
.protection-impact article{min-width:0;border-left:3px solid #199778;padding-left:12px}
.protection-impact strong{display:block;font-size:24px;line-height:1.3;color:#142245;overflow-wrap:anywhere}
.protection-impact span{display:block;font-size:12px;line-height:1.5;color:#334d75;margin-top:5px;font-weight:600}
.protection-impact small{display:block;font-size:10px;line-height:1.65;color:#62728c;margin-top:5px;overflow-wrap:anywhere}
.protection-impact .tour-verified{color:#117053}
@media(min-width:761px) and (max-width:1150px){.tour-steps{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){
 .overview-tour{padding:17px}
 .tour-heading{gap:8px}
 .tour-heading h2{font-size:22px;max-width:220px}
 .tour-eyebrow{font-size:9px;letter-spacing:1px}
 .tour-heading p{font-size:12px}
 .tour-dismiss{padding:7px;font-size:10px}
 .tour-dismiss span{display:none}
 .tour-steps{grid-template-columns:1fr;gap:9px;margin-top:18px}
 .tour-steps a{display:grid;grid-template-columns:34px minmax(0,1fr);column-gap:10px;padding:13px}
 .tour-step-top{grid-row:1/3;display:flex;flex-direction:column;align-self:start;gap:7px;margin:0}
 .tour-step-arrow{display:none}
 .tour-steps strong{font-size:13px}
 .tour-step-hint{margin-top:4px;font-size:11px}
 .tour-evidence-note{font-size:10px}
 .tour-payment-flow{font-size:10px;gap:8px 0}
 .tour-payment-flow li:not(:last-child)::after{padding:0 7px}
 .protection-impact{grid-template-columns:1fr;gap:16px}
 .protection-impact strong{font-size:23px}
}
@media(prefers-reduced-motion:reduce){.tour-steps a{transition:none}}
