:root{font-family:Arial,Microsoft YaHei,sans-serif;color:#1f2933;background:#eef3f7}html,body,#root{height:100%}*{box-sizing:border-box}body{margin:0;overflow:hidden}button,input,select{font:inherit}button{cursor:pointer}.app-shell{display:grid;grid-template-columns:228px minmax(0,1fr);height:100vh;width:100%;max-width:100vw;overflow:hidden;background:#eef3f7}.sidebar{height:100vh;overflow-y:auto;overflow-x:hidden;background:#1f4d78;color:#fff}.brand{padding:20px 18px;border-bottom:1px solid rgba(255,255,255,.16)}.brand strong,.brand span{display:block}.brand strong{font-size:24px}.brand span{margin-top:4px;color:#bfdbfe;font-size:12px}.side-nav{display:grid;padding-bottom:18px}.nav-item{display:grid;gap:4px;width:100%;border:0;border-bottom:1px solid rgba(255,255,255,.1);padding:13px 16px;background:transparent;color:#e0f2fe;text-align:left}.nav-item:hover,.nav-item.is-active{background:#ffffff21}.nav-item:disabled{cursor:not-allowed;opacity:.52}.nav-item:disabled:hover{background:transparent}.nav-item span{font-weight:700}.nav-item small{color:#bfdbfe;font-size:11px;line-height:1.35}.workspace{height:100vh;min-width:0;overflow-y:auto;overflow-x:hidden;padding:18px}.topbar{position:sticky;top:18px;z-index:30;display:grid;grid-template-areas:"title search actions";grid-template-columns:minmax(180px,260px) minmax(0,1fr) auto;align-items:center;gap:18px;min-width:0;margin-bottom:16px;border:1px solid #d9e2ec;border-radius:8px;padding:12px 14px;background:#fff}.topbar>div:first-child{grid-area:title;min-width:0}.topbar strong,.topbar span{display:block}.topbar strong{font-size:16px}.topbar span{margin-top:3px;color:#64748b;font-size:12px}.search-box{grid-area:search;display:grid;grid-template-columns:minmax(0,1fr) minmax(76px,auto);gap:8px;min-width:0;width:100%}.topbar-context{grid-area:search;min-width:0;color:#475569;font-size:13px;font-weight:600}.search-box input,.filter-row input,.filter-row select{min-height:38px;border:1px solid #cbd5e1;border-radius:6px;padding:8px 10px;background:#fff;color:#334155}.search-box button,.filter-row button,.primary-action{min-height:38px;border:0;border-radius:6px;padding:8px 14px;background:#0f766e;color:#fff;font-weight:700}.secondary-action{min-height:38px;border:1px solid #cbd5e1;border-radius:6px;padding:8px 14px;background:#fff;color:#1f4d78;font-weight:700}.secondary-action.danger-action{border-color:#fecdd3;background:#fff7f8;color:#be123c}.primary-action{white-space:nowrap}.primary-action:disabled,.secondary-action:disabled,.text-action:disabled,.search-box button:disabled{cursor:not-allowed;opacity:.46}button:disabled,input:disabled,select:disabled,textarea:disabled{cursor:not-allowed}input:disabled,select:disabled,textarea:disabled{background:#f8fafc;color:#64748b}.text-action{border:0;padding:0;background:transparent;color:#1f4d78;font-weight:700}.topbar-actions,.heading-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:10px}.topbar-actions{grid-area:actions;min-width:0}@media(max-width:1180px){.topbar{grid-template-areas:"title actions" "search search";grid-template-columns:minmax(0,1fr) auto;gap:10px 14px}}@media(max-width:720px){.app-shell:not(.client-shell){grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr)}.app-shell:not(.client-shell) .sidebar{display:grid;grid-template-columns:auto minmax(0,1fr);height:auto;min-width:0;overflow:hidden}.app-shell:not(.client-shell) .brand{display:grid;align-content:center;border-right:1px solid rgba(255,255,255,.16);border-bottom:0;padding:8px 12px}.app-shell:not(.client-shell) .brand strong{font-size:20px}.app-shell:not(.client-shell) .brand span,.app-shell:not(.client-shell) .nav-item small{display:none}.app-shell:not(.client-shell) .side-nav{display:flex;min-width:0;overflow-x:auto;overflow-y:hidden;padding:0;scrollbar-width:thin}.app-shell:not(.client-shell) .nav-item{flex:0 0 auto;width:auto;min-width:84px;min-height:52px;place-content:center;border-right:1px solid rgba(255,255,255,.1);border-bottom:0;padding:8px 11px;text-align:center}.app-shell:not(.client-shell) .workspace{height:auto;min-height:0;padding:12px}.app-shell:not(.client-shell) .topbar{top:0;grid-template-areas:"title title" "actions actions" "search search";grid-template-columns:minmax(0,1fr);gap:9px;margin-bottom:12px;padding:10px 12px}.app-shell:not(.client-shell) .topbar-actions{justify-content:flex-start}.app-shell:not(.client-shell) .user-pill{max-width:100%;overflow-wrap:anywhere}}.tools-menu{position:relative}.tools-menu summary{display:inline-flex;align-items:center;min-height:34px;border:1px solid #cbd5e1;border-radius:6px;padding:7px 10px;background:#f8fafc;color:#1f4d78;cursor:pointer;font-size:13px;font-weight:700;list-style:none;white-space:nowrap}.tools-menu summary::-webkit-details-marker{display:none}.tools-list{position:absolute;top:calc(100% + 8px);right:0;z-index:20;display:grid;min-width:190px;border:1px solid #cbd5e1;border-radius:8px;padding:6px;background:#fff;box-shadow:0 16px 32px #0f172a2e}.tools-list a{border-radius:6px;padding:8px 10px;color:#334155;font-size:13px;text-decoration:none}.tools-list a:hover{background:#eef6fb;color:#0f766e}.source-pill{align-self:center;border:1px solid #d5dde3;border-radius:999px;color:#62717c;font-size:12px;font-weight:700;padding:7px 10px;white-space:nowrap}.source-pill.is-live{background:#e9f7ef;border-color:#b9e4c9;color:#276a42}.user-pill{display:inline-flex!important;align-items:center;justify-content:center;min-height:34px;border:1px solid #d9e2ec;border-radius:999px;padding:6px 10px;background:#fff;color:#475569!important;font-size:12px;white-space:nowrap}.page-stack{display:grid;gap:16px;min-width:0}.panel,.metric-card{border:1px solid #d9e2ec;border-radius:8px;background:#fff}.panel{min-width:0;max-width:100%;padding:18px}.page-heading{display:flex;align-items:flex-start;justify-content:space-between;flex-wrap:wrap;gap:16px}.page-heading>div:first-child{flex:1 1 420px}h1,h2{margin:0;color:#0f172a}h1{font-size:24px}h2{font-size:18px}p{margin:6px 0 0;color:#475569;line-height:1.55}.metric-grid{display:grid;grid-template-columns:repeat(4,minmax(180px,1fr));gap:12px}.metric-card{padding:14px}.metric-card span,.metric-card strong,.metric-card small{display:block}.metric-card span{color:#64748b;font-size:12px;font-weight:700}.metric-card strong{margin-top:6px;color:#0f172a;font-size:28px}.metric-card small{margin-top:4px;color:#64748b}.module-grid{display:grid;grid-template-columns:repeat(3,minmax(220px,1fr));gap:12px}.module-card,.feature-card{display:grid;gap:8px;border:1px solid #d9e2ec;border-radius:8px;padding:14px;background:#fff;color:inherit;text-decoration:none}.module-card span,.feature-card span{color:#0f766e;font-size:12px;font-weight:700}.module-card strong,.feature-card strong{color:#0f172a;font-size:16px}.module-card p,.feature-card p{margin:0;color:#64748b;font-size:13px}.kpi-strip{display:grid;grid-template-columns:repeat(4,minmax(88px,1fr));gap:8px;min-width:300px}.kpi-strip div,.count-pill{border:1px solid #d9e2ec;border-radius:8px;padding:10px 12px;background:#f8fafc}.kpi-strip span,.kpi-strip strong{display:block}.kpi-strip span{color:#64748b;font-size:12px;font-weight:700}.kpi-strip strong{margin-top:4px;font-size:20px}.company-master-panel{padding:12px 14px}.company-master-toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px}.company-master-toolbar-right{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:10px}.company-master-toolbar h1{font-size:20px}.company-master-toolbar p{margin-top:4px;color:#64748b;font-size:12px}.company-list-summary{display:flex;flex-wrap:wrap;gap:8px;color:#475569;font-size:12px}.company-list-summary span{border:1px solid #d9e2ec;border-radius:999px;padding:5px 8px;background:#f8fafc}.company-list-summary strong{margin-left:4px;color:#0f172a}.count-pill{align-self:center;color:#1f4d78;font-weight:700;white-space:nowrap}.split-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px}.section-title{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:12px}.section-title span{color:#0f766e;font-weight:700}.compact-list{display:grid;gap:8px}.list-row{display:flex;justify-content:space-between;gap:12px;align-items:center;border:1px solid #e2e8f0;border-radius:8px;padding:10px 12px;background:#f8fafc}.list-row strong,.list-row span{display:block}.list-row span,.muted-block{display:block;margin-top:4px;color:#64748b;font-size:12px}.filter-row{display:grid;grid-template-columns:minmax(260px,1.5fr) minmax(150px,.8fr) minmax(150px,.8fr) minmax(110px,.6fr) auto auto;gap:10px;align-items:end;margin-bottom:14px;border:1px solid #e2e8f0;border-radius:8px;padding:12px;background:#f8fafc}.company-filter-row{grid-template-columns:minmax(320px,1.8fr) minmax(110px,.55fr) minmax(150px,.7fr) minmax(120px,.6fr) auto}.filter-row label{display:grid;gap:5px;color:#334155;font-size:13px;font-weight:700}.action-notice{border:1px solid #bfd7ea;border-left:3px solid #0f766e;border-radius:6px;padding:8px 10px;background:#f8fcff;color:#17446d;font-size:12px;font-weight:800;line-height:1.45}.table-wrap{width:100%;max-width:100%;overflow-x:auto;overflow-y:hidden;overscroll-behavior-inline:contain;-webkit-overflow-scrolling:touch}table{width:100%;min-width:100%;border-collapse:collapse;font-size:14px}.dense-table{font-size:13px}.company-master-table{width:2380px;min-width:2380px;table-layout:fixed}.member-table{width:1940px;min-width:1940px}.file-table{width:1840px;min-width:1840px}.select-col{width:44px;min-width:44px;text-align:center}.select-col input{width:16px;height:16px;margin:0;vertical-align:middle}.dense-table tr.is-selected td{background:#eef6fb}.offline-upload-table,.finance-table{width:1540px;min-width:1540px}.service-summary-table{width:1280px;min-width:1280px}.timeline-table{width:1580px;min-width:1580px}.basic-ledger-table{width:1180px;min-width:1180px}.service-ledger-table{width:1760px;min-width:1760px}th,td{border-bottom:1px solid #e2e8f0;padding:11px 10px;text-align:left;vertical-align:top}th{background:#e8f0f7;color:#263f55;font-size:13px;white-space:nowrap}.sortable-header{display:inline-flex;align-items:center;justify-content:space-between;gap:8px;width:100%;min-height:22px;border:0;padding:0;background:transparent;color:inherit;font:inherit;font-weight:800;text-align:left;cursor:pointer}.sortable-header small{color:#64748b;font-size:12px;line-height:1}.sortable-header.is-active small{color:#0f766e;font-weight:900}.column-filter-row th{background:#f8fafc;padding:8px 6px}.column-filter-row input,.inline-filter input,.file-service-bar select{width:100%;min-height:34px;border:1px solid #d9e2ec;border-radius:6px;padding:7px 9px;background:#fff;color:#334155;font-size:12px}.company-master-table th,.company-master-table td{background-clip:padding-box}.company-master-table td{padding-top:9px;padding-bottom:9px;vertical-align:middle;white-space:nowrap}.company-master-table .long-cell{overflow:hidden;text-overflow:ellipsis}.company-master-table tbody tr:hover td{background-color:#f8fcff}.company-master-table .sticky-col{position:sticky;z-index:2;background:#fff}.company-master-table th.sticky-col{z-index:6;background:#e0ebf4}.company-master-table .column-filter-row th.sticky-col{z-index:7;background:#f8fafc}.company-master-table .sticky-name{left:0;min-width:270px;width:270px;border-right:1px solid #cbd5e1;box-shadow:8px 0 12px -12px #0f172a73}.company-master-table .sticky-action{right:0;min-width:210px;width:210px;border-left:1px solid #cbd5e1;box-shadow:-8px 0 12px -12px #0f172a73}.operation-col{width:122px;min-width:122px}.entry-action-select{width:112px;min-height:30px;border:1px solid #d9e2ec;border-radius:6px;padding:5px 8px;background:#fff;color:#0f2f4a;font-weight:700;font-size:12px}.company-row-quick-actions{display:flex;flex-wrap:wrap;gap:5px}.company-row-quick-actions .row-action{padding:5px 7px}.status-switch{display:inline-flex;align-items:center;gap:7px;width:fit-content;min-height:28px;border:1px solid #bbdfc8;border-radius:999px;padding:3px 9px 3px 4px;background:#f0fbf4;color:#15803d;font-size:12px;font-weight:800;white-space:nowrap;cursor:pointer}.status-switch:hover{border-color:#7fc898;background:#e7f8ed}.status-switch.neutral{border-color:#c7d2fe;background:#eef2ff;color:#3730a3}.status-switch.danger,.status-switch.is-off{border-color:#fecdd3;background:#fff1f2;color:#be123c}.status-switch-track{position:relative;display:inline-flex;align-items:center;width:30px;height:18px;border-radius:999px;background:currentColor;opacity:.78}.status-switch-track i{display:block;width:14px;height:14px;margin-left:14px;border-radius:999px;background:#fff;box-shadow:0 1px 3px #0f172a40}.status-switch.is-off .status-switch-track i{margin-left:2px}.link-button{border:0;padding:0;background:transparent;color:#1f4d78;font:inherit;font-weight:800;text-align:left;cursor:pointer}.link-button:hover{text-decoration:underline}.company-name-link{display:block;max-width:245px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.long-cell{min-width:220px;max-width:320px;overflow:hidden;text-overflow:ellipsis;line-height:1.35;white-space:nowrap}.row-danger{background:#fff1f2}.status{display:inline-flex;align-items:center;min-height:24px;border-radius:999px;padding:4px 8px;background:#ecfeff;color:#155e75;font-style:normal;font-size:12px;font-weight:700;white-space:nowrap}.status.neutral{background:#eef2ff;color:#3730a3}.status.danger{background:#ffe4e6;color:#be123c}.status.success{background:#dcfce7;color:#166534}.status.warning{background:#ffedd5;color:#9a3412}.status.muted{background:#f1f5f9;color:#64748b}.switch-badge{display:inline-flex;align-items:center;gap:7px;min-height:26px;border-radius:999px;padding:4px 9px;background:#e2e8f0;color:#475569;font-size:12px;font-weight:700;white-space:nowrap}.switch-badge i{width:18px;height:18px;border-radius:999px;background:#fff;box-shadow:0 1px 3px #0f172a2e}.switch-badge.is-on{background:#2f6aa3;color:#fff}.row-action{display:inline-flex;align-items:center;justify-content:center;min-height:30px;border:0;border-radius:6px;padding:6px 10px;background:#0f766e;color:#fff;font-weight:700;white-space:nowrap}.row-action.subtle{border:1px solid #cbd5e1;background:#fff;color:#1f4d78}.row-action.danger{border:1px solid #fecdd3;background:#fff1f2;color:#be123c}.row-action:disabled{cursor:not-allowed;opacity:.45}.status-switch:disabled{cursor:not-allowed;opacity:.62}.status-switch.is-readonly{cursor:default}.company-status-modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:80;display:grid;place-items:center;padding:24px;background:#0f2f4a47}.company-status-modal{width:min(440px,100%);border:1px solid #cbd8e5;border-radius:6px;padding:22px;background:#fff;box-shadow:0 18px 48px #0f2f4a38}.company-status-modal h2,.company-status-modal p{margin:0}.company-status-modal h2{font-size:19px}.company-status-modal p{margin-top:12px;line-height:1.55}.company-status-modal footer{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}.row-actions{white-space:nowrap}.dense-table td.row-actions{position:sticky;right:0;z-index:2;background:#fff;box-shadow:-8px 0 12px #0f172a0f}.row-actions:not(td){display:flex;gap:6px}td.row-actions .row-action+.row-action{margin-left:6px}.table-footer{display:flex;justify-content:flex-end;align-items:center;gap:10px;margin-top:12px;color:#475569;font-size:13px}.task-heading{align-items:center}.task-ledger-heading{border-left:4px solid #1f4d78}.task-ledger-summary{display:flex;align-items:center;flex-wrap:wrap;gap:8px;border:1px solid #d9e2ec;border-radius:8px;padding:10px 12px;background:#fff;color:#334155;font-size:13px}.task-ledger-summary span{display:inline-flex;align-items:center;gap:5px;border-right:1px solid #d9e2ec;padding-right:10px;font-weight:700}.task-ledger-summary span:last-child{border-right:0;padding-right:0}.task-ledger-summary strong{color:#0f172a}.application-queue-panel{min-width:0}.application-queue-panel .section-title{align-items:flex-end}.application-queue-search{display:grid;gap:5px;width:min(420px,100%);color:#334155;font-size:13px;font-weight:800}.application-queue-search input{min-height:38px;border:1px solid #cbd5e1;border-radius:6px;padding:8px 10px;background:#fff;color:#334155}.application-queue-table{width:100%;min-width:900px;table-layout:fixed}.application-queue-table th,.application-queue-table td{line-height:1.35;white-space:normal}.application-queue-table th:nth-child(1){width:85px}.application-queue-table th:nth-child(2){width:230px}.application-queue-table th:nth-child(3){width:120px}.application-queue-table th:nth-child(4){width:90px}.application-queue-table th:nth-child(5){width:115px}.application-queue-table th:nth-child(6){width:150px}.application-queue-table th:nth-child(7){width:95px}.application-queue-table th:nth-child(8){width:90px}.application-queue-table th:last-child{position:sticky;right:0;z-index:3;min-width:92px;background:#e0ebf4;box-shadow:-8px 0 12px #0f172a0f}.task-kpi-grid{display:grid;grid-template-columns:repeat(6,minmax(150px,1fr));gap:10px;min-width:0}.task-kpi-card{display:grid;gap:5px;min-width:0;border:1px solid #d9e2ec;border-radius:8px;padding:12px;background:#fff}.task-kpi-card.is-alert{border-color:#fecdd3;background:#fff7f8}.task-kpi-card span,.task-kpi-card strong,.task-kpi-card small{display:block}.task-kpi-card span{color:#64748b;font-size:12px;font-weight:800}.task-kpi-card strong{color:#0f172a;font-size:26px}.task-kpi-card small{color:#64748b;font-size:12px;line-height:1.35}.task-workbench-grid{display:grid;grid-template-columns:minmax(360px,.92fr) minmax(520px,1.28fr);gap:16px;min-width:0}.task-priority-panel,.task-filter-panel{min-width:0}.task-ledger-filter{display:grid;gap:12px}.task-priority-list{display:grid;gap:8px}.task-priority-row{display:grid;grid-template-columns:62px minmax(0,1fr) auto;align-items:center;gap:10px;border:1px solid #e2e8f0;border-radius:8px;padding:10px;background:#f8fafc}.task-priority-row strong,.task-priority-row small{display:block;min-width:0}.task-priority-row strong{color:#0f172a;font-size:13px}.task-priority-row small{margin-top:4px;color:#64748b;font-size:12px;line-height:1.35}.task-priority{display:inline-flex;align-items:center;justify-content:center;width:fit-content;min-width:42px;min-height:25px;border-radius:999px;padding:4px 8px;background:#e0f2fe;color:#075985;font-size:12px;font-weight:800;white-space:nowrap}.task-priority.is-urgent{background:#ffe4e6;color:#be123c}.task-priority.is-high{background:#fff7ed;color:#b45309}.task-priority.is-low{background:#f1f5f9;color:#64748b}.task-filter-tabs{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px}.task-filter-tabs.compact-tabs{margin-bottom:0}.task-filter-tabs button{min-height:34px;border:1px solid #cbd5e1;border-radius:6px;padding:7px 12px;background:#fff;color:#334155;font-weight:800}.task-filter-tabs button.is-active{border-color:#1f4d78;background:#1f4d78;color:#fff}.task-filter-row{display:grid;grid-template-columns:minmax(240px,1fr) minmax(160px,.42fr) minmax(170px,.48fr);gap:10px}.ledger-filter-row{grid-template-columns:minmax(320px,1fr) minmax(180px,220px) minmax(180px,220px)}.task-filter-row label{display:grid;gap:5px;color:#334155;font-size:13px;font-weight:800}.task-filter-row input,.task-filter-row select{min-height:38px;border:1px solid #cbd5e1;border-radius:6px;padding:8px 10px;background:#fff;color:#334155}.task-table-panel .section-title{align-items:flex-start}.task-table-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.task-table{width:1860px;min-width:1860px}.task-table th,.task-table td{white-space:nowrap}.task-table .long-cell{white-space:normal}.placeholder-board{min-height:360px}.feature-grid{display:grid;grid-template-columns:repeat(3,minmax(220px,1fr));gap:12px}.detail-hero{display:grid;gap:16px;align-items:start;overflow:visible}.detail-hero h1{margin-top:10px}.detail-hero-toolbar{display:grid;grid-template-columns:auto minmax(460px,1fr);align-items:start;gap:18px;min-width:0}.detail-hero-toolbar .text-action{min-height:38px;padding-top:9px;white-space:nowrap}.detail-hero-title{min-width:0}.detail-hero-title h1{margin-bottom:8px}.company-switcher{position:relative;z-index:12;display:grid;gap:6px;min-width:0}.company-switcher label{color:#334155;font-size:13px;font-weight:700}.company-switcher-input-row{display:grid;grid-template-columns:minmax(360px,1fr);min-width:0}.company-switcher input{min-width:0;min-height:38px;border:1px solid #cbd5e1;border-radius:6px;padding:8px 10px;background:#fff;color:#334155}.company-switcher-results{position:absolute;top:calc(100% + 8px);right:0;left:0;z-index:40;display:grid;max-height:290px;overflow-y:auto;border:1px solid #cbd5e1;border-radius:8px;padding:6px;background:#fff;box-shadow:0 18px 34px #0f172a2e}.company-switcher-option{display:grid;gap:4px;width:100%;border:0;border-radius:6px;padding:10px 12px;background:transparent;color:#334155;text-align:left}.company-switcher-option:hover,.company-switcher-option.is-current{background:#eef6fb}.company-switcher-option strong{color:#0f172a;font-size:13px}.company-switcher-option span,.company-switcher-empty{color:#64748b;font-size:12px;line-height:1.35}.company-switcher-empty{padding:12px}.detail-summary{display:flex;flex-wrap:wrap;gap:0;border:1px solid #d9e2ec;border-radius:8px;background:#f8fafc}.detail-summary div{min-width:180px;border-right:1px solid #d9e2ec;padding:10px 12px}.detail-summary div:last-child{border-right:0}.timeline-rule{display:grid;grid-template-columns:repeat(3,minmax(120px,1fr));gap:10px}.timeline-rule div{border:1px solid #d9e2ec;border-radius:8px;padding:10px 12px;background:#f8fafc}.detail-summary span,.detail-summary strong,.timeline-rule span,.timeline-rule strong{display:block}.detail-summary span,.timeline-rule span{color:#64748b;font-size:12px;font-weight:700}.detail-summary strong,.timeline-rule strong{margin-top:4px;color:#0f172a;font-size:14px}.detail-tabs-panel{margin-bottom:-16px;border-bottom:0;border-bottom-right-radius:0;border-bottom-left-radius:0;padding:0}.detail-tabs-panel+.panel,.detail-tabs-panel+.basic-command-panel{border-top-left-radius:0;border-top-right-radius:0}.detail-tabs{display:flex;gap:0;overflow-x:auto}.detail-tab{min-width:118px;border:0;border-right:1px solid #e2e8f0;padding:13px 16px;background:#fff;color:#475569;font-weight:700;white-space:nowrap}.detail-tab:hover,.detail-tab.is-active{background:#e8f0f7;color:#1f4d78}.detail-tab.is-active{box-shadow:inset 0 -3px #d8a35d}.detail-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px}.company-detail-form-panel{display:grid;gap:10px}.company-detail-form{display:grid;gap:12px}.company-record-form{display:grid;gap:14px}.company-record-section{display:grid;gap:10px}.company-record-section+.company-record-section{border-top:1px solid #e2e8f0;padding-top:2px}.company-record-grid{grid-template-columns:repeat(4,minmax(180px,1fr));gap:10px 12px}.detail-form-section{border:1px solid #d9e2ec;border-radius:8px;overflow:hidden;background:#fff}.detail-form-section-title{border-bottom:1px solid #d9e2ec;padding:10px 12px;background:#e8f0f7;color:#263f55;font-size:13px;font-weight:800}.detail-form-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0}.detail-field{display:grid;grid-template-rows:auto 1fr;min-width:0;border-right:1px solid #e2e8f0;border-bottom:1px solid #e2e8f0;background:#fff}.detail-field.is-wide{grid-column:span 2}.detail-field span{padding:8px 10px 0;color:#475569;font-size:12px;font-weight:800}.detail-field input{width:100%;min-width:0;min-height:38px;border:0;padding:6px 10px 9px;background:transparent;color:#0f172a;font-size:13px;font-weight:700}.detail-field input[readonly]{color:#334155}.basic-command-panel{padding-bottom:14px}.basic-status-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:10px}.basic-status-card{display:grid;gap:7px;border:1px solid #d9e2ec;border-radius:8px;padding:12px;background:#f8fafc}.basic-status-card span,.basic-status-card strong{display:block}.basic-status-card span{color:#64748b;font-size:12px;font-weight:800}.basic-status-card strong{color:#0f172a;font-size:18px}.basic-status-card .status{width:fit-content}.record-lock-strip,.member-summary-row,.member-workflow-bar,.role-check-grid{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.member-summary-row{margin-bottom:12px;color:#475569;font-size:12px}.member-summary-row span,.member-workflow-bar span,.role-check-grid label{border:1px solid #d9e2ec;border-radius:999px;padding:6px 9px;background:#f8fafc}.member-summary-row strong{margin-left:4px;color:#0f172a}.table-toolbar{display:grid;grid-template-columns:minmax(260px,1fr) minmax(320px,.8fr) auto;align-items:end;gap:10px;margin-bottom:12px;border:1px solid #e2e8f0;border-radius:8px;padding:10px 12px;background:#f8fafc}.single-search-toolbar{grid-template-columns:minmax(320px,1fr) auto}.ledger-counts{display:flex;flex-wrap:wrap;gap:8px;min-width:0}.ledger-counts span{border:1px solid #d9e2ec;border-radius:999px;padding:6px 9px;background:#fff;color:#475569;font-size:12px;font-weight:800;white-space:nowrap}.ledger-counts strong{margin-left:4px;color:#0f172a}.ledger-search{display:grid;gap:5px;min-width:0;color:#334155;font-size:13px;font-weight:800}.ledger-search input{width:100%;min-height:38px;border:1px solid #cbd5e1;border-radius:6px;padding:8px 10px;background:#fff;color:#334155}.member-drawer{background:#f5f9fc}.member-workflow-bar{color:#1f4d78;font-size:12px;font-weight:800}.member-form-layout{display:grid;gap:14px}.role-check-grid label{display:inline-flex;gap:7px;color:#334155;font-size:13px;font-weight:800}.preset-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px}.preset-card{display:grid;gap:7px;align-content:start;border:1px solid #d9e2ec;border-radius:8px;padding:12px;background:#fff;color:#334155}.preset-card:hover{border-color:#9bb8d1;background:#f8fcff}.preset-card input{margin:0}.preset-card span{color:#1f4d78;font-size:12px;font-weight:800}.preset-card strong{color:#0f172a}.preset-card small{color:#64748b;line-height:1.45}.form-section-title{margin:18px 0 10px;border-left:4px solid #d8a35d;padding-left:10px;color:#0f172a;font-weight:800}.read-field{display:grid;gap:6px;color:#334155;font-size:13px;font-weight:700}.read-field.is-wide{grid-column:span 2}.read-field input{min-height:38px;border:1px solid #cbd5e1;border-radius:6px;padding:8px 10px;background:#fff;color:#334155}.read-field input[readonly]{background:#f8fafc;color:#475569}.drawer-panel{display:grid;gap:14px;margin-bottom:16px;border:1px solid #cbd5e1;border-radius:8px;padding:14px;background:#f8fafc}.segmented-control{display:inline-flex;width:fit-content;border:1px solid #cbd5e1;border-radius:8px;overflow:hidden;background:#fff}.segmented-control button{border:0;border-right:1px solid #cbd5e1;padding:9px 13px;background:#fff;color:#475569;font-weight:700}.segmented-control button:last-child{border-right:0}.segmented-control button.is-active{background:#1f4d78;color:#fff}.role-tags{display:flex;flex-wrap:wrap;gap:5px}.role-tags span{border-radius:999px;padding:4px 8px;background:#e8f0f7;color:#1f4d78;font-size:12px;font-weight:700}.form-actions{grid-column:1 / -1;display:flex;justify-content:flex-end;gap:8px}.file-service-bar{display:grid;grid-template-columns:minmax(260px,1fr) 130px 160px;align-items:center;gap:12px;margin-top:14px;margin-bottom:0;border:1px solid #d9e2ec;border-radius:8px 8px 0 0;padding:12px 14px;background:#dce8f3}.file-service-bar span{color:#334155;font-size:13px}.sub-tabs{display:flex;margin-bottom:12px;border-right:1px solid #e2e8f0;border-left:1px solid #e2e8f0;background:#fff}.sub-tabs button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:116px;border:0;border-right:1px solid #e2e8f0;padding:10px 14px;background:#fff;color:#334155;font-weight:700}.sub-tabs button.is-active{background:#f1f5f9;color:#1f4d78}.sub-tabs button span{display:inline-flex;align-items:center;justify-content:center;min-width:22px;min-height:20px;border-radius:999px;padding:2px 7px;background:#e8f0f7;color:#1f4d78;font-size:12px;font-weight:800}.sub-tabs button.is-active span{background:#1f4d78;color:#fff}.lock-check{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}.files-workspace{display:grid;gap:14px}.files-workspace .section-title{margin-bottom:0}.file-selection-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid #d9e2ec;border-radius:8px;padding:9px 10px;background:#f8fafc}.file-selection-toolbar span{color:#475569;font-size:13px;font-weight:800}.file-package-grid{display:grid;grid-template-columns:repeat(4,minmax(180px,1fr));gap:10px}.file-package-card{display:grid;gap:7px;min-width:0;border:1px solid #d9e2ec;border-radius:8px;padding:12px;background:#f8fafc}.file-package-card span,.file-package-card strong{display:block}.file-package-card span{color:#64748b;font-size:12px;font-weight:800}.file-package-card strong{color:#0f172a;font-size:14px;line-height:1.4}.file-package-card .status{width:fit-content}.offline-review-panel{display:grid;gap:12px;border:1px solid #cbd5e1;border-radius:8px;padding:14px;background:#f6fafc}.offline-review-header{display:flex;align-items:flex-start;justify-content:space-between;flex-wrap:wrap;gap:12px}.offline-review-header h3{margin:0;color:#0f172a;font-size:16px}.offline-review-header p{margin-top:5px;font-size:13px}.offline-flow{display:grid;grid-template-columns:repeat(4,minmax(160px,1fr));gap:10px}.offline-step{position:relative;display:grid;grid-template-columns:34px minmax(0,1fr);gap:4px 10px;align-items:center;border:1px solid #d9e2ec;border-radius:8px;padding:11px;background:#fff}.offline-step>span{grid-row:span 2;display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:999px;background:#cbd5e1;color:#334155;font-weight:800}.offline-step strong,.offline-step small{display:block;min-width:0}.offline-step strong{color:#0f172a;font-size:13px}.offline-step small{color:#64748b;font-size:12px;line-height:1.35}.offline-step.is-done{border-color:#bbdfc8;background:#f0fbf4}.offline-step.is-done>span{background:#16a34a;color:#fff}.offline-step.is-active{border-color:#9bb8d1;background:#eef6fb;box-shadow:inset 0 0 0 1px #1f4d7814}.offline-step.is-active>span{background:#1f4d78;color:#fff}.offline-step.is-danger{border-color:#fecdd3;background:#fff7f8}.offline-step.is-danger>span{background:#be123c;color:#fff}.form-note{margin-top:12px;border:1px solid #d9e2ec;border-radius:8px;padding:10px 12px;background:#f8fafc;color:#64748b;font-size:13px}.service-group-list{display:grid;gap:14px}.service-process-group{border:1px solid #d9e2ec;border-radius:8px;overflow:hidden;background:#fff}.service-process-group.is-collapsed>header{border-bottom:0}.service-process-group>header{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #d9e2ec;padding:11px 12px;background:#dce8f3}.service-process-group>.service-process-header{display:grid;grid-template-columns:minmax(360px,1fr) 190px auto;align-items:center;background:#eef4f8}.service-process-main{min-width:0}.service-process-group>header strong,.service-process-group>header span{display:block}.service-process-group>header strong{color:#0f172a}.service-process-group>header span{margin-top:4px;color:#475569;font-size:12px;font-weight:700}.service-process-group .table-wrap{border-radius:0}.service-summary-line{display:flex;flex-wrap:wrap;gap:7px 14px;margin-top:5px}.service-process-group>header .service-summary-line span{display:inline-flex;margin-top:0;white-space:nowrap}.service-process-progress{display:grid;grid-template-columns:42px minmax(100px,1fr);align-items:center;gap:8px;color:#1f4d78;font-size:12px;font-weight:800}.service-process-progress>span{margin-top:0}.service-progress-track{overflow:hidden;height:8px;border:1px solid #cbd5e1;border-radius:999px;background:#fff}.service-progress-track i{display:block;height:100%;border-radius:inherit;background:#2f6aa3}.service-heading-actions{flex-wrap:nowrap}.service-toggle-action{min-width:64px}.service-col-index{width:70px}.service-col-step{width:160px}.service-col-time{width:180px}.service-col-status{width:120px}.service-col-owner{width:140px}.service-col-note{width:360px}.service-col-actions{width:370px}.service-step-index{color:#64748b;font-weight:800}.service-ledger-table td.row-actions{min-width:360px}.service-ledger-table .long-cell{max-width:none}.service-edit-row>td{background:#f8fafc;padding:12px}.service-edit-panel{display:grid;grid-template-columns:repeat(4,minmax(180px,1fr)) auto;align-items:end;gap:10px;border:1px solid #d9e2ec;border-radius:8px;padding:12px;background:#fff}.service-edit-panel label{display:grid;gap:5px;color:#334155;font-size:12px;font-weight:800}.service-edit-panel input,.service-edit-panel select{min-height:34px;border:1px solid #cbd5e1;border-radius:6px;padding:7px 9px;background:#fff;color:#334155;font-size:12px}.service-edit-actions{display:flex;justify-content:flex-end;gap:8px;white-space:nowrap}.history-row>td{background:#f8fafc;padding:10px 12px}.history-table{width:720px;min-width:720px;background:#fff}.history-table th,.history-table td{padding:8px 10px}.inline-filter{display:flex;align-items:center;gap:10px;margin-bottom:14px;color:#334155;font-size:13px;font-weight:700}.inline-filter label{display:inline-flex;align-items:center;gap:8px}.service-record-filter{flex-wrap:wrap}.service-record-filter label:first-child{flex:1 1 360px}.service-record-filter label:not(:first-child){flex:0 1 190px}.service-accordion,.timeline-groups{display:grid;gap:12px}.service-group,.timeline-group{border:1px solid #d9e2ec;border-radius:8px;overflow:hidden;background:#fff}.service-group>header,.timeline-group>header{display:grid;grid-template-columns:minmax(260px,1fr) auto auto;align-items:center;gap:12px;padding:12px 14px;background:#dce8f3}.service-group:not(.is-open)>header,.timeline-group:not(.is-open)>header{background:#f1f5f9}.timeline-group:not(.is-open)>header{border-bottom:0}.service-group>header span,.timeline-group>header span{color:#475569;font-size:13px;font-weight:700}.timeline-group>header strong{display:block;margin-top:3px;color:#0f172a}.process-list{display:grid;gap:10px}.process-item{display:grid;grid-template-columns:34px minmax(240px,1fr) minmax(120px,.45fr) minmax(120px,.45fr) minmax(120px,.45fr) auto;gap:12px;align-items:center;border:1px solid #e2e8f0;border-radius:8px;padding:12px;background:#fff}.process-item>span{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:999px;background:#1f4d78;color:#fff;font-weight:700}.process-item small{display:block;color:#64748b;font-size:12px;font-weight:700}.process-item strong{color:#0f172a}.timeline-rule{margin-bottom:14px}.timeline-rule-dashboard{grid-template-columns:repeat(6,minmax(145px,1fr))}.timeline-overview{display:grid;grid-template-columns:repeat(4,minmax(150px,1fr));gap:10px;margin-bottom:14px}.timeline-overview div{border:1px solid #d9e2ec;border-left:4px solid #0f766e;border-radius:8px;padding:12px;background:#fff}.timeline-overview div.is-danger{border-left-color:#be123c;background:#fff7f8}.timeline-overview span,.timeline-overview strong{display:block}.timeline-overview span{color:#64748b;font-size:12px;font-weight:700}.timeline-overview strong{margin-top:4px;color:#0f172a;font-size:22px}.timeline-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px}.timeline-filter button{min-width:86px}.timeline-search{display:grid;gap:5px;min-width:360px;color:#334155;font-size:13px;font-weight:700}.timeline-search input{min-height:34px;border:1px solid #d9e2ec;border-radius:6px;padding:7px 9px;background:#fff;color:#334155;font-size:12px}.timeline-table td.row-actions{min-width:330px}@media(max-width:980px){.detail-hero-toolbar,.company-switcher-input-row{grid-template-columns:1fr}.detail-hero-toolbar .text-action{justify-self:start}.company-switcher-results{right:0}.detail-summary,.timeline-rule{grid-template-columns:1fr}.timeline-overview{grid-template-columns:repeat(2,minmax(140px,1fr))}.company-record-grid{grid-template-columns:repeat(2,minmax(180px,1fr))}.timeline-toolbar{align-items:flex-start;flex-direction:column}.timeline-search{width:100%;min-width:0}}.task-source-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:80;display:grid;place-items:center;padding:24px;background:#0f172a6b}.task-source-dialog{width:min(680px,100%);max-height:calc(100vh - 48px);overflow:auto;border:1px solid #cbd5e1;border-radius:8px;background:#fff;box-shadow:0 22px 60px #0f172a38}.task-source-dialog>header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:20px 22px;border-bottom:1px solid #e2e8f0}.task-source-dialog>header span{display:block;margin-bottom:4px;color:#64748b;font-size:12px;font-weight:700}.task-source-dialog>header h2{margin:0;font-size:20px;letter-spacing:0}.task-source-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin:0;padding:20px 22px;gap:0}.task-source-summary div{min-width:0;padding:12px 14px;border-bottom:1px solid #e2e8f0}.task-source-summary dt{margin-bottom:5px;color:#64748b;font-size:12px;font-weight:700}.task-source-summary dd{margin:0;overflow-wrap:anywhere;color:#0f172a;font-size:14px}.task-source-next{margin:0 22px 22px;padding:14px 16px;border-left:3px solid #0f766e;background:#f0fdfa;color:#134e4a}.task-source-next p{margin:5px 0 0;line-height:1.55}.task-source-actions{display:flex;gap:10px;justify-content:flex-end;padding:0 22px 22px}.task-source-payment-flow{margin:0 22px 22px;padding:16px;border:1px solid #d7e2ea;background:#f8fafc}.task-source-payment-flow>p{margin:0 0 14px;line-height:1.55}.task-source-payment-flow .task-source-summary{padding:0 0 14px}.task-source-payment-flow .task-source-actions{padding:14px 0 0}.task-source-review-note{display:grid;gap:6px;color:#334155;font-size:13px;font-weight:700}.task-source-review-note textarea{min-height:76px;resize:vertical;padding:10px 12px;border:1px solid #cbd5e1;border-radius:4px;background:#fff;color:#0f172a;font:inherit;font-weight:400}@media(max-width:640px){.task-source-overlay{align-items:end;padding:0}.task-source-dialog{max-height:88vh;border-right:0;border-bottom:0;border-left:0;border-radius:8px 8px 0 0}.task-source-summary{grid-template-columns:1fr}}.internal-login-page{min-height:100vh;display:grid;place-items:center;padding:24px;background:#edf2f6}.internal-login-panel{width:min(400px,100%);padding:28px;background:#fff;border:1px solid #cfdbe5;border-radius:6px;box-shadow:0 12px 30px #1c3b561a}.internal-login-brand{padding-bottom:18px;border-bottom:1px solid #e0e8ef}.internal-login-brand strong,.internal-login-brand span{display:block}.internal-login-brand strong{color:#174e79;font-size:27px}.internal-login-brand span,.internal-login-heading p{color:#66798a;font-size:13px}.internal-login-heading{margin:24px 0 18px}.internal-login-heading h1{margin:0 0 5px;font-size:23px}.internal-login-heading p{margin:0}.internal-login-form,.internal-login-form label{display:grid;gap:8px}.internal-login-form{gap:16px}.internal-login-form label{color:#293b4a;font-size:13px;font-weight:600}.internal-login-form input{min-width:0;height:42px;padding:0 11px;border:1px solid #bdcddb;border-radius:4px;font:inherit}.password-input-row{display:grid;grid-template-columns:minmax(0,1fr) auto}.password-input-row input{border-radius:4px 0 0 4px}.password-input-row button{min-width:58px;border:1px solid #bdcddb;border-left:0;border-radius:0 4px 4px 0;background:#f5f8fa;color:#174e79;font-weight:600}.internal-login-error{padding:10px 12px;border:1px solid #e7b9bd;border-radius:4px;background:#fff5f5;color:#9b2634;font-size:13px}.internal-login-submit{width:100%;min-height:42px}.internal-login-loading{color:#42586b}.topbar-logout{min-height:34px;padding:0 12px}
