@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-cyrillic-ext-wght-normal-BOeWTOD4.woff2)format("woff2-variations");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-cyrillic-wght-normal-DqGufNeO.woff2)format("woff2-variations");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-greek-ext-wght-normal-DlzME5K_.woff2)format("woff2-variations");unicode-range:U+1F??}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-greek-wght-normal-CkhJZR-_.woff2)format("woff2-variations");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-vietnamese-wght-normal-CBcvBZtf.woff2)format("woff2-variations");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-latin-ext-wght-normal-DO1Apj_S.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-latin-wght-normal-Dx4kXJAl.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}*{box-sizing:border-box}:root{--mobile-nav-height:4.875rem;--app-header-height:0px;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;font-family:var(--font-sans);background:var(--color-bg);color:var(--color-text);--font-sans:"Inter Variable", "Inter", system-ui, sans-serif;--font-mono:ui-monospace, Menlo, Consolas, monospace;--color-bg:#1f2522;--color-surface:#29302c;--color-surface-elevated:#323a35;--color-surface-deep:#262d29;--color-surface-strong:#2c332f;--color-border:#46504a;--color-divider:#3a433d;--color-text:#e9eeeb;--color-text-muted:#aeb8b2;--color-text-faint:#949e98;--color-text-whisper:#828d86;--color-accent:#8fd14f;--color-accent-strong:#a6e06a;--color-accent-hover:#c0ec8e;--color-accent-pressed:#78b83d;--color-accent-tonal:#323f25;--color-accent-tonal-edge:#56742f;--color-accent-tile:#2b3f26;--color-accent-tile-edge:#426e36;--color-on-accent:#1f2522;--color-secondary:#28d7d0;--color-secondary-tonal:#1f4643;--color-secondary-tonal-edge:#2c6b66;--color-secondary-text:#bfe9e6;--color-attention:#f5c35a;--color-attention-tonal:#3a3216;--color-attention-tonal-edge:#6b5a22;--color-attention-badge:#4a3a14;--color-test:#e8c547;--color-test-tonal:#4a3f16;--color-test-text:#f0d36a;--color-danger:#ff8a7a;--color-danger-tonal:#3a2320;--color-danger-tonal-edge:#6b3530;--color-danger-text:#f3d2cc;--color-receipt:#e9e4d8;--color-receipt-ink:#2a2620;--color-receipt-muted:#6b6458;--color-receipt-rule:#a59d8e;--color-scanner-bg:#0f1311;--focus-ring:0 0 0 3px var(--color-bg), 0 0 0 5px var(--color-accent-strong);--ring-selected:0 0 0 3px var(--color-bg), 0 0 0 5px var(--color-accent);--radius-xs:.6875rem;--radius-sm:.75rem;--radius-md:1rem;--radius-lg:1.375rem;--radius-card:1.125rem;--radius-button:1.125rem;--radius-pill:999px;--space-1:.25rem;--space-2:.5rem;--space-3:.75rem;--space-4:1rem;--space-5:1.5rem;--space-6:2rem;--gap-controls:.5625rem;--gap-blocks:.8125rem;--gap-cards:1rem;--touch-target:2.75rem;--text-screen-title:800 1.8125rem / 1.15 var(--font-sans);--text-hero-title:800 1.875rem / 1.05 var(--font-sans);--text-form-title:800 1.375rem / 1.2 var(--font-sans);--text-section:800 1.1875rem / 1.25 var(--font-sans);--text-label:800 .8125rem / 1.3 var(--font-sans);--text-body:500 1rem / 1.45 var(--font-sans);--text-subline:500 .875rem / 1.4 var(--font-sans);--text-caption:500 .8125rem / 1.45 var(--font-sans);--motion-fast:.2s;--motion-panel:.25s;--focus-field:0 0 0 .5px var(--color-accent);--shadow-soft:none}html,body,#root{min-height:100%;margin:0}body{background:var(--color-bg);color:var(--color-text);font:var(--text-body)}button,input,select,textarea{font:inherit}input:not([type=checkbox],[type=radio],[type=file],[type=range]),select,textarea{border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--color-surface);min-height:3rem;color:var(--color-text);font-size:1rem;font-weight:500}input::placeholder,textarea::placeholder{color:var(--color-text-faint)}input:focus,select:focus,textarea:focus{border-color:var(--color-accent);box-shadow:var(--focus-field);outline:none}input[type=checkbox],input[type=radio]{accent-color:var(--color-accent)}a{color:var(--color-accent-strong)}a:hover{color:var(--color-accent-hover)}:focus-visible{box-shadow:var(--focus-ring);outline:none}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}button{border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--color-surface);color:var(--color-text);cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}.app-header{z-index:30;background:color-mix(in srgb, var(--color-bg) 94%, transparent);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border-bottom:1px solid var(--color-border);position:sticky;top:0}.test-band{min-height:34px;padding:4px var(--space-3);background:repeating-linear-gradient(-45deg, var(--color-test) 0 12px, var(--color-bg) 12px 24px);justify-content:center;align-items:center;display:flex}.test-band span{padding:2px var(--space-2);border-radius:var(--radius-sm);background:var(--color-bg);color:var(--color-test-text);max-width:100%;font-family:var(--font-mono);text-overflow:ellipsis;white-space:nowrap;font-size:clamp(.625rem,2.9vw,.75rem);font-weight:800;overflow:hidden}.app-header__topline{align-items:center;gap:var(--space-2) var(--space-4);flex-wrap:wrap;width:min(100%,68rem);min-height:3.5rem;margin:0 auto;padding:.4rem clamp(1.25rem,4vw,3rem);display:flex}.app-header__brand{align-items:center;gap:var(--space-3);display:inline-flex}.app-brand{align-items:center;gap:var(--space-3);color:var(--color-accent);font-size:1.15rem;font-weight:800;text-decoration:none;display:inline-flex}.app-brand__mark{border-radius:var(--radius-sm);object-fit:cover;width:2.5rem;height:2.5rem}.deployment-mode-indicator{border-radius:var(--radius-sm);color:var(--color-attention);background:var(--color-attention-tonal);font-family:var(--font-mono);letter-spacing:.08em;border:1px solid;align-items:center;padding:.1rem .4rem;font-size:.68rem;font-weight:800;display:inline-flex}.app-settings.ui-button--icon{color:var(--color-text-muted);background:0 0;border-color:#0000;margin-left:auto}.app-settings.ui-button--icon:hover{background:var(--color-accent-tonal);color:var(--color-accent-strong)}.app-settings[aria-current=page]{color:var(--color-accent)}.primary-nav--desktop{flex:auto}.primary-nav--mobile{display:none}.primary-nav__items{align-items:center;gap:var(--space-1);flex-wrap:wrap;margin:0;padding:0;list-style:none;display:flex}.primary-nav__items>li>a,.nav-menu__button{align-items:center;gap:var(--space-2);min-height:2.5rem;padding:0 var(--space-3);border-radius:var(--radius-md);color:var(--color-text);font:inherit;cursor:pointer;background:0 0;border:0;font-weight:600;text-decoration:none;display:inline-flex}.primary-nav__icon{display:none}.primary-nav__items>li>a:hover,.nav-menu__button:hover{color:var(--color-accent-strong)}.primary-nav__items>li>a[aria-current=page],.nav-menu__button--active{background:var(--color-accent-tonal);color:var(--color-accent);font-weight:700}.nav-menu__button--open{background:var(--color-surface-elevated)}.nav-menu{position:relative}.nav-menu__icon-wrap{display:inline-flex;position:relative}.nav-menu__dot{background:var(--color-attention);width:.5625rem;height:.5625rem;box-shadow:0 0 0 2px var(--color-bg);border-radius:50%;position:absolute;top:-.1rem;right:-.25rem}.nav-menu__count{background:var(--color-attention-badge);min-width:1.4rem;color:var(--color-attention);border-radius:999px;justify-content:center;align-items:center;padding:0 .4rem;font-size:.75rem;font-weight:800;display:inline-flex}.nav-menu__panel{top:calc(100% + var(--space-2));z-index:50;min-width:15rem;padding:var(--space-2);background:var(--color-surface-elevated);border:1px solid var(--color-border);border-radius:var(--radius-md);box-shadow:var(--shadow-soft);position:absolute;left:0}.nav-menu__panel[hidden]{display:none}.nav-menu__group+.nav-menu__group{margin-top:var(--space-2);padding-top:var(--space-2);border-top:1px solid var(--color-divider)}.nav-menu__heading{padding:var(--space-1) var(--space-3);color:var(--color-text-muted);letter-spacing:.08em;text-transform:uppercase;margin:0;font-size:.75rem;font-weight:700}.nav-menu__group ul{margin:0;padding:0;list-style:none}.nav-menu__group a{justify-content:space-between;align-items:center;gap:var(--space-3);min-height:2.75rem;padding:0 var(--space-3);border-radius:var(--radius-sm);color:var(--color-text);text-decoration:none;display:flex}.nav-menu__group a:hover,.nav-menu__group a:focus-visible{background:var(--color-accent-tonal);color:var(--color-accent-strong)}.nav-menu__group a[aria-current=page]{color:var(--color-accent);font-weight:700}.settings-page{max-width:40rem}.settings-sign-out{margin-top:var(--space-3);padding-left:calc(var(--space-4) + 1px)}.settings-sign-out .ui-button{padding-inline:0}.page-layout,.app-main{width:min(100%,68rem);margin:0 auto;padding:clamp(1.25rem,4vw,3rem)}.page-layout__header,.app-main>h1{max-width:44rem}.page-layout h1,.app-main h1,.sign-in-card h1{margin:0 0 var(--space-4);font-family:var(--font-sans);letter-spacing:-.03em;font-size:clamp(1.7rem,4vw,2.4rem);line-height:1.05}.page-layout__intro{color:var(--color-text-muted);line-height:1.6}.ui-panel,.sign-in-card,.app-main section{background:linear-gradient(180deg, var(--color-surface-strong), var(--color-surface));border:1px solid var(--color-border);border-radius:var(--radius-lg);box-shadow:var(--shadow-soft);padding:var(--space-5)}.sign-in-page{place-items:center;min-height:100vh;padding:clamp(1.25rem,5vw,3rem);display:grid}.sign-in-card{background:radial-gradient(circle at top right, color-mix(in srgb, var(--color-secondary) 8%, transparent), transparent 16rem), linear-gradient(180deg, var(--color-surface-strong), var(--color-surface));width:min(100%,30rem);padding:clamp(1.5rem,5vw,2.25rem)}.sign-in-card__brand{align-items:center;gap:var(--space-3);margin-bottom:var(--space-5);color:var(--color-accent);font-size:1.15rem;font-weight:800;display:flex}.sign-in-card .ui-feedback{color:var(--color-text-muted);margin:0}.sign-in-card .ui-feedback--error{padding:var(--space-3) var(--space-4);border:1px solid var(--color-attention-tonal-edge);border-radius:var(--radius-md);background:var(--color-attention-tonal);color:var(--color-attention);font-weight:600}.sign-in-card .ui-feedback+form{margin-top:var(--space-4)}.sign-in-card form{gap:var(--space-4);display:grid}.ui-field{gap:var(--space-2);display:grid}.ui-field label{color:var(--color-text-muted);font-weight:600}.ui-input{border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--color-surface);width:100%;min-height:2.8rem;color:var(--color-text);outline:none;padding:.7rem .8rem}.ui-input:focus{border-color:var(--color-accent);box-shadow:var(--focus-field)}.ui-button{justify-content:center;align-items:center;gap:var(--space-2);min-height:var(--touch-target);border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);color:var(--color-text);transition:background-color var(--motion-fast), border-color var(--motion-fast), color var(--motion-fast);padding:.6rem 1.1rem;font-size:1rem;font-weight:600;line-height:1.2;text-decoration:none;display:inline-flex}a.ui-button:hover{color:inherit}.ui-button--secondary{min-height:3rem}.ui-button--secondary:hover:not(:disabled){border-color:var(--color-accent-tonal-edge)}.ui-button--primary{border-color:var(--color-accent);border-radius:var(--radius-button);background:var(--color-accent);width:100%;min-height:3.625rem;color:var(--color-on-accent);font-size:1.0625rem;font-weight:800}a.ui-button--primary:hover{color:var(--color-on-accent)}.ui-button--primary:active:not(:disabled){border-color:var(--color-accent-pressed);background:var(--color-accent-pressed);box-shadow:inset 0 3px #00000038}.ui-button--tonal{border-color:var(--color-accent-tonal-edge);background:var(--color-accent-tonal);color:var(--color-accent-hover);font-weight:700}.ui-button--quiet{min-height:var(--touch-target);color:var(--color-accent-strong);background:0 0;border-color:#0000;padding-inline:.5rem;font-weight:700}.ui-button--quiet:hover:not(:disabled){color:var(--color-accent-hover)}.ui-button--danger{border:1.5px solid var(--color-danger);min-height:3.25rem;color:var(--color-danger);background:0 0;font-weight:700}.ui-button--icon{width:var(--touch-target);min-width:var(--touch-target);border-radius:var(--radius-pill);padding:0;font-size:1.25rem}.ui-button--pill,.ui-chip,.ui-segmented__option,.ui-switch__track{position:relative}.ui-switch__track:after{content:"";position:absolute;inset:-8px 0}.ui-button--pill:after,.ui-chip:after,.ui-segmented__option:after{content:"";position:absolute;inset:-3px 0}.ui-button--compact{min-height:var(--touch-target);border-radius:var(--radius-sm);padding:.35rem .8rem;font-size:.875rem}.ui-button--compact.ui-button--quiet{padding-inline:.35rem}.ui-button--add:before{content:"+" / "";font-size:1.125rem;font-weight:800;line-height:1}.ui-button--pill{border-radius:var(--radius-pill);min-height:2.5rem;padding:.4rem 1rem;font-size:.9375rem}.ui-button:disabled{opacity:.5}.ui-button--locked,.ui-button--locked:disabled{border-color:var(--color-surface-strong);background:var(--color-surface-strong);color:var(--color-text-faint);opacity:1}.ui-button[aria-busy=true]{cursor:progress;opacity:1}.ui-button__busy{flex:none;width:1.1rem;height:1.1rem;position:relative}.ui-button__busy:before,.ui-button__busy:after{content:"";background:radial-gradient(circle at calc(100% - 3px),currentColor 2.5px,#0000 3px),linear-gradient(currentColor,currentColor) 0/calc(100% - 3px) 2px no-repeat;width:100%;height:6px;animation:.8s ease-in-out infinite alternate ui-needles-a;position:absolute;top:calc(50% - 3px);left:0;transform:rotate(35deg)}.ui-button__busy:after{animation-name:ui-needles-b;transform:rotate(145deg)}@keyframes ui-needles-a{0%{transform:rotate(25deg)translate(-1px)}to{transform:rotate(50deg)translate(1px)}}@keyframes ui-needles-b{0%{transform:rotate(155deg)translate(-1px)}to{transform:rotate(130deg)translate(1px)}}.ui-button-slot{gap:var(--space-2);display:grid}.ui-button__reason{color:var(--color-text-muted);font:var(--text-caption);margin:0}.sign-in-card .ui-button{width:100%;margin-top:var(--space-1)}.catalog-search{gap:var(--space-4);margin-bottom:var(--space-5);display:grid}.catalog-search__primary{align-items:end;gap:var(--space-3);grid-template-columns:minmax(0,1fr) auto;display:grid}.catalog-search__filters{gap:var(--space-3);padding:var(--space-4);border:1px solid var(--color-border);border-radius:var(--radius-md);background:color-mix(in srgb, var(--color-bg) 34%, transparent);grid-template-columns:repeat(4,minmax(0,1fr));display:grid}.catalog-search__field{gap:.35rem;min-width:0;display:grid}.catalog-search__field>span{color:var(--color-text-muted);letter-spacing:.02em;font-size:.78rem;font-weight:700}.catalog-search__field input,.catalog-search__field select{border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--color-surface);width:100%;min-width:0;min-height:2.65rem;color:var(--color-text);outline:none;padding:.55rem .7rem}.catalog-search__field input:focus,.catalog-search__field select:focus{border-color:var(--color-accent);box-shadow:var(--focus-field)}@media (width<=64rem){.catalog-search__filters{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=40rem){.catalog-search__primary,.catalog-search__filters{grid-template-columns:1fr}.catalog-search__submit{width:100%}}.catalog-list--compact{margin-top:var(--space-5);border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);overflow:hidden}.catalog-list__header,.catalog-row{align-items:center;column-gap:var(--space-4);display:grid}.catalog-list__header{background:var(--color-surface-strong);color:var(--color-text-muted);padding:.25rem .9rem;font-size:1rem;font-weight:700}.ui-column-sort{min-height:var(--touch-target);color:var(--color-text-muted);text-align:left;background:0 0;border:0;border-radius:0;padding:0;font-weight:700}.ui-column-sort:hover,.ui-column-sort[aria-pressed=true]{color:var(--color-text)}.catalog-list__header--yarns,.catalog-row--yarn-catalog{grid-template-columns:minmax(12rem,2fr) minmax(9rem,1.2fr) minmax(6rem,.6fr) minmax(7rem,.7fr)}.catalog-storage--without-status{grid-template-columns:minmax(12rem,2fr) minmax(10rem,1.4fr) minmax(7rem,.7fr)}.catalog-storage--with-status{grid-template-columns:minmax(12rem,2fr) minmax(10rem,1.4fr) minmax(6rem,.7fr)}.catalog-list__header--manufacturers,.catalog-row--manufacturers{grid-template-columns:minmax(14rem,2fr) minmax(6rem,.6fr) minmax(7rem,.7fr)}.shop-list__header,.shop-list__row{grid-template-columns:minmax(12rem,2fr) minmax(7rem,1fr) minmax(9rem,1.2fr)}.shop-list__website{overflow-wrap:anywhere}.catalog-list__header--lots,.catalog-row--lots{grid-template-columns:minmax(7rem,1.2fr) minmax(7rem,1.2fr) minmax(8rem,1.5fr) minmax(5rem,.7fr) minmax(5rem,.6fr)}.catalog-row--lots>*,.catalog-row--lots .catalog-row__origin>*{overflow-wrap:anywhere;grid-row:1;min-width:0}.catalog-row--lots .catalog-row__origin{display:contents}.catalog-row--lots .catalog-row__manufacturer{grid-column:1}.catalog-row--lots .catalog-row__yarn{grid-column:2}.catalog-row--lots .catalog-row__primary{grid-column:3}.catalog-row--lots .catalog-row__dye-lot{grid-column:4}.catalog-row--lots .catalog-row__quantity{grid-column:5}.catalog-row--lots .catalog-row__separator{display:none}.catalog-row--alias{grid-template-columns:minmax(0,1fr) auto}.catalog-row--alias .catalog-row__meta{justify-content:flex-end;gap:var(--space-2);display:flex}.catalog-row--alias input{width:100%}.catalog-alias-form{align-items:center;gap:var(--space-2);margin-top:var(--space-4);grid-template-columns:minmax(0,1fr) auto;display:grid}.catalog-alias-form input{width:100%}.catalog-row{border-top:1px solid var(--color-divider);min-height:3.2rem;padding:.65rem .9rem}.catalog-row:first-of-type{border-top:0}.catalog-row__primary a{font-weight:700;text-decoration:none}.catalog-row__primary a:hover{text-decoration:underline}.catalog-row__manufacturer,.catalog-row__meta{color:var(--color-text-muted)}.catalog-row__label{display:none}.review-yarn-ball{fill:none;width:1.16rem;height:1.16rem;stroke:var(--color-text-muted);stroke-width:1.45px;stroke-linecap:round;stroke-linejoin:round;opacity:.28}.review-yarn-ball__body{fill:#0000}.review-yarn-ball--filled{stroke:var(--color-secondary);opacity:1}.review-yarn-ball--filled .review-yarn-ball__body{fill:color-mix(in srgb, var(--color-secondary) 18%, transparent)}.catalog-pagination{align-items:center;gap:var(--space-4);color:var(--color-text-muted);grid-template-columns:1fr auto auto;padding:.9rem 0;display:grid}.catalog-pagination__size{align-items:center;gap:var(--space-2);white-space:nowrap;display:inline-flex}.catalog-pagination select{border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--color-surface-strong);min-height:2.3rem;color:var(--color-text);padding:.35rem 2rem .35rem .6rem}.catalog-pagination__actions{gap:var(--space-2);display:flex}.catalog-pagination.catalog-pagination--top{justify-content:space-between;align-items:center;gap:var(--space-2) var(--space-4);flex-wrap:wrap;padding:0 0 .9rem;display:flex}.catalog-pagination--top .catalog-pagination__actions{margin-left:auto}.catalog-detail{gap:var(--space-5);margin-top:var(--space-5);display:grid}.catalog-detail__hero{position:relative;overflow:hidden}.catalog-detail__hero--with-image{align-items:stretch;gap:var(--space-5);background:linear-gradient(135deg, color-mix(in srgb, var(--color-secondary) 8%, transparent), transparent 45%), linear-gradient(315deg, color-mix(in srgb, var(--color-accent) 6%, transparent), transparent 45%), linear-gradient(180deg, var(--color-surface-strong), var(--color-surface));grid-template-columns:minmax(0,1fr) minmax(14rem,18rem);display:grid}.catalog-detail__hero-content{z-index:1;align-self:center;position:relative}.catalog-detail__hero:after{content:"";background:radial-gradient(circle, color-mix(in srgb, var(--color-secondary) 14%, transparent), transparent 68%);pointer-events:none;border-radius:50%;width:12rem;height:12rem;position:absolute;inset:auto -4rem -5rem auto}.catalog-detail__hero:before{content:"";border:2px solid color-mix(in srgb, var(--color-accent) 12%, transparent);border-color:color-mix(in srgb, var(--color-accent) 16%, transparent) transparent transparent transparent;pointer-events:none;border-radius:50%;width:15rem;height:3rem;position:absolute;bottom:.6rem;left:-2.5rem;transform:rotate(-8deg)}.catalog-detail__hero h2,.catalog-detail__section h2{margin:var(--space-2) 0}.catalog-detail__eyebrow{color:var(--color-secondary);font-family:var(--font-mono);text-transform:uppercase;letter-spacing:.08em;font-size:.74rem;font-weight:700}.catalog-detail__meta{align-items:center;gap:var(--space-3);margin-top:var(--space-4);flex-wrap:wrap;display:flex}.catalog-status,.catalog-attention{min-height:1.8rem;font-family:var(--font-mono);border:1px solid var(--color-border);border-radius:999px;align-items:center;padding:.2rem .55rem;font-size:.72rem;display:inline-flex}.catalog-status--archived{color:var(--color-text-muted);background:#ffffff08}.test-marker{border:1px solid color-mix(in srgb, var(--color-test) 35%, transparent);color:var(--color-test-text);font-family:var(--font-mono);vertical-align:middle;border-radius:999px;margin-left:.45rem;padding:0 .4rem;font-size:.68rem;line-height:1.4;display:inline-block}.archived-marker{border:1px solid color-mix(in srgb, var(--color-danger) 45%, transparent);color:var(--color-danger);font-family:var(--font-mono);vertical-align:middle;border-radius:999px;margin-left:.45rem;padding:0 .4rem;font-size:.68rem;line-height:1.4;display:inline-block}.shop-closed-marker{border:1px solid var(--color-border);color:var(--color-text-muted);font-family:var(--font-mono);vertical-align:middle;border-radius:999px;margin-left:.45rem;padding:0 .4rem;font-size:.68rem;line-height:1.4;display:inline-block}.catalog-attention{color:var(--color-test-text);border-color:color-mix(in srgb, var(--color-test) 35%, transparent);background:color-mix(in srgb, var(--color-test) 8%, transparent)}.catalog-detail__card,.catalog-detail__section{border:1px solid var(--color-border);border-radius:var(--radius-lg);background:var(--color-surface);box-shadow:var(--shadow-soft)}.catalog-detail__card{padding:var(--space-5)}.catalog-detail__card--accent{border-top-color:color-mix(in srgb, var(--color-secondary) 48%, transparent);background:radial-gradient(circle at 0% 0%, color-mix(in srgb, var(--color-secondary) 8%, transparent), transparent 45%), var(--color-surface)}.catalog-detail__card--soft{border-top-color:color-mix(in srgb, var(--color-accent) 40%, transparent);background:radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--color-accent) 8%, transparent), transparent 45%), var(--color-surface)}.catalog-detail__card dl{gap:.7rem var(--space-4);margin:var(--space-4) 0 0;grid-template-columns:minmax(8rem,1fr) auto;display:grid}.catalog-detail__card dt{color:var(--color-text-muted)}.catalog-detail__card dd{text-align:right;margin:0;font-weight:700}.catalog-detail__note,.catalog-detail__empty{color:var(--color-text-muted)}.catalog-detail__add-lot{gap:var(--space-2);display:grid}.catalog-detail__add-lot-hint{color:var(--color-text-muted);font:var(--text-caption);text-align:center;margin:0}.catalog-detail__note{margin:var(--space-5) 0 0;padding-top:var(--space-4);border-top:1px solid var(--color-border)}.catalog-detail__section{padding:var(--space-5)}.storage-store-search{gap:var(--space-2);margin-top:var(--space-4);font-weight:700;display:grid}.storage-store-search input{border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--color-surface-strong);width:100%;min-width:0;color:var(--color-text);font:inherit;padding:.7rem .85rem}.storage-store-candidate{min-width:0}.storage-store-action{align-items:end;gap:var(--space-3);display:flex}.storage-store-quantity{gap:var(--space-2);color:var(--color-text-muted);font-size:.82rem;font-weight:700;display:grid}.storage-store-quantity__control{align-items:center;gap:var(--space-2);display:flex}.storage-store-quantity input{border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--color-surface-strong);width:7rem;min-width:0;color:var(--color-text);font:inherit;padding:.65rem .75rem}.storage-store-quantity input[aria-invalid=true]{border-color:var(--color-danger)}.storage-store-quantity__error{max-width:18rem;color:var(--color-danger);font-size:.78rem;font-weight:600}.storage-unstore-action{align-items:end;gap:var(--space-3);flex-wrap:wrap;display:flex}.storage-unstore-action__error{color:var(--color-danger);flex-basis:100%;margin:0;font-size:.78rem;font-weight:600}@media (width<=40rem){.storage-unstore-action{width:100%}.storage-store-action{align-items:end;width:100%}.storage-store-quantity{flex:1}.storage-store-quantity__control input{width:100%}}.catalog-detail__section--playful{background:radial-gradient(circle at 15% 0%, color-mix(in srgb, var(--color-secondary) 6%, transparent), transparent 35%), var(--color-surface)}.catalog-detail__section-heading{justify-content:space-between;align-items:center;gap:var(--space-4);display:flex}.catalog-detail__section-heading>span,.catalog-detail__section-actions{justify-content:flex-end;align-items:center;gap:var(--space-2);flex-wrap:wrap;display:flex}.catalog-aliases__error{margin:var(--space-3) 0 0;color:var(--color-danger)}.catalog-lot-list{margin-top:var(--space-4);border-top:1px solid var(--color-border)}.catalog-lot-row{justify-content:space-between;align-items:center;gap:var(--space-4);padding:var(--space-3) 0;border-bottom:1px solid var(--color-border);display:flex}.catalog-lot-row__sub{color:var(--color-text-muted);margin-top:.15rem;font-size:.82rem;display:block}.catalog-lot-row strong{white-space:nowrap}.stored-lot-identity{align-items:flex-start;gap:var(--space-3);min-width:0;display:flex}.stored-lot-identity__text{min-width:0}.lot-cover-thumb{border-radius:var(--radius-sm);background:var(--color-surface-elevated);flex:0 0 3rem;width:3rem;height:3rem;overflow:hidden}.lot-cover-thumb img,.lot-cover-thumb__placeholder{width:100%;height:100%;display:block}.lot-cover-thumb img{object-fit:cover}.storage-contents-switch{margin-top:var(--space-4)}.storage-contents-loose-heading{margin:var(--space-5) 0 0;font-size:1rem;font-weight:700}.storage-contents-tree,.storage-contents-positions,.storage-contents-placements,.storage-contents-summary{margin:0;padding:0;list-style:none}.storage-contents-tree{margin-top:var(--space-4)}.storage-contents-tree--nested{margin-top:var(--space-2);padding-left:var(--space-4);border-left:2px solid var(--color-divider)}.storage-contents-unit{padding-top:var(--space-2);border-top:1px solid var(--color-border)}.storage-contents-tree--nested>.storage-contents-unit{border-top-color:var(--color-divider)}.storage-contents-unit__head{justify-content:space-between;align-items:center;gap:var(--space-4);min-height:var(--touch-target);font-weight:700;display:flex}.storage-contents-unit__head a{overflow-wrap:anywhere;min-width:0}.storage-contents-unit__total,.storage-contents-grams{white-space:nowrap;font-weight:700}.storage-contents-unit__total{color:var(--color-text-muted)}.storage-contents-grams{color:var(--color-text);min-height:var(--touch-target);padding:0 var(--space-2);place-items:center;text-decoration:none;display:inline-grid}.storage-contents-unit__empty{margin:0 0 var(--space-2);color:var(--color-text-muted);font-size:.82rem}.storage-contents-position{padding-left:var(--space-2)}.storage-contents-placements{gap:var(--space-2);margin-top:var(--space-2);flex-wrap:wrap;display:flex}.storage-contents-placements a{min-height:var(--touch-target);padding:0 var(--space-3);align-items:center;gap:var(--space-2);border:1px solid var(--color-divider);border-radius:var(--radius-sm);background:var(--color-surface-strong);overflow-wrap:anywhere;font-size:.82rem;display:inline-flex}.storage-contents-placements__grams{white-space:nowrap;font-weight:700}.storage-contents-placements li{min-width:0;max-width:100%}.storage-contents-position>div,.storage-contents-summary__row>div{overflow-wrap:anywhere;min-width:0}.storage-contents-summary__total{text-align:right;align-self:flex-start}@media (width<=56rem){.primary-nav--desktop{display:none}:root{--edit-bar-bottom:var(--mobile-nav-height)}html{scroll-padding-bottom:6rem}.primary-nav--mobile{z-index:40;width:100%;min-height:var(--mobile-nav-height);background:color-mix(in srgb, var(--color-bg) 97%, transparent);border-top:1px solid var(--color-border);padding:.6rem .75rem;display:block;position:fixed;bottom:0;left:0;right:0}.app-header__topline{gap:var(--space-2);flex-wrap:nowrap}.primary-nav--mobile .primary-nav__items{grid-template-columns:repeat(5,1fr);gap:.25rem;display:grid}.primary-nav--mobile .primary-nav__items>li>a,.primary-nav--mobile .nav-menu__button{border-radius:var(--radius-md);flex-direction:column;justify-content:center;gap:.2rem;width:100%;min-height:3.5rem;padding:.35rem .25rem;font-size:.8rem}.primary-nav--mobile .primary-nav__icon{display:block}.primary-nav--mobile .nav-menu{position:static}.primary-nav--mobile .nav-menu__panel{max-height:calc(100dvh - 9rem);position:fixed;inset:auto .75rem 5.2rem;overflow-y:auto}.page-layout,.app-main{padding-bottom:6.5rem}.catalog-list__header{display:none}.catalog-row,.catalog-row--yarns,.catalog-row--storage,.catalog-row--manufacturers,.catalog-row--lots{grid-template-columns:1fr auto;row-gap:.45rem}.catalog-row__primary,.catalog-row__manufacturer{grid-column:1/-1}.catalog-row--lots .catalog-row__manufacturer,.catalog-row--lots .catalog-row__yarn,.catalog-row--lots .catalog-row__primary,.catalog-row--lots .catalog-row__dye-lot,.catalog-row--lots .catalog-row__quantity{grid-area:auto}.catalog-row--lots .catalog-row__origin{color:var(--color-text-muted);grid-area:auto/1/auto/-1;display:block}.catalog-row--lots .catalog-row__primary{grid-column:1/-1}.catalog-row--lots .catalog-row__separator{display:inline}.catalog-row__label{margin-right:.35rem;display:inline}.catalog-pagination{grid-template-columns:1fr;align-items:stretch}.catalog-pagination__actions{justify-content:space-between}.catalog-detail__hero--with-image{grid-template-columns:1fr}}.force-mobile .primary-nav--desktop{display:none}.force-mobile{--edit-bar-bottom:var(--mobile-nav-height)}html.force-mobile{scroll-padding-bottom:6rem}.force-mobile .primary-nav--mobile{z-index:40;width:100%;min-height:var(--mobile-nav-height);background:color-mix(in srgb, var(--color-bg) 97%, transparent);border-top:1px solid var(--color-border);padding:.6rem .75rem;display:block;position:fixed;bottom:0;left:0;right:0}.force-mobile .app-header__topline{gap:var(--space-2);flex-wrap:nowrap}.force-mobile .primary-nav--mobile .primary-nav__items{grid-template-columns:repeat(5,1fr);gap:.25rem;display:grid}.force-mobile .primary-nav--mobile .primary-nav__items>li>a,.force-mobile .primary-nav--mobile .nav-menu__button{border-radius:var(--radius-md);flex-direction:column;justify-content:center;gap:.2rem;width:100%;min-height:3.5rem;padding:.35rem .25rem;font-size:.8rem}.force-mobile .primary-nav--mobile .primary-nav__icon{display:block}.force-mobile .primary-nav--mobile .nav-menu{position:static}.force-mobile .primary-nav--mobile .nav-menu__panel{max-height:calc(100dvh - 9rem);position:fixed;inset:auto .75rem 5.2rem;overflow-y:auto}.force-mobile .page-layout,.force-mobile .app-main{padding-bottom:6.5rem}.force-mobile .catalog-list__header{display:none}.force-mobile .catalog-row,.force-mobile .catalog-row--yarns,.force-mobile .catalog-row--storage,.force-mobile .catalog-row--manufacturers,.force-mobile .catalog-row--lots{grid-template-columns:1fr auto;row-gap:.45rem}.force-mobile .catalog-row__primary,.force-mobile .catalog-row__manufacturer{grid-column:1/-1}.force-mobile .catalog-row--lots .catalog-row__manufacturer,.force-mobile .catalog-row--lots .catalog-row__yarn,.force-mobile .catalog-row--lots .catalog-row__primary,.force-mobile .catalog-row--lots .catalog-row__dye-lot,.force-mobile .catalog-row--lots .catalog-row__quantity{grid-area:auto}.force-mobile .catalog-row--lots .catalog-row__origin{color:var(--color-text-muted);grid-area:auto/1/auto/-1;display:block}.force-mobile .catalog-row--lots .catalog-row__primary{grid-column:1/-1}.force-mobile .catalog-row--lots .catalog-row__separator{display:inline}.force-mobile .catalog-row__label{margin-right:.35rem;display:inline}.force-mobile .catalog-pagination{grid-template-columns:1fr;align-items:stretch}.force-mobile .catalog-pagination__actions{justify-content:space-between}.force-mobile .catalog-detail__hero--with-image{grid-template-columns:1fr}.lot-passport__hero{gap:var(--space-5);grid-template-columns:minmax(0,1fr) minmax(15rem,20rem);align-items:stretch;display:grid}.lot-passport__hero .catalog-detail__hero-content{align-self:start}.lot-passport__identity{gap:.35rem var(--space-4);margin:var(--space-4) 0 0;grid-template-columns:auto minmax(0,1fr);display:grid}.lot-passport__identity dt{color:var(--color-text-muted)}.lot-passport__identity dd{margin:0;font-weight:700}.lot-passport__remark{margin-top:var(--space-4)}.lot-passport__image{border-radius:calc(var(--radius-lg) - .2rem);background:color-mix(in srgb, var(--color-bg) 44%, transparent);min-height:15rem;overflow:hidden}.lot-passport__image img{object-fit:contain;width:100%;height:100%;min-height:15rem;max-height:24rem;display:block}.lot-passport__image-placeholder{min-height:15rem;padding:var(--space-4);align-content:center;place-items:center;gap:var(--space-2);border:1px dashed color-mix(in srgb, var(--color-secondary) 38%, transparent);border-radius:calc(var(--radius-lg) - .2rem);background:color-mix(in srgb, var(--color-bg) 44%, transparent);color:var(--color-text-muted);text-align:center;display:grid}.lot-passport__image-placeholder>span{color:var(--color-secondary);font-family:var(--font-mono);text-transform:uppercase;letter-spacing:.08em;font-weight:700}.lot-passport__add-stock-section>summary,.lot-passport__gift-section>summary{cursor:pointer}.lot-passport__add-stock-chevron{margin-right:var(--space-2);color:var(--color-text);font-size:1.5rem;line-height:1;transition:transform .15s;display:inline-block;transform:rotate(90deg)}.lot-passport__add-stock-section[open] .lot-passport__add-stock-chevron,.lot-passport__gift-section[open] .lot-passport__add-stock-chevron{transform:rotate(-90deg)}.lot-passport__add-stock,.lot-passport__gift{gap:var(--space-4);margin-top:var(--space-4);padding:var(--space-4);border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface-strong);display:grid}.lot-passport__add-stock>label:first-child{width:fit-content;min-width:10rem}.lot-passport__add-stock>label:first-child select{width:auto;min-width:10rem;max-width:16rem}.lot-passport__add-stock label{color:var(--color-text-muted);gap:.35rem;font-size:.82rem;font-weight:700;display:grid}.lot-passport__add-stock input:not([type=radio]),.lot-passport__add-stock select,.lot-passport__add-stock textarea,.lot-passport__gift input:not([type=radio]),.lot-passport__gift textarea{box-sizing:border-box;border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--color-surface);width:100%;min-width:0;color:var(--color-text);padding:.6rem .7rem}.lot-passport__add-stock textarea,.lot-passport__gift textarea{resize:vertical;min-height:6rem}.lot-passport__add-stock [role=alert],.lot-passport__gift [role=alert]{color:var(--color-danger);margin:0}.lot-passport__correction-form{gap:var(--space-3);min-width:0;margin-top:var(--space-3);padding:var(--space-4);border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface-strong);display:grid}.lot-passport__correction-form input,.lot-passport__correction-form textarea{box-sizing:border-box;border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--color-surface);width:100%;min-width:0;color:var(--color-text);padding:.6rem .7rem}.lot-passport__correction-form textarea{resize:vertical;min-height:5rem}.lot-passport__correction-form [role=alert],.lot-passport__correction-line{overflow-wrap:anywhere;margin:0}.lot-passport__correction-form [role=alert]{color:var(--color-danger)}.lot-passport__correction-actions{justify-content:flex-end;gap:var(--space-2);flex-wrap:wrap;display:flex}.lot-passport__correction-hint{margin:var(--space-2) 0 0;color:var(--color-text-muted)}.lot-passport__not-stored{margin-top:var(--space-2)}.lot-passport__gift-form,.lot-passport__gift-sources,.lot-passport__add-stock-form,.skein-quantity{gap:var(--space-3);min-width:0;display:grid}.skein-quantity>label{gap:var(--space-2);font-weight:700;display:grid}.skein-quantity__total{color:var(--color-text-muted);overflow-wrap:anywhere;margin:0}.skein-quantity__total:empty{display:none}.skein-quantity__persistence{gap:var(--space-2);border:0;min-width:0;margin:0;padding:0;display:grid}.skein-quantity__persistence legend{margin-bottom:var(--space-2);color:var(--color-text-muted);padding:0;font-size:.82rem;font-weight:700}.skein-quantity__persistence label,.lot-passport__add-stock .skein-quantity__persistence label{align-items:center;gap:var(--space-2);color:var(--color-text);overflow-wrap:anywhere;font-size:1rem;font-weight:400;display:flex}.skein-quantity__persistence input[type=radio]{flex:none;margin:0}.lot-passport__stock-current{align-items:baseline;gap:var(--space-3);margin-top:var(--space-3);display:flex}.lot-passport__stock-current strong{font-size:clamp(2rem,6vw,3rem);line-height:1}.lot-passport__stock-current span{color:var(--color-text-muted)}.related-tiles{gap:var(--space-2);margin-top:var(--space-4);grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.record-manage{gap:var(--space-3);display:grid}.record-manage__name{margin:0;font-size:1.1rem}.storage-qr{gap:var(--space-3);text-align:center;justify-items:center;display:grid}.storage-qr__name{overflow-wrap:anywhere;margin:0;font-size:1.1rem}.storage-qr__code{width:min(16rem,100%)}.storage-qr__code img{aspect-ratio:1;width:100%;height:auto;image-rendering:pixelated;display:block}.storage-qr__url{max-width:100%;font-family:var(--font-mono);color:var(--color-text-muted);overflow-wrap:anywhere;font-size:.8rem}.storage-qr__hint{color:var(--color-text-muted);margin:0}.storage-qr__label{gap:var(--space-2);justify-items:center;width:min(20rem,100%);margin:0;display:grid}.storage-qr__label img{aspect-ratio:567/354;border:1px solid var(--color-border);border-radius:var(--radius-sm);width:100%;height:auto;image-rendering:pixelated;background:#fff;display:block}.storage-qr__label figcaption{color:var(--color-text-muted);font-size:.8rem}.print-label{justify-content:center;align-items:center;gap:var(--space-2);flex-wrap:wrap;display:inline-flex}.related-tiles a{justify-content:space-between;gap:var(--space-3);border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--color-surface-strong);padding:.8rem .9rem;font-weight:700;text-decoration:none;display:flex}.related-tiles a:hover{border-color:color-mix(in srgb, var(--color-secondary) 45%, transparent)}@media (width<=56rem){.lot-passport__hero,.related-tiles{grid-template-columns:1fr}.lot-passport__image,.lot-passport__image img,.lot-passport__image-placeholder{min-height:11rem}}.force-mobile .lot-passport__hero,.force-mobile .related-tiles{grid-template-columns:1fr}.lot-gallery{min-width:0}.lot-gallery .lot-passport__image{position:relative}.lot-gallery__counter{right:var(--space-3);bottom:var(--space-3);background:color-mix(in srgb, var(--color-bg) 82%, transparent);color:var(--color-text);font-family:var(--font-mono);border-radius:999px;padding:.25rem .55rem;font-size:.75rem;position:absolute}.lot-gallery__arrow{background:color-mix(in srgb, var(--color-bg) 82%, transparent);border-radius:999px;width:2.4rem;height:2.4rem;font-size:1.7rem;line-height:1;position:absolute;top:50%;transform:translateY(-50%)}.lot-gallery__arrow--previous{left:var(--space-2)}.lot-gallery__arrow--next{right:var(--space-2)}.lot-gallery__thumbnails{gap:var(--space-2);margin-top:var(--space-2);padding-bottom:var(--space-1);display:flex;overflow-x:auto}.lot-gallery__thumbnail{border-radius:var(--radius-sm);opacity:.68;border:2px solid #0000;flex:0 0 4rem;width:4rem;height:4rem;padding:0;overflow:hidden}.lot-gallery__thumbnail img{object-fit:cover;width:100%;height:100%;display:block}.lot-gallery__thumbnail--active{border-color:var(--color-secondary);opacity:1;box-shadow:var(--focus-ring)}.catalog-search-disclosure>summary{justify-content:space-between;align-items:center;gap:var(--space-3);cursor:pointer;margin-bottom:var(--space-3);font-weight:700;display:flex}.catalog-search-disclosure__chevron{border-bottom:2px solid;border-right:2px solid;width:.65rem;height:.65rem;transition:transform .15s;transform:rotate(45deg)}.catalog-search-disclosure[open] .catalog-search-disclosure__chevron{transform:rotate(225deg)}.catalog-search-disclosure:not([open]) .catalog-search{display:none}.manufacturer-form{gap:var(--space-4);display:grid}.manufacturer-form .ui-field input,.shop-fields .ui-field :is(input,textarea){width:100%;min-width:0}.maker-preview{align-items:center;gap:var(--space-4);padding:var(--space-4);border:1px solid var(--color-border);border-radius:var(--radius-card);background:var(--color-surface);display:flex}.maker-preview__name{overflow-wrap:anywhere;margin:0;font-size:1.5rem;font-weight:800}.maker-preview__name--empty{color:var(--color-text-whisper)}.monogram--empty{border-color:var(--color-border);background:var(--color-surface-strong);color:var(--color-text-faint)}.maker-form__review-label{font-size:.875rem;font-weight:700}.maker-form__review{align-items:center;gap:var(--space-2) var(--space-3);flex-wrap:wrap;display:flex}.maker-form__balls{gap:.15rem;display:flex}.maker-form__ball{cursor:pointer;background:0 0;border:1px solid #0000;border-radius:50%;place-items:center;width:2.75rem;height:2.75rem;padding:0;display:grid}.maker-form__ball:hover,.maker-form__ball:focus-visible,.maker-form__ball[aria-checked=true]{border-color:var(--color-accent-tonal-edge)}.maker-form__review-word{color:var(--color-text-muted);font-size:.875rem;font-weight:600}.maker-duplicates ul{margin:var(--space-2) 0;padding-left:1.1rem}.maker-duplicates p,.maker-duplicates h3{margin:var(--space-2) 0 0;font-size:.9375rem}.maker-duplicates__actions{gap:var(--space-2);flex-wrap:wrap;display:flex}.manufacturer-duplicate-warning{margin-top:var(--space-4);padding:var(--space-4);border:1px solid var(--color-border);border-radius:var(--radius-sm)}.yarn-form{gap:var(--gap-cards);align-items:start;max-width:42rem;display:grid}.yarn-form :is(input[type=text],input[type=number],input:not([type]),textarea):not(.ui-stepper__value){border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--color-surface-strong);width:100%;min-width:0;min-height:2.75rem;color:var(--color-text);font:inherit;padding:.7rem .85rem}.yarn-form :is(input,textarea):focus{border-color:var(--color-accent);box-shadow:var(--focus-field);outline:none}.new-yarn-form__steps{gap:var(--gap-cards);min-width:0;display:grid}.new-yarn-page .form-page__header{max-width:42rem}@container (width>=50rem){.new-yarn-page .form-page__header{max-width:calc(42rem + 22rem + var(--gap-cards))}.new-yarn-form.yarn-form{grid-template-columns:minmax(0,42rem) 22rem;max-width:none}.new-yarn-form>.new-yarn-preview{top:calc(var(--app-header-height) + var(--space-4));grid-area:1/2;position:sticky}.new-yarn-form>.new-yarn-form__steps{grid-area:1/1}}.new-yarn-form__actions{gap:var(--space-2);display:grid}.new-yarn-form__failure{align-items:center;gap:var(--space-2);flex-wrap:wrap;display:flex}.new-yarn-form__failure p{color:var(--color-danger);margin:0}.new-yarn-preview{column-gap:var(--space-4);min-width:0;padding:var(--space-4);border:1px solid var(--color-divider);border-radius:var(--radius-card);background:var(--color-surface);grid-template-columns:auto minmax(0,1fr);align-items:center;display:grid}.yarn-form{container-type:inline-size}@container (width<=20rem){.new-yarn-preview{row-gap:var(--space-3);text-align:center;grid-template-columns:minmax(0,1fr);justify-items:center}.new-yarn-preview__bar{width:100%}}.new-yarn-preview__skein{place-items:center;width:7.5rem;display:grid;position:relative}.new-yarn-preview__band{background:var(--color-receipt);width:7rem;color:var(--color-receipt-ink);font:500 .625rem / 1.2 var(--font-mono);outline:1px solid var(--color-receipt-rule);border-radius:.2rem;gap:.1rem;padding:.3rem .45rem;display:grid;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)rotate(-4deg)}.new-yarn-preview__band span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.new-yarn-preview__band-maker{color:var(--color-receipt-muted);letter-spacing:.08em;text-transform:uppercase}.new-yarn-preview__band-name{font-weight:800}.new-yarn-preview__stripe,.new-yarn-preview__bar{border-radius:var(--radius-pill);display:flex;overflow:hidden}.new-yarn-preview__stripe{background:var(--color-receipt-rule);height:.2rem;margin-top:.1rem}.new-yarn-preview__bar{background:var(--color-surface-strong);height:.5rem}.new-yarn-preview__text{gap:var(--space-1);min-width:0;display:grid}.new-yarn-preview__text p{overflow-wrap:anywhere;margin:0}.new-yarn-preview__maker{color:var(--color-text-muted);font:var(--text-label);letter-spacing:.06em;text-transform:uppercase}.new-yarn-preview__name{font:var(--text-form-title)}.new-yarn-preview__facts{font-weight:700}.new-yarn-preview__meterage,.new-yarn-preview__material{color:var(--color-text-muted);font:var(--text-subline)}.new-yarn-preview .new-yarn-preview--empty{color:var(--color-text-faint)}.new-yarn-preview .new-yarn-preview--unknown{color:var(--color-attention)}.yarn-step__chosen{justify-content:space-between;align-items:center;gap:var(--space-2);padding:var(--space-3) var(--space-4);border:1px solid var(--color-accent-tonal-edge);border-radius:var(--radius-md);background:var(--color-accent-tonal);flex-wrap:wrap;display:flex}.yarn-step__chosen--unknown{border-color:var(--color-attention-tonal-edge);background:var(--color-attention-tonal);color:var(--color-attention)}.yarn-step__chosen-name{overflow-wrap:anywhere;min-width:0;margin:0;display:grid}.yarn-step__chosen-name span{font:var(--text-subline)}.yarn-step__matches,.yarn-step__duplicates{gap:var(--space-2);margin:0;padding:0;list-style:none;display:grid}.yarn-step__match,.yarn-step__duplicates li{justify-content:space-between;align-items:center;gap:var(--space-2);overflow-wrap:anywhere;min-width:0;display:flex}.yarn-step__match{min-height:var(--touch-target);padding:var(--space-2) var(--space-3);border:1px solid var(--color-divider);border-radius:var(--radius-md);background:var(--color-surface-elevated)}.yarn-step__question{margin:0 0 var(--space-2)}.yarn-step__add-row{border-style:dashed;justify-content:flex-start}.yarn-step__unknown,.yarn-step__add-row{justify-self:start}.yarn-step__unknown{text-decoration:underline}.yarn-step__similar{color:var(--color-text-muted);font:var(--text-subline);margin:0}.yarn-step__pair{gap:var(--gap-controls);grid-template-columns:repeat(auto-fit,minmax(10rem,1fr));display:grid}.yarn-step__weight{gap:var(--space-2);display:grid}.yarn-step__hint{color:var(--color-text-muted);font:var(--text-caption);margin:0}.yarn-step__properties{gap:var(--space-5);margin-top:var(--space-3);padding-top:var(--space-5);border-top:1px solid var(--color-divider);display:grid}.yarn-step__plies{gap:var(--space-2);justify-items:start;display:grid}.yarn-step__plies-label{font-size:.875rem;font-weight:700}.yarn-weight__suggested{border-radius:var(--radius-pill);background:var(--color-secondary-tonal);color:var(--color-secondary-text);margin-left:.3rem;padding:.05rem .4rem;font-size:.6875rem;font-weight:700}.ui-chip--dashed{border-style:dashed}.yarn-duplicates ul{margin:var(--space-2) 0;padding-left:1.1rem}.yarn-duplicates__actions{gap:var(--space-2);flex-wrap:wrap;display:flex}.yarn-edit-form__review{gap:var(--space-2);display:grid}.yarn-edit-form__review>span{align-items:center;gap:.35rem;font-size:.875rem;font-weight:700;display:inline-flex}.lot-form{gap:var(--space-4);max-width:42rem;display:grid}.lot-form>label{gap:var(--space-2);font-weight:700;display:grid}.lot-form input:not([type=checkbox]):not([type=radio]){border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--color-surface-strong);width:100%;min-width:0;min-height:2.75rem;color:var(--color-text);font:inherit;padding:.7rem .85rem}.lot-form input:focus{border-color:var(--color-accent);box-shadow:var(--focus-field);outline:none}.lot-form>p[role=status]{margin:calc(-1 * var(--space-2)) 0 0;color:var(--color-text-muted)}.lot-form>div[aria-label=Yarn\ matches]{gap:var(--space-2);margin:calc(-1 * var(--space-2)) 0 0;flex-wrap:wrap;display:flex}.lot-form>p[role=alert]{margin:calc(-1 * var(--space-2)) 0 0;color:var(--color-danger)}.lot-form>a{justify-self:start}.lot-form>section[aria-label=Lot\ saves]{gap:var(--space-2);margin-top:var(--space-2);padding-top:var(--space-4);border-top:1px solid var(--color-border);display:grid}.lot-form>section[aria-label=Lot\ saves] ul{margin:0}@media (width<=40rem){.lot-form>button[type=submit]{width:100%}}.force-mobile .lot-form>button[type=submit]{width:100%}.lot-edit-form{gap:var(--space-5);max-width:42rem;display:grid}.lot-edit-form>label{gap:var(--space-2);font-weight:700;display:grid}.lot-edit-form input:not([type=checkbox]),.lot-edit-form textarea{border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--color-surface-strong);width:100%;min-width:0;color:var(--color-text);font:inherit;padding:.7rem .85rem}.lot-edit-form textarea{resize:vertical;min-height:5rem}.lot-edit-form__review>span{font-weight:700}.lot-edit-form__characteristics{gap:var(--space-3);padding:var(--space-4);border:1px solid var(--color-border);border-radius:var(--radius-md);grid-template-columns:repeat(2,minmax(0,1fr));margin:0;display:grid}.lot-edit-form__characteristics>.lot-characteristics__appearance{grid-column:1/-1}.lot-edit-form__characteristics legend{padding:0 var(--space-2);font-weight:700}.lot-edit-form__characteristics label{align-items:center;gap:var(--space-2);display:flex}.lot-edit-form__characteristics input{accent-color:var(--color-accent)}.lot-passport__characteristics{gap:var(--space-2);margin-top:var(--space-4);flex-wrap:wrap;display:flex}.lot-passport__characteristics span{border:1px solid var(--color-border);background:color-mix(in srgb, var(--color-secondary) 8%, transparent);border-radius:999px;padding:.35rem .6rem}@media (width<=40rem){.lot-edit-form__characteristics{grid-template-columns:1fr}}.lot-edit-form__colours{gap:var(--space-4);display:grid}.lot-edit-form__colour{gap:var(--space-3);padding:var(--space-4);border:1px solid var(--color-border);border-radius:var(--radius-md);background:color-mix(in srgb, var(--color-bg) 28%, transparent);display:grid}.lot-edit-form__colour+.lot-edit-form__colour{margin-top:var(--space-2)}.lot-edit-form__related{align-items:center;gap:var(--gap-controls);flex-wrap:wrap;display:flex}.lot-edit-form__related>span{color:var(--color-text-muted);font:var(--text-caption)}.colour-editor__legend{align-items:center;gap:var(--space-3);flex-wrap:wrap;display:flex}.colour-dot{width:1.875rem;height:1.875rem;box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--color-text) 12%, transparent);border-radius:50%;flex:none;display:inline-block}.ui-chip .colour-dot{width:1rem;height:1rem;margin-right:var(--space-2);vertical-align:-.15rem}.colour-dot--large{width:4.5rem;height:4.5rem}.colour-editor__result{align-items:center;gap:var(--space-2) var(--space-3);grid-template-columns:auto minmax(0,1fr) auto;display:grid}.lot-passport__rows>li.lot-passport__colour{column-gap:var(--space-3);grid-template-columns:auto minmax(0,1fr) auto;display:grid}.lot-passport__colour-names,.colour-editor__names{min-width:0;display:grid}.lot-passport__colour-names strong,.colour-editor__names strong{overflow-wrap:anywhere}.lot-passport__colour-names span,.colour-editor__names span{color:var(--color-text-muted);font:var(--text-caption);overflow-wrap:anywhere}.colour-badge{border:1px solid var(--color-border);border-radius:var(--radius-pill);color:var(--color-text-muted);font:var(--text-caption);white-space:nowrap;padding:.15rem .6rem}.colour-badge--main{border-color:var(--color-accent);color:var(--color-accent)}.colour-editor__row-actions{justify-content:flex-end;gap:var(--space-1);flex-wrap:wrap;grid-column:1/-1;display:flex}.colour-editor__editor{gap:var(--space-4);padding-top:var(--space-3);border-top:1px solid var(--color-border);display:grid}.colour-editor__steps{align-items:center;gap:var(--space-1);color:var(--color-text-muted);flex-wrap:wrap;display:flex}.colour-editor__stage{container-type:inline-size}.colour-editor__fine{align-content:start;gap:var(--space-3);min-width:0;display:grid}.colour-wheel{width:min(18rem,100%);margin:0 auto var(--space-4);container-type:inline-size}.colour-wheel--grid{gap:var(--space-3);display:grid}.colour-wheel__preview{align-items:center;gap:var(--space-3);display:flex}.colour-wheel__grid{grid-template-columns:repeat(auto-fill, var(--touch-target));gap:var(--space-2);display:grid}.colour-wheel__swatch{width:var(--touch-target);height:var(--touch-target);border:2px solid var(--color-surface);box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--color-text) 12%, transparent);cursor:pointer;border-radius:50%;padding:0}.colour-wheel__ring{aspect-ratio:1;position:relative}.colour-wheel__option{--wheel-angle:0deg;top:calc(50% - var(--touch-target) / 2);left:calc(50% - var(--touch-target) / 2);width:var(--touch-target);height:var(--touch-target);border:2px solid var(--color-surface);box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--color-text) 12%, transparent);cursor:pointer;transform:rotate(var(--wheel-angle)) translateY(calc(var(--touch-target) / 2 - 50cqw)) rotate(calc(-1 * var(--wheel-angle)));border-radius:50%;padding:0;position:absolute}.colour-wheel__centre-option{pointer-events:auto;width:4.5rem;height:4.5rem;box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--color-text) 12%, transparent);cursor:pointer;border:0;border-radius:50%;padding:0}.colour-wheel__centre-option[data-selected],.colour-wheel__swatch[data-selected],.colour-wheel__option[data-selected]{outline:3px solid var(--color-accent);outline-offset:2px}.colour-wheel__centre{pointer-events:none;inset:calc(var(--touch-target) + var(--space-3));place-items:center;display:grid;position:absolute}.colour-wheel__caption{margin:var(--space-2) 0 0;text-align:center}.colour-wheel__name{font:var(--text-caption);overflow-wrap:anywhere}.colour-editor__shade-row{gap:var(--space-1);display:grid}.colour-editor__shade-row .ui-segmented{grid-template-columns:repeat(auto-fit,minmax(4.75rem,1fr));display:grid}.colour-editor__shade-row .ui-segmented__option{padding-inline:.5rem}.colour-editor__shade-row>span,.colour-editor__hint{color:var(--color-text-muted);font:var(--text-caption)}.colour-editor__hint{margin:0}.colour-editor__close{justify-content:space-between;align-items:center;gap:var(--space-3);flex-wrap:wrap;display:flex}@container (width>=36rem){.colour-editor__stage-grid{align-items:start;gap:var(--space-5);grid-template-columns:18rem minmax(0,1fr);display:grid}.colour-editor__stage-grid .colour-wheel{margin:0}}.lot-edit-form__photos{gap:var(--space-3);padding:var(--space-4);border:1px solid var(--color-border);border-radius:var(--radius-md);background:color-mix(in srgb, var(--color-bg) 28%, transparent);margin:0;display:grid}.lot-edit-form__photos legend{padding:0 var(--space-2);font-weight:700}.lot-photo-gallery{--lot-photo-card-min:7.25rem;grid-template-columns:repeat(auto-fill, minmax(min(100%, max(var(--lot-photo-card-min), (100% - 2 * var(--space-3)) / 3)), 1fr));gap:var(--space-3);margin-bottom:var(--space-4);display:grid}.lot-photo-gallery__item{border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface-strong);min-width:0;position:relative;overflow:visible}.lot-photo-gallery__item--new{border:1px dashed var(--color-accent)}.lot-photo-gallery__new{padding:var(--space-1) var(--space-2) 0;color:var(--color-accent);overflow-wrap:anywhere;margin:0;font-size:.8125rem;font-weight:650}.lot-photo-gallery__item--drop-before:before,.lot-photo-gallery__item--drop-after:after{z-index:2;background:var(--color-secondary);content:"";pointer-events:none;border-radius:999px;width:.25rem;position:absolute;top:-.35rem;bottom:-.35rem}.lot-photo-gallery__item--drop-before:before{left:calc(var(--space-3) / -2 - .125rem)}.lot-photo-gallery__item--drop-after:after{right:calc(var(--space-3) / -2 - .125rem)}.lot-photo-gallery__item img,.lot-photo-gallery__missing{aspect-ratio:1;width:100%}.lot-photo-gallery__item img{border-radius:calc(var(--radius-md) - 1px) calc(var(--radius-md) - 1px) 0 0;object-fit:cover;display:block}.lot-photo-gallery__missing{color:var(--color-text-muted);place-items:center;display:grid}.lot-photo-gallery__meta{gap:var(--space-2);padding:var(--space-2);grid-template-columns:minmax(0,1fr);display:grid}.lot-photo-gallery__meta>span{text-overflow:ellipsis;white-space:nowrap;font-weight:650;overflow:hidden}.lot-photo-gallery__actions{gap:var(--space-2);flex-wrap:wrap;display:flex}.lot-photo-gallery__actions button{flex:0 0 2.75rem;min-width:2.75rem}.lot-photo-gallery__actions button:last-child{flex:1 0 auto}.lot-photo-upload__dropzone{gap:var(--space-4);min-height:8rem;padding:var(--space-4);border:1px dashed color-mix(in srgb, var(--color-secondary) 55%, transparent);border-radius:var(--radius-md);background:color-mix(in srgb, var(--color-secondary) 5%, transparent);grid-template-columns:auto minmax(0,1fr);align-items:center;display:grid}.lot-photo-upload__mark{border:1px solid color-mix(in srgb, var(--color-secondary) 55%, transparent);background:color-mix(in srgb, var(--color-secondary) 12%, transparent);width:3.25rem;height:3.25rem;color:var(--color-secondary);border-radius:50%;place-items:center;padding:0;font-size:1.7rem;line-height:1;display:grid}.lot-photo-upload__input{clip:rect(0 0 0 0)!important;white-space:nowrap!important;border:0!important;width:1px!important;height:1px!important;min-height:0!important;margin:-1px!important;padding:0!important;position:absolute!important;overflow:hidden!important}.lot-photo-upload__prompt{gap:var(--space-1);display:grid}.lot-photo-upload__prompt strong{color:var(--color-text)}.lot-photo-upload__prompt span,.lot-photo-upload__hint{color:var(--color-text-muted)}.lot-photo-upload__hint{font-size:.85rem}.lot-photo-upload__items{gap:var(--space-2);margin:0;padding:0;list-style:none;display:grid}.lot-photo-upload__item{gap:.2rem var(--space-3);border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--color-surface-strong);grid-template-columns:minmax(0,1fr) auto;align-items:center;padding:.7rem .8rem;display:grid}.lot-photo-upload__filename{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-weight:650;overflow:hidden}.lot-photo-upload__status{color:var(--color-text-muted);font-family:var(--font-mono);font-size:.78rem}.lot-photo-upload__item--failed{border-color:color-mix(in srgb, var(--color-danger) 38%, transparent)}.lot-photo-upload__item--failed .lot-photo-upload__status,.lot-photo-upload__error{color:var(--color-danger)}.lot-photo-upload__error{margin:0}.lot-photo-upload__retry{justify-self:start}.purchase-form{gap:var(--gap-cards);align-items:start;max-width:42rem;display:grid}.purchase-form__steps{gap:var(--gap-cards);min-width:0;display:grid}.page-layout:has(.purchase-form--with-preview){container-type:inline-size}.new-purchase-page .form-page__header{max-width:42rem}@container (width>=50rem){.new-purchase-page .form-page__header{max-width:calc(42rem + 22rem + var(--gap-cards))}.purchase-form--with-preview{grid-template-columns:minmax(0,42rem) 22rem;max-width:none}.purchase-form--with-preview>.purchase-preview{top:calc(var(--app-header-height) + var(--space-4));grid-area:1/2;position:sticky}.purchase-form--with-preview>.purchase-form__steps{grid-area:1/1}}.purchase-form__where{gap:var(--space-4);grid-template-columns:minmax(0,1fr) minmax(9rem,12rem);align-items:start;display:grid}.purchase-form__costs{gap:var(--space-4);grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.purchase-form__date,.purchase-form__costs>label,.purchase-form__remark,.purchase-item__price{gap:var(--space-2);min-width:0;display:grid}.purchase-item__weight>label:not(:has(input[type=radio])){gap:var(--space-2);min-width:0;display:grid}.purchase-form input:not([type=radio]):not(.ui-stepper__value){width:100%;min-width:0}.purchase-form__where>[role=alert],.purchase-form .ui-step>[role=alert]{color:var(--color-danger);margin:0}.purchase-form__items{gap:var(--space-3);display:grid}.purchase-item{gap:var(--space-3);min-width:0;padding:var(--space-3) var(--space-4);border:1px solid var(--color-divider);border-radius:var(--radius-md);background:var(--color-surface-elevated);margin:0;display:grid;position:relative}.purchase-item .lot-picker--chosen .lot-picker__label{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.purchase-item__head{align-items:center;gap:var(--space-3);min-width:0;display:flex}.purchase-item__dot{border-radius:50%;flex:none;width:1.5rem;height:1.5rem}.purchase-item__dot--none{background:var(--color-border)}.purchase-item__lot-text{min-width:0;display:grid}.purchase-item__lot-text strong,.purchase-item__lot-text small{overflow-wrap:anywhere}.purchase-item__lot-text small{color:var(--color-text-muted);font:var(--text-subline)}.purchase-item__amounts{align-items:start;gap:var(--space-4);flex-wrap:wrap;display:flex}.purchase-item__skeins{gap:var(--space-2);flex:12rem;min-width:0;display:grid}.purchase-item__price{flex:9rem;max-width:14rem}.purchase-item__weight{gap:var(--space-2);display:grid}.purchase-item__weight>label:has(input[type=radio]){align-items:center;gap:var(--space-2);display:flex}.purchase-item__check{padding:var(--space-3);border:1px solid var(--color-attention-tonal-edge);border-radius:var(--radius-md);background:var(--color-attention-tonal);color:var(--color-attention);overflow-wrap:anywhere;margin:0}.purchase-item__actions{gap:var(--gap-controls);flex-wrap:wrap;display:flex}.purchase-form__another{justify-self:start}.purchase-item__notice{align-items:center;gap:var(--gap-controls);min-width:0;padding:var(--space-3);border:1px solid var(--color-attention-tonal-edge);border-radius:var(--radius-md);background:var(--color-attention-tonal);color:var(--color-attention);flex-wrap:wrap;grid-column:1/-1;display:flex}.purchase-item__notice p{overflow-wrap:anywhere;flex:14rem;margin:0}.purchase-item__total{color:var(--color-text-muted);overflow-wrap:anywhere;grid-column:1/-1;margin:0}.purchase-item__total:empty{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.purchase-item__lot{min-width:0}.purchase-item__lot[hidden]{display:none}.inline-lot{gap:var(--space-3);min-width:0;padding:var(--space-3);border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface-elevated);order:-1;grid-column:1/-1;grid-template-columns:repeat(auto-fit,minmax(min(100%,12rem),1fr));display:grid}.inline-lot>label{gap:var(--space-2);min-width:0;display:grid}.inline-lot__title,.inline-lot__yarn,.inline-lot__matches,.inline-lot>[role=alert],.inline-lot__actions,.inline-lot__new-yarn{grid-column:1/-1}.inline-lot>label:has([name=newLotYarnSearch]){grid-column:1/-1}.inline-lot__new-yarn{justify-self:start}.inline-lot__title{margin:0;font-weight:700}.inline-lot__yarn,.inline-lot>[role=alert]{overflow-wrap:anywhere;margin:0}.inline-lot__matches{gap:var(--space-1);min-width:0;display:grid}.inline-lot__matches>.ui-button{text-align:start;justify-content:flex-start;min-width:0}.inline-lot__actions{gap:var(--gap-controls);flex-wrap:wrap;display:flex}.lot-picker{gap:var(--space-2);min-width:0;display:grid}.lot-picker__state p,.lot-picker__error{overflow-wrap:anywhere;margin:0}.lot-picker__state p{color:var(--color-text-muted);font-size:.875rem}.lot-picker__error{color:var(--color-danger)}.lot-picker__state:empty{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.lot-picker__list{border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface-elevated);min-width:0;margin:0;padding:0;list-style:none;display:grid;overflow:hidden}.lot-picker__list[hidden]{display:none}.lot-picker__option{min-height:var(--touch-target);padding:var(--space-3);overflow-wrap:anywhere;cursor:pointer;display:block}.lot-picker__option+.lot-picker__option{border-top:1px solid var(--color-divider)}.lot-picker__option:hover,.lot-picker__option[aria-selected=true]{background:var(--color-accent-tonal)}.lot-picker__option[aria-selected=true]{box-shadow:inset 3px 0 0 var(--color-accent)}.lot-picker__stock{color:var(--color-text-muted);white-space:nowrap}.lot-picker__chosen{align-items:center;gap:var(--space-2) var(--space-3);flex-wrap:wrap;min-width:0;display:flex}.lot-picker__chosen p{overflow-wrap:anywhere;flex:12rem;min-width:0;margin:0;font-weight:600}.confirm-question{gap:var(--space-3);min-width:0;padding:var(--space-4);border:1px solid var(--color-attention-tonal-edge);border-radius:var(--radius-md);background:var(--color-attention-tonal);color:var(--color-attention);animation:ui-pop var(--motion-panel) ease-out;display:grid}.confirm-question p{overflow-wrap:anywhere;margin:0;font-size:.9375rem;font-weight:600}.confirm-question__actions{gap:var(--gap-controls);flex-wrap:wrap;display:flex}.confirm-question__actions .ui-button{width:auto;min-height:var(--touch-target);flex:8rem}.confirm-overlay{z-index:1000;padding:var(--space-4);background:color-mix(in srgb, var(--color-bg) 70%, transparent);place-items:center;display:grid;position:fixed;inset:0}.confirm-overlay .confirm-question{width:min(28rem,100%);padding:var(--space-5);border-color:var(--color-border);border-radius:var(--radius-lg);background:var(--color-surface-elevated);color:var(--color-text)}.confirm-overlay .confirm-question p{font-size:1.0625rem;font-weight:700}.confirm-overlay .confirm-question{max-height:calc(100dvh - 2 * var(--space-4));overflow-y:auto}.confirm-question__body{gap:var(--space-3);min-width:0;display:grid}.confirm-question .confirm-question__body p,.confirm-overlay .confirm-question .confirm-question__body p{font-size:.9375rem;font-weight:400}.confirm-question__body input:not([type=checkbox]):not([type=radio]){width:100%;min-width:0}.new-yarn{gap:var(--space-3);min-width:0;display:grid}.new-yarn label{gap:var(--space-1);display:grid}.confirm-question .confirm-question__body p.new-yarn__hint{color:var(--color-text-muted);margin:0}.confirm-question__body fieldset{gap:var(--space-2);min-width:0;margin:0;display:grid}.confirm-question__body label{gap:var(--space-2);min-width:0;display:grid}.confirm-question__body [aria-label=Manufacturer\ matches]{gap:var(--gap-controls);flex-wrap:wrap;min-width:0;display:flex}.confirm-question__body .ui-button{max-width:100%;height:auto;min-height:var(--touch-target);white-space:normal;overflow-wrap:anywhere;text-align:start}.confirm-question__body .manufacturer-chooser__new{justify-self:start;width:auto;max-width:max-content}.manufacturer-chooser__create{gap:var(--space-2);min-width:0;display:grid}.confirm-question__body ul{margin:0;padding-inline-start:var(--space-4)}.confirm-question__body li,.confirm-question__body strong{overflow-wrap:anywhere}.purchase-form__actions{gap:var(--space-2);display:grid}.purchase-form__actions .ui-button-slot,.purchase-form__save{width:100%}.purchase-form__failure{align-items:center;gap:var(--space-2);color:var(--color-danger);flex-wrap:wrap;display:flex}.purchase-form__failure p{margin:0}@media (width<=760px){.purchase-form__where,.purchase-form__costs{grid-template-columns:1fr}.purchase-item__price{max-width:none}}.purchase-stats{margin-bottom:var(--gap-cards)}.purchase-months{gap:var(--gap-cards);display:grid}.purchase-month__heading{justify-content:space-between;align-items:baseline;gap:var(--space-3);padding:var(--space-3) var(--space-4) var(--space-1);color:var(--color-text-muted);margin:0;font-size:.8125rem;font-weight:700;display:flex}.purchase-month__name{letter-spacing:.06em;text-transform:uppercase}.purchase-month__sum{font-family:var(--font-mono);font-variant-numeric:tabular-nums}.purchase-row{min-height:4.125rem}.purchase-slip{border-radius:var(--radius-xs) var(--radius-xs) 0 0;background:repeating-linear-gradient(to bottom, transparent 0 .5rem, var(--color-receipt-rule) .5rem .5625rem) .375rem .5rem / 1.375rem 1.375rem no-repeat, var(--color-receipt);width:2.125rem;height:2.625rem;-webkit-mask:linear-gradient(#000 0 0) top / 100% calc(100% - .25rem) no-repeat, conic-gradient(from -45deg at bottom, #000 90deg, #0000 0) bottom / .5rem .25rem repeat-x;mask:linear-gradient(#000 0 0) top / 100% calc(100% - .25rem) no-repeat, conic-gradient(from -45deg at bottom, #000 90deg, #0000 0) bottom / .5rem .25rem repeat-x;flex:none}.purchase-row__no-shop{color:var(--color-text-muted);font-weight:500}.purchase-row__figures{justify-items:end;gap:.125rem;display:grid}.purchase-row__total{font-family:var(--font-mono);font-variant-numeric:tabular-nums;font-weight:700}.purchase-row__date{color:var(--color-text-muted);font-size:var(--text-caption)}.stock-history__row{row-gap:var(--space-1);grid-template-columns:1fr}.stock-history__head{justify-content:space-between;gap:var(--space-2);flex-wrap:wrap;display:flex}.stock-history__balance,.stock-history__hint{color:var(--color-text-muted)}.purchase-details{gap:var(--space-5);display:grid}.purchase-details__summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin:0;display:grid}.purchase-details__summary>div{gap:var(--space-1);padding:var(--space-3) var(--space-4);border-bottom:1px solid var(--color-border);display:grid}.purchase-details__summary dt{color:var(--color-text-muted);letter-spacing:.04em;text-transform:uppercase;font-size:.78rem;font-weight:700}.purchase-details__summary dd{margin:0;font-size:1.05rem;font-weight:650}.purchase-details__unposted{margin:0 0 var(--space-3);color:var(--color-text-muted)}.purchase-details__unbooked,.purchase-form__unbooked{margin:0 0 var(--space-3);font-weight:700}.purchase-form__booked{gap:var(--space-3);min-width:0;display:grid}.purchase-form__booked-note{color:var(--color-text-muted);margin:0}.purchase-item--booked__label{color:var(--color-text-muted);letter-spacing:.04em;text-transform:uppercase;font-size:.78rem;font-weight:700}.purchase-details__remark{grid-column:1/-1}.purchase-details__hero{justify-self:center;width:min(100%,24rem)}.purchase-details__dragon{z-index:1;margin:-1rem calc(-1 * var(--space-5)) 0 auto;pointer-events:none;display:block;position:relative}@media (width<=28rem){.purchase-details__dragon{margin-right:0}}.purchase-details__items-heading{padding:var(--space-3) var(--space-4) var(--space-1);font-size:var(--text-section);margin:0}.purchase-details__items-card .catalog-sort-mobile{padding:0 var(--space-4) var(--space-2)}.purchase-details__empty{padding:0 var(--space-4) var(--space-4);color:var(--color-text-muted)}.receipt{gap:var(--space-1);padding:var(--space-4) var(--space-4) var(--space-5);background:var(--color-receipt);color:var(--color-receipt-ink);font:500 var(--text-subline) / 1.45 var(--font-mono);font-variant-numeric:tabular-nums;-webkit-mask:linear-gradient(#000 0 0) top / 100% calc(100% - .5rem) no-repeat, conic-gradient(from -45deg at bottom, #000 90deg, #0000 0) bottom / 1rem .5rem repeat-x;mask:linear-gradient(#000 0 0) top / 100% calc(100% - .5rem) no-repeat, conic-gradient(from -45deg at bottom, #000 90deg, #0000 0) bottom / 1rem .5rem repeat-x;transition:transform var(--motion-fast);margin:0;display:grid}.receipt--hero:hover{transform:rotate(-.8deg)}@media (prefers-reduced-motion:reduce){.receipt--hero:hover{transform:none}}.receipt p{margin:0}.receipt__shop{letter-spacing:.08em;text-align:center;text-transform:uppercase;font-weight:800}.receipt .receipt__date{margin-bottom:var(--space-2);color:var(--color-receipt-muted);text-align:center}.receipt__lines{gap:var(--space-1);margin:0;padding:0;list-style:none;display:grid}.receipt__line{column-gap:var(--space-3);grid-template-columns:minmax(0,1fr) auto;display:grid}.receipt__name{text-overflow:ellipsis;white-space:nowrap;font-weight:700;overflow:hidden}.receipt__calc{color:var(--color-receipt-muted);grid-column:1}.receipt__line .receipt__amount{grid-area:1/2/span 2;align-self:end}.receipt__row,.receipt .receipt__total{justify-content:space-between;gap:var(--space-3);display:flex}.receipt__row{color:var(--color-receipt-muted)}.receipt__total{margin-top:var(--space-1);padding-top:var(--space-2);border-top:1px dashed var(--color-receipt-rule);text-transform:uppercase;font-weight:800}.receipt__remark{color:var(--color-receipt-muted);font-style:italic}.receipt .receipt__footer{margin-top:var(--space-2);color:var(--color-receipt-muted);text-align:center}@media (width<=760px){.purchase-details__summary{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=40rem){.purchase-details__summary{grid-template-columns:1fr}}.lot-storage-allocation{gap:var(--space-3);margin-top:var(--space-3);padding:var(--space-4);border:1px solid var(--color-border);border-radius:var(--radius-md);background:color-mix(in srgb, var(--color-bg) 28%, transparent);display:grid}.lot-storage-allocation__row{gap:var(--space-3);grid-template-columns:minmax(12rem,1.4fr) minmax(8rem,.7fr) auto;align-items:end;display:grid}.lot-storage-allocation__row label{gap:var(--space-2);min-width:0;color:var(--color-text-muted);font-size:.82rem;font-weight:700;display:grid}.lot-storage-allocation__row select,.lot-storage-allocation__row input{border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--color-surface);width:100%;min-width:0;min-height:2.75rem;color:var(--color-text);padding:.6rem .7rem}.lot-storage-allocation__row>label[hidden]{display:none}.lot-storage-allocation__row-actions{align-items:center;gap:var(--gap-controls);flex-wrap:wrap;min-width:0;display:flex}.lot-storage-allocation>button[type=button],.lot-storage-allocation>button[type=submit]{justify-self:start}.lot-storage-allocation>p{margin:0}.lot-storage-allocation>p[role=alert]{color:var(--color-danger)}@media (width<=40rem){.lot-storage-allocation__row{grid-template-columns:1fr;align-items:stretch}.lot-storage-allocation__row button{justify-self:start}}.catalog-sort-mobile{flex-wrap:wrap;display:none}.catalog-sort-mobile label{justify-content:flex-end;align-items:center;gap:var(--space-2);min-width:0;color:var(--color-text-muted);white-space:nowrap;flex:9rem;font-size:.875rem;font-weight:700;display:flex}.catalog-sort-mobile select{min-width:0;min-height:var(--touch-target);flex:0 12rem;padding-inline:.75rem}.catalog-sort-mobile .ui-button{flex:none}.catalog-sort-mobile--always{justify-content:flex-end;align-items:center;gap:var(--space-2);margin:var(--space-3) 0;display:flex}@media (width<=48rem){.catalog-sort-mobile{align-items:center;gap:var(--space-2);display:flex}}html.force-mobile .catalog-sort-mobile{align-items:center;gap:var(--space-2);display:flex}.home-dashboard{gap:var(--space-4);grid-template-columns:minmax(0,1fr);max-width:48rem;display:grid;container-type:inline-size}.home-find{gap:var(--space-3);grid-template-columns:minmax(0,1fr);display:grid}@container (width>=36rem){.home-find{grid-template-columns:minmax(0,1fr) auto}.home-find .ui-button.home-scan{width:auto;min-height:3.125rem;padding-inline:var(--space-5);border-radius:var(--radius-md);font-size:1rem}.home-find .ui-button.home-scan .home-icon{width:20px;height:20px}}.home-card{min-width:0;padding:var(--space-4) var(--space-4) var(--space-4);border:1px solid var(--color-border);border-radius:var(--radius-card);background:var(--color-surface)}.home-card__title{align-items:center;gap:var(--space-2);margin:0;font-size:1rem;font-weight:700;display:flex}.home-card__title .home-icon{color:var(--color-accent);flex:none}.home-card__state{margin:var(--space-3) 0 0;color:var(--color-text-muted)}.home-card__state p{margin:0 0 var(--space-2)}.home-card__state[role=alert],.home-card__state[role=alert] p{color:var(--color-text)}.excluded-records{margin:var(--space-3) 0 0;color:var(--color-text-muted);font-size:.9em}.home-bar{border-radius:var(--radius-pill);background:var(--color-surface-elevated);min-width:0;height:.625rem;display:flex;overflow:hidden}.home-bar__fill{border-radius:var(--radius-pill);height:100%;display:block}.home-bar__fill--added{background:var(--color-accent)}.home-bar__fill--removed{background:var(--color-text-muted)}.home-search{align-items:center;gap:var(--space-3);min-height:3.125rem;padding:0 var(--space-4);border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);color:var(--color-text-muted);display:flex}.home-search:focus-within{border-color:var(--color-accent);box-shadow:var(--focus-field)}.home-search input:focus{box-shadow:none}.home-search .home-icon{flex:none}.home-search input{width:100%;min-width:0;min-height:2.75rem;color:var(--color-text);font:inherit;background:0 0;border:0;outline:0;flex:1;font-size:1rem}.home-search input::-webkit-search-cancel-button{display:none}.ui-button.home-scan{justify-content:center;gap:var(--space-3);border-radius:var(--radius-card);width:100%;min-height:4rem;font-size:1.125rem;font-weight:800;text-decoration:none;display:flex}.ui-button.home-scan .home-icon{flex:none}.home-status{min-width:0;container-type:inline-size}.ui-stat-bar.home-status__bar{grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-flow:row;display:grid;overflow:hidden}.ui-stat-bar.home-status__bar:has(>div:nth-child(4)){grid-template-columns:repeat(4,minmax(0,1fr))}@container (width<=30rem){.ui-stat-bar.home-status__bar:has(>div:nth-child(4)){grid-template-columns:repeat(2,minmax(0,1fr))}}.ui-stat-bar.home-status__bar>div{padding-inline:var(--space-3);box-shadow:-1px 0 0 var(--color-divider), 0 -1px 0 var(--color-divider)}.ui-stat-bar.home-status__bar>div+div{border-left:0}.ui-stat-bar.home-status__bar dd{overflow-wrap:anywhere}.home-status__test{margin:0 0 var(--space-2)}.home-test-card{align-items:center;gap:var(--space-3);padding:var(--space-3);border:1px solid var(--color-test);border-radius:var(--radius-card);background:var(--color-test-tonal);display:flex}.home-test-card__toy{cursor:pointer;border-radius:var(--radius-lg);background:0 0;border:0;flex:none;max-width:45%;padding:0;overflow:hidden}.home-test-card__toy img{max-width:100%;height:auto;transition:transform .24s ease-out;display:block}.home-test-card__toy--zoomed img{transform:scale(1.18)}.home-test-card__words{gap:var(--space-1);min-width:0;display:grid}.home-test-card__words h3{color:var(--color-test-text);margin:0;font-size:1.0625rem;font-weight:800}.home-test-card__words p{color:var(--color-text-muted);margin:0}.home-dashboard__attention{align-items:center;gap:var(--space-3);min-height:3rem;padding:var(--space-2) var(--space-4);border:1px solid var(--color-attention-tonal-edge);border-radius:var(--radius-md);background:var(--color-attention-tonal);color:var(--color-attention);font-weight:600;text-decoration:none;display:flex}.home-dashboard__attention .home-icon{flex:none}.home-dashboard__attention-text{flex:1;min-width:0}.home-dashboard__attention-checked{color:var(--color-text-muted);font-size:.875rem;font-weight:400}.home-dashboard__attention:hover,.home-dashboard__attention:focus-visible{border-color:var(--color-attention)}.home-dashboard__attention-unavailable{color:var(--color-text-muted);margin:0;font-size:.875rem}.home-activity__period{margin:var(--space-1) 0 0;color:var(--color-text-muted);font-size:.875rem}.home-activity__figures{gap:var(--space-2);margin:var(--space-3) 0 0;display:grid}.home-activity__row{align-items:center;gap:var(--space-3);grid-template-columns:4.5rem minmax(0,1fr);display:grid}.home-activity__row dt{font-size:.875rem}.home-activity__row dd{align-items:center;gap:var(--space-3);grid-template-columns:minmax(2rem,1fr) auto;min-width:0;margin:0;display:grid}.home-activity__grams{text-align:right;white-space:nowrap;font-weight:700}.home-activity__foot{justify-content:space-between;align-items:center;gap:var(--space-2) var(--space-3);margin-top:var(--space-4);flex-wrap:wrap;display:flex}.home-activity__net{align-items:center;gap:var(--space-2);padding:var(--space-1) var(--space-3);border:1px solid var(--color-divider);border-radius:var(--radius-pill);background:var(--color-surface-elevated);color:var(--color-text);font-weight:700;display:inline-flex}.home-activity__net[data-direction=grew]{border-color:var(--color-accent-tonal-edge);background:var(--color-accent-tonal);color:var(--color-accent-strong)}.home-activity__net[data-direction=shrank]{border-color:var(--color-secondary-tonal-edge);background:var(--color-secondary-tonal);color:var(--color-secondary-text)}.home-activity__details{align-items:center;gap:var(--space-1);text-decoration:none;display:inline-flex}.home-fresh{min-width:0}.home-fresh__head{justify-content:space-between;align-items:baseline;gap:var(--space-3);display:flex}.home-fresh__title{letter-spacing:-.02em;margin:0;font-size:1.1875rem;font-weight:800}.home-fresh__all{font-weight:600}.home-fresh__dragon{align-items:flex-end;gap:var(--space-1);margin-top:var(--space-2);display:flex}.home-fresh__bubble{min-width:0;margin:0 0 var(--space-4);padding:var(--space-2) var(--space-3);border:1px solid var(--color-border);background:var(--color-surface-elevated);border-radius:.875rem .875rem .25rem;flex:1;font-weight:600;line-height:1.3}.home-fresh__art{z-index:1;max-width:45%;height:auto;margin:0 var(--space-3) -1.125rem 0;flex:none;position:relative}.home-fresh .ui-list-card{padding-top:var(--space-4);position:relative}.force-mobile .lot-edit-form__characteristics{grid-template-columns:1fr}.needs-attention__toolbar{justify-content:space-between;align-items:center;gap:var(--space-3);min-height:var(--touch-target);margin-bottom:var(--space-4);flex-wrap:wrap;display:flex}.needs-attention__status{align-items:center;gap:var(--space-2);min-width:0;color:var(--color-text-muted);flex:8.5rem;margin:0;font-size:.875rem;font-weight:600;display:flex}.needs-attention__status--failed{color:var(--color-danger)}.needs-attention__tick{color:var(--color-accent);flex:none}.needs-attention__dots{flex:none;gap:3px;display:inline-flex}.needs-attention__dots span{background:var(--color-accent);border-radius:50%;width:6px;height:6px;animation:1s ease-in-out infinite needs-attention-dot}.needs-attention__dots span:nth-child(2){animation-delay:.2s}.needs-attention__dots span:nth-child(3){animation-delay:.4s}@keyframes needs-attention-dot{0%,to{opacity:.25}50%{opacity:1}}.needs-attention__toolbar .ui-button{flex:none;align-items:center;gap:.375rem;display:inline-flex}.needs-attention__critical,.needs-attention__failed{margin:0 0 var(--space-4);padding:var(--space-3) .875rem;border:1px solid var(--color-danger-tonal-edge);border-radius:var(--radius-md);background:var(--color-danger-tonal);color:var(--color-danger-text);font-size:.875rem;line-height:1.4}.needs-attention__critical{align-items:flex-start;gap:var(--space-3);display:flex}.needs-attention__critical p,.needs-attention__failed p{overflow-wrap:break-word;min-width:0;margin:0}.needs-attention__critical strong,.needs-attention__failed strong{color:var(--color-danger);font-size:.9375rem;font-weight:800;display:block}.needs-attention__failed strong{margin-bottom:var(--space-1)}.needs-attention__failed p+p{margin-top:var(--space-1)}.needs-attention__mark{background:var(--color-danger);width:1.75rem;height:1.75rem;color:var(--color-bg);border-radius:50%;flex:none;justify-content:center;align-items:center;font-weight:900;display:flex}.needs-attention__group+.needs-attention__group{margin-top:var(--space-5)}.needs-attention__group h2,.needs-attention__group h3{align-items:center;gap:var(--space-2);width:fit-content;margin:0 0 var(--space-2) var(--space-1);color:var(--severity-ink);letter-spacing:.06em;text-transform:uppercase;font-size:.8125rem;font-weight:800;display:flex}.needs-attention__group{--severity-ink:var(--color-text-muted);--severity-tint:var(--color-surface-elevated);--severity-edge:var(--color-border)}.needs-attention__group--critical{--severity-ink:var(--color-danger);--severity-tint:var(--color-danger-tonal);--severity-edge:var(--color-danger-tonal-edge)}.needs-attention__group--attention{--severity-ink:var(--color-attention);--severity-tint:var(--color-attention-tonal)}.needs-attention__dot{background:var(--severity-ink);border-radius:50%;flex:none;width:10px;height:10px}.needs-attention__count{font-weight:700}.needs-attention__card{border:1px solid var(--severity-edge);border-radius:var(--radius-lg);background:var(--color-surface);overflow:hidden}.needs-attention__finding{align-items:start;column-gap:var(--space-3);min-height:4rem;padding:.625rem var(--space-4);grid-template-columns:auto minmax(0,1fr)}.needs-attention__icon{border-radius:var(--radius-xs);background:var(--severity-tint);width:2.125rem;height:2.125rem;color:var(--severity-ink);justify-content:center;align-items:center;display:flex}.needs-attention__body{gap:.125rem;min-width:0;display:grid}.needs-attention__body>*{overflow-wrap:break-word;min-width:0}.needs-attention__rule{font-size:.9375rem;font-weight:800}.needs-attention__target{justify-self:start;font-size:.875rem;font-weight:600}span.needs-attention__target{color:var(--color-text)}.needs-attention__detail{color:var(--color-text-muted);font-size:.8125rem;line-height:1.35}.needs-attention__related{gap:var(--space-2);margin:var(--space-1) 0 0;flex-wrap:wrap;padding:0;list-style:none;display:flex}.needs-attention__related li{min-width:0;max-width:100%}a.needs-attention__pill{box-sizing:border-box;background:var(--color-surface-elevated);max-width:100%;min-height:1.875rem;color:var(--color-text);overflow-wrap:anywhere;border-radius:15px;align-items:center;gap:.375rem;padding:.25rem .75rem;font-size:.8125rem;font-weight:700;text-decoration:none;display:inline-flex}a.needs-attention__pill:after{content:"›";color:var(--color-text-muted)}a.needs-attention__pill:hover,a.needs-attention__pill:focus-visible{text-decoration:underline}.needs-attention__head--watched{margin-bottom:var(--space-3);grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"main main""bubble dragon""door dragon";align-items:end;column-gap:.375rem;display:grid}.needs-attention__head--over-banner{margin-bottom:-18px}.needs-attention__head-main{grid-area:main;min-width:0}.needs-attention__inspector{display:contents}.needs-attention__head--watched .needs-attention__bubble{max-width:22rem;margin:0 0 var(--space-3);grid-area:bubble;justify-self:end}.needs-attention__head--watched:not(.needs-attention__head--door) .needs-attention__bubble{margin-bottom:3.375rem}.needs-attention__head--watched .needs-attention__door{margin:0 0 var(--space-3);grid-area:door;justify-content:flex-start}.needs-attention__head--over-banner .needs-attention__door{margin-bottom:calc(18px + var(--space-3))}.needs-attention__head--watched .needs-attention__inspector-button{z-index:1;grid-area:dragon;align-self:end;position:relative}@media (width<=22.5rem){.needs-attention__inspector-button img{width:96px;height:auto}}@media (width>=56rem){.needs-attention__head--watched{column-gap:var(--space-3);grid-template-columns:minmax(0,1fr) minmax(0,22rem) auto;grid-template-areas:"main bubble dragon""door bubble dragon"}.needs-attention__head--watched .needs-attention__head-main{align-self:start}.needs-attention__head--watched .needs-attention__toolbar{justify-content:flex-start;column-gap:var(--space-5)}.needs-attention__head--watched .needs-attention__status{flex:0 auto}.needs-attention__head--watched .needs-attention__bubble,.needs-attention__head--watched:not(.needs-attention__head--door) .needs-attention__bubble{margin-bottom:3.375rem}}.needs-attention__bubble{min-width:0;padding:var(--space-2) var(--space-3);background:var(--color-surface-elevated);color:var(--color-text);overflow-wrap:break-word;animation:needs-attention-say var(--motion-panel) ease-out;border-radius:14px 14px 4px;font-size:.8125rem;font-weight:600;line-height:1.35}@keyframes needs-attention-say{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}.needs-attention__head--over-banner+.needs-attention__critical{padding-top:calc(18px + var(--space-2))}.needs-attention__inspector-button{border-radius:var(--radius-md);cursor:pointer;transform-origin:50% 100%;background:0 0;border:0;flex:none;padding:0;transition:transform .3s cubic-bezier(.3,1.6,.6,1)}.needs-attention__inspector-button img{display:block}.needs-attention__inspector--lean{transform:rotate(-3deg)scale(1.04)}@media (prefers-reduced-motion:reduce){.needs-attention__inspector--lean{transform:none}}.needs-attention__all-clear{align-items:center;gap:var(--space-2);border:1px solid var(--color-border);border-radius:var(--radius-lg);background:var(--color-surface);text-align:center;flex-direction:column;padding:1.625rem 1.25rem;display:flex}.needs-attention__all-clear p{color:var(--color-text-muted);margin:0;font-size:.875rem;line-height:1.45}.needs-attention__all-clear p.needs-attention__all-clear-title{color:var(--color-text);font-size:1.25rem;font-weight:800}.open-findings .catalog-detail__section-heading{margin-bottom:var(--space-2)}.open-findings__checked,.open-findings__unavailable{margin:0 0 var(--space-3);color:var(--color-text-muted);font-size:.9rem}.open-findings__all,.lot-passport__colours-link{margin:var(--space-4) 0 0}.needs-attention__return{margin:var(--space-3) var(--space-4) 0}.save-feedback{--save-feedback-height:2rem;min-height:var(--save-feedback-height);margin:var(--space-2) 0 0}.save-feedback p{margin:0}.save-feedback__status--pending{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.save-feedback__status--success{box-sizing:border-box;height:var(--save-feedback-height);align-items:center;gap:var(--space-2);width:fit-content;padding:0 var(--space-3);border:1px solid var(--color-accent-tonal-edge);border-radius:var(--radius-pill);background:var(--color-accent-tonal);color:var(--color-accent-hover);animation:ui-fade var(--motion-panel) ease-out;font-weight:700;display:flex}.save-feedback__status--success:before{background:var(--color-accent);width:1.25rem;height:1.25rem;color:var(--color-on-accent);content:"✓" / "";border-radius:50%;place-items:center;font-size:.75rem;display:grid}.save-feedback__error{line-height:var(--save-feedback-height);color:var(--color-danger)}.saved-notice{width:min(100%,68rem);margin:clamp(1.25rem,4vw,3rem) auto 0;padding:0 clamp(1.25rem,4vw,3rem)}.saved-notice+.page-layout{padding-top:var(--space-4)}.session-expired-notice{align-items:center;gap:var(--space-3) var(--space-4);width:min(100% - 2*clamp(1.25rem,4vw,3rem),68rem - 2*clamp(1.25rem,4vw,3rem));padding:var(--space-3) var(--space-4);border:1px solid var(--color-attention-tonal-edge);border-radius:var(--radius-md);background:var(--color-attention-tonal);color:var(--color-text);flex-wrap:wrap;margin:clamp(1.25rem,4vw,3rem) auto 0;display:flex}.session-expired-notice p{flex:18rem;margin:0}.session-expired-notice strong{color:var(--color-attention)}.composition__view{gap:var(--space-3);justify-items:start;display:grid}.composition__view p{margin:0}.composition__summary{overflow-wrap:anywhere;font-weight:700}.composition__remark{white-space:pre-line;overflow-wrap:anywhere}.composition{min-width:0}.composition-editor{gap:var(--space-3);grid-template-columns:minmax(0,1fr);display:grid}.composition-editor__row{align-items:center;gap:var(--space-2);padding-bottom:var(--space-2);border-bottom:1px solid var(--color-border);flex-wrap:wrap;display:flex}.composition-editor__material{gap:var(--space-2);flex-wrap:wrap;flex:12rem;min-width:0;display:flex}.composition-editor__row select{flex:12rem;min-width:0}.composition-editor__row .composition-editor__variety{flex-basis:9rem}.composition-editor__notice{color:var(--color-text-muted);flex-basis:100%;margin:0;font-size:.9em}.composition-editor__share{align-items:center;gap:var(--space-2);margin-left:auto;display:flex}.composition-editor__percent{align-items:center;gap:var(--space-1);display:inline-flex}.composition-editor__percent input{text-align:right;width:4.5rem}.composition-editor__total{justify-self:start;font-weight:700}.composition-editor__total--done,.composition-editor__total--open{border-radius:var(--radius-pill);font:var(--text-subline);border:1px solid;padding:.15rem .6rem;font-weight:700}.composition-editor__total--done{border-color:var(--color-accent-tonal-edge);background:var(--color-accent-tonal);color:var(--color-accent-hover)}.composition-editor__total--open{border-color:var(--color-attention-tonal-edge);background:var(--color-attention-tonal);color:var(--color-attention)}.composition-editor>button{justify-self:start}.composition-editor__remark{gap:var(--space-1);display:grid}.composition-editor__remark textarea{resize:vertical;width:100%;min-height:0}.composition-editor__hint{color:var(--color-text-muted);margin:0;font-size:.9em}.composition--in-form{gap:var(--space-3);padding-top:var(--space-4);border-top:1px solid var(--color-border);display:grid}.composition--in-form .catalog-detail__section-heading h2{margin:0}.ui-step>.composition--in-form{border-top:0;padding-top:0}.ui-field{gap:.4rem;min-width:0;display:grid}.ui-field>label{color:var(--color-text);align-items:center;gap:.35rem;font-size:.875rem;font-weight:700;display:inline-flex}.ui-field__need{color:var(--color-text-muted);font-weight:500}.ui-field__hint{color:var(--color-text-muted);font:var(--text-caption);margin:0}.ui-check{gap:var(--space-1);display:grid}.ui-check__row{align-items:center;gap:var(--space-3);cursor:pointer;min-height:48px;font-weight:700;display:inline-flex}.ui-check__row input[type=checkbox]{flex:none;width:1.375rem;height:1.375rem;margin:0}.ui-check__row:has(input:disabled){cursor:default;opacity:.6}.ui-field__changed{background:var(--color-accent);border-radius:50%;width:.4375rem;height:.4375rem}.ui-field--changed :is(input,select,textarea){border-color:var(--color-accent);box-shadow:inset 3px 0 0 var(--color-accent)}.ui-step,.ui-chip-group{border:1px solid var(--color-divider);min-width:0;padding:var(--space-4);border-radius:1.25rem;margin:0}.ui-step{gap:var(--gap-blocks);display:grid}.ui-step>legend,.ui-chip-group>legend{color:var(--color-accent-strong);font:var(--text-label);letter-spacing:.06em;text-transform:uppercase;padding:0 .4rem}.ui-step__suffix,.ui-chip-group__mode{color:var(--color-text-muted);letter-spacing:0;text-transform:none;font-weight:500}.ui-chip-group{border:0;padding:0}.ui-chip-group>legend{padding:0 0 var(--space-2)}.ui-chip-group__chips{gap:var(--space-2);flex-wrap:wrap;display:flex}.ui-chip{border:1px solid var(--color-border);background:var(--color-surface);min-height:2.5rem;color:var(--color-text);border-radius:1.25rem;padding:.45rem .95rem;font-size:.875rem;font-weight:700}.ui-chip[aria-pressed=true]{border-color:var(--color-accent);background:var(--color-accent-tonal);color:var(--color-accent-hover)}.ui-segmented{border:1px solid var(--color-border);background:var(--color-surface);border-radius:.875rem;gap:3px;padding:3px;display:inline-flex}.ui-segmented__option{border-radius:var(--radius-xs);min-height:2.5rem;color:var(--color-text-muted);background:0 0;border:0;padding:.35rem 1rem;font-weight:700}.ui-segmented__option:is([aria-selected=true],[aria-checked=true]){background:var(--color-surface-elevated);color:var(--color-text)}.ui-segmented--lifecycle .ui-segmented__option:is([aria-selected=true],[aria-checked=true]){background:var(--color-accent-tonal);color:var(--color-accent-hover)}.ui-stepper{justify-items:center;gap:var(--space-1);display:grid}.ui-stepper__row{align-items:center;gap:var(--space-4);display:flex}.ui-stepper .ui-button--icon{width:3.25rem;min-width:3.25rem;min-height:3.25rem}.ui-stepper .ui-stepper__more{border-color:var(--color-accent-tonal-edge);background:var(--color-accent-tonal);color:var(--color-accent-hover)}.ui-stepper__value{letter-spacing:-.02em;text-align:center;min-width:3ch;font-size:1.875rem;font-weight:800}.ui-stepper__note{color:var(--color-text-muted);font:var(--text-subline);margin:0}.ui-switch{justify-content:space-between;align-items:center;gap:var(--space-3);min-height:var(--touch-target);display:flex}.ui-switch__track{border-radius:var(--radius-pill);background:var(--color-border);width:3.25rem;height:1.875rem;transition:background-color var(--motion-fast);border:0;flex:none;padding:0;position:relative}.ui-switch__knob{background:var(--color-text);width:1.5rem;height:1.5rem;transition:transform var(--motion-fast);border-radius:50%;position:absolute;top:3px;left:3px}.ui-switch__track[aria-checked=true]{background:var(--color-accent)}.ui-switch__track[aria-checked=true] .ui-switch__knob{background:var(--color-on-accent);transform:translate(1.375rem)}.ui-notice{align-items:center;gap:var(--space-3);padding:var(--space-3) var(--space-4);border-radius:var(--radius-md);animation:ui-pop var(--motion-panel) ease-out;border:1px solid;font-size:.875rem;font-weight:600;display:flex}.ui-notice__text{flex:1;min-width:0}.ui-notice--attention{border-color:var(--color-attention-tonal-edge);background:var(--color-attention-tonal);color:var(--color-attention)}.ui-notice--success{border-color:var(--color-accent-tonal-edge);background:var(--color-accent-tonal);color:var(--color-accent-hover)}.ui-notice__tick{background:var(--color-accent);border-radius:50%;flex:none;place-items:center;width:1.5rem;height:1.5rem;display:grid}.ui-notice__tick:after{border:solid var(--color-on-accent);content:"";border-width:0 2.5px 2.5px 0;width:.35rem;height:.65rem;margin-top:-.15rem;transform:rotate(45deg)}@keyframes ui-fade{0%{opacity:0}}@keyframes ui-pop{0%{opacity:0;transform:scale(.96)}to{opacity:1;transform:none}}.ui-list-card{border:1px solid var(--color-border);border-radius:var(--radius-card);background:var(--color-surface);overflow:hidden}.ui-list-card__heading{padding:var(--space-3) var(--space-4) var(--space-1);color:var(--color-text-muted);letter-spacing:.06em;text-transform:uppercase;margin:0;font-size:.8125rem;font-weight:700}.ui-list-card__rows{margin:0;padding:0;list-style:none}.ui-list-card__rows>li+li{border-top:1px solid var(--color-divider)}.ui-row{align-items:center;gap:var(--space-3);width:100%;min-height:3.875rem;padding:var(--space-2) var(--space-4);color:var(--color-text);text-align:left;background:0 0;border:0;border-radius:0;text-decoration:none;display:flex}a.ui-row:hover,button.ui-row:hover{background:var(--color-surface-elevated);color:var(--color-text)}.ui-row__dot{border-radius:50%;flex:none;width:1.875rem;height:1.875rem}.ui-row__dot--none{background:var(--color-border)}.ui-row__picture{border-radius:var(--radius-sm);background:var(--color-surface-elevated);object-fit:cover;flex:none;width:3rem;height:3rem}.ui-row__body{flex:1;min-width:0;display:grid}.ui-row__title{text-overflow:ellipsis;white-space:nowrap;font-size:1rem;font-weight:600;overflow:hidden}.ui-row__sub{color:var(--color-text-muted);font:var(--text-subline);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.ui-row__picked{color:var(--color-accent-strong);font:var(--text-subline);font-weight:700}.ui-row__trail{justify-content:flex-end;align-items:center;gap:var(--space-2);flex:none;display:flex}.ui-row__chevron{border:solid var(--color-text-muted);border-width:0 2px 2px 0;width:.5rem;height:.5rem;margin-inline:.25rem .125rem;transform:rotate(-45deg)}.ui-row__tick{border:1.5px solid var(--color-border);border-radius:.5rem;flex:none;place-items:center;width:1.875rem;height:1.875rem;display:grid}.ui-row[aria-pressed=true] .ui-row__tick{border-color:var(--color-accent);background:var(--color-accent)}.ui-row[aria-pressed=true] .ui-row__tick:after{border:solid var(--color-on-accent);content:"";border-width:0 2.5px 2.5px 0;width:.35rem;height:.65rem;margin-top:-.15rem;transform:rotate(45deg)}.ui-row--dimmed :is(.ui-row__title,.ui-row__dot){opacity:.55}.ui-quantity{white-space:nowrap;justify-items:end;display:grid}.ui-quantity__grams{font-size:.9375rem;font-weight:700}.ui-quantity__skeins{color:var(--color-text-muted);font-size:.75rem;font-weight:600}.ui-chip-status{white-space:nowrap;border:1px solid;border-radius:.8125rem;align-items:center;min-height:1.625rem;padding:0 .6rem;font-size:.75rem;font-weight:700;display:inline-flex}.ui-chip-status--check{border-color:var(--color-attention-tonal-edge);background:var(--color-attention-tonal);color:var(--color-attention)}.ui-chip-status--gift{border-color:var(--color-secondary-tonal-edge);background:var(--color-secondary-tonal);color:var(--color-secondary-text)}.ui-chip-status--archived{border-color:var(--color-border);color:var(--color-text-muted);background:0 0}.ui-chip-status--test{border-color:var(--color-test);background:var(--color-test-tonal);color:var(--color-test-text)}.ui-chip-status--active{border-color:var(--color-accent-tonal-edge);background:var(--color-accent-tonal);color:var(--color-accent-hover)}.ui-count-badge{border-radius:var(--radius-xs);background:var(--color-divider);min-width:1.5rem;height:1.375rem;color:var(--color-text);place-items:center;padding:0 .4rem;font-size:.75rem;font-weight:800;display:inline-grid}.ui-trail-row{align-items:center;gap:var(--space-3);min-height:3.5rem;padding:var(--space-2) 0;color:var(--color-text);text-decoration:none;display:flex}.ui-trail-row+.ui-trail-row{border-top:1px solid var(--color-divider)}.ui-trail-row:hover{color:var(--color-text)}.ui-trail-row__text{flex:1;min-width:0;display:grid}.ui-trail-row__label{font-weight:700}.ui-trail-row__value{color:var(--color-text-muted);font:var(--text-subline);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.ui-trail-row__slot{justify-content:flex-end;align-items:center;gap:var(--space-2);flex:none;width:3.5rem;display:flex}.ui-stat-bar{border:1px solid var(--color-border);border-radius:var(--radius-card);background:var(--color-surface);grid-auto-columns:1fr;grid-auto-flow:column;margin:0;display:grid}.ui-stat-bar>div{min-width:0;padding:var(--space-3) var(--space-4)}.ui-stat-bar>div+div{border-left:1px solid var(--color-divider)}.ui-stat-bar dt{color:var(--color-text-muted);font-size:.8125rem}.ui-stat-bar dd{letter-spacing:-.02em;margin:0;font-size:1.25rem;font-weight:800}.ui-stat-bar__cell--link{position:relative}.ui-stat-bar__link{color:inherit;text-decoration:none}.ui-stat-bar__link:after{content:"";border-radius:inherit;position:absolute;inset:0}.ui-stat-bar__link:hover,.ui-stat-bar__link:focus-visible{text-underline-offset:.15em;text-decoration:underline}.ui-stat-bar__cell--link:hover{background:var(--color-surface-elevated)}.ui-empty{justify-items:center;gap:var(--space-2);padding:var(--space-6) var(--space-4);border:1px dashed var(--color-border);border-radius:var(--radius-lg);background:var(--color-surface-deep);text-align:center;display:grid}.ui-empty h2{font:var(--text-section);letter-spacing:-.02em;margin:0}.ui-empty p{max-width:32rem;color:var(--color-text-muted);margin:0}.ui-empty--dragon{padding-top:var(--space-4);background:0 0;border:0}.ui-empty__words{justify-items:center;gap:var(--space-2);display:grid}.ui-empty__toy{cursor:pointer;border-radius:var(--radius-lg);background:0 0;border:0;padding:0;display:block}.ui-empty__toy img{max-width:100%;height:auto;display:block}.ui-empty__toy--turn0{animation:.36s ease-out ui-empty-nudge-a}.ui-empty__toy--turn1{animation:.36s ease-out ui-empty-nudge-b}@keyframes ui-empty-nudge-a{40%{transform:rotate(-4deg)translateY(-4px)}}@keyframes ui-empty-nudge-b{40%{transform:rotate(-4deg)translateY(-4px)}}.ui-empty__eyebrow{font-family:var(--font-mono);letter-spacing:.02em;color:var(--color-secondary);font-size:.85rem}.not-found-page__state .ui-empty__toy{padding-bottom:var(--space-1);border-bottom:1px solid var(--color-border);border-radius:0}.not-found-page__state .ui-empty__toy img{width:min(290px,70vw)}.ui-empty__actions{gap:var(--space-2);width:min(100%,22rem);margin-top:var(--space-2);display:grid}.ui-change-counter{border:1px solid var(--color-accent-tonal-edge);border-radius:var(--radius-pill);background:var(--color-accent-tonal);min-height:1.75rem;color:var(--color-accent-hover);align-items:center;padding:0 .7rem;font-size:.8125rem;font-weight:700;display:inline-flex}.ui-change-counter--none{visibility:hidden}.ui-edit-bar{bottom:var(--edit-bar-bottom,0);z-index:5;gap:var(--gap-controls);padding:var(--space-6) 0 var(--space-3);background:linear-gradient(to bottom, transparent, var(--color-bg) var(--space-5));grid-template-columns:minmax(0,1fr) minmax(0,2fr);display:grid;position:sticky}.ui-panel .ui-edit-bar{padding-top:var(--space-3);border-top:1px solid var(--color-divider);background:var(--color-surface)}.ui-edit-bar .ui-button{min-height:3.625rem}.ui-edit-bar a[aria-disabled=true]{opacity:.5;pointer-events:none}.recent-saves{gap:var(--space-2);margin-top:var(--space-4);display:grid}.recent-saves__title{color:var(--color-text-muted);font:var(--text-label);letter-spacing:.06em;text-transform:uppercase}.recent-saves__list{border:1px solid var(--color-border);border-radius:var(--radius-card);background:var(--color-surface);margin:0;padding:0;list-style:none;overflow:hidden}.recent-saves__entry{align-items:center;gap:var(--space-2) var(--space-3);min-height:3.25rem;padding:var(--space-2) var(--space-4);overflow-wrap:anywhere;flex-wrap:wrap;display:flex}.recent-saves__entry+.recent-saves__entry{border-top:1px solid var(--color-divider)}.recent-saves__entry--saving{color:var(--color-text-muted)}.recent-saves__entry--failed{box-shadow:inset 3px 0 0 var(--color-danger);color:var(--color-danger)}.recent-saves__entry--failed a{color:var(--color-text)}.detail-header{justify-content:space-between;align-items:center;gap:var(--space-3);min-height:var(--touch-target);display:flex}.detail-header__actions{justify-content:flex-end;gap:var(--space-2);flex-wrap:wrap;display:flex}.visually-hidden{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.page-layout__header h1{margin:0 0 var(--space-1)}.page-layout__intro{margin:0 0 var(--space-4)}.page-layout__header>h1:last-child,.page-layout__header>.page-layout__title-row:last-child{margin-bottom:var(--space-4)}.ui-panel.catalog-search-panel{margin-bottom:var(--space-3);background:0 0;border:0;padding:0}.catalog-pagination.catalog-pagination--top{padding-bottom:var(--space-2)}.page-layout__header--with-actions{max-width:none}.page-layout__header--with-actions .page-layout__intro{max-width:44rem}.page-layout__title-row{justify-content:space-between;align-items:center;gap:var(--gap-controls);flex-wrap:wrap;display:flex}.page-layout__title-row h1{margin:0 0 var(--space-1)}.page-layout__actions{align-items:center;gap:var(--gap-controls);display:flex}.list-export{align-items:flex-end;gap:var(--space-1);flex-direction:column;min-width:0;display:inline-flex}.list-export__error{max-width:22rem;color:var(--color-danger);text-align:right;overflow-wrap:anywhere;font-size:.78rem;font-weight:600}.list-filter-toggle{margin-bottom:var(--space-2);justify-content:flex-end;display:flex}.lot-search{gap:var(--space-2);margin-bottom:var(--space-3);display:grid}.lot-search .list-filter-toggle{gap:var(--gap-controls);flex-wrap:wrap;margin-bottom:0}.lot-search .catalog-search-disclosure>summary{margin-bottom:0}.lot-search .catalog-search-disclosure[open]>summary,.lot-search .catalog-search-disclosure .ui-notice{margin-bottom:var(--space-3)}.shop-detail__facts{gap:var(--space-2) var(--space-4);grid-template-columns:max-content minmax(0,1fr);margin:0;display:grid}.shop-detail__facts dt{color:var(--color-text-muted);font-weight:700}.shop-detail__facts dd{overflow-wrap:anywhere;margin:0}.shop-detail__notes{white-space:pre-wrap}.shop-detail__open{justify-items:start;gap:var(--gap-blocks);display:grid}.shop-detail__open-action{color:var(--color-text-muted);text-underline-offset:.2em;padding-inline:0;text-decoration:underline}.shop-hero h2,.maker-hero h2{overflow-wrap:anywhere}.shop-hero__text{align-items:flex-start;gap:var(--space-4);align-self:center;min-width:0;display:flex}.shop-hero__scene{align-self:center;width:100%;height:auto}.shop-form,.shop-fields,.inline-add-shop{gap:var(--gap-blocks);display:grid}.shop-fields textarea{min-height:6rem}.shop-fields__error{margin:calc(-1 * var(--space-2)) 0 0;color:var(--color-danger)}.shop-duplicates{margin:var(--space-1) 0 0;padding-left:1.2rem}.shop-search{gap:var(--space-2);min-width:0;display:grid}.shop-search__hint{color:var(--color-text-muted);font:var(--text-subline);margin:0}.shop-search__list{border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface-elevated);min-width:0;margin:0;padding:0;list-style:none;display:grid;overflow:hidden}.shop-search__list[hidden]{display:none}.shop-search__option{min-height:var(--touch-target);padding:var(--space-3);overflow-wrap:anywhere;cursor:pointer}.shop-search__option+.shop-search__option{border-top:1px solid var(--color-divider)}.shop-search__option:hover,.shop-search__option[aria-selected=true]{background:var(--color-accent-tonal)}.shop-search__option--closed{color:var(--color-text-muted)}.shop-search__chosen{align-items:center;gap:var(--space-2) var(--space-3);min-width:0;min-height:var(--touch-target);flex-wrap:wrap;display:flex}.shop-search__chosen p{overflow-wrap:anywhere;flex:10rem;min-width:0;margin:0;font-weight:600}.shop-search__add{justify-self:start}.inline-add-shop{padding:var(--space-3);border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface-elevated)}.inline-add-shop__actions{gap:var(--gap-controls);flex-wrap:wrap;display:flex}@media (width<=56rem){.shop-list__row{grid-template-columns:1fr;row-gap:.2rem}}.force-mobile .shop-list__row{grid-template-columns:1fr;row-gap:.2rem}.lot-passport__gift-sources{border:0;margin:0;padding:0}.lot-passport__gift-sources legend{margin-bottom:var(--space-2);color:var(--color-text-muted);padding:0;font-size:.82rem;font-weight:700}.lot-passport__gift-left,.lot-passport__gift-source,.lot-passport__gift-sources [role=status]{color:var(--color-text-muted);overflow-wrap:anywhere;margin:0}.storage-move-form{gap:var(--space-3);min-width:0;margin-top:var(--space-3);padding:var(--space-4);border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface-strong);flex-basis:100%;display:grid}.storage-move-form input[type=number],.storage-move-form input[type=search]{box-sizing:border-box;border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--color-surface);width:100%;min-width:0;color:var(--color-text);padding:.6rem .7rem}.storage-move-form p{overflow-wrap:break-word;margin:0}.storage-move-form [role=alert]{color:var(--color-danger)}.storage-move-form__label,.storage-move-form .lot-picker__label{color:var(--color-text);font-size:.875rem;font-weight:700}.storage-move-form__target-search{gap:var(--space-1);justify-items:start;min-width:0;display:grid}.storage-move-form__target-search .storage-unit-picker{justify-self:stretch}.storage-move-form__line-part{max-width:100%;display:inline-block}.storage-move-form__chosen{align-items:baseline;gap:var(--space-1) var(--space-3);flex-wrap:wrap;min-width:0;display:flex}.storage-move-form__chosen .ui-button{padding-inline:0}.storage-move-form__actions{justify-content:flex-end;align-items:flex-start;gap:var(--space-2);display:flex}.storage-move-form__actions>.ui-button{flex:none}.storage-move-form__actions>.ui-button-slot{flex:0 auto;justify-items:end;min-width:0}.storage-move-form__actions .ui-button__reason{text-align:right}.change-mode-hint{color:var(--color-text-muted);text-align:right;margin:0}.ui-button--quiet.storage-unit-move-action{justify-self:start;padding-inline:0}.storage-unit-move-form{margin-top:0}.storage-unit-form__parent{gap:var(--space-1);display:grid}.storage-unit-form__parent p{margin:0}.storage-unit-form__parent small{color:var(--color-text-muted)}.lifecycle-door{justify-items:start;gap:var(--space-2);display:grid}.lifecycle-door .ui-button--quiet{padding-inline:0}.lifecycle-door__blocks{justify-self:stretch;gap:var(--space-2);display:grid}.lifecycle-door__block p{margin:0}.lifecycle-door__block ul{margin:var(--space-1) 0 0;padding-left:var(--space-5)}.lifecycle-door__hidden{color:var(--color-text-muted)}.lifecycle-switch{margin:var(--space-2) 0 0;color:var(--color-text-faint);font-size:.8125rem}.lifecycle-switch strong{font-weight:600}.lifecycle-switch a{color:var(--color-text-faint)}.sealed-bags{gap:var(--space-3);min-width:0;display:grid}.sealed-bags__bag{gap:var(--space-2);min-width:0;padding:var(--space-3);border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);margin:0;display:grid}.sealed-bags__question{float:left;width:100%;margin-bottom:var(--space-1);color:var(--color-text);overflow-wrap:break-word;padding:0;font-size:.875rem;font-weight:700}.sealed-bags__choices{clear:both;gap:var(--space-2) var(--space-4);flex-wrap:wrap;display:flex}.sealed-bags__choice{align-items:center;gap:var(--space-2);min-height:2.75rem;color:var(--color-text);display:inline-flex}.sealed-bags__choice input{width:1.25rem;height:1.25rem;accent-color:var(--color-accent);margin:0}.sealed-bags__opening{gap:var(--space-2);min-width:0;display:grid}.sealed-bags__rows{gap:var(--space-2);margin:0;padding:0;list-style:none;display:grid}.sealed-bags__row{gap:var(--space-1);min-width:0;padding-top:var(--space-2);border-top:1px solid var(--color-divider);display:grid}.sealed-bags__lot,.sealed-bags__lead,.sealed-bags__summary{overflow-wrap:break-word}.sealed-bags__summary{color:var(--color-text-muted)}.sealed-bags__place,.sealed-bags__actions{align-items:center;gap:var(--space-1) var(--space-3);flex-wrap:wrap;min-width:0;display:flex}.sealed-bags__place>span{overflow-wrap:break-word;min-width:0}.sealed-bags__place .ui-button,.sealed-bags__actions .ui-button{padding-inline:0}.sealed-bags__picker{gap:var(--space-1);min-width:0;display:grid}.stock-activity{gap:var(--space-3);grid-template-columns:minmax(0,1fr);min-width:0;max-width:48rem;display:grid}.stock-activity__period{align-items:center;gap:var(--space-2);flex-wrap:nowrap;display:flex}.stock-activity__period select.list-control{flex:0 12rem;width:12rem;min-width:0}.stock-activity .ui-segmented{max-width:24rem;display:flex}.stock-activity .ui-segmented__option{min-width:0;padding-inline:var(--space-2);flex:1 1 0}.stock-activity__dash{color:var(--color-text-muted)}.stock-activity__row :is(.ui-row__title,.ui-row__sub){white-space:normal;overflow-wrap:anywhere}.stock-activity__grams{font-variant-numeric:tabular-nums;white-space:nowrap;font-weight:700}.stock-activity__hint{color:var(--color-text-muted);margin:0;font-size:.875rem}.ui-stat-bar.stock-activity__figures{flex-wrap:wrap;display:flex;overflow:hidden}.ui-stat-bar.stock-activity__figures>div{box-shadow:-1px 0 0 var(--color-divider), 0 -1px 0 var(--color-divider);flex:8.5rem}.ui-stat-bar.stock-activity__figures>div+div{border-left:0}.stock-location__header,.stock-location__row{grid-template-columns:minmax(10rem,1.6fr) minmax(5rem,.6fr) minmax(5rem,.6fr) minmax(5.5rem,.6fr) minmax(12rem,2fr)}.stock-location__row{align-items:start}.stock-location__row>*{overflow-wrap:anywhere;min-width:0}.stock-location__lot{flex-direction:column;gap:.15rem;display:flex}.stock-location__lot .stock-location__link{font-weight:700}.stock-location__link{text-decoration:none}.stock-location__link:hover{text-decoration:underline}.stock-location__origin,.stock-location__none{color:var(--color-text-muted)}.stock-location__figure{font-variant-numeric:tabular-nums}.stock-location__places ul{margin:0;padding:0;list-style:none}.stock-location__places li+li{margin-top:.2rem}.stock-location__label{display:none}.catalog-search__filters.stock-location__filters{grid-template-columns:minmax(12rem,20rem) minmax(0,auto);justify-content:start;align-items:start}.stock-location__filters .ui-segmented{flex-wrap:wrap}@media (width<=40rem){.catalog-search__filters.stock-location__filters{grid-template-columns:minmax(0,1fr)}}@media (width<=56rem){.stock-location__row{grid-template-columns:repeat(3,minmax(0,1fr));row-gap:.45rem}.stock-location__lot,.stock-location__places{grid-column:1/-1}.stock-location__label{color:var(--color-text-muted);font-size:.85rem;display:block}}.force-mobile .stock-location__row{grid-template-columns:repeat(3,minmax(0,1fr));row-gap:.45rem}.force-mobile .stock-location__lot,.force-mobile .stock-location__places{grid-column:1/-1}.force-mobile .stock-location__label{color:var(--color-text-muted);font-size:.85rem;display:block}.needs-attention__door{justify-content:flex-end;align-items:center;gap:var(--space-2) var(--space-3);margin-bottom:var(--space-3);flex-wrap:wrap;display:flex}.needs-attention__notice{margin:0 0 var(--space-3);color:var(--color-text-muted)}.needs-attention__must-fix,.needs-attention__acknowledged-at,.needs-attention__view-intro{color:var(--color-text-muted);margin:0}.needs-attention__acknowledged{gap:var(--space-1);justify-items:start;min-width:0;display:grid}.needs-attention__acknowledged p{overflow-wrap:break-word;margin:0}.needs-attention__acknowledged [role=alert]{color:var(--color-danger)}.needs-attention__reason-label{font-weight:700}.needs-attention__acknowledge textarea{box-sizing:border-box;width:100%}.needs-attention__view-switch{margin:var(--space-4) 0 0}.needs-attention__finding [data-finding-actions]{grid-column:1/-1;min-width:0}.needs-attention__finding [data-finding-actions]:empty{display:none}.needs-attention__acknowledge,.needs-attention__acknowledge .ui-field{grid-template-columns:minmax(0,1fr)}.needs-attention__acknowledge textarea{min-width:0}.needs-attention__acknowledge .storage-move-form__actions{flex-wrap:wrap}.structured-export__action{align-items:center;gap:var(--space-3);margin-block:var(--space-3);flex-wrap:wrap;display:flex}.structured-export__hint{color:var(--color-text-muted);margin:0}.structured-export .ui-check{margin-block-start:var(--space-3)}.structured-export__action .ui-button--primary{width:auto;min-width:18rem;padding-inline:var(--space-6)}@media (width<=40rem){.structured-export__action .ui-button--primary{width:100%;min-width:0}}.activity-log__filters{gap:var(--space-3);margin-bottom:var(--space-3);flex-wrap:wrap;display:flex}.activity-log__filters>.ui-field{flex:10rem;min-width:0}.activity-log__chip{align-items:center;gap:var(--space-2);margin:0 0 var(--space-3);overflow-wrap:anywhere;flex-wrap:wrap;display:flex}.activity-log{margin:0;padding:0;list-style:none}.activity-log__entry{row-gap:var(--space-1);grid-template-columns:1fr;min-width:0}.activity-log__head{align-items:baseline;gap:var(--space-1) var(--space-3);color:var(--color-text-muted);flex-wrap:wrap;display:flex}.activity-log__actor{overflow-wrap:anywhere;min-width:0}.activity-log__actor-short{display:none}@media (width<=40rem){.activity-log__actor-full{display:none}.activity-log__actor-short{display:inline}}.activity-log__lines{gap:var(--space-1);overflow-wrap:anywhere;margin:0;padding:0;list-style:none;display:grid}.activity-log__reason{color:var(--color-text-muted)}.activity-log__records{gap:0 var(--space-3);flex-wrap:wrap;margin:0;display:flex}.activity-log__records .ui-button{padding-inline:0}.record-manage__activity{margin:var(--space-3) 0 0}.artwork{max-width:100%;height:auto;display:block}.artwork--framed{border-radius:var(--radius-lg)}.tinted-art{--art-colour:#a9aea9;--art-mask:none;isolation:isolate;flex:none;display:inline-block;position:relative}.tinted-art__colour{background:var(--art-colour);-webkit-mask:var(--art-mask) center / contain no-repeat;-webkit-mask:var(--art-mask) center / contain no-repeat;mask:var(--art-mask) center / contain no-repeat;position:absolute;inset:0}.tinted-art__shade{mix-blend-mode:multiply;width:100%;height:100%;position:absolute;inset:0}.art-gallery{gap:var(--space-4);grid-template-columns:repeat(auto-fill,minmax(min(100%,14rem),1fr));display:grid}.art-gallery__item{align-content:start;justify-items:start;gap:var(--space-2);min-width:0;margin:0;display:grid}.art-gallery__item figcaption{color:var(--color-text-muted);overflow-wrap:anywhere;font-size:.8125rem}.art-gallery__tints{align-items:center;gap:var(--space-3);margin-top:var(--space-3);flex-wrap:wrap;display:flex}:is(select,.ui-button).list-control{box-sizing:border-box;height:var(--touch-target);min-height:var(--touch-target);border-radius:var(--radius-pill);padding-block:0;font-size:.875rem;font-weight:700}.ui-button.list-control{padding-inline:.9rem}select.list-control{padding-inline:.9rem 2rem}.stash-switch{width:100%;max-width:24rem;margin:0 0 var(--space-4);display:flex}.stash-switch .ui-segmented__option{flex:1 1 0;justify-content:center;align-items:center;text-decoration:none;display:inline-flex}.stash-switch .ui-segmented__option:hover{color:var(--color-text)}.stash-switch .ui-segmented__option[aria-current=page]{background:var(--color-accent-tonal);color:var(--color-accent-hover)}.page-layout__note{margin:calc(-1 * var(--space-2)) 0 var(--space-4);font-size:.875rem;font-weight:600}.list-end{justify-content:space-between;align-items:center;gap:0 var(--space-4);margin-top:var(--space-2);flex-wrap:wrap;display:flex}.list-end .lifecycle-switch{margin:0}.list-end .list-export .ui-button{min-height:var(--touch-target);color:var(--color-text-faint);font-size:.8125rem;font-weight:600}.catalog-row__figure,.catalog-list__header>span:last-child:not(:first-child){text-align:right;justify-self:end}.catalog-row--lots .catalog-row__quantity{justify-self:end}.catalog-row__primary{min-width:0}.catalog-row__facts,.catalog-row__sub{color:var(--color-text-muted);margin-top:.15rem;font-size:.8125rem;font-weight:500;display:block}.catalog-row__nowrap{white-space:nowrap}.catalog-row__dot{vertical-align:-.2rem;background:var(--color-border);border-radius:50%;flex:none;width:1.125rem;height:1.125rem;margin-right:.55rem;display:inline-block}.catalog-row--empty .catalog-row__primary a,.catalog-row--empty .catalog-row__dot{opacity:.6}.review-dots{vertical-align:middle;gap:3px;display:inline-flex}.review-dots__dot{background:var(--color-divider);border-radius:50%;width:.5rem;height:.5rem}.review-dots__dot--filled{background:var(--color-accent)}.catalog-row--manufacturers .catalog-row__primary{column-gap:var(--space-3);grid-template-columns:2.5rem minmax(0,1fr);align-items:center;display:grid}.catalog-row--manufacturers .catalog-row__primary>:not(.monogram){grid-column:2}.catalog-row--manufacturers .monogram{grid-row:1/span 3}.monogram{border:1px solid var(--color-accent-tonal-edge);background:var(--color-accent-tonal);width:2.5rem;height:2.5rem;color:var(--color-accent-hover);border-radius:50%;place-items:center;font-size:.875rem;font-weight:800;display:inline-grid}.monogram--attention{border-color:var(--color-attention-tonal-edge);background:var(--color-attention-tonal);color:var(--color-attention)}.attention-dot{background:var(--color-attention);vertical-align:middle;border-radius:50%;width:.5rem;height:.5rem;margin-left:.4rem;display:inline-block}.catalog-row--storage .ui-chip-status{vertical-align:middle;margin-left:.4rem}.catalog-group{border-block:1px solid var(--color-accent-tonal-edge);background:var(--color-accent-tonal);color:var(--color-accent-hover);letter-spacing:.06em;text-transform:uppercase;padding:.55rem .9rem;font-size:.8125rem;font-weight:800;display:none}.list-end-dragon{justify-items:center;gap:var(--space-2);margin:var(--space-6) auto var(--space-2);text-align:center;max-width:22rem;display:grid}.list-end-dragon__toy{cursor:pointer;background:0 0;border:0;padding:0}.list-end-dragon__toy .artwork{max-width:100%;height:auto;transition:transform var(--motion-fast)}.list-end-dragon__toy:active .artwork{transform:rotate(-2deg)translateY(-3px)}.list-end-dragon__line{min-height:2.6em;color:var(--color-text-muted);font-size:.875rem;font-style:italic}@media (width<=56rem){.catalog-group{display:block}.catalog-row.catalog-row--yarns,.catalog-row.catalog-row--manufacturers,.catalog-row.catalog-row--storage,.catalog-row.catalog-row--lots{column-gap:var(--space-3);grid-template-columns:minmax(0,1fr) auto}.catalog-row--yarns .catalog-row__primary,.catalog-row--manufacturers .catalog-row__primary,.catalog-row--storage .catalog-row__primary,.catalog-row.catalog-row--lots .catalog-row__primary{grid-area:1/1}.catalog-row--yarns .catalog-row__manufacturer,.catalog-row--yarns .catalog-row__review,.catalog-row--manufacturers .catalog-row__review,.catalog-row.catalog-row--lots .catalog-row__origin,.catalog-row.catalog-row--lots .catalog-row__dye-lot{grid-area:auto/1}.catalog-row__figure,.catalog-row.catalog-row--lots .catalog-row__quantity{grid-area:1/2/span 3;align-self:center}.catalog-row--storage .catalog-row__type,.catalog-row.catalog-row--lots .catalog-row__quantity .catalog-row__label{display:none}.catalog-row--manufacturers .catalog-row__review{padding-left:calc(2.5rem + var(--space-3))}.catalog-row--yarns .catalog-row__manufacturer,.catalog-row.catalog-row--lots .catalog-row__origin,.catalog-row.catalog-row--lots .catalog-row__dye-lot{color:var(--color-text-muted);font-size:.8125rem}.catalog-row--grouped .catalog-row__manufacturer,.catalog-row--grouped .catalog-row__separator{display:none}}html.force-mobile .catalog-group{display:block}html.force-mobile .catalog-row.catalog-row--yarns,html.force-mobile .catalog-row.catalog-row--manufacturers,html.force-mobile .catalog-row.catalog-row--storage,html.force-mobile .catalog-row.catalog-row--lots{grid-template-columns:minmax(0,1fr) auto}html.force-mobile .catalog-row.catalog-row--lots .catalog-row__primary,html.force-mobile .catalog-row--yarns .catalog-row__primary,html.force-mobile .catalog-row--manufacturers .catalog-row__primary,html.force-mobile .catalog-row--storage .catalog-row__primary{grid-area:1/1}html.force-mobile .catalog-row__figure,html.force-mobile .catalog-row.catalog-row--lots .catalog-row__quantity{grid-area:1/2/span 3;align-self:center}html.force-mobile .catalog-row--storage .catalog-row__type,html.force-mobile .catalog-row--grouped .catalog-row__manufacturer,html.force-mobile .catalog-row--grouped .catalog-row__separator{display:none}.yarn-hero h2{font-size:1.75rem}.yarn-hero__maker{text-transform:uppercase;letter-spacing:.06em}.yarn-hero__maker a{color:inherit;text-decoration:none}.yarn-hero__maker a:hover{text-decoration:underline}.yarn-hero__review{gap:var(--space-1);margin-top:var(--space-3);display:grid}.review-balls{gap:4px;display:inline-flex}.review-ball{display:inline-flex}.yarn-hero__review-word{color:var(--color-text-muted);font-size:.875rem;font-weight:600}.skein-fan{min-height:8rem;padding:var(--space-4);justify-content:center;align-items:flex-end;gap:.35rem;display:flex}.skein-fan__skein{display:inline-flex}.skein-fan__skein:first-child{transform:rotate(-10deg)}.skein-fan__skein:last-child{transform:rotate(10deg)}.yarn-properties__cells{gap:var(--space-3);margin:var(--space-3) 0;grid-template-columns:repeat(auto-fit,minmax(7rem,1fr));display:grid}.yarn-properties__cell{min-width:0}.yarn-properties__cell dt{color:var(--color-text-muted);font-size:.875rem}.yarn-properties__cell dd{white-space:nowrap;margin:.15rem 0 0;font-size:1.0625rem;font-weight:700}.yarn-properties__chips{gap:var(--space-2);flex-wrap:wrap;display:flex}.yarn-stash__list{border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);margin:0;padding:0;list-style:none}.yarn-stash__row{align-items:center;column-gap:var(--space-3);border-top:1px solid var(--color-divider);grid-template-columns:auto minmax(0,1fr) auto;padding:.65rem .9rem;display:grid}.yarn-stash__row:first-child{border-top:0}.yarn-stash__row .catalog-row__dot{margin-right:0}.yarn-stash__text{min-width:0}.yarn-stash__text a{font-weight:700;text-decoration:none}.yarn-stash__where{color:var(--color-text-muted);overflow-wrap:anywhere;font-size:.8125rem;display:block}.yarn-stash__archived{margin-top:var(--space-3)}.yarn-stash__archived summary{min-height:var(--touch-target);color:var(--color-text-muted);cursor:pointer;padding:.6rem 0;font-size:.875rem;font-weight:700}.catalog-detail__card dl.yarn-properties__cells{gap:var(--space-3) var(--space-5);margin:0 0 var(--space-3);flex-wrap:wrap;display:flex}.catalog-detail__card dl.yarn-properties__cells .yarn-properties__cell{flex:auto}.catalog-detail__card .yarn-properties__cell dd{text-align:left}.yarn-stash__total{color:var(--color-text-muted);margin:.2rem 0 0;font-size:.9375rem;font-weight:700}.list-dragon-top{display:flex}.page-layout__actions:has(.list-dragon-top){flex:auto;justify-content:flex-end}@media (width<=56rem){.page-layout__title-row:has(.list-dragon-top){align-items:center;column-gap:var(--gap-controls);grid-template-columns:auto minmax(4.5rem,1fr);display:grid}.page-layout__title-row:has(.list-dragon-top) h1{grid-area:1/1}.page-layout__actions:has(.list-dragon-top){display:contents}.page-layout__actions:has(.list-dragon-top)>:not(.list-dragon-top){grid-area:2/1;justify-self:start}.page-layout__actions .list-dragon-top{grid-area:1/2/span 2;place-self:center}}html.force-mobile .page-layout__title-row:has(.list-dragon-top){align-items:center;column-gap:var(--gap-controls);grid-template-columns:auto minmax(4.5rem,1fr);display:grid}html.force-mobile .page-layout__title-row:has(.list-dragon-top) h1{grid-area:1/1}html.force-mobile .page-layout__actions:has(.list-dragon-top){display:contents}html.force-mobile .page-layout__actions:has(.list-dragon-top)>:not(.list-dragon-top){grid-area:2/1;justify-self:start}html.force-mobile .page-layout__actions .list-dragon-top{grid-area:1/2/span 2;place-self:center}.list-dragon-top .list-end-dragon__toy{z-index:1;position:relative}.yarn-page .catalog-detail__section h2:not(.yarn-hero h2),.yarn-page .catalog-detail__card h2,.lot-passport .catalog-detail__section h2,.lot-passport .catalog-detail__card h2,.lot-passport h2.lot-passport__door-title{margin:0;font-size:1.25rem}.list-dragon-top .list-end-dragon__toy img{width:auto;height:4rem}.lot-passport__maker{color:var(--color-text-muted);letter-spacing:.08em;text-transform:uppercase;margin:0;font-size:.78rem;font-weight:700}.lot-passport__maker a{color:inherit;text-decoration:underline;-webkit-text-decoration-color:var(--color-divider);text-decoration-color:var(--color-divider);text-underline-offset:.2em}.lot-passport__maker a:hover{color:var(--color-text)}.lot-passport__hero h2{font-size:1.875rem;line-height:1.15}.lot-passport__dye-lot{color:var(--color-secondary);font-family:var(--font-mono)}.lot-passport__gift-note{gap:var(--space-3);margin-top:var(--space-3);display:grid}.lot-passport__gift-chip{font:inherit;cursor:pointer;border:1px solid var(--color-secondary-tonal-edge);background:var(--color-secondary-tonal);width:auto;min-height:2.75rem;color:var(--color-secondary-text);border-radius:999px;justify-self:start;align-items:center;padding:.35rem .9rem;font-weight:700;display:inline-flex}.lot-passport__gift-chip[aria-expanded=true]{border-color:var(--color-secondary)}.lot-passport__gift-card:not([hidden]){align-items:center;gap:var(--space-3);padding:var(--space-3);border:1px solid var(--color-secondary-tonal-edge);border-radius:var(--radius-md);background:var(--color-secondary-tonal);color:var(--color-secondary-text);display:flex}.lot-passport__gift-card p{margin:0}.lot-passport__gift-card .lot-passport__gift-title{color:var(--color-text);font-weight:700}.lot-passport__gift-card .artwork{flex:none}.lot-passport__stock-skeins{color:var(--color-text-muted);margin:0}.lot-passport__stock-current{color:var(--color-text)}.lot-passport__skeins{align-items:end;gap:var(--space-1);margin-top:var(--space-3);flex-wrap:wrap;display:flex}.lot-passport__skeins-more{color:var(--color-text-muted);font-family:var(--font-mono);align-self:center;font-size:.8rem}.lot-passport__dragon-line{align-items:center;gap:var(--space-3);margin-top:var(--space-3);display:flex}.lot-passport__dragon-line p{color:var(--color-text-muted);margin:0;font-style:italic}.lot-passport__dragon-line--dragon-claw p,.lot-passport__dragon-line--accent p{color:var(--color-accent)}.lot-passport__dragon-line .artwork{flex:none}.lot-passport__stock-bar{height:.625rem;margin-top:var(--space-4);background:var(--color-surface-elevated);border-radius:999px;display:flex;overflow:hidden}.lot-passport__stock-bar-available{background:var(--color-accent)}.lot-passport__stock-bar-reserved{background:var(--color-secondary)}.lot-passport__stock-figures{margin-top:var(--space-3)}.lot-passport__actions{container-type:inline-size}.lot-passport__doors{gap:var(--space-3);grid-template-columns:repeat(2,minmax(0,1fr));display:grid}@container (width>=34rem){.lot-passport__doors{grid-template-columns:repeat(3,minmax(0,1fr))}}.lot-passport .save-feedback+.save-feedback{min-height:0;margin:0}.lot-passport__door{border:1px solid var(--color-border);border-radius:var(--radius-card);background:var(--color-surface);min-width:0}.lot-passport__door--accent{border-color:var(--color-accent-tile-edge);background:var(--color-accent-tile)}.lot-passport__door[open]{order:1;grid-column:1/-1}.lot-passport__door-summary{align-items:center;gap:var(--space-3);min-height:5.75rem;padding:var(--space-3) var(--space-4);cursor:pointer;list-style:none;display:flex}.lot-passport__door-summary::-webkit-details-marker{display:none}.lot-passport__door-summary:focus-visible{border-radius:var(--radius-card);box-shadow:var(--focus-ring);outline:none}.lot-passport__door[open]>.lot-passport__door-summary{min-height:3.5rem}.lot-passport__door-text{flex:1;gap:.15rem;min-width:0;display:grid}.lot-passport__door-line{color:var(--color-text-muted);overflow-wrap:anywhere;font-size:.875rem}.lot-passport__door-chevron,.lot-passport__choice-summary .lot-passport__add-stock-chevron{width:1.5rem;color:var(--color-text-muted);transition:transform var(--motion-fast) ease;flex:none;place-items:center;margin:0;font-size:1.5rem;line-height:1;display:inline-grid;transform:rotate(90deg)}.lot-passport__door[open]>summary .lot-passport__door-chevron,.lot-passport__choice[open]>summary .lot-passport__add-stock-chevron{transform:rotate(-90deg)}.lot-passport__door-panel{gap:var(--space-3);padding:0 var(--space-4) var(--space-4);display:grid}.lot-passport__door-panel .lot-passport__add-stock,.lot-passport__door-panel .lot-passport__gift{margin-top:0}.lot-passport__choice{border:1px solid var(--color-divider);border-radius:var(--radius-md);background:var(--color-surface-deep)}.lot-passport__choice-summary{align-items:center;gap:var(--space-3);min-height:3.5rem;padding:var(--space-2) var(--space-4);cursor:pointer;list-style:none;display:flex}.lot-passport__choice-summary::-webkit-details-marker{display:none}.lot-passport__choice-summary:focus-visible{border-radius:var(--radius-md);box-shadow:var(--focus-ring);outline:none}.lot-passport__choice-summary>span:first-child{flex:1;min-width:0;display:grid}.lot-passport__choice-summary h3{margin:0;font-size:1rem}.lot-passport__choice-summary>span:first-child>span{color:var(--color-text-muted);font-size:.875rem}.lot-passport__choice[open]>.lot-passport__gift{margin:0 var(--space-3) var(--space-3)}.lot-passport__came-in{gap:var(--space-2);border:0;grid-template-columns:repeat(auto-fit,minmax(8.5rem,1fr));margin:0;padding:0;display:grid}.lot-passport__came-in legend{margin-bottom:var(--space-2);padding:0;font-weight:700}.lot-passport__came-in-choice{min-height:4.25rem;padding:var(--space-3);border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);cursor:pointer;gap:.1rem;display:grid;position:relative}.lot-passport__came-in-choice input{opacity:0;pointer-events:none;position:absolute}.lot-passport__came-in-choice:has(input:focus-visible){box-shadow:var(--focus-ring)}.lot-passport__came-in-choice:has(input:checked){border-width:2px;border-color:var(--color-accent);background:var(--color-accent-tonal)}.lot-passport__came-in-choice--gift:has(input:checked){border-color:var(--color-secondary);background:var(--color-secondary-tonal)}.lot-passport__came-in-label{color:var(--color-text);text-transform:none;letter-spacing:0;font-size:1rem;font-weight:700}.lot-passport__came-in-line{color:var(--color-text-muted);text-transform:none;letter-spacing:0;font-size:.875rem;font-weight:400}.lot-passport__where{justify-content:space-between;align-items:center;gap:var(--space-3);display:flex}.lot-passport__where-title{order:-1;margin:0;font-weight:700}.lot-passport .catalog-detail__count{margin:0 0 var(--space-3);color:var(--color-text-muted)}.lot-passport__related{margin-top:var(--space-3)}.lot-passport__related .ui-trail-row__value{color:var(--color-text-faint);font-size:.875rem}.lot-passport__footer{margin:var(--space-4) 0 0;color:var(--color-text-whisper);font-family:var(--font-mono);font-size:.75rem}.lot-passport__rows{margin:0;padding:0;list-style:none;display:grid}.lot-passport__rows>li{align-items:center;column-gap:var(--space-2);min-height:3rem;padding:var(--space-2) 0;flex-wrap:wrap;display:flex}.lot-passport__rows>li+li{border-top:1px solid var(--color-divider)}.lot-passport__places>li>a{color:var(--color-text);text-decoration:underline;-webkit-text-decoration-color:var(--color-divider);text-decoration-color:var(--color-divider);text-underline-offset:.2em;font-weight:700}.lot-passport__row-amount{font-family:var(--font-mono);margin-left:auto}.lot-passport__dash{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.lot-passport__rows>li>form,.lot-passport__rows>li>.lot-passport__correction-form{flex-basis:100%}.ui-stat-bar.lot-passport__stock-figures{grid-template-columns:repeat(3,minmax(0,1fr))}.lot-passport__stock-figures>div{padding:var(--space-3)}.lot-passport__stock-figures dd{text-align:left;white-space:nowrap;font-size:1.125rem}.lot-subpage__back{margin-bottom:var(--space-2)}.lot-subpage__back a{text-overflow:ellipsis;white-space:nowrap;max-width:100%;overflow:hidden}.lot-subpage__chips{gap:var(--space-2);margin-bottom:var(--space-4);scrollbar-width:none;display:flex;overflow-x:auto}.lot-subpage__chip{min-height:2.75rem;padding:0 var(--space-4);border:1px solid var(--color-border);color:var(--color-text-muted);border-radius:999px;flex:none;align-items:center;font-weight:700;text-decoration:none;display:inline-flex}.lot-subpage__chip:hover{color:var(--color-text)}.lot-subpage__chip:focus-visible{box-shadow:var(--focus-ring);outline:none}.lot-subpage__chip--current{border-color:var(--color-accent-tonal-edge);background:var(--color-accent-tonal);color:var(--color-accent)}.lot-subpage__card{gap:var(--space-4);display:grid}.lot-subpage__dragon{align-items:center;gap:var(--space-3);display:flex}.lot-subpage__dragon p{color:var(--color-text-muted);margin:0;font-style:italic}.lot-subpage__dragon .artwork{flex:none}.lot-subpage__rows{margin:0;padding:0;list-style:none;display:grid}.storage-history{gap:var(--space-3)}.storage-history__row{gap:var(--space-2);padding:var(--space-3) var(--space-4);border:1px solid var(--color-border);border-left:3px solid var(--color-accent);border-radius:var(--radius-md);background:var(--color-surface-deep);display:grid}.storage-history__head{justify-content:space-between;align-items:baseline;gap:var(--space-3);display:flex}.storage-history__grams{font-family:var(--font-mono);flex:none}.storage-history__route{line-height:1.9}.storage-history__place{border:1px solid var(--color-border);background:var(--color-surface);-webkit-box-decoration-break:clone;box-decoration-break:clone;overflow-wrap:anywhere;border-radius:999px;padding:.1rem .5rem;font-size:.875rem;display:inline}.storage-history__arrow{color:var(--color-accent);font-weight:700}.storage-history__when,.storage-history__remark{color:var(--color-text-muted);font-size:.875rem}.stock-history__row+.stock-history__row{border-top:1px solid var(--color-divider)}.lot-edit-form__preview{align-items:center;gap:var(--space-4);padding:var(--space-4);border:1px solid var(--color-border);border-radius:var(--radius-card);background:var(--color-surface-deep);display:flex}.lot-edit-form__preview p{margin:0}.lot-edit-form__preview-yarn{color:var(--color-text-muted);letter-spacing:.08em;text-transform:uppercase;font-size:.78rem;font-weight:700}.lot-edit-form__preview-name{overflow-wrap:anywhere;font-size:1.375rem;font-weight:700}.lot-edit-form__preview-dye-lot{color:var(--color-secondary);font-family:var(--font-mono)}.lot-edit-form__preview-hint{color:var(--color-text-faint);font-size:.8125rem}.lot-edit-form__group{gap:var(--space-4);min-width:0;padding:var(--space-4);border:1px solid var(--color-border);border-radius:var(--radius-md);margin:0;display:grid}.lot-edit-form__group legend{padding:0 var(--space-2);font-weight:700}.lot-edit-form__pair{gap:var(--space-4);grid-template-columns:repeat(auto-fit,minmax(12rem,1fr));display:grid}.lot-edit-form__current-yarn{margin:calc(var(--space-2) * -1) 0 0;color:var(--color-text-muted);font-size:.875rem}.lot-edit-form__current-yarn a{color:var(--color-text);text-decoration:underline;-webkit-text-decoration-color:var(--color-divider);text-decoration-color:var(--color-divider)}.lot-edit-form__matches{border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface-deep);display:grid}.lot-edit-form__match{min-height:2.75rem;padding:var(--space-2) var(--space-3);color:var(--color-text);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0}.lot-edit-form__match+.lot-edit-form__match{border-top:1px solid var(--color-divider)}.lot-edit-form__match:hover,.lot-edit-form__match:focus-visible{background:var(--color-accent-tonal);outline:none}.lot-edit-form .ui-edit-bar{margin-top:var(--space-2)}.record-manage__card .record-manage__name{font-size:1.25rem}.record-manage__explain{color:var(--color-text-muted);margin:0}.record-manage .lifecycle-door{padding-top:var(--space-3);border-top:1px solid var(--color-divider)}.activity-log__card{gap:var(--space-4);display:grid}.lot-passport__locations-feedback .save-feedback{min-height:0;margin:0}.lot-passport__places~.lot-passport__correction-hint{margin-top:var(--space-2)}.lot-passport__locations-door{margin:var(--space-4) 0 0}.ui-button.lot-passport__text-link{min-height:2.75rem;box-shadow:none;color:var(--color-accent-strong);font:inherit;background:0 0;border:0;padding:0;text-decoration:underline}.ui-button.lot-passport__text-link:hover{color:var(--color-accent-hover);background:0 0}html.form-mode{--mobile-nav-height:0px;--edit-bar-bottom:0px;scroll-padding-bottom:var(--space-4)}html.form-mode .primary-nav--mobile{display:none}html.form-mode .page-layout.form-page{padding-bottom:clamp(1.25rem,4vw,3rem)}.form-page__header{align-items:center;gap:var(--space-2);margin-bottom:var(--space-4);display:flex}.form-page__header h1{font:var(--text-form-title);margin:0}.new-lot-page .form-page__header{max-width:42rem}@container (width>=50rem){.new-lot-page .form-page__header{max-width:calc(42rem + 22rem + var(--gap-cards))}}.form-page__art{margin-left:auto;line-height:0}.form-page__art img{width:4rem;height:auto}.form-page__close span{font-size:1.6rem;line-height:1}.form-page{container-type:inline-size}.new-lot.lot-form{gap:var(--gap-cards);align-items:start;max-width:42rem;display:grid}.new-lot__steps{gap:var(--gap-cards);min-width:0;display:grid}@container (width>=50rem){.new-lot.lot-form{grid-template-columns:minmax(0,42rem) 22rem;max-width:none}.new-lot>.new-lot-preview{top:calc(var(--app-header-height) + var(--space-4));grid-area:1/2;position:sticky}.new-lot>.new-lot__steps{grid-area:1/1}}.new-lot-preview{column-gap:var(--space-4);min-width:0;padding:var(--space-4);border:1px solid var(--color-divider);border-radius:var(--radius-card);background:var(--color-surface);grid-template-columns:auto minmax(0,1fr);align-items:center;display:grid}.new-lot-preview__skein{place-items:center;display:grid}.new-lot-preview__text{gap:var(--space-1);min-width:0;display:grid}.new-lot-preview__text p{overflow-wrap:anywhere;margin:0}.new-lot-preview__yarn{color:var(--color-text-muted);font:var(--text-label);letter-spacing:.06em;text-transform:uppercase}.new-lot-preview__colourway{font:var(--text-form-title)}.new-lot-preview__dye-lot{color:var(--color-secondary-text);font-family:var(--font-mono)}.new-lot-preview__quantity{font:var(--text-body);font-weight:700}.new-lot-preview .new-lot-preview--empty{color:var(--color-text-faint)}.new-lot-preview__chips{gap:var(--space-1);margin:var(--space-1) 0 0;flex-wrap:wrap;padding:0;list-style:none;display:flex}.new-lot-preview__chips li{border:1px solid var(--color-accent-tonal-edge);border-radius:var(--radius-pill);background:var(--color-accent-tonal);color:var(--color-accent-hover);font:var(--text-subline);padding:.15rem .6rem}.new-lot .lot-edit-form__colours{border:0;min-width:0;margin:0;padding:0}.new-lot__pair{gap:var(--gap-controls);grid-template-columns:repeat(auto-fit,minmax(10rem,1fr));display:grid}.new-lot__yarn-card{justify-content:space-between;align-items:center;gap:var(--space-2);padding:var(--space-3) var(--space-4);border:1px solid var(--color-accent-tonal-edge);border-radius:var(--radius-md);background:var(--color-accent-tonal);flex-wrap:wrap;display:flex}.new-lot__yarn-name{overflow-wrap:anywhere;min-width:0;margin:0}.new-lot__yarn-name span{color:var(--color-text-muted)}.new-lot__matches{gap:var(--space-2);margin:0;padding:0;list-style:none;display:grid}.new-lot__match{justify-content:space-between;align-items:center;gap:var(--space-2);min-height:var(--touch-target);padding:var(--space-2) var(--space-3);border:1px solid var(--color-divider);border-radius:var(--radius-md);background:var(--color-surface-elevated);display:flex}.new-lot__match-text{overflow-wrap:anywhere;min-width:0;display:grid}.new-lot__match-text small{color:var(--color-text-muted);font:var(--text-subline)}.new-lot__new-yarn{justify-self:start}.new-lot__actions{gap:var(--space-2);display:grid}.new-lot__actions .ui-button-slot,.new-lot__save{width:100%}.new-lot__failure{align-items:center;gap:var(--space-2);color:var(--color-danger);flex-wrap:wrap;display:flex}.new-lot__failure p{margin:0}.ui-stepper input.ui-stepper__value,.lot-form .ui-stepper input.ui-stepper__value{text-align:center;appearance:textfield;background:0 0;border-color:#0000;width:4.5rem;min-height:3.25rem;padding:0;font-size:1.875rem;font-weight:800}.ui-stepper input.ui-stepper__value::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.ui-stepper input.ui-stepper__value::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.skein-quantity--stepper{text-align:center;justify-items:center}a.quiet-link{color:inherit;font-weight:inherit;text-decoration:none}a.quiet-link:hover,a.quiet-link:focus-visible{color:inherit;text-decoration:underline}.detail-header__trail{min-width:0;color:var(--color-text-muted);text-overflow:ellipsis;white-space:nowrap;flex:1;margin:0;font-size:.9375rem;font-weight:600;overflow:hidden}.storage-type-tile{background:var(--color-surface-elevated);color:var(--color-text);flex:none;place-items:center;display:inline-grid}.storage-type-tile--hero{border-radius:1.375rem;width:4.75rem;height:4.75rem}.storage-type-tile--hero .storage-type-icon{stroke-width:1.6px;width:2.875rem;height:2.875rem}.storage-type-tile--row{border-radius:.75rem;width:2.375rem;height:2.375rem}.storage-type-tile--choice{border-radius:.875rem;width:2.75rem;height:2.75rem}.storage-type-tile--row .storage-type-icon,.storage-type-tile--choice .storage-type-icon{stroke-width:2px;width:1.25rem;height:1.25rem}.storage-type-tile--quarantine{background:var(--color-attention-tonal);color:var(--color-attention)}.storage-type-icon__lid{transform-box:fill-box;transform-origin:0 100%}@keyframes storage-lid{0%,to{transform:rotate(0)}50%{transform:rotate(-14deg)translateY(-2px)}}.storage-hero:hover .storage-type-icon__lid{animation:.6s ease-in-out storage-lid}.storage-hero{align-items:center;gap:var(--space-4);display:flex}.storage-hero__text{gap:var(--space-1);flex:1;min-width:0;display:grid}.storage-hero h2{overflow-wrap:anywhere;margin:0;font-size:1.75rem}.storage-hero__chips{gap:var(--space-2);flex-wrap:wrap;display:flex}.storage-hero__chips:empty{display:none}.storage-hero__figures{color:var(--color-text-muted);margin:0;font-size:.9375rem}.storage-hero__figures strong{color:var(--color-text)}.storage-hero__remark{margin:var(--space-1) 0 0;color:var(--color-text-muted);font-size:.8125rem}.storage-page .catalog-detail__count{color:var(--color-text-muted);margin:.2rem 0 0;font-size:.9375rem;font-weight:700}.storage-rows{margin-top:var(--space-3)}.storage-rows .ui-row{padding-inline:0}.storage-inside-row__title{align-items:center;gap:var(--space-2);white-space:normal;flex-wrap:wrap;display:flex}.storage-inside-row__grams{font-weight:800}.storage-lot-row:target{border-radius:var(--radius-sm);background:var(--color-accent-tonal);box-shadow:inset 3px 0 0 var(--color-accent)}.storage-lot-row__main{align-items:center}.storage-lot-row__main .stored-lot-identity{flex:1;min-width:0}.storage-lot-row__main .stored-lot-identity__text{overflow-wrap:anywhere;min-width:0}.storage-lot-dot{margin-right:var(--space-2);vertical-align:baseline;border-radius:50%;flex:none;width:.875rem;height:.875rem;display:inline-block}.storage-lot-dot--none{background:var(--color-border)}.storage-unstore-toggle{width:var(--touch-target);height:var(--touch-target);color:var(--color-text-muted);cursor:pointer;background:0 0;border:0;border-radius:.75rem;place-items:center;display:inline-grid}.storage-unstore-toggle svg{width:1.25rem;height:1.25rem}.storage-unstore-toggle:hover,.storage-unstore-toggle[aria-expanded=true]{background:var(--color-surface-elevated);color:var(--color-text)}.storage-unstore-row{margin:0 0 var(--space-3);padding:var(--space-3);background:var(--color-bg);border-radius:.875rem}.storage-store-panel{gap:var(--space-3);margin-top:var(--space-4);padding:var(--space-4);border:1px solid var(--color-accent-tonal-edge);border-radius:var(--radius-card);background:color-mix(in srgb, var(--color-accent-tonal) 70%, var(--color-surface));grid-template-columns:minmax(0,1fr);display:grid}.storage-store-panel h3{margin:0;font-size:1rem}.storage-store-candidate-row{align-items:center;gap:var(--space-3)}.storage-store-candidate-row .storage-store-candidate{overflow-wrap:anywhere;flex:1;min-width:0}.storage-contents__dragon{flex:none;width:6.5rem;height:auto}@media (width<=40rem){.storage-hero{align-items:flex-start}.storage-type-tile--hero{width:3.75rem;height:3.75rem}.storage-store-candidate-row{flex-wrap:wrap}.storage-store-candidate-row .storage-store-candidate,.storage-store-candidate-row .storage-store-action{flex:100%}.storage-store-candidate-row .storage-store-quantity input{width:6rem}.storage-contents__dragon{width:5rem}}.storage-contents-placements a,.storage-contents-grams{color:var(--color-text);font-weight:400}.storage-contents-placements a:hover,.storage-contents-placements a:focus-visible,.storage-contents-grams:hover,.storage-contents-grams:focus-visible{color:var(--color-text);text-decoration:underline}.new-storage-unit-page .form-page__header,.storage-unit-form{max-width:42rem}.storage-unit-form{gap:var(--space-5);display:grid}.storage-unit-form textarea,.storage-unit-form select,.storage-unit-form .ui-field input{width:100%}.storage-unit-preview{align-items:center;gap:var(--space-4);padding:var(--space-4);border:1px solid var(--color-border);border-radius:var(--radius-card);background:var(--color-surface);display:flex}.storage-unit-preview__text{gap:var(--space-1);min-width:0;display:grid}.storage-unit-preview__name{overflow-wrap:anywhere;margin:0;font-size:1.5rem;font-weight:800}.storage-unit-preview__name--empty{color:var(--color-text-whisper)}.storage-type-choices{gap:var(--space-2);border:0;min-width:0;margin:0;padding:0;display:grid}.storage-type-choices legend{margin-bottom:var(--space-2);color:var(--color-text);padding:0;font-size:.875rem;font-weight:700}.storage-unit-form__parent>span{color:var(--color-text);font-size:.875rem;font-weight:700}.storage-type-choices__grid{gap:var(--space-2);grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.storage-type-choice{justify-items:center;gap:var(--space-2);min-height:6rem;padding:var(--space-3) var(--space-2);border:1px solid var(--color-border);background:var(--color-surface-strong);color:var(--color-text);text-align:center;cursor:pointer;border-radius:1rem;display:grid;position:relative}.storage-type-choice input{opacity:0;pointer-events:none;position:absolute}.storage-type-choice:has(input:checked){border-color:var(--color-accent-tonal-edge);background:var(--color-accent-tonal)}.storage-type-choice:has(input:focus-visible){box-shadow:var(--focus-ring)}.storage-type-choice__name{overflow-wrap:anywhere;font-size:.875rem;font-weight:700}.storage-unit-form__quarantine .ui-switch label{font-weight:600}.storage-unit-form__save{justify-self:start}@media (width<=40rem){.storage-unit-form__save{justify-self:stretch}}.storage-page>*{min-width:0}.storage-hero__type{overflow-wrap:anywhere}.storage-contents>.catalog-detail__section-heading{align-items:flex-start}.storage-contents__actions{margin-top:var(--space-3);justify-content:flex-start}@media (width<=24rem){.storage-store-panel{padding:var(--space-3)}}.storage-store-candidate-row strong{white-space:normal}.storage-contents__toolbar{justify-content:space-between;align-items:center;gap:var(--space-2) var(--space-3);margin-top:var(--space-3);flex-wrap:wrap;display:flex}.storage-contents__toolbar .storage-contents__actions{margin-top:0}.storage-contents__toolbar .catalog-sort-mobile--always{flex:14rem;margin:0}.maker-hero{align-items:flex-start;gap:var(--space-4);display:flex}.monogram--hero{flex:none;width:4rem;height:4rem;font-size:1.375rem}.maker-hero__figures{margin:var(--space-2) 0 0;color:var(--color-text-muted);font-size:.9375rem;font-weight:700}.maker-yarns .catalog-detail__count{color:var(--color-text-muted);margin:.2rem 0 0;font-size:.9375rem;font-weight:700}.maker-yarns__dragon{flex:none;width:6.5rem;height:auto}.maker-yarns__list{margin:var(--space-3) 0 0;padding:0;list-style:none}.maker-yarns__row{justify-content:space-between;align-items:center;gap:var(--space-3);min-height:3.5rem;padding:var(--space-3) 0;border-top:1px solid var(--color-divider);display:flex}.maker-yarns__row:first-child{border-top:0}.maker-yarns__text{gap:.15rem;min-width:0;display:grid}.maker-yarns__text .catalog-row__facts{color:var(--color-text-muted);font-size:.8125rem}.alias-chips{align-items:center;gap:var(--space-2);margin-top:var(--space-3);flex-wrap:wrap;display:flex}.alias-chip{border:1px solid var(--color-accent-tonal-edge);background:var(--color-accent-tonal);min-height:2.25rem;color:var(--color-text);border-radius:999px;align-items:center;gap:.15rem;max-width:100%;padding:0 .25rem 0 .8rem;font-weight:650;display:inline-flex}.alias-chip__name{overflow-wrap:anywhere;min-width:0}.alias-chip .alias-chip__remove{width:2rem;height:2rem;color:var(--color-text-muted);opacity:.7;background:0 0;border:0;border-radius:50%;flex:none;place-items:center;font-size:1.125rem;display:inline-grid}.alias-chip:hover .alias-chip__remove,.alias-chip .alias-chip__remove:hover,.alias-chip .alias-chip__remove:focus-visible{color:var(--color-text);opacity:1}.alias-chip--add{border-style:dashed;border-color:var(--color-border);color:var(--color-accent-hover);background:0 0;padding:0 .9rem}.alias-add{align-items:center;gap:var(--space-2);margin-top:var(--space-3);display:flex}.alias-add input{flex:1 1 0;width:0;min-width:0}.maker-aliases{min-width:0}.maker-aliases .ui-notice{margin-top:var(--space-3)}.maker-aliases__hint{margin:var(--space-3) 0 0;color:var(--color-text-faint);font-size:.875rem}@media (width<=40rem){.monogram--hero{width:3.25rem;height:3.25rem;font-size:1.125rem}.maker-yarns__dragon{width:5rem}}.toy{border-radius:var(--radius-lg);cursor:pointer;background:0 0;border:0;padding:0;display:block}.toy img{max-width:100%;height:auto;display:block}.knitting{--knitting-cut:0%;line-height:0;display:inline-block}.knitting img{clip-path:inset(0 0 var(--knitting-cut) 0);transition:clip-path .45s ease-out}.knitting-loader{align-items:center;gap:var(--space-3);min-height:5rem;color:var(--color-text-muted);display:flex}.knitting-loader__art{flex:none;justify-content:center;width:96px;display:inline-flex}.knitting-toy{justify-items:center;gap:var(--space-2);margin:0;display:grid}.knitting-toy__line{color:var(--color-text-muted);font-size:.875rem}.catalog-sort-mobile,.ui-column-sort-cell{position:relative}.sort-reaction{z-index:1;pointer-events:none;position:absolute;bottom:100%;right:0}.ui-column-sort-cell .sort-reaction{left:0;right:auto}.pacman{margin:var(--space-6) auto var(--space-2);display:block}.pacman__body{fill:var(--color-accent)}.pacman__eye{fill:var(--color-bg)}.pacman__ball circle{fill:var(--color-secondary)}.pacman__ball path{fill:none;stroke:var(--color-secondary-tonal);stroke-width:1.2px}.list-sheep--ghost .toy img{animation:2.2s ease-in-out infinite alternate ghost-float}@keyframes ghost-float{to{transform:translateY(-4px)}}.catalog-search__field--search,.catalog-search__field--trot{position:relative}.baa-trot{pointer-events:none;position:absolute;inset:0;overflow:hidden}.baa-trot__sheep{width:50px;height:45px;animation:1.5s linear forwards baa-trot-across;position:absolute;bottom:0;left:calc(100% - 50px)}.baa-trot__sheep img{position:absolute;bottom:0;left:0}.baa-trot__sheep img:nth-child(2){animation:.56s step-end infinite baa-trot-step}.baa-trot__sheep img:first-child{animation:.56s step-end infinite reverse baa-trot-step}.baa-trot--still .baa-trot__sheep{left:auto;right:var(--space-2)}@keyframes baa-trot-across{to{left:0}}@keyframes baa-trot-step{0%{opacity:1}50%{opacity:0}}.claw-toy__wrap{justify-items:center;gap:var(--space-1);flex:none;display:grid}.claw-toy img{transition:transform .3s ease-out,opacity .3s ease-out}.claw-toy--step2 img{transform:translate(6px,2px)scale(1.06)}.claw-toy--step3 img{transform:translate(-4px)rotate(-3deg)scale(1.08)}.claw-toy--step4 img{opacity:0;transform:translate(-120%,-20px)rotate(-12deg)}.claw-toy__line{min-height:1.2em;color:var(--color-text-muted);text-align:center;font-size:.8125rem;font-style:italic}.gift-bow{fill:var(--color-secondary);align-self:start;animation:.5s cubic-bezier(.3,1.6,.5,1) both gift-bow-pop}@keyframes gift-bow-pop{0%{transform:scale(0)rotate(-20deg)}}.scissors-toy{justify-items:center;gap:var(--space-2);margin:var(--space-4) 0 0;display:grid}.scissors-toy .toy{max-width:100%;position:relative}.scissors-toy__strand{fill:none;width:100%;height:40%;stroke:var(--color-accent);stroke-width:3px;stroke-linecap:round;position:absolute;inset:auto 0 22%}.scissors-toy .artwork{position:relative}.scissors-toy__line{color:var(--color-text-muted);font-size:.875rem;font-style:italic}.catalog-row__dot,.purchase-item__dot,.storage-lot-dot{position:relative}.zzz{color:var(--color-text-faint);letter-spacing:.05em;white-space:nowrap;font-size:.625rem;font-style:italic;font-weight:600;line-height:1;animation:2.4s ease-in-out infinite alternate zzz-drift;position:absolute;bottom:70%;left:70%}@keyframes zzz-drift{to{transform:translateY(-2px)}}.app-brand__home{color:inherit;text-decoration:none}.header-mark-toy{min-width:var(--touch-target);min-height:var(--touch-target);border-radius:var(--radius-sm);-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;touch-action:manipulation;justify-content:center;align-items:center;display:inline-flex}.header-mark-toy img{-webkit-user-drag:none}.terminal-egg{z-index:2;top:calc(100% + var(--space-2));left:var(--space-4);max-width:min(26rem, calc(100% - 2 * var(--space-4)));padding:var(--space-3) var(--space-4);border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-scanner-bg);font-family:var(--font-mono);font-size:.8125rem;line-height:1.5;animation:.2s ease-out terminal-drop;position:absolute}.terminal-egg p{margin:0}.terminal-egg__sign,.terminal-egg__prompt{color:var(--color-secondary)}.terminal-egg__answer{color:var(--color-accent)}@keyframes terminal-drop{0%{opacity:0;transform:translateY(-6px)}}.sheep-stampede{pointer-events:none;position:absolute;inset:0;overflow:hidden}.sheep-stampede__sheep{width:37px;height:34px;animation:1.8s linear both stampede-across;position:absolute;bottom:2px;left:100%}.sheep-stampede__sheep img{position:absolute;bottom:0;left:0}.sheep-stampede__sheep img:nth-child(2){animation:.56s step-end infinite baa-trot-step}.sheep-stampede__sheep img:first-child:not(:only-child){animation:.56s step-end infinite reverse baa-trot-step}.sheep-stampede--still .sheep-stampede__sheep{left:auto;right:30%}@keyframes stampede-across{to{left:-40px}}
