:root{font:16px system-ui,sans-serif;color:#231b26;background:#faf7f9;--ink:#221926;--pink:#9e225b;--muted:#685c6b;--line:#eadfe7}*{box-sizing:border-box}body{margin:0;display:grid;grid-template-columns:235px 1fr;min-height:100vh}aside{background:#211824;color:#fff;padding:28px 18px;display:flex;flex-direction:column;gap:32px}.brand{display:flex;align-items:center;gap:12px;font-weight:750;font-size:19px}.brand b{display:grid;place-items:center;border-radius:12px;background:#f3a6ca;color:#341429;width:43px;height:43px}.brand small{display:block;letter-spacing:.13em;font-size:9px;color:#e7c5db;margin-top:3px}nav{display:grid;gap:5px}nav button{text-align:left;background:transparent;color:#ecdde8;border:0}nav button:hover,nav button[aria-current]{background:#4a2d44;color:white}aside footer{margin-top:auto;font-size:.8rem;color:#e7c5db}aside footer a{color:inherit}main{min-width:0;padding:32px clamp(18px,4vw,60px) 48px}header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:18px 0 20px}h1,h2,h3,p{margin:0}h1{font-size:clamp(1.8rem,4vw,2.75rem);letter-spacing:-.045em}h2{font-size:1.2rem}h3{font-size:1rem}.subtitle,.muted{color:var(--muted);line-height:1.55}.eyebrow{color:var(--pink);font-size:.73rem;font-weight:800;letter-spacing:.15em;text-transform:uppercase;margin-bottom:6px}.banner{border-radius:10px;padding:10px 14px;background:#f8e3ee;color:#6e2146;font-size:.86rem}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,190px),1fr));gap:14px;margin:16px 0}.card,.panel{border:1px solid var(--line);border-radius:15px;padding:17px;background:white}.card strong{display:block;font-size:1.8rem;margin-top:6px}.panel{margin:14px 0}.panel-top,.row,.actions,.filters{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.panel-top,.row{justify-content:space-between}.row{padding:12px 0;border-bottom:1px solid var(--line)}.row:last-child{border-bottom:0}.row>div:first-child{min-width:0;flex:1;overflow-wrap:anywhere}.details{white-space:pre-wrap;font-size:.88rem;margin-top:4px}.tag{display:inline-block;background:#faeaf2;color:#79234d;border-radius:99px;padding:4px 9px;font-size:.74rem;font-weight:700}button,.button{cursor:pointer;border:1px solid var(--line);border-radius:9px;padding:9px 12px;background:#fff;color:var(--ink);font:inherit;font-size:.88rem;text-decoration:none;white-space:nowrap}button:hover,.button:hover{border-color:var(--pink)}.primary{background:var(--pink);color:white;border-color:var(--pink)}input,select,textarea{width:100%;font:inherit;border:1px solid #cdbdc8;border-radius:8px;background:white;color:var(--ink);padding:9px 10px}input[type=checkbox]{width:auto}label{display:grid;gap:5px;font-size:.88rem;font-weight:650;align-content:start}textarea{min-height:95px;resize:vertical}.filters>*{flex:1 1 145px}.empty{padding:16px 0;color:var(--muted)}dialog{width:min(640px,calc(100vw - 24px));border:1px solid var(--line);border-radius:16px;padding:20px;max-height:90dvh;color:var(--ink)}dialog::backdrop{background:#21182499}.form-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:16px 0}.wide{grid-column:1/-1}#message:not(:empty),#form-error:not(:empty){margin:8px 0;color:#85204c;line-height:1.4}.print{max-width:780px}a{color:var(--pink)}:focus-visible{outline:3px solid #bd407b;outline-offset:3px}@media(max-width:760px){body{display:block}aside{padding:12px;gap:10px}nav{display:flex;flex-wrap:wrap}aside footer{margin:0}main{padding:14px}header{align-items:flex-start;flex-wrap:wrap}}@media(max-width:450px){.form-fields{grid-template-columns:1fr}}@media print{aside,#banner,header,#message,.no-print{display:none!important}body{display:block;background:white}main{padding:0}.panel{border:0}}
.auth{display:block}.auth main{max-width:520px;margin:8vh auto}.auth .panel{padding:26px}.section-label{margin-top:14px}

.dashboard-columns{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:1rem;align-items:start}
.dashboard-columns .panel{margin-bottom:1rem}
.dashboard-item{display:flex;justify-content:space-between;align-items:center;gap:.65rem 1rem;flex-wrap:wrap;padding:.7rem 0;border-top:1px solid var(--line,#eadde5)}
.dashboard-item h3{margin:0;font-size:1rem}
.dashboard-item p{margin:.18rem 0 0;overflow-wrap:anywhere}
.dashboard-meta{color:#665967;font-size:.87rem}
.dashboard-next{font-size:.92rem}
.dashboard-finance summary{cursor:pointer;font-weight:750}
.dashboard-finance[open] summary{margin-bottom:.85rem}
.dashboard-goal{display:block;margin:.65rem 0}
.dashboard-goal progress{display:block;width:100%;accent-color:#982055}
@media(max-width:900px){.dashboard-columns{grid-template-columns:1fr;gap:0}}

.profile-toolbar{margin-bottom:1rem}
.profile-work{padding:.75rem 0;border-top:1px solid var(--line,#eadde5)}
.profile-work-main{display:flex;justify-content:space-between;align-items:flex-start;gap:.65rem 1rem;flex-wrap:wrap}
.profile-work h3{margin:0;font-size:1.05rem}
.profile-work p{margin:.18rem 0 0;overflow-wrap:anywhere}
.profile-section summary,.profile-job-actions summary{cursor:pointer;font-weight:650}
.profile-count{border-radius:100px;background:#f7e8ef;color:#76264f;padding:.08rem .45rem;margin-left:.4rem;font-size:.82rem}
.profile-section[open] summary{margin-bottom:.8rem}
.profile-section .panel{margin-bottom:.6rem}
.profile-job-actions{margin-top:.45rem;font-size:.9rem}
.profile-job-actions .actions{margin-top:.35rem}

.intake-report{margin-top:1rem}
.intake-report h3{margin:0 0 .45rem}
.intake-report table{width:100%;border-collapse:collapse;text-align:left}
.intake-report th,.intake-report td{padding:.36rem .5rem;border-bottom:1px solid #eadde5}
.intake-report tbody th{font-weight:500}
.intake-report p{white-space:pre-wrap}
@media print{.intake-report tr{break-inside:avoid}.intake-report h3{break-after:avoid}}

.payment-attention{color:#81244e;font-size:.92rem;font-weight:750}

.work-copy-links{margin-bottom:1rem}
.work-copy-label{font-weight:750}
.work-signature{margin-top:1rem;break-inside:avoid}
.work-receipt{max-width:80mm;font-size:.86rem}
.work-receipt h2{font-size:1.05rem}
.work-receipt .row{display:block;padding:.3rem 0}
.work-receipt .intake-report th,.work-receipt .intake-report td{padding:.26rem .25rem}
@media print{.work-receipt{width:72mm;max-width:100%;margin:0;padding:0}.work-copy-links{display:none!important}}

.work-terms{margin-top:1rem}
.work-terms h3{margin-bottom:.4rem;break-after:avoid}
.work-terms p{margin:.45rem 0;break-inside:avoid}

.dashboard-goal-label{display:flex;justify-content:space-between;flex-wrap:wrap;gap:.2rem .8rem;margin-bottom:.2rem}

.device-label{max-width:3.25in;padding:.15in;break-inside:avoid}
.device-label h2{font-size:1.3rem;margin:.12rem 0}
.device-label p{margin:.12rem 0;overflow-wrap:anywhere}
@media print{.device-label{width:3.25in;max-width:100%;margin:0;padding:.15in;border:1px solid #444}}
