:root{color:#202822;font-synthesis:none;text-rendering:optimizelegibility;--green:#24483c;--green-dark:#17352d;--green-soft:#e3ece6;--orange:#d87349;--ink:#202822;--muted:#737b73;--border:#deddd4;--paper:#fbfaf5;--panel:#fff;background:#ebe9e0;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}html,body,#root{min-width:320px;min-height:100%;margin:0}body{min-height:100vh;overflow:hidden}button,input{font:inherit}button{color:inherit}button:focus-visible,input:focus-visible{outline-offset:2px;outline:3px solid #d873494d}.app-shell{background:#efede5;min-height:100vh}.topbar{z-index:20;background:#fbfaf6f5;border-bottom:1px solid #dad9d1;grid-template-columns:280px minmax(160px,1fr) auto;align-items:center;gap:18px;height:70px;padding:0 22px;display:grid;position:relative}.brand{align-items:center;gap:11px;display:flex}.brand>div:last-child{flex-direction:column;line-height:1.05;display:flex}.brand strong{letter-spacing:-.3px;color:var(--green-dark);font-family:Georgia,Times New Roman,serif;font-size:20px}.brand>div:last-child span{text-transform:uppercase;color:#848980;letter-spacing:1.8px;margin-top:5px;font-size:8px;font-weight:800}.brand-mark{background:var(--green);border-radius:10px;grid-template-columns:1fr 1fr;gap:3px;width:35px;height:35px;padding:7px;display:grid;transform:rotate(45deg);box-shadow:0 4px 10px #19382f2e}.brand-mark span{background:#f2c192;border-radius:50% 50% 20%}.brand-mark span:nth-child(2){background:#df7e58;transform:rotate(90deg)}.brand-mark span:nth-child(3){background:#df7e58;transform:rotate(-90deg)}.brand-mark span:nth-child(4){background:#f2c192;transform:rotate(180deg)}.project-title{color:#626960;justify-self:center;align-items:center;gap:8px;min-width:0;font-size:12px;display:flex}.project-title .status-dot{background:#60a36d;border-radius:50%;width:7px;height:7px;box-shadow:0 0 0 3px #e1eee3}.project-title .status-dot[data-status=loading],.project-title .status-dot[data-status=saving]{background:#d39a4a;animation:1.2s ease-in-out infinite status-pulse;box-shadow:0 0 0 3px #f4e8d4}.project-title .status-dot[data-status=error]{background:#c7544b;box-shadow:0 0 0 3px #f3dcd9}@keyframes status-pulse{50%{opacity:.45}}.project-title strong{color:var(--ink);white-space:nowrap;text-overflow:ellipsis;max-width:230px;overflow:hidden}.project-label:after{content:"·";margin-left:8px}.header-actions{justify-content:flex-end;align-items:center;gap:8px;display:flex}.button{cursor:pointer;border:0;border-radius:9px;justify-content:center;align-items:center;gap:7px;height:38px;padding:0 14px;font-size:12px;font-weight:750;transition:transform .15s,background .15s;display:inline-flex}.button:hover{transform:translateY(-1px)}.button-ghost{color:#566057;background:0 0}.button-ghost:hover{background:#eeeee8}.button-primary{color:#fff;background:var(--green);box-shadow:0 5px 14px #23483c2e}.button-primary:hover{background:var(--green-dark)}.icon-button{cursor:pointer;color:#777d76;background:0 0;border:0;border-radius:8px;place-items:center;width:32px;height:32px;padding:0;display:inline-grid}.icon-button:hover{color:var(--ink);background:#efeee8}.icon-button:disabled,.history-actions button:disabled,.mobile-history button:disabled{color:#bdc0ba;cursor:default;opacity:.62}.icon-button:disabled:hover{background:0 0}.help-button{border-left:1px solid #dfded7;border-radius:0;width:38px;margin-left:3px;padding-left:8px}.history-actions{border-right:1px solid #dfded7;align-items:center;height:30px;margin-right:1px;padding-right:6px;display:flex}.history-actions .icon-button{width:29px;height:29px}.project-library-wrap{position:relative}.project-library-button[aria-expanded=true]{color:var(--green);background:#e9eee9}.project-library-menu{border:1px solid var(--border);z-index:60;background:#fff;border-radius:14px;width:360px;position:absolute;top:46px;right:0;overflow:hidden;box-shadow:0 20px 55px #20282233}.project-library-heading{border-bottom:1px solid #ecece6;justify-content:space-between;align-items:center;padding:15px 16px 12px;display:flex}.project-library-heading>div{flex-direction:column;gap:3px;display:flex}.project-library-heading strong{color:var(--ink);font-family:Georgia,Times New Roman,serif;font-size:16px;font-weight:600}.project-library-heading span{color:#91978f;font-size:9px}.project-library-heading .project-count{min-width:24px;height:22px;color:var(--green);background:#e7eee9;border-radius:20px;place-items:center;padding:0 7px;font-size:10px;font-weight:800;display:grid}.project-library-list{scrollbar-width:thin;max-height:330px;padding:7px;overflow-y:auto}.project-library-row{border-radius:9px;align-items:center;min-height:56px;display:flex}.project-library-row:hover{background:#f4f4ef}.project-library-row.active{background:#edf2ee;box-shadow:inset 0 0 0 1px #d5e0d8}.project-library-open{text-align:left;cursor:pointer;background:0 0;border:0;border-radius:9px;flex:1;grid-template-columns:38px minmax(0,1fr) 18px;align-items:center;gap:10px;min-width:0;min-height:56px;padding:7px 3px;display:grid}.project-library-open>svg{color:var(--green)}.project-library-rename{color:#878e87;cursor:pointer;opacity:0;background:0 0;border:0;border-radius:7px;flex:none;place-items:center;width:32px;height:32px;margin-right:7px;padding:0;display:grid}.project-library-row:hover .project-library-rename,.project-library-rename:focus-visible{opacity:1}.project-library-rename:hover{color:var(--green);background:#ffffffbf}.project-library-drag{color:#a5aaa5;cursor:grab;flex:none;place-items:center;width:18px;display:grid}.project-library-row:active .project-library-drag{cursor:grabbing}.project-library-action{color:#878e87;cursor:pointer;background:0 0;border:0;border-radius:7px;flex:none;place-items:center;width:28px;height:32px;padding:0;display:grid}.project-library-action:hover,.project-library-action.pinned{color:var(--green);background:#ffffffbf}.project-library-action.delete{margin-right:5px}.project-library-action.delete:hover{color:#b54d45;background:#f8e8e6}.project-library-row form{grid-template-columns:minmax(0,1fr) 30px 30px;align-items:center;gap:4px;width:100%;padding:9px;display:grid}.project-library-row form input{width:100%;min-width:0;height:36px;color:var(--ink);background:#fff;border:1px solid #b9c9be;border-radius:7px;padding:0 9px;font-size:11px;font-weight:700}.project-library-row form button{width:30px;height:30px;color:var(--green);cursor:pointer;background:#fff;border:0;border-radius:7px;place-items:center;padding:0;display:grid}.project-library-row form button:last-child{color:#8d918d}.project-library-icon{width:38px;height:38px;color:var(--green);background:#e6ede8;border:1px solid #d9ded9;border-radius:9px;place-items:center;display:grid;overflow:hidden}.project-library-icon img{object-fit:cover;width:100%;height:100%;display:block}.project-preview-popup{z-index:100;pointer-events:none;background:#fff;border:1px solid #3c463e2e;border-radius:13px;width:210px;position:fixed;overflow:hidden;box-shadow:0 18px 48px #20282247}.project-preview-popup img{object-fit:contain;background:#f1f0ea;width:210px;height:170px;display:block}.project-preview-popup span{color:#354038;white-space:nowrap;text-overflow:ellipsis;padding:9px 11px;font-size:10px;font-weight:700;display:block;overflow:hidden}.project-library-details{flex-direction:column;gap:4px;min-width:0;display:flex}.project-library-details strong{color:#303a32;white-space:nowrap;text-overflow:ellipsis;font-size:11px;overflow:hidden}.project-library-details small{color:#949a93;font-size:8px}.project-library-menu>p{color:#858d85;background:#faf9f5;border-top:1px solid #ecece6;margin:0;padding:10px 16px 12px;font-size:9px;line-height:1.4}.export-wrap{position:relative}.export-menu{border:1px solid var(--border);z-index:50;background:#fff;border-radius:12px;width:246px;padding:7px;position:absolute;top:46px;right:0;box-shadow:0 18px 50px #2028222b}.export-menu button{text-align:left;cursor:pointer;background:0 0;border:0;border-radius:8px;gap:10px;width:100%;padding:9px;display:flex}.export-menu button:hover{background:#f4f3ee}.export-menu button:disabled{opacity:.55;cursor:wait}.export-menu .menu-icon{width:31px;height:31px;color:var(--green);background:#ebf0ec;border-radius:8px;place-items:center;display:grid}.export-menu button>span:last-child{flex-direction:column;gap:2px;display:flex}.export-menu strong{font-size:12px}.export-menu small{color:var(--muted);font-size:10px}.workspace{grid-template-columns:292px minmax(450px,1fr) 298px;height:calc(100vh - 70px);display:grid}.sidebar{scrollbar-width:thin;scrollbar-color:#c6c7bf transparent;min-width:0;overflow-y:auto}.left-sidebar{background:#f6f5ef;border-right:1px solid #d9d8d0;padding:18px 14px 30px 18px}.right-sidebar{background:#f6f5ef;border-left:1px solid #d9d8d0;padding:18px 18px 30px 14px}.stepper{align-items:center;margin:2px 4px 17px;display:flex}.step{align-items:center;gap:7px;min-width:0;display:flex}.step>span{color:#969b94;background:#fff;border:1px solid #d1d3cb;border-radius:50%;flex:none;place-items:center;width:20px;height:20px;font-size:9px;font-weight:800;display:grid}.step div{flex-direction:column;gap:1px;display:flex}.step small{text-transform:uppercase;letter-spacing:.6px;color:#a0a49d;font-size:7px}.step strong{white-space:nowrap;color:#8e948d;font-size:9px}.step.complete>span{background:var(--green);border-color:var(--green);color:#fff}.step.active>span{border-color:var(--orange);color:var(--orange);box-shadow:inset 0 0 0 3px #fff,0 0 0 2px #f2d9cf}.step.active strong{color:var(--ink)}.step-line{background:#d9dad2;flex:1;min-width:6px;height:1px;margin:0 5px}.panel{border:1px solid var(--border);background:var(--panel);border-radius:13px;box-shadow:0 2px 6px #242d2606}.left-sidebar .panel+.panel,.right-sidebar .panel+.panel{margin-top:12px}.image-panel,.controls-panel,.palette-panel,.display-panel{padding:14px}.section-heading{justify-content:space-between;align-items:center;min-height:22px;display:flex}.section-heading>div{min-width:0;color:var(--green);align-items:center;gap:8px;display:flex}.section-heading h2{color:var(--ink);letter-spacing:-.1px;margin:0;font-size:12px}.section-heading>button:not(.icon-button){color:var(--orange);cursor:pointer;background:0 0;border:0;padding:3px;font-size:10px;font-weight:750}.section-heading .reset-button{align-items:center;gap:4px;display:flex;color:#848a83!important}.count-badge{color:#657067;background:#edf0eb;border-radius:20px;place-items:center;min-width:19px;height:18px;padding:0 5px;font-size:9px;font-weight:800;display:grid}.source-card{background:#e8e5d9;border:1px dashed #0000;border-radius:10px;height:112px;margin-top:12px;transition:border-color .15s,transform .15s;position:relative;overflow:hidden}.source-card.is-dragging{border-color:var(--orange);transform:scale(.985)}.source-card img{object-fit:cover;width:100%;height:100%;display:block}.source-card:after{content:"";pointer-events:none;background:linear-gradient(#0000,#131d1699);position:absolute;inset:50% 0 0}.source-overlay{z-index:1;white-space:nowrap;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);color:#fff;cursor:pointer;opacity:0;background:#18261dad;border:1px solid #ffffff7a;border-radius:7px;align-items:center;gap:5px;height:27px;padding:0 9px;font-size:9px;font-weight:700;transition:opacity .15s;display:flex;position:absolute;bottom:10px;left:50%;transform:translate(-50%)}.source-card:hover .source-overlay,.source-card.is-dragging .source-overlay{opacity:1}.file-meta{justify-content:space-between;align-items:center;margin-top:10px;display:flex}.file-meta>div{align-items:center;gap:8px;min-width:0;display:flex}.file-meta .file-type{width:27px;height:27px;color:var(--green);background:#e7eee8;border-radius:6px;flex:none;place-items:center;font-size:7px;font-weight:900;display:grid}.file-meta>div>span:last-child{flex-direction:column;gap:2px;min-width:0;display:flex}.file-meta strong{white-space:nowrap;text-overflow:ellipsis;max-width:170px;font-size:10px;overflow:hidden}.file-meta small{color:#92978f;font-size:8px}.file-meta>button{color:#9a9e98;cursor:pointer;background:0 0;border:0;place-items:center;padding:4px;display:grid}.controls-panel .section-heading{margin-bottom:13px}.control-group{margin-top:14px}.control-group.compact{margin-top:10px}.control-label{justify-content:space-between;align-items:center;gap:8px;margin-bottom:8px;display:flex}.control-label label{color:#4e574f;font-size:10px;font-weight:700}.value-chip{text-align:center;color:#4f5850;background:#faf9f5;border:1px solid #e0e0d8;border-radius:6px;min-width:54px;padding:4px 6px;font-size:9px;font-weight:750}.control-group>small{color:#959a93;margin-top:5px;font-size:8px;line-height:1.35;display:block}.styled-range{--range-progress:50%;appearance:none;background:linear-gradient(to right, var(--orange) var(--range-progress), #e4e5df var(--range-progress));border-radius:3px;width:100%;height:3px;display:block}.styled-range::-webkit-slider-thumb{appearance:none;border:2px solid var(--orange);cursor:grab;background:#fff;border-radius:50%;width:13px;height:13px;box-shadow:0 1px 3px #00000026}.styled-range::-moz-range-thumb{border:2px solid var(--orange);cursor:grab;background:#fff;border-radius:50%;width:10px;height:10px;box-shadow:0 1px 3px #00000026}.segmented{background:#f0f1ec;border-radius:8px;align-items:center;padding:3px;display:flex}.segmented button{color:#858b84;cursor:pointer;background:0 0;border:0;border-radius:6px;flex:1;height:27px;font-size:9px;font-weight:700}.segmented button.selected{color:var(--green);background:#fff;box-shadow:0 1px 4px #252e271a}.control-group .fabric-options+small{margin-top:6px}.divider{background:#ecece6;height:1px;margin:15px 0 9px}.advanced-row{cursor:pointer;color:#646b64;background:0 0;border:0;justify-content:space-between;align-items:center;width:100%;padding:4px 0 5px;display:flex}.advanced-row>span{align-items:center;gap:7px;font-size:10px;font-weight:750;display:flex}.advanced-row>svg{transition:transform .18s}.advanced-row>svg.rotated{transform:rotate(90deg)}.tuning-content{animation:.15s ease-out tuning-in}@keyframes tuning-in{0%{opacity:0;transform:translateY(-3px)}}.compact-sliders{grid-template-columns:1fr 1fr;gap:12px;display:grid}.compact .control-label{margin-bottom:7px}.compact .value-chip{min-width:42px}.owned-thread-button{color:#4c574f;text-align:left;cursor:pointer;background:#faf9f5;border:1px solid #dedfd8;border-radius:9px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;width:100%;min-height:54px;padding:8px 9px;transition:border-color .15s,background .15s;display:grid}.owned-thread-button:hover{background:#f3f6f2;border-color:#becdc3}.owned-thread-button>span:nth-child(2){flex-direction:column;gap:3px;min-width:0;display:flex}.owned-thread-button strong{color:#354139;font-size:9px}.owned-thread-button small{color:#8d958e;font-size:7px}.owned-thread-button>svg{color:#8b928b}.owned-thread-swatches{background:#fff;border-radius:7px;grid-template-columns:1fr 1fr;gap:2px;width:38px;height:35px;padding:3px;display:grid;box-shadow:0 1px 4px #2430281f}.owned-thread-swatches i{border:1px solid #1e251f14;border-radius:2px;min-width:0;min-height:0}.toggle-row{cursor:pointer;justify-content:space-between;align-items:center;gap:10px;margin-top:13px;display:flex;position:relative}.toggle-row>span{flex-direction:column;gap:3px;display:flex}.toggle-row strong{font-size:10px;font-weight:700}.toggle-row small{color:#969b94;font-size:8px;line-height:1.25}.toggle-row input{opacity:0;pointer-events:none;position:absolute}.toggle-row>i{background:#d9dbd5;border-radius:20px;flex:none;width:31px;height:18px;transition:background .2s;position:relative}.toggle-row>i b{background:#fff;border-radius:50%;width:14px;height:14px;transition:transform .2s;position:absolute;top:2px;left:2px;box-shadow:0 1px 3px #0000002e}.toggle-row input:checked+i{background:var(--green)}.toggle-row input:checked+i b{transform:translate(13px)}.preview-area{background:#ebe9e0;flex-direction:column;min-width:0;padding:20px 20px 13px;display:flex;overflow:hidden}.preview-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px 20px;margin-bottom:14px;display:flex}.preview-toolbar .eyebrow{text-transform:uppercase;color:#92978f;letter-spacing:1.2px;font-size:7px;font-weight:850}.preview-toolbar h1{color:#25362e;letter-spacing:-.35px;margin:3px 0 0;font-family:Georgia,Times New Roman,serif;font-size:20px;font-weight:600}.view-switcher{background:#f8f7f2;border:1px solid #dbdad2;border-radius:9px;gap:2px;padding:3px;display:flex}.view-switcher button{color:#858b84;cursor:pointer;background:0 0;border:0;border-radius:7px;align-items:center;gap:5px;height:30px;padding:0 10px;font-size:9px;font-weight:750;display:flex}.view-switcher button.selected{color:var(--green);background:#fff;box-shadow:0 1px 4px #252e271a}.canvas-stage{background-color:#dedcd2;background-image:radial-gradient(#c9c8bf 1px,#0000 1px);background-size:14px 14px;border:1px solid #d7d5cb;border-radius:15px;flex:1;align-items:stretch;min-height:0;display:flex;position:relative;overflow:hidden;box-shadow:inset 0 0 0 1px #ffffff57,0 5px 20px #3439320f}.pattern-scroll,.original-preview{scrollbar-width:thin;scrollbar-color:#b5b5ad transparent;flex:1;min-width:0;min-height:0;padding:36px;display:flex;position:relative;overflow:auto}.pattern-paper{background:#fffdf8;border:1px solid #d3d0c4;flex:none;margin:auto;padding:14px;box-shadow:0 16px 34px #34362f30,0 2px 5px #2a302a1f}.pattern-paper canvas{cursor:crosshair;image-rendering:auto;display:block}.original-paper img{object-fit:contain;display:block}.split-stage .original-preview,.split-stage .pattern-scroll{width:50%;padding:27px 18px}.split-stage .original-preview{border-right:1px solid #c9c8bf}.preview-label{z-index:2;color:#fff;text-transform:uppercase;letter-spacing:.7px;background:#29362ec4;border-radius:5px;padding:4px 7px;font-size:7px;font-weight:800;position:absolute;top:12px;left:13px}.processing-badge{z-index:5;color:#536057;background:#ffffffe6;border-radius:20px;align-items:center;gap:7px;padding:6px 10px;font-size:9px;font-weight:700;display:flex;position:absolute;top:12px;left:50%;transform:translate(-50%);box-shadow:0 3px 12px #222a231f}.processing-badge span{border:1.5px solid #d5d8d3;border-top-color:var(--orange);border-radius:50%;width:7px;height:7px;animation:.7s linear infinite spin}.empty-state{color:#778078;background:#ebe9e0cc;place-content:center;justify-items:center;gap:10px;font-size:11px;display:grid;position:absolute;inset:0}.spinner{border:2px solid #cfd2cc;border-top-color:var(--green);border-radius:50%;width:24px;height:24px;animation:.7s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.preview-footer{justify-content:space-between;align-items:center;gap:12px;min-height:43px;padding-top:10px;display:flex}.footer-left{align-items:center;gap:9px;display:flex}.preview-tip{color:#7e847d;align-items:center;gap:6px;font-size:9px;display:flex}.mobile-history{display:none}.zoom-control{color:#737a73;background:#f8f7f2;border:1px solid #d8d7cf;border-radius:8px;align-items:center;gap:7px;height:30px;padding:0 4px;display:flex}.zoom-control button{color:#6d756e;cursor:pointer;background:0 0;border:0;border-radius:5px;place-items:center;width:23px;height:23px;padding:0;display:grid}.zoom-control button:hover{background:#e9e9e3}.zoom-control input{width:70px;accent-color:var(--green)}.zoom-control span{width:32px;font-size:8px;font-weight:750}.summary-card{background:var(--green);color:#fff;border:1px solid #315747;border-radius:13px;overflow:hidden;box-shadow:0 7px 18px #1f443829}.summary-heading{align-items:center;gap:10px;padding:14px;display:flex}.summary-icon{color:#f2c39d;background:#ffffff1a;border-radius:9px;place-items:center;width:35px;height:35px;display:grid}.summary-heading>div:last-child{flex-direction:column;gap:3px;display:flex}.summary-heading span{color:#b8c9c0;text-transform:uppercase;letter-spacing:1px;font-size:7px;font-weight:800}.summary-heading strong{font-family:Georgia,Times New Roman,serif;font-size:18px;font-weight:500}.summary-heading strong small{color:#b8c9c0;font-family:Inter,ui-sans-serif,sans-serif;font-size:8px;font-weight:500}.summary-stats{background:#071c151f;border-top:1px solid #ffffff1f;grid-template-columns:1fr 1fr;display:grid}.summary-stats>div{flex-direction:column;gap:3px;padding:11px 13px;display:flex}.summary-stats>div+div{border-left:1px solid #ffffff1f}.summary-stats span{color:#adc1b7;font-size:7px}.summary-stats strong{font-size:10px}.summary-stats small{color:#9fb5aa;font-size:7px}.section-description{color:#90968f;margin:7px 0 9px;font-size:8px;line-height:1.4}.palette-list{margin:0 -5px}.floss-row{text-align:left;cursor:grab;background:0 0;border:0;border-radius:8px;grid-template-columns:12px 32px minmax(0,1fr) auto;align-items:center;gap:6px;width:100%;min-height:48px;padding:5px;transition:background .14s,box-shadow .14s,opacity .14s,transform .14s;display:grid}.floss-row:hover{background:#f5f5ef}.floss-row:active{cursor:grabbing}.floss-row.selected{background:#edf2ee;box-shadow:inset 0 0 0 1px #cfddd3}.drag-handle{color:#bec3bd;touch-action:none;place-items:center;height:28px;transition:color .14s;display:grid}.floss-row:hover .drag-handle{color:#788179}.palette-list.is-replacing .floss-row:not(.drag-source){box-shadow:inset 0 0 0 1px #d8e1da}.floss-row.drag-source{opacity:.38;cursor:grabbing;transform:scale(.975)}.floss-row.drop-target{background:#e4efe7;transform:translate(3px)scale(1.01);box-shadow:inset 0 0 0 2px #6f927c!important}.floss-row.drop-target .drag-handle{color:#315747}.swatch{border:1px solid #2d312c1f;border-radius:7px;place-items:center;width:30px;height:30px;display:grid;box-shadow:inset 0 0 0 2px #ffffff24}.swatch i{color:#364038;background:#ffffffd4;border-radius:4px;place-items:center;width:16px;height:16px;font-size:8px;font-style:normal;font-weight:900;display:grid}.floss-info{flex-direction:column;gap:3px;min-width:0;display:flex}.floss-info strong{color:#6f766f;white-space:nowrap;text-overflow:ellipsis;flex-direction:column;gap:1px;font-size:8px;font-weight:500;display:flex;overflow:hidden}.floss-info strong b{color:#303a32;font-size:9px}.floss-info small{color:#a0a49e;font-size:7px}.floss-info .replacement-note{color:#ad633f;white-space:nowrap;text-overflow:ellipsis;font-weight:700;overflow:hidden}.skein-count{color:#535c54;flex-direction:column;align-items:flex-end;gap:1px;font-size:9px;font-weight:800;display:flex}.skein-count small{text-transform:uppercase;color:#a0a49e;letter-spacing:.5px;font-size:6px;font-weight:700}.show-colors{width:100%;height:28px;color:var(--green);cursor:pointer;background:0 0;border:0;border-top:1px solid #ecece6;justify-content:center;align-items:center;gap:5px;margin-top:6px;font-size:8px;font-weight:800;display:flex}.show-colors svg{transition:transform .2s}.show-colors svg.rotated{transform:rotate(180deg)}.display-panel .toggle-row+.toggle-row{border-top:1px solid #ecece6;padding-top:12px}.thread-total{color:#5d685f;background:#e9eee8;border-radius:10px;grid-template-columns:1fr auto;gap:3px 8px;margin:12px 2px 0;padding:10px 12px;display:grid}.thread-total span{align-items:center;gap:6px;font-size:8px;font-weight:700;display:flex}.thread-total strong{color:var(--green);font-size:9px}.thread-total small{color:#90988f;grid-column:1/-1;padding-left:22px;font-size:7px}.toast{z-index:100;color:#fff;background:#263b32;border-radius:9px;align-items:center;gap:8px;padding:9px 13px;font-size:10px;font-weight:700;animation:.22s ease-out toast-in;display:flex;position:fixed;bottom:24px;left:50%;transform:translate(-50%);box-shadow:0 8px 30px #1d272140}@keyframes toast-in{0%{opacity:0;transform:translate(-50%,8px)}}.modal-backdrop{z-index:200;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#181f1a94;place-items:center;padding:24px;animation:.16s ease-out modal-backdrop-in;display:grid;position:fixed;inset:0}@keyframes modal-backdrop-in{0%{opacity:0}}.owned-thread-modal{background:#fbfaf6;border:1px solid #ffffff8c;border-radius:17px;flex-direction:column;width:min(760px,100%);height:min(780px,100vh - 48px);min-height:440px;animation:.18s ease-out modal-in;display:flex;overflow:hidden;box-shadow:0 28px 90px #1219145c}@keyframes modal-in{0%{opacity:0;transform:translateY(8px)scale(.985)}}.modal-header{border-bottom:1px solid #e5e4dc;justify-content:space-between;align-items:flex-start;gap:20px;padding:22px 24px 17px;display:flex}.modal-header>div{min-width:0}.modal-header .eyebrow{color:#ad6848;text-transform:uppercase;letter-spacing:1.2px;font-size:8px;font-weight:850}.modal-header h2{color:#293a31;letter-spacing:-.3px;margin:5px 0 4px;font-family:Georgia,Times New Roman,serif;font-size:23px;font-weight:600}.modal-header p{color:#7c847d;margin:0;font-size:10px;line-height:1.45}.modal-header .icon-button{flex:none}.owned-thread-tools{grid-template-columns:minmax(0,1fr) auto;align-items:stretch;gap:12px;padding:15px 24px 12px;display:grid}.thread-search{color:#889089;background:#fff;border:1px solid #d8d9d2;border-radius:9px;align-items:center;gap:9px;min-width:0;height:42px;padding:0 12px;display:flex}.thread-search:focus-within{border-color:#9eb5a6;box-shadow:0 0 0 3px #24483c14}.thread-search input{color:#374039;background:0 0;border:0;outline:0;width:100%;min-width:0;font-size:11px}.thread-search input::placeholder{color:#a0a59f}.owned-thread-selection-summary{color:#fff;background:var(--green);border-radius:9px;flex-direction:column;justify-content:center;align-items:center;min-width:112px;padding:4px 13px;display:flex}.owned-thread-selection-summary strong{font-family:Georgia,Times New Roman,serif;font-size:17px;line-height:1}.owned-thread-selection-summary span{color:#c6d4cc;text-transform:uppercase;letter-spacing:.6px;margin-top:3px;font-size:7px;font-weight:750}.owned-thread-list-header{color:#858d86;justify-content:space-between;align-items:center;gap:15px;min-height:35px;padding:0 24px;font-size:9px;display:flex}.owned-thread-list-header>div{gap:5px;display:flex}.owned-thread-list-header button{height:27px;color:var(--green);cursor:pointer;background:0 0;border:0;border-radius:6px;padding:0 8px;font-size:8px;font-weight:800}.owned-thread-list-header button:hover{background:#e9eee9}.owned-thread-list-header button:disabled{color:#b6bab5;cursor:default;background:0 0}.owned-thread-list{scrollbar-width:thin;background:#fff;border:1px solid #e0dfd7;border-radius:11px;flex:1;grid-template-columns:1fr 1fr;align-content:start;gap:5px;min-height:0;margin:0 24px;padding:7px;display:grid;overflow-y:auto}.owned-thread-row{color:#858b85;cursor:pointer;border-radius:8px;grid-template-columns:20px 31px auto minmax(0,1fr);align-items:center;gap:8px;min-width:0;min-height:48px;padding:5px 8px;transition:background .12s,box-shadow .12s;display:grid}.owned-thread-row:hover{background:#f5f6f2}.owned-thread-row.selected{color:#667067;background:#edf3ee;box-shadow:inset 0 0 0 1px #d3e0d6}.owned-thread-row input{opacity:0;pointer-events:none;position:absolute}.owned-thread-check{color:#0000;background:#fff;border:1px solid #cdd1cc;border-radius:5px;place-items:center;width:18px;height:18px;display:grid}.owned-thread-row.selected .owned-thread-check{border-color:var(--green);color:#fff;background:var(--green)}.owned-thread-color{border:1px solid #2a302b24;border-radius:7px;width:31px;height:31px;box-shadow:inset 0 0 0 2px #ffffff21}.owned-thread-row strong{color:#344038;white-space:nowrap;font-size:9px}.owned-thread-row>span:last-child{white-space:nowrap;text-overflow:ellipsis;min-width:0;font-size:9px;overflow:hidden}.owned-thread-empty{color:#a0a59f;flex-direction:column;grid-column:1/-1;justify-content:center;align-items:center;gap:6px;min-height:220px;display:flex}.owned-thread-empty strong{color:#59625b;font-size:11px}.owned-thread-empty span{font-size:9px}.modal-footer{border-top:1px solid #e5e4dc;justify-content:space-between;align-items:center;gap:18px;padding:15px 24px 18px;display:flex}.modal-footer p{color:#7f8780;max-width:390px;margin:0;font-size:9px;line-height:1.45}.modal-footer>div{flex:none;gap:7px;display:flex}@media (width<=1150px){.workspace{grid-template-columns:270px minmax(420px,1fr)}.right-sidebar{display:none}.topbar{grid-template-columns:250px minmax(120px,1fr) auto}.project-library-button span{display:none}.project-library-button{width:38px;padding:0}.project-library-button>svg:last-child{display:none}}@media (width<=780px){body{overflow:auto}.topbar{grid-template-columns:1fr auto;height:62px;padding:0 14px;position:sticky;top:0}.brand>div:last-child span,.project-title,.header-save,.help-button{display:none}.header-open{width:34px;padding:0}.header-open span{display:none}.project-library-menu{width:min(360px,100vw - 20px);position:fixed;top:57px;right:10px}.project-library-rename{opacity:1}.history-actions{display:none}.workspace{flex-direction:column;height:auto;display:flex}.left-sidebar{border:0;order:2;padding:14px;overflow:visible}.right-sidebar{border:0;order:3;padding:0 14px 25px;display:block;overflow:visible}.preview-area{order:1;height:72vh;min-height:540px;padding:15px 14px 7px}.preview-toolbar{align-items:flex-start}.preview-toolbar h1{font-size:17px}.view-switcher button{padding:0 8px}.view-switcher button svg{display:none}.pattern-scroll,.original-preview{padding:28px 18px}.preview-tip{display:none}.preview-footer{justify-content:space-between}.mobile-history{background:#f8f7f2;border:1px solid #d8d7cf;border-radius:8px;align-items:center;gap:3px;padding:3px;display:flex}.mobile-history button{color:#626c64;background:0 0;border:0;border-radius:5px;place-items:center;width:27px;height:23px;display:grid}.mobile-history button:not(:disabled):hover{background:#e9e9e3}.left-sidebar .panel,.right-sidebar .panel,.summary-card{width:100%;max-width:560px;margin-left:auto;margin-right:auto}.thread-total{max-width:556px;margin-left:auto;margin-right:auto}.modal-backdrop{place-items:stretch stretch;padding:0}.owned-thread-modal{border:0;border-radius:0;width:100%;height:100%;max-height:none}.modal-header{padding:18px 17px 14px}.modal-header h2{font-size:20px}.owned-thread-tools{padding:13px 17px 10px}.owned-thread-list-header{padding:0 17px}.owned-thread-list{grid-template-columns:1fr;margin:0 17px}.modal-footer{padding:13px 17px 16px}.modal-footer p{display:none}.modal-footer>div{width:100%}.modal-footer .button{flex:1}}@media print{body{background:#fff;overflow:visible}.topbar,.sidebar,.preview-toolbar,.preview-footer,.processing-badge,.original-preview,.toast{display:none!important}.workspace,.preview-area,.canvas-stage,.pattern-scroll{background:#fff;border:0;height:auto;padding:0;display:block;overflow:visible}.pattern-paper{box-shadow:none;border:0;padding:0}.pattern-paper canvas{width:100%;height:auto}}
