/* Management surfaces only; radar and customer payload remain unchanged. */
.cell-identity small{display:block;max-width:230px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:11px/1.7 ui-monospace,Consolas,monospace;color:var(--muted)}.admin-shell .toolbar:empty+#content>.table-wrap{border-radius:8px}.admin-shell .toolbar+.pagination{margin-top:0}
.entry-note{margin:0 0 12px;font-size:12px}.package-choices{border:1px solid var(--line);border-radius:6px;margin:16px 0;padding:6px 12px;display:flex;gap:14px;flex-wrap:wrap}.package-choices legend{font-size:12px;color:var(--muted);padding:0 5px}.package-choices label{display:flex;align-items:center;gap:7px;margin:8px 0;font-size:13px}
.receipt-confirm{display:flex;gap:10px;align-items:flex-start;padding:12px;border:1px solid var(--line);border-radius:6px;background:var(--raised)}.receipt-confirm input{flex:none;margin-top:2px}
.admin-shell{font-size:14px;--sidebar-width:216px;background:#f3f5f8}
.admin-shell header.admin-header{position:sticky;top:0;z-index:10;height:60px;min-height:60px;padding:0 24px 0 16px;gap:16px}
.admin-header .brand{width:calc(var(--sidebar-width) - 16px);flex-shrink:0;margin:0;font-size:17px;gap:9px}
.admin-header .brand img{width:30px;height:30px}.brand-caption{font-size:11px;color:var(--muted);font-weight:500}
.workspace-label{margin-right:auto;color:var(--text);font-weight:600}.admin-header #identity{font-size:12px}.admin-header #logout{min-height:32px;padding:5px 12px;font-size:12px}
.admin-shell main{max-width:none;padding:0}.admin-shell[data-authenticated=true] main{margin-left:var(--sidebar-width)}
.admin-shell .layout{display:block}.admin-sidebar{position:fixed;left:0;top:60px;bottom:0;width:var(--sidebar-width);background:var(--panel);border-right:1px solid var(--line);padding:18px 12px;display:flex;flex-direction:column;overflow:auto;overscroll-behavior:contain}
.sidebar-label{font-size:13px;font-weight:650;margin:0 10px 14px}.admin-shell nav{gap:3px}.nav-group{font-size:11px;color:#7b8797;padding:17px 10px 6px;letter-spacing:.05em}.nav-group:first-child{padding-top:0}
.admin-shell nav button{display:flex;gap:10px;align-items:center;width:100%;min-height:36px;padding:7px 10px;border-radius:6px;font-size:13px;font-weight:500}.admin-shell nav button[aria-current=page]{border-color:transparent;background:#eaf2fb;color:#165d9a;font-weight:650;box-shadow:inset 3px 0 #165d9a}
.nav-mark{width:18px;height:18px;color:#8392a6;flex:none}.admin-shell nav button[aria-current=page] .nav-mark{color:#165d9a}.sidebar-foot{margin-top:auto;padding:24px 10px 0;font-size:11px;color:var(--muted)}.sidebar-foot span{display:block;margin-top:4px;color:#929bac}
.admin-content{padding:22px 28px;min-width:0;min-height:calc(100dvh - 60px)}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:18px}.page-eyebrow{font-size:11px;color:var(--muted);margin-bottom:4px}.admin-shell h1{font-size:22px;letter-spacing:-.025em;margin:0}.page-heading p{font-size:12px;margin:6px 0 0}.page-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.admin-shell button{min-height:34px;border-radius:6px;font-size:13px;padding:6px 12px}.admin-shell button:active{transform:none}.admin-shell input,.admin-shell select{min-height:36px;padding:7px 10px;border-radius:6px;font-size:14px}.admin-shell .toolbar{margin:0;padding:12px 14px;gap:8px;background:white;border:1px solid var(--line);border-bottom:0;border-radius:8px 8px 0 0;min-height:58px}.admin-shell .toolbar:empty{display:none}.admin-shell .toolbar input{width:225px}.admin-shell .toolbar select{width:145px}.toolbar .filter-summary{font-size:12px;color:var(--muted);margin-left:auto}.admin-shell .toolbar label{margin:0}.filter-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.admin-shell #content{min-width:0}.admin-shell #content>.table-wrap{background:#fff;border:1px solid var(--line);border-radius:0 0 8px 8px;max-height:calc(100dvh - 254px)}.admin-shell .table-wrap table{font-size:13px;min-width:720px}.admin-shell th{position:sticky;top:0;z-index:1;background:#f7f9fc;font-size:12px;color:#62738b;padding:11px 14px}.admin-shell td{padding:11px 14px;line-height:1.6;vertical-align:middle}.admin-shell tr:last-child td{border-bottom:0}.admin-shell td button{margin:0;font-size:12px;min-height:30px;padding:4px 9px}.admin-shell .empty-state{text-align:center;padding:58px 20px;color:var(--muted)}.empty-state strong{display:block;color:var(--text);font-size:14px;font-weight:550;margin-bottom:5px}.empty-state span{font-size:12px}.pagination{display:flex;justify-content:flex-end;align-items:center;gap:10px;padding-top:12px;font-size:12px;color:var(--muted)}.pagination:empty{display:none}.pagination .page-count{margin-right:auto}.pagination button{font-size:12px;min-height:30px;padding:4px 10px}
.row-actions{display:inline-block;min-width:64px}.row-actions summary{min-height:30px;padding:4px 9px;border:1px solid var(--line);border-radius:6px;font-size:12px;color:var(--accent);list-style:none;background:#fff}.row-actions summary::after{content:'⌄';padding-left:9px}.row-actions[open] summary::after{content:'⌃'}.action-menu{display:flex;gap:6px;flex-wrap:wrap;padding:8px 0;min-width:150px;max-width:260px}.admin-shell .action-menu button{white-space:nowrap}.status-tag{display:inline-block;border-radius:4px;padding:2px 7px;font-size:11px;border:1px solid #dfe5ed;color:#62738b;background:#f5f7fa;white-space:nowrap}.status-tag[data-tone=success]{color:#126c50;background:#edf8f2;border-color:#d0eadc}.status-tag[data-tone=danger]{color:#aa3544;background:#fff1f3;border-color:#f0d1d6}.status-tag[data-tone=warning]{color:#976116;background:#fff7e9;border-color:#efdfc0}.status-tag[data-tone=info]{color:#165d9a;background:#edf4fc;border-color:#d8e7f7}
.overview-section{background:white;border:1px solid var(--line);border-radius:8px;margin-bottom:16px;padding:18px}.overview-section h2{font-size:14px;margin:0 0 15px;font-weight:650}.admin-shell .overview-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0}.admin-shell .metric{background:none;border:0;border-radius:0;padding:0 20px;border-right:1px solid var(--line);font-size:12px}.admin-shell .metric:first-child{padding-left:0}.admin-shell .metric:last-child{border-right:0}.admin-shell .metric b{font-size:26px;margin-top:6px;letter-spacing:-.02em}.overview-states{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;font-size:12px;color:var(--muted)}.overview-states b{display:block;margin-top:5px;font-size:18px;color:var(--text);font-weight:600;font-variant-numeric:tabular-nums}.overview-footer{display:flex;justify-content:space-between;align-items:center;gap:16px}.overview-footer p{font-size:12px;max-width:600px;margin:0}.quick-actions{display:flex;gap:8px;flex-wrap:wrap}.admin-shell #content>p{font-size:12px}.admin-shell #notice{margin:14px 28px 0;padding:10px 14px;font-size:13px}.admin-shell .login{margin:8vh auto;max-width:420px;padding:28px}.admin-shell .login h1{font-size:23px;margin-top:23px}.portal-tabs{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:4px;background:#f2f5f9;border-radius:7px}.portal-tabs a{text-align:center;padding:8px;text-decoration:none;font-size:13px;color:var(--muted);border-radius:5px}.portal-tabs a[aria-current=page]{background:white;color:var(--accent);font-weight:600;box-shadow:0 1px 4px #1c37521a}.admin-shell .login .primary{min-height:40px}.login-help{border-top:1px solid var(--line);padding-top:16px;font-size:12px!important}.admin-shell dialog{padding:22px;border-radius:10px}.admin-shell dialog #fields>label{margin:12px 0}.admin-shell dialog #form-note{font-size:12px}.admin-shell .permissions label{font-size:13px}.security-block{padding:20px;background:#fff;border:1px solid var(--line);border-radius:8px}.security-block button{margin:8px 8px 0 0}
@media(max-width:1050px){.admin-shell{--sidebar-width:190px}.brand-caption{display:none}.admin-content{padding:20px}.admin-header #identity{max-width:210px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.admin-shell .metric{padding:0 12px}.admin-shell .metric b{font-size:23px}}
@media(max-width:780px){.admin-shell header.admin-header{height:auto;min-height:60px;padding:12px 16px;gap:8px}.admin-header .brand{width:auto;margin-right:auto}.admin-header .workspace-label{display:none}.admin-header #identity{max-width:140px}.admin-shell[data-authenticated=true] main{margin:0}.admin-sidebar{position:static;width:auto;padding:10px 12px;border-right:0;border-bottom:1px solid var(--line);overflow:auto}.sidebar-label,.sidebar-foot,.nav-group{display:none}.admin-shell nav{flex-direction:row;gap:5px}.admin-shell nav button{width:auto;white-space:nowrap;min-height:44px;padding:8px 12px}.admin-shell nav .nav-mark{display:none}.admin-content{padding:18px 12px;min-height:0}.page-heading{align-items:flex-start;gap:10px}.admin-shell h1{font-size:20px}.page-heading p{max-width:250px}.page-actions button,.admin-shell .toolbar button{min-height:44px}.admin-shell .toolbar{padding:10px}.admin-shell .toolbar input{width:min(190px,100%)}.admin-shell .toolbar select{width:125px}.toolbar .filter-summary{width:100%;margin:0}.admin-shell #content>.table-wrap{max-height:65dvh}.admin-shell .table-wrap::before{font-size:11px;padding:8px 12px;margin:0;background:white}.admin-shell .table-wrap table{min-width:720px}.admin-shell td,.admin-shell th{padding:10px 12px}.admin-shell .row-actions summary,.admin-shell td button{min-height:44px;padding:10px}.overview-section{padding:16px}.admin-shell .overview-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 0}.admin-shell .metric:nth-child(odd){padding-left:0}.admin-shell .metric:nth-child(even){border:0}.overview-states{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.overview-footer{display:block}.quick-actions{margin-top:14px}.admin-shell #notice{margin:12px}.admin-shell .login{margin:4vh 12px;max-width:460px;padding:24px}.admin-shell .login input{font-size:16px;min-height:44px}.admin-shell dialog{padding:18px}.admin-shell dialog button,.admin-shell .pagination button{min-height:44px}.admin-shell .pagination{flex-wrap:wrap;gap:6px}.admin-shell .pagination .page-count{width:100%}}
