@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:block))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial}}}@layer theme{:root,:host{--font-sans:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.visible{visibility:visible}.block{display:block}.table{display:table}.w-fit{width:fit-content}.transform{transform:var(--tw-rotate-x, ) var(--tw-rotate-y, ) var(--tw-rotate-z, ) var(--tw-skew-x, ) var(--tw-skew-y, )}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}}:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--cream:#faf6ef;--paper:#fffcf7;--chocolate:#3d2923;--muted:#70594e;--border:#e7dace;--gold:#90663e;--pink:#f4e1de}body{background:var(--cream);color:var(--chocolate);font-family:Arial,Helvetica,sans-serif;line-height:1.55}:focus-visible{outline-offset:4px;outline:2px solid #985c66}section[id]{scroll-margin-block-start:1.25rem}h2{font-size:1.45rem;font-weight:700;line-height:1.3}.shell{width:min(1120px,100% - 72px);margin-inline:auto}.topbar{background:var(--paper);border-block-end:1px solid var(--border)}.topbar-inner{justify-content:space-between;align-items:center;gap:20px;min-height:75px;display:flex}.brand{align-items:center;gap:10px;display:inline-flex}.brand-icon{background:var(--chocolate);color:#f8e9d9;border-radius:11px;place-items:center;width:38px;height:38px;display:grid}.brand-name{font:700 1.65rem/1 Georgia,serif}.navigation{gap:8px;display:flex}.navigation a{min-height:44px;color:var(--muted);border-radius:8px;justify-content:center;align-items:center;gap:8px;padding-inline:14px;font-size:.93rem;font-weight:700;display:inline-flex}.navigation a:hover,.navigation a:focus-visible{color:var(--chocolate);background:#f4eae1}.demo-badge,.sample-label,.project-status{white-space:nowrap;border-radius:999px;align-items:center;gap:7px;padding:4px 11px;font-size:.78rem;font-weight:700;display:inline-flex}.demo-badge{color:#75474a;background:var(--pink)}.demo-badge>span{background:#a06468;border-radius:50%;width:6px;height:6px}.dashboard{padding-block-start:34px}.hero{background:linear-gradient(112deg,#f3e0de,#f8ede2 64%,#fbf2e7);border:1px solid #ebd8ca;border-radius:24px;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);align-items:center;min-height:315px;display:grid;overflow:hidden}.hero-copy{padding:35px clamp(24px,4.5vw,60px) 38px 0}.eyebrow{color:var(--gold);align-items:center;gap:8px;margin-block-end:15px;font-size:.83rem;font-weight:700;display:flex}.hero h1{letter-spacing:-.05em;text-align:right;font:400 clamp(2.45rem,4.6vw,4.3rem)/1.02 Georgia,serif}.hero h1 em{color:#774e46;font-weight:400;display:block}.hero-description{color:var(--muted);margin-block:16px 20px}.hero-art{width:100%;max-width:470px;margin-inline:auto;display:block}.primary-button{background:var(--chocolate);color:#fff9f1;cursor:pointer;border-radius:8px;justify-content:center;align-items:center;gap:8px;width:fit-content;min-height:44px;padding:9px 17px;font-size:.94rem;font-weight:700;display:inline-flex}.primary-button:hover{background:#644236}.overview{margin-block:33px 28px}.section-heading,.panel-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.section-heading p,.muted{color:var(--muted);margin-block-start:4px;font-size:.91rem}.sample-label{color:#73512f;background:#f9efdc;border:1px solid #e9d9bf}.stats-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-block-start:16px;display:grid}.stat-card,.panel{border:1px solid var(--border);background:var(--paper);border-radius:16px;box-shadow:0 3px 10px #432b1b05}.stat-card{grid-template-columns:1fr auto;align-items:center;gap:5px 8px;padding:18px 20px;display:grid}.icon-tile{color:#765046;border-radius:11px;grid-area:1/2/span 2;align-self:start;place-items:center;width:43px;height:43px;display:grid}.icon-tile.pink{background:var(--pink)}.icon-tile.gold{background:#f3e6cb}.icon-tile.cream{background:#efe5db}.stat-card dt{color:var(--muted);font-size:.9rem;font-weight:700}.stat-card dd{flex-wrap:wrap;grid-column:1/-1;align-items:baseline;gap:0 9px;display:flex}.stat-card strong{font-variant-numeric:lining-nums tabular-nums;font:400 2.35rem/1.1 Georgia,serif}.stat-card dd span{color:var(--muted);font-size:.82rem}.detail-grid{grid-template-columns:1.2fr 1fr;align-items:start;gap:16px;display:grid}.panel{padding:20px}.panel-heading h2,.add-panel h2{font-size:1.2rem}.text-link{color:#77483f;align-items:center;gap:6px;padding-block:8px;font-size:.85rem;font-weight:700;display:inline-flex}.text-link:hover{text-decoration:underline}.record-list{margin-block-start:10px}.record-list li{border-block-start:1px solid #efe5db;align-items:center;gap:10px;min-height:52px;padding-block:7px;display:flex}.swatch{border:1px solid #4b2f2025;border-radius:50%;flex:none;width:22px;height:22px}.record-title{overflow-wrap:anywhere;font-size:.93rem;font-weight:700}.record-title small{color:var(--muted);font-weight:400;display:block}.record-detail,.project-status{flex:none;margin-inline-start:auto}.record-detail{color:var(--muted);font-size:.88rem}.project-status{color:#784b51;background:var(--pink)}.add-panel{margin-block-start:16px}.form-feedback:not(:empty){color:#75474a;margin-block-start:12px}.footer{color:var(--muted);justify-content:center;align-items:center;gap:8px;padding-block:25px;font:.9rem Georgia,serif;display:flex}@media (max-width:760px){.shell{width:calc(100% - 32px)}.topbar-inner{flex-wrap:wrap;gap:10px;padding-block:12px 8px}.navigation{order:1;gap:3px;width:100%}.navigation a{flex:1;gap:5px;padding-inline:4px;font-size:.82rem}.dashboard{padding-block-start:20px}.hero{grid-template-columns:1fr;min-height:0}.hero-copy{padding:26px 24px 0}.hero-art{width:min(72%,310px)}.overview{margin-block:25px 20px}.stats-grid{gap:9px}.stat-card{flex-direction:column;align-items:start;gap:6px;padding:12px 9px;display:flex}.icon-tile{width:34px;height:34px}.icon-tile svg{width:18px;height:18px}.stat-card dt{font-size:.8rem}.stat-card dd{flex-direction:column}.stat-card strong{font-size:1.75rem}.stat-card dd span{font-size:.73rem}.detail-grid{grid-template-columns:1fr}.panel{padding:16px}}.yarn-form{gap:16px;margin-block-start:16px;display:grid}.yarn-form fieldset{min-width:0}.yarn-form legend,.form-field label{font-size:.91rem;font-weight:700}.form-field{align-content:start;gap:5px;min-width:0;display:grid}.form-field input,.form-field select{background:#fffefa;border:1px solid #cdb8a9;border-radius:8px;width:100%;min-width:0;min-height:44px;padding:8px 10px;font-size:1rem}.form-field input[aria-invalid=true]{border-color:#a34d55}.field-error{color:#8e3540;font-size:.9rem}.purchase-fields,.inventory-filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.inventory-filters{margin-block:10px}.color-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin-block:7px;display:grid}.color-option,.photo-button{position:relative}.color-option input,.photo-button input{opacity:0;cursor:pointer;width:100%;height:100%;position:absolute;inset:0}.color-choice{border:1px solid var(--border);border-radius:8px;justify-content:center;align-items:center;gap:7px;min-height:44px;padding:4px;font-size:.88rem;display:flex}.color-circle{border:1px solid #4b2f203b;border-radius:50%;flex:none;width:20px;height:20px}.color-option input:hover+.color-choice{border-color:#a27b66}.color-option input:checked+.color-choice{background:var(--pink);border-color:#985c66;font-weight:700;box-shadow:inset 0 0 0 1px #985c66}.color-option input:focus-visible+.color-choice,.photo-button:focus-within{outline-offset:3px;outline:2px solid #985c66}.rate-note{color:var(--muted);font-size:.9rem}.rate-note bdi{font-weight:700}.photo-field{border-block-end:1px solid var(--border);padding-block:5px 12px}.photo-actions{flex-wrap:wrap;align-items:center;gap:8px;margin-block-start:8px;display:flex}.secondary-button{cursor:pointer;border:1px solid #cdb8a9;border-radius:8px;align-items:center;min-height:44px;padding:8px 12px;font-size:.9rem;font-weight:700;display:inline-flex}.secondary-button:hover{background:#f4eae1}button:disabled,fieldset:disabled .photo-button{opacity:.65;cursor:default}.photo-preview,.record-photo{object-fit:cover;border:1px solid var(--border);border-radius:8px}.record-photo{flex:none;width:52px;height:52px}.photo-placeholder{color:var(--gold);background:#f4eae1;place-items:center;display:grid}.inventory-records .record-detail{text-align:end;overflow-wrap:anywhere;flex:0 auto}.inventory-records .record-detail small{display:block}.record-title .record-color{align-items:center;gap:5px;display:flex}.record-color .swatch{width:13px;height:13px}.duplicate-notice{background:#f9efdc;border:1px solid #e9d9bf;border-radius:8px;padding:12px}.yarn-form .form-feedback:not(:empty){margin-block-start:0}.form-feedback:empty{position:absolute}@media (max-width:760px){.color-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (max-width:440px){.purchase-fields,.inventory-filters{grid-template-columns:1fr}.record-photo{width:44px;height:44px}}.management-card{width:100%;min-width:0}#projects>.management-card{border-block-start:1px solid var(--border);margin-block-start:9px}.inventory-records>li{display:block}.management-summary{cursor:pointer;align-items:center;gap:9px;min-height:52px;list-style:none;display:flex}.management-summary::-webkit-details-marker{display:none}.management-summary:after{content:"";border-inline-end:1.5px solid var(--gold);border-block-end:1.5px solid var(--gold);flex:none;width:7px;height:7px;margin:-3px 3px 0;transform:rotate(45deg)}.management-card[open]>.management-summary:after{margin-block-start:3px;transform:rotate(225deg)}.management-summary .record-title{min-width:0}.management-total{text-align:end;color:var(--muted);margin-inline-start:auto;font-size:.88rem}.management-total small{display:block}.management-body{border-block-start:1px solid var(--border);gap:10px;padding-block:10px;display:grid}.management-body h3{font-weight:700}.management-form{gap:10px;min-width:0;display:grid}#projects>.management-form{margin-block:12px}.management-form fieldset{min-width:0}.management-form .form-field>span,.management-form legend{font-size:.91rem;font-weight:700}.management-actions{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.management-body .form-feedback,#projects>.form-feedback{margin-block-start:0}.stock-history summary{cursor:pointer;min-height:44px;padding-block:10px;font-size:.9rem;font-weight:700}.history-list,.project-usage-list{gap:6px;display:grid}.history-list li,.project-usage-list li{border:1px solid var(--border);border-radius:8px;padding:8px}.history-list li{overflow-wrap:anywhere;gap:2px;font-size:.84rem;display:grid}.history-list time,.history-list span{color:var(--muted)}.usage-line{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.usage-line .secondary-button{margin-inline-start:auto}.project-usage-list .management-form{margin-block-start:8px}.auth-shell{place-items:center;min-height:100svh;padding-block:24px;display:grid}.auth-card{border-block-start:4px solid #bd936a;width:min(100%,430px);padding:clamp(22px,6vw,38px)}.auth-brand{color:#774e46;text-align:start;margin-block-end:22px;font:400 clamp(1.65rem,5vw,2.2rem)/1.1 Georgia,serif}.auth-brand em{font-weight:400}.auth-card h1{font-size:1.55rem;font-weight:700}.auth-card .field-error{margin-block:4px}.auth-form{gap:13px;margin-block-start:18px;display:grid}.auth-form .form-field>span{font-size:.91rem;font-weight:700}.auth-form .primary-button{width:100%}.auth-actions{flex-wrap:wrap;gap:8px;margin-block-start:16px;display:flex}.auth-card>.primary-button{margin-block-start:12px}.account-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}@media (max-width:440px){.account-actions .demo-badge{display:none}}.archive-list{border-block-start:1px solid var(--border);margin-block-start:14px;padding-block-start:9px}.archive-list>summary{cursor:pointer;padding-block:8px;font-size:.92rem;font-weight:700}.archive-list>.management-card{border-block-start:1px solid var(--border)}.danger-button{color:#8e3540;border-color:#d6a7a8}.record-dialog{width:min(480px,100% - 32px);max-height:calc(100dvh - 32px);margin:auto;overflow:auto}.record-dialog::backdrop{background:#3d292366}.record-dialog h3{overflow-wrap:anywhere;font-size:1.14rem;font-weight:700}.record-dialog .management-actions{margin-block-start:14px}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}
