:root {
  color-scheme: light;
  --ink: #202321; --soft-ink: #5f655f; --muted: #81877f; --line: #e4e7e1;
  --wash: #f7f8f5; --paper: #fff; --green: #456653; --green-dark: #304f3d;
  --green-soft: #e9f0e9; --red: #9b3f3c; --shadow: 0 10px 35px rgba(24,31,26,.055);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink); background: var(--wash); font-synthesis: none; text-rendering: optimizeLegibility;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; background: var(--wash); }
button, input, textarea, select { font: inherit; }
button, a, input, textarea, select { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
.topbar { height: 78px; padding: 0 max(24px, calc((100vw - 1120px) / 2)); background: var(--paper); border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: white; font-family: Georgia, serif; font-size: 12px; letter-spacing: .05em; }
.brand strong, .brand small { display: block; }
.brand strong { font-family: Georgia, serif; font-weight: 500; font-size: 17px; }
.brand small { color: var(--muted); font-size: 11px; margin-top: 2px; }
.top-actions { display: flex; align-items: center; gap: 22px; }
.top-actions form { margin: 0; }
.text-link { font-size: 13px; color: var(--soft-ink); text-decoration: none; }
.text-link:hover, .back-link:hover { color: var(--green); text-decoration: underline; }
.quiet-button { border: 0; color: var(--soft-ink); background: transparent; padding: 10px 0; cursor: pointer; font-size: 13px; }
.mobile-nav { display: none; }
.app-main { width: min(100% - 40px, 1000px); margin: 42px auto 120px; min-height: calc(100vh - 200px); }
.dashboard-wrap { padding-bottom: 42px; }
.welcome-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 0 0 26px; }
.welcome-row h1 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(30px, 4vw, 42px); font-weight: 400; letter-spacing: -.035em; margin: 4px 0 8px; }
.welcome-row p { margin: 0; }
.welcome-actions { display: flex; gap: 8px; }
.eyebrow { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--green); font-weight: 700; margin: 0 0 8px; }
.muted { color: var(--muted); line-height: 1.55; font-size: 14px; }
.status-strip { display: flex; justify-content: space-between; align-items: center; gap: 18px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 18px 22px; box-shadow: var(--shadow); }
.status-strip > div { display: flex; align-items: center; gap: 10px; }
.status-strip strong, .status-strip small { display: block; }
.status-strip strong { font-size: 13px; font-weight: 600; }
.status-strip small { color: var(--muted); font-size: 11px; margin-top: 4px; }
.status-dot { width: 9px; height: 9px; background: #529769; border-radius: 50%; box-shadow: 0 0 0 4px #e8f2e9; }
.kpi-bento { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.3fr; gap: 12px; margin: 14px 0 4px; }
.kpi-card { min-width: 0; min-height: 132px; display: flex; flex-direction: column; justify-content: space-between; gap: 12px; padding: 18px; color: var(--ink); text-decoration: none; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); transition: transform .15s ease, border-color .15s ease; }
.kpi-card:hover { transform: translateY(-2px); border-color: #c3d1c3; }
.kpi-card-feature { grid-column: span 2; color: #f8faf8; background: var(--green-dark); border-color: var(--green-dark); }
.kpi-card-calendar { background: var(--green-soft); border-color: #dae6da; }
.kpi-label { font-size: 11px; color: var(--muted); letter-spacing: .04em; }
.kpi-card-feature .kpi-label, .kpi-card-feature .kpi-caption { color: #d5e1d7; }
.kpi-card strong { font: 400 clamp(26px,3.6vw,38px)/1 Georgia,serif; letter-spacing: -.035em; }
.kpi-caption { color: var(--muted); font-size: 11px; line-height: 1.4; }
.section-nav { display: flex; gap: 6px; padding: 0 4px; margin: 30px 0 20px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.section-tab { flex: 0 0 auto; border: 0; background: transparent; color: var(--muted); cursor: pointer; padding: 13px 17px; font-size: 13px; border-bottom: 2px solid transparent; }
.section-tab:hover { color: var(--ink); }
.section-tab.is-active { color: var(--green-dark); border-bottom-color: var(--green); font-weight: 600; }
.editor-panel { display: none; }
.editor-panel.is-visible { display: block; }
.editor-panel[hidden] { display: none !important; }
.panel-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin: 26px 0 20px; }
.panel-heading h2 { font-family: Georgia, serif; font-weight: 400; font-size: 28px; margin: 0 0 6px; }
.panel-heading .muted { margin: 0; }
.category-select-label { display: grid; gap: 7px; min-width: 225px; color: var(--soft-ink); font-size: 12px; }
input, textarea, select { color: var(--ink); background: var(--paper); border: 1px solid #d8ddd7; border-radius: 7px; min-height: 44px; padding: 10px 12px; width: 100%; outline: none; }
textarea { resize: vertical; line-height: 1.55; }
input:focus, textarea:focus, select:focus { border-color: #7b9d83; box-shadow: 0 0 0 3px rgba(69,102,83,.12); }
.page-fields { display: grid; gap: 12px; }
.translation-card, .post-card, .photo-card, .revision-row, .account-panel { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); }
.translation-card { padding: 17px 19px; }
.translation-label { display: flex; gap: 12px; align-items: baseline; margin-bottom: 12px; }
.translation-label strong { font-size: 13px; font-weight: 600; }
.translation-label code { color: #9a9f99; font-size: 10px; overflow-wrap: anywhere; }
.language-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.language-field { display: grid; gap: 6px; font-size: 11px; color: var(--muted); }
.language-field textarea { min-height: 64px; }
.upload-zone { margin-bottom: 18px; background: var(--paper); border: 1px dashed #c7cec6; border-radius: 10px; padding: 17px 20px; }
.upload-zone input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.upload-prompt { display: flex; align-items: center; gap: 13px; cursor: pointer; min-height: 48px; }
.upload-prompt strong, .upload-prompt small { display: block; }
.upload-prompt strong { font-size: 13px; }
.upload-prompt small { color: var(--muted); margin-top: 4px; font-size: 11px; }
.upload-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--green-soft); color: var(--green); font-size: 23px; font-weight: 300; }
#upload-progress { margin: 9px 0 0 51px; min-height: 18px; font-size: 12px; }
.photo-list, .post-list, .revision-list { display: grid; gap: 11px; }
.photo-card { display: grid; grid-template-columns: 90px minmax(0,1fr); align-items: start; gap: 16px; padding: 13px; }
.photo-card.is-hidden-photo { opacity: .66; background: #f1f2ef; }
.photo-preview { width: 90px; height: 90px; border-radius: 6px; object-fit: cover; background: #e8eae5; }
.photo-detail { min-width: 0; }
.photo-title-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; font-size: 12px; }
.photo-title-row strong { overflow-wrap: anywhere; font-weight: 600; }
.visibility-pill { border-radius: 20px; background: var(--green-soft); color: var(--green-dark); padding: 4px 8px; font-size: 10px; white-space: nowrap; }
.muted-pill { background: #eceeea; color: #6d716c; }
.photo-language { display: grid; grid-template-columns: 60px 1fr 1fr; gap: 8px; margin-top: 7px; align-items: center; }
.photo-language input { min-height: 38px; padding: 8px 9px; font-size: 12px; }
.sub-label { font-size: 10px; color: var(--muted); }
.photo-controls { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.small-button { min-height: 34px; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--soft-ink); padding: 7px 10px; font-size: 11px; cursor: pointer; }
.small-button:hover:not(:disabled) { border-color: #9aab9c; color: var(--green-dark); }
.small-button:disabled { opacity: .35; cursor: not-allowed; }
.danger-button { color: var(--red); }
.post-card { padding: 17px; }
.post-card-top { display: grid; grid-template-columns: minmax(120px,1fr) minmax(140px,220px) auto; gap: 9px; margin-bottom: 16px; }
.post-card-top input, .post-card-top select { min-height: 40px; font-size: 12px; }
.post-language { padding: 14px 0 0; border-top: 1px solid var(--line); margin-top: 13px; }
.post-language h3 { font-size: 11px; font-weight: 600; color: var(--muted); margin: 0 0 8px; }
.post-language input, .post-language textarea { margin-top: 8px; }
.post-language textarea { min-height: 130px; }
.managed-list { display: grid; gap: 11px; }
.managed-card { display: grid; gap: 11px; padding: 16px; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); }
.managed-card-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.managed-field { min-width: 0; display: grid; gap: 6px; color: var(--muted); font-size: 11px; }
.managed-language { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.project-heading { margin-top: 44px; }
.project-placement { display: flex; align-items: center; gap: 12px; }
.project-place { display: inline-flex; align-items: center; gap: 6px; color: var(--soft-ink); font-size: 11px; }
.project-place input[type="checkbox"] { width: 18px; height: 18px; min-height: 0; accent-color: var(--green); }
.project-place input[type="number"] { width: 62px; min-height: 36px; padding: 5px 7px; }
.revision-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 16px; }
.revision-row strong, .revision-row small { display: block; }
.revision-row strong { font-size: 13px; }
.revision-row small { margin-top: 5px; font-size: 11px; color: var(--muted); }
.empty-state { background: var(--paper); border: 1px dashed #d2d7d1; padding: 24px; border-radius: 10px; text-align: center; color: var(--muted); font-size: 13px; }
.primary-button, .secondary-button { min-height: 42px; border-radius: 7px; padding: 10px 16px; font-size: 12px; font-weight: 600; cursor: pointer; text-decoration: none; display: inline-flex; justify-content: center; align-items: center; gap: 6px; }
.primary-button { border: 1px solid var(--green); background: var(--green); color: white; }
.primary-button:hover:not(:disabled) { background: var(--green-dark); border-color: var(--green-dark); }
.primary-button:disabled { opacity: .6; cursor: wait; }
.secondary-button { background: white; border: 1px solid #d7ddd6; color: var(--soft-ink); }
.secondary-button:hover { border-color: #aab9ab; color: var(--green-dark); }
.save-bar { position: fixed; z-index: 10; inset: auto 0 0; background: rgba(255,255,255,.97); border-top: 1px solid var(--line); backdrop-filter: blur(12px); padding: 12px max(20px, calc((100vw - 1000px) / 2)); display: flex; justify-content: space-between; align-items: center; gap: 14px; min-height: 68px; }
.save-bar > span { color: var(--muted); font-size: 11px; }
.save-bar > span.is-dirty { color: #815f2e; }
.save-bar > span.is-error, .is-error { color: var(--red) !important; }
.save-actions { display: flex; gap: 9px; }
.app-footer { display: flex; justify-content: space-between; max-width: 1000px; margin: 0 auto; padding: 0 20px 24px; color: #969b95; font-size: 10px; }
.messages { margin-bottom: 16px; }
.message { border-radius: 7px; padding: 11px 14px; background: #e8f2e9; color: var(--green-dark); font-size: 13px; }
.account-layout { max-width: 640px; margin: 0 auto; }
.back-link { color: var(--soft-ink); text-decoration: none; display: inline-block; font-size: 12px; margin: 0 0 18px; }
.account-panel { padding: 28px; }
.account-panel h1, .auth-card h1 { font-family: Georgia, serif; font-size: 32px; font-weight: 400; letter-spacing: -.03em; margin: 4px 0 7px; }
.password-form { margin-top: 21px; }
.password-form input { margin-bottom: 7px; }
.help-text, .help-text ul { font-size: 11px; line-height: 1.5; color: var(--muted); }
.field-error { color: var(--red); font-size: 12px; }
.auth-main { display: grid; place-items: start center; padding-top: min(12vh,100px); }
.auth-card { width: min(100%,420px); padding: 32px; background: var(--paper); border: 1px solid var(--line); border-radius: 13px; box-shadow: var(--shadow); }
.auth-card > .muted { margin: 0 0 22px; }
.stack-form { display: grid; gap: 9px; }
.stack-form label { color: var(--soft-ink); font-size: 12px; margin-top: 4px; }
.full-button { width: 100%; margin-top: 10px; }
.form-error { background: #fbefed; border: 1px solid #eed7d3; color: var(--red); border-radius: 7px; padding: 10px 12px; font-size: 12px; margin: 15px 0; }
.auth-note { color: var(--muted); font-size: 10px; line-height: 1.5; margin: 20px 0 0; }
.auth-card-simple .stack-form { margin-top: 24px; }
.cms-notes { display: grid; gap: 24px; margin: 28px 0; }
.cms-note { border-top: 1px solid var(--line,#e4e7e1); padding-top: 20px; }
.cms-note h2 { margin: 0 0 12px; font: 400 23px/1.2 Georgia,serif; }
.cms-note p { white-space: pre-line; line-height: 1.7; }
.cms-note .cms-note-summary { color: var(--soft-ink,#5f655f); font-weight: 600; }
@media (max-width: 700px) {
  .topbar { height: 65px; padding: 0 16px; }
  .brand-mark { width: 34px; height: 34px; }
  .top-actions { gap: 12px; }
  .text-link, .quiet-button { font-size: 11px; }
  .app-main { width: min(100% - 24px,1000px); margin: 26px auto 125px; }
  .welcome-row { align-items: start; }
  .welcome-row .secondary-button { min-height: 38px; padding: 8px 10px; font-size: 10px; white-space: nowrap; }
  .welcome-actions { flex-wrap: wrap; justify-content: end; }
  .status-strip { padding: 13px; gap: 10px; flex-wrap: wrap; }
  .status-strip > div:nth-child(2) { flex: 1; justify-content: end; }
  .status-strip .text-link { flex-basis: 100%; text-align: right; }
  .kpi-bento { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  .kpi-card { min-height: 118px; padding: 14px; gap: 8px; }
  .kpi-card-feature, .kpi-card-calendar { grid-column: span 2; }
  .kpi-card strong { font-size: 30px; }
  .section-nav { margin: 20px -2px 16px; }
  .section-tab { padding: 12px 13px; font-size: 12px; }
  .panel-heading { display: block; }
  .panel-heading > .secondary-button, .category-select-label { margin-top: 14px; }
  .category-select-label { min-width: 0; }
  .panel-heading h2 { font-size: 25px; }
  .translation-card { padding: 14px; }
  .translation-label { align-items: start; flex-direction: column; gap: 5px; }
  .language-fields { grid-template-columns: 1fr; gap: 9px; }
  .photo-card { grid-template-columns: 64px minmax(0,1fr); gap: 10px; padding: 10px; }
  .photo-preview { width: 64px; height: 64px; }
  .photo-language { grid-template-columns: 1fr; gap: 5px; }
  .sub-label { margin-top: 4px; }
  .photo-controls .small-button { flex: 1; }
  .post-card { padding: 12px; }
  .post-card-top { grid-template-columns: 1fr 1fr; }
  .post-card-top .slug-input { grid-column: 1 / -1; }
  .managed-language { grid-template-columns: 1fr; }
  .managed-card { padding: 12px; }
  .project-placement { flex-wrap: wrap; }
  .revision-row { align-items: start; flex-direction: column; }
  .save-bar { align-items: stretch; flex-direction: column; padding: 9px 12px max(10px,env(safe-area-inset-bottom)); gap: 7px; }
  .save-bar > span { line-height: 1.3; }
  .save-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .save-actions button { padding: 8px 7px; min-height: 42px; font-size: 10px; }
  .app-footer { padding: 0 12px 14px; }
  .auth-main { padding-top: 8vh; }
  .auth-card { padding: 24px 20px; }
  .account-panel { padding: 22px 18px; }
}
@media (prefers-reduced-motion: reduce) { *,*::before,*::after { scroll-behavior: auto !important; animation-duration: .01ms !important; } }

/* Unified owner-space shell and accessible focus treatment. */
:root {
  --ink: #202923;
  --soft-ink: #4f5f54;
  --muted: #65756a;
  --line: #dfe6df;
  --wash: #f4f6f2;
  --paper: #ffffff;
  --green: #466b53;
  --green-dark: #284a37;
  --green-soft: #eaf1ea;
  --shadow: 0 8px 26px rgba(24, 45, 31, .06);
}
body { color: var(--ink); background: var(--wash); }
.skip-link { position: fixed; z-index: 100; left: 12px; top: 12px; transform: translateY(-160%); padding: 12px 16px; border-radius: 8px; background: var(--green-dark); color: #fff; font-size: 14px; font-weight: 700; }
.skip-link:focus { transform: translateY(0); }
.visually-hidden:not(:focus):not(:active) { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.owner-header { position: relative; z-index: 5; min-height: 76px; width: 100%; display: grid; grid-template-columns: minmax(180px,1fr) auto minmax(150px,1fr); align-items: center; gap: 24px; padding: 12px max(28px, calc((100vw - 1240px) / 2)); background: var(--paper); border-bottom: 1px solid var(--line); }
.owner-brand { min-width: 0; display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.owner-brand > span:last-child { min-width: 0; }
.owner-brand strong, .owner-brand small { display: block; }
.owner-brand strong { font-family: Georgia, "Times New Roman", serif; font-weight: 500; font-size: 18px; letter-spacing: -.015em; }
.owner-brand small { margin-top: 3px; color: var(--muted); font-size: 12px; }
.owner-nav { display: flex; align-items: center; justify-content: center; gap: 4px; }
.owner-nav-link { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0 14px; border-radius: 8px; color: var(--soft-ink); font-size: 14px; font-weight: 600; text-decoration: none; }
.owner-nav-link:hover { background: #f1f4f0; color: var(--green-dark); }
.owner-nav-link.is-current { background: var(--green-soft); color: var(--green-dark); }
.owner-utilities { display: flex; align-items: center; justify-content: flex-end; gap: 16px; }
.owner-utilities form { margin: 0; }
.owner-utilities .text-link { font-size: 13px; }
.owner-utilities .quiet-button { min-height: 44px; padding: 8px 10px; font-size: 13px; }
.app-main { width: min(100% - 48px, 1180px); margin: 36px auto 96px; }
.app-footer { max-width: 1180px; color: #5d6d61; font-size: 12px; }
.muted, .translation-code, .language-field, .sub-label, .managed-field, .help-text, .auth-note { color: #59695e; }
.eyebrow { color: #3d654a; font-size: 11px; letter-spacing: .13em; }
input, textarea, select { color: var(--ink); border-color: #cbd6cc; border-radius: 9px; font-size: 15px; }
input:focus-visible, textarea:focus-visible, select:focus-visible, button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid rgba(59, 112, 74, .55); outline-offset: 2px; }
.primary-button, .secondary-button { min-height: 44px; font-size: 14px; border-radius: 9px; }
.secondary-button { color: var(--green-dark); border-color: #cbd8cd; }
.panel-heading h2, .account-panel h1, .auth-card h1 { color: var(--ink); }
.translation-card, .post-card, .photo-card, .revision-row, .account-panel, .managed-card, .status-strip, .kpi-card { border-radius: 14px; box-shadow: var(--shadow); }
.section-tab { min-height: 48px; color: #54645a; font-size: 14px; }
.section-tab.is-active { color: var(--green-dark); }
.photo-controls .small-button { min-height: 44px; font-size: 13px; }

.account-layout { max-width: 700px; }
.account-panel { padding: clamp(24px, 4vw, 40px); }
.account-field { display: grid; gap: 7px; min-width: 0; }
.account-field > label { color: var(--soft-ink); font-size: 14px; font-weight: 650; }
.help-text, .help-text ul { font-size: 13px; }
.field-error { display: block; padding: 10px 12px; border: 1px solid #f0d1cc; border-radius: 8px; background: #fff0ee; color: #822a24; font-size: 13px; }
.field-error p { margin: 0; }
.auth-card { border-radius: 16px; }
.auth-note { font-size: 12px; }
@media (max-width: 760px) {
  .owner-header { grid-template-columns: minmax(0,1fr) auto; gap: 10px 12px; min-height: 0; padding: 12px 16px 0; }
  .owner-brand { grid-column: 1; }
  .owner-utilities { grid-column: 2; grid-row: 1; gap: 8px; }
  .owner-utilities .text-link { display: none; }
  .owner-utilities .quiet-button { min-height: 40px; padding: 7px 9px; font-size: 12px; }
  .owner-nav { grid-column: 1 / -1; justify-content: flex-start; gap: 4px; overflow-x: auto; margin: 0 -16px; padding: 6px 12px 10px; border-top: 1px solid #edf0ec; scrollbar-width: thin; }
  .owner-nav-link { min-height: 42px; flex: 0 0 auto; padding: 0 14px; font-size: 14px; }
  .app-main { width: min(100% - 28px, 1180px); margin: 24px auto 112px; }
  .welcome-row { display: grid; gap: 14px; }
  .welcome-actions { justify-content: flex-start; }
  .welcome-row .secondary-button { min-height: 44px; font-size: 13px; }
  .kpi-card { min-height: 120px; }
  .section-tab { min-height: 48px; padding: 12px 15px; font-size: 13px; }
  .translation-label strong { font-size: 15px; }
  .language-field, .managed-field { font-size: 13px; }
  .photo-card { grid-template-columns: 76px minmax(0,1fr); gap: 12px; padding: 13px; }
  .photo-preview { width: 76px; height: 76px; }
  .photo-language { grid-template-columns: 1fr; }
  .photo-language input { min-height: 44px; font-size: 16px; }
  .post-card-top { grid-template-columns: 1fr; }
  .post-card-top .slug-input { grid-column: auto; }
  .post-card-top input, .post-card-top select { min-height: 44px; font-size: 16px; }
  .managed-language { grid-template-columns: 1fr; }
  .managed-field input, .managed-field select, .managed-field textarea { min-height: 48px; font-size: 16px; }
  .revision-row { min-height: 72px; }
  .save-bar { padding: 12px 14px max(12px, env(safe-area-inset-bottom)); }
  .save-actions button { min-height: 46px; font-size: 12px; }
  .app-footer { gap: 8px; flex-wrap: wrap; font-size: 11px; }
  .account-panel { padding: 24px 20px; }
  input, textarea, select { font-size: 16px; }
}
@media (max-width: 420px) {
  .owner-brand strong { font-size: 16px; }
  .brand-mark { width: 36px; height: 36px; }
  .owner-nav-link { padding: 0 12px; }
  .app-main { width: min(100% - 24px, 1180px); }
  .kpi-bento { grid-template-columns: 1fr 1fr; }
  .kpi-card { padding: 13px; }
  .kpi-card strong { font-size: 27px; }
  .save-bar > span { font-size: 12px; }
  .save-actions { grid-template-columns: 1fr; }
}

/* Owner workspace theme follows the public site: Arial, white, charcoal and fine grey rules. */
:root {
  --ink: #202020;
  --soft-ink: #444;
  --muted: #777;
  --line: #ededed;
  --wash: #fff;
  --paper: #fff;
  --green: #202020;
  --green-dark: #202020;
  --green-soft: #f5f5f5;
  --red: #9b3535;
  --shadow: none;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--wash);
}
html { background: #fff; }
body.owner-page,
body.calendar-owner-page {
  min-width: 320px;
  background: #fff;
  color: #202020;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
body.owner-page *, body.calendar-owner-page * { box-sizing: border-box; }
body.owner-page h1, body.owner-page h2, body.owner-page h3,
body.calendar-owner-page h1, body.calendar-owner-page h2, body.calendar-owner-page h3 {
  font-family: Arial, Helvetica, sans-serif;
}
.skip-link { border-radius: 0; background: #202020; }

/* Wide screens use the same fixed profile rail as the public site. */
.owner-header {
  position: fixed;
  z-index: 20;
  inset: 0 auto 0 0;
  width: 280px;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 48px 35px 32px;
  border: 0;
  border-right: 1px solid #ededed;
  background: #fff;
}
.owner-brand {
  width: 210px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  color: #202020;
  text-align: center;
}
.brand-mark {
  width: 146px;
  height: 146px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #f5f5f5 url("/eloi.jpg") center 18% / cover no-repeat;
  color: transparent;
  font-size: 0;
  letter-spacing: 0;
}
.owner-brand strong {
  margin-top: 26px;
  color: #202020;
  font: 700 21px/1.05 Arial, Helvetica, sans-serif;
  letter-spacing: -.04em;
}
.owner-brand small {
  margin-top: 11px;
  color: #777;
  font-size: 12px;
  line-height: 1.4;
}
.owner-nav {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 14px;
  margin: 20px auto 0;
}
.owner-nav-link {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 0;
  color: #777;
  font-size: 12px;
  font-weight: 400;
  text-decoration: none;
}
.owner-nav-link:hover,
.owner-nav-link.is-current {
  color: #202020;
  background: transparent;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.owner-utilities {
  width: 210px;
  display: grid;
  justify-content: stretch;
  gap: 7px;
  margin: auto auto 0;
  padding-top: 14px;
  border-top: 1px solid #ededed;
  text-align: center;
}
.owner-utilities form { margin: 0; }
.owner-utilities .text-link,
.owner-utilities .quiet-button {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #777;
  background: transparent;
  font: 12px/1.35 Arial, Helvetica, sans-serif;
  text-decoration: none;
}
.owner-utilities .text-link:hover,
.owner-utilities .quiet-button:hover { color: #202020; text-decoration: underline; }
.app-main {
  width: min(calc(100vw - 392px), 1180px);
  max-width: none;
  margin: 0 0 72px calc(280px + max(56px, (100vw - 1460px) / 2));
  padding: 48px 0 42px;
  min-height: calc(100vh - 120px);
}
.app-footer {
  width: min(calc(100vw - 392px), 1180px);
  max-width: none;
  margin: 0 0 0 calc(280px + max(56px, (100vw - 1460px) / 2));
  padding: 14px 0 24px;
  border-top: 1px solid #ededed;
  color: #777;
  font-size: 11px;
}
.skip-link:focus { color: #fff; }
.muted, .translation-code, .language-field, .sub-label, .managed-field,
.help-text, .auth-note, .app-footer { color: #777; }
.eyebrow { color: #777; font-size: 11px; letter-spacing: .1em; }
.welcome-row h1,
.account-panel h1,
.auth-card h1,
.panel-heading h2,
.cms-note h2 {
  color: #202020;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: -.045em;
}
.welcome-row h1,
.account-panel h1,
.auth-card h1 { font-size: clamp(27px, 3vw, 32px); }
.panel-heading h2 { font-size: 21px; }
.cms-note h2 { font-size: 21px; }
.text-link, .back-link, .calendar-back a { color: #202020; }
.status-strip {
  border: 0;
  border-top: 1px solid #202020;
  border-bottom: 1px solid #ededed;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}
.status-dot { box-shadow: none; }
.kpi-bento { gap: 0 22px; }
.kpi-card, .kpi-card-feature, .kpi-card-calendar {
  border: 0;
  border-top: 1px solid #ededed;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
  color: #202020;
}
.kpi-card-feature .kpi-label, .kpi-card-feature .kpi-caption,
.kpi-label, .kpi-caption { color: #777; }
.kpi-card strong { color: #202020; font: 700 clamp(26px,3vw,34px)/1.05 Arial, Helvetica, sans-serif; letter-spacing: -.05em; }
.kpi-card:hover { transform: none; border-color: #777; }
.section-nav { border-color: #ededed; }
.section-tab { color: #777; }
.section-tab.is-active { color: #202020; border-bottom-color: #202020; }
.translation-card, .post-card, .photo-card, .revision-row, .account-panel,
.managed-card, .empty-state, .upload-zone, .auth-card {
  border: 0;
  border-top: 1px solid #ededed;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}
.translation-card, .post-card, .photo-card, .revision-row, .managed-card,
.empty-state, .upload-zone { border-bottom: 1px solid #ededed; }
.account-panel, .auth-card { border-top-color: #202020; }
input, textarea, select {
  border-color: #c9c9c9;
  border-radius: 0;
  background: #fff;
  color: #202020;
}
input:focus, textarea:focus, select:focus,
input:focus-visible, textarea:focus-visible, select:focus-visible {
  border-color: #202020;
  outline: 2px solid #777;
  outline-offset: 2px;
  box-shadow: none;
}
button:focus-visible, a:focus-visible, summary:focus-visible {
  outline: 2px solid #202020;
  outline-offset: 3px;
}
.primary-button, .secondary-button, .small-button {
  border-radius: 0;
  box-shadow: none;
}
.primary-button { border-color: #202020; background: #202020; color: #fff; }
.primary-button:hover:not(:disabled) { border-color: #444; background: #444; }
.secondary-button, .small-button { border-color: #ededed; background: #fff; color: #202020; }
.secondary-button:hover, .small-button:hover:not(:disabled) { border-color: #777; color: #202020; }
.save-bar {
  left: 280px;
  padding-right: max(56px, (100vw - 1460px) / 2);
  padding-left: max(56px, (100vw - 1460px) / 2);
  border-color: #ededed;
  box-shadow: none;
}
.message { border-left: 3px solid #202020; border-radius: 0; background: #f7f7f7; color: #202020; }
.form-error, .field-error { border-radius: 0; }

/* Tablet layout: compact public-style masthead, wider editing canvas. */
@media (max-width: 1100px) {
  .owner-header {
    position: relative;
    inset: auto;
    width: 100%;
    min-height: 0;
    display: grid;
    grid-template-columns: 88px minmax(0,1fr) auto;
    grid-template-rows: 88px auto;
    align-items: center;
    gap: 14px 18px;
    padding: 24px 32px 20px;
    border-right: 0;
    border-bottom: 1px solid #ededed;
  }
  .owner-brand { display: contents; }
  .owner-brand .brand-mark { grid-column: 1; grid-row: 1; width: 88px; height: 88px; }
  .owner-brand > span:last-child { grid-column: 2; grid-row: 1; align-self: end; margin: 0 0 3px; text-align: left; }
  .owner-brand strong { display: none; }
  .owner-brand small { display: block; margin: 0; font-size: 12px; }
  .owner-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
    width: 100%;
    gap: 6px 8px;
    margin: 0;
  }
  .owner-nav-link { min-width: 0; min-height: 44px; padding: 4px; font-size: 12px; text-align: center; line-height: 1.25; }
  .owner-utilities { grid-column: 3; grid-row: 1; width: auto; margin: 0; padding: 0; border: 0; }
  .owner-utilities .text-link { display: none; }
  .owner-utilities .quiet-button { min-height: 44px; white-space: nowrap; }
  .save-bar { left: 0; padding-right: 32px; padding-left: 32px; }
  .app-main, .app-footer {
    width: min(calc(100vw - 64px), 1180px);
    margin-right: auto;
    margin-left: auto;
  }
  .app-main { padding-top: 32px; }
}

/* Mobile layout mirrors the public site masthead and keeps controls touch-friendly. */
@media (max-width: 600px) {
  .owner-header {
    grid-template-columns: 76px minmax(0,1fr) auto;
    grid-template-rows: 76px auto;
    gap: 14px 16px;
    padding: 22px clamp(18px,6vw,28px) 18px;
  }
  .owner-brand .brand-mark { width: 76px; height: 76px; }
  .owner-nav { column-gap: 6px; }
  .owner-nav-link { min-height: 44px; font-size: clamp(11px,2.9vw,12px); line-height: 1.25; }
  .owner-utilities .quiet-button { min-height: 44px; padding: 6px 8px; font-size: 11px; }
  .app-main, .app-footer { width: auto; margin: 0; }
  .app-main { padding: 30px clamp(18px,6vw,28px) 46px; }
  .app-footer { display: flex; gap: 6px 18px; flex-wrap: wrap; padding: 14px clamp(18px,6vw,28px) 20px; }
  .welcome-row h1, .account-panel h1, .auth-card h1 { font-size: 27px; }
  .kpi-bento { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 16px; }
  .kpi-card, .kpi-card-feature, .kpi-card-calendar { grid-column: auto; min-height: 110px; padding: 14px 4px; }
  .kpi-card-feature { grid-column: 1 / -1; }
  .kpi-card strong { font-size: 28px; }
  .save-bar { border-radius: 0; }
  .save-bar { left: 0; padding: 12px 14px max(12px, env(safe-area-inset-bottom)); }
  .auth-main { padding-top: 8vh; }
  .auth-card { width: 100%; padding: 24px 0; }
  .account-panel { padding: 22px 0; }
}

.appearance-layout { display: grid; grid-template-columns: minmax(240px, .9fr) minmax(0, 1.1fr); gap: 28px; align-items: start; }
.appearance-controls { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.appearance-field { display: grid; gap: 7px; color: #555; font-size: 12px; }
.appearance-field select, .appearance-field input { width: 100%; min-height: 44px; padding: 9px 11px; font: inherit; }
.appearance-preview { width: 100%; min-height: 190px; padding: 20px 22px; border-top: 1px solid #202020; border-bottom: 1px solid #ededed; color: #202020; transition: max-width 180ms ease, font 180ms ease; }
.appearance-preview .eyebrow { display: block; margin-bottom: 22px; }
.appearance-preview h3 { margin: 0 0 12px; font-size: 1.7em; line-height: 1.1; }
.appearance-preview p { margin: 0 0 14px; color: #777; }
.home-section-list { max-width: 720px; border-top: 1px solid #202020; }
.home-section-row { display: flex; min-height: 56px; justify-content: space-between; align-items: center; gap: 14px; padding: 7px 0; border-bottom: 1px solid #ededed; }
.home-section-visibility { display: inline-flex; min-height: 44px; align-items: center; gap: 11px; color: #202020; font-size: 13px; }
.home-section-visibility input { width: 18px; height: 18px; accent-color: #202020; }
.home-section-order { display: flex; gap: 6px; }
.formatting-tools { display: flex; gap: 4px; margin-top: 6px; }
.formatting-tool { min-width: 32px; min-height: 32px; padding: 3px 8px; border: 1px solid #ededed; border-radius: 0; background: #fff; color: #202020; font: 12px/1 Arial, Helvetica, sans-serif; cursor: pointer; }
.formatting-tool:hover, .formatting-tool:focus-visible { border-color: #777; }
.publish-dialog { width: min(460px, calc(100vw - 32px)); padding: 26px; border: 1px solid #ededed; border-top-color: #202020; border-radius: 0; color: #202020; box-shadow: 0 18px 55px rgba(0,0,0,.18); }
.publish-dialog::backdrop { background: rgba(0,0,0,.35); }
.publish-dialog h2 { margin: 0 0 10px; font-size: 23px; letter-spacing: -.04em; }
.publish-dialog > form > .eyebrow { margin: 0 0 15px; }
.publish-dialog .muted { margin: 0 0 18px; }
.publish-dialog-actions { display: flex; justify-content: end; gap: 8px; margin-top: 22px; }

@media (max-width: 760px) {
  .appearance-layout { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .appearance-controls { grid-template-columns: minmax(0, 1fr); }
  .publish-dialog { padding: 22px; }
  .publish-dialog-actions { flex-direction: column-reverse; }
  .publish-dialog-actions button { width: 100%; min-height: 46px; }
}

/* Private draft preview: fits the available canvas at every screen size. */
.panel-heading-actions { display: flex; align-items: end; flex-wrap: wrap; justify-content: end; gap: 12px; }
.post-preview-trigger { margin-bottom: 16px; }
.draft-preview-toolbar { display: grid; grid-template-columns: minmax(180px,1fr) minmax(110px,.45fr); gap: 16px; margin: 24px 0 12px; }
.draft-preview-devices { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; }
.draft-preview-devices button[aria-pressed="true"] { color: #fff; background: #202020; border-color: #202020; }
.draft-preview-caption { margin: 0 0 16px; color: #777; font: 12px/1.5 Arial, Helvetica, sans-serif; }
.draft-preview-stage { --draft-frame-width: 390px; width: 100%; min-width: 0; padding: 16px; background: #f7f7f7; border: 1px solid #ededed; }
.draft-preview-stage[data-preview-device="tablet"] { --draft-frame-width: 768px; }
.draft-preview-stage[data-preview-device="desktop"] { --draft-frame-width: 1100px; }
.draft-preview-frame { width: min(100%, var(--draft-frame-width)); min-width: 0; min-height: 320px; margin: 0 auto; padding: clamp(18px,3vw,36px); color: #202020; background: #fff; border: 1px solid #ddd; overflow-wrap: anywhere; }
.draft-preview-paper { width: 100%; margin: 0 auto; }
.draft-preview-paper h1, .draft-preview-paper h2, .draft-preview-paper h3 { font-family: inherit; color: #202020; letter-spacing: -.025em; line-height: 1.2; }
.draft-preview-paper h1 { margin: 0 0 22px; font-size: 1.9em; }
.draft-preview-paper h2 { margin: 20px 0 12px; font-size: 1.5em; }
.draft-preview-paper p { margin: 0 0 18px; font-size: inherit; line-height: inherit; }
.draft-preview-home-section, .draft-preview-article { padding: 20px 0; border-bottom: 1px solid #ededed; }
.draft-preview-home-section:first-of-type, .draft-preview-article:first-child { padding-top: 0; }
.draft-preview-link { text-decoration: underline; text-underline-offset: 2px; }
.draft-preview-summary { font-weight: 600; }
.draft-preview-empty { color: #777; }
.draft-preview-post-status { color: #777; font: 11px/1.4 Arial, Helvetica, sans-serif; }
.draft-conflict-notice { margin: 24px 0; padding: 20px; border: 1px solid #9b3535; border-left-width: 3px; background: #fff; }
.draft-conflict-notice[hidden] { display: none; }
.draft-conflict-notice h2 { margin: 0 0 12px; font: 700 18px/1.3 Arial, Helvetica, sans-serif; }
.draft-conflict-notice p { margin: 0 0 16px; color: #444; font-size: 14px; line-height: 1.5; }
.draft-conflict-actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 760px) {
  .panel-heading-actions { width: 100%; justify-content: stretch; align-items: stretch; }
  .panel-heading-actions > * { width: 100%; }
  .draft-preview-toolbar { grid-template-columns: minmax(0,1fr); }
  .draft-preview-devices { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 6px; }
  .draft-preview-devices .secondary-button { min-width: 0; padding: 9px 4px; font-size: 11px; }
  .draft-preview-stage { padding: 8px; }
  .draft-preview-frame { padding: 18px; }
  .draft-conflict-notice { padding: 16px; }
  .draft-conflict-actions { flex-direction: column; }
  .formatting-tool { min-width: 44px; min-height: 44px; }
}

/* Private project drafts and code protected, project only sharing. */
.projects-layout { max-width: 900px; }
.projects-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 22px; }
.projects-heading h1 { margin-bottom: 8px; }
.projects-heading .muted { max-width: 600px; margin: 0; }
.private-project-list { display: grid; border-top: 1px solid #ededed; }
.private-project-row { min-width: 0; display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 16px; border-bottom: 1px solid #ededed; }
.private-project-card { min-width: 0; display: grid; grid-template-columns: minmax(0,1fr) auto 24px; align-items: center; gap: 20px; padding: 18px 2px; color: #202020; text-decoration: none; }
.private-project-card:hover .private-project-card-main > strong { text-decoration: underline; text-underline-offset: 3px; }
.private-project-card-main { display: grid; gap: 5px; min-width: 0; }
.private-project-card-main > strong { font: 400 20px/1.2 Georgia,serif; overflow-wrap: anywhere; }
.private-project-card-main .muted { overflow-wrap: anywhere; }
.private-project-meta { display: grid; gap: 5px; justify-items: end; color: #777; font-size: 11px; text-align: right; }
.project-status { display: inline-flex; align-items: center; min-height: 26px; padding: 4px 9px; border: 1px solid #ededed; color: #555; font-size: 11px; white-space: nowrap; }
.private-project-arrow { color: #777; font-size: 19px; text-align: right; }
.private-project-public-link { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 13px; border: 1px solid #ededed; color: #202020; font-size: 12px; text-decoration: none; white-space: nowrap; }
.private-project-public-link:hover { border-color: #202020; }
.private-project-public-link:focus-visible { outline: 2px solid #202020; outline-offset: 3px; }
.project-empty { margin-top: 6px; padding: 32px 20px; }
.project-empty h2 { margin: 0 0 9px; color: #202020; font: 400 23px/1.2 Georgia,serif; }
.project-empty p { max-width: 460px; margin: 0 auto 18px; line-height: 1.55; }
.project-form-panel { margin-bottom: 18px; }
.project-detail-heading { align-items: flex-start; }
.project-detail-heading .project-status { margin-top: 8px; }
.project-owner-form, .project-upload-form { display: grid; gap: 16px; margin-top: 20px; }
.project-field { min-width: 0; display: grid; gap: 7px; color: #555; font-size: 12px; }
.project-field input, .project-field textarea, .project-field select { width: 100%; min-height: 46px; font-size: 15px; }
.project-field textarea { min-height: 180px; line-height: 1.65; }
.project-field small, .project-checkbox small { color: #777; font-size: 11px; line-height: 1.5; }
.project-form-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 9px; padding-top: 2px; }
.project-section { margin-top: 18px; padding: 25px; }
.project-section h2 { margin: 0 0 8px; font: 400 25px/1.2 Georgia,serif; }
.project-section > .muted { margin: 0; }
.project-checkbox { display: flex; align-items: flex-start; gap: 11px; min-height: 44px; color: #202020; cursor: pointer; }
.project-checkbox input { width: 19px; height: 19px; min-height: 19px; margin: 1px 0 0; flex: 0 0 auto; accent-color: #304f3d; }
.project-checkbox span { display: grid; gap: 3px; }
.project-checkbox strong { font-size: 12px; font-weight: 600; }
.project-checkbox.compact { min-height: 38px; align-items: center; }
.share-settings-form { gap: 14px; }
.share-settings-form input[readonly] { color: #555; background: #f7f7f7; font-size: 12px; }
.project-share-state { display: flex; align-items: center; gap: 11px; margin: 16px 0 0; color: #304f3d; font-size: 12px; }
.project-share-state .status-dot { flex: 0 0 auto; }
.project-share-state.is-disabled { color: #777; }
.project-share-state.is-disabled::before { width: 9px; height: 9px; flex: 0 0 auto; border-radius: 50%; background: #aaa; content: ""; }
.project-upload-form { padding: 16px; border: 1px dashed #c9c9c9; }
.project-upload-form input[type="file"] { min-height: 44px; padding: 8px; font-size: 12px; }
.project-upload-form > .secondary-button { justify-self: start; }
.project-file-list { display: grid; margin-top: 18px; border-top: 1px solid #ededed; }
.project-file-row { display: grid; grid-template-columns: minmax(150px,1fr) auto auto; align-items: center; gap: 18px; padding: 15px 0; border-bottom: 1px solid #ededed; }
.project-file-info { display: grid; gap: 5px; min-width: 0; }
.project-file-info strong { overflow-wrap: anywhere; font-size: 13px; }
.project-file-info small { color: #777; font-size: 11px; }
.project-file-info .text-link { width: fit-content; }
.project-file-share-form, .project-file-delete-form { display: grid; gap: 6px; justify-items: start; }
.project-share-page { min-height: 100vh; display: flex; flex-direction: column; color: #202020; background: #f7f7f7; }
.project-share-header { min-height: 78px; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px max(24px,calc((100vw - 1000px)/2)); background: #fff; border-bottom: 1px solid #ededed; }
.project-share-brand { display: inline-flex; align-items: center; gap: 12px; color: #202020; text-decoration: none; }
.project-share-brand .brand-mark { flex: 0 0 auto; }
.project-share-brand strong, .project-share-brand small { display: block; }
.project-share-brand strong { font: 500 17px/1.2 Georgia,serif; }
.project-share-brand small { margin-top: 3px; color: #777; font-size: 11px; }
.project-share-access { color: #777; font-size: 12px; }
.project-share-main { width: min(calc(100% - 40px),640px); margin: auto; padding: 46px 0; }
.project-share-card { margin: 0 auto; }
.project-share-card h1, .project-shared-content h1 { margin: 4px 0 10px; color: #202020; font: 400 clamp(28px,5vw,40px)/1.12 Georgia,serif; letter-spacing: -.035em; overflow-wrap: anywhere; }
.project-share-card .stack-form { margin-top: 22px; }
.project-share-card .stack-form label { margin: 0; }
.project-share-card .auth-note { margin-bottom: 0; }
.project-shared-content { width: min(calc(100% - 40px),760px); background: #fff; padding: clamp(24px,6vw,56px); border: 1px solid #ededed; }
.shared-project-text { margin-top: 24px; color: #333; font-size: 16px; line-height: 1.75; white-space: pre-wrap; overflow-wrap: anywhere; }
.shared-project-files { margin-top: 35px; padding-top: 22px; border-top: 1px solid #ededed; }
.shared-project-files h2 { margin: 0 0 12px; font: 400 23px/1.2 Georgia,serif; }
.shared-project-files ul { display: grid; margin: 0; padding: 0; list-style: none; }
.shared-project-files li { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 13px 0; border-bottom: 1px solid #ededed; }
.shared-project-files li > span { min-width: 0; display: grid; gap: 4px; overflow-wrap: anywhere; }
.shared-project-files li strong { font-size: 13px; }
.shared-project-files li small { color: #777; font-size: 11px; }
.shared-project-footnote { margin: 24px 0 0; color: #777; font-size: 11px; line-height: 1.5; }
.project-share-footer { width: min(calc(100% - 40px),1000px); padding: 16px 0 22px; }
@media (max-width: 760px) {
  .projects-heading { align-items: stretch; flex-direction: column; }
  .projects-heading > .primary-button { width: 100%; }
  .private-project-row { grid-template-columns: minmax(0,1fr); gap: 0; }
  .private-project-public-link { justify-self: end; margin: 0 2px 14px; }
  .private-project-card { grid-template-columns: minmax(0,1fr) 20px; gap: 9px 12px; }
  .private-project-meta { grid-column: 1; grid-row: 2; display: flex; justify-items: start; flex-wrap: wrap; align-items: center; gap: 7px 12px; text-align: left; }
  .private-project-arrow { grid-column: 2; grid-row: 1 / 3; }
  .project-detail-heading { flex-direction: row; align-items: flex-start; }
  .project-detail-heading .project-status { white-space: normal; }
  .project-section { padding: 20px 0; }
  .project-file-row { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 14px 10px; }
  .project-file-info { grid-column: 1 / -1; }
  .project-file-share-form, .project-file-delete-form { grid-template-columns: 1fr; }
  .project-file-row .small-button { min-height: 42px; }
  .project-share-header { min-height: 68px; padding: 10px 18px; }
  .project-share-access { max-width: 100px; text-align: right; font-size: 10px; }
  .project-share-main, .project-share-footer { width: min(calc(100% - 28px),760px); }
  .project-share-main { padding: 28px 0; }
  .project-shared-content { padding: 24px 20px; }
}

.welcome-actions { flex-wrap: wrap; justify-content: flex-end; }
.kpi-card-space.kpi-space-cobalt { border-top: 2px solid #0b4f8c; }
.kpi-card-space.kpi-space-ochre { border-top: 2px solid #8a5a14; }
.kpi-card-space.kpi-space-slate { border-top: 2px solid #334155; }
.kpi-card-space.kpi-space-plum { border-top: 2px solid #5b3a78; }
.kpi-card-space.kpi-space-terracotta { border-top: 2px solid #8f3e29; }
.kpi-card-space.kpi-space-forest { border-top: 2px solid #284a37; }
.kpi-card-new-space { border-top: 1px dashed #999; }
.kpi-card-new-space strong { color: #202020; }
