:root{--navy:#1e3a8a;--ink:#23314d;--muted:#738095;--muted2:#98a2b3;--border:#e5e8ef;--canvas:#f5fbfc;--orange:#0ea5a6;--orange-soft:#e9fbfb;--card:#fff;--shadow:0 6px 22px rgba(24,36,61,.035)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--canvas);color:var(--ink);font:14px/1.5 Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.5;cursor:not-allowed}a{color:inherit}svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.icon-sprite{position:absolute;width:0;height:0;overflow:hidden}button:focus-visible,input:focus-visible,select:focus-visible,.type-tab:focus-visible{outline:3px solid #96f2f3;outline-offset:2px}input[type=color]{cursor:pointer}input,select,textarea{color:var(--ink)}
.site-header{height:85px;background:#fff;border-bottom:1px solid #e8eaf0;padding:0 clamp(20px,4.7vw,72px);display:flex;align-items:center;justify-content:space-between;gap:18px}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;white-space:nowrap}.brand-symbol{width:52px;height:52px;border-radius:14px;background:linear-gradient(145deg,#ffffff,#eef9fb);border:1px solid #d9eef0;color:white;display:grid;place-items:center;box-shadow:0 8px 24px rgba(30,58,138,.08)}.brand-symbol svg{width:40px;height:40px;stroke-width:2.4}.brand-mark{display:block}.brand-text{letter-spacing:-1px;font-size:25px;font-weight:800;line-height:1;color:var(--navy)}.brand-text>span{color:var(--orange)}.brand-text small{display:block;letter-spacing:1.7px;font-size:8px;font-weight:800;color:#7b8aa0;margin-top:6px}.header-status{font-size:12px;font-weight:600;color:#828fa0;display:flex;align-items:center;gap:9px}.status-pulse,.live-pill span{height:7px;width:7px;border-radius:50%;background:#0ea5a6;box-shadow:0 0 0 4px #d8f6f6}.header-actions{display:flex;align-items:center;gap:9px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;white-space:nowrap;border-radius:9px;min-height:42px;padding:0 16px;font-size:12.5px;font-weight:750;border:1px solid transparent;transition:transform .15s,background .15s,border-color .15s}.btn svg{width:16px;height:16px}.btn:hover{transform:translateY(-1px)}.btn-ghost{border-color:transparent;background:transparent;color:#45536a}.btn-ghost:hover{background:#f3f5f8}.btn-dark{background:var(--navy);color:#fff}.btn-dark:hover{background:#16357c}.btn-outline{background:#fff;border:1px solid #e3e6ee;color:#304159}.btn-outline:hover{background:#f8f9fb;border-color:#bcc6d4}.count-pill{background:#edf0f5;color:#6d7889;padding:1px 7px;font-size:11px;border-radius:7px}.btn-small{min-height:35px;padding:0 13px;font-size:11.5px}
.workspace{max-width:1450px;padding:43px clamp(20px,4.5vw,65px) 70px;margin:0 auto;display:grid;grid-template-columns:minmax(0,600px) minmax(355px,1fr);gap:clamp(30px,4.1vw,60px);align-items:start}.editor{min-width:0}.eyebrow{display:flex;align-items:center;gap:11px;font-size:10px;font-weight:800;letter-spacing:2px;color:var(--orange)}.eyebrow-line{height:2px;width:18px;background:var(--orange)}.version{margin-left:auto;letter-spacing:.1px;color:#a3aab5;font-weight:650;font-size:10px}.editor-heading h1{margin:17px 0 9px;font-size:clamp(33px,3.25vw,44px);letter-spacing:-2.6px;line-height:1.13;font-weight:830}.editor-heading em{color:var(--orange);font-style:normal}.editor-heading p{margin:0 0 28px;color:#7a8697;font-size:13px;line-height:1.7}
.card{background:#fff;border:1px solid #e7eaf0;border-radius:15px;box-shadow:var(--shadow);padding:25px 26px 24px;margin-bottom:20px}.card-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:21px}.card-heading>div{display:flex;align-items:center;gap:12px}.section-index{font-size:10px;font-weight:800;color:var(--navy);background:var(--orange-soft);border-radius:7px;width:29px;height:29px;display:grid;place-items:center}.card h2{font-size:16px;letter-spacing:-.45px;margin:0;font-weight:800}.mini-badge{letter-spacing:1px;font-size:9px;font-weight:800;color:#a1abb7}.type-tabs{display:flex;gap:7px;overflow-x:auto;padding:0 1px 7px;margin:0 -1px 11px;scrollbar-width:thin}.type-tab{background:#f7f8fb;border:1px solid transparent;border-radius:8px;min-height:38px;padding:0 12px;font-size:12px;color:#6b788a;display:flex;align-items:center;gap:5px;white-space:nowrap;font-weight:650}.type-tab.active{background:#ecfeff;border-color:#b6f1f2;color:#0e7490}.type-tab:hover:not(.active){background:#eff1f6}.field{display:flex;flex-direction:column;gap:8px;min-width:0}.field>label,.slider-label label{font-size:12px;color:#475368;font-weight:700}.field input:not([type=color]):not([type=checkbox]):not([type=range]),.field select,.field textarea,.modal input:not([type=file]){width:100%;min-height:44px;border:1px solid #dde2eb;border-radius:8px;background:#fff;padding:0 13px;outline:none;font-size:13px;transition:border-color .15s,box-shadow .15s}.field textarea{padding:12px 13px;min-height:96px;resize:vertical}.field input:focus,.field select:focus,.field textarea:focus,.modal input:focus{border-color:#5fd4d6;box-shadow:0 0 0 3px #d9f7f7}.field input::placeholder,.field textarea::placeholder{color:#abb4c1}.field .help-text{font-size:11px;color:#a0aabb;margin-top:-1px}.form-row{display:grid;gap:14px;margin-top:14px}.form-row.dual{grid-template-columns:1fr 1fr}.dynamic-fields{min-height:83px}.dynamic-fields>.field:first-child{margin-top:6px}.dynamic-fields>.form-row:first-child{margin-top:6px}.field-note{font-size:10.5px;color:#9aa5b3;display:flex;align-items:center;gap:7px;margin:16px 0 0;line-height:1.5}.field-note svg{width:14px;height:14px;flex:none}.form-check{display:flex;align-items:center;gap:8px;font-size:12px;color:#66748a;margin-top:9px}.form-check input{accent-color:#0ea5a6}
.small-heading{font-size:10px;color:#576478;letter-spacing:1px;font-weight:800;display:flex;justify-content:space-between;margin-bottom:12px}.small-heading span{letter-spacing:0;font-size:10px;color:#a2adba;font-weight:500}.presets{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px}.preset{background:#fff;border:1px solid #e5e8ee;border-radius:10px;padding:9px 5px 8px;display:flex;align-items:center;flex-direction:column;gap:6px;font-size:10px;font-weight:650;color:#7d8798}.preset.selected{border-color:var(--orange);box-shadow:0 0 0 1px #42c9cb;color:var(--ink)}.preset-art{width:36px;height:36px;border-radius:6px;display:grid;place-items:center;position:relative;overflow:hidden;background:var(--preset-bg)}.preset-art::before{content:"";width:22px;height:22px;border:4px solid var(--preset-fg);border-radius:5px;opacity:.95}.preset-art::after{content:"";height:5px;width:5px;background:var(--preset-fg);position:absolute;box-shadow:12px 1px 0 var(--preset-fg),-5px -11px 0 var(--preset-fg),8px -10px 0 var(--preset-fg)}.control-divider{border-top:1px solid #edf0f3;margin:20px 0}.color-row{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.color-field{display:flex;align-items:center;gap:6px;border:1px solid #e1e5ec;border-radius:8px;padding:5px;height:39px}.color-field input[type=color]{appearance:none;border:0;padding:0;width:27px;height:27px;border-radius:5px;overflow:hidden;background:transparent;flex:none}.color-field input[type=color]::-webkit-color-swatch-wrapper{padding:0}.color-field input[type=color]::-webkit-color-swatch{border:0;border-radius:5px}.hex-input{border:0;outline:0;background:transparent;min-width:0;width:100%;padding:0!important;height:25px!important;font-size:11.5px!important;font-weight:650;text-transform:uppercase;color:#6f7c8c}.inline-toggle{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:19px}.inline-toggle.align-start{margin-top:0}.switch-label{display:flex;align-items:center;gap:9px;color:#435166;font-size:12px;font-weight:700;cursor:pointer}.switch-label input{position:absolute;opacity:0;width:1px;height:1px}.switch-ui{display:block;position:relative;width:31px;height:18px;border-radius:99px;background:#d4dbe5;transition:background .2s}.switch-ui:after{content:"";position:absolute;top:3px;left:3px;width:12px;height:12px;background:#fff;border-radius:50%;transition:transform .2s}.switch-label input:checked+.switch-ui{background:#0ea5a6}.switch-label input:checked+.switch-ui:after{transform:translateX(13px)}.switch-label input:focus-visible+.switch-ui{outline:3px solid #96f2f3;outline-offset:3px}.gradient-controls{display:flex;align-items:center;gap:7px;margin-left:auto;font-size:11px;color:#8490a1}.gradient-controls input{width:27px;height:27px;padding:0;border:0;background:transparent}.gradient-controls select{max-width:100px;border:1px solid #e0e5eb;border-radius:7px;padding:5px}.upload-heading{display:flex;align-items:start;justify-content:space-between;margin-bottom:12px}.upload-heading h3{font-size:13px;margin:0 0 3px}.upload-heading p{font-size:11.5px;color:#96a1b0;margin:0}.optional-tag{font-size:9px;letter-spacing:.9px;color:#a7b0bd;font-weight:800;padding-top:3px}.logo-zone{display:flex;align-items:center;gap:11px;background:#fafbfc;border:1.5px dashed #d7dfea;border-radius:10px;padding:12px;transition:border-color .2s,background .2s}.logo-zone.drag-over{border-color:var(--orange);background:#eefdfd}.logo-icon{height:41px;width:41px;display:grid;place-items:center;color:#8a97a9;background:#eff2f7;border-radius:9px;overflow:hidden;flex:none}.logo-icon img{width:100%;height:100%;object-fit:contain}.logo-zone-copy{min-width:0;flex:1;display:flex;flex-direction:column}.logo-zone-copy strong{font-size:11.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.logo-zone-copy>span{font-size:10px;color:#a3aebb}.logo-options{margin-top:12px;display:flex;align-items:center;gap:13px;flex-wrap:wrap}.slider-label{width:100%;display:flex;justify-content:space-between}.slider-label span{font-size:11px;color:#0f766e;font-weight:700}.logo-options input[type=range]{flex:1;accent-color:var(--orange)}.text-action{background:none;border:0;font-size:11px;font-weight:750;padding:3px;color:#566477}.text-action.danger{color:#c66b5d}.caption-controls{margin-top:15px}.caption-controls .field{max-width:320px}.bottom-hint{display:flex;gap:13px;margin-top:27px;padding:0 4px;color:#758397}.bottom-hint svg{height:21px;width:21px;color:#e78a57;flex:none}.bottom-hint strong{color:#55657a;font-size:12px}.bottom-hint p{font-size:11px;margin:4px 0;line-height:1.6}
.preview-column{min-width:0}.preview-container{position:sticky;top:22px}.preview-header{display:flex;align-items:center;justify-content:space-between;margin:0 0 16px}.live-pill{border:1px solid #e0e9e7;background:#fff;border-radius:99px;font-size:10px;letter-spacing:1.1px;font-weight:800;padding:7px 12px;display:flex;gap:11px;align-items:center;color:#597363}.live-pill span{width:6px;height:6px}.preview-meta{font-size:10px;color:#9ba6b5;font-weight:600}.preview-stage{min-height:435px;padding:48px 30px 24px;display:flex;align-items:center;justify-content:center;flex-direction:column;border:1px solid #e9ebf1;border-radius:16px 16px 0 0;background-color:#e9ecf2;background-image:radial-gradient(#d2d9e4 .85px,transparent .85px);background-size:16px 16px;position:relative}.preview-paper{width:min(100%,350px);aspect-ratio:1;display:flex;align-items:center;justify-content:center;padding:12px;background:#fff;border-radius:14px;box-shadow:0 18px 42px #17223521,0 3px 10px #1722350b;max-width:360px}.preview-paper:has(.has-caption){aspect-ratio:auto}.qr-preview{width:100%;height:auto;aspect-ratio:1;display:flex;align-items:center;justify-content:center}.qr-preview:has(.has-caption){aspect-ratio:auto}.qr-preview svg{width:100%;height:auto;display:block;stroke:none;fill:none}.stage-foot{font-size:11px;color:#8693a5;display:flex;align-items:center;gap:9px;margin-top:23px}.sparkles{font-size:18px;color:var(--orange)}.scan-warning{display:flex;align-items:start;gap:10px;background:#fff9e9;border:1px solid #f6e8bc;color:#916b23;border-radius:8px;padding:11px 13px;font-size:11px;margin-top:13px}.scan-warning svg{height:16px;width:16px;flex:none}.download-panel{background:#fff;border:1px solid #e7eaf0;border-top:0;border-radius:0 0 15px 15px;padding:24px 25px 18px}.download-header{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-bottom:20px}.download-header h3{font-size:17px;margin:0 0 2px;letter-spacing:-.55px}.download-header p{margin:0;color:#929eae;font-size:11px}.size-control{display:flex;align-items:end;flex-direction:column;gap:6px}.size-control label{font-size:10px;font-weight:650;color:#8390a1}.size-control select{height:35px;background:#f7f8fa;border:1px solid #e3e6ec;border-radius:7px;padding:0 8px;font-size:11px;font-weight:750;color:#526176}.download-actions{display:grid;grid-template-columns:minmax(0,1fr) 113px;gap:10px}.btn-download{min-height:50px;background:linear-gradient(135deg,#0ea5a6,#0891b2);color:#fff;font-size:13px;justify-content:start;padding:0 18px;box-shadow:0 7px 18px rgba(14,165,166,.22)}.btn-download:hover{background:#0b8b99}.btn-download .down-arrow{margin-left:auto;transform:rotate(90deg)}.btn-svg{min-height:50px;font-size:13px}.extra-actions{display:flex;gap:18px;align-items:center;justify-content:center;margin:15px 0 0}.extra-actions button{background:none;border:0;color:#6d7c8e;display:flex;gap:6px;align-items:center;font-size:11px;font-weight:650;padding:4px}.extra-actions button svg{width:14px;height:14px}.extra-actions button:hover{color:var(--orange)}.download-note{border-top:1px solid #edf0f4;margin-top:16px;padding-top:13px;display:flex;align-items:center;justify-content:center;gap:9px;font-size:10px;color:#8895a5}.download-note svg{width:13px;height:13px;color:#3bbf88}.download-note span{color:#c1c7d2}.tip-card{background:#fff;border:1px solid #e5e9f0;border-radius:11px;padding:15px 18px;display:flex;align-items:center;gap:15px;margin-top:14px}.tip-card span{font-size:9px;color:#0f766e;font-weight:850;white-space:nowrap;letter-spacing:1px}.tip-card p{font-size:11px;color:#8e9aaa;line-height:1.55;margin:0}.site-footer{border-top:1px solid #e7eaf0;max-width:1450px;margin:0 auto;padding:23px clamp(20px,4.5vw,65px) 28px;display:flex;align-items:center;justify-content:space-between;gap:20px;color:#9aa6b4;font-size:11px}.site-footer strong{font-weight:700;color:#738095}
.modal{background:#fff;border:1px solid #e5e8ef;border-radius:17px;box-shadow:0 30px 80px #121b2b40;width:min(94vw,470px);max-height:min(90dvh,820px);padding:28px;color:var(--ink)}.modal::backdrop{background:rgba(16,24,38,.57);backdrop-filter:blur(4px)}.modal-head{display:flex;justify-content:space-between;gap:20px;align-items:start}.modal-eyebrow{font-size:10px;color:var(--orange);letter-spacing:1.4px;font-weight:850}.modal-head h2{margin:5px 0 0;font-size:24px;letter-spacing:-1.2px}.icon-button{background:#f4f5f8;border:0;width:34px;height:34px;border-radius:9px;display:grid;place-items:center;color:#798698}.icon-button svg{width:16px;height:16px}.modal-description{font-size:12px;color:#8895a6;margin:12px 0 25px}.modal-label{display:block;font-size:12px;font-weight:750;margin-bottom:8px}.modal-subnote{font-size:11px;color:#a0aabb;margin:9px 0 0}.modal-actions{display:flex;justify-content:end;gap:9px;margin-top:25px}.library-modal{width:min(94vw,650px)}.library-tools{display:flex;gap:9px;margin-bottom:18px}.library-tools input{min-width:0;flex:1;border:1px solid #dfe4ea;border-radius:8px;padding:0 12px;min-height:37px;outline:none;font-size:12px}.library-tools button{flex:none}.project-list{overflow:auto;max-height:380px;display:flex;flex-direction:column;gap:9px}.project-row{display:flex;align-items:center;gap:12px;border:1px solid #e9ebf1;border-radius:11px;padding:12px;background:#fff}.project-thumbnail{background:var(--thumb-bg,#fff);border:1px solid #e6eaf0;border-radius:8px;width:43px;height:43px;display:grid;place-items:center;flex:none;color:var(--thumb-fg,#182434)}.project-thumbnail svg{width:24px;height:24px;stroke-width:2.3}.project-info{min-width:0;flex:1}.project-info strong{font-size:12.5px;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.project-info small{color:#94a0b0;font-size:10px}.project-actions{display:flex;align-items:center;gap:4px}.project-actions button{background:#f7f8fa;border:0;border-radius:7px;padding:7px 9px;color:#68788b;font-size:11px;font-weight:700}.project-actions button:hover{background:#e9edf2}.project-actions button.load{background:#fff0e7;color:#0f766e}.project-actions button.delete:hover{color:#bd4950}.library-empty{padding:42px 12px;text-align:center;color:#929eac;font-size:12px}.library-empty svg{display:block;margin:0 auto 10px;color:#d4dae3;width:32px;height:32px}.modal-bottom{display:flex;justify-content:end;margin-top:19px}.toast-stack{position:fixed;bottom:24px;right:24px;display:flex;flex-direction:column;gap:9px;z-index:1000;max-width:min(440px,calc(100vw - 32px))}.toast{padding:13px 16px;border:1px solid #2e3f56;background:#143258;color:#fff;font-size:12px;border-radius:10px;box-shadow:0 13px 35px rgba(20,50,88,.18);animation:toastIn .2s ease}.toast.error{background:#8f3c39;border-color:#a34a45}@keyframes toastIn{from{transform:translateY(12px);opacity:0}to{transform:translateY(0);opacity:1}}
@media(max-width:1130px){.header-status{display:none}.workspace{grid-template-columns:minmax(0,1fr) minmax(355px,1fr);gap:28px;padding-left:30px;padding-right:30px}.card{padding:22px}.preview-stage{min-height:375px;padding-top:35px}.preview-paper{max-width:315px}.download-panel{padding:19px}.tip-card{gap:10px}}
@media(max-width:850px){.workspace{grid-template-columns:minmax(0,1fr);grid-template-areas:"intro" "preview" "editor";gap:20px;padding:26px 20px 40px;max-width:700px}.editor{display:contents}.editor>.eyebrow,.editor>.editor-heading{grid-area:intro}.editor>.eyebrow{margin-bottom:-13px}.editor>.editor-heading{margin-top:10px}.editor>.content-card,.editor>.design-card,.editor>.bottom-hint{grid-area:editor}.editor>.design-card{margin-top:345px}.editor>.bottom-hint{display:none}.preview-column{grid-area:preview}.preview-container{position:static}.preview-stage{min-height:350px;padding:25px}.preview-paper{max-width:285px}.editor-heading h1{font-size:37px;margin-bottom:7px}.editor-heading p{margin-bottom:0}.site-footer{max-width:700px}.card{margin:0}.content-card{margin-bottom:0!important}.design-card{margin-top:0!important}.editor{display:flex;flex-direction:column;gap:18px}.editor>.eyebrow{order:0}.editor>.editor-heading{order:1}.preview-column{order:2}.workspace{display:flex;flex-direction:column;gap:20px}.editor{display:contents}.editor>.eyebrow{order:0;align-self:stretch;margin:0}.editor>.editor-heading{order:1;align-self:stretch;margin:0}.preview-column{order:3;width:100%}.editor>.content-card{order:2;width:100%}.editor>.design-card{order:4;width:100%}.editor>.bottom-hint{order:5}.preview-stage{border-radius:15px 15px 0 0}}
@media(max-width:540px){.site-header{height:70px;padding:0 16px}.brand-symbol{width:38px;height:38px;border-radius:11px}.brand-symbol svg{width:22px;height:22px}.brand-text{font-size:21px}.brand-text small{font-size:7px}.header-actions{gap:2px}.header-actions .btn{padding:0 9px;min-height:37px;gap:5px}.header-actions .btn span{font-size:0}.header-actions .library-button>span.count-pill{font-size:10px}.header-actions .btn-dark span{font-size:11px}.new-button{display:none}.workspace{padding:23px 12px 35px}.editor-heading h1{font-size:34px;letter-spacing:-2px}.editor-heading p{font-size:12px}.card{padding:19px 15px;border-radius:13px}.card-heading{margin-bottom:18px}.card h2{font-size:15px}.type-tab{padding:0 11px}.preview-header{padding:0 4px}.preview-stage{padding:26px 22px 17px;min-height:310px}.preview-paper{max-width:280px;width:86%}.download-panel{padding:19px 15px}.download-header h3{font-size:15px}.download-actions{grid-template-columns:1fr 95px;gap:8px}.btn-download{padding:0 13px}.btn-download .down-arrow{display:none}.btn-svg{font-size:12px}.download-note{gap:5px;font-size:9px}.color-row{gap:8px}.hex-input{font-size:10px!important}.gradient-controls{width:100%;margin-left:40px}.tip-card{padding:12px}.site-footer{font-size:10px;flex-direction:column;align-items:start;padding:20px 14px}.modal{padding:21px}.library-tools{flex-wrap:wrap}.library-tools input{flex-basis:100%}.project-row{gap:8px;padding:9px}.project-thumbnail{width:35px;height:35px}.project-actions button{font-size:10px;padding:7px}.toast-stack{bottom:14px;right:14px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition-duration:0s!important;animation-duration:0s!important}}
.preview-placeholder{font-size:13px;text-align:center;color:#9daabc;max-width:200px}.project-actions button svg{width:13px;height:13px}.logo-zone:focus-within{border-color:#0ea5a6}[hidden]{display:none!important}
@media print{html,body{background:white!important}.site-header,.editor,.preview-header,.download-panel,.tip-card,.site-footer,.scan-warning,.stage-foot{display:none!important}.workspace{padding:0!important;margin:0!important;display:block!important}.preview-container{position:static!important}.preview-stage{padding:0!important;min-height:0!important;background:white!important;border:0!important}.preview-paper{width:100mm!important;max-width:100mm!important;padding:0!important;border:0!important;box-shadow:none!important;aspect-ratio:auto!important}.qr-preview{width:100%!important}.preview-column{width:100%!important} @page{margin:15mm}}
