/*! davisAIgov original contributions: Copyright (c) 2026 Richard E. Davis in original, copyrightable contributions only. Third-party rights and applicable licenses remain reserved. See COPYRIGHT.txt and /notices/ for scope. No registration is represented. */
/* DavisAIgov v14.1.1: reading-width regression fixes. Loaded last. */
html { -webkit-text-size-adjust:100%; text-size-adjust:100%; }
body.dg141-unified main { min-width:0; }
body.dg141-unified .dg14-container { width:100%; max-width:1280px; box-sizing:border-box; }
body.dg141-unified .dg14-three-grid,
body.dg141-unified .dg14-card-grid { grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr)); }
body.dg141-unified .tm-arch { grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr))!important; }
body.dg141-unified .dg141-two-grid,
body.dg141-unified .dg141-case-columns { grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr)); }
body.dg141-unified .feed-steps { grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr))!important; }
body.dg141-unified main p { word-break:normal; overflow-wrap:break-word; }
body.dg141-unified main .dag-readable-table {
  width:100%!important; min-width:var(--dag-reading-width,900px)!important;
  table-layout:fixed!important; border-collapse:collapse;
}
body.dg141-unified main .dag-readable-table th,
body.dg141-unified main .dag-readable-table td {
  padding:12px 16px!important; line-height:1.55!important;
  height:auto!important; max-height:none!important;
  overflow:visible!important; white-space:normal!important;
  word-break:normal!important; overflow-wrap:break-word!important;
  vertical-align:top!important;
}
body.dg141-unified .dag-readable-region { width:100%; max-width:100%; min-width:0; overflow-x:auto; overscroll-behavior-x:contain; }
body.dg141-unified .dag-readable-region:focus-visible { outline:3px solid #5c3ccc; outline-offset:3px; }
body.dg141-unified .dag-table-reading-note { color:#44556c; font-size:.9rem; line-height:1.5; margin:.65rem 0; }
body.dg141-unified .dg141-source, body.dg141-unified .claim-status { color:#45536b; font-size:.94rem; line-height:1.6; }
body.dg141-unified .claim-status { border-left:3px solid #6246cc; padding:.5rem 1rem; margin:1rem 0; background:#f6f4ff; }
body.dg141-unified .dg14-page-hero .claim-status { background:#192640; color:#e2e8f4; }
body.dg141-unified .verification-note { background:#f4f1ff; border:1px solid #ded7f4; padding:14px 18px; border-radius:10px; margin:14px 0; color:#24344b; line-height:1.6; }
@media(max-width:900px) {
 body.dg141-unified .dg14-three-grid,
 body.dg141-unified .dg14-card-grid { grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),1fr)); }
 body.dg141-unified .dg141-case-columns, body.dg141-unified .dg141-two-grid { grid-template-columns:1fr; }
}
@media(max-width:600px) {
 body.dg141-unified .dg14-container { padding-left:20px; padding-right:20px; }
 body.dg141-unified .dg14-three-grid,body.dg141-unified .dg14-card-grid,
 body.dg141-unified .tm-arch,body.dg141-unified .feed-steps { grid-template-columns:1fr!important; }
 body.dg141-unified .pt-augment { padding:14px!important; width:auto!important; min-width:0!important; max-width:100%!important; }
 body.dg141-unified .pt-augment p { max-width:none!important; }
 body.dg141-unified .pt-augment .pt-augment { padding:8px!important; }
 body.dg141-unified .dag-table-reading-note { font-size:.85rem; }
}
/* Context labels must not consume half of an already narrow column. */
body.dg141-unified .brief-context dl { grid-template-columns:repeat(auto-fit,minmax(min(100%,420px),1fr))!important; }
@media(max-width:600px) {
 body.dg141-unified .brief-context dl > div { grid-template-columns:1fr!important; gap:4px; }
 body.dg141-unified .harness-landing .seo-hero,
 body.dg141-unified.legacy-threat-reference .seo-hero { padding:24px 10px!important; }
 body.dg141-unified .eco-inline-explainer { padding:0 10px 12px!important; }
 body.dg141-unified .pt-augment { padding:10px!important; }
}

/* Responsive narrative metadata must not remain as narrow six-column cards. */
body.dg141-unified .brief-context-grid,
body.dg141-unified .brief-meta-grid,
body.dg141-unified .ntk-context-grid { grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr))!important; }
@media(max-width:800px) {
 body.dg141-unified .brief-context-grid,
 body.dg141-unified .brief-meta-grid,
 body.dg141-unified .ntk-context-grid { grid-template-columns:1fr!important; }
 body.dg141-unified .eco-reading-pane .pt-augment { padding:10px!important; }
}

body.dg141-unified .dg14-card p { font-size:1rem; line-height:1.6; }
/* DEF-R13: expanded states need the same reading width as initial content. */
body.dg141-unified .planes,
body.dg141-unified .global-cards,
body.dg141-unified .assurance-grid,
body.dg141-unified .tm-three-col {
  grid-template-columns: repeat(auto-fit,minmax(min(100%,320px),1fr)) !important;
}
body.dg141-unified .brief-context dl > div {grid-template-columns: 1fr !important; gap: .35rem !important;}
body.dg141-unified .brief-context dd {margin-left: 0 !important;}
body.dg141-unified .instruction-grid {grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr)) !important;}
@media (max-width:600px) {
  body.dg141-unified .scen .inner {padding: 14px !important;}
  body.dg141-unified .scen .block {padding: 14px !important;}
  body.dg141-unified .scen ol,body.dg141-unified .scen ul {padding-left: 22px !important;}
  body.dg141-unified .dg141-case {padding: 16px !important;}
  body.dg141-unified .dg141-case-application {padding: 14px !important;}
}
@media (max-width:360px) {
  body.dg141-unified .eco-inline-explainer {padding-inline: 4px !important;}
  body.dg141-unified .eco-accountability {padding-inline: 4px !important;}
  body.dg141-unified .eco-reading-pane .pt-augment {padding-inline: 4px !important;}
  body.dg141-unified .legacy-research {padding-inline: 8px !important;}
  body.dg141-unified .legacy-research .wrap {width:100% !important;max-width:100% !important;}
  body.dg141-unified .legacy-research .card, body.dg141-unified .legacy-research .problem {padding:14px !important;}
  body.dg141-unified .assurance-lanes {padding-inline: 4px !important;}
  body.dg141-unified .assurance-outcome {padding-inline: 4px !important;}
  body.dg141-unified .tm-integration {min-width:0 !important;max-width:100% !important;}
  body.dg141-unified .tm-integration .wrap {min-width:0 !important;max-width:100% !important;}
}
@media (max-width:600px){body.dg141-unified .scen .ddrbox {padding-inline:8px !important;}}
@media (max-width:360px){body.dg141-unified .eco-reading-pane .tm-component {padding-inline:8px !important;}}
body.dg141-unified .tm-contract,
body.dg141-unified .tm-rule-body {min-width:0 !important;grid-template-columns:minmax(0,1fr) !important;}
body.dg141-unified .tm-contract > *,
body.dg141-unified .tm-rule-body > * {min-width:0 !important;max-width:100% !important;}
body.dg141-unified .tm-contract .two {grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr)) !important;}
body.dg141-unified .tm-rule-fields p,body.dg141-unified .tm-rule-fields code {overflow-wrap:anywhere;}
@media(max-width:360px){
 body.dg141-unified .tm-contract {padding-inline:10px !important;}
 body.dg141-unified .tm-contract .term {padding-inline:10px !important;}
}
body.dg141-unified .scen .two {grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr)) !important;}
body.dg141-unified .scen .two > * {min-width:0 !important;max-width:100% !important;}
@media(max-width:360px){
 body.dg141-unified .tm-integration .scen .inner {padding-inline:8px !important;}
 body.dg141-unified .tm-integration .scen .block {padding-inline:8px !important;}
 body.dg141-unified .tm-integration .scen ol {padding-left:18px !important;}
}
@media(max-width:360px){
 body.dg141-unified .tm-integration .scen .ddrbox {padding-inline:4px !important;}
 body.dg141-unified .tm-integration .scen .ddrbox ol,body.dg141-unified .tm-integration .scen .ddrbox ul {padding-left:16px !important;}
}

/* Restore original return-location affordance on the new commercial pages. */
.dag-location-restored{box-sizing:border-box;width:min(100%,1280px);margin:0 auto;padding:12px 24px;display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px 20px;font-size:14px;line-height:1.5;background:#f6f7fc;color:#354259}
.dag-location-restored ol{list-style:none;display:flex;flex-wrap:wrap;gap:8px;padding:0;margin:0}
.dag-location-restored li+li::before{content:"/";margin-right:8px;color:#59667b}
.dag-location-restored a{color:#3e2da6;text-decoration:underline;text-underline-offset:3px}
@media(max-width:600px){.dag-location-restored{padding:10px 20px}}
@media(max-width:360px){
 body.dg141-unified .scen .ddrbox {padding-inline:4px !important;}
 body.dg141-unified .scen .ddrbox ol,body.dg141-unified .scen .ddrbox ul {padding-left:16px !important;}
}
/* Keep evidence labels distinct from their values in expanded case records. */
body.dg141-unified .scen .facts .fact {display:grid !important;grid-template-columns:minmax(0,1fr) !important;gap:5px !important;}
body.dg141-unified .scen .facts .fact > .k {display:block;line-height:1.5;}
