:root{--ink:#1c293d;--muted:#8190a4;--line:#e6ebf2;--panel:#fff;--bg:#f6f8fc;--brand:#428bd6;--accent:#4c87ca;--r:16px;--shadow:0 10px 35px #31517c0b;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);font-synthesis:none}*{box-sizing:border-box}body{margin:0;background:var(--bg);min-width:0}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.48;cursor:not-allowed}a{color:inherit}[tabindex]:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #4599e4;outline-offset:2px}.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.shell{max-width:2000px;margin:auto}.topbar{height:72px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 27px;gap:14px}.bar-actions,.brand,.canvas-caption,.canvas-head,.hero-tag,.mini-heading,.modal-actions,.modal-head,.project-bar,.section-title,.stage-bottom,.studio-heading,.studio-top,.topbar-actions{display:flex;align-items:center;gap:12px}.brand a{text-decoration:none;font-size:19px;font-weight:790;letter-spacing:-.7px;white-space:nowrap}.brandmark{display:inline-flex;align-items:center;justify-content:center;color:#fff;background:linear-gradient(145deg,#69b2f0,#377ec8);border-radius:9px;width:31px;height:31px;margin-right:8px;font-weight:800;box-shadow:0 3px 7px #377ec82d}.blue{color:#469cdb}.crumb{color:#d0d8e3;font-size:25px;font-weight:300}.brand strong{font-size:13px;white-space:nowrap}.edition{font-size:9px;font-weight:800;color:#95a2b2;letter-spacing:1.1px;margin-left:7px}.topbar-actions{justify-content:flex-end}.local-indicator{color:#728396;font-size:11px;font-weight:650;white-space:nowrap;margin-right:7px}.dot{background:#53b98f;width:7px;height:7px;display:inline-block;border-radius:50%;margin-right:6px}.btn,.icon-btn{border-radius:10px;border:1px solid var(--line);background:#fff;color:#43536a;font-size:12px;font-weight:750;display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:36px;padding:8px 13px;white-space:nowrap;transition:background .16s,transform .16s}.btn:hover,.icon-btn:hover{background:#edf5fe}.btn:active,.icon-btn:active{transform:translateY(1px)}.btn.primary{background:#408cd8;color:#fff;border-color:#408cd8;box-shadow:0 5px 14px #418bdb2e}.btn.primary:hover{background:#2f76c2}.btn.light{background:#f8fafc}.btn.dashed{border-style:dashed;background:#fbfdff}.btn.full{width:100%}.btn.compact{min-height:32px;font-size:11px;padding:6px 11px}.icon-btn{width:34px;height:34px;padding:0;font-size:20px}.mobile-tabs{display:none}.layout{display:grid;grid-template-columns:260px minmax(0,1fr) 285px;min-height:calc(100vh - 72px);align-items:stretch}.panel{background:var(--panel);min-width:0}.left{border-right:1px solid var(--line);padding:25px 18px 24px}.right{border-left:1px solid var(--line);padding:25px 18px 0;display:flex;flex-direction:column}.right-head,.sidebar-head{padding:5px 3px 24px;border-bottom:1px solid var(--line)}.eyebrow,.overline{color:#6496ca;letter-spacing:1.5px;font-size:9px;font-weight:850}.right-head h2,.sidebar-head h2{font-size:32px;letter-spacing:-1.4px;margin:14px 0 10px;line-height:1.12}.hero h1 em,.right-head h2 em,.sidebar-head h2 em{font-style:normal;color:#438bd3}.hero p,.right-head p,.sidebar-head p{margin:0;color:#8a98aa;line-height:1.65;font-size:12px}.mini-heading{font-weight:850;color:#6c7a8d;font-size:10px;letter-spacing:1.15px;margin:26px 2px 15px;justify-content:space-between}.mini-heading.gap-top{margin-top:26px}.mini-pill{background:#edf4fe;border-radius:6px;color:#5b8bbd;padding:5px 8px;font-size:9px;letter-spacing:0}.template-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.template-card{border:1px solid #e7edf5;background:#fdfefe;border-radius:12px;padding:8px 5px 9px;text-align:center;min-height:107px;display:flex;align-items:center;flex-direction:column;justify-content:space-between;color:#5b6a7d}.template-card.active,.template-card:hover{border-color:#83b4e8;background:#f2f8ff}.template-card.active{box-shadow:0 0 0 2px #b9d7f74a}.template-thumb{width:64px;height:66px;display:flex;align-items:center;justify-content:center}.template-thumb svg{height:64px;width:50px}.template-card span:last-child{font-size:10px;font-weight:750}.looks-list{display:flex;flex-direction:column;gap:8px;margin-bottom:12px}.look-row{display:flex;align-items:center;gap:9px;padding:9px 8px;border:1px solid var(--line);border-radius:11px;cursor:pointer;background:#fff;min-width:0}.look-row.selected,.look-row:hover{background:#f3f8fe;border-color:#c5ddf8}.look-no{font-size:10px;font-weight:850;color:#8aadd6}.look-row strong{font-size:11px;color:#2b3b52;display:block;max-width:136px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.look-row small{display:block;color:#98a4b2;font-size:9px;margin-top:3px}.look-row .current-dot{width:7px;height:7px;border-radius:100%;background:#559add;margin-left:auto;flex-shrink:0}.side-footer{margin-top:26px;border:1px solid #e8edf4;border-radius:13px;padding:14px;background:#f8fbff}.side-footer strong{font-size:12px}.side-footer p{font-size:10px;color:#8d9aac;line-height:1.6;margin:6px 0 0}.main{min-width:0;padding:25px clamp(18px,2.6vw,42px) 27px}.hero{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:5px 4px 27px}.hero h1{font-size:clamp(31px,3vw,44px);line-height:1.13;margin:12px 0 8px;letter-spacing:-1.6px}.hero p{max-width:560px}.hero-tag{background:#fff;border:1px solid var(--line);padding:13px 15px;border-radius:13px;flex-shrink:0;box-shadow:var(--shadow)}.hero-tag>span{width:38px;height:38px;background:#eaf4ff;border-radius:11px;display:grid;place-items:center;color:#619cdb;font-size:23px}.hero-tag strong{display:block;font-size:11px}.hero-tag small{display:block;font-size:10px;color:#9daab9;margin-top:5px}.project-bar{border:1px solid var(--line);border-radius:14px;background:#fff;padding:13px 17px;justify-content:space-between;gap:14px;min-width:0;box-shadow:var(--shadow)}.project-title{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1}.project-title input{width:100%;max-width:330px;font-size:16px;font-weight:750;color:#24334a;border:1px solid transparent;border-radius:6px;padding:4px 5px;min-width:0}.project-title input:focus{border-color:#b8d7f9}.save-state{color:#98a5b4;font-size:10px;padding-left:5px}.bar-actions{flex-wrap:wrap;justify-content:flex-end;gap:7px}.studio-top{margin:24px 0 14px;justify-content:space-between;gap:12px;flex-wrap:wrap}.studio-heading{gap:10px;flex-wrap:wrap}.studio-heading strong{font-size:14px}.studio-heading span{font-size:9px;color:#99a5b5;font-weight:750;letter-spacing:1.1px}.view-controls{border:1px solid var(--line);background:#fff;border-radius:10px;padding:4px;display:flex;gap:3px}.view-controls button{border:0;border-radius:7px;background:0 0;padding:7px 12px;font-size:11px;font-weight:750;color:#8995a5}.view-controls button[aria-pressed=true]{background:#eaf3fe;color:#357dc7}.stage-scroll{overflow-x:auto;border-radius:16px}.stage{display:grid;grid-template-columns:1fr 1fr;gap:16px;min-width:0}.stage[data-view=garment]{grid-template-columns:minmax(0,640px);justify-content:center}.stage[data-view=board]{grid-template-columns:minmax(0,640px);justify-content:center}.stage[data-view=board] .garment-card,.stage[data-view=garment] .board-card{display:none}.canvas-card{border:1px solid #e3e9f1;background:#fff;border-radius:17px;overflow:hidden;box-shadow:var(--shadow);min-width:0;padding:13px;display:flex;flex-direction:column}.canvas-head{justify-content:space-between;padding:3px 3px 12px;gap:6px;font-size:9px;font-weight:850;letter-spacing:1.1px;color:#7f90a4;flex-wrap:wrap}.head-accent{color:#6ea4db}.garment-canvas,.moodboard-frame{background:#f7f9fc;border:1px solid #edf1f6;min-width:0;aspect-ratio:430/560;flex:1;overflow:hidden;border-radius:11px}.garment-canvas svg{display:block;width:100%;height:100%}.moodboard-frame{aspect-ratio:440/560}.moodboard{position:relative;background:#f2f5fa;width:100%;height:100%;overflow:hidden;touch-action:none}.board-item{position:absolute;border:1px solid #dce4ee;border-radius:9px;overflow:hidden;box-shadow:0 5px 10px #233c5d17;display:flex;align-items:flex-start;justify-content:flex-start;padding:9px;background:#fff;cursor:grab;text-align:left;color:#26364b;font-weight:600;font-size:clamp(7px,.8vw,13px);line-height:1.35;white-space:pre-wrap;overflow-wrap:anywhere;user-select:none;touch-action:none}.board-item.swatch{align-items:flex-end}.board-item.swatch>span{background:#fffdfde0;border-radius:5px;padding:4px 6px;font-size:inherit}.board-item.image{padding:0}.board-item.image img{width:100%;height:100%;object-fit:cover;pointer-events:none}.board-item.selected{outline:2px solid #3e93df;outline-offset:2px;z-index:2}.canvas-caption{justify-content:space-between;padding:13px 3px 1px;gap:8px;font-size:10px;color:#9cabb9}.canvas-caption>span:last-child{font-weight:850;color:#6b84a3;letter-spacing:.5px}.stage-bottom{justify-content:space-between;gap:12px;margin:15px 0;color:#8293a5;font-size:11px;line-height:1.6}.footer-tips{border:1px solid #dfe9f8;background:linear-gradient(115deg,#f1f8ff,#fff);border-radius:14px;padding:17px 18px;display:flex;gap:13px}.sparkle{font-size:23px;color:#5198dd}.footer-tips strong{font-size:12px}.footer-tips p{font-size:11px;line-height:1.5;color:#8696a7;margin:5px 0 0}.right-head{padding-bottom:18px}.right-head h2{font-size:27px}.inspector-scroll{overflow:auto;min-height:0;flex:1}.prop-section{padding:20px 2px;border-bottom:1px solid var(--line)}.section-title{font-size:10px;font-weight:800;color:#82a4c8;margin-bottom:16px;letter-spacing:.5px}.section-title strong{font-size:12px;color:#2c3e55;letter-spacing:0}.field{display:flex;flex-direction:column;gap:7px;font-size:11px;font-weight:750;color:#64758a;margin:0 0 13px}.field input:not([type=range]),.field select,.field textarea,.item-editor input,.item-editor select,.item-editor textarea,.measure-list input,.measure-list select{border:1px solid #e4eaf3;background:#fafcff;border-radius:9px;width:100%;padding:9px 10px;min-width:0;color:#2e4158;font-size:12px;line-height:1.3}.field textarea{resize:vertical;min-height:66px}.swatches{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-bottom:17px}.swatch-field{font-size:10px;color:#8292a4;font-weight:750;display:flex;flex-direction:column;gap:8px}.swatch-field input{width:100%;height:38px;background:#fff;border:1px solid #e4ebf4;border-radius:9px;padding:3px;cursor:pointer}.field output{float:right;color:#3c89d0}.field input[type=range]{accent-color:#5297d7;width:100%}.toggle-line{font-size:11px;color:#53657a;font-weight:650;display:flex;align-items:center;gap:9px;margin-bottom:13px}.toggle-line input{accent-color:#5295d9}.measure-list{display:flex;flex-direction:column;gap:7px;margin-bottom:12px}.measure-row{display:grid;grid-template-columns:minmax(0,1fr) 57px 46px 22px;gap:4px}.measure-row input,.measure-row select{padding:7px 4px;font-size:10px}.measure-row button{border:0;background:0 0;color:#a3b0bf;font-size:17px}.hint{color:#9aabba;font-size:10px;line-height:1.6;margin:9px 0 0}.board-add{display:flex;gap:5px;flex-wrap:wrap}.board-add .btn{padding:8px;font-size:10px;flex:1}.item-editor{margin-top:14px}.item-editor .field{margin-bottom:9px}.item-editor .actions{display:flex;gap:7px;flex-wrap:wrap}.item-editor .actions button{flex:1}.right-footer{padding:16px 0 20px;background:#fff}.right-footer p{font-size:10px;color:#a2afbc;text-align:center}.page-footer{font-size:11px;padding:20px;text-align:center;color:#8c9bac;border-top:1px solid #e6edf5;background:#fff}.page-footer a{color:#5d92cc;text-decoration:none}.seo-section{background:#fff;padding:25px max(22px,calc((100% - 1000px)/ 2)) 70px;color:#66778c;font-size:13px;line-height:1.9}.seo-section h2,.seo-section h3{color:#24354b}.toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%,30px);opacity:0;background:#263b55;color:#fff;z-index:30;padding:12px 18px;border-radius:11px;font-size:12px;box-shadow:0 10px 20px #21334832;pointer-events:none;transition:transform .2s,opacity .2s;max-width:min(500px,90vw);text-align:center}.toast.show{transform:translate(-50%,0);opacity:1}.modal{border:1px solid #e4eaf2;border-radius:18px;box-shadow:0 30px 80px #15273f45;max-width:min(660px,calc(100vw - 32px));width:100%;max-height:87vh;overflow:auto;background:#fff;padding:26px}.modal::backdrop{background:#192d46a3;backdrop-filter:blur(3px)}.modal-head{align-items:flex-start;justify-content:space-between}.modal h2{margin:8px 0 0;font-size:28px;letter-spacing:-.8px}.dialog-help{font-size:12px;line-height:1.65;color:#8190a2}.export-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:19px}.export-grid button{background:#fbfdff;border:1px solid #e4eaf3;padding:17px 14px;text-align:left;border-radius:12px;min-height:72px}.export-grid button:hover{border-color:#83bce9;background:#f4faff}.export-grid strong{display:block;color:#30435b;font-size:12px}.export-grid small{color:#96a4b5;font-size:10px;display:block;margin-top:6px;line-height:1.4}.project-list{display:flex;flex-direction:column;gap:9px;max-height:350px;overflow:auto;margin:20px 0}.project-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:13px;border:1px solid #e8edf4;border-radius:10px}.project-row strong{font-size:12px}.project-row small{display:block;color:#9aa8b7;font-size:10px;margin-top:4px}.project-row .project-actions{display:flex;gap:7px}.modal-actions{justify-content:flex-end;flex-wrap:wrap}.empty-projects{padding:22px;text-align:center;color:#97a6b7;font-size:13px;background:#f8fbff;border-radius:12px}#printArea{display:none}@media(max-width:1280px){.layout{grid-template-columns:225px minmax(0,1fr) 250px}.left,.right{padding-left:13px;padding-right:13px}.hero-tag{display:none}.main{padding-left:20px;padding-right:20px}.bar-actions .compact{font-size:10px}.stage{gap:10px}.canvas-card{padding:9px}.canvas-head{font-size:8px}}@media(max-width:1060px){.layout{grid-template-columns:210px minmax(0,1fr)}.right{display:none}.stage{gap:12px}.main{padding:22px}.edition,.local-indicator{display:none}}@media(max-width:750px){.topbar{height:auto;min-height:63px;padding:10px 14px;flex-wrap:wrap;gap:9px}.topbar-actions{gap:6px}.topbar-actions .btn{font-size:11px;padding:6px 9px;min-height:33px}.brand a{font-size:17px}.brand strong{font-size:11px}.crumb{font-size:18px}.mobile-tabs{display:flex;justify-content:center;background:#fff;padding:7px 12px;border-bottom:1px solid var(--line);gap:7px}.mobile-tabs button{border:0;background:#f4f7fc;color:#7d8da0;padding:9px 14px;border-radius:9px;font-size:11px;font-weight:750;flex:1;max-width:190px}.mobile-tabs button[aria-pressed=true]{background:#e6f2ff;color:#347cc7}.layout{display:block;min-height:initial}.layout[data-panel=canvas] .left,.layout[data-panel=canvas] .right,.layout[data-panel=inspector] .left,.layout[data-panel=inspector] .main,.layout[data-panel=library] .main,.layout[data-panel=library] .right{display:none}.layout[data-panel=inspector] .right{display:flex;min-height:650px;padding:22px 17px}.layout[data-panel=library] .left{display:block;padding:22px 17px;min-height:600px}.layout[data-panel=library] .template-grid{grid-template-columns:repeat(4,1fr);max-width:650px}.main{padding:20px 14px}.hero{padding:4px 3px 22px}.hero h1{font-size:33px}.hero p{font-size:11px}.stage{gap:10px}.project-bar{padding:10px;flex-wrap:wrap}.bar-actions{justify-content:flex-start}.stage-bottom{flex-wrap:wrap}.right-head h2{font-size:26px}.seo-section{padding:30px 18px}}@media(max-width:500px){.topbar{align-items:center}.brand{gap:6px}.brand strong{font-size:11px}.topbar-actions{width:100%;justify-content:space-between}.topbar-actions .btn{flex:1}.hero h1{font-size:30px}.hero .eyebrow{font-size:9px}.stage{grid-template-columns:minmax(0,1fr)}.stage[data-view=split] .board-card,.stage[data-view=split] .garment-card{max-width:500px;width:100%;margin:auto}.canvas-card{padding:11px}.canvas-head{font-size:9px}.studio-top{margin:18px 0 12px}.studio-heading span{font-size:8px}.view-controls{width:100%;justify-content:space-around}.view-controls button{flex:1}.project-bar{display:flex;align-items:flex-start;flex-direction:column}.bar-actions{width:100%;gap:5px;justify-content:space-between}.btn.compact{flex:1}.layout[data-panel=library] .template-grid{grid-template-columns:repeat(2,1fr)}.export-grid{grid-template-columns:1fr}.modal{padding:18px}.seo-section{padding:25px 16px}}@media(prefers-reduced-motion:reduce){*,:after,:before{scroll-behavior:auto!important;transition:none!important;animation:none!important}}@media print{body>:not(.shell){display:none!important}.footer-tips,.hero,.left,.mobile-tabs,.page-footer,.project-bar,.right,.seo-section,.stage-bottom,.studio-top,.topbar{display:none!important}.layout,.main{display:block;padding:0;margin:0}.stage{display:none!important}#printArea{display:block!important}#printArea svg{width:100%;height:auto;max-height:95vh;page-break-after:always}@page{size:A4 landscape;margin:10mm}}.card-geometry{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:12px 0}.card-geometry .field{min-width:0}.card-geometry input{box-sizing:border-box;width:100%;max-width:100%;min-height:36px}.board-item{touch-action:none}.board-item:focus-visible{outline:3px solid #287ed8;outline-offset:3px}@media(max-width:420px){.card-geometry{grid-template-columns:repeat(2,minmax(0,1fr))}}@media print{body>:not(.shell){display:none!important}body>.shell>:not(#printArea){display:none!important}#printArea{display:block!important;margin:0!important;padding:0!important}#printArea>svg{display:block;width:100%;height:auto;max-height:95vh;break-after:page;page-break-after:always}#printArea>svg:last-child{break-after:auto;page-break-after:auto}@page{size:A4 landscape;margin:10mm}}