:root{color-scheme:light;--ink:#233248;--muted:#66758a;--blue:#2869b2;--blue-dark:#1d5596;--line:#e0e6ee;--canvas:#f5f7fb;--soft:#edf3fc;--green:#25836b;--amber:#9a651b;font-family:'Segoe UI',Arial,sans-serif;font-size:14px}*{box-sizing:border-box}body{margin:0;background:var(--canvas);color:var(--ink);line-height:1.5}button,input,select{font:inherit}button,.button{min-height:39px;padding:8px 13px;border:1px solid #d4dde8;border-radius:7px;background:#fff;color:var(--ink);font-weight:500;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:7px;white-space:nowrap;transition:background .12s,border-color .12s}button:hover,.button:hover{background:#f1f5fa;border-color:#b8c9de}button:disabled{cursor:default;opacity:.45}button.primary,.button.primary{color:white;background:var(--blue);border-color:var(--blue);font-weight:600}button.primary:hover{background:var(--blue-dark)}button.secondary,.button.secondary{background:#f7faff;color:var(--blue-dark);border-color:#c8d8ef}button.quiet{background:transparent;border-color:transparent;color:var(--muted)}button.quiet:hover{color:var(--blue);background:var(--soft)}button.text-button{border:0;background:transparent;color:var(--blue);padding:5px 4px;min-height:30px}button.text-button:hover{text-decoration:underline}button.icon-button{border:0;background:transparent;font-size:25px;min-width:36px;padding:0 7px;color:var(--muted)}a{color:var(--blue);text-underline-offset:3px}input:not([type=checkbox]):not([type=file]),select{min-height:40px;border:1px solid #d4dde8;border-radius:7px;background:white;color:var(--ink);padding:8px 11px;width:100%;min-width:0}input::placeholder{color:#8a96a6}input[readonly]{background:#f6f8fb;color:var(--muted)}input:disabled,select:disabled{opacity:.65}input[type=checkbox]{width:18px;height:18px;accent-color:var(--blue);margin:2px 0;cursor:pointer;flex-shrink:0}input[type=file]{max-width:100%}label{display:block;margin:12px 0 6px;font-weight:500}h1,h2,h3,p{margin:0}h1{font-size:20px;letter-spacing:-.4px}h2{font-size:25px;font-weight:650;letter-spacing:-.45px}h3{font-size:16px;font-weight:600}p+p{margin-top:6px}:focus-visible{outline:3px solid #9ec5f4;outline-offset:2px}.muted{color:var(--muted)}.error{color:#a73e35;white-space:pre-wrap}.path{overflow-wrap:anywhere;white-space:pre-wrap}.actions{display:flex;align-items:center;gap:9px}.wrap{flex-wrap:wrap}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}[hidden]{display:none!important}
.app-header{height:72px;padding:12px 24px;display:flex;align-items:center;gap:30px;position:sticky;top:0;z-index:30;background:#fff;border-bottom:1px solid var(--line)}.header-brand{display:flex;align-items:center;gap:11px;flex-shrink:0;min-width:190px}.brand-mark{display:grid;place-items:center;width:35px;height:35px;background:var(--blue);border-radius:9px;color:#fff;font-size:13px;font-weight:700;letter-spacing:1px}.brand-subtitle{color:var(--muted);font-size:12px}.server-strip{display:flex;align-items:center;gap:20px;flex:1;min-width:0;font-size:13px;color:var(--muted)}#connection-state{display:flex;align-items:center;gap:7px}#connection-state::before{content:'';width:7px;height:7px;border-radius:50%;background:#b7c1cd;flex-shrink:0}#connection-state[data-online=true]::before{background:var(--green)}#executor-state{margin:0;overflow-wrap:anywhere}.header-actions{display:flex;align-items:center;gap:6px;font-size:13px}.header-actions button{padding-inline:9px;font-size:13px}.header-actions #session-state{max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.header-actions a{font-size:13px}
.app-shell{display:grid;grid-template-columns:208px minmax(0,1fr);align-items:start}.sidebar{padding:26px 14px;height:calc(100vh - 72px);position:sticky;top:72px;display:flex;flex-direction:column;border-right:1px solid var(--line);background:#f8fafd}.nav-label{font-size:12px;font-weight:600;letter-spacing:.4px;color:#8190a2;padding:0 13px;margin-bottom:12px}.tabs{display:flex;flex-direction:column;gap:5px}.tabs>button{justify-content:flex-start;min-height:45px;padding:10px 12px;text-align:left;border:0;background:transparent;color:#63728a;font-weight:500;border-radius:8px;white-space:normal}.tabs>button:hover{background:#eef3fa}.tabs>button[aria-current=page]{background:#e7effc;color:#225b9e;font-weight:600}.nav-icon{width:22px;text-align:center;font-size:19px;font-weight:400;margin-right:4px}.remote-note{margin-top:auto;font-size:12px;line-height:1.65;color:var(--muted);padding:16px 10px 0}.remote-note summary{font-size:12px;font-weight:500}.remote-note p{margin-top:10px}.workspace-main{width:100%;max-width:1560px;margin:0 auto;padding:23px 30px 115px;min-width:0}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px}.page-heading p{margin-top:4px}.page-heading .button{flex-shrink:0}.project-bar{display:flex;align-items:flex-end;gap:12px;background:#fff;border:1px solid var(--line);border-radius:10px;padding:13px 16px;margin-bottom:12px}.project-select{min-width:210px;flex:1;max-width:530px}.project-select label{margin:0 0 5px;color:var(--muted);font-size:12px;font-weight:600}.project-select select{font-weight:600}.project-bar>button{margin-bottom:1px}.source-caption{margin-left:auto;padding-left:18px;min-width:150px;align-self:center;border-left:1px solid var(--line);display:flex;flex-direction:column;align-items:flex-start;font-size:12px;color:var(--muted)}.source-caption .text-button{font-size:12px;min-height:25px;padding:2px 0}.message{font-size:13px;color:var(--muted);margin:6px 0 12px;overflow-wrap:anywhere}.message.error{background:#fff2ef;border:1px solid #f0d0ca;padding:12px 14px;border-radius:7px}.preparation{display:flex;align-items:center;gap:12px;padding:13px 16px;background:#edf3fc;border:1px solid #d9e5f6;border-radius:9px;margin:14px 0 18px}.preparation>div{min-width:0;flex:1}.preparation h3{font-size:14px}.preparation p{font-size:13px;color:#61748e;margin-top:2px}.preparation-dot{width:8px;height:8px;border-radius:50%;background:var(--blue);flex-shrink:0}.preparation[data-tone=ready]{background:#edf7f3;border-color:#d5e9e0}.preparation[data-tone=ready] h3{color:#226e59}.preparation[data-tone=ready] .preparation-dot{background:var(--green)}.preparation[data-tone=attention]{background:#fff8eb;border-color:#f0e2c6}.preparation[data-tone=attention] .preparation-dot{background:#bb8d43}
.models-workspace{background:#fff;border:1px solid var(--line);border-radius:10px;overflow:hidden}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 18px 10px}.section-heading h3{display:flex;align-items:center;gap:8px}.section-heading p{font-size:12px;margin-top:3px}.count-badge{display:inline-flex;align-items:center;justify-content:center;min-width:25px;height:23px;padding:0 7px;background:#eef2f7;border-radius:5px;font-size:12px;color:#63728a;font-weight:500}.model-toolbar{padding:0 18px 12px;display:flex;align-items:center;justify-content:space-between;gap:14px}.model-search{margin:0;max-width:390px;width:100%}.model-search input{background:#f9fafc!important;min-height:36px!important;font-size:13px}.model-toolbar>.muted{font-size:12px}.bulk-editor{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:11px 18px;background:#f2f6fd;border-block:1px solid #dfe8f5}.bulk-editor h3{font-size:13px;color:#2c568a}.bulk-editor p{font-size:12px;margin-top:1px}.bulk-editor button{font-size:12px;min-height:35px;padding:6px 10px}.bulk-editor .text-button{padding-inline:5px}.table-scroll{overflow:auto;max-width:100%}table{border-collapse:separate;border-spacing:0;width:100%;text-align:left;font-size:13px}th,td{padding:13px 14px;vertical-align:top}th{background:#fafbfd;border-bottom:1px solid var(--line);font-size:12px;font-weight:600;color:#718096;position:sticky;top:0;z-index:1;white-space:nowrap}td{border-bottom:1px solid #edf0f5;white-space:pre-wrap;overflow-wrap:anywhere}tbody tr:last-child td{border-bottom:0}.model-table{max-height:clamp(240px,43vh,550px)}.model-table table{table-layout:fixed;min-width:790px}.model-table th:first-child,.model-table td:first-child{width:44px;padding-right:0}.model-table th:nth-child(2){width:27%}.model-table th:nth-child(3){width:29%}.model-table th:nth-child(4){width:27%}.model-table th:last-child{width:104px}.th-note{display:block;font-size:11px;font-weight:400;color:#98a2b0}.selectable:hover{background:#f7faff}.selectable.selected{background:#f0f5fd}.file-name{font-weight:600;line-height:1.5;display:block}.model-meta{font-size:11px;color:#8793a3;margin-top:5px;display:flex;flex-wrap:wrap;align-items:center;gap:8px}.needs-rules{font-size:11px;background:#fff3dd;color:#986b24;border-radius:4px;padding:1px 6px}.version-note{color:var(--amber)}.rule-names{white-space:pre-wrap;line-height:1.6;color:#465a74}.mapping-name{color:#566a82;line-height:1.6}.row-action{font-size:12px;min-height:33px;padding:5px 8px;background:transparent;color:var(--blue);border-color:transparent}.row-action:hover{background:var(--soft);border-color:#d7e3f4}.empty{padding:35px 22px;text-align:center;color:var(--muted)}
summary{cursor:pointer;font-weight:600}summary:hover{color:var(--blue)}.project-settings{margin-top:17px;border:1px solid var(--line);border-radius:9px;background:#fff}.project-settings>summary{padding:13px 16px;font-size:13px;color:#53677f}.project-settings>summary>span{font-weight:400;color:#8a97a8;margin-left:12px;font-size:12px}.project-settings-body{padding:4px 18px 17px}.project-settings-body>details{border-top:1px solid var(--line);padding-top:13px;margin-top:13px}.project-settings-body>details>summary{font-size:13px}.source-grid,.editor-columns{display:grid;grid-template-columns:1fr 1fr;gap:26px;margin-top:16px}.source-grid h2{font-size:16px}.field-action{display:flex;align-items:center;gap:8px}.field-action input{flex:1;min-width:0}.section-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:17px 0 0}.section-footer>.muted{font-size:12px;max-width:700px}.run-settings{display:grid;grid-template-columns:auto 1fr;gap:15px;align-items:center;margin-top:14px}.run-settings label{margin:0}.reports-suggestions{max-width:680px;margin-top:12px}.report-settings>.muted{margin-top:12px}.check{display:flex;align-items:center;gap:9px;font-weight:400}.launch-bar{position:fixed;left:208px;right:0;bottom:0;z-index:20;display:flex;align-items:center;justify-content:space-between;gap:20px;background:rgba(255,255,255,.98);border-top:1px solid #dbe3ed;padding:14px 30px;box-shadow:0 -3px 16px rgba(26,48,79,.04)}.launch-bar strong{font-size:14px}.launch-bar p{font-size:12px;margin-top:3px}.launch-bar button{min-height:42px}#run-start{min-width:190px}.job-panel{margin-top:21px;border:1px solid var(--line);border-radius:10px;background:#fff;padding:18px}.job-panel h3{font-size:15px}.job-panel>p{font-size:13px;margin-top:8px}.job-panel progress{display:block;width:100%;height:7px;margin:12px 0;accent-color:var(--blue)}.job-panel .actions{margin-top:12px;gap:16px}.publication-panel{border-top:1px solid var(--line);margin-top:18px;padding-top:16px}.publication-panel p{font-size:13px;margin-top:6px}.publication-panel .path{font-size:12px}#publication-retry-area{margin-top:12px}.publication-panel[data-complete=true] h3{color:var(--green)}
.tab-panel>h2{margin:22px 0 8px}.tab-panel>p.muted{max-width:900px}.nightly-fields{display:flex;align-items:center;gap:30px;margin:20px 0}.nightly-fields input[type=time]{width:160px;margin-top:6px;font-size:19px}#nightly-form{max-width:1000px;background:#fff;border:1px solid var(--line);border-radius:10px;padding:22px;margin-top:20px}#nightly-form>h3{margin-top:24px}#nightly-form>button{margin-top:10px}.choice-list{border:1px solid var(--line);border-radius:7px;max-height:350px;overflow:auto;margin:14px 0}.choice-list label{display:flex;gap:12px;padding:13px 15px;margin:0;background:#fff}.choice-list label+label{border-top:1px solid #edf0f5}#nightly-state{margin-top:12px}.events{margin-top:25px}.events .table-scroll{border:1px solid var(--line);border-radius:8px;margin-top:12px;max-height:300px}.history-layout{display:grid;grid-template-columns:245px minmax(0,1fr);gap:24px;margin-top:16px}.history-layout aside{min-width:0}.history-layout aside select{background:#fff}#history-models{min-height:230px}.history-content{min-width:0}.history-content>.muted{margin-top:6px}.history-content>p{margin-top:14px}.right{justify-content:flex-end;margin:0 0 10px}.timeline,.history-details{border:1px solid var(--line);border-radius:8px;background:#fff}.timeline{max-height:270px}.timeline table{min-width:710px}.history-details{max-height:430px;margin-top:15px}.history-details table{min-width:770px;table-layout:fixed}.history-details th:first-child{width:115px}.history-details th:nth-child(2){width:195px}.history-details td:nth-child(2){font-family:Consolas,monospace;white-space:nowrap}.history-content details{margin-top:16px}.history-content pre{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;max-height:350px;overflow:auto}.history-layout .selected{background:var(--soft)}
.admin-form{max-width:720px;margin-top:16px}.admin-form button{margin-top:14px}.admin-form p{margin-top:10px}.admin-section{background:#fff;border:1px solid var(--line);border-radius:10px;padding:22px;margin-top:22px}.admin-section h2{font-size:20px}.update-upload{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:18px 0}.update-upload label{margin:0}.update-upload input{width:auto;max-width:440px}.metadata{display:grid;grid-template-columns:minmax(140px,210px) minmax(0,1fr);gap:9px 20px;max-width:950px;line-height:1.6;margin:18px 0}.metadata dt{color:var(--muted)}.metadata dd{margin:0;overflow-wrap:anywhere;white-space:pre-wrap}.operation-state{margin-top:12px;white-space:pre-wrap}.update-progress{display:block;width:min(950px,100%);height:7px;margin-top:16px;accent-color:var(--blue)}#diagnostics-errors td{max-width:500px}#diagnostics-state{margin-bottom:12px}
dialog{border:1px solid #d5dfeb;border-radius:13px;padding:0;width:min(780px,calc(100vw - 32px));max-height:calc(100vh - 40px);color:var(--ink);background:#fff;box-shadow:0 18px 70px rgba(31,52,84,.18)}dialog::backdrop{background:rgba(25,43,70,.32);backdrop-filter:blur(2px)}.dialog-shell{padding:24px;display:flex;flex-direction:column;gap:5px;min-height:0}.dialog-shell header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:9px}.dialog-shell header h2{font-size:21px;overflow-wrap:anywhere}.dialog-shell header p{margin-top:4px}.dialog-shell footer{display:flex;justify-content:flex-end;gap:9px;flex-wrap:wrap;border-top:1px solid var(--line);padding-top:18px;margin-top:17px}.dialog-hint{font-size:12px;margin-top:8px}.dialog-error:empty{display:none}.dialog-error{margin-top:9px}.rule-fieldset{border:0;padding:0;margin:17px 0 0;min-width:0}.rule-fieldset>legend{font-size:12px;font-weight:600;color:var(--muted);margin-bottom:8px}.rule-options{border:1px solid var(--line);border-radius:8px;max-height:42vh;overflow:auto}.rule-option{display:flex;align-items:flex-start;gap:11px;margin:0;padding:12px 13px;cursor:pointer;font-weight:400;min-height:51px}.rule-option+.rule-option{border-top:1px solid #edf0f5}.rule-option:has(input:checked){background:#edf4ff}.rule-option>span{min-width:0;display:block;overflow-wrap:anywhere}.rule-option .rule-source{display:block;font-size:11px;color:var(--muted);margin-top:3px}.rule-option input{margin-top:2px}.rule-options>.empty{font-size:13px}.eyebrow{font-size:12px;color:var(--muted);display:block;margin-bottom:5px}#model-dialog{width:min(830px,calc(100vw - 32px))}#model-full-path{font-size:12px;padding-bottom:16px;color:#8391a3}#model-editor>h3{margin-bottom:5px}.mapping-editor{margin-top:22px;padding-top:18px;border-top:1px solid var(--line)}.mapping-editor>p{margin-top:5px}.mapping-editor .actions{margin-top:12px}.optional{font-size:12px;font-weight:400;color:#8a96a5;margin-left:6px}#ifc-update{margin-top:16px}.folder-list{height:min(420px,50vh);overflow:auto;border:1px solid var(--line);border-radius:8px;margin-top:10px}.folder-list button{display:block;width:100%;text-align:left;white-space:normal;border:0;border-bottom:1px solid #edf0f3;border-radius:0;background:#fff}.folder-list button.selected{background:#eaf2ff}.folder-list .folder-path{font-size:12px;color:var(--muted);display:block;margin-top:3px}.dialog-shell>label{font-size:13px}.dialog-shell>p{margin:4px 0}#connection-dialog,#path-dialog{width:min(650px,calc(100vw - 32px))}.login-panel{max-width:520px;margin:10vh auto;background:#fff;border:1px solid var(--line);border-radius:12px;padding:32px}.login-panel h2{margin-bottom:12px}.login-panel form{margin-top:20px}.login-panel button{margin-top:16px}.login-panel #login-refresh{margin-left:8px}#session-state:empty{display:none}
@media(max-width:1200px){.header-actions #session-state{display:none}.workspace-main{padding-inline:22px}.launch-bar{padding-inline:22px}.server-strip{gap:12px;font-size:12px}.app-header{gap:18px}.project-bar{flex-wrap:wrap}.source-caption{border-left:0;padding-left:0;min-width:0;margin-left:0;flex-direction:row;gap:13px;width:100%}.bulk-editor{align-items:flex-start;flex-direction:column;gap:8px}}
@media(max-width:960px){.app-shell{display:block}.sidebar{height:auto;position:sticky;top:72px;padding:7px 16px;border-right:0;border-bottom:1px solid var(--line);z-index:25;background:#f8fafd}.nav-label,.remote-note{display:none}.tabs{flex-direction:row;overflow-x:auto;gap:5px}.tabs>button{flex-shrink:0;white-space:nowrap;min-height:39px}.nav-icon{font-size:16px;width:18px}.header-brand{min-width:170px}.server-strip{flex-direction:column;align-items:flex-start;gap:0}.launch-bar{left:0}.workspace-main{padding-top:18px}.history-layout{grid-template-columns:210px minmax(0,1fr);gap:15px}.project-select{max-width:none}.source-grid,.editor-columns{gap:18px}.section-footer{align-items:flex-start}.model-table{max-height:45vh}}
@media(max-width:640px){.app-header{height:auto;position:static;padding:12px 16px;flex-wrap:wrap;gap:9px 16px}.header-brand{flex:1}.header-brand h1{font-size:19px}.server-strip{font-size:11px}.header-actions{width:100%;justify-content:flex-end;border-top:1px solid var(--line);padding-top:5px}.sidebar{top:0;padding-inline:10px}.tabs>button{font-size:12px;padding:8px}.nav-icon{display:none}.workspace-main{padding:18px 14px 145px}.page-heading{align-items:flex-start;gap:10px}.page-heading h2{font-size:22px}.page-heading p{font-size:12px}.page-heading .button{font-size:11px;padding:6px 9px;min-height:34px}.project-bar{padding:12px;gap:8px}.project-select{min-width:100%;width:100%}.source-caption{font-size:11px;flex-wrap:wrap;gap:3px 12px}.project-bar>button{font-size:12px;min-height:32px;padding:3px 0}.preparation{align-items:flex-start;padding:12px;gap:9px;flex-wrap:wrap}.preparation-dot{margin-top:7px}.preparation>div{flex-basis:80%}.preparation>button{margin-left:17px;font-size:12px;min-height:32px}.section-heading{padding:13px 12px 9px}.section-heading p{display:none}.section-heading button{font-size:11px;padding:5px;min-height:32px}.model-toolbar{padding:0 12px 10px;flex-wrap:wrap}.bulk-editor{padding:10px 12px}.bulk-editor .actions{gap:4px}.bulk-editor button{font-size:11px;min-height:33px;padding:5px 7px}.project-settings>summary>span{display:none}.project-settings-body{padding-inline:12px}.source-grid,.editor-columns,.history-layout{grid-template-columns:1fr}.field-action{flex-wrap:wrap}.section-footer,.nightly-fields{align-items:flex-start;flex-direction:column;gap:12px}.run-settings{grid-template-columns:1fr;gap:5px}.launch-bar{padding:10px 14px;flex-direction:column;align-items:stretch;gap:9px}.launch-bar>.actions{justify-content:flex-end}.launch-bar strong{font-size:12px}.launch-bar p{font-size:11px}#run-start{min-width:150px}.launch-bar button{font-size:12px;min-height:38px}.history-layout aside select{height:120px;min-height:120px!important}.metadata{grid-template-columns:1fr;gap:3px}.metadata dd{margin-bottom:9px}.admin-section{padding:15px}.dialog-shell{padding:18px}.dialog-shell header h2{font-size:19px}.dialog-shell footer{gap:7px}.dialog-shell footer button{font-size:12px;padding-inline:10px}.login-panel{margin:25px 14px;padding:24px}.rule-options{max-height:38vh}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
/* Keep the working area near the top; reserve emphasis for actions that need attention. */
.page-heading{margin-bottom:14px}.project-bar{padding-block:10px}.project-select{display:flex;align-items:center;gap:12px}.project-select label{margin:0;font-size:13px}.project-select select{flex:1}.preparation[data-tone=ready]{padding:0 3px;border:0;background:transparent;margin:12px 0 15px}.preparation[data-tone=ready]>div{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap}.preparation[data-tone=ready] p{margin:0}.section-heading{padding:12px 17px;gap:12px}.section-heading>.model-search{width:290px;margin-left:auto}.model-toolbar:has(#model-search-state:empty){display:none}.bulk-editor{padding-block:9px}#bulk-note:empty{display:none}.model-table th{padding-top:10px;padding-bottom:10px}.th-note{display:inline;font-size:11px;margin-left:3px}.project-settings{margin-top:14px}
@media(max-width:640px){.project-select{flex-direction:column;align-items:stretch;gap:4px}.project-select label{font-size:12px}.section-heading{flex-wrap:wrap}.section-heading>.model-search{order:3;width:100%;max-width:none}.section-heading>button{margin-left:auto}.preparation[data-tone=ready]>div{gap:2px}.th-note{display:none}}
.model-table table{font-size:14px}#model-dialog .dialog-shell,#bulk-dialog .dialog-shell{max-height:calc(100vh - 42px)}#model-dialog #model-editor{overflow:auto;min-height:0}#model-dialog .dialog-shell>header,#model-dialog .dialog-shell>footer,#model-dialog .dialog-shell>p{flex-shrink:0}#panel-nightly>h2:first-child,#panel-history>.section-heading:first-child h2{display:none}