body.module-page{margin:0!important;padding:0!important;background:#07111f!important;color:#f5f8fc!important;font:14px system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important}body.module-page .module-shell{display:grid;grid-template-columns:248px minmax(0,1fr);min-height:100vh;background:#07111f}body.module-page .module-sidebar{padding:24px 16px 22px;background:#0b1727;border-right:1px solid #1e3046;box-shadow:14px 0 34px #00000024}body.module-page .module-brand{display:block;padding:8px 14px 32px;color:#f7fbff;text-decoration:none;font-size:23px;font-weight:800;letter-spacing:-.03em}body.module-page .module-brand span{color:#f27a32}body.module-page .module-sidebar nav{display:grid;gap:5px}body.module-page .module-sidebar nav a{display:flex;align-items:center;gap:12px;min-height:44px;padding:11px 14px;border-radius:11px;color:#91a4b9;text-decoration:none;font-size:14px;font-weight:650}body.module-page .module-sidebar nav a:hover,body.module-page .module-sidebar nav a.active{background:#17315f;color:#fff}body.module-page .module-sidebar nav a.active{box-shadow:inset 3px 0 0 #2d83ff}body.module-page .module-sidebar nav a span{width:8px;height:8px;border:2px solid currentColor;border-radius:50%;opacity:.85}body.module-page .module-sidebar nav a.active span{background:#2d83ff;border-color:#2d83ff}body.module-page .module-nav-sep{height:1px;margin:14px 8px;background:#1e3046}body.module-page .module-main{min-width:0;padding:36px 48px 42px;background:radial-gradient(circle at 88% -12%,#346bb42e,transparent 34%),#07111f}body.module-page .module-main>.wrap{width:100%;max-width:1440px;margin:0 auto}body.module-page .module-main .top{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;padding:0 0 26px;margin:0 0 24px;border-bottom:1px solid #263b53}body.module-page .module-main .top h1{margin:0 0 7px;color:#f5f8fc;font-size:30px;letter-spacing:-.03em}body.module-page .muted{color:#8fa5bc!important}body.module-page .module-main .top>.actions,body.module-page .module-main .top>div:last-child,body.module-page .module-main .top>span{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}body.module-page .module-main a,body.module-page .module-main button{border:1px solid transparent;border-radius:10px;padding:11px 15px;text-decoration:none;cursor:pointer;font:inherit;font-weight:750;transition:transform .16s,box-shadow .16s}body.module-page .module-main a:hover,body.module-page .module-main button:hover{transform:translateY(-1px)}body.module-page .module-main .top a,body.module-page .module-main .top button{background:#173252;color:#d7e8ff;border-color:#263b53}body.module-page .module-main .top a:not(.secondary),body.module-page .module-main .top .import{background:#f27a32;border-color:#f27a32;color:#fff;box-shadow:0 10px 22px #f27a3230}body.module-page .module-theme-toggle{background:#101c2d!important;border-color:#263b53!important;color:#dce7f3!important}body.module-page .module-main .panel,body.module-page .module-main .box,body.module-page .module-main section.panel{background:#101c2d!important;border:1px solid #263b53!important;border-radius:15px!important;box-shadow:0 18px 42px #0000002e!important;color:#f5f8fc}body.module-page .module-main .panel{padding:20px}body.module-page .module-main .toolbar,body.module-page .module-main .search,body.module-page .module-main .filters{display:flex;align-items:center;gap:10px;background:#101c2d;border:1px solid #263b53;border-radius:14px;padding:14px;margin:0 0 22px;box-shadow:0 18px 42px #0000002e}body.module-page .module-main .toolbar input,body.module-page .module-main .toolbar select,body.module-page .module-main .search input,body.module-page .module-main .filters select,body.module-page .module-main input,body.module-page .module-main select,body.module-page .module-main textarea{width:100%;min-height:44px;box-sizing:border-box;background:#0e1b2c!important;color:#f5f8fc!important;border:1px solid #263b53!important;border-radius:10px!important;padding:11px 12px}body.module-page .module-main .toolbar input,body.module-page .module-main .search input{flex:1}body.module-page .module-main input::placeholder{color:#70859d}body.module-page .module-main .toolbar button,body.module-page .module-main .search button,body.module-page .module-main .filters button,body.module-page .module-main form>button,body.module-page .module-main .form>button{background:#f27a32;border-color:#f27a32;color:#fff;box-shadow:0 9px 20px #f27a3229;white-space:nowrap}body.module-page .module-main .grid{gap:18px}body.module-page .module-main .table{width:100%;border-collapse:collapse;min-width:0}body.module-page .module-main .table th,body.module-page .module-main .table td{padding:13px 9px;text-align:left;border-bottom:1px solid #263b53;color:#f5f8fc}body.module-page .module-main .table th{color:#7890a8;font-size:11px;text-transform:uppercase;letter-spacing:.08em}body.module-page .module-main .table tr:last-child td{border-bottom:0}body.module-page .module-main .status,body.module-page .module-main .tag,body.module-page .module-main .good,body.module-page .module-main .ok,body.module-page .module-main .stock-good{color:#22d58b!important;font-weight:750}body.module-page .module-main .warn,body.module-page .module-main .stock-bad,body.module-page .module-main .bad,body.module-page .module-main .off{color:#ed6a67!important;font-weight:750}body.module-page .module-main .count{background:#183252;color:#8fc0ff;border:1px solid #2d5076}body.module-page .module-main .edit,body.module-page .module-main .secondary,body.module-page .module-main .print-link{background:#173252!important;color:#cfe3fb!important;border-color:#263b53!important;box-shadow:none}body.module-page .module-main .msg{background:#10382f;color:#8af0c7;border:1px solid #1b765c}body.module-page .module-main .error{background:#3b222a;color:#ffaaa4;border:1px solid #7a3f48}body.module-page .module-main .row{border-color:#263b53!important}body.module-page .module-main .empty{color:#8fa5bc!important}body.light.module-page{background:#f4f7fb!important;color:#14263e!important}body.light.module-page .module-shell{background:#f4f7fb}body.light.module-page .module-sidebar{background:#fff;border-color:#e2e8f0;box-shadow:10px 0 26px #28405b0d}body.light.module-page .module-brand{color:#14263e}body.light.module-page .module-sidebar nav a{color:#718199}body.light.module-page .module-sidebar nav a:hover,body.light.module-page .module-sidebar nav a.active{background:#eaf2ff;color:#1f5eb9}body.light.module-page .module-sidebar nav a.active{box-shadow:inset 3px 0 0 #2d7ff5}body.light.module-page .module-main{background:#f4f7fb}body.light.module-page .module-main .top{border-color:#e0e7ef}body.light.module-page .module-main .top h1,body.light.module-page .module-main .table td{color:#14263e}body.light.module-page .module-main .top a,body.light.module-page .module-main .top button{background:#edf4ff;color:#2667c5;border-color:#e0e7ef}body.light.module-page .module-main .top a:not(.secondary),body.light.module-page .module-main .top .import{background:#f27a32;border-color:#f27a32;color:#fff}body.light.module-page .module-theme-toggle{background:#fff!important;color:#29405d!important}body.light.module-page .module-main .panel,body.light.module-page .module-main .box,body.light.module-page .module-main section.panel,body.light.module-page .module-main .toolbar,body.light.module-page .module-main .search,body.light.module-page .module-main .filters{background:#fff!important;border-color:#e0e7ef!important;box-shadow:0 12px 30px #27415f1a!important}body.light.module-page .module-main input,body.light.module-page .module-main select,body.light.module-page .module-main textarea{background:#fff!important;color:#14263e!important;border-color:#e0e7ef!important}body.light.module-page .module-main .table th{color:#718199}body.light.module-page .module-main .table th,body.light.module-page .module-main .table td{border-color:#e0e7ef}body.light.module-page .module-main .edit,body.light.module-page .module-main .secondary,body.light.module-page .module-main .print-link{background:#edf4ff!important;color:#2667c5!important}@media(max-width:1100px){body.module-page .module-main{padding-left:26px;padding-right:26px}body.module-page .module-main .toolbar{flex-wrap:wrap}body.module-page .module-main .toolbar input{min-width:220px}body.module-page .module-main .grid{grid-template-columns:1fr!important}}@media(max-width:750px){body.module-page .module-shell{display:block}body.module-page .module-sidebar{padding:14px 16px 12px;border-right:0;border-bottom:1px solid #1e3046;box-shadow:0 8px 24px #00000014}body.module-page .module-brand{padding:4px 2px 14px;font-size:21px}body.module-page .module-sidebar nav{display:flex;overflow-x:auto;gap:6px}body.module-page .module-sidebar nav a{flex:0 0 auto;min-height:40px;padding:9px 12px;font-size:12px}body.module-page .module-nav-sep{display:none}body.module-page .module-main{padding:24px 16px 38px}body.module-page .module-main .top{display:block;padding-bottom:20px}body.module-page .module-main .top>.actions,body.module-page .module-main .top>div:last-child,body.module-page .module-main .top>span{justify-content:flex-start;margin-top:14px}body.module-page .module-main .top h1{font-size:26px}body.module-page .module-main .toolbar,body.module-page .module-main .search,body.module-page .module-main .filters{display:grid;grid-template-columns:1fr;margin-bottom:18px}body.module-page .module-main .toolbar button,body.module-page .module-main .search button{width:100%}body.module-page .module-main .panel{padding:16px}body.module-page .module-theme-toggle{margin-top:10px}}body.module-page .module-main .toolbar{display:grid;grid-template-columns:minmax(240px,2fr) repeat(3,minmax(150px,1fr)) auto}body.module-page .module-main .toolbar input{flex:none;min-width:0}@media(max-width:750px){body.module-page .module-main .toolbar{grid-template-columns:1fr}body.module-page .module-main .toolbar input{grid-column:1}}body.module-page .module-main .toolbar input[name="q"]{width:100%!important;min-width:220px!important;flex:1 1 0!important;grid-column:1}body.module-page .module-sidebar .module-brand,body.module-page .module-sidebar nav a{background:transparent!important}body.module-page .module-sidebar nav a:hover,body.module-page .module-sidebar nav a.active{background:#17315f!important}body.module-page .module-main .top a[href="/"]{background:#173252!important;color:#d7e8ff!important;border-color:#263b53!important;box-shadow:none!important}

/* Nueva venta · diseño visual unificado Haman ERP */
body.sale-mode {
  --sale-bg: #07111f;
  --sale-panel: #101d2f;
  --sale-panel-soft: #0c1829;
  --sale-input: #0a1526;
  --sale-line: #243753;
  --sale-text: #f4f7fb;
  --sale-muted: #93a6bf;
  --sale-accent: #ff641f;
  --sale-accent-soft: rgba(255,100,31,.14);
  --sale-blue: #2f7df6;
  --sale-blue-soft: rgba(47,125,246,.16);
  --sale-purple: #8b5cf6;
  --sale-green: #1fce8a;
  --sale-shadow: 0 18px 44px rgba(0,0,0,.22);
  background: var(--sale-bg) !important;
  color: var(--sale-text) !important;
}
body.sale-mode.light {
  --sale-bg: #f4f7fb;
  --sale-panel: #ffffff;
  --sale-panel-soft: #fbfdff;
  --sale-input: #f7f9fd;
  --sale-line: #d7e1ee;
  --sale-text: #13233d;
  --sale-muted: #6a7890;
  --sale-accent: #ed5a1a;
  --sale-accent-soft: #fff1ea;
  --sale-blue: #2563d9;
  --sale-blue-soft: #eaf2ff;
  --sale-purple: #6d35d8;
  --sale-shadow: 0 16px 36px rgba(29,55,91,.10);
}
body.sale-mode .main { background: transparent !important; }
body.sale-mode .dashboard-header { margin-bottom: 4px; }
body.sale-mode .dashboard-header .dashboard-heading .eyebrow,
body.sale-mode .sale-heading .eyebrow { color: var(--sale-accent) !important; letter-spacing: .16em; font-weight: 800; }
body.sale-mode .dashboard-header h1 { color: var(--sale-text) !important; }
body.sale-mode .dashboard-header .muted,
body.sale-mode .sale-heading .muted { color: var(--sale-muted) !important; }
body.sale-mode #logoutBtn { background: var(--sale-blue) !important; color: #fff !important; box-shadow: 0 8px 18px rgba(37,99,217,.20); }
body.sale-mode #themeToggle { border-color: var(--sale-line) !important; background: var(--sale-panel) !important; color: var(--sale-text) !important; }
body.sale-mode .sale-workspace {
  margin-top: 22px;
  padding: 24px;
  background: var(--sale-panel) !important;
  border: 1px solid var(--sale-line) !important;
  border-radius: 20px !important;
  box-shadow: var(--sale-shadow) !important;
}
body.sale-mode .sale-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 2px 2px 22px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--sale-line);
}
body.sale-mode .sale-heading h2 { color: var(--sale-text) !important; font-size: 28px; margin: 7px 0 4px; letter-spacing: -.02em; }
body.sale-mode .sale-status {
  flex: 0 0 auto;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--sale-accent-soft) !important;
  color: var(--sale-accent) !important;
  border: 1px solid rgba(255,100,31,.22);
  font-weight: 800;
  font-size: 12px;
}
body.sale-mode .sale-layout { display: grid; grid-template-columns: minmax(0,1fr) 292px; gap: 20px; align-items: start; }
body.sale-mode .sale-form { display: grid; gap: 16px; min-width: 0; }
body.sale-mode .sale-step {
  padding: 21px 22px 20px;
  background: var(--sale-panel-soft) !important;
  border: 1px solid var(--sale-line) !important;
  border-radius: 16px !important;
  box-shadow: 0 8px 22px rgba(0,0,0,.06) !important;
}
body.sale-mode .step-title { display: flex; align-items: center; gap: 12px; margin-bottom: 19px; }
body.sale-mode .step-title > span {
  display: inline-grid; place-items: center; width: 32px; height: 32px; flex: 0 0 32px;
  border-radius: 10px; background: linear-gradient(135deg,var(--sale-purple),#5d2cb9) !important; color: #fff !important; font-weight: 900;
}
body.sale-mode .step-title b { color: var(--sale-text) !important; font-size: 15px; }
body.sale-mode .step-title small { display: block; color: var(--sale-muted) !important; margin-top: 3px; font-size: 12px; }
body.sale-mode .field-label,
body.sale-mode .sale-step label,
body.sale-mode .price-list-control label { color: var(--sale-muted) !important; font-weight: 700; font-size: 12px; }
body.sale-mode .sale-step input,
body.sale-mode .sale-step select,
body.sale-mode .sale-step textarea {
  width: 100%; min-height: 42px; margin-top: 7px; padding: 10px 12px;
  background: var(--sale-input) !important; color: var(--sale-text) !important;
  border: 1px solid var(--sale-line) !important; border-radius: 10px !important; box-shadow: none !important;
}
body.sale-mode .sale-step input::placeholder { color: var(--sale-muted); opacity: .82; }
body.sale-mode .sale-step input:focus,
body.sale-mode .sale-step select:focus,
body.sale-mode .sale-step textarea:focus { outline: none; border-color: var(--sale-blue) !important; box-shadow: 0 0 0 3px var(--sale-blue-soft) !important; }
body.sale-mode .sale-search { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 10px; align-items: end; margin: 0 0 16px !important; }
body.sale-mode .sale-search input { margin-top: 0; }
body.sale-mode .sale-search button,
body.sale-mode .product-searches button {
  min-height: 42px; padding: 0 17px; border: 0 !important; border-radius: 10px !important;
  background: var(--sale-accent) !important; color: #fff !important; font-weight: 800; box-shadow: 0 8px 16px rgba(255,100,31,.18) !important;
}
body.sale-mode .sale-search button:hover,
body.sale-mode .product-searches button:hover { filter: brightness(1.06); transform: translateY(-1px); }
body.sale-mode .sale-fields,
body.sale-mode .invoice-buyer-fields { display: grid !important; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
body.sale-mode .invoice-buyer-fields { grid-template-columns: repeat(4,minmax(0,1fr)); margin-top: 14px; }
body.sale-mode .arca-note { color: var(--sale-muted) !important; font-size: 11px; line-height: 1.5; margin: 14px 0 0; }
body.sale-mode .price-list-control { display: flex; align-items: end; gap: 14px; margin-bottom: 15px; }
body.sale-mode .price-list-control label { flex: 0 0 220px; }
body.sale-mode .price-list-control small { color: var(--sale-muted) !important; padding-bottom: 11px; font-size: 11px; }
body.sale-mode .product-searches { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: 12px; }
body.sale-mode .product-searches .sale-search { margin: 0 !important; display: flex; }
body.sale-mode .product-searches .sale-search input { min-width: 0; flex: 1 1 auto; }
body.sale-mode .product-searches .sale-search button { flex: 0 0 auto; }
body.sale-mode .cart-wrap { overflow-x: auto; margin-top: 17px; border: 1px solid var(--sale-line); border-radius: 12px; }
body.sale-mode .sale-table { width: 100%; min-width: 560px; border: 0 !important; border-collapse: separate; border-spacing: 0; background: transparent !important; }
body.sale-mode .sale-table th { background: var(--sale-blue-soft) !important; color: var(--sale-muted) !important; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
body.sale-mode .sale-table th,
body.sale-mode .sale-table td { padding: 13px 14px; border-bottom: 1px solid var(--sale-line) !important; color: var(--sale-text) !important; }
body.sale-mode .sale-table tr:last-child td { border-bottom: 0 !important; }
body.sale-mode .sale-summary {
  position: sticky; top: 18px; padding: 22px !important; background: var(--sale-panel-soft) !important;
  border: 1px solid var(--sale-line) !important; border-radius: 16px !important; box-shadow: var(--sale-shadow) !important;
}
body.sale-mode .sale-summary .label,
body.sale-mode .sale-summary .row span,
body.sale-mode .invoice-help { color: var(--sale-muted) !important; }
body.sale-mode .sale-summary .number { color: var(--sale-text) !important; margin: 8px 0 20px; font-size: 23px; font-weight: 900; }
body.sale-mode .sale-summary .row { display: flex; justify-content: space-between; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--sale-line); }
body.sale-mode .sale-summary .row strong { color: var(--sale-text) !important; }
body.sale-mode .sale-summary .total-row { margin: 3px 0 18px; border-bottom: 0; }
body.sale-mode .sale-summary .total-row span { color: var(--sale-text) !important; font-weight: 800; }
body.sale-mode .sale-summary .total-row strong { color: var(--sale-accent) !important; font-size: 28px; }
body.sale-mode .sale-summary button { width: 100%; min-height: 44px; margin-top: 10px; border-radius: 10px !important; font-weight: 800; }
body.sale-mode .sale-summary .primary { background: var(--sale-accent) !important; color: #fff !important; border: 0 !important; }
body.sale-mode .sale-summary .invoice-button { background: #432273 !important; color: #fff !important; border: 0 !important; }
body.sale-mode.light .sale-summary .invoice-button { background: #572899 !important; }
body.sale-mode .sale-summary .print-button { background: transparent !important; color: var(--sale-text) !important; border: 1px solid var(--sale-line) !important; }
body.sale-mode .sale-summary .invoice-help { display: block; margin-top: 14px; line-height: 1.45; font-size: 11px; }
@media (max-width: 1000px) {
  body.sale-mode .sale-layout { grid-template-columns: 1fr; }
  body.sale-mode .sale-summary { position: static; }
}
@media (max-width: 720px) {
  body.sale-mode .sale-workspace { padding: 15px; }
  body.sale-mode .sale-heading { flex-direction: column; }
  body.sale-mode .sale-fields,
  body.sale-mode .invoice-buyer-fields,
  body.sale-mode .product-searches { grid-template-columns: 1fr !important; }
  body.sale-mode .price-list-control { display: block; }
  body.sale-mode .price-list-control label { display: block; }
  body.sale-mode .price-list-control small { display: block; padding: 8px 0 0; }
}


/* Nueva venta · corrección final del modo oscuro */
html body.sale-mode:not(.light) .main { background: transparent !important; }
html body.sale-mode:not(.light) .sale-workspace,
html body.sale-mode:not(.light) main.main section#sale.sale-workspace { background: #101d2f !important; border-color: #243753 !important; }
html body.sale-mode:not(.light) .sale-step { background: #0c1829 !important; border-color: #243753 !important; }
html body.sale-mode:not(.light) .sale-summary { background: #101d2f !important; border-color: #243753 !important; }
html body.sale-mode:not(.light) .sale-step input,
html body.sale-mode:not(.light) .sale-step select,
html body.sale-mode:not(.light) .sale-step textarea { background: #081525 !important; color: #f4f7fb !important; border-color: #243753 !important; }
html body.sale-mode:not(.light) .sale-step select { color: #f4f7fb !important; }
html body.sale-mode:not(.light) .sale-step input::placeholder { color: #93a6bf !important; }
html body.sale-mode:not(.light) .sale-table th { background: #162a45 !important; color: #a9bad0 !important; }
html body.sale-mode:not(.light) .sale-table td { background: #0c1829 !important; color: #f4f7fb !important; border-color: #243753 !important; }
html body.sale-mode:not(.light) .sale-summary .row { border-color: #243753 !important; }
html body.sale-mode:not(.light) .sale-summary .number,
html body.sale-mode:not(.light) .sale-summary .row strong { color: #f4f7fb !important; }
html body.sale-mode:not(.light) .sale-summary .total-row strong { color: #ff641f !important; }
html body.sale-mode:not(.light) .sale-summary .print-button { background: transparent !important; border-color: #243753 !important; color: #f4f7fb !important; }


/* Nueva venta · modo oscuro alineado al dashboard */
html body.sale-mode:not(.light) #sale .sale-step { background: #0c1829 !important; border: 1px solid #243753 !important; box-shadow: 0 10px 28px rgba(0,0,0,.16) !important; }
html body.sale-mode:not(.light) #sale .sale-fields input,
html body.sale-mode:not(.light) #sale .sale-fields select,
html body.sale-mode:not(.light) #sale .invoice-buyer-fields input,
html body.sale-mode:not(.light) #sale .invoice-buyer-fields select,
html body.sale-mode:not(.light) #sale .price-list-control select,
html body.sale-mode:not(.light) #sale .sale-search input { background: #081525 !important; color: #f4f7fb !important; border: 1px solid #243753 !important; box-shadow: none !important; }
html body.sale-mode:not(.light) #sale .sale-fields input:focus,
html body.sale-mode:not(.light) #sale .sale-fields select:focus,
html body.sale-mode:not(.light) #sale .invoice-buyer-fields input:focus,
html body.sale-mode:not(.light) #sale .invoice-buyer-fields select:focus,
html body.sale-mode:not(.light) #sale .price-list-control select:focus,
html body.sale-mode:not(.light) #sale .sale-search input:focus { border-color: #2f7df6 !important; box-shadow: 0 0 0 3px rgba(47,125,246,.18) !important; }
html body.sale-mode:not(.light) #sale .cart-wrap { background: #0c1829 !important; border: 1px solid #243753 !important; }
html body.sale-mode:not(.light) #sale .sale-table tr { background: #0c1829 !important; box-shadow: none !important; }
html body.sale-mode:not(.light) #sale .sale-table th { background: #162a45 !important; color: #a9bad0 !important; border-color: #243753 !important; }
html body.sale-mode:not(.light) #sale .sale-table td { background: #0c1829 !important; color: #f4f7fb !important; border-color: #243753 !important; }
html body.sale-mode:not(.light) #sale .sale-summary { background: #101d2f !important; border: 1px solid #243753 !important; box-shadow: 0 18px 44px rgba(0,0,0,.22) !important; }


/* Fondo general del modo oscuro · lenguaje visual del dashboard */
html body:not(.light) .app { background: #06101b !important; }
html body:not(.light) .side { background: linear-gradient(180deg,#0b1727 0%,#07101b 100%) !important; border-right: 1px solid #22334b !important; }
html body:not(.light) .main { background: radial-gradient(circle at 88% 0%,rgba(42,91,160,.24),rgba(10,22,38,.74) 30%,#050b13 70%) !important; }
html body.sale-mode:not(.light) .main { background: radial-gradient(circle at 88% 0%,rgba(42,91,160,.24),rgba(10,22,38,.74) 30%,#050b13 70%) !important; }


/* Menú lateral · estilo Haman inspirado en navegación por secciones */
@media (min-width: 901px) {
  html body .app { grid-template-columns: 262px minmax(0,1fr) !important; }
  html body .side { width: 262px !important; }
}
html body .side {
  box-sizing: border-box;
  padding: 22px 14px 18px !important;
  border-right: 1px solid #22334b;
}
html body .side .brand {
  display: grid !important;
  grid-template-columns: 34px minmax(0,1fr) 18px;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  margin: 0 2px 16px !important;
  padding: 0 6px 17px !important;
  border-bottom: 1px solid rgba(139,164,195,.14);
  color: #f4f7fb !important;
}
html body .side .brand-logo {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: linear-gradient(135deg,#2f7df6,#1853b7);
  color: #fff;
  font-size: 17px;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(47,125,246,.22);
}
html body .side .brand-copy { display: grid; gap: 2px; min-width: 0; }
html body .side .brand-copy strong { color: #f4f7fb; font-size: 14px; line-height: 1.1; white-space: nowrap; }
html body .side .brand-copy em { color: #ff641f; font-style: normal; }
html body .side .brand-copy small { color: #8295ae; font-size: 11px; line-height: 1.1; }
html body .side .brand-caret { color: #7f92aa; font-size: 16px; text-align: center; }
html body .side .side-search {
  display: grid;
  grid-template-columns: 18px minmax(0,1fr) auto;
  align-items: center;
  gap: 8px;
  height: 36px;
  margin: 0 0 14px;
  padding: 0 9px;
  border: 1px solid #22334b;
  border-radius: 9px;
  background: #101d2f;
  color: #9aabc0;
}
html body .side .side-search-icon { font-size: 18px; line-height: 1; color: #90a3bd; }
html body .side .side-search input {
  width: 100%; min-width: 0; padding: 0; border: 0; outline: 0; background: transparent; color: #f4f7fb; font-size: 12px;
}
html body .side .side-search input::placeholder { color: #9aabc0; opacity: 1; }
html body .side .side-search kbd {
  padding: 2px 5px; border: 1px solid #2a3e5c; border-radius: 4px; color: #89a8d6; background: #0a1526; font-size: 9px; line-height: 1;
}
html body .side nav { display: grid !important; gap: 3px !important; }
html body .side nav .nav-section-label {
  margin: 13px 8px 5px;
  color: #6f829b;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  line-height: 1;
  text-transform: uppercase;
}
html body .side nav .nav-section-label:first-child { margin-top: 4px; }
html body .side nav > button,
html body .side nav > a {
  display: flex !important;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 39px;
  box-sizing: border-box;
  padding: 0 10px !important;
  border: 0 !important;
  border-left: 3px solid transparent !important;
  border-radius: 8px !important;
  background: transparent !important;
  color: #93a5bd !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}
html body .side nav > button:hover,
html body .side nav > a:hover { background: #132a47 !important; color: #f4f7fb !important; }
html body .side nav > button.active,
html body .side nav > a.active,
html body .side nav > button[aria-current="page"],
html body .side nav > a[aria-current="page"] {
  border-left-color: #ff641f !important;
  background: #173e75 !important;
  color: #fff !important;
  box-shadow: 0 7px 18px rgba(17,62,117,.24);
}
html body .side nav > button.submenu-item,
html body .side nav > a.submenu-item { padding-left: 30px !important; font-size: 12px !important; }
html body .side nav > button .hicon,
html body .side nav > a .hicon { display: inline-grid; place-items: center; width: 18px; min-width: 18px; color: currentColor; }
html body .side nav > button .hicon svg,
html body .side nav > a .hicon svg { width: 17px; height: 17px; stroke: currentColor; }
html body .side nav > button > span:last-child,
html body .side nav > a > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html body.light .side {
  border-right-color: #d9e3ef;
  background: linear-gradient(180deg,#f8fbff 0%,#eef3f9 100%) !important;
}
html body.light .side .brand { border-bottom-color: #dce5ef; color: #13233d !important; }
html body.light .side .brand-copy strong { color: #13233d; }
html body.light .side .brand-copy small,
html body.light .side .brand-caret { color: #71829a; }
html body.light .side .side-search { border-color: #d9e3ef; background: #fff; color: #6b7c93; }
html body.light .side .side-search input { color: #13233d; }
html body.light .side .side-search input::placeholder { color: #74869e; }
html body.light .side .side-search kbd { border-color: #d9e3ef; color: #3566a9; background: #f2f6fb; }
html body.light .side nav .nav-section-label { color: #8090a5; }
html body.light .side nav > button,
html body.light .side nav > a { color: #60718a !important; }
html body.light .side nav > button:hover,
html body.light .side nav > a:hover { background: #eaf1f9 !important; color: #173e75 !important; }
html body.light .side nav > button.active,
html body.light .side nav > a.active,
html body.light .side nav > button[aria-current="page"],
html body.light .side nav > a[aria-current="page"] { background: #e4efff !important; color: #1f5cab !important; border-left-color: #ed5a1a !important; box-shadow: 0 7px 18px rgba(43,94,153,.12); }


/* Menú lateral · misma experiencia en módulos internos */
@media (min-width: 901px) {
  html body .module-shell { grid-template-columns: 262px minmax(0,1fr) !important; }
  html body .module-sidebar { width: 262px !important; }
}
html body .module-sidebar {
  box-sizing: border-box;
  padding: 22px 14px 18px !important;
  border-right: 1px solid #22334b !important;
  background: linear-gradient(180deg,#0b1727 0%,#07101b 100%) !important;
}
html body .module-sidebar .module-brand {
  display: grid !important;
  grid-template-columns: 34px minmax(0,1fr) 18px;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  margin: 0 2px 16px !important;
  padding: 0 6px 17px !important;
  border-bottom: 1px solid rgba(139,164,195,.14) !important;
  color: #f4f7fb !important;
  text-decoration: none !important;
}
html body .module-sidebar .brand-logo { display:grid;place-items:center;width:34px;height:34px;border-radius:9px;background:linear-gradient(135deg,#2f7df6,#1853b7);color:#fff;font-size:17px;font-weight:900;box-shadow:0 8px 18px rgba(47,125,246,.22); }
html body .module-sidebar .brand-copy { display:grid;gap:2px;min-width:0; }
html body .module-sidebar .brand-copy strong { color:#f4f7fb;font-size:14px;line-height:1.1;white-space:nowrap; }
html body .module-sidebar .brand-copy em { color:#ff641f;font-style:normal; }
html body .module-sidebar .brand-copy small { color:#8295ae;font-size:11px;line-height:1.1; }
html body .module-sidebar .brand-caret { color:#7f92aa;font-size:16px;text-align:center; }
html body .module-sidebar .side-search { display:grid;grid-template-columns:18px minmax(0,1fr) auto;align-items:center;gap:8px;height:36px;margin:0 0 14px;padding:0 9px;border:1px solid #22334b;border-radius:9px;background:#101d2f;color:#9aabc0; }
html body .module-sidebar .side-search-icon { font-size:18px;line-height:1;color:#90a3bd; }
html body .module-sidebar .side-search input { width:100%;min-width:0;padding:0;border:0;outline:0;background:transparent;color:#f4f7fb;font-size:12px; }
html body .module-sidebar .side-search input::placeholder { color:#9aabc0;opacity:1; }
html body .module-sidebar .side-search kbd { padding:2px 5px;border:1px solid #2a3e5c;border-radius:4px;color:#89a8d6;background:#0a1526;font-size:9px;line-height:1; }
html body .module-sidebar nav { display:grid !important;gap:3px !important; }
html body .module-sidebar nav .nav-section-label { margin:13px 8px 5px;color:#6f829b;font-size:10px;font-weight:800;letter-spacing:.12em;line-height:1;text-transform:uppercase; }
html body .module-sidebar nav .nav-section-label:first-child { margin-top:4px; }
html body .module-sidebar nav > a { display:flex !important;align-items:center;gap:10px;width:100%;min-height:39px;box-sizing:border-box;padding:0 10px !important;border:0 !important;border-left:3px solid transparent !important;border-radius:8px !important;background:transparent !important;color:#93a5bd !important;font-size:13px !important;font-weight:600 !important;text-decoration:none !important; }
html body .module-sidebar nav > a:hover { background:#132a47 !important;color:#f4f7fb !important; }
html body .module-sidebar nav > a.active { border-left-color:#ff641f !important;background:#173e75 !important;color:#fff !important;box-shadow:0 7px 18px rgba(17,62,117,.24); }
html body .module-sidebar nav > a > span { display:inline-grid;place-items:center;width:18px;min-width:18px;color:currentColor; }
html body .module-sidebar nav > a > span::before { content:'◦';font-size:20px;line-height:1; }
html body.light .module-sidebar { border-right-color:#d9e3ef !important;background:linear-gradient(180deg,#f8fbff 0%,#eef3f9 100%) !important; }
html body.light .module-sidebar .module-brand { border-bottom-color:#dce5ef !important;color:#13233d !important; }
html body.light .module-sidebar .brand-copy strong { color:#13233d; }
html body.light .module-sidebar .brand-copy small,html body.light .module-sidebar .brand-caret { color:#71829a; }
html body.light .module-sidebar .side-search { border-color:#d9e3ef;background:#fff;color:#6b7c93; }
html body.light .module-sidebar .side-search input { color:#13233d; }
html body.light .module-sidebar .side-search input::placeholder { color:#74869e; }
html body.light .module-sidebar .side-search kbd { border-color:#d9e3ef;color:#3566a9;background:#f2f6fb; }
html body.light .module-sidebar nav .nav-section-label { color:#8090a5; }
html body.light .module-sidebar nav > a { color:#60718a !important; }
html body.light .module-sidebar nav > a:hover { background:#eaf1f9 !important;color:#173e75 !important; }
html body.light .module-sidebar nav > a.active { background:#e4efff !important;color:#1f5cab !important;border-left-color:#ed5a1a !important;box-shadow:0 7px 18px rgba(43,94,153,.12); }


/* Categorías desplegables del menú */
html body .side nav > button.menu-parent,
html body .module-sidebar nav > button.menu-parent { position: relative; }
html body .side nav > button.menu-parent .menu-chevron,
html body .module-sidebar nav > button.menu-parent .menu-chevron { margin-left: auto; color: #7f92aa; font-size: 15px; line-height: 1; transition: transform .18s ease; }
html body .side nav > button.menu-parent.is-expanded .menu-chevron,
html body .module-sidebar nav > button.menu-parent.is-expanded .menu-chevron { transform: rotate(180deg); }
html body .side nav > button.menu-parent[aria-expanded="true"],
html body .module-sidebar nav > button.menu-parent[aria-expanded="true"] { background: #0f2540 !important; color: #f4f7fb !important; }
html body .side nav > button.menu-parent.has-active-child,
html body .module-sidebar nav > button.menu-parent.has-active-child { color: #f4f7fb !important; }
html body .side nav > .submenu-item[hidden],
html body .module-sidebar nav > .submenu-item[hidden] { display: none !important; }
html body .side nav > .submenu-item,
html body .module-sidebar nav > .submenu-item { animation: haman-submenu-in .16s ease-out; }
@keyframes haman-submenu-in { from { opacity: .35; transform: translateY(-3px); } to { opacity: 1; transform: translateY(0); } }
html body.light .side nav > button.menu-parent[aria-expanded="true"],
html body.light .module-sidebar nav > button.menu-parent[aria-expanded="true"] { background: #edf4fc !important; color: #173e75 !important; }
html body.light .side nav > button.menu-parent .menu-chevron,
html body.light .module-sidebar nav > button.menu-parent .menu-chevron { color: #71829a; }

/* Menu groups: neutral collapsed state across every module. */
html body .module-sidebar nav > button.menu-parent, html body .side nav > button.menu-parent { background: transparent !important; color: #93a5bd !important; border-left: 3px solid transparent !important; }
html body .module-sidebar nav > button.menu-parent:hover, html body .side nav > button.menu-parent:hover { background: #132a47 !important; color: #f4f7fb !important; }
html body .module-sidebar nav > button.menu-parent[aria-expanded="true"], html body .side nav > button.menu-parent[aria-expanded="true"] { background: #0f2540 !important; color: #f4f7fb !important; }
html body.light .module-sidebar nav > button.menu-parent, html body.light .side nav > button.menu-parent { background: transparent !important; color: #60718a !important; }
html body.light .module-sidebar nav > button.menu-parent:hover, html body.light .side nav > button.menu-parent:hover { background: #eaf1f9 !important; color: #173e75 !important; }

/* Shared SVG icon treatment for every module navigation. */
html body .module-sidebar nav > a > span.hicon, html body .module-sidebar nav > button.menu-parent > span.hicon { display: inline-flex !important; align-items: center !important; justify-content: center !important; width: 18px !important; min-width: 18px !important; height: 18px !important; border: 0 !important; border-radius: 0 !important; opacity: 1 !important; color: currentColor !important; }
html body .module-sidebar nav > a > span.hicon::before, html body .module-sidebar nav > button.menu-parent > span.hicon::before { content: none !important; display: none !important; }
html body .module-sidebar nav > a > span.hicon svg, html body .module-sidebar nav > button.menu-parent > span.hicon svg { width: 18px !important; height: 18px !important; fill: none !important; stroke: currentColor !important; stroke-width: 1.8 !important; stroke-linecap: round !important; stroke-linejoin: round !important; }
html body .module-sidebar nav > a.submenu-item > span.hicon { width: 16px !important; min-width: 16px !important; height: 16px !important; }
html body .module-sidebar nav > a.submenu-item > span.hicon svg { width: 16px !important; height: 16px !important; }

/* Make the expandable Sales entry align exactly with every module link. */
html body .module-sidebar nav > button.menu-parent { align-items: center !important; gap: 10px !important; width: 100% !important; min-height: 39px !important; box-sizing: border-box !important; display: flex !important; padding: 0 10px !important; border: 0 !important; border-left: 3px solid transparent !important; border-radius: 8px !important; background: transparent !important; color: #93a5bd !important; font: inherit !important; font-size: 13px !important; font-weight: 600 !important; text-align: left !important; cursor: pointer !important; transform: none !important; box-shadow: none !important; }
html body .module-sidebar nav > button.menu-parent:hover { background: #132a47 !important; color: #f4f7fb !important; }
html body .module-sidebar nav > button.menu-parent[aria-expanded="true"] { background: #0f2540 !important; color: #f4f7fb !important; }
html body.light .module-sidebar nav > button.menu-parent { background: transparent !important; color: #60718a !important; }
html body.light .module-sidebar nav > button.menu-parent:hover { background: #eaf1f9 !important; color: #173e75 !important; }

/* Match the exact row height of regular module links. */
html body .module-sidebar nav > button.menu-parent { min-height: 44px !important; }

/* Final responsive proportions for every standalone module. */
@media (max-width: 750px) {
  html, body { min-width: 0 !important; max-width: 100% !important; overflow-x: hidden !important; }
  html body.module-page .module-shell { display: block !important; width: 100% !important; min-height: 100vh !important; }
  html body.module-page .module-sidebar { width: 100% !important; min-height: 0 !important; padding: 14px 12px 12px !important; border-right: 0 !important; border-bottom: 1px solid #1e3046 !important; box-shadow: 0 8px 24px rgba(0,0,0,.16) !important; }
  html body.module-page .module-sidebar .module-brand { grid-template-columns: 34px minmax(0,1fr) auto !important; margin: 0 2px 14px !important; padding: 0 6px 14px !important; }
  html body.module-page .module-sidebar .side-search { width: 100% !important; height: 38px !important; margin-bottom: 13px !important; }
  html body.module-page .module-sidebar nav { display: flex !important; flex-wrap: wrap !important; align-items: stretch !important; gap: 5px !important; width: 100% !important; overflow: visible !important; }
  html body.module-page .module-sidebar nav .nav-section-label { flex: 0 0 100% !important; margin: 12px 8px 3px !important; }
  html body.module-page .module-sidebar nav > a, html body.module-page .module-sidebar nav > button.menu-parent { flex: 1 1 calc(50% - 5px) !important; width: auto !important; min-width: 0 !important; min-height: 42px !important; box-sizing: border-box !important; padding: 0 10px !important; gap: 8px !important; border-radius: 9px !important; font-size: 12px !important; }
  html body.module-page .module-sidebar nav > a.submenu-item { padding-left: 18px !important; font-size: 12px !important; }
  html body.module-page .module-main { width: 100% !important; min-width: 0 !important; padding: 20px 12px 32px !important; }
  html body.module-page .module-main .top { display: block !important; padding-bottom: 20px !important; margin-bottom: 18px !important; }
  html body.module-page .module-main .top h1 { font-size: 26px !important; }
  html body.module-page .module-main .top > .actions, html body.module-page .module-main .top > div:last-child, html body.module-page .module-main .top > span { justify-content: flex-start !important; margin-top: 14px !important; }
  html body.module-page .module-main .toolbar, html body.module-page .module-main .search, html body.module-page .module-main .filters { display: grid !important; grid-template-columns: 1fr !important; gap: 10px !important; }
  html body.module-page .module-main .toolbar > *, html body.module-page .module-main .search > *, html body.module-page .module-main .filters > * { width: 100% !important; min-width: 0 !important; }
  html body.module-page .module-main .panel, html body.module-page .module-main .box, html body.module-page .module-main section.panel { min-width: 0 !important; padding: 15px !important; }
  html body.module-page .module-main table { display: block !important; max-width: 100% !important; overflow-x: auto !important; white-space: nowrap !important; }
}


/* Final compact mobile header and hamburger menu for standalone modules. */
@media (max-width: 750px) {
  html body.module-page .module-sidebar .mobile-menu-toggle { display: flex !important; position: absolute !important; top: 12px !important; right: 12px !important; align-items: center !important; justify-content: center !important; flex-direction: column !important; gap: 4px !important; width: 42px !important; height: 42px !important; padding: 0 !important; border: 1px solid #29476d !important; border-radius: 10px !important; background: #10243e !important; color: #f4f7fb !important; cursor: pointer !important; z-index: 2 !important; }
  html body.module-page .module-sidebar .mobile-menu-toggle span { display: block !important; width: 18px !important; height: 2px !important; border-radius: 2px !important; background: currentColor !important; }
  html body.module-page .module-sidebar { position: relative !important; min-height: 68px !important; padding: 12px !important; }
  html body.module-page .module-sidebar .module-brand { min-height: 44px !important; margin: 0 !important; padding: 0 54px 0 6px !important; border-bottom: 0 !important; }
  html body.module-page .module-sidebar .brand-caret { display: none !important; }
  html body.module-page .module-sidebar .side-search, html body.module-page .module-sidebar nav { display: none !important; }
  html body.module-page .module-sidebar.mobile-menu-open { padding-bottom: 14px !important; }
  html body.module-page .module-sidebar.mobile-menu-open .side-search { display: grid !important; margin-top: 14px !important; }
  html body.module-page .module-sidebar.mobile-menu-open nav { display: flex !important; flex-wrap: wrap !important; align-items: stretch !important; gap: 5px !important; height: auto !important; overflow: visible !important; margin-top: 2px !important; }
  html body.module-page .module-sidebar.mobile-menu-open nav .nav-section-label { flex: 0 0 100% !important; margin: 12px 8px 3px !important; }
  html body.module-page .module-sidebar.mobile-menu-open nav > a, html body.module-page .module-sidebar.mobile-menu-open nav > button.menu-parent { display: flex !important; flex: 1 1 calc(50% - 5px) !important; width: auto !important; min-width: 0 !important; min-height: 42px !important; padding: 0 10px !important; gap: 8px !important; border-radius: 9px !important; font-size: 12px !important; }
  html body.module-page .module-sidebar.mobile-menu-open nav > a.submenu-item { padding-left: 18px !important; }
}


/* Keep expandable groups and their children on separate mobile rows. */
@media (max-width: 750px) {
  html body.module-page .module-sidebar.mobile-menu-open nav > button.menu-parent { flex: 0 0 100% !important; width: 100% !important; min-height: 42px !important; height: 42px !important; }
  html body.module-page .module-sidebar.mobile-menu-open nav > a.submenu-item:not([hidden]) { flex: 0 0 100% !important; width: 100% !important; min-height: 42px !important; height: 42px !important; padding-left: 36px !important; }
}


/* Hide module submenu links until their parent is opened. */
@media (max-width: 750px) {
  html body.module-page .module-sidebar.mobile-menu-open nav > a.submenu-item[hidden] { display: none !important; }
  html body.module-page .module-sidebar.mobile-menu-open nav > a.submenu-item:not([hidden]) { display: flex !important; flex: 0 0 100% !important; width: 100% !important; }
}


/* Haman dashboard action icons: shared desktop and mobile correction */
html body .dashboard-actions,html body .dashboard-actions[style]{display:flex !important;align-items:center !important;justify-content:flex-end !important;flex-wrap:nowrap !important;gap:10px !important;}
html body .dashboard-actions .dash-date{display:none !important;}
html body .dashboard-actions .dash-new-sale,html body .dashboard-actions .theme-toggle,html body .dashboard-actions .user,html body .dashboard-actions .logout-link{flex:0 0 42px !important;width:42px !important;min-width:42px !important;max-width:42px !important;height:42px !important;min-height:42px !important;max-height:42px !important;box-sizing:border-box !important;padding:0 !important;display:flex !important;align-items:center !important;justify-content:center !important;font-size:0 !important;line-height:0 !important;white-space:nowrap !important;overflow:hidden !important;border-radius:12px !important;text-decoration:none !important;cursor:pointer !important;}
html body .dashboard-actions .dash-new-sale::before,html body .dashboard-actions .theme-toggle::before,html body .dashboard-actions .user::before,html body .dashboard-actions .logout-link::before{content:"" !important;display:block !important;width:20px !important;height:20px !important;background:currentColor !important;opacity:1 !important;-webkit-mask-repeat:no-repeat !important;mask-repeat:no-repeat !important;-webkit-mask-position:center !important;mask-position:center !important;-webkit-mask-size:contain !important;mask-size:contain !important;}
html body .dashboard-actions .dash-new-sale{color:#fff !important;background:#ff641f !important;}
html body .dashboard-actions .dash-new-sale::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 3h14v18l-3-2-4 2-4-2-3 2Z'/%3E%3Cpath d='M8 8h8M8 12h8M8 16h4'/%3E%3C/svg%3E") !important;mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 3h14v18l-3-2-4 2-4-2-3 2Z'/%3E%3Cpath d='M8 8h8M8 12h8M8 16h4'/%3E%3C/svg%3E") !important;}
html body:not(.light) .dashboard-actions .theme-toggle::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 3v2M12 19v2M4.22 4.22l1.42 1.42M18.36 18.36l1.42 1.42M3 12h2M19 12h2M4.22 19.78l1.42-1.42M18.36 5.64l1.42-1.42'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3C/svg%3E") !important;mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 3v2M12 19v2M4.22 4.22l1.42 1.42M18.36 18.36l1.42 1.42M3 12h2M19 12h2M4.22 19.78l1.42-1.42M18.36 5.64l1.42-1.42'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3C/svg%3E") !important;}
html body.light .dashboard-actions .theme-toggle::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.7 15.1A8.5 8.5 0 0 1 8.9 3.3 8.5 8.5 0 1 0 20.7 15.1Z'/%3E%3C/svg%3E") !important;mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.7 15.1A8.5 8.5 0 0 1 8.9 3.3 8.5 8.5 0 1 0 20.7 15.1Z'/%3E%3C/svg%3E") !important;}
html body .dashboard-actions .user::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c0-4 3.6-7 8-7s8 3 8 7'/%3E%3C/svg%3E") !important;mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c0-4 3.6-7 8-7s8 3 8 7'/%3E%3C/svg%3E") !important;}
html body .dashboard-actions .logout-link::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 8l4 4-4 4M18 12H3'/%3E%3Cpath d='M14 3h5a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-5'/%3E%3C/svg%3E") !important;mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 8l4 4-4 4M18 12H3'/%3E%3Cpath d='M14 3h5a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-5'/%3E%3C/svg%3E") !important;}
@media (max-width:750px){html body .dashboard-actions,html body .dashboard-actions[style]{width:100% !important;gap:8px !important;}html body .dashboard-actions .dash-new-sale,html body .dashboard-actions .theme-toggle,html body .dashboard-actions .user,html body .dashboard-actions .logout-link{flex:0 0 42px !important;width:42px !important;min-width:42px !important;max-width:42px !important;height:42px !important;min-height:42px !important;max-height:42px !important;padding:0 !important;font-size:0 !important;}}


/* SVG action buttons: final shared override for desktop and mobile */
html body .dashboard-actions,html body .dashboard-actions[style]{display:flex !important;align-items:center !important;justify-content:flex-end !important;flex-wrap:nowrap !important;gap:10px !important;}
html body .dashboard-actions .dash-date{display:none !important;}
html body .dashboard-actions .dash-new-sale,html body .dashboard-actions .theme-toggle,html body .dashboard-actions .user,html body .dashboard-actions .logout-link{flex:0 0 42px !important;width:42px !important;min-width:42px !important;max-width:42px !important;height:42px !important;min-height:42px !important;max-height:42px !important;box-sizing:border-box !important;padding:0 !important;display:flex !important;align-items:center !important;justify-content:center !important;font-size:0 !important;line-height:0 !important;white-space:nowrap !important;overflow:hidden !important;border-radius:12px !important;text-decoration:none !important;}
html body .dashboard-actions .haman-action-glyph{display:grid !important;place-items:center !important;width:20px !important;height:20px !important;flex:0 0 20px !important;line-height:0 !important;}
html body .dashboard-actions .haman-action-glyph svg{display:block !important;width:20px !important;height:20px !important;fill:none !important;stroke:currentColor !important;stroke-width:2 !important;stroke-linecap:round !important;stroke-linejoin:round !important;}
html body .dashboard-actions .haman-action-label{position:absolute !important;width:1px !important;height:1px !important;padding:0 !important;margin:-1px !important;overflow:hidden !important;clip:rect(0,0,0,0) !important;white-space:nowrap !important;border:0 !important;}
html body .dashboard-actions .dash-new-sale{color:#fff !important;background:#ff641f !important;}
html body .dashboard-actions .user{cursor:pointer !important;}
@media (max-width:750px){html body .dashboard-actions,html body .dashboard-actions[style]{width:100% !important;gap:8px !important;}html body .dashboard-actions .dash-new-sale,html body .dashboard-actions .theme-toggle,html body .dashboard-actions .user,html body .dashboard-actions .logout-link{flex:0 0 42px !important;width:42px !important;min-width:42px !important;max-width:42px !important;height:42px !important;min-height:42px !important;max-height:42px !important;padding:0 !important;font-size:0 !important;}}


/* Only the real inline SVG should remain; disable legacy pseudo-icons. */
html body .dashboard-actions .dash-new-sale::before,html body .dashboard-actions .theme-toggle::before,html body .dashboard-actions .user::before,html body .dashboard-actions .logout-link::before{content:none !important;display:none !important;background:none !important;-webkit-mask:none !important;mask:none !important;}
