:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;--bg:#f5f5f7;--surface:#fff;--surface-2:#ececf0;--text:#1d1d1f;--muted:#5b6168;--line:#d8d8de;--accent:#0f766e;--accent-text:#fff;--accent-soft:#d9f2ef;--danger:#b42318;--danger-soft:#fde8e6;--warn:#8a5300;--warn-soft:#fff1d6;--ok:#166534;--radius:16px;--radius-sm:10px;--touch:48px;--shadow:0 1px 2px #0000000f, 0 4px 16px #0000000f;--font:system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;--sat:env(safe-area-inset-top,0px);--sab:env(safe-area-inset-bottom,0px);--sal:env(safe-area-inset-left,0px);--sar:env(safe-area-inset-right,0px);--warm:#b4572f;--warm-soft:#f7e6dc;--fs-xs:.78rem;--fs-sm:.9rem;--fs-md:1rem;--fs-lg:1.25rem;--fs-xl:1.85rem;--fs-display:2.3rem;--sp-1:.25rem;--sp-2:.5rem;--sp-3:.75rem;--sp-4:1rem;--sp-5:1.5rem;--sp-6:2rem;--radius-lg:20px;--radius-pill:999px;--shadow-lift:0 2px 4px #0000000f, 0 10px 28px #0000001a;--focus-ring:3px solid var(--accent);--focus-offset:2px;--ease:cubic-bezier(.2, .7, .2, 1);--dur-fast:.12s;--dur:.22s;--touch-min:44px}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial}}:root[data-theme=dark]{--bg:#0b0f10;--surface:#161b1d;--surface-2:#20272a;--text:#f2f5f5;--muted:#a3adb0;--line:#2c3539;--accent:#2dd4bf;--accent-text:#042f2e;--accent-soft:#123a37;--warm:#e29a6f;--warm-soft:#3a2519;--danger:#ff8a80;--danger-soft:#3a1714;--warn:#ffc566;--warn-soft:#3a2b0c;--ok:#7ee2a0;--shadow:none}*{box-sizing:border-box}html{-webkit-text-size-adjust:100%}body{background:var(--bg);color:var(--text);font:17px/1.45 var(--font);min-height:100dvh;margin:0}h1{letter-spacing:-.01em;margin:0 0 .25rem;font-size:1.85rem;line-height:1.15}h2{margin:0 0 .5rem;font-size:1.25rem}h3{margin:0 0 .35rem;font-size:1.05rem}p{margin:0 0 .75rem}a{color:var(--accent)}.muted{color:var(--muted)}.sr-only{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.skip{background:var(--accent);color:var(--accent-text);z-index:100;padding:.75rem 1rem;position:absolute;top:0;left:-999px}.skip:focus{left:.5rem;top:calc(var(--sat) + .5rem)}:focus-visible{outline:var(--focus-ring);outline-offset:var(--focus-offset);border-radius:6px}.shell{grid-template-columns:1fr;min-height:100dvh;display:grid}.nav{z-index:20;background:color-mix(in srgb, var(--surface) 92%, transparent);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);border-top:1px solid var(--line);padding:.25rem calc(var(--sar) + .25rem) calc(var(--sab) + .25rem) calc(var(--sal) + .25rem);display:flex;position:fixed;bottom:0;left:0;right:0}.nav a{min-height:var(--touch);color:var(--muted);border-radius:var(--radius-sm);flex-direction:column;flex:1;justify-content:center;align-items:center;gap:2px;padding:.35rem .15rem;font-size:.72rem;text-decoration:none;display:flex}.nav a[aria-current=page]{color:var(--accent);font-weight:600}.nav svg{width:24px;height:24px}.brand{display:none}main{padding:calc(var(--sat) + 1rem) calc(var(--sar) + 1rem) calc(var(--sab) + 6rem) calc(var(--sal) + 1rem);width:100%;max-width:980px;margin:0 auto}@media (min-width:768px){.shell{grid-template-columns:250px 1fr}.nav{border-top:0;border-right:1px solid var(--line);height:100dvh;padding:calc(var(--sat) + 1.25rem) .75rem 1rem calc(var(--sal) + .75rem);background:var(--surface);flex-direction:column;justify-content:flex-start;gap:.25rem;position:sticky;top:0}.nav a{flex-direction:row;flex:none;justify-content:flex-start;gap:.75rem;padding:.5rem .85rem;font-size:1rem}.brand{color:var(--accent);padding:0 .85rem 1rem;font-size:1.15rem;font-weight:700;display:block}.nav a[aria-current=page]{background:var(--accent-soft)}main{padding-bottom:3rem;padding-top:calc(var(--sat) + 2rem)}}.card{background:var(--surface);border-radius:var(--radius);box-shadow:var(--shadow);border:1px solid var(--line);padding:1rem}.stack{gap:1rem;display:grid}.row{flex-wrap:wrap;align-items:center;gap:.75rem;display:flex}.row.between{justify-content:space-between}.grid{grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:.75rem;display:grid}.tile{text-align:left;color:var(--text);background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);min-height:64px;font:inherit;cursor:pointer;box-shadow:var(--shadow);flex-direction:row;align-items:center;gap:.75rem;padding:.7rem .9rem;text-decoration:none;display:flex}.tile svg{width:28px;height:28px;color:var(--accent)}.tile strong{font-size:1rem}.tile svg{flex:none}.tile-text{flex-direction:column;flex:1;gap:.1rem;min-width:0;display:flex}.tile .muted{font-size:.85rem}.home-head h1{margin-bottom:.1rem}.sub{color:var(--muted);margin:.25rem 0 0;font-size:.95rem}.tile[aria-disabled=true]{opacity:.65;cursor:not-allowed;box-shadow:none}.btn{min-height:var(--touch);background:var(--accent);color:var(--accent-text);font:inherit;cursor:pointer;border:1px solid #0000;border-radius:999px;justify-content:center;align-items:center;gap:.5rem;padding:.55rem 1.1rem;font-weight:600;text-decoration:none;display:inline-flex}.btn.secondary{background:var(--surface-2);color:var(--text);border-color:var(--line)}.btn.danger{background:var(--danger);color:#fff}:root[data-theme=dark] .btn.danger{color:#1a0604}.btn.ghost{color:var(--accent);background:0 0}.btn:disabled,.btn[aria-disabled=true]{opacity:.5;cursor:not-allowed}.btn.big{flex:1;min-height:72px;font-size:1.25rem}.badge{background:var(--surface-2);color:var(--muted);border:1px solid var(--line);border-radius:999px;padding:.1rem .55rem;font-size:.78rem;font-weight:600;display:inline-block}.badge.warn{background:var(--warn-soft);color:var(--warn);border-color:#0000}.badge.accent{background:var(--accent-soft);color:var(--accent);border-color:#0000}.notice{border-radius:var(--radius-sm);background:var(--surface-2);border:1px solid var(--line);padding:.75rem 1rem}.notice.warn{background:var(--warn-soft);color:var(--warn);border-color:#0000}.notice.error{background:var(--danger-soft);color:var(--danger);border-color:#0000}.notice.ok{background:var(--accent-soft);color:var(--ok);border-color:#0000}label.field{gap:.3rem;font-size:.95rem;font-weight:600;display:grid}input,select,textarea{font:inherit;min-height:var(--touch);border-radius:var(--radius-sm);border:1px solid var(--line);background:var(--surface);color:var(--text);width:100%;padding:.55rem .75rem}input[type=radio],input[type=checkbox]{width:24px;height:24px;min-height:24px;accent-color:var(--accent)}input[aria-invalid=true]{border-color:var(--danger)}.field-error{color:var(--danger);font-size:.88rem;font-weight:400}.hint{color:var(--muted);font-size:.88rem;font-weight:400}.choice{min-height:var(--touch);align-items:center;gap:.6rem;font-weight:500;display:flex}fieldset{border:1px solid var(--line);border-radius:var(--radius-sm);margin:0;padding:.5rem .85rem .75rem}legend{padding:0 .35rem;font-weight:600}.cols{grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:.75rem;display:grid}.tabs{border-bottom:1px solid var(--line);gap:.25rem;display:flex;overflow-x:auto}.tabs a,.tabs button{min-height:var(--touch);font:inherit;color:var(--muted);cursor:pointer;white-space:nowrap;background:0 0;border:0;border-bottom:3px solid #0000;align-items:center;padding:.5rem 1rem;text-decoration:none;display:inline-flex}.tabs [aria-selected=true],.tabs [aria-current=page]{color:var(--accent);border-bottom-color:var(--accent);font-weight:600}dialog{border-radius:var(--radius);background:var(--surface);width:100%;max-width:min(520px,100vw - 2rem);color:var(--text);border:0;padding:1.25rem;box-shadow:0 20px 60px #00000059}dialog::backdrop{background:#00000073}.list{gap:.6rem;margin:0;padding:0;list-style:none;display:grid}.item{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);justify-content:space-between;align-items:center;gap:.75rem;padding:.75rem 1rem;display:flex}.item a.title{color:var(--text);font-weight:600;text-decoration:none}.empty{text-align:center;color:var(--muted);padding:2.5rem 1rem}.kv{grid-template-columns:auto 1fr;gap:.25rem 1rem;margin:0;display:grid}.kv dt{color:var(--muted)}.kv dd{font-variant-numeric:tabular-nums;margin:0}.counter{text-align:center;padding:1.5rem 1rem}.counter .num{font-variant-numeric:tabular-nums;font-size:clamp(3.5rem,18vw,6rem);font-weight:700;line-height:1}progress{width:100%;height:14px;accent-color:var(--accent)}.thumbs{flex-wrap:wrap;gap:.75rem;display:flex}.thumb{width:120px;position:relative}.thumb img{object-fit:cover;border-radius:var(--radius-sm);border:1px solid var(--line);width:120px;height:120px;display:block}.update-bar{left:50%;bottom:calc(var(--sab) + 5.2rem);z-index:30;width:min(560px,100vw - 1.5rem);position:fixed;transform:translate(-50%)}.offline-bar{z-index:10;margin-bottom:.75rem;position:sticky;top:0}@media (min-width:768px){.update-bar{bottom:1.5rem;left:calc(50% + 125px)}}@media (prefers-reduced-motion:no-preference){.btn,.tile{transition:transform .12s,box-shadow .12s}.btn:active,.tile:active{transform:scale(.98)}}@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}@media (forced-colors:active){.btn,.tile,.card{border:1px solid canvastext}}@media (prefers-color-scheme:dark){:root:not([data-theme]){--bg:#0b0f10;--surface:#161b1d;--surface-2:#20272a;--text:#f2f5f5;--muted:#a3adb0;--line:#2c3539;--accent:#2dd4bf;--accent-text:#042f2e;--accent-soft:#123a37;--warm:#e29a6f;--warm-soft:#3a2519;--danger:#ff8a80;--danger-soft:#3a1714;--warn:#ffc566;--warn-soft:#3a2b0c;--ok:#7ee2a0;--shadow:none}}.project-hero{object-fit:cover;border-radius:var(--radius);width:100%;max-height:180px;margin-bottom:.5rem}.result-card{border-left:4px solid var(--accent)}.about summary{cursor:pointer;min-height:44px;color:var(--accent);align-items:center;font-weight:600;display:flex}:root{--dg-brim:#a9ddd6;--dg-transition:#cfe3e0;--dg-body:#efe7d9;--dg-crown:#e3d3bb;--dg-line:#26433f;--dg-grid:#d8d8de;--dg-event:#b4452c}:root[data-theme=dark]{--dg-brim:#1f5a54;--dg-transition:#2b4744;--dg-body:#35322b;--dg-crown:#453d31;--dg-line:#8fe0d3;--dg-grid:#2c3539;--dg-event:#ff9d85}.dg{margin:0}.dg-title{margin-bottom:.35rem;font-weight:600}.dg svg{max-width:100%;display:block;overflow:visible}.dg-text{font:12.5px/1 var(--font);fill:var(--text)}.dg-fill-brim{fill:var(--dg-brim)}.dg-fill-transition{fill:var(--dg-transition)}.dg-fill-body{fill:var(--dg-body)}.dg-fill-crown{fill:var(--dg-crown)}.dg-outline{stroke:var(--dg-line);stroke-width:1.6px;stroke-linejoin:round}.dg-rib{stroke:var(--dg-line);stroke-width:1px;opacity:.35}.dg-dim line{stroke:var(--muted);stroke-width:1px}.dg-seam{stroke:var(--dg-line);stroke-width:1.6px;stroke-dasharray:5 4}.dg-seam-band{fill:var(--dg-line);opacity:.22}.dg-fold{stroke:var(--dg-line);stroke-width:1.4px;stroke-dasharray:6 4}.dg-grid{stroke:var(--dg-grid);stroke-width:1px}.dg-line{stroke:var(--dg-line);stroke-width:2px;stroke-linejoin:round}.dg-event{fill:var(--dg-event);stroke:var(--surface);stroke-width:1px}.dg-legend{color:var(--muted);margin:.5rem 0 0;padding-left:1.1rem;font-size:.92rem}.dg-table summary{min-height:var(--touch);cursor:pointer;align-items:center;display:flex}.dg-table table{border-collapse:collapse;font-variant-numeric:tabular-nums;width:100%}.dg-table th,.dg-table td{text-align:right;border-bottom:1px solid var(--line);padding:.3rem .5rem}.knit-instruction{margin:.4rem 0 .75rem;font-size:1.3rem;line-height:1.35}.knit-expected{font-variant-numeric:tabular-nums;font-weight:600}.knit-next{min-height:72px;font-size:1.25rem}.knit-more summary{min-height:var(--touch);cursor:pointer;align-items:center;display:flex}.grow{flex:8rem}.switch input{width:1.4rem;height:1.4rem}.steps{gap:.35rem;margin:.5rem 0 0;padding:0;list-style:none;display:flex}.steps li{background:var(--line);border-radius:3px;flex:1;height:6px}.steps li.done,.steps li[aria-current=step]{background:var(--accent)}.steps li[aria-current=step]{box-shadow:0 0 0 2px var(--accent-soft,var(--line))}.choice.pick{align-items:flex-start;padding:.35rem 0}.choice.pick.disabled{opacity:.6}.choice input[type=radio],.choice input[type=checkbox]{width:22px;height:22px;accent-color:var(--accent);flex:none}.hint.block{font-weight:400;display:block}.wiz-nav{bottom:calc(.5rem + env(safe-area-inset-bottom,0px));background:var(--bg);justify-content:space-between;padding:.5rem 0;position:sticky}.thumb{background:var(--surface-2,var(--bg));border-radius:var(--radius-sm);flex:none;width:56px;height:56px;padding:4px}.hero{border-left:4px solid var(--accent);align-items:flex-start;gap:1rem;display:flex}.hero .thumb{width:72px;height:72px}.hero-body{flex:1;min-width:0}.cards{grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:.75rem;margin:0;padding:0;list-style:none;display:grid}.pcard,.pcard-lib{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);align-items:flex-start;gap:.75rem;padding:.75rem;display:flex}.pcard-body{flex:1;gap:.35rem;min-width:0}.pcard-lib{flex-wrap:wrap}.card-progress{width:100%;height:8px;accent-color:var(--accent)}.meta{align-items:center;gap:.35rem}.welcome{background:var(--surface)}.quiet{gap:.35rem;display:grid}.tile-quiet{min-height:44px;box-shadow:none;opacity:.8;padding:.4rem .75rem}.tile-quiet .muted{display:none}.tile[aria-disabled=true]{cursor:not-allowed}@media (max-width:420px){.hero{flex-direction:column}}.card,.pcard,.pcard-lib,.tile{border-radius:var(--radius-lg)}.tile,.btn{transition:transform var(--dur-fast) var(--ease), box-shadow var(--dur) var(--ease), background-color var(--dur) var(--ease)}@media (hover:hover){.tile:not([aria-disabled=true]):hover{box-shadow:var(--shadow-lift);transform:translateY(-1px)}}.tile:active,.btn:active{transform:scale(.985)}.home-head{padding:var(--sp-2) 0 var(--sp-1)}.home-head h1,.wordmark{font-size:var(--fs-display);letter-spacing:-.03em;font-weight:700}.wordmark .w360{color:var(--warm);font-weight:600}.hero{border-left:0;border-top:4px solid var(--warm);background:linear-gradient(180deg, var(--warm-soft), var(--surface) 55%)}.card-progress{border-radius:var(--radius-pill)}h2.sub{font-size:var(--fs-sm);text-transform:uppercase;letter-spacing:.06em;color:var(--muted);margin:var(--sp-3) 0 var(--sp-1);font-weight:600}input,select,textarea{transition:border-color var(--dur-fast) var(--ease)}.empty,.welcome{border-radius:var(--radius-lg)}@media (prefers-reduced-motion:reduce){.tile,.btn{transition:none;transform:none!important}}.brand .wordmark{font-size:inherit;letter-spacing:-.01em}progress{appearance:none;background:var(--surface-2);border:0;overflow:hidden}progress::-webkit-progress-bar{background:var(--surface-2);border-radius:var(--radius-pill)}progress::-webkit-progress-value{background:var(--accent);border-radius:var(--radius-pill)}progress::-moz-progress-bar{background:var(--accent);border-radius:var(--radius-pill)}
