:root{--page:#f5eee4;--page-deep:#efe2d1;--panel:#fff9f0d1;--line:#5e4c3e24;--line-strong:#5e4c3e3d;--ink:#5f554d;--ink-soft:#8f8277;--ink-strong:#1f1a16;--accent-strong:#d27c54;--accent-tint:#d27c5421;--shadow-soft:0 1.2rem 3rem #432a1814;--body-font:"Avenir Next", "Segoe UI", "Trebuchet MS", sans-serif;--display-font:"Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;color:var(--ink);background:radial-gradient(circle at top left, #ffffffb8, transparent 32%), linear-gradient(180deg, var(--page), var(--page-deep));font:18px/1.55 var(--body-font);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}*{box-sizing:border-box}html{scroll-behavior:smooth}body{min-width:320px;min-height:100svh;margin:0}body:before{content:"";pointer-events:none;opacity:.35;background-image:linear-gradient(#56453709 1px,#0000 1px),linear-gradient(90deg,#56453709 1px,#0000 1px);background-size:100% 2.3rem,2.3rem 100%;position:fixed;inset:0}#root{min-height:100svh}h1,h2{color:var(--ink-strong);font-family:var(--display-font);margin:0;font-weight:600;line-height:1.05}h1{letter-spacing:-.045em;margin-bottom:0;font-size:clamp(1.45rem,2.2vw,2rem)}h2{letter-spacing:-.03em;font-size:clamp(1.25rem,1.6vw,1.55rem)}p{margin:0}button,textarea{font:inherit}button{border:0}a{color:inherit}::selection{background:#d27c542e}@media (width<=640px){:root{font-size:16px}}.app-shell{align-content:start;gap:.75rem;width:100%;max-width:none;min-height:100svh;margin:0 auto;padding:.75rem;display:grid;position:relative;overflow:clip visible}.halo{filter:blur(18px);opacity:.58;pointer-events:none;border-radius:999px;block-size:24rem;inline-size:24rem;position:absolute}.halo-left{background:radial-gradient(circle,#d27c5452,#0000 70%);inset:3rem auto auto -9rem}.halo-right{background:radial-gradient(circle,#3a6f8f38,#0000 70%);inset:auto -10rem 6rem auto}.site-header{z-index:1;justify-content:space-between;align-items:center;gap:1.25rem;display:flex;position:relative}.brand{color:var(--ink-strong);align-items:center;gap:.85rem;text-decoration:none;display:inline-flex}.brand__mark{color:#f8f7f2;letter-spacing:.08em;background:linear-gradient(135deg,#0f766e,#3db7a3);border-radius:18px;place-items:center;width:52px;height:52px;font-weight:700;display:grid;box-shadow:0 1rem 2rem #0f766e33}.brand__text{flex-direction:column;gap:.1rem;display:flex}.brand__text strong{color:var(--ink-strong);font-size:1rem}.brand__text span{color:var(--ink-soft);font-size:.92rem}.site-nav{border:1px solid var(--line);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#fffbf6ad;border-radius:999px;flex-wrap:wrap;gap:.55rem;padding:.5rem;display:inline-flex}.site-nav a{color:var(--ink-soft);border-radius:999px;padding:.55rem .8rem;font-size:.95rem;text-decoration:none;transition:background-color .16s,color .16s,transform .16s}.site-nav a:hover,.site-nav a:focus-visible{background:var(--accent-tint);color:var(--ink-strong);transform:translateY(-1px)}.masthead{text-align:left;justify-content:space-between;align-items:center;gap:.9rem 1.25rem;padding:.7rem 1rem;display:flex;position:relative}.eyebrow,.panel-kicker{color:var(--accent-strong);letter-spacing:.18em;text-transform:uppercase;margin:0 0 .65rem;font-size:.78rem;font-weight:700}.masthead-copy{max-width:24rem;color:var(--ink-soft);margin-left:auto;font-size:.88rem}.workspace{grid-template-columns:minmax(18rem,.82fr) minmax(0,1.68fr);grid-template-areas:"summary editor";align-items:stretch;gap:.75rem;display:grid;position:relative}.workspace-layout{gap:.75rem;display:grid}.workspace-main{gap:.75rem;min-width:0;display:grid}.page-rail{display:none}.ad-shell{border:1px solid var(--line);box-shadow:var(--shadow-soft);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#fffbf6d1;border-radius:1.5rem;padding:.85rem 1rem 1rem;position:relative}.ad-shell--feature{margin-top:0}.ad-shell__meta{justify-content:space-between;align-items:center;gap:.8rem;margin-bottom:.7rem;display:flex}.ad-shell__label{background:var(--accent-tint);min-height:1.9rem;color:var(--accent-strong);letter-spacing:.08em;text-transform:uppercase;border-radius:999px;align-items:center;padding:0 .7rem;font-size:.78rem;font-weight:700;display:inline-flex}.ad-shell__caption{color:var(--ink-soft);text-align:right;font-size:.82rem}.ad-shell__unit,.ad-shell__placeholder{border-radius:1.2rem;width:100%}.ad-shell__placeholder{border:1px dashed var(--line-strong);text-align:center;color:var(--ink-soft);background:#fffcf7f0;place-items:center;gap:.45rem;padding:1rem;display:grid}.ad-shell__placeholder strong{color:var(--ink-strong)}.ad-shell--content{margin-bottom:.15rem}.ad-shell--rail{margin-top:0}.seo-content-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:.75rem;display:grid}.seo-card{padding:1rem}.seo-card h2{margin-bottom:.65rem}.seo-card ol,.seo-card p{color:var(--ink-soft)}.seo-card ol{padding-left:1.2rem}.keyword-list{gap:.55rem;padding:0;list-style:none;display:grid}.keyword-list li{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:.75rem;padding:.55rem 0;display:flex}.keyword-list span{color:var(--ink-strong);font-weight:700}.keyword-list strong,.readability-grade{color:var(--accent-strong)}.readability-grade{margin-bottom:.35rem;font-size:1.6rem;font-weight:800}.site-footer{border:1px solid var(--line);box-shadow:var(--shadow-soft);background:#fffbf6d1;border-radius:1.5rem;padding:1rem}.site-footer nav{flex-wrap:wrap;gap:.55rem 1rem;display:flex}.site-footer a{color:var(--ink-strong);font-weight:700;text-decoration:none}.card{border:1px solid var(--line);background:var(--panel);box-shadow:var(--shadow-soft);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);border-radius:1.5rem;position:relative}.masthead h1{margin-bottom:0}.summary-card{grid-area:summary;padding:1rem}.editor-card{flex-direction:column;grid-area:editor;padding:1rem;display:flex}.panel-topline{justify-content:space-between;align-items:center;gap:1rem;margin-bottom:.55rem;display:flex}.panel-topline.compact{margin-bottom:.8rem}.status-chip{background:var(--accent-tint);color:var(--accent-strong);border-radius:999px;margin:0;padding:.35rem .65rem;font-size:.8rem}.field-label{color:var(--ink-strong);margin-bottom:.45rem;font-size:.88rem;font-weight:600;display:inline-block}.editor-input{resize:vertical;border:1px solid var(--line-strong);width:100%;min-height:clamp(16rem,42svh,31rem);color:var(--ink-strong);font:inherit;box-sizing:border-box;background:#fffcf7f0;border-radius:1.2rem;padding:.95rem 1rem;line-height:1.55;transition:border-color .16s,box-shadow .16s,transform .16s}.editor-input:focus-visible{border-color:var(--accent-strong);outline:none;transform:translateY(-1px);box-shadow:0 0 0 4px #d27c5429}.editor-input::placeholder{color:var(--ink-soft)}.editor-footer{justify-content:flex-start;align-items:center;gap:.75rem;margin-top:.55rem;display:flex}.field-note,.stat-note,.summary-copy{color:var(--ink-soft)}.editor-meta{color:var(--ink-soft);margin:0 0 .5rem;font-size:.82rem}.summary-source{flex-wrap:wrap;align-items:center;gap:.6rem;margin-bottom:.65rem;display:flex}.summary-copy{margin:0;font-size:.82rem}.source-pill{border:1px solid var(--line-strong);color:var(--ink-strong);background:#fffcf7eb;border-radius:999px;align-items:center;padding:.32rem .6rem;font-size:.8rem;font-weight:600;display:inline-flex}.field-note{max-width:32rem;margin:0;font-size:.88rem}.panel-actions{align-items:center;gap:.55rem;display:flex}.upload-inline{border:1px dashed var(--line-strong);color:var(--ink-strong);cursor:pointer;white-space:nowrap;background:#fffcf7f0;border-radius:999px;align-items:center;gap:.45rem;padding:.7rem .85rem;transition:border-color .16s,transform .16s,box-shadow .16s,background .16s;display:inline-flex}.upload-inline:hover,.upload-inline.is-dragging{border-color:var(--accent-strong);transform:translateY(-1px);box-shadow:0 .8rem 1.6rem #d27c541f}.upload-inline:focus-visible{outline:2px solid var(--accent-strong);outline-offset:3px}.upload-inline-label{font-size:.88rem;font-weight:700}.upload-inline-hint{color:var(--ink-soft);font-size:.78rem}.error-message{color:#a44928}.ghost-button,.solid-button{font:inherit;cursor:pointer;border-radius:999px;padding:.7rem .95rem;font-size:.88rem;font-weight:600;transition:transform .16s,box-shadow .16s,border-color .16s,background .16s}.ghost-button{border:1px solid var(--line-strong);color:var(--ink-strong);background:#fffcf7d6}.solid-button{background:var(--accent-strong);color:#fff9f2;border:1px solid #0000;box-shadow:0 .9rem 1.8rem #d27c5433}.ghost-button:hover,.solid-button:hover{transform:translateY(-1px)}.ghost-button:focus-visible,.solid-button:focus-visible{outline:2px solid var(--accent-strong);outline-offset:3px}.stat-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:.55rem;display:grid}.stat-card{background:linear-gradient(#fffcf7fa,#f7eee3e0);border:1px solid #64544714;border-radius:1rem;padding:.7rem}.stat-card-featured{background:linear-gradient(#faeee5fa,#f4dfcdf0);border-color:#d27c542e}.stat-card-featured .stat-value{font-size:clamp(1.85rem,2.4vw,2.35rem)}.stat-label,.stat-value,.stat-note{margin:0}.stat-label{color:var(--ink-soft);font-size:.8rem}.stat-value{color:var(--ink-strong);font-family:var(--display-font);margin:.22rem 0 .1rem;font-size:clamp(1.45rem,2.1vw,1.95rem);line-height:1}.stat-note{font-size:.76rem}@media (width>=1280px){.workspace-layout.has-rail{grid-template-columns:minmax(0,1fr) clamp(300px,18vw,336px);align-items:start}.page-rail{display:block;position:sticky;top:.75rem}.page-rail .ad-shell__meta{flex-direction:column;align-items:flex-start}.page-rail .ad-shell__caption{text-align:left}}@media (width<=960px){.app-shell{padding:.7rem}.site-header{flex-direction:column;align-items:flex-start}.masthead{flex-direction:column;align-items:flex-start;padding:.85rem .95rem}.workspace{grid-template-columns:1fr;grid-template-areas:"summary""editor"}.seo-content-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.editor-footer{align-items:flex-start}}@media (width<=640px){.app-shell{gap:.7rem}.panel-topline,.ad-shell__meta{flex-direction:column;align-items:flex-start}.ad-shell__caption{text-align:left}.panel-actions,.stat-grid,.seo-content-grid{width:100%}.seo-content-grid{grid-template-columns:1fr}.summary-card,.editor-card{padding:.9rem}.stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.editor-input{min-height:11rem}.panel-actions{flex-wrap:wrap}.upload-inline,.ghost-button,.solid-button{width:auto}}@media (prefers-reduced-motion:reduce){.editor-input,.ghost-button,.solid-button{transition:none}}
