/* Hanabira.eu: blush paper, the original illustrated mark and a quiet journal. */
:root {
  --paper: #fef3f2;
  --white: #fffcfa;
  --ink: #423831;
  --muted: #594a44;
  --accent: #36571f;
  --line: #e6d5d0;
  --soft: #f6e7e3;
  --rose: #a16870;
  --sans: "Cabin", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.75;
}
body.admin-page {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
}
a {
  color: #36571f;
  transition: color 0.18s ease;
}
a:hover {
  color: #83515b;
}
h1,
h2,
h3 {
  color: #423831;
  font-family: var(--serif);
  font-weight: 400;
}
h1 {
  font-size: clamp(34px, 4vw, 52px);
}
h2 {
  font-size: 30px;
}
button,
.button,
input,
select,
textarea,
label,
.eyebrow,
.hint,
.badge,
.footer,
.breadcrumbs,
.search {
  font-family: var(--sans);
}
button,
.button {
  background: var(--accent);
  border-color: var(--accent);
  border-radius: 7px;
  font-size: 14px;
  font-weight: 600;
  padding: 11px 17px;
  box-shadow: 0 2px 4px #42383108;
}
button:hover,
.button:hover {
  background: #36571f;
  box-shadow: 0 4px 12px #42383112;
}
button.secondary,
.button.secondary {
  background: #fffcfa !important;
  border-color: #c9d1b7 !important;
  color: #36571f;
}
button.secondary:hover,
.button.secondary:hover {
  background: #f0f3e8 !important;
}
input:not([type="checkbox"]):not([type="hidden"]),
textarea,
select {
  background: #fffdfb;
  border-color: #dbcac4;
  border-radius: 7px;
  padding: 10px 12px;
  color: var(--ink);
}
input:focus,
textarea:focus,
select:focus {
  border-color: #75864c;
  box-shadow: 0 0 0 3px #75864c15;
}
:focus-visible {
  outline-color: #657b3d;
}
.muted,
.hint,
.small {
  color: var(--muted);
}
.eyebrow {
  color: #36571f;
  letter-spacing: 1.25px;
  font-size: 12px;
}
.wrap {
  max-width: 1100px;
  padding-left: 38px;
  padding-right: 38px;
}
.site-header {
  border: 0;
  font-family: var(--sans);
}
.brandmark {
  display: block;
  text-decoration: none;
}
.brandmark img {
  display: block;
  width: 170px;
  height: auto;
  margin: 0 auto;
}
.brand-caption {
  text-align: center;
  font-size: 12px;
  line-height: 1.65;
  color: var(--muted);
  margin: 14px 0 0;
  letter-spacing: 0.3px;
}
.site-header .site-nav,
.site-header .admin-nav {
  display: flex;
  flex-direction: column;
  gap: 4px !important;
  font-size: 15px;
  padding: 22px 0;
  text-align: center;
  width: 100%;
}
.site-header nav a {
  padding: 8px 12px;
  text-decoration: none;
  border-radius: 6px;
  min-height: 38px;
  transition:
    background 0.18s,
    color 0.18s;
}
.site-header nav a:hover {
  background: #eddbd750;
  color: #36571f;
}
.site-header nav a[aria-current="page"] {
  background: #edf0e2;
  color: #36571f;
  font-weight: 600;
}
.site-header .shop-link {
  border-bottom: 0;
  margin-top: 8px;
}
.site-header .sidebar-secondary {
  border-top: 1px dashed #d6c3bc;
  font-size: 12px;
  padding: 16px 0;
}
.nav-caption {
  font: 12px var(--sans);
  text-transform: uppercase;
  letter-spacing: 1.6px;
  color: #594a44;
  margin-bottom: 10px;
}
.sidebar-note {
  border-top: 1px dashed #d6c3bc;
  text-align: center;
  padding: 20px 0;
}
.sidebar-note p {
  font-size: 12px;
  color: #594a44;
  line-height: 1.65;
  margin: 8px 0;
}
.ornament {
  color: #aa7780;
  font: 27px var(--serif);
}
.site-header .admin-nav {
  background: transparent;
  border-radius: 0;
  white-space: normal;
  overflow: visible;
  text-align: left;
  padding: 18px 0 12px;
}
.site-header .admin-nav .nav-caption {
  text-align: center;
}
.site-header .admin-nav a {
  padding: 8px 16px;
}
.site-header .admin-nav form {
  margin: 10px 0 0;
  border-top: 1px dashed #d6c3bc;
}
.site-header .admin-nav form button {
  font-size: 12px;
  margin: 8px 0 0;
}
.main {
  padding-top: 30px;
}
.announcement {
  background: #f2e1dc;
  border-bottom: 1px dashed #d8c2ba;
  font: 13px/1.6 var(--sans);
}
.hero {
  display: block;
  position: relative;
  text-align: center;
  padding: 38px 0 48px;
}
.hero h1 {
  font-size: clamp(34px, 3.4vw, 42px);
  line-height: 1.3;
  letter-spacing: -0.6px;
}
.hero .lead {
  font: 19px/1.8 var(--serif);
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  color: #594a44;
}
.hero .actions {
  justify-content: center;
  gap: 20px;
  margin-top: 24px;
}
.text-link {
  font-family: var(--sans);
  font-size: 13px;
}
.petal-art {
  position: absolute;
  right: -15px;
  top: -15px;
  height: 110px;
  width: 110px;
  background: none;
  overflow: hidden;
  opacity: 0.6;
  pointer-events: none;
}
.petal-art img {
  width: 110px;
  height: 93px;
  opacity: 0.9;
}
.petal-art p {
  display: none;
  color: #594a44;
  font: 12px/1.5 var(--sans);
  letter-spacing: 1px;
  margin: 0;
}
.floating-petal {
  background: #dba0a455;
  width: 6px;
  height: 10px;
}
.section {
  border-top: 1px dashed #d6c3bc;
  padding: 34px 0;
}
.section-heading {
  margin-bottom: 14px;
}
.section-heading > a {
  font: 12px var(--sans);
}
.event-row {
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid #e6d5d0;
  border-radius: 0;
}
.event-row:hover {
  background: #fffaf745;
}
.event-row h2,
.event-row h3 {
  font-size: 23px;
}
.event-row p {
  color: #594a44;
  font: 12px/1.7 var(--sans);
}
.date-box {
  background: #fffcfa;
  border-color: #e4cfc8;
  border-radius: 7px;
  min-width: 62px;
}
.date-box strong {
  font-size: 29px;
  color: #36571f;
}
.date-box span {
  font-family: var(--sans);
  font-size: 12px;
}
.badge {
  border-color: #e4cfc8;
  background: #fffaf7;
  font-size: 12px;
  border-radius: 5px;
  color: #594a44;
}
.article-grid {
  display: block;
}
.article-card {
  border: 0;
  border-bottom: 1px solid #e6d5d0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  padding: 25px 0;
}
.article-card h2,
.article-card h3 {
  font-size: 27px;
}
.article-card p {
  font: 18px/1.8 var(--serif);
  color: #594a44;
}
.article-card p.eyebrow {
  font: 12px/1.6 var(--sans);
}
.store-section {
  background: transparent;
  border: 0;
  border-top: 1px dashed #d6c3bc;
  border-radius: 0;
  padding: 30px 0;
  gap: 35px;
}
.store-section p {
  font-size: 16px;
}
.store-section h2 {
  font-size: 27px;
}
.store-section h3 {
  font-size: 25px;
}
.footer {
  border-top: 1px dashed #d6c3bc;
  color: #594a44;
  font-size: 12px;
  gap: 20px;
}
.reading {
  margin-top: 30px;
  max-width: 780px;
}
.prose {
  font: 18px/1.85 var(--serif);
}
.prose h2 {
  font-size: 30px;
}
.prose h3 {
  font-size: 24px;
}
.prose blockquote {
  background: #f6e8e4;
  border-left-color: #b58888;
  border-radius: 0 6px 6px 0;
  color: #64524e;
}
.prose img {
  border-radius: 7px;
}
.prose hr {
  border: 0;
  border-top: 1px dashed #d6c3bc;
  margin: 30px 0;
}
.event-info,
.recipe-panel {
  background: #f6e8e4;
  border-radius: 8px;
}
.notice {
  background: #f5e6e1;
  border-color: #e4cfc8;
  border-radius: 8px;
  font: 14px/1.65 var(--sans);
}
.notice.success {
  background: #eef3e9 !important;
  border-left-color: #627e3c;
}
.notice.error {
  background: #fbebe6;
}
.auth-card {
  background: #fffcfa;
  border-color: #e6d5d0;
  box-shadow: 0 12px 35px #79555208;
}
.auth-card label,
.auth-card p,
.auth-card input,
.auth-card button {
  font-family: var(--sans);
}
.panel,
.media-card,
.metric,
.metrics > a {
  background: #fffcfa;
  border-color: #e6d5d0;
  border-radius: 9px;
}
.tabs {
  border-color: #dfc8c0;
}
.tabs a[aria-current="page"] {
  border-color: #6d824a;
}
.content-row {
  border-color: #e6d5d0;
}
th {
  background: #f5e6e1;
  color: #64524e;
}
td,
th {
  border-color: #e6d5d0;
}
/* A writing sheet, rather than a collection of form boxes. */
.editor-top {
  background: #fef3f2ed;
  border-bottom: 1px dashed #dfc8c0;
  padding: 14px 0 20px;
  gap: 18px;
}
.editor-top h1,
.admin-page .editor-top h1 {
  font-size: 31px;
  margin: 7px 0 5px;
}
.editor-back {
  color: #594a44;
  font-size: 12px !important;
  text-decoration: none;
}
.editor-top .editor-actions {
  gap: 8px;
}
.editor-actions button {
  margin: 0;
  font-size: 12px;
}
.save-status {
  font-size: 12px;
  color: #594a44;
}
.save-status::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #809363;
  margin-right: 7px;
  vertical-align: 1px;
}
.save-status.changed::before {
  background: #a87728;
}
.editor-layout {
  grid-template-columns: minmax(0, 1fr) 245px;
  gap: 25px;
  margin-top: 28px;
}
.document-page {
  background: #fffcfa;
  border: 1px solid #e4d3cb;
  border-radius: 12px;
  box-shadow:
    0 9px 32px #8a605209,
    0 2px 5px #8a605204;
  overflow: clip;
}
.document-page:focus-within {
  border-color: #c4cba9;
  box-shadow:
    0 9px 32px #8a605209,
    0 0 0 3px #75864c08;
}
.document-masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 19px 30px 12px;
  color: #7f6960;
}
.document-masthead > span:first-child {
  font: 12px var(--sans);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}
.document-flower {
  color: #b98c92;
  font: 25px/1 var(--serif);
}
.document-intro {
  padding: 0 30px;
}
.document-intro label {
  font-size: 12px;
  font-weight: 500;
  color: #594a44;
  margin: 10px 0 5px;
}
.document-intro input.title-input {
  border: 0;
  border-bottom: 1px solid #eddfd9;
  border-radius: 0;
  padding: 6px 0 13px !important;
  background: transparent;
  font: 400 30px/1.3 var(--serif);
  color: #423831;
  box-shadow: none;
}
.document-intro input.title-input:focus {
  outline-offset: 4px;
}
.document-intro textarea {
  border: 0;
  border-bottom: 1px solid #eddfd9;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 6px 0 15px;
  min-height: 75px;
  font: 16px/1.8 var(--serif);
  color: #594a44;
  resize: vertical;
}
.document-page .canvas-heading {
  padding: 19px 25px 12px;
  margin: 0;
}
.canvas-heading .eyebrow {
  font-size: 12px;
  letter-spacing: 1.2px;
  color: #7f6960;
  margin: 0;
}
.segmented {
  padding: 3px;
  border: 1px solid #e9d9d0;
  border-radius: 7px;
  background: #f8efea;
}
.segmented button {
  margin: 0;
  font-size: 12px;
  border-radius: 4px;
  min-height: 28px;
  padding: 4px 9px;
  color: #594a44;
}
.segmented button.active {
  background: #fffcfa;
  color: #36571f;
  box-shadow: 0 1px 4px #79555210;
}
.rich-editor {
  border: 1px solid #e4d3cb;
  background: #fffcfa;
  border-radius: 10px;
}
.document-page .rich-editor {
  border: 0;
  border-radius: 0;
}
.editor-toolbar {
  position: sticky;
  top: 111px;
  background: #faf2ed;
  padding: 9px 12px;
  border-top: 1px solid #f2e7e0;
  border-bottom: 1px solid #e9d9d0;
  gap: 8px;
  align-items: center;
}
.toolbar-group {
  display: flex;
  gap: 3px;
  align-items: center;
  padding-right: 8px;
  border-right: 1px solid #e3cfc7;
}
.toolbar-group:last-child {
  border: 0;
  padding-right: 0;
}
.editor-toolbar button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: transparent !important;
  color: #594a44;
  padding: 6px 8px;
  min-height: 35px;
  margin: 0;
  border-radius: 5px;
  font-size: 12px;
}
.editor-toolbar button.icon-button {
  width: 34px;
  padding: 5px;
}
.editor-toolbar button svg {
  width: 17px;
  height: 17px;
  flex: none;
}
.editor-toolbar button:hover {
  background: #efdfd7 !important;
  color: #423831;
}
.editor-toolbar button.active {
  background: #e2e9d5 !important;
  color: #36571f;
}
.editor-toolbar button:disabled {
  opacity: 0.35;
  cursor: default;
}
.editor-surface {
  padding: 8px 30px 25px;
  transition: max-width 0.2s ease;
}
.editor-surface .tiptap {
  padding: 3px 0;
  min-height: 370px;
  font: 18px/1.85 var(--serif);
  color: #423831;
}
.editor-surface .tiptap:focus {
  outline: none;
}
.editor-surface .tiptap > :first-child {
  margin-top: 18px;
}
.editor-surface .tiptap h2 {
  font: 400 29px/1.3 var(--serif);
  margin: 28px 0 18px;
}
.editor-surface .tiptap h3 {
  font: 400 24px/1.3 var(--serif);
}
.editor-surface .tiptap p {
  margin: 1em 0;
}
.editor-surface .tiptap img {
  max-height: 440px;
  object-fit: contain;
}
.editor-surface .tiptap blockquote p {
  margin: 0;
}
.editor-surface .tiptap [data-gallery] img {
  height: 200px;
  object-fit: cover;
}
.rich-editor.mobile-canvas {
  background: #f6ede7;
}
.rich-editor.mobile-canvas .editor-surface {
  background: #fffcfa;
  border-color: #e9d9d0;
}
.editor-footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 24px;
  border-top: 1px solid #f0e4de;
  color: #7f6960;
  font: 12px/1.6 var(--sans);
}
.writing-hint {
  padding: 4px 8px;
  color: #7f6960;
  font-size: 12px;
}
.inspector-heading {
  color: #7f6960;
  font: 12px var(--sans);
  letter-spacing: 1.3px;
  text-transform: uppercase;
  margin: 3px 0 15px 3px;
}
.editor-inspector > details {
  border: 1px solid #e8d7ce;
  border-radius: 9px;
  padding: 16px;
  background: #fffaf7;
  margin-bottom: 13px;
  box-shadow: 0 3px 9px #79555203;
}
.editor-inspector summary {
  font: 500 14px/1.8 var(--sans);
  color: #64524e;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 24px;
}
.editor-inspector summary::-webkit-details-marker {
  display: none;
}
.editor-inspector summary::after {
  content: "+";
  font: 17px var(--serif);
  color: #a8877b;
  margin-left: 8px;
}
.editor-inspector details[open] > summary::after {
  content: "−";
}
.editor-inspector details[open] > summary {
  margin-bottom: 10px;
}
.editor-inspector label {
  font-size: 12px;
  color: #594a44;
  margin-top: 14px;
}
.editor-inspector input,
.editor-inspector select,
.editor-inspector textarea {
  font-size: 14px;
  padding: 8px 10px;
}
.editor-inspector .hint {
  font-size: 12px;
  line-height: 1.65;
  color: #594a44;
}
.editor-inspector .inspector-subsection {
  border: 0;
  border-top: 1px dashed #e1cec4;
  border-radius: 0;
  padding: 12px 0 0;
  margin: 17px 0 0;
  background: none;
}
.editor-inspector .inspector-subsection summary {
  font-size: 12px;
  color: #594a44;
}
.cover-picker-preview {
  overflow: hidden;
  border: 1px dashed #decac0;
  border-radius: 6px;
  background: #faf0e8;
}
.cover-picker-preview:empty {
  min-height: 105px;
  display: grid;
  place-items: center;
}
.cover-picker-preview:empty::before {
  content: "❀";
  font: 38px var(--serif);
  color: #c3a09c;
}
.editor-inspector .cover-picker-preview img {
  display: block;
  height: 130px;
  border-radius: 5px;
  object-fit: cover;
}
.cover-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 3px;
  margin-top: 12px;
}
.cover-actions button {
  margin-top: 0;
  font-size: 12px;
  min-height: 36px;
  padding: 7px 9px;
}
.cover-actions .text-button {
  font-size: 12px;
}
.editor-inspector .search-preview {
  background: #fffcfa;
}
.search-preview strong {
  font-size: 16px;
}
.editor-dialog {
  background: #fffcfa;
  border-color: #e4d3cb;
  border-radius: 14px;
  box-shadow: 0 22px 80px #79555235;
}
.editor-dialog::backdrop {
  background: #5b46494d;
  backdrop-filter: blur(4px);
}
.editor-dialog h2 {
  color: #64524e;
  font-size: 29px;
}
.editor-dialog .dialog-actions {
  background: #fffcfa;
  border-top: 1px solid #ecdcd3;
}
.editor-dialog .upload-panel {
  background: #f7ebe6;
  border-radius: 8px;
  padding: 15px;
}
.picker-tile {
  border-radius: 9px;
  border-color: #e8d7ce !important;
  background: #fffaf7 !important;
}
.picker-tile img {
  border-radius: 5px;
}
.picker-tile.selected {
  border-color: #7d9554 !important;
  background: #eef1e4 !important;
}
.date-chips button {
  background: #eef1e4;
  border-color: #c8d3b2;
  color: #36571f;
  border-radius: 6px;
}
.danger-actions {
  border-color: #e6d5d0;
  padding: 18px 0;
}
.danger-actions button {
  font-size: 12px;
}
/* Desktop uses the familiar .EU side column; smaller screens keep a compact header. */
@media (min-width: 1180px) {
  body {
    padding-left: 277px;
  }
  .site-header {
    position: fixed;
    inset: 0 auto 0 0;
    width: 277px;
    height: 100dvh;
    max-width: none;
    padding: 58px 32px 20px;
    border-right: 1px dashed #d6c3bc;
    background: #fdf1ef;
    display: block;
    overflow-y: auto;
    scrollbar-width: thin;
    z-index: 40;
  }
  .site-header .site-nav {
    border-top: 1px dashed #d6c3bc;
    margin-top: 25px;
  }
  .admin-page .brandmark img {
    width: 108px;
  }
  .admin-page .brand-caption {
    font-size: 12px;
    margin-top: 10px;
  }
  .admin-page .brand-block {
    padding-bottom: 18px;
    border-bottom: 1px dashed #d6c3bc;
  }
  .admin-page .sidebar-secondary {
    margin-top: 0;
  }
  .admin-page .main {
    max-width: 1190px;
  }
  body:not(.admin-page) .main,
  body:not(.admin-page) .footer {
    max-width: 940px;
    padding-left: 50px;
    padding-right: 50px;
  }
}
@media (max-width: 1179px) {
  .site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding-top: 20px;
    padding-bottom: 18px;
    border-bottom: 1px dashed #d6c3bc;
  }
  .brand-block {
    display: flex;
    align-items: center;
    gap: 20px;
  }
  .brandmark img {
    width: 62px;
  }
  .brand-caption {
    text-align: left;
    font-size: 12px;
    margin: 0;
  }
  .site-header .site-nav {
    flex-direction: row;
    width: auto;
    flex-wrap: wrap;
    gap: 2px !important;
    padding: 0;
    justify-content: flex-end;
  }
  .site-header .site-nav a {
    font-size: 12px;
    padding: 8px 10px;
  }
  .site-header .shop-link {
    margin: 0;
  }
  .sidebar-note {
    display: none;
  }
  .site-header:has(.admin-nav) {
    flex-wrap: wrap;
    column-gap: 22px;
  }
  .site-header .admin-nav {
    flex-direction: row;
    overflow-x: auto;
    flex-wrap: nowrap !important;
    width: 100%;
    order: 3;
    padding: 12px 0 0;
    white-space: nowrap;
    border-top: 1px dashed #d6c3bc;
  }
  .site-header .admin-nav a {
    padding: 8px 12px;
  }
  .site-header .admin-nav form {
    border: 0;
    margin: 0;
  }
  .site-header .admin-nav form button {
    margin: 0;
    white-space: nowrap;
  }
  .site-header .admin-nav .nav-caption {
    display: none;
  }
  .site-header .sidebar-secondary {
    border: 0;
    padding: 0;
    margin: 0;
  }
}
@media (max-width: 960px) {
  .wrap {
    padding-left: 26px;
    padding-right: 26px;
  }
  .editor-layout {
    grid-template-columns: minmax(0, 1fr) 230px;
    gap: 18px;
  }
  .document-intro {
    padding: 0 22px;
  }
  .document-masthead {
    padding-left: 22px;
    padding-right: 22px;
  }
  .document-page .canvas-heading {
    padding-left: 18px;
    padding-right: 18px;
  }
  .editor-surface {
    padding-left: 22px;
    padding-right: 22px;
  }
  .toolbar-group {
    gap: 1px;
    padding-right: 5px;
  }
  .editor-toolbar {
    gap: 5px;
  }
  .editor-toolbar button.icon-button {
    width: 32px;
  }
  .hero {
    grid-template-columns: minmax(0, 1fr) 185px;
  }
  .petal-art {
    display: none;
  }
  .petal-art img {
    width: 180px;
  }
}
@media (max-width: 720px) {
  .wrap {
    padding-left: 20px;
    padding-right: 20px;
  }
  .site-header {
    flex-wrap: wrap;
    gap: 10px 20px;
  }
  .site-header .brand-block {
    gap: 14px;
  }
  .site-header .site-nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    width: 100%;
    padding-top: 10px;
    border-top: 1px dashed #d6c3bc;
  }
  .site-header .site-nav a {
    white-space: nowrap;
    font-size: 12px;
  }
  .site-header .sidebar-secondary {
    width: auto;
    margin-left: auto;
    border: 0;
    padding: 0;
    flex-direction: column;
    align-items: flex-end;
  }
  .site-header .sidebar-secondary a {
    min-height: 30px;
  }
  .brandmark img {
    width: 47px;
  }
  .brand-caption {
    font-size: 12px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-top: 24px;
    gap: 0;
  }
  .hero h1 {
    font-size: 39px;
  }
  .petal-art {
    display: none;
  }
  .hero .lead {
    font-size: 17px;
  }
  .section {
    padding: 27px 0;
  }
  .article-grid {
    grid-template-columns: 1fr;
  }
  .editor-layout {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .editor-top {
    position: relative;
    padding-bottom: 16px;
    backdrop-filter: none;
  }
  .editor-top h1,
  .admin-page .editor-top h1 {
    font-size: 28px;
  }
  .editor-inspector {
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: 12px;
  }
  .inspector-heading {
    grid-column: 1 / -1;
    margin-bottom: 0;
  }
  .editor-inspector > details {
    margin: 0;
  }
  .page-editor .editor-actions {
    background: #fef3f2f5;
    border-color: #dfc8c0;
  }
  .page-editor .editor-actions button {
    font-size: 12px;
  }
  .editor-toolbar {
    position: relative;
    top: 0;
    padding: 9px 10px;
    gap: 5px;
  }
  .editor-toolbar button {
    min-height: 40px;
  }
  .editor-toolbar button.icon-button {
    width: 36px;
  }
  .editor-surface .tiptap {
    min-height: 310px;
  }
  .document-page {
    border-radius: 10px;
  }
  .document-masthead {
    padding: 17px 20px 10px;
  }
  .document-masthead > span:first-child {
    font-size: 12px;
    letter-spacing: 1.1px;
  }
  .document-intro {
    padding: 0 20px;
  }
  .document-intro input.title-input,
  .page-editor .document-intro input.title-input {
    font-size: 26px;
  }
  .document-intro textarea {
    font-size: 16px;
  }
  .editor-surface {
    padding: 6px 20px 22px;
  }
  .document-page .canvas-heading {
    padding: 17px 18px 11px;
  }
  .canvas-heading .eyebrow {
    font-size: 12px;
  }
  .editor-surface .tiptap {
    font-size: 17px;
  }
  .editor-surface .tiptap h2 {
    font-size: 26px;
  }
  .editor-footer {
    padding: 12px 20px;
    font-size: 12px;
  }
  .writing-hint {
    font-size: 12px;
  }
  .store-section {
    padding: 23px;
  }
  .notice {
    font-size: 12px;
  }
}
@media (max-width: 480px) {
  .wrap {
    padding-left: 16px;
    padding-right: 16px;
  }
  .editor-inspector {
    grid-template-columns: 1fr;
  }
  .section-heading {
    gap: 10px;
  }
  .hero h1 {
    font-size: 36px;
  }
  .hero .actions {
    gap: 15px;
  }
  .hero .actions .button {
    font-size: 12px;
  }
  .editor-top p {
    max-width: 340px;
  }
  .editor-toolbar {
    gap: 6px;
  }
  .toolbar-group:last-child {
    margin-left: auto;
  }
  .editor-dialog {
    padding: 19px;
    border-radius: 12px;
  }
  .dialog-actions {
    bottom: -19px;
  }
  .event-row h3,
  .event-row h2 {
    font-size: 21px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .document-page,
  .site-header nav a {
    transition: none;
  }
}
.sidebar-note p {
  font:
    19px/1.5 "Satisfy",
    var(--serif);
}
.editor-top h1,
.admin-page .editor-top h1 {
  font-family: "Satisfy", var(--serif);
  font-size: 35px;
}
.document-masthead > span:first-child {
  font:
    16px "Satisfy",
    var(--serif);
  text-transform: none;
  letter-spacing: 0.15px;
}
.site-header .admin-nav {
  align-items: stretch;
}
@media (max-width: 720px) {
  .site-header nav a {
    min-height: 44px;
  }
  .document-masthead > span:first-child {
    font-size: 14px;
  }
  .editor-top h1,
  .admin-page .editor-top h1 {
    font-size: 32px;
  }
}
