@charset "UTF-8";
:root{--ink:#252331;--muted:#777382;--purple:#6044b8;--line:#e7e4ed;--soft:#f5f2fc;--radius:20px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans TC","PingFang TC","Microsoft JhengHei",sans-serif;color:var(--ink);background:#fbfafc;font-synthesis:none}
*{box-sizing:border-box}body{margin:0}a{color:inherit;text-decoration:none}button,input,select{font:inherit}button,a,input,select,summary{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.42}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #aa95e9;outline-offset:4px}[hidden]{display:none!important}.skip{position:absolute;top:-100px;left:20px;background:white;padding:14px;z-index:5}.skip:focus{top:12px}
.topbar{max-width:1220px;margin:auto;padding:27px 32px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line)}.brand{display:flex;gap:12px;align-items:center;font-size:18px;font-weight:720;letter-spacing:.04em}.brand small{display:block;font-size:10px;letter-spacing:.13em;font-weight:500;color:var(--muted);margin-top:4px}.topbar nav{display:flex;gap:30px;font-size:13px}.topbar nav a:hover,footer a:hover{color:var(--purple)}main{max-width:1220px;margin:auto;padding:0 32px}.intro{display:flex;align-items:flex-end;justify-content:space-between;gap:28px;padding:52px 0 34px}.eyebrow{font-size:10px;font-weight:700;letter-spacing:.16em;color:var(--purple);margin:0 0 16px}h1{font-size:clamp(28px,3.3vw,42px);font-weight:720;letter-spacing:-.04em;line-height:1.2;margin:0 0 18px}.lead{font-size:19px;margin:0;line-height:1.7}.lead span{display:block;color:var(--muted);font-size:14px;margin-top:2px}.perks{display:flex;gap:9px;flex-wrap:wrap;padding-bottom:6px}.perks span{font-size:11px;border:1px solid var(--line);border-radius:20px;background:white;padding:8px 11px;white-space:nowrap}.perks span:before{content:'✓';margin-right:5px;color:var(--purple)}
.workspace{display:grid;grid-template-columns:1fr 1fr;align-items:start;gap:26px}.panel{padding:30px;background:white;border:1px solid var(--line);border-radius:var(--radius);min-width:0}.purpose{padding:0;margin:0 0 23px;border:0;min-width:0}.purpose legend{font-size:16px;font-weight:670;margin-bottom:20px}.step{font-size:10px;font-weight:700;letter-spacing:.04em;border:1px solid #ded5f4;border-radius:7px;padding:5px 6px;color:var(--purple);margin-right:9px;vertical-align:middle}.choices{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.choices label{margin:0;position:relative;cursor:pointer}.choices input{position:absolute;opacity:0;width:1px;height:1px}.choices span{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;font-size:11px;height:84px;border:1px solid var(--line);border-radius:12px;transition:background .15s,border .15s}.choices b{font-size:22px;font-weight:500;line-height:1.2}.choices input:checked+span{color:var(--purple);border-color:var(--purple);background:var(--soft)}.choices input:focus-visible+span{outline:3px solid #aa95e9;outline-offset:3px}.choices span:hover{background:#faf8fe}label{display:block;font-size:12px;font-weight:600;margin:16px 0 9px}input:not([type=radio]):not([type=checkbox]),select{height:44px;padding:0 13px;width:100%;min-width:0;border:1px solid #ddd9e5;border-radius:9px;background:#fff;color:var(--ink);font-size:13px}input::placeholder{color:#a19ba9}input:hover,select:hover{border-color:#b8aaca}.helper{font-size:11px;color:var(--muted);line-height:1.75;margin:9px 0 0}.section-line{display:flex;align-items:center;justify-content:space-between;gap:8px;border-top:1px solid var(--line);padding-top:24px;margin:27px 0 20px}.section-line h2{font-size:16px;margin:0;font-weight:670}.tag{font-size:10px;white-space:nowrap;color:#96909f}.color-row{display:flex;align-items:center;justify-content:space-between;gap:10px}.swatches{display:flex;gap:10px}.swatch{width:29px;height:29px;border:4px solid white;box-shadow:0 0 0 1px #e3dfe9;border-radius:50%;padding:0}.swatch[aria-pressed=true]{box-shadow:0 0 0 2px var(--ink)}.purple{background:#6044b8}.black{background:#182326}.green{background:#176650}.blue{background:#2354a4}.brown{background:#874a34}.hex-field{width:120px}.hex-field label{font-size:10px;color:var(--muted);margin:0 0 6px}.hex-field input{font-family:ui-monospace,monospace;font-size:12px!important;height:36px!important}.check{display:flex;align-items:center;gap:8px;font-weight:400}.check input{accent-color:var(--purple)}.password-wrap{position:relative}.password-wrap input{padding-right:62px!important}.password-wrap button{position:absolute;right:7px;top:7px;height:30px;border:0;background:#f3f0f8;color:var(--purple);font-size:11px;border-radius:5px}.error{padding:13px 15px;background:#fff3ed;border:1px solid #f5d5c1;color:#92442a;font-size:12px;line-height:1.7;border-radius:10px;margin:20px 0 0}
.preview-panel{background:#eeebf5;border:1px solid #e4dfed;border-radius:var(--radius);padding:27px 30px 25px;min-width:0;position:sticky;top:20px}.preview-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px;gap:6px}.preview-heading .eyebrow{font-size:9px;margin:0;color:#91899e}.badge{font-size:10px;white-space:nowrap;color:#7e748e}.card{background:white;border-radius:3px;box-shadow:0 10px 22px #3023430d;width:100%;max-width:340px;min-height:422px;padding:29px 28px 21px;margin:auto;text-align:center;color:#252331;overflow-wrap:anywhere}.card-brand{font-size:11px;letter-spacing:.13em;margin:0 0 24px;font-weight:700;white-space:pre-wrap}.card h2{font-size:25px;line-height:1.35;letter-spacing:-.02em;margin:0 0 9px;font-weight:720}.card-caption{font-size:11px;line-height:1.7;color:#77717e;margin:0 0 17px;min-height:19px}.qr-frame{width:100%;aspect-ratio:1;max-width:242px;margin:auto;display:grid;place-items:center}.qr-frame img{width:100%;height:auto;display:block}.card-bottom{margin:16px 0 0;font-size:8px;letter-spacing:.2em;color:#9c94a6}#empty-state{width:100%;aspect-ratio:1;border:1px dashed #e1dae9;border-radius:4px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#a69caf;background:#fbf9fd}#empty-state svg{width:50px;fill:none;stroke:#c2b7d2;stroke-width:2;margin-bottom:17px}#empty-state b{font-size:11px;font-weight:500}#empty-state span{font-size:9px;margin-top:8px}.export-area{max-width:380px;margin:22px auto 0}.ready{text-align:center;color:#837593;font-size:11px;margin:0 0 13px}.qr-ready .ready{color:var(--purple)}.download-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}.button{display:inline-flex;align-items:center;justify-content:center;gap:20px;min-height:44px;border:1px solid #d2c9e1;background:white;border-radius:9px;font-weight:600;font-size:12px;padding:12px 18px;color:#564668;transition:background .15s}.button:hover{background:#faf7ff}.button.primary{background:var(--purple);border-color:var(--purple);color:white}.button.primary:hover{background:#50399e}.print{width:100%;margin-top:10px;background:transparent;border-color:#d4cddd}.export-help{text-align:center;font-size:10px;line-height:1.8;color:#94899f;margin:13px 0}.scan-note{font-size:10px;line-height:1.6;color:#81738e;text-align:center;border-top:1px solid #ddd6e6;margin:14px 0 0;padding-top:13px}
.guide{display:grid;grid-template-columns:1fr 1.4fr;gap:50px;padding:80px 0 65px;border-bottom:1px solid var(--line)}.guide h2,.faq>h2{font-size:28px;line-height:1.5;font-weight:650;letter-spacing:-.03em;margin:0}.guide>div>p:last-child{font-size:13px;line-height:1.85;color:var(--muted)}.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.steps article>span{color:#a89bbd;font-size:9px;letter-spacing:.09em}.steps h3{font-size:15px;font-weight:650;margin:17px 0 10px}.steps p{font-size:12px;color:var(--muted);line-height:1.9;margin:0}.faq{display:grid;grid-template-columns:1fr 1.4fr;gap:50px;padding:58px 0 68px}.faq details{border-bottom:1px solid var(--line)}.faq summary{cursor:pointer;font-size:13px;font-weight:600;padding:19px 0;line-height:1.6}.faq details p{color:var(--muted);font-size:12px;line-height:1.9;margin:0 0 20px}.service{border-radius:18px;background:#ebe6f5;display:flex;justify-content:space-between;gap:24px;align-items:center;padding:38px 42px;margin-bottom:42px}.service .eyebrow{color:#9c8bb7;font-size:9px}.service h2{font-size:25px;letter-spacing:-.03em;font-weight:650;margin:0 0 15px}.service p:last-child{font-size:12px;line-height:1.9;margin:0;color:#867296}.service .button{white-space:nowrap}footer{max-width:1220px;padding:0 32px 32px;margin:auto;display:flex;justify-content:space-between;gap:20px;color:#9990a4;font-size:11px}footer nav{display:flex;gap:24px;flex-wrap:wrap}.toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);padding:15px 22px;background:#302738;color:white;border-radius:12px;font-size:12px;box-shadow:0 5px 30px #30273822;max-width:90vw;width:max-content;z-index:9}
@media(max-width:1050px){.intro{align-items:start}.perks{max-width:130px}.workspace{gap:18px}.panel{padding:23px}.preview-panel{padding:25px 22px}.swatches{gap:7px}.swatch{width:27px;height:27px}.guide,.faq{gap:30px;grid-template-columns:1fr 1.6fr}.steps{gap:17px}.service{padding:32px}.hex-field{width:103px}}
@media(max-width:780px){main{padding:0 20px}.topbar{padding:20px}.intro{padding:35px 0 27px;display:block}.lead{font-size:17px}.lead span{font-size:12px}.perks{max-width:none;margin-top:19px;padding:0}.perks span{font-size:10px;padding:6px 9px}.workspace{grid-template-columns:1fr;gap:20px}.preview-panel{position:static;padding:24px}.panel{padding:25px}.choices span{font-size:12px}.swatches{gap:12px}.swatch{width:31px;height:31px}.hex-field{width:125px}.guide,.faq{grid-template-columns:1fr;gap:28px;padding:47px 0}.guide h2,.faq>h2{font-size:25px}.steps{gap:20px}.service{display:block;padding:28px}.service h2{font-size:22px}.service .button{margin-top:23px}footer{padding:0 20px 26px;display:block;line-height:2}footer nav{margin-top:12px;gap:8px 19px}.topbar nav{gap:20px;font-size:12px}.tag{font-size:9px}.card{max-width:340px}}
@media(max-width:420px){main{padding:0 14px}.topbar{padding:18px 15px}.topbar nav{gap:14px;font-size:11px}.brand{font-size:16px;gap:9px}.brand img{width:33px;height:33px}.intro .eyebrow{font-size:8px}.panel{padding:22px 18px}.choices{gap:6px}.choices span{font-size:10px;height:77px}.section-line h2,.purpose legend{font-size:15px}.swatches{gap:8px}.swatch{width:28px;height:28px}.hex-field{width:105px}.steps{grid-template-columns:1fr;gap:24px}.steps h3{margin:8px 0}.preview-panel{padding:21px 18px}.card{padding:26px 22px}.card h2{font-size:23px}.tag{font-size:9px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
.card-brand:empty::before{content:'YOUR BRAND'}
@page{size:A4 portrait;margin:16mm}
@media print{
html,body{background:white!important;margin:0!important;color:#000!important}.topbar,.intro,#editor,.preview-heading,.export-area,.guide,.faq,.service,footer,.toast,.skip,noscript{display:none!important}main{max-width:none;padding:0!important;margin:0!important}.workspace{display:block!important}.preview-panel{display:block;border:0;border-radius:0;background:white;padding:0;position:static;margin:0}.card{width:105mm;height:148mm;min-height:0;max-width:none;padding:6mm 8mm;display:flex;flex-direction:column;align-items:center;border:1px solid #d6d1dc;box-shadow:none;border-radius:0;margin:0 auto;break-inside:avoid;print-color-adjust:exact;-webkit-print-color-adjust:exact}.card-brand{width:100%;font-size:8pt;line-height:1.3;letter-spacing:.03em;margin:0 0 4mm}.card h2{width:100%;font-size:16pt;line-height:1.25;margin:0 0 3mm}.card-caption{width:100%;font-size:8pt;line-height:1.4;margin:0 0 3mm;min-height:0}.qr-frame{width:64mm;max-width:none;flex:none}.card-bottom{margin:3mm 0 0;font-size:6pt}body:not(.qr-ready) .card{display:none}
}
@media print{.card-brand:empty{display:none}}
