@font-face {
  font-family: Manrope;
  src: url("/assets/fonts/manrope-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
:root {
  font-family: Manrope, system-ui, sans-serif;
  color: #202c26;
  background: #f7f8f5;
  font-synthesis: none;
  --ink: #202c26;
  --muted: #59655e;
  --line: #dce2dc;
  --surface: #fff;
  --field-border: #7a887d;
  --green: #126842;
  --focus: #337b54;
  --wash: #e8f1e9;
  --error: #982d29;
  --radius: 12px;
  --space: 8px;
}
.feedback-review .prose { white-space: pre-wrap; overflow-wrap: anywhere; }
.feedback-review button + button { margin-inline-start: 16px; }
.feedback-review form { display: grid; gap: 16px; }
.feedback-review textarea { min-height: 120px; }
.feedback-review select { font: inherit; width: 100%; min-height: 48px; padding: 10px; border: 1px solid var(--field-border); border-radius: 8px; background: var(--surface); color: var(--ink); }
.review-change { padding-block: 16px; border-block-start: 1px solid var(--line); overflow-wrap: anywhere; }
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
}
button,
input,
textarea {
  font: inherit;
}
button,
a,
input,
textarea {
  touch-action: manipulation;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.6;
}
button:active:not(:disabled) {
  transform: translateY(1px);
}
button,
a {
  transition:
    background-color 0.16s ease-out,
    color 0.16s ease-out;
}
::selection {
  background: #cce6d3;
  color: #173e2a;
}
:focus-visible {
  outline: 3px solid #337b54;
  outline-offset: 4px;
}
input,
textarea {
  caret-color: var(--green);
}
[hidden] {
  display: none !important;
}
.attachments { margin-block: 24px; }
.notification-settings { max-width: 680px; }
.notification-choice { display: flex; align-items: flex-start; gap: 16px; margin-block: 0 24px; cursor: pointer; }
.notification-choice input { flex: 0 0 20px; width: 20px; height: 20px; margin: 4px 0 0; accent-color: var(--green); }
.notification-choice strong, .notification-choice span.muted { display: block; }
.notification-choice span.muted { margin-top: 4px; font-weight: 400; }
.notification-sender { border-top: 1px solid var(--line); margin-top: 24px; padding-top: 24px; }
.notification-sender summary { cursor: pointer; font-weight: 650; }
.attachments h2 { font-size: 1rem; margin-block: 0 8px; }
.attachments ul { list-style: none; padding: 0; margin: 0; }
.attachments li { overflow-wrap: anywhere; }
.attachments li + li { margin-top: 8px; }
.attachments button { max-width: 100%; text-align: start; white-space: normal; overflow-wrap: anywhere; }
.enquiry-question { border: 0; border-top: 1px solid var(--line); padding: 24px 0; margin: 24px 0 0; min-width: 0; }
.enquiry-question legend { font-weight: 700; padding-right: 12px; }
.enquiry-question > .form-actions, .enquiry-questions ~ .form-actions { margin-top: 24px; }
.enquiry-choice { display: flex; gap: 16px; align-items: end; margin-block: 16px; }
.enquiry-choice .field { flex: 1; min-width: 0; margin: 0; }
.enquiry-answers dt { font-weight: 700; margin-top: 16px; }
.enquiry-answers dd { margin: 4px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; }
@media (max-width: 600px) { .enquiry-choice { flex-direction: column; align-items: stretch; } }
.topbar {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1280px;
  padding: 20px 40px;
  margin: auto;
}
.wordmark {
  text-decoration: none;
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.035em;
}
.article-image {
  display: block;
  width: 100%;
  max-height: 320px;
  object-fit: contain;
  object-position: left center;
  margin-block: 12px;
}
.customer-history-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-block: 32px 24px;
}
.customer-history-nav [aria-current="page"] {
  color: var(--green);
  font-weight: 700;
  text-decoration-thickness: 2px;
}
.wordmark span {
  color: var(--green);
}
.top-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.875rem;
  font-weight: 600;
}
.quiet {
  border: 0;
  background: transparent;
  padding: 8px 0;
  color: var(--muted);
}
.quiet:hover {
  color: var(--ink);
  text-decoration: underline;
}
.top-actions a:hover {
  color: var(--green);
}
.workspace {
  display: grid;
  grid-template-columns: 192px minmax(0, 1fr);
  max-width: 1280px;
  margin: 32px auto 80px;
  padding: 0 40px;
  gap: 56px;
}
.navigation {
  padding-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-self: start;
}
.navigation a {
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 8px;
  padding: 12px 16px;
  text-decoration: none;
  color: var(--muted);
  font-size: 0.9375rem;
  font-weight: 600;
}
.navigation a:hover {
  background: #edf0e9;
  color: var(--ink);
}
.navigation a[aria-current="page"] {
  background: var(--wash);
  color: var(--green);
}
.navigation svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 1.7;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
main {
  min-width: 0;
  max-width: 904px;
}
main:focus {
  outline: none;
}
h1 {
  font-size: 2rem;
  line-height: 1.2;
  letter-spacing: -0.035em;
  font-weight: 700;
  margin: 0 0 12px;
}
h2 {
  font-size: 1.125rem;
  line-height: 1.4;
  font-weight: 700;
  margin: 0;
}
p {
  margin: 0 0 20px;
  max-width: 68ch;
}
.muted,
.intro {
  color: var(--muted);
}
.intro {
  margin-bottom: 0;
}
.page-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
}
.primary,
.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 8px;
  padding: 12px 20px;
  font-size: 0.9375rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  min-height: 48px;
}
.primary {
  background: var(--green);
  color: #fff;
  border: 1px solid var(--green);
}
.primary:hover:not(:disabled) {
  background: #0b5132;
}
.secondary {
  background: transparent;
  border: 1px solid #b9c4ba;
  color: var(--ink);
}
.secondary:hover:not(:disabled) {
  background: #edf0e9;
}
.back {
  display: inline-block;
  margin-bottom: 24px;
  font-size: 0.875rem;
  color: var(--muted);
}
.notice {
  padding: 12px 16px;
  background: #edf1e9;
  border-radius: 8px;
  font-size: 0.875rem;
  margin-bottom: 28px;
  color: #405043;
}
.error {
  color: var(--error);
  background: #fff0ec;
  border-radius: 8px;
  padding: 12px 16px;
  margin: 16px 0;
}
.success {
  color: #165136;
  background: #e8f1e9;
  border-radius: 8px;
  padding: 12px 16px;
  margin: 16px 0;
}
.list {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.list-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
}
.list-heading a {
  font-size: 0.875rem;
  color: var(--muted);
}
.row {
  display: flex;
  width: 100%;
  text-align: left;
  align-items: center;
  gap: 20px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  padding: 22px 24px;
  color: var(--ink);
  text-decoration: none;
}
.row:last-child {
  border-bottom: 0;
}
.row:hover {
  background: #f6f9f4;
}
.row:focus-visible {
  outline-offset: -4px;
}
.row-content {
  flex: 1;
  min-width: 0;
}
.row-title {
  font-weight: 650;
  display: block;
  overflow-wrap: anywhere;
  line-height: 1.45;
}
.row-description {
  color: var(--muted);
  font-size: 0.875rem;
  display: block;
  margin-top: 4px;
  overflow-wrap: anywhere;
}
.status {
  font-size: 0.75rem;
  font-weight: 650;
  color: var(--muted);
  white-space: nowrap;
  background: #f0f2ed;
  border-radius: 6px;
  padding: 3px 8px;
}
.status.new {
  background: var(--wash);
  color: #1c5a3a;
}
.arrow {
  color: #64746a;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}
.empty {
  padding: 48px 28px;
}
.empty p {
  color: var(--muted);
  margin: 8px 0 0;
}
.below-list {
  margin-top: 28px;
  color: var(--muted);
  font-size: 0.875rem;
}
.section {
  margin-top: 36px;
}
.section h2 {
  margin-bottom: 16px;
}
.editor,
.detail {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
}
.editor {
  max-width: 760px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}
.field label {
  font-weight: 650;
  font-size: 0.9375rem;
}
.field input,
.field textarea {
  width: 100%;
  border: 1px solid #7a887d;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 12px 14px;
  min-height: 48px;
}
.field input:hover,
.field textarea:hover {
  border-color: #697e6e;
}
.field textarea {
  resize: vertical;
  min-height: 280px;
  line-height: 1.65;
}
.field small {
  font-size: 0.8125rem;
  color: var(--muted);
}
.record-search {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  margin-block: 24px;
}
.record-search .field {
  flex: 1;
  min-width: 0;
  margin: 0;
}
.load-more {
  margin-block-start: 24px;
}
.form-actions {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}
.detail-meta {
  display: flex;
  gap: 8px;
  flex-direction: column;
  font-size: 0.9375rem;
  color: var(--muted);
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
}
.prose {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 1.8;
}
.detail .form-actions {
  margin-top: 32px;
}
.login {
  max-width: 464px;
  margin: 80px auto;
  padding: 0 24px;
}
.login h1 {
  font-size: 2.25rem;
  margin-bottom: 20px;
}
.login .primary {
  width: 100%;
}
.login .field {
  margin-top: 28px;
}
.login .field input {
  font-size: 1.5rem;
  letter-spacing: 0.15em;
}
.login-foot {
  font-size: 0.875rem;
  color: var(--muted);
  margin-top: 24px;
}
.skeleton {
  height: 96px;
  border-bottom: 1px solid var(--line);
  background: #edf0e9;
  margin-bottom: 12px;
  border-radius: 8px;
}
.sr-only,
.skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link:focus {
  position: absolute;
  z-index: 2;
  background: #fff;
  padding: 12px;
  top: 8px;
  left: 8px;
}
@media (max-width: 800px) {
  .topbar {
    padding: 20px 24px;
    min-height: 80px;
  }
  .workspace {
    display: block;
    margin: 0 auto 48px;
    padding: 0 24px;
  }
  .navigation {
    flex-direction: row;
    gap: 4px;
    overflow-x: auto;
    border-bottom: 1px solid var(--line);
    padding: 4px 0 16px;
    margin-bottom: 32px;
  }
  .navigation a {
    white-space: nowrap;
    padding: 10px 12px;
    font-size: 0.875rem;
  }
  .navigation svg {
    display: none;
  }
  .page-head {
    margin-bottom: 28px;
    gap: 16px;
    align-items: flex-start;
  }
  h1 {
    font-size: 1.75rem;
  }
  .intro {
    font-size: 0.9375rem;
  }
  .top-actions {
    gap: 20px;
  }
  .row {
    padding: 20px;
    gap: 12px;
  }
  .editor,
  .detail {
    padding: 24px;
  }
  .login {
    margin-top: 56px;
  }
}
@media (max-width: 480px) {
  .topbar {
    padding: 20px;
  }
  .workspace {
    padding: 0 20px;
  }
  .wordmark {
    font-size: 1.375rem;
  }
  .top-actions {
    gap: 16px;
    font-size: 0.75rem;
  }
  .quiet {
    font-size: 0.75rem;
  }
  .navigation a {
    padding: 10px 11px;
  }
  .page-head {
    flex-wrap: wrap;
  }
  .page-head .primary {
    width: 100%;
  }
  .list-heading {
    padding: 20px;
  }
  .row {
    padding: 20px 16px;
  }
  .status {
    font-size: 0.6875rem;
  }
  .editor,
  .detail {
    padding: 20px;
  }
  .login h1 {
    font-size: 2rem;
  }
  .form-actions .primary {
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  button,
  a {
    transition: none;
  }
  button:active:not(:disabled) {
    transform: none;
  }
}
.opening-day { border: 1px solid var(--line); border-radius: 8px; padding: 16px; margin: 0 0 16px; min-width: 0; }
.opening-day legend { padding: 0 6px; font-weight: 650; }
.opening-times { display: flex; align-items: end; flex-wrap: wrap; gap: 12px; }
.opening-times .field { flex: 1; min-width: 110px; }
.check-row { display: flex; align-items: center; gap: 12px; margin: 12px 0; }
.check-row input { width: 20px; height: 20px; flex: 0 0 20px; }
select { max-width: 100%; font: inherit; border: 1px solid var(--field-border); border-radius: 8px; padding: 12px; background: var(--surface); color: var(--ink); }
/* Extra capabilities remain one disclosure, keeping four primary choices. */
.nav-more summary { cursor: pointer; padding: 12px 16px; color: var(--muted); }
.nav-more a { margin-top: 4px; }
.nav-more summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.nav-more summary.current { color: var(--green); font-weight: 650; }
.editor > .prose + .field { margin-top: 24px; }
.sales-entry { padding: 24px 0; border-bottom: 1px solid var(--line); }
.sales-entry:first-child { padding-top: 0; }
.sales-entry:last-child { border-bottom: 0; }
.sales-entry .quiet { margin-top: 8px; }
.sales-options { margin-top: 24px; }
.sales-options summary { cursor: pointer; padding: 12px 0; text-decoration: underline; text-underline-offset: 4px; }
.sales-options[open] summary { margin-bottom: 16px; }
.sales-options summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.sales-totals { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px 24px; margin: 24px 0; font-variant-numeric: tabular-nums; }
.sales-totals dt, .sales-totals dd { margin: 0; }
.sales-totals dd { text-align: right; }
.sales-totals .total { font-weight: 700; padding-top: 12px; border-top: 1px solid var(--line); }
.sales-lines { margin-top: 24px; }
.sales-line { display: flex; justify-content: space-between; gap: 24px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.sales-line span { min-width: 0; overflow-wrap: anywhere; }
.sales-line strong { white-space: nowrap; font-variant-numeric: tabular-nums; }
.sales-pair { display: grid; grid-template-columns: 1fr 2fr; gap: 16px; }
.sales-pair > * { min-width: 0; }
.sales-tabs { display: flex; flex-wrap: wrap; gap: 24px; margin: 0 0 24px; }
.sales-tabs a { padding: 8px 0; }
.sales-tabs [aria-current] { color: var(--green); font-weight: 700; text-decoration-thickness: 2px; }
.sales-quote-lines + button { margin: 8px 0; }
@media (max-width: 480px) { .sales-pair { grid-template-columns: 1fr; gap: 0; } }
@media (max-width: 800px) {
  .navigation:has(.nav-more) { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: start; overflow: visible; gap: 4px; }
  .navigation:has(.nav-more) > a, .nav-more summary { padding: 12px 4px; font-size: 0.875rem; text-align: center; justify-content: center; }
  .nav-more { position: relative; }
  .nav-extra { position: absolute; right: 0; top: 100%; width: 240px; z-index: 2; padding: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; }
  .nav-extra a { white-space: normal; padding: 12px 16px; }
}

/* Installed add-on views inherit the owner workspace. */
.custom-navigation { display:flex; flex-wrap:wrap; gap:8px; margin:24px 0; }
.custom-navigation [aria-current="page"] { background:var(--wash, #e8f1e9); color:var(--green, #126842); }
.custom-result { margin:24px 0; }
.custom-result dl { margin:0; }
.custom-result dt { color:var(--muted, #59655e); }
.custom-result dd { margin:4px 0 16px; font-weight:650; }

.custom-management { overflow-wrap:anywhere; }
.custom-management .primary, .custom-management .secondary { white-space:normal; max-width:100%; }
.custom-management .custom-navigation a { min-width:0; }
