*{box-sizing:border-box}body{margin:0;background:#f3f5f8;color:#182842;font-family:'DM Sans',Arial,sans-serif;font-size:16px}button,input,select,textarea{font:inherit}a{color:inherit}button,.button{cursor:pointer;border:0;border-radius:7px;background:#173b61;color:white;padding:12px 18px;text-decoration:none;font-weight:600}button:disabled{opacity:.5;cursor:wait}.welcome{min-height:100vh;padding:40px 6vw;background:linear-gradient(110deg,#0b2039 0%,#173b61 72%,#234c6d 100%);color:white}.brand{display:flex;gap:15px;align-items:center;font-size:32px;color:#d5b671}.brand span{font-size:15px;letter-spacing:.16em;font-weight:700;color:inherit}.welcome-card{max-width:650px;padding:12vh 0}.eyebrow{font-size:13px;letter-spacing:.17em;color:#b39252;font-weight:700}h1{font-family:'Libre Baskerville',Georgia,serif;font-weight:400;font-size:52px;line-height:1.25;margin:22px 0}.welcome p{font-size:18px;color:#c6d3e0;line-height:1.7;max-width:540px}.welcome .button{display:inline-block;background:#d5b671;color:#122c48;margin-top:20px}.welcome small{display:block;margin-top:25px;color:#b6c7d9;font-size:14px}.welcome footer{color:#b6c7d9;font-size:14px}
.shell{display:flex;min-height:100vh}.shell aside{width:245px;background:#102a46;color:#e8eef5;padding:32px 22px;position:fixed;height:100vh;display:flex;flex-direction:column}.shell .brand{font-size:38px;margin-bottom:48px}.shell .brand span{font-size:14px;line-height:1.7;color:#fff}.side-label{font-size:12px;letter-spacing:.14em;color:#93aac2;margin-bottom:16px}.nav{background:none;text-align:left;font-weight:500;margin:4px 0;padding:14px;color:#bacbdb}.nav.active{background:#244665;color:white;border-left:3px solid #d5b671;border-radius:4px}.side-bottom{margin-top:auto;font-size:14px;color:#bacbdb}.side-bottom p{overflow-wrap:anywhere;line-height:1.6}.side-bottom a{font-size:14px}.badge{font-size:12px;background:#294967;padding:6px 10px;border-radius:5px}.workspace{margin-left:245px;padding:0 40px;width:calc(100% - 245px);max-width:1800px}.workspace header{height:80px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #dce2e9;font-size:14px;color:#64758a}.workspace header i{margin:0 15px;color:#a6b2c1}.private{border:1px solid #cbd5df;border-radius:20px;padding:6px 12px;font-size:12px}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:38px 0 28px}.workspace h1{font-size:34px;margin:10px 0 12px}.page-heading p{color:#63748a;margin:0;line-height:1.6}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-bottom:28px}.stats>div{background:white;padding:22px 26px;border:1px solid #dce2e9;border-radius:9px;border-top:3px solid #c7aa69}.stats span{font-size:14px;color:#66788e;display:block}.stats strong{display:block;font-family:Georgia,serif;font-size:36px;font-weight:400;margin-top:12px}.search{display:flex;gap:12px;align-items:center;background:#fff;padding:8px 10px 8px 18px;border:1px solid #d5dfe8;border-radius:8px;margin-bottom:24px}.search>span{font-size:27px;color:#60758b}.search input{border:0;flex:1;min-width:0;background:none}.panel{background:white;border:1px solid #dce2e9;border-radius:9px;overflow:auto}.panel-heading{display:flex;justify-content:space-between;align-items:center;padding:20px 24px;border-bottom:1px solid #e4e9ef}.panel-heading span,.hint{font-size:13px;color:#718097}.workspace h2{font-size:18px;margin:0;font-weight:600}table{width:100%;border-collapse:collapse;text-align:left}th{font-size:12px;letter-spacing:.07em;text-transform:uppercase;color:#64778d;background:#fafbfd;font-weight:600}th,td{padding:18px 24px;border-bottom:1px solid #e8edf2}td{font-size:14px}.client-link,.text-button{background:none;color:#234c73;padding:4px 0;font-size:14px;text-align:left}.client-link{font-size:16px}.pill{display:inline-block;background:#eef3f5;color:#536c79;border-radius:20px;padding:5px 10px;font-size:12px}.pill.pending{background:#fff1d6;color:#966517}.empty{text-align:center;padding:65px 25px}.empty p{color:#718095;font-size:15px;line-height:1.7}.empty-icon{font-size:44px;color:#b39965;margin-bottom:20px}.empty button{margin-top:15px}.workspace-footer{display:flex;justify-content:space-between;margin:35px 0;font-size:12px;color:#8290a2}.notice{background:#e8eef4;padding:18px 22px;border-radius:8px;color:#506882;font-size:14px;line-height:1.7;margin-bottom:24px;white-space:pre-wrap}.back{margin-top:22px}.back+.page-heading{margin-top:20px}.client-grid{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:24px}.tabs{display:flex;gap:5px;flex-wrap:wrap;margin-bottom:20px}.tabs button{background:none;color:#63768c;font-size:14px;padding:10px 16px}.tabs .selected{background:#173b61;color:white}.record{background:white;border:1px solid #dce2e9;border-radius:9px;padding:22px;margin-bottom:16px}.record-top{display:flex;gap:12px;align-items:center;font-size:13px;color:#6c7e92;margin-bottom:18px}.record-top .pill{margin-left:auto}.direction{font-weight:700;color:#486277}.direction.received{color:#1c7863}.direction.provided{color:#326cb0}.record h2{font-size:19px;line-height:1.5}.description{white-space:pre-wrap;font-size:15px;color:#5b6f84;line-height:1.7}.amount{display:block;margin-top:14px}.record-bottom{display:flex;justify-content:space-between;gap:10px;align-items:center;border-top:1px solid #edf0f4;margin-top:20px;padding-top:14px;font-size:12px;color:#74869a}.record-bottom>div{display:flex;align-items:center;gap:14px}.upload{font-size:14px;color:#234c73;cursor:pointer;position:relative}.upload input{position:absolute;inset:0;opacity:0;width:100%;cursor:pointer}.attachments a{display:block;margin-top:12px;font-size:14px;color:#315d85}.side-panel{padding:22px;margin-bottom:20px}.side-panel h2{margin-bottom:20px}.side-panel small{display:block;font-size:12px;color:#7a8b9e;line-height:1.7}.side-panel p{font-size:14px;color:#61758b}.assignment{display:flex;justify-content:space-between;padding:13px 0;border-bottom:1px solid #edf0f4;font-size:14px;gap:8px}.assignment small{overflow-wrap:anywhere}.side-panel select{margin:14px 0;width:100%;font-size:14px}.audit{border-left:2px solid #d7be87;padding:0 0 18px 14px;margin-top:15px}.audit p{margin:0 0 5px;overflow-wrap:anywhere}.error{background:#fff0ed;border:1px solid #edc9c1;padding:16px;color:#9b3c2b;margin:16px 0;line-height:1.5}.error button{margin-left:16px;font-size:14px}.overlay{position:fixed;inset:0;background:#0b2039b8;display:flex;align-items:center;justify-content:center;padding:20px;z-index:5}.dialog{background:white;border-radius:12px;padding:28px;width:560px;max-height:94vh;overflow:auto;box-shadow:0 25px 80px #071a3655}.dialog-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}.dialog label{display:flex;flex-direction:column;gap:8px;font-size:14px;color:#51647b;margin:14px 0}input,select,textarea{border:1px solid #cbd6e1;border-radius:6px;padding:11px;color:#182842;max-width:100%;background:white}input:focus,select:focus,textarea:focus{outline:2px solid #b79b5f;outline-offset:2px}textarea{min-height:100px;resize:vertical}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}.save{width:100%;margin-top:15px}.loading{margin:30px}.record-list:empty{display:none}@media(max-width:1050px){.client-grid{grid-template-columns:1fr}.workspace{padding:0 24px}.shell aside{width:210px}.workspace{margin-left:210px;width:calc(100% - 210px)}}@media(max-width:700px){.shell{display:block}.shell aside{width:100%;position:static;height:auto;padding:18px;display:block}.shell .brand{margin:0 0 14px;font-size:28px}.shell .brand span{font-size:12px}.side-label,.side-bottom{display:none}.nav{display:inline-block;margin:0 8px 0 0;font-size:14px}.workspace{margin:0;width:100%;padding:0 16px}.workspace header{height:60px;font-size:12px}.private{display:none}.page-heading{align-items:flex-start;margin:24px 0;flex-direction:column}.workspace h1{font-size:28px}.stats{gap:8px}.stats>div{padding:16px 12px}.stats span{font-size:12px}.stats strong{font-size:29px}.search{gap:5px}.search input{font-size:14px}.search button{padding:10px}.record-bottom{align-items:flex-start;flex-direction:column}.workspace-footer span{display:none}.welcome h1{font-size:37px}.dialog{padding:20px}.record-top{flex-wrap:wrap}.form-row{gap:10px}th,td{padding:15px}}
.login-letterhead{display:block;width:min(760px,100%);height:auto;border-radius:5px}.welcome-card{padding:8vh 0}.brand-image{background:white;border-radius:4px;width:100%;margin-bottom:22px}.feature-toolbar{display:flex;flex-wrap:wrap;gap:9px;margin-bottom:20px}.feature-toolbar button{font-size:14px;padding:10px 14px}.summary-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-bottom:24px}.summary-grid .panel{padding:24px}.summary-grid p{font-size:14px;line-height:1.7;color:#5c6e83}.summary-grid dl{display:grid;grid-template-columns:130px 1fr;gap:8px;font-size:14px}.summary-grid dt{color:#718095}.summary-grid dd{margin:0;overflow-wrap:anywhere}.task{border-bottom:1px solid #e3e8ee;padding:20px}.task p{white-space:pre-wrap;color:#63758a;line-height:1.6}.task .task-meta{display:flex;gap:15px;flex-wrap:wrap;font-size:13px;color:#68798b}.task select{margin-top:14px}.notification{background:#f9edd5;color:#7e5d22;padding:14px 20px;border:1px solid #e4cc9d;border-radius:7px;margin:20px 0}.file-item{display:flex;justify-content:space-between;gap:20px;padding:15px 0;border-bottom:1px solid #e7ebef;font-size:14px}.file-item a{color:#2e5a87}.document-preview{background:#f5f7fa;padding:18px;border-radius:7px;font-size:14px;line-height:1.7;white-space:pre-wrap;max-height:350px;overflow:auto}.dialog.wide{width:820px}.workspace-select{margin-left:12px;font-size:14px}.blocked{background:#ffe6e4;border:1px solid #c8463e;padding:20px;font-size:20px;font-weight:700;color:#a72a22}.deal-card{border-bottom:1px solid #e2e7ec;padding:17px 0}.deal-card p{font-size:14px;color:#6a7e90}.deal-card .text-button{margin-right:14px}@media(max-width:700px){.summary-grid{grid-template-columns:1fr}.summary-grid dl{grid-template-columns:110px 1fr}}
