:root{color:#fff;background:#080912;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}html,body,#root{width:100%;min-height:100%;margin:0}body{color:#fff;background:radial-gradient(circle at 0 0,#7c3aed33,#0000 24%),radial-gradient(circle at 100% 0,#06b6d42b,#0000 22%),linear-gradient(#070812 0%,#0a0d18 100%)}button,input,textarea,select{font:inherit}button{cursor:pointer;border:none}input,textarea,select{color:#fff;background:#ffffff0d;border:1px solid #ffffff1a;border-radius:14px;outline:none;width:100%;padding:13px 14px}input::placeholder,textarea::placeholder{color:#ffffff59}textarea{resize:vertical;min-height:420px;line-height:1.7}.app-shell{min-height:100vh;padding:24px;position:relative;overflow:hidden}.ambient{filter:blur(100px);opacity:.24;pointer-events:none;border-radius:999px;position:absolute}.ambient-1{background:#8b5cf6;width:320px;height:320px;top:-80px;left:-70px}.ambient-2{background:#06b6d4;width:360px;height:360px;top:80px;right:-80px}.topbar{z-index:2;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#ffffff0d;border:1px solid #ffffff14;border-radius:24px;justify-content:space-between;align-items:center;gap:16px;max-width:1450px;margin:0 auto 24px;padding:16px 18px;display:flex;position:relative}.brand-wrap{align-items:center;gap:14px;display:flex}.logo-box{background:linear-gradient(135deg,#8b5cf6,#38bdf8);border-radius:16px;place-items:center;width:48px;height:48px;font-weight:800;display:grid;box-shadow:0 12px 28px #6366f159}.brand-wrap h1{margin:0;font-size:1.15rem}.brand-wrap p{color:#ffffff9e;margin:2px 0 0;font-size:.92rem}.topbar-actions{flex-wrap:wrap;gap:12px;display:flex}.primary-btn,.ghost-btn{border-radius:14px;padding:12px 18px;font-weight:700}.primary-btn{color:#111827;background:#fff}.ghost-btn{color:#fff;background:#ffffff0f;border:1px solid #ffffff1a}.workspace{z-index:2;grid-template-columns:.95fr 1.05fr;align-items:start;gap:24px;max-width:1450px;margin:0 auto;display:grid;position:relative}.editor-card,.preview-wrap{-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#ffffff0d;border:1px solid #ffffff14;border-radius:28px;box-shadow:0 30px 80px #00000038}.editor-card{padding:20px}.preview-wrap{padding:18px}.card-header,.preview-top{margin-bottom:18px}.card-header h2,.preview-top h2{margin:0;font-size:1.35rem}.card-header p,.preview-top p{color:#ffffff94;margin:6px 0 0}.controls-grid{grid-template-columns:1fr 1fr;gap:16px;display:grid}.field{margin-bottom:16px}.field label{color:#fffc;margin-bottom:8px;font-size:.95rem;font-weight:600;display:block}.field.full{margin-bottom:0}.toggle-row{flex-wrap:wrap;gap:18px;margin-bottom:16px;display:flex}.toggle-label{color:#ffffffd9;align-items:center;gap:10px;font-weight:600;display:inline-flex}.toggle-label input{width:auto}.preview-frame{justify-content:center;align-items:flex-start;padding:6px;display:flex}.preview-stack{flex-direction:column;align-items:center;gap:24px;width:100%;display:flex}.pdf-page{color:#111827;background:#fff;border-radius:26px;width:210mm;max-width:100%;min-height:297mm;padding:28mm 22mm 22mm;position:relative;box-shadow:0 25px 80px #0f172a2e}.pdf-content-wrapper{max-width:680px;margin:0 auto}.cover-page{background:radial-gradient(circle at 0 0,#8b5cf61f,#0000 26%),radial-gradient(circle at 100% 100%,#06b6d41f,#0000 26%),linear-gradient(#fff,#f8fafc);justify-content:center;align-items:center;display:flex;overflow:hidden}.cover-inner{text-align:center;width:100%}.cover-badge{color:#7c3aed;letter-spacing:.2em;background:#f5f3ff;border-radius:999px;margin-bottom:24px;padding:10px 18px;font-size:.8rem;font-weight:700;display:inline-block}.cover-title{letter-spacing:-.04em;color:#0f172a;margin:0;font-size:3.2rem;line-height:1.05}.cover-author{color:#64748b;margin-top:18px;font-size:1.15rem}.cover-line{background:linear-gradient(90deg,#8b5cf6,#06b6d4);border-radius:999px;width:120px;height:4px;margin:28px auto 22px}.cover-subtitle{color:#475569;font-size:1rem}.pdf-meta-top{text-transform:uppercase;letter-spacing:.22em;flex-wrap:wrap;justify-content:space-between;gap:12px;margin-bottom:20px;font-size:.78em;font-weight:700;display:flex}.pdf-title{color:#0f172a;margin:0 0 10px;font-size:34px;font-weight:800;line-height:1.1}.pdf-author{color:#6b7280;margin:0 0 25px}.pdf-divider{background:linear-gradient(90deg,#8b5cf6,#06b6d4);border-radius:10px;width:60px;height:2px;margin-bottom:25px}.pdf-content p{color:#374151;margin-bottom:16px;line-height:1.8}.content-h1{color:#0f172a;margin-top:30px;margin-bottom:10px;font-size:22px;font-weight:700}.content-h2{color:#1f2937;margin-top:20px;margin-bottom:8px;font-size:18px;font-weight:600}.content-list{margin-bottom:16px;margin-left:20px}.content-list li{color:#374151;margin-bottom:6px}.pdf-footer{color:#94a3b8;justify-content:space-between;margin-top:40px;font-size:.88em;display:flex}.template-executive .pdf-meta-top{color:#7c3aed}.template-minimal{background:#fcfcfd}.template-minimal .pdf-meta-top{color:#0f172a}.template-minimal .pdf-divider{background:#d4d4d8}.template-modern{background:linear-gradient(#fff,#f8fafc)}.template-modern .pdf-meta-top{color:#0891b2}.template-modern .pdf-divider{background:linear-gradient(90deg,#67e8f9,#a78bfa);width:80px;height:3px}@media (width<=1200px){.workspace{grid-template-columns:1fr}}@media (width<=760px){.app-shell{padding:14px}.topbar{flex-direction:column;align-items:flex-start}.controls-grid{grid-template-columns:1fr}.pdf-page{border-radius:20px;padding:20mm 14mm 16mm}.cover-title{font-size:2.2rem}.toggle-row{flex-direction:column;gap:10px}}
