:root{color:#263532;font-synthesis:none;background:#f5f2ed;font-family:Manrope,ui-sans-serif,sans-serif}body{min-width:320px;margin:0}button,input{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.42}main{background:radial-gradient(circle at 0 0,#fffdf9 0,#f5f2ed 36rem);min-height:100vh;padding:0 22px 34px}.topbar{justify-content:space-between;align-items:center;max-width:1120px;height:88px;margin:auto;display:flex}.brand{align-items:center;gap:11px;display:flex}.brand-mark{color:#fff;background:#376b70;border-radius:12px;place-items:center;width:38px;height:38px;font-size:20px;display:grid;box-shadow:0 5px 14px #376b7033}.eyebrow,.section-label{letter-spacing:.13em;text-transform:uppercase;color:#8e8174;font:500 10px/1 DM Mono,monospace}.brand h1{letter-spacing:-.03em;margin:4px 0 0;font-size:18px}.icon-btn,.text-btn{color:#376b70;background:0 0;border:0;align-items:center;gap:7px;font-size:12px;font-weight:700;display:flex}.icon-btn{background:#fffdf9;border:1px solid #d9d1c7;border-radius:10px;padding:10px 13px}.layout{grid-template-columns:minmax(0,1.15fr) minmax(330px,.85fr);align-items:start;gap:26px;max-width:1120px;margin:auto;display:grid}.workspace{min-width:0}.project-heading{justify-content:space-between;align-items:end;margin:12px 0 18px;display:flex}.project-name{color:#263532;letter-spacing:-.05em;background:0 0;border:0;border-bottom:1px solid #0000;outline:none;width:min(400px,100%);padding:3px 0;font-size:27px;font-weight:800}.project-name:focus{border-bottom-color:#376b70}.muted{color:#8d8379;margin:6px 0;font-size:12px}.row-total{color:#8d8379;align-items:baseline;gap:5px;font-size:11px;display:flex}.row-total strong{color:#376b70;font-size:23px}.hero{background:#fffdf9;border:1px solid #e9e1d7;border-radius:23px;padding:27px 28px 25px;position:relative;overflow:hidden;box-shadow:0 12px 34px #443d3312}.hero>*{z-index:1;position:relative}.hero-top,.panel-head,.selector-head{justify-content:space-between;align-items:center;display:flex}.mode-pill{color:#54746d;text-transform:uppercase;background:#eef3ef;border-radius:99px;padding:6px 9px;font:500 10px DM Mono}.hero-color{border-radius:50%;width:74px;height:74px;margin:25px auto 13px;box-shadow:inset 0 0 0 7px #fffdf988,0 5px 10px #2b252022}.hero-color-name{text-align:center;text-transform:uppercase;letter-spacing:.14em;font-size:19px;font-weight:800}.instruction-grid{border-top:1px solid #ece5dc;grid-template-columns:1fr 1fr;margin-top:25px;padding-top:20px;display:grid}.result{text-align:center;min-height:66px;position:relative}.result+.result{border-left:1px solid #ece5dc}.result strong{letter-spacing:-.04em;margin-top:10px;font-size:20px;display:block}.result.large strong{color:#376b70;letter-spacing:-.08em;margin-top:4px;font-size:35px}.lock-btn{color:#a39a91;vertical-align:middle;background:0 0;border:0;padding:6px}.lock-btn.locked{color:#bd7251}.result .lock-btn{position:absolute;top:4px;right:0}.color-lock{color:#746b62;justify-content:center;align-items:center;gap:8px;margin-top:18px;font-size:11px;display:flex}.tiny-swatch{border:1px solid #fffa;border-radius:50%;width:13px;height:13px;display:inline-block;box-shadow:0 0 0 1px #ddd4ca}.color-lock .lock-btn{padding:2px}.empty-hero{text-align:center;padding:39px 15px 48px}.yarn-ball{color:#bd7251;margin-bottom:12px;font-size:45px;display:block}.empty-hero h2{letter-spacing:-.06em;margin:0;font-size:28px;line-height:1.1}.empty-hero p{color:#958a80;max-width:270px;margin:12px auto 0;font-size:13px;line-height:1.6}.primary{color:#fff;text-transform:capitalize;background:#376b70;border:0;border-radius:12px;justify-content:space-between;align-items:center;width:100%;padding:16px 17px;font-size:13px;font-weight:800;display:flex;position:relative;box-shadow:0 6px 14px #376b702b}.primary span{font-size:21px;font-weight:400}.error{color:#a64f3d;text-align:center;margin:10px 0 0;font-size:11px}.action-row{align-items:center;gap:14px;padding:14px 2px 28px;display:flex}.secondary{color:#376b70;background:#fffdf9;border:1px solid #d9d1c7;border-radius:9px;align-items:center;gap:7px;padding:10px 13px;font-size:12px;font-weight:700;display:flex}.text-btn{font-size:11px}.danger{color:#a64f3d}.panel,.setup{background:#fffdf9;border:1px solid #e9e1d7;border-radius:17px}.history{overflow:hidden}.panel-head{padding:20px 21px 14px}.panel-head h2,.setup h2{letter-spacing:-.05em;margin:6px 0 0;font-size:19px}.history-item{border-top:1px solid #eee8e0;align-items:center;gap:11px;padding:14px 17px;display:flex}.history-item.latest{background:#f3f8f5}.sequence{color:#a99e92;width:23px;font:500 11px DM Mono}.history-swatch{border-radius:50%;width:25px;height:25px;box-shadow:0 0 0 3px #fff,0 0 0 4px #e4ddd4}.history-copy{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.history-copy strong{font-size:12px}.history-copy span{color:#8d8379;white-space:nowrap;text-overflow:ellipsis;font-size:11px;overflow:hidden}.history-rows{color:#376b70;white-space:nowrap;font:500 14px DM Mono}.history-rows small{color:#8d8379;font:400 9px Manrope}.delete-btn{color:#b9b0a6;background:0 0;border:0;padding:5px}.empty-history{padding:0 21px 24px}.setup{padding:0}.setup-toggle{text-align:left;background:0 0;border:0;justify-content:space-between;align-items:center;width:100%;padding:21px;display:flex}.setup-toggle svg{color:#9d9186}.setup-body{border-top:1px solid #eee8e0;padding:0 21px 22px}.selector{border-bottom:1px solid #eee8e0;padding:21px 0}.selector:last-child{border-bottom:0}.selector-head h3{letter-spacing:-.02em;margin:0;font-size:13px}.selector-head span{color:#a59b90;font:400 10px DM Mono}.swatch-grid{grid-template-columns:repeat(4,1fr);gap:8px;margin-top:15px;display:grid}.swatch{color:#73695f;text-align:left;background:0 0;border:1px solid #0000;border-radius:7px;align-items:center;gap:5px;min-width:0;min-height:44px;padding:7px 5px;font-size:12px;font-weight:650;display:flex;position:relative}.swatch span:first-child{border-radius:50%;flex:0 0 24px;width:24px;height:24px;box-shadow:inset 0 0 0 1px #00000010}.swatch.selected{color:#376b70;background:#f0f5f1;border-color:#c5d9d0;font-weight:700}.swatch svg{color:#376b70;margin-left:auto}.chip-wrap{flex-wrap:wrap;gap:7px;margin-top:14px;display:flex}.chip{color:#82786f;background:#fffdf9;border:1px solid #ddd5cb;border-radius:99px;align-items:center;gap:4px;padding:7px 9px;font-size:10px;display:flex}.chip.selected{color:#376b70;background:#edf5f1;border-color:#9dbeb6;font-weight:700}.add-row{gap:7px;margin-top:14px;display:flex}.add-row input:not(.color-input){color:#263532;background:#fff;border:1px solid #ddd5cb;border-radius:8px;outline:none;flex:1;min-width:0;padding:9px 10px;font-size:11px}.add-row input:focus{border-color:#376b70}.color-input{background:#fff;border:1px solid #ddd5cb;border-radius:8px;width:36px;height:35px;padding:2px}.round-add{color:#fff;background:#376b70;border:0;border-radius:8px;place-items:center;width:36px;display:grid}.custom-line{color:#6e665e;align-items:center;gap:8px;margin-top:9px;font-size:11px;display:flex}.custom-line button{color:#b9b0a6;background:0 0;border:0;margin-left:auto}.range-row{color:#9a9085;align-items:end;gap:11px;margin-top:15px;font-size:11px;display:flex}.range-row label{flex-direction:column;flex:1;gap:5px;display:flex}.range-row input{color:#263532;background:#fff;border:1px solid #ddd5cb;border-radius:8px;outline:none;width:100%;padding:10px;font-weight:700}.mode-tabs{grid-template-columns:repeat(3,1fr);gap:5px;margin:15px 0 13px;display:grid}.mode-tabs button{color:#8c8177;text-transform:capitalize;background:#fffdf9;border:1px solid #ded6cc;border-radius:7px;padding:8px 3px;font:500 10px DM Mono}.mode-tabs button.active{color:#fff;background:#376b70;border-color:#376b70}.toggle-row{color:#675e55;text-align:left;background:0 0;border:0;justify-content:space-between;align-items:center;width:100%;padding:7px 0;font-size:11px;display:flex}.toggle{background:#d7d0c7;border-radius:99px;width:33px;height:19px;padding:2px;transition:all .2s}.toggle span{background:#fff;border-radius:50%;width:15px;height:15px;transition:all .2s;display:block}.toggle.on{background:#376b70}.toggle.on span{transform:translate(14px)}footer{text-align:center;color:#aaa096;max-width:1120px;margin:28px auto 0;font-size:10px}.sync-account{position:relative}.sync-account-button{color:#315e62;cursor:pointer;background:#fff;border:1px solid #c9d7d5;border-radius:999px;min-height:44px;padding:9px 14px;font-weight:750}.sync-account-button:disabled{cursor:not-allowed;opacity:.65}.sync-popover{z-index:40;color:#2d3e3f;background:#fff;border:1px solid #d8d4cc;border-radius:14px;width:min(330px,100vw - 32px);padding:18px;position:absolute;top:calc(100% + 8px);right:0;box-shadow:0 18px 50px #243b3d26}.sync-popover strong,.sync-popover small{display:block}.sync-popover p{color:#667273;margin:7px 0 12px;font-size:13px}.sync-popover label{gap:5px;font-size:12px;font-weight:700;display:grid}.sync-popover input{width:100%;min-height:44px;font:inherit;border:1px solid #c8cfce;border-radius:9px;padding:9px 11px}.sync-popover button{color:#fff;cursor:pointer;background:#376b70;border:0;border-radius:9px;min-height:44px;margin-top:10px;padding:9px 12px;font-weight:750}.sync-popover .google-signin{color:#2d3e3f;background:#fff;border:1px solid #c8cfce;width:100%}.sync-divider{color:#7a8383;align-items:center;gap:9px;margin:14px 0 10px;font-size:11px;font-weight:700;display:flex}.sync-divider:before,.sync-divider:after{content:"";background:#dfe4e3;flex:1;height:1px}.sync-popover small{margin-top:10px;line-height:1.4}.sync-popover .sync-signout{color:#315e62;background:#eef2f1}.sync-account-actions{gap:12px;margin-top:16px;display:flex}.sync-account-actions button{flex:1;min-width:0;margin-top:0}.sync-status{color:#6f817b;white-space:nowrap;font-size:10px;font-weight:800}.sync-import{background:#f1eee7;border-radius:10px;padding:10px}@media (width<=700px){.topbar{flex-wrap:wrap;height:auto;min-height:75px;padding-block:8px}.workspace-nav{justify-content:flex-end;gap:6px;width:100%}.workspace-nav>.sync-account .sync-account-button{max-width:142px;line-height:1.1}.sync-popover{position:fixed;top:76px;right:16px}.home-header{justify-content:space-between;align-items:center;gap:12px}}footer span{color:#bd7251;margin-left:5px}@media (width<=760px){main{padding:0 14px 28px}.topbar{height:75px}.layout{flex-direction:column;gap:15px;display:flex}.workspace,.setup{width:100%}.project-heading{margin-top:8px}.project-name{font-size:23px}.row-total{display:none}.hero{padding:22px 19px 20px}.swatch-grid{grid-template-columns:repeat(3,1fr)}.setup{order:2}.workspace{order:1}.icon-btn span{display:none}.icon-btn{padding:10px}.action-row{padding-bottom:15px}.hero-color{margin-top:20px}}.mobile-generate{display:none}.current-completion{border:1px solid;border-radius:10px;justify-content:center;align-items:center;gap:7px;width:100%;margin:13px 0 2px;padding:10px;font-size:11px;font-weight:800;display:flex}.current-completion.pending{color:#9a5d45;background:#fff5ef;border-color:#e2cbbf}.current-completion.completed{color:#376b70;background:#edf6f2;border-color:#a9c9be}.selector-toggle{width:100%;min-height:36px;color:inherit;text-align:left;background:0 0;border:0;padding:0}.selector-toggle>span{margin-left:auto;margin-right:8px}.selector-toggle>svg{color:#93897f}.selector-content{min-width:0}.result-actions{align-items:center;display:flex;position:absolute;top:0;right:0}.result .result-actions .lock-btn{position:static}.quick-reroll{color:#699089;background:0 0;border:0;border-radius:8px;place-items:center;padding:6px;display:grid}.setup-suggestion{color:#8a6655;text-align:center;margin:11px 0 0;font-size:10px}.focus-entry{color:#376b70;background:#f1f7f4;border:1px solid #cfded9;border-radius:999px;justify-content:center;align-items:center;gap:7px;margin:12px auto;padding:8px 13px;font-size:11px;font-weight:800;display:flex}.mode-description{color:#8b8178;min-height:30px;margin:-5px 0 7px;font-size:9px;line-height:1.45}.palette-mode{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin:13px 0 6px;display:grid}.palette-mode button{color:#766d65;background:#fff;border:1px solid #ddd5cb;border-radius:9px;min-height:44px;padding:7px 4px;font-size:9px;font-weight:750}.palette-mode button.selected{color:#376b70;background:#edf5f1;border-color:#8eafa7}.selection-help,.compatibility-help{color:#82786f;font-size:9px;line-height:1.45}.repeat-protection-grid{grid-template-columns:1fr 1fr;gap:8px;margin-top:11px;display:grid}.repeat-protection-grid label{color:#786f67;flex-direction:column;gap:5px;font-size:9px;display:flex}.repeat-protection-grid select{color:#263532;background:#fff;border:1px solid #ddd5cb;border-radius:9px;min-width:0;min-height:44px;padding:8px;font-size:11px}.project-preview{background:#faf8f4;border-top:1px solid #eee8e0;padding:16px 18px}.project-preview p{color:#82786f;margin:5px 0 11px;font-size:9px}.preview-strip{border-bottom:2px solid #d9d1c7;align-items:flex-end;gap:3px;min-height:92px;padding:4px 2px 0;display:flex;overflow-x:auto}.preview-segment{border:1px solid #00000018;border-radius:5px 5px 0 0;flex:1 0 28px;justify-content:center;align-items:flex-end;min-width:28px;padding:4px 2px;display:flex}.preview-segment span{color:#263532;background:#ffffffd9;border-radius:99px;padding:2px 4px;font:700 8px DM Mono,monospace}.preview-key{color:#6f665e;gap:3px;margin:9px 0 0;padding-left:20px;font-size:9px;line-height:1.45;display:grid}.stitch-helper-link{color:#376b70;text-align:center;overflow-wrap:anywhere;background:#edf6f4;border-radius:12px;justify-content:center;align-items:center;max-width:100%;min-height:44px;margin:10px auto 0;padding:8px 12px;font-size:clamp(14px,3.8vw,17px);font-weight:750;line-height:1.3;display:inline-flex}.stitch-helper-link:focus-visible{outline-offset:2px;outline:3px solid #376b70}.stitch-helper-missing{color:#785c44;background:#fff3e3;border-radius:10px;margin:10px auto 0;padding:8px 12px;font-size:clamp(13px,3.5vw,15px);font-weight:700;line-height:1.3;display:inline-block}.structural-override-note{color:#76572d;text-align:center;background:#fff4df;border-radius:9px;margin:8px 0 0;padding:9px;font-size:10px;line-height:1.45}.optional-count{color:#7d736a;flex-direction:column;gap:6px;margin-top:13px;font-size:10px;display:flex}.optional-count input,.palette-options select,.save-palette-row input{color:#263532;background:#fff;border:1px solid #ddd5cb;border-radius:8px;min-width:0;padding:10px}.swatch-grid{align-items:start}.swatch-item{min-width:0;position:relative}.swatch-item .swatch{width:100%}.swatch-item.paused .swatch,.stitch-chip-wrap.paused .stitch-chip{opacity:.46;filter:grayscale(.45)}.pause-mini{z-index:2;color:#9b654e;background:#fff;border:1px solid #d7cec4;border-radius:50%;place-items:center;width:22px;height:22px;padding:0;display:grid;position:absolute;top:-5px;right:-3px}.stitch-chip-wrap{min-width:0;display:flex;position:relative}.stitch-chip-wrap .stitch-chip{width:100%}.stats{margin-bottom:18px}.stats-grid{background:#eee8e0;border-top:1px solid #eee8e0;border-bottom:1px solid #eee8e0;grid-template-columns:repeat(4,1fr);gap:1px;display:grid}.stats-grid>div{background:#fffdf9;flex-direction:column;align-items:center;gap:3px;padding:14px 6px;display:flex}.stats-grid strong{color:#376b70;font:700 22px DM Mono,monospace}.stats-grid span{color:#8b8178;font-size:9px}.usage-lists{grid-template-columns:1fr 1fr;gap:22px;padding:16px 20px 20px;display:grid}.usage-lists h3{margin:0 0 8px;font-size:11px}.usage-lists p{color:#7d736a;justify-content:space-between;gap:8px;margin:5px 0;font-size:10px;display:flex}.usage-lists p span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.palette-tool{padding-top:13px}.palette-options{grid-template-columns:1.5fr 1fr;gap:8px;display:grid}.palette-options label{color:#80766d;flex-direction:column;gap:5px;font-size:9px;display:flex}.palette-card{background:#fff;border:1px solid #e1d9cf;border-radius:12px;margin-top:10px;padding:11px}.palette-card.featured{background:#f7faf8;border-color:#c8dad4}.palette-card>div:first-child{justify-content:space-between;gap:8px;display:flex}.palette-card small{color:#968b81;font-size:8px}.palette-swatches{border-radius:9px;grid-template-columns:repeat(5,1fr);min-height:46px;margin:9px 0;display:grid;overflow:hidden}.palette-swatches span{color:#fff;text-shadow:0 1px 2px #0008;place-items:end center;min-width:0;padding:4px 2px;font:700 7px DM Mono,monospace;display:grid}.palette-actions{flex-wrap:wrap;gap:6px;display:flex}.palette-actions button,.save-palette-row button,.project-card button{color:#52736c;background:#fffdf9;border:1px solid #d9d1c8;border-radius:8px;justify-content:center;align-items:center;gap:4px;padding:7px 9px;font-size:9px;font-weight:800;display:flex}.save-palette-row{grid-template-columns:1fr auto;gap:7px;margin-top:12px;display:grid}.saved-palettes h4{margin:17px 0 0;font-size:10px}.modal-backdrop{z-index:100;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#1f302da8;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.projects-modal{background:#f9f6f1;border-radius:20px;width:min(560px,100%);max-height:min(760px,90dvh);padding:24px;overflow:auto;box-shadow:0 25px 80px #12211f66}.projects-head{justify-content:space-between;align-items:center;display:flex}.projects-head h2{margin:5px 0 0}.icon-only{color:#6f665e;background:#fff;border:0;border-radius:50%;place-items:center;width:42px;height:42px;display:grid}.compact-primary{justify-content:center;gap:7px;width:100%;min-height:52px;margin:0;padding:11px 14px}.new-project-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:20px 0;display:grid}.project-recovery-import{color:inherit;border-top:1px solid #d9d1c7;gap:10px;margin:0 0 18px;padding-top:18px;font-size:14px;font-weight:700;display:grid}.project-recovery-import input{width:100%;min-width:0;font:inherit}.project-restore-device{justify-content:center;width:100%;margin-bottom:18px}.garment-instruction{color:#315f63;text-align:center;background:#edf5f1;border-radius:11px;flex-direction:column;gap:5px;max-width:460px;margin:16px auto 0;padding:12px;font-size:11px;display:flex}.garment-instruction span{color:#6d7e78;font-size:10px}.project-list{flex-direction:column;gap:14px;display:flex}.project-card{background:#fff;border:1px solid #e2dad1;border-radius:13px;padding:16px}.project-card.active{border-color:#79a299;box-shadow:inset 3px 0 #376b70}.project-card input{color:#263532;border:0;border-bottom:1px solid #0000;outline:0;width:100%;padding:2px 0;font-weight:800}.project-card input:focus{border-color:#7da59d}.project-card p{color:#8c8177;margin:6px 0 10px;font-size:10px}.project-card>div{flex-wrap:wrap;gap:10px;display:flex}.project-card button.danger{color:#a64f3d}.focus-mode{min-height:100dvh;padding:calc(14px + env(safe-area-inset-top)) 18px calc(16px + env(safe-area-inset-bottom));background:radial-gradient(circle at 50% 30%,#fff 0,#f5f2ed 62%);grid-template-rows:auto 1fr auto auto;display:grid}.focus-mode header{color:#81766d;letter-spacing:.1em;justify-content:space-between;align-items:center;font:600 10px DM Mono,monospace;display:flex}.focus-mode header button{color:#52736c;background:0 0;border:0;align-items:center;gap:6px;min-height:44px;font-weight:800;display:flex}.focus-instruction{text-align:center;flex-direction:column;justify-content:center;align-items:center;min-height:0;display:flex}.focus-swatch{aspect-ratio:1;border-radius:50%;width:clamp(100px,28vw,150px);box-shadow:inset 0 0 0 9px #fff8,0 12px 30px #2a24201f}.focus-code{letter-spacing:.1em;margin-top:18px;font:800 clamp(20px,7vw,34px) DM Mono,monospace}.focus-instruction h1{letter-spacing:-.06em;max-width:760px;margin:22px 0 12px;font-size:clamp(32px,9vw,64px);line-height:1}.focus-instruction>strong{color:#376b70;letter-spacing:-.08em;font:800 clamp(48px,16vw,90px) DM Mono,monospace}.focus-instruction>strong.focus-block-headline{letter-spacing:-.06em;font-size:clamp(32px,9vw,60px);display:block}.focus-block-position,.result-detail{color:#376b70;letter-spacing:normal;font-size:clamp(15px,4vw,20px);font-weight:800;line-height:1.35;display:block}.focus-block-position{margin-top:8px;font-size:clamp(18px,4.5vw,24px)}.result-detail{margin:6px auto 0;padding-inline:12px}.focus-instruction p{color:#8b6655;margin:12px 0 0;font-size:12px}.focus-next{color:#fff;background:#376b70;border:0;border-radius:17px;justify-content:space-between;align-items:center;width:100%;min-height:68px;padding:0 22px;font-size:18px;font-weight:900;display:flex;box-shadow:0 10px 26px #1f3f4255}.focus-next span{font-size:28px}.focus-actions{grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;padding-top:9px;display:grid}.focus-actions button{color:#5f746f;background:#fffdf9;border:1px solid #dcd4cb;border-radius:10px;justify-content:center;align-items:center;gap:4px;min-height:44px;font-size:10px;font-weight:800;display:flex}.history-head{flex-wrap:wrap;gap:12px}.history-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:7px;display:flex}.complete-btn{color:#fff;background:#fff;border:1px solid #cbc2b8;border-radius:50%;flex:0 0 28px;place-items:center;width:28px;height:28px;display:grid}.complete-btn span{background:#d5cdc4;border-radius:50%;width:8px;height:8px}.history-item.completed{opacity:.72}.history-item.completed .complete-btn{background:#376b70;border-color:#376b70}.history-item.completed .history-copy strong,.history-item.completed .history-copy span{text-decoration:line-through}.compatibility-help{color:#887e74;margin:12px 0;font-size:10px;line-height:1.5}.color-library-group{margin-top:15px}.color-library-group h4{color:#6e655d;letter-spacing:.08em;text-transform:uppercase;margin:0;font:600 10px DM Mono,monospace}.color-library-group .swatch-grid{margin-top:7px}.stitch-groups{flex-direction:column;gap:12px;margin-top:12px;display:flex}.stitch-search{color:#8b8178;background:#fff;border:1px solid #ddd5cb;border-radius:10px;align-items:center;gap:8px;min-height:42px;margin-top:12px;padding:0 11px;display:flex}.stitch-search:focus-within{border-color:#7da59d;box-shadow:0 0 0 3px #9dbeb629}.stitch-search input{color:#263532;width:100%;min-width:0;font:inherit;background:0 0;border:0;outline:0}.stitch-quick-actions{flex-wrap:wrap;gap:6px;margin-top:9px;display:flex}.stitch-quick-actions button,.stitch-category-actions button{color:#5f746f;background:#fffdf9;border:1px solid #d9d1c8;border-radius:999px;padding:6px 8px;font-size:9px;font-weight:700}.stitch-group{border:1px solid #e7dfd6;border-radius:10px;padding:10px}.stitch-group-head{justify-content:space-between;align-items:center;gap:8px;display:flex}.stitch-category-row{align-items:center;gap:8px;display:flex}.stitch-category-toggle{color:#354e49;text-align:left;background:0 0;border:0;flex:1;align-items:center;gap:5px;min-width:0;padding:4px 0;display:flex}.stitch-category-toggle span{color:#8d8379;font:400 9px DM Mono,monospace}.stitch-category-actions{gap:5px;display:flex}.stitch-chip{text-align:left;border-radius:10px;flex-direction:column;align-items:flex-start}.stitch-chip-name{align-items:center;gap:3px;display:flex}.stitch-chip small{color:#998f85;font:400 7px DM Mono,monospace}.stitch-chip.incompatible{opacity:.48}.stitch-chip:disabled{cursor:not-allowed}.empty-stitch-search{color:#8c8178;margin:12px 0 0;font-size:11px}.custom-stitch-line input{color:#5b554f;background:0 0;border:1px solid #0000;border-radius:7px;flex:1;min-width:0;padding:6px 7px}.custom-stitch-line input:focus{background:#fff;border-color:#9dbeb6;outline:0}.stitch-group-head strong{font-size:10px}.stitch-group-head span{color:#64847d;font:400 8px DM Mono,monospace}.stitch-group .chip-wrap{margin-top:8px}.stitch-group.incompatible{opacity:.62;background:#f1eeea}.stitch-group.incompatible .stitch-group-head span{color:#9a6b5a}.stitch-group .chip:disabled{cursor:not-allowed}.custom-line>span{color:#93897f;margin-left:auto;font-size:8px}.custom-line>span+button{margin-left:0}@media (width<=760px){.action-row{flex-wrap:wrap;gap:8px}.action-row .secondary{flex:190px}.action-row .text-btn{min-height:44px;padding-inline:8px}main{padding-bottom:calc(92px + env(safe-area-inset-bottom))}.mobile-generate{left:14px;right:14px;bottom:calc(10px + env(safe-area-inset-bottom));z-index:20;color:#fff;background:#376b70;border:0;border-radius:14px;justify-content:space-between;align-items:center;width:calc(100% - 28px);min-height:56px;padding:0 19px;font-size:14px;font-weight:800;display:flex;position:fixed;box-shadow:0 9px 26px #1f3f42aa}.hero>.primary{display:none}.mobile-generate span{font-size:22px}.mobile-generate:disabled{display:none}.history-head{align-items:flex-start}.history-actions{justify-content:flex-start}.history-actions .text-btn{min-height:34px}.history-item{gap:8px;padding-inline:12px}.complete-btn{flex-basis:32px;width:32px;height:32px}.history-rows{font-size:12px}.stitch-group{padding:9px}.stitch-group .chip{min-height:42px}.stitch-search{min-height:46px}.stitch-search input,.custom-stitch-line input{font-size:16px}.stitch-quick-actions button,.stitch-category-actions button,.stitch-category-toggle{min-height:44px}.stitch-category-row{flex-wrap:wrap;align-items:flex-start}.stitch-category-actions{margin-left:22px}.current-completion,.quick-reroll,.focus-entry,.selector-toggle,.palette-actions button,.save-palette-row button,.project-card button{min-height:44px}.pause-mini{width:28px;height:28px;top:-8px;right:-5px}.stats-grid{grid-template-columns:repeat(2,1fr)}.usage-lists{grid-template-columns:1fr;gap:12px}.modal-backdrop{align-items:end;padding:0}.projects-modal{width:100%;max-height:88dvh;padding-bottom:calc(20px + env(safe-area-inset-bottom));border-radius:20px 20px 0 0}.palette-options,.save-palette-row{grid-template-columns:1fr}}@media (width<=520px){.new-project-actions{grid-template-columns:1fr}}.color-style-controls{flex-wrap:wrap;align-items:end;gap:.75rem;margin:1rem 0;display:flex}.color-style-controls label{min-width:min(100%,11rem);color:inherit;gap:.35rem;display:grid}.color-style-controls select{border:1px solid var(--border,#9aa);background:var(--surface,#fff);width:100%;min-width:0;color:inherit;border-radius:.6rem;padding:.65rem 2rem .65rem .75rem}.color-style-controls p{flex-basis:100%;margin:.25rem 0;line-height:1.45}@media (width<=420px){.color-style-controls label{width:100%}}body{font-size:16px;line-height:1.5}.topbar,.layout,footer{max-width:1320px}.layout{grid-template-columns:minmax(0,1.35fr) minmax(380px,.65fr);gap:32px}button,.primary,.secondary,.icon-btn,.text-btn{font-size:14px}.muted,.empty-hero p,.selector p,.selection-help,.compatibility-help,.mode-description,.setup-suggestion,.structural-override-note,.project-card p,.empty-stitch-search{font-size:15px;line-height:1.55}.selector-head h3,.wearable-controls legend,.panel-head h2,.setup h2{font-size:16px}.chip,.toggle-row,.stitch-quick-actions button,.stitch-category-actions button,.stitch-group-head strong,.stitch-chip small,.custom-line>span,.history-copy strong,.history-copy span,.history-rows,.history-rows small{font-size:14px}.wearable-card .project-start-head p,.wearable-summary strong,.stage-counts strong,.wearable-controls legend,.wearable-field-grid label,.gauge-four label,.inline-field,.wearable-note,.stage-panel p,.raglan-round-guide summary,.raglan-math summary,.stretch-measurement summary,.neckline-construction-options span,.neckline-warning,.legacy-neck-warning,.neckline-prompt,.construction-heading p,.construction-card p,.construction-interest,.body-progress label{font-size:15px}.wearable-summary span,.stage-counts>span,.construction-status,.neckline-fit-result>span{font-size:12px}.wearable-summary strong,.stage-counts strong{font-size:16px}.field-help{color:#7e746b;grid-column:1/-1;font-size:14px;line-height:1.45}.raglan-result{text-align:left;padding:clamp(20px,4vw,34px)}.raglan-result>span,.raglan-result>strong,.raglan-result>.raglan-math{text-align:center;display:block}.raglan-result>span{font-size:12px}.raglan-result>strong{font-size:clamp(30px,5vw,44px)}.raglan-result p{font-size:16px}.raglan-setup-guide{color:#263532;background:#fffdf9;border-radius:16px;margin:24px 0;padding:clamp(18px,3vw,28px)}.instruction-heading{text-align:center;max-width:720px;margin:0 auto 18px}.instruction-heading h3{letter-spacing:-.04em;margin:7px 0;font-size:clamp(25px,4vw,36px);line-height:1.1}.instruction-heading p{color:#655d56;margin:0;font-size:17px;line-height:1.55}.raglan-setup-steps{counter-reset:none;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:20px 0;padding:0;list-style:none;display:grid}.raglan-setup-steps li{background:#fff;border:1px solid #ded8cf;border-radius:13px;grid-template-columns:38px 1fr;align-items:start;gap:12px;min-width:0;padding:14px;display:grid}.raglan-setup-steps li.raglan{background:#edf5f1;border-color:#8fb5aa}.step-number{color:#fff;background:#376b70;border-radius:50%;place-items:center;width:36px;height:36px;font-weight:900;display:grid}.raglan-setup-steps strong{font-size:17px}.raglan-setup-steps p{color:#554f49;margin:4px 0 0;font-size:16px;line-height:1.5}.back-to-start{background:#fff6ed;border-left:4px solid #bd7251;margin:16px 0;padding:10px 14px;color:#5e4c42!important;font-size:16px!important}.raglan-route{text-align:center;justify-items:center;max-width:560px;margin:22px auto;display:grid}.route-item{display:contents}.route-start,.route-item>span:last-child{border-radius:10px;width:min(100%,360px);padding:10px 14px;font-weight:800}.route-start{color:#fff;letter-spacing:.08em;background:#263532;font-size:13px}.route-item>.section{background:#fff;border:1px solid #dad3ca}.route-item>.raglan{color:#295e55;background:#dfeee9;border:2px solid #6f9d92}.route-arrow{color:#7b8f89;padding:3px;font-size:20px;line-height:1}.raglan-count-check{text-align:center;background:#edf3f0;gap:5px;padding:14px;display:grid;color:#365e57!important;font-size:16px!important;line-height:1.55!important}.raglan-count-check strong{text-transform:uppercase;letter-spacing:.05em}.raglan-increase-guide,.work-even-guide{color:#263532;background:#f9fcfa;border:1px solid #bad2ca;border-radius:16px;margin-top:18px;padding:clamp(17px,3vw,26px)}.increase-actions{grid-template-columns:1fr auto 1fr auto 1fr;align-items:stretch;gap:10px;margin:20px 0;display:grid}.increase-actions>div{text-align:center;background:#fff;border:1px solid #d9d3cb;border-radius:13px;flex-direction:column;min-width:0;padding:14px;display:flex}.increase-actions>.marked-action{background:#fff7ef;border:2px solid #bd7251}.increase-actions span{color:#6d645d;letter-spacing:.05em;font-size:12px;font-weight:900}.increase-actions strong{color:#376b70;margin:8px 0;font-size:clamp(28px,4vw,42px);line-height:1}.increase-actions p{color:#554f49;margin:auto 0 0;font-size:15px;line-height:1.45}.increase-actions .action-arrow{color:#6f8e86;align-self:center;font-size:24px}.do-not-increase-marker{background:#fff1e6;border-left:5px solid #bd7251;padding:12px 14px;color:#694735!important;margin:14px 0!important;font-size:16px!important;line-height:1.5!important}.round-counts{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:18px;display:grid}.round-counts>div{text-align:center;background:#eaf2ef;border-radius:12px;flex-direction:column;align-items:center;padding:14px 8px;display:flex}.round-counts .added-count{background:#fff0e5}.round-counts span{letter-spacing:.05em;font-size:12px;font-weight:900}.round-counts strong{color:#315f63;font-size:clamp(30px,5vw,44px);line-height:1.15}.round-counts small{font-size:14px}.increase-explanation,.marker-tip{margin-top:14px}.increase-explanation summary,.marker-tip summary{color:#376b70;cursor:pointer;min-height:44px;padding:10px 0;font-size:15px;font-weight:900}.increase-explanation p,.marker-tip p{font-size:15px!important}.work-even-guide h3{margin:7px 0;font-size:24px}.work-even-guide p{margin:0;font-size:16px!important}.fit-checkpoints{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:14px;display:grid}.fit-checkpoints>div{background:#fff;border:1px solid #d8d5cc;border-radius:12px;padding:14px}.fit-checkpoints>div.ready{background:#ecf5f0;border-color:#87ae9f}.fit-checkpoints span{color:#796f66;letter-spacing:.06em;font-size:12px;font-weight:900}.fit-checkpoints strong{margin-top:5px;font-size:17px;display:block}.fit-checkpoints p{margin:7px 0 0}.try-on-check{background:#fff7e8;border-radius:12px;gap:5px;padding:14px;display:grid;color:#665337!important}.structural-hero{margin-top:12px}.structural-hero .raglan-increase-guide{margin-top:0}.structural-meta,.focus-structural-meta{background:#f3f0eb;border-radius:12px;grid-template-columns:auto repeat(3,minmax(0,1fr));align-items:center;gap:14px;margin:14px 0;padding:13px;display:grid}.structural-meta .tiny-swatch,.focus-mini-swatch{border-radius:50%;width:42px;height:42px;box-shadow:0 0 0 3px #fff,0 0 0 4px #ddd4ca}.structural-meta>span:not(.tiny-swatch),.focus-structural-meta>span:not(.focus-mini-swatch){flex-direction:column;min-width:0;display:flex}.structural-meta small{color:#827870;font-size:11px;font-weight:900}.structural-meta strong{overflow-wrap:anywhere;font-size:15px}.raglan-increase-choices{background:#f6fbfa;border:1px solid #cfdfdc;border-radius:12px;margin:12px 0;padding:12px}.raglan-increase-choices summary{cursor:pointer;color:#315b5c;font-weight:800}.raglan-increase-choices p{margin:10px 0}.raglan-increase-chip-list{flex-wrap:wrap;gap:8px;display:flex}.raglan-increase-chip-list button{color:#315b5c;min-height:44px;font:inherit;cursor:pointer;background:#fff;border:1px solid #b9d0cc;border-radius:999px;padding:8px 12px;font-weight:700}.raglan-increase-chip-list button.selected{color:#fff;background:#315b5c}.raglan-increase-chip-list button:disabled{cursor:not-allowed;opacity:.7}.alternating-raglan-guide{gap:10px;margin:12px 0;display:grid}.alternating-raglan-guide p{background:#f1f7f5;border-radius:10px;margin:0;padding:13px;line-height:1.5}.yoke-stitch-explainer{background:#f3f8f6;border:1px solid #bfd8d1;border-radius:14px;margin:12px 0 18px;padding:14px 18px}.yoke-stitch-explainer summary{color:#315b5c;cursor:pointer;min-height:30px;font-weight:750}.yoke-stitch-explainer p{max-width:75ch;margin:12px 0 0;line-height:1.5}.structural-override-note{color:#715323;background:#fff4df;border-radius:11px;max-width:720px;margin:14px auto;padding:12px 14px}.structural-override-note strong{display:block}.section-length-note{text-align:center;background:#eef3f1;border-radius:10px;max-width:720px;margin:12px auto;padding:11px 13px;color:#46645e!important;font-size:15px!important;line-height:1.5!important}.current-run-progress{background:#eef3f1;border-radius:10px;padding:11px 13px;color:#365e57!important;margin:12px 0!important;font-size:15px!important;line-height:1.5!important}.resume-run-button{color:#27544d;text-align:center;background:#e8f3ee;border:1px solid #6b9d91;border-radius:11px;width:100%;min-height:48px;margin:12px 0;padding:11px 14px;font-size:15px;font-weight:800;line-height:1.4;display:block}.focus-end-block{color:#27544d;background:#f2f8f5;border:1px solid #6b9d91;border-radius:11px;width:100%;min-height:48px;margin-top:12px;font-size:15px;font-weight:800}.history-run-progress{color:#365e57;margin-top:3px;font-size:12px;line-height:1.4;display:block}.focus-mode{font-size:16px}.focus-mode header,.focus-mode header button,.focus-actions button{font-size:14px}.focus-instruction p{max-width:760px;font-size:17px;line-height:1.5}.focus-structural{width:min(100%,980px);margin:auto;padding:18px 0}.focus-structural .raglan-increase-guide{margin-top:10px}.focus-structural-meta{margin:0 auto}.focus-structural-meta strong{font-size:16px}.focus-structural-note{color:#5e5650;text-align:center;max-width:720px;margin:14px auto 0;font-size:16px}@media (width<=980px){.layout{grid-template-columns:minmax(0,1fr) minmax(330px,.7fr);gap:20px}.increase-actions{grid-template-columns:1fr}.increase-actions .action-arrow{display:none}}@media (width<=760px){.increase-actions{gap:10px;margin:14px 0}.increase-actions>div{padding:12px}.increase-actions strong{margin:7px 0;font-size:32px}.increase-actions p{margin-top:0}.layout,.raglan-setup-steps,.fit-checkpoints{grid-template-columns:1fr}.round-counts{gap:6px}.round-counts>div{padding-inline:5px}.round-counts span{font-size:10px}.round-counts strong{font-size:30px}.structural-meta,.focus-structural-meta{grid-template-columns:auto 1fr}}@media (width<=430px){main{padding-inline:12px}.wearable-card,.hero,.stage-panel,.raglan-result,.raglan-setup-guide,.raglan-increase-guide{padding-inline:14px}.wearable-field-grid,.gauge-four,.compact-fields,.round-counts{grid-template-columns:1fr}.round-counts>div{text-align:left;grid-template-columns:1fr auto auto;gap:6px;display:grid}.round-counts strong{font-size:26px}.focus-mode{padding-inline:12px}.focus-structural{padding-block:8px}.focus-actions{grid-template-columns:repeat(2,1fr)}}.stats .section-label,.project-preview .section-label{font-size:12px}.stats-grid strong{font-size:28px}.stats-grid span{font-size:14px}.usage-lists h3{font-size:16px}.usage-lists p{align-items:baseline;margin-block:9px;font-size:15px;line-height:1.4}.usage-lists p span{min-width:0}.color-library-group h4{font-size:13px}.swatch{gap:10px;min-height:56px;padding:8px 10px;font-size:15px}.swatch span:first-child{flex-basis:36px;width:36px;height:36px}.swatch span:nth-child(2){text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.swatch svg{flex:none;width:17px;height:17px}.pause-mini{width:30px;height:30px}.custom-line{font-size:15px}.custom-line .tiny-swatch{flex:none;width:22px;height:22px}.palette-card strong{font-size:15px}.palette-card small{font-size:12px}.palette-swatches{min-height:62px}.palette-swatches span{font-size:11px}.history-swatch{flex:none;width:34px;height:34px}.sequence,.project-preview p{font-size:14px}.preview-segment span{font-size:11px}.preview-key{font-size:13px;line-height:1.5}@media (width<=520px){.color-library-group .swatch-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.usage-lists{padding-inline:16px}}.account-tools{align-items:center;gap:8px;display:flex}.theme-switch{color:#376b70;align-items:center;gap:8px;font-size:14px;font-weight:750;display:inline-flex}.theme-select-wrap{align-items:center;display:inline-flex;position:relative}.theme-switch select{appearance:none;color:#263532;min-width:116px;min-height:44px;font:inherit;cursor:pointer;background:#fffdf9;border:1px solid #d9d1c7;border-radius:10px;padding:8px 38px 8px 14px}.theme-select-wrap svg{pointer-events:none;color:currentColor;position:absolute;right:12px}.theme-switch select:focus-visible{outline-offset:2px;outline:3px solid #db9b68}.theme-sync-note{color:#a45038;font-size:11px}html[data-theme=dark] .theme-sync-note{color:#ffc4a0}@media (width<=700px){.home-header{flex-wrap:wrap}.home-header .account-tools{justify-content:flex-end;width:100%}.workspace-nav .account-tools{margin-left:auto}}html[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;color:#eaf1ef;background:#151e22}html[data-theme=dark] body,html[data-theme=dark] main,html[data-theme=dark] .home-screen,html[data-theme=dark] .focus-mode{color:#eaf1ef;background:#151e22}html[data-theme=dark] :is(h1,h2,h3,h4,p,small,strong,label,legend,summary,li){color:#eaf1ef}html[data-theme=dark] :is(.muted,.eyebrow,.section-label,.field-help,.compatibility-help,.mode-description,.history-rows small,.setup-suggestion){color:#afc0bd}html[data-theme=dark] :is(.hero,.setup,.stats,.project-preview,.project-start-card,.wearable-card,.wearable-setup,.panel,.palette-tool,.palette-card,.projects-modal,.project-card,.pattern-draft-panel,.completion-dialog,.sync-popover,.home-projects,.home-construction-panel,.project-type-card,.home-project-list button,.focus-panel,.focus-card){color:#eaf1ef;box-shadow:none;background:#202c31;border-color:#405357}html[data-theme=dark] :is(.start-summary,.start-controls,.size-grid button,.nearby button,.start-option-row button,.method-row button,.compatible,.recommended-start,.chain-note,.wearable-summary,.stage-panel,.raglan-result,.raglan-setup-guide,.raglan-setup-steps li,.route-item,.work-even-guide,.increase-actions>div,.round-counts>div,.fit-checkpoints>div,.try-on-check,.structural-meta,.structural-override-note,.section-length-note,.current-run-progress,.raglan-increase-choices,.project-preview,.project-card,.swatch-item,.palette-card,.stitch-chip,.stitch-group-head,.history-row,.history-item,.history-rows,.stats-grid>div,.source-note,.focus-instruction,.focus-structural,.finished-banner,.pattern-draft-warning){color:#eaf1ef;background:#27363a;border-color:#456065}html[data-theme=dark] .start-summary>div{background:#27363a;border:1px solid #456065}html[data-theme=dark] .start-summary span{color:#bbd0cc}html[data-theme=dark] .start-summary strong{color:#f0f5f2}html[data-theme=dark] .project-type-card:after{background:#294246}html[data-theme=dark] :is(.icon-btn,.secondary,.sync-account-button,.theme-switch select,.palette-mode button,.chip,.stitch-chip,.stitch-group-head,.setup-toggle,.start-edit,.focus-entry,.new-project-actions button,.size-grid button,.nearby button,.method-row button,.start-option-row button,.raglan-increase-chip-list button,.pause-mini){color:#eaf1ef;background:#2a3b3f;border-color:#587075}html[data-theme=dark] :is(.chip.selected,.size-grid button.selected,.nearby button.selected,.method-row button.selected,.palette-mode button.selected,.raglan-increase-chip-list button.selected,.stitch-chip.selected,.project-card.active,.home-project-list button.active){color:#fff;background:#305b60;border-color:#78bbc0}html[data-theme=dark] :is(.start-option-row button.selected,.method-row button.selected,.size-grid button.selected,.nearby button.selected,.unit-tabs button.selected,.stage-tabs button.selected,.palette-mode button.selected,.raglan-increase-chip-list button.selected,.stitch-chip.selected) :is(strong,span,small){color:#fff}html[data-theme=dark] :is(input,select,textarea){color:#f0f5f2;background:#1b282c;border-color:#587075}html[data-theme=dark] .project-card input{background:0 0}html[data-theme=dark] :is(input,textarea)::placeholder{color:#a5b9b6}html[data-theme=dark] :is(.project-name,.theme-switch,.icon-btn,.text-btn,.stitch-helper-link,.source-summary a,.row-total strong,.result.large strong,.round-counts strong){color:#a4d9d8}html[data-theme=dark] :is(.primary,.compact-primary,.mobile-generate,.focus-actions button.primary,.resume-run-button){color:#fff;background:#32767c}html[data-theme=dark] :is(.primary,.compact-primary,.mobile-generate,.resume-run-button) :is(span,strong){color:#fff}html[data-theme=dark] :is(.mode-pill,.finished-badge,.current-completion.completed,.source-verified){color:#bde8df;background:#244b4a;border-color:#48786f}html[data-theme=dark] :is(.warning,.error,.neckline-warning,.current-completion.pending,.do-not-increase-marker,.structural-override-note,.minimum-note){color:#ffe0c8;background:#4b332c;border-color:#a87154}html[data-theme=dark] :is(.instruction-grid,.result+.result,.panel-head,.history-row,.history-item,.project-list,.stats-grid,.start-controls fieldset){border-color:#405357}html[data-theme=dark] :is(.color-lock,.row-total,.history-copy span,.start-summary small,.nearby small,.structural-meta small,.wearable-note){color:#b4c6c2}html[data-theme=dark] .pattern-draft-text{color:#eaf1ef}html[data-theme=dark] .pattern-draft-backdrop{background:#050b0dc7}html[data-theme=dark] :is(.wearable-summary>div,.stage-counts>span,.raglan-round-guide,.raglan-increase-guide,.raglan-setup-guide,.stretch-measurement,.neckline-construction-options button,.construction-card,.construction-interest,.raglan-route .section,.raglan-route .raglan,.raglan-marker-map span,.readiness span,.alternating-raglan-guide p,.stitch-helper-link,.stitch-helper-missing){color:#eaf1ef;background:#29383c;border-color:#526b70}html[data-theme=dark] :is(.wearable-summary strong,.stage-counts strong,.stitch-helper-link){color:#b8e1dd}html[data-theme=dark] :is(.wearable-summary span,.stage-counts>span,.increase-actions span,.fit-checkpoints span,.raglan-marker-map span,.readiness span){color:#bdccc8}html[data-theme=dark] :is(.raglan-round-guide summary,.increase-explanation summary,.marker-tip summary,.stretch-measurement summary,.raglan-increase-choices summary){color:#b8e1dd}html[data-theme=dark] :is(.instruction-heading p,.construction-heading p,.construction-card p,.focus-structural-note,.history-run-progress){color:#d5e1de}html[data-theme=dark] :is(.back-to-start,.raglan-count-check,.section-length-note,.current-run-progress){background:#293d40;border-color:#6a9593;color:#eaf1ef!important}html[data-theme=dark] :is(.do-not-increase-marker,.try-on-check,.neckline-warning,.legacy-neck-warning,.neckline-prompt,.wearable-error){background:#4b332c;border-color:#a87154;color:#ffe0c8!important}html[data-theme=dark] :is(.do-not-increase-marker,.try-on-check) :is(strong,small){color:#ffe0c8}html[data-theme=dark] :is(.raglan-setup-steps li.raglan,.fit-checkpoints>div.ready,.neckline-construction-options button.selected,.construction-card.available,.readiness span.ready,.raglan-marker-map span.line){color:#eaf1ef;background:#305054;border-color:#78a9a6}html[data-theme=dark] :is(.unit-tabs button,.stage-tabs button,.construction-interest:disabled,.focus-end-block){color:#eaf1ef;background:#2a3b3f;border-color:#587075}html[data-theme=dark] .wearable-card .project-start-head p{color:#c2d0cd}html[data-theme=dark] :is(.raglan-finishing,.finishing-target,.raglan-finishing-preview){color:#eaf1ef;background:#29383c;border-color:#526b70}html[data-theme=dark] .neckline-fit-result>span{color:#e2f1ec}html[data-theme=dark] .stats-grid span{color:#c2d0cd}html[data-theme=dark] .swatch{color:#d8e4e0}html[data-theme=dark] .swatch.selected{color:#fff;background:#305b60;border-color:#78bbc0}html[data-theme=dark] .swatch-item.paused .swatch{opacity:.72}html[data-theme=dark] .wearable-card .try-on-check{background:#4b332c;color:#ffe0c8!important}html[data-theme=dark] .yoke-stitch-explainer{color:#eaf1ef;background:#27363a;border-color:#526b70}html[data-theme=dark] .yoke-stitch-explainer summary{color:#b8e1dd}html[data-theme=dark] .garment-instruction{color:#eaf1ef;background:#293d40;border:1px solid #526b70}html[data-theme=dark] .garment-instruction strong{color:#eaf1ef}html[data-theme=dark] .garment-instruction span{color:#c2d0cd}html[data-theme=dark] .result-detail{color:#b8e1dd}html[data-theme=dark] :is(.start-option-row button.selected,.method-row button.selected,.size-grid button.selected,.nearby button.selected,.unit-tabs button.selected,.stage-tabs button.selected,.neckline-construction-options button.selected,.palette-mode button.selected,.raglan-increase-chip-list button.selected,.stitch-chip.selected){color:#fff;background:#17646b;border:2px solid #a4e1de;box-shadow:inset 0 0 0 1px #113a3f,0 0 0 2px #87c9c633}:root{--color-canvas:#f4f0e9;--color-surface:#fffdf9;--color-surface-soft:#e8f0ec;--color-text:#263532;--color-muted:#756f68;--color-border:#ddd5cb;--color-primary:#2f6668;--color-primary-strong:#214e50;--color-primary-contrast:#fff;--color-accent:#a56445;--color-focus:#bd885e;--shadow-card:0 16px 42px #473f3512;--radius-small:10px;--radius-medium:16px;--radius-large:24px;--page-width:1120px;color:var(--color-text);background:var(--color-canvas);font-synthesis:none;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}:root[data-theme=dark]{--color-canvas:#162326;--color-surface:#203034;--color-surface-soft:#294044;--color-text:#edf4f1;--color-muted:#b3c1bd;--color-border:#42585d;--color-primary:#80c4c4;--color-primary-strong:#a4dddd;--color-primary-contrast:#102326;--color-accent:#efb18d;--color-focus:#efb18d;--shadow-card:0 16px 42px #00000024}*{box-sizing:border-box}html{background:var(--color-canvas);min-width:320px}body{background:var(--color-canvas);min-width:320px;min-height:100vh;margin:0}button,input,select{font:inherit}a{color:inherit}a:focus-visible,button:focus-visible,select:focus-visible{outline:3px solid var(--color-focus);outline-offset:3px}.app-shell{flex-direction:column;min-height:100vh;display:flex}.app-main{flex:1}.global-header{z-index:10;min-height:76px;padding:10px max(22px, calc((100vw - var(--page-width)) / 2));border-bottom:1px solid var(--color-border);background:color-mix(in srgb, var(--color-surface) 94%, transparent);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);justify-content:space-between;align-items:center;display:flex;position:sticky;top:0}.global-brand{align-items:center;gap:11px;min-width:0;text-decoration:none;display:flex}.global-brand small,.global-brand strong{display:block}.global-brand small,.eyebrow{color:var(--color-muted);letter-spacing:.14em;text-transform:uppercase;font-size:10px;font-weight:750}.global-brand strong{margin-top:3px;font-family:Georgia,serif;font-size:18px}.brand-symbol{background:var(--color-primary);width:38px;height:38px;color:var(--color-primary-contrast);border-radius:12px;flex:none;place-items:center;display:grid}.global-actions,.global-actions nav,.header-controls{align-items:center;gap:18px;display:flex}.global-actions nav a{color:var(--color-muted);font-size:14px;font-weight:700;text-decoration:none}.global-actions nav a.active{color:var(--color-primary-strong)}.account-status{color:var(--color-muted);font-size:12px}.account-control{position:relative}.account-button,.account-panel button{border:1px solid var(--color-border);border-radius:var(--radius-small);background:var(--color-surface);min-height:42px;color:var(--color-text);cursor:pointer;padding:8px 12px;font-weight:750}.account-panel{z-index:20;border:1px solid var(--color-border);border-radius:var(--radius-medium);background:var(--color-surface);width:min(320px,100vw - 28px);box-shadow:var(--shadow-card);padding:16px;position:absolute;top:calc(100% + 12px);right:0}.account-panel strong{overflow-wrap:anywhere;display:block}.account-panel p{color:var(--color-muted);font-size:13px;line-height:1.45}.account-panel button{width:100%}.account-panel .google-signin{color:#1e2525;background:#fff;border-color:#c8cfce}.account-error{color:#a94442!important}.theme-control{color:var(--color-muted);align-items:center;gap:7px;font-size:12px;font-weight:700;display:flex}.theme-control select{border:1px solid var(--color-border);border-radius:var(--radius-small);background:var(--color-surface);min-height:42px;color:var(--color-text);padding:7px 28px 7px 9px}.mobile-menu-button{border:1px solid var(--color-border);border-radius:var(--radius-small);background:var(--color-surface);min-height:44px;color:var(--color-text);padding:0 14px;font-weight:750;display:none}.page{width:min(var(--page-width), calc(100% - 40px));margin:0 auto;padding:clamp(42px,7vw,84px) 0 76px}.product-home{max-width:940px}.home-intro{max-width:760px}.home-intro h1,.page-header h1{letter-spacing:-.045em;margin:10px 0 16px;font-family:Georgia,serif;font-size:clamp(40px,6vw,68px);font-weight:600;line-height:1.02}.home-intro>p:last-child,.page-header>p:last-child{max-width:690px;color:var(--color-muted);font-size:clamp(16px,2vw,20px);line-height:1.55}.tool-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:42px;display:grid}.continue-project{margin-top:18px}.continue-project .tool-card{min-height:132px}.tool-card{border:1px solid var(--color-border);border-radius:var(--radius-large);background:var(--color-surface);min-height:210px;box-shadow:var(--shadow-card);grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:18px;padding:26px;text-decoration:none;transition:transform .15s,border-color .15s;display:grid}.tool-card:hover{border-color:var(--color-primary);transform:translateY(-3px)}.tool-symbol{background:var(--color-surface-soft);width:54px;height:54px;color:var(--color-primary-strong);border-radius:17px;place-items:center;font-size:26px;display:grid}.tool-copy{flex-direction:column;gap:7px;min-width:0;display:flex}.tool-copy small{color:var(--color-muted);letter-spacing:.12em;font-size:9px;font-weight:800}.tool-copy strong{font-family:Georgia,serif;font-size:clamp(24px,3vw,32px);font-weight:600}.tool-copy>span{color:var(--color-muted);line-height:1.5}.tool-arrow{color:var(--color-accent);font-size:25px}.home-note{border-radius:var(--radius-medium);background:var(--color-surface-soft);color:var(--color-muted);justify-content:space-between;gap:14px;margin-top:20px;padding:18px 20px;font-size:13px;display:flex}.home-note strong{color:var(--color-text)}.feature-page{max-width:960px}.narrow-page{max-width:760px}.page-header{max-width:760px;margin-bottom:34px}.page-header h1{font-size:clamp(36px,5vw,58px)}.placeholder-card,.core-status{border:1px solid var(--color-border);border-radius:var(--radius-medium);background:var(--color-surface);margin:24px 0;padding:22px}.placeholder-card p{color:var(--color-muted);margin-bottom:0}.placeholder-card code{color:var(--color-accent);overflow-wrap:anywhere}.core-status{color:var(--color-muted);gap:10px;display:flex}.core-status span{color:var(--color-primary-strong);font-weight:900}.feature-link-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:26px 0;display:grid}.feature-link-grid a{border:1px solid var(--color-border);border-radius:var(--radius-medium);background:var(--color-surface);justify-content:space-between;align-items:center;min-height:82px;padding:17px;text-decoration:none;display:flex}.feature-link-grid a:hover{border-color:var(--color-primary)}.feature-link-grid a span,.text-link{color:var(--color-primary-strong);font-weight:750}.text-link{margin-top:12px;text-decoration:none;display:inline-block}.app-footer{width:min(var(--page-width), calc(100% - 40px));border-top:1px solid var(--color-border);color:var(--color-muted);justify-content:space-between;gap:12px;margin:0 auto;padding:20px 0 28px;font-size:12px;display:flex}@media (width<=760px){.global-header{flex-wrap:wrap;align-items:flex-start;min-height:68px}.mobile-menu-button{display:block}.global-actions{flex-direction:column;flex:0 0 100%;align-items:stretch;padding:16px 0 8px;display:none}.global-actions.open{display:flex}.global-actions nav{flex-direction:column;align-items:stretch;gap:5px}.global-actions nav a{border-radius:var(--radius-small);background:var(--color-surface-soft);min-height:44px;padding:11px 12px}.header-controls{justify-content:space-between}.account-panel{left:0;right:auto}.tool-grid,.feature-link-grid{grid-template-columns:1fr}.tool-card{min-height:170px;padding:21px 18px}.home-note{flex-direction:column;align-items:flex-start}}@media (width<=480px){.global-brand strong{font-size:16px}.global-brand small{font-size:8px}.page{width:min(100% - 28px, var(--page-width))}.tool-card{grid-template-columns:auto minmax(0,1fr)}.tool-arrow{display:none}.app-footer{flex-direction:column;align-items:flex-start;width:calc(100% - 28px)}}.projects-page{max-width:920px;margin:0 auto;padding:42px 22px 72px}.projects-page-head{justify-content:space-between;align-items:end;gap:24px;margin-bottom:28px;display:flex}.projects-page-head h1{margin:6px 0 8px}.projects-page-head p:not(.eyebrow){color:var(--muted-text,#756b62);margin:0}.projects-sync-status,.projects-page-current{color:var(--accent-deep,#376b70);font-size:12px;font-weight:800}.projects-page-actions{flex-wrap:wrap;gap:12px;margin-bottom:24px;display:flex}.projects-page-actions button,.projects-page-actions .projects-import{margin:0}.projects-page-filters{grid-template-columns:minmax(180px,1fr) auto auto;gap:10px;margin-bottom:18px;display:grid}.projects-page-filters input,.projects-page-filters select{width:100%;min-height:42px;color:inherit;font:inherit;background:#fff;border:1px solid #d8cec5;border-radius:10px;padding:8px 11px}.projects-page-filters input:focus,.projects-page-filters select:focus{border-color:#79a299;outline:2px solid #79a29938}.projects-page-empty{color:var(--color-muted);text-align:center;margin:28px 0}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.projects-import{cursor:pointer;align-items:center;display:inline-flex}.projects-import input{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.projects-page-list{gap:14px;display:grid}.projects-page-card{background:#fff;border:1px solid #e2dad1;border-radius:16px;justify-content:space-between;align-items:center;gap:18px;padding:20px;display:flex}.projects-page-card.active{border-color:#79a299;box-shadow:inset 3px 0 #376b70}.projects-page-card-copy{min-width:0}.projects-page-card-copy input{width:100%;color:inherit;font:inherit;background:0 0;border:0;border-bottom:1px solid #0000;outline:0;padding:2px 0;font-weight:800}.projects-page-card-copy input:focus{border-color:#7da59d}.projects-page-card-copy p{color:#8c8177;margin:7px 0 9px;font-size:12px}.projects-page-card-actions{flex-wrap:wrap;flex-shrink:0;gap:9px;display:flex}.projects-page-card-actions .compact-primary{width:auto;min-height:0}.projects-page-chooser{margin-bottom:24px}.projects-page-back{color:#376b70;margin-top:28px;font-weight:800;display:inline-block}.projects-trash{border-top:1px solid var(--color-border);margin-top:42px;padding-top:26px}.projects-trash-head{justify-content:space-between;align-items:end;gap:16px;margin-bottom:14px;display:flex}.projects-trash-head h2{margin:6px 0 0}.projects-trash-head>span{color:var(--color-muted);font-size:12px}.projects-page-card-trashed{opacity:.82}.projects-danger{color:#a64f3d}.home-projects-link{text-align:center;margin:22px 0 0}.home-projects-link a{color:#376b70;font-weight:800}.stitch-cloud-status{color:var(--color-muted);margin-left:auto;font-size:11px;font-weight:750}@media (width<=640px){.projects-page-head,.projects-page-card{flex-direction:column;align-items:stretch}.projects-page-card-actions>*{flex:1}.projects-page-filters{grid-template-columns:1fr}}
