:root{--blue:#006b92;--navy:#0b3145;--ink:#193d4d;--muted:#788b96;--line:#e4ebef;--bg:#f4f7f9;--accent:#dff1f6;--red:#bd4c59;--orange:#c88937;--green:#318b75;font-family:Arial,'Noto Sans Hebrew',sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}*{box-sizing:border-box}body{margin:0;font-size:14px}button,input,select,textarea{font:inherit}button,a{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:var(--blue);text-decoration:none}button:focus-visible,a:focus-visible{outline:3px solid #74bbd4;outline-offset:3px}button{border:1px solid var(--line);border-radius:9px;background:white;color:var(--ink);padding:10px 15px;display:inline-flex;align-items:center;justify-content:center;gap:8px;transition:background .15s,transform .15s}button:hover{background:#edf5f8}button:disabled{opacity:.55;cursor:wait}.primary{background:var(--blue);color:white;border-color:var(--blue)}.primary:hover{background:#005777}.ghost{border:0;background:transparent}.danger{color:var(--red)}svg.icon{width:19px;height:19px;stroke:currentColor;fill:none;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex:none}.layout{display:grid;grid-template-columns:235px 1fr;min-height:100vh}.sidebar{background:#fff;border-inline-end:1px solid var(--line);padding:32px 18px;position:sticky;top:0;height:100vh;display:flex;flex-direction:column;z-index:5}.brand{padding:0 13px 32px;direction:ltr;text-align:start}.wordmark{font-size:29px;letter-spacing:3px;color:var(--navy);font-weight:800}.wordmark span{color:var(--blue)}.brand small{display:block;font-size:10px;letter-spacing:2.5px;color:var(--muted);margin-top:6px;text-transform:uppercase}.nav-label{font-size:10px;text-transform:uppercase;letter-spacing:1.6px;color:#98a6ae;padding:18px 15px 10px}.sidebar nav{display:grid;gap:5px}.navbtn{justify-content:flex-start;border:0;background:transparent;color:#6b7d88;padding:13px 14px;font-weight:500;text-align:start}.navbtn.active{color:var(--blue);background:#e8f4f8;font-weight:700}.sidebar-bottom{margin-top:auto;padding-top:26px}.userbox{display:flex;align-items:center;gap:11px;padding:16px 8px;border-top:1px solid var(--line)}.avatar{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:12px;background:#e6f0f4;color:var(--blue);font-weight:700;flex:none;direction:ltr}.avatar.alt{background:#f2eaf6;color:#86639a}.userbox small{display:block;color:var(--muted);margin-top:4px;font-size:11px}.main{min-width:0}.topbar{height:82px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 42px;border-bottom:1px solid var(--line);background:rgba(255,255,255,.85)}.searchbar{display:flex;align-items:center;gap:10px;max-width:450px;flex:1;color:var(--muted)}.searchbar input{border:0;background:none;outline:0;width:100%;padding:8px}.top-actions{display:flex;align-items:center;gap:12px}.live-dot{width:7px;height:7px;display:inline-block;background:#4e9b85;border-radius:50%;margin-inline-end:6px}.content{max-width:1700px;margin:auto;padding:38px 42px 50px}.page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:30px}.eyebrow{font-size:10px;letter-spacing:1.8px;text-transform:uppercase;color:var(--blue);font-weight:bold;margin-bottom:12px}h1{font-size:29px;letter-spacing:-.7px;line-height:1.25;margin:0 0 10px;font-weight:650}h2{font-size:16px;margin:0;font-weight:650}h3{font-size:14px;margin:0 0 10px}p{line-height:1.7;margin:0;color:var(--muted)}.muted{color:var(--muted)}.small{font-size:12px}.actions{display:flex;gap:9px;flex-wrap:wrap}.kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-bottom:25px}.kpi{background:white;border:1px solid var(--line);border-radius:13px;padding:22px;text-align:start;display:block;box-shadow:0 2px 3px #193d4d02}.kpi-top{display:flex;justify-content:space-between;align-items:center;color:#6e818d;font-size:12px}.iconbox{height:34px;width:34px;display:grid;place-items:center;border-radius:9px;background:#edf6f8;color:var(--blue)}.kpi strong{font-size:37px;font-weight:600;display:block;margin:17px 0 10px;letter-spacing:-1.3px}.kpi small{color:var(--muted);font-size:11px}.kpi.alert .iconbox{color:var(--red);background:#fcf0ef}.kpi.alert strong{color:var(--red)}.columns{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(300px,1fr);gap:24px}.panel{background:white;border:1px solid var(--line);border-radius:13px;overflow:hidden;margin-bottom:24px}.panel-head{padding:22px 24px;display:flex;align-items:center;justify-content:space-between;gap:15px;border-bottom:1px solid #eef2f5}.panel-body{padding:22px 24px}.badge{display:inline-flex;align-items:center;gap:5px;font-size:11px;border-radius:6px;padding:5px 8px;background:#edf5f7;color:var(--blue);white-space:nowrap}.badge.red{color:var(--red);background:#fceff0}.badge.green{color:var(--green);background:#eaf5ef}.badge.amber{color:#ab792e;background:#fff5e5}.row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 24px;border-bottom:1px solid #eff3f5}.row:last-child{border-bottom:0}.row-main{display:flex;align-items:center;gap:14px;min-width:0}.row small{display:block;color:var(--muted);margin-top:6px;font-size:12px}.dot{width:8px;height:8px;border-radius:50%;background:var(--blue);flex:none}.dot.red{background:var(--red)}.progress{height:5px;background:#edf3f6;border-radius:4px;overflow:hidden;margin-top:12px}.progress span{height:100%;background:var(--blue);display:block}.empty{text-align:center;padding:45px 25px}.empty svg{width:34px;height:34px;color:#8fb4c3;margin-bottom:12px}.empty h3{font-size:15px}.empty p{max-width:360px;margin:0 auto 20px;font-size:12px}.toolbar{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:20px}.filters{display:flex;gap:8px;flex-wrap:wrap}.filters select{max-width:200px}.segmented{display:flex;background:#e9eff3;padding:3px;border-radius:9px}.segmented button{background:transparent;border:0;padding:7px 13px;font-size:12px}.segmented button.selected{background:white;box-shadow:0 1px 4px #0000000c}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;text-align:start}th{text-align:start;background:#fafcfd;color:var(--muted);font-size:11px;font-weight:500;white-space:nowrap;padding:15px 20px;border-bottom:1px solid var(--line)}td{padding:18px 20px;border-bottom:1px solid #edf2f5;font-size:12px}td strong{font-size:13px}td small{display:block;color:var(--muted);margin-top:6px}tr.clickable{cursor:pointer}tr.clickable:hover{background:#f6fafc}input,select,textarea{border:1px solid #dce5ea;border-radius:8px;padding:11px 12px;color:var(--ink);background:white;min-width:0}input:focus,select:focus,textarea:focus{outline:2px solid #8cc6db;outline-offset:1px}textarea{min-height:85px;resize:vertical}.board{display:flex;gap:16px;overflow-x:auto;padding-bottom:15px}.board-col{flex:0 0 265px;min-height:320px;border-radius:12px;background:#eaf0f4;padding:14px}.board-col h3{display:flex;align-items:center;justify-content:space-between;padding:7px 3px 14px;color:#597481;font-size:12px}.deal{background:white;padding:18px;border:1px solid var(--line);border-radius:10px;margin-bottom:12px;cursor:pointer;box-shadow:0 2px 2px #193d4d03}.deal:hover{border-color:#9fc9d7}.deal p{font-size:12px;margin:8px 0 15px}.deal-footer{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #eef2f5;padding-top:14px;margin-top:15px}.lab-top{padding:28px;background:linear-gradient(115deg,#f9fcfd,#e8f3f6);display:flex;align-items:center;gap:20px}.lab-top .avatar{height:58px;width:58px;font-size:24px;background:white}.lab-top h1{font-size:25px}.detailgrid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.detailgrid small{display:block;color:var(--muted);margin-bottom:7px}.timeline{border-inline-start:1px solid #dce8ee;padding-inline-start:20px;margin-inline-start:6px}.timeline article{position:relative;margin-bottom:25px}.timeline article:before{content:'';position:absolute;width:7px;height:7px;border:3px solid white;background:var(--blue);border-radius:50%;inset-inline-start:-27px;top:3px}.timeline p{font-size:13px;color:var(--ink);white-space:pre-wrap}.timeline small{display:block;color:var(--muted);margin-top:7px}.intro-card{background:var(--navy);padding:24px;border-radius:13px;color:white;margin-bottom:24px;position:relative;overflow:hidden}.intro-card p{color:#b0cad5;font-size:12px;margin-top:10px}.intro-card:after{content:'';width:140px;height:140px;border:1px solid #ffffff15;border-radius:50%;position:absolute;inset-inline-end:-30px;top:-60px}.intro-card h3{font-size:16px}.chart-bar{display:flex;align-items:center;gap:14px;margin:17px 0;font-size:12px}.chart-bar label{width:115px;flex:none;color:#6a808c}.chart-bar .progress{margin:0;flex:1;height:8px}.chart-bar strong{width:25px;text-align:end}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.field{display:flex;flex-direction:column;gap:8px;margin-bottom:18px}.field label{font-size:12px;color:#607785}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.field.full{grid-column:1/-1}.form-footer{display:flex;justify-content:flex-end;gap:10px;border-top:1px solid var(--line);padding-top:20px;margin-top:8px}dialog{width:min(640px,calc(100% - 28px));border:1px solid var(--line);border-radius:16px;padding:28px;color:var(--ink);max-height:90vh;box-shadow:0 30px 100px #05293d33}dialog::backdrop{background:#10384b66;backdrop-filter:blur(3px)}.modal-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px}.modal-title h2{font-size:21px}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:var(--navy);color:white;padding:14px 24px;border-radius:10px;box-shadow:0 8px 30px #0002;display:none;z-index:100}.auth{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.auth-art{background:var(--navy);color:white;position:relative;overflow:hidden;display:flex;flex-direction:column;justify-content:space-between;padding:65px}.auth-art .wordmark{color:white}.auth-art .orb{width:450px;height:450px;border:1px solid #70a8bf44;border-radius:50%;position:absolute;top:28%;inset-inline-start:-50px;box-shadow:0 0 0 55px #ffffff04,0 0 0 110px #ffffff03,0 0 0 165px #ffffff02}.auth-art h1{font-size:42px;max-width:440px;line-height:1.3;position:relative}.auth-art p{color:#a7c1cf;max-width:350px;margin-top:20px;position:relative}.auth-form{display:flex;align-items:center;justify-content:center;padding:40px}.auth-form form{max-width:370px;width:100%}.auth-form h1{margin:20px 0 10px}.auth-form p{margin-bottom:30px}.auth-form .primary{width:100%;margin-top:10px;padding:14px}.error{color:var(--red);font-size:12px;margin-top:12px}.checkbox-line{display:flex;align-items:center;gap:10px;margin:10px 0}.ltr{direction:ltr;unicode-bidi:isolate;display:inline-block}.menu-toggle{display:none}.mobile-cards{display:none}.tree-org{padding:20px 24px;border-bottom:1px solid var(--line)}.tree-org summary{cursor:pointer;font-weight:600;display:flex;gap:14px;align-items:center}.tree-org .row{padding-inline:40px 0}.footer-note{font-size:11px;color:#91a2ac;text-align:center;padding:15px}.stat-number{font-size:26px}.auth small{color:#a4bcc8}.warning{padding:12px 16px;background:#fff7e8;border:1px solid #f5e8c7;border-radius:9px;font-size:12px;color:#967436;margin:16px 0}button.icon-only{padding:8px}.linkbtn{border:0;background:none;padding:0;color:var(--blue);font-size:12px}.nowrap{white-space:nowrap}.pillrow{display:flex;gap:7px;flex-wrap:wrap}.import-scroll{overflow:auto;max-height:220px}.field-hint{font-size:11px;color:var(--muted)}
@media(min-width:1700px){.content{padding:48px 65px}.kpi{padding:28px}.kpi strong{font-size:43px}.sidebar{padding-top:40px}}
@media(max-width:1100px){.layout{grid-template-columns:205px 1fr}.content{padding:28px 24px}.topbar{padding:0 24px}.columns{grid-template-columns:1fr}.kpis{gap:10px}.kpi{padding:17px}.settings-grid{grid-template-columns:1fr}.kpi-top{font-size:11px}.kpi strong{font-size:30px}.page-heading{align-items:flex-start}.auth-art{padding:40px}.auth-art h1{font-size:34px}}
@media(max-width:760px){.layout{display:block}.sidebar{position:fixed;width:245px;height:100dvh;inset-inline-start:-260px;transition:inset-inline-start .2s;box-shadow:10px 0 40px #0001}.sidebar.shown{inset-inline-start:0}.menu-toggle{display:inline-flex}.topbar{height:66px;padding:0 16px;gap:10px}.top-actions{gap:5px}.top-actions .connection{display:none}.top-actions button{font-size:11px}.content{padding:26px 16px}.page-heading{display:block;margin-bottom:22px}.page-heading .actions{margin-top:18px}h1{font-size:26px}.kpis{grid-template-columns:1fr 1fr;gap:10px}.kpi{padding:16px}.kpi strong{margin:14px 0 8px;font-size:30px}.kpi .iconbox{width:27px;height:27px}.kpi-top{font-size:11px}.panel-head,.panel-body{padding:18px}.row{padding:16px}.columns{gap:0}.searchbar input{font-size:12px}.form-grid{grid-template-columns:1fr}.field.full{grid-column:auto}.auth{display:block}.auth-art{display:none}.auth-form{min-height:100vh;padding:24px}.lab-top{padding:20px}.lab-top h1{font-size:21px}.detailgrid{gap:20px}.toolbar{display:block}.segmented{width:fit-content;margin-top:12px}.filters select{max-width:48%;font-size:12px}.desktop-table{display:none}.mobile-cards{display:block}.mobile-card{padding:20px;border-bottom:1px solid var(--line);cursor:pointer}.mobile-card h3{font-size:15px}.mobile-card p{font-size:12px;margin:7px 0 13px}.board-col{flex-basis:260px}.page-heading p{font-size:12px}dialog{padding:22px}.topbar .avatar{display:none}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
.brand-logo{width:155px;height:auto;display:block;object-fit:contain}
/* Brand and responsive interaction refinements */
.brand{display:flex;flex-direction:column;align-items:flex-start;border-radius:0;width:100%;gap:0}.brand:hover{background:transparent}.auth-logo{display:block;width:210px;max-width:100%;height:auto}.auth-logo-card{background:white;border-radius:12px;padding:20px 24px;width:fit-content;position:relative;z-index:1}.auth-logo-card .auth-logo{width:190px}.mobile-brand,.menu-close,.nav-backdrop{display:none}.task-meta{display:flex;align-items:center;gap:12px;flex-wrap:wrap;justify-content:flex-end}.stage-total{color:var(--blue);font-weight:600;margin:0 3px 12px;direction:ltr;text-align:start}.row>div,.row-main>div,.lab-top>div,.panel,.columns>div,.settings-grid>div{min-width:0}.row strong,.detailgrid strong,.deal strong,.mobile-card h3,.lab-top h1{overflow-wrap:anywhere}.pillrow a{max-width:100%;white-space:normal;overflow-wrap:anywhere}.pillrow .ltr{min-width:0;overflow-wrap:anywhere}.brand-logo{max-width:100%}.auth-form form{min-width:0}.searchbar{min-width:0}dialog{overscroll-behavior:contain}#toast{max-width:calc(100vw - 32px);overflow-wrap:anywhere}.menu-close{align-self:flex-end}button.linkbtn{min-height:36px}.auth-form input{font-size:16px}
@media(max-width:760px){.nav-open{overflow:hidden}.sidebar{visibility:hidden;overflow-y:auto;padding-top:12px;z-index:31}.sidebar.shown{visibility:visible}.menu-close{display:inline-flex;min-height:44px;min-width:44px}.nav-backdrop:not([hidden]){display:block;position:fixed;inset:0;border:0;border-radius:0;background:#082b4677;z-index:30}.mobile-brand{display:flex;padding:0;flex:none}.mobile-brand img{width:102px;height:auto}.topbar{height:auto;min-height:68px;flex-wrap:wrap;padding:12px 16px;gap:10px;position:sticky;top:0;z-index:10;background:#fff}.top-actions{margin-inline-start:auto}.searchbar{order:4;flex-basis:100%;max-width:none;background:#f4f7f9;border-radius:8px;padding:0 10px}.searchbar input{font-size:16px;min-height:44px}.top-actions button{font-size:13px;min-height:44px}.menu-toggle{min-width:44px;min-height:44px}.row{flex-wrap:wrap;gap:12px}.row-main{flex:1}.task-meta{margin-inline-start:auto}.row small{line-height:1.6}.filters{width:100%}.filters select{flex:1;max-width:100%;min-width:125px;font-size:16px}.filters select:last-child{flex-grow:1}.form-grid input,.form-grid select,.form-grid textarea{font-size:16px;max-width:100%;width:100%}.panel-head{flex-wrap:wrap}.panel-head .linkbtn{min-height:44px}.toolbar>.actions{margin-top:14px}.board{scroll-snap-type:x proximity;max-width:100%}.board-col{scroll-snap-align:start;flex-basis:min(280px,85vw)}.tree-org{padding:16px}.tree-org .row{padding-inline:12px 0}.detailgrid{grid-template-columns:1fr}.form-footer{position:sticky;bottom:-22px;background:#fff;padding:16px 0 4px}.form-footer button{min-height:44px;flex:1}dialog{max-height:calc(100dvh - 24px)}.auth-form{min-height:100dvh}.auth-form h1{font-size:25px}.badge{white-space:normal}.footer-note{line-height:1.6}.segmented{max-width:100%;flex-wrap:wrap}.segmented button{min-height:40px}.icon-only{min-width:44px;min-height:44px}}
@media(max-width:360px){.content{padding:20px 12px}.kpi{padding:12px}.kpi-top{flex-wrap:wrap;gap:6px}.topbar{padding-inline:12px}.mobile-brand img{width:90px}}
/* VAREUM command center */
:root{--muted:#657b88;--line:#e0e9ee;--bg:#f3f7fa;font-family:Arial,'Noto Sans Hebrew',sans-serif}body{line-height:1.45}.sidebar{padding:28px 16px;background:#fff}.sidebar .brand{padding:4px 12px 26px}.sidebar nav{gap:3px}.navbtn{padding:11px 13px;border-radius:10px}.navbtn.active{background:linear-gradient(100deg,#e7f4f9,#f1f8fb);box-shadow:inset 3px 0 var(--blue)}[dir=rtl] .navbtn.active{box-shadow:inset -3px 0 var(--blue)}.navbtn:hover{background:#f1f6f9;color:var(--blue)}.brand-logo{width:165px}.content{padding-top:30px}.topbar{background:#ffffffed}.top-actions{position:relative}.account-trigger{font-size:12px;border:1px solid var(--line);background:white;white-space:nowrap}.account-menu{position:absolute;inset-inline-end:0;top:calc(100% + 12px);min-width:240px;background:white;border:1px solid var(--line);border-radius:14px;padding:18px;box-shadow:0 18px 60px #0b31451a;z-index:40}.account-menu[hidden]{display:none}.account-menu>strong,.account-menu>small{display:block;margin-bottom:8px}.account-menu .navbtn{width:100%;margin-top:5px}.command-hero{display:flex;align-items:center;justify-content:space-between;gap:28px;padding:30px 32px;margin-bottom:22px;border:1px solid #dcebf2;background:radial-gradient(ellipse at 100% 0,#d5edf6 0,transparent 60%),#fff;border-radius:18px;position:relative}.command-hero h1{font-size:32px;font-weight:700;letter-spacing:-1px}.command-hero p{color:#587482;font-size:14px}.hero-date{color:#6d8794;font-size:12px;margin-top:16px}.command-hero .actions{flex-shrink:0}.dashboard-toolbar{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-bottom:22px}.dashboard-toolbar>.small{margin-inline-start:auto}.kpi{position:relative;overflow:hidden;box-shadow:0 3px 12px #13394c04;transition:transform .18s,box-shadow .18s,border-color .18s}.kpi:hover{transform:translateY(-3px);box-shadow:0 10px 30px #13394c0d;border-color:#b2d7e6;background:white}.kpi strong{font-weight:700}.kpi small{display:flex;align-items:center;gap:6px}.metric-strip{display:grid;grid-template-columns:repeat(3,1fr);background:#fff;border:1px solid var(--line);border-radius:12px;margin:0 0 24px}.metric-strip>div{display:flex;align-items:center;gap:12px;padding:18px 22px;border-inline-end:1px solid var(--line);color:#68808c;font-size:12px}.metric-strip>div:last-child{border:0}.metric-strip strong{margin-inline-start:auto;font-size:23px;color:var(--ink)}.metric-strip svg{color:var(--blue)}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(290px,1fr);gap:24px}.dashboard-grid>div{min-width:0}.funnel-row{display:flex;width:100%;gap:14px;border:0;padding:9px 0;border-radius:6px;text-align:start;font-size:12px}.funnel-row>span:first-child{width:135px;flex-shrink:0}.funnel-track{flex:1;background:#edf4f7;height:9px;border-radius:20px;overflow:hidden}.funnel-track i{display:block;height:100%;background:linear-gradient(90deg,#006b92,#4bb5d3);min-width:0;border-radius:20px}.funnel-row strong{width:24px;text-align:end}.pipeline-totals{display:flex;gap:20px;margin-top:20px;padding-top:18px;border-top:1px solid var(--line)}.pipeline-totals>div{flex:1}.pipeline-totals small{font-size:11px;color:var(--muted);display:block}.pipeline-totals strong{display:block;font-size:22px;margin-top:6px}.chart-summary{display:flex;align-items:center;gap:12px;margin-bottom:20px;color:var(--muted);font-size:12px}.chart-summary strong{font-size:30px;color:var(--ink)}.weekly-chart{display:flex;align-items:flex-end;justify-content:space-between;gap:10px;min-height:145px}.weekly-chart>div{flex:1;display:flex;flex-direction:column;align-items:center;gap:9px}.weekly-chart i{display:block;width:100%;max-width:35px;background:linear-gradient(#25a1c3,#006b92);border-radius:7px 7px 2px 2px;transition:height .3s}.weekly-chart span,.weekly-chart small{font-size:10px;color:#718792}.completion-panel{display:flex;gap:22px;align-items:center;padding:24px}.completion-ring{width:100px;height:100px;flex:none;border-radius:50%;background:conic-gradient(var(--blue) var(--completion),#e8f1f5 0);display:grid;place-items:center}.completion-ring span{display:grid;place-items:center;width:78px;height:78px;border-radius:50%;background:white;font-size:22px;font-weight:700}.completion-panel strong{font-size:20px}.completion-panel p{font-size:12px}.completion-panel small{display:block;margin-top:8px;color:var(--muted);font-size:10px}.insight-row{display:flex;align-items:center;gap:14px;width:100%;text-align:start;border:0;border-bottom:1px solid var(--line);border-radius:0;padding:18px 22px}.insight-row>span:nth-child(2){min-width:0;flex:1}.insight-row strong{display:block;font-size:12px;overflow-wrap:anywhere}.insight-row small{display:block;color:var(--muted);font-size:11px;margin-top:5px;overflow-wrap:anywhere}.insight-row:last-child{border:0}.empty.compact{padding:26px}.profile-hero{display:flex;align-items:center;gap:16px;padding-bottom:24px;margin-bottom:22px;border-bottom:1px solid var(--line)}.profile-hero .avatar{width:64px;height:64px;font-size:23px;border-radius:18px}.profile-hero h2{margin-bottom:6px}.profile-hero p{font-size:12px}.integration-list{padding:0 22px}.integration-list article{display:flex;align-items:flex-start;gap:14px;padding:24px 0;border-bottom:1px solid var(--line)}.integration-list article:last-child{border:0}.integration-list article>div:nth-child(2){flex:1;min-width:0}.integration-list p{font-size:12px;margin-bottom:10px}.integration-list h3{margin-bottom:7px}.integration-list article>button{font-size:11px;align-self:center}.integration-icon{width:40px;height:40px;background:#eef6f9;display:grid;place-items:center;border-radius:12px;color:var(--blue);flex:none}.integration-list small{display:block;margin-top:8px;color:var(--muted)}.recovery{display:block}.recovery .auth-form{min-height:100dvh}.recovery-link{width:100%;margin:15px 0 4px}.success-message{color:var(--green);line-height:1.7;margin:10px 0}.panel{box-shadow:0 3px 14px #173f5003}.panel-head h2{font-size:15px}.actions button{white-space:normal}.command-hero,.panel,.kpi{animation:arrive .25s ease-out}@keyframes arrive{from{opacity:.7;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:1100px){.command-hero{align-items:flex-start;padding:24px}.command-hero .actions{max-width:180px}.dashboard-grid{grid-template-columns:1fr 1fr}.metric-strip>div{padding:15px;gap:8px}.integration-list article{flex-wrap:wrap}.integration-list article>button{margin-inline-start:54px}.dashboard-toolbar>.small{width:100%;margin:0}}
@media(max-width:850px){.dashboard-grid{grid-template-columns:1fr}.command-hero{display:block}.command-hero .actions{margin-top:20px;max-width:none}.metric-strip{grid-template-columns:1fr}.metric-strip>div{border-inline-end:0;border-bottom:1px solid var(--line);padding:12px 18px}.metric-strip strong{font-size:20px}}
@media(max-width:760px){.sidebar{padding-top:12px}.sidebar .brand{padding-bottom:14px}.sidebar nav{gap:2px}.navbtn{min-height:42px;padding:9px 13px}.sidebar-bottom{padding-top:16px}.sidebar .nav-label{padding-top:8px}.command-hero{padding:22px 18px;border-radius:14px}.command-hero h1{font-size:27px}.command-hero p{font-size:12px}.dashboard-toolbar{gap:10px}.dashboard-toolbar select{font-size:16px;width:100%}.dashboard-toolbar>.small{font-size:10px}.dashboard-grid{gap:0}.account-trigger{font-size:0!important;padding:10px;border:0}.account-trigger .icon{width:20px;height:20px}.account-menu{min-width:225px;max-width:calc(100vw - 32px)}.top-actions{gap:4px}.top-actions button{padding-inline:8px}.mobile-brand img{width:95px}.funnel-row{gap:8px;min-height:40px}.funnel-row>span:first-child{width:116px;font-size:11px}.completion-panel{padding:20px 18px}.integration-list{padding:0 18px}.integration-list article>button{min-height:44px}.pipeline-totals strong{font-size:19px}.profile-hero{flex-wrap:wrap}.profile-hero p{overflow-wrap:anywhere}.insight-row{padding:16px}.auth-logo{width:200px}.form-footer button{font-size:14px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important}}

.input-control{display:block}.password-control{display:block;position:relative}.password-control input{width:100%;padding-inline-end:54px}.password-toggle{position:absolute;inset-inline-end:4px;top:50%;transform:translateY(-50%);width:44px;height:44px;min-width:44px;padding:10px;display:grid;place-items:center;border:0;background:transparent;color:#52647a;border-radius:9px}.password-toggle:hover,.password-toggle[aria-pressed="true"]{background:#eaf3fa;color:#00639a}.password-toggle:focus-visible{outline:2px solid #00639a;outline-offset:1px}
.input-control>input{width:100%}.pipeline-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;background:var(--line);border:1px solid var(--line);border-radius:16px;overflow:hidden;margin-bottom:24px}.pipeline-summary>div{background:#fff;padding:22px 24px;min-width:0}.pipeline-summary>div>span{display:block;color:#657e8d;font-size:12px}.pipeline-summary strong{display:block;font-size:32px;color:#153f55;letter-spacing:-1px;margin:12px 0}.pipeline-summary small{color:#7d8f9c;font-size:11px;line-height:1.5;display:block}.pipeline-summary .pipeline-value-summary{display:flex;flex-wrap:wrap;gap:6px 14px;font-size:23px;min-height:38px;align-items:center}.amber-text{color:#ac7134!important}.pipeline-controls{background:white;border:1px solid var(--line);padding:18px;border-radius:14px}.pipeline-controls .toolbar{margin-bottom:14px}.pipeline-tools{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.pipeline-search{display:flex;align-items:center;gap:8px;flex:1;min-width:220px;background:#f6f9fb;border:1px solid var(--line);border-radius:10px;padding:4px 6px 4px 12px}.pipeline-search input{border:0;background:none;flex:1;width:100%;padding:8px 4px;min-width:0}.pipeline-search button{font-size:12px;padding:8px 12px}.pipeline-focus{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}.pipeline-focus button{border-radius:30px;border-color:transparent;background:#f4f7f9;font-size:12px}.pipeline-focus .selected{background:#e2f1f7;border-color:#add1e0;color:#006b92}.stage-rail{display:flex;gap:8px;overflow-x:auto;padding:18px 1px 12px;scrollbar-width:thin}.stage-rail button{flex:none;white-space:nowrap;font-size:12px;border-radius:8px;padding:9px 13px}.stage-rail .selected{background:var(--navy);color:#fff;border-color:var(--navy)}.pipeline-guide{font-size:11px;display:flex;align-items:center;gap:8px;padding:4px 2px 14px}.pipeline-guide .icon{width:15px}.pipeline-board{gap:18px;scroll-snap-type:x proximity;scrollbar-width:thin;padding:0 1px 22px;align-items:flex-start}.pipeline-lane{flex:0 0 296px;min-width:0;scroll-snap-align:start;border:1px solid #dfe8ed;border-top:4px solid var(--lane-color);background:#edf2f6;border-radius:12px;overflow:hidden}.lane-header{padding:17px 16px 14px;background:linear-gradient(#fff,#f5f8fa)}.lane-header>div:first-child{display:flex;align-items:center;gap:9px}.lane-header h2{font-size:13px;line-height:1.5;flex:1}.lane-step{font-size:10px;color:var(--lane-color);font-weight:700}.lane-count{background:#e9eff3;color:#436276;padding:3px 7px;border-radius:6px;font-size:11px;font-weight:700}.lane-total{display:flex;gap:12px;flex-wrap:wrap;min-height:27px;margin:12px 0 6px;font-size:17px;font-weight:650}.lane-share{height:3px;background:#e0e8ed;border-radius:2px}.lane-share span{height:100%;background:var(--lane-color);display:block;border-radius:2px}.lane-cards{padding:12px;min-height:255px}.pipeline-card{padding:16px;background:white;border:1px solid #e0e8ef;border-radius:11px;margin-bottom:12px;box-shadow:0 3px 8px #183a4e05;transition:border-color .2s,box-shadow .2s}.pipeline-card:hover{border-color:#a7c6d7;box-shadow:0 5px 15px #183a4e0c}.pipeline-card.is-stalled{border-inline-start:3px solid #c59448}.pipeline-card-top{display:flex;justify-content:space-between;align-items:center;gap:8px}.pipeline-card-top .badge{font-size:10px;background:#f1f6f9;color:#567386;max-width:75%;white-space:normal;overflow-wrap:anywhere}.deal-age{font-size:10px;color:#7b8d9a;white-space:nowrap}.deal-title{display:block;background:none;border:0;padding:14px 0 10px;font-size:15px;font-weight:700;text-align:start;line-height:1.45;width:100%;overflow-wrap:anywhere}.deal-title:hover{background:none;color:var(--blue)}.deal-company{display:flex;gap:7px;color:#607a8c;font-size:12px;align-items:flex-start;overflow-wrap:anywhere}.deal-company .icon{width:15px;height:17px}.deal-company small{display:block;font-size:10px;color:#90a0ad;margin-top:4px;line-height:1.5}.deal-value{font-size:23px;letter-spacing:-.5px;font-weight:600;margin:18px 0 12px}.deal-signals{display:flex;gap:6px;align-items:center;flex-wrap:wrap;min-height:23px}.deal-signals .icon{width:12px;height:12px}.waiting-label{font-size:10px;color:#7c8993}.pipeline-card-footer{display:flex;align-items:center;justify-content:space-between;gap:6px;padding-top:13px;margin-top:14px;border-top:1px solid #edf2f5}.deal-owner{display:flex;align-items:center;gap:6px;min-width:0;font-size:10px;color:#718693}.deal-owner>span:last-child{max-width:78px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.deal-owner .avatar{width:27px;height:27px;border-radius:50%;font-size:9px}.deal-update{border:0;background:#f0f6f9;color:#286f91;padding:8px;font-size:10px}.deal-update .icon{width:13px;height:13px}.lane-empty{min-height:220px;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;color:#8aa0ad;gap:12px;padding:20px;border:1px dashed #d3e0e8;border-radius:10px}.lane-empty strong{font-size:12px;color:#748b99}.lane-empty span{font-size:11px;line-height:1.7}.pipeline-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:16px;padding-top:12px}.pipeline-list .pipeline-card{margin:0}.pipeline-money{white-space:nowrap}
@media(max-width:1100px){.pipeline-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.pipeline-tools select{flex:1}.pipeline-summary>div{padding:18px}}
@media(max-width:600px){.pipeline-summary{gap:1px;margin-bottom:16px;border-radius:12px}.pipeline-summary>div{padding:16px 12px}.pipeline-summary strong{font-size:28px}.pipeline-summary .pipeline-value-summary{font-size:19px;min-height:34px}.pipeline-summary small{font-size:10px}.pipeline-controls{padding:12px}.pipeline-controls .toolbar{gap:12px}.pipeline-controls .filters{width:100%}.pipeline-controls .filters select{flex:1;max-width:100%;min-width:0;width:100%}.pipeline-tools{align-items:stretch}.pipeline-search{flex-basis:100%;min-width:0}.pipeline-tools>select,.pipeline-tools>button{width:100%;flex:auto}.pipeline-focus button{font-size:11px;padding:9px}.pipeline-lane{flex-basis:min(296px,calc(100vw - 42px))}.stage-rail{padding-top:14px}.pipeline-guide{font-size:10px;align-items:flex-start;line-height:1.7}.pipeline-card-footer button{min-height:40px}.pipeline-list{grid-template-columns:minmax(0,1fr)}.pipeline-controls .segmented{width:100%}.pipeline-controls .segmented button{flex:1;min-height:40px}}
@font-face{font-family:Heebo;src:url('/fonts/heebo-regular.ttf') format('truetype');font-weight:400 500;font-display:swap}@font-face{font-family:Heebo;src:url('/fonts/heebo-bold.ttf') format('truetype');font-weight:600 800;font-display:swap}
:root{font-family:Heebo,Arial,sans-serif;--muted:#627988}body{font-size:16px;line-height:1.55}h1{font-size:36px;font-weight:700;letter-spacing:-.8px;line-height:1.3}h2{font-size:21px;line-height:1.45}h3{font-size:18px;line-height:1.45}p{line-height:1.8}.navbtn{font-size:16px;padding:13px 14px}.nav-label,.eyebrow{font-size:12px}.small,.field-hint,.userbox small{font-size:14px}.field label{font-size:15px;font-weight:500}.badge{font-size:13px}.kpi-top{font-size:15px}.kpi small{font-size:13px}.row small,.row p{font-size:14px}th{font-size:14px;font-weight:600}td{font-size:15px}td strong{font-size:16px}td small{font-size:14px}.deal p,.timeline small,.timeline p{font-size:15px}.segmented button{font-size:14px}.funnel-row{font-size:15px}.funnel-row>span:first-child{width:155px}.chart-bar{font-size:14px}.intro-card p{font-size:14px}.auth-form h1{font-size:34px}.auth-form p{font-size:16px}.integration-list article p,.integration-card p{font-size:14px}.command-hero h1{font-size:40px}.command-hero p{font-size:17px}.pipeline-summary>div>span{font-size:15px}.pipeline-summary small{font-size:13px}.pipeline-focus button,.stage-rail button,.pipeline-search button{font-size:14px}.pipeline-guide{font-size:14px}.pipeline-lane{flex-basis:320px}.lane-header h2{font-size:17px}.lane-step,.lane-count{font-size:13px}.lane-total{font-size:20px}.pipeline-card-top .badge,.deal-age{font-size:13px}.deal-title{font-size:19px}.deal-company{font-size:15px}.deal-company small{font-size:13px}.deal-value{font-size:26px}.waiting-label,.deal-owner,.deal-update{font-size:13px}.deal-owner>span:last-child{max-width:88px}.deal-owner .avatar{font-size:11px}.lane-empty strong{font-size:15px}.lane-empty span{font-size:13px}.pipeline-tools select{font-size:15px}
@media(max-width:760px){body{font-size:16px}h1{font-size:29px}h2{font-size:20px}.command-hero h1{font-size:32px}.command-hero p{font-size:15px}.navbtn{font-size:16px;min-height:46px}.sidebar{overflow-y:auto}.field label{font-size:15px}.dashboard-toolbar>.small{font-size:13px}.funnel-row>span:first-child{font-size:13px;width:135px}.form-footer button{font-size:16px}.pipeline-guide{font-size:13px}.pipeline-summary>div>span{font-size:14px}.pipeline-summary small{font-size:12px}.pipeline-focus button{font-size:13px}.pipeline-lane{flex-basis:min(320px,calc(100vw - 42px))}.pipeline-summary .pipeline-value-summary{font-size:22px}.deal-title{font-size:18px}.stage-rail button{min-height:44px}.pipeline-search button{min-height:42px}.pipeline-tools select{font-size:16px}}
.role-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:28px}.role-card{border:1px solid #dfe9ef;border-top:4px solid #437c9c;background:#fff;border-radius:13px;padding:22px;min-width:0}.role-card h3{margin:16px 0 8px;font-size:18px}.role-card p{font-size:14px;line-height:1.8;color:#627988}.role-admin{border-top-color:#6376b4;background:linear-gradient(140deg,#fff,#f3f3fb)}.role-sales_manager{border-top-color:#006b92;background:linear-gradient(140deg,#fff,#edf7fb)}.role-agent{border-top-color:#37947a;background:linear-gradient(140deg,#fff,#eff9f4)}.role-operations{border-top-color:#ba8a43;background:linear-gradient(140deg,#fff,#fcf6ec)}.role-summary{display:flex;align-items:flex-start;gap:15px;padding:22px;background:#eaf4f9;border:1px solid #ccdfeb;border-radius:13px;margin-bottom:24px}.role-summary p{font-size:14px}.role-badge{margin-top:12px}.kpi:nth-child(1){border-top:3px solid #328f83}.kpi:nth-child(2){border-top:3px solid #6384bd}.kpi:nth-child(3){border-top:3px solid #bb914d}.kpi:nth-child(4){border-top:3px solid #c16d7c}.metric-strip>div{background:linear-gradient(120deg,#fff,#edf5f9)}.navbtn.active{box-shadow:inset 3px 0 #006b92}.pipeline-summary>div:nth-child(1){border-top:3px solid #4b8ead}.pipeline-summary>div:nth-child(2){border-top:3px solid #7182bb}.pipeline-summary>div:nth-child(3){border-top:3px solid #c79851}.pipeline-summary>div:nth-child(4){border-top:3px solid #499782}
@media(max-width:1100px){.role-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.role-grid{grid-template-columns:1fr}.role-card{padding:18px}.role-summary{padding:16px}}
/* Persistent, independently scrolling navigation */
.layout{--sidebar-width:260px;grid-template-columns:var(--sidebar-width) minmax(0,1fr);transition:grid-template-columns .24s ease}.layout.sidebar-collapsed{--sidebar-width:84px}.sidebar{height:100dvh;min-height:0;overflow:hidden;padding:20px 12px 12px;gap:8px}.sidebar-head{flex-shrink:0;position:relative;display:flex;flex-direction:column;align-items:stretch;gap:8px}.sidebar .brand{margin:0;padding:8px;min-height:52px;justify-content:center}.sidebar .brand-logo{width:160px;max-width:100%;height:auto}.sidebar-toggle{align-self:flex-end;min-height:36px;padding:6px 10px}.sidebar nav.sidebar-scroll{display:block;flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#bdcbd2 transparent}.nav-group{display:grid;gap:4px;padding-bottom:14px}.nav-group+.nav-group{border-top:1px solid #edf1f4;padding-top:8px}.sidebar .nav-label{margin:8px 12px;font-size:12px;white-space:nowrap;letter-spacing:.03em}.sidebar .navbtn{width:100%;min-height:46px;display:flex;gap:12px;white-space:nowrap;text-align:start}.sidebar .icon{flex-shrink:0;width:21px;height:21px}.nav-text{opacity:1;transition:opacity .15s ease;overflow:hidden;text-overflow:ellipsis}.sidebar-bottom{margin-top:0;padding-top:10px;flex-shrink:0;border-top:1px solid #e7edf1}.sidebar-tools{display:flex;justify-content:space-around;gap:4px;margin-bottom:10px}.tool-button{border:0;background:transparent;color:#607482;min-width:44px;min-height:44px;padding:10px;display:grid;place-items:center;border-radius:12px}.tool-button .nav-text{display:none}.tool-button:hover,.tool-button.active{background:#e9f5f1;color:#087d69}.sidebar .userbox{margin:0;gap:8px;min-width:0}.user-details{flex:1;min-width:0}.user-details strong,.user-details small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block}.logout-button{padding:8px;min-width:40px;min-height:44px}.sidebar-collapsed .sidebar .navbtn{justify-content:center;padding-inline:10px;gap:0}.sidebar-collapsed .sidebar .nav-text,.sidebar-collapsed .nav-label,.sidebar-collapsed .user-details{width:0;opacity:0;overflow:hidden;margin-inline:0}.sidebar-collapsed .nav-label{height:4px;margin-block:4px}.sidebar-collapsed .sidebar-tools,.sidebar-collapsed .userbox{flex-direction:column}.sidebar-collapsed .sidebar-tools{gap:0;margin-bottom:2px}.sidebar-collapsed .sidebar .brand{padding:0;min-height:34px}.sidebar-collapsed .sidebar-toggle{align-self:center}.sidebar-collapsed .sidebar-toggle .icon{transform:rotate(180deg)}.mobile-nav{display:none}.help-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),1fr));gap:20px}.help-card{padding:24px}.help-card p{line-height:1.8;color:#61727e}.help-card>.icon{width:32px;height:32px;color:#088b75}.main{min-width:0}button:focus-visible{outline:3px solid #33ad99;outline-offset:3px}
@media(max-width:760px){.layout,.layout.sidebar-collapsed{display:block}.sidebar,.sidebar-collapsed .sidebar{width:280px;max-width:calc(100vw - 42px);padding-top:16px;inset-inline-start:-300px;z-index:41}.sidebar.shown{inset-inline-start:0}.nav-backdrop{z-index:40}.sidebar-toggle{display:none}.sidebar-head{padding-inline-end:36px}.sidebar .menu-close{position:absolute;inset-inline-end:0;top:5px}.sidebar-collapsed .sidebar .brand{padding:8px;min-height:52px}.sidebar-collapsed .sidebar .navbtn{justify-content:flex-start;padding-inline:12px;gap:12px}.sidebar-collapsed .sidebar .nav-text,.sidebar-collapsed .nav-label,.sidebar-collapsed .user-details{width:auto;opacity:1}.sidebar-collapsed .nav-label{height:auto;margin:8px 12px}.sidebar-collapsed .sidebar-tools,.sidebar-collapsed .userbox{flex-direction:row}.sidebar-collapsed .sidebar-tools{margin-bottom:10px}.sidebar-collapsed .tool-button .nav-text{display:none}.mobile-nav{position:fixed;bottom:0;inset-inline:0;z-index:20;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));background:rgba(255,255,255,.97);backdrop-filter:blur(14px);border-top:1px solid #e2e9ed;padding:7px 6px calc(7px + env(safe-area-inset-bottom));box-shadow:0 -4px 24px #18344609}.mobile-nav-item{background:transparent;border:0;color:#647785;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;font-size:11px;min-height:52px;padding:5px 2px;border-radius:12px;min-width:0}.mobile-nav-item.active{background:#e8f6f1;color:#087c69;font-weight:700}.mobile-nav-item .icon{width:22px;height:22px}.mobile-nav-item span{max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.main{padding-bottom:calc(82px + env(safe-area-inset-bottom))}.top-actions .account-trigger{font-size:0;gap:0;padding:10px;min-width:44px}.top-actions .account-trigger .icon{width:22px;height:22px}.topbar{gap:8px}.footer-note{padding-bottom:10px}}
@media(prefers-reduced-motion:reduce){.layout,.nav-text,.sidebar{transition:none!important}}
.catalog-editor{padding:24px;min-width:0}.catalog-intro{margin:0 0 24px;color:#637b88;line-height:1.7}.catalog-section{padding:0 0 26px;margin-bottom:24px;border-bottom:1px solid #e6edf1}.catalog-section-heading,.catalog-section-heading>div{display:flex;align-items:center;gap:10px}.catalog-section-heading{justify-content:space-between;margin-bottom:14px;flex-wrap:wrap}.catalog-section-heading h3{font-size:17px;margin:0}.catalog-section-heading .icon{color:#087e73}.catalog-items{max-height:296px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;padding:2px 4px;display:grid;gap:8px}.catalog-row{display:flex;align-items:center;gap:9px;background:#f6f9fb;border:1px solid #e4ecf0;border-radius:11px;padding:6px 8px}.catalog-row:focus-within{border-color:#279c8a;background:white;box-shadow:0 0 0 3px #279c8a15}.catalog-row input{width:100%;min-width:0;border:0;background:transparent;box-shadow:none;padding:8px 2px;font-size:16px}.catalog-row-dot{width:6px;height:6px;background:#42a994;flex-shrink:0;border-radius:50%}.catalog-remove{min-width:40px;min-height:40px;padding:8px;color:#84939c}.catalog-remove:hover{color:#b44343;background:#fff0f0}.stage-editor{display:grid;gap:10px}.stage-edit-row{display:grid;grid-template-columns:28px minmax(0,1fr) minmax(0,1fr);gap:10px;background:#f7f9fc;border:1px solid #e8edf3;border-radius:12px;padding:12px;align-items:center}.stage-number{width:26px;height:26px;border-radius:50%;background:#e2edf4;color:#346780;font-size:12px;display:grid;place-items:center;font-weight:700}.stage-edit-row label{min-width:0;display:grid;gap:6px}.stage-edit-row label>span{font-size:12px;color:#718692}.stage-edit-row input{width:100%;min-width:0;font-size:15px;padding:10px;background:white}.catalog-save{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.catalog-save button{display:flex;align-items:center;gap:8px;min-height:46px}.settings-grid>div{min-width:0}@media(max-width:760px){.catalog-editor{padding:16px}.stage-edit-row{grid-template-columns:24px minmax(0,1fr);gap:8px}.stage-edit-row label:last-child{grid-column:2}.stage-number{align-self:start;margin-top:25px}.catalog-save{flex-direction:column;align-items:stretch}.catalog-save button{justify-content:center}.catalog-section-heading .small{font-size:13px}.catalog-items{max-height:320px}}
/* Keep the original brand symbol legible in the desktop icon rail. */
@media(min-width:761px){.sidebar-collapsed .sidebar .brand{height:44px;min-height:44px;align-items:center;justify-content:center}.sidebar-collapsed .sidebar .brand-logo{display:none}.sidebar-collapsed .sidebar .brand::after{content:"";display:block;width:40px;height:23px;background:url('/logo.png') no-repeat left top;background-size:110px auto;flex-shrink:0}}
.reference-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;gap:10px;padding:12px;border:1px solid var(--line);border-radius:12px;background:#f7fafc}.reference-rows{display:grid;gap:10px;max-height:55vh;overflow:auto}.reference-row label{min-width:0;font-size:12px}.reference-row input{width:100%;min-width:0}.reference-row button{min-width:40px;min-height:40px}.bulk-preview{max-height:45vh;overflow:auto;display:grid;gap:8px}.bulk-preview label,.usage-products label{display:flex;gap:10px;align-items:center;padding:8px;background:#f6f9fb;border-radius:8px}.bulk-preview input,.usage-products input{width:20px;height:20px}.usage-products{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:8px;border:1px solid var(--line);border-radius:12px;padding:14px}.usage-products legend{padding:0 8px}.auth:not(.recovery) .auth-form .auth-logo{display:none}
@media(max-width:760px){.reference-row{grid-template-columns:minmax(0,1fr)}.auth{display:flex;flex-direction:column}.auth-art{display:flex;min-height:0;padding:22px;align-items:center;justify-content:center}.auth-art>.orb,.auth-art>div:not(.auth-logo-card),.auth-art>small{display:none}.auth-art .auth-logo-card{padding:12px 20px}.auth-art .auth-logo{width:150px}.auth-form{padding-top:28px}}
.google-signin{width:100%;justify-content:center;gap:10px;margin-top:14px;background:white;border:1px solid #cedee6;min-height:48px}

/* Contextual help: keyboard, touch, RTL, top-layer dialogs. */
.guide-dot,.guide-launch{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;border:1px solid #b9dbe6;border-radius:50%;background:#eaf7fc;color:#006b92;font:700 14px inherit;cursor:help;vertical-align:middle;min-height:28px;width:28px;padding:0;margin-inline-start:8px;line-height:1}
.guide-launch{width:38px;min-height:38px;margin:0;cursor:pointer;font-size:20px}.auth-form .guide-launch{align-self:flex-end;margin-bottom:12px}.guide-dot:hover,.guide-launch:hover{background:#ccecf7;border-color:#007fa6}.guide-dot:focus-visible,.guide-launch:focus-visible{outline:3px solid #26a6ce;outline-offset:3px}.field label .guide-dot{width:24px;min-height:24px;font-size:12px}.guide-tooltip{position:fixed;z-index:10000;width:max-content;max-width:min(330px,calc(100vw - 24px));background:#0d3041;color:#fff;border:1px solid #39758d;box-shadow:0 10px 35px #092a4333;border-radius:12px;padding:14px 16px;font-size:14px;line-height:1.7;white-space:normal;pointer-events:auto;animation:guide-in .14s ease-out}
.guide-dialog{width:min(560px,calc(100vw - 24px));max-height:85dvh;border:1px solid #c8e0e8;border-radius:20px;padding:24px;background:#f9fcfe;color:#143b4d;box-shadow:0 24px 90px #08283d45}.guide-dialog::backdrop{background:#092b4666;backdrop-filter:blur(2px)}.guide-dialog>header{display:flex;justify-content:space-between;align-items:center;gap:12px}.guide-dialog h2{font-size:23px;margin:0}.guide-dialog p{font-size:16px;line-height:1.8}.guide-dialog button{min-height:44px}.guide-close{font-size:24px;border:0;background:transparent}.guide-dialog input{width:100%;margin:18px 0;border:1px solid #b9d4df;border-radius:10px;padding:12px;font:inherit;font-size:16px}.guide-start{background:#006b92;color:white;border:0;border-radius:10px;padding:10px 18px}.guide-topics details{border-bottom:1px solid #d8e6ec;padding:12px 0}.guide-topics summary{cursor:pointer;font-weight:700;font-size:17px;padding:8px 0}.guide-topics p{color:#415e6c;margin:8px 0}.guide-tour{position:fixed;inset:0;max-width:none;max-height:none;width:100%;height:100%;margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;overflow:hidden}.guide-tour::backdrop{background:#08283d38;backdrop-filter:none}.guide-ring{position:fixed;pointer-events:none;border:3px solid #36c5ed;border-radius:14px;box-shadow:0 0 0 9999px #08283d55}.guide-tour-card{position:fixed;width:min(390px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:auto;background:#fff;border:1px solid #a7d7e6;border-radius:18px;padding:22px;box-shadow:0 16px 60px #08283d66;animation:guide-in .18s ease-out}.guide-tour-card small{color:#006b92;display:block;margin-bottom:10px;font-weight:700}.guide-tour-actions{display:flex;gap:8px;flex-wrap:wrap}.guide-tour-actions button{flex:1;border-radius:10px}.guide-tour-actions button:disabled{opacity:.4}.guide-tour-card h2{font-size:21px}.guide-tour-card p{margin:14px 0 20px}@keyframes guide-in{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}@media(prefers-reduced-motion:reduce){.guide-tooltip,.guide-tour-card{animation:none}}@media(max-width:600px){.guide-dialog{padding:18px}.guide-tour{padding:0}.guide-tour-card{padding:18px}.guide-dot{min-height:30px;width:30px}.field label .guide-dot{width:30px;min-height:30px}.top-actions .guide-launch{width:34px;min-height:38px}.guide-tour-card p{font-size:15px}}

.period-caption{display:flex;align-items:center;gap:8px;font-size:14px;color:#356070}.dashboard-toolbar{flex-wrap:wrap}.dashboard-toolbar>.segmented{flex-wrap:wrap}.dashboard-toolbar>.muted{flex-basis:100%}.guide-dot{font-family:inherit;font-weight:700;font-size:14px}.weekly-chart{gap:8px}.weekly-chart small{font-size:11px}@media(max-width:600px){.dashboard-toolbar>.segmented{width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.period-caption{width:100%;justify-content:space-between}.dashboard-toolbar .segmented button{font-size:15px;padding:10px 6px}.weekly-chart{gap:4px}.weekly-chart small{font-size:10px}}
.guide-tour-card progress{display:block;width:100%;height:5px;border:0;border-radius:5px;margin:0 0 18px;accent-color:#00a0c9}.guide-tour-card progress::-webkit-progress-bar{background:#e5f1f6;border-radius:5px}.guide-tour-card progress::-webkit-progress-value{background:linear-gradient(90deg,#006b92,#34cae9);border-radius:5px;transition:width .25s ease}.guide-ring{animation:guide-highlight .6s ease-out}@keyframes guide-highlight{from{border-color:#fff;filter:brightness(1.4)}to{border-color:#36c5ed;filter:brightness(1)}}@media(prefers-reduced-motion:reduce){.guide-ring{animation:none}.guide-tour-card progress::-webkit-progress-value{transition:none}}

.avatar img{width:100%;height:100%;object-fit:cover;border-radius:inherit}.photo-actions{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 24px}.photo-editor{display:grid;justify-items:center;gap:16px;text-align:center}.photo-editor img{width:160px;height:160px;object-fit:cover;border-radius:24px;border:3px solid #d1e8f2}.photo-editor input{max-width:100%;font:inherit;font-size:16px}.photo-editor .field-hint{line-height:1.7}.photo-editor [hidden]{display:none}

.guide-label{display:flex;align-items:center;gap:4px}.guide-label .guide-dot{margin-inline-start:4px;min-height:28px;width:28px}.guide-label label{margin:0}

.live-catalog{border:1px solid var(--border,#dce4e9);border-radius:16px;padding:20px;margin-block:20px;background:var(--surface,#fff)}
.catalog-heading,.catalog-search,.catalog-result{display:flex;gap:14px;align-items:center}.catalog-heading{justify-content:space-between}.catalog-heading h3{margin:0}.catalog-search{align-items:end;flex-wrap:wrap;margin-block:16px}.catalog-search label{display:grid;gap:6px;flex:1;min-width:140px}.catalog-search input,.catalog-search select{width:100%;min-height:44px}.catalog-result{justify-content:space-between;padding:14px 0;border-bottom:1px solid #e8edf1}.catalog-result>div{min-width:0;overflow-wrap:anywhere}.catalog-result small{display:block;margin-top:5px;color:#526774}.catalog-result button{flex-shrink:0;min-height:44px}.catalog-details:not(:empty){margin-top:18px;border-top:2px solid #d9e7ed;padding-top:10px}.catalog-selected{background:#eaf7f0;border-radius:12px;padding:12px;color:#17603e}.live-catalog[aria-busy=true]{opacity:.65}.catalog-results>button,.catalog-details>button{margin-top:14px}@media(max-width:600px){.live-catalog{padding:14px}.catalog-search{display:grid;grid-template-columns:1fr}.catalog-search label{min-width:0}.catalog-result{align-items:start}.catalog-result strong{font-size:16px}}

.catalog-results>.catalog-details:not(:empty){margin:8px 0 18px;padding:16px;border:1px solid #c5e2ec;border-inline-start:4px solid #007797;border-radius:12px;background:#f4fafc;scroll-margin-block:100px}.catalog-details:focus-visible{outline:2px solid #007797;outline-offset:3px}.catalog-result button[aria-expanded=true]{background:#e4f2f7;color:#005d78}
/* Quotation workspace */
.quote-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:24px}.quote-summary article{padding:24px;display:flex;flex-direction:column;gap:8px}.quote-summary strong{font-size:36px;color:#007797}.quote-list>article{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:24px;border-bottom:1px solid #dce7e9}.quote-list .actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}.quote-list strong{font-size:22px}.quote-list a{padding:10px;color:#007797}.quote-dialog{width:min(1200px,96vw);max-width:1200px;padding:24px}.quote-editor{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:20px}.quote-editor .panel{margin-bottom:20px}.quote-line{padding:20px;margin:16px 0;background:#f3f8f9;border:1px solid #d7e5e8;border-radius:14px}.quote-totals{position:sticky;top:0;align-self:start}.quote-totals strong{display:block;font-size:30px;color:#007797;margin:20px 0}.quote-totals .primary{width:100%}.quote-editor textarea{width:100%;min-height:80px}.quote-editor input[type=checkbox]{width:20px;height:20px;vertical-align:middle}.quote-editor h3{color:#007797}.quote-dialog .modal-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}@media(max-width:760px){.quote-editor{grid-template-columns:1fr}.quote-totals{position:static}.quote-summary{gap:8px}.quote-summary article{padding:14px}.quote-summary strong{font-size:28px}.quote-list>article{display:block;padding:16px}.quote-dialog{padding:12px;max-height:95dvh}.quote-line{padding:12px}.quote-editor .form-grid{grid-template-columns:1fr}}
/* VAREUM Quote Studio: guided editor and responsive document review */
.q-heading h1{font-size:clamp(30px,3vw,42px);letter-spacing:-1px}.q-heading{margin-bottom:30px}.q-kpi-icon{color:#00849b;font-size:24px}.quote-summary article{position:relative;background:linear-gradient(120deg,#fff,#f5fafb)}.q-list-toolbar{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:20px;border-bottom:1px solid #e1eaee;flex-wrap:wrap}.q-filters{display:flex;gap:6px;flex-wrap:wrap}.q-filters button{border:0;background:transparent;color:#617882;padding:10px 14px;border-radius:10px}.q-filters button.active,.q-review-head button.active{background:#e3f3f5;color:#006d83;font-weight:700}.q-search{display:grid;font-size:13px;gap:5px;min-width:240px}.q-search input{min-height:42px}.q-doc-icon{width:46px;height:54px;display:grid;place-items:center;background:#edf7f9;color:#007797;border:1px solid #d2e8ec;border-radius:12px;font-size:26px;flex-shrink:0}.quote-list>article{justify-content:start}.q-row-title{flex:1}.q-row-title h2{margin:8px 0;font-size:20px}.q-row-title p{margin:4px 0}.q-row-value{text-align:end}.q-status{display:inline-flex;align-items:center;gap:6px;border-radius:30px;padding:4px 10px;font-size:12px;font-weight:700;background:#eef2f7;color:#536477}.q-status:before{content:'';width:6px;height:6px;border-radius:50%;background:currentColor}.q-status.sent{background:#e5f6ee;color:#168060}.q-status.expired{background:#fff1e7;color:#a65b1b}.q-status.sending{background:#fff7d9;color:#856700}.q-empty .q-doc-icon{margin:0 auto 20px}.q-empty{padding:56px 24px}.quote-dialog{width:calc(100vw - 48px);max-width:1440px;height:calc(100dvh - 48px);max-height:100dvh;padding:0;border-radius:20px;overflow:hidden;background:#f5f8fa}.quote-dialog::backdrop{background:#102d3db3;backdrop-filter:blur(5px)}#quote-form{height:100%;display:flex;flex-direction:column}.q-studio-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 30px;background:white;border-bottom:1px solid #dfe9ee;flex-shrink:0}.q-studio-header h2{margin:5px 0;font-size:24px}.q-studio-header small{font-size:12px;color:#6e818c}.q-stepper{display:flex;justify-content:center;background:#fff;padding:16px 24px;border-bottom:1px solid #dfe9ee;gap:12px;flex-shrink:0}.q-stepper button{display:flex;align-items:center;gap:10px;flex:1;max-width:270px;border:0;background:transparent;color:#6c7f8a;font-size:15px;padding:12px;border-radius:12px}.q-stepper b{display:grid;place-items:center;width:28px;height:28px;background:#edf2f5;border-radius:50%;font-size:13px}.q-stepper .active{color:#006c83;background:#edf7f9;font-weight:700}.q-stepper .active b{background:#007797;color:#fff}.q-studio-body{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:28px;padding:28px;overflow:auto;flex:1;min-height:0;align-items:start}.q-step-content{background:#fff;border:1px solid #dfe8ed;border-radius:16px;padding:28px;min-width:0;animation:q-enter .18s ease-out}.q-step-content>h2{font-size:26px;margin:0 0 8px;letter-spacing:-.5px}.q-step-intro{color:#6d7e88;line-height:1.6;margin:0 0 26px}.q-studio-summary{position:sticky;top:0;min-width:0}.q-summary-card{background:white;border:1px solid #dfe8ed;border-radius:16px;padding:24px}.q-summary-card h3{font-size:18px;overflow-wrap:anywhere}.q-breakdown{display:grid;gap:14px;margin:24px 0}.q-breakdown>div{display:flex;justify-content:space-between;gap:10px;font-size:14px}.q-breakdown dt{color:#637a87}.q-breakdown dd{margin:0;font-weight:700;white-space:nowrap}.q-total{padding:20px 0;border-top:1px solid #dfe8ed}.q-total span{font-size:13px}.q-total strong{display:block;font-size:30px;color:#006c83;letter-spacing:-1px;overflow-wrap:anywhere}.q-callout{border-radius:10px;padding:14px;background:#eff7fa;color:#486b7b;font-size:13px;line-height:1.7}.q-studio-footer{display:flex;align-items:center;justify-content:space-between;background:#fff;border-top:1px solid #dfe8ed;padding:14px 28px;flex-shrink:0}.q-studio-footer>span{color:#81939d;font-size:13px}.q-template-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:26px}.q-template{display:block;text-align:start;white-space:normal;padding:16px;border:1px solid #dce6ec;border-radius:12px;background:#fff}.q-template strong{display:block;font-size:15px}.q-template small{display:block;color:#71848e;font-size:12px;margin-top:7px;line-height:1.6}.q-template.active{border:2px solid #007797;background:#f0f9fa;padding:15px}.q-integration{margin-top:24px;padding:20px;border:1px solid #e0e8ed;border-radius:12px;display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px}.q-integration b{color:#c96138}.q-integration p{font-size:13px}.q-integration .full{flex-basis:100%}.q-product-tools{display:flex;gap:10px;flex-wrap:wrap}.quote-line{padding:18px;background:#fff;margin:18px 0;border:1px solid #dbe6eb;border-radius:12px}.q-line-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px;font-size:13px;color:#617c89}.q-line-head button{padding:5px 9px;border:0;background:#f3f7f9;font-size:12px}.q-line-main{display:grid;grid-template-columns:minmax(120px,3fr) minmax(60px,.8fr) minmax(85px,1fr) minmax(65px,.8fr);gap:12px}.q-line-options{display:flex;gap:18px;flex-wrap:wrap;font-size:13px;margin:15px 0;color:#566c77}.quote-line input[type=checkbox]{height:18px;width:18px;vertical-align:middle;accent-color:#007797}.quote-line summary{cursor:pointer;font-size:13px;color:#007797;padding:10px 0}.quote-line details[open]{border-top:1px solid #e4ecef}.quote-line .form-grid{margin-top:12px}.q-financial-fields{background:#f4f8fa;padding:20px;border-radius:12px}.quote-dialog .field{font-size:14px;font-weight:600;gap:7px}.quote-dialog input,.quote-dialog select,.quote-dialog textarea{font-size:16px;min-height:44px;width:100%;max-width:100%;border:1px solid #d6e2e9;border-radius:8px;padding:10px 12px;background:#fff;color:#193e50}.quote-dialog textarea{resize:vertical;font-weight:400}.q-checklist{list-style:none;padding:0;display:grid;gap:14px;font-size:13px;margin-top:24px}.q-checklist li{display:flex;gap:10px}.q-checklist .complete{color:#168060}.q-checklist .incomplete{color:#946b2f}.q-review-head{display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-bottom:24px}.q-review-head h2{margin:0}.q-review-head p{font-size:13px;color:#6c828e}.q-preview{padding:28px;background:white;border:1px solid #dce6eb;box-shadow:0 10px 30px #193e500a;max-width:900px;margin:auto;line-height:1.6;font-size:13px;overflow-wrap:anywhere}.q-preview.mobile{max-width:390px}.q-preview header{display:flex;justify-content:space-between;gap:20px;border-bottom:3px solid #007797;padding-bottom:24px}.q-preview img{width:150px;height:auto;object-fit:contain;align-self:start}.q-preview h1{color:#007797;font-size:28px;margin:0 0 10px}.q-preview h2{font-size:16px}.q-preview h3{color:#007797;font-size:15px}.q-preview .parties{display:grid;grid-template-columns:1fr 1fr;gap:24px;padding:16px;background:#f3f8fa;margin:20px 0}.q-preview table{width:100%;border-collapse:collapse;font-size:11px;table-layout:fixed;margin:20px 0}.q-preview th,.q-preview td{padding:10px 6px;border-bottom:1px solid #dce6eb;vertical-align:top;text-align:start;overflow-wrap:anywhere}.q-preview th{background:#ecf5f7}.q-preview th:first-child{width:40%}.q-preview small{display:block;color:#647f8c}.q-preview .terms{white-space:pre-wrap}.q-preview footer{border-top:1px solid #007797;padding-top:16px;font-size:10px;margin-top:28px}.q-preview.mobile header,.q-preview.mobile .parties{display:block}.q-preview.mobile img{margin-bottom:20px}.q-send-review{height:100%;overflow:auto}.q-send-review>.q-callout,.q-send-review>.q-preview{margin:24px}.q-send-review .q-studio-footer{position:sticky;bottom:0}.q-remote{background:#f3f8fa;border:1px solid #dce7ec;border-radius:12px;margin-top:20px;padding:20px}.q-remote-search{display:flex;gap:10px;align-items:end;flex-wrap:wrap}.q-remote-search label{flex:1;min-width:120px;font-size:13px}.q-remote-results article{display:flex;justify-content:space-between;gap:14px;align-items:center;padding:14px 0;border-bottom:1px solid #dce7ec}.q-remote-results article>div{min-width:0}.q-remote-results small{display:block;margin-top:5px;overflow-wrap:anywhere}.q-remote-results b{font-size:14px}.q-remote-results button{flex-shrink:0}.q-remote p{font-size:13px}.q-studio-header .actions{display:flex;gap:8px}@keyframes q-enter{from{opacity:.4;transform:translateY(4px)}to{opacity:1;transform:none}}@media(prefers-reduced-motion:reduce){.q-step-content{animation:none}}@media(max-width:1000px){.q-studio-body{grid-template-columns:minmax(0,1fr) 250px;padding:18px;gap:16px}.q-step-content{padding:20px}.q-template-grid{grid-template-columns:1fr}.q-template small{margin-top:3px}.q-line-main{grid-template-columns:1fr 1fr}.q-studio-header{padding:16px 20px}.q-stepper{gap:4px;padding:10px}.q-stepper button{font-size:13px}}@media(max-width:700px){.quote-dialog{width:100vw;height:100dvh;max-width:100vw;border-radius:0;margin:0}.q-studio-header{padding:12px;gap:10px}.q-studio-header h2{font-size:18px}.q-studio-header .eyebrow{font-size:9px}.q-studio-header button{padding:9px;font-size:12px}.q-stepper{padding:8px 6px}.q-stepper button{flex-direction:column;gap:5px;padding:6px 2px;font-size:11px}.q-stepper b{height:24px;width:24px}.q-studio-body{display:block;padding:12px}.q-step-content{padding:16px;border-radius:12px}.q-studio-summary{position:static;margin-top:14px}.q-summary-card{padding:18px}.q-template-grid{grid-template-columns:1fr}.q-line-head{flex-wrap:wrap}.q-studio-footer{padding:12px}.quote-list>article{display:flex;flex-wrap:wrap;gap:12px}.q-row-value{flex-basis:100%;text-align:start}.q-doc-icon{width:34px;height:42px}.q-preview{padding:14px}.q-preview header,.q-preview .parties{display:block}.q-preview img{width:130px;margin-bottom:18px}.q-list-toolbar{padding:12px}.q-search{width:100%}.q-remote-search{display:grid}.q-send-review>.q-preview,.q-send-review>.q-callout{margin:12px}.q-studio-body .form-grid{grid-template-columns:1fr}.q-step-content>h2{font-size:22px}.q-remote-results article{flex-wrap:wrap}}
@media(max-width:700px){.quote-dialog{width:calc(100vw - 20px);max-width:calc(100vw - 20px);margin:0 auto;border:0;box-sizing:border-box}.q-studio-header{flex-wrap:wrap}.q-studio-header .actions{flex-shrink:0}.q-stepper button{min-width:0}}

/* Compact, responsive product variants. */
.catalog-detail-heading{display:flex;align-items:start;justify-content:space-between;gap:16px;margin-bottom:16px}.catalog-detail-heading h4{margin:4px 0;font-size:19px;line-height:1.5}.catalog-detail-heading>div{min-width:0;overflow-wrap:anywhere}.catalog-detail-heading>button{flex-shrink:0;min-width:44px;min-height:44px;display:grid;place-items:center}.catalog-detail-heading small{color:#526774}.catalog-variant-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr));gap:12px}.catalog-variant{display:flex;align-items:center;gap:16px;flex-wrap:wrap;background:#fff;border:1px solid #d9e7ed;border-radius:12px;padding:16px;min-width:0}.catalog-variant-name{flex:1;min-width:140px;overflow-wrap:anywhere}.catalog-variant-name strong{font-size:16px;line-height:1.5}.catalog-variant-name>small{display:block;color:#526774;margin-top:6px}.catalog-variant-price{font-size:19px;font-weight:700;color:#006b85;white-space:nowrap;font-variant-numeric:tabular-nums}.catalog-variant-price small{font-size:12px;font-weight:500}.catalog-variant>button{min-height:44px}.catalog-results>.catalog-details:not(:empty){background:#f7fafc}@media(max-width:600px){.catalog-variant-grid{grid-template-columns:1fr}.catalog-variant{padding:12px;gap:12px}.catalog-detail-heading h4{font-size:17px}}

/* Respect hidden controls, including completed import actions. */
[hidden]{display:none!important}
#hubspot-bulk-summary dl{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px 20px;align-items:center;padding:18px;background:#f4fafc;border:1px solid #d9e7ed;border-radius:12px}#hubspot-bulk-summary dd{margin:0;font-size:20px;font-weight:700;color:#006b85;font-variant-numeric:tabular-nums}#hubspot-bulk-summary h3{color:#17603e}

.archive-list{max-height:45vh;overflow:auto;margin:16px 0;border:1px solid var(--line,#dce5ea);border-radius:12px}.archive-choice{display:flex;align-items:center;gap:12px;padding:12px;border-bottom:1px solid #e8edf1;cursor:pointer}.archive-choice input{width:20px;height:20px;flex:0 0 20px}.archive-choice small{display:block;color:#62727d;overflow-wrap:anywhere}.archive-choice span{min-width:0}

.catalog-description{margin:12px 0;padding:14px;border-radius:12px;background:#f4f9fa;min-width:0}.catalog-description p{white-space:pre-wrap;overflow-wrap:anywhere;max-height:320px;overflow:auto;line-height:1.75}.catalog-description summary{cursor:pointer;font-weight:700}

.searchable-select{display:flex;flex-direction:column;gap:6px;min-width:0;width:100%}.searchable-select .select-search{width:100%;min-width:0;font-size:14px;padding:9px 12px;background:#f7fafb;border:1px solid #dce7eb;border-radius:8px}.searchable-select select{width:100%;min-width:0}.searchable-select select[size]:not([size="1"]){min-height:100px;max-height:210px}.select-search-status{font-size:12px;color:#627884}.filters>.searchable-select{width:auto;min-width:140px;flex:1}.select-search-status[hidden]{display:none!important}
/* Collections workspace */
.collection-alert{display:flex;align-items:center;justify-content:space-between;width:100%;padding:12px 18px;margin-bottom:20px;background:#fff5e6;border:1px solid #f0cc88;color:#855018;border-radius:12px;text-align:start}.collection-toolbar{display:flex;align-items:end;gap:16px;flex-wrap:wrap;margin-bottom:20px}.collection-toolbar .field{min-width:160px;flex:1;margin:0}.collection-toolbar p{flex:2}.collection-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:24px}.collection-kpi{text-align:start;border-top:4px solid #007797;padding:22px;display:grid;gap:14px}.collection-kpi strong{font-size:clamp(21px,2vw,32px)}.collection-kpi.overdue{border-top-color:#cd4d57}.collection-kpi.dueSoon{border-top-color:#e6a539}.collection-kpi.paid{border-top-color:#229d85}.collection-aging{padding:24px;margin-bottom:24px}.collection-aging>div{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:20px}.collection-aging article{display:grid;gap:12px}.collection-aging strong{font-size:20px}.collection-track{height:8px;border-radius:8px;background:#eaf0f2;overflow:hidden}.collection-track i{display:block;height:100%;background:#0886a0;border-radius:8px}.collection-aging article:nth-child(n+3) i{background:#d37852}.collection-register{padding:22px}.collection-table{overflow:auto}.collection-table table{width:100%;min-width:760px}.collection-table td{vertical-align:middle;padding:16px 12px}.collection-table small{display:block;margin-top:7px;color:#657d89}.invoice-overdue{background:#ffe5e7;color:#a02d3d}.invoice-paid{background:#ddf5ec;color:#17634d}.invoice-dueSoon,.invoice-partial{background:#fff0d6;color:#8b5c15}.invoice-void{background:#edf0f2;color:#62717a}.invoice-open{background:#e5f2f7;color:#126380}.collection-detail-summary{display:flex;gap:20px;align-items:center;margin:20px 0}.invoice-payment{display:flex;justify-content:space-between;gap:20px;border-bottom:1px solid #e5ecef;padding:14px 0}.invoice-payment small{display:block;color:#657d89}.q-customer-create{padding:20px;background:#f1f8fa;border:1px solid #c7e1e9;border-radius:14px}.q-customer-create button{margin:6px}.collection-table .actions{flex-wrap:wrap}@media(max-width:900px){.collection-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.collection-aging>div{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.collection-register{padding:12px}.collection-kpis{gap:10px}.collection-kpi{padding:15px}.collection-table table{min-width:0}.collection-table thead{display:none}.collection-table tbody,.collection-table tr,.collection-table td{display:block}.collection-table tr{border:1px solid #dce8ed;border-radius:14px;margin-bottom:14px;padding:10px}.collection-table td{border:0;padding:7px}.collection-table td:nth-child(2),.collection-table td:nth-child(3){font-size:14px}.collection-aging{padding:16px}.collection-aging strong{font-size:16px}.collection-detail-summary{flex-wrap:wrap}}
.partner-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:20px}.partner-card{border:1px solid var(--border,#dbe8ed);border-radius:18px;padding:24px;background:linear-gradient(145deg,#fff,#f4fafb);overflow-wrap:anywhere}.partner-card h2{font-size:1.25rem;margin:12px 0}.partner-avatar{width:48px;height:48px;border-radius:14px;background:#d9f0f4;color:#006d82;display:grid;place-items:center;font-weight:700}.partner-card .actions{margin-top:20px}.po-line{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:12px;padding:16px;border:1px solid #dbe8ed;border-radius:12px;margin:12px 0}.po-line label{display:grid;gap:6px}.po-line input,.po-line textarea{width:100%;min-width:0}.po-description{grid-column:1/-1}@media(max-width:600px){.po-line{grid-template-columns:1fr 1fr}.partner-grid{grid-template-columns:1fr}}
.user-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin:24px 0}.user-stats article{background:#fff;border:1px solid #dce7ec;border-radius:16px;padding:22px;display:grid;gap:8px}.user-stats strong{font-size:32px;color:#007797}.user-tabs{display:flex;gap:6px;border-bottom:1px solid #dbe5ea;margin:24px 0}.user-tabs button{border:0;border-radius:10px 10px 0 0;background:transparent;padding:16px 24px}.user-tabs .selected{background:#e0f2f5;color:#006c83;border-bottom:3px solid #007797}.user-filters{display:grid;grid-template-columns:2fr 1fr 1fr;gap:20px;padding:24px;border-bottom:1px solid #e2eaf0}.user-directory-row{display:grid;grid-template-columns:2fr 1.2fr .6fr 1.5fr;align-items:center;gap:20px;padding:24px;border-bottom:1px solid #edf1f4;transition:background .15s}.user-directory-row:hover{background:#f6fafc}.user-identity{display:flex;gap:14px;align-items:center;min-width:0}.user-identity>div{min-width:0;overflow-wrap:anywhere}.user-directory-row small{display:block;margin-top:6px;color:#6a7e88}.user-initials{background:#e2f3f5;color:#00718b;border-radius:14px;min-width:48px;height:48px;display:grid;place-items:center;font-size:20px;font-weight:700}.user-check{display:flex;align-items:center;gap:12px}.user-check input{width:20px;height:20px;accent-color:#007797}.user-check[hidden]{display:none}.user-access-summary{background:#ecf7fa;border-inline-start:4px solid #007797;border-radius:12px;padding:18px;line-height:1.8}.role-symbol{font-size:30px;color:#007797}.role-accountant{background:#eff7ed;color:#3c7146}.role-procurement{background:#f2effa;color:#695194}.user-matrix,.user-settings-link{padding:24px;margin:24px 0}.user-matrix td{text-align:center}.role-grid .role-card h2{font-size:22px}.role-grid .role-card p{line-height:1.8}@media(max-width:1000px){.user-directory-row{grid-template-columns:1fr 1fr}.user-filters{grid-template-columns:1fr 1fr}.user-filters>.field:first-child{grid-column:1/-1}}@media(max-width:600px){.user-stats{grid-template-columns:1fr 1fr;gap:10px}.user-directory-row{display:flex;flex-wrap:wrap;gap:14px;padding:18px}.user-identity{width:100%}.user-tabs button{padding:14px}.user-filters{display:block;padding:18px}.user-filters .field{margin-bottom:14px}}
.customer-heading{align-items:center}.customer-heading h1{font-size:clamp(30px,3vw,42px);margin-bottom:10px}.customer-heading .actions{flex-shrink:0}.customer-actions{position:relative}.customer-actions summary,.customer-filter-drawer summary{cursor:pointer;display:flex;align-items:center;gap:10px;list-style:none;font-weight:600}.customer-actions summary{background:#fff;border:1px solid #dce7ec;padding:13px 18px;border-radius:12px}.customer-action-menu{position:absolute;inset-inline-end:0;top:calc(100% + 10px);min-width:240px;z-index:40;background:#fff;padding:10px;border:1px solid #dce7ec;box-shadow:0 16px 40px #143b5026;border-radius:14px;display:grid;gap:5px}.customer-action-menu button{justify-content:flex-start;border:0;text-align:start}.customer-action-menu button:hover{background:#eaf6f8}.customer-controls{padding:22px;margin-bottom:24px}.customer-search-row{display:flex;gap:18px;align-items:center;flex-wrap:wrap}.customer-search{display:flex;align-items:center;gap:12px;flex:1;min-width:220px;background:#f4f8fa;border:1px solid #dce7ec;border-radius:12px;padding:0 14px}.customer-search input{width:100%;border:0;background:transparent;min-height:48px;box-shadow:none}.customer-result-count{font-size:14px;color:#587481}.customer-filter-drawer{margin-top:18px;border-top:1px solid #e4ecf0;padding-top:16px}.customer-filter-drawer .filters{padding-top:18px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.customer-filter-drawer[open] summary{color:#007797}.customer-brief{max-width:520px;margin:10px 0}.customer-description{font-size:14px;line-height:1.75;color:#4e6b79;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;margin:8px 0}.customer-sectors{display:flex;gap:6px;flex-wrap:wrap}.customer-sectors span{background:#edf5f8;border:1px solid #dcebf0;color:#346477;border-radius:8px;padding:4px 9px;font-size:12px}.organization-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:22px}.organization-card{padding:24px;display:flex;flex-direction:column;border-top:3px solid #07829d;transition:transform .18s,box-shadow .18s}.organization-card:hover{transform:translateY(-2px);box-shadow:0 12px 32px #163b5012}.organization-card-head{display:flex;gap:14px;align-items:center;margin-bottom:14px}.organization-card h2{font-size:21px;line-height:1.4;margin:0 0 6px;overflow-wrap:anywhere}.organization-mark{display:grid;place-items:center;min-width:48px;height:48px;border-radius:14px;background:#e7f3f7;color:#007797;font-weight:700}.organization-card footer{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-top:auto;padding-top:22px;border-top:1px solid #eaf0f3}.organization-card .customer-brief{margin-bottom:24px}.profile-source{font-size:13px;margin-bottom:14px}@media(max-width:900px){.customer-heading{flex-wrap:wrap}.customer-filter-drawer .filters{grid-template-columns:1fr 1fr}}@media(max-width:600px){.customer-controls{padding:16px}.customer-search{min-width:0;flex-basis:100%}.customer-filter-drawer .filters{grid-template-columns:1fr}.customer-heading>.actions{display:flex;flex-wrap:wrap;gap:10px}.customer-heading p{font-size:15px}.customer-search-row{gap:12px}.organization-grid{grid-template-columns:1fr}.organization-card{padding:20px}.customer-description{font-size:15px}.customer-register .mobile-card{cursor:pointer}}@media(prefers-reduced-motion:reduce){.organization-card{transition:none}}

/* Keep primary workspace actions and compact quote controls easy to target. */
.role-workspace-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:20px}.role-workspace-card{display:grid;text-align:start;gap:16px;padding:24px;white-space:normal}.role-workspace-card strong{font-size:22px}.role-workspace-count{font-size:36px;color:#007797}.role-workspace-card:hover{border-color:#007797;background:#f2fafb}.q-line-head>div,.q-review-head>div:last-child{display:flex;gap:8px;flex-wrap:wrap}.q-line-head button{min-height:40px;min-width:40px}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #00849b;outline-offset:3px}#main-content:focus{outline:none}@media(max-width:600px){.role-workspace-grid{grid-template-columns:1fr}.q-line-head{align-items:flex-start;gap:12px;flex-wrap:wrap}}

.guide-process-launch{width:auto;min-height:36px;padding:7px 12px;border-radius:10px;cursor:pointer;white-space:nowrap}.guide-field-caption{display:flex;align-items:center;gap:6px}.guide-field-caption .guide-dot{flex:0 0 28px}.guide-dialog>.guide-start{display:block;width:100%;margin:10px 0}.guide-topics{margin-top:16px}.guide-tour-card{overscroll-behavior:contain}@media(max-width:600px){.q-studio-header .actions{flex-wrap:wrap}.guide-process-launch{font-size:12px}.guide-tour-card{max-height:60dvh}}

#q-catalog .q-remote-results{max-height:380px;overflow:auto;overscroll-behavior:contain}#q-catalog .q-remote-results article{gap:12px}#q-catalog .q-remote-results article>div{min-width:0;overflow-wrap:anywhere}.q-result-count{display:block;margin:12px 0;color:#487080}


.analytics-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:20px 0}.analytics-panel{padding:22px;min-width:0}.analytics-panel h2{font-size:18px;margin:0 0 15px}.analytics-bar{width:100%;display:grid;grid-template-columns:minmax(90px,1fr) 2fr 40px;gap:12px;align-items:center;text-align:start;background:transparent;border:0;padding:12px 4px}.analytics-bar:hover,.analytics-bar[aria-pressed=true]{background:#edf5f8}.analytics-track{height:12px;border-radius:12px;background:#e7edf2;overflow:hidden}.analytics-track i{display:block;height:100%;background:#168c95;border-radius:12px}.analytics-value{display:flex;justify-content:space-between;padding:14px 0;border-bottom:1px solid #e7edf2}.analytics-value strong{font-size:23px}.analytics-trend{display:flex;align-items:flex-end;gap:10px;min-height:150px}.analytics-trend button{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:end;gap:8px;border:0;background:transparent;padding:6px;min-width:0}.analytics-trend i{display:block;width:min(100%,36px);background:#168c95;border-radius:5px 5px 0 0}.analytics-trend small{font-size:11px}.analytics-trend button:hover{background:#edf5f8}.collection-kpi.active{outline:2px solid #168c95}.analytics-note{font-size:12px;color:#526472;margin:12px 0}@media(max-width:760px){.analytics-grid{grid-template-columns:1fr}.analytics-panel{padding:16px}.analytics-bar{grid-template-columns:100px 1fr 28px}}

/* One-field accessible searchable select. */
.searchable-select{position:relative;display:block}.searchable-select select[hidden]{display:none!important}.searchable-select .select-search{background:#fff;padding-inline-end:28px}.select-options{position:absolute;inset-inline:0;top:calc(100% + 4px);max-height:240px;overflow:auto;z-index:100;background:#fff;border:1px solid #b8ccd5;border-radius:10px;box-shadow:0 10px 28px #12394d24}.select-options[hidden]{display:none}.select-options>[role=option],.select-options>[role=status]{padding:10px 12px;white-space:normal;cursor:pointer}.select-options>[role=option]:hover,.select-options>.active{background:#e4f4f7;color:#005a72}.select-options>[role=status]{color:#617780;cursor:default}

.field[hidden]{display:none!important}


/* Purchase order filters: one aligned control per field. */
.po-filters{display:grid;grid-template-columns:minmax(240px,2fr) minmax(180px,1fr) minmax(160px,1fr);gap:18px;align-items:end;padding:22px;margin-bottom:24px}
.po-filters .field{min-width:0;margin:0;display:flex;flex-direction:column;gap:8px;font-size:13px;font-weight:600;color:var(--muted)}
.po-filters input,.po-filters select{width:100%;min-width:0;height:46px;margin:0;font-weight:400;font-size:14px;color:var(--ink);background:#fff;border:1px solid #d8e4e9;border-radius:10px;padding:10px 12px}
.po-filters input:focus,.po-filters select:focus{outline:2px solid #74bbd4;outline-offset:2px}
.po-filter-summary{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid var(--line);padding-top:12px;color:var(--muted);font-size:13px;min-height:36px}
.po-filter-summary button{padding:4px 8px}
.po-results-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 22px;border-bottom:1px solid var(--line)}
.po-results-heading h2{margin:0;font-size:18px}
.po-results-heading .field{margin:0;min-width:180px;font-size:13px}
@media(max-width:900px){.po-filters{grid-template-columns:1fr 1fr}.po-filters .po-search{grid-column:1/-1}}
@media(max-width:520px){.po-filters{grid-template-columns:1fr;padding:16px;gap:14px}.po-results-heading{align-items:stretch;flex-direction:column;padding:16px}.po-results-heading .field{min-width:0}}

/* Keep the selected workspace section unmistakable in both directions. */
.sidebar-scroll .navbtn.active,.sidebar-scroll .navbtn[aria-current="page"]{position:relative;background:#dff1f6;color:#005c7d;font-weight:700;box-shadow:inset 0 0 0 1px #b8dce8}
.sidebar-scroll .navbtn.active::before{content:"";position:absolute;inset-inline-start:0;top:10px;bottom:10px;width:4px;border-radius:4px;background:#007b9d}
.sidebar-scroll .navbtn.active:hover{background:#d2eaf2}
.sidebar-scroll .navbtn.active .icon{stroke-width:2.1}

/* Close controls occupy a dedicated logical corner, independent of guide/actions. */
.modal-title,.q-studio-header,.guide-dialog>header{position:relative;min-height:48px;padding-inline-end:60px;gap:12px}
.modal-title{flex-wrap:wrap;justify-content:flex-start}
.modal-title h2{margin:0;overflow-wrap:anywhere}
.modal-title>.guide-process-launch{margin-inline-start:auto}
button.close-button{width:44px;height:44px;min-width:44px;min-height:44px;flex:0 0 44px;padding:0;align-items:center;justify-content:center;border:1px solid #cbdde5;border-radius:12px;background:#f2f7fa;color:#285467;cursor:pointer;touch-action:manipulation;transition:background-color .16s ease,border-color .16s ease,box-shadow .16s ease,transform .16s ease}
button.close-button svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;transition:transform .16s ease;pointer-events:none}
.modal-title>.close-button,.guide-dialog>header>.close-button{position:absolute;inset-inline-end:0;top:0}
.q-studio-header>.close-button{position:absolute;inset-inline-end:12px;top:12px}
.q-studio-header{padding-inline-end:68px}
button.close-button:focus-visible{outline:3px solid #007b9d;outline-offset:3px;box-shadow:0 0 0 5px #e0f3f8}
@media(hover:hover){button.close-button:hover{background:#e0eff5;border-color:#85b7cb;box-shadow:0 3px 10px #123e5014}button.close-button:hover svg{transform:rotate(8deg)}}
button.close-button:active{transform:scale(.94);background:#d2e8f1}
@media(prefers-reduced-motion:reduce){button.close-button,button.close-button svg{transition:none!important;transform:none!important}}

/* Sales pipeline: one search, progressive filters, and a single stage navigator. */
.pipeline-workbench{padding:20px;border:1px solid #d9e5ed;border-radius:20px;background:#fff;box-shadow:0 6px 24px #123e5005}
.pipeline-command-row,.pipeline-secondary-row{display:flex;align-items:center;justify-content:space-between;gap:20px}
.pipeline-command-row .pipeline-search{min-width:0;flex:1;margin:0;border:1px solid #d4e3ec;background:#f7fafc;border-radius:12px;padding:5px 8px;min-height:50px}
.pipeline-command-row .pipeline-search:focus-within{border-color:#007b9d;box-shadow:0 0 0 3px #007b9d18;background:#fff}
.pipeline-command-row .pipeline-search input{min-width:0;width:100%;background:transparent;font-size:15px}
.pipeline-command-row .pipeline-search button{min-height:38px;padding:6px 14px;border-radius:9px;font-size:13px;background:#fff;white-space:nowrap}
.pipeline-workbench .pipeline-view-toggle{width:auto;flex-shrink:0;background:#edf3f7;border-radius:12px;padding:4px;gap:3px}
.pipeline-workbench .pipeline-view-toggle button{min-height:42px;padding:9px 15px;font-size:13px;border-radius:9px;white-space:nowrap}
.pipeline-workbench .pipeline-view-toggle .selected{color:#086582;background:#fff;box-shadow:0 2px 5px #123e5012}
.pipeline-secondary-row{margin-top:16px;flex-wrap:wrap}
.pipeline-workbench .pipeline-focus{display:flex;flex-wrap:wrap;gap:6px;margin:0;padding:0}
.pipeline-workbench .pipeline-focus button{display:flex;align-items:center;gap:9px;border:1px solid transparent;border-radius:10px;background:transparent;color:#526e7e;min-height:42px;padding:8px 12px;font-size:13px}
.pipeline-workbench .pipeline-focus button>span{display:inline-grid;place-items:center;min-width:23px;height:23px;background:#eef3f6;border-radius:7px;font-size:12px;font-variant-numeric:tabular-nums}
.pipeline-workbench .pipeline-focus button.selected{background:#e9f5f9;border-color:#bbdde9;color:#006884;font-weight:600}
.pipeline-workbench .pipeline-focus button.selected>span{background:#fff;color:#006884}
.pipeline-sort-label{display:flex;align-items:center;gap:8px;color:#657e8e;font-size:12px;white-space:nowrap}
.pipeline-sort-label select{width:auto;min-height:40px;padding:7px 30px 7px 12px;font-size:13px;border-color:#dce6ed;border-radius:9px;background-color:#fff}
[dir=rtl] .pipeline-sort-label select{padding:7px 12px 7px 30px}
#pipeline-more-filters{margin-top:14px;border-top:1px solid #eaf0f4;padding-top:10px}
#pipeline-more-filters summary{display:flex;align-items:center;gap:8px;cursor:pointer;width:fit-content;min-height:40px;font-size:13px;font-weight:600;color:#426476;border-radius:8px;padding:5px 9px;list-style:none}
#pipeline-more-filters summary::-webkit-details-marker{display:none}
#pipeline-more-filters summary:after{content:'⌄';font-size:18px;transition:transform .18s}
#pipeline-more-filters[open] summary:after{transform:rotate(180deg)}
#pipeline-more-filters summary:hover{background:#f1f7fa}
.pipeline-filter-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;padding:14px 4px 6px;align-items:end}
.pipeline-filter-grid>label{display:flex;flex-direction:column;gap:6px;font-size:12px;color:#607b8b;min-width:0}
.pipeline-filter-grid select,.pipeline-filter-grid .searchable-select{width:100%;max-width:100%;min-width:0}
.pipeline-filter-grid select,.pipeline-filter-grid .searchable-select input,.pipeline-filter-grid>button{font-size:14px;min-height:44px;border-radius:10px}
.pipeline-filter-grid>button.selected{border-color:#a7d1e1;background:#e8f5fa;color:#006b8b}
.pipeline-applied{display:flex;align-items:center;gap:7px;flex-wrap:wrap;padding-top:12px;margin-top:10px;border-top:1px solid #eaf0f4}
.pipeline-applied>span{font-size:12px;color:#647e8e;margin-inline-end:4px}
.pipeline-applied .filter-token{min-height:36px;display:flex;align-items:center;gap:7px;font-size:12px;background:#f0f6fa;border:1px solid #dce8ef;border-radius:8px;padding:5px 9px;max-width:100%;overflow-wrap:anywhere}
.filter-token .icon{width:13px;height:13px;flex-shrink:0}
.pipeline-applied>.linkbtn{margin-inline-start:auto;font-size:12px;min-height:36px}
.pipeline-stages{margin:22px 0 8px}
.pipeline-results-bar{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:10px}
.pipeline-results-bar strong{font-size:15px;color:#274c60}.pipeline-results-bar [role=status]{font-size:13px;color:#657e8e;font-variant-numeric:tabular-nums}
.pipeline-stages .stage-rail{display:flex;gap:8px;overflow-x:auto;padding:4px 2px 12px;margin:0;scrollbar-width:thin;scrollbar-color:#b8cdd8 transparent}
.pipeline-stages .stage-rail button{display:flex;align-items:center;gap:10px;padding:9px 13px;min-height:44px;border:1px solid #dce7ef;border-radius:11px;background:#fff;font-size:13px;white-space:nowrap;flex-shrink:0;transition:background-color .16s,border-color .16s}
.pipeline-stages .stage-rail .stage-total{min-width:21px;text-align:center;border-radius:6px;background:#eff4f7;font-size:11px;padding:2px 5px;font-variant-numeric:tabular-nums}
.pipeline-stages .stage-rail button.selected{background:#123e52;border-color:#123e52;color:#fff;box-shadow:0 3px 9px #123e5018}
.pipeline-stages .stage-rail button.selected .stage-total{background:#ffffff22;color:#fff}
.pipeline-workbench button:focus-visible,.pipeline-workbench summary:focus-visible,.pipeline-stages button:focus-visible{outline:3px solid #007b9d;outline-offset:3px}
.pipeline-stages .stage-rail button:not(.selected):hover{border-color:#86b9cf;background:#f2f8fb}
.pipeline-no-results{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;border:1px dashed #c9dce7;border-radius:18px;min-height:230px;background:#f9fcfd;padding:28px;margin-top:16px}
.pipeline-no-results>.icon{height:30px;width:30px;color:#7295a9}.pipeline-no-results h2{font-size:20px;margin:14px 0 0}.pipeline-no-results p{color:#657e8e;font-size:14px;margin:8px 0 18px}
@media(max-width:1100px){.pipeline-command-row{flex-wrap:wrap;gap:12px}.pipeline-command-row .pipeline-search{flex-basis:60%}.pipeline-workbench .pipeline-view-toggle{margin-inline-start:auto}.pipeline-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.pipeline-workbench{padding:14px;border-radius:16px}.pipeline-command-row .pipeline-search{flex-basis:100%}.pipeline-workbench .pipeline-view-toggle{width:100%}.pipeline-workbench .pipeline-view-toggle button{flex:1}.pipeline-secondary-row{gap:12px}.pipeline-workbench .pipeline-focus{width:100%;gap:4px}.pipeline-workbench .pipeline-focus button{padding:7px 8px;font-size:12px;gap:6px;flex:1;justify-content:center}.pipeline-workbench .pipeline-focus button>span{min-width:18px;height:20px;font-size:11px}.pipeline-sort-label{width:100%;justify-content:space-between}.pipeline-sort-label select{max-width:70%;font-size:14px}.pipeline-filter-grid{grid-template-columns:1fr}.pipeline-applied>.linkbtn{margin-inline-start:0}.pipeline-stages{margin-top:16px}.pipeline-stages .stage-rail button{font-size:12px}.pipeline-results-bar{font-size:13px}}
@media(prefers-reduced-motion:reduce){.pipeline-stages button,#pipeline-more-filters summary:after{transition:none!important}}

.organization-filter-panel{padding:20px;background:#fff;border:1px solid #d9e5ed;border-radius:18px;margin-bottom:24px;box-shadow:0 5px 22px #123e5005}
.organization-filter-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.organization-filter-heading strong{font-size:16px;color:#244e63}.organization-filter-heading [role=status]{font-size:13px;color:#607c8c;background:#eff6f9;padding:5px 10px;border-radius:8px;font-variant-numeric:tabular-nums}
.organization-filter-fields{display:grid;grid-template-columns:minmax(220px,2fr) repeat(3,minmax(140px,1fr));align-items:end;gap:14px}.organization-filter-fields>label{display:flex;flex-direction:column;gap:7px;min-width:0;color:#567485;font-size:13px;font-weight:500}.organization-filter-fields select,.organization-filter-fields input{width:100%;min-width:0;min-height:46px;border-radius:10px;font-size:14px;background-color:#fbfdfe}.organization-filter-fields .searchable-select{max-width:100%;min-width:0;width:100%}.org-search-field>span{display:flex;align-items:center;border:1px solid #d2e2ec;background:#f6fafc;border-radius:10px;padding-inline:12px;gap:8px}.org-search-field>span>.icon{width:18px;height:18px;color:#698899;flex-shrink:0}.org-search-field input{border:0;background:transparent;box-shadow:none;outline:0;padding-inline:0}.org-search-field>span:focus-within{outline:3px solid #007b9d25;border-color:#007b9d;background:#fff}.organization-filter-status{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px;font-size:12px;color:#6a8594}.organization-filter-status button{min-height:40px;font-size:13px}
.organization-grid>.pipeline-no-results{grid-column:1/-1;margin-top:0}
@media(max-width:1100px){.organization-filter-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.organization-filter-panel{padding:15px;border-radius:14px}.organization-filter-fields{grid-template-columns:minmax(0,1fr)}.organization-filter-heading{align-items:flex-start}.organization-filter-heading strong{font-size:14px}.organization-filter-heading [role=status]{white-space:nowrap;font-size:12px}.organization-filter-fields input,.organization-filter-fields select{font-size:16px}}
/* User dashboard cards are explicit navigation controls. */
.user-stats .user-stat-button{background:#fff;border:1px solid #dce7ec;border-radius:16px;padding:22px;display:grid;gap:8px;text-align:start;justify-content:stretch;color:var(--ink)}
.user-stat-button small,.role-card-link{font-size:12px;color:#007797}
.user-stats .user-stat-button[aria-pressed="true"]{border-color:#6aaec3;background:#f0f9fc}
.role-grid .user-role-button{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;text-align:start;gap:10px;width:100%;font-weight:400}
.role-card-title{font-size:22px;font-weight:700}
.role-card-description{font-size:14px;line-height:1.8;color:#627988}
.role-card-link{margin-top:auto;padding-top:8px}
.user-stat-button,.user-role-button{cursor:pointer;transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease}
@media(hover:hover){.user-stat-button:hover,.user-role-button:hover{transform:translateY(-3px);box-shadow:0 8px 22px #153c5012;border-color:#70aabd}}
.user-stat-button:active,.user-role-button:active{transform:scale(.985)}
.user-stat-button:focus-visible,.user-role-button:focus-visible{outline:3px solid #007b9d;outline-offset:3px}
#user-results{scroll-margin-top:20px}
.user-filter-summary{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 24px;border-bottom:1px solid var(--line);color:var(--muted);flex-wrap:wrap}
@media(prefers-reduced-motion:reduce){.user-stat-button,.user-role-button{transition:none!important;transform:none!important}}

/* Quote titles share the existing edit/preview destinations. */
.q-row-title h2 .q-title-link{display:inline-block;max-width:100%;padding:4px 0;border:0;border-radius:4px;background:transparent;color:inherit;font:inherit;line-height:inherit;text-align:start;text-decoration:underline;text-decoration-color:transparent;text-underline-offset:5px;cursor:pointer;transition:color .16s ease,text-decoration-color .16s ease,transform .16s ease}
.q-row-title h2 .q-title-link:hover{color:#007b9d;text-decoration-color:currentColor}
.q-row-title h2 .q-title-link:active{transform:translateY(1px)}
.q-row-title h2 .q-title-link:focus-visible{outline:3px solid #007b9d;outline-offset:4px}
@media(prefers-reduced-motion:reduce){.q-row-title h2 .q-title-link{transition:none;transform:none}}

/* Clear task state and reversible record management. */
.task-complete{border:2px solid #bed6dc;transition:background .18s,transform .18s,border-color .18s,box-shadow .18s;min-width:42px;min-height:42px}
.task-complete:hover,.task-complete:focus-visible{background:#d7f7e7;color:#087541;border-color:#15965d;box-shadow:0 0 0 4px #15965d20;transform:scale(1.08)}
.task-complete:active{transform:scale(.94)}
.task-is-done{background:#f0fbf5;border-inline-start:4px solid #15965d}.task-is-done .task-complete{background:#15965d;color:white;border-color:#15965d}.task-is-done .row-main>div>strong{color:#366650}
.task-completion-note{white-space:pre-wrap;color:#47675b;font-size:13px;margin:8px 0;overflow-wrap:anywhere}.task-trash:hover{color:#b23445;background:#fff0f2}
.task-completion-success{text-align:center;padding:40px 20px}.completion-check{display:inline-grid;place-items:center;width:84px;height:84px;border-radius:50%;background:#d7f7e7;color:#087541;font-size:48px;animation:completion-pop .5s ease-out}.completion-task-name{font-weight:700;font-size:18px;overflow-wrap:anywhere}.task-confirm-button{background:#128352}
@keyframes completion-pop{0%{transform:scale(.5);opacity:.2}65%{transform:scale(1.12)}100%{transform:scale(1);opacity:1}}
.lifecycle-panel{padding:22px}.lifecycle-panel>.segmented,.lifecycle-topics{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:18px}.lifecycle-topics .selected{background:#e1f2f5;color:#006879;border-color:#6bb4c3}.lifecycle-card{display:flex;justify-content:space-between;gap:24px;padding:20px 0;border-bottom:1px solid #dfebef}.lifecycle-card h3{margin:8px 0}.lifecycle-card p{white-space:pre-wrap;overflow-wrap:anywhere}.lifecycle-card .actions{align-self:center;flex-wrap:wrap}.lifecycle-card>div{min-width:0}.lifecycle-card small{color:#657b84}
@media(max-width:700px){.lifecycle-card{flex-direction:column;gap:8px}.lifecycle-card .actions{align-self:stretch}.lifecycle-card .actions button{flex:1}.task-meta{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){.task-complete{transition:none}.task-complete:hover,.task-complete:focus-visible{transform:none}.completion-check{animation:none}}

/* Highlight the task checkmark in VAREUM logo blue on hover and keyboard focus. */
.task-complete:hover,.task-complete:focus-visible{color:#00649B}
.task-is-done .task-complete:hover,.task-is-done .task-complete:focus-visible{background:#d7f7e7;color:#00649B}
/* Streamlined task forms and CRM review controls. */
.task-complete.icon-only{width:auto;min-width:44px;gap:7px;padding:8px 10px;flex-shrink:0}.task-action-label{font-size:12px;white-space:nowrap}
.task-customer-filter{max-width:360px}.task-customer-filter summary{cursor:pointer;color:var(--blue);padding:10px 0}.task-customer-filter select{width:100%}
.calendar-task-options{max-height:260px;overflow:auto;border:1px solid var(--line);border-radius:10px;margin-top:10px;padding:10px}.calendar-task-options label{display:flex;align-items:center;gap:10px;padding:9px}.calendar-task-options input{width:auto}.calendar-task-options label[hidden]{display:none}
.new-customer-contact{border:1px solid var(--line);border-radius:12px;padding:16px;margin-bottom:12px}.new-customer-contact legend{padding:0 6px;font-weight:600}
#company-profiles-form>.modal-title{position:sticky;top:0;background:white;z-index:5;padding:12px 0}
.pipeline-command-row>select{min-width:180px;max-width:250px}.q-status.delivery_pending{background:#e5f4f8;color:#00649b}
@media(max-width:650px){.task-row{flex-wrap:wrap}.task-row .task-meta{width:100%;justify-content:flex-end}.task-action-label{font-size:11px}}
.analytics-note,.pipeline-board-guide,.q-step-intro{display:none}

/* Informational hover help must never intercept navigation clicks. */
.guide-tooltip{pointer-events:none}

/* Quote register: content first, compact accessible actions, RTL-safe metadata. */
.q-register{background:#f6f9fc;border:1px solid #dfe8ef;overflow:visible}
.q-register .q-list-toolbar{background:#fff;border-radius:18px 18px 0 0;gap:18px;padding:20px 24px;align-items:flex-end}
.q-register .q-filters{flex:1;gap:6px;min-width:0}
.q-register .q-filters button{font-size:13px;min-height:40px;padding:8px 12px;border:1px solid transparent;transition:background .16s,color .16s,border-color .16s}
.q-register .q-filters button:hover{background:#f0f6fa;color:#00649b}
.q-register .q-filters button.active{background:#e7f2fa;color:#00649b;border-color:#bad9ec;box-shadow:inset 0 -2px #00649b}
.q-register .q-search{min-width:240px;flex:0 1 290px;color:#526d7d;font-weight:600}
.q-search-control{display:flex;align-items:center;border:1px solid #cfdde6;background:#f8fafc;border-radius:10px;padding-inline:12px;gap:9px}
.q-search-control:focus-within{border-color:#00649b;box-shadow:0 0 0 3px #00649b16;background:#fff}
.q-search-control>svg{width:18px;height:18px;flex-shrink:0;color:#718998}
.q-search-control input{border:0!important;box-shadow:none!important;background:transparent!important;min-width:0;width:100%;padding-inline:0!important}
.q-register .quote-list{padding:16px;display:grid;gap:12px}
.q-register .quote-list>.q-quote-card{display:block;padding:0;border:1px solid #dde7ee;background:#fff;border-radius:14px;min-width:0;transition:border-color .18s,box-shadow .18s}
.q-register .quote-list>.q-quote-card:hover,.q-register .quote-list>.q-quote-card:focus-within{border-color:#a6c8dd;box-shadow:0 5px 18px #143f5c0a}
.q-card-main{display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:16px;align-items:start;padding:22px 22px 18px}
.q-card-main .q-doc-icon{width:44px;height:50px;border-color:#d7e7f2;background:#eef6fb;color:#00649b;margin-top:4px}
.q-doc-icon svg{width:24px;height:24px}
.q-card-main .q-row-title{min-width:0}
.q-card-kicker{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:12px;color:#738595}
.q-reference{font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.q-version{background:#f3f6f8;border:1px solid #e4ebef;padding:1px 5px;border-radius:5px;font-size:10px}
.q-card-main .q-row-title h2{font-size:19px;line-height:1.45;margin:10px 0 5px;word-break:normal;overflow-wrap:anywhere}
.q-card-main .q-title-link{font:inherit!important;font-weight:650!important;color:#173f55!important;text-align:inherit!important;padding:0!important;white-space:normal;line-height:inherit;display:inline;border:0;background:transparent}
.q-card-main .q-title-link:hover{color:#00649b!important;text-decoration:underline;text-underline-offset:4px}
.q-card-main h2>.guide-dot{display:none}
.q-card-main .q-buyer{font-size:14px;color:#607987;line-height:1.5;margin:0}
.q-card-main .q-row-value{min-width:140px;padding-inline-start:14px;text-align:end}
.q-card-main .q-row-value>span{display:block;font-size:11px;color:#7b8e99;margin:3px 0 6px}
.q-card-main .q-row-value strong{display:block;font-size:23px;font-weight:700;line-height:1.3;letter-spacing:-.5px;white-space:nowrap;color:#173f55;font-variant-numeric:tabular-nums}
.q-card-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;border-top:1px solid #edf2f5;padding:12px 20px;background:#fbfcfe;border-radius:0 0 14px 14px}
.q-card-meta{display:flex;align-items:center;gap:10px 18px;flex-wrap:wrap;font-size:12px;color:#6b8190;flex:1;min-width:180px}
.q-card-meta>span{display:inline-flex;align-items:center;gap:7px}
.q-card-meta svg{width:15px;height:15px;flex-shrink:0;color:#8a9ba7}
.q-audit-details{font-size:11px;position:relative}
.q-audit-details summary{cursor:pointer;text-decoration:underline;text-underline-offset:3px;color:#607987}
.q-audit-details p{margin:8px 0;line-height:1.6;max-width:250px}
.q-card-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.q-card-actions .q-quick-action{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:40px;min-height:40px;padding:9px;border:1px solid #dce6ed;border-radius:9px;background:#fff;color:#536f81;font-size:13px;text-decoration:none;cursor:pointer;transition:color .16s,background .16s,border-color .16s,transform .16s}
.q-quick-action svg{width:18px;height:18px;flex-shrink:0}
.q-quick-action:not(.q-primary-action) .q-action-text{display:none}
.q-card-actions .q-primary-action{background:#00649b;border-color:#00649b;color:#fff;padding-inline:15px;font-weight:600;margin-inline-start:5px}
.q-card-actions .q-quick-action:hover{color:#00649b;border-color:#9fc8df;background:#edf6fc;transform:translateY(-1px)}
.q-card-actions .q-primary-action:hover{color:#fff;background:#005381;border-color:#005381}
.q-card-actions .q-quick-action:focus-visible,.q-register .q-filters button:focus-visible{outline:3px solid #4da5d5;outline-offset:3px}
.q-action-tip{position:absolute;bottom:calc(100% + 9px);inset-inline-end:0;background:#173d53;color:white;padding:7px 10px;border-radius:7px;font-size:12px;font-weight:400;line-height:1.5;width:max-content;max-width:220px;white-space:normal;box-shadow:0 4px 16px #12354c24;opacity:0;visibility:hidden;transform:translateY(3px);transition:opacity .15s,transform .15s;pointer-events:none;z-index:20}
.q-quick-action:hover .q-action-tip,.q-quick-action:focus-visible .q-action-tip{opacity:1;visibility:visible;transform:none}
@media(max-width:850px){.q-card-footer{align-items:flex-start}.q-card-meta{flex-basis:100%}.q-card-actions{width:100%;justify-content:flex-end}.q-card-main{gap:12px;padding:18px}.q-card-main .q-row-value strong{font-size:21px}.q-register .q-search{flex:1 1 100%}}
@media(max-width:560px){.q-register .quote-list{padding:8px;gap:10px}.q-card-main{grid-template-columns:minmax(0,1fr) auto;padding:16px;gap:12px}.q-card-main>.q-doc-icon{display:none}.q-card-main .q-row-title h2{font-size:17px}.q-card-main .q-row-value{min-width:0;padding:0;grid-column:1/-1;text-align:start;display:flex;align-items:baseline;gap:10px}.q-card-main .q-row-value>span{margin:0}.q-card-footer{padding:12px}.q-card-actions{justify-content:flex-start;gap:8px}.q-card-actions .q-quick-action{min-width:44px;min-height:44px}.q-card-actions .q-primary-action{margin-inline-start:auto}.q-register .q-list-toolbar{padding:14px}.q-card-kicker{gap:6px}.q-reference{font-size:11px}}
@media(hover:none){.q-quick-action:not(.q-primary-action) .q-action-text{display:inline;font-size:11px}.q-action-tip{display:none}}
@media(prefers-reduced-motion:reduce){.q-quote-card,.q-card-actions .q-quick-action,.q-action-tip{transition:none!important}.q-card-actions .q-quick-action:hover{transform:none}}

/* Shared navigation states: explicit foregrounds prevent primary/transparent conflicts. */
.segmented{gap:4px;max-width:100%;flex-wrap:wrap}
.segmented button{color:#365466;background:transparent;min-height:44px;line-height:1.4;border:1px solid transparent;font-weight:600}
.segmented button:hover{color:#00649b;background:#dcecf5;border-color:#b4d3e4}
.segmented button.selected,.segmented button.primary,.segmented button[aria-pressed="true"]{color:#fff;background:#00649b;border-color:#00649b;box-shadow:0 2px 5px #173d5318}
.segmented button.selected:hover,.segmented button.primary:hover,.segmented button[aria-pressed="true"]:hover{color:#fff;background:#005381;border-color:#005381}
.segmented button:focus-visible{outline:3px solid #00649b;outline-offset:3px}
/* Keep modal controls in layout, including sticky company headers and long titles. */
.modal-title{padding-inline-end:0;gap:12px;align-items:center;flex-wrap:wrap}
.modal-title>h2{flex:1 1 180px;min-width:0;order:0}
.modal-title>.guide-process-launch{order:1;margin-inline-start:auto;max-width:100%;white-space:normal;line-height:1.4;min-height:44px}
.modal-title>.close-button{position:static;inset:auto;order:2;flex:0 0 44px;margin:0}
.q-studio-header>div{min-width:0}
.q-studio-header h2{overflow-wrap:anywhere}
.guide-process-launch{line-height:1.4}
input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #00649b;outline-offset:2px}
button:disabled{cursor:not-allowed}
@media(max-width:600px){.modal-title>h2{flex-basis:calc(100% - 60px)}.modal-title>.close-button{order:0}.modal-title>.guide-process-launch{margin-inline-start:0}.segmented{width:100%}.segmented button{flex:1 1 auto}.collection-toolbar .field{min-width:0;max-width:100%}}

/* Personal overview: quiet hierarchy, color-coded metrics and movable widgets. */
.dashboard-workspace{--dash-blue:#00649b;--dash-ink:#163f57}
.dashboard-workspace .command-hero{position:relative;overflow:hidden;border:1px solid #c9deea;border-radius:22px;background:linear-gradient(115deg,#ecf6fc 0%,#f7fbfe 60%,#e8f4f0 100%);padding:28px 32px;margin-bottom:20px;box-shadow:0 8px 28px #173f5506}
.dashboard-workspace .command-hero h1{font-size:30px;color:#163f57;margin:7px 0}
.dashboard-workspace .command-hero p{font-size:15px;max-width:520px}
.dashboard-workspace .hero-date{font-size:12px;margin-top:12px;color:#557485}
.dashboard-workspace .command-hero .actions button{background:#00649b;color:#fff;border-color:#00649b;min-height:44px;box-shadow:0 4px 12px #00649b20}
.dashboard-workspace .dashboard-toolbar{padding:14px 18px;background:white;border:1px solid #e0e9f0;border-radius:14px;gap:12px;margin-bottom:16px;display:flex;align-items:center;flex-wrap:wrap}
.dashboard-workspace .dashboard-toolbar>.muted{font-size:12px}
.dashboard-workspace .metric-strip{border-radius:14px;background:#fff;border:1px solid #e1eaf0;margin-bottom:22px;padding:14px 18px;box-shadow:none}
.dashboard-workspace .metric-strip>div{font-size:13px;gap:10px}
.dashboard-workspace .metric-strip strong{font-size:21px;color:#163f57}
.dash-layout-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:20px 0 14px}
.dash-layout-toolbar>div:first-child{display:flex;gap:12px;align-items:baseline;flex-wrap:wrap}
.dash-layout-toolbar strong{font-size:20px;color:#163f57}.dash-layout-toolbar span{font-size:13px;color:#627988}
.dash-layout-toolbar button{min-height:44px;font-size:13px}.dash-layout-toolbar [aria-pressed=true]{background:#e7f2fa;color:#00649b;border-color:#9fc7de}
.dash-layout-status{flex-basis:100%;font-size:12px;color:#00649b}.dash-layout-status:empty{display:none}
.dash-canvas{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:18px;align-items:start}
.dash-widget{min-width:0;position:relative;grid-column:span 6;animation:dash-enter .35s ease both}
.dash-stat{grid-column:span 3}.dash-widget>.panel,.dash-widget>.kpi{margin:0;width:100%;height:100%;border-radius:16px;border:1px solid #dce7ee;box-shadow:0 4px 18px #163f5705}
.dash-widget>.kpi{padding:20px 22px;text-align:start;border-top:3px solid #00649b;background:linear-gradient(135deg,#fff,#f0f7fc);transition:transform .18s,box-shadow .18s}
.dash-widget>.kpi:hover{transform:translateY(-3px);box-shadow:0 10px 24px #163f5712}
.dash-widget .kpi strong{font-size:36px;margin:12px 0 6px;line-height:1.1;letter-spacing:-1px;color:#163f57;font-variant-numeric:tabular-nums}.dash-widget .kpi-top{font-size:14px;font-weight:600;color:#456174}.dash-widget .kpi small{font-size:11px;color:#526c7d}
.dash-widget[data-widget=pendingQuotes]>.kpi{border-top-color:#8070c5;background:linear-gradient(135deg,#fff,#f5f2fd)}
.dash-widget[data-widget=pendingQuotes] .iconbox{color:#6d58ac;background:#eee8fa}
.dash-widget[data-widget=openTasks]>.kpi{border-top-color:#239984;background:linear-gradient(135deg,#fff,#eef9f5)}
.dash-widget[data-widget=openTasks] .iconbox{color:#1a7b69;background:#e3f3ec}
.dash-widget[data-widget=overdue]>.kpi{border-top-color:#d07742;background:linear-gradient(135deg,#fff,#fff5ed)}
.dash-widget[data-widget=overdue] .iconbox{color:#ae5b2c;background:#fcebdc}
.dash-widget .panel-head{padding:17px 20px;background:#fbfdff}.dash-widget .panel-head h2{font-size:17px}.dash-widget .panel-head .linkbtn{font-size:12px}
.dash-widget .panel-body{padding:18px 20px}.dash-widget .row{padding:13px 18px;gap:10px}.dash-widget .row strong{font-size:14px}.dash-widget .row small{font-size:12px}.dash-widget .task-meta{font-size:12px}
.dash-widget[data-widget=urgent]>.panel{max-height:430px;overflow:auto;scrollbar-width:thin}
.dash-widget[data-widget=pipeline] .panel-body{max-height:370px;overflow:auto;scrollbar-width:thin}
.dash-widget .funnel-row{font-size:12px;margin:9px 0;padding:4px 0;min-height:30px}.dash-widget .funnel-row>span:first-child{width:130px}.dash-widget .funnel-track i{background:linear-gradient(90deg,#69b8cf,#00649b);transition:width .35s}
.dash-widget .weekly-chart i{background:linear-gradient(0deg,#00649b,#71bfd9);border-radius:6px 6px 2px 2px;transform-origin:bottom;animation:dash-bar .5s ease both}
.dash-widget .chart-summary strong{color:#00649b;font-size:30px}.dash-widget .completion-ring{box-shadow:0 0 0 7px #f3f8fa}.dash-widget .insight-row{padding:14px 18px}.dash-widget .insight-row strong{font-size:14px}.dash-widget .insight-row small{font-size:12px}.dash-widget .empty{padding:25px 20px}
.dash-widget-controls{display:none;gap:6px;align-items:center;padding:8px;border:1px dashed #a9cbdc;border-bottom:0;background:#eef6fb;border-radius:12px 12px 0 0}
.dash-editing .dash-widget-controls{display:flex}.dash-widget-controls button{min-width:40px;min-height:40px;padding:7px;color:#00649b;background:#fff;font-size:20px}
.dash-widget-controls [data-layout=drag]{margin-inline-end:auto;cursor:grab;touch-action:none}.dash-widget.is-dragging{opacity:.55}.dash-widget.is-dragging [data-layout=drag]{cursor:grabbing}.dash-drop-target{outline:3px dashed #00649b;outline-offset:4px;border-radius:16px}
@keyframes dash-enter{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@keyframes dash-bar{from{transform:scaleY(.1)}to{transform:scaleY(1)}}
@media(max-width:1100px){.dash-stat{grid-column:span 6}.dash-widget .row{flex-wrap:wrap}}
@media(max-width:650px){.dash-canvas{gap:14px}.dash-detail{grid-column:span 12}.dashboard-workspace .command-hero{padding:22px}.dashboard-workspace .command-hero h1{font-size:25px}.dashboard-workspace .command-hero .actions{margin-top:15px}.dash-widget>.kpi{padding:16px}.dash-widget .kpi strong{font-size:30px}.dash-widget .kpi-top{font-size:12px}.dash-widget .kpi-top .iconbox{width:28px;height:28px}.dash-layout-toolbar>div:first-child{display:block}.dash-layout-toolbar span{display:block}.dashboard-workspace .metric-strip{gap:12px;flex-wrap:wrap}.dashboard-workspace .dashboard-toolbar{padding:12px}.dashboard-workspace .period-caption{font-size:12px}.dash-widget-controls button{min-width:44px;min-height:44px}}
@media(prefers-reduced-motion:reduce){.dash-widget,.dash-widget .weekly-chart i{animation:none}.dash-widget>.kpi,.dash-widget .funnel-track i{transition:none}.dash-widget>.kpi:hover{transform:none}}

/* Persistent close controls: headers stay above their own scrolling content. */
dialog{--dialog-inset:28px;scroll-padding-block-start:112px;isolation:isolate}
dialog .modal-title,#company-profiles-form>.modal-title{position:sticky;top:calc(-1 * var(--dialog-inset));z-index:40;min-height:68px;margin-inline:calc(-1 * var(--dialog-inset));padding:12px var(--dialog-inset);background:#fff;border-bottom:1px solid #dce7ee;box-shadow:0 5px 12px #173f5509}
dialog .modal-title>.close-button{position:static;flex-shrink:0;align-self:flex-start}
.q-studio-header{position:sticky;top:0;z-index:40;background:#fff;box-shadow:0 5px 12px #173f5509}
.q-send-review{scroll-padding-block-start:110px}
.guide-dialog{--dialog-inset:24px}
.guide-dialog>header{position:sticky;top:calc(-1 * var(--dialog-inset));z-index:40;min-height:68px;margin-inline:calc(-1 * var(--dialog-inset));padding:12px var(--dialog-inset);background:#f9fcfe;border-bottom:1px solid #dce7ee;box-shadow:0 5px 12px #173f5509}
.guide-dialog>header>h2{flex:1;min-width:0;overflow-wrap:anywhere}
.guide-dialog>header>.close-button{position:static;flex-shrink:0}
.catalog-detail-heading{position:sticky;top:0;z-index:10;background:#f7fafc;padding:10px 0;border-bottom:1px solid #dce7ee}
dialog:not(.quote-dialog) .catalog-detail-heading{top:88px}
@media(max-width:760px){dialog{--dialog-inset:22px}}
@media(max-width:600px){.guide-dialog{--dialog-inset:18px}dialog:not(.quote-dialog) .catalog-detail-heading{top:140px}}

/* Customer identity has a clear reading order: name, category, short description. */
.customer-register td:first-child{min-width:240px;padding-block:20px}
.customer-register td:first-child>strong{display:block;font-size:16px;line-height:1.5;overflow-wrap:anywhere}
.customer-register td:first-child>.badge,.customer-register .mobile-card>h3+.badge{display:table;width:fit-content;max-width:100%;margin-block:8px 10px;padding:5px 10px;border-radius:7px;font-size:12px;line-height:1.5;font-weight:500;white-space:normal}
.customer-register td:first-child>.badge.amber,.customer-register .mobile-card>h3+.badge.amber{background:#fff5e5;color:#8b5c20;border:1px solid #f1dfc0}
.customer-register .customer-brief{margin-top:8px;max-width:480px}
.customer-register .customer-description{font-size:13px;line-height:1.65;margin:0}
.customer-register .mobile-card>h3{margin-bottom:0;line-height:1.5}

/* Compact stage navigation with accessible names and touch-friendly labels. */
.pipeline-stages .stage-rail{overflow:visible;flex-wrap:wrap;gap:10px;padding:8px 2px 18px}
.pipeline-stages .stage-rail .stage-icon-button{position:relative;display:flex;justify-content:center;align-items:center;width:68px;min-height:58px;padding:14px 10px;border-radius:14px;color:#42677d;box-shadow:0 2px 6px #173f5505;transition:background .16s,border-color .16s,box-shadow .16s}
.pipeline-stages .stage-icon-button>.icon{width:23px;height:23px;stroke-width:1.8}
.pipeline-stages .stage-icon-button .stage-total{position:absolute;top:-5px;inset-inline-end:-4px;min-width:22px;height:22px;display:grid;place-items:center;padding:0 4px;border:2px solid #f4f7f9;border-radius:8px;background:#e3edf4;color:#36596e;font-size:10px;font-weight:700}
.pipeline-stages .stage-rail .stage-icon-button.selected{background:#00649b;border-color:#00649b;color:white;box-shadow:0 4px 12px #00649b24}
.pipeline-stages .stage-icon-button.selected .stage-total{background:#174763;color:#fff}
.stage-tooltip{position:absolute;top:calc(100% + 8px);inset-inline-start:0;width:max-content;max-width:200px;white-space:normal;background:#173f55;color:#fff;font-size:12px;line-height:1.5;padding:7px 11px;border-radius:8px;box-shadow:0 4px 14px #173f5526;z-index:25;visibility:hidden;opacity:0;pointer-events:none}
.stage-icon-button:hover .stage-tooltip,.stage-icon-button:focus-visible .stage-tooltip{visibility:visible;opacity:1}
.stage-touch-label{display:none}.stage-current{display:inline-block;margin-inline-start:12px;padding:3px 9px;border-radius:6px;background:#e7f2f9;color:#00649b;font-size:12px;font-weight:500}
@media(hover:none),(max-width:600px){.pipeline-stages .stage-rail{gap:10px;display:grid;grid-template-columns:repeat(auto-fit,minmax(86px,1fr))}.pipeline-stages .stage-rail .stage-icon-button{width:100%;min-height:84px;flex-direction:column;gap:8px;padding:12px 6px}.stage-touch-label{display:block;font-size:11px;white-space:normal;line-height:1.4}.stage-tooltip{display:none}.stage-current{margin-inline-start:6px}}

/* Soft semantic accents shared by financial and operational metrics. */
.collection-kpi,.kpi[data-action=taskFilter],.quote-summary article{--metric-color:#337da3;--metric-tint:#eef6fb;border-top:3px solid var(--metric-color);background:linear-gradient(135deg,#fff,var(--metric-tint));transition:box-shadow .16s,border-color .16s}
.collection-kpi[data-id=draft],.quote-summary article:nth-child(1){--metric-color:#8570bd;--metric-tint:#f4f0fb}
.collection-kpi.overdue,.collection-kpi[data-id=overdue],.kpi[data-action=taskFilter][data-filter=overdue],.quote-summary article:nth-child(3){--metric-color:#c58149;--metric-tint:#fff4e9}
.collection-kpi.paid,.collection-kpi[data-id=partial],.quote-summary article:nth-child(2){--metric-color:#399782;--metric-tint:#edf8f3}
.collection-kpi.dueSoon,.kpi[data-action=taskFilter][data-filter=today]{--metric-color:#ac903a;--metric-tint:#fcf8e8}
.collection-kpi.active,.collection-kpi[aria-pressed=true],.kpi[data-action=taskFilter][aria-pressed=true]{outline:2px solid var(--metric-color);outline-offset:2px;box-shadow:0 4px 14px #173f5510}
.collection-kpi:hover,.kpi[data-action=taskFilter]:hover{box-shadow:0 5px 16px #173f5514;border-color:var(--metric-color)}
.pipeline-stages .stage-icon-button[data-stage=new],.pipeline-stages .stage-icon-button[data-stage=contact]{--stage-tone:#376f9d;--stage-tint:#edf5fc}
.pipeline-stages .stage-icon-button[data-stage=needs],.pipeline-stages .stage-icon-button[data-stage=quote]{--stage-tone:#7964a8;--stage-tint:#f3effb}
.pipeline-stages .stage-icon-button[data-stage=sent],.pipeline-stages .stage-icon-button[data-stage=negotiation]{--stage-tone:#9a7336;--stage-tint:#fcf6e9}
.pipeline-stages .stage-icon-button[data-stage=order],.pipeline-stages .stage-icon-button[data-stage=active]{--stage-tone:#287d6d;--stage-tint:#edf8f3}
.pipeline-stages .stage-icon-button[data-stage=dormant]{--stage-tone:#687b8c;--stage-tint:#f0f3f6}
.pipeline-stages .stage-icon-button[data-stage=lost]{--stage-tone:#aa606c;--stage-tint:#fbeff1}
.pipeline-stages .stage-rail .stage-icon-button:not(.selected){color:var(--stage-tone,#42677d);background:var(--stage-tint,#fff)}

/* Labeled stage tiles with restrained motion and a clear selected state. */
.pipeline-stages .stage-rail{gap:12px;padding-block:10px 20px}
.pipeline-stages .stage-rail .stage-icon-button{width:94px;min-height:98px;flex-direction:column;gap:10px;padding:16px 8px 12px;border-radius:16px;transition:transform .18s ease,box-shadow .18s ease,background .18s ease,border-color .18s ease}
.pipeline-stages .stage-icon-button>.icon{width:26px;height:26px;transition:transform .18s ease}
.pipeline-stages .stage-touch-label{display:block;font-size:11px;line-height:1.4;white-space:normal;min-height:31px;max-width:100%;font-weight:600;text-align:center}
.pipeline-stages .stage-rail .stage-icon-button.selected{background:linear-gradient(145deg,#087bb0,#005a8a);box-shadow:0 6px 16px #00649b28,inset 0 1px #ffffff30;border-color:#00649b}
.pipeline-stages .stage-icon-button.selected:after{content:'';position:absolute;bottom:6px;width:18px;height:3px;border-radius:3px;background:#bcecff}
@media(hover:hover){.pipeline-stages .stage-rail .stage-icon-button:hover{transform:translateY(-4px);box-shadow:0 8px 18px #173f5518;border-color:var(--stage-tone,#00649b)}.pipeline-stages .stage-icon-button:hover>.icon{transform:scale(1.1)}}
.pipeline-stages .stage-rail .stage-icon-button:active{transform:translateY(0) scale(.96);box-shadow:0 2px 5px #173f5514}
@media(max-width:600px){.pipeline-stages .stage-rail .stage-icon-button{width:100%;min-height:98px}.pipeline-stages .stage-rail{gap:10px}}
@media(prefers-reduced-motion:reduce){.pipeline-stages .stage-rail .stage-icon-button,.pipeline-stages .stage-icon-button>.icon{transition:none!important;transform:none!important}}

/* Distinguish partner categories with the same quiet metric palette. */
.collection-kpi[data-proc=filter][data-id=manufacturer]{--metric-color:#337da3;--metric-tint:#eef6fb}
.collection-kpi[data-proc=filter][data-id=distributor]{--metric-color:#8570bd;--metric-tint:#f4f0fb}
.collection-kpi[data-proc=filter][data-id=supplier]{--metric-color:#399782;--metric-tint:#edf8f3}
.collection-kpi[data-proc=filter][data-id=service]{--metric-color:#b98743;--metric-tint:#fcf5e9}

/* Equal-sized filters across native and searchable selectors. */
.toolbar:has(>.filters){padding:18px;background:#fff;border:1px solid #dce7ee;border-radius:16px;box-shadow:0 4px 18px #173f5505;margin-bottom:22px}
.filters,.customer-filter-drawer .filters{width:100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;align-items:start}
.filters>select,.filters>.searchable-select{width:100%;min-width:0;max-width:none;flex:none;margin:0}
.filters>select,.filters>.searchable-select>.select-search{height:48px;min-height:48px;width:100%;max-width:none;margin:0;padding:11px 14px;padding-inline-end:36px;font-size:14px;line-height:24px;border:1px solid #ccdce6;border-radius:11px;background-color:#f8fbfd;color:#254d63;box-shadow:0 1px 2px #173f5503;transition:border-color .16s,box-shadow .16s,background-color .16s}
.filters>.searchable-select:after{content:'⌄';position:absolute;inset-inline-end:14px;top:10px;font-size:18px;color:#638395;pointer-events:none}
.filters>select:hover,.filters>.searchable-select>.select-search:hover{border-color:#8bb6ce;background-color:#fff}
.filters>select:focus-visible,.filters>.searchable-select>.select-search:focus-visible{outline:2px solid #00649b;outline-offset:2px;background-color:#fff;box-shadow:0 0 0 4px #00649b0d}
.filters>button[data-action=resetFilters]{grid-column:1/-1;justify-self:end;min-height:40px;padding:8px 14px;font-size:13px;color:#00649b;border:1px solid #d5e5ee;background:#f0f7fb;border-radius:9px}
@media(max-width:900px){.filters,.customer-filter-drawer .filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}}
@media(max-width:480px){.filters,.customer-filter-drawer .filters{grid-template-columns:1fr}.filters>select,.filters>.searchable-select>.select-search{font-size:16px}.toolbar:has(>.filters){padding:14px}}
@media(prefers-reduced-motion:reduce){.filters>select,.filters>.searchable-select>.select-search{transition:none}}

/* Single-row sales stage carousel and readable multi-currency values. */
.stage-slider{display:flex;align-items:center;gap:10px;min-width:0}
.pipeline-stages .stage-slider .stage-rail{display:flex;flex:1;min-width:0;flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;gap:12px;padding:14px 6px 42px;scroll-snap-type:x proximity;scrollbar-width:thin;scrollbar-color:#9cb9cc #e8eff4;overscroll-behavior-x:contain}
.pipeline-stages .stage-slider .stage-icon-button{flex:0 0 104px;width:104px;min-height:104px;scroll-snap-align:start}
.stage-scroll{flex:0 0 34px;width:34px;height:40px;padding:0;border:1px solid #d3e2eb;border-radius:12px;background:#fff;color:#00649b;font-size:26px;box-shadow:0 3px 10px #173f5508;margin-bottom:28px}
[dir=rtl] .stage-scroll{transform:scaleX(-1)}
.stage-scroll:hover{background:#e8f3fa;border-color:#8bb8d2}
.stage-scroll:focus-visible,.stage-rail:focus-visible{outline:3px solid #78b8dc;outline-offset:3px}
.pipeline-summary{gap:12px;background:transparent;border:0;border-radius:0;overflow:visible;grid-template-columns:1fr 1.6fr 1fr 1fr}
.pipeline-summary>div{border:1px solid #dce7ee;border-top:3px solid #5c99ba;border-radius:16px;box-shadow:0 4px 18px #173f5505;padding:20px;display:flex;flex-direction:column;justify-content:space-between}
.pipeline-summary>div:nth-child(2){background:linear-gradient(135deg,#fff,#f0f6fc);border-top-color:#7d85bb}
.pipeline-summary .pipeline-value-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:14px 0;letter-spacing:-.4px;min-height:0}
.pipeline-value-summary .currency-tile{display:flex;flex-direction:column;gap:5px;align-items:flex-start;padding:10px 12px;background:#fff;border:1px solid #dce6ef;border-radius:10px;font-variant-numeric:tabular-nums;font-size:clamp(18px,1.6vw,25px);letter-spacing:-.5px;min-width:0}
.pipeline-value-summary .currency-code{font-size:10px;letter-spacing:1px;color:#627e93;font-weight:600}
.pipeline-value-summary .currency-tile:nth-child(2){background:#f6fafc}
@media(max-width:1100px){.pipeline-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.pipeline-summary{grid-template-columns:1fr 1fr;gap:10px}.pipeline-summary>div{padding:14px}.pipeline-summary>div:nth-child(2){grid-column:1/-1;grid-row:2}.pipeline-summary>div:last-child{grid-column:1/-1}.pipeline-value-summary .currency-tile{font-size:23px}.stage-slider{gap:5px}.stage-scroll{flex-basis:28px;width:28px}.pipeline-stages .stage-slider .stage-icon-button{flex-basis:98px;width:98px}.pipeline-stages .stage-slider .stage-rail{gap:10px;padding-bottom:20px}.stage-scroll{margin-bottom:6px}}

/* Fit the deal board to the screen; retain the stage carousel above. */
.board.pipeline-board{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:14px;overflow:visible;align-items:start;scroll-snap-type:none;padding-bottom:16px}
.pipeline-board .pipeline-lane{width:100%;min-width:0;max-width:none}
.pipeline-board .lane-header{padding:14px}
.pipeline-board .lane-header h2{font-size:15px;overflow-wrap:anywhere}
.pipeline-board .lane-header>div:first-child{gap:7px}
.pipeline-board .lane-total{font-size:17px;gap:8px;margin:8px 0 4px}
.pipeline-board .lane-cards{min-height:0;padding:10px}
.pipeline-board .lane-empty{min-height:76px;padding:12px;gap:6px}
.pipeline-board .lane-empty>.icon,.pipeline-board .lane-empty>span{display:none}
.pipeline-board .lane-empty strong{font-size:12px;font-weight:500}
.pipeline-board .pipeline-card{padding:13px;margin-bottom:10px}
.pipeline-board .pipeline-card:last-child{margin-bottom:0}
.pipeline-board .deal-title{font-size:16px;padding:10px 0 8px}
.pipeline-board .deal-company{font-size:13px}
.pipeline-board .deal-value{font-size:23px;margin:12px 0 8px}
.pipeline-board .deal-signals{min-height:0}
.pipeline-board .pipeline-card-footer{flex-wrap:wrap;gap:8px;margin-top:10px;padding-top:10px}
.pipeline-board .deal-owner{flex:1;min-width:0}
.pipeline-board .deal-owner>span:last-child{max-width:none;overflow-wrap:anywhere;white-space:normal}
.pipeline-board .pipeline-card-top{flex-wrap:wrap}
.pipeline-guide:has(+.pipeline-board){display:none}
@media(min-width:1500px){.board.pipeline-board{grid-template-columns:repeat(4,minmax(0,1fr))}}

/* Entire quotation metric cards act as accessible status shortcuts. */
.quote-summary article{position:relative;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.quote-summary .q-summary-trigger{position:absolute;inset:0;width:100%;height:100%;padding:0;border:0;border-radius:inherit;background:transparent;z-index:1;cursor:pointer}
.quote-summary .q-summary-trigger:hover{background:transparent}
.quote-summary article:has(.q-summary-trigger:hover){transform:translateY(-3px);box-shadow:0 8px 22px #173f5512;border-color:var(--metric-color)}
.quote-summary article:has(.q-summary-trigger:active){transform:translateY(-1px)}
.quote-summary article.is-selected{box-shadow:0 0 0 2px var(--metric-color)}
.quote-summary .q-summary-trigger:focus-visible{outline:3px solid #00649b;outline-offset:-4px}
.q-register{scroll-margin-top:24px}
@media(prefers-reduced-motion:reduce){.quote-summary article{transition:none}.quote-summary article:has(.q-summary-trigger:hover),.quote-summary article:has(.q-summary-trigger:active){transform:none}}
