:root{
  --brand-orange:#ec6725;
  --brand-green:#70b437;
  --brand-green-dark:#5aa236;
  --brand-green-soft:#b7d4c7;
  --brand-blue:#337da0;
  --brand-cyan:#17b9d6;
  --brand-yellow:#f4b400;
  --brand-gray:#706f6f;
  --ink:#202733;
  --ink-strong:#101827;
  --muted:#636b76;
  --line:#e3e8ef;
  --soft:#f7f9fb;
  --panel:#ffffff;
  --shadow:0 16px 36px rgba(32,39,51,.08);
  --shadow-soft:0 8px 20px rgba(32,39,51,.06);
  --radius:12px;
  --radius-lg:16px;
}

*{box-sizing:border-box}
html{min-height:100%}
body{
  margin:0;
  min-height:100%;
  color:var(--ink);
  background:#f7f8fa;
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  letter-spacing:0;
}
a{color:inherit;text-decoration:none}
img{max-width:100%;height:auto}

.executive-shell{
  min-height:100vh;
  background:
    linear-gradient(90deg,rgba(112,180,55,.07),transparent 32%),
    linear-gradient(180deg,#fbfcfd 0%,#f3f6f9 100%);
}

.premium-login{
  min-height:100vh;
  display:grid;
  place-items:center;
  padding:24px;
  background:
    linear-gradient(90deg,rgba(5,20,34,.62),rgba(5,20,34,.32)),
    url("sport-premium-bg.svg") center/cover fixed no-repeat;
}
.premium-login::before{display:none}
.login-card{
  width:min(100%,450px);
  padding:40px 40px 34px;
  border-radius:22px;
  color:var(--ink);
  background:rgba(244,247,244,.91);
  border:1px solid rgba(255,255,255,.72);
  box-shadow:0 28px 70px rgba(0,0,0,.32);
  backdrop-filter:blur(9px);
}
.login-card::before{display:none}
.login-card .brand{text-align:center;margin-bottom:26px}
.login-card .brand img{
  width:265px;
  max-width:84%;
  padding:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
}
.login-card .brand h1{
  margin:22px 0 7px;
  color:var(--brand-blue);
  font-size:40px;
  line-height:1;
  font-weight:950;
  letter-spacing:.06em;
  text-transform:uppercase;
}
.login-card .brand p{
  margin:0;
  color:var(--brand-green-dark);
  font-size:16px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.field{margin-top:20px}
label{
  display:block;
  margin-bottom:7px;
  color:#454b55;
  font-size:12px;
  font-weight:900;
  letter-spacing:.06em;
  text-transform:uppercase;
}
.login-card label{color:#454b55}
.input-wrap{
  display:grid;
  grid-template-columns:58px 1fr;
  min-height:53px;
  border-radius:8px;
  overflow:hidden;
  border:1px solid #d9e2ec;
  background:#fff;
  box-shadow:0 12px 24px rgba(42,62,78,.13);
}
.input-wrap:focus-within{border-color:var(--brand-orange);box-shadow:0 0 0 3px rgba(236,103,37,.13),0 12px 24px rgba(42,62,78,.13)}
.input-wrap .icon{
  display:grid;
  place-items:center;
  color:#fff;
  font-size:13px;
  font-weight:950;
  background:linear-gradient(135deg,var(--brand-blue),var(--brand-green));
}
.input-wrap input{
  width:100%;
  height:53px;
  border:0;
  outline:0;
  padding:0 17px;
  color:#2f343a;
  background:#fff;
  font:inherit;
}
.password-wrap{grid-template-columns:58px 1fr 52px}
.peek{
  border:0;
  border-left:1px solid #cfd6df;
  background:#fff;
  color:#101827;
  font-weight:900;
  cursor:pointer;
}
.remember{
  display:flex;
  align-items:center;
  gap:8px;
  margin-top:17px;
  color:#454b55!important;
  font-size:13px;
  letter-spacing:0;
  text-transform:none;
}
.remember input{width:15px;height:15px}
.submit{
  width:100%;
  min-height:54px;
  margin-top:4px;
  border:0;
  border-radius:9px;
  color:#fff;
  background:linear-gradient(90deg,var(--brand-blue),var(--brand-green));
  font-size:17px;
  font-weight:950;
  letter-spacing:.04em;
  cursor:pointer;
  box-shadow:0 14px 26px rgba(51,125,160,.22);
}
.help{
  margin-top:24px;
  padding-top:18px;
  border-top:1px solid rgba(95,104,112,.24);
  text-align:center;
  color:#6d737b;
  font-size:13px;
}
.help a{color:#1473b6;font-weight:900;text-decoration:underline}
.copy{text-align:center;margin-top:20px;color:#858b8e;font-size:12px}
.db-msg{margin-top:16px;padding:12px;border-radius:10px;background:#fff7ed;color:#9a3412;border:1px solid #fdba74;font-size:14px}

.shell,.layout{
  min-height:100vh;
  display:grid;
  grid-template-columns:184px minmax(0,1fr);
}
.sidebar,.side{
  position:sticky;
  top:0;
  height:100vh;
  overflow:auto;
  padding:28px 0 18px;
  color:#fff;
  background:linear-gradient(180deg,#b5d1c9 0%,#72b843 100%);
  box-shadow:8px 0 28px rgba(39,72,52,.16);
}
.sidebar-brand-card,.side-brand-card{
  padding:0 16px 22px;
  margin-bottom:24px;
  text-align:center;
  border:0;
  border-bottom:1px solid rgba(255,255,255,.30);
  border-radius:0;
  background:transparent;
  box-shadow:none;
}
.eyebrow,.sidebar-brand-card .eyebrow,.side-brand-card .eyebrow{display:none}
.brand-identity{display:block}
.brand-logo-full{
  width:132px;
  max-width:100%;
  padding:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  filter:drop-shadow(0 8px 12px rgba(0,0,0,.18));
}
.brand-mascot-badge,.brand-ribbon{display:none}
.userbox{
  margin:0 12px 18px;
  padding:12px 10px;
  text-align:center;
  border-radius:12px;
  color:#fff;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.20);
}
.userbox .name,.userbox b{display:block;font-size:15px;font-weight:950}
.userbox .meta{
  margin-top:5px;
  color:rgba(255,255,255,.92);
  font-size:11px;
  font-weight:800;
  letter-spacing:.04em;
}
.chips{display:flex;flex-wrap:wrap;justify-content:center;gap:5px;margin-top:9px}
.chip,.pill{
  display:inline-flex;
  align-items:center;
  gap:6px;
  border-radius:999px;
  padding:5px 9px;
  font-size:11px;
  font-weight:900;
}
.userbox .chip,.userbox .pill{background:rgba(255,255,255,.16);color:#fff;border:1px solid rgba(255,255,255,.16)}
.nav{display:grid;gap:6px;margin-top:0}
.nav a{
  display:grid;
  grid-template-columns:32px 1fr;
  align-items:center;
  gap:10px;
  min-height:54px;
  padding:8px 10px 8px 6px;
  color:#fff;
  border-radius:0;
  border-left:4px solid transparent;
  font-weight:850;
}
.nav a.active,.nav a:hover{
  background:rgba(255,255,255,.15);
  border-left-color:#fff;
}
.nav a.logout{margin-top:8px}
.nav-ico,.module-card .nav-ico{
  display:grid;
  place-items:center;
  width:24px;
  height:24px;
  border:2px solid rgba(255,255,255,.9);
  border-radius:5px;
  color:#fff;
  background:transparent;
  font-size:11px;
  font-weight:950;
}
.main,.content{min-width:0}
.main .content{padding:8px 44px 42px;display:grid;gap:22px}
.layout>.content{padding:0 28px 46px}
.topbar{
  min-height:132px;
  display:grid;
  grid-template-columns:1fr auto;
  align-items:start;
  gap:24px;
  margin:0;
  padding:46px 44px 10px;
  position:relative;
  background:transparent;
  border:0;
  box-shadow:none;
}
.layout>.content>.topbar{margin:0 -28px 18px;padding-left:28px;padding-right:28px}
.title h2,.topbar h2{
  margin:0;
  color:#252a31;
  font-size:42px;
  line-height:1.05;
  font-weight:950;
}
.title p,.topbar p{margin:10px 0 6px;color:#383f48;font-weight:650}
.topbar .meta-line,.meta-line{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  color:#2f3742;
  font-size:12px;
  font-weight:800;
}
.time{
  min-width:max-content;
  padding:0;
  color:#20252d;
  background:transparent;
  border:0;
  box-shadow:none;
  text-align:right;
  font-size:32px;
  font-weight:950;
}
.time::after{
  content:attr(data-day);
  display:block;
  margin-top:8px;
  color:#4f5560;
  font-size:14px;
  font-weight:500;
}
.quick-head{
  display:flex;
  align-items:center;
  gap:12px;
  margin:0 0 18px;
  color:#111827;
  font-size:25px;
  font-weight:950;
}
.quick-head .mark{
  width:55px;
  height:40px;
  display:grid;
  place-items:center;
  color:#111827;
  background:#fff;
  border-left:6px solid #2563eb;
  border-bottom:5px solid var(--brand-green);
  font-size:18px;
}
.module-grid{display:grid;grid-template-columns:repeat(4,minmax(190px,1fr));gap:22px}
.module-card{
  min-height:268px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  padding:26px 22px;
  text-align:center;
  color:#111827;
  background:#fff;
  border:0;
  border-left:5px solid var(--brand-blue);
  border-radius:14px;
  box-shadow:var(--shadow);
  transition:transform .16s ease,box-shadow .16s ease;
}
.module-card:hover{transform:translateY(-2px);box-shadow:0 22px 44px rgba(20,28,40,.12)}
.module-card:nth-child(3n+1){border-left-color:var(--brand-blue)}
.module-card:nth-child(3n+2){border-left-color:var(--brand-green)}
.module-card:nth-child(3n+3){border-left-color:var(--brand-yellow)}
.module-card strong{font-size:20px;margin:18px 0 10px;color:#111827;font-weight:950}
.module-card span:last-child{color:#5d6470;font-size:14px;line-height:1.5}
.module-card .nav-ico{
  width:76px;
  height:76px;
  border:0;
  border-radius:50%;
  color:var(--brand-blue);
  background:#f1f6fc;
  font-size:18px;
}
.module-card:nth-child(3n+2) .nav-ico{color:#258d58}
.module-card:nth-child(3n+3) .nav-ico{color:#d99a00}

.hero,.hero-card,.executive-hero{
  position:relative;
  overflow:hidden;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:18px;
  padding:24px;
  border-radius:18px;
  color:#fff;
  background:linear-gradient(135deg,#337da0,#70b437);
  box-shadow:var(--shadow);
}
.hero h1,.hero h3,.hero-card h3,.executive-hero h3{margin:0 0 10px;color:#fff;font-size:30px;font-weight:950}
.hero p,.hero-card p,.executive-hero p{margin:0;color:rgba(255,255,255,.90);line-height:1.55}
.hero .logo{max-width:250px;background:#fff;border-radius:12px;padding:8px}
.hero .mascot{width:112px;height:112px;border-radius:18px;object-fit:cover;background:#fff;border:4px solid rgba(255,255,255,.35)}
.quick-info,.card,.stat,.kpi,.table-wrap,.tablewrap,.iframe-wrap,.mobile-step,.op-card,.lock,.notice,.note{
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
}
.quick-info,.card{padding:18px}
.quick-info{margin-top:54px}
.quick-info h3,.card h3,.card h2{margin:0 0 8px;color:#1d2430;font-weight:950}
.quick-info p,.sub{margin:0 0 14px;color:var(--muted);font-weight:700;line-height:1.5}
.grid{display:grid;gap:18px}
.grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}
.grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}
.grid.four{grid-template-columns:repeat(4,minmax(0,1fr))}
.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.stat,.kpi{
  padding:18px;
  border-left:7px solid var(--brand-blue);
}
.stat .k,.kpi .k{
  color:#59616d;
  font-size:12px;
  font-weight:950;
  letter-spacing:.07em;
  text-transform:uppercase;
}
.stat .v,.kpi .v,.stat b{display:block;margin-top:7px;color:#111827;font-size:30px;font-weight:950}
.stat.green,.kpi.green{border-left-color:var(--brand-green)}
.stat.orange,.kpi.orange,.stat.warn{border-left-color:var(--brand-orange)}
.stat.blue,.kpi.blue,.stat.wait{border-left-color:var(--brand-blue)}
.stat.gray,.kpi.gray{border-left-color:var(--brand-gray)}
.stat.good{border-left-color:var(--brand-green)}
.stat.bad{border-left-color:#dc2626}

.tabs{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0}
.tabs a,.tab{
  display:inline-flex;
  align-items:center;
  min-height:38px;
  padding:10px 14px;
  border-radius:999px;
  color:#1f2b3a;
  background:#fff;
  border:1px solid var(--line);
  box-shadow:var(--shadow-soft);
  font-size:13px;
  font-weight:900;
  text-decoration:none;
}
.tabs a.active,.tabs a:hover,.tab.active,.tab:hover{
  color:#fff;
  background:#111827;
  border-color:#111827;
}

.form-grid,.form{display:grid;gap:13px}
.form-grid.two,.form.two{grid-template-columns:repeat(2,minmax(0,1fr))}
.form-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}
.form-grid.four{grid-template-columns:repeat(4,minmax(0,1fr))}
.filters{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;align-items:end}
input,select,textarea{
  width:100%;
  min-height:42px;
  padding:11px 12px;
  border:1px solid #d7e0ea;
  border-radius:8px;
  color:#111827;
  background:#fff;
  font:inherit;
}
textarea{min-height:86px;resize:vertical}
input:focus,select:focus,textarea:focus{outline:none;border-color:var(--brand-blue);box-shadow:0 0 0 3px rgba(51,125,160,.13)}
.btn,button,a.btn,input[type=submit]{
  min-height:40px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:10px 14px;
  border-radius:8px;
  border:1px solid transparent;
  font-weight:900;
  cursor:pointer;
}
.btn.primary,button.primary,input[type=submit].primary{color:#fff;background:var(--brand-green)}
.btn.orange{color:#fff;background:var(--brand-orange)}
.btn.green{color:#fff;background:var(--brand-green)}
.btn.blue{color:#fff;background:var(--brand-blue)}
.btn.dark{color:#fff;background:#111827}
.btn.line,.btn.secondary{color:#111827;background:#fff;border-color:#d7e0ea}
.btn.danger{color:#fff;background:#dc2626}
.btn:hover,button:hover,a.btn:hover{filter:brightness(.98);transform:translateY(-1px)}
.top-actions,.actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap}

.table-wrap,.tablewrap,.table{overflow:auto;padding:0}
table{width:100%;border-collapse:collapse;background:#fff;min-width:760px}
th,td{padding:11px 12px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}
th{
  color:#526174;
  background:#fafbfc;
  font-size:11px;
  font-weight:950;
  letter-spacing:.07em;
  text-transform:uppercase;
}
tbody tr:hover td{background:#fbfdff}
.muted{color:var(--muted)}
.small{font-size:12px}
.mono,.hash{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}
.hash{font-size:11px;color:#64748b;word-break:break-all}
.badge,.pill{
  display:inline-flex;
  align-items:center;
  gap:6px;
  border-radius:999px;
  padding:6px 10px;
  font-size:12px;
  font-weight:950;
}
.badge.good,.badge.ok,.pill.good,.pill.ok,.ok{background:#dcfce7;color:#166534}
.badge.bad,.pill.bad,.bad{background:#fee2e2;color:#991b1b}
.badge.warn,.pill.warn,.wait{background:#fef3c7;color:#92400e}
.badge.wait,.badge.open,.pill.wait,.info{background:#e0f2fe;color:#075985}
.badge.neutral,.badge.gray,.pill.gray,.pill{background:#eef2f6;color:#334155}
.badge.carro{background:rgba(51,125,160,.13);color:#225a72}
.badge.moto{background:rgba(112,180,55,.15);color:#2d6e12}
.notice,.alert{padding:13px 15px;margin:14px 0;font-weight:850}
.notice.success,.flash.success,.alert.ok{background:#ecfdf5;border-color:#bbf7d0;color:#166534}
.notice.error,.flash.error,.alert.bad{background:#fef2f2;border-color:#fecaca;color:#991b1b}
.notice.info{background:#eff6ff;border-color:#bfdbfe;color:#1e40af}
.flash{padding:13px 15px;border-radius:12px;font-weight:850;border:1px solid}

.mobile-step{display:grid;grid-template-columns:40px 1fr;gap:12px;align-items:start;padding:14px}
.mobile-step .num{
  width:40px;
  height:40px;
  display:grid;
  place-items:center;
  border-radius:50%;
  color:#b45309;
  background:#ffedd5;
  font-weight:950;
}
.mobile-step strong{display:block;margin-bottom:4px;color:#111827}
.product-list{max-height:560px;overflow:auto;border:1px solid var(--line);border-radius:12px;background:#fff}
.product-row{display:grid;grid-template-columns:1.5fr .6fr 240px;gap:12px;align-items:center;padding:12px 14px;border-bottom:1px solid #e7eef5}
.product-row:hover{background:#fbfdff}
.countbox{display:grid;grid-template-columns:42px 1fr 42px;gap:8px;align-items:center}
.countbox input{text-align:center;font-weight:950}
.mini-btn{border:1px solid #d7e0ea;background:#fff;border-radius:8px;padding:10px;font-weight:950;cursor:pointer}
.op-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.op-card{padding:14px}
.op-card h4{margin:0 0 6px}
.op-card p{margin:0;color:var(--muted)}
.searchbar{display:flex;gap:10px;margin-bottom:12px}
.signature{border:1px dashed var(--brand-orange);background:#fff8ef;border-radius:12px;padding:14px}
.warnbox,.note{border:1px dashed #cfd9e6;background:#f8fbfd;border-radius:12px;padding:14px;color:#526174;line-height:1.5}
.timeline{display:grid;gap:12px}
.event{border-left:4px solid var(--brand-blue);background:#f8fbfd;border-radius:12px;padding:12px}
.lock{padding:17px;color:var(--muted);border-style:dashed;font-weight:850}
.autosave-status{padding:10px 12px;border-radius:12px;background:#ecfdf5;border:1px solid #bbf7d0;color:#166534;font-weight:850;font-size:12px;margin-bottom:10px}
.draft-tools{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:8px 0 12px}
.draft-tools .draft-saved{color:#166534;font-weight:900;font-size:12px}
.draft-tools .draft-warn{color:#92400e;font-weight:900;font-size:12px}
.iframe-wrap{overflow:hidden;padding:0;border-radius:12px}
iframe{width:100%;height:calc(100vh - 150px);border:0;background:#fff}
.checks{display:flex;flex-wrap:wrap;gap:10px;padding:12px;border:1px solid var(--line);border-radius:10px;background:#fafbfc}
.checks label{margin:0;text-transform:none;letter-spacing:0;display:flex;gap:7px;align-items:center}
.wrap{max-width:1380px;margin:0 auto;padding:22px}
.brand-line,.brandbar{height:7px;border-radius:999px;background:linear-gradient(90deg,var(--brand-orange),var(--brand-green),var(--brand-blue),var(--brand-gray))}
.rolebox{background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.24);padding:10px 12px;border-radius:12px;font-weight:900}
.topline{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.right{text-align:right}
.linebtn{background:#fff!important;color:var(--sport-ink)!important;border:1px solid var(--sport-line)!important}
.plate{font-family:Consolas,monospace;font-weight:950;letter-spacing:.08em;font-size:18px}
.trend{display:flex;align-items:end;gap:12px;min-height:160px;padding:16px;border-radius:12px;background:#f8fbfd;border:1px solid #e4ecf4}
.bar{flex:1;display:grid;align-items:end;gap:8px;text-align:center}
.bar span{display:block;background:linear-gradient(180deg,var(--brand-blue),var(--brand-green));border-radius:10px 10px 4px 4px;min-height:6px}
.bar small{font-size:11px;color:#64748b;font-weight:800}

@media(max-width:1180px){
  .module-grid{grid-template-columns:repeat(2,minmax(190px,1fr))}
  .grid.four,.form-grid.four,.stats{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:860px){
  .shell,.layout{grid-template-columns:1fr}
  .sidebar,.side{position:relative;height:auto}
  .nav{grid-template-columns:repeat(2,minmax(0,1fr))}
  .topbar{grid-template-columns:1fr;min-height:auto;padding:24px 16px 8px}
  .main .content,.layout>.content{padding:0 16px 34px}
  .layout>.content>.topbar{margin:0 -16px 18px;padding-left:16px;padding-right:16px}
  .grid.two,.grid.three,.grid.four,.form-grid.two,.form-grid.three,.form-grid.four,.module-grid,.op-cards,.filters,.stats{grid-template-columns:1fr}
  .product-row,.product-row[style]{grid-template-columns:1fr!important}
  .searchbar{flex-direction:column}
  .actions,.top-actions{width:100%}
  .actions .btn,.top-actions .btn{flex:1 1 100%}
  .title h2,.topbar h2{font-size:32px}
  .time{text-align:left;font-size:28px}
}
@media(max-width:560px){
  .premium-login{padding:14px}
  .login-card{padding:30px 24px}
  .login-card .brand h1{font-size:32px}
  .login-card .brand p{font-size:13px}
  .nav{grid-template-columns:1fr}
  .module-card{min-height:220px}
}
@media print{
  body{background:#fff}
  .sidebar,.side,.topbar,.no-print,.tabs,.actions,.hero{display:none!important}
  .shell,.layout{display:block}
  .card,.stat,.kpi{box-shadow:none}
}

/* V95 Premium deportivo: capa final de marca Sport House */
:root{
  --sport-orange:#ec6725;
  --sport-green:#70b437;
  --sport-blue:#337da0;
  --sport-gray:#706f6f;
  --sport-ink:#102037;
  --sport-navy:#102844;
  --sport-soft:#f4f8fb;
  --sport-line:#dbe6ef;
  --sport-panel:#ffffff;
  --sport-shadow:0 24px 60px rgba(16,32,55,.12);
  --sport-shadow-soft:0 14px 34px rgba(16,32,55,.08);
}
body{
  color:var(--sport-ink);
  background:
    radial-gradient(circle at 8% 0%,rgba(236,103,37,.10),transparent 28%),
    radial-gradient(circle at 100% 12%,rgba(112,180,55,.14),transparent 32%),
    linear-gradient(180deg,#fbfdff 0%,#eef4f8 100%);
}
.executive-shell{
  background:
    linear-gradient(90deg,rgba(255,255,255,.90),rgba(255,255,255,.68)),
    url("portal-bg.svg") center/cover fixed no-repeat,
    linear-gradient(180deg,#f7fbff,#edf4f8);
}
.premium-login{
  position:relative;
  overflow:hidden;
  background:
    linear-gradient(110deg,rgba(8,24,42,.78),rgba(8,24,42,.34) 54%,rgba(112,180,55,.18)),
    url("sport-premium-bg.svg") center/cover fixed no-repeat;
}
.premium-login::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(90deg,transparent 0 18%,rgba(255,255,255,.10) 18% 19%,transparent 19% 58%,rgba(255,255,255,.08) 58% 59%,transparent 59%),
    radial-gradient(circle at 18% 86%,rgba(236,103,37,.20),transparent 26%);
}
.login-card{
  position:relative;
  z-index:1;
  width:min(100%,480px);
  padding:34px;
  border-radius:26px;
  background:linear-gradient(180deg,rgba(255,255,255,.94),rgba(246,250,247,.90));
  border:1px solid rgba(255,255,255,.72);
  box-shadow:0 34px 90px rgba(3,12,22,.42);
}
.login-card .brand img{width:300px;filter:drop-shadow(0 12px 22px rgba(16,32,55,.14))}
.login-card .brand h1{color:var(--sport-navy);letter-spacing:.08em}
.login-card .brand p{color:var(--sport-green);letter-spacing:.09em}
.login-badges{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin:16px 0 4px}
.login-badges span{padding:6px 10px;border-radius:999px;background:#eef6fb;color:var(--sport-blue);font-size:11px;font-weight:950;text-transform:uppercase;letter-spacing:.06em}
.input-wrap{border-radius:14px;border-color:#cedbe7;box-shadow:0 14px 30px rgba(16,32,55,.10)}
.input-wrap .icon{background:linear-gradient(135deg,var(--sport-blue),var(--sport-green))}
.peek{color:var(--sport-blue)}
.submit{border-radius:14px;background:linear-gradient(135deg,var(--sport-orange),var(--sport-green));box-shadow:0 16px 34px rgba(112,180,55,.24)}
.shell,.layout{grid-template-columns:244px minmax(0,1fr)}
.sidebar,.side{
  padding:22px 14px;
  background:
    linear-gradient(180deg,rgba(16,40,68,.94),rgba(38,116,85,.94)),
    linear-gradient(180deg,var(--sport-blue),var(--sport-green));
  box-shadow:12px 0 36px rgba(16,32,55,.18);
}
.sidebar-brand-card,.side-brand-card{
  padding:16px 12px 18px;
  margin:0 0 16px;
  border:1px solid rgba(255,255,255,.18);
  border-radius:20px;
  background:rgba(255,255,255,.10);
}
.eyebrow,.sidebar-brand-card .eyebrow,.side-brand-card .eyebrow{
  display:inline-flex;
  margin-bottom:10px;
  color:rgba(255,255,255,.76);
  font-size:10px;
  font-weight:950;
  letter-spacing:.13em;
  text-transform:uppercase;
}
.brand-logo-full{width:170px;filter:drop-shadow(0 14px 22px rgba(0,0,0,.18))}
.brand-mascot-badge{
  display:grid;
  place-items:center;
  width:58px;
  height:58px;
  margin:12px auto 0;
  overflow:hidden;
  border-radius:18px;
  background:#fff;
  box-shadow:0 12px 28px rgba(0,0,0,.18);
}
.brand-mascot-badge img{width:100%;height:100%;object-fit:cover}
.brand-ribbon{display:block;height:6px;border-radius:999px;background:linear-gradient(90deg,var(--sport-orange),var(--sport-green),var(--sport-blue))}
.userbox{border-radius:18px;background:rgba(255,255,255,.12);box-shadow:inset 0 1px 0 rgba(255,255,255,.16)}
.nav{gap:8px}
.nav a{
  grid-template-columns:34px 1fr;
  min-height:48px;
  padding:9px 10px;
  border-radius:16px;
  border-left:0;
  background:transparent;
}
.nav a.active,.nav a:hover{background:rgba(255,255,255,.14);box-shadow:inset 0 0 0 1px rgba(255,255,255,.12)}
.module-icon,.nav-ico{
  display:grid;
  place-items:center;
  width:34px;
  height:34px;
  flex:0 0 34px;
  border-radius:12px;
  color:#fff;
  background:rgba(255,255,255,.14);
  border:1px solid rgba(255,255,255,.16);
}
.module-icon svg{width:20px;height:20px}
.module-icon--control{background:linear-gradient(135deg,var(--sport-blue),#1fb7d6)}
.module-icon--inventory,.module-icon--inventario{background:linear-gradient(135deg,var(--sport-green),#39b66a)}
.module-icon--home{background:linear-gradient(135deg,var(--sport-blue),var(--sport-green))}
.module-icon--audit,.module-icon--auditorias,.module-icon--reports{background:linear-gradient(135deg,var(--sport-orange),#f4b400)}
.module-icon--users,.module-icon--hr{background:linear-gradient(135deg,#475569,var(--sport-blue))}
.module-icon--parking,.module-icon--parqueadero,.module-icon--rentals,.module-icon--arriendos{background:linear-gradient(135deg,var(--sport-blue),var(--sport-green))}
.module-icon--talento{background:linear-gradient(135deg,#2563eb,#475569)}
.module-icon--siigo{background:linear-gradient(135deg,#111827,var(--sport-blue))}
.module-icon--docs,.module-icon--documentos,.module-icon--accounting,.module-icon--maintenance,.module-icon--crm{background:linear-gradient(135deg,var(--sport-gray),#94a3b8)}
.module-icon--supernumerarios{background:linear-gradient(135deg,#047857,var(--sport-orange))}
.main .content,.layout>.content{padding:0 34px 46px}
.topbar{
  min-height:112px;
  padding:34px 34px 10px;
  align-items:center;
}
.title h2,.topbar h2{font-size:38px;color:var(--sport-ink)}
.title p,.topbar p{color:#516174}
.time{font-size:30px;color:var(--sport-navy)}
.command-hero{
  position:relative;
  overflow:hidden;
  display:grid;
  grid-template-columns:minmax(0,1fr) 310px;
  gap:24px;
  align-items:center;
  margin-bottom:22px;
  padding:28px;
  border-radius:28px;
  color:#fff;
  background:
    linear-gradient(135deg,rgba(16,40,68,.96),rgba(51,125,160,.90) 48%,rgba(112,180,55,.90)),
    url("portal-bg.svg") center/cover no-repeat;
  box-shadow:var(--sport-shadow);
}
.command-hero::after{
  content:"";
  position:absolute;
  inset:auto -10% -45% 48%;
  height:260px;
  transform:rotate(-10deg);
  background:rgba(255,255,255,.10);
  border-radius:50%;
}
.command-copy,.command-brand{position:relative;z-index:1}
.hero-kicker{
  display:inline-flex;
  padding:7px 10px;
  border-radius:999px;
  background:rgba(255,255,255,.14);
  border:1px solid rgba(255,255,255,.18);
  font-size:11px;
  font-weight:950;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.command-hero h1{margin:12px 0 10px;font-size:42px;line-height:1.02;color:#fff}
.command-hero p{margin:0;max-width:760px;color:rgba(255,255,255,.88);line-height:1.58;font-weight:650}
.hero-metrics{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}
.hero-metrics span{padding:9px 12px;border-radius:999px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.14);font-weight:900;font-size:12px}
.command-brand{display:grid;justify-items:center;gap:14px}
.command-brand .brand-logo-panel{width:250px;border-radius:20px;background:#fff;padding:12px;box-shadow:0 18px 38px rgba(0,0,0,.20)}
.command-brand .brand-mascot-panel{width:118px;height:118px;border-radius:30px;object-fit:cover;background:#fff;border:6px solid rgba(255,255,255,.24)}
.quick-head{font-size:22px}
.quick-head .mark{border-radius:14px;border-left-color:var(--sport-orange);border-bottom-color:var(--sport-green)}
.module-grid{grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:18px}
.module-card{
  position:relative;
  min-height:238px;
  align-items:flex-start;
  justify-content:space-between;
  text-align:left;
  padding:22px;
  overflow:hidden;
  border:1px solid var(--sport-line);
  border-left:0;
  border-radius:22px;
  box-shadow:var(--sport-shadow-soft);
}
.module-card::before{
  content:"";
  position:absolute;
  left:0;
  top:0;
  bottom:0;
  width:7px;
  background:var(--module-color,var(--sport-blue));
}
.module-card::after{
  content:"";
  position:absolute;
  right:-38px;
  top:-38px;
  width:120px;
  height:120px;
  border-radius:50%;
  background:color-mix(in srgb,var(--module-color,var(--sport-blue)) 16%,transparent);
}
.module-card .module-icon{
  width:62px;
  height:62px;
  border-radius:18px;
  background:var(--module-color,var(--sport-blue));
}
.module-card .module-icon svg{width:31px;height:31px}
.module-card strong{margin:16px 0 8px;color:var(--sport-ink);font-size:21px}
.module-card span:last-child{color:#5b6878;font-weight:650}
.module-card .module-action{margin-top:18px;color:var(--module-color,var(--sport-blue));font-weight:950;font-size:13px;text-transform:uppercase;letter-spacing:.06em}
.module-card--control{--module-color:var(--sport-blue)}
.module-card--inventario{--module-color:var(--sport-green)}
.module-card--auditorias{--module-color:var(--sport-orange)}
.module-card--usuarios{--module-color:#475569}
.module-card--talento{--module-color:#2563eb}
.module-card--parqueadero{--module-color:#0f766e}
.module-card--arriendos{--module-color:#7c3aed}
.module-card--supernumerarios{--module-color:#047857}
.module-card--reportes{--module-color:#f59e0b}
.module-card--siigo{--module-color:#111827}
.module-card--documentos{--module-color:#64748b}
.hero,.hero-card,.executive-hero{
  border-radius:28px;
  background:
    linear-gradient(135deg,rgba(16,40,68,.96),rgba(51,125,160,.88) 52%,rgba(112,180,55,.86)),
    url("portal-bg.svg") center/cover no-repeat;
  box-shadow:var(--sport-shadow);
}
.hero h1,.hero h3,.hero-card h3,.executive-hero h3{font-size:32px}
.card,.quick-info,.stat,.kpi,.table-wrap,.tablewrap,.iframe-wrap,.mobile-step,.op-card,.lock,.notice,.note{
  border-color:var(--sport-line);
  border-radius:18px;
  box-shadow:var(--sport-shadow-soft);
}
.card{padding:22px}
.stat,.kpi{border-left-width:6px}
.tabs a,.tab{border-radius:14px;box-shadow:none}
.tabs a.active,.tabs a:hover,.tab.active,.tab:hover{background:var(--sport-navy);border-color:var(--sport-navy)}
.btn,button,a.btn,input[type=submit]{border-radius:12px}
.btn.primary,button.primary,input[type=submit].primary{background:linear-gradient(135deg,var(--sport-orange),var(--sport-green))}
.btn.dark{background:var(--sport-navy)}
input,select,textarea{border-radius:12px}
.iframe-wrap{
  border-radius:22px;
  background:#fff;
  padding:10px;
}
.iframe-wrap iframe{border-radius:16px;min-height:calc(100vh - 170px)}
.camera{border:2px dashed var(--sport-line);border-radius:20px;padding:14px;background:#f8fbfd;display:grid;gap:12px}
.camera video{width:100%;max-height:280px;background:#111827;border-radius:16px;object-fit:cover}
.camstatus{font-size:13px;font-weight:850;color:#475569}
.evidence{display:flex;gap:10px;flex-wrap:wrap}
.evidence img{width:90px;height:70px;object-fit:cover;border-radius:12px;border:1px solid var(--sport-line)}
.cal{display:grid;grid-template-columns:repeat(7,1fr);gap:8px}
.dow{text-align:center;color:#64748b;font-size:12px;font-weight:950}
.day{min-height:100px;border:1px solid var(--sport-line);border-radius:16px;background:#fff;padding:10px}
.day.mute{opacity:.45}.day .n{font-weight:950}.day .meta{font-size:12px;color:#475569;margin-top:6px;display:grid;gap:4px}
.day.ok{border-color:#86efac;background:#f0fdf4}.day.bad{border-color:#fecaca;background:#fef2f2}.day.warn{border-color:#fcd34d;background:#fffbeb}.day.info{border-color:#bfdbfe;background:#eff6ff}
.maplink{color:var(--sport-blue);font-weight:950}
.locked{background:#f1f5f9;border:1px solid #cbd5e1;color:#334155;border-radius:16px;padding:14px;font-weight:850;line-height:1.5}
.security-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:16px}
.security-check{position:relative;padding:18px;border-radius:18px;background:#fff;border:1px solid var(--sport-line);box-shadow:var(--sport-shadow-soft)}
.security-check strong{display:block;margin:8px 0;color:var(--sport-ink)}
.security-check p{margin:0;color:#64748b;line-height:1.5;font-weight:650}
@media(max-width:1180px){
  .command-hero{grid-template-columns:1fr}
  .command-brand{justify-items:start}
  .shell,.layout{grid-template-columns:214px minmax(0,1fr)}
}
@media(max-width:860px){
  .shell,.layout{grid-template-columns:1fr}
  .sidebar,.side{position:relative;height:auto}
  .main .content,.layout>.content{padding:0 16px 34px}
  .topbar{padding:22px 16px 8px}
  .command-hero{padding:22px;border-radius:22px}
  .command-hero h1{font-size:32px}
  .command-brand .brand-logo-panel{width:220px}
  .nav{grid-template-columns:repeat(2,minmax(0,1fr))}
  .module-grid{grid-template-columns:1fr}
  .cal{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:560px){
  .login-card{padding:26px 20px}
  .nav{grid-template-columns:1fr}
  .title h2,.topbar h2{font-size:29px}
  .command-hero h1{font-size:28px}
}

/* V97 - Operacion profesional */
.ops-board{
  margin:18px 0 24px;
  padding:22px;
  border:1px solid var(--sport-line);
  border-radius:24px;
  background:linear-gradient(180deg,#fff,#f8fbfd);
  box-shadow:var(--sport-shadow-soft);
}
.ops-board-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
  margin-bottom:16px;
}
.ops-board-head h3{
  margin:5px 0 6px;
  color:var(--sport-ink);
  font-size:25px;
}
.ops-board-head p{
  margin:0;
  max-width:760px;
  color:#5b6878;
  line-height:1.5;
  font-weight:650;
}
.ops-status{
  flex:none;
  border:1px solid #dbeafe;
  border-radius:999px;
  background:#eff6ff;
  color:#1d4ed8;
  padding:10px 14px;
  font-size:12px;
  font-weight:950;
  text-transform:uppercase;
}
.ops-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(210px,1fr));
  gap:14px;
}
.ops-card{
  position:relative;
  min-height:154px;
  padding:17px 17px 18px;
  border:1px solid var(--sport-line);
  border-radius:20px;
  background:#fff;
  color:var(--sport-ink);
  text-decoration:none;
  box-shadow:0 14px 35px rgba(16,40,68,.08);
  overflow:hidden;
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.ops-card:hover{
  transform:translateY(-3px);
  border-color:color-mix(in srgb,var(--ops-color,var(--sport-blue)) 55%,#dbe4ee);
  box-shadow:0 22px 46px rgba(16,40,68,.14);
}
.ops-card::after{
  content:"";
  position:absolute;
  inset:auto -34px -42px auto;
  width:118px;
  height:118px;
  border-radius:999px;
  background:color-mix(in srgb,var(--ops-color,var(--sport-blue)) 14%,transparent);
}
.ops-card .module-icon{
  width:44px;
  height:44px;
  border-radius:14px;
  background:var(--ops-color,var(--sport-blue));
}
.ops-card .module-icon svg{width:23px;height:23px}
.ops-count{
  position:absolute;
  top:17px;
  right:17px;
  min-width:42px;
  height:42px;
  display:grid;
  place-items:center;
  border-radius:14px;
  background:color-mix(in srgb,var(--ops-color,var(--sport-blue)) 12%,#fff);
  color:var(--ops-color,var(--sport-blue));
  font-size:22px;
  font-weight:950;
}
.ops-card strong{
  display:block;
  margin:18px 56px 7px 0;
  font-size:18px;
  line-height:1.15;
}
.ops-card em{
  display:block;
  position:relative;
  z-index:1;
  color:#64748b;
  font-style:normal;
  font-weight:700;
  line-height:1.42;
}
.ops-card--blue{--ops-color:var(--sport-blue)}
.ops-card--orange{--ops-color:var(--sport-orange)}
.ops-card--green{--ops-color:var(--sport-green)}
.ops-card--purple{--ops-color:#7c3aed}
.ops-card--teal{--ops-color:#0f766e}
.ops-card--amber{--ops-color:#d97706}
.ops-card--slate{--ops-color:#475569}
.ops-card--cash{--ops-color:#047857}

.pro-module-wrap{max-width:1280px;margin:0 auto;padding:22px}
.module-hero{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  margin:0 0 18px;
  padding:22px;
  border-radius:24px;
  background:
    linear-gradient(135deg,rgba(16,40,68,.96),rgba(51,125,160,.88) 56%,rgba(112,180,55,.84)),
    url("portal-bg.svg") center/cover no-repeat;
  color:#fff;
  box-shadow:var(--sport-shadow);
}
.module-hero__brand{display:flex;align-items:center;gap:17px;min-width:0}
.module-hero__brand img{
  width:154px;
  max-width:36vw;
  border-radius:18px;
  background:#fff;
  padding:10px;
  box-shadow:0 14px 34px rgba(0,0,0,.18);
}
.module-hero__brand span{
  display:block;
  color:rgba(255,255,255,.76);
  font-size:12px;
  font-weight:950;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.module-hero__brand h3{
  margin:4px 0;
  color:#fff;
  font-size:31px;
  line-height:1.08;
}
.module-hero__brand p{
  margin:0;
  max-width:720px;
  color:rgba(255,255,255,.9);
  line-height:1.5;
  font-weight:650;
}
.module-hero .btn.line{
  border-color:rgba(255,255,255,.42);
  background:rgba(255,255,255,.14);
  color:#fff;
}
.pro-kpis{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
  margin:0 0 18px;
}
.inline-actions{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
  margin:4px 0;
}
.inline-actions input{min-width:134px;max-width:180px}
.inline-actions .btn{padding:10px 12px}
.table-wrap .btn{white-space:nowrap}
.card .form-grid.three{grid-template-columns:repeat(auto-fit,minmax(165px,1fr))}
@media(max-width:860px){
  .ops-board-head,.module-hero{flex-direction:column;align-items:flex-start}
  .ops-status{align-self:flex-start}
  .pro-kpis{grid-template-columns:1fr}
  .module-hero__brand{align-items:flex-start}
}
@media(max-width:560px){
  .pro-module-wrap{padding:14px}
  .module-hero{padding:18px;border-radius:20px}
  .module-hero__brand{flex-direction:column}
  .module-hero__brand h3{font-size:25px}
  .ops-board{padding:16px;border-radius:20px}
}


/* ===================================================================
   AJUSTE FINAL SOLO DE DISENO - tema solicitado por el cliente
   No modifica BD, usuarios, seguimientos ni logica del sistema.
   =================================================================== */
:root{
  --sh-navy:#083a5f;
  --sh-navy-2:#0b4d78;
  --sh-navy-3:#0e608f;
  --sh-orange:#ff6f0f;
  --sh-orange-2:#ec6725;
  --sh-green:#72b843;
  --sh-bg:#f4f7fb;
  --sh-card:#ffffff;
  --sh-line:#e5ebf2;
  --sh-text:#111827;
  --sh-muted:#667085;
  --sh-shadow:0 12px 34px rgba(15, 23, 42, .08);
}
html,body{background:var(--sh-bg) !important;color:var(--sh-text) !important;}
.executive-shell{
  background:linear-gradient(180deg,#fbfdff 0%,#f3f7fb 100%) !important;
}
.shell,.layout{grid-template-columns:260px minmax(0,1fr) !important;background:transparent !important;}

/* Login */
.premium-login{
  background:
    linear-gradient(120deg,rgba(8,58,95,.78),rgba(8,58,95,.48)),
    url('sport-premium-bg.svg') center/cover fixed no-repeat !important;
}
.login-card{
  width:min(100%,470px) !important;
  border-radius:30px !important;
  border:1px solid rgba(255,255,255,.45) !important;
  background:rgba(255,255,255,.94) !important;
  box-shadow:0 30px 70px rgba(8,58,95,.26) !important;
}
.login-card .brand h1{color:var(--sh-navy) !important;font-size:42px !important;}
.login-card .brand p{color:var(--sh-green) !important;}
.input-wrap{border-radius:16px !important;border-color:#d6dee8 !important;box-shadow:none !important;}
.input-wrap .icon{background:linear-gradient(180deg,var(--sh-navy),var(--sh-navy-3)) !important;}
.submit{background:linear-gradient(135deg,var(--sh-orange),#ff8a1f) !important;box-shadow:0 16px 30px rgba(255,111,15,.22) !important;}

/* Sidebar */
.sidebar,.side{
  padding:16px 18px 18px !important;
  background:linear-gradient(180deg,var(--sh-navy) 0%,var(--sh-navy-2) 100%) !important;
  box-shadow:8px 0 30px rgba(8,58,95,.18) !important;
}
.sidebar-brand-card,.side-brand-card{
  margin:0 0 18px !important;
  padding:0 0 18px !important;
  border-bottom:1px solid rgba(255,255,255,.12) !important;
}
.brand-logo-full{width:190px !important;filter:drop-shadow(0 10px 16px rgba(0,0,0,.22));}
.brand-mascot-badge,.brand-ribbon{display:none !important;}
.userbox{
  display:none !important; /* se oculta para parecerse al mockup y no tocar datos */
}
.nav{padding:8px 0 18px !important;gap:8px !important;}
.nav a{
  min-height:54px !important;
  padding:12px 14px !important;
  border-radius:14px !important;
  border-left:0 !important;
  color:rgba(255,255,255,.96) !important;
  background:transparent !important;
  box-shadow:none !important;
  transform:none !important;
}
.nav a:hover{
  background:rgba(255,255,255,.08) !important;
}
.nav a.active{
  background:linear-gradient(135deg,var(--sh-orange),#ff8a1f) !important;
  color:#fff !important;
  box-shadow:0 14px 28px rgba(255,111,15,.22) !important;
}
.nav a.logout{margin-top:12px !important;background:rgba(255,255,255,.07) !important;}
.nav .module-icon{
  width:34px !important;height:34px !important;
  border-radius:12px !important;
  background:rgba(255,255,255,.12) !important;
  color:#fff !important;
  box-shadow:none !important;
}
.nav a.active .module-icon{background:rgba(255,255,255,.18) !important;}
.nav-ico svg,.module-icon svg{width:18px !important;height:18px !important;}

/* Main area */
.main{background:transparent !important;}
.main .content,.layout>.content,.content{padding:20px 30px 38px !important;gap:20px !important;}
.topbar{
  position:sticky !important;
  top:0 !important;
  z-index:15 !important;
  display:grid !important;
  grid-template-columns:minmax(0,1fr) auto !important;
  align-items:center !important;
  gap:16px !important;
  margin:0 !important;
  padding:20px 30px 12px !important;
  background:rgba(255,255,255,.92) !important;
  backdrop-filter:blur(10px) !important;
  border-bottom:1px solid var(--sh-line) !important;
  box-shadow:0 8px 28px rgba(15,23,42,.05) !important;
}
.title h2,.topbar h2{margin:0 !important;font-size:30px !important;line-height:1.08 !important;color:var(--sh-text) !important;letter-spacing:-.03em !important;}
.title p,.topbar p,.meta-line span,.sub{color:var(--sh-muted) !important;}
.meta-line{gap:10px !important;margin-top:10px !important;}
.meta-line span{background:#f8fafc !important;border:1px solid var(--sh-line) !important;border-radius:999px !important;padding:6px 10px !important;}
.time{
  min-width:150px !important;
  padding:14px 18px !important;
  border-radius:14px !important;
  background:#fff !important;
  border:1px solid var(--sh-line) !important;
  color:#344054 !important;
  font-size:16px !important;
  text-align:center !important;
  box-shadow:none !important;
}
.time::after{display:none !important;}

/* Generic cards / containers */
.quick-info,.card,.stat,.kpi,.table-wrap,.tablewrap,.iframe-wrap,.mobile-step,.op-card,.lock,.notice,.note,
.command-hero,.ops-board,.module-card,.ops-card,.panel,.box,.summary-card,.dashboard-card,.table,.widget{
  background:var(--sh-card) !important;
  border:1px solid var(--sh-line) !important;
  border-radius:22px !important;
  box-shadow:var(--sh-shadow) !important;
}
.card,.quick-info,.stat,.kpi,.command-hero,.ops-board{padding:22px !important;}
.card h2,.card h3,.quick-info h3,.quick-head,.ops-board-head h3{color:var(--sh-text) !important;}
.quick-head{
  display:flex !important;align-items:center !important;gap:10px !important;
  padding:4px 0 0 !important;background:transparent !important;border:0 !important;box-shadow:none !important;
  font-size:20px !important;font-weight:900 !important;
}
.quick-head .mark{width:42px !important;height:42px !important;border-radius:14px !important;background:#fff7ed !important;border:1px solid #fed7aa !important;}

.command-hero{
  background:linear-gradient(135deg,var(--sh-navy) 0%,var(--sh-navy-3) 100%) !important;
  color:#fff !important;
  overflow:hidden !important;
}
.command-hero::after{opacity:.14 !important;}
.command-hero h1,.command-hero h2{color:#fff !important;}
.command-hero p,.hero-metrics span{color:rgba(255,255,255,.88) !important;}
.hero-kicker{background:rgba(255,255,255,.12) !important;border:1px solid rgba(255,255,255,.16) !important;color:#fff !important;}
.hero-metrics{gap:10px !important;}
.hero-metrics > *{border-radius:999px !important;padding:10px 14px !important;background:rgba(255,255,255,.10) !important;border:1px solid rgba(255,255,255,.16) !important;}
.brand-logo-panel{border-radius:16px !important;padding:12px !important;background:#fff !important;}
.brand-mascot-panel{max-width:180px !important;}

.module-grid,.ops-grid,.grid{gap:18px !important;}
.module-card,.ops-card{
  min-height:160px !important;
  padding:20px !important;
  position:relative !important;
  overflow:hidden !important;
}
.module-card::before,.ops-card::before{content:"";position:absolute;inset:auto -18px -18px auto;width:80px;height:80px;border-radius:50%;background:rgba(51,125,160,.08);}
.module-card strong,.ops-card strong{display:block !important;margin:14px 0 8px !important;font-size:18px !important;font-weight:900 !important;color:var(--sh-text) !important;}
.module-card span,.ops-card em{color:var(--sh-muted) !important;line-height:1.45 !important;font-style:normal !important;}
.module-action{
  display:inline-flex !important;align-items:center !important;gap:8px !important;
  margin-top:14px !important;padding:8px 12px !important;border-radius:999px !important;
  background:#eff8ff !important;color:var(--sh-navy-2) !important;font-weight:900 !important;
}
.ops-count,.stat .v{font-size:38px !important;font-weight:900 !important;color:var(--sh-text) !important;line-height:1 !important;}
.ops-status,.pill,.chip{
  border-radius:999px !important;padding:7px 12px !important;
}
.ops-status{background:#ecfdf3 !important;border:1px solid #bbf7d0 !important;color:#157331 !important;}

/* Stats */
.stat{position:relative !important;padding:22px !important;}
.stat::after{content:"";position:absolute;right:-18px;top:-18px;width:90px;height:90px;border-radius:50%;background:rgba(15,23,42,.03);}
.stat.green{background:linear-gradient(180deg,#ffffff 0%,#f5fcf0 100%) !important;border-color:#ccecb3 !important;}
.stat.blue{background:linear-gradient(180deg,#ffffff 0%,#f0f8fd 100%) !important;border-color:#cae4f2 !important;}
.stat.orange{background:linear-gradient(180deg,#ffffff 0%,#fff6ed 100%) !important;border-color:#fed7aa !important;}
.stat.red{background:linear-gradient(180deg,#ffffff 0%,#fff1f2 100%) !important;border-color:#fecdd3 !important;}

/* Forms and buttons */
.btn,button,input[type="submit"],.submit{
  border-radius:14px !important;
  font-weight:900 !important;
}
.btn.primary,button.primary,input[type="submit"],.submit,.button-primary{
  background:linear-gradient(135deg,var(--sh-orange),#ff8a1f) !important;
  color:#fff !important;
  border:0 !important;
  box-shadow:0 12px 24px rgba(255,111,15,.22) !important;
}
.btn.line,.btn.secondary,button.secondary{
  background:#fff !important;color:var(--sh-navy-2) !important;border:1px solid #dbe8f0 !important;
}
input,select,textarea{
  min-height:46px !important;
  border-radius:14px !important;
  border:1px solid var(--sh-line) !important;
  background:#fff !important;
  color:#1f2937 !important;
}
input:focus,select:focus,textarea:focus{
  outline:0 !important;border-color:#96c2db !important;box-shadow:0 0 0 4px rgba(51,125,160,.12) !important;
}
label{color:#475467 !important;}

/* Tables / tabs */
.table-wrap,.tablewrap,.table{overflow:auto !important;padding:0 !important;}
.tabs,.filters,.stats,.actions{display:flex;flex-wrap:wrap;gap:12px !important;align-items:center;}
.tabs a,.tab,.filters .tab,.tab-btn{
  display:inline-flex;align-items:center;gap:8px;padding:10px 14px;border-radius:999px;background:#fff;border:1px solid var(--sh-line);font-weight:800;color:#475467;
}
.tabs a.active,.tab.active,.tab-btn.active{background:#fff7ed !important;border-color:#fed7aa !important;color:var(--sh-orange) !important;}
.table-wrap table,table{width:100% !important;border-collapse:separate !important;border-spacing:0 !important;}
.table-wrap th,th{
  position:sticky;top:0;z-index:1;
  padding:13px 14px !important;
  background:#f8fafc !important;
  color:#475467 !important;
  border-bottom:1px solid var(--sh-line) !important;
  font-size:12px !important;
  text-transform:uppercase !important;
  letter-spacing:.04em !important;
}
.table-wrap td,td{padding:13px 14px !important;border-bottom:1px solid #edf2f7 !important;color:#344054 !important;background:#fff !important;}
.table-wrap tr:hover td,tr:hover td{background:#fbfdff !important;}
.badge,.status,.tag{
  display:inline-flex;align-items:center;gap:6px;padding:7px 10px;border-radius:999px;font-size:12px;font-weight:800;border:1px solid transparent;
}
.badge.ok,.status.ok,.tag.ok{background:#ecfdf3 !important;color:#157331 !important;border-color:#bbf7d0 !important;}
.badge.warn,.status.warn,.tag.warn{background:#fff7ed !important;color:#c2410c !important;border-color:#fed7aa !important;}
.badge.info,.status.info,.tag.info{background:#eff8ff !important;color:#175cd3 !important;border-color:#bfdbfe !important;}
.badge.danger,.status.danger,.tag.danger{background:#fff1f2 !important;color:#be123c !important;border-color:#fecdd3 !important;}

.flash{border-radius:16px !important;}
.flash.success{background:#ecfdf3 !important;color:#14532d !important;border-color:#bbf7d0 !important;}
.flash.error{background:#fff1f2 !important;color:#9f1239 !important;border-color:#fecdd3 !important;}

/* Specific screens with same visual system */
#app,.app-shell,.dashboard-shell,.dashboard-page{background:transparent !important;}

/* Responsive */
@media (max-width:1200px){
  .shell,.layout{grid-template-columns:220px minmax(0,1fr) !important;}
}
@media (max-width:1024px){
  .shell,.layout{grid-template-columns:1fr !important;}
  .sidebar,.side{position:relative !important;height:auto !important;}
  .nav{grid-template-columns:repeat(auto-fit,minmax(180px,1fr)) !important;}
  .topbar{position:relative !important;padding:18px 18px 10px !important;}
  .main .content,.layout>.content,.content{padding:18px !important;}
}
@media (max-width:720px){
  .nav{grid-template-columns:1fr !important;}
  .topbar{grid-template-columns:1fr !important;}
  .title h2,.topbar h2{font-size:26px !important;}
  .module-grid,.ops-grid,.grid.two,.grid.three,.grid.four,.grid{grid-template-columns:1fr !important;}
  .main .content,.layout>.content,.content{padding:14px !important;}
  table{min-width:720px !important;}
}
