.tool-main{padding:3rem 0 5rem}.tool-hero{max-width:820px;margin:2rem 0 2.5rem}.tool-hero h1{font-size:clamp(2.7rem,6vw,5.2rem);max-width:13ch}.tool-grid{display:grid;grid-template-columns:minmax(260px,.7fr) minmax(0,1.3fr);gap:1.2rem;align-items:start}.tool-panel{background:#fff;border:1px solid var(--line);border-radius:1.5rem;padding:1.35rem;box-shadow:0 16px 45px rgba(8,59,102,.08)}.preset-row{display:flex;flex-wrap:wrap;gap:.55rem;margin:1rem 0}.preset{border:1px solid var(--line);background:#fff;color:var(--navy);padding:.65rem .85rem;border-radius:999px;font:inherit;font-weight:800;cursor:pointer}.preset[aria-pressed=true]{background:var(--navy);color:#fff}.step-list{list-style:none;padding:0;margin:1rem 0;display:grid;gap:.55rem}.step-row{display:grid;grid-template-columns:42px 1fr auto;gap:.65rem;align-items:center;padding:.7rem;border:1px solid var(--line);border-radius:1rem;background:var(--paper)}.step-row input[type=checkbox]{width:20px;height:20px}.step-label-input{width:100%;min-width:0;padding:.55rem .65rem;border:1px solid transparent;border-radius:.65rem;background:transparent;color:var(--navy);font:inherit;font-weight:850}.step-label-input:hover{background:#fff;border-color:var(--line)}.step-label-input:focus{background:#fff;border-color:var(--gold);outline:3px solid rgba(224,177,74,.28);outline-offset:1px}.reorder{display:flex;gap:.25rem}.reorder button{width:34px;height:34px;border:1px solid var(--line);border-radius:.65rem;background:#fff;color:var(--navy);font-weight:900;cursor:pointer}.routine-sheet{background:#fff;border:2px solid var(--navy);border-radius:1.4rem;padding:1.4rem;min-height:600px}.routine-sheet header{text-align:center;border-bottom:3px solid var(--gold);padding-bottom:1rem;margin-bottom:1rem}.routine-sheet h2{font-size:clamp(2rem,5vw,3.1rem)}.routine-sheet .sheet-sub{color:var(--coral);font-weight:850;margin:.3rem 0 0}.print-steps{display:grid;gap:.65rem}.print-step{display:grid;grid-template-columns:46px 1fr 34px;align-items:center;gap:.7rem;padding:.78rem 1rem;border-radius:1rem;background:var(--sky);font-weight:850;color:var(--navy)}.print-step:nth-child(4n+2){background:var(--mint)}.print-step:nth-child(4n+3){background:var(--blush)}.print-step:nth-child(4n+4){background:#fff0b8}.step-num{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:#fff;font-weight:950}.tick-box{width:28px;height:28px;border:3px solid var(--navy);border-radius:.4rem;background:#fff}.tool-note{color:var(--muted);font-size:.9rem}.tool-match{margin:.2rem 0 1.15rem;padding:.75rem .85rem;border:1px solid var(--line);border-radius:.85rem;background:var(--paper);color:var(--navy);font-size:.92rem}.tool-match a{color:var(--navy);font-weight:900;text-underline-offset:3px}.tool-cta{margin-top:1.2rem;padding:1.2rem;border-radius:1rem;background:var(--navy);color:#fff}.tool-cta h3{color:#fff}.tool-cta p{color:#d9e9f1}.guide-links{display:grid;grid-template-columns:repeat(2,1fr);gap:.7rem;margin-top:1rem}.guide-links a{padding:.8rem;border-radius:.9rem;background:#fff;border:1px solid var(--line);text-decoration:none;font-weight:800;color:var(--navy)}@media(max-width:800px){.tool-grid{grid-template-columns:1fr}.guide-links{grid-template-columns:1fr}}@media print{body:before,.site-header,.tool-hero,.tool-panel,.tool-cta,.guide-links,.site-footer{display:none!important}.tool-main,.tool-grid{padding:0;display:block}.routine-sheet{border:0;min-height:auto;box-shadow:none}.routine-sheet h2{font-size:28pt}.print-step{break-inside:avoid;-webkit-print-color-adjust:exact;print-color-adjust:exact}}
.tool-label{display:block;margin:.9rem 0 .35rem;color:var(--navy);font-weight:850}
.tool-input{width:100%;min-height:46px;padding:.7rem .85rem;border:1px solid var(--line);border-radius:.8rem;background:#fff;color:var(--ink);font:inherit}
.tool-input:focus{outline:3px solid var(--gold);outline-offset:2px}
.custom-step-row{display:grid;grid-template-columns:1fr auto;gap:.65rem;align-items:center;margin:1rem 0 1.35rem}
.custom-step-row .button{min-height:46px}
.paper-row,.layout-row{display:flex;flex-wrap:wrap;gap:.55rem;margin:.7rem 0 1.1rem}
.remove-step{font-size:1.1rem}
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
@media(max-width:620px){.custom-step-row{grid-template-columns:1fr}.custom-step-row .button{width:100%}}
@media print{
  body[data-paper="a4"] .routine-sheet{width:210mm;min-height:297mm}
  body[data-paper="letter"] .routine-sheet{width:8.5in;min-height:11in}
}

body[data-layout="compact"] .print-steps{gap:.35rem}
body[data-layout="compact"] .print-step{padding:.5rem .72rem;grid-template-columns:40px 1fr 30px}
body[data-layout="compact"] .step-num{width:32px;height:32px}
body[data-layout="compact"] .tick-box{width:24px;height:24px;border-width:2px}
@media print{body[data-layout="compact"] .routine-sheet header{padding-bottom:.65rem;margin-bottom:.65rem}body[data-layout="compact"] .routine-sheet h2{font-size:24pt}}
