:root{--ink:#1c2742;--muted:#738096;--primary:#006af5;--primary-dark:#0054c9;--line:#e7ebf2;--bg:#f5f7fb;--radius:18px;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}
*{box-sizing:border-box}body{margin:0;min-height:100vh;display:flex}button,input,select,textarea{font:inherit}button,a,input,select,summary{-webkit-tap-highlight-color:transparent}button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid transparent;border-radius:10px;background:var(--primary);color:#fff;font-weight:600;font-size:14px;padding:12px 18px;cursor:pointer;transition:background .15s,box-shadow .15s}button:hover{background:var(--primary-dark);box-shadow:0 3px 10px #006af518}button:disabled{opacity:.45;cursor:not-allowed;box-shadow:none}.secondary,.quiet{background:white;color:var(--ink);border:1px solid var(--line)}.secondary:hover,.quiet:hover{background:#f0f3fa;color:var(--primary)}button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible,a:focus-visible{outline:3px solid #93c5fd;outline-offset:3px}input,select,textarea{background:white;color:var(--ink);border:1px solid #dce2ee;border-radius:9px;min-height:45px;padding:10px 12px;max-width:100%;font-size:14px}input::placeholder{color:#a0a9b9}select{min-width:180px}label{display:block;font-size:13px;font-weight:600;line-height:1.6;color:#536079;margin:12px 0}label>input,label>select{display:block;margin-top:7px;width:100%}input[type=checkbox]{min-height:0;width:18px;height:18px;accent-color:var(--primary);flex-shrink:0}input[type=file]{padding:12px;border-style:dashed;background:#fafbff}p{font-size:14px;line-height:1.75;margin:10px 0}h1,h2,h3{letter-spacing:-.035em;margin-top:0}h1{font-size:32px;font-weight:700;line-height:1.2;margin:0 0 9px}h2{font-size:21px;line-height:1.35;margin:0 0 10px}h3{font-size:18px;margin:8px 0 12px}.muted{color:var(--muted)}.small,small{font-size:12px}.eyebrow{font-size:10px;font-weight:700;letter-spacing:.13em;color:var(--muted);margin:0 0 12px}.pill{display:inline-flex;border-radius:6px;padding:5px 9px;font-size:11px;font-weight:600;color:#2c8168;background:#eaf7f1}.pill.amber{color:#a0791c;background:#fff6da}[hidden]{display:none!important}
.sidebar{width:236px;flex-shrink:0;position:sticky;top:0;height:100vh;background:#fff;border-right:1px solid var(--line);padding:32px 22px;display:flex;flex-direction:column;overflow:auto}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--ink);font-size:20px;font-weight:800;letter-spacing:.05em}.brand-mark{display:grid;place-items:center;width:39px;height:43px;color:#fff;background:var(--primary);border-radius:12px;font-size:24px;letter-spacing:-.1em}.brand small{display:block;font-size:9px;font-weight:500;color:var(--muted);letter-spacing:.1em;margin-top:2px}.nav-label{font-size:9px;letter-spacing:.13em;color:#a0a9ba;font-weight:700;margin-top:52px;margin-bottom:14px}nav{display:grid;gap:7px}nav button{background:transparent;color:#69758b;text-align:left;justify-content:flex-start;font-size:13px;font-weight:500;border-radius:9px;padding:12px 10px;box-shadow:none}nav button:hover{color:var(--primary);background:#f5f7ff}nav button.active{background:#edf5ff;color:var(--primary);font-weight:650}.nav-icon{font-size:18px;width:22px;text-align:center}#advanced-nav{margin-top:32px;color:var(--muted);font-size:12px}summary{cursor:pointer;line-height:1.7}#advanced-nav summary{padding:10px}#technical-navigation{padding-top:10px;gap:2px}#technical-navigation button{font-size:11px;padding:9px 10px}.sidebar footer{margin-top:auto;padding-top:40px;font-size:10px;color:#7b8699}.sidebar footer small{display:block;font-size:9px;margin:9px 0 0 12px;line-height:1.6}.environment-dot{display:inline-block;width:5px;height:5px;background:#e7ad4c;border-radius:50%;margin-right:5px}main{flex:1;min-width:0;padding:0 48px 48px;max-width:1700px}.topbar{height:83px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:16px}.product-label{font-size:12px;color:var(--muted)}.session{display:flex;align-items:center;gap:16px}#identity{font-size:11px;color:var(--muted)}.quiet{font-size:11px;padding:7px 10px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:36px 0 28px}.page-heading p{color:var(--muted);margin-bottom:0}.page-heading .eyebrow{font-size:10px;margin:0 0 10px}#event-switcher{min-width:200px;max-width:300px;flex-shrink:0;font-size:10px}#event-switcher select{font-size:12px}.surface,#content>section{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:28px;margin:20px 0}.surface>p:first-of-type{margin-top:0}#message{position:fixed;bottom:24px;left:calc(236px + 48px);right:48px;max-width:800px;background:#24314b;color:#fff;border-radius:12px;box-shadow:0 10px 40px #1c27422a;padding:16px 20px;font-size:13px;z-index:5;line-height:1.6;overflow-wrap:anywhere}.signed-out .sidebar,.signed-out .page-heading{display:none}.signed-out main{max-width:none}.signed-out .topbar{border:0}.signed-out #message{left:24px}.login-card{max-width:460px;margin:60px auto;background:white;border:1px solid var(--line);padding:42px;border-radius:24px;box-shadow:0 20px 80px #24314b08}.login-icon{display:grid;place-items:center;width:48px;height:48px;background:#edf5ff;color:var(--primary);font-size:28px;font-weight:800;border-radius:14px;margin-bottom:28px}#auth-form{display:block;margin-top:24px}#auth-form button{width:100%;margin-top:8px}#auth-form label{font-size:12px}
#content>.welcome-hero{position:relative;padding:35px 38px;background:linear-gradient(115deg,#edf5ff 0%,#f7f9ff 70%,#e8f9ff 100%);border-color:#e2e7fc;margin-bottom:32px;overflow:hidden}.welcome-hero .eyebrow{color:#6679c0}.welcome-hero h2{font-size:32px;max-width:560px;margin-bottom:12px}.welcome-hero>p{max-width:610px;color:#6b7596}.hero-steps{display:flex;align-items:center;gap:24px;flex-wrap:wrap;margin:22px 0 25px}.hero-steps>span{display:flex;align-items:center;gap:8px;font-size:11px;color:#66708c}.hero-steps b{display:grid;place-items:center;border-radius:50%;width:23px;height:23px;background:#fff;color:var(--primary);font-size:10px}.event-grid,.gate-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:18px;margin-top:22px}.event-card{padding:24px;background:white;border:1px solid var(--line);border-radius:14px;min-width:0;overflow-wrap:anywhere}.event-card .eyebrow{font-size:9px;margin-bottom:15px}.event-card h3{font-size:21px;margin-bottom:15px}.event-card button{width:100%;margin-top:10px;font-size:12px}.list-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:20px}.list-toolbar>label{margin:0}.list-toolbar input[type=search]{min-width:240px}.checkbox-label{display:flex;align-items:center;gap:10px;font-size:12px;font-weight:400;cursor:pointer}.checkbox-label input{display:inline-block;margin:0;width:17px;flex-shrink:0}.empty-state{grid-column:1/-1;text-align:center;border:1px dashed #dce3f1;background:#fbfcff;border-radius:14px;padding:34px 24px}.empty-symbol{font-size:26px;color:var(--primary);width:48px;height:48px;display:inline-grid;place-items:center;background:#edf5ff;border-radius:14px;margin-bottom:14px}.empty-state h3{font-size:17px}.empty-state p{max-width:480px;margin:8px auto 18px;color:var(--muted);font-size:13px}.modal{width:min(520px,calc(100% - 32px));border:1px solid var(--line);border-radius:22px;padding:32px;box-shadow:0 20px 90px #1c27423b;color:var(--ink)}.modal::backdrop{background:#16234355;backdrop-filter:blur(4px)}.modal h2{font-size:26px}.modal>p{color:var(--muted)}.modal form{display:flex;flex-direction:column;align-items:stretch;gap:0}.modal label{margin:10px 0}.modal form>button{margin-top:18px}.modal>button{margin-top:12px;width:100%}.modal .technical-details{width:100%}
.wizard-intro{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin:0 0 22px}.wizard-intro .eyebrow{width:100%;margin:0;font-size:9px}.wizard-intro h2{font-size:25px;margin:0;overflow-wrap:anywhere}.steps{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid var(--line);border-radius:14px;background:#fff;gap:0;overflow:hidden;margin-bottom:26px}.steps button{padding:18px 12px;border-radius:0;justify-content:center;gap:10px;font-size:12px;color:var(--muted);border-right:1px solid var(--line)}.steps button:last-child{border-right:0}.steps button.current{background:#edf5ff;color:var(--primary);font-weight:650}.step-number{border:1px solid #dfe5ef;width:25px;height:25px;display:grid;place-items:center;border-radius:50%;font-size:11px;flex-shrink:0}.current .step-number{background:var(--primary);border-color:var(--primary);color:white}.complete .step-number{color:#33866e;background:#edf8f3;border-color:#edf8f3}.gate-card{position:relative;border:1px solid var(--line);border-radius:12px;padding:23px;background:#fcfdff;min-width:0}.gate-number{color:#778bd4;background:#edf1fc;font-size:11px;font-weight:700;padding:7px 9px;border-radius:7px;display:inline-block;margin-bottom:12px}.gate-card h3{font-size:20px}.gate-card p{font-size:12px}.add-gate-form{background:#f8faff;border:1px solid #e8ecf7;border-radius:12px;padding:6px 18px;display:flex;align-items:end;gap:15px;flex-wrap:wrap;margin-top:22px}.add-gate-form label{flex:1}.add-gate-form button{margin-bottom:13px}.wizard-footer{display:flex;justify-content:space-between;align-items:center;gap:18px;margin:30px 0 60px}.callout{padding:16px 20px;background:#eef3fc;border:1px solid #e1e9f8;border-radius:10px;color:#536c98;font-size:12px;line-height:1.8;margin:16px 0}.callout.warning{background:#fff8e7;border-color:#f6e7c3;color:#976e24}.phone-slots{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:20px 0}.phone-slot{border:1px solid var(--line);border-radius:12px;padding:20px;min-width:0}.phone-slot .eyebrow{font-size:9px}.phone-slot h3{font-size:19px;overflow-wrap:anywhere}.phone-slot p{color:var(--muted);font-size:12px}.phone-assignment{display:flex;flex-wrap:wrap;gap:16px;align-items:end}.phone-assignment label{flex:1;min-width:180px}.phone-assignment button{margin-bottom:12px}.distribution-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,170px),1fr));gap:14px;margin:24px 0}.distribution-card{display:flex;flex-direction:column;gap:10px;padding:20px;background:#f8faff;border:1px solid #e9edf8;border-radius:12px;font-size:13px}.distribution-card strong{font-size:30px;font-weight:650;letter-spacing:-.06em}.import-form{border-top:1px solid var(--line);margin-top:24px;padding-top:10px;display:grid;grid-template-columns:1fr 1fr;gap:8px 22px}.import-form>.technical-details,.import-form>button{grid-column:1/-1}.import-form>button{justify-self:start;margin:12px 0}.import-result:not(:empty){background:#f8fbfa;border:1px solid #deeee5;border-radius:12px;padding:22px;margin:20px 0}.import-result h3{font-size:17px}.import-result p{font-size:12px}.technical-details{border-top:1px solid var(--line);margin-top:18px;padding-top:15px;font-size:12px;color:var(--muted)}.technical-details summary{font-size:12px;font-weight:500}.technical-details form{margin-top:12px}.technical-details label{min-width:0}.review-checks{display:grid;gap:12px;margin-top:26px}.review-check{display:flex;align-items:center;gap:12px;padding:14px 0;border-top:1px solid var(--line);font-size:13px}.review-check .muted{margin-left:auto}.review-check .secondary{padding:5px 10px;font-size:11px}.check-symbol{display:grid;place-items:center;width:23px;height:23px;flex-shrink:0;background:#fff3d8;color:#b38b2a;border-radius:50%;font-size:12px}.ok .check-symbol{background:#e8f7ee;color:#368260}
form{display:flex;align-items:end;gap:12px;flex-wrap:wrap}form label{flex:1;min-width:170px}form button{margin-bottom:12px}table{border-collapse:collapse;width:100%;font-size:12px;margin-top:20px}th{background:#f9fafc;color:#8b96a8;font-size:10px;text-transform:uppercase;letter-spacing:.04em;font-weight:600}td,th{text-align:left;padding:14px 12px;border-bottom:1px solid var(--line);overflow-wrap:anywhere}td{max-width:360px}th:first-child{border-radius:8px 0 0 8px}th:last-child{border-radius:0 8px 8px 0}.table-scroll{overflow-x:auto}.qr-value{white-space:pre-wrap;font-family:monospace}.stats{display:flex;flex-wrap:wrap;gap:16px;margin-bottom:24px}.stats section{background:#fff;border:1px solid var(--line);border-radius:14px;flex:1;min-width:130px;padding:22px}.stats span{font-size:12px;color:var(--muted)}.metric{font-size:32px;font-weight:650;margin-top:8px;letter-spacing:-.06em}.device-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:18px;margin-top:22px}.device-card{border:1px solid var(--line);border-radius:14px;padding:24px;background:#fff;min-width:0}.device-card dl{display:grid;grid-template-columns:1fr 1.3fr;gap:10px;font-size:12px}.device-card dt{color:var(--muted)}.device-card dd{margin:0;overflow-wrap:anywhere}.device-card small{color:var(--muted);display:block;overflow-wrap:anywhere;margin:14px 0}.device-card button{font-size:12px}.device-card h3{overflow-wrap:anywhere}.actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:16px 0}.actions span{font-size:12px;color:var(--muted)}pre{padding:18px;background:#f4f6fb;border-radius:10px;white-space:pre-wrap;overflow-wrap:anywhere;max-height:350px;overflow:auto;font-size:12px}.notice{color:#9c7825}#content>section>button{margin:6px 8px 6px 0}#content{min-width:0}#content>section{overflow-wrap:anywhere}#content>section:has(>table){overflow-x:auto}
@media(min-width:1600px){main{padding-left:64px;padding-right:64px}.welcome-hero{min-height:280px}}@media(max-width:1100px){main{padding:0 28px 36px}.sidebar{width:210px;padding:28px 16px}.steps button{font-size:11px;padding:17px 8px}.hero-steps{gap:14px}#message{left:238px;right:28px}.page-heading{align-items:flex-start}.session{gap:8px}#identity{max-width:180px;overflow-wrap:anywhere}.phone-assignment button{width:100%}.list-toolbar{align-items:flex-start;flex-wrap:wrap}}
@media(max-width:760px){body{display:block}.sidebar{position:static;width:100%;height:auto;padding:18px 20px;display:block}.brand{font-size:18px}.brand-mark{width:32px;height:36px;font-size:21px}.nav-label,.sidebar footer{display:none}#navigation{display:flex;gap:7px;margin-top:20px;overflow:auto}#navigation button{font-size:11px;white-space:nowrap;padding:10px 8px;flex:1}.nav-icon{display:none}#advanced-nav{margin-top:12px}#advanced-nav summary{padding:4px 0;font-size:10px}#technical-navigation{grid-template-columns:1fr 1fr}.topbar{height:62px}.product-label{display:none}.session{width:100%;justify-content:space-between}main{padding:0 20px 32px}.page-heading{display:block;margin:26px 0}h1{font-size:27px}.page-heading>div>p{font-size:12px}#event-switcher{max-width:none;margin-top:20px}.steps{grid-template-columns:1fr 1fr}.steps button{font-size:11px;justify-content:flex-start;padding:12px}.steps button:nth-child(2){border-right:0}.steps button:nth-child(-n+2){border-bottom:1px solid var(--line)}#content>.welcome-hero{padding:25px}.welcome-hero h2{font-size:27px}.hero-steps{display:grid;grid-template-columns:1fr 1fr}.surface,#content>section{padding:22px}#message{left:16px;right:16px;bottom:16px;font-size:12px}.wizard-intro h2{font-size:22px}.wizard-intro{gap:12px}.phone-slots{grid-template-columns:1fr;gap:12px}.import-form{grid-template-columns:1fr}.wizard-footer{flex-wrap:wrap}.wizard-footer>button{flex:1}.wizard-footer>.muted{width:100%}.review-check{flex-wrap:wrap}.review-check .muted{margin-left:0}.review-check>span:nth-child(2){flex:1;min-width:140px}.review-check button{margin-left:35px}.list-toolbar input[type=search]{min-width:0}.list-toolbar>label{width:100%}.modal{padding:25px}.login-card{margin:20px auto;padding:28px}.signed-out main{padding:0 18px}.stats{gap:10px}.stats section{padding:16px;min-width:100px}.stats span{font-size:10px}.metric{font-size:26px}td,th{padding:12px 8px}.add-gate-form button{width:100%;margin-top:0}.event-grid{grid-template-columns:1fr}.callout{padding:14px}.technical-details{overflow-wrap:anywhere}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
.phone-location{background:#f8faff;border:1px solid #edf0f7;padding:15px;border-radius:9px;margin:18px 0}.phone-location strong{font-size:13px}.phone-location p{font-size:12px;margin:3px 0}.device-card>button{margin-top:18px}.device-card>.pill{margin-bottom:12px}.device-card .technical-details{margin-bottom:12px}.import-result td:first-child{white-space:pre-wrap;font-family:monospace}.technical-details form{display:block}.technical-details form button{margin-top:10px}
@media(max-width:760px){#navigation{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));overflow:visible}#navigation button{white-space:normal;justify-content:center;text-align:center;font-size:10px;line-height:1.5;padding:9px 6px;min-height:44px}}

.brand-logo{display:block;width:176px;height:auto;max-width:100%;object-fit:contain}.login-logo{display:block;width:266px;max-width:100%;height:auto;margin:0 0 32px}.brand{letter-spacing:normal}@media(max-width:1100px){.brand-logo{width:170px}}@media(max-width:760px){.brand-logo{width:164px}}

.form-error{width:100%;color:#a34e38;background:#fff4ef;border:1px solid #f4dcd3;padding:12px 14px;border-radius:9px;font-size:12px;line-height:1.7;margin:8px 0}
.phone-select-row{display:flex;align-items:end;gap:10px;flex:1;min-width:min(100%,270px)}.phone-select-row>label{flex:1;min-width:0}.phone-select-row>button{flex-shrink:0;font-size:12px;padding:12px 13px;margin-bottom:12px}.phone-assignment .assignment-summary{width:100%;margin:0 0 8px}.assignment-summary{padding:12px 14px;background:#f0f6ff;border:1px solid #e1ebfb;border-radius:9px;color:#536c98;font-size:12px;overflow-wrap:anywhere}.assignment-card>.secondary{margin:18px 0 0 14px}@media(max-width:760px){.phone-select-row{width:100%;flex-basis:100%}.phone-assignment .phone-select-row>button{width:auto}.assignment-card>.secondary{margin-left:0;display:flex}}
/* Compact density: keep touch targets on mobile while reducing desktop whitespace. */
:root{--radius:12px}.sidebar{width:214px;padding:22px 16px}.sidebar .brand-logo{width:172px}.nav-label{margin-top:30px;margin-bottom:10px}nav{gap:4px}nav button{padding:10px 8px}#advanced-nav{margin-top:20px}.sidebar footer{padding-top:22px}main{padding:0 28px 28px}.topbar{height:58px}.page-heading{margin:22px 0 16px;gap:18px}.page-heading .eyebrow{margin-bottom:6px}h1{font-size:26px;margin-bottom:5px}h2{font-size:18px;margin-bottom:7px}h3{font-size:16px;margin:6px 0 8px}p{font-size:13px;line-height:1.55;margin:7px 0}.eyebrow{margin-bottom:8px}button{padding:9px 13px;font-size:12px;border-radius:7px}input,select,textarea{min-height:37px;padding:8px 10px;font-size:12px;border-radius:7px}label{font-size:12px;margin:8px 0}label>input,label>select{margin-top:5px}input[type=file]{padding:8px}.surface,#content>section{padding:18px;margin:12px 0}.wizard-intro{gap:10px;margin-bottom:14px}.wizard-intro h2{font-size:21px}.wizard-intro .eyebrow{margin-bottom:0}.steps{border-radius:10px;margin-bottom:16px}.steps button{padding:11px 9px;font-size:11px;gap:8px}.step-number{width:22px;height:22px}.gate-grid,.event-grid,.device-grid{gap:12px;margin-top:14px}.gate-card,.event-card,.device-card{padding:16px;border-radius:10px}.gate-number{padding:5px 7px;margin-bottom:7px}.gate-card h3,.event-card h3{font-size:18px;margin-bottom:8px}.event-card .eyebrow{margin-bottom:10px}.event-card button{margin-top:6px}.add-gate-form{padding:3px 12px;gap:10px;margin-top:14px}.add-gate-form button{margin-bottom:9px}.phone-slots{gap:12px;margin:12px 0}.phone-slot{padding:12px;border-radius:9px}.phone-slot h3{font-size:16px;margin-bottom:5px}.phone-slot p{font-size:11px;margin-bottom:0}.phone-assignment{gap:10px}.phone-select-row{gap:7px}.phone-select-row>button{padding:9px 10px;font-size:11px;margin-bottom:8px}.phone-assignment button{margin-bottom:8px}.assignment-summary{font-size:11px;line-height:1.5;padding:9px 11px}.assignment-card>.secondary{margin-top:10px}.callout{padding:10px 13px;border-radius:8px;font-size:11px;line-height:1.6;margin:10px 0}.wizard-footer{gap:12px;margin:18px 0 32px}.stats{gap:12px;margin-bottom:14px}.stats section{padding:15px;border-radius:10px;min-width:110px}.stats span{font-size:11px}.metric{font-size:26px;margin-top:4px}.distribution-cards{gap:10px;margin:16px 0}.distribution-card{padding:12px;gap:6px;border-radius:9px;font-size:12px}.distribution-card strong{font-size:25px}.import-form{gap:4px 16px;margin-top:16px;padding-top:5px}.import-result:not(:empty){padding:15px;margin:12px 0}.review-checks{gap:8px;margin-top:16px}.review-check{padding:10px 0;gap:9px;font-size:12px}.technical-details{margin-top:12px;padding-top:10px}.technical-details summary{font-size:11px}.actions{gap:8px;margin:10px 0}table{font-size:11px;margin-top:13px}th{font-size:9px}td,th{padding:10px}.phone-location{padding:11px;margin:12px 0}.device-card dl{gap:7px;font-size:11px}.device-card small{margin:9px 0}.device-card>button{margin-top:12px}.device-card>.pill{margin-bottom:8px}#content>.welcome-hero{padding:24px;min-height:0;margin-bottom:18px}.welcome-hero h2{font-size:26px;margin-bottom:8px}.welcome-hero>p{font-size:13px}.hero-steps{gap:18px;margin:15px 0 18px}.hero-steps>span{font-size:10px}.hero-steps b{width:20px;height:20px}.list-toolbar{gap:14px;margin-top:14px}.empty-state{padding:23px 18px}.empty-symbol{width:36px;height:36px;font-size:21px;border-radius:10px;margin-bottom:7px}.empty-state h3{font-size:16px}.empty-state p{font-size:12px;margin:6px auto 12px}.modal{padding:25px;border-radius:16px}.modal h2{font-size:23px}.login-card{padding:32px;margin:40px auto}.login-logo{margin-bottom:24px}#message{left:242px;right:28px;bottom:18px;padding:12px 16px;font-size:12px}.form-error{padding:9px 11px;margin:6px 0}
@media(min-width:1600px){main{padding-left:36px;padding-right:36px}}@media(max-width:1100px){main{padding:0 22px 28px}#message{left:236px;right:22px}.phone-assignment button[type=submit]{width:auto}.phone-select-row>button{width:auto}}
@media(max-width:760px){.sidebar{width:100%;padding:14px 16px}.sidebar .brand-logo{width:145px}#navigation{margin-top:14px;gap:5px}#navigation button{padding:7px 5px;min-height:40px;font-size:10px}#advanced-nav{margin-top:8px}.topbar{height:50px}main{padding:0 14px 22px}.page-heading{margin:18px 0 13px}h1{font-size:24px}h2{font-size:17px}.page-heading>div>p{font-size:12px}#event-switcher{margin-top:12px}.surface,#content>section{padding:14px;margin:10px 0}.wizard-intro h2{font-size:19px}.steps button{padding:9px;font-size:10px;min-height:42px}.steps{margin-bottom:13px}.phone-slots{gap:9px}.phone-slot{padding:11px}.phone-select-row{width:100%;flex-basis:100%}.phone-select-row>button{min-height:42px;margin-bottom:8px}.phone-assignment button[type=submit]{width:100%;min-height:42px}input,select{min-height:42px}button{min-height:40px}.review-check .secondary{min-height:32px}.quiet{min-height:30px}#content>.welcome-hero{padding:18px}.welcome-hero h2{font-size:23px}.hero-steps{gap:11px}.event-grid{grid-template-columns:1fr}.wizard-footer{margin-bottom:26px}#message{left:12px;right:12px;bottom:12px;font-size:11px}.modal{padding:21px}.modal button{min-height:42px}.signed-out main{padding:0 14px}.login-card{margin:20px auto;padding:25px}.stats{gap:8px}.stats section{padding:12px;min-width:95px}.metric{font-size:23px}.phone-assignment .phone-select-row>button{width:auto}.assignment-card>.secondary{margin:10px 0 0}.import-form>button{min-height:42px}.add-gate-form button{min-height:42px}}
#user-menu{position:relative}#user-menu>summary{display:flex;align-items:center;gap:9px;list-style:none;font-size:12px;color:var(--ink);padding:5px 0;max-width:310px}#user-menu>summary::-webkit-details-marker{display:none}#user-avatar{display:grid;place-items:center;background:#eaf2ff;color:var(--primary);width:29px;height:29px;border-radius:50%;font-size:12px;font-weight:700;flex-shrink:0}.user-dropdown{position:absolute;right:0;top:100%;width:220px;padding:9px;border:1px solid var(--line);border-radius:10px;background:white;box-shadow:0 8px 28px #1c27421c;z-index:8}.user-dropdown>p{margin:4px 8px 9px}.user-dropdown>button{display:flex;justify-content:flex-start;width:100%;background:transparent;color:var(--ink);border:0;padding:9px 10px;font-size:12px}.user-dropdown>button:hover{background:#edf5ff;color:var(--primary)}#logout{border-top:1px solid var(--line);border-radius:0;margin-top:5px;padding-top:12px}#auth-form .checkbox-label{font-size:11px;margin:16px 0}#auth-form .checkbox-label input{width:17px;min-height:17px;height:17px;margin:0}#identity{color:var(--ink);font-size:12px}#content table button{padding:5px 9px;font-size:11px;min-height:28px}@media(max-width:760px){.session{justify-content:flex-end}#user-menu>summary{max-width:290px}.user-dropdown{width:210px}.user-dropdown button{min-height:40px}#content table button{min-height:34px}}
#identity{min-width:0;max-width:210px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.user-dropdown #user-role{white-space:normal;line-height:1.5}
.phone-setup-qr{display:block;width:min(100%,360px);height:auto;margin:12px auto;background:#fff;image-rendering:pixelated}
.page-loading{padding:22px 0;color:var(--primary);font-size:12px}
button.danger{background:#fff0f2;color:#ac3b51;border:1px solid #f2c7d0}button.danger:hover{background:#ffe2e7}

.import-form>.import-help{grid-column:1/-1;margin:3px 0 7px}.image-import-progress{overflow-wrap:anywhere}.import-result td{overflow-wrap:anywhere;white-space:pre-wrap}

.button-link{display:inline-flex;align-items:center;gap:8px;padding:10px 14px;border-radius:7px;background:var(--primary);color:#fff;font-size:12px;font-weight:600;text-decoration:none}.button-link:hover{background:var(--primary-dark)}.gate-card>.danger{margin-top:10px}

.import-mode-actions{display:flex;flex-wrap:wrap;gap:8px;grid-column:1/-1;margin:8px 0}.import-mode-actions [aria-pressed=true]{background:var(--primary);border-color:var(--primary);color:white}

/* Manager density: shared by every page, form, table and dialog. */
body{font-size:12px;line-height:1.45}.sidebar{width:184px;padding:16px 12px}.sidebar .brand-logo{width:146px}.nav-label{font-size:8px;margin:22px 0 7px}nav{gap:2px}nav button{font-size:10.5px;padding:8px 7px;gap:6px}#advanced-nav{margin-top:13px}#advanced-nav summary{font-size:10px}.sidebar footer{padding-top:15px;font-size:9px}main{padding:0 18px 20px}.topbar{height:44px;gap:10px}.page-heading{margin:14px 0 10px;gap:12px}.page-heading .eyebrow{font-size:8px;margin-bottom:4px}.page-heading>div>p{font-size:11px}h1{font-size:21px;margin-bottom:3px}h2{font-size:15px;margin-bottom:5px}h3{font-size:13px;margin:4px 0 5px}p{font-size:11.5px;line-height:1.5;margin:5px 0}.small,small{font-size:10px}.eyebrow{font-size:8px;margin-bottom:5px}button,.button-link{padding:7px 10px;font-size:11px;border-radius:6px;gap:6px}input,select,textarea{min-height:30px;padding:6px 8px;font-size:11.5px;border-radius:6px}select{min-width:140px}label{font-size:11px;line-height:1.4;margin:6px 0}label>input,label>select{margin-top:4px}input[type=file]{padding:6px}.surface,#content>section{padding:12px;margin:9px 0;border-radius:9px}.gate-grid,.event-grid,.device-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:8px;margin-top:10px}.gate-card,.event-card,.device-card{padding:10px;border-radius:8px}.gate-card h3,.event-card h3,.device-card h3{font-size:14px;margin:4px 0 6px}.gate-card p,.event-card p,.device-card p{font-size:11px}.gate-number{font-size:9px;padding:4px 6px;margin-bottom:4px}.pill{font-size:9px;padding:3px 6px}.device-card>.pill{margin-bottom:5px}.device-card>button,.event-card>button{font-size:10.5px;margin-top:7px}.device-card dl{font-size:10px;gap:4px}.device-card small{font-size:10px;margin:6px 0}.phone-location{padding:8px;margin:8px 0}.stats{gap:8px;margin-bottom:9px}.stats section{padding:10px;min-width:90px;border-radius:8px}.stats span{font-size:10px}.metric{font-size:20px;margin-top:3px}.distribution-cards{gap:8px;margin:10px 0}.distribution-card{padding:9px;gap:4px;font-size:11px;border-radius:7px}.distribution-card strong{font-size:21px}.wizard-intro{gap:8px;margin-bottom:10px}.wizard-intro h2{font-size:18px}.wizard-intro .eyebrow{font-size:8px}.wizard-intro>.danger{margin-left:auto}.steps{margin-bottom:10px;border-radius:8px}.steps button{padding:8px;font-size:10px;gap:6px}.step-number{width:19px;height:19px;font-size:9px}.phone-slots{gap:8px;margin:9px 0}.phone-slot{padding:9px;border-radius:7px}.phone-slot h3{font-size:14px}.phone-slot p{font-size:10px}.phone-assignment{gap:8px}.phone-select-row{gap:6px}.phone-select-row>button{font-size:10px;padding:6px 8px;margin-bottom:6px}.phone-assignment button{margin-bottom:6px}.assignment-summary{font-size:10px;padding:7px 9px}.callout{padding:8px 10px;font-size:10.5px;line-height:1.5;margin:8px 0;border-radius:6px}.actions{gap:6px;margin:8px 0}.technical-details{margin-top:8px;padding-top:7px;font-size:10.5px}.technical-details summary{font-size:10px}.technical-details form{margin-top:7px}.review-checks{gap:5px;margin-top:10px}.review-check{padding:7px 0;gap:7px;font-size:11px}.check-symbol{width:20px;height:20px;font-size:10px}.wizard-footer{margin:12px 0 22px;gap:8px}.import-form{margin-top:10px;padding-top:4px;gap:3px 12px}.import-form>button{margin:8px 0}.import-mode-actions{gap:6px;margin:6px 0}.import-result:not(:empty){padding:10px;margin:9px 0;border-radius:8px}.import-result h3{font-size:14px}.import-result p{font-size:11px}table{font-size:10.5px;margin-top:9px}td,th{padding:6px 8px;line-height:1.4}th{font-size:8.5px}.list-toolbar{gap:10px;margin-top:10px}.list-toolbar label{font-size:10.5px}.list-toolbar input[type=search]{min-height:30px}.empty-state{padding:16px 12px}.empty-state h3{font-size:14px}.empty-state p{font-size:11px;margin:4px auto 9px}.empty-symbol{width:29px;height:29px;font-size:18px;margin-bottom:5px}#content>.welcome-hero{padding:16px;margin-bottom:12px}.welcome-hero h2{font-size:22px}.welcome-hero>p{font-size:12px}.hero-steps{gap:12px;margin:10px 0 12px}.hero-steps>span{font-size:9px}.hero-steps b{width:18px;height:18px;font-size:9px}.modal{width:min(460px,calc(100% - 24px));padding:18px;border-radius:12px}.modal h2{font-size:19px}.modal label{margin:6px 0}.modal form>button{margin-top:10px}.modal>button{margin-top:8px}.login-card{max-width:360px;padding:23px;margin:24px auto;border-radius:16px}.login-logo{width:210px;height:auto;margin-bottom:18px}.login-card h2{font-size:20px}.login-card p{font-size:11.5px}.user-dropdown{width:190px;padding:6px}.user-dropdown>button{font-size:11px;padding:7px 8px;min-height:32px}#user-menu>summary{font-size:11px}#user-avatar{width:25px;height:25px;font-size:11px}#event-switcher{font-size:10px}#message{left:202px;right:18px;bottom:12px;padding:9px 12px;font-size:11px}.form-error{padding:7px 9px;font-size:11px}
@media(max-width:1100px) and (min-width:761px){.sidebar{width:172px;padding:14px 10px}.sidebar .brand-logo{width:140px}main{padding:0 14px 18px}#message{left:186px;right:14px}}
@media(max-width:760px){.sidebar{width:100%;padding:11px 12px}.sidebar .brand-logo{width:128px}main{padding:0 12px 18px}.topbar{height:42px}.page-heading{margin:13px 0 9px}h1{font-size:20px}.page-heading>div>p{font-size:11px}#navigation{margin-top:10px;gap:4px}#navigation button{font-size:9px;min-height:38px;padding:6px 5px}.surface,#content>section{padding:11px}.gate-grid,.event-grid,.device-grid{grid-template-columns:1fr;gap:8px}.gate-card,.event-card,.device-card{padding:10px}.wizard-intro h2{font-size:17px}.wizard-intro>.danger{margin-left:0}.phone-slots{grid-template-columns:1fr}.steps button{min-height:38px;padding:8px}button,.button-link,input,select{min-height:38px}.modal button{min-height:38px}.phone-select-row>button{min-height:38px;margin-bottom:6px}.modal{padding:16px}.modal h2{font-size:18px}.login-card{padding:20px;margin:18px auto}.signed-out main{padding:0 12px}td,th{padding:6px}.user-dropdown>button{min-height:38px}#message{left:12px;right:12px;bottom:10px}input[type=checkbox]{min-height:0}.product-label{display:none}}

.table-scroll{max-width:100%;min-width:0}.event-card,.gate-card,.device-card{min-height:0}

.continuity-members{display:grid;grid-template-columns:repeat(auto-fit,minmax(185px,1fr));gap:8px;margin:10px 0}.continuity-member{border:1px solid var(--line,#e3eaf3);border-radius:8px;padding:10px;min-width:0}.continuity-member h3{font-size:13px;margin:0 0 5px;overflow-wrap:anywhere}.continuity-member p{font-size:11px;margin:5px 0}.continuity-status{font-size:13px;color:#0755ab}.continuity-operation{border-top:1px solid #e5eaf0;padding-top:8px;font-size:11px;overflow-wrap:anywhere}.continuity-member button{margin-top:7px}.modal textarea{width:100%;max-width:100%;font:inherit;min-height:72px;border:1px solid #cbd5e1;border-radius:7px;padding:8px}
