:root {
  color-scheme: light;
  font: 16px/1.5 "Work Sans", "Segoe UI", system-ui, sans-serif;
  color: #20342e;
  background: #f6f7f3;
  --ink: #1d4839;
  --line: #d4dfd8;
  --muted: #496059;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
.frame { max-width: 1040px; margin: auto; padding: 0 28px; }
.topbar { background: var(--ink); color: white; }
.brand { min-height: 64px; display: flex; align-items: center; gap: 12px; font-weight: 680; }
.brand-mark { border: 1px solid #a5cbb4; border-radius: 9px; width: 31px; height: 31px; display: grid; place-items: center; font: italic bold 21px Georgia, serif; background: #295744; }
.admin,.shopper { padding-top: 36px; padding-bottom: 56px; }
.shopper { max-width: 630px; }
h1,h2,h3,p { margin: 0; }
h1 { font: 520 clamp(2.15rem,5vw,3.25rem)/1.1 Georgia, "Times New Roman", serif; letter-spacing: -.045em; }
h2 { font-size: 1.35rem; letter-spacing: -.025em; line-height: 1.25; }
h3 { font-size: 1.03rem; }
p,.hint,.intro { color: var(--muted); }
p { margin: .5rem 0 1rem; }
.intro { margin: 8px 0 0; }
.hint { font-size: .9rem; }
.title-row,.section-heading,.save-row,.actions,.entry-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.actions { justify-content: flex-start; gap: 8px; }
.panel { background: white; border: 1px solid var(--line); border-radius: 16px; padding: clamp(19px,3vw,32px); margin-top: 18px; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 18px 0 0; }
.tabs a { color: var(--ink); font-weight: 650; text-underline-offset: 4px; }
.entry { border-top: 1px solid var(--line); margin: 20px 0; padding-top: 18px; }
.subentry,.review-card { background: #f5f8f5; border-radius: 10px; margin: 12px 0; padding: 16px; }
.grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.field { margin: 12px 0; }
label { display: block; font-size: .93rem; font-weight: 650; margin-bottom: 5px; }
input:not([type=checkbox]),select { width: 100%; border: 1px solid #849b8e; border-radius: 7px; padding: 10px 12px; background: white; color: #20342e; font: inherit; min-height: 44px; }
input[type=checkbox] { accent-color: var(--ink); width: 18px; height: 18px; }
.checkbox { display: flex; align-items: center; gap: 8px; margin: 0; min-height: 34px; }
button,.button { display: inline-flex; align-items: center; justify-content:center; cursor:pointer; text-decoration:none; color: var(--ink); background: white; border: 1px solid #91a999; font-family: inherit; font-size: .94rem; font-weight: 650; line-height: 1.25; padding: 10px 15px; border-radius: 7px; min-height: 42px; }
.primary { background: var(--ink); color: white; border-color: var(--ink); }
button:disabled { opacity: .52; cursor: default; }
.remove { color: #78412d; border-color: #d8c7bd; }
:focus-visible { outline: 3px solid #ac652a; outline-offset: 2px; }
.save-row { justify-content: flex-end; margin: 14px 0 28px; }
.status:not(:empty) { border-left: 3px solid #759784; background: #eaf1eb; padding: 9px 12px; }
.status.error { background: #fff2e9; border-color: #a64b21; color: #632b1a; }
.review-card p { margin: 6px 0; overflow-wrap: anywhere; }
.review-card button,#publish .actions,#continue { margin-top: 14px; }
details { margin: 9px 0; }
summary { cursor: pointer; font-weight: 650; }
@media (hover:hover) {
  a:hover { text-decoration: underline; }
  button:not(:disabled):hover,.button:hover { border-color: #315d48; background: #edf4ef; text-decoration: none; }
  .primary:not(:disabled):hover { background: #123a2b; color: white; }
}
@media (max-width: 680px) {
  .frame { padding-left: 16px; padding-right: 16px; }
  .admin,.shopper { padding-top: 25px; }
  .grid { grid-template-columns: 1fr; gap: 0; }
  .title-row { align-items: flex-start; }
}
