:root{
  --bg:#f7fbf9;
  --surface:#ffffff;
  --surface-2:#fafefc;
  --soft:#f1fcf7;
  --primary:#197249;
  --primary-2:#267d55;
  --accent:#14b8a6;
  --success:#16a34a;
  --danger:#dc2626;
  --warning:#f59e0b;
  --info:#16774c;
  --text:#193026;
  --heading:#12271e;
  --muted:#556a60;
  --border:#e6f1ec;
  --border-strong:#d8e8e1;
  --shadow:0 18px 48px rgba(40,74,59,.09);
  --shadow-soft:0 10px 26px rgba(40,74,59,.065);
  --radius:22px;
  --radius-sm:14px;
  --sidebar-w:282px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  min-height:100vh;
  color:var(--text);
  background:
    radial-gradient(circle at 4% 0%, rgba(38,169,110,.10), transparent 28%),
    radial-gradient(circle at 95% 8%, rgba(20,184,166,.10), transparent 30%),
    linear-gradient(180deg,#f9fefc 0%, var(--bg) 50%, #fafefc 100%);
  font-family:Inter, "Segoe UI", Roboto, Arial, sans-serif;
  font-size:15px;
  font-weight:400;
  line-height:1.45;
}
a{text-decoration:none;color:inherit}
button,input,select,textarea{font-family:inherit}

/* Layout */
.app-shell{display:flex;min-height:100vh}
.app-main{margin-left:var(--sidebar-w);width:calc(100% - var(--sidebar-w));min-height:100vh}
.content-wrap{padding:26px 30px 38px}
.mobile-backdrop{display:none}

/* Sidebar */
.sidebar{
  position:fixed;
  inset:16px auto 16px 16px;
  width:calc(var(--sidebar-w) - 32px);
  overflow:auto;
  z-index:1000;
  padding:16px;
  color:var(--text);
  background:rgba(255,255,255,.82);
  backdrop-filter:blur(18px);
  border:1px solid rgba(228,238,234,.85);
  border-radius:28px;
  box-shadow:var(--shadow);
}
.brand-box{margin-bottom:18px;padding:6px 4px 14px;border-bottom:1px solid var(--border)}
.brand-link{display:flex;align-items:center;gap:12px;color:var(--heading)}
.brand-icon{
  width:48px;height:48px;border-radius:18px;
  display:grid;place-items:center;
  color:#fff;font-size:21px;
  background:linear-gradient(135deg,#26a96e,#74e6b3 58%,#14b8a6);
  box-shadow:0 14px 28px rgba(38,169,110,.20);
}
.brand-title{font-size:19px;font-weight:600;letter-spacing:-.025em;line-height:1.1}
.brand-subtitle{font-size:12px;color:var(--muted);font-weight:500;margin-top:3px}
.sidebar-section-label{
  margin:16px 10px 9px;
  font-size:11px;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#5d7a6d;
  font-weight:600;
}
.sidebar-nav{display:flex;flex-direction:column;gap:4px}
.sidebar .nav-link{
  position:relative;
  display:flex;
  align-items:center;
  gap:11px;
  min-height:44px;
  padding:10px 12px;
  border-radius:16px;
  color:#466557;
  font-weight:500;
  transition:background .18s ease,color .18s ease,transform .18s ease,box-shadow .18s ease;
}
.sidebar .nav-link i{
  width:28px;height:28px;border-radius:10px;
  display:grid;place-items:center;
  color:#50665c;
  background:#f4faf7;
  font-size:14px;
  transition:.18s ease;
}
.sidebar .nav-link:hover{background:#f7fefb;color:#2b7d58;transform:translateX(2px)}
.sidebar .nav-link:hover i{background:#edfcf5;color:var(--primary)}
.sidebar .nav-link.active{
  color:#1b6745;
  background:linear-gradient(135deg,#edfcf5,#f6fdfa);
  box-shadow:inset 0 0 0 1px rgba(38,169,110,.08);
}
.sidebar .nav-link.active:before{
  content:"";
  position:absolute;left:0;top:11px;bottom:11px;width:4px;
  border-radius:0 999px 999px 0;
  background:var(--primary);
}
.sidebar .nav-link.active i{background:#e0f9ee;color:var(--primary)}
.sidebar-footer{
  margin-top:18px;
  display:flex;gap:11px;align-items:center;
  padding:14px;
  border:1px solid var(--border);
  background:linear-gradient(135deg,#f9fefc,#ffffff);
  border-radius:18px;
}
.sidebar-footer-icon{
  width:40px;height:40px;border-radius:14px;
  display:grid;place-items:center;
  color:var(--primary);
  background:#edfcf5;
}
.sidebar-footer strong{display:block;font-size:13px;font-weight:600;color:var(--heading)}
.sidebar-footer span{display:block;font-size:12px;color:var(--muted);line-height:1.3}

/* Header */
.topbar{
  position:sticky;top:0;z-index:900;
  min-height:82px;
  display:flex;align-items:center;justify-content:space-between;gap:20px;
  padding:18px 30px 14px;
  background:rgba(247,251,249,.82);
  backdrop-filter:blur(16px);
  border-bottom:1px solid rgba(228,238,234,.72);
}
.topbar-left,.topbar-right{display:flex;align-items:center;gap:14px}
.sidebar-toggle{
  display:none;width:44px;height:44px;border:1px solid var(--border);
  background:#fff;border-radius:15px;color:var(--heading);box-shadow:0 8px 18px rgba(40,74,59,.05)
}
.page-kicker{font-size:12px;color:var(--muted);font-weight:500;letter-spacing:.02em}
.topbar h1{font-size:24px;line-height:1.18;margin:2px 0 0;font-weight:600;letter-spacing:-.035em;color:var(--heading)}
.topbar-chip{
  display:flex;align-items:center;gap:8px;
  padding:9px 12px;border-radius:999px;
  background:#ecfdf5;color:#047857;border:1px solid #c9f4dd;
  font-size:13px;font-weight:500;
}
.user-menu{display:flex;align-items:center;gap:12px}
.user-avatar{
  width:42px;height:42px;border-radius:15px;
  display:grid;place-items:center;
  color:var(--primary);
  background:linear-gradient(135deg,#edfcf5,#f8fefb);
  border:1px solid #e0f9ee;
}
.user-menu strong{font-size:14px;font-weight:600;color:var(--heading)}
.user-menu small{font-size:12px;color:var(--muted)}

/* Reusable cards and page headers */
.page-hero{
  position:relative;overflow:hidden;
  display:flex;align-items:center;justify-content:space-between;gap:20px;
  padding:28px;
  border-radius:30px;
  background:
    radial-gradient(circle at 95% 10%, rgba(38,169,110,.13), transparent 32%),
    linear-gradient(135deg,#ffffff 0%,#f8fefb 58%,#f0fcf7 100%);
  border:1px solid rgba(218,235,227,.85);
  box-shadow:var(--shadow-soft);
}
.page-hero:before{
  content:"";
  position:absolute;right:-70px;bottom:-90px;width:220px;height:220px;border-radius:50%;
  background:rgba(38,169,110,.07);
}
.page-hero>*{position:relative;z-index:1}
.compact-hero{padding:24px 26px}
.page-eyebrow{
  display:inline-flex;align-items:center;gap:6px;
  padding:7px 11px;
  border-radius:999px;
  color:#279363;
  background:#f0fcf7;
  border:1px solid #e0f9ee;
  font-size:12px;font-weight:500;
}
.page-hero h2{margin:12px 0 4px;font-size:34px;font-weight:600;letter-spacing:-.045em;color:var(--heading)}
.compact-hero h2{font-size:30px}
.page-hero p{margin:0;color:var(--muted);font-weight:400}
.hero-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}

.card-soft,.metric-card,.admin-card,.sales-panel{
  background:rgba(255,255,255,.88);
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow:var(--shadow-soft);
}
.card-soft{padding:22px}
.card-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.card-title-row h5,.card-soft h5,.sales-panel h5{margin:0;color:var(--heading);font-weight:600;letter-spacing:-.02em}
.section-subtitle{margin:5px 0 0;color:var(--muted);font-size:13px;font-weight:400}

.metric-card{
  display:flex;align-items:center;justify-content:space-between;
  min-height:126px;padding:22px;
  transition:transform .18s ease,box-shadow .18s ease;
}
.metric-card:hover{transform:translateY(-2px);box-shadow:var(--shadow)}
.metric-card p{margin:0;color:var(--muted);font-size:13px;font-weight:500}
.metric-card h2{margin:8px 0 0;color:var(--heading);font-size:31px;font-weight:600;letter-spacing:-.045em}
.metric-card i{
  width:54px;height:54px;border-radius:18px;display:grid;place-items:center;
  color:var(--primary);background:#f0fcf7;font-size:22px;
}

/* Forms, buttons and tables */
.btn{border-radius:13px;font-weight:500;letter-spacing:-.005em;padding:.55rem .9rem}
.btn-sm{border-radius:11px;padding:.38rem .62rem}
.btn-lg{border-radius:16px;padding:.72rem 1.05rem}
.btn-primary{background:linear-gradient(135deg,#26a96e,#63dfa7);border-color:#26a96e;box-shadow:0 10px 20px rgba(38,169,110,.16)}
.btn-primary:hover{background:linear-gradient(135deg,#279363,#2bae73);border-color:#279363}
.btn-success{background:linear-gradient(135deg,#16a34a,#22c55e);border-color:#16a34a;box-shadow:0 10px 20px rgba(22,163,74,.15)}
.btn-light{background:#fff;border:1px solid var(--border);color:#375145}
.btn-outline-primary{border-color:#cff6e4;color:#279363;background:#fff}
.btn-outline-primary:hover{background:#f0fcf7;color:#279363;border-color:#c0f3dc}
.btn-outline-danger{border-color:#fecaca;color:#b91c1c;background:#fff}
.btn-outline-secondary{border-color:#d9e7e1;color:#4b6559;background:#fff}
.form-label{font-size:13px;color:#375145;font-weight:500;margin-bottom:7px}
.form-control,.form-select{
  min-height:44px;border-radius:14px;border:1px solid var(--border-strong);
  background:#fff;color:var(--text);box-shadow:none;font-weight:400;
}
.form-control:focus,.form-select:focus{border-color:#a4eecd;box-shadow:0 0 0 .22rem rgba(38,169,110,.10)}
textarea.form-control{min-height:110px}
.table{vertical-align:middle;color:var(--text)}
.table>:not(caption)>*>*{padding:.78rem .85rem;border-bottom-color:#eef6f2}
.table thead th{
  color:#587267;font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.035em;background:#f9fefc;border-bottom:1px solid var(--border)
}
.table tbody td{font-size:14px;font-weight:400}
.table tbody tr:hover{background:#fcfefd}
.table strong{font-weight:600;color:var(--heading)}
.badge{border-radius:999px;padding:.52em .75em;font-weight:500}
.badge-soft-success{background:#dcfce7;color:#15803d}
.badge-soft-danger{background:#fee2e2;color:#b91c1c}
.badge-soft-warning{background:#fef3c7;color:#a16207}
.badge-soft-info{background:#e4faf0;color:#198b58}
.badge-soft-muted{background:#eff6f3;color:#50665c}
.badge-soft-dark{background:#eaf4ef;color:#375145}
.alert-item,.doc-row{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid var(--border)}
.alert-item{justify-content:space-between}
.alert-item:last-child,.doc-row:last-child{border-bottom:0}
.alert-item span{font-size:12px;background:#fff7ed;color:#c2410c;border:1px solid #fed7aa;border-radius:999px;padding:5px 9px;font-weight:500}
.doc-row i{font-size:22px;color:var(--primary)}
.current-session{padding:16px;border-radius:18px;background:#ecfdf5;border:1px solid #bbf7d0}
.empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;text-align:center;min-height:220px;padding:26px;border:1px dashed #ceded7;border-radius:22px;background:#fcfefd;color:var(--muted)}
.empty-state.small{min-height:135px}
.empty-state i{font-size:36px;color:#c8d8d1}.empty-state strong{color:var(--heading);font-weight:600}
.pagination .page-link{border-radius:10px;margin:0 2px;border:1px solid var(--border);color:var(--primary)}.pagination .active .page-link{background:var(--primary);border-color:var(--primary)}

/* Admin / folders */
.folder-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:14px}
.folder-card{display:flex;flex-direction:column;gap:7px;padding:18px;border:1px solid var(--border);border-radius:20px;background:#fff;box-shadow:0 8px 18px rgba(40,74,59,.04)}
.folder-card i{font-size:30px;color:#f59e0b}.folder-card strong{font-weight:600;color:var(--heading)}.folder-card small{color:var(--muted)}
.admin-card{display:flex;flex-direction:column;gap:9px;min-height:156px;padding:22px;text-decoration:none;color:var(--text);transition:.18s ease}
.admin-card:hover{transform:translateY(-3px);box-shadow:var(--shadow);color:#279363}
.admin-card i{width:56px;height:56px;border-radius:18px;display:grid;place-items:center;color:var(--primary);background:#f0fcf7;font-size:25px}.admin-card strong{font-size:18px;font-weight:600;color:var(--heading)}.admin-card span{color:var(--muted);font-weight:400}
.error-card{max-width:760px;margin:30px auto}.error-icon{width:76px;height:76px;border-radius:24px;margin:0 auto 14px;background:#fef2f2;color:#dc2626;display:grid;place-items:center;font-size:32px}

/* Login */
.auth-body{
  min-height:100vh;
  display:grid;
  place-items:center;
  background:
    radial-gradient(circle at 12% 18%,rgba(38,169,110,.20),transparent 30%),
    radial-gradient(circle at 88% 0%,rgba(20,184,166,.16),transparent 28%),
    linear-gradient(135deg,#f1fcf7 0%,#fafefc 52%,#f7fbf9 100%);
}
.auth-container{width:100%;max-width:1180px;padding:28px}
.auth-split{
  display:grid;grid-template-columns:1.02fr .98fr;min-height:690px;overflow:hidden;
  border-radius:34px;background:#fff;border:1px solid rgba(228,238,234,.9);box-shadow:0 30px 80px rgba(40,74,59,.12)
}
.auth-visual{
  position:relative;overflow:hidden;padding:44px;display:flex;flex-direction:column;justify-content:space-between;color:#fff;
  background:linear-gradient(140deg,#279363 0%,#26a96e 44%,#14b8a6 110%);
}
.auth-visual:before,.auth-visual:after{content:"";position:absolute;border-radius:50%;background:rgba(255,255,255,.13)}
.auth-visual:before{width:280px;height:280px;right:-70px;top:-80px}.auth-visual:after{width:220px;height:220px;left:-90px;bottom:70px}
.auth-visual>*{position:relative;z-index:1}
.auth-visual-logo{display:flex;align-items:center;gap:12px}.auth-visual-logo .brand-icon{background:rgba(255,255,255,.16);box-shadow:none;border:1px solid rgba(255,255,255,.2)}
.auth-visual h1{font-size:42px;line-height:1.06;font-weight:600;letter-spacing:-.055em;margin:22px 0 12px}.auth-visual p{font-size:17px;color:#e0f9ee;max-width:460px;margin:0}
.auth-illustration{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:30px;max-width:420px}.auth-mini-card{padding:16px;border-radius:20px;background:rgba(255,255,255,.13);border:1px solid rgba(255,255,255,.18);backdrop-filter:blur(10px)}.auth-mini-card i{font-size:22px;margin-bottom:10px}.auth-mini-card strong{display:block;font-weight:600}.auth-mini-card span{display:block;color:#e0f9ee;font-size:13px;margin-top:3px}
.auth-form-panel{display:flex;align-items:center;justify-content:center;padding:44px}.auth-card{width:100%;max-width:460px;text-align:left}.auth-logo{width:72px;height:72px;border-radius:24px;background:#f0fcf7;color:var(--primary);display:grid;place-items:center;font-size:31px;margin-bottom:20px}.auth-badge{display:inline-flex;align-items:center;padding:7px 11px;border-radius:999px;background:#f0fcf7;color:#279363;border:1px solid #e0f9ee;font-size:12px;font-weight:500}.auth-card h1{font-size:34px;font-weight:600;letter-spacing:-.045em;color:var(--heading);margin:12px 0 6px}.auth-card p{color:var(--muted);margin:0}.demo-box{background:#f9fefc;border:1px solid var(--border);border-radius:18px;padding:14px;font-size:13px;color:#50665c}.input-icon-wrap{position:relative}.input-icon-wrap i{position:absolute;left:15px;top:50%;transform:translateY(-50%);color:#678376}.input-icon-wrap .form-control{padding-left:44px}

/* Sales POS modern soft */
.sales-lock-alert{display:flex;align-items:center;justify-content:space-between;gap:16px;border-radius:18px;padding:16px 18px;margin-bottom:18px}
.sales-pos-shell{display:flex;flex-direction:column;gap:18px}
.sales-hero-card{
  display:flex;align-items:center;justify-content:space-between;gap:18px;
  padding:22px;
  border-radius:28px;
  background:linear-gradient(135deg,#ffffff 0%,#f9fefc 52%,#f1fcf7 100%);
  border:1px solid var(--border);box-shadow:var(--shadow-soft)
}
.sales-eyebrow{display:inline-flex;align-items:center;padding:7px 11px;border-radius:999px;background:#f0fcf7;color:#279363;border:1px solid #e0f9ee;font-size:12px;font-weight:500}.sales-hero-card h2{font-size:31px;font-weight:600;letter-spacing:-.04em;color:var(--heading);margin:10px 0 4px}.sales-hero-card p{color:var(--muted);margin:0}.sales-hero-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}.sales-cash-chip{display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:18px;background:#ecfdf5;border:1px solid #bbf7d0;color:#047857}.sales-cash-chip.warning{background:#fff7ed;border-color:#fed7aa;color:#c2410c}.sales-cash-chip i{font-size:20px}.sales-cash-chip small{display:block;font-size:12px;color:inherit;opacity:.8}.sales-cash-chip strong{display:block;font-weight:600;color:inherit}.sales-kpi-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.sales-kpi-card{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid var(--border);border-radius:20px;padding:16px;box-shadow:0 8px 20px rgba(40,74,59,.05)}.sales-kpi-card i{width:42px;height:42px;border-radius:15px;display:grid;place-items:center;background:#f0fcf7;color:var(--primary)}.sales-kpi-card span{display:block;font-size:12px;color:var(--muted)}.sales-kpi-card strong{font-size:20px;font-weight:600;color:var(--heading)}.sales-kpi-card.danger i{background:#fff7ed;color:#ea580c}
.sales-panel{padding:18px}.sales-panel-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:16px}.sales-panel-header.compact{margin-bottom:14px}.sales-panel-header p{margin:4px 0 0;color:var(--muted);font-size:13px}.sales-mini-badge{white-space:nowrap;display:inline-flex;align-items:center;border-radius:999px;padding:7px 10px;background:#f4faf7;color:#50665c;border:1px solid var(--border);font-size:12px;font-weight:500}.sales-mini-badge.primary{background:#f0fcf7;color:#279363;border-color:#e0f9ee}.product-panel{min-height:680px}.sales-search-box{display:grid;grid-template-columns:42px 1fr 44px;align-items:center;gap:0;border:1px solid var(--border-strong);border-radius:18px;background:#fff;overflow:hidden;box-shadow:0 8px 18px rgba(40,74,59,.04)}.sales-search-box>i{display:grid;place-items:center;color:#678376}.sales-search-box .form-control{border:0;border-radius:0;min-height:54px;box-shadow:none}.sales-search-box .btn{height:44px;width:40px;margin-right:6px;border-radius:13px}.sales-products-toolbar{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0}.sales-filter-pill{border:1px solid var(--border);background:#fff;color:#50665c;border-radius:999px;padding:8px 12px;font-size:13px;font-weight:500;transition:.16s}.sales-filter-pill:hover{background:#f9fefc}.sales-filter-pill.active{background:#f0fcf7;border-color:#cff6e4;color:#279363}.sales-product-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(205px,1fr));gap:12px;max-height:590px;overflow:auto;padding:2px 4px 2px 0}.sales-product-card{display:grid;grid-template-columns:44px 1fr;gap:11px;align-items:start;text-align:left;border:1px solid var(--border);border-radius:20px;background:#fff;padding:14px;cursor:pointer;transition:.16s ease;color:var(--text);box-shadow:0 8px 18px rgba(40,74,59,.04)}.sales-product-card:hover{transform:translateY(-2px);border-color:#cff6e4;box-shadow:0 14px 28px rgba(38,169,110,.10)}.sales-product-card.selected{border-color:#a4eecd;background:#f9fefc}.sales-product-card.out-stock{opacity:.55;cursor:not-allowed;background:#f8fcfa}.sales-product-card.low-stock{border-color:#fed7aa}.sales-product-icon{width:42px;height:42px;border-radius:16px;background:#f0fcf7;color:var(--primary);display:grid;place-items:center}.sales-product-card.low-stock .sales-product-icon{background:#fff7ed;color:#ea580c}.sales-product-card.out-stock .sales-product-icon{background:#f2f8f5;color:#98b4a7}.sales-product-info{min-width:0}.sales-product-info strong{display:block;font-size:14px;font-weight:500;line-height:1.25;color:var(--heading);margin-bottom:4px}.sales-product-info small{display:block;color:var(--muted);font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sales-product-meta{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:8px;padding-top:10px;border-top:1px solid #eff6f3}.sales-product-meta .price{font-weight:600;color:var(--primary)}.sales-product-meta .stock{font-size:12px;font-weight:500;border-radius:999px;padding:5px 8px;background:#ecfdf5;color:#15803d}.sales-product-meta .stock.low{background:#fff7ed;color:#ea580c}.sales-product-meta .stock.zero{background:#f2f8f5;color:#50665c}.sales-cart-panel{position:sticky;top:100px}.sales-customer-payment-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:14px}.sales-cart-items{min-height:280px;max-height:360px;overflow:auto;border:1px dashed #ceded7;border-radius:20px;background:linear-gradient(180deg,#fcfefd,#fff);padding:12px}.sales-empty-cart{min-height:240px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:var(--muted);gap:7px}.sales-empty-cart i{font-size:34px;color:#cbdcd4}.sales-empty-cart strong{color:var(--heading);font-weight:600}.sales-cart-row{display:grid;grid-template-columns:1fr 132px 92px 34px;gap:8px;align-items:center;background:#fff;border:1px solid var(--border);border-radius:16px;padding:10px;margin-bottom:9px;box-shadow:0 8px 18px rgba(40,74,59,.035)}.cart-product-title{min-width:0}.cart-product-title strong{display:block;font-size:14px;font-weight:500;color:var(--heading);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cart-product-title small{display:block;font-size:12px;color:var(--muted);margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cart-qty-control{display:grid;grid-template-columns:32px 1fr 32px;gap:4px}.cart-qty-control .btn{height:34px;padding:0;border-radius:11px}.cart-qty-control input{text-align:center;min-height:34px;padding:4px;border-radius:11px;font-weight:500}.cart-line-total{text-align:right;font-weight:600;color:var(--heading)}.sales-payment-box{margin-top:14px;background:#f9fefc;border:1px solid var(--border);border-radius:22px;padding:14px}.sales-summary-lines{display:flex;flex-direction:column;gap:8px;margin:14px 0}.sales-summary-lines div{display:flex;align-items:center;justify-content:space-between;font-size:14px}.sales-summary-lines span{color:var(--muted)}.sales-summary-lines strong{font-weight:600;color:var(--heading)}.sale-total{display:flex;justify-content:space-between;align-items:center;border-radius:18px;padding:18px}.sale-total.upgraded{background:linear-gradient(135deg,#f0fcf7,#f9fefc);border:1px solid #e0f9ee}.sale-total span{font-weight:500;color:#2b7d58}.sale-total strong{font-size:30px;color:var(--primary);font-weight:600;letter-spacing:-.035em}.sales-action-grid{display:grid;grid-template-columns:150px 1fr;gap:10px;margin-top:14px}.sales-action-grid .btn{min-height:54px;border-radius:16px}

/* Responsive */
@media(max-width:1200px){.sales-cart-panel{position:relative;top:auto}.product-panel{min-height:auto}.sales-product-grid{max-height:500px}.sales-cart-items{max-height:420px}}
@media(max-width:992px){
  .sidebar{transform:translateX(-112%);transition:.22s ease;inset:12px auto 12px 12px;width:270px}
  .sidebar-open .sidebar{transform:translateX(0)}
  .sidebar-toggle{display:grid;place-items:center}
  .mobile-backdrop{display:block;position:fixed;inset:0;background:rgba(18,39,30,.42);z-index:950;opacity:0;pointer-events:none;transition:.2s}
  .sidebar-open .mobile-backdrop{opacity:1;pointer-events:auto}
  .app-main{margin-left:0;width:100%}
  .topbar{padding:16px 18px;min-height:76px}
  .content-wrap{padding:18px}
  .page-hero{align-items:flex-start;flex-direction:column}.hero-actions{width:100%;justify-content:flex-start}.topbar-right .topbar-chip{display:none!important}
  .auth-split{grid-template-columns:1fr}.auth-visual{display:none}.auth-form-panel{padding:34px}.auth-container{max-width:540px}
}
@media(max-width:768px){
  .topbar{align-items:flex-start}.topbar-left{align-items:flex-start}.topbar-right{gap:8px}.user-menu form,.user-menu a.btn{display:none}.topbar h1{font-size:21px}.page-hero h2,.sales-hero-card h2{font-size:28px}.sales-hero-card{align-items:flex-start;flex-direction:column}.sales-hero-actions{width:100%;justify-content:stretch}.sales-cash-chip,.sales-history-btn{width:100%}.sales-kpi-grid{grid-template-columns:1fr}.sales-customer-payment-grid{grid-template-columns:1fr}.sales-product-grid{grid-template-columns:1fr}.sales-cart-row{grid-template-columns:1fr;gap:10px}.cart-qty-control{width:140px}.cart-line-total{text-align:left}.sales-action-grid{grid-template-columns:1fr}.sales-lock-alert{align-items:flex-start;flex-direction:column}.card-title-row{flex-direction:column;align-items:flex-start}.metric-card{min-height:112px}.metric-card h2{font-size:28px}.auth-form-panel{padding:26px}.auth-card h1{font-size:30px}
}

/* =========================================================
   MPCConnectPro style chrome - dark sidebar + dark navbar
   Solo cambia la terminación visual del menú lateral y superior.
   ========================================================= */
:root{
  --chrome:#0a2217;
  --chrome-2:#103927;
  --chrome-3:#185037;
  --chrome-border:rgba(152,180,167,.18);
  --chrome-text:#edfcf5;
  --chrome-muted:#98b8aa;
  --chrome-accent:#24c47c;
  --chrome-accent-2:#24ab6e;
}

.sidebar{
  color:var(--chrome-text);
  background:
    radial-gradient(circle at 12% 0%, rgba(36,196,124,.28), transparent 34%),
    radial-gradient(circle at 100% 18%, rgba(36,171,110,.13), transparent 30%),
    linear-gradient(180deg,#0c281b 0%,#0a2117 48%,#07160f 100%);
  border:1px solid var(--chrome-border);
  box-shadow:0 26px 70px rgba(5,20,13,.30);
  scrollbar-width:thin;
  scrollbar-color:rgba(152,180,167,.35) transparent;
}
.sidebar::-webkit-scrollbar{width:6px}
.sidebar::-webkit-scrollbar-thumb{background:rgba(152,180,167,.35);border-radius:999px}
.brand-box{
  margin-bottom:14px;
  padding:6px 4px 16px;
  border-bottom:1px solid rgba(152,180,167,.16);
}
.brand-link{color:#fff}
.brand-icon{
  background:linear-gradient(135deg,#26a96e 0%,#24c37b 55%,#22c55e 130%);
  box-shadow:0 18px 34px rgba(38,169,110,.28);
}
.brand-title{color:#fff;font-weight:600}
.brand-subtitle{color:#a4c6b7;font-weight:400}
.sidebar-mini-card{
  display:flex;
  align-items:center;
  gap:11px;
  padding:13px;
  border-radius:18px;
  background:linear-gradient(135deg,rgba(38,169,110,.20),rgba(31,157,100,.08));
  border:1px solid rgba(162,238,204,.16);
  margin-bottom:14px;
}
.mini-card-icon{
  width:38px;height:38px;border-radius:14px;
  display:grid;place-items:center;
  color:#c8f5e1;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.08);
}
.sidebar-mini-card strong{display:block;font-size:13px;font-weight:600;color:#f9fefc}
.sidebar-mini-card span{display:block;font-size:12px;color:#a4c6b7;line-height:1.3;margin-top:2px}
.sidebar-section-label{
  margin:16px 10px 8px;
  color:#597367;
  font-size:10.5px;
  font-weight:600;
  letter-spacing:.12em;
}
.sidebar-nav{gap:5px}
.sidebar .nav-link{
  min-height:43px;
  color:#c9dfd5;
  border:1px solid transparent;
  background:transparent;
  font-weight:450;
  letter-spacing:-.01em;
}
.sidebar .nav-link i{
  color:#a4c6b7;
  background:rgba(255,255,255,.055);
  border:1px solid rgba(255,255,255,.05);
}
.sidebar .nav-link:hover{
  color:#fff;
  background:rgba(255,255,255,.075);
  border-color:rgba(255,255,255,.07);
  transform:translateX(2px);
}
.sidebar .nav-link:hover i{
  color:#c8f5e1;
  background:rgba(36,196,124,.18);
}
.sidebar .nav-link.active{
  color:#fff;
  background:linear-gradient(135deg,rgba(38,169,110,.92),rgba(31,157,100,.62));
  border-color:rgba(162,238,204,.28);
  box-shadow:0 14px 26px rgba(38,169,110,.22);
}
.sidebar .nav-link.active:before{
  left:8px;top:10px;bottom:10px;width:3px;
  background:#fff;
  opacity:.75;
  border-radius:999px;
}
.sidebar .nav-link.active i{
  color:#fff;
  background:rgba(255,255,255,.18);
  border-color:rgba(255,255,255,.16);
}
.sidebar-footer{
  margin-top:18px;
  background:linear-gradient(135deg,rgba(255,255,255,.08),rgba(255,255,255,.035));
  border:1px solid rgba(152,180,167,.16);
  box-shadow:none;
}
.sidebar-footer-icon{
  color:#a2eecc;
  background:rgba(36,196,124,.16);
  border:1px solid rgba(162,238,204,.12);
}
.sidebar-footer strong{color:#f9fefc;font-weight:600}
.sidebar-footer span{color:#9bbbad;font-weight:400}

.topbar{
  margin:16px 30px 0;
  min-height:78px;
  padding:16px 20px;
  border-radius:24px;
  color:#fff;
  background:
    radial-gradient(circle at 10% 0%,rgba(36,196,124,.28),transparent 32%),
    radial-gradient(circle at 95% 20%,rgba(36,171,110,.14),transparent 34%),
    linear-gradient(135deg,#0c291c 0%,#103927 54%,#0b2318 100%);
  border:1px solid rgba(152,180,167,.18);
  box-shadow:0 20px 50px rgba(5,20,13,.20);
  backdrop-filter:blur(18px);
}
.page-kicker{color:#98ceb6;font-weight:450}
.page-kicker i{color:#74e6b3}
.topbar h1{color:#f9fefc;font-weight:550;letter-spacing:-.03em}
.sidebar-toggle{
  background:rgba(255,255,255,.08);
  color:#edfcf5;
  border-color:rgba(255,255,255,.12);
  box-shadow:none;
}
.sidebar-toggle:hover{background:rgba(255,255,255,.14)}
.topbar-chip{
  color:#c7f9e9;
  background:rgba(16,185,129,.12);
  border:1px solid rgba(52,211,153,.25);
  font-weight:450;
}
.user-menu{
  padding:8px;
  border-radius:18px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
}
.user-avatar{
  color:#e0f9ee;
  background:rgba(36,196,124,.18);
  border:1px solid rgba(162,238,204,.22);
}
.user-menu strong{color:#fff;font-weight:550}
.user-menu small{color:#a4c6b7;font-weight:400}
.btn-topbar-exit,
.btn-topbar-login{
  color:#edfcf5;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.14);
  border-radius:13px;
  font-weight:500;
}
.btn-topbar-exit:hover,
.btn-topbar-login:hover{
  color:#fff;
  background:rgba(36,196,124,.28);
  border-color:rgba(162,238,204,.28);
}
.content-wrap{padding-top:22px}

@media(max-width:992px){
  .topbar{margin:12px 18px 0;padding:15px 16px;border-radius:21px}
  .sidebar{background:linear-gradient(180deg,#0c281b 0%,#0a2117 52%,#07160f 100%)}
}
@media(max-width:768px){
  .topbar{margin:10px 12px 0;min-height:72px}
  .user-menu{background:transparent;border:0;padding:0}
}

/* Active branch context */
.topbar-branch-chip{
  align-items:center;
  gap:10px;
  min-height:46px;
  padding:8px 14px;
  border-radius:18px;
  color:#edfcf5;
  text-decoration:none;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.12);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08);
  transition:.18s ease;
}
.topbar-branch-chip:hover{ color:#fff; background:rgba(255,255,255,.13); transform:translateY(-1px); }
.topbar-branch-chip > i:first-child{
  width:30px;height:30px;border-radius:12px;
  display:inline-flex;align-items:center;justify-content:center;
  background:linear-gradient(135deg,#24c47c,#1f9d64);
  color:#fff;
}
.topbar-branch-chip span{ display:flex; flex-direction:column; line-height:1.1; min-width:0; }
.topbar-branch-chip small{ font-size:10px; color:#b2cdc1; font-weight:600; text-transform:uppercase; letter-spacing:.08em; }
.topbar-branch-chip strong{ font-size:13px; font-weight:600; max-width:180px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }

.branch-auth-container{ min-height:100vh; align-items:center; justify-content:center; padding:28px; }
.branch-select-shell{ width:min(980px,100%); margin:auto; }
.branch-select-card{
  width:100%;
  border-radius:34px;
  padding:34px;
  background:rgba(255,255,255,.96);
  border:1px solid rgba(227,243,236,.95);
  box-shadow:0 28px 70px rgba(22,68,47,.14);
}
.branch-select-head{ text-align:center; max-width:660px; margin:0 auto 26px; }
.branch-select-head h1{ margin:12px 0 8px; color:#153627; letter-spacing:-.04em; font-weight:600; }
.branch-select-head p{ margin:0; color:#50665c; line-height:1.55; }
.branch-options-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(250px,1fr)); gap:14px; }
.branch-option{
  position:relative;
  display:flex;
  gap:14px;
  align-items:flex-start;
  padding:18px;
  border:1px solid #e2f1ea;
  border-radius:24px;
  background:#fff;
  cursor:pointer;
  transition:.18s ease;
  min-height:124px;
}
.branch-option:hover{ border-color:#bfe7d5; box-shadow:0 18px 34px rgba(22,68,47,.08); transform:translateY(-1px); }
.branch-option.selected{ border-color:#9dedc9; background:linear-gradient(180deg,#f8fefb,#fff); box-shadow:0 18px 36px rgba(39,147,99,.10); }
.branch-option.disabled{ opacity:.45; cursor:not-allowed; filter:grayscale(.25); }
.branch-option input{ position:absolute; opacity:0; pointer-events:none; }
.branch-option-icon{
  width:46px;height:46px;border-radius:17px;
  display:flex;align-items:center;justify-content:center;
  background:#f1fcf7;color:#26a96e;font-size:18px;flex:0 0 auto;
}
.branch-option-content{ min-width:0; display:flex; flex-direction:column; gap:4px; }
.branch-option-content strong{ color:#153627; font-size:16px; font-weight:600; }
.branch-option-content span{ color:#26a96e; font-size:12px; font-weight:600; }
.branch-option-content small{ color:#50665c; line-height:1.35; }
.branch-default-badge{
  position:absolute; top:14px; right:14px;
  border-radius:999px;
  padding:5px 10px;
  background:#ecfdf5;
  color:#067647;
  font-size:11px;
  font-weight:600;
}
.user-branch-list{ display:flex; flex-wrap:wrap; gap:6px; }

/* =========================================================
   MPCConnectPro exact style - sidebar + navbar
   Reestablece el menú vertical profesional y el navbar oscuro.
   ========================================================= */
:root{
  --mpc-navy-950:#071c13;
  --mpc-navy-900:#0c2a1d;
  --mpc-navy-850:#103d29;
  --mpc-navy-800:#164c34;
  --mpc-blue:#26a96e;
  --mpc-blue-2:#24c37b;
  --mpc-green:#22c55e;
  --mpc-chrome-text:#f1fcf7;
  --mpc-chrome-soft:#a5c7b8;
  --mpc-chrome-muted:#577567;
  --mpc-chrome-border:rgba(152,180,167,.16);
  --sidebar-w:286px;
}

.app-shell{background:transparent;display:flex;min-height:100vh;}
.app-main{
  margin-left:var(--sidebar-w) !important;
  width:calc(100% - var(--sidebar-w)) !important;
  min-height:100vh;
}
.content-wrap{padding:24px 30px 38px;}

.sidebar.mpc-sidebar{
  position:fixed !important;
  inset:0 auto 0 0 !important;
  width:var(--sidebar-w) !important;
  height:100vh !important;
  padding:18px 16px !important;
  overflow:auto !important;
  color:var(--mpc-chrome-text) !important;
  background:
    radial-gradient(circle at 0% 0%,rgba(38,169,110,.26),transparent 28%),
    radial-gradient(circle at 100% 18%,rgba(36,195,123,.13),transparent 30%),
    linear-gradient(180deg,var(--mpc-navy-900) 0%,#0a2217 44%,var(--mpc-navy-950) 100%) !important;
  border:0 !important;
  border-right:1px solid var(--mpc-chrome-border) !important;
  border-radius:0 !important;
  box-shadow:18px 0 45px rgba(5,20,13,.20) !important;
  z-index:1000 !important;
  scrollbar-width:thin;
  scrollbar-color:rgba(152,180,167,.35) transparent;
}
.sidebar.mpc-sidebar::-webkit-scrollbar{width:6px;}
.sidebar.mpc-sidebar::-webkit-scrollbar-thumb{background:rgba(152,180,167,.35);border-radius:999px;}

.mpc-brand{
  display:block !important;
  padding:4px 4px 18px;
  margin-bottom:14px;
  border-bottom:1px solid rgba(152,180,167,.14);
}
.mpc-brand-link{
  display:flex !important;
  align-items:center;
  gap:12px;
  color:#fff !important;
  text-decoration:none !important;
}
.mpc-brand-icon{
  width:48px;
  height:48px;
  border-radius:16px;
  display:grid;
  place-items:center;
  color:#fff;
  font-size:21px;
  background:linear-gradient(135deg,#279363 0%,#26a96e 48%,#24c37b 100%);
  box-shadow:0 16px 32px rgba(38,169,110,.32);
  flex:0 0 auto;
}
.mpc-brand-text{min-width:0;}
.mpc-brand-text strong{
  display:block;
  font-size:19px;
  line-height:1.05;
  font-weight:600;
  letter-spacing:-.035em;
  color:#fff;
}
.mpc-brand-text span{
  display:block;
  margin-top:4px;
  color:#a5c7b8;
  font-size:12px;
  font-weight:400;
}

.mpc-sidebar-status{
  display:flex !important;
  align-items:center;
  gap:11px;
  padding:12px 13px;
  margin:0 0 16px;
  border-radius:17px;
  background:linear-gradient(135deg,rgba(255,255,255,.08),rgba(255,255,255,.035));
  border:1px solid rgba(152,180,167,.13);
}
.mpc-status-dot{
  width:38px;
  height:38px;
  border-radius:14px;
  background:rgba(34,197,94,.14);
  border:1px solid rgba(34,197,94,.22);
  position:relative;
  flex:0 0 auto;
}
.mpc-status-dot:after{
  content:"";
  position:absolute;
  inset:13px;
  border-radius:50%;
  background:#22c55e;
  box-shadow:0 0 0 5px rgba(34,197,94,.10);
}
.mpc-sidebar-status strong{
  display:block;
  color:#fff;
  font-size:13px;
  font-weight:550;
}
.mpc-sidebar-status span{
  display:block;
  margin-top:2px;
  color:#98bbab;
  font-size:12px;
  line-height:1.25;
}

.mpc-menu{
  display:flex !important;
  flex-direction:column !important;
  gap:15px !important;
  width:100% !important;
}
.mpc-menu-group{
  display:flex !important;
  flex-direction:column !important;
  gap:4px !important;
  width:100% !important;
}
.mpc-menu-title{
  display:block !important;
  margin:0 10px 7px;
  color:#59786a;
  font-size:10.5px;
  font-weight:600;
  line-height:1;
  letter-spacing:.13em;
  text-transform:uppercase;
}
.mpc-nav-link{
  position:relative;
  min-height:44px;
  width:100% !important;
  display:flex !important;
  align-items:center !important;
  gap:11px;
  padding:9px 11px;
  border-radius:14px;
  color:#cbe3d8 !important;
  border:1px solid transparent;
  font-size:14px;
  font-weight:430;
  letter-spacing:-.01em;
  text-decoration:none !important;
  transition:background .16s ease,color .16s ease,border-color .16s ease,transform .16s ease,box-shadow .16s ease;
}
.mpc-nav-link:before{
  content:"";
  position:absolute;
  left:7px;
  top:12px;
  bottom:12px;
  width:3px;
  border-radius:999px;
  background:transparent;
  transition:.16s ease;
}
.mpc-nav-icon{
  width:30px;
  height:30px;
  border-radius:11px;
  display:grid !important;
  place-items:center;
  flex:0 0 30px;
  color:#a5c7b8;
  background:rgba(255,255,255,.055);
  border:1px solid rgba(255,255,255,.055);
  font-size:13px;
  transition:.16s ease;
}
.mpc-nav-text{
  display:block !important;
  min-width:0;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.mpc-nav-link:hover{
  color:#fff !important;
  background:rgba(255,255,255,.075);
  border-color:rgba(255,255,255,.08);
  transform:translateX(2px);
}
.mpc-nav-link:hover .mpc-nav-icon{
  color:#e0f9ee;
  background:rgba(38,169,110,.20);
  border-color:rgba(162,238,204,.16);
}
.mpc-nav-link.active{
  color:#fff !important;
  background:#197249;
  border-color:rgba(162,238,204,.28);
  box-shadow:0 13px 28px rgba(38,169,110,.24);
}
.mpc-nav-link.active:before{background:rgba(255,255,255,.82);}
.mpc-nav-link.active .mpc-nav-icon{
  color:#fff;
  background:rgba(255,255,255,.18);
  border-color:rgba(255,255,255,.16);
}

.mpc-sidebar-footer{
  margin-top:18px;
  display:flex !important;
  align-items:center;
  gap:11px;
  padding:13px;
  border-radius:17px;
  background:rgba(255,255,255,.055);
  border:1px solid rgba(152,180,167,.14);
}
.mpc-footer-icon{
  width:40px;
  height:40px;
  border-radius:14px;
  display:grid;
  place-items:center;
  color:#c8f5e1;
  background:rgba(38,169,110,.18);
  border:1px solid rgba(162,238,204,.14);
  flex:0 0 auto;
}
.mpc-sidebar-footer strong{
  display:block;
  color:#fff;
  font-size:13px;
  font-weight:550;
}
.mpc-sidebar-footer span{
  display:block;
  margin-top:2px;
  color:#98bbab;
  font-size:12px;
  line-height:1.25;
}

.topbar.mpc-topbar{
  position:sticky;
  top:0;
  z-index:900;
  min-height:74px;
  margin:0 !important;
  padding:13px 28px;
  display:flex !important;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  color:#fff;
  background:
    radial-gradient(circle at 6% 0%,rgba(38,169,110,.22),transparent 25%),
    linear-gradient(135deg,#0c2a1d 0%,#103927 58%,#0a2217 100%) !important;
  border:0 !important;
  border-bottom:1px solid rgba(152,180,167,.16) !important;
  border-radius:0 !important;
  box-shadow:0 12px 28px rgba(5,20,13,.14);
  backdrop-filter:blur(16px);
}
.mpc-topbar-left,
.mpc-topbar-right{
  display:flex !important;
  align-items:center;
  gap:13px;
  min-width:0;
}
.mpc-page-title{min-width:0;}
.mpc-page-system{
  display:flex;
  align-items:center;
  gap:7px;
  color:#98ceb6;
  font-size:12px;
  font-weight:430;
  line-height:1;
}
.mpc-page-system i{color:#74e6b3;}
.mpc-page-title h1{
  margin:4px 0 0;
  color:#f9fefc;
  font-size:23px;
  line-height:1.15;
  font-weight:560;
  letter-spacing:-.035em;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.sidebar-toggle.mpc-sidebar-toggle{
  display:none;
  width:43px;
  height:43px;
  border-radius:14px;
  color:#edfcf5;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.12);
  box-shadow:none;
}
.sidebar-toggle.mpc-sidebar-toggle:hover{background:rgba(255,255,255,.14);}
.mpc-topbar-pill,
.mpc-branch-pill{
  display:flex;
  align-items:center;
  gap:8px;
  min-height:44px;
  padding:8px 12px;
  border-radius:999px;
  white-space:nowrap;
  text-decoration:none !important;
}
.mpc-topbar-pill{
  color:#bbf7d0;
  background:rgba(22,163,74,.11);
  border:1px solid rgba(74,222,128,.22);
  font-size:13px;
  font-weight:430;
}
.mpc-topbar-pill i{font-size:12px;color:#4ade80;}
.mpc-branch-pill{
  color:#edfcf5 !important;
  background:rgba(255,255,255,.065);
  border:1px solid rgba(255,255,255,.11);
  max-width:270px;
}
.mpc-branch-pill:hover{
  color:#fff !important;
  background:rgba(255,255,255,.10);
  transform:translateY(-1px);
}
.mpc-branch-icon{
  width:34px;
  height:34px;
  border-radius:13px;
  display:grid;
  place-items:center;
  background:rgba(38,169,110,.22);
  border:1px solid rgba(162,238,204,.20);
  color:#c8f5e1;
  flex:0 0 auto;
}
.mpc-branch-text{display:flex;flex-direction:column;line-height:1.1;min-width:0;}
.mpc-branch-text small{font-size:10px;color:#a5c7b8;font-weight:600;text-transform:uppercase;letter-spacing:.08em;}
.mpc-branch-text strong{font-size:13px;color:#fff;font-weight:560;max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.mpc-branch-arrow{font-size:11px;color:#a5c7b8;}
.mpc-user-card{
  display:flex !important;
  align-items:center;
  gap:10px;
  padding:7px 10px 7px 7px;
  border-radius:17px;
  background:rgba(255,255,255,.065);
  border:1px solid rgba(255,255,255,.10);
}
.mpc-user-avatar{
  width:39px;
  height:39px;
  border-radius:13px;
  display:grid;
  place-items:center;
  color:#e0f9ee;
  background:rgba(38,169,110,.22);
  border:1px solid rgba(162,238,204,.22);
  flex:0 0 auto;
}
.mpc-user-info{text-align:right;line-height:1.15;}
.mpc-user-info strong{
  display:block;
  max-width:180px;
  color:#fff;
  font-size:13px;
  font-weight:550;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.mpc-user-info span{
  display:block;
  margin-top:3px;
  color:#a5c7b8;
  font-size:12px;
  font-weight:400;
  white-space:nowrap;
}
.mpc-logout-btn{
  min-height:38px;
  display:inline-flex !important;
  align-items:center;
  gap:7px;
  color:#edfcf5 !important;
  background:rgba(255,255,255,.075) !important;
  border:1px solid rgba(255,255,255,.13) !important;
  border-radius:13px;
  font-weight:500;
  box-shadow:none;
}
.mpc-logout-btn:hover{
  color:#fff !important;
  background:rgba(38,169,110,.28) !important;
  border-color:rgba(162,238,204,.26) !important;
}

.sidebar .nav-link{display:none !important;}
.sidebar .sidebar-section-label,
.sidebar .sidebar-mini-card,
.sidebar .sidebar-footer{display:none!important;}

@media(max-width:992px){
  .sidebar.mpc-sidebar{
    width:280px !important;
    transform:translateX(-106%);
    transition:transform .22s ease;
    box-shadow:24px 0 60px rgba(5,20,13,.34) !important;
  }
  .sidebar-open .sidebar.mpc-sidebar{transform:translateX(0);}
  .app-main{margin-left:0 !important;width:100% !important;}
  .sidebar-toggle.mpc-sidebar-toggle{display:grid;place-items:center;flex:0 0 auto;}
  .topbar.mpc-topbar{min-height:72px;padding:13px 18px;}
  .content-wrap{padding:18px;}
}
@media(max-width:768px){
  .topbar.mpc-topbar{padding:12px 14px;gap:10px;}
  .mpc-page-title h1{font-size:20px;max-width:52vw;}
  .mpc-page-system{font-size:11px;}
  .mpc-user-card{padding:6px;background:transparent;border-color:transparent;}
  .mpc-user-avatar{width:37px;height:37px;}
  .mpc-logout-btn{width:38px;height:38px;padding:0;justify-content:center;}
}

/* Menú lateral reorganizado por flujos de trabajo */
.mpc-menu{gap:9px !important;}
.mpc-menu-group{
  gap:5px !important;
  padding-top:11px;
  border-top:1px solid rgba(152,180,167,.10);
}
.mpc-menu-group-first{
  padding-top:0;
  border-top:0;
}
.mpc-menu-title{
  display:flex !important;
  align-items:center;
  gap:7px;
  margin:0 9px 6px;
  color:#618575;
  letter-spacing:.09em;
}
.mpc-menu-title-icon{
  width:19px;
  height:19px;
  display:grid;
  place-items:center;
  border-radius:7px;
  color:#a2eecc;
  background:rgba(36,196,124,.11);
  border:1px solid rgba(162,238,204,.09);
  font-size:8px;
  flex:0 0 auto;
}
.mpc-menu-links{
  display:flex;
  flex-direction:column;
  gap:3px;
}
.mpc-nav-link{min-height:41px;padding:7px 10px;}
.mpc-nav-icon{width:28px;height:28px;flex-basis:28px;border-radius:10px;}
.mpc-nav-link.active .mpc-nav-text{font-weight:600;}
