.permission-page[data-v-244f1d1e]{display:flex;flex-direction:column;gap:12px;min-height:0}.permission-layout[data-v-244f1d1e]{display:grid;grid-template-columns:280px minmax(0,1fr);gap:16px;align-items:start}.target-panel[data-v-244f1d1e]{display:flex;flex-direction:column;gap:8px;padding:12px;border:1px solid #e2e8f0;border-radius:10px;background:#fff}.target-tabs[data-v-244f1d1e]{display:inline-flex;gap:4px;padding:3px;border:1px solid #d9e1ea;border-radius:8px;background:#f8fafc}.target-tabs button[data-v-244f1d1e]{flex:1;min-height:28px;border:0;border-radius:6px;background:transparent;color:#475569;font-size:13px;cursor:pointer}.target-tabs button.active[data-v-244f1d1e]{background:#0f766e;color:#fff}.target-search[data-v-244f1d1e]{height:30px;border:1px solid #d6e1e7;border-radius:6px;padding:0 8px;font-size:13px}.target-list[data-v-244f1d1e]{display:flex;flex-direction:column;gap:4px;max-height:calc(100vh - 320px);overflow:auto;margin:0;padding:0;list-style:none}.target-item[data-v-244f1d1e]{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 8px;width:100%;padding:8px 10px;border:1px solid transparent;border-radius:8px;background:#f8fafc;text-align:left;cursor:pointer}.target-item.active[data-v-244f1d1e]{border-color:#0f766e;background:#ecfdf5}.target-name[data-v-244f1d1e]{font-size:13px;font-weight:600;color:#1b1d21}.target-meta[data-v-244f1d1e]{grid-column:1 / 2;font-size:11px;color:#64748b;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.target-badge[data-v-244f1d1e]{grid-row:1 / 3;grid-column:2 / 3;align-self:center;padding:2px 6px;border-radius:999px;background:#e2e8f0;color:#64748b;font-size:11px;white-space:nowrap}.target-badge.granted[data-v-244f1d1e]{background:#d1fae5;color:#0f766e}.target-empty[data-v-244f1d1e]{padding:16px 8px;color:#94a3b8;font-size:12px;text-align:center}.matrix-panel[data-v-244f1d1e]{padding:14px 16px 18px;border:1px solid #e2e8f0;border-radius:10px;background:#fff;min-height:360px}.matrix-empty[data-v-244f1d1e]{padding:80px 0;color:#94a3b8;font-size:13px;text-align:center}.matrix-head[data-v-244f1d1e]{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;padding-bottom:10px;border-bottom:1px solid #eef2f6}.matrix-head h2[data-v-244f1d1e]{margin:0;font-size:15px}.matrix-head p[data-v-244f1d1e]{margin:4px 0 0;font-size:12px}.matrix-head-actions[data-v-244f1d1e]{display:inline-flex;gap:8px;align-items:center}.grant-count[data-v-244f1d1e]{font-size:12px;color:#475569}.admin-note[data-v-244f1d1e]{margin-top:12px;padding:8px 10px;border-radius:6px;background:#fff7ed;color:#9a3412;font-size:12px}.matrix-table[data-v-244f1d1e]{width:100%;margin-top:8px;border-collapse:collapse;font-size:13px}.matrix-table th[data-v-244f1d1e],.matrix-table td[data-v-244f1d1e]{padding:6px 8px;border-bottom:1px solid #eef2f6;text-align:center}.matrix-table th[data-v-244f1d1e]{color:#475569;font-size:12px;font-weight:600;background:#f8fafc}.matrix-table tbody tr[data-v-244f1d1e]:nth-child(2n){background:#fbfcfd}.group-col[data-v-244f1d1e]{width:42%;text-align:left;color:#1b1d21}.row-all-col[data-v-244f1d1e]{width:60px}.matrix-table input[type=checkbox][data-v-244f1d1e]{width:15px;height:15px;cursor:pointer}.effective-panel[data-v-244f1d1e]{margin-top:16px;padding:12px;border:1px dashed #cbd5e1;border-radius:8px;background:#f8fafc}.effective-panel h3[data-v-244f1d1e]{margin:0 0 8px;font-size:13px}.effective-list[data-v-244f1d1e]{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:4px 16px;margin:0;padding:0;list-style:none;font-size:12px}.effective-list li[data-v-244f1d1e]{display:flex;justify-content:space-between;gap:8px;color:#334155}.effective-actions[data-v-244f1d1e]{color:#0f766e}.success-text[data-v-244f1d1e]{margin:0;color:#0f766e;font-size:13px}@media(max-width:1180px){.permission-layout[data-v-244f1d1e]{grid-template-columns:1fr}}:root{color-scheme:light;font-family:Inter,PingFang SC,Microsoft YaHei,Arial,sans-serif;background:#eff1f2;color:#1b1d21}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}button,input,select,textarea{font:inherit}button{white-space:nowrap}.app-shell{display:grid;grid-template-columns:252px minmax(0,1fr);min-height:100vh}.sidebar{position:sticky;top:0;display:flex;flex-direction:column;height:100vh;background:#111827;color:#f8fafc;padding:18px 14px;border-right:1px solid #1f2937;overflow:hidden}.brand{flex:0 0 auto;display:flex;gap:12px;align-items:center;min-height:58px;padding:0 8px 18px}.brand-mark{display:grid;width:40px;height:40px;place-items:center;border-radius:6px;background:#0f766e;color:#fff}.brand strong,.brand small{display:block}.brand small{margin-top:4px;color:#9ca3af}.nav-groups{display:grid;flex:1 1 auto;gap:18px;margin-top:8px;min-height:0;overflow-y:auto;padding-right:4px}.nav-groups::-webkit-scrollbar{width:8px}.nav-groups::-webkit-scrollbar-thumb{border-radius:999px;background:#334155}.nav-groups::-webkit-scrollbar-track{background:transparent}.nav-group{display:grid;gap:4px}.nav-group-title{display:flex;align-items:center;justify-content:space-between;min-height:28px;border:0;padding:0 8px;background:transparent;color:#7dd3fc;font-size:12px;font-weight:700;cursor:pointer}.nav-group-title:hover{color:#bae6fd}.nav-group-items{display:grid;gap:4px}.nav-parent{display:grid;gap:3px}.nav-parent-row{display:flex;align-items:center;gap:6px}.nav-parent-link{flex:1 1 auto}.nav-expand-button{flex:0 0 26px;width:26px;min-height:30px;border:0;border-radius:5px;background:transparent;color:#9ca3af;font-size:17px;font-weight:700;line-height:1;cursor:pointer}.nav-expand-button:hover{background:#1f2937;color:#fff}.nav-children{display:grid;gap:3px;margin-left:20px;padding-left:10px;border-left:1px solid rgba(148,163,184,.22)}.nav-item{display:flex;align-items:center;gap:10px;min-height:38px;padding:0 12px;border-radius:6px;color:#d1d5db;text-decoration:none;font-size:14px}.nav-subitem{min-height:32px;padding-left:12px;font-size:13px;color:#b8c4d4}.nav-item.router-link-active{background:#1f2937;color:#fff;box-shadow:inset 3px 0 #14b8a6}.content-shell{min-width:0;background:#eef2f6}.topbar{position:sticky;top:0;z-index:5;display:grid;grid-template-columns:40px minmax(240px,520px) auto;gap:14px;align-items:center;min-height:64px;padding:0 24px;border-bottom:1px solid #d9e1ea;background:#ffffffeb;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.icon-action{display:grid;width:36px;height:36px;place-items:center;border:1px solid #d1d9e3;border-radius:6px;background:#fff;color:#334155;cursor:pointer}.global-search{display:flex;align-items:center;gap:9px;height:38px;padding:0 12px;border:1px solid #d1d9e3;border-radius:6px;background:#f8fafc;color:#64748b}.global-search input{height:34px;padding:0;border:0;background:transparent;outline:0}.topbar-status{position:relative;display:flex;justify-content:flex-end;align-items:center;gap:10px;color:#64748b;font-size:13px}.topbar-status strong{display:inline-flex;align-items:center;min-height:30px;padding:0 10px;border:1px solid #d1d9e3;border-radius:999px;background:#fff;color:#172033}.user-menu-button{display:inline-flex;align-items:center;min-height:30px;border:1px solid #d1d9e3;border-radius:999px;padding:0 10px;background:#fff;color:#172033;cursor:pointer}.user-menu-popover{position:absolute;z-index:20;top:calc(100% + 8px);right:0;display:grid;min-width:132px;border:1px solid #d9e1ea;border-radius:8px;background:#fff;box-shadow:0 16px 34px #0f172a29;overflow:hidden}.user-menu-popover a,.user-menu-popover button{border:0;padding:10px 12px;background:#fff;color:#172033;text-align:left;text-decoration:none;cursor:pointer}.user-menu-popover a:hover,.user-menu-popover button:hover{background:#f1f5f9}.login-page{display:grid;min-height:100vh;place-items:center;padding:24px;background:#eef2f6}.login-panel{display:grid;gap:16px;width:min(420px,100%);border:1px solid #d9e1ea;border-radius:8px;padding:28px;background:#fff;box-shadow:0 24px 60px #0f172a1f}.login-panel h1{margin:4px 0 0}.main-panel{padding:24px;overflow:auto}.page-header{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;margin-bottom:18px;padding:18px 20px;border:1px solid #d9e1ea;border-radius:8px;background:#fff}.page-header h1{margin:4px 0 8px;font-size:24px;letter-spacing:0}.page-header p{margin:0;color:#5f6c7b}.page-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.page-actions .danger-action{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:32px;border-radius:6px;padding:0 10px;font-size:13px;line-height:1}.page-actions .danger-action:disabled{cursor:not-allowed;opacity:.55}.visually-hidden-file{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;clip-path:inset(50%)}.button-tooltip-wrap{position:relative;display:inline-flex;align-items:center}.button-tooltip-wrap:after{position:absolute;right:calc(100% + 8px);top:50%;z-index:9999;display:none;width:max-content;max-width:260px;padding:5px 8px;border-radius:5px;background:#263241;color:#fff;content:attr(data-tooltip);font-size:12px;font-weight:500;line-height:1.4;pointer-events:none;transform:translateY(-50%);white-space:nowrap}.button-tooltip-wrap.is-active:hover:after{display:block}.eyebrow{color:#0f766e;font-size:13px;font-weight:700}.metric-grid{display:grid;grid-template-columns:repeat(6,minmax(136px,1fr));gap:12px;margin-bottom:18px}.metric-card,.panel{background:#fff;border:1px solid #d9e1ea;border-radius:8px}.metric-card{display:grid;grid-template-columns:34px 1fr;column-gap:10px;row-gap:4px;align-items:center;padding:16px;min-height:92px}.metric-card svg{grid-row:span 2;color:#0f766e}.metric-card span{color:#657386;font-size:13px}.metric-card strong{font-size:21px}.workbench-grid,.workspace-layout{display:grid;grid-template-columns:minmax(320px,.8fr) minmax(420px,1.2fr);gap:16px;align-items:start}.panel{padding:18px;box-shadow:0 1px 2px #0f172a0a}.panel h2{display:flex;align-items:center;gap:8px;margin:0 0 16px;font-size:17px}.panel-titlebar{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:16px}.panel-titlebar h1,.panel-titlebar h2{margin:0}.panel-titlebar h1{font-size:22px}.wide-panel{grid-column:1 / -1}.table-panel{min-width:0}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.field{display:grid;gap:6px}.field-hint{grid-column:1 / -1;margin:-4px 0 0;font-size:12px;line-height:1.5}.field span{color:#263241;font-size:13px;font-weight:700}.field.wide{grid-column:1 / -1}.field.span2{grid-column:span 2}.field.span3{grid-column:span 3}.sectioned-form{grid-template-columns:repeat(4,minmax(0,1fr));gap:0;overflow:hidden;border:1px solid #edf2f7;border-radius:8px;background:#fff;box-shadow:0 10px 28px #0f172a0f}.sectioned-form .form-section-title{grid-column:1 / -1;display:flex;justify-content:center;align-items:center;min-height:44px;margin:0;border-bottom:1px solid #edf2f7;background:#f8fafc;color:#263241;font-size:15px;font-weight:800;letter-spacing:0}.sectioned-form .form-section-title:after{content:none}.sectioned-form .field{grid-column:span 2;grid-template-columns:150px minmax(0,1fr);align-items:center;min-height:48px;gap:0;border-right:1px solid #edf2f7;border-bottom:1px solid #edf2f7;background:#fff}.sectioned-form .field.span1{grid-column:span 1;grid-template-columns:108px minmax(0,1fr)}.sectioned-form .field.wide{grid-column:1 / -1;grid-template-columns:150px minmax(0,1fr)}.sectioned-form .field.no-label{grid-template-columns:minmax(0,1fr);border-right:1px solid #edf2f7;border-bottom:1px solid #edf2f7}.sectioned-form .field.span3{grid-column:span 3}.sectioned-form .field>span{align-self:stretch;display:flex;align-items:center;padding:0 10px;border-right:1px solid #edf2f7;background:#f8fafc;color:#263241;text-align:left;font-size:13px;font-weight:700}.sectioned-form input,.sectioned-form select,.sectioned-form textarea{min-height:48px;border:0;border-radius:0;background:#fff;color:#263241;font-size:13px;transition:background .12s ease,box-shadow .12s ease}.sectioned-form input:hover,.sectioned-form select:hover,.sectioned-form textarea:hover{background:#fbfdff}.sectioned-form input:focus,.sectioned-form select:focus,.sectioned-form textarea:focus{outline:0;background:#fff;box-shadow:inset 0 0 0 2px #0f766e2e}.sectioned-form input[readonly],.sectioned-form textarea[readonly]{background:#f8fafc;color:#64748b}.sectioned-form textarea{min-height:230px;padding:14px;line-height:1.6}.sectioned-form .checkbox-field{min-height:48px;padding:0 10px;display:inline-flex;align-items:center;gap:8px;justify-content:flex-start;background:#fff}.sectioned-form .checkbox-field input[type=checkbox]{width:14px;height:14px;min-height:auto;flex:0 0 auto;accent-color:#0f766e}.sectioned-form .checkbox-field span{display:inline;align-self:auto;padding:0;border-right:0;background:transparent;color:#263241;font-size:13px;font-weight:700}.sectioned-form>.primary-action[type=submit]{grid-column:1 / -1;justify-self:end;margin-top:14px}.form-actions-row{grid-column:1 / -1;display:flex;align-items:center;justify-content:flex-end;gap:10px;margin-top:14px}.document-entry-form{border-color:#dbe8e6;box-shadow:0 12px 32px #0f766e14}.document-entry-form .form-section-title{justify-content:flex-start;min-height:38px;padding:0 14px;background:#0f766e;color:#fff;font-size:14px}.document-entry-form .field{min-height:42px;grid-template-columns:104px minmax(0,1fr)}.document-entry-form .field.span1,.document-entry-form .field.span2,.document-entry-form .field.wide{grid-template-columns:104px minmax(0,1fr)}.document-entry-form .field.no-label{grid-template-columns:minmax(0,1fr)}.document-entry-form .field>span{justify-content:center;padding:0 8px;background:#eef6f5;color:#263241;font-size:12px}.document-entry-form input,.document-entry-form select,.document-entry-form textarea,.document-entry-form .checkbox-field{min-height:42px;font-size:12px}.document-entry-form input[readonly]{background:#fbfdff}.document-entry-form input[type=date]{background:#fff;color:#263241;opacity:1;color-scheme:light}.document-entry-form input[type=date]::-webkit-datetime-edit,.document-entry-form input[type=date]::-webkit-datetime-edit-fields-wrapper,.document-entry-form input[type=date]::-webkit-datetime-edit-text,.document-entry-form input[type=date]::-webkit-datetime-edit-month-field,.document-entry-form input[type=date]::-webkit-datetime-edit-day-field,.document-entry-form input[type=date]::-webkit-datetime-edit-year-field{color:#263241}.document-entry-form textarea{min-height:120px;padding:10px}.document-entry-form .file-field{min-height:42px;display:flex;flex-wrap:wrap;gap:10px;align-items:center;padding:0 10px}.document-entry-form .file-field input{width:auto;min-height:auto;padding:0}.copy-input-field{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center;width:100%;min-height:42px}.copy-input-field textarea{min-height:160px}.copy-input-field>span{min-height:42px;display:flex;align-items:center;border:1px solid #cbd5e1;border-radius:6px;padding:0 10px;background:#fbfdff;color:#263241;font-size:12px;overflow-wrap:anywhere}.copy-button-wrap{position:relative;display:inline-flex;align-items:center;align-self:center;min-height:34px}.copy-action{height:32px;min-height:32px;padding:0 12px;white-space:nowrap}.line-items-field{display:grid;gap:10px;width:100%;overflow-x:auto}.line-items-field table{width:100%;border-collapse:collapse;background:#fff}.line-items-field th,.line-items-field td{border:1px solid #dbe8e6;padding:8px;vertical-align:middle;font-size:12px}.line-items-field th{background:#eef6f5;color:#263241;font-weight:700;text-align:left}.line-item-file-cell{display:flex;flex-wrap:nowrap;gap:6px;align-items:center;min-height:30px;border:1px dashed #cbd5e1;border-radius:4px;padding:2px 6px;background:#fbfdff}.line-item-file-cell:focus{border-color:#0f766e;outline:2px solid rgba(15,118,110,.14)}.line-item-file-input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.line-item-file-button{display:inline-flex;align-items:center;justify-content:center;height:26px;padding:0 9px;border:1px solid #cbd5e1;border-radius:4px;background:#fff;color:#263241;font-size:12px;line-height:1;cursor:pointer;white-space:nowrap}.line-item-file-button:hover{border-color:#0f766e;color:#0f766e}.upload-status-text{color:#0f766e;font-size:12px}.upload-error-text{color:#dc2626;font-size:12px}.line-item-actions-cell{white-space:nowrap}.line-item-actions-cell .secondary-action+.secondary-action{margin-left:6px}.document-entry-form .lookup-options button{font-size:12px}.document-entry-form .static-text-field{background:#fbfdff}.document-entry-form .static-text-content{display:flex;align-items:center;min-height:42px;padding:0 12px;color:#64748b;font-size:12px;line-height:1.45}.document-entry-form .formula-text-field{background:#fbfdff}.document-entry-form .formula-text-content{display:flex;flex-wrap:wrap;align-items:center;gap:5px;min-height:42px;padding:8px 12px;color:#475569;font-size:12px;line-height:1.5;white-space:normal;overflow-wrap:anywhere}.formula-prefix,.formula-operator,.formula-note{color:#64748b}.formula-prefix{font-weight:700}.formula-operator{flex:0 0 auto;font-weight:700}.formula-token{display:inline-flex;align-items:center;min-height:22px;max-width:100%;padding:1px 7px;border:1px solid #dbe8e6;border-radius:4px;background:#eef6f5;color:#0f766e;font-weight:700;word-break:keep-all}input,select,textarea{width:100%;border:1px solid #cbd5e1;border-radius:6px;padding:9px 10px;background:#fff;color:#263241;font-size:13px}textarea{resize:vertical}.lookup-field{position:relative}.lookup-options{position:absolute;z-index:80;top:calc(100% + 4px);left:0;right:0;display:grid;max-height:220px;overflow:auto;border:1px solid #cbd5e1;border-radius:6px;background:#fff;box-shadow:0 12px 28px #0f172a29}.lookup-options button{display:inline-flex;align-items:center;gap:8px;min-height:36px;border:0;border-bottom:1px solid #edf2f7;padding:0 10px;background:#fff;color:#263241;font-size:13px;font-weight:400;text-align:left;cursor:pointer}.lookup-options button input[type=checkbox]{width:13px;height:13px;margin:0;flex:0 0 auto}.lookup-check{display:inline-flex;align-items:center;justify-content:center;width:14px;height:14px;flex:0 0 14px;border:1px solid #cbd5e1;border-radius:3px;background:#fff;color:transparent;font-size:11px;font-weight:800;line-height:1}.lookup-check.checked{border-color:#0f766e;background:#0f766e;color:#fff}.lookup-empty{padding:9px 10px;color:#64748b;font-size:12px}.lookup-options button:hover{background:#f1f5f9}.multi-lookup-field{display:grid;gap:8px;align-items:start}.selected-tags{display:flex;flex-wrap:wrap;gap:6px;min-height:32px;max-height:92px;align-items:flex-start;overflow-y:auto;padding:2px 0}.selected-tags span{display:inline-flex;align-items:center;gap:6px;max-width:100%;min-height:26px;border-radius:4px;padding:0 7px;background:#f8fafc;color:#0f766e;font-size:12px;line-height:1.4;word-break:break-all}.selected-tags button{display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;flex:0 0 16px;padding:0;border:0;border-radius:3px;background:transparent;color:#0f766e;font-size:14px;line-height:1;cursor:pointer}.selected-tags button:hover{background:#d9f0ec}.radio-field{display:flex;align-items:center;gap:14px;min-height:32px}.radio-option{display:inline-flex;align-items:center;gap:6px;color:#263241;font-size:13px}.radio-option input{width:14px;height:14px;margin:0}.primary-action,.secondary-action{display:inline-flex;align-items:center;justify-content:center;gap:6px;width:max-content;min-height:32px;border-radius:6px;padding:0 10px;font-size:13px;line-height:1;white-space:nowrap;cursor:pointer}.compact-action{min-height:28px;padding:0 8px;font-size:12px}.primary-action:disabled,.secondary-action:disabled{cursor:not-allowed;opacity:.55}.primary-action{border:1px solid #0f766e;background:#0f766e;color:#fff}.secondary-action{border:1px solid #cbd5e1;background:#fff;color:#263241}.table-stack{display:grid;grid-template-rows:minmax(0,1fr) auto;height:calc(100vh - 190px);min-height:0}.table-wrap{overflow-x:auto;overflow-y:auto;border:0;border-radius:10px;background:#fff;box-shadow:none}.filter-bar{display:flex;flex-wrap:wrap;gap:10px;align-items:flex-end;margin:0 0 14px;padding:12px;border:1px solid #d9e1ea;border-radius:8px;background:#fff}.filter-field{display:grid;gap:5px;min-width:150px}.filter-field span{color:#475569;font-size:12px;font-weight:700}.filter-field input,.filter-field select{height:32px;padding:0 9px;font-size:13px}.table-head-cell{display:inline-flex;align-items:center;gap:6px}.status-toggle,.select-th input,.select-td input{width:14px;height:14px;margin:0}.status-toggle-wrap{position:relative;display:inline-flex;align-items:center;cursor:help}.floating-tooltip{position:fixed;z-index:9999;width:max-content;max-width:180px;padding:5px 8px;border-radius:5px;background:#263241;color:#fff;font-size:12px;font-weight:500;line-height:1.4;pointer-events:none;transform:translateY(-50%);white-space:nowrap}.column-picker{position:relative;display:inline-flex;justify-content:flex-end;margin-bottom:0;color:#475569;font-size:12px}.column-picker input{width:auto}.column-popover{position:absolute;z-index:10;top:calc(100% + 6px);right:0;display:grid;gap:8px;min-width:180px;padding:12px;border:1px solid #d9e1ea;border-radius:8px;background:#fff;font-weight:400;text-align:left;box-shadow:0 16px 34px #0f172a29}.column-popover label{display:inline-flex;gap:7px;align-items:center}table{width:100%;border-collapse:separate;border-spacing:0}th,td{border-bottom:1px solid #e6ecf3;border-right:0;padding:10px;text-align:left;white-space:nowrap;font-size:13px;vertical-align:middle}th:last-child,td:last-child{border-right:0}tbody tr:last-child td{border-bottom:0}thead th:first-child{border-top-left-radius:10px}thead th:last-child{border-top-right-radius:10px}tbody tr:last-child td:first-child{border-bottom-left-radius:10px}tbody tr:last-child td:last-child{border-bottom-right-radius:10px}th{position:sticky;top:0;z-index:2;color:#475569;font-size:13px;background:#f8fafc}.actions-th{text-align:left}.table-action-head{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%}tbody tr:nth-child(2n){background:#f8fafc}tbody tr:nth-child(odd){background:#fff}tbody tr:hover{background:#eef6f5}.row-actions{display:flex;flex-wrap:nowrap;gap:6px;align-items:center}.relation-link{border:0;padding:0;background:transparent;color:#0f766e;font:inherit;font-weight:700;text-align:left;cursor:pointer;white-space:nowrap}.relation-link:hover{text-decoration:underline}.text-action,.danger-action{width:max-content;min-height:28px;border-radius:6px;padding:0 8px;background:#fff;font-size:12px;line-height:1;white-space:nowrap;cursor:pointer}.text-action{border:1px solid #bfdbfe;color:#1d4ed8}.danger-action{border:1px solid #fecaca;color:#b91c1c}.table-pagination{display:flex;justify-content:flex-end;align-items:center;gap:8px;padding:10px 0 0;color:#64748b;font-size:13px}.error-text{padding:10px 12px;border:1px solid #f0b8b8;border-radius:6px;background:#fff5f5;color:#9f2c2c}.success-text{padding:10px 12px;border:1px solid #a7e4c0;border-radius:6px;background:#f0fff6;color:#166534}.muted{color:#657386}.empty-chart{display:grid;min-height:220px;place-items:center;border:1px dashed #cbd5e1;border-radius:8px;color:#6f7c8d;background:#fafbfd}.todo-list{display:grid;gap:10px;margin:0;padding-left:18px}.subnet-list{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}.subnet-list span{padding:6px 8px;border-radius:6px;background:#f8fafc;color:#1d604b;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:13px}.tabs{display:inline-flex;gap:4px;margin:0 0 16px;padding:4px;border:1px solid #d9e1ea;border-radius:8px;background:#fff}.tabs-bar{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:16px}.asset-tabs-search{margin-left:auto;display:inline-flex;align-items:center;gap:8px;color:#475569;font-size:12px;font-weight:700}.asset-tabs-search span{white-space:nowrap}.asset-tabs-search input{width:min(360px,34vw);height:32px;border:1px solid #d6e1e7;border-radius:6px;padding:0 10px;font-size:13px}.asset-filter-clear{margin-left:auto;align-self:flex-end}.tabs button,.tabs .settings-tab-link{min-height:32px;border:0;border-radius:6px;padding:0 12px;background:transparent;color:#475569;font-size:13px;cursor:pointer}.tabs .settings-tab-link{display:inline-flex;align-items:center;text-decoration:none}.tabs button.active,.tabs .settings-tab-link.active{background:#0f766e;color:#fff}.tree-cell{display:inline-flex;align-items:center;gap:8px}.expand-action{display:inline;width:auto;height:auto;border:0;padding:0;background:transparent;color:#334155;font-weight:700;cursor:pointer}.tree-spacer{display:inline-block;width:8px}.child-row td:first-child{padding-left:42px}.resource-pill{display:inline-flex;min-height:22px;align-items:center;border-radius:4px;padding:0 7px;background:#f8fafc;color:#0f766e;font-size:12px}.trend-board{display:flex;align-items:end;gap:14px;min-height:238px;padding:18px;border:1px solid #e2e8f0;border-radius:8px;background:repeating-linear-gradient(to top,#f8fafc,#f8fafc 39px,#e8eef5 40px)}.trend-board span{flex:1;min-width:24px;border-radius:6px 6px 0 0;background:#0f766e}.trend-board span:nth-child(2n){background:#2563eb}.compact-table{font-size:14px}.modal-layer{position:fixed;top:0;right:0;bottom:0;left:0;z-index:30;display:grid;place-items:start center;padding:72px 20px 24px;background:#0f172a6b}.related-modal-layer{position:fixed;top:0;right:0;bottom:0;left:0;z-index:80;display:grid;place-items:start center;padding:86px 20px 24px;background:#0f172a47}.related-modal-panel{width:min(760px,100%);max-height:calc(100vh - 120px);overflow:auto;border:1px solid #d9e1ea;border-radius:8px;background:#fff;box-shadow:0 24px 60px #0f172a3d}.related-modal-body{padding:20px}.modal-panel{width:min(1080px,100%);max-height:calc(100vh - 96px);overflow:auto;border:1px solid #d9e1ea;border-radius:8px;background:#fff;box-shadow:0 24px 60px #0f172a38}.lookup-modal-panel{width:min(620px,100%);min-height:420px;overflow:visible}.lookup-modal-panel>.form-grid{grid-template-columns:minmax(0,1fr)}.lookup-modal-panel .primary-action[type=submit]{justify-self:end;width:max-content;min-height:28px;padding:0 10px;line-height:1}.pending-bills-modal-panel{width:min(1480px,calc(100vw - 32px));max-height:calc(100vh - 72px)}.modal-header{position:sticky;top:0;z-index:1;display:flex;justify-content:space-between;gap:16px;align-items:flex-start;padding:18px;border-bottom:1px solid #e2e8f0;background:#fff}.modal-header h2{margin:4px 0 0;font-size:20px}.modal-panel>.form-grid,.modal-panel>.detail-grid{padding:20px}.bill-action-row{flex:1;display:flex;align-items:center;justify-content:space-between;gap:12px}.bill-action-row .primary-action,.bill-action-row .secondary-action{min-height:32px}.pending-bills-panel{padding:20px}.asset-log-list{display:grid;gap:10px;padding:20px}.asset-log-row{display:grid;grid-template-columns:190px minmax(0,1fr);gap:14px;align-items:start;padding:12px 14px;border:1px solid #e2e8f0;border-radius:8px;background:#f8fafc;color:#263241;font-size:13px}.asset-log-row time{color:#64748b}.batch-asset-form{display:grid;gap:18px;padding:20px}.batch-section{display:grid;gap:12px}.batch-section h3{margin:0;color:#263241;font-size:15px}.batch-common-grid{display:grid;grid-template-columns:repeat(2,minmax(260px,1fr));gap:12px}.batch-toggle-field{display:grid;grid-template-columns:112px minmax(0,1fr);align-items:start;min-height:38px;border:1px solid #dbe8e6;border-radius:8px;background:#fff;overflow:visible}.batch-toggle-field.wide{grid-column:1 / -1}.batch-toggle-field>span:first-child{min-height:38px;display:inline-flex;align-items:center;gap:6px;padding:0 10px;background:#eef6f5;color:#263241;font-size:12px;font-weight:700}.batch-toggle-field input[type=checkbox]{width:14px;height:14px}.batch-toggle-field>input,.batch-toggle-field>select,.batch-toggle-field>textarea,.batch-toggle-field>.lookup-field{width:100%;height:38px;min-height:38px;border:0;border-left:1px solid #dbe8e6;border-radius:0;font-size:12px}.batch-toggle-field>select,.batch-toggle-field>input{padding:0 10px}.batch-toggle-field>textarea{height:auto;padding:9px;resize:vertical}.batch-toggle-field>.lookup-field{position:relative}.batch-toggle-field .lookup-field input{width:100%;height:38px;min-height:38px;border:0;border-radius:0;padding:0 10px;font-size:12px}.batch-count-row{display:flex;align-items:center;justify-content:space-between;gap:14px}.batch-count-row label{display:inline-flex;align-items:center;gap:8px;color:#475569;font-size:12px;font-weight:700}.batch-count-row input{width:96px;height:32px}.batch-table-wrap{max-height:360px;overflow:auto;border:1px solid #e2e8f0;border-radius:8px}.batch-asset-table{width:100%;border-collapse:collapse;font-size:13px}.batch-asset-table th,.batch-asset-table td{padding:8px 10px;border-bottom:1px solid #e2e8f0;text-align:left}.batch-asset-table th{position:sticky;top:0;z-index:1;background:#f1f5f9;color:#334155;font-weight:700}.batch-asset-table td:first-child{width:72px;color:#64748b}.batch-asset-table input{width:100%;height:32px;font-size:13px}.batch-asset-form .form-actions{display:flex;justify-content:flex-end}.rack-toolbar{display:flex;align-items:center;gap:12px;padding:0 0 16px}.rack-search{max-width:420px}.rack-toolbar .filter-field{display:inline-flex;flex-direction:row;align-items:center;gap:8px;width:auto;min-width:0}.rack-toolbar .filter-field>.rack-field-label{display:inline-flex;align-items:center;flex:0 0 auto;white-space:nowrap;color:#475569;font-size:12px;font-weight:700}.rack-toolbar .lookup-field{flex:0 0 auto;min-width:260px}.rack-asset-filter input{min-width:280px}.search-input-wrap{position:relative;display:inline-flex;align-items:center;flex:0 0 auto}.search-input-wrap svg{position:absolute;left:10px;color:#64748b;pointer-events:none}.search-input-wrap input{padding-left:32px}.rack-refresh{margin-left:auto}.rack-board{display:grid;grid-template-columns:repeat(auto-fill,300px);gap:10px;align-items:start;overflow-x:auto}.rack-cabinet{border:2px solid #0f766e;border-radius:8px;overflow:hidden;background:#dcf6ef}.rack-cabinet header{min-height:34px;display:grid;place-items:center;font-weight:700;color:#123b35;border-bottom:1px solid #123b35;background:#cdeee5}.rack-grid{display:grid;grid-template-columns:38px minmax(0,1fr)}.rack-label-column,.rack-slot-column{display:grid}.rack-slot-column{position:relative;grid-column:2;grid-row:1}.rack-u-label,.rack-u-cell{min-height:0;border-bottom:1px solid #123b35;color:#123b35;font-size:12px}.rack-u-label{display:grid;place-items:center;border-right:1px solid #123b35;background:#ffffff3d}.rack-u-cell{position:relative;display:flex;align-items:center;padding:2px 4px;grid-column:1}.rack-u-cell:hover{background:#14b8a61f}.rack-asset{grid-column:1;z-index:2;width:100%;min-height:0;border:1px solid #0f766e;border-radius:4px;background:#fff;color:#0f3d35;font-size:11px;font-weight:700;cursor:grab;display:flex;align-items:center;gap:4px;padding:2px 4px;overflow:hidden}.rack-asset.locked{cursor:not-allowed;border-color:#b45309;background:#fde68a;color:#713f12;box-shadow:inset 0 0 0 1px #b4530947}.rack-asset svg{flex:0 0 auto}.rack-asset span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rack-asset:active{cursor:grabbing}.rack-asset-highlight{border-color:#f59e0b;background:#fef3c7;box-shadow:0 0 0 2px #f59e0b52,0 8px 18px #f59e0b33}.rack-occupied{width:100%;height:12px;border-radius:3px;background:#0f766e29}.unmatched-assets{margin-top:18px;display:flex;flex-wrap:wrap;gap:8px;align-items:center}.top-unpositioned-assets{margin-top:0;margin-bottom:16px;padding:10px;border:1px dashed #cbd5e1;border-radius:8px;background:#f8fafc}.pending-position-groups{display:grid;gap:8px;margin-bottom:16px}.pending-position-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:10px;border:1px dashed #cbd5e1;border-radius:8px;background:#fff}.pending-position-row h2{flex:0 0 150px;margin:0;color:#334155;font-size:14px}.unmatched-assets h2{flex-basis:100%;margin:0;font-size:15px}.cabinet-pending-assets{display:flex;flex-wrap:wrap;gap:6px;padding:8px;border-top:1px solid #123b35;background:#ffffff73}.rack-asset.floating{width:auto;max-width:320px;padding:6px 10px}.rack-context-menu{position:fixed;z-index:1000;min-width:128px;padding:6px;border:1px solid #d6e1e7;border-radius:8px;background:#fff;box-shadow:0 18px 40px #0f172a2e}.rack-context-menu button{width:100%;min-height:30px;display:inline-flex;align-items:center;gap:8px;border:0;border-radius:6px;background:transparent;color:#263241;font-size:13px;text-align:left;cursor:pointer}.rack-context-menu button:hover:not(:disabled){background:#eef6f5}.rack-context-menu button:disabled{color:#94a3b8;cursor:not-allowed}.rack-asset-tooltip{position:fixed;z-index:1200;max-width:420px;padding:7px 10px;border-radius:6px;background:#0f172af0;color:#fff;font-size:12px;line-height:1.5;pointer-events:none;box-shadow:0 14px 32px #0f172a3d;white-space:normal;word-break:break-all}.binding-form{display:grid;grid-template-columns:minmax(260px,1fr) auto auto;gap:12px;align-items:end;padding:10px 20px;border-bottom:1px solid #e2e8f0}.binding-asset-header{display:flex;flex-wrap:wrap;gap:8px;padding:10px 20px;border-bottom:1px solid #e2e8f0;background:#f8fafc}.binding-asset-header span{color:#263241;font-size:13px;font-weight:700}.rack-asset-summary{padding:18px 20px 20px}.rack-modal-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:10px;margin-top:16px}.rack-modal-workspace{display:grid;gap:0}.rack-modal-subbar{display:flex;align-items:center;justify-content:flex-start;gap:12px;padding:12px 20px;border-bottom:1px solid #e2e8f0;background:#f8fafc}.rack-modal-subbar strong{color:#263241;font-size:14px}.rack-detail-grid{max-height:58vh;overflow-y:auto}.rack-modal-inline-actions{display:flex;justify-content:flex-end;gap:10px;padding:14px 20px 18px}.binding-form label{display:grid;gap:6px;color:#334155;font-size:13px;font-weight:700}.binding-form label>span{display:flex;flex-wrap:wrap;align-items:center;gap:6px}.binding-form input,.binding-form select{min-height:30px;border:1px solid #cbd5e1;border-radius:6px;padding:0 10px;font:inherit}.binding-list{display:grid;gap:8px;padding:10px 20px}.binding-list article{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;gap:12px;align-items:center;padding:7px 10px;border:1px solid #e2e8f0;border-radius:8px;background:#f8fafc}.ip-pool-inline,.binding-form label>span small{color:#64748b;font-size:12px;line-height:1.5}.ip-pool-inline{padding:2px 7px;border:1px solid #e2e8f0;border-radius:999px;background:#f8fafc;cursor:pointer}.binding-list article>span{color:#64748b;font-size:12px;font-weight:600}.ip-option-list{max-height:34vh;overflow:auto;border-bottom:1px solid #e2e8f0}.binding-section-title{margin:0;color:#263241;font-size:14px;font-weight:800}.pending-bills-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px}.pending-bills-filters{display:flex;flex-wrap:wrap;align-items:flex-end;gap:12px;margin-bottom:14px}.pending-bills-filters .filter-field{min-width:150px;flex:1 1 170px}.pending-bills-filters .filter-field:first-child{flex-basis:240px}.pending-bills-table-wrap{max-height:min(66vh,680px);overflow:auto;border:1px solid #e5edf1;border-radius:8px}.pending-bills-table{width:100%;min-width:1280px;border-collapse:collapse;font-size:14px}.pending-bills-table th,.pending-bills-table td{padding:12px 14px;border-bottom:1px solid #e5edf1;text-align:left;white-space:nowrap}.pending-bills-table th{background:#f3f7f9;color:#334155;font-weight:700}.pending-bills-table tbody tr:nth-child(2n){background:#f3f7f9}.pending-bills-table .check-cell{width:48px;text-align:center}.pending-bills-table input[type=checkbox]{width:14px;height:14px}.pending-bills-table .empty-cell{padding:34px 16px;text-align:center;color:#64748b}.pending-bills-pagination{margin-top:12px}.page-size-field{display:inline-flex;align-items:center;gap:6px;color:#64748b;font-size:13px}.page-size-field select{height:30px;min-width:66px;border:1px solid #d6e1e7;border-radius:6px;padding:0 8px;background:#fff;color:#1f2937}.detail-grid{display:grid;grid-template-columns:180px minmax(0,1fr);gap:0}.detail-grid dt,.detail-grid dd{min-height:42px;margin:0;padding:11px 12px;border-bottom:1px solid #edf2f7;font-size:13px}.detail-grid dt{color:#263241;font-weight:700;background:#f8fafc}.detail-grid dd{color:#263241;overflow-wrap:anywhere}.detail-grid dd.bound-ip-cell{display:grid;gap:6px;align-content:center}.bound-ip-line{display:grid;grid-template-columns:42px minmax(0,1fr);gap:8px;align-items:start}.bound-ip-line strong,.bound-ip-line span{color:#263241;font-size:13px;line-height:1.45}.bound-ip-line strong{font-weight:800}.settings-layout{display:grid;gap:18px}.settings-page{height:calc(100vh - 88px);overflow-y:auto;padding-right:6px}.settings-titlebar p{margin:4px 0 0;color:#64748b;font-size:13px}.settings-module-tabs{margin-top:14px}.settings-module-body{min-height:0}.settings-tabs{display:inline-flex;width:max-content;gap:4px;margin:0 0 14px;padding:4px;border:1px solid #d9e1ea;border-radius:8px;background:#fff}.settings-tabs button{min-height:32px;border:0;border-radius:6px;padding:0 12px;background:transparent;color:#475569;font-size:13px;cursor:pointer}.settings-tabs button.active{background:#0f766e;color:#fff}.settings-card{display:grid;gap:14px;padding:14px;border:1px solid #d9e1ea;border-radius:8px;background:#fff}.settings-card h2{margin:0;font-size:16px}.settings-card-head{display:flex;gap:12px;align-items:center;justify-content:space-between}.form-editor-module{max-width:360px}.editor-mode-tabs{display:inline-flex;width:max-content;gap:4px;padding:4px;border:1px solid #d9e1ea;border-radius:8px;background:#f8fafc}.editor-mode-tabs button{min-height:30px;border:0;border-radius:6px;padding:0 12px;background:transparent;color:#475569;font-size:13px;cursor:pointer;white-space:nowrap}.editor-mode-tabs button.active{background:#0f766e;color:#fff}.visual-form-editor{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:16px;align-items:start}.visual-form-canvas,.visual-form-inspector{border:1px solid #edf2f7;border-radius:8px;background:#fff}.visual-form-toolbar{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:12px 14px;border-bottom:1px solid #edf2f7;background:#f8fafc}.visual-form-toolbar strong{color:#263241;font-size:14px}.visual-form-toolbar span{color:#64748b;font-size:12px}.visual-form-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;padding:12px}.visual-form-item{grid-column:span 2;display:grid;grid-template-columns:150px minmax(0,1fr);min-height:48px;border-right:1px solid #edf2f7;border-bottom:1px solid #edf2f7;background:#fff;cursor:grab}.visual-form-item.span1{grid-column:span 1;grid-template-columns:1fr}.visual-form-item.span3{grid-column:span 3}.visual-form-item.wide,.visual-form-item.section{grid-column:1 / -1}.visual-form-item.section{display:flex;align-items:center;justify-content:center;min-height:42px;background:#f8fafc}.visual-form-item.selected{outline:2px solid rgba(15,118,110,.55);outline-offset:-2px}.visual-form-item.dragging{opacity:.45}.visual-field-label{display:flex;align-items:center;padding:0 10px;border-right:1px solid #edf2f7;background:#f8fafc;color:#263241;font-size:13px;font-weight:700}.visual-field-control{display:flex;align-items:center;min-width:0;padding:0 10px;color:#64748b;font-size:13px}.visual-field-control.hidden{color:#94a3b8;font-style:italic}.visual-section-title{color:#263241;font-size:15px;font-weight:800}.visual-form-inspector{position:sticky;top:84px;display:grid;gap:12px;padding:14px}.form-editor-check{display:inline-flex!important;grid-template-columns:none;align-items:center;gap:5px;min-height:32px;color:#263241;font-size:13px;white-space:nowrap}.form-editor-check input{width:auto}.table-form-editor{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:16px;align-items:start}.table-designer-canvas,.table-cell-inspector{border:1px solid #edf2f7;border-radius:8px;background:#fff}.table-designer-toolbar{display:flex;flex-wrap:wrap;gap:8px;align-items:center;padding:12px 14px;border-bottom:1px solid #edf2f7;background:#f8fafc}.table-designer-toolbar strong{margin-right:auto;color:#263241;font-size:14px}.table-designer-toolbar label{display:inline-flex;align-items:center;gap:6px;color:#475569;font-size:13px;white-space:nowrap}.table-designer-toolbar input,.table-designer-toolbar select{width:64px;height:30px;border:1px solid #d9e1ea;border-radius:6px;padding:0 8px;color:#263241;font-size:13px}.table-designer-toolbar select{width:92px}.table-designer-grid{display:grid;grid-auto-rows:minmax(44px,auto);gap:2px;min-height:520px;padding:12px;overflow:auto;background:#f1f5f9}.table-designer-cell{display:grid;grid-template-columns:150px minmax(0,1fr);align-items:stretch;min-height:44px;border:1px solid #dce6ef;border-radius:6px;padding:0;overflow:hidden;background:#fff;color:#263241;font:inherit;cursor:pointer;text-align:left}.table-designer-cell:nth-child(2n){background:#eef6f5}.table-designer-cell:hover{border-color:#0f766e73}.table-designer-cell.selected{border-color:#0f766e;box-shadow:0 0 0 2px #0f766e2e}.table-designer-cell.selectedColumn:not(.selected){border-color:#0f766e61;background:#e4f2f0}.table-designer-cell.divider{grid-template-columns:1fr;background:#0f766e;color:#fff;font-weight:800}.table-designer-cell.textarea,.table-designer-cell.richtext{min-height:96px}.table-cell-label,.table-cell-control{display:flex;align-items:center;min-width:0;padding:0 10px;font-size:13px}.table-cell-label{justify-content:center;border-right:1px solid #dce6ef;background:#f8fafce0;font-weight:700}.table-cell-control{color:#475569}.table-designer-cell.align-left .table-cell-control{justify-content:flex-start}.table-designer-cell.align-center .table-cell-control{justify-content:center}.table-designer-cell.align-right .table-cell-control{justify-content:flex-end}.table-designer-cell.divider .table-cell-control{justify-content:center;color:#fff;font-weight:800}.table-cell-inspector{position:sticky;top:84px;display:grid;gap:12px;padding:14px}.table-cell-spans{display:grid;grid-template-columns:1fr 1fr;gap:10px}.permission-groups{display:grid;gap:16px}.permission-group{border:1px solid #d9e1ea;border-radius:8px;overflow:hidden}.permission-group h2{margin:0;padding:12px 14px;border-bottom:1px solid #d9e1ea;background:#f8fafc}@media(max-width:980px){.app-shell{grid-template-columns:1fr}.sidebar{position:static;display:block;height:auto;overflow:visible}.nav-groups{grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible}.topbar{grid-template-columns:40px 1fr}.topbar-status{grid-column:1 / -1;justify-content:flex-start}.metric-grid,.workbench-grid,.workspace-layout{grid-template-columns:1fr}.wide-panel{grid-column:auto}}@media(max-width:620px){.main-panel{padding:18px}.page-header{display:grid}.page-actions{justify-content:flex-start}.panel-titlebar{display:grid}.form-grid,.nav-groups,.detail-grid{grid-template-columns:1fr}.topbar{padding:12px 16px}}
