/* BUILT Staff Phase 6 V0.1. Authoritative dedicated Staff presentation.
   The original stylesheet remains for existing controls; no consumer CSS is edited.
   Safe areas live in topbar/navigation, and .staff-main owns workspace scrolling. */
html.staff-ui-v1{--s6-bg:#0a0a0a;--s6-panel:#151515;--s6-raised:#1c1c1c;--s6-border:#303030;--s6-muted:#a5a5a5;--s6-orange:#ff6500;color-scheme:dark;height:100%;background:var(--s6-bg)}
html.staff-ui-v1 body{margin:0!important;padding:0!important;background:var(--s6-bg)!important;font:14px/1.5 Inter,system-ui,sans-serif!important;color:#f5f5f5;overflow:hidden!important;height:100dvh!important}
html.staff-ui-v1 *,html.staff-ui-v1 *::before,html.staff-ui-v1 *::after{box-sizing:border-box}
html.staff-ui-v1 [hidden]{display:none!important}
html.staff-ui-v1 body .staff-only-shell,html.staff-ui-v1 body .staff-only-main-shell{position:relative!important;display:block!important;width:100%!important;max-width:none!important;height:100dvh!important;min-height:0!important;max-height:100dvh!important;margin:0!important;padding:0!important;overflow:hidden!important}
html.staff-ui-v1 body #app{width:100%!important;max-width:none!important;margin:0!important;padding:0!important;height:100%!important;min-height:0!important;overflow:hidden!important}
html.staff-ui-v1 body #app button,html.staff-ui-v1 body #app input,html.staff-ui-v1 body #app select,html.staff-ui-v1 body #app textarea{font-family:inherit;-webkit-appearance:none;appearance:none}
html.staff-ui-v1 body #app button{cursor:pointer;touch-action:manipulation}
html.staff-ui-v1 body #app button:disabled{opacity:.55;cursor:not-allowed}
html.staff-ui-v1 body #app :focus-visible{outline:2px solid #ff8d42;outline-offset:3px}
html.staff-ui-v1 body #app svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex:0 0 auto}
html.staff-ui-v1 body #app img{max-width:100%;object-fit:contain}
html.staff-ui-v1 body #app h1,html.staff-ui-v1 body #app h2,html.staff-ui-v1 body #app h3{font-family:Inter,system-ui,sans-serif;color:#f6f6f6;letter-spacing:-.035em;line-height:1.18}
html.staff-ui-v1 body #app p{line-height:1.55}
html.staff-ui-v1 body .s6-eyebrow{margin:0 0 10px;color:var(--s6-orange);font-size:10px;font-weight:800;letter-spacing:.17em;text-transform:uppercase}
html.staff-ui-v1 body .s6-primary{display:flex;align-items:center;justify-content:center;gap:20px;min-height:52px;width:100%;border:1px solid var(--s6-orange);border-radius:13px;background:var(--s6-orange);color:#fff;font-size:15px;font-weight:800}

/* One welcome canvas, not a phone-sized desktop mockup. */
html.staff-ui-v1 body .s6-welcome{position:relative;isolation:isolate;width:100%;height:100%;min-height:0;overflow:auto;background:#060606 url('assets/staff-ui/welcome-garage.webp') 50% 60%/cover no-repeat;text-align:center;padding:calc(env(safe-area-inset-top,0px) + 22px) max(22px,env(safe-area-inset-right,0px)) calc(env(safe-area-inset-bottom,0px) + 22px) max(22px,env(safe-area-inset-left,0px))}
html.staff-ui-v1 body .s6-welcome-shade{position:fixed;z-index:-1;inset:0;pointer-events:none;background:linear-gradient(180deg,rgba(0,0,0,.88),rgba(0,0,0,.38) 48%,rgba(0,0,0,.35) 70%,rgba(0,0,0,.94)),linear-gradient(90deg,rgba(0,0,0,.5),transparent 30%,transparent 70%,rgba(0,0,0,.5))}
html.staff-ui-v1 body .s6-welcome-content{position:relative;max-width:800px;min-height:100%;margin:0 auto;display:flex;flex-direction:column;align-items:center;justify-content:flex-start}
html.staff-ui-v1 body .s6-welcome-logo{width:clamp(110px,18vh,170px);height:auto;border-radius:23px;margin:0 auto 16px;flex-shrink:0}
html.staff-ui-v1 body #s6-welcome-title{font-size:clamp(36px,6.5vw,84px);font-weight:900;line-height:.98;letter-spacing:-.055em;margin:14px 0 18px}
html.staff-ui-v1 body #s6-welcome-title span{color:var(--s6-orange);display:inline-block}
html.staff-ui-v1 body .s6-welcome-description{font-size:clamp(13px,1.5vw,17px);color:#cccccc;margin:0;text-shadow:0 2px 8px #000}
html.staff-ui-v1 body .s6-welcome-actions{padding-top:clamp(70px,18vh,220px);margin-top:auto;width:min(100%,420px)}
html.staff-ui-v1 body .s6-access-notice{display:flex;align-items:center;justify-content:center;gap:7px;font-size:12px;color:#c5c5c5;margin:16px 0 26px}
html.staff-ui-v1 body .s6-access-notice svg{width:14px!important;height:14px!important;color:#ff8233}
html.staff-ui-v1 body .s6-welcome footer{color:#b4b4b4;font-size:9px;letter-spacing:.2em;width:100%;display:flex;justify-content:center;gap:13px;flex-wrap:wrap;padding:8px 0 0}
html.staff-ui-v1 body .s6-welcome footer i{font-style:normal;color:var(--s6-orange)}
html.staff-ui-v1 body .s6-loading{height:100%;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:32px;text-align:center;background:radial-gradient(ellipse at 70% 15%,#251309,#0a0a0a 55%)}
html.staff-ui-v1 body .s6-loading img{border-radius:20px;margin-bottom:24px}
html.staff-ui-v1 body .s6-loading h1{font-size:22px!important;margin:22px 0 0}
html.staff-ui-v1 body .s6-loading p{color:var(--s6-muted);font-size:13px;max-width:370px}
html.staff-ui-v1 body .s6-loading button{padding:12px 18px;background:var(--s6-panel);border:1px solid var(--s6-border);border-radius:10px;color:#fff}
html.staff-ui-v1 body .s6-spinner{width:24px;height:24px;border:2px solid #373737;border-top-color:var(--s6-orange);border-radius:50%;animation:s6-spin 1s linear infinite}
@keyframes s6-spin{to{transform:rotate(360deg)}}

/* Auth layout uses its own full-width shell, retains existing submit/OAuth controls. */
html.staff-ui-v1 body .staff-login-screen{width:100%!important;max-width:none!important;height:100%!important;min-height:0!important;padding:calc(env(safe-area-inset-top,0px) + 28px) 24px calc(env(safe-area-inset-bottom,0px) + 28px)!important;overflow:auto!important;display:flex!important;align-items:center!important;justify-content:center!important;background:radial-gradient(ellipse at 15% 12%,#23170f,#0a0a0a 65%)!important}
html.staff-ui-v1 body .staff-login-shell{display:grid!important;grid-template-columns:1fr 1fr!important;max-width:1000px!important;width:100%!important;border:1px solid #353535!important;border-radius:22px!important;overflow:hidden!important;margin:auto!important;background:#121212!important;box-shadow:0 30px 80px #0006}
html.staff-ui-v1 body .staff-login-brand-panel{padding:42px!important;background:linear-gradient(#0a0a0a88,#0a0a0add),url('assets/staff-ui/welcome-garage.webp') center/cover!important;display:flex!important;flex-direction:column!important;gap:28px!important;min-width:0!important}
html.staff-ui-v1 body .staff-login-brand-lockup{display:flex!important;gap:12px!important;align-items:center!important}
html.staff-ui-v1 body .staff-login-logo{width:80px!important;height:80px!important;border-radius:14px!important;object-fit:contain!important;flex:0 0 80px!important}
html.staff-ui-v1 body .staff-login-wordmark{width:140px!important;max-width:100%!important;height:auto!important}
html.staff-ui-v1 body .staff-login-built-line em{display:none!important}
html.staff-ui-v1 body .staff-login-brand-lockup strong{display:block;font-size:12px;letter-spacing:.2em;color:var(--s6-orange)}
html.staff-ui-v1 body .staff-login-copy{margin-top:auto!important;margin-bottom:0!important}
html.staff-ui-v1 body .staff-login-copy span{font-size:10px!important;letter-spacing:.14em;color:var(--s6-orange)}
html.staff-ui-v1 body .staff-login-copy h1{font-size:36px!important;line-height:1.1!important}
html.staff-ui-v1 body .staff-login-copy p,html.staff-ui-v1 body .staff-login-foot{font-size:13px!important;color:#bebebe!important}
html.staff-ui-v1 body .staff-login-form-panel{padding:36px!important;min-width:0!important}
html.staff-ui-v1 body .staff-login-form-head span{font-size:10px!important;letter-spacing:.15em!important;color:var(--s6-orange)!important}
html.staff-ui-v1 body .staff-login-form-head h2{font-size:28px!important;margin:8px 0 10px!important}
html.staff-ui-v1 body .staff-login-form-head p{font-size:13px!important;color:var(--s6-muted)!important;margin-bottom:24px!important}
html.staff-ui-v1 body .staff-login-form-panel form{display:grid!important;gap:16px!important}
html.staff-ui-v1 body .staff-login-form-panel label{display:grid!important;gap:7px!important;font-size:12px!important;font-weight:700!important}
html.staff-ui-v1 body .staff-login-form-panel input{width:100%!important;height:48px!important;border:1px solid #3c3c3c!important;border-radius:11px!important;padding:0 14px!important;font-size:16px!important;background:#0c0c0c!important;color:#fff!important}
html.staff-ui-v1 body .staff-login-form-panel button[type=submit]{min-height:49px!important;width:100%!important;border-radius:11px!important;background:var(--s6-orange)!important;color:#fff!important;border:1px solid var(--s6-orange)!important;font-size:14px!important;font-weight:800!important;display:flex!important;justify-content:center!important;align-items:center!important;gap:20px!important}
html.staff-ui-v1 body .staff-login-form-panel .oauth-btn{min-height:48px!important;width:100%!important;border-radius:11px!important;border:1px solid #fff!important;background:#fff!important;color:#1a1a1a!important;font-size:14px!important;font-weight:800!important;display:flex!important;justify-content:center!important;align-items:center!important}
html.staff-ui-v1 body .staff-login-form-panel .auth-footer{font-size:12px!important;color:var(--s6-muted)!important}
html.staff-ui-v1 body .staff-login-error{color:#ffaca5!important;font-size:13px!important;overflow-wrap:anywhere}
html.staff-ui-v1 body .staff-login-error:empty{display:none!important}
html.staff-ui-v1 body .staff-back-site{display:block!important;font-size:12px!important;color:#c2c2c2!important;background:none!important;border:0!important;min-height:40px!important;padding:8px 0!important}

/* Fixed Staff frame — independent of Automotive's header/sidebar. */
html.staff-ui-v1 body[data-staff-install="true"] .staff-app{display:grid!important;grid-template-columns:236px minmax(0,1fr)!important;height:100dvh!important;min-height:0!important;width:100%!important;background:var(--s6-bg)!important;overflow:hidden!important}
html.staff-ui-v1 body[data-staff-install="true"] .staff-sidebar{position:relative!important;top:0!important;bottom:auto!important;left:auto!important;right:auto!important;display:flex!important;flex-direction:column!important;gap:0!important;width:236px!important;min-width:0!important;max-width:none!important;height:100%!important;max-height:none!important;padding:calc(env(safe-area-inset-top,0px) + 24px) 16px calc(env(safe-area-inset-bottom,0px) + 20px)!important;background:#0f0f0f!important;border:0!important;border-right:1px solid #2c2c2c!important;overflow-y:auto!important;z-index:30!important}
html.staff-ui-v1 body[data-staff-install="true"] .staff-sidebar-brand{width:100%!important;max-width:none!important;min-width:0!important;display:flex!important;gap:10px!important;align-items:center!important;margin:0 0 32px!important;padding:0!important}
html.staff-ui-v1 body .staff-sidebar-brand div{display:block!important}
html.staff-ui-v1 body .staff-sidebar-logo{width:48px!important;height:48px!important;object-fit:contain!important;border-radius:10px!important;flex:0 0 48px!important}
html.staff-ui-v1 body .staff-sidebar-wordmark{width:110px!important;height:auto!important}
html.staff-ui-v1 body .staff-sidebar-brand span{font-size:9px!important;letter-spacing:.16em!important;color:var(--s6-muted)!important;margin-top:5px!important}
html.staff-ui-v1 body .staff-sidebar-section-label{font-size:9px!important;letter-spacing:.16em!important;color:#929292!important;margin:0 10px 14px!important}
html.staff-ui-v1 body[data-staff-install="true"] .staff-sidebar nav{display:flex!important;flex-direction:column!important;width:100%!important;max-width:none!important;gap:7px!important;overflow:visible!important}
html.staff-ui-v1 body[data-staff-install="true"] .staff-sidebar nav button{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:10px!important;width:100%!important;min-width:0!important;max-width:none!important;min-height:46px!important;height:auto!important;padding:10px 12px!important;flex:0 0 auto!important;border:1px solid transparent!important;border-radius:11px!important;color:#b5b5b5!important;background:transparent!important;font-size:12px!important;font-weight:650!important;position:relative!important}
html.staff-ui-v1 body .staff-sidebar nav button span{display:inline!important;font-size:inherit!important;white-space:normal!important}
html.staff-ui-v1 body .staff-sidebar nav button .s6-nav-short{display:none!important}
html.staff-ui-v1 body .staff-sidebar nav button.active{background:#ff650013!important;border-color:#c5592166!important;color:#ff7c22!important}
html.staff-ui-v1 body .staff-sidebar nav button:hover{background:#ffffff05!important;color:#fff!important}
html.staff-ui-v1 body .staff-sidebar nav button i{width:20px!important;height:20px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 20px!important}
html.staff-ui-v1 body .staff-sidebar nav button em{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:auto!important;min-width:20px!important;height:20px!important;font:700 10px/1 Inter,sans-serif!important;border-radius:20px!important;padding:0 5px!important;position:static!important;margin-left:auto!important;background:var(--s6-orange)!important;color:#fff!important}
html.staff-ui-v1 body[data-staff-install="true"] .staff-sidebar-account{display:grid!important;grid-template-columns:34px minmax(0,1fr) 34px!important;gap:8px!important;margin-top:auto!important;padding-top:26px!important;width:100%!important;min-width:0!important;max-width:none!important;align-items:center!important;border-top:0!important}
html.staff-ui-v1 body .staff-sidebar-account .staff-sidebar-avatar{display:grid!important;width:34px!important;height:34px!important;place-items:center!important;background:#272727!important;color:#e8e8e8!important;border-radius:50%!important;font-size:12px!important}
html.staff-ui-v1 body .staff-sidebar-account>div:not(.staff-sidebar-avatar){display:block!important;min-width:0!important}
html.staff-ui-v1 body .staff-sidebar-account strong{display:block!important;font-size:11px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.staff-ui-v1 body .staff-sidebar-account span{color:#989898;font-size:9px!important;letter-spacing:.06em}
html.staff-ui-v1 body .staff-sidebar-account .staff-sidebar-logout{min-width:34px!important;max-width:34px!important;height:36px!important;padding:0!important}
html.staff-ui-v1 body .staff-workspace{width:100%!important;min-width:0!important;min-height:0!important;height:100%!important;display:flex!important;flex-direction:column!important;margin:0!important;overflow:hidden!important}
html.staff-ui-v1 body[data-staff-install="true"] .staff-topbar{position:relative!important;top:0!important;height:auto!important;min-height:72px!important;flex:0 0 auto!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;padding:calc(env(safe-area-inset-top,0px) + 14px) 26px 14px!important;background:#0e0e0e!important;backdrop-filter:none!important;border-bottom:1px solid #2d2d2d!important}
html.staff-ui-v1 body .s6-topbar-title{display:flex!important;align-items:center!important;gap:10px!important;min-width:0!important}
html.staff-ui-v1 body .s6-topbar-title>img{display:none!important;border-radius:8px;flex:0 0 38px}
html.staff-ui-v1 body .staff-topbar .s6-topbar-title span{font-size:9px!important;letter-spacing:.1em!important;color:#a8a8a8!important;display:block!important}
html.staff-ui-v1 body .s6-topbar-title em{font-style:normal;text-transform:uppercase;color:var(--s6-orange);margin-left:9px;letter-spacing:.04em;font-size:8px}
html.staff-ui-v1 body .staff-topbar .s6-topbar-title strong{font-size:16px!important;font-weight:750!important;margin-top:2px!important;display:block!important}
html.staff-ui-v1 body .staff-topbar-actions{display:flex!important;align-items:center!important;gap:8px!important;flex-shrink:0!important}
html.staff-ui-v1 body .staff-topbar-actions button{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;min-height:40px!important;height:auto!important;width:auto!important;max-width:none!important;padding:8px 11px!important;border:1px solid #383838!important;border-radius:10px!important;background:#161616!important;color:#dadada!important;font-size:11px!important;font-weight:650!important;white-space:nowrap!important}
html.staff-ui-v1 body .staff-topbar-actions .staff-logout-label{font-size:11px!important;display:inline!important}
html.staff-ui-v1 body .staff-topbar-actions .s6-system-mobile{display:none!important}
html.staff-ui-v1 body[data-staff-install="true"] .staff-main{width:100%!important;height:auto!important;min-height:0!important;min-width:0!important;flex:1 1 0!important;overflow:auto!important;overscroll-behavior:contain!important;-webkit-overflow-scrolling:touch;scrollbar-width:thin;padding:26px 28px calc(env(safe-area-inset-bottom,0px) + 36px)!important}
html.staff-ui-v1 body .staff-page{max-width:1440px!important;min-width:0!important;margin:0 auto!important;overflow:visible!important}
html.staff-ui-v1 body .staff-page-head{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:16px!important;margin:0 0 20px!important;padding:0!important;border:0!important}
html.staff-ui-v1 body .staff-page-head>div:first-child{min-width:0!important}
html.staff-ui-v1 body .staff-page-head>div>span{font-size:10px!important;font-weight:750!important;letter-spacing:.13em!important;color:var(--s6-orange)!important}
html.staff-ui-v1 body .staff-page-head h1{font-size:28px!important;margin:7px 0 8px!important;line-height:1.15!important}
html.staff-ui-v1 body .staff-page-head p{font-size:13px!important;color:var(--s6-muted)!important;max-width:650px!important;margin:0!important}
html.staff-ui-v1 body .staff-page-stat{background:#1d1d1d!important;border:1px solid #393939!important;min-width:68px!important;padding:10px 14px!important;border-radius:12px!important}
html.staff-ui-v1 body .staff-page-stat span{font-size:9px!important;color:#b6b6b6!important}
html.staff-ui-v1 body .staff-page-stat strong{font-size:24px!important}

/* Real queue counts, action cards and role-specific tools. */
html.staff-ui-v1 body .s6-overview-heading{display:flex;justify-content:space-between;align-items:center;gap:16px}
html.staff-ui-v1 body .s6-overview-heading h1{font-size:clamp(25px,2.5vw,38px)!important;margin:6px 0 10px}
html.staff-ui-v1 body .s6-overview-heading p:not(.s6-eyebrow){color:var(--s6-muted);font-size:13px;margin:0}
html.staff-ui-v1 body .s6-refresh{display:flex;align-items:center;gap:8px;min-height:40px;border:1px solid var(--s6-border);border-radius:10px;background:#171717;color:#e0e0e0;padding:8px 13px;font-size:12px;flex-shrink:0}
html.staff-ui-v1 body .s6-status-strip{display:flex;align-items:center;gap:9px;margin:24px 0 20px;padding:12px 0;border-top:1px solid #2f2f2f;border-bottom:1px solid #2f2f2f;font-size:11px;flex-wrap:wrap;color:var(--s6-muted)}
html.staff-ui-v1 body .s6-status-strip strong{font-weight:550;color:#cbcbcb}
html.staff-ui-v1 body .s6-status-strip time{margin-left:auto}
html.staff-ui-v1 body .s6-role{text-transform:capitalize;padding:3px 8px;border-radius:6px;border:1px solid #3f3f3f;font-size:10px;color:#e7e7e7}
html.staff-ui-v1 body .s6-session-dot{width:6px;height:6px;background:#9bc5a7;border-radius:50%}
html.staff-ui-v1 body .s6-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:22px}
html.staff-ui-v1 body .s6-metric{text-align:left;min-width:0;background:linear-gradient(150deg,#222222,#151515 75%);border:1px solid #393939;border-radius:16px;display:flex;flex-direction:column;padding:20px;color:#f6f6f6}
html.staff-ui-v1 body .s6-metric-title{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#b6b6b6;font-size:11px;font-weight:650}
html.staff-ui-v1 body .s6-metric-title svg{width:21px!important;height:21px!important;color:var(--s6-orange)}
html.staff-ui-v1 body .s6-metric>strong{font-size:42px;line-height:1.1;letter-spacing:-.045em;margin:22px 0 8px}
html.staff-ui-v1 body .s6-metric-action>strong{font-size:31px;margin-top:28px;margin-bottom:13px}
html.staff-ui-v1 body .s6-metric>small{font-size:11px;color:var(--s6-muted);flex:1}
html.staff-ui-v1 body .s6-metric-link{display:flex;align-items:center;justify-content:space-between;padding-top:17px;margin-top:17px;border-top:1px solid #333333;color:#e4e4e4;font-size:11px;font-weight:650}
html.staff-ui-v1 body .s6-metric-link b{color:var(--s6-orange);font-size:17px;line-height:1}
html.staff-ui-v1 body .s6-overview-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:18px}
html.staff-ui-v1 body .s6-panel{min-width:0;background:#151515;border:1px solid #343434;border-radius:16px;overflow:hidden}
html.staff-ui-v1 body .s6-panel>header{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:20px;border-bottom:1px solid #323232}
html.staff-ui-v1 body .s6-panel h2{font-size:18px!important;margin:5px 0 0!important}
html.staff-ui-v1 body .s6-panel>header button{font-size:11px;color:#ff8b39;border:0;background:none;padding:8px 0}
html.staff-ui-v1 body .s6-attention-list>button,html.staff-ui-v1 body .s6-tools>button{display:flex;align-items:center;gap:12px;width:100%;min-width:0;border:0;border-bottom:1px solid #2e2e2e;background:none;color:#f1f1f1;padding:17px 20px;text-align:left}
html.staff-ui-v1 body .s6-attention-list>button:last-child,html.staff-ui-v1 body .s6-tools>button:last-child{border-bottom:0}
html.staff-ui-v1 body .s6-attention-list i{display:grid;place-items:center;width:36px;height:36px;border:1px solid #614125;background:#ff65000b;color:#ff8530;border-radius:10px;flex:0 0 36px}
html.staff-ui-v1 body .s6-attention-list>button>span,html.staff-ui-v1 body .s6-tools>button>span{flex:1;min-width:0}
html.staff-ui-v1 body .s6-attention-list strong,html.staff-ui-v1 body .s6-tools strong{display:block;font-size:12px;font-weight:750;overflow-wrap:anywhere}
html.staff-ui-v1 body .s6-attention-list small,html.staff-ui-v1 body .s6-tools small{display:block;font-size:11px;color:#a4a4a4;margin-top:4px}
html.staff-ui-v1 body .s6-attention-list em{font-size:10px;color:#a4a4a4;font-style:normal}
html.staff-ui-v1 body .s6-attention-list b,html.staff-ui-v1 body .s6-tools b{color:#ef995c;font-size:16px;font-weight:500}
html.staff-ui-v1 body .s6-tools>button>svg{color:#b3b3b3!important;width:20px!important;height:20px!important}
/* All overview tools share the same icon, flexible copy, and arrow columns.
   Text-symbol icons must never share the text column's flex growth. */
html.staff-ui-v1 body .s6-tools>button{display:grid;grid-template-columns:20px minmax(0,1fr) 16px;min-height:72px;white-space:normal;line-height:1.5}
html.staff-ui-v1 body .s6-tools>button>span:first-child[aria-hidden="true"]{display:grid;place-items:center;width:20px;height:20px;flex:none;color:#b3b3b3;font-size:20px;line-height:1}
html.staff-ui-v1 body .s6-tools>button>span:not([aria-hidden="true"]){min-width:0;overflow-wrap:anywhere}
html.staff-ui-v1 body .s6-tools>button>b{width:16px;text-align:center;justify-self:end}
html.staff-ui-v1 body .s6-tools>button strong{font-size:13px;line-height:1.45}
html.staff-ui-v1 body .s6-tools>button small{line-height:1.5;overflow-wrap:anywhere}

html.staff-ui-v1 body .s6-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;text-align:center;min-height:220px;padding:26px}
html.staff-ui-v1 body .s6-empty strong{font-size:16px}
html.staff-ui-v1 body .s6-empty span,html.staff-ui-v1 body .s6-role-note,html.staff-ui-v1 body .s6-overview-foot{font-size:11px;color:var(--s6-muted)}
html.staff-ui-v1 body .s6-role-note{padding:12px 20px}
html.staff-ui-v1 body .s6-overview-foot{text-align:center;margin:24px 0 0}

/* Existing forms/data controls: legible typography, clear visual hierarchy. */
html.staff-ui-v1 body .staff-page input,html.staff-ui-v1 body .staff-page select,html.staff-ui-v1 body .staff-page textarea{border:1px solid #404040!important;background:#0f0f0f!important;color:#ebebeb!important;border-radius:10px!important;padding:11px 12px!important;font-size:13px!important;min-width:0!important;max-width:100%!important}
html.staff-ui-v1 body .staff-page input::placeholder,html.staff-ui-v1 body .staff-page textarea::placeholder{color:#979797!important}
html.staff-ui-v1 body .staff-page select{padding-right:24px!important}
html.staff-ui-v1 body .staff-page textarea{min-height:86px;resize:vertical}
html.staff-ui-v1 body .staff-page .staff-error{color:#ffb2a6!important;background:#331b19!important;border:1px solid #713c31!important;border-radius:10px!important;padding:12px!important;font-size:12px!important;overflow-wrap:anywhere}
html.staff-ui-v1 body .staff-empty{font-size:13px!important;color:#bdbdbd!important;padding:24px!important;line-height:1.6!important}
html.staff-ui-v1 body .staff-review-section-head{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:5px!important;margin-bottom:13px!important}
html.staff-ui-v1 body .staff-review-section-head>span{font-size:9px!important;letter-spacing:.13em!important;color:#b0b0b0!important}
html.staff-ui-v1 body .staff-review-section-head>strong{font-size:15px!important;color:#f1f1f1!important}
html.staff-ui-v1 body .staff-page button:not(.s6-metric):not(.staff-verify-row):not(.staff-business-row):not(.staff-user-row):not(.staff-support-ticket){min-height:38px;font-size:12px;border-radius:9px}
html.staff-ui-v1 body .staff-page .approve,html.staff-ui-v1 body .staff-page [data-staff-support-send],html.staff-ui-v1 body .staff-page [data-staff-support-save],html.staff-ui-v1 body .staff-page [data-staff-business-correction] button[type=submit]{background:var(--s6-orange)!important;border:1px solid var(--s6-orange)!important;color:#fff!important;font-weight:750!important;padding:11px 16px!important}
html.staff-ui-v1 body .staff-page .danger{color:#ffb2a6!important;border-color:#794437!important;background:#361f1a!important}
html.staff-ui-v1 body .staff-detail-back{display:none!important;border:1px solid #434343!important;background:#202020!important;color:#e5e5e5!important;text-align:left!important;padding:9px 12px!important;margin:0 0 12px!important}
html.staff-ui-v1 body .staff-businesses-tabs,html.staff-ui-v1 body .staff-users-tabs,html.staff-ui-v1 body .staff-system-tabs,html.staff-ui-v1 body .staff-support-subnav{display:flex!important;flex-wrap:nowrap!important;gap:8px!important;margin:0 0 16px!important;min-width:0!important;overflow-x:auto!important}
html.staff-ui-v1 body .staff-businesses-tabs button,html.staff-ui-v1 body .staff-users-tabs button,html.staff-ui-v1 body .staff-system-tabs button,html.staff-ui-v1 body .staff-support-subnav button{flex:1 0 auto!important;padding:12px 14px!important;background:#181818!important;border:1px solid #373737!important;border-radius:11px!important;color:#bcbcbc!important;text-align:left!important}
html.staff-ui-v1 body .staff-businesses-tabs button strong,html.staff-ui-v1 body .staff-users-tabs button strong,html.staff-ui-v1 body .staff-system-tabs button strong,html.staff-ui-v1 body .staff-support-subnav button strong{font-size:12px!important}
html.staff-ui-v1 body .staff-businesses-tabs button span,html.staff-ui-v1 body .staff-users-tabs button span,html.staff-ui-v1 body .staff-support-subnav button span{font-size:10px!important;margin-top:4px!important;color:#9c9c9c!important}
html.staff-ui-v1 body .staff-businesses-tabs button.active,html.staff-ui-v1 body .staff-users-tabs button.active,html.staff-ui-v1 body .staff-system-tabs button.active,html.staff-ui-v1 body .staff-support-subnav button.active{background:#291b13!important;color:#ff8938!important;border-color:#985026!important}
html.staff-ui-v1 body .staff-businesses-kpis,html.staff-ui-v1 body .staff-users-kpis{gap:10px!important;margin:0 0 18px!important;grid-template-columns:repeat(4,minmax(0,1fr))!important}
html.staff-ui-v1 body .staff-businesses-kpis>div,html.staff-ui-v1 body .staff-users-kpis>div{padding:15px!important;background:#1b1b1b!important;border:1px solid #363636!important;border-radius:11px!important;min-width:0!important}
html.staff-ui-v1 body .staff-businesses-kpis span,html.staff-ui-v1 body .staff-users-kpis span{font-size:10px!important;color:#a9a9a9!important}
html.staff-ui-v1 body .staff-businesses-kpis strong,html.staff-ui-v1 body .staff-users-kpis strong{font-size:25px!important;color:#f3f3f3!important;margin-top:5px!important}
html.staff-ui-v1 body .staff-filter-bar,html.staff-ui-v1 body .staff-business-tools>div,html.staff-ui-v1 body .staff-user-tools>div,html.staff-ui-v1 body .staff-support-filters>div{display:flex!important;gap:6px!important;flex-wrap:wrap!important}
html.staff-ui-v1 body .staff-filter-bar button,html.staff-ui-v1 body .staff-business-tools>div button,html.staff-ui-v1 body .staff-user-tools>div button,html.staff-ui-v1 body .staff-support-filters>div button{padding:7px 11px!important;font-size:11px!important;border:1px solid #3f3f3f!important;border-radius:8px!important;background:#1a1a1a!important;color:#b7b7b7!important}
html.staff-ui-v1 body .staff-filter-bar button.active,html.staff-ui-v1 body .staff-business-tools>div button.active,html.staff-ui-v1 body .staff-user-tools>div button.active,html.staff-ui-v1 body .staff-support-filters>div button.active{color:#ff9249!important;border-color:#885032!important;background:#2b1e16!important}
html.staff-ui-v1 body .staff-business-tools,html.staff-ui-v1 body .staff-user-tools{display:flex!important;flex-wrap:wrap!important;gap:12px!important;align-items:center!important;justify-content:space-between!important;margin-bottom:14px!important}
html.staff-ui-v1 body .staff-business-tools input,html.staff-ui-v1 body .staff-user-tools input{width:min(400px,100%)!important;min-height:42px!important}
html.staff-ui-v1 body .staff-business-table,html.staff-ui-v1 body .staff-user-table{border:1px solid #373737!important;border-radius:12px!important;overflow:hidden!important;background:#161616!important}
html.staff-ui-v1 body .staff-business-table-head,html.staff-ui-v1 body .staff-business-row{display:grid!important;grid-template-columns:1.3fr 1.2fr .7fr .85fr .75fr!important;min-width:0!important;gap:14px!important}
html.staff-ui-v1 body .staff-user-table-head,html.staff-ui-v1 body .staff-user-row{display:grid!important;grid-template-columns:1.2fr 1fr 1fr .65fr!important;min-width:0!important;gap:14px!important}
html.staff-ui-v1 body .staff-business-table-head,html.staff-ui-v1 body .staff-user-table-head{padding:13px 16px!important;font-size:9px!important;letter-spacing:.08em!important;background:#232323!important;color:#b0b0b0!important}
html.staff-ui-v1 body .staff-business-row,html.staff-ui-v1 body .staff-user-row{padding:17px 16px!important;text-align:left!important;width:100%!important;border:0!important;border-bottom:1px solid #353535!important;border-radius:0!important;background:transparent!important;color:#ececec!important;height:auto!important;align-items:start!important}
html.staff-ui-v1 body .staff-business-row>span,html.staff-ui-v1 body .staff-user-row>span{min-width:0!important;overflow-wrap:anywhere!important}
html.staff-ui-v1 body .staff-business-row strong,html.staff-ui-v1 body .staff-user-row strong{font-size:12px!important;font-weight:650!important;display:block!important}
html.staff-ui-v1 body .staff-business-row small,html.staff-ui-v1 body .staff-user-row small{font-size:10px!important;line-height:1.5!important;color:#a3a3a3!important;display:block!important;margin-top:5px!important;overflow-wrap:anywhere!important}
html.staff-ui-v1 body .staff-business-row.active,html.staff-ui-v1 body .staff-user-row.active{background:#261d17!important;box-shadow:inset 3px 0 #ff6500!important}
html.staff-ui-v1 body .staff-business-actions-layout,html.staff-ui-v1 body .staff-user-access-layout{display:grid!important;grid-template-columns:285px minmax(0,1fr)!important;gap:16px!important;min-height:0!important;align-items:start!important}
html.staff-ui-v1 body .staff-business-actions-layout>*,html.staff-ui-v1 body .staff-user-access-layout>*{min-width:0!important;background:#181818!important;border:1px solid #393939!important;border-radius:12px!important;max-height:none!important}
html.staff-ui-v1 body .staff-business-actions-layout>main,html.staff-ui-v1 body .staff-user-access-layout>main{padding:20px!important}
html.staff-ui-v1 body .staff-business-actions-layout>aside,html.staff-ui-v1 body .staff-user-access-layout>aside{max-height:480px!important;overflow:auto!important}
html.staff-ui-v1 body .staff-business-actions-layout>aside button,html.staff-ui-v1 body .staff-user-access-layout>aside button{display:block;width:100%;min-width:0!important;padding:14px!important;border-bottom:1px solid #393939!important;text-align:left!important;background:none!important;color:#e5e5e5!important;overflow-wrap:anywhere}
html.staff-ui-v1 body .staff-business-actions-layout>aside button strong,html.staff-ui-v1 body .staff-user-access-layout>aside button strong{font-size:12px!important;display:block}
html.staff-ui-v1 body .staff-business-actions-layout>aside button span,html.staff-ui-v1 body .staff-user-access-layout>aside button span{font-size:11px!important;color:#adadad!important;display:block}
html.staff-ui-v1 body .staff-business-actions-layout label>span,html.staff-ui-v1 body .staff-user-access-layout label>span{font-size:11px!important;color:#b9b9b9!important;margin-bottom:6px}
html.staff-ui-v1 body .staff-business-actions-layout h2,html.staff-ui-v1 body .staff-user-access-layout h2{font-size:22px!important}
html.staff-ui-v1 body .staff-business-actions-layout p,html.staff-ui-v1 body .staff-user-access-layout p{font-size:12px!important;color:#b6b6b6!important;overflow-wrap:anywhere}
html.staff-ui-v1 body .staff-business-actions-layout section,html.staff-ui-v1 body .staff-user-access-layout section{min-width:0;overflow-wrap:anywhere}
html.staff-ui-v1 body .staff-business-correction{display:grid!important;grid-template-columns:1fr 1fr!important;gap:12px!important}
html.staff-ui-v1 body .staff-business-correction .wide,html.staff-ui-v1 body .staff-business-correction .staff-review-section-head{grid-column:1/-1!important}
html.staff-ui-v1 body .staff-user-access-meta{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
html.staff-ui-v1 body .staff-user-access-meta strong{font-size:12px!important;overflow-wrap:anywhere}
html.staff-ui-v1 body .staff-business-audit-scroll,html.staff-ui-v1 body .staff-user-audit-scroll,html.staff-ui-v1 body .staff-verification-history-scroll{max-height:330px!important;overflow:auto!important;scrollbar-width:thin}
html.staff-ui-v1 body .staff-business-claims-grid,html.staff-ui-v1 body .staff-system-integrations-grid{grid-template-columns:repeat(auto-fit,minmax(min(280px,100%),1fr))!important;gap:15px!important}
html.staff-ui-v1 body .staff-business-claims-grid article,html.staff-ui-v1 body .staff-system-integrations-grid article{padding:20px!important;border-radius:13px!important;background:#1b1b1b!important;border-color:#393939!important;min-width:0!important;overflow-wrap:anywhere}
html.staff-ui-v1 body .staff-system-module button{font-size:12px!important}
html.staff-ui-v1 body .staff-system-module p,html.staff-ui-v1 body .staff-system-module small,html.staff-ui-v1 body .staff-system-module li{font-size:12px!important;overflow-wrap:anywhere}

/* Verification master/detail. */
html.staff-ui-v1 body .staff-verify-layout{display:grid!important;grid-template-columns:315px minmax(0,1fr)!important;gap:16px!important;align-items:start!important;min-width:0!important}
html.staff-ui-v1 body .staff-verify-list,html.staff-ui-v1 body .staff-verify-review{background:#161616!important;border:1px solid #393939!important;border-radius:13px!important;min-width:0!important;overflow:hidden!important}
html.staff-ui-v1 body .staff-verify-review{padding:22px!important;min-height:420px!important}
html.staff-ui-v1 body .staff-filter-bar{padding:14px!important;overflow:auto!important}
html.staff-ui-v1 body .staff-verify-list-body{max-height:600px!important;overflow:auto!important;scrollbar-width:thin}
html.staff-ui-v1 body .staff-verify-row{padding:18px 15px!important;gap:12px!important;background:none!important;border:0!important;border-radius:0!important;border-bottom:1px solid #383838!important;color:#f2f2f2!important;display:flex!important;justify-content:space-between!important;align-items:flex-start!important;width:100%!important;text-align:left!important}
html.staff-ui-v1 body .staff-verify-row>div{min-width:0}
html.staff-ui-v1 body .staff-verify-row small{font-size:9px!important;letter-spacing:.09em!important;color:#ff974e!important}
html.staff-ui-v1 body .staff-verify-row strong{display:block;font-size:14px!important;margin:6px 0!important;overflow-wrap:anywhere}
html.staff-ui-v1 body .staff-verify-row span,html.staff-ui-v1 body .staff-verify-row em{font-size:11px!important;line-height:1.5!important;color:#aeaeae!important}
html.staff-ui-v1 body .staff-verify-row.active{background:#322316!important;box-shadow:inset 3px 0 var(--s6-orange)!important}
html.staff-ui-v1 body .staff-review-title{display:flex!important;flex-wrap:wrap!important;align-items:flex-start!important;gap:12px!important}
html.staff-ui-v1 body .staff-review-title h2{font-size:26px!important;margin:8px 0!important;overflow-wrap:anywhere}
html.staff-ui-v1 body .staff-review-title p,html.staff-ui-v1 body .staff-review-title em{font-size:12px!important;color:#afafaf!important;overflow-wrap:anywhere}
html.staff-ui-v1 body .staff-review-title span{font-size:10px!important;color:var(--s6-orange)!important;letter-spacing:.08em}
html.staff-ui-v1 body .staff-review-meta{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important}
html.staff-ui-v1 body .staff-review-meta>div{padding:12px!important;background:#242424!important;border:1px solid #3e3e3e!important;border-radius:9px!important;min-width:0}
html.staff-ui-v1 body .staff-review-meta span{font-size:9px!important;color:#b2b2b2!important}
html.staff-ui-v1 body .staff-review-meta strong{font-size:11px!important;overflow-wrap:anywhere!important;color:#e9e9e9!important}
html.staff-ui-v1 body .staff-evidence-grid{grid-template-columns:1fr!important;gap:8px!important}
html.staff-ui-v1 body .staff-evidence-grid>*{padding:15px!important;border:1px solid #414141!important;background:#222222!important;border-radius:10px!important;color:#ebebeb!important;min-width:0!important}
html.staff-ui-v1 body .staff-evidence-grid strong{font-size:12px!important;overflow-wrap:anywhere!important}
html.staff-ui-v1 body .staff-evidence-grid small,html.staff-ui-v1 body .staff-evidence-grid span{font-size:10px!important}
html.staff-ui-v1 body .staff-review-actions{padding-top:18px!important;border-top:1px solid #404040!important;margin-top:20px!important}
html.staff-ui-v1 body .staff-review-actions textarea{width:100%!important}
html.staff-ui-v1 body .staff-review-actions>div:last-child{display:flex!important;flex-wrap:wrap!important;gap:10px!important;justify-content:flex-end!important;margin-top:12px!important}
html.staff-ui-v1 body .staff-review-actions button{padding:11px 14px!important}
html.staff-ui-v1 body .staff-review-placeholder{min-height:350px!important;display:flex!important;align-items:center!important;justify-content:center!important;flex-direction:column!important;gap:8px!important;text-align:center!important;padding:24px!important}
html.staff-ui-v1 body .staff-review-placeholder strong{font-size:18px!important}

/* Support: fixed-height list and conversation panes, reachable composer. */
html.staff-ui-v1 body[data-staff-ui-section="support"] .staff-main{display:flex!important;flex-direction:column!important}
html.staff-ui-v1 body .staff-support-module{display:flex!important;flex-direction:column!important;flex:1 1 0!important;min-height:600px!important;width:100%!important}
html.staff-ui-v1 body .staff-support-module>.staff-page-head{margin-bottom:14px!important}
html.staff-ui-v1 body .staff-support-subnav{flex:0 0 auto!important;margin-bottom:10px!important}
html.staff-ui-v1 body .staff-support-subnav button{padding:10px 12px!important}
html.staff-ui-v1 body .staff-support-subnav button span{display:none!important}
html.staff-ui-v1 body .staff-support-section-label,html.staff-ui-v1 body .staff-support-inbox-context{display:none!important}
html.staff-ui-v1 body .staff-support-audience-nav{display:flex!important;gap:8px!important;margin:0 0 12px!important;flex:0 0 auto!important}
html.staff-ui-v1 body .staff-support-audience-nav>button{flex:1!important;padding:9px 12px!important;display:flex!important;align-items:center!important;gap:10px!important;background:#1b1b1b!important;border:1px solid #3b3b3b!important;border-radius:10px!important;color:#cbcbcb!important}
html.staff-ui-v1 body .staff-support-audience-nav>button.active{border-color:#9b592d!important;background:#291f17!important}
html.staff-ui-v1 body .staff-support-audience-nav>button strong{font-size:12px!important}
html.staff-ui-v1 body .staff-support-audience-nav>button span,html.staff-ui-v1 body .staff-support-audience-nav>button em{display:none!important}
html.staff-ui-v1 body .staff-support-audience-icon{width:22px!important;height:22px!important;font-size:16px!important;background:none!important}
html.staff-ui-v1 body .staff-support-filters{display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:10px!important;margin:0 0 14px!important;flex:0 0 auto!important}
html.staff-ui-v1 body .staff-support-filters select{margin-left:auto!important;min-height:38px!important;font-size:12px!important;width:auto!important}
html.staff-ui-v1 body .staff-support-layout{display:grid!important;grid-template-columns:310px minmax(0,1fr)!important;gap:14px!important;min-height:340px!important;flex:1 1 0!important;align-items:stretch!important}
html.staff-ui-v1 body .staff-support-list{border:1px solid #3d3d3d!important;border-radius:12px!important;background:#191919!important;overflow:auto!important;max-height:none!important;min-width:0!important;min-height:0!important;scrollbar-width:thin}
html.staff-ui-v1 body .staff-support-ticket{padding:17px 15px!important;display:block!important;width:100%!important;text-align:left!important;color:#f3f3f3!important;background:none!important;border:0!important;border-radius:0!important;border-bottom:1px solid #393939!important}
html.staff-ui-v1 body .staff-support-ticket.active{background:#302218!important;box-shadow:inset 3px 0 var(--s6-orange)!important}
html.staff-ui-v1 body .staff-support-ticket-top{display:flex!important;align-items:start!important;flex-wrap:wrap!important;gap:8px!important}
html.staff-ui-v1 body .staff-support-ticket-top strong{font-size:13px!important;flex:1!important;min-width:0;overflow-wrap:anywhere}
html.staff-ui-v1 body .staff-ticket-priority{font-size:9px!important;line-height:1.3!important;padding:4px 6px!important;border-radius:5px!important}
html.staff-ui-v1 body .staff-support-ticket-meta,html.staff-ui-v1 body .staff-support-ticket-bottom{font-size:10px!important;color:#aeaeae!important;margin-top:11px!important;gap:8px!important;flex-wrap:wrap!important;overflow-wrap:anywhere}
html.staff-ui-v1 body .staff-support-detail{display:flex!important;flex-direction:column!important;min-width:0!important;min-height:0!important;max-height:none!important;overflow:hidden!important;padding:0!important;border:1px solid #3b3b3b!important;border-radius:12px!important;background:#161616!important}
html.staff-ui-v1 body .staff-support-detail-head{padding:16px 18px!important;border-bottom:1px solid #3c3c3c!important;display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:14px!important;flex-wrap:wrap!important;flex:0 0 auto!important}
html.staff-ui-v1 body .staff-support-detail-head>div:first-child{min-width:0!important}
html.staff-ui-v1 body .staff-support-detail-head h2{font-size:20px!important;margin:6px 0!important;overflow-wrap:anywhere}
html.staff-ui-v1 body .staff-support-detail-head span{font-size:9px!important;color:#b1b1b1!important;letter-spacing:.05em!important}
html.staff-ui-v1 body .staff-support-detail-head p{font-size:11px!important;color:#aeaeae!important;margin:0!important;overflow-wrap:anywhere}
html.staff-ui-v1 body .staff-support-detail-actions{display:flex!important;flex-wrap:wrap!important;gap:7px!important}
html.staff-ui-v1 body .staff-support-detail-actions button{padding:8px 10px!important;font-size:11px!important;background:#282828!important;border:1px solid #494949!important;color:#dedede!important}
html.staff-ui-v1 body .staff-support-assignment{margin-top:8px!important;font-size:11px!important;display:flex!important;gap:7px!important;flex-wrap:wrap}
html.staff-ui-v1 body .staff-support-assignment strong{font-size:11px!important;color:#dedede!important}
html.staff-ui-v1 body .staff-support-controls{display:flex!important;flex-wrap:wrap!important;align-items:end!important;gap:9px!important;padding:12px 16px!important;flex:0 0 auto!important;border-bottom:1px solid #353535!important}
html.staff-ui-v1 body .staff-support-controls label{flex:1!important;min-width:90px!important;font-size:10px!important}
html.staff-ui-v1 body .staff-support-controls label span{font-size:10px!important;color:#bfbfbf!important;margin-bottom:4px!important}
html.staff-ui-v1 body .staff-support-controls select{width:100%!important;font-size:12px!important;padding:7px 10px!important;min-height:37px!important}
html.staff-ui-v1 body .staff-support-conversation{flex:1 1 160px!important;min-height:140px!important;max-height:none!important;height:auto!important;overflow:auto!important;padding:18px!important;scrollbar-width:thin}
html.staff-ui-v1 body .staff-support-message{font-size:13px!important;line-height:1.6!important;max-width:88%!important;border:1px solid #464646!important;border-radius:13px!important;background:#282828!important;color:#ededed!important;padding:13px 15px!important;margin:0 0 12px!important;overflow-wrap:anywhere!important;white-space:pre-wrap}
html.staff-ui-v1 body .staff-support-message.from-staff{margin-left:auto!important;background:#302117!important;border-color:#6b492f!important}
html.staff-ui-v1 body .staff-support-message-head{display:flex!important;justify-content:space-between!important;gap:10px!important;margin-bottom:7px!important;flex-wrap:wrap}
html.staff-ui-v1 body .staff-support-message-head strong,html.staff-ui-v1 body .staff-support-message-head time{font-size:9px!important;color:#bbbbbb!important}
html.staff-ui-v1 body .staff-support-reply{flex:0 0 auto!important;display:flex!important;gap:10px!important;align-items:end!important;border-top:1px solid #3a3a3a!important;padding:13px 16px!important;background:#1a1a1a!important}
html.staff-ui-v1 body .staff-support-reply textarea{flex:1!important;width:100%!important;min-height:46px!important;height:46px!important;max-height:140px!important;resize:vertical!important;font-size:14px!important}
html.staff-ui-v1 body .staff-support-reply button{min-height:46px!important;white-space:nowrap!important}
html.staff-ui-v1 body .staff-support-detail-empty{display:flex!important;align-items:center!important;justify-content:center!important;text-align:center!important;padding:30px!important;gap:10px!important}
html.staff-ui-v1 body .staff-support-detail-empty strong{font-size:20px!important}
html.staff-ui-v1 body .staff-support-detail-empty span{font-size:12px!important;color:#aaaaaa!important}
html.staff-ui-v1 body .staff-support-close-box,html.staff-ui-v1 body .staff-support-readonly-banner,html.staff-ui-v1 body .staff-support-close-record{margin:12px 16px!important;padding:12px!important;flex:0 0 auto!important;font-size:12px!important;border-radius:10px!important}
html.staff-ui-v1 body .staff-support-close-box textarea{width:100%!important}
html.staff-ui-v1 body .staff-support-readonly-foot{padding:13px!important;border-top:1px solid #434343;font-size:12px;color:#c2c2c2;text-align:center}

/* Tablets and narrower workstations. */
@media(max-width:1180px){
 html.staff-ui-v1 body[data-staff-install="true"] .staff-app{grid-template-columns:206px minmax(0,1fr)!important}
 html.staff-ui-v1 body[data-staff-install="true"] .staff-sidebar{width:206px!important;padding-left:12px!important;padding-right:12px!important}
 html.staff-ui-v1 body .s6-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
 html.staff-ui-v1 body .s6-overview-grid{grid-template-columns:1fr}
 html.staff-ui-v1 body .staff-verify-layout,html.staff-ui-v1 body .staff-business-actions-layout,html.staff-ui-v1 body .staff-user-access-layout{grid-template-columns:250px minmax(0,1fr)!important}
 html.staff-ui-v1 body .staff-support-layout{grid-template-columns:250px minmax(0,1fr)!important}
 html.staff-ui-v1 body .staff-business-row,html.staff-ui-v1 body .staff-user-row{gap:9px!important;padding:14px!important}
 html.staff-ui-v1 body .staff-review-meta{grid-template-columns:1fr!important}
}
@media(max-width:950px){
 html.staff-ui-v1 body[data-staff-install="true"] .staff-app{grid-template-columns:1fr!important;display:block!important}
 html.staff-ui-v1 body[data-staff-install="true"] .staff-sidebar{position:fixed!important;left:0!important;right:0!important;top:auto!important;bottom:0!important;width:100%!important;height:calc(65px + env(safe-area-inset-bottom,0px))!important;min-height:0!important;display:block!important;padding:5px max(8px,env(safe-area-inset-right,0px)) calc(env(safe-area-inset-bottom,0px) + 5px) max(8px,env(safe-area-inset-left,0px))!important;border:0!important;border-top:1px solid #3e3e3e!important;background:#131313!important;overflow:visible!important;z-index:60!important}
 html.staff-ui-v1 body[data-staff-install="true"] .staff-sidebar-brand,html.staff-ui-v1 body[data-staff-install="true"] .staff-sidebar-section-label,html.staff-ui-v1 body[data-staff-install="true"] .staff-sidebar-account{display:none!important}
 html.staff-ui-v1 body[data-staff-install="true"] .staff-sidebar nav{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:4px!important;height:100%!important;min-width:0!important;overflow:visible!important}
 html.staff-ui-v1 body[data-staff-install="true"] .staff-sidebar nav button{flex:none!important;display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:center!important;gap:3px!important;width:100%!important;min-width:0!important;max-width:none!important;min-height:48px!important;height:100%!important;padding:4px 2px!important;font-size:10px!important;font-weight:650!important;border-radius:10px!important;line-height:1.3!important}
 html.staff-ui-v1 body .staff-sidebar nav button[data-staff-section=system]{display:none!important}
 html.staff-ui-v1 body .staff-sidebar nav button .s6-nav-long{display:none!important}
 html.staff-ui-v1 body .staff-sidebar nav button .s6-nav-short{display:inline!important}
 html.staff-ui-v1 body .staff-sidebar nav button span{display:block!important;white-space:nowrap!important;overflow:visible!important;font-size:10px!important}
 html.staff-ui-v1 body .staff-sidebar nav button em{position:absolute!important;top:0!important;left:calc(50% + 4px)!important;height:17px!important;min-width:17px!important;max-width:42px!important;width:auto!important;padding:0 4px!important;font-size:9px!important}
 html.staff-ui-v1 body .staff-workspace{padding-bottom:calc(65px + env(safe-area-inset-bottom,0px))!important}
 html.staff-ui-v1 body[data-staff-install="true"] .staff-topbar{top:0!important;padding:calc(env(safe-area-inset-top,0px) + 11px) max(16px,env(safe-area-inset-right,0px)) 11px max(16px,env(safe-area-inset-left,0px))!important;min-height:68px!important;gap:10px!important}
 html.staff-ui-v1 body .s6-topbar-title>img{display:block!important;width:38px!important;height:38px!important}
 html.staff-ui-v1 body .staff-topbar-actions .s6-system-mobile{display:inline-flex!important;width:38px!important;padding:8px!important}
 html.staff-ui-v1 body .staff-topbar-actions .s6-open-site{display:none!important}
 html.staff-ui-v1 body .staff-topbar-actions .staff-topbar-logout{display:inline-flex!important;min-height:38px!important;min-width:38px!important;padding:8px!important}
 html.staff-ui-v1 body .staff-topbar-actions .staff-logout-label{font-size:10px!important}
 html.staff-ui-v1 body[data-staff-install="true"] .staff-main{padding:20px max(16px,env(safe-area-inset-right,0px)) 28px max(16px,env(safe-area-inset-left,0px))!important}
 html.staff-ui-v1 body .staff-page-head h1{font-size:25px!important}
 html.staff-ui-v1 body .s6-status-strip time{display:none}
 html.staff-ui-v1 body .s6-metric{padding:17px}
 html.staff-ui-v1 body .s6-metric-title{font-size:11px}
 html.staff-ui-v1 body .staff-verify-layout{grid-template-columns:1fr!important}
 html.staff-ui-v1 body[data-staff-ui-section=verify][data-staff-detail=false] .staff-verify-review{display:none!important}
 html.staff-ui-v1 body[data-staff-ui-section=verify][data-staff-detail=true] .staff-verify-list{display:none!important}
 html.staff-ui-v1 body[data-staff-ui-section=verify][data-staff-detail=true] .staff-verify-review{display:block!important}
 html.staff-ui-v1 body .staff-detail-back{display:block!important}
 html.staff-ui-v1 body .staff-business-actions-layout,html.staff-ui-v1 body .staff-user-access-layout{grid-template-columns:1fr!important}
 html.staff-ui-v1 body .staff-business-actions-layout>aside,html.staff-ui-v1 body .staff-user-access-layout>aside{max-height:220px!important}
 html.staff-ui-v1 body .staff-businesses-kpis,html.staff-ui-v1 body .staff-users-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 html.staff-ui-v1 body .staff-business-table-head,html.staff-ui-v1 body .staff-user-table-head{display:none!important}
 html.staff-ui-v1 body .staff-business-row,html.staff-ui-v1 body .staff-user-row{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;min-width:0!important;padding:18px!important}
 html.staff-ui-v1 body .staff-business-row>span:first-child,html.staff-ui-v1 body .staff-user-row>span:first-child{grid-column:1/-1!important}
 html.staff-ui-v1 body .staff-business-row>span:first-child strong,html.staff-ui-v1 body .staff-user-row>span:first-child strong{font-size:15px!important;color:#fff!important}
 html.staff-ui-v1 body .staff-business-row>span::before,html.staff-ui-v1 body .staff-user-row>span::before{display:block;font-size:8px;letter-spacing:.13em;color:#ff9a56;margin-bottom:5px}
 html.staff-ui-v1 body .staff-business-row>span:nth-child(2)::before{content:'OWNER'}html.staff-ui-v1 body .staff-business-row>span:nth-child(3)::before{content:'CLAIM'}html.staff-ui-v1 body .staff-business-row>span:nth-child(4)::before{content:'VERIFICATION'}html.staff-ui-v1 body .staff-business-row>span:nth-child(5)::before{content:'LISTING STATUS'}
 html.staff-ui-v1 body .staff-user-row>span:nth-child(2)::before{content:'ACCOUNT'}html.staff-ui-v1 body .staff-user-row>span:nth-child(3)::before{content:'ACCESS'}
 html.staff-ui-v1 body .staff-support-module{min-height:600px!important}
 html.staff-ui-v1 body .staff-support-layout{grid-template-columns:1fr!important;min-height:260px!important}
 html.staff-ui-v1 body[data-staff-detail=false] .staff-support-detail{display:none!important}
 html.staff-ui-v1 body[data-staff-detail=true] .staff-support-list{display:none!important}
 html.staff-ui-v1 body[data-staff-ui-section=support][data-staff-detail=true] .staff-main{padding-top:12px!important;padding-bottom:12px!important}
 html.staff-ui-v1 body[data-staff-detail=true] .staff-support-module{min-height:620px!important}
 html.staff-ui-v1 body[data-staff-detail=true] .staff-support-module>.staff-page-head,html.staff-ui-v1 body[data-staff-detail=true] .staff-support-subnav,html.staff-ui-v1 body[data-staff-detail=true] .staff-support-audience-nav,html.staff-ui-v1 body[data-staff-detail=true] .staff-support-filters{display:none!important}
 html.staff-ui-v1 body .staff-support-detail>.staff-detail-back{margin:10px 12px 0!important;align-self:start!important}
 html.staff-ui-v1 body .staff-support-detail-head{padding:13px!important;gap:9px!important}
 html.staff-ui-v1 body .staff-support-detail-head h2{font-size:18px!important}
 html.staff-ui-v1 body .staff-support-conversation{padding:13px!important}
 html.staff-ui-v1 body .staff-support-reply{padding:10px 12px!important;gap:7px!important}
 html.staff-ui-v1 body .staff-support-reply button{font-size:11px!important;padding:10px!important}
 html.staff-ui-v1 body .staff-support-reply textarea{font-size:16px!important}
}
@media(max-width:600px){
 html.staff-ui-v1 body .s6-overview-heading{align-items:flex-start}
 html.staff-ui-v1 body .s6-overview-heading h1{font-size:25px!important}
 html.staff-ui-v1 body .s6-overview-heading p:not(.s6-eyebrow){font-size:12px}
 html.staff-ui-v1 body .s6-refresh{font-size:22px;padding:4px 12px}.s6-refresh span{display:none}
 html.staff-ui-v1 body .s6-metrics{gap:10px}
 html.staff-ui-v1 body .s6-metric{padding:15px 12px}
 html.staff-ui-v1 body .s6-metric-title svg{width:18px!important;height:18px!important}
 html.staff-ui-v1 body .s6-metric-title{font-size:10px;gap:5px}
 html.staff-ui-v1 body .s6-metric>strong{font-size:36px;margin-top:16px}
 html.staff-ui-v1 body .s6-metric-action>strong{font-size:26px;margin-top:24px}
 html.staff-ui-v1 body .s6-metric-link{font-size:10px;gap:8px}
 html.staff-ui-v1 body .s6-panel>header,html.staff-ui-v1 body .s6-attention-list>button,html.staff-ui-v1 body .s6-tools>button{padding:16px}
 html.staff-ui-v1 body .s6-attention-list em{display:none}
 html.staff-ui-v1 body .staff-page-stat{padding:8px 10px!important;min-width:54px!important}
 html.staff-ui-v1 body .staff-businesses-tabs button,html.staff-ui-v1 body .staff-users-tabs button{padding:10px 12px!important}
 html.staff-ui-v1 body .staff-businesses-tabs button span,html.staff-ui-v1 body .staff-users-tabs button span{display:none!important}
 html.staff-ui-v1 body .staff-business-correction{grid-template-columns:1fr!important}
 html.staff-ui-v1 body .staff-review-meta{grid-template-columns:1fr!important}
 html.staff-ui-v1 body .staff-review-actions>div:last-child{flex-direction:column!important;align-items:stretch!important}
 html.staff-ui-v1 body .staff-review-actions button{width:100%!important}
 html.staff-ui-v1 body .staff-verify-review{padding:17px!important}
 html.staff-ui-v1 body .staff-support-subnav button{padding:9px!important;flex:0 0 auto!important}
 html.staff-ui-v1 body .staff-support-subnav button strong{font-size:11px!important}
 html.staff-ui-v1 body .staff-support-filters>div{flex-wrap:nowrap!important;overflow-x:auto!important;max-width:100%!important;padding-bottom:4px}
 html.staff-ui-v1 body .staff-support-filters>div button{flex:0 0 auto!important}
 html.staff-ui-v1 body .staff-support-module>.staff-page-head p{display:none!important}
 html.staff-ui-v1 body .staff-support-message{max-width:96%!important}
 html.staff-ui-v1 body .staff-topbar-actions .staff-logout-label{display:none!important}
 html.staff-ui-v1 body .staff-login-screen{padding:calc(env(safe-area-inset-top,0px) + 20px) 16px calc(env(safe-area-inset-bottom,0px) + 24px)!important;align-items:flex-start!important}
 html.staff-ui-v1 body .staff-login-shell{grid-template-columns:1fr!important;max-width:480px!important}
 html.staff-ui-v1 body .staff-login-brand-panel{padding:20px 24px!important;gap:0!important}
 html.staff-ui-v1 body .staff-login-copy,html.staff-ui-v1 body .staff-login-foot{display:none!important}
 html.staff-ui-v1 body .staff-login-logo{width:56px!important;height:56px!important;flex-basis:56px!important}
 html.staff-ui-v1 body .staff-login-form-panel{padding:25px!important}
}
@media(min-width:601px) and (max-width:950px){html.staff-ui-v1 body .staff-login-copy h1{font-size:28px!important}html.staff-ui-v1 body .staff-login-brand-panel{padding:25px!important}html.staff-ui-v1 body .staff-login-form-panel{padding:26px!important}}
@media(max-height:600px) and (orientation:landscape){
 html.staff-ui-v1 body .s6-welcome-content{max-width:1040px;display:grid;grid-template-columns:1fr 1fr;grid-template-rows:auto auto;gap:12px 30px;align-content:center;min-height:100%;padding:10px 0}
 html.staff-ui-v1 body .s6-welcome-logo{position:absolute;top:0;left:0;width:64px;margin:0}
 html.staff-ui-v1 body .s6-welcome-copy{grid-row:1/3;padding:55px 0 10px}
 html.staff-ui-v1 body #s6-welcome-title{font-size:clamp(30px,5vw,58px)!important}
 html.staff-ui-v1 body .s6-welcome-actions{padding-top:25px;margin:0 auto;align-self:end}
 html.staff-ui-v1 body .s6-welcome footer{grid-column:2;align-self:start;font-size:8px;letter-spacing:.1em;gap:8px}
 html.staff-ui-v1 body .s6-access-notice{margin-bottom:0}
}
@media(prefers-reduced-motion:reduce){html.staff-ui-v1 body .s6-spinner{animation:none}html.staff-ui-v1 body #app *{scroll-behavior:auto!important;transition:none!important}}
/* Staff welcome uses the complete existing car artwork, not a tall crop. */
html.staff-ui-v1 body .s6-welcome{background:radial-gradient(ellipse at 5% 62%,#35140477,transparent 40%),radial-gradient(ellipse at 95% 62%,#35140477,transparent 40%),#050505}
html.staff-ui-v1 body .s6-welcome::before{content:'';position:absolute;z-index:-2;top:35%;bottom:145px;left:0;right:0;background:url('assets/staff-ui/welcome-garage.webp') center/contain no-repeat}
html.staff-ui-v1 body .s6-welcome-shade{background:linear-gradient(180deg,rgba(0,0,0,.55),transparent 46%,transparent 68%,rgba(0,0,0,.8))}
html.staff-ui-v1 body #app h1,html.staff-ui-v1 body #app h2{text-transform:none}
html.staff-ui-v1 body .staff-support-detail{gap:0!important}
html.staff-ui-v1 body .s6-ticket-options{flex:0 0 auto;margin:0!important;background:#1e1e1e;border-bottom:1px solid #3a3a3a;border-top:1px solid #3a3a3a}
html.staff-ui-v1 body .s6-ticket-options>summary{display:flex;justify-content:space-between;align-items:center;gap:10px;min-height:42px;padding:10px 16px;font-size:12px;font-weight:700;color:#d8d8d8;cursor:pointer;list-style:none}
html.staff-ui-v1 body .s6-ticket-options>summary::-webkit-details-marker{display:none}
html.staff-ui-v1 body .s6-ticket-options .staff-support-detail-actions{padding:10px 14px!important}
html.staff-ui-v1 body .s6-ticket-options .staff-support-detail-actions button{width:auto!important;flex:1 1 auto!important}
html.staff-ui-v1 body .s6-ticket-options .staff-support-controls{border-bottom:0!important}
html.staff-ui-v1 body .staff-support-conversation{display:block!important;border:0!important;border-radius:0!important}
html.staff-ui-v1 body .staff-support-detail-head{gap:10px!important}
html.staff-ui-v1 body .staff-support-detail-head .staff-support-assignment{margin-bottom:0!important}
html.staff-ui-v1 body .staff-system-tabs{flex-wrap:wrap!important}
html.staff-ui-v1 body .staff-system-tabs>button{flex:1 1 180px!important;min-width:0!important}
@media(max-width:950px){
 html.staff-ui-v1 body[data-staff-detail=true] .staff-support-module{min-height:440px!important}
 html.staff-ui-v1 body .staff-support-conversation{min-height:110px!important}
 html.staff-ui-v1 body .staff-support-detail{overflow:auto!important}
 html.staff-ui-v1 body .staff-support-detail>.staff-detail-back{min-height:36px!important;margin-bottom:4px!important}
 html.staff-ui-v1 body .staff-support-detail-head{padding:10px 13px 12px!important}
 html.staff-ui-v1 body .s6-ticket-options>summary{min-height:38px;padding:8px 13px}
}
@media(max-height:600px) and (orientation:landscape){
 html.staff-ui-v1 body .s6-welcome::before{top:0;bottom:0;left:35%;right:0;opacity:.6}
 html.staff-ui-v1 body .s6-welcome-shade{background:linear-gradient(90deg,#050505ee,transparent 80%)}
}

/* Fade the photographed stage into the responsive welcome background. */
html.staff-ui-v1 .s6-welcome::before{-webkit-mask-image:linear-gradient(transparent,#000 16%,#000 83%,transparent);mask-image:linear-gradient(transparent,#000 16%,#000 83%,transparent);}
/* Keep the photographic edge out of the copy and use the full desktop canvas. */
@media(min-height:601px){
 html.staff-ui-v1 body .s6-welcome::before{top:40%;bottom:auto;height:min(43vh,76.15vw);-webkit-mask-image:linear-gradient(transparent,#000 20%,#000 78%,transparent);mask-image:linear-gradient(transparent,#000 20%,#000 78%,transparent)}
}
@media(min-width:1024px) and (min-height:601px){
 html.staff-ui-v1 body .s6-welcome{padding:30px 4vw}
 html.staff-ui-v1 body .s6-welcome-content{max-width:none;width:100%;padding-right:52%;justify-content:center}
 html.staff-ui-v1 body .s6-welcome-logo{width:clamp(115px,15vh,160px);margin-bottom:24px}
 html.staff-ui-v1 body #s6-welcome-title{font-size:clamp(48px,5.1vw,76px);margin:18px 0 22px}
 html.staff-ui-v1 body .s6-welcome-actions{margin-top:0;padding-top:36px;width:min(100%,420px)}
 html.staff-ui-v1 body .s6-welcome footer{margin-top:20px}
 html.staff-ui-v1 body .s6-welcome::before{left:40%;right:-5%;top:0;bottom:0;height:auto;background-size:cover;background-position:50% 50%;-webkit-mask-image:linear-gradient(90deg,transparent,#000 28%,#000 92%,transparent);mask-image:linear-gradient(90deg,transparent,#000 28%,#000 92%,transparent)}
 html.staff-ui-v1 body .s6-welcome-shade{background:linear-gradient(90deg,#050505 32%,#050505bb 49%,transparent 70%),linear-gradient(180deg,#05050599,transparent 35%,transparent 75%,#05050599)}
}

/* Permission guidance is a compact footer, after every dynamically mounted tool. */
html.staff-ui-v1 body .s6-panel>.s6-role-note{margin:0;padding:12px 20px;border-top:1px solid var(--s6-border);font-size:11px;line-height:1.5;background:var(--s6-panel)}
html.staff-ui-v1 body .s6-tools>.s6-role-note{margin:0;padding:12px 20px}

/* V49: keep all handheld Staff action targets reachable without enlarging text. */
@media(max-width:950px){
 html.staff-ui-v1 body .staff-topbar-actions button,
 html.staff-ui-v1 body .staff-topbar-actions .s6-system-mobile,
 html.staff-ui-v1 body .staff-topbar-actions .staff-topbar-logout{min-width:44px!important;min-height:44px!important;height:auto!important}
 html.staff-ui-v1 body .s6-refresh,
 html.staff-ui-v1 body .s6-panel>header>button,
 html.staff-ui-v1 body .st44-attention header>button,
 html.staff-ui-v1 body .st45c-summary button,
 html.staff-ui-v1 body .st45c-row>button[data-st45c=open],
 html.staff-ui-v1 body .staff-support-detail>.staff-detail-back,
 html.staff-ui-v1 body .s6-ticket-options>summary{min-height:44px!important}
 html.staff-ui-v1 body .staff-topbar-actions{flex-wrap:wrap!important;justify-content:flex-end!important;min-width:0!important}
 html.staff-ui-v1 body .staff-topbar-actions .sa45-entry{white-space:normal!important;max-width:160px!important;line-height:1.25!important}
 html.staff-ui-v1 body .staff-user-access-layout>main{min-width:0!important}
 html.staff-ui-v1 body .staff-user-access-layout>aside{max-height:250px!important;overflow:auto!important}
}
@media(max-width:600px){
 html.staff-ui-v1 body[data-staff-install=true] .staff-topbar{flex-wrap:wrap!important;gap:8px!important}
 html.staff-ui-v1 body .staff-topbar-actions{margin-left:auto!important;gap:6px!important}
 html.staff-ui-v1 body .staff-topbar-actions .sa45-entry{max-width:150px!important}
}
@media(max-width:950px){
 html.staff-ui-v1 .std45-coverage>summary,
 html.staff-ui-v1 .sfa47-history>summary,
 html.staff-ui-v1 .sti45-section>summary,
 html.staff-ui-v1 .st45c-requests>summary,
 html.staff-ui-v1 .st45c-timeline summary,
 html.staff-ui-v1 .st44-dialog summary,
 html.staff-ui-v1 .bmp details>summary{min-height:44px!important;padding-top:10px!important;padding-bottom:10px!important;cursor:pointer}
}
