/* Cellular Usage Portal v7.0 AdminLTE-style shell.
   UI-only compatibility layer: keeps existing portal components and behavior intact. */
:root{
  --lte-sidebar-width: 284px;
  --lte-sidebar-collapsed-width: 74px;
  --lte-header-height: 64px;
  --lte-bg: #f4f6f9;
  --lte-sidebar-bg: #1f2937;
  --lte-sidebar-bg-2: #111827;
  --lte-sidebar-ink: #d1d5db;
  --lte-sidebar-muted: #9ca3af;
  --lte-sidebar-active: #2563eb;
  --lte-card-border: #dbe3ef;
  --lte-box-shadow-sm: 0 4px 18px rgba(15,23,42,.08);
  --lte-box-shadow: 0 10px 32px rgba(15,23,42,.10);
}

body.adminlte-shell{
  min-height:100vh;
  background:var(--lte-bg);
  color:#111827;
}

body.adminlte-shell a{transition:background-color .15s ease,color .15s ease,border-color .15s ease,box-shadow .15s ease}

.app-wrapper{min-height:100vh;background:var(--lte-bg)}
.app-sidebar{
  position:fixed;inset:0 auto 0 0;z-index:1030;width:var(--lte-sidebar-width);
  display:flex;flex-direction:column;background:linear-gradient(180deg,var(--lte-sidebar-bg),var(--lte-sidebar-bg-2));
  color:var(--lte-sidebar-ink);box-shadow:8px 0 24px rgba(15,23,42,.18);transition:width .18s ease,transform .18s ease;
}
.sidebar-brand{
  min-height:var(--lte-header-height);display:flex;align-items:center;gap:12px;padding:13px 16px;color:#fff;text-decoration:none;border-bottom:1px solid rgba(255,255,255,.08);
}
.brand-badge{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:12px;background:#2563eb;color:#fff;font-weight:900;letter-spacing:-.04em;box-shadow:0 8px 18px rgba(37,99,235,.35);flex:0 0 auto}
.brand-text{display:grid;gap:1px;min-width:0}.brand-text strong{font-size:16px;line-height:1.15;white-space:nowrap}.brand-text small{font-size:12px;color:var(--lte-sidebar-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sidebar-panel{padding:12px;overflow:auto;scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.25) transparent}
.sidebar-dashboard,.sidebar-group>summary{display:flex;align-items:center;gap:10px;width:100%;min-height:42px;border-radius:10px;padding:10px 11px;color:var(--lte-sidebar-ink);text-decoration:none;font-weight:800;cursor:pointer;list-style:none;border:1px solid transparent}
.sidebar-group>summary::-webkit-details-marker{display:none}
.sidebar-dashboard:hover,.sidebar-group>summary:hover,.sidebar-dashboard.active,.sidebar-group.active>summary{background:rgba(255,255,255,.09);color:#fff;border-color:rgba(255,255,255,.08)}
.sidebar-dashboard.active,.sidebar-group.active>summary{box-shadow:inset 3px 0 0 var(--lte-sidebar-active)}
.nav-icon{width:24px;min-width:24px;text-align:center;line-height:1;font-size:16px;opacity:.95}.nav-label{flex:1;min-width:0}.nav-caret{margin-left:auto;color:var(--lte-sidebar-muted);font-size:22px;line-height:1;transition:transform .15s ease}.sidebar-group[open]>summary .nav-caret{transform:rotate(90deg)}
.sidebar-subnav{display:grid;gap:4px;margin:4px 0 8px 34px;padding-left:9px;border-left:1px solid rgba(255,255,255,.10)}
.sidebar-link{display:grid;gap:1px;padding:8px 10px;border-radius:9px;color:var(--lte-sidebar-ink);text-decoration:none}
.sidebar-link span{font-size:13px;font-weight:760;line-height:1.2}.sidebar-link small{font-size:11px;color:var(--lte-sidebar-muted);line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sidebar-link:hover,.sidebar-link.active{background:rgba(37,99,235,.22);color:#fff}.sidebar-link.active{box-shadow:inset 3px 0 0 #60a5fa}.sidebar-link:hover small,.sidebar-link.active small{color:#dbeafe}

.app-main{min-height:100vh;margin-left:var(--lte-sidebar-width);transition:margin-left .18s ease;background:var(--lte-bg)}
.app-header{position:sticky;top:0;z-index:1020;min-height:var(--lte-header-height);display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 22px;background:rgba(255,255,255,.92);border-bottom:1px solid #dbe3ef;backdrop-filter:saturate(130%) blur(10px);box-shadow:0 2px 14px rgba(15,23,42,.04)}
.header-left{display:flex;align-items:center;gap:14px;min-width:0}.header-title{display:grid;gap:1px;min-width:0}.header-title span{font-size:12px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:#64748b}.header-title strong{font-size:18px;line-height:1.15;color:#0f172a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.header-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.header-action{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:8px 12px;border-radius:10px;border:1px solid #dbe3ef;background:#fff;color:#334155;text-decoration:none;font-weight:800;font-size:13px}.header-action:hover{background:#f8fafc;color:#1d4ed8;border-color:#bfdbfe}.header-logout{color:#991b1b}.header-logout:hover{color:#991b1b;background:#fff1f2;border-color:#fecdd3}
.sidebar-toggle{width:42px;height:42px;border:1px solid #dbe3ef;border-radius:12px;background:#fff;display:inline-flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;cursor:pointer;box-shadow:0 4px 12px rgba(15,23,42,.06)}
.sidebar-toggle span{display:block;width:18px;height:2px;border-radius:99px;background:#334155}.sidebar-toggle:hover{border-color:#bfdbfe;background:#eff6ff}.sidebar-toggle:hover span{background:#1d4ed8}
.app-content{min-height:calc(100vh - var(--lte-header-height))}.adminlte-shell .page{max-width:1480px;margin:0 auto;padding:24px 24px 34px}.public-shell{background:linear-gradient(135deg,#eef4ff,#f8fafc)}.public-page{min-height:100vh;display:flex;align-items:center;justify-content:center}
.sidebar-backdrop{display:none}

/* AdminLTE-style compatibility refinements for existing custom views. */
.adminlte-shell .panel,.adminlte-shell .card,.adminlte-shell .login-card{border-color:var(--lte-card-border);border-radius:14px;box-shadow:var(--lte-box-shadow-sm);background:#fff}
.adminlte-shell .panel{padding:18px;margin-bottom:18px}.adminlte-shell .hero{background:#fff;border:1px solid var(--lte-card-border);border-radius:14px;box-shadow:var(--lte-box-shadow-sm);padding:20px;margin-bottom:18px}.adminlte-shell .hero h1{font-size:28px;letter-spacing:-.03em}.adminlte-shell .section-head{margin-bottom:12px}.adminlte-shell .button{border-radius:9px;box-shadow:0 2px 8px rgba(29,78,216,.16)}.adminlte-shell .button.secondary{box-shadow:none}.adminlte-shell .table-wrap{border-color:var(--lte-card-border);border-radius:12px;box-shadow:0 2px 10px rgba(15,23,42,.03);background:#fff}.adminlte-shell table{background:#fff}.adminlte-shell th{background:#f8fafc;color:#475569;font-size:12px;text-transform:none}.adminlte-shell td,.adminlte-shell th{border-bottom:1px solid #e5edf7}.adminlte-shell .filters,.adminlte-shell .filter-form,.adminlte-shell .report-filters{background:#fff;border:1px solid var(--lte-card-border);border-radius:14px;padding:14px;box-shadow:var(--lte-box-shadow-sm);margin-bottom:18px}.adminlte-shell .filters input,.adminlte-shell .filters select,.adminlte-shell .filter-form input,.adminlte-shell .filter-form select,.adminlte-shell .form-stack input,.adminlte-shell textarea{border-color:#cbd5e1;border-radius:9px}.adminlte-shell .cards{gap:14px}.adminlte-shell .notice,.adminlte-shell .alert,.adminlte-shell .warning{border-radius:10px}.adminlte-shell .pill{border-radius:999px}

/* Dashboard stays progressive; only the shell around it is restyled. */
.adminlte-shell .dashboard-lazy-section{margin-bottom:18px}.adminlte-shell .dashboard-section-label{padding:0 2px 8px}.adminlte-shell .dashboard-hero{box-shadow:var(--lte-box-shadow);border-radius:18px}.adminlte-shell .dashboard-kpis .kpi-card{box-shadow:var(--lte-box-shadow-sm)}

/* Desktop collapsed sidebar keeps routes available without changing page markup. */
@media (min-width: 1101px){
  body.sidebar-collapse .app-sidebar{width:var(--lte-sidebar-collapsed-width)}
  body.sidebar-collapse .app-main{margin-left:var(--lte-sidebar-collapsed-width)}
  body.sidebar-collapse .brand-text,body.sidebar-collapse .nav-label,body.sidebar-collapse .nav-caret,body.sidebar-collapse .sidebar-link small{display:none}
  body.sidebar-collapse .sidebar-brand{justify-content:center;padding-left:10px;padding-right:10px}
  body.sidebar-collapse .sidebar-panel{padding:10px 8px;overflow:visible}
  body.sidebar-collapse .sidebar-dashboard,body.sidebar-collapse .sidebar-group>summary{justify-content:center;padding:10px 8px}
  body.sidebar-collapse .sidebar-subnav{display:none}
  body.sidebar-collapse .sidebar-group[open] .sidebar-subnav{display:none}
}

@media (max-width: 1100px){
  .app-sidebar{transform:translateX(-100%);width:min(86vw,320px)}
  .app-main{margin-left:0}.app-header{padding:0 14px}.adminlte-shell .page{padding:18px 14px 28px}.header-actions{gap:6px}.header-action{padding:7px 10px;min-height:34px}.sidebar-backdrop{position:fixed;inset:0;z-index:1025;background:rgba(15,23,42,.44);backdrop-filter:blur(1px)}
  body.sidebar-open .app-sidebar{transform:translateX(0)}
  body.sidebar-open .sidebar-backdrop{display:block}
}
@media (max-width: 640px){
  .app-header{min-height:58px}.header-title strong{font-size:16px}.header-title span{font-size:10px}.header-actions .header-action:not(.header-logout){display:none}.adminlte-shell .hero{padding:16px}.adminlte-shell .hero h1{font-size:24px}.adminlte-shell .page{padding:14px 10px 24px}.sidebar-brand{min-height:58px}.brand-badge{width:34px;height:34px}.brand-text strong{font-size:15px}.brand-text small{font-size:11px}
}

/* v7.0.1 UI correction patch.
   Presentation-only refinements for the AdminLTE-style shell and existing PHP views. */
html{scroll-behavior:smooth}
body.adminlte-shell{overflow-x:hidden}
.app-wrapper,.app-main,.app-content,.adminlte-shell .page{min-width:0}
.app-header{width:100%;min-width:0}
.header-left{flex:1 1 auto;min-width:0}.header-actions{flex:0 0 auto}.header-action{white-space:nowrap}
.adminlte-shell .page{width:100%;max-width:1540px}
.adminlte-shell .page > :first-child{margin-top:0}
.skip-link{position:fixed;left:12px;top:12px;z-index:2000;transform:translateY(-140%);padding:10px 14px;border-radius:10px;background:#fff;color:#1d4ed8;text-decoration:none;font-weight:900;box-shadow:var(--lte-box-shadow)}
.skip-link:focus{transform:translateY(0);outline:3px solid #bfdbfe;outline-offset:2px}

.sidebar-nav{display:grid;gap:4px}.sidebar-group{margin:2px 0}.sidebar-link:focus-visible,.sidebar-dashboard:focus-visible,.sidebar-group>summary:focus-visible,.sidebar-toggle:focus-visible,.header-action:focus-visible,.adminlte-shell .button:focus-visible{outline:3px solid rgba(96,165,250,.55);outline-offset:2px}
.sidebar-panel{padding-bottom:22px}.sidebar-group>summary{user-select:none}.sidebar-link{min-width:0}.sidebar-link span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sidebar-link small{display:block;max-width:100%}

/* Collapsed desktop sidebar becomes a flyout on hover/focus so submenu routes remain reachable. */
@media (min-width:1101px){
  body.sidebar-collapse .app-sidebar:hover,
  body.sidebar-collapse .app-sidebar:focus-within{width:var(--lte-sidebar-width);box-shadow:14px 0 34px rgba(15,23,42,.24)}
  body.sidebar-collapse .app-sidebar:hover .brand-text,
  body.sidebar-collapse .app-sidebar:focus-within .brand-text,
  body.sidebar-collapse .app-sidebar:hover .nav-label,
  body.sidebar-collapse .app-sidebar:focus-within .nav-label,
  body.sidebar-collapse .app-sidebar:hover .nav-caret,
  body.sidebar-collapse .app-sidebar:focus-within .nav-caret,
  body.sidebar-collapse .app-sidebar:hover .sidebar-link small,
  body.sidebar-collapse .app-sidebar:focus-within .sidebar-link small{display:block}
  body.sidebar-collapse .app-sidebar:hover .sidebar-brand,
  body.sidebar-collapse .app-sidebar:focus-within .sidebar-brand{justify-content:flex-start;padding-left:16px;padding-right:16px}
  body.sidebar-collapse .app-sidebar:hover .sidebar-panel,
  body.sidebar-collapse .app-sidebar:focus-within .sidebar-panel{padding:12px;overflow:auto}
  body.sidebar-collapse .app-sidebar:hover .sidebar-dashboard,
  body.sidebar-collapse .app-sidebar:focus-within .sidebar-dashboard,
  body.sidebar-collapse .app-sidebar:hover .sidebar-group>summary,
  body.sidebar-collapse .app-sidebar:focus-within .sidebar-group>summary{justify-content:flex-start;padding:10px 11px}
  body.sidebar-collapse .app-sidebar:hover .sidebar-subnav,
  body.sidebar-collapse .app-sidebar:focus-within .sidebar-subnav{display:grid}
}

/* Existing view compatibility: keep old markup but make it behave like responsive admin cards. */
.adminlte-shell .hero,
.adminlte-shell .page-hero{min-width:0;flex-wrap:wrap}
.adminlte-shell .hero > *,
.adminlte-shell .page-hero > *,
.adminlte-shell .panel > *,
.adminlte-shell .card > *{min-width:0}
.adminlte-shell .hero-side{min-width:min(420px,100%)}
.adminlte-shell .hero-stats{min-width:0;max-width:100%}
.adminlte-shell .toolbar,.adminlte-shell .button-row,.adminlte-shell .section-actions,.adminlte-shell .filter-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.adminlte-shell .button{min-height:38px;border:1px solid transparent;line-height:1.15;white-space:nowrap}
.adminlte-shell .button.secondary{border-color:#cbd5e1}.adminlte-shell .button:hover{filter:brightness(.98);transform:translateY(-1px)}
.adminlte-shell .button.small{min-height:30px}
.adminlte-shell form{max-width:100%}
.adminlte-shell input,.adminlte-shell select,.adminlte-shell textarea{max-width:100%}
.adminlte-shell .inline-form{flex-wrap:wrap;min-width:0}.adminlte-shell .inline-form input{min-width:min(180px,100%)}
.adminlte-shell .stacked-form,.adminlte-shell .form-stack{gap:12px}
.adminlte-shell .filters,.adminlte-shell .filter-form,.adminlte-shell .report-filters{align-items:end}
.adminlte-shell .cards{grid-template-columns:repeat(auto-fit,minmax(210px,1fr))}
.adminlte-shell .card strong{overflow-wrap:anywhere}
.adminlte-shell .grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.adminlte-shell .grid.one{grid-template-columns:1fr}
.adminlte-shell .insight-grid{grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}

/* Wide reports: contain tables and prevent sticky headers from overlapping the fixed app header. */
.adminlte-shell .table-wrap{max-width:100%;overflow:auto;-webkit-overflow-scrolling:touch}
.adminlte-shell table{min-width:max-content}.adminlte-shell .table-wrap table{width:100%}
.adminlte-shell th{top:0;z-index:2}.adminlte-shell td{max-width:520px}.adminlte-shell td:first-child{max-width:360px}
.adminlte-shell td,.adminlte-shell th{vertical-align:middle}.adminlte-shell td:not(.num){overflow-wrap:anywhere}
.adminlte-shell .duration-cell{white-space:normal;min-width:130px}.adminlte-shell .table-tools{border-color:var(--lte-card-border);box-shadow:0 2px 10px rgba(15,23,42,.03)}

/* Dashboard polish after the AdminLTE shell migration. */
.adminlte-shell .dashboard-lazy-section{scroll-margin-top:calc(var(--lte-header-height) + 18px)}
.adminlte-shell .dashboard-section-label{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#64748b;font-size:12px;font-weight:900;letter-spacing:.06em;text-transform:uppercase}
.adminlte-shell .dashboard-section-label em{font-style:normal;color:#94a3b8;text-transform:none;letter-spacing:0;font-weight:800}
.adminlte-shell .dashboard-hero-progress{margin-top:18px;border:1px solid rgba(255,255,255,.16);background:rgba(15,23,42,.18);box-shadow:inset 0 1px 0 rgba(255,255,255,.10);backdrop-filter:blur(8px)}
.adminlte-shell .dashboard-hero-progress .eyebrow{color:#bae6fd}.adminlte-shell .dashboard-hero-progress small{color:rgba(255,255,255,.74)}
.adminlte-shell .dashboard-loading-meter strong{background:rgba(255,255,255,.18)}
.adminlte-shell .dashboard-loading-complete{opacity:.82}
.adminlte-shell .dashboard-skeleton-block,.adminlte-shell .skeleton-panel{border-radius:14px}

@media (max-width:1100px){
  body.sidebar-open{overflow:hidden}
  .app-header{gap:10px}.header-title strong{max-width:calc(100vw - 210px)}
  .adminlte-shell .grid.two{grid-template-columns:1fr}.adminlte-shell table{min-width:760px}
}
@media (max-width:760px){
  .adminlte-shell .header-title strong{max-width:calc(100vw - 128px)}
  .adminlte-shell .header-actions{display:none}
  .adminlte-shell .page{padding-left:12px;padding-right:12px}
  .adminlte-shell .cards{grid-template-columns:1fr}.adminlte-shell .filters,.adminlte-shell .filter-form,.adminlte-shell .report-filters{grid-template-columns:1fr!important}
  .adminlte-shell .button,.adminlte-shell .button-row .button,.adminlte-shell .toolbar .button{width:100%;justify-content:center}
  .adminlte-shell .inline-form{display:grid;grid-template-columns:1fr}.adminlte-shell .inline-form .button{width:100%}
  .adminlte-shell .dashboard-hero-progress{display:grid;gap:10px}.adminlte-shell .dashboard-loading-meter{width:100%}
}
@media (max-width:480px){
  .sidebar-toggle{width:38px;height:38px}.adminlte-shell .page{padding-left:10px;padding-right:10px}.adminlte-shell .panel{padding:14px}.adminlte-shell .hero h1{font-size:1.85rem}.adminlte-shell table{min-width:680px}
}
.adminlte-shell .table-wrap td:first-child{overflow:visible;text-overflow:clip;white-space:normal}
.adminlte-shell .table-wrap td.num,.adminlte-shell .table-wrap th.num{white-space:nowrap}

/* v7.1 AdminLTE-style key-page component conversion.
   UI-only: adds deeper card, filter, table, form, and dashboard visual treatment to existing PHP views. */
.adminlte-shell .lte-page-hero{
  position:relative;overflow:hidden;border-top:4px solid #2563eb;background:linear-gradient(180deg,#ffffff,#fbfdff);
}
.adminlte-shell .lte-page-hero:after{content:"";position:absolute;right:-80px;top:-100px;width:260px;height:260px;border-radius:999px;background:radial-gradient(circle,rgba(37,99,235,.12),rgba(37,99,235,0) 68%);pointer-events:none}
.adminlte-shell .lte-page-hero .eyebrow{color:#1d4ed8}
.adminlte-shell .lte-page-hero .hero-stats span{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;box-shadow:0 1px 0 rgba(15,23,42,.03)}

.adminlte-shell .lte-card{position:relative;border:1px solid var(--lte-card-border);border-radius:14px;background:#fff;box-shadow:var(--lte-box-shadow-sm)}
.adminlte-shell section.lte-card,.adminlte-shell div.lte-card{overflow:visible}
.adminlte-shell .lte-card-header,.adminlte-shell .panel-heading-row.lte-card-header{display:flex;align-items:center;justify-content:space-between;gap:14px;padding-bottom:12px;margin-bottom:14px;border-bottom:1px solid #e5edf7}
.adminlte-shell .lte-card-header h2,.adminlte-shell .panel-heading-row.lte-card-header h2{margin:0;color:#0f172a;font-size:1.05rem;letter-spacing:-.01em}
.adminlte-shell .lte-card-header p,.adminlte-shell .panel-heading-row.lte-card-header p{margin:.18rem 0 0}
.adminlte-shell .panel.lte-card > h2:first-child,.adminlte-shell section.lte-card > h2:first-child,.adminlte-shell div.lte-card > h2:first-child{display:flex;align-items:center;gap:8px;margin:-2px 0 12px;padding-bottom:12px;border-bottom:1px solid #e5edf7;color:#0f172a;font-size:1.05rem;letter-spacing:-.01em}
.adminlte-shell .panel.lte-card > h2:first-child:before,.adminlte-shell section.lte-card > h2:first-child:before,.adminlte-shell div.lte-card > h2:first-child:before{content:"";width:8px;height:22px;border-radius:999px;background:#2563eb;box-shadow:0 0 0 4px rgba(37,99,235,.10);flex:0 0 auto}
.adminlte-shell .grid .panel.lte-card,.adminlte-shell .dashboard-panel.lte-card{min-height:100%}
.adminlte-shell .cards.lte-stat-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:14px;margin-bottom:18px}
.adminlte-shell .cards.lte-stat-grid .card,.adminlte-shell .dashboard-card-row .card{display:grid;gap:4px;min-height:104px;padding:16px;border-left:4px solid #2563eb}
.adminlte-shell .cards.lte-stat-grid .card span,.adminlte-shell .dashboard-card-row .card span{font-size:12px;font-weight:900;color:#64748b;letter-spacing:.06em;text-transform:uppercase}
.adminlte-shell .cards.lte-stat-grid .card strong,.adminlte-shell .dashboard-card-row .card strong{font-size:1.55rem;letter-spacing:-.04em;color:#0f172a}

.adminlte-shell .lte-filter-tools{margin:0;border:0;background:transparent;box-shadow:none;padding:0}
.adminlte-shell .lte-filter-details{border:1px solid #dbeafe;border-radius:13px;background:linear-gradient(180deg,#f8fbff,#fff);overflow:hidden}
.adminlte-shell .lte-filter-details > summary{display:flex;align-items:center;gap:8px;padding:13px 15px;background:#eff6ff;color:#1d4ed8;font-weight:900;cursor:pointer;list-style:none;border-bottom:1px solid #dbeafe}
.adminlte-shell .lte-filter-details > summary::-webkit-details-marker{display:none}
.adminlte-shell .lte-filter-details > summary:before{content:"☰";font-size:13px;color:#2563eb}
.adminlte-shell .lte-filter-details[open] > summary{border-bottom-color:#dbeafe}
.adminlte-shell .server-filter-form.lte-form{padding:15px;align-items:end;background:#fff}
.adminlte-shell .table-filter-field span,.adminlte-shell .table-page-size span{color:#475569;font-weight:800;font-size:12px;letter-spacing:.02em}
.adminlte-shell .table-filter-field input,.adminlte-shell .table-filter-field select,.adminlte-shell .table-page-size select,.adminlte-shell .lte-form input,.adminlte-shell .lte-form select,.adminlte-shell .lte-form textarea{min-height:38px;border:1px solid #cbd5e1;border-radius:9px;background:#fff;color:#0f172a}
.adminlte-shell .table-filter-field input:focus,.adminlte-shell .table-filter-field select:focus,.adminlte-shell .lte-form input:focus,.adminlte-shell .lte-form select:focus,.adminlte-shell .lte-form textarea:focus{outline:3px solid rgba(96,165,250,.35);border-color:#60a5fa;box-shadow:none}
.adminlte-shell .lte-card-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}

.adminlte-shell .lte-pager{border:1px solid #e2e8f0;border-radius:12px;background:#f8fafc;padding:10px 12px;margin:10px 0;box-shadow:0 1px 0 rgba(15,23,42,.02)}
.adminlte-shell .lte-table-wrap{border:1px solid #e2e8f0;border-radius:12px;overflow:auto;background:#fff;box-shadow:0 2px 12px rgba(15,23,42,.04)}
.adminlte-shell .lte-table{border-collapse:separate;border-spacing:0;width:100%;font-size:.92rem}
.adminlte-shell .lte-table thead th{background:#f1f5f9;color:#334155;font-weight:900;border-bottom:1px solid #cbd5e1;white-space:nowrap}
.adminlte-shell .lte-table thead th:first-child{border-top-left-radius:11px}
.adminlte-shell .lte-table thead th:last-child{border-top-right-radius:11px}
.adminlte-shell .lte-table tbody tr:nth-child(even){background:#fbfdff}
.adminlte-shell .lte-table tbody tr:hover{background:#eff6ff}
.adminlte-shell .lte-table a{font-weight:800;text-decoration:none}.adminlte-shell .lte-table a:hover{text-decoration:underline}
.adminlte-shell .lte-table code{display:inline-block;padding:.18rem .35rem;border-radius:6px;background:#f1f5f9;color:#334155;font-size:.82em}

.adminlte-shell .context-help.lte-callout{border-left:4px solid #0ea5e9;background:#f8fbff;border-radius:12px;box-shadow:0 2px 12px rgba(15,23,42,.04)}
.adminlte-shell .context-help.lte-callout summary{color:#075985;font-weight:900}
.adminlte-shell .notice.success,.adminlte-shell .notice.ok{border-left:4px solid #22c55e}.adminlte-shell .notice.warning{border-left:4px solid #f59e0b}.adminlte-shell .alert,.adminlte-shell .notice.error{border-left:4px solid #ef4444}

.adminlte-shell .import-form.lte-form,.adminlte-shell .confirm-import{border:1px dashed #cbd5e1;border-radius:12px;background:#f8fafc;padding:14px;margin-top:12px}
.adminlte-shell .inline-check{display:flex;align-items:flex-start;gap:8px;margin-bottom:12px;font-weight:800;color:#475569}
.adminlte-shell .inline-check input{margin-top:2px}

.adminlte-shell .dashboard-lazy-section{border:1px solid transparent;border-radius:16px;padding:0}
.adminlte-shell .dashboard-lazy-section[aria-busy="true"]{background:rgba(255,255,255,.45);border-color:#e2e8f0;padding:10px}
.adminlte-shell .dashboard-panel.lte-card{border-top:3px solid #2563eb}
.adminlte-shell .dashboard-grid .lte-card .mini-link{border:1px solid #bfdbfe;background:#eff6ff;color:#1d4ed8;border-radius:999px;padding:6px 10px;font-weight:900;text-decoration:none;white-space:nowrap}
.adminlte-shell .dashboard-grid .lte-card .mini-link:hover{background:#dbeafe}

@media (max-width:760px){
  .adminlte-shell .lte-card-header,.adminlte-shell .panel-heading-row.lte-card-header{display:grid;gap:8px}
  .adminlte-shell .server-filter-form.lte-form{padding:12px;grid-template-columns:1fr!important}
  .adminlte-shell .lte-pager{display:grid;gap:10px}.adminlte-shell .lte-card-actions{display:grid;grid-template-columns:1fr}.adminlte-shell .lte-card-actions .button{width:100%}
  .adminlte-shell .cards.lte-stat-grid{grid-template-columns:1fr}
}

/* v7.2 dashboard performance diagnostics */
.adminlte-shell .section-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:16px}
.adminlte-shell .mini-stat-row{display:flex;align-items:stretch;gap:10px;flex-wrap:wrap}
.adminlte-shell .mini-stat-row span{display:flex;flex-direction:column;gap:2px;min-width:118px;padding:10px 12px;border:1px solid var(--lte-card-border);border-radius:14px;background:rgba(248,250,252,.86)}
.adminlte-shell .mini-stat-row strong{font-size:15px;line-height:1.2;color:#0f172a;max-width:210px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.adminlte-shell .mini-stat-row em{font-style:normal;font-size:11px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;color:#64748b}
.adminlte-shell .dashboard-performance-card .lte-table-wrap{margin-top:12px}
.adminlte-shell .dashboard-diagnostics-table td,.adminlte-shell .dashboard-diagnostics-table th{vertical-align:top}
.adminlte-shell .dashboard-diagnostics-recent{margin-top:14px;border:1px solid var(--lte-card-border);border-radius:14px;background:#fff;overflow:hidden}
.adminlte-shell .dashboard-diagnostics-recent summary{cursor:pointer;padding:12px 14px;font-weight:900;color:#334155;background:rgba(248,250,252,.9)}
.adminlte-shell .dashboard-diagnostics-recent .lte-table-wrap{margin:0;border:0;border-top:1px solid var(--lte-card-border);border-radius:0}
@media (max-width:780px){.adminlte-shell .section-heading{display:block}.adminlte-shell .mini-stat-row{margin-top:12px}.adminlte-shell .mini-stat-row span{min-width:min(100%,150px);flex:1 1 140px}}


/* v7.3.1 UI correction patch.
   Presentation-only fixes for AdminLTE page-hero contrast and single-group sidebar behavior. */
.adminlte-shell .page > .hero.page-hero.lte-page-hero{
  color:#0f172a;
  background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%);
  border-color:#dbe3ef;
  box-shadow:var(--lte-box-shadow-sm);
}
.adminlte-shell .page > .hero.page-hero.lte-page-hero:before{
  background:radial-gradient(circle at 18% 22%,rgba(59,130,246,.12),transparent 30%),radial-gradient(circle at 78% 18%,rgba(20,184,166,.10),transparent 28%),radial-gradient(circle at 55% 92%,rgba(168,85,247,.08),transparent 30%);
  opacity:1;
}
.adminlte-shell .page > .hero.page-hero.lte-page-hero h1,
.adminlte-shell .page > .hero.page-hero.lte-page-hero h2,
.adminlte-shell .page > .hero.page-hero.lte-page-hero strong{
  color:#0f172a;
}
.adminlte-shell .page > .hero.page-hero.lte-page-hero .muted,
.adminlte-shell .page > .hero.page-hero.lte-page-hero p{
  color:#475569;
}
.adminlte-shell .page > .hero.page-hero.lte-page-hero .eyebrow,
.adminlte-shell .page > .hero.page-hero.lte-page-hero .hero-kicker{
  color:#1d4ed8;
}
.adminlte-shell .page > .hero.page-hero.lte-page-hero .hero-kicker{
  background:#eff6ff;
  border-color:#bfdbfe;
}
.adminlte-shell .page > .hero.page-hero.lte-page-hero .hero-stats span{
  background:#ffffff;
  border:1px solid #dbe3ef;
  box-shadow:0 1px 0 rgba(15,23,42,.03),0 10px 24px rgba(15,23,42,.05);
  backdrop-filter:none;
}
.adminlte-shell .page > .hero.page-hero.lte-page-hero .hero-stats strong{
  color:#0f172a;
}
.adminlte-shell .page > .hero.page-hero.lte-page-hero .hero-stats em{
  color:#64748b;
}
.adminlte-shell .page > .hero.page-hero.lte-page-hero .button.secondary{
  background:#ffffff;
  color:#1d4ed8;
  border-color:#bfdbfe;
  box-shadow:0 2px 8px rgba(29,78,216,.10);
}
.adminlte-shell .page > .hero.page-hero.lte-page-hero .button.secondary:hover{
  background:#eff6ff;
  color:#1e40af;
}
.adminlte-shell .page > .hero.page-hero.lte-page-hero .toolbar,
.adminlte-shell .page > .hero.page-hero.lte-page-hero .button-row{
  color:#0f172a;
}
.adminlte-shell .sidebar-group:not([open]) .sidebar-subnav{display:none}
.adminlte-shell .sidebar-group[open] .sidebar-subnav{display:grid}

/* v7.3.2 AdminLTE template consistency patch.
   UI-only refinements for unified hero styling, sidebar accordion behavior, and collapsed navigation. */
.adminlte-shell .app-wrapper{
  display:block;
}
.adminlte-shell .app-sidebar,
.adminlte-shell .app-header,
.adminlte-shell .app-main,
.adminlte-shell .app-content{
  box-sizing:border-box;
}
.adminlte-shell .sidebar-dashboard .nav-label,
.adminlte-shell .sidebar-group > summary .nav-label{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
@media (min-width:1101px){
  body.sidebar-collapse .app-sidebar:not(:hover):not(:focus-within) .sidebar-dashboard .nav-label,
  body.sidebar-collapse .app-sidebar:not(:hover):not(:focus-within) .sidebar-group > summary .nav-label,
  body.sidebar-collapse .app-sidebar:not(:hover):not(:focus-within) .nav-caret,
  body.sidebar-collapse .app-sidebar:not(:hover):not(:focus-within) .brand-text,
  body.sidebar-collapse .app-sidebar:not(:hover):not(:focus-within) .sidebar-link small{
    display:none!important;
  }
  body.sidebar-collapse .app-sidebar:not(:hover):not(:focus-within) .sidebar-dashboard,
  body.sidebar-collapse .app-sidebar:not(:hover):not(:focus-within) .sidebar-group > summary{
    justify-content:center;
  }
  body.sidebar-collapse .app-sidebar:not(:hover):not(:focus-within) .sidebar-dashboard .nav-icon,
  body.sidebar-collapse .app-sidebar:not(:hover):not(:focus-within) .sidebar-group > summary .nav-icon{
    margin:0;
  }
  body.sidebar-collapse .app-sidebar:not(:hover):not(:focus-within) .sidebar-dashboard,
  body.sidebar-collapse .app-sidebar:not(:hover):not(:focus-within) .sidebar-group > summary{
    width:44px;
    margin-left:auto;
    margin-right:auto;
  }
}

/* Keep the Reports menu open and visually stable for all reports, including Countries Called. */
.adminlte-shell .sidebar-group[open] > summary{
  color:#fff;
}
.adminlte-shell .sidebar-group[open] .sidebar-subnav{
  display:grid;
}
.adminlte-shell .sidebar-group:not([open]) .sidebar-subnav{
  display:none;
}

/* Unified AdminLTE-style page heroes override old dark/special page hero treatments. */
.adminlte-shell .page > .hero.page-hero.lte-page-hero,
.adminlte-shell .life-story-hero{
  position:relative;
  overflow:hidden;
  color:#0f172a!important;
  background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%)!important;
  border:1px solid #dbe3ef!important;
  border-top:4px solid #2563eb!important;
  border-radius:14px!important;
  box-shadow:var(--lte-box-shadow-sm)!important;
  margin:0 0 18px!important;
}
.adminlte-shell .page > .hero.page-hero.lte-page-hero:before,
.adminlte-shell .life-story-hero:before{
  content:"";
  position:absolute;
  inset:-30% -12% auto auto;
  width:360px;
  height:360px;
  border-radius:999px;
  background:radial-gradient(circle,rgba(37,99,235,.12),rgba(37,99,235,0) 68%);
  pointer-events:none;
}
.adminlte-shell .page > .hero.page-hero.lte-page-hero:after,
.adminlte-shell .life-story-hero:after{
  content:"";
  position:absolute;
  left:0;right:0;bottom:0;height:4px;
  background:linear-gradient(90deg,#2563eb,#0ea5e9,#14b8a6)!important;
  opacity:.95!important;
  pointer-events:none;
  inset:auto 0 0 0!important;
}
.adminlte-shell .page > .hero.page-hero.lte-page-hero > *,
.adminlte-shell .life-story-copy,
.adminlte-shell .life-story-statbox{
  position:relative;
  z-index:1;
}
.adminlte-shell .page > .hero.page-hero.lte-page-hero h1,
.adminlte-shell .life-story-copy h1{
  color:#0f172a!important;
  letter-spacing:-.045em;
}
.adminlte-shell .page > .hero.page-hero.lte-page-hero .muted,
.adminlte-shell .page > .hero.page-hero.lte-page-hero p,
.adminlte-shell .life-story-copy p{
  color:#475569!important;
}
.adminlte-shell .page > .hero.page-hero.lte-page-hero .eyebrow,
.adminlte-shell .life-story-copy .eyebrow{
  color:#1d4ed8!important;
}
.adminlte-shell .life-story-bg{
  display:none!important;
}
.adminlte-shell .life-story-statbox{
  color:#0f172a!important;
  background:#fff!important;
  border:1px solid #dbe3ef!important;
  border-radius:14px!important;
  box-shadow:0 10px 24px rgba(15,23,42,.05)!important;
  backdrop-filter:none!important;
}
.adminlte-shell .life-story-statbox > span{
  color:#1d4ed8!important;
}
.adminlte-shell .life-story-statbox > strong{
  color:#0f172a!important;
}
.adminlte-shell .life-story-statbox > em{
  color:#64748b!important;
}
.adminlte-shell .life-stat-grid b{
  color:#0f172a!important;
  background:#f8fafc!important;
  border:1px solid #e2e8f0;
  border-radius:12px;
}
.adminlte-shell .life-stat-grid small{
  color:#64748b!important;
}
.adminlte-shell .life-story-actions .button-ghost,
.adminlte-shell .page > .hero.page-hero.lte-page-hero .button.secondary{
  background:#fff!important;
  color:#1d4ed8!important;
  border:1px solid #bfdbfe!important;
  box-shadow:0 2px 8px rgba(29,78,216,.10)!important;
}
.adminlte-shell .life-story-actions .button-ghost:hover,
.adminlte-shell .page > .hero.page-hero.lte-page-hero .button.secondary:hover{
  background:#eff6ff!important;
  color:#1e40af!important;
}
.adminlte-shell .life-story-actions .button-bright,
.adminlte-shell .page > .hero.page-hero.lte-page-hero .button:not(.secondary){
  background:#2563eb!important;
  color:#fff!important;
  border-color:#2563eb!important;
  box-shadow:0 8px 22px rgba(37,99,235,.20)!important;
}
.adminlte-shell .life-story-actions .button-bright:hover,
.adminlte-shell .page > .hero.page-hero.lte-page-hero .button:not(.secondary):hover{
  background:#1d4ed8!important;
  border-color:#1d4ed8!important;
}

/* Make the bespoke life-story content read as AdminLTE cards without changing its data or links. */
.adminlte-shell .life-fact,
.adminlte-shell .life-chapters a,
.adminlte-shell .era-card,
.adminlte-shell .story-record-card,
.adminlte-shell .decade-story-card,
.adminlte-shell .year-leader-card{
  border-radius:14px!important;
  border-color:#dbe3ef!important;
  background:#fff!important;
  box-shadow:var(--lte-box-shadow-sm)!important;
}
.adminlte-shell .life-fact.primary{
  background:linear-gradient(180deg,#ffffff,#f8fbff)!important;
  color:#0f172a!important;
}
.adminlte-shell .life-fact.primary span,
.adminlte-shell .life-fact.primary em{
  color:#64748b!important;
}

@media (max-width:1180px){
  .adminlte-shell .life-story-hero{grid-template-columns:1fr!important;}
}
@media (max-width:720px){
  .adminlte-shell .life-story-hero{padding:18px!important;border-radius:14px!important;}
  .adminlte-shell .life-story-copy h1{font-size:2rem!important;line-height:1.02;}
}

/* v7.4: Personal History progressive loading uses the same quiet AdminLTE skeleton language as the dashboard. */
.adminlte-shell .personal-history-progress{margin-bottom:18px;overflow:hidden}
.adminlte-shell .personal-history-progress .section-head{align-items:center}
.adminlte-shell .personal-history-progress .eyebrow{margin:0 0 4px;color:#2563eb;text-transform:uppercase;letter-spacing:.12em;font-size:.72rem;font-weight:900}
.adminlte-shell .personal-history-progress h1{margin:0;color:#0f172a;font-size:1.05rem;line-height:1.25}
.adminlte-shell .personal-history-progress .dashboard-progress-count{display:inline-flex;align-items:center;justify-content:center;min-width:62px;padding:7px 10px;border-radius:999px;background:#eff6ff;color:#1d4ed8;font-size:.86rem;font-weight:900}
.adminlte-shell .dashboard-progress-track{height:7px;margin:0 18px 16px;overflow:hidden;border-radius:999px;background:#e2e8f0}
.adminlte-shell .dashboard-progress-track span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#2563eb,#14b8a6);transition:width .22s ease}
.adminlte-shell .personal-history-lazy-section{position:relative;margin-bottom:18px;scroll-margin-top:calc(var(--lte-header-height) + 18px)}
.adminlte-shell .personal-history-lazy-section[aria-busy="true"]{min-height:80px}
.adminlte-shell .personal-history-section-loaded{animation:dashboardSectionIn .22s ease-out}
.adminlte-shell .personal-history-section-error .warning-panel{margin-bottom:18px}
@media (max-width:760px){
  .adminlte-shell .personal-history-progress .section-head{align-items:flex-start}
  .adminlte-shell .personal-history-progress .dashboard-progress-count{align-self:flex-start}
  .adminlte-shell .dashboard-progress-track{margin-left:14px;margin-right:14px}
}

/* v7.5 table typography and contact management refinements. */
.adminlte-shell .lte-table,
.adminlte-shell .table-wrap table{
  font-weight:400;
  color:#334155;
}
.adminlte-shell .lte-table tbody td,
.adminlte-shell .table-wrap tbody td{
  font-weight:400;
  line-height:1.45;
}
.adminlte-shell .lte-table tbody td:first-child,
.adminlte-shell .table-wrap tbody td:first-child{
  font-weight:400;
}
.adminlte-shell .lte-table a,
.adminlte-shell .table-wrap a:not(.button){
  font-weight:600;
  color:#1d4ed8;
  text-decoration:none;
}
.adminlte-shell .lte-table a:hover,
.adminlte-shell .table-wrap a:not(.button):hover{
  color:#1e40af;
  text-decoration:underline;
}
.adminlte-shell .lte-table thead th,
.adminlte-shell .table-wrap thead th{
  font-weight:760;
}
.adminlte-shell .lte-table .num,
.adminlte-shell .table-wrap .num{
  font-weight:500;
}
.adminlte-shell .danger-zone{
  border-color:#fecaca;
  background:linear-gradient(180deg,#fff 0%,#fff7f7 100%);
}
.adminlte-shell .danger-zone h2{color:#991b1b;}
.adminlte-shell .danger-zone .muted{color:#7f1d1d;}


/* v7.5.1 dashboard palette alignment.
   UI-only overrides: keep the progressive dashboard logic and all data unchanged while
   making dashboard surfaces match the light AdminLTE-style portal shell. */
.adminlte-shell .dashboard-hero{
  background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%)!important;
  color:#0f172a!important;
  border:1px solid var(--lte-card-border)!important;
  border-radius:14px!important;
  box-shadow:var(--lte-box-shadow-sm)!important;
}
.adminlte-shell .dashboard-hero-bg{
  inset:-22% -8% auto auto!important;
  width:62%;
  height:72%;
  background:radial-gradient(circle at 30% 24%,rgba(37,99,235,.13),transparent 34%),radial-gradient(circle at 76% 44%,rgba(20,184,166,.11),transparent 30%)!important;
  filter:none!important;
  opacity:1!important;
  pointer-events:none;
}
.adminlte-shell .dashboard-hero:after{display:none!important;content:none!important}
.adminlte-shell .dashboard-hero-content{position:relative;z-index:2}
.adminlte-shell .dashboard-hero .eyebrow,
.adminlte-shell .hero-mix-heading span{
  color:#2563eb!important;
}
.adminlte-shell .dashboard-hero h1{
  color:#0f172a!important;
  letter-spacing:-.045em;
}
.adminlte-shell .dashboard-hero-subtitle{
  color:#475569!important;
}
.adminlte-shell .dashboard-hero-actions .button-bright{
  background:#2563eb!important;
  color:#fff!important;
  border-color:#2563eb!important;
  box-shadow:0 8px 22px rgba(37,99,235,.20)!important;
}
.adminlte-shell .dashboard-hero-actions .button-bright:hover{
  background:#1d4ed8!important;
  border-color:#1d4ed8!important;
}
.adminlte-shell .dashboard-hero-actions .button-ghost{
  background:#fff!important;
  color:#1d4ed8!important;
  border:1px solid #bfdbfe!important;
  box-shadow:0 2px 8px rgba(29,78,216,.10)!important;
}
.adminlte-shell .dashboard-hero-actions .button-ghost:hover{
  background:#eff6ff!important;
  color:#1e40af!important;
}
.adminlte-shell .dashboard-hero-mix{
  background:#fff!important;
  color:#0f172a!important;
  border:1px solid var(--lte-card-border)!important;
  box-shadow:var(--lte-box-shadow-sm)!important;
  backdrop-filter:none!important;
}
.adminlte-shell .hero-mix-heading strong{color:#0f172a!important}
.adminlte-shell .hero-mix-row{
  background:#f8fafc!important;
  border:1px solid #e2e8f0!important;
  color:#0f172a!important;
  box-shadow:none!important;
}
.adminlte-shell .hero-mix-row:hover{
  background:#eff6ff!important;
  border-color:#bfdbfe!important;
}
.adminlte-shell .hero-mix-row b,
.adminlte-shell .hero-mix-row em{
  color:#475569!important;
}
.adminlte-shell .hero-mix-row strong,
.adminlte-shell .usage-mix-row strong,
.adminlte-shell .kpi-card:before,
.adminlte-shell .life-fact:before{
  background:linear-gradient(90deg,#2563eb,#14b8a6)!important;
}
.adminlte-shell .hero-empty{color:#64748b!important}

.adminlte-shell .dashboard-hero-progress{
  background:#f8fafc!important;
  color:#0f172a!important;
  border:1px solid #dbe3ef!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
}
.adminlte-shell .dashboard-hero-progress .eyebrow{
  color:#2563eb!important;
}
.adminlte-shell .dashboard-hero-progress strong[data-dashboard-progress-title]{
  color:#0f172a!important;
}
.adminlte-shell .dashboard-hero-progress small{
  color:#64748b!important;
}
.adminlte-shell .dashboard-loading-meter span{
  color:#1d4ed8!important;
}
.adminlte-shell .dashboard-loading-meter strong{
  background:#e2e8f0!important;
}
.adminlte-shell .dashboard-loading-meter i{
  background:linear-gradient(90deg,#2563eb,#14b8a6)!important;
}
.adminlte-shell .dashboard-loading-complete{
  background:#ecfdf5!important;
  border-color:#bbf7d0!important;
}

.adminlte-shell .dashboard-kpis .kpi-card,
.adminlte-shell .dashboard-kpis .kpi-card.kpi-primary{
  background:linear-gradient(180deg,#ffffff 0%,#f8fafc 100%)!important;
  color:#0f172a!important;
  border:1px solid var(--lte-card-border)!important;
  border-radius:14px!important;
  box-shadow:var(--lte-box-shadow-sm)!important;
}
.adminlte-shell .dashboard-kpis .kpi-card:hover{
  border-color:#bfdbfe!important;
  box-shadow:var(--lte-box-shadow)!important;
}
.adminlte-shell .dashboard-kpis .kpi-card span,
.adminlte-shell .dashboard-kpis .kpi-card.kpi-primary span{
  color:#64748b!important;
}
.adminlte-shell .dashboard-kpis .kpi-card strong,
.adminlte-shell .dashboard-kpis .kpi-card.kpi-primary strong{
  color:#0f172a!important;
}
.adminlte-shell .dashboard-kpis .kpi-card em,
.adminlte-shell .dashboard-kpis .kpi-card.kpi-primary em{
  color:#64748b!important;
}

.adminlte-shell .dashboard-panel.lte-card{
  background:#fff!important;
  border:1px solid var(--lte-card-border)!important;
  border-top:1px solid var(--lte-card-border)!important;
  border-radius:14px!important;
  box-shadow:var(--lte-box-shadow-sm)!important;
}
.adminlte-shell .dashboard-panel .lte-card-header,
.adminlte-shell .dashboard-panel .panel-heading-row{
  border-bottom-color:#edf2f7;
}
.adminlte-shell .dashboard-panel h2,
.adminlte-shell .dashboard-panel h3{
  color:#0f172a;
}
.adminlte-shell .dashboard-panel .muted,
.adminlte-shell .dashboard-panel em,
.adminlte-shell .change-card em,
.adminlte-shell .record-grid em,
.adminlte-shell .identity-grid em,
.adminlte-shell .timeline-mini em,
.adminlte-shell .billing-status-card em{
  color:#64748b;
}
.adminlte-shell .dashboard-grid .lte-card .mini-link,
.adminlte-shell .mini-link{
  background:#eff6ff;
  color:#1d4ed8;
  border:1px solid #bfdbfe;
  border-radius:999px;
  padding:6px 10px;
  font-weight:800;
}
.adminlte-shell .dashboard-grid .lte-card .mini-link:hover,
.adminlte-shell .mini-link:hover{
  background:#dbeafe;
  color:#1e40af;
  text-decoration:none;
}
.adminlte-shell .transition-chart,
.adminlte-shell .skeleton-chart-bars{
  background:linear-gradient(180deg,#ffffff 0%,#f8fafc 100%)!important;
  border:1px solid #e5edf7;
}
.adminlte-shell .dashboard-hour-bars,
.adminlte-shell .skeleton-mini-bars{
  border-top-color:#e5edf7!important;
}
.adminlte-shell .change-card,
.adminlte-shell .record-grid a,
.adminlte-shell .identity-grid a,
.adminlte-shell .insight-tile,
.adminlte-shell .skeleton-card-stack{
  background:#f8fafc!important;
  border-color:#e2e8f0!important;
}
.adminlte-shell .billing-status-card{
  background:linear-gradient(180deg,#f8fafc,#eff6ff)!important;
  border-color:#bfdbfe!important;
}
.adminlte-shell .billing-status-card span,
.adminlte-shell .timeline-mini time,
.adminlte-shell .compact-list b{
  color:#1d4ed8!important;
}
.adminlte-shell .dashboard-lazy-section[aria-busy="true"]{
  background:transparent!important;
  border-color:transparent!important;
  padding:0!important;
}
.adminlte-shell .dashboard-skeleton-block{
  background:#fff!important;
  border:1px solid var(--lte-card-border)!important;
  box-shadow:var(--lte-box-shadow-sm)!important;
}
.adminlte-shell .dashboard-hero-skeleton{
  background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%)!important;
}
.adminlte-shell .dashboard-hero-skeleton .dashboard-hero-mix{
  background:#fff!important;
}
.adminlte-shell .skeleton-line,
.adminlte-shell .skeleton-chart-bars i,
.adminlte-shell .skeleton-heatmap i,
.adminlte-shell .skeleton-mini-bars i,
.adminlte-shell .skeleton-table i{
  background:#e2e8f0!important;
}
.adminlte-shell .skeleton-button{
  background:#dbeafe!important;
}

@media (max-width:1180px){
  .adminlte-shell .dashboard-hero-bg{display:none!important}
}


/* v7.6.1: Personal History progressive status now lives inside the hero, matching the dashboard pattern. */
.adminlte-shell .personal-history-hero-progress{
  margin-top:18px!important;
  max-width:760px;
}
.adminlte-shell .life-story-hero .personal-history-hero-progress{
  grid-column:auto;
}
.adminlte-shell .personal-history-hero-progress strong[data-personal-history-progress-title]{
  color:#0f172a!important;
}
.adminlte-shell .personal-history-hero-progress small{
  color:#64748b!important;
}
.adminlte-shell .personal-history-hero-progress.dashboard-loading-complete{
  border-color:#bbf7d0!important;
  background:#f0fdf4!important;
}
.adminlte-shell .personal-history-hero-progress.dashboard-loading-complete .eyebrow,
.adminlte-shell .personal-history-hero-progress.dashboard-loading-complete .dashboard-loading-meter span{
  color:#15803d!important;
}
