@media screen {
  .sidebar{background:linear-gradient(164deg,#123f52,#103545)}
  .nav-card-link{background:#1b5a63;border-color:#44858a;color:#fff;font-weight:700}
  .nav-card-link:hover,.nav-card-link[aria-current=page]{background:#266971;border-color:#80b5b0}
  .topbar{background:#fbfdfc}
  .dashboard-home .page-head{margin-bottom:19px}
  .dashboard-home .page-head h1{font-size:clamp(25px,3vw,35px)}
  .dashboard-entry,.dashboard-details{display:grid;grid-template-columns:minmax(0,1.32fr) minmax(0,1fr);gap:15px;margin-bottom:15px}
  .dashboard-details.single{grid-template-columns:minmax(0,1fr)}
  .dashboard-details .panel,.dashboard-entry .panel{margin-bottom:0}
  .active-card-panel,.dashboard-upload{min-width:0;padding:clamp(15px,2vw,23px);border-radius:17px;display:flex;flex-direction:column;gap:11px}
  .active-card-panel{background:radial-gradient(ellipse at 0 0,#276374 0,transparent 68%),#15445a;color:#fff;border:1px solid #235d6b;box-shadow:var(--shadow)}
  .dashboard-card-heading{display:flex;align-items:center;gap:11px}
  .dashboard-card-heading h2{font-size:21px;line-height:1.4}
  .dashboard-card-heading p,.active-card-empty p{font-size:12px;margin-top:3px;color:var(--muted)}
  .active-card-panel p{color:#d1e5e6}
  .dashboard-symbol,.pdf-icon{display:grid;place-items:center;flex:none;width:41px;height:41px;border-radius:10px;background:#e3f2ed;color:#146663;font:700 21px/1 Arial,Tahoma,sans-serif}
  .active-card-panel .dashboard-symbol{background:#ffffff19;color:#b6f1dc}
  .card-select{display:grid;gap:4px;min-width:0;font-size:12px;font-weight:700;color:#315864}
  .card-select select{width:100%;min-width:0;min-height:44px;border-color:#a9cbc6;color:#15445a;font-size:13px;font-weight:700;text-overflow:ellipsis}
  .page-head>.card-select{width:390px;max-width:48%}
  .active-card-panel .card-select{color:#e6f5f2}
  .active-card-panel .card-select select{min-height:52px;padding-inline:12px;font-size:14px}
  .active-card-panel .controls,.dashboard-upload .controls{margin-top:auto;padding-top:2px}
  .active-card-panel .btn.primary{background:#c5f0df;color:#143e49}
  .active-card-panel .btn.primary:hover{background:#e4f8ef}
  .active-card-panel .btn.secondary{background:#ffffff10;border-color:#ffffff58;color:#fff}
  .active-card-panel .btn.secondary:hover{background:#ffffff22}
  .active-card-empty{padding:13px 14px;border:1px dashed #ffffff60;border-radius:10px;background:#ffffff0d}
  .upload-picker.btn{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;min-height:70px;padding:10px 12px;cursor:pointer;text-align:start;background:#f5faf8;border:1px dashed #6ca9a1}
  .upload-picker:hover{background:#eaf5f1}
  .upload-picker strong,.upload-picker small{display:block}
  .upload-picker small,.upload-status{color:var(--muted);font-size:11px}
  .pdf-icon{width:36px;height:41px;border:1px solid #bddad2;font-size:10px}
  .upload-status{overflow-wrap:anywhere}
  .upload-status:empty{display:none}
  .dashboard-upload[aria-busy=true] .upload-picker{opacity:.65;cursor:default}
  .dashboard-home .metric{min-height:98px;border-top:3px solid #94c3b9}
  .dashboard-home .metric strong{color:#15445a}
  .dashboard-scores,.dashboard-steps{display:grid;gap:11px}
  .dashboard-score>div:first-child{display:flex;justify-content:space-between;gap:10px;font-size:13px}
  .dashboard-score bdi{font-weight:700;color:#086862}
  .score-track{height:7px;margin-top:3px;overflow:hidden;background:#e5f0ed;border-radius:10px}
  .score-track span{display:block;height:100%;background:linear-gradient(90deg,#0b8079,#3ca899);border-radius:10px}
  .dashboard-steps{margin:0;padding:0;list-style:none}
  .dashboard-steps li{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;padding:6px 0;border-bottom:1px solid #eaf0ee}
  .dashboard-steps li:last-child{border-bottom:0}
  .dashboard-steps strong{font-size:13px}
  .step-index{display:grid;place-items:center;width:27px;height:27px;border-radius:7px;background:#e8f3ee;color:#166764;font-weight:700}
  .saved-card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,245px),1fr));gap:10px}
  .saved-card{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:start;gap:9px;padding:11px;text-align:start;border:1px solid #cfdedc;border-radius:11px;background:#fbfdfc;color:var(--navy)}
  .saved-card:hover{border-color:#83b3ad;background:#f0f8f4}
  .saved-card[aria-pressed=true]{border-color:#26847c;background:#edf7f3;box-shadow:inset 0 0 0 1px #26847c}
  .saved-card .dashboard-symbol{width:32px;height:32px;font-size:17px}
  .saved-card-text{min-width:0;display:grid;justify-items:start;gap:2px;overflow-wrap:anywhere}
  .saved-card-text small{font-size:11px;color:var(--muted)}
  .saved-card-check{font:700 17px/1.7 Arial,Tahoma,sans-serif;color:#15756b}
}
@media screen and (max-width:940px){
  .dashboard-entry,.dashboard-details{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media screen and (max-width:660px){
  .dashboard-entry,.dashboard-details{grid-template-columns:minmax(0,1fr)}
  .dashboard-home .page-head{margin-bottom:13px}
  .page-head>.card-select{width:100%;max-width:100%}
  .dashboard-home .metrics{gap:7px}
  .dashboard-home .metric{min-height:86px;padding:8px}
  .dashboard-home .metric strong{font-size:clamp(14px,4.7vw,21px)}
}

@media screen {
  .saved-card-entry{display:grid;align-content:start;gap:6px;min-width:0}
  .saved-card-entry .saved-card{width:100%}
  .saved-card-entry .delete-card{justify-self:end;min-height:32px;font-size:11px;color:#983e3d}
  .card-delete-description{margin-block:8px;color:var(--muted)}
  .card-delete-error:not(:empty){margin-block:8px;color:#983e3d}
  .btn.danger{background:#9b3f3e;color:#fff}
  .btn.danger:hover{background:#78302e}
}
