:root{font-family:Inter,Noto Sans JP,Hiragino Kaku Gothic ProN,Yu Gothic,sans-serif;color:#172231;background:#f4f7f9;font-synthesis:none;text-rendering:optimizeLegibility;--navy: #071d34;--navy-2: #0b2c4d;--teal: #078c8d;--teal-soft: #e8f6f5;--line: #dce3e8;--muted: #6a7785;--surface: #ffffff;--surface-soft: #f7f9fa;--danger: #a14d4d}*{box-sizing:border-box}body{margin:0;min-width:0;min-height:100vh;background:#f4f7f9}button,input,select,textarea{font:inherit}button{cursor:pointer}.app-shell{min-width:1180px;min-height:100vh;display:grid;grid-template-columns:190px minmax(0,1fr)}.sidebar{position:fixed;inset:0 auto 0 0;width:190px;color:#dce7f2;background:var(--navy);display:flex;flex-direction:column;padding:24px 12px 18px}.brand{display:flex;align-items:center;gap:10px;padding:0 8px 28px}.brand>span{display:grid;place-items:center;width:38px;height:38px;border:1px solid #32506b;border-radius:10px;color:#fff}.brand svg{width:21px;height:21px}.brand strong{display:block;color:#fff;font-size:16px;letter-spacing:.01em;white-space:nowrap}.brand small{display:block;margin-top:3px;color:#91a8bc;font-size:11px;letter-spacing:.12em}nav{display:flex;flex-direction:column;gap:5px}nav button,.sidebar-footer button{border:0;background:transparent;color:inherit;display:flex;align-items:center;gap:12px;width:100%;height:46px;padding:0 12px;border-radius:8px;font-weight:650;text-align:left}nav button svg,.sidebar-footer button svg{width:19px;height:19px;stroke-width:1.8}nav button:hover,nav button.active{color:#fff;background:var(--navy-2)}nav button.active{box-shadow:inset 3px 0 #1ac4c0}.sidebar-footer{margin-top:auto;padding-top:14px;border-top:1px solid #23405a}.sidebar-footer .sidebar-logout:hover{color:#fff;background:#253e56}.workspace{grid-column:2;min-width:0}header{height:76px;padding:0 24px 0 28px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;z-index:10}header h1{margin:2px 0 0;font-size:22px;letter-spacing:-.02em}header>div>span{color:var(--muted);font-size:11px;font-weight:700}.header-tools{display:flex;align-items:center;gap:10px}.search{height:38px;width:260px;display:flex;align-items:center;gap:8px;border:1px solid var(--line);border-radius:8px;padding:0 11px;color:#73808d;background:#fafbfc}.search svg{width:17px}.search input{min-width:0;flex:1;border:0;outline:0;background:transparent;color:#172231;font-size:13px}.header-tools select{height:38px;border:1px solid var(--line);border-radius:8px;color:#344252;background:#fff;padding:0 30px 0 11px;font-size:13px}.icon-button{display:grid;place-items:center;width:38px;height:38px;border:1px solid var(--line);border-radius:8px;color:#52606d;background:#fff}.icon-button:hover{color:var(--teal);border-color:#8ac5c4}.icon-button svg{width:18px;height:18px}.notification{position:relative}.notification i{position:absolute;top:7px;right:7px;width:6px;height:6px;border-radius:50%;background:#d86752;box-shadow:0 0 0 2px #fff}.content{display:grid;grid-template-columns:minmax(0,1fr);min-height:calc(100vh - 76px)}.content.with-detail{grid-template-columns:minmax(620px,1fr) clamp(430px,31vw,560px)}main{min-width:0;padding:24px 26px 34px}.metrics{display:grid;grid-template-columns:repeat(5,minmax(120px,1fr));background:#fff;border:1px solid var(--line);border-radius:12px;margin-bottom:20px}.metric{padding:19px 18px;border-right:1px solid var(--line)}.metric:last-child{border-right:0}.metric-label{display:flex;align-items:center;gap:7px;color:var(--muted);font-size:12px;font-weight:700}.metric-label svg{width:15px;height:15px;color:var(--teal)}.metric-value{margin-top:12px;font-size:30px;line-height:1;font-weight:760;letter-spacing:-.04em}.metric-value small{margin-left:6px;font-size:12px;color:var(--muted);font-weight:600;letter-spacing:0}.company-section,.panel{background:#fff;border:1px solid var(--line);border-radius:12px}.company-section.standalone,.page-panel{min-height:calc(100vh - 126px)}.section-heading,.panel-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:18px 20px 14px}.section-heading h2,.panel-heading h3{margin:0;color:#1a2532;font-size:15px}.section-heading p,.panel-heading p{margin:5px 0 0;color:var(--muted);font-size:12px}.section-heading>span{color:var(--muted);font-size:12px}.table-wrap{overflow-x:auto;border-top:1px solid var(--line)}table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:12px}th{height:38px;color:#6e7b87;background:#f8fafb;font-size:11px;text-align:left;font-weight:700}th,td{padding:0 11px;border-bottom:1px solid var(--line)}th:first-child{width:38px}th:nth-child(2){width:28%}th:nth-child(3){width:10%}th:nth-child(4){width:11%}th:nth-child(5),th:nth-child(6),th:nth-child(7){width:8%}th:nth-child(8),th:nth-child(9){width:13%}th:last-child{width:28px}td{height:54px;color:#334151}tbody tr{cursor:pointer;outline:0}tbody tr:hover,tbody tr:focus{background:#f4faf9}tbody tr.selected{background:var(--teal-soft);box-shadow:inset 3px 0 0 var(--teal)}tbody tr.dragging{position:relative;z-index:3;background:#fff;box-shadow:0 10px 24px #071d3429;opacity:.92}.drag-handle-cell{padding:0 4px;text-align:center}.company-drag-handle{display:inline-grid;place-items:center;width:30px;height:36px;padding:0;border:0;border-radius:7px;color:#82909c;background:transparent;touch-action:none;cursor:grab}.company-drag-handle:hover,.company-drag-handle:focus-visible{color:var(--teal);background:#edf8f7;outline:0}.company-drag-handle:active{cursor:grabbing}.company-drag-handle:disabled{cursor:not-allowed;opacity:.35}.company-drag-handle svg{width:18px;height:18px}.reorder-hint{padding:9px 14px;border-top:1px solid var(--line);color:var(--muted);background:#fafbfc;font-size:10px;text-align:center}td strong{color:#172231}.domain-inline{display:block;margin-top:3px;color:#84909c;font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.company-type-cell{white-space:nowrap;font-weight:700;color:#405164}.number{text-align:right}.options-cell{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}td>svg{width:15px;color:#83909b}.muted{color:#8a95a0}.status{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;color:#52606d;font-weight:650}.status>span{width:7px;height:7px;border-radius:2px}.status-active>span{background:var(--teal)}.status-trial>span{background:#d9a323}.status-paused>span{background:#9ca6af}.empty{padding:44px;text-align:center;color:var(--muted)}.lower-grid{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(280px,.88fr);gap:18px;margin-top:18px}.panel-heading{border-bottom:1px solid var(--line)}.legend{display:inline-flex;align-items:center;gap:7px;color:var(--muted);font-size:10px}.legend i{width:18px;height:3px;background:var(--teal)}.trend-panel svg{display:block;width:100%;height:175px;padding:4px 20px 12px;color:var(--teal)}.grid-lines line{stroke:#e5eaee;stroke-width:1}.trend-panel circle{fill:#fff;stroke:var(--teal);stroke-width:3}.axis-labels text{fill:#7d8995;font-size:10px}.renewal-panel button{width:100%;border:0;border-bottom:1px solid var(--line);background:#fff;padding:13px 16px;display:flex;justify-content:space-between;text-align:left;color:#293645}.renewal-panel button:hover{background:#f7fafb}.renewal-panel button:last-child{border-bottom:0;border-radius:0 0 12px 12px}.renewal-panel button span{display:flex;align-items:center;gap:8px}.renewal-panel button small{color:var(--muted)}.renewal-panel svg{width:14px}.detail-panel{--detail-panel-inline: 30px;position:sticky;top:76px;display:flex;flex-direction:column;height:calc(100vh - 76px);overflow:hidden;background:#fff;border-left:1px solid var(--line)}.detail-stack{position:sticky;top:76px;height:calc(100vh - 76px);background:#fff;border-left:1px solid var(--line)}.detail-stack .detail-panel{position:static;height:calc(100% - 54px);border-left:0}.copy-url{position:absolute;left:22px;right:22px;bottom:12px;height:36px;border:1px solid var(--line);border-radius:8px;color:#43515f;background:#fff;display:flex;align-items:center;justify-content:center;gap:8px;font-size:11px;font-weight:750}.copy-url:hover{border-color:#7dc1c0;color:var(--teal)}.copy-url svg{width:15px}.detail-heading,.dialog-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.detail-heading{z-index:2;flex:0 0 auto;padding:28px var(--detail-panel-inline) 18px;border-bottom:1px solid var(--line);background:#fff;box-shadow:0 5px 14px #071d340a}.detail-heading>div{min-width:0;flex:1 1 auto}.detail-heading>.icon-button{flex:0 0 auto}.detail-panel-body{min-height:0;flex:1 1 auto;overflow-y:auto;overscroll-behavior:contain;padding:0 var(--detail-panel-inline) 28px}.section-label{color:var(--teal);font-size:10px;font-weight:800;letter-spacing:.08em}.detail-heading h2,.dialog-heading h2{margin:5px 0 0;font-size:26px;line-height:1.35}.detail-heading h2{overflow-wrap:anywhere}.detail-heading p{margin:7px 0 0;color:var(--muted);font-size:11px;overflow-wrap:anywhere}.detail-company-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:22px}.detail-company-stats>div{min-width:0;padding:13px 10px;border:1px solid #dce7e8;border-radius:10px;background:#f5faf9;text-align:center}.detail-company-stats span{display:block;overflow:hidden;color:var(--muted);font-size:10px;font-weight:700;white-space:nowrap;text-overflow:ellipsis}.detail-company-stats strong{display:inline-block;margin-top:7px;color:#123f43;font-size:22px;line-height:1}.detail-company-stats small{margin-left:3px;color:#607779;font-size:10px}.detail-section{padding:26px 0;border-bottom:1px solid var(--line)}.detail-section h3{margin:0 0 17px;font-size:14px}.detail-inline-options{margin-top:18px;padding-top:18px;border-top:1px solid #edf1f3}.detail-inline-options h4{margin:0 0 12px;color:#52606d;font-size:12px}dl{margin:0;display:flex;flex-direction:column;gap:12px}dl div{display:flex;align-items:center;justify-content:space-between;gap:12px}dt{color:var(--muted);font-size:11px}dd{margin:0;font-size:12px;font-weight:650}.editable-detail-row{display:grid;grid-template-columns:minmax(120px,.85fr) minmax(130px,1.15fr) auto;align-items:center;gap:14px;min-height:50px;padding:7px 0;border-bottom:1px solid #edf1f3}.editable-detail-row:last-child{border-bottom:0}.editable-detail-row dt{font-size:12px}.editable-detail-row dd{text-align:right;font-size:14px}.editable-detail-row button{height:34px;display:inline-flex;align-items:center;gap:5px;padding:0 11px;border:1px solid #cbd5dc;border-radius:7px;color:#3f5160;background:#fff;font-size:10px;font-weight:750}.editable-detail-row button svg{width:12px}.option-list{display:flex;flex-direction:column;gap:13px}.option-row{display:grid;grid-template-columns:20px 1fr auto;align-items:center;gap:9px;font-size:12px}.option-row strong{color:var(--muted);font-size:10px}.check{display:grid;place-items:center;width:17px;height:17px;border:1px solid #bbc5cd;border-radius:4px}.check.enabled{color:#fff;border-color:var(--teal);background:var(--teal)}.check svg{width:12px}.scale-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.scale-grid>div{display:grid;justify-items:center;gap:4px;padding:10px 3px;background:var(--surface-soft);border-radius:8px}.scale-grid svg{width:15px;color:var(--teal)}.scale-grid strong{font-size:15px}.scale-grid span{color:var(--muted);font-size:9px}.detail-section.note p{margin:0;color:#52606d;font-size:11px;line-height:1.7}.credential-stack{display:grid;gap:9px}.copy-value{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:14px 15px;border:1px solid var(--line);border-radius:10px;background:#f8fafb}.copy-value.has-qr{grid-template-columns:minmax(0,1fr) 64px auto}.copy-value small,.copy-value strong{display:block}.copy-value small{color:var(--muted);font-size:10px}.copy-value strong{margin-top:5px;overflow:hidden;color:#273746;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.copy-value-link{display:flex;align-items:center;gap:5px;min-width:0;margin-top:4px;color:#086f70;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:2px}.copy-value-link strong{min-width:0;margin-top:0;color:inherit}.copy-value-link svg{width:12px;height:12px;flex:none}.copy-value .secret-value{color:#086f70;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:14px;letter-spacing:.04em}.copy-value button{height:34px;display:inline-flex;align-items:center;gap:5px;padding:0 11px;border:1px solid #cbd5dc;border-radius:7px;color:#3f5160;background:#fff;font-size:10px;font-weight:750}.copy-value button:disabled{opacity:.45}.copy-value button svg{width:12px}.copy-value .qr-preview-button{width:64px;height:64px;display:grid;grid-template-columns:38px;grid-template-rows:38px 12px;justify-content:center;align-content:center;gap:2px;padding:3px;border-color:#b8c8ce;color:var(--teal);background:#fff}.qr-preview-button img{width:38px;height:38px;image-rendering:pixelated}.copy-value .qr-preview-button>svg{width:27px;height:27px;justify-self:center}.qr-preview-button span{font-size:8px;line-height:1}.copy-actions{display:flex;flex-direction:column;gap:5px}.copy-actions button{justify-content:center}.primary,.secondary{height:40px;border-radius:8px;padding:0 17px;border:1px solid transparent;font-weight:750;font-size:12px;display:inline-flex;align-items:center;justify-content:center;gap:8px}.primary{color:#fff;background:var(--teal)}.primary:hover{background:#057a7b}.primary:disabled{cursor:not-allowed;opacity:.48}.primary svg{width:16px}.primary.full{width:100%;margin-top:20px}.secondary.full{width:100%}.detail-actions{display:grid;gap:9px;margin-top:20px}.detail-actions .full{margin-top:0}.delete-company-button{color:var(--danger);border-color:#e8b9b2;background:#fff8f7}.delete-company-button:hover{background:#fff0ed}.danger-label{color:var(--danger)}.danger-warning{border-color:#efb8af;background:#fff4f2}.danger-warning>svg{color:var(--danger)}.delete-domain-summary{display:grid;gap:5px;margin:16px 0;padding:13px 15px;border:1px solid var(--line);border-radius:9px;background:#f8fafb}.delete-domain-summary small,.delete-domain-summary span{color:var(--muted);font-size:10px}.delete-domain-summary strong{overflow-wrap:anywhere;color:#273746;font-size:12px}.issue-button{height:38px;white-space:nowrap}.secondary{color:#334151;border-color:var(--line);background:#fff}.primary.danger-action{background:var(--danger);border-color:var(--danger)}.secondary:disabled{cursor:not-allowed;opacity:.5}.qr-dialog{width:min(520px,calc(100vw - 32px))}.qr-code-stage{display:grid;place-items:center;min-height:296px;margin-top:18px;padding:12px;border:1px solid var(--line);border-radius:14px;background:#fff}.qr-code-stage img{display:block;width:min(280px,100%);height:auto;image-rendering:pixelated}.qr-loading{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:12px;font-weight:700}.qr-loading svg{width:22px}.qr-url{display:flex;align-items:center;justify-content:center;gap:6px;margin-top:12px;color:var(--teal);font-size:11px;font-weight:750;text-align:center;overflow-wrap:anywhere}.qr-url svg{width:13px;flex:none}.qr-save-hint{margin:12px 0 0;color:var(--muted);font-size:10px;line-height:1.6;text-align:center}.qr-actions{justify-content:center}.qr-actions svg{width:15px}.matrix{border-top:1px solid var(--line)}.matrix-head,.matrix button{display:grid;grid-template-columns:1.2fr 1fr repeat(4,1fr);align-items:center;gap:10px;padding:0 20px}.matrix-head{height:42px;background:#f8fafb;color:var(--muted);font-size:11px;font-weight:700}.matrix button{width:100%;height:58px;border:0;border-bottom:1px solid var(--line);text-align:left;background:#fff;color:#344252}.matrix button:hover{background:#f4faf9}.matrix-on{color:var(--teal)}.matrix-on svg{width:17px}.matrix-off{color:#a6afb7}.plan-list{border-top:1px solid var(--line)}.plan-list button{width:100%;min-height:64px;display:grid;grid-template-columns:1fr auto 18px;align-items:center;gap:16px;padding:10px 20px;border:0;border-bottom:1px solid var(--line);color:#334151;background:#fff;text-align:left}.plan-list button:hover{background:#f4faf9}.plan-list strong,.plan-list small{display:block}.plan-list small{margin-top:4px;color:var(--muted);font-size:10px}.plan-list em{padding:5px 9px;border-radius:6px;color:#146667;background:var(--teal-soft);font-size:10px;font-style:normal;font-weight:750}.plan-list svg{width:15px;color:#81909d}.domain-list,.usage-list,.audit-list{border-top:1px solid var(--line)}.domain-list button,.usage-list button{width:100%;min-height:70px;display:grid;align-items:center;gap:14px;border:0;border-bottom:1px solid var(--line);background:#fff;text-align:left;padding:10px 20px;color:#334151}.domain-list button{grid-template-columns:38px 1fr auto 20px}.domain-list button:hover,.usage-list button:hover{background:#f4faf9}.domain-icon{width:36px;height:36px;display:grid;place-items:center;color:var(--teal);background:var(--teal-soft);border-radius:8px}.domain-icon svg{width:18px}.domain-list strong,.domain-list small,.usage-list strong,.usage-list small{display:block}.domain-list small,.usage-list small{margin-top:4px;color:var(--muted);font-size:11px}.domain-health{display:flex;align-items:center;gap:7px;font-size:11px;color:#536270}.domain-health i{width:7px;height:7px;border-radius:50%;background:var(--teal)}.domain-list>button>svg,.usage-list>button>svg{width:16px;color:#81909d}.usage-list button{grid-template-columns:190px 1fr 70px 20px}.usage-bar{height:8px;overflow:hidden;border-radius:5px;background:#edf1f3}.usage-bar i{display:block;height:100%;border-radius:inherit;background:var(--teal)}.audit-list>div{display:grid;grid-template-columns:38px 1fr auto;gap:14px;align-items:center;min-height:72px;padding:10px 20px;border-bottom:1px solid var(--line)}.audit-mark{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#eff4f6;color:#60717f}.audit-mark svg{width:16px}.audit-list strong,.audit-list small{display:block}.audit-list small{margin-top:4px;color:var(--muted);font-size:11px}.audit-list time{color:var(--muted);font-size:11px}.dialog-backdrop{position:fixed;inset:0;z-index:30;display:grid;place-items:center;padding:30px;background:#05132185}.dialog{width:min(650px,90vw);max-height:90vh;overflow-y:auto;border-radius:14px;background:#fff;box-shadow:0 28px 80px #0513213d;padding:24px}.dialog-heading p{margin:7px 0 0;color:var(--muted);font-size:12px;line-height:1.6}.compact-dialog{width:min(520px,90vw)}.elevated-warning{display:flex;align-items:flex-start;gap:10px;margin-top:18px;padding:13px;border:1px solid #f0c98b;border-radius:10px;color:#795321;background:#fff8e8}.elevated-warning>svg{width:19px;flex:0 0 auto}.elevated-warning span,.elevated-warning strong,.elevated-warning small{display:block}.elevated-warning strong{font-size:11px}.elevated-warning small{margin-top:4px;font-size:10px;line-height:1.6}.issue-dialog{width:min(620px,90vw)}.issue-flow{display:grid;grid-template-columns:auto 1fr auto 1fr auto;align-items:center;gap:10px;margin:22px 0 2px;color:#84909c;font-size:10px;font-weight:750}.issue-flow span.active{color:var(--teal)}.issue-flow i{height:1px;background:var(--line)}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:24px}.form-grid.single{grid-template-columns:1fr}.full-field{grid-column:1 / -1}.contract-schedule{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;padding:14px;border:1px solid var(--line);border-radius:10px;background:#f8fafb}.contract-schedule input[readonly]{color:#175f61;background:#eef8f7;font-weight:750}.form-grid label,.note-field{display:flex;flex-direction:column;gap:7px;color:#536270;font-size:11px;font-weight:700}.form-grid input,.form-grid select,.note-field textarea{width:100%;border:1px solid #cfd8df;border-radius:7px;color:#22303f;background:#fff;padding:0 11px;outline:0}.form-grid input,.form-grid select{height:40px}.form-grid input:focus,.form-grid select:focus,.note-field textarea:focus{border-color:var(--teal);box-shadow:0 0 0 3px #078c8d1a}.form-grid label small{color:#87939e;font-size:10px;font-weight:500}.form-grid input[aria-invalid=true]{border-color:#c46b62}.issue-preview{margin-top:18px;padding:16px;border:1px solid #bcd9d8;border-radius:10px;background:#f3fbfa}.issue-preview>div{display:flex;align-items:center;gap:11px}.issue-preview>div small,.issue-preview>div strong{display:block}.issue-preview>div small{color:var(--muted);font-size:10px}.issue-preview>div strong{margin-top:4px;color:#174f52;font-size:13px}.issue-preview dl{margin-top:15px;padding-top:13px;border-top:1px solid #cfe3e2}.issue-note{display:flex;align-items:flex-start;gap:10px;margin-top:14px;padding:12px 13px;border-radius:8px;color:#586775;background:#f5f7f8}.issue-note>svg{width:17px;color:var(--teal);flex:0 0 auto}.issue-note p{margin:0}.issue-note strong,.issue-note span{display:block}.issue-note strong{color:#344252;font-size:11px}.issue-note span{margin-top:4px;font-size:10px;line-height:1.6}fieldset{margin:22px 0 0;padding:0;border:0}legend{color:#536270;font-size:11px;font-weight:700;margin-bottom:8px}.toggle-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.option-toggle{height:44px;display:flex;align-items:center;gap:10px;padding:0 11px;border:1px solid var(--line);border-radius:8px;color:#43515f;background:#fff;text-align:left}.option-toggle.active{border-color:#7dc1c0;background:var(--teal-soft);color:#155f61}.option-toggle span{width:18px;height:18px;display:grid;place-items:center;border:1px solid #b9c4cc;border-radius:4px}.option-toggle.active span{border-color:var(--teal);color:#fff;background:var(--teal)}.option-toggle svg{width:12px}.option-placeholder{width:100%;height:44px;display:flex;align-items:center;justify-content:center;gap:8px;border:1px dashed #bdc9d1;border-radius:8px;color:#74818d;background:#f8fafb;font-size:11px;font-weight:700}.option-placeholder svg{width:15px}.note-field{margin-top:18px}.note-field textarea{min-height:80px;resize:vertical;padding-top:10px}.dialog-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:22px;padding-top:18px;border-top:1px solid var(--line)}.toast{position:fixed;z-index:50;right:24px;bottom:24px;min-width:280px;display:flex;align-items:center;gap:10px;padding:14px 16px;border-radius:9px;color:#fff;background:#123e43;box-shadow:0 15px 40px #05132133;font-size:12px;font-weight:700}.toast svg{width:17px}.state-banner{margin:0 0 18px;padding:14px 16px;border:1px solid #cbd5e1;border-radius:12px;background:#f8fafc;color:#475569;font-size:12px;font-weight:700}.state-banner.error{border-color:#fecaca;background:#fff1f2;color:#be123c}.audit-error{margin:16px 20px}.auth-page{min-height:100vh;display:grid;place-items:center;padding:28px;background:radial-gradient(circle at 50% 0,#e8f6f5 0,#f4f7f9 42%,#eef2f5)}.auth-card{width:min(430px,100%);padding:34px;border:1px solid #d6e0e5;border-radius:18px;background:#fffffff5;box-shadow:0 24px 70px #071d341f}.auth-brand{display:flex;align-items:center;gap:10px;color:var(--navy)}.auth-brand>span{width:36px;height:36px;display:grid;place-items:center;border-radius:10px;color:#fff;background:var(--navy)}.auth-brand svg{width:20px}.auth-brand strong,.auth-brand small{display:block}.auth-brand strong{font-size:16px}.auth-brand small{margin-top:2px;color:var(--muted);font-size:10px;letter-spacing:.1em}.auth-icon{width:50px;height:50px;display:grid;place-items:center;margin-top:34px;border-radius:14px;color:var(--teal);background:var(--teal-soft)}.auth-icon svg{width:23px}.auth-card h1{margin:18px 0 0;color:#172231;font-size:25px;letter-spacing:-.03em}.auth-card>p{margin:10px 0 0;color:var(--muted);font-size:12px;line-height:1.8}.auth-card form{margin-top:25px}.auth-card form label{display:block;margin-bottom:8px;color:#445363;font-size:11px;font-weight:750}.auth-card form input{width:100%;height:46px;padding:0 13px;border:1px solid #c9d4db;border-radius:9px;outline:0;color:#172231;background:#fff}.auth-card form input:focus{border-color:var(--teal);box-shadow:0 0 0 4px #078c8d1a}.auth-card form .primary{width:100%;height:44px;margin-top:15px}.auth-error{margin-top:10px;padding:10px 11px;border:1px solid #fecaca;border-radius:8px;color:#a64141;background:#fff1f2;font-size:11px;line-height:1.6}.auth-note{display:flex;align-items:center;gap:7px;margin-top:20px;color:#76838e;font-size:10px}.auth-note svg{width:14px;color:var(--teal)}.auth-loading{padding:16px 20px;color:var(--muted);font-size:12px;font-weight:700}.access-dialog{width:min(720px,94vw)}.access-url{display:flex;align-items:center;gap:12px;margin-top:22px;padding:14px;border:1px solid var(--line);border-radius:10px;background:#f8fafb}.access-url>svg{width:20px;color:var(--teal)}.access-url span,.access-url small,.access-url strong{display:block}.access-url small{color:var(--muted);font-size:10px}.access-url strong{margin-top:3px;color:#263647;font-size:12px}.issued-code{display:grid;grid-template-columns:28px 1fr auto;align-items:center;gap:13px;margin-top:14px;padding:16px;border:1px solid #74b8b6;border-radius:10px;background:var(--teal-soft)}.issued-code>svg{width:22px;color:var(--teal)}.issued-code small,.issued-code strong,.issued-code span{display:block}.issued-code small{color:#527273;font-size:10px}.issued-code strong{margin-top:5px;color:#123f43;font:800 20px ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.04em}.issued-code span{margin-top:5px;color:#617476;font-size:10px}.issued-code button{white-space:nowrap}.issue-access-row{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-top:18px}.issue-access-row label{flex:1;display:grid;gap:7px;color:#536270;font-size:11px;font-weight:700}.issue-access-row select,.issue-access-row input{height:40px;border:1px solid #cfd8df;border-radius:8px;padding:0 11px;background:#fff}.access-warning{margin:10px 0 0;color:#7b6751;font-size:10px}.device-heading{display:flex;align-items:center;justify-content:space-between;margin-top:24px;padding-top:18px;border-top:1px solid var(--line)}.device-heading h3{margin:0;font-size:13px}.device-heading span{color:var(--muted);font-size:11px}.device-list{margin-top:10px;border:1px solid var(--line);border-radius:10px;overflow:hidden}.device-list>div:not(.empty){min-height:62px;display:grid;grid-template-columns:10px 1fr auto auto;align-items:center;gap:11px;padding:10px 13px;border-bottom:1px solid var(--line)}.device-list>div:last-child{border-bottom:0}.device-dot{width:8px;height:8px;border-radius:50%;background:#aab3ba}.device-dot.active{background:var(--teal)}.device-dot.revoked{background:#bd665d}.device-list strong,.device-list small{display:block}.device-list strong{font-size:11px}.device-list small{margin-top:4px;color:var(--muted);font-size:9px}.device-list em{color:var(--muted);font-size:10px;font-style:normal}.device-list button{height:30px;border:1px solid #e2b9b5;border-radius:7px;color:#a54b43;background:#fff7f6;font-size:10px;font-weight:700}@media(max-width:640px){.issued-code{grid-template-columns:28px 1fr}.issued-code button{grid-column:1 / -1}.issue-access-row{align-items:stretch;flex-direction:column}.device-list>div:not(.empty){grid-template-columns:10px 1fr auto}.device-list button{grid-column:2 / -1}}@media(max-width:1320px){.content.with-detail{grid-template-columns:minmax(560px,1fr) 410px}main{padding-inline:18px}.metric{padding-inline:13px}.metric-label{font-size:10px}.detail-panel{--detail-panel-inline: 22px}}@media(prefers-reduced-motion:no-preference){.dialog{animation:dialog-in .18s ease-out}.toast{animation:toast-in .2s ease-out}}@keyframes dialog-in{0%{opacity:0;transform:translateY(8px) scale(.99)}}@keyframes toast-in{0%{opacity:0;transform:translateY(8px)}}.pwa-install{position:fixed;right:20px;bottom:20px;z-index:1000;width:min(390px,calc(100vw - 32px));padding:18px;border:1px solid #cbd5e1;border-radius:16px;background:#fff;box-shadow:0 20px 55px #071d3438}.pwa-install>div{padding-right:28px}.pwa-install strong,.pwa-install span{display:block}.pwa-install strong{color:var(--navy);font-size:15px}.pwa-install span{margin-top:5px;color:var(--muted);font-size:11px;line-height:1.6}.pwa-install-close{position:absolute;top:10px;right:10px;display:grid;place-items:center;width:32px;height:32px;border:0;border-radius:50%;color:#64748b;background:transparent}.pwa-install-close svg{width:17px}.pwa-install-action{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;height:42px;margin-top:14px;border:0;border-radius:9px;color:#fff;background:var(--teal);font-weight:800}.pwa-install-action svg{width:18px}@media(max-width:640px){.pwa-install{right:16px;bottom:16px}}.nav-backdrop,.sidebar-close,.mobile-menu-button{display:none}.header-title>span>small{display:block;color:var(--muted);font-size:11px;font-weight:700}.header-title{display:flex;align-items:center;gap:12px}.system-version-badge{position:relative;display:inline-flex;align-items:center;gap:5px;margin-left:4px;padding:5px 7px;border:1px solid var(--line);border-radius:6px;color:#657382;background:#f8fafb;font-size:10px;font-weight:750;line-height:1;white-space:nowrap}.system-version-badge small{padding-left:5px;border-left:1px solid #d7dfe5;color:#87929d;font-size:9px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;letter-spacing:.02em}.system-version-badge-update-dot{position:absolute;top:-3px;right:-3px;width:8px;height:8px;border-radius:999px;background:#ef4444;box-shadow:0 0 0 2px #fff;pointer-events:none}.auth-brand .system-version-badge{margin-left:auto}.touch-ui button,.touch-ui select{touch-action:manipulation}.device-tablet.app-shell{min-width:0;grid-template-columns:76px minmax(0,1fr)}.device-tablet .sidebar{width:76px;padding:20px 10px 16px;align-items:center}.device-tablet .brand{justify-content:center;padding:0 0 24px}.device-tablet nav button span,.device-tablet .sidebar-footer button{font-size:0}.device-tablet .brand>div{display:none}.device-tablet nav{width:100%}.device-tablet nav button,.device-tablet .sidebar-footer button{justify-content:center;gap:0;padding:0}.device-tablet nav button svg,.device-tablet .sidebar-footer button svg{width:21px;height:21px}.device-tablet .sidebar-footer{width:100%}.device-tablet .sidebar-footer>div{justify-content:center;padding-inline:0}.device-tablet .sidebar-footer p{display:none}.device-tablet .workspace{grid-column:2}.device-tablet .content.with-detail{grid-template-columns:minmax(0,1fr)}.device-tablet .detail-stack{position:fixed;z-index:25;top:0;right:0;bottom:0;width:min(430px,calc(100vw - 76px));height:auto;border-left:1px solid var(--line);box-shadow:-20px 0 50px #071d3429}.device-tablet .metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.device-tablet .metric:nth-child(3){border-right:0}.device-tablet .metric:nth-child(n+4){border-top:1px solid var(--line)}.device-tablet .lower-grid{grid-template-columns:1fr}.device-tablet .search{width:min(230px,24vw)}.device-tablet table{min-width:620px}@media(max-width:900px)and (min-width:721px){.device-tablet header{height:auto;min-height:76px;padding:10px 16px;flex-wrap:wrap;gap:8px}.device-tablet .header-title{width:100%}.device-tablet .header-title h1{font-size:19px;white-space:nowrap}.device-tablet .header-tools{width:100%}.device-tablet .search{width:auto;flex:1}}.device-mobile.app-shell{display:block;min-width:0}.device-mobile .workspace{min-width:0}.device-mobile .sidebar{z-index:50;width:min(310px,86vw);padding-top:max(22px,env(safe-area-inset-top));transform:translate(-105%);transition:transform .2s ease-out;box-shadow:18px 0 50px #04101c40}.device-mobile .sidebar.open{transform:translate(0)}.device-mobile .sidebar-close{display:grid;position:absolute;top:max(20px,env(safe-area-inset-top));right:14px;color:#dce7f2;border-color:#32506b;background:transparent}.device-mobile .nav-backdrop{display:block;position:fixed;inset:0;z-index:45;width:100%;height:100%;border:0;background:#0513217a}.device-mobile header{min-height:68px;height:auto;padding:10px 14px;padding-top:max(10px,env(safe-area-inset-top));align-items:center;flex-wrap:wrap;gap:10px}.device-mobile .header-title{flex:1 0 100%}.device-mobile .header-title>span{min-width:0}.device-mobile .header-title .system-version-badge{margin-left:auto}.device-mobile .mobile-menu-button{display:grid;flex:0 0 auto}.device-mobile header h1{overflow:hidden;font-size:19px;white-space:nowrap;text-overflow:ellipsis}.device-mobile .header-tools{display:grid;grid-template-columns:minmax(0,1fr) auto auto;width:100%}.device-mobile .issue-button{grid-column:1 / -1;width:100%}.device-mobile .search{width:100%}.device-mobile .header-tools select{max-width:112px}.device-mobile .content,.device-mobile .content.with-detail{display:block;min-height:0}.device-mobile main{padding:14px 12px calc(24px + env(safe-area-inset-bottom))}.device-mobile .metrics{grid-template-columns:repeat(2,minmax(0,1fr));overflow:hidden}.device-mobile .metric{min-width:0;padding:16px 14px}.device-mobile .metric:nth-child(2n){border-right:0}.device-mobile .metric:nth-child(n+3){border-top:1px solid var(--line)}.device-mobile .metric:last-child{grid-column:1 / -1}.device-mobile .metric-label{font-size:10px}.device-mobile .metric-value{font-size:27px}.device-mobile .section-heading,.device-mobile .panel-heading{padding:16px;gap:10px}.device-mobile .section-heading{align-items:stretch;flex-direction:column}.device-mobile .section-heading .secondary{width:100%}.device-mobile .lower-grid{grid-template-columns:1fr;gap:14px;margin-top:14px}.device-mobile .trend-panel svg{height:auto;padding-inline:8px}.device-mobile .renewal-panel button{align-items:flex-start;gap:12px}.device-mobile .table-wrap{overflow:visible;border-top:0;padding:0 10px 10px}.device-mobile table,.device-mobile thead,.device-mobile tbody,.device-mobile tr,.device-mobile td{display:block;width:100%}.device-mobile thead{display:none}.device-mobile table{font-size:12px}.device-mobile tbody tr{position:relative;display:grid;grid-template-columns:1fr 1fr;gap:0;margin-bottom:10px;padding:13px 36px 10px 42px;border:1px solid var(--line);border-radius:10px;background:#fff}.device-mobile tbody tr.selected{border-color:#82c3c1}.device-mobile td{height:auto;min-width:0;padding:7px 4px;border:0}.device-mobile td:first-child{position:absolute;top:50%;left:6px;width:32px;padding:0;transform:translateY(-50%)}.device-mobile td:nth-child(2){grid-column:1 / -1;padding-bottom:11px;border-bottom:1px solid var(--line)}.device-mobile td:nth-child(8),.device-mobile td:nth-child(9){grid-column:1 / -1}.device-mobile td:before{content:attr(data-label);display:block;margin-bottom:3px;color:var(--muted);font-size:9px;font-weight:700}.device-mobile td:first-child:before,.device-mobile td:nth-child(2):before,.device-mobile td:last-child:before{display:none}.device-mobile td.number{text-align:left}.device-mobile td.options-cell{white-space:normal}.device-mobile td:last-child{position:absolute;top:17px;right:10px;width:18px;padding:0}.device-mobile .detail-stack{position:fixed;z-index:35;inset:0;width:100%;height:100dvh;border:0}.device-mobile .detail-stack .detail-panel{--detail-panel-inline: 18px;height:100%}.device-mobile .detail-heading{padding-top:max(20px,env(safe-area-inset-top))}.device-mobile .detail-panel-body{padding-bottom:calc(24px + env(safe-area-inset-bottom))}.device-mobile .detail-heading h2{font-size:20px}.device-mobile .detail-company-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.device-mobile .editable-detail-row{grid-template-columns:minmax(0,1fr) auto;gap:8px}.device-mobile .editable-detail-row dt{grid-column:1 / -1}.device-mobile .editable-detail-row dd{min-width:0;text-align:left;overflow-wrap:anywhere}.device-mobile .copy-value,.device-mobile .copy-value.has-qr{grid-template-columns:minmax(0,1fr) 64px}.device-mobile .copy-value>:first-child{align-self:center}.device-mobile .copy-value .qr-preview-button{width:64px;height:64px}.device-mobile .copy-actions{flex-direction:row}.device-mobile .copy-actions{grid-column:1 / -1}.device-mobile .copy-actions button{flex:1}.device-mobile .copy-value button{width:100%;justify-content:center}.device-mobile .dialog-backdrop{z-index:70;align-items:end;padding:0}.device-mobile .dialog{width:100%;max-height:94dvh;padding:20px 16px calc(20px + env(safe-area-inset-bottom));border-radius:16px 16px 0 0}.device-mobile .form-grid,.device-mobile .toggle-grid{grid-template-columns:1fr}.device-mobile .contract-schedule{grid-template-columns:1fr;gap:12px}.device-mobile .full-field{grid-column:auto}.device-mobile .dialog-actions{flex-wrap:wrap}.device-mobile .dialog-actions button{flex:1;min-width:120px}.device-mobile .issue-flow{gap:5px;font-size:9px}.device-mobile .access-url{align-items:flex-start}.device-mobile .access-url strong{overflow-wrap:anywhere}.device-mobile .domain-list button{grid-template-columns:38px minmax(0,1fr) 18px;align-items:start}.device-mobile .domain-health{grid-column:2}.device-mobile .domain-list small{overflow-wrap:anywhere}.device-mobile .usage-list button{grid-template-columns:minmax(0,1fr) auto 18px}.device-mobile .usage-bar{grid-column:1 / -1;grid-row:2}.device-mobile .audit-list>div{grid-template-columns:34px minmax(0,1fr);gap:10px}.device-mobile .audit-list time{grid-column:2}.device-mobile .matrix{overflow-x:auto}.device-mobile .matrix-head,.device-mobile .matrix button{min-width:680px}.device-mobile .toast{right:12px;bottom:calc(12px + env(safe-area-inset-bottom));left:12px;min-width:0}.device-mobile .auth-page{padding:18px 14px}.device-mobile .auth-card{padding:26px 20px}@media(prefers-reduced-motion:reduce){.device-mobile .sidebar{transition:none}}
