.sfh {
  --sfh-navy: #00598a;
  --sfh-text: #444;
  --sfh-gold: #d9b65d;
  --sfh-blue: #eaf4f9;
  --sfh-sage: #dce7e1;
  --sfh-border: #ccd8de;
  background: #fff;
  color: var(--sfh-text);
  font: 400 16px/1.6 Arial, sans-serif;
  max-width: 1440px;
  margin: 0 auto;
  overflow-wrap: anywhere;
}
.sfh *, .sfh *::before, .sfh *::after { box-sizing: border-box; }
.sfh h1, .sfh h2, .sfh h3 { color: var(--sfh-navy); line-height: 1.25; margin: 0 0 14px; padding: 0; }
.sfh h1 { font-size: clamp(27px, 3vw, 36px); }
.sfh h2 { font-size: 22px; }
.sfh h3 { font-size: 19px; }
.sfh h2 small { font-size: 16px; margin-left: 8px; }
.sfh p { margin: 0 0 16px; padding: 0; }
.sfh a { color: var(--sfh-navy); text-decoration: underline; }
.sfh :focus-visible { outline: 3px solid var(--sfh-navy); outline-offset: 3px; }
.sfh .sfh-button:focus-visible { outline-color: var(--sfh-navy); box-shadow: 0 0 0 3px white; }
.sfh .sfh-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 28px; border-bottom: 3px solid var(--sfh-gold); }
.sfh .sfh-header strong { display: block; color: var(--sfh-navy); font-size: 23px; }
.sfh .sfh-header span { display: block; }
.sfh .sfh-build { background: var(--sfh-sage); padding: 10px 28px; margin: 0; font-size: 14px; }
.sfh .sfh-layout { display: grid; grid-template-columns: 190px minmax(0, 1fr); }
.sfh nav { padding: 24px 16px; border-right: 1px solid var(--sfh-border); }
.sfh nav a { display: flex; align-items: center; min-height: 46px; padding: 10px 12px; margin-bottom: 5px; text-decoration: none; border-radius: 5px; }
.sfh nav a[aria-current] { background: var(--sfh-blue); font-weight: 700; }
.sfh .sfh-main { background: #f7fafb; min-width: 0; padding: 28px; }
.sfh .sfh-panel { border: 1px solid var(--sfh-border); border-radius: 8px; padding: 22px; margin-bottom: 22px; background: white; min-width: 0; }
.sfh .sfh-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.sfh .sfh-filters { display: flex; align-items: end; flex-wrap: wrap; gap: 16px; margin: 22px 0 12px; }
.sfh label { display: block; font-weight: 600; margin: 0 0 15px; }
.sfh input:not([type=checkbox]), .sfh select { display: block; width: 100%; max-width: 100%; min-height: 46px; border: 1px solid #899ca5; border-radius: 4px; padding: 10px; margin-top: 5px; color: var(--sfh-text); background: white; font: inherit; font-size: 16px; }
.sfh .sfh-filters label { flex: 1 1 180px; margin-bottom: 0; }
.sfh .sfh-check { display: flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 400; }
.sfh input[type=checkbox] { width: 22px; height: 22px; flex-shrink: 0; accent-color: var(--sfh-navy); }
.sfh .sfh-button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; padding: 10px 16px; border: 1px solid var(--sfh-navy); border-radius: 5px; background: var(--sfh-navy); color: white; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; }
.sfh .sfh-secondary { background: white; color: var(--sfh-navy); }
.sfh button:disabled { background: #e4e9ec; color: #546069; border-color: #c3cdd3; cursor: default; }
.sfh .sfh-muted { color: #56616a; font-size: 14px; }
.sfh .sfh-reference { padding: 14px 18px; background: var(--sfh-blue); }
.sfh .sfh-task, .sfh .sfh-member { border-top: 1px solid var(--sfh-border); padding-top: 18px; margin-top: 18px; }
.sfh .sfh-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.sfh .sfh-alert { display: inline-block; background: #fff1e2; color: #874316; border-radius: 4px; padding: 4px 8px; font-weight: 600; }
.sfh .sfh-summary { list-style: none; padding: 0; margin: 0; }
.sfh .sfh-summary li { display: flex; justify-content: space-between; gap: 15px; border-bottom: 1px solid var(--sfh-border); padding: 10px 0; }
.sfh .sfh-pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 20px; }
.sfh .sfh-pagination a { min-height: 44px; display: inline-flex; align-items: center; }
.sfh [data-form-status] { margin-top: 12px; }
.sfh [role=alert] { color: #873900; }
.sfh .sfh-menu { display: none; }
@media (max-width: 960px) {
  .sfh .sfh-layout { grid-template-columns: 160px minmax(0, 1fr); }
  .sfh .sfh-main { padding: 22px; }
  .sfh .sfh-columns { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 640px) {
  .sfh .sfh-header { padding: 18px 16px; flex-direction: column; align-items: flex-start; gap: 10px; }
  .sfh .sfh-build { padding: 10px 16px; }
  .sfh .sfh-layout { display: block; }
  .sfh .sfh-menu { display: block; font: inherit; color: var(--sfh-navy); background: white; border: 1px solid var(--sfh-navy); border-radius: 4px; padding: 10px 16px; min-height: 44px; margin: 14px 16px; }
  .sfh nav { display: none; border: 0; border-bottom: 1px solid var(--sfh-border); padding: 0 16px 12px; }
  .sfh nav.sfh-nav-open { display: block; }
  .sfh .sfh-main { padding: 20px 16px; }
  .sfh .sfh-panel { padding: 17px; }
  .sfh .sfh-filters { display: block; }
  .sfh .sfh-filters label { margin-bottom: 15px; }
  .sfh .sfh-filters button { display: flex; width: 100%; margin-bottom: 12px; }
}
.sfh textarea { display: block; width: 100%; min-height: 120px; border: 1px solid #899ca5; border-radius: 4px; padding: 10px; margin-top: 5px; color: var(--sfh-text); background: white; font: inherit; resize: vertical; }
.sfh .sfh-state { display: inline-block; border-radius: 4px; background: var(--sfh-blue); padding: 4px 8px; }
.sfh details { margin: 18px 0; }
.sfh summary { min-height: 44px; cursor: pointer; color: var(--sfh-navy); }

.sfh .sfh-artwork { margin: 1rem 0; padding: 1rem; background: #EAF4F9; border-radius: .4rem; }
.sfh .sfh-artwork img { display: block; max-width: 100%; height: auto; max-height: 36rem; object-fit: contain; }
.sfh .sfh-artwork figcaption { overflow-wrap: anywhere; margin-top: .75rem; }
.sfh .sfh-review { padding: 1rem 0; border-bottom: 1px solid #DCE7E1; }
.sfh .sfh-copy { white-space: pre-wrap; overflow-wrap: anywhere; }
.sfh input[type=file] { max-width: 100%; }
.sfh [hidden] { display: none !important; }

.sfh fieldset { min-width: 0; margin: 0 0 1rem; padding: 1rem; border: 1px solid var(--sfh-border); }
.sfh legend { color: var(--sfh-navy); font-weight: 600; }
.sfh details > summary { min-height: 44px; padding: .5rem 0; cursor: pointer; }

/* Keep the current post and its sections visible while working. */
.sfh .sfh-editor-header { position: sticky; top: 32px; z-index: 20; background: #f7fafb; padding: 12px 0 0; border-bottom: 1px solid var(--sfh-border); margin-bottom: 20px; }
.sfh .sfh-editor-header h1 { font-size: 25px; margin: 8px 0; }
.sfh .sfh-editor-header p { margin: 8px 0; font-size: 14px; }
.sfh .sfh-tabs { display: flex; flex-wrap: wrap; gap: 4px; padding: 4px 0; }
.sfh .sfh-tabs a { padding: 10px 14px; min-height: 44px; text-decoration: none; border-radius: 5px; }
.sfh .sfh-tabs a[aria-selected=true] { background: var(--sfh-navy); color: white; font-weight: 700; }
.sfh [data-editor-panel] { scroll-margin-top: 230px; }
.sfh .sfh-feedback { background: #fff1e2; border-left: 4px solid #874316; padding: 16px; white-space: pre-wrap; }
.sfh .sfh-save-notice { color: #23653b; font-weight: 600; }
.sfh [data-add-post] > .sfh-panel { border: 0; margin: 0; padding: 12px 0; }
@media (max-width: 782px) { .sfh .sfh-editor-header { top: 46px; } }
@media (max-width: 600px) { .sfh .sfh-editor-header { top: 0; } .sfh .sfh-tabs a { padding: 10px 8px; } }
