/* Minimal hospitality-inspired application interface */
body { background: #f7f7f7; color: #222; }
.app { grid-template-rows: 70px 1fr; background: #f7f7f7; }
.topbar {
  padding: 0 24px; color: #222; background: #fff;
  border-bottom: 1px solid #ededed; box-shadow: none; backdrop-filter: blur(16px);
}
.brand { gap: 10px; }
.brand-logo { display: block; width: 142px; height: 100%; object-fit: contain; flex: 0 0 auto; }
.brand-mark {
  width: 32px; height: 32px; color: #fff; background: #222;
  border: 0; border-radius: 50%; font: 600 15px/1 var(--ui-font);
}
.brand-title { color: #222; font: 560 15px/1.1 var(--ui-font); letter-spacing: -.01em; }
.save-state { color: #717171; font-size: 13px; font-weight: 400; }
.button {
  min-height: 38px; padding: 8px 14px; color: #222; background: #fff;
  border: 1px solid #dedede; border-radius: 999px; box-shadow: none;
  font-size: 14px; font-weight: 520; transition: background .15s ease, border-color .15s ease;
}
.button:hover { transform: none; background: #f7f7f7; border-color: #cfcfcf; }
.button.primary { color: #fff; background: #222; border-color: #222; }
.button.primary:hover { background: #000; border-color: #000; }
.button.ghost { color: #222; background: #fff; border-color: #dedede; opacity: 1; }
.button.small { min-height: 34px; padding: 6px 11px; font-size: 13px; font-weight: 500; }
.button.icon { width: 36px; padding: 0; }
.button.danger { color: #717171; }
.button.danger:hover { color: #b23b3b; background: #fff7f7; border-color: #efcaca; }
button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid rgba(226, 91, 91, .32); outline-offset: 2px;
}
.workspace { grid-template-columns: 250px minmax(0, 1fr); }
.sidebar {
  top: 70px; height: calc(100vh - 70px); min-height: calc(100vh - 70px);
  padding: 22px 14px; background: #fff; border-right: 1px solid #ededed;
}
.sidebar-label {
  margin: 2px 10px 12px; color: #8a8a8a; font-size: 12px; font-weight: 500;
  letter-spacing: .02em; text-transform: none;
}
.outline { gap: 4px; }
.outline-group { margin: 16px 10px 5px; color: #8a8a86; font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.outline-item {
  padding: 11px 12px; color: #5f5f5f; border: 0; border-radius: 12px;
  grid-template-columns: 25px minmax(0, 1fr); background: transparent;
}
.outline-item:hover { background: #f7f7f7; }
.outline-item.active { color: #222; background: #f2f2f2; border: 0; box-shadow: none; }
.outline-number { color: #8a8a8a; font: 500 12px/1.4 var(--ui-font); }
.outline-item.active .outline-number { color: #de6868; }
.outline-name { font-size: 14px; font-weight: 500; }
.outline-meta { color: #929292; font-size: 12px; }
.sidebar-foot { margin-top: 14px; }
.sidebar-foot .button { justify-content: flex-start; border-color: transparent; background: transparent; }
.sidebar-foot .button:hover { background: #f2f2f2; }
.main { padding: 30px clamp(20px, 4vw, 52px) 72px; background: #f7f7f7; }
.editor-wrap { max-width: 900px; }
.editor-head { margin-bottom: 18px; }
.editor-head h1 {
  color: #222; font: 580 clamp(25px, 3vw, 32px)/1.15 var(--display-font);
  letter-spacing: -.035em;
}
.card { border: 1px solid #e6e6e6; border-radius: 18px; background: #fff; box-shadow: none; }
.meta-card, .section-card { padding: 24px; }
.card-title { margin-bottom: 20px; }
.card-title h2 { color: #222; font: 560 20px/1.25 var(--display-font); letter-spacing: -.02em; }
.helper { color: #777; font-size: 13px; }
label.field { color: #555; font-size: 13px; font-weight: 500; }
input, textarea, select {
  color: #222; background: #fff; border: 1px solid #dedede; border-radius: 10px;
  padding: 11px 12px; font-size: 15px;
}
input:hover, textarea:hover, select:hover { border-color: #c9c9c9; }
.section-top { border-bottom-color: #ededed; }
.section-title-input { color: #222; font: 570 24px/1.2 var(--display-font); letter-spacing: -.025em; }
.block-toolbar {
  top: 75px; padding: 8px; background: rgba(255,255,255,.94);
  border-color: #e6e6e6; border-radius: 14px; box-shadow: 0 4px 18px rgba(0,0,0,.035);
}
.blocks { gap: 12px; }
.block { border-color: #e6e6e6; border-radius: 14px; background: #fff; }
.block-head { padding: 10px 12px; background: #fafafa; border-bottom-color: #ededed; }
.block-type {
  color: #555; font-size: 12px; font-weight: 550; letter-spacing: .02em; text-transform: none;
}
.type-dot { width: 6px; height: 6px; background: #de6868; }
.block-body { padding: 16px; }
.reveal-select { min-width: 144px; font-size: 12px; font-weight: 500; }
.media-drop {
  color: #555; background: #fafafa; border-color: #d3d3d3; border-radius: 12px; padding: 24px;
}
.media-drop:hover { background: #f5f5f5; border-color: #bcbcbc; }
.media-drop strong, .media-badge { font-weight: 550; }
.media-edit { border-color: #e5e5e5; border-radius: 12px; }
.empty-blocks { color: #777; background: #fafafa; border-color: #d8d8d8; border-radius: 14px; }
.swatch { width: 25px; height: 25px; border-width: 2px; box-shadow: 0 0 0 1px #d2d2d2; }
.swatch.active { box-shadow: 0 0 0 2px #222; }
.preview-bar {
  color: #222; background: rgba(255,255,255,.96); border-bottom: 1px solid #e8e8e8;
  box-shadow: none; backdrop-filter: blur(16px);
}
[data-action="close-preview"] { position: relative; font-size: 0; }
[data-action="close-preview"]::before,
[data-action="close-preview"]::after {
  content: ""; position: absolute; top: 50%; left: 50%; width: 16px; height: 1px;
  border-radius: 999px; background: currentColor;
}
[data-action="close-preview"]::before { transform: translate(-50%, -50%) rotate(45deg); }
[data-action="close-preview"]::after { transform: translate(-50%, -50%) rotate(-45deg); }
.segmented { padding: 3px; background: #f2f2f2; border-color: #e3e3e3; border-radius: 999px; }
.segmented button { color: #666; border-radius: 999px; font-weight: 500; }
.segmented button.active { color: #fff; background: #222; }
.toast {
  color: #fff; background: #222; border: 0; border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0,0,0,.18);
}
.toast-action { color: #222; background: #fff; border-radius: 999px; }
.thumbnail-picker { background: rgba(0,0,0,.48); }
.thumbnail-card { border-color: #e3e3e3; border-radius: 18px; }
.thumbnail-head h2 { color: #222; font-weight: 560; }
.thumbnail-stage { border-radius: 12px; }
/* Simplified section editor */
.section-card { padding: 0; overflow: hidden; }
.section-top {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start;
  gap: 18px; padding: 24px; border-bottom: 1px solid #ededed;
}
.section-title-fields { gap: 8px; }
.section-category-label { display: flex; align-items: center; gap: 8px; width: fit-content; color: #777; font-size: 11px; font-weight: 650; letter-spacing: .04em; text-transform: uppercase; }
.section-category-select { min-height: 30px; padding: 4px 28px 4px 9px; border-radius: 999px; font-size: 12px; font-weight: 550; letter-spacing: 0; text-transform: none; }
.section-title-input {
  border: 0; border-radius: 8px; padding: 4px 6px; margin-left: -6px;
  font-size: 28px; background: transparent;
}
.section-subtitle-input {
  border: 0; border-radius: 8px; padding: 6px; margin-left: -6px;
  color: #707070; background: transparent; font-size: 16px;
}
.section-title-input:hover, .section-subtitle-input:hover,
.section-title-input:focus, .section-subtitle-input:focus { background: #f7f7f7; border-color: transparent; }
.section-actions { gap: 4px; align-items: center; }
.icon-control {
  width: 38px; height: 38px; padding: 0; border: 0; border-radius: 999px;
  display: inline-grid; place-items: center; color: #666; background: transparent;
}
.icon-control:hover { color: #222; background: #f2f2f2; transform: none; }
.icon-control.active { color: #fff; background: #222; }
.icon-control.danger:hover { color: #b33b3b; background: #fff0f0; }
.icon-control svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.section-blur-note {
  display: none; align-items: center; gap: 5px; width: fit-content; margin: 8px 24px 0; padding: 4px 7px;
  border-radius: 6px; color: #666; background: #f5f5f5; font-size: 11px; line-height: 1.25;
}
.section-blur-note.show { display: inline-flex; }
.section-blur-note svg {
  width: 12px; height: 12px; flex: 0 0 12px; fill: none; stroke: currentColor;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.section-content { padding: 18px 24px 26px; display: grid; gap: 14px; }
.content-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.content-heading h2 { margin: 0; color: #292929; font: 560 15px/1.3 var(--ui-font); }
.paragraphs { display: grid; gap: 12px; }
.paragraph-editor {
  position: relative; border: 1px solid #e7e7e7; border-radius: 14px; background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.paragraph-editor:focus-within { border-color: #bdbdbd; box-shadow: 0 0 0 3px rgba(0,0,0,.035); }
.rich-toolbar {
  display: flex; align-items: center; gap: 2px; min-height: 42px; padding: 5px 7px;
  border-bottom: 1px solid #eeeeee; overflow-x: auto;
}
.tool-divider { width: 1px; height: 20px; flex: 0 0 auto; margin: 0 4px; background: #e7e7e7; }
.rich-tool {
  min-width: 31px; height: 31px; padding: 0 7px; border: 0; border-radius: 7px;
  color: #555; background: transparent; font-size: 13px; display: inline-grid; place-items: center;
}
.rich-tool:hover, .rich-tool.active { color: #111; background: #f0f0f0; transform: none; }
.rich-tool strong { font-size: 14px; }
.rich-tool svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.rich-style {
  width: auto; min-width: 92px; height: 31px; padding: 2px 25px 2px 8px;
  border: 0; border-radius: 7px; background: transparent; font-size: 13px;
}
.rich-editor {
  min-height: 145px; padding: 16px 17px; color: #292929; font-size: 16px;
  line-height: 1.7; outline: 0; overflow-wrap: anywhere;
}
.rich-editor:empty::before { content: attr(data-placeholder); color: #aaa; pointer-events: none; }
.rich-editor p, .rich-editor ul, .rich-editor ol, .rich-editor blockquote { margin: 0 0 .8em; }
.rich-editor h2, .rich-editor h3 { margin: .35em 0 .55em; font-family: var(--display-font); line-height: 1.25; }
.rich-editor blockquote { padding-left: 14px; border-left: 3px solid #ccc; color: #666; }
.paragraph-foot { position: absolute; right: 8px; top: 6px; display: flex; gap: 2px; }
.rich-toolbar { padding-right: 82px; }
.media-section { margin-top: 6px; padding-top: 18px; border-top: 1px solid #eeeeee; display: grid; gap: 12px; }
.media-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.media-edit-body { gap: 7px; }
.media-edit-top { display: flex; justify-content: flex-end; }
.media-drop { width: 100%; border-radius: 14px; padding: 20px; }
.add-row {
  width: 100%; min-height: 44px; border: 1px dashed #d1d1d1; border-radius: 12px;
  color: #555; background: #fafafa; display: flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 14px;
}
.add-row:hover { color: #222; border-color: #aaa; background: #f5f5f5; }
.owner-blurred-section { position: relative; overflow: hidden; min-height: 190mm; }
.owner-blurred-section .owner-blur-content { filter: blur(7px); opacity: .42; user-select: none; pointer-events: none; }
.owner-blur-overlay {
  position: absolute; inset: 0; z-index: 3; display: grid; place-content: center; text-align: center;
  padding: 20mm; background: rgba(248,248,246,.28); color: #333;
}
.owner-blur-overlay strong { display: block; font: 600 18pt/1.2 var(--display-font); margin-bottom: 3mm; }
.owner-blur-overlay span { color: #777; font-size: 9pt; }
.report-sheet.page { overflow: visible; }
#printRoot { display: none; }
@media (max-width: 900px) {
  .workspace { grid-template-columns: 1fr; }
  .sidebar { position: static; height: auto; min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .outline { display: flex; overflow: auto; padding-bottom: 5px; }
  .outline-item { min-width: 210px; }
  .sidebar-foot { grid-template-columns: 1fr; }
  .block-toolbar { top: 70px; }
  .save-state { display: none; }
}
@media (max-width: 650px) {
  .topbar { padding: 0 12px; }
  .top-actions .button span.optional { display: none; }
  .main { padding: 20px 12px 50px; }
  .editor-head, .section-top { grid-template-columns: 1fr; display: grid; }
  .form-grid, .field-row, .finding-grid, .media-grid { grid-template-columns: 1fr; }
  .section-card, .meta-card { padding: 16px; }
  .section-card { padding: 0; }
  .section-top { padding: 18px; grid-template-columns: 1fr; }
  .section-actions { order: -1; justify-content: flex-end; }
  .section-content { padding: 14px 18px 22px; }
  .section-blur-note { margin: 8px 18px 0; }
  .rich-toolbar { padding-right: 76px; }
  .block-toolbar { align-items: flex-start; flex-direction: column; }
  .preview-bar { padding: 0 9px; }
  .preview-title strong { display: none; }
  .preview-actions .button span { display: none; }
  .segmented button { padding: 7px 8px; }
  .preview-scroll { padding: 16px 5px 60px; }
  .report-stack { transform-origin: top center; }
  .report-sheet { width: 100%; min-height: auto; }
  .cover { min-height: 145vw; }
  .cover-main { padding: 20vw 9vw 10vw; }
  .cover h1 { font-size: 9vw; }
  .cover-foot { padding: 6vw 9vw 8vw; }
  .page { padding: 9vw 8vw; }
  .cta-page { min-height: 145vw; padding: 11vw; }
}
@media print {
  @page { size: A4; margin: 0; }
  html, body { background: #fff !important; }
  .app, .modal, .toast { display: none !important; }
  #printRoot { display: block !important; }
  #printRoot .report-stack { display: block; }
  .report-sheet {
    width: 210mm !important; min-height: 297mm !important; margin: 0 !important;
    box-shadow: none !important; break-after: page; page-break-after: always;
    -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important;
  }
  #printRoot, #printRoot * { -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; }
  .report-sheet:last-child { break-after: auto; page-break-after: auto; }
  .media-video-live { display: none !important; }
  .media-video-poster { display: block !important; }
  .report-block, .finding-card, .media-report-card, .teaser-card, .concealed-card { break-inside: avoid; page-break-inside: avoid; }
}

[hidden] { display: none !important; }
.dashboard { max-width: 1200px; width: 100%; margin: 0 auto; padding: 68px 32px; }
.dashboard-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 44px; }
.dashboard-heading h1 { font: 560 clamp(32px, 4vw, 44px)/1.15 var(--display-font); letter-spacing: -.04em; margin: 10px 0 14px; }
.dashboard-heading p { display: none; }
.dashboard .eyebrow { color: #777; font-size: 11px; }
.project-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; border-bottom: 1px solid var(--line); padding-bottom: 20px; margin-bottom: 24px; }
.project-toolbar input { max-width: 280px; background: white; }
.project-toolbar strong { display: none; }
.project-count { color: #777; font-size: 13px; }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.project-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; transition: box-shadow .2s, transform .2s; }
.project-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px #00000009; }
.project-open { display: block; width: 100%; text-align: left; border: 0; background: transparent; padding: 0; color: inherit; }
.project-art { height: 164px; background: #f1f2ef; display: grid; place-items: center; border-bottom: 1px solid #eceee9; }
.project-paper { width: 92px; height: 120px; background: white; border: 1px solid #e2e4de; border-radius: 3px; box-shadow: 5px 6px 0 #e4e6df; padding: 19px 13px; }
.project-paper b { display: block; font: 600 22px Georgia, serif; margin-bottom: 17px; color: #4b5650; }
.project-paper i { display: block; height: 3px; background: #dfe3dc; margin: 7px 0; }
.project-paper i:last-child { width: 60%; }
.project-info { padding: 22px 52px 23px 22px; }
.project-info h2 { font: 600 17px/1.4 var(--ui-font); margin: 0 0 9px; overflow-wrap: anywhere; }
.project-info p { margin: 0; color: #777; font-size: 12px; line-height: 1.8; }
.project-delete { position: absolute; right: 12px; bottom: 30px; }
.new-project-card { min-height: 278px; border: 1px dashed #cdd1cb; border-radius: 16px; background: transparent; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; color: #666; }
.new-project-card:hover { background: #f3f4f1; border-color: #888; }
.new-project-card span { font-size: 30px; font-weight: 300; width: 48px; height: 48px; border-radius: 50%; background: #eeefeb; }
.dashboard-note { display: none; }
.project-dialog { width: min(440px, calc(100% - 32px)); border: 1px solid #ddd; border-radius: 18px; padding: 28px; color: var(--ink); box-shadow: var(--shadow); }
.project-dialog::backdrop { background: #0006; backdrop-filter: blur(3px); }
.project-dialog h2 { font: 600 24px var(--display-font); margin-bottom: 12px; }
.project-dialog p { color: #777; line-height: 1.6; overflow-wrap: anywhere; }
.dialog-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 24px; }
@media (max-width: 900px) { .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .dashboard { padding: 36px 20px; } .dashboard-heading { align-items: flex-start; flex-direction: column; margin-bottom: 30px; } .project-grid { grid-template-columns: 1fr; } .project-toolbar { align-items: flex-start; flex-direction: column; } .project-toolbar input { max-width: none; } }
.topbar-leading { display: flex; align-items: center; gap: 20px; min-width: 0; }
.back-button { display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 50%; color: #333; background: transparent; }
.back-button:hover { background: #f1f1ef; }
.back-button:focus-visible { outline: 3px solid rgba(30,30,29,.2); outline-offset: 2px; }
.back-button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
#projectsBack { flex-shrink: 0; border-color: #dedede; }
.cover-main::before { content: none; display: none; }
.report-page-footer { position: absolute; bottom: 7mm; left: 20mm; right: 20mm; z-index: 4; text-align: right; color: #737370; font: 400 9pt/1.4 var(--ui-font); }
@media (max-width: 650px) {
  .topbar-leading { gap: 10px; }
  .topbar-leading:has(#projectsBack:not([hidden])) .brand { display: none; }
}
.project-art img { width: 100%; height: 164px; object-fit: cover; display: block; }
.cover-control { display: grid; grid-template-columns: 200px 1fr; align-items: center; gap: 22px; padding-bottom: 24px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.cover-control-preview { height: 126px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: grid; place-items: center; background: #f3f4f1; color: #777; font-size: 13px; }
.cover-control-preview img { width: 100%; height: 126px; object-fit: contain; }
.cover-control h3 { margin: 0 0 8px; font-size: 15px; }
.cover-control-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cover-control button:disabled { opacity: .5; cursor: wait; }
.has-cover-image .cover-main { padding-top: 14mm; }
.report-cover-image { display: block; max-width: 100%; margin-bottom: 12mm; object-fit: contain; border-radius: 2mm; flex-shrink: 0; }
.landscape-cover .report-cover-image { width: 100%; height: auto; max-height: 112mm; object-fit: contain; }
.portrait-cover .report-cover-image { width: 72mm; height: auto; max-height: 108mm; align-self: center; object-fit: contain; background: transparent; }
.has-cover-image h1 { max-width: none; font-size: 32pt; }
@media screen and (max-width: 650px) {
  .cover-control { grid-template-columns: 1fr; gap: 16px; }
  .cover-control-preview, .cover-control-preview img { height: 180px; }
  .landscape-cover .report-cover-image { width: 100%; height: auto; max-height: 42vw; margin-bottom: 7vw; }
  .portrait-cover .report-cover-image { width: 48vw; height: auto; max-height: 68vw; margin-bottom: 7vw; }
  .has-cover-image h1 { font-size: 7vw; }
}
.project-folders { display: flex; align-items: center; gap: 12px; margin: 0 0 26px; padding: 0; border: 0; background: transparent; }
.project-folders-head { display: flex; flex: 1; align-items: center; justify-content: space-between; gap: 18px; }
.project-folders-head > div { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; min-width: 0; }
.project-folders-head strong { display: none; }
.project-folder-list { display: flex; flex-wrap: wrap; gap: 9px; order: -1; }
.project-folder-list:empty { display: none; }
.folder-choice { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-width: 0; padding: 8px 12px; border: 1px solid #deddd8; border-radius: 999px; background: #f7f6f2; }
.folder-choice.active { color: #fff; background: #252523; border-color: #252523; }
.folder-choice-name { border: 0; padding: 0; color: inherit; background: transparent; font-size: 13px; font-weight: 600; line-height: 1; text-align: center; white-space: nowrap; }
.folder-choice-badge { color: #777; font-size: 11px; }
.folder-choice.active .folder-choice-badge { color: #ccc; }
.folder-choice-remove { width: 25px; height: 25px; padding: 0; border: 0; border-radius: 50%; color: #777; background: transparent; font-size: 16px; line-height: 1; }
.folder-choice-remove:hover { color: #222; background: #e7e6e1; }
.folder-choice.active .folder-choice-remove { color: #ccc; }
.folder-choice.active .folder-choice-remove:hover { color: #fff; background: #444; }
@media (max-width: 600px) { .project-folders { align-items: stretch; flex-direction: column; } .project-folders-head { align-items: center; width: 100%; } .project-folders-head > div { display: block; } .project-folder-list { order: 0; } }

/* Salt & pepper interface theme — report pages remain independently themed. */
body, .app, .main { background: #f4f3ef; color: #1d1d1b; }
.topbar { color: #1d1d1b; background: #fff; border-bottom-color: #e5e4df; }
.brand-mark { color: #fffefa; background: #1d1d1b; }
.brand-title, .editor-head h1, .card-title h2, .section-title-input { color: #1d1d1b; }
.sidebar { background: #fffefa; border-right-color: #e5e4df; }
.outline-item.active,
.outline-item.active:hover { color: #1d1d1b; background: rgba(138, 11, 110, .1); border: 0; box-shadow: none; }
.outline-item:hover, .sidebar-foot .button:hover { background: #f0efeb; }
.outline-item.active .outline-number { color: var(--ui-accent); }
.type-dot { background: var(--ui-accent); }
.card, .block, .paragraph-editor, .project-card, .project-dialog { background: #fffefa; border-color: #e2e1dc; }
.block-head, .media-drop, .empty-blocks, .add-row { background: #f7f6f2; border-color: #deddd8; }
.media-drop:hover, .add-row:hover { background: #efeee9; border-color: #aaa9a4; }
.button { color: #242423; background: #fffefa; border-color: #d8d7d2; }
.button:hover { background: #efeee9; border-color: #bab9b4; }
.button.primary { color: #fffefa; background: var(--ui-accent); border-color: var(--ui-accent); }
.button.primary:hover { background: #9f0868; border-color: #9f0868; }
.segmented button.active, .icon-control.active { color: #fffefa; background: #1d1d1b; border-color: #1d1d1b; }
.button.ghost { color: #242423; background: #fffefa; border-color: #d8d7d2; }
.button.danger { color: #4a4a47; }
.button.danger:hover, .icon-control.danger:hover { color: #1d1d1b; background: #ecebe6; border-color: #c6c5c0; }
button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline-color: rgba(138,11,110,.32); }
.back-button:focus-visible { outline-color: rgba(138,11,110,.32); }
.segmented { background: #e9e8e3; border-color: #deddd8; }
.preview-bar { color: #1d1d1b; background: rgba(255,254,250,.96); border-bottom-color: #e5e4df; }
.toast { color: #fffefa; background: #1d1d1b; }
.toast-action { color: #1d1d1b; background: #fffefa; }
.project-art, .cover-control-preview { background: #efeee9; border-color: #e2e1dc; }
.project-paper { background: #fffefa; border-color: #d8d7d2; box-shadow: 5px 6px 0 #dfded9; }
.project-paper b { color: #424240; }
.project-paper i { background: #d8d7d2; }
.new-project-card { border-color: #cac9c4; }
.new-project-card:hover { background: #efeee9; border-color: #888782; }
.new-project-card span { background: #e9e8e3; }
