
/* EcoSignal V99.3.17 — Workspace Decision Review Workbench */
.dr17-overlay{position:fixed;inset:0;z-index:100000;background:#f7f9fc;color:#111827;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;overflow:auto}
.dr17-shell{min-height:100vh;display:grid;grid-template-columns:196px minmax(0,1fr);background:#f7f9fc}
.dr17-side{position:sticky;top:0;height:100vh;background:linear-gradient(180deg,#06162c 0%,#04142a 55%,#031225 100%);color:#fff;padding:21px 18px 18px;box-sizing:border-box;display:flex;flex-direction:column}
.dr17-brand{display:flex;align-items:center;gap:9px;font-weight:800;font-size:20px;padding:0 0 22px;border-bottom:1px solid rgba(255,255,255,.14)}
.dr17-brand i{width:26px;height:26px;border-radius:8px;background:linear-gradient(135deg,#83eb55,#1fa43d);display:inline-grid;place-items:center;font-style:normal;color:#fff}
.dr17-side-label{margin:18px 0 8px;font-size:10px;letter-spacing:.08em;color:#a7b4c6;text-transform:uppercase}
.dr17-nav{display:grid;gap:4px}.dr17-nav button{width:100%;border:0;background:transparent;color:#f6f8fb;text-align:left;border-radius:8px;padding:9px 9px;display:flex;align-items:center;gap:9px;font-size:12px;cursor:pointer}.dr17-nav button:hover,.dr17-nav button.active{background:rgba(255,255,255,.08)}
.dr17-nav .count{margin-left:auto;min-width:21px;height:21px;padding:0 6px;border-radius:999px;background:#2d3a4f;display:inline-grid;place-items:center;font-size:10px}.dr17-nav .count.red{background:#ef2d26}
.dr17-reviewer{margin-top:auto;border-top:1px solid rgba(255,255,255,.13);padding-top:16px;display:flex;gap:10px;align-items:center}.dr17-avatar{width:34px;height:34px;border-radius:50%;background:#e6ebf2;color:#182235;display:grid;place-items:center;font-weight:800}.dr17-reviewer b,.dr17-reviewer small{display:block}.dr17-reviewer b{font-size:12px}.dr17-reviewer small{font-size:10px;color:#c2cbd7;margin-top:2px}
.dr17-main{padding:17px 18px 20px;min-width:0}.dr17-topline{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:8px}.dr17-back{border:0;background:transparent;color:#1f3656;font-size:12px;cursor:pointer;padding:6px 0}.dr17-title{font-size:19px;font-weight:800;text-align:center;flex:1}.dr17-version{font-size:13px;font-weight:700;margin-left:8px}.dr17-topicons{display:flex;gap:14px;color:#16243a}
.dr17-record-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:10px}.dr17-record-head h1{font-size:18px;margin:2px 0 5px}.dr17-record-meta{font-size:10.5px;color:#64748b;display:flex;flex-wrap:wrap;gap:12px}.dr17-priority{display:inline-block;margin-left:7px;padding:4px 8px;border-radius:999px;background:#fee2e2;color:#d12b21;font-size:9px;font-weight:800;vertical-align:middle}.dr17-pager{display:flex;gap:8px}.dr17-pager button,.dr17-dotbtn{border:1px solid #d7dee9;background:#fff;border-radius:5px;padding:8px 15px;color:#172033;font-size:11px;cursor:pointer}
.dr17-summary{display:grid;grid-template-columns:1.05fr 1.1fr .65fr 1.05fr 1.2fr;background:#fff;border:1.5px solid #2563eb;border-radius:7px;overflow:hidden;margin-bottom:8px}.dr17-summary>div{padding:15px 18px;min-height:111px;border-right:1px solid #e5eaf1}.dr17-summary>div:last-child{border-right:0}.dr17-summary label,.dr17-panel-title{font-size:10px;font-weight:800;text-transform:uppercase}.dr17-summary label{display:block;margin-bottom:15px}.dr17-summary p{font-size:11px;line-height:1.55;margin:4px 0}.dr17-summary .changed{color:#d81f17;font-weight:800}.dr17-score{text-align:center}.dr17-score strong{display:block;font-size:30px;color:#0b8c45;margin-top:3px}.dr17-score em{font-style:normal;font-weight:700;font-size:11px}.dr17-meter{height:5px;background:#e7edf4;border-radius:999px;overflow:hidden;margin:8px 2px}.dr17-meter i{display:block;height:100%;background:#1fb25a;border-radius:999px}
.dr17-grid{display:grid;grid-template-columns:minmax(0,2.05fr) minmax(330px,.95fr);gap:8px}.dr17-leftcol,.dr17-rightcol{display:grid;gap:8px;align-content:start}
.dr17-card{background:#fff;border:1px solid #d9e2ec;border-radius:7px;padding:13px 15px;box-sizing:border-box}.dr17-gates{border-color:#2aa85f}.dr17-gates-wrap{display:grid;grid-template-columns:repeat(4,minmax(0,1fr)) 118px;gap:8px;margin-top:10px}.dr17-gate{border:1px solid #d8e7dd;border-radius:6px;background:#fbfefc;padding:12px 11px;min-height:112px}.dr17-gate b{font-size:10px;display:block;margin-bottom:8px}.dr17-gate p{font-size:9.5px;line-height:1.45;margin:0;min-height:40px}.dr17-pass{font-size:11px;color:#0b9445;font-weight:800;margin-top:10px}.dr17-gate-total{border:1px solid #a9daba;border-radius:6px;background:#eefaf1;padding:13px 8px;text-align:center}.dr17-gate-total strong{display:block;font-size:23px;color:#0b873f}.dr17-gate-total b{display:block;color:#0b873f;font-size:10px;margin:4px 0 12px}.dr17-gate-total small{font-size:9.5px}
.dr17-formrow{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.65fr);gap:8px}.dr17-human{border-color:#ef4444}.dr17-help{border-color:#f59e0b}.dr17-form label{display:block;font-size:10px;font-weight:700;margin:10px 0 5px}.dr17-form select,.dr17-form textarea,.dr17-form input[type=text]{width:100%;box-sizing:border-box;border:1px solid #cfd8e5;border-radius:5px;background:#fff;padding:8px 9px;font:inherit;font-size:10.5px;color:#182033}.dr17-form textarea{resize:vertical;min-height:62px}.dr17-radios{display:flex;gap:23px;font-size:10px;align-items:center}.dr17-helpgrid{display:grid;grid-template-columns:1fr 1.05fr;gap:12px}.dr17-checks{display:grid;gap:7px;font-size:10px}.dr17-checks label{margin:0;font-weight:500;display:flex;gap:7px;align-items:center}.dr17-send{background:#ef7a00;border:0;color:#fff;border-radius:5px;padding:9px 22px;font-size:10.5px;font-weight:700;cursor:pointer}
.dr17-ai{border-color:#8b5cf6}.dr17-ai .confidence{float:right;padding:4px 8px;background:#eee7ff;color:#4c1d95;border-radius:5px;font-size:9.5px}.dr17-ai h3{font-size:11px;margin:9px 0}.dr17-ai p,.dr17-ai li{font-size:9.5px;line-height:1.5}.dr17-ai ul{padding:0;margin:4px 0;list-style:none}.dr17-ai li::before{content:"✓";color:#0f9d4b;font-weight:800;margin-right:7px}
.dr17-evidence{border-color:#3b82f6}.dr17-table{width:100%;border-collapse:collapse;margin-top:9px;font-size:8.8px}.dr17-table th,.dr17-table td{border:1px solid #dce4ee;padding:7px 6px;text-align:left}.dr17-table th{background:#f4f7fa;font-size:8px}.dr17-ok{color:#10a04a;font-weight:900;text-align:center}.dr17-evidence-foot{margin-top:8px;font-size:9px;display:flex;justify-content:space-between;gap:8px;align-items:center}.dr17-sufficient{color:#06873f;background:#dcf6e5;padding:3px 7px;border-radius:999px;font-weight:800}
.dr17-trail{border-color:#7c3aed}.dr17-timeline{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;position:relative;margin-top:17px}.dr17-timeline::before{content:"";position:absolute;left:4%;right:4%;top:12px;height:1px;background:#334155}.dr17-step{position:relative;text-align:left;z-index:1}.dr17-step i{width:24px;height:24px;border-radius:50%;display:grid;place-items:center;background:#2453b8;color:white;font-style:normal;font-size:9px;margin:0 0 11px 0}.dr17-step:nth-child(3) i{background:#3aa968}.dr17-step:nth-child(4) i{background:#f59e0b}.dr17-step:nth-child(5) i{background:#0396c8}.dr17-step:nth-child(6) i{background:#8b5cf6}.dr17-step:nth-child(7) i{background:#dc2626}.dr17-step time{font-size:8.5px}.dr17-step p{font-size:8.7px;line-height:1.35;margin:5px 0 0}.dr17-fullhistory{display:block;border:0;background:transparent;margin:7px auto 0;font-size:9px;cursor:pointer}
.dr17-actions{padding:13px 15px}.dr17-actiongrid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:10px}.dr17-actiongrid button{border:1px solid #d7dee8;background:#fff;border-radius:5px;padding:10px 8px;font-size:10px;cursor:pointer}.dr17-actiongrid .complete{background:#2fb463;color:#fff;border-color:#2fb463}.dr17-actiongrid .escalate{background:#ff3b35;color:#fff;border-color:#ff3b35}.dr17-actiongrid .draft{grid-column:1/-1;max-width:150px}.dr17-footer{display:flex;justify-content:space-between;gap:12px;margin:15px 0 0;color:#64748b;font-size:9px;border-top:1px solid #dde4ed;padding-top:9px}
.dr17-status{position:fixed;right:20px;bottom:20px;z-index:100002;background:#0f172a;color:#fff;padding:10px 14px;border-radius:7px;font-size:11px;box-shadow:0 12px 30px rgba(15,23,42,.25)}
@media(max-width:1100px){.dr17-shell{grid-template-columns:165px minmax(0,1fr)}.dr17-summary{grid-template-columns:1fr 1fr 1fr}.dr17-summary>div:nth-child(n+4){border-top:1px solid #e5eaf1}.dr17-grid{grid-template-columns:1fr}.dr17-formrow{grid-template-columns:1fr}.dr17-gates-wrap{grid-template-columns:repeat(2,1fr)}.dr17-gate-total{grid-column:1/-1}.dr17-rightcol{grid-template-columns:1fr 1fr}.dr17-actions{grid-column:1/-1}}
@media(max-width:720px){.dr17-shell{display:block}.dr17-side{position:relative;height:auto}.dr17-nav{grid-template-columns:repeat(2,1fr)}.dr17-reviewer{display:none}.dr17-summary{grid-template-columns:1fr}.dr17-summary>div{border-right:0;border-bottom:1px solid #e5eaf1}.dr17-helpgrid,.dr17-rightcol{grid-template-columns:1fr}.dr17-gates-wrap{grid-template-columns:1fr}.dr17-timeline{grid-template-columns:1fr 1fr}.dr17-timeline::before{display:none}}


/* V99.3.17 Build 20260831.14 — reference-image proportion lock
   Target reference: 1536 x 1024. On wide desktop screens, keep the same
   sidebar/content proportions and visual density instead of stretching the UI. */
.dr17-overlay{background:#f7f9fc}
.dr17-shell{width:100%;max-width:none;margin:0;grid-template-columns:196px minmax(0,1fr)}
.dr17-side{display:flex!important;visibility:visible!important;opacity:1!important;width:auto}
.dr17-main{max-width:none}
@media (min-width:1800px){
  .dr17-shell{grid-template-columns:260px minmax(0,1fr)}
  .dr17-side{padding:28px 24px 23px}
  .dr17-brand{gap:12px;font-size:26px;padding-bottom:29px}
  .dr17-brand i{width:34px;height:34px;border-radius:10px}
  .dr17-side-label{margin:24px 0 11px;font-size:13px}
  .dr17-nav{gap:5px}
  .dr17-nav button{border-radius:10px;padding:12px 12px;gap:12px;font-size:16px}
  .dr17-nav .count{min-width:28px;height:28px;padding:0 8px;font-size:13px}
  .dr17-reviewer{padding-top:21px;gap:13px}
  .dr17-avatar{width:45px;height:45px;font-size:16px}
  .dr17-reviewer b{font-size:16px}.dr17-reviewer small{font-size:13px;margin-top:3px}

  .dr17-main{padding:22px 24px 26px}
  .dr17-topline{gap:21px;margin-bottom:10px}
  .dr17-back{font-size:15px;padding:8px 0}
  .dr17-title{font-size:25px}
  .dr17-version{font-size:17px;margin-left:11px}
  .dr17-topicons{gap:19px;font-size:16px}
  .dr17-record-head{gap:21px;margin-bottom:13px}
  .dr17-record-head h1{font-size:24px;margin:3px 0 7px}
  .dr17-record-meta{font-size:14px;gap:16px}
  .dr17-priority{margin-left:9px;padding:5px 10px;font-size:12px}
  .dr17-pager{gap:10px}
  .dr17-pager button,.dr17-dotbtn{border-radius:7px;padding:10px 20px;font-size:14px}

  .dr17-summary{grid-template-columns:1.05fr 1.1fr .65fr 1.05fr 1.2fr;border-radius:9px;margin-bottom:10px}
  .dr17-summary>div{padding:20px 24px;min-height:148px}
  .dr17-summary label,.dr17-panel-title{font-size:13px}
  .dr17-summary label{margin-bottom:20px}
  .dr17-summary p{font-size:14px;line-height:1.55;margin:5px 0}
  .dr17-score strong{font-size:40px;margin-top:4px}
  .dr17-score em{font-size:14px}
  .dr17-meter{height:7px;margin:11px 3px}

  .dr17-grid{grid-template-columns:minmax(0,2.05fr) minmax(440px,.95fr);gap:10px}
  .dr17-leftcol,.dr17-rightcol{gap:10px}
  .dr17-card{border-radius:9px;padding:17px 20px}
  .dr17-gates-wrap{gap:10px;margin-top:13px}
  .dr17-gate{border-radius:8px;padding:16px 15px;min-height:149px}
  .dr17-gate b{font-size:13px;margin-bottom:10px}
  .dr17-gate p{font-size:12.5px;line-height:1.45;min-height:53px}
  .dr17-pass{font-size:14px;margin-top:13px}
  .dr17-gate-total{border-radius:8px;padding:17px 11px}
  .dr17-gate-total strong{font-size:31px}
  .dr17-gate-total b{font-size:13px;margin:5px 0 16px}
  .dr17-gate-total small{font-size:12.5px}

  .dr17-formrow{grid-template-columns:minmax(0,.9fr) minmax(0,1.65fr);gap:10px}
  .dr17-form label{font-size:13px;margin:13px 0 7px}
  .dr17-form select,.dr17-form textarea,.dr17-form input[type=text]{border-radius:7px;padding:10px 12px;font-size:14px}
  .dr17-form textarea{min-height:82px}
  .dr17-radios{gap:30px;font-size:13px}
  .dr17-helpgrid{gap:16px}
  .dr17-checks{gap:9px;font-size:13px}
  .dr17-checks label{gap:9px}
  .dr17-send{border-radius:7px;padding:12px 29px;font-size:14px}

  .dr17-ai .confidence{padding:5px 10px;border-radius:7px;font-size:12.5px}
  .dr17-ai h3{font-size:14px;margin:12px 0}
  .dr17-ai p,.dr17-ai li{font-size:12.5px;line-height:1.5}
  .dr17-ai li::before{margin-right:9px}
  .dr17-table{margin-top:12px;font-size:11.5px}
  .dr17-table th,.dr17-table td{padding:9px 8px}
  .dr17-table th{font-size:10.5px}
  .dr17-evidence-foot{margin-top:11px;font-size:12px}
  .dr17-sufficient{padding:4px 9px}

  .dr17-timeline{gap:7px;margin-top:22px}
  .dr17-timeline::before{top:16px}
  .dr17-step i{width:32px;height:32px;font-size:12px;margin-bottom:14px}
  .dr17-step time{font-size:11.5px}
  .dr17-step p{font-size:11.5px;line-height:1.35;margin-top:7px}
  .dr17-fullhistory{margin-top:9px;font-size:12px}

  .dr17-actions{padding:17px 20px}
  .dr17-actiongrid{gap:10px;margin-top:13px}
  .dr17-actiongrid button{border-radius:7px;padding:13px 11px;font-size:13px}
  .dr17-actiongrid .draft{max-width:200px}
  .dr17-footer{gap:16px;margin-top:20px;font-size:12px;padding-top:12px}
}

/* V99.3.17.3 — readable facility title and data-driven trail */
.dr17-record-head>div:first-child{min-width:0;flex:1}
.dr17-record-head h1{display:flex;align-items:baseline;flex-wrap:wrap;column-gap:.38em;row-gap:.18em;letter-spacing:.005em;line-height:1.35}
.dr17-review-label{white-space:nowrap}
.dr17-facility-name{min-width:0;overflow-wrap:anywhere;word-break:normal;word-spacing:.16em;letter-spacing:.018em;font-weight:800}
.dr17-priority{flex:0 0 auto}
.dr17-timeline{grid-template-columns:repeat(var(--trail-count,7),minmax(0,1fr))}
.dr17-empty{grid-column:1/-1;color:#475569;font-size:12px}
@media(max-width:720px){.dr17-record-head h1{font-size:18px}.dr17-facility-name{flex-basis:100%}.dr17-timeline{grid-template-columns:1fr 1fr}}

/* V99.3.17.2 Build 20260831.17 — one-step larger type and enhanced contrast */
.dr17-overlay{background:#f1f5f9;color:#0b1220}
.dr17-shell{background:#f1f5f9}
.dr17-main{color:#0b1220}
.dr17-card,.dr17-summary{background:#ffffff;color:#0b1220}
.dr17-record-meta,.dr17-footer{color:#334155}
.dr17-back{color:#17365f}
.dr17-summary>div{background:#ffffff}
.dr17-summary p,.dr17-gate p,.dr17-ai p,.dr17-ai li,.dr17-form label{color:#111827}
.dr17-gate{background:#ffffff;border-color:#bfd7c8}
.dr17-gate-total{background:#e3f5e9;border-color:#75bd8e;color:#064e2a}
.dr17-ai{background:#ffffff}
.dr17-ai .confidence{background:#ddd3ff;color:#321274}
.dr17-table{color:#0f172a}
.dr17-table th{background:#e7edf5;color:#0b1220;border-color:#c7d2df}
.dr17-table td{background:#ffffff;border-color:#cbd5e1}
.dr17-evidence-foot{color:#26364d}
.dr17-sufficient{background:#ccefd8;color:#065f32}
.dr17-actiongrid button{color:#111827;background:#ffffff;border-color:#b8c4d2}
.dr17-actiongrid .complete,.dr17-actiongrid .escalate{color:#ffffff}
.dr17-form select,.dr17-form textarea,.dr17-form input[type=text]{color:#0b1220;border-color:#aebdce;background:#ffffff}
.dr17-form textarea::placeholder{color:#526277;opacity:1}
.dr17-nav .count{background:#3b4a60;color:#ffffff}

@media (min-width:1101px){
  .dr17-brand{font-size:21px}
  .dr17-side-label{font-size:12px;color:#c5cfdd}
  .dr17-nav button{font-size:15px}
  .dr17-nav .count{font-size:13px}
  .dr17-reviewer b{font-size:14px}
  .dr17-reviewer small{font-size:12px;color:#d7deea}
  .dr17-back{font-size:14px}
  .dr17-title{font-size:22px}
  .dr17-version{font-size:16px}
  .dr17-record-head h1{font-size:20px}
  .dr17-record-meta{font-size:13px}
  .dr17-priority{font-size:11px}
  .dr17-pager button,.dr17-dotbtn{font-size:13.5px}
  .dr17-summary label,.dr17-panel-title{font-size:13px}
  .dr17-summary p{font-size:14px}
  .dr17-score em{font-size:14px}
  .dr17-score strong{font-size:33px}
  .dr17-gate b{font-size:13px}
  .dr17-gate p{font-size:12.5px}
  .dr17-pass{font-size:13.5px}
  .dr17-gate-total b{font-size:12px}
  .dr17-gate-total small{font-size:11.5px}
  .dr17-form label{font-size:12.5px}
  .dr17-form select,.dr17-form textarea,.dr17-form input[type=text]{font-size:13.5px}
  .dr17-radios,.dr17-checks{font-size:13px}
  .dr17-send{font-size:13px}
  .dr17-ai h3{font-size:13.5px}
  .dr17-ai p,.dr17-ai li{font-size:12.5px}
  .dr17-ai .confidence{font-size:12px}
  .dr17-table{font-size:11.5px}
  .dr17-table th{font-size:10.5px}
  .dr17-evidence-foot{font-size:11.5px}
  .dr17-step time,.dr17-step p{font-size:11px}
  .dr17-fullhistory{font-size:12px}
  .dr17-actiongrid button{font-size:13px}
  .dr17-footer{font-size:11.5px}
}


/* V99.3.17 Build 20260831.15 — Review visual harmony / English-only */
.dr17-overlay{
  background:#f7f9fc;
  color:#111827;
  font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  font-size:14px;
}
.dr17-shell{
  width:100%;
  max-width:1920px;
  min-height:100vh;
  margin:0 auto;
  grid-template-columns:220px minmax(0,1fr);
}
.dr17-side{
  width:auto;
  padding:24px 20px 20px;
}
.dr17-main{
  padding:20px 22px 24px;
  min-width:0;
}
.dr17-brand{font-size:22px}
.dr17-side-label{font-size:11px}
.dr17-nav button{font-size:13px;padding:10px 10px}
.dr17-nav .count{font-size:11px}
.dr17-reviewer b{font-size:13px}
.dr17-reviewer small{font-size:11px}

.dr17-topline{margin-bottom:10px}
.dr17-back{font-size:13px}
.dr17-title{font-size:22px;line-height:1.25}
.dr17-version{font-size:14px}
.dr17-record-head h1{font-size:20px;line-height:1.25}
.dr17-record-meta{font-size:11.5px;line-height:1.4}
.dr17-priority{font-size:10px}
.dr17-pager button,.dr17-dotbtn{font-size:12px;padding:8px 14px}

.dr17-summary{
  grid-template-columns:1.05fr 1.15fr .7fr 1fr 1.2fr;
  margin-bottom:10px;
}
.dr17-summary>div{padding:16px 18px;min-height:124px}
.dr17-summary label,.dr17-panel-title{font-size:11px;letter-spacing:.01em}
.dr17-summary label{margin-bottom:14px}
.dr17-summary p{font-size:12px;line-height:1.5;margin:4px 0}
.dr17-score em{font-size:12px}
.dr17-score strong{font-size:32px}
.dr17-meter{height:5px}

.dr17-grid{
  grid-template-columns:minmax(0,2fr) minmax(350px,.92fr);
  gap:10px;
}
.dr17-leftcol,.dr17-rightcol{gap:10px}
.dr17-card{padding:14px 16px}
.dr17-gates-wrap{
  grid-template-columns:repeat(4,minmax(0,1fr)) 124px;
  gap:9px;
  margin-top:10px;
}
.dr17-gate{padding:12px 11px;min-height:118px}
.dr17-gate b{font-size:11px}
.dr17-gate p{font-size:10.5px;min-height:42px}
.dr17-pass{font-size:11px}
.dr17-gate-total strong{font-size:25px}
.dr17-gate-total b{font-size:10px}
.dr17-gate-total small{font-size:9.5px}

.dr17-formrow{
  grid-template-columns:minmax(0,.95fr) minmax(0,1.7fr);
  gap:10px;
}
.dr17-form label{font-size:11px;margin:10px 0 5px}
.dr17-form select,
.dr17-form textarea,
.dr17-form input[type=text]{
  font-size:11.5px;
  padding:8px 9px;
  line-height:1.45;
}
.dr17-form textarea{min-height:66px}
.dr17-radios{font-size:11px;gap:20px}
.dr17-checks{font-size:11px;gap:7px}
.dr17-send{font-size:11.5px;padding:9px 20px}

.dr17-ai h3{font-size:12px}
.dr17-ai p,.dr17-ai li{font-size:10.5px;line-height:1.5}
.dr17-ai .confidence{font-size:10px}
.dr17-table{font-size:9.5px}
.dr17-table th{font-size:9px}
.dr17-table th,.dr17-table td{padding:7px 6px}
.dr17-evidence-foot{font-size:9.5px}

.dr17-timeline{margin-top:16px}
.dr17-step i{width:26px;height:26px;font-size:10px}
.dr17-step time{font-size:9px}
.dr17-step p{font-size:9px;line-height:1.35}
.dr17-fullhistory{font-size:10px}

.dr17-actiongrid button{font-size:11px;padding:10px 8px}
.dr17-footer{font-size:9.5px}

/* Prevent oversized wide-screen scaling: keep visual density consistent */
@media (min-width:1800px){
  .dr17-shell{max-width:1920px;grid-template-columns:230px minmax(0,1fr)}
  .dr17-main{padding:22px 24px 26px}
  .dr17-brand{font-size:23px}
  .dr17-nav button{font-size:13.5px}
  .dr17-title{font-size:23px}
  .dr17-record-head h1{font-size:21px}
  .dr17-record-meta{font-size:12px}
  .dr17-summary p{font-size:12.5px}
  .dr17-summary>div{min-height:128px}
  .dr17-gate b{font-size:11.5px}
  .dr17-gate p{font-size:10.8px}
  .dr17-form select,.dr17-form textarea,.dr17-form input[type=text]{font-size:12px}
  .dr17-ai p,.dr17-ai li{font-size:11px}
  .dr17-table{font-size:10px}
}

/* Standard laptop */
@media (max-width:1366px){
  .dr17-shell{grid-template-columns:190px minmax(0,1fr)}
  .dr17-main{padding:16px 16px 20px}
  .dr17-title{font-size:19px}
  .dr17-record-head h1{font-size:18px}
  .dr17-summary>div{padding:13px 14px}
  .dr17-summary p{font-size:11px}
  .dr17-grid{grid-template-columns:minmax(0,1.9fr) minmax(320px,.95fr)}
  .dr17-gates-wrap{grid-template-columns:repeat(4,minmax(0,1fr)) 110px}
  .dr17-card{padding:12px 13px}
}

@media (max-width:1100px){
  .dr17-shell{grid-template-columns:170px minmax(0,1fr)}
  .dr17-summary{grid-template-columns:1fr 1fr 1fr}
  .dr17-grid{grid-template-columns:1fr}
  .dr17-formrow{grid-template-columns:1fr}
  .dr17-gates-wrap{grid-template-columns:repeat(2,1fr)}
  .dr17-gate-total{grid-column:1/-1}
  .dr17-rightcol{grid-template-columns:1fr 1fr}
  .dr17-actions{grid-column:1/-1}
}

/* V99.3.17.1 Build 20260831.16 — reference typography scale
   Matches the supplied 1536 x 1024 Workspace Review concept while preserving
   the approved information architecture and responsive breakpoints. */
@media (min-width:1101px){
  .dr17-shell{grid-template-columns:196px minmax(0,1fr)}
  .dr17-side{padding:21px 18px 18px}
  .dr17-main{padding:17px 18px 0}
  .dr17-brand{font-size:20px}
  .dr17-side-label{font-size:11px}
  .dr17-nav button{font-size:14px;padding:9px}
  .dr17-nav .count{font-size:12px}
  .dr17-reviewer b{font-size:13px}
  .dr17-reviewer small{font-size:11px}

  .dr17-back{font-size:13px}
  .dr17-title{font-size:21px}
  .dr17-version{font-size:15px}
  .dr17-record-head h1{font-size:19px}
  .dr17-record-meta{font-size:12px}
  .dr17-priority{font-size:10px}
  .dr17-pager button,.dr17-dotbtn{font-size:12.5px}

  .dr17-summary>div{padding:15px 18px;min-height:124px}
  .dr17-summary label,.dr17-panel-title{font-size:12px}
  .dr17-summary p{font-size:13px;line-height:1.55}
  .dr17-score em{font-size:13px}
  .dr17-score strong{font-size:32px}

  .dr17-card{padding:13px 15px}
  .dr17-gate b{font-size:12px}
  .dr17-gate p{font-size:11.5px;line-height:1.45}
  .dr17-pass{font-size:12.5px}
  .dr17-gate-total b{font-size:11px}
  .dr17-gate-total small{font-size:10.5px}

  .dr17-form label{font-size:11.5px;margin:5px 0 3px}
  .dr17-form select,
  .dr17-form textarea,
  .dr17-form input[type=text]{font-size:12.5px}
  .dr17-radios,.dr17-checks{font-size:12px}
  .dr17-checks{gap:3px}
  .dr17-checks label,.dr17-radios label{margin:0}
  .dr17-send{font-size:12px}

  .dr17-ai h3{font-size:12.5px}
  .dr17-ai p,.dr17-ai li{font-size:11.5px}
  .dr17-ai .confidence{font-size:11px}
  .dr17-table{font-size:10.5px}
  .dr17-table th{font-size:9.5px}
  .dr17-evidence-foot{font-size:10.5px}

  .dr17-step time{font-size:10px}
  .dr17-step p{font-size:10px}
  .dr17-fullhistory{font-size:11px}
  .dr17-actions{padding:9px 15px}
  .dr17-actiongrid button{font-size:12px;padding:8px}
  .dr17-footer{font-size:10.5px;margin-top:7px;padding-top:5px}
}

/* V99.3.17.2 final precedence — larger type and enhanced contrast */
.dr17-overlay,.dr17-shell{background:#f1f5f9;color:#0b1220}
.dr17-main{color:#0b1220}
.dr17-card,.dr17-summary,.dr17-summary>div,.dr17-gate,.dr17-ai{background:#fff;color:#0b1220}
.dr17-record-meta,.dr17-footer{color:#334155}
.dr17-back{color:#17365f}
.dr17-summary p,.dr17-gate p,.dr17-ai p,.dr17-ai li,.dr17-form label{color:#111827}
.dr17-gate{border-color:#bfd7c8}
.dr17-gate-total{background:#e3f5e9;border-color:#75bd8e;color:#064e2a}
.dr17-ai .confidence{background:#ddd3ff;color:#321274}
.dr17-table{color:#0f172a}
.dr17-table th{background:#e7edf5;color:#0b1220;border-color:#c7d2df}
.dr17-table td{background:#fff;border-color:#cbd5e1}
.dr17-evidence-foot{color:#26364d}
.dr17-sufficient{background:#ccefd8;color:#065f32}
.dr17-actiongrid button{color:#111827;background:#fff;border-color:#b8c4d2}
.dr17-actiongrid .complete{color:#fff;background:#15803d;border-color:#15803d}
.dr17-actiongrid .escalate{color:#fff;background:#dc2626;border-color:#dc2626}
.dr17-send{color:#fff;background:#b45309}
.dr17-form select,.dr17-form textarea,.dr17-form input[type=text]{color:#0b1220;border-color:#aebdce;background:#fff}
.dr17-form textarea::placeholder{color:#526277;opacity:1}
.dr17-nav .count{background:#3b4a60;color:#fff}
@media (min-width:1101px){
  .dr17-brand{font-size:21px}.dr17-side-label{font-size:12px;color:#c5cfdd}.dr17-nav button{font-size:15px}.dr17-nav .count{font-size:13px}
  .dr17-reviewer b{font-size:14px}.dr17-reviewer small{font-size:12px;color:#d7deea}.dr17-back{font-size:14px}.dr17-title{font-size:22px}.dr17-version{font-size:16px}
  .dr17-record-head h1{font-size:20px}.dr17-record-meta{font-size:13px}.dr17-priority{font-size:11px}.dr17-pager button,.dr17-dotbtn{font-size:13.5px}
  .dr17-summary label,.dr17-panel-title{font-size:13px}.dr17-summary p{font-size:14px}.dr17-score em{font-size:14px}.dr17-score strong{font-size:33px}
  .dr17-gate b{font-size:13px}.dr17-gate p{font-size:12.5px}.dr17-pass{font-size:13.5px}.dr17-gate-total b{font-size:12px}.dr17-gate-total small{font-size:11.5px}
  .dr17-form label{font-size:12.5px}.dr17-form select,.dr17-form textarea,.dr17-form input[type=text]{font-size:13.5px}.dr17-radios,.dr17-checks{font-size:13px}.dr17-send{font-size:13px}
  .dr17-ai h3{font-size:13.5px}.dr17-ai p,.dr17-ai li{font-size:12.5px}.dr17-ai .confidence{font-size:12px}
  .dr17-table{font-size:11.5px}.dr17-table th{font-size:10.5px}.dr17-evidence-foot{font-size:11.5px}
  .dr17-step time,.dr17-step p{font-size:11px}.dr17-fullhistory{font-size:12px}.dr17-actiongrid button{font-size:13px}.dr17-footer{font-size:11.5px}
}

/* V99.3.17.3 final precedence */
.dr17-record-head>div:first-child{min-width:0;flex:1}
.dr17-record-head h1{display:flex;align-items:baseline;flex-wrap:wrap;column-gap:.38em;row-gap:.18em;letter-spacing:.005em;line-height:1.35}
.dr17-review-label{white-space:nowrap}.dr17-facility-name{min-width:0;overflow-wrap:anywhere;word-break:normal;word-spacing:.16em;letter-spacing:.018em;font-weight:800}.dr17-priority{flex:0 0 auto}
.dr17-timeline{grid-template-columns:repeat(var(--trail-count,7),minmax(0,1fr))}.dr17-empty{grid-column:1/-1;color:#475569;font-size:12px}
@media(max-width:720px){.dr17-record-head h1{font-size:18px}.dr17-facility-name{flex-basis:100%}.dr17-timeline{grid-template-columns:1fr 1fr}}
