/*
 * Helpful Saints OS 1.7.1 — Aesthetic Refinement Layer
 * Sacred Futurism, strengthened contrast, coherent admin/public surfaces,
 * premium forms, tables, notices, employee operations, and recovery.
 */

:root{
  --hsc171-page:#eef3f6;
  --hsc171-page-deep:#e7edf1;
  --hsc171-surface:rgba(255,255,255,.96);
  --hsc171-surface-soft:rgba(248,251,252,.95);
  --hsc171-line:rgba(12,41,64,.14);
  --hsc171-line-strong:rgba(12,41,64,.24);
  --hsc171-ink:#102433;
  --hsc171-muted:#526a79;
  --hsc171-gold:#c8942d;
  --hsc171-gold-light:#f1d58d;
  --hsc171-blue:#0d3854;
  --hsc171-blue-2:#155675;
  --hsc171-shadow:0 18px 50px rgba(5,28,45,.10),0 2px 10px rgba(5,28,45,.04);
  --hsc171-shadow-hover:0 28px 76px rgba(5,28,45,.16),0 4px 14px rgba(5,28,45,.06);
  --hsc171-transition:180ms cubic-bezier(.2,.7,.2,1);
}

/* ---------- WordPress admin canvas ---------- */
body.toplevel_page_helpful-saints-os #wpcontent,
body.helpful-saints-os_page_hsc-employees-120 #wpcontent,
body.helpful-saints-os_page_hsc-system-intelligence-160 #wpcontent,
body.admin_page_hsc-recovery-160 #wpcontent,
body[class*="helpful-saints"] #wpcontent{
  background:
    radial-gradient(circle at 92% 2%,rgba(209,164,67,.14),transparent 22rem),
    radial-gradient(circle at 7% 84%,rgba(23,111,159,.08),transparent 30rem),
    linear-gradient(180deg,#f7f9fa 0,var(--hsc171-page) 42%,var(--hsc171-page-deep) 100%);
  min-height:100vh;
}
body.toplevel_page_helpful-saints-os #wpbody-content,
body.helpful-saints-os_page_hsc-employees-120 #wpbody-content,
body.helpful-saints-os_page_hsc-system-intelligence-160 #wpbody-content,
body.admin_page_hsc-recovery-160 #wpbody-content{padding-bottom:80px}

.hsc170-admin{
  width:min(1540px,calc(100% - 22px));
  margin:22px 22px 80px 0;
  color:var(--hsc171-ink);
}

/* ---------- Premium dark hero ---------- */
.hsc170-admin-hero,
.hsc170-surface-header{
  border:1px solid rgba(241,213,141,.20);
  background:
    radial-gradient(circle at 84% 13%,rgba(241,213,141,.22),transparent 25%),
    radial-gradient(circle at 8% 108%,rgba(42,139,178,.22),transparent 34%),
    linear-gradient(126deg,#03101c 0,#08263b 48%,#104b67 100%);
  box-shadow:0 42px 100px rgba(3,16,28,.26),inset 0 1px rgba(255,255,255,.08);
}
.hsc170-admin-hero:before,
.hsc170-surface-header:before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  opacity:.43;
  background:
    linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px);
  background-size:58px 58px;
  mask-image:linear-gradient(105deg,#000 0,rgba(0,0,0,.68) 52%,transparent 92%);
}
.hsc170-admin-hero>*,.hsc170-surface-header>*{position:relative;z-index:2}
.hsc170-admin-hero h1,.hsc170-surface-header h1{
  text-wrap:balance;
  text-shadow:0 2px 24px rgba(0,0,0,.22);
}
.hsc170-admin-hero p,.hsc170-surface-header p{color:rgba(255,255,255,.84);max-width:820px}
.hsc170-admin-hero .hsc170-eyebrow,.hsc170-surface-header .hsc170-eyebrow{color:#f3dc9d}
.hsc170-admin-hero .hsc170-eyebrow:before,.hsc170-surface-header .hsc170-eyebrow:before{background:linear-gradient(90deg,#f3dc9d,transparent)}

/* ---------- Third-party/WordPress notices: always readable ---------- */
body.toplevel_page_helpful-saints-os :is(.notice,.updated,.error),
body.helpful-saints-os_page_hsc-system-intelligence-160 :is(.notice,.updated,.error),
body.helpful-saints-os_page_hsc-employees-120 :is(.notice,.updated,.error),
body.admin_page_hsc-recovery-160 :is(.notice,.updated,.error),
.hsc170-admin :is(.notice,.updated,.error){
  color:#17232d!important;
  background:#fff!important;
  border-top:1px solid rgba(12,41,64,.10)!important;
  border-right:1px solid rgba(12,41,64,.10)!important;
  border-bottom:1px solid rgba(12,41,64,.10)!important;
  border-radius:14px!important;
  box-shadow:0 12px 34px rgba(5,28,45,.10)!important;
  margin:16px 0!important;
  padding:11px 42px 11px 15px!important;
  min-height:48px;
}
body.toplevel_page_helpful-saints-os :is(.notice,.updated,.error) :is(p,strong,small,span,li),
body.helpful-saints-os_page_hsc-system-intelligence-160 :is(.notice,.updated,.error) :is(p,strong,small,span,li),
body.helpful-saints-os_page_hsc-employees-120 :is(.notice,.updated,.error) :is(p,strong,small,span,li),
body.admin_page_hsc-recovery-160 :is(.notice,.updated,.error) :is(p,strong,small,span,li),
.hsc170-admin :is(.notice,.updated,.error) :is(p,strong,small,span,li){color:#17232d!important}
body.toplevel_page_helpful-saints-os :is(.notice,.updated,.error) a:not(.button),
body.helpful-saints-os_page_hsc-system-intelligence-160 :is(.notice,.updated,.error) a:not(.button),
body.helpful-saints-os_page_hsc-employees-120 :is(.notice,.updated,.error) a:not(.button),
body.admin_page_hsc-recovery-160 :is(.notice,.updated,.error) a:not(.button),
.hsc170-admin :is(.notice,.updated,.error) a:not(.button){color:#0b6090!important;font-weight:700;text-decoration:underline;text-underline-offset:2px}
body.toplevel_page_helpful-saints-os .notice-dismiss:before,
body.helpful-saints-os_page_hsc-system-intelligence-160 .notice-dismiss:before,
body.helpful-saints-os_page_hsc-employees-120 .notice-dismiss:before,
body.admin_page_hsc-recovery-160 .notice-dismiss:before,
.hsc170-admin .notice-dismiss:before{color:#52606b!important}

/* ---------- Command surfaces ---------- */
.hsc170-admin-command{
  margin-top:-30px;
  padding:15px;
  border-color:rgba(12,41,64,.13);
  background:rgba(255,255,255,.975);
  box-shadow:0 24px 70px rgba(4,27,45,.17),inset 0 1px rgba(255,255,255,.85);
}
.hsc170-admin-command form{padding:3px}
.hsc170-admin-command label span{color:#80590d!important;letter-spacing:.12em}
.hsc170-admin-command textarea{
  min-height:70px;
  padding:10px 12px!important;
  border:1px solid transparent!important;
  border-radius:13px!important;
  color:var(--hsc171-ink)!important;
  background:#f8fafb!important;
  line-height:1.55;
}
.hsc170-admin-command textarea:hover{background:#f3f7f9!important}
.hsc170-admin-command textarea:focus{border-color:rgba(13,56,84,.24)!important;background:#fff!important}
.hsc170-admin-command textarea::placeholder{color:#617482!important;opacity:1}
.hsc170-admin-command button{
  min-height:50px;
  padding:0 21px!important;
  border:0!important;
  border-radius:14px!important;
  background:linear-gradient(135deg,#08283e,#135271)!important;
  color:#fff!important;
  font-weight:800!important;
  box-shadow:0 10px 25px rgba(7,42,65,.20)!important;
  transition:transform var(--hsc171-transition),box-shadow var(--hsc171-transition),filter var(--hsc171-transition);
}
.hsc170-admin-command button:hover{transform:translateY(-1px);filter:brightness(1.06);box-shadow:0 16px 32px rgba(7,42,65,.25)!important}
.hsc170-admin-command-result{padding:17px;border-radius:16px;background:linear-gradient(180deg,#f8fbfc,#f1f6f8);box-shadow:inset 0 1px #fff}

/* ---------- Universal form quality ---------- */
.hsc170-admin :where(input[type="text"],input[type="email"],input[type="number"],input[type="password"],input[type="url"],input[type="search"],input[type="tel"],input[type="date"],input[type="time"],select,textarea),
.hsc170-sacred-futurism :where(input[type="text"],input[type="email"],input[type="number"],input[type="password"],input[type="url"],input[type="search"],input[type="tel"],input[type="date"],input[type="time"],select,textarea){
  min-height:44px;
  border:1px solid rgba(12,41,64,.22);
  border-radius:11px;
  background:#fff;
  color:var(--hsc171-ink);
  box-shadow:inset 0 1px 2px rgba(5,28,45,.035);
  transition:border-color var(--hsc171-transition),box-shadow var(--hsc171-transition),background var(--hsc171-transition);
}
.hsc170-admin :where(input,select,textarea):hover,
.hsc170-sacred-futurism :where(input,select,textarea):hover{border-color:rgba(13,56,84,.36)}
.hsc170-admin :where(input,select,textarea):focus,
.hsc170-sacred-futurism :where(input,select,textarea):focus{
  border-color:#2b789c!important;
  box-shadow:0 0 0 3px rgba(43,120,156,.14)!important;
  outline:0;
}
.hsc170-admin label,.hsc170-sacred-futurism label{color:#294454}

.hsc170-admin :where(.button,button:not(.notice-dismiss)),
.hsc170-sacred-futurism :where(.button,button){
  min-height:42px;
  border-radius:10px;
  transition:transform var(--hsc171-transition),box-shadow var(--hsc171-transition),filter var(--hsc171-transition),background var(--hsc171-transition);
}
.hsc170-admin :where(.button,button:not(.notice-dismiss)):hover,
.hsc170-sacred-futurism :where(.button,button):hover{transform:translateY(-1px)}
.hsc170-admin :where(.button-primary,button.button-primary),
.hsc170-sacred-futurism :where(.button-primary,button.button-primary){
  border-color:#0b3e5b!important;
  background:linear-gradient(135deg,#092d45,#135c7d)!important;
  color:#fff!important;
  box-shadow:0 9px 22px rgba(7,42,65,.18)!important;
  font-weight:750!important;
}

/* ---------- Cards, panels, tabs, tables ---------- */
.hsc170-card,
.hsc170-attention,
.hsc170-digital-twin,
.hsc170-event-stream,
.hsc170-console-section,
.hsc170-relationship,
.hsc170-automation,
.hsc170-role-panel,
.hsc170-evidence-graph,
.hsc120-employee-section,
.hsc160-recovery section{
  border-color:var(--hsc171-line);
  background:linear-gradient(180deg,var(--hsc171-surface),var(--hsc171-surface-soft));
  box-shadow:var(--hsc171-shadow);
}
.hsc170-card,.hsc170-attention-grid article,.hsc170-operator-grid article,.hsc120-employee-card{
  transition:transform var(--hsc171-transition),box-shadow var(--hsc171-transition),border-color var(--hsc171-transition);
}
.hsc170-card:hover,.hsc170-attention-grid article:hover,.hsc170-operator-grid article:hover,.hsc120-employee-card:hover{
  transform:translateY(-2px);
  border-color:rgba(200,148,45,.32);
  box-shadow:var(--hsc171-shadow-hover);
}
.hsc170-console-nav,.hsc120-app-tabs{
  border-color:rgba(12,41,64,.14);
  background:rgba(255,255,255,.965);
  box-shadow:0 12px 34px rgba(5,28,45,.10);
}
.hsc170-console-nav a,.hsc120-app-tabs button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;transition:background var(--hsc171-transition),color var(--hsc171-transition),transform var(--hsc171-transition)}
.hsc170-console-nav a:hover,.hsc120-app-tabs button:hover{background:rgba(13,56,84,.08);transform:none}
.hsc170-console-nav a:focus-visible,.hsc120-app-tabs button:focus-visible{outline:0;box-shadow:0 0 0 3px rgba(200,148,45,.28)}

.hsc170-admin table.widefat,.hsc170-system table,.hsc160-recovery table{
  border:1px solid var(--hsc171-line);
  border-collapse:separate;
  border-spacing:0;
  border-radius:14px;
  overflow:hidden;
  background:#fff;
  box-shadow:0 8px 24px rgba(5,28,45,.06);
}
.hsc170-admin table :is(th,td),.hsc160-recovery table :is(th,td){padding:11px 13px}
.hsc170-admin table thead th,.hsc160-recovery table thead th{
  background:#edf3f6;
  color:#274758;
  font-size:11px;
  font-weight:850;
  letter-spacing:.06em;
  text-transform:uppercase;
}
.hsc170-admin table tbody tr:nth-child(even),.hsc160-recovery table tbody tr:nth-child(even){background:#fbfcfd}

/* ---------- Mission Control and System & Intelligence ---------- */
.hsc170-health-orb{
  border-color:rgba(255,255,255,.22);
  background:linear-gradient(150deg,rgba(255,255,255,.10),rgba(255,255,255,.035));
  box-shadow:inset 0 1px rgba(255,255,255,.12),inset 0 0 48px rgba(255,255,255,.045),0 26px 55px rgba(0,0,0,.21);
}
.hsc170-health-orb strong{color:#fff;text-shadow:0 1px 8px rgba(0,0,0,.25)}
.hsc170-health-orb small{color:rgba(255,255,255,.67)}
.hsc170-attention-grid article{padding:17px 17px 17px 20px;background:linear-gradient(180deg,#fff,#f7fafb)}
.hsc170-attention-grid article:before{width:4px;top:12px;bottom:12px}
.hsc170-attention-grid strong{font-size:15px;line-height:1.35}
.hsc170-event-stream li{padding:12px 3px}
.hsc170-legacy-operations{box-shadow:0 8px 25px rgba(5,28,45,.06)}
.hsc170-legacy-operations>summary{list-style:none;display:flex;align-items:center;gap:8px}
.hsc170-legacy-operations>summary::-webkit-details-marker{display:none}
.hsc170-legacy-operations>summary:before{content:"+";width:22px;height:22px;display:grid;place-items:center;border-radius:50%;background:#edf3f6;color:#174865}
.hsc170-legacy-operations[open]>summary:before{content:"–"}

/* ---------- Employee admin ---------- */
.hsc170-employee-admin>.hsc120-employees{max-width:none;width:100%;margin:0}
.hsc170-employee-admin .hsc120-employee-section{padding:clamp(20px,2.4vw,30px);border-radius:22px}
.hsc170-employee-admin .hsc120-section-head{padding-bottom:14px;border-bottom:1px solid rgba(12,41,64,.10)}
.hsc170-employee-admin .hsc120-section-head p{color:#8a630f!important;opacity:1!important}
.hsc170-employee-admin .hsc120-section-head h2{font-family:var(--hsc170-serif);font-size:clamp(1.65rem,2.4vw,2.2rem);color:#0a2a40;letter-spacing:-.025em}
.hsc170-employee-admin .hsc120-section-head>span{display:inline-flex;align-items:center;min-height:30px;padding:5px 10px;border:1px solid rgba(13,56,84,.12);border-radius:999px;background:#eef4f6;color:#496574;font-size:12px;font-weight:700}
.hsc170-employee-admin .hsc120-form .fields{grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}
.hsc170-employee-admin .hsc120-form label,.hsc170-employee-admin .hsc120-mini-form label{gap:7px;font-size:12px;font-weight:800;letter-spacing:.015em;color:#294554}
.hsc170-employee-admin .hsc120-form :is(input,select,textarea),.hsc170-employee-admin .hsc120-mini-form :is(input,select,textarea){min-height:44px;padding:7px 11px;max-width:none}
.hsc170-employee-admin .hsc120-form select[name="access_level"]{font-weight:800;color:#123e58;background-color:#f8fbfc}
.hsc170-employee-admin .hsc120-default-note{
  padding:15px 17px;
  border:1px solid rgba(200,148,45,.28);
  border-radius:14px;
  background:linear-gradient(135deg,#fff9e8,#fff);
  color:#4c3b14;
}
.hsc170-employee-admin .hsc120-employee-grid{gap:15px}
.hsc170-employee-admin .hsc120-employee-card{padding:18px;border-color:rgba(12,41,64,.13);background:linear-gradient(145deg,#fff,#f7fafb)}
.hsc170-employee-admin .hsc120-employee-card .avatar{border-radius:15px;background:linear-gradient(145deg,#092e47,#176180);box-shadow:0 8px 20px rgba(7,42,65,.19)}
.hsc170-employee-admin .hsc120-empty{grid-column:1/-1;border:1px dashed rgba(13,56,84,.24);background:linear-gradient(135deg,#f7fafb,#fff);padding:34px}
.hsc170-employee-admin .button-hero{min-height:46px;padding:0 18px!important;border-radius:12px!important}

/* ---------- Employee/member/public app quality ---------- */
.hsc170-sacred-futurism{background:linear-gradient(180deg,#f7f9fa 0,#eef3f5 100%)}
.hsc170-home,.hsc170-member-shell,.hsc170-service-shell,.hsc170-scripture-shell,.hsc170-employee-shell,.hsc170-field-shell,.hsc170-impact-shell{isolation:isolate}
.hsc170-front-doors a{
  border-color:rgba(12,41,64,.13);
  background:linear-gradient(145deg,rgba(255,255,255,.99),rgba(243,248,250,.96));
  box-shadow:0 18px 48px rgba(5,28,45,.09);
}
.hsc170-front-doors a:hover{transform:translateY(-5px);border-color:rgba(200,148,45,.38);box-shadow:0 30px 72px rgba(5,28,45,.15)}
.hsc170-front-doors a>span{font-weight:700}
.hsc170-command-bar form{border-color:rgba(255,255,255,.21);background:rgba(255,255,255,.105);box-shadow:0 25px 74px rgba(0,0,0,.25),inset 0 1px rgba(255,255,255,.12)}
.hsc170-command-bar.is-compact form{background:rgba(255,255,255,.98)}
.hsc170-command-bar button{box-shadow:0 8px 22px rgba(0,0,0,.16)}
.hsc170-relationship,.hsc170-role-panel,.hsc170-impact-shell{border-color:rgba(12,41,64,.13)}

.hsc170-employee-shell .hsc120-employee-app{max-width:none;padding-left:0;padding-right:0}
.hsc170-employee-shell .hsc120-app-hero{
  border:1px solid rgba(241,213,141,.18);
  background:radial-gradient(circle at 88% 6%,rgba(241,213,141,.24),transparent 28%),linear-gradient(135deg,#041525,#0c3b55 58%,#145d78);
  box-shadow:0 28px 72px rgba(4,27,45,.20);
}
.hsc170-employee-shell .hsc120-app-tabs{top:12px}
.hsc170-employee-shell .hsc120-employee-app main>section{border-color:rgba(12,41,64,.13);box-shadow:var(--hsc171-shadow)}
.hsc170-employee-shell .hsc120-job,.hsc170-employee-shell .hsc120-today-grid article,.hsc170-employee-shell .hsc120-messages article{background:linear-gradient(180deg,#fff,#f7fafb);border-color:rgba(12,41,64,.13)}
.hsc170-employee-shell .hsc120-job-actions button,.hsc170-employee-shell .hsc120-upload button,.hsc170-employee-shell .hsc120-clock-form button,.hsc170-employee-shell .hsc120-availability button,.hsc170-employee-shell .hsc120-profile-form button{border-radius:10px;box-shadow:0 8px 20px rgba(7,42,65,.14)}

/* ---------- Recovery ---------- */
.hsc160-recovery{max-width:1220px;margin-top:24px;color:var(--hsc171-ink)}
.hsc160-recovery>h1{
  margin:0;
  padding:34px 36px 8px;
  border-radius:28px 28px 0 0;
  background:linear-gradient(135deg,#041525,#0b3851);
  color:#fff;
  font-family:var(--hsc170-serif);
  font-size:clamp(2.2rem,5vw,4.5rem);
  line-height:1;
  letter-spacing:-.04em;
}
.hsc160-recovery .lead{
  margin:0 0 18px!important;
  padding:12px 36px 32px;
  border-radius:0 0 28px 28px;
  background:linear-gradient(135deg,#041525,#0b3851);
  color:rgba(255,255,255,.82);
  box-shadow:0 34px 75px rgba(4,27,45,.22);
}
.hsc160-recovery .lead strong{color:#f2dc9d}
.hsc160-recovery .status{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px 18px;align-items:center;padding:18px 22px;border:1px solid rgba(241,213,141,.18);border-radius:16px;background:linear-gradient(135deg,#0a2f47,#155873);color:#fff;box-shadow:var(--hsc171-shadow)}
.hsc160-recovery .status span{color:#f2dc9d;font-size:11px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
.hsc160-recovery .status strong{color:#fff;font-size:23px;line-height:1.15}
.hsc160-recovery .status small{grid-column:1/-1;color:rgba(255,255,255,.72)}
.hsc160-recovery :where(.button,button){min-height:44px}
.hsc160-recovery section{border-radius:18px;padding:23px}
.hsc160-recovery section h2{font-family:var(--hsc170-serif);font-size:1.65rem;color:#0b2d43}
.hsc160-recovery pre{border:1px solid rgba(255,255,255,.08);background:#071725;color:#e6eef2;box-shadow:inset 0 1px rgba(255,255,255,.04)}

/* ---------- Responsive refinement ---------- */
@media(max-width:1100px){
  .hsc170-employee-admin .hsc120-form .fields{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:782px){
  body.toplevel_page_helpful-saints-os #wpcontent,
  body.helpful-saints-os_page_hsc-employees-120 #wpcontent,
  body.helpful-saints-os_page_hsc-system-intelligence-160 #wpcontent,
  body.admin_page_hsc-recovery-160 #wpcontent{padding-left:0}
  .hsc170-admin{width:calc(100% - 14px);margin:12px 7px 60px}
  .hsc170-admin-hero{border-radius:23px;min-height:0}
  .hsc170-admin-command{margin:-14px 10px 20px;padding:10px}
  .hsc170-admin-command textarea{min-height:84px}
  .hsc170-employee-admin .hsc120-form .fields{grid-template-columns:1fr}
  .hsc170-employee-admin .hsc120-form .wide{grid-column:auto}
  .hsc160-recovery{margin:12px 8px}
  .hsc160-recovery>h1{padding:26px 22px 7px;border-radius:22px 22px 0 0}
  .hsc160-recovery .lead{padding:10px 22px 24px;border-radius:0 0 22px 22px}
}

@media(prefers-reduced-motion:reduce){
  .hsc170-card,.hsc170-attention-grid article,.hsc170-operator-grid article,.hsc120-employee-card,.hsc170-front-doors a,.hsc170-admin :where(.button,button),.hsc170-sacred-futurism :where(.button,button){transition:none!important;transform:none!important}
}

@media(forced-colors:active){
  .hsc170-admin-hero,.hsc170-surface-header,.hsc160-recovery>h1,.hsc160-recovery .lead,.hsc160-recovery .status{background:Canvas!important;color:CanvasText!important;border:1px solid CanvasText!important;box-shadow:none!important}
  .hsc170-admin-hero p,.hsc170-surface-header p,.hsc160-recovery .lead,.hsc160-recovery .lead strong{color:CanvasText!important}
  .hsc170-card,.hsc170-attention,.hsc170-digital-twin,.hsc170-event-stream,.hsc170-console-section,.hsc170-relationship,.hsc170-automation,.hsc170-role-panel,.hsc170-evidence-graph,.hsc120-employee-section,.hsc160-recovery section{background:Canvas!important;color:CanvasText!important;border:1px solid CanvasText!important;box-shadow:none!important}
}

/* ---------- Live admin interoperability and progressive enhancements ---------- */
.hsc171-notice-stack{
  display:grid;
  gap:10px;
  width:100%;
  margin:0 0 16px;
}
.hsc171-notice-stack:empty{display:none}
.hsc171-notice-stack :is(.notice,.updated,.error){margin:0!important}
.hsc171-table-scroll{
  width:100%;
  overflow:auto;
  margin:0 0 18px;
  border-radius:14px;
  scrollbar-width:thin;
  scrollbar-color:rgba(13,56,84,.36) transparent;
  -webkit-overflow-scrolling:touch;
}
.hsc171-table-scroll:focus-visible{outline:3px solid rgba(200,148,45,.42);outline-offset:3px}
.hsc171-table-scroll>table{margin:0!important;min-width:640px}
.hsc170-console-nav a.is-active,
.hsc170-console-nav a[aria-current="location"]{
  color:#fff!important;
  background:linear-gradient(135deg,#0b314a,#155d7d)!important;
  box-shadow:0 8px 18px rgba(7,42,65,.18);
}
@media(max-width:782px){
  .hsc171-notice-stack{margin:0 0 12px}
  .hsc171-table-scroll>table{min-width:560px}
}
@media(forced-colors:active){
  .hsc171-notice-stack :is(.notice,.updated,.error),
  .hsc170-console-nav a.is-active,
  .hsc170-console-nav a[aria-current="location"]{background:Canvas!important;color:CanvasText!important;border:1px solid CanvasText!important;box-shadow:none!important}
}
