.mg-shell,.mg-dialog{--radius:.5rem;--background:oklch(97.6% .003 155);--foreground:oklch(25% .012 160);--card:oklch(100% 0 0);--card-foreground:var(--foreground);--popover:var(--card);--popover-foreground:var(--foreground);--primary:oklch(46% .115 166);--primary-foreground:oklch(99% 0 0);--secondary:oklch(94% .025 164);--secondary-foreground:oklch(36% .07 164);--muted:oklch(95.6% .005 160);--muted-foreground:oklch(52% .012 160);--accent:oklch(92% .05 86);--accent-foreground:oklch(40% .07 75);--border:oklch(90% .006 160);--input:var(--border);--ring:var(--primary);--forest:var(--primary);--forest-deep:oklch(22% .009 160);--cream:var(--primary-foreground);--gold:var(--accent);--ink:var(--accent-foreground);--admin-nav-text:oklch(86% .012 160);--admin-overlay:oklch(15% .009 160/.45);font-family:var(--font-body);letter-spacing:0;color:var(--foreground);background:var(--background)}.mg-shell{--admin-width:300px}.mg-shell.mg-collapsed{--admin-width:76px}.mg-shell .mg-sidebar{width:var(--admin-width);background:var(--forest-deep);color:var(--admin-nav-text);z-index:50;padding:0;transition:width .18s}.mg-shell .mg-brand{border-bottom:1px solid color-mix(in oklch, var(--admin-nav-text) 14%, transparent);flex-shrink:0;align-items:center;gap:12px;height:76px;padding:12px 24px;display:flex}.mg-shell .mg-brand img{object-fit:contain;flex-shrink:0;width:36px;height:36px}.mg-brand-name{color:var(--primary-foreground);font-size:18px;font-weight:700}.mg-shell .mg-brand small{color:var(--admin-nav-text);opacity:.65;margin-top:2px;font-size:12px}.mg-shell .mg-sidebar nav{gap:5px;padding:22px 12px;overflow-y:auto}.mg-nav-group{color:var(--admin-nav-text);opacity:.5;padding:0 12px 9px;font-size:11px}.mg-shell .mg-nav{height:52px;color:var(--admin-nav-text);border-radius:6px;flex-shrink:0;gap:12px;padding:0 16px;font-size:16px;font-weight:500}.mg-shell .mg-nav svg{flex-shrink:0;width:18px;height:18px}.mg-shell .mg-nav:hover{background:color-mix(in oklch, var(--admin-nav-text) 10%, transparent)!important;color:var(--primary-foreground)!important}.mg-shell .mg-nav-active,.mg-shell .mg-nav-active:hover{background:var(--primary)!important;color:var(--primary-foreground)!important}.mg-shell .mg-sidebar-bottom{border-top:1px solid color-mix(in oklch, var(--admin-nav-text) 14%, transparent);padding:12px}.mg-shell .mg-workspace{width:calc(100% - var(--admin-width));margin-left:var(--admin-width);flex-direction:column;min-height:100vh;transition:margin-left .18s,width .18s;display:flex}.mg-shell .mg-topbar{z-index:30;background:var(--card);flex-shrink:0;position:sticky;top:0;height:80px!important;padding:0 40px!important}.mg-topbar-left,.mg-topbar-right{align-items:center;gap:12px;min-width:0;display:flex}.mg-breadcrumb{white-space:nowrap;align-items:center;gap:16px;font-size:16px;display:flex}.mg-breadcrumb>span{color:var(--muted-foreground)}.mg-shell .mg-role{color:var(--muted-foreground);font-size:13px}.mg-identity{align-items:center;gap:10px;display:flex}.mg-identity-icon{background:var(--secondary);width:42px;height:42px;color:var(--secondary-foreground);border-radius:50%;place-items:center;font-size:14px;font-weight:600;display:grid}.mg-identity strong{font-size:16px;font-weight:600}.mg-shell .mg-main{flex:1;width:100%;padding:40px}.mg-workspace-footer{border-top:1px solid var(--border);color:var(--muted-foreground);justify-content:space-between;gap:12px;padding:16px 28px;font-size:11px;display:flex}.mg-shell .mg-heading h1{font-size:30px;line-height:1.35}.mg-shell .mg-heading p{margin-top:12px;font-size:15px;line-height:1.6}.mg-shell .mg-stats{gap:16px;margin-bottom:28px}.mg-shell .mg-stats>div{border-radius:6px;padding:20px;position:relative}.mg-shell .mg-stats span{padding-right:26px;font-size:13px}.mg-shell .mg-stats strong{font-variant-numeric:tabular-nums;font-size:28px}.mg-stat-icon{width:18px;height:18px;color:var(--primary);position:absolute;top:20px;right:18px}.mg-shell .mg-filters{border-top:0;grid-template-columns:minmax(260px,2.6fr) minmax(150px,1fr) minmax(150px,.8fr) minmax(150px,.8fr);align-items:end;gap:16px;margin-bottom:0;padding:24px 0}.mg-shell .mg-table{font-size:15px}.mg-shell .mg-table th{text-transform:uppercase;white-space:nowrap;padding:18px 20px;font-size:12px;font-weight:600}.mg-shell .mg-table td{vertical-align:middle;padding:24px 20px}.mg-shell .mg-table td b{font-weight:600}.mg-shell .mg-table td small{color:var(--muted-foreground)}.mg-shell .mg-table td .mg-warning{color:var(--destructive)}.mg-shell .mg-table tr:last-child td{border-bottom:0}.mg-shell input[type=checkbox]{accent-color:var(--primary);width:15px;height:15px}.mg-shell .mg-status{padding:4px 9px;font-size:12px}.mg-shell .mg-status-new{background:var(--accent);color:var(--accent-foreground)}.mg-shell .mg-status-confirmed,.mg-shell .mg-status-shipped,.mg-shell .mg-status-delivered{background:var(--secondary);color:var(--secondary-foreground)}.mg-shell .mg-settings{max-width:1100px}.mg-shell .mg-settings section{padding:24px 0}.mg-shell .mg-settings h2{font-size:19px}.mg-product-tools{grid-template-columns:2fr 1fr 1fr!important}.mg-product-name{align-items:center;gap:14px;min-width:240px;max-width:460px;display:flex}.mg-product-name img{object-fit:contain;border:1px solid var(--border);background:var(--card);border-radius:4px;flex-shrink:0;width:90px;height:60px}.mg-product-name h2{overflow-wrap:anywhere;font-size:14px;font-weight:600;line-height:1.5}.mg-product-name p{color:var(--muted-foreground);overflow-wrap:anywhere;margin-top:3px;font-size:12px;line-height:1.5}.mg-product-prices{white-space:nowrap}.mg-product-prices s{color:var(--muted-foreground);font-size:12px}.mg-shell .mg-desktop-toggle{display:inline-flex}.mg-sidebar-close{display:none!important}.mg-mobile-backdrop{display:none}.mg-nav-separated{margin-top:24px}.mg-global-search{background:var(--muted);width:260px;color:var(--muted-foreground);border-radius:8px;align-items:center;gap:10px;padding:0 16px;display:flex}.mg-global-search input{box-shadow:none;background:0 0;border:0;min-width:0;height:46px;padding:0;font-size:16px}.mg-shell .mg-order-tabs{border-bottom:1px solid var(--border);gap:10px;margin-top:24px;padding:12px 0 10px;display:flex}.mg-shell .mg-order-tabs button{gap:10px;height:46px;padding:0 20px;font-size:16px}.mg-shell .mg-tab-active{color:var(--primary-foreground);background:var(--primary)}.mg-shell .mg-date-label{color:var(--muted-foreground);gap:7px;font-size:13px;display:grid}.mg-shell .mg-filters input,.mg-shell .mg-filters select{height:46px;font-size:15px}.mg-shell .mg-filters>label:first-child svg{top:auto;bottom:15px}.mg-shell .mg-orders-table{min-width:1120px}.mg-shell .mg-order-id{color:var(--primary);margin-bottom:10px;display:block}.mg-shell .mg-customer-name{margin-bottom:5px;font-size:16px;display:block}.mg-shell .mg-table td a{color:var(--muted-foreground);font-size:13px}.mg-shell .mg-order-product{min-width:230px;max-width:320px;line-height:1.6}.mg-shell .mg-table td small{margin-top:5px;font-size:12px}.mg-row-actions{white-space:nowrap;align-items:center;gap:6px;display:flex}.mg-overview-section{border-top:1px solid var(--border);padding:28px 0}.mg-overview-section h2{margin-bottom:24px;font-size:20px;font-weight:600}.mg-chart{grid-template-columns:repeat(7,minmax(0,1fr));gap:16px;display:grid}.mg-chart>div{text-align:center;gap:14px;display:grid}.mg-chart meter{width:100%;height:32px;accent-color:var(--primary)}.mg-chart meter::-webkit-meter-bar{background:var(--muted);border:0}.mg-chart meter::-webkit-meter-optimum-value{background:var(--primary)}.mg-summary-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:20px;display:grid}.mg-summary-grid>div{gap:12px;display:grid}.mg-summary-grid strong{font-size:26px}.mg-notice{color:var(--muted-foreground);padding:16px 0 24px}.mg-profile-details{grid-template-columns:160px 1fr;gap:20px;display:grid}.mg-profile-details dt{color:var(--muted-foreground)}.mg-dialog label.flex,.mg-settings label.flex{display:flex}.mg-photos{min-width:0}.mg-photo-heading{justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;display:flex}.mg-photo-heading h2{font-size:16px;font-weight:600}.mg-photo-heading span,.mg-photo-drop p{color:var(--muted-foreground);font-size:12px}.mg-photo-drop{border:1px dashed var(--border);background:var(--muted);border-radius:6px;flex-wrap:wrap;justify-content:center;align-items:center;gap:12px;padding:20px;display:flex}.mg-photo-drop p{text-align:center;flex-basis:100%}.mg-photo-grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;margin-top:16px;display:grid}.mg-photo-item{border:1px solid var(--border);background:var(--card);border-radius:6px;min-width:0;padding:8px}.mg-dialog .mg-photo-item img{aspect-ratio:3/2;object-fit:contain;width:100%;height:auto;margin-bottom:8px}.mg-photo-item>button{width:100%;font-size:12px}.mg-photo-actions{justify-content:space-between;margin-top:4px;display:flex}@media (width>=1024px) and (width<=1399px){.mg-shell{--admin-width:260px}.mg-shell.mg-collapsed{--admin-width:76px}.mg-shell .mg-main{padding:32px 24px}.mg-shell .mg-topbar{padding:0 24px!important}.mg-global-search{width:190px}.mg-shell .mg-filters{grid-template-columns:2fr 1fr}}.mg-collapsed .mg-brand{padding:16px 20px}.mg-collapsed .mg-nav-label,.mg-collapsed .mg-brand-copy,.mg-collapsed .mg-nav-group{display:none}.mg-collapsed .mg-nav{padding:0;justify-content:center!important}@media (width<=1023px){.mg-shell .mg-sidebar{width:260px;transition:transform .18s;transform:translate(-100%)}.mg-shell .mg-sidebar-open{box-shadow:none;transform:translate(0)}.mg-shell .mg-workspace{width:100%;margin-left:0}.mg-shell .mg-menu{display:inline-flex!important}.mg-shell .mg-desktop-toggle{display:none}.mg-collapsed .mg-nav-label,.mg-collapsed .mg-brand-copy,.mg-collapsed .mg-nav-group{display:block}.mg-collapsed .mg-nav{padding:0 12px;justify-content:flex-start!important}.mg-sidebar-close{color:var(--admin-nav-text);margin-left:auto;display:inline-flex!important}.mg-mobile-backdrop{z-index:40;background:var(--admin-overlay);display:block;position:fixed;inset:0}.mg-shell .mg-topbar{padding:0 16px!important}.mg-shell .mg-filters{grid-template-columns:2fr 1fr}.mg-global-search{width:200px}.mg-shell .mg-main{padding:28px 24px}}@media (width<=600px){.mg-shell .mg-main{padding:22px 14px}.mg-shell .mg-topbar{gap:6px}.mg-breadcrumb>span,.mg-breadcrumb>svg,.mg-identity strong,.mg-identity .mg-role{display:none}.mg-topbar-left,.mg-topbar-right{gap:6px}.mg-shell .mg-heading{flex-wrap:wrap;margin-bottom:16px}.mg-shell .mg-heading h1{font-size:23px}.mg-shell .mg-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.mg-shell .mg-stats>div{min-width:0;padding:14px}.mg-shell .mg-stats span{padding-right:18px;font-size:12px}.mg-shell .mg-stats strong{overflow-wrap:anywhere;font-size:23px}.mg-stat-icon{width:15px;height:15px;top:14px;right:12px}.mg-shell .mg-filters,.mg-shell .mg-product-tools{grid-template-columns:repeat(2,minmax(0,1fr))!important}.mg-workspace-footer{padding:14px;font-size:10px}.mg-shell .mg-settings h2{font-size:18px}.mg-global-search{display:none}.mg-shell .mg-order-tabs button{padding:0 12px;font-size:14px}.mg-shell .mg-filters>label:first-child,.mg-shell .mg-filters>select{grid-column:1/-1}.mg-shell .mg-filters,.mg-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mg-profile-details{grid-template-columns:110px 1fr}.mg-chart{gap:6px}}@media print{body:has(.mg-order-dialog) .mg-shell{display:none}.mg-order-dialog{max-width:none!important;max-height:none!important;box-shadow:none!important;border:0!important;position:static!important;overflow:visible!important;transform:none!important}.mg-order-dialog button,.mg-order-dialog .delivery-editor,.mg-order-dialog .mg-order-edit{display:none!important}}@media (prefers-reduced-motion:reduce){.mg-shell .mg-sidebar,.mg-shell .mg-workspace{transition:none}}
