/* Shared look for Vio's free fill-in tools: white paper you type on, watermark, email gate, print only the paper. */
[hidden]{display:none!important}
.tool-wrap{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:26px;align-items:start;margin:8px 0 48px}
.tool-wrap.solo{grid-template-columns:minmax(0,1fr)}
.sheet{background:#fff;color:#1d2422;border-radius:8px;padding:40px 42px 30px;box-shadow:0 30px 80px #0008;font:400 15px/1.5 'DM Sans',system-ui,sans-serif}
.sheet h2,.sheet h3{color:#111a19;letter-spacing:-.01em}
.sheet .doc-title{margin:0;font-size:34px;line-height:1.05;font-weight:700;letter-spacing:.01em}
.sheet .lbl{display:block;font-size:12.5px;font-weight:600;color:#5d6866;margin:0 0 5px}
.sheet input:not([type=checkbox]),.sheet .ce{display:block;width:100%;background:#fff;border:1px solid #d6dcda;border-radius:7px;color:#1d2422;font:400 15px/1.5 'DM Sans',system-ui,sans-serif;padding:9px 11px;margin:0}
.sheet .ce{min-height:42px;white-space:pre-wrap;overflow-wrap:anywhere;cursor:text}
.sheet .ce.tall{min-height:96px}
.sheet .ce:empty::before{content:attr(data-ph);color:#97a19e}
.sheet input::placeholder{color:#97a19e}
.sheet input:hover,.sheet .ce:hover{border-color:#aeb8b5}
.sheet input:focus,.sheet .ce:focus{outline:2px solid #2A2D35;outline-offset:0;border-color:transparent}
.sheet .row{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:14px}
.sheet .row3{display:grid;grid-template-columns:1fr 1fr 1fr;gap:12px;margin-top:14px}
.sheet .sec{margin-top:22px}
.sheet .sec-h{display:flex;align-items:center;gap:10px;background:#111a19;color:#fff;border-radius:8px;padding:9px 12px;font-size:14px;font-weight:600;margin:26px 0 10px}
.sheet .sec-h input[type=checkbox]{width:17px;height:17px;accent-color:#111;margin:0}
.sheet .sec.off .ce{opacity:.45}
.sheet .head{display:flex;justify-content:space-between;gap:24px;align-items:flex-start}
.sheet .head-r{text-align:right}
.sheet .head-r input{width:150px;margin-left:auto;text-align:right;margin-top:10px}
.sheet .sign{display:grid;grid-template-columns:1fr 1fr;gap:28px;margin-top:40px}
.sheet .sign div{border-top:1px solid #1d2422;padding-top:5px;font-size:12.5px;color:#5d6866}
.sheet .fine{font-size:12px;color:#7b8683;margin-top:18px}
.logo{width:180px;height:104px;border:1px dashed #c4ccc9;border-radius:8px;background:#f6f8f7;display:flex;align-items:center;justify-content:center;color:#5d6866;font:500 14.5px 'DM Sans',system-ui,sans-serif;cursor:pointer;position:relative;overflow:hidden;flex:none}
.logo:hover{border-color:#2A2D35;color:#2A2D35}
.logo img{max-width:100%;max-height:100%;object-fit:contain}
.logo input{position:absolute;inset:0;opacity:0;cursor:pointer}
.logo-x{display:block;margin-top:6px;background:none;border:0;color:#5d6866;font:500 12.5px 'DM Sans',system-ui,sans-serif;cursor:pointer;padding:0;text-decoration:underline}
.add-row{display:block;width:100%;margin-top:10px;background:#f2f5f4;border:0;border-radius:8px;padding:10px;color:#2A2D35;font:600 14px 'DM Sans',system-ui,sans-serif;cursor:pointer}
.add-row:hover{background:#e7eeec}
.x{background:none;border:0;color:#97a19e;font-size:20px;line-height:1;cursor:pointer;border-radius:6px;padding:4px 8px}
.x:hover{color:#b2453a;background:#f6f0ef}
/* Calculator sheets (markup, job profit) */
.calc-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:36px;margin-top:26px;align-items:start}
.sheet .money{display:flex;align-items:center;gap:8px;font-size:22px;font-weight:600;color:#5d6866}
.sheet .money input{font-size:22px!important;font-weight:600!important}
.sheet .slide{display:flex;align-items:center;gap:14px}
.sheet .slide input[type=range]{flex:1;accent-color:#2A2D35;height:28px}
.sheet .pct-box{display:flex;align-items:center;gap:6px;color:#5d6866;font-weight:600}
.sheet .pct-box input{width:92px;text-align:right}
.sheet .pct-box.wide input{width:120px}
.sheet .result{background:#f6f8f7;border-radius:12px;padding:22px}
.sheet .big-num{display:block;font-size:44px;line-height:1.05;letter-spacing:-.03em;color:#111a19;margin:2px 0 16px}
.sheet .split{display:flex;height:18px;border-radius:999px;overflow:hidden;background:#e3e8e6}
.sheet .split i{display:block;flex:0 0 auto;flex-basis:0;transition:flex-grow .45s cubic-bezier(.23,1,.32,1)}
.sheet i.c{background:#9db2ae}
.sheet i.m{background:#c9b48a}
.sheet i.l{background:#8aa3c9}
.sheet i.s{background:#b59ac4}
.sheet i.o{background:#c4c4b0}
.sheet i.h{background:#7b8683}
.sheet i.p{background:#2A2D35}
.sheet i.p.bad{background:#C4584A}
.sheet .legend{display:flex;flex-wrap:wrap;gap:6px 16px;margin-top:10px;font-size:13px;color:#5d6866}
.sheet .legend span{display:inline-flex;align-items:center;gap:6px}
.sheet .key{display:inline-block;width:9px;height:9px;border-radius:2px;margin-right:6px}.sheet .legend i{width:10px;height:10px;border-radius:3px;display:inline-block}
.sheet .legend b{color:#111a19}
.sheet .say{font-size:15px;color:#2A2D35;font-weight:600;margin:14px 0 6px}
.sheet .line{display:flex;justify-content:space-between;gap:12px;border-top:1px solid #e3e8e6;padding:10px 0;font-size:15px}
.sheet .line b{font-size:18px;color:#111a19}
.sheet .line.total b{font-size:22px}
@media (prefers-reduced-motion:reduce){.sheet .split i{transition:none}}
@media(max-width:700px){.calc-grid{grid-template-columns:1fr;gap:22px}.sheet .big-num{font-size:36px}}
@media print{.sheet .result{background:none;padding:0}.sheet .split{-webkit-print-color-adjust:exact;print-color-adjust:exact}.sheet .legend i{-webkit-print-color-adjust:exact;print-color-adjust:exact}}
/* The watermark: on the sheet and at the bottom of every printed page. */
.wm{margin-top:30px;padding-top:14px;border-top:1px dashed #dfe4e2;text-align:center;font-size:13px;letter-spacing:.04em;color:#a3adaa;user-select:none}
.wm b{color:#7f9a97;font-weight:600}
/* Side panel */
.side{position:sticky;top:20px;display:grid;gap:14px}
.side .btn,.side .ghost{width:100%}
button.btn{border:0;cursor:pointer;font-family:'DM Sans',system-ui,sans-serif}
.ghost{display:inline-flex;align-items:center;justify-content:center;background:none;border:1px solid var(--line);color:var(--paper);border-radius:999px;padding:11px 20px;font:600 15px 'DM Sans',system-ui,sans-serif;cursor:pointer;text-decoration:none}
.ghost:hover{border-color:var(--muted)}
.btn:active,.ghost:active,.add-row:active,.logo:active,.chip:active{transform:scale(.97)}
.side .note,.tool-note{font-size:13px;color:var(--muted);margin:0;line-height:1.55}
.side .card{border:1px solid var(--line);border-radius:18px;background:rgba(14,14,17,.74);padding:18px}
.side .card h3{font-size:16px;margin:0 0 8px}
.side .card.promo{border-color:#2A2D35;background:radial-gradient(ellipse at 100% 0%,rgba(120,150,255,.16),transparent 70%),rgba(14,14,17,.74)}
.side .card ul{padding-left:18px;margin:0 0 12px;color:rgba(255,255,255,.8);font-size:14px}
.side .card li{margin:4px 0}
.chips{display:flex;flex-wrap:wrap;gap:8px}
.chip{border:1px solid var(--line);background:rgba(14,14,17,.74);color:var(--paper);border-radius:999px;padding:8px 14px;font:500 14px 'DM Sans',system-ui,sans-serif;cursor:pointer}
.chip:hover{border-color:var(--muted)}
.chip[aria-pressed=true]{background:var(--gold);color:#1B1408;border-color:var(--gold)}
/* Email gate */
.gate{border:1px solid var(--line);border-radius:20px;background:rgba(14,14,17,.74);color:var(--paper);padding:26px;width:min(440px,calc(100% - 32px));box-shadow:0 30px 80px #000a}
.gate::backdrop{background:rgba(0,0,0,.8)}
.gate h2{margin:0 0 6px;font-size:22px;letter-spacing:-.02em}
.gate label{display:block;font-size:13px;color:var(--muted);margin:12px 0}
.gate input:not([type=checkbox]){display:block;width:100%;margin-top:5px;background:#0E0E11;border:1px solid var(--line);border-radius:10px;color:var(--paper);font:400 16px/1.4 'DM Sans',system-ui,sans-serif;padding:10px 12px}
.gate input:focus{outline:2px solid var(--gold);outline-offset:1px;border-color:transparent}
.gate .check{display:flex;gap:10px;align-items:flex-start;color:rgba(255,255,255,.8);font-size:13.5px;cursor:pointer}
.gate .check input{width:18px;height:18px;margin:2px 0 0;accent-color:var(--gold);flex:none}
.gate .hp{position:absolute;left:-9999px;width:1px;height:1px;opacity:0}
.gate-row{display:flex;gap:10px;margin-top:6px}.gate-row>*{flex:1}
.gate .fine{font-size:12px;color:var(--muted);margin:14px 0 0;line-height:1.5}.gate .fine a{color:var(--mint)}
.gate .msg{min-height:1em;color:#E8A598;font-size:13px;margin:0}
.toast{position:fixed;left:50%;bottom:22px;transform:translate(-50%,140%);background:#F4F5F4;color:#111;border-radius:16px;padding:14px 18px;box-shadow:0 18px 50px #000a;display:flex;gap:14px;align-items:center;max-width:calc(100% - 32px);font-size:15px;transition:transform .45s cubic-bezier(.23,1,.32,1);z-index:20}
.toast.show{transform:translate(-50%,0)}
.toast a{color:#2A2D35;font-weight:600}
.toast button{background:none;border:0;font-size:20px;cursor:pointer;color:#555}
@media (prefers-reduced-motion:reduce){.toast{transition:none}}
@media(max-width:980px){.tool-wrap{grid-template-columns:1fr}.side{position:static}}
@media(max-width:700px){
  .sheet{padding:22px 16px;border-radius:6px}
  .sheet .row,.sheet .row3{grid-template-columns:1fr}
  .sheet .head{flex-direction:column-reverse}.sheet .head-r{text-align:left}.sheet .head-r input{margin-left:0}
  .sheet .doc-title{font-size:27px}
  .sheet .head>div{width:100%}
  .logo{width:100%;height:92px}
}
/* Printing: vio-tools.js hides everything except the sheet (.vio-hide), and the sheet prints as clean paper. */
@media print{
  body{background:#fff!important}
  .vio-hide,.no-print,.gate,.toast{display:none!important}
  .wrap,main{max-width:none!important;padding:0!important;margin:0!important}
  .tool-wrap{display:block;margin:0}
  .sheet{box-shadow:none;border-radius:0;padding:0 0 48px}
  .sheet input:not([type=checkbox]),.sheet .ce{border:0!important;padding:0!important;min-height:0!important;outline:0!important}
  .sheet input::placeholder{color:transparent}
  .sheet .ce:empty{display:none}
  .sheet .ce:empty::before{content:none}
  .sheet .sec.off{display:none}
  .sheet .sec-h{background:none;color:#111a19;border-bottom:2px solid #111a19;border-radius:0;padding:0 0 4px}
  .sheet .sec-h input{display:none}
  .logo{border:0;background:none;height:auto;width:auto;max-width:180px}
  .logo.empty{display:none}
  .wm{position:fixed;left:0;right:0;bottom:0;margin:0;padding-top:8px;font-size:11px;color:#9aa5a2;border-top:1px dashed #d5dbd9}
}
