:root{color:#172844;font-synthesis:none;text-rendering:optimizelegibility;--navy:#172844;--teal:#1b9aaa;--orange:#f26419;--line:#e4e9ec;--muted:#758291;--surface:#fff;background:#f4f6f7;font-family:Inter,Noto Sans TC,Microsoft JhengHei,sans-serif}*{box-sizing:border-box}body{min-width:320px;margin:0}button,input,select{font:inherit}button{cursor:pointer}.hidden{display:none!important}.topbar{color:#fff;background:#19232c;justify-content:space-between;align-items:center;height:68px;padding:0 clamp(16px,5vw,76px);display:flex}.brand{color:#fff;letter-spacing:.02em;align-items:center;gap:11px;font-weight:750;text-decoration:none;display:flex}.brand small{color:#aab4bd;letter-spacing:.15em;margin-top:3px;font-size:9px;display:block}.brand-mark{background:var(--teal);border-radius:10px;place-items:center;width:34px;height:34px;font-weight:900;display:grid}.topbar nav{align-items:center;gap:20px;display:flex}.topbar nav a{color:#d8e1e6;font-size:13px;text-decoration:none}.shell{max-width:1440px;margin:0 auto;padding:36px clamp(16px,4vw,56px) 72px}.auth-view{grid-template-columns:1fr minmax(320px,440px);align-items:center;gap:clamp(32px,9vw,140px);min-height:calc(100vh - 160px);padding:32px 4vw;display:grid}.auth-copy h1{letter-spacing:-.045em;margin:12px 0 22px;font-size:clamp(38px,5vw,68px);line-height:1.15}.auth-copy>p:not(.eyebrow){color:#687688;max-width:510px;font-size:17px;line-height:1.8}.eyebrow{letter-spacing:.16em;color:var(--teal);margin:0 0 8px;font-size:10px;font-weight:800}.feature-list{color:#4f5c69;gap:14px;margin-top:40px;font-size:13px;display:grid}.panel{background:var(--surface);border:1px solid var(--line);border-radius:16px;box-shadow:0 10px 32px #26384a0b}.auth-card{padding:30px}.auth-card h2,.create-project h2{margin:0 0 22px;font-size:22px}label{color:#354355;gap:8px;font-size:12px;font-weight:700;display:grid}input,select{width:100%;height:42px;color:var(--navy);background:#fff;border:1px solid #dce2e7;border-radius:8px;outline:none;padding:0 12px}input:focus,select:focus{border-color:var(--teal);box-shadow:0 0 0 3px #1b9aaa19}.auth-card label+label{margin-top:16px}.auth-actions{align-items:center;gap:18px;margin-top:24px;display:flex}.button{border:1px solid #0000;border-radius:9px;min-height:40px;padding:0 16px;font-size:12px;font-weight:700;transition:transform .15s,background .15s}.button:hover{transform:translateY(-1px)}.button:disabled{opacity:.55;cursor:wait;transform:none}.button-primary{background:var(--navy);color:#fff}.button-primary:hover{background:#243c5d}.button-secondary{color:var(--navy);background:#fff;border-color:#dbe2e7}.button-quiet{color:#fff;background:0 0;border-color:#fff5}.button-danger{color:#a64238;background:#fff;border-color:#f1d0cd}.button-small{min-height:34px;padding:0 11px}.button-full{width:100%;margin-top:14px}.text-button{color:#337984;background:0 0;border:0;padding:8px 0;font-size:12px;font-weight:700}.text-danger{color:#b84b41}.message{color:#607080;min-height:18px;margin:10px 0 0;font-size:12px;line-height:1.6}.fine-print{color:#82909d;margin:16px 0 0;font-size:11px;line-height:1.65}.page-heading,.section-heading,.editor-heading,.sidebar-heading,.design-toolbar,.canvas-toolbar,.stage-caption,.editor-footer{justify-content:space-between;align-items:center;gap:14px;display:flex}.page-heading{margin-bottom:28px}.page-heading h1{letter-spacing:-.035em;margin:0;font-size:34px}.page-heading>div>p:last-child,.create-project>div>p{color:var(--muted);margin-top:8px;font-size:13px}.user-chip{color:#637283;align-items:center;gap:10px;font-size:12px;display:flex}.avatar{color:#2c7d87;background:#dff0f1;border-radius:50%;place-items:center;width:32px;height:32px;font-weight:800;display:grid}.create-project{grid-template-columns:minmax(210px,1.3fr) 1fr 1fr auto;align-items:end;gap:16px;margin-bottom:38px;padding:20px;display:grid}.create-project h2{margin:0;font-size:16px}.create-project>div>p{max-width:300px;line-height:1.5}.section-heading{margin-bottom:16px}.section-heading h2{margin:0;font-size:20px}.count-label{color:var(--muted);font-size:12px}.project-grid{grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:16px;display:grid}.project-card{text-align:left;border:1px solid var(--line);min-height:176px;color:inherit;background:#fff;border-radius:13px;padding:20px;box-shadow:0 5px 16px #26384a08}.project-card:hover{border-color:#9fcbd0;box-shadow:0 10px 25px #26384a12}.project-card .project-symbol{color:#218994;background:#e8f4f4;border-radius:10px;place-items:center;width:38px;height:38px;font-size:18px;display:grid}.project-card h3{margin:16px 0 5px;font-size:16px}.project-card p{color:var(--muted);margin:0;font-size:12px}.project-card .project-meta{color:#84909a;justify-content:space-between;margin-top:16px;font-size:10px;display:flex}.empty-projects{text-align:center;color:var(--muted);background:#fff;border:1px dashed #cbd4da;border-radius:13px;grid-column:1/-1;padding:48px 20px;font-size:13px}.editor-heading{align-items:flex-start;margin-bottom:18px}.editor-title{flex:1;min-width:140px}.editor-title input{background:0 0;border:0;height:auto;padding:0;font-size:20px;font-weight:800}.editor-title input:focus{box-shadow:none;border-bottom:1px solid var(--teal);border-radius:0}.editor-title .eyebrow{margin-bottom:3px}.editor-school{color:var(--muted)}.editor-actions{gap:8px;display:flex}.workspace{border:1px solid var(--line);background:#fff;border-radius:15px;grid-template-columns:270px minmax(0,1fr);min-height:650px;display:grid;overflow:hidden}.sidebar{border-right:1px solid var(--line);background:#fbfcfc;padding:18px 14px}.sidebar-heading{align-items:flex-end;margin-bottom:15px}.sidebar-heading h2{margin:0;font-size:14px}.sidebar-heading h2 span{color:#8a959e;font-size:11px}.garment-list{gap:8px;display:grid}.garment-row{text-align:left;width:100%;color:inherit;background:0 0;border:1px solid #0000;border-radius:9px;align-items:center;gap:10px;padding:10px;display:flex}.garment-row:hover{background:#f1f5f6}.garment-row.selected{background:#edf7f7;border-color:#c3e0e2}.garment-thumb{color:#46636b;background:#f2f4f4;border-radius:7px;place-items:center;width:38px;height:44px;display:grid}.garment-thumb svg{width:30px;height:34px}.garment-row strong{font-size:12px;display:block}.garment-row small{color:#89939c;margin-top:4px;font-size:10px;display:block}.sidebar-tip{color:#8a959e;margin:16px 4px;font-size:10px;line-height:1.6}.design-area{min-width:0;padding:20px}.empty-editor{text-align:center;place-content:center;justify-items:center;min-height:600px;display:grid}.empty-icon{width:56px;height:56px;color:var(--teal);background:#e8f4f4;border-radius:16px;place-items:center;font-size:26px;display:grid}.empty-editor h2{margin:20px 0 8px;font-size:20px}.empty-editor p{color:var(--muted);margin:0 0 20px;font-size:12px}.design-toolbar{border-bottom:1px solid var(--line);padding-bottom:14px}.design-toolbar input{border:0;height:auto;padding:3px 0;font-size:18px;font-weight:800}.design-toolbar input:focus{box-shadow:none;border-bottom:1px solid var(--teal);border-radius:0}.design-toolbar p{color:var(--muted);margin:5px 0 0;font-size:11px}.designer-grid{grid-template-columns:minmax(0,1fr) 245px;gap:18px;padding-top:16px;display:grid}.canvas-panel{border:1px solid var(--line);background:#fbfcfc;border-radius:12px;min-width:0;overflow:hidden}.canvas-toolbar{border-bottom:1px solid var(--line);padding:12px 14px}.side-tabs{background:#eef1f3;border-radius:8px;padding:3px;display:flex}.side-tab{color:#697783;background:0 0;border:0;border-radius:6px;min-width:58px;padding:7px 10px;font-size:11px}.side-tab.active{color:var(--navy);background:#fff;font-weight:800;box-shadow:0 1px 3px #00000014}.canvas-hint,.stage-caption{color:#8a959e;font-size:10px}.garment-stage{background-color:#fafcfc;background-image:linear-gradient(#e9eef0 1px,#0000 1px),linear-gradient(90deg,#e9eef0 1px,#0000 1px);background-size:28px 28px;place-items:center;min-height:440px;padding:20px;display:grid}.garment-stage svg{touch-action:none;width:min(100%,480px);max-height:430px;display:block;overflow:visible}.stage-caption{border-top:1px solid var(--line);letter-spacing:.1em;padding:10px 14px}.controls-panel{flex-direction:column;gap:14px;display:flex}.control-group{border-bottom:1px solid #edf0f2;padding-bottom:13px}.control-group>label:first-child{margin-bottom:9px}.control-group select{height:38px;font-size:11px}.swatches{flex-wrap:wrap;gap:7px;margin:9px 0;display:flex}.swatch{cursor:pointer;border:2px solid #fff;border-radius:50%;width:27px;height:27px;box-shadow:0 0 0 1px #dce2e5}.swatch.active{box-shadow:0 0 0 2px var(--navy)}.custom-color{color:#84909a;grid-template-columns:1fr auto;justify-content:space-between;align-items:center;font-size:10px;font-weight:500;display:flex}.custom-color input{background:0 0;border:0;width:36px;height:26px;padding:2px}.logo-control{grid-template-columns:1fr auto;align-items:center;gap:9px;display:grid}.logo-control p{color:#87929c;margin:5px 0 0;font-size:10px;line-height:1.5}.upload-button{white-space:nowrap;min-height:34px;padding:0 10px;position:relative}.upload-button input{opacity:0;cursor:pointer;width:100%;height:100%;position:absolute;inset:0}.logo-tools{grid-column:1/-1;gap:8px;display:grid}.logo-tools label{grid-template-columns:auto 1fr;align-items:center}.logo-tools input{height:auto;box-shadow:none;border:0;padding:0}.control-note{color:#53747a;background:#f0f7f7;border:0;border-radius:9px;gap:7px;padding:11px;font-size:10px;line-height:1.6;display:grid}.control-note strong{color:#276b74}.editor-footer{min-height:56px}.editor-footer .message{flex:1}.dialog{border:1px solid var(--line);border-radius:16px;width:min(440px,100% - 24px);padding:24px;box-shadow:0 22px 80px #15233840}.dialog::backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#111c2c88}.dialog-heading{justify-content:space-between;align-items:center;display:flex}.dialog-heading h2{margin:0;font-size:19px}.icon-button{background:#f1f3f4;border:0;border-radius:50%;width:32px;height:32px;font-size:22px}.dialog-copy{color:var(--muted);margin:12px 0 18px;font-size:12px;line-height:1.6}.invite-result{border-top:1px solid var(--line);margin-top:16px;padding-top:14px}.invite-result input{font-size:10px}.print-proposal{display:none}.toast-error{color:#aa453c!important}@media (width<=980px){.create-project{grid-template-columns:1fr 1fr}.create-project>div{grid-column:1/-1}.create-project button{align-self:end}.workspace{grid-template-columns:220px minmax(0,1fr)}.designer-grid{grid-template-columns:minmax(0,1fr)}.controls-panel{grid-template-columns:1fr 1fr;gap:10px 16px;display:grid}.control-note{grid-column:1/-1}.garment-stage{min-height:360px}.garment-stage svg{max-height:370px}}@media (width<=680px){.shell{padding-top:22px}.auth-view{grid-template-columns:1fr;gap:24px;padding:24px 0}.auth-copy h1{font-size:42px}.auth-copy>p:not(.eyebrow){font-size:14px}.feature-list{grid-template-columns:1fr 1fr;gap:9px;margin-top:20px;font-size:10px}.auth-card{padding:22px}.page-heading{align-items:flex-start}.page-heading h1{font-size:27px}.user-chip{max-width:140px;font-size:10px}.create-project{grid-template-columns:1fr}.create-project>div{grid-column:auto}.create-project button{width:100%}.editor-heading{flex-wrap:wrap}.editor-title{flex:1 0 55%;order:1}.editor-heading>#back-dashboard{order:0}.editor-actions{order:2;width:100%}.editor-actions .button{flex:1}.workspace{flex-direction:column;display:flex}.sidebar{border-right:0;border-bottom:1px solid var(--line)}.garment-list{padding-bottom:5px;display:flex;overflow:auto}.garment-row{min-width:150px}.sidebar-tip{display:none}.design-area{padding:12px}.design-toolbar input{max-width:210px}.design-toolbar .button{padding:0 10px}.canvas-toolbar{gap:4px}.canvas-hint{font-size:9px}.garment-stage{min-height:320px;padding:10px}.garment-stage svg{max-height:310px}.controls-panel{grid-template-columns:1fr 1fr}.control-group{min-width:0}.editor-footer{flex-direction:column;align-items:flex-start}.editor-footer>.button{width:100%}}@media print{body{background:#fff}.topbar,.shell,#invite-dialog{display:none!important}.print-proposal{display:block}.proposal-page{break-after:page;page-break-after:always;color:#172844;height:190mm;padding:7mm 10mm}.proposal-page:last-child{break-after:auto;page-break-after:auto}.proposal-head{border-bottom:2px solid #1b9aaa;justify-content:space-between;align-items:flex-end;margin-bottom:5mm;padding-bottom:5mm;display:flex}.proposal-head h1{margin:0;font-size:22pt}.proposal-head p{color:#758291;margin:0 0 2mm;font-size:9pt}.proposal-item{grid-template-columns:1fr 1fr;align-items:center;gap:8mm;display:grid}.proposal-item figure{text-align:center;margin:0}.proposal-item svg{width:100%;height:115mm}.proposal-item figcaption{margin-top:2mm;font-size:10pt;font-weight:700}.proposal-description{color:#526174;font-size:10pt;line-height:1.8}.proposal-footer{color:#758291;border-top:1px solid #d9e0e5;justify-content:space-between;margin-top:7mm;padding-top:3mm;font-size:8pt;display:flex}}
