/* Hair Schedule web tools. Every rule lives under .hsw (root class of the tool blocks). Colors come from the page tokens (dark site; @media print flips them to white, and the step colors below get their light values back). */
.hsw{--h:#5fd3ea;--h-bg:rgba(95,211,234,.15);--n:#f5c26b;--n-bg:rgba(245,194,107,.15);--r:#f9a8c9;--r-bg:rgba(249,168,201,.15);--u:#d9b786;--u-bg:rgba(217,183,134,.15);--c:#ffa36b;--c-bg:rgba(255,163,107,.15);--d:#a3d977;--d-bg:rgba(163,217,119,.15);--a:#c4a7ff;--a-bg:rgba(196,167,255,.15);margin:22px 0 28px}
.hsw *{box-sizing:border-box}
.hsw .hsw-box{background:var(--surface,#14141c);border:1px solid var(--line,rgba(255,255,255,.09));border-radius:16px;padding:18px 16px 8px;box-shadow:0 10px 30px rgba(0,0,0,.35)}
.hsw fieldset{border:0;margin:0 0 14px;padding:0;min-width:0}
.hsw legend,.hsw .hsw-label{display:block;font-weight:700;font-size:15px;margin:0 0 8px;padding:0;color:var(--ink,#ececf2)}
.hsw .hsw-chips{display:flex;flex-wrap:wrap;gap:8px}
.hsw .hsw-chips label{position:relative;display:inline-flex}
.hsw .hsw-chips input{position:absolute;opacity:0;width:1px;height:1px;margin:0}
.hsw .hsw-chips span{display:inline-flex;align-items:center;min-height:44px;padding:8px 14px;border:1px solid var(--line-2,rgba(255,255,255,.17));border-radius:999px;background:var(--raised,#1b1b25);font-size:15px;line-height:1.25;cursor:pointer;color:var(--ink,#ececf2)}
.hsw .hsw-chips input:checked+span{background:var(--accent,#E10860);border-color:var(--accent,#E10860);color:var(--on-accent,#fff);font-weight:600}
.hsw .hsw-chips input:focus-visible+span{outline:3px solid rgba(var(--accent-rgb,225,8,96),.45);outline-offset:2px}
.hsw select,.hsw textarea,.hsw input[type=search]{width:100%;min-height:44px;font:inherit;font-size:16px;padding:10px 12px;border:1px solid var(--line-2,rgba(255,255,255,.17));border-radius:12px;background:var(--raised,#1b1b25);color:var(--ink,#ececf2)}
.hsw textarea::placeholder,.hsw input[type=search]::placeholder{color:var(--muted,#9a9aae)}
.hsw select:focus-visible,.hsw textarea:focus-visible,.hsw input[type=search]:focus-visible{outline:3px solid rgba(var(--accent-rgb,225,8,96),.45);border-color:var(--accent,#E10860)}
.hsw textarea{min-height:130px;resize:vertical;line-height:1.45}
.hsw .hsw-fine{margin:4px 0 14px}
.hsw .hsw-fine summary{cursor:pointer;min-height:44px;display:flex;align-items:center;font-weight:700;color:var(--accent,#E10860)}
.hsw .hsw-actions{display:flex;flex-wrap:wrap;gap:10px;margin:8px 0 12px}
.hsw button{min-height:44px;padding:10px 18px;border-radius:12px;border:1px solid var(--accent,#E10860);background:var(--accent,#E10860);color:var(--on-accent,#fff);font:inherit;font-weight:700;font-size:15px;cursor:pointer}
.hsw a.hsw-btn{display:inline-flex;align-items:center;min-height:44px;padding:10px 18px;border-radius:12px;border:1px solid var(--accent,#E10860);background:var(--accent,#E10860);color:var(--on-accent,#fff);font-weight:700;font-size:15px;text-decoration:none;line-height:1.25}
.hsw a.hsw-btn:focus-visible{outline:3px solid rgba(var(--accent-rgb,225,8,96),.45);outline-offset:2px}
.hsw.hsw-live a.hsw-js{display:inline-flex}
.hsw button.hsw-ghost{background:transparent;color:var(--accent,#E10860)}
.hsw button:focus-visible{outline:3px solid rgba(var(--accent-rgb,225,8,96),.45);outline-offset:2px}
.hsw .hsw-js{display:none}
.hsw.hsw-live .hsw-js{display:inline-flex}
.hsw.hsw-live .hsw-nojs{display:none}
.hsw .hsw-out{margin-top:16px;scroll-margin-top:80px}
.hsw .hsw-title{font-size:19px;margin:6px 0 6px}
.hsw .hsw-sum{margin:0 0 10px;color:var(--ink-2,#c9c9d6)}
.hsw .hsw-tbl{overflow-x:auto;border:1px solid var(--line,rgba(255,255,255,.09));border-radius:12px;-webkit-overflow-scrolling:touch}
.hsw table{border-collapse:collapse;width:100%;font-size:15px}
.hsw th,.hsw td{min-width:0;white-space:normal;padding:8px 8px;border-bottom:1px solid var(--line,rgba(255,255,255,.09));text-align:left;vertical-align:middle}
.hsw tr:last-child th,.hsw tr:last-child td{border-bottom:0}
.hsw thead th,.hsw tr:first-child th{background:var(--raised,#1b1b25);font-size:13px;text-transform:uppercase;letter-spacing:.04em;color:var(--muted,#9a9aae)}
.hsw th[scope=row]{width:2.2em;background:var(--surface,#14141c);color:var(--muted,#9a9aae);font-weight:700}
.hsw .hsw-tag{display:inline-flex;align-items:center;gap:6px;padding:4px 9px 4px 4px;border-radius:999px;font-size:14px;line-height:1.2;font-weight:600}
.hsw .hsw-tag b{display:inline-grid;place-items:center;min-width:24px;height:24px;border-radius:50%;color:var(--bg,#0b0b10);font-size:12.5px}
.hsw .hsw-H{background:var(--h-bg);color:var(--h)}.hsw .hsw-H b{background:var(--h)}
.hsw .hsw-N{background:var(--n-bg);color:var(--n)}.hsw .hsw-N b{background:var(--n)}
.hsw .hsw-R{background:var(--r-bg);color:var(--r)}.hsw .hsw-R b{background:var(--r)}
.hsw .hsw-U{background:var(--u-bg);color:var(--u)}.hsw .hsw-U b{background:var(--u)}
.hsw .hsw-C{background:var(--c-bg);color:var(--c)}.hsw .hsw-C b{background:var(--c)}
.hsw .hsw-D{background:var(--d-bg);color:var(--d)}.hsw .hsw-D b{background:var(--d)}
.hsw .hsw-A{background:var(--a-bg);color:var(--a)}.hsw .hsw-A b{background:var(--a)}
.hsw .hsw-why{margin:12px 0 4px;padding-left:20px;color:var(--ink-2,#c9c9d6)}
.hsw .hsw-why li{margin:4px 0}
.hsw .hsw-legend{display:flex;flex-wrap:wrap;gap:6px 8px;margin:10px 0 4px;padding:0;list-style:none}
.hsw .hsw-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.hsw .hsw-err{color:var(--bad,#f28b82);font-weight:600}
.hsw .hsw-verdict{list-style:none;padding:0;margin:8px 0 12px}
.hsw .hsw-verdict li{padding:8px 0;border-bottom:1px solid var(--line,rgba(255,255,255,.09))}
.hsw .hsw-alert{color:var(--warn,#f5c26b);font-weight:600}
.hsw .hsw-rows{padding-left:26px;margin:8px 0}
.hsw .hsw-rows li{margin:0 0 12px}
.hsw .hsw-rows p,.hsw .hsw-ing-list p{margin:4px 0 0;color:var(--ink-2,#c9c9d6);font-size:15px}
.hsw .hsw-row-h{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px}
.hsw .hsw-kind{display:inline-block;padding:3px 9px;border-radius:999px;background:var(--raised,#1b1b25);box-shadow:inset 0 0 0 1px var(--line,rgba(255,255,255,.09));color:var(--ink-2,#c9c9d6);font-size:13px;font-weight:600}
.hsw .hsw-unknown{font-size:14px;color:var(--muted,#9a9aae);overflow-wrap:anywhere}
.hsw .hsw-search{margin:0 0 12px}
.hsw .hsw-count{font-size:14px;color:var(--muted,#9a9aae);margin:6px 0 0;min-height:1em}
.hsw-ing-list{list-style:none;padding:0;margin:8px 0 22px}
.hsw-ing-list li{padding:10px 0;border-bottom:1px solid var(--line,rgba(255,255,255,.09))}
.hsw-ing-list li strong{overflow-wrap:anywhere}
.hsw-ing-list .hsw-alias{display:block;font-size:13px;color:var(--muted,#9a9aae);overflow-wrap:anywhere}
.hsw .hsw-presets{display:grid;grid-template-columns:minmax(0,1fr);gap:18px}
.hsw .hsw-preset h3{font-size:18px;margin:0 0 4px}
.hsw .hsw-preset p{margin:0 0 8px;font-size:15px;color:var(--ink-2,#c9c9d6)}
@media (min-width:900px){.hsw .hsw-box{padding:22px 22px 10px}.hsw .hsw-presets{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:480px){.hsw .hsw-box{padding:14px 10px 6px}.hsw td .hsw-tag{flex-direction:column;gap:3px;padding:6px 2px;border-radius:10px;font-size:11.5px;letter-spacing:-.01em;text-align:center;width:100%;hyphens:auto;-webkit-hyphens:auto}.hsw th,.hsw td{padding:5px 3px}.hsw th[scope=row],.hsw tr:first-child th:first-child{width:2.2em;text-align:center}.hsw table{font-size:13px;table-layout:fixed}.hsw tr:first-child th{font-size:11.5px;letter-spacing:0}}
@media print{.hsw{--h:#0e7490;--h-bg:#e0f4f8;--n:#a16207;--n-bg:#fdf1d6;--r:#be123c;--r-bg:#fde4ea;--u:#7c5a12;--u-bg:#f6ecd2;--c:#9a3412;--c-bg:#fde7d8;--d:#4d7c0f;--d-bg:#ebf5d9;--a:#6d28d9;--a-bg:#ede5fd}.hsw .hsw-box{box-shadow:none}.hsw .hsw-tag b{color:#fff}.hsw form,.hsw .hsw-actions{display:none}}
