:root{color-scheme:light;--yellow: #f4c522;--sidereal: #2a2d33;--carbon: #18191c;--canvas: #eef0f3;--surface: #fff;--surface-soft: #f4f5f7;--surface-hover: #e9ecf0;--row-hover: #f7f8fa;--login-bg: #e9ebef;--text: var(--carbon);--text-control: var(--sidereal);--muted: #565d68;--line: #d7dbe2;--separator: #eaecf0;--control-border: #848b97;--control-bg: #fff;--primary-bg: var(--yellow);--primary-text: var(--carbon);--primary-hover: #e7b708;--primary-outline: #8a690b;--accent-text: #70530b;--focus: #866410;--selection: #f5df8a;--selected-bg: #fff2c5;--selected-text: #513b02;--logo-bg: var(--yellow);--logo-text: var(--carbon);--notice-bg: #fff4d0;--notice-text: #5d4609;--neutral-bg: #e9ebef;--neutral-text: #4d5561;--success-bg: #e8f3eb;--success-text: #276843;--pending-bg: #f8efd9;--pending-text: #634911;--suspended-bg: #f0eeec;--suspended-text: #5a4e48;--danger-bg: #fbecea;--danger-text: #97372f;--master-bg: #eee8f8;--master-text: #523477;--director-bg: #e5eef9;--director-text: #284a77;--am-bg: #e4f2ec;--am-text: #215b47;--ka-bg: #f9ebe3;--ka-text: #7a452d;--invite-bg: #e6edf9;--invite-text: #254872;--invite-border: #c6d6ee;--invite-hover: #d7e5f6;--invite-hover-border: #9bb4d2;--popup-shadow: #18191c29;--scrim: #18191c9e;--backoffice: #226b56;--aurora: #6c72b2;--agents: #ba8237;--brand-a2a: #49a6d0;--brand-segno-verde: #78ba5c;--brand-plenitude: #226448;--brand-fastretail: #e3b52f;--brand-conviene-qui: #8746bd;--source-meta: #315fc3;--source-google: #ac500f;--source-website: #007f99;--source-manual: #626b78}:root[data-theme=dark]{color-scheme:dark;--canvas: var(--carbon);--surface: #23252b;--surface-soft: var(--sidereal);--surface-hover: #33363f;--row-hover: #2c2f36;--login-bg: #1c1e23;--text: #f1f2f5;--text-control: #e9ecf1;--muted: #b6bdc8;--line: #3c4049;--separator: #343740;--control-border: #737b89;--control-bg: #1d2025;--primary-hover: #ffda52;--primary-outline: var(--yellow);--accent-text: #f9d34f;--focus: #f9d34f;--selection: #634d15;--selected-bg: #403519;--selected-text: #ffdd62;--notice-bg: #36301f;--notice-text: #f6da8a;--neutral-bg: #32353e;--neutral-text: #c5cad4;--success-bg: #214332;--success-text: #b2eac7;--pending-bg: #41361f;--pending-text: #f2da96;--suspended-bg: #3b332f;--suspended-text: #e1ccc2;--danger-bg: #432b2a;--danger-text: #ffbcb3;--master-bg: #3c2b50;--master-text: #e8d7ff;--director-bg: #273d57;--director-text: #c7dfff;--am-bg: #254235;--am-text: #b9ebd1;--ka-bg: #483427;--ka-text: #f9d1b6;--invite-bg: #253b56;--invite-text: #cce2fb;--invite-border: #59728d;--invite-hover: #304c6b;--invite-hover-border: #7596b8;--popup-shadow: #0008;--scrim: #0c0d10ba;--backoffice: #65b79c;--aurora: #aaa7e3;--agents: #dfa95c;--brand-a2a: #70c7ee;--brand-segno-verde: #9bd67e;--brand-plenitude: #368763;--brand-fastretail: #efc857;--brand-conviene-qui: #bc86ed;--source-meta: #84aaff;--source-google: #fab57b;--source-website: #6be2f7;--source-manual: #a9b4c5}:where(.app-sidebar,.mobile-nav-drawer){color-scheme:dark;--surface: var(--carbon);--surface-hover: var(--sidereal);--text: #f1f2f5;--text-control: #e9ecf1;--muted: #b6bdc8;--line: #3c4049;--control-border: #737b89;--focus: #f9d34f;--selected-bg: #38311c;--selected-text: #ffdd62;--danger-bg: #432b2a;--danger-text: #ffbcb3;--popup-shadow: #0008;color:var(--text)}::placeholder{color:var(--muted);opacity:1}button.primary:not(:disabled):hover{background:var(--primary-hover)}button.danger{color:var(--danger-text)}button.danger:is(.danger-confirm,:hover:not(:disabled)){background:var(--danger-bg)}:root{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:var(--text);background:var(--canvas);font-synthesis:none}*{box-sizing:border-box}body{margin:0;font-size:16px}button,select,input{font:inherit}button,a,select{touch-action:manipulation}button{cursor:pointer;border:1px solid var(--control-border);background:var(--surface);color:var(--text-control);border-radius:7px;padding:10px 16px;font-size:14px;font-weight:600;transition:background .16s,transform .16s}button:hover{background:var(--surface-hover)}button:active{transform:translateY(1px)}button.primary{background:var(--primary-bg);color:var(--primary-text);border-color:var(--primary-outline)}a{color:inherit;text-decoration:none}:focus-visible{outline:3px solid var(--focus);outline-offset:3px}::selection{background:var(--selection);color:var(--text)}aside{width:230px;background:var(--surface);border-right:1px solid var(--line);position:fixed;inset:0 auto 0 0;padding:35px 22px;display:flex;flex-direction:column}nav{display:grid;gap:6px}nav a{font-size:14px;padding:13px 14px;border-radius:6px;color:var(--muted)}nav a:hover{background:var(--surface-hover)}nav a.active{background:var(--selected-bg);color:var(--selected-text);font-weight:650}.shell{margin-left:230px}header{height:76px;padding:0 42px;border-bottom:1px solid var(--line);background:var(--surface);display:flex;align-items:center;justify-content:space-between;font-size:13px;color:var(--muted)}header strong{color:var(--text-control);font-weight:500}.slash{padding:0 15px;color:var(--muted)}main{max-width:1600px;padding:38px 42px 20px;margin:auto}.heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:28px}h1{font-size:30px;font-weight:600;letter-spacing:-.9px;margin:0 0 9px}p{line-height:1.6;color:var(--muted);margin:0;font-size:14px}h2{font-size:18px;font-weight:600;letter-spacing:-.3px;margin:0 0 7px}h3{font-size:16px;font-weight:600;margin:0 0 8px}.filters{display:flex;align-items:center;gap:12px;margin-bottom:25px}.filters label{font-size:11px;color:var(--muted);display:grid;gap:6px}select,input{border:1px solid var(--control-border);background:var(--control-bg);border-radius:6px;padding:10px 12px;color:var(--text-control);font-size:14px;min-width:150px}select{cursor:pointer}.filter-note{margin-left:auto;text-align:right;font-size:11px;color:var(--muted);line-height:1.7}.filter-note strong{font-weight:500}.metrics{display:grid;grid-template-columns:repeat(4,1fr);background:var(--surface);border:1px solid var(--line);border-radius:10px;margin-bottom:24px;padding:23px 0}.metric{padding:0 25px;border-right:1px solid var(--line)}.metric:last-child{border:none}.metric label{font-size:13px;color:var(--muted)}.metric strong{display:block;font-size:32px;font-weight:600;letter-spacing:-1px;margin:13px 0 8px;font-variant-numeric:tabular-nums}.metric small{font-size:11px;color:var(--muted)}.two-col{display:grid;grid-template-columns:1.65fr 1fr;gap:22px;margin-bottom:24px}.panel{background:var(--surface);border:1px solid var(--line);border-radius:10px;padding:25px;min-width:0;margin-bottom:22px}.two-col .panel{margin:0}.panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:22px}.panel-head p{font-size:12px}.text-link{color:var(--accent-text);font-size:13px;background:none;border:0;padding:3px}.legend{display:flex;flex-wrap:wrap;gap:15px;font-size:11px;color:var(--muted)}.legend span:before{content:"";display:inline-block;width:7px;height:7px;border-radius:2px;background:var(--c);margin-right:6px}.chart{display:flex;height:190px;padding:15px 4px 0;align-items:flex-end;gap:16px;border-bottom:1px solid var(--line);background:repeating-linear-gradient(to top,transparent 0,transparent 44px,var(--separator) 45px,var(--separator) 46px)}.chart-group{display:flex;flex:1;height:100%;align-items:flex-end;gap:5px;position:relative}.chart-group i{width:33%;background:var(--c);height:var(--h);border-radius:3px 3px 0 0;min-height:0}.chart-labels{display:flex;justify-content:space-around;color:var(--muted);font-size:11px;margin:10px 0 22px}.rate-row{margin:22px 0}.rate-head{display:flex;justify-content:space-between;font-size:13px;gap:10px}.rate-head strong{font-size:18px;font-weight:600}.track{height:7px;background:var(--separator);border-radius:3px;margin:10px 0 7px;overflow:hidden}.track i{display:block;height:100%;background:var(--c);width:var(--w);border-radius:3px}.rate-row small{font-size:11px;color:var(--muted)}.notice{background:var(--notice-bg);color:var(--notice-text);padding:13px 15px;border-radius:6px;font-size:12px;line-height:1.6}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;font-size:13px;white-space:nowrap}th{text-align:left;font-weight:500;color:var(--muted);padding:12px 13px;background:var(--surface-soft);border-bottom:1px solid var(--line);font-size:11px}td{padding:15px 13px;border-bottom:1px solid var(--separator);font-variant-numeric:tabular-nums}tr:last-child td{border:0}tbody tr:hover{background:var(--row-hover)}.pill{display:inline-block;padding:5px 8px;border-radius:4px;font-size:11px;background:var(--neutral-bg);color:var(--neutral-text)}.pill.won{background:var(--success-bg);color:var(--success-text)}.pill.call{background:var(--master-bg);color:var(--master-text)}.brand-icon{display:inline-grid;place-items:center;width:26px;height:26px;border-radius:5px;background:var(--success-bg);color:var(--success-text);margin-right:9px;font-size:11px;font-weight:600}.toolbar{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:20px}.toolbar input{flex:1}.empty{text-align:center;padding:40px;color:var(--muted)}.split{display:flex;height:24px;overflow:hidden;border-radius:5px;margin:25px 0 18px}.split span{flex:1;background:var(--c)}.flow{display:grid;grid-template-columns:repeat(3,1fr);gap:25px;padding:20px 0}.flow article{border-top:2px solid var(--c);padding-top:17px}.big{font-size:30px;font-weight:600;display:block;margin:15px 0}.integration-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 0;border-bottom:1px solid var(--line)}.integration-row:last-child{border:0}.integration-row p{max-width:600px}.muted{color:var(--muted)}footer{display:flex;justify-content:space-between;font-size:11px;color:var(--muted);padding-top:12px}dialog{border:1px solid var(--line);border-radius:12px;max-width:560px;width:calc(100% - 30px);padding:28px;color:var(--text-control)}dialog::backdrop{background:var(--scrim)}dialog label{display:grid;gap:8px;margin:24px 0}dialog p{margin:10px 0}dialog button{margin:12px 8px 0 0}#toast{position:fixed;bottom:25px;right:25px;max-width:90%;background:var(--logo-bg);color:var(--logo-text);padding:14px 20px;border-radius:7px;display:none;font-size:14px}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.detail-grid small{display:block;color:var(--muted);margin-bottom:6px}.pagination{display:flex;justify-content:space-between;align-items:center;margin-top:20px;font-size:12px;gap:10px}@media(min-width:1500px){main{padding-top:45px}.chart{height:230px}}@media(max-width:1100px){aside{width:190px;padding:25px 15px}.shell{margin-left:190px}main{padding:28px 25px}.two-col{grid-template-columns:1fr}.filter-note{display:none}.metric{padding:0 17px}header{padding:0 25px}}@media(max-width:700px){nav a{white-space:nowrap;padding:9px;font-size:12px}.shell{margin:0}header{height:52px;padding:0 18px;font-size:11px}main{padding:25px 17px}h1{font-size:25px}.heading{align-items:flex-start}.heading button{font-size:12px;padding:9px;white-space:nowrap}.filters{flex-wrap:wrap;gap:8px}.filters label{flex:1}select{min-width:0;width:100%;font-size:12px}.metrics{grid-template-columns:1fr 1fr;padding:0}.metric{padding:20px;border-bottom:1px solid var(--line)}.metric:nth-child(2){border-right:none}.metric:last-child{border-top:1px solid var(--line)}.metric strong{font-size:28px}.panel{padding:18px}.flow{grid-template-columns:1fr}.integration-row{align-items:flex-start}.integration-row p{font-size:12px}.panel-head{flex-wrap:wrap}footer{gap:20px;line-height:1.6}.chart{gap:7px}.chart-group{gap:3px}.pagination{flex-wrap:wrap}}[hidden]{display:none!important}.role-preview{display:flex;align-items:center;gap:20px;padding:16px 20px;background:var(--surface-hover);border:1px solid var(--line);border-radius:8px;margin-bottom:24px}.role-preview label{display:grid;gap:7px;font-size:12px;color:var(--notice-text)}.role-preview select{min-width:230px}.role-preview p{flex:1;font-size:13px;color:var(--notice-text)}.org-master{padding:20px;background:var(--notice-bg);border-radius:8px}.org-master strong{font-size:20px}.chart-group i{flex:1}button:disabled{opacity:.45;cursor:default}@media(max-width:700px){.role-preview{align-items:stretch;flex-direction:column;gap:12px}.role-preview select{width:100%}.role-preview .pill{align-self:flex-start}}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:18px}.form-grid label{display:grid;gap:7px;font-size:14px}.form-grid input,.form-grid select{width:100%;min-width:0}.brand-checks{display:flex;gap:18px;flex-wrap:wrap}.brand-checks label{display:flex;align-items:center;gap:7px;font-size:14px}.brand-checks input{min-width:0;width:17px;height:17px;accent-color:var(--accent-text)}.brand-checks label:has(input:disabled){opacity:.45}.form-error{color:var(--danger-text);font-weight:500;margin:12px 0}.brand-cell{max-width:260px;white-space:normal;line-height:2}.form-actions{display:flex;gap:10px;flex-wrap:wrap}@media(max-width:700px){.form-grid{grid-template-columns:1fr}}nav button{text-align:left;border:0;color:var(--muted);font-weight:400;background:transparent;padding:13px 14px}nav button.active{background:var(--selected-bg);color:var(--selected-text);font-weight:650}.auth-shell{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:30px 20px;background:var(--login-bg)}.auth-panel{width:100%;max-width:460px;background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:32px}.auth-panel h1{font-size:27px}.auth-panel form{display:grid;gap:18px;margin:24px 0 18px}.auth-panel label{display:grid;gap:8px;font-size:14px}.auth-panel input{width:100%;font-size:16px}.local-note{font-size:12px;line-height:1.6;color:var(--muted);margin-top:28px}.local-note a{text-decoration:underline}.error-banner{background:var(--danger-bg);color:var(--danger-text);padding:15px 18px;margin-bottom:20px;border-radius:7px;font-size:14px}.feedback{margin-bottom:20px}.panel form fieldset{margin:24px 0;border:1px solid var(--line);padding:18px;border-radius:7px}.panel form fieldset p{margin-top:15px}.form-actions{margin-top:22px}.row-actions{display:flex;gap:8px}.brand-cell .pill{margin:2px}.table-wrap{margin-top:20px}small{font-size:12px}button:disabled{cursor:not-allowed;opacity:.5}@media(max-width:700px){nav button{white-space:nowrap;font-size:13px;padding:10px}.auth-panel{padding:25px}.row-actions{flex-wrap:wrap}}.app-sidebar{overflow-y:auto}.navigation-panel nav{flex:none}.brand-wordmark{display:inline-flex;align-items:center;gap:10px;font-size:22px;font-weight:700;line-height:1.1;letter-spacing:-.4px}.brand-wordmark-mark{display:block;flex:none;width:var(--brand-mark-size, 42px);height:var(--brand-mark-size, 42px);object-fit:contain}.sidebar-logo{flex:none;align-self:flex-start;margin-top:auto;padding-top:22px}.sidebar-logo .brand-wordmark{font-size:18px}.auth-brand{margin-bottom:32px;--brand-mark-size: 46px}.app-topbar{gap:16px}.app-breadcrumb{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.topbar-logo{display:none}.app-topbar-actions{position:relative;display:flex;flex:none;align-items:center;gap:8px}:is(.topbar-theme,.topbar-notifications){display:grid;place-items:center;flex:none;width:44px;height:44px;padding:0;border:0}.topbar-notifications[aria-expanded=true]{background:var(--selected-bg);color:var(--selected-text)}.notification-popover{position:absolute;z-index:12;inset-block-start:calc(100% + 8px);inset-inline-end:0;width:min(300px,calc(100vw - 40px));padding:16px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--text);box-shadow:0 8px 22px var(--popup-shadow)}.notification-popover h2{margin:0 0 6px;font-size:16px}.notification-popover p{font-size:13px}.mobile-nav-trigger{display:none}.sidebar-account{position:relative;flex:none;margin-bottom:24px}.sidebar-account-trigger{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;width:100%;min-height:56px;padding:10px 12px;text-align:left}.sidebar-account-trigger[aria-expanded=true]{background:var(--surface-hover)}.sidebar-account-avatar{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:var(--selected-bg);color:var(--selected-text);font-size:12px;font-weight:650}.sidebar-account-identity{min-width:0;display:grid;gap:3px}.sidebar-account-identity strong{color:var(--text-control);font-size:14px;font-weight:650;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar-account-identity small{color:var(--muted);font-size:11px;font-weight:500;overflow-wrap:anywhere}.sidebar-account-caret{color:var(--muted)}.sidebar-account-trigger[aria-expanded=true] .sidebar-account-caret{transform:rotate(180deg)}.account-popover-actions{position:absolute;z-index:2;top:calc(100% + 6px);inset-inline:0;display:grid;gap:2px;padding:5px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--text);box-shadow:0 8px 22px var(--popup-shadow)}.account-popover-actions button{border:0;min-height:40px;padding:8px 11px;text-align:left;font-size:13px}.account-popover-actions .account-sign-out{color:var(--danger-text)}.account-popover-actions .account-sign-out:hover{background:var(--danger-bg)}.account-profile-title{scroll-margin-top:75px}.account-profile-title:focus{outline:none}.account-profile{max-width:720px}.account-profile-data{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 24px;margin:0}.account-profile-data>div{display:grid;align-content:start;gap:6px}.account-profile-data dt{color:var(--muted);font-size:12px}.account-profile-data dd{margin:0;overflow-wrap:anywhere;font-size:14px}.account-profile-brands{grid-column:1 / -1;border-top:1px solid var(--line);padding-top:16px}.account-profile-brands dd{display:flex;flex-wrap:wrap;gap:6px}@media(max-width:700px){.app-sidebar,.app-breadcrumb{display:none}.app-topbar{position:sticky;top:0;z-index:10;height:59px;gap:8px;padding-inline:14px}.topbar-logo{display:inline-flex;min-width:0;white-space:nowrap;--brand-mark-size: 32px}.topbar-logo .brand-wordmark{min-width:0;gap:7px;font-size:16px}.topbar-logo .brand-wordmark-name{overflow:hidden;text-overflow:ellipsis}.app-topbar-actions{gap:6px}.mobile-nav-trigger{display:grid;place-items:center;flex:none;width:44px;height:44px;padding:0}.mobile-nav-drawer{position:fixed;inset:0 auto 0 0;margin:0;padding:0;width:min(320px,88vw);height:100dvh;max-width:none;max-height:none;border:0;border-right:1px solid var(--line);border-radius:0;background:var(--surface);color:var(--text);overflow:hidden}.mobile-nav-content{display:flex;flex-direction:column;height:100%;overflow-y:auto;overscroll-behavior:contain;padding:15px 18px max(22px,env(safe-area-inset-bottom))}.mobile-nav-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.mobile-nav-heading h2{margin:0;font-size:17px}.mobile-nav-close{display:grid;place-items:center;width:44px;height:44px;margin:0;padding:0}.mobile-nav-content nav button{min-height:44px;margin:0;padding:11px 12px;font-size:14px;border-radius:7px}}@media(max-width:370px){.app-topbar{gap:6px;padding-inline:10px}.app-topbar-actions{gap:4px}.topbar-logo{--brand-mark-size: 28px}.topbar-logo .brand-wordmark{gap:5px;font-size:14px}}@media(max-width:700px)and (prefers-reduced-motion:no-preference){.mobile-nav-drawer[open]{animation:mobile-nav-in .18s ease-out}}@keyframes mobile-nav-in{0%{transform:translate(-100%)}to{transform:translate(0)}}.overview-kpis{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:1px;margin:0 0 22px;border:1px solid var(--line);border-radius:10px;background:var(--line);overflow:hidden}.overview-kpis>div{display:flex;flex-direction:column;justify-content:space-between;gap:7px;padding:16px 18px;background:var(--surface)}.overview-kpis dt{min-width:0;color:var(--muted);font-size:13px;line-height:1.25}.overview-kpis dd{margin:0;color:var(--text);font-size:29px;font-weight:650;line-height:1.15;font-variant-numeric:tabular-nums}.overview-graphs{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px;margin-bottom:22px}.overview-graph{margin:0}.overview-graph figcaption p{font-size:13px}.overview-bars{display:grid;gap:13px;list-style:none;padding:0;margin:17px 0 0}.overview-bar-label{display:flex;justify-content:space-between;align-items:baseline;gap:8px;font-size:13px}.overview-bar-label>span{display:inline-flex;align-items:center;gap:7px;font-weight:600;min-width:0;overflow-wrap:anywhere}.overview-bar-label>strong{font-size:14px;font-variant-numeric:tabular-nums}.overview-bar-detail{margin-top:5px;font-size:12px;line-height:1.25}.overview-track{height:10px;margin-top:6px;overflow:hidden;border-radius:3px;background:var(--separator)}.overview-track>span{display:block;height:100%;background:var(--graph-color);border-radius:inherit}[data-brand]{--graph-color: var(--muted)}[data-brand=a2retail]{--graph-color: var(--brand-a2a)}[data-brand=verdeRetail]{--graph-color: var(--brand-segno-verde)}[data-brand=p-retail]{--graph-color: var(--brand-plenitude)}[data-brand=fastretail]{--graph-color: var(--brand-fastretail)}[data-brand=conviene-qui]{--graph-color: var(--brand-conviene-qui)}[data-team=backoffice]{--graph-color: var(--backoffice)}[data-team=territory]{--graph-color: var(--agents)}[data-team=aurora]{--graph-color: var(--aurora)}.overview-color{display:inline-block;flex:none;width:8px;height:8px;border-radius:3px;background:var(--graph-color)}.overview-brand-name{display:inline-flex;align-items:center;gap:8px;font-weight:600}.overview-detail [data-numeric]{text-align:right;font-variant-numeric:tabular-nums}@media(max-width:1150px){.overview-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:850px){.overview-graphs{grid-template-columns:1fr;gap:14px}}@media(max-width:560px){.overview-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.overview-kpis>div{padding:12px 14px}.overview-kpis dd{font-size:25px}}.portal-id-cell{min-width:88px;max-width:180px;white-space:normal;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.brand-catalog.panel{padding:0;overflow:hidden}.brand-catalog-state{padding:20px 24px}.brand-catalog-table{table-layout:fixed;white-space:normal;overflow-wrap:anywhere}.brand-catalog-table :is(th,td){padding:12px 24px}.brand-catalog-table thead th{font-size:12px;white-space:nowrap}.brand-catalog-table thead th:nth-child(2){width:27%}.brand-catalog-table tr>:last-child{width:9rem;text-align:right}.brand-catalog-table th[scope=row]{background:transparent;border-bottom:1px solid var(--separator)}.brand-catalog-table tbody tr:last-child>*{border-bottom:0}.brand-catalog-identity{display:flex;align-items:center;gap:12px}.brand-catalog-identity strong{display:block;color:var(--text);font-size:14px;font-weight:650}.brand-catalog-identity small{display:block;margin-top:4px;font-size:12px}.brand-catalog-mark{display:grid;place-items:center;flex:none;width:32px;height:32px;border-radius:7px;background:color-mix(in srgb,var(--graph-color) 16%,var(--surface))}.brand-catalog-mark:before{content:"";width:10px;height:10px;border-radius:50%;background:var(--graph-color)}.brand-catalog-id{max-width:100%;padding:5px 9px;font-size:13px;font-weight:600}.brand-catalog-edit{min-height:40px;padding:7px 10px;color:var(--accent-text);background:transparent;border-color:transparent}.brand-catalog-edit:hover{background:var(--selected-bg);border-color:transparent}.account-filters{align-items:end;flex-wrap:wrap;margin-bottom:12px}.lead-filters{align-items:end;flex-wrap:wrap}.lead-source-legend{display:grid;justify-items:end;align-content:end;gap:6px;min-width:0;padding-bottom:3px;margin-inline-start:auto}.lead-source-legend>span{font-size:11px;font-weight:600;color:var(--muted)}.lead-source-legend ul{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:4px;margin:0;padding:0;list-style:none}.lead-source-legend .lead-chip{padding-inline:7px}.account-filters button{white-space:nowrap}.filter-select{position:relative;display:grid;gap:6px;flex:1 1 210px;min-width:0;max-width:280px}.filter-select-label{font-size:11px;color:var(--muted)}.filter-select-trigger{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:40px;text-align:left;font-weight:500}.filter-select-trigger span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.filter-select-caret{width:7px;height:7px;margin:-3px 3px 0 0;border:solid var(--muted);border-width:0 1.5px 1.5px 0;transform:rotate(45deg);flex:none}.filter-select-trigger[aria-expanded=true] .filter-select-caret{transform:rotate(225deg);margin-top:3px}.filter-select-menu{position:absolute;inset-inline:0;top:calc(100% + 6px);z-index:5;padding:8px;border:1px solid var(--line);border-radius:8px;background:var(--surface);box-shadow:0 8px 18px var(--popup-shadow)}.filter-select-menu input{width:100%;min-width:0;padding:8px 10px}.filter-select-options{max-height:min(250px,36dvh);overflow-y:auto;overscroll-behavior:contain;list-style:none;padding:0;margin:6px 0 0}.filter-select-options li{display:grid;align-content:center;gap:2px;min-height:37px;padding:8px 10px;border-radius:5px;font-size:13px;cursor:pointer}.filter-select-options li[aria-selected=true]{color:var(--selected-text);font-weight:650}.filter-select-options li[data-active=true],.filter-select-options li:hover{background:var(--surface-hover)}.filter-select-options small{font-size:11px;font-weight:400;color:var(--muted);overflow-wrap:anywhere}.filter-select-empty{margin:8px 10px;font-size:13px}.filter-select--plain{max-width:none}.filter-select--plain .filter-select-menu{position:static}.filter-select--plain .filter-select-options{margin-top:0}.account-filters .agent-filter{display:flex;flex:none;align-items:center;gap:8px;min-height:40px;padding-inline:4px;font-size:13px;color:inherit;cursor:pointer}.agent-filter input{min-width:0;width:16px;height:16px;margin:0;accent-color:var(--accent-text)}.account-filter-count{font-size:12px}.account-table{margin-top:12px}.account-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;margin:0 0 22px;border:1px solid var(--line);border-radius:10px;background:var(--line);overflow:hidden}.account-metrics div{padding:16px 22px 18px;background:var(--surface)}.account-metrics dt{color:var(--muted);font-size:13px;font-weight:600}.account-metrics dd{margin:5px 0 0;color:var(--text);font-size:28px;font-weight:650;line-height:1.15;font-variant-numeric:tabular-nums}.pill.access-pending{background:var(--pending-bg);color:var(--pending-text)}.pill.access-suspended{background:var(--suspended-bg);color:var(--suspended-text)}.pill.role-chip{padding:5px 9px;border-radius:999px;font-weight:650}.role-chip.role-chip--supremo{background:var(--master-bg);color:var(--master-text)}.role-chip.role-chip--director{background:var(--director-bg);color:var(--director-text)}.role-chip.role-chip--am{background:var(--am-bg);color:var(--am-text)}.role-chip.role-chip--ka{background:var(--ka-bg);color:var(--ka-text)}.invite-button{background:var(--invite-bg);border-color:var(--invite-border);color:var(--invite-text)}.invite-button:not(:disabled):hover{background:var(--invite-hover);border-color:var(--invite-hover-border)}body:has(:is(.form-dialog,.mobile-nav-drawer)[open]){overflow:hidden}.form-dialog{position:fixed;inset:0;margin:auto;padding:0;width:min(700px,calc(100% - 32px));max-width:none;max-height:calc(100dvh - 24px);overflow:hidden;background:var(--surface)}.form-dialog::backdrop{background:var(--scrim)}.form-dialog form,.form-dialog-layout{display:grid;grid-template-rows:auto minmax(0,1fr) auto;max-height:calc(100dvh - 26px)}.form-dialog :is(label,p,button){margin:0}.form-dialog-head,.form-dialog-body,.form-dialog-foot{padding:20px 24px}.form-dialog-head{border-bottom:1px solid var(--line)}.form-dialog-head h2{margin:0 0 4px;font-size:22px}.form-dialog-head p,.profile-dialog-brands p,.form-dialog-foot p{font-size:13px}.form-dialog-body{overflow-y:auto;overscroll-behavior:contain}.form-dialog-fields{border:0;padding:0;margin:0;min-width:0}.form-dialog .form-grid{margin-top:0;align-items:start}.form-dialog .filter-select--plain .filter-select-label{color:var(--text-control);font-size:14px}:is(.profile-dialog,.brand-dialog) .form-grid small{margin-left:5px;font-weight:400}.brand-dialog{width:min(560px,calc(100% - 32px))}.brand-dialog .form-dialog-head{overflow-wrap:anywhere}.brand-operator-field:only-child{grid-column:1 / -1}.brand-operator-field input{font-variant-numeric:tabular-nums}.brand-dialog .brand-operator-field p{margin-top:8px;font-size:13px}.profile-dialog-brands{margin:20px 0 0;padding:12px 14px;border:1px solid var(--line);border-radius:7px;min-width:0}.profile-dialog-brands legend{padding:0 4px;font-size:14px;font-weight:600}.profile-dialog-brands p{margin-top:8px}.profile-dialog .profile-brand-note{margin-top:20px}.form-dialog-foot{border-top:1px solid var(--line);background:var(--surface-soft)}.form-dialog-foot .form-error{margin-bottom:12px}.form-dialog-actions{display:flex;justify-content:flex-end;gap:10px}.lead-dialog{width:min(620px,calc(100% - 32px))}.lead-city-cell{max-width:180px;white-space:normal;overflow-wrap:anywhere}.lead-table-row{cursor:pointer}.lead-table-row:focus-within{background:var(--row-hover)}.lead-profile-trigger{border:0;padding:2px 0;background:transparent;color:var(--accent-text);font-size:inherit;font-weight:650;text-align:left}.lead-profile-trigger:hover{background:transparent;text-decoration:underline;text-underline-offset:3px}.lead-origin{display:grid;justify-items:start;gap:4px}.lead-chip{--chip-accent: var(--graph-color, var(--muted));display:inline-flex;align-items:center;gap:6px;padding:4px 8px;font-weight:600;line-height:1.2;color:var(--text-control);background:color-mix(in srgb,var(--chip-accent) 16%,var(--surface));white-space:nowrap}.lead-chip:before{content:"";width:7px;height:7px;flex:none;border-radius:50%;background:var(--chip-accent)}.lead-chip[data-source=Meta]{--chip-accent: var(--source-meta)}.lead-chip[data-source=Google]{--chip-accent: var(--source-google)}.lead-chip[data-source="Sito web"]{--chip-accent: var(--source-website)}.lead-chip[data-source=Manuale]{--chip-accent: var(--source-manual)}.lead-table-row .row-actions{align-items:center;flex-wrap:nowrap}.lead-delete-button{display:inline-grid;place-items:center;width:36px;min-height:36px;padding:0;border-color:transparent;background:transparent}.lead-status-button{display:inline-flex;align-items:center;gap:7px;min-height:34px;border:1px solid transparent}.lead-status-button:after{content:"";width:5px;height:5px;border-right:1px solid;border-bottom:1px solid;transform:translateY(-1px) rotate(45deg)}.lead-status-button:hover{border-color:currentColor}.lead-notes-button{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-width:40px;min-height:36px;padding:6px 8px;color:var(--accent-text)}.lead-notes-button span{font-size:11px}.lead-notes-dialog{width:min(560px,calc(100% - 32px))}.lead-notes-dialog .form-dialog-head p{overflow-wrap:anywhere}.lead-note-entry{display:grid;gap:7px;font-size:14px}.lead-note-entry textarea{resize:vertical;min-height:90px;max-height:240px;width:100%;padding:10px 12px;background:var(--control-bg);color:var(--text-control);border:1px solid var(--control-border);border-radius:6px;font:inherit}.lead-note-entry textarea::placeholder{color:var(--muted)}.lead-note-history{margin-top:20px;padding-top:16px;border-top:1px solid var(--line)}.lead-note-list{list-style:none;margin:0;padding:0}.lead-note-list li+li{border-top:1px solid var(--separator);margin-top:12px;padding-top:12px}.lead-note-list li>div{display:flex;flex-wrap:wrap;align-items:baseline;gap:3px 12px;justify-content:space-between;font-size:13px}.lead-note-list time{color:var(--muted)}.lead-note-list li p{margin-top:4px;color:var(--text);white-space:pre-wrap;overflow-wrap:anywhere}.lead-conversion-field p{margin-top:6px;color:var(--muted);font-size:12px}.lead-profile-dialog{width:min(560px,calc(100% - 32px))}.lead-delete-dialog{width:min(480px,calc(100% - 32px))}.lead-delete-dialog .form-dialog-body strong{color:var(--text);overflow-wrap:anywhere}.lead-profile-dialog .form-dialog-head h2{overflow-wrap:anywhere}.lead-profile-section+.lead-profile-section{margin-top:19px;padding-top:15px;border-top:1px solid var(--line)}.lead-profile-section h3{margin:0 0 11px;font-size:14px}.lead-profile-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px 20px;margin:0}.lead-profile-fields dt{color:var(--muted);font-size:12px}.lead-profile-fields dd{margin:4px 0 0;font-size:14px;overflow-wrap:anywhere}.lead-dialog .form-dialog-head h2{overflow-wrap:anywhere}.lead-dialog-contact{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,190px),1fr));gap:10px 14px;margin:0 0 18px;padding:11px 13px;border:1px solid var(--line);border-radius:7px;background:var(--surface-soft)}.lead-dialog-contact dt{color:var(--muted);font-size:12px}.lead-dialog-contact dd{margin:4px 0 0;overflow-wrap:anywhere;font-size:14px}.lead-dialog-assignee-note:not(:empty){margin-top:8px;font-size:13px}@media(max-width:600px){.filter-select{flex-basis:100%;max-width:none}.filter-select-menu input{font-size:16px}.account-metrics div{display:flex;flex-direction:column;justify-content:space-between;padding:12px}.account-metrics dd{font-size:24px}.form-dialog-head,.form-dialog-body,.form-dialog-foot{padding:16px}.form-dialog .form-grid input,.form-dialog .form-grid select{font-size:16px}.lead-dialog .form-grid>:is(.filter-select--plain,.lead-conversion-field){grid-column:1 / -1}.lead-note-entry textarea{font-size:16px}.lead-notes-button{min-width:44px;min-height:44px}.lead-delete-button{width:44px;min-height:44px}}@media(max-width:450px){.account-profile-data{grid-template-columns:minmax(0,1fr);gap:16px}.brand-dialog .form-grid{grid-template-columns:1fr}.brand-catalog-table :is(th,td){padding:10px 9px}.brand-catalog-table thead th:nth-child(2){width:30%}.brand-catalog-table tr>:last-child{width:5.5rem}.brand-catalog-identity{gap:8px}.brand-catalog-mark{width:24px;height:24px}.brand-catalog-edit{min-height:44px;padding-inline:5px;font-size:12px}}@media(max-width:370px){.lead-profile-fields{grid-template-columns:1fr}}
