:root{--primary:#1769e0;--navy:#101d35;--navy2:#172845;--ink:#172033;--muted:#728098;--line:#e7ebf1;--surface:#fff;--bg:#f4f7fb;--sidebar:270px}*{box-sizing:border-box}body{margin:0;color:var(--ink);background:var(--bg);font-family:Inter,"Segoe UI",Arial,sans-serif}.portal-body{min-height:100vh}.portal-sidebar{position:fixed;inset:0 auto 0 0;width:var(--sidebar);display:flex;flex-direction:column;padding:18px 14px;background:linear-gradient(165deg,var(--navy),var(--navy2));color:#dfe7f5;z-index:1040;box-shadow:12px 0 30px #101d3514}.sidebar-brand{display:flex;align-items:center;gap:12px;color:#fff;text-decoration:none;padding:5px 8px 24px}.sidebar-brand span:last-child{display:grid}.sidebar-brand small{font-size:11px;color:#9badc8;letter-spacing:.07em;text-transform:uppercase}.brand-orb{display:grid;place-items:center;width:43px;height:43px;border-radius:13px;background:linear-gradient(135deg,#3084f3,#24c6dc);color:#fff;font-size:13px;font-weight:800;box-shadow:0 8px 20px #1769e066}.sidebar-caption{padding:18px 12px 8px;color:#7f93b2;font-size:10px;font-weight:800;letter-spacing:.15em;text-transform:uppercase}.endpoint-nav{overflow-y:auto}.sidebar-link{width:100%;display:flex;align-items:center;gap:11px;padding:10px 12px;margin:2px 0;border:0;border-radius:9px;color:#b9c7da;background:transparent;text-align:left;text-decoration:none;font-size:13px;transition:.2s}.sidebar-link:hover,.sidebar-link.active{color:#fff;background:#ffffff12;transform:translateX(2px)}.sidebar-link.active{background:linear-gradient(90deg,#1769e0,#2b7fea);box-shadow:0 8px 20px #07152d55}.sidebar-link i{width:16px}.sidebar-footer{margin-top:auto;border-top:1px solid #ffffff12;padding-top:10px}.portal-main{margin-left:var(--sidebar);min-height:100vh}.portal-topbar{height:72px;display:flex;align-items:center;justify-content:space-between;padding:0 28px;background:#ffffffdf;border-bottom:1px solid var(--line);backdrop-filter:blur(14px);position:sticky;top:0;z-index:1020}.topbar-actions,.user-chip{display:flex;align-items:center;gap:10px}.user-chip{padding:7px 12px;border:1px solid var(--line);border-radius:10px;background:#fff;font-size:13px}.portal-content{padding:28px;max-width:1600px;margin:auto}.page-intro{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px}.page-intro h1{font-weight:750;margin:3px 0 4px}.page-intro p{color:var(--muted);margin:0}.section-kicker{color:var(--primary);font-size:10px;font-weight:800;letter-spacing:.16em;text-transform:uppercase}.intro-stat{display:flex;align-items:center;gap:13px;padding:14px 18px;border-radius:14px;color:#fff;background:linear-gradient(135deg,var(--navy2),#284978);box-shadow:0 14px 30px #17284525}.intro-stat i{font-size:25px}.intro-stat span{display:grid}.intro-stat small{font-size:10px;color:#b7c6db;text-transform:uppercase}.enterprise-card{overflow:hidden;background:var(--surface);border:1px solid var(--line);border-radius:16px;box-shadow:0 10px 35px #23385d0b}.card-commandbar{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:15px;border-bottom:1px solid var(--line)}.search-box{max-width:390px}.input-group-text,.form-control,.form-select{border-color:var(--line)}.form-control,.form-select{padding:.68rem .8rem}.btn{border-radius:9px}.btn-primary{background:linear-gradient(135deg,#1769e0,#3584ee);border:0;box-shadow:0 7px 16px #1769e029}.empty-state,.loading-state{min-height:370px;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;color:var(--muted);padding:40px}.empty-state i{font-size:44px;color:#a7b6cc;margin-bottom:12px}.empty-state h4{color:var(--ink)}.loading-state{gap:12px}.enterprise-table{font-size:13px}.enterprise-table thead th{padding:13px 16px;background:#f8fafd;border-bottom:1px solid var(--line);color:#687790;font-size:10px;letter-spacing:.08em;text-transform:uppercase;white-space:nowrap}.enterprise-table tbody td{padding:12px 16px;border-color:#edf0f4;max-width:270px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.enterprise-table tbody tr{transition:.18s}.enterprise-table tbody tr:hover{background:#f7faff}.sticky-action{position:sticky;right:0;background:inherit}.status-badge{display:inline-flex;padding:3px 8px;border-radius:20px;font-size:10px;font-weight:700}.status-badge.success{color:#157347;background:#dff5e8}.status-badge.muted{color:#697386;background:#edf0f4}.modal-content{border-radius:17px}.modal-header,.modal-footer{padding:18px 22px;border-color:var(--line)}.modal-body{padding:22px}.form-label{font-size:12px;font-weight:700;color:#56647a}.login-body{min-height:100vh;display:grid;place-items:center;background:radial-gradient(circle at top left,#dceaff,#f5f8fc 45%,#eaf0f8)}.login-card{width:min(430px,calc(100% - 30px));padding:38px;background:#ffffffee;border:1px solid #fff;border-radius:22px;box-shadow:0 30px 80px #18345c25;backdrop-filter:blur(15px)}.login-card form{display:grid;gap:17px;margin-top:25px}.login-card label{display:grid;gap:7px;font-weight:700}.alert{border-radius:10px}.animate-rise{animation:rise .45s ease both}.delay-1{animation-delay:.08s}.dashboard-hero{display:flex;align-items:center;justify-content:space-between;gap:25px;padding:34px;border-radius:20px;color:#fff;background:linear-gradient(125deg,#101d35,#1769e0 80%,#24a8c4);box-shadow:0 18px 45px #1769e025}.dashboard-hero h1{margin:7px 0;font-weight:750}.dashboard-hero p{margin:0;color:#cfddf1}.hero-metric{display:grid;min-width:150px;padding:18px;border:1px solid #ffffff38;border-radius:15px;background:#ffffff10;text-align:center}.hero-metric strong{font-size:35px}.hero-metric span{font-size:11px;text-transform:uppercase;letter-spacing:.1em}.section-heading{display:flex;justify-content:space-between;align-items:end;margin:32px 0 16px}.section-heading h3{margin:4px 0 0}.dashboard-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:15px}.dashboard-module{display:flex;align-items:center;gap:14px;padding:18px;color:var(--ink);background:#fff;border:1px solid var(--line);border-radius:15px;text-decoration:none;box-shadow:0 8px 25px #23385d09;transition:.2s}.dashboard-module:hover{transform:translateY(-3px);border-color:#b7d2f8;box-shadow:0 16px 32px #1769e015}.dashboard-module>span:nth-child(2){display:grid;flex:1}.dashboard-module small{color:var(--muted);margin-top:3px}.module-symbol{display:grid;place-items:center;width:45px;height:45px;border-radius:12px;color:var(--primary);background:#eaf2fd;font-size:18px}@keyframes rise{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@media(max-width:991px){.portal-sidebar{transform:translateX(-100%);transition:.25s}.portal-main{margin-left:0}.sidebar-open .portal-sidebar{transform:translateX(0)}.portal-content{padding:18px}.page-intro,.dashboard-hero{align-items:flex-start;flex-direction:column}.card-commandbar{align-items:stretch;flex-direction:column}.search-box{max-width:none}.user-chip{display:none}}@media(max-width:576px){.portal-topbar{padding:0 15px}.btn span{display:none}.enterprise-table tbody td{max-width:190px}}

/* Login foundation */
.auth-page{min-height:100vh;display:grid;place-items:center;overflow-x:hidden;padding:28px;background:#eef3f9;position:relative}.auth-glow{position:fixed;border-radius:50%;filter:blur(2px);opacity:.55}.auth-glow-one{width:520px;height:520px;left:-210px;top:-220px;background:radial-gradient(circle,#7eb7ff66,transparent 68%)}.auth-glow-two{width:600px;height:600px;right:-260px;bottom:-330px;background:radial-gradient(circle,#52d6c85c,transparent 68%)}.auth-shell{position:relative;width:min(1180px,100%);min-height:720px;display:grid;grid-template-columns:1.08fr .92fr;overflow:hidden;border:1px solid #ffffffaa;border-radius:28px;background:#fff;box-shadow:0 35px 100px #17345d24}.auth-story{display:flex;flex-direction:column;padding:44px;color:#fff;background:linear-gradient(145deg,#0c1c35,#123c70 62%,#126e88);position:relative;overflow:hidden}.auth-story:after{content:"";position:absolute;width:420px;height:420px;border:1px solid #ffffff1c;border-radius:50%;right:-180px;top:120px;box-shadow:0 0 0 60px #ffffff09,0 0 0 120px #ffffff07}.auth-brand,.auth-mobile-brand{display:flex;align-items:center;gap:13px;position:relative;z-index:1}.auth-brand span:last-child{display:grid}.auth-brand small{color:#a9c2df;font-size:11px;text-transform:uppercase;letter-spacing:.12em}.brand-orb-lg{width:54px;height:54px}.auth-story-copy{position:relative;z-index:1;margin:auto 0}.auth-pill{display:inline-flex;align-items:center;gap:8px;padding:7px 11px;border:1px solid #ffffff28;border-radius:20px;background:#ffffff0e;color:#cfe3f7;font-size:11px;text-transform:uppercase;letter-spacing:.1em}.auth-story-copy h1{margin:22px 0 14px;font-size:clamp(42px,5vw,67px);line-height:1.03;font-weight:760;letter-spacing:-.045em}.auth-story-copy h1 span{color:#77d8e3}.auth-story-copy p{max-width:570px;color:#c2d3e6;font-size:15px;line-height:1.8}.auth-feature-grid{position:relative;z-index:1;display:grid;grid-template-columns:1fr 1fr;gap:10px}.auth-feature-grid>div{display:flex;align-items:center;gap:11px;padding:12px;border:1px solid #ffffff17;border-radius:12px;background:#ffffff0b}.auth-feature-grid i{font-size:19px;color:#78dce5}.auth-feature-grid span{display:grid}.auth-feature-grid small{color:#9fb5cf;font-size:10px}.auth-story-footer{position:relative;z-index:1;display:flex;gap:20px;margin-top:24px;color:#9fb5cf;font-size:10px;text-transform:uppercase;letter-spacing:.08em}.auth-form-panel{display:flex;flex-direction:column;justify-content:center;padding:58px 64px}.auth-mobile-brand{display:none}.auth-form-heading{margin-bottom:25px}.auth-form-heading h2{margin:6px 0;font-size:32px;font-weight:750}.auth-form-heading p{color:var(--muted);margin:0}.auth-status{display:flex;align-items:center;gap:9px;padding:10px 12px;margin-bottom:18px;border:1px solid #dce9f8;border-radius:10px;color:#55718f;background:#f5f9fe;font-size:11px}.status-dot{width:8px;height:8px;border-radius:50%;background:#1ab87c;box-shadow:0 0 0 4px #1ab87c1f}.auth-form-panel form{display:grid;gap:18px}.auth-form-panel .form-label{display:grid;gap:7px}.auth-input .input-group-text{background:#f8fafc}.auth-input:focus-within{filter:drop-shadow(0 6px 12px #1769e015)}.auth-link{color:var(--primary);font-size:12px;text-decoration:none;font-weight:700}.auth-submit{display:flex;align-items:center;justify-content:center;gap:12px;padding:13px;margin-top:3px}.auth-help{display:flex;align-items:flex-start;gap:9px;padding:12px;margin-top:22px;border:1px solid var(--line);border-radius:10px;color:var(--muted);background:#fafbfd;font-size:11px}.auth-footer{display:flex;justify-content:space-between;margin-top:26px;color:#9aa6b7;font-size:10px;text-transform:uppercase;letter-spacing:.08em}

/* Dashboard foundation */
.dashboard-sidebar{padding-bottom:12px}.sidebar-brand img{width:43px;height:43px;object-fit:contain;border-radius:12px;background:#fff;padding:4px}.sidebar-profile{display:flex;align-items:center;gap:10px;padding:11px;margin-bottom:2px;border:1px solid #ffffff12;border-radius:12px;background:#ffffff09}.sidebar-profile>span:nth-child(2){display:grid;min-width:0;flex:1}.sidebar-profile strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.sidebar-profile small{color:#91a4bf;font-size:10px}.sidebar-profile>i{color:#53cf9b}.profile-avatar{display:grid;place-items:center;flex:0 0 auto;width:36px;height:36px;border-radius:10px;color:#fff;background:linear-gradient(145deg,#2b7fea,#24a8c4);font-weight:800}.profile-avatar.small{width:32px;height:32px;border-radius:9px;font-size:12px}.dashboard-side-nav{overflow-y:auto}.side-group>span{display:block;padding:10px 12px 3px;color:#7389a7;font-size:9px;text-transform:uppercase;letter-spacing:.1em}.sidebar-count{margin-left:auto;min-width:20px;padding:2px 6px;border-radius:20px;background:#e44e5b;color:#fff;text-align:center;font-size:9px}.dashboard-topbar{gap:20px}.dashboard-search{position:relative;display:flex;align-items:center;gap:10px;flex:1;max-width:520px;padding:8px 11px;border:1px solid var(--line);border-radius:10px;background:#f7f9fc}.dashboard-search input{min-width:0;flex:1;border:0;outline:0;background:transparent;font-size:12px}.dashboard-search kbd{color:#8996a8;background:#fff;border:1px solid var(--line);font-size:9px}.notification-button{position:relative;display:grid;place-items:center;width:38px;height:38px;border:1px solid var(--line);border-radius:9px;color:#5f6f86;background:#fff}.notification-button span{position:absolute;right:-5px;top:-5px;min-width:17px;padding:2px 4px;border:2px solid #fff;border-radius:12px;color:#fff;background:#e44e5b;text-align:center;font-size:8px;font-weight:800}.top-user{display:flex;align-items:center;gap:9px}.top-user>span:last-child{display:grid}.top-user strong{font-size:11px}.top-user small{color:var(--muted);font-size:9px}.global-search-results{display:none;position:fixed;z-index:1100;top:62px;left:calc(var(--sidebar) + 28px);width:min(520px,calc(100vw - var(--sidebar) - 56px));padding:8px;border:1px solid var(--line);border-radius:12px;background:#fff;box-shadow:0 20px 50px #14213d20}.global-search-results.show{display:grid}.global-search-results a{display:flex;align-items:center;gap:11px;padding:10px;border-radius:8px;color:var(--ink);text-decoration:none}.global-search-results a:hover{background:#f4f7fb}.global-search-results a span{display:grid;flex:1}.global-search-results small{color:var(--muted);font-size:10px}.dashboard-content{padding-top:22px}.dashboard-welcome{display:flex;align-items:center;justify-content:space-between;gap:25px;padding:27px 31px;border-radius:19px;color:#fff;background:linear-gradient(120deg,#112541,#175ba8 70%,#168aa0);box-shadow:0 18px 40px #183f7024;position:relative;overflow:hidden}.dashboard-welcome:after{content:"";position:absolute;width:280px;height:280px;border:1px solid #ffffff20;border-radius:50%;right:30px;top:-150px;box-shadow:0 0 0 45px #ffffff08}.welcome-date{color:#a8c9e8;font-size:10px;text-transform:uppercase;letter-spacing:.13em}.dashboard-welcome h1{margin:5px 0;font-size:28px}.dashboard-welcome p{margin:0;color:#c7d9eb;font-size:12px}.welcome-tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}.welcome-tags span{display:flex;align-items:center;gap:6px;padding:5px 9px;border:1px solid #ffffff20;border-radius:16px;color:#d2e4f4;background:#ffffff0b;font-size:9px;text-transform:uppercase;letter-spacing:.05em}.welcome-tags span:last-child i{color:#43d59d;font-size:7px}.welcome-art{position:relative;z-index:1;display:grid;place-items:center;gap:7px;min-width:145px}.welcome-art>i{font-size:62px;color:#8ae2ea}.welcome-art span{display:grid;text-align:center;color:#bad3e8;font-size:10px}.welcome-art strong{color:#fff;font-size:24px}.dashboard-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:13px;margin:18px 0}.kpi-card{display:flex;align-items:center;gap:13px;padding:16px;border:1px solid var(--line);border-radius:14px;background:#fff;box-shadow:0 7px 24px #263b5c08}.kpi-card>span:last-child{display:grid;min-width:0}.kpi-card small{color:var(--muted);font-size:9px;text-transform:uppercase;letter-spacing:.08em}.kpi-card strong{font-size:22px}.kpi-card em{overflow:hidden;color:#8794a7;font-size:9px;font-style:normal;text-overflow:ellipsis;white-space:nowrap}.kpi-icon,.quick-icon{display:grid;place-items:center;flex:0 0 auto;width:42px;height:42px;border-radius:11px;font-size:17px}.blue{color:#1769e0;background:#eaf2fd}.green{color:#168760;background:#e7f7f0}.orange{color:#d77b12;background:#fff3df}.red{color:#d34b56;background:#feebed}.purple{color:#7852c7;background:#f0ebfb}.cyan{color:#168fa5;background:#e4f7fa}.dashboard-columns{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:18px}.dashboard-primary{display:grid;gap:18px}.dashboard-section,.side-panel{padding:18px;border:1px solid var(--line);border-radius:15px;background:#fff;box-shadow:0 8px 28px #263b5c08}.dashboard-section-head,.side-panel-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:14px}.dashboard-section-head h3,.side-panel-head h4{margin:3px 0 0;font-size:16px}.dashboard-section-head>span,.side-panel-head a{color:var(--muted);font-size:9px;text-transform:uppercase;letter-spacing:.08em}.side-panel-head a{color:var(--primary);text-decoration:none;font-weight:700}.quick-action-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.quick-action{display:flex;align-items:center;gap:10px;padding:11px;border:1px solid var(--line);border-radius:11px;color:var(--ink);text-decoration:none;transition:.18s}.quick-action:hover{transform:translateY(-2px);border-color:#bdd5f7;box-shadow:0 8px 20px #1769e012}.quick-action>span:nth-child(2){display:grid;flex:1}.quick-action strong{font-size:11px}.quick-action small{color:var(--muted);font-size:9px}.quick-action>i{color:#a5b1c1}.workspace-groups{display:grid;gap:10px}.workspace-group{border:1px solid var(--line);border-radius:12px;overflow:hidden}.workspace-group>header{display:flex;align-items:center;gap:11px;padding:11px 12px;background:#f9fbfd}.workspace-group>header>span{display:grid;place-items:center;width:31px;height:31px;border-radius:8px;color:var(--primary);background:#eaf2fd}.workspace-group>header div{display:grid;flex:1}.workspace-group>header strong{font-size:11px}.workspace-group>header small{color:var(--muted);font-size:9px}.group-toggle{border:0;background:transparent;color:#8794a7}.workspace-module-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:var(--line)}.workspace-module-grid a{display:flex;align-items:center;gap:9px;min-height:66px;padding:10px;color:var(--ink);background:#fff;text-decoration:none;transition:.18s}.workspace-module-grid a:hover{background:#f5f9ff}.workspace-module-grid a>span{display:grid;place-items:center;width:30px;height:30px;border-radius:8px;color:#55759d;background:#edf3fa}.workspace-module-grid a>div{display:grid;min-width:0;flex:1}.workspace-module-grid strong{font-size:10px}.workspace-module-grid small{overflow:hidden;color:var(--muted);font-size:8px;text-overflow:ellipsis;white-space:nowrap}.workspace-module-grid a>i{color:#aab4c1;font-size:10px}.workspace-group.collapsed .workspace-module-grid{display:none}.dashboard-secondary{display:grid;align-content:start;gap:13px}.side-panel{padding:15px}.access-score{display:flex;align-items:center;justify-content:space-between;padding:12px;border-radius:10px;background:#f4f8fd}.access-score>div{display:grid}.access-score strong{font-size:21px}.access-score span{color:var(--muted);font-size:9px}.access-ring{display:grid;place-items:center;width:48px;height:48px;border:5px solid #dce9f8;border-top-color:var(--primary);border-radius:50%;color:var(--primary)!important;font-size:9px!important;font-weight:800}.access-panel ul{display:grid;gap:7px;padding:0;margin:13px 0 0;list-style:none;color:#65748a;font-size:9px}.access-panel li{display:flex;align-items:center;gap:7px}.access-panel li i{color:#22a877}.notification-preview{display:grid}.notification-preview a{display:flex;align-items:flex-start;gap:8px;padding:9px 0;border-bottom:1px solid #edf0f4;color:var(--ink);text-decoration:none}.notification-preview a:last-child{border:0}.notification-preview a>span:nth-child(2){display:grid;min-width:0;flex:1}.notification-preview strong{font-size:10px}.notification-preview small{overflow:hidden;color:var(--muted);font-size:8px;text-overflow:ellipsis;white-space:nowrap}.notification-preview time{color:#9ca8b8;font-size:7px}.notification-dot{width:7px;height:7px;margin-top:4px;border-radius:50%;background:#c4ccd7}.notification-dot.unread{background:var(--primary);box-shadow:0 0 0 3px #1769e017}.mini-loading,.mini-empty{padding:20px;color:var(--muted);text-align:center;font-size:10px}.session-list{display:grid;gap:9px;margin:0}.session-list div{display:flex;justify-content:space-between;gap:12px}.session-list dt{color:var(--muted);font-size:9px;font-weight:500}.session-list dd{overflow:hidden;max-width:175px;margin:0;font-size:9px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.spin{animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}

@media(max-width:1200px){.dashboard-kpis{grid-template-columns:repeat(2,1fr)}.dashboard-columns{grid-template-columns:1fr}.dashboard-secondary{grid-template-columns:repeat(3,1fr)}.quick-action-grid,.workspace-module-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:991px){.auth-page{padding:14px}.auth-shell{grid-template-columns:1fr;min-height:0;max-width:560px}.auth-story{display:none}.auth-form-panel{padding:38px}.auth-mobile-brand{display:flex;margin-bottom:32px}.global-search-results{left:18px;width:calc(100vw - 36px)}.dashboard-secondary{grid-template-columns:1fr}.dashboard-search kbd,.top-user{display:none}}@media(max-width:650px){.auth-form-panel{padding:28px 22px}.auth-footer,.auth-story-footer{flex-direction:column}.dashboard-kpis,.quick-action-grid,.workspace-module-grid{grid-template-columns:1fr}.dashboard-welcome{padding:22px}.welcome-art{display:none}.dashboard-topbar{gap:8px}.dashboard-search{max-width:none}.dashboard-search input{width:100px}.dashboard-content{padding:13px}.kpi-card{padding:13px}}
.recovery-card{position:relative;width:min(520px,100%);padding:38px;border:1px solid #fff;border-radius:22px;background:#ffffffee;box-shadow:0 30px 80px #18345c25;backdrop-filter:blur(15px)}.recovery-card .auth-mobile-brand{display:flex;margin-bottom:30px;color:var(--ink);text-decoration:none}.recovery-card .auth-mobile-brand span:last-child{display:grid}.recovery-card .auth-mobile-brand small{color:var(--muted);font-size:9px;text-transform:uppercase;letter-spacing:.1em}.recovery-progress{display:flex;align-items:center;margin-bottom:30px}.recovery-progress span{display:grid;place-items:center;gap:4px;color:#9aa6b7;font-size:8px;text-transform:uppercase;letter-spacing:.08em}.recovery-progress span b{display:grid;place-items:center;width:27px;height:27px;border:1px solid var(--line);border-radius:50%;background:#fff;font-size:10px}.recovery-progress span.active{color:var(--primary);font-weight:800}.recovery-progress span.active b,.recovery-progress span.done b{border-color:var(--primary);color:#fff;background:var(--primary)}.recovery-progress i{height:1px;flex:1;margin:0 8px;background:var(--line)}.recovery-form{display:grid;gap:17px}.recovery-form label{display:grid;gap:7px}.otp-input{text-align:center;font-size:24px;letter-spacing:.45em;font-weight:800}.recovery-actions{display:flex;align-items:center;justify-content:space-between;margin-top:24px}.recovery-actions a,.recovery-actions button{border:0;color:var(--primary);background:transparent;text-decoration:none;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.07em}

/* Signature repository */
.signature-repository{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:14px;padding:15px}.signature-repo-card{display:flex;gap:13px;min-width:0;padding:13px;border:1px solid var(--line);border-radius:10px;background:#fff;box-shadow:0 8px 24px #263b5c08}.signature-preview{display:grid;place-items:center;flex:0 0 118px;width:118px;height:78px;border:1px solid #dfe6ee;border-radius:8px;background:#f8fafc;overflow:hidden}.signature-preview img{width:100%;height:100%;object-fit:contain;background:#fff}.signature-preview i{color:#9aa8ba;font-size:24px}.signature-repo-body{display:grid;align-content:start;gap:8px;min-width:0;flex:1}.signature-repo-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.signature-repo-head strong{min-width:0;font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.signature-meta-line{display:flex;flex-wrap:wrap;gap:8px 12px;color:#66758c;font-size:10px}.signature-meta-line span{display:inline-flex;align-items:center;gap:5px;min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.signature-badges{display:flex;gap:6px;flex-wrap:wrap}.signature-badge{display:inline-flex;padding:3px 8px;border-radius:20px;color:#1769e0;background:#eaf2fd;font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}.signature-badge.default{color:#157347;background:#dff5e8}

/* Customer delivery note */
.clickable-row{cursor:pointer}.clickable-row:hover{background:#f1f7ff!important}.delivery-actions{display:flex;align-items:center;gap:8px}.delivery-content{max-width:1500px}.delivery-loading{min-height:500px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:13px;color:var(--muted)}.delivery-document-head{display:flex;align-items:center;justify-content:space-between;gap:25px;padding:25px 28px;border-radius:16px 16px 0 0;color:#fff;background:linear-gradient(125deg,#10233e,#1769e0 72%,#1594a7)}.delivery-company{display:flex;align-items:center;gap:13px}.delivery-company>div{display:grid}.delivery-company strong{font-size:16px}.delivery-company small{color:#bed1e6;font-size:10px}.delivery-title{text-align:right}.delivery-title span{color:#bcd3e9;font-size:9px;text-transform:uppercase;letter-spacing:.15em}.delivery-title h1{margin:2px 0;font-size:25px}.delivery-title strong{color:#8ce2e9;font-size:12px}.delivery-status-bar{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid var(--line);border-top:0;background:#fff;box-shadow:0 9px 24px #263b5c08}.delivery-status-bar>div{display:grid;gap:3px;padding:14px 18px;border-right:1px solid var(--line)}.delivery-status-bar>div:last-child{border:0}.delivery-status-bar span{color:var(--muted);font-size:8px;text-transform:uppercase;letter-spacing:.09em}.delivery-status-bar strong{font-size:12px}.delivery-detail-grid{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:15px;margin-top:16px}.delivery-paper{overflow:hidden;border:1px solid var(--line);border-radius:15px;background:#fff;box-shadow:0 9px 28px #263b5c08}.delivery-section-title{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:12px 16px;border-bottom:1px solid var(--line);background:#f8fafc;color:#5a6980;font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.09em}.delivery-section-title span:first-child{display:flex;align-items:center;gap:8px}.delivery-info-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:var(--line)}.delivery-info-grid>div{display:grid;gap:5px;min-height:72px;padding:12px 15px;background:#fff}.delivery-info-grid span{display:flex;align-items:center;gap:6px;color:var(--muted);font-size:8px;text-transform:uppercase;letter-spacing:.06em}.delivery-info-grid strong{overflow:hidden;font-size:11px;text-overflow:ellipsis}.delivery-items{font-size:10px}.delivery-items th{padding:11px 12px;color:#687790;background:#f8fafc;font-size:8px;text-transform:uppercase;letter-spacing:.07em;white-space:nowrap}.delivery-items td{padding:10px 12px;border-color:#edf0f4;vertical-align:middle}.delivery-items td:nth-child(2){display:grid;min-width:190px}.delivery-items td:nth-child(2) small{color:var(--muted);font-size:8px}.delivery-status{display:inline-flex;padding:3px 7px;border-radius:14px;color:#5f6e82;background:#edf1f5;font-size:8px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}.delivery-status.delivered{color:#147451;background:#dff5e9}.delivery-status.dispatched,.delivery-status.in_transit,.delivery-status.partial{color:#1769a8;background:#e4f2fc}.delivery-status.cancelled{color:#b43e48;background:#fde8ea}.delivery-status.draft,.delivery-status.pending{color:#9b681d;background:#fff1d9}.delivery-notes{padding:16px;border-top:1px solid var(--line)}.delivery-notes strong{font-size:9px;text-transform:uppercase;letter-spacing:.08em}.delivery-notes p{margin:6px 0 0;color:var(--muted);font-size:10px;white-space:pre-wrap}.delivery-side{display:grid;align-content:start;gap:13px}.delivery-timeline{display:grid}.delivery-timeline>div{display:flex;gap:10px;position:relative;padding-bottom:16px}.delivery-timeline>div:not(:last-child):before{content:"";position:absolute;left:4px;top:11px;bottom:0;width:1px;background:#dce4ee}.timeline-dot{position:relative;z-index:1;flex:0 0 auto;width:9px;height:9px;margin-top:3px;border:2px solid #fff;border-radius:50%;background:var(--primary);box-shadow:0 0 0 2px #bdd5f7}.delivery-timeline section{display:grid}.delivery-timeline strong{font-size:9px}.delivery-timeline p{margin:2px 0;color:var(--muted);font-size:8px}.delivery-timeline small{color:#9aa6b7;font-size:7px}

@media(max-width:1100px){.delivery-detail-grid{grid-template-columns:1fr}.delivery-side{grid-template-columns:1fr 1fr}}@media(max-width:750px){.delivery-actions .btn span{display:none}.delivery-document-head{align-items:flex-start;flex-direction:column}.delivery-title{text-align:left}.delivery-status-bar,.delivery-info-grid{grid-template-columns:repeat(2,1fr)}.delivery-side{grid-template-columns:1fr}}@media print{body.delivery-page{background:#fff}.delivery-page .portal-sidebar,.delivery-page .portal-topbar,.delivery-page .delivery-side,.delivery-page .delivery-loading{display:none!important}.delivery-page .portal-main{margin:0}.delivery-page .portal-content{max-width:none;padding:0}.delivery-page .delivery-detail-grid{display:block;margin:0}.delivery-page .delivery-paper,.delivery-page .delivery-status-bar{border-color:#bbb;border-radius:0;box-shadow:none}.delivery-page .delivery-document-head{border-radius:0;background:#173b66!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}.delivery-page .delivery-section-title,.delivery-page .delivery-items th{background:#eee!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}.delivery-page .delivery-info-grid{grid-template-columns:repeat(3,1fr)}}

/* Full delivery editor */
.delivery-editor-content{max-width:1550px}.editor-hero{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:24px 27px;margin-bottom:15px;border-radius:16px;color:#fff;background:linear-gradient(125deg,#10233e,#1769e0 75%,#1594a7)}.editor-hero h1{margin:4px 0;font-size:25px}.editor-hero p{margin:0;color:#c8daec;font-size:10px}.editor-progress{display:flex;align-items:center}.editor-progress span{display:grid;place-items:center;width:29px;height:29px;border:1px solid #ffffff4f;border-radius:50%;font-size:10px}.editor-progress span.done{background:#1aa875;border-color:#1aa875}.editor-progress span.active{color:#1769e0;background:#fff;border-color:#fff}.editor-progress i{width:27px;height:1px;background:#ffffff4f}.editor-layout{display:grid;grid-template-columns:minmax(0,1fr) 275px;gap:15px}.editor-main{display:grid;gap:13px}.editor-card,.editor-summary{border:1px solid var(--line);border-radius:14px;background:#fff;box-shadow:0 8px 25px #263b5c08}.editor-card>header{display:flex;align-items:center;gap:11px;padding:14px 16px;border-bottom:1px solid var(--line);background:#f9fbfd}.editor-card>header>span{display:grid;place-items:center;width:35px;height:35px;border-radius:9px;color:var(--primary);background:#eaf2fd}.editor-card>header>div{display:grid;flex:1}.editor-card h3,.editor-summary h3{margin:0;font-size:13px}.editor-card header p{margin:2px 0 0;color:var(--muted);font-size:9px}.editor-fields{display:grid;grid-template-columns:repeat(2,1fr);gap:13px;padding:16px}.editor-fields.three{grid-template-columns:repeat(3,1fr)}.editor-fields label{display:grid;gap:6px;color:#596981;font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.06em}.editor-fields label.wide{grid-column:1/-1}.editor-fields small{color:var(--muted);font-size:8px;font-weight:400;text-transform:none;letter-spacing:0}.editor-aside{display:grid;align-content:start;gap:13px;position:sticky;top:87px;height:max-content}.editor-summary{padding:16px}.editor-summary dl{display:grid;gap:10px;margin:14px 0 0}.editor-summary dl div{display:flex;justify-content:space-between;padding-bottom:8px;border-bottom:1px solid #edf0f4}.editor-summary dt{color:var(--muted);font-size:9px;font-weight:500}.editor-summary dd{margin:0;font-size:11px;font-weight:800}.editor-summary ul{display:grid;gap:8px;padding:0;margin:14px 0 0;list-style:none;color:#64748b;font-size:9px}.editor-summary li{display:flex;gap:7px}.editor-summary li i{color:#20a875}.editor-items-table{min-width:950px;font-size:9px}.editor-items-table th{padding:9px;color:#687790;background:#f8fafc;font-size:7px;text-transform:uppercase;letter-spacing:.06em;white-space:nowrap}.editor-items-table td{padding:7px;vertical-align:middle}.editor-items-table td:first-child{min-width:220px}.editor-items-table td:nth-child(2){min-width:170px}.editor-items-table .form-control,.editor-items-table .form-select{padding:.4rem .45rem;font-size:9px}.editor-empty{padding:25px;color:var(--muted);text-align:center;font-size:9px}

/* Formal A4 delivery note */
.delivery-print-document{display:none}.a4-page{width:210mm;min-height:297mm;margin:0 auto;padding:12mm 13mm 10mm;color:#172033;background:#fff;font-family:Arial,sans-serif;font-size:9pt}.a4-header{display:flex;align-items:flex-start;justify-content:space-between;gap:15mm}.a4-company{display:flex;gap:4mm;align-items:flex-start}.a4-company img{width:23mm;height:23mm;object-fit:contain}.a4-company h2{margin:0 0 2mm;color:#174f86;font-size:16pt}.a4-company p{margin:1mm 0;color:#536174;font-size:7.5pt}.a4-title{text-align:right}.a4-title span{display:block;color:#6d7c8e;font-size:8pt;text-transform:uppercase;letter-spacing:.12em}.a4-title strong{display:block;margin:2mm 0;color:#143b64;font-size:15pt}.a4-title small{display:inline-block;padding:1.5mm 3mm;border-radius:10mm;color:#1769e0;background:#eaf2fd;font-size:7pt;text-transform:uppercase}.a4-rule{height:1.2mm;margin:5mm 0;background:linear-gradient(90deg,#174f86,#22a6b3)}.a4-meta{display:grid;grid-template-columns:1fr 1fr;gap:6mm}.a4-meta table{width:100%;border-collapse:collapse;border:1px solid #d9e0e8}.a4-meta caption{padding:2.2mm 3mm;color:#fff;background:#174f86;text-align:left;font-size:8pt;font-weight:bold;text-transform:uppercase;letter-spacing:.06em}.a4-meta th,.a4-meta td{padding:1.5mm 2.5mm;border-bottom:1px solid #e7ebf0;text-align:left;font-size:7.5pt}.a4-meta th{width:35%;color:#64748b;background:#f7f9fb}.a4-dispatch{display:grid;grid-template-columns:repeat(4,1fr);gap:0;margin:5mm 0;border:1px solid #d9e0e8}.a4-dispatch>div{display:grid;gap:1mm;padding:2.5mm;border-right:1px solid #d9e0e8}.a4-dispatch>div:last-child{border:0}.a4-dispatch span{color:#728096;font-size:6.5pt;text-transform:uppercase}.a4-dispatch strong{font-size:8pt}.a4-dispatch small{color:#728096;font-size:6.5pt}.a4-message,.a4-notes,.a4-terms{margin:4mm 0;padding:3mm;border:1px solid #dfe6ee;border-left:1.2mm solid #22a6b3;background:#f9fbfd}.a4-message p,.a4-notes p{margin:1.5mm 0 0;color:#526176;font-size:7.5pt;white-space:pre-wrap}.a4-items{width:100%;margin-top:4mm;border-collapse:collapse}.a4-items th{padding:2.2mm;color:#fff;background:#174f86;font-size:7pt;text-align:left;text-transform:uppercase}.a4-items td{padding:2mm;border:1px solid #dde4ec;font-size:7.5pt}.a4-items td small{display:block;color:#788699;font-size:6.5pt}.a4-items tfoot td{color:#143b64;background:#edf4fa;font-weight:bold;text-align:right}.a4-terms h3{margin:0 0 2mm;color:#174f86;font-size:9pt}.a4-terms ol{display:grid;gap:1.5mm;margin:0;padding-left:5mm}.a4-terms li{color:#536174;font-size:7pt}.a4-terms li strong,.a4-terms li span{display:block}.a4-signatures{display:grid;grid-template-columns:repeat(3,1fr);gap:8mm;margin-top:10mm}.a4-signature{display:grid;place-items:center;min-height:27mm;text-align:center}.a4-signature strong{font-size:7.5pt;text-transform:uppercase}.a4-signature img{max-width:30mm;max-height:13mm;margin:2mm}.a4-signature span{width:100%;margin-top:auto;border-top:1px solid #6c7785}.a4-signature small{margin-top:1.5mm;color:#788699;font-size:6pt}.a4-page footer{display:flex;justify-content:space-between;margin-top:8mm;padding-top:2.5mm;border-top:1px solid #dfe6ee;color:#8995a5;font-size:6.5pt}

@media(max-width:1100px){.editor-layout{grid-template-columns:1fr}.editor-aside{position:static;grid-template-columns:1fr 1fr}}@media(max-width:750px){.editor-fields,.editor-fields.three{grid-template-columns:1fr}.editor-aside{grid-template-columns:1fr}.editor-hero{align-items:flex-start;flex-direction:column}}@media print{@page{size:A4 portrait;margin:0}.delivery-page .delivery-content>*{display:none!important}.delivery-page .delivery-print-document{display:block!important}.delivery-page .a4-page{display:block;width:210mm;min-height:297mm;margin:0;padding:12mm 13mm 10mm;box-shadow:none}.delivery-page .portal-content{padding:0!important}.delivery-page .portal-main{margin:0!important}}

/* Odoo-inspired delivery form */
.delivery-editor-page{--odoo:#714b67;--odoo-dark:#52384c;--odoo-soft:#f6f1f5;background:#f4f5f7}.delivery-editor-page .portal-topbar{height:64px;background:#fff}.delivery-editor-page .portal-topbar .btn-primary,.delivery-editor-page .editor-aside>.btn-primary{background:var(--odoo);box-shadow:none}.delivery-editor-content{max-width:1420px;padding-top:18px}.delivery-editor-page .editor-hero{padding:20px 24px;margin-bottom:12px;border:1px solid #e1d6df;border-radius:6px;color:#2f2830;background:#fff;box-shadow:0 2px 8px #3223300b}.delivery-editor-page .editor-hero .section-kicker{color:var(--odoo)}.delivery-editor-page .editor-hero h1{font-size:23px}.delivery-editor-page .editor-hero p{color:#7a7078}.delivery-editor-page .editor-progress span{border-color:#d8cbd5;color:#806c7c}.delivery-editor-page .editor-progress span.done{border-color:var(--odoo);background:var(--odoo)}.delivery-editor-page .editor-progress span.active{border-color:var(--odoo);color:#fff;background:var(--odoo)}.delivery-editor-page .editor-progress i{background:#d8cbd5}.delivery-editor-page .editor-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}.delivery-editor-page .editor-main{gap:12px}.delivery-editor-page .editor-card,.delivery-editor-page .editor-summary{border:1px solid #dedfe3;border-radius:5px;box-shadow:0 2px 8px #25202809}.delivery-editor-page .editor-card>header{padding:12px 16px;background:#f8f8f9}.delivery-editor-page .editor-card>header>span{border-radius:4px;color:var(--odoo);background:var(--odoo-soft)}.delivery-editor-page .editor-card h3,.delivery-editor-page .editor-summary h3{font-size:14px}.delivery-editor-page .editor-fields{gap:18px 24px;padding:20px 22px}.delivery-editor-page .editor-fields label{font-size:10px;text-transform:none;letter-spacing:0}.delivery-editor-page .editor-fields .form-control,.delivery-editor-page .editor-fields .form-select{border-width:0 0 1px;border-radius:0;background-color:transparent;box-shadow:none}.delivery-editor-page .editor-fields .form-control:focus,.delivery-editor-page .editor-fields .form-select:focus{border-color:var(--odoo);box-shadow:0 1px 0 var(--odoo)}.delivery-editor-page .editor-aside{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr) 220px;align-items:stretch;gap:12px;position:static;top:auto;height:auto}.delivery-editor-page .editor-summary{padding:15px 18px}.delivery-editor-page .editor-summary dl{grid-template-columns:repeat(5,1fr);gap:0;margin-top:12px}.delivery-editor-page .editor-summary dl div{display:grid;gap:3px;padding:6px 12px;border:0;border-right:1px solid #ece8eb}.delivery-editor-page .editor-summary dl div:last-child{border:0}.delivery-editor-page .editor-summary ul{grid-template-columns:repeat(2,1fr);margin-top:12px}.delivery-editor-page .editor-aside>.btn{align-self:stretch;border-radius:5px}.delivery-editor-page .items-editor-card header .btn{color:var(--odoo);border-color:#cbb9c7}.delivery-editor-page .items-editor-card header .btn:hover{color:#fff;background:var(--odoo)}.delivery-editor-page .editor-items-table th{background:#f2f2f3}.customer-field{position:relative}.customer-combobox{position:relative}.customer-search-control{display:flex;align-items:center;border-bottom:1px solid var(--line);background:#fff}.customer-search-control>i{margin-left:8px;color:#8c7b89}.delivery-editor-page .customer-search-control .form-control{border:0!important;box-shadow:none!important}.customer-search-control button{display:grid;place-items:center;width:34px;height:34px;border:0;color:#958693;background:transparent}.customer-search-results{display:none;position:absolute;z-index:1060;top:calc(100% + 5px);left:0;right:0;max-height:340px;overflow:auto;padding:5px;border:1px solid #d8d4d8;border-radius:5px;background:#fff;box-shadow:0 15px 40px #3b293825}.customer-search-results.show{display:grid}.customer-search-results button{display:flex;align-items:center;gap:10px;padding:9px;border:0;border-radius:4px;color:#332d32;background:#fff;text-align:left}.customer-search-results button:hover,.customer-search-results button:focus{background:var(--odoo-soft);outline:0}.customer-search-results button>span:nth-child(2){display:grid;min-width:0;flex:1}.customer-search-results strong{overflow:hidden;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.customer-search-results small{overflow:hidden;color:#877b85;font-size:8px;text-overflow:ellipsis;white-space:nowrap}.customer-search-results button>i{color:#ad9ba9}.customer-result-avatar{display:grid;place-items:center;flex:0 0 auto;width:30px;height:30px;border-radius:4px;color:#fff;background:var(--odoo);font-size:11px;font-weight:800}.customer-no-results{display:flex;align-items:center;justify-content:center;gap:8px;padding:22px;color:#8d828b;font-size:10px}
@media(max-width:1200px){.delivery-editor-page .editor-aside{grid-template-columns:1fr 1fr}.delivery-editor-page .editor-aside>.btn{grid-column:1/-1}.delivery-editor-page .editor-summary dl{grid-template-columns:repeat(3,1fr)}}@media(max-width:750px){.delivery-editor-page .editor-aside{grid-template-columns:1fr}.delivery-editor-page .editor-aside>.btn{grid-column:auto}.delivery-editor-page .editor-summary dl,.delivery-editor-page .editor-summary ul{grid-template-columns:1fr}.delivery-editor-page .editor-summary dl div{border-right:0;border-bottom:1px solid #ece8eb}}
.portal-report-view{background:#fff}.portal-report-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px 18px;border-bottom:1px solid var(--line);background:#fbfcfe}.portal-report-toolbar h3{margin:3px 0 4px;font-size:17px}.portal-report-toolbar p{max-width:720px;margin:0;color:var(--muted);font-size:12px}.report-actions{display:flex;gap:8px;flex-wrap:wrap}.report-frame-wrap{position:relative;min-height:calc(100vh - 230px);background:#edf2f7}.report-frame{display:block;width:100%;min-height:calc(100vh - 230px);border:0;background:#fff}.report-frame-loading{position:absolute;inset:0;z-index:2;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:10px;color:var(--muted);background:#f8fafde8;backdrop-filter:blur(3px)}.report-frame-loading strong{color:var(--ink)}@media(max-width:700px){.portal-report-toolbar{align-items:stretch;flex-direction:column}.report-actions .btn{flex:1}}

/* Delivery module report tools */
.delivery-module-view{background:#fff}.delivery-module-hero{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px;border-bottom:1px solid var(--line);background:#fbfcfe}.delivery-module-hero h3{margin:3px 0 4px;font-size:18px}.delivery-module-hero p{margin:0;color:var(--muted);font-size:12px}.delivery-module-actions{display:flex;gap:8px;flex-wrap:wrap}.delivery-module-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:var(--line);border-bottom:1px solid var(--line)}.delivery-module-stats>div{display:grid;gap:3px;padding:14px 16px;background:#fff}.delivery-module-stats span{color:var(--muted);font-size:9px;text-transform:uppercase;letter-spacing:.08em}.delivery-module-stats strong{font-size:20px}.delivery-export-table td:nth-child(4){max-width:260px}.daily-sheet-view{background:#fff}.daily-sheet-preview{overflow:auto;max-height:calc(100vh - 245px);padding:16px;background:#edf2f7}.daily-sheet-preview .report-page{min-width:1180px;margin:auto;padding:18px;border:1px solid #dfe6ee;background:#fff;box-shadow:0 15px 35px #22385d12}.daily-sheet-preview .report-head{display:flex;justify-content:space-between;gap:18px;border-bottom:3px solid #1769e0;padding-bottom:10px}.daily-sheet-preview .report-head h1{margin:2px 0 4px;color:#10233e;font-size:22px}.daily-sheet-preview .report-head p{margin:2px 0;color:#64748b;font-size:11px}.daily-sheet-preview .report-meta{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:12px 0}.daily-sheet-preview .report-meta div{padding:8px;border:1px solid #dfe6ee;background:#f8fafc}.daily-sheet-preview .report-meta span{display:block;color:#728096;font-size:8px;text-transform:uppercase}.daily-sheet-preview .report-meta strong{font-size:13px}.daily-sheet-preview .report-table{width:100%;border-collapse:collapse;font-size:9px}.daily-sheet-preview .report-table th{padding:6px;background:#174f86;color:#fff;text-align:left;text-transform:uppercase}.daily-sheet-preview .report-table td{padding:6px;border:1px solid #dde4ec;vertical-align:top}.daily-sheet-preview .report-table tfoot td{font-weight:800;background:#edf4fa}.daily-sheet-preview .sheet-table th,.daily-sheet-preview .sheet-table td{text-align:center;font-size:8px}.daily-sheet-preview .sheet-table th:first-child,.daily-sheet-preview .sheet-table td:first-child{text-align:left;min-width:140px}.report-actions .form-control[type=month]{width:155px}.delivery-page .delivery-actions{flex-wrap:wrap;justify-content:flex-end}
@media(max-width:900px){.delivery-module-hero{align-items:stretch;flex-direction:column}.delivery-module-actions .btn{flex:1}.delivery-module-stats{grid-template-columns:1fr}.daily-sheet-preview{max-height:none}.report-actions .form-control[type=month]{width:100%}}

/* HR operational workspace */
.hr-workspace,.hr-profile,.hr-documents{background:#fff}.hr-toolbar,.hr-profile-head{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px;border-bottom:1px solid var(--line);background:#fbfcfe}.hr-toolbar h3,.hr-profile-head h3{margin:3px 0 4px;font-size:18px}.hr-toolbar p,.hr-profile-head p{margin:0;color:var(--muted);font-size:12px}.hr-toolbar-actions{display:flex;gap:8px;flex-wrap:wrap}.hr-kpi-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:var(--line);border-bottom:1px solid var(--line)}.hr-kpi{display:grid;grid-template-columns:40px 1fr;gap:2px 11px;padding:15px 16px;background:#fff}.hr-kpi i{grid-row:1/3;display:grid;place-items:center;width:38px;height:38px;border-radius:10px;font-size:17px}.hr-kpi span{color:var(--muted);font-size:9px;text-transform:uppercase;letter-spacing:.08em}.hr-kpi strong{font-size:21px}.hr-kpi.blue i{color:#1769e0;background:#eaf2fd}.hr-kpi.green i{color:#168760;background:#e7f7f0}.hr-kpi.orange i{color:#d77b12;background:#fff3df}.hr-kpi.purple i{color:#7852c7;background:#f0ebfb}.hr-employee-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(315px,1fr));gap:13px;padding:16px;background:#f6f8fb}.hr-employee-card{display:grid;gap:12px;padding:14px;border:1px solid var(--line);border-radius:8px;background:#fff;box-shadow:0 7px 22px #263b5c08}.hr-card-main{display:flex;align-items:center;gap:12px;width:100%;padding:0;border:0;background:transparent;text-align:left}.hr-avatar{display:grid;place-items:center;flex:0 0 auto;width:42px;height:42px;border-radius:10px;color:#fff;background:linear-gradient(145deg,#1769e0,#1aa6a5);font-size:12px;font-weight:800}.hr-avatar.large{width:58px;height:58px;border-radius:12px;font-size:16px}.hr-card-body{display:grid;min-width:0;flex:1}.hr-card-body strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px}.hr-card-body small,.hr-card-body em{overflow:hidden;color:var(--muted);font-size:10px;font-style:normal;text-overflow:ellipsis;white-space:nowrap}.hr-card-meta{display:grid;grid-template-columns:1fr 1fr;gap:7px;color:#65748a;font-size:10px}.hr-card-meta span{display:flex;align-items:center;gap:6px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hr-card-actions{display:flex;justify-content:flex-end;gap:6px;flex-wrap:wrap;padding-top:10px;border-top:1px solid #edf0f4}.hr-profile-person{display:flex;align-items:center;gap:13px;min-width:0;flex:1}.hr-profile-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:13px;padding:16px;background:#f6f8fb}.hr-profile-grid.wide{grid-template-columns:1fr 1fr;padding-top:0}.hr-panel{min-width:0;padding:15px;border:1px solid var(--line);border-radius:8px;background:#fff;box-shadow:0 7px 22px #263b5c08}.hr-panel h4{margin:0 0 12px;font-size:13px}.hr-detail-list{display:grid;gap:9px;margin:0}.hr-detail-list div{display:flex;justify-content:space-between;gap:12px;padding-bottom:8px;border-bottom:1px solid #edf0f4}.hr-detail-list dt{color:var(--muted);font-size:9px;font-weight:500}.hr-detail-list dd{max-width:55%;margin:0;overflow:hidden;text-align:right;text-overflow:ellipsis;white-space:nowrap;font-size:10px;font-weight:800}.enterprise-table.compact th{padding:8px 10px;font-size:8px}.enterprise-table.compact td{padding:8px 10px;font-size:10px}.hr-document-list{display:grid;gap:10px;padding:16px;background:#f6f8fb}.hr-document-list.compact{padding:0;background:transparent}.hr-document-card{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto auto auto;align-items:center;gap:10px;padding:12px;border:1px solid var(--line);border-radius:8px;background:#fff}.hr-doc-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:9px;color:#1769e0;background:#eaf2fd}.hr-document-card div{display:grid;min-width:0}.hr-document-card strong,.hr-document-card small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hr-document-card strong{font-size:12px}.hr-document-card small{color:var(--muted);font-size:9px}
@media(max-width:1200px){.hr-profile-grid{grid-template-columns:repeat(2,1fr)}.hr-kpi-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:760px){.hr-toolbar,.hr-profile-head{align-items:stretch;flex-direction:column}.hr-toolbar-actions .btn{flex:1}.hr-kpi-grid,.hr-profile-grid,.hr-profile-grid.wide{grid-template-columns:1fr}.hr-employee-grid{grid-template-columns:1fr;padding:12px}.hr-card-meta{grid-template-columns:1fr}.hr-document-card{grid-template-columns:auto minmax(0,1fr) auto}.hr-document-card .btn{width:34px}.hr-document-card .status-badge{grid-column:2/4;width:max-content}}

/* Customer operations */
.customer-workspace,.customer-profile{background:#fff}.customer-toolbar,.customer-profile-head{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px;border-bottom:1px solid var(--line);background:#fbfcfe}.customer-toolbar h3,.customer-profile-head h3{margin:3px 0 4px;font-size:18px}.customer-toolbar p{max-width:720px;margin:0;color:var(--muted);font-size:12px}.customer-toolbar-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.customer-toolbar-actions .form-select{width:128px}.customer-kpi-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:var(--line);border-bottom:1px solid var(--line)}.customer-kpi{display:grid;grid-template-columns:40px 1fr;gap:2px 11px;padding:15px 16px;background:#fff}.customer-kpi i{grid-row:1/3;display:grid;place-items:center;width:38px;height:38px;border-radius:10px;font-size:17px}.customer-kpi span{color:var(--muted);font-size:9px;text-transform:uppercase;letter-spacing:.08em}.customer-kpi strong{font-size:21px}.customer-kpi.blue i{color:#1769e0;background:#eaf2fd}.customer-kpi.green i{color:#168760;background:#e7f7f0}.customer-kpi.orange i{color:#d77b12;background:#fff3df}.customer-kpi.purple i{color:#7852c7;background:#f0ebfb}.customer-table-wrap{background:#fff}.customer-table{min-width:1050px}.customer-cell{display:flex;align-items:center;gap:11px;min-width:260px}.customer-cell.profile{min-width:0;flex:1}.customer-cell strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.customer-cell small{display:block;max-width:360px;overflow:hidden;color:var(--muted);font-size:10px;text-overflow:ellipsis;white-space:nowrap}.customer-avatar{display:grid;place-items:center;flex:0 0 auto;width:38px;height:38px;border-radius:10px;color:#fff;background:linear-gradient(145deg,#1769e0,#1aa6a5);font-size:11px;font-weight:800}.customer-avatar.large{width:58px;height:58px;border-radius:12px;font-size:16px}.customer-contact{display:grid;gap:3px;min-width:150px;color:#65748a;font-size:10px}.customer-contact span{display:flex;align-items:center;gap:6px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.customer-pager{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 16px;border-top:1px solid var(--line);background:#fbfcfe;color:var(--muted);font-size:11px}.customer-profile-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:13px;padding:16px;background:#f6f8fb}.customer-panel{min-width:0;padding:15px;border:1px solid var(--line);border-radius:8px;background:#fff;box-shadow:0 7px 22px #263b5c08}.customer-panel h4{margin:0 0 12px;font-size:13px}
.selected-customer-return{display:flex;align-items:center;justify-content:flex-start;padding:9px 12px;border-bottom:1px solid var(--line);background:#fff}.selected-customer-return .btn{display:inline-flex;align-items:center;gap:7px;max-width:100%;font-weight:750}.selected-customer-return .btn span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:1200px){.customer-kpi-grid,.customer-profile-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:760px){.customer-toolbar,.customer-profile-head{align-items:stretch;flex-direction:column}.customer-toolbar-actions .btn,.customer-toolbar-actions .form-select{width:100%;flex:1}.customer-kpi-grid,.customer-profile-grid{grid-template-columns:1fr}.customer-pager{align-items:stretch;flex-direction:column}.customer-pager .btn-group{width:100%}.customer-pager .btn{flex:1}.customer-cell small{max-width:220px}}

/* Shared record editor modal */
.record-modal-dialog{height:calc(100vh - 3.5rem);max-width:min(1180px,calc(100vw - 1.5rem))}.record-modal-dialog .modal-content{display:flex;max-height:100%;overflow:hidden}.record-modal-dialog #recordForm{display:flex;min-height:0;flex:1;flex-direction:column}.record-modal-dialog .modal-body{min-height:0;overflow-y:auto;padding-bottom:28px}.record-modal-dialog .modal-footer{position:sticky;bottom:0;z-index:2;flex:0 0 auto;background:#fff;box-shadow:0 -10px 22px #17203310}.record-modal-dialog textarea.form-control{min-height:116px;resize:vertical}.record-modal-dialog #recordFields{padding-bottom:8px}@media(max-width:576px){.record-modal-dialog{height:calc(100vh - 1rem);margin:.5rem auto}.record-modal-dialog .modal-header,.record-modal-dialog .modal-footer{padding:14px}.record-modal-dialog .modal-body{padding:16px}.record-modal-dialog .modal-footer .btn{flex:1}.record-modal-dialog textarea.form-control{min-height:132px}}

/* Sidebar hide/show and desktop modal scrolling fixes */
.portal-sidebar{transition:transform .25s ease}.portal-main{transition:margin-left .25s ease}.sidebar-collapsed .portal-sidebar{transform:translateX(-100%)}.sidebar-collapsed .portal-main{margin-left:0}.record-modal-dialog .modal-content{height:100%}.record-modal-dialog .modal-header{flex:0 0 auto}.record-modal-dialog .modal-body{max-height:none!important}@media(max-width:991px){body:not(.sidebar-open) .portal-sidebar{transform:translateX(-100%)!important}.sidebar-open .portal-sidebar{transform:translateX(0)!important}.portal-main{margin-left:0!important}.sidebar-open:before{content:"";position:fixed;inset:0;z-index:1030;background:#101d3573;backdrop-filter:blur(2px)}}@media(min-width:992px){.portal-sidebar{transform:translateX(0)}.portal-topbar{gap:16px}.portal-topbar>#sidebarToggle{flex:0 0 auto}}

/* Compact professional data views */
.portal-content{max-width:1480px}.enterprise-card{border-radius:8px;box-shadow:0 6px 18px #23385d0a}.page-intro{margin-bottom:14px}.page-intro h1{font-size:25px}.page-intro p{font-size:12px}.card-commandbar{padding:10px 12px}.enterprise-table{font-size:12px}.enterprise-table thead th{padding:9px 11px;font-size:9px;letter-spacing:.06em;background:#f6f8fb}.enterprise-table tbody td{padding:8px 11px;max-width:230px}.enterprise-table .btn,.customer-table .btn{display:inline-grid;place-items:center;width:28px;height:28px;padding:0;border-radius:6px}.enterprise-table .btn i,.customer-table .btn i{font-size:13px}.enterprise-table .btn span,.customer-table .btn span{display:none}.status-badge{padding:2px 7px;border-radius:12px;font-size:9px}.sticky-action{box-shadow:-8px 0 14px #ffffffd9}.customer-toolbar,.customer-profile-head,.hr-toolbar,.hr-profile-head{padding:12px 14px}.customer-toolbar h3,.customer-profile-head h3,.hr-toolbar h3,.hr-profile-head h3{font-size:15px}.customer-toolbar p,.hr-toolbar p{font-size:11px}.customer-kpi-grid,.hr-kpi-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.customer-kpi,.hr-kpi{grid-template-columns:30px 1fr;padding:10px 12px;gap:1px 8px}.customer-kpi i,.hr-kpi i{width:28px;height:28px;border-radius:7px;font-size:13px}.customer-kpi span,.hr-kpi span{font-size:8px}.customer-kpi strong,.hr-kpi strong{font-size:16px}.customer-table{min-width:920px}.customer-cell{gap:8px;min-width:220px}.customer-cell small{max-width:280px;font-size:9px}.customer-avatar,.hr-avatar{width:30px;height:30px;border-radius:7px;font-size:9px;background:#1769e0}.customer-avatar.large,.hr-avatar.large{width:42px;height:42px;border-radius:9px;font-size:12px}.customer-contact{gap:1px;min-width:130px;font-size:9px}.customer-contact i{font-size:10px}.customer-pager{padding:9px 12px;font-size:10px}.customer-profile-grid,.hr-profile-grid{gap:10px;padding:12px}.customer-panel,.hr-panel{padding:12px;border-radius:7px;box-shadow:none}.customer-panel h4,.hr-panel h4{font-size:12px;margin-bottom:9px}.hr-employee-grid{gap:10px;padding:12px}.hr-employee-card{gap:9px;padding:11px;box-shadow:none}.hr-card-actions{padding-top:8px}.hr-card-meta{font-size:9px}.sidebar-link{border-radius:7px;padding:9px 11px;font-size:12px}.sidebar-link i{font-size:14px}.intro-stat{display:none}@media(max-width:1200px){.customer-kpi-grid,.hr-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.customer-kpi-grid,.hr-kpi-grid{grid-template-columns:1fr}.enterprise-table tbody td{padding:8px 10px}.customer-table{min-width:820px}}

.customer-full-record{padding:0 12px 12px;background:#f6f8fb}.customer-field-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1px;border:1px solid var(--line);background:var(--line);overflow:hidden;border-radius:6px}.customer-field-item{display:grid;gap:4px;min-width:0;padding:8px 10px;background:#fff}.customer-field-item span{color:var(--muted);font-size:8px;font-weight:800;letter-spacing:.05em;text-transform:uppercase}.customer-field-item strong{min-width:0;overflow:hidden;color:var(--ink);font-size:11px;font-weight:650;text-overflow:ellipsis;white-space:nowrap}.customer-field-item:hover strong{white-space:normal;overflow:visible;word-break:break-word}
.customer-action-panel{padding:12px;background:#f6f8fb}.customer-action-panel>header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.customer-action-panel h4{margin:2px 0 0;font-size:13px}.customer-action-panel small{min-width:0;overflow:hidden;color:var(--muted);font-size:10px;text-overflow:ellipsis;white-space:nowrap}.customer-action-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}.customer-action-card{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;min-width:0;padding:10px;border:1px solid var(--line);border-radius:5px;background:#fff;color:var(--ink);text-align:left;box-shadow:none}.customer-action-card:hover{border-color:#c8b7c4;background:#fbfafb}.customer-action-card>span{display:grid;place-items:center;width:30px;height:30px;border-radius:5px}.customer-action-card strong{overflow:hidden;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.customer-action-card small{grid-column:2/4;color:var(--muted);font-size:8px}.customer-action-card.blue>span{color:#1769e0;background:#eaf2fd}.customer-action-card.green>span{color:#168760;background:#e7f7f0}.customer-action-card.purple>span{color:#7852c7;background:#f0ebfb}.customer-action-card.orange>span{color:#d77b12;background:#fff3df}.customer-action-card.cyan>span{color:#168fa5;background:#e4f7fa}.customer-action-card.red>span{color:#b4232f;background:#fde8ea}
@media(min-width:761px){.customer-table{width:100%;min-width:0;table-layout:fixed}.customer-table th:nth-child(1),.customer-table td:nth-child(1){width:27%}.customer-table th:nth-child(2),.customer-table td:nth-child(2){width:19%}.customer-table th:nth-child(3),.customer-table td:nth-child(3){width:16%}.customer-table th:nth-child(4),.customer-table td:nth-child(4),.customer-table th:nth-child(5),.customer-table td:nth-child(5){width:11%}.customer-table th:nth-child(6),.customer-table td:nth-child(6){width:10%}.customer-table th:nth-child(7),.customer-table td:nth-child(7){width:86px}.customer-cell{min-width:0}.customer-contact{min-width:0}}
@media(max-width:1200px){.customer-action-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.customer-action-panel>header{align-items:flex-start;flex-direction:column}.customer-action-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.customer-table-wrap{overflow:visible}.customer-table{display:block;width:100%;min-width:0}.customer-table thead{display:none}.customer-table tbody{display:grid;gap:8px;padding:10px;background:#f6f8fb}.customer-table tbody tr{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:10px;border:1px solid var(--line);border-radius:5px;background:#fff}.customer-table tbody td{display:block;max-width:none;padding:0;border:0;white-space:normal;overflow:visible;text-overflow:clip}.customer-table tbody td:first-child{grid-column:1/-1}.customer-table tbody td:nth-child(2),.customer-table tbody td:nth-child(3){grid-column:1/-1}.customer-table tbody td:nth-child(4),.customer-table tbody td:nth-child(5),.customer-table tbody td:nth-child(6){font-size:10px}.customer-table tbody td:nth-child(4):before{content:"Balance ";color:var(--muted);font-weight:700}.customer-table tbody td:nth-child(5):before{content:"Credit ";color:var(--muted);font-weight:700}.customer-table tbody td:last-child{grid-column:2;grid-row:4 / span 2;align-self:end}.customer-table .sticky-action{position:static;box-shadow:none}.customer-table .btn-group{display:flex}.customer-cell{min-width:0}.customer-cell small{max-width:none;white-space:normal}.customer-contact{min-width:0}.customer-contact span{white-space:normal}}
@media(max-width:430px){.customer-action-grid{grid-template-columns:1fr}.customer-table tbody tr{grid-template-columns:1fr}.customer-table tbody td:last-child{grid-column:1;grid-row:auto;justify-self:end}}

.project-workspace{background:#fff}.project-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:12px 14px;border-bottom:1px solid var(--line);background:#fbfcfe}.project-toolbar h3{margin:3px 0 4px;font-size:15px}.project-toolbar p{max-width:720px;margin:0;color:var(--muted);font-size:11px}.project-toolbar-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.project-toolbar-actions .form-select{width:128px}.project-kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;background:var(--line);border-bottom:1px solid var(--line)}.project-table-wrap{background:#fff;overflow-x:auto}.project-table{min-width:900px}.project-table td:nth-child(3){max-width:340px}.project-pager{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 12px;border-top:1px solid var(--line);background:#fbfcfe;color:var(--muted);font-size:10px}.record-modal-dialog [data-customer-lookup-display]+datalist+small,.record-modal-dialog [data-customer-lookup-display]~small{display:block;margin-top:4px;font-size:10px}@media(max-width:1200px){.project-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.project-toolbar{align-items:stretch;flex-direction:column}.project-toolbar-actions .btn,.project-toolbar-actions .form-select{width:100%;flex:1}.project-kpi-grid{grid-template-columns:1fr}.project-table{min-width:780px}.project-pager{align-items:stretch;flex-direction:column}.project-pager .btn-group{width:100%}.project-pager .btn{flex:1}}

.documents-workspace{background:#fff}.documents-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:12px 14px;border-bottom:1px solid var(--line);background:#fbfcfe}.documents-toolbar h3{margin:3px 0 4px;font-size:15px}.documents-toolbar p{max-width:760px;margin:0;color:var(--muted);font-size:11px}.documents-toolbar-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.google-drive-status-line{display:flex;align-items:center;gap:7px;padding:7px 14px;border-bottom:1px solid var(--line);background:#fff;color:var(--muted);font-size:10px}.google-drive-status-line i{color:#714b67}.google-drive-modal-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 10px;border:1px solid var(--line);border-radius:5px;background:#fbfcfe}.google-drive-modal-tools div{display:grid;gap:2px}.google-drive-modal-tools small{color:var(--muted);font-size:10px}.documents-kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;background:var(--line);border-bottom:1px solid var(--line)}.documents-list{display:grid;gap:10px;padding:12px;background:#f6f8fb}.document-card{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto auto auto;align-items:center;gap:10px;padding:12px;border:1px solid var(--line);border-radius:8px;background:#fff}.document-provider-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:8px;color:#1769e0;background:#eaf2fd}.document-card-main{display:grid;min-width:0}.document-card-main strong,.document-card-main small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.document-card-main strong{font-size:12px}.document-card-main small{color:var(--muted);font-size:9px}.document-card .btn{display:inline-grid;place-items:center;width:30px;height:30px;padding:0;border-radius:6px}.document-card .btn span{display:none}@media(max-width:1200px){.documents-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.documents-toolbar{align-items:stretch;flex-direction:column}.documents-toolbar-actions .btn{width:100%;flex:1}.documents-kpi-grid{grid-template-columns:1fr}.google-drive-modal-tools{align-items:stretch;flex-direction:column}.document-card{grid-template-columns:auto minmax(0,1fr) auto}.document-card .status-badge{grid-column:2/4;width:max-content}}

/* HR employees professional directory */
.hr-workspace{min-height:560px;background:#fff}.hr-workspace .hr-toolbar{align-items:flex-start;background:linear-gradient(180deg,#fbfcfe,#fff)}.hr-workspace .hr-toolbar>div:first-child{max-width:720px}.hr-workspace .hr-toolbar-actions{align-items:center;justify-content:flex-end}.hr-workspace .hr-toolbar-actions .form-select{width:150px;height:34px;padding-top:5px;padding-bottom:5px;font-size:11px}.hr-workspace .hr-toolbar-actions #hrDepartmentFilter{width:180px}.hr-workspace .hr-kpi-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.hr-kpi.cyan i{color:#168fa5;background:#e4f7fa}.status-badge.warning{color:#9a5a05;background:#fff3df}.status-badge.danger{color:#b4232f;background:#fde8ea}.hr-directory-table{background:#fff}.hr-employee-table{min-width:980px}.hr-employee-table thead th{vertical-align:middle}.hr-employee-table tbody td{vertical-align:middle}.hr-employee-cell{display:flex;align-items:center;gap:10px;min-width:240px;width:100%;padding:0;border:0;background:transparent;color:var(--ink);text-align:left}.hr-employee-cell:hover strong{color:var(--primary)}.hr-employee-cell span:last-child,.hr-org-cell,.hr-contact-cell{display:grid;min-width:0}.hr-employee-cell strong,.hr-org-cell strong{overflow:hidden;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.hr-employee-cell small,.hr-org-cell small{overflow:hidden;color:var(--muted);font-size:9px;text-overflow:ellipsis;white-space:nowrap}.hr-contact-cell{gap:2px;min-width:170px;color:#65748a;font-size:9px}.hr-contact-cell span{display:flex;align-items:center;gap:6px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hr-contact-cell i{color:#8c99aa;font-size:10px}.hr-employee-table .hr-docs-button{display:inline-flex;width:auto;min-width:42px;gap:5px}.hr-employee-table .hr-docs-button span{display:inline}.hr-directory-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border-top:1px solid var(--line);background:#fbfcfe;color:var(--muted);font-size:10px}.hr-directory-footer .btn{min-width:32px}.hr-workspace .empty-state{min-height:230px}.hr-workspace .sticky-action{background:#fff}@media(max-width:1200px){.hr-workspace .hr-kpi-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.hr-workspace .hr-toolbar{align-items:stretch;flex-direction:column}.hr-workspace .hr-toolbar-actions{justify-content:flex-start}.hr-workspace .hr-toolbar-actions .form-select,.hr-workspace .hr-toolbar-actions #hrDepartmentFilter{width:auto;min-width:145px;flex:1}}@media(max-width:760px){.hr-workspace .hr-kpi-grid{grid-template-columns:1fr}.hr-workspace .hr-toolbar-actions{display:grid;grid-template-columns:1fr 1fr}.hr-workspace .hr-toolbar-actions .form-select,.hr-workspace .hr-toolbar-actions #hrDepartmentFilter,.hr-workspace .hr-toolbar-actions .btn{width:100%;min-width:0}.hr-workspace .hr-toolbar-actions #hrDepartmentFilter{grid-column:1/-1}.hr-directory-footer{align-items:stretch;flex-direction:column}.hr-directory-footer .btn-group{width:100%}.hr-directory-footer .btn{flex:1}.hr-employee-table{min-width:860px}}

/* Odoo-inspired portal shell */
.odoo-shell{--odoo:#714b67;--odoo-dark:#51364a;--odoo-soft:#f7f2f6;--odoo-line:#e6dde4;background:#f5f6f8}.odoo-shell .portal-sidebar{background:#2f2a31;box-shadow:8px 0 24px #231d2418}.odoo-shell .sidebar-link.active{background:var(--odoo);box-shadow:none}.odoo-shell .sidebar-link.active-soft{color:#fff;background:#ffffff16}.app-switcher-list{display:grid;max-height:210px;overflow:auto;padding-right:2px}.app-switcher-list .sidebar-link{padding:8px 10px;font-size:11px}.endpoint-pill{margin-left:auto;padding:2px 6px;border-radius:10px;color:#edddea;background:#ffffff16;font-size:8px;font-weight:800;text-transform:uppercase}.app-grid-menu{width:330px;max-height:390px;overflow:auto;padding:8px;border:1px solid var(--line);border-radius:8px;box-shadow:0 18px 42px #17203322}.app-grid-menu .dropdown-item{display:grid;grid-template-columns:24px 1fr;align-items:center;gap:8px;padding:9px;border-radius:6px;font-size:12px}.app-grid-menu .dropdown-item i{color:var(--odoo)}.module-breadcrumb span{display:block;color:var(--muted);font-size:10px}.odoo-module-head{align-items:stretch;padding:16px 18px;border:1px solid var(--odoo-line);border-radius:6px;background:#fff;box-shadow:0 2px 8px #3223300a}.odoo-module-head .section-kicker{color:var(--odoo)}.module-health-strip{display:grid;grid-template-columns:repeat(3,minmax(84px,1fr));gap:1px;min-width:290px;overflow:hidden;border:1px solid var(--odoo-line);border-radius:5px;background:var(--odoo-line)}.module-health-strip span{display:grid;place-items:center;padding:10px 12px;background:#fbfafb}.module-health-strip strong{color:var(--odoo-dark);font-size:18px}.module-health-strip small{color:#817681;font-size:8px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.module-view-tools{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap}.module-view-tools .btn,.module-view-tools .form-select{height:34px;border-radius:5px;font-size:11px}.view-switcher .btn.active{color:#fff;background:var(--odoo);border-color:var(--odoo)}.density-select{width:118px}.odoo-data-view{background:#fff}.odoo-summary-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;border-bottom:1px solid var(--line);background:var(--line)}.odoo-summary-strip article{display:flex;align-items:center;gap:10px;min-width:0;padding:12px 14px;background:#fff}.odoo-summary-strip article>span{display:grid;place-items:center;width:32px;height:32px;border-radius:6px}.odoo-summary-strip article div{display:grid;min-width:0}.odoo-summary-strip small{overflow:hidden;color:var(--muted);font-size:8px;font-weight:800;letter-spacing:.08em;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap}.odoo-summary-strip strong{overflow:hidden;color:var(--ink);font-size:16px;text-overflow:ellipsis;white-space:nowrap}.odoo-card-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:10px;padding:12px;background:#f6f7f9}.odoo-record-card{display:grid;gap:10px;padding:12px;border:1px solid var(--line);border-radius:6px;background:#fff;box-shadow:0 2px 8px #1720330a}.odoo-record-card header{display:flex;align-items:center;gap:10px;min-width:0}.odoo-record-card header div{display:grid;min-width:0;flex:1}.odoo-record-card strong,.odoo-record-card small,.odoo-record-card dd{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.odoo-record-card strong{font-size:12px}.odoo-record-card small{color:var(--muted);font-size:9px}.record-avatar{display:grid;place-items:center;width:34px;height:34px;border-radius:6px;color:#fff;background:var(--odoo)}.odoo-record-card dl{display:grid;grid-template-columns:1fr 1fr;gap:1px;margin:0;border:1px solid var(--line);background:var(--line)}.odoo-record-card dl div{min-width:0;padding:7px 8px;background:#fbfcfe}.odoo-record-card dt{color:var(--muted);font-size:8px;font-weight:800;text-transform:uppercase}.odoo-record-card dd{margin:1px 0 0;font-size:10px}.odoo-record-card footer{display:flex;justify-content:flex-end}.odoo-summary-view{background:#fff}.summary-panels{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(280px,.8fr);gap:12px;padding:12px;background:#f6f7f9}.summary-panel{padding:14px;border:1px solid var(--line);border-radius:6px;background:#fff}.summary-panel header{margin-bottom:12px}.summary-panel h3{margin:3px 0 0;font-size:15px}.summary-bars{display:grid;gap:9px}.summary-bars div{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;overflow:hidden;padding:8px 9px;border:1px solid #edf0f4;border-radius:5px;background:#fbfcfe}.summary-bars span,.summary-bars strong{position:relative;z-index:1;font-size:11px}.summary-bars span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.summary-bars em{position:absolute;inset:0 auto 0 0;background:#714b6714}.field-chip-grid{display:flex;flex-wrap:wrap;gap:7px}.field-chip-grid span{display:flex;align-items:center;gap:4px;padding:6px 8px;border:1px solid var(--line);border-radius:5px;background:#fbfcfe;color:#4f5f73;font-size:10px}.portal-density-compact .enterprise-table thead th{padding:6px 8px}.portal-density-compact .enterprise-table tbody td{padding:5px 8px}.portal-density-compact .odoo-summary-strip article{padding:8px 10px}.portal-density-compact .odoo-record-card{padding:9px}.portal-density-compact .card-commandbar{padding:8px 10px}
@media(max-width:991px){.app-switcher-list{max-height:160px}.odoo-module-head{flex-direction:column}.module-health-strip{width:100%;min-width:0}.app-grid-menu{width:min(330px,calc(100vw - 24px))}.odoo-summary-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.summary-panels{grid-template-columns:1fr}.density-select{width:100%}}
@media(max-width:576px){.module-view-tools{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}.module-view-tools .btn,.module-view-tools .form-select{width:100%}.view-switcher{grid-column:1/-1}.odoo-summary-strip{grid-template-columns:1fr}.odoo-card-grid{grid-template-columns:1fr}.module-health-strip{grid-template-columns:1fr 1fr 1fr}}

/* Unified Odoo compact scale */
:root{--primary:#714b67;--navy:#2f2a31;--navy2:#39323a;--ink:#2f2830;--muted:#756c75;--line:#ded7dd;--bg:#f5f6f8;--sidebar:238px}.portal-body{font-size:12px;background:#f5f6f8}.portal-sidebar{width:var(--sidebar);padding:10px 8px;background:#2f2a31;color:#d8d1d7;box-shadow:4px 0 14px #20192118}.sidebar-brand{gap:9px;padding:4px 7px 12px}.sidebar-brand small{font-size:8px;letter-spacing:.08em}.brand-orb{width:31px;height:31px;border-radius:6px;background:#714b67;box-shadow:none;font-size:10px}.sidebar-caption{padding:12px 9px 5px;color:#9f949d;font-size:8px;letter-spacing:.09em}.endpoint-nav{min-height:0;overflow-y:auto;padding-right:2px}.sidebar-link{min-height:32px;gap:8px;padding:7px 9px;margin:1px 0;border-radius:4px;color:#d8d1d7;font-size:11px;line-height:1.2}.sidebar-link:hover,.sidebar-link.active{transform:none;color:#fff;background:#4a4048}.sidebar-link.active{background:#714b67;box-shadow:none}.sidebar-link i{display:grid;place-items:center;width:15px;min-width:15px;font-size:13px}.endpoint-link span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.endpoint-pill{padding:1px 5px;border-radius:4px;font-size:7px}.portal-main{margin-left:var(--sidebar)}.portal-topbar{height:48px;padding:0 16px;background:#fff;border-bottom:1px solid #ded7dd}.module-breadcrumb span{font-size:9px}.module-breadcrumb h5{font-size:13px}.topbar-actions{gap:6px}.user-chip{height:30px;padding:5px 8px;border-radius:4px;font-size:11px}.portal-content{max-width:1440px;padding:14px}.page-intro,.odoo-module-head{gap:12px;margin-bottom:10px;padding:12px 14px;border-radius:4px;box-shadow:none}.page-intro h1{font-size:18px;line-height:1.2}.page-intro p{font-size:11px}.section-kicker{font-size:8px;letter-spacing:.09em}.module-health-strip{min-width:240px;border-radius:4px}.module-health-strip span{padding:7px 9px}.module-health-strip strong{font-size:14px}.module-health-strip small{font-size:7px}.enterprise-card{border-radius:4px;box-shadow:none}.card-commandbar{gap:8px;padding:8px 10px;background:#fbfbfc}.search-box{max-width:330px}.input-group-text{padding:5px 8px;background:#fff}.form-control,.form-select{min-height:30px;padding:5px 8px;border-radius:4px;font-size:11px}.form-label{margin-bottom:4px;font-size:10px}.btn{min-height:30px;padding:5px 9px;border-radius:4px;font-size:11px;line-height:1.25}.btn-sm,.btn-group-sm>.btn{min-height:26px;padding:4px 7px;font-size:10px}.btn i{font-size:13px}.btn-primary{background:#714b67;border-color:#714b67;box-shadow:none}.btn-primary:hover,.btn-primary:focus{background:#5d3e55;border-color:#5d3e55}.btn-outline-primary{color:#714b67;border-color:#bbaabb}.btn-outline-primary:hover{background:#714b67;border-color:#714b67}.module-view-tools{gap:5px}.module-view-tools .btn,.module-view-tools .form-select{height:30px}.density-select{width:108px}.app-grid-menu{width:310px;border-radius:4px}.app-grid-menu .dropdown-item{grid-template-columns:20px 1fr;min-height:30px;padding:7px 8px;border-radius:4px;font-size:11px}.enterprise-table{font-size:11px}.enterprise-table thead th{padding:7px 8px;background:#f4f2f4;color:#655b64;font-size:8px;letter-spacing:.04em}.enterprise-table tbody td{padding:6px 8px;max-width:210px}.enterprise-table .btn,.customer-table .btn,.document-card .btn{width:25px;height:25px;min-height:25px;border-radius:4px}.sticky-action{box-shadow:-6px 0 10px #ffffffd6}.status-badge{padding:2px 6px;border-radius:4px;font-size:8px}.odoo-summary-strip article{gap:8px;padding:8px 10px}.odoo-summary-strip article>span{width:27px;height:27px;border-radius:4px}.odoo-summary-strip small{font-size:7px}.odoo-summary-strip strong{font-size:13px}.odoo-card-grid{gap:8px;padding:10px}.odoo-record-card,.summary-panel,.customer-panel,.hr-panel,.document-card,.hr-employee-card{border-radius:4px;box-shadow:none}.odoo-record-card{gap:8px;padding:10px}.record-avatar{width:28px;height:28px;border-radius:4px}.odoo-record-card strong{font-size:11px}.odoo-record-card small,.odoo-record-card dd{font-size:9px}.summary-panels{gap:10px;padding:10px}.summary-panel{padding:11px}.summary-panel h3{font-size:13px}.summary-bars div{padding:6px 8px;border-radius:4px}.summary-bars span,.summary-bars strong{font-size:10px}.modal-dialog{font-size:12px}.modal-content{border-radius:5px;box-shadow:0 14px 36px #20192124!important}.modal-header,.modal-footer{padding:11px 14px}.modal-title{font-size:14px}.modal-body{padding:14px}.record-modal-dialog{max-width:min(1080px,calc(100vw - 1rem))}.record-modal-dialog textarea.form-control{min-height:92px}.empty-state,.loading-state{min-height:300px;padding:28px}.empty-state i{font-size:32px}.empty-state h4{font-size:15px}.portal-report-toolbar,.delivery-module-hero,.customer-toolbar,.customer-profile-head,.hr-toolbar,.hr-profile-head,.project-toolbar,.documents-toolbar{padding:10px 12px;background:#fbfbfc}.portal-report-toolbar h3,.delivery-module-hero h3,.customer-toolbar h3,.customer-profile-head h3,.hr-toolbar h3,.hr-profile-head h3,.project-toolbar h3,.documents-toolbar h3{font-size:14px}.portal-report-toolbar p,.delivery-module-hero p,.customer-toolbar p,.hr-toolbar p,.project-toolbar p,.documents-toolbar p{font-size:10px}.report-actions{gap:5px}.report-frame-wrap,.report-frame{min-height:calc(100vh - 170px)}.daily-sheet-preview{padding:10px}.daily-sheet-preview .report-page{padding:12px;box-shadow:none}.a4-page{font-size:8pt}.a4-company h2{font-size:13pt}.a4-title strong{font-size:13pt}.a4-items th{background:#714b67}.a4-rule{background:#714b67}.a4-meta caption{background:#714b67}.delivery-document-head{border-radius:4px 4px 0 0;background:#714b67}.delivery-status-bar>div,.delivery-info-grid>div{padding:9px 11px}.delivery-items th{padding:8px 9px}.delivery-items td{padding:7px 9px}.portal-density-compact .sidebar-link{min-height:28px;padding:5px 8px}.portal-density-compact .portal-content{padding:10px}.portal-density-compact .enterprise-table thead th{padding:5px 7px}.portal-density-compact .enterprise-table tbody td{padding:4px 7px}
@media(max-width:991px){.portal-main{margin-left:0}.portal-sidebar{width:min(270px,85vw)}.portal-content{padding:10px}.module-health-strip{min-width:0}.topbar-actions .user-chip{display:none}}
@media(max-width:576px){.portal-topbar{height:auto;min-height:48px;padding:8px 10px}.card-commandbar{align-items:stretch}.search-box{max-width:none}.module-view-tools{grid-template-columns:repeat(2,minmax(0,1fr))}.module-view-tools .btn,.module-view-tools .form-select{min-width:0}.module-health-strip strong{font-size:12px}}

/* Final compact portal and delivery polish */
.portal-body .btn{display:inline-flex;align-items:center;justify-content:center;gap:5px;white-space:nowrap}
.portal-body .btn i{display:inline-grid;place-items:center;width:1em;height:1em;flex:0 0 auto;font-size:12px;line-height:1}
.portal-body .btn-sm i,.portal-body .btn-group-sm>.btn i{font-size:11px}
.portal-body .btn:has(> i:only-child),.portal-body .btn-group-sm>.btn:has(> i:only-child),.enterprise-table .btn:has(> i:only-child),.customer-table .btn:has(> i:only-child),.document-card .btn:has(> i:only-child){width:28px;min-width:28px;height:28px;min-height:28px;padding:0}
.portal-topbar .btn-light:has(> i:only-child),.module-view-tools .btn:has(> i:only-child){width:30px;min-width:30px;height:30px;min-height:30px;padding:0}
.table-responsive{max-width:100%;overflow-x:auto;overflow-y:visible;-webkit-overflow-scrolling:touch}
.table-responsive>.table{margin-bottom:0}
.enterprise-table{width:max-content;min-width:100%;table-layout:auto}
.enterprise-table th,.enterprise-table td{vertical-align:middle}
.enterprise-table tbody td{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.enterprise-table .sticky-action{min-width:86px;background:#fff}
.enterprise-table .btn-group{flex-wrap:nowrap}
.table-sort-button{display:flex;align-items:center;gap:6px;width:100%;padding:0;border:0;background:transparent;color:inherit;font:inherit;font-weight:inherit;letter-spacing:inherit;text-align:left;text-transform:inherit;white-space:nowrap}
.table-sort-button i{margin-left:auto;color:#938891;font-size:10px}
.generic-table-pager{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 12px;border-top:1px solid var(--line);background:#fbfcfe;color:var(--muted);font-size:10px}
.generic-page-size{display:flex;align-items:center;gap:8px}
.generic-page-size span{font-size:9px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}
.generic-page-size .form-select{width:118px}
.delivery-module-view,.odoo-data-view,.customer-table-wrap,.project-table-wrap{min-width:0;overflow:hidden}
.delivery-module-actions .btn,.report-actions .btn,.delivery-actions .btn{min-height:28px;padding:4px 8px;border-radius:4px;font-size:10px}
.delivery-module-actions .btn i,.report-actions .btn i,.delivery-actions .btn i{font-size:11px}
.delivery-filter-bar{display:grid;grid-template-columns:repeat(4,minmax(140px,1fr)) auto minmax(220px,1.2fr);gap:8px;align-items:end;padding:10px 12px;border-bottom:1px solid var(--line);background:#fbfafb}
.delivery-filter-bar label,.delivery-filter-bar>div{display:grid;gap:4px;min-width:0;color:var(--muted);font-size:8px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}
.delivery-filter-bar>div{align-self:stretch;align-content:center;padding:6px 8px;border:1px solid var(--line);background:#fff}
.delivery-filter-bar strong{overflow:hidden;color:var(--ink);font-size:10px;font-weight:700;letter-spacing:0;text-transform:none;text-overflow:ellipsis;white-space:nowrap}
.delivery-export-table{width:100%;min-width:0;table-layout:fixed}
.delivery-export-table th,.delivery-export-table td{white-space:nowrap}
.delivery-export-table .delivery-col-sr{width:72px}
.delivery-export-table .delivery-col-date{width:112px}
.delivery-export-table .delivery-col-dn{width:118px}
.delivery-export-table .delivery-col-customer{width:20%}
.delivery-export-table .delivery-col-driver{width:18%;min-width:170px}
.delivery-export-table .delivery-col-vehicle{width:17%;min-width:160px}
.delivery-export-table .delivery-col-qty{width:86px}
.delivery-export-table .delivery-col-status{width:118px}
.delivery-export-table td.delivery-col-driver,.delivery-export-table td.delivery-col-vehicle{overflow:visible;text-overflow:clip;white-space:normal;word-break:break-word;line-height:1.3}
.delivery-export-table .btn{width:28px;min-width:28px;height:28px;min-height:28px;padding:0;font-size:0}
.delivery-export-table .btn i{margin:0!important;font-size:12px}
.delivery-page .portal-topbar,.delivery-editor-page .portal-topbar{gap:10px;min-width:0}
.delivery-page .portal-topbar>div:first-child,.delivery-editor-page .portal-topbar>div:first-child{min-width:0}
.delivery-page .portal-topbar h5,.delivery-editor-page .portal-topbar h5{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.delivery-actions{min-width:0;flex-wrap:wrap;justify-content:flex-end}
.delivery-content,.delivery-editor-content{width:100%;max-width:1440px}
.delivery-document-head{background:#714b67!important;box-shadow:none}
.delivery-status-bar,.delivery-paper,.delivery-side .side-panel{border-radius:5px;box-shadow:none}
.delivery-detail-grid{grid-template-columns:minmax(0,1fr) 280px}
.delivery-paper{min-width:0}
.delivery-paper .table-responsive{border-top:0}
.delivery-items{width:100%;min-width:760px;table-layout:fixed}
.delivery-items th,.delivery-items td{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.delivery-items th:nth-child(1),.delivery-items td:nth-child(1){width:42px}
.delivery-items th:nth-child(2),.delivery-items td:nth-child(2){width:auto}
.delivery-items th:nth-child(3),.delivery-items td:nth-child(3){width:95px}
.delivery-items th:nth-child(4),.delivery-items td:nth-child(4){width:70px}
.delivery-items th:nth-child(5),.delivery-items td:nth-child(5),.delivery-items th:nth-child(6),.delivery-items td:nth-child(6),.delivery-items th:nth-child(7),.delivery-items td:nth-child(7){width:82px}
.delivery-items th:nth-child(8),.delivery-items td:nth-child(8){width:90px}
.delivery-items td:nth-child(2){min-width:0}
.delivery-editor-page .editor-card>header>span{width:28px;height:28px}
.delivery-editor-page .editor-card>header>span i{font-size:13px}
.delivery-editor-page .editor-fields{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}
.delivery-editor-page .editor-fields.three{grid-template-columns:repeat(auto-fit,minmax(190px,1fr))}
.delivery-editor-page .editor-aside{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr) 190px}
.delivery-editor-page .editor-aside>.btn{min-height:42px;padding:8px 10px}
.delivery-editor-page .editor-summary dl{grid-template-columns:repeat(auto-fit,minmax(96px,1fr))}
.items-editor-card .table-responsive{border-top:0}
.editor-items-table{width:100%;min-width:0;table-layout:fixed}
.editor-items-table th,.editor-items-table td{overflow:visible}
.editor-items-table th:nth-child(1),.editor-items-table td:nth-child(1){width:26%}
.editor-items-table th:nth-child(2),.editor-items-table td:nth-child(2){width:20%}
.editor-items-table th:nth-child(3),.editor-items-table td:nth-child(3){width:9%}
.editor-items-table th:nth-child(4),.editor-items-table td:nth-child(4),.editor-items-table th:nth-child(5),.editor-items-table td:nth-child(5),.editor-items-table th:nth-child(6),.editor-items-table td:nth-child(6),.editor-items-table th:nth-child(7),.editor-items-table td:nth-child(7){width:10%}
.editor-items-table th:nth-child(8),.editor-items-table td:nth-child(8){width:5%;text-align:center}
.editor-items-table .form-control,.editor-items-table .form-select{width:100%;min-width:0}
.item-open-hint{display:block;margin-top:3px;color:#8a7c87;font-size:8px;text-transform:none;letter-spacing:0}
.customer-search-control>i{font-size:12px}
.customer-search-control button i{font-size:12px}
.customer-search-results button>i{width:12px;font-size:10px}
.delivery-print-document .a4-page{color:#2f2830;font-size:8pt}
.a4-page{box-shadow:0 2px 16px #2f28300f}
.a4-company h2{color:#2f2830}
.a4-title span{color:#756c75}
.a4-title strong{color:#714b67}
.a4-title small{color:#714b67;background:#f7f2f6}
.a4-rule{height:.9mm;background:#714b67}
.a4-meta table,.a4-dispatch,.a4-message,.a4-notes,.a4-terms{border-color:#ded7dd}
.a4-meta caption,.a4-items th{background:#714b67;color:#fff}
.a4-meta th{color:#756c75;background:#fbfafb}
.a4-dispatch span,.a4-dispatch small,.a4-message p,.a4-notes p,.a4-terms li{color:#756c75}
.a4-items td{border-color:#ded7dd}
.a4-items tfoot td{color:#51364a;background:#f7f2f6}
@media(max-width:1280px){.delivery-filter-bar{grid-template-columns:repeat(2,minmax(160px,1fr))}.delivery-filter-bar>div{grid-column:1/-1}.delivery-export-table{min-width:980px}.editor-items-table{min-width:900px}.delivery-editor-page .editor-aside{grid-template-columns:1fr 1fr}.delivery-editor-page .editor-aside>.btn{grid-column:1/-1}}
@media(max-width:991px){.delivery-detail-grid{grid-template-columns:1fr}.delivery-side{grid-template-columns:1fr 1fr}.delivery-status-bar{grid-template-columns:repeat(2,minmax(0,1fr))}.delivery-editor-page .portal-topbar,.delivery-page .portal-topbar{height:auto;min-height:48px;align-items:flex-start;padding:8px 10px}.delivery-page .portal-topbar,.delivery-editor-page .portal-topbar{flex-wrap:wrap}.delivery-actions{width:100%}.delivery-actions .btn{flex:1;min-width:76px}.delivery-editor-page .editor-hero{padding:14px 16px}.delivery-editor-page .editor-fields,.delivery-editor-page .editor-fields.three{grid-template-columns:1fr}}
@media(max-width:576px){.delivery-actions .btn span,.delivery-module-actions .btn span,.report-actions .btn span{display:none}.delivery-actions .btn,.delivery-module-actions .btn,.report-actions .btn{flex:0 0 auto;width:30px;min-width:30px;height:30px;padding:0}.delivery-filter-bar{grid-template-columns:1fr}.delivery-filter-bar>div{grid-column:auto}.delivery-status-bar,.delivery-info-grid,.delivery-side{grid-template-columns:1fr}.delivery-document-head{padding:16px}.delivery-title h1{font-size:20px}.delivery-editor-page .editor-card>header{align-items:flex-start}.delivery-editor-page .editor-card>header .btn{margin-left:auto}.delivery-editor-page .editor-aside{grid-template-columns:1fr}.editor-items-table{min-width:820px}.delivery-items{min-width:720px}}
@media print{.a4-page{box-shadow:none}.delivery-page .delivery-print-document{background:#fff}.delivery-page .a4-meta caption,.delivery-page .a4-items th{background:#714b67!important;color:#fff!important}.delivery-page .a4-rule{background:#714b67!important}}

/* Motion and dense A4 delivery print */
@keyframes portalFadeLift{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
@keyframes portalScaleIn{from{opacity:0;transform:scale(.985)}to{opacity:1;transform:scale(1)}}
@keyframes portalSoftPulse{0%,100%{box-shadow:0 0 0 0 rgba(113,75,103,.16)}50%{box-shadow:0 0 0 5px rgba(113,75,103,0)}}
.portal-body .enterprise-card,.portal-body .page-intro,.portal-body .delivery-paper,.portal-body .editor-card,.portal-body .editor-summary,.portal-body .side-panel,.portal-body .odoo-record-card,.portal-body .document-card,.portal-body .customer-panel,.portal-body .hr-panel{animation:portalFadeLift .28s ease both}
.portal-body .btn,.portal-body .sidebar-link,.portal-body .odoo-record-card,.portal-body .document-card,.portal-body .customer-cell,.portal-body .hr-employee-cell{transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease,background-color .16s ease,color .16s ease}
.portal-body .btn:hover{transform:translateY(-1px)}
.portal-body .enterprise-table tbody tr,.portal-body .delivery-items tbody tr,.portal-body .editor-items-table tbody tr{transition:background-color .14s ease,box-shadow .14s ease}
.portal-body .enterprise-table tbody tr:hover,.portal-body .delivery-items tbody tr:hover,.portal-body .editor-items-table tbody tr:hover{background:#fbf7fa}
.portal-body .form-control:focus,.portal-body .form-select:focus{animation:portalSoftPulse .55s ease}
.customer-search-results.show,.dropdown-menu.show,.modal.show .modal-dialog{animation:portalScaleIn .16s ease both}
.sidebar-open .portal-sidebar{animation:portalScaleIn .18s ease both}
.a4-delivery-note{padding:7mm 8mm 6mm!important;font-size:7.1pt!important;line-height:1.22;color:#252028}
.a4-delivery-note .a4-header{align-items:center;gap:8mm;margin-bottom:3mm;padding-bottom:2.5mm;border-bottom:1.1mm solid #714b67}
.a4-delivery-note .a4-company{gap:3mm;min-width:0}
.a4-delivery-note .a4-company img{width:16mm;height:16mm}
.a4-delivery-note .a4-company h2{margin:0 0 .8mm;font-size:12.5pt;line-height:1.05;color:#2f2830}
.a4-delivery-note .a4-company p{max-width:112mm;margin:.5mm 0;color:#645b63;font-size:6.3pt;line-height:1.25}
.a4-delivery-note .a4-title{text-align:right;min-width:38mm}
.a4-delivery-note .a4-title span{font-size:6.2pt;letter-spacing:.09em}
.a4-delivery-note .a4-title strong{margin:.8mm 0;color:#714b67;font-size:13pt;line-height:1.05}
.a4-delivery-note .a4-title small{padding:.8mm 2.2mm;border-radius:2mm;font-size:5.9pt}
.a4-compact-strip{display:grid;grid-template-columns:repeat(5,1fr);gap:0;margin-bottom:3mm;border:1px solid #ded7dd;background:#ded7dd}
.a4-compact-strip div{display:grid;gap:.6mm;min-width:0;padding:1.6mm 2mm;background:#fbfafb}
.a4-compact-strip span,.a4-party-grid h3,.a4-total-box dt{color:#756c75;font-size:5.7pt;font-weight:800;letter-spacing:.06em;text-transform:uppercase}
.a4-compact-strip strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:7pt}
.a4-party-grid{display:grid;grid-template-columns:1.15fr 1fr .72fr;gap:2.5mm;margin-bottom:3mm}
.a4-party-grid>div{min-width:0;padding:2mm;border:1px solid #ded7dd;background:#fff}
.a4-party-grid h3{margin:0 0 1.2mm;color:#714b67}
.a4-party-grid p{margin:.7mm 0;color:#514950;font-size:6.5pt;line-height:1.25}
.a4-total-box dl{display:grid;grid-template-columns:1fr 1fr;gap:1px;margin:0;background:#ded7dd;border:1px solid #ded7dd}
.a4-total-box dl div{display:grid;gap:.5mm;padding:1.4mm;background:#fbfafb}
.a4-total-box dd{margin:0;font-size:7.2pt;font-weight:800}
.a4-delivery-note .a4-message,.a4-delivery-note .a4-notes,.a4-delivery-note .a4-terms{margin:2mm 0;padding:1.8mm 2mm;border-left:.8mm solid #714b67}
.a4-delivery-note .a4-message p,.a4-delivery-note .a4-notes p{margin:.7mm 0 0;font-size:6.3pt;line-height:1.25}
.a4-delivery-note .a4-items{margin-top:2mm;table-layout:fixed;border:1px solid #d8d0d7}
.a4-delivery-note .a4-items th{padding:1.4mm 1.2mm;background:#714b67;color:#fff;font-size:5.8pt;letter-spacing:.03em}
.a4-delivery-note .a4-items td{padding:1.25mm 1.2mm;border-color:#ded7dd;font-size:6.4pt;line-height:1.18;vertical-align:top}
.a4-delivery-note .a4-items td:nth-child(1){width:7mm;text-align:center}
.a4-delivery-note .a4-items td:nth-child(2){width:auto}
.a4-delivery-note .a4-items td:nth-child(3){width:21mm}
.a4-delivery-note .a4-items td:nth-child(4){width:15mm}
.a4-delivery-note .a4-items td:nth-child(5),.a4-delivery-note .a4-items td:nth-child(6),.a4-delivery-note .a4-items td:nth-child(7){width:18mm}
.a4-delivery-note .a4-items strong{font-size:6.6pt}
.a4-delivery-note .a4-items small{margin-top:.5mm;font-size:5.7pt;line-height:1.15}
.a4-delivery-note .a4-items .num{text-align:right}
.a4-delivery-note .a4-items .strong{font-weight:800;color:#51364a}
.a4-delivery-note .a4-items tfoot td{padding:1.4mm 1.2mm;background:#f7f2f6;color:#51364a;font-weight:800;text-align:right}
.a4-bottom-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(54mm,.72fr);gap:3mm;margin-top:2mm}
.a4-terms.compact h3{margin:0 0 1mm;font-size:7pt}
.a4-terms.compact ol{gap:.8mm;padding-left:4mm}
.a4-terms.compact li{font-size:5.9pt;line-height:1.22}
.a4-signatures.compact{display:grid;grid-template-columns:repeat(3,1fr);gap:4mm;margin:0}
.a4-signatures.compact .a4-signature{min-height:16mm}
.a4-signatures.compact .a4-signature strong{font-size:6pt}
.a4-signatures.compact .a4-signature img{max-width:22mm;max-height:9mm;margin:1mm}
.a4-delivery-note footer{margin-top:2.5mm;padding-top:1.3mm;font-size:5.7pt}
@media(prefers-reduced-motion:reduce){.portal-body *{animation:none!important;transition:none!important}}
@media print{.portal-body *{animation:none!important;transition:none!important}.delivery-page .a4-delivery-note{width:210mm!important;min-height:297mm!important;padding:7mm 8mm 6mm!important}.delivery-page .a4-delivery-note .a4-header{border-bottom-color:#714b67!important}.delivery-page .a4-delivery-note .a4-items th{background:#714b67!important;color:#fff!important}.delivery-page .a4-compact-strip div,.delivery-page .a4-total-box dl div{background:#fbfafb!important}}

/* Enterprise ERP refresh */
:root{--primary:#714b67;--primary-rgb:113,75,103;--navy:#26212a;--navy2:#3b3040;--ink:#2f2933;--muted:#746a75;--line:#e4dfe5;--surface:#fff;--bg:#f7f7f9;--sidebar:276px}
body{letter-spacing:0;background:var(--bg);font-family:Inter,Roboto,"Segoe UI",Arial,sans-serif}
.erp-shell .portal-sidebar,.portal-sidebar.erp-sidebar{background:#26212a;box-shadow:8px 0 24px rgba(38,33,42,.12)}
.sidebar-brand{padding-bottom:18px}.sidebar-brand small{color:#b9afb9}.brand-orb{border-radius:8px;background:#714b67;box-shadow:none}
.sidebar-stack{display:grid;gap:2px}.sidebar-parent .bi-chevron-down{transition:transform .18s ease}.sidebar-parent[aria-expanded="true"] .bi-chevron-down{transform:rotate(180deg)}
.endpoint-collapse{min-height:0;overflow:hidden}.endpoint-nav{padding-right:2px}.endpoint-nav .sidebar-link{padding-left:18px}
.sidebar-link{border-radius:6px;color:#d9d3da}.sidebar-link:hover,.sidebar-link.active{background:#ffffff18;transform:none}.sidebar-link.active{background:#714b67;box-shadow:none}
.side-group{display:grid;gap:1px}.side-group .collapse,.endpoint-collapse{padding-bottom:3px}.nested-link{margin-left:8px;width:calc(100% - 8px);padding-left:18px;color:#cfc7d0;font-size:12px}.nested-link i{opacity:.82}.sidebar-parent{font-weight:750}
.endpoint-pill{margin-left:auto;padding:2px 6px;border-radius:999px;background:#ffffff1f;color:#fff;font-size:9px;font-weight:800;text-transform:uppercase}
.erp-topbar{height:64px;gap:16px;background:rgba(255,255,255,.92);box-shadow:0 1px 0 var(--line);backdrop-filter:blur(16px)}
.module-breadcrumb{min-width:0}.module-breadcrumb .breadcrumb{font-size:11px}.module-breadcrumb .breadcrumb a{color:#714b67;text-decoration:none}.module-breadcrumb h5{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:750}
.topbar-search{display:flex;align-items:center;gap:9px;flex:1;max-width:460px;min-width:220px;padding:8px 10px;border:1px solid var(--line);border-radius:8px;background:#fbfbfc;color:#776d78}
.topbar-search input{min-width:0;flex:1;border:0;outline:0;background:transparent;font-size:13px}.topbar-search kbd{border:1px solid var(--line);background:#fff;color:#8d8390;font-size:9px}
.user-chip{border-radius:8px;border:1px solid var(--line);background:#fff;color:#3b3440}.user-chip.dropdown-toggle{gap:8px}.notification-pulse{position:absolute;right:8px;top:8px;width:7px;height:7px;border:2px solid #fff;border-radius:50%;background:#dc3545}
.portal-content{max-width:1480px}.odoo-module-head{padding:18px 0 4px}.page-intro h1{font-size:28px;letter-spacing:0}.page-intro p{max-width:760px}
.module-health-strip{border-radius:8px;border:1px solid var(--line);box-shadow:none}.module-health-strip span{border-color:var(--line)}
.enterprise-card{border-radius:8px;box-shadow:0 8px 28px rgba(47,41,51,.06)}.card-commandbar{background:#fff}.module-view-tools{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}
.btn{border-radius:6px}.btn-primary{background:#714b67;border-color:#714b67;box-shadow:none}.btn-primary:hover,.btn-primary:focus{background:#5f3f57;border-color:#5f3f57}.btn-light{border-color:var(--line);background:#fff}.btn-outline-secondary{border-color:#cfc7d0;color:#4d4550}
.form-control,.form-select,.input-group-text{border-color:var(--line);border-radius:6px}.form-control:focus,.form-select:focus{border-color:#b896ac;box-shadow:0 0 0 .2rem rgba(var(--primary-rgb),.13)}
.form-floating>.form-control,.form-floating>.form-select{min-height:54px;padding-top:1.55rem}.record-field small{display:block;margin-top:6px}.record-modal-dialog .modal-content{border-radius:8px}.modal-header,.modal-footer{background:#fbfbfc}
.enterprise-table{font-size:13px}.enterprise-table thead th{background:#f3f1f4;color:#5f5660;border-bottom-color:#ddd5dd}.enterprise-table tbody tr:hover{background:#fbf8fb}.enterprise-table tbody td{border-color:#eee9ee}.enterprise-table .sticky-action{box-shadow:-8px 0 14px rgba(255,255,255,.88)}
.generic-table-pager{background:#fbfbfc}.status-badge{border-radius:999px}.empty-state{min-height:330px}.empty-state i{color:#9c8b99}
.auth-inline-message{display:flex;align-items:flex-start;gap:10px;padding:11px 12px;margin-bottom:16px;border:1px solid var(--line);border-radius:8px;background:#fbfbfc;color:#4b4450;font-size:12px}.auth-inline-message.success{border-color:#cfe9dc;background:#f3fbf7}.auth-inline-message.warning{border-color:#f2dfb9;background:#fffbf2}.auth-inline-message.danger{border-color:#f2c8ce;background:#fff5f6}
.portal-toast{position:fixed;right:22px;bottom:22px;z-index:2000;display:grid;gap:3px;max-width:min(360px,calc(100vw - 32px));padding:13px 15px;border:1px solid var(--line);border-left:4px solid #714b67;border-radius:8px;background:#fff;box-shadow:0 18px 44px rgba(38,33,42,.18);opacity:0;transform:translateY(8px);transition:.18s}.portal-toast.show{opacity:1;transform:none}.portal-toast strong{font-size:13px}.portal-toast span{color:var(--muted);font-size:12px}.portal-toast-error{border-left-color:#dc3545}.portal-toast-warning{border-left-color:#d89412}.portal-toast-success{border-left-color:#198754}
.loading-state .spinner-border,.empty-state .spinner-border{width:2rem;height:2rem}
@media(max-width:1180px){.erp-global-search{max-width:340px}.module-view-tools{justify-content:flex-start}.card-commandbar{align-items:stretch;flex-direction:column}.search-box{max-width:none}}
@media(max-width:991px){.erp-topbar{height:auto;min-height:58px;flex-wrap:wrap;padding:10px 14px}.erp-global-search{order:3;flex-basis:100%;max-width:none}.portal-sidebar{transform:translateX(-100%);transition:.22s}.sidebar-open .portal-sidebar{transform:translateX(0)}.portal-main{margin-left:0}.portal-content{padding:16px}.page-intro{align-items:flex-start;flex-direction:column}.module-health-strip{width:100%}}
@media(max-width:576px){.module-view-tools{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.module-view-tools .btn,.module-view-tools .form-select{width:100%}.topbar-actions{margin-left:auto}.topbar-actions .dropdown .user-chip{display:none}.page-intro h1{font-size:23px}.enterprise-table tbody td{max-width:180px}.generic-table-pager{align-items:stretch;flex-direction:column}}

/* Professional A4 delivery note */
.pro-a4{position:relative;overflow:hidden;padding:8mm 9mm 7mm!important;border:1px solid #ded7dd;background:#fff;color:#26212a;font-size:7.2pt!important;line-height:1.25}
.pro-a4:before{content:"";position:absolute;inset:0 0 auto;height:3mm;background:#714b67}
.pro-a4-head{display:grid;grid-template-columns:minmax(0,1fr) 52mm;gap:8mm;align-items:stretch;margin:1.5mm 0 3mm;padding-bottom:3mm;border-bottom:1px solid #ded7dd}
.pro-a4-brand{display:flex;gap:3mm;align-items:flex-start;min-width:0}
.pro-a4-brand img{width:17mm;height:17mm;object-fit:contain;border:1px solid #e4dde3;padding:1.5mm;background:#fff}
.pro-a4-brand h2{margin:0 0 1mm;color:#2b2630;font-size:13pt;line-height:1.05;font-weight:800}
.pro-a4-brand p{max-width:118mm;margin:.5mm 0;color:#5e5660;font-size:6.2pt;line-height:1.25}
.pro-a4-identity{display:grid;align-content:center;gap:1mm;padding:3mm;border:1px solid #d9d0d7;background:#fbfafb;text-align:right}
.pro-a4-identity span{color:#756c75;font-size:6pt;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.pro-a4-identity strong{overflow:hidden;color:#714b67;font-size:15pt;line-height:1.05;text-overflow:ellipsis;white-space:nowrap}
.pro-a4-identity em{justify-self:end;padding:.8mm 2.2mm;border:1px solid #d7c8d3;border-radius:1mm;color:#5d3e55;background:#fff;font-size:5.8pt;font-style:normal;font-weight:800;text-transform:uppercase}
.pro-a4-ref{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));margin-bottom:3mm;border:1px solid #ded7dd;background:#ded7dd;gap:1px}
.pro-a4-ref div{display:grid;gap:.6mm;min-width:0;padding:1.7mm 2mm;background:#fbfafb}
.pro-a4-ref span,.pro-a4-panel h3,.pro-a4-totals h3,.pro-a4-panel dt,.pro-a4-totals dt,.pro-a4-message strong,.pro-a4-closing h3{color:#756c75;font-size:5.6pt;font-weight:800;letter-spacing:.06em;text-transform:uppercase}
.pro-a4-ref strong{overflow:hidden;color:#2b2630;font-size:7pt;text-overflow:ellipsis;white-space:nowrap}
.pro-a4-grid{display:grid;grid-template-columns:1.2fr 1fr 43mm;gap:2.5mm;margin-bottom:3mm}
.pro-a4-panel,.pro-a4-totals{min-width:0;padding:2.2mm;border:1px solid #ded7dd;background:#fff;break-inside:avoid}
.pro-a4-panel.customer{border-left:1.1mm solid #714b67}
.pro-a4-panel h3,.pro-a4-totals h3{margin:0 0 1.3mm;color:#714b67}
.pro-a4-panel strong{display:block;margin-bottom:.8mm;color:#2b2630;font-size:7.4pt}
.pro-a4-panel p{margin:.6mm 0 1.2mm;color:#4f4650;font-size:6.4pt;line-height:1.28}
.pro-a4-panel dl,.pro-a4-totals dl{display:grid;margin:0}
.pro-a4-panel dl{grid-template-columns:1fr 1fr;gap:.9mm 2mm}
.pro-a4-panel dl div,.pro-a4-totals dl div{min-width:0}
.pro-a4-panel dt,.pro-a4-totals dt{font-size:5.2pt}
.pro-a4-panel dd,.pro-a4-totals dd{overflow:hidden;margin:.3mm 0 0;color:#2b2630;font-size:6.5pt;font-weight:700;text-overflow:ellipsis;white-space:nowrap}
.pro-a4-totals dl{gap:1px;border:1px solid #ded7dd;background:#ded7dd}
.pro-a4-totals dl div{display:grid;grid-template-columns:1fr auto;gap:2mm;align-items:center;padding:1.25mm 1.5mm;background:#fbfafb}
.pro-a4-totals dl div:last-child{background:#f7f2f6}
.pro-a4-totals dd{font-size:7pt}
.pro-a4-message{margin:0 0 2.5mm;padding:1.8mm 2.2mm;border-left:.9mm solid #714b67;background:#fbfafb;break-inside:avoid}
.pro-a4-message p{margin:.7mm 0 0;color:#554c56;font-size:6.3pt;line-height:1.25}
.pro-a4 .pro-a4-items{width:100%;margin:0;table-layout:fixed;border:1px solid #d8d0d7;border-collapse:collapse}
.pro-a4-items .c-no{width:7mm}.pro-a4-items .c-item{width:auto}.pro-a4-items .c-sku{width:21mm}.pro-a4-items .c-unit{width:15mm}.pro-a4-items .c-qty{width:18mm}
.pro-a4 .pro-a4-items thead{display:table-header-group}
.pro-a4 .pro-a4-items tfoot{display:table-row-group}
.pro-a4 .pro-a4-items tr{break-inside:avoid}
.pro-a4 .pro-a4-items th{padding:1.45mm 1.2mm;background:#714b67;color:#fff;border:1px solid #714b67;font-size:5.7pt;font-weight:800;letter-spacing:.03em;text-transform:uppercase}
.pro-a4 .pro-a4-items td{padding:1.15mm 1.2mm;border:1px solid #ded7dd;color:#342d36;font-size:6.25pt;line-height:1.18;vertical-align:top}
.pro-a4 .pro-a4-items tbody tr:nth-child(even) td{background:#fcfbfc}
.pro-a4 .pro-a4-items td:first-child{text-align:center;color:#756c75}
.pro-a4 .pro-a4-items strong{display:block;color:#2d2730;font-size:6.55pt}
.pro-a4 .pro-a4-items small{display:block;margin-top:.45mm;color:#6d636c;font-size:5.55pt;line-height:1.15}
.pro-a4 .pro-a4-items .num{text-align:right}
.pro-a4 .pro-a4-items .strong{color:#51364a;font-weight:900}
.pro-a4 .pro-a4-items tfoot td{padding:1.35mm 1.2mm;background:#f3edf2;color:#51364a;font-size:6.4pt;font-weight:900;text-align:right}
.pro-a4-closing{display:grid;grid-template-columns:minmax(0,1fr) minmax(52mm,.72fr);gap:2.5mm;margin-top:2.8mm;align-items:start}
.pro-a4-notes,.pro-a4-terms{padding:2mm;border:1px solid #ded7dd;background:#fff;break-inside:avoid}
.pro-a4-notes h3,.pro-a4-terms h3{margin:0 0 1mm;color:#714b67}
.pro-a4-notes p{margin:0;color:#514850;font-size:6.2pt;line-height:1.28}
.pro-a4-terms ol{display:grid;gap:.7mm;margin:0;padding-left:4mm}
.pro-a4-terms li{color:#5f5660;font-size:5.75pt;line-height:1.2}
.pro-a4-terms li strong{display:inline;color:#382f39;font-weight:800}
.pro-a4-terms li span{display:inline;margin-left:.6mm}
.pro-a4-signatures{display:grid;grid-template-columns:repeat(3,1fr);grid-column:1/-1;gap:3mm;margin:0}
.pro-a4-signatures .a4-signature{display:grid;align-content:end;min-height:17mm;padding:1.6mm;border:1px solid #ded7dd;background:#fff;text-align:center;break-inside:avoid}
.pro-a4-signatures .a4-signature strong{color:#714b67;font-size:5.9pt;text-transform:uppercase}
.pro-a4-signatures .a4-signature img{justify-self:center;max-width:24mm;max-height:8.5mm;margin:.8mm 0;object-fit:contain}
.pro-a4-signatures .a4-signature span{display:block;height:6mm;border-bottom:1px solid #bfb4bd}
.pro-a4-signatures .a4-signature small{margin-top:.8mm;color:#756c75;font-size:5.3pt}
.pro-a4-footer{display:flex;justify-content:space-between;gap:8mm;margin-top:2.5mm;padding-top:1.3mm;border-top:1px solid #ded7dd;color:#786f78;font-size:5.6pt}
@media print{.delivery-page .pro-a4{width:210mm!important;min-height:297mm!important;padding:8mm 9mm 7mm!important;border:0!important;box-shadow:none!important}.delivery-page .pro-a4:before,.delivery-page .pro-a4 .pro-a4-items th{background:#714b67!important;color:#fff!important}.delivery-page .pro-a4-ref div,.delivery-page .pro-a4-totals dl div{background:#fbfafb!important}.delivery-page .pro-a4-totals dl div:last-child,.delivery-page .pro-a4 .pro-a4-items tfoot td{background:#f7f2f6!important}}

/* Odoo-style A4 delivery note print polish */
.delivery-page .delivery-print-document{background:#edeff3;padding:18px}
.delivery-page .pro-a4{display:flex;flex-direction:column;width:210mm;min-height:297mm;margin:0 auto;padding:11mm 12mm 9mm!important;border:1px solid #d9d0d7;background:#fff;color:#2f2830;font-family:"Segoe UI",Arial,sans-serif;font-size:8pt!important;line-height:1.35;box-shadow:0 14px 34px #2019211a}
.delivery-page .pro-a4:before{height:3.2mm;background:#714b67}
.delivery-page .pro-a4-head{grid-template-columns:minmax(0,1fr) 58mm;gap:10mm;margin:2.5mm 0 4mm;padding-bottom:4mm;border-bottom:1px solid #d9d0d7}
.delivery-page .pro-a4-brand img{width:20mm;height:20mm;border:1px solid #d9d0d7;border-radius:2mm;padding:1.5mm}
.delivery-page .pro-a4-brand h2{color:#2f2830;font-size:15pt;font-weight:700;letter-spacing:0}
.delivery-page .pro-a4-brand p{max-width:120mm;color:#6d636c;font-size:7pt}
.delivery-page .pro-a4-identity{border:1px solid #d9d0d7;border-top:1mm solid #714b67;background:#fbfafb}
.delivery-page .pro-a4-identity span,.delivery-page .pro-a4-ref span,.delivery-page .pro-a4-panel h3,.delivery-page .pro-a4-panel dt,.delivery-page .pro-a4-message strong,.delivery-page .pro-a4-closing h3{color:#756c75;font-size:6pt;letter-spacing:.05em}
.delivery-page .pro-a4-identity strong{color:#714b67;font-size:17pt;font-weight:700}
.delivery-page .pro-a4-identity em{border-color:#d9d0d7;border-radius:1mm;color:#714b67;background:#fff;font-size:6pt}
.delivery-page .pro-a4-ref{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:4mm;border-color:#d9d0d7;background:#d9d0d7}
.delivery-page .pro-a4-ref div{padding:2mm 2.2mm;background:#fbfafb}
.delivery-page .pro-a4-ref strong{color:#2f2830;font-size:7.4pt;font-weight:700}
.delivery-page .pro-a4-grid.no-summary{grid-template-columns:1.08fr .92fr;gap:3mm;margin-bottom:4mm}
.delivery-page .pro-a4-panel{padding:3mm;border:1px solid #d9d0d7;background:#fff}
.delivery-page .pro-a4-panel.customer{border-left:1.2mm solid #714b67}
.delivery-page .pro-a4-panel h3{margin-bottom:1.6mm;color:#714b67}
.delivery-page .pro-a4-panel strong{font-size:8.2pt}
.delivery-page .pro-a4-panel p{min-height:9mm;margin:1mm 0 2mm;color:#4f4650;font-size:7pt;white-space:pre-wrap}
.delivery-page .pro-a4-panel dl{grid-template-columns:repeat(2,minmax(0,1fr));gap:1.2mm 3mm}
.delivery-page .pro-a4-panel dd{font-size:7pt;font-weight:600;white-space:normal}
.delivery-page .pro-a4-message{margin:0 0 3mm;padding:2.2mm 3mm;border:1px solid #d9d0d7;border-left:1.2mm solid #714b67;background:#fbfafb}
.delivery-page .pro-a4-message p{font-size:7pt;white-space:pre-wrap}
.delivery-page .pro-a4 .pro-a4-items{border:1px solid #d9d0d7}
.delivery-page .pro-a4-items .c-no{width:8mm}.delivery-page .pro-a4-items .c-sku{width:24mm}.delivery-page .pro-a4-items .c-unit{width:17mm}.delivery-page .pro-a4-items .c-qty{width:20mm}
.delivery-page .pro-a4 .pro-a4-items th{padding:1.8mm 1.5mm;background:#714b67;border-color:#714b67;color:#fff;font-size:6.2pt;text-align:left}
.delivery-page .pro-a4 .pro-a4-items td{padding:1.6mm 1.5mm;border-color:#ded7dd;color:#342d36;font-size:7pt}
.delivery-page .pro-a4 .pro-a4-items strong{font-size:7.2pt;font-weight:700}
.delivery-page .pro-a4 .pro-a4-items small{color:#756c75;font-size:6.2pt}
.delivery-page .pro-a4 .pro-a4-items tfoot td{background:#f7f2f6;color:#51364a;font-size:7pt;font-weight:700}
.delivery-page .pro-a4-closing{grid-template-columns:minmax(0,1fr) minmax(58mm,.75fr);gap:3mm;margin-top:3.5mm}
.delivery-page .pro-a4-notes,.delivery-page .pro-a4-terms{padding:2.4mm;border:1px solid #d9d0d7;background:#fff}
.delivery-page .pro-a4-notes h3,.delivery-page .pro-a4-terms h3{color:#714b67}
.delivery-page .pro-a4-notes p,.delivery-page .pro-a4-terms li{color:#5f5660;font-size:6.4pt}
.delivery-page .pro-a4-signatures{gap:4mm;margin-top:1mm}
.delivery-page .pro-a4-signatures .a4-signature{display:grid;grid-template-rows:auto 13mm auto auto;gap:1.4mm;min-height:26mm;padding:2.2mm 2.4mm;border:1px solid #d9d0d7;border-top:1mm solid #714b67;background:#fff;text-align:left}
.delivery-page .pro-a4-signatures .sig-role{color:#714b67;font-size:6.4pt;font-weight:800;letter-spacing:.05em;text-transform:uppercase}
.delivery-page .pro-a4-signatures .sig-visual{display:grid;place-items:center;min-height:12mm}
.delivery-page .pro-a4-signatures .sig-visual img{max-width:30mm;max-height:11mm;object-fit:contain}
.delivery-page .pro-a4-signatures .sig-line{height:1px;background:#bfb4bd}
.delivery-page .pro-a4-signatures .sig-meta{display:grid;grid-template-columns:1fr 1fr 1fr;gap:2mm;color:#756c75;font-size:5.4pt;text-transform:uppercase}
.delivery-page .pro-a4-signatures .sig-meta span{display:block;width:auto;height:auto;margin:0;border:0;text-align:center}
.delivery-page .pro-a4-footer{margin-top:auto;padding-top:2mm;border-top:1px solid #d9d0d7;color:#756c75;font-size:6.2pt}
@media print{.delivery-page .delivery-print-document{display:block!important;padding:0!important;background:#fff!important}.delivery-page .pro-a4{width:210mm!important;min-height:297mm!important;margin:0!important;padding:11mm 12mm 9mm!important;border:0!important;box-shadow:none!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}.delivery-page .pro-a4-ref{grid-template-columns:repeat(4,minmax(0,1fr))!important}.delivery-page .pro-a4-grid.no-summary{grid-template-columns:1.08fr .92fr!important}.delivery-page .pro-a4:before,.delivery-page .pro-a4 .pro-a4-items th{background:#714b67!important;color:#fff!important}.delivery-page .pro-a4-ref div,.delivery-page .pro-a4-message{background:#fbfafb!important}.delivery-page .pro-a4 .pro-a4-items tfoot td{background:#f7f2f6!important}}

/* Premium delivery editor */
.delivery-editor-page{--odoo:#714b67;--odoo-ink:#2f2830;--odoo-muted:#756c75;--odoo-line:#d9d0d7;--odoo-soft:#fbfafb;--odoo-tint:#f6f1f5;--odoo-green:#10845f;--odoo-blue:#27628f;background:#f3f4f6}
.delivery-editor-page .portal-topbar{height:60px;border-bottom:1px solid var(--odoo-line);background:#fff}
.editor-topbar-left,.editor-topbar-actions{display:flex;align-items:center;gap:10px;min-width:0}
.editor-topbar-left h5{color:var(--odoo-ink);font-size:15px;font-weight:650}
.editor-app-icon{display:grid;place-items:center;width:34px;height:34px;border:1px solid var(--odoo-line);border-radius:6px;color:var(--odoo);background:var(--odoo-soft)}
.delivery-editor-page .btn{border-radius:5px;font-weight:650}
.delivery-editor-page .btn-primary{background:var(--odoo)!important;border-color:var(--odoo)!important;box-shadow:none}
.delivery-editor-page .btn-primary:hover{background:#5f3f58!important;border-color:#5f3f58!important}
.delivery-editor-page .btn-outline-secondary{border-color:var(--odoo-line);color:#4c4650;background:#fff}
.delivery-editor-content{width:100%;max-width:1480px;padding-top:16px}
.editor-command-panel{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:10px;padding:10px 14px;border:1px solid var(--odoo-line);border-radius:6px;background:#fff;box-shadow:0 2px 8px #2019210a}
.editor-command-left{display:grid;gap:3px;min-width:0}
.editor-breadcrumbs{display:flex;align-items:center;gap:8px;min-width:0;color:var(--odoo-muted);font-size:12px}
.editor-breadcrumbs a{color:var(--odoo-muted);text-decoration:none}
.editor-breadcrumbs a:hover{color:var(--odoo);text-decoration:underline}
.editor-breadcrumbs strong{overflow:hidden;color:var(--odoo-ink);text-overflow:ellipsis;white-space:nowrap}
.editor-command-actions{display:flex;align-items:center;justify-content:flex-end;gap:0;min-width:360px}
.workflow-pill{position:relative;display:flex;align-items:center;justify-content:center;min-width:96px;height:30px;padding:0 14px;border:1px solid var(--odoo-line);border-left:0;color:var(--odoo-muted);background:#fff;font-size:11px;font-weight:750;white-space:nowrap}
.workflow-pill:first-child{border-left:1px solid var(--odoo-line);border-radius:5px 0 0 5px}
.workflow-pill:last-child{border-radius:0 5px 5px 0}
.workflow-pill.done{color:var(--odoo-green);background:#edf8f3}
.workflow-pill.active{z-index:1;color:#fff;background:var(--odoo);border-color:var(--odoo)}
.editor-sheet-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:12px;padding:22px 24px;border:1px solid var(--odoo-line);border-radius:6px;background:#fff;box-shadow:0 2px 10px #2019210b}
.editor-title-block{display:grid;gap:8px;min-width:0}
.record-label{color:var(--odoo-muted);font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.editor-title-block h1{margin:0;color:var(--odoo-ink);font-size:28px;font-weight:650;line-height:1.15;letter-spacing:0}
.editor-record-meta{display:flex;flex-wrap:wrap;gap:8px 14px;color:var(--odoo-muted);font-size:12px}
.editor-record-meta span{display:flex;align-items:center;gap:6px}
.editor-record-meta i{color:var(--odoo)}
.editor-smart-buttons{display:grid;grid-template-columns:repeat(4,minmax(86px,1fr));gap:8px;min-width:min(520px,100%)}
.smart-button{display:grid;align-content:center;gap:2px;min-height:56px;padding:9px 12px;border:1px solid var(--odoo-line);border-radius:6px;background:var(--odoo-soft);text-align:right}
.smart-button span{overflow:hidden;color:var(--odoo-ink);font-size:18px;font-weight:750;text-overflow:ellipsis;white-space:nowrap}
.smart-button small{color:var(--odoo-muted);font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.05em}
.smart-button.accent{border-color:#cdb9c7;background:var(--odoo-tint)}
.smart-button.accent span{color:var(--odoo)}
.delivery-editor-page .editor-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}
.delivery-editor-page .editor-main{display:grid;gap:12px}
.delivery-editor-page .editor-card,.delivery-editor-page .editor-summary{border:1px solid var(--odoo-line);border-radius:6px;background:#fff;box-shadow:0 2px 10px #2019210a}
.delivery-editor-page .editor-card>header{display:flex;align-items:center;gap:12px;padding:13px 16px;border-bottom:1px solid var(--odoo-line);background:var(--odoo-soft)}
.delivery-editor-page .editor-card>header>span{display:grid;place-items:center;width:30px;height:30px;border-radius:5px;color:var(--odoo);background:var(--odoo-tint)}
.delivery-editor-page .editor-card h3,.delivery-editor-page .editor-summary h3{margin:0;color:var(--odoo-ink);font-size:15px;font-weight:650}
.delivery-editor-page .editor-card header p{margin:2px 0 0;color:var(--odoo-muted);font-size:11px}
.delivery-editor-page .editor-fields{display:grid;grid-template-columns:repeat(2,minmax(240px,1fr));gap:18px 28px;padding:22px 24px}
.delivery-editor-page .editor-fields.three{grid-template-columns:repeat(3,minmax(190px,1fr))}
.delivery-editor-page .editor-fields label{display:grid;gap:6px;color:#4d4650;font-size:11px;font-weight:750;letter-spacing:0;text-transform:none}
.delivery-editor-page .editor-fields label.wide{grid-column:1/-1}
.delivery-editor-page .editor-fields small{color:var(--odoo-muted);font-size:10px;font-weight:400}
.delivery-editor-page .form-control,.delivery-editor-page .form-select{min-height:38px;border-color:#cfc8ce;border-width:0 0 1px;border-radius:0;background-color:transparent;color:var(--odoo-ink);font-size:13px;box-shadow:none}
.delivery-editor-page textarea.form-control{border:1px solid #cfc8ce;border-radius:5px;background:#fff}
.delivery-editor-page .form-control:focus,.delivery-editor-page .form-select:focus{border-color:var(--odoo);box-shadow:0 1px 0 var(--odoo)}
.customer-field.featured-field{grid-column:span 2}
.customer-search-control{min-height:38px;border-bottom:1px solid #cfc8ce;background:#fff}
.delivery-editor-page .customer-search-control .form-control{min-height:36px;border:0!important;background:#fff}
.customer-search-control:focus-within{border-color:var(--odoo);box-shadow:0 1px 0 var(--odoo)}
.customer-search-results{border-color:var(--odoo-line);border-radius:6px;box-shadow:0 18px 44px #20192122}
.customer-search-results button{min-height:44px;border-radius:5px}
.items-editor-card .table-responsive{border-top:0}
.delivery-editor-page .editor-items-table{width:100%;min-width:1040px;margin:0;table-layout:fixed;font-size:12px}
.delivery-editor-page .editor-items-table thead th{position:sticky;top:0;z-index:2;padding:10px 8px;border-bottom:1px solid var(--odoo-line);background:#f2eff2;color:#5d5660;font-size:10px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;white-space:nowrap}
.delivery-editor-page .editor-items-table tbody td{padding:8px;border-color:#ece6eb;vertical-align:top}
.delivery-editor-page .editor-items-table tbody tr:hover td{background:#fbf7fa}
.delivery-editor-page .editor-items-table th:nth-child(1),.delivery-editor-page .editor-items-table td:nth-child(1){width:27%}
.delivery-editor-page .editor-items-table th:nth-child(2),.delivery-editor-page .editor-items-table td:nth-child(2){width:20%}
.delivery-editor-page .editor-items-table th:nth-child(3),.delivery-editor-page .editor-items-table td:nth-child(3){width:9%}
.delivery-editor-page .editor-items-table th:nth-child(4),.delivery-editor-page .editor-items-table td:nth-child(4),.delivery-editor-page .editor-items-table th:nth-child(5),.delivery-editor-page .editor-items-table td:nth-child(5),.delivery-editor-page .editor-items-table th:nth-child(6),.delivery-editor-page .editor-items-table td:nth-child(6),.delivery-editor-page .editor-items-table th:nth-child(7),.delivery-editor-page .editor-items-table td:nth-child(7){width:10%}
.delivery-editor-page .editor-items-table th:nth-child(8),.delivery-editor-page .editor-items-table td:nth-child(8){width:4%;text-align:center}
.delivery-editor-page .editor-items-table .form-control,.delivery-editor-page .editor-items-table .form-select{width:100%;min-width:0;min-height:34px;padding:6px 7px;border:1px solid #d9d0d7;border-radius:5px;background:#fff;font-size:12px}
.delivery-editor-page .editor-items-table .form-control:focus,.delivery-editor-page .editor-items-table .form-select:focus{border-color:var(--odoo);box-shadow:0 0 0 2px #714b6714}
.item-open-hint{display:block;margin-top:4px;color:var(--odoo-muted);font-size:10px}
.editor-empty{display:grid;place-items:center;gap:6px;min-height:160px;padding:28px;color:var(--odoo-muted);text-align:center}
.editor-empty i{color:var(--odoo);font-size:28px}
.editor-empty strong{color:var(--odoo-ink);font-size:14px}
.delivery-editor-page .editor-aside{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.25fr) 220px;align-items:stretch;gap:12px;position:static;height:auto}
.delivery-editor-page .editor-summary{padding:15px 18px}
.delivery-editor-page .editor-summary dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin:12px 0 0}
.delivery-editor-page .editor-summary dl div{display:grid;gap:3px;padding:6px 12px;border-right:1px solid #ece6eb}
.delivery-editor-page .editor-summary dl div:last-child{border-right:0}
.delivery-editor-page .editor-summary dt{color:var(--odoo-muted);font-size:10px;font-weight:650}
.delivery-editor-page .editor-summary dd{margin:0;color:var(--odoo-ink);font-size:14px;font-weight:800}
.delivery-editor-page .editor-summary ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 12px;padding:0;margin:12px 0 0;list-style:none;color:#5f5660;font-size:11px}
.delivery-editor-page .editor-summary li{display:flex;align-items:center;gap:7px}
.delivery-editor-page .editor-summary li i{color:var(--odoo-green)}
.delivery-editor-page .editor-save-button{min-height:100%;white-space:normal}
@media(max-width:1280px){.editor-sheet-head{flex-direction:column}.editor-smart-buttons{width:100%;min-width:0}.delivery-editor-page .editor-fields,.delivery-editor-page .editor-fields.three{grid-template-columns:repeat(2,minmax(220px,1fr))}.delivery-editor-page .editor-aside{grid-template-columns:1fr 1fr}.delivery-editor-page .editor-save-button{grid-column:1/-1;min-height:48px}.editor-command-panel{align-items:flex-start;flex-direction:column}.editor-command-actions{width:100%;min-width:0;justify-content:flex-start;overflow-x:auto}}
@media(max-width:750px){.delivery-editor-page .portal-topbar{height:auto;min-height:56px;align-items:flex-start;flex-wrap:wrap;padding:9px 12px}.editor-topbar-actions{width:100%;justify-content:flex-end}.delivery-editor-page .editor-fields,.delivery-editor-page .editor-fields.three{grid-template-columns:1fr}.customer-field.featured-field{grid-column:auto}.editor-smart-buttons{grid-template-columns:repeat(2,minmax(0,1fr))}.workflow-pill{min-width:86px}.delivery-editor-page .editor-aside{grid-template-columns:1fr}.delivery-editor-page .editor-summary dl,.delivery-editor-page .editor-summary ul{grid-template-columns:1fr}.delivery-editor-page .editor-summary dl div{border-right:0;border-bottom:1px solid #ece6eb}.delivery-editor-page .editor-summary dl div:last-child{border-bottom:0}.editor-title-block h1{font-size:23px}.delivery-editor-page .editor-items-table{min-width:900px}}

/* Premium delivery note detail */
.delivery-page{--odoo:#714b67;--odoo-ink:#2f2830;--odoo-muted:#756c75;--odoo-line:#d9d0d7;--odoo-soft:#fbfafb;--odoo-tint:#f6f1f5;--odoo-green:#10845f;background:#f3f4f6}
.delivery-page .portal-topbar{height:60px;border-bottom:1px solid var(--odoo-line);background:#fff}
.delivery-topbar-left{display:flex;align-items:center;gap:10px;min-width:0}
.delivery-topbar-left h5{color:var(--odoo-ink);font-size:15px;font-weight:650}
.delivery-app-icon{display:grid;place-items:center;width:34px;height:34px;border:1px solid var(--odoo-line);border-radius:6px;color:var(--odoo);background:var(--odoo-soft)}
.delivery-page .btn{border-radius:5px;font-weight:650}
.delivery-page .btn-primary{background:var(--odoo)!important;border-color:var(--odoo)!important;box-shadow:none}
.delivery-page .btn-primary:hover{background:#5f3f58!important;border-color:#5f3f58!important}
.delivery-page .btn-outline-primary{color:var(--odoo);border-color:#c7b6c3;background:#fff}
.delivery-page .btn-outline-primary:hover{color:#fff;background:var(--odoo);border-color:var(--odoo)}
.delivery-content{width:100%;max-width:1480px;padding-top:16px}
.delivery-command-panel{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:10px;padding:10px 14px;border:1px solid var(--odoo-line);border-radius:6px;background:#fff;box-shadow:0 2px 8px #2019210a}
.delivery-command-left{display:grid;gap:3px;min-width:0}
.delivery-breadcrumbs{display:flex;align-items:center;gap:8px;min-width:0;color:var(--odoo-muted);font-size:12px}
.delivery-breadcrumbs a{color:var(--odoo-muted);text-decoration:none}
.delivery-breadcrumbs a:hover{color:var(--odoo);text-decoration:underline}
.delivery-breadcrumbs strong{overflow:hidden;color:var(--odoo-ink);text-overflow:ellipsis;white-space:nowrap}
.delivery-workflow{display:flex;align-items:center;justify-content:flex-end;gap:0;min-width:440px}
.delivery-page .workflow-pill{position:relative;display:flex;align-items:center;justify-content:center;min-width:96px;height:30px;padding:0 14px;border:1px solid var(--odoo-line);border-left:0;color:var(--odoo-muted);background:#fff;font-size:11px;font-weight:750;white-space:nowrap}
.delivery-page .workflow-pill:first-child{border-left:1px solid var(--odoo-line);border-radius:5px 0 0 5px}
.delivery-page .workflow-pill:last-child{border-radius:0 5px 5px 0}
.delivery-page .workflow-pill.done{color:var(--odoo-green);background:#edf8f3}
.delivery-page .workflow-pill.active{z-index:1;color:#fff;background:var(--odoo);border-color:var(--odoo)}
.delivery-page .delivery-document-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:22px 24px;border:1px solid var(--odoo-line);border-radius:6px 6px 0 0!important;color:var(--odoo-ink);background:#fff!important;box-shadow:0 2px 10px #2019210b}
.delivery-page .delivery-company{display:flex;align-items:flex-start;gap:13px;min-width:0}
.delivery-page .delivery-company .brand-orb{margin-top:2px}
.delivery-page .delivery-company>div{display:grid;gap:4px;min-width:0}
.delivery-page .delivery-company h1{margin:0;color:var(--odoo-ink);font-size:28px;font-weight:650;line-height:1.15;letter-spacing:0}
.delivery-page .delivery-company strong{overflow:hidden;color:var(--odoo-ink);font-size:13px;text-overflow:ellipsis;white-space:nowrap}
.delivery-page .delivery-company small{overflow:hidden;color:var(--odoo-muted);font-size:11px;text-overflow:ellipsis;white-space:nowrap}
.delivery-page .delivery-title{display:grid;justify-items:end;gap:6px;text-align:right}
.delivery-page .delivery-title span{color:var(--odoo-muted);font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.delivery-page .delivery-title strong{min-width:210px;min-height:34px;padding:8px 12px;border:1px solid var(--odoo-line);border-radius:6px;color:var(--odoo);background:var(--odoo-tint);font-size:13px;font-weight:750;text-align:center}
.delivery-page .delivery-title strong:empty:before{content:"No manual reference";color:var(--odoo-muted);font-weight:650}
.delivery-page .delivery-status-bar{display:grid;grid-template-columns:1.1fr repeat(3,1fr);border:1px solid var(--odoo-line);border-top:0;border-radius:0 0 6px 6px;background:#fff;box-shadow:0 2px 10px #2019210b}
.delivery-page .delivery-status-bar>div{display:grid;gap:4px;min-width:0;padding:14px 16px;border-right:1px solid #ece6eb;background:#fff}
.delivery-page .delivery-status-bar>div:last-child{border-right:0}
.delivery-page .delivery-status-bar span{color:var(--odoo-muted);font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.06em}
.delivery-page .delivery-status-bar strong{overflow:hidden;color:var(--odoo-ink);font-size:16px;font-weight:750;text-overflow:ellipsis;white-space:nowrap}
.delivery-page .delivery-status{display:inline-flex;align-items:center;justify-content:center;width:max-content;min-height:24px;padding:4px 9px;border-radius:5px;color:#5f5660;background:#ece8eb;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}
.delivery-page .delivery-status.delivered{color:#0f6d50;background:#e5f6ef}
.delivery-page .delivery-status.dispatched,.delivery-page .delivery-status.in_transit,.delivery-page .delivery-status.partial{color:#1c628b;background:#e6f1f7}
.delivery-page .delivery-status.cancelled{color:#a13b46;background:#fae7ea}
.delivery-page .delivery-status.draft,.delivery-page .delivery-status.pending{color:#8a641e;background:#fff1d9}
.delivery-page .delivery-detail-grid{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:14px;margin-top:14px}
.delivery-page .delivery-paper,.delivery-page .delivery-side .side-panel{border:1px solid var(--odoo-line);border-radius:6px;background:#fff;box-shadow:0 2px 10px #2019210a}
.delivery-page .delivery-paper{overflow:hidden;min-width:0}
.delivery-page .delivery-section-title{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 16px;border-bottom:1px solid var(--odoo-line);background:var(--odoo-soft);color:#5d5660;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.06em}
.delivery-page .delivery-section-title span:first-child{display:flex;align-items:center;gap:8px}
.delivery-page .delivery-section-title i{color:var(--odoo)}
.delivery-page .delivery-info-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;background:#ece6eb}
.delivery-page .delivery-info-grid>div{display:grid;gap:6px;min-height:78px;padding:13px 15px;background:#fff}
.delivery-page .delivery-info-grid span{display:flex;align-items:center;gap:7px;color:var(--odoo-muted);font-size:10px;font-weight:750;text-transform:uppercase;letter-spacing:.04em}
.delivery-page .delivery-info-grid span i{color:var(--odoo)}
.delivery-page .delivery-info-grid strong{overflow:hidden;color:var(--odoo-ink);font-size:13px;font-weight:650;text-overflow:ellipsis;white-space:nowrap}
.delivery-page .delivery-paper .table-responsive{border-top:0}
.delivery-page .delivery-items{width:100%;min-width:880px;margin:0;table-layout:fixed;font-size:12px}
.delivery-page .delivery-items thead th{padding:10px 9px;border-bottom:1px solid var(--odoo-line);background:#f2eff2;color:#5d5660;font-size:10px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;white-space:nowrap}
.delivery-page .delivery-items tbody td{padding:9px;border-color:#ece6eb;color:var(--odoo-ink);vertical-align:middle}
.delivery-page .delivery-items tbody tr:hover td{background:#fbf7fa}
.delivery-page .delivery-items td:nth-child(2){display:grid;min-width:230px}
.delivery-page .delivery-items td:nth-child(2) strong{font-size:13px}
.delivery-page .delivery-items td:nth-child(2) small{margin-top:3px;color:var(--odoo-muted);font-size:10px}
.delivery-page .delivery-notes{padding:16px;border-top:1px solid var(--odoo-line);background:#fff}
.delivery-page .delivery-notes strong{color:var(--odoo);font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.06em}
.delivery-page .delivery-notes p{margin:8px 0 0;color:#5f5660;font-size:12px;line-height:1.55;white-space:pre-wrap}
.delivery-page .delivery-side{display:grid;align-content:start;gap:14px}
.delivery-page .delivery-side .side-panel{padding:16px}
.delivery-page .side-panel-head{margin-bottom:12px}
.delivery-page .side-panel-head h4{font-size:15px;font-weight:650}
.delivery-page .session-list{display:grid;gap:0;margin:0}
.delivery-page .session-list div{display:grid;gap:3px;padding:10px 0;border-bottom:1px solid #ece6eb}
.delivery-page .session-list div:first-child{padding-top:0}
.delivery-page .session-list div:last-child{padding-bottom:0;border-bottom:0}
.delivery-page .session-list dt{color:var(--odoo-muted);font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.05em}
.delivery-page .session-list dd{overflow:hidden;margin:0;color:var(--odoo-ink);font-size:12px;font-weight:650;text-overflow:ellipsis;white-space:nowrap}
.delivery-page .delivery-timeline{display:grid;gap:0}
.delivery-page .delivery-timeline>div{display:flex;gap:10px;position:relative;padding-bottom:16px}
.delivery-page .delivery-timeline>div:not(:last-child):before{content:"";position:absolute;left:5px;top:14px;bottom:0;width:1px;background:#d9d0d7}
.delivery-page .timeline-dot{position:relative;z-index:1;flex:0 0 auto;width:11px;height:11px;margin-top:3px;border:2px solid #fff;border-radius:50%;background:var(--odoo);box-shadow:0 0 0 2px #d9d0d7}
.delivery-page .delivery-timeline strong{color:var(--odoo-ink);font-size:12px}
.delivery-page .delivery-timeline p{margin:3px 0;color:#5f5660;font-size:11px;line-height:1.4}
.delivery-page .delivery-timeline small{color:var(--odoo-muted);font-size:10px}
.delivery-page .mini-empty{padding:14px;border:1px dashed var(--odoo-line);border-radius:6px;color:var(--odoo-muted);background:var(--odoo-soft);text-align:center}
@media(max-width:1180px){.delivery-page .delivery-command-panel{align-items:flex-start;flex-direction:column}.delivery-workflow{width:100%;min-width:0;justify-content:flex-start;overflow-x:auto}.delivery-page .delivery-detail-grid{grid-template-columns:1fr}.delivery-page .delivery-side{grid-template-columns:1fr 1fr}}
@media(max-width:760px){.delivery-page .portal-topbar{height:auto;min-height:56px;align-items:flex-start;flex-wrap:wrap;padding:9px 12px}.delivery-topbar-left{width:100%}.delivery-page .delivery-actions{width:100%;justify-content:flex-end}.delivery-page .delivery-document-head{flex-direction:column;padding:18px}.delivery-page .delivery-title{justify-items:start;text-align:left}.delivery-page .delivery-title strong{min-width:0;width:100%}.delivery-page .delivery-status-bar,.delivery-page .delivery-info-grid,.delivery-page .delivery-side{grid-template-columns:1fr}.delivery-page .delivery-status-bar>div{border-right:0;border-bottom:1px solid #ece6eb}.delivery-page .delivery-status-bar>div:last-child{border-bottom:0}.delivery-page .delivery-company h1{font-size:23px}.delivery-page .workflow-pill{min-width:86px}.delivery-page .delivery-items{min-width:820px}}
@media print{.delivery-page .delivery-command-panel,.delivery-page .delivery-document-head,.delivery-page .delivery-status-bar,.delivery-page .delivery-detail-grid{display:none!important}}

/* Delivery editor action sizing fixes */
.delivery-editor-page .editor-topbar-actions{flex:0 0 auto;justify-content:flex-end}
.delivery-editor-page .editor-topbar-actions .btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:34px;min-height:34px;padding:6px 12px;white-space:nowrap}
.delivery-editor-page .editor-topbar-actions .btn-primary{min-width:132px}
.delivery-editor-page .editor-save-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;justify-self:end;align-self:end;width:auto;min-width:188px;max-width:240px;min-height:42px!important;height:42px;padding:8px 16px;white-space:nowrap}
.delivery-editor-page .editor-save-button .spinner-border,.delivery-editor-page .editor-topbar-actions .btn-primary .spinner-border{flex:0 0 auto}
@media(max-width:1280px){.delivery-editor-page .editor-save-button{grid-column:1/-1;justify-self:end;min-height:42px!important;height:42px}}
@media(max-width:750px){.delivery-editor-page .editor-topbar-actions{width:100%;justify-content:flex-end}.delivery-editor-page .editor-topbar-actions .btn{height:32px;min-height:32px;padding:5px 10px}.delivery-editor-page .editor-topbar-actions .btn-primary{min-width:118px}.delivery-editor-page .editor-save-button{justify-self:stretch;width:100%;max-width:none}}

/* Driver delivery report */
.driver-report-mode .btn{display:inline-flex;align-items:center;gap:6px;height:32px}.driver-report-groups{display:grid;gap:14px;margin-top:14px}.driver-report-customer{overflow:hidden;border:1px solid var(--line);border-radius:6px;background:#fff;box-shadow:0 2px 10px #2019210a}.driver-report-customer>header{display:grid;grid-template-columns:minmax(0,1.5fr) repeat(3,minmax(110px,.35fr));gap:1px;background:#ece6eb}.driver-report-customer.compact>header{grid-template-columns:minmax(0,1.5fr) repeat(2,minmax(110px,.35fr))}.driver-report-customer>header>div{display:grid;gap:4px;min-width:0;padding:12px 14px;background:#fbfafb}.driver-report-customer span,.driver-report-driver h4 span{color:#756c75;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.05em}.driver-report-customer strong{overflow:hidden;color:#2f2830;font-size:15px;text-overflow:ellipsis;white-space:nowrap}.driver-report-customer.compact .driver-trip-summary{border-top:1px solid #ece6eb}.driver-report-customer.compact .enterprise-table{table-layout:fixed}.driver-report-customer.compact .enterprise-table th,.driver-report-customer.compact .enterprise-table td{padding:10px 14px;font-size:12px}.driver-report-customer.compact .enterprise-table th:first-child,.driver-report-customer.compact .enterprise-table td:first-child{width:54px}.driver-report-customer.compact .enterprise-table th:last-child,.driver-report-customer.compact .enterprise-table td:last-child{width:110px}.driver-report-driver{border-top:1px solid #ece6eb}.driver-report-driver h4{display:flex;align-items:center;gap:9px;min-width:0;margin:0;padding:11px 14px;color:#2f2830;background:#fff;font-size:14px;font-weight:750}.driver-report-driver h4 i{color:#714b67}.driver-report-driver h4 small{overflow:hidden;flex:1;color:#756c75;font-size:11px;font-weight:500;text-overflow:ellipsis;white-space:nowrap}.driver-report-driver .enterprise-table th{background:#f7f4f6}.driver-report-driver .enterprise-table td,.driver-report-driver .enterprise-table th{font-size:12px}@media(max-width:850px){.driver-report-customer>header,.driver-report-customer.compact>header{grid-template-columns:1fr 1fr}.driver-report-driver h4{align-items:flex-start;flex-direction:column}.driver-report-driver h4 small{white-space:normal}.driver-report-mode{width:100%}.driver-report-mode .btn{flex:1;justify-content:center}}

.driver-report-customer>header,.driver-report-customer.compact>header{display:flex;align-items:stretch;gap:0;background:#714b67}.driver-report-customer>header>div{display:grid;align-content:center;gap:3px;flex:0 0 auto;min-width:116px;padding:11px 14px;border-right:1px solid rgba(255,255,255,.22);background:transparent}.driver-report-customer>header>div:first-child{flex:1 1 auto;min-width:220px}.driver-report-customer>header>div:last-child{border-right:0}.driver-report-customer>header span{color:#eadfe8}.driver-report-customer>header strong{color:#fff}@media(max-width:850px){.driver-report-customer>header,.driver-report-customer.compact>header{flex-wrap:wrap}.driver-report-customer>header>div{flex:1 1 50%;min-width:0}.driver-report-customer>header>div:first-child{flex-basis:100%;min-width:0}}
.driver-report-customer{border-color:#714b67}.driver-report-body{border-top:0;background:#fff}.driver-report-body>.table-responsive:first-child,.driver-report-body>.driver-report-driver:first-child{border-top:0}.driver-report-body .enterprise-table{margin-bottom:0}.driver-report-body .enterprise-table thead th{border-top:0}.driver-report-customer.compact .driver-trip-summary{border-top:0}.driver-report-customer.details .driver-report-driver:first-child{border-top:0}
.driver-report-card-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:14px;margin-top:14px}.driver-report-card{overflow:hidden;border:1px solid #d9d0d7;border-radius:6px;background:#fff;box-shadow:0 2px 10px #2019210a}.driver-report-card>header{display:grid;gap:4px;padding:13px 15px;color:#fff;background:#714b67}.driver-report-card>header span{color:#eadfe8;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.05em}.driver-report-card>header strong{overflow:hidden;font-size:16px;text-overflow:ellipsis;white-space:nowrap}.driver-report-card>header small{color:#eadfe8;font-size:11px}.driver-report-card-drivers{display:grid;padding:6px 0}.driver-report-card-drivers section{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 13px;border-bottom:1px solid #eee8ed}.driver-report-card-drivers section:last-child{border-bottom:0}.driver-report-card-drivers section>div{display:grid;min-width:0}.driver-report-card-drivers strong{overflow:hidden;color:#2f2830;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.driver-report-card-drivers small{overflow:hidden;color:#756c75;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.driver-report-card-drivers section>span{display:grid;place-items:center;min-width:34px;height:26px;border-radius:5px;color:#714b67;background:#f6f1f5;font-weight:800}.driver-report-card footer{display:flex;align-items:center;justify-content:space-between;padding:10px 13px;border-top:1px solid #eee8ed;background:#fbfafb}.driver-report-card footer span{color:#756c75;font-size:10px;font-weight:800;text-transform:uppercase}.driver-report-summary-view{display:grid;gap:14px;margin-top:14px}.driver-report-summary-view .summary-bars small{display:block;margin-top:-2px;color:#8f8490;font-size:10px}

/* Flow meter daily sale sheet */
.flowmeter-workspace{display:grid;gap:14px}.flowmeter-hero .delivery-module-actions{align-items:center;flex-wrap:wrap}.flowmeter-hero #flowmeterDate{width:150px;height:34px}.flowmeter-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.flowmeter-panel{overflow:hidden;border:1px solid var(--line);border-radius:6px;background:#fff;box-shadow:0 2px 10px #2019210a}.flowmeter-panel>header{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 14px;border-bottom:1px solid #ece6eb;background:#714b67;color:#fff}.flowmeter-panel>header div{display:grid;gap:2px}.flowmeter-panel>header span{color:#eadfe8;font-size:10px;font-weight:800;letter-spacing:.05em;text-transform:uppercase}.flowmeter-panel>header strong{font-size:16px}.flowmeter-panel>header label{display:grid;gap:4px;min-width:160px;color:#eadfe8;font-size:10px;font-weight:800;letter-spacing:.04em;text-transform:uppercase}.flowmeter-panel>header input{height:30px;border-color:#c9bcc7;background:#fff;color:#2f2830;font-weight:750}.flowmeter-table{min-width:720px;table-layout:fixed;font-size:12px}.flowmeter-table th{padding:9px 8px;border-bottom:1px solid #d9d0d7;background:#f5f1f4;color:#5f5660;font-size:10px;font-weight:800;text-transform:uppercase}.flowmeter-table td{padding:6px 8px;border-color:#ece6eb;vertical-align:middle}.flowmeter-table th:first-child,.flowmeter-table td:first-child{width:42px}.flowmeter-table th:nth-child(2),.flowmeter-table td:nth-child(2){width:48px}.flowmeter-table th:nth-child(3),.flowmeter-table td:nth-child(3){width:110px}.flowmeter-table th:nth-child(5),.flowmeter-table td:nth-child(5),.flowmeter-table th:nth-child(6),.flowmeter-table td:nth-child(6){width:142px}.flowmeter-table input{height:30px;border-color:#ded7dd;font-size:12px}.flowmeter-loading-qty{color:#714b67;font-weight:800}.flowmeter-table tfoot td{border-top:1px solid #d9d0d7;background:#fbfafb;color:#2f2830;font-weight:800}.flowmeter-add-row{display:inline-flex;align-items:center;gap:6px;margin:10px 12px}.flowmeter-delete-cell .btn{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;padding:0}.flowmeter-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;overflow:hidden;border:1px solid var(--line);border-radius:6px;background:#ece6eb;box-shadow:0 2px 10px #2019210a}.flowmeter-summary>div,.flowmeter-summary>label{display:grid;align-content:center;gap:5px;min-height:66px;margin:0;padding:12px 14px;background:#fff}.flowmeter-summary label{color:#756c75;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.05em}.flowmeter-summary span{color:#756c75;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.05em}.flowmeter-summary strong{color:#2f2830;font-size:16px}.flowmeter-summary input{height:30px;font-size:12px}.flowmeter-summary .flowmeter-cash{background:#f6f1f5}.flowmeter-summary .flowmeter-cash strong{color:#714b67}@media(max-width:1180px){.flowmeter-grid{grid-template-columns:1fr}.flowmeter-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:720px){.flowmeter-hero .delivery-module-actions{width:100%;justify-content:flex-start}.flowmeter-hero #flowmeterDate{width:100%}.flowmeter-hero .delivery-module-actions .btn{flex:1 1 auto}.flowmeter-summary{grid-template-columns:1fr}.flowmeter-panel>header{align-items:stretch;flex-direction:column}.flowmeter-panel>header label{min-width:0}}
.flowmeter-customer-summary{overflow:hidden;border:1px solid var(--line);border-radius:6px;background:#fff;box-shadow:0 2px 10px #2019210a}.flowmeter-customer-summary>header{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 14px;border-bottom:1px solid #ece6eb;background:#fbfafb}.flowmeter-customer-summary h4{margin:0;color:#2f2830;font-size:15px;font-weight:750}.flowmeter-customer-summary small{color:#756c75;font-size:11px}.flowmeter-customer-summary td strong{display:block;color:#2f2830}.flowmeter-customer-summary td small{display:block;color:#756c75;font-size:11px}@media(max-width:640px){.flowmeter-panel .table-responsive{overflow:visible}.flowmeter-table{display:block;min-width:0}.flowmeter-table thead{display:none}.flowmeter-table tbody,.flowmeter-table tr,.flowmeter-table td{display:block;width:100%}.flowmeter-table tbody{padding:8px;background:#f7f4f6}.flowmeter-table tbody tr{display:grid;grid-template-columns:44px minmax(0,1fr);gap:7px;margin-bottom:10px;padding:10px;border:1px solid #ded7dd;border-radius:6px;background:#fff}.flowmeter-table tbody tr:last-child{margin-bottom:0}.flowmeter-table tbody td{padding:0;border:0}.flowmeter-table tbody td:nth-child(1){grid-column:1;grid-row:1}.flowmeter-table tbody td:nth-child(2){display:grid;place-items:center;grid-column:1;grid-row:2 / span 4;min-height:100%;border-radius:5px;background:#f6f1f5;color:#714b67;font-weight:800}.flowmeter-table tbody td:nth-child(n+3){grid-column:2}.flowmeter-table tbody td:nth-child(n+3):before{display:block;margin-bottom:3px;color:#756c75;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}.flowmeter-table tbody td:nth-child(3):before{content:"TR No"}.flowmeter-table tbody td:nth-child(4):before{content:"Customer"}.flowmeter-table tbody td:nth-child(5):before{content:"Loading Qty (m3)"}.flowmeter-table tbody td:nth-child(6):before{content:"Flow Meter Reading"}.flowmeter-table tfoot,.flowmeter-table tfoot tr,.flowmeter-table tfoot td{display:block;width:100%}.flowmeter-table tfoot tr{padding:10px 12px;background:#fbfafb}.flowmeter-table tfoot td{padding:3px 0;border:0;text-align:left!important}.flowmeter-customer-summary>header{align-items:flex-start;flex-direction:column}.flowmeter-customer-summary .enterprise-table{min-width:520px}}

/* Flow meter compact responsive refinements */
.flowmeter-workspace .delivery-module-hero{padding:13px 14px}.flowmeter-workspace .delivery-module-hero h3{font-size:18px}.flowmeter-workspace .delivery-module-hero p{margin:2px 0 0;font-size:12px;line-height:1.35}.flowmeter-workspace .delivery-module-actions{gap:6px}.flowmeter-workspace .delivery-module-actions .btn{height:32px;padding:5px 9px;font-size:12px}.flowmeter-panel>header{padding:9px 11px}.flowmeter-panel>header strong{font-size:15px}.flowmeter-panel>header label{min-width:132px}.flowmeter-table{min-width:650px}.flowmeter-table th{padding:7px 6px;font-size:9px}.flowmeter-table td{padding:5px 6px}.flowmeter-table input{height:28px;padding:4px 7px;font-size:12px}.flowmeter-reading{font-weight:800;color:#2f2830}.flowmeter-add-row{margin:8px 10px}.flowmeter-summary>div,.flowmeter-summary>label{min-height:58px;padding:9px 11px}.flowmeter-summary strong{font-size:14px}.flowmeter-summary input{height:28px}.flowmeter-customer-summary>header{padding:9px 11px}.flowmeter-customer-summary h4{font-size:14px}.flowmeter-customer-summary .enterprise-table th,.flowmeter-customer-summary .enterprise-table td{padding:7px 9px;font-size:12px}@media(max-width:900px){.flowmeter-workspace{gap:10px}.flowmeter-workspace .delivery-module-hero{gap:10px}.flowmeter-grid{gap:10px}.flowmeter-summary{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:640px){.portal-content:has(.flowmeter-workspace){padding:8px}.portal-content:has(.flowmeter-workspace) .enterprise-card{padding:0;border-radius:6px}.flowmeter-workspace{gap:8px}.flowmeter-workspace .delivery-module-hero{padding:9px 10px;border-radius:6px}.flowmeter-workspace .delivery-module-hero h3{font-size:15px}.flowmeter-workspace .delivery-module-hero p{display:none}.flowmeter-workspace .section-kicker{font-size:9px}.flowmeter-workspace .delivery-module-actions{display:grid;width:100%;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.flowmeter-workspace .delivery-module-actions .btn{height:29px;min-height:29px;padding:3px 5px;font-size:11px}.flowmeter-workspace .delivery-module-actions .btn span{display:none}.flowmeter-hero #flowmeterDate{grid-column:1/-1;width:100%;height:30px;padding:4px 7px;font-size:12px}.flowmeter-grid{gap:8px}.flowmeter-panel{border-radius:6px}.flowmeter-panel>header{display:grid;grid-template-columns:1fr 124px;align-items:center;gap:8px;padding:8px 9px}.flowmeter-panel>header span{font-size:8px}.flowmeter-panel>header strong{font-size:13px}.flowmeter-panel>header label{min-width:0;font-size:8px}.flowmeter-panel>header input{height:27px;padding:3px 6px;font-size:12px}.flowmeter-table tbody{padding:5px;background:#f5f1f4}.flowmeter-table tbody tr{grid-template-columns:31px minmax(0,1fr);gap:5px;margin-bottom:6px;padding:6px;border-radius:5px}.flowmeter-table tbody td:nth-child(2){font-size:12px;border-radius:4px}.flowmeter-delete-cell .btn{width:26px;height:26px}.flowmeter-table input{height:27px;padding:3px 6px;font-size:12px}.flowmeter-table tbody td:nth-child(n+3):before{margin-bottom:1px;font-size:8px}.flowmeter-table tbody td:nth-child(4):before{content:"Customer Short"}.flowmeter-table tbody td:nth-child(5):before{content:"Qty"}.flowmeter-table tbody td:nth-child(6):before{content:"Reading"}.flowmeter-reading{font-size:12px}.flowmeter-table tfoot tr{display:grid;grid-template-columns:1fr 1fr;gap:3px;padding:7px 9px}.flowmeter-table tfoot td:nth-child(1){display:none}.flowmeter-table tfoot td:nth-child(2){grid-column:1/-1;font-size:11px}.flowmeter-table tfoot td:nth-child(3),.flowmeter-table tfoot td:nth-child(4){font-size:12px;text-align:left!important}.flowmeter-add-row{width:calc(100% - 16px);height:28px;margin:7px 8px;padding:3px 8px;justify-content:center;font-size:11px}.flowmeter-summary{grid-template-columns:repeat(2,minmax(0,1fr));border-radius:6px}.flowmeter-summary>div,.flowmeter-summary>label{min-height:48px;padding:7px 8px;gap:3px}.flowmeter-summary label,.flowmeter-summary span{font-size:8px;letter-spacing:.035em}.flowmeter-summary strong{font-size:12px}.flowmeter-summary input{height:26px;padding:3px 6px;font-size:12px}.flowmeter-customer-summary{border-radius:6px}.flowmeter-customer-summary>header{padding:8px 9px;gap:2px}.flowmeter-customer-summary h4{font-size:13px}.flowmeter-customer-summary>header small{display:none}.flowmeter-customer-summary .table-responsive{overflow-x:auto}.flowmeter-customer-summary .enterprise-table{min-width:390px}.flowmeter-customer-summary .enterprise-table th,.flowmeter-customer-summary .enterprise-table td{padding:5px 7px;font-size:11px}.flowmeter-customer-summary td small{font-size:9px}}@media(max-width:380px){.flowmeter-workspace .delivery-module-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.flowmeter-summary{grid-template-columns:1fr}.flowmeter-panel>header{grid-template-columns:1fr}.flowmeter-table tbody tr{grid-template-columns:28px minmax(0,1fr);padding:5px}}
/* Flow meter mobile fit fixes */
.flowmeter-workspace,.flowmeter-grid,.flowmeter-panel,.flowmeter-summary,.flowmeter-customer-summary{min-width:0;max-width:100%}
.flowmeter-workspace{overflow-x:hidden}
.flowmeter-panel .table-responsive,.flowmeter-customer-summary .table-responsive{max-width:100%}
.flowmeter-table input{min-width:0}
.flowmeter-reading{overflow-wrap:anywhere}
@media(max-width:640px){
  .portal-content:has(.flowmeter-workspace){width:100%;max-width:100vw;overflow-x:hidden;padding:6px}
  .enterprise-card:has(.flowmeter-workspace){overflow:hidden;border-radius:6px}
  #result:has(.flowmeter-workspace){min-width:0;padding:0}
  .flowmeter-workspace .delivery-module-actions{grid-template-columns:repeat(5,minmax(28px,1fr));align-items:stretch}
  .flowmeter-workspace .delivery-module-actions .btn{width:auto;min-width:0;height:28px;min-height:28px;padding:0 4px}
  .flowmeter-workspace .delivery-module-actions .btn i{font-size:11px}
  .flowmeter-hero #flowmeterDate{grid-column:1/-1;min-width:0}
  .flowmeter-panel>header{grid-template-columns:minmax(0,1fr) minmax(112px,36%)}
  .flowmeter-panel>header div,.flowmeter-panel>header label{min-width:0}
  .flowmeter-panel>header input{width:100%;min-width:0}
  .flowmeter-table{width:100%;max-width:100%;table-layout:fixed}
  .flowmeter-table tbody tr{width:100%;min-width:0}
  .flowmeter-table tbody td:nth-child(n+3){min-width:0}
  .flowmeter-table .form-control{width:100%;min-width:0}
  .flowmeter-table tfoot tr{width:100%;min-width:0}
  .flowmeter-table tfoot td{min-width:0;overflow-wrap:anywhere}
  .flowmeter-summary{width:100%;grid-template-columns:repeat(2,minmax(0,1fr))}
  .flowmeter-summary strong,.flowmeter-summary input{min-width:0;overflow-wrap:anywhere}
  .flowmeter-customer-summary .table-responsive{overflow:visible}
  .flowmeter-customer-summary .enterprise-table{display:block;width:100%;min-width:0}
  .flowmeter-customer-summary .enterprise-table thead{display:none}
  .flowmeter-customer-summary .enterprise-table tbody,.flowmeter-customer-summary .enterprise-table tr,.flowmeter-customer-summary .enterprise-table td{display:block;width:100%}
  .flowmeter-customer-summary .enterprise-table tbody{display:grid;gap:6px;padding:7px;background:#f5f1f4}
  .flowmeter-customer-summary .enterprise-table tr{display:grid;grid-template-columns:28px minmax(0,1fr) 38px 64px;gap:5px;align-items:center;padding:7px;border:1px solid #ded7dd;border-radius:5px;background:#fff}
  .flowmeter-customer-summary .enterprise-table td{max-width:none;padding:0;border:0;white-space:normal;overflow:visible;text-overflow:clip}
  .flowmeter-customer-summary .enterprise-table td:nth-child(2){min-width:0}
  .flowmeter-customer-summary .enterprise-table td:nth-child(2) strong,.flowmeter-customer-summary .enterprise-table td:nth-child(2) small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .flowmeter-customer-summary .enterprise-table td:nth-child(3),.flowmeter-customer-summary .enterprise-table td:nth-child(4){text-align:right!important;font-weight:750}
}
@media(max-width:380px){
  .flowmeter-workspace .delivery-module-actions{grid-template-columns:repeat(5,minmax(26px,1fr))}
  .flowmeter-panel>header{grid-template-columns:1fr}
  .flowmeter-customer-summary .enterprise-table tr{grid-template-columns:24px minmax(0,1fr) 32px 54px}
  .flowmeter-summary{grid-template-columns:1fr}
}

/* Flow meter tablet fit */
@media(max-width:1180px) and (min-width:641px){
  .portal-content:has(.flowmeter-workspace){max-width:100%;padding:14px}
  #result:has(.flowmeter-workspace){min-width:0}
  .flowmeter-workspace .delivery-module-hero{align-items:flex-start;flex-direction:column}
  .flowmeter-workspace .delivery-module-actions{display:grid;width:100%;grid-template-columns:auto minmax(130px,160px) repeat(4,auto);align-items:center}
  .flowmeter-workspace .delivery-module-actions .btn{justify-content:center;min-width:0;white-space:nowrap}
  .flowmeter-hero #flowmeterDate{width:100%;min-width:0}
  .flowmeter-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .flowmeter-panel>header{display:grid;grid-template-columns:minmax(0,1fr) minmax(96px,34%);gap:8px;padding:7px 8px}
  .flowmeter-panel>header span{font-size:8px}
  .flowmeter-panel>header strong{font-size:13px}
  .flowmeter-panel>header label{min-width:0;font-size:8px}
  .flowmeter-panel>header input{height:25px;padding:2px 5px;font-size:11px}
  .flowmeter-table{width:100%;min-width:0}
  .flowmeter-table th,.flowmeter-table td{padding:4px 3px}
  .flowmeter-table th{font-size:7px;line-height:1.1}
  .flowmeter-table input{height:24px;padding:2px 4px;font-size:10px}
  .flowmeter-table th:first-child,.flowmeter-table td:first-child{width:25px}
  .flowmeter-table th:nth-child(2),.flowmeter-table td:nth-child(2){width:25px}
  .flowmeter-table th:nth-child(3),.flowmeter-table td:nth-child(3){width:58px}
  .flowmeter-table th:nth-child(5),.flowmeter-table td:nth-child(5){width:72px}
  .flowmeter-table th:nth-child(6),.flowmeter-table td:nth-child(6){width:76px}
  .flowmeter-delete-cell .btn{width:22px;height:22px}
  .flowmeter-reading{font-size:10px}
  .flowmeter-add-row{height:26px;margin:6px 8px;padding:2px 7px;font-size:11px}
  .flowmeter-panel .form-control{min-width:0}
  .flowmeter-summary{grid-template-columns:repeat(3,minmax(0,1fr))}
  .flowmeter-summary>div,.flowmeter-summary>label{min-width:0}
}
@media(max-width:820px) and (min-width:641px){
  .portal-content:has(.flowmeter-workspace){padding:10px}
  .flowmeter-workspace .delivery-module-actions{grid-template-columns:repeat(5,minmax(0,1fr))}
  .flowmeter-hero #flowmeterDate{grid-column:1/-1}
  .flowmeter-workspace .delivery-module-actions .btn span{display:none}
  .flowmeter-grid{gap:6px}
  .flowmeter-table{font-size:10px}
  .flowmeter-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:640px){
  .flowmeter-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}
  .flowmeter-panel>header{grid-template-columns:1fr;gap:5px;padding:6px}
  .flowmeter-panel>header input{height:24px;padding:2px 5px;font-size:10px}
  .flowmeter-table tbody{padding:4px}
  .flowmeter-table tbody tr{grid-template-columns:24px minmax(0,1fr);gap:4px;padding:5px}
  .flowmeter-table tbody td:nth-child(2){font-size:10px}
  .flowmeter-table tbody td:nth-child(n+3):before{font-size:7px}
  .flowmeter-table input{height:24px;padding:2px 4px;font-size:10px}
  .flowmeter-reading{font-size:10px}
  .flowmeter-delete-cell .btn{width:22px;height:22px}
  .flowmeter-add-row{width:calc(100% - 10px);height:25px;margin:5px;padding:2px 6px}
  .flowmeter-add-row span{display:none}
}

/* Flow meter phone rows: keep all reading fields on one line */
@media(max-width:640px){
  .flowmeter-table tbody{display:grid;gap:4px;padding:4px}
  .flowmeter-table tbody tr{
    display:grid;
    grid-template-columns:22px minmax(42px,.75fr) minmax(58px,1fr) minmax(44px,.72fr) minmax(52px,.82fr);
    align-items:center;
    gap:3px;
    margin:0;
    padding:4px;
  }
  .flowmeter-table tbody td{display:block;width:auto;min-width:0;padding:0;border:0}
  .flowmeter-table tbody td:nth-child(1){grid-column:1;grid-row:auto}
  .flowmeter-table tbody td:nth-child(2){display:none}
  .flowmeter-table tbody td:nth-child(3),
  .flowmeter-table tbody td:nth-child(4),
  .flowmeter-table tbody td:nth-child(5),
  .flowmeter-table tbody td:nth-child(6){grid-column:auto}
  .flowmeter-table tbody td:nth-child(n+3):before{display:none;content:none}
  .flowmeter-delete-cell .btn{width:20px;height:22px;font-size:10px}
  .flowmeter-table input{width:100%;min-width:0;height:23px;padding:2px 3px;font-size:9px}
  .flowmeter-reading{overflow:hidden;font-size:9px;text-align:right!important;text-overflow:ellipsis;white-space:nowrap}
}

/* =========================================================
   MBA Portal Professional UI Refresh - July 2026
   Front-end only: no database/API/business logic changes.
   ========================================================= */
:root{
  --mba-primary:#2563eb;
  --mba-primary-2:#06b6d4;
  --mba-accent:#14b8a6;
  --mba-deep:#0f172a;
  --mba-soft:#f8fafc;
  --mba-card:#ffffff;
  --mba-border:#e2e8f0;
  --mba-text:#172033;
  --mba-muted:#64748b;
  --mba-shadow:0 18px 50px rgba(15,23,42,.10);
  --mba-shadow-soft:0 10px 30px rgba(15,23,42,.08);
  --mba-radius:18px;
}
html{scroll-behavior:smooth}
body.portal-body,body.auth-page{
  color:var(--mba-text);
  background:
    radial-gradient(circle at top left,rgba(37,99,235,.13),transparent 34rem),
    radial-gradient(circle at 82% 8%,rgba(20,184,166,.12),transparent 28rem),
    linear-gradient(180deg,#f8fbff 0%,#f3f7fb 42%,#eef3f9 100%);
  text-rendering:optimizeLegibility;
  -webkit-font-smoothing:antialiased;
}
.portal-sidebar.erp-sidebar,.portal-sidebar.dashboard-sidebar{
  background:linear-gradient(180deg,#0f172a 0%,#172554 48%,#0f172a 100%)!important;
  border-right:1px solid rgba(255,255,255,.08);
  box-shadow:14px 0 38px rgba(15,23,42,.18)!important;
}
.portal-sidebar::before{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:radial-gradient(circle at 20% 4%,rgba(96,165,250,.34),transparent 16rem),radial-gradient(circle at 88% 72%,rgba(45,212,191,.20),transparent 16rem);
}
.sidebar-brand,.sidebar-profile,.sidebar-link,.sidebar-caption,.sidebar-footer{position:relative;z-index:1}
.brand-orb{
  background:linear-gradient(135deg,var(--mba-primary),var(--mba-primary-2))!important;
  box-shadow:0 12px 26px rgba(37,99,235,.32)!important;
}
.sidebar-link{
  border:1px solid transparent!important;
  border-radius:14px!important;
  color:rgba(255,255,255,.82)!important;
}
.sidebar-link:hover{background:rgba(255,255,255,.10)!important;border-color:rgba(255,255,255,.10)!important;transform:translateX(3px)}
.sidebar-link.active{background:linear-gradient(135deg,rgba(37,99,235,.92),rgba(6,182,212,.78))!important;color:#fff!important;box-shadow:0 12px 28px rgba(37,99,235,.28)}
.portal-main{background:transparent}
.portal-topbar.erp-topbar,.portal-topbar.dashboard-topbar{
  background:rgba(255,255,255,.82)!important;
  backdrop-filter:blur(18px);
  border-bottom:1px solid rgba(226,232,240,.86)!important;
  box-shadow:0 10px 28px rgba(15,23,42,.05);
}
.topbar-search,.erp-global-search,.dashboard-search{
  background:#fff!important;border:1px solid var(--mba-border)!important;border-radius:999px!important;
  box-shadow:0 10px 24px rgba(15,23,42,.04);
}
.topbar-search:focus-within,.erp-global-search:focus-within,.dashboard-search:focus-within{border-color:rgba(37,99,235,.45)!important;box-shadow:0 0 0 4px rgba(37,99,235,.10)}
.portal-content{padding:22px!important}
.page-intro,.dashboard-welcome,.enterprise-card,.dashboard-section,.side-panel,.workspace-group,.kpi-card,.auth-shell,.recovery-card,.delivery-paper,.editor-card,.editor-summary{
  border:1px solid rgba(226,232,240,.86)!important;
  border-radius:var(--mba-radius)!important;
  background:rgba(255,255,255,.90)!important;
  box-shadow:var(--mba-shadow-soft)!important;
  backdrop-filter:blur(10px);
}
.page-intro,.dashboard-welcome{
  overflow:hidden;position:relative;
  background:linear-gradient(135deg,#fff 0%,#eef6ff 100%)!important;
}
.page-intro::after,.dashboard-welcome::after{
  content:"";position:absolute;right:-5rem;top:-5rem;width:15rem;height:15rem;border-radius:50%;
  background:linear-gradient(135deg,rgba(37,99,235,.16),rgba(6,182,212,.10));
}
.section-kicker,.welcome-date{color:var(--mba-primary)!important;font-weight:800;letter-spacing:.10em}
.page-intro h1,.dashboard-welcome h1{color:var(--mba-deep);letter-spacing:-.04em}
.btn{border-radius:12px!important;font-weight:700!important;transition:transform .18s ease,box-shadow .18s ease,background .18s ease,border-color .18s ease!important}
.btn:hover{transform:translateY(-2px)}
.btn-primary{
  background:linear-gradient(135deg,var(--mba-primary),var(--mba-primary-2))!important;
  border-color:transparent!important;
  box-shadow:0 12px 26px rgba(37,99,235,.25)!important;
}
.btn-outline-primary{color:var(--mba-primary)!important;border-color:rgba(37,99,235,.32)!important}
.btn-outline-primary:hover{background:var(--mba-primary)!important;color:#fff!important}
.btn-light{background:#fff!important;border-color:var(--mba-border)!important;box-shadow:0 8px 18px rgba(15,23,42,.04)}
.form-control,.form-select,.input-group-text{
  border-color:var(--mba-border)!important;border-radius:12px!important;
}
.form-control:focus,.form-select:focus{border-color:rgba(37,99,235,.55)!important;box-shadow:0 0 0 4px rgba(37,99,235,.11)!important}
.card-commandbar{background:rgba(248,250,252,.92)!important;border-bottom:1px solid var(--mba-border)!important}
.enterprise-table thead th{background:#f1f5f9!important;color:#475569!important;border-bottom:1px solid var(--mba-border)!important}
.enterprise-table tbody tr:hover{background:#eff6ff!important;box-shadow:inset 3px 0 0 var(--mba-primary)}
.status-badge{border-radius:999px!important;font-weight:800!important}
.kpi-card,.quick-action,.workspace-module-grid a,.odoo-record-card,.document-card,.customer-panel,.hr-panel{
  transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease!important;
}
.kpi-card:hover,.quick-action:hover,.workspace-module-grid a:hover,.odoo-record-card:hover,.document-card:hover,.customer-panel:hover,.hr-panel:hover{
  transform:translateY(-4px);box-shadow:var(--mba-shadow)!important;border-color:rgba(37,99,235,.24)!important;
}
.kpi-icon,.quick-icon,.workspace-group header>span,.module-health-strip span{
  background:linear-gradient(135deg,rgba(37,99,235,.12),rgba(6,182,212,.14))!important;color:var(--mba-primary)!important;
}
.auth-page{min-height:100vh;display:grid;place-items:center;padding:24px;overflow-x:hidden}
.auth-shell{max-width:1120px;width:min(1120px,100%);overflow:hidden;box-shadow:0 28px 70px rgba(15,23,42,.18)!important}
.auth-story{background:linear-gradient(145deg,#0f172a 0%,#1e3a8a 55%,#0891b2 100%)!important;position:relative;overflow:hidden}
.auth-story::before{content:"";position:absolute;inset:auto -7rem -7rem auto;width:22rem;height:22rem;border-radius:50%;background:rgba(255,255,255,.12)}
.auth-story-copy h1,.auth-story-copy p,.auth-brand strong,.auth-brand small,.auth-story-footer span{position:relative;color:#fff!important}
.auth-feature-grid div{background:rgba(255,255,255,.12)!important;border:1px solid rgba(255,255,255,.16)!important;backdrop-filter:blur(10px)}
.auth-form-panel{background:rgba(255,255,255,.96)!important}
.notification-button,.user-chip{border-radius:999px!important;border:1px solid var(--mba-border)!important;background:#fff!important;box-shadow:0 8px 18px rgba(15,23,42,.04)}
.dropdown-menu,.modal-content{border:1px solid var(--mba-border)!important;border-radius:16px!important;box-shadow:0 24px 70px rgba(15,23,42,.18)!important}
.swal2-popup{border-radius:20px!important;box-shadow:0 30px 90px rgba(15,23,42,.24)!important}
.swal2-confirm{border-radius:12px!important;background:linear-gradient(135deg,var(--mba-primary),var(--mba-primary-2))!important}
.portal-loader-bar{position:fixed;left:0;right:0;top:0;height:3px;z-index:3000;background:linear-gradient(90deg,var(--mba-primary),var(--mba-primary-2),var(--mba-accent));transform:scaleX(0);transform-origin:left;opacity:0;transition:transform .35s ease,opacity .2s ease}.portal-loading .portal-loader-bar{transform:scaleX(.78);opacity:1}.portal-loaded .portal-loader-bar{transform:scaleX(1);opacity:0}
.portal-ripple{position:absolute;border-radius:50%;transform:scale(0);animation:portalRipple .55s ease-out;background:rgba(37,99,235,.22);pointer-events:none}
@keyframes portalRipple{to{transform:scale(3.2);opacity:0}}
@keyframes portalFloatIn{from{opacity:0;transform:translateY(16px) scale(.985)}to{opacity:1;transform:none}}
.animate-rise,.enterprise-card,.dashboard-section,.side-panel,.kpi-card,.workspace-group{animation:portalFloatIn .42s cubic-bezier(.2,.8,.2,1) both}
.delay-1{animation-delay:.08s}.delay-2{animation-delay:.15s}
@media(max-width:991px){.portal-content{padding:14px!important}.portal-sidebar{box-shadow:20px 0 60px rgba(15,23,42,.35)!important}.topbar-search kbd{display:none}.portal-sidebar-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.46);z-index:998;opacity:0;pointer-events:none;transition:.2s}.sidebar-open .portal-sidebar-backdrop{opacity:1;pointer-events:auto}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Delivery create page - professional Bootstrap/Odoo inspired polish */
.delivery-create-page{--create-primary:#714b67;--create-primary-dark:#56364e;--create-accent:#0ea5e9;--create-green:#16a34a;--create-surface:#fff;--create-soft:#f8f3f7;--create-line:#e6dce4;background:radial-gradient(circle at top right,#f2e8f0 0,#f7f7f8 320px,#f4f5f7 760px)}
.delivery-create-page .portal-sidebar{background:linear-gradient(180deg,#3a2435,#20151e)}
.delivery-create-page .sidebar-brand .brand-orb{box-shadow:0 10px 30px rgba(113,75,103,.34)}
.delivery-create-page .portal-topbar.delivery-editor-topbar{border-bottom:1px solid rgba(113,75,103,.12);box-shadow:0 10px 30px rgba(32,25,33,.06);backdrop-filter:blur(12px)}
.delivery-create-page .editor-app-icon{background:linear-gradient(135deg,var(--create-primary),var(--create-accent));box-shadow:0 10px 22px rgba(113,75,103,.22)}
.delivery-create-page .editor-command-panel{overflow:hidden;position:relative;border-color:var(--create-line);background:linear-gradient(135deg,#fff,#fbf8fb)}
.delivery-create-page .editor-command-panel:before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:linear-gradient(180deg,var(--create-primary),var(--create-accent))}
.delivery-create-page .workflow-pill{display:inline-flex;align-items:center;gap:6px;border-radius:999px;transition:transform .18s ease,box-shadow .18s ease,background .18s ease}
.delivery-create-page .workflow-pill:hover{transform:translateY(-1px);box-shadow:0 8px 18px rgba(113,75,103,.1)}
.delivery-create-page .workflow-pill.active{background:linear-gradient(135deg,var(--create-primary),var(--create-primary-dark));box-shadow:0 8px 18px rgba(113,75,103,.22)}
.delivery-create-page .create-sheet-head{position:relative;overflow:hidden;border-color:var(--create-line);background:linear-gradient(135deg,#fff 0,#fff 62%,#f5eef4 100%)}
.delivery-create-page .create-sheet-head:after{content:"";position:absolute;right:-50px;top:-70px;width:210px;height:210px;border-radius:50%;background:linear-gradient(135deg,rgba(113,75,103,.11),rgba(14,165,233,.12));pointer-events:none}
.delivery-create-page .editor-title-block,.delivery-create-page .editor-smart-buttons{position:relative;z-index:1}
.delivery-create-page .record-label{display:inline-flex;align-items:center;width:max-content;padding:5px 10px;border:1px solid rgba(113,75,103,.18);border-radius:999px;background:#fff;color:var(--create-primary);font-size:10px;font-weight:850;letter-spacing:.06em;text-transform:uppercase}
.delivery-create-page .create-page-lead{max-width:720px;margin:0;color:#6f6470;font-size:13px;line-height:1.6}
.delivery-create-page .editor-record-meta span{padding:5px 9px;border:1px solid rgba(113,75,103,.1);border-radius:999px;background:rgba(255,255,255,.72)}
.delivery-create-page .smart-button{border:1px solid var(--create-line);background:rgba(255,255,255,.86);box-shadow:0 12px 30px rgba(32,25,33,.07);transition:transform .18s ease,box-shadow .18s ease}
.delivery-create-page .smart-button:hover{transform:translateY(-2px);box-shadow:0 16px 34px rgba(32,25,33,.11)}
.delivery-create-page .smart-button.accent{background:linear-gradient(135deg,var(--create-primary),var(--create-primary-dark));color:#fff}
.delivery-create-page .smart-button.accent small,.delivery-create-page .smart-button.accent span{color:#fff}
.create-quick-guide{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:12px}
.create-quick-guide article{position:relative;overflow:hidden;display:grid;gap:4px;min-height:94px;padding:16px 16px 14px 58px;border:1px solid var(--create-line);border-radius:8px;background:#fff;box-shadow:0 8px 24px rgba(32,25,33,.06);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.create-quick-guide article:hover{transform:translateY(-3px);border-color:#cdb9c7;box-shadow:0 18px 36px rgba(32,25,33,.1)}
.create-quick-guide article span{position:absolute;left:14px;top:16px;display:grid;place-items:center;width:32px;height:32px;border-radius:9px;background:var(--create-soft);color:var(--create-primary);font-size:12px;font-weight:900}
.create-quick-guide strong{color:#302731;font-size:13px;font-weight:850}
.create-quick-guide small{color:#756c75;font-size:11px;line-height:1.45}
.delivery-create-page .editor-card{overflow:hidden;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.delivery-create-page .editor-card:hover{transform:translateY(-1px);border-color:#d6c6d1;box-shadow:0 15px 34px rgba(32,25,33,.08)}
.delivery-create-page .editor-card>header{background:linear-gradient(135deg,#fff,#f8f3f7)}
.delivery-create-page .editor-card>header>span{background:linear-gradient(135deg,#f6edf4,#eef7fd);color:var(--create-primary)}
.delivery-create-page .customer-field.featured-field{grid-column:1/-1;padding:14px;border:1px dashed #d7c7d2;border-radius:8px;background:linear-gradient(135deg,#fff,#fbf8fb)}
.delivery-create-page .customer-search-control{border:1px solid #ddd2da;border-radius:8px;background:#fff;box-shadow:inset 0 1px 0 rgba(255,255,255,.8)}
.delivery-create-page .customer-search-control>i{margin-left:12px;color:var(--create-primary)}
.delivery-create-page .customer-search-control button{border-left:1px solid #eee7ec}
.delivery-create-page .editor-fields .form-control,.delivery-create-page .editor-fields .form-select{transition:border-color .18s ease,box-shadow .18s ease,background .18s ease}
.delivery-create-page .editor-fields .form-control:focus,.delivery-create-page .editor-fields .form-select:focus{background:#fff;box-shadow:0 3px 0 rgba(113,75,103,.08)}
.delivery-create-page .items-editor-card .table-responsive{max-height:58vh;overflow:auto}
.delivery-create-page .editor-items-table thead th{background:linear-gradient(180deg,#f7f2f6,#eee6ec)}
.delivery-create-page .editor-items-table tbody tr{animation:createRowIn .22s ease both}
.delivery-create-page .editor-empty{border-top:1px dashed #e3d8e0;background:linear-gradient(135deg,#fff,#fbf8fb)}
.delivery-create-page .create-help-summary p{margin:10px 0 0;color:#665d66;font-size:11px;line-height:1.6}
.delivery-create-page .editor-save-button,.delivery-create-page .editor-topbar-actions .btn-primary{border:0;background:linear-gradient(135deg,var(--create-primary),var(--create-primary-dark));box-shadow:0 12px 26px rgba(113,75,103,.25);transition:transform .18s ease,box-shadow .18s ease}
.delivery-create-page .editor-save-button:hover,.delivery-create-page .editor-topbar-actions .btn-primary:hover{transform:translateY(-1px);box-shadow:0 16px 30px rgba(113,75,103,.32)}
.delivery-create-page .editor-topbar-actions .btn-outline-secondary{border-color:#d9ccd5;background:#fff;color:#5c5360}
.delivery-create-page #deliveryEditorForm:not(.d-none){animation:createFadeUp .32s ease both}
@keyframes createFadeUp{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
@keyframes createRowIn{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:1180px){.create-quick-guide{grid-template-columns:repeat(2,minmax(0,1fr))}.delivery-create-page .items-editor-card .table-responsive{max-height:none}}
@media(max-width:720px){.create-quick-guide{grid-template-columns:1fr}.create-quick-guide article{min-height:auto}.delivery-create-page .create-page-lead{font-size:12px}.delivery-create-page .customer-field.featured-field{padding:10px}.delivery-create-page .editor-record-meta span{border-radius:7px}.delivery-create-page .editor-command-panel:before{width:3px}}

/* Enterprise sidebar + Delivery module refinement - 07 Jul 2026 */
:root{--enterprise-sidebar:#0b1220;--enterprise-sidebar-2:#111c33;--enterprise-cyan:#06b6d4;--enterprise-blue:#2563eb;--enterprise-green:#16a34a;--enterprise-red:#dc2626;--enterprise-amber:#d97706}
.portal-sidebar.erp-sidebar,.portal-sidebar.dashboard-sidebar,.delivery-create-page .portal-sidebar{width:280px!important;padding:14px 12px!important;background:linear-gradient(180deg,var(--enterprise-sidebar) 0%,var(--enterprise-sidebar-2) 58%,#0b1220 100%)!important;border-right:1px solid rgba(255,255,255,.08)!important;box-shadow:18px 0 46px rgba(15,23,42,.20)!important}
.portal-sidebar::before{background:radial-gradient(circle at 24px 20px,rgba(59,130,246,.34),transparent 165px),radial-gradient(circle at 100% 55%,rgba(6,182,212,.18),transparent 220px)!important}
.sidebar-brand{min-height:58px;padding:8px 8px 16px!important;border-bottom:1px solid rgba(255,255,255,.08);text-decoration:none!important}
.sidebar-brand strong{display:block;max-width:174px;overflow:hidden;color:#fff;font-size:14px;letter-spacing:-.01em;text-overflow:ellipsis;white-space:nowrap}.sidebar-brand small{color:#9fb0c8!important;font-size:9px!important;font-weight:800;text-transform:uppercase}.brand-orb{width:38px!important;height:38px!important;border-radius:13px!important;background:linear-gradient(135deg,#2563eb,#06b6d4)!important;color:#fff!important;font-weight:900!important}
.sidebar-profile{margin:12px 0 8px;padding:10px;border:1px solid rgba(255,255,255,.09);border-radius:16px;background:rgba(255,255,255,.06);box-shadow:inset 0 1px 0 rgba(255,255,255,.08)}.sidebar-profile strong{max-width:145px;overflow:hidden;color:#fff;text-overflow:ellipsis;white-space:nowrap}.sidebar-profile small{color:#93a4bd}.profile-avatar{background:linear-gradient(135deg,#2563eb,#06b6d4)!important;color:#fff!important}
.sidebar-caption{padding:16px 10px 6px!important;color:#7f90aa!important;font-size:9px!important;font-weight:900!important;letter-spacing:.14em!important;text-transform:uppercase}.sidebar-stack,.dashboard-side-nav,.endpoint-nav{display:grid;gap:4px}.sidebar-link{position:relative;min-height:38px!important;padding:9px 10px!important;border-radius:13px!important;color:#cbd5e1!important;font-size:12px!important;font-weight:760!important;text-decoration:none!important;letter-spacing:-.01em}.sidebar-link i:first-child{width:22px!important;min-width:22px!important;height:22px;border-radius:8px;color:#93c5fd;background:rgba(255,255,255,.07);font-size:13px!important}.sidebar-link:hover{background:rgba(255,255,255,.09)!important;color:#fff!important;transform:translateX(2px)!important}.sidebar-link:hover i:first-child{color:#fff;background:rgba(59,130,246,.28)}.sidebar-link.active{background:linear-gradient(135deg,#2563eb,#0891b2)!important;color:#fff!important;box-shadow:0 14px 30px rgba(37,99,235,.32)!important}.sidebar-link.active i:first-child{background:rgba(255,255,255,.18);color:#fff}.sidebar-parent{width:100%;border:0;text-align:left}.nested-link,.endpoint-nav .sidebar-link{margin-left:10px!important;width:calc(100% - 10px)!important;padding-left:11px!important;font-size:11.5px!important}.nested-link::before,.endpoint-nav .sidebar-link::before{content:"";position:absolute;left:-8px;top:50%;width:8px;height:1px;background:rgba(148,163,184,.28)}.endpoint-pill{margin-left:auto;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.08);color:#b7c8dd}.sidebar-footer{left:12px!important;right:12px!important;bottom:12px!important;padding-top:10px;border-top:1px solid rgba(255,255,255,.08);background:linear-gradient(180deg,transparent,#0b1220 22%)}.portal-main{margin-left:280px!important}@media(max-width:991px){.portal-main{margin-left:0!important}.portal-sidebar.erp-sidebar,.portal-sidebar.dashboard-sidebar,.delivery-create-page .portal-sidebar{width:min(286px,86vw)!important}}
.sidebar-section-head{position:relative;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 2px 2px}.sidebar-section-head .sidebar-caption{padding:8px 8px 4px!important}.sidebar-tree-action{display:grid;place-items:center;width:30px;height:30px;margin-right:4px;border:1px solid rgba(148,163,184,.18);border-radius:10px;color:#a9bdd6;background:rgba(255,255,255,.06);transition:background .16s ease,color .16s ease,border-color .16s ease}.sidebar-tree-action:hover{border-color:rgba(96,165,250,.38);background:rgba(37,99,235,.20);color:#fff}.sidebar-parent small{display:grid;place-items:center;min-width:22px;height:20px;margin-left:auto;padding:0 6px;border:1px solid rgba(148,163,184,.18);border-radius:999px;color:#b6c5d8;background:rgba(15,23,42,.26);font-size:10px;font-weight:900}.sidebar-parent .bi-chevron-down{margin-left:2px!important}

.enterprise-delivery-view{display:grid;gap:14px}.enterprise-delivery-hero{position:relative;overflow:hidden;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:18px 20px!important;border:1px solid rgba(226,232,240,.94)!important;border-radius:18px!important;background:linear-gradient(135deg,#fff 0%,#eef6ff 100%)!important;box-shadow:0 20px 45px rgba(15,23,42,.08)!important}.enterprise-delivery-hero::after{content:"";position:absolute;right:-42px;top:-56px;width:175px;height:175px;border-radius:50%;background:linear-gradient(135deg,rgba(37,99,235,.16),rgba(6,182,212,.12));pointer-events:none}.enterprise-delivery-hero h3{position:relative;z-index:1;margin:0;color:#0f172a;font-size:23px;font-weight:900;letter-spacing:-.035em}.enterprise-delivery-hero .delivery-module-actions{position:relative;z-index:1;display:flex;gap:8px;flex-wrap:wrap}
.enterprise-delivery-stats{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px!important}.enterprise-delivery-stats>div{position:relative;overflow:hidden;display:grid!important;gap:4px;padding:15px 16px!important;border:1px solid rgba(226,232,240,.92)!important;border-radius:16px!important;background:#fff!important;box-shadow:0 14px 32px rgba(15,23,42,.06)!important}.enterprise-delivery-stats>div::before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:linear-gradient(180deg,#2563eb,#06b6d4)}.enterprise-delivery-stats span{color:#64748b!important;font-size:10px!important;font-weight:900!important;letter-spacing:.08em!important;text-transform:uppercase}.enterprise-delivery-stats strong{color:#0f172a!important;font-size:22px!important;font-weight:950!important;letter-spacing:-.04em}
.enterprise-delivery-filters{display:grid!important;grid-template-columns:repeat(4,minmax(140px,1fr)) auto minmax(180px,1.2fr);gap:10px!important;align-items:end;padding:14px!important;border:1px solid rgba(226,232,240,.92)!important;border-radius:18px!important;background:rgba(255,255,255,.92)!important;box-shadow:0 14px 34px rgba(15,23,42,.05)!important}.enterprise-delivery-filters label{display:grid;gap:5px;margin:0;color:#475569;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}.delivery-period-chip{display:grid;gap:2px;min-height:46px;padding:8px 12px;border:1px solid #e2e8f0;border-radius:13px;background:#f8fafc}.delivery-period-chip span{color:#64748b;font-size:9px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.delivery-period-chip strong{color:#0f172a;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.delivery-table-shell{overflow:hidden;border:1px solid rgba(226,232,240,.95);border-radius:18px;background:#fff;box-shadow:0 18px 46px rgba(15,23,42,.08)}.enterprise-delivery-table{font-size:12px!important}.enterprise-delivery-table thead th{position:sticky;top:0;z-index:3;padding:12px 14px!important;background:#f8fafc!important;color:#475569!important;border-bottom:1px solid #e2e8f0!important;font-size:10px!important;font-weight:900!important;letter-spacing:.07em!important;text-transform:uppercase}.enterprise-delivery-table tbody td{padding:12px 14px!important;border-bottom:1px solid #edf2f7!important;color:#334155;vertical-align:middle!important}.enterprise-delivery-table tbody tr{transition:background .16s ease,transform .16s ease,box-shadow .16s ease}.enterprise-delivery-table tbody tr:hover{background:#f8fbff!important;box-shadow:inset 4px 0 0 #2563eb!important;transform:translateY(-1px)}.delivery-sr span{display:grid;place-items:center;width:28px;height:28px;border-radius:10px;background:#f1f5f9;color:#475569;font-weight:900}.delivery-no-cell strong,.delivery-customer-cell strong,.delivery-meta-stack strong,.delivery-qty strong{display:block;color:#0f172a;font-size:12px;font-weight:900}.delivery-no-cell small,.delivery-customer-cell small,.delivery-meta-stack small,.delivery-qty small{display:block;margin-top:2px;color:#64748b;font-size:10px;font-weight:700}.delivery-customer-cell{display:flex;align-items:center;gap:10px;min-width:260px}.delivery-avatar{display:grid;place-items:center;width:36px;height:36px;min-width:36px;border-radius:12px;background:linear-gradient(135deg,rgba(37,99,235,.12),rgba(6,182,212,.14));color:#2563eb;font-size:11px;font-weight:950}.delivery-qty strong{font-variant-numeric:tabular-nums}.enterprise-delivery-table .sticky-action{position:sticky;right:0;z-index:2;background:linear-gradient(90deg,rgba(255,255,255,.78),#fff 26%)!important}.enterprise-delivery-table thead .sticky-action{z-index:4;background:#f8fafc!important}.delivery-row-actions .btn{min-width:34px}.delivery-row-actions .btn-primary span{margin-left:4px}.delivery-status{display:inline-flex;align-items:center;gap:6px;min-width:102px;justify-content:center;padding:6px 10px;border-radius:999px;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.035em}.delivery-status i{font-size:12px}.delivery-status.delivered{background:#dcfce7;color:#166534}.delivery-status.in_transit{background:#dbeafe;color:#1d4ed8}.delivery-status.dispatched{background:#e0f2fe;color:#0369a1}.delivery-status.cancelled{background:#fee2e2;color:#b91c1c}.delivery-status.draft,.delivery-status.pending{background:#fef3c7;color:#92400e}.enterprise-delivery-view .generic-pager,.enterprise-delivery-view .table-pager{margin-top:0}
@media(max-width:1200px){.enterprise-delivery-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.enterprise-delivery-filters{grid-template-columns:repeat(2,minmax(140px,1fr))}.delivery-period-chip{grid-column:1/-1}}
@media(max-width:720px){.enterprise-delivery-stats{grid-template-columns:1fr 1fr}.enterprise-delivery-filters{grid-template-columns:1fr}.enterprise-delivery-hero{align-items:flex-start;flex-direction:column}.enterprise-delivery-table{min-width:880px}.delivery-row-actions .btn-primary span{display:none}}


/* Bug fix - sidebar collapsed full width + delivery list date helper - 07 Jul 2026 */
@media(min-width:992px){
  body.sidebar-collapsed .portal-sidebar{transform:translateX(-100%)!important;visibility:hidden!important;pointer-events:none!important}
  body.sidebar-collapsed .portal-main{margin-left:0!important;width:100%!important;max-width:100%!important}
  body.sidebar-collapsed .portal-topbar,body.sidebar-collapsed .portal-content{width:100%!important;max-width:none!important}
}

/* Delivery note professional detail view - 08 Jul 2026 */
.delivery-pro-page{--dn-primary:#2563eb;--dn-primary-2:#0891b2;--dn-accent:#16a34a;--dn-ink:#0f172a;--dn-muted:#64748b;--dn-line:#e2e8f0;--dn-soft:#f8fafc;--dn-surface:#fff;background:linear-gradient(180deg,#f6f9fd 0%,#eef3f8 100%)}
.delivery-pro-page .delivery-content{max-width:1540px;padding-top:18px}
.delivery-pro-page .delivery-topbar{height:64px;border-bottom:1px solid rgba(226,232,240,.96);background:rgba(255,255,255,.88);box-shadow:0 12px 34px rgba(15,23,42,.07);backdrop-filter:blur(16px)}
.delivery-pro-page .delivery-topbar-left{gap:12px}
.delivery-pro-page .delivery-app-icon{width:38px;height:38px;border:0;border-radius:12px;color:#fff;background:linear-gradient(135deg,var(--dn-primary),var(--dn-primary-2));box-shadow:0 12px 26px rgba(37,99,235,.22)}
.delivery-pro-page .delivery-topbar-left .small{color:#64748b!important;font-size:10px;font-weight:850;letter-spacing:.08em;text-transform:uppercase}
.delivery-pro-page .delivery-topbar-left h5{color:var(--dn-ink);font-size:15px;font-weight:900;letter-spacing:0}
.delivery-pro-page .delivery-actions{gap:8px}
.delivery-pro-page .btn{border-radius:11px;font-weight:850;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease,background .18s ease}
.delivery-pro-page .btn:hover{transform:translateY(-1px)}
.delivery-pro-page .btn-light,.delivery-pro-page .btn-outline-primary,.delivery-pro-page .btn-outline-success,.delivery-pro-page .btn-outline-danger{background:#fff;box-shadow:0 8px 18px rgba(15,23,42,.04)}
.delivery-pro-page .btn-primary{border:0!important;background:linear-gradient(135deg,var(--dn-primary),var(--dn-primary-2))!important;box-shadow:0 12px 26px rgba(37,99,235,.22)}
.delivery-pro-loading{position:relative;min-height:560px;overflow:hidden;border:1px solid rgba(226,232,240,.9);border-radius:22px;background:linear-gradient(135deg,#fff,#f8fbff);box-shadow:0 24px 70px rgba(15,23,42,.08)}
.delivery-pro-loading:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,transparent,rgba(37,99,235,.08),transparent);animation:deliveryScan 1.7s ease-in-out infinite}
.delivery-pro-loading strong{position:relative;color:var(--dn-ink);font-size:17px;font-weight:900}
.delivery-pro-loading small{position:relative;color:var(--dn-muted);font-size:12px}
.delivery-loader-mark{position:relative;display:grid;place-items:center;width:74px;height:74px;border:1px solid rgba(37,99,235,.16);border-radius:20px;color:#fff;background:linear-gradient(135deg,var(--dn-primary),var(--dn-primary-2));box-shadow:0 24px 46px rgba(37,99,235,.24);animation:deliveryFloat 1.6s ease-in-out infinite}
.delivery-loader-mark i{font-size:28px}
.delivery-loader-mark span{position:absolute;inset:-8px;border:1px solid rgba(37,99,235,.22);border-radius:26px;animation:deliveryPulse 1.55s ease-out infinite}
.delivery-pro-page #deliveryDocument:not(.d-none){display:grid;gap:14px;animation:deliveryFloatIn .36s cubic-bezier(.2,.8,.2,1) both}
.delivery-pro-page .delivery-command-panel{position:relative;overflow:hidden;margin-bottom:0;padding:14px 16px;border:1px solid rgba(226,232,240,.94);border-radius:18px;background:rgba(255,255,255,.92);box-shadow:0 18px 42px rgba(15,23,42,.07);backdrop-filter:blur(12px)}
.delivery-pro-page .delivery-command-panel:before{content:"";position:absolute;inset:0 0 auto;height:3px;background:linear-gradient(90deg,var(--dn-primary),var(--dn-primary-2),var(--dn-accent))}
.delivery-pro-page .delivery-breadcrumbs{display:flex;align-items:center;gap:8px;color:var(--dn-muted);font-size:12px;font-weight:800}
.delivery-pro-page .delivery-breadcrumbs a{color:var(--dn-primary);text-decoration:none}
.delivery-pro-page .delivery-breadcrumbs strong{color:var(--dn-ink)}
.delivery-pro-page .delivery-workflow{display:flex;align-items:center;gap:7px;min-width:0;overflow-x:auto;padding:2px}
.delivery-pro-page .workflow-pill{gap:7px;min-width:auto;height:34px;padding:0 13px;border:1px solid var(--dn-line)!important;border-radius:999px!important;color:#475569;background:#fff;font-size:11px;font-weight:900;box-shadow:0 8px 16px rgba(15,23,42,.04);transition:transform .18s ease,box-shadow .18s ease,background .18s ease,color .18s ease}
.delivery-pro-page .workflow-pill:first-child,.delivery-pro-page .workflow-pill:last-child{border-radius:999px!important}
.delivery-pro-page .workflow-pill i{font-size:13px}
.delivery-pro-page .workflow-pill.done{color:#166534;background:#ecfdf5;border-color:#bbf7d0!important}
.delivery-pro-page .workflow-pill.active{color:#fff;background:linear-gradient(135deg,var(--dn-primary),var(--dn-primary-2));border-color:transparent!important;box-shadow:0 12px 24px rgba(37,99,235,.25)}
.delivery-pro-page .workflow-pill:hover{transform:translateY(-1px);box-shadow:0 12px 24px rgba(15,23,42,.08)}
.delivery-pro-page .delivery-document-head{position:relative;overflow:hidden;align-items:stretch;padding:28px;border:1px solid rgba(226,232,240,.95);border-radius:22px 22px 0 0!important;color:var(--dn-ink);background:linear-gradient(135deg,#fff 0%,#eef7ff 100%)!important;box-shadow:0 24px 60px rgba(15,23,42,.08)}
.delivery-pro-page .delivery-document-head:before{content:"";position:absolute;left:0;right:0;top:0;height:5px;background:linear-gradient(90deg,var(--dn-primary),var(--dn-primary-2),var(--dn-accent))}
.delivery-pro-page .delivery-company{position:relative;z-index:1;align-items:center;gap:16px}
.delivery-pro-page .delivery-company .brand-orb{width:52px!important;height:52px!important;border-radius:16px!important;box-shadow:0 16px 34px rgba(37,99,235,.22)!important}
.delivery-pro-page .record-label{width:max-content;padding:6px 10px;border:1px solid rgba(37,99,235,.16);border-radius:999px;color:var(--dn-primary);background:#fff;font-size:10px;font-weight:950;letter-spacing:.08em;text-transform:uppercase}
.delivery-pro-page .delivery-company h1{margin:1px 0;color:var(--dn-ink);font-size:34px;font-weight:950;letter-spacing:0;line-height:1.04}
.delivery-pro-page .delivery-company strong{color:#334155;font-size:14px;font-weight:850}
.delivery-pro-page .delivery-company small{max-width:620px;color:var(--dn-muted);font-size:12px}
.delivery-pro-page .delivery-title{position:relative;z-index:1;align-self:center;min-width:250px;padding:16px;border:1px solid rgba(226,232,240,.9);border-radius:18px;background:rgba(255,255,255,.82);box-shadow:0 16px 36px rgba(15,23,42,.06);backdrop-filter:blur(10px)}
.delivery-pro-page .delivery-title span{color:var(--dn-muted);font-size:10px;font-weight:950;letter-spacing:.09em}
.delivery-pro-page .delivery-title strong{display:block;min-width:0;min-height:38px;border:0;border-radius:12px;color:var(--dn-primary);background:#eff6ff;font-size:13px;font-weight:950}
.delivery-pro-page .delivery-hero-watermark{position:absolute;right:26px;bottom:-20px;color:rgba(37,99,235,.08);font-size:126px;line-height:1;pointer-events:none}
.delivery-pro-page .delivery-status-bar{overflow:hidden;border:1px solid rgba(226,232,240,.95);border-top:0;border-radius:0 0 22px 22px;background:#fff;box-shadow:0 18px 46px rgba(15,23,42,.07)}
.delivery-pro-page .delivery-status-bar>div{position:relative;min-height:82px;padding:17px 19px;border-right:1px solid var(--dn-line);background:linear-gradient(180deg,#fff,#fbfdff);transition:background .18s ease,transform .18s ease}
.delivery-pro-page .delivery-status-bar>div:before{content:"";position:absolute;left:0;top:18px;bottom:18px;width:3px;border-radius:0 99px 99px 0;background:linear-gradient(180deg,var(--dn-primary),var(--dn-primary-2));opacity:.9}
.delivery-pro-page .delivery-status-bar>div:hover{background:#f8fbff;transform:translateY(-1px)}
.delivery-pro-page .delivery-status-bar span{color:var(--dn-muted);font-size:10px;font-weight:950;letter-spacing:.08em}
.delivery-pro-page .delivery-status-bar strong{color:var(--dn-ink);font-size:18px;font-weight:950}
.delivery-pro-page .delivery-status{min-height:27px;padding:6px 11px;border-radius:999px;font-size:10px;font-weight:950}
.delivery-pro-page .delivery-detail-grid{grid-template-columns:minmax(0,1fr) 340px;gap:16px;margin-top:0}
.delivery-pro-page .delivery-paper,.delivery-pro-page .delivery-side .side-panel{border:1px solid rgba(226,232,240,.95);border-radius:18px;background:#fff;box-shadow:0 18px 46px rgba(15,23,42,.07)}
.delivery-pro-page .delivery-paper{border-radius:22px;transition:box-shadow .18s ease}
.delivery-pro-page .delivery-paper:hover{box-shadow:0 24px 58px rgba(15,23,42,.09)}
.delivery-pro-page .delivery-section-title{padding:14px 18px;border-color:var(--dn-line);background:linear-gradient(135deg,#fff,#f8fbff);color:#334155;font-size:10px;font-weight:950;letter-spacing:.08em}
.delivery-pro-page .delivery-section-title i{display:grid;place-items:center;width:26px;height:26px;border-radius:9px;color:var(--dn-primary);background:#eff6ff}
.delivery-pro-page .delivery-section-title #itemCount{padding:5px 9px;border:1px solid #dbeafe;border-radius:999px;color:var(--dn-primary);background:#eff6ff}
.delivery-pro-page .delivery-info-grid{gap:0;background:var(--dn-line)}
.delivery-pro-page .delivery-info-grid>div{min-height:88px;padding:15px 16px;background:#fff;transition:background .18s ease,box-shadow .18s ease}
.delivery-pro-page .delivery-info-grid>div:hover{z-index:1;background:#fbfdff;box-shadow:inset 4px 0 0 rgba(37,99,235,.78)}
.delivery-pro-page .delivery-info-grid span{color:var(--dn-muted);font-size:10px;font-weight:900}
.delivery-pro-page .delivery-info-grid span i{color:var(--dn-primary)}
.delivery-pro-page .delivery-info-grid strong{color:var(--dn-ink);font-size:13px;font-weight:850}
.delivery-pro-page .delivery-items{min-width:900px;font-size:12px}
.delivery-pro-page .delivery-items thead th{position:sticky;top:0;z-index:1;padding:12px 10px;border-color:var(--dn-line);background:#f8fafc;color:#475569;font-size:10px;font-weight:950;letter-spacing:.07em}
.delivery-pro-page .delivery-items tbody td{padding:11px 10px;border-color:#edf2f7;color:#334155}
.delivery-pro-page .delivery-items tbody tr{transition:background .16s ease,box-shadow .16s ease,transform .16s ease}
.delivery-pro-page .delivery-items tbody tr:hover{background:#f8fbff;box-shadow:inset 4px 0 0 var(--dn-primary);transform:translateY(-1px)}
.delivery-pro-page .delivery-items td:nth-child(2) strong{color:var(--dn-ink);font-weight:950}
.delivery-pro-page .delivery-items td:nth-child(2) small{color:var(--dn-muted)}
.delivery-pro-page .delivery-notes{padding:18px;background:linear-gradient(135deg,#fff,#fbfdff)}
.delivery-pro-page .delivery-notes strong{color:var(--dn-primary);font-weight:950}
.delivery-pro-page .delivery-notes p{color:#475569;font-size:12px;line-height:1.65}
.delivery-pro-page .delivery-side{gap:16px}
.delivery-pro-page .delivery-side .side-panel{overflow:hidden;padding:16px;transition:transform .18s ease,box-shadow .18s ease}
.delivery-pro-page .delivery-side .side-panel:hover{transform:translateY(-2px);box-shadow:0 24px 52px rgba(15,23,42,.09)}
.delivery-pro-page .side-panel-head{padding-bottom:12px;border-bottom:1px solid var(--dn-line)}
.delivery-pro-page .side-panel-head h4{color:var(--dn-ink);font-size:15px;font-weight:950}
.delivery-pro-page .side-panel-head i{display:grid;place-items:center;width:32px;height:32px;border-radius:10px;color:var(--dn-primary);background:#eff6ff}
.delivery-pro-page .session-list div{padding:11px 0;border-color:#edf2f7}
.delivery-pro-page .session-list dt{color:var(--dn-muted);font-weight:950}
.delivery-pro-page .session-list dd{color:var(--dn-ink);font-weight:850}
.delivery-pro-page .delivery-timeline>div{padding-bottom:18px}
.delivery-pro-page .delivery-timeline>div:not(:last-child):before{left:6px;background:#dbeafe}
.delivery-pro-page .timeline-dot{width:13px;height:13px;background:linear-gradient(135deg,var(--dn-primary),var(--dn-primary-2));box-shadow:0 0 0 4px #eff6ff}
.delivery-pro-page .delivery-timeline section{padding:0 0 0 2px}
.delivery-pro-page .delivery-timeline strong{color:var(--dn-ink);font-size:12px;font-weight:950}
.delivery-pro-page .delivery-timeline p{color:#475569;font-size:11px}
.delivery-pro-page .delivery-timeline small{color:var(--dn-muted);font-size:10px}
.delivery-pro-page .mini-empty{border-color:#dbeafe;color:var(--dn-muted);background:#f8fbff}
@keyframes deliveryFloatIn{from{opacity:0;transform:translateY(14px) scale(.99)}to{opacity:1;transform:none}}
@keyframes deliveryFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-6px)}}
@keyframes deliveryPulse{to{opacity:0;transform:scale(1.24)}}
@keyframes deliveryScan{0%{transform:translateX(-100%)}100%{transform:translateX(100%)}}
@media(max-width:1180px){.delivery-pro-page .delivery-detail-grid{grid-template-columns:1fr}.delivery-pro-page .delivery-side{grid-template-columns:1fr 1fr}.delivery-pro-page .delivery-command-panel{align-items:flex-start;flex-direction:column}.delivery-pro-page .delivery-workflow{width:100%}}
@media(max-width:760px){.delivery-pro-page .delivery-content{padding:14px}.delivery-pro-page .delivery-topbar{height:auto;min-height:64px;padding:10px 12px}.delivery-pro-page .delivery-actions{width:100%;justify-content:flex-end}.delivery-pro-page .delivery-document-head{padding:20px;flex-direction:column}.delivery-pro-page .delivery-company h1{font-size:28px}.delivery-pro-page .delivery-title{width:100%;min-width:0}.delivery-pro-page .delivery-status-bar,.delivery-pro-page .delivery-info-grid,.delivery-pro-page .delivery-side{grid-template-columns:1fr}.delivery-pro-page .delivery-status-bar>div{border-right:0;border-bottom:1px solid var(--dn-line)}.delivery-pro-page .delivery-status-bar>div:last-child{border-bottom:0}.delivery-pro-page .workflow-pill{height:32px;padding:0 11px}.delivery-pro-page .delivery-items{min-width:840px}}
@media print{.delivery-pro-page{background:#fff!important}.delivery-pro-page .delivery-loader-mark,.delivery-pro-page .delivery-hero-watermark{display:none!important}}

/* Customer module professional workspace - 08 Jul 2026 */
.customer-module-pro{--cm-primary:#2563eb;--cm-cyan:#0891b2;--cm-green:#16a34a;--cm-amber:#d97706;--cm-purple:#7c3aed;--cm-red:#dc2626;--cm-ink:#0f172a;--cm-muted:#64748b;--cm-line:#e2e8f0;--cm-soft:#f8fafc;--cm-surface:#fff;overflow:hidden;border:1px solid rgba(226,232,240,.94);border-radius:8px;background:linear-gradient(180deg,#f8fbff 0%,#eef4fb 100%);box-shadow:0 18px 46px rgba(15,23,42,.07);animation:customerEnter .34s cubic-bezier(.2,.8,.2,1) both}
.customer-module-pro .customer-toolbar,.customer-module-pro .customer-profile-head{position:relative;overflow:hidden;align-items:center;min-height:108px;padding:20px 22px;border-bottom:1px solid rgba(226,232,240,.9);background:linear-gradient(135deg,#fff 0%,#eef7ff 100%)}
.customer-module-pro .customer-toolbar:before,.customer-module-pro .customer-profile-head:before{content:"";position:absolute;left:0;right:0;top:0;height:4px;background:linear-gradient(90deg,var(--cm-primary),var(--cm-cyan),var(--cm-green))}
.customer-module-pro .customer-toolbar:after,.customer-module-pro .customer-profile-head:after{content:"";position:absolute;right:-62px;top:-82px;width:210px;height:210px;border:1px solid rgba(37,99,235,.1);border-radius:50%;box-shadow:0 0 0 42px rgba(8,145,178,.06),0 0 0 84px rgba(22,163,74,.04);pointer-events:none}
.customer-module-pro .customer-toolbar>div,.customer-module-pro .customer-profile-head>*{position:relative;z-index:1}
.customer-module-pro .section-kicker{color:var(--cm-primary);font-size:10px;font-weight:950;letter-spacing:.1em}
.customer-module-pro .customer-toolbar h3,.customer-module-pro .customer-profile-head h3{margin:3px 0;color:var(--cm-ink);font-size:22px;font-weight:950;letter-spacing:0}
.customer-module-pro .customer-toolbar p,.customer-module-pro .customer-profile-head small{max-width:760px;color:var(--cm-muted);font-size:12px;line-height:1.55}
.customer-module-pro .customer-toolbar-actions{gap:9px}
.customer-module-pro .btn,.customer-module-pro .form-select{border-radius:8px;font-weight:850;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease,background .18s ease}
.customer-module-pro .btn:hover{transform:translateY(-1px)}
.customer-module-pro .btn-primary{background:linear-gradient(135deg,var(--cm-primary),var(--cm-cyan));box-shadow:0 12px 24px rgba(37,99,235,.22)}
.customer-list-status{display:flex;align-items:center;gap:8px;margin:14px 14px 0;padding:10px 12px;border:1px solid rgba(226,232,240,.95);border-radius:8px;background:rgba(255,255,255,.86);box-shadow:0 10px 24px rgba(15,23,42,.04);animation:customerSlideUp .36s ease both}
.customer-list-status span{display:flex;align-items:center;gap:7px;color:#475569;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.06em}
.customer-list-status i{color:var(--cm-primary)}
.customer-list-status strong{margin-left:auto;color:var(--cm-ink);font-size:18px;font-weight:950}
.customer-list-status small{color:var(--cm-muted);font-size:11px;font-weight:800}
.customer-module-pro .customer-kpi-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:14px;background:transparent;border:0}
.customer-module-pro .customer-kpi{position:relative;overflow:hidden;grid-template-columns:42px minmax(0,1fr);gap:3px 11px;min-width:0;padding:15px 16px;border:1px solid rgba(226,232,240,.94);border-radius:8px;background:#fff;box-shadow:0 14px 32px rgba(15,23,42,.06);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;animation:customerSlideUp .36s ease both}
.customer-module-pro .customer-kpi:nth-child(2){animation-delay:.04s}.customer-module-pro .customer-kpi:nth-child(3){animation-delay:.08s}.customer-module-pro .customer-kpi:nth-child(4){animation-delay:.12s}
.customer-module-pro .customer-kpi:before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:var(--cm-primary)}
.customer-module-pro .customer-kpi:hover{transform:translateY(-2px);border-color:#cbd5e1;box-shadow:0 18px 42px rgba(15,23,42,.09)}
.customer-module-pro .customer-kpi i{width:40px;height:40px;border-radius:8px;font-size:17px}
.customer-module-pro .customer-kpi span{color:var(--cm-muted);font-size:10px;font-weight:950;letter-spacing:.07em}
.customer-module-pro .customer-kpi strong{min-width:0;overflow:hidden;color:var(--cm-ink);font-size:23px;font-weight:950;letter-spacing:0;text-overflow:ellipsis;white-space:nowrap}
.customer-module-pro .customer-kpi.blue:before{background:var(--cm-primary)}.customer-module-pro .customer-kpi.green:before{background:var(--cm-green)}.customer-module-pro .customer-kpi.orange:before{background:var(--cm-amber)}.customer-module-pro .customer-kpi.purple:before{background:var(--cm-purple)}
.customer-module-pro .customer-table-wrap{margin:0 14px 14px;overflow-x:auto;border:1px solid rgba(226,232,240,.96);border-radius:8px;background:#fff;box-shadow:0 18px 42px rgba(15,23,42,.07)}
.customer-module-pro .customer-table{width:100%;min-width:0;table-layout:fixed;font-size:12px}
.customer-module-pro .customer-table thead th{position:sticky;top:0;z-index:2;padding:12px 13px!important;border-bottom:1px solid var(--cm-line)!important;background:#f8fafc!important;color:#475569!important;font-size:10px!important;font-weight:950!important;letter-spacing:.06em!important}
.customer-module-pro .customer-table tbody tr{cursor:pointer;animation:customerRowIn .28s ease both;transition:background .16s ease,box-shadow .16s ease,transform .16s ease}
.customer-module-pro .customer-table tbody tr:hover{background:#f8fbff!important;box-shadow:inset 4px 0 0 var(--cm-primary);transform:translateY(-1px)}
.customer-module-pro .customer-table tbody td{padding:12px 13px!important;border-color:#edf2f7!important;color:#334155;vertical-align:middle}
.customer-module-pro .customer-table th:nth-child(1),.customer-module-pro .customer-table td:nth-child(1){width:28%}
.customer-module-pro .customer-table th:nth-child(2),.customer-module-pro .customer-table td:nth-child(2){width:20%}
.customer-module-pro .customer-table th:nth-child(3),.customer-module-pro .customer-table td:nth-child(3){width:15%}
.customer-module-pro .customer-table th:nth-child(4),.customer-module-pro .customer-table td:nth-child(4),.customer-module-pro .customer-table th:nth-child(5),.customer-module-pro .customer-table td:nth-child(5){width:10%}
.customer-module-pro .customer-table th:nth-child(6),.customer-module-pro .customer-table td:nth-child(6){width:10%}
.customer-module-pro .customer-table th:nth-child(7),.customer-module-pro .customer-table td:nth-child(7){width:92px}
.customer-module-pro .customer-cell{min-width:0;gap:10px}
.customer-module-pro .customer-cell strong{color:var(--cm-ink);font-size:12px;font-weight:950}
.customer-module-pro .customer-cell small,.customer-module-pro .customer-contact{color:var(--cm-muted);font-size:10px;font-weight:750}
.customer-module-pro .customer-avatar{width:38px;height:38px;border-radius:8px;background:linear-gradient(135deg,var(--cm-primary),var(--cm-cyan));box-shadow:0 10px 22px rgba(37,99,235,.18)}
.customer-module-pro .customer-avatar.large{width:58px;height:58px;border-radius:8px;font-size:16px}
.customer-module-pro .customer-contact span{gap:7px;min-width:0}
.customer-module-pro .status-badge{border-radius:999px;padding:5px 9px;font-size:10px;font-weight:950;text-transform:uppercase;letter-spacing:.035em}
.customer-module-pro .sticky-action{background:linear-gradient(90deg,rgba(255,255,255,.78),#fff 28%)!important}
.customer-module-pro thead .sticky-action{background:#f8fafc!important}
.customer-module-pro .customer-table .btn{width:31px;height:31px;border-radius:8px}
.customer-module-pro .customer-pager{margin:0 14px 14px;padding:12px 14px;border:1px solid rgba(226,232,240,.94);border-radius:8px;background:rgba(255,255,255,.9);color:var(--cm-muted);font-size:11px;font-weight:850}
.customer-module-pro .customer-profile-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding:14px;background:transparent}
.customer-module-pro .customer-panel{border:1px solid rgba(226,232,240,.95);border-radius:8px;background:#fff;box-shadow:0 14px 34px rgba(15,23,42,.06);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;animation:customerSlideUp .34s ease both}
.customer-module-pro .customer-panel:hover{transform:translateY(-2px);border-color:#cbd5e1;box-shadow:0 18px 42px rgba(15,23,42,.09)}
.customer-module-pro .customer-panel h4{color:var(--cm-ink);font-size:13px;font-weight:950}
.customer-module-pro .customer-action-panel,.customer-module-pro .customer-full-record{padding:14px;background:transparent}
.customer-module-pro .customer-action-panel>header{padding:0 2px}
.customer-module-pro .customer-action-card{border-color:rgba(226,232,240,.95);border-radius:8px;box-shadow:0 10px 24px rgba(15,23,42,.04);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease,background .18s ease}
.customer-module-pro .customer-action-card:hover{transform:translateY(-2px);border-color:#bfdbfe;background:#f8fbff;box-shadow:0 16px 34px rgba(37,99,235,.1)}
.customer-module-pro .customer-field-grid{border-color:rgba(226,232,240,.95);border-radius:8px;background:var(--cm-line)}
.customer-module-pro .customer-field-item{transition:background .16s ease,box-shadow .16s ease}
.customer-module-pro .customer-field-item:hover{z-index:1;background:#fbfdff;box-shadow:inset 3px 0 0 var(--cm-primary)}
@keyframes customerEnter{from{opacity:0;transform:translateY(10px) scale(.995)}to{opacity:1;transform:none}}
@keyframes customerSlideUp{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
@keyframes customerRowIn{from{opacity:0;transform:translateX(8px)}to{opacity:1;transform:none}}
@media(max-width:1200px){.customer-module-pro .customer-kpi-grid,.customer-module-pro .customer-profile-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.customer-module-pro .customer-table th:nth-child(4),.customer-module-pro .customer-table td:nth-child(4),.customer-module-pro .customer-table th:nth-child(5),.customer-module-pro .customer-table td:nth-child(5){width:11%}}
@media(max-width:900px){.customer-module-pro .customer-toolbar,.customer-module-pro .customer-profile-head{align-items:flex-start;flex-direction:column}.customer-module-pro .customer-toolbar-actions{width:100%}.customer-module-pro .customer-toolbar-actions .btn,.customer-module-pro .customer-toolbar-actions .form-select{width:100%}.customer-module-pro .customer-table{min-width:760px}}
@media(max-width:760px){.customer-module-pro{border-radius:8px}.customer-list-status{align-items:flex-start;flex-wrap:wrap}.customer-list-status strong{margin-left:0}.customer-module-pro .customer-kpi-grid,.customer-module-pro .customer-profile-grid{grid-template-columns:1fr}.customer-module-pro .customer-table-wrap{overflow:visible;border:0;background:transparent;box-shadow:none}.customer-module-pro .customer-table{display:block;min-width:0}.customer-module-pro .customer-table thead{display:none}.customer-module-pro .customer-table tbody{display:grid;gap:10px;padding:0;background:transparent}.customer-module-pro .customer-table tbody tr{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;padding:12px;border:1px solid rgba(226,232,240,.95);border-radius:8px;background:#fff;box-shadow:0 12px 28px rgba(15,23,42,.06)}.customer-module-pro .customer-table tbody td{display:grid!important;grid-template-columns:96px minmax(0,1fr);align-items:center;gap:10px;max-width:none!important;width:auto!important;padding:0!important;border:0!important;text-align:left!important;white-space:normal!important;overflow:visible!important}.customer-module-pro .customer-table tbody td:before{content:attr(data-label);color:var(--cm-muted);font-size:10px;font-weight:950;text-transform:uppercase;letter-spacing:.06em}.customer-module-pro .customer-table tbody td:first-child{display:block!important}.customer-module-pro .customer-table tbody td:first-child:before{display:none}.customer-module-pro .customer-table tbody td:last-child{justify-items:end}.customer-module-pro .customer-table tbody td:last-child:before{justify-self:start}.customer-module-pro .customer-table .sticky-action{position:static;background:transparent!important}.customer-module-pro .customer-cell small,.customer-module-pro .customer-contact span{white-space:normal}.customer-module-pro .customer-pager{align-items:stretch;flex-direction:column}.customer-module-pro .customer-pager .btn-group,.customer-module-pro .customer-pager .btn{width:100%}}
@media(max-width:430px){.customer-module-pro .customer-table tbody td{grid-template-columns:1fr}.customer-module-pro .customer-action-grid{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.customer-module-pro,.customer-module-pro *{animation:none!important;transition:none!important}}

/* Customer module reshape - 08 Jul 2026 */
.customer-module-pro{background:#f4f7fb!important}
.customer-module-pro .customer-toolbar,.customer-module-pro .customer-profile-head{display:flex;justify-content:space-between;gap:14px;min-height:72px;padding:14px 16px!important;background:#fff!important}
.customer-module-pro .customer-toolbar:after,.customer-module-pro .customer-profile-head:after{display:none}
.customer-module-pro .customer-toolbar-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px}
.customer-module-pro .customer-table-wrap{margin:0 10px 10px!important;overflow:auto!important;border-radius:6px!important}
.customer-module-pro .customer-table{width:100%!important;min-width:0!important;table-layout:fixed!important}
.customer-module-pro .customer-table thead th{padding:9px 8px!important}
.customer-module-pro .customer-table tbody td{max-width:none!important;padding:8px!important}
.customer-module-pro .customer-table th:nth-child(1),.customer-module-pro .customer-table td:nth-child(1){width:27%!important}
.customer-module-pro .customer-table th:nth-child(2),.customer-module-pro .customer-table td:nth-child(2){width:19%!important}
.customer-module-pro .customer-table th:nth-child(3),.customer-module-pro .customer-table td:nth-child(3){width:15%!important}
.customer-module-pro .customer-table th:nth-child(4),.customer-module-pro .customer-table td:nth-child(4),.customer-module-pro .customer-table th:nth-child(5),.customer-module-pro .customer-table td:nth-child(5){width:10%!important}
.customer-module-pro .customer-table th:nth-child(6),.customer-module-pro .customer-table td:nth-child(6){width:10%!important}
.customer-module-pro .customer-table th:nth-child(7),.customer-module-pro .customer-table td:nth-child(7){width:86px!important}
.customer-module-pro .customer-cell{display:flex;align-items:center;min-width:0}
.customer-module-pro .customer-cell>span:last-child{display:grid;min-width:0}
.customer-module-pro .customer-cell strong,.customer-module-pro .customer-cell small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.customer-module-pro .customer-contact{display:grid;gap:3px;min-width:0}
.customer-module-pro .customer-contact span{display:flex;align-items:center;gap:5px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.customer-module-pro .customer-contact.nowrap,.customer-module-pro .customer-contact.nowrap span{white-space:nowrap!important}
.customer-module-pro .customer-contact i{display:grid;place-items:center;width:16px;min-width:16px;height:16px;border-radius:4px;color:#2563eb;background:#eaf2ff;font-size:9px}
.customer-module-pro .customer-contact.tax i{color:#168760;background:#e7f7f0}
.customer-module-pro .customer-table tbody tr:nth-child(odd){background:#fff}
.customer-module-pro .customer-table tbody tr:nth-child(even){background:#fbfdff}
.customer-module-pro .customer-table tbody tr{animation:customerRowIn .24s ease both}
.customer-module-pro .customer-profile-head .icon-only{width:34px;min-width:34px;padding:0}
.customer-module-pro .customer-profile-head .icon-only span{display:none}
.customer-module-pro .customer-action-panel{order:1;padding:10px!important}
.customer-module-pro .customer-action-panel>header{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}
.customer-module-pro .customer-action-grid{display:grid!important;grid-template-columns:repeat(6,minmax(86px,1fr))!important;gap:6px!important}
.customer-module-pro .customer-action-card{display:flex!important;align-items:center;justify-content:center;gap:5px;min-height:34px;padding:6px 7px!important;border-radius:6px!important;text-align:center}
.customer-module-pro .customer-action-card>span{display:grid!important;place-items:center;width:20px!important;height:20px!important;min-width:20px!important;border-radius:5px!important}
.customer-module-pro .customer-action-card>span i{font-size:11px!important;line-height:1}
.customer-module-pro .customer-action-card strong{font-size:10px!important;line-height:1.1;white-space:nowrap}
.customer-module-pro .customer-action-card>i,.customer-module-pro .customer-action-card small{display:none!important}
.customer-module-pro .customer-profile-grid.pro{order:2;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:0 10px 10px!important}
.customer-module-pro .customer-profile-grid.pro .customer-panel.wide{grid-column:span 2}
.customer-module-pro .customer-panel{padding:12px!important;border-radius:6px!important}
.customer-module-pro .customer-panel h4{display:flex;align-items:center;gap:7px;margin:0 0 10px!important;font-size:12px!important}
.customer-module-pro .customer-panel h4 i{display:grid;place-items:center;width:24px;height:24px;border-radius:5px;color:#2563eb;background:#eaf2ff;font-size:12px}
.customer-detail-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px 10px;margin:0}
.customer-detail-list div{display:grid;min-width:0;padding:7px 8px;border:1px solid #edf2f7;border-radius:5px;background:#fbfdff}
.customer-detail-list dt{display:flex;align-items:center;gap:5px;min-width:0;margin:0;color:#64748b;font-size:8px;font-weight:900;letter-spacing:.05em;text-transform:uppercase;white-space:nowrap}
.customer-detail-list dt i{color:#94a3b8;font-size:9px}
.customer-detail-list dd{min-width:0;margin:2px 0 0;overflow:hidden;color:#0f172a;font-size:11px;font-weight:800;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:1180px){.customer-module-pro .customer-profile-grid.pro{grid-template-columns:repeat(2,minmax(0,1fr))}.customer-module-pro .customer-action-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}.customer-module-pro .customer-table{min-width:850px!important}}
@media(max-width:760px){.customer-module-pro .customer-toolbar,.customer-module-pro .customer-profile-head{align-items:flex-start;flex-direction:row!important}.customer-module-pro .customer-toolbar-actions{width:auto!important}.customer-module-pro .customer-toolbar-actions .btn,.customer-module-pro .customer-toolbar-actions .form-select{width:auto!important}.customer-module-pro .customer-table-wrap{overflow:visible!important}.customer-module-pro .customer-table{min-width:0!important}.customer-module-pro .customer-table tbody td{white-space:normal!important}.customer-module-pro .customer-contact.nowrap span{white-space:nowrap!important}.customer-module-pro .customer-action-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.customer-module-pro .customer-action-card{min-height:38px!important}.customer-module-pro .customer-action-card>span{width:22px!important;height:22px!important;min-width:22px!important}.customer-module-pro .customer-action-card>span i{font-size:12px!important}.customer-module-pro .customer-profile-grid.pro,.customer-module-pro .customer-profile-grid.pro .customer-panel.wide{grid-template-columns:1fr;grid-column:auto}.customer-detail-list{grid-template-columns:1fr}}
@media(max-width:430px){.customer-module-pro .customer-profile-head{align-items:stretch;flex-direction:column!important}.customer-module-pro .customer-action-grid{grid-template-columns:1fr!important}}

/* Vendor profile professional workspace */
.vendor-profile-pro{background:#f3f6fa!important}
.vendor-profile-pro .vendor-profile-hero{display:grid!important;grid-template-columns:auto minmax(0,1fr) auto;align-items:start;gap:14px;min-height:0!important;padding:16px!important;border-bottom:0!important;background:linear-gradient(135deg,#101827 0%,#20334f 52%,#31505d 100%)!important;color:#fff!important}
.vendor-profile-pro .vendor-profile-hero:before{display:none!important}
.vendor-profile-pro .vendor-back-btn{grid-row:1/3;background:rgba(255,255,255,.12)!important;border-color:rgba(255,255,255,.2)!important;color:#fff!important}
.vendor-hero-identity{display:flex;align-items:flex-start;gap:14px;min-width:0}
.vendor-profile-pro .vendor-avatar{width:64px!important;height:64px!important;border:1px solid rgba(255,255,255,.24)!important;border-radius:14px!important;background:linear-gradient(135deg,#0ea5e9,#22c55e)!important;box-shadow:0 18px 36px rgba(0,0,0,.24)!important}
.vendor-hero-identity>div{display:grid;gap:5px;min-width:0}
.vendor-profile-pro .vendor-profile-hero .section-kicker{color:#bae6fd!important}
.vendor-profile-pro .vendor-profile-hero h3{margin:0!important;color:#fff!important;font-size:25px!important;line-height:1.12!important}
.vendor-hero-identity p{max-width:820px;margin:0;color:#d9e7f4;font-size:12px;font-weight:700;line-height:1.45}
.vendor-hero-tags{display:flex;flex-wrap:wrap;gap:7px;margin-top:4px}
.vendor-hero-tags span{display:inline-flex;align-items:center;gap:6px;min-height:26px;padding:4px 8px;border:1px solid rgba(255,255,255,.18);border-radius:999px;background:rgba(255,255,255,.1);color:#eef7ff;font-size:10px;font-weight:850}
.vendor-hero-tags i{color:#8be3ff}
.vendor-hero-actions{display:flex;justify-content:flex-end}
.vendor-hero-actions .btn{background:#fff!important;border-color:#fff!important;color:#172033!important;box-shadow:0 14px 28px rgba(0,0,0,.18)!important}
.vendor-hero-metrics{grid-column:2/4;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.vendor-hero-metrics article{display:grid;gap:3px;min-width:0;padding:10px 12px;border:1px solid rgba(255,255,255,.16);border-radius:8px;background:rgba(255,255,255,.1);backdrop-filter:blur(8px)}
.vendor-hero-metrics span{color:#b9c9d8;font-size:9px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}
.vendor-hero-metrics strong{overflow:hidden;color:#fff;font-size:15px;font-weight:950;text-overflow:ellipsis;white-space:nowrap}
.vendor-profile-pro .customer-action-panel{padding:12px 14px!important;background:#f3f6fa!important}
.vendor-profile-pro .customer-action-panel>header{margin-bottom:10px!important;padding:0!important}
.vendor-profile-pro .customer-action-panel h4{font-size:15px!important;font-weight:950}
.vendor-profile-pro .customer-action-grid{grid-template-columns:repeat(auto-fit,minmax(132px,1fr))!important;gap:9px!important}
.vendor-profile-pro .customer-action-card{justify-content:flex-start!important;min-height:54px!important;padding:10px 12px!important;border-radius:8px!important;background:#fff!important;text-align:left!important}
.vendor-profile-pro .customer-action-card>span{width:34px!important;height:34px!important;min-width:34px!important;border-radius:8px!important}
.vendor-profile-pro .customer-action-card>span i{font-size:15px!important}
.vendor-profile-pro .customer-action-card strong{font-size:12px!important;white-space:normal!important}
.vendor-profile-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:12px;padding:0 14px 14px}
.vendor-profile-main{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;min-width:0}
.vendor-profile-aside{display:grid;align-content:start;gap:12px;min-width:0}
.vendor-profile-pro .customer-panel{border-color:#dde6f0!important;border-radius:8px!important;box-shadow:0 14px 34px rgba(15,23,42,.06)!important}
.vendor-profile-pro .customer-panel.wide{grid-column:auto!important}
.vendor-profile-pro .vendor-primary-panel{min-height:214px}
.vendor-profile-pro .vendor-notes-panel{grid-column:1/-1}
.vendor-profile-pro .customer-panel h4{font-size:13px!important}
.vendor-profile-pro .customer-panel h4 i{color:#0369a1!important;background:#e0f2fe!important}
.vendor-profile-pro .customer-detail-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.vendor-profile-pro .customer-detail-list div{min-height:54px;border-color:#e6edf5;background:#fbfdff}
.vendor-profile-pro .customer-detail-list dd{font-size:12px!important}
.vendor-profile-pro .vendor-notes-panel .customer-detail-list{grid-template-columns:repeat(4,minmax(0,1fr))}
.vendor-profile-pro .vendor-notes-panel .customer-detail-list div:first-child{grid-column:span 2}
.vendor-profile-pro .vendor-notes-panel .customer-detail-list div:first-child dd{white-space:normal}
@media(min-width:1181px){.vendor-profile-pro{border-radius:10px!important;background:linear-gradient(180deg,#eef4fb 0%,#f7fafc 100%)!important}.vendor-profile-pro .vendor-profile-hero{grid-template-columns:auto minmax(0,1fr) minmax(210px,auto)!important;gap:22px!important;padding:28px 30px 22px!important;border-radius:10px 10px 0 0!important;background:linear-gradient(135deg,#0f172a 0%,#1d3557 48%,#0f766e 100%)!important}.vendor-profile-pro .vendor-back-btn{width:42px!important;min-width:42px!important;height:42px!important;border-radius:10px!important}.vendor-profile-pro .vendor-back-btn i{font-size:18px!important}.vendor-hero-identity{gap:20px}.vendor-profile-pro .vendor-avatar{width:86px!important;height:86px!important;border-radius:18px!important;font-size:24px!important}.vendor-profile-pro .vendor-profile-hero .section-kicker{font-size:11px!important}.vendor-profile-pro .vendor-profile-hero h3{font-size:34px!important}.vendor-hero-identity p{max-width:920px;font-size:14px}.vendor-hero-tags{gap:9px;margin-top:8px}.vendor-hero-tags span{min-height:31px;padding:5px 11px;font-size:11px}.vendor-hero-tags i{font-size:14px}.vendor-hero-actions .btn{min-height:40px;padding:8px 14px!important;font-size:12px}.vendor-hero-metrics{grid-column:2/4;grid-template-columns:repeat(3,minmax(150px,1fr));gap:10px;margin-top:2px}.vendor-hero-metrics article{padding:13px 15px;border-radius:10px}.vendor-hero-metrics span{font-size:10px}.vendor-hero-metrics strong{font-size:18px}.vendor-profile-pro .customer-action-panel{padding:16px 22px!important}.vendor-profile-pro .customer-action-grid{grid-template-columns:repeat(auto-fit,minmax(168px,1fr))!important;gap:11px!important}.vendor-profile-pro .customer-action-card{min-height:66px!important;padding:13px 15px!important;border-radius:10px!important}.vendor-profile-pro .customer-action-card>span{width:42px!important;height:42px!important;min-width:42px!important;border-radius:10px!important}.vendor-profile-pro .customer-action-card>span i{font-size:18px!important}.vendor-profile-pro .customer-action-card strong{font-size:13px!important}.vendor-profile-layout{grid-template-columns:minmax(0,1fr) 380px;gap:16px;padding:0 22px 22px}.vendor-profile-main{gap:16px}.vendor-profile-aside{gap:16px}.vendor-profile-pro .customer-panel{border-radius:10px!important;box-shadow:0 18px 44px rgba(15,23,42,.07)!important}.vendor-profile-pro .customer-panel h4{font-size:14px!important}.vendor-profile-pro .customer-panel h4 i{width:30px!important;height:30px!important;font-size:15px!important}.vendor-profile-pro .customer-detail-list{gap:10px}.vendor-profile-pro .customer-detail-list div{min-height:66px;padding:10px 12px;border-radius:8px}.vendor-profile-pro .customer-detail-list dt{font-size:9px}.vendor-profile-pro .customer-detail-list dt i{font-size:12px}.vendor-profile-pro .customer-detail-list dd{font-size:13px!important}}
@media(min-width:1500px){.vendor-profile-pro .vendor-profile-hero{padding:32px 36px 24px!important}.vendor-profile-layout{grid-template-columns:minmax(0,1fr) 420px;gap:18px;padding:0 26px 26px}.vendor-profile-main{grid-template-columns:1.1fr .9fr;gap:18px}.vendor-profile-pro .vendor-primary-panel{min-height:240px}.vendor-profile-pro .customer-action-grid{grid-template-columns:repeat(auto-fit,minmax(185px,1fr))!important}}
@media(max-width:1180px){.vendor-profile-layout{grid-template-columns:1fr}.vendor-profile-aside{grid-template-columns:repeat(2,minmax(0,1fr))}.vendor-hero-metrics{grid-column:1/-1}.vendor-profile-pro .vendor-back-btn{grid-row:auto}}
@media(max-width:760px){.vendor-profile-pro .vendor-profile-hero{grid-template-columns:1fr!important}.vendor-hero-identity{align-items:center}.vendor-hero-actions{justify-content:flex-start}.vendor-hero-metrics{grid-template-columns:1fr}.vendor-profile-main,.vendor-profile-aside{grid-template-columns:1fr}.vendor-profile-layout{padding:0 10px 10px}.vendor-profile-pro .vendor-notes-panel .customer-detail-list,.vendor-profile-pro .customer-detail-list{grid-template-columns:1fr}.vendor-profile-pro .vendor-notes-panel .customer-detail-list div:first-child{grid-column:auto}}

/* Customer transactions workspace */
.transactions-workspace{overflow:hidden;border:1px solid rgba(226,232,240,.94);border-radius:8px;background:#f4f7fb;box-shadow:0 14px 34px rgba(15,23,42,.06);animation:customerEnter .32s cubic-bezier(.2,.8,.2,1) both}
.transactions-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 16px;border-bottom:1px solid #e2e8f0;background:#fff}
.transactions-toolbar h3{margin:2px 0;color:#0f172a;font-size:18px;font-weight:900}
.transactions-toolbar p{margin:0;color:#64748b;font-size:11px;font-weight:700}
.transactions-toolbar-actions{display:flex;align-items:center;gap:8px}
.transactions-kpi-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;padding:12px}
.transactions-table-wrap{margin:0 12px 12px;border:1px solid #e2e8f0;border-radius:7px;background:#fff;box-shadow:0 10px 24px rgba(15,23,42,.04)}
.transactions-table{table-layout:fixed;width:100%;min-width:920px;font-size:11px}
.transactions-table th,.transactions-table td{vertical-align:middle!important}
.transactions-table th:nth-child(1),.transactions-table td:nth-child(1){width:118px}
.transactions-table th:nth-child(2),.transactions-table td:nth-child(2){width:210px}
.transactions-table th:nth-child(3),.transactions-table td:nth-child(3){width:auto}
.transactions-table th:nth-child(4),.transactions-table td:nth-child(4){width:150px}
.transactions-table th:nth-child(5),.transactions-table td:nth-child(5),.transactions-table th:nth-child(6),.transactions-table td:nth-child(6),.transactions-table th:nth-child(7),.transactions-table td:nth-child(7){width:105px}
.transaction-date,.transaction-title{display:grid;min-width:0}
.transaction-date strong,.transaction-title strong{overflow:hidden;color:#0f172a;font-size:11px;font-weight:900;text-overflow:ellipsis;white-space:nowrap}
.transaction-date small,.transaction-title small{overflow:hidden;color:#64748b;font-size:9px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}
.transaction-reference{display:inline-flex;align-items:center;max-width:100%;overflow:hidden;padding:4px 7px;border-radius:999px;background:#eef2ff;color:#3730a3;font-size:9px;font-weight:900;text-overflow:ellipsis;white-space:nowrap}
.transaction-reference.debit{background:#fff7ed;color:#c2410c}
.transaction-reference.credit{background:#ecfdf5;color:#047857}
.transactions-workspace .generic-table-pager{margin:0 12px 12px;border:1px solid #e2e8f0;border-radius:7px;background:#fff}
@media(max-width:1180px){.transactions-kpi-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.transactions-toolbar{align-items:flex-start;flex-direction:column}.transactions-kpi-grid{grid-template-columns:1fr 1fr}.transactions-table{display:block;min-width:0}.transactions-table thead{display:none}.transactions-table tbody{display:grid;gap:10px;padding:10px;background:#f4f7fb}.transactions-table tbody tr{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:11px;border:1px solid #e2e8f0;border-radius:7px;background:#fff;box-shadow:0 10px 22px rgba(15,23,42,.05)}.transactions-table tbody td{display:grid!important;grid-template-columns:70px minmax(0,1fr);gap:8px;max-width:none!important;padding:0!important;border:0!important;text-align:left!important;white-space:normal!important}.transactions-table tbody td:before{content:attr(data-label);color:#64748b;font-size:8px;font-weight:900;text-transform:uppercase}.transactions-table tbody td:nth-child(2),.transactions-table tbody td:nth-child(3),.transactions-table tbody td:nth-child(4){grid-column:1/-1}.transactions-table .text-end{text-align:left!important}.transactions-workspace .generic-table-pager{align-items:stretch;flex-direction:column}.transactions-workspace .generic-table-pager .btn-group,.transactions-workspace .generic-table-pager .btn{width:100%}}
@media(max-width:430px){.transactions-kpi-grid,.transactions-table tbody tr{grid-template-columns:1fr}.transactions-table tbody td{grid-template-columns:1fr}}
.notification-admin-actions{display:flex;flex-wrap:wrap;gap:8px}.notification-commandbar{align-items:center}.notification-filter{max-width:210px}.notification-tabs{margin:0 18px 12px}.notification-list{display:grid;gap:8px}.notification-item{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;gap:12px;align-items:center;width:100%;padding:14px 16px;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--ink);text-align:left}.notification-item:hover{border-color:#b8d3f8;background:#f8fbff}.notification-item.unread{border-left:4px solid var(--primary);background:#f9fcff}.notification-status{color:#9aa8bb}.notification-item.unread .notification-status{color:var(--primary)}.notification-copy{display:grid;min-width:0}.notification-copy strong{font-size:13px}.notification-copy small{overflow:hidden;color:#64748b;text-overflow:ellipsis;white-space:nowrap}.notification-copy em{color:#94a3b8;font-size:10px;font-style:normal}.notification-metrics{display:grid;grid-template-columns:auto auto;gap:0 6px;align-items:baseline;color:#64748b;font-size:9px}.notification-metrics strong{color:var(--ink);font-size:13px}.notification-detail p{color:#334155;line-height:1.65}.notification-detail dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:18px}.notification-detail dl div{padding:10px;border:1px solid var(--line);border-radius:8px;background:#f8fafc}.notification-detail dt{color:#64748b;font-size:10px;text-transform:uppercase}.notification-detail dd{margin:0;font-weight:700}.notification-html{margin-top:14px;padding:12px;border:1px solid var(--line);border-radius:8px;background:#fff}.notification-message-box{min-height:120px}.notification-recipient-row{display:grid;grid-template-columns:160px minmax(0,1fr);gap:12px;align-items:center}.notification-user-results{display:grid;gap:4px;margin-top:8px}.notification-user-results button{display:flex;justify-content:space-between;gap:12px;padding:9px 10px;border:1px solid var(--line);border-radius:8px;background:#fff;text-align:left}.notification-user-results small{color:#64748b}.notification-selected-users{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}.notification-user-chip{display:inline-flex;align-items:center;gap:6px;padding:5px 8px;border:1px solid #cfe0f8;border-radius:999px;background:#eef6ff;color:#1f5fa8;font-size:11px;font-weight:700}.notification-user-chip button{border:0;background:transparent;color:inherit;padding:0}@media(max-width:767px){.notification-item{grid-template-columns:auto minmax(0,1fr) auto}.notification-metrics{grid-column:2/-1}.notification-recipient-row{grid-template-columns:1fr}.notification-filter{max-width:none}.notification-detail dl{grid-template-columns:1fr}}
