/* Soda ZW modern operations layer — deliberately loaded after all legacy styles. */
body.premium-v3{
  --modern-navy:#062b4d;--modern-navy-2:#0b3d68;--modern-orange:#ff5a14;
  --modern-green:#159565;--modern-ink:#102b42;--modern-muted:#6b7f90;
  --modern-line:#e1e8ed;--modern-surface:#ffffff;--modern-bg:#f4f7f9;
  background:var(--modern-bg);font-family:Inter,"Segoe UI",Roboto,Arial,sans-serif;
}
.premium-v3 .main{min-width:0}
.premium-v3 .topbar{box-shadow:0 1px 0 rgba(6,43,77,.03)}
.premium-v3 .topbar h1{font-weight:780}
.premium-v3 .quick-create{border-radius:12px}

/* Dashboard welcome surface */
.premium-v3 .dashboard-hero{
  position:relative;isolation:isolate;display:grid;grid-template-columns:minmax(0,1fr) 230px;
  gap:28px;align-items:center;min-height:218px;margin:0 0 24px;padding:35px 38px;
  overflow:hidden;border-radius:22px;color:#fff;
  background:linear-gradient(125deg,var(--modern-navy) 0%,#07375e 62%,#0b4774 100%);
  box-shadow:0 18px 42px rgba(6,43,77,.16);
}
.premium-v3 .dashboard-hero:before,.premium-v3 .dashboard-hero:after{
  content:"";position:absolute;z-index:-1;border:1px solid rgba(255,255,255,.1);border-radius:50%;
}
.premium-v3 .dashboard-hero:before{width:260px;height:260px;right:110px;top:-160px}
.premium-v3 .dashboard-hero:after{width:120px;height:120px;right:-38px;bottom:-44px;background:rgba(255,255,255,.025)}
.premium-v3 .dashboard-hero-copy{min-width:0}
.premium-v3 .dashboard-eyebrow{display:block;margin-bottom:11px;color:#ffb393;font-size:10px;font-weight:850;letter-spacing:.16em;text-transform:uppercase}
.premium-v3 .dashboard-hero h2{margin:0;color:#fff;font-size:34px;line-height:1.06;letter-spacing:-.04em}
.premium-v3 .dashboard-hero p{max-width:610px;margin:12px 0 22px;color:#c8d8e6;font-size:14px;line-height:1.65}
.premium-v3 .dashboard-hero-actions{display:flex;gap:10px;flex-wrap:wrap}
.premium-v3 .dashboard-hero .button{min-height:44px;border:0;border-radius:11px;padding:12px 18px}
.premium-v3 .dashboard-hero .hero-primary{background:var(--modern-orange);color:#fff;box-shadow:0 8px 20px rgba(255,90,20,.25)}
.premium-v3 .dashboard-hero .hero-secondary{background:rgba(255,255,255,.11);color:#fff;border:1px solid rgba(255,255,255,.18)}
.premium-v3 .dashboard-today{align-self:stretch;display:flex;flex-direction:column;justify-content:center;padding:24px;border:1px solid rgba(255,255,255,.13);border-radius:16px;background:rgba(2,24,43,.24);backdrop-filter:blur(6px)}
.premium-v3 .dashboard-today>span{color:#9eb7ca;font-size:9px;font-weight:850;letter-spacing:.13em;text-transform:uppercase}
.premium-v3 .dashboard-today strong{margin-top:9px;color:#fff;font-size:24px;letter-spacing:-.025em}
.premium-v3 .dashboard-today small{margin-top:4px;color:#b9ccda;font-size:11px}
.premium-v3 .dashboard-today em{display:flex;align-items:center;gap:7px;width:max-content;margin-top:22px;padding:7px 9px;border-radius:999px;background:rgba(21,149,101,.18);color:#bff1d9;font-size:9px;font-style:normal;font-weight:800}
.premium-v3 .dashboard-today em i{width:7px;height:7px;border-radius:50%;background:#42d59e;box-shadow:0 0 0 4px rgba(66,213,158,.12)}

/* High-frequency actions */
.page-dashboard .accounting-shortcuts{grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}
.page-dashboard .accounting-shortcuts a{min-height:62px;padding:12px 14px;border-radius:13px;border-color:var(--modern-line);box-shadow:0 2px 3px rgba(6,43,77,.02)}
.page-dashboard .accounting-shortcuts a b{flex:0 0 34px;width:34px;height:34px;border-radius:10px;background:#eef4f8;color:var(--modern-navy);font-size:11px}
.page-dashboard .accounting-shortcuts a:nth-child(3) b,.page-dashboard .accounting-shortcuts a:nth-child(4) b{background:#fff0e9;color:#c84a13}
.page-dashboard .accounting-shortcuts a:hover{border-color:#f3b397;box-shadow:0 10px 25px rgba(6,43,77,.08)}

/* Dashboard cards and information density */
.page-dashboard .accounting-stats{gap:13px}
.page-dashboard .accounting-stats .stat{position:relative;min-height:132px;border-radius:16px;background:linear-gradient(180deg,#fff,#fcfdfe)}
.page-dashboard .accounting-stats .stat:before{content:"";position:absolute;left:0;top:22px;width:3px;height:36px;border-radius:0 4px 4px 0;background:#8ba9c0}
.page-dashboard .accounting-stats .stat:nth-child(1):before,.page-dashboard .accounting-stats .stat:nth-child(2):before{background:var(--modern-green)}
.page-dashboard .accounting-stats .stat:nth-child(3):before,.page-dashboard .accounting-stats .stat:nth-child(4):before{background:var(--modern-orange)}
.page-dashboard .invoice-send-centre{border-radius:16px}
.page-dashboard .invoice-send-centre:before{background:var(--modern-orange)}
.page-dashboard .dashboard-grid{align-items:start}
.page-dashboard .dashboard-grid>.panel,.page-dashboard main>.panel{border-radius:16px}
.page-dashboard .table-wrap{overflow:auto;scrollbar-width:thin}
.page-dashboard th{position:sticky;top:0;z-index:1}

/* Cash-flow visual */
.page-dashboard .panel:has(.cash-chart){align-self:start;overflow:hidden;padding-bottom:20px}
.page-dashboard .panel:has(.cash-chart) .panel-head{margin:-2px -2px 0;padding:2px 2px 18px;border-bottom:1px solid #e7edf1}
.page-dashboard .panel:has(.cash-chart) .panel-head h2{font-size:20px}
.page-dashboard .panel:has(.cash-chart) .chart-legend{padding:7px 10px;border:1px solid #e4eaf0;border-radius:999px;background:#f8fafb;color:#607587;font-weight:750}
.page-dashboard .panel:has(.cash-chart) .chart-legend i{width:9px;height:9px;border-radius:3px;background:var(--modern-green)}
.page-dashboard .panel:has(.cash-chart) .chart-legend i:nth-of-type(2){background:#a8bbc9}
.page-dashboard .cash-chart{
  position:relative;height:286px;margin:20px 0 0;padding:22px 9px 26px 12px;
  border-left:1px solid #dbe4ea;border-bottom:1px solid #dbe4ea;
  background:repeating-linear-gradient(to bottom,transparent 0,transparent calc(25% - 1px),#e9eef2 25%);
}
.page-dashboard .cash-chart:before{content:"Higher";position:absolute;left:-7px;top:-2px;transform:translateX(-100%);color:#91a0ac;font-size:8px;font-weight:750;text-transform:uppercase;letter-spacing:.06em}
.page-dashboard .cash-month{position:relative;z-index:1;gap:9px}
.page-dashboard .cash-month>span{color:#62788a;font-size:9px;font-weight:750}
.page-dashboard .cash-bars{gap:4px;border-bottom:0}
.page-dashboard .cash-bars i,.page-dashboard .cash-bars b{width:10px;min-height:3px;border-radius:6px 6px 2px 2px;transition:filter .18s ease,transform .18s ease;transform-origin:bottom}
.page-dashboard .cash-bars i{background:linear-gradient(180deg,#19a471,#117b55);box-shadow:0 3px 8px rgba(21,149,101,.14)}
.page-dashboard .cash-bars b{background:linear-gradient(180deg,#b8c8d3,#91a7b7)}
.page-dashboard .cash-bars i:hover,.page-dashboard .cash-bars b:hover{filter:brightness(.92);transform:scaleX(1.18)}

/* Rebuild the imports screen as deliberate cards, including older app.css deployments. */
.page-imports .main>.page-actions{margin-bottom:8px}
.page-imports .main>.alert.info{margin-bottom:24px}
.page-imports .import-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:18px!important;align-items:stretch}
.page-imports .import-card{display:flex!important;flex-direction:column;gap:16px;min-width:0;padding:22px!important;border:1px solid var(--modern-line)!important;border-radius:16px!important;background:#fff!important;box-shadow:0 10px 28px rgba(6,43,77,.055)!important}
.page-imports .import-card>div{display:grid!important;grid-template-columns:46px minmax(0,1fr)!important;column-gap:13px;align-items:center}
.page-imports .import-icon{grid-row:1/3;display:grid!important;place-items:center;width:46px;height:46px;border-radius:12px;background:#fff0e9!important;color:var(--modern-orange)!important;font-size:16px;font-weight:900}
.page-imports .import-card h2{margin:0!important;color:var(--modern-navy);font-size:17px!important;line-height:1.2}
.page-imports .import-card p{grid-column:2;margin:6px 0 0!important;color:var(--modern-muted);font-size:11px;line-height:1.55}
.page-imports .import-card>a{align-self:flex-start}
.page-imports .import-card form{display:grid!important;gap:13px;margin-top:auto;padding-top:16px;border-top:1px solid var(--modern-line)}
.page-imports .import-card label{min-width:0}
.page-imports .import-card input[type=file]{max-width:100%;padding:7px;background:#f7f9fb;border-style:dashed}
.page-imports .import-card input[type=file]::file-selector-button{margin-right:10px;padding:8px 10px;border:0;border-radius:8px;background:#eaf1f6;color:var(--modern-navy);font-family:inherit;font-size:11px;font-weight:750;cursor:pointer}
.page-imports .import-card form>.button{width:100%;margin-top:1px}

@media(max-width:1220px){
  .page-imports .import-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:900px){
  .premium-v3 .dashboard-hero{grid-template-columns:minmax(0,1fr) 200px;padding:30px}
  .page-dashboard .accounting-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:760px){
  .premium-v3 .dashboard-hero{grid-template-columns:1fr;gap:20px;min-height:0;margin-bottom:18px;padding:25px 21px;border-radius:17px}
  .premium-v3 .dashboard-hero h2{font-size:28px}
  .premium-v3 .dashboard-hero p{margin-bottom:18px;font-size:12px}
  .premium-v3 .dashboard-hero-actions{display:grid;grid-template-columns:1fr 1fr}
  .premium-v3 .dashboard-hero .button{width:100%;text-align:center}
  .premium-v3 .dashboard-today{display:grid;grid-template-columns:1fr auto;gap:4px;padding:16px 17px}
  .premium-v3 .dashboard-today>span,.premium-v3 .dashboard-today strong,.premium-v3 .dashboard-today small{grid-column:1}
  .premium-v3 .dashboard-today em{grid-column:2;grid-row:1/4;align-self:center;margin:0}
  .page-dashboard .accounting-shortcuts{grid-template-columns:1fr 1fr}
  .page-dashboard .panel:has(.cash-chart){padding:17px 14px 16px}
  .page-dashboard .panel:has(.cash-chart) .panel-head{align-items:flex-start;gap:10px;padding-bottom:14px}
  .page-dashboard .panel:has(.cash-chart) .chart-legend{padding:6px 8px;white-space:nowrap}
  .page-dashboard .cash-chart{height:235px;margin-top:16px;padding-left:8px}
  .page-dashboard .cash-chart:before{display:none}
  .page-dashboard .cash-bars i,.page-dashboard .cash-bars b{width:8px}
  .page-imports .import-grid{grid-template-columns:1fr!important}
  .page-imports .import-card{padding:18px!important}
}
@media(max-width:430px){
  .premium-v3 .dashboard-hero-actions,.page-dashboard .accounting-shortcuts{grid-template-columns:1fr}
  .premium-v3 .dashboard-today{grid-template-columns:1fr}
  .premium-v3 .dashboard-today em{grid-column:1;grid-row:auto;margin-top:10px}
}

/* Premium executive finish */
body.premium-v3{background:radial-gradient(circle at 78% -20%,rgba(62,131,181,.09),transparent 34%),var(--modern-bg);color:#183247;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
.premium-v3 .sidebar{width:258px;padding:22px 15px 17px;background:linear-gradient(180deg,#062b4d 0%,#041f38 100%);box-shadow:12px 0 38px rgba(4,31,56,.1)}
.premium-v3 .brand{margin:0 7px 24px;gap:11px;font-size:18px}
.premium-v3 .brand img{width:68px;height:50px;border-radius:11px;box-shadow:0 8px 20px rgba(0,0,0,.16)}
.premium-v3 .sidebar nav a{min-height:43px;padding:8px 10px;border-radius:11px;color:#b8c9d6;font-weight:650}
.premium-v3 .sidebar nav a b{width:29px;height:29px;border-radius:9px;background:rgba(255,255,255,.055);color:#96aec0}
.premium-v3 .sidebar nav a b svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}
.premium-v3 .sidebar nav a.active{background:linear-gradient(135deg,#fff,#f7fafc);color:#092d4e;box-shadow:0 8px 22px rgba(0,0,0,.18)}
.premium-v3 .sidebar nav a.active b{background:#ff5a14;color:#fff;box-shadow:0 5px 12px rgba(255,90,20,.22)}
.premium-v3 .nav-section{margin:18px 11px 7px;color:#6e8ca3;font-size:9px}
.premium-v3 .main{margin-left:258px;padding:0 34px 36px}
.premium-v3 .topbar{height:82px;margin:0 -34px 25px;padding:0 34px;background:rgba(244,247,249,.88);border-color:rgba(214,224,231,.85);backdrop-filter:blur(20px)}
.premium-v3 .topbar h1{font-size:25px;font-weight:780;letter-spacing:-.035em}
.premium-v3 .topbar>div>span{font-size:9px}
.premium-v3 .panel,.premium-v3 .stat,.premium-v3 .import-card,.premium-v3 .document-card{border-color:rgba(215,225,232,.92);border-radius:18px;box-shadow:0 1px 2px rgba(6,43,77,.025),0 12px 34px rgba(6,43,77,.045)}
.premium-v3 .panel{padding:25px}
.premium-v3 .panel-head h2,.premium-v3 .panel h2{font-weight:780;letter-spacing:-.025em}
.premium-v3 .button,.premium-v3 .quick-create{border-radius:11px;letter-spacing:.005em}
.premium-v3 .button.primary,.premium-v3 .quick-create{background:linear-gradient(135deg,#ff641f,#f24c08);box-shadow:0 8px 18px rgba(242,76,8,.18)}
.premium-v3 .button.secondary{border-color:#dce5eb;background:linear-gradient(180deg,#fff,#fbfcfd)}
.premium-v3 input,.premium-v3 select,.premium-v3 textarea{border-color:#d3dee6;border-radius:11px;background:#fff}
.premium-v3 .table-wrap{border-color:#e3eaf0;border-radius:13px}
.premium-v3 th{padding-top:13px;padding-bottom:13px;background:#f7f9fb;color:#718596}
.premium-v3 td{padding-top:15px;padding-bottom:15px}
.premium-v3 tbody tr{transition:background .15s ease}.premium-v3 tbody tr:hover{background:#f8fbfd}
.premium-v3 .status{border:1px solid rgba(73,99,120,.08);font-weight:850}
.page-dashboard .accounting-stats .stat{padding:22px 23px;background:linear-gradient(145deg,#fff 0%,#fbfdfe 100%)}
.page-dashboard .accounting-stats .stat strong{font-weight:760;letter-spacing:-.035em}
.page-dashboard .accounting-stats .stat small{line-height:1.45}
.page-dashboard .account-row{transition:border-color .15s ease,box-shadow .15s ease,transform .15s ease}
.page-dashboard .account-row:hover{border-color:#cfdce5;box-shadow:0 8px 22px rgba(6,43,77,.07);transform:translateY(-1px)}
.page-dashboard .cash-chart{border-radius:8px 8px 0 0}
.premium-v3 .app-footer{color:#91a2af;letter-spacing:.03em}

@media(max-width:900px){
  .premium-v3 .main{padding-left:22px;padding-right:22px}
  .premium-v3 .topbar{margin-left:-22px;margin-right:-22px;padding-left:22px;padding-right:22px}
}
@media(max-width:760px){
  .premium-v3 .sidebar{width:min(86vw,310px)}
  .premium-v3 .main{margin-left:0;padding-left:12px;padding-right:12px}
  .premium-v3 .topbar{height:68px;margin-left:-12px;margin-right:-12px;padding-left:12px;padding-right:12px}
  .premium-v3 .panel{padding:15px;border-radius:15px}
}

/* User access and account security */
.security-role{display:inline-flex;align-items:center;padding:8px 12px;border:1px solid #dbe5ec;border-radius:999px;background:#fff;color:var(--modern-navy);font-size:10px;font-weight:850;text-transform:uppercase;letter-spacing:.07em}
.security-layout{display:grid;grid-template-columns:310px minmax(0,1fr);gap:20px;align-items:start}
.profile-card{display:flex;align-items:center;gap:16px;min-height:150px;background:linear-gradient(145deg,#082f53,#0a426f)!important;color:#fff}
.profile-avatar,.team-avatar{display:grid;place-items:center;flex:0 0 auto;border-radius:13px;font-weight:850}
.profile-avatar{width:58px;height:58px;background:linear-gradient(145deg,#ff6c29,#f14c08);color:#fff;font-size:22px;box-shadow:0 10px 24px rgba(241,76,8,.24)}
.profile-card span{color:#9eb8cb;font-size:9px;font-weight:850;letter-spacing:.08em;text-transform:uppercase}
.profile-card h2{margin:6px 0 4px!important;color:#fff!important;font-size:21px!important}
.profile-card p{margin:0;color:#c6d6e2;font-size:12px;overflow-wrap:anywhere}.profile-card small{display:block;margin-top:8px;color:#8fabc0}
.password-card{min-height:150px}.password-card .panel-head{align-items:flex-start}.password-form{align-items:end}.password-form small,.add-user-form small{color:#8293a0;font-size:9px}
.security-lock{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:#fff0e9;color:var(--modern-orange)}
.security-lock svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.security-advice{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin-top:20px;padding:0!important;overflow:hidden}
.security-advice>div{padding:20px 22px;border-right:1px solid var(--modern-line)}.security-advice>div:last-child{border-right:0}
.security-advice strong,.security-advice span{display:block}.security-advice strong{color:var(--modern-navy);font-size:12px}.security-advice span{margin-top:6px;color:var(--modern-muted);font-size:10px;line-height:1.55}
.team-user-list{display:grid;gap:10px}
.team-user-card{border:1px solid var(--modern-line);border-radius:14px;background:#fff;overflow:hidden;transition:border-color .15s ease,box-shadow .15s ease}
.team-user-card[open]{border-color:#cddbe5;box-shadow:0 10px 26px rgba(6,43,77,.06)}
.team-user-card summary{display:grid;grid-template-columns:42px minmax(180px,1fr) auto minmax(145px,auto);gap:13px;align-items:center;padding:14px 16px;cursor:pointer;list-style:none}
.team-user-card summary::-webkit-details-marker{display:none}.team-user-card summary:after{content:'+';grid-column:5;color:#7890a2;font-size:18px}.team-user-card[open] summary:after{content:'–'}
.team-avatar{width:40px;height:40px;background:#eaf2f7;color:var(--modern-navy);font-size:14px}
.team-user-card summary span:nth-child(2){min-width:0}.team-user-card summary strong,.team-user-card summary small{display:block}.team-user-card summary strong{color:var(--modern-navy);font-size:12px}.team-user-card summary span:nth-child(2) small{margin-top:4px;color:var(--modern-muted);font-size:10px;overflow-wrap:anywhere}
.team-state{padding:6px 9px;border-radius:999px;font-size:8px;font-weight:850;text-transform:uppercase;letter-spacing:.06em}.team-state.active{background:#e4f6ed;color:#11744d}.team-state.inactive{background:#f0f1f3;color:#69747c}
.team-login{color:#8092a0;font-size:9px;text-align:right}
.team-user-controls{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(260px,.5fr);gap:22px;padding:20px;border-top:1px solid var(--modern-line);background:#f8fafb}
.team-user-controls .form-grid{align-items:end}.user-active-check{min-height:43px;align-content:center}
.reset-password-form{display:grid;gap:12px;align-self:start;padding:17px;border:1px solid #e1e7ec;border-radius:12px;background:#fff}.reset-password-form h3{margin:0;color:var(--modern-navy);font-size:14px}
.self-password-note p{margin:0;color:var(--modern-muted);font-size:10px;line-height:1.55}.self-password-note .button{text-align:center}
.add-user-form{margin-top:24px;padding-top:24px;border-top:1px solid var(--modern-line);align-items:end}.add-user-form h2{margin:0!important;font-size:17px!important}

@media(max-width:900px){.security-layout,.team-user-controls{grid-template-columns:1fr}.profile-card{min-height:0}.security-advice{grid-template-columns:1fr}.security-advice>div{border-right:0;border-bottom:1px solid var(--modern-line)}.security-advice>div:last-child{border-bottom:0}}
@media(max-width:760px){.team-user-card summary{grid-template-columns:40px minmax(0,1fr) auto;padding:13px}.team-user-card summary:after{grid-column:3;grid-row:1}.team-state{grid-column:2;justify-self:start}.team-login{display:none}.team-user-controls{padding:14px;gap:14px}.password-form{grid-template-columns:1fr}.password-form>*{grid-column:1!important}}
.import-standard-card{display:flex;align-items:center;justify-content:space-between;gap:28px;padding:28px 30px;margin:20px 0 24px;background:linear-gradient(135deg,#082a4a 0%,#0b3b65 100%);border:0;color:#fff;box-shadow:0 18px 42px rgba(5,37,66,.16)}
.import-standard-card h2{margin:6px 0 8px;color:#fff}.import-standard-card .muted{max-width:780px;color:#c9dded}.import-standard-card .eyebrow{font-size:.7rem;font-weight:800;letter-spacing:.16em;color:#ffb38f}.import-standard-card form{flex:0 0 auto}.import-standard-card .button{white-space:nowrap}
@media(max-width:760px){.import-standard-card{align-items:stretch;flex-direction:column;padding:22px}.import-standard-card .button{width:100%}}

/* Premium Soda ZW command centre */
.page-dashboard .executive-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:-2px 0 18px}
.page-dashboard .executive-metrics>a{position:relative;display:flex;flex-direction:column;min-width:0;min-height:142px;padding:21px 22px;overflow:hidden;border:1px solid rgba(215,225,232,.95);border-radius:17px;background:linear-gradient(155deg,#fff 0%,#fbfdfe 100%);box-shadow:0 10px 28px rgba(6,43,77,.045);color:var(--modern-ink);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.page-dashboard .executive-metrics>a:hover{transform:translateY(-2px);border-color:#ccdbe5;box-shadow:0 16px 34px rgba(6,43,77,.08)}
.page-dashboard .executive-metrics span{color:#6d8293;font-size:10px;font-weight:780;letter-spacing:.02em}
.page-dashboard .executive-metrics strong{display:block;margin:15px 0 8px;color:#092d4e;font-size:26px;line-height:1.05;letter-spacing:-.045em;white-space:normal}
.page-dashboard .executive-metrics strong.multi-currency{font-size:21px}.page-dashboard .executive-metrics small{margin-top:auto;color:#8395a3;font-size:9px;font-weight:650}
.page-dashboard .metric-accent{position:absolute;right:-26px;bottom:-38px;width:92px;height:92px;border-radius:50%;background:#e9f1f6}.page-dashboard .metric-accent.green{background:#e1f4ec}.page-dashboard .metric-accent.orange{background:#fff0e9}.page-dashboard .metric-accent.navy{background:#e5edf4}
.page-dashboard .dashboard-today em.needs-action{background:rgba(255,122,66,.16);color:#ffd5c2}.page-dashboard .dashboard-today em.needs-action i{background:#ff7a42;box-shadow:0 0 0 4px rgba(255,122,66,.12)}
.page-dashboard .accounting-shortcuts a b svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}
.page-dashboard .accounting-shortcuts a:first-child b,.page-dashboard .accounting-shortcuts a:nth-child(2) b{background:#fff0e9;color:#d84c0e}
.page-dashboard .dashboard-command-grid{display:grid;grid-template-columns:minmax(0,1.18fr) minmax(360px,.82fr);gap:16px;margin:18px 0}
.page-dashboard .dashboard-command-grid>.panel{margin:0;padding:24px}.page-dashboard .section-kicker{display:block;margin-bottom:6px;color:#ff5a14;font-size:9px;font-weight:850;letter-spacing:.15em}.page-dashboard .attention-total{display:grid;place-items:center;min-width:43px;height:43px;padding:0 12px;border-radius:13px;background:#fff0e9;color:#d84c0e;font-size:18px}
.page-dashboard .attention-list{display:grid;margin-top:10px}.page-dashboard .attention-list>a{display:grid;grid-template-columns:10px minmax(0,1fr) auto;gap:13px;align-items:center;padding:13px 4px;border-top:1px solid #e8eef2;color:#183247}.page-dashboard .attention-list>a:first-child{border-top:0}.page-dashboard .attention-list>a:hover span b{color:#ff5a14}.page-dashboard .attention-list span{display:flex;flex-direction:column;gap:3px}.page-dashboard .attention-list span b{font-size:11px}.page-dashboard .attention-list span small{color:#8193a1;font-size:9px}.page-dashboard .attention-list>a>strong{display:grid;place-items:center;min-width:29px;height:29px;border-radius:9px;background:#f1f5f7;color:#163b59;font-size:11px}.page-dashboard .attention-dot{width:8px;height:8px;border-radius:50%;background:#0c6a9b;box-shadow:0 0 0 4px rgba(12,106,155,.08)}.page-dashboard .attention-dot.danger{background:#d84c45;box-shadow:0 0 0 4px rgba(216,76,69,.08)}.page-dashboard .attention-dot.orange{background:#ff6a28;box-shadow:0 0 0 4px rgba(255,106,40,.08)}
.page-dashboard .operations-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:13px 0 15px}.page-dashboard .operations-grid>a{display:grid;grid-template-columns:35px minmax(0,1fr) auto;gap:10px;align-items:center;min-height:68px;padding:11px;border:1px solid #e3eaef;border-radius:13px;background:#fbfcfd;color:#183247}.page-dashboard .operations-grid>a:hover{border-color:#f4b49a;background:#fff}.page-dashboard .operations-grid b{display:grid;place-items:center;width:35px;height:35px;border-radius:10px;background:#edf3f7;color:#0b3b65}.page-dashboard .operations-grid b svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}.page-dashboard .operations-grid span{font-size:9px;font-weight:720;line-height:1.35}.page-dashboard .operations-grid strong{font-size:18px;color:#092d4e}.page-dashboard .operations-link{display:flex;align-items:center;justify-content:space-between;padding:12px 2px 0;border-top:1px solid #e5ecf0;color:#0b5e91;font-size:10px;font-weight:780}.page-dashboard .operations-link span{font-size:17px}
@media(max-width:1100px){.page-dashboard .executive-metrics{grid-template-columns:1fr 1fr}.page-dashboard .dashboard-command-grid{grid-template-columns:1fr}.page-dashboard .operations-grid{grid-template-columns:repeat(4,1fr)}}
@media(max-width:760px){.page-dashboard .executive-metrics{display:flex;gap:11px;margin-right:-14px;padding:0 14px 4px 0;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none}.page-dashboard .executive-metrics::-webkit-scrollbar{display:none}.page-dashboard .executive-metrics>a{flex:0 0 78%;min-height:128px;padding:18px;scroll-snap-align:start}.page-dashboard .executive-metrics strong{font-size:24px}.page-dashboard .dashboard-command-grid{gap:13px;margin-top:14px}.page-dashboard .dashboard-command-grid>.panel{padding:19px 17px}.page-dashboard .operations-grid{grid-template-columns:1fr 1fr}.page-dashboard .operations-grid>a{grid-template-columns:32px minmax(0,1fr) auto;padding:9px}.page-dashboard .operations-grid b{width:32px;height:32px}.page-dashboard .attention-list span small{display:none}}
@media(max-width:430px){.page-dashboard .operations-grid{grid-template-columns:1fr}.page-dashboard .executive-metrics>a{flex-basis:86%}}

/* WhatsApp Level 1 operations centre */
.page-whatsapp .wa-page-heading{align-items:flex-end}.page-whatsapp .wa-page-heading>div{max-width:820px}.page-whatsapp .wa-level-pill{display:inline-flex;align-items:center;gap:8px;margin-bottom:10px;padding:7px 10px;border:1px solid #cce9db;border-radius:999px;background:#eaf8f1;color:#147b4c;font-size:8px;font-weight:850;letter-spacing:.13em}.page-whatsapp .wa-level-pill i{width:7px;height:7px;border-radius:50%;background:#20aa66;box-shadow:0 0 0 4px rgba(32,170,102,.1)}
.page-whatsapp .wa-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin:0 0 17px}.page-whatsapp .wa-summary article{position:relative;min-height:120px;padding:20px;overflow:hidden;border:1px solid #dce6ec;border-radius:16px;background:#fff;box-shadow:0 10px 28px rgba(6,43,77,.045)}.page-whatsapp .wa-summary article:after{content:"";position:absolute;right:-30px;bottom:-42px;width:100px;height:100px;border-radius:50%;background:#e7f6ef}.page-whatsapp .wa-summary article.warning:after{background:#fff0e9}.page-whatsapp .wa-summary span{display:block;color:#738797;font-size:9px;font-weight:780}.page-whatsapp .wa-summary strong{display:block;margin:12px 0 8px;color:#082f50;font-size:26px;letter-spacing:-.04em}.page-whatsapp .wa-summary small{color:#8a9aa7;font-size:8px}
.page-whatsapp .wa-compose-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(330px,.85fr);gap:16px;margin-bottom:17px}.page-whatsapp .wa-compose-grid>.panel{margin:0}.page-whatsapp .wa-compose .panel-head>b{display:grid;place-items:center;width:48px;height:48px;border-radius:14px;background:#e4f6ed;color:#15965c}.page-whatsapp .wa-compose .panel-head>b svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.page-whatsapp .wa-compose textarea{resize:vertical}.page-whatsapp .wa-compose .button.green{justify-self:start;min-width:210px}
.page-whatsapp .wa-template-list{display:grid;gap:1px;overflow:hidden;border:1px solid #e2eaf0;border-radius:14px;background:#e2eaf0}.page-whatsapp .wa-template-list>div{display:flex;flex-direction:column;gap:4px;padding:14px 15px;background:#fbfcfd}.page-whatsapp .wa-template-list b{color:#173a56;font-size:10px}.page-whatsapp .wa-template-list span{color:#7b8e9d;font-size:8px;line-height:1.45}
.page-whatsapp .wa-queue-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-bottom:17px}.page-whatsapp .wa-queue-grid>.panel{min-width:0;margin:0;padding:21px}.page-whatsapp .wa-count{display:grid;place-items:center;min-width:35px;height:35px;padding:0 9px;border-radius:11px;background:#e8f7f0;color:#147b4c;font-size:12px;font-weight:850}.page-whatsapp .wa-action-list{display:grid;margin-top:8px}.page-whatsapp .wa-action-list>div:not(.empty){display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px 12px;align-items:center;padding:13px 1px;border-top:1px solid #e7edf1}.page-whatsapp .wa-action-list>div:first-child{border-top:0}.page-whatsapp .wa-action-list span{display:flex;min-width:0;flex-direction:column;gap:4px}.page-whatsapp .wa-action-list span strong{overflow:hidden;color:#153851;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.page-whatsapp .wa-action-list span small{overflow:hidden;color:#7d8f9d;font-size:8px;text-overflow:ellipsis;white-space:nowrap}.page-whatsapp .wa-action-list>div>b{color:#123652;font-size:9px;font-weight:800}.page-whatsapp .wa-action-list form{grid-column:1/-1}.page-whatsapp .wa-action-list form .button{width:100%;min-height:35px}.page-whatsapp .wa-history{margin-bottom:0}.page-whatsapp .wa-preview{display:block;max-width:360px;overflow:hidden;color:#6f8292;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:1180px){.page-whatsapp .wa-summary{grid-template-columns:1fr 1fr}.page-whatsapp .wa-queue-grid{grid-template-columns:1fr 1fr}.page-whatsapp .wa-compose-grid{grid-template-columns:1fr}}
@media(max-width:760px){.page-whatsapp .wa-page-heading{align-items:stretch}.page-whatsapp .wa-page-heading>.button{width:100%;text-align:center}.page-whatsapp .wa-summary{display:flex;gap:10px;margin-right:-14px;padding:0 14px 4px 0;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none}.page-whatsapp .wa-summary article{flex:0 0 76%;min-height:112px;scroll-snap-align:start}.page-whatsapp .wa-compose-grid,.page-whatsapp .wa-queue-grid{grid-template-columns:1fr}.page-whatsapp .wa-queue-grid>article:last-child{grid-column:auto}.page-whatsapp .wa-compose-grid>.panel,.page-whatsapp .wa-queue-grid>.panel{padding:18px 16px}.page-whatsapp .wa-compose .button.green{width:100%;min-width:0}.page-whatsapp .wa-history .table-wrap{max-height:470px}}
.wa-level-pill.setup{background:#fff4e9;color:#a64b17}.wa-level-pill.connected{background:#e7f8ef;color:#087847}.wa2-heading{align-items:flex-start}.wa2-setup{display:grid;grid-template-columns:minmax(260px,.75fr) minmax(360px,1.25fr);gap:36px;border-color:#ffd9c4;background:linear-gradient(135deg,#fff 0,#fff8f3 100%)}.wa2-setup h2{margin:8px 0}.wa2-setup p{line-height:1.7}.wa2-setup ol{margin:0;padding-left:22px;display:grid;gap:10px;line-height:1.55}.wa2-setup code{padding:3px 6px;border-radius:6px;background:#eef3f7;color:#082f56;font-size:11px;overflow-wrap:anywhere}.wa2-security-note{grid-column:1/-1;margin:0!important;padding:11px 14px;border-radius:10px;background:#eaf5ff;color:#165b8f;font-size:11px}.wa2-stats{margin-top:18px}.wa2-start{padding:12px 16px}.wa2-start .toolbar{margin:0;align-items:end}.wa2-start label{min-width:min(520px,100%);font-size:10px;font-weight:800;color:#4c667c}.wa2-start select{margin-top:5px}.wa2-shell{display:grid;grid-template-columns:minmax(300px,36%) minmax(0,64%);gap:16px;min-height:680px}.wa2-list,.wa2-chat{padding:0;overflow:hidden}.wa2-tabs{display:flex;padding:12px 12px 0;border-bottom:1px solid #e4ebf0}.wa2-tabs a{flex:1;padding:10px;text-align:center;border-radius:9px 9px 0 0;color:#60788c;font-size:11px;font-weight:850}.wa2-tabs a.active{background:#e9f8f0;color:#087847}.wa2-conversations{max-height:720px;overflow-y:auto}.wa2-conversations>a{position:relative;display:flex;gap:11px;padding:15px 13px;border-bottom:1px solid #edf1f4;color:#17334d}.wa2-conversations>a:hover,.wa2-conversations>a.active{background:#f2f8fb}.wa2-conversations>a.active:before{content:"";position:absolute;left:0;top:8px;bottom:8px;width:3px;border-radius:2px;background:#ff5a12}.wa2-avatar{display:grid;place-items:center;flex:0 0 39px;width:39px;height:39px;border-radius:50%;background:#0b3155;color:#fff;font-size:14px;font-weight:900}.wa2-list-copy{min-width:0;display:flex;flex:1;flex-direction:column;gap:3px}.wa2-list-copy strong,.wa2-list-copy small,.wa2-list-copy em{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.wa2-list-copy strong{font-size:12px}.wa2-list-copy small{color:#637b8f;font-size:10px}.wa2-list-copy em{color:#8a9baa;font-size:9px;font-style:normal}.wa2-unread{align-self:center;display:grid;place-items:center;min-width:22px;height:22px;padding:0 6px;border-radius:20px;background:#1fac6d;color:#fff;font-size:9px}.wa2-chat{display:flex;flex-direction:column;min-width:0}.wa2-chat-head{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:14px 16px;border-bottom:1px solid #e4ebf0;background:#fff}.wa2-chat-head>div{display:flex;align-items:center;gap:10px}.wa2-chat-head h2{margin:0;font-size:15px}.wa2-chat-head p{margin:3px 0 0;color:#718598;font-size:10px}.wa2-assign{display:flex;gap:6px;align-items:center}.wa2-assign select{min-width:105px;padding:8px;font-size:10px}.wa2-match{display:flex;gap:8px;align-items:center;padding:10px 14px;background:#fff7e8;border-bottom:1px solid #ffe0a8}.wa2-match form{display:flex;gap:6px;flex:1}.wa2-match select,.wa2-match input{min-width:0}.wa2-match span{font-size:9px;color:#8a6b35}.wa2-messages{flex:1;min-height:360px;max-height:560px;overflow-y:auto;padding:22px;background-color:#eef5f1;background-image:radial-gradient(#d9e6df 1px,transparent 1px);background-size:18px 18px}.wa2-message{display:flex;margin:8px 0}.wa2-message.outbound{justify-content:flex-end}.wa2-message>div{max-width:min(78%,620px);padding:10px 12px;border-radius:12px 12px 12px 3px;background:#fff;box-shadow:0 1px 2px #17334d18}.wa2-message.outbound>div{border-radius:12px 12px 3px 12px;background:#dff8e8}.wa2-message p{margin:0;color:#17334d;font-size:12px;line-height:1.55;overflow-wrap:anywhere}.wa2-message small{display:block;margin-top:5px;color:#6f8577;font-size:8px;text-align:right;text-transform:capitalize}.wa2-message em{display:block;margin-top:4px;color:#b3261e;font-size:9px}.wa2-composer{padding:12px 14px;border-top:1px solid #dce5e9;background:#fff}.wa2-window{display:flex;justify-content:space-between;gap:10px;margin-bottom:9px;padding:8px 10px;border-radius:8px;font-size:9px}.wa2-window.open{background:#e7f8ef;color:#087847}.wa2-window.closed{background:#fff4e9;color:#9b481b}.wa2-reply{display:flex;gap:9px;align-items:end}.wa2-reply textarea{min-height:70px;flex:1;resize:vertical}.wa2-template{margin-top:9px;border-top:1px solid #edf1f4}.wa2-template summary{padding:10px 0 2px;cursor:pointer;color:#49677e;font-size:10px;font-weight:800}.wa2-template .form-grid{margin-top:10px}.wa2-empty{display:grid;place-items:center;align-content:center;flex:1;min-height:550px;text-align:center;color:#6c8395}.wa2-empty>b{width:58px;color:#1fac6d}.wa2-empty h2{margin:12px 0 4px;color:#17334d}.wa2-empty p{max-width:330px;font-size:11px}.wa2-empty svg{width:58px;height:58px}.page-whatsapp .button[disabled]{opacity:.5;pointer-events:none}
@media(max-width:980px){.wa2-setup{grid-template-columns:1fr}.wa2-security-note{grid-column:auto}.wa2-shell{grid-template-columns:1fr;min-height:0}.wa2-list{max-height:380px}.wa2-chat{min-height:620px}.wa2-conversations{max-height:310px}}
@media(max-width:620px){.wa2-heading{display:grid;gap:12px}.wa2-heading .button{width:100%;text-align:center}.wa2-start .toolbar,.wa2-start form,.wa2-assign,.wa2-match,.wa2-match form,.wa2-reply{align-items:stretch;flex-direction:column}.wa2-start label{min-width:0}.wa2-chat-head{align-items:flex-start;flex-direction:column}.wa2-assign{width:100%}.wa2-assign select,.wa2-assign button{width:100%}.wa2-match>span{text-align:center}.wa2-messages{padding:14px}.wa2-message>div{max-width:88%}.wa2-window{flex-direction:column}.wa2-reply .button{width:100%}.wa2-setup{padding:18px}.wa2-shell{margin-left:-4px;margin-right:-4px}.wa2-chat{min-height:570px}}
