:root{--ink:#292f4c;--muted:#85899d;--blue:#6161ff;--line:#e7e9f1;--bg:#f6f7fb}*{box-sizing:border-box}body{margin:0;color:var(--ink);font-family:Inter,'Segoe UI',Arial,sans-serif;font-size:14px;background:var(--bg)}[hidden]{display:none!important}button,input,select,textarea{font:inherit}button{cursor:pointer;border:0;border-radius:7px;padding:11px 17px;background:var(--blue);color:white;font-weight:600}button:hover{filter:brightness(.96)}button:disabled{opacity:.5;cursor:wait}input,select,textarea{border:1px solid #dce0ea;border-radius:6px;padding:10px 12px;color:var(--ink);background:white}input:focus,textarea:focus{outline:2px solid #c6c6ff}label{display:flex;flex-direction:column;gap:7px;font-size:13px}aside{width:250px;background:#fff;border-right:1px solid var(--line);height:100vh;position:fixed;display:flex;flex-direction:column;padding:28px 18px}.brand{font-size:25px;letter-spacing:-1px;color:#41415c}.brand:first-letter{color:var(--blue)}.version{font-size:10px;margin-left:8px;color:#999}.workspace{margin:35px 0 28px;display:flex;align-items:center;gap:14px;font-weight:600;background:#f7f7fd;border:1px solid var(--line);padding:13px;border-radius:9px}.workspace small{font-size:11px;color:var(--muted);font-weight:400}.nav-caption,.eyebrow{font-size:10px;letter-spacing:1.7px;font-weight:700;color:var(--muted)}nav{display:grid;gap:5px}nav button{color:#676c82;background:none;text-align:left;font-size:13px;padding:13px 10px;font-weight:500}nav button.active{background:#efefff;color:#5656df}nav span{font-size:10px;float:right;opacity:.6}.local-card{margin-top:auto;border:1px solid var(--line);padding:15px;border-radius:9px;font-size:12px}.local-card i{display:inline-block;background:#00c875;width:7px;height:7px;border-radius:50%;margin-right:7px}.local-card p{color:var(--muted);line-height:1.6;margin-bottom:0}.profile{display:flex;justify-content:space-between;align-items:center;margin-top:20px;font-size:12px}.plain{background:transparent;color:var(--muted);padding:5px}main{margin-left:250px}header{height:73px;padding:0 38px;background:white;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;font-size:12px;color:var(--muted)}header b{color:var(--ink);font-weight:500}.tag{font-size:9px;letter-spacing:1px;border:1px solid #dfe7e3;background:#f2faf6;padding:7px 10px;border-radius:20px;color:#348463}.content{padding:34px 38px}.heading{display:flex;align-items:center;justify-content:space-between}h1{font-size:30px;letter-spacing:-1px;margin:8px 0}p{line-height:1.6}.heading p:last-child{color:var(--muted);margin-top:7px}.secondary{background:white;color:#656a80;border:1px solid #dfe2ed;margin-left:8px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:23px 0 30px}.stat{background:white;border:1px solid var(--line);border-radius:10px;padding:19px 22px}.stat small{color:var(--muted)}.stat strong{display:block;font-size:29px;margin:11px 0 0;font-weight:600}.stat:nth-child(2){border-top:3px solid #fdab3d}.stat:nth-child(3){border-top:3px solid #00c875}.stat:nth-child(4){border-top:3px solid #a25ddc}.toolbar{display:flex;gap:12px;align-items:center;margin:20px 0}.toolbar>input{margin-left:auto;width:300px}.board-group{background:white;border:1px solid var(--line);border-radius:10px;overflow:hidden}.group-title{padding:18px 21px;font-size:15px;font-weight:600;color:#6861d8;border-bottom:1px solid var(--line)}.group-title span{font-size:11px;color:var(--muted);margin-left:10px}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;white-space:nowrap;text-align:left;font-size:12px}th{font-weight:500;background:#fcfcfe;color:var(--muted);height:45px}th,td{padding:13px 15px;border-bottom:1px solid #eff0f6}td:first-child{border-left:4px solid #a9a2f6}tbody tr:hover{background:#fafaff}td strong{font-size:13px}td small{display:block;color:var(--muted);margin-top:5px}.badge{display:inline-block;min-width:95px;text-align:center;padding:8px 10px;border-radius:4px;font-size:11px;background:#f1f1f5;color:#85899d}.review{background:#fff0d9;color:#ab751d}.open{background:#eaeaff;color:#6060d2}.ready{background:#daf6eb;color:#1b9872}.closed{background:#edf0f5;color:#8a8e9b}.link{background:none;color:#6661db;padding:5px;font-size:12px}.empty{text-align:center;padding:65px 20px;color:var(--muted)}.empty h2{color:var(--ink);font-size:21px}.empty .icon{font-size:34px;color:#aaa4f5}.muted{color:var(--muted);font-size:12px}footer{display:flex;justify-content:space-between;margin:22px 0;font-size:10px;color:var(--muted)}dialog{border:1px solid var(--line);border-radius:14px;padding:32px;width:660px;max-width:94vw;color:var(--ink);max-height:90vh}dialog::backdrop{background:#20244365;backdrop-filter:blur(3px)}.close{float:right;font-size:25px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.form-grid .wide{grid-column:1/-1}form button{margin-top:20px}textarea{min-height:85px}pre{white-space:pre-wrap;word-break:break-word;background:#f8f9fc;padding:18px;max-height:350px;overflow:auto;font-family:inherit;line-height:1.6}#toast{position:fixed;bottom:25px;right:25px;background:#292f4c;color:white;padding:16px 25px;border-radius:9px;max-width:500px;z-index:10}.settings-form{background:white;padding:25px;border-radius:10px;border:1px solid var(--line);max-width:900px}.settings-form h3{border-bottom:1px solid var(--line);padding-bottom:14px}#login{min-height:100vh;display:grid;place-items:center;background:radial-gradient(ellipse at 25% 20%,#e8e5ff,transparent 55%),#f8f9fd}.login-card{width:440px;max-width:94vw;padding:40px;background:white;border:1px solid var(--line);border-radius:18px;box-shadow:0 25px 90px #39326010}.login-card .eyebrow{margin-top:35px}.login-card form{display:grid;gap:15px;margin-top:25px}.login-card h1{font-size:34px}@media(max-width:1050px){aside{width:210px}main{margin-left:210px}.content{padding:25px 20px}.toolbar{flex-wrap:wrap}.toolbar>input{width:230px}.stats{gap:8px}.stat{padding:15px}}@media(max-width:720px){aside{position:static;width:100%;height:auto;padding:15px}.workspace,.nav-caption,.local-card,.profile{display:none}nav{display:flex;overflow:auto;margin-top:15px}nav button{white-space:nowrap}main{margin-left:0}header{height:45px;padding:0 20px}.stats{grid-template-columns:1fr 1fr}.heading{align-items:start}.form-grid{grid-template-columns:1fr}.toolbar>input{margin:0;flex:1}.brand{font-size:22px}}

.error-text{color:#b64b55;font-size:12px;white-space:normal;max-width:650px} .heading>div:last-child>button{margin-bottom:6px}

.description-cell{min-width:180px;max-width:320px;white-space:normal;line-height:1.5}

.wide-modal{width:1200px;max-width:96vw}.excel-preview{max-height:45vh;overflow:auto}.excel-preview input{min-width:110px;width:100%}.excel-preview input[type=checkbox]{min-width:18px}.excel-preview input[type=number]{min-width:65px;width:85px}.excel-preview textarea{min-width:150px;min-height:45px}.excel-preview th{position:sticky;top:0}.toolbar>div{display:flex;flex-wrap:wrap;gap:6px}.toolbar .secondary{margin-left:0}
.cash-summary{display:grid;grid-template-columns:repeat(3,minmax(160px,1fr));gap:14px;margin:20px 0}.cash-summary strong{font-size:26px}.cash-actions{display:flex;gap:12px;margin:20px 0}.cash-note{font-size:13px;color:#676879;line-height:1.6;padding:12px 4px}.cash-columns{display:grid;grid-template-columns:1fr;gap:16px}.cash-flags{background:#fff6e5;border:1px solid #f5cb75;border-radius:12px;padding:18px;margin:20px 0}.cash-flags p{line-height:1.6}.cash-void{opacity:.5;text-decoration:line-through}#board .board-group{margin-bottom:20px}@media(max-width:900px){.cash-summary{grid-template-columns:1fr 1fr}.cash-actions{flex-wrap:wrap}}
.section-tabs{display:flex;gap:8px;border-bottom:1px solid #dfe1e8;margin:8px 0 22px;padding-bottom:10px}.section-tabs .active{background:#e7edff;color:#315bd6;border-color:#315bd6}.selection-bar{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:12px 0}.selection-bar span{color:#676879}.danger{color:#b52240!important;border:1px solid #dc8b9d!important;background:#fff4f6!important}.selected-row{background:#edf2ff}.part-select{display:flex;align-items:center;gap:10px;margin:0;font-weight:normal}input[type=checkbox]{width:17px;height:17px;min-width:17px;accent-color:#4263eb;vertical-align:middle}.delete-preview{max-height:220px;overflow:auto;margin:16px 0}

.part-select{flex-direction:row}input[type=checkbox]{padding:0}

.imap-result{white-space:pre-wrap;overflow-wrap:anywhere;padding:16px;background:#f0f3fa;border:1px solid #d8deec;border-radius:8px}

.document-cell{min-width:230px;max-width:360px;white-space:normal}.file-chip{display:block;padding:5px 8px;margin:4px 0;border:1px solid #dedff0;border-radius:5px;overflow-wrap:anywhere;background:#f7f7ff;color:#5146ce}
.pn-intro{display:flex;align-items:start;justify-content:space-between;gap:20px}.pn-intro p{max-width:740px;color:var(--muted);font-size:13px}.pn-intro h2{margin:8px 0}.pn-intro .secondary{margin:0}.pn-filters{display:flex;flex-wrap:wrap;align-items:end;gap:12px;margin:20px 0}.pn-search{flex:1;min-width:220px}.pn-check{display:flex;flex-direction:row;align-items:center;padding:10px 0}.pn-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:20px 0}.pn-summary>div{display:flex;flex-direction:column;gap:8px;padding:18px;background:white;border:1px solid var(--line);border-radius:9px}.pn-summary strong{font-size:25px}.pn-summary span{color:var(--muted);font-size:12px}.pn-dates,.pn-compare-actions{display:flex;align-items:center;gap:20px;flex-wrap:wrap;margin:16px 0}.pn-terms{min-width:220px;max-width:360px;white-space:normal;line-height:1.6}.pn-terms summary{color:#5656ce;cursor:pointer}.pn-terms div{margin:8px 0}.pn-range{white-space:normal;display:grid;gap:3px;padding:7px 0;font-size:11px}.pn-range span{color:var(--muted)}.pn-range strong{font-size:13px}.pn-ranges{min-width:230px}.pn-part{font-size:14px;font-weight:700}.pn-archived{color:#9a771f}.pn-wide{max-height:65vh}.pn-wide thead th{position:sticky;top:0;z-index:1}.pn-comparison td{white-space:normal;min-width:180px;max-width:310px;vertical-align:top;overflow-wrap:anywhere;line-height:1.5}.pn-comparison th{white-space:normal;min-width:160px}.pn-comparison th small{display:block;padding-top:5px}.pn-version{padding:15px 0;border-bottom:1px solid var(--line)}.pn-version p{white-space:pre-wrap;overflow-wrap:anywhere}.pn-edit-extra{padding:10px 0}.pn-edit-extra summary{cursor:pointer;color:#5656ce;margin-bottom:16px}@media(max-width:800px){.pn-summary{grid-template-columns:1fr 1fr}.pn-intro{flex-wrap:wrap}}
