@view-transition{navigation:auto}
/* Shared admin language, matching merchant management. Keep page-specific interactions local. */
.admin-theme{--bg:#f4f8fc;--panel:#fff;--panel-strong:#fff;--panel-border:#dce7f4;--panel-line:#e7eef7;--text:#1a2230;--muted:#5f6b7a;--primary:#0868f9;--primary-strong:#075bd8;--primary-soft:#e9f3ff;--radius-xl:10px;--radius-lg:10px;--radius-md:8px;--radius-sm:6px;--shadow:none;--shadow-soft:none;background:#f4f8fc;color:#1a2230;font-size:15px;line-height:1.6}
.admin-theme::before,.admin-theme::after,.admin-theme .sidebar::before{display:none}
.admin-theme .sidebar{position:fixed;inset:0 auto 0 0;width:218px;min-height:100vh;padding:28px 14px;background:#142b43;backdrop-filter:none;overflow-y:auto;gap:18px}
.admin-theme .sidebar-note,.admin-theme .brand-subtitle{display:none}
.admin-theme .brand{display:flex;gap:10px;flex-wrap:nowrap;align-items:center}
.admin-theme .brand-badge{width:48px;height:48px;flex:none;border-radius:50%;background:#1684f5;box-shadow:none;font-size:15px}
.admin-theme .brand-title{font-size:15px;white-space:nowrap;color:#f5f8fd}
.admin-theme .sidebar .nav{display:grid;gap:14px;margin-top:22px;overflow:visible;padding:0}
.admin-theme .nav-item{display:flex;gap:16px;align-items:center;padding:17px 14px;color:#e1eaf6;font-size:15px;font-weight:500;border:1px solid transparent;border-radius:10px;transform:none;box-shadow:none;transition:background .15s ease}
.admin-theme .nav-item:hover{background:#213d5b}.admin-theme .nav-item.is-active{background:#1b4f92;color:#fff}
.admin-theme .sidebar-foot{margin-top:auto}
.admin-theme .sidebar-foot button{display:flex;align-items:center;gap:14px;background:transparent;border:0;box-shadow:none;color:#e1eaf6;font-size:15px;padding:10px 14px;width:auto}
.admin-theme .ui-line-icon{display:block;width:22px;height:22px;flex:none}.admin-theme .nav-item .ui-line-icon{width:24px;height:24px}
.admin-theme .main{margin-left:218px;padding:0 26px 32px;min-width:0}
.admin-theme .main-shell{width:100%;max-width:none;min-width:0}
.admin-theme .page-header{padding:28px 0 23px;border-bottom:1px solid #dfe9f5;margin-bottom:24px}
.admin-theme .page-kicker,.admin-theme .hero-kicker,.admin-theme .card-eyebrow{display:none}
.admin-theme .page-title{font-size:28px;font-weight:600;line-height:1.35;letter-spacing:0;color:#1a2230}
.admin-theme .page-subtitle{font-size:15px;line-height:22px;margin-top:8px;color:#5f6b7a}
.admin-theme .content-stack{grid-template-columns:minmax(0,1fr);gap:22px;min-width:0}
.admin-theme :is(.card,.stat-card,.hero-panel,.hero-status-card,.schedule-card,.preview-box,.table-shell,.lookup-user-card,.history-item,.tag-editor-row){background:#fff;border:1px solid #dce7f4;border-radius:10px;box-shadow:none;min-width:0;animation:none}
.admin-theme :is(.card,.stat-card,.hero-panel)::before,.admin-theme :is(.card,.stat-card,.hero-panel)::after{display:none}
.admin-theme .card{padding:22px}.admin-theme .card-header{margin-bottom:20px;flex-direction:row;align-items:center}
.admin-theme .card h3{font-size:20px;line-height:1.5;color:#1a2230}.admin-theme .card h4{font-size:15px}
.admin-theme .feature-grid{grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:20px;align-items:start}
.admin-theme .grid-2{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.admin-theme .hero-panel{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:24px;padding:24px;align-items:center}
.admin-theme .hero-copy h2{font-size:20px;line-height:1.55;letter-spacing:0;margin:0 0 12px}
.admin-theme .hero-copy p{font-size:15px;line-height:1.8;color:#5f6b7a}
.admin-theme .hero-inline-list{gap:8px;margin-top:17px}.admin-theme .hero-inline-item{background:#edf4fb;color:#364152;border:0;border-radius:5px;box-shadow:none;font-size:14px;min-height:30px;padding:4px 10px;width:auto;font-weight:500}
.admin-theme .hero-status-card{border:0;border-radius:0;padding:0 0 0 24px;gap:15px;background:transparent;border-left:1px solid #e7eef7}
.admin-theme .hero-status-head{display:flex;align-items:center;flex-wrap:wrap;gap:10px}.admin-theme .hero-status-head strong{font-size:15px;order:-1}
.admin-theme .hero-status-grid{gap:12px;grid-template-columns:repeat(2,minmax(0,1fr))}
.admin-theme .hero-status-grid div{background:#f3f7fc;border:0;padding:10px 12px;border-radius:6px}
.admin-theme .hero-status-grid span{font-size:14px;font-weight:400}.admin-theme .hero-status-grid strong{margin-top:5px;font-size:15px}
.admin-theme .stats-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.admin-theme .stat-card{padding:18px 20px}.admin-theme .stat-label{font-size:15px;font-weight:500}
.admin-theme .stat-value{font-size:28px;font-weight:600;color:#0868f9;letter-spacing:0;margin-top:6px;line-height:1.35}
.admin-theme .stat-meta{font-size:14px;line-height:21px;margin-top:7px;color:#5f6b7a}
.admin-theme .summary-item{grid-template-columns:56px minmax(0,1fr);gap:14px;align-items:start}
.admin-theme .summary-item-label{width:56px;height:32px;border-radius:5px;background:#e9f3ff;color:#0866e6;font-size:15px}
.admin-theme .summary-item-body,.admin-theme .card-body-copy{font-size:15px;line-height:1.8;color:#364152}
.admin-theme .surface-note{background:#f1f6fc;border-color:#e2ebf6;border-radius:7px;padding:14px;margin-top:14px}
.admin-theme .preview-box{background:#f7faff;padding:16px;font-size:15px;line-height:1.8;overflow-wrap:anywhere}
.admin-theme .preview-label{font-size:15px;font-weight:500;letter-spacing:0;color:#364152}
.admin-theme :is(.stack-form,.stacked-preview){gap:18px}.admin-theme .field{gap:7px;min-width:0}
.admin-theme .field>span{font-size:15px;font-weight:500;color:#364152}
.admin-theme:not(.merchant-page) input:not([type=checkbox]):not([type=hidden]),.admin-theme:not(.merchant-page) select,.admin-theme:not(.merchant-page) textarea{min-height:44px;padding:10px 12px;background:#fff;border:1px solid #d8e3f0;border-radius:6px;color:#1a2230;font-size:15px;line-height:22px;box-shadow:none;caret-color:#0868f9}
.admin-theme:not(.merchant-page) input::placeholder,.admin-theme:not(.merchant-page) textarea::placeholder{color:#5f6b7a;opacity:1}
.admin-theme:not(.merchant-page) textarea{resize:vertical;min-height:130px}
.admin-theme:not(.merchant-page) input:focus-visible,.admin-theme:not(.merchant-page) select:focus-visible,.admin-theme:not(.merchant-page) textarea:focus-visible{border-color:#4f92ef;outline:2px solid #c7dfff;outline-offset:1px}
.admin-theme .field-hint,.admin-theme .form-hint{font-size:14px;line-height:21px;color:#5f6b7a;margin-top:0}
.admin-theme .btn{min-height:42px;border-radius:6px;font-size:15px;font-weight:500;padding:9px 16px;box-shadow:none;transform:none;line-height:22px}
.admin-theme .btn-primary{background:#0868f9;border:1px solid #0868f9;color:#fff}.admin-theme .btn-primary:hover{background:#075bd8;box-shadow:none}
.admin-theme :is(.btn-secondary,.btn-ghost){background:#fff;border:1px solid #d8e3f0;color:#364152;box-shadow:none}.admin-theme :is(.btn-secondary,.btn-ghost):hover:not(:disabled){background:#f0f7ff;border-color:#91baf1;color:#075bd8;box-shadow:none}
.admin-theme .btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;text-decoration:none}
.admin-theme .btn:disabled{opacity:.55;cursor:not-allowed}
.admin-theme .btn[hidden]{display:none}
.admin-theme .btn-danger{background:#fff1f2;border:1px solid #efccd1;color:#a2384b;box-shadow:none}.admin-theme .btn-danger:hover{background:#ffe7eb;box-shadow:none}
.admin-theme .btn-small{min-height:38px;font-size:15px;padding:7px 12px}
.admin-theme .stack-form>.btn{justify-self:start}
.admin-theme .tag{border-radius:5px;font-size:14px;font-weight:500;min-height:28px;padding:3px 9px}
.admin-theme .tag-a{background:#e9f3ff;color:#0866e6}.admin-theme .tag-b{background:#edf6ef;color:#357747}.admin-theme .tag-c{background:#f0f2f5;color:#627084}
.admin-theme .table-shell{padding:0;overflow:auto;max-width:100%;scrollbar-color:#b6c8df #f2f6fb;scrollbar-width:thin}
.admin-theme table{font-size:15px;line-height:22px;font-variant-numeric:tabular-nums}
.admin-theme th,.admin-theme td{padding:12px 14px;border-bottom-color:#e7eef7}.admin-theme thead th{background:#edf4fb;color:#364152;font-size:14px;font-weight:500}
.admin-theme tbody td{background:#fff}.admin-theme tbody tr:hover td{background:#f6faff}
.admin-theme .schedule-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.admin-theme .schedule-card{padding:16px;gap:16px;background:#fbfdff}
.admin-theme .schedule-head{align-items:center}.admin-theme .schedule-head h4{margin-top:6px}
.admin-theme .slot-row{grid-template-columns:repeat(2,minmax(0,1fr));padding:12px;gap:10px;background:#f1f6fc;border:1px solid #e2ebf6;border-radius:7px}
.admin-theme .slot-row .btn{width:auto;justify-self:end}
.admin-theme .tag-editor-row{display:grid;grid-template-columns:minmax(0,1fr) 90px 65px;gap:10px;padding:12px;background:#f7faff;border-radius:7px}
.admin-theme .tag-editor-row .btn{grid-column:1/-1;justify-self:end}
.admin-theme .tag-editor-stat{padding:0;border:0;background:none;align-self:center}.admin-theme .tag-editor-stat span{font-size:13px}.admin-theme .tag-editor-stat strong{font-size:15px}
.admin-theme .switch-field{flex-direction:row;align-items:center;padding:12px 14px;background:#f5f9fd;border:1px solid #e2ebf6;border-radius:7px}
.admin-theme .switch input:focus-visible+.switch-slider{outline:2px solid #0868f9;outline-offset:3px}
.admin-theme .switch input:checked+.switch-slider{background:#0868f9}
.admin-theme .lookup-user-card{padding:16px;margin-top:18px}.admin-theme .lookup-user-grid{grid-template-columns:1fr}
.admin-theme .lookup-user-card .merchant-card-row{border-radius:6px;background:#f4f8fc;padding:10px}.admin-theme .metric-badge{background:#edf4fb;color:#364152;border:0;border-radius:5px;box-shadow:none}
.admin-theme .history-item{padding:12px 14px}.admin-theme .history-item span{font-size:14px}
.admin-theme .flash{border-radius:7px;padding:12px 16px;box-shadow:none;font-size:15px}
.admin-theme .flash-success{background:#edf6ef;color:#357747;border:1px solid #cce6d4}.admin-theme .flash-error{background:#fff1f2;color:#a2384b;border:1px solid #efccd1}
.admin-theme :focus-visible{outline:2px solid #367af3;outline-offset:3px}
.admin-theme.login-body{padding:28px 16px;min-height:100vh;background:#f4f8fc}
.admin-theme .login-card{background:#fff;border:1px solid #dce7f4;border-radius:12px;padding:30px;box-shadow:none;width:min(100%,460px)}
.admin-theme .login-badge{width:54px;height:54px;border-radius:50%;background:#1684f5;box-shadow:none;font-size:15px}
.admin-theme .login-card h1{font-size:28px;margin:18px 0 10px}.admin-theme .login-card p{font-size:15px;color:#5f6b7a}.admin-theme .subtle-list{font-size:15px;color:#5f6b7a}
.admin-theme .login-card .btn{justify-self:stretch}
@media(max-width:1250px){.admin-theme .sidebar{width:190px}.admin-theme .main{margin-left:190px;padding-left:20px;padding-right:20px}.admin-theme .brand-title{font-size:15px}.admin-theme .brand-badge{width:39px;height:39px;font-size:13px}.admin-theme .nav-item{gap:12px;font-size:15px}.admin-theme .hero-panel{grid-template-columns:1fr}.admin-theme .hero-status-card{border-left:0;border-top:1px solid #e7eef7;padding:18px 0 0}.admin-theme .feature-grid{grid-template-columns:1fr}.admin-theme .stats-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1000px){.admin-theme .sidebar{width:170px;padding:20px 12px}.admin-theme .main{margin-left:170px}.admin-theme .brand-title{white-space:normal}.admin-theme .stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-theme .page-title{font-size:28px}.admin-theme .grid-2,.admin-theme .schedule-grid{grid-template-columns:1fr}}
@media(max-width:760px){.admin-theme .sidebar{position:relative;inset:auto;width:auto;min-height:auto;padding:15px 16px;gap:14px}.admin-theme .sidebar .nav{display:flex;gap:5px;margin-top:0;max-width:100%;overflow-x:auto}.admin-theme .nav-item{padding:8px 10px;font-size:13px;white-space:nowrap;border-radius:7px;flex:none}.admin-theme .nav-item .ui-line-icon,.admin-theme .brand-badge,.admin-theme .sidebar-foot{display:none}.admin-theme .brand-title{font-size:16px}.admin-theme .main{margin-left:0;padding:0 16px 25px}.admin-theme .page-header{padding:22px 0 20px}.admin-theme .page-title{font-size:26px}.admin-theme .page-subtitle{font-size:16px}.admin-theme .card{padding:18px}.admin-theme .hero-panel{padding:18px}.admin-theme .hero-copy h2{font-size:19px}.admin-theme .hero-status-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-theme .summary-item{grid-template-columns:48px minmax(0,1fr)}.admin-theme .summary-item-label{width:48px}.admin-theme .stats-grid{gap:10px}.admin-theme .stat-card{padding:15px}.admin-theme .stat-value{font-size:26px}.admin-theme .tag-editor-row{grid-template-columns:minmax(0,1fr) 85px}.admin-theme .tag-editor-stat{grid-column:1/-1}.admin-theme .switch-field{gap:14px}}
@media(max-width:380px){.admin-theme .stats-grid,.admin-theme .hero-status-grid{grid-template-columns:1fr}.admin-theme .slot-row{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.admin-theme *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.admin-theme :is(.card,.stat-card,.hero-panel,.login-card){backdrop-filter:none}
.admin-theme .login-card{animation:none}.admin-theme .login-card::after{display:none}
@media(min-width:1001px) and (max-width:1250px){.admin-theme .feature-grid,.admin-theme .hero-panel{grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr)}.admin-theme .hero-status-card{border-top:0;border-left:1px solid #e7eef7;padding:0 0 0 24px}}
/* Notices float top-right (v1.0.16) */
.admin-theme .toast-stack{position:fixed;top:16px;right:16px;z-index:1000;display:flex;flex-direction:column;gap:8px;max-width:min(420px,calc(100vw - 32px));pointer-events:none}
.admin-theme .toast{pointer-events:auto;margin:0;box-shadow:0 6px 20px rgba(20,46,81,.14);transition:opacity .3s,transform .3s;display:flex;gap:12px;align-items:flex-start}
.admin-theme .toast.is-leaving{opacity:0;transform:translateY(-6px)}
.admin-theme .toast-close{margin-left:auto;border:0;background:none;color:inherit;font-size:15px;line-height:1;cursor:pointer;padding:0 2px}
.admin-theme #gg-switch-note:not([hidden]){position:fixed;top:16px;right:16px;z-index:1000;max-width:min(420px,calc(100vw - 32px));box-shadow:0 6px 20px rgba(20,46,81,.14)}
/* Notices sit where you were working (v1.0.17b), not in a corner */
.admin-theme .notice-stack{display:flex;flex-direction:column;gap:8px}
.admin-theme .notice-stack:empty{display:none}
.admin-theme .notice{margin:0 0 10px;display:flex;gap:12px;align-items:flex-start;transition:opacity .3s}
.admin-theme .notice.is-leaving{opacity:0}
.admin-theme .notice-close{margin-left:auto;border:0;background:none;color:inherit;font-size:15px;line-height:1;cursor:pointer;padding:0 2px}
.admin-theme #gg-switch-note:not([hidden]){position:static;box-shadow:none}

/* Notices: one small card in the middle of the screen that goes away by itself. */
.toast-layer{position:fixed;inset:0;z-index:2000;display:flex;align-items:center;justify-content:center;pointer-events:none}
.toast-layer:empty{display:none}
.toast-pop{pointer-events:auto;display:flex;align-items:center;gap:10px;max-width:min(420px,calc(100vw - 32px));padding:14px 20px;border-radius:14px;background:rgba(24,32,46,.92);color:#fff;font-size:15px;line-height:1.5;box-shadow:0 12px 32px rgba(15,23,42,.25);opacity:0;transform:scale(.94);transition:opacity .2s ease,transform .2s ease;cursor:pointer}
.toast-pop.is-in{opacity:1;transform:scale(1)}
.toast-pop.is-leaving{opacity:0;transform:scale(.97)}
.toast-ic{flex:none;width:22px;height:22px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-style:normal;font-size:14px;font-weight:600}
.toast-pop.is-success .toast-ic{background:#34c759;color:#fff}
.toast-pop.is-error .toast-ic{background:#ff453a;color:#fff}
.toast-pop .notice-close{margin-left:4px;border:0;background:none;color:rgba(255,255,255,.7);font-size:15px;line-height:1;cursor:pointer;padding:0 2px}

/* v1.0.19 look: cool light greys, one brand blue, no big page heading, blue focus, frosted notices. */
.admin-theme{--bg:#f4f6f9;--text:#1a2230;--muted:#5f6b7a;--panel-border:#e3e8ef;--panel-line:#edf0f4;--primary-soft:#e9f1fd;background:#f4f6f9;color:#1a2230;accent-color:#0868f9}
.admin-theme .page-header:not(.menu-page-heading){display:none}
.admin-theme .menu-page-heading{border-bottom:0;margin-bottom:12px;background:#f4f6f9}
.admin-theme .menu-page-heading .page-title{font-size:15px;font-weight:600;color:#1a2230}
.admin-theme .menu-page-heading .page-subtitle{display:none}
.admin-theme .main-shell{padding-top:28px}
.admin-theme :is(.card,.stat-card,.hero-panel,.table-shell,.lookup-user-card,.history-item){border-color:#e6eaf0;border-radius:14px}
.admin-theme .card h3{color:#1a2230}
.admin-theme .field>span{color:#364152}
.admin-theme :is(.field-hint,.form-hint,.stat-meta,.page-subtitle){color:#5f6b7a}
.admin-theme thead th{background:#f4f6f9;color:#5f6b7a}
.admin-theme tbody tr:hover td{background:#f7f9fc}
.admin-theme :is(.surface-note,.slot-row,.switch-field,.hero-status-grid div){background:#f4f6f9;border-color:#e9edf2}
.admin-theme .preview-box{background:#f8fafc}
.admin-theme:not(.merchant-page) input:not([type=checkbox]):not([type=hidden]),.admin-theme:not(.merchant-page) select,.admin-theme:not(.merchant-page) textarea{border-color:#d5dbe4;border-radius:10px;color:#1a2230}
/* A selected box is always blue, whatever the system highlight colour is. */
.admin-theme:not(.dk) :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select,textarea):focus{outline:none;border-color:#0868f9!important;box-shadow:0 0 0 3px rgba(8,104,249,.18)}
.admin-theme:not(.dk) :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select,textarea):focus-visible{outline:none;border-color:#0868f9!important;box-shadow:0 0 0 3px rgba(8,104,249,.18)}
.admin-theme :is(a,button,summary,[tabindex]):focus-visible,.admin-theme :is(input[type=checkbox],input[type=radio]):focus-visible{outline:2px solid #0868f9;outline-offset:2px}
.admin-theme .btn{border-radius:10px}
.admin-theme .btn-primary{box-shadow:0 1px 2px rgba(8,104,249,.25)}
/* Notices: a frosted card in the middle of the screen. */
.toast-pop{background:rgba(255,255,255,.78);-webkit-backdrop-filter:saturate(180%) blur(22px);backdrop-filter:saturate(180%) blur(22px);color:#1a2230;border:1px solid rgba(255,255,255,.9);box-shadow:0 16px 40px rgba(15,40,80,.18),inset 0 1px 0 #fff;font-weight:500}
.toast-pop.is-success .toast-ic{background:#0868f9;color:#fff}
.toast-pop.is-error .toast-ic{background:#e5484d;color:#fff}
.toast-pop .notice-close{color:#687384}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){.toast-pop{background:#fff}}
@media(max-width:760px){.admin-theme .main-shell{padding-top:16px}}

/* v1.0.20 type */
body,button,input,select,textarea{font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei","Helvetica Neue",Arial,sans-serif}
.admin-theme{line-height:1.6}
.admin-theme :is(.muted,.help,.hint,small,.field-hint,.card-subtitle,.page-subtitle,.empty){line-height:1.5}
.admin-theme :is(h1,h2,h3,h4,.card-title,.page-title){line-height:1.35;font-weight:600}
.admin-theme :is(strong,b){font-weight:600}
.admin-theme :is(th,.field>span){font-weight:500}
.admin-theme label{font-weight:400}
.admin-theme :is(table,.stat-value,.stat-card,.summary-item){font-variant-numeric:tabular-nums}
.admin-theme .card{padding:20px}
.admin-theme .content-stack{gap:20px}
.admin-theme :is(.stack-form,.stacked-preview){gap:16px}
.admin-theme .field{gap:6px}
.admin-theme .sidebar .brand-badge,body.admin-theme .sidebar .brand-badge{font-weight:800}
.admin-theme:not(.merchant-page) :is(input:not([type=checkbox]):not([type=hidden]),select,textarea){font-size:15px}
@media(max-width:760px){.admin-theme .card{padding:16px}.admin-theme:not(.merchant-page) :is(input:not([type=checkbox]):not([type=hidden]),select,textarea){font-size:16px}}

/* v1.0.22 type roles: same job, same size on every page */
body.admin-theme .main :is(h1,h2,h3,.card-title,.page-title):not(:is([class*=phone],[class*=chat],[class*=preview]) *){font-size:15px;font-weight:600;line-height:1.4}
body.admin-theme .main h4:not(:is([class*=phone],[class*=chat],[class*=preview]) *){font-size:15px;font-weight:600}
body.admin-theme .main :is(.stat-value,.gg-tile a,.gg-tile strong){font-size:28px;font-weight:600}
body.admin-theme .main .gg-switch-text strong{font-size:15px;font-weight:600}
body.admin-theme .main :is(.gg-sublinks a,.gm-tab){font-size:15px}
body.admin-theme .main #merchant-totals b{font-size:15px;font-weight:600}

/* v1.0.23 */
.admin-theme :is(.feature-grid){align-items:start}
.admin-theme label.switch{position:relative}
.admin-theme label.switch::after{content:"";position:absolute;inset:-6px -4px}

/* v1.0.24 depth and motion */
.admin-theme :is(.card,.stat-card,.hero-panel,.hero-status-card,.table-shell,.schedule-card){box-shadow:0 1px 2px rgba(16,25,46,.04),0 10px 24px rgba(16,25,46,.06)}
.admin-theme .merchant-page .verification-panel,.merchant-page .verification-panel{box-shadow:0 1px 2px rgba(16,25,46,.04),0 10px 24px rgba(16,25,46,.06)}
.admin-theme .switch .switch-slider{box-shadow:inset 0 1px 2px rgba(0,0,0,.12);transition:all .2s cubic-bezier(.2,.8,.2,1)}
.admin-theme .switch .switch-slider::before{box-shadow:0 2px 5px rgba(16,25,46,.25);transition:transform .2s cubic-bezier(.2,.8,.2,1),box-shadow .2s}
.admin-theme :is(.btn,.nav-item,.gg-nav a){transition:all .2s cubic-bezier(.2,.8,.2,1)}
.admin-theme :is(.btn,.gg-nav a):active{transform:scale(.97)}
.admin-theme :is(.stat-value,.gg-tile a,.gg-tile strong,.merchant-totals b,.summary-item,.hero-status-grid strong){font-variant-numeric:tabular-nums}

/* v1.0.25 dashboard: one line intro, one compact stats card, folded details */
.admin-theme .dash-intro{margin:0;color:#5f6b7a;font-size:14px;line-height:1.5}
.admin-theme .card.dash-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:18px 0}
.admin-theme .dash-stat{display:flex;flex-direction:column;gap:4px;min-width:0;padding:2px 20px;border-left:1px solid #e7ebf0;color:inherit;text-decoration:none}
.admin-theme .dash-stat:first-child{border-left:0}
.admin-theme .dash-stat-label{font-size:14px;color:#5f6b7a}
.admin-theme .dash-stat-value{font-size:28px;font-weight:600;line-height:1.3;color:#1a2230;font-variant-numeric:tabular-nums}
.admin-theme .dash-stat-value.is-brand{color:#0868f9}
.admin-theme .dash-stat-sub{font-size:13px;color:#5f6b7a;font-variant-numeric:tabular-nums}
.admin-theme .dash-stat-state{display:flex;align-items:center;gap:7px;font-size:15px;font-weight:600;line-height:1.3;color:#1a2230;min-height:31px}
.admin-theme .dash-stat-link:hover .dash-stat-state{color:#0868f9}
.admin-theme .dash-dot{width:8px;height:8px;border-radius:50%;flex:none}
.admin-theme .dash-dot.is-on{background:#30a46c}
.admin-theme .dash-dot.is-off{background:#f5a524}
.admin-theme .dash-folds{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:start}
.admin-theme .dash-fold-wide{grid-column:1/-1}
.admin-theme .card.dash-fold{padding:0}
.admin-theme .dash-fold>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 20px;cursor:pointer;list-style:none;font-size:15px;font-weight:600;color:#1a2230}
.admin-theme .dash-fold>summary::-webkit-details-marker{display:none}
.admin-theme .dash-chev{width:8px;height:8px;border-right:2px solid #8a94a3;border-bottom:2px solid #8a94a3;transform:rotate(45deg);margin-bottom:4px;transition:transform .2s cubic-bezier(.2,.8,.2,1)}
.admin-theme .dash-fold[open] .dash-chev{transform:rotate(-135deg);margin-bottom:-4px}
.admin-theme .dash-fold-body{padding:0 20px 18px;display:grid;gap:12px;min-width:0}
.admin-theme .dash-limits{margin:0;font-size:14px;color:#5f6b7a}
@media(max-width:760px){
.admin-theme .card.dash-stats{grid-template-columns:repeat(2,minmax(0,1fr));padding:14px 0}
.admin-theme .dash-stat{padding:4px 16px}
.admin-theme .dash-stat:nth-child(3){border-left:0}
.admin-theme .dash-stat:nth-child(n+3){border-top:1px solid #e7ebf0;margin-top:10px;padding-top:12px}
.admin-theme .dash-folds{grid-template-columns:minmax(0,1fr);gap:12px}
.admin-theme .dash-fold>summary{padding:14px 16px}
.admin-theme .dash-fold-body{padding:0 16px 16px}
}

/* v1.0.26 type roles (desktop 15 body / phone 16 body) */
body.admin-theme .main{font-size:15px}
body.admin-theme .main :is(h1,h2,h3,.card-title,.page-title,.dash-fold>summary):not(:is([class*=phone],[class*=chat],[class*=preview]) *){font-size:17px;font-weight:600;line-height:1.4}
body.admin-theme .main h4:not(:is([class*=phone],[class*=chat],[class*=preview]) *){font-size:15px;font-weight:600}
body.admin-theme .main .gg-topline .gg-chatline strong,body.admin-theme .main .workspace-top .workspace-heading h1:not(#_){font-size:20px;font-weight:600}
body.admin-theme .main :is(.stat-value,.gg-tile a,.gg-tile strong,.dash-stat-value){font-size:28px;font-weight:600}
body.admin-theme .main :is(.dash-stat-state){font-size:17px}
body.admin-theme .main :is(.gg-switch-text strong,.gg-sublinks a,.gm-tab,.btn,input,select,textarea,td,.gg-nav a){font-size:15px}
body.admin-theme .main .merchant-totals b{font-size:15px}
body.admin-theme .main :is(th,.field-hint,.form-hint,.muted,.hint,.gg-switch-text small,.dash-stat-label,.dash-intro,.card-subtitle){font-size:14px}
body.admin-theme .main :is(.dash-stat-sub,.dash-limits){font-size:13px}
@media(max-width:760px){
body.admin-theme .main{font-size:16px}
body.admin-theme .main :is(h1,h2,h3,.card-title,.page-title,.dash-fold>summary):not(:is([class*=phone],[class*=chat],[class*=preview]) *){font-size:17px}
body.admin-theme .main .gg-topline .gg-chatline strong,body.admin-theme .main .workspace-top .workspace-heading h1:not(#_){font-size:19px}
body.admin-theme .main :is(.stat-value,.gg-tile a,.gg-tile strong,.dash-stat-value){font-size:26px}
body.admin-theme .main :is(.gg-switch-text strong,.gg-sublinks a,.gm-tab,.merchant-totals b,.btn,input,select,textarea,td,.gg-nav a,h4){font-size:16px}
body.admin-theme .main .gg-nav a.btn{font-size:14px}
}

/* v1.0.26 phone sizes (generated) */
@media(max-width:760px){
/* Shared admin language, matching merchant management. Keep page-specific interactions local. */ .admin-theme{font-size:16px}
.admin-theme .card h3{font-size:19px}
.admin-theme .card h4{font-size:16px}
.admin-theme .hero-copy p{font-size:16px}
.admin-theme .hero-status-head strong{font-size:16px}
.admin-theme .hero-status-grid strong{font-size:16px}
.admin-theme .stat-label{font-size:16px}
.admin-theme .summary-item-label{font-size:16px}
.admin-theme .summary-item-body,.admin-theme .card-body-copy{font-size:16px}
.admin-theme .preview-box{font-size:16px}
.admin-theme .preview-label{font-size:16px}
.admin-theme .field>span{font-size:16px}
.admin-theme:not(.merchant-page) input:not([type=checkbox]):not([type=hidden]),.admin-theme:not(.merchant-page) select,.admin-theme:not(.merchant-page) textarea{font-size:16px}
.admin-theme .btn{font-size:16px}
.admin-theme .btn-small{font-size:16px}
.admin-theme table{font-size:16px}
.admin-theme .tag-editor-stat strong{font-size:16px}
.admin-theme .flash{font-size:16px}
.admin-theme .login-badge{font-size:16px}
.admin-theme .login-card h1{font-size:26px}
.admin-theme .login-card p{font-size:16px}
.admin-theme .subtle-list{font-size:16px}
.admin-theme .toast-close{font-size:16px}
.admin-theme .notice-close{font-size:16px}
.toast-pop{font-size:16px}
.toast-pop .notice-close{font-size:16px}
.admin-theme .menu-page-heading .page-title{font-size:16px}
/* v1.0.22 type roles: same job, same size on every page */ body.admin-theme .main :is(h1,h2,h3,.card-title,.page-title):not(:is([class*=phone],[class*=chat],[class*=preview]) *){font-size:16px}
body.admin-theme .main h4:not(:is([class*=phone],[class*=chat],[class*=preview]) *){font-size:16px}
body.admin-theme .main :is(.stat-value,.gg-tile a,.gg-tile strong){font-size:26px}
body.admin-theme .main .gg-switch-text strong{font-size:16px}
body.admin-theme .main :is(.gg-sublinks a,.gm-tab){font-size:16px}
body.admin-theme .main #merchant-totals b{font-size:16px}
.admin-theme .dash-stat-value{font-size:26px}
.admin-theme .dash-stat-state{font-size:16px}
.admin-theme .dash-fold>summary{font-size:16px}
/* v1.0.26 type roles (desktop 15 body / phone 16 body) */ body.admin-theme .main{font-size:16px}
}

/* v1.0.26 text selection: clearly visible brand blue, close to macOS */
.admin-theme ::selection{background:#b3d1fe;color:#0b1a33}
.admin-theme :is(input,textarea)::selection{background:#b3d1fe;color:#0b1a33}
.admin-theme :is(.btn-primary,.btn-primary *)::selection{background:rgba(255,255,255,.35);color:#fff}
