.flora-chat-widget{bottom:max(18px,env(safe-area-inset-bottom));position:fixed;right:max(18px,env(safe-area-inset-right));z-index:1200}.flora-chat-bubble{align-items:center;background:var(--forest);border:1px solid #ffffff30;border-radius:999px;box-shadow:0 15px 38px #21372d42;color:#fff;display:flex;font-weight:700;gap:8px;margin-left:auto;min-height:50px;padding:12px 16px}.flora-chat-bubble:hover{background:#1d3e2f}.flora-chat-bubble:focus-visible,.flora-chat-panel button:focus-visible,.flora-chat-panel textarea:focus-visible{outline:3px solid #d7aaa8;outline-offset:2px}.flora-chat-panel{background:var(--paper);border:1px solid var(--line);border-radius:16px;bottom:66px;box-shadow:0 22px 60px #21372d42;display:grid;grid-template-rows:auto minmax(200px,1fr) auto;max-height:min(620px,calc(100vh - 100px));overflow:hidden;position:absolute;right:0;width:min(384px,calc(100vw - 32px))}.flora-chat-header{align-items:flex-start;background:#edf0e6;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;padding:16px}.flora-chat-header span{color:var(--rose);font-size:10px;font-weight:800;letter-spacing:.17em;text-transform:uppercase}.flora-chat-header h2{color:var(--forest);font-family:Flora Serif,Georgia,serif;font-size:21px;line-height:1.1;margin:2px 0 0}.flora-chat-header p{color:var(--muted);font-size:12px;margin:3px 0 0}.flora-chat-header button{background:transparent;border:0;border-radius:999px;color:var(--muted);padding:7px}.flora-chat-header button:hover{background:#e4e8dd;color:var(--forest)}.flora-chat-log{background:#f8f7f2;display:flex;flex-direction:column;gap:10px;overflow-y:auto;padding:16px}.flora-chat-message{border-radius:13px;font-size:13px;line-height:1.5;max-width:88%;padding:10px 12px;white-space:pre-wrap}.flora-chat-message.assistant{align-self:flex-start;background:#e8ecdf;color:var(--ink)}.flora-chat-message.user{align-self:flex-end;background:var(--forest);color:#fff}.flora-chat-message small{display:block;font-size:10px;margin-top:5px;opacity:.65}.flora-chat-thinking{animation:flora-chat-pulse 1.4s ease-in-out infinite}.flora-chat-form{background:var(--paper);border-top:1px solid var(--line);padding:13px}.flora-chat-form textarea{background:#fffefa;border:1px solid #c9cec1;border-radius:10px;color:var(--ink);display:block;font:inherit;padding:10px;resize:vertical;width:100%}.flora-chat-attachments{display:flex;flex-wrap:wrap;gap:6px;margin-top:7px}.flora-chat-attachment{align-items:center;background:#edf0e6;border:1px solid var(--line);border-radius:8px;display:flex;font-size:11px;gap:5px;max-width:100%;padding:4px 6px}.flora-chat-attachment img{border-radius:4px;height:30px;object-fit:cover;width:30px}.flora-chat-attachment span{max-width:145px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.flora-chat-attachment button{background:transparent;border:0;color:var(--muted);padding:2px}.flora-chat-file-button{align-items:center;cursor:pointer;display:inline-flex;gap:5px}.flora-chat-file-button input{display:none}.flora-chat-error{color:#9d3d35!important}.flora-chat-actions{display:flex;gap:8px;justify-content:flex-end;margin-top:9px}.flora-chat-actions button{align-items:center;border-radius:8px;display:inline-flex;font-size:12px;font-weight:700;gap:5px;min-height:36px;padding:7px 11px}.flora-chat-actions .secondary{background:transparent;border:1px solid #c9cec1;color:var(--ink)}.flora-chat-actions .primary{background:var(--forest);border:1px solid var(--forest);color:#fff}.flora-chat-actions button:disabled{cursor:not-allowed;opacity:.55}.flora-chat-form>p{color:var(--muted);font-size:10px;margin:7px 0 0}.visually-hidden{height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;clip:rect(0 0 0 0);white-space:nowrap}@keyframes flora-chat-pulse{50%{opacity:.55}}@media(max-width:520px){.flora-chat-widget{left:10px;right:10px}.flora-chat-panel{max-height:calc(100vh - 90px);width:100%}}@media(prefers-reduced-motion:reduce){.flora-chat-thinking{animation:none}}@font-face{font-family:Inter;src:url(/fonts/Inter.woff2);font-weight:100 900;font-display:swap}@font-face{font-family:Flora Serif;src:url(/fonts/Cormorant.woff2);font-weight:300 700;font-display:swap}@font-face{font-family:Flora Sans;src:url(/fonts/DejaVuSans.ttf);font-display:swap}:root{font-family:Inter,Arial,sans-serif;color:#314137;background:#f6f4ef;font-synthesis:none;--forest: #284b3c;--muted: #7b8278;--line: #e4e5db;--paper: #fefdfa;--rose: #b78281;--ink: #283e32}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button{color:inherit;cursor:pointer;border:0;background:transparent}button:disabled{opacity:.45;cursor:not-allowed}a{color:inherit}input,select,textarea{min-width:0;color:#37473b}button,input,a{touch-action:manipulation}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #b88470;outline-offset:3px}h1,h2,h3,p{margin:0}.eyebrow{font-size:9px;letter-spacing:.15em;font-weight:600;color:#788878;line-height:1.8}svg{flex-shrink:0}.app-shell{height:100dvh;display:flex;flex-direction:column;overflow:hidden}.topbar{height:68px;flex-shrink:0;background:var(--forest);color:#eeeede;display:flex;align-items:center;padding:0 22px;gap:18px}.brand{display:flex;align-items:center;gap:10px;padding:0}.brand img{width:34px;height:38px}.brand>span{font:36px/.8 Flora Serif,Georgia,serif;letter-spacing:-.03em}.studio-word{display:block;font:7px/1.8 Inter,sans-serif;letter-spacing:.3em;padding-left:2px;margin-top:7px}.topbar-divider{height:25px;width:1px;background:#ffffff21;margin:0 5px}.topbar-spacer,.toolbar-gap{flex:1}.mode-switch{display:flex;gap:4px;border-radius:6px;background:#18352966;padding:4px}.mode-switch button{display:flex;align-items:center;gap:8px;font-size:11px;padding:9px 16px;border-radius:4px;color:#bacbb9}.mode-switch button.active{background:#f0ede3;color:#2d4737;box-shadow:0 1px 5px #0b1c1c22}.quiet-button{display:inline-flex;align-items:center;gap:7px;font-size:11px;padding:8px;border-radius:4px;white-space:nowrap}.quiet-button:hover{background:#8d9a8120}.avatar{width:31px;height:31px;border:1px solid #9ead9859;background:#6d846c77;border-radius:50%;display:grid;place-items:center;font-size:10px;letter-spacing:.03em}.icon-button{width:33px;height:33px;display:inline-grid;place-items:center;border-radius:5px;padding:0;flex-shrink:0}.icon-button svg{width:16px;height:16px;stroke-width:1.6}.icon-button:hover{background:#82907618}.icon-button.active{background:#e0e8dc;color:#28533d}.topbar .icon-button:hover{background:#ffffff12}.primary-button,.outline-button{display:inline-flex;gap:8px;align-items:center;justify-content:center;min-height:40px;border-radius:5px;padding:11px 18px;background:var(--forest);color:#fffdf0;font-size:11px;font-weight:500}.primary-button:hover{background:#1d3e2f}.primary-button.compact{min-height:33px;padding:8px 14px}.outline-button{background:transparent;border:1px solid #d9dfd1;color:#44573e}.outline-button:hover{background:#eff2e9}.visually-hidden{position:absolute;width:1px;height:1px;clip:rect(0,0,0,0);overflow:hidden}.welcome{overflow:auto;flex:1;padding:46px max(28px,calc((100vw - 1110px)/2)) 0;background:radial-gradient(ellipse at 85% 20%,#e9eddf88,transparent 52%),#f7f5ef}.welcome-heading{text-align:center}.welcome-heading>.eyebrow{font-size:9px;letter-spacing:.19em}.welcome-heading h1{font:500 clamp(45px,4.2vw,65px)/1.02 Flora Serif,Georgia,serif;letter-spacing:-.035em;margin:13px 0 15px}.welcome-heading h1 em{font-weight:400;color:#8e645e}.welcome-heading>p:last-child{font-size:12px;line-height:1.8;color:#85847a}.welcome-choices{display:grid;grid-template-columns:1fr 1fr;gap:26px;margin:32px auto 0;max-width:930px}.workspace-choice{text-align:left;padding:0;border:1px solid #e0e3d7;border-radius:10px;background:#fffdf9;overflow:hidden;transition:transform .25s,box-shadow .25s}.workspace-choice:hover{transform:translateY(-4px);box-shadow:0 12px 25px #38554212}.choice-art{height:170px;background:#ead9d1;display:grid;place-items:center;position:relative;overflow:hidden;color:#684f4a}.choice-art>.lucide-paintbrush{transform:rotate(-26deg);position:relative;z-index:1}.swatch{position:absolute;border-radius:42% 55% 38% 52%;transform:rotate(-25deg)}.s1{width:150px;height:116px;background:#b7807c;left:55px;top:28px}.s2{width:170px;height:91px;background:#c7ab82;right:50px;top:30px;transform:rotate(24deg)}.s3{width:120px;height:64px;background:#78907d;right:70px;bottom:-10px;transform:rotate(-8deg)}.choice-stamp{position:absolute;bottom:16px;left:20px;font-size:7px;line-height:1.7;letter-spacing:.16em;color:#6d695c}.stitch-art{background:#e1e7d8}.hoop-illustration{width:148px;height:148px;border:9px double #b8a080;border-radius:50%;display:grid;place-items:center;color:#ae7880;background:#f6f0e4}.hoop-illustration svg{stroke-dasharray:2 2}.choice-copy{padding:22px 26px 25px}.choice-copy .eyebrow{font-size:8px}.choice-copy h2{display:flex;justify-content:space-between;align-items:center;font:500 34px/1.2 Flora Serif,Georgia,serif;margin:7px 0 9px;letter-spacing:-.02em}.choice-copy h2 svg{width:20px;stroke-width:1.4}.choice-copy p{font-size:11px;line-height:1.8;color:#7e8478;max-width:315px}.welcome-actions{display:flex;justify-content:center;gap:28px;margin:24px 0 35px}.welcome-actions button{display:flex;align-items:center;gap:8px;font-size:10px;min-height:34px}.welcome-actions button:hover{color:#a96e69}.recent-section{max-width:930px;margin:auto;border-top:1px solid var(--line);padding-top:24px}.recent-section>div:first-child{display:flex;align-items:center;justify-content:space-between}.recent-section h2{font-size:13px;font-weight:500}.recent-section>div>span{font-size:9px;color:#8f9287}.recent-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:17px}.recent-grid>button{position:relative;text-align:left;border:1px solid #e4e6dc;background:#fdfcf8;border-radius:5px;padding:14px 12px;display:grid;grid-template-columns:35px 1fr;gap:4px 10px}.recent-icon{grid-row:1/3;width:35px;height:35px;background:#edf0e5;color:#7f927b;border-radius:5px;display:grid;place-items:center}.recent-grid strong{font-size:10px;font-weight:500}.recent-grid button>span{font-size:8px;color:#97998f}.recent-grid button>.lucide{position:absolute;right:10px;top:12px}.empty-library{grid-column:1/-1;font-size:11px;color:#898e82;padding:10px 0}.welcome-foot{display:flex;gap:8px;align-items:center;max-width:930px;margin:28px auto 0;padding:18px 0;border-top:1px solid var(--line);font-size:9px;color:#929a87}.welcome-foot span{margin-left:auto;font-size:8px;letter-spacing:.1em}.document-bar{height:49px;background:#fbfbf6;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:20px;padding:0 18px 0 16px;flex-shrink:0}.project-tabs{display:flex;align-items:center;gap:3px;overflow:auto;flex:1;min-width:0}.project-tab{display:flex;align-items:center;flex:0 0 auto;max-width:260px;height:46px;border-bottom:2px solid transparent}.project-tab-select{display:flex;align-items:center;gap:8px;min-width:0;height:100%;white-space:nowrap;padding:0 10px;font-size:10px}.project-tab-name{overflow:hidden;text-overflow:ellipsis}.project-tab-close{display:grid;place-items:center;flex:0 0 40px;width:40px;height:40px;padding:0;border-radius:6px;color:#647467}.project-tab-close:hover:not(:disabled){color:var(--forest);background:#dde5d8}.project-tabs>.icon-button,.tab-dot{flex-shrink:0}.project-tab.active{border-color:#66866b;background:#edf0e733;color:#28553d}.tab-dot{width:5px;height:5px;background:#839a78;border-radius:50%}.document-actions{display:flex;gap:9px;align-items:center}.workspace-bar{height:44px;display:flex;align-items:center;gap:8px;padding:0 19px;background:#fffefb;border-bottom:1px solid var(--line);flex-shrink:0}.project-title{font-size:11px;font-weight:500;max-width:200px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.dimension-pill{font-size:9px;color:#899081;border-left:1px solid var(--line);padding-left:13px;margin-left:6px}.small-divider{height:16px;width:1px;background:var(--line);margin:0 4px}.tiny-toggle{font-size:10px;padding:6px 10px;color:#86907e;border-radius:4px}.tiny-toggle.selected{background:#e5eadd;color:#3b583f}.ai-button{display:flex;align-items:center;gap:7px;font-size:10px;background:#eee8f3;color:#766187;border:1px solid #e3ddeb;border-radius:4px;padding:7px 10px;margin-left:9px}.studio-workspace{flex:1;display:flex;min-height:0;overflow:hidden}.tool-rail{width:57px;flex-shrink:0;padding:14px 10px;display:flex;align-items:center;flex-direction:column;gap:10px;background:#fcfcf7;border-right:1px solid var(--line)}.tool-rail .icon-button{width:35px;height:35px}.tool-rail .icon-button svg{height:17px;width:17px}.rail-divider{height:1px;width:24px;background:var(--line);margin:3px 0}.rail-color{width:25px;height:25px;border-radius:50%;border:3px solid #fff;box-shadow:0 0 0 1px #c9d1c0;overflow:hidden;cursor:pointer}.rail-color input{width:38px;height:38px;padding:0;margin:-8px;border:0;cursor:pointer}.library-panel{width:222px;flex-shrink:0;background:#fbfcf7;border-right:1px solid var(--line);display:flex;flex-direction:column;overflow:hidden}.panel-tabs{display:flex;border-bottom:1px solid var(--line);height:44px;flex-shrink:0}.panel-tabs>button{flex:1;display:flex;align-items:center;justify-content:center;gap:6px;font-size:10px;border-bottom:2px solid transparent;color:#848d7e}.panel-tabs>button.active{border-color:#5b7b60;color:#35533d}.panel-heading{display:flex;justify-content:space-between;align-items:center;padding:12px 14px 5px;min-height:38px;flex-shrink:0}.panel-heading>span{font-size:8px;letter-spacing:.1em;color:#98a08e}.panel-heading .icon-button{width:24px;height:24px}.layers-list{overflow:auto;flex:1;padding:4px 8px}.layer-row{display:flex;align-items:center;border:1px solid transparent;border-radius:5px;margin:2px 0;min-height:49px;gap:3px;padding-right:7px}.layer-row.selected{background:#e8efe2;border-color:#d6e1cd}.layer-select{display:flex;align-items:center;gap:9px;padding:8px;flex:1;min-width:0;text-align:left}.layer-thumb{height:28px;width:28px;background:#f7f8f2;border:1px solid #dde4d4;display:grid;place-items:center;border-radius:4px}.layer-select>span:last-child{min-width:0}.layer-select strong{display:block;font-size:9px;font-weight:500;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;max-width:116px}.layer-select small{display:block;font-size:8px;color:#9ba490;margin-top:4px}.layer-row>button:last-child{padding:6px 0;color:#839177}.layer-footer{display:flex;justify-content:space-around;align-items:center;padding:9px 4px;border-top:1px solid var(--line);margin-top:auto}.layer-footer .icon-button{width:29px;height:29px}.layer-footer svg{width:13px;height:13px}.empty-panel{padding:40px 20px;text-align:center;color:#96a08b}.empty-panel>svg{width:28px;height:28px}.empty-panel p{font-size:12px;line-height:1.8;margin:14px 0}.empty-panel small{font-size:9px}.template-list{overflow:auto;padding:8px 14px;flex:1}.template-list>button{display:block;text-align:left;width:100%;margin-bottom:20px}.template-art{height:104px;border:1px solid #e2e5d8;border-radius:5px;background:#edf0e6;display:grid;place-items:center;color:#ad7c7e}.template-art.monogram{background:#f1e7df;font:38px Flora Serif,serif}.template-art.patch{background:#e7eadc;color:#6a8b67}.template-list strong{display:block;font-size:10px;margin-top:10px;font-weight:500}.template-list p{font-size:9px;line-height:1.6;color:#95a087;margin-top:4px}.save-template{margin:10px;font-size:9px;min-height:34px;padding:8px}.canvas-zone{min-width:0;min-height:0;flex:1;display:flex;flex-direction:column;position:relative;background:#eceee7}.canvas-container{flex:1;min-height:180px;position:relative;overflow:hidden;background-image:radial-gradient(#b8c3af77 .6px,transparent .6px);background-size:14px 14px;touch-action:none}.canvas-container.tool-brush,.canvas-container.tool-pen,.canvas-container.tool-rect,.canvas-container.tool-ellipse{cursor:crosshair}.canvas-container.tool-pan{cursor:grab}.canvas-container.tool-eraser{cursor:cell}.canvas-hint{position:absolute;bottom:14px;left:15px;right:15px;text-align:center;color:#919b86;font-size:9px;pointer-events:none}.finish-path{position:absolute;top:15px;left:50%;transform:translate(-50%);background:var(--forest);color:#fff;padding:10px 16px;font-size:11px;border-radius:5px}.canvas-bottom{height:39px;flex-shrink:0;display:flex;justify-content:space-between;align-items:center;background:#f7f8f1;border-top:1px solid #dee3d5;padding:0 15px}.mode-note{display:flex;align-items:center;gap:7px;font-size:9px;color:#64765b}.live-dot{width:5px;height:5px;background:#80a070;border-radius:50%}.canvas-layer-count{font-size:8px;color:#9ba58e;margin-left:10px}.zoom-control{display:flex;gap:4px;align-items:center}.zoom-control>button:not(.icon-button){font-size:10px;min-width:40px}.zoom-control .icon-button{height:26px;width:26px}.zoom-control .icon-button svg{width:12px;height:12px}.simulation{display:flex;align-items:center;gap:10px;padding:10px 15px;background:#fdfdf9;border-top:1px solid var(--line)}.simulation input{flex:1;accent-color:#507551;min-width:40px}.simulation>span{font-size:9px;color:#7d8d73;white-space:nowrap}.simulation>button:last-child{font-size:9px;border-bottom:1px solid #758666;padding:4px;white-space:nowrap}.properties-panel{width:255px;flex-shrink:0;background:#fcfcf8;border-left:1px solid var(--line);overflow:auto}.properties-heading{display:flex;gap:9px;align-items:center;height:44px;border-bottom:1px solid var(--line);padding:0 17px;color:#648056}.properties-heading h2{font-size:11px;font-weight:500}.property-section{padding:17px;border-bottom:1px solid var(--line)}.property-section>.eyebrow{font-size:8px;margin-bottom:11px}.full-label{font-size:9px;color:#7d8c71;display:block;line-height:1.6;margin-bottom:12px}.full-label input,.full-label select,.full-label textarea{display:block;width:100%;border:1px solid #dfe5d6;border-radius:4px;padding:8px 9px;background:#fffefb;font-size:11px;min-height:34px;margin-top:5px}.full-label select{padding:8px 5px}.full-label textarea{resize:vertical}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.number-field{display:block;font-size:8px;color:#849176;min-width:0}.number-field>span{display:block;margin-bottom:4px}.number-field input{width:100%;font-size:10px;background:#fffefa;border:1px solid #dfe5d5;border-radius:4px;padding:7px;min-height:31px}.color-property{display:grid;grid-template-columns:1fr 1fr 1.2fr;gap:12px;margin-top:14px;align-items:end}.color-property>label:not(.number-field){font-size:8px;color:#809271}.color-property input[type=color]{display:block;margin-top:4px;width:100%;height:31px;border:1px solid #dfe5d5;border-radius:4px;background:#fff;padding:4px}.checkbox{display:flex;align-items:center;gap:6px;font-size:9px;color:#7a8e6c;line-height:1.5;margin:12px 0}.checkbox input{accent-color:#48704b}.property-empty{padding:30px 20px 25px;color:#8c9b7f;text-align:center;border-bottom:1px solid var(--line)}.property-empty p{font:500 22px/1.2 Flora Serif,Georgia,serif;margin:10px 0}.property-empty small{font-size:9px;line-height:1.7;display:block;max-width:160px;margin:auto}.palette{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;padding:4px;max-height:196px;overflow-y:auto}.palette>button{display:grid;place-items:center;width:100%;min-width:0;height:auto;min-height:30px;aspect-ratio:1;padding:0;border-radius:50%;border:1px solid #6d745855}.palette>button.selected{outline:2px solid #507551;outline-offset:2px}.palette>button:focus-visible{outline:3px solid #284b3c;outline-offset:2px}.color-library-heading{display:flex;align-items:baseline;justify-content:space-between;margin-bottom:12px}.color-library-heading>.eyebrow{margin-bottom:0}.color-library-heading>span{font-size:10px;color:#61745e}.custom-color{display:flex;align-items:flex-end;gap:6px;margin-top:14px}.custom-color label{display:flex;flex-direction:column;gap:6px;min-width:0;font-size:9px;color:#61745e}.custom-color-picker{flex-shrink:0}.custom-color-hex{flex:1}.custom-color input{height:34px;width:100%;border:1px solid var(--line);border-radius:4px;background:var(--paper)}.custom-color input[type=color]{width:46px;padding:3px;cursor:pointer}.custom-color input[type=text]{padding:6px;font-size:11px;font-family:ui-monospace,monospace}.custom-color>button{min-height:34px;padding:6px 9px;font-size:10px}.color-error,.color-hint{margin-top:10px;font-size:10px;line-height:1.6}.color-error{color:#9c3038}.color-hint{color:#687460}.section-label{display:flex;align-items:center;justify-content:space-between;margin-bottom:13px;color:#8b9979}.section-label>.eyebrow{font-size:8px}.machine-note{font-size:9px;line-height:1.7;background:#eee9dc;color:#8b7d5f;border-radius:4px;padding:9px;margin-top:8px}.hoop-section .field-grid{margin-bottom:10px}.hoop-section .full-label select{font-size:9px}.stitch-types{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin-bottom:14px}.stitch-types>button{border:1px solid #dfe5d7;border-radius:4px;display:flex;flex-direction:column;align-items:center;gap:7px;padding:10px 3px;font-size:8px;text-transform:capitalize}.stitch-types>button.active{background:#e4eddc;border-color:#a5ba92}.stitch-sample{width:29px;height:13px;display:block}.stitch-sample.running{border-top:2px dashed #7c9570;margin-top:6px;height:7px}.stitch-sample.satin{background:repeating-linear-gradient(90deg,#8d9e7d 0 1px,transparent 1px 4px);transform:skewY(-10deg)}.stitch-sample.tatami{background:repeating-linear-gradient(145deg,#849979 0 1px,transparent 1px 4px);border:1px solid #adb9a0}.digitize-action{padding:15px 17px}.digitize-action>.primary-button{width:100%;font-size:10px;padding:11px}.stitch-stats{display:grid;grid-template-columns:repeat(3,1fr);margin-top:16px;gap:6px}.stitch-stats>div{display:flex;flex-direction:column;text-align:center;gap:5px}.stitch-stats strong{font-size:16px;font-weight:500}.stitch-stats span{font-size:8px;color:#91a082}.plan-warning,.plan-error{font-size:10px;padding:10px;border-radius:4px;line-height:1.7;margin-top:10px}.plan-warning{background:#f0eadc;color:#8b764e}.plan-error{background:#f8e9e5;color:#aa635c}.brush-presets{display:flex;gap:6px;margin-bottom:15px}.brush-presets>button{flex:1;font-size:9px;padding:8px 3px;border:1px solid #dfe4d8;border-radius:4px}.brush-presets>button.active{background:#e5eddc;border-color:#8ba77d}.hint{font-size:10px;color:#8a9680;line-height:1.8;margin-top:10px;display:block}.statusbar{height:25px;display:flex;justify-content:space-between;align-items:center;padding:0 17px;border-top:1px solid var(--line);background:#fdfcf7;flex-shrink:0;font-size:8px;color:#9aa48e}.statusbar>span{display:flex;align-items:center;gap:5px}.connection-dot{width:5px;height:5px;border-radius:50%;background:#be9b74}.connection-dot.connected{background:#82a273}.mobile-panel-buttons{display:none}.notice{position:fixed;bottom:35px;left:50%;transform:translate(-50%);width:min(620px,calc(100% - 30px));z-index:1000;display:flex;align-items:start;gap:20px;border:1px solid #d3b3a2;background:#fff7ed;box-shadow:0 8px 30px #3d413318;padding:14px 17px;border-radius:7px;color:#856b4d;font-size:12px;line-height:1.7}.notice span{flex:1}.notice button{padding:3px}.busy-indicator{position:fixed;top:80px;left:50%;transform:translate(-50%);z-index:1100;background:#314d3a;color:#fff;padding:10px 20px;border-radius:25px;font-size:12px;display:flex;align-items:center;gap:10px;box-shadow:0 4px 20px #293b3122}.spinner{width:13px;height:13px;border:2px solid #ffffff55;border-top-color:#fff;border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.studio-dialog{width:min(580px,calc(100vw - 32px));max-height:85dvh;border:1px solid #dce3d2;border-radius:12px;background:#fffefa;color:#354c38;padding:28px;box-shadow:0 20px 100px #1d342433}.studio-dialog::backdrop{background:#21372d77;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.dialog-heading{display:flex;justify-content:space-between;align-items:start;margin-bottom:20px}.dialog-heading .eyebrow{font-size:8px;margin-bottom:8px}.dialog-heading h2{font:500 34px/1.15 Flora Serif,Georgia,serif}.dialog-intro{font-size:12px;line-height:1.9;color:#7a8a70;margin-bottom:22px}.studio-dialog .full-label{font-size:11px;margin-top:14px}.studio-dialog .full-label input,.studio-dialog .full-label select,.studio-dialog .full-label textarea{font-size:12px;min-height:40px;padding:10px}.studio-dialog .checkbox{font-size:12px}.studio-dialog hr{border:0;border-top:1px solid #e5e8dd;margin:25px 0}.studio-dialog .primary-button{margin-top:8px}.export-info{display:flex;gap:16px;background:#f0f2e9;border-radius:5px;padding:18px;margin:20px 0;color:#8b9e78}.export-info p{font-size:11px;line-height:1.8;color:#77876d}.dialog-actions{display:flex;justify-content:space-between;gap:15px;align-items:center}.ai-dialog-icon{height:80px;display:grid;place-items:center;background:#f1eaf3;color:#ac8bab;border-radius:7px;margin-bottom:20px}.library-search{display:flex;align-items:center;gap:12px;border:1px solid #dfe5d6;border-radius:5px;padding:10px;color:#8c9b7e}.library-search input{border:0;background:none;outline:0;width:100%;font-size:12px}.studio-dialog h3{font-size:11px;font-weight:600;margin:23px 0 10px}.library-items{max-height:190px;overflow:auto}.library-items>button{width:100%;display:flex;gap:12px;align-items:center;padding:11px 6px;border-bottom:1px solid #ebeee3;text-align:left;font-size:12px}.library-items>button>span{flex:1}.library-items small{display:block;font-size:9px;color:#95a287;margin-top:5px}.guide p:not(.dialog-intro){font-size:12px;line-height:1.9;color:#7b8c72}.studio-dialog .library-items+.outline-button{margin-top:20px}@media(min-width:1650px){.library-panel{width:250px}.properties-panel{width:290px}.layer-select strong{max-width:145px}.welcome{padding-top:70px}.welcome-choices{margin-top:45px}.choice-art{height:190px}}@media(max-width:1150px){.library-panel{width:185px}.properties-panel{width:235px}.layer-select strong{max-width:92px}.layer-select{gap:6px;padding:7px 5px}.layer-row{padding-right:4px}.dimension-pill{display:none}.workspace-bar{padding:0 12px}.topbar{gap:12px}.project-title{max-width:160px}.canvas-layer-count{display:none}.choice-copy h2{font-size:31px}}@media(max-width:950px){.library-panel{display:none;position:absolute;left:56px;top:157px;bottom:25px;z-index:30;box-shadow:8px 0 30px #27413215;width:230px}.library-panel.mobile-open{display:flex}.mobile-panel-buttons{display:block}.properties-panel{width:225px}.workspace-bar .mobile-panel-buttons:last-child{display:none}.topbar .quiet-button{display:none}.welcome{padding:30px 25px 0}.welcome-choices{gap:18px}.choice-copy{padding:20px}.choice-copy h2{font-size:29px}.choice-art{height:150px}.s1{left:20px}.s2{right:20px}.choice-copy p{font-size:11px}}@media(max-width:700px){.topbar{height:60px;padding:0 12px;gap:8px}.brand>span{font-size:29px}.brand img{width:26px;height:32px}.studio-word{font-size:6px}.topbar-divider{display:none}.mode-switch{margin-left:auto;gap:0;padding:3px}.mode-switch button{font-size:9px;padding:8px 10px;gap:5px}.mode-switch button svg{width:12px}.topbar-spacer,.avatar{display:none}.topbar>.icon-button{width:26px}.document-bar{height:49px;padding:0 8px;gap:5px}.document-actions{gap:2px}.document-actions .quiet-button span{display:none}.project-tab{max-width:184px}.project-tab-select{font-size:9px;padding:0 8px}.primary-button.compact{padding:8px;font-size:10px}.workspace-bar{padding:0 6px;gap:2px;height:43px}.project-title{max-width:90px;font-size:9px}.ai-button{font-size:9px;padding:7px;margin-left:3px;gap:5px}.workspace-bar .icon-button{width:28px}.workspace-bar .mobile-panel-buttons:last-child{display:block}.small-divider,.tiny-toggle{display:none}.properties-panel{display:none;position:absolute;right:0;top:148px;bottom:25px;width:265px;z-index:31;box-shadow:-8px 0 30px #27413218}.properties-panel.mobile-open{display:block}.library-panel{top:148px;left:46px}.tool-rail{width:46px;padding:10px 5px;gap:8px}.tool-rail .icon-button{width:33px;height:33px}.canvas-bottom{padding:0 7px}.mode-note{font-size:8px}.canvas-hint{font-size:8px;left:8px;right:8px}.zoom-control{gap:0}.zoom-control .icon-button:last-child{display:none}.zoom-control>button:not(.icon-button){font-size:9px;min-width:33px}.statusbar{font-size:7px;padding:0 8px}.statusbar>span:last-child{display:none}.simulation{gap:5px;padding:8px}.simulation>span{font-size:8px}.simulation>button:last-child{font-size:8px;max-width:48px}.welcome{padding:28px 20px 0}.welcome-heading>.eyebrow{font-size:7px;letter-spacing:.12em}.welcome-heading h1{font-size:48px}.welcome-heading>p:last-child{font-size:11px}.welcome-choices{grid-template-columns:1fr;gap:18px;margin-top:25px}.workspace-choice{display:grid;grid-template-columns:105px 1fr}.choice-art{height:100%;min-height:180px}.choice-art>.lucide-paintbrush{width:43px}.swatch{opacity:.8}.s1{width:100px;left:10px;top:35px}.s2{width:90px;right:-40px}.s3{width:80px;right:10px}.choice-stamp{display:none}.hoop-illustration{height:87px;width:87px;border-width:6px}.hoop-illustration svg{width:55px;height:55px}.choice-copy{padding:20px 16px}.choice-copy .eyebrow{font-size:7px}.choice-copy h2{font-size:27px}.choice-copy h2 svg{width:15px}.choice-copy p{font-size:10px;line-height:1.7}.welcome-actions{gap:14px;flex-wrap:wrap;margin:21px 0 25px}.welcome-actions button{font-size:9px;gap:5px;min-height:38px}.recent-section>div:first-child{display:block}.recent-section h2{font-size:12px;margin-bottom:7px}.recent-grid{grid-template-columns:1fr}.recent-grid>button>span{font-size:9px}.welcome-foot{font-size:8px;gap:6px}.welcome-foot span{display:none}.studio-dialog{padding:22px}.dialog-actions{flex-wrap:wrap}.dialog-heading h2{font-size:29px}.notice{font-size:11px;bottom:30px}.field-grid .full-label select{max-width:100%}}@media(print){.topbar,.document-bar,.workspace-bar,.tool-rail,.library-panel,.properties-panel,.statusbar,.canvas-bottom,.simulation,.canvas-hint,.notice,dialog{display:none!important}.app-shell{height:auto;overflow:visible}.studio-workspace,.canvas-zone,.canvas-container{display:block;height:80vh;width:100%;overflow:visible}.canvas-container{background:#fff}.welcome{overflow:visible}}@media(pointer:coarse){.project-tab-close{flex-basis:44px;width:44px;height:44px}.icon-button{min-width:40px;min-height:44px}.layer-row{min-height:48px}.full-label input:not([type=checkbox]),.full-label select,.number-field input{min-height:42px;font-size:14px}.checkbox{font-size:12px;line-height:1.7}.palette{grid-template-columns:repeat(4,minmax(44px,1fr));max-height:198px}.palette>button{min-height:44px}.custom-color input,.custom-color>button{min-height:44px}.custom-color input[type=text]{font-size:16px}}.image-edit-tools{display:grid;gap:10px;margin-top:14px}.image-edit-tools h3{font-family:var(--serif);font-size:15px;margin:0}.crop-preview-wrap{align-items:center;background:repeating-conic-gradient(#e8e8e3 0 25%,#fff 0 50%) 50% / 16px 16px;border:1px solid var(--line);border-radius:8px;display:flex;justify-content:center;margin-bottom:14px;max-height:280px;overflow:hidden}.crop-preview-wrap img{display:block;max-height:280px;max-width:100%;object-fit:contain}.ai-source-picker,.ai-action-row,.ai-result-actions{display:flex;flex-wrap:wrap;gap:8px}.ai-source-preview{align-items:center;background:#f1f2eb;border:1px solid var(--line);border-radius:10px;display:grid;gap:10px;grid-template-columns:64px 1fr auto;margin:12px 0;padding:8px}.ai-source-preview img{background:repeating-conic-gradient(#e8e8e3 0 25%,#fff 0 50%) 50% / 12px 12px;border-radius:7px;height:64px;object-fit:contain;width:64px}.ai-source-preview span{display:grid;gap:3px;min-width:0}.ai-source-preview small{color:var(--muted)}.ai-source-preview button{background:transparent;border:0;color:var(--muted)}.ai-result-preview{background:#f6f4ed;border:1px solid var(--line);border-radius:12px;display:grid;gap:10px;margin-top:14px;padding:12px}.ai-result-heading{align-items:baseline;display:flex;justify-content:space-between}.ai-result-heading span{color:var(--muted);font-size:11px}.ai-result-preview>img{background:repeating-conic-gradient(#e8e8e3 0 25%,#fff 0 50%) 50% / 16px 16px;border-radius:8px;max-height:360px;object-fit:contain;width:100%}.ai-result-actions{justify-content:flex-end}.layer-context-menu{background:var(--paper);border:1px solid var(--line);border-radius:10px;box-shadow:0 14px 38px #1f30273b;display:grid;min-width:210px;padding:7px;position:fixed;z-index:80}.layer-context-menu strong{color:var(--muted);font-size:11px;max-width:200px;overflow:hidden;padding:7px 9px;text-overflow:ellipsis;white-space:nowrap}.layer-context-menu button{align-items:center;background:transparent;border:0;border-radius:7px;color:var(--ink);display:flex;font:inherit;gap:7px;padding:7px 9px;text-align:left}.layer-context-menu button:hover,.layer-context-menu button:focus-visible{background:#edf0e6}.layer-context-menu button.danger{color:#a33f43}.layer-context-menu hr{border:0;border-top:1px solid var(--line);margin:4px 2px}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
