/* Visible only for authorised editors; no public-page content is changed. */
body.has-frontend-toolbar { --frontend-toolbar-height: 44px; padding-top: var(--frontend-toolbar-height); }
.frontend-toolbar {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--frontend-toolbar-height); background: #36571f; color: #fffdf8;
  border-bottom: 1px solid #294519; box-shadow: 0 2px 8px #29381c16;
  font: 500 13px/1.3 var(--sans);
}
.frontend-toolbar-inner {
  max-width: 1560px; margin: 0 auto; height: 100%; padding: 0 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.frontend-toolbar-brand { font-weight: 700; white-space: nowrap; }
.frontend-toolbar-brand span { font-weight: 400; color: #e6eddf; }
.frontend-toolbar-links { display: flex; align-items: center; gap: 4px; min-width: 0; }
.frontend-toolbar a {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  min-height: 36px; padding: 6px 10px; border-radius: 5px;
  color: #fffdf8; text-decoration: none; white-space: nowrap;
}
.frontend-toolbar a:hover { color: #fff; background: #4d6c36; }
.frontend-toolbar a:focus-visible { outline: 2px solid #fff5ca; outline-offset: -2px; }
.frontend-toolbar .action-icon { width: 16px; height: 16px; }
.component-edit-tools { display: flex; justify-content: flex-end; margin-bottom: 10px; }
a.component-edit-link {
  display: inline-flex; align-items: center; gap: 6px; min-height: 32px;
  padding: 5px 9px; border: 1px solid #b8c8a5; border-radius: 5px;
  font: 500 12px/1.35 var(--sans); color: #36571f; background: #f6f8ee;
  text-decoration: none;
}
a.component-edit-link:hover { background: #e9efdb; color: #2d481c; }
a.component-edit-link:focus-visible { outline: 2px solid #436528; outline-offset: 3px; }
.component-edit-link .action-icon { width: 14px; height: 14px; }
@media (min-width: 1180px) {
  body.has-frontend-toolbar .site-header { top: var(--frontend-toolbar-height); height: calc(100dvh - var(--frontend-toolbar-height)); }
}
@media (max-width: 600px) {
  .frontend-toolbar-brand { display: none; }
  .frontend-toolbar-inner { justify-content: center; padding-inline: 6px; }
  .frontend-toolbar a { padding-inline: 8px; font-size: 12px; }
}
@media print {
  .frontend-toolbar, .component-edit-tools { display: none !important; }
  body.has-frontend-toolbar { padding-top: 0; }
}
