@import"https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,700&family=Source+Sans+3:wght@400;600;700&display=swap";:root{--ink: #16233a;--ink-soft: #3a4a63;--muted: #6a7585;--line: #d5dde8;--paper: #f3efe6;--paper-deep: #e7e0d2;--cream: #faf7f0;--card: rgba(255, 252, 246, .92);--accent: #2f6fed;--accent-deep: #1e4fbe;--accent-soft: #e8f0fe;--ok: #177d4f;--bad: #b4232a;--shadow: 0 18px 50px rgba(22, 35, 58, .12);--btn: #2f6fed;--btn-hover: #1e4fbe;--input-bg: #fffdf8;--hint-bg: #e8f0fe;--hint-line: #c9dbfb;--hint-ink: #2b4570;--err-bg: #fdf1f1;--err-line: #f2cfcf;--err-ink: #8d2222;--stat-bg: rgba(246, 248, 252, .9);--drop-bg: rgba(255, 253, 248, .7);--drop-line: #c3cedd;--glyph-bg: #fff;--step-bg: #ece7dc;--step-done-bg: #d7ebdf;--meter-bg: #e6e0d4;--noise-blend: multiply;--noise-opacity: .35;--font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", serif;--font-body: "Source Sans 3", "Segoe UI", sans-serif;--radius: 14px;color-scheme:light}html[data-theme=dark]{--ink: #e7eef8;--ink-soft: #c5d2e4;--muted: #93a3b8;--line: #2c3e58;--paper: #101820;--paper-deep: #0c141e;--cream: #0c141e;--card: rgba(18, 28, 44, .94);--accent: #9ec0ff;--accent-deep: #d7e6ff;--accent-soft: #1a3058;--ok: #3dcc8e;--bad: #ff8d8d;--shadow: 0 18px 50px rgba(0, 0, 0, .45);--btn: #2f6fed;--btn-hover: #1e4fbe;--input-bg: #152232;--hint-bg: #172848;--hint-line: #2d4d86;--hint-ink: #d5e4ff;--err-bg: #3a1e24;--err-line: #6e3038;--err-ink: #ffc9c9;--stat-bg: rgba(16, 28, 44, .9);--drop-bg: rgba(12, 22, 36, .72);--drop-line: #3a5270;--glyph-bg: #0e1826;--step-bg: #1c2c42;--step-done-bg: #143528;--meter-bg: #1c2c42;--noise-blend: soft-light;--noise-opacity: .22;color-scheme:dark}*{box-sizing:border-box}[hidden]{display:none!important}html,body{margin:0;min-height:100%;color:var(--ink);font:15px/1.55 var(--font-body);background:radial-gradient(1200px 700px at 12% -10%,rgba(47,111,237,.16),transparent 55%),radial-gradient(900px 600px at 100% 0%,rgba(23,125,79,.08),transparent 50%),linear-gradient(180deg,var(--cream),var(--paper));background-attachment:fixed}body:before{content:"";position:fixed;top:0;right:0;bottom:0;left:0;pointer-events:none;opacity:var(--noise-opacity);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");mix-blend-mode:var(--noise-blend);z-index:0}#app{position:relative;z-index:1;min-height:100vh}h1,h2,h3,h4{font-family:var(--font-display);font-weight:700;line-height:1.2;margin:0 0 .4em;letter-spacing:-.02em}p{margin:0 0 .75em}a{color:var(--accent)}.muted{color:var(--muted)}.small{font-size:13px}button{font:inherit;font-weight:600;cursor:pointer;border:0;border-radius:10px;padding:10px 16px;background:var(--btn);color:#fff;transition:transform .15s ease,box-shadow .15s ease,background .15s ease}button:hover{background:var(--btn-hover);transform:translateY(-1px)}button:disabled{opacity:.5;cursor:not-allowed;transform:none}button.ghost{background:var(--accent-soft);color:var(--accent-deep)}button.ghost:hover{background:var(--accent-soft);color:var(--accent-deep);filter:brightness(1.08)}button.tiny{padding:6px 10px;font-size:12.5px;border-radius:8px}input,select,textarea{font:inherit;color:inherit;background:var(--input-bg);border:1px solid var(--line);border-radius:10px;padding:10px 12px;width:100%}textarea{min-height:190px;resize:vertical;line-height:1.55}.field{margin-bottom:14px}.field label{display:block;font-size:12px;font-weight:700;color:var(--ink-soft);margin-bottom:6px;letter-spacing:.02em}.row{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.grid2{display:grid;grid-template-columns:1fr 1fr;gap:14px}@media (max-width: 780px){.grid2{grid-template-columns:1fr}}.hint{background:var(--hint-bg);border:1px solid var(--hint-line);border-radius:12px;padding:10px 12px;font-size:13px;color:var(--hint-ink)}.err{background:var(--err-bg);border:1px solid var(--err-line);color:var(--err-ink);border-radius:12px;padding:10px 12px;font-size:13px}.msg{min-height:18px;font-size:13px;margin-top:10px}.msg.bad{color:var(--bad)}.msg.ok{color:var(--ok)}.panel{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:18px;margin-bottom:16px;box-shadow:var(--shadow);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}@keyframes inkRise{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}@keyframes strokeDraw{0%{stroke-dashoffset:240}to{stroke-dashoffset:0}}.rise{animation:inkRise .55s ease both}.marketing{min-height:100vh;display:grid;grid-template-rows:auto 1fr auto}.marketing-nav{display:flex;justify-content:space-between;align-items:center;padding:18px clamp(16px,4vw,40px)}.brand-mark{display:inline-flex;align-items:center;gap:10px;text-decoration:none;color:var(--ink)}.brand-mark strong{font-family:var(--font-display);font-size:1.35rem;letter-spacing:-.03em}.hero{display:grid;place-items:center;padding:clamp(24px,6vw,72px) clamp(16px,4vw,40px) 48px;position:relative;overflow:hidden}.hero:after{content:"";position:absolute;inset:8% 5% auto;height:min(58vh,520px);border-radius:28px;background:linear-gradient(135deg,rgba(47,111,237,.18),transparent 55%),linear-gradient(0deg,rgba(250,247,240,.2),transparent),url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%201200%20700'%20preserveAspectRatio='xMidYMid%20slice'%3e%3cdefs%3e%3clinearGradient%20id='p'%20x1='0'%20y1='0'%20x2='1'%20y2='1'%3e%3cstop%20offset='0'%20stop-color='%23f7f2e8'/%3e%3cstop%20offset='1'%20stop-color='%23ebe3d3'/%3e%3c/linearGradient%3e%3clinearGradient%20id='ink'%20x1='0'%20y1='0'%20x2='1'%20y2='0'%3e%3cstop%20offset='0'%20stop-color='%238fb6ff'/%3e%3cstop%20offset='.5'%20stop-color='%232f6fed'/%3e%3cstop%20offset='1'%20stop-color='%2316307a'/%3e%3c/linearGradient%3e%3c/defs%3e%3crect%20width='1200'%20height='700'%20fill='url(%23p)'/%3e%3cg%20stroke='rgba(120,160,200,.28)'%20stroke-width='1'%3e%3cpath%20d='M80%20140%20H1120'/%3e%3cpath%20d='M80%20190%20H1120'/%3e%3cpath%20d='M80%20240%20H1120'/%3e%3cpath%20d='M80%20290%20H1120'/%3e%3cpath%20d='M80%20340%20H1120'/%3e%3cpath%20d='M80%20390%20H1120'/%3e%3cpath%20d='M80%20440%20H1120'/%3e%3cpath%20d='M80%20490%20H1120'/%3e%3cpath%20d='M80%20540%20H1120'/%3e%3c/g%3e%3cpath%20d='M120%2080%20V620'%20stroke='rgba(214,120,120,.45)'%20stroke-width='2'%20fill='none'/%3e%3cpath%20fill='none'%20stroke='url(%23ink)'%20stroke-width='18'%20stroke-linecap='round'%20stroke-linejoin='round'%20stroke-dasharray='240'%20pathLength='240'%20d='M220%20420%20C300%20420%20320%20220%20420%20220%20C520%20220%20500%20500%20620%20500%20C740%20500%20760%20260%20920%20260'/%3e%3c/svg%3e") center/cover no-repeat;filter:saturate(1.05);z-index:0}html[data-theme=dark] .hero:after{opacity:.4;filter:saturate(.85) brightness(.42)}.hero-inner{position:relative;z-index:1;width:min(720px,100%);text-align:center;animation:inkRise .7s ease both}.hero-brand{font-family:var(--font-display);font-size:clamp(3rem,8vw,5.2rem);line-height:.95;margin:0 0 12px;color:var(--ink)}.hero-brand span{color:var(--accent)}.hero p{font-size:clamp(1.05rem,2.2vw,1.25rem);color:var(--ink-soft);max-width:34em;margin:0 auto 22px}.hero-cta{justify-content:center}.auth-shell{min-height:100vh;display:grid;place-items:center;padding:24px}.auth-panel{width:min(440px,100%);padding:28px;animation:inkRise .5s ease both}.auth-panel .brand{font-family:var(--font-display);font-size:2rem;margin:8px 0 4px}.auth-panel .tag{color:var(--accent);font-weight:700;margin-bottom:10px}.app-shell{display:grid;grid-template-columns:280px 1fr;min-height:100vh}@media (max-width: 900px){.app-shell{grid-template-columns:1fr}}.sidebar{position:relative;overflow:hidden;background:radial-gradient(420px 280px at 0% 0%,rgba(47,111,237,.28),transparent 60%),radial-gradient(360px 240px at 100% 100%,rgba(23,125,79,.12),transparent 55%),linear-gradient(185deg,#0c1524,#132033 48%,#0f1a2b);color:#c8d3e4;padding:20px 16px 16px;display:flex;flex-direction:column;gap:0;border-right:1px solid rgba(120,150,200,.12)}.sidebar-brand{position:relative;display:flex;align-items:center;gap:11px;padding:2px 6px 16px;margin-bottom:4px;border-bottom:1px solid rgba(140,170,210,.12)}.sidebar-brand .brand-name{font-family:var(--font-display);font-weight:700;color:#fff;font-size:1.2rem;letter-spacing:-.03em;line-height:1.1}.sidebar-brand .brand-tag{display:block;font-size:11px;color:#8fa0b8;font-weight:500;margin-top:2px}.sidebar-who{position:relative;display:flex;align-items:center;gap:12px;margin:14px 4px 16px;padding:10px 12px;border-radius:14px;background:#ffffff0a;border:1px solid rgba(150,180,220,.1)}.avatar{width:40px;height:40px;border-radius:12px;flex:0 0 auto;background:linear-gradient(145deg,#4f8cff,#2f6fed 55%,#1e4fbe);display:grid;place-items:center;font-weight:700;color:#fff;font-size:15px;box-shadow:0 6px 16px #2f6fed59}.sidebar-who .uname{font-weight:700;color:#fff;font-size:14px}.mode-pill{display:inline-flex;align-items:center;gap:5px;font-size:10.5px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:#9eb0c8;padding:2px 7px;border-radius:999px;background:#ffffff0d;border:1px solid rgba(150,180,220,.12)}.mode-pill:before{content:"";width:6px;height:6px;border-radius:50%;background:#7b8aa3}.mode-pill.on-device:before{background:#8fb6ff}.mode-pill.synced:before{background:#3ecf8e}.sidebar-section{position:relative;display:flex;flex-direction:column;min-height:0;flex:1}.sidebar-section-head{display:flex;align-items:center;justify-content:space-between;padding:0 6px 8px}.sidebar-section-head h3{font-family:var(--font-body);font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:#7b8aa3;margin:0;font-weight:700}.pack-count{font-size:11px;font-weight:700;color:#9eb0c8;background:#ffffff0f;border-radius:999px;padding:2px 8px}.plist{list-style:none;margin:0;padding:0 2px 8px;display:flex;flex-direction:column;gap:7px;overflow:auto;max-height:min(48vh,420px);scrollbar-width:thin;scrollbar-color:#2a3c55 transparent}.plist li{position:relative;background:#162437d9;border:1px solid rgba(60,90,130,.28);border-radius:12px;padding:10px 10px 10px 12px;cursor:pointer;display:flex;justify-content:space-between;gap:8px;align-items:center;font-size:13px;color:#d7e0ec;transition:background .15s ease,border-color .15s ease}.plist li.empty{cursor:default;border-style:dashed;background:transparent;color:#8fa0b8;font-size:12.5px;line-height:1.45;padding:14px 12px;justify-content:flex-start}.plist li:hover{background:#1b2c42;border-color:#5a82be59}.plist li.active{border-color:#2f6fedbf;background:linear-gradient(90deg,#2f6fed2e,#17263ce6);box-shadow:inset 3px 0 0 var(--accent)}.plist .dot{width:10px;height:10px;border-radius:50%;flex:0 0 auto;box-shadow:0 0 0 2px #ffffff14}.plist .pname{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600}.plist .pmeta{display:block;font-size:10.5px;color:#7b8aa3;font-weight:500;margin-top:2px}.plist .pack-del{opacity:.55;background:transparent;color:#aebcd0;border:0;border-radius:8px;padding:4px 8px;font-size:14px;line-height:1;cursor:pointer;box-shadow:none}.plist li:hover .pack-del,.plist li.active .pack-del{opacity:1}.plist .pack-del:hover{background:#b4232a33;color:#ffb4b4}.sidebar-actions{position:relative;display:flex;flex-direction:column;gap:8px;padding-top:12px;margin-top:4px;border-top:1px solid rgba(140,170,210,.12)}.sidebar-actions .btn-new{width:100%;border-radius:11px;padding:11px 14px;font-weight:700;font-size:13px;background:linear-gradient(180deg,#3d7af5,#2f6fed);box-shadow:0 8px 20px #2f6fed47}.sidebar-actions .btn-ghost{width:100%;border-radius:11px;padding:9px 14px;font-size:12.5px;font-weight:600;background:#ffffff0a;color:#b7c4d6;border:1px solid rgba(150,180,220,.12);box-shadow:none}.sidebar-actions .btn-ghost:hover{background:#ffffff14;color:#fff}.workspace{padding:22px clamp(16px,3vw,28px) 60px;max-width:1040px;width:100%}.tabs{display:flex;gap:8px;margin-bottom:18px;border-bottom:1px solid var(--line);padding-bottom:10px}.tabs button{background:transparent;color:var(--muted);border-radius:8px;padding:8px 14px;box-shadow:none}.tabs button.on{background:var(--accent-soft);color:var(--accent-deep)}.tabs button:hover{transform:none}.drop{border:1.5px dashed var(--drop-line);border-radius:12px;padding:14px;background:var(--drop-bg)}.thumbs{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.thumbs img,.thumbs canvas{width:74px;height:auto;border-radius:6px;border:1px solid var(--line);background:#fff}.swatch{display:flex;gap:8px;flex-wrap:wrap}.swatch button{width:34px;height:34px;border-radius:50%;padding:0;border:2px solid transparent;box-shadow:inset 0 0 0 1px #0000001f}.swatch button.on{border-color:var(--ink);transform:scale(1.06)}.stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:10px;margin:12px 0}.stat{background:var(--stat-bg);border:1px solid var(--line);border-radius:10px;padding:9px 11px}.stat b{display:block;font-size:16px;font-family:var(--font-display)}.stat span{font-size:11.5px;color:var(--muted)}.glyphgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(46px,1fr));gap:6px;margin-top:8px}.glyphgrid figure{margin:0;background:var(--glyph-bg);border:1px solid var(--line);border-radius:7px;padding:4px;text-align:center}.glyphgrid img{max-width:100%;height:30px;object-fit:contain;display:block;margin:0 auto}.glyphgrid figcaption{font-size:10px;color:var(--muted);font-family:ui-monospace,monospace}canvas.page{width:100%;max-width:620px;height:auto;border-radius:8px;box-shadow:0 12px 34px #141e3229;display:block;margin:0 auto 18px;background:#fff}.pagebar{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px;flex-wrap:wrap}.wizard-steps{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:16px}.wizard-steps .step{padding:6px 12px;border-radius:999px;background:var(--step-bg);color:var(--muted);font-size:12.5px;font-weight:700}.wizard-steps .step.on{background:var(--accent);color:#fff}.wizard-steps .step.done{background:var(--step-done-bg);color:var(--ok)}.meter{height:10px;border-radius:999px;background:var(--meter-bg);overflow:hidden;margin:8px 0 4px}.meter>span{display:block;height:100%;background:linear-gradient(90deg,var(--accent),#5b8fff);width:0%;transition:width .35s ease}.qa-score{font-family:var(--font-display);font-size:2rem;color:var(--accent)}.legal{max-width:720px;margin:0 auto;padding:40px 20px 80px}
