:root{color-scheme:light;font-family:Segoe UI,Arial,Helvetica,sans-serif;background:#f5f7fb;color:#18202f;--switch-width: 48px;--switch-height: 26px;--switch-knob-size: 18px;--switch-knob-offset: 4px;--switch-knob-travel: 22px;--table-hover-bg: #ffe65a}*{box-sizing:border-box}html,body,#root{width:100%;height:100%;min-height:100vh;overflow:hidden}body{margin:0;min-width:320px;background:#f5f7fb}button,input,select{font:inherit}button{cursor:pointer}.center-screen{min-height:100vh;display:grid;place-items:center;padding:24px}.login-page{min-height:100vh;display:grid;grid-template-columns:minmax(0,1.42fr) minmax(420px,.58fr);background:#f7f9fc}.login-hero{min-height:100vh;background-size:cover;background-position:center right;color:#fff;position:relative;overflow:hidden}.login-hero-overlay{min-height:100vh;padding:36px clamp(28px,4.5vw,64px);display:grid;align-content:start;gap:clamp(20px,3vh,34px);background:linear-gradient(90deg,#02081ef5,#030b27db 46%,#030c2b61),linear-gradient(180deg,#0307192e,#030719db)}.login-hero-logo{width:max-content;max-width:min(300px,72vw);display:inline-flex;flex-direction:column;gap:7px;padding:10px 12px;border:1px solid rgba(255,255,255,.26);border-radius:8px;background:#ffffff17;box-shadow:0 18px 34px #00000047;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);align-self:start}.login-hero-logo img{width:162px;max-width:100%;height:auto;display:block;object-fit:contain}.login-hero-logo span{color:#ffffffd1;font-size:12px;font-weight:750;text-align:center}.login-hero-copy{max-width:650px;margin-top:4px}.login-hero-copy h1{margin:0;font-size:clamp(30px,3.3vw,48px);line-height:1.18;letter-spacing:0;font-weight:500}.login-hero-copy h1 span{display:block;font-weight:800;color:#f05ad9}.hero-accent{width:120px;height:4px;margin-top:24px;border-radius:8px;background:linear-gradient(90deg,#0b55d9,#a30dea,#f05ad9)}.login-benefits{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 18px;max-width:860px}.login-benefit{display:grid;grid-template-columns:46px minmax(0,1fr);gap:12px;align-items:start}.benefit-icon{width:46px;height:46px;display:grid;place-items:center;border:1px solid rgba(169,74,255,.84);border-radius:8px;color:#fff;background:#06123aa8;box-shadow:inset 0 0 0 1px #146dff3d}.login-benefit strong{display:block;font-size:14px;margin-bottom:4px}.login-benefit span{display:block;color:#d7def1;font-size:12px;line-height:1.45}.login-mobile-platforms{display:flex;flex-wrap:wrap;gap:10px;max-width:860px}.login-mobile-platforms a,.login-mobile-platforms span{min-height:38px;display:inline-flex;align-items:center;gap:8px;padding:0 12px;border:1px solid rgba(255,255,255,.22);border-radius:8px;background:#ffffff14;color:#fff;font-size:12px;font-weight:750;text-decoration:none;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.login-mobile-platforms a:hover{border-color:#ffffff6b;background:#ffffff24}.login-mobile-platforms svg{width:17px;height:17px;stroke-width:2.2}.login-side{min-height:100vh;display:grid;align-items:center;background:linear-gradient(135deg,rgba(12,83,222,.06),transparent 34%),linear-gradient(315deg,rgba(165,13,234,.08),transparent 34%),#f8fafc}.login-side-inner{width:min(100%,560px);margin:0 auto;padding:44px clamp(22px,4vw,64px)}.login-panel,.user-form{width:min(100%,420px);background-color:#fff;border:1px solid #dde5ef;border-radius:8px;padding:28px;box-shadow:0 20px 60px #121e371f}.login-panel{width:min(100%,470px);padding:34px;border-color:#dce2ecd1;box-shadow:0 24px 70px #151f3724}.login-title h1,.topbar h1,.section-heading h2{margin:0;letter-spacing:0}.login-title h1{font-size:25px;color:#141f3a}.login-title>span{display:block;margin-top:6px;color:#66748c;font-size:12px;line-height:1.35;font-weight:500}.muted{color:#6b788d;margin:0 0 4px;font-size:14px}label{display:grid;gap:5px;color:#334155;font-size:13px;margin-top:12px}input,select{width:100%;min-height:40px;border:1px solid #cbd5e1;border-radius:8px;padding:9px 11px;background:#fff;color:#18202f;font-size:13px;line-height:1.2}select{appearance:none;cursor:pointer;padding-right:38px;background-color:#fff;background-image:linear-gradient(45deg,transparent 50%,#64748b 50%),linear-gradient(135deg,#64748b 50%,transparent 50%);background-position:calc(100% - 20px) 50%,calc(100% - 13px) 50%;background-repeat:no-repeat;background-size:8px 8px,8px 8px}select:disabled{cursor:not-allowed;background-color:#f8fafc;color:#64748b}input:focus,select:focus{outline:3px solid rgba(84,72,220,.18);border-color:#5a40df}.input-with-icon{position:relative}.input-with-icon svg{position:absolute;left:12px;top:50%;transform:translateY(-50%);color:#64748b}.input-with-icon input{padding-left:44px}.primary-button,.icon-text-button,.icon-button,.nav-list button{min-height:42px;border:0;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;gap:9px}.primary-button{width:100%;margin-top:24px;min-height:54px;background:linear-gradient(135deg,#0737d3,#a30dea);color:#fff;font-weight:700;box-shadow:0 14px 30px #5032d642}.primary-button:disabled{opacity:.7}.icon-text-button,.icon-button{background:#eef3f8;color:#1f2937;padding:0 14px}.icon-text-button{min-height:38px;padding:0 12px;font-size:13px;font-weight:550}.icon-text-button svg{width:16px;height:16px;stroke-width:2}.icon-button{width:42px;padding:0}.error-box{background:#fff1f2;border:1px solid #fecdd3;color:#9f1239;padding:12px;border-radius:8px;margin-top:16px}.login-footer{display:flex;align-items:center;gap:8px;color:#8a96aa;margin-top:58px;font-size:14px}.app-shell{width:100%;min-width:0;height:100vh;height:100dvh;max-height:100vh;max-height:100dvh;min-height:0;display:grid;grid-template-columns:236px minmax(0,1fr);overflow:hidden}.sidebar{min-height:0;background:#141d2f;color:#fff;padding:18px 16px;display:flex;flex-direction:column;border-right:1px solid rgba(255,255,255,.06)}.sidebar-user{display:flex;align-items:center;gap:9px;margin-bottom:22px;padding:9px 10px;border-radius:7px;background:#ffffff0b;border:1px solid rgba(255,255,255,.06)}.sidebar-user span{color:#8fa1bc;font-size:10px;font-weight:600}.sidebar-user strong{display:block;color:#eef4ff;font-size:12px;font-weight:600;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.avatar{width:38px;height:38px;flex:0 0 auto;border-radius:999px;display:inline-grid;place-items:center;overflow:hidden;background:#eef3f8;border:1px solid rgba(255,255,255,.22);box-shadow:0 8px 18px #0f172a2e}.avatar-sm{width:30px;height:30px}.avatar img{width:100%;height:100%;display:block;object-fit:cover}.nav-list{display:grid;gap:4px}.nav-list button{justify-content:flex-start;width:100%;background:transparent;color:#c8d2e3;padding:0 10px;min-height:38px;border-radius:7px;font-size:13px;font-weight:500}.nav-list button svg{width:16px;height:16px;stroke-width:1.9}.nav-list button.active,.nav-list button:hover{background:#5b749a42;color:#fff}.nav-list button.active{box-shadow:inset 2px 0 #5d8cff}.nav-group{display:grid;gap:4px;margin-top:4px}.nav-group-title{min-height:38px;display:inline-flex;align-items:center;gap:8px;padding:0 10px;border-radius:7px;color:#d3dbea;font-size:13px;font-weight:600}.nav-group-title svg{width:16px;height:16px;stroke-width:1.9}.nav-group-title.active{background:#5b749a29;color:#fff}.nav-group-chevron{margin-left:auto;color:currentColor;opacity:.78;transition:transform .14s ease}.nav-group-title.is-open .nav-group-chevron{transform:rotate(180deg)}.nav-sub-list{display:grid;gap:4px;padding-left:14px}.nav-sub-list button{min-height:36px;padding-left:10px;font-size:12.5px}.nav-sub-list button svg{width:15px;height:15px}.sidebar-logout{min-height:38px;margin-top:auto;border:0;border-radius:7px;display:inline-flex;align-items:center;justify-content:flex-start;gap:8px;padding:0 10px;background:#ef44441a;color:#f4c7c7;font-size:13px;font-weight:500}.sidebar-logout svg{width:16px;height:16px;stroke-width:1.9}.sidebar-logout:hover{background:#ef44442e;color:#fff}.main{min-width:0;min-height:0;height:100%;max-height:100dvh;display:flex;flex-direction:column;background:#f5f7fb;overflow:hidden}.topbar{width:100%;flex:0 0 auto;min-height:72px;padding:10px 20px;background:#fff;border-bottom:1px solid #dde5ef;display:flex;align-items:center;justify-content:space-between;gap:16px}.page-title-block{min-width:0;flex:1 1 auto;display:inline-flex;align-items:center;gap:10px}.page-title-icon{width:36px;height:36px;flex:0 0 auto;border-radius:8px;display:inline-grid;place-items:center;background:#eef3f8;color:#0b55d9}.page-title-icon svg{stroke-width:2}.page-title-block p{margin:0 0 1px;color:#6b788d;font-size:12px;font-weight:650;line-height:1.1}.page-title-block h1{margin:0;color:#172033;font-size:20px;font-weight:750;line-height:1.08;letter-spacing:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.topbar-actions{display:flex;align-items:center;gap:10px;margin-left:auto}.exchange-rates{min-height:42px;display:inline-flex;align-items:center;gap:8px;padding:0 11px;border:1px solid #dce5ef;border-radius:8px;background:#fff;color:#243044;box-shadow:0 8px 24px #0f172a0a;font-size:12px;font-weight:500;white-space:nowrap}.notification-panel{min-height:38px;display:inline-flex;align-items:center;gap:6px;padding:0 10px;border:1px solid #dce5ef;border-radius:8px;background:#fff;color:#243044;box-shadow:0 8px 24px #0f172a0a;font-size:12px;font-weight:550}.notification-panel:hover{border-color:#b9d1ff;background:#f8fbff}.notification-panel.has-unseen{border-color:#bfdbfe;background:#eff6ff}.notification-panel svg{width:15px;height:15px;color:#0b55d9;stroke-width:2}.notification-panel small{color:#64748b;font-size:11px;font-weight:650;white-space:nowrap}.notification-panel strong{min-width:20px;height:20px;display:inline-grid;place-items:center;border-radius:999px;background:#0b55d9;color:#fff;font-size:11px;font-weight:700;font-variant-numeric:tabular-nums}.online-users-panel{position:relative}.online-users-button{min-height:38px;display:inline-flex;align-items:center;gap:6px;padding:0 10px;border:1px solid #dce5ef;border-radius:8px;background:#fff;color:#243044;box-shadow:0 8px 24px #0f172a0a;font-size:12px;font-weight:650;cursor:pointer}.online-users-button:hover,.online-users-button.is-open{border-color:#bbf7d0;background:#f0fdf4}.online-users-button svg{width:15px;height:15px;color:#16a34a;stroke-width:2}.online-users-button strong{min-width:20px;height:20px;display:inline-grid;place-items:center;border-radius:999px;background:#16a34a;color:#fff;font-size:11px;font-weight:750;font-variant-numeric:tabular-nums}.online-users-dropdown{position:absolute;top:calc(100% + 8px);left:0;z-index:30;width:260px;border:1px solid #dce5ef;border-radius:8px;background:#fff;box-shadow:0 18px 42px #0f172a29;overflow:hidden}.online-users-dropdown-header{min-height:40px;display:flex;align-items:center;justify-content:space-between;padding:0 12px;border-bottom:1px solid #edf2f7;color:#172033;font-size:12px;font-weight:750}.online-users-dropdown-header strong{min-width:22px;height:22px;display:inline-grid;place-items:center;border-radius:999px;background:#dcfce7;color:#15803d;font-size:11px}.online-users-list{max-height:280px;overflow-y:auto;padding:6px}.online-user-row{display:grid;grid-template-columns:34px minmax(0,1fr) auto;gap:8px;align-items:center;padding:7px;border-radius:7px}.online-user-row:hover{background:#f8fafc}.online-user-avatar{position:relative;width:32px;height:32px}.online-user-avatar i{position:absolute;right:-1px;bottom:0;width:9px;height:9px;border:2px solid #ffffff;border-radius:999px;background:#22c55e}.online-user-row strong{display:block;color:#172033;font-size:12px;font-weight:750;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.online-user-row small{display:block;color:#64748b;font-size:11px;font-weight:650}.online-user-devices{display:inline-flex;align-items:center;justify-content:flex-end;gap:4px;color:#64748b}.online-user-devices svg{width:13px;height:13px;stroke-width:2.3}.online-user-devices svg:first-child{color:#2563eb}.online-user-devices svg:last-child{color:#16a34a}.online-users-empty{padding:16px 10px;color:#64748b;text-align:center;font-size:12px;font-weight:650}.task-assignment-toast{position:fixed;top:18px;right:18px;z-index:80;max-width:min(360px,calc(100vw - 36px));display:grid;grid-template-columns:36px minmax(0,1fr);gap:10px;align-items:start;padding:12px 14px;border:1px solid #bfdbfe;border-radius:10px;background:#fff;color:#172033;box-shadow:0 18px 42px #0f172a2e;animation:toast-slide-in .18s ease-out}.task-assignment-toast-icon{width:36px;height:36px;display:inline-grid;place-items:center;border-radius:9px;background:#eff6ff;color:#0b55d9}.task-assignment-toast strong,.task-assignment-toast span,.task-assignment-toast small{display:block}.task-assignment-toast strong{font-size:13px;font-weight:750}.task-assignment-toast span{margin-top:3px;color:#334155;font-size:12px;font-weight:650;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.task-assignment-toast small{margin-top:2px;color:#64748b;font-size:11px;font-weight:600}@keyframes toast-slide-in{0%{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}.exchange-rates-source{color:#64748b;font-size:11px;font-weight:650;padding-right:2px}.exchange-rates strong{color:#061057;font-size:11px;font-weight:700}.exchange-rates-loading{color:#64748b}.exchange-rates-error{color:#9f1239;border-color:#fecdd3;background:#fff1f2}.content-area{width:100%;min-width:0;flex:1 1 auto;overflow:auto;padding:20px}.two-column{display:grid;grid-template-columns:minmax(0,1fr) 420px;gap:24px;align-items:start}.section-heading{margin-bottom:18px}.row-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.metric-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.metric{min-height:128px;border:1px solid #dde5ef;background:#fff;border-radius:8px;padding:18px;display:grid;gap:10px}.metric span{color:#6b788d}.metric strong{font-size:26px}.sales-dashboard{display:grid;gap:14px;background:#f5f7fb}.dashboard-page{align-content:start;gap:14px}.dashboard-tabs-wrap{position:relative;z-index:6}.dashboard-tabs{position:relative;display:flex;align-items:center;gap:6px;min-height:58px;padding:7px;border:1px solid #dce5f1;border-radius:8px;background:#fff;box-shadow:0 10px 26px #0f172a09;overflow-x:auto}.dashboard-tabs button{position:relative;min-height:42px;display:inline-flex;align-items:center;justify-content:center;padding:0 18px;border:1px solid transparent;border-radius:7px;background:transparent;color:#475569;font-size:13px;font-weight:800;letter-spacing:0;white-space:nowrap;transition:background .14s ease,border-color .14s ease,color .14s ease,box-shadow .14s ease,transform .14s ease}.dashboard-tabs button strong{font-size:14px;font-weight:800;letter-spacing:0}.dashboard-tabs button:hover{background:#f6f8fc;color:#2457e6}.dashboard-tabs button.is-active{border-color:#dbe6f6;background:#f8fbff;color:#1748dd;box-shadow:inset 0 0 0 1px #2f63f50f}.dashboard-tabs button.is-active:after{content:"";position:absolute;left:18px;right:18px;bottom:5px;height:3px;border-radius:999px;background:linear-gradient(90deg,#1748dd,#7c3aed)}.dashboard-custom-date-popover{position:absolute;top:calc(100% + 8px);left:50%;transform:translate(-50%);z-index:15;width:min(460px,calc(100vw - 42px));display:grid;grid-template-columns:32px repeat(2,140px) auto;align-items:end;gap:8px;padding:10px;border:1px solid #dce5f1;border-radius:8px;background:#fff;box-shadow:0 18px 42px #0f172a29}.dashboard-custom-date-popover-icon{width:32px;height:32px;display:inline-grid;place-items:center;border-radius:8px;background:#eaf2ff;color:#1d4ed8}.dashboard-custom-date-popover label{min-width:0;display:grid;gap:5px}.dashboard-custom-date-popover label span{color:#64748b;font-size:11px;font-weight:750}.dashboard-custom-date-popover input{width:100%;min-height:32px;border:1px solid #d9e4f2;border-radius:7px;padding:0 8px;background:#fff;color:#172033;font-size:12px;font-weight:650}.dashboard-custom-date-popover button{min-height:32px;border:0;border-radius:7px;padding:0 11px;background:#315be8;color:#fff;font-size:12px;font-weight:750}.dashboard-custom-date-popover button:disabled{cursor:wait;opacity:.72}.dashboard-custom-date-popover small{grid-column:2 / -1;color:#be123c;font-size:11px;font-weight:650}.dashboard-custom-error{min-height:38px;display:flex;align-items:center;padding:0 12px;border:1px solid #fecdd3;border-radius:8px;background:#fff1f2;color:#be123c;font-size:12px;font-weight:700}.dashboard-empty-tab{min-height:260px;display:grid;place-items:center;border:1px solid #dfe7f2;border-radius:6px;background:#fff;color:#94a3b8}.dashboard-empty-tab strong{font-size:18px;letter-spacing:0}.dashboard-general-content{display:grid;gap:14px;margin-top:12px}.dashboard-summary-card-grid,.dashboard-secondary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;align-items:start}.dashboard-sales-summary-card{--sales-target-rate: 0%;width:100%;position:relative;display:grid;gap:6px;padding:10px 12px 13px;border:1px solid #dfe8f5;border-left:5px solid #1f5eff;border-radius:8px;background:#fff;box-shadow:0 16px 36px #0f172a0f;overflow:hidden}.dashboard-sales-summary-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.dashboard-sales-summary-head>strong{color:#7d8495;font-size:13px;font-weight:750;letter-spacing:.02em}.dashboard-sales-summary-head>span{width:34px;height:34px;display:grid;place-items:center;border-radius:999px;background:#435598;color:#fff;box-shadow:0 12px 24px #4355982e}.dashboard-sales-summary-card.is-opportunities{border-left-color:#7c3aed}.dashboard-sales-summary-card.is-opportunities .dashboard-sales-summary-head>span{background:#6d5bd0;box-shadow:0 12px 24px #6d5bd02e}.dashboard-sales-summary-card.is-opportunities .dashboard-sales-summary-progress{background:linear-gradient(90deg,#7c3aed 0 var(--sales-target-rate),transparent var(--sales-target-rate) 100%),#eef3f8}.dashboard-sales-summary-card.is-opportunities .dashboard-sales-summary-progress span{color:#6d28d9}.dashboard-sales-summary-card.is-tasks{border-left-color:#f59e0b}.dashboard-sales-summary-card.is-tasks .dashboard-sales-summary-head>span{background:#f59e0b;box-shadow:0 12px 24px #f59e0b2e}.dashboard-sales-summary-card.is-tasks .dashboard-sales-summary-progress{background:linear-gradient(90deg,#f59e0b 0 var(--sales-target-rate),transparent var(--sales-target-rate) 100%),#eef3f8}.dashboard-sales-summary-card.is-tasks .dashboard-sales-summary-progress span{color:#b45309}.dashboard-sales-summary-card.is-current-accounts{border-left-color:#0891b2}.dashboard-sales-summary-card.is-current-accounts .dashboard-sales-summary-head>span{background:#0891b2;box-shadow:0 12px 24px #0891b22e}.dashboard-sales-summary-card.is-current-accounts .dashboard-sales-summary-progress{background:linear-gradient(90deg,#0891b2 0 var(--sales-target-rate),transparent var(--sales-target-rate) 100%),#eef3f8}.dashboard-sales-summary-card.is-current-accounts .dashboard-sales-summary-progress span{color:#0e7490}.dashboard-sales-summary-rows{display:grid}.dashboard-sales-summary-rows>div{display:grid;grid-template-columns:minmax(0,.86fr) minmax(0,1.14fr);align-items:center;gap:10px;min-height:25px;border-bottom:1px solid #edf1f6}.dashboard-sales-summary-rows>div:last-child{border-bottom:0}.dashboard-sales-summary-rows span{color:#67727e;font-size:12px;font-weight:400;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dashboard-sales-summary-rows strong{color:#2e3035;font-size:clamp(12px,.78vw,15px);font-weight:700;font-variant-numeric:tabular-nums;min-width:0;overflow:hidden;text-align:right;text-overflow:ellipsis;white-space:nowrap}.dashboard-sales-summary-rows .dashboard-value-loader{height:18px;display:inline-flex;align-items:center;justify-content:flex-end;overflow:visible}.dashboard-value-loader svg{width:min(92px,100%);height:18px}.dashboard-value-loader polyline{fill:none;stroke:#94a3b8;stroke-width:3.2;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:28 132;animation:dashboard-value-pulse 1.05s linear infinite}@keyframes dashboard-value-pulse{0%{stroke-dashoffset:160;opacity:.35}45%{opacity:1}to{stroke-dashoffset:0;opacity:.35}}.dashboard-sales-summary-progress{position:relative;height:8px;border-radius:999px;background:linear-gradient(90deg,#22c55e 0 var(--sales-target-rate),transparent var(--sales-target-rate) 100%),#eef3f8}.dashboard-sales-summary-progress span{position:absolute;left:clamp(12%,var(--sales-target-rate),88%);top:50%;transform:translate(-50%,-50%);padding:1px 6px;border-radius:999px;background:#fff;color:#15803d;font-size:10px;font-weight:800;line-height:1.3;box-shadow:0 2px 7px #0f172a21;white-space:nowrap}.dashboard-monthly-sales-panel{grid-column:span 2;width:calc(125% + 5px);display:grid;gap:8px;padding:12px 14px 14px;border:1px solid #dfe8f5;border-radius:8px;background:#fff;box-shadow:0 16px 36px #0f172a0b}.dashboard-monthly-sales-head{display:flex;align-items:center;justify-content:space-between;gap:14px}.dashboard-monthly-sales-head strong{display:block;color:#172033;font-size:14px;font-weight:850}.dashboard-monthly-sales-head small{padding:5px 9px;border-radius:7px;background:#6573c8;color:#fff;font-size:12px;font-weight:800;white-space:nowrap;box-shadow:0 6px 14px #6573c82e}.dashboard-monthly-sales-chart{--dashboard-monthly-bar-width: 48px;--dashboard-monthly-bar-gap: 10px;height:230px;position:relative;display:grid;grid-template-columns:42px minmax(0,1fr);grid-template-rows:minmax(0,1fr) 18px;column-gap:10px;padding:4px 0 0}.dashboard-monthly-sales-y-axis{grid-row:1;display:flex;flex-direction:column;justify-content:space-between;padding:0 0 20px}.dashboard-monthly-sales-y-axis span{color:#68768e;font-size:11px;font-weight:750;line-height:1;text-align:right}.dashboard-monthly-sales-plot{min-width:0;position:relative;grid-row:1;border-bottom:1px solid rgba(216,224,234,.48)}.dashboard-monthly-sales-grid{position:absolute;inset:0 0 20px;display:flex;flex-direction:column;justify-content:space-between;pointer-events:none}.dashboard-monthly-sales-grid span{height:1px;background:#cbd5e142}.dashboard-monthly-sales-bars{position:absolute;inset:0;display:flex;align-items:end;gap:var(--dashboard-monthly-bar-gap);padding:34px 12px 0}.dashboard-monthly-sales-column{min-width:0;flex:1 1 0;height:100%;display:grid;grid-template-rows:minmax(0,1fr) 20px;align-items:end;gap:0}.dashboard-monthly-sales-column>span{width:min(100%,var(--dashboard-monthly-bar-width));min-height:5px;position:relative;justify-self:center;display:block;border-radius:2px 2px 0 0;background:linear-gradient(180deg,#7f6ed6,#6f58b1);box-shadow:0 10px 18px #6f58b11c}.dashboard-monthly-sales-column>span b{position:absolute;left:50%;top:-38px;transform:translate(-50%);padding:4px 7px;border-radius:6px;background:#6573c8;color:#fff;font-size:clamp(9.5px,.62vw,11.5px);font-weight:850;line-height:1.05;white-space:nowrap;box-shadow:0 5px 12px #6573c833}.dashboard-monthly-sales-column>span em{position:absolute;left:50%;top:-16px;transform:translate(-50%);padding:2px 7px;border-radius:999px;background:#eef2ff;color:#3442a8;border:1px solid rgba(101,115,200,.22);font-size:clamp(8.5px,.54vw,9.8px);font-style:normal;font-weight:850;line-height:1.1;white-space:nowrap;box-shadow:0 5px 14px #6573c829}.dashboard-monthly-sales-column small{color:#65738a;font-size:11px;font-weight:750;text-align:center;align-self:end;padding-top:6px}.dashboard-monthly-sales-empty{min-height:120px;display:grid;place-items:center;border-top:1px solid #edf1f6;color:#94a3b8;font-size:13px;font-weight:750}.dashboard-monthly-sales-y-title{position:absolute;left:2px;top:50%;transform:translateY(-50%) rotate(-90deg);transform-origin:left center;color:#334155;font-size:11px;font-weight:850;white-space:nowrap}.dashboard-monthly-sales-x-title{grid-column:2;grid-row:2;align-self:end;justify-self:center;color:#334155;font-size:12px;font-weight:850}.dashboard-weekly-content{display:grid;gap:16px;margin-top:14px}.dashboard-weekly-heading{min-height:42px;display:flex;align-items:center;justify-content:space-between}.dashboard-weekly-heading strong{display:block;color:#172033;font-size:16px;font-weight:850}.dashboard-weekly-heading span{display:block;margin-top:2px;color:#64748b;font-size:12px;font-weight:750}.dashboard-weekly-card-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.dashboard-weekly-summary-card{position:relative;min-height:104px;display:grid;grid-template-columns:minmax(0,1fr) 46px;grid-template-rows:minmax(0,1fr) 6px;align-items:start;gap:12px;padding:17px 18px 15px;border:1px solid #dde8f6;border-radius:8px;background:radial-gradient(circle at 92% 15%,var(--weekly-glow),transparent 34%),linear-gradient(180deg,#fff,#fbfdff);box-shadow:0 18px 40px #0f172a12;overflow:hidden}.dashboard-weekly-summary-card:after{content:"";position:absolute;inset:0 auto 0 0;width:5px;background:linear-gradient(180deg,var(--weekly-tone),var(--weekly-tone-2))}.dashboard-weekly-summary-main{min-width:0;display:grid;gap:5px}.dashboard-weekly-summary-card strong{display:block;color:#172033;font-size:clamp(18px,1.04vw,22px);font-weight:850;line-height:1.1;font-variant-numeric:tabular-nums;white-space:nowrap}.dashboard-weekly-summary-card span{display:block;color:#475569;font-size:13px;font-weight:850}.dashboard-weekly-summary-card small{display:inline-flex;width:max-content;align-items:center;min-height:22px;padding:0 9px;border-radius:999px;background:var(--weekly-soft);color:var(--weekly-text);font-size:11px;font-weight:850;white-space:nowrap}.dashboard-weekly-summary-card i{position:relative;z-index:1;width:44px;height:44px;display:grid;place-items:center;border:1px solid color-mix(in srgb,var(--weekly-tone) 22%,#ffffff);border-radius:14px;background:linear-gradient(135deg,#ffffff,var(--weekly-soft));color:#fff;font-style:normal;box-shadow:0 14px 28px color-mix(in srgb,var(--weekly-tone) 17%,transparent)}.dashboard-weekly-summary-card i svg{color:var(--weekly-tone);stroke-width:2.45}.dashboard-weekly-summary-track{grid-column:1 / -1;height:6px;overflow:hidden;border-radius:999px;background:#edf2f8}.dashboard-weekly-summary-track span{width:var(--weekly-progress);height:100%;display:block;border-radius:inherit;background:linear-gradient(90deg,var(--weekly-tone),var(--weekly-tone-2))}.dashboard-weekly-summary-card.is-blue,.dashboard-weekly-detail-panel.is-blue{--weekly-tone: #2563eb;--weekly-tone-2: #6d7be8;--weekly-soft: #eef4ff;--weekly-glow: rgba(37, 99, 235, .16);--weekly-text: #315acb}.dashboard-weekly-summary-card.is-violet,.dashboard-weekly-detail-panel.is-violet{--weekly-tone: #7c3aed;--weekly-tone-2: #a855f7;--weekly-soft: #f4efff;--weekly-glow: rgba(124, 58, 237, .15);--weekly-text: #6f3bd6}.dashboard-weekly-summary-card.is-indigo,.dashboard-weekly-detail-panel.is-indigo{--weekly-tone: #6d6ee8;--weekly-tone-2: #7f5fd6;--weekly-soft: #f1f0ff;--weekly-glow: rgba(109, 110, 232, .15);--weekly-text: #5e61ce}.dashboard-weekly-summary-card.is-orange,.dashboard-weekly-detail-panel.is-orange{--weekly-tone: #f59e0b;--weekly-tone-2: #fbbf24;--weekly-soft: #fff7e6;--weekly-glow: rgba(245, 158, 11, .16);--weekly-text: #b45309}.dashboard-weekly-summary-card.is-teal,.dashboard-weekly-detail-panel.is-teal{--weekly-tone: #0891b2;--weekly-tone-2: #22d3ee;--weekly-soft: #eafaff;--weekly-glow: rgba(8, 145, 178, .16);--weekly-text: #0e7490}.dashboard-weekly-summary-card.is-mint,.dashboard-weekly-detail-panel.is-mint{--weekly-tone: #16a34a;--weekly-tone-2: #22c55e;--weekly-soft: #ecfdf3;--weekly-glow: rgba(22, 163, 74, .15);--weekly-text: #166534}.dashboard-weekly-summary-card.is-rose,.dashboard-weekly-detail-panel.is-rose{--weekly-tone: #df638b;--weekly-tone-2: #ec7f9f;--weekly-soft: #fff0f5;--weekly-glow: rgba(223, 99, 139, .15);--weekly-text: #cd4c78}.dashboard-weekly-panel-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.dashboard-weekly-detail-panel{position:relative;min-height:308px;display:grid;grid-template-rows:auto minmax(0,1fr);border:1px solid #dfe8f5;border-radius:8px;background:linear-gradient(180deg,#fffffffa,#fcfefffa),radial-gradient(circle at 98% 0%,var(--weekly-glow),transparent 30%);box-shadow:0 18px 42px #0f172a11;overflow:hidden}.dashboard-weekly-detail-panel:before{content:"";position:absolute;inset:0 0 auto;height:5px;background:linear-gradient(90deg,var(--weekly-tone),var(--weekly-tone-2))}.dashboard-weekly-detail-head{min-height:56px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 16px;border-bottom:1px solid #e5edf7;background:#ffffffd1}.dashboard-weekly-detail-head>div{min-width:0;display:inline-flex;align-items:center;gap:10px;color:#3f3f46}.dashboard-weekly-detail-head svg{width:36px;height:36px;padding:8px;border-radius:12px;background:var(--weekly-soft);color:var(--weekly-tone);stroke-width:2.4}.dashboard-weekly-detail-head strong{color:#475569;font-size:17px;font-weight:850;line-height:1}.dashboard-weekly-detail-head span{min-height:24px;display:inline-flex;align-items:center;padding:0 10px;border-radius:999px;border:1px solid color-mix(in srgb,var(--weekly-tone) 18%,#ffffff);background:var(--weekly-soft);color:var(--weekly-text);font-size:12px;font-weight:700;white-space:nowrap}.dashboard-weekly-table-wrap{min-height:0;padding:10px 12px 12px;overflow:auto}.dashboard-weekly-list{display:grid;gap:5px}.dashboard-weekly-row{position:relative;min-height:35px;display:grid;grid-template-columns:28px minmax(0,1fr) auto minmax(118px,.42fr) 58px;align-items:center;column-gap:12px;row-gap:6px;padding:4px 9px;border:1px solid #edf2f8;border-radius:8px;background:#fff;overflow:hidden;transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease,background .16s ease}.dashboard-weekly-row:hover{transform:translateY(-1px);border-color:color-mix(in srgb,var(--weekly-tone) 30%,#dfe7f2);background:var(--table-hover-bg);box-shadow:0 12px 26px #0f172a14}.dashboard-weekly-row>i{position:absolute;inset:auto 0 0;height:1px;background:#edf2f8;font-style:normal}.dashboard-weekly-row>i:after{content:"";width:var(--weekly-row-progress);height:100%;display:block;border-radius:0 999px 999px 0;background:linear-gradient(90deg,var(--weekly-tone),var(--weekly-tone-2))}.dashboard-weekly-row-icon{width:28px;height:28px;display:grid;place-items:center;border-radius:10px;background:var(--weekly-soft);color:var(--weekly-tone)}.dashboard-weekly-row-info{min-width:0;display:block}.dashboard-weekly-row-info strong{min-width:0;display:inline-flex;align-items:center;gap:6px;overflow:hidden;color:#172033;font-size:13px;font-weight:500;line-height:1.15;text-overflow:ellipsis;white-space:nowrap}.dashboard-weekly-row-info strong>span{min-width:0;overflow:hidden;text-overflow:ellipsis}.dashboard-weekly-row-info strong>em{width:16px;height:16px;flex:0 0 auto;display:inline-grid;place-items:center;border-radius:999px;border:1px solid #fecaca;background:#fee2e2;color:#dc2626;font-size:12px;font-style:normal;font-weight:950;line-height:1}.dashboard-weekly-row-count{width:max-content;margin-left:4px;display:inline-flex;align-items:center;justify-content:center;min-height:20px;padding:0 8px;border-radius:999px;background:var(--weekly-soft);color:var(--weekly-text);font-size:11px;font-weight:650}.dashboard-weekly-row-amount{min-width:0;display:flex;align-items:baseline;justify-content:flex-end;gap:7px;font-variant-numeric:tabular-nums}.dashboard-weekly-row-amount strong{overflow:hidden;min-width:96px;color:#111827;font-size:13px;font-weight:850;text-align:right;text-overflow:ellipsis;white-space:nowrap}.dashboard-weekly-row-amount span{min-width:42px;min-height:20px;display:inline-flex;align-items:center;justify-content:center;padding:0 8px;border:1px solid #dbe7f5;border-radius:999px;background:#f0f6ff;color:#496381;font-size:11px;font-weight:750}.dashboard-weekly-row button{min-height:28px;border:1px solid color-mix(in srgb,var(--weekly-tone) 38%,#d9e1ec);border-radius:7px;padding:0 10px;background:color-mix(in srgb,var(--weekly-soft) 48%,#ffffff);color:var(--weekly-text);font-size:11px;font-weight:750}.dashboard-weekly-row button:hover{border-color:var(--weekly-tone);color:var(--weekly-text);background:var(--weekly-soft)}.dashboard-weekly-row button:disabled{cursor:default;opacity:.55}.dashboard-weekly-row button:disabled:hover{border-color:color-mix(in srgb,var(--weekly-tone) 38%,#d9e1ec);background:color-mix(in srgb,var(--weekly-soft) 48%,#ffffff)}.dashboard-weekly-empty{min-height:210px;display:grid;place-items:center;border:1px dashed #d9e3ef;border-radius:8px;background:linear-gradient(135deg,#fff,#f8fbff);color:#94a3b8;font-size:13px;font-weight:750}.dashboard-sales-detail-backdrop{position:fixed;inset:0;z-index:80;display:grid;place-items:center;padding:28px 36px;background:#0f172a7a}.dashboard-sales-detail-modal{width:min(1120px,calc(100vw - 72px));max-height:min(760px,calc(100vh - 72px));display:grid;grid-template-rows:auto auto;overflow:hidden;border:1px solid #d7e5f7;border-radius:10px;background:#fff;box-shadow:0 28px 70px #0f172a3d}.dashboard-sales-detail-head{min-height:70px;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 14px;border-bottom:1px solid #e2e8f0;background:#fff}.dashboard-sales-detail-title{min-width:0;display:grid;grid-template-columns:42px minmax(0,1fr);align-items:center;gap:12px}.dashboard-sales-detail-title-icon{width:42px;height:42px;display:inline-grid;place-items:center;border-radius:10px;background:#eef5ff;color:#0b55d9}.dashboard-sales-detail-title-icon.is-violet{background:#f4efff;color:#7c3aed}.dashboard-sales-detail-title-icon.is-teal{background:#eafaff;color:#0891b2}.dashboard-sales-detail-title-icon.is-rose{background:#fff0f5;color:#df638b}.dashboard-sales-detail-eyebrow{display:block;color:#64748b;font-size:12px;font-weight:750;line-height:1.05}.dashboard-sales-detail-head h2{margin:3px 0 0;overflow:hidden;color:#172033;font-size:17px;font-weight:850;line-height:1.15;text-overflow:ellipsis;white-space:nowrap}.dashboard-sales-detail-head p{width:fit-content;margin:4px 0 0;padding:2px 8px;border-radius:999px;background:#f1f5f9;color:#64748b;font-size:11px;font-weight:700}.dashboard-sales-detail-head button{min-width:96px;height:36px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:8px;padding:0 14px;background:#dc2626;color:#fff;font-size:13px;font-weight:800;box-shadow:0 12px 28px #dc262633}.dashboard-sales-detail-head button span,.dashboard-sales-detail-head button svg{color:#fff;stroke:currentColor}.dashboard-sales-detail-head button:hover{background:#b91c1c;box-shadow:0 12px 28px #b91c1c38}.dashboard-sales-detail-body{min-height:0;overflow:visible}.dashboard-sales-detail-panel{min-height:0;height:auto;display:grid;grid-template-rows:auto auto;border:1px solid #d7e5f7;border-radius:0;background:#fff;overflow:hidden}.dashboard-sales-detail-summary{min-height:48px;display:grid;grid-template-columns:minmax(390px,1fr) auto;align-items:center;gap:10px;padding:7px 10px;border-bottom:1px solid #e2e8f0;color:#172033;font-size:12px;font-weight:800}.dashboard-sales-detail-filters{min-width:0;display:grid;grid-template-columns:118px 118px minmax(180px,1fr);align-items:end;gap:8px}.dashboard-sales-detail-filters label{min-width:0;display:grid;gap:4px}.dashboard-sales-detail-filters label span{color:#64748b;font-size:11px;font-weight:800}.dashboard-sales-detail-filters input{width:100%;min-width:0;height:31px;border:1px solid #d9e4f2;border-radius:8px;padding:0 10px;background:#fff;color:#172033;font-size:12px;font-weight:700;outline:none;box-shadow:inset 0 1px #0f172a08}.dashboard-sales-detail-filters input:focus{border-color:#9ab6df;box-shadow:0 0 0 3px #2563eb1c}.dashboard-sales-detail-search input{padding-left:12px}.dashboard-sales-detail-cards{display:flex;align-items:center;justify-content:flex-end;gap:8px}.dashboard-sales-detail-card{min-width:162px;min-height:58px;display:grid;grid-template-columns:38px minmax(0,1fr);align-items:center;gap:10px;padding:7px 10px;border:1px solid #dde5ef;border-radius:8px;background:#fff;box-shadow:0 12px 28px #151f370d}.dashboard-sales-detail-card-icon{width:38px;height:38px;display:inline-grid;place-items:center;border-radius:8px;background:#eaf2ff;color:#0b55d9}.dashboard-sales-detail-card.is-original .dashboard-sales-detail-card-icon{background:#f1eaff;color:#6d28d9}.dashboard-sales-detail-card.is-total .dashboard-sales-detail-card-icon{background:#eafaff;color:#0891b2}.dashboard-sales-detail-card-icon .dashboard-lira-icon{color:inherit;font-family:Segoe UI,Arial,Helvetica,sans-serif;font-size:23px;font-weight:900;line-height:1}.dashboard-sales-detail-card span{color:#64748b;font-size:12px;font-weight:800}.dashboard-sales-detail-card strong{display:block;margin-top:2px;color:#172033;font-size:15px;line-height:1.08;font-weight:850;white-space:nowrap}.dashboard-sales-detail-table-wrap{overflow-x:hidden;overflow-y:auto;max-height:min(520px,calc(100vh - 260px))}.dashboard-sales-detail-table{width:100%;min-width:0;table-layout:fixed;border-collapse:collapse;font-size:10.5px}.dashboard-sales-detail-table th{position:sticky;top:0;z-index:2;height:24px;padding:4px 6px;border-bottom:1px solid #dbe7f5;background:#eef4ff;color:#334155;text-align:center;font-size:10px;font-weight:800;white-space:nowrap}.popup-sort-button{width:100%;min-height:20px;display:inline-flex;align-items:center;justify-content:center;gap:4px;border:0;padding:0;background:transparent;color:inherit;font:inherit;line-height:1;cursor:pointer;white-space:nowrap}.popup-sort-button span{min-width:0;overflow:hidden;text-overflow:ellipsis}.popup-sort-button em{width:10px;flex:0 0 10px;color:#8fa0b6;font-size:9px;font-style:normal;font-weight:900;line-height:1}.popup-sort-button.is-active em{color:#2563eb}.popup-sort-button:hover span,.popup-sort-button:hover em{color:#0b55d9}.current-account-table .popup-sort-button em{color:#ffffff9e}.current-account-table .popup-sort-button.is-active em,.current-account-table .popup-sort-button:hover span,.current-account-table .popup-sort-button:hover em{color:#bfdbfe}.dashboard-sales-detail-table td{height:27px;padding:5px 7px;border-right:1px solid #edf2f7;border-bottom:1px solid #edf2f7;color:#334155;font-size:10.5px;font-weight:400;line-height:1.1;text-align:right;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-variant-numeric:tabular-nums}.dashboard-sales-detail-table td.dashboard-tooltip-cell{overflow:visible}.dashboard-tooltip-text{position:relative;display:block;max-width:100%;color:inherit;font:inherit}.dashboard-tooltip-text>span{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:inherit;font:inherit}.dashboard-tooltip-text:before,.dashboard-tooltip-text:after{position:absolute;left:8px;z-index:40;opacity:0;transform:translateY(4px);transition:opacity .12s ease,transform .12s ease;pointer-events:none}.dashboard-tooltip-text:before{content:"";top:calc(100% + 4px);width:10px;height:10px;border-left:1px solid #dde5ef;border-top:1px solid #dde5ef;background:#fff;transform:translateY(4px) rotate(45deg)}.dashboard-tooltip-text:after{content:attr(data-tooltip);top:calc(100% + 9px);width:max-content;min-width:160px;max-width:min(520px,70vw);padding:7px 10px;border:1px solid #dde5ef;border-radius:7px;background:#fff;box-shadow:0 14px 32px #0f172a29;color:#263244;font-size:11px;line-height:1.25;font-weight:500;text-align:left;white-space:normal}.dashboard-tooltip-text:hover:before,.dashboard-tooltip-text:hover:after{opacity:1;transform:translateY(0)}.dashboard-tooltip-text:hover:before{transform:translateY(0) rotate(45deg)}.dashboard-sales-detail-table td[colspan]{height:78px;text-align:center;color:#94a3b8;font-weight:750}.dashboard-sales-detail-table tbody tr:hover td{background:var(--table-hover-bg)}.dashboard-sales-detail-table th:nth-child(1),.dashboard-sales-detail-table td:nth-child(1){width:14%;text-align:left}.dashboard-sales-detail-table th:nth-child(2),.dashboard-sales-detail-table td:nth-child(2){width:8%;text-align:left}.dashboard-sales-detail-table th:nth-child(3),.dashboard-sales-detail-table td:nth-child(3),.dashboard-sales-detail-table th:nth-child(9),.dashboard-sales-detail-table td:nth-child(9){width:8%;text-align:center}.dashboard-sales-detail-table th:nth-child(4),.dashboard-sales-detail-table td:nth-child(4){width:8%;text-align:left}.dashboard-sales-detail-table th:nth-child(5),.dashboard-sales-detail-table td:nth-child(5){width:26%;text-align:left;font-variant-numeric:normal}.dashboard-sales-detail-table th:nth-child(6),.dashboard-sales-detail-table td:nth-child(6){width:6%;text-align:center}.dashboard-sales-detail-table td:nth-child(6){overflow:visible;text-overflow:clip}.dashboard-sales-detail-table th:nth-child(7),.dashboard-sales-detail-table td:nth-child(7),.dashboard-sales-detail-table th:nth-child(8),.dashboard-sales-detail-table td:nth-child(8){width:11%}.dashboard-sales-detail-table td:nth-child(6) span{min-width:42px;min-height:20px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #dbe7f5;border-radius:999px;background:#f0f6ff;color:#496381;font-size:11px;font-weight:750}.dashboard-sales-detail-empty{min-height:240px;display:grid;place-items:center;margin:10px;border:1px dashed #d9e3ef;border-radius:8px;background:linear-gradient(135deg,#fff,#f8fbff);color:#94a3b8;font-size:13px;font-weight:750}.dashboard-sales-detail-empty.is-error{border-color:#fecdd3;background:#fff7f8;color:#be123c}.dashboard-card-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.dashboard-stat-card{min-height:176px;display:grid;grid-template-rows:auto 1fr 8px;border:1px solid #dfe7f2;border-radius:6px;background:#fff;overflow:hidden;box-shadow:0 10px 30px #0f172a0a}.dashboard-stat-card:after{content:"";display:block;height:8px;background:linear-gradient(90deg,#5f6ee8,#8d5fe8)}.dashboard-stat-card.is-pink:after{background:linear-gradient(90deg,#d94fc4,#dd62cf)}.dashboard-stat-card.is-purple:after{background:linear-gradient(90deg,#a555d9,#cf62df)}.dashboard-stat-heading{min-height:62px;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:15px 18px;border-bottom:1px solid #d9e4f3}.dashboard-stat-heading h3{margin:0;color:#161b24;font-size:17px;font-weight:800;letter-spacing:0}.dashboard-stat-heading>span{width:34px;height:34px;display:grid;place-items:center;color:#111827}.dashboard-stat-rows{display:grid;gap:6px;padding:18px}.dashboard-stat-rows div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:baseline}.dashboard-stat-rows span,.dashboard-highlight-row span,.dashboard-mini-metric small{color:#1e293b;font-size:15px;font-weight:750}.dashboard-stat-rows strong{color:#121826;font-size:15px;font-weight:850;font-variant-numeric:tabular-nums;text-align:right;white-space:nowrap}.dashboard-lower-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(360px,.8fr);gap:14px}.dashboard-panel{border:1px solid #dfe7f2;border-radius:6px;background:#fff;overflow:hidden}.dashboard-panel-heading{min-height:58px;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 16px;border-bottom:1px solid #e5edf7}.dashboard-panel-heading span{color:#64748b;font-size:12px;font-weight:800}.dashboard-panel-heading h3{margin:2px 0 0;color:#18202f;font-size:16px;letter-spacing:0}.dashboard-panel-heading svg{color:#315ce8}.dashboard-highlight-list,.dashboard-mini-metrics{display:grid;gap:0}.dashboard-highlight-row{min-height:54px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:center;padding:10px 16px;border-bottom:1px solid #edf2f7}.dashboard-highlight-row:last-child{border-bottom:0}.dashboard-highlight-row:hover{background:var(--table-hover-bg)}.dashboard-highlight-row strong{display:block;margin-top:2px;color:#53647c;font-size:14px;font-weight:750;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dashboard-highlight-row b{color:#111827;font-size:14px;font-variant-numeric:tabular-nums;white-space:nowrap}.dashboard-mini-metric{min-height:64px;display:grid;grid-template-columns:42px minmax(0,1fr);gap:12px;align-items:center;padding:10px 16px;border-bottom:1px solid #edf2f7}.dashboard-mini-metric:last-child{border-bottom:0}.dashboard-mini-metric>span{width:38px;height:38px;display:grid;place-items:center;border-radius:8px;background:#edf4ff;color:#2457e6}.dashboard-mini-metric strong{display:block;margin-top:2px;color:#111827;font-size:19px}.dashboard-loader{min-height:260px;display:grid;place-items:center}.sales-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.summary-tile{position:relative;min-height:108px;border:1px solid #dde5ef;border-radius:8px;background:linear-gradient(135deg,rgba(11,85,217,.045),transparent 58%),#fff;padding:22px 20px 16px;display:grid;grid-template-columns:48px minmax(0,1fr);grid-template-rows:auto auto auto;column-gap:12px;row-gap:6px;align-items:center;overflow:hidden;box-shadow:0 14px 34px #151f370f}.summary-tile:before{content:"";position:absolute;inset:0 auto 0 0;width:3px;background:linear-gradient(180deg,#0b55d9,#a30dea)}.summary-icon{grid-row:span 2;width:42px;height:42px;border-radius:8px;display:grid;place-items:center}.summary-icon svg{width:20px;height:20px;stroke-width:2}.summary-icon-blue{color:#0b55d9;background:#eaf2ff}.summary-icon-violet{color:#6d28d9;background:#f1eaff}.summary-icon-green{color:#128a3c;background:#e9f8ef}.summary-tile span{color:#64748b;font-size:12px}.summary-tile strong{font-size:21px;letter-spacing:0}.summary-bar{grid-column:1 / -1;height:6px;margin-top:18px;border-radius:999px;background:#edf2f7;overflow:hidden}.summary-bar i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#0b55d9,#a30dea)}.summary-bar-muted i{background:linear-gradient(90deg,#64748b,#94a3b8)}.summary-bar-green i{background:linear-gradient(90deg,#34c759,#30d158)}.sales-layout{display:grid;grid-template-columns:max-content minmax(360px,1fr);gap:14px;align-items:start}.matrix-panel,.gauge-panel,.chart-panel{border:1px solid rgba(213,221,233,.86);border-radius:8px;background:#fff;overflow:hidden;box-shadow:0 18px 48px #151f3714}.matrix-panel{width:fit-content;max-width:100%}.panel-heading{min-height:48px;padding:10px 14px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #e8eef5}.panel-heading h3{margin:0;font-size:14px;letter-spacing:0}.panel-heading .muted{font-size:11px}.panel-heading svg{color:#0b55d9;width:18px;height:18px}.matrix-table-wrap{overflow:visible;background:linear-gradient(180deg,rgba(82,0,79,.035),transparent 120px),#fff;padding:10px}.matrix-table{width:680px;min-width:680px;table-layout:fixed;font-family:Segoe UI,Arial,Helvetica,sans-serif;font-size:11px;line-height:1.05;border-collapse:separate;border-spacing:0;border:1px solid #dce2ea;border-radius:8px;overflow:hidden;background:#fff;box-shadow:0 12px 28px #0f172a14}.matrix-col-name{width:470px}.matrix-col-amount{width:210px}.matrix-table th{position:sticky;top:0;background:linear-gradient(135deg,#3d003f,#680065);color:#fff;z-index:1;height:31px;padding:4px 8px;border-bottom:1px solid rgba(255,255,255,.22);font-size:11px;font-weight:400;letter-spacing:0}.matrix-table td:last-child,.matrix-table th:last-child,.matrix-table tfoot td:last-child{text-align:right;font-variant-numeric:tabular-nums;border-left:1px solid #e2e7ee}.matrix-table td{height:21px;padding:2px 8px;border-bottom:1px solid #e8edf3;color:#263244;font-weight:400;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.matrix-group-row td{height:22px;background:linear-gradient(90deg,#202327,#2d3034);color:#fff;font-size:11px;font-weight:400;border-bottom-color:#3e454f}.matrix-group-row td:last-child{color:#fff;background:linear-gradient(90deg,#050505,#151515);font-size:11px;font-weight:400}.matrix-detail-row td:first-child{padding-left:36px}.matrix-detail-row:nth-child(odd) td{background:#fbfcfe}.matrix-detail-row:nth-child(2n) td{background:#f6f8fb}.matrix-detail-row:hover td{background:var(--table-hover-bg)}.matrix-table tfoot td{height:24px;background:linear-gradient(90deg,#202327,#2d3034);color:#fff;font-size:11px;font-weight:400;border-top:1px solid #111111;border-bottom:0}.matrix-table tfoot td:last-child{color:#fff;background:linear-gradient(90deg,#101010,#202020);font-size:12px}.gauge-panel{min-height:330px}.chart-panel{min-height:390px}.semi-donut-chart{width:100%;height:310px}.chart-total{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 18px 18px;padding:14px 16px;border-radius:8px;background:#f7f9fc;border:1px solid #e3e8f0}.chart-total span{color:#64748b;font-size:13px}.chart-total strong{color:#172033;font-size:18px;font-variant-numeric:tabular-nums}.gauge-visual{--progress: .72;padding:26px 18px 8px;display:grid;place-items:center}.gauge-arc{width:min(100%,280px);aspect-ratio:2 / 1;border-radius:280px 280px 0 0;background:radial-gradient(circle at 50% 100%,#ffffff 0 52%,transparent 53%),conic-gradient(from 270deg at 50% 100%,#0b55d9,#a30dea calc(var(--progress) * 180deg),#e5eaf2 0deg 180deg);position:relative}.gauge-center{position:absolute;left:50%;bottom:0;transform:translate(-50%);width:72%;height:72%;border-radius:999px 999px 0 0;background:#fff;display:grid;place-items:center;align-content:center;gap:6px;text-align:center}.gauge-center span{font-size:26px;font-weight:400;color:#172033}.gauge-center strong{font-size:13px;color:#64748b;font-weight:400}.gauge-scale{display:flex;justify-content:space-between;padding:0 26px 22px;color:#64748b;font-size:13px}.orders-budget{display:grid;grid-auto-rows:max-content;align-content:start;gap:10px;background:#f5f7fb;padding:14px;font-family:Segoe UI,Arial,Helvetica,sans-serif}.filter-strip{display:grid;grid-template-columns:150px minmax(220px,420px) minmax(260px,520px);gap:10px;align-items:end;padding:12px;border:1px solid #dde5ef;border-radius:8px;background:#fff;box-shadow:0 12px 28px #151f370d}.filter-control{display:grid;gap:6px;margin-top:0}.filter-control>span{color:#64748b;font-size:11px;font-weight:650}.filter-control select{height:40px;min-height:40px;width:100%;border:1px solid #d7e0eb;border-radius:8px;background-color:#fff;color:#263244;padding:0 38px 0 12px;font-size:13px;font-weight:600;box-shadow:inset 0 0 0 1px #d7e0eb57;cursor:pointer}.filter-control select:focus{outline:3px solid rgba(84,72,220,.18);border-color:#5a40df}.multi-filter-control{position:relative}.multi-filter-control summary{min-height:32px;width:100%;border:1px solid #dce3ec;border-radius:8px;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 10px;background:#fff;color:#263244;font-size:12px;font-weight:500;cursor:pointer;list-style:none;-webkit-user-select:none;user-select:none}.multi-filter-control summary::-webkit-details-marker{display:none}.multi-filter-control summary:after{content:"";width:8px;height:8px;border-right:2px solid #64748b;border-bottom:2px solid #64748b;transform:rotate(45deg) translateY(-2px);flex:0 0 auto}.multi-filter-control[open] summary{outline:0;border-color:#cbd8e8}.multi-filter-control summary:focus{outline:0}.multi-filter-control summary:focus-visible{outline:2px solid rgba(96,165,250,.22);outline-offset:1px}.multi-filter-control.is-filtered summary{border-color:#bcd7ff;background:#f4f8ff;box-shadow:inset 0 0 0 1px #93c5fd38}.multi-filter-control[open] summary:after{transform:rotate(225deg) translate(-2px,-1px)}.multi-filter-control summary>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.multi-filter-menu{position:absolute;left:0;right:0;top:calc(100% + 6px);z-index:20;max-height:260px;overflow:auto;display:grid;gap:2px;padding:6px;border:1px solid #dce3ec;border-radius:8px;background:#fff;box-shadow:0 18px 42px #0f172a29}.multi-filter-option{min-height:30px;display:flex;align-items:center;gap:8px;margin-top:0;padding:0 8px;border-radius:6px;color:#263244;font-size:12px;font-weight:600;cursor:pointer}.multi-filter-option:hover{background:#f1f5ff}.multi-filter-option input{width:14px;height:14px;flex:0 0 auto;margin:0;padding:0;accent-color:#0b55d9;outline:0;box-shadow:none}.multi-filter-option input:focus,.multi-filter-option input:focus-visible{outline:0;box-shadow:none}.multi-filter-option span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.orders-matrix-panel,.orders-chart-panel{background:#fff;overflow:hidden;border:1px solid rgba(213,221,233,.86);border-radius:8px;box-shadow:0 14px 34px #151f370f}.orders-table-wrap{overflow:auto;padding:8px;max-height:470px}.orders-table{width:100%;min-width:1260px;table-layout:fixed;border-collapse:separate;border-spacing:0;font-family:Segoe UI,Arial,Helvetica,sans-serif;font-size:11px;line-height:1.05;background:#fff;border:1px solid #dce2ea;border-radius:8px;overflow:hidden}.orders-col-label{width:330px}.orders-col-total{width:145px}.orders-table th{position:sticky;top:0;z-index:2;height:32px;background:#061057;color:#fff;padding:4px 7px;border-right:1px solid rgba(255,255,255,.16);border-bottom:2px solid #2d7fff;text-align:center;font-weight:500;font-size:11px}.orders-table th:first-child{position:sticky;left:0;z-index:3;text-align:center}.orders-table td{height:21px;padding:2px 7px;border-right:1px solid #e2e2e2;border-bottom:1px solid #dedede;color:#343434;text-align:right;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-variant-numeric:tabular-nums}.orders-table td:first-child{position:sticky;left:0;z-index:1;text-align:left;font-variant-numeric:normal;background:inherit}.orders-group-row td{height:22px;background:#fff;color:#333;font-weight:600}.orders-detail-row td{background:#fbfcfe;font-weight:400}.orders-detail-row td:first-child{padding-left:24px;font-weight:500}.orders-customer-row td{background:#fff;color:#475569;font-weight:400}.orders-customer-row td:first-child{padding-left:48px;font-size:11px}.orders-table tbody tr:hover td{background:var(--table-hover-bg)}.orders-table tbody td:last-child,.orders-table tfoot td:not(:first-child){background:#5a3f99;color:#fff;font-weight:600;border-right-color:#ffffff38}.orders-table tbody tr:hover td:last-child{background:var(--table-hover-bg);color:#18202f}.orders-table tfoot td{position:sticky;bottom:0;z-index:2;height:25px;background:#242422;color:#fff;font-weight:600;border-bottom:0}.orders-table tfoot td:first-child{left:0;z-index:3;padding-left:34px;background:#5a3f99;color:#fff}.table-sort-caret{position:absolute;left:9px;bottom:8px;width:0;height:0;border-left:6px solid transparent;border-right:6px solid transparent;border-bottom:6px solid #ffffff}.matrix-toggle{width:11px;height:11px;margin-right:7px;border:1px solid #9aa0a6;border-radius:2px;background:#fff;color:#747474;display:inline-grid;place-items:center;font-size:10px;line-height:1;padding:0;vertical-align:-1px;cursor:pointer}.matrix-toggle:hover{border-color:#2d7fff;color:#0b55d9}.matrix-toggle-child{margin-left:12px;color:#979797}.matrix-toggle-placeholder{width:23px;height:11px;display:inline-block;vertical-align:-1px}.orders-bottom-grid{display:grid;grid-template-columns:minmax(620px,1fr) 330px;gap:16px;align-items:end;padding:0}.orders-chart-panel{position:relative;min-height:248px;padding:14px 14px 30px}.orders-chart-panel h3{margin:0 0 10px;color:#172033;font-size:15px;font-weight:600}.budget-chart{display:grid;grid-template-columns:44px minmax(0,1fr);min-height:190px}.budget-y-axis{height:178px;display:grid;align-content:space-between;justify-items:end;padding-right:10px;color:#6b788d;font-size:12px}.budget-plot{height:178px;display:grid;grid-template-columns:repeat(10,minmax(42px,1fr));gap:12px;align-items:end;padding:0 12px;border-bottom:1px solid #cfcfcf;background-image:linear-gradient(to bottom,rgba(148,163,184,.34) 0 1px,transparent 1px);background-size:100% 44.5px}.budget-bar-item{height:178px;min-width:0;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;position:relative}.budget-bar{width:100%;max-width:80px;min-height:3px;background:#7055a8;border-radius:0}.budget-value-label{margin-bottom:6px;padding:4px 7px;border-radius:5px;background:#6b75c9;color:#fff;font-size:11px;line-height:1;white-space:nowrap;font-variant-numeric:tabular-nums}.budget-bar-item span{position:absolute;bottom:-22px;color:#6b788d;font-size:11px}.budget-y-title{position:absolute;left:7px;bottom:58px;color:#334155;font-size:11px;transform:rotate(-90deg);transform-origin:left center}.budget-x-title{position:absolute;left:50%;bottom:8px;transform:translate(-50%);color:#334155;font-size:11px}.orders-gauge-card{min-height:248px;display:grid;grid-template-rows:1fr auto;align-content:center;justify-items:center;border:1px solid rgba(213,221,233,.86);border-radius:8px;background:#fff;padding:24px 22px 20px;box-shadow:0 14px 34px #151f370f}.budget-gauge{--progress: 1;width:min(100%,250px);aspect-ratio:2 / 1;border-radius:250px 250px 0 0;background:radial-gradient(circle at 50% 100%,#ffffff 0 47%,transparent 48%),conic-gradient(from 270deg at 50% 100%,#5a3f99 0deg calc(var(--progress) * 180deg),#efefef 0deg 180deg);position:relative;align-self:end}.budget-gauge-center{position:absolute;left:50%;bottom:18px;transform:translate(-50%) translateY(50%);color:#666;font-size:18px;font-weight:400;font-variant-numeric:tabular-nums;white-space:nowrap;line-height:1}.budget-gauge-scale{width:min(100%,250px);display:flex;justify-content:space-between;color:#061057;font-size:14px;font-weight:700;line-height:1;margin-top:10px}.current-accounts{display:grid;grid-auto-rows:max-content;align-content:start;gap:10px;background:#f5f7fb;padding:14px;font-family:Segoe UI,Arial,Helvetica,sans-serif}.current-accounts-filters{grid-template-columns:repeat(5,minmax(140px,1fr)) minmax(260px,1.4fr) 40px;align-items:end}.current-accounts-filters .filter-control{grid-template-rows:16px 40px;align-self:stretch}.current-accounts-filters .filter-control>span{color:#64748b;font-size:12px;font-weight:700}.current-accounts-filters .multi-filter-control summary,.current-account-search input{height:40px;min-height:40px;border-color:#d7e0eb;border-radius:8px;padding:0 12px;color:#263244;font-size:13px;font-weight:600}.current-accounts-filters .multi-filter-control summary{box-shadow:inset 0 0 0 1px #d7e0eb57}.current-accounts-filters .multi-filter-control.is-filtered summary,.current-account-search.is-filtered input{border-color:#bcd7ff;background:#f4f8ff;box-shadow:inset 0 0 0 1px #93c5fd38}.current-account-search>div{position:relative;height:40px}.current-account-search:before{content:"";display:block;height:16px}.current-account-search svg{position:absolute;left:10px;top:50%;transform:translateY(-50%);color:#64748b;pointer-events:none}.current-account-search input{display:block;width:100%;padding-left:36px;box-shadow:inset 0 0 0 1px #d7e0eb57}.current-account-clear-filters{width:40px;height:40px;align-self:end;display:inline-grid;place-items:center;border:1px solid #d7e0eb;border-radius:8px;background:#fff;color:#64748b;box-shadow:inset 0 0 0 1px #d7e0eb57}.current-account-clear-filters:hover{border-color:#b8c9ff;background:#eef4ff;color:#0b55d9}.current-account-summary{display:grid;grid-template-columns:repeat(7,minmax(130px,1fr));gap:9px}.current-account-summary-card{--current-account-summary-tone: #0b55d9;min-height:74px;position:relative;display:grid;grid-template-columns:38px minmax(0,1fr);align-items:center;gap:10px;padding:10px 10px 13px;border:1px solid #dde5ef;border-radius:8px;background:#fff;box-shadow:0 12px 28px #151f370d;overflow:hidden}.current-account-summary-card:after{content:"";position:absolute;left:10px;right:10px;bottom:7px;height:3px;border-radius:999px;background:var(--current-account-summary-tone);opacity:.72}.current-account-summary-card.is-blue{--current-account-summary-tone: #0b55d9}.current-account-summary-card.is-green{--current-account-summary-tone: #15803d}.current-account-summary-card.is-red{--current-account-summary-tone: #be123c}.current-account-summary-card.is-violet{--current-account-summary-tone: #7c3aed}.current-account-summary-card.is-cyan{--current-account-summary-tone: #0891b2}.current-account-summary-card.is-indigo{--current-account-summary-tone: #4f46e5}.current-account-summary-card.is-amber{--current-account-summary-tone: #d97706}.current-account-summary-card span{color:#64748b;font-size:11px;font-weight:700}.current-account-summary-card strong{display:block;margin-top:2px;color:#172033;font-size:15px;line-height:1.08;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.current-account-summary-icon{width:38px;height:38px;display:inline-grid;place-items:center;border-radius:8px}.current-account-summary-icon.is-blue{color:#0b55d9;background:#eaf2ff}.current-account-summary-icon.is-green{color:#15803d;background:#e8f8ef}.current-account-summary-icon.is-red{color:#be123c;background:#fff1f2}.current-account-summary-icon.is-violet{color:#6d28d9;background:#f1eaff}.current-account-summary-icon.is-cyan{color:#0891b2;background:#e6f7fb}.current-account-summary-icon.is-indigo{color:#4f46e5;background:#eef2ff}.current-account-summary-icon.is-amber{color:#d97706;background:#fff7ed}.current-account-summary-icon .current-account-lira-icon{color:inherit;font-size:20px;line-height:1;font-weight:850}.current-account-table-panel,.current-account-chart-panel{border:1px solid rgba(213,221,233,.86);border-radius:8px;background:#fff;box-shadow:0 14px 34px #151f370f;overflow:hidden}.current-account-table-wrap{max-height:500px;overflow:auto;padding:8px}.current-account-table{width:100%;min-width:1360px;table-layout:auto;border-collapse:separate;border-spacing:0;border:1px solid #dce2ea;border-radius:8px;overflow:hidden;background:#fff;font-size:11px;line-height:1.08}.current-account-table th{position:sticky;top:0;z-index:2;height:32px;padding:4px 7px;border-right:1px solid rgba(255,255,255,.16);border-bottom:2px solid #2d7fff;background:#061057;color:#fff;text-align:center;font-size:11px;font-weight:600;white-space:nowrap}.current-account-table th:nth-child(1),.current-account-table td:nth-child(1){width:30px;min-width:30px;max-width:30px;text-align:center}.current-account-table th:nth-child(2),.current-account-table td:nth-child(2){width:300px}.current-account-table th:nth-child(5),.current-account-table td:nth-child(5),.current-account-table th:nth-child(7),.current-account-table td:nth-child(7),.current-account-table th:nth-child(9),.current-account-table td:nth-child(9){width:54px;max-width:54px;text-align:center}.current-account-table th:nth-child(10),.current-account-table td:nth-child(10){width:76px;min-width:76px;max-width:76px}.current-account-table th:nth-child(11),.current-account-table td:nth-child(11){width:92px;min-width:92px;max-width:92px}.current-account-table th:nth-child(12),.current-account-table td:nth-child(12){width:78px;min-width:78px;max-width:78px}.current-account-table th:nth-child(13),.current-account-table td:nth-child(13){width:74px;min-width:74px;max-width:74px}.current-account-table td{height:28px;padding:4px 7px;border-right:1px solid #e2e8f0;border-bottom:1px solid #e2e8f0;color:#334155;text-align:right;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-variant-numeric:tabular-nums}.current-account-table td:nth-child(2){text-align:left;font-variant-numeric:normal}.current-account-table td:nth-child(1),.current-account-table td:nth-child(5),.current-account-table td:nth-child(7),.current-account-table td:nth-child(9),.current-account-table td:nth-child(10),.current-account-table td:nth-child(11),.current-account-table td:nth-child(12),.current-account-table td:nth-child(13){text-align:center}.current-account-table td:nth-child(10){color:#64748b;font-weight:850}.current-account-detail-cell{padding:3px 2px!important}.current-account-title-cell{min-width:0;display:flex;align-items:center;gap:5px}.current-account-title-cell>span{min-width:0;overflow:hidden;text-overflow:ellipsis;color:#334155;font-size:11px;font-weight:400;line-height:1.08}.current-account-detail-toggle{width:22px;height:22px;flex:0 0 auto;display:inline-grid;place-items:center;border:0;border-radius:6px;background:transparent;color:#5f7188}.current-account-detail-toggle svg{stroke-width:2}.current-account-detail-toggle:hover{background:#edf4ff;color:#0b55d9}.current-account-movement-modal-backdrop{position:fixed;inset:0;z-index:80;display:grid;place-items:center;padding:20px;background:#0f172a7a}.current-account-movement-modal{width:min(1180px,calc(100vw - 40px));max-height:calc(100vh - 48px);display:grid;grid-template-rows:auto minmax(0,1fr);overflow:hidden;border:1px solid #d7e5f7;border-radius:10px;background:#fff;box-shadow:0 28px 70px #0f172a3d}.current-account-movement-modal-header{min-height:78px;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 16px;border-bottom:1px solid #e2e8f0;background:#fff}.current-account-movement-title{min-width:0;display:grid;grid-template-columns:46px minmax(0,1fr);align-items:center;gap:12px}.current-account-movement-title-icon{width:46px;height:46px;display:inline-grid;place-items:center;border-radius:10px;background:#eafaff;color:#0891b2}.current-account-movement-eyebrow{display:block;color:#64748b;font-size:12px;font-weight:800;line-height:1.05}.current-account-movement-modal-header h2{margin:4px 0 0;overflow:hidden;color:#64748b;font-size:15px;line-height:1.15;font-weight:750;text-overflow:ellipsis;white-space:nowrap}.current-account-movement-modal-header p{width:fit-content;margin:5px 0 0;padding:2px 8px;border-radius:999px;background:#f1f5f9;color:#64748b;font-size:11px;font-weight:700}.current-account-movement-modal-header button{min-width:106px;height:40px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:8px;background:#dc2626;color:#fff;font-size:13px;font-weight:800;box-shadow:0 12px 28px #dc262633}.current-account-movement-modal-header button span,.current-account-movement-modal-header button svg{color:#fff;stroke:currentColor}.current-account-movement-modal-header button:hover{background:#b91c1c;box-shadow:0 12px 28px #b91c1c38}.current-account-movement-modal-header button:focus-visible{outline:3px solid rgba(220,38,38,.2);outline-offset:2px}.current-account-movement-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}.current-account-movement-modal-header .current-account-share-button{border:1px solid #d7e2ef;background:#fff;color:#334155;box-shadow:none}.current-account-movement-modal-header .current-account-share-button:hover{border-color:#c7d7eb;background:#f8fbff;box-shadow:none}.current-account-movement-modal-header .current-account-share-button:disabled{cursor:wait;opacity:.72}.current-account-movement-modal-header .current-account-share-button span,.current-account-movement-modal-header .current-account-share-button svg{color:#334155}.current-account-movement-modal-header .current-account-close-button{background:#dc2626;box-shadow:0 12px 28px #dc262633}.current-account-share-message{flex-basis:100%;margin:0;color:#64748b;font-size:11px;font-weight:750;line-height:1.25;text-align:right}.current-account-detail-panel{min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr);border:1px solid #d7e5f7;border-radius:0;background:#fff;overflow:hidden}.current-account-detail-header{min-height:52px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 10px;border-bottom:1px solid #e2e8f0;color:#172033;font-size:12px;font-weight:800}.current-account-detail-header>div:first-child{display:grid;gap:3px}.current-account-detail-header>div:first-child span{color:#64748b;font-size:11px;font-weight:700}.current-account-overdue-cards{display:flex;align-items:center;justify-content:flex-end;gap:10px}.current-account-overdue-card{min-width:205px;min-height:64px;display:grid;grid-template-columns:44px minmax(0,1fr);align-items:center;gap:12px;padding:8px 12px;border:1px solid #dde5ef;border-radius:8px;background:#fff;box-shadow:0 12px 28px #151f370d}.current-account-overdue-icon{width:44px;height:44px;display:inline-grid;place-items:center;border-radius:8px;background:#fff1f2;color:#dc2626}.current-account-overdue-card.is-usd .current-account-overdue-icon{background:#eaf2ff;color:#0b55d9}.current-account-overdue-card.is-total .current-account-overdue-icon{background:#f1eaff;color:#6d28d9}.current-account-overdue-card span{color:#64748b;font-size:12px;font-weight:800}.current-account-overdue-card strong{display:block;margin-top:2px;color:#172033;font-size:17px;line-height:1.08;font-weight:850;white-space:nowrap}.current-account-detail-table-wrap{overflow:auto}.current-account-detail-table{width:100%;min-width:1120px;border-collapse:collapse;font-size:11px}.current-account-detail-table th{height:24px;padding:4px 6px;border-bottom:1px solid #dbe7f5;background:#eef4ff;color:#334155;text-align:center;font-size:10px;font-weight:800;white-space:nowrap}.current-account-detail-table td{height:27px;padding:5px 7px;border-right:1px solid #edf2f7;border-bottom:1px solid #edf2f7;color:#334155;text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}.current-account-detail-table td:nth-child(2),.current-account-detail-table td:nth-child(3),.current-account-detail-table td:nth-child(6),.current-account-detail-table td:nth-child(12){text-align:left;font-variant-numeric:normal}.current-account-detail-table td:nth-child(1),.current-account-detail-table td:nth-child(4),.current-account-detail-table td:nth-child(13){text-align:center}.current-account-detail-table .current-account-day-diff{color:#64748b;font-weight:850}.current-account-detail-table tr.is-overdue td{background:#fff1f2}.current-account-detail-table tbody tr:hover td,.current-account-detail-table tbody tr.is-overdue:hover td{background:var(--table-hover-bg)}.period-comparison{display:grid;grid-auto-rows:max-content;align-content:start;gap:10px;background:#f5f7fb;padding:14px;font-family:Segoe UI,Arial,Helvetica,sans-serif}.period-comparison-filters{grid-template-columns:150px 150px minmax(150px,1fr) minmax(130px,.8fr) minmax(150px,.9fr) minmax(260px,1.65fr) 40px;align-items:end}.period-comparison-filters .filter-control{grid-template-rows:16px 40px;align-self:stretch}.period-comparison-filters .filter-control>span{color:#64748b;font-size:12px;font-weight:700}.period-comparison-filters .multi-filter-control summary,.period-search input,.period-date-control input{height:40px;min-height:40px;border-color:#d7e0eb;border-radius:8px;padding:0 12px;color:#263244;font-size:13px;font-weight:600;box-shadow:inset 0 0 0 1px #d7e0eb57}.period-date-control{grid-column:span 2}.period-date-control>div{display:grid;grid-template-columns:1fr 1fr;gap:10px}.period-date-control input{width:100%}.period-date-control.is-filtered input{border-color:#bcd7ff;background:#f4f8ff;box-shadow:inset 0 0 0 1px #93c5fd38}.period-search{grid-column:span 3}.period-search>div{position:relative;height:40px}.period-search svg{position:absolute;left:10px;top:50%;transform:translateY(-50%);color:#64748b;pointer-events:none}.period-search input{width:100%;padding-left:36px}.period-search.is-filtered input{border-color:#bcd7ff;background:#f4f8ff;box-shadow:inset 0 0 0 1px #93c5fd38}.period-selection-chip{justify-self:start;min-height:34px;display:inline-grid;padding:10px 12px;border:1px solid #dde5ef;border-radius:8px;background:#fff;box-shadow:0 12px 28px #151f370d;cursor:pointer}.period-selection-chip{grid-template-columns:minmax(0,1fr) 16px;align-items:center;color:#0b55d9;font-size:12px;font-weight:800;text-align:left}.period-selection-chip span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.period-comparison-grid{display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:10px;align-items:start}.period-table-panel{border:1px solid rgba(213,221,233,.86);border-radius:8px;background:#fff;box-shadow:0 14px 34px #151f370f;overflow:hidden}.period-panel-header{min-height:34px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:6px 10px;border-bottom:1px solid #dde5ef}.period-panel-header h3{margin:0;color:#172033;font-size:12px;line-height:1.1;font-weight:800}.period-panel-header span{color:#64748b;font-size:10px;font-weight:800}.period-table-wrap{max-height:460px;overflow:auto;padding:8px}.period-bottom-panel .period-table-wrap{max-height:260px}.period-table{width:100%;min-width:780px;table-layout:auto;border-collapse:separate;border-spacing:0;font-family:Segoe UI,Arial,Helvetica,sans-serif;font-size:11px;line-height:1.05;background:#fff;border:1px solid #dce2ea;border-radius:8px;overflow:hidden}.period-main-table,.period-month-table{min-width:max-content}.period-main-table th:first-child,.period-main-table td:first-child{width:auto;min-width:240px;max-width:300px}.period-month-table th:first-child,.period-month-table td:first-child{width:82px;min-width:82px}.period-main-table th:last-child,.period-main-table td:last-child,.period-month-table th:last-child,.period-month-table td:last-child{width:auto;min-width:104px}.period-main-table th:not(:first-child):not(:last-child),.period-main-table td:not(:first-child):not(:last-child),.period-month-table th:not(:first-child):not(:last-child),.period-month-table td:not(:first-child):not(:last-child){min-width:94px}.period-count-table{min-width:220px}.period-revenue-table{width:100%;min-width:220px;table-layout:fixed}.period-revenue-table th:first-child,.period-revenue-table td:first-child{width:48px}.period-revenue-table th:nth-child(2),.period-revenue-table td:nth-child(2){width:126px;text-align:right}.period-revenue-table th:nth-child(3),.period-revenue-table td:nth-child(3){width:56px;text-align:center}.period-revenue-table th:nth-child(2),.period-revenue-table th:nth-child(3){text-align:center}.period-revenue-table td:nth-child(3){color:#64748b}.period-side-panel .period-table-wrap{max-height:235px}.period-loading-wrap{min-height:220px;display:grid;place-items:center;overflow:hidden}.period-main-panel .period-loading-wrap{min-height:360px}.period-side-panel .period-loading-wrap{min-height:205px}.period-bottom-panel .period-loading-wrap{min-height:220px}.period-loading-orbit{position:relative;width:96px;height:96px;border-radius:50%;background:radial-gradient(circle at center,#ffffff 0 36%,#edf4ff 37% 58%,transparent 59%);box-shadow:inset 0 0 0 1px #dbe7f5,0 18px 38px #151f371a;animation:period-loading-wobble 1.4s ease-in-out infinite}.period-loading-core,.period-loading-token{position:absolute;display:grid;place-items:center;font-weight:900;font-variant-numeric:tabular-nums}.period-loading-core{inset:28px;border-radius:16px;background:#061057;color:#fff;font-size:28px;box-shadow:0 8px 18px #06105738}.period-loading-token{width:30px;height:30px;border-radius:50%;color:#fff;font-size:15px;animation:period-loading-spin 1.1s linear infinite}.period-loading-token.is-lira{top:3px;left:33px;background:#4f74a3}.period-loading-token.is-percent{right:5px;bottom:15px;background:#8b406d;animation-delay:-.24s}.period-loading-token.is-dot{left:7px;bottom:18px;background:#2d7fff;animation-delay:-.48s}@keyframes period-loading-spin{0%{transform:rotate(0) translateY(-3px) rotate(0)}to{transform:rotate(360deg) translateY(-3px) rotate(-360deg)}}@keyframes period-loading-wobble{0%,to{transform:rotate(-2deg) scale(1)}50%{transform:rotate(2deg) scale(1.04)}}.period-table th{position:sticky;top:0;z-index:2;height:32px;background:#061057;color:#fff;padding:4px 7px;border-right:1px solid rgba(255,255,255,.16);border-bottom:2px solid #2d7fff;text-align:center;font-weight:500;font-size:11px}.period-table th:first-child{position:sticky;left:0;z-index:3;text-align:center}.period-table td{height:21px;padding:2px 7px;border-right:1px solid #e2e2e2;border-bottom:1px solid #dedede;color:#343434;text-align:right;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-variant-numeric:tabular-nums}.period-table td:first-child{position:sticky;left:0;z-index:1;text-align:left;font-variant-numeric:normal;background:inherit}.period-table tfoot td{position:sticky;bottom:0;z-index:2;height:23px;background:#242422;color:#fff;font-weight:600;border-bottom:0}.period-table tfoot td:first-child{left:0;z-index:3;padding-left:34px;background:#5a3f99;color:#fff}.period-main-table tfoot td:not(:first-child),.period-month-table tfoot td:not(:first-child){background:#5a3f99;color:#fff;font-weight:600;border-right-color:#ffffff38}.period-group-row td{background:#fff;color:#333;font-weight:400}.period-main-table .period-group-row.is-expanded td:not(:first-child){font-weight:700}.period-detail-row td{background:#fbfcfe;font-weight:400}.period-group-row button,.period-detail-row button{font-weight:400}.period-detail-row td:first-child{padding-left:24px;font-weight:500}.period-table tr.is-selected td,.period-group-row.is-selected td,.period-detail-row.is-selected td{background:#eaf2ff;color:#0b55d9}.period-main-table button{border:0;background:transparent;color:inherit;font:inherit;font-weight:inherit;cursor:pointer}.period-main-table td:first-child{white-space:nowrap}.period-main-table td:first-child>button:not(.matrix-toggle){max-width:calc(100% - 24px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;vertical-align:bottom}.period-count-table tbody tr,.period-month-table tbody tr{cursor:pointer}.period-count-table td{text-align:center;font-weight:600}.period-count-table td:first-child{text-align:center}.period-main-table th:last-child,.period-main-table td:last-child,.period-month-table th:last-child,.period-month-table td:last-child{background:#5a3f99;color:#fff;font-weight:600;border-right-color:#ffffff38}.period-main-table thead th:last-child,.period-month-table thead th:last-child{background:#061057}.period-main-table tbody tr:not(.is-selected):not(.period-group-row):not(.period-detail-row) td:last-child,.period-main-table .period-detail-row:not(.is-selected) td:last-child,.period-main-table .period-group-row:not(.is-selected) td:last-child,.period-month-table tbody tr:not(.is-selected) td:last-child{background:#5a3f99;color:#fff}.period-table tbody tr:hover td{background:var(--table-hover-bg)}.period-main-table tbody tr:hover td:last-child,.period-month-table tbody tr:hover td:last-child{background:var(--table-hover-bg);color:#18202f}.profitability-page{gap:10px}.profitability-filters{grid-template-columns:repeat(24,minmax(0,1fr));align-items:end;gap:8px 10px}.profitability-filters .filter-control{grid-template-rows:16px 40px;align-self:stretch;min-width:0}.profitability-filters .filter-control>span{color:#64748b;font-size:12px;font-weight:700;line-height:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.profitability-filters .multi-filter-control summary,.profitability-filters .period-search input,.profitability-filters .period-date-control input{height:40px;min-height:40px;border-color:#d7e0eb;border-radius:8px;padding:0 12px;color:#263244;font-size:13px;font-weight:600;box-shadow:inset 0 0 0 1px #d7e0eb57}.profitability-filters .period-date-control{grid-column:auto;min-width:0}.profitability-filters .period-date-control>div{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;min-width:0}.profitability-filters .period-search{grid-column:auto;min-width:0}.profitability-filters .period-search>div{min-width:0}.profitability-filters .period-search input{width:100%;min-width:0;padding-left:34px}.profitability-filters .profitability-filter-date{grid-column:span 7}.profitability-filters .profitability-filter-ni{grid-column:span 3}.profitability-filters .profitability-filter-type,.profitability-filters .profitability-filter-status{grid-column:span 4}.profitability-filters .profitability-filter-customer{grid-column:span 6}.profitability-filters .profitability-filter-category,.profitability-filters .profitability-filter-group{grid-column:span 5}.profitability-filters .profitability-filter-stock{grid-column:span 9}.profitability-filters .current-account-clear-filters{grid-column:span 1;justify-self:start}.profitability-summary{display:grid;grid-template-columns:repeat(4,minmax(180px,1fr));gap:9px}.profitability-card{min-height:76px;display:grid;grid-template-columns:42px minmax(0,1fr);align-items:center;gap:12px;padding:10px 12px;border:1px solid #dde5ef;border-radius:8px;background:#fff;box-shadow:0 12px 28px #151f370d}.profitability-card>div>span{color:#64748b;font-size:12px;line-height:1.1;font-weight:800}.profitability-card strong{display:block;margin-top:3px;color:#172033;font-size:19px;line-height:1.05;font-weight:850;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.profitability-card-icon{width:42px;height:42px;display:inline-grid;place-items:center;border-radius:8px}.profitability-card-icon.is-blue{color:#0b55d9;background:#eaf2ff}.profitability-card-icon.is-green{color:#15803d;background:#e8f8ef}.profitability-card-icon.is-violet{color:#6d28d9;background:#f1eaff}.profitability-card-icon.is-gray{color:#475569;background:#eef3f8}.profitability-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;align-items:start}.profitability-table-wrap{max-height:323px;overflow:auto;padding:8px}.profitability-loading-wrap{min-height:240px;display:grid;place-items:center;overflow:hidden}.profitability-table{width:100%;min-width:1120px;table-layout:fixed;font-family:Segoe UI,Arial,Helvetica,sans-serif;font-size:11px;line-height:1.05}.profitability-table th{height:32px;padding:4px 6px;font-size:11px;font-weight:500;line-height:1.05;text-align:center}.profitability-table td{height:21px;padding:2px 6px;font-size:11px;font-weight:400;line-height:1.05}.profitability-table tfoot td{height:23px;font-size:11px;font-weight:600}.profitability-table th:first-child,.profitability-table td:first-child{min-width:74px;width:74px;text-align:center}.profitability-table th:nth-child(2),.profitability-table td:nth-child(2){min-width:150px;width:15%}.profitability-table th:nth-child(3),.profitability-table td:nth-child(3),.profitability-table th:nth-child(5),.profitability-table td:nth-child(5){min-width:78px}.profitability-table th:nth-child(3),.profitability-table td:nth-child(3){min-width:39px;width:4%}.profitability-table th:nth-child(6),.profitability-table td:nth-child(6){min-width:72px;width:7%}.profitability-table th:nth-child(5),.profitability-table td:nth-child(5){min-width:72px;width:8%}.profitability-table th:nth-child(4),.profitability-table td:nth-child(4){min-width:58px;width:58px;text-align:center}.profitability-table th:nth-child(7),.profitability-table td:nth-child(7){min-width:165px;width:17%}.profitability-table td:nth-child(2),.profitability-table td:nth-child(3),.profitability-table td:nth-child(5),.profitability-table td:nth-child(6),.profitability-table td:nth-child(7){text-align:left}.profitability-table td:nth-child(2),.profitability-table td:nth-child(5),.profitability-table td:nth-child(7){position:relative;overflow:visible;white-space:nowrap}.profitability-tooltip-text{position:relative;display:block;max-width:100%}.profitability-tooltip-text>span{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;line-height:1.05;font-weight:400}.profitability-tooltip-text:before,.profitability-tooltip-text:after{position:absolute;left:12px;z-index:30;opacity:0;transform:translateY(4px);transition:opacity .12s ease,transform .12s ease;pointer-events:none}.profitability-tooltip-text:before{content:"";top:calc(100% + 4px);width:10px;height:10px;background:#fff;border-left:1px solid #dde5ef;border-top:1px solid #dde5ef;transform:translateY(4px) rotate(45deg)}.profitability-tooltip-text:after{content:attr(data-tooltip);top:calc(100% + 9px);max-width:420px;min-width:180px;width:max-content;padding:7px 9px;border:1px solid #dde5ef;border-radius:8px;background:#fff;box-shadow:0 16px 34px #0f172a29;color:#263244;font-size:11px;line-height:1.25;font-weight:500;white-space:normal}.profitability-tooltip-text:hover:before,.profitability-tooltip-text:hover:after{opacity:1;transform:translateY(0)}.profitability-tooltip-text:hover:before{transform:translateY(0) rotate(45deg)}.profitability-table th:nth-child(n+8),.profitability-table td:nth-child(n+8){min-width:82px;text-align:right}.profitability-table th:nth-child(9),.profitability-table td:nth-child(9),.profitability-table th:nth-child(10),.profitability-table td:nth-child(10){min-width:78px;width:8%}.profitability-table tbody td:nth-child(9){background:#e6dcff}.profitability-table tbody td:nth-child(10){background:#fff0ad}.profitability-table th:nth-child(8),.profitability-table td:nth-child(8){min-width:62px;width:62px}.profitability-table th:nth-child(11),.profitability-table td:nth-child(11){min-width:92px;width:9%}.profitability-table th:nth-child(12),.profitability-table td:nth-child(12){min-width:58px;width:58px}.profitability-table tbody tr.is-negative-profit td{background:#fff1f2}.profitability-table tbody tr.is-zero-cost-warning td{background:#fff8d8}.profitability-table tbody tr td:nth-child(9){background:#e6dcff}.profitability-table tbody tr td:nth-child(10){background:#fff0ad}.profitability-table tbody tr:hover td,.profitability-table tbody tr.is-negative-profit:hover td,.profitability-table tbody tr.is-zero-cost-warning:hover td,.profitability-table tbody tr:hover td:nth-child(9),.profitability-table tbody tr:hover td:nth-child(10){background:var(--table-hover-bg)!important}.profitability-chart-panel{min-width:0}.profitability-chart-legend{display:flex;align-items:center;gap:12px;padding:8px 10px 0;color:#64748b;font-size:11px;font-weight:700}.profitability-chart-legend span{display:inline-flex;align-items:center;gap:5px}.profitability-chart-legend i{width:9px;height:9px;border-radius:999px}.profitability-chart-legend .is-sales{background:#30376f}.profitability-chart-legend .is-profit{background:#8b406d}.profitability-column-chart{min-height:320px;display:grid;grid-template-columns:repeat(var(--profitability-month-count, 1),minmax(0,1fr));align-items:end;column-gap:var(--profitability-chart-gap, 22px);padding:38px clamp(32px,9vw,72px) 34px;overflow:hidden;background:linear-gradient(to top,transparent 0 24%,rgba(100,116,139,.18) 24% 24.5%,transparent 24.5% 49%,rgba(100,116,139,.18) 49% 49.5%,transparent 49.5% 74%,rgba(100,116,139,.18) 74% 74.5%,transparent 74.5% 100%)}.profitability-column-chart.profitability-loading-wrap{grid-template-columns:1fr;place-items:center}.profitability-column-group{border:0;padding:0;background:transparent;min-width:0;height:250px;display:grid;grid-template-rows:minmax(0,1fr) 22px;align-items:end;justify-items:center;gap:8px;cursor:pointer}.profitability-column-group:hover .profitability-column-pair>span,.profitability-column-group:focus-visible .profitability-column-pair>span{filter:brightness(1.08)}.profitability-column-group.is-selected .profitability-column-pair>span{filter:brightness(1.12)}.profitability-column-group.is-selected>strong{color:#28336f;font-weight:700}.profitability-column-group:focus-visible{outline:2px solid #7aa7e8;outline-offset:6px;border-radius:6px}.profitability-column-pair{width:100%;height:100%;display:flex;align-items:end;justify-content:center;gap:0}.profitability-column-pair>span{position:relative;width:min(var(--profitability-chart-bar-width, 64px),calc(50% - 1px));min-height:8px;display:block}.profitability-column-pair>span.is-sales{background:#30376f}.profitability-column-pair>span.is-profit{background:#8b406d}.profitability-column-pair em{position:absolute;left:50%;top:-26px;transform:translate(-50%);min-width:max-content;padding:4px var(--profitability-chart-value-padding-x, 8px);border-radius:5px;background:#4f74a3;color:#fff;font-size:var(--profitability-chart-value-font-size, 11px);line-height:1;font-style:normal;font-weight:700;white-space:nowrap}.profitability-column-group>strong{color:#64748b;font-size:var(--profitability-chart-period-font-size, 12px);font-weight:500;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.period-main-table .matrix-toggle{width:11px;height:11px;margin-right:7px;border:1px solid #9aa0a6;border-radius:2px;background:#fff;color:#747474;display:inline-grid;place-items:center;font-size:10px;line-height:1;padding:0;vertical-align:-1px}.period-main-table .matrix-toggle-placeholder{display:inline-block;width:23px;height:11px;vertical-align:-1px}@media(max-width:1200px){.period-comparison-filters{grid-template-columns:repeat(2,minmax(180px,1fr)) 40px}.period-comparison-grid{grid-template-columns:1fr}.period-date-control,.period-search{grid-column:span 2}}.current-account-detail-status{min-height:42px;display:grid;place-items:center;border:1px dashed #cfe0f5;border-radius:8px;background:#fff;color:#64748b;font-size:12px;font-weight:700}.current-account-detail-status.is-error{border-color:#fecdd3;background:#fff1f2;color:#be123c}.current-account-table tbody tr:nth-child(2n) td{background:#fbfcfe}.current-account-table tbody tr:hover td{background:var(--table-hover-bg)}.current-account-pill{min-height:20px;display:inline-flex;align-items:center;justify-content:center;padding:0 7px;border-radius:999px;font-size:10px;font-weight:800;white-space:nowrap}.current-account-pill-active{background:#e8f8ef;color:#15803d}.current-account-pill-passive{background:#e5e7eb;color:#475569}.current-account-pill-neutral{background:#eef3f8;color:#475569}.current-account-pill-debt{background:#fff1f2;color:#be123c}.current-account-pill-credit{background:#eff6ff;color:#1d4ed8}.current-account-pill-maturity{background:#f1eaff;color:#6d28d9}.current-account-pill-maturity.is-overdue-1{background:#fff1f2;color:#be123c}.current-account-pill-maturity.is-overdue-2{background:#ffe4e6;color:#be123c}.current-account-pill-maturity.is-overdue-3{background:#fecdd3;color:#9f1239}.current-account-pill-maturity.is-overdue-4{background:#fda4af;color:#881337}.current-account-pill-maturity.is-overdue-5{background:#e11d48;color:#fff}.current-account-chart-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.current-account-chart-panel{min-height:230px;padding:12px}.current-account-chart-panel h3{margin:0 0 10px;color:#172033;font-size:14px;font-weight:800}.current-account-bars{display:grid;gap:9px}.current-account-bar-row{width:100%;border:0;border-radius:8px;display:grid;gap:5px;padding:4px 0;background:transparent;text-align:left;cursor:pointer}.current-account-bar-row:hover{background:#f8fbff}.current-account-bar-row.is-selected{padding:4px 6px;background:#eef4ff;box-shadow:inset 3px 0 #0b55d9}.current-account-bar-row.is-selected .current-account-bar-heading span{color:#0f3f96}.current-account-bar-row.is-selected .current-account-bar-track{background:#dbeafe}.current-account-bar-heading{display:flex;justify-content:space-between;gap:10px;color:#475569;font-size:11px;font-weight:700}.current-account-bar-heading span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.current-account-bar-heading strong{color:#172033;font-size:11px;white-space:nowrap}.current-account-bar-track{height:9px;overflow:hidden;border-radius:999px;background:#eef3f8}.current-account-bar-track i{display:block;width:var(--bar-width);height:100%;border-radius:inherit;background:linear-gradient(90deg,#0b55d9,#a30dea)}.current-account-empty-chart{min-height:120px;display:grid;place-items:center;color:#64748b;font-size:12px;font-weight:700}.table-wrap{overflow-x:auto;border:1px solid #dde5ef;background:#fff;border-radius:8px}table{width:100%;border-collapse:collapse;min-width:640px}th,td{padding:14px;border-bottom:1px solid #e8eef5;text-align:left}th{color:#64748b;font-size:13px;font-weight:700}td span{display:block;color:#64748b;font-size:13px;margin-top:3px}.selected-row{background:#f0fdfa}.link-button{border:0;background:transparent;color:#0f766e;padding:0;font-weight:800}.users-admin-page{grid-template-columns:minmax(0,1fr) minmax(440px,520px);gap:18px}.users-page-toolbar,.task-page-toolbar{display:flex;align-items:center;justify-content:flex-end}.users-admin-page .section-heading{margin-bottom:14px}.users-admin-page .muted{font-size:12px}.users-admin-page .section-heading h2{font-size:20px;font-weight:700}.users-admin-page .table-wrap{border-radius:8px}.users-admin-page table{min-width:560px;font-size:13px}.users-admin-page th,.users-admin-page td{padding:10px 14px}.users-admin-page th{font-size:12px;font-weight:650}.users-admin-page td span{font-size:12px}.department-cell{display:grid;gap:2px;min-width:0}.department-cell strong{color:#172033;font-size:13px;line-height:1.12;font-weight:500}.department-cell span{color:#64748b;font-size:11px;line-height:1.1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.users-admin-page .link-button{font-size:13px;font-weight:650}.status-switch{width:var(--switch-width);height:var(--switch-height);border:0;border-radius:999px;padding:0;display:inline-flex;align-items:center;justify-content:flex-start;background:#cbd5e1;box-shadow:none;transition:background .18s ease,box-shadow .18s ease;vertical-align:middle}.status-switch span{width:var(--switch-knob-size);height:var(--switch-knob-size);border-radius:999px;background:#fff;box-shadow:0 1px 3px #0f172a38;transform:translate(var(--switch-knob-offset));transition:transform .18s ease}.status-switch.is-on{background:#22c55e;box-shadow:none}.status-switch.is-on span{transform:translate(calc(var(--switch-knob-offset) + var(--switch-knob-travel)))}.status-switch:focus-visible{outline:3px solid rgba(52,199,89,.24);outline-offset:2px}.user-name-cell{display:flex;align-items:center;gap:9px;min-width:0}.user-name-cell>div:last-child{min-width:0}.avatar-picker{display:grid;grid-template-columns:repeat(auto-fill,minmax(38px,1fr));gap:7px}.avatar-choice{width:38px;height:38px;padding:2px;border:1px solid #d5dee9;border-radius:999px;background:#fff;display:inline-grid;place-items:center;transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease}.avatar-choice .avatar{width:32px;height:32px;box-shadow:none}.avatar-choice.selected{border-color:#0b55d9;box-shadow:0 0 0 3px #0b55d924}.avatar-choice:hover{border-color:#8caef2;transform:translateY(-1px)}.users-admin-page .user-form{width:100%;display:grid;grid-template-columns:1fr;row-gap:10px;align-content:start;padding:18px}.users-admin-page label{margin-top:0;gap:6px;font-size:12px}.users-admin-page .section-heading,.users-admin-page .user-form-wide,.users-admin-page .primary-button{grid-column:1 / -1}.users-admin-page input,.users-admin-page select{min-height:40px;padding:9px 11px;font-size:13px}.users-admin-page .password-input-wrap{position:relative;display:flex;align-items:center}.users-admin-page .password-input-wrap input{padding-right:42px}.users-admin-page .password-visibility-button{position:absolute;right:7px;width:30px;height:30px;display:inline-grid;place-items:center;border:0;border-radius:7px;background:#eef3f8;color:#5f6f86;cursor:pointer}.users-admin-page .password-visibility-button:hover{background:#e6eef8;color:#0f172a}.users-admin-page .field-hint{color:#64748b;font-size:11px;line-height:1.35}.users-admin-page select{padding-right:38px;border-color:#d7e0eb;font-weight:600;box-shadow:inset 0 0 0 1px #d7e0eb57}.users-admin-page .primary-button{min-height:42px;margin-top:4px;font-size:13px;font-weight:650}.users-admin-page .icon-text-button{min-height:38px;padding:0 12px;font-size:13px}.users-admin-page .icon-button{width:38px;min-height:38px}.users-admin-page .icon-button svg,.users-admin-page .icon-text-button svg,.users-admin-page .primary-button svg{width:16px;height:16px}.smtp-settings-page{background:#f5f7fb;padding:16px}.smtp-settings-shell{display:grid;grid-template-columns:minmax(280px,360px) minmax(0,620px);gap:16px;align-items:start}.smtp-settings-overview,.smtp-settings-form{border:1px solid #dde5ef;border-radius:8px;background:#fff;box-shadow:0 14px 34px #151f370f}.smtp-settings-overview{display:grid;gap:14px;padding:18px}.smtp-settings-icon{width:44px;height:44px;border-radius:8px;display:grid;place-items:center;background:#eef4ff;color:#0b55d9}.smtp-settings-overview p,.smtp-settings-form .muted{margin:0;color:#64748b;font-size:12px;font-weight:700}.smtp-settings-overview h2{margin:3px 0 0;color:#172033;font-size:22px;line-height:1.15;font-weight:800}.smtp-status{justify-self:start;padding:6px 10px;border-radius:999px;background:#f1f5f9;color:#64748b;font-size:12px;font-weight:800}.smtp-status.is-on{background:#dcfce7;color:#166534}.smtp-settings-overview dl{display:grid;gap:8px;margin:0}.smtp-settings-overview dl>div{display:grid;gap:3px;padding:9px 0;border-top:1px solid #eef3f8}.smtp-settings-overview dt{color:#64748b;font-size:11px;font-weight:800}.smtp-settings-overview dd{margin:0;min-width:0;color:#172033;font-size:13px;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.smtp-settings-form{display:grid;gap:12px;padding:18px}.smtp-settings-form .section-heading{margin:0}.smtp-settings-form .section-heading h2{font-size:20px;font-weight:750}.smtp-switch-row{min-height:58px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px;border:1px solid #e5edf6;border-radius:8px;background:#f8fbff}.smtp-switch-row>span{display:grid;gap:4px}.smtp-switch-row strong{color:#172033;font-size:13px}.smtp-switch-row small,.smtp-settings-form .field-hint{color:#64748b;font-size:11px;font-weight:600}.smtp-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.smtp-settings-form label{display:grid;gap:6px;margin:0;color:#475569;font-size:12px;font-weight:700}.smtp-form-wide{grid-column:1 / -1}.smtp-settings-form input{height:38px;width:100%;border:1px solid #d7e0eb;border-radius:8px;padding:0 11px;color:#263244;font-size:13px;font-weight:600;box-shadow:inset 0 0 0 1px #d7e0eb52}.smtp-settings-form input:focus{outline:0;border-color:#9bc2ff;box-shadow:0 0 0 3px #93c5fd29}.smtp-settings-form .password-input-wrap{position:relative;display:flex;align-items:center}.smtp-settings-form .password-input-wrap input{padding-right:42px}.smtp-settings-form .password-visibility-button{position:absolute;right:7px;width:30px;height:30px;display:inline-grid;place-items:center;border:0;border-radius:7px;background:#eef3f8;color:#5f6f86;cursor:pointer}.smtp-settings-form .password-visibility-button:hover{background:#e6eef8;color:#0f172a}.smtp-checkbox-row{min-height:38px;grid-template-columns:18px minmax(0,1fr);align-items:center;gap:8px;padding:9px 10px;border:1px solid #e5edf6;border-radius:8px;background:#fff}.smtp-checkbox-row input{width:16px;height:16px;padding:0;box-shadow:none}.smtp-checkbox-row span{color:#263244;font-size:12px;font-weight:700}.smtp-action-row{display:flex;align-items:center;justify-content:flex-start}.smtp-save-button{justify-self:start;min-width:108px;min-height:36px;padding:0 12px;border-radius:8px;font-size:12px}.smtp-test-panel{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:end;padding-top:2px}.smtp-test-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:36px;border:1px solid #9bc2ff;padding:0 12px;border-radius:8px;background:#eef4ff;color:#0b55d9;font-size:12px;font-weight:800;white-space:nowrap;box-shadow:0 8px 18px #0b55d91f;cursor:pointer;transition:background-color .16s ease,border-color .16s ease,color .16s ease,box-shadow .16s ease,transform .16s ease}.smtp-test-button:hover:not(:disabled){border-color:#0b55d9;background:#0b55d9;color:#fff;box-shadow:0 10px 22px #0b55d938;transform:translateY(-1px)}.smtp-test-button:disabled{cursor:not-allowed;opacity:.65;transform:none}.smtp-test-success{margin:0}.notification-rules-page,.app-health-page{display:grid;grid-auto-rows:max-content;align-content:start;gap:12px;background:#f5f7fb;padding:14px}.app-health-toolbar,.app-health-group,.app-health-summary-card{border:1px solid #dde5ef;border-radius:8px;background:#fff;box-shadow:0 14px 34px #151f370f}.app-health-toolbar{min-height:68px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 16px}.app-health-toolbar .muted{margin:0;color:#64748b;font-size:12px;font-weight:800}.app-health-toolbar h2{margin:3px 0 0;color:#172033;font-size:22px;line-height:1.15}.app-health-toolbar-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.app-health-checked-at{min-height:34px;display:inline-flex;align-items:center;gap:7px;border:1px solid #dbe4ee;border-radius:8px;background:#fff;padding:0 10px;color:#52657f;font-size:12px;font-weight:750}.app-health-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.app-health-summary-card{min-height:82px;display:flex;align-items:center;gap:12px;padding:14px}.app-health-summary-card>svg{flex:0 0 auto}.app-health-summary-card span{display:block;color:#64748b;font-size:12px;font-weight:800}.app-health-summary-card strong{display:block;margin-top:2px;color:#172033;font-size:26px;line-height:1}.app-health-summary-card.is-ok{color:#15803d}.app-health-summary-card.is-warning{color:#b45309}.app-health-summary-card.is-error{color:#b91c1c}.app-health-groups{column-count:3;column-gap:12px}.app-health-group{width:100%;display:inline-block;margin:0 0 12px;overflow:hidden;break-inside:avoid;page-break-inside:avoid}.app-health-group-header{display:grid;grid-template-columns:38px minmax(0,1fr);gap:10px;align-items:center;border-bottom:1px solid #e4ebf4;padding:13px 14px}.app-health-group-header>span{width:38px;height:38px;display:grid;place-items:center;border-radius:8px;background:#eef4ff;color:#0b55d9}.app-health-group-header strong{display:block;color:#172033;font-size:14px}.app-health-group-header small{display:block;margin-top:2px;color:#64748b;font-size:12px;font-weight:750}.app-health-check-list{display:grid}.app-health-check-row{display:grid;grid-template-columns:24px minmax(0,1fr) auto;gap:10px;align-items:start;border-bottom:1px solid #edf2f7;padding:12px 14px;color:#52657f}.app-health-check-row:last-child{border-bottom:0}.app-health-check-row>svg{margin-top:1px}.app-health-check-row.is-ok>svg{color:#15803d}.app-health-check-row.is-warning>svg{color:#b45309}.app-health-check-row.is-error>svg{color:#b91c1c}.app-health-check-row strong{display:block;color:#172033;font-size:13px;line-height:1.2}.app-health-check-row span{display:block;margin-top:4px;color:#607086;font-size:12px;line-height:1.4;overflow-wrap:anywhere}.app-health-check-row small{color:#8290a4;font-size:11px;font-weight:750;white-space:nowrap}.notification-rules-toolbar,.notification-rule-card,.notification-history-panel,.notification-preview-panel{border:1px solid #dde5ef;border-radius:8px;background:#fff;box-shadow:0 14px 34px #151f370f}.notification-rules-toolbar{min-height:68px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 16px}.notification-rules-toolbar .muted,.notification-panel-heading .muted{margin:0;color:#64748b;font-size:12px;font-weight:800}.notification-rules-toolbar h2,.notification-panel-heading h3{margin:3px 0 0;color:#172033;line-height:1.15}.notification-rules-toolbar h2{font-size:22px}.notification-panel-heading h3{font-size:16px}.notification-toolbar-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}.notification-run-button{background:#eef4ff;color:#0b55d9}.notification-rule-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.notification-rule-card{display:grid;gap:12px;padding:14px;border-left:4px solid #cbd5e1}.notification-rule-card.is-enabled{border-left-color:#16a34a}.notification-rule-card-header{display:grid;grid-template-columns:38px minmax(0,1fr) auto;gap:10px;align-items:center}.notification-rule-icon{width:38px;height:38px;display:grid;place-items:center;border-radius:8px;background:#eef4ff;color:#0b55d9}.notification-rule-card-header strong{display:block;color:#172033;font-size:14px}.notification-rule-card-header span{display:block;margin-top:2px;color:#64748b;font-size:12px;font-weight:700}.notification-rule-card p{margin:0;color:#5f6f86;font-size:12px;line-height:1.45}.notification-rule-switch{position:relative;width:44px;height:24px;margin:0}.notification-rule-switch input{position:absolute;inset:0;opacity:0}.notification-rule-switch i{position:absolute;inset:0;border-radius:999px;background:#cbd5e1;cursor:pointer;transition:background-color .16s ease}.notification-rule-switch i:after{content:"";position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:#fff;box-shadow:0 2px 6px #0f172a2e;transition:transform .16s ease}.notification-rule-switch input:checked+i{background:#16a34a}.notification-rule-switch input:checked+i:after{transform:translate(20px)}.notification-rule-fields{display:grid;grid-template-columns:180px minmax(0,1fr);gap:10px}.notification-rule-fields label{display:grid;gap:6px;margin:0;color:#475569;font-size:12px;font-weight:750}.notification-rule-fields input{height:36px;border:1px solid #d7e0eb;border-radius:8px;padding:0 10px;color:#263244;font-size:13px;font-weight:650}.notification-rule-meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.notification-rule-meta span{border-radius:999px;background:#f1f5f9;color:#475569;padding:6px 9px;font-size:11px;font-weight:800}.notification-rule-actions{display:flex;align-items:center;gap:8px}.notification-rule-actions .primary-button.compact,.notification-test-button{width:auto;min-height:34px;margin:0;border-radius:8px;font-size:12px}.notification-test-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:118px;border:1px solid #9bc2ff;padding:0 12px;background:#f4f8ff;color:#0b55d9;font-weight:800;box-shadow:0 8px 18px #0b55d91a;cursor:pointer;transition:background-color .16s ease,border-color .16s ease,color .16s ease,box-shadow .16s ease,transform .16s ease}.notification-test-button svg{width:15px;height:15px;stroke-width:2.2}.notification-test-button:hover:not(:disabled){border-color:#0b55d9;background:#0b55d9;color:#fff;box-shadow:0 10px 22px #0b55d938;transform:translateY(-1px)}.notification-test-button:disabled{cursor:not-allowed;opacity:.62;transform:none;box-shadow:none}.notification-history-grid{display:grid;grid-template-columns:minmax(0,1.18fr) minmax(360px,.82fr);gap:12px}.notification-history-panel,.notification-preview-panel{min-height:420px;overflow:hidden}.notification-panel-heading{min-height:58px;display:flex;align-items:center;justify-content:space-between;padding:12px 14px;border-bottom:1px solid #e5edf6}.notification-history-table-wrap{max-height:430px;overflow:auto}.notification-history-table{width:100%;border-collapse:separate;border-spacing:0;table-layout:fixed;font-size:12px}.notification-history-table th{position:sticky;top:0;z-index:1;height:34px;background:#061057;color:#fff;padding:0 10px;text-align:left;font-weight:750}.notification-history-table td{height:42px;padding:7px 10px;border-bottom:1px solid #edf2f7;color:#334155;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.notification-history-table td:nth-child(1){width:130px}.notification-history-table td:nth-child(2) strong,.notification-history-table td:nth-child(2) span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.notification-history-table td:nth-child(2) span{margin-top:2px;color:#64748b;font-size:11px}.notification-history-table tr:hover td{background:var(--table-hover-bg)}.notification-history-table tr.is-selected td{background:#f2f6ff}.notification-history-table .icon-button{width:30px;min-height:30px;height:30px;padding:0}.notification-status{display:inline-flex;min-width:72px;justify-content:center;border-radius:999px;padding:5px 8px;font-size:11px;font-weight:850}.notification-status.is-sent{background:#dcfce7;color:#166534}.notification-status.is-test{background:#fef3c7;color:#92400e}.notification-status.is-error{background:#fee2e2;color:#991b1b}.notification-preview-panel{display:grid;grid-template-rows:auto auto minmax(0,1fr)}.notification-preview-panel iframe{width:100%;height:100%;min-height:360px;border:0;background:#fff}.notification-preview-empty{display:grid;place-items:center;min-height:300px;color:#64748b;font-size:13px;font-weight:700}.page-permissions-page{display:flex;flex-direction:column;gap:8px;height:auto;max-height:100%;min-height:0;overflow:hidden;padding:8px 16px 10px}.page-permissions-page .icon-text-button{width:34px;min-height:34px;height:34px;padding:0;border-radius:8px;border:1px solid #d9e2ee;background:#fff;color:#334155;box-shadow:none}.page-permissions-page .icon-text-button svg{width:16px;height:16px}.page-permissions-page .icon-text-button:hover{border-color:#9fc0ff;background:#eef4ff;color:#0b55d9}.role-permission-grid{flex:1 1 auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;min-height:0;align-items:stretch;overflow:hidden}.permission-section-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:40px;margin-top:0;color:#172033}.permission-section-heading-copy{display:flex;align-items:center;gap:8px;min-width:0}.permission-section-heading-copy>svg{flex:0 0 auto;color:#0b55d9}.permission-section-heading strong{display:block;font-size:15px;font-weight:850;line-height:1.1}.permission-section-heading span{display:block;margin-top:1px;color:#64748b;font-size:11px;font-weight:700}.permission-user-filter{min-height:38px;display:flex;align-items:center;gap:8px;width:min(420px,100%);padding:0 12px;border:1px solid #dce4ef;border-radius:8px;background:#fff;color:#64748b}.permission-user-filter input{width:100%;border:0;outline:0;color:#172033;font-size:13px;font-weight:700;background:transparent}.permission-user-filter input::placeholder{color:#94a3b8}.user-permission-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.user-permission-card{box-shadow:0 10px 24px #0f172a0d}.role-permission-card{align-self:stretch;min-height:0;height:100%;max-height:100%;display:flex;flex-direction:column;border:1px solid #dce4ef;border-radius:8px;background:#fff;box-shadow:0 16px 36px #0f172a0f;overflow:hidden}.role-permission-card-header{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;border-bottom:1px solid #e5edf6;background:#f8fbff}.role-permission-title{display:flex;align-items:center;gap:8px;min-width:0}.role-permission-title>span{width:32px;height:32px;display:inline-grid;place-items:center;border-radius:8px;background:#eaf2ff;color:#0b55d9}.role-permission-title p{margin:0;color:#172033;font-size:15px;font-weight:800;line-height:1.1}.role-permission-title strong{display:block;margin-top:1px;color:#64748b;font-size:11px;font-weight:700}.primary-button.compact{width:auto;min-width:120px;min-height:34px;margin-top:0;padding:0 12px;border-radius:8px;font-size:12px}.permission-page-list{display:grid;gap:4px;padding:8px 10px}.role-permission-card>.permission-page-list{flex:1 1 auto;min-height:0;overflow-y:auto;padding-bottom:10px}.permission-page-row{min-height:38px;display:grid;grid-template-columns:20px minmax(0,1fr) auto;align-items:center;gap:7px;padding:5px 9px;border:1px solid #dce4ef;border-radius:8px;background:#fff;cursor:pointer}.permission-page-row input{position:absolute;opacity:0;pointer-events:none}.permission-page-row.is-selected{border-color:#9fc0ff;background:#f1f6ff}.permission-page-row:has(input:disabled){cursor:default}.permission-page-row.is-role-blocked{background:#f8fafc;color:#94a3b8}.permission-page-check{width:18px;height:18px;border:2px solid #cbd5e1;border-radius:6px;background:#fff}.permission-page-row.is-selected .permission-page-check{border-color:#0b55d9;background:#0b55d9;box-shadow:inset 0 0 0 4px #fff}.permission-page-row.is-role-blocked .permission-page-check{border-color:#d8e1ec;background:#eef2f7;box-shadow:none}.permission-page-copy{min-width:0}.permission-page-copy strong{display:block;color:#172033;font-size:11px;font-weight:800;line-height:1.1}.permission-page-copy small{display:block;margin-top:1px;color:#64748b;font-size:9px;font-weight:700}.permission-page-lock{border-radius:999px;padding:4px 7px;background:#eef4ff;color:#0b55d9;font-size:10px;font-weight:800}.user-permission-status{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 12px 10px;color:#64748b;font-size:11px;font-weight:750}.user-permission-status strong{color:#172033;font-size:11px;font-weight:850}.role-user-permission-panel{margin:6px 10px 10px;border:1px solid #dce4ef;border-radius:8px;background:#fbfdff;overflow:visible;position:relative;z-index:4}.role-user-permission-header{display:grid;grid-template-columns:minmax(0,1fr) minmax(180px,260px);align-items:center;gap:10px;padding:9px 10px;border-bottom:1px solid #e5edf6}.role-user-permission-title{display:flex;align-items:center;gap:7px;min-width:0;color:#0b55d9}.role-user-permission-title strong{display:block;color:#172033;font-size:12px;font-weight:850;line-height:1.1}.role-user-permission-title span{display:block;margin-top:1px;color:#64748b;font-size:10px;font-weight:750}.permission-user-select{position:relative;min-width:0}.permission-user-select>button{width:100%;min-height:42px;display:flex;align-items:center;justify-content:space-between;gap:8px;border:1px solid #d6e0ed;border-radius:8px;padding:6px 9px;background:#fff;color:#172033;font-size:12px;font-weight:800;box-shadow:none}.permission-user-select>button:hover,.permission-user-select>button[aria-expanded=true]{border-color:#9fc0ff;background:#f4f8ff}.permission-user-select>button:disabled{opacity:.65}.permission-select-placeholder{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.permission-selected-user{min-width:0;display:grid;grid-template-columns:30px minmax(0,1fr);align-items:center;gap:8px;text-align:left}.permission-selected-user strong,.permission-selected-user small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.permission-selected-user strong{color:#172033;font-size:12px;font-weight:850;line-height:1.1}.permission-selected-user small{margin-top:1px;color:#64748b;font-size:10px;font-weight:750}.permission-user-menu{position:absolute;top:calc(100% + 6px);right:0;z-index:40;width:min(360px,92vw);max-height:300px;overflow-y:auto;padding:6px;border:1px solid #dce4ef;border-radius:8px;background:#fff;box-shadow:0 18px 42px #0f172a29}.permission-user-option{width:100%;min-height:58px;display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:10px;padding:8px;border:0;border-radius:7px;background:transparent;text-align:left;color:#172033}.permission-user-option:hover,.permission-user-option.is-selected{background:#f4f8ff}.permission-user-option.is-empty{min-height:38px;display:block;padding:9px 10px;color:#64748b;font-size:12px;font-weight:800}.permission-user-avatar{position:relative;width:38px;height:38px}.permission-user-avatar .avatar-sm{width:38px;height:38px}.permission-user-avatar i{position:absolute;right:-1px;bottom:1px;width:10px;height:10px;border:2px solid #ffffff;border-radius:999px;background:#22c55e}.permission-user-option-copy{min-width:0}.permission-user-option-copy strong,.permission-user-option-copy small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.permission-user-option-copy strong{color:#172033;font-size:13px;font-weight:850;line-height:1.1}.permission-user-option-copy small{margin-top:3px;color:#64748b;font-size:11px;font-weight:750}.permission-user-option>svg{color:#16a34a;width:16px;height:16px}.user-permission-list{padding-top:0}.role-user-permission-actions{display:flex;justify-content:flex-end;padding:0 10px 10px}.role-user-empty{padding:10px;color:#64748b;font-size:11px;font-weight:750}.success-box.compact-success{margin:0 12px 10px;padding:8px 10px;border:1px solid #bbf7d0;border-radius:8px;background:#f0fdf4;color:#166534;font-size:12px;font-weight:750}.page-permissions-note{position:sticky;bottom:12px;justify-self:center;border:1px solid #fed7aa;border-radius:999px;padding:7px 12px;background:#fff7ed;color:#9a3412;font-size:11px;font-weight:800;box-shadow:0 14px 28px #9a34121f}@media(max-width:1100px){.role-permission-grid,.user-permission-grid{grid-template-columns:1fr}}@media(max-width:700px){.role-user-permission-header{grid-template-columns:1fr}}.task-history-page{display:grid;grid-auto-rows:max-content;align-content:start;gap:12px}.task-history-filter-panel{display:grid;grid-template-columns:auto 140px 140px minmax(180px,240px) minmax(220px,1fr) minmax(180px,240px) auto;align-items:end;gap:10px;padding:12px;border:1px solid #dde5ef;border-radius:8px;background:#fff;box-shadow:0 12px 28px #151f370d}.task-history-filter-title{min-height:32px;display:inline-flex;align-items:center;gap:8px;color:#172033;font-size:13px;font-weight:750}.task-history-filter-title svg{color:#0b55d9}.task-history-filter-panel label{margin-top:0;gap:5px}.task-history-filter-panel label>span{color:#64748b;font-size:11px;font-weight:650}.task-history-filter-panel input,.task-history-filter-panel select{min-height:40px;padding:0 10px;border-color:#d7e0eb;font-size:13px;font-weight:600}.task-history-filter-panel select{padding-right:38px;box-shadow:inset 0 0 0 1px #d7e0eb57}.task-history-filter-actions{display:inline-flex;align-items:center;justify-content:flex-end;gap:8px}.task-history-board{border:1px solid #dde5ef;border-radius:8px;background:#fff;overflow:hidden;box-shadow:0 14px 34px #151f370f}.task-history-board-heading{min-height:48px;padding:10px 14px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #e8eef5}.task-history-board-heading>div{display:inline-flex;align-items:center;gap:8px}.task-history-board-heading svg{color:#0b55d9}.task-history-board-heading strong{color:#172033;font-size:14px}.task-history-board-heading span{min-height:22px;display:inline-flex;align-items:center;padding:0 8px;border-radius:999px;background:#eef3f8;color:#334155;font-size:11px;font-weight:700}.task-history-timeline{display:grid;gap:12px;padding:12px}.task-history-day{display:grid;gap:8px}.task-history-day-heading{display:inline-flex;align-items:center;gap:7px;color:#334155;font-size:12px;font-weight:750}.task-history-day-heading svg{color:#0b55d9}.task-history-items{display:grid;gap:8px}.task-history-item{display:grid;grid-template-columns:30px minmax(0,1fr) auto;align-items:start;gap:10px;padding:10px;border:1px solid #e2e8f0;border-radius:8px;background:#fbfcfe;transition:background-color .14s ease,border-color .14s ease,box-shadow .14s ease}.task-history-item:hover{border-color:#c7ddff;background:#f3f9ff;box-shadow:inset 3px 0 #bfdbfe}.task-history-item-body{min-width:0;display:grid;gap:5px}.task-history-item-top{display:flex;align-items:baseline;gap:8px}.task-history-item-top strong{color:#172033;font-size:13px}.task-history-item-top span{color:#64748b;font-size:11px;font-weight:650}.task-history-item p{margin:0;color:#334155;font-size:13px;line-height:1.35}.task-history-item p b{color:#172033;font-weight:750}.task-history-item p em{display:block;margin-top:2px;color:#64748b;font-size:12px;font-style:normal}.task-history-change{display:flex;flex-wrap:wrap;gap:6px}.task-history-change span,.task-history-action{min-height:22px;display:inline-flex;align-items:center;padding:0 8px;border-radius:999px;background:#eef3f8;color:#334155;font-size:11px;font-weight:650}.task-history-side{display:grid;justify-items:end;gap:6px}.task-history-action{justify-self:end;background:#eef5ff;color:#123a85;white-space:nowrap}.task-history-link{min-height:24px;border:1px solid #dbe3ed;border-radius:8px;padding:0 8px;background:#fff;color:#334155;font-size:11px;font-weight:650}.task-history-link:hover{background:#f1f5ff;color:#1d4ed8}.task-page,.sales-opportunities-page{display:grid;grid-auto-rows:max-content;align-content:start;gap:14px}.sales-opportunities-toolbar{display:flex;align-items:center;justify-content:flex-end}.primary-action-button{min-height:38px;border:0;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:0 14px;background:linear-gradient(135deg,#0737d3,#a30dea);color:#fff;font-size:13px;font-weight:650;box-shadow:0 12px 26px #5032d638}.task-board{border:1px solid #dde5ef;border-radius:8px;background:#fff;overflow:hidden;box-shadow:0 14px 34px #151f370f}.sales-opportunities-board{display:grid;gap:0;border:1px solid #dde5ef;border-radius:8px;background:#fff;overflow:hidden;box-shadow:0 14px 34px #151f370f}.sales-opportunities-summary{min-height:58px;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:9px 14px;border-bottom:1px solid #e8eef5;background:linear-gradient(135deg,rgba(11,85,217,.06),transparent 52%)}.sales-opportunities-summary-title{min-width:0;display:inline-flex;align-items:center;gap:8px;color:#334155;font-size:13px;font-weight:750}.sales-opportunities-summary-title svg{color:#0b55d9}.sales-opportunities-summary-compact{display:inline-flex;align-items:center;gap:7px;color:#64748b;font-size:11px;font-weight:750;text-transform:uppercase;white-space:nowrap}.sales-opportunities-summary-compact strong,.sales-opportunities-summary-compact i{min-width:28px;height:26px;display:inline-grid;place-items:center;border:1px solid #e2e8f0;border-radius:8px;background:#fff;color:#172033;font-style:normal;font-size:14px;font-weight:780;box-shadow:0 6px 14px #0f172a0a}.sales-opportunities-summary-compact strong{background:#eaf2ff;color:#1d4ed8}.sales-opportunities-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(170px,1fr));gap:10px;padding:12px 14px;border-bottom:1px solid #e8eef5;background:#fff}.sales-opportunities-stat-card{min-height:66px;display:grid;grid-template-columns:32px minmax(0,1fr);align-items:center;gap:9px;padding:9px 11px;border:1px solid #e2e8f0;border-radius:8px;background:linear-gradient(180deg,#fff,#f8fafc);box-shadow:0 8px 18px #0f172a0a}.sales-opportunities-stat-card span:not(.task-board-stat-icon){display:block;color:#64748b;font-size:11px;font-weight:650;line-height:1.12}.sales-opportunities-stat-card strong{display:block;color:#172033;font-size:17px;font-weight:780;line-height:1.08;white-space:nowrap}.sales-opportunities-empty{min-height:320px}.sales-opportunities-list{display:grid;gap:8px;padding:10px;background:#fff}.sales-opportunity-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;padding:9px 12px;border:1px solid #e2e8f0;border-radius:8px;background:#fbfcfe;transition:background-color .14s ease,border-color .14s ease,box-shadow .14s ease}.sales-opportunity-card:hover{border-color:#c7ddff;background:#f3f9ff;box-shadow:inset 3px 0 #bfdbfe}.sales-opportunity-card strong{display:block;color:#64748b;font-size:12px;font-weight:750}.sales-opportunity-card h3{margin:2px 0 0;color:#172033;font-size:16px;line-height:1.15}.sales-opportunity-contact-line{display:flex;flex-wrap:wrap;gap:5px 10px;margin-top:5px;color:#64748b;font-size:11px;font-weight:650}.sales-opportunity-card p{margin:4px 0 0;color:#475569;font-size:13px}.sales-opportunity-card-actions{width:138px;display:grid;align-content:start}.sales-opportunity-card-actions .task-edit-button{width:100%}.sales-opportunity-tags{display:flex;flex-wrap:wrap;gap:7px;margin-top:9px}.sales-opportunity-tags span{min-height:24px;display:inline-flex;align-items:center;padding:0 10px;border-radius:999px;background:#f1f5f9;color:#334155;font-size:11px;font-weight:750}.sales-opportunity-age-badge{width:fit-content;min-height:24px;display:inline-flex;align-items:center;justify-content:center;gap:5px;margin-top:8px;padding:0 8px;border-radius:999px;background:#f0e7ff;color:#6d28d9;font-size:11px;font-weight:750;white-space:nowrap}.sales-opportunity-age-badge.is-age-1{background:#fff1f2;color:#be123c}.sales-opportunity-age-badge.is-age-2{background:#ffe4e6;color:#be123c}.sales-opportunity-age-badge.is-age-3{background:#fecdd3;color:#9f1239}.sales-opportunity-age-badge.is-age-4{background:#fda4af;color:#881337}.sales-opportunity-age-badge.is-age-5{background:#e11d48;color:#fff}.sales-opportunity-age-badge svg{width:13px;height:13px}.sales-opportunity-assignees{margin-top:8px}.sales-opportunity-customer-mode{display:inline-flex;align-items:center;gap:6px;padding:4px;border:1px solid #dbe4ef;border-radius:8px;background:#f8fafc}.sales-opportunity-customer-mode button{min-height:32px;border:1px solid transparent;border-radius:7px;padding:0 12px;background:transparent;color:#64748b;font-size:12px;font-weight:750}.sales-opportunity-customer-mode button.is-active{border-color:#a8c4ff;background:#eaf2ff;color:#1d4ed8}.sales-opportunity-modal{width:min(100%,1240px)}.sales-opportunity-modal-grid,.sales-opportunity-contact-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.task-board-summary{border-bottom:1px solid #e8eef5;background:linear-gradient(135deg,rgba(11,85,217,.06),transparent 52%)}.task-board-summary-bar{min-height:58px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px;padding-right:14px}.task-board-summary-toggle{width:100%;min-height:58px;border:0;display:grid;grid-template-columns:minmax(0,1fr) auto 32px;align-items:center;gap:12px;padding:9px 14px;background:transparent;color:#172033;text-align:left}.task-board-summary-title{min-width:0;display:inline-flex;align-items:center;gap:8px;color:#334155;font-size:13px;font-weight:750}.task-board-summary-title svg{color:#0b55d9}.task-board-summary-compact{display:inline-flex;align-items:center;gap:7px;color:#64748b;font-size:11px;font-weight:750;text-transform:uppercase;letter-spacing:0;white-space:nowrap}.task-board-summary-compact strong,.task-board-summary-compact i{min-width:28px;height:26px;display:inline-grid;place-items:center;border:1px solid #e2e8f0;border-radius:8px;background:#fff;color:#172033;font-style:normal;font-size:14px;font-weight:780;box-shadow:0 6px 14px #0f172a0a}.task-board-summary-compact strong{background:#eaf2ff;color:#1d4ed8}.task-board-summary-compact i{background:#f8fafc;color:#334155}.task-board-summary-toggle>svg{justify-self:end;width:28px;height:28px;padding:6px;border-radius:8px;color:#64748b;background:#fff;box-shadow:0 6px 14px #0f172a0a;transition:transform .16s ease}.task-board-summary.is-open .task-board-summary-toggle>svg{transform:rotate(180deg)}.task-board-summary-actions{display:inline-flex;align-items:center;justify-content:flex-end;gap:18px;flex-wrap:nowrap;justify-self:end}.task-board-header{min-height:76px;padding:12px 14px;display:grid;grid-template-columns:1fr auto;align-items:start;gap:12px 16px;border-top:1px solid #e8eef5}.task-board-metrics{display:flex;flex-wrap:wrap;gap:10px}.task-board-stat-card{width:176px;min-height:66px;display:grid;grid-template-columns:32px minmax(0,1fr);align-items:center;gap:9px;padding:9px 11px;border:1px solid #e2e8f0;border-radius:8px;background:linear-gradient(180deg,#fff,#f8fafc);box-shadow:0 8px 18px #0f172a0a}.task-board-stat-icon{width:32px;height:32px;display:inline-grid;place-items:center;border-radius:8px}.task-board-stat-icon.is-blue{background:#eaf2ff;color:#1d4ed8}.task-board-stat-icon.is-slate{background:#eef3f8;color:#334155}.task-board-stat-icon.is-violet{background:#f0ecff;color:#6d28d9}.task-board-stat-icon.is-green{background:#e7f8ef;color:#15803d}.task-board-stat-card span{display:block;color:#64748b;font-size:11px;font-weight:650;line-height:1.12;white-space:normal;overflow-wrap:anywhere}.task-assignee-stat-card span{color:#64748b;font-size:11px;font-weight:650}.task-board-stat-card strong{display:block;color:#172033;font-size:16px;font-weight:780;line-height:1.05;white-space:nowrap}.task-assignee-stats{grid-column:1 / -1;min-width:0;display:grid;gap:10px}.task-assignee-department-group{display:grid;gap:7px}.task-assignee-department-heading{display:inline-flex;align-items:center;gap:7px;color:#334155}.task-assignee-department-heading span{color:#334155;font-size:12px;font-weight:750}.task-assignee-department-heading strong{min-width:20px;height:20px;display:inline-grid;place-items:center;border-radius:999px;background:#eaf2ff;color:#1d4ed8;font-size:11px;font-weight:780;font-variant-numeric:tabular-nums}.task-assignee-department-users{display:flex;flex-wrap:wrap;gap:8px}.task-assignee-stat-card{min-width:156px;min-height:58px;display:grid;grid-template-columns:30px minmax(0,1fr);align-items:center;gap:9px;padding:9px 11px;border:1px solid #e2e8f0;border-radius:8px;background:linear-gradient(180deg,#fff,#fbfcfe);box-shadow:0 8px 18px #0f172a0a}.task-assignee-stat-card strong{min-width:22px;height:22px;display:inline-grid;place-items:center;margin-right:5px;border-radius:999px;background:#eef3f8;color:#172033;font-size:13px;font-weight:780;line-height:1}.task-assignee-stat-card span{display:inline;margin-top:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;vertical-align:middle}.task-assignee-stat-card.is-empty svg{color:#15803d}.task-assignee-stat-card.is-empty strong{background:#e7f8ef;color:#15803d}.task-closed-toggle{min-height:32px;flex:0 0 auto;display:inline-flex;align-items:center;gap:8px;padding:0;border:0;background:transparent;color:#172033;cursor:pointer;-webkit-user-select:none;user-select:none;justify-self:end;white-space:nowrap}.task-mine-toggle input:checked+span{background:#7c3aed}.task-mine-toggle strong{background:#f4efff;color:#6f3bd6}.task-closed-toggle input{position:absolute;opacity:0;pointer-events:none}.task-closed-toggle>span{position:relative;width:var(--switch-width);height:var(--switch-height);border-radius:999px;background:#cbd5e1;transition:background .14s ease}.task-closed-toggle>span:after{content:"";position:absolute;top:var(--switch-knob-offset);left:var(--switch-knob-offset);width:var(--switch-knob-size);height:var(--switch-knob-size);border-radius:999px;background:#fff;box-shadow:0 1px 3px #0f172a38;transition:transform .14s ease}.task-closed-toggle input:checked+span{background:#2d9bf0}.task-closed-toggle input:checked+span:after{transform:translate(var(--switch-knob-travel))}.task-closed-toggle small{color:#172033;font-size:13px;font-weight:750;white-space:nowrap}.task-closed-toggle strong{min-width:19px;height:19px;display:inline-grid;place-items:center;margin:0;border-radius:999px;background:#eef3f8;color:#334155;font-size:10px;font-weight:750;font-variant-numeric:tabular-nums}.task-closed-toggle.task-mine-toggle input:checked+span{background:#7c3aed}.task-closed-toggle.task-mine-toggle strong{background:#f4efff;color:#6f3bd6}.task-list{display:grid;gap:8px;padding:10px}.task-card{display:grid;gap:6px;padding:9px 12px;border:1px solid #e2e8f0;border-radius:8px;background:#fbfcfe;transition:background-color .14s ease,border-color .14s ease,box-shadow .14s ease}.task-card:hover{border-color:#c7ddff;background:#f3f9ff;box-shadow:inset 3px 0 #bfdbfe}.task-card-top{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:10px}.task-card-main{min-width:0;display:grid;align-content:start;gap:5px}.task-card-actions{display:grid;grid-template-columns:138px 32px;align-items:start;gap:6px 10px}.task-card-action-stack{width:138px;display:grid;gap:4px}.task-card-action-stack .task-edit-button,.task-card-action-stack .task-detail-button,.task-card-action-stack .task-complete-button{width:100%}.task-duration-badge{width:fit-content;max-width:100%;min-height:24px;grid-column:1 / -1;display:inline-flex;align-items:center;justify-content:center;gap:5px;padding:0 8px;border-radius:999px;background:#f0ecff;color:#5b21b6;font-size:11px;font-weight:700;white-space:nowrap;justify-self:end}.task-duration-badge.is-closed{background:#e7f8ef;color:#15803d}.task-duration-badge.is-overdue-1{background:#fff1f2;color:#be123c}.task-duration-badge.is-overdue-2{background:#ffe4e6;color:#be123c}.task-duration-badge.is-overdue-3{background:#fecdd3;color:#9f1239}.task-duration-badge.is-overdue-4{background:#fda4af;color:#881337}.task-duration-badge.is-overdue-5{background:#fb7185;color:#fff}.task-duration-badge.is-overdue-6{background:#e11d48;color:#fff}.task-duration-badge svg{width:13px;height:13px}.task-edit-button{min-height:29px;border:1px solid #dbe3ed;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:0 9px;background:#fff;color:#334155;font-size:12px;font-weight:650}.task-edit-button:hover{background:#f1f5ff;color:#1d4ed8}.task-delete-button{width:32px;min-height:32px;border:1px solid #f1c9d0;border-radius:8px;display:inline-grid;place-items:center;padding:0;background:#fff5f6;color:#be123c}.task-delete-button:hover{background:#ffe4e8;border-color:#f4a8b6;color:#9f1239}.task-detail-button{min-height:29px;border:1px solid #b9d1ff;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:0 10px;background:#eef5ff;color:#123a85;font-size:12px;font-weight:750}.task-detail-button:hover{border-color:#8fb4ff;background:#dceaff;color:#0f2f6f}.task-complete-button{min-height:29px;border:1px solid #dbe3ed;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:0 10px;background:#fff;color:#334155;font-size:12px;font-weight:750}.task-complete-button:hover{border-color:#86efac;background:#dcfce7;color:#166534}.task-complete-button:disabled{opacity:.65;cursor:not-allowed}.task-customer{display:block;margin-bottom:3px;color:#374151;font-size:12px;font-weight:700;letter-spacing:.01em}.task-card h3{margin:0;color:#4b5563;font-size:15px;font-weight:600}.task-card p{margin:3px 0;color:#475569;font-size:13px;line-height:1.32}.task-card small{color:#64748b;font-size:11px}.task-meta{display:flex;flex-wrap:wrap;gap:5px}.task-meta span{min-height:22px;display:inline-flex;align-items:center;gap:5px;padding:0 8px;border-radius:999px;background:#eef3f8;color:#334155;font-size:11px;font-weight:600}.task-meta .task-meta-department{background:#eef3f8;color:#334155}.task-meta .priority-low{background:#e8f7ef;color:#166534}.task-meta .priority-normal{background:#eaf2ff;color:#1d4ed8}.task-meta .priority-high{background:#fff4dc;color:#a16207}.task-meta .priority-urgent{background:#ffe8ec;color:#be123c}.task-meta .status-open{background:#e7f8ef;color:#15803d}.task-meta .status-closed{background:#e5e7eb;color:#475569}.task-meta .task-meta-checklist{background:#f0ecff;color:#6d28d9}.task-meta .task-meta-attachment{background:#ecfeff;color:#0e7490}.task-meta .task-meta-unread-comments{background:#fef2f2;color:#b91c1c}.task-meta .task-meta-date{background:#fff7ed;color:#c2410c}.task-assignees{display:flex;flex-wrap:wrap;gap:5px}.assignee-pill{min-height:24px;display:inline-flex;align-items:center;gap:5px;padding:1px 8px 1px 3px;border:1px solid #dde6f0;border-radius:999px;background:#fff;color:#334155;font-size:11px;font-weight:600}.assignee-pill .avatar-sm{width:20px;height:20px}.empty-state{min-height:240px;display:grid;place-items:center;align-content:center;gap:10px;color:#64748b;text-align:center}.empty-state strong{color:#172033;font-size:15px}.modal-backdrop{position:fixed;inset:0;z-index:30;display:grid;place-items:center;padding:16px;background:#0f172a6b}.confirm-backdrop{position:fixed;inset:0;z-index:45;display:grid;place-items:center;padding:18px;background:#0f172a7a}.confirm-dialog{width:min(100%,420px);display:grid;grid-template-columns:48px minmax(0,1fr);gap:14px;padding:20px;border:1px solid #fecdd3;border-radius:8px;background:#fff;box-shadow:0 24px 80px #0f172a47}.confirm-icon{width:44px;height:44px;display:grid;place-items:center;border-radius:8px;background:#fff1f2;color:#be123c}.confirm-dialog h3{margin:0;color:#172033;font-size:18px}.confirm-dialog p{margin:7px 0 0;color:#64748b;font-size:13px;line-height:1.45}.confirm-dialog p strong{color:#334155}.confirm-actions{grid-column:1 / -1;display:flex;justify-content:flex-end;gap:8px;margin-top:4px}.confirm-delete-button{min-height:36px;border:0;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;padding:0 14px;background:#be123c;color:#fff;font-size:12px;font-weight:750}.confirm-delete-button:hover{background:#9f1239}.confirm-delete-button:disabled,.confirm-actions button:disabled{opacity:.65;cursor:not-allowed}.task-modal{width:min(100%,560px);max-height:calc(100vh - 32px);overflow:hidden;border:1px solid #dde5ef;border-radius:8px;background:#fff;color:#243044;padding:24px;box-shadow:0 28px 90px #0f172a47}.task-modal-wide{width:min(100%,1240px);height:min(760px,calc(100vh - 32px));display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,340px);grid-template-rows:auto minmax(0,1fr);align-items:stretch;gap:16px 20px;padding:22px 24px}.task-modal-wide>:not(.task-comments-panel){grid-column:1}.task-detail-panel{grid-column:1;grid-row:2;min-height:0;display:grid;align-content:start;overflow-y:auto;padding-right:6px}.task-modal label{margin-top:10px;color:#475569;font-size:12px;font-weight:600}.task-modal input,.task-modal select,.task-modal textarea{min-height:38px;padding:8px 10px;color:#243044;font-size:12.5px;font-weight:500;line-height:1.35}.task-modal select{min-height:40px;padding-right:38px;border-color:#d7e0eb;font-weight:500;box-shadow:inset 0 0 0 1px #d7e0eb57}.task-title-field input{min-height:38px;border:1px solid #cbd5e1;border-radius:8px;padding:10px 12px;color:#4b5563;font-size:12.5px;font-weight:600}.task-title-field input:focus{outline:3px solid rgba(84,72,220,.18);border-color:#5a40df}.task-field-wide textarea{min-height:82px;max-height:120px;line-height:1.42}.task-field-wide{grid-column:1 / -1}.customer-search-field{position:relative;z-index:2}.customer-search-box{position:relative}.customer-search-box svg{position:absolute;left:13px;top:50%;transform:translateY(-50%);color:#64748b;pointer-events:none}.customer-search-box input{padding-left:42px;font-weight:600}.customer-search-results{position:absolute;left:0;right:0;top:calc(100% + 6px);z-index:20;max-height:270px;overflow:auto;border:1px solid #cbd5e1;border-radius:8px;background:#fff;box-shadow:0 18px 40px #0f172a29}.customer-search-results button,.customer-search-empty{width:100%;min-height:42px;border:0;border-bottom:1px solid #edf2f7;display:grid;gap:2px;padding:9px 12px;background:#fff;color:#1e293b;text-align:left}.customer-search-results button:hover{background:#f1f5ff}.customer-search-results button strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:600}.customer-search-results button span,.customer-search-empty{color:#64748b;font-size:11px;font-weight:600}.customer-search-results button:last-child{border-bottom:0}.task-modal-actions{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0 4px}.task-modal-actions span,.task-modal-actions button{min-height:34px;border:1px solid #dbe3ed;display:inline-flex;align-items:center;gap:7px;padding:0 12px;border-radius:8px;background:#fff;color:#4b5563;font-size:12px;font-weight:600}.task-modal-actions button:hover{background:#f1f5ff;color:#1d4ed8}.task-modal-actions button.is-active{border-color:#b8c9ff;background:#eef3ff;color:#1d4ed8}.task-modal-readonly input,.task-modal-readonly textarea{opacity:1;background:#f8fafc;color:#1f2937;cursor:default}.task-modal-readonly select{opacity:1;background-color:#f8fafc;color:#1f2937;cursor:default}.task-modal-readonly textarea{resize:none}.task-modal-readonly .task-modal-actions span{background:#eef3f8;color:#334155;font-weight:600}.task-comments-panel{grid-column:2;grid-row:1 / 3;height:100%;min-height:0;display:grid;grid-template-rows:auto auto minmax(0,1fr);align-content:stretch;gap:14px;padding-left:20px;border-left:1px solid #e2e8f0;overflow:hidden}.task-comments-heading{min-height:36px;display:flex;align-items:center;justify-content:space-between;gap:12px;color:#242936}.task-comments-heading>div{min-width:0;display:inline-flex;align-items:center;gap:10px}.task-comments-heading h3{margin:0;font-size:14px;font-weight:700}.task-comments-heading span{min-width:28px;min-height:24px;display:inline-grid;place-items:center;border-radius:999px;background:#eef3f8;color:#475569;font-size:11px;font-weight:650}.comment-composer{display:grid;grid-template-columns:30px minmax(0,1fr);align-items:start;gap:10px}.comment-composer textarea{min-height:76px;resize:vertical;border-color:#d7e0eb;font-size:12.5px;box-shadow:0 8px 18px #0f172a0f}.task-modal-readonly .comment-composer textarea:not(:disabled){resize:vertical;background:#fff;cursor:text}.comment-composer textarea:disabled{opacity:1;background:#f8fafc;color:#64748b}.comment-composer-actions{min-height:36px;display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:8px}.comment-composer-actions>span{color:#94a3b8;font-size:10px;font-weight:600}.comment-composer-actions .icon-text-button{min-height:32px;padding:0 11px;font-size:11px;font-weight:600}.comment-list{min-height:0;display:grid;align-content:start;gap:12px;overflow-y:auto;padding:4px 4px 2px 0}.comment-item{display:grid;grid-template-columns:30px minmax(0,1fr);align-items:start;gap:10px}.comment-meta{display:flex;flex-wrap:wrap;align-items:baseline;gap:5px 8px}.comment-meta strong{color:#242936;font-size:12px;font-weight:600}.comment-meta span{color:#64748b;font-size:10px;font-weight:600}.comment-item p{margin:5px 0 0;padding:9px 10px;border:1px solid #e2e8f0;border-radius:8px;background:#fff;color:#334155;font-size:12px;line-height:1.45;white-space:pre-wrap}.comment-empty{min-height:72px;display:grid;place-items:center;border:1px dashed #d7e0eb;border-radius:8px;background:#f8fafc;color:#64748b;font-size:12px;font-weight:600;text-align:center}.member-picker{display:grid;gap:10px;margin-top:10px;padding:12px;border:1px solid #dbe4ef;border-radius:8px;background:#f8fafc}.member-picker-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.member-picker-heading strong{color:#172033;font-size:13px;font-weight:600}.member-picker-heading span{color:#64748b;font-size:11px;font-weight:600}.department-quick-assign{display:flex;flex-wrap:wrap;gap:7px}.department-quick-assign button{min-height:32px;border:1px solid #d8e2ee;border-radius:999px;display:inline-flex;align-items:center;gap:6px;padding:0 8px 0 10px;background:#fff;color:#334155;font-size:11px;font-weight:600}.department-quick-assign button:hover{border-color:#9bb8ff;background:#eef4ff;color:#1d4ed8}.department-quick-assign button svg{color:#0b55d9;stroke-width:2.2}.department-quick-assign button strong{min-width:20px;height:20px;display:inline-grid;place-items:center;border-radius:999px;background:#eef3f8;color:#475569;font-size:10px;font-weight:650}.member-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:8px}.member-row{min-height:46px;border:1px solid #e2e8f0;border-radius:8px;display:grid;grid-template-columns:30px minmax(0,1fr) auto;align-items:center;gap:9px;padding:7px;background:#fff;color:#263247;text-align:left}.member-row:hover{border-color:#b8c9ff;background:#f4f7ff}.member-row.selected{border-color:#0b55d9;background:#eef4ff;box-shadow:inset 3px 0 #0b55d9}.member-row>span{min-width:0;display:grid;gap:1px}.member-row strong,.member-row small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.member-row strong{color:#172033;font-size:12px;font-weight:600}.member-row small{color:#64748b;font-size:11px}.member-row i{min-width:48px;padding:4px 7px;border-radius:999px;background:#eef3f8;color:#64748b;font-size:10px;font-style:normal;font-weight:600;text-align:center}.member-row.selected i{background:#0b55d9;color:#fff}.member-row:disabled{opacity:1;cursor:default}.member-row:disabled:hover{border-color:#e2e8f0;background:#fff}.member-row.selected:disabled:hover{border-color:#0b55d9;background:#eef4ff}.member-empty{min-height:42px;display:grid;place-items:center;color:#64748b;font-size:12px;font-weight:600}.hidden-file-input{display:none}.attachment-preview{display:grid;gap:8px;margin-top:8px;padding:10px;border:1px solid #e2e8f0;border-radius:8px;background:#f8fafc}.attachment-preview-heading{display:inline-flex;align-items:center;gap:8px;color:#202532}.attachment-preview-heading strong{font-size:13px;font-weight:600}.attachment-row{min-height:38px;display:grid;grid-template-columns:18px minmax(0,1fr) auto 32px;align-items:center;gap:8px;padding:6px 8px;border:1px solid #e5ebf3;border-radius:8px;background:#fff}.attachment-row-link{color:inherit;text-decoration:none;cursor:pointer}.attachment-row-link:hover{border-color:#b9d1ff;background:#f1f5ff}.attachment-row-link:hover p{color:#1d4ed8}.attachment-row p{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:0;color:#263247;font-size:12px;font-weight:600}.attachment-row span{color:#64748b;font-size:11px;font-weight:600}.task-modal-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.checklist-builder{margin-top:12px;padding-top:4px}.checklist-builder-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#202532}.checklist-builder-heading>div{display:inline-flex;align-items:center;gap:9px}.checklist-builder-heading strong{font-size:15px;font-weight:650}.checklist-builder-heading span{color:#64748b;font-size:12px;font-weight:600}.checklist-preview{display:grid;gap:7px;margin-top:8px}.checklist-row{min-height:44px;display:grid;grid-template-columns:24px minmax(0,1fr) 34px;align-items:start;gap:9px;padding:7px;border:1px solid #e5ebf3;border-radius:8px;background:#f8fafc}.checklist-box{width:20px;height:20px;border:1px solid #94a3b8;border-radius:4px;display:inline-grid;place-items:center;background:#fff;color:#16a34a;padding:0}.checklist-box:disabled{cursor:default}.checklist-row.completed{background:#f2fbf5;border-color:#ccebd5}.checklist-row.completed .checklist-box{border-color:#16a34a;background:#dcfce7}.checklist-row p{margin:0;color:#263247;font-size:12.5px;font-weight:500}.checklist-row.completed p{color:#64748b;text-decoration:line-through}.task-modal-readonly .checklist-row{grid-template-columns:24px minmax(0,1fr)}.checklist-content{display:grid;gap:4px}.checklist-dates{display:flex;flex-wrap:wrap;gap:6px 12px;color:#64748b;font-size:11px;font-weight:600}.icon-button.subtle{width:32px;min-height:32px;background:transparent;color:#64748b}.checklist-add-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;margin-top:8px}.checklist-add-row input{min-height:38px}.modal-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:4px}.modal-heading h2{margin:0;color:#172033;font-size:18px;font-weight:700}.modal-heading-actions{display:inline-flex;align-items:center;gap:8px}.task-close-button,.task-header-save-button{min-height:36px;border:0;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:0 12px;background:linear-gradient(135deg,#0737d3,#a30dea);color:#fff;font-size:12px;font-weight:600}.task-header-save-button{background:linear-gradient(135deg,#0737d3,#a30dea);box-shadow:0 12px 26px #5032d638}.task-header-save-button:hover{background:linear-gradient(135deg,#123fe0,#b012f4);color:#fff}.task-close-button{background:linear-gradient(135deg,#dc2626,#e11d48);box-shadow:0 12px 26px #dc262638}.task-close-button:hover{background:linear-gradient(135deg,#b91c1c,#be123c);color:#fff}.task-header-save-button:disabled{opacity:.68;cursor:not-allowed}textarea{width:100%;resize:vertical;border:1px solid #cbd5e1;border-radius:8px;padding:11px 12px;background:#fff;color:#18202f;font:inherit}textarea:focus{outline:3px solid rgba(84,72,220,.18);border-color:#5a40df}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}@media(max-width:720px){.task-board-summary-bar{grid-template-columns:1fr;gap:0;padding-right:0}.task-board-summary-toggle{grid-template-columns:minmax(0,1fr) 24px}.task-board-summary-compact{grid-column:1 / -1;justify-self:start}.task-board-header{grid-template-columns:1fr;align-items:stretch}.task-board-metrics,.task-assignee-department-users{justify-content:flex-start}.task-closed-toggle{justify-self:start;margin:0 14px 10px}.task-board-summary-actions{justify-self:start;flex-wrap:wrap;gap:10px 14px;margin:0 14px 10px}.task-board-summary-actions .task-closed-toggle{margin:0}.task-card-top{grid-template-columns:1fr}.task-card-actions,.task-card-action-stack,.task-detail-button{width:100%}.task-edit-button{justify-content:center}.task-modal-wide{grid-template-columns:1fr;height:auto;overflow:auto;padding:20px}.task-modal-wide>:not(.task-comments-panel),.task-comments-panel{grid-column:1}.task-detail-panel{grid-row:auto;overflow:visible;padding-right:0}.task-comments-panel{grid-row:auto;height:auto;overflow:visible;min-height:auto;padding-left:0;padding-top:18px;border-left:0;border-top:1px solid #e2e8f0}.comment-list{max-height:320px}.task-modal-grid,.checklist-add-row{grid-template-columns:1fr}.task-title-field input{font-size:20px}}.mobile-only{display:none}@media(max-width:920px){.login-page{grid-template-columns:1fr}.login-hero,.login-hero-overlay,.login-side{min-height:auto}.login-hero-overlay{padding:28px 22px 34px;gap:28px;background:linear-gradient(90deg,#02081ef5,#030b27bd),linear-gradient(180deg,#0307191f,#030719d1)}.login-hero-logo{width:max-content;max-width:min(250px,78vw)}.login-hero-logo img{width:140px}.login-hero-copy h1{font-size:30px}.login-benefits{grid-template-columns:1fr;gap:14px}.login-benefit{grid-template-columns:44px minmax(0,1fr)}.benefit-icon{width:44px;height:44px}.login-mobile-platforms{gap:8px}.login-side-inner{padding:28px 18px 36px}.login-panel{padding:24px}.login-footer{margin-top:28px}.app-shell{grid-template-columns:1fr}.sidebar{position:fixed;inset:0 auto 0 0;width:236px;transform:translate(-100%);transition:transform .18s ease;z-index:10}.sidebar-open{transform:translate(0)}.mobile-only{display:inline-flex}.two-column,.metric-grid,.dashboard-profitability-strip,.dashboard-summary-card-grid,.dashboard-weekly-card-grid,.dashboard-weekly-panel-grid,.dashboard-secondary-grid,.dashboard-card-grid,.dashboard-lower-grid,.sales-summary,.sales-layout,.filter-strip,.orders-bottom-grid,.current-account-summary,.current-account-chart-grid,.form-grid,.task-history-filter-panel{grid-template-columns:1fr}.dashboard-monthly-sales-panel{grid-column:auto}.users-admin-page .user-form,.smtp-settings-shell,.smtp-form-grid,.app-health-summary{grid-template-columns:1fr}.app-health-groups{column-count:1}.sales-dashboard-header{align-items:stretch;flex-direction:column}.sales-period{width:100%}.content-area{padding:18px}.topbar{min-height:68px;padding:10px 16px;flex-wrap:wrap}.topbar-actions{width:100%;justify-content:flex-end}.task-history-item{grid-template-columns:30px minmax(0,1fr)}.task-history-action{grid-column:2;justify-self:start}.task-history-side{grid-column:2;justify-items:start}.exchange-rates{min-height:38px;font-size:11px}}
