:root{--paper:#f4f1e9;--surface:#fcfaf5;--ink:#30312e;--muted:#71736b;--line:#dcdad1;--orange:#b8491e;--wash:#eee5d7;--texture:.24;color-scheme:light}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:15px/1.5 'Avenir Next','Segoe UI',sans-serif}body:before{content:'';position:fixed;inset:0;background:url(paper.png) repeat;background-size:600px;opacity:var(--texture);mix-blend-mode:multiply;pointer-events:none;z-index:-1}body.dark{--paper:#242723;--surface:#2d302b;--ink:#edece4;--muted:#b3b6a9;--line:#464a41;--orange:#ff9b65;--wash:#39392e;--texture:.09;color-scheme:dark}body.dark:before{mix-blend-mode:screen}button,input,textarea,select{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer;border:1px solid var(--line);background:var(--surface);color:var(--ink);padding:10px 16px;border-radius:7px}button:hover{border-color:var(--orange)}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid var(--orange);outline-offset:3px}aside{position:fixed;left:0;top:0;bottom:0;width:236px;border-right:1px solid var(--line);padding:32px 22px;display:flex;flex-direction:column}.brand{font-size:28px;font-weight:650;display:flex;align-items:center;gap:10px;letter-spacing:-1px}.brandmark{display:grid;place-items:center;width:38px;height:38px;background:var(--orange);color:var(--paper);border-radius:8px;font-size:30px}.beta{font-size:10px;align-self:flex-start;margin-top:6px;color:var(--muted);letter-spacing:0}.workspace,.eyebrow{font-size:10px;letter-spacing:2px;font-weight:650;color:var(--muted)}.workspace{margin:45px 12px 17px}nav{display:grid;gap:5px}nav a{padding:12px;border-radius:6px;display:flex;gap:15px;align-items:center;color:var(--muted)}nav a.active{background:var(--wash);color:var(--orange);font-weight:600}nav a span{font-size:15px;width:20px;text-align:center}.asidefoot{margin-top:auto;padding:20px 10px 0;font-size:12px}.asidefoot small{color:var(--muted)}.asidefoot button{margin-top:20px;width:100%;font-size:12px}.dot{display:inline-block;background:#729564;width:6px;height:6px;border-radius:50%;margin-right:8px}main{margin-left:236px;padding:0 42px;max-width:1800px}header{height:85px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;color:var(--muted);font-size:12px}header>div{display:flex;gap:16px;align-items:center}header button{padding:7px 12px;font-size:12px}.local{font-size:10px;border:1px solid var(--line);padding:4px 9px;border-radius:20px}.heading{display:flex;justify-content:space-between;gap:20px;align-items:center;margin:40px 0 28px}h1{font-size:42px;line-height:1.15;letter-spacing:-1.7px;margin:12px 0}h2{font-size:22px;letter-spacing:-.5px;margin:10px 0 16px}h3{font-size:17px;margin:10px 0}p{color:var(--muted);max-width:650px}.primary{background:var(--orange);color:var(--paper);border-color:var(--orange)}.hero{border:1px solid var(--line);padding:30px;background:var(--surface);display:grid;grid-template-columns:1.25fr 1fr;gap:28px;border-radius:10px}.hero h2{font-size:29px;line-height:1.25;max-width:380px}.hero p{font-size:14px}.hero .number{font-size:11px;color:var(--orange)}.sheet{display:grid;grid-template-columns:1.15fr 1fr 1fr;gap:5px;align-items:stretch;min-height:220px}.panel{background:var(--wash);border:1px solid var(--line);display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:15px;border-radius:5px}.panel b{font-size:40px;font-weight:400;color:var(--orange);opacity:.6}.panel small{font-size:10px;color:var(--muted);margin-top:20px}.sectionline{display:flex;justify-content:space-between;align-items:center;margin:30px 0 15px}.sectionline h2{margin:0}.sectionline small{color:var(--muted)}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.card{padding:23px;background:var(--surface);border:1px solid var(--line);border-radius:8px;min-width:0}.card p{font-size:13px;white-space:pre-wrap;overflow-wrap:anywhere}.card .badge{font-size:10px;border:1px solid var(--line);padding:3px 8px;border-radius:20px}.card .meta{font-size:11px;color:var(--muted);margin-top:20px}.card button{font-size:12px;margin-top:10px}.card a{color:var(--orange);font-size:12px}.empty{padding:60px 25px;text-align:center;border:1px dashed var(--line);border-radius:9px}.empty p{margin:8px auto 25px}.empty h2{margin-bottom:8px}.toolbar{display:flex;gap:10px;margin-bottom:22px}.toolbar input{flex:1}.toolbar select{width:170px}input,textarea,select{display:block;background:var(--surface);color:var(--ink);border:1px solid var(--line);border-radius:6px;padding:11px 12px;width:100%;min-width:0}textarea{resize:vertical;min-height:110px}.notice{background:var(--wash);padding:16px 20px;border-left:3px solid var(--orange);font-size:13px;color:var(--muted);margin-bottom:22px}.row{display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line);padding:20px 0}.row small{color:var(--muted)}footer{display:flex;justify-content:space-between;border-top:1px solid var(--line);padding:24px 0;margin-top:45px;font-size:9px;letter-spacing:1px;color:var(--muted)}dialog{background:var(--paper);color:var(--ink);border:1px solid var(--line);border-radius:12px;width:min(560px,92vw);padding:28px;max-height:90dvh}dialog::backdrop{background:#171a1666;backdrop-filter:blur(3px)}.dialoghead{display:flex;justify-content:space-between;align-items:center}.dialoghead button{font-size:22px;padding:0 9px;border:0;background:transparent}label{display:block;font-size:12px;color:var(--muted);margin:17px 0}label input,label textarea,label select{margin-top:7px}#error{color:var(--orange)}#toast{position:fixed;right:28px;bottom:25px;background:var(--ink);color:var(--paper);padding:12px 20px;border-radius:8px;display:none;font-size:13px}@media(max-width:1050px){.grid{grid-template-columns:repeat(2,minmax(0,1fr))}main{padding:0 25px}.hero{grid-template-columns:1fr}.sheet{min-height:160px}}@media(max-width:700px){aside{position:static;width:100%;padding:18px;border-right:0;border-bottom:1px solid var(--line)}.brand{font-size:22px}.workspace,.asidefoot small,.asidefoot .dot{display:none}nav{display:flex;overflow-x:auto;margin-top:18px}nav a{white-space:nowrap;font-size:12px;padding:8px;gap:5px}.asidefoot{position:absolute;right:15px;top:15px;padding:0;font-size:0}.asidefoot button{margin:0;width:auto}main{margin:0;padding:0 18px}header{height:60px}.local{display:none}h1{font-size:32px}.heading{margin-top:26px}.grid{grid-template-columns:1fr}.heading>button{font-size:12px}footer span{display:none}.hero{padding:22px}.toolbar{flex-wrap:wrap}}
.client-avatar{width:62px;height:62px;display:block;object-fit:cover;border-radius:50%;border:2px solid var(--orange);margin-bottom:12px}.field-hint{display:block;color:var(--muted);font-size:11px;margin-top:6px}.avatar-editor{border:1px solid var(--line);border-radius:9px;padding:16px;background:var(--surface);margin:10px 0 16px}.avatar-stage{position:relative;width:min(100%,280px);aspect-ratio:1;margin:0 auto 14px}.avatar-stage canvas{display:block;width:100%;height:100%;border-radius:50%;cursor:grab;touch-action:none;box-shadow:0 0 0 2px var(--orange),0 5px 14px #171a1622}.avatar-empty{position:absolute;inset:0;display:grid;place-items:center;color:var(--muted);font-size:12px;pointer-events:none}.avatar-tools{display:grid;gap:10px}.zoom-label{margin:0}.zoom-label output{float:right;color:var(--orange);font-variant-numeric:tabular-nums}.zoom-label input{margin-top:7px;padding:0;border:0}.avatar-actions{display:flex;flex-wrap:wrap;gap:8px}.avatar-actions button{font-size:12px}.avatar-actions button:last-child{color:var(--muted)}
.workspace,.eyebrow,.beta,.local,.hero .number,.panel small,.card .badge,.field-hint,.avatar-empty{font-size:12px}.card .meta,.sectionline small{font-size:13px}.card a,.card button,.avatar-actions button{font-size:14px}header{font-size:14px}header button{font-size:14px}.asidefoot{font-size:14px}footer{font-size:12px;letter-spacing:.7px}.zoom-label{font-size:14px}
@media(max-width:700px){nav a{font-size:14px}.asidefoot{font-size:12px}.asidefoot #localStatus,.asidefoot #localCaption{display:none}.asidefoot button{font-size:13px}}
body.dark{--ink:#fff;--muted:#e2e5dc;--line:#5b6056;--surface:#30342f;--wash:#41463d}.icon-button{width:38px;height:38px;padding:0;font-size:20px;display:inline-grid;place-items:center}.calc-display{font-size:27px;text-align:right;letter-spacing:1px;margin:18px 0 12px}.calc-keys{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.calc-keys button{font-size:18px;min-height:48px;padding:8px}.calc-keys .equals{grid-row:span 2;background:var(--orange);color:var(--paper);border-color:var(--orange)}.calc-keys .zero{grid-column:span 2}#calculatorDialog{width:min(360px,92vw);padding:24px}
.credits-overview{margin:10px 0 30px}.credits-overview .sectionline{margin-bottom:16px}.credits-overview .sectionline p{margin:0;max-width:680px}.credits-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.credit-card{padding:20px;background:var(--surface);border:1px solid var(--line);border-radius:9px;display:grid;gap:8px;min-width:0}.credit-card h3{margin:0;font-size:20px}.credit-card .eyebrow{color:var(--muted)}.credit-value{font-size:26px;line-height:1.2;color:var(--orange);font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.credit-card small{font-size:13px;color:var(--muted)}.credit-card button{justify-self:start;font-size:14px;margin-top:4px}@media(max-width:700px){.credits-grid{grid-template-columns:1fr}}
