.docs [hidden] { display: none !important; }
.docs {
  --docs-accent: #795717;
  --docs-accent-ink: #fff;
  --docs-hero-start: #0b252a;
  --docs-hero-end: #264b4d;
  --docs-label: #f0d17f;
}
.docs[data-section-theme="SESAC"] {
  --docs-accent: #32674e;
  --docs-hero-start: #172f27;
  --docs-hero-end: #35624b;
  --docs-label: #d2f5db;
}
.docs[data-section-theme="SEDEI"] {
  --docs-accent: #64458d;
  --docs-hero-start: #29203f;
  --docs-hero-end: #574576;
  --docs-label: #ead7ff;
}
.docs[data-section-theme="SESAL"] {
  --docs-accent: #f36c21;
  --docs-accent-ink: #251406;
  --docs-hero-start: #43210e;
  --docs-hero-end: #9a400b;
  --docs-label: #ffd1a6;
}
.docs[data-section-theme="SEAQT"] {
  --docs-accent: #245684;
  --docs-hero-start: #132a47;
  --docs-hero-end: #2b5680;
  --docs-label: #c9e5ff;
}
.docs[data-section-theme="SEAAD"] {
  --docs-accent: #4c5e78;
  --docs-hero-start: #222b3c;
  --docs-hero-end: #4d5d76;
  --docs-label: #e0ebff;
}
.docs .docs-hero {
  min-height: 0;
  padding: clamp(1rem, 2.5vw, 1.75rem);
  align-items: center;
  flex-flow: row wrap;
  gap: 1rem 1.5rem;
  border-radius: 1rem;
  background: linear-gradient(120deg, var(--docs-hero-start), var(--docs-hero-end));
}
.docs-hero__copy {
  flex: 1 1 28rem;
  min-width: 0;
  overflow-wrap: anywhere;
}
.docs .docs-hero__section {
  display: flex;
  align-items: center;
  gap: .55rem;
  color: var(--docs-label);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
  line-height: 1.35;
  text-transform: uppercase;
}
.docs-hero__section::before {
  flex: 0 0 1.2rem;
  height: 2px;
  background: currentColor;
  content: "";
}
.docs .docs-hero h1 {
  margin: .3rem 0 .4rem;
  font-size: clamp(1.65rem, 2.75vw, 2.6rem);
  line-height: 1.12;
}
.docs .docs-hero p:not(.docs-hero__section) {
  font-size: 1rem;
  line-height: 1.45;
}
.docs-hero > .button {
  flex: 0 0 auto;
  min-height: 2.75rem;
  padding: .6rem 1rem;
  white-space: nowrap;
}
.docs-status { margin: .8rem 0; color: #52666a; }
.docs-status:empty { display: none; }
.docs-status[data-error] { color: #9c2630; }
.docs-section-tabs, .docs-tabs { display: flex; flex-wrap: wrap; gap: .4rem; }
.docs-section-tabs { margin: .9rem 0 .75rem; }
.docs-tabs { margin: .75rem 0; }
.docs-section-tabs button, .docs-tabs button {
  padding: .55rem .9rem;
  border: 1px solid #cddbd9;
  border-radius: .5rem;
  color: #15383a;
  background: white;
  cursor: pointer;
  font-weight: 700;
}
.docs-section-tabs button[aria-pressed="true"] {
  border-color: var(--docs-accent);
  color: var(--docs-accent-ink);
  background: var(--docs-accent);
}
.docs-section-tabs button[aria-pressed="false"] {
  border-color: #d9ccb0;
  color: #6e6248;
  background: #f6efdf;
}
.docs-tabs button[aria-pressed="true"] { background: #113638; color: white; border-color: #113638; }
.docs-panel { padding: clamp(.9rem, 3vw, 1.55rem); border: 1px solid #dce5e4; border-radius: 1rem; background: #fff; }
.docs-panel h2, .docs-dialog h2 { margin: 0 0 .85rem; color: #102f32; font-size: clamp(1.25rem, 3vw, 1.65rem); }
.docs-section-notice { border-left: .25rem solid var(--docs-accent); }
.docs-section-notice h2 { margin-bottom: .4rem; }
.docs-section-notice p { margin: 0; color: #52666a; }
.docs-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem 1rem; }
.docs-filters { grid-template-columns: 2fr 1fr; }
.docs-report-controls { grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: end; }
.docs-fields label { display: grid; gap: .3rem; color: #15383a; font-size: .9rem; font-weight: 700; }
.docs-fields :is(input, select, textarea) { width: 100%; min-width: 0; padding: .58rem .66rem; border: 1px solid #bbc9c8; border-radius: .42rem; background: #fff; color: #142e32; font: inherit; font-weight: 400; }
.docs-fields textarea { resize: vertical; }
.docs-full { grid-column: 1 / -1; }
.docs-records { display: grid; gap: .75rem; margin-top: .8rem; }
.docs-record { display: flex; align-items: flex-start; justify-content: space-between; gap: .7rem 1rem; padding: .95rem; border: 1px solid #dce5e4; border-radius: .6rem; overflow-wrap: anywhere; }
.docs-record h3 { margin: .25rem 0; font-size: 1.05rem; color: #102f32; }
.docs-record p { margin: .25rem 0 0; }
.docs-meta { color: #52666a; font-size: .9rem; }
.docs-note { white-space: pre-wrap; }
.docs-badge { color: #285554; font-weight: 700; font-size: .88rem; }
.docs-overdue { color: #9c2630; font-weight: 700; }
.docs-actions { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.docs-record .docs-actions { flex-shrink: 0; }
.docs-dialog { width: min(43rem, calc(100% - 1rem)); max-height: calc(100% - 2rem); padding: clamp(.9rem, 3vw, 1.5rem); border: 1px solid #c0cecb; border-radius: .9rem; background: white; color: #142e32; }
.docs-dialog::backdrop { background: #07171bb3; }
.docs-dialog-heading { display: flex; gap: .5rem; align-items: flex-start; justify-content: space-between; }
.docs-link { border: 0; padding: .35rem .15rem; background: none; color: #155c5e; text-decoration: underline; cursor: pointer; }
.docs-link:disabled { color: #657475; cursor: default; }
.docs-classification { padding: .75rem; border: 1px solid #cddbd9; border-radius: .45rem; background: #f0f6f5; }
.docs-classification .docs-actions { margin-top: .5rem; }
.docs-dialog form > .docs-actions { margin-top: .85rem; justify-content: flex-end; }
.docs-report { margin-top: 1.2rem; }
.docs-report h3 { margin: 1.15rem 0 .45rem; color: #15383a; }
.docs-report table { width: 100%; border-collapse: collapse; }
.docs-report :is(td, th) { padding: .5rem .6rem; border-bottom: 1px solid #dce5e4; text-align: left; }
.docs-report thead { background: #eef5f4; }
.docs-report .docs-subrow th { padding-left: 1.4rem; font-weight: 400; }
.docs-table-scroll { overflow-x: auto; }
@media print {
  body:has([data-workspace]:not([hidden]) [data-report-panel]:not([hidden]) .docs-report) { display: block; background: white; }
  body:has([data-workspace]:not([hidden]) [data-report-panel]:not([hidden]) .docs-report)
    :is(.dashboard-header, .skip-link, .military-hero, .docs-section-tabs, .docs-tabs, .docs-report-controls, .docs-print-button, #docs-report-title) { display: none !important; }
  .docs.dashboard-main, .docs-panel { display: block; width: 100%; margin: 0; padding: 0; border: 0; box-shadow: none; }
  .docs-report { margin: 0; }
  .docs-report tr { break-inside: avoid; }
  .docs-table-scroll { overflow: visible; }
}
@media (max-width: 660px) {
  .docs-filters, .docs-report-controls { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .docs-record { flex-direction: column; }
}
@media (max-width: 420px) {
  .docs-fields { grid-template-columns: minmax(0, 1fr); }
}
