#header { background: #143d2e; color: #f7fcf6; }
#site-name a { color: #f7fcf6; display: inline-flex; align-items: center; gap: 12px; font-weight: 750; }
#site-name img { width: 48px; padding: 3px; background: #fff; border-radius: 6px; }
div.breadcrumbs { background: #255541; }
.module caption, .module h2, .results thead th { font-weight: 650; }
.module caption, .module h2 { background: #255541; }
.button, input[type=submit], input[type=button], .submit-row input, a.button { border-radius: 7px; }
.submit-row input.default, .button.default { background: #1f6549; }
.submit-row input.default:hover, .button.default:hover { background: #174b37; }
.dashboard #content { width: min(100%, 940px); }
.dashboard #content > h1 { display: none; }
.hsst-dashboard { margin: 0 0 24px; }
.hsst-dashboard-heading { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.hsst-dashboard-heading h2 { margin: 0 0 4px; font-size: clamp(23px, 3vw, 32px); }
.hsst-dashboard-heading p, .hsst-quick p { color: var(--body-quiet-color); margin: 0; }
.hsst-quick-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.hsst-quick { border: 1px solid var(--border-color); background: var(--darkened-bg); border-radius: 12px; padding: 16px; }
.hsst-quick h3 { margin: 0 0 5px; font-size: 17px; }
.hsst-quick div { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 12px; }
.hsst-quick a { font-weight: 700; }
.hsst-quick .hsst-action { display: inline-block; color: #fff; background: #255541; border-radius: 6px; padding: 7px 10px; }
.model-notice.change-form fieldset.module { border: 1px solid var(--border-color); border-radius: 10px; overflow: hidden; margin-bottom: 15px; }
.model-notice.change-form .form-row textarea { width: min(100%, 650px); box-sizing: border-box; }
.hsst-status { display: inline-block; border-radius: 20px; padding: 4px 9px; font-weight: 700; }
.hsst-status.is-live { background: #def2e3; color: #1f5538; }
.hsst-status.is-draft { background: #f2eadb; color: #6a4e28; }
@media (max-width: 640px) {
  .hsst-quick-grid { grid-template-columns: 1fr; }
}

.hsst-news-editor { display: grid; grid-template-columns: minmax(0, 1fr) minmax(230px, 340px); align-items: start; gap: 20px; }
.hsst-news-fields, .hsst-preview-panel { min-width: 0; }
.hsst-preview-panel { position: sticky; top: 14px; padding: 16px; border: 1px solid var(--border-color); border-radius: 12px; background: var(--darkened-bg); }
.hsst-preview-panel h2 { margin: 0 0 12px; font-size: 17px; }
.hsst-current-status { margin: 0 0 10px; color: var(--body-quiet-color); }
.hsst-preview-card { overflow: hidden; border: 1px solid var(--border-color); border-radius: 10px; background: var(--body-bg); }
.hsst-preview-card img { display: block; width: 100%; height: auto; aspect-ratio: 1.84; object-fit: cover; background: var(--darkened-bg); }
.hsst-preview-body { padding: 15px; overflow-wrap: anywhere; }
.hsst-preview-body h3 { margin: 6px 0; font-size: 17px; color: var(--body-fg); }
.hsst-preview-body p { margin: 0 0 9px; color: var(--body-quiet-color); }
.hsst-preview-body span { color: var(--link-fg); font-weight: 700; }
.hsst-news-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 8px; }
.hsst-news-actions .deletelink { align-self: center; }
@media (max-width: 1070px) {
  .hsst-news-editor { grid-template-columns: 1fr; }
  .hsst-preview-panel { position: static; }
  .hsst-preview-card { max-width: 360px; }
}

.hsst-admin-language { display: inline-flex; align-items: center; gap: 2px; padding: 2px; margin-inline: 10px; border: 1px solid #ffffff55; border-radius: 6px; white-space: nowrap; }
.hsst-admin-language button { border: 0; border-radius: 4px; padding: 4px 7px; background: transparent; color: #fff; font: inherit; cursor: pointer; }
.hsst-admin-language button[aria-pressed="true"] { background: #e6eead; color: #143d2e; font-weight: 700; }
.hsst-admin-language button:hover { text-decoration: underline; }
@media (max-width: 650px) {
  .hsst-admin-language { margin: 4px 0 0; }
}
