

/* WCAG-minded defaults: focus visibility, readable line length, semantic spacing. */

:root{
  --bg: #07121E;         /* deep brand blue */
  --bg2: #0B2A45;        /* slightly lighter */
  --surface: #0f1d2b;    /* card bg */
  --text: #ffffff;
  --muted: #cfe0f3;
  --link: #ffffff;
  --accent: #81D42F;     /* your green */
  --border: rgba(255,255,255,.18);

  --maxw: 1100px;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0,0,0,.25);
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: radial-gradient(1200px 700px at 10% 10%, #123a63 0%, var(--bg) 55%, #050b12 100%);
}

a{ color: var(--link); }
a:focus, button:focus, input:focus, textarea:focus{
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
a:focus:not(:focus-visible),
button:focus:not(:focus-visible),
input:focus:not(:focus-visible),
textarea:focus:not(:focus-visible){
  outline: none;
}
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible{
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.skip-link{
  position:absolute;
  left:-9999px;
  top:0;
  background:#000;
  color:#fff;
  padding:.75rem 1rem;
  z-index: 9999;
}
.skip-link:focus{
  left: .75rem;
  top: .75rem;
  border-radius: 10px;
}

.container-old{
  width: min(var(--maxw), calc(100% - 2rem));
  margin: 0 auto;
}

.container{
  width: min(1100px, 100%);
  margin: 0 auto;
  padding: 0 1rem;
}


.site-header{
  position: sticky;
  top: 0;
  z-index: 50;

  border-bottom: 1px solid var(--border);
  background: rgba(7, 18, 30, .65);
  backdrop-filter: blur(8px);
}
.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  flex-wrap: wrap;
  position: relative;
}

.brand-link{
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.nice-link{
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  font-weight: 600;
  color: yellow;
}


/* Button with background color enforced */
.nice-link1 {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  font-weight: 600;
  color: yellow;
  xbackground: #07121E;
  xbackground: #0f1d2b ;
  background: #0B2A45  ;
  border: solid #0f1d2b 2px;
}

/* Check-out button, primarily */
.nice-link2 {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  font-weight: 600;
  color: yellow;
  background: #4B1F6F;
}

/* Check-in button, primarily */
.nice-link3 {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  font-weight: 600;
  color: yellow;
  background: #5A2E91;
}
.brand-mark{
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  display: block;
  border-radius: 12px;
}
.brand-text{
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  min-width: 0;
}
.brand-name{
  font-size: 1.05rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 70vw;
}
.brand-tagline{
  font-size: 0.9rem;
  opacity: 0.85;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 70vw;
}


/* Wider screens: restore breathing room */
@media (in-width: 900px){
  .brand-mark{ width: 56px; height: 56px; }
  .brand-name{ font-size: 1.15rem; max-width: none; }
  .brand-tagline{ max-width: none; }
  .header-inner{ flex-wrap: nowrap; }
}

.site-nav{ display:flex; align-items:center; gap:.75rem; }

.nav-toggle{
  display:none;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  padding: .55rem .8rem;
  border-radius: 12px;
}
.nav-links{
  display:flex;
  gap:.25rem;
  align-items:center;
}
.nav-link{
  display:inline-block;
  padding: .55rem .75rem;
  border-radius: 12px;
  text-decoration:none;
  border: 1px solid transparent;
}
.nav-link:hover{ border-color: var(--border); }
.nav-link.is-active{ border-color: var(--accent); }

  .old-nav-dropdown-menu {
    position: static;
    margin-top: .25rem;
    width: 100%;
    min-width: 0;
  }

.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;          /* below the Tools button */
  left: 0;            /* or right: 0; if you prefer */
  margin-top: .25rem; /* keep your gap */
  min-width: 0;       /* keep or tweak as needed */
  z-index: 1000;


/* visual separation */
  background: rgba(7, 18, 30, 0.97); /* or a solid color like #050b12 */
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: .4rem .75rem;
  xwidth: 70px;
width: auto;           /* let contents define width */
  min-width: 130px;      /* or whatever looks right */
  max-width: 280px;      /* optional */
  box-shadow: var(--shadow);
}

/* links inside */
.nav-dropdown-menu .tool-link {
  display: block;
  xpadding: .25rem 0;      /* vertical spacing between items */
  text-decoration: none;
  font-weight: 600;
  color: yellow;
  margin-left: 0px;
}

.nav-dropdown-menu li {
  list-style: disc;
  margin: 10px;
  padding: 0px;
}


@media (max-width: 860px){
  .nav-toggle{ display:inline-flex; }
  .nav-links{
    display:none;
    position:absolute;
    right: 1rem;
    top: 74px;
    flex-direction:column;
    background: rgba(7, 18, 30, .95);
    border: 1px solid var(--border);
    padding: .5rem;
    border-radius: 14px;
    box-shadow: var(--shadow);
    min-width: 220px;
  }
  .nav-links.is-open{ display:flex; }
  .nav-link{ width: 100%; }
}

main{
  padding: 2.2rem 0 2.6rem;
}

img{ max-width:100%; height:auto; }
.hero{ border-radius: 1rem; overflow:hidden; }

.hero2{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 1.2rem;
  align-items:stretch;
}
@media (max-width: 900px){
  .hero{ grid-template-columns: 1fr; }
}

.hero-card{
  background: rgba(15, 29, 43, .72);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.4rem;
}
.hero h1{
  margin: 0 0 .6rem;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1.2;
}
.hero p{ margin: 0 0 1rem; color: var(--muted); max-width: 65ch; }

.badges{
  display:flex;
  gap:.5rem;
  flex-wrap:wrap;
  margin: .9rem 0 1.2rem;
}
.badge{
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: .25rem .6rem;
  font-size: .9rem;
  color: var(--muted);
}

.actions{
  display:flex;
  gap:.7rem;
  flex-wrap:wrap;
}


.button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.5rem;
  padding:.7rem 1rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  text-decoration:none;
  font-weight: 650;
}
.button.primary{
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(129,212,47,.15) inset;
}

.button.newbroken {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(129,212,47,.15) inset;

  color: #ffd84a;          /* yellow text */
  font-weight: 700;        /* heavier */
  text-align: center;      /* center label */

  letter-spacing: .05em;
  debug-text-transform: uppercase;

  color: #ff0;                 /* yellow text */
  debug-display: block;              /* let it behave like a banner */
  width: 25%;
  min-width: 220px;
}

.button.new {
  box-shadow: 0 0 0 2px rgba(129,212,47,.15) inset;
  color: #ff0;                 /* yellow text */
  width: 65ch;
  min-width: 220px;
  letter-spacing: .07em;
  margin: auto 0;
}

.button-centered-wrapper {
  display: flex;
  justify-content: center;
}


.button:hover{
  border-color: rgba(255,255,255,.35);
}

.panel{
  margin-top: 1.2rem;
  background: rgba(15, 29, 43, .55);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem;
}

.grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
@media (max-width: 980px){
  .grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px){
  .grid{ grid-template-columns: 1fr; }
}

.card{
  background: rgba(15, 29, 43, .72);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow);
}
.card h2, .card h3{ margin: 0 0 .35rem; }
.card p{ margin: 0 0 .75rem; color: var(--muted); }
.tag{
  display:inline-block;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: .2rem .55rem;
  font-size: .85rem;
  color: var(--muted);
}
.tag.alpha{ border-color: rgba(129,212,47,.7); }
.tag.soon{ border-color: rgba(255,255,255,.25); }

.site-footer{
  border-top: 1px solid var(--border);
  padding: 1.4rem 0 2.2rem;
  background: rgba(7, 18, 30, .65);
}
.footer-inner{ color: var(--muted); }
.muted{ color: var(--muted); }

.form{
  display:grid;
  gap: .9rem;
  max-width: 720px;
}
label{ font-weight: 650; }

input[type="text"],
input[type="url"],
input[type="email"],
input[type="search"],
textarea {
    width: 100%;
    padding: .7rem .8rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: rgba(0,0,0,.25);
    color: white;
}

input[type="checkbox"] {
    width: auto;
    height: auto;
    padding: 0;
    margin: 0;
}

textarea{ min-height: 160px; resize: vertical; }
.help{ font-size: .95rem; color: var(--muted); margin-top: .25rem; }

.grid-2{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

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

  .nav-dropdown-menu {
    position: static;
    margin-top: .25rem;
    width: 100%;
    min-width: 0;
  }

}


.brand-ready { font-style: italic; }

.s2t-input {
    background-color: #ffffff !important;
    color: #000000 !important;
    border: 1px solid #888;
}

input#url.s2t-input {
    background-color: #ffffff !important;
    background: #ffffff !important;
    color: #000000 !important;
    -webkit-text-fill-color: #000000 !important;
    opacity: 1 !important;
}

/* Force left-aligned checkbox + text, overriding theme rules */
details.s2t-options label.s2t-opt {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    width: auto !important;
    text-align: left !important;
}

details.s2t-options label.s2t-opt input[type="checkbox"] {
    float: none !important;
    position: static !important;
    margin: 0 !important;
    flex: 0 0 auto !important;
}

details.s2t-options label.s2t-opt span {
    display: inline-block !important;
    flex: 0 1 auto !important;
}

/* Wider reading area for informational pages */
.container-wide {
    max-width: 1100px;
    width: 92%;
    margin-left: auto;
    margin-right: auto;
}


// Try to bleed the edges of the main hero logo

.imgfader { Box Shadow: 110px 107px 50px green; }


.t2r-section {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 1.2rem;
  margin-bottom: 2.2rem;
}

/* heading column */
.t2r-heading {
  grid-column: 1 / -1; /* header spans full width */
}

/* body column */
.t2r-body {
  grid-column: 2;      /* body starts under text, not under "1." */
  max-width: none;     /* allow full width */
}

/* tighten heading spacing */
.t2r-heading h2 {
  margin-bottom: .25rem;
}

.t2r-subheader {
  margin-top: 0;
  broken-opacity: .95;
  font-weight: 700;
  broken-color: rgba(255,255,255,0);
  opacity: 1;
  color: yellow;
  text-decoration: underline ;
  border: solid yellow 5px;

}

p.t2r-subhead {
  margin-top: 0;
  font-weight: 700;
  opacity: 1;                 /* 100% is not valid; use 1 */
  color: yellow ;
  debug-border: 5px solid yellow;
}


.t2r-subhead {
  margin-top: 0;
  font-weight: 700;
  opacity: 1;                 /* 100% is not valid; use 1 */
  xcolor: green ;
  debug-border: 5px solid yellow;
}

.t2r-body p {
  max-width: 85ch;   /* readable but fuller */
}

/* Yikes */

/* Hero banner wrapper */
.hero-wrap {
  margin: 0 auto;
}

/* Desktop sizing: fixed-ish but still responsive */
.hero-wrap--desktop {
  width: 650px;
  max-width: 92vw;
}

/* Make the link not introduce spacing */
.hero-link {
  display: block;
  text-decoration: none;
  line-height: 0; /* prevents inline SVG baseline gap */
}

/* SVG scales responsively */
.hero-svg {
  display: block;
  width: 640px;
  max-width: 90vw;
  height: auto;
  overflow: visible;
}

.hero-wrap { margin: 0 auto; }
.hero-wrap--desktop { width: 650px; max-width: 92vw; }

.hero-link {
  display: block;
  text-decoration: none;
  line-height: 0; /* prevents baseline gap */
}

/* critical: do NOT hide overflow; the blur can extend beyond bounds */
.hero-svg {
  display: block;
  width: 640px;
  max-width: 90vw;
  height: auto;
  overflow: visible;
}

/* Make section field not span the entire screen */
#section_identifier {
  width: 10ch;
}

/* Format DRTS path outputs better */

.drts-table tr {
    border-bottom: 1px solid #ddd;
}
.drts-table td {
    padding: 6px 8px;
}
.drts-table tr:nth-child(even) {
    background: #fafafa;
}

.drts-table {
    border-collapse: collapse;
    width: 100%;
}

.drts-table th {
    border-bottom: 2px solid #ccc;
    padding: 6px 8px;
    text-align: left;
    cursor: pointer; /* for sort icons */
}

.drts-table td {
    border-bottom: 1px solid #eee;
    padding: 6px 8px;
}

.drts-table tr:hover {
    background: #fafafa;
}

.progress-container {
    width: 100%;
    background: #eee;
    border-radius: 4px;
    margin-top: 10px;
    height: 20px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background: #4caf50;
    transition: width 0.2s;
}

.hidden {
    display: none;
}

.drts-table {
    border-collapse: collapse;
    width: 100%;
}

.drts-table th {
    border-bottom: 2px solid #ccc;
    padding: 6px 8px;
    text-align: left;
    cursor: pointer;
    user-select: none;
}

.drts-table td {
    border-bottom: 1px solid #eee;
    padding: 6px 8px;
}

.drts-table tr:hover {
    background: #fafafa;
}

.sort-icon {
    font-size: 0.8em;
    margin-left: 4px;
    opacity: 0.6;
}

.triage-description {
    display: none;
    width: 60%;
}

.context-box {
    border: 1px solid #ccc;
    padding: 0.75rem 1rem;
    margin: 1rem 0;
}
.context-box h2 {
    margin-top: 0;
}

.context-box-indented {
    xborder: 1px solid #ccc;
    padding: 0.75rem 1rem;
    margin: 1rem 0;
    padding-left: 20px;
}

.context-box-indented p {
    padding: 0.75rem 1rem;
    margin: 0;
    padding-left: 20px;
}

/* S2T PAGE LAYOUT ONLY — does not affect rest of site */
.s2t-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.s2t-results {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}

textarea.s2t-transcript {
  flex: 1 1 auto;
  min-height: 300px;
  resize: vertical;
}

/* optional: nicer spacing */
.s2t-results h2 {
  margin-top: 1rem;
}

/* Make the whole page a flex column so main can fill the viewport */
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Let the main content expand (between header and footer) */
main#main {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}

/* Make transcript section expand */
.s2t-results {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}

/* Make textarea fill remaining space in results */
textarea.s2t-transcript {
  flex: 1 1 auto;
  min-height: 300px;
  resize: vertical;
}

/* Results tables in drts upload sections */

.xdrts-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.xdrts-table th {
    xbackground: #f0f0f0;
    text-align: left;
    padding: 6px 8px;
    border-bottom: 2px solid #ccc;
}

.xdrts-table td {
    padding: 6px 8px;
    border-bottom: 1px solid #ddd;
}

.xdrts-table tr:nth-child(even) {
    xbackground: #fafafa;
}

.xdrts-table tr:hover {
    xbackground: #f5f5f5;
}


/* Accessible dropdown styling for admin UI */
.section-picker select {
    background-color: #2b2b2b;   /* dark grey, high contrast */
    color: #ffffff;              /* white text */
    border: 1px solid #555;      /* subtle border */
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 1rem;
    width: 260px;                /* consistent width */
    margin-bottom: 8px;
}

/* On focus: visible, accessible outline */
.section-picker select:focus {
    outline: 2px solid #ffd700;  /* gold focus ring */
    outline-offset: 2px;
}

/* Optional: style the labels for clarity */
.section-picker label {
    display: block;
    margin-bottom: 12px;
    font-weight: bold;
}

.checkmarks {
   list-style: none;
}

.checkmarks li {
   list-style: none;
   margin-bottom: 11px;
	xborder: 1px solid red;
	
}

/* Allow for checkboxes and checkmarks in lists */
    .unchecked::before {
        content: '\2610'; /* Unicode for open box */
        margin-right: 8px;
        padding-bottom: 4px;
    }
    .checked::before {
        content: '\2713'; /* Unicode for checkmark */
        margin-right: 8px;
        padding-bottom: 4px;
    }


.nowrap {
	white-space: nowrap;
}

.oneline {
	display: flex; align-items: center;
    	font-size: 1.8rem;
}

details.recent-files { margin: 12px 0; padding: 8px; border: 1px solid #ddd; border-radius: 8px; }
details.recent-files summary { cursor: pointer; font-weight: 600; }

.recent-files-body { margin-top: 8px; }
.recent-files-list { list-style: none; padding-left: 0; margin: 0; }
.recent-files-list li { padding: 8px 0; border-top: 1px solid #eee; }
.recent-files-list li:first-child { border-top: 0; }


details.recent-files2 { margin: 12px 0; padding: 8px; border: 3px solid #DDD; border-radius: 8px; }

.darkbg {
	/* background: #4B0082; */
	xbackground: #301934;
}

.too-muted { color: #666; font-size: 0.9em; }

.less-muted {
    color: #444444;
}

.barely-muted {
    color: #DDDDDD;
}

.not-muted {
    color: #FFFFFF !important;
}



.drts-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* Compact controls inside filter rows (override global input width:100%) */
.drts-filter-row label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.drts-filter-row input[type="text"],
.drts-filter-row input[type="search"]{
  width: 32ch;
  max-width: 520px;
}

.drts-filter-row input[type="number"]{
  width: 10ch;
}

.drts-filter-row select{
  width: auto;
  min-width: 40ch;
}
.drts-kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
}

.drts-kpi-card {
  background: #0e2033;
  padding: 12px;
  border-radius: 6px;
}

.drts-baseline-source { 
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
  margin:12px 0; 
}

.drts-baseline-results {
  font-size:24px;
  font-weight:600;
}


/* -------------------------
   Admin (DRTS) report screens
   ------------------------- */

.admin-form {
  margin: 0 0 1rem;
}

.admin-panel {
  background: rgba(15, 29, 43, .72);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1rem;
  display: grid;
  gap: .65rem;
}

.admin-panel .help {
  margin: 0;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  margin: .6rem 0 1.1rem;
}

.admin-table th,
.admin-table td {
  padding: .5rem .7rem;
  border-bottom: 1px solid rgba(255,255,255,.14);
  text-align: left;
  vertical-align: top;
}

.admin-table th {
  font-weight: 700;
  color: var(--text);
}

.admin-table tr:hover td {
  background: rgba(255,255,255,.04);
}

/* Make long strings wrap (filenames, breadcrumbs, etc.) */
.admin-table td {
  word-break: break-word;
}

/* Try to blend the pulldown buttons */

/* Base nav links */
.nav-link {
  display: inline-block;
  padding: 0 .75rem;
  color: var(--text);
  background: transparent;
  border: none;
  border-radius: 0;
  font: inherit;
  text-decoration: none;
}

/* Make buttons visually identical to links */
.nav-dropdown-toggle {
  cursor: pointer;
}

/* Hover/focus state – same for links and dropdowns */
.nav-link:hover,
.nav-link:focus {
  color: var(--text-strong);
  background: rgba(255,255,255,0.06); /* or whatever you use on hover */
  border-radius: 999px;                /* optional pill on hover only */
}

/* Optional: only show the light pill background when menu is open */
.nav-dropdown-toggle[aria-expanded="true"] {
  background: rgba(255,255,255,0.12);
  border-radius: 999px;
}

// Make for nicer panels (more compact)
.panel.compact {
  padding: .75rem;
  gap: .4rem;
}

.panel.compact h3 {
  margin: 0 0 .4rem;
  font-size: 1.1rem;
}

.panel.compact .drts-filter-row {
  gap: 8px;
}

.panel.compact input[type="text"],
.panel.compact input[type="number"] {
  padding: .45rem .6rem;
  font-size: .95rem;
}
.centerme {
    margin: 0 auto;
    width: 80%; /* or any width you want */
}

.notop {
	margin-top:0;
}

.redbox {
	border: 1px solid red;
}

.pulldown-label {
	font-size: 24px; font-weight: 600;
}

/* Doc-tabel was never define for partial/table code */
.doc-table {
  width: 100%; /* Make the table take the full width */
  border-collapse: collapse; /* Collapse borders for a cleaner look */
}

.doc-table th,
.doc-table td {
  padding: 10px; /* Add some space inside cells */
  border: 1px solid rgba(255, 255, 255, 0.18); /* Light border for the cells */
  vertical-align: top; /* Align content to the top of the cell */
  text-align: left; /* Left-align text for readability */
}

.doc-table th {
  background-color: #0B2A45; /* Slightly lighter shade for the header */
  color: #ffffff; /* White text for headers */
  font-weight: bold; /* Make headers bold */
}

.doc-table tr:nth-child(even) {
  background-color: #0f1d2b; /* Slightly darker row shading for better readability */
}

.doc-table tr:hover {
  background-color: #123a63; /* Highlight effect on hover */
  color: yellow; /* Change text color on hover for contrast */
}

/* Aids for visualization and visibility reports */
.drts-echart {
    height: 360px;
}

/* =========================================================
   DRTS Visibility Dashboard Styles
   ========================================================= */

/* chart containers */
.drts-echart {
    width: 100%;
    height: 360px;
    min-height: 300px;
}


/* dashboard cards */
.dashcard {
    border: 1px solid #d9d9d9;
    border-radius: 6px;
    padding: 16px;
    margin-bottom: 18px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.dashcard h2 {
    margin-top: 0;
    font-size: 18px;
}

.dashcard p.muted {
    color: #666;
    font-size: 13px;
    margin-top: 4px;
    margin-bottom: 12px;
}


/* dashboard grid */
.grid {
    display: grid;
    grid-gap: 18px;
}

.grid-2 {
    grid-template-columns: 1fr 1fr;
}


/* collapse panels (reusing your recent-files pattern) */
details.recent-files {
    border: 1px solid #dcdcdc;
    border-radius: 6px;
    padding: 10px 14px;
    margin-bottom: 16px;
    background: #fafafa;
}

details.recent-files summary {
    font-weight: 600;
    cursor: pointer;
    font-size: 16px;
    margin-bottom: 10px;
}


/* loading / error text inside charts */
.drts-echart {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: #666;
}


/* responsive collapse */
@media (max-width: 900px) {

    .grid-2 {
        grid-template-columns: 1fr;
    }

}
/* chart center label */
.drts-chart-center {
    color: #ffffff;
    font-weight: 600;
}

.topjustify {
    display: inline-flex;   /* Allows alignment of elements in a line */
    align-items: flex-start; /* Aligns items at the top */
}

