:root{color-scheme:light;--bg: #f2f4f7;--surface: #ffffff;--surface-2: #f6f7f8;--surface-3: #eceef0;--border: #e3e6e8;--border-strong: #cfd4d8;--text: #111315;--text-2: #42474c;--muted: #636970;--brand: #17191b;--brand-2: #272a2e;--primary: #17191b;--primary-hover: #000000;--primary-tint: #edf3fb;--accent: #1d5fbf;--accent-tint: #edf3fb;--ring: rgba(29, 95, 191, .2);--ok: #166534;--ok-bg: #e8f6ee;--ok-bd: #bfe3cd;--warn: #854d0e;--warn-bg: #fdf6dd;--warn-bd: #ecd9a0;--err: #b42318;--err-bg: #fdecea;--err-bd: #f2c4be;--info: #0b5fa5;--info-bg: #e8f1fb;--info-bd: #bcd7ef;--violet: #5b21b6;--violet-bg: #efeaff;--amber: #8a5a00;--amber-bg: #fdf3d7;--orange: #9a3412;--orange-bg: #ffedd5;--cyan: #075985;--cyan-bg: #e0f2fe;--r-sm: 6px;--r: 8px;--r-lg: 8px;--header-h: 0px;--shell-nav: 220px;--s1: 4px;--s2: 8px;--s3: 12px;--s4: 16px;--s5: 24px;--s6: 32px;--sh-1: none;--sh-2: 0 12px 32px -8px rgba(15, 23, 42, .22), 0 4px 12px rgba(15, 23, 42, .08);--sans: "Geist", "Segoe UI Variable", "Segoe UI", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;--mono: "Geist Mono", "Cascadia Mono", Consolas, monospace;--tr: .12s cubic-bezier(.4, 0, .2, 1)}*{box-sizing:border-box}body{display:grid;grid-template-columns:var(--shell-nav) minmax(0,1fr);min-height:100dvh;margin:0;font:14px/1.6 var(--sans);color:var(--text);background:var(--bg);-webkit-font-smoothing:antialiased}body.guest{--header-h: 52px;display:block}a{color:var(--primary);text-decoration:none}a:hover{color:var(--primary-hover);text-decoration:underline}:focus-visible{outline:2px solid var(--primary);outline-offset:2px}header{position:sticky;top:0;z-index:20;display:flex;flex-direction:column;gap:18px;width:var(--shell-nav);height:100dvh;padding:20px 14px 14px;color:var(--text);background:var(--bg);border-right:1px solid var(--border);box-shadow:none}.brandbar{display:flex;align-items:center;gap:10px;min-width:0}header .brand-title{min-width:0;overflow:hidden;padding:0 8px 0 0;color:var(--text);font-size:15px;font-weight:650;letter-spacing:-.01em;white-space:nowrap;text-overflow:ellipsis}header .brand-mark{display:inline-flex;align-items:center;justify-content:center;flex:none;width:28px;height:28px;min-height:28px;padding:0;border:1px solid var(--border);border-radius:7px;background:#f7f9fb;color:var(--text);box-shadow:none}header button.brand-mark{cursor:pointer;transition:background var(--tr),border-color var(--tr)}header button.brand-mark:hover{border-color:var(--border-strong);background:var(--surface-2)}header .brand-mark svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}header .nav-panel{display:flex;flex:1 1 auto;min-height:0;flex-direction:column;gap:18px}header .topnav{display:flex;flex-direction:column;gap:2px;flex:1 1 auto;min-height:0;overflow:auto}header .topnav a,header .topnav .nav-disabled{display:flex;align-items:center;min-height:34px;padding:7px 10px;border-radius:7px;color:var(--text-2);font-size:13.5px;line-height:1.35;text-decoration:none;transition:background var(--tr),color var(--tr)}header .nav-icon{display:inline-flex;align-items:center;justify-content:center;flex:none;width:18px;height:18px;margin-right:10px;color:var(--muted)}header .nav-icon svg,header .who-icon svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.55;stroke-linecap:round;stroke-linejoin:round}header .topnav a:hover .nav-icon,header .topnav a.on .nav-icon{color:var(--text)}header .topnav a:hover{color:var(--text);background:var(--surface-3);text-decoration:none}header .topnav a.on{color:var(--text);background:#e7e9eb;font-weight:600}header .topnav .nav-disabled{color:var(--muted);cursor:not-allowed;opacity:.72}header .who{margin-top:auto;padding:14px 8px 0;border-top:1px solid var(--border);font-size:12px;color:var(--muted);display:flex;align-items:center;gap:7px;flex-wrap:wrap;white-space:normal}header .who a{display:inline-flex;align-items:center;gap:5px;color:var(--text-2);text-decoration:none;padding:3px 6px;border-radius:6px;transition:background var(--tr),color var(--tr)}header .who a:hover{background:var(--surface-3);color:var(--text)}header .who a.on{background:#e7e9eb;color:var(--text);font-weight:600}header .who-icon{display:inline-flex;align-items:center;justify-content:center;flex:none;width:16px;height:16px}header .who-icon svg{width:16px;height:16px}header .who .inline-form{display:inline-flex;margin:0}header .who .logout-button{gap:5px}header .who .logout-button svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}header .who .org{flex:1 0 100%;color:var(--text-2);max-width:20em;overflow:hidden;text-overflow:ellipsis}header .nav-toggle{display:none;flex:none;width:40px;height:40px;padding:0;border:1px solid var(--border);border-radius:7px;background:var(--surface);color:var(--text)}header .nav-toggle svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round}header .nav-toggle .nav-close-icon{display:none}header.nav-open .nav-toggle .nav-menu-icon{display:none}header.nav-open .nav-toggle .nav-close-icon{display:block}body.guest header{position:sticky;width:auto;height:var(--header-h);padding:0 20px;flex-direction:row;align-items:center;border-right:0;border-bottom:1px solid var(--border)}body.guest header .nav-panel{display:none}body.guest header .brandbar{flex:none}main{width:100%;max-width:1400px;margin:0 auto;padding:32px 32px 56px}main.wide{max-width:none;padding:0}main.wide:has(>.dwrap){padding:24px 24px 32px}.crumb{margin:0 0 10px;font-size:13px}.crumb a{color:var(--muted)}.crumb a:hover{color:var(--primary)}.page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:var(--s4);flex-wrap:wrap;margin:0 0 var(--s2)}.page-head .page-sub{margin:2px 0 0;max-width:860px}.page-note{margin:var(--s1) 0 0;max-width:860px}.page-note>summary{display:inline-flex;align-items:center;gap:6px;cursor:pointer;color:var(--muted);font-size:13px;list-style:none}.page-note>summary::-webkit-details-marker{display:none}.page-note>summary:before{content:"i";flex:none;width:14px;height:14px;border:1px solid currentColor;border-radius:50%;font:italic 700 10px/12px Georgia,Times New Roman,serif;text-align:center}.page-note[open]>summary{color:var(--primary)}.page-note:not([open])>div{display:none}.note-warn{display:flex;align-items:flex-start;gap:var(--s2);margin:0 0 var(--s2)}.note-warn .page-note{flex:1 1 auto;min-width:0;margin:0;max-width:none}.note-warn .page-note>summary{display:flex;color:var(--warn);font-weight:500}.note-warn .page-note>summary:before{content:"!";font:700 10px/12px var(--mono)}.note-warn .page-note[open]>summary{color:var(--warn)}.note-warn .page-note>div{background:var(--warn-bg);border-color:var(--warn-bd);color:var(--warn)}.note-warn>a{flex:none;font-size:13px;white-space:nowrap}.page-note>div{margin-top:var(--s2);padding:var(--s2) var(--s3);background:var(--surface-2);border:1px solid var(--border);border-radius:var(--r);color:var(--text-2);font-size:13px;line-height:1.7}.page-actions{display:flex;gap:var(--s2);align-items:center;flex-wrap:wrap;padding-bottom:2px}.page-title{display:flex;align-items:baseline;gap:var(--s3);flex-wrap:wrap;min-width:0}.page-title>.page-note{margin:0}.page-title>.page-note[open]{flex:1 1 100%}h1{font-size:24px;line-height:1.2;font-weight:600;letter-spacing:-.025em;margin:0 0 5px;color:var(--text)}h2{font-size:16px;font-weight:600;margin:var(--s5) 0 var(--s2);color:var(--text)}.hint{color:var(--muted);font-size:13px;margin:0 0 var(--s4)}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--r-lg);padding:22px 24px;margin-bottom:var(--s4);box-shadow:none}.card>h1:first-child,.card>h2:first-child{margin-top:0}.auth-card{max-width:420px;margin:10vh auto 0;padding:28px 30px}.auth-card h1{font-size:21px;margin-bottom:6px}.auth-card .field{display:block;min-width:0;margin:0 0 14px}.auth-card .field input{width:100%}.auth-card form>button{width:100%;padding:9px 14px;font-size:14px;margin-top:2px}.auth-card>.btn{display:block;text-align:center;padding:9px 14px;font-size:14px}.auth-card .foot{margin-top:var(--s4);padding-top:var(--s3);border-top:1px solid var(--border)}label{display:block;font-size:13px;font-weight:500;color:var(--text-2);margin-bottom:5px}:is(input:not([type]),input[type=text],input[type=email],input[type=tel],input[type=url],input[type=search],input[type=password],input[type=number],input[type=date],input[type=time],input[type=month],input[type=week],input[type=datetime-local],input[type=file]),textarea,select{font:inherit;font-size:13.5px;padding:7px 10px;border:1px solid var(--border-strong);border-radius:var(--r-sm);background:var(--surface);color:var(--text);transition:border-color var(--tr),box-shadow var(--tr),background-color var(--tr),color var(--tr)}:is(input:not([type]),input[type=text],input[type=email],input[type=tel],input[type=url],input[type=search],input[type=password],input[type=number],input[type=date],input[type=time],input[type=month],input[type=week],input[type=datetime-local],input[type=file]):hover,textarea:hover,select:hover{border-color:#b6c2d0}:is(input:not([type]),input[type=text],input[type=email],input[type=tel],input[type=url],input[type=search],input[type=password],input[type=number],input[type=date],input[type=time],input[type=month],input[type=week],input[type=datetime-local],input[type=file]):focus,textarea:focus,select:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 3px var(--ring)}:is(input:not([type]),input[type=text],input[type=email],input[type=tel],input[type=url],input[type=search],input[type=password],input[type=number],input[type=date],input[type=time],input[type=month],input[type=week],input[type=datetime-local],input[type=file])::placeholder,textarea::placeholder{color:var(--muted);opacity:1}:is(input:not([type]),input[type=text],input[type=email],input[type=tel],input[type=url],input[type=search],input[type=password],input[type=number],input[type=date],input[type=time],input[type=month],input[type=week],input[type=datetime-local],input[type=file]):disabled,textarea:disabled,select:disabled{border-color:var(--border);background:var(--surface-2);color:var(--muted);cursor:not-allowed;opacity:1}:is(input:not([type]),input[type=text],input[type=email],input[type=tel],input[type=url],input[type=search],input[type=password],input[type=number],input[type=date],input[type=time],input[type=month],input[type=week],input[type=datetime-local],input[type=file])[readonly],textarea[readonly]{background:var(--surface-2)}input[type=checkbox],input[type=radio]{accent-color:var(--primary)}input[type=file]{cursor:pointer}input[type=file]::file-selector-button{min-height:28px;margin:-3px 9px -3px -6px;padding:4px 9px;border:1px solid var(--border-strong);border-radius:calc(var(--r-sm) - 1px);background:var(--surface-2);color:var(--text-2);font:inherit;font-size:12.5px;font-weight:500;cursor:pointer}input[type=file]::file-selector-button:hover{border-color:#b6c2d0;background:var(--surface-3);color:var(--text)}input[type=search]{padding-left:30px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%2364748b' stroke-width='1.6' stroke-linecap='round'%3E%3Ccircle cx='7' cy='7' r='4.6'/%3E%3Cpath d='m10.4 10.4 3.6 3.6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:9px 50%;background-size:14px 14px}textarea{width:100%}button,.btn{min-height:34px;font:inherit;font-size:13.5px;font-weight:500;background:var(--primary);color:#fff;border:1px solid transparent;padding:7px 14px;border-radius:var(--r-sm);cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;line-height:1.3;white-space:nowrap;transition:background var(--tr),border-color var(--tr),color var(--tr),opacity var(--tr)}button:hover,.btn:hover{background:var(--primary-hover);color:#fff;text-decoration:none}button:active,.btn:active{background:#000}button.secondary,.btn.secondary{background:var(--surface);color:var(--text-2);border-color:var(--border-strong);box-shadow:none}button.secondary:hover,.btn.secondary:hover{background:var(--surface-2);color:var(--text)}button.danger,.btn.danger{background:var(--err);color:#fff}button.danger:hover,.btn.danger:hover{background:#92201a;color:#fff}button.secondary.danger,.btn.secondary.danger{color:#fff}button.secondary.danger:hover,.btn.secondary.danger:hover{background:#92201a;color:#fff}button:disabled,.btn[aria-disabled=true]{opacity:.55;cursor:not-allowed}[hidden]{display:none!important}.row{display:flex;gap:var(--s3);flex-wrap:wrap;align-items:flex-end}.gap-top{margin-top:var(--s3)}.gap-bottom{margin-bottom:var(--s3)}.inline-form{display:inline-flex;gap:6px;align-items:center;vertical-align:middle;margin:0 6px 4px 0}.inline-form:last-child{margin-right:0}header .who .inline-form{margin:0}.row .hint,.filterbar .hint,.pager .hint{margin:0}.actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:var(--s4) 0 0}.field{min-width:200px}.grow{flex:1}input.short,select.short{width:120px;max-width:100%}.toolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:var(--s4) 0 10px}.listbar{display:flex;gap:var(--s2);align-items:center;flex-wrap:wrap;margin:0 0 var(--s3)}.listbar>.filterbar,.listbar>.search{margin-bottom:0;min-width:0}.listbar>.page-actions{margin-left:auto;padding-bottom:0}.page-head.list-head{align-items:center;flex-wrap:nowrap}.list-head>h1{flex:none;margin:0}.list-head>.listbar{flex:1 1 auto;min-width:0;margin:0}.list-head>.listbar>.page-actions{margin-left:0}.list-head>.listbar>.pager{margin:0 0 0 auto}.table-wrap{max-height:60vh;overflow:auto;border:1px solid var(--border);border-radius:var(--r);background:var(--surface);box-shadow:none}.data-grid{width:100%;height:100%;border:0;font:inherit}.table-wrap:has(.data-grid){overflow:hidden}.data-grid.grid-loading,.data-grid.grid-load-failed{display:grid;place-items:center;min-height:180px;color:var(--muted)}.data-grid.grid-load-failed .grid-loading{color:var(--err)}.data-grid.tabulator{border:0;background:var(--surface);color:var(--text)}.data-grid .tabulator-header{border-bottom-color:var(--border);background:var(--surface);color:var(--muted)}.data-grid .tabulator-header .tabulator-col{border-right-color:var(--border);background:var(--surface)}.data-grid .tabulator-header .tabulator-col-content{padding:4px 8px}.data-grid .tabulator-header .tabulator-col-title{font-size:12px;line-height:1.3}.data-grid .tabulator-header .tabulator-col.tabulator-frozen{background:var(--surface)}.data-grid .tabulator-row{min-height:30px;border-bottom-color:var(--border);background:var(--surface)}.data-grid .tabulator-row:hover{background:var(--surface-2)}.data-grid .tabulator-row .tabulator-cell{height:auto;min-height:30px;padding:3px 8px;font-size:12.5px;line-height:1.35;border-right-color:var(--border);white-space:normal}.data-grid .tabulator-row .tabulator-cell.tabulator-frozen{background:inherit}.data-grid .tabulator-col-resize-handle{width:8px}.data-grid .tabulator-row.grid-dirty,.data-grid .tabulator-row.grid-dirty .tabulator-cell.tabulator-frozen{background:#fff7d6}.data-grid .grid-value{display:block;min-height:16px;overflow-wrap:anywhere}.data-grid .grid-number{width:100%;text-align:right;font-variant-numeric:tabular-nums}.data-grid .grid-value.editable{cursor:default}.data-grid .tabulator-cell.grid-editable-cell:hover{background:var(--surface-2);cursor:default}.data-grid .tabulator-cell.grid-editable-cell.tabulator-editing{background:#fff;box-shadow:inset 0 0 0 2px var(--accent)}.data-grid .grid-value.readonly{color:var(--muted)}.data-grid .grid-actions{display:flex;flex:1 1 auto;gap:4px;align-items:center;justify-content:flex-end;white-space:nowrap}.data-grid .grid-actions button,.data-grid .grid-actions .btn{margin:0;min-height:22px;padding:1px 7px;font-size:11.5px;line-height:1.4}.data-grid .grid-batch-action{width:100%;min-width:0;height:28px;padding:2px 24px 2px 7px;font-size:12px;font-weight:500}.data-grid .grid-action-header{display:block;width:100%}.data-grid .grid-action-column.tabulator-range-selected,.data-grid .grid-action-column.tabulator-range-highlight,.data-grid .tabulator-row.tabulator-range-selected .grid-action-column,.data-grid .tabulator-row.tabulator-range-highlight .grid-action-column{background:inherit!important}.grid-newbar{flex:none;display:flex;align-items:center;gap:var(--s2);margin-top:var(--s2)}.grid-newbar[hidden]{display:none}.grid-newbar-add{flex:none;display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 14px;border:1px dashed var(--border-strong);border-radius:var(--r);background:var(--surface);color:var(--text-2);font-size:13px;cursor:pointer;transition:border-color var(--tr),background var(--tr),color var(--tr)}.grid-newbar-add:hover{border-color:var(--primary);background:var(--primary-tint);color:var(--text)}.grid-newbar-add b{font-weight:600;font-size:16px;line-height:1;color:var(--primary)}.grid-newbar-hint{flex:1 1 auto;min-width:0;color:var(--muted);font-size:12.5px}.grid-newbar-hint.ok{color:var(--ok)}.grid-newbar-hint.err{color:var(--err)}.grid-key-hint{flex:0 1 auto;min-width:0;max-width:46%;margin-left:auto;padding:2px 8px;border:1px solid var(--border);border-radius:999px;background:var(--surface-3);color:var(--muted);font-size:11.5px;line-height:1.5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:help}.grid-key-hint+.pager{margin-left:10px}@media (max-width: 1180px){.grid-key-hint{display:none}}@media (max-width: 640px){.grid-newbar{flex-wrap:wrap;align-items:center}.grid-newbar-add{margin-right:auto}.grid-newbar-hint{order:10;flex:1 0 100%;line-height:1.55}}.data-grid .tabulator-row.grid-draft,.data-grid .tabulator-row.grid-draft .tabulator-cell.tabulator-frozen{background:var(--ok-bg)}.data-grid .tabulator-row.grid-draft.grid-draft-error,.data-grid .tabulator-row.grid-draft-error .tabulator-cell.tabulator-frozen{background:var(--err-bg)}.data-grid .grid-draft-warn{flex:none;padding:0 5px;border:1px solid var(--err-bd);border-radius:999px;background:var(--err-bg);color:var(--err);font-size:11px;white-space:nowrap;cursor:help}.data-grid .tabulator-row.grid-readonly,.data-grid .tabulator-row.grid-readonly .tabulator-cell.tabulator-frozen{background:#e6e9ee}.data-grid .tabulator-row.grid-readonly .tabulator-cell:first-child{box-shadow:inset 3px 0 #98a1ad}.data-grid .grid-readonly-chip{flex:none;padding:0 5px;border:1px solid #b9c0c9;border-radius:999px;background:var(--surface, #fff);color:#4b5563;font-size:11px;white-space:nowrap;cursor:help}.data-grid .tabulator-cell .grid-pick-box,.data-grid .tabulator-header .grid-pick-all{margin:0;width:13px;height:13px;cursor:pointer}.data-grid .tabulator-header .tabulator-col[tabulator-field=__pick] .tabulator-col-content{display:flex;align-items:center;justify-content:center;height:100%;padding:0}.data-grid .tabulator-header .tabulator-col[tabulator-field=__pick] .tabulator-col-title-holder,.data-grid .tabulator-header .tabulator-col[tabulator-field=__pick] .tabulator-col-title{display:flex;align-items:center;justify-content:center;height:100%}.data-grid .tabulator-row.grid-picked,.data-grid .tabulator-row.grid-picked .tabulator-cell.tabulator-frozen{background:#eef4ff}.grid-selection{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 8px;padding:6px 10px;border:1px solid var(--border-strong);border-radius:var(--r-sm);background:var(--surface-2);font-size:12.5px}.grid-selection[hidden]{display:none}.grid-selection .grid-selection-count{font-weight:600}.grid-selection .grid-selection-count b{color:var(--primary)}.grid-selection form,.grid-selection .hint{margin:0}.grid-confirm{width:min(760px,calc(100vw - 32px))}.grid-confirm .grid-diffs{max-height:min(55vh,520px);overflow:auto}.grid-confirm .grid-diffs table{width:100%}.table-wrap.short{max-height:34vh}.table-wrap.mid{max-height:40vh}table{border-collapse:separate;border-spacing:0;width:100%}table.company-list{table-layout:fixed;min-width:1070px}table.company-list th[data-col=\529f\80fd],table.company-list td.company-function{white-space:nowrap}th,td{padding:8px 12px;border-bottom:1px solid var(--border);text-align:left;vertical-align:top}tbody tr:last-child td{border-bottom:none}tbody tr{transition:background var(--tr)}tbody tr:hover{background:var(--surface-2)}td.ops{white-space:nowrap}th{position:sticky;top:0;background:var(--surface-2);z-index:2;font-weight:600;font-size:12.5px;color:var(--text-2);white-space:nowrap;box-shadow:inset 0 -1px 0 var(--border)}.hfilter{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;margin:-4px -5px -4px 5px;padding:3px;border:1px solid transparent;border-radius:5px;background:transparent;color:var(--muted);vertical-align:middle}.hfilter:hover{border-color:var(--border);background:var(--surface);color:var(--text)}.hfilter.on{background:var(--primary-tint);color:var(--primary);border-color:#bfdbfe}.hfilter svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linejoin:round}table.sortable .grip{width:34px;padding-right:0;text-align:center}table.sortable .handle{display:inline-block;padding:2px 6px;border-radius:var(--r-sm);color:var(--muted);font-size:13px;line-height:1.3;cursor:grab}table.sortable .handle:hover{background:var(--surface-3);color:var(--text)}table.sortable tr.dragging .handle{cursor:grabbing}table.sortable tr.dragging{background:var(--info-bg)}table.sortable td.ord{width:46px;color:var(--muted);font-family:var(--mono);font-size:12.5px;text-align:right;font-variant-numeric:tabular-nums}table.sortable td.show{width:44px;text-align:center}table.sortable td.fld{white-space:nowrap}table.sortable td.go{width:66px}table.sortable td.freeze{width:82px;white-space:nowrap}table.sortable td.freeze label,.freeze-none label{display:inline-flex;align-items:center;gap:5px}table.sortable td.freeze input,.freeze-none input{width:auto;margin:0;accent-color:var(--primary)}.freeze-none{margin:8px 0}.column-grid-options{display:flex;align-items:center;flex-wrap:wrap;gap:8px 24px;margin:8px 0}.column-grid-options p{margin:0}.column-grid-options label{display:inline-flex;align-items:center;gap:5px}.column-grid-options input{width:auto;margin:0;accent-color:var(--primary)}.grid-cell-value{display:flex;align-items:center;min-width:0;width:100%;gap:5px}.grid-cell-value .grid-value{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.grid-relation-values{display:inline-flex;align-items:center;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.grid-relation-link{color:inherit;text-decoration:none;text-underline-offset:2px}.grid-relation-link:hover,.grid-relation-link:focus-visible{color:var(--primary);text-decoration:underline}.tabulator-range.grid-copy-range{pointer-events:none;border-color:transparent!important;background:repeating-linear-gradient(90deg,var(--primary) 0 5px,transparent 5px 9px) top / 200% 2px repeat-x,repeating-linear-gradient(180deg,var(--primary) 0 5px,transparent 5px 9px) right / 2px 200% repeat-y,repeating-linear-gradient(270deg,var(--primary) 0 5px,transparent 5px 9px) bottom / 200% 2px repeat-x,repeating-linear-gradient(0deg,var(--primary) 0 5px,transparent 5px 9px) left / 2px 200% repeat-y;animation:grid-marching-ants 1.6s linear infinite}@keyframes grid-marching-ants{to{background-position:9px top,right 9px,-9px bottom,left -9px}}dialog.scope.grid-detail{width:min(1180px,96vw);height:fit-content;max-height:min(900px,92dvh);padding:0;overflow:hidden}.grid-detail[open]{display:flex;flex-direction:column}.grid-detail::backdrop{background:#0f172a70}.grid-detail-underlay{pointer-events:none;transform:translateY(8px) scale(.985);filter:saturate(.8)}.grid-detail-underlay::backdrop{background:#0f172a29}.grid-detail-head{flex:none;display:flex;align-items:center;gap:14px;padding:10px 14px;border-bottom:1px solid var(--border)}.grid-detail-head>strong{flex:none}.grid-detail-search{flex:1 1 auto;min-width:0}.grid-detail-head>.grid-detail-close{flex:none}.grid-detail-mid{flex:1 1 auto;min-height:0;display:flex}.grid-detail-nav{flex:none;width:188px;overflow:auto;padding:10px;border-left:1px solid var(--border);background:var(--surface)}.grid-detail-nav:empty{display:none}.grid-detail-nav-list{display:grid;gap:2px}@supports selector(:has(*)){dialog.scope.grid-detail:has(.grid-detail-nav:not(:empty)){width:min(1400px,96vw)}}@media (max-width: 1180px){.grid-detail-mid{flex-direction:column}.grid-detail-nav{width:auto;order:-1;padding:8px 14px;border-left:none;border-bottom:1px solid var(--border)}.grid-detail-nav-list{grid-template-columns:repeat(auto-fill,minmax(150px,1fr))}}.grid-detail-body{flex:1 1 auto;min-height:0;overflow:auto;padding:10px 14px;background:var(--bg)}.grid-detail-body>.notice:first-child{margin-top:0}.grid-detail-body .form-bar,.grid-detail-body #record-form>.actions{display:none}.record-field-search{display:flex;align-items:center;gap:10px;min-width:0}.record-field-search input{width:100%;max-width:420px;min-width:120px}.record-field-search .mini{flex:none;white-space:nowrap}.record-flat-wrap{max-height:none;overflow-x:hidden;overflow-y:visible}.record-flat-wrap th{position:static}.record-flat-fields{width:100%;table-layout:fixed}.record-flat-fields th:first-child,.record-flat-fields td:first-child{width:22%}.record-flat-fields th:nth-child(2),.record-flat-fields td:nth-child(2){width:43%}.record-flat-fields th:nth-child(3),.record-flat-fields td:nth-child(3){width:35%}.record-flat-fields td{min-width:0;overflow-wrap:anywhere}.record-flat-fields th,.record-flat-fields td{padding:5px 10px}.grid-detail-body .fval{padding:5px 9px}.record-flat-fields .fval{width:100%;max-width:100%;box-sizing:border-box}.relation-control{display:flex;align-items:flex-start;gap:6px;width:100%}.relation-control .fval{flex:1 1 auto;min-width:0}.relation-record-open{flex:none;width:34px;height:34px;padding:7px;display:inline-grid;place-items:center}.relation-record-open svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.relation-record-open:disabled{visibility:hidden}.relation-pick,.rp-shell{position:relative;min-width:0}.relation-pick.rp-on select.fval,.rp-shell.rp-on select.fval{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.rp-face{display:flex;gap:var(--s2);align-items:center;justify-content:space-between;flex:1 1 auto;min-width:0;min-height:34px;padding:5px 9px;border:1px solid var(--border-strong);border-radius:var(--r);background:var(--surface);color:var(--text);font:inherit;font-size:13px;text-align:left;cursor:pointer;transition:border-color var(--tr),background var(--tr)}.rp-face:hover{border-color:var(--primary);background:var(--surface-2);color:var(--text)}.rp-face:active,.rp-face[aria-expanded=true]{border-color:var(--primary);background:var(--primary-tint);color:var(--text)}.rp-face:focus-visible{border-color:var(--primary);box-shadow:0 0 0 3px var(--primary-tint);outline:none}.rp-text{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rp-text.none{color:var(--muted)}.rp-caret{flex:none;color:var(--muted);font-size:11px}.relation-control select.fval.dirty~.rp-face{border-color:var(--warn-bd);background:var(--amber-bg)}.relation-control select.fval.dirty~.rp-face:hover,.relation-control select.fval.dirty~.rp-face:active{border-color:var(--amber)}.rp-pop{position:fixed;z-index:40;display:flex;flex-direction:column;padding:6px;border:1px solid var(--border-strong);border-radius:var(--r);background:var(--surface);box-shadow:var(--sh-2)}.rp-pop[hidden]{display:none}.rp-head{display:flex;flex:none;gap:var(--s2);align-items:center}.rp-head input.rp-query{flex:1 1 auto;width:auto;min-width:0;margin:0}.rp-count{flex:none;color:var(--muted);white-space:nowrap}.rp-list{flex:1 1 auto;min-height:0;max-height:232px;margin-top:4px;overflow:auto}.rp-list .fchoice{padding:5px 6px}.rp-list .fchoice>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rp-none{flex:none;margin:8px 2px 4px}.grid-relation-editor{width:100%}.grid-relation-editor .relation-control{align-items:center}.grid-relation-editor .rp-face{min-height:0;height:25px;padding:1px 7px}.rp-cols{display:flex;flex:1 1 auto;gap:var(--s2);margin-top:4px;min-height:0;max-height:232px;overflow-x:auto}.rp-col{flex:0 1 148px;min-width:112px;display:flex;flex-direction:column;gap:2px;padding-left:var(--s2);border-left:1px solid var(--border);overflow-y:auto}.rp-col:first-child{padding-left:0;border-left:0}.rp-col>h6{margin:0 0 2px;color:var(--muted);font-size:11px;font-weight:600;letter-spacing:.03em}.rp-col>p{margin:5px 6px;color:var(--muted);font-size:12px}button.rp-row .rp-row-tail{flex:none;color:var(--muted);font-size:11px}button.rp-row{display:flex;gap:7px;align-items:center;width:100%;padding:5px 6px;border:0;border-radius:5px;background:none;color:var(--text-2);font:inherit;font-size:13px;text-align:left;cursor:pointer}button.rp-row:hover,button.rp-row.cur{background:var(--surface-3);color:var(--text)}button.rp-row.cur{outline:1px solid var(--border-strong)}button.rp-row .rp-label{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rp-foot{display:flex;flex:none;gap:var(--s2);align-items:center;justify-content:flex-end;margin-top:6px;padding-top:6px;border-top:1px solid var(--border)}.account-scope{margin:12px 0;padding:12px;border:1px solid var(--border);border-radius:8px}.quality-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:14px}.quality-count{font-size:28px;font-weight:700;margin:8px 0}.health-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px;margin-bottom:14px}.health-card{padding:14px;border:1px solid var(--border);border-left:4px solid var(--muted);border-radius:8px;background:var(--surface)}.health-card.ok{border-left-color:var(--ok)}.health-card.warn{border-left-color:var(--warn)}.health-card.err{border-left-color:var(--err)}.health-card-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.health-dot{width:9px;height:9px;flex:none;border-radius:50%;background:var(--muted)}.health-card.ok .health-dot{background:var(--ok)}.health-card.warn .health-dot{background:var(--warn)}.health-card.err .health-dot{background:var(--err)}.health-detail{margin-top:7px;color:var(--muted);font-size:13px}.status-section{margin-top:14px}.status-section h2{margin:0 0 12px}.metric-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:10px}.metric{padding:12px;border:1px solid var(--border);border-radius:8px;background:var(--surface)}.metric-value{margin-top:5px;font-size:24px;font-weight:700}.metric-label{color:var(--muted);font-size:13px}.status-meta{display:flex;flex-wrap:wrap;gap:8px 18px;margin:8px 0 14px;color:var(--muted);font-size:13px}.status-table td:first-child{width:170px}.cron-table td.cron-note{min-width:220px;max-width:360px;white-space:pre-wrap;line-height:1.6;color:var(--text-2)}.cron-table td.cron-actions{white-space:normal}.cron-table td.cron-actions .cron-actions-block{display:flex;flex-direction:column;align-items:flex-start;gap:4px}.cron-table td.cron-actions .cron-actions-row{display:flex;align-items:center;gap:6px;min-height:28px}.cron-table td.cron-actions .inline-form{margin:0}.cron-table td.cron-actions .cron-actions-hint{color:var(--muted);font-size:12px;line-height:1.5}.cron-table td.cron-actions .cron-actions-hint:empty{display:none}.cron-table td.cron-actions .cron-action-hint{color:var(--muted);font-size:12px;line-height:28px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:130px}.cron-table td.cron-run{white-space:nowrap}.cron-table td.cron-run .cron-run-line{display:flex;align-items:baseline;gap:6px}.cron-table td.cron-run .cron-run-line+.cron-run-line{margin-top:2px}.cron-table td.cron-run .cron-run-tag{color:var(--muted);font-size:12px;flex:none}.cron-table td.cron-run .cron-run-line .hint{margin:0;font-size:12px}.cron-table .cron-input{width:118px;min-height:28px;padding:3px 6px;font-size:12.5px}.cron-table .cron-drift{color:var(--warn)}.cron-table tr.cron-off td{background:var(--surface-2)}.cron-table tr.cron-off strong{color:var(--muted)}.cron-deleted-toggle{margin:10px 0 0}.cron-table .cron-edit{position:relative;display:inline-block}.cron-table .cron-edit>summary{list-style:none;cursor:pointer}.cron-table .cron-edit>summary::-webkit-details-marker{display:none}.cron-table .cron-edit[open]>summary{background:var(--surface-2)}.cron-edit-form{position:absolute;right:0;top:calc(100% + 6px);z-index:40;display:flex;flex-direction:column;gap:6px;width:268px;padding:10px;border:1px solid var(--border-strong);border-radius:var(--r);background:var(--surface);box-shadow:0 10px 26px #0f172a29;text-align:left}.cron-edit-form .cron-field{display:flex;align-items:center;gap:5px;font-size:12.5px;white-space:nowrap}.cron-edit-form .cron-field[hidden]{display:none}.cron-edit-form .cron-when{display:flex;flex-wrap:wrap;align-items:center;gap:4px;font-size:12.5px;white-space:nowrap}.cron-edit-form .cron-when>span{display:inline-flex;align-items:center;gap:4px}.cron-edit-form .cron-when>span[hidden]{display:none}.cron-edit-form select,.cron-edit-form input.cron-input{min-height:26px;padding:2px 6px;font-size:12.5px}.cron-edit-form input.cron-input{width:100%}.cron-edit-form .cron-edit-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding-top:4px;border-top:1px solid var(--border)}.cron-edit-form .cron-edit-actions .hint{margin:0;font-size:12px}.cron-plan-text{font-weight:600}.status-empty{padding:14px;color:var(--muted);text-align:center}.account-scope h3{margin:0 0 10px}.check-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:8px 14px;margin:8px 0 12px}.scope-search-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:8px 0 0}.scope-search-row .scope-search{flex:1 1 200px;min-width:0;margin:0}.header-filter-state{margin-top:8px;padding:7px 9px;border-radius:6px;background:#e8f1ff;color:#164a9b}.record-flat-fields tr[hidden]{display:none}.grid-detail-loading{display:grid;place-items:center;min-height:240px;color:var(--muted)}.grid-detail-footer{flex:none;display:flex;align-items:center;gap:8px;padding:10px 14px;border-top:1px solid var(--border);background:var(--surface)}.grid-detail-footer .grid-detail-status{color:var(--muted);font-size:13px;margin-right:auto}.management-form .management-secondary-actions{margin-top:var(--s3)}.management-form .field{max-width:520px}.management-form .field input{width:100%}.management-form .fcol{border:0;padding:0;background:none}.grid-delete{width:min(560px,calc(100vw - 32px))}.grid-delete textarea{width:100%}table.sortable td.nt input.note{width:min(260px,34vw);padding:3px 7px;border:1px solid var(--border);border-radius:var(--r-sm);background:var(--surface);color:var(--text);font-family:inherit;font-size:12.5px}table.sortable td.nt input.note:focus{border-color:var(--primary);outline:none}th.loc,.tabulator-col.loc{background:var(--info-bg)!important;color:var(--text);box-shadow:inset 0 -2px 0 var(--info)}.badge{display:inline-block;padding:2px 9px;border-radius:999px;font-size:12px;font-weight:500;white-space:nowrap;line-height:1.5}.b-insert{background:var(--cyan-bg);color:var(--cyan)}.b-update{background:var(--amber-bg);color:var(--amber)}.b-unchanged{background:var(--surface-3);color:#475569}.b-relation_pending{background:var(--violet-bg);color:var(--violet)}.b-error{background:var(--err-bg);color:var(--err)}.dot{display:inline-block;width:8px;height:8px;border-radius:50%;margin-right:6px}.d-error{background:var(--err)}.d-relation_pending{background:var(--violet)}.d-insert{background:var(--info)}.d-update{background:var(--warn)}.d-unchanged{background:var(--muted)}.original{color:var(--muted);text-decoration:line-through}.proposed{color:var(--text);font-weight:600}.cleared{color:var(--err);font-weight:600}.ref{font-family:var(--mono);font-size:12.5px;color:var(--text-2);cursor:pointer;border-bottom:1px dashed var(--border-strong);padding-bottom:1px}.ref:hover{color:var(--primary);border-bottom-color:var(--primary)}.cp{border:0;background:none;padding:0 2px;margin-left:3px;color:var(--muted);cursor:pointer;vertical-align:-2px;min-height:0;height:16px;line-height:1}.cp:hover{background:none;color:var(--primary)}.cp svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;vertical-align:-2px}.cp .ok{display:none}.cp.done{color:var(--ok)}.cp.done .ok{display:inline-block}.cp.done .no{display:none}.cp.bad{color:var(--err)}.notice{position:relative;padding:10px 14px 10px 34px;border-radius:var(--r);margin-bottom:var(--s4);border:1px solid;font-size:13.5px;line-height:1.55}.notice:before{position:absolute;left:13px;top:9px;font-weight:700}.notice.err{background:var(--err-bg);color:var(--err);border-color:var(--err-bd)}.notice.err:before{content:"!"}.notice.ok{background:var(--ok-bg);color:var(--ok);border-color:var(--ok-bd)}.notice.ok:before{content:"";width:7px;height:12px;border:solid currentColor;border-width:0 2px 2px 0;transform:rotate(45deg)}.notice.warn{background:var(--warn-bg);color:var(--warn);border-color:var(--warn-bd)}.notice.warn:before{content:"!"}.notice.info,.notice:not(.err):not(.ok):not(.warn){background:var(--info-bg);color:var(--info);border-color:var(--info-bd)}.notice.info:before,.notice:not(.err):not(.ok):not(.warn):before{content:"i";font-family:Georgia,serif;font-style:italic}.notice.focus-notice{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px}.notice.focus-notice .btn{margin-left:auto}.notice.focus-notice .hint{flex:1 0 100%;color:inherit;opacity:.85;font-size:12px}.search{margin-bottom:var(--s2)}.search input[type=text],.search.narrow{width:320px;max-width:100%}.search.wide{width:420px;max-width:100%}.tsearch{position:relative;min-width:0}.tsearch .ts-input{width:220px;max-width:100%;padding-left:30px}.ts-go{position:absolute;top:50%;left:7px;transform:translateY(-50%);display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;padding:0;border:none;border-radius:6px;background:none;color:var(--muted);cursor:pointer}.ts-go:hover,.ts-go:active{background:none;color:var(--text)}.ts-go svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.ts-pop{position:absolute;top:calc(100% + 4px);left:0;z-index:20;min-width:100%;width:max-content;max-width:min(460px,92vw);max-height:40vh;overflow:auto;padding:4px;border:1px solid var(--border-strong);border-radius:var(--r);background:var(--surface);box-shadow:var(--sh-2)}.ts-field{display:block;width:100%;padding:6px 10px;border:none;border-radius:6px;background:none;color:var(--text-2);font:inherit;font-size:13px;text-align:left;white-space:nowrap;cursor:pointer}.ts-field:hover,.ts-field:focus{background:var(--surface-3);color:var(--text);outline:none}.ts-field .ts-val{color:var(--brand-2);font-weight:600}.batchbar{display:flex;gap:var(--s2);align-items:center;flex-wrap:wrap;margin-bottom:var(--s2);padding:var(--s2) var(--s3);background:var(--surface-2);border:1px solid var(--border);border-radius:var(--r)}.batchbar input[type=text]{flex:1 1 300px;min-width:0}.batch-count{font-size:13px;color:var(--muted);white-space:nowrap}th.pick,td.pick{width:30px;padding:8px 0 8px var(--s3)}td.pick input[type=checkbox],th.pick input[type=checkbox]{margin:0}.pickbox{display:inline-flex;align-items:center;min-width:24px;min-height:24px}.mono{font-family:var(--mono);font-size:12px}.ml{white-space:pre-line;overflow-wrap:anywhere}.chips{display:flex;gap:var(--s2);flex-wrap:wrap;align-items:center;margin-bottom:var(--s3)}.chips>.search{margin-bottom:0;margin-left:auto;min-width:0}.chip{padding:5px 13px;border:1px solid var(--border-strong);border-radius:999px;background:var(--surface);color:var(--text-2);text-decoration:none;font-size:13px;transition:background var(--tr),color var(--tr),border-color var(--tr)}.chip:hover{background:var(--surface-2);color:var(--text);text-decoration:none}.chip.active{background:var(--brand);border-color:var(--brand);color:#fff;font-weight:500}.dl{display:block;margin-bottom:4px;line-height:1.5}.dk{display:inline-block;min-width:130px;color:var(--muted);font-size:12px}.dl.fill{display:flex;align-items:center;gap:8px}.dl.fill>input[type=text]{flex:1;min-width:0;width:auto}.arrow{color:var(--muted);margin:0 6px}.err-line{color:var(--err)}.r-matched{background:var(--ok-bg);color:var(--ok)}.r-not_found,.r-deleted{background:var(--err-bg);color:var(--err)}.r-ambiguous{background:var(--orange-bg);color:var(--orange)}.r-empty{background:var(--violet-bg);color:var(--violet)}.o-key{background:var(--orange-bg);color:var(--orange)}.b-ok{background:var(--ok-bg);color:var(--ok)}.b-warn{background:var(--warn-bg);color:var(--warn)}.b-err{background:var(--err-bg);color:var(--err)}.b-muted{background:var(--surface-3);color:#475569}.detail-layout{display:grid;grid-template-columns:minmax(0,1fr) 188px;gap:20px;align-items:start}.detail-main{min-width:0}.detail-page-nav{position:sticky;top:calc(var(--header-h) + 18px);max-height:calc(100dvh - var(--header-h) - 36px);overflow:auto;padding:10px;background:var(--surface);border:1px solid var(--border);border-radius:var(--r-lg);box-shadow:none}.detail-page-nav-title{margin:2px 8px 7px;color:var(--muted);font-size:11.5px;font-weight:600;letter-spacing:.04em}.detail-page-nav-list{display:grid;gap:2px}.detail-page-nav-list a,.grid-detail-nav-list button{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;min-height:0;padding:6px 8px;border:0;border-radius:7px;background:none;color:var(--text-2);font:inherit;font-size:12.5px;line-height:1.35;text-align:left;text-decoration:none;transition:background var(--tr),color var(--tr)}.detail-page-nav-list a:hover,.grid-detail-nav-list button:hover{background:var(--surface-3);color:var(--text);text-decoration:none}.detail-page-nav-list a[aria-current=location],.grid-detail-nav-list button[aria-current=location]{position:relative;background:var(--primary-tint);color:var(--brand-2);font-weight:600}.detail-page-nav-list a[aria-current=location]:before,.grid-detail-nav-list button[aria-current=location]:before{content:"";position:absolute;inset:5px auto 5px 0;width:2px;border-radius:2px;background:var(--primary)}.detail-page-nav-list a>span:first-child,.grid-detail-nav-list button>span:first-child{min-width:0;overflow-wrap:anywhere}.detail-page-nav-list .mini,.grid-detail-nav-list .mini{flex:none;font-variant-numeric:tabular-nums}#audit{scroll-margin-top:calc(var(--header-h) + 20px)}tr[id^=field-]{scroll-margin-top:calc(var(--header-h) + 28px)}tr.field-located td{animation:field-located 2.4s ease-out}tr.field-located td:first-child{box-shadow:inset 3px 0 0 var(--warn)}@keyframes field-located{0%,28%{background:var(--warn-bg)}to{background:transparent}}details.group{margin:0 0 var(--s3);border:1px solid var(--border);border-radius:var(--r);background:var(--surface);box-shadow:none;scroll-margin-top:calc(var(--header-h) + 20px)}details.group>summary{display:flex;gap:var(--s2);align-items:baseline;padding:10px 14px;cursor:pointer;list-style:none}details.group>summary::-webkit-details-marker{display:none}details.group>summary:before{content:"\25b8";flex:none;color:var(--muted)}details.group[open]>summary:before{content:"\25be"}details.group>summary:hover{background:var(--surface-2)}details.group[open]>summary{border-bottom:1px solid var(--border)}details.group>.table-wrap{border:none;border-radius:0;box-shadow:none;max-height:none}.form-bar{display:flex;gap:var(--s2);align-items:center;flex-wrap:wrap;margin:0 0 var(--s3)}.fval{display:block;width:100%;max-width:560px;border-color:transparent;background:var(--surface-2)}.fval:hover,.fval:focus{border-color:var(--border-strong);background:var(--surface)}.fval.dirty{border-color:var(--warn-bd);background:var(--amber-bg)}td.static{color:var(--text-2)}.field-error{margin:var(--s1) 0 0;color:var(--err);font-size:12.5px}.stamp-field{display:grid;gap:6px;max-width:560px}.stamp-field>input[type=hidden]{display:none}.stamp-tools{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.stamp-file{max-width:100%}.stamp-preview{display:block;max-width:180px;max-height:180px;padding:4px;border:1px solid var(--border);border-radius:var(--r-sm);background:var(--surface)}.stamp-preview[hidden]{display:none}.stamp-hint{margin:0}.tag{display:inline-block;margin-left:6px;padding:1px 7px;border-radius:5px;font-size:11px;font-weight:500}.tag.key{background:var(--surface-3);color:var(--text-2)}.tag.release{background:var(--amber-bg);color:#92400e}.tag.protect{background:#e0e7ff;color:#3730a3}.num{text-align:right;font-family:var(--mono)}button.small,.btn.small{padding:3px 10px;font-size:12.5px}.pager{margin:var(--s3) 0;color:var(--text-2);font-size:13px;display:flex;align-items:center;gap:10px}.pager-size,.pager-size label{display:inline-flex;align-items:center;gap:6px;margin:0;font-size:13px;font-weight:400}.pager-size select{width:66px;min-width:66px;padding:5px 20px 5px 7px}.pager-jump,.pager-jump label{display:inline-flex;align-items:center;gap:6px;margin:0;font-size:13px;font-weight:400}.pager-jump input{width:46px;padding:5px 4px;text-align:center;font-variant-numeric:tabular-nums}.arrowi{color:var(--primary);margin-left:4px;font-size:11px}.none{color:var(--muted)}.mini{font-size:12px;color:var(--muted)}.row-end{text-align:right;margin:0 0 var(--s2)}label.inline{display:inline;font-size:13px;font-weight:400;margin:0}label.checkline{display:flex;gap:6px;align-items:center;margin:0}label.checkline input[type=checkbox]{margin:0;flex:none}td.wps{color:var(--muted)}.empty{padding:var(--s6) var(--s4);text-align:center;color:var(--muted);font-size:13.5px;background:var(--surface);border:1px dashed var(--border-strong);border-radius:var(--r);margin-bottom:var(--s4)}dialog.scope{width:min(860px,92vw);max-height:86vh;overflow:auto;border:1px solid var(--border);border-radius:var(--r-lg);padding:20px 22px;box-shadow:var(--sh-2);color:var(--text)}dialog.scope::backdrop{background:#0f172a70}dialog.scope h2{margin:0 0 10px}dialog.scope .actions{margin:var(--s5) 0 0;padding-top:var(--s3);border-top:1px solid var(--border)}dialog.scope.dlg{flex-direction:column;overflow:hidden;padding:0}dialog.scope.dlg[open]{display:flex}dialog.scope.dlg>:not(.dlg-body):not(form),dialog.scope.dlg>form>:not(.dlg-body){flex:none}dialog.scope.dlg>h2,dialog.scope.dlg>.dlg-head,dialog.scope.dlg>form>.dlg-head{margin:0;padding:20px 22px 0}dialog.scope.dlg>.dlg-head,dialog.scope.dlg>form>.dlg-head{display:flex;gap:var(--s2);align-items:center}dialog.scope.dlg>.dlg-head>strong,dialog.scope.dlg>.dlg-head>h2,dialog.scope.dlg>form>.dlg-head>h2{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis}dialog.scope.dlg .dlg-head h2{margin:0}dialog.scope.dlg .dlg-head>.search{margin-bottom:0}dialog.scope.dlg>.dlg-body,dialog.scope.dlg>form>.dlg-body{flex:1 1 auto;min-height:0;overflow:auto;padding:10px 22px}dialog.scope.dlg>form{display:flex;flex-direction:column;flex:1 1 auto;min-height:0}dialog.scope.dlg>.actions,dialog.scope.dlg>form>.actions{margin:0;padding:var(--s3) 22px 20px}dialog.scope.dlg .dlg-body>.table-wrap{max-height:none;overflow:visible}.dwrap{display:flex;gap:20px;align-items:flex-start}.dtree{flex:0 0 196px;position:sticky;top:68px;background:var(--surface);border:1px solid var(--border);border-radius:var(--r-lg);padding:10px;box-shadow:none}.dtree-h{font-size:11.5px;font-weight:600;letter-spacing:.04em;color:var(--muted);margin:2px 8px 6px}.dtree nav{display:block}.dtree .tree-item{display:flex;justify-content:space-between;align-items:center;gap:6px;padding:7px 9px;border-radius:7px;color:var(--text-2);text-decoration:none;font-size:13.5px;transition:background var(--tr),color var(--tr)}.dtree .tree-item:hover{background:var(--surface-3);color:var(--text);text-decoration:none}.dtree .tree-item.on{position:relative;background:var(--primary-tint);color:var(--brand-2);font-weight:600}.dtree .tree-item.on:before{content:"";position:absolute;inset:5px auto 5px 0;width:2px;border-radius:2px;background:var(--primary)}.dtree .tree-num{flex:none;color:var(--muted);font-size:12px;font-variant-numeric:tabular-nums}.dtree .tree-title{display:flex;justify-content:space-between;align-items:center;gap:6px;padding:7px 9px 3px;color:var(--text-2);font-size:13.5px;font-weight:600}.dtree .tree-group.on>.tree-title{color:var(--brand-2)}.dtree .tree-subs{display:block;margin-left:var(--s2);padding-left:var(--s3);border-left:1px solid var(--border-strong)}.dtree .tree-sub{display:flex;align-items:center;justify-content:space-between;gap:6px;padding:5px 9px;border-radius:7px;color:var(--text-2);text-decoration:none;font-size:12px;transition:background var(--tr),color var(--tr)}.dtree .tree-sub:hover{background:var(--surface-3);color:var(--text);text-decoration:none}.dtree .tree-sub.on{position:relative;background:var(--primary-tint);color:var(--brand-2);font-weight:600}.dtree .tree-sub.on:before{content:"";position:absolute;inset:4px auto 4px 0;width:2px;border-radius:2px;background:var(--primary)}.dmain{flex:1 1 auto;min-width:0}@supports selector(:has(*)){main.wide:has(>.dwrap>.dmain.fill){display:flex;flex-direction:column;height:calc(100dvh - var(--header-h));padding-bottom:var(--s3)}main.wide:has(>.dwrap>.dmain.fill)>.dwrap{flex:1 1 auto;min-height:0}.dmain.fill{align-self:stretch;min-height:0;display:flex;flex-direction:column}.dmain.fill>*{flex:none}.dmain.fill>.table-wrap{flex:1 1 auto;min-height:34vh;max-height:none}}@media (max-width: 1120px){.detail-layout{display:block}.detail-page-nav{display:none}}@media (max-width: 900px){.dwrap{display:block}main.wide:has(>.dwrap>.dmain.fill){display:block;height:auto}main.wide:has(>.dwrap>.dmain.fill)>.dwrap{flex:none;min-height:0}.dmain.fill{display:block;align-self:auto}.dmain.fill>.table-wrap{max-height:60vh;min-height:0}.page-head.list-head{align-items:flex-start;flex-wrap:wrap}.list-head>.listbar{flex-basis:100%}.dtree{position:static;flex:none;margin-bottom:14px}.dtree nav{display:flex;flex-wrap:wrap;gap:6px}.dtree .tree-subs{display:flex;flex-wrap:wrap;gap:4px;margin-left:0;padding-left:0;border-left:0}.dtree .tree-sub{padding:4px 8px}}.filterbar{margin-bottom:var(--s3);display:flex;gap:10px;align-items:center;flex-wrap:wrap}.filterbar.end{align-items:flex-end}dialog.fdrawer{position:fixed;inset:0;z-index:30;margin:auto;width:min(1080px,94vw);max-width:none;height:auto;max-height:86dvh;padding:0;border:1px solid var(--border);border-radius:var(--r-lg);box-shadow:var(--sh-2);background:var(--surface);color:var(--text)}dialog.fdrawer::backdrop{background:#0f172a70}dialog.fdrawer[open]{display:flex;flex-direction:column}dialog.value-filter{width:min(430px,94vw);max-height:min(680px,88dvh)}.vf-fields{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:10px}.vf-fields[hidden]{display:none}.vf-fields button{padding:5px 9px}.vf-fields button.on{background:var(--primary-tint);border-color:#93c5fd;color:var(--brand-2)}.vf-search{width:100%;margin-bottom:10px}.vf-status{padding:8px 2px}.vf-summary{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:42px}.vf-search-only{flex:none}.vf-list{max-height:430px;overflow:auto;border-top:1px solid var(--border)}.vf-row{display:flex;align-items:center;gap:8px;min-height:34px;padding:5px 3px;border-bottom:1px solid var(--border)}.vf-row:hover{background:var(--surface-2)}.vf-row input{width:auto;margin:0;accent-color:var(--primary)}.vf-row>label{display:flex;align-items:center;gap:8px;min-width:0}.vf-row .vf-label{min-width:0;overflow-wrap:anywhere}.vf-row .vf-count{margin-left:auto;color:var(--muted);font-variant-numeric:tabular-nums}.vf-row .vf-only{visibility:hidden;flex:none;padding:3px 7px;font-size:11px}.vf-row:hover .vf-only,.vf-row:focus-within .vf-only{visibility:visible}.fd-head{flex:none;display:flex;gap:var(--s2);align-items:center;justify-content:space-between;padding:12px 18px;border-bottom:1px solid var(--border)}.fd-head h2{margin:0;font-size:15px}.fd-body{flex:1 1 auto;overflow:auto;padding:14px 18px}.fd-foot{flex:none;padding:10px 18px 14px;border-top:1px solid var(--border);background:var(--surface)}.fd-foot .row{justify-content:flex-end;margin:var(--s2) 0 0}.fd-foot p{margin:0}.fd-note.is-err{color:var(--err)}.fstack{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:var(--s3);align-items:start}.fcol{border:1px solid var(--border);border-radius:var(--r);padding:10px 12px;min-width:0;background:var(--surface)}.fcol>label{font-weight:600;color:var(--text)}.fcol input[type=text]{width:100%;margin-top:4px}.fb-area{width:100%;margin-top:4px;font-family:var(--mono);font-size:12.5px;line-height:1.5}.fchoice{display:flex;gap:7px;align-items:center;font-weight:400;color:var(--text-2);margin:0;padding:2px 4px;border-radius:5px;font-size:13px}.fchoice:hover{background:var(--surface-2);color:var(--text)}.fchoice[hidden]{display:none}.fchoice input{width:auto;margin:0;accent-color:var(--primary)}.fchoice .fref{margin-left:auto;color:var(--muted);font-size:11.5px}.fcombo{position:relative}.fbox{display:flex;flex-wrap:wrap;gap:5px;align-items:center;min-height:34px;margin-top:5px;padding:3px 6px;border:1px solid var(--border-strong);border-radius:var(--r);background:var(--surface);cursor:text}.fbox:focus-within{border-color:var(--primary);box-shadow:0 0 0 3px var(--primary-tint)}.fbox .fquery{flex:1 1 8em;min-width:7em;width:auto;margin:0;padding:2px 0;border:none;outline:none;background:transparent;font:inherit;font-size:13px}.ftag{display:inline-flex;gap:4px;align-items:center;min-width:0;max-width:11em;padding:1px 6px 1px 9px;border-radius:999px;background:var(--primary-tint);color:var(--brand-2);font-size:12.5px}.ftag b{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:500}.ftag button{flex:none;padding:0;border:none;background:none;color:inherit;font:inherit;font-size:13px;line-height:1;cursor:pointer}.ftag.more{background:var(--surface-3);color:var(--text-2)}.fpop{display:none;position:absolute;z-index:40;left:0;right:0;top:calc(100% + 4px);padding:6px;border:1px solid var(--border-strong);border-radius:var(--r);background:var(--surface);box-shadow:var(--sh-2)}.fcombo.on .fpop{display:block}.fpop.up{top:auto;bottom:calc(100% + 4px)}.fpop-list{max-height:232px;overflow:auto}.fpop-list .fchoice{padding:5px 6px}.fchoice.cur{background:var(--surface-3);color:var(--text);outline:1px solid var(--border-strong)}.fpop-foot{display:flex;gap:var(--s2);align-items:center;justify-content:space-between;margin-top:6px;padding-top:6px;border-top:1px solid var(--border)}.fpop-btns{display:flex;gap:6px}.fpop-card{display:contents}.fcombo.fmodal>.fpop{position:fixed;inset:0;z-index:80;display:none;padding:20px;border:0;border-radius:0;background:#0f172a6b;box-shadow:none}.fcombo.fmodal.on>.fpop{display:grid;place-items:center}.fcombo.fmodal .fpop-card{display:flex;flex-direction:column;width:min(1240px,100%);max-height:min(86vh,900px);padding:10px;border:1px solid var(--border-strong);border-radius:var(--r);background:var(--surface);box-shadow:var(--sh-2)}.fcombo.fmodal .fpop-list{flex:1 1 auto;max-height:none;display:grid;grid-template-columns:repeat(auto-fill,minmax(172px,1fr));gap:0 10px;align-content:start}.fcombo.fmodal .fpop-list .fchoice{padding:3px 6px;min-width:0}.fcombo.fmodal .fpop-list .fchoice>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.fcombo.fmodal .fpop-foot{margin-top:8px;padding-top:8px}.fcombo.fmodal .scope-search-row{margin:0 0 8px}.fbox .fhint{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted);font-size:13px}.fbox:hover .fhint{color:var(--text-2)}body.picker-open{overflow:hidden}.fpop-free{display:block;width:100%;margin:2px 0;padding:6px;text-align:left;font-size:13px}.chips>button.chip{cursor:pointer;font:inherit;font-size:13px}td.cc{min-width:128px;max-width:250px;padding:7px 10px;vertical-align:top}td.cc>.cp{display:flex;gap:6px;align-items:baseline;min-width:0}.cp .pl{flex:none;color:var(--muted);font-size:11.5px}.cp .cv{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-variant-numeric:tabular-nums}.cp .cv a{white-space:nowrap}.cp .cu{color:var(--muted);margin-left:3px;font-size:11.5px}.cp.alarm .pl,.cp.alarm .cv{color:var(--warn);font-weight:600}.cc-alarm,.cc-tags{display:flex;gap:4px;flex-wrap:wrap;align-items:center}.cc-alarm{margin-bottom:3px}.tag.alarm{background:var(--warn-bg);color:var(--warn);border:1px solid var(--warn-bd)}.cc-foot{display:flex;gap:8px;align-items:baseline;margin-top:4px;padding-top:4px;border-top:1px dashed var(--border)}.cc-miss{color:var(--muted);font-size:11.5px;white-space:nowrap}th.cc-h{white-space:nowrap;text-align:left}th.cc-h details.smenu{display:inline}th.cc-h details.smenu>summary{display:inline-block;margin-left:5px;cursor:pointer;list-style:none;color:var(--muted);font-size:11.5px;text-decoration:underline dashed var(--border-strong);text-underline-offset:3px}th.cc-h details.smenu>summary:hover{color:var(--text)}th.cc-h details.smenu[open]>summary{color:var(--brand-2);text-decoration:none}th.cc-h details.smenu>.sm-list{position:absolute;top:100%;left:var(--sm-shift, 0px);z-index:5;min-width:max-content;max-height:40vh;overflow:auto;padding:4px;border:1px solid var(--border-strong);border-radius:var(--r);background:var(--surface);box-shadow:var(--sh-2);font-weight:400}th.cc-h details.smenu>.sm-list a{display:block;padding:3px 6px;border-radius:5px;color:var(--text-2);font-size:12px;text-decoration:none;white-space:nowrap}th.cc-h details.smenu>.sm-list a:hover{background:var(--surface-3);color:var(--text);text-decoration:none}th.cc-h details.smenu>.sm-list a.on{background:var(--primary-tint);color:var(--brand-2);font-weight:600}@media (min-width: 901px){html.nav-collapsed body{--shell-nav: 72px}html.nav-collapsed header{padding-inline:12px}html.nav-collapsed header .brandbar{justify-content:center}html.nav-collapsed header .brand-title{display:none}html.nav-collapsed header .nav-panel{align-items:center;gap:12px}html.nav-collapsed header .topnav{align-items:center;overflow-x:hidden}html.nav-collapsed header .topnav a,html.nav-collapsed header .topnav .nav-disabled{justify-content:center;width:42px;min-height:42px;padding:0}html.nav-collapsed header .nav-icon{margin-right:0}html.nav-collapsed header .nav-label{display:none}html.nav-collapsed header .who{justify-content:center;width:100%;padding:12px 0 0;gap:6px}html.nav-collapsed header .who .org,html.nav-collapsed header .who .role-text,html.nav-collapsed header .account-name,html.nav-collapsed header .logout-label{display:none}html.nav-collapsed header .who a{justify-content:center;width:40px;height:40px;padding:0}html.nav-collapsed header .who .logout-button{justify-content:center;width:40px;min-height:40px;padding:0}}.sn-scope-tree{height:100%;min-height:0;overflow:auto;padding:8px}.sn-scope-tree ul{list-style:none;margin:0;padding:0}.sn-scope-tree ul ul{padding-left:18px}.sn-scope-tree-row{display:flex;align-items:center;min-height:34px}.sn-scope-tree-toggle{display:grid;place-items:center;flex:none;width:24px;height:24px;padding:0;border:0;border-radius:5px;background:transparent;color:var(--muted);font-size:18px;line-height:1;transition:background var(--tr),color var(--tr),transform var(--tr)}.sn-scope-tree-toggle:not(:disabled):hover{background:var(--surface-3);color:var(--text)}.sn-scope-tree-toggle.open{transform:rotate(90deg)}.sn-scope-tree-toggle:disabled{cursor:default}.sn-scope-tree-node{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;min-width:0;flex:1;min-height:34px;padding:5px 8px;border:0;border-radius:6px;background:transparent;color:var(--text-2);font-weight:400;text-align:left;transition:background var(--tr),color var(--tr)}.sn-scope-tree-node:hover{background:var(--surface-3);color:var(--text)}.sn-scope-tree-node.on{background:var(--accent-tint);color:var(--text);font-weight:600;box-shadow:inset 2px 0 0 var(--accent)}.sn-scope-tree-label{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sn-scope-tree-meta{color:var(--muted);font-size:11.5px;font-variant-numeric:tabular-nums}.sn-scope-tree-empty{padding:20px 10px;text-align:center;color:var(--muted);font-size:12.5px}@media (max-width: 900px){body{--header-h: 48px;display:block}header{position:sticky;top:0;width:100%;height:var(--header-h);padding:0 12px;flex-direction:row;align-items:center;border-right:0;border-bottom:1px solid var(--border)}header .brand-title{padding:0;font-size:14px}header .brand-mark{width:26px;height:26px;min-height:26px}header .brandbar{flex:1 1 auto}header .nav-toggle{display:inline-flex;align-items:center;justify-content:center;margin-left:auto}header .nav-panel{position:fixed;inset:var(--header-h) 0 76px;z-index:40;display:none;padding:14px 16px;overflow:auto;background:var(--bg)}header.nav-open .nav-panel{display:flex}header .topnav{flex:none;overflow:visible;gap:4px}header .topnav a,header .topnav .nav-disabled{min-height:44px;padding:10px 12px;font-size:14px}body:not(.guest) header .who{display:none}body:not(.guest) header.nav-open .who{position:fixed;inset:auto 0 0;z-index:41;display:flex;min-height:76px;padding:14px 16px max(14px,env(safe-area-inset-bottom));font-size:13px;background:var(--bg);border-top:1px solid var(--border)}header .who a{min-height:40px;display:inline-flex;align-items:center;padding:6px 8px}main{padding:20px 16px 40px}main.wide{padding:0}main.wide:has(>.dwrap){padding:16px 16px 24px}body.guest{--header-h: 48px}body.guest header{padding:0 16px}.dtree{top:16px}}@media (max-width: 640px){dialog.fdrawer{width:100vw;max-height:100dvh;border:none;border-radius:0}.page-head{align-items:flex-start}.page-actions{width:100%}.page-actions>.btn,.page-actions>button{flex:1 1 auto}input,select,textarea,button,.btn{min-height:44px}input[type=checkbox],input[type=radio]{min-height:0}}.batch-inputs{margin:12px 0 0}.batch-input-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px 14px;margin:6px 0 8px}.batch-input-field{display:flex;flex-direction:column;gap:4px;min-width:0}.batch-input-label{font-size:12.5px;font-weight:600;color:var(--text)}.batch-input-field input{width:100%;min-width:0}.batch-input-field .shipment-hint{font-size:11.5px;color:var(--text-2);word-break:break-all}.visibility-picks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 18px;margin-top:6px;align-items:start}@media (max-width: 900px){.visibility-picks{grid-template-columns:minmax(0,1fr)}}.visibility-field{display:grid;gap:6px;min-width:0}.visibility-field>span{font-size:12px;color:var(--text-2);font-weight:600}
