:root{--bg:#f5f7fb;--panel:#fff;--ink:#101828;--muted:#667085;--line:#e8ecf2;--nav:#0b1220;--nav2:#111a2c;--accent:#2563eb;--accent2:#4f46e5;--green:#16a34a;--amber:#d97706;--red:#dc2626;--cyan:#0891b2;--shadow:0 12px 30px rgba(16,24,40,.07);--radius:18px;--radius-sm:12px}*{box-sizing:border-box}html{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;color:var(--ink);background:var(--bg)}body{margin:0;background:var(--bg)}a{text-decoration:none;color:inherit}button,input,select,textarea{font:inherit}.app-shell{min-height:100vh}.sidebar{position:fixed;left:0;top:0;bottom:0;width:248px;background:linear-gradient(180deg,var(--nav),#0f172a);padding:22px 16px 18px;color:#cbd5e1;display:flex;flex-direction:column;z-index:30}.brand{display:flex;gap:11px;align-items:center;color:#fff;padding:2px 7px 24px}.brand-mark{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:linear-gradient(135deg,#fff,#dbeafe);color:#0f172a;font-weight:900;font-size:13px;letter-spacing:.08em;box-shadow:inset 0 0 0 1px rgba(255,255,255,.65),0 8px 20px rgba(37,99,235,.15)}.brand strong{display:block;font-size:16px;letter-spacing:.02em}.brand small{display:block;color:#94a3b8;margin-top:3px;font-size:11px}.side-nav{display:flex;flex-direction:column;gap:5px}.nav-section{font-size:10px;letter-spacing:.16em;font-weight:800;color:#64748b;margin:19px 10px 7px}.nav-item{display:flex;align-items:center;gap:12px;padding:11px 12px;border-radius:12px;font-size:14px;font-weight:650;color:#aeb9ca;transition:.2s}.nav-item svg{width:20px;height:20px}.nav-item:hover{background:rgba(255,255,255,.055);color:#fff}.nav-item.active{background:linear-gradient(135deg,rgba(37,99,235,.3),rgba(79,70,229,.18));color:#fff;box-shadow:inset 0 0 0 1px rgba(96,165,250,.22)}.side-profile{margin-top:auto;border-top:1px solid rgba(255,255,255,.08);padding:16px 5px 0;display:flex;align-items:center;gap:10px}.avatar,.top-avatar{display:grid;place-items:center;border-radius:50%;font-weight:800}.avatar{width:37px;height:37px;background:#1e293b;color:#fff;border:1px solid #334155}.profile-copy{min-width:0;flex:1}.profile-copy strong,.profile-copy small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.profile-copy strong{font-size:13px;color:#fff}.profile-copy small{font-size:11px;color:#94a3b8;margin-top:3px}.icon-btn{width:36px;height:36px;display:grid;place-items:center;border-radius:10px}.icon-btn:hover{background:#1e293b}.icon-btn svg{width:18px;height:18px}.main{margin-left:248px;min-height:100vh}.topbar{height:72px;position:sticky;top:0;z-index:20;background:rgba(255,255,255,.92);backdrop-filter:blur(12px);border-bottom:1px solid rgba(232,236,242,.9);display:flex;align-items:center;padding:0 28px;gap:20px}.mobile-brand{display:none}.global-search-wrap{position:relative;width:min(520px,55vw)}.global-search-wrap input{width:100%;height:42px;border:1px solid var(--line);background:#f8fafc;border-radius:12px;padding:0 15px 0 42px;outline:none;transition:.2s}.global-search-wrap input:focus{background:#fff;border-color:#bfdbfe;box-shadow:0 0 0 4px #eff6ff}.search-icon{position:absolute;left:14px;top:50%;transform:translateY(-50%);color:#98a2b3;display:flex}.search-icon svg{width:18px;height:18px}.global-results{display:none;position:absolute;left:0;right:0;top:49px;background:#fff;border:1px solid var(--line);border-radius:15px;box-shadow:0 20px 45px rgba(16,24,40,.14);overflow:hidden;max-height:420px;overflow-y:auto}.global-results.show{display:block}.search-group-title{font-size:10px;font-weight:850;letter-spacing:.12em;color:#98a2b3;padding:12px 14px 7px}.search-row{display:flex;justify-content:space-between;gap:12px;padding:10px 14px;border-top:1px solid #f1f3f6}.search-row:hover{background:#f8fafc}.search-row strong{font-size:13px}.search-row small{color:var(--muted)}.top-actions{margin-left:auto;display:flex;align-items:center;gap:13px}.top-date{display:flex;gap:8px;align-items:center;color:var(--muted);font-size:12px;font-weight:650}.top-date svg{width:17px}.top-avatar{width:38px;height:38px;background:linear-gradient(135deg,#e0e7ff,#dbeafe);color:#3730a3;font-size:12px;border:1px solid #c7d2fe}.content{padding:28px 30px 96px;max-width:1540px;margin:auto}.page-head{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:22px}.eyebrow{font-size:11px;font-weight:850;letter-spacing:.13em;color:#2563eb;text-transform:uppercase}.page-head h1{margin:5px 0 6px;font-size:27px;letter-spacing:-.03em}.page-head p{margin:0;color:var(--muted);font-size:13px}.actions{display:flex;gap:9px;flex-wrap:wrap}.btn{border:0;border-radius:11px;padding:10px 14px;font-weight:750;display:inline-flex;align-items:center;justify-content:center;gap:8px;cursor:pointer;transition:.18s}.btn svg{width:17px;height:17px}.btn:hover{transform:translateY(-1px)}.btn-primary{color:#fff;background:linear-gradient(135deg,#2563eb,#4f46e5);box-shadow:0 8px 18px rgba(37,99,235,.2)}.btn-dark{background:#101828;color:#fff}.btn-soft{background:#eef2ff;color:#3730a3}.btn-light{background:#fff;border:1px solid var(--line);color:#344054}.btn-danger{background:#fee2e2;color:#b91c1c}.btn-lg{padding:13px 17px;border-radius:13px}.w-full{width:100%}.grid{display:grid;gap:16px}.kpi-grid{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:17px}.kpi{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);padding:18px;box-shadow:0 2px 4px rgba(16,24,40,.02);position:relative;overflow:hidden;min-height:125px}.kpi:after{content:"";position:absolute;right:-22px;top:-22px;width:85px;height:85px;border-radius:50%;background:var(--kpi-soft,#eff6ff)}.kpi-top{display:flex;justify-content:space-between;align-items:center;position:relative;z-index:1}.kpi-label{font-size:12px;color:var(--muted);font-weight:700}.kpi-icon{width:34px;height:34px;border-radius:10px;background:var(--kpi-soft,#eff6ff);color:var(--kpi-color,#2563eb);display:grid;place-items:center}.kpi-icon svg{width:18px}.kpi-value{font-size:26px;font-weight:850;letter-spacing:-.04em;margin:12px 0 6px;position:relative;z-index:1}.kpi-foot{font-size:11px;color:#98a2b3;position:relative;z-index:1}.kpi.blue{--kpi-soft:#eff6ff;--kpi-color:#2563eb}.kpi.amber{--kpi-soft:#fff7ed;--kpi-color:#d97706}.kpi.red{--kpi-soft:#fff1f2;--kpi-color:#e11d48}.kpi.green{--kpi-soft:#ecfdf3;--kpi-color:#16a34a}.dash-grid{grid-template-columns:1.15fr .85fr;margin-bottom:16px}.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 3px 8px rgba(16,24,40,.025)}.card-pad{padding:19px}.card-title{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px}.card-title h2{font-size:15px;margin:0}.card-title p{margin:4px 0 0;color:var(--muted);font-size:11px}.link{font-size:12px;color:#2563eb;font-weight:750}.quick-grid{grid-template-columns:repeat(5,1fr)}.quick-action{border:1px solid var(--line);background:#fff;border-radius:15px;padding:14px;display:flex;align-items:center;gap:11px;transition:.18s}.quick-action:hover{border-color:#c7d2fe;box-shadow:0 8px 18px rgba(37,99,235,.07);transform:translateY(-2px)}.quick-icon{width:38px;height:38px;border-radius:12px;background:#f1f5f9;display:grid;place-items:center;color:#334155}.quick-icon svg{width:19px}.quick-action strong{display:block;font-size:12px}.quick-action small{display:block;color:#98a2b3;font-size:10px;margin-top:3px}.recent-grid{grid-template-columns:1fr 1fr}.latest-card{padding:18px;position:relative;overflow:hidden}.latest-card:before{content:"";position:absolute;width:110px;height:110px;border-radius:50%;right:-45px;bottom:-55px;background:#f8fafc}.latest-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:13px}.latest-head span{font-size:10px;font-weight:850;letter-spacing:.12em;color:#98a2b3}.status{display:inline-flex;align-items:center;padding:5px 9px;border-radius:999px;font-size:10px;font-weight:800;text-transform:capitalize}.status.success{background:#dcfce7;color:#15803d}.status.warning{background:#ffedd5;color:#b45309}.status.danger{background:#fee2e2;color:#b91c1c}.status.info{background:#e0f2fe;color:#0369a1}.status.neutral{background:#f1f5f9;color:#475569}.latest-name{font-size:16px;font-weight:800;margin-bottom:5px}.latest-meta{font-size:12px;color:var(--muted);line-height:1.7}.activity-list{display:flex;flex-direction:column}.activity{display:grid;grid-template-columns:11px 1fr auto;gap:10px;align-items:start;padding:10px 0;border-bottom:1px solid #f1f3f6}.activity:last-child{border-bottom:0}.activity-dot{width:8px;height:8px;border-radius:50%;background:#94a3b8;margin-top:5px;box-shadow:0 0 0 4px #f1f5f9}.activity strong{font-size:12px;display:block}.activity small{font-size:10px;color:#98a2b3}.activity time{font-size:10px;color:#98a2b3;white-space:nowrap}.chart-wrap{height:190px;position:relative}.chart-wrap canvas{width:100%;height:100%}.module-hero{background:linear-gradient(135deg,#0f172a,#172554);color:#fff;border-radius:22px;padding:22px;display:flex;justify-content:space-between;align-items:center;gap:20px;overflow:hidden;position:relative;margin-bottom:17px}.module-hero:after{content:"";position:absolute;width:240px;height:240px;border-radius:50%;right:-90px;top:-120px;background:radial-gradient(circle,rgba(96,165,250,.22),rgba(96,165,250,0))}.module-hero h1{margin:4px 0 6px;font-size:24px}.module-hero p{margin:0;color:#b8c3d7;font-size:12px}.module-actions{display:flex;gap:9px;position:relative;z-index:1;flex-wrap:wrap}.module-actions .btn-light{background:rgba(255,255,255,.1);border-color:rgba(255,255,255,.15);color:#fff}.section-grid{grid-template-columns:1fr 1fr}.form-card{padding:20px}.section-title{display:flex;gap:11px;align-items:flex-start;margin-bottom:18px}.section-no{width:30px;height:30px;border-radius:9px;background:#eef2ff;color:#4338ca;display:grid;place-items:center;font-size:11px;font-weight:850;flex:0 0 auto}.section-title h3{font-size:14px;margin:1px 0 3px}.section-title p{font-size:11px;color:var(--muted);margin:0}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.form-grid.three{grid-template-columns:repeat(3,1fr)}.field{display:block}.field>span{display:block;font-size:11px;font-weight:750;color:#475467;margin:0 0 6px}.field input,.field select,.field textarea,.input{width:100%;border:1px solid #dfe4ea;border-radius:11px;background:#fff;min-height:42px;padding:9px 11px;color:#101828;outline:none;transition:.18s}.field textarea{min-height:88px;resize:vertical}.field input:focus,.field select:focus,.field textarea:focus,.input:focus{border-color:#93c5fd;box-shadow:0 0 0 4px #eff6ff}.field .hint{font-size:10px;color:#98a2b3;margin-top:5px}.span-2{grid-column:span 2}.span-3{grid-column:span 3}.search-picker{position:relative}.picker-results{display:none;position:absolute;top:71px;left:0;right:0;z-index:12;background:#fff;border:1px solid var(--line);border-radius:13px;box-shadow:var(--shadow);max-height:260px;overflow:auto}.picker-results.show{display:block}.picker-row{padding:10px 12px;border-bottom:1px solid #f1f3f6;cursor:pointer}.picker-row:hover{background:#f8fafc}.picker-row strong{font-size:12px}.picker-row small{display:block;color:#667085;font-size:10px;margin-top:3px}.selected-customer{display:none;border:1px solid #c7d2fe;background:#f5f7ff;border-radius:13px;padding:12px;margin-top:10px}.selected-customer.show{display:flex;justify-content:space-between;gap:10px}.selected-customer strong{font-size:12px}.selected-customer small{font-size:10px;color:#667085;display:block;margin-top:3px}.table-card{overflow:hidden}.table-toolbar{padding:15px;border-bottom:1px solid var(--line);display:flex;gap:10px;flex-wrap:wrap;align-items:flex-end}.table-wrap{overflow:auto}.table{width:100%;border-collapse:collapse;min-width:780px}.table th{background:#f8fafc;color:#667085;font-size:10px;text-align:left;letter-spacing:.04em;text-transform:uppercase;padding:11px 13px;border-bottom:1px solid var(--line);white-space:nowrap}.table td{padding:12px 13px;border-bottom:1px solid #f1f3f6;font-size:12px;vertical-align:middle}.table tr:hover td{background:#fcfcfd}.table td strong{font-size:12px}.muted{color:var(--muted)}.small{font-size:10px}.empty{padding:46px 18px;text-align:center;color:#98a2b3}.empty strong{display:block;color:#475467;margin-bottom:6px}.pagination{display:flex;gap:6px;justify-content:flex-end;padding:14px}.page-link{min-width:35px;height:35px;border:1px solid var(--line);border-radius:9px;display:grid;place-items:center;font-size:11px;background:#fff}.page-link.current{background:#111827;color:#fff;border-color:#111827}.order-builder{grid-template-columns:.78fr 1.22fr;align-items:start}.sticky-card{position:sticky;top:90px}.cart-empty{padding:34px 10px;text-align:center;color:#98a2b3;font-size:11px}.cart-list{display:flex;flex-direction:column;gap:9px}.cart-row{border:1px solid var(--line);border-radius:13px;padding:11px}.cart-row-top{display:flex;justify-content:space-between;gap:12px}.cart-row strong{font-size:12px}.cart-row small{display:block;color:#667085;font-size:10px;margin-top:3px}.cart-controls{display:grid;grid-template-columns:90px 110px 1fr auto;gap:8px;align-items:end;margin-top:10px}.cart-controls label span{display:block;font-size:9px;font-weight:750;color:#98a2b3;margin-bottom:4px}.cart-controls input{width:100%;height:36px;border:1px solid var(--line);border-radius:9px;padding:6px 8px}.line-total{font-weight:850;font-size:12px;padding-bottom:9px;text-align:right}.remove-line{width:34px;height:34px;border:0;border-radius:9px;background:#fff1f2;color:#e11d48;cursor:pointer}.summary{border-top:1px solid var(--line);margin-top:13px;padding-top:13px}.summary-row{display:flex;justify-content:space-between;font-size:11px;color:#667085;margin:7px 0}.summary-row.total{font-size:16px;color:#101828;font-weight:850;margin-top:12px}.form-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:16px;border-top:1px solid #f1f3f6;padding-top:16px}.filter-bar{display:grid;grid-template-columns:repeat(5,minmax(120px,1fr)) auto;gap:9px;padding:14px}.filter-bar .field>span{font-size:9px}.filter-bar .field input,.filter-bar .field select{min-height:38px;padding:7px 9px}.info-strip{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px}.info-pill{background:#fff;border:1px solid var(--line);border-radius:999px;padding:7px 10px;font-size:10px;color:#667085}.info-pill strong{color:#101828}.detail-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.detail-cell{background:#f8fafc;border-radius:12px;padding:11px}.detail-cell span{font-size:9px;color:#98a2b3;text-transform:uppercase;letter-spacing:.06em;font-weight:800}.detail-cell strong{display:block;font-size:12px;margin-top:4px}.toast-static{border-radius:12px;padding:11px 13px;margin-bottom:16px;font-size:12px;border:1px solid}.toast-static.success{background:#ecfdf3;border-color:#bbf7d0;color:#166534}.toast-static.error{background:#fff1f2;border-color:#fecdd3;color:#be123c}.form-error{background:#fff1f2;border:1px solid #fecdd3;color:#be123c;border-radius:11px;padding:10px 11px;font-size:11px;margin-bottom:13px}.mobile-nav{display:none}.login-body{background:#0b1220;min-height:100vh}.login-shell{min-height:100vh;display:grid;grid-template-columns:1.15fr .85fr}.login-visual{background:radial-gradient(circle at 20% 20%,#1e3a8a 0,#111827 42%,#0b1220 80%);color:#fff;padding:8vw;display:flex;flex-direction:column;justify-content:center;position:relative;overflow:hidden}.login-badge{font-size:10px;letter-spacing:.16em;font-weight:850;color:#93c5fd;margin-bottom:20px}.login-visual h1{font-size:clamp(38px,5vw,70px);line-height:1.03;letter-spacing:-.055em;margin:0;max-width:720px}.login-visual h1 span{color:#93c5fd}.login-visual>p{max-width:600px;color:#b8c3d7;line-height:1.7;font-size:14px}.login-flow{display:flex;align-items:center;gap:10px;margin-top:28px;position:relative;z-index:2}.login-flow>div{padding:12px 14px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.05);border-radius:14px;min-width:125px}.login-flow span{display:block;font-size:9px;color:#60a5fa;font-weight:900}.login-flow strong{display:block;font-size:12px;margin-top:6px}.login-flow small{display:block;color:#94a3b8;font-size:9px;margin-top:3px}.login-flow i{width:30px;height:1px;background:linear-gradient(90deg,#334155,#60a5fa)}.visual-glow{position:absolute;border-radius:50%;filter:blur(3px);opacity:.35}.g1{width:400px;height:400px;background:radial-gradient(circle,#2563eb,transparent 65%);right:-120px;top:-100px}.g2{width:280px;height:280px;background:radial-gradient(circle,#7c3aed,transparent 65%);left:-100px;bottom:-100px}.login-panel{background:#f8fafc;display:grid;place-items:center;padding:30px}.login-card{width:min(430px,100%);background:#fff;border:1px solid var(--line);box-shadow:0 28px 70px rgba(15,23,42,.12);border-radius:24px;padding:30px}.login-logo{display:flex;align-items:center;gap:11px;margin-bottom:34px}.login-logo strong,.login-logo small{display:block}.login-logo small{color:#98a2b3;font-size:10px;margin-top:3px}.login-heading h2{font-size:24px;margin:0 0 6px;letter-spacing:-.03em}.login-heading p{margin:0 0 22px;color:#667085;font-size:12px}.password-wrap{position:relative}.password-wrap input{padding-right:62px}.password-wrap button{position:absolute;right:7px;top:7px;height:28px;border:0;background:#f1f5f9;border-radius:8px;font-size:10px;font-weight:750;color:#475569}.login-card .field{margin-bottom:14px}.login-foot{text-align:center;color:#98a2b3;font-size:9px;margin-top:17px}.mp-menu{grid-template-columns:repeat(4,1fr)}.cols-3{grid-template-columns:repeat(3,1fr)}.cols-2{grid-template-columns:repeat(2,1fr)}.mp-tile{padding:18px;border-radius:18px;background:#fff;border:1px solid var(--line);min-height:145px;display:flex;flex-direction:column;justify-content:space-between;transition:.18s}.mp-tile:hover{transform:translateY(-2px);box-shadow:var(--shadow);border-color:#c7d2fe}.mp-tile .quick-icon{width:44px;height:44px}.mp-tile strong{font-size:14px}.mp-tile p{font-size:10px;color:#667085;margin:4px 0 0}.mobile-card-list{display:none}@media(max-width:1150px){.kpi-grid{grid-template-columns:repeat(2,1fr)}.quick-grid{grid-template-columns:repeat(3,1fr)}.mp-menu{grid-template-columns:repeat(2,1fr)}.order-builder{grid-template-columns:1fr}.sticky-card{position:static}.filter-bar{grid-template-columns:repeat(3,1fr)}}@media(max-width:820px){.cols-3{grid-template-columns:1fr 1fr}.cols-2{grid-template-columns:1fr 1fr}.sidebar{display:none}.main{margin-left:0}.topbar{height:64px;padding:0 14px}.mobile-brand{display:flex;align-items:center;gap:8px}.mobile-brand .brand-mark{width:32px;height:32px;border-radius:9px;font-size:9px}.mobile-brand strong{font-size:12px}.global-search-wrap{width:auto;flex:1}.global-search-wrap input{height:38px;font-size:11px}.top-actions{display:none}.content{padding:17px 13px 90px}.mobile-nav{position:fixed;left:10px;right:10px;bottom:10px;height:62px;background:rgba(11,18,32,.96);backdrop-filter:blur(12px);border-radius:18px;display:grid;grid-template-columns:repeat(4,1fr);z-index:40;box-shadow:0 16px 40px rgba(15,23,42,.25);padding:5px}.mobile-nav a{display:flex;flex-direction:column;align-items:center;justify-content:center;color:#94a3b8;font-size:9px;font-weight:700;border-radius:13px}.mobile-nav a svg{width:19px;height:19px;margin-bottom:3px}.mobile-nav a.active{background:#1e293b;color:#fff}.page-head{align-items:flex-start;flex-direction:column}.page-head h1{font-size:22px}.dash-grid,.recent-grid,.section-grid{grid-template-columns:1fr}.quick-grid{grid-template-columns:1fr 1fr}.form-grid.three{grid-template-columns:1fr 1fr}.span-3{grid-column:span 2}.filter-bar{grid-template-columns:1fr 1fr}.detail-grid{grid-template-columns:1fr 1fr}.module-hero{align-items:flex-start;flex-direction:column}.desktop-table{display:none}.mobile-card-list{display:flex;flex-direction:column;gap:9px}.mobile-row-card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:13px}.mobile-row-top{display:flex;justify-content:space-between;gap:10px}.mobile-row-card strong{font-size:12px}.mobile-row-card p{font-size:11px;color:#667085;margin:5px 0}.mobile-row-meta{display:flex;justify-content:space-between;gap:8px;color:#98a2b3;font-size:9px;margin-top:10px}.login-shell{grid-template-columns:1fr}.login-visual{display:none}.login-panel{min-height:100vh;padding:18px}.login-card{padding:24px 20px;border-radius:20px}.mp-menu{grid-template-columns:1fr 1fr}.cart-controls{grid-template-columns:1fr 1fr}.line-total{grid-column:1/2;text-align:left}.remove-line{grid-column:2/3;justify-self:end}}@media(max-width:520px){.cols-3{grid-template-columns:1fr}.cols-2{grid-template-columns:1fr 1fr}.global-search-wrap input::placeholder{color:transparent}.kpi-grid{grid-template-columns:1fr 1fr;gap:10px}.kpi{padding:14px;min-height:112px}.kpi-value{font-size:20px}.quick-grid{grid-template-columns:1fr 1fr;gap:9px}.quick-action{padding:12px 10px}.form-grid,.form-grid.three{grid-template-columns:1fr}.span-2,.span-3{grid-column:span 1}.filter-bar{grid-template-columns:1fr 1fr}.filter-bar .btn{grid-column:span 2}.detail-grid{grid-template-columns:1fr}.mp-menu{grid-template-columns:1fr 1fr}.mp-tile{min-height:130px;padding:14px}.mp-tile strong{font-size:12px}.page-head .actions{width:100%}.page-head .actions .btn{flex:1}.module-actions{width:100%}.module-actions .btn{flex:1}.form-actions{flex-direction:column}.form-actions .btn{width:100%}}

/* ======================================================================
   SSR CUBE Employee Web v1.1.0 — Premium Android-Parity UI layer
   ====================================================================== */
:root{
  --premium-navy:#08111f;
  --premium-navy-2:#0d1b34;
  --premium-blue:#2457ff;
  --premium-indigo:#5648f4;
  --premium-cyan:#0ea5c6;
  --premium-violet:#7c4dff;
  --premium-surface:rgba(255,255,255,.88);
  --premium-border:rgba(148,163,184,.22);
  --premium-shadow:0 18px 50px rgba(15,23,42,.08),0 2px 8px rgba(15,23,42,.035);
  --premium-shadow-hover:0 24px 60px rgba(37,87,255,.13),0 8px 22px rgba(15,23,42,.06)
}
html{scroll-behavior:smooth}
body{
  background:
    radial-gradient(900px 460px at 72% -130px,rgba(37,87,255,.09),transparent 62%),
    radial-gradient(720px 430px at 110% 42%,rgba(124,77,255,.055),transparent 70%),
    #f5f7fb;
}
::selection{background:#dbe7ff;color:#0b1b45}
.sidebar{
  width:258px;
  padding:22px 17px 18px;
  background:
    radial-gradient(250px 250px at 10% 0,rgba(36,87,255,.20),transparent 66%),
    linear-gradient(180deg,#07111f 0%,#0a1425 48%,#08111f 100%);
  box-shadow:12px 0 40px rgba(8,17,31,.08)
}
.main{margin-left:258px}
.brand{padding:4px 8px 25px}.brand-mark{width:44px;height:44px;border-radius:14px;background:linear-gradient(145deg,#fff,#e9efff);box-shadow:0 10px 28px rgba(41,94,255,.18),inset 0 0 0 1px rgba(255,255,255,.75)}
.brand strong{font-size:17px}.brand small{color:#8fa5ca}
.nav-section{color:#597195;margin-top:21px}.nav-item{min-height:46px;border:1px solid transparent}.nav-item:hover{background:rgba(255,255,255,.055);border-color:rgba(255,255,255,.045)}
.nav-item.active{background:linear-gradient(135deg,rgba(36,87,255,.34),rgba(86,72,244,.18));border-color:rgba(116,151,255,.22);box-shadow:0 12px 28px rgba(0,0,0,.12),inset 0 1px 0 rgba(255,255,255,.06)}
.side-profile{background:rgba(255,255,255,.025);border:1px solid rgba(255,255,255,.06);border-radius:15px;padding:11px;margin:14px 0 0}.avatar{background:linear-gradient(145deg,#192b49,#152239);border-color:#365073}
.topbar{height:74px;background:rgba(250,252,255,.83);border-bottom:1px solid rgba(148,163,184,.14);backdrop-filter:blur(18px) saturate(160%);-webkit-backdrop-filter:blur(18px) saturate(160%)}
.global-search-wrap{width:min(560px,58vw)}.global-search-wrap input{height:44px;background:rgba(255,255,255,.74);border-color:#e0e7f0;box-shadow:inset 0 1px 1px rgba(15,23,42,.02)}
.global-search-wrap input:focus{border-color:#9db8ff;box-shadow:0 0 0 4px rgba(36,87,255,.08),0 10px 24px rgba(15,23,42,.05)}
.global-results{top:53px;border-radius:18px;border-color:#e5eaf2;box-shadow:0 30px 70px rgba(15,23,42,.16);padding:5px}.search-row{border-radius:11px;border-top:0;margin:2px;padding:11px 12px}.search-row:hover{background:#f4f7ff}
.content{max-width:1600px;padding:30px 32px 104px}
.card,.kpi,.table-card,.mp-tile{border-color:var(--premium-border);box-shadow:var(--premium-shadow);background:rgba(255,255,255,.91);backdrop-filter:blur(6px)}
.card{border-radius:20px}.card-pad{padding:21px}.card-title h2{font-size:16px;letter-spacing:-.015em}.eyebrow{font-size:10px;letter-spacing:.17em}
.btn{min-height:42px;border-radius:12px;padding:10px 15px;letter-spacing:-.01em}.btn-primary{background:linear-gradient(135deg,#2461ed 0%,#3158f6 50%,#5848ee 100%);box-shadow:0 10px 24px rgba(43,82,235,.22)}.btn-primary:hover{box-shadow:0 15px 30px rgba(43,82,235,.29)}.btn-light{background:rgba(255,255,255,.93);border-color:#dfe5ee;box-shadow:0 4px 12px rgba(15,23,42,.025)}.btn-dark{background:linear-gradient(135deg,#0b172b,#111d34)}.btn-sm{min-height:34px;padding:7px 10px;border-radius:10px;font-size:11px}.btn-glow{box-shadow:0 14px 32px rgba(65,82,244,.34)}.btn-glass{color:#fff;background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.19);box-shadow:inset 0 1px 0 rgba(255,255,255,.08)}.btn-glass:hover{background:rgba(255,255,255,.16)}
.field>span{font-size:10px;letter-spacing:.015em;color:#526178;margin-bottom:7px}.field input,.field select,.field textarea{min-height:46px;border-radius:13px;border-color:#dce3ed;background:#fff;transition:border-color .18s,box-shadow .18s,transform .18s}.field textarea{min-height:104px;padding-top:12px}.field input:hover,.field select:hover,.field textarea:hover{border-color:#c6d2e3}.field input:focus,.field select:focus,.field textarea:focus{border-color:#8faafa;box-shadow:0 0 0 4px rgba(36,87,255,.085);outline:none}
.table-card{overflow:hidden}.table thead th{background:#f8faff;color:#718096;font-size:9px;letter-spacing:.075em;padding-top:13px;padding-bottom:13px}.table td{padding-top:13px;padding-bottom:13px}.table tbody tr{transition:.14s}.table tbody tr:hover{background:#f9fbff}.status{letter-spacing:.015em}

/* Premium dashboard */
.dashboard-hero{position:relative;overflow:hidden;min-height:186px;border-radius:26px;margin-bottom:18px;padding:28px 30px;display:flex;align-items:center;justify-content:space-between;gap:28px;color:#fff;background:linear-gradient(118deg,#0a1730 0%,#112853 45%,#213f8f 72%,#5348df 122%);box-shadow:0 24px 60px rgba(19,46,105,.20);isolation:isolate}
.dashboard-hero:before{content:"";position:absolute;inset:0;background:linear-gradient(100deg,rgba(255,255,255,.025),transparent 34%),radial-gradient(circle at 78% 18%,rgba(110,168,255,.35),transparent 25%);z-index:-2}.dashboard-hero:after{content:"";position:absolute;width:500px;height:500px;border:1px solid rgba(255,255,255,.10);border-radius:50%;right:-230px;top:-240px;box-shadow:0 0 0 55px rgba(255,255,255,.025),0 0 0 105px rgba(255,255,255,.018);z-index:-1}
.dashboard-hero-copy{position:relative;z-index:2;max-width:740px}.hero-kicker{font-size:10px;letter-spacing:.18em;color:#92c5ff;font-weight:900;margin-bottom:10px}.dashboard-hero h1{font-size:34px;line-height:1.06;letter-spacing:-.045em;margin:0 0 8px}.dashboard-hero p{font-size:13px;line-height:1.7;color:#c7d6ef;margin:0;max-width:680px}.hero-pills{display:flex;gap:7px;flex-wrap:wrap;margin-top:16px}.hero-pills span{font-size:9px;font-weight:780;color:#dce8fb;padding:6px 9px;border-radius:999px;background:rgba(255,255,255,.075);border:1px solid rgba(255,255,255,.10)}.hero-actions{position:relative;z-index:3;display:flex;gap:10px;align-items:center;flex-wrap:wrap}.hero-orb{position:absolute;border-radius:50%;filter:blur(1px);opacity:.8;pointer-events:none}.orb-one{width:90px;height:90px;right:25%;bottom:-50px;background:radial-gradient(circle at 35% 35%,#7dd3fc,rgba(56,189,248,.05) 62%,transparent 70%);animation:orbFloat 7s ease-in-out infinite}.orb-two{width:60px;height:60px;right:8%;top:14px;background:radial-gradient(circle at 40% 40%,#a5b4fc,rgba(129,140,248,.02) 68%);animation:orbFloat 5.5s ease-in-out infinite reverse}@keyframes orbFloat{50%{transform:translateY(-8px) translateX(6px)}}
.premium-kpis{gap:13px}.premium-kpis .kpi{min-height:132px;border-radius:19px;padding:18px 19px;transition:transform .18s,box-shadow .18s,border-color .18s}.premium-kpis .kpi:hover{transform:translateY(-3px);box-shadow:var(--premium-shadow-hover);border-color:#d1dcf4}.premium-kpis .kpi:after{width:104px;height:104px;right:-36px;top:-36px;opacity:.88}.premium-kpis .kpi-value{font-size:27px}.premium-kpis .kpi-icon{width:39px;height:39px;border-radius:12px}
.quick-command-card{padding:20px 20px 18px;margin-bottom:16px}.quick-command-card .card-title{margin-bottom:13px}.quick-command-card .quick-action{min-height:72px;background:linear-gradient(145deg,#fff,#fafcff);border-color:#e1e7f0;position:relative;overflow:hidden}.quick-command-card .quick-action:after{content:"";position:absolute;width:80px;height:80px;border-radius:50%;right:-48px;bottom:-52px;background:var(--qa-soft,#eef4ff);transition:.2s}.quick-command-card .quick-action:hover{border-color:#c9d8ff;box-shadow:0 12px 28px rgba(36,87,255,.095)}.quick-command-card .quick-icon{width:42px;height:42px;border-radius:13px;position:relative;z-index:1;background:var(--qa-soft,#eef4ff);color:var(--qa,#315eea)}.quick-command-card .quick-action span:last-child{position:relative;z-index:1}.quick-command-card .quick-action strong{font-size:13px}.quick-command-card .quick-action small{font-size:10px;margin-top:4px}.qa-blue{--qa:#2563eb;--qa-soft:#edf4ff}.qa-violet{--qa:#7c3aed;--qa-soft:#f4efff}.qa-cyan{--qa:#0891b2;--qa-soft:#ecfeff}.qa-amber{--qa:#c26d00;--qa-soft:#fff7e8}.qa-green{--qa:#15934b;--qa-soft:#edfbf2}
.monitor-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:16px}.monitor-card{min-height:175px;padding:19px 20px;position:relative;overflow:hidden}.monitor-card:after{content:"";position:absolute;width:130px;height:130px;border-radius:50%;right:-66px;bottom:-72px;background:var(--monitor-soft,#eef4ff)}.monitor-card:before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:var(--monitor,#2563eb)}.monitor-top{display:flex;justify-content:space-between;align-items:center;gap:10px;position:relative;z-index:1}.monitor-label{font-size:9px;letter-spacing:.14em;color:#7b8aa4;font-weight:900}.monitor-icon{width:34px;height:34px;border-radius:11px;background:var(--monitor-soft,#eef4ff);color:var(--monitor,#2563eb);display:grid;place-items:center}.monitor-icon svg{width:18px}.monitor-name{font-size:16px;font-weight:850;letter-spacing:-.02em;margin-top:15px;position:relative;z-index:1}.monitor-amount{font-size:20px;font-weight:900;letter-spacing:-.03em;color:#0f1d36;margin-top:4px;position:relative;z-index:1}.monitor-meta{font-size:10px;color:#74829a;line-height:1.7;margin-top:6px;position:relative;z-index:1}.sale-card{--monitor:#2563eb;--monitor-soft:#edf4ff}.delivery-card{--monitor:#16a34a;--monitor-soft:#ecfdf3}.service-card{--monitor:#7c3aed;--monitor-soft:#f5efff}.empty.compact{padding:23px 0 4px;text-align:left;font-size:11px;color:#8b98aa}
.activity-dot.sales{background:#2563eb;box-shadow:0 0 0 4px #eaf1ff}.activity-dot.service{background:#7c3aed;box-shadow:0 0 0 4px #f2ebff}.activity-dot.mp{background:#0e9f6e;box-shadow:0 0 0 4px #eafaf4}

/* Premium module landing & page heroes */
.module-hero,.premium-module{position:relative;isolation:isolate;overflow:hidden;border-radius:24px;padding:24px 26px;margin-bottom:16px;color:#fff;background:linear-gradient(120deg,#0b1730,#172a56 56%,#223d83 100%);box-shadow:0 22px 50px rgba(17,39,82,.17);border:1px solid rgba(255,255,255,.045)}
.module-hero:after,.premium-module:after{content:"";position:absolute;z-index:-1;width:330px;height:330px;border-radius:50%;right:-170px;top:-190px;background:radial-gradient(circle,rgba(96,165,250,.30),rgba(99,102,241,.08) 52%,transparent 70%);box-shadow:0 0 0 42px rgba(255,255,255,.018),0 0 0 80px rgba(255,255,255,.012)}
.module-hero h1,.premium-module h1{font-size:26px;letter-spacing:-.035em;margin:5px 0 5px}.module-hero p,.premium-module p{color:#c6d3e8;font-size:12px;margin:0;line-height:1.65}.module-hero .eyebrow,.premium-module .eyebrow{color:#90c3ff!important}.module-actions{position:relative;z-index:2;display:flex;gap:8px}.module-hero .btn-light,.premium-module .btn-light{color:#fff;background:rgba(255,255,255,.09);border-color:rgba(255,255,255,.16)}.module-hero .btn-light:hover,.premium-module .btn-light:hover{background:rgba(255,255,255,.15)}
.mp-tile{border-radius:20px;min-height:158px;padding:20px;position:relative;overflow:hidden}.mp-tile:after{content:"";position:absolute;width:100px;height:100px;border-radius:50%;right:-55px;bottom:-55px;background:#edf3ff}.mp-tile:hover{transform:translateY(-4px);box-shadow:var(--premium-shadow-hover)}

/* Guided forms / Android parity */
.premium-panel{border-radius:22px}.step-rail{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 15px;padding:0}.step-rail span{display:inline-flex;align-items:center;gap:7px;padding:8px 11px;background:#fff;border:1px solid #e1e7f0;border-radius:999px;color:#687791;font-size:10px;font-weight:780;box-shadow:0 5px 14px rgba(15,23,42,.025)}.step-rail span b{display:grid;place-items:center;width:19px;height:19px;border-radius:50%;background:#eef3ff;color:#315eea;font-size:9px}.step-rail span.active{border-color:#c6d6ff;color:#16346e;background:#f6f9ff}
.premium-order-builder{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(360px,.7fr);gap:16px;align-items:start}.order-left-column{display:flex;flex-direction:column;gap:16px}.premium-search{position:relative}.premium-results{border-radius:15px;overflow:hidden;border:1px solid #e1e7f0;box-shadow:0 16px 36px rgba(15,23,42,.09);background:#fff}.premium-selected{border:1px solid #cfdcff;background:linear-gradient(145deg,#f8faff,#f1f5ff);border-radius:16px;padding:14px 15px}.selected-caption{font-size:9px;letter-spacing:.12em;font-weight:900;color:#6e82a8;text-transform:uppercase;margin-bottom:5px}.address-picker-area{margin-top:14px}.field-caption-row,.address-section-head,.stage-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:9px}.field-caption-row strong,.address-section-head h3,.stage-head h3{font-size:12px;margin:0}.address-option-grid,.address-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.address-option{position:relative;display:block;cursor:pointer}.address-option input{position:absolute;opacity:0;pointer-events:none}.address-radio{display:block;min-height:94px;border:1px solid #dde5ef;border-radius:15px;background:#fff;padding:12px 13px;transition:.17s}.address-radio strong{display:block;font-size:11px;color:#18253b;margin-bottom:5px}.address-radio small{display:block;font-size:9px;color:#7f8ca0;line-height:1.55}.address-option input:checked+.address-radio{border-color:#789cff;background:linear-gradient(145deg,#f8faff,#eef3ff);box-shadow:0 0 0 3px rgba(36,87,255,.07),0 10px 22px rgba(36,87,255,.08)}.address-loading{border:1px dashed #d8e0ec;border-radius:14px;padding:15px;color:#8793a5;font-size:10px}
.product-builder-card{overflow:visible}.product-toolbar{display:grid;grid-template-columns:minmax(240px,1.4fr) minmax(150px,.65fr) minmax(150px,.65fr);gap:9px;margin-bottom:10px}.product-search-field{position:relative}.product-status-row{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid #eff2f6;border-bottom:1px solid #eff2f6;padding:9px 1px;margin:9px 0}.product-status-row span{font-size:10px;color:#75839a}.text-button{border:0;background:transparent;color:#315eea;font-weight:800;font-size:10px;cursor:pointer}.product-master-list{max-height:430px;overflow:auto;padding:1px 3px 1px 0;scrollbar-width:thin}.product-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:14px;padding:11px 10px;border-bottom:1px solid #eef2f6;border-radius:12px;transition:.14s}.product-row:hover{background:#f8faff}.product-main strong{display:block;font-size:11px;color:#13213a}.product-main small{display:block;font-size:9px;color:#8490a2;margin-top:3px;line-height:1.4}.product-price{text-align:right;font-size:12px;font-weight:850;color:#12203a;white-space:nowrap}.product-add{width:34px;height:34px;border:0;border-radius:11px;background:#eef3ff;color:#315eea;display:grid;place-items:center;cursor:pointer;transition:.16s}.product-add:hover{background:#315eea;color:#fff;transform:translateY(-1px)}
.cart-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.premium-cart-row{border:1px solid #e5eaf2;border-radius:15px;padding:12px;margin-bottom:9px;background:linear-gradient(145deg,#fff,#fbfcff)}.premium-cart-row .cart-item-name{font-size:11px;font-weight:850}.premium-cart-row .cart-item-meta{font-size:9px;color:#8793a5;margin-top:3px}.premium-cart-controls{display:grid;grid-template-columns:auto 1fr auto;gap:9px;align-items:end;margin-top:10px}.qty-stepper{display:flex;align-items:center;border:1px solid #dce3ed;border-radius:11px;overflow:hidden;height:38px;background:#fff}.qty-stepper button{width:34px;height:100%;border:0;background:#f6f8fc;color:#20314c;font-weight:900;cursor:pointer}.qty-stepper input{width:50px;height:100%;border:0;text-align:center;font-weight:800;outline:none}.cart-line-value{font-size:12px;font-weight:850;text-align:right}.premium-summary{margin-top:14px;border-radius:16px;padding:14px;background:linear-gradient(135deg,#0d1b34,#1c3571);color:#fff}.premium-summary .summary-row{border-color:rgba(255,255,255,.09)}.premium-summary .summary-row span{color:#bdcbe2}.premium-summary .summary-row strong{color:#fff}

/* Service category picker */
.service-builder{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px}.category-picker{position:relative}.category-loaded{font-size:9px;color:#8592a6;font-weight:700}.category-results{display:none;position:absolute;z-index:22;left:0;right:0;top:calc(100% + 6px);max-height:330px;overflow:auto;background:#fff;border:1px solid #dfe6f0;border-radius:15px;box-shadow:0 24px 52px rgba(15,23,42,.16);padding:5px}.category-results.show{display:block}.category-row{display:flex;width:100%;align-items:center;justify-content:space-between;gap:10px;border:0;background:#fff;padding:10px 11px;border-radius:10px;text-align:left;cursor:pointer;font-size:10px;font-weight:700;color:#26344b}.category-row:hover{background:#f4f7ff;color:#254bbf}.category-row small{color:#98a2b3;font-weight:600}.selected-category-chip{display:flex;align-items:center;justify-content:space-between;gap:10px;border:1px solid #cad7ff;background:#f4f7ff;border-radius:13px;padding:10px 11px;margin-top:8px;font-size:10px;color:#20365e}.selected-category-chip strong{font-size:11px}

/* Customer + multiple-address manager */
.customer-master-grid{display:grid;grid-template-columns:minmax(330px,.68fr) minmax(0,1.32fr);gap:16px;align-items:start}.customer-search-panel{position:sticky;top:94px}.customer-stage{min-height:410px}.customer-empty-state{min-height:365px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:30px}.empty-orb{width:72px;height:72px;border-radius:24px;display:grid;place-items:center;background:linear-gradient(145deg,#edf3ff,#f4efff);color:#315eea;margin-bottom:14px;box-shadow:inset 0 0 0 1px #dfe7ff,0 12px 30px rgba(36,87,255,.08)}.empty-orb svg{width:30px;height:30px}.customer-empty-state h3{font-size:16px;margin:0 0 7px}.customer-empty-state p{font-size:11px;color:#7c899e;line-height:1.65;max-width:410px;margin:0}.smart-notice{display:none;border-radius:13px;padding:10px 12px;margin-bottom:11px;font-size:10px;font-weight:650}.smart-notice.info{display:block;background:#eff6ff;color:#1e4d9b;border:1px solid #d7e5ff}.smart-notice.warning{display:block;background:#fff8e8;color:#925b05;border:1px solid #fde9b8}.smart-notice.error{display:block;background:#fff1f2;color:#b4233d;border:1px solid #fecdd3}.smart-notice.success{display:block;background:#ecfdf3;color:#167342;border:1px solid #c7f3d8}.customer-matches{padding:2px}.count-badge{display:inline-flex;align-items:center;justify-content:center;min-width:25px;height:25px;border-radius:999px;background:#eef3ff;color:#315eea;font-size:10px;font-weight:850}.match-list{display:flex;flex-direction:column;gap:7px}.match-row{width:100%;border:1px solid #e2e8f1;background:#fff;border-radius:14px;padding:11px;display:grid;grid-template-columns:auto 1fr auto;gap:11px;align-items:center;text-align:left;cursor:pointer;transition:.15s}.match-row:hover{border-color:#bcd0ff;background:#f8faff;transform:translateY(-1px)}.match-avatar{width:38px;height:38px;border-radius:12px;background:linear-gradient(145deg,#eaf1ff,#f2edff);color:#315eea;display:grid;place-items:center;font-size:13px;font-weight:900}.match-copy strong{display:block;font-size:11px}.match-copy small{display:block;font-size:9px;color:#8490a2;margin-top:3px}.customer-master-summary{display:grid;grid-template-columns:1.5fr .65fr .85fr;gap:8px;margin-bottom:14px}.customer-master-summary>div{background:#f7f9fc;border:1px solid #edf0f5;border-radius:13px;padding:11px}.customer-master-summary span{display:block;font-size:8px;letter-spacing:.08em;text-transform:uppercase;color:#8b97aa;font-weight:850}.customer-master-summary strong{display:block;font-size:11px;margin-top:4px}.address-card{position:relative;border:1px solid #e0e6ef;border-radius:16px;padding:13px;background:linear-gradient(145deg,#fff,#fbfcff);transition:.15s}.address-card.primary{border-color:#c8d6ff;background:linear-gradient(145deg,#fff,#f4f7ff)}.address-card:hover{box-shadow:0 12px 26px rgba(15,23,42,.065);transform:translateY(-2px)}.address-card-top{display:flex;align-items:center;justify-content:space-between;gap:8px}.address-index{font-size:9px;font-weight:900;color:#315eea}.address-card h4{font-size:11px;line-height:1.55;margin:10px 0 8px}.address-card p{font-size:9px;line-height:1.55;color:#718096;margin:0 0 11px}.new-customer-form{padding:2px}.new-customer-form .form-grid{margin-top:11px}
.app-modal{display:none;position:fixed;inset:0;z-index:100;align-items:center;justify-content:center;padding:22px}.app-modal.show{display:flex}.app-modal-backdrop{position:absolute;inset:0;background:rgba(6,13,25,.58);backdrop-filter:blur(7px)}.app-modal-card{position:relative;z-index:1;width:min(660px,100%);max-height:calc(100vh - 44px);overflow:auto;background:#fff;border:1px solid rgba(255,255,255,.8);border-radius:24px;padding:22px;box-shadow:0 34px 90px rgba(8,17,31,.30);animation:modalIn .18s ease-out}@keyframes modalIn{from{transform:translateY(12px) scale(.985);opacity:0}to{transform:none;opacity:1}}.modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:17px}.modal-head h2{font-size:20px;letter-spacing:-.025em;margin:4px 0 4px}.modal-head p{font-size:10px;color:#7d899b;margin:0}.modal-close{width:34px;height:34px;border:0;border-radius:10px;background:#f1f4f8;color:#516076;font-size:20px;line-height:1;cursor:pointer}

/* Login premium refresh */
.login-body{background:#07111f}.login-shell{grid-template-columns:1.12fr .88fr}.login-visual{background:radial-gradient(600px 420px at 8% 8%,#1f459c 0,rgba(24,55,121,.55) 24%,transparent 65%),linear-gradient(145deg,#08152b,#08111f 60%,#070d18);padding:7vw;isolation:isolate}.login-visual:before{content:"";position:absolute;right:-190px;top:-185px;width:500px;height:500px;border-radius:50%;border:1px solid rgba(255,255,255,.08);box-shadow:0 0 0 72px rgba(255,255,255,.018),0 0 0 145px rgba(255,255,255,.012);z-index:-1}.login-badge{display:inline-flex;align-items:center;width:max-content;padding:7px 10px;border:1px solid rgba(147,197,253,.20);background:rgba(59,130,246,.08);border-radius:999px}.login-visual h1{font-size:clamp(44px,5.2vw,76px);max-width:800px}.login-visual>p{color:#b7c5dc;font-size:13px}.login-flow>div{min-width:132px;border-color:rgba(255,255,255,.13);background:rgba(255,255,255,.055);box-shadow:inset 0 1px 0 rgba(255,255,255,.025)}.login-panel{background:radial-gradient(540px 340px at 50% 42%,#fff 0,#f7f9fd 65%,#f2f5fa 100%)}.login-card{width:min(440px,100%);border-radius:27px;padding:31px;border-color:#e4e8ef;box-shadow:0 32px 85px rgba(15,23,42,.14)}.login-logo .brand-mark{width:43px;height:43px}.login-heading h2{font-size:25px}.login-card .field input{height:48px}.login-card .btn-lg{min-height:49px;border-radius:13px}

/* Motion / feedback */
@media (prefers-reduced-motion:no-preference){.card,.kpi,.mp-tile,.quick-action,.address-card,.match-row{transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.dashboard-hero{animation:surfaceIn .35s ease-out both}.kpi-grid .kpi{animation:surfaceIn .35s ease-out both}.kpi-grid .kpi:nth-child(2){animation-delay:.035s}.kpi-grid .kpi:nth-child(3){animation-delay:.07s}.kpi-grid .kpi:nth-child(4){animation-delay:.105s}@keyframes surfaceIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}}

@media(max-width:1150px){.premium-order-builder{grid-template-columns:1fr}.monitor-grid{grid-template-columns:1fr 1fr}.monitor-card:last-child{grid-column:span 2}.customer-master-grid{grid-template-columns:1fr}.customer-search-panel{position:static}.service-builder{grid-template-columns:1fr}.product-master-list{max-height:360px}}
@media(max-width:820px){.sidebar{display:none}.main{margin-left:0}.topbar{height:64px;background:rgba(250,252,255,.91)}.content{padding:16px 12px 94px}.dashboard-hero{min-height:unset;border-radius:21px;padding:22px 18px;display:block}.dashboard-hero h1{font-size:27px}.dashboard-hero p{font-size:11px}.hero-actions{margin-top:17px}.hero-actions .btn{flex:1}.hero-orb{display:none}.premium-kpis{grid-template-columns:1fr 1fr}.premium-kpis .kpi{min-height:116px;padding:14px}.premium-kpis .kpi-value{font-size:21px}.quick-command-card{padding:15px}.monitor-grid{grid-template-columns:1fr}.monitor-card:last-child{grid-column:auto}.monitor-card{min-height:150px}.module-hero,.premium-module{border-radius:20px;padding:20px 17px}.module-hero h1,.premium-module h1{font-size:23px}.step-rail{gap:6px}.step-rail span{font-size:9px;padding:7px 9px}.address-option-grid,.address-card-grid{grid-template-columns:1fr}.product-toolbar{grid-template-columns:1fr 1fr}.product-toolbar .product-search-field{grid-column:span 2}.product-master-list{max-height:390px}.product-row{grid-template-columns:minmax(0,1fr) auto auto;gap:8px;padding:10px 7px}.customer-master-summary{grid-template-columns:1fr 1fr}.customer-master-summary>div:first-child{grid-column:span 2}.customer-stage{min-height:320px}.customer-empty-state{min-height:300px}.app-modal{padding:12px}.app-modal-card{border-radius:21px;padding:18px;max-height:calc(100vh - 24px)}.login-card{box-shadow:0 20px 55px rgba(15,23,42,.12)}.mobile-nav{background:rgba(8,17,31,.96);box-shadow:0 18px 44px rgba(8,17,31,.30);border:1px solid rgba(255,255,255,.07)}}
@media(max-width:520px){.premium-kpis{gap:9px}.premium-kpis .kpi{border-radius:16px;min-height:112px}.premium-kpis .kpi-label{font-size:10px}.premium-kpis .kpi-foot{font-size:9px;line-height:1.45}.quick-command-card .quick-grid{grid-template-columns:1fr}.quick-command-card .quick-action{min-height:66px}.monitor-card{border-radius:17px}.product-toolbar{grid-template-columns:1fr}.product-toolbar .product-search-field{grid-column:auto}.product-row{grid-template-columns:minmax(0,1fr) auto}.product-price{grid-row:2;grid-column:1;text-align:left}.product-add{grid-column:2;grid-row:1/3}.premium-cart-controls{grid-template-columns:1fr auto}.premium-cart-controls .field{grid-column:1/3}.customer-master-summary{grid-template-columns:1fr}.customer-master-summary>div:first-child{grid-column:auto}.match-row{grid-template-columns:auto 1fr}.match-row .status{grid-column:2}.login-panel{padding:13px}.login-card{padding:23px 18px;border-radius:22px}.global-search-wrap{max-width:none}}

/* Button-based address selectors used by Sales + Service */
button.address-option{width:100%;min-height:94px;display:grid;grid-template-columns:auto minmax(0,1fr);gap:11px;align-items:flex-start;text-align:left;padding:12px 13px;border:1px solid #dde5ef;border-radius:15px;background:#fff;color:inherit;cursor:pointer;transition:.17s;appearance:none;-webkit-appearance:none}
button.address-option:hover{border-color:#bdcef5;background:#fbfcff;box-shadow:0 8px 20px rgba(15,23,42,.045)}
button.address-option.active{border-color:#789cff;background:linear-gradient(145deg,#f8faff,#eef3ff);box-shadow:0 0 0 3px rgba(36,87,255,.07),0 10px 22px rgba(36,87,255,.08)}
button.address-option .address-radio{display:block;width:18px;height:18px;min-height:18px;padding:0;border-radius:50%;border:2px solid #b8c5d9;background:#fff;margin-top:1px;box-shadow:none}
button.address-option.active .address-radio{border:5px solid #315eea;background:#fff}
button.address-option>span:last-child{min-width:0;display:block}
button.address-option>span:last-child strong{display:block;font-size:11px;color:#18253b;margin:0 0 5px}
button.address-option>span:last-child small{display:block;font-size:9px;color:#6f7e93;line-height:1.55;white-space:normal}
button.address-option>span:last-child em{display:block;font-size:9px;color:#8c98aa;line-height:1.5;font-style:normal;margin-top:5px}
button.picker-row{width:100%;border:0;border-bottom:1px solid #f1f3f6;background:#fff;text-align:left;color:inherit;display:flex;align-items:center;justify-content:space-between;gap:10px}
button.product-row{width:100%;border:0;border-bottom:1px solid #eef2f6;background:#fff;text-align:left;color:inherit;appearance:none;-webkit-appearance:none}
button.product-row.selected{background:#f5f8ff}.product-row.selected .product-add{background:#e6edff;color:#244ec8}
.selected-category-chip button{width:25px;height:25px;border:0;border-radius:8px;background:#e8edfb;color:#536582;cursor:pointer;font-size:17px;line-height:1}
.category-picker-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:6px}.category-picker-meta .category-loaded{margin:0}.category-picker-meta .text-button{padding:4px 0}


/* v1.1.1 — unified 20-record pagination */
.pagination-wrap{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 16px;border-top:1px solid #edf0f5;background:linear-gradient(180deg,#fff,#fbfcff);border-radius:0 0 var(--radius) var(--radius)}
.pagination-wrap .pagination{padding:0;display:flex;align-items:center;justify-content:flex-end;gap:6px;flex-wrap:wrap}
.pagination-meta{font-size:10px;color:#7b8799;white-space:nowrap}.pagination-meta strong{color:#263449;font-weight:850}
.page-link{min-width:35px;height:35px;padding:0 10px;border:1px solid #e0e6ef;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;gap:5px;font-size:10px;font-weight:800;background:#fff;color:#42526a;transition:.16s;box-shadow:0 1px 2px rgba(15,23,42,.02)}
.page-link:hover{border-color:#b9c9ef;background:#f7f9ff;color:#284fc1;transform:translateY(-1px)}
.page-link.current{background:linear-gradient(135deg,#245cff,#4f46e5);color:#fff;border-color:transparent;box-shadow:0 7px 16px rgba(49,94,234,.20)}
.page-link.page-nav{min-width:88px}.page-link.disabled{opacity:.42;cursor:not-allowed;pointer-events:none;background:#f8fafc}.page-ellipsis{height:35px;min-width:22px;display:grid;place-items:center;color:#98a2b3;font-weight:800}
@media(max-width:680px){.pagination-wrap{align-items:stretch;flex-direction:column;padding:12px}.pagination-meta{text-align:center}.pagination-wrap .pagination{justify-content:center}.page-link.page-nav{min-width:36px}.page-link.page-nav span{display:none}}

/* v1.2.0 — Operations Suite */
a{color:inherit}.nav-count{margin-left:auto;min-width:20px;height:20px;padding:0 5px;border-radius:999px;background:#ef4444;color:#fff;display:grid;place-items:center;font-size:9px;box-shadow:0 4px 12px rgba(239,68,68,.28)}
.top-icon-button{position:relative;width:40px;height:40px;border:1px solid #e1e7ef;border-radius:12px;background:rgba(255,255,255,.82);display:grid;place-items:center;color:#41516a;cursor:pointer;transition:.18s}.top-icon-button:hover{transform:translateY(-1px);border-color:#c4d2eb;box-shadow:0 8px 20px rgba(15,23,42,.07)}.top-icon-button svg{width:18px}.notification-badge{position:absolute;right:-4px;top:-5px;min-width:18px;height:18px;padding:0 4px;border-radius:999px;background:#ef4444;color:#fff;font-size:8px;font-weight:900;display:grid;place-items:center;border:2px solid #fff}.notification-wrap{position:relative}.notification-panel{display:none;position:absolute;right:0;top:50px;width:min(410px,calc(100vw - 28px));background:rgba(255,255,255,.98);border:1px solid #e1e6ee;border-radius:18px;box-shadow:0 28px 70px rgba(15,23,42,.20);overflow:hidden;z-index:60}.notification-panel.show{display:block;animation:modalIn .16s ease-out}.notification-panel-head{display:flex;justify-content:space-between;align-items:center;padding:14px 15px;border-bottom:1px solid #edf1f5}.notification-panel-head strong{font-size:13px}.notification-panel-head a{font-size:10px;color:#315eea;font-weight:800}.notification-mini,.notification-page-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:10px;align-items:flex-start;padding:12px 14px;border-bottom:1px solid #eff2f6;text-decoration:none}.notification-mini:hover,.notification-page-row:hover{background:#f8faff}.notification-mini.unread,.notification-page-row.unread{background:linear-gradient(90deg,#f3f7ff,#fff)}.notify-dot{width:9px;height:9px;border-radius:50%;background:#64748b;margin-top:5px;box-shadow:0 0 0 4px #eef2f7}.notify-dot.order{background:#2563eb;box-shadow:0 0 0 4px #eaf1ff}.notify-dot.complaint{background:#7c3aed;box-shadow:0 0 0 4px #f2ebff}.notify-dot.label,.notify-dot.paper{background:#059669;box-shadow:0 0 0 4px #e7faf3}.notification-mini strong,.notification-page-row strong{display:block;font-size:10.5px;line-height:1.4}.notification-mini small,.notification-page-row small{display:block;font-size:9px;color:#7a8799;margin-top:3px;line-height:1.45}.notification-mini time,.notification-page-row time{font-size:8px;color:#9aa4b2;white-space:nowrap}.notification-page-list{overflow:hidden}.notification-page-row{padding:15px 17px}.notify-glyph{width:36px;height:36px;border-radius:12px;background:#eef4ff;color:#315eea;display:grid;place-items:center}.notify-glyph svg{width:18px}.notify-copy{min-width:0}
.skeleton-list{padding:12px}.skeleton-list i{display:block;height:42px;border-radius:10px;margin:7px 0;background:linear-gradient(90deg,#edf1f6 25%,#f7f9fc 45%,#edf1f6 65%);background-size:220% 100%;animation:skeleton 1.25s infinite}.skeleton-list.compact i{height:31px}@keyframes skeleton{to{background-position:-220% 0}}
.floating-toast{position:fixed;z-index:200;left:50%;bottom:28px;transform:translate(-50%,18px);opacity:0;padding:10px 15px;border-radius:12px;background:#101827;color:#fff;font-size:11px;font-weight:750;box-shadow:0 15px 40px rgba(15,23,42,.24);transition:.22s}.floating-toast.show{opacity:1;transform:translate(-50%,0)}
.period-tabs{display:inline-flex;gap:4px;margin-top:17px;padding:4px;border:1px solid rgba(255,255,255,.12);border-radius:12px;background:rgba(255,255,255,.055)}.period-tabs a{padding:7px 10px;border-radius:8px;font-size:9px;font-weight:850;color:#becde4}.period-tabs a.active{background:#fff;color:#1c3e8f;box-shadow:0 5px 14px rgba(0,0,0,.13)}.trend{font-weight:850}.trend.up{color:#128044}.trend.down{color:#d33d49}.premium-kpis .kpi .trend.down{color:#b42330}.attention-strip{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:16px}.attention-strip>a{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;padding:13px 15px;border:1px solid #e3e8f1;border-radius:16px;background:rgba(255,255,255,.92);box-shadow:0 8px 24px rgba(15,23,42,.045);text-decoration:none;transition:.18s}.attention-strip>a:hover{border-color:#c8d7f7;transform:translateY(-2px);box-shadow:0 14px 30px rgba(15,23,42,.075)}.attention-icon{width:38px;height:38px;border-radius:12px;background:#eef4ff;color:#315eea;display:grid;place-items:center}.attention-icon svg{width:18px}.attention-strip strong{display:block;font-size:11px}.attention-strip small{display:block;color:#7a8799;font-size:9px;margin-top:3px}.attention-strip b{font-size:9px;color:#315eea}.monitor-card{text-decoration:none;color:inherit}
.order-save-strip{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 14px;margin:-3px 0 13px;border:1px solid #dae5fb;border-radius:14px;background:linear-gradient(90deg,#f8fbff,#fff);box-shadow:0 7px 18px rgba(37,99,235,.04)}.order-save-strip>span{display:grid;grid-template-columns:auto auto;column-gap:8px;align-items:center}.order-save-strip strong{font-size:10px}.order-save-strip small{grid-column:2;font-size:8.5px;color:#8490a1;margin-top:2px}.order-save-strip>a{font-size:9px;font-weight:850;color:#315eea}.save-pulse{width:8px;height:8px;border-radius:50%;background:#22c55e;box-shadow:0 0 0 4px #eafaf0;animation:savePulse 2s infinite}@keyframes savePulse{50%{box-shadow:0 0 0 7px rgba(34,197,94,0)}}
.customer-shortcuts{display:grid;gap:10px;margin:0 0 14px}.shortcut-block>span{display:block;font-size:8px;font-weight:900;letter-spacing:.13em;color:#8190a5;margin-bottom:7px}.shortcut-chips{display:flex;gap:7px;overflow:auto;padding:1px 1px 6px;scrollbar-width:thin}.customer-chip{flex:0 0 auto;min-width:138px;max-width:190px;text-align:left;padding:10px 11px;border:1px solid #dce4f0;border-radius:13px;background:linear-gradient(145deg,#fff,#f9fbff);cursor:pointer;transition:.16s}.customer-chip:hover{border-color:#9eb8f7;box-shadow:0 8px 18px rgba(37,99,235,.08);transform:translateY(-1px)}.customer-chip b,.customer-chip small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.customer-chip b{font-size:9.5px}.customer-chip small{font-size:8px;color:#8490a1;margin-top:3px}.customer-chip.recent{border-style:dashed}.selected-customer-actions{display:flex;gap:6px}
.suggested-products{margin-bottom:11px}.suggested-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:7px}.suggested-head span{font-size:9px;font-weight:900;color:#506078;letter-spacing:.04em}.suggested-head small{font-size:8px;color:#98a2b3}.suggested-chip-row{display:flex;gap:7px;overflow:auto;padding-bottom:6px}.suggested-item{flex:0 0 185px;text-align:left;padding:9px 10px;border:1px solid #e1e7ef;border-radius:12px;background:#fbfcff;cursor:pointer}.suggested-item:hover{border-color:#aabff1;background:#f5f8ff}.suggested-item b,.suggested-item small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.suggested-item b{font-size:9px}.suggested-item small{font-size:8px;color:#7e8a9c;margin-top:3px}.product-row.keyboard-focus{outline:2px solid #5b7df2;outline-offset:-2px;background:#f1f5ff}
.customer360-hero,.detail-hero{position:relative;overflow:hidden;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:24px 26px;margin-bottom:16px;border-radius:24px;color:#fff;background:linear-gradient(120deg,#0b1730,#18305e 58%,#304fa5);box-shadow:0 22px 50px rgba(17,39,82,.17)}.customer360-hero h1,.detail-hero h1{font-size:28px;letter-spacing:-.04em;margin:5px 0}.customer360-hero p,.detail-hero p{margin:0;color:#c7d3e7;font-size:11px}.customer360-hero .eyebrow,.detail-hero .eyebrow{color:#93c5fd}.customer360-kpis .small-value{font-size:19px}.customer360-grid{grid-template-columns:1.25fr .75fr;gap:15px;margin-bottom:15px}.mini-list{display:grid}.mini-list>a{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:11px 0;border-bottom:1px solid #edf1f5;text-decoration:none}.mini-list>a:last-child{border-bottom:0}.mini-list strong,.mini-list small{display:block}.mini-list strong{font-size:10px}.mini-list small{font-size:8.5px;color:#8490a1;margin-top:3px}.detail-grid-compact{display:grid;grid-template-columns:1fr 1fr;gap:10px}.detail-grid-compact>div{padding:12px;border:1px solid #e7ebf1;border-radius:13px;background:#fafcff}.detail-grid-compact span,.detail-grid-compact strong{display:block}.detail-grid-compact span{font-size:8px;letter-spacing:.08em;color:#8a96a8;text-transform:uppercase;font-weight:800}.detail-grid-compact strong{font-size:10.5px;margin-top:5px}.mp-detail-grid{grid-template-columns:.9fr 1.1fr;gap:15px}.btn-whatsapp{background:#16a34a;color:#fff;border-color:#16a34a;box-shadow:0 8px 20px rgba(22,163,74,.16)}
.repeat-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:15px}.repeat-card{border:1px solid #e2e8f1;border-radius:18px;padding:16px;background:linear-gradient(145deg,#fff,#fbfcff);box-shadow:0 7px 20px rgba(15,23,42,.035)}.repeat-card-top{display:flex;justify-content:space-between;gap:12px}.repeat-card h3{font-size:14px;margin:5px 0 2px}.repeat-card p{font-size:9px;color:#8490a1;margin:0}.repeat-meta{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:13px 0}.repeat-meta span{padding:9px;border-radius:11px;background:#f5f7fb}.repeat-meta small,.repeat-meta strong{display:block}.repeat-meta small{font-size:7px;color:#8c97a7;font-weight:900;letter-spacing:.08em}.repeat-meta strong{font-size:9px;margin-top:3px}.repeat-address{font-size:9px;color:#65738a;line-height:1.5;padding:10px 0;border-top:1px dashed #e1e6ee}.repeat-actions{display:flex;gap:7px;justify-content:flex-end}.repeat-actions form{margin:0}.repeat-filter{grid-template-columns:repeat(6,1fr)}
.workflow-card{margin-bottom:15px}.workflow-track{display:grid;grid-template-columns:repeat(7,1fr);gap:0;margin-top:15px}.workflow-step{position:relative;text-align:center;padding-top:3px}.workflow-step:before{content:"";position:absolute;top:15px;left:-50%;width:100%;height:3px;background:#e5eaf2}.workflow-step:first-child:before{display:none}.workflow-step span{position:relative;z-index:1;margin:auto;width:31px;height:31px;border-radius:50%;display:grid;place-items:center;background:#eef1f5;color:#7d899b;font-size:9px;font-weight:900;border:3px solid #fff;box-shadow:0 0 0 1px #e0e6ef}.workflow-step strong{display:block;font-size:8px;color:#8a96a8;margin-top:6px}.workflow-step.done:before,.workflow-step.active:before{background:#4f7df3}.workflow-step.done span{background:#22a35a;color:#fff}.workflow-step.active span{background:#315eea;color:#fff;box-shadow:0 0 0 4px #e7eeff}.workflow-step.active strong{color:#264dc2}.danger-pill{border-color:#ffd6d9!important;background:#fff5f6!important;color:#b42330!important}.click-row{cursor:pointer}.click-row:hover{background:#f5f8ff!important}
.permission-table{min-width:1150px}.switch{display:inline-block}.switch input{display:none}.switch span{display:block;width:38px;height:22px;border-radius:999px;background:#d9e0e9;position:relative;cursor:pointer;transition:.18s}.switch span:after{content:"";position:absolute;width:16px;height:16px;border-radius:50%;background:#fff;left:3px;top:3px;box-shadow:0 2px 5px rgba(15,23,42,.18);transition:.18s}.switch input:checked+span{background:#315eea}.switch input:checked+span:after{transform:translateX(16px)}
@media(max-width:1050px){.customer360-grid,.mp-detail-grid{grid-template-columns:1fr}.repeat-card-grid{grid-template-columns:1fr}.workflow-track{overflow:auto;grid-template-columns:repeat(7,110px);padding-bottom:8px}}
@media(max-width:820px){.top-actions{gap:6px}.top-date span{display:none}.notification-panel{position:fixed;right:12px;top:67px}.attention-strip{grid-template-columns:1fr}.customer360-hero,.detail-hero{display:block;padding:20px 17px;border-radius:20px}.customer360-hero .module-actions,.detail-hero .module-actions{margin-top:15px;flex-wrap:wrap}.order-save-strip{margin-top:0}.workflow-track{margin-left:-4px;margin-right:-4px}.repeat-card-grid{padding:10px}.notification-page-row{grid-template-columns:auto 1fr}.notification-page-row time{grid-column:2}}
@media(max-width:520px){.customer-shortcuts{margin-bottom:10px}.customer-chip{min-width:125px}.selected-customer{align-items:flex-start}.selected-customer-actions{flex-direction:column}.repeat-meta{grid-template-columns:1fr 1fr}.repeat-actions{flex-direction:column}.repeat-actions .btn{width:100%}.repeat-actions form .btn{width:100%}.order-save-strip{align-items:flex-start}.order-save-strip>a{white-space:nowrap}.detail-grid-compact{grid-template-columns:1fr}.detail-grid-compact .span-2{grid-column:auto}.customer360-hero .module-actions .btn,.detail-hero .module-actions .btn{flex:1}}

/* ========================================================================
   SSR CUBE EMPLOYEE WEB — v1.3.0 ULTRA PREMIUM COMMERCIAL UI
   Visual system upgrade. Business logic remains unchanged.
   ======================================================================== */
:root{
  --bg:#f4f7fb;--panel:#ffffff;--panel-soft:#f8fafc;--ink:#0b1220;--ink-2:#1c2a3d;
  --muted:#6b7a90;--muted-2:#91a0b5;--line:#e3e9f1;--line-strong:#d5deeb;
  --nav:#071221;--nav2:#0a1a30;--nav3:#102744;--accent:#2d63f5;--accent2:#5a4cf2;
  --blue-soft:#edf4ff;--green:#119c5b;--green-soft:#eaf9f1;--amber:#d97706;--amber-soft:#fff6e8;
  --red:#d83b50;--red-soft:#fff0f2;--violet:#7c3aed;--cyan:#0891b2;
  --shadow-xs:0 1px 2px rgba(15,23,42,.035);--shadow-sm:0 7px 18px rgba(15,23,42,.055);
  --shadow:0 18px 44px rgba(15,23,42,.075);--shadow-lg:0 28px 70px rgba(12,28,54,.13);
  --radius:22px;--radius-sm:14px;--radius-lg:28px
}
html{font-size:15px;overflow-x:hidden;scroll-behavior:smooth}body{overflow-x:hidden;background:
  radial-gradient(circle at 82% 2%,rgba(69,114,247,.075),transparent 24rem),
  linear-gradient(180deg,#f7f9fc 0,#f3f6fb 100%);color:var(--ink)}
body,button,input,select,textarea{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif}
button,input,select,textarea{letter-spacing:0}.app-shell{min-height:100vh}
.sidebar{width:268px;padding:24px 18px 18px;background:
  radial-gradient(circle at 18% 0%,rgba(53,98,224,.18),transparent 19rem),
  linear-gradient(180deg,#071322 0%,#081426 48%,#07111e 100%);border-right:1px solid rgba(255,255,255,.045);box-shadow:18px 0 50px rgba(6,18,34,.045)}
.brand{padding:2px 10px 27px;gap:13px}.brand-mark{width:46px;height:46px;border-radius:15px;font-size:13px;background:linear-gradient(145deg,#fff,#e7efff);box-shadow:0 10px 28px rgba(38,99,235,.22),inset 0 0 0 1px rgba(255,255,255,.7)}
.brand strong{font-size:17px;letter-spacing:.01em}.brand small{font-size:11px;color:#89a0bf;margin-top:4px}.side-nav{gap:6px}.nav-section{font-size:9px;letter-spacing:.18em;color:#59708f;margin:21px 11px 8px}.nav-item{position:relative;min-height:47px;padding:12px 13px;border-radius:14px;font-size:14px;font-weight:720;color:#aebcd0;gap:12px}
.nav-item:before{content:"";position:absolute;left:0;top:11px;bottom:11px;width:3px;border-radius:999px;background:transparent}.nav-item:hover{background:rgba(255,255,255,.052);color:#fff;transform:translateX(1px)}
.nav-item.active{background:linear-gradient(135deg,rgba(46,99,244,.31),rgba(89,76,242,.18));color:#fff;box-shadow:inset 0 0 0 1px rgba(103,146,255,.25),0 12px 28px rgba(0,0,0,.12)}.nav-item.active:before{background:#77a2ff;box-shadow:0 0 13px rgba(119,162,255,.75)}
.nav-count{margin-left:auto;min-width:27px;height:22px;display:grid;place-items:center;padding:0 7px;border-radius:999px;background:linear-gradient(135deg,#ff4c5e,#ef3047);color:#fff;font-size:9px;box-shadow:0 6px 14px rgba(239,48,71,.3)}
.side-profile{padding:15px 9px 2px;margin-top:auto;border-top:0;background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.065);border-radius:16px}.avatar{width:40px;height:40px;background:linear-gradient(145deg,#1b3353,#122540);border-color:#345278}.profile-copy strong{font-size:12px}.profile-copy small{font-size:10px;color:#8296b2}.icon-btn{width:34px;height:34px}
.main{margin-left:268px}.topbar{height:76px;padding:0 30px;background:rgba(249,251,254,.88);backdrop-filter:blur(22px) saturate(130%);border-bottom:1px solid rgba(222,230,240,.86);box-shadow:0 6px 22px rgba(15,23,42,.028)}
.global-search-wrap{width:min(620px,55vw)}.global-search-wrap input{height:46px;border-radius:14px;border-color:#dde5ef;background:rgba(255,255,255,.78);padding-left:44px;font-size:14px;box-shadow:var(--shadow-xs)}.global-search-wrap input::placeholder{color:#93a0b1}.global-search-wrap input:focus{border-color:#9eb9ff;background:#fff;box-shadow:0 0 0 4px rgba(45,99,245,.085),0 10px 28px rgba(45,99,245,.06)}
.top-icon-button{width:44px;height:44px;border-radius:14px!important;border:1px solid #dfe7f1!important;background:#fff!important;box-shadow:var(--shadow-xs)}.top-icon-button:hover{transform:translateY(-1px);box-shadow:var(--shadow-sm)}.top-date{font-size:12px;font-weight:750;color:#586a82}.top-avatar{width:42px;height:42px;background:linear-gradient(145deg,#e8eeff,#dce8ff);border-color:#cbd9ff;color:#2848a7;box-shadow:0 6px 18px rgba(37,99,235,.08)}
.content{max-width:1600px;padding:30px 34px 110px}.toast-static{border-radius:16px!important;box-shadow:var(--shadow-sm)}

/* Typography & common surfaces */
.eyebrow,.hero-kicker{font-size:10px!important;line-height:1.2;letter-spacing:.15em!important;font-weight:900!important}.page-head h1,.module-hero h1,.premium-module h1{letter-spacing:-.035em}.muted{color:var(--muted)}
.card,.premium-panel,.table-card{border:1px solid rgba(219,227,238,.9);border-radius:22px;box-shadow:0 9px 28px rgba(15,23,42,.045);background:rgba(255,255,255,.98)}.card:hover{border-color:#d5deeb}.card-pad,.premium-panel{padding:22px}
.btn{min-height:42px;padding:10px 16px;border-radius:13px;font-size:12px;font-weight:820;letter-spacing:-.005em;box-shadow:none}.btn:hover{transform:translateY(-1px)}.btn-primary{background:linear-gradient(135deg,#2f67f5 0%,#4d57f0 100%);box-shadow:0 10px 24px rgba(47,103,245,.19)}.btn-primary:hover{box-shadow:0 14px 30px rgba(47,103,245,.27)}.btn-dark{background:linear-gradient(145deg,#0d1c31,#132640)}.btn-light{background:#fff;border:1px solid #dce4ef;color:#25364e}.btn-light:hover{border-color:#bfcde0;background:#fbfdff}.btn-soft{background:#edf3ff;color:#2553cb}.btn-lg{min-height:48px;padding:12px 19px;border-radius:14px}.btn-glass{background:rgba(255,255,255,.09)!important;color:#fff!important;border:1px solid rgba(255,255,255,.18)!important;backdrop-filter:blur(10px)}

/* Commercial hero */
.module-hero,.premium-module,.dashboard-hero,.customer360-hero,.detail-hero{border-radius:26px;background:
  radial-gradient(circle at 88% 22%,rgba(123,162,255,.28),transparent 14rem),
  linear-gradient(118deg,#0b1c38 0%,#15366e 62%,#324bc1 100%);box-shadow:0 23px 55px rgba(21,53,111,.16);border:1px solid rgba(255,255,255,.08)}
.module-hero,.premium-module{min-height:124px;padding:24px 26px}.module-hero:after,.premium-module:after{width:330px;height:330px;right:-130px;top:-180px;border:1px solid rgba(255,255,255,.08);background:transparent}.module-hero h1,.premium-module h1{font-size:26px;margin:5px 0 7px}.module-hero p,.premium-module p{font-size:12px;line-height:1.6;color:#c7d4e9;max-width:760px}.module-actions{gap:10px}.dashboard-hero{padding:29px 31px;min-height:205px}.dashboard-hero h1{font-size:36px!important;line-height:1.08}.dashboard-hero p{font-size:13px;max-width:660px;line-height:1.65}.hero-kicker{color:#90c9ff!important}

/* KPIs */
.kpi-grid{gap:15px}.kpi{border-radius:21px;padding:19px 20px;min-height:133px;border-color:#e0e7f0;box-shadow:0 8px 24px rgba(15,23,42,.04);transition:.2s ease}.kpi:hover{transform:translateY(-3px);box-shadow:0 16px 34px rgba(15,23,42,.075);border-color:#cfdbea}.kpi-label{font-size:12px!important;color:#617087}.kpi-value{font-size:27px;margin-top:15px}.kpi-foot{font-size:10.5px!important;line-height:1.5}.kpi-icon{width:38px;height:38px;border-radius:12px}

/* Module menus */
.mp-menu{gap:14px}.mp-tile{position:relative;overflow:hidden;min-height:142px;padding:20px;border:1px solid #e0e7f0;border-radius:21px;background:linear-gradient(145deg,#fff,#fbfcff);box-shadow:0 8px 24px rgba(15,23,42,.04);transition:.22s}.mp-tile:after{content:"→";position:absolute;right:18px;bottom:14px;width:30px;height:30px;border-radius:10px;display:grid;place-items:center;background:#f0f4fb;color:#61728a;font-weight:900;transition:.2s}.mp-tile:hover{transform:translateY(-4px);border-color:#becdf0;box-shadow:0 18px 38px rgba(28,57,105,.09)}.mp-tile:hover:after{background:#2f67f5;color:#fff}.mp-tile .quick-icon{width:43px;height:43px;border-radius:13px;margin-bottom:15px;background:linear-gradient(145deg,#eff5ff,#f6f2ff);color:#315fea}.mp-tile strong{font-size:14px}.mp-tile p{font-size:10.5px!important;line-height:1.55;color:#7a899d;margin:6px 45px 0 0}

/* Forms */
.section-title{margin-bottom:18px}.section-no{width:34px;height:34px;border-radius:11px;background:linear-gradient(145deg,#edf3ff,#f2efff);color:#3d58dc;font-size:10px}.section-title h3{font-size:15px!important;letter-spacing:-.015em;margin:1px 0 4px}.section-title p{font-size:10.5px!important;line-height:1.5;color:#7b889b}.field>span{font-size:10px!important;letter-spacing:.01em;color:#526279;font-weight:820;margin-bottom:7px}.field input,.field select,.field textarea,input,select,textarea{border-color:#d9e2ee!important;border-radius:13px!important;background:#fff;color:#152033;transition:.17s}.field input,.field select{min-height:46px;padding:0 13px!important}.field textarea{min-height:102px;padding:12px 13px!important;line-height:1.55}.field input:hover,.field select:hover,.field textarea:hover{border-color:#c4d0e1!important}.field input:focus,.field select:focus,.field textarea:focus,input:focus,select:focus,textarea:focus{outline:none;border-color:#7899fa!important;box-shadow:0 0 0 4px rgba(45,99,245,.075)!important;background:#fff}.form-grid{gap:14px 15px}.form-actions{gap:10px;padding-top:16px}.filter-bar{background:#fff;border-bottom:1px solid #e6ecf3;padding:15px!important;gap:12px}.table-card{overflow:hidden}

/* Tables / list pages */
.table-wrap{overflow:auto}.data-table,.report-table,table{border-collapse:separate;border-spacing:0}.data-table th,.report-table th,.table-card table th{background:#f8fafc;color:#607089;font-size:9px!important;letter-spacing:.075em;text-transform:uppercase;font-weight:900;border-bottom:1px solid #e0e7ef;padding:12px 13px}.data-table td,.report-table td,.table-card table td{padding:13px!important;border-bottom:1px solid #edf1f5;color:#233149;font-size:11px;vertical-align:middle}.data-table tbody tr:hover,.report-table tbody tr:hover,.table-card table tbody tr:hover{background:#f8fbff}.pagination{border-top:1px solid #e8edf3;padding:15px!important}.pagination .page-btn{border-radius:11px!important}

/* Dashboard */
.quick-command-card{padding:21px}.quick-grid{gap:12px}.quick-action{min-height:76px;border-radius:17px;padding:13px 15px;background:linear-gradient(145deg,#fff,#fbfcff);box-shadow:var(--shadow-xs)}.quick-action:hover{box-shadow:0 12px 28px rgba(31,59,108,.08);border-color:#c6d3e8}.quick-action strong{font-size:12px}.quick-action small{font-size:9.5px;line-height:1.4}.monitor-grid{gap:15px}.monitor-card{padding:20px!important;border-radius:22px;min-height:180px}.monitor-label{font-size:9px!important;letter-spacing:.16em!important}.monitor-name{font-size:17px!important;margin-top:15px}.monitor-amount{font-size:23px!important}.monitor-meta{font-size:10.5px!important;line-height:1.65}.activity{padding:13px 0}.activity strong{font-size:11px}.activity small,.activity time{font-size:9.5px;line-height:1.5}.attention-strip>a{border-radius:17px;padding:14px 16px}.attention-strip strong{font-size:11px}.attention-strip small{font-size:9.5px}

/* Customer master */
.customer-master-grid{grid-template-columns:minmax(390px,.72fr) minmax(0,1.28fr);gap:18px}.customer-search-panel{top:100px}.customer-stage{min-height:470px}.customer-empty-state{min-height:420px}.customer-empty-state h3{font-size:18px}.customer-empty-state p{font-size:11px}.search-help{margin-top:14px!important;padding:12px 13px;border-radius:13px;background:#f7f9fc;border:1px solid #e8edf4;color:#718096;font-size:10px!important;line-height:1.6}.search-help span{font-size:8px!important;background:#eaf0fb;color:#415678;border-radius:6px;padding:3px 6px;margin-right:4px;font-weight:900;letter-spacing:.08em}.stage-head h2{font-size:25px!important;letter-spacing:-.035em}.stage-head h3{font-size:15px!important}.stage-head p{font-size:10.5px!important;line-height:1.5}.customer-master-summary{gap:10px}.customer-master-summary>div{padding:13px;border-radius:14px;background:#f8fafc;border-color:#e7ecf2}.customer-master-summary span{font-size:8.5px}.customer-master-summary strong{font-size:11.5px}.address-card{padding:15px;border-radius:17px}.address-card h4{font-size:12px;line-height:1.55}.address-card p{font-size:10px}.match-row{padding:13px;border-radius:15px}.match-copy strong{font-size:12px}.match-copy small{font-size:9.5px}.empty-orb{width:76px;height:76px;border-radius:24px}

/* New order — eliminate overflow and make builder commercial */
.premium-order-builder{grid-template-columns:minmax(0,1.08fr) minmax(460px,.92fr)!important;gap:18px!important;align-items:start}.order-left-column{gap:16px}.product-builder-card{min-width:0;max-width:100%;overflow:hidden!important;top:94px!important}.product-toolbar{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:10px!important}.product-toolbar .product-search-field{grid-column:1/-1!important}.product-toolbar .field{min-width:0}.product-master-list{max-height:410px;border:1px solid #e6ebf2;border-radius:16px;background:#fff;padding:4px!important;overflow:auto}.product-row{grid-template-columns:minmax(0,1fr) auto auto!important;gap:10px!important;margin:0;padding:11px 9px!important;border-bottom:1px solid #edf1f5!important;border-radius:11px!important}.product-main{min-width:0}.product-main strong{font-size:11.5px!important;white-space:normal}.product-main small{font-size:9.5px!important;line-height:1.4;white-space:normal}.product-price{font-size:11px!important}.product-add{width:38px!important;height:36px!important;border-radius:11px!important;font-size:10px!important;white-space:nowrap}.suggested-chip-row{padding-bottom:8px}.suggested-item{flex-basis:210px!important;padding:11px!important;border-radius:14px!important}.suggested-item b{font-size:10px!important}.suggested-item small{font-size:9px!important}.cart-heading{padding-top:16px!important}.cart-heading h3{font-size:15px!important}.premium-cart-row{border-radius:16px!important;border:1px solid #e6ebf2!important;padding:13px!important;margin-bottom:9px;background:#fff!important}.cart-row-top strong{font-size:11.5px!important}.cart-row-top small{font-size:9px!important}.qty-stepper button{width:36px!important;height:36px!important}.qty-stepper input{height:36px!important}.premium-summary{border-radius:16px!important;background:linear-gradient(145deg,#f7faff,#f3f6fc)!important;border:1px solid #e3e9f2!important;padding:13px!important}.summary-row{font-size:10.5px!important}.summary-row.total{font-size:14px!important}.order-save-strip{border-radius:16px;padding:12px 14px}.step-rail span{font-size:9.5px!important;min-height:36px}.address-radio{min-height:102px;padding:13px}.address-radio strong{font-size:11px}.address-radio small{font-size:9.5px}

/* Service */
.service-builder{gap:18px}.service-builder .premium-panel{min-height:430px}.category-picker{border-radius:14px!important}.category-result-list{border-radius:15px!important;box-shadow:var(--shadow)!important}.category-result{padding:11px 12px!important;font-size:11px!important}.selected-customer{border-radius:16px!important;padding:13px!important}.selected-customer strong{font-size:12px!important}.selected-customer small{font-size:9.5px!important}.service-address-card{border-radius:16px!important}

/* Complaint detail — fixes merged text / commercial summary */
.detail-summary{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important;margin-bottom:16px!important}.detail-summary>div{min-width:0;padding:16px 17px!important;border:1px solid #e2e8f1!important;border-radius:17px!important;background:linear-gradient(145deg,#fff,#f9fbfe)!important;box-shadow:var(--shadow-xs)}.detail-summary>div.span-2{grid-column:span 2}.detail-summary span{display:block!important;font-size:8.5px!important;line-height:1.2!important;letter-spacing:.105em!important;text-transform:uppercase;color:#8290a3!important;font-weight:900!important;margin-bottom:8px!important}.detail-summary strong{display:block!important;font-size:12px!important;line-height:1.55!important;color:#15233a!important;overflow-wrap:anywhere}.detail-summary .status{display:inline-flex!important;font-size:9px!important}.detail-hero h1{font-size:30px!important}

/* Repeat Order v1.3 customer-first / Android-style receipt */
.repeat-page-shell{display:grid;grid-template-columns:minmax(340px,.68fr) minmax(0,1.32fr);gap:18px;align-items:start}.repeat-customer-panel{position:sticky;top:98px;padding:20px}.repeat-customer-panel .section-title{margin-bottom:14px}.repeat-customer-search{position:relative}.repeat-customer-search input{width:100%;height:48px;padding-left:44px!important}.repeat-customer-search .search-icon{left:14px}.repeat-search-note{font-size:9.5px;color:#8390a4;line-height:1.55;margin:9px 2px 0}.repeat-customer-results{display:grid;gap:7px;margin-top:12px;max-height:430px;overflow:auto;padding-right:2px}.repeat-customer-row{width:100%;display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:11px;align-items:center;text-align:left;border:1px solid #e2e8f1;border-radius:15px;background:#fff;padding:11px;cursor:pointer;transition:.17s}.repeat-customer-row:hover,.repeat-customer-row.active{border-color:#a8bffb;background:#f7f9ff;box-shadow:0 8px 20px rgba(42,89,203,.07);transform:translateY(-1px)}.repeat-customer-avatar{width:42px;height:42px;border-radius:13px;display:grid;place-items:center;background:linear-gradient(145deg,#eaf2ff,#f2edff);color:#315eea;font-weight:900}.repeat-customer-copy{min-width:0}.repeat-customer-copy strong,.repeat-customer-copy small{display:block}.repeat-customer-copy strong{font-size:11.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.repeat-customer-copy small{font-size:9px;color:#8290a3;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.repeat-customer-chevron{font-size:18px;color:#9aa8ba}.repeat-history-stage{min-width:0}.repeat-selected-customer{display:flex;align-items:center;gap:13px;padding:18px 19px;margin-bottom:12px;border:1px solid #dce5f2;border-radius:20px;background:linear-gradient(135deg,#fff,#f7faff);box-shadow:var(--shadow-sm)}.repeat-selected-customer .repeat-customer-avatar{width:48px;height:48px;border-radius:15px}.repeat-selected-copy{min-width:0;flex:1}.repeat-selected-copy .eyebrow{margin-bottom:5px}.repeat-selected-copy h2{font-size:19px;margin:0;letter-spacing:-.025em}.repeat-selected-copy p{font-size:10px;color:#7f8ca0;margin:4px 0 0}.repeat-selected-actions{display:flex;gap:8px;align-items:center}.repeat-scope-bar{display:flex;align-items:end;gap:10px;justify-content:space-between;padding:14px 16px;margin-bottom:12px;border:1px solid #e1e7ef;border-radius:18px;background:#fff}.repeat-scope-info strong{display:block;font-size:12px}.repeat-scope-info small{display:block;font-size:9.5px;color:#8490a2;margin-top:3px}.repeat-scope-controls{display:flex;gap:8px;align-items:end}.repeat-scope-controls .field{min-width:185px}.repeat-order-list{display:grid;gap:13px}.repeat-order-commercial{overflow:hidden;border:1px solid #dde5ef;border-radius:21px;background:#fff;box-shadow:0 10px 26px rgba(15,23,42,.045);transition:.2s}.repeat-order-commercial:hover{border-color:#c5d3e6;box-shadow:0 18px 38px rgba(21,46,86,.085);transform:translateY(-2px)}.repeat-order-head{display:flex;justify-content:space-between;gap:14px;padding:17px 18px 14px;border-bottom:1px solid #edf1f5}.repeat-order-id{font-size:10px;font-weight:900;letter-spacing:.11em;color:#2f62e7}.repeat-order-title{font-size:16px;font-weight:850;letter-spacing:-.02em;margin:5px 0 2px}.repeat-order-sub{font-size:9.5px;color:#8290a3;line-height:1.55}.repeat-order-badges{display:flex;gap:6px;align-items:flex-start;flex-wrap:wrap;justify-content:flex-end}.repeat-chip{display:inline-flex;align-items:center;min-height:25px;padding:5px 8px;border-radius:999px;font-size:8.5px;font-weight:900;letter-spacing:.035em;background:#eef3ff;color:#405bb5}.repeat-chip.success{background:#e9f9f0;color:#16805c}.repeat-chip.warn{background:#fff6e9;color:#a65c08}.repeat-order-info{display:grid;grid-template-columns:1.1fr .65fr .7fr .75fr;gap:0;border-bottom:1px solid #edf1f5;background:#fafbfd}.repeat-order-info>div{padding:11px 14px;border-right:1px solid #edf1f5;min-width:0}.repeat-order-info>div:last-child{border-right:0}.repeat-order-info span,.repeat-order-info strong{display:block}.repeat-order-info span{font-size:7.5px;letter-spacing:.11em;text-transform:uppercase;font-weight:900;color:#94a0b1}.repeat-order-info strong{font-size:10px;color:#24334b;margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.repeat-address-line{padding:10px 17px;font-size:9.5px;color:#6f7e93;border-bottom:1px dashed #e4eaf1;line-height:1.55}.repeat-receipt{margin:12px 16px 0;border:1px solid #e4e9f0;border-radius:15px;overflow:hidden;background:#fff}.repeat-receipt-title{display:flex;justify-content:space-between;align-items:center;padding:9px 11px;background:linear-gradient(90deg,#f5f8fd,#fafbfe);border-bottom:1px solid #e5eaf1}.repeat-receipt-title strong{font-size:9px;letter-spacing:.09em;color:#566783}.repeat-receipt-title small{font-size:8px;color:#99a4b4}.repeat-receipt-head,.repeat-receipt-row{display:grid;grid-template-columns:minmax(0,1fr) 70px 110px;align-items:center}.repeat-receipt-head{padding:7px 11px;background:#fbfcfe;color:#8894a6;font-size:8px;font-weight:900;letter-spacing:.075em;border-bottom:1px solid #edf1f5}.repeat-receipt-head span:nth-child(2){text-align:center}.repeat-receipt-head span:last-child{text-align:right}.repeat-receipt-category{display:flex;align-items:center;justify-content:space-between;padding:7px 11px;background:#f4f7fc;color:#52627b;font-size:8.5px;font-weight:900;letter-spacing:.055em;border-top:1px solid #edf1f5}.repeat-receipt-category:first-of-type{border-top:0}.repeat-receipt-category small{font-size:7.5px;color:#92a0b2}.repeat-receipt-row{padding:9px 11px;border-top:1px solid #f0f3f7}.repeat-receipt-item{min-width:0}.repeat-receipt-item strong{display:block;font-size:10.5px;color:#1d2b42}.repeat-receipt-item small{display:block;font-size:8.5px;color:#8794a7;margin-top:2px;line-height:1.35}.repeat-receipt-qty{text-align:center;font-size:10px;font-weight:800;color:#35445b}.repeat-receipt-amt{text-align:right;font-size:10px;font-weight:850;color:#18263e}.repeat-order-foot{display:flex;align-items:center;gap:14px;padding:14px 17px}.repeat-order-total{flex:1}.repeat-order-total span,.repeat-order-total strong{display:block}.repeat-order-total span{font-size:8px;font-weight:900;letter-spacing:.1em;color:#8f9bad}.repeat-order-total strong{font-size:20px;color:#2853c5;margin-top:3px;letter-spacing:-.025em}.repeat-order-foot .btn{min-width:175px}.repeat-empty-stage{min-height:480px;display:grid;place-items:center;text-align:center;border:1px dashed #d7e0eb;border-radius:22px;background:linear-gradient(145deg,#fff,#f8faff);padding:40px}.repeat-empty-stage .empty-orb{margin:0 auto 15px}.repeat-empty-stage h3{font-size:18px;margin:0 0 7px}.repeat-empty-stage p{font-size:10.5px;line-height:1.6;color:#7c8a9e;max-width:440px;margin:0 auto}.repeat-history-count{font-size:9px;color:#8290a3;font-weight:750}

/* Notifications / modals */
.notification-panel{border-radius:18px!important;border-color:#dce4ef!important;box-shadow:var(--shadow-lg)!important}.app-modal-card{border-radius:24px!important;border:1px solid #dfe6ef!important;box-shadow:var(--shadow-lg)!important}.modal-head h2{font-size:21px!important}.modal-head p{font-size:10.5px!important;line-height:1.5}.floating-toast{border-radius:14px!important}

/* Login — commercial */
.login-body{background:#eef3f9}.login-shell{min-height:100vh}.login-visual{background:
  radial-gradient(circle at 22% 78%,rgba(110,67,245,.24),transparent 17rem),
  radial-gradient(circle at 74% 18%,rgba(45,99,245,.23),transparent 20rem),
  linear-gradient(135deg,#0b1a31 0%,#112a52 54%,#101a2c 100%)}.login-visual h1{font-size:50px!important;line-height:1.08;letter-spacing:-.05em;max-width:720px}.login-visual h1 span{color:#8fc2ff}.login-visual p{font-size:13px!important;line-height:1.7;max-width:590px}.login-badge{font-size:9px!important;letter-spacing:.18em}.login-flow>div{border-radius:16px!important;background:rgba(255,255,255,.07)!important;border-color:rgba(255,255,255,.14)!important;backdrop-filter:blur(8px)}.login-panel{background:linear-gradient(145deg,#f9fbfe,#eef3f8)}.login-card{width:min(430px,92vw)!important;padding:30px!important;border-radius:27px!important;border:1px solid rgba(218,226,237,.95)!important;box-shadow:0 30px 80px rgba(17,35,61,.15)!important}.login-heading h2{font-size:25px!important;letter-spacing:-.035em}.login-heading p{font-size:11px!important}.login-foot{font-size:9px!important}.password-wrap button{font-size:9px!important;border-radius:9px!important}

/* Responsive */
@media(max-width:1280px){.premium-order-builder{grid-template-columns:1fr!important}.product-builder-card{position:relative!important;top:auto!important}.product-master-list{max-height:360px}.repeat-page-shell{grid-template-columns:minmax(300px,.7fr) minmax(0,1.3fr)}}
@media(max-width:1100px){.repeat-page-shell{grid-template-columns:1fr}.repeat-customer-panel{position:static}.repeat-customer-results{max-height:300px}.detail-summary{grid-template-columns:1fr 1fr!important}.repeat-order-info{grid-template-columns:1fr 1fr}.repeat-order-info>div:nth-child(2){border-right:0}.repeat-order-info>div:nth-child(-n+2){border-bottom:1px solid #edf1f5}}
@media(max-width:820px){html{font-size:14px}.main{margin-left:0}.sidebar{display:none}.topbar{height:66px;padding:0 13px;gap:9px}.global-search-wrap{width:auto;flex:1;max-width:none}.global-search-wrap input{height:43px;font-size:12px}.top-icon-button{width:40px;height:40px}.top-avatar{width:38px;height:38px}.content{padding:16px 12px 96px}.module-hero,.premium-module{min-height:0;padding:20px 18px;border-radius:21px}.module-hero h1,.premium-module h1{font-size:22px}.module-hero p,.premium-module p{font-size:10.5px}.dashboard-hero{padding:22px 18px;border-radius:21px}.dashboard-hero h1{font-size:27px!important}.dashboard-hero p{font-size:10.5px}.hero-actions{display:flex}.kpi{border-radius:18px}.card,.premium-panel,.table-card{border-radius:19px}.card-pad,.premium-panel{padding:16px}.mp-menu{grid-template-columns:1fr 1fr!important}.mp-tile{min-height:128px;padding:16px}.mp-tile p{margin-right:0}.customer-master-grid{grid-template-columns:1fr}.customer-search-panel{position:static}.detail-summary{grid-template-columns:1fr 1fr!important}.detail-summary>div.span-2{grid-column:span 2}.repeat-page-shell{grid-template-columns:1fr}.repeat-selected-customer{align-items:flex-start;flex-wrap:wrap}.repeat-selected-actions{width:100%}.repeat-selected-actions .btn{flex:1}.repeat-scope-bar{align-items:stretch;flex-direction:column}.repeat-scope-controls{width:100%}.repeat-scope-controls .field{flex:1;min-width:0}.repeat-order-head{padding:15px}.repeat-order-info{grid-template-columns:1fr 1fr}.repeat-order-foot{flex-wrap:wrap}.repeat-order-total{width:100%}.repeat-order-foot .btn{flex:1;min-width:0}.product-toolbar{grid-template-columns:1fr 1fr!important}.product-toolbar .product-search-field{grid-column:1/-1!important}.mobile-nav{border-radius:18px 18px 0 0!important;background:rgba(7,18,33,.96)!important;backdrop-filter:blur(18px);border-top:1px solid rgba(255,255,255,.08)!important;box-shadow:0 -14px 40px rgba(5,14,28,.18)!important}}
@media(max-width:560px){.mp-menu{grid-template-columns:1fr!important}.premium-kpis{grid-template-columns:1fr 1fr}.quick-grid{grid-template-columns:1fr}.detail-summary{grid-template-columns:1fr!important}.detail-summary>div.span-2{grid-column:auto}.customer-master-summary{grid-template-columns:1fr!important}.customer-master-summary>div:first-child{grid-column:auto!important}.repeat-customer-row{grid-template-columns:38px minmax(0,1fr) auto;padding:10px}.repeat-customer-avatar{width:38px;height:38px}.repeat-order-head{display:block}.repeat-order-badges{justify-content:flex-start;margin-top:10px}.repeat-order-info{grid-template-columns:1fr}.repeat-order-info>div{border-right:0;border-bottom:1px solid #edf1f5}.repeat-order-info>div:last-child{border-bottom:0}.repeat-receipt-head,.repeat-receipt-row{grid-template-columns:minmax(0,1fr) 46px 82px}.repeat-receipt{margin-left:10px;margin-right:10px}.repeat-order-foot{padding:13px}.repeat-order-foot .btn{width:100%;flex-basis:100%}.product-toolbar{grid-template-columns:1fr!important}.product-toolbar .product-search-field{grid-column:auto!important}.product-row{grid-template-columns:minmax(0,1fr) auto!important}.product-price{grid-row:2;grid-column:1;text-align:left}.product-add{grid-row:1/3;grid-column:2}.login-visual{display:none!important}.login-panel{width:100%!important;min-height:100vh}.login-card{padding:23px 18px!important;border-radius:22px!important}.period-tabs{max-width:100%;overflow:auto}}

.repeat-search-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;position:relative}.repeat-search-row .search-icon{left:14px;top:24px}.repeat-search-row input{padding-left:44px!important}.repeat-search-row .btn{min-width:86px}@media(max-width:560px){.repeat-search-row{grid-template-columns:1fr}.repeat-search-row .btn{width:100%}}

/* ========================================================================
   SSR CUBE EMPLOYEE WEB — v1.4.0 ULTRA FRIENDLY WORKFLOW
   Focus: stable order entry, visible pickers, payment parity and commercial UI
   ======================================================================== */
:root{--v14-blue:#2f63f3;--v14-indigo:#5548ed;--v14-navy:#0d1f3f;--v14-soft:#f6f8fc;--v14-border:#dfe7f1;--v14-shadow:0 18px 46px rgba(31,49,79,.09);--v14-shadow-sm:0 8px 24px rgba(31,49,79,.07)}
.order-hero-v14{background:radial-gradient(circle at 85% 20%,rgba(103,142,255,.34),transparent 24rem),linear-gradient(125deg,#0c1c38,#17376f 58%,#4a43d9);box-shadow:0 22px 52px rgba(22,43,90,.17)}
.order-save-v14{margin-bottom:14px;border:1px solid #dce6f4;background:linear-gradient(90deg,#fff,#f7faff);box-shadow:var(--v14-shadow-sm)}
.order-step-v14{margin-bottom:18px}.order-step-v14 span{transition:.2s}.order-step-v14 span.done{background:#ecfdf3!important;border-color:#b8ebce!important;color:#18794e!important}.order-step-v14 span.done b{background:#d7f7e4!important;color:#137449!important}.order-step-v14 span.active{box-shadow:0 8px 22px rgba(47,99,243,.13)}
.order-flow-v14,.service-flow-v14{display:grid;gap:18px}.order-stage-card,.service-stage-v14{padding:22px 24px!important;border:1px solid #e1e8f2!important;border-radius:24px!important;box-shadow:var(--v14-shadow-sm)!important;overflow:visible!important}.order-stage-card:hover,.service-stage-v14:hover{border-color:#d5e0ee!important}
.stage-head-v14{display:flex;align-items:flex-start;gap:14px;margin-bottom:20px}.stage-number-v14{width:38px;height:38px;flex:0 0 38px;border-radius:13px;display:grid;place-items:center;background:linear-gradient(145deg,#edf3ff,#e8eaff);color:#345be0;font-weight:900;font-size:12px;box-shadow:inset 0 0 0 1px #dfe7ff}.stage-number-v14.service-num{background:linear-gradient(145deg,#f4ecff,#eee8ff);color:#7247d7;box-shadow:inset 0 0 0 1px #e5d9ff}.stage-number-v14.tick-stage{background:#ecfdf3;color:#198754;box-shadow:inset 0 0 0 1px #c9f0da}.stage-head-v14>div{min-width:0;flex:1}.stage-kicker{display:block;font-size:9px;letter-spacing:.13em;color:#7a8ba6;font-weight:900;text-transform:uppercase;margin-bottom:4px}.stage-head-v14 h2{font-size:19px;line-height:1.25;letter-spacing:-.025em;margin:0 0 4px;color:#15233b}.stage-head-v14 p{font-size:11px;line-height:1.55;color:#7b899c;margin:0;max-width:780px}.stage-side-link{margin-left:auto;font-size:11px;font-weight:850;color:#2d61ec;padding:9px 11px;border-radius:10px;background:#f4f7ff;border:1px solid #e1e9ff;white-space:nowrap}
.customer-shortcuts-v14{display:grid;gap:11px;margin-bottom:17px}.shortcut-section-v14>span{display:block;font-size:8.5px;letter-spacing:.12em;text-transform:uppercase;font-weight:900;color:#8b98aa;margin-bottom:7px}.shortcut-chips-v14{display:flex;gap:8px;overflow:auto;padding-bottom:3px}.customer-chip-v14{min-width:180px;text-align:left;border:1px solid #e1e7f0;background:#fff;border-radius:14px;padding:10px 12px;cursor:pointer;transition:.16s}.customer-chip-v14:hover{transform:translateY(-1px);border-color:#b8caff;box-shadow:0 8px 18px rgba(47,99,243,.08)}.customer-chip-v14 b,.customer-chip-v14 small{display:block}.customer-chip-v14 b{font-size:10.5px;color:#23314a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.customer-chip-v14 small{font-size:9px;color:#8a97a9;margin-top:3px}
.customer-search-v14{position:relative;z-index:8}.search-input-v14{position:relative}.search-input-v14>span{position:absolute;left:14px;top:50%;transform:translateY(-50%);display:grid;color:#91a0b5}.search-input-v14 svg{width:18px;height:18px}.search-input-v14 input{padding-left:43px!important;height:50px!important;font-size:13px!important;border-radius:14px!important;background:#fbfcfe!important}.search-input-v14 input:focus{background:#fff!important;box-shadow:0 0 0 4px rgba(47,99,243,.08)!important}
.inline-picker-results{display:none;position:relative;z-index:9;margin-top:8px;border:1px solid #dce5f1;border-radius:17px;background:#fff;box-shadow:0 20px 44px rgba(30,48,77,.13);overflow:auto;max-height:330px}.inline-picker-results.show{display:block}.customer-result-v14{width:100%;display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:11px;border:0;border-bottom:1px solid #edf1f6;background:#fff;padding:11px 13px;cursor:pointer;text-align:left}.customer-result-v14:last-child{border-bottom:0}.customer-result-v14:hover{background:#f7faff}.customer-result-avatar{width:40px;height:40px;border-radius:13px;display:grid;place-items:center;background:#edf3ff;color:#315ada;font-size:11px;font-weight:900}.customer-result-avatar.service{background:#f3edff;color:#754bd6}.customer-result-copy{min-width:0}.customer-result-copy strong,.customer-result-copy small{display:block}.customer-result-copy strong{font-size:12px;color:#1d2c44}.customer-result-copy small{font-size:9.5px;color:#8290a4;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.customer-result-type{font-size:8.5px;font-weight:850;color:#52627b;background:#f1f5f9;padding:5px 8px;border-radius:999px}.inline-loading-v14,.inline-empty-v14{padding:16px 17px;font-size:10.5px;color:#718096}.inline-empty-v14 strong,.inline-empty-v14 span,.inline-empty-v14 a{display:block}.inline-empty-v14 strong{font-size:12px;color:#233149}.inline-empty-v14 span{margin-top:4px}.inline-empty-v14 a{color:#2d61ec;font-weight:850;margin-top:8px}
.selected-customer-v14{display:none;align-items:center;gap:12px;margin-top:14px;padding:14px;border:1px solid #cbd9ff;border-radius:18px;background:linear-gradient(110deg,#f6f9ff,#fff);box-shadow:0 8px 20px rgba(47,99,243,.05)}.selected-customer-v14.show{display:flex}.selected-avatar-v14{width:46px;height:46px;border-radius:15px;display:grid;place-items:center;background:linear-gradient(145deg,#eaf1ff,#dfe9ff);color:#315ada;font-weight:900}.service-avatar-v14{background:linear-gradient(145deg,#f5efff,#eadfff);color:#754bd6}.selected-copy-v14{min-width:0;flex:1}.selected-copy-v14 span,.selected-copy-v14 strong,.selected-copy-v14 small{display:block}.selected-copy-v14 span{font-size:8px;letter-spacing:.1em;text-transform:uppercase;font-weight:900;color:#8a97aa}.selected-copy-v14 strong{font-size:13px;color:#1d2c44;margin-top:3px}.selected-copy-v14 small{font-size:9.5px;color:#7c8a9d;margin-top:3px}.selected-actions-v14{display:flex;gap:7px;flex-wrap:wrap}
.address-stage-v14{margin-top:17px}.address-option-v14{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}.address-option-card-v14{min-height:105px!important;border-radius:16px!important;padding:13px!important;background:#fbfcfe!important}.address-option-card-v14.active{border-color:#6e8df5!important;background:linear-gradient(145deg,#f4f7ff,#fff)!important;box-shadow:0 0 0 3px rgba(47,99,243,.07)!important}.address-option-card-v14 strong{font-size:11px!important}.address-option-card-v14 small{font-size:10px!important;line-height:1.5!important}.address-option-card-v14 em{font-size:9px!important}
.billing-grid-v14,.payment-grid-v14{max-width:960px}.payment-stage-v14{background:linear-gradient(145deg,#fff,#fbfcff)!important}
.product-stage-v14{padding-bottom:24px!important}.suggested-products-v14{margin-bottom:14px}.suggested-head-v14{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:7px}.suggested-head-v14 span{font-size:9px;font-weight:900;letter-spacing:.08em;color:#728199;text-transform:uppercase}.suggested-head-v14 small{font-size:9px;color:#98a4b5}.suggested-row-v14{display:flex;gap:8px;overflow:auto;padding-bottom:5px}.suggested-item-v14{min-width:205px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 9px;align-items:center;text-align:left;border:1px solid #e1e7f0;background:#fff;border-radius:14px;padding:10px 11px;cursor:pointer}.suggested-item-v14:hover{border-color:#b9cafa;background:#f8faff}.suggested-item-v14 b{font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.suggested-item-v14 small{font-size:8.5px;color:#8795a8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.suggested-item-v14 em{grid-column:2;grid-row:1/3;color:#2f63f3;font-style:normal;font-size:9px;font-weight:900}
.product-finder-v14{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(180px,.65fr) minmax(180px,.65fr);gap:10px;align-items:end}.product-finder-v14 .field{min-width:0}.product-status-v14{margin:10px 0;border-bottom:0!important;padding:0!important}.product-results-v14{display:grid;gap:7px;max-height:455px;overflow:auto;padding:2px 3px 2px 0}.product-result-card-v14{display:grid;grid-template-columns:minmax(0,1fr) 120px 105px;gap:12px;align-items:center;padding:12px 13px;border:1px solid #e3e9f2;border-radius:15px;background:#fff;transition:.16s}.product-result-card-v14:hover,.product-result-card-v14.keyboard-focus{border-color:#b8cafb;background:#f9fbff;box-shadow:0 8px 18px rgba(47,99,243,.06)}.product-result-card-v14.in-cart{border-color:#c9d8ff;background:#f8faff}.product-result-main-v14{min-width:0}.product-result-main-v14 strong,.product-result-main-v14 small{display:block}.product-result-main-v14 strong{font-size:12px;color:#1a2941}.product-result-main-v14 small{font-size:9.5px;color:#8190a4;margin-top:3px;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.product-result-price-v14 span,.product-result-price-v14 strong{display:block;text-align:right}.product-result-price-v14 span{font-size:7.5px;letter-spacing:.1em;color:#9aa5b5;font-weight:900}.product-result-price-v14 strong{font-size:11.5px;color:#17253b;margin-top:2px}.product-add-v14{height:38px;border:0;border-radius:11px;background:linear-gradient(135deg,#eef3ff,#e8edff);color:#315ee8;font-size:10px;font-weight:900;cursor:pointer}.product-add-v14:hover{background:linear-gradient(135deg,#2f63f3,#5548ed);color:#fff}.product-empty-v14{min-height:160px;border:1px dashed #d7e1ef;border-radius:18px;background:#fafcff;display:grid;place-items:center;align-content:center;text-align:center;padding:24px}.product-empty-v14 strong,.product-empty-v14 span{display:block}.product-empty-v14 strong{font-size:13px;color:#26344b}.product-empty-v14 span{font-size:10px;color:#8b98aa;margin-top:4px}.product-empty-icon{width:48px;height:48px;border-radius:15px;background:#eef3ff;color:#345de4;display:grid;place-items:center;font-size:24px;margin-bottom:8px}
.selected-items-stage-v14{padding-bottom:12px!important}.selected-items-stage-v14.pulse-stage{box-shadow:0 0 0 4px rgba(47,99,243,.07),var(--v14-shadow)!important}.count-badge-v14{margin-left:auto;background:#eef3ff!important;color:#315ada!important;border:1px solid #dfe8ff}.selected-items-v14{display:grid;gap:9px}.cart-empty-v14{min-height:118px;border:1px dashed #d9e2ee;border-radius:17px;background:#fbfcfe;display:grid;place-items:center;align-content:center;text-align:center;padding:20px}.cart-empty-v14 strong{font-size:12px;color:#2a384f}.cart-empty-v14 span{font-size:9.5px;color:#8a97a9;margin-top:4px}.selected-item-row-v14{display:grid;grid-template-columns:minmax(250px,.9fr) minmax(0,1.5fr);gap:14px;align-items:center;padding:13px;border:1px solid #e3e9f2;border-radius:17px;background:#fff}.selected-item-main-v14{display:grid;grid-template-columns:34px minmax(0,1fr);gap:10px;align-items:center;min-width:0}.selected-item-index{width:32px;height:32px;border-radius:10px;background:#f1f5fb;color:#60718d;font-size:9px;font-weight:900;display:grid;place-items:center}.selected-item-main-v14 strong,.selected-item-main-v14 small{display:block}.selected-item-main-v14 strong{font-size:11.5px;color:#1b2940}.selected-item-main-v14 small{font-size:9px;color:#8492a6;margin-top:3px}.selected-item-controls-v14{display:grid;grid-template-columns:minmax(170px,.8fr) minmax(190px,1fr) minmax(110px,.55fr) 40px;gap:9px;align-items:end;min-width:0}.selected-item-controls-v14 label>span,.line-total-v14>span{display:block;font-size:7.5px;letter-spacing:.095em;color:#8d99aa;font-weight:900;margin-bottom:5px}.qty-control-v14>div{display:grid;grid-template-columns:40px minmax(92px,1fr) 40px;border:1px solid #dce4ef;border-radius:12px;overflow:hidden;height:42px;background:#fff}.qty-control-v14 button{border:0;background:#f5f8fc;color:#26364f;font-size:17px;cursor:pointer}.qty-control-v14 input{min-width:0;width:100%;border:0!important;outline:0!important;text-align:center;font-weight:850;font-size:13px!important;padding:0 6px!important;background:#fff!important;box-shadow:none!important}.money-input-v14{position:relative}.money-input-v14 b{position:absolute;left:12px;top:50%;transform:translateY(-50%);font-size:12px;color:#73829a}.money-input-v14 input{width:100%;height:42px!important;padding-left:28px!important;border-radius:12px!important;font-size:13px!important;font-weight:750!important}.line-total-v14{min-width:0;padding:0 4px 7px}.line-total-v14 strong{font-size:12px;color:#1a2941;white-space:nowrap}.remove-line-v14{width:40px;height:42px;border:0;border-radius:12px;background:#fff0f2;color:#d33b54;font-size:18px;cursor:pointer}.remove-line-v14:hover{background:#ffe2e7}
.order-submit-v14{position:sticky;bottom:14px;z-index:12;display:flex;align-items:center;gap:16px;padding:12px 14px 12px 17px;border:1px solid rgba(209,220,236,.95);border-radius:21px;background:rgba(255,255,255,.94);backdrop-filter:blur(18px);box-shadow:0 18px 48px rgba(22,40,72,.15)}.order-total-v14{display:flex;align-items:center;gap:20px;flex:1}.order-total-v14>span{display:block}.order-total-v14 small,.order-total-v14 strong{display:block}.order-total-v14 small{font-size:7.5px;letter-spacing:.1em;color:#8794a7;font-weight:900}.order-total-v14 strong{font-size:12px;color:#26364d;margin-top:3px}.grand-total-v14{margin-left:auto;padding-left:20px;border-left:1px solid #e4e9f1}.grand-total-v14 strong{font-size:20px;color:#2454d3;letter-spacing:-.025em}.create-order-v14{min-width:220px;height:50px;border-radius:15px!important;font-size:12px!important;box-shadow:0 12px 26px rgba(47,99,243,.24)!important}

/* Service entry */
.service-flow-v14{max-width:1180px;margin:0 auto}.service-stage-v14{min-height:0!important}.category-picker-v14{position:relative}.category-meta-v14{display:flex;justify-content:space-between;gap:10px;align-items:center;margin:7px 2px 0;font-size:9px;color:#8a97a9}.category-results-v14{display:none;margin-top:8px;border:1px solid #dfe6f1;border-radius:16px;max-height:300px;overflow:auto;box-shadow:var(--v14-shadow-sm);background:#fff}.category-results-v14.show{display:block}.category-result-v14{width:100%;display:flex;justify-content:space-between;align-items:center;gap:10px;border:0;border-bottom:1px solid #edf1f5;background:#fff;padding:10px 12px;text-align:left;cursor:pointer}.category-result-v14:last-child{border-bottom:0}.category-result-v14:hover{background:#faf8ff}.category-result-v14 span{font-size:11px;color:#223149}.category-result-v14 b{font-size:8px;color:#754bd6;background:#f2edff;padding:5px 7px;border-radius:999px}.selected-category-v14{align-items:center;gap:10px;padding:11px 12px;margin-top:10px;border:1px solid #dfd5ff;background:#f8f5ff;border-radius:14px}.selected-category-v14 span{font-size:8px;text-transform:uppercase;letter-spacing:.1em;color:#8a77bd;font-weight:900}.selected-category-v14 strong{font-size:11px;color:#5e3aad}.selected-category-v14 button{margin-left:auto;border:0;background:transparent;color:#6543bf;font-size:9px;font-weight:850;cursor:pointer}.service-submit-v14{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-top:17px;margin-top:17px;border-top:1px solid #edf1f5}.service-submit-v14>div:first-child strong,.service-submit-v14>div:first-child span{display:block}.service-submit-v14>div:first-child strong{font-size:12px;color:#24334a}.service-submit-v14>div:first-child span{font-size:9.5px;color:#8895a7;margin-top:3px}.service-submit-v14>div:last-child{display:flex;gap:8px}

/* Order details + payment parity */
.btn-payment{background:linear-gradient(135deg,#fff5e7,#ffedd5);color:#b85e09;border:1px solid #fed7aa;box-shadow:0 7px 16px rgba(217,119,6,.10)}.btn-payment:hover{background:linear-gradient(135deg,#f59e0b,#d97706);color:#fff;border-color:#d97706}.detail-status-v14{padding:10px 14px!important}.order-financial-v14,.service-summary-v14{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:14px}.service-summary-v14{grid-template-columns:repeat(4,minmax(0,1fr))}.financial-card-v14,.service-summary-card-v14{padding:16px 17px;border:1px solid #e1e8f1;border-radius:18px;background:linear-gradient(145deg,#fff,#f9fbfe);box-shadow:var(--v14-shadow-sm);min-width:0}.financial-card-v14 span,.financial-card-v14 strong,.financial-card-v14 small,.service-summary-card-v14 span,.service-summary-card-v14 strong,.service-summary-card-v14 small{display:block}.financial-card-v14>span,.service-summary-card-v14>span{font-size:8px;letter-spacing:.1em;text-transform:uppercase;color:#8794a7;font-weight:900}.financial-card-v14>strong{font-size:22px;letter-spacing:-.035em;color:#182740;margin-top:7px}.service-summary-card-v14>strong{font-size:13px;color:#1d2c44;margin-top:7px;line-height:1.45}.financial-card-v14 small,.service-summary-card-v14 small{font-size:9px;color:#8b98a9;margin-top:4px}.financial-card-v14.paid{border-color:#cdebd9;background:linear-gradient(145deg,#fff,#f3fff8)}.financial-card-v14.due{border-color:#f6d7b1;background:linear-gradient(145deg,#fff,#fff9ef)}.financial-card-v14.settled{border-color:#cdebd9;background:linear-gradient(145deg,#fff,#f3fff8)}.order-info-v14,.service-info-v14{margin-bottom:14px}.detail-grid-v14{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.detail-grid-v14>div{padding:12px 13px;border:1px solid #e6ebf2;border-radius:14px;background:#fbfcfe}.detail-grid-v14>div.wide{grid-column:1/-1}.detail-grid-v14 span,.detail-grid-v14 strong,.detail-grid-v14 small{display:block}.detail-grid-v14 span{font-size:8px;letter-spacing:.1em;text-transform:uppercase;color:#8b98aa;font-weight:900}.detail-grid-v14 strong{font-size:11px;color:#203049;margin-top:5px;line-height:1.5}.detail-grid-v14 small{font-size:9px;color:#8794a7;margin-top:3px}.order-detail-sections-v14{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(360px,.9fr);gap:14px;align-items:start}.order-detail-sections-v14 .timeline-section-v14{grid-column:2}.order-section-v14{overflow:hidden}.order-section-head-v14{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:17px 18px 13px;border-bottom:1px solid #edf1f5}.order-section-head-v14 h2{font-size:16px;margin:3px 0 3px;color:#1b2940}.order-section-head-v14 p{font-size:9.5px;color:#8794a7;margin:0}.order-items-list-v14{display:grid}.order-item-v14{display:grid;grid-template-columns:32px minmax(0,1fr) 70px 105px 110px auto;gap:10px;align-items:center;padding:12px 15px;border-bottom:1px solid #eef2f6}.order-item-v14:last-child{border-bottom:0}.order-item-num-v14{width:30px;height:30px;border-radius:10px;background:#f2f5fa;display:grid;place-items:center;font-size:9px;font-weight:900;color:#687993}.order-item-copy-v14{min-width:0}.order-item-copy-v14 strong,.order-item-copy-v14 small{display:block}.order-item-copy-v14 strong{font-size:11px;color:#1d2c44}.order-item-copy-v14 small{font-size:8.5px;color:#8a97a9;margin-top:3px}.order-item-metric-v14 span,.order-item-metric-v14 strong{display:block}.order-item-metric-v14 span{font-size:7px;letter-spacing:.08em;color:#96a1b1;font-weight:900}.order-item-metric-v14 strong{font-size:10.5px;color:#26364d;margin-top:4px}.order-item-metric-v14.amount strong{font-weight:900;color:#173a8d}.payment-list-v14{display:grid}.payment-row-v14{display:grid;grid-template-columns:40px minmax(0,1fr) auto;gap:11px;align-items:start;padding:12px 15px;border-bottom:1px solid #edf1f5}.payment-row-v14:last-child{border-bottom:0}.payment-icon-v14{width:38px;height:38px;border-radius:12px;background:#edf9f2;color:#168053;display:grid;place-items:center;font-size:15px;font-weight:900}.payment-copy-v14 strong,.payment-copy-v14 span,.payment-copy-v14 small{display:block}.payment-copy-v14 strong{font-size:12px;color:#17344d}.payment-copy-v14 span{font-size:9.5px;color:#4d5e76;margin-top:2px}.payment-copy-v14 small{font-size:8.5px;color:#8c98a9;margin-top:3px;line-height:1.4}.payment-row-v14 time{font-size:8px;color:#929dad;white-space:nowrap}.payment-empty-v14{padding:28px;text-align:center}.payment-empty-v14 strong,.payment-empty-v14 span{display:block}.payment-empty-v14 strong{font-size:12px;color:#2d3b51}.payment-empty-v14 span{font-size:9.5px;color:#8a97a9;margin-top:4px}.activity-list-v14{padding:4px 15px 10px}.payment-modal-v14{width:min(620px,100%)!important}.payment-balance-banner-v14{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:13px 15px;margin-bottom:14px;border:1px solid #f1d3a9;border-radius:15px;background:linear-gradient(100deg,#fffaf2,#fff)}.payment-balance-banner-v14 span{font-size:9px;color:#8a673e;font-weight:850;letter-spacing:.06em;text-transform:uppercase}.payment-balance-banner-v14 strong{font-size:18px;color:#a95608}.row-actions-v14{display:flex;gap:6px;align-items:center;white-space:nowrap}.payment-cell-v14 span{display:block;font-size:9px;color:#7e8c9f;line-height:1.5}.payment-cell-v14 strong{font-size:9.5px}.due-text-v14 strong{color:#bd5a0a}.paid-text-v14 strong{color:#138150}.orders-table-v14 th:last-child,.orders-table-v14 td:last-child{min-width:155px}.mobile-order-card-v14{padding:13px;border:1px solid #e4e9f1;border-radius:17px;background:#fff;margin-bottom:9px}.mobile-order-card-v14 .mobile-row-top small{display:block;font-size:8.5px;color:#8996a8;margin-top:3px}.mobile-order-customer-v14{padding:10px 0;border-bottom:1px solid #edf1f5}.mobile-order-customer-v14 strong,.mobile-order-customer-v14 span{display:block}.mobile-order-customer-v14 strong{font-size:11px}.mobile-order-customer-v14 span{font-size:9px;color:#8794a7;margin-top:3px}.mobile-order-money-v14{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;padding:10px 0}.mobile-order-money-v14 span{padding:8px;border-radius:11px;background:#f8fafc}.mobile-order-money-v14 span.due{background:#fff7ed}.mobile-order-money-v14 small,.mobile-order-money-v14 strong{display:block}.mobile-order-money-v14 small{font-size:7.5px;color:#8d99aa;text-transform:uppercase;font-weight:900}.mobile-order-money-v14 strong{font-size:10px;margin-top:3px}.mobile-order-actions-v14{display:flex;gap:7px}.mobile-order-actions-v14 .btn{flex:1}

/* Responsive v1.4 */
@media(max-width:1180px){.product-finder-v14{grid-template-columns:1fr 1fr}.product-search-main-v14{grid-column:1/-1}.selected-item-row-v14{grid-template-columns:1fr}.selected-item-controls-v14{grid-template-columns:minmax(170px,.9fr) minmax(190px,1fr) minmax(100px,.55fr) 40px}.order-detail-sections-v14{grid-template-columns:1fr}.order-detail-sections-v14 .timeline-section-v14{grid-column:auto}}
@media(max-width:900px){.order-stage-card,.service-stage-v14{padding:18px!important}.address-option-v14{grid-template-columns:1fr!important}.service-summary-v14{grid-template-columns:1fr 1fr}.order-item-v14{grid-template-columns:30px minmax(0,1fr) 70px 100px}.order-item-metric-v14.amount{grid-column:3}.order-item-v14>.status{grid-column:4;grid-row:2;justify-self:end}.order-submit-v14{bottom:76px}.order-total-v14{gap:11px}.order-total-v14>span:not(.grand-total-v14){display:none}}
@media(max-width:720px){.stage-head-v14{flex-wrap:wrap}.stage-side-link{margin-left:52px}.selected-customer-v14{align-items:flex-start;flex-wrap:wrap}.selected-actions-v14{width:100%;padding-left:58px}.selected-actions-v14 .btn{flex:1}.product-finder-v14{grid-template-columns:1fr}.product-search-main-v14{grid-column:auto}.product-result-card-v14{grid-template-columns:minmax(0,1fr) auto}.product-result-price-v14{display:none}.selected-item-controls-v14{grid-template-columns:1fr 1fr}.line-total-v14{padding:8px 10px;border-radius:11px;background:#f8fafc}.remove-line-v14{align-self:end}.order-submit-v14{padding:10px}.grand-total-v14{margin-left:0;padding-left:0;border-left:0;flex:1}.create-order-v14{min-width:155px}.order-financial-v14{grid-template-columns:1fr 1fr}.order-financial-v14 .financial-card-v14:first-child{grid-column:1/-1}.service-submit-v14{align-items:flex-start;flex-direction:column}.service-submit-v14>div:last-child{width:100%}.service-submit-v14>div:last-child .btn{flex:1}.order-item-v14{grid-template-columns:30px minmax(0,1fr) auto}.order-item-metric-v14{display:none}.order-item-v14>.status{grid-column:3;grid-row:1}.payment-row-v14{grid-template-columns:38px minmax(0,1fr)}.payment-row-v14 time{grid-column:2}.detail-grid-v14{grid-template-columns:1fr}}
@media(max-width:520px){.stage-head-v14 h2{font-size:17px}.stage-head-v14 p{font-size:10px}.customer-chip-v14{min-width:155px}.customer-result-v14{grid-template-columns:38px minmax(0,1fr)}.customer-result-type{grid-column:2;width:max-content}.selected-actions-v14{padding-left:0}.product-result-card-v14{padding:10px}.product-add-v14{width:88px}.selected-item-row-v14{padding:11px}.selected-item-controls-v14{grid-template-columns:1fr}.remove-line-v14{width:100%;height:36px}.order-submit-v14{display:block}.order-total-v14{margin-bottom:8px}.grand-total-v14 strong{font-size:18px}.create-order-v14{width:100%;min-width:0}.service-summary-v14,.order-financial-v14{grid-template-columns:1fr}.order-financial-v14 .financial-card-v14:first-child{grid-column:auto}.service-summary-card-v14{padding:13px}.module-actions .btn{font-size:10px}.mobile-order-money-v14{grid-template-columns:1fr 1fr}.mobile-order-money-v14 span:first-child{grid-column:1/-1}.mobile-order-actions-v14{flex-direction:column}.order-section-head-v14{align-items:flex-start;flex-direction:column}.order-section-head-v14 .btn{width:100%}}

/* =========================================================
   SSR CUBE Employee Web v1.5.0 — Readability & Work-Speed UI
   ========================================================= */
:root{--bg:#f3f6fb;--ink:#14213a;--muted:#61708a;--line:#dde5f0;--accent:#2f63f3;--accent2:#6548ee;--shadow:0 14px 34px rgba(22,43,77,.09);--radius:20px}
html,body{font-size:16px}body{background:linear-gradient(180deg,#f7f9fd 0,#f2f6fb 42%,#f5f7fb 100%);color:var(--ink)}
.card,.kpi,.form-card,.table-card,.module-tile,.mp-tile{border-color:#dfe7f1;box-shadow:0 7px 22px rgba(25,49,85,.055)}
.content{max-width:1660px;padding:30px 34px 104px}.topbar{height:76px;padding:0 24px;background:rgba(255,255,255,.95);box-shadow:0 2px 16px rgba(27,49,84,.035)}
.sidebar,.main{transition:width .22s ease,margin-left .22s ease,transform .22s ease}.sidebar{width:268px;padding:22px 17px 18px}.main{margin-left:268px}
.sidebar-toggle{width:44px;height:44px;border:1px solid #dce4ef;border-radius:13px;background:#fff;color:#243550;display:grid;place-items:center;cursor:pointer;box-shadow:0 5px 14px rgba(31,53,87,.055);flex:0 0 auto}.sidebar-toggle:hover{background:#eef4ff;color:#245bed;border-color:#c8d7fb}.sidebar-toggle svg{width:21px;height:21px}.sidebar-scrim{display:none;border:0;padding:0}
.brand strong{font-size:18px}.brand small{font-size:12.5px}.nav-section{font-size:11px;margin-top:20px}.nav-item{font-size:15.5px;padding:13px 13px;border-radius:14px;gap:13px}.nav-item svg{width:21px;height:21px;flex:0 0 auto}.profile-copy strong{font-size:14px}.profile-copy small{font-size:12px}
.global-search-wrap{width:min(620px,55vw)}.global-search-wrap input{height:46px;font-size:15px;border-radius:14px}.global-results{top:53px}.search-group-title{font-size:12px}.search-row{padding:12px 15px}.search-row strong{font-size:14px}.search-row small{font-size:12px}.top-date{font-size:13.5px}.top-avatar{font-size:13px}
.eyebrow{font-size:12px;letter-spacing:.12em}.page-head h1{font-size:31px}.page-head p{font-size:15px;line-height:1.55}.module-hero{padding:26px 28px;border-radius:24px;box-shadow:0 16px 34px rgba(22,43,93,.14)}.module-hero h1{font-size:30px}.module-hero p{font-size:14.5px;line-height:1.55}.btn{font-size:14px;min-height:42px;padding:10px 15px}.btn-lg{min-height:48px;font-size:15px;padding:12px 19px}.status{font-size:12px;padding:6px 10px}
.field>span{font-size:13px;margin-bottom:7px;color:#40506a}.field input,.field select,.field textarea,.input{min-height:48px;padding:11px 13px;font-size:15px;border-radius:13px}.field textarea{min-height:105px}.field .hint{font-size:12px}.picker-row{padding:12px 14px}.picker-row strong{font-size:14px}.picker-row small{font-size:12px}.picker-results{top:78px;max-height:330px}
.section-no{width:35px;height:35px;font-size:12px;border-radius:11px}.section-title h3{font-size:17px}.section-title p{font-size:13px!important;line-height:1.5}.card-title h2{font-size:18px}.card-title p{font-size:13px}.link{font-size:13px}
.kpi{padding:20px;min-height:138px}.kpi-label{font-size:13px}.kpi-value{font-size:29px}.kpi-foot{font-size:12.5px}.quick-action{padding:16px}.quick-action strong{font-size:14px}.quick-action small{font-size:12px}.latest-head span{font-size:11.5px}.latest-name{font-size:18px}.latest-meta{font-size:13px}.activity{padding:13px 0}.activity strong{font-size:13.5px;line-height:1.45}.activity small{font-size:12px;line-height:1.45;margin-top:3px;display:block}.activity time{font-size:11.5px}.chart-wrap{height:155px}.chart-empty-v15{height:155px;display:grid;place-items:center;align-content:center;text-align:center;color:#8290a5}.chart-empty-v15 strong,.chart-empty-v15 small{display:block}.chart-empty-v15 strong{font-size:14px;color:#43516a;margin-top:8px}.chart-empty-v15 small{font-size:12px;margin-top:4px}.chart-empty-icon-v15{width:42px;height:42px;border-radius:13px;display:grid;place-items:center;background:#eef4ff;color:#2f63f3;font-size:22px}
.table th,.data-table th,.report-table th,.table-card table th{font-size:12px!important;padding:14px 15px!important}.table td,.data-table td,.report-table td,.table-card table td{font-size:13.5px!important;padding:14px 15px!important}.table td strong,.data-table td strong,.report-table td strong{font-size:13.5px}.small,.muted.small{font-size:12px}.pagination-meta,.page-link{font-size:12.5px}.page-link{min-width:39px;height:39px}.filter-bar .field>span{font-size:12px}.filter-bar .field input,.filter-bar .field select{min-height:44px;font-size:13.5px}.info-pill{font-size:12px;padding:8px 12px}
.detail-cell span,.detail-grid-v14 span{font-size:11px!important}.detail-cell strong,.detail-grid-v14 strong{font-size:14px!important}.detail-grid-v14 small{font-size:12px!important}.financial-card-v14>span,.service-summary-card-v14>span{font-size:11px}.financial-card-v14>strong{font-size:25px}.service-summary-card-v14>strong{font-size:14px}.financial-card-v14 small,.service-summary-card-v14 small{font-size:12px}.order-section-head-v14 h2{font-size:19px}.order-section-head-v14 p{font-size:12.5px}.order-item-copy-v14 strong{font-size:14px}.order-item-copy-v14 small{font-size:12px}.order-item-metric-v14 span{font-size:10px}.order-item-metric-v14 strong{font-size:13px}.payment-copy-v14 strong{font-size:14px}.payment-copy-v14 span{font-size:12.5px}.payment-copy-v14 small{font-size:11.5px}.payment-row-v14 time{font-size:11px}
/* Sidebar starts compact. Open it with the menu button. */
html.sidebar-collapsed .sidebar{width:82px;padding-left:12px;padding-right:12px}html.sidebar-collapsed .main{margin-left:82px}html.sidebar-collapsed .brand{justify-content:center;padding-left:0;padding-right:0}html.sidebar-collapsed .brand>span:last-child,html.sidebar-collapsed .nav-item>span,html.sidebar-collapsed .nav-section,html.sidebar-collapsed .profile-copy,html.sidebar-collapsed .side-profile>.icon-btn,html.sidebar-collapsed .nav-count{display:none}html.sidebar-collapsed .nav-item{justify-content:center;padding-left:0;padding-right:0;height:50px}html.sidebar-collapsed .side-profile{justify-content:center;padding-left:0;padding-right:0}html.sidebar-collapsed .brand-mark{width:46px;height:46px}
html.sidebar-open .sidebar{width:268px}html.sidebar-open .main{margin-left:268px}
/* New Order: compact two-column product finder; Add is always beside the product. */
.product-results-v14{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;max-height:520px}.product-result-card-v14{grid-template-columns:minmax(0,1fr) 104px;grid-template-rows:auto auto;gap:5px 12px;padding:14px 14px}.product-result-main-v14{grid-column:1;grid-row:1}.product-result-main-v14 strong{font-size:14px}.product-result-main-v14 small{font-size:12px;line-height:1.5;white-space:normal}.product-result-price-v14{grid-column:1;grid-row:2;display:flex;align-items:center;gap:8px}.product-result-price-v14 span,.product-result-price-v14 strong{text-align:left}.product-result-price-v14 span{font-size:10px}.product-result-price-v14 strong{font-size:13px;margin:0}.product-add-v14{grid-column:2;grid-row:1/3;width:104px;height:46px;align-self:center;font-size:12.5px;border-radius:13px}.product-status-v14{font-size:12.5px!important}.suggested-head-v14 span{font-size:12px!important}.suggested-head-v14 small{font-size:11px!important}.suggested-item-v14 b{font-size:12.5px!important}.suggested-item-v14 small{font-size:11px!important}.suggested-item-v14 em{font-size:11px!important}
.customer-chip-v14 strong{font-size:13.5px!important}.customer-chip-v14 small{font-size:11.5px!important}.customer-result-v14 strong{font-size:14px!important}.customer-result-v14 small{font-size:12px!important}.selected-customer-v14 strong{font-size:15px!important}.selected-customer-v14 small{font-size:12px!important}.address-option-v14 strong{font-size:14px!important}.address-option-v14 small{font-size:12px!important}.stage-head-v14 h2{font-size:20px}.stage-head-v14 p{font-size:13px}.stage-kicker-v14{font-size:11px!important}.stage-number-v14{font-size:12px!important}
.selected-item-main-v14 strong{font-size:14px!important}.selected-item-main-v14 small{font-size:12px!important}.selected-item-controls-v14 label>span,.line-total-v14 span{font-size:11px!important}.qty-control-v14 input,.price-control-v14 input{font-size:15px!important}.line-total-v14 strong{font-size:14px}.cart-empty-v14 strong{font-size:14px!important}.cart-empty-v14 span{font-size:12px!important}.order-total-v14 span{font-size:11.5px!important}.order-total-v14 strong{font-size:14px!important}.grand-total-v14 strong{font-size:22px!important}
/* Service + customer master readability */
.category-meta-v14{font-size:12px}.category-result-v14 span{font-size:14px}.category-result-v14 b{font-size:11px}.selected-category-v14 span{font-size:10.5px}.selected-category-v14 strong{font-size:14px}.selected-category-v14 button{font-size:12px}.service-submit-v14>div:first-child strong{font-size:14px}.service-submit-v14>div:first-child span{font-size:12px}
/* Repeat Order v1.5 list */
.repeat-v15-intro{display:flex;justify-content:space-between;gap:14px;align-items:center;margin-bottom:14px}.repeat-v15-intro strong{font-size:16px}.repeat-v15-intro span{font-size:13px;color:#708098}.repeat-v15-search{display:grid;grid-template-columns:minmax(0,1fr) 140px;gap:10px;margin-bottom:18px}.repeat-v15-search .search-input-wrap{position:relative}.repeat-v15-search input{width:100%;height:50px;border:1px solid #d9e2ef;border-radius:15px;padding:0 15px 0 46px;font-size:15px;outline:0;background:#fff}.repeat-v15-search input:focus{border-color:#8fb0ff;box-shadow:0 0 0 4px #edf3ff}.repeat-v15-search .search-icon{left:16px}.repeat-v15-meta{font-size:13px;color:#75849a;margin:-7px 0 14px}.repeat-order-commercial{border:1px solid #dfe7f1;box-shadow:0 8px 24px rgba(25,49,85,.055);border-radius:20px}.repeat-order-id{font-size:12px!important}.repeat-order-title{font-size:18px!important}.repeat-order-sub{font-size:12px!important}.repeat-chip{font-size:11px!important}.repeat-order-info span{font-size:10.5px!important}.repeat-order-info strong{font-size:13px!important}.repeat-address-line{font-size:13px!important}.repeat-receipt-title strong{font-size:12px!important}.repeat-receipt-title small{font-size:10px!important}.repeat-receipt-head{font-size:10.5px!important}.repeat-receipt-category span{font-size:12px!important}.repeat-receipt-category small{font-size:10px!important}.repeat-receipt-item strong{font-size:13.5px!important}.repeat-receipt-item small{font-size:11px!important}.repeat-receipt-qty,.repeat-receipt-amt{font-size:13px!important}.repeat-order-total span{font-size:10.5px!important}.repeat-order-total strong{font-size:18px!important}
/* Color hierarchy */
.module-hero,.dashboard-hero{background:linear-gradient(125deg,#102345 0,#183b78 55%,#5148df 100%)!important}.btn-primary{background:linear-gradient(135deg,#2468f2,#6250ee);box-shadow:0 9px 21px rgba(53,87,226,.22)}.nav-item.active{background:linear-gradient(135deg,rgba(43,105,244,.38),rgba(91,74,229,.24));box-shadow:inset 0 0 0 1px rgba(125,167,255,.35)}
@media(max-width:1180px){.product-results-v14{grid-template-columns:1fr}}
@media(max-width:820px){html.sidebar-collapsed .sidebar,html.sidebar-open .sidebar{display:flex;width:286px;transform:translateX(-105%);padding:20px 16px}html.sidebar-open .sidebar{transform:translateX(0)}html.sidebar-collapsed .main,html.sidebar-open .main{margin-left:0}html.sidebar-collapsed .brand>span:last-child,html.sidebar-collapsed .nav-item>span,html.sidebar-collapsed .nav-section,html.sidebar-collapsed .profile-copy,html.sidebar-collapsed .side-profile>.icon-btn,html.sidebar-collapsed .nav-count{display:block}html.sidebar-collapsed .nav-item{justify-content:flex-start;padding:13px;height:auto}html.sidebar-collapsed .side-profile{justify-content:flex-start}html.sidebar-open .sidebar-scrim{display:block;position:fixed;inset:0;background:rgba(10,20,38,.48);z-index:29;backdrop-filter:blur(2px)}.topbar{padding:0 12px;gap:10px}.sidebar-toggle{width:40px;height:40px}.mobile-brand{display:none}.global-search-wrap input{font-size:14px}.content{padding:18px 14px 94px}.module-hero h1{font-size:25px}.module-hero p{font-size:13.5px}.table td,.data-table td,.report-table td,.table-card table td{font-size:13px!important}.mobile-row-card strong{font-size:14px}.mobile-row-card p{font-size:12.5px}.mobile-row-meta{font-size:11.5px}}
@media(max-width:600px){.repeat-v15-search{grid-template-columns:1fr}.repeat-v15-search .btn{min-height:48px}.product-results-v14{grid-template-columns:1fr}.product-result-card-v14{grid-template-columns:minmax(0,1fr) 92px}.product-add-v14{width:92px}.field>span{font-size:12.5px}.field input,.field select,.field textarea,.input{font-size:14px}.kpi-label{font-size:12px}.kpi-value{font-size:23px}.activity strong{font-size:13px}.activity small{font-size:11.5px}.activity time{font-size:10.5px}.page-head h1{font-size:25px}.module-hero h1{font-size:24px}}
/* Final v1.5 readability normalization */
.content small{font-size:12px}.content p{line-height:1.55}.mp-tile strong{font-size:16px}.mp-tile p{font-size:13px;line-height:1.5}.mobile-row-card strong{font-size:14px}.mobile-row-card p{font-size:13px}.mobile-row-meta{font-size:12px}.login-heading h2{font-size:27px}.login-heading p{font-size:14px}.login-card .field>span{font-size:13px}.login-card .field input{font-size:15px;min-height:48px}.login-foot{font-size:11.5px}.login-logo small{font-size:12px}.login-flow strong{font-size:14px}.login-flow small{font-size:11.5px}.login-flow span{font-size:10.5px}.notification-mini strong{font-size:13px!important}.notification-mini small{font-size:11.5px!important}.notification-mini time{font-size:10.5px!important}.pagination-wrap{font-size:12.5px}
@media(max-width:820px){.mobile-nav a{font-size:11px}.mobile-nav a svg{width:21px;height:21px}.content small{font-size:11.5px}}

/* ==========================================================
   SSR CUBE Employee Web v1.6.0 - persistent nav + master-detail
   ========================================================== */
.service-detail-hero-v16{align-items:flex-start}.service-customer-highlight-v16{margin-top:14px;display:inline-grid;gap:2px;padding:12px 16px;border-radius:16px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.17);min-width:min(520px,100%);backdrop-filter:blur(6px)}.service-customer-highlight-v16 span{font-size:11px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:#b9d3ff}.service-customer-highlight-v16 strong{font-size:22px;line-height:1.2;color:#fff;letter-spacing:-.02em}.service-customer-highlight-v16 small{font-size:13px!important;color:#d7e5fb}.service-detail-hero-v16 h1{margin-bottom:0}

.repeat-search-card-v16{margin-top:16px}.repeat-search-v16{display:grid;grid-template-columns:minmax(0,1fr) 132px auto;gap:10px;align-items:center}.repeat-search-v16 .search-input-wrap{position:relative}.repeat-search-v16 input{width:100%;height:50px;border:1px solid #d6e0ee;border-radius:15px;padding:0 16px 0 46px;font-size:15px;background:#fff;color:#18243a;outline:none}.repeat-search-v16 input:focus{border-color:#6e93fb;box-shadow:0 0 0 4px #edf3ff}.repeat-search-caption-v16{font-size:13px;color:#75849a;margin-top:10px}.repeat-search-caption-v16 strong{color:#1b2b47}
.repeat-master-v16{display:grid;grid-template-columns:340px minmax(0,1fr);gap:16px;margin-top:16px;align-items:start}.repeat-master-list-v16,.repeat-detail-v16{overflow:hidden}.repeat-master-list-v16{position:sticky;top:86px}.repeat-list-head-v16{padding:16px 18px 12px;border-bottom:1px solid #e7edf5}.repeat-list-head-v16>div{display:flex;justify-content:space-between;align-items:center;gap:10px}.repeat-list-head-v16 span{font-size:11px;letter-spacing:.1em;font-weight:800;color:#6c7e97}.repeat-list-head-v16 strong{font-size:12px;color:#2f63f3;background:#edf3ff;border-radius:999px;padding:6px 10px}.repeat-list-scroll-v16{max-height:590px;overflow:auto}.repeat-customer-row-v16{display:grid;grid-template-columns:44px minmax(0,1fr) 18px;gap:11px;align-items:center;padding:14px 16px;border-bottom:1px solid #edf1f6;color:inherit;text-decoration:none;transition:.18s ease;background:#fff}.repeat-customer-row-v16:hover{background:#f8faff}.repeat-customer-row-v16.active{background:linear-gradient(90deg,#edf3ff,#f7f9ff);box-shadow:inset 4px 0 0 #3d68f4}.repeat-avatar-v16{width:44px;height:44px;border-radius:14px;display:grid;place-items:center;background:#eaf1ff;color:#315dcf;font-size:13px;font-weight:900}.repeat-customer-copy-v16{min-width:0;display:grid;gap:2px}.repeat-customer-copy-v16 strong{font-size:14.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#17253f}.repeat-customer-copy-v16 small{font-size:12px;color:#6e7f97}.repeat-customer-copy-v16 em{font-size:11px;font-style:normal;color:#93a0b2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.repeat-row-arrow-v16{font-size:24px;color:#97a7bd}.repeat-customer-row-v16.active .repeat-row-arrow-v16{color:#3d68f4}.repeat-empty-v16{padding:32px 20px;text-align:center;display:grid;gap:6px}.repeat-empty-v16 strong{font-size:15px}.repeat-empty-v16 span{font-size:12px;color:#8190a5}.repeat-list-pagination-v16{padding:10px;border-top:1px solid #edf1f6;background:#fbfcfe}.repeat-list-pagination-v16 .pagination-wrap{padding:0;margin:0;display:grid;gap:7px}.repeat-list-pagination-v16 .pagination-meta{text-align:center}.repeat-list-pagination-v16 .pagination-links{justify-content:center;flex-wrap:wrap}.repeat-list-pagination-v16 .page-link{height:34px;min-width:34px;font-size:11px}
.repeat-detail-v16{min-height:590px}.repeat-detail-empty-v16{min-height:590px;display:grid;place-content:center;text-align:center;padding:30px}.repeat-detail-empty-icon-v16{width:68px;height:68px;border-radius:22px;display:grid;place-items:center;margin:0 auto 14px;background:#edf3ff;color:#315fe9}.repeat-detail-empty-icon-v16 svg{width:30px;height:30px}.repeat-detail-empty-v16 h2{font-size:22px;margin:0 0 6px}.repeat-detail-empty-v16 p{font-size:13px;color:#76869b;margin:0}.repeat-detail-head-v16{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;padding:22px 24px 18px;border-bottom:1px solid #e8edf4}.repeat-detail-head-v16 .eyebrow{font-size:10.5px;color:#3968ea}.repeat-detail-head-v16 h2{font-size:25px;margin:3px 0 4px;color:#14213a}.repeat-detail-head-v16 p{font-size:13px;color:#728299;margin:0}.repeat-detail-kpis-v16{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:16px 24px}.repeat-detail-kpis-v16>div{padding:13px 14px;border-radius:14px;background:#f6f8fc;border:1px solid #edf1f6;display:grid;gap:5px}.repeat-detail-kpis-v16 span,.repeat-address-v16 span{font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#8492a8}.repeat-detail-kpis-v16 strong{font-size:13px;color:#17263f}.repeat-address-v16{margin:0 24px 16px;padding:13px 14px;border-radius:14px;background:#f8fafc;border:1px solid #e7edf5;display:grid;gap:5px}.repeat-address-v16 strong{font-size:13.5px;line-height:1.45;color:#21314b}.repeat-products-head-v16{display:flex;justify-content:space-between;align-items:end;gap:12px;padding:0 24px 10px}.repeat-products-head-v16>div{display:grid;gap:3px}.repeat-products-head-v16 span{font-size:10.5px;font-weight:800;letter-spacing:.1em;color:#3968ea}.repeat-products-head-v16 strong{font-size:14px;color:#1b2b47}.repeat-products-head-v16 small{font-size:11.5px;color:#8a98aa}.repeat-products-v16{margin:0 24px 18px;border:1px solid #e2e8f1;border-radius:16px;overflow:hidden}.repeat-category-v16{display:flex;justify-content:space-between;align-items:center;padding:9px 12px;background:#eef4ff;border-top:1px solid #dfe9fb}.repeat-category-v16:first-child{border-top:0}.repeat-category-v16 span{font-size:11px;font-weight:900;letter-spacing:.06em;text-transform:uppercase;color:#3459b9}.repeat-category-v16 b{font-size:10px;background:#fff;color:#4c6fc8;border-radius:999px;padding:3px 7px}.repeat-product-row-v16{display:grid;grid-template-columns:minmax(0,1fr) 70px 110px 120px;gap:10px;align-items:center;padding:12px;border-top:1px solid #edf1f6;background:#fff}.repeat-product-row-v16>div:first-child{min-width:0}.repeat-product-row-v16>div:first-child strong{font-size:13.5px;color:#17263f;display:block}.repeat-product-row-v16>div:first-child small{font-size:11.5px!important;color:#8190a5}.repeat-product-row-v16>div:not(:first-child){display:grid;gap:2px;text-align:right}.repeat-product-row-v16>div:not(:first-child) span{font-size:9px;font-weight:800;letter-spacing:.08em;color:#96a3b5;text-transform:uppercase}.repeat-product-row-v16>div:not(:first-child) strong{font-size:12.5px;color:#23334c}.repeat-detail-footer-v16{display:flex;justify-content:space-between;gap:18px;align-items:center;padding:18px 24px 22px;border-top:1px solid #e8edf4;background:#fbfcfe}.repeat-total-v16{display:grid;gap:2px}.repeat-total-v16 span{font-size:10px;font-weight:800;letter-spacing:.1em;color:#718199}.repeat-total-v16 strong{font-size:24px;color:#14213a}.repeat-total-v16 small{font-size:11.5px!important;color:#7c8ba0}.repeat-detail-actions-v16{display:flex;gap:10px;align-items:center}

/* Persistent sidebar preference: state is stored in localStorage and never reset on navigation. */
.sidebar-toggle{position:relative}.sidebar-toggle:after{content:'Menu';position:absolute;left:48px;top:50%;transform:translateY(-50%);font-size:11px;font-weight:800;color:#6f7f96;opacity:0;pointer-events:none;transition:.15s}.sidebar-toggle:hover:after{opacity:1}

/* Premium report action affordance. */
.module-actions a[href*="format=xls"],.module-actions a[href*="format=pdf"]{font-weight:800}.module-actions a[href*="format=xls"]:before{content:'▦';font-size:14px;margin-right:7px}.module-actions a[href*="format=pdf"]:before{content:'▤';font-size:14px;margin-right:7px}

@media(max-width:1180px){.repeat-master-v16{grid-template-columns:300px minmax(0,1fr)}.repeat-detail-kpis-v16{grid-template-columns:repeat(2,minmax(0,1fr))}.repeat-product-row-v16{grid-template-columns:minmax(0,1fr) 60px 90px 100px}}
@media(max-width:900px){.repeat-master-v16{grid-template-columns:1fr}.repeat-master-list-v16{position:static}.repeat-list-scroll-v16{max-height:360px}.repeat-detail-v16,.repeat-detail-empty-v16{min-height:360px}.repeat-search-v16{grid-template-columns:1fr 115px auto}}
@media(max-width:650px){.service-customer-highlight-v16{min-width:0;width:100%}.service-customer-highlight-v16 strong{font-size:19px}.repeat-search-v16{grid-template-columns:1fr}.repeat-search-v16 .btn{min-height:46px}.repeat-detail-head-v16,.repeat-detail-footer-v16{flex-direction:column;align-items:stretch}.repeat-detail-kpis-v16{grid-template-columns:1fr 1fr;padding:14px}.repeat-address-v16,.repeat-products-v16{margin-left:14px;margin-right:14px}.repeat-products-head-v16{padding-left:14px;padding-right:14px}.repeat-product-row-v16{grid-template-columns:minmax(0,1fr) 54px 86px}.repeat-product-row-v16>div:nth-child(3){display:none}.repeat-detail-actions-v16{display:grid;grid-template-columns:1fr}.repeat-detail-actions-v16 .btn{width:100%}.repeat-detail-footer-v16{padding:16px 14px}.repeat-detail-head-v16{padding:18px 14px}}
