
:root{
  --calm-bg:#f5f7f8;
  --calm-surface:#ffffff;
  --calm-sidebar:#24566b;
  --calm-sidebar-hover:#2c6278;
  --calm-sidebar-active:#1d485b;
  --calm-text:#26343d;
  --calm-muted:#75828a;
  --calm-line:#dde3e7;
  --calm-line-soft:#edf0f2;
  --calm-accent:#b66524;
  --calm-accent-soft:#f7efe8;
  --calm-blue:#2b7898;
  --calm-green:#4f7a66;
  --calm-red:#a45f5b;
  --calm-amber:#8a6a42;
  --calm-radius:5px;

  --background:#f5f7f8;
  --foreground:#26343d;
  --card:#fff;
  --card-foreground:#26343d;
  --popover:#fff;
  --popover-foreground:#26343d;
  --primary:#2b7898;
  --primary-foreground:#fff;
  --secondary:#f2f5f6;
  --secondary-foreground:#33434d;
  --muted:#f2f5f6;
  --muted-foreground:#75828a;
  --accent:#eef4f6;
  --accent-foreground:#24566b;
  --border:#dde3e7;
  --input:#d5dde1;
  --ring:#6ea1b7;
  --radius:.32rem;
}

html,body,button,input,select,textarea{font-family:Arial,"Helvetica Neue",Helvetica,sans-serif!important}
body,.workspace,.mx-app,body .main{background:var(--calm-bg)!important;color:var(--calm-text)!important}
*{text-shadow:none!important}


.panel,.metric,.review-card,.inventory-overview,.inventory-counts>button,
.mx-panel,.mx-metric,.mx-filters,.mx-login-card,
body .panel,body .chart-panel,body .metric-card,body .hero-panel,
body .compact-hero-panel,body .finance-card,body .compact-fin-card,
body .stat-mini,body .stat-card-sm,body .stat-card-compact,body .stat-card-tight,
body .agenda-slot-card,body .compact-filter-shell,body .schedule-next-box,
body .ticket-card,body .ticket-column,body .calendar-day,body .agenda-day-card{
  box-shadow:none!important;
  background-image:none!important;
}


.app-shell{--sidebar-width:224px!important}
.magna-sidebar [data-sidebar=sidebar],
.magna-sidebar [data-slot=sidebar-inner],
.magna-sidebar [data-mobile=true],
body .sidebar,.mx-sidebar{
  background:var(--calm-sidebar)!important;
  color:#fff!important;
  border:0!important;
  box-shadow:none!important;
}

.magna-sidebar [data-sidebar=header]{padding:21px 14px 10px!important}
.brand,.mx-brand,body .brand-logo{background:transparent!important;border:0!important}
.brand{padding:0 10px 14px!important}
.brand img{width:150px!important;height:48px!important;object-fit:contain!important;filter:brightness(0) invert(1)!important;opacity:.96!important}
.mx-brand img,body .brand-logo img{filter:brightness(0) invert(1)!important}

.workspace-label,.mx-area,body .shop-pill{
  background:rgba(255,255,255,.08)!important;
  border:1px solid rgba(255,255,255,.14)!important;
  border-radius:4px!important;
  box-shadow:none!important;
}
.workspace-label{padding:8px 9px!important;margin:0 3px 4px!important}
.mx-area{margin:0 14px 16px!important;padding:9px!important}
.mx-area-caption,body .shop-pill small{color:#c4d4dc!important;font-size:10px!important;font-weight:500!important;letter-spacing:.02em!important;text-transform:none!important}
.mx-area-select,body .shop-pill select{
  background:transparent!important;color:#fff!important;border:0!important;border-radius:0!important;
  font-size:13px!important;font-weight:600!important;box-shadow:none!important;padding-left:0!important
}
.mx-area-select option{color:#26343d!important;background:#fff!important}

.magna-sidebar [data-sidebar=group]{padding:10px 13px 2px!important}
.magna-sidebar [data-sidebar=group-label],.mx-nav-label,body .mx-workshop-nav-label{
  color:#b9cbd3!important;font-size:10px!important;font-weight:600!important;
  letter-spacing:.04em!important;text-transform:none!important;padding-left:10px!important
}
.magna-sidebar [data-sidebar=menu-button],body #nav button,.mx-nav a{
  height:40px!important;min-height:40px!important;border-radius:4px!important;
  color:#e8f0f3!important;font-size:13px!important;font-weight:500!important;
  padding:0 11px!important;box-shadow:none!important;background:transparent!important;
  border:0!important
}
.magna-sidebar [data-sidebar=menu-button] svg,body #nav button svg,.mx-nav a svg{width:16px!important;height:16px!important;stroke-width:1.7!important}
.magna-sidebar [data-sidebar=menu-button]:hover,body #nav button:hover,.mx-nav a:hover{
  background:var(--calm-sidebar-hover)!important;color:#fff!important
}
.magna-sidebar [data-sidebar=menu-button][data-active=true],body #nav button.active,.mx-nav a.active{
  background:var(--calm-sidebar-active)!important;color:#fff!important;font-weight:600!important;
  box-shadow:none!important;border-left:3px solid #e1a46b!important;padding-left:8px!important
}
.nav-count,body #nav button i{
  margin-left:auto!important;background:rgba(255,255,255,.14)!important;color:#fff!important;
  border-radius:3px!important;font-size:10px!important;font-weight:600!important
}
.sidebar-profile,.mx-sidebar-foot,body .user-card{
  border-top:1px solid rgba(255,255,255,.16)!important;background:transparent!important;color:#fff!important
}
.sidebar-profile .avatar,.mx-avatar,body .user-card .avatar{
  background:rgba(255,255,255,.14)!important;color:#fff!important;border:1px solid rgba(255,255,255,.12)!important;
  box-shadow:none!important
}
.sidebar-profile b,.mx-sidebar-foot b,body .user-card b{color:#fff!important;font-weight:600!important}
.sidebar-profile small,.mx-sidebar-foot small,body .user-card small{color:#bed0d8!important}
.sidebar-profile button,.mx-sidebar-foot button,body .user-card button{color:#d6e3e8!important}
body .sidebar .collapse-btn,body .sidebar-bottom>button{
  background:transparent!important;border:1px solid rgba(255,255,255,.16)!important;color:#e3edf1!important;border-radius:4px!important
}


.topbar,body .topbar,.mx-topbar{
  height:56px!important;background:#fff!important;border-bottom:1px solid var(--calm-line)!important;
  box-shadow:none!important;padding:0 26px!important;backdrop-filter:none!important
}
.topbar-left,.topbar-right,.topbar-left b,.topbar-brand,
body .topbar-left,body .topbar-right,body .topbar-left b,body .topbar-brand,
.mx-topbar-left,.mx-topbar-right{
  color:#697780!important;font-size:12px!important;font-weight:500!important;text-transform:none!important;letter-spacing:0!important
}
.topbar-left b,.mx-topbar-left strong{color:#3b4b55!important;font-weight:600!important}
.sync-button,.mx-icon-button{border-radius:4px!important;box-shadow:none!important}


.main-content,.mx-main,body .view{max-width:1500px!important;padding:26px 28px 30px!important}
.page-heading,body .page-heading,body .mx-office-page-heading,.mx-heading{
  margin-bottom:18px!important;padding:0 0 15px!important;border-bottom:1px solid var(--calm-line)!important;
  align-items:flex-end!important
}
.page-heading h1,body .page-heading h1,body .mx-office-page-heading h1,.mx-app h1,.mx-heading h1{
  color:var(--calm-text)!important;font-size:23px!important;line-height:1.2!important;font-weight:600!important;
  letter-spacing:-.25px!important;margin:0!important
}
.page-subtitle,body .page-heading p,body .mx-office-page-heading p,.mx-muted,.mx-heading p{
  color:var(--calm-muted)!important;font-size:12px!important;line-height:1.45!important;margin-top:4px!important
}
.eyebrow{display:none!important}


.primary-button,.mx-button.primary,
[data-slot=button]:not([data-variant=outline]):not([data-variant=ghost]):not([data-variant=secondary]):not([data-variant=destructive]):not([data-variant=link]),
body .primary{
  min-height:34px!important;height:auto!important;background:var(--calm-blue)!important;border:1px solid var(--calm-blue)!important;
  color:#fff!important;border-radius:4px!important;font-size:12px!important;font-weight:600!important;box-shadow:none!important;
  background-image:none!important;padding:7px 13px!important
}
.primary-button:hover,.mx-button.primary:hover,body .primary:hover{
  background:#246b88!important;border-color:#246b88!important;transform:none!important;box-shadow:none!important
}
.mx-button,.secondary,.ghost,.choice,.search-box input,.field input,.field textarea,.mx-input,
body .search,body .inline-search,body .mini-filter-field input,body .mini-filter-field select,
body .filter-static,body .chip-btn,[data-variant=outline]{
  border-radius:4px!important;box-shadow:none!important;min-height:34px!important
}
.choice,.search-box input,.field input,.field textarea,.mx-input,
body .search,body .inline-search,body .mini-filter-field input,body .mini-filter-field select{
  background:#fff!important;border-color:#cfd8dd!important;color:var(--calm-text)!important;font-size:12px!important
}
.search-box input:focus,.field input:focus,.field textarea:focus,.mx-input:focus,
body .mini-filter-field input:focus,body .mini-filter-field select:focus{
  border-color:#75a7bb!important;box-shadow:0 0 0 2px rgba(43,120,152,.08)!important;outline:none!important
}
.mx-label,.field>label,body .mini-filter-field span{
  color:#596872!important;font-size:11px!important;font-weight:600!important;letter-spacing:0!important;text-transform:none!important
}


.metrics,.mx-metrics,body .mx-office-metrics{
  display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:0!important;
  margin:0 0 16px!important;background:#fff!important;border:1px solid var(--calm-line)!important;
  border-radius:4px!important;overflow:hidden!important
}
.metric,.mx-metric,body .metric-card{
  min-height:92px!important;padding:16px 18px!important;margin:0!important;border:0!important;
  border-right:1px solid var(--calm-line-soft)!important;border-radius:0!important;background:#fff!important;box-shadow:none!important
}
.metric:last-child,.mx-metric:last-child{border-right:0!important}
.metrics>.metric:first-child,.mx-metrics>.mx-metric:first-child,body .mx-office-metrics>.metric:first-child{
  border:0!important;border-right:1px solid var(--calm-line-soft)!important;padding-top:16px!important
}
.metric::before,.metric::after,.mx-metric::before,.mx-metric::after{display:none!important}
.metric:hover,.mx-metric:hover{background:#fafcfc!important;transform:none!important;box-shadow:none!important}
.metric-head,.mx-kpi-label,.mx-metric small{
  color:#7a878f!important;font-size:10.5px!important;font-weight:500!important;letter-spacing:0!important;text-transform:none!important
}
.metric-head svg,.mx-metric .mx-kpi-label svg{display:none!important}
.metric strong,.mx-metric strong{
  display:block!important;margin-top:8px!important;color:#2a3942!important;font-size:24px!important;line-height:1.05!important;
  font-weight:600!important;letter-spacing:-.4px!important
}
.metric.green strong,.mx-metric.net strong{color:#456e5c!important}
.metric.red strong,.mx-metric.net.negative strong{color:#985853!important}
.metric.amber strong{color:#7f6240!important}
.metric-foot{margin-top:7px!important;color:#95a0a6!important;font-size:10px!important}


.panel,.review-card,.sale-step,.sale-summary,.finance-calculator,.import-summary,.inventory-overview,
.mx-panel,.mx-filters,body .panel,body .chart-panel,body .hero-panel,body .compact-hero-panel,
body .finance-card,body .compact-fin-card,body .agenda-slot-card,body .compact-filter-shell,
body .ticket-stage-panel-clean,body .ticket-filter-panel-v217,body .clients-result-panel{
  background:#fff!important;border:1px solid var(--calm-line)!important;border-radius:4px!important;box-shadow:none!important
}
.section-title,.mx-panel-head{padding:15px 17px 10px!important;margin:0!important;border-bottom:0!important}
.section-title h2,.mx-panel-head h2,.mx-app h2{
  color:#31414a!important;font-size:14px!important;font-weight:600!important;letter-spacing:0!important
}
.section-title p,.mx-panel-head p{color:#8a959c!important;font-size:10.5px!important;margin-top:2px!important}
.dashboard-middle,.dashboard-bottom,body .dashboard-main-v217,body .dashboard-main-grid{gap:14px!important}
.dashboard-middle{grid-template-columns:minmax(0,1.8fr) minmax(260px,.68fr)!important}
.dashboard-bottom{grid-template-columns:minmax(0,1.8fr) minmax(260px,.68fr)!important}
.sales-chart-panel,.category-panel{overflow:hidden!important}
.chart-summary,.mini-breakdown{border-top:1px solid var(--calm-line-soft)!important}
.chart-summary span,.mini-breakdown>div{color:#7e8990!important;font-size:10.5px!important}
.chart-summary b,.mini-breakdown b{color:#3a4951!important;font-weight:600!important}
.legend i{background:#6e9db2!important}.legend.green i{background:#6e8e7c!important}.legend.red i{background:#b47a76!important}


.inventory-overview{padding:0!important;color:var(--calm-text)!important;overflow:hidden!important}
.inventory-overview-head{padding:15px 17px 0!important;color:#87939a!important;font-size:10px!important;letter-spacing:0!important}
.inventory-overview-head .icon-box{display:none!important}
.inventory-overview h2{padding:0 17px!important;margin:5px 0 4px!important;color:#31414a!important;font-size:15px!important;font-weight:600!important}
.inventory-overview>p{padding:0 17px 11px!important;margin:0!important;color:#8a959c!important;font-size:10.5px!important}
.warehouse-list{border-top:1px solid var(--calm-line-soft)!important;border-bottom:1px solid var(--calm-line-soft)!important}
.warehouse-list button{min-height:43px!important;padding:0 17px!important;border:0!important;border-bottom:1px solid var(--calm-line-soft)!important;border-radius:0!important;color:#57666f!important;background:#fff!important}
.warehouse-list button:last-child{border-bottom:0!important}
.warehouse-list button:hover{background:#f8fafb!important}
.warehouse-list b{color:#32424b!important;font-weight:600!important}
.warehouse-list small{color:#97a1a7!important}
.light-link{padding:12px 17px!important;color:#397b98!important;font-size:11px!important;font-weight:600!important}

.review-card{min-height:auto!important;padding:13px 15px!important;gap:10px!important}
.review-card:hover{background:#fafcfc!important;border-color:#ccd7dc!important}
.review-icon,.icon-box,.count-icon,.product-icon,.product-icon.blue,body .mx-area-icon{
  background:transparent!important;border:0!important;color:#71818a!important;border-radius:0!important;box-shadow:none!important
}
.review-card b{font-size:12px!important;color:#35454e!important;font-weight:600!important}.review-card p{font-size:10.5px!important;color:#8b969c!important}


.inventory-counts{
  display:grid!important;grid-template-columns:repeat(3,1fr)!important;gap:0!important;margin-bottom:14px!important;
  background:#fff!important;border:1px solid var(--calm-line)!important;border-radius:4px!important;overflow:hidden!important
}
.inventory-counts>button{
  min-height:70px!important;padding:12px 16px!important;border:0!important;border-right:1px solid var(--calm-line-soft)!important;
  border-radius:0!important;background:#fff!important;color:#687780!important;box-shadow:none!important
}
.inventory-counts>button:last-child{border-right:0!important}
.inventory-counts>button:hover{background:#fafcfc!important;transform:none!important;box-shadow:none!important}
.inventory-counts>button.selected{background:#f3f7f9!important;border-color:var(--calm-line-soft)!important;box-shadow:inset 0 -2px 0 #5f91a7!important}
.inventory-counts strong{color:#33434c!important;font-size:18px!important;font-weight:600!important}.inventory-counts small{color:#919ca2!important;font-weight:400!important}


.toolbar,.mx-toolbar,body .ticket-filter-panel-v217,body .client-filter-panel-v217,
body .inventory-filter-shell-v24015,body .report-filter-shell-v235,body .unified-filter-shell-v235{
  padding:11px 13px!important;background:#fff!important;border-bottom:1px solid var(--calm-line-soft)!important;
  border-radius:0!important;box-shadow:none!important
}
.panel>.toolbar:first-child{border-radius:4px 4px 0 0!important}
.panel-tabs{padding:0 13px!important;border-bottom:1px solid var(--calm-line-soft)!important;background:#fff!important}
.panel-tabs [data-slot=tabs-list],.toolbar [data-slot=tabs-list],body .finance-tabs-v232,body .finance-tabs-v24015{
  background:transparent!important;border-radius:0!important;padding:0!important;height:auto!important;gap:16px!important
}
.panel-tabs [data-slot=tabs-trigger],.toolbar [data-slot=tabs-trigger]{
  min-height:38px!important;padding:0!important;border:0!important;border-bottom:2px solid transparent!important;border-radius:0!important;
  background:transparent!important;color:#74828a!important;font-size:11.5px!important;font-weight:500!important;box-shadow:none!important
}
.panel-tabs [data-slot=tabs-trigger][data-state=active],.toolbar [data-slot=tabs-trigger][data-state=active]{
  color:#2e647c!important;border-bottom-color:#4f8aa4!important;background:transparent!important;box-shadow:none!important
}
.overview-strip,.summary-pills-v217,body .summary-pills-v24015{
  margin:0 0 14px!important;padding:11px 14px!important;background:#fff!important;border:1px solid var(--calm-line)!important;
  border-radius:4px!important;color:#74828a!important;box-shadow:none!important
}
.overview-strip b{color:#34444d!important;font-weight:600!important}


.data-scroll,.table-wrap,body .inventory-table-wrap-v24015,body .ticket-table-scroll-v218{border-radius:0!important;box-shadow:none!important}
.data-scroll table,.mx-table,body .data-table,body .inventory-table-v24015,body .ticket-table-v218{font-size:12px!important}
.data-scroll th,.mx-table th,body .data-table th,body .inventory-table-v24015 th,body .ticket-table-v218 th{
  height:38px!important;padding:9px 13px!important;background:#f7f9fa!important;color:#75828a!important;
  border-color:var(--calm-line)!important;font-size:10.5px!important;font-weight:600!important;text-transform:none!important;letter-spacing:0!important
}
.data-scroll td,.mx-table td,body .data-table td,body .inventory-table-v24015 td,body .ticket-table-v218 td{
  padding:11px 13px!important;border-color:var(--calm-line-soft)!important;color:#41515a!important;font-size:12px!important
}
.data-scroll tr:hover td,.mx-table tr:hover td,.click-row:hover,body .data-table tr:hover td{background:#fafcfc!important}
.table-link{color:#326f8a!important;font-weight:600!important}.table-link small{color:#929ca2!important;font-weight:400!important}
.customer-cell .avatar.pastel,.avatar.pastel{display:none!important}
.product-cell .product-icon{width:auto!important;height:auto!important;margin-right:4px!important}
.table-footer,.mx-pagination,body .inventory-result-footer-v234,body .result-footer-v217{
  min-height:44px!important;padding:8px 13px!important;border-top:1px solid var(--calm-line)!important;color:#8a959c!important;background:#fff!important
}


.pill,.mx-badge,body .badge,body .slot-state,body .status-pill-v222,body .stock-pill-v234,body .closed-pill-v225{
  border-radius:3px!important;font-size:10px!important;font-weight:600!important;letter-spacing:0!important;text-transform:none!important;
  border:1px solid transparent!important;padding:3px 6px!important
}
.pill.green,.mx-badge.on{background:#eef4f0!important;color:#557363!important;border-color:#dce8e1!important}
.pill.amber{background:#f7f3ec!important;color:#7c674a!important;border-color:#e8dfd2!important}
.pill.blue{background:#edf3f6!important;color:#4e7181!important;border-color:#dce8ed!important}
.pill.red,.mx-badge.off{background:#f7eeee!important;color:#8a5b58!important;border-color:#eadbda!important}


body .dashboard-overview-v217{gap:14px!important;margin-bottom:14px!important}
body .dashboard-hero-v217,body .dashboard-hero-balanced,body .hero-panel{
  min-height:auto!important;padding:16px 18px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;
  gap:16px!important;background:#fff!important;border:1px solid var(--calm-line)!important;color:var(--calm-text)!important;border-radius:4px!important
}
body .dashboard-hero-copy-v217 h2,body .dashboard-hero-panel h2,body .dashboard-hero-inline h2{
  margin:0 0 4px!important;font-size:20px!important;line-height:1.2!important;color:#31414a!important;font-weight:600!important;letter-spacing:-.2px!important
}
body .dashboard-hero-copy-v217 p,body .dashboard-hero-panel p{color:#849097!important;font-size:11.5px!important;margin:0!important}
body .dashboard-hero-actions-v217 .ghost,body .hero-ghost{background:#fff!important;color:#53636c!important;border:1px solid #ced8dd!important}
body .dashboard-mini-stats-v217,body .dashboard-mini-stats,body .compact-stats-row,body .stats-row,body .tighter-stats-row{
  display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:0!important;background:#fff!important;
  border:1px solid var(--calm-line)!important;border-radius:4px!important;overflow:hidden!important
}
body .stat-card-tight,body .stat-mini,body .stat-mini-compact,body .stat-card-sm,body .stat-card-compact{
  min-height:72px!important;padding:12px 14px!important;border:0!important;border-right:1px solid var(--calm-line-soft)!important;
  border-radius:0!important;background:#fff!important;box-shadow:none!important
}
body .stat-card-tight:last-child,body .stat-mini:last-child{border-right:0!important}
body .stat-card-tight small,body .stat-mini small{color:#87939a!important;font-size:10px!important;font-weight:500!important;text-transform:none!important;letter-spacing:0!important}
body .stat-card-tight strong,body .stat-mini strong{color:#31414a!important;font-size:20px!important;font-weight:600!important}

body .ticket-stage-switch-v217,body .ticket-stage-switch-clean,body .ticket-stage-switch{
  display:flex!important;gap:0!important;margin-bottom:12px!important;background:#fff!important;border:1px solid var(--calm-line)!important;
  border-radius:4px!important;overflow:auto!important;padding:0!important
}
body .ticket-stage-btn{
  min-width:145px!important;height:42px!important;padding:0 12px!important;border:0!important;border-right:1px solid var(--calm-line-soft)!important;
  border-radius:0!important;background:#fff!important;color:#65747d!important;font-size:11.5px!important;font-weight:500!important;box-shadow:none!important
}
body .ticket-stage-btn:last-child{border-right:0!important}
body .ticket-stage-btn.active{background:#edf4f7!important;color:#2f6680!important;border-bottom:2px solid #5b91a8!important}
body .ticket-stage-btn b{width:auto!important;height:auto!important;min-width:20px!important;border-radius:3px!important;background:#eef1f2!important;color:#6f7d85!important;font-size:10px!important}
body .ticket-stage-btn.active b{background:#dce9ee!important;color:#386d83!important}

body .ticket-stage-list-clean,body .ticket-stage-list{
  display:grid!important;grid-template-columns:repeat(auto-fill,minmax(280px,1fr))!important;gap:9px!important
}
body .ticket-card{
  padding:12px 13px!important;border:1px solid var(--calm-line)!important;border-radius:4px!important;background:#fff!important;box-shadow:none!important
}
body .ticket-card:hover{background:#fafcfc!important;border-color:#cad5da!important;transform:none!important}
body .ticket-card h4{font-size:12.5px!important;color:#34444d!important;font-weight:600!important}
body .ticket-card p,body .ticket-card small{font-size:10.5px!important;color:#87939a!important}
body .ticket-column{background:#f7f9fa!important;border:1px solid var(--calm-line)!important;border-radius:4px!important;padding:8px!important}

body .calendar-day,body .agenda-day-card,body .agenda-slot-card,body .agenda-slot-ticket,
body .compact-item,body .movement-card,body .history-mini,body .stage-mini{
  background:#fff!important;border:1px solid var(--calm-line)!important;border-radius:4px!important;box-shadow:none!important
}
body .calendar-day.today{background:#f3f7f9!important;border-color:#9ab9c7!important;box-shadow:none!important}
body .calendar-day:hover,body .agenda-slot-ticket:hover{background:#fafcfc!important;transform:none!important;box-shadow:none!important}
body .agenda-slot-ticket{padding:8px 10px!important}
body .agenda-slot-head b{font-size:12px!important;color:#34444d!important}.agenda-slot-head small{font-size:10px!important;color:#8a959c!important}
body .month-bar{background:#6d9bb0!important;border-radius:2px 2px 0 0!important}
body .donut-center{box-shadow:none!important;border-color:var(--calm-line)!important}


body .emob-filter-panel,body .inventory-filter-panel-v234,body .report-panel-v224,
body .ticket-filter-panel-v217,body .client-filter-panel-v217{
  border-radius:4px!important;border:1px solid var(--calm-line)!important;background:#fff!important;box-shadow:none!important
}
body .filter-static,body .chip-btn,body .page-btn{
  border-radius:4px!important;background:#fff!important;border-color:#cfd8dd!important;color:#586871!important;font-weight:500!important
}
body .page-btn.active{background:#eaf2f5!important;border-color:#8fb1c0!important;color:#2c657d!important}


body .trace-panel-v226,body .part-history-panel-v24015,body .client-history-card-v222,body .technician-history-card-v230{
  border:1px solid var(--calm-line)!important;border-radius:4px!important;background:#fff!important;box-shadow:none!important
}
body .trace-row-v226,body .history-row,body .timeline-item,body .part-movement-v228{
  border-radius:0!important;border-bottom:1px solid var(--calm-line-soft)!important;background:#fff!important;box-shadow:none!important
}
body .trace-row-v226:hover,body .history-row:hover{background:#fafcfc!important}


.mx-filters{padding:12px 14px!important;gap:10px!important;border-radius:4px!important;background:#fff!important;border:1px solid var(--calm-line)!important}
.mx-areas{gap:12px!important}.mx-area-values{border-color:var(--calm-line-soft)!important}
.mx-area-foot,.mx-panel-head,.mx-pagination,.mx-footer{border-color:var(--calm-line)!important}
.mx-area-foot a{color:#397b98!important}.mx-area-icon{display:none!important}
.mx-dialog{border-radius:5px!important;box-shadow:0 12px 36px rgba(37,52,61,.12)!important}.mx-dialog::backdrop{background:rgba(28,40,47,.34)!important}


.mx-login-page{background:#f1f4f5!important}
.mx-login-wrap{max-width:390px!important}
.mx-login-brand{margin-bottom:22px!important}.mx-login-brand img{max-width:170px!important}
.mx-login-card{
  padding:28px 30px!important;border-radius:5px!important;border:1px solid var(--calm-line)!important;background:#fff!important;box-shadow:none!important
}
.mx-login-card h1{font-size:21px!important;font-weight:600!important;letter-spacing:-.15px!important;color:#2f3f48!important}
.mx-login-card .mx-button{min-height:38px!important;width:100%!important}.mx-login-rule,.mx-login-footer{color:#8c979d!important}
.mx-inline-link{color:#3c7791!important}


.notice,.notice.subtle,.mx-notice,.mx-error,.error-banner,.selected-customer,.summary-lines .balance-line{
  border-radius:4px!important;box-shadow:none!important
}
.notice,.mx-notice{background:#f8f5ef!important;border-color:#e5ddd0!important;color:#6d6253!important}
.notice.subtle{background:#f6f8f9!important;border-color:#e0e5e8!important;color:#65737b!important}
.summary-header{background:#f7f9fa!important;color:var(--calm-text)!important;border-color:var(--calm-line)!important;background-image:none!important}
.finance-calculator{display:grid!important;grid-template-columns:minmax(220px,.6fr) minmax(0,1.4fr)!important;overflow:hidden!important}
.calculator-intro{background:#f7f9fa!important;border:0!important;border-right:1px solid var(--calm-line)!important;border-radius:0!important}
.calculator-result{background:#edf4f7!important;border-radius:4px!important}.mini-bar{background:#edf0f2!important}.mini-bar span{background:#6e9db2!important}


button,a,.metric,.panel,.review-card,.ticket-card,.calendar-day,.inventory-counts>button,
.mx-button,.mx-panel,.mx-metric,.mx-nav a,body #nav button{transition:background-color .1s ease,border-color .1s ease,color .1s ease!important}
*:focus-visible{outline:2px solid #7da9bb!important;outline-offset:1px!important}

@media(max-width:1100px){
  .metrics,.mx-metrics,body .mx-office-metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .metric:nth-child(2),.mx-metric:nth-child(2){border-right:0!important}
  .metric:nth-child(-n+2),.mx-metric:nth-child(-n+2){border-bottom:1px solid var(--calm-line-soft)!important}
  .dashboard-middle,.dashboard-bottom{grid-template-columns:1fr!important}
  body .dashboard-mini-stats-v217,body .dashboard-mini-stats,body .compact-stats-row,body .stats-row,body .tighter-stats-row{grid-template-columns:repeat(2,1fr)!important}
}

@media(max-width:767px){
  .app-shell{--sidebar-width:224px!important}
  .main-content,.mx-main,body .view{padding:20px 14px 24px!important}
  .page-heading h1,body .page-heading h1,body .mx-office-page-heading h1,.mx-heading h1{font-size:21px!important}
  .metrics,.mx-metrics,body .mx-office-metrics{grid-template-columns:1fr!important}
  .metric,.mx-metric,.metrics>.metric:first-child,.mx-metrics>.mx-metric:first-child{border-right:0!important;border-bottom:1px solid var(--calm-line-soft)!important}
  .metric:last-child,.mx-metric:last-child{border-bottom:0!important}
  .inventory-counts{grid-template-columns:1fr!important}.inventory-counts>button{border-right:0!important;border-bottom:1px solid var(--calm-line-soft)!important}.inventory-counts>button:last-child{border-bottom:0!important}
  body .dashboard-mini-stats-v217,body .dashboard-mini-stats,body .compact-stats-row,body .stats-row,body .tighter-stats-row{grid-template-columns:1fr!important}
  body .dashboard-hero-v217,body .dashboard-hero-balanced,body .hero-panel{display:block!important}
  body .dashboard-hero-actions-v217{margin-top:12px!important;justify-content:flex-start!important}
  .finance-calculator{grid-template-columns:1fr!important}.calculator-intro{border-right:0!important;border-bottom:1px solid var(--calm-line)!important}
}


:root{
  --calm-bg:#ffffff;
  --calm-surface:#ffffff;
  --calm-sidebar:#171717;
  --calm-sidebar-hover:#232323;
  --calm-sidebar-active:#0f0f0f;
  --calm-text:#222222;
  --calm-muted:#6f6f6f;
  --calm-line:#e6e6e6;
  --calm-line-soft:#f2f2f2;
  --calm-accent:#f7931e;
  --calm-accent-soft:#fff7ee;
  --calm-blue:#f7931e;
  --calm-green:#2f7a54;
  --calm-red:#9c4f37;
  --calm-amber:#9a6400;
  --primary:#f7931e;
  --ring:#f4b767;
}
html{scroll-behavior:smooth}
body,.workspace,.mx-app,body .main{background:var(--calm-bg)!important;color:var(--calm-text)!important}

body .sidebar, .mx-sidebar{position:sticky!important;top:0!important;height:100vh!important;overflow-y:auto!important;scrollbar-width:thin}
body .topbar,.mx-topbar{position:sticky!important;top:0!important;z-index:40!important;background:rgba(255,255,255,.98)!important}
body .view{min-height:calc(100vh - 56px)!important}
body .app-shell{align-items:stretch!important}

body .sidebar .collapse-btn,body .sidebar-bottom>button,#mobileMenu{
  display:grid!important;place-items:center!important;min-width:36px!important;height:36px!important;
  font-size:14px!important;font-weight:700!important
}
#mobileMenu{border:1px solid var(--calm-line)!important;border-radius:6px!important;background:#fff!important;color:#38312c!important}
#mobileMenu svg{display:none!important}
#mobileMenu::before{content:'☰';font-size:14px!important;line-height:1!important}

body .sidebar .brand-logo{position:sticky!important;top:0!important;background:var(--calm-sidebar)!important;z-index:3!important}
body .area-switch-slot{position:sticky!important;top:66px!important;background:var(--calm-sidebar)!important;z-index:2!important;padding-bottom:10px!important}

body .legacy-top-actions{display:flex!important;align-items:center!important;gap:12px!important;margin-left:auto!important}
body .legacy-top-actions[aria-hidden=true]{display:flex!important}
body .search{display:flex!important;align-items:center!important;position:relative!important;min-width:280px!important;background:#fff!important;border:1px solid var(--calm-line)!important;padding:0 12px!important}
body .search input{width:100%!important;border:0!important;outline:none!important;background:transparent!important;color:#2b2826!important;padding:0!important}
body .search svg{width:16px!important;height:16px!important;color:#8a7d75!important}
body .notification-btn{width:36px!important;height:36px!important;border-radius:8px!important;border:1px solid var(--calm-line)!important;background:#fff!important;color:#3a312b!important}
body .header-quick{min-height:36px!important;border-radius:8px!important;padding:0 13px!important;background:var(--calm-accent)!important;border:1px solid var(--calm-accent)!important;color:#fff!important;font-size:12px!important;font-weight:700!important}
body .header-quick:hover{background:#e88614!important;border-color:#e88614!important}

.primary-button,.mx-button.primary,body .primary{background:var(--calm-accent)!important;border-color:var(--calm-accent)!important;color:#fff!important}
.primary-button:hover,.mx-button.primary:hover,body .primary:hover{background:#e88614!important;border-color:#e88614!important}
body .secondary,body .ghost,[data-variant=outline]{background:#fff!important;color:#332d29!important;border:1px solid var(--calm-line)!important}
body .secondary:hover,body .ghost:hover,[data-variant=outline]:hover{background:#fcf8f4!important;border-color:#dccdc1!important}
body .chip-btn,body .ticket-stage-btn,body .report-tab{background:#fff!important;border:1px solid var(--calm-line)!important;color:#534b46!important}
body .chip-btn.active,body .ticket-stage-btn.active,body .report-tab.active{background:var(--calm-accent-soft)!important;border-color:#f1bf85!important;color:#8a4a00!important;box-shadow:none!important}
body .ticket-stage-btn.active b,body .chip-btn.active b{color:#8a4a00!important}
body .filter-static,body .summary-pills-v217 span{background:#fff8f0!important;border-color:#f2d4ae!important;color:#8b4d08!important}
body .metric .metric-link{color:#ab5f09!important}
body .legends .legend i{background:var(--calm-accent)!important}
body .mx-expense-legend i,body .legend-dot.expense{background:#7e868d!important}

body .dashboard-main-grid,body .dashboard-main-v217,body .dashboard-bottom{display:none!important}
.mx-dashboard-priority-grid{display:grid!important;grid-template-columns:minmax(0,1.4fr) minmax(310px,.9fr)!important;gap:16px!important;margin:0 0 16px!important}
.mx-dashboard-secondary-grid{display:grid!important;grid-template-columns:minmax(0,1.45fr) minmax(300px,.75fr)!important;gap:16px!important;align-items:start!important}
.mx-priority-panel,.mx-priority-agenda,.mx-workshop-actions-aside .mx-quick-action{border-radius:10px!important}
.mx-day-breakdown-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;padding:18px!important}
.mx-day-breakdown-grid button{min-height:94px!important;padding:14px 16px!important;border:1px solid #eee2d6!important;border-radius:10px!important;background:#fffaf5!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:space-between!important}
.mx-day-breakdown-grid button:hover{background:#fff5ea!important;border-color:#f0c690!important}
.mx-day-breakdown-grid span{color:#705f55!important;font-size:12px!important}
.mx-day-breakdown-grid b{font-size:24px!important;color:#222!important}
.mx-priority-agenda .warehouse-list{margin-top:10px!important}
.mx-priority-agenda .warehouse-list button{display:flex!important;align-items:center!important;justify-content:space-between!important;width:100%!important;padding:11px 0!important;border:0!important;border-bottom:1px solid #f0e6df!important;background:none!important;text-align:left!important}
.mx-priority-agenda .warehouse-list button:last-child{border-bottom:0!important}
.mx-priority-agenda .warehouse-list b{color:#222!important}
.mx-priority-agenda .warehouse-list small{display:block!important;color:#7c716a!important;font-size:11px!important}
.mx-priority-agenda .warehouse-list strong{color:#4e463f!important;font-size:12px!important;font-weight:600!important}
.mx-workshop-actions-aside{display:flex!important;flex-direction:column!important;gap:12px!important}
.mx-workshop-actions-aside .mx-quick-actions-row{grid-template-columns:1fr!important}

body .ticket-stage-switch,body .ticket-stage-switch-v217{
  display:grid!important;grid-template-columns:repeat(auto-fit,minmax(145px,1fr))!important;gap:10px!important;
  width:100%!important;overflow:visible!important;padding:0!important
}
body .ticket-stage-switch::-webkit-scrollbar{display:none!important}
body .ticket-stage-btn{min-height:64px!important;border-radius:10px!important;padding:12px 14px!important;display:flex!important;justify-content:space-between!important;align-items:center!important}
body .ticket-stage-btn span{font-size:12px!important;font-weight:600!important}
body .ticket-stage-btn b{font-size:22px!important;font-weight:700!important;color:#232323!important}
body .ticket-page-head-v218{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:14px!important;align-items:start!important;margin-bottom:16px!important}
body .ticket-page-actions-v218{display:flex!important;gap:10px!important;align-items:center!important}
body .ticket-filter-panel-v217,body .emob-filter-panel{border-radius:10px!important}
body .emob-filter-grid{gap:14px!important}
body .ticket-result-heading-v218{display:flex!important;align-items:center!important;gap:10px!important;flex-wrap:wrap!important;margin:14px 0 10px!important;color:#625851!important}
body .ticket-result-heading-v218 b{font-size:14px!important;color:#232323!important}
body .ticket-result-heading-v218 span{display:inline-grid!important;place-items:center!important;min-width:22px!important;height:22px!important;padding:0 8px!important;border-radius:999px!important;background:#fff2e2!important;color:#8a4a00!important;font-size:11px!important;font-weight:700!important}
body .table-wrap{border-radius:10px!important;overflow:auto!important}
body .ticket-table-v218 thead th{position:sticky!important;top:0!important;background:#faf7f3!important;z-index:1!important}

body .agenda-toolbar-v218{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:12px!important;align-items:center!important;margin-bottom:16px!important}
body .chips-row{display:flex!important;flex-wrap:wrap!important;gap:10px!important;overflow:visible!important}
body .chips-row .chip-btn{min-height:38px!important;padding:0 14px!important;border-radius:10px!important}
body .calendar-switch-v218 button{min-width:40px!important}
body .agenda-layout-refined{grid-template-columns:minmax(0,1.55fr) minmax(280px,.75fr)!important;gap:16px!important}
body .agenda-calendar-panel,body .agenda-today-panel{border-radius:10px!important}
body .agenda-cells-v218 .calendar-day{min-height:134px!important;border-radius:10px!important}
body .agenda-cells-v218 .calendar-day.today{border-color:#f2c99c!important;background:#fffaf4!important}
body .agenda-cells-v218 .calendar-day.closed{background:#faf8f6!important}

body .global-search-results-v223{border:1px solid var(--calm-line)!important;border-radius:10px!important;background:#fff!important;box-shadow:0 14px 28px rgba(20,14,10,.08)!important}
body .global-search-results-v223 button{border-bottom:1px solid #f2ebe6!important}
body .global-search-results-v223 button:last-child{border-bottom:0!important}

body .panel,body .metric,body .review-card,body .inventory-overview,body .inventory-counts>button,body .chart-panel,body .metric-card,body .hero-panel,body .finance-card,body .stat-card-tight{border-color:var(--calm-line)!important}
body .panel-head h3,body .section-title h2{color:#232323!important}
body .page-heading p,body .panel-head p,body .section-title p{color:#746b65!important}
body .empty-state{color:#7a726c!important}

@media(max-width:1180px){
  body .sidebar{position:fixed!important;top:0!important;height:100vh!important}
  .mx-dashboard-priority-grid,.mx-dashboard-secondary-grid{grid-template-columns:1fr!important}
  body .page-heading{gap:10px!important}
}
@media(max-width:767px){
  body .topbar{height:62px!important}
  body .legacy-top-actions{gap:8px!important}
  body .search{min-width:0!important;flex:1!important}
  body .topbar-right{width:100%!important;justify-content:flex-end!important;gap:8px!important}
  .mx-day-breakdown-grid{grid-template-columns:1fr!important}
  body .ticket-page-head-v218,body .agenda-toolbar-v218{grid-template-columns:1fr!important}
  body .ticket-page-actions-v218,body .toolbar-actions{width:100%!important;display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important}
  body .heading-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important}
  body .heading-actions>*{flex:none!important}
  body .ticket-stage-switch,body .ticket-stage-switch-v217{grid-template-columns:1fr 1fr!important}
  body .agenda-layout-refined{grid-template-columns:1fr!important}
  body .agenda-cells-v218{display:grid!important;grid-template-columns:1fr!important;gap:10px!important}
  body .agenda-weekdays-v218{display:none!important}
  body .agenda-cells-v218 .calendar-day{min-height:100px!important}
  body .table-wrap{overflow:visible!important}
}
@media(max-width:560px){
  body .topbar{padding:0 12px!important}
  body .search{display:none!important}
  body .header-quick{padding:0 10px!important;font-size:11px!important}
  body .ticket-stage-switch,body .ticket-stage-switch-v217,body .heading-actions,body .ticket-page-actions-v218,body .toolbar-actions{grid-template-columns:1fr!important}
  body .metrics,body .mx-office-metrics{gap:12px!important;background:transparent!important;border:0!important}
  body .metric,body .mx-office-metrics .metric{border:1px solid var(--calm-line)!important;border-radius:10px!important}
}


.mx-sidebar{
  position:fixed!important;
  inset:0 auto 0 0!important;
  width:248px!important;
  height:100vh!important;
  overflow-y:auto!important;
  display:flex!important;
  flex-direction:column!important;
}
.mx-workspace{
  margin-left:248px!important;
  min-height:100vh!important;
  width:auto!important;
}
.mx-brand{position:static!important;background:transparent!important}
.mx-area{position:static!important;background:rgba(255,255,255,.08)!important}
.mx-login-brand img{display:block!important;width:190px!important;height:auto!important;object-fit:contain!important}
@media(max-width:780px){
  .mx-sidebar{position:fixed!important;inset:0 auto 0 0!important;transform:translateX(-100%)!important;width:248px!important}
  .mx-sidebar.open{transform:translateX(0)!important}
  .mx-workspace{margin-left:0!important}
}


body .mx-area-select{
  background:transparent!important;
  border:1px solid rgba(255,255,255,.18)!important;
  color:#fff!important;
  box-shadow:none!important;
}
body .mx-area-select option{background:#fff!important;color:#222!important}
@media(min-width:1181px){
  body .app-shell{grid-template-columns:224px minmax(0,1fr)!important}
  body .sidebar{width:224px!important;position:sticky!important;top:0!important;height:100vh!important;overflow-y:auto!important}
  body .sidebar.collapsed{width:0!important;min-width:0!important;padding:0!important;border:0!important;opacity:0!important;visibility:hidden!important;pointer-events:none!important;overflow:hidden!important}
  body .sidebar.collapsed>*{display:none!important}
  body .app-shell.sidebar-collapsed{grid-template-columns:0 minmax(0,1fr)!important}
}
@media(max-width:1180px){
  body .app-shell,body .app-shell.sidebar-collapsed{display:block!important;grid-template-columns:1fr!important}
  body .sidebar,body .sidebar.collapsed{position:fixed!important;left:0!important;top:0!important;bottom:0!important;z-index:80!important;width:min(286px,88vw)!important;height:100dvh!important;padding:18px 14px!important;transform:translateX(-105%)!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important;overflow:auto!important}
  body .sidebar.open{transform:translateX(0)!important}
  body .sidebar.collapsed>*{display:initial!important}
  body .sidebar.collapsed #nav,body .sidebar.collapsed .sidebar-bottom{display:grid!important}
  body .sidebar.collapsed .brand-logo-only,body .sidebar.collapsed .area-switch-slot{display:block!important}
}
body .mx-access-panel-v171 .panel-head{border-bottom:1px solid var(--calm-line)!important}
body .mx-access-table-v171 td,body .mx-access-table-v171 th{vertical-align:middle!important}
body .mx-access-table-v171 small{display:block!important;margin-top:3px!important;color:#847970!important;font-size:10px!important}
body .mx-message-metrics-v171{grid-template-columns:repeat(3,minmax(0,1fr))!important}
body .mx-message-panel-v171{overflow:hidden!important}
body .mx-message-panel-v171 .compact-item{border-bottom:1px solid #f0e7df!important;border-radius:0!important;background:#fff!important}
body .mx-message-panel-v171 .compact-item.unread{background:#fff8f0!important;border-left:3px solid var(--calm-accent)!important}
@media(max-width:767px){
  body .mx-message-metrics-v171{grid-template-columns:1fr!important}
  body .mx-access-table-v171 thead{display:none!important}
  body .mx-access-table-v171,body .mx-access-table-v171 tbody,body .mx-access-table-v171 tr,body .mx-access-table-v171 td{display:block!important;width:100%!important}
  body .mx-access-table-v171 tr{padding:12px 14px!important;border-bottom:1px solid var(--calm-line)!important}
  body .mx-access-table-v171 td{padding:4px 0!important;border:0!important}
}

.mx-brand img,body .brand-logo img{filter:none!important;opacity:1!important}


:root{
  --sidebar-w-v172:224px;
}

@media (min-width: 1181px){
  body .app-shell{display:grid!important;grid-template-columns:var(--sidebar-w-v172) minmax(0,1fr)!important;align-items:start!important}
  body .sidebar{position:fixed!important;left:0!important;top:0!important;bottom:0!important;width:var(--sidebar-w-v172)!important;height:100vh!important;overflow-y:auto!important;z-index:60!important}
  body .main{grid-column:2!important;min-width:0!important}
  body .sidebar.collapsed{transform:translateX(-105%)!important;opacity:0!important;visibility:hidden!important;pointer-events:none!important;width:0!important}
  body .app-shell.sidebar-collapsed{grid-template-columns:0 minmax(0,1fr)!important}
}

body #view{font-size:13px!important}
body .view{padding:18px 20px 24px!important}
body .page-heading{margin-bottom:16px!important;padding-bottom:12px!important}
body .page-heading h1{font-size:24px!important;line-height:1.15!important;margin:0 0 4px!important}
body .page-heading p, body .page-subtitle{font-size:12px!important;line-height:1.45!important}
body .toolbar, body .panel-head, body .section-title{padding:0!important}
body .panel, body .metric, body .inventory-overview, body .review-card, body .finance-card{border-radius:10px!important}
body .panel{padding:14px!important}
body .panel-head h3, body .section-title h2{font-size:16px!important;line-height:1.2!important}
body .panel-head p, body .section-title p{font-size:11px!important;margin-top:3px!important}
body .toolbar-actions, body .heading-actions, body .topbar-right{gap:10px!important}
body .primary, body .secondary, body .ghost, body .header-quick{min-height:38px!important;padding:0 14px!important;font-size:13px!important;border-radius:9px!important}
body .search{min-width:0!important;max-width:520px!important;width:min(520px,34vw)!important;height:40px!important;border-radius:9px!important;padding:0 10px 0 12px!important}
body .search input{font-size:13px!important;line-height:1.2!important}
body .search svg{width:14px!important;height:14px!important}
body .notification-btn{width:38px!important;height:38px!important;border-radius:9px!important}
body .global-search-results-v223{top:calc(100% + 6px)!important;max-height:260px!important;overflow:auto!important}
body .global-search-results-v223 button{padding:10px 12px!important}
body .global-search-results-v223 b{font-size:12px!important}.global-search-results-v223 small{font-size:10px!important}


body .metrics, body .mx-office-metrics{gap:0!important}
body .metric, body .mx-office-metrics .metric{min-height:104px!important;padding:14px 16px!important;border-radius:0!important}
body .metric:first-child{border-top-left-radius:10px!important;border-bottom-left-radius:10px!important}
body .metric:last-child{border-top-right-radius:10px!important;border-bottom-right-radius:10px!important}
body .metric strong{font-size:28px!important;line-height:1!important}
body .metric span, body .metric .metric-foot{font-size:11px!important}
.mx-dashboard-priority-grid,.mx-dashboard-secondary-grid{gap:14px!important}
.mx-day-breakdown-grid{padding:14px!important;gap:8px!important}
.mx-day-breakdown-grid button{min-height:74px!important;padding:10px 12px!important;border-radius:9px!important}
.mx-day-breakdown-grid span{font-size:11px!important}.mx-day-breakdown-grid b{font-size:20px!important}
.mx-priority-agenda .warehouse-list button{padding:9px 0!important}.mx-priority-agenda .warehouse-list strong{font-size:11px!important}
body .chart{height:260px!important}.chart-summary{padding-top:8px!important}.chart-summary span{font-size:11px!important}
.mx-workshop-actions-aside .mx-quick-action{padding:12px!important;min-height:72px!important}


body .ticket-stage-switch,body .ticket-stage-switch-v217{gap:8px!important;margin-bottom:12px!important;grid-template-columns:repeat(4,minmax(0,1fr))!important}
body .ticket-stage-btn{min-height:52px!important;padding:10px 12px!important;border-radius:9px!important;gap:10px!important}
body .ticket-stage-btn span{font-size:11px!important;font-weight:600!important}
body .ticket-stage-btn b{font-size:13px!important;min-width:24px!important;padding:4px 8px!important;border-radius:6px!important;background:#f1f3f4!important;color:#666!important}
body .ticket-stage-btn.active b{background:#ffe9cf!important;color:#8a4a00!important}
body .ticket-page-head-v218{margin-bottom:10px!important}
body .ticket-page-actions-v218 .primary,body .ticket-page-actions-v218 .secondary{min-height:40px!important}
body .ticket-filter-panel-v217, body .emob-filter-panel{padding:12px 14px!important;border-radius:10px!important}
body .emob-filter-grid{gap:10px!important}
body .emob-filter-grid label, body .field-group label{font-size:12px!important}
body .emob-filter-grid input, body .emob-filter-grid select, body .emob-filter-grid button{min-height:40px!important;border-radius:9px!important}
body .ticket-table-v218 th, body .ticket-table-v218 td, body .data-table th, body .data-table td{padding:11px 12px!important;font-size:12px!important}
body .ticket-table-v218 td b, body .data-table td b{font-size:12px!important}
body .ticket-table-v218 td small, body .data-table td small{font-size:10px!important}


body .client-detail-summary-v222{display:none!important}
body .client-detail-grid-v222{margin-top:0!important}


body .part-detail-v24015{gap:10px!important;max-width:1340px!important}
body .part-detail-head-v24015{border-radius:12px!important;padding:12px 14px!important;gap:12px!important}
body .part-detail-title-v24015 small{font-size:9px!important}
body .part-detail-title-v24015 h2{font-size:18px!important;line-height:1.15!important}
body .part-detail-title-v24015 span{font-size:11px!important}
body .part-detail-actions-v24015 .primary{min-height:38px!important}
body .part-more-menu-v24015 summary{width:38px!important;height:38px!important;border-radius:10px!important;font-size:18px!important}
body .part-kpis-v24015{gap:8px!important}
body .part-kpis-v24015 article{padding:10px 12px!important;border-radius:10px!important}
body .part-kpis-v24015 small{font-size:9px!important}.part-kpis-v24015 b{font-size:16px!important}
body .part-edit-panel-v24015,body .part-photos-v24015,body .part-history-panel-v24015{padding:14px!important}
body .part-edit-grid-v24015{gap:10px!important}
body .part-edit-grid-v24015 label>span{font-size:9px!important}
body .part-edit-grid-v24015 input{padding:9px 10px!important;border-radius:9px!important;min-height:38px!important;font-size:12px!important}
body .ticket-media-grid-v220 .photo-tile-v220, body .ticket-photo-area-v218{min-height:88px!important}
body .part-history-panel-v24015 .part-movement-v228{padding:8px 4px!important;font-size:12px!important}


body .report-selector-shell-v217{margin-bottom:10px!important;background:transparent!important;border:0!important;padding:0!important}
body .report-switch-v217{display:flex!important;gap:8px!important;flex-wrap:wrap!important;background:transparent!important;border:0!important;padding:0!important}
body .report-tab{min-height:38px!important;padding:0 14px!important;border-radius:9px!important;font-size:12px!important}
body .report-panel-v217{padding:14px!important}


body .inventory-counts{gap:0!important}
body .inventory-counts>button{padding:12px 14px!important}
body .inventory-counts strong{font-size:15px!important}
body .inventory-counts small{font-size:10px!important}
body .inventory-table-v24015 th,body .inventory-table-v24015 td{padding:9px 10px!important;font-size:12px!important}
body .inventory-main-v24015{padding:12px!important}


@media(max-width:1180px){
  body .ticket-stage-switch,body .ticket-stage-switch-v217{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body .search{width:100%!important;max-width:none!important}
}
@media(max-width:640px){
  body .view{padding:14px 12px 18px!important}
  body .page-heading h1{font-size:20px!important}
  body .metric, body .mx-office-metrics .metric{min-height:94px!important;padding:12px 13px!important}
  body .metric strong{font-size:24px!important}
  body .ticket-stage-switch,body .ticket-stage-switch-v217{grid-template-columns:1fr!important}
  body .part-detail-actions-v24015{width:100%!important;justify-content:stretch!important}
  body .part-detail-actions-v24015>*{flex:1!important}
}

/* v1.7.7 · acabado operativo */
:root{--calm-bg:#fff;--calm-surface:#fff;--calm-line:#e8e8e8;--calm-line-soft:#f2f2f2;--calm-text:#171717;--calm-muted:#6f6f6f;--calm-accent:#f7931e;--calm-accent-soft:#fff4e7}
html,body,.workspace,.main,.view,.mx-workspace,.mx-main{background:#fff!important}
body,button,input,select,textarea,table{font-family:Arial,Helvetica,sans-serif!important}
body{color:#171717!important}
body .panel,body .metric,body .review-card,body .inventory-overview,body .finance-card,body .ticket-detail-card-v218,body .detail-card{background:#fff!important;border-color:#e6e6e6!important;box-shadow:none!important}
body .data-table thead th,body .ticket-table-v218 thead th{background:#fafafa!important}
body input,body select,body textarea{background:#fff!important;border-color:#dcdcdc!important;color:#171717!important}
body .empty-state{background:#fff!important;color:#777!important}

/* cinco fases visibles */
body .ticket-stage-switch,body .ticket-stage-switch-v217{grid-template-columns:repeat(5,minmax(0,1fr))!important;width:100%!important;overflow:visible!important}
body .ticket-stage-btn{min-width:0!important;min-height:46px!important;padding:9px 11px!important;background:#fff!important;border:1px solid #e2e2e2!important}
body .ticket-stage-btn.active{background:#fff8ef!important;border-color:#f6b45d!important;color:#8a4900!important}
body .ticket-stage-btn b{background:transparent!important;padding:0!important;min-width:auto!important;font-size:12px!important;color:#666!important}
body .ticket-stage-btn.active b{color:#8a4900!important}

/* agenda operativa */
.agenda-summary-v177{display:flex;gap:22px;align-items:center;flex-wrap:wrap;margin:0 0 12px;padding:10px 0;border-bottom:1px solid #ececec;color:#666;font-size:12px}.agenda-summary-v177 b{color:#171717;font-size:15px;margin-right:3px}.mx-agenda-today-list-v177{display:grid;gap:8px}.mx-appt-row-v177{border:1px solid #e7e7e7;border-radius:8px;padding:10px 11px;display:grid;gap:9px;background:#fff;cursor:pointer}.mx-appt-row-v177>div:first-child{display:grid;grid-template-columns:auto 1fr;gap:4px 10px;align-items:center}.mx-appt-row-v177 strong{font-size:12px}.mx-appt-row-v177 small{grid-column:1/-1;color:#777}.mx-appt-actions-v177{display:flex;gap:6px;flex-wrap:wrap}.mx-appt-actions-v177 .small-btn{min-height:30px!important;padding:0 9px!important;font-size:10px!important}.mx-appt-status-v177{font-size:11px;color:#777}

/* cliente por pestañas */
.mx-client-detail-v177{display:grid;gap:12px}.mx-client-tabs-v177{display:flex;gap:4px;border-bottom:1px solid #e5e5e5}.mx-client-tabs-v177 button{border:0;background:transparent;padding:10px 14px;color:#666;font-weight:600;cursor:pointer;border-bottom:2px solid transparent}.mx-client-tabs-v177 button.active{color:#111;border-bottom-color:#f7931e}.mx-client-info-clean-v177{grid-template-columns:repeat(3,minmax(0,1fr))!important}.mx-client-money-v177{display:flex;gap:16px;align-items:center;font-size:11px;color:#666}.mx-client-money-v177 b{color:#111}

/* pago siempre visible */
.mx-pay-anytime-v177{white-space:nowrap}

/* dashboard simple */
.mx-dash-strip-v177{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid #e8e8e8;border-radius:8px;overflow:hidden;margin-bottom:14px}.mx-dash-strip-v177 button{background:#fff;border:0;border-right:1px solid #ececec;padding:13px 15px;text-align:left;display:grid;gap:3px;cursor:pointer}.mx-dash-strip-v177 button:last-child{border-right:0}.mx-dash-strip-v177 span{font-size:11px;color:#666}.mx-dash-strip-v177 b{font-size:22px;color:#171717}.mx-dash-strip-v177 small{font-size:10px;color:#888}.mx-dash-main-v177{display:grid;grid-template-columns:1.4fr .8fr;gap:14px;margin-bottom:14px}.mx-cash-row-v177{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-top:1px solid #eee}.mx-cash-row-v177 button{background:#fff;border:0;border-right:1px solid #eee;padding:12px;text-align:left;display:grid;gap:3px;cursor:pointer}.mx-cash-row-v177 button:last-child{border-right:0}.mx-cash-row-v177 span{font-size:10px;color:#777}.mx-cash-row-v177 b{font-size:15px}.mx-dash-agenda-v177{display:grid;gap:0}.mx-dash-agenda-v177 button{border:0;border-bottom:1px solid #eee;background:#fff;padding:9px 0;display:grid;grid-template-columns:60px 1fr;gap:2px 8px;text-align:left;cursor:pointer}.mx-dash-agenda-v177 button:last-child{border-bottom:0}.mx-dash-agenda-v177 b{font-size:12px}.mx-dash-agenda-v177 span{font-size:12px}.mx-dash-agenda-v177 small{grid-column:2;color:#777;font-size:10px}.mx-dash-chart-v177 .chart{height:245px!important}.mx-chart-foot-v177{display:flex;gap:30px;border-top:1px solid #eee;padding-top:10px;font-size:11px;color:#777}.mx-chart-foot-v177 b{color:#222;margin-left:4px}

/* inventario */
body .part-kpis-v24015 article{min-height:66px!important;padding:9px 12px!important}.part-kpis-v24015 b{font-size:15px!important}.part-detail-title-v24015 h2{font-size:17px!important}.part-edit-panel-v24015,.part-photos-v24015,.part-history-panel-v24015{padding:12px!important}

@media(max-width:1000px){body .ticket-stage-switch,body .ticket-stage-switch-v217{grid-template-columns:repeat(3,minmax(0,1fr))!important}.mx-dash-strip-v177{grid-template-columns:repeat(2,1fr)}.mx-dash-main-v177{grid-template-columns:1fr}.mx-client-info-clean-v177{grid-template-columns:repeat(2,1fr)!important}}
@media(max-width:640px){body .ticket-stage-switch,body .ticket-stage-switch-v217{grid-template-columns:1fr 1fr!important}.mx-dash-strip-v177{grid-template-columns:1fr 1fr}.mx-cash-row-v177{grid-template-columns:1fr 1fr}.mx-client-tabs-v177{overflow-x:auto}.mx-client-info-clean-v177{grid-template-columns:1fr!important}.mx-chart-foot-v177{flex-direction:column;gap:5px}}
