:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#202b2a;background:#f5f5f1;font-synthesis:none;font-size:15px;line-height:1.5;--ink:#243c37;--green:#315c4e;--muted:#63736d;--line:#dce2dc;--paper:#fff;--amber:#fff2c3;--amber-ink:#795900}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:3px}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}a{color:var(--green);text-underline-offset:3px}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(1.8rem,3vw,2.3rem);line-height:1.18;letter-spacing:-.035em;margin-bottom:14px;font-weight:650}h2{font-size:1.25rem;letter-spacing:-.02em}h3{font-size:1.05rem}p:last-child{margin-bottom:0}[hidden]{display:none!important}.muted{color:var(--muted)}.pre-wrap{white-space:pre-wrap;overflow-wrap:anywhere}.eyebrow{font-size:.68rem;font-weight:700;letter-spacing:.13em;color:var(--muted);margin:0 0 12px}.row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.stack{display:flex;flex-direction:column;gap:20px}.button{border:1px solid transparent;border-radius:7px;padding:9px 15px;min-height:40px;display:inline-flex;align-items:center;justify-content:center;text-decoration:none;font-size:.9rem;font-weight:600;white-space:nowrap}.button-primary{background:var(--green);color:white}.button-primary:hover{background:#254a3e}.button-secondary{background:white;border-color:var(--line);color:var(--ink)}.button-secondary:hover{background:#f0f4ef}.button-quiet{background:transparent;color:var(--green);padding:6px 9px}.button-quiet:hover{background:#edf2ec}.button-danger{background:#fff1ed;color:#982f23;border-color:#f0cec5}.text-link{font-weight:600;font-size:.9rem}.app-layout{display:grid;grid-template-columns:255px minmax(0,1fr);min-height:100vh}.sidebar{background:#edf1eb;border-right:1px solid var(--line);position:sticky;top:0;height:100vh;display:flex;flex-direction:column;overflow-y:auto;padding:28px 18px 16px}.brand{display:grid;grid-template-columns:34px 1fr;align-items:center;gap:0 10px;margin:0 10px 30px}.brand-mark{grid-row:span 2;border:1px solid var(--green);height:39px;width:34px;display:grid;place-items:center;border-radius:6px;color:var(--green);font-family:Georgia,serif;font-size:2rem;font-style:italic}.brand-text,.wordmark{font-size:1.7rem;letter-spacing:-.07em;font-weight:650;color:var(--ink)}.brand small{font-size:.65rem}.project-picker{display:block;padding:0 5px 20px}.project-picker select{width:100%;min-width:0;background:#f8faf5;font-size:.82rem}.project-picker .eyebrow{display:block;margin-bottom:6px}.main-nav{display:flex;flex-direction:column;gap:3px}.nav-item{text-decoration:none;color:#4b5e56;padding:8px 12px;border-radius:6px;font-size:.85rem}.nav-item:hover{background:#e1e8df}.nav-item.is-active{background:#dbe7da;color:#264b3e;font-weight:700;border-left:3px solid var(--green);padding-left:9px}.nav-label{font-size:.65rem;text-transform:uppercase;letter-spacing:.1em;font-weight:700;color:#7b877e;margin:17px 12px 5px}.release{font-size:.65rem;color:var(--muted);margin:30px 10px 0;padding-top:15px;border-top:1px solid var(--line)}.workspace{min-width:0}.topbar{height:72px;border-bottom:1px solid var(--line);padding:0 36px;display:flex;align-items:center;justify-content:space-between;background:#fafbf8;gap:15px}.user-label{font-size:.8rem;color:var(--muted)}.save-indicator{font-size:.75rem;color:#846819}.page-content{max-width:1480px;margin:0 auto;padding:34px 40px 80px}.page-head{display:flex;justify-content:space-between;gap:24px;align-items:flex-start;margin:2px 0 6px}.page-head .muted{max-width:760px;font-size:.92rem}.page-head>.row{flex-shrink:0}.panel{border:1px solid var(--line);background:var(--paper);border-radius:10px;padding:24px;min-width:0}.panel>.row+.text-link{display:inline-block;margin-top:16px}.section-title{margin-bottom:18px;color:var(--ink);font-weight:600}.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.metric{border:1px solid var(--line);border-radius:9px;background:white;padding:19px;display:flex;flex-direction:column;gap:7px;min-width:0}.row>.metric{flex:1;min-width:170px}.metric-label{font-size:.78rem;color:var(--muted)}.metric-value{font-size:1.65rem;letter-spacing:-.05em;font-weight:600;color:var(--ink);overflow-wrap:anywhere}.metric small{font-size:.7rem}.table-wrap{overflow:auto;border:1px solid var(--line);border-radius:8px;background:white}.data-table{border-collapse:collapse;width:100%;font-size:.85rem}.data-table th{background:#f3f6f1;color:#5c6d63;text-align:left;padding:13px 16px;font-size:.72rem;white-space:nowrap;font-weight:600}.data-table td{border-top:1px solid #e6eae4;padding:14px 16px;vertical-align:middle;max-width:480px;overflow-wrap:anywhere}.data-table .stack{gap:3px}.data-table tr:hover td{background:#fafbf9}.data-table .button{font-size:.76rem;padding:7px 10px;min-height:32px}.data-table .row{gap:6px}.notice{background:#eef4ef;border:1px solid #dce7dc;border-left:3px solid #a6bba5;border-radius:6px;padding:12px 15px;font-size:.85rem;color:#3c5646;overflow-wrap:anywhere}.notice-warning{background:#fff8e3;border-color:#efdfac;color:#775a15}.notice-error{background:#fff0ec;border-color:#edc5bd;color:#9d3425}.notice-success{background:#eaf4e7;border-color:#bbd4b7;color:#345a32}.development{display:inline-flex;align-items:center;gap:6px;padding:4px 9px;border:1px solid #e7cf78;border-radius:5px;color:var(--amber-ink);background:var(--amber);font-size:.69rem;font-weight:700;white-space:nowrap;width:max-content;max-width:100%}.development:before{content:"";width:6px;height:6px;border-radius:50%;background:#b99410}.status{font-size:.69rem;font-weight:600;display:inline-block;padding:4px 8px;border-radius:5px;white-space:nowrap;background:#eef0ed;color:#58655b}.status-approved,.status-active,.status-settled,.status-published{background:#e8f1e4;color:#3f6c39}.status-submitted,.status-pending,.status-partially_settled{background:#fff1cb;color:#856313}.status-rejected,.status-disabled,.status-revoked,.status-cancelled,.status-reversed{background:#fae9e3;color:#9a4938}.status-draft{background:#eaf0f3;color:#486473}.integration-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.integration-grid .panel{display:flex;flex-direction:column;gap:13px}.integration-grid .panel h2{margin-bottom:0}.integration-grid .panel p{font-size:.85rem;margin:0;flex:1}.integration-grid .panel .button{align-self:flex-start}.fields-grid,.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:21px}.field{display:flex;flex-direction:column;gap:7px;min-width:0;font-size:.85rem;font-weight:500;color:#4a5c52}.field.full,.field-wide{grid-column:1/-1}.field>span:first-child{line-height:1.4}.field textarea{min-height:115px}.field .help,.field small{font-size:.72rem;font-weight:400;color:var(--muted)}input:not([type=checkbox]):not([type=radio]),textarea,select{width:100%;border:1px solid #ced8cf;border-radius:6px;background:#fff;color:var(--ink);padding:10px 12px;min-height:42px;max-width:100%}textarea{resize:vertical}input:focus,textarea:focus,select:focus{outline:2px solid #9db89e;border-color:#6f9974}input:disabled,textarea:disabled,select:disabled{background:#f2f3f0;color:#7b877d}input[type=checkbox]{accent-color:var(--green);width:16px;height:16px;flex:none;cursor:pointer}.check{display:flex;align-items:flex-start;gap:9px;font-size:.83rem;line-height:1.45}.check-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;border:1px solid var(--line);border-radius:7px;padding:17px}.check-grid legend{font-size:.8rem;font-weight:600;padding:0 7px;color:var(--muted)}.check input{margin-top:3px}.read-value{white-space:pre-wrap;overflow-wrap:anywhere;color:var(--ink);font-size:.92rem;font-weight:400;min-height:28px;border-bottom:1px solid #eef1eb;padding:2px 0 8px}.step-tabs,.module-tabs{display:flex;flex-wrap:wrap;gap:6px;padding-bottom:14px;border-bottom:1px solid var(--line)}.step-tabs .button{font-size:.78rem;white-space:normal;text-align:left}.step-tabs .selected,.module-tabs .selected{background:#dfeadd;color:var(--green)}.module-tabs a{padding:7px 11px;text-decoration:none;font-size:.8rem;border:1px solid var(--line);background:#fff;border-radius:5px}.save-state{font-size:.8rem;color:var(--muted);margin:0}.filters{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.filters input{flex:1;min-width:200px}.filters select{width:auto;min-width:175px}.empty-state{border:1px dashed #bccbbe;background:#fafbf8;border-radius:10px;padding:40px 30px;text-align:center}.empty-state h2{font-size:1.15rem}.empty-state p{font-size:.9rem}.file-list{display:flex;flex-direction:column;gap:9px;padding:10px 0}.file-list .row{justify-content:space-between}.file-list a{font-size:.82rem;word-break:break-all}.file-upload{font-size:.8rem}.dialog{border:1px solid var(--line);border-radius:12px;padding:26px;width:min(740px,calc(100vw - 30px));max-height:90vh;color:var(--ink);background:#fff;box-shadow:0 24px 90px #12231733}.dialog::backdrop{background:#14251e77}.dialog-header{justify-content:space-between;align-items:flex-start;margin-bottom:20px}.dialog-header h2{margin:5px 0 0;max-width:80%}details{border:1px solid var(--line);border-radius:7px;background:#fafbf9;padding:12px 15px}summary{font-size:.85rem;font-weight:600;cursor:pointer}details>p,details>pre{margin-top:15px}.code-block{font-family:ui-monospace,monospace;font-size:.76rem;background:#f0f3ee;padding:16px;white-space:pre-wrap;overflow-wrap:anywhere;overflow:auto}.auth-page{min-height:100vh;display:grid;grid-template-columns:1.05fr 1fr}.auth-intro{background:#e8ede4;padding:10vh 10%;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;border-right:1px solid var(--line)}.auth-intro .wordmark{margin-bottom:65px;font-size:2.3rem}.auth-intro h1{font-size:clamp(2.3rem,3.8vw,3.7rem);white-space:pre-line;max-width:580px;line-height:1.1;font-weight:550;margin-bottom:30px}.auth-intro>p:last-child{font-size:1.05rem;color:#607360;max-width:410px;line-height:1.75}.auth-box{display:flex;flex-direction:column;justify-content:center;gap:28px;padding:10vh 15%;background:#fafbf8}.auth-box h2{font-size:1.65rem}.auth-box form>p{font-size:.9rem}.auth-box>.button{align-self:flex-start}.auth-box .notice{font-size:.77rem}.activation-page{max-width:660px;margin:6vh auto;padding:20px}.activation-page .wordmark{margin-bottom:15px}.loading{padding:65px 20px;text-align:center;color:var(--muted)}#notifications{position:fixed;bottom:24px;right:24px;z-index:10000;max-width:min(480px,90vw);display:flex;flex-direction:column;gap:10px}#notifications .notice{box-shadow:0 8px 35px #1b302220}.mobile-toggle{display:none}.report{background:#fff;border:1px solid var(--line);padding:50px;border-radius:10px;max-width:1000px}.report-section{margin:35px 0}.report-section h2{font-size:1.15rem;padding-bottom:10px;border-bottom:1px solid var(--line)}.report-section p{font-size:.92rem;margin-bottom:10px}.public-report{max-width:1080px;padding:35px;margin:0 auto;display:flex;flex-direction:column;gap:25px}.form-error{grid-column:1/-1}.story-card{border:1px solid var(--line);border-radius:9px;background:white;padding:25px}.story-card p{white-space:pre-wrap}.feed{display:flex;flex-direction:column;gap:18px}.print-area .panel{margin:20px 0}.field fieldset{margin:0}.field label.check{font-weight:400}.field input[type=file]{padding:8px;font-size:.8rem}.field .row .button{font-size:.75rem}
@media(min-width:1600px){.page-content{padding-top:45px}.sidebar{padding-left:22px;padding-right:22px}}
@media(max-width:1150px){.app-layout{grid-template-columns:225px minmax(0,1fr)}.page-content{padding:28px 25px 60px}.topbar{padding:0 25px}.metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.page-head{flex-direction:column;gap:10px}.auth-box{padding:10vh 10%}.auth-intro{padding:10vh 9%}}
@media(max-width:780px){.app-layout{display:block}.sidebar{display:none;position:fixed;z-index:100;top:65px;bottom:0;height:calc(100vh - 65px);width:260px;box-shadow:12px 0 45px #203b2222}.nav-open .sidebar{display:flex}.mobile-toggle{display:inline-flex}.topbar{padding:10px 16px;height:auto;min-height:65px;gap:8px;position:sticky;top:0;z-index:101}.topbar>.row{gap:10px}.user-label{font-size:.68rem;max-width:140px}.topbar .text-link{font-size:.75rem}.save-indicator{display:none}.page-content{padding:24px 16px 60px}.panel{padding:20px 16px}.fields-grid,.form-grid{grid-template-columns:1fr}.integration-grid{grid-template-columns:1fr}.metrics{gap:10px}.metric{padding:15px}.metric-value{font-size:1.4rem}.check-grid{grid-template-columns:1fr}.auth-page{display:flex;flex-direction:column}.auth-intro{padding:40px 28px 35px;border-right:0;border-bottom:1px solid var(--line)}.auth-intro .wordmark{margin-bottom:25px}.auth-intro h1{font-size:2.3rem;margin-bottom:20px}.auth-intro>p:last-child{font-size:.9rem}.auth-box{padding:40px 28px 50px}.report{padding:25px 18px}.public-report{padding:20px 12px}.data-table td{padding:12px}.dialog{padding:20px}.dialog .fields-grid{grid-template-columns:1fr}.page-head h1{font-size:1.8rem}}
@media print{@page{size:A4;margin:18mm}body{background:white;font-size:11pt}.sidebar,.topbar,.page-head,.no-print,#notifications,.page-content>.stack>.row,.public-report>.row,.page-content>.stack>.panel:has(a),.button{display:none!important}.app-layout,.workspace,.page-content,.public-report{display:block!important;margin:0!important;padding:0!important;max-width:none!important}.report{border:0;padding:0;border-radius:0;max-width:none}.report h1{font-size:24pt}.report-section h2{break-after:avoid}.report-section{margin:22px 0}.report-section p{orphans:3;widows:3}.report table{font-size:9pt}.report tr{break-inside:avoid}.report .development{color:#665200;background:#fff6c5;border:1px solid #bba447}.report .notice{background:none;color:#333}.report-section h2,.data-table th{-webkit-print-color-adjust:exact;print-color-adjust:exact}}
.choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:10px 0}.label{font-size:.83rem}.attachment-list{display:flex;flex-direction:column;gap:9px}.attachment{display:flex;justify-content:space-between;align-items:center;gap:10px;border:1px solid var(--line);padding:8px 12px;border-radius:6px}.attachment a{overflow-wrap:anywhere;font-size:.8rem}.attachment-link{display:block;margin-bottom:7px}.boolean-field{align-items:flex-start}.long-text{white-space:pre-wrap;overflow-wrap:anywhere}.module-tabs .active{background:#dfeadd;color:var(--green);border-color:#baceb6}.panel>.stack{gap:16px}@media(max-width:780px){.choice-grid{grid-template-columns:1fr}}
