/* React-only shell helpers.
   Page and editorial CSS are injected in the original HTML order
   by src/styles/cascade.jsx so they are not overridden here. */

.menu-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.menu-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.collection-dropdown:not(.open) {
  display: none !important;
  height: 0 !important;
  max-height: 0 !important;
  border: none !important;
  padding: 0 !important;
  pointer-events: none !important;
}
:root {
  --primary-y: #d7b46a;
  --body-text-tile: #322b26;
}

.hide { display: none; }

/* Prevent flash of full-screen white modal during page load */
.fs-consent_component[style*="display: none"] {
  display: none !important;
}

.fs-consent_prefs:not(.is-open):not([style*="display: block"]):not([style*="display: flex"]):not([style*="display: grid"]) {
  display: none !important;
}

.fs-consent_prefs:not(.is-open):not([style*="display: block"]):not([style*="display: flex"]):not([style*="display: grid"]) .fs-consent_prefs_wrapper {
  display: none !important;
}

.fs-consent_component .w-form-done,
.fs-consent_component .w-form-fail { display: none; }
.fs-consent_component .medium { font-weight: 500; }
.fs-consent_component .priv_link { color: var(--body-text-tile); }
.fs-consent_component .w-checkbox { margin-bottom: 0; padding-left: 0; display: flex; align-items: center; }

.fs-consent_component{display:block}
.fs-consent_banner{z-index:9999;max-width:none;color:var(--body-text-tile);background-color:#fff;border-radius:.2rem;padding:2rem;display:block;position:fixed;inset:auto 0% 0%}
.fs-consent_banner_wrapper{grid-column-gap:2rem;grid-row-gap:2rem;flex-flow:column;display:flex}
.fs-consent_banner_paragraph{margin-bottom:0;font-weight:400;line-height:1.4}
.fs-consent_banner_buttons{grid-column-gap:1rem;grid-row-gap:1rem;flex-flow:wrap;justify-content:space-between;align-items:center;gap:16px;display:flex}
.fs-consent_prefs_submit{text-transform:uppercase;background-color:#000;border-radius:.5rem;height:3rem;padding:.5rem 1rem;font-size:clamp(.8rem,.8vw,.8rem);overflow:hidden}
.fs-consent_prefs_buttons{grid-column-gap:1rem;grid-row-gap:1rem;flex-flow:column;justify-content:flex-start;align-items:flex-start;width:100%;display:flex}
.fs-consent_allow{background-color:var(--primary-y);height:3rem;color:var(--body-text-tile);text-transform:none;border-radius:.5rem;padding:1rem 1.5rem;font-size:clamp(.8rem,.8vw,.8rem);font-weight:500;text-decoration:none;display:block}
.fs-consent_prefs_popup{grid-column-gap:1.5rem;grid-row-gap:1.5rem;flex-flow:column;height:100%;padding:2rem;display:flex;overflow:scroll}
.fs-consent_prefs_header{border-bottom:1px solid #0003;padding-bottom:1.5rem}
.fs-consent_prefs_heading{max-width:20ch;font-size:1.25rem;line-height:1.4}
.fs-consent_prefs_close{color:#fff;cursor:pointer;background-color:#000;border-radius:.5rem;padding:.5rem;text-decoration:none;display:flex;position:absolute;inset:.75rem .75rem auto auto}
.fs-consent_prefs_list{grid-column-gap:1rem;grid-row-gap:1rem;flex-flow:column;display:flex}
.fs-consent_prefs_form-block{z-index:2;border-radius:.5rem;width:60%;margin-bottom:0;position:relative;overflow:visible}
.fs-consent_decline{color:#333;text-transform:none;background-color:#dddddd2e;border:1px solid #000;border-radius:.5rem;height:3rem;padding:1rem;font-size:clamp(.8rem,.8vw,.8rem);text-decoration:none;display:block}
.fs-consent_prefs_wrapper{z-index:997;flex-direction:column;justify-content:flex-start;align-items:center;width:100%;height:100%;margin-bottom:0;padding:2rem 2rem 18rem;display:flex;position:fixed;inset:0%}
.fs-consent_prefs_overlay{z-index:1;background-color:#0000001a;width:100%;height:100%;position:absolute;inset:0%}
.fs-consent_prefs{z-index:9997;grid-column-gap:16px;grid-row-gap:16px;grid-template-rows:auto auto;grid-template-columns:1fr 1fr;grid-auto-columns:1fr;display:none;position:fixed;inset:0%}
.fs-consent_prefs_close-icon{width:1rem;line-height:0}
.fs-consent_prefs_form{background-color:#fff;width:100%;max-width:none;height:100%;max-height:80vh;margin-bottom:0;position:relative}
.fs-consent_open-prefs{z-index:9998;color:#333;-webkit-text-decoration:block;text-decoration:block;cursor:pointer;background-color:#ddd0;display:block;position:fixed;inset:auto auto 2rem 2rem}
.fs-consent_open-prefs_wrapper{grid-column-gap:8px;grid-row-gap:8px;height:3rem;color:var(--body-text-tile);background-color:#fff;border-radius:.5rem;flex-flow:row;justify-content:flex-start;align-items:center;padding:1rem 1.5rem;font-size:clamp(.8rem,.8vw,.8rem);display:flex;overflow:hidden}
.fs-consent_open-prefs_wrapper.hide{display:none}
.fs-consent_open-prefs_icon{width:1.5rem;line-height:0;display:flex}
.fs-consent_prefs_link{color:#333;text-transform:none;border:1px solid #000;border-radius:.5rem;justify-content:center;align-items:center;width:auto;height:3rem;padding:1rem;font-size:clamp(.8rem,.8vw,.8rem);text-decoration:none;display:flex}
.fs-consent_prefs_link.hide{display:none}
.fs-consent_prefs_option{grid-column-gap:.5rem;grid-row-gap:.5rem;background-color:#00000014;border-bottom:0 solid #0003;border-radius:.5rem;flex-flow:column;justify-content:flex-start;align-items:stretch;width:100%;padding:1.5rem .5rem;display:flex;overflow:hidden}
.fs-consent_checkbox_field{justify-content:flex-start;align-items:center;width:100%;margin-bottom:0;display:flex}
.fs-consent_checkbox_label{margin-bottom:0;margin-right:.75rem}
.fs-consent_prefs_description{margin-bottom:0;font-size:12px}
.fs-consent_checkbox{margin-top:0;margin-right:.5rem}
.cookie-button-container{grid-column-gap:1rem;grid-row-gap:1rem;justify-content:flex-start;align-items:center;display:flex}
.consent-button-container{justify-content:space-between;width:100%;display:flex}
.consent_emb{width:1.2rem;height:1.2rem}
@media screen and (max-width:991px){
.fs-consent_banner{padding-left:1rem;padding-right:1rem}
}
@media screen and (max-width:767px){
.fs-consent_component{justify-content:center;align-items:flex-end}
.fs-consent_banner{max-width:none;display:flex;inset:auto 0% 0%}
.fs-consent_prefs_buttons{flex-flow:column;align-items:stretch}
.fs-consent_prefs_list{grid-column-gap:.75rem;grid-row-gap:.75rem}
.fs-consent_prefs_form-block{width:100%;overflow:hidden}
.fs-consent_prefs_wrapper{justify-content:center;align-items:center;padding-bottom:2rem;padding-left:1rem;padding-right:1rem}
.fs-consent_prefs{grid-column-gap:1rem;grid-row-gap:1rem;display:none}
.fs-consent_prefs_option{padding-top:1rem;padding-bottom:1rem}
.consent-button-container{justify-content:space-between;align-items:center;display:flex}
}
.fs-consent_component,
.fs-consent_component button,
.fs-consent_component input,
.fs-consent_component a,
.fs-consent_prefs_heading,
.fs-consent_checkbox_label,
.fs-consent_prefs_description {
  font-family: Inter, "DM Sans", Arial, sans-serif !important;
  letter-spacing: normal !important;
}

.fs-consent_prefs_form {
  border-radius: 0.5rem !important;
  overflow: hidden !important;
}

.fs-consent_prefs_heading {
  font-weight: 600 !important;
  color: #322b26 !important;
}

.fs-consent_prefs_option strong {
  font-weight: 700 !important;
}

input.fs-consent_prefs_submit {
  color: #fff !important;
  background-color: #000 !important;
  border: 0 !important;
  border-radius: 0.5rem !important;
  height: 3rem !important;
  min-height: 3rem !important;
  padding: 0 16px !important;
  margin: 0 !important;
  font-size: 12.8px !important;
  font-weight: 400 !important;
  line-height: 3rem !important;
  text-align: center !important;
  text-transform: uppercase !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  width: auto !important;
  max-width: 100% !important;
  cursor: pointer !important;
}

a.fs-consent_allow,
a.fs-consent_decline {
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 3rem !important;
  margin: 0 !important;
  font-size: 12.8px !important;
  line-height: 1.1 !important;
  white-space: nowrap !important;
  text-decoration: none !important;
}

a.fs-consent_allow {
  background-color: #d7b46a !important;
  color: #322b26 !important;
  border: 0 !important;
  border-radius: 0.5rem !important;
  padding: 0 24px !important;
  font-weight: 500 !important;
}

a.fs-consent_decline {
  background-color: rgba(221, 221, 221, 0.18) !important;
  color: #333 !important;
  border: 1px solid #000 !important;
  border-radius: 0.5rem !important;
  padding: 0 16px !important;
}

.fs-consent_checkbox {
  width: 16px !important;
  height: 16px !important;
  accent-color: #322b26;
}

.fs-consent_open-prefs,
[fs-consent-element="fixed-preferences"] {
  display: none !important;
  left: 14px !important;
  bottom: 14px !important;
  position: fixed !important;
  width: 32px !important;
  height: 32px !important;
  max-width: 32px !important;
  max-height: 32px !important;
  z-index: 9998 !important;
  overflow: hidden !important;
}

.fs-consent_open-prefs_wrapper {
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  min-height: 32px !important;
  padding: 0 !important;
  gap: 0 !important;
  border-radius: 50% !important;
  justify-content: center !important;
  align-items: center !important;
  box-shadow: 0 2px 8px rgba(50, 43, 38, 0.18);
  overflow: hidden !important;
}

.fs-consent_open-prefs_text {
  display: none !important;
}

.fs-consent_open-prefs_icon {
  width: 16px !important;
  height: 16px !important;
  max-width: 16px !important;
  max-height: 16px !important;
  overflow: hidden !important;
}

.fs-consent_open-prefs_icon svg {
  width: 16px !important;
  height: 16px !important;
  max-width: 16px !important;
  max-height: 16px !important;
}

.fs-consent_banner .preference-button > .fs-consent_prefs_link {
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  min-height: 32px !important;
  padding: 0 !important;
  border-radius: 50% !important;
  gap: 0 !important;
}

.fs-consent_banner .preference-button > .fs-consent_prefs_link > div:last-child {
  display: none !important;
}

.fs-consent_banner .consent_emb {
  display: flex !important;
  width: 16px !important;
  height: 16px !important;
}

@media screen and (max-width:767px){
input.fs-consent_prefs_submit { width: 100% !important; }
}

@media screen and (max-width:479px){
.fs-consent_component{justify-content:center;align-items:center}
.fs-consent_banner{max-width:none;inset:auto 0% 0%}
.fs-consent_banner_wrapper{grid-column-gap:1rem;grid-row-gap:1rem}
.fs-consent_banner_buttons{text-align:center;flex-flow:column;align-items:stretch}
.fs-consent_prefs_popup{padding-left:1rem;padding-right:1rem}
.fs-consent_prefs_heading{font-size:1rem}
.fs-consent_prefs{display:none}
.fs-consent_open-prefs{left:1rem}
.cookie-button-container{flex-flow:column;justify-content:space-between;align-items:stretch}
}.cms-app {
  --ink: #1c1916;
  --muted: #6f675e;
  --line: rgba(28, 25, 22, 0.1);
  --paper: #f4f0e8;
  --card: #fffcf7;
  --forest: #1d3329;
  --brass: #8a6840;
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font-family: Outfit, "Avenir Next", "Segoe UI", sans-serif;
  letter-spacing: 0;
}

.cms-app * { box-sizing: border-box; }
.cms-app button, .cms-app input, .cms-app textarea, .cms-app select { font: inherit; }
.cms-app .studio-save,
.cms-app .cms-primary,
.cms-app .studio-add,
.cms-app .studio-login-panel button {
  color: #f7f3ec;
  background: var(--forest);
}
.cms-app h1, .cms-app h2, .cms-app h3 { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 500; letter-spacing: 0; }
.cms-app a { color: var(--forest); }

.studio-login {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
}
.studio-login-visual {
  background: #1c1916 center/cover no-repeat;
  position: relative;
  min-height: 320px;
}
.studio-login-visual span {
  position: absolute;
  left: 36px;
  bottom: 32px;
  color: #f7f2ea;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 42px;
}
.studio-login-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 56px;
  background: #f7f3ec;
}
.studio-login-panel p { color: var(--muted); max-width: 36ch; }
.studio-kicker {
  margin: 0 0 12px;
  color: var(--brass);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.studio-login-panel h1 { margin: 0 0 12px; font-size: 52px; line-height: 0.95; }
.studio-login-panel form { display: grid; gap: 8px; margin-top: 28px; max-width: 380px; }
.studio-login-sum { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px; align-items: center; }
.studio-login-sum strong { font-weight: 500; white-space: nowrap; }
.cms-app .studio-login-sum button {
  margin-top: 0;
  background: #fff;
  color: var(--forest);
  border: 1px solid var(--forest);
  padding: 10px 12px;
}
.studio-login-panel input, .studio-field input, .studio-field textarea, .cms-field input, .cms-field textarea, .cms-field select, .cms-app select, .cms-app textarea, .cms-app input:not([type="file"]) {
  width: 100%;
  border: 1px solid rgba(28, 25, 22, 0.28);
  background: #fff;
  border-radius: 2px;
  padding: 10px 12px;
  outline: none;
}
.studio-field textarea, .cms-field textarea, .cms-app textarea {
  white-space: pre-wrap;
}
.studio-login-panel button, .studio-save, .cms-primary, .studio-add {
  margin-top: 18px;
  border: 0;
  background: var(--forest);
  color: #f6f1e8;
  padding: 14px 18px;
  cursor: pointer;
}
.studio-save:disabled { opacity: 0.6; }

.studio-shell { display: grid; grid-template-columns: 232px minmax(0, 1fr); height: 100vh; overflow: hidden; }
.studio-nav {
  height: 100vh;
  overflow: auto;
  padding: 22px 16px 16px;
  background: var(--forest);
  color: #f3eee6;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.studio-nav strong { font-family: "Cormorant Garamond", Georgia, serif; font-size: 26px; font-weight: 500; padding: 0 10px 2px; }
.studio-nav-group { display: flex; flex-direction: column; }
.studio-nav-label {
  margin: 14px 0 2px;
  padding: 0 12px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(243, 238, 230, 0.5);
}
.studio-nav button {
  text-align: left;
  background: transparent;
  color: inherit;
  border: 0;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 15px;
  cursor: pointer;
}
.studio-nav button.active { background: rgba(255, 255, 255, 0.12); }
.studio-nav-account {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  padding-top: 12px;
}
.studio-nav .studio-signout { opacity: 0.75; }
.studio-main { height: 100vh; overflow: auto; padding: 28px 40px 64px; }
.studio-main h1 { margin: 0; font-size: 48px; line-height: 1; }
.studio-lead { max-width: 62ch; color: var(--muted); }

.studio-home-top { display: flex; justify-content: space-between; gap: 24px; align-items: end; margin-bottom: 22px; }
.studio-metrics { display: flex; gap: 18px; color: var(--muted); }
.studio-metrics strong { display: block; color: var(--ink); font-family: "Cormorant Garamond", Georgia, serif; font-size: 28px; font-weight: 500; }
.studio-stat-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 22px 0 8px; }
.studio-home-stat {
  text-align: left;
  background: var(--card);
  border: 1px solid var(--line);
  padding: 16px 18px 18px;
  cursor: pointer;
  color: var(--ink);
}
.studio-home-stat strong {
  display: block;
  font-family: Outfit, "Avenir Next", "Segoe UI", sans-serif;
  font-size: 36px;
  font-weight: 400;
  font-variant-numeric: lining-nums;
  line-height: 1;
}
.studio-home-stat span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.studio-home-section { margin-top: 36px; }
.studio-home-section h2 { margin: 0 0 6px; font-size: 32px; }
.studio-home-section .studio-lead { margin-top: 0; }
.studio-home-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.studio-home-links button {
  text-align: left;
  background: var(--card);
  border: 1px solid var(--line);
  padding: 16px 18px;
  cursor: pointer;
  display: grid;
  gap: 4px;
  color: var(--ink);
}
.studio-home-links strong { font-family: "Cormorant Garamond", Georgia, serif; font-size: 26px; font-weight: 500; }
.studio-home-links span { color: var(--muted); font-size: 14px; }
.studio-camp-grid-even { grid-template-columns: repeat(5, minmax(0, 1fr)); grid-auto-rows: 210px; }
.studio-camp-grid-even .studio-camp-card:first-child { grid-row: auto; min-height: 0; }
.studio-camp-grid-even .studio-camp-copy strong { font-size: 22px; }
.studio-password { display: grid; gap: 12px; max-width: 420px; }
.studio-password .studio-lead { margin: 0 0 6px; }
.studio-password .cms-primary { justify-self: start; margin-top: 6px; }
.studio-file-list { display: grid; gap: 10px; margin-top: 18px; }
.studio-file-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--line);
  padding: 14px 16px;
}
.cms-app input.studio-file-name {
  border: 1px solid transparent;
  background: transparent;
  padding: 2px 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 28px;
  width: 100%;
}
.cms-app input.studio-file-name:focus { border-color: rgba(28, 25, 22, 0.28); background: #fff; padding: 6px 8px; }
.studio-file-row code { display: block; margin: 4px 0; color: var(--muted); font-size: 13px; word-break: break-all; }
.studio-file-actions { display: flex; gap: 8px; align-items: center; }
.studio-view-small { height: 36px; margin: 0; }
.studio-camp-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-auto-rows: 240px; gap: 14px; }
.studio-camp-card { position: relative; padding: 0; border: 0; overflow: hidden; cursor: pointer; background: #ddd; text-align: left; }
.studio-camp-card:first-child { grid-row: span 2; min-height: 494px; }
.studio-camp-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.studio-camp-copy { position: absolute; left: 0; right: 0; bottom: 0; padding: 48px 16px 14px; color: white; background: linear-gradient(transparent, rgba(16, 14, 12, 0.72)); display: grid; }
.studio-camp-copy i, .studio-camp-copy em { font-style: normal; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
.studio-camp-copy strong { font-family: "Cormorant Garamond", Georgia, serif; font-size: 32px; font-weight: 500; }
.studio-page-index { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 28px; }
.studio-page-index button, .cms-list button {
  text-align: left;
  background: var(--card);
  border: 1px solid var(--line);
  padding: 16px;
  cursor: pointer;
}
.studio-page-index small, .cms-note, .studio-muted { color: var(--muted); font-size: 13px; }

.studio-page-bar, .cms-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 4;
  background: var(--paper);
  padding: 8px 0 14px;
}
.studio-page-bar h1, .studio-page-bar h2 { font-size: 36px; margin: 0; }
.studio-page-bar p, .studio-page-bar .studio-text { margin: 0; }
.studio-page-actions { display: flex; gap: 10px; align-items: center; flex: none; flex-wrap: wrap; justify-content: flex-end; }
.studio-switch {
  height: 46px;
  padding: 0 14px;
  border: 1px solid var(--forest);
  background: #fff;
  color: var(--forest);
  cursor: pointer;
  white-space: nowrap;
}
.studio-switch.is-off { border-color: #8a3b32; color: #8a3b32; }
.studio-switch:disabled { opacity: 0.6; }
.studio-camp-flag { display: block; margin-top: 6px; color: #8a3b32; letter-spacing: 0.08em; text-transform: uppercase; font-size: 12px; }
.studio-copy { margin-top: 36px; padding-top: 8px; max-width: 640px; display: grid; gap: 12px; }
.studio-copy h2 { margin: 0; font-size: 28px; }
.studio-copy .studio-save { justify-self: start; }
.studio-press-switches { margin: 8px 0 18px; justify-content: flex-start; }
.studio-page-actions .studio-save, .studio-page-bar .studio-save { margin-top: 0; height: 46px; display: inline-flex; align-items: center; }
.studio-view {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 0 16px;
  border: 1px solid var(--forest);
  background: #fff;
  color: var(--forest);
  text-decoration: none;
  white-space: nowrap;
}
.studio-text { background: transparent; border: 0; color: var(--muted); cursor: pointer; padding: 0; }
.studio-upload-btn, .cms-upload, .studio-file {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--forest);
  background: #fff;
  color: var(--forest);
  cursor: pointer;
  margin: 0;
}
.studio-upload-btn input, .cms-upload input, .studio-file input { display: none; }
.studio-chip-row, .cms-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; }
.studio-icon-row { display: flex; gap: 6px; align-items: center; flex: none; }
.studio-icon {
  width: 34px;
  height: 34px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(28, 25, 22, 0.22);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}
.studio-icon:disabled { opacity: 0.35; cursor: default; }
.studio-icon.danger:hover { color: #8d2f24; border-color: #8d2f24; }
.studio-chip, .cms-quiet {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  padding: 8px 12px;
  cursor: pointer;
}
.studio-chip:disabled, .cms-quiet:disabled { opacity: 0.4; cursor: default; }
.studio-editor { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 28px; margin-top: 8px; }
.studio-sections { display: grid; align-content: start; gap: 2px; position: sticky; top: 132px; }
.studio-sections button { display: flex; gap: 10px; align-items: baseline; text-align: left; background: transparent; border: 0; padding: 8px 0; cursor: pointer; color: var(--muted); }
.studio-sections button.active { color: var(--ink); }
.studio-sections i { font-style: normal; font-size: 11px; color: var(--brass); }
.studio-canvas { min-width: 0; }
.studio-hero-preview { min-height: 320px; background: #222 center/cover no-repeat; color: white; display: flex; flex-direction: column; justify-content: flex-end; padding: 28px; }
.studio-hero-preview h2 { margin: 0; max-width: 18ch; font-size: 40px; line-height: 1; }
.studio-form, .cms-field { display: grid; gap: 8px; margin-top: 18px; }
.studio-field { display: grid; gap: 4px; }
.studio-field span, .cms-field label, .studio-block label span { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.studio-split, .studio-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.studio-reading { max-width: 760px; }
.studio-photo-row, .studio-card-list, .studio-gallery-grid { display: grid; gap: 14px; margin-top: 16px; }
.studio-photo-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.studio-photo-row article, .studio-gallery-grid article { background: var(--card); border: 1px solid var(--line); padding: 12px; display: grid; gap: 8px; align-content: start; }
.studio-card-list { grid-template-columns: 1fr; }
.studio-block, .cms-photo-card, .cms-press-card, .cms-stat {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 16px;
}
.studio-block-top { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.studio-gallery-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.studio-gallery-grid img, .cms-image-frame img, .studio-mini-photos img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; background: #ece6dc; }
.studio-mini-photos { display: flex; gap: 12px; overflow: auto; margin: 8px 0; padding-bottom: 4px; }
.studio-mini-card { width: 168px; flex: none; display: grid; gap: 8px; align-content: start; }
.studio-mini-photos .studio-thumb { width: 100%; }
.studio-mini-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.studio-mini-actions button {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  padding: 6px 8px;
  font-size: 12px;
  cursor: pointer;
}
.studio-mini-actions button:disabled { opacity: 0.4; cursor: default; }
.studio-thumb { position: relative; }
.studio-thumb-remove {
  position: absolute;
  left: 4px;
  bottom: 4px;
  border: 0;
  background: rgba(255, 252, 247, 0.94);
  color: var(--ink);
  font-size: 11px;
  padding: 3px 6px;
  cursor: pointer;
}
.studio-camp-picks { border: 0; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 16px; }
.studio-camp-picks legend { width: 100%; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.studio-camp-picks label { display: flex; gap: 6px; align-items: center; }
.studio-seo-find { max-width: 420px; margin: 18px 0; }
.studio-seo-group { margin-top: 22px; }
.studio-seo-group h2 { margin: 0 0 8px; font-size: 28px; }
.studio-seo-toggle { width: 100%; text-align: left; background: transparent; border: 0; padding: 0; cursor: pointer; display: grid; gap: 4px; color: inherit; }
.studio-seo-toggle strong { font-family: "Cormorant Garamond", Georgia, serif; font-size: 28px; font-weight: 500; }
.studio-seo-toggle span, .studio-field em { color: var(--muted); font-style: normal; font-size: 13px; letter-spacing: 0; text-transform: none; }
.studio-undo {
  position: sticky;
  bottom: 0;
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 28px;
  padding: 14px 0 8px;
  background: linear-gradient(transparent, var(--paper) 28%);
}
.studio-undo button {
  border: 1px solid var(--forest);
  background: #fff;
  color: var(--forest);
  padding: 10px 14px;
  cursor: pointer;
}
.studio-undo button:disabled { opacity: 0.45; cursor: default; }
.studio-undo span { color: var(--muted); font-size: 13px; }
.studio-zoom {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: rgba(255, 252, 247, 0.94);
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
}
.studio-lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(20, 16, 12, 0.86);
  display: grid;
  place-items: center;
  padding: 56px 24px 24px;
}
.cms-app .studio-lightbox img,
.studio-lightbox img {
  width: auto;
  height: auto;
  max-width: min(1100px, 92vw);
  max-height: 86vh;
  aspect-ratio: auto;
  object-fit: contain;
  background: #111;
}
.studio-lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  border: 0;
  background: #fff;
  color: var(--ink);
  padding: 8px 14px;
  cursor: pointer;
}
.studio-file-field { display: grid; gap: 8px; align-content: start; }
.studio-field-label, .html-field-bar span { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.html-field { display: grid; gap: 8px; margin: 8px 0 14px; align-content: start; align-self: start; height: auto; }
.html-field-bar { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.html-field-bar button { border: 1px solid var(--line); background: #fff; padding: 6px 10px; cursor: pointer; }
.html-surface, .html-source {
  min-height: 120px;
  height: auto;
  border: 1px solid var(--line);
  background: #fff;
  padding: 12px;
  display: block;
  align-self: start;
}
.html-surface table {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
}
.html-surface tr,
.html-surface td,
.html-surface th {
  width: auto !important;
  max-width: 100% !important;
  height: auto !important;
  vertical-align: top !important;
}
.studio-columns > .studio-info-col { min-width: 0; }
.html-source { width: 100%; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; }
.cms-crop {
  position: fixed;
  inset: 0;
  z-index: 100001;
  background: rgba(20, 16, 12, 0.72);
  display: grid;
  place-items: center;
  padding: 24px;
  color: #1c1916;
}
.cms-crop-panel {
  width: min(920px, 100%);
  background: #fff;
  color: #1c1916;
  padding: 22px;
  display: grid;
  gap: 12px;
}
.cms-crop-panel h2 { margin: 0; font-size: 28px; }
.cms-crop-panel p { margin: 0; color: #6f675e; }
.cms-crop-stage {
  position: relative;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  background: #111;
  overflow: hidden;
  line-height: 0;
}
.cms-crop-stage img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(860px, 86vw);
  max-height: 62vh;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}
.cms-crop-shade {
  position: absolute;
  background: rgba(0, 0, 0, 0.45);
  pointer-events: none;
}
.cms-crop-box {
  position: absolute;
  border: 1px solid #fff;
  box-shadow: none;
  cursor: move;
  touch-action: none;
}
.cms-crop-handle {
  position: absolute;
  width: 14px;
  height: 14px;
  background: #fff;
  border: 1px solid #1c1916;
}
.cms-crop-handle.is-nw { top: -7px; left: -7px; cursor: nwse-resize; }
.cms-crop-handle.is-ne { top: -7px; right: -7px; cursor: nesw-resize; }
.cms-crop-handle.is-sw { bottom: -7px; left: -7px; cursor: nesw-resize; }
.cms-crop-handle.is-se { bottom: -7px; right: -7px; cursor: nwse-resize; }
.cms-crop-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cms-crop-actions button {
  margin: 0;
  border: 1px solid rgba(28, 25, 22, 0.28);
  background: #fff;
  color: #1c1916;
  padding: 10px 14px;
  cursor: pointer;
}
.cms-crop-actions .cms-primary {
  margin: 0;
  border: 0;
  background: #1d3329;
  color: #f6f1e8;
}
.cms-crop-actions button:disabled { opacity: 0.45; cursor: default; }
.cms-image-field { display: grid; gap: 10px; }
.cms-image-frame { position: relative; background: #ece6dc; min-height: 160px; display: grid; place-items: center; }
.cms-image-frame img { width: 100%; height: 180px; object-fit: cover; }
.cms-image-frame.is-logo { min-height: 88px; background: #faf8f4; }
.cms-image-frame.is-logo img { width: auto; max-width: 220px; height: 48px; aspect-ratio: auto; object-fit: contain; object-position: left center; }
.cms-photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.cms-photo-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; background: #ece6dc; }
.cms-photo-card input, .cms-photo-card select { width: 100%; border: 1px solid rgba(28, 25, 22, 0.28); background: #fff; padding: 10px 12px; }
.cms-press-list { display: grid; gap: 12px; }
.studio-page-bar .studio-save-hint { margin: 8px 0 0; color: var(--muted); font-size: 13px; text-align: left; max-width: 46em; }
.studio-seo-list { display: grid; gap: 12px; margin-top: 22px; }
.studio-info-col { background: #fff; border: 1px solid var(--line); padding: 12px; display: grid; gap: 8px; align-content: start; align-items: start; align-self: start; height: auto; }
.studio-info-col h3 { margin: 0; font-size: 28px; }
.studio-group-bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; margin: 8px 0 16px; }
.studio-group-bar .studio-field { min-width: 220px; }
body:has(.cms-app) .fs-consent_component,
body:has(.cms-app) .fs-consent_banner,
body:has(.cms-app) .fs-consent_prefs,
body:has(.cms-app) .preference-button { display: none !important; }
.cms-error { color: #8d2f24; }
.studio-ok {
  position: fixed;
  z-index: 100000;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  background: #17381d;
  color: #fff;
  padding: 14px 22px;
  font-size: 14px;
  line-height: 1.4;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
  max-width: min(560px, calc(100vw - 32px));
  pointer-events: none;
}
.studio-upload-btn.is-disabled { opacity: 0.45; }
.cms-table { width: 100%; border-collapse: collapse; background: var(--card); }
.cms-table th, .cms-table td { border-bottom: 1px solid var(--line); padding: 10px; text-align: left; vertical-align: top; }
.cms-list { display: grid; gap: 8px; }
.cms-stats { display: flex; gap: 10px; }
.cms-hero-card { min-height: 180px; background: #222 center/cover no-repeat; color: white; }
.cms-photo-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; background: #ece6dc; }
.cms-group { background: var(--card); border: 1px solid var(--line); padding: 8px 14px; margin-top: 10px; }
.cms-actions { display: flex; gap: 8px; }

@media (max-width: 980px) {
  .studio-login, .studio-shell, .studio-editor, .studio-camp-grid, .studio-camp-grid-even, .studio-page-index, .studio-photo-row, .studio-gallery-grid, .studio-split, .studio-columns, .studio-stat-row, .studio-home-links, .studio-file-row { grid-template-columns: 1fr; }
  .studio-shell, .studio-main, .studio-nav { height: auto; overflow: visible; }
  .studio-camp-card:first-child { grid-row: auto; min-height: 240px; }
  .studio-login-panel { padding: 32px 22px; }
  .studio-main { padding: 24px 18px 48px; }
}
