@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=DM+Sans:wght@400;500;600;700&family=Noto+Sans+JP:wght@400;500;700&display=swap');

:root {
  --canvas: #f7f4ed;
  --paper: #fffdf8;
  --ink: #202321;
  --muted: #777973;
  --line: #dedbd2;
  --accent: #d45b38;
  --accent-soft: #f1d7c8;
  --moss: #a5aa83;
  --dark: #242725;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: 'DM Sans', 'Noto Sans JP', sans-serif;
  --mono: 'DM Mono', monospace;
  --shadow: 0 20px 70px rgba(37, 34, 26, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--canvas); color: var(--ink); font-family: var(--sans); line-height: 1.6; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.site-shell { max-width: 1440px; margin: 0 auto; padding: 0 5vw; overflow: hidden; }
.site-header { min-height: 92px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: #fffaf2; font: 600 19px var(--serif); transform: rotate(-10deg); }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 14px; letter-spacing: .04em; }
.brand small { margin-top: -3px; color: var(--muted); font: 10px var(--mono); letter-spacing: .02em; }
.site-nav { display: flex; align-items: center; gap: 27px; color: var(--muted); font-size: 13px; }
.site-nav a { transition: color .2s ease; }
.site-nav a:hover { color: var(--accent); }
.button { min-height: 46px; padding: 0 21px; border: 0; display: inline-flex; align-items: center; justify-content: center; gap: 13px; border-radius: 4px; font-size: 13px; font-weight: 600; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(40, 35, 25, .12); }
.button-dark { background: var(--dark); color: #fffdf8; }
.button-accent { background: var(--accent); color: #fffdf8; }
.button-small { min-height: 38px; padding: 0 16px; font-size: 12px; }
.full-width { width: 100%; }
.text-button { padding: 9px 0; border: 0; background: transparent; color: var(--ink); font-size: 13px; }
.text-button span { color: var(--accent); margin-left: 5px; }
.text-button:hover { color: var(--accent); }
.hero { min-height: 610px; display: grid; grid-template-columns: 1fr .85fr; align-items: center; gap: 7vw; padding: 78px 6vw 85px; }
.eyebrow { margin: 0 0 18px; color: var(--muted); font: 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.eyebrow-dot { display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: var(--accent); vertical-align: 1px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-weight: 500; letter-spacing: -.055em; line-height: 1.1; }
h1 { max-width: 680px; margin-bottom: 27px; font-size: clamp(48px, 6.2vw, 88px); }
h1 em, h2 em { color: var(--accent); font-family: var(--serif); font-weight: 400; }
.hero-lede { max-width: 410px; margin-bottom: 35px; color: var(--muted); font-size: 14px; }
.hero-actions { display: flex; align-items: center; gap: 26px; }
.hero-art { position: relative; min-height: 388px; }
.sun-disc { position: absolute; top: 16%; right: 16%; width: 185px; height: 185px; border-radius: 50%; background: var(--accent-soft); }
.paper-stack { position: absolute; top: 18%; right: 18%; width: 255px; height: 304px; padding: 70px 30px 30px; background: var(--paper); border: 1px solid #e7dfd1; box-shadow: 19px 24px 0 rgba(165, 170, 131, .28), var(--shadow); transform: rotate(7deg); }
.paper-stack::before { content: ''; position: absolute; inset: 14px; border: 1px solid #ebe4d8; }
.paper-line { position: relative; width: 75%; height: 1px; margin: 0 auto 22px; background: var(--line); }
.line-one { width: 45%; height: 3px; background: var(--accent); }
.line-two { width: 72%; }
.line-three { width: 58%; }
.paper-stamp { position: absolute; right: 30px; bottom: 23px; color: var(--accent); font: 13px var(--mono); }
.leaf { position: absolute; z-index: 2; width: 88px; height: 48px; border-radius: 100% 0 100% 0; background: var(--moss); transform: rotate(-30deg); }
.leaf-one { left: 11%; bottom: 17%; }
.leaf-two { left: 29%; bottom: 10%; transform: rotate(28deg) scale(.78); background: #707a61; }
.leaf-three { right: 3%; bottom: 30%; transform: rotate(-63deg) scale(.62); background: var(--accent); }
.art-caption { position: absolute; left: 2%; bottom: 0; margin: 0; color: var(--muted); font: 11px/1.4 var(--mono); }
.journal-section { padding: 80px 6vw 120px; border-top: 1px solid var(--line); }
.section-heading { display: flex; justify-content: space-between; align-items: end; margin-bottom: 37px; }
.section-heading h2 { margin: 0; font-size: clamp(36px, 4vw, 57px); }
.section-note { margin-bottom: 4px; color: var(--muted); font: 12px/1.8 var(--mono); text-align: right; }
.journal-tools { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 28px; }
.search-field { min-width: 240px; display: flex; align-items: center; gap: 9px; border-bottom: 1px solid var(--ink); color: var(--muted); }
.search-field span { font-size: 23px; line-height: 1; }
.search-field input { width: 100%; padding: 8px 0; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 13px; }
.filter-group { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-chip { padding: 7px 13px; border: 1px solid var(--line); border-radius: 50px; background: transparent; color: var(--muted); font: 11px var(--mono); }
.filter-chip:hover, .filter-chip.is-active { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.featured-card { display: grid; grid-template-columns: 1fr 1fr; min-height: 340px; margin-bottom: 18px; overflow: hidden; border: 1px solid var(--line); background: var(--paper); }
.featured-visual { position: relative; min-height: 300px; padding: 28px; overflow: hidden; background: var(--moss); }
.featured-visual::before, .featured-visual::after { content: ''; position: absolute; border-radius: 50%; }
.featured-visual::before { width: 270px; height: 270px; right: -50px; top: -60px; background: #d9c7a2; }
.featured-visual::after { width: 125px; height: 125px; left: 21%; bottom: -45px; border: 1px solid rgba(32, 35, 33, .35); }
.visual-index { position: relative; z-index: 1; color: var(--ink); font: 11px var(--mono); }
.visual-word { position: absolute; z-index: 1; bottom: 22px; left: 27px; color: var(--paper); font: 400 clamp(58px, 9vw, 112px)/.8 var(--serif); letter-spacing: -.1em; }
.featured-copy { display: flex; flex-direction: column; justify-content: center; padding: 48px 5vw; }
.post-category { color: var(--accent); font: 10px var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.featured-copy h3 { max-width: 480px; margin: 12px 0 17px; font: 500 clamp(26px, 3vw, 40px)/1.22 var(--sans); letter-spacing: -.05em; }
.post-excerpt { max-width: 410px; margin-bottom: 30px; color: var(--muted); font-size: 13px; }
.post-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; color: var(--muted); font: 10px var(--mono); }
.read-link { color: var(--ink); font-weight: 500; }
.read-link span { color: var(--accent); }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.post-card { display: flex; min-height: 268px; flex-direction: column; padding: 25px; border: 1px solid var(--line); background: var(--paper); transition: transform .2s ease, box-shadow .2s ease; }
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.post-card h3 { margin: 14px 0 12px; font-size: 19px; line-height: 1.35; letter-spacing: -.04em; }
.post-card .post-excerpt { margin-bottom: 22px; font-size: 12px; }
.post-card .post-footer { margin-top: auto; }
.empty-state { padding: 75px 20px; border: 1px dashed var(--line); color: var(--muted); text-align: center; }
.empty-icon { display: block; margin-bottom: 10px; color: var(--accent); font-size: 32px; }
.about-section { display: grid; grid-template-columns: 1fr 2fr 1.2fr; gap: 6vw; align-items: start; padding: 90px 6vw; background: var(--dark); color: var(--paper); }
.about-section .eyebrow { color: #a2a69b; }
.about-sign { color: var(--accent); font: 46px var(--serif); letter-spacing: -.15em; }
.about-sign span { color: var(--moss); font-size: 24px; }
.about-section h2 { margin: 0; font-size: clamp(34px, 4vw, 57px); }
.about-section h2 em { color: var(--accent-soft); }
.about-copy { max-width: 320px; margin-top: 44px; color: #a8aaa2; font-size: 13px; }
.site-footer { display: flex; justify-content: space-between; padding: 24px 6vw; background: var(--dark); color: #898c84; font: 10px var(--mono); border-top: 1px solid #4a4f49; }
.dialog { width: min(470px, calc(100% - 32px)); padding: 0; border: 0; background: transparent; }
.dialog::backdrop { background: rgba(28, 30, 27, .5); backdrop-filter: blur(6px); }
.dialog-card, .article-card { position: relative; padding: 44px; border: 1px solid var(--line); background: var(--paper); box-shadow: var(--shadow); }
.dialog-card h2 { margin: 0 0 11px; font-size: 38px; }
.dialog-intro, .panel-copy { color: var(--muted); font-size: 13px; }
.dialog-intro { margin-bottom: 28px; }
.dialog-close { position: absolute; top: 14px; right: 17px; width: 32px; height: 32px; border: 0; background: transparent; color: var(--muted); font-size: 24px; }
.field-label { display: flex; justify-content: space-between; margin: 17px 0 7px; color: var(--muted); font: 11px var(--mono); }
.field-label span { opacity: .7; }
.text-input, .meta-input, .excerpt-input { width: 100%; border: 1px solid var(--line); background: #fffefa; color: var(--ink); outline: 0; }
.text-input { height: 45px; padding: 0 13px; }
.text-input:focus, .meta-input:focus, .excerpt-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(212, 91, 56, .12); }
.form-message { min-height: 20px; margin: 10px 0; color: var(--accent); font-size: 12px; }
.editor-drawer { position: fixed; z-index: 10; inset: 0; overflow: auto; background: var(--canvas); }
.editor-topbar { display: flex; align-items: end; justify-content: space-between; gap: 20px; max-width: 1360px; margin: auto; padding: 32px 5vw 27px; border-bottom: 1px solid var(--line); }
.editor-topbar h2 { margin: 0; font-size: 31px; }
.editor-user { display: flex; align-items: center; gap: 22px; color: var(--muted); font: 11px var(--mono); }
.post-form { display: grid; grid-template-columns: minmax(0, 1fr) 320px; max-width: 1360px; margin: auto; }
.editor-main { min-width: 0; padding: 45px 5vw 100px; }
.title-input { width: 100%; padding: 0 0 20px; border: 0; border-bottom: 1px solid var(--line); outline: 0; background: transparent; color: var(--ink); font-size: clamp(34px, 5vw, 60px); letter-spacing: -.06em; }
.title-input::placeholder { color: #b3b0a6; }
.editor-meta-row { display: flex; align-items: center; gap: 10px; padding: 17px 0; }
.meta-input { max-width: 195px; padding: 8px 10px; font: 11px var(--mono); }
.autosave-status { margin-left: auto; color: var(--muted); font: 10px var(--mono); }
.editor-toolbar { display: flex; align-items: center; gap: 3px; padding: 9px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.editor-toolbar > button, .color-picker { width: 34px; height: 31px; border: 0; background: transparent; color: var(--muted); font-size: 14px; }
.editor-toolbar > button:hover, .editor-toolbar > button:focus-visible, .mode-button.is-active { background: var(--accent-soft); color: var(--ink); }
.color-picker { position: relative; display: grid; place-items: center; font-weight: 700; }
.color-picker input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.toolbar-spacer { flex: 1; }
.editor-toolbar .mode-button { width: auto; padding: 0 11px; font: 10px var(--mono); }
.editor-surface, .html-editor { min-height: 450px; padding: 30px 0; outline: 0; color: var(--ink); font: 17px/2 var(--serif); }
.editor-surface:empty::before { content: attr(data-placeholder); color: #b3b0a6; pointer-events: none; }
.editor-surface p, .html-editor { margin: 0; }
.editor-surface h2 { margin: 28px 0 10px; font: 500 27px/1.3 var(--sans); }
.editor-surface blockquote { margin: 22px 0; padding: 5px 20px; border-left: 3px solid var(--accent); color: var(--muted); }
.editor-surface img { max-width: 100%; height: auto; }
.html-editor { width: 100%; resize: vertical; border: 0; background: #292d29; color: #e7e5d9; font: 13px/1.7 var(--mono); }
.publish-panel { padding: 45px 28px; border-left: 1px solid var(--line); }
.publish-card, .usage-card { padding: 24px; border: 1px solid var(--line); background: var(--paper); }
.publish-card h3 { margin: 0 0 13px; font-size: 19px; }
.excerpt-input { min-height: 100px; padding: 11px; resize: vertical; font-size: 12px; }
.publish-card .button { margin-top: 10px; }
.usage-card { margin-top: 13px; }
.usage-heading { display: flex; justify-content: space-between; gap: 12px; font: 11px var(--mono); }
.usage-heading span:last-child { color: var(--accent); }
.usage-track { height: 6px; margin: 15px 0 9px; overflow: hidden; background: var(--accent-soft); }
.usage-track div { height: 100%; width: 0; background: var(--accent); transition: width .3s ease; }
.usage-card p { margin: 0; color: var(--muted); font-size: 11px; }
.editor-state { margin: -8px 0 0; color: var(--muted); font-size: 12px; }
.management-card { margin-top: 13px; padding: 24px; border: 1px solid var(--line); background: var(--paper); }
.management-heading { display: flex; align-items: start; justify-content: space-between; gap: 14px; }
.management-heading .eyebrow { margin-bottom: 8px; }
.management-heading h2 { margin: 0; font-size: 24px; }
.manage-list { display: grid; gap: 9px; max-height: 350px; margin-top: 18px; overflow-y: auto; }
.manage-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 12px 0; border-top: 1px solid var(--line); }
.manage-item strong { display: block; overflow: hidden; font-size: 12px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.manage-item small, .media-item small { display: block; margin-top: 4px; color: var(--muted); font: 10px var(--mono); }
.manage-actions { display: flex; gap: 5px; }
.button-danger { border: 1px solid var(--accent); background: transparent; color: var(--accent); }
.button-danger:hover { background: var(--accent-soft); }
.media-item { display: grid; grid-template-columns: 44px minmax(0, 1fr); align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); }
.media-item img { width: 44px; height: 44px; object-fit: cover; border: 1px solid var(--line); background: var(--canvas); }
.media-item a { display: block; overflow-wrap: anywhere; color: var(--ink); font: 10px/1.4 var(--mono); }
.media-item a:hover { color: var(--accent); }
.manage-note { margin: 10px 0 0; color: var(--muted); font-size: 11px; }
.article-dialog { width: min(820px, calc(100% - 24px)); }
.article-card { max-height: 88vh; overflow-y: auto; padding: 60px clamp(24px, 7vw, 80px); }
.article-card .post-category { display: block; margin-bottom: 14px; }
.article-card h1 { max-width: none; margin-bottom: 15px; font-size: clamp(35px, 5vw, 60px); }
.article-body { margin-top: 45px; font: 18px/2 var(--serif); }
.article-body p { margin: 0 0 25px; }
.article-body h2 { margin-top: 42px; font: 500 27px/1.3 var(--sans); }
.article-body blockquote { margin: 35px 0; padding: 8px 22px; border-left: 3px solid var(--accent); color: var(--muted); }
.article-body img { max-width: 100%; height: auto; }
.toast { position: fixed; z-index: 30; right: 24px; bottom: 24px; max-width: 330px; padding: 14px 17px; opacity: 0; transform: translateY(12px); border: 1px solid var(--line); background: var(--dark); color: var(--paper); font-size: 12px; pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
.toast.is-visible { opacity: 1; transform: translateY(0); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.contributor-page { min-height: 100vh; background: var(--dark); }
.contributor-layout { width: min(510px, calc(100% - 36px)); min-height: 100vh; margin: auto; padding: 44px 0; display: flex; flex-direction: column; justify-content: center; }
.contributor-layout > .brand { align-self: center; margin-bottom: 28px; color: var(--paper); }
.contributor-card { padding: 42px clamp(24px, 7vw, 52px); border: 1px solid #4a4f49; background: var(--paper); box-shadow: var(--shadow); }
.contributor-card h1 { margin: 0 0 13px; font-size: clamp(38px, 8vw, 58px); }
.contributor-intro { margin-bottom: 28px; color: var(--muted); font-size: 13px; }
.back-home { align-self: center; margin-top: 22px; color: #a8aaa2; font: 11px var(--mono); }
.back-home:hover { color: var(--paper); }
.editor-page { min-height: 100vh; }
.editor-page .editor-topbar h1 { margin: 0; font: 500 31px/1.1 var(--sans); letter-spacing: -.05em; }
.analytics-body { min-height: 100vh; background: var(--canvas); }
.analytics-page { min-height: 100vh; }
.analytics-topbar { display: flex; align-items: end; justify-content: space-between; gap: 32px; padding: 42px 6vw 32px; border-bottom: 1px solid var(--line); }
.analytics-topbar h1 { margin: 0 0 12px; font-size: clamp(42px, 6vw, 72px); }
.analytics-lede { margin: 0; color: var(--muted); font-size: 13px; }
.analytics-nav { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 18px; }
.analytics-user { color: var(--muted); font: 10px var(--mono); }
.analytics-main { max-width: 1360px; margin: auto; padding: 46px 6vw 90px; }
.analytics-controls, .analytics-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.analytics-controls { margin-bottom: 16px; }
.analytics-controls h2, .analytics-section-heading h2 { margin: 0; font-size: clamp(27px, 3vw, 40px); }
.analytics-control-actions { display: flex; align-items: center; gap: 14px; }
.range-group { display: flex; gap: 6px; }
.analytics-status { min-height: 22px; margin: 0 0 20px; color: var(--muted); font: 11px var(--mono); }
.analytics-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 48px; }
.analytics-kpi { min-height: 142px; padding: 22px; border: 1px solid var(--line); background: var(--paper); }
.analytics-kpi > span { display: block; margin-bottom: 16px; color: var(--muted); font: 10px var(--mono); letter-spacing: .05em; text-transform: uppercase; }
.analytics-kpi strong { display: block; overflow: hidden; color: var(--ink); font: 500 clamp(28px, 3.3vw, 44px)/1 var(--sans); letter-spacing: -.06em; text-overflow: ellipsis; white-space: nowrap; }
.analytics-kpi .kpi-text { font-size: clamp(17px, 2vw, 25px); line-height: 1.25; }
.analytics-kpi small { display: block; margin-top: 14px; color: var(--muted); font: 10px var(--mono); }
.analytics-trend-panel, .analytics-list-panel { padding: 28px; border: 1px solid var(--line); background: var(--paper); }
.analytics-trend-panel { margin-bottom: 14px; }
.analytics-updated, .analytics-unit { color: var(--muted); font: 10px var(--mono); }
.trend-legend { display: flex; gap: 18px; margin: 28px 0 12px; color: var(--muted); font: 10px var(--mono); }
.legend-dot { display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; }
.page-dot { background: var(--accent); }
.article-dot { background: var(--moss); }
.trend-chart { display: flex; align-items: end; gap: clamp(4px, 1.2vw, 16px); min-height: 260px; padding: 18px 0 0; border-bottom: 1px solid var(--line); }
.trend-column { display: flex; min-width: 0; height: 242px; flex: 1; flex-direction: column; justify-content: end; align-items: center; gap: 8px; color: var(--muted); font: 9px var(--mono); }
.trend-bars { display: flex; align-items: end; justify-content: center; gap: 3px; width: 100%; height: 210px; }
.trend-bar { display: block; width: min(22px, 42%); min-height: 0; transition: height .25s ease; }
.page-bar { background: var(--accent); }
.article-bar { background: var(--moss); }
.analytics-data-table { margin-top: 18px; color: var(--muted); font: 11px var(--mono); }
.analytics-data-table summary { cursor: pointer; }
.analytics-data-table table { width: 100%; margin-top: 12px; border-collapse: collapse; text-align: left; }
.analytics-data-table th, .analytics-data-table td { padding: 8px; border-top: 1px solid var(--line); }
.analytics-lower-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.ranking-list { margin-top: 23px; }
.ranking-item { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; align-items: center; gap: 10px; min-height: 61px; border-top: 1px solid var(--line); }
.ranking-index { color: var(--accent); font: 11px var(--mono); }
.ranking-detail { min-width: 0; }
.ranking-detail strong { display: block; overflow: hidden; font-size: 13px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.ranking-track { display: block; height: 4px; margin-top: 8px; background: var(--accent-soft); }
.ranking-track i { display: block; height: 100%; background: var(--moss); }
.ranking-item b { color: var(--muted); font: 11px var(--mono); }
.analytics-empty { padding: 35px 0; margin: 0; color: var(--muted); font-size: 12px; }
.analytics-note { display: flex; gap: 15px; padding: 22px; border: 1px dashed var(--line); color: var(--muted); }
.analytics-note strong { display: block; margin-bottom: 5px; color: var(--ink); font-size: 13px; }
.analytics-note p { max-width: 850px; margin: 0; font-size: 11px; line-height: 1.8; }
.note-mark { display: grid; flex: 0 0 25px; place-items: center; width: 25px; height: 25px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font: 600 13px var(--serif); }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 68px; }
  .hero-art { min-height: 335px; max-width: 530px; width: 100%; }
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .about-section { grid-template-columns: 1fr 2fr; }
  .about-copy { grid-column: 2; margin-top: 0; }
  .post-form { grid-template-columns: 1fr; }
  .publish-panel { padding: 0 5vw 45px; border-left: 0; }
  .publish-card { max-width: none; }
  .analytics-kpis { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .site-shell { padding: 0 18px; }
  .site-header { min-height: 76px; }
  .site-nav { gap: 11px; }
  .site-nav a { display: none; }
  .hero, .journal-section, .about-section { padding-left: 10px; padding-right: 10px; }
  .hero { padding-top: 50px; padding-bottom: 55px; }
  h1 { font-size: 52px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 12px; }
  .hero-art { min-height: 290px; transform: scale(.84); transform-origin: center top; margin-bottom: -45px; }
  .section-heading, .journal-tools { align-items: flex-start; flex-direction: column; }
  .section-note { text-align: left; }
  .search-field { width: 100%; }
  .featured-card { grid-template-columns: 1fr; }
  .featured-visual { min-height: 210px; }
  .featured-copy { padding: 33px 26px; }
  .post-grid { grid-template-columns: 1fr; }
  .about-section { display: block; padding-top: 65px; padding-bottom: 65px; }
  .about-sign { margin-bottom: 42px; }
  .about-copy { margin-top: 35px; }
  .site-footer { padding-left: 10px; padding-right: 10px; }
  .dialog-card { padding: 38px 25px 28px; }
  .editor-topbar { align-items: flex-start; flex-direction: column; padding: 25px 20px 22px; }
  .editor-main { padding: 30px 20px 55px; }
  .editor-meta-row { align-items: stretch; flex-wrap: wrap; }
  .meta-input { max-width: none; flex: 1; }
  .autosave-status { width: 100%; margin: 0; }
  .editor-toolbar { flex-wrap: wrap; }
  .toolbar-spacer { display: none; }
  .editor-toolbar .mode-button { margin-left: auto; }
  .editor-surface, .html-editor { min-height: 360px; }
  .publish-panel { padding: 0 20px 35px; }
  .analytics-topbar { align-items: flex-start; flex-direction: column; padding: 30px 20px 25px; }
  .analytics-nav { justify-content: flex-start; gap: 12px; }
  .analytics-main { padding: 32px 20px 60px; }
  .analytics-controls, .analytics-section-heading, .analytics-control-actions { align-items: flex-start; flex-direction: column; }
  .analytics-control-actions { width: 100%; }
  .range-group { width: 100%; }
  .range-group .filter-chip { flex: 1; }
  .analytics-control-actions .button { width: 100%; }
  .analytics-kpis { grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 30px; }
  .analytics-kpi { min-height: 125px; padding: 16px; }
  .analytics-kpi strong { font-size: 27px; }
  .analytics-kpi .kpi-text { font-size: 16px; }
  .analytics-kpi small { font-size: 9px; }
  .analytics-trend-panel, .analytics-list-panel { padding: 20px 16px; }
  .analytics-lower-grid { grid-template-columns: 1fr; }
  .trend-chart { min-height: 210px; }
  .trend-column { height: 195px; }
  .trend-bars { height: 165px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
