:root{--bg-top: #e9eef4;--bg-bottom: #f6f1e9;--panel: rgba(255, 252, 247, .9);--panel-strong: #fffdf8;--line: #d4c5ae;--text: #17222b;--muted: #566675;--accent: #0f6a78;--accent-strong: #0b505a;--accent-soft: #d7eceb;--warn-bg: #f7ecda;--warn-line: #c98d39;--shadow: 0 24px 70px rgba(28, 42, 54, .12)}*{box-sizing:border-box}html{min-height:100%}body{margin:0;min-height:100vh;color:var(--text);font-family:Avenir Next,Trebuchet MS,sans-serif;background:radial-gradient(circle at top left,rgba(15,106,120,.12),transparent 32%),radial-gradient(circle at right 15%,rgba(201,141,57,.16),transparent 28%),linear-gradient(180deg,var(--bg-top),var(--bg-bottom))}img{display:block;max-width:100%}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}button,input[type=file],a{font:inherit}.page{width:min(1180px,calc(100vw - 2rem));margin:0 auto;padding:2rem 0 4rem}.hero{display:grid;grid-template-columns:1.45fr .95fr;gap:1.25rem;align-items:stretch}.hero-copy,.hero-card,.panel{border:1px solid rgba(212,197,174,.9);box-shadow:var(--shadow);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.hero-copy{padding:2rem;border-radius:24px;background:linear-gradient(160deg,#fffcf7f2,#f4ede0e0)}.hero-card{padding:1.5rem;border-radius:24px;background:linear-gradient(180deg,#d7ecebd9,#fffaf0eb)}.eyebrow{margin:0 0 .75rem;font-size:.8rem;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}h1,h2{margin:0;font-family:Iowan Old Style,Palatino Linotype,serif;font-weight:700;letter-spacing:-.03em}h1{font-size:clamp(2.6rem,5vw,4.5rem);line-height:.96}h2{font-size:1.8rem}.lead{max-width:44rem;margin:1rem 0 0;font-size:1.08rem;line-height:1.6;color:var(--muted)}.hero-card-title{margin:0 0 1rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--accent-strong)}.hero-list{margin:0;padding-left:1.1rem;color:var(--text);line-height:1.7}.workspace{display:grid;grid-template-columns:minmax(320px,420px) minmax(0,1fr);gap:1.25rem;margin-top:1.35rem}.ad-banner-shell{margin-top:1.35rem}.ad-banner-frame{display:grid;place-items:center;min-height:124px;padding:.9rem 1rem;border:1px solid rgba(212,197,174,.9);border-radius:24px;background:#fffcf7b8;box-shadow:var(--shadow);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.ad-banner-slot{width:100%;max-width:970px;min-height:90px}.ad-banner-slot .adsbygoogle{min-height:90px}.panel{border-radius:24px;background:var(--panel);padding:1.5rem}.controls-panel{position:sticky;top:1.5rem;align-self:start;min-height:492px}.field-row{display:grid;gap:.55rem;margin-top:1rem}.label{font-size:.88rem;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}input[type=file]{width:100%;border:1px solid var(--line);border-radius:14px;padding:.85rem 1rem;color:var(--text);background:var(--panel-strong)}.theme-picker{display:flex;gap:.7rem;align-items:center;flex-wrap:wrap;padding:.45rem 0}.theme-swatch{display:inline-grid;place-items:center;width:38px;height:38px;padding:0;border:1px solid rgba(212,197,174,.9);border-radius:999px;background:#fffdf8eb;box-shadow:inset 0 0 0 1px #ffffff73;transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease,opacity .16s ease}.theme-swatch:hover{transform:translateY(-1px)}.theme-swatch:focus-visible{outline:2px solid rgba(15,106,120,.55);outline-offset:3px}.theme-swatch.is-selected{border-color:var(--accent-strong);transform:scale(1.1);box-shadow:0 0 0 3px #0f6a7838,0 0 0 8px #0f6a7824,0 12px 24px #0f6a7838,inset 0 0 0 1px #ffffff73}.theme-swatch-surface{position:relative;width:24px;height:24px;border-radius:999px;background:var(--theme-bg);box-shadow:inset 0 0 0 1px #ffffff1f,0 2px 8px #17222b24}.theme-swatch-surface:after{content:"";position:absolute;left:6px;right:6px;bottom:6px;height:4px;border-radius:999px;background:var(--theme-fg);opacity:.95}.theme-swatch[disabled]{cursor:not-allowed;opacity:.55;transform:none}button,.download-link{border:none;border-radius:999px;padding:.9rem 1.25rem;text-decoration:none;transition:transform .16s ease,background-color .16s ease,opacity .16s ease}button{cursor:pointer;background:var(--accent);color:#f8fffe}button:hover,.download-link:hover{transform:translateY(-1px)}button[disabled]{opacity:.5;cursor:not-allowed;transform:none}.secondary-button{background:#dfe7ea;color:var(--text)}.actions{display:flex;gap:.75rem;margin-top:1.25rem}.actions>*{flex:1}.summary,.status,.limits,.progress-text,.preview-header p{color:var(--muted);line-height:1.6}.summary{margin-top:1rem;font-size:.94rem}.summary:empty,.status:empty{display:none}.warnings{margin-top:1rem;border-left:4px solid var(--warn-line);border-radius:14px;padding:.85rem 1rem;background:var(--warn-bg)}.warnings p{margin:0;color:#664011}.warnings p+p{margin-top:.55rem}.progress-shell{margin-top:1.25rem}.progress-track{height:12px;border-radius:999px;background:#e4ddd2;overflow:hidden}.progress-bar{width:0;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--accent),#5a8893);transition:width .22s ease}.progress-text{margin-top:.55rem;font-size:.94rem}.status{margin-top:1rem;min-height:1.5rem}.limits{margin-top:0;font-size:.8rem;font-style:italic;line-height:1.4}.download-link{display:inline-flex;justify-content:center;align-items:center;margin-top:1.25rem;background:var(--accent-strong);color:#f8fffe}.download-link.is-disabled{pointer-events:none;background:#dfe7ea;color:var(--text);opacity:.5;transform:none}.preview-header{display:grid;gap:.45rem}.preview-header p{margin:0;max-width:42rem}.preview-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1rem;margin-top:1.25rem}.preview-empty,.preview-card{border:1px solid rgba(212,197,174,.9);border-radius:20px;background:#fffdf8eb}.preview-empty{display:grid;place-items:center;min-height:320px;padding:1.5rem;color:var(--muted);text-align:center;line-height:1.6}.preview-card{overflow:hidden;padding:.75rem;text-align:left;cursor:zoom-in;transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease}.preview-card:hover{transform:translateY(-2px);border-color:#0f6a7866;box-shadow:0 18px 36px #17222b1f}.preview-card-meta{display:block;margin-bottom:.2rem;font-size:.8rem;letter-spacing:.08em;text-transform:uppercase;color:var(--accent-strong)}.preview-card img{width:100%;margin-top:.55rem;border-radius:12px;box-shadow:0 16px 34px #17222b24}.preview-modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:20;display:grid;place-items:center}.preview-modal-backdrop{position:absolute;top:0;right:0;bottom:0;left:0;background:#10161c9e;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.preview-modal-dialog{position:relative;z-index:1;width:min(1000px,calc(100vw - 1.5rem));max-height:calc(100vh - 1.5rem);overflow:auto;border:1px solid rgba(212,197,174,.9);border-radius:24px;background:#fffcf7f7;box-shadow:0 28px 90px #0a121852}.preview-modal-header{display:flex;justify-content:space-between;gap:1rem;align-items:start;padding:1.25rem 1.25rem 0}.preview-modal-kicker{margin:0 0 .3rem;font-size:.78rem;letter-spacing:.1em;text-transform:uppercase;color:var(--accent-strong)}.preview-modal-close{flex:0 0 auto;background:#dfe7ea;color:var(--text)}.preview-modal-body{padding:1.25rem}.preview-modal-body img{width:100%;border-radius:16px;box-shadow:0 18px 36px #17222b24}.privacy-banner{position:fixed;right:1rem;bottom:1rem;left:1rem;z-index:18;display:flex;justify-content:space-between;gap:1rem;align-items:center;padding:1rem 1.1rem;border:1px solid rgba(212,197,174,.95);border-radius:22px;background:#fffcf7f7;box-shadow:0 24px 70px #1c2a362e;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.privacy-banner-copy h2,.privacy-setting h3{margin:0;font-size:1.05rem;font-family:Avenir Next,Trebuchet MS,sans-serif;font-weight:700;letter-spacing:-.02em}.privacy-banner-copy p,.privacy-modal-header p,.privacy-setting p{margin:.4rem 0 0;color:var(--muted);line-height:1.5}.privacy-banner-actions,.privacy-modal-actions{display:flex;gap:.75rem;flex-wrap:wrap}.privacy-modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:22;display:grid;place-items:center}.privacy-modal-backdrop{position:absolute;top:0;right:0;bottom:0;left:0;background:#10161c8f;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.privacy-modal-dialog{position:relative;z-index:1;width:min(840px,calc(100vw - 1.5rem));max-height:calc(100vh - 1.5rem);overflow:auto;border:1px solid rgba(212,197,174,.95);border-radius:24px;background:#fffcf7fa;box-shadow:0 28px 90px #0a121847}.privacy-modal-header,.privacy-modal-actions{padding:1.25rem}.privacy-modal-header{display:flex;justify-content:space-between;gap:1rem;align-items:start;border-bottom:1px solid rgba(212,197,174,.5)}.privacy-modal-body{padding:0 1.25rem}.privacy-setting{display:flex;justify-content:space-between;gap:1rem;align-items:start;padding:1.1rem 0;border-bottom:1px solid rgba(212,197,174,.45)}.privacy-setting:last-child{border-bottom:none}.privacy-setting-state{color:var(--accent-strong);font-size:.95rem;font-weight:600;white-space:nowrap}.privacy-toggle{position:relative;display:inline-flex;align-items:center;cursor:pointer}.privacy-toggle input{position:absolute;opacity:0;pointer-events:none}.privacy-toggle-track{position:relative;width:52px;height:30px;border-radius:999px;background:#d9d5ca;transition:background-color .16s ease}.privacy-toggle-track:after{content:"";position:absolute;top:4px;left:4px;width:22px;height:22px;border-radius:999px;background:#fffdf8;box-shadow:0 3px 8px #17222b29;transition:transform .16s ease}.privacy-toggle input:checked+.privacy-toggle-track{background:#4d458c}.privacy-toggle input:checked+.privacy-toggle-track:after{transform:translate(22px)}.privacy-toggle input:focus-visible+.privacy-toggle-track{outline:2px solid rgba(15,106,120,.55);outline-offset:3px}.site-footer{display:flex;gap:1rem;justify-content:flex-end;align-items:center;margin-top:1rem;padding:0 .4rem}.footer-link{color:var(--muted);text-decoration:none;font-size:.94rem}.footer-link:hover{color:var(--accent-strong)}.footer-link-button{padding:0;background:transparent;color:var(--muted);border:none;border-radius:0}.footer-link-button:hover{background:transparent}@media (max-width: 960px){.hero,.workspace{grid-template-columns:1fr}.controls-panel{position:static;min-height:auto}.privacy-banner{flex-direction:column;align-items:stretch}.site-footer{justify-content:flex-start}}@media (max-width: 640px){.page{width:min(100vw - 1rem,100%);padding-top:1rem}.hero-copy,.hero-card,.panel{border-radius:20px}.actions{flex-direction:column}.preview-header{gap:.35rem}.privacy-modal-header,.privacy-setting,.privacy-modal-actions{display:grid}.privacy-modal-actions,.privacy-banner-actions{grid-template-columns:1fr}}
