:root {
  --ink: #16212b;
  --ink-soft: #263642;
  --yellow: #f6c744;
  --blue: #0b6682;
  --blue-dark: #074e65;
  --blue-light: #69c3dd;
  --blue-soft: #dceff4;
  --blue-pale: #eef7f9;
  --paper: #f5f3ed;
  --white: #ffffff;
  --muted: #68747d;
  --line: #dcdedc;
  --red: #c84139;
  --green: #2f765d;
  --shadow: 0 20px 50px rgba(14, 27, 36, .12);
}

/* Access control */
.access-control-content { padding: 42px 0 80px; background: #f3f5f5; }
.access-control-metrics { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; margin: 0 0 24px; }
.access-control-metrics article { padding: 22px; background: #fff; border: 1px solid #dce2e2; border-radius: 14px; box-shadow: 0 8px 24px rgba(23,33,43,.05); }
.access-control-metrics span,.access-control-metrics small { display: block; color: #607078; }
.access-control-metrics strong { display: block; margin: 7px 0 2px; color: #17212b; font-size: 2rem; }
.access-control-metrics .attention { border-color: #d7a7a1; background: #fff9f8; }
.access-control-panel { margin: 0 0 24px; padding: 28px; background: #fff; border: 1px solid #dce2e2; border-radius: 16px; box-shadow: 0 8px 24px rgba(23,33,43,.04); }
.access-control-panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.access-control-panel-heading h2 { margin: 4px 0 0; }
.access-control-panel-heading p { margin: 7px 0 0; color: #607078; }
.access-control-status { display: inline-flex; align-items: center; width: fit-content; padding: 5px 10px; color: #405159; background: #edf1f1; border-radius: 999px; font-size: .78rem; font-weight: 700; white-space: nowrap; }
.access-control-status.status-active,.access-control-status.status-confirmed { color: #175f48; background: #e2f3ec; }
.access-control-status.status-failed { color: #8c3029; background: #f9e8e5; }
.active-review-summary { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; }
.active-review-summary div { padding: 16px; background: #f4f7f7; border-radius: 10px; }
.active-review-summary span,.active-review-summary strong { display: block; }
.active-review-summary span { margin-bottom: 5px; color: #607078; font-size: .8rem; }
.access-control-import-form { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 20px; padding: 16px; border: 1px solid #c9ddd8; border-radius: 10px; background: #f3faf8; }
.access-control-import-form strong,.access-control-import-form span { display: block; }
.access-control-import-form span { margin-top: 4px; color: #526761; font-size: .9rem; }
.access-control-import-form button { flex: 0 0 auto; }
.source-detail-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 20px; }
.source-detail-heading>div { display: flex; align-items: center; gap: 10px; color: #607078; }
.source-back-link { font-weight: 700; }
.source-detail-metrics { grid-template-columns: repeat(5,minmax(0,1fr)); }
.source-detail-filters { display: grid; grid-template-columns: minmax(260px,2fr) minmax(190px,1fr) auto auto; gap: 12px; align-items: end; margin-bottom: 20px; }
.source-detail-filters label>span { display: block; margin-bottom: 6px; font-size: .8rem; font-weight: 700; }
.source-detail-filters input,.source-detail-filters select { width: 100%; min-height: 42px; padding: 9px 11px; border: 1px solid #b8c6c7; border-radius: 7px; background: #fff; }
.source-detail-filters button { min-height: 42px; padding: 0 18px; border: 0; border-radius: 7px; background: #183f3b; color: #fff; font-weight: 750; }
.source-detail-filters>a { min-height: 42px; display: inline-flex; align-items: center; }
.source-user-table-wrap { overflow-x: auto; }
.source-user-table { width: 100%; border-collapse: collapse; }
.source-user-table th { padding: 10px 12px; border-bottom: 2px solid #d7e1e1; color: #526368; font-size: .78rem; text-align: left; text-transform: uppercase; letter-spacing: .04em; }
.source-user-table td { padding: 13px 12px; border-bottom: 1px solid #e3eaea; vertical-align: top; }
.source-user-table td strong,.source-user-table td small,.source-user-table td>span { display: block; }
.source-user-table td small { margin-top: 3px; color: #68777a; }
.source-rights,.source-flags { display: flex; flex-wrap: wrap; gap: 5px; }
.source-rights span,.source-flags span { display: inline-flex; padding: 3px 7px; border-radius: 999px; background: #edf3f2; color: #36514e; font-size: .74rem; line-height: 1.3; }
.source-rights .is-privileged,.source-flags .flag-warning { background: #fff0d5; color: #80520b; }
.source-flags .flag-danger { background: #fde7e4; color: #922e25; }
.source-pagination { display: flex; justify-content: space-between; align-items: center; padding-top: 18px; }
.source-pagination div { display: flex; gap: 8px; }
.source-pagination a { padding: 7px 12px; border: 1px solid #b9c9c8; border-radius: 7px; font-weight: 700; }
.access-control-start-form { display: grid; grid-template-columns: minmax(220px,2fr) minmax(160px,1fr) minmax(200px,1fr) auto; gap: 14px; align-items: end; }
.access-control-start-form label>span:first-child { display: block; margin-bottom: 6px; color: #405159; font-size: .82rem; font-weight: 700; }
.access-control-start-form input,.access-control-start-form select { width: 100%; min-height: 44px; padding: 9px 11px; border: 1px solid #bdc8ca; border-radius: 8px; background: #fff; }
.access-source-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.access-source-grid article { display: grid; grid-template-columns: 1fr auto; gap: 7px 12px; align-items: start; padding: 16px; background: #f4f7f7; border: 1px solid #e1e6e6; border-radius: 10px; }
.access-source-grid article strong,.access-source-grid article span { display: block; }
.access-source-grid article div>span,.access-source-grid article small { color: #69777d; font-size: .78rem; }
.access-source-grid article small { grid-column: 1/-1; }
.access-review-table-wrap { overflow-x: auto; }
.access-review-table { width: 100%; border-collapse: collapse; }
.access-review-table th { padding: 10px 12px; color: #607078; border-bottom: 1px solid #cfd8d9; font-size: .76rem; text-align: left; text-transform: uppercase; }
.access-review-table td { padding: 13px 12px; border-bottom: 1px solid #e4e9e9; vertical-align: middle; }
.access-control-empty { margin: 0; padding: 18px; color: #607078; background: #f4f7f7; border-radius: 10px; }
.access-control-delete { margin-top: 20px; border: 1px solid #e5c7c3; border-radius: 10px; background: #fff9f8; }
.access-control-delete summary { padding: 14px 16px; color: #8c3029; cursor: pointer; font-weight: 750; }
.access-control-delete form { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(240px,1fr) auto; gap: 16px; align-items: end; padding: 0 16px 16px; }
.access-control-delete p { margin: 4px 0 0; color: #6d5a58; }
.access-control-delete label>span:first-child { display: block; margin-bottom: 6px; font-size: .8rem; font-weight: 700; }
.access-control-delete input { width: 100%; min-height: 42px; padding: 9px 11px; border: 1px solid #c88d86; border-radius: 7px; }
.danger-button { min-height: 42px; padding: 9px 15px; color: #fff; background: #a53b33; border: 1px solid #8d3029; border-radius: 7px; font-weight: 750; }
.danger-button:hover,.danger-button:focus-visible { background: #842d27; }

@media (max-width: 992px) {
  .access-control-start-form { grid-template-columns: 1fr 1fr; }
  .access-source-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 680px) {
  .access-control-metrics,.active-review-summary,.access-source-grid,.access-control-start-form { grid-template-columns: 1fr; }
  .access-control-panel { padding: 20px; }
  .access-control-panel-heading { display: grid; }
  .access-control-delete form { grid-template-columns: 1fr; }
  .access-control-import-form { align-items: stretch; flex-direction: column; }
  .source-detail-metrics { grid-template-columns: 1fr 1fr; }
  .source-detail-filters { grid-template-columns: 1fr; }
  .source-detail-heading { align-items: flex-start; flex-direction: column; }
}

/* Avtaler og leverandører */
.contract-hero { padding: 4.5rem 0 3.5rem; background: linear-gradient(135deg, var(--ink) 0%, var(--blue-dark) 100%); color: var(--white); }
.contract-hero-compact { padding: 145px 0 2.75rem; }
.contract-hero h1 { max-width: 850px; margin: .6rem 0; font-size: clamp(2.2rem,5vw,4.5rem); line-height: 1.02; }
.contract-hero-compact h1 { font-size: clamp(2rem,4vw,3.4rem); }
.contract-hero p { max-width: 760px; margin: 0; color: rgba(255,255,255,.76); font-size: 1.08rem; }
.contract-title-row { display:flex; justify-content:space-between; gap:2rem; align-items:flex-end; }
.contract-title-badges { display:flex; gap:.5rem; padding-bottom:.5rem; }
.contract-content { min-height: 60vh; padding: 2rem 0 5rem; background: var(--paper); }
.contract-navigation { display:flex; flex-wrap:wrap; gap:.35rem; margin-bottom:2rem; padding:.4rem; border:1px solid var(--line); border-radius:.7rem; background:#fff; box-shadow:0 8px 25px rgba(14,27,36,.06); }
.contract-navigation a { padding:.65rem 1rem; border-radius:.45rem; color:var(--ink); font-weight:750; text-decoration:none; }
.contract-navigation a:hover,.contract-navigation a:focus-visible { background:var(--blue-pale); color:var(--blue-dark); }
.contract-navigation a.is-active { color:var(--blue-dark); background:var(--blue-pale); box-shadow:inset 0 -3px var(--blue); }
.contract-navigation .contract-nav-primary { margin-left:auto; background:var(--yellow); color:var(--ink); }
.contract-metrics { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:1rem; margin-bottom:2rem; }
.contract-metrics article { min-height:135px; padding:1.25rem; border-radius:.75rem; background:#fff; border:1px solid var(--line); box-shadow:0 10px 30px rgba(14,27,36,.07); }
.contract-metrics span { display:block; min-height:2.8em; color:var(--muted); font-weight:700; }
.contract-metrics strong { display:block; margin-top:.5rem; color:var(--blue-dark); font-size:1.8rem; }
.contract-metrics .attention { border-top:4px solid var(--yellow); }
.contract-dashboard-grid,.contract-detail-grid { display:grid; grid-template-columns:minmax(0,1.65fr) minmax(300px,1fr); gap:1.5rem; align-items:start; }
.contract-panel { margin-bottom:1.5rem; padding:1.4rem; border:1px solid var(--line); border-radius:.75rem; background:#fff; box-shadow:0 10px 30px rgba(14,27,36,.06); }
.contract-panel-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:1rem; margin-bottom:1.1rem; }
.contract-panel-heading h2 { margin:.15rem 0 0; font-size:1.45rem; }
.contract-panel-heading>a { color:var(--blue-dark); font-weight:750; }
.contract-empty { margin:1rem 0; padding:1rem; color:var(--muted); background:var(--blue-pale); border-radius:.55rem; }
.contract-empty-state { padding:2rem 1.25rem; color:var(--muted); text-align:center; background:var(--blue-pale); border-radius:.55rem; }
.contract-empty-state h3 { margin:0 0 .35rem; color:var(--ink); font-size:1.15rem; }
.contract-empty-state p { margin:0; }
.contract-table-wrap { overflow-x:auto; }
.contract-table { width:100%; border-collapse:collapse; }
.contract-table th { padding:.75rem; border-bottom:2px solid var(--ink); color:var(--muted); font-size:.76rem; letter-spacing:.04em; text-align:left; text-transform:uppercase; white-space:nowrap; }
.contract-table td { padding:.85rem .75rem; border-bottom:1px solid var(--line); vertical-align:top; }
.contract-table td>a { color:var(--ink); text-decoration:none; }
.contract-table td small,.contract-change-list span,.contract-table td>small { display:block; margin-top:.2rem; color:var(--muted); }
.contract-table tr:hover td { background:var(--blue-pale); }
.contract-inactive-suppliers { overflow:hidden; margin-top:1rem; background:#fff; border:1px solid var(--line); border-radius:.75rem; box-shadow:0 10px 30px rgba(14,27,36,.05); }
.contract-inactive-suppliers>summary { display:flex; align-items:center; justify-content:space-between; gap:1rem; padding:1.15rem 1.35rem; color:var(--ink); cursor:pointer; list-style:none; }
.contract-inactive-suppliers>summary::-webkit-details-marker { display:none; }
.contract-inactive-suppliers>summary::after { content:"+"; order:3; color:var(--blue-dark); font-size:1.35rem; font-weight:800; }
.contract-inactive-suppliers[open]>summary::after { content:"−"; }
.contract-inactive-suppliers>summary>span:first-child { display:grid; gap:.15rem; }
.contract-inactive-suppliers>summary small { color:var(--muted); font-weight:400; }
.contract-inactive-count { display:grid; place-items:center; min-width:2rem; height:2rem; margin-left:auto; padding:0 .55rem; color:var(--blue-dark); background:var(--blue-pale); border-radius:999px; font-weight:800; }
.contract-inactive-body { padding:0 1.35rem 1.35rem; border-top:1px solid #edf0ee; opacity:.9; }
.contract-badge { display:inline-flex; padding:.3rem .55rem; border-radius:999px; background:#e8ecee; color:#3b4c57; font-size:.76rem; font-weight:800; white-space:nowrap; }
.status-aktiv { background:#dcefe6; color:#155d43; }.status-reforhandling,.criticality-høy { background:#fff0c2; color:#765500; }.criticality-kritisk { background:#f7d9d6; color:#8b2721; }
.contract-change-list { display:grid; gap:.5rem; }.contract-change-list a { display:flex; flex-direction:column; padding:.75rem; border-radius:.45rem; color:var(--ink); text-decoration:none; }.contract-change-list a:hover { background:var(--blue-pale); }
.supplier-value-grid { display:grid; grid-template-columns:repeat(5,1fr); gap:.75rem; }.supplier-value-grid a { display:flex; flex-direction:column; gap:.35rem; padding:1rem; border-radius:.55rem; background:var(--blue-pale); color:var(--ink); text-decoration:none; }.supplier-value-grid span { color:var(--blue-dark); font-weight:800; }
.contract-filters { display:grid; grid-template-columns:repeat(4,minmax(150px,1fr)); gap:.85rem; margin-bottom:1.5rem; padding:1.25rem; border-radius:.75rem; background:#fff; border:1px solid var(--line); }
.contract-filters label,.contract-form label,.contract-upload label { display:grid; gap:.35rem; color:var(--ink); font-weight:650; }
.contract-filters input,.contract-filters select,.contract-form input,.contract-form select,.contract-form textarea,.contract-upload input,.contract-upload textarea { width:100%; min-height:2.8rem; padding:.65rem .75rem; border:1px solid #b9c2c7; border-radius:.4rem; background:#fff; color:var(--ink); font:inherit; font-weight:400; }
.contract-filter-wide { grid-column:span 2; }.contract-filter-checks { display:flex; flex-wrap:wrap; align-items:center; gap:1rem; grid-column:span 3; }.contract-filter-checks label { display:flex; align-items:center; }.contract-filter-checks input { width:auto; min-height:auto; }
.contract-list-heading,.contract-page-actions { display:flex; justify-content:flex-end; margin:0 0 1rem; }
.contract-definition { display:grid; grid-template-columns:minmax(130px,.7fr) minmax(0,1.3fr); gap:.75rem 1rem; margin:0; }.contract-definition dt { color:var(--muted); font-weight:650; }.contract-definition dd { margin:0; overflow-wrap:anywhere; }.contract-long-text { white-space:pre-line; }.contract-deadline { color:var(--red); font-weight:850; }
.contract-cost { display:block; margin:.5rem 0 1.25rem; color:var(--blue-dark); font-size:2.3rem; }.contract-cost small { font-size:.85rem; }
.contract-document-list,.contract-category-list { display:grid; gap:.55rem; margin:0; padding:0; list-style:none; }.contract-document-list li,.contract-category-list li { display:flex; align-items:center; justify-content:space-between; gap:.75rem; padding:.7rem; border:1px solid var(--line); border-radius:.45rem; }.contract-document-list a { display:flex; align-items:center; gap:.6rem; min-width:0; color:var(--ink); text-decoration:none; }.contract-document-list small,.contract-category-list small { display:block; color:var(--muted); }.contract-document-list button,.contract-category-list button { border:0; background:transparent; color:var(--red); font-weight:700; }
.contract-upload { margin-top:1rem; padding-top:1rem; border-top:1px solid var(--line); }.contract-upload summary { color:var(--blue-dark); font-weight:800; cursor:pointer; }.contract-upload form { display:grid; gap:.75rem; margin-top:1rem; }
.contract-form-layout { display:grid; grid-template-columns:minmax(0,2fr) minmax(260px,.7fr); gap:2rem; align-items:start; }.contract-form { display:grid; gap:1rem; }.contract-form fieldset { display:grid; gap:1rem; padding:1.4rem; border:1px solid var(--line); border-radius:.75rem; background:#fff; }.contract-form legend { float:none; width:auto; margin:0; padding:0; color:var(--ink); font-size:1.35rem; font-weight:850; }.contract-form-row { display:grid; grid-template-columns:1fr 1fr; gap:1rem; }.contract-form small { color:var(--muted); font-weight:400; }.contract-check,.contract-check-row .contract-check { display:flex; align-items:center; gap:.55rem; }.contract-check input,.contract-access-list input { width:auto; min-height:auto; }.contract-check-row { display:flex; flex-wrap:wrap; gap:1.5rem; }.contract-access-list { display:grid; grid-template-columns:repeat(2,1fr); gap:.4rem; }.contract-access-list>strong { grid-column:1/-1; }.contract-access-list label { display:flex; align-items:center; gap:.5rem; font-weight:500; }.contract-form-help { position:sticky; top:6rem; padding:1.4rem; border-radius:.75rem; background:var(--ink); color:#fff; }.contract-form-help h2 { margin-top:0; font-size:1.2rem; }.contract-form-help p { color:rgba(255,255,255,.75); }.contract-form-compact { box-shadow:none; }
.contract-form-help .eyebrow { margin-bottom:1rem; }
.contract-form-help h2:not(:first-of-type) { margin-top:1.5rem; }
.contract-field-intro { margin:0; color:var(--muted); }
.supplier-registration-types { display:grid; grid-template-columns:1fr 1fr; gap:.75rem; }
.contract-form .supplier-registration-type { display:grid; grid-template-columns:auto 1fr; align-items:start; gap:.7rem; padding:1rem; border:1px solid var(--line); border-radius:.55rem; background:#f7f8f7; cursor:pointer; font-weight:400; }
.contract-form .supplier-registration-type:has(input:checked) { border-color:#65a8bb; background:var(--blue-pale); box-shadow:inset 0 0 0 1px #65a8bb; }
.contract-form .supplier-registration-type input { width:auto; min-height:auto; margin-top:.25rem; }
.supplier-registration-type span { display:grid; gap:.15rem; }
.supplier-registration-type small { color:var(--muted); }
.supplier-lookup-row { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:.65rem; align-items:stretch; }
.supplier-lookup-row .secondary-button { white-space:nowrap; }
.supplier-manual-note,.supplier-lookup-result { padding:1rem; border:1px solid #b9c2c7; border-radius:.55rem; background:#f7f8f7; }
.supplier-manual-note p,.supplier-lookup-result p { margin:.35rem 0 0; }
.supplier-lookup-result h3 { margin:.65rem 0 .25rem; font-size:1.15rem; }
.supplier-lookup-result .primary-button,.supplier-lookup-result .secondary-button { display:inline-block; margin-top:.85rem; }
.supplier-lookup-result.is-verified { border-color:#6ba889; background:#edf8f2; }
.supplier-lookup-result.is-existing { border-color:#d3a92d; background:#fff8df; }
.supplier-lookup-result.is-warning { border-color:#d3a92d; background:#fff8df; }
.supplier-lookup-result.is-error { border-color:#c66; background:#fff1f1; }
.supplier-lookup-warning { color:#8a3300; font-weight:650; }
.supplier-registration-details { display:grid; gap:1rem; }
.contract-help-link { display:inline-flex; align-items:center; gap:.45rem; margin:.25rem 0 .6rem; color:var(--yellow); font-weight:750; }
.contract-help-link:hover { color:#ffe28d; }
.contract-activity-field { display:grid; gap:.65rem; padding-top:.25rem; }
.contract-activity-field>p { margin:0; color:var(--muted); font-size:.9rem; line-height:1.55; }
.contract-activity-options { display:grid; grid-template-columns:1fr 1fr; gap:.75rem; }
.contract-form .contract-activity-option { display:grid; grid-template-columns:auto 1fr; align-items:start; gap:.75rem; padding:1rem; background:#f7f8f7; border:1px solid var(--line); border-radius:.55rem; cursor:pointer; }
.contract-form .contract-activity-option:has(input:checked) { background:var(--blue-pale); border-color:#7db9ca; box-shadow:inset 0 0 0 1px #7db9ca; }
.contract-form .contract-activity-historical:has(input:checked) { background:#fff8df; border-color:#dfbd4a; box-shadow:inset 0 0 0 1px #dfbd4a; }
.contract-activity-option input { width:1.1rem; min-height:auto; height:1.1rem; margin-top:.15rem; accent-color:var(--blue); }
.contract-activity-option>span { display:grid; gap:.2rem; }
.contract-activity-option small { line-height:1.45; }
@media (max-width: 992px) { .contract-metrics { grid-template-columns:repeat(2,1fr); }.contract-dashboard-grid,.contract-detail-grid,.contract-form-layout { grid-template-columns:1fr; }.supplier-value-grid { grid-template-columns:repeat(2,1fr); }.contract-filters { grid-template-columns:repeat(2,1fr); }.contract-form-help { position:static; } }
@media (max-width: 600px) { .contract-title-row { align-items:flex-start; flex-direction:column; }.contract-metrics,.supplier-value-grid,.contract-filters,.contract-form-row,.contract-access-list,.contract-activity-options,.supplier-registration-types,.supplier-lookup-row { grid-template-columns:1fr; }.contract-filter-wide,.contract-filter-checks { grid-column:auto; }.contract-navigation .contract-nav-primary { margin-left:0; }.contract-definition { grid-template-columns:1fr; gap:.2rem; }.contract-definition dd { margin-bottom:.7rem; } }

/* Hjelp og veiledning */
.help-hero h1,.help-article-hero h1 { max-width:900px; }
.help-content { padding:4.5rem 0 5rem; background:var(--paper); }
.help-card-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1rem; }
.help-card { display:grid; align-content:start; min-height:285px; padding:1.6rem; color:var(--ink); background:#fff; border:1px solid var(--line); border-radius:.75rem; text-decoration:none; box-shadow:0 10px 30px rgba(14,27,36,.06); }
.help-card-featured { border-top:4px solid var(--yellow); transition:transform .2s ease,box-shadow .2s ease; }
.help-card-featured:hover { color:var(--ink); transform:translateY(-4px); box-shadow:var(--shadow); }
.help-card-upcoming { background:#f8f8f5; }
.help-card-number { color:var(--blue); font-size:.75rem; font-weight:850; letter-spacing:.12em; }
.help-card>span:nth-child(2) { display:grid; gap:.25rem; margin-top:2.25rem; }
.help-card small { color:var(--muted); font-weight:750; text-transform:uppercase; letter-spacing:.06em; }
.help-card strong { font-size:1.45rem; }
.help-card p { margin:1rem 0; color:var(--muted); line-height:1.65; }
.help-card-link { align-self:end; margin-top:auto; color:var(--blue-dark); font-weight:750; }
.help-contact-panel { display:flex; align-items:center; justify-content:space-between; gap:2rem; margin-top:2rem; padding:2rem; background:#fff; border:1px solid var(--line); border-radius:.75rem; }
.help-contact-panel h2 { margin:.25rem 0 .45rem; }
.help-contact-panel p { max-width:700px; margin:0; color:var(--muted); }
.help-layout { display:grid; grid-template-columns:245px minmax(0,820px); justify-content:center; gap:3.5rem; align-items:start; }
.help-toc { position:sticky; top:6rem; padding:1.25rem; background:#fff; border:1px solid var(--line); border-radius:.7rem; box-shadow:0 10px 30px rgba(14,27,36,.05); }
.help-toc>strong { display:block; margin-bottom:.8rem; font-size:.85rem; }
.help-toc nav { display:grid; }
.help-toc nav a { padding:.5rem 0; color:var(--muted); border-bottom:1px solid #eceeec; font-size:.82rem; text-decoration:none; }
.help-toc nav a:hover,.help-toc nav a:focus-visible { color:var(--blue-dark); }
.help-toc-back { display:flex; justify-content:space-between; gap:.5rem; margin-top:1rem; color:var(--blue-dark); font-size:.8rem; font-weight:750; }
.help-guide { min-width:0; }
.help-intro-panel { display:grid; grid-template-columns:auto 1fr; gap:1rem; margin-bottom:1rem; padding:1.5rem; color:#fff; background:var(--ink); border-radius:.75rem; }
.help-intro-panel>span { display:grid; place-items:center; width:2rem; height:2rem; color:var(--ink); background:var(--yellow); border-radius:50%; font-weight:850; }
.help-intro-panel h2 { margin:0 0 .4rem; font-size:1.3rem; }
.help-intro-panel p { margin:0; color:rgba(255,255,255,.75); }
.help-section { scroll-margin-top:2rem; margin-top:1rem; padding:2rem; background:#fff; border:1px solid var(--line); border-radius:.75rem; box-shadow:0 10px 30px rgba(14,27,36,.05); }
.help-section>.help-step { display:block; color:var(--blue); font-size:.72rem; font-weight:850; letter-spacing:.12em; }
.help-section>h2 { margin:.3rem 0 1rem; font-size:1.75rem; }
.help-section>p { color:#485761; line-height:1.75; }
.help-steps { display:grid; gap:.7rem; margin:1.5rem 0 0; padding:0; list-style:none; counter-reset:helpstep; }
.help-steps li { display:grid; grid-template-columns:1fr; gap:.15rem; padding:1rem 1.1rem; background:var(--blue-pale); border-radius:.5rem; counter-increment:helpstep; }
.help-steps li strong::before { content:counter(helpstep) ". "; color:var(--blue); }
.help-steps li span { color:var(--muted); }
.help-field-grid { display:grid; grid-template-columns:1fr 1fr; gap:.75rem; margin-top:1.5rem; }
.help-field-grid>div { display:grid; gap:.25rem; padding:1rem; background:#f7f8f7; border-radius:.5rem; }
.help-field-grid span { color:var(--muted); line-height:1.5; }
.help-callout { margin-top:1.5rem; padding:1.2rem; background:var(--blue-pale); border-left:4px solid var(--blue); border-radius:.4rem; }
.help-callout-warning { background:#fff8df; border-left-color:var(--yellow); }
.help-callout p { margin:.3rem 0 0; color:#53616a; line-height:1.6; }
.help-table { width:100%; margin-top:1.25rem; border-collapse:collapse; }
.help-table th,.help-table td { padding:.8rem; border-bottom:1px solid var(--line); text-align:left; vertical-align:top; }
.help-table thead th { color:var(--muted); font-size:.72rem; text-transform:uppercase; letter-spacing:.06em; }
.help-table tbody th { width:28%; color:var(--ink); }
.help-table td { color:#53616a; }
.help-example { margin-top:1.5rem; padding:1.4rem; color:#fff; background:var(--blue-dark); border-radius:.6rem; }
.help-example>span { display:block; color:var(--yellow); font-size:.72rem; font-weight:850; text-transform:uppercase; letter-spacing:.08em; }
.help-example strong { display:block; margin:.45rem 0; }
.help-example p { margin:0; color:rgba(255,255,255,.78); line-height:1.6; }
.help-check-list,.help-final-checklist { display:grid; gap:.7rem; margin:1.4rem 0 0; padding:0; list-style:none; }
.help-check-list li,.help-final-checklist li { position:relative; padding-left:1.7rem; color:#485761; }
.help-check-list li::before,.help-final-checklist li::before { content:"✓"; position:absolute; left:0; color:var(--green); font-weight:900; }
.help-status-list { display:grid; gap:.55rem; margin:1.4rem 0; }
.help-status-list>div { display:grid; grid-template-columns:165px 1fr; gap:1rem; padding:.8rem 1rem; background:#f7f8f7; border-radius:.45rem; }
.help-status-list span { color:var(--muted); }
.help-final-checklist { grid-template-columns:1fr 1fr; }
.help-guide-actions { display:flex; align-items:center; gap:1.25rem; flex-wrap:wrap; margin-top:2rem; }
.help-guide-actions>a:not(.primary-button) { color:var(--blue-dark); font-weight:750; }
.editor-help-link { display:inline-flex; align-items:center; gap:.4rem; margin:.15rem 0 .7rem; color:var(--blue-dark); font-size:.78rem; font-weight:800; }
@media (max-width: 992px) { .help-card-grid { grid-template-columns:1fr 1fr; }.help-layout { grid-template-columns:1fr; gap:1.25rem; }.help-toc { position:static; }.help-toc nav { grid-template-columns:1fr 1fr; column-gap:1.5rem; } }
@media (max-width: 600px) { .help-card-grid,.help-field-grid,.help-final-checklist { grid-template-columns:1fr; }.help-contact-panel { align-items:flex-start; flex-direction:column; }.help-toc nav { grid-template-columns:1fr; }.help-section { padding:1.35rem; }.help-status-list>div { grid-template-columns:1fr; gap:.25rem; }.help-table { display:block; overflow-x:auto; white-space:normal; } }

/* Favoritter og felles besøksstatistikk */
.favorite-form {
  margin: 1.25rem 0 0;
}

.rich-text img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  margin: 1.25rem auto;
  border-radius: .35rem;
}

.article-sidebar .favorite-form,
.action-detail-layout > aside .favorite-form {
  margin: 0 0 1.25rem;
}

.favorite-button {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  min-height: 2.75rem;
  padding: .65rem .9rem;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: .35rem;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.article-sidebar .favorite-button,
.action-detail-layout > aside .favorite-button {
  width: 100%;
  justify-content: center;
  border-color: #cbd5db;
  background: #fff;
  color: #10212d;
}

.favorite-button:hover,
.favorite-button:focus-visible,
.favorite-button.is-favorite {
  border-color: #12809b;
  background: #e7f4f7;
  color: #075d73;
}

.favorite-button span {
  font-size: 1.2em;
  line-height: 1;
}

/* Kvalitetsstatus og oppfølging */
.follow-up-disclosure { margin: 0 0 1.25rem; border: 1px solid #d7b9b5; border-radius: .35rem; background: #fff; }
.follow-up-disclosure summary { display: flex; align-items: center; gap: .55rem; padding: .75rem .9rem; color: #7c2920; font-size: .75rem; font-weight: 800; cursor: pointer; list-style: none; }
.follow-up-disclosure summary::-webkit-details-marker { display: none; }
.follow-up-disclosure summary > span:first-child { display: grid; flex: 0 0 auto; place-items: center; width: 1.35rem; height: 1.35rem; border-radius: 50%; color: #fff; background: #b64537; }
.follow-up-summary-text { display: grid; gap: .12rem; }
.follow-up-summary-text strong { font-size: .75rem; }
.follow-up-summary-text small { color: #85605c; font-size: .62rem; font-weight: 600; line-height: 1.35; }
.follow-up-form { display: grid; gap: .65rem; padding: 0 .9rem .9rem; }
.follow-up-form label { font-size: .68rem; font-weight: 750; line-height: 1.4; }
.follow-up-form textarea { width: 100%; padding: .7rem; border: 1px solid #bdcbd1; border-radius: .3rem; font: inherit; font-size: .76rem; resize: vertical; }
.follow-up-form button, .follow-up-resolve-form button { padding: .65rem .8rem; border: 0; border-radius: .3rem; color: #fff; background: #7c2920; font: inherit; font-size: .72rem; font-weight: 800; cursor: pointer; }
.follow-up-confirmation { margin: 0 0 1rem; padding: .75rem; border-radius: .3rem; color: #135d36; background: #e1eee8; font-size: .72rem; font-weight: 750; }
.content-quality { display: flex; align-items: flex-start; gap: .75rem; margin-top: .75rem; padding: 1rem; border-radius: .3rem; }
.content-quality .quality-light { flex: 0 0 auto; width: 1rem; height: 1rem; margin-top: .15rem; border-radius: 50%; box-shadow: 0 0 0 3px rgba(255,255,255,.75); }
.content-quality div { display: grid; gap: .18rem; }.content-quality div>span { font-size: .58rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.content-quality strong { font-size: .76rem; }.content-quality small { font-size: .64rem; line-height: 1.45; }
.quality-current { color: #174d31; background: #e1eee8; }.quality-current .quality-light { background: #268451; }
.quality-review { color: #654b00; background: #f7edc9; }.quality-review .quality-light { background: #e0a800; }
.quality-overdue { color: #71271f; background: #f6dfdc; }.quality-overdue .quality-light { background: #c84636; }
.follow-up-admin-list { display: grid; }.follow-up-admin-list>article { padding: 1.35rem; border-top: 1px solid var(--line); }
.follow-up-admin-heading { display: flex; justify-content: space-between; gap: 1rem; }.follow-up-admin-heading>div { display: grid; gap: .25rem; }.follow-up-admin-heading a { color: var(--blue-dark); }
.follow-up-admin-list blockquote { margin: 1rem 0 .35rem; padding: .85rem 1rem; border-left: 3px solid #d39a31; background: #faf7ed; }
.follow-up-resolve-form { display: flex; align-items: end; gap: .75rem; margin-top: 1rem; }.follow-up-resolve-form label { display: grid; flex: 1; gap: .3rem; font-size: .7rem; font-weight: 750; }
.follow-up-resolve-form input { padding: .65rem; border: 1px solid #bdcbd1; border-radius: .3rem; font: inherit; }
@media (max-width: 650px) { .follow-up-resolve-form,.follow-up-admin-heading { align-items: stretch; flex-direction: column; } }

.engagement-section {
  padding: 4.5rem 0;
  background: #eef3f4;
}

.favorites-section {
  background: #f7f5ee;
}

.popular-section,
.engagement-section-system {
  border-top: 1px solid #dce4e7;
}

.engagement-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.engagement-card-grid-compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.engagement-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 10.5rem;
  padding: 1.4rem 3rem 1.4rem 1.4rem;
  border: 1px solid #d8e1e4;
  border-radius: .45rem;
  background: #fff;
  color: #10212d;
  text-decoration: none;
  box-shadow: 0 .8rem 2rem rgba(16, 33, 45, .06);
}

.engagement-card:hover,
.engagement-card:focus-visible {
  border-color: #12809b;
  transform: translateY(-2px);
}

.engagement-card strong {
  margin: .55rem 0 .45rem;
  font-size: 1.05rem;
}

.engagement-card small {
  color: #5d6e78;
}

.engagement-card .card-arrow {
  position: absolute;
  right: 1.25rem;
  bottom: 1.25rem;
}

.engagement-type {
  color: #08758f;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.engagement-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.engagement-group {
  overflow: hidden;
  border: 1px solid #d8e1e4;
  border-radius: .45rem;
  background: #fff;
}

.engagement-group h3 {
  margin: 0;
  padding: 1.25rem 1.4rem;
  border-bottom: 1px solid #e1e7e9;
  font-size: 1.15rem;
}

.engagement-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.4rem;
  border-bottom: 1px solid #e8edef;
  color: #10212d;
  text-decoration: none;
}

.engagement-list a:last-child {
  border-bottom: 0;
}

.engagement-list a:hover,
.engagement-list a:focus-visible {
  background: #eef8fa;
}

.engagement-list strong,
.engagement-list small {
  display: block;
}

.engagement-list small {
  margin-top: .25rem;
  color: #647781;
}

.engagement-empty {
  margin: 0;
  padding: 1.4rem;
  color: #647781;
}

@media (max-width: 991.98px) {
  .engagement-card-grid,
  .engagement-card-grid-compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .engagement-section {
    padding: 3rem 0;
  }

  .engagement-card-grid,
  .engagement-card-grid-compact,
  .engagement-groups {
    grid-template-columns: 1fr;
  }
}

.readiness-panel {
    max-width: 100%;
}

.readiness-summary,
.readiness-card span {
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .04em;
    padding: .35rem .65rem;
    text-transform: uppercase;
}

.readiness-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 1.5rem;
}

.readiness-card {
    border: 1px solid var(--border);
    border-left-width: 5px;
    border-radius: var(--radius-small);
    padding: 1.15rem;
}

.readiness-card > div {
    align-items: center;
    display: flex;
    gap: .75rem;
    justify-content: space-between;
}

.readiness-card p {
    color: var(--muted);
    margin: .8rem 0 0;
}

.readiness-ready {
    border-color: #2f8060;
}

.readiness-ready span,
.readiness-summary.readiness-ready {
    background: #dff3e9;
    color: #175d42;
}

.readiness-warning {
    border-color: #c58d1c;
}

.readiness-warning span {
    background: #fff0c8;
    color: #795208;
}

.readiness-error {
    border-color: #b74444;
}

.readiness-error span,
.readiness-summary.readiness-error {
    background: #f8dddd;
    color: #8c2929;
}

.readiness-note {
    border-top: 1px solid var(--border);
    color: var(--muted);
    margin: 1.5rem 0 0;
    padding-top: 1rem;
}

@media (max-width: 900px) {
    .readiness-grid {
        grid-template-columns: 1fr;
    }
}

.pagination {
    align-items: center;
    border-top: 1px solid var(--border);
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr auto 1fr;
    padding: 1.2rem 1rem;
}

.pagination a {
    color: var(--blue);
    font-weight: 800;
}

.pagination a:last-child {
    justify-self: end;
}

.pagination span {
    color: var(--muted);
    font-size: .9rem;
    grid-column: 2;
    text-align: center;
}

@media (max-width: 640px) {
    .pagination {
        grid-template-columns: 1fr 1fr;
    }

    .pagination span {
        grid-column: 1 / -1;
        grid-row: 1;
    }
}

* { box-sizing: border-box; }

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
a:hover { color: inherit; }

:focus-visible {
  outline: 3px solid var(--blue-light);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 999;
  left: 1rem;
  top: -5rem;
  padding: .8rem 1rem;
  color: var(--white);
  background: var(--blue);
  border-radius: .4rem;
  font-weight: 700;
}
.skip-link:focus { top: 1rem; }

.site-header {
  position: absolute;
  z-index: 20;
  inset: 0 0 auto;
  color: var(--white);
}
.site-nav { min-height: 92px; }

.brand {
  display: inline-flex;
  gap: .75rem;
  align-items: center;
  color: var(--white);
  text-decoration: none;
  line-height: 1.05;
}

.brand-logo-frame {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  width: 86px;
}
.brand-logo {
  display: block;
  width: 100%;
  max-width: 86px;
  height: auto;
}
.brand-logo-frame + span { display: grid; gap: .22rem; }
.brand strong { font-size: 1.05rem; letter-spacing: -.02em; }
.brand small {
  color: rgba(255,255,255,.65);
  font-size: .66rem;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.navbar .nav-link {
  position: relative;
  margin-left: 1.4rem;
  padding: .7rem .25rem !important;
  color: rgba(255,255,255,.78);
  font-size: .88rem;
  font-weight: 650;
}
.navbar .nav-link:hover { color: var(--white); }
.navbar .nav-link::after {
  position: absolute;
  content: "";
  left: .25rem;
  right: .25rem;
  bottom: .3rem;
  height: 2px;
  background: var(--blue-light);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}
.navbar .nav-link:hover::after { transform: scaleX(1); }
.navbar .nav-publishing { display: inline-flex; align-items: center; gap: .4rem; }
.publishing-count-badge {
  display: inline-flex;
  min-width: 1.35rem;
  height: 1.35rem;
  align-items: center;
  justify-content: center;
  padding: 0 .35rem;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink);
  font-size: .68rem;
  font-weight: 850;
  line-height: 1;
}
.navbar .nav-whats-new {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .38rem;
  margin-left: .75rem;
  padding: .48rem .65rem !important;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.88);
  white-space: nowrap;
}
.navbar .nav-whats-new:hover {
  border-color: rgba(255,255,255,.42);
  background: rgba(255,255,255,.11);
}
.navbar .nav-whats-new::after { display: none; }
.whats-new-icon {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}
.whats-new-count {
  display: inline-flex;
  min-width: 1.25rem;
  height: 1.25rem;
  align-items: center;
  justify-content: center;
  padding: 0 .32rem;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink);
  font-size: .65rem;
  font-weight: 850;
  line-height: 1;
  box-shadow: 0 0 0 3px rgba(255,255,255,.1);
}
.navbar .nav-management {
  border: 0;
  background: transparent;
  white-space: nowrap;
}
.navbar .nav-management::after {
  position: static;
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: .38rem;
  border-top: .3em solid;
  border-right: .3em solid transparent;
  border-bottom: 0;
  border-left: .3em solid transparent;
  background: none;
  transform: none;
  vertical-align: .18em;
}
.management-menu {
  min-width: 15rem;
  padding: .45rem;
  border: 0;
  border-radius: .5rem;
  box-shadow: 0 1rem 2.5rem rgba(4,15,24,.28);
}
.management-menu .dropdown-item {
  display: grid;
  gap: .12rem;
  padding: .62rem .72rem;
  border-radius: .3rem;
  color: var(--ink);
}
.management-menu .dropdown-item span { font-size: .78rem; font-weight: 780; }
.management-menu .dropdown-item small { color: var(--muted); font-size: .63rem; }
.management-menu .dropdown-item:hover,
.management-menu .dropdown-item:focus { background: #eef5fc; color: var(--blue-dark); }
.management-menu .publishing-count-badge { margin-left: .25rem; vertical-align: middle; }
.whats-new-modal { color: var(--ink); }
.whats-new-modal .modal-content {
  overflow: hidden;
  border: 0;
  border-radius: .8rem;
  box-shadow: 0 1.5rem 4rem rgba(9,22,34,.28);
}
.whats-new-hero {
  position: relative;
  padding: 2rem 4.25rem 1.75rem 2rem;
  color: var(--white);
  background: linear-gradient(135deg, #17212b, #164fa3 72%, #2877df);
}
.whats-new-hero .btn-close { position: absolute; top: 1.25rem; right: 1.25rem; }
.whats-new-kicker {
  display: flex;
  align-items: center;
  gap: .4rem;
  margin-bottom: .75rem;
  color: #b9d8ff;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.whats-new-hero .modal-title { max-width: 36rem; font-size: clamp(1.65rem, 4vw, 2.35rem); line-height: 1.08; }
.whats-new-meta { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1rem; }
.whats-new-meta span {
  padding: .3rem .55rem;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  font-size: .72rem;
}
.whats-new-modal .modal-body { padding: 1.75rem 2rem; }
.whats-new-unread-summary {
  margin-bottom: 1.4rem;
  padding: .8rem 1rem;
  border-left: 3px solid var(--yellow);
  background: #fff8d9;
  font-size: .9rem;
}
.whats-new-content { color: #344553; line-height: 1.7; }
.whats-new-content > :last-child,
.whats-new-meaning > div > :last-child { margin-bottom: 0; }
.whats-new-content img { max-width: 100%; height: auto; }
.whats-new-meaning {
  margin-top: 1.5rem;
  padding: 1.1rem 1.2rem;
  border-radius: .45rem;
  background: #eef5fc;
}
.whats-new-meaning h3 { margin-bottom: .55rem; font-size: 1rem; }
.whats-new-meaning > div { color: #344553; font-size: .92rem; line-height: 1.6; }
.whats-new-seen-form { display: none; }
.whats-new-modal .modal-footer { padding: 1rem 2rem 1.25rem; border-top-color: #e7ecef; }
.navbar .nav-admin {
  margin-left: 1.8rem;
  padding: .65rem 1rem !important;
  color: var(--white);
  background: var(--blue);
  border-radius: .25rem;
}
.navbar .nav-admin:hover { color: var(--white); background: var(--blue-dark); }
.navbar .nav-admin::after { display: none; }
.nav-user {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin-left: .9rem;
  color: rgba(255,255,255,.68);
  font-size: .66rem;
}
.nav-user form { margin: 0; }
.nav-user button,
.nav-user > a {
  padding: .3rem .5rem;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 3px;
  background: transparent;
  color: #fff;
  font-size: .62rem;
  text-decoration: none;
}
.nav-user button:hover,
.nav-user > a:hover { border-color: var(--blue-light); color: var(--blue-light); }
.nav-emergency { display: flex; align-items: center; gap: .5rem; }
.status-dot {
  width: 7px;
  height: 7px;
  background: #f26d64;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(242,109,100,.16);
}
.nav-toggle {
  display: grid;
  gap: 5px;
  border: 0;
  padding: .7rem;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--white); }

.hero {
  position: relative;
  overflow: hidden;
  min-height: 680px;
  padding: 180px 0 110px;
  color: var(--white);
  background:
    radial-gradient(circle at 78% 46%, rgba(246,199,68,.08), transparent 24%),
    linear-gradient(128deg, #111b24 0%, #1d2c36 62%, #17262e 100%);
}
.hero::before,
.page-hero::before,
.admin-hero::before {
  position: absolute;
  content: "";
  inset: 0;
  pointer-events: none;
  opacity: .13;
  background-image: repeating-linear-gradient(115deg, transparent 0 80px, rgba(255,255,255,.08) 81px, transparent 82px);
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(310px, .65fr);
  align-items: center;
  gap: 7rem;
}
.eyebrow {
  display: inline-flex;
  gap: .65rem;
  align-items: center;
  margin-bottom: 1.2rem;
  color: var(--yellow);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.eyebrow > span { width: 28px; height: 2px; background: currentColor; }
.eyebrow-dark { color: var(--blue); }

.hero h1,
.page-hero h1,
.admin-hero h1 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(3.2rem, 6vw, 5.9rem);
  font-weight: 780;
  letter-spacing: -.065em;
  line-height: .96;
}
.hero h1 em {
  color: var(--yellow);
  font-style: normal;
  font-weight: 330;
}
.hero-lead {
  max-width: 650px;
  margin: 1.7rem 0 2rem;
  color: rgba(255,255,255,.72);
  font-size: 1.16rem;
  line-height: 1.7;
}

.search-box {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  max-width: 680px;
  min-height: 66px;
  padding: 6px;
  color: var(--ink);
  background: var(--white);
  border-radius: .35rem;
  box-shadow: 0 18px 40px rgba(0,0,0,.23);
}
.search-box input {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
  padding: 0 .75rem;
  color: var(--ink);
  font-size: 1rem;
}
.search-box input::placeholder { color: #89929a; }
.search-box button,
.primary-button,
.button-link {
  display: inline-flex;
  gap: .8rem;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 1.35rem;
  border: 0;
  color: var(--white);
  background: var(--blue);
  border-radius: .2rem;
  font-size: .88rem;
  font-weight: 800;
  text-decoration: none;
}
.search-box button {
  min-width: 118px;
  white-space: nowrap;
}
.search-box button:hover,
.primary-button:hover,
.button-link:hover { color: var(--white); background: var(--blue-dark); }
.search-box.is-searching button,
.search-box.is-searching button:hover {
  cursor: wait;
  background: var(--blue-dark);
}
.search-box.is-searching input { cursor: wait; }
.search-loading-spinner {
  flex: 0 0 auto;
  width: 1.55rem;
  height: 1.55rem;
  border: 3px solid rgba(15, 62, 79, .2);
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: search-spinner .75s linear infinite;
}
.search-loading-spinner-small {
  width: 1rem;
  height: 1rem;
  border-width: 2px;
  border-color: rgba(255, 255, 255, .35);
  border-top-color: var(--white);
}
.search-loading-spinner[hidden] { display: none; }
@keyframes search-spinner { to { transform: rotate(360deg); } }
.search-symbol {
  position: relative;
  width: 21px;
  height: 21px;
  margin-left: .9rem;
  border: 2px solid #66737c;
  border-radius: 50%;
}
.search-symbol::after {
  position: absolute;
  content: "";
  width: 8px;
  height: 2px;
  right: -6px;
  bottom: -3px;
  background: #66737c;
  transform: rotate(45deg);
}
.quick-searches {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1rem;
  color: rgba(255,255,255,.5);
  font-size: .78rem;
}
.quick-searches a {
  color: rgba(255,255,255,.72);
  text-decoration: underline;
  text-underline-offset: .25rem;
}

.hero-panel {
  overflow: hidden;
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.11);
  border-radius: .45rem;
  box-shadow: 0 30px 80px rgba(0,0,0,.2);
  backdrop-filter: blur(12px);
}
.hero-panel-top {
  display: flex;
  gap: .65rem;
  align-items: center;
  padding: 1rem 1.15rem;
  color: rgba(255,255,255,.52);
  border-bottom: 1px solid rgba(255,255,255,.08);
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.pulse { width: 6px; height: 6px; background: var(--yellow); border-radius: 50%; }
.emergency-card,
.panel-link {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
  color: var(--white);
  text-decoration: none;
}
.emergency-card {
  margin: 1.15rem;
  padding: 1.2rem;
  background: var(--red);
  border-radius: .3rem;
}
.emergency-card:hover { background: #d34c43; }
.emergency-card strong,
.panel-link strong { display: block; font-size: .94rem; }
.emergency-card small,
.panel-link small {
  display: block;
  margin-top: .2rem;
  color: rgba(255,255,255,.58);
  font-size: .74rem;
}
.emergency-icon,
.mini-icon {
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 50%;
  font-size: 1rem;
  font-weight: 900;
}
.panel-link {
  padding: 1.05rem 1.15rem;
  border-top: 1px solid rgba(255,255,255,.08);
}
.panel-link:hover { background: rgba(255,255,255,.05); }
.mini-icon { border-radius: .25rem; }
.mini-icon-yellow { color: var(--yellow); }
.arrow { color: var(--yellow); }

.route-line {
  position: absolute;
  width: 300px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(246,199,68,.45), transparent);
  transform: rotate(-31deg);
}
.route-line-one { right: -40px; bottom: 110px; }
.route-line-two { left: -120px; top: 260px; opacity: .35; }

.systems-section,
.content-section,
.search-results-section,
.admin-content { padding: 100px 0; }
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 3rem;
  margin-bottom: 2.5rem;
}
.section-heading h2,
.updates-section h2,
.results-heading h2,
.panel-heading h2 {
  margin: 0;
  font-size: clamp(2.1rem, 4vw, 3.3rem);
  font-weight: 760;
  letter-spacing: -.05em;
}
.section-heading p {
  max-width: 440px;
  margin: 0 0 .25rem;
  color: var(--muted);
  line-height: 1.65;
}

.system-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.system-card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.1rem;
  align-items: start;
  min-height: 190px;
  padding: 1.65rem;
  overflow: hidden;
  color: var(--ink);
  background: var(--white);
  border: 1px solid transparent;
  border-radius: .35rem;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.system-card:hover {
  z-index: 1;
  border-color: rgba(11,102,130,.55);
  box-shadow: var(--shadow);
  transform: translateY(-5px);
}
.system-card::after {
  position: absolute;
  content: "";
  width: 110px;
  height: 110px;
  right: -52px;
  bottom: -52px;
  border: 1px solid rgba(22,33,43,.07);
  border-radius: 50%;
}
.system-icon,
.system-avatar {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 46px;
  height: 46px;
  color: var(--blue-dark);
  background: var(--blue-soft);
  border-radius: .3rem;
  font-size: 1.1rem;
  font-weight: 850;
}
.system-icon-2 { color: var(--white); background: var(--red); }
.system-icon-5 { background: var(--yellow); }
.system-icon-7 { color: var(--white); background: var(--green); }
.system-icon-9 { color: var(--white); background: #5a6276; }
.system-card-content { display: flex; flex-direction: column; }
.system-type {
  margin-bottom: .8rem;
  color: var(--blue);
  font-size: .63rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.system-card-content strong { margin-bottom: .45rem; font-size: 1.25rem; letter-spacing: -.02em; }
.system-card-content > span:last-child { color: var(--muted); font-size: .82rem; line-height: 1.55; }
.card-arrow { color: var(--blue); font-size: 1.2rem; }

.updates-section {
  padding: 100px 0;
  background: #ebe9e2;
  border-top: 1px solid #dfddd6;
}
.updates-grid {
  display: grid;
  grid-template-columns: .68fr 1.32fr;
  gap: 7rem;
}
.section-intro { color: var(--muted); line-height: 1.7; }
.update-list { border-top: 1px solid #c9cbc8; }
.update-item {
  display: grid;
  grid-template-columns: 65px 1fr auto;
  gap: 1.25rem;
  align-items: center;
  padding: 1.35rem .3rem;
  border-bottom: 1px solid #c9cbc8;
  text-decoration: none;
}
.update-item:hover strong { color: var(--blue); }
.update-date { text-align: center; color: var(--muted); font-size: .65rem; }
.update-date strong { display: block; color: var(--ink); font-size: 1.35rem; line-height: 1; }
.update-item > span:nth-child(2) { display: grid; gap: .2rem; }
.update-item small { color: var(--blue); font-size: .61rem; font-weight: 800; letter-spacing: .1em; }
.update-item > span > span { color: var(--muted); font-size: .78rem; }
.update-empty {
  padding: 1.5rem .3rem;
  color: var(--muted);
  border-bottom: 1px solid #c9cbc8;
}
.link-audit-table code {
  display: inline-block;
  max-width: 32rem;
  overflow-wrap: anywhere;
  color: #33414b;
  font-size: .75rem;
  white-space: normal;
}
.content-type-badge {
  display: inline-flex;
  padding: .28rem .5rem;
  color: #33414b;
  background: #edf1ef;
  border-radius: .35rem;
  font-size: .65rem;
  font-weight: 800;
}
.content-admin-table td:last-child { min-width: auto; text-align: right; }
.task-item a { color: var(--ink); text-decoration: none; }
.task-item a:hover { color: #075c75; }
.content-actions { text-align: right !important; white-space: nowrap; }
.content-actions > * + * { margin-left: .8rem; }
.sortable-column { display: inline-flex; align-items: center; gap: .3rem; color: inherit; text-decoration: none; }
.sortable-column:hover, .sortable-column:focus-visible { color: var(--blue-dark); text-decoration: underline; }
.sortable-column span { min-width: .75rem; color: var(--blue-dark); }
.secondary-button-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .8rem 1rem;
  color: var(--white);
  border: 1px solid rgba(255,255,255,.35);
  border-radius: .45rem;
  text-decoration: none;
}
.edit-content { padding-top: 70px; }
.edit-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 2rem;
  align-items: start;
}
.edit-form,
.edit-history {
  padding: clamp(1.25rem, 3vw, 2rem);
  background: var(--white);
  border: 1px solid #dfe3e1;
  border-radius: .8rem;
  box-shadow: 0 .8rem 2rem rgba(20,31,40,.06);
}
.edit-form { display: grid; gap: 1.4rem; }
.edit-field { display: grid; gap: .45rem; }
.edit-field > span:first-child { font-size: .74rem; font-weight: 850; text-transform: uppercase; letter-spacing: .08em; }
.edit-field > input {
  min-height: 50px;
  padding: .75rem .9rem;
  border: 1px solid #cbd3d0;
  border-radius: .45rem;
}
.edit-field > select { min-height: 50px; padding: .75rem .9rem; background: var(--white); border: 1px solid #cbd3d0; border-radius: .45rem; }
.article-placement { display: grid; gap: .65rem; margin: 0; padding: 1rem; border: 1px solid #d8dfdc; border-radius: .55rem; }
.article-placement legend { padding: 0 .35rem; font-size: .72rem; font-weight: 850; text-transform: uppercase; letter-spacing: .08em; }
.article-placement-option { display: grid; grid-template-columns: auto minmax(0,1fr); gap: .75rem; align-items: start; padding: .8rem; border: 1px solid #dce3e0; border-radius: .5rem; cursor: pointer; }
.article-placement-option:has(input:checked) { border-color: var(--blue); background: var(--blue-soft); }
.article-placement-option input { margin-top: .2rem; }
.article-placement-option span { display: grid; gap: .2rem; }
.article-placement-option small, .article-parent-field small { color: var(--muted); font-size: .72rem; font-weight: 500; }
.article-parent-field { margin-top: .25rem; }
.editor-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  padding: .55rem;
  background: #edf1ef;
  border: 1px solid #cbd3d0;
  border-bottom: 0;
  border-radius: .5rem .5rem 0 0;
}
.editor-toolbar button {
  padding: .42rem .65rem;
  color: #26343e;
  background: var(--white);
  border: 1px solid #c7cfcc;
  border-radius: .3rem;
  font-size: .72rem;
}
.rich-editor {
  min-height: 420px;
  max-height: 70vh;
  overflow-y: auto;
  padding: 1.2rem;
  background: var(--white);
  border: 1px solid #cbd3d0;
  border-radius: 0 0 .5rem .5rem;
  outline: none;
}
.rich-editor:focus { border-color: #4f8ca0; box-shadow: 0 0 0 3px rgba(79,140,160,.16); }
.edit-field small { color: var(--muted); font-size: .72rem; }
.edit-actions { display: flex; align-items: center; gap: 1rem; }
.edit-actions .primary-button { border: 0; }
.edit-actions .edit-delete-button { margin-left: auto; }
.edit-success,
.edit-error:not(:empty) { padding: .85rem 1rem; border-radius: .5rem; }
.edit-success { color: #21513d; background: #e7f4ed; }
.edit-error.validation-summary-valid { display: none; }
.draft-notice { margin-bottom: 1rem; padding: .85rem 1rem; color: #5f4a00; background: #fff5cf; border-radius: .5rem; }
.draft-return-comment { margin-bottom: 1rem; padding: 1rem; background: #fbe9e8; border-left: 4px solid #a13d38; border-radius: .35rem; }
.draft-workflow-actions { grid-column: 1; display: flex; flex-wrap: wrap; gap: .75rem; margin-top: -1rem; padding: 1rem 1.25rem; background: #eef1ef; border-radius: .6rem; }
.draft-workflow-actions form { margin: 0; }
.draft-workflow-banner-container { margin-bottom: 1.25rem; }
.draft-workflow-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding: 1rem 1.25rem;
  background: var(--white);
  border: 1px solid #d7dfdc;
  border-left: 5px solid var(--blue);
  border-radius: .65rem;
  box-shadow: 0 .8rem 2rem rgba(20,31,40,.06);
}
.draft-workflow-banner-copy { display: flex; align-items: center; gap: 1.25rem; min-width: 0; }
.draft-workflow-banner-copy .eyebrow { flex: 0 0 auto; margin: 0; }
.draft-workflow-banner-copy > div { display: grid; gap: .15rem; }
.draft-workflow-banner-copy strong { font-size: .88rem; }
.draft-workflow-banner-copy > div > span { color: var(--muted); font-size: .74rem; line-height: 1.45; }
.draft-workflow-banner-actions { display: flex; flex: 0 0 auto; gap: .75rem; align-items: center; }
.draft-workflow-banner-actions form { margin: 0; }
.secondary-button { padding: .75rem 1rem; color: var(--dark); background: transparent; border: 1px solid #aeb7b2; border-radius: .45rem; font-weight: 700; }
.secondary-button:hover { background: #e5e9e7; }
.edit-error:not(:empty) {
  color: #692e2b;
  background: #fbe9e8;
  border: 1px solid #ddb2af;
  border-left: 5px solid #a13d38;
  box-shadow: 0 8px 20px rgba(14, 27, 36, .07);
}
.edit-form > .status-alert { margin-bottom: 0; }
.attachment-management {
  grid-column: 1;
  display: grid;
  gap: 1.25rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  background: var(--white);
  border: 1px solid #dfe3e1;
  border-radius: .8rem;
  box-shadow: 0 .8rem 2rem rgba(20,31,40,.06);
}
.attachment-management-heading { display: flex; justify-content: space-between; gap: 1rem; align-items: start; }
.attachment-management-heading h2 { margin: .35rem 0 .25rem; font-size: 1.5rem; }
.attachment-management-heading p { margin: 0; color: var(--muted); font-size: .78rem; }
.attachment-count { padding: .35rem .6rem; color: var(--blue-dark); background: var(--blue-pale); border-radius: 999px; font-size: .68rem; font-weight: 800; white-space: nowrap; }
.attachment-management-list { margin: 0; padding: 0; border: 1px solid #dbe2e5; border-radius: .55rem; list-style: none; }
.attachment-management-list li { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 1rem; padding: .7rem .8rem; }
.attachment-management-list li + li { border-top: 1px solid #dbe2e5; }
.attachment-management-list li > a { display: grid; grid-template-columns: 36px minmax(0,1fr); align-items: center; gap: .75rem; min-width: 0; color: var(--ink); text-decoration: none; }
.draft-attachment-file { display: grid; grid-template-columns: 36px minmax(0,1fr); align-items: center; gap: .75rem; min-width: 0; }
.new-article-attachment > span small { font-weight: 500; text-transform: none; letter-spacing: 0; }
.attachment-management-list form { margin: 0; }
.attachment-remove { padding: .5rem .7rem; color: #8a302c; background: transparent; border: 1px solid #d9bbb8; border-radius: .35rem; font-size: .72rem; font-weight: 750; }
.attachment-remove:hover { color: #fff; background: #9d3a35; border-color: #9d3a35; }
.attachment-upload-form { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: .65rem 1rem; align-items: end; padding-top: 1.2rem; border-top: 1px solid #e0e4e2; }
.attachment-upload-form label { display: grid; gap: .4rem; }
.attachment-upload-form label > span { font-size: .72rem; font-weight: 850; text-transform: uppercase; letter-spacing: .08em; }
.attachment-upload-form input { width: 100%; padding: .65rem; border: 1px solid #cbd3d0; border-radius: .45rem; }
.attachment-upload-form small { grid-column: 1 / -1; color: var(--muted); font-size: .7rem; }
.edit-history {
  position: sticky;
  top: 1rem;
  grid-column: 2;
  grid-row: 1;
}
.edit-history h2 { margin: .5rem 0; font-size: 1.5rem; }
.edit-history > p { color: var(--muted); font-size: .78rem; line-height: 1.55; }
.edit-sidebar {
  position: sticky;
  top: 1rem;
  grid-column: 2;
  grid-row: 1;
  display: grid;
  gap: 1rem;
}
.edit-sidebar .edit-history {
  position: static;
  grid-column: auto;
  grid-row: auto;
}
.procedure-edit-guide h2 { font-size: 1.25rem; }
.procedure-edit-guide p { margin: .7rem 0; }
.procedure-edit-guide ul { display: grid; gap: .75rem; margin: 1rem 0; padding: 0; list-style: none; }
.procedure-edit-guide li { display: grid; gap: .15rem; padding-left: .75rem; border-left: 3px solid var(--blue-pale); }
.procedure-edit-guide li strong { font-size: .78rem; }
.procedure-edit-guide li span { color: var(--muted); font-size: .72rem; line-height: 1.5; }
.procedure-edit-guide .editor-help-link { margin: .35rem 0 0; }
.edit-section-nav {
  padding: 1.25rem;
  background: var(--white);
  border: 1px solid #dfe3e1;
  border-radius: .8rem;
  box-shadow: 0 .8rem 2rem rgba(20,31,40,.06);
}
.edit-section-nav h2 { margin: .45rem 0 .85rem; font-size: 1.2rem; }
.edit-section-nav ol { display: grid; gap: .2rem; margin: 0; padding: 0; list-style: none; }
.edit-section-nav a {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: .65rem;
  align-items: center;
  padding: .48rem .55rem;
  color: var(--ink);
  border-radius: .35rem;
  font-size: .74rem;
  font-weight: 720;
  text-decoration: none;
}
.edit-section-nav a > span {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  color: var(--blue-dark);
  background: var(--blue-pale);
  border-radius: 50%;
  font-size: .62rem;
  font-weight: 850;
}
.edit-section-nav a:hover,
.edit-section-nav a:focus-visible { color: var(--blue-dark); background: #f0f6f7; }
.edit-anchor { scroll-margin-top: 110px; }
.new-content-guide ol { display: grid; gap: 1rem; margin: 1.2rem 0 0; padding: 0; list-style: none; counter-reset: new-content-step; }
.new-content-guide li { display: grid; grid-template-columns: 28px 1fr; gap: .2rem .65rem; counter-increment: new-content-step; }
.new-content-guide li::before { content: counter(new-content-step); grid-row: 1 / span 2; display: grid; place-items: center; width: 26px; height: 26px; color: var(--white); background: var(--blue); border-radius: 50%; font-size: .7rem; font-weight: 850; }
.new-content-guide li strong { font-size: .82rem; }
.new-content-guide li span { color: var(--muted); font-size: .72rem; line-height: 1.45; }
.history-list { display: grid; gap: .7rem; margin: 1.2rem 0 0; padding: 0; list-style: none; }
.history-list li { display: grid; gap: .12rem; padding: .75rem; background: #f3f5f4; border-radius: .45rem; }
.history-list li.is-selected { background: var(--blue-pale); box-shadow: inset 3px 0 var(--blue); }
.history-list a { display: flex; justify-content: space-between; gap: .5rem; color: var(--dark); text-decoration: none; }
.history-list a span { color: var(--blue-dark); }
.history-list span,
.history-list small { color: var(--muted); font-size: .7rem; }
.history-notice { margin-bottom: 1.5rem; padding: .85rem 1rem; color: #5f4a00; background: #fff5cf; border-radius: .5rem; }
.history-version h2 { margin: .5rem 0 1.25rem; font-size: clamp(1.8rem, 4vw, 2.6rem); }
.history-metadata { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 0 0 2rem; padding: 1rem; background: #f3f5f4; border-radius: .55rem; }
.history-metadata div { display: grid; gap: .15rem; }
.history-metadata dt { color: var(--muted); font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.history-metadata dd { margin: 0; font-size: .82rem; }
.history-version-content { padding-top: 1.5rem; border-top: 1px solid #dfe3e1; }
.history-section { padding: 1.25rem 0; border-top: 1px solid #dfe3e1; }
.history-section h3 { margin: 0 0 .75rem; font-size: 1.15rem; }
.history-tags { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid #dfe3e1; color: var(--muted); }
.draft-activity { margin: .25rem 0 1rem; padding: 1.1rem 1.2rem; background: #f7f8f7; border: 1px solid #dfe3e1; border-radius: .6rem; }
.draft-activity-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.draft-activity-heading h3 { margin: 0; font-size: 1rem; }
.draft-activity-list { display: grid; gap: 0; margin: 1rem 0 0; padding: 0; list-style: none; }
.draft-activity-list li { position: relative; display: grid; grid-template-columns: 18px minmax(0,1fr); gap: .7rem; padding-bottom: 1rem; }
.draft-activity-list li:not(:last-child)::before { content: ""; position: absolute; top: 12px; bottom: -1px; left: 5px; width: 2px; background: #d7ddda; }
.draft-activity-list li:last-child { padding-bottom: 0; }
.draft-activity-marker { position: relative; z-index: 1; width: 12px; height: 12px; margin-top: .2rem; background: var(--blue); border: 3px solid #fff; border-radius: 50%; box-shadow: 0 0 0 1px #78aebe; }
.draft-activity-list li > div { display: grid; gap: .18rem; }
.draft-activity-list strong { font-size: .82rem; }
.draft-activity-list span, .draft-activity-list p { margin: 0; color: var(--muted); font-size: .72rem; line-height: 1.45; }
.draft-activity-list p { margin-top: .3rem; padding: .55rem .7rem; color: #513c3a; background: #fbe9e8; border-radius: .35rem; }
.publishing-list { display: grid; gap: 1rem; }
.publishing-summary { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1rem; margin-bottom: 1.5rem; }
.publishing-summary > div { display: flex; align-items: baseline; gap: .65rem; padding: 1rem 1.2rem; background: var(--white); border: 1px solid #dfe3e1; border-radius: .6rem; }
.publishing-summary strong { color: var(--blue-dark); font-size: 1.65rem; line-height: 1; }
.publishing-summary span { color: var(--muted); font-size: .78rem; font-weight: 750; }
.publishing-item { display: grid; grid-template-columns: auto minmax(0,1fr) auto; gap: 1.25rem; align-items: center; padding: 1.25rem; background: var(--white); border: 1px solid #dfe3e1; border-radius: .7rem; }
.publishing-item h2 { margin: 0 0 .2rem; font-size: 1.15rem; }
.publishing-item p, .publishing-item small { margin: 0; color: var(--muted); }
.publishing-page > .draft-activity { margin-bottom: 2rem; }
.publishing-archive { margin-top: 3rem; padding-top: 2.5rem; border-top: 1px solid #d8ddda; }
.publishing-archive-list { display: grid; gap: .7rem; }
.publishing-archive-item { display: grid; grid-template-columns: 125px minmax(0,1fr) auto; gap: 1rem; align-items: center; padding: 1rem 1.15rem; background: var(--white); border: 1px solid #dfe3e1; border-radius: .6rem; }
.publishing-archive-item h3 { margin: 0 0 .2rem; font-size: 1rem; }
.publishing-archive-item p, .publishing-archive-item small { margin: 0; color: var(--muted); font-size: .75rem; }
.publishing-archive-item > a { font-size: .78rem; font-weight: 750; }
.archive-no-content { color: var(--muted); font-size: .75rem; font-weight: 700; }
.archive-status { display: inline-flex; justify-content: center; padding: .38rem .55rem; border-radius: 999px; font-size: .68rem; font-weight: 800; }
.archive-status.is-published { color: #21513d; background: #e7f4ed; }
.archive-status.is-withdrawn { color: #5d6260; background: #edf0ee; }
.archive-status.is-draft { color: #46535b; background: #e5e8e9; }
.archive-status.is-returned { color: #813c38; background: #f7ddda; }
.publishing-waiting { color: var(--muted); font-size: .78rem; font-weight: 700; }
.review-heading { display: flex; justify-content: space-between; gap: 1rem; align-items: end; margin-bottom: 1.5rem; }
.review-heading h2 { margin: .4rem 0 0; }
.review-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.review-columns-header { padding: .8rem 1rem; color: var(--muted); background: #eef1ef; border-radius: .5rem; }
.review-field { margin-top: 1rem; padding: 1.25rem; background: var(--white); border: 1px solid #dfe3e1; border-radius: .65rem; }
.review-field.is-changed { border-left: 4px solid var(--blue); }
.review-field h3 { margin: 0 0 1rem; font-size: 1rem; }
.review-field h3 span { margin-left: .5rem; color: var(--blue-dark); font-size: .68rem; text-transform: uppercase; }
.review-columns > div { min-width: 0; padding: 1rem; background: #f7f8f7; border-radius: .4rem; }
.publish-actions { display: flex; justify-content: flex-end; align-items: center; gap: 1rem; margin-top: 2rem; }
.publish-actions button[disabled] { opacity: .45; cursor: not-allowed; }
.review-decision-panel { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 1.5rem; align-items: end; margin-top: 2rem; padding: 1.25rem; background: var(--white); border: 1px solid #dfe3e1; border-radius: .65rem; }
.return-form { display: flex; gap: 1rem; align-items: end; }
.return-form label { display: grid; gap: .4rem; flex: 1; font-weight: 700; }
.return-form textarea { min-height: 90px; padding: .75rem; border: 1px solid #cbd1ce; border-radius: .4rem; resize: vertical; }
.review-decision-panel .publish-actions { margin-top: 0; }

@media (max-width: 991.98px) {
  .edit-layout { grid-template-columns: 1fr; }
  .edit-history {
    position: static;
    grid-column: 1;
    grid-row: auto;
  }
  .edit-sidebar {
    position: static;
    grid-column: 1;
    grid-row: auto;
    max-height: none;
    overflow: visible;
  }
}

@media (max-width: 575.98px) {
  .draft-workflow-banner,
  .draft-workflow-banner-copy,
  .draft-workflow-banner-actions { align-items: stretch; flex-direction: column; }
  .draft-workflow-banner-actions button { width: 100%; }
  .new-procedure-placement-grid { grid-template-columns: 1fr; }
  .history-metadata { grid-template-columns: 1fr; }
  .publishing-item, .publishing-archive-item, .review-columns { grid-template-columns: 1fr; }
  .publishing-summary { grid-template-columns: 1fr; }
  .review-decision-panel { grid-template-columns: 1fr; }
  .return-form { align-items: stretch; flex-direction: column; }
  .review-columns-header { display: none; }
  .attachment-management-heading { flex-direction: column; }
  .attachment-upload-form { grid-template-columns: 1fr; }
  .attachment-upload-form small { grid-column: 1; }
  .attachment-management-list li { grid-template-columns: 1fr; }
  .attachment-management-list form { justify-self: end; }
}

.page-hero,
.admin-hero {
  position: relative;
  overflow: hidden;
  padding: 160px 0 75px;
  color: var(--white);
  background: linear-gradient(125deg, #111b24, #24343d);
}
.breadcrumbs {
  display: flex;
  gap: .7rem;
  margin-bottom: 2rem;
  color: rgba(255,255,255,.5);
  font-size: .76rem;
}
.breadcrumbs a { color: rgba(255,255,255,.7); }
.page-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr minmax(360px, .75fr);
  align-items: end;
  gap: 5rem;
}
.page-hero h1,
.admin-hero h1 { font-size: clamp(3rem, 5vw, 4.8rem); }
.page-hero p,
.admin-hero p {
  max-width: 620px;
  margin: 1.25rem 0 0;
  color: rgba(255,255,255,.65);
  font-size: 1.05rem;
}
.search-box-compact { min-height: 58px; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.feature-card {
  display: grid;
  min-height: 260px;
  padding: 2rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid transparent;
  border-radius: .35rem;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-number { color: var(--blue); font-size: .75rem; font-weight: 850; letter-spacing: .1em; }
.feature-card strong { align-self: end; margin-top: 2.2rem; font-size: 1.55rem; letter-spacing: -.03em; }
.feature-card > span:nth-child(3) { color: var(--muted); font-size: .9rem; line-height: 1.6; }
.feature-link { align-self: end; margin-top: 1.4rem; color: var(--blue); font-size: .8rem; font-weight: 750; }
.feature-link b { margin-left: .35rem; }
.feature-card-alert { color: var(--white); background: var(--red); }
.feature-card-alert .feature-number,
.feature-card-alert .feature-link { color: var(--yellow); }
.feature-card-alert > span:nth-child(3) { color: rgba(255,255,255,.7); }

.chapter-section {
  padding: 100px 0;
  background: #ebe9e2;
  border-top: 1px solid #dfddd6;
}
.chapter-layout {
  display: grid;
  grid-template-columns: minmax(200px, .42fr) minmax(0, 1fr);
  gap: 5rem;
  align-items: start;
}
.chapter-intro {
  position: sticky;
  top: 2rem;
}
.chapter-intro h2 {
  margin: 0 0 .75rem;
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 760;
  letter-spacing: -.05em;
}
.chapter-intro p { color: var(--muted); }
.chapter-list { display: grid; gap: 1rem; }
.chapter-card {
  overflow: hidden;
  background: var(--white);
  border-radius: .35rem;
}
.chapter-heading {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.2rem;
  align-items: start;
  padding: 1.6rem;
  border-bottom: 1px solid var(--line);
}
.chapter-number {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--blue-dark);
  background: var(--blue-soft);
  border-radius: .25rem;
  font-size: .75rem;
  font-weight: 850;
}
.chapter-heading h3 {
  margin: 0 0 .3rem;
  font-size: 1.25rem;
  font-weight: 760;
  letter-spacing: -.025em;
}
.chapter-heading p {
  margin: 0;
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.55;
}
.article-count {
  color: var(--muted);
  font-size: .66rem;
  white-space: nowrap;
}
.article-list > a {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.6rem;
  color: var(--ink);
  border-bottom: 1px solid #eeefed;
  text-decoration: none;
  transition: background .15s ease;
}
.article-list > a:last-child { border-bottom: 0; }
.article-list > a:hover { background: #fbfaf6; }
.article-list > a:hover strong { color: var(--blue); }
.document-number {
  color: var(--blue);
  font-size: .7rem;
  font-weight: 850;
  letter-spacing: .05em;
}
.article-list a > span:nth-child(2) { display: grid; gap: .15rem; }
.article-list strong { font-size: .9rem; }
.article-list small { color: var(--muted); font-size: .65rem; }

.article-hero {
  position: relative;
  overflow: hidden;
  padding: 150px 0 70px;
  color: var(--white);
  background:
    radial-gradient(circle at 82% 20%, rgba(246,199,68,.09), transparent 24%),
    linear-gradient(125deg, #111b24, #24343d);
}
.article-hero::before {
  position: absolute;
  content: "";
  inset: 0;
  opacity: .13;
  pointer-events: none;
  background-image: repeating-linear-gradient(115deg, transparent 0 80px, rgba(255,255,255,.08) 81px, transparent 82px);
}
.article-hero .container { position: relative; }
.article-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 5rem;
  align-items: end;
}
.article-hero h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(2.8rem, 5.5vw, 5.2rem);
  font-weight: 780;
  letter-spacing: -.06em;
  line-height: 1;
}
.article-facts {
  margin: 0;
  border-top: 1px solid rgba(255,255,255,.18);
}
.article-facts > div {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 1rem;
  padding: .75rem 0;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.article-facts dt {
  color: rgba(255,255,255,.48);
  font-size: .63rem;
  font-weight: 750;
  text-transform: uppercase;
}
.article-facts dd {
  margin: 0;
  color: rgba(255,255,255,.82);
  font-size: .75rem;
}
.article-section { padding: 80px 0 110px; }
.article-layout {
  display: grid;
  grid-template-columns: 245px minmax(0, 780px);
  justify-content: center;
  gap: 5rem;
}
.article-sidebar {
  display: grid;
  align-content: start;
  gap: 1rem;
}
.article-sidebar-panel {
  overflow: hidden;
  background: var(--white);
  border: 1px solid #dfe4e6;
  border-radius: .55rem;
  box-shadow: 0 10px 30px rgba(14,27,36,.05);
}
.article-sidebar-section {
  display: grid;
  gap: .7rem;
  padding: 1.15rem;
}
.article-sidebar-section + .article-sidebar-section {
  border-top: 1px solid var(--line);
}
.article-sidebar-section > h2 {
  margin: 0 0 .1rem;
  color: var(--muted);
  font-family: inherit;
  font-size: .62rem;
  font-weight: 850;
  letter-spacing: .1em;
  line-height: 1.2;
  text-transform: uppercase;
}
.back-link {
  display: inline-flex;
  gap: .6rem;
  align-items: center;
  color: #735600;
  font-size: .75rem;
  font-weight: 750;
  text-decoration: none;
}
.content-edit-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .72rem .9rem;
  color: var(--white);
  background: var(--blue);
  border-radius: .35rem;
  font-size: .75rem;
  font-weight: 800;
  text-decoration: none;
}
.content-edit-link:hover, .content-edit-link:focus-visible { color: var(--white); background: var(--blue-dark); }
.article-sidebar-actions .favorite-form,
.action-detail-layout .article-sidebar-actions .favorite-form,
.article-sidebar-actions .follow-up-disclosure,
.article-sidebar-actions .follow-up-confirmation {
  margin: 0;
}
.article-sidebar-actions .favorite-button {
  min-height: 2.55rem;
  padding: .55rem .75rem;
  border-color: #cbd5db;
  background: #f8faf9;
  font-size: .75rem;
}
.article-sidebar-actions .follow-up-disclosure {
  border-color: transparent;
  background: transparent;
}
.article-sidebar-actions .follow-up-disclosure summary {
  min-height: 2.35rem;
  padding: .5rem .65rem;
  border-radius: .3rem;
  background: #fbf6f5;
}
.article-sidebar-actions .follow-up-disclosure[open] {
  border-color: #d7b9b5;
  background: #fff;
}
.article-sidebar-actions .follow-up-disclosure[open] summary {
  border-radius: .3rem .3rem 0 0;
}
.article-status {
  display: flex;
  gap: .75rem;
  padding: .15rem 0;
  background: transparent;
}
.status-check {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 24px;
  height: 24px;
  color: var(--white);
  background: var(--green);
  border-radius: 50%;
  font-weight: 850;
}
.article-status div { display: grid; gap: .2rem; }
.article-status strong { font-size: .76rem; }
.article-status div span { color: #547164; font-size: .64rem; line-height: 1.45; }
.article-sidebar-status .content-quality {
  margin: .15rem 0 0;
  padding: .75rem;
}
.article-sidebar-emergency .emergency-callout {
  margin: 0;
  padding: .75rem;
}
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  padding: 0;
  border: 0;
}
.tag-list > span {
  flex-basis: 100%;
  margin-bottom: .3rem;
  color: var(--muted);
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.tag-list a {
  padding: .35rem .55rem;
  color: #655000;
  background: #eee8cf;
  border-radius: 1rem;
  font-size: .64rem;
  text-decoration: none;
}
.tag-list a:hover,
.tag-list a:focus-visible {
  color: #4d3d00;
  background: #e4dbb8;
}
.article-body {
  padding: 2.5rem 3rem;
  background: var(--white);
  border-radius: .35rem;
  box-shadow: 0 15px 40px rgba(14,27,36,.07);
}
.article-lead {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.25rem;
  color: var(--muted);
  border-bottom: 2px solid var(--ink);
  font-size: .68rem;
}
.article-content {
  margin: 2.5rem 0 4rem;
  color: #33434d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.12rem;
  line-height: 1.85;
}
.rich-text { overflow-wrap: anywhere; }
.rich-text > :first-child { margin-top: 0; }
.rich-text > :last-child { margin-bottom: 0; }
.rich-text p { margin: 0 0 1.15em; }
.rich-text h2,
.rich-text h3,
.rich-text h4,
.rich-text h5,
.rich-text h6 {
  margin: 1.65em 0 .65em;
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
  font-weight: 780;
  line-height: 1.25;
  letter-spacing: -.02em;
}
.rich-text h2 { font-size: 1.45em; }
.rich-text h3 { font-size: 1.25em; }
.rich-text h4,
.rich-text h5,
.rich-text h6 { font-size: 1.05em; }
.rich-text ul,
.rich-text ol { margin: 0 0 1.25em; padding-left: 1.55em; }
.rich-text li { margin: .35em 0; padding-left: .15em; }
.rich-text li::marker { color: var(--red); font-weight: 800; }
.rich-text blockquote {
  margin: 1.5em 0;
  padding: .9em 1.15em;
  border-left: 4px solid var(--red);
  background: #f5f7f8;
  color: #263842;
}
.rich-text a {
  color: #075c75;
  font-weight: 700;
  text-decoration-thickness: .08em;
  text-underline-offset: .18em;
}
.rich-text a:hover { color: var(--red); }
.rich-text hr { margin: 2em 0; border: 0; border-top: 1px solid #d7dee2; }
.rich-text pre,
.rich-text code {
  border-radius: 4px;
  background: #edf1f3;
  font-family: Consolas, monospace;
}
.rich-text code { padding: .1em .3em; font-size: .88em; }
.rich-text pre { overflow-x: auto; padding: 1em; }
.rich-text pre code { padding: 0; }
.rich-text table {
  width: 100%;
  margin: 1.5em 0;
  border-collapse: collapse;
  font-family: Inter, Arial, sans-serif;
  font-size: .88em;
}
.rich-text caption { margin-bottom: .55em; font-weight: 750; text-align: left; }
.rich-text th,
.rich-text td { padding: .7em .8em; border: 1px solid #ccd5da; text-align: left; vertical-align: top; }
.rich-text th { background: #edf1f3; color: var(--ink); font-weight: 780; }
.attachments {
  margin: 2.5rem 0;
  padding: 1.5rem;
  border: 1px solid #d5dde1;
  border-radius: 8px;
  background: #f8fafb;
}
.procedure-body > .attachments { margin: 2rem 2.4rem; }
.attachments-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}
.attachments-heading h2 { margin: .25rem 0 0; font-size: 1.25rem; }
.attachments-heading > span { color: var(--muted); font-size: .72rem; font-weight: 750; }
.attachments ul { margin: 0; padding: 0; list-style: none; }
.attachments li + li { border-top: 1px solid #dbe2e5; }
.attachments li a {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: .85rem;
  padding: .9rem .35rem;
  color: var(--ink);
  text-decoration: none;
}
.attachments li a:hover strong { color: var(--red); }
.attachment-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: #e5edf0;
  color: #075c75;
  font-size: 1rem;
  font-weight: 850;
}
.attachment-name { display: grid; min-width: 0; gap: .2rem; }
.attachment-name strong { overflow: hidden; font-size: .82rem; text-overflow: ellipsis; white-space: nowrap; }
.attachment-name small { color: var(--muted); font-size: .67rem; }
.attachment-action { color: #075c75; font-size: .7rem; font-weight: 800; }
.attachment-note { margin: .8rem 0 0; color: var(--muted); font-size: .66rem; }
.article-footer {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 1.5rem;
  align-items: end;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.article-footer div { display: grid; gap: .25rem; }
.article-footer div span { color: var(--muted); font-size: .6rem; text-transform: uppercase; }
.article-footer div strong { font-size: .73rem; }
.article-footer button {
  padding: .65rem .9rem;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: .2rem;
  font-size: .7rem;
  font-weight: 750;
}

.operational-list-section,
.action-card-section { padding: 90px 0 110px; }
.operational-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 3.5rem;
  align-items: start;
}
.operational-summary {
  position: sticky;
  top: 2rem;
  display: grid;
}
.operational-summary > strong {
  font-size: 4.5rem;
  letter-spacing: -.08em;
  line-height: 1;
}
.operational-summary p { color: var(--muted); font-size: .8rem; line-height: 1.55; }
.procedure-filter-panel {
  max-height: calc(100vh - 4rem);
  padding: 1.25rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: .45rem;
  box-shadow: 0 10px 28px rgba(14, 27, 36, .06);
  overflow-y: auto;
}
.procedure-filter-panel > strong { margin-top: .45rem; font-size: 3.6rem; }
.procedure-filter-panel > p { margin: .3rem 0 1.25rem; }
.procedure-filter-search { display: grid; gap: .4rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.procedure-filter-search label,
.procedure-filter-group > span {
  color: var(--muted);
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.procedure-filter-search input {
  width: 100%;
  min-height: 42px;
  padding: .7rem .75rem;
  border: 1px solid #cbd3d0;
  border-radius: .35rem;
}
.procedure-filters { display: grid; gap: 1.25rem; margin-top: 1.25rem; }
.procedure-filter-group { display: grid; gap: .25rem; }
.procedure-filter-group > span { margin-bottom: .25rem; }
.procedure-filter-group a,
.procedure-filter-group button {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .65rem;
  align-items: center;
  width: 100%;
  padding: .55rem .65rem;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-radius: .3rem;
  font: inherit;
  font-size: .78rem;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}
.procedure-filter-group a:hover,
.procedure-filter-group button:hover { background: #f1f5f4; }
.procedure-filter-group a.is-active,
.procedure-filter-group button.is-active { color: var(--blue-dark); background: var(--blue-soft); font-weight: 800; }
.procedure-filter-group a > span,
.procedure-filter-group button > span { min-width: 0; overflow-wrap: anywhere; }
.procedure-filter-group a > strong,
.procedure-filter-group button > strong { color: var(--muted); font-size: .65rem; }
.procedure-filter-actions { display: flex; gap: .4rem; margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.procedure-filter-actions button {
  padding: 0;
  color: var(--blue-dark);
  background: transparent;
  border: 0;
  font-size: .7rem;
  font-weight: 750;
  cursor: pointer;
}
.procedure-filter-actions button + button::before { margin-right: .4rem; color: var(--line-dark); content: "·"; }
.procedure-filter-result { margin-bottom: 0 !important; }
.grouped-content { display: grid; gap: 1.2rem; }
.content-group {
  overflow: hidden;
  background: var(--white);
  border-radius: .35rem;
}
.content-group > summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 1.5rem;
  color: var(--white);
  background: var(--ink);
  cursor: pointer;
  list-style: none;
}
.content-group > summary::-webkit-details-marker { display: none; }
.content-group > summary:focus-visible { outline: 3px solid var(--yellow); outline-offset: -3px; }
.content-group > summary h2 { margin: 0; font-size: 1rem; font-weight: 750; }
.content-group > summary > span { color: rgba(255,255,255,.65); font-size: .65rem; }
.procedure-group-chevron {
  width: .65rem;
  height: .65rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform .18s ease;
}
.procedure-group[open] .procedure-group-chevron { transform: rotate(225deg) translate(-2px, -2px); }
.procedure-filter-empty[hidden] { display: none; }
.operational-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1.1rem 1.5rem;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}
.operational-row:last-child { border-bottom: 0; }
.operational-row:hover { background: #fbfaf6; }
.content-type-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--blue-dark);
  background: var(--blue-soft);
  border-radius: .25rem;
  font-weight: 850;
}
.operational-row > span:nth-child(2) { display: grid; gap: .18rem; }
.operational-row small {
  color: var(--blue);
  font-size: .6rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.operational-row strong { font-size: .92rem; }
.operational-row > span > span { color: var(--muted); font-size: .65rem; }

.procedure-body {
  overflow: hidden;
  background: var(--white);
  border-radius: .35rem;
  box-shadow: 0 15px 40px rgba(14,27,36,.07);
}
.procedure-body > section {
  display: grid;
  grid-template-columns: 55px 1fr;
  gap: 1.2rem;
  padding: 1.8rem 2.4rem;
  border-bottom: 1px solid var(--line);
}
.procedure-body > section.procedure-main { padding-top: 2.4rem; padding-bottom: 2.4rem; }
.section-number {
  color: var(--blue);
  font-size: .68rem;
  font-weight: 850;
  letter-spacing: .08em;
}
.procedure-body h2 {
  margin: 0 0 .75rem;
  font-size: 1.25rem;
  font-weight: 760;
  letter-spacing: -.025em;
}
.procedure-body p {
  margin: 0;
  color: #33434d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  line-height: 1.8;
}
.procedure-body .rich-text {
  color: #33434d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  line-height: 1.8;
}
.procedure-body > section.attachments {
  display: block;
  margin: 2rem 2.4rem;
  padding: 1.5rem;
  border: 1px solid #d5dde1;
}
.procedure-body .attachments-heading h2 {
  margin: .25rem 0 0;
  font-size: 1.25rem;
}
.procedure-body .attachments .attachment-note {
  margin: .8rem 0 0;
  color: var(--muted);
  font-family: Inter, Arial, sans-serif;
  font-size: .66rem;
  line-height: 1.5;
}
.procedure-body .article-footer { margin: 0 2.4rem 2rem; }

.action-list-hero {
  background: linear-gradient(125deg, #351c1b, #71332f);
}
.emergency-note {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.2rem;
  color: var(--white);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: .35rem;
}
.emergency-note > span {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #6d2925;
  background: var(--white);
  border-radius: 50%;
  font-size: 1.2rem;
  font-weight: 900;
}
.emergency-note p { margin: 0; font-size: .75rem; }
.emergency-note strong { display: block; color: var(--white); font-size: .85rem; }
.action-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.action-card-grid > a {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  min-height: 160px;
  padding: 1.4rem;
  color: var(--ink);
  background: var(--white);
  border-top: 4px solid var(--red);
  border-radius: .3rem;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.action-card-grid > a:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.action-symbol {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--white);
  background: var(--red);
  border-radius: 50%;
  font-weight: 900;
}
.action-card-grid a > span:nth-child(2) { display: grid; align-content: start; gap: .3rem; }
.action-card-grid small { color: var(--red); font-size: .6rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.action-card-grid strong { font-size: 1rem; }
.action-card-grid a > span > span { align-self: end; color: var(--muted); font-size: .65rem; }

.action-detail-hero {
  position: relative;
  padding: 150px 0 70px;
  color: var(--white);
  background: linear-gradient(125deg, #301a19, #743530);
}
.action-title {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}
.large-alert {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 78px;
  height: 78px;
  color: var(--red);
  background: var(--white);
  border-radius: 50%;
  font-size: 2.3rem;
  font-weight: 900;
}
.action-title h1 {
  margin: 0;
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  font-weight: 780;
  letter-spacing: -.06em;
  line-height: 1;
}
.action-title p { margin: 1rem 0 0; color: rgba(255,255,255,.62); font-size: .78rem; }
.action-detail-section { padding: 80px 0 110px; }
.action-detail-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 800px);
  justify-content: center;
  gap: 5rem;
}
.action-detail-layout > aside { display: grid; align-content: start; gap: 1.5rem; }
.emergency-callout {
  display: grid;
  gap: .35rem;
  padding: 1rem;
  color: #81332e;
  background: #f7d9d6;
  border-radius: .3rem;
}
.emergency-callout strong { font-size: .8rem; }
.emergency-callout span { font-size: .68rem; line-height: 1.5; }
.action-content {
  padding: 2.6rem 3rem;
  background: var(--white);
  border-radius: .35rem;
  box-shadow: 0 15px 40px rgba(14,27,36,.08);
}
.action-content-label {
  display: flex;
  gap: .6rem;
  align-items: center;
  color: var(--red);
  font-size: .67rem;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.action-content-label span { width: 28px; height: 2px; background: var(--red); }
.action-content > .rich-text {
  margin: 2rem 0 3rem;
  color: #263842;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.22rem;
  line-height: 1.9;
}
.action-content footer {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}
.action-content footer > span { display: grid; color: var(--muted); font-size: .62rem; }
.action-content footer strong { color: var(--ink); font-size: .72rem; }
.action-content footer button {
  padding: .7rem 1rem;
  color: var(--white);
  background: var(--red);
  border: 0;
  border-radius: .2rem;
  font-size: .7rem;
  font-weight: 750;
}
.result-item-alert { border-left: 3px solid var(--red); padding-left: .9rem; }

.search-page-hero { padding-bottom: 70px; }
.search-page-hero h1 { margin-bottom: 2rem; }
.search-box-wide { max-width: 850px; }
.search-layout {
  display: grid;
  grid-template-columns: 235px 1fr;
  gap: 4.5rem;
}
.filter-panel { padding-top: 1.5rem; }
.filter-panel > strong { display: block; padding-bottom: 1rem; border-bottom: 2px solid var(--ink); }
.filter-group { display: grid; gap: .2rem; padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.filter-group > span { margin-bottom: .6rem; color: var(--muted); font-size: .65rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.filter-group a,
.filter-group label { padding: .45rem .6rem; color: var(--muted); border-radius: .2rem; font-size: .82rem; text-decoration: none; }
.filter-group a:hover,
.filter-group a.active { color: var(--ink); background: #e8e5db; font-weight: 700; }
.results-heading,
.panel-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 2rem;
  margin-bottom: 1.5rem;
}
.search-loading-status {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0 0 1.5rem;
  padding: 1rem 1.15rem;
  color: var(--ink);
  background: var(--blue-soft);
  border: 1px solid rgba(15, 62, 79, .16);
  border-radius: .35rem;
}
.search-loading-status[hidden] { display: none; }
.search-loading-status strong,
.search-loading-status small { display: block; }
.search-loading-status small { margin-top: .15rem; color: var(--muted); }
[data-search-results][aria-busy="true"] .results-heading,
[data-search-results][aria-busy="true"] .result-item,
[data-search-results][aria-busy="true"] .empty-state,
[data-search-results][aria-busy="true"] .search-pagination {
  opacity: .45;
  pointer-events: none;
}
.prototype-badge {
  display: inline-flex;
  padding: .4rem .65rem;
  color: var(--blue-dark);
  background: var(--blue-soft);
  border-radius: 2rem;
  font-size: .64rem;
  font-weight: 800;
  white-space: nowrap;
  text-transform: uppercase;
}
.result-item {
  display: block;
  padding: 1.5rem .25rem;
  border-top: 1px solid var(--line);
  text-decoration: none;
}
.result-item:hover strong { color: var(--blue); }
.result-type { display: block; margin-bottom: .45rem; color: var(--blue); font-size: .65rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.result-item strong { font-size: 1.2rem; }
.result-item p { max-width: 700px; margin: .4rem 0; color: var(--muted); font-size: .88rem; }
.result-meta { color: var(--blue); font-size: .75rem; font-weight: 700; }
.empty-state { padding: 4rem 2rem; text-align: center; background: var(--white); }
.empty-state > span {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin: 0 auto 1rem;
  color: var(--blue-dark);
  background: var(--blue-soft);
  border-radius: 50%;
  font-weight: 900;
}
.empty-state p { max-width: 550px; margin: 0 auto 1.5rem; color: var(--muted); }

/* Shared admin-page layout: hero and summary cards stay in normal document flow. */
.admin-hero { padding-bottom: 75px; }
.admin-dashboard-hero p { margin-top: 1.4rem; }
.admin-hero-grid {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: end;
  gap: 3rem;
}
.admin-hero-grid > :first-child { flex: 1 1 32rem; min-width: 0; }
.admin-hero-actions { display: flex; flex: 0 1 auto; align-items: center; justify-content: flex-end; gap: .75rem; flex-wrap: wrap; }
.admin-hero + .admin-content,
.admin-hero + .admin-section { padding-top: clamp(1.5rem, 3vw, 2.5rem); }
.admin-section { padding-bottom: 100px; }
.admin-content-overview-hero p { margin-top: 1.4rem; }
.admin-content-overview-hero .admin-hero-actions { justify-content: flex-end; }
.content-overview .metrics-grid { margin-bottom: 2.35rem; }
.content-overview .audit-filters { margin-top: -1.75rem; }
.content-overview .status-alert + .audit-filters { margin-top: 0; }
.status-alert {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: .9rem;
  margin: 0 0 1.5rem;
  padding: 1rem 1.15rem;
  color: #183f31;
  background: #e7f4ed;
  border: 1px solid #a9d4be;
  border-left: 5px solid #27845d;
  border-radius: .5rem;
  box-shadow: 0 8px 20px rgba(14, 27, 36, .07);
  position: relative;
  z-index: 4;
}
.status-alert-success { color: #183f31; background: #e7f4ed; border-color: #a9d4be; border-left-color: #27845d; }
.status-alert-success .status-alert-icon { background: #27845d; }
.status-alert-success span:not(.status-alert-icon) { color: #426357; }
.status-alert > div { display: grid; gap: .15rem; }
.status-alert strong { font-size: .95rem; }
.status-alert span:not(.status-alert-icon) { color: #426357; font-size: .82rem; }
.status-alert a { color: inherit; font-size: .82rem; font-weight: 800; white-space: nowrap; }
.status-alert-icon {
  display: grid;
  width: 1.85rem;
  height: 1.85rem;
  place-items: center;
  color: #fff;
  background: #27845d;
  border-radius: 50%;
  font-weight: 900;
}
.status-alert-info { color: #173f50; background: #e8f3f7; border-color: #aad0dd; border-left-color: #237994; }
.status-alert-info .status-alert-icon { background: #237994; }
.status-alert-info span:not(.status-alert-icon) { color: #456672; }
.status-alert-warning { color: #5d4700; background: #fff7d7; border-color: #e4ce77; border-left-color: #b88700; }
.status-alert-warning .status-alert-icon { background: #a97c00; }
.status-alert-warning span:not(.status-alert-icon) { color: #6d5a1b; }
.status-alert-error { color: #692e2b; background: #fbe9e8; border-color: #ddb2af; border-left-color: #a13d38; }
.status-alert-error .status-alert-icon { background: #a13d38; }
.status-alert-error span:not(.status-alert-icon) { color: #764a47; }
.new-procedure-placement-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.access-administration-hero p { margin-top: 1.4rem; }
.access-administration { padding-top: 100px; }
.metrics-grid.access-metrics {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0 0 2rem;
}
.access-metrics .metric-card { min-width: 0; }
.access-metrics .metric-card > span { overflow-wrap: anywhere; }
.access-filters { grid-template-columns: minmax(260px, 1fr) 240px auto; margin-top: 0; }
.access-table td:first-child span,
.access-table td:first-child small { display: block; }
.access-active-users { margin-bottom:1rem; }
.access-inactive-users { overflow:hidden; margin-top:1rem; background:#fff; border:1px solid #dfe4e2; border-radius:.7rem; box-shadow:0 10px 30px rgba(14,27,36,.05); }
.access-inactive-users>summary { display:flex; align-items:center; justify-content:space-between; gap:1rem; padding:1.15rem 1.35rem; color:var(--ink); cursor:pointer; list-style:none; }
.access-inactive-users>summary::-webkit-details-marker { display:none; }
.access-inactive-users>summary::after { content:"+"; order:3; color:var(--blue-dark); font-size:1.35rem; font-weight:800; }
.access-inactive-users[open]>summary::after { content:"−"; }
.access-inactive-users>summary>span:first-child { display:grid; gap:.15rem; }
.access-inactive-users>summary small { color:var(--muted); font-weight:400; }
.access-inactive-count { display:grid; place-items:center; min-width:2rem; height:2rem; margin-left:auto; padding:0 .55rem; color:var(--blue-dark); background:var(--blue-pale); border-radius:999px; font-weight:800; }
.access-inactive-body { padding:0 1.35rem 1.35rem; border-top:1px solid #edf0ee; }
.access-inactive-body .audit-table { opacity:.88; }
.access-no-results { margin-top:1rem; padding:1rem; color:var(--muted); text-align:center; }
.access-edit-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 2rem; align-items: start; }
.access-role-fieldset { display: grid; gap: .65rem; margin: 0; padding: 0; border: 0; }
.access-role-fieldset legend { margin-bottom: .55rem; font-size: .75rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.access-role-fieldset label { display: grid; grid-template-columns: auto 1fr; align-items: start; gap: .8rem; padding: 1rem; background: #f2f4f3; border: 1px solid #dfe4e2; border-radius: .45rem; cursor: pointer; }
.access-role-fieldset input { width: 1.1rem; height: 1.1rem; margin-top: .15rem; accent-color: var(--blue); }
.access-role-fieldset label > span { display: grid; gap: .2rem; }
.access-role-fieldset small { color: var(--muted); font-weight: 400; }
.access-role-fieldset .access-active { margin-top: .5rem; background: var(--blue-pale); border-color: #b9dce6; }
.access-guide { position: sticky; top: 110px; }
.access-guide p { color: var(--muted); line-height: 1.6; }
.primary-button:disabled { opacity: .88; }
.structure-hero p { margin-top: 1.4rem; }
.structure-hero-actions { display: flex; align-items: center; justify-content: flex-end; gap: .75rem; flex-wrap: wrap; }
.structure-hero-actions .primary-button { margin: 0; }
.structure-hero-actions .secondary-button { color: var(--white); border-color: rgba(255,255,255,.42); text-decoration: none; }
.structure-hero-actions .secondary-button:hover { color: var(--dark); background: var(--white); }
.structure-feedback { margin: 0 0 1.25rem; }
.structure-panel { margin-bottom: 1.25rem; }
.structure-metadata-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: 1.25rem; }
.structure-metadata-grid .structure-panel { min-width: 0; }
.structure-system-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.structure-system-card { display: grid; gap: 1rem; padding: 1.25rem; background: #f3f5f4; border: 1px solid #e1e5e3; border-radius: .5rem; }
.structure-system-heading { display: flex; align-items: center; gap: .8rem; }
.structure-system-heading > div { min-width: 0; }
.structure-system-heading h3 { margin: 0 0 .3rem; font-size: 1.05rem; }
.structure-system-card dl { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin: 0; }
.structure-system-card dl div { padding: .65rem; background: var(--white); border-radius: .35rem; }
.structure-system-card dt { color: var(--muted); font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; }
.structure-system-card dd { margin: .1rem 0 0; color: var(--ink); font-size: 1.35rem; font-weight: 850; }
.structure-system-card p { min-height: 2.7em; margin: 0; color: var(--muted); font-size: .78rem; }
.structure-card-actions { display: flex; flex-wrap: wrap; gap: .9rem; padding-top: .8rem; border-top: 1px solid #dce1de; }
.structure-card-actions a { color: #075c75; font-size: .78rem; font-weight: 750; }
.structure-table td:first-child small { display: block; max-width: 600px; color: var(--muted); }
.structure-next-step { display: flex; gap: 1rem; align-items: flex-start; padding: 1.25rem; background: var(--blue-pale); border: 1px solid #b9dce6; border-radius: .5rem; }
.structure-next-step p { margin: .25rem 0 0; color: var(--muted); }
.structure-delete-zone { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: .5rem; padding-top: 1.25rem; border-top: 1px solid #e4d2d0; }
.structure-delete-zone > div { display: grid; gap: .2rem; }
.structure-delete-zone small { color: var(--muted); }
.danger-button { min-height: 42px; padding: .65rem 1rem; color: #fff; background: #a63d37; border: 0; border-radius: .35rem; font-weight: 750; }
.danger-button:hover:not(:disabled) { background: #852f2a; }
.danger-button:disabled { opacity: .42; cursor: not-allowed; }
.link-button { padding: 0; color: var(--color-link, #24566f); background: transparent; border: 0; font: inherit; font-weight: 750; text-decoration: underline; cursor: pointer; }
.deleted-content-panel { margin-top: 2rem; }
.article-order-link { margin-left: auto; }
.article-order-form { overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: .55rem; box-shadow: 0 12px 30px rgba(14,27,36,.07); }
.article-order-heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem; padding: 1.4rem 1.5rem; border-bottom: 1px solid var(--line); }
.article-order-heading h2 { margin: .35rem 0 0; }
.article-order-heading > span { color: var(--muted); font-size: .78rem; }
.article-order-list { display: grid; margin: 0; padding: 0; list-style: none; }
.article-order-list > li {
  display: grid;
  grid-template-columns: auto 100px minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  min-height: 64px;
  padding: .7rem 1rem;
  border-bottom: 1px solid var(--line);
  transition: background .15s ease, opacity .15s ease;
}
.article-order-list > li.is-dragging { opacity: .48; background: var(--blue-soft); }
.article-drag-handle { padding: .45rem; color: var(--muted); background: transparent; border: 0; font-size: 1.15rem; cursor: grab; }
.article-drag-handle:active { cursor: grabbing; }
.article-order-number { color: var(--blue-dark); font-size: .78rem; font-weight: 850; }
.article-order-buttons { display: flex; gap: .3rem; }
.article-order-buttons button {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--ink);
  background: #f2f4f3;
  border: 1px solid #d8ddda;
  border-radius: .3rem;
  cursor: pointer;
}
.article-order-buttons button:disabled { opacity: .35; cursor: default; }
.article-order-actions { display: flex; align-items: center; gap: .8rem; padding: 1.25rem 1.5rem; }
.article-order-actions .primary-button, .article-order-actions .secondary-button { border: 0; }
.article-renumber-advanced { margin: 0 1.5rem 1.5rem; padding: 1rem; border: 1px solid var(--line); border-radius: .5rem; background: #f8faf9; }
.article-renumber-advanced summary { cursor: pointer; font-weight: 800; }
.article-renumber-advanced p { max-width: 70ch; color: var(--muted); font-size: .78rem; }
.article-renumber-advanced .secondary-button { border: 0; }
.article-renumber-preview { margin: 0 1.5rem 1.5rem; padding: 1.4rem; background: #fbfaf6; border: 1px solid #ddd8c9; border-radius: .45rem; }
.article-renumber-preview h2 { margin: .35rem 0 1rem; }
.article-renumber-preview .danger-button { margin-top: 1rem; }
.edit-field > textarea { width: 100%; padding: .85rem .9rem; background: var(--white); border: 1px solid #cbd3d0; border-radius: .45rem; resize: vertical; }
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 0;
  margin-bottom: 2rem;
  position: relative;
  z-index: 3;
}
.metric-card {
  display: grid;
  min-height: 170px;
  padding: 1.5rem;
  background: var(--white);
  border-radius: .35rem;
  box-shadow: 0 12px 30px rgba(14,27,36,.07);
}
.metric-card > span { color: var(--muted); font-size: .7rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.metric-card strong { align-self: end; font-size: 3rem; letter-spacing: -.05em; }
.metric-card small { color: var(--muted); font-size: .7rem; }
.metric-card-dark { color: var(--white); background: var(--ink); }
.metric-card-dark > span,
.metric-card-dark small { color: rgba(255,255,255,.6); }
.metric-card-highlight {
  color: var(--white);
  background: linear-gradient(145deg, #1784a5, var(--blue));
  border: 1px solid rgba(4,65,84,.3);
  box-shadow: 0 14px 34px rgba(7,78,101,.2);
}
.metric-card-highlight > span,
.metric-card-highlight small { color: rgba(255,255,255,.72); }
.metric-card .attention { color: var(--red); }
.admin-content { padding-top: 100px; }
.admin-tool-link {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  margin: -1.4rem 0 1.2rem;
  padding: 1rem 1.2rem;
  border: 1px solid #d6dee2;
  border-radius: .35rem;
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
}
.admin-tool-link:hover { border-color: #9aaab2; color: var(--ink); }
.admin-tool-link > span:nth-child(2) { display: grid; gap: .15rem; }
.admin-tool-link small { color: var(--muted); }
.admin-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 1.2rem; }
.admin-panel { padding: 2rem; background: var(--white); border-radius: .35rem; }
.workflow-dashboard { margin: 1.25rem 0; }
.workflow-dashboard .panel-heading > a { font-size: .78rem; font-weight: 800; }
.workflow-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: .65rem; margin-bottom: 1.25rem; }
.workflow-metrics > div { display: grid; gap: .12rem; padding: .85rem 1rem; background: #f3f5f4; border-radius: .5rem; }
.workflow-metrics strong { font-size: 1.55rem; line-height: 1; }
.workflow-metrics span { color: var(--muted); font-size: .7rem; }
.workflow-task-list { border-top: 1px solid #e0e4e2; }
.workflow-task-list .task-item:last-child { border-bottom: 0; }
.workflow-task-list small { color: #813c38; font-size: .72rem; }
.admin-tool-directory { margin: 1.5rem 0; }
.admin-directory-heading { display: flex; justify-content: space-between; gap: 2rem; align-items: end; margin-bottom: 1rem; }
.admin-directory-heading h2 { margin: .4rem 0 0; font-size: clamp(1.7rem, 3vw, 2.35rem); }
.admin-directory-heading > p { max-width: 24rem; margin: 0; color: var(--muted); text-align: right; }
.admin-tool-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.admin-tool-group { overflow: hidden; padding: 0; background: var(--white); border: 1px solid #d4dcda; box-shadow: 0 12px 30px rgba(14,27,36,.08); }
.admin-tool-group > header { display: flex; gap: 1rem; align-items: flex-start; padding: 1.35rem 1.4rem 1.15rem; border-bottom: 1px solid var(--line); }
.admin-group-marker { flex: 0 0 auto; padding-top: .2rem; color: var(--blue); font-size: .7rem; font-weight: 900; letter-spacing: .1em; }
.admin-tool-group h3 { margin: 0; font-size: 1.25rem; }
.admin-tool-group header p { margin: .2rem 0 0; color: var(--muted); font-size: .82rem; }
.admin-group-links { display: grid; }
.admin-group-links > a { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: .85rem; align-items: center; min-height: 4.75rem; padding: .85rem 1.4rem; color: var(--ink); text-decoration: none; transition: background-color .15s ease, color .15s ease; }
.admin-group-links > a + a { border-top: 1px solid var(--line); }
.admin-group-links > a > span:nth-child(2) { display: grid; gap: .1rem; min-width: 0; }
.admin-group-links small { overflow: hidden; color: var(--muted); font-size: .72rem; text-overflow: ellipsis; white-space: nowrap; }
.admin-group-links > a > span:last-child { color: var(--blue); font-weight: 900; transition: transform .15s ease; }
.admin-group-links > a:hover { color: var(--ink); background: #f1f7f7; }
.admin-group-links > a:hover > span:last-child { transform: translateX(.2rem); }
.admin-tool-group-ai { border-top: 4px solid var(--blue); }
.admin-tool-group-ai > header { padding-top: 1.15rem; background: #f1f8fa; }
.admin-tool-group-ai .system-avatar { color: var(--white); background: var(--blue); }
.panel-heading h2 { font-size: 1.8rem; }
.task-list { border-top: 1px solid var(--line); }
.task-item {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--line);
}
.task-item > div { display: grid; gap: .25rem; }
.task-item > div span,
.task-item time { color: var(--muted); font-size: .7rem; }
.task-status {
  justify-self: start;
  padding: .35rem .5rem;
  border-radius: .2rem;
  font-size: .6rem;
  font-weight: 850;
  text-transform: uppercase;
}
.status-review { color: #735600; background: #f9e5a0; }
.status-returned { color: #813c38; background: #f7ddda; }
.status-expired { color: #97342e; background: #f7d2cf; }
.status-draft { color: #46535b; background: #e5e8e9; }
.status-unplanned { color: #46535b; background: #e5e8e9; }
.status-current { color: #17613d; background: #dcefe5; }

.revision-metrics { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.revision-filters { grid-template-columns: minmax(240px, 2fr) repeat(3, minmax(145px, 1fr)) auto; }
.revision-table th:last-child,
.revision-table td:last-child { width: 1%; white-space: nowrap; }
.review-edit-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 2rem; align-items: start; }
.review-edit-layout > div { display: grid; gap: 1.5rem; }
.review-field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.review-complete-form { border-top: 4px solid var(--accent); }
.review-complete-form > p { margin-top: -.35rem; color: var(--muted); }
.review-history { position: sticky; top: 1.5rem; }
.review-history-list { display: grid; gap: .9rem; margin: 1.25rem 0 0; padding: 0; list-style: none; }
.review-history-list li { display: grid; gap: .2rem; padding: 1rem; background: var(--surface); border-radius: .3rem; }
.review-history-list span,
.review-history-list small { color: var(--muted); }
.review-history-list p { margin: .35rem 0 0; }
.admin-system-list > div {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: .8rem;
  align-items: center;
  padding: .75rem 0;
  border-top: 1px solid var(--line);
}
.system-avatar { width: 34px; height: 34px; font-size: .8rem; }
.admin-system-list > div > span:nth-child(2) { display: grid; }
.admin-system-list small { color: var(--muted); font-size: .65rem; }
.visibility { font-size: .62rem; font-weight: 800; }
.visibility.visible { color: var(--green); }
.visibility.hidden { color: var(--muted); }
.admin-hero-compact { padding-bottom: 52px; }
.attachment-audit { padding-top: 70px; }
.attachment-audit .metrics-grid { margin-top: 0; }
.attachment-audit > .container > .reconciliation-panel {
  margin-top: -70px;
  margin-bottom: 1.25rem;
}
.reconciliation-panel .metrics-grid { padding: 1.4rem 2rem; }
.reconciliation-panel .reconciliation-metrics { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.reconciliation-panel .status-message,
.reconciliation-panel .status-alert { margin: 0 2rem 1rem; }
.reconciliation-heading { margin-top: .25rem !important; }
.reconciliation-heading h3 { margin: .35rem 0 0; font-size: 1.5rem; }
.reconciliation-table td:first-child { min-width: 300px; }
.audit-filters {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 220px 180px auto;
  align-items: end;
  gap: .8rem;
  margin: -1.4rem 0 1.2rem;
  padding: 1.2rem;
  border-radius: .35rem;
  background: var(--white);
}
.audit-filters label { display: grid; gap: .4rem; }
.audit-filters label > span {
  color: var(--muted);
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.audit-filters input,
.audit-filters select {
  width: 100%;
  min-height: 42px;
  padding: .65rem .75rem;
  border: 1px solid #cdd7dc;
  border-radius: 3px;
  background: #fff;
  color: var(--ink);
}
.audit-filters button {
  min-height: 42px;
  padding: .65rem 1.1rem;
  border: 0;
  border-radius: 3px;
  background: var(--ink);
  color: #fff;
  font-weight: 750;
}
.activity-log-filters { grid-template-columns: minmax(260px, 1.4fr) minmax(170px, .7fr) 150px 150px auto; margin-top: -1.4rem; }
.activity-filter-error { display: none; grid-column: 1 / -1; }
.activity-filter-error:not(:empty) { display: block; }
.activity-filter-actions { display: flex; align-items: center; gap: .75rem; }
.activity-filter-actions a { color: #075c75; font-size: .75rem; font-weight: 750; }
.activity-log-heading { margin-bottom: 1rem; }
.activity-log-heading > small { color: var(--muted); }
.audit-log-list .task-item > div { display: grid; gap: .2rem; }
.audit-log-list .task-item strong a { color: #075c75; }
.activity-actor { color: var(--muted); font-size: .72rem; }
.activity-detail { max-width: 850px; color: var(--ink); font-size: .78rem; line-height: 1.5; }
.audit-panel { padding: 0; overflow: hidden; }
.audit-panel .panel-heading { margin: 0; padding: 1.6rem 2rem; border-bottom: 1px solid var(--line); }
.audit-table-wrap { overflow-x: auto; }
.audit-table { width: 100%; border-collapse: collapse; }
.audit-table th,
.audit-table td {
  padding: .9rem 1rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.audit-table th {
  color: var(--muted);
  background: #f8fafb;
  font-size: .64rem;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.audit-table td { font-size: .76rem; }
.audit-table td:first-child,
.audit-table td:nth-child(2) { min-width: 220px; }
.audit-table td strong,
.audit-table td small { display: block; }
.audit-table td small { margin-top: .2rem; color: var(--muted); font-size: .65rem; }
.audit-table td a { color: #075c75; font-weight: 750; }
.audit-status {
  display: inline-flex;
  padding: .32rem .55rem;
  border-radius: 999px;
  font-size: .64rem;
  font-weight: 800;
  white-space: nowrap;
}
.audit-status.available { color: #176241; background: #dff2e8; }
.audit-status.environment { color: #725500; background: #fff0bf; }
.audit-status.historical { color: #245467; background: #dceef4; }
.audit-status.rejected { color: #8a2430; background: #f8dde1; }
.audit-empty { padding: 2rem; color: var(--muted); }
.audit-explanation {
  margin-top: 1rem;
  padding: 1.2rem 1.4rem;
  border-left: 4px solid #d7a800;
  background: #fff8dc;
}
.audit-explanation p { margin: .35rem 0 0; color: #5d5640; font-size: .78rem; }
.usage-period { display: flex; align-items: end; gap: .7rem; margin-bottom: 1.2rem; }
.usage-period label { color: var(--muted); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.usage-period select { min-width: 12rem; padding: .7rem .8rem; border: 1px solid #b8c3c2; background: #fff; }
.usage-period button { padding: .75rem 1.1rem; border: 0; color: #fff; background: var(--blue-dark); font-weight: 800; }
.usage-metrics { margin-bottom: 1.2rem; }
.usage-insights { margin-bottom: 1.2rem; border-left: 4px solid var(--yellow); }
.usage-insights ul { margin: 0; padding-left: 1.25rem; color: #394850; }
.usage-insights li + li { margin-top: .55rem; }
.usage-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 1.2rem; margin-bottom: 1.2rem; align-items: start; }
.usage-table td:first-child { min-width: 180px; }
.usage-flow-list { list-style: none; margin: 0; padding: 0; }
.usage-flow-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .9rem 1.2rem; border-top: 1px solid var(--line); font-size: .76rem; }
.usage-flow-list li > span { display: flex; gap: .55rem; min-width: 0; align-items: center; }
.usage-flow-list a { overflow-wrap: anywhere; color: #075c75; font-weight: 750; }
.usage-flow-list b { color: var(--muted); }
.usage-flow-list strong { flex: 0 0 auto; }
.usage-privacy { margin-top: 1.2rem; }
.usage-unavailable { background: #fff; border: 1px solid var(--line); }
@media (max-width: 992px) { .usage-grid { grid-template-columns: 1fr; } }
@media (max-width: 650px) { .usage-period { align-items: stretch; flex-direction: column; } .usage-period select { width: 100%; } }

.site-footer { padding: 2.2rem 0; color: rgba(255,255,255,.65); background: #101820; }
.site-footer .container { display: flex; justify-content: space-between; align-items: center; gap: 2rem; }
.footer-brand { display: flex; gap: .75rem; align-items: center; font-size: .78rem; }
.footer-brand strong { color: var(--white); }
.brand-logo-frame-small { width: 70px; }
.brand-logo-small { max-width: 70px; }
.footer-meta { display: flex; gap: 1.5rem; font-size: .72rem; }
.footer-meta a { color: var(--yellow); }

@media (max-width: 991.98px) {
  .site-header { background: #131e27; }
  .site-nav { min-height: 76px; }
  .navbar-collapse { padding: 1rem 0 1.5rem; }
  .navbar .nav-link,
  .navbar .nav-admin { margin: .2rem 0; }
  .navbar .nav-admin { display: inline-flex; align-self: start; }
  .nav-user { align-items: start; margin: .8rem 0 0; flex-direction: column; }
  .hero { padding-top: 135px; }
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero-panel { max-width: 650px; }
  .system-grid { grid-template-columns: repeat(2, 1fr); }
  .updates-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .page-hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .chapter-layout { grid-template-columns: 1fr; gap: 2rem; }
  .chapter-intro { position: static; }
  .article-hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .article-layout { grid-template-columns: 1fr; gap: 2rem; }
  .article-sidebar { grid-template-columns: 1fr 1fr; }
  .article-sidebar-organized > .back-link,
  .article-sidebar-organized > .article-sidebar-panel { grid-column: 1 / -1; }
  .article-sidebar-organized .article-sidebar-panel {
    display: grid;
    grid-auto-columns: minmax(0, 1fr);
    grid-auto-flow: column;
  }
  .article-sidebar-organized .article-sidebar-section + .article-sidebar-section {
    border-top: 0;
    border-left: 1px solid var(--line);
  }
  .operational-layout { grid-template-columns: 1fr; gap: 2rem; }
  .operational-summary { position: static; }
  .procedure-filter-panel { max-height: none; overflow: visible; }
  .procedure-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .action-card-grid { grid-template-columns: repeat(2, 1fr); }
  .action-detail-layout { grid-template-columns: 1fr; gap: 2rem; }
  .search-layout { grid-template-columns: 1fr; gap: 2rem; }
  .filter-panel { display: none; }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-grid { grid-template-columns: 1fr; }
  .workflow-metrics { grid-template-columns: repeat(2, 1fr); }
  .audit-filters { grid-template-columns: 1fr 1fr; }
  .metrics-grid.access-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reconciliation-panel .reconciliation-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .structure-system-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .structure-metadata-grid { grid-template-columns: 1fr; }
  .access-edit-layout { grid-template-columns: 1fr; }
  .access-guide { position: static; }
  .review-edit-layout { grid-template-columns: 1fr; }
  .review-history { position: static; }
}

@media (max-width: 767.98px) {
  .article-order-list > li { grid-template-columns: auto minmax(0, 1fr) auto; gap: .7rem; }
  .article-order-number { grid-column: 2; grid-row: 2; }
  .article-order-list > li > strong { grid-column: 2; grid-row: 1; }
  .article-order-buttons { grid-column: 3; grid-row: 1 / span 2; }
  .article-order-actions { align-items: stretch; flex-direction: column; }
  .article-order-actions > * { width: 100%; text-align: center; }
  .procedure-filters { grid-template-columns: 1fr; }
  .status-alert { grid-template-columns: auto minmax(0, 1fr); margin-top: 0; }
  .status-alert > a { grid-column: 2; justify-self: start; }
  .hero { min-height: auto; padding: 130px 0 75px; }
  .hero h1 { font-size: 3.35rem; }
  .hero-lead { font-size: 1rem; }
  .search-box { min-height: 58px; }
  .search-box button { min-width: 54px; padding: 0 .9rem; font-size: 0; }
  .search-box button span { font-size: 1.1rem; }
  .search-box.is-searching button span:last-child { display: none; }
  .quick-searches { display: none; }
  .systems-section,
  .content-section,
  .search-results-section { padding: 70px 0; }
  .section-heading { display: block; }
  .section-heading p { margin-top: 1rem; }
  .system-grid,
  .feature-grid { grid-template-columns: 1fr; }
  .system-card { min-height: 160px; }
  .chapter-section { padding: 70px 0; }
  .chapter-heading { grid-template-columns: auto 1fr; }
  .article-count { grid-column: 2; }
  .article-list > a { grid-template-columns: 58px 1fr auto; padding: 1rem 1.2rem; }
  .article-hero { padding: 130px 0 55px; }
  .article-section { padding: 55px 0 75px; }
  .article-sidebar { grid-template-columns: 1fr; }
  .article-sidebar-organized .article-sidebar-panel { display: block; }
  .article-sidebar-organized .article-sidebar-section + .article-sidebar-section {
    border-top: 1px solid var(--line);
    border-left: 0;
  }
  .article-body { padding: 1.6rem; }
  .article-content { font-size: 1.03rem; }
  .article-footer { grid-template-columns: 1fr 1fr; }
  .article-footer button { grid-column: 1 / -1; }
  .operational-list-section,
  .action-card-section { padding: 70px 0; }
  .action-card-grid { grid-template-columns: 1fr; }
  .procedure-body > section { grid-template-columns: 38px 1fr; padding: 1.4rem; }
  .procedure-body > section.attachments { margin: 1.4rem; padding: 1.1rem; }
  .procedure-body .article-footer { margin: 0 1.4rem 1.4rem; }
  .attachments { padding: 1.1rem; }
  .attachments li a { grid-template-columns: 34px minmax(0, 1fr); }
  .attachment-action { display: none; }
  .action-detail-hero { padding: 130px 0 55px; }
  .action-title { align-items: start; }
  .large-alert { width: 55px; height: 55px; font-size: 1.6rem; }
  .action-detail-section { padding: 55px 0 75px; }
  .action-content { padding: 1.6rem; }
  .action-content > .rich-text { font-size: 1.05rem; }
  .action-content footer { align-items: start; flex-direction: column; }
  .updates-section { padding: 70px 0; }
  .update-item { grid-template-columns: 52px 1fr; }
  .update-item > .arrow { display: none; }
  .page-hero { padding: 130px 0 55px; }
  .search-box-compact { display: none; }
  .admin-hero-grid { display: block; }
  .admin-hero .primary-button { margin-top: 1.5rem; }
  .admin-hero-actions { justify-content: flex-start; margin-top: 1.5rem; }
  .admin-hero-actions .primary-button { margin-top: 0; }
  .admin-content-overview-hero .admin-hero-actions { justify-content: flex-start; margin-top: 1.5rem; }
  .admin-content-overview-hero .admin-hero-actions .primary-button { margin-top: 0; }
  .structure-hero-actions { justify-content: flex-start; margin-top: 1.5rem; }
  .structure-hero-actions .primary-button { margin-top: 0; }
  .structure-system-grid { grid-template-columns: 1fr; }
  .metrics-grid { grid-template-columns: 1fr 1fr; gap: .6rem; }
  .metric-card { min-height: 140px; padding: 1.1rem; }
  .metric-card strong { font-size: 2.4rem; }
  .admin-panel { padding: 1.3rem; }
  .audit-panel { padding: 0; }
  .audit-filters { grid-template-columns: 1fr; margin-top: 0; }
  .review-field-grid { grid-template-columns: 1fr; }
  .metrics-grid.access-metrics { margin-top: 0; }
  .task-item { grid-template-columns: 1fr auto; }
  .task-status { grid-column: 1 / -1; }
  .site-footer .container { align-items: start; flex-direction: column; }
  .footer-meta { flex-direction: column; gap: .5rem; }
}

@media (max-width: 430px) {
  .hero h1 { font-size: 2.85rem; }
  .system-card { padding: 1.25rem; }
  .metrics-grid { grid-template-columns: 1fr; }
  .metrics-grid.access-metrics { grid-template-columns: 1fr; }
  .reconciliation-panel .reconciliation-metrics { grid-template-columns: 1fr; }
  .workflow-metrics { grid-template-columns: 1fr; }
  .results-heading,
  .panel-heading { align-items: start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
  .search-loading-spinner,
  .ai-submit-spinner,
  .ai-working-spinner { animation: none; }
}
/* Innlogging */
.login-shell {
  min-height: calc(100vh - 15rem);
  display: grid;
  place-items: center;
  padding: clamp(7.5rem, 10vw, 9rem) 1rem clamp(3rem, 7vw, 5rem);
  background:
    linear-gradient(#131e27 0 92px, transparent 92px),
    radial-gradient(circle at 15% 10%, rgba(11, 102, 130, .14), transparent 28rem),
    linear-gradient(145deg, #f7f8f7, #edf1f0);
}

.login-card {
  width: min(100%, 31rem);
  padding: clamp(1.5rem, 5vw, 2.75rem);
  border: 1px solid rgba(23, 33, 43, .1);
  border-radius: 1.25rem;
  background: #fff;
  box-shadow: 0 1.25rem 3.5rem rgba(23, 33, 43, .12);
}

.login-heading h1 {
  margin: .3rem 0 .5rem;
  font-size: clamp(2rem, 7vw, 2.8rem);
  letter-spacing: -.04em;
}

.login-heading p,
.login-help {
  color: #5c6670;
}

.login-form {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.login-channel-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
}

.login-channel-options label {
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .85rem 1rem;
  border: 1px solid #d6dcda;
  border-radius: .75rem;
  cursor: pointer;
}

.login-notice,
.login-dev-code {
  margin-top: 1.25rem;
  padding: .9rem 1rem;
  border-radius: .75rem;
  background: #eef6f2;
  color: #214f3c;
}
.login-card .status-alert { margin-top: 1.25rem; }

.login-dev-code {
  background: #fff4d5;
  color: #634b0e;
}

.login-code-input {
  text-align: center;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: .35em;
}

.login-secondary-action {
  text-align: center;
}

.login-help {
  margin: 1.75rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid #e4e8e6;
  font-size: .9rem;
}

.ai-hero-entry {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: .85rem;
  align-items: center;
  max-width: 39rem;
  margin-top: 1.35rem;
  padding: .9rem 1rem;
  color: var(--white);
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: .8rem;
  text-decoration: none;
}
.ai-hero-entry:hover { color: var(--white); background: rgba(255,255,255,.15); }
.ai-hero-entry strong, .ai-hero-entry small { display: block; }
.ai-hero-entry small { color: rgba(255,255,255,.72); }
.ai-spark { color: var(--yellow); font-size: 1.35rem; }
.ai-page-launcher {
  position: fixed;
  right: clamp(1rem, 2.5vw, 2rem);
  bottom: clamp(1rem, 2.5vw, 2rem);
  z-index: 60;
  display: grid;
  grid-template-columns: auto auto auto;
  gap: .65rem;
  align-items: center;
  min-height: 3.45rem;
  padding: .7rem 1rem;
  color: var(--white);
  background: var(--ink);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  box-shadow: 0 14px 34px rgba(14,27,36,.28);
  font-size: .85rem;
  font-weight: 850;
  text-decoration: none;
  transition: background-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.ai-page-launcher:hover,
.ai-page-launcher:focus-visible {
  color: var(--white);
  background: var(--blue-dark);
  box-shadow: 0 18px 38px rgba(14,27,36,.34);
  transform: translateY(-2px);
}
.ai-page-launcher-icon { color: var(--yellow); font-size: 1.2rem; line-height: 1; }
.ai-page-launcher-arrow { color: var(--blue-light); }
.ai-page-hero { min-height: 28rem; }
.ai-status-card {
  display: grid;
  gap: .45rem;
  align-self: end;
  padding: 1.4rem;
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 1rem;
}
.ai-status-card small { color: rgba(255,255,255,.7); }
.ai-status-card a { color: var(--white); font-size: .85rem; font-weight: 800; }
.ai-status-card .status-ready { color: #8ee0b7; }
.ai-status-card .status-waiting { color: var(--yellow); }
.ai-assistant-section { padding: 4rem 0 6rem; background: #eef1ef; }
.ai-assistant-layout { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(17rem, .7fr); gap: 1.5rem; align-items: start; }
.ai-chat-panel, .ai-source-panel { padding: 1.5rem; background: var(--white); border: 1px solid var(--line); border-radius: 1rem; box-shadow: 0 .8rem 2rem rgba(23,33,43,.06); }
.ai-question-form { display: grid; gap: .65rem; }
.ai-question-form > label { font-weight: 800; color: var(--dark); }
.ai-question-form > small, .ai-source-panel > p { color: #657079; }
.ai-question-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .75rem; align-items: stretch; }
.ai-question-row textarea { width: 100%; min-height: 7rem; padding: .9rem 1rem; border: 1px solid #bdc7c3; border-radius: .65rem; resize: vertical; }
.ai-question-row button { border: 0; align-self: stretch; }
.ai-question-form[aria-busy="true"] textarea { color: #5f6b72; background: #f4f7f6; cursor: wait; }
.ai-question-form[aria-busy="true"] button { cursor: wait; }
.ai-submit-spinner,
.ai-working-spinner { display: inline-block; border: .18rem solid rgba(255,255,255,.4); border-top-color: currentColor; border-radius: 50%; animation: search-spinner .75s linear infinite; }
.ai-submit-spinner { width: 1.05rem; height: 1.05rem; margin-left: .35rem; vertical-align: -.15rem; }
.ai-submit-spinner[hidden] { display: none; }
.ai-working-status { display: flex; gap: .8rem; align-items: center; margin-top: .35rem; padding: .9rem 1rem; color: var(--dark); background: #eef8fb; border: 1px solid #a9d2df; border-left: .25rem solid var(--blue); border-radius: .65rem; }
.ai-working-status[hidden] { display: none; }
.ai-working-status > span:last-child,
.ai-working-status strong,
.ai-working-status small { display: block; }
.ai-working-status small { margin-top: .12rem; color: #5c6970; }
.ai-working-spinner { flex: 0 0 auto; width: 1.35rem; height: 1.35rem; color: var(--blue); border-color: rgba(15,116,143,.22); border-top-color: var(--blue); }
.ai-answer-card { margin-top: 1.5rem; overflow: hidden; border: 1px solid #cbd5d1; border-radius: .9rem; }
.ai-answer-card header { display: flex; gap: .75rem; align-items: center; padding: 1rem 1.2rem; color: var(--white); background: var(--blue-dark); }
.ai-answer-card header small, .ai-answer-card header strong { display: block; }
.ai-answer-text { padding: 1.4rem; color: var(--dark); white-space: pre-wrap; line-height: 1.65; }
.ai-answer-card footer { display: flex; justify-content: space-between; gap: 1rem; padding: .85rem 1.2rem; color: #56636b; background: #f5f7f6; border-top: 1px solid var(--line); }
.ai-feedback-form { display: grid; gap: .85rem; padding: 1rem 1.2rem 1.15rem; background: #fff; border-top: 1px solid var(--line); }
.ai-feedback-form > div:first-child strong, .ai-feedback-form > div:first-child span { display: block; }
.ai-feedback-form > div:first-child span, .ai-feedback-form label span { margin-top: .15rem; color: #657079; font-size: .9rem; }
.ai-feedback-actions { display: flex; flex-wrap: wrap; gap: .65rem; }
.ai-feedback-actions button.is-selected { color: var(--white); background: var(--blue); border-color: var(--blue); }
.ai-feedback-form label { display: grid; gap: .35rem; }
.ai-feedback-form textarea { width: 100%; padding: .75rem; border: 1px solid #bdc7c3; border-radius: .55rem; resize: vertical; }
.ai-feedback-status { min-height: 1.3em; margin: 0; color: #176e55; font-weight: 700; }
.ai-feedback-filter-panel { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.5rem; align-items: end; }
.ai-feedback-filter { display: flex; flex-wrap: wrap; gap: .65rem; }
.ai-feedback-filter input, .ai-feedback-filter select { min-height: 3rem; padding: .7rem .85rem; border: 1px solid #bdc7c3; border-radius: .5rem; background: #fff; }
.ai-feedback-filter input { width: min(28rem, 65vw); }
.ai-feedback-list { display: grid; gap: 1rem; margin-top: 1rem; }
.ai-feedback-review-card { margin: 0; }
.ai-feedback-review-card > header { display: flex; justify-content: space-between; gap: 1rem; align-items: flex-start; }
.ai-feedback-review-card > header > div { display: flex; flex-wrap: wrap; gap: .65rem; align-items: center; }
.ai-feedback-review-card h2 { margin: 1rem 0 .75rem; font-size: clamp(1.15rem, 2vw, 1.5rem); }
.ai-feedback-rating { display: inline-flex; padding: .35rem .65rem; border-radius: 999px; font-size: .8rem; font-weight: 900; }
.ai-feedback-rating.is-useful { color: #176e55; background: #e2f3ec; }
.ai-feedback-rating.is-not-useful { color: #8a3d15; background: #fff0dc; }
.ai-feedback-review-status { display: inline-flex; padding: .35rem .65rem; border-radius: 999px; color: #53616a; background: #edf1f2; font-size: .8rem; font-weight: 900; }
.ai-feedback-review-status-reviewed { color: #735a10; background: #fff2bf; }
.ai-feedback-review-status-resolved { color: #176e55; background: #e2f3ec; }
.ai-feedback-review-card blockquote { display: grid; gap: .2rem; margin: .75rem 0; padding: .85rem 1rem; border-left: .25rem solid var(--yellow); background: #fff8dc; }
.ai-feedback-source-links { display: flex; flex-wrap: wrap; gap: .5rem 1rem; margin: .75rem 0; }
.ai-feedback-review-card details { margin-top: .75rem; border-top: 1px solid var(--line); }
.ai-feedback-review-card summary { padding: .9rem 0 0; cursor: pointer; font-weight: 800; }
.ai-feedback-review-card details .ai-answer-text { padding: 1rem 0 0; }
.ai-feedback-review-form { display: grid; grid-template-columns: minmax(12rem, .35fr) minmax(20rem, 1fr); gap: 1rem; align-items: end; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.ai-feedback-review-form label { display: grid; gap: .35rem; font-weight: 800; }
.ai-feedback-review-form select, .ai-feedback-review-form textarea { width: 100%; padding: .7rem .8rem; background: #fff; border: 1px solid #bdc7c3; border-radius: .5rem; }
.ai-feedback-review-form textarea { resize: vertical; }
.ai-feedback-review-actions { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.ai-feedback-review-actions small { color: #657079; }
.ai-feedback-review-actions .primary-button { margin-left: auto; }
.ai-feedback-empty { margin-top: 1rem; }
.ai-source-panel { position: sticky; top: 6rem; }
.ai-source-list { display: grid; gap: .75rem; margin-top: 1rem; }
.ai-source-list a { display: grid; gap: .25rem; padding: .9rem; color: var(--dark); background: #f5f7f6; border: 1px solid var(--line); border-radius: .7rem; text-decoration: none; }
.ai-source-list a:hover { border-color: var(--blue); }
.ai-source-list small { color: #66737a; }
.ai-source-list span { color: var(--blue-dark); font-size: .82rem; font-weight: 800; }
.ai-index-panel { display: flex; justify-content: space-between; gap: 1.5rem; align-items: center; margin-bottom: 1.2rem; }
.ai-index-panel p { margin-bottom: 0; }
.ai-index-panel .ai-index-built-at { margin-top: .65rem; color: var(--muted); font-size: .82rem; }
.ai-index-built-at strong { color: var(--ink); }
.ai-index-panel .ai-index-auto-status { margin-top: .35rem; color: var(--muted); font-size: .82rem; }
.ai-index-auto-status strong { color: var(--ink); }
.ai-index-auto-status .is-active { color: var(--green); font-weight: 800; }
.ai-index-auto-status .is-pending { color: #7a5c00; font-weight: 800; }
.ai-index-auto-status .is-working { color: var(--blue); font-weight: 800; }
.ai-source-admin-table td { vertical-align: middle; }
.ai-source-admin-table td small { display: block; color: #657079; }
.ai-source-admin-table form { margin: 0; }
.ai-source-admin-table button { border: 0; white-space: nowrap; }
.ai-history-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(18rem, .65fr); gap: 1.5rem; align-items: start; }
.ai-history-list { display: grid; gap: 1rem; margin-top: 1.25rem; }
.ai-history-list article { border: 1px solid var(--line); border-radius: .75rem; padding: 1rem; }
.ai-history-list article > header, .ai-history-list article > footer { display: flex; justify-content: space-between; gap: 1rem; color: var(--muted); font-size: .82rem; }
.ai-history-list h3 { margin: .6rem 0; font-size: 1.1rem; }
.ai-history-list details { border-top: 1px solid var(--line); }
.ai-history-list summary { padding: .75rem 0 0; cursor: pointer; font-weight: 800; }
.ai-history-list .ai-answer-text { padding: 1rem 0; }
.ai-history-list article > footer { align-items: center; padding-top: .7rem; border-top: 1px solid var(--line); }
.ai-popular-panel ol { display: grid; gap: .8rem; padding-left: 1.25rem; }
.ai-popular-panel li a, .ai-popular-panel li small { display: block; }
.ai-popular-panel li small { margin-top: .15rem; color: var(--muted); }
.ai-question-review-list { display: grid; gap: 1rem; margin-top: 1rem; }
.ai-question-review-list article > header { display: flex; justify-content: space-between; gap: 1rem; color: var(--muted); font-size: .85rem; }
.ai-question-review-list form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .75rem; align-items: end; }
.ai-question-review-list label { display: grid; gap: .35rem; font-weight: 800; }
.ai-question-review-list input { width: 100%; padding: .75rem; border: 1px solid #bdc7c3; border-radius: .5rem; }
.ai-question-review-list form > div { display: flex; gap: .5rem; }

/* AI evaluation pilot */
.admin-hero-actions,
.evaluation-case-actions,
.evaluation-rating-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem; }
.ai-evaluation-section .status-alert { margin-bottom: 1.25rem; }
.ai-admin-metrics,
.ai-evaluation-metrics {
  margin-top: 0;
  margin-bottom: 1.5rem;
}
.evaluation-case-list { display: grid; gap: 1rem; }
.evaluation-quality-report { display: grid; grid-template-columns: minmax(0, 1fr) minmax(34rem, 1.25fr); align-items: center; gap: 2rem; margin-bottom: 1.5rem; }
.evaluation-quality-report h2 { margin: .35rem 0; }
.evaluation-quality-report p { margin: 0; color: var(--muted); }
.evaluation-quality-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; margin: 0; }
.evaluation-quality-metrics div { border: 1px solid var(--line); border-radius: 10px; padding: .85rem; background: #f7f9f8; }
.evaluation-quality-metrics dt { color: var(--muted); font-size: .72rem; font-weight: 800; }
.evaluation-quality-metrics dd { margin: .25rem 0 0; color: var(--blue-dark); font-size: 1.45rem; font-weight: 900; }
.evaluation-case-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 1.5rem; }
.evaluation-case-content { min-width: 0; }
.evaluation-case-content h2 { margin: .45rem 0 .35rem; font-size: 1.2rem; }
.evaluation-case-content > p { margin: 0; color: var(--muted); }
.evaluation-case-meta,
.evaluation-result-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.evaluation-category { color: var(--green-dark); font-size: .7rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.evaluation-rating { display: inline-flex; align-items: center; border-radius: 999px; padding: .35rem .65rem; font-size: .72rem; font-weight: 900; white-space: nowrap; }
.evaluation-rating-approved { color: #174d35; background: #dff2e8; }
.evaluation-rating-partial { color: #6a5100; background: #fff1b9; }
.evaluation-rating-rejected { color: #742f2a; background: #f8dedc; }
.evaluation-rating-unrated { color: #46545b; background: #e8edef; }
.evaluation-case-sources { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .85rem; }
.evaluation-case-sources span { border-radius: 999px; padding: .28rem .55rem; color: #44545b; background: #edf1f2; font-size: .72rem; font-weight: 750; }
.evaluation-case-sources .evaluation-retrieval-status { border: 1px solid transparent; }
.evaluation-case-sources .retrieval-status-success { color: #174d35; border-color: #b9dfca; background: #dff2e8; }
.evaluation-case-sources .retrieval-status-warning { color: #6a5100; border-color: #ead080; background: #fff1b9; }
.evaluation-case-sources .retrieval-status-error { color: #742f2a; border-color: #e9b6b1; background: #f8dedc; }
.evaluation-case-actions { justify-content: flex-end; }
.evaluation-case-actions form { margin: 0; }
.evaluation-result { margin-bottom: 1.5rem; scroll-margin-top: 1rem; }
.evaluation-result-heading { margin-bottom: 1.25rem; }
.evaluation-result-heading h2 { margin: .35rem 0; }
.evaluation-result-heading p { margin: 0; color: var(--muted); font-size: .82rem; }
.evaluation-compare-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 1rem; }
.evaluation-compare-grid > section { border: 1px solid var(--line); border-radius: 12px; padding: 1.15rem; background: #fafcfc; }
.evaluation-compare-grid h3 { margin: 0 0 .65rem; font-size: 1rem; }
.evaluation-answer { margin-bottom: 1rem; line-height: 1.65; }
.ai-markdown { white-space: normal; }
.ai-markdown > :first-child { margin-top: 0; }
.ai-markdown > :last-child { margin-bottom: 0; }
.ai-markdown p { margin: 0 0 .8rem; }
.ai-markdown ol,
.ai-markdown ul { margin: .35rem 0 .7rem; padding-left: 1.4rem; }
.ai-markdown li + li { margin-top: .12rem; }
.ai-markdown li > p { margin: 0; }
.evaluation-source-list { display: grid; gap: .45rem; margin: .6rem 0 0; padding: 0; list-style: none; }
.evaluation-source-list li { display: flex; justify-content: space-between; gap: .75rem; border-left: 3px solid #9aa8ad; padding: .55rem .65rem; background: white; font-size: .82rem; }
.evaluation-source-list li.source-expected { border-left-color: var(--green); }
.evaluation-source-list li.source-unexpected { border-left-color: #c58a22; }
.evaluation-source-list a { color: inherit; font-weight: 800; }
.evaluation-source-list span { color: var(--muted); font-size: .72rem; font-weight: 800; }
.evaluation-no-answer,
.evaluation-empty { color: #624b00; background: #fff5cc; border-radius: 8px; padding: .7rem; }
.evaluation-rating-form { display: grid; gap: .65rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.evaluation-rating-form label { font-weight: 850; }
.evaluation-rating-form textarea { width: 100%; min-height: 5rem; border: 1px solid var(--line); border-radius: 9px; padding: .75rem; resize: vertical; }
.evaluation-rate-button { border: 0; border-radius: 8px; padding: .7rem 1rem; font-weight: 900; cursor: pointer; }
.rate-approved { color: #174d35; background: #dff2e8; }
.rate-partial { color: #6a5100; background: #fff1b9; }
.rate-rejected { color: #742f2a; background: #f8dedc; }

@media (max-width: 991.98px) {
  .admin-tool-groups { grid-template-columns: 1fr; }
  .ai-assistant-layout { grid-template-columns: 1fr; }
  .ai-history-layout { grid-template-columns: 1fr; }
  .ai-source-panel { position: static; }
}

@media (max-width: 767.98px) {
  .admin-dashboard-hero h1 {
    font-size: clamp(2.1rem, 9.5vw, 3.2rem);
    letter-spacing: -.045em;
  }
  .admin-dashboard-hero h1 > span { display: block; }
  .admin-dashboard-hero .admin-user-name {
    overflow-wrap: anywhere;
    font-size: .7em;
  }
  .admin-directory-heading { display: block; }
  .admin-directory-heading > p { margin-top: .5rem; text-align: left; }
  .admin-tool-group > header, .admin-group-links > a { padding-left: 1rem; padding-right: 1rem; }
  .admin-group-links small { white-space: normal; }
  .ai-question-row { grid-template-columns: 1fr; }
  .ai-question-review-list form { grid-template-columns: 1fr; }
  .ai-question-row button { min-height: 3.2rem; }
  .ai-index-panel { align-items: stretch; flex-direction: column; }
  .ai-admin-metrics,
  .ai-evaluation-metrics { margin-top: 0; }
  .evaluation-case-card,
  .evaluation-compare-grid { grid-template-columns: 1fr; }
  .evaluation-quality-report,
  .evaluation-quality-metrics { grid-template-columns: 1fr; }
  .evaluation-case-actions { justify-content: flex-start; }
  .ai-feedback-review-form { grid-template-columns: 1fr; }
  .ai-feedback-review-actions { align-items: stretch; flex-direction: column; }
  .ai-feedback-review-actions .primary-button { width: 100%; margin-left: 0; }
  .evaluation-result-heading { flex-direction: column; }
}

.print-document-brand { display: none; }

@media print {
  @page {
    size: A4 portrait;
    margin: 14mm 14mm 16mm;
  }

  html,
  body.printable-content {
    width: auto;
    min-width: 0;
    margin: 0;
    padding: 0;
    color: #17212a;
    background: #fff !important;
    font-size: 10.5pt;
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }

  body.printable-content .skip-link,
  body.printable-content .site-header,
  body.printable-content .site-footer,
  body.printable-content .breadcrumbs,
  body.printable-content .article-sidebar,
  body.printable-content .favorite-form,
  body.printable-content button {
    display: none !important;
  }

  body.printable-content .print-document-brand {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10mm;
    margin: 0 0 8mm;
    padding: 0 0 4mm;
    color: #52616b;
    border-bottom: .4mm solid #0b667e;
    font-size: 8pt;
    font-weight: 750;
    letter-spacing: .08em;
    text-transform: uppercase;
  }

  body.printable-content .print-document-brand img {
    width: 42mm;
    height: 12mm;
    object-fit: contain;
    object-position: left center;
  }

  body.printable-content main,
  body.printable-content .container {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
  }

  body.printable-content .article-hero,
  body.printable-content .action-detail-hero {
    overflow: visible;
    margin: 0 0 8mm;
    padding: 0 0 7mm;
    color: #17212a;
    background: none !important;
    border-bottom: .3mm solid #b9c5ca;
  }

  body.printable-content .article-hero::before { display: none; }

  body.printable-content .article-hero-grid,
  body.printable-content .action-title {
    display: grid;
    grid-template-columns: 1fr;
    gap: 5mm;
    align-items: start;
  }

  body.printable-content .article-hero h1,
  body.printable-content .action-title h1 {
    max-width: none;
    margin: 2mm 0 0;
    color: #17212a;
    font-size: 25pt;
    font-weight: 780;
    letter-spacing: -.035em;
    line-height: 1.08;
  }

  body.printable-content .eyebrow {
    color: #0b667e;
    font-size: 7.5pt;
  }

  body.printable-content .eyebrow > span { background: #0b667e; }

  body.printable-content .article-facts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 3mm;
    border: 0;
  }

  body.printable-content .article-facts > div {
    display: block;
    padding: 0;
    border: 0;
  }

  body.printable-content .article-facts dt {
    margin-bottom: 1mm;
    color: #61717b;
    font-size: 6.5pt;
  }

  body.printable-content .article-facts dd {
    color: #17212a;
    font-size: 8.5pt;
    line-height: 1.35;
  }

  body.printable-content .action-title > .large-alert {
    display: none;
  }

  body.printable-content .action-title p {
    margin: 2mm 0 0;
    color: #52616b;
    font-size: 8.5pt;
  }

  body.printable-content .article-section,
  body.printable-content .action-detail-section {
    padding: 0;
    background: #fff;
  }

  body.printable-content .article-layout,
  body.printable-content .action-detail-layout {
    display: block;
  }

  body.printable-content .action-detail-layout > aside {
    display: block;
    margin: 0 0 6mm;
  }

  body.printable-content .action-detail-layout > aside .back-link { display: none; }

  body.printable-content .emergency-callout {
    display: block;
    padding: 4mm;
    color: #6d2925;
    background: #f7e2df !important;
    border: .3mm solid #b85b54;
    break-inside: avoid;
  }

  body.printable-content .emergency-callout strong,
  body.printable-content .emergency-callout span {
    display: block;
    color: #6d2925;
  }

  body.printable-content .article-body,
  body.printable-content .procedure-body,
  body.printable-content .action-content {
    overflow: visible;
    padding: 0;
    background: #fff;
    border-radius: 0;
    box-shadow: none;
  }

  body.printable-content .article-lead {
    padding-bottom: 3mm;
    font-size: 7.5pt;
  }

  body.printable-content .article-content,
  body.printable-content .action-content > .rich-text {
    margin: 7mm 0 9mm;
    color: #17212a;
    font-size: 10.5pt;
    line-height: 1.58;
  }

  body.printable-content .action-content-label {
    margin-bottom: 5mm;
    color: #8a332d;
    font-size: 7.5pt;
  }

  body.printable-content .procedure-body > section {
    display: grid;
    grid-template-columns: 10mm 1fr;
    gap: 3mm;
    padding: 5mm 0;
    border-bottom: .2mm solid #ccd4d8;
  }

  body.printable-content .procedure-body > section.procedure-main {
    padding-top: 6mm;
    padding-bottom: 6mm;
  }

  body.printable-content .procedure-body h2 {
    margin: 0 0 2mm;
    font-size: 13pt;
    break-after: avoid;
  }

  body.printable-content .procedure-body p,
  body.printable-content .procedure-body .rich-text {
    color: #17212a;
    font-size: 10pt;
    line-height: 1.55;
  }

  body.printable-content .section-number { font-size: 7pt; }

  body.printable-content .rich-text h2,
  body.printable-content .rich-text h3,
  body.printable-content .rich-text h4,
  body.printable-content .rich-text h5,
  body.printable-content .rich-text h6 {
    break-after: avoid;
  }

  body.printable-content .rich-text p,
  body.printable-content .rich-text li {
    orphans: 3;
    widows: 3;
  }

  body.printable-content .rich-text a {
    color: #17212a;
    text-decoration: underline;
  }

  body.printable-content .rich-text img {
    max-width: 100% !important;
    height: auto !important;
    break-inside: avoid;
  }

  body.printable-content .rich-text table {
    font-size: 8.5pt;
    break-inside: auto;
  }

  body.printable-content .rich-text tr { break-inside: avoid; }

  body.printable-content .attachments,
  body.printable-content .procedure-body > section.attachments {
    margin: 7mm 0 0;
    padding: 4mm;
    background: #f5f7f8 !important;
    border: .2mm solid #cbd4d8;
    border-radius: 0;
    break-inside: avoid;
  }

  body.printable-content .attachments li a {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 2.5mm 0;
    color: #17212a;
  }

  body.printable-content .attachment-icon,
  body.printable-content .attachment-action,
  body.printable-content .attachment-note {
    display: none;
  }

  body.printable-content .attachment-name strong {
    overflow: visible;
    font-size: 8.5pt;
    text-overflow: clip;
    white-space: normal;
  }

  body.printable-content .article-footer,
  body.printable-content .action-content footer,
  body.printable-content .procedure-body .article-footer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5mm;
    margin: 8mm 0 0;
    padding-top: 4mm;
    border-top: .3mm solid #6f7c84;
    break-inside: avoid;
  }

  body.printable-content .action-content footer > span {
    color: #61717b;
    font-size: 7pt;
  }

  body.printable-content .action-content footer strong { color: #17212a; }
}
