:root {
  color-scheme: light;
  --ink: #202f35;
  --muted: #5e6d72;
  --line: #dce3e1;
  --paper: #f5f7f5;
  --teal: #14665d;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 15px/1.55 "Segoe UI", Arial, sans-serif; }
a { color: var(--teal); text-underline-offset: 3px; }
button, input { font: inherit; touch-action: manipulation; }
button { cursor: pointer; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid #d28e24; outline-offset: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -70px; left: 20px; background: white; padding: 12px; z-index: 20; }
.skip-link:focus { top: 12px; }
.sidebar { position: fixed; inset: 0 auto 0 0; width: 224px; background: #162e30; color: #e5eeee; padding: 36px 24px; display: flex; flex-direction: column; }
.brand { display: flex; gap: 13px; align-items: center; color: white; text-decoration: none; font-size: 29px; font-weight: 650; letter-spacing: -1px; line-height: 1.2; }
.brand-mark { width: 44px; height: 48px; background: #e6ede6; border-radius: 12px; color: #173f39; font: italic 700 39px Georgia, serif; text-align: center; letter-spacing: -4px; padding-right: 6px; }
.brand-mark span { color: #518b6e; }
.brand-sub { display: block; font-size: 10px; letter-spacing: 2.5px; font-weight: 500; margin-top: 6px; }
.workspace { font-size: 10px; letter-spacing: 1.6px; margin-top: 55px; color: #acc6c2; }
.workspace > span { display: block; letter-spacing: 0; font-size: 14px; color: #d6e2e0; margin-top: 8px; }
nav { margin-top: 26px; display: grid; gap: 8px; }
nav a { padding: 12px 13px; border-radius: 7px; text-decoration: none; color: #d6e2e0; font-size: 14px; display: flex; gap: 12px; align-items: center; }
nav a > span { font-size: 23px; line-height: 1; }
nav a[aria-current="page"] { background: #31504e; color: white; }
nav a:hover { background: #284542; }
.sidebar-bottom { margin-top: auto; font-size: 12px; color: #e1ece8; }
.sidebar-bottom > div { margin-top: 12px; font-size: 12px; color: #acc6c2; line-height: 1.7; }
.status-dot { display: inline-block; background: #9ac1ac; width: 7px; height: 7px; border-radius: 100%; margin-right: 7px; }
.page { margin-left: 224px; min-width: 0; }
.topbar { height: 72px; border-bottom: 1px solid var(--line); padding: 0 42px; display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--muted); background: white; }
.slash { margin: 0 12px; color: #93a49f; }
.workspace-label { font-size: 10px; letter-spacing: 1.2px; font-weight: 650; color: #455c54; }
main { max-width: 1440px; padding: 34px 42px 44px; margin: auto; outline: none; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: 38px; font-weight: 600; line-height: 1.18; letter-spacing: -1.4px; margin-bottom: 12px; overflow-wrap: anywhere; }
h2 { font-size: 19px; font-weight: 600; letter-spacing: -.35px; margin-bottom: 8px; }
h3 { font-size: 15px; margin-bottom: 7px; }
.eyebrow { font-size: 10px; font-weight: 700; letter-spacing: 1.8px; color: var(--teal); margin-bottom: 12px; }
.lead { font-size: 15px; color: var(--muted); max-width: 680px; margin-bottom: 0; overflow-wrap: anywhere; }
.heading-row { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 28px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 6px; background: white; border: 1px solid #bdcbc6; color: var(--ink); font-size: 13px; font-weight: 600; text-decoration: none; padding: 10px 16px; white-space: nowrap; min-height: 42px; }
.button:hover { background: #eef3ef; }
.button.primary { background: var(--teal); color: white; border-color: var(--teal); }
.button.primary:hover { background: #0d514a; }
.text-button { color: var(--teal); padding: 8px 0; font-weight: 600; font-size: 12px; white-space: nowrap; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 28px; }
.stat { padding: 20px 23px; background: white; border: 1px solid var(--line); border-radius: 9px; }
.stat-top { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--muted); }
.stat-top span { color: #719089; }
.stat strong { display: block; font-size: 31px; font-weight: 600; letter-spacing: -1px; margin-top: 6px; }
.stat strong.word-value { font-size: 23px; line-height: 1.45; letter-spacing: -.6px; margin: 12px 0 7px; }
.stat p { font-size: 12px; color: var(--muted); margin: 1px 0 0; }
.panel { border: 1px solid var(--line); background: white; border-radius: 10px; overflow: hidden; }
.panel-head { padding: 22px 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); }
.panel-head h2 { margin: 0; }
.subtle { font-size: 12px; color: var(--muted); }
.search-form { display: flex; align-items: center; gap: 10px; flex: 1; max-width: 485px; }
.search-wrap { position: relative; min-width: 0; flex: 1; }
.search-wrap > span { position: absolute; top: 10px; left: 12px; color: #5b7068; }
.search-wrap input { padding: 10px 14px 10px 36px; border: 1px solid #ccd6d1; border-radius: 6px; background: #fafbf9; width: 100%; font-size: 13px; min-height: 42px; }
table { width: 100%; border-collapse: collapse; text-align: left; table-layout: fixed; }
th:first-child { width: 39%; }
th { font-size: 10px; font-weight: 650; letter-spacing: 1.2px; color: var(--muted); padding: 13px 20px; background: #fafbf9; border-bottom: 1px solid var(--line); }
td { padding: 18px 20px; font-size: 13px; border-bottom: 1px solid #eaf0eb; vertical-align: middle; overflow-wrap: anywhere; }
tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #fafcf9; }
.item-cell { display: flex; align-items: center; gap: 13px; }
.item-text { min-width: 0; }
.item-icon { width: 37px; height: 40px; border-radius: 8px; background: #eaf0e9; color: #436655; display: grid; place-items: center; font-size: 11px; font-weight: 700; flex-shrink: 0; }
.item-name { display: block; color: var(--ink); font-size: 14px; font-weight: 650; text-decoration: none; }
.item-name:hover { text-decoration: underline; color: var(--teal); }
.item-desc { font-size: 11px; color: var(--muted); display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 3px; }
.owner { font-size: 12px; }
.owner-more { display: block; font-size: 11px; color: var(--muted); margin-top: 3px; }
.badge { display: inline-block; padding: 3px 8px; background: #edf1ee; border: 1px solid #dfe5e1; border-radius: 5px; font-size: 10px; font-weight: 600; white-space: nowrap; }
.badge.error { background: #fbeef0; color: #a12f36; border-color: #efcdd2; }
.panel-foot { padding: 13px 24px; font-size: 11px; color: var(--muted); border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; }
.context-note { margin-top: 20px; display: flex; gap: 11px; font-size: 12px; color: var(--muted); line-height: 1.7; }
.context-note strong { color: #41584c; }
.context-note p { margin: 0; }
.note-symbol { font-family: Georgia, serif; font-style: italic; border: 1px solid #a7bbb0; border-radius: 100%; height: 20px; width: 20px; text-align: center; flex-shrink: 0; }
.empty { text-align: center; padding: 55px 20px; }
.empty h2 { margin-bottom: 8px; }
.empty p { color: var(--muted); font-size: 13px; }
.breadcrumb { display: inline-block; text-decoration: none; font-size: 12px; margin-bottom: 24px; }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 22px; }
.content-panel { padding: 25px; margin-bottom: 22px; }
.content-panel p { font-size: 13px; }
.content-panel p:last-child { margin-bottom: 0; }
.key-value { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 12px; font-size: 13px; margin-top: 22px; }
.key-value dt { color: var(--muted); }
.key-value dd { margin: 0; overflow-wrap: anywhere; }
.repository { padding: 16px 0; border-top: 1px solid var(--line); }
.repository:first-of-type { margin-top: 19px; }
.repository a, .repository code { overflow-wrap: anywhere; font-size: 12px; }
.repository .badge { margin-top: 8px; }
.repository p { color: var(--muted); font-size: 12px; margin: 7px 0 0; }
.owner-list { list-style: none; padding: 0; margin: 18px 0 0; }
.owner-list li { padding: 11px 0; border-top: 1px solid var(--line); font-size: 13px; }
.avatar { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 100%; background: #edf0e8; margin-right: 9px; color: #586d4f; font-size: 8px; font-weight: 700; }
.ownership-note { margin-top: 16px; }
.mobile-meta { display: none; }
footer { margin: 0 42px; padding: 19px 0; border-top: 1px solid var(--line); font-size: 10px; letter-spacing: .5px; color: var(--muted); display: flex; justify-content: space-between; gap: 20px; }
@media (min-width: 1550px) {
  main { padding-top: 45px; }
  .heading-row { margin-bottom: 34px; }
  td { padding-top: 21px; padding-bottom: 21px; }
}
@media (max-width: 1150px) {
  .sidebar { width: 190px; padding: 30px 18px; }
  .page { margin-left: 190px; }
  .topbar { padding: 0 25px; }
  main { padding: 30px 25px; }
  .detail-layout { grid-template-columns: minmax(0, 1fr) 250px; }
  td, th { padding-left: 14px; padding-right: 14px; }
  .category-column { display: none; }
  th:first-child { width: 48%; }
  footer { margin: 0 25px; }
}
@media (max-width: 760px) {
  .sidebar { position: static; width: auto; padding: 16px 20px; display: block; }
  .brand { font-size: 22px; }
  .brand-mark { width: 33px; height: 37px; font-size: 30px; }
  .brand-sub { font-size: 8px; }
  .workspace, .sidebar-bottom { display: none; }
  nav { display: flex; margin-top: 16px; }
  nav a { font-size: 13px; padding: 9px 13px; }
  nav a > span { font-size: 19px; }
  .page { margin-left: 0; }
  .topbar { height: 49px; padding: 0 20px; }
  .topbar > span:first-child { display: none; }
  main { padding: 25px 16px; }
  h1 { font-size: 31px; }
  .heading-row { align-items: start; flex-direction: column; gap: 17px; margin-bottom: 23px; }
  .lead { font-size: 13px; }
  .stats { gap: 8px; margin-bottom: 20px; }
  .stat { padding: 12px; }
  .stat-top { font-size: 10px; align-items: start; }
  .stat-top span { display: none; }
  .stat strong { font-size: 27px; }
  .stat strong.word-value { font-size: 17px; line-height: 1.4; margin-top: 12px; margin-bottom: 10px; }
  .stat p { font-size: 10px; }
  .panel-head { padding: 18px; align-items: stretch; flex-direction: column; gap: 15px; }
  .panel-head h2 { font-size: 17px; }
  .search-form { max-width: none; }
  th, td { padding: 14px; }
  .review-column, .owner-column { display: none; }
  th:first-child { width: 100%; }
  .panel-foot { padding: 12px 16px; flex-wrap: wrap; }
  .detail-layout { display: flex; flex-direction: column; }
  .detail-layout aside { order: -1; }
  .content-panel { padding: 20px; }
  .key-value { grid-template-columns: 105px minmax(0, 1fr); font-size: 12px; }
  .owner-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
  .owner-list li { border: 0; padding: 3px 0; }
  .mobile-meta { display: block; font-size: 11px; color: #52655c; margin-top: 6px; overflow-wrap: anywhere; }
  footer { margin: 0 16px; }
  footer span { display: none; }
}

/* F02 filter controls follow the approved catalog prototype. */
select { font: inherit; min-width: 0; }
select:focus-visible, summary:focus-visible { outline: 3px solid #d28e24; outline-offset: 4px; }
.catalog-panel { overflow: visible; }
.catalog-panel .panel-head { border-radius: 10px 10px 0 0; }
.filters { display: grid; grid-template-columns: minmax(180px, 1.15fr) minmax(150px, 1fr) minmax(150px, 1fr) auto; gap: 16px; padding: 20px 24px; background: #fafcf9; border-bottom: 1px solid var(--line); align-items: end; }
.filter-field { min-width: 0; display: grid; gap: 6px; }
.filter-label { color: #41554c; font-size: 12px; font-weight: 600; }
.filter-field select, #team-picker summary { width: 100%; height: 42px; background: white; border: 1px solid #c5d1c9; border-radius: 6px; padding: 9px 12px; font-size: 13px; color: var(--ink); }
#team-picker { position: relative; }
#team-picker summary { cursor: pointer; display: flex; align-items: center; justify-content: space-between; list-style: none; gap: 8px; }
#team-picker summary::-webkit-details-marker { display: none; }
#team-summary { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.team-menu { position: absolute; z-index: 5; top: calc(100% + 8px); left: 0; display: flex; width: 310px; max-width: calc(100vw - 64px); max-height: min(430px, var(--team-menu-max-height, 430px)); overflow: hidden; background: white; border: 1px solid #c5d1c9; box-shadow: 0 8px 25px #163c3020; border-radius: 8px; padding: 14px; }
#team-picker[data-direction="up"] .team-menu { top: auto; bottom: calc(100% + 8px); }
.team-menu fieldset { display: flex; flex-direction: column; border: 0; padding: 0; margin: 0; min-width: 0; min-height: 0; width: 100%; }
.team-menu fieldset > p { flex-shrink: 0; margin: 0 0 8px; }
.team-options { overflow-y: auto; min-height: 0; }
.team-menu-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-shrink: 0; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.team-option { display: flex; align-items: center; gap: 9px; min-height: 39px; padding: 4px 6px; border-radius: 4px; font-size: 13px; cursor: pointer; overflow-wrap: anywhere; }
.team-option:hover { background: #f0f5ef; }
.team-option input { accent-color: var(--teal); width: 16px; height: 16px; flex-shrink: 0; }
.team-option .count { margin-left: auto; font-size: 11px; color: var(--muted); }
.team-apply { margin-left: 0; }
.active-filters { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; padding: 13px 24px; border-bottom: 1px solid var(--line); }
#chips { display: flex; flex-wrap: wrap; gap: 7px; flex: 1; min-width: 0; }
.chip { display: inline-flex; align-items: center; gap: 8px; border: 1px solid #bed1c7; border-radius: 5px; background: #edf5ef; color: #245e50; padding: 5px 9px; font-size: 11px; overflow-wrap: anywhere; max-width: 100%; text-decoration: none; }
.chip span:first-child { min-width: 0; text-align: left; }
.chip:hover { background: #dcece0; }
th:first-child { width: 33%; }
th.owner-column { width: 21%; }
th.category-column { width: 19%; }
th.type-column { width: 15%; }
th.review-column { width: 12%; }
.type-tag { display: block; font-size: 11px; color: #52695e; }
#no-match-description { overflow-wrap: anywhere; }
@media (max-width: 1150px) {
  .filters { grid-template-columns: 1fr 1fr; }
  .all-items { justify-self: start; }
  th:first-child { width: 43%; }
  th.owner-column { width: 26%; }
  th.type-column { width: 18%; }
  th.review-column { width: 13%; }
}
@media (max-width: 760px) {
  .filters { padding: 16px 18px; gap: 14px; }
  .filter-field:first-child, .all-items { grid-column: 1 / -1; }
  .active-filters { padding: 12px 18px; gap: 8px; }
  .active-filters > .subtle { width: 100%; }
  .type-column { display: none; }
  th:first-child { width: 100%; }
  .search-form { flex-wrap: wrap; }
  #clear-search { padding: 2px 0; }
  .team-menu, #team-picker[data-direction="up"] .team-menu { position: static; width: 100%; max-width: 100%; max-height: none; margin-top: 8px; }
  .team-options { max-height: 260px; }
}

/* F08 create/edit forms and the shared ownership cutover. */
.catalog-actions { display: flex; justify-content: flex-end; margin: -12px 0 22px; }
.detail-actions { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 18px; }
.detail-actions .breadcrumb { margin: 0; }
.catalog-link { border-top: 1px solid var(--line); padding: 15px 0; overflow-wrap: anywhere; }
.catalog-link:first-of-type { margin-top: 8px; }
.catalog-link h3 { margin: 7px 0 4px; }
.catalog-link h3 a { color: var(--ink); text-decoration-thickness: 1px; }
.catalog-link p { margin: 5px 0 0; font-size: 12px; }
.link-heading { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.link-environment { padding: 2px 7px; border: 1px solid #dce5dc; border-radius: 999px; color: #52695e; font-size: 10px; }
.catalog-edit-form { display: grid; gap: 16px; }
.form-section { padding: 24px; }
.form-section > p { color: var(--muted); font-size: 12px; margin: 0 0 18px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px 20px; }
.field { display: grid; align-content: start; gap: 6px; min-width: 0; }
.field label, .owner-field legend { font-size: 12px; font-weight: 650; }
.field input:not([type="checkbox"]):not([type="hidden"]), .field textarea, .field select, .link-fields input, .link-fields textarea, .link-fields select, .repo-row input { display: block; width: 100%; min-width: 0; min-height: 41px; padding: 9px 11px; border: 1px solid #bdcbc6; border-radius: 6px; background: #fff; color: var(--ink); font: inherit; font-size: 13px; }
.field textarea, .link-fields textarea { resize: vertical; }
.field small { color: var(--muted); font-size: 11px; line-height: 1.45; }
.field input:focus-visible, .field textarea:focus-visible, .field select:focus-visible, .link-fields input:focus-visible, .link-fields textarea:focus-visible, .link-fields select:focus-visible, .repo-row input:focus-visible { outline: 3px solid #d28e24; outline-offset: 2px; }
.field-error { display: block; color: #a12f36; font-size: 11px; line-height: 1.4; }
.field-error:empty { display: none; }
.invalid input, .invalid select, .invalid textarea { border-color: #a12f36; }
.owner-field { min-width: 0; margin: 0; padding: 0; border: 0; }
.owner-field legend { margin-bottom: 8px; }
.owner-choices { display: flex; flex-wrap: wrap; gap: 9px; margin: 10px 0 12px; }
.owner-choice { position: relative; display: inline-flex; align-items: center; cursor: pointer; }
.owner-choice input[type="checkbox"] { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0; opacity: 0; cursor: pointer; }
.owner-choice span { display: inline-flex; align-items: center; min-height: 38px; padding: 8px 14px; border: 1px solid #bdcbc6; border-radius: 999px; background: #fff; color: var(--ink); font-size: 12px; font-weight: 600; }
.owner-choice input:checked ~ span { border-color: #226a58; background: #e7f2ec; color: #174f42; box-shadow: inset 0 0 0 1px #226a58; }
.owner-choice input:focus-visible ~ span { outline: 3px solid #d28e24; outline-offset: 2px; }
.owner-field > small { color: var(--muted); font-size: 11px; line-height: 1.5; }
.repo-list, .link-list { display: grid; gap: 10px; }
.repo-row, .link-card { min-width: 0; padding: 14px; border: 1px solid var(--line); border-radius: 8px; background: #fbfcfa; }
.repo-row-top, .link-card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 9px; }
.repo-row-top strong, .link-card-head strong { font-size: 12px; }
.remove-row { border: 0; background: transparent; color: #8b383b; font: inherit; font-size: 11px; text-decoration: underline; cursor: pointer; }
.add-button { margin-top: 11px; min-height: 38px; }
.link-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
.link-fields > div { min-width: 0; }
.link-fields label { display: block; margin-bottom: 5px; color: #52615b; font-size: 10px; font-weight: 650; }
.link-fields .wide { grid-column: 1 / -1; }
.link-note { margin-top: 15px; padding: 11px 13px; border-left: 3px solid #8aa99a; background: #f1f5f1; color: #53665a; font-size: 11px; line-height: 1.6; }
.form-actions { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 4px 0; }
.conflict-banner, .form-errors { margin: 0 0 15px; padding: 14px 16px; border: 1px solid #ead2b5; border-radius: 7px; background: #fdf7eb; color: #6e461b; font-size: 12px; line-height: 1.6; }
.conflict-banner a { display: inline-block; margin-left: 8px; font-weight: 650; }
.form-errors { border-color: #efcdd2; background: #fbeef0; color: #8b2630; }
.form-errors p { margin: 0; }
.field-error + .field-error { margin-top: 3px; }
/* F03 reference coverage and explicit applicability. */
.badge.missing { color: #805018; background: #fff1d6; }
.badge.recorded { color: #145c4f; background: #e5f1ed; }
.badge.not-applicable { color: #52606c; background: #edf0f4; }
.coverage-link { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; text-decoration: none; }
.coverage-link .subtle { font-size: 10px; }
.reference-choice { min-width: 0; padding: 18px; border: 1px solid var(--line); border-radius: 8px; background: white; }
.reference-choice-head { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; }
.reference-choice-head h3 { margin: 0 auto 0 0; }
.reference-mode-field { max-width: 350px; margin-bottom: 14px; }
.reference-na { margin: 14px 0; }
.reference-links { display: grid; gap: 12px; }
.reference-links .add-button { justify-self: start; }
.reference-coverage { border-top: 1px solid var(--line); padding: 20px 0; overflow-wrap: anywhere; }
.reference-coverage .catalog-link { margin: 0; border: 0; padding: 10px 0 0; }
.applicability-comment { border-left: 3px solid #b7c1ca; background: #f7f8fa; padding: 10px 14px; font-size: 13px; }
.replacement-confirmation { color: #805018; font-size: 12px; margin-top: 14px; padding: 12px; background: #fff7e7; border-radius: 6px; }
.replacement-confirmation label { display: flex; align-items: start; gap: 8px; }
.replacement-confirmation p { margin: 0 0 8px; }
.compact-coverage { display: none; }
#catalog-table .coverage-link .badge, #catalog-table .compact-coverage .badge,
#catalog-table .review-column .badge { max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
@media (min-width: 1151px) {
  #catalog-table th:first-child { width: 30%; }
  #catalog-table th.owner-column { width: 18%; }
  #catalog-table th.category-column { width: 13%; }
  #catalog-table th.type-column { width: 10%; }
  #catalog-table th.reference-column { width: 19%; }
  #catalog-table th.review-column { width: 10%; }
  #catalog-table th.reference-column, #catalog-table td.reference-column,
  #catalog-table th.review-column, #catalog-table td.review-column { padding-left: 12px; padding-right: 12px; }
}
@media (max-width: 1150px) {
  .reference-column { display: none; }
  .compact-coverage { display: flex; margin-top: 7px; text-decoration: none; }
}
@media (max-width: 760px) {
  .catalog-actions { justify-content: flex-start; margin: -4px 0 16px; }
  .detail-actions { align-items: flex-start; flex-wrap: wrap; }
  .form-section { padding: 19px; }
  .form-grid, .link-fields { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .link-fields .wide { grid-column: auto; }
  .form-actions { align-items: stretch; flex-direction: column; }
  .form-actions .action-buttons .button { width: 100%; }
  .conflict-banner a { margin: 8px 0 0; }
}
/* Authentication and access administration use the catalog's existing panels. */
.access-login { max-width: 560px; margin: 20px auto; }
.access-fields { display: grid; gap: 16px; margin-top: 20px; }
.access-fields label { display: grid; gap: 6px; font-size: 12px; font-weight: 650; }
.access-fields input, .access-fields select, .access-inline select { min-width: 0; max-width: 100%; padding: 9px 11px; border: 1px solid #bdcbc6; border-radius: 6px; background: white; font: inherit; }
.access-inline { display: flex; align-items: end; gap: 12px; flex-wrap: wrap; }
.access-inline label { flex: 1 1 170px; }
.access-table table { table-layout: auto; }
.access-table th:first-child { width: auto; }
.access-table td, .access-table th { padding: 12px; overflow-wrap: anywhere; }
.access-login hr { margin: 25px 0; border: 0; border-top: 1px solid var(--line); }
.audit-entry { border-bottom: 1px solid var(--line); padding: 12px 0; font-size: 12px; overflow-wrap: anywhere; }
.sidebar-bottom .button { margin-top: 14px; }
.review-filters { display: flex; gap: 12px; align-items: end; flex-wrap: wrap; margin: 18px 0; }
.review-filters label { display: grid; gap: 6px; }
.review-filters select { max-width: 100%; padding: 9px; }
.review-target, .review-check { display: flex; gap: 12px; align-items: start; padding: 12px 0; border-bottom: 1px solid var(--line); }
.review-target[hidden] { display: none; }
.review-target small { display: block; margin-top: 6px; }
.review-target input, .review-check input { flex: 0 0 auto; width: auto; margin-top: 4px; }
.review-issue { padding: 16px 0; border-bottom: 1px solid var(--line); }
.review-issue h3 { margin: 0 0 8px; }
.review-preview { background: #f4f6f8; padding: 20px; margin: 20px 0; border-radius: 8px; }
.preserve-lines { white-space: pre-wrap; overflow-wrap: anywhere; }
.form-section > .field { margin-bottom: 18px; }
.filters { flex-wrap: wrap; }
.compact-issues { display: none; }
.issue-indicator { font-size: 12px; display: block; }
.status-filter { border: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; }
.status-filter legend { font-size: 12px; margin-bottom: 8px; }
.status-filter small { flex-basis: 100%; }
.status-option { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; }
.status-option input { width: auto; }
.status-pill { display: inline-block; border-radius: 16px; padding: 5px 10px; text-decoration: none; font-size: 12px; }
.status-pill.OPEN { background: #fff0df; color: #83460d; }
.status-pill.READY { background: #e8effb; color: #2c4b87; }
.status-pill.RESOLVED { background: #e1f1e7; color: #24623c; }
.status-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.review-item-row { justify-content: space-between; align-items: center; flex-wrap: wrap; }
.review-item-row h3 { margin: 0; color: var(--ink); }
.item-detail-link { display: inline-block; font-size: 12px; }
.paging { display: flex; gap: 12px; align-items: center; margin-top: 20px; }
.comment-entry { border-left: 3px solid #cbded7; padding: 12px 18px; margin-bottom: 18px; }
.comment-entry header { font-size: 12px; overflow-wrap: anywhere; }
.content-panel, .form-section, .detail-layout > * { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 760px) {
  .compact-issues { display: block; font-size: 12px; margin-top: 8px; }
  .review-filters > label { width: 100%; }
  .review-target { overflow-wrap: anywhere; }
}
@media (max-width: 760px) {
  .sidebar-bottom { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 14px; }
  .sidebar-bottom > div { margin-top: 0; }
  .sidebar-bottom form { margin-left: auto; }
  .sidebar-bottom .button { margin-top: 0; }
}
:root { --technology-choice-border: #dfe4ec; }
.technology-choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: .45rem; max-height: 15rem; overflow: auto; padding: .5rem; border: 1px solid var(--technology-choice-border); border-radius: .5rem; }
.technology-choice { display: flex; gap: .5rem; align-items: center; padding: .35rem; }
.technology-choice[hidden] { display: none; }
.technology-choice input { width: auto; }
.technology-tags { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; }
.technology-tags li { background: #edf2f8; color: #273e59; padding: .35rem .7rem; border-radius: 1rem; }
.key-value .technology-tags { margin: 0; }
.import-table { width: 100%; min-width: 54rem; table-layout: auto; border-collapse: collapse; }
.import-table th:first-child { width: 4rem; }
.import-table th, .import-table td { text-align: left; vertical-align: top; border-bottom: 1px solid #dfe4ec; padding: .65rem; }
.import-table td { max-width: 28rem; overflow-wrap: anywhere; }
.import-table details { min-width: 10rem; max-height: 20rem; overflow: auto; }
.import-table input[type=checkbox] { width: auto; }
.import-table th:nth-child(2), .import-table td:last-child { white-space: nowrap; min-width: 3.5rem; }
form[action^="/admin/import"] textarea, form[action^="/admin/import"] select { font: inherit; padding: .5rem; border: 1px solid #bdcbc6; border-radius: 4px; max-width: 100%; }
