/* ========================================================================== */
/* STUERCHLER SECURITY PORTAL — UNIFIED AUTHENTICATED UI v67                 */
/* Reference: Dokumenten-Center. Loaded after app.css and owns layout only.   */
/* ========================================================================== */

body.is-authenticated{
  --portal-max:1220px;
  --portal-header-h:78px;
  --portal-gutter:24px;
  --portal-orange:#ff6a00;
  --portal-orange-hover:#ea6100;
  --portal-text:#101828;
  --portal-muted:#667085;
  --portal-border:#dfe5ec;
  --portal-border-soft:#e9edf2;
  --portal-soft:#f8fafc;
  --portal-danger:#b42318;
  --portal-radius:18px;
  --portal-radius-sm:12px;
  --portal-shadow:0 12px 34px rgba(16,24,40,.05);
  margin:0!important;
  padding-top:var(--portal-header-h)!important;
  background:#fff!important;
  color:var(--portal-text)!important;
  overflow-x:hidden!important;
}

/* Header: one fixed height and one axis. Body padding reserves its space. */
body.is-authenticated .topbar{
  position:fixed!important;
  top:0!important;left:0!important;right:0!important;
  height:var(--portal-header-h)!important;
  z-index:1000!important;
  background:rgba(255,255,255,.97)!important;
  border-bottom:1px solid var(--portal-border-soft)!important;
}
body.is-authenticated .topbar-inner{
  width:min(var(--portal-max),calc(100% - 48px))!important;
  max-width:var(--portal-max)!important;
  height:var(--portal-header-h)!important;
  min-height:var(--portal-header-h)!important;
  margin:0 auto!important;
  padding:0!important;
  display:flex!important;
  align-items:center!important;
  gap:22px!important;
  box-sizing:border-box!important;
}
body.is-authenticated .brand{flex:0 0 auto!important}
body.is-authenticated .desktop-nav{flex:0 0 auto!important;min-width:0!important}
body.is-authenticated .header-search{margin-left:auto!important;min-width:220px!important;max-width:360px!important;flex:1 1 320px!important}
body.is-authenticated .auth-actions{flex:0 0 auto!important;min-width:0!important}
body.is-authenticated .topbar .btn{box-shadow:none!important;transform:none!important}

/* Main / footer always use exactly the same horizontal axis. */
body.is-authenticated main.portal-main{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  min-height:calc(100vh - var(--portal-header-h) - 130px)!important;
  margin:0!important;
  padding:32px 0 72px!important;
  overflow:visible!important;
  box-sizing:border-box!important;
}
body.is-authenticated main.portal-main>.portal-frame{
  width:min(var(--portal-max),calc(100% - 48px))!important;
  max-width:var(--portal-max)!important;
  min-width:0!important;
  margin:0 auto!important;
  padding:0!important;
  box-sizing:border-box!important;
}
body.is-authenticated .portal-page-content{
  width:100%!important;max-width:none!important;min-width:0!important;margin:0!important;padding:0!important;
}
body.is-authenticated footer{
  width:min(var(--portal-max),calc(100% - 48px))!important;
  max-width:var(--portal-max)!important;
  margin:0 auto!important;
  padding:24px 0 30px!important;
  box-sizing:border-box!important;
}

/* Back navigation: normal flow, fixed visual size, never under header. */
body.is-authenticated .portal-workspace-nav{
  position:relative!important;
  inset:auto!important;
  z-index:1!important;
  width:100%!important;
  min-height:48px!important;
  margin:0 0 30px!important;
  padding:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  overflow:visible!important;
  visibility:visible!important;
  opacity:1!important;
}
body.is-authenticated .portal-workspace-nav .portal-back-button{
  position:relative!important;
  inset:auto!important;
  flex:0 0 auto!important;
  width:auto!important;
  min-width:220px!important;
  max-width:100%!important;
  height:48px!important;
  min-height:48px!important;
  margin:0!important;
  padding:0 18px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:9px!important;
  white-space:nowrap!important;
  overflow:visible!important;
  border:1px solid #d9e0e8!important;
  border-radius:12px!important;
  background:#fff!important;
  color:#182230!important;
  box-shadow:0 8px 22px rgba(16,24,40,.045)!important;
  font-size:13px!important;
  line-height:1!important;
  font-weight:750!important;
  text-decoration:none!important;
  visibility:visible!important;
  opacity:1!important;
  transform:none!important;
}
body.is-authenticated .portal-back-button span{display:inline!important;white-space:nowrap!important;color:inherit!important;visibility:visible!important;opacity:1!important}
body.is-authenticated .portal-back-arrow{font-size:15px!important;line-height:1!important;flex:0 0 auto!important}

/* Authenticated module shells do not create their own page width/padding. */
body.is-authenticated .portal-page-content > :is(
  .admin-shell,.editor-shell,.dashboard-shell,.content-shell,.risk-shell,.dlp-shell,.nist-shell,
  .mapper-shell,.portal-module-shell,.vault-shell,.policy-shell,.checklist-workspace,
  .checklist-builder-shell,.ransomware-admin,.threat-admin,.company-admin-shell,
  .user-admin-shell,.company-settings-shell,.shell-wide,.nist-list-standard
){
  width:100%!important;max-width:none!important;min-width:0!important;
  margin:0!important;padding:0!important;box-sizing:border-box!important;
}
body.is-authenticated .portal-page-content > .narrow{
  width:100%!important;max-width:920px!important;min-width:0!important;margin:0 auto!important;padding:0!important;
}

/* One page-heading system. */
body.is-authenticated .portal-page-content :is(
  .section-heading,.page-heading,.editor-heading,.risk-page-heading,.dlp-heading,.mapper-section-head,
  .checklist-fill-heading,.checklist-workspace-heading,.policy-page-heading,.policy-page-heading-v46,
  .nist-page-heading,.threat-hero,.mapper-hero,.portal-module-hero,.vault-hero
){
  width:100%!important;min-width:0!important;margin:0 0 28px!important;padding:0!important;
  display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:end!important;
  gap:28px!important;border:0!important;background:transparent!important;box-shadow:none!important;
}
body.is-authenticated .portal-page-content :is(.section-heading,.page-heading,.editor-heading,.risk-page-heading,.dlp-heading,.mapper-section-head,.checklist-fill-heading,.checklist-workspace-heading,.policy-page-heading,.policy-page-heading-v46,.nist-page-heading,.threat-hero,.mapper-hero,.portal-module-hero,.vault-hero) > *{min-width:0!important}
body.is-authenticated .portal-page-content .eyebrow{
  display:block!important;margin:0 0 9px!important;color:var(--portal-orange)!important;
  font-size:11px!important;line-height:1.2!important;font-weight:850!important;letter-spacing:.16em!important;text-transform:uppercase!important;
}
body.is-authenticated .portal-page-content :is(.section-heading,.page-heading,.editor-heading,.risk-page-heading,.dlp-heading,.mapper-section-head,.checklist-fill-heading,.checklist-workspace-heading,.policy-page-heading,.policy-page-heading-v46,.nist-page-heading) h1,
body.is-authenticated .portal-page-content :is(.section-heading,.page-heading,.editor-heading,.risk-page-heading,.dlp-heading,.mapper-section-head,.checklist-fill-heading,.checklist-workspace-heading,.policy-page-heading,.policy-page-heading-v46,.nist-page-heading) h2{
  margin:0!important;color:var(--portal-text)!important;font-size:38px!important;line-height:1.08!important;font-weight:800!important;letter-spacing:-.04em!important;
}
body.is-authenticated .portal-page-content :is(.section-heading,.page-heading,.editor-heading,.risk-page-heading,.dlp-heading,.mapper-section-head,.checklist-fill-heading,.checklist-workspace-heading,.policy-page-heading,.policy-page-heading-v46,.nist-page-heading) p{
  max-width:790px!important;margin:8px 0 0!important;color:var(--portal-muted)!important;font-size:14px!important;line-height:1.55!important;font-weight:400!important;
}
body.is-authenticated .portal-page-content :is(.section-heading,.page-heading,.editor-heading,.risk-page-heading,.dlp-heading,.mapper-section-head,.checklist-fill-heading,.checklist-workspace-heading,.policy-page-heading,.policy-page-heading-v46,.nist-page-heading)>:last-child:not(:first-child){justify-self:end!important}

/* Buttons: same dimensions and meaning everywhere. */
body.is-authenticated .portal-page-content :is(a.btn,button.btn,input.btn){
  height:46px!important;min-height:46px!important;max-height:46px!important;padding:0 16px!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;
  border-radius:11px!important;white-space:nowrap!important;font-size:13px!important;line-height:1!important;font-weight:750!important;
  text-decoration:none!important;box-sizing:border-box!important;transform:none!important;
}
body.is-authenticated .portal-page-content :is(a.btn,button.btn,input.btn):not(.btn-ghost):not(.btn-danger):not(.btn-danger-outline):not(.secondary){
  border:1px solid var(--portal-orange)!important;background:var(--portal-orange)!important;color:#fff!important;box-shadow:0 8px 18px rgba(255,106,0,.16)!important;
}
body.is-authenticated .portal-page-content :is(.btn-ghost,.secondary){border:1px solid #d9e0e8!important;background:#fff!important;color:#182230!important;box-shadow:none!important}
body.is-authenticated .portal-page-content :is(.btn-danger,.btn-danger-outline){border:1px solid #efb5af!important;background:#fff!important;color:var(--portal-danger)!important;box-shadow:none!important}
body.is-authenticated .portal-page-content .btn-small{height:38px!important;min-height:38px!important;max-height:38px!important;padding:0 11px!important;border-radius:9px!important;font-size:11.5px!important}
body.is-authenticated .portal-page-content .btn:hover{transform:none!important}

/* Form controls. */
body.is-authenticated .portal-page-content :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select,textarea){
  min-width:0!important;border:1px solid #d9e0e8!important;border-radius:11px!important;background:#fff!important;color:#101828!important;font:inherit!important;font-size:13px!important;box-shadow:none!important;outline:none!important;box-sizing:border-box!important;
}
body.is-authenticated .portal-page-content :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select){height:46px!important;padding:0 12px!important}
body.is-authenticated .portal-page-content textarea{padding:11px 12px!important;line-height:1.5!important}
body.is-authenticated .portal-page-content :is(input,select,textarea):focus{border-color:#ff9b55!important;box-shadow:0 0 0 3px rgba(255,106,0,.08)!important}

/* Filter cards: reference layout. */
body.is-authenticated .portal-page-content :is(
  .portal-filter-bar,.portal-filter-card,.policy-doc-filter,.policy-admin-filter,.risk-archive-filter,
  .dlp-filterbar,.dlp-searchbar,.mapper-searchbar,.mapper-toolbar,.nist-filter,.leaks-filter,
  .checklist-archive-filter,.vault-filter,.threat-filter,.checklist-search
){
  width:100%!important;min-width:0!important;margin:0 0 24px!important;padding:14px!important;
  display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:10px!important;
  border:1px solid var(--portal-border)!important;border-radius:16px!important;background:#fff!important;box-shadow:var(--portal-shadow)!important;box-sizing:border-box!important;
}
body.is-authenticated .portal-page-content :is(.portal-search-field,.risk-search,.dlp-filter-search,.threat-search,.checklist-filter-search,.vault-search){flex:1 1 320px!important;min-width:220px!important}
body.is-authenticated .portal-page-content .portal-search-field{position:relative!important;display:flex!important;align-items:center!important}
body.is-authenticated .portal-page-content .portal-search-field>svg{position:absolute!important;left:13px!important;z-index:1!important;width:18px!important;height:18px!important;color:#667085!important}
body.is-authenticated .portal-page-content .portal-search-field input{width:100%!important;padding-left:40px!important}

/* Generic panels/cards. */
body.is-authenticated .portal-page-content :is(.panel,.table-card,.editor-card,.dlp-panel,.risk-archive-panel,.mapper-table-panel,.mapper-panel,.vault-card,.policy-document-paper,.nist-profile-table-card,.admin-data-card){
  border:1px solid var(--portal-border)!important;border-radius:18px!important;background:#fff!important;box-shadow:var(--portal-shadow)!important;
}

/* Tables: same header, row rhythm and action alignment. */
body.is-authenticated .portal-page-content :is(.responsive-table,.dlp-table-wrap,.mapper-table-wrap,.threat-table-wrap,.checklist-archive-table-wrap,.policy-admin-table-scroll,.nist-table-scroll){
  width:100%!important;max-width:100%!important;overflow-x:auto!important;overflow-y:visible!important;border-radius:18px!important;
}
body.is-authenticated .portal-page-content table{width:100%!important;max-width:100%!important;border-collapse:collapse!important;background:#fff!important}
body.is-authenticated .portal-page-content table th{
  padding:13px 15px!important;background:#f8fafc!important;color:#667085!important;border-bottom:1px solid var(--portal-border)!important;
  font-size:11px!important;line-height:1.2!important;font-weight:800!important;letter-spacing:.05em!important;text-transform:uppercase!important;white-space:nowrap!important;
}
body.is-authenticated .portal-page-content table td{
  padding:14px 15px!important;color:#101828!important;border-bottom:1px solid #e9edf2!important;font-size:13px!important;line-height:1.45!important;vertical-align:middle!important;
}
body.is-authenticated .portal-page-content table tbody tr:last-child td{border-bottom:0!important}
body.is-authenticated .portal-page-content :is(.portal-actions,.risk-actions,.dlp-row-actions,.admin-row-actions,.checklist-archive-actions,.threat-table-actions,.policy-row-actions,.file-card-actions){
  display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:center!important;justify-content:flex-end!important;gap:8px!important;min-width:max-content!important;
}
body.is-authenticated .portal-page-content :is(.portal-actions,.risk-actions,.dlp-row-actions,.admin-row-actions,.checklist-archive-actions,.threat-table-actions,.policy-row-actions,.file-card-actions) form{margin:0!important;display:inline-flex!important}

/* CSS-grid table implementations use the same visual language. */
body.is-authenticated .portal-page-content :is(.portal-table,.risk-table,.dlp-table,.mapper-table,.threat-table,.policy-doc-table,.nist-profile-table){
  width:100%!important;max-width:100%!important;border:1px solid var(--portal-border)!important;border-radius:18px!important;background:#fff!important;box-shadow:var(--portal-shadow)!important;overflow:hidden!important;
}
body.is-authenticated .portal-page-content :is(.portal-table-row,.risk-table-row,.dlp-table-row,.mapper-table-row,.threat-table-row,.policy-table-row,.nist-profile-row){
  border-bottom:1px solid #e9edf2!important;background:#fff!important;align-items:center!important;
}
body.is-authenticated .portal-page-content :is(.portal-table-header,.risk-table-head,.dlp-table-head,.threat-table-head,.policy-table-head,.nist-profile-head){
  background:#f8fafc!important;color:#667085!important;font-size:11px!important;font-weight:800!important;letter-spacing:.05em!important;text-transform:uppercase!important;
}

/* File module: actions stay horizontal inside each row. */
body.is-authenticated .route-files .section-heading{margin-bottom:24px!important}
body.is-authenticated .route-files .file-grid{display:grid!important;gap:12px!important;width:100%!important}
body.is-authenticated .route-files .file-card{
  width:100%!important;min-width:0!important;padding:18px 20px!important;display:grid!important;
  grid-template-columns:46px minmax(0,1fr) auto!important;align-items:center!important;gap:18px!important;
  border:1px solid var(--portal-border)!important;border-radius:18px!important;background:#fff!important;box-shadow:var(--portal-shadow)!important;
}
body.is-authenticated .route-files .file-card-actions{align-self:center!important}
body.is-authenticated .route-files .file-card-actions .btn{margin:0!important}

/* KPI blocks: same card geometry. */
body.is-authenticated .portal-page-content :is(.stat-grid,.risk-kpi-strip,.dlp-kpi-grid,.nist-kpi-grid,.mapper-kpis,.ransom-kpis){
  width:100%!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important;margin:0 0 24px!important;
}
body.is-authenticated .portal-page-content :is(.stat-card,.dlp-kpi-card,.nist-kpi-grid article,.mapper-kpi,.risk-kpi-strip>*,.ransom-kpis>*){
  min-width:0!important;border:1px solid var(--portal-border)!important;border-radius:16px!important;background:#fff!important;box-shadow:var(--portal-shadow)!important;
}

/* NIST editor keeps functional grouping but uses portal card styling. */
body.is-authenticated .route-nist-csf .nist-toolbar{border:1px solid var(--portal-border)!important;border-radius:16px!important;background:#fff!important;box-shadow:var(--portal-shadow)!important}
body.is-authenticated .route-nist-csf .nist-function{border:1px solid var(--portal-border)!important;border-radius:18px!important;background:#fff!important;box-shadow:var(--portal-shadow)!important;overflow:hidden!important}
body.is-authenticated .route-nist-csf .nist-function-head{background:#f8fafc!important;color:#101828!important;border-bottom:3px solid var(--portal-orange)!important;padding:16px 18px!important}
body.is-authenticated .route-nist-csf .nist-function-head b{font-size:16px!important;color:#101828!important}
body.is-authenticated .route-nist-csf .nist-function-head span{color:#667085!important;opacity:1!important}
body.is-authenticated .route-nist-csf .nist-category{border:1px solid #e4e8ef!important;border-radius:14px!important;background:#fff!important}

/* DLP & Cyber Risk panels line up with reference. */
body.is-authenticated .route-dlp .dlp-info-strip{border:1px solid var(--portal-border)!important;border-radius:16px!important;background:#f8fafc!important;box-shadow:none!important}
body.is-authenticated .route-cyber-risk .risk-archive-panel{overflow:hidden!important}

/* Hide only legacy duplicate back links inside modules. */
body.is-authenticated .portal-page-content :is(.admin-shell,.editor-shell,.mapper-shell,.risk-shell,.dlp-shell,.nist-shell,.vault-shell,.policy-shell,.checklist-workspace,.checklist-builder-shell) > .back-link{display:none!important}

@media (max-width:1100px){
  body.is-authenticated .desktop-nav{gap:0!important}
  body.is-authenticated .nav-icon{padding-left:8px!important;padding-right:8px!important}
  body.is-authenticated .user-meta{display:none!important}
  body.is-authenticated .portal-page-content :is(.stat-grid,.risk-kpi-strip,.dlp-kpi-grid,.nist-kpi-grid,.mapper-kpis,.ransom-kpis){grid-template-columns:repeat(2,minmax(0,1fr))!important}
}

@media (max-width:820px){
  body.is-authenticated{--portal-gutter:18px}
  body.is-authenticated .topbar-inner,
  body.is-authenticated main.portal-main>.portal-frame,
  body.is-authenticated footer{width:calc(100% - 32px)!important}
  body.is-authenticated .desktop-nav,body.is-authenticated .header-search{display:none!important}
  body.is-authenticated .mobile-menu{display:inline-flex!important}
  body.is-authenticated .portal-workspace-nav{justify-content:stretch!important;margin-bottom:22px!important}
  body.is-authenticated .portal-workspace-nav .portal-back-button{width:100%!important;min-width:0!important}
  body.is-authenticated .portal-page-content :is(.section-heading,.page-heading,.editor-heading,.risk-page-heading,.dlp-heading,.mapper-section-head,.checklist-fill-heading,.checklist-workspace-heading,.policy-page-heading,.policy-page-heading-v46,.nist-page-heading){grid-template-columns:1fr!important;align-items:start!important;gap:16px!important}
  body.is-authenticated .portal-page-content :is(.section-heading,.page-heading,.editor-heading,.risk-page-heading,.dlp-heading,.mapper-section-head,.checklist-fill-heading,.checklist-workspace-heading,.policy-page-heading,.policy-page-heading-v46,.nist-page-heading)>:last-child:not(:first-child){justify-self:start!important}
  body.is-authenticated .portal-page-content :is(.section-heading,.page-heading,.editor-heading,.risk-page-heading,.dlp-heading,.mapper-section-head,.checklist-fill-heading,.checklist-workspace-heading,.policy-page-heading,.policy-page-heading-v46,.nist-page-heading) h1,
  body.is-authenticated .portal-page-content :is(.section-heading,.page-heading,.editor-heading,.risk-page-heading,.dlp-heading,.mapper-section-head,.checklist-fill-heading,.checklist-workspace-heading,.policy-page-heading,.policy-page-heading-v46,.nist-page-heading) h2{font-size:31px!important}
  body.is-authenticated .portal-page-content :is(.portal-filter-bar,.portal-filter-card,.policy-doc-filter,.policy-admin-filter,.risk-archive-filter,.dlp-filterbar,.dlp-searchbar,.mapper-searchbar,.mapper-toolbar,.nist-filter,.leaks-filter,.checklist-archive-filter,.vault-filter,.threat-filter,.checklist-search){display:grid!important;grid-template-columns:1fr!important}
  body.is-authenticated .portal-page-content :is(.portal-search-field,.risk-search,.dlp-filter-search,.threat-search,.checklist-filter-search,.vault-search){min-width:0!important;width:100%!important}
  body.is-authenticated .route-files .file-card{grid-template-columns:46px minmax(0,1fr)!important}
  body.is-authenticated .route-files .file-card-actions{grid-column:1/-1!important;justify-content:flex-start!important;min-width:0!important;flex-wrap:wrap!important}
  body.is-authenticated .portal-page-content :is(.stat-grid,.risk-kpi-strip,.dlp-kpi-grid,.nist-kpi-grid,.mapper-kpis,.ransom-kpis){grid-template-columns:1fr!important}
}

@media (max-width:520px){
  body.is-authenticated{--portal-header-h:70px}
  body.is-authenticated .topbar-inner,
  body.is-authenticated main.portal-main>.portal-frame,
  body.is-authenticated footer{width:calc(100% - 24px)!important}
  body.is-authenticated main.portal-main{padding-top:22px!important;padding-bottom:52px!important}
  body.is-authenticated .brand-word{display:none!important}
  body.is-authenticated .auth-actions>.btn-ghost span{display:none!important}
  body.is-authenticated .portal-page-content :is(a.btn,button.btn,input.btn){width:100%!important}
  body.is-authenticated .portal-page-content :is(.portal-actions,.risk-actions,.dlp-row-actions,.admin-row-actions,.checklist-archive-actions,.threat-table-actions,.policy-row-actions,.file-card-actions){flex-wrap:wrap!important;justify-content:flex-start!important;min-width:0!important}
}


/* NIST CSF editor v67 — explicit editable/admin state and canonical orange accent */
body.is-authenticated .route-nist-csf-edit .nist-function-head{
  background:#fff!important;
  color:var(--portal-text)!important;
  border:1px solid var(--portal-border)!important;
  border-left:5px solid var(--portal-orange)!important;
  border-bottom:1px solid var(--portal-border)!important;
  border-radius:14px 14px 0 0!important;
}
body.is-authenticated .route-nist-csf-edit .nist-function-head b{color:var(--portal-text)!important}
body.is-authenticated .route-nist-csf-edit .nist-function-head span{color:var(--portal-muted)!important}
body.is-authenticated .route-nist-csf-edit .nist-control :is(input,textarea,select):not(:disabled):not([readonly]){
  background:#fff!important; color:var(--portal-text)!important; opacity:1!important; cursor:text!important;
}
body.is-authenticated .route-nist-csf-edit .nist-control select:not(:disabled){cursor:pointer!important}
body.is-authenticated .route-nist-csf-edit .nist-control :is(input,textarea,select):not(:disabled):not([readonly]):focus{
  border-color:var(--portal-orange)!important; box-shadow:0 0 0 3px rgba(255,106,0,.12)!important; outline:0!important;
}
body.is-authenticated .route-nist-csf-edit .section-heading .portal-actions{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:10px!important;flex-wrap:wrap!important}
body.is-authenticated .route-nist-csf-edit .section-heading .portal-actions form{margin:0!important}

/* ========================================================================== */
/* NIST CSF LIST v68 — canonical Dokumenten-Center layout                    */
/* No legacy grid-table geometry; actions must stay inside the archive card. */
/* ========================================================================== */
body.is-authenticated .route-nist-csf .portal-page-content .nist-list-standard{
  display:block!important;
}
body.is-authenticated .route-nist-csf .portal-page-content .nist-page-heading{
  margin-bottom:24px!important;
}
body.is-authenticated .route-nist-csf .portal-page-content .nist-heading-actions{
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:10px!important;
  min-width:0!important;
}
body.is-authenticated .route-nist-csf .portal-page-content .nist-summary-line{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:8px 18px!important;
  margin-top:12px!important;
  color:var(--portal-muted)!important;
  font-size:13px!important;
}
body.is-authenticated .route-nist-csf .portal-page-content .nist-summary-line span+span::before{
  content:"·";
  margin-right:18px;
  color:#c7ced8;
}
body.is-authenticated .route-nist-csf .portal-page-content .nist-filter{
  width:100%!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 210px 108px 92px!important;
  gap:10px!important;
  align-items:center!important;
  margin:0 0 28px!important;
  padding:14px!important;
}
body.is-authenticated .route-nist-csf .portal-page-content .nist-filter .portal-search-field{
  width:100%!important;
  min-width:0!important;
}
body.is-authenticated .route-nist-csf .portal-page-content .nist-filter select,
body.is-authenticated .route-nist-csf .portal-page-content .nist-filter .btn{
  width:100%!important;
}
body.is-authenticated .route-nist-csf .portal-page-content .nist-profile-table-card{
  width:100%!important;
  margin:0!important;
  overflow:hidden!important;
}
body.is-authenticated .route-nist-csf .portal-page-content .nist-table-headbar{
  min-height:84px!important;
  padding:20px 18px!important;
  display:flex!important;
  align-items:flex-end!important;
  justify-content:space-between!important;
  gap:20px!important;
  border-bottom:1px solid var(--portal-border-soft)!important;
  background:#fff!important;
}
body.is-authenticated .route-nist-csf .portal-page-content .nist-table-headbar h2{
  margin:5px 0 0!important;
  color:var(--portal-text)!important;
  font-size:22px!important;
  line-height:1.2!important;
  letter-spacing:-.025em!important;
}
body.is-authenticated .route-nist-csf .portal-page-content .nist-table-headbar>span{
  color:var(--portal-muted)!important;
  font-size:12px!important;
  white-space:nowrap!important;
}
body.is-authenticated .route-nist-csf .portal-page-content .nist-table-scroll{
  overflow-x:auto!important;
  border-radius:0!important;
}
body.is-authenticated .route-nist-csf .portal-page-content .nist-profile-native-table{
  width:100%!important;
  min-width:0!important;
  table-layout:fixed!important;
}
body.is-authenticated .route-nist-csf .portal-page-content .nist-profile-native-table th:nth-child(1){width:34%!important}
body.is-authenticated .route-nist-csf .portal-page-content .nist-profile-native-table th:nth-child(2){width:8%!important}
body.is-authenticated .route-nist-csf .portal-page-content .nist-profile-native-table th:nth-child(3){width:12%!important}
body.is-authenticated .route-nist-csf .portal-page-content .nist-profile-native-table th:nth-child(4){width:14%!important}
body.is-authenticated .route-nist-csf .portal-page-content .nist-profile-native-table th:nth-child(5){width:32%!important;text-align:right!important}
body.is-authenticated .route-nist-csf .portal-page-content .nist-profile-native-table td{
  white-space:normal!important;
}
body.is-authenticated .route-nist-csf .portal-page-content .nist-profile-cell strong{
  display:block!important;
  color:var(--portal-text)!important;
  font-size:14px!important;
  line-height:1.35!important;
}
body.is-authenticated .route-nist-csf .portal-page-content .nist-profile-cell small{
  display:block!important;
  margin-top:4px!important;
  color:var(--portal-muted)!important;
  font-size:11.5px!important;
  line-height:1.4!important;
}
body.is-authenticated .route-nist-csf .portal-page-content .nist-progress-cell{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:4px 12px!important;
  color:var(--portal-muted)!important;
  font-size:12px!important;
}
body.is-authenticated .route-nist-csf .portal-page-content .nist-progress-cell b{
  color:var(--portal-text)!important;
  font-weight:750!important;
}
body.is-authenticated .route-nist-csf .portal-page-content .nist-actions-cell{
  padding-left:8px!important;
  padding-right:14px!important;
}
body.is-authenticated .route-nist-csf .portal-page-content .nist-row-actions{
  width:100%!important;
  min-width:0!important;
  display:flex!important;
  flex-direction:row!important;
  flex-wrap:nowrap!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:6px!important;
}
body.is-authenticated .route-nist-csf .portal-page-content .nist-row-actions form{
  display:inline-flex!important;
  flex:0 0 auto!important;
  margin:0!important;
}
body.is-authenticated .route-nist-csf .portal-page-content .nist-row-actions .btn{
  flex:0 0 auto!important;
}
body.is-authenticated .route-nist-csf .portal-page-content .nist-empty{
  min-height:220px!important;
  padding:42px 20px!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
}

@media (max-width:1050px){
  body.is-authenticated .route-nist-csf .portal-page-content .nist-filter{
    grid-template-columns:minmax(0,1fr) 190px 100px 86px!important;
  }
  body.is-authenticated .route-nist-csf .portal-page-content .nist-profile-native-table{
    min-width:980px!important;
  }
}
@media (max-width:820px){
  body.is-authenticated .route-nist-csf .portal-page-content .nist-heading-actions{
    justify-content:flex-start!important;
  }
  body.is-authenticated .route-nist-csf .portal-page-content .nist-filter{
    grid-template-columns:1fr 1fr!important;
  }
  body.is-authenticated .route-nist-csf .portal-page-content .nist-filter .portal-search-field{
    grid-column:1/-1!important;
  }
  body.is-authenticated .route-nist-csf .portal-page-content .nist-table-headbar{
    align-items:flex-start!important;
  }
}
@media (max-width:560px){
  body.is-authenticated .route-nist-csf .portal-page-content .nist-filter{
    grid-template-columns:1fr!important;
  }
  body.is-authenticated .route-nist-csf .portal-page-content .nist-filter .portal-search-field{
    grid-column:auto!important;
  }
  body.is-authenticated .route-nist-csf .portal-page-content .nist-table-headbar{
    min-height:0!important;
    flex-direction:column!important;
  }
}
