:root{font-family:Inter,"Segoe UI",system-ui,-apple-system,sans-serif;color:#182337;background:#f4f6f9;font-synthesis:none;font-size:14px}*{box-sizing:border-box}body{margin:0;min-height:100vh}button,input,select,textarea{font:inherit}input,select,textarea{color:#182337}a{color:#275ea7;text-decoration:none}a:hover{text-decoration:underline}h1{font-size:29px;font-weight:700;line-height:1.2;letter-spacing:-.5px;margin:6px 0 8px}h2{font-size:17px;margin:0;font-weight:700}h3{font-size:14px}.topbar{height:72px;background:#fff;display:flex;align-items:center;gap:32px;border-bottom:1px solid #e2e7ed;padding:0 max(24px,calc((100vw - 1460px)/2));position:sticky;top:0;z-index:5}.brand{display:flex;align-items:center;gap:10px;min-width:246px;white-space:nowrap}.brand-mark{display:grid;place-items:center;width:39px;height:39px;border-radius:11px;color:white;font-size:23px;font-weight:800;background:#173d78}.brand strong{display:block;font-size:19px;letter-spacing:.3px}.brand-accent{color:#3679bf}.brand small{display:block;color:#7c8899;font-size:10px;margin-top:2px}.topbar nav{display:flex;align-items:center;gap:25px;flex:1}.topbar nav a{font-weight:600;color:#556578}.topbar nav a:hover{color:#173d78;text-decoration:none}.userbox{display:flex;align-items:center;gap:10px;color:#37465a}.user-name{font-weight:600;white-space:nowrap}.avatar{width:36px;height:36px;border-radius:50%;background:#e8effc;display:grid;place-items:center;color:#295da1;font-weight:700;flex-shrink:0}.avatar.small{height:30px;width:30px}.textbtn{background:none;border:0;color:#61718b;cursor:pointer;padding:6px}.topbar-note{margin-left:auto;color:#71809a}.main{max-width:1460px;margin:0 auto;padding:33px 24px 55px;min-height:calc(100vh - 128px)}.footer{background:#fff;border-top:1px solid #e3e8ef;padding:18px 28px;display:flex;justify-content:space-between;color:#94a1af;font-size:12px}.heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:26px}.eyebrow{font-weight:800;letter-spacing:1.3px;font-size:10px;color:#6b87ab;margin:0}.muted{color:#768497;margin:5px 0 0}.heading .muted{font-size:13px}.panel{background:white;border-radius:13px;border:1px solid #e6eaf0;box-shadow:0 2px 9px rgba(26,41,64,.025);padding:22px;margin-bottom:21px}.panel-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.subcount{font-size:12px;color:#93a0ad}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:22px}.stat{padding:23px 22px;border-radius:12px;background:white;border:1px solid #e3e9f0;min-height:150px}.stat-icon{color:#356ca9;font-size:24px;font-weight:700;margin-bottom:8px}.stat p{margin:0;color:#5d6b7c;font-size:13px}.stat strong{font-size:36px;display:block;margin:5px 0 4px;line-height:1.1;font-weight:700}.stat small{color:#96a2b1;font-size:11px}.danger-text{color:#c44a50!important}.success-text{color:#26885e!important}.split{display:grid;grid-template-columns:1.2fr .8fr;gap:21px}.document-layout{grid-template-columns:minmax(0,1.4fr) minmax(350px,.75fr)}.table-scroll{overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:left;white-space:normal}th{background:#fafbfd;color:#8492a6;font-size:11px;text-transform:uppercase;letter-spacing:.4px;font-weight:700;padding:12px 11px;border-bottom:1px solid #e9edf2}td{padding:13px 11px;border-bottom:1px solid #f0f2f5;color:#465365;vertical-align:middle;font-size:13px}tr:last-child td{border-bottom:0}tr[hidden]{display:none}.strong-link{font-weight:700}.cell-sub{color:#96a1ae;font-size:11px;margin-top:4px}.badge{display:inline-flex;padding:5px 10px;border-radius:20px;font-size:11px;font-weight:700;white-space:nowrap}.badge.success{color:#237c55;background:#e3f7ee}.badge.warning{color:#af7c18;background:#fff4d9}.badge.danger{color:#b94c50;background:#feecee}.badge.info{color:#256aa5;background:#e6f0fb}.badge.muted{background:#eef0f3;color:#647489}.empty{padding:42px 14px;text-align:center;color:#8997a7}.system-lines>div{display:flex;justify-content:space-between;border-bottom:1px solid #edf0f3;padding:16px 0;gap:14px}.system-lines>div:last-child{border-bottom:0}.system-lines span{color:#6f7c8d}.system-lines strong{font-size:12px;text-align:right}.dot{width:8px;height:8px;display:inline-block;border-radius:50%;margin-right:8px}.dot.green{background:#2ab774}.dot.amber{background:#e7a83c}.notice{padding:13px 15px;margin:16px 0;border-radius:8px;font-size:12px;line-height:1.5}.notice.subtle{background:#f3f6fa;color:#7d8a9a}.notice.warning{color:#88601a;background:#fff6df}.button,.primary,.smallbtn{display:inline-flex;align-items:center;justify-content:center;gap:6px;border-radius:8px;padding:11px 18px;font-weight:700;border:1px solid transparent;cursor:pointer;font-size:13px;text-decoration:none}.button:hover,.primary:hover{text-decoration:none}.button.light{color:#2c5f9b;background:white;border:1px solid #cbd6e4}.button.light:hover{background:#f0f5ff}.primary{background:#265d9e;color:#fff}.primary:hover{background:#1c4c86}.danger-outline{border-color:#eac3c7;color:#c4424b;background:#fff}.danger-outline:hover{background:#fff2f2}.full{width:100%}.inline{display:inline-block}.form-panel{margin-bottom:22px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:end}.form-stack{display:flex;flex-direction:column;gap:15px}.form-grid label,.form-stack label{font-size:12px;color:#58697d;font-weight:700;display:flex;flex-direction:column;gap:6px}.form-stack label small{font-weight:400;font-size:11px;color:#8495a7}.form-submit{display:flex;align-items:end}.form-grid input,.form-stack input,.form-grid select,.form-stack select,textarea,.filter-input{border:1px solid #d7e0ea;border-radius:8px;background:white;padding:10px 12px;min-height:40px;outline:none;width:100%;font-size:13px}.form-grid input:focus,.form-stack input:focus,select:focus,textarea:focus,.filter-input:focus{border-color:#4d80bd;box-shadow:0 0 0 3px #e4effe}textarea{resize:vertical}.form-grid select{height:41px}.filter-row{display:flex;justify-content:flex-end;margin:-6px 0 14px}.filter-input{max-width:380px}.breadcrumbs{display:flex;gap:9px;align-items:center;font-size:12px;color:#9aa7b6;margin-bottom:19px}.breadcrumbs a{color:#6582a5}.status-row{display:flex;gap:14px;align-items:center;flex-wrap:wrap;margin-top:15px}.small-detail{font-size:12px;color:#7d8b9a}.small-detail strong{color:#3b4b5b}.people-grid{max-height:200px;overflow:auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border:1px solid #e3e9f0;border-radius:9px;padding:8px;gap:3px}.people-grid.compact{max-height:160px;grid-template-columns:1fr}.person-checkbox{display:flex!important;flex-direction:row!important;gap:7px!important;align-items:center;padding:7px;border-radius:5px;font-weight:500!important;font-size:12px!important}.person-checkbox:hover{background:#f4f7fb}.person-checkbox input{width:auto!important;min-height:auto!important}.person-checkbox small{margin-left:auto;color:#95a1af}.details-panel summary{display:flex;align-items:center;justify-content:space-between;cursor:pointer;list-style:none;gap:14px}.details-panel summary::-webkit-details-marker{display:none}.details-panel[open] summary{padding-bottom:20px}.chip-list{display:flex;flex-wrap:wrap;gap:9px}.chip{font-size:12px;border-radius:22px;padding:8px 12px;background:#f1f5fa;color:#53677c}.member-form{margin-top:20px;padding-top:16px;border-top:1px solid #f0f2f5}.pdf-frame{width:100%;height:610px;border:1px solid #e9edf2;border-radius:8px;background:#f1f2f4}.file-bottom{display:flex;justify-content:space-between;gap:10px;color:#9eabb9;padding-top:13px;font-size:11px}.file-bottom code{color:#56728e}.file-placeholder{text-align:center;padding:85px 20px}.file-icon{font-size:50px;color:#aebdcd}.signer-list{display:flex;flex-direction:column;gap:2px}.signer-row{display:flex;align-items:center;gap:9px;padding:14px 0;border-bottom:1px solid #edf0f4}.signer-row .grow{flex:1}.signer-row strong{font-size:12px}.signer-row .badge{font-size:10px}.approval-actions{padding-top:16px}.approval-actions h3{margin:0 0 13px}.approval-actions form{margin-bottom:11px}.version{border-bottom:1px solid #f0f3f6;display:flex;justify-content:space-between;align-items:center;gap:10px;padding:12px 0}.version strong{font-size:12px}.version a{font-size:12px}.version-list .version:last-child{border-bottom:0}.remark-list{display:flex;flex-direction:column;gap:12px;margin-bottom:16px}.remark{border:1px solid #e6ebf0;border-radius:8px;padding:16px}.remark-top{display:flex;justify-content:space-between;align-items:center;gap:8px}.remark p{font-size:13px;white-space:pre-wrap;line-height:1.6}.remark-meta{color:#93a2b2;font-size:11px;margin-bottom:8px}.smallbtn{font-size:11px;color:#4671a1;background:white;border:1px solid #d6e0eb;padding:6px 10px;margin-right:6px}.remarks-create{border-top:1px solid #eaf0f5;padding-top:15px}.remarks-create summary{color:#346aaf;cursor:pointer;font-weight:700;font-size:12px;margin-bottom:13px}.remarks-create form{padding:10px 0}.login-area{min-height:calc(100vh - 200px);display:grid;place-items:center}.login-card{width:min(100%,440px);background:white;border:1px solid #e4e9ef;padding:38px;border-radius:15px;box-shadow:0 14px 45px #1b416b0b}.login-symbol{background:#1e4f91;color:white;font-size:32px;font-weight:800;display:grid;place-items:center;border-radius:14px;width:60px;height:60px;margin-bottom:24px}.login-card .form-stack{margin:25px 0}.micro{color:#9aa6b5;line-height:1.6;font-size:11px}.flash{padding:14px 18px;margin-bottom:20px;border-radius:9px;color:#197448;background:#e4f9ed}.flash.error{color:#ad4047;background:#fff1f1}.error-page{display:grid;place-items:center;min-height:100vh}.error-page .login-card{width:min(100%,520px)}@media(max-width:1100px){.stats{grid-template-columns:repeat(2,1fr)}.split,.document-layout{grid-template-columns:1fr}.topbar{gap:18px}.brand{min-width:auto}.user-name{display:none}}@media(max-width:650px){.main{padding:24px 12px}.topbar{padding:0 12px;gap:10px;height:64px}.brand strong{font-size:16px}.brand small{display:none}.topbar nav{gap:10px}.topbar nav a{font-size:11px}.brand-mark{width:29px;height:29px;font-size:19px}.topbar .avatar{display:none}.stats{gap:10px}.stat{padding:16px;min-height:140px}.stat strong{font-size:28px}.panel{padding:14px}.form-grid,.people-grid{grid-template-columns:1fr}.heading{align-items:flex-start;flex-direction:column}.footer{flex-direction:column;gap:7px}.pdf-frame{height:420px}}
