.connection-recovery{position:fixed;z-index:15000;bottom:20px;left:50%;transform:translate(-50%);max-width:calc(100% - 32px);display:flex;gap:16px;align-items:center;padding:16px 20px;border:1px solid #e5b34a;border-radius:12px;background:#fff9e8;color:#27365f;box-shadow:0 8px 28px #27365f24}:root{--g:#e52d38;--d:#303e71;--bg:#f5f6fb;--line:#e4e7f0;--mut:#737c96}*{box-sizing:border-box}body{margin:0;font:14px Arial,sans-serif;background:var(--bg);color:#273353}button,input,select,textarea{font:inherit}button{cursor:pointer}.layout{display:flex;min-height:100vh}aside{width:278px;background:var(--d);color:#fff;padding:22px 13px;flex-shrink:0}.brand{font-size:23px;font-weight:700;margin:5px 12px 28px}.brand small{display:block;font-size:11px;font-weight:400;color:#cbd1ed;margin-top:5px}nav{display:flex;flex-direction:column;gap:8px}nav .nav-link{display:block;width:100%;text-align:left;border:0;border-radius:9px;background:transparent;color:#e5e8f7;padding:12px;margin:2px 0}nav .nav-link.active,nav .nav-link:hover{background:#fff;color:var(--d)}.nav-group{border:1px solid rgba(255,255,255,.1);border-radius:14px;background:#ffffff0a;overflow:hidden}.nav-group summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 14px;color:#fff;font-weight:700;cursor:pointer;user-select:none}.nav-group summary::-webkit-details-marker{display:none}.nav-group summary:hover{background:#ffffff0d}.nav-group summary:after{content:"▾";font-size:14px;color:#cdd5f7;transition:transform .18s ease}.nav-group[open] summary:after{transform:rotate(180deg)}.nav-sub{padding:0 8px 10px}.nav-sub .nav-link{padding:11px 12px 11px 18px;font-size:15px;color:#e5e8f7}.nav-section-link{display:block;width:100%;text-align:left;border:0;border-radius:10px;background:transparent;color:#fff;padding:13px 14px;font-weight:700}.nav-section-link.active,.nav-section-link:hover{background:#fff;color:var(--d)}main{flex:1;min-width:0}header{background:#fff;border-bottom:1px solid var(--line);padding:20px 28px;font-weight:700}.content{padding:28px;max-width:1450px;margin:auto}.heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:22px;flex-wrap:wrap}h1{font-size:25px;margin:0 0 5px}h2{font-size:16px;margin:0 0 18px}.muted{color:var(--mut);font-size:12px}.btn{border:0;border-radius:8px;padding:10px 14px;background:var(--g);color:#fff}.btn.secondary{background:#f1f2fa;color:var(--g)}.btn.danger{background:#ffeded;color:#b33}.btn.small{padding:6px 9px;font-size:12px}.cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:20px}.card,.panel{background:#fff;border:1px solid var(--line);border-radius:13px;padding:20px;box-shadow:0 6px 22px #303e7110}.card strong{display:block;font-size:23px;margin:14px 0 7px}.panel{margin-bottom:18px}.green{color:#227a65}.red{color:#c54848}.toolbar{display:flex;gap:10px;justify-content:space-between;flex-wrap:wrap;margin-bottom:15px}input,select,textarea{padding:10px;border:1px solid #d6dbea;border-radius:8px;background:#fff;max-width:100%}textarea{min-height:70px}table{border-collapse:collapse;width:100%;min-width:650px}th,td{text-align:left;padding:12px;border-bottom:1px solid #edf0f7;font-size:12px;vertical-align:top}th{color:var(--mut);font-size:11px}tr:last-child td{border-bottom:0}.scroll{overflow:auto}.pill{border-radius:20px;padding:5px 8px;background:#edf0fa;color:var(--g);display:inline-block;font-size:11px}.pill.bad{background:#fff0f1;color:#d12e3d}.actions{white-space:nowrap}.actions button{margin:2px}.modal-back{display:none;position:fixed;inset:0;background:#071c12a8;align-items:center;justify-content:center;padding:12px;z-index:10}.modal-back.open{display:flex}.modal{background:#fff;border-radius:13px;width:100%;max-width:540px;max-height:94vh;overflow:auto;padding:23px}.field{margin:13px 0}.field label{display:block;font-size:12px;font-weight:700;margin-bottom:6px}.field input,.field select,.field textarea{width:100%}.modal-footer{display:flex;justify-content:flex-end;gap:8px;margin-top:18px}.modal-head{position:sticky;top:-23px;z-index:20;display:flex;align-items:center;justify-content:space-between;gap:16px;margin:-23px -23px 20px;padding:16px 20px 16px 23px;background:#fff;border-bottom:1px solid var(--line);border-radius:13px 13px 0 0}.modal-head h2{margin:0;min-width:0;line-height:1.35}.modal-close-x{display:grid;place-items:center;flex:0 0 40px;width:40px;height:40px;padding:0;border:1px solid #e1e5f0;border-radius:10px;background:#f1f2fa;color:#303e71;font-size:27px;font-weight:400;line-height:1;cursor:pointer;transition:color .18s ease,background .18s ease,border-color .18s ease,transform .18s ease}.modal-close-x:hover,.modal-close-x:focus-visible{background:#e52d38;border-color:#e52d38;color:#fff;transform:scale(1.06)}.modal-close-x:focus-visible{outline:3px solid rgba(229,45,56,.25);outline-offset:2px}.modal-close-x:active{transform:scale(.98)}.note{background:#f0f2fa;border-radius:9px;padding:12px;font-size:12px;color:#303e71;margin-bottom:16px;line-height:1.6}.flex{display:flex;gap:12px;flex-wrap:wrap;align-items:end}.flex label{display:grid;gap:6px;font-size:12px}.empty{text-align:center;padding:28px;color:var(--mut)}@media(max-width:1000px){.cards{grid-template-columns:repeat(2,1fr)}}@media(max-width:700px){.layout{display:block}aside{width:100%;padding:12px}nav{display:flex;overflow:auto;gap:4px}nav button{width:auto;white-space:nowrap;padding:9px}.brand{margin:3px 5px 12px;font-size:19px}.brand small{display:none}.content{padding:15px}header{padding:13px}.cards{gap:9px}.card{padding:13px}.card strong{font-size:17px}}.brand{display:flex;align-items:center;gap:12px;margin:0 5px 22px;font-size:20px}.brand .pea-logo{width:69px;height:69px;object-fit:contain;background:#fff;border-radius:14px;padding:5px;flex-shrink:0}.brand-title{min-width:0}.brand small{font-size:10px;letter-spacing:.3px;line-height:1.45}.btn{font-weight:600}.btn:hover{filter:brightness(.95)}nav .nav-link.active,nav .nav-link:hover,nav .nav-section-link.active,nav .nav-section-link:hover{border-left:4px solid #e52d38}.card{border-top:3px solid #303e71}.card:nth-child(4n+1){border-top-color:#e52d38}.search-filter-bar{background:#fff;border:1px solid var(--line);border-radius:12px;padding:14px 16px;display:flex;gap:12px;align-items:end;flex-wrap:wrap;margin-bottom:18px;box-shadow:0 3px 14px #303e7108}.search-filter-bar label{display:flex;flex-direction:column;gap:5px;color:var(--mut);font-size:11px;font-weight:600}.search-filter-bar input{min-width:230px;width:min(320px,75vw)}.search-filter-bar select{min-width:180px;max-width:280px}.search-filter-bar .filter-counter{margin-left:auto;font-size:12px;color:var(--mut);padding-bottom:9px}.search-filter-bar .reset-filters{background:#f2f3fa;color:#303e71}.filter-hidden{display:none!important}.filter-empty{padding:18px;color:var(--mut);font-size:12px;display:none}.filter-empty.visible{display:block}.panel:has(>.scroll) .toolbar{display:none}.panel:has(>.scroll) .toolbar input{display:none}@media(max-width:900px){aside{width:250px}}@media(max-width:700px){.layout{display:block}aside{width:100%;padding:12px}.brand{margin:0 3px 12px}.brand .pea-logo{width:55px;height:55px}.search-filter-bar{padding:12px}.search-filter-bar input,.search-filter-bar select{min-width:0;width:100%;max-width:none}.search-filter-bar label{width:100%}nav{gap:6px}.nav-group summary{padding:10px 12px}.nav-sub{padding:0 6px 8px}.nav-sub .nav-link,.nav-section-link{font-size:14px;padding:10px 12px}.search-filter-bar .filter-counter{margin-left:0}}.dash-controls{display:flex;gap:12px;align-items:end;flex-wrap:wrap}.dash-controls label{display:flex;flex-direction:column;gap:6px;font-size:12px;color:#67728d}.dash-chart-head{display:flex;justify-content:space-between;gap:16px;align-items:center;flex-wrap:wrap;margin-bottom:12px}.chart-scroll{overflow-x:auto}.money-svg{display:block;width:100%;min-width:550px;height:auto;max-height:400px}.chart-legend{display:flex;gap:22px;flex-wrap:wrap;margin:14px 0}.chart-legend span{display:flex;align-items:center;gap:8px;font-size:12px;color:#5c6682}.chart-legend b{display:inline-block;width:12px;height:12px;border-radius:3px}.metric-picks{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.metric-picks label{display:flex;align-items:center;gap:6px;font-size:12px;color:#5c6682;background:#f5f6fb;border:1px solid var(--line);padding:8px 10px;border-radius:999px}.metric-picks input{margin:0}.contracts-hint{color:#737c96;font-size:12px;margin-top:9px}.panel .scroll table tbody tr:hover{background:#f9faff}.actions{display:flex;gap:3px;flex-wrap:wrap}.firm-card{border-top:4px solid #e52d38}.firm-card strong,.firm-row td:first-child{color:#303e71}.company-select{min-width:160px}.modal.client-onboarding{max-width:850px}.onboarding-title{margin:22px 0 12px;font-size:15px;color:#303e71;border-bottom:1px solid #e4e7f0;padding-bottom:10px}.onboarding-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 14px}.onboarding-grid .field{min-width:0}.onboarding-grid .field select,.onboarding-grid .field input{width:100%}.onboarding-summary{padding:13px 15px;background:#f2f4fb;border-radius:9px;margin:10px 0;color:#303e71;font-size:12px;line-height:1.7}.onboarding-strong{font-weight:700;font-size:17px}.onboarding-note{color:#66718c;font-size:12px;line-height:1.6;margin-bottom:12px}.onboarding-edit-context{padding:14px 16px;background:#f5f6fb;border:1px solid #e4e7f0;border-radius:10px;margin:14px 0 10px}.onboarding-edit-context select{width:100%;margin-top:7px}.onboarding-edit-context label{font-weight:700;font-size:12px}.onboarding-edit-warning{font-size:12px;color:#6d7894;line-height:1.5;margin-top:9px}.onboarding-summary b{color:#303e71}@media(max-width:600px){.onboarding-grid{grid-template-columns:1fr}}.client-name-with-note{display:inline-flex;align-items:center;gap:7px;flex-wrap:wrap;max-width:100%}.client-note-badge{display:inline-flex;align-items:center;gap:5px;padding:5px 8px;border:1px solid #ecd19a;border-radius:7px;background:#fff5de;color:#95630c;font-size:11px;font-weight:700;line-height:1.2;white-space:nowrap;cursor:pointer;transition:background .15s,border-color .15s}.client-note-badge:hover,.client-note-badge[aria-expanded=true]{background:#ffe9bd;border-color:#d9af62}.client-note-badge:focus-visible{outline:2px solid #303e71;outline-offset:2px}.client-note-badge svg{width:14px;height:14px;flex-shrink:0;stroke:currentColor}.client-note-popover{position:fixed;z-index:2100;width:min(365px,calc(100vw - 24px));max-height:min(400px,65vh);overflow-y:auto;background:#fff;border:1px solid #eddbb5;border-radius:12px;box-shadow:0 15px 45px #1c274633;padding:15px 16px;color:#273353}.client-note-popover[hidden]{display:none}.client-note-popover-header{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.client-note-popover-title{font-size:14px;font-weight:700;color:#95630c;display:flex;gap:7px;align-items:center}.client-note-popover-close{background:#f2f3f9;color:#303e71;border:0;border-radius:6px;padding:2px 8px;font-size:21px;line-height:1.35}.client-note-popover-owner{color:#737c96;font-size:12px;margin-top:5px}.client-note-popover-text{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.55;padding-top:13px}.onboarding-payment-help{background:#fff8e7;border:1px solid #f2dea7;color:#795b19;padding:11px 13px;border-radius:9px;font-size:12px;line-height:1.6;margin:5px 0 14px;grid-column:1/-1}.onboarding-payment-help.is-active{background:#ecf7f3;color:#286650;border-color:#c8e5d8}.onboarding-payment-help .btn{margin:7px 0 2px;padding:8px 12px;font-size:12px}.onboarding-grid select:disabled,.onboarding-grid input:disabled{background:#f2f3f7;color:#8790a6;cursor:not-allowed}.panel .scroll table tr.debtor-row>td:not(:last-child),.panel .scroll table tr.debtor-row>td:not(:last-child) *{color:#c92c3d!important}.panel .scroll table tr.debtor-row>td:not(:last-child) .client-note-badge,.panel .scroll table tr.debtor-row>td:not(:last-child) .client-note-badge *{color:#95630c!important}.pill.completed,.panel .scroll table tr.debtor-row>td:not(:last-child) .pill.completed{color:#177648!important;background:#e3f7ec;border:1px solid #b7e5ca;font-weight:700}.search-filter-bar input[type=date],.search-filter-bar input[type=month]{min-width:135px;width:155px;max-width:165px}.search-filter-bar select#groupFilter{min-width:185px;max-width:235px}.search-filter-bar input[type=search]{min-width:190px;width:min(300px,68vw)}@media(max-width:720px){.search-filter-bar input[type=date]{min-width:130px;max-width:160px}}.pill.paused,.panel .scroll table tr.paused-row .pill.paused{background:#fff1d7!important;color:#a66100!important;border:1px solid #f4d299;font-weight:700}.panel .scroll table tr.paused-row:not(.filter-hidden)>td:not(:last-child),.panel .scroll table tr.paused-row:not(.filter-hidden)>td:not(:last-child) *{color:#bd7409!important}.panel .scroll table tr.paused-row>td.debt-cell,.panel .scroll table tr.paused-row>td.debt-cell *{color:#c92c3d!important}.panel .scroll table tr.paused-row .client-note-badge,.panel .scroll table tr.paused-row .client-note-badge *{color:#95630c!important}.panel .scroll table tr.paused-row .pill.completed{color:#177648!important}.pill.active{background:#e9f5ff!important;color:#1474b8!important;border:1px solid #b7dcf6!important;font-weight:700}.panel .scroll table tr.debtor-row>td:not(:last-child) .pill.active{background:#ffeaec!important;color:#c92c3d!important;border-color:#f1b8c0!important}@keyframes avtomektep-pulse{0%,to{transform:scale(1);box-shadow:0 0 #7b38c629}50%{transform:scale(1.045);box-shadow:0 0 0 6px #7b38c60a}}.pill.avtomektep,.panel .scroll table tr.avtomektep-row>td:not(:last-child) .pill.avtomektep{display:inline-block;background:#f1e6ff!important;color:#7133aa!important;border:1px solid #d6b6f7!important;font-weight:700;animation:avtomektep-pulse 1.8s ease-in-out infinite;transform-origin:center}.panel .scroll table tr.avtomektep-row>td:not(:last-child),.panel .scroll table tr.avtomektep-row>td:not(:last-child) *{color:#7734ab!important}.panel .scroll table tr.avtomektep-row>td.debt-cell,.panel .scroll table tr.avtomektep-row>td.debt-cell *{color:#c92c3d!important}.panel .scroll table tr.avtomektep-row .client-note-badge,.panel .scroll table tr.avtomektep-row .client-note-badge *{color:#95630c!important}.panel .scroll table tr.avtomektep-row .pill.avtomektep{color:#7133aa!important}@media(prefers-reduced-motion:reduce){.pill.avtomektep{animation:none!important}}.cards.finance-kpis{grid-template-columns:repeat(5,minmax(0,1fr))}.cards.finance-kpis .card{min-width:0}.cards.finance-kpis .card strong{overflow-wrap:anywhere;font-size:clamp(16px,1.5vw,23px)}.billed-text{color:#7a4dc2}@media(max-width:1250px){.cards.finance-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:850px){.cards.finance-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:460px){.cards.finance-kpis{grid-template-columns:1fr}}.panel .scroll table tr.completed-row:not(.debtor-row)>td:not(:last-child),.panel .scroll table tr.completed-row:not(.debtor-row)>td:not(:last-child) *{color:#198051!important}.panel .scroll table tr.completed-row:not(.debtor-row) .client-note-badge,.panel .scroll table tr.completed-row:not(.debtor-row) .client-note-badge *{color:#95630c!important}.panel .scroll table tr.completed-row:not(.debtor-row) .pill.completed{background:#e3f7ec!important;border:1px solid #b7e5ca!important;color:#177648!important}.panel .scroll table tr.completed-row.debtor-row>td:not(:last-child) .pill.completed{background:#ffeaec!important;color:#c92c3d!important;border-color:#f1b8c0!important}.client-profile-link{border:0;padding:0;background:transparent;color:inherit;font:inherit;font-weight:600;text-align:left;text-decoration:underline;text-decoration-color:transparent;text-underline-offset:3px;cursor:pointer;line-height:1.4;transition:color .15s ease,text-decoration-color .15s ease}.client-profile-link:hover{color:#e52d38!important;text-decoration-color:currentColor}.client-profile-link:focus-visible{outline:2px solid #e52d38;outline-offset:3px;border-radius:3px}.client-history-back{display:none;position:fixed;inset:0;z-index:80;background:#0a172b9e;padding:18px;align-items:center;justify-content:center}.client-history-back.open{display:flex}body.history-open{overflow:hidden}.client-history-dialog{background:#fff;width:min(1050px,100%);max-height:94vh;overflow-y:auto;overscroll-behavior:contain;border-radius:16px;box-shadow:0 28px 100px #030e244a;padding:22px 24px 26px;position:relative}.client-history-dialog .modal-head{top:-22px;margin:-22px -24px 20px;padding:17px 24px;background:#fff}.client-history-dialog h2{font-size:21px;color:#303e71}.client-history-subtitle{font-size:12px;color:#7d89a2;margin-top:5px}.client-history-block{border:1px solid #e6eaf3;border-radius:12px;padding:17px;margin-top:18px;background:#fff}.client-history-block h3{font-size:15px;color:#303e71;margin:0 0 14px}.client-history-info{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 18px}.client-history-kv{min-width:0}.client-history-kv small{display:block;color:#7c88a0;font-size:11px;margin-bottom:4px}.client-history-kv strong{display:block;color:#253358;font-size:13px;overflow-wrap:anywhere}.client-history-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:16px}.client-history-stat{border:1px solid #e7ebf3;background:#f8f9fd;border-radius:12px;padding:14px 13px;min-width:0}.client-history-stat small{display:block;font-size:11px;color:#72809a;line-height:1.4}.client-history-stat strong{display:block;margin-top:8px;font-size:19px;color:#303e71;overflow-wrap:anywhere}.client-history-stat.paid strong{color:#198064}.client-history-stat.debt strong{color:#d92e3e}.client-history-scroll{width:100%;overflow-x:auto}.client-history-scroll table{min-width:810px;width:100%;border-collapse:collapse}.client-history-scroll th,.client-history-scroll td{font-size:12px;padding:11px 10px;vertical-align:top}.client-history-scroll th{white-space:nowrap;background:#f6f7fb;color:#677491}.client-history-scroll tbody tr:last-child td{border-bottom:0}.client-history-void{opacity:.63}.client-history-void td:nth-child(4){text-decoration:line-through}.client-history-empty{border:1px dashed #cfd8e7;color:#6e7b92;padding:18px;text-align:center;background:#fafbfe;border-radius:9px;font-size:12px}.client-history-footer{display:flex;justify-content:flex-end;padding-top:17px}.client-history-note{margin-top:12px;font-size:11px;color:#8390a8;line-height:1.55}.client-history-note-text{font-size:12px;color:#3a4761;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere;background:#fff8e8;padding:12px;border-radius:9px}@media(max-width:760px){.client-history-back{padding:7px}.client-history-dialog{max-height:97vh;padding:16px 12px 20px;border-radius:12px}.client-history-dialog .modal-head{top:-16px;margin:-16px -12px 16px;padding:14px 12px}.client-history-dialog h2{font-size:17px}.client-history-info{grid-template-columns:repeat(2,minmax(0,1fr))}.client-history-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.client-history-stat{padding:11px}.client-history-stat strong{font-size:16px}.client-history-block{padding:12px}}.pill.payment-pending{background:#fff1da!important;color:#a46813!important;border:1px solid #f0d197!important;font-weight:700}.pill.payment-partial{background:#e5f2ff!important;color:#2069b4!important;border:1px solid #b9dcfa!important;font-weight:700}.pill.payment-overdue{background:#ffebed!important;color:#c92c3d!important;border:1px solid #efbac2!important;font-weight:700}.pill.voided{background:#eef0f4!important;color:#657083!important;border:1px solid #d7dbe3!important;font-weight:700}.panel .scroll table tr.debtor-row td .pill.payment-pending{background:#fff1da!important;color:#a46813!important}.panel .scroll table tr.debtor-row td .pill.payment-partial{background:#e5f2ff!important;color:#2069b4!important}.panel .scroll table tr.debtor-row td .pill.payment-overdue{background:#ffebed!important;color:#c92c3d!important}.payment-summary-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:18px 0 20px}.payment-summary-card{background:#f6f7fb;border:1px solid #e7e9f0;border-radius:10px;padding:14px;display:flex;flex-direction:column;gap:6px;min-width:0}.payment-summary-card small{font-weight:650;font-size:12px;color:#66718c}.payment-summary-card strong{font-size:22px;color:#303e71}.payment-summary-card span{font-size:13px;font-weight:650;color:#66718c}.payment-summary-card.state-pending{border-top:3px solid #e1a14a}.payment-summary-card.state-partial{border-top:3px solid #3288cb}.payment-summary-card.state-overdue{border-top:3px solid #dd3449}.payment-summary-card.state-paid{border-top:3px solid #1e9e76}.payment-history-heading{margin:22px 0 12px;color:#303e71}.payment-overview>p.muted{line-height:1.6}.payment-overview td .muted{font-size:11px;margin-top:4px}@media(max-width:900px){.payment-summary-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:480px){.payment-summary-cards{grid-template-columns:1fr 1fr}}.payment-summary-counter{display:flex;align-items:baseline;gap:8px;margin:0 0 5px}.payment-summary-counter strong{font-size:23px;line-height:1.2;margin:0;color:#303e71}.payment-summary-counter span{font-size:12px;color:#73809b;font-weight:500}.payment-summary-breakdown{display:flex;flex-direction:column;gap:8px;border-top:1px solid #e1e5ee;padding-top:11px;margin-top:auto}.payment-summary-line{display:flex;justify-content:space-between;align-items:baseline;gap:8px;flex-wrap:wrap}.payment-summary-line span{font-size:12px;color:#66718c;font-weight:500}.payment-summary-line b{font-size:15px;font-weight:750;white-space:nowrap;font-variant-numeric:tabular-nums}.payment-summary-line .payment-amount-received{color:#17765b}.payment-summary-line .payment-amount-debt{color:#cf4051}.payment-summary-card.state-pending .payment-summary-line .payment-amount-debt{color:#b7791f}.payment-summary-card.state-overdue .payment-summary-line .payment-amount-debt{color:#c92c3d}@media(max-width:480px){.payment-summary-cards{grid-template-columns:1fr 1fr}.payment-summary-line{display:block}.payment-summary-line b{display:block;margin-top:3px}}.client-archive-flag{display:inline-flex;align-items:center;gap:4px;padding:4px 8px;border-radius:16px;background:#edf0f5;color:#5e6a82!important;font-size:11px;font-weight:700;border:1px solid #dce2eb;white-space:nowrap}#tbody tr.archived-client-row{background:#f8f9fc}#tbody tr.archived-client-row .client-profile-link{opacity:.72}#tbody tr.archived-client-row .client-archive-flag{opacity:1}.client-delete-back[hidden]{display:none!important}.client-delete-back{position:fixed;inset:0;display:flex;align-items:center;justify-content:center;padding:18px;background:#0e172eab;z-index:400}.client-delete-dialog{max-width:560px;width:100%;max-height:94vh;overflow:auto;background:#fff;border-radius:14px;padding:24px;box-shadow:0 20px 70px #101a3840}.client-delete-heading{display:flex;gap:12px;align-items:center;justify-content:space-between;margin-bottom:14px}.client-delete-heading h2{margin:0;color:#b62036;font-size:19px}.client-delete-warning{background:#fff0ef;color:#a52c39;border:1px solid #f7c8cb;border-radius:10px;padding:13px;line-height:1.55}.client-delete-summary{background:#f4f6fa;border:1px solid var(--line);padding:13px;border-radius:10px;font-size:13px;line-height:1.9}.client-delete-summary b{font-size:14px;color:var(--d)}.client-delete-summary ul{padding-left:20px;margin:7px 0 0}.client-delete-hint{line-height:1.55;color:#4a5472;font-size:13px}#clientDeleteConfirmation{width:100%;font-weight:700;border:1px solid #e7b8bd}.client-delete-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end;margin-top:18px}#clientDeleteConfirm{background:#c52b3c;color:#fff}#clientDeleteConfirm:disabled{opacity:.35;cursor:not-allowed}@media(max-width:700px){.client-delete-dialog{padding:18px}.client-delete-actions{justify-content:stretch}.client-delete-actions .btn{flex:1 1 auto}}.actions{display:flex;justify-content:center;align-items:center;flex-wrap:nowrap;white-space:nowrap;min-width:42px}.actions button.row-action-plus{display:grid;place-items:center;width:38px;height:38px;min-width:38px;margin:0;padding:0;border:1px solid #d9deed;border-radius:11px;background:#f3f5fc;color:#e52d38;box-shadow:0 1px 3px #303e710f;cursor:pointer;transition:background .16s,color .16s,border-color .16s,transform .16s,box-shadow .16s}.actions button.row-action-plus span{font-weight:600;font-size:26px;line-height:1;transform:translateY(-1px)}.actions button.row-action-plus:hover,.actions button.row-action-plus[aria-expanded=true]{background:#e52d38;color:#fff;border-color:#e52d38;box-shadow:0 5px 13px #e52d3838;transform:translateY(-1px)}.actions button.row-action-plus:active{transform:translateY(0)}.actions button.row-action-plus:focus-visible{outline:3px solid rgba(229,45,56,.28);outline-offset:3px}.row-action-menu{position:fixed;z-index:3000;min-width:214px;max-width:min(260px,calc(100vw - 20px));padding:7px;background:#fff;border:1px solid #dfe3ef;border-radius:13px;box-shadow:0 14px 45px #1b285533;color:#303e71}.row-action-menu-heading{font-size:10px;text-transform:uppercase;letter-spacing:.9px;font-weight:700;padding:8px 11px 7px;color:#8a93ad;border-bottom:1px solid #edf0f7;margin-bottom:4px}.row-action-menu .row-action-entry{display:flex;align-items:center;gap:10px;text-align:left;width:100%;margin:0;padding:10px 11px;border:0;border-radius:8px;background:#fff;color:#303e71;font-size:13px;font-weight:600;line-height:1.3;cursor:pointer;transition:background .15s,color .15s}.row-action-menu .row-action-entry:hover,.row-action-menu .row-action-entry:focus-visible{background:#f0f2fa;color:#22365f;outline:none}.row-action-menu .row-action-entry-danger{color:#c92c3d}.row-action-menu .row-action-entry-danger:hover,.row-action-menu .row-action-entry-danger:focus-visible{background:#ffeaed;color:#b52134}.row-action-icon{width:20px;flex:0 0 20px;text-align:center;font-size:18px;line-height:1}@media(max-width:600px){.row-action-menu{min-width:200px}.actions button.row-action-plus{width:40px;height:40px}}.contract-duplicate-notice:not([hidden]){display:block;margin-top:14px;padding:13px 15px;border:1px solid #edc480;border-radius:11px;background:#fff6e8;color:#8b4d0c;font-size:13px;line-height:1.55}.payment-period-panel{border-top:3px solid #303e71}.payment-period-panel .dash-controls{margin-top:14px}.payment-period-panel .dash-controls select{min-width:165px}.payment-period-summary{display:flex;flex-wrap:wrap;gap:24px;margin-top:18px;padding:13px 15px;background:#f4f6fc;border:1px solid #e5e9f4;border-radius:10px}.payment-period-summary>div{display:flex;flex-direction:column;gap:5px;min-width:160px}.payment-period-summary span{font-size:12px;color:#66718c}.payment-period-summary strong{font-size:22px;color:#303e71}.payment-period-summary strong.green{color:#17765b}.payment-period-note{line-height:1.55;margin:12px 0 0}.payment-overview>p.muted{margin-bottom:12px}@media(max-width:700px){.payment-period-summary{gap:14px}.payment-period-summary strong{font-size:19px}}.cards.finance-kpis .card.metric-kpi{border-top-color:var(--metric-color)}.cards.finance-kpis .card.metric-kpi strong{color:var(--metric-color)}.client-iin-field .iin-checkbox-label{display:inline-flex;align-items:center;gap:9px;margin:11px 0 0;padding:9px 12px;border:1px solid #d9deeb;border-radius:9px;background:#f7f8fc;color:#303e71;font-size:13px;font-weight:600;cursor:pointer;user-select:none;transition:background .18s ease,border-color .18s ease}.client-iin-field .iin-checkbox-label:hover{background:#f0f2fa;border-color:#9caad1}.client-iin-field .iin-checkbox-label:has(input:checked){background:#ecf4ff;border-color:#a8c4eb}.client-iin-field .iin-checkbox-label input[type=checkbox]{width:17px;height:17px;min-width:17px;max-width:17px;padding:0;margin:0;accent-color:#303e71;cursor:pointer}.client-iin-field .iin-checkbox-label:focus-within{outline:2px solid rgba(48,62,113,.3);outline-offset:3px}.client-iin-field .iin-hint{margin-top:6px;font-size:12px;color:#6a7592;line-height:1.45}.client-iin-field input[name=iin]:disabled{background:#f2f3f7;color:#8d97ad;cursor:not-allowed}.search-filter-bar .excel-export-button{background:#17684a;color:#fff;border:1px solid #17684a;white-space:nowrap;display:inline-flex;gap:8px;align-items:center;justify-content:center;box-shadow:0 2px 8px #17684a21;min-height:40px}.search-filter-bar .excel-export-button:hover{background:#105339;border-color:#105339;filter:none}.search-filter-bar .excel-export-button:focus-visible{outline:3px solid rgba(23,104,74,.28);outline-offset:2px}.search-filter-bar .excel-export-button span{font-size:19px;font-weight:700;line-height:1}@media(max-width:720px){.search-filter-bar .excel-export-button{width:100%}}.settlement-modal{max-width:920px!important}.settlement-headline{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0;padding:13px 15px;background:#f4f6fc;border-radius:12px;color:#303e71}.settlement-headline>div{flex:1 1 190px;font-size:13px}.settlement-headline b{display:block;font-size:18px;margin-top:4px}.split-payment-list{display:grid;gap:12px;margin:12px 0}.split-payment-row{display:grid;grid-template-columns:minmax(170px,1.45fr) minmax(125px,.95fr) minmax(150px,.95fr) minmax(150px,.95fr);gap:11px;align-items:start;padding:14px;border:1px solid #dce2f0;border-left:4px solid #303e71;border-radius:11px;background:#fafbfe}.split-payment-row label{display:flex;flex-direction:column;gap:6px;color:#303e71;font-size:12px;font-weight:700}.split-payment-row input,.split-payment-row select{width:100%;min-width:0;max-width:100%;padding:10px;font-weight:400}.split-payment-row small{font-weight:400;font-size:11px;color:#677493;line-height:1.4}.split-payment-row .split-commission-wrap[hidden]{display:none!important}.split-row-actions{grid-column:1/-1;display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap}.settlement-add{margin-top:5px}.settlement-summary{padding:14px 16px;border:1px solid #cbd5ef;background:#eff3fd;color:#303e71;border-radius:12px;margin-top:15px;font-size:13px;line-height:2}.settlement-summary .settlement-remains{font-size:17px;font-weight:700;border-top:1px solid #dce2f0;margin-top:7px;padding-top:6px}.split-warning{color:#bf2637;font-weight:700}.mixed-payment-panel{margin-top:14px;padding:12px 14px;background:#f7f9fd;border:1px solid #d9e2f1;border-radius:11px}.mixed-payment-panel h3{margin:0 0 6px;color:#303e71;font-size:15px}.mixed-payment-panel>p{margin:5px 0 12px;line-height:1.55}@media(max-width:950px){.split-payment-row{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:530px){.split-payment-row{grid-template-columns:1fr}.settlement-headline{display:block}.settlement-headline>div{margin-bottom:8px}}#authScreen[hidden],.layout[hidden]{display:none!important}#authScreen{min-height:100vh;background:linear-gradient(135deg,#26345e,#303e71 55%,#4864a0);display:flex;align-items:center;justify-content:center;padding:24px}.auth-card{width:min(100%,480px);background:#fff;border-radius:22px;padding:30px;box-shadow:0 20px 70px #0c1b3e55;color:#202b47}.auth-card h1{margin:0 0 6px;font-size:27px}.auth-card h3{margin:8px 0}.auth-card p{line-height:1.6;color:#59647c}.auth-card label{display:block;font-weight:650;margin:15px 0 5px}.auth-card input{width:100%;padding:12px;border:1px solid #cbd5e1;border-radius:10px;font-size:16px;box-sizing:border-box}.auth-card .auth-submit{width:100%;margin-top:20px;padding:13px;border:0;background:#303e71;color:#fff;font-size:16px;border-radius:10px;cursor:pointer}.auth-card .auth-warning{background:#fff4e4;color:#744509;font-size:12px;padding:12px;border-radius:10px;margin-top:14px}.auth-error{color:#bc2734;font-weight:600;margin-top:9px}.auth-error:empty{display:none}#userBar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;padding:9px 14px;background:#ecf1f8;color:#28375c;font-size:13px;border-bottom:1px solid #d7e0ef}#userBar button{padding:6px 10px;border:1px solid #d4dbe8;background:#fff;border-radius:8px;cursor:pointer;color:#303e71}.access-table{width:100%;border-collapse:collapse}.access-table th,.access-table td{padding:10px;border-bottom:1px solid #e3e7ee;text-align:left}.account-panel{margin-top:15px}.account-panel .flex{flex-wrap:wrap}.account-form{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px;align-items:end}.account-form label{display:flex;flex-direction:column;gap:5px;font-weight:600}.account-form input,.account-form select{width:100%;min-width:0}.account-form button{align-self:end}.account-muted{color:#59647c;font-size:12px}.access-note{background:#fff6e6;border:1px solid #f1d3a0;border-radius:10px;padding:12px;margin:10px 0;font-size:13px}@media(max-width:700px){.auth-card{padding:21px}#userBar{padding:9px}.account-form{grid-template-columns:1fr}}.quick-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.quick-action{display:flex;align-items:center;gap:12px;min-width:0;min-height:72px;padding:12px 14px;background:#fff;color:#303e71;border:1px solid #dce2f0;border-radius:12px;text-align:left;cursor:pointer;transition:background .16s,border-color .16s,transform .16s,box-shadow .16s}.quick-action:hover{background:#fff8f8;border-color:#e52d38;transform:translateY(-1px);box-shadow:0 5px 14px #303e7117}.quick-action:focus-visible{outline:3px solid rgba(229,45,56,.35);outline-offset:2px}.quick-action-plus{display:flex;align-items:center;justify-content:center;width:38px;height:38px;flex:0 0 38px;background:#e52d38;color:#fff;border-radius:10px;font-size:25px;font-weight:600;line-height:1}.quick-action-copy{display:flex;flex-direction:column;gap:4px;min-width:0}.quick-action-title{font-size:13px;font-weight:700;line-height:1.25;white-space:normal;overflow-wrap:break-word}.quick-action-subtitle{font-size:11px;line-height:1.25;color:#64708c;white-space:normal}@media(max-width:1120px){.quick-actions{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:810px){.quick-actions{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:440px){.quick-actions{grid-template-columns:1fr;gap:9px}.quick-action{min-height:62px;padding:10px 12px}}#accountModalShade[hidden],#recoveryCodeShade[hidden]{display:none!important}#accountModalShade,#recoveryCodeShade{position:fixed;inset:0;z-index:19990;background:#0b1530ab;display:flex;align-items:center;justify-content:center;padding:16px;overflow-y:auto}.account-dialog{background:#fff;color:#233152;width:min(100%,510px);border-radius:18px;padding:26px;box-shadow:0 20px 70px #0b183e55;max-height:94vh;overflow-y:auto}.account-dialog h2{margin:0 0 8px;color:#303e71;font-size:22px}.account-dialog p{line-height:1.5;font-size:13px;color:#58637d}.account-dialog label{display:block;margin:13px 0 5px;font-size:12px;font-weight:700;color:#364468}.account-dialog input{width:100%;box-sizing:border-box;min-height:42px;padding:10px 12px;border:1px solid #cdd5e7;border-radius:9px;font-size:15px;background:#fff;color:#233152}.account-dialog .account-buttons{display:flex;gap:9px;flex-wrap:wrap;margin-top:17px}.account-dialog .account-buttons .btn{padding:10px 14px}.account-dialog .auth-error{min-height:16px;margin:8px 0}.account-dialog .recovery-note{background:#fff4df;border:1px solid #eed29a;border-radius:10px;padding:12px;margin-top:18px;font-size:12px;color:#744d0c}#recoveryCodeText{font-family:ui-monospace,Consolas,monospace;font-weight:750;font-size:17px;letter-spacing:.4px;background:#eef2fc;border:1px dashed #8ca2da;padding:14px;border-radius:10px;word-break:break-word;user-select:all;text-align:center}.auth-card .auth-help-link{display:block;border:0;background:none;color:#2d559f;text-decoration:underline;cursor:pointer;margin:14px auto 0;font-size:13px}#userBar .user-profile-btn{background:#fff;border:1px solid #cbd5e1;color:#303e71;border-radius:8px;padding:7px 10px;cursor:pointer;margin:0 8px}@media(max-width:700px){.account-dialog{padding:18px}#userBar .user-profile-btn{margin:5px 5px 5px 0}}.staff-permission-intro{color:#586782;font-size:14px;line-height:1.55;margin:12px 0 16px}.staff-name-button{border:0;background:transparent;color:#253b74;font:inherit;font-weight:700;text-decoration:underline;text-underline-offset:3px;cursor:pointer;text-align:left;padding:2px 0}.staff-name-button:hover{color:#e52d38}.staff-permission-caption{font-size:11px;color:#78859d;margin-top:4px}.staff-row-buttons{white-space:normal;min-width:280px}.staff-row-buttons .btn{margin:2px 2px 2px 0;padding:9px 11px}.staff-rights-button{border-color:#a9b6db!important;background:#eaf0ff!important;color:#274179!important;font-weight:700!important}.staff-permission-shade{position:fixed;inset:0;background:#111c36a6;display:flex;align-items:center;justify-content:center;padding:14px;z-index:5000}.staff-permission-dialog{width:min(100%,920px);max-height:min(94vh,980px);display:flex;flex-direction:column;background:#fff;border-radius:18px;box-shadow:0 20px 70px #09183f59;color:#25324e;overflow:hidden}.staff-permission-header{padding:22px 26px 16px;display:flex;justify-content:space-between;gap:15px;border-bottom:1px solid #e6eaf2}.staff-permission-eyebrow{color:#7786ad;font-size:11px;font-weight:800;letter-spacing:.09em}.staff-permission-header h2{margin:7px 0 4px;color:#293b6d;font-size:24px}.staff-permission-header p{margin:0;color:#60708d;font-size:13px}.staff-permission-close{height:36px;min-width:36px;background:#f1f3f8;border:0;color:#4d5a75;border-radius:9px;font-size:25px;cursor:pointer}.staff-permission-hint{padding:12px 26px;background:#f7f8fb;color:#4b5978;font-size:13px;line-height:1.5}.staff-permission-tools{display:flex;gap:12px;align-items:center;justify-content:space-between;padding:12px 26px;flex-wrap:wrap;border-bottom:1px solid #edf0f6}.staff-permission-count{font-size:13px;color:#425373}.staff-permission-actions{display:flex;gap:8px;flex-wrap:wrap}#staffPermissionForm{overflow:auto;display:flex;flex-direction:column;min-height:0}.staff-permission-groups{padding:17px 24px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;overflow:auto;align-content:start}.staff-permission-group{border:1px solid #e1e6ef;background:#fbfcff;border-radius:12px;padding:10px 12px 12px;min-width:0}.staff-permission-group legend{font-size:13px;font-weight:800;color:#303e71;padding:0 6px}.staff-permission-item{display:flex;align-items:flex-start;gap:10px;padding:9px 6px;border-radius:7px;cursor:pointer;line-height:1.25}.staff-permission-item:hover{background:#edf2ff}.staff-permission-item input[type=checkbox]{height:18px;width:18px;accent-color:#303e71;flex:none;margin:0;cursor:pointer}.staff-permission-item b{font-size:13px;font-weight:650;display:block;color:#263655}.staff-permission-item small{display:block;font-size:11px;color:#70809c;font-weight:400;line-height:1.4;margin-top:4px}.staff-permission-footer{padding:14px 24px;display:flex;align-items:center;justify-content:space-between;gap:14px;border-top:1px solid #e6eaf2;background:#fff;flex-wrap:wrap}.staff-permission-footer span{font-size:12px;color:#73809a;flex:1;min-width:200px}.staff-permission-footer>div{display:flex;align-items:center;gap:8px}@media(max-width:680px){.staff-permission-shade{padding:7px;align-items:stretch}.staff-permission-dialog{max-height:none;height:100%;border-radius:12px}.staff-permission-groups{grid-template-columns:1fr;padding:12px}.staff-permission-header,.staff-permission-tools,.staff-permission-hint,.staff-permission-footer{padding:12px 14px}.staff-permission-header h2{font-size:20px}.staff-permission-footer span{min-width:100%}}.auth-card .auth-password-wrap{position:relative}.auth-card .auth-password-wrap input{padding-right:160px}.auth-card .auth-password-toggle{position:absolute;top:50%;right:7px;transform:translateY(-50%);border:0;border-radius:8px;background:#edf1fa;color:#303e71;padding:10px 9px;min-height:38px;font-size:13px;font-weight:650;cursor:pointer;white-space:nowrap}.auth-card .auth-password-toggle:hover{background:#dfe6f8}.auth-card .auth-password-toggle:focus-visible{outline:2px solid #303e71;outline-offset:2px}@media(max-width:400px){.auth-card .auth-password-wrap input{padding-right:130px}.auth-card .auth-password-toggle{font-size:11px;padding:10px 6px}}button.debtors-kpi{display:block;width:100%;min-width:0;text-align:left;font:inherit;color:inherit;background:#fff;border:1px solid var(--line);border-top:3px solid var(--metric-color);cursor:pointer;transition:transform .14s ease,box-shadow .14s ease,border-color .14s ease}button.debtors-kpi:hover{transform:translateY(-2px);box-shadow:0 12px 30px #303e7126;border-color:#e4abb4;border-top-color:var(--metric-color)}button.debtors-kpi:focus-visible{outline:3px solid #e52d38;outline-offset:3px}.debtors-kpi-hint{display:inline-block;margin-top:10px;font-size:12px;font-weight:700;color:#d52438;text-decoration:underline;text-underline-offset:3px}.debtors-shade{position:fixed;inset:0;z-index:105;background:#131f3eab;display:flex;align-items:center;justify-content:center;padding:16px}.debtors-shade[hidden]{display:none!important}.debtors-dialog{width:min(1300px,100%);max-height:95vh;overflow-y:auto;overscroll-behavior:contain;background:#fff;border-radius:16px;box-shadow:0 22px 90px #07152a55;color:#273353}.debtors-dialog-header{display:flex;justify-content:space-between;align-items:start;gap:14px;padding:20px 23px;border-bottom:1px solid #e6eaf3;background:#fff;position:sticky;top:0;z-index:3}.debtors-dialog-header h2{font-size:21px;margin:0 0 6px;color:#303e71}.debtors-dialog-desc{font-size:12px;color:#75829b;line-height:1.5}.debtors-dialog-body{padding:18px 23px 24px}.debtors-help{font-size:12px;color:#606e88;line-height:1.55;background:#f6f7fc;border:1px solid #e5e9f1;padding:11px 13px;border-radius:9px;margin-bottom:17px}.debtors-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px 13px;align-items:end}.debtors-filters label{font-size:12px;font-weight:650;color:#5e6b87;display:flex;flex-direction:column;gap:6px;min-width:0}.debtors-filters input,.debtors-filters select{width:100%;min-width:0;height:43px;border-radius:9px}.debtors-filter-actions{display:flex;align-items:end;gap:10px}.debtors-filter-actions button{height:43px}.debtors-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0}.debtors-metric{padding:13px 15px;border-radius:10px;background:#f5f6fb;border:1px solid #e5e9f1;min-width:0}.debtors-metric span{font-size:12px;color:#606e8b;display:block}.debtors-metric strong{font-size:22px;margin-top:8px;display:block;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.debtors-metric.is-red strong{color:#e52d38}.debtors-table-scroll{overflow:auto;max-width:100%;border:1px solid #e6eaf1;border-radius:10px}.debtors-table{width:100%;min-width:1060px}.debtors-table thead th{position:sticky;top:0;background:#f7f8fc;color:#65718c;font-size:11px;white-space:nowrap}.debtors-table td{font-size:12px;line-height:1.45}.debtors-table .debt-amount{font-weight:750;color:#d4243a;white-space:nowrap}.debtors-client-name{font-weight:700;color:#25355b}.debtors-minor{color:#8893a8;font-size:11px;line-height:1.45;margin-top:4px}.debtors-table .btn.small{white-space:nowrap}.debtors-mobile-list{display:none}.debtors-no-results{padding:26px 15px;text-align:center;border:1px dashed #d8deeb;border-radius:10px;color:#69758e;font-size:13px}.debtors-mobile-card{border:1px solid #e2e7f0;border-radius:12px;padding:13px;display:grid;gap:9px;background:#fff}.debtors-mobile-title{display:flex;gap:12px;align-items:baseline;justify-content:space-between}.debtors-mobile-title strong{font-size:14px;color:#303e71}.debtors-mobile-title b{font-size:17px;color:#e52d38;white-space:nowrap}.debtors-mobile-detail{font-size:12px;color:#62708b;line-height:1.6}.debtors-mobile-card .btn{width:100%}@media(max-width:900px){.debtors-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:680px){.debtors-shade{padding:5px;align-items:stretch}.debtors-dialog{max-height:none;height:100%;border-radius:10px}.debtors-dialog-header{padding:14px 12px}.debtors-dialog-header h2{font-size:18px}.debtors-dialog-body{padding:13px 11px 19px}.debtors-filters{grid-template-columns:1fr 1fr;gap:9px}.debtors-filters label{font-size:11px}.debtors-filters label.debtors-search,.debtors-filter-actions{grid-column:1/-1}.debtors-metrics{gap:7px}.debtors-metric{padding:11px 9px}.debtors-metric strong{font-size:16px}.debtors-table-scroll{display:none}.debtors-mobile-list{display:grid;gap:9px}}@media(max-width:380px){.debtors-filters,.debtors-metrics{grid-template-columns:1fr}}button.metric-detail-kpi{display:block;width:100%;min-width:0;text-align:left;font:inherit;color:inherit;background:#fff;border:1px solid var(--line);border-top:3px solid var(--metric-color);cursor:pointer;transition:transform .14s ease,box-shadow .14s ease,border-color .14s ease}button.metric-detail-kpi:hover{transform:translateY(-2px);box-shadow:0 12px 30px #303e7124;border-color:#c5cce4;border-top-color:var(--metric-color)}button.metric-detail-kpi:focus-visible{outline:3px solid var(--metric-color);outline-offset:3px}.metric-detail-hint{display:inline-flex;align-items:center;gap:5px;margin-top:10px;color:var(--metric-color);font-size:12px;font-weight:700;text-decoration:underline;text-underline-offset:3px}.kpi-detail-shade .debtors-filters [hidden]{display:none!important}.kpi-detail-shade .debtors-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.kpi-detail-shade .debtors-metric.is-accent strong{color:var(--detail-color,#303e71)}.kpi-detail-shade .debtors-dialog{width:min(1330px,100%)}.kpi-detail-shade .debtors-mobile-title b{color:var(--detail-color,#303e71)}.kpi-detail-shade .debtors-table{min-width:960px}.kpi-detail-shade .kpi-operation-type{font-weight:700;color:#303e71}.kpi-detail-shade .kpi-operation-amount{font-weight:750;white-space:nowrap;color:var(--detail-color,#303e71)}.kpi-detail-shade .kpi-operation-amount.is-negative{color:#e52d38}.kpi-detail-shade .kpi-operation-amount.is-positive{color:#20a17d}.kpi-detail-shade .kpi-detail-help{margin-bottom:14px}.kpi-detail-shade .kpi-permission-warning{background:#fff6e8;border:1px solid #f2d49f;border-radius:8px;padding:10px 12px;margin:0 0 13px;font-size:12px;color:#855619}@media(max-width:680px){.kpi-detail-shade .debtors-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.kpi-detail-shade .debtors-filters{grid-template-columns:1fr 1fr}}@media(max-width:380px){.kpi-detail-shade .debtors-filters,.kpi-detail-shade .debtors-metrics{grid-template-columns:1fr}}#onboardingCollectorSlot[hidden]{display:none!important}.client-staff-strip{margin-top:17px;padding:15px;border:1px solid #dce4f3;background:#f7f9fe;border-radius:12px}.client-staff-strip h4{margin:0 0 12px;font-size:14px;color:#303e71}.client-staff-items{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px}.client-staff-item small{display:block;font-size:11px;color:#7683a0;margin-bottom:5px}.client-staff-item strong{font-size:13px;color:#25365b;overflow-wrap:anywhere}.client-staff-item .muted{font-size:11px;line-height:1.4;margin-top:4px}.client-manager-controls{margin-top:13px;display:flex;gap:9px;align-items:flex-end;flex-wrap:wrap}.client-manager-controls label{display:flex;flex-direction:column;gap:5px;min-width:200px;max-width:330px;flex:1;font-size:12px;color:#53617b}.client-manager-controls select{width:100%;padding:9px;font-size:13px;border:1px solid #ccd6e8;border-radius:9px;background:#fff}.client-manager-log{margin-top:10px;font-size:12px;color:#65718d}.client-manager-log summary{cursor:pointer;font-weight:650;color:#445578}.client-manager-log ul{padding-left:20px;line-height:1.7}.client-history-staff{display:block;font-size:11px;color:#707d99;margin-top:4px;white-space:normal}@media(max-width:680px){.client-staff-strip{padding:11px}.client-staff-items{grid-template-columns:1fr}.client-manager-controls label{max-width:none}}.client-cover-banner{margin:12px 0;padding:12px 14px;border:1px solid #f3d89d;background:#fff9eb;border-radius:10px;color:#815816;font-size:13px;line-height:1.5}.client-cover-banner.future{border-color:#d9e3f3;background:#f1f5ff;color:#344870}.client-cover-section{margin-top:14px;border-top:1px solid #e2e7f1;padding-top:12px}.client-cover-section h5{margin:0 0 10px;font-size:13px;color:#303e71}.client-cover-section .btn{white-space:normal}.client-cover-list{display:grid;gap:9px;margin:9px 0}.client-cover-item{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:11px 12px;border-radius:10px;border:1px solid #dfe6f3;background:#fff;font-size:12px}.client-cover-item.is-active{border-color:#f0d19b;background:#fffaf0}.client-cover-item strong{display:block;color:#25385c;font-size:13px;margin-bottom:4px}.client-cover-item .muted{line-height:1.6;overflow-wrap:anywhere}.client-cover-status{display:inline-block;border-radius:20px;padding:3px 8px;background:#e8effb;color:#38537d;margin-left:6px;font-size:11px;font-weight:600}.client-cover-item.is-active .client-cover-status{background:#fff0cd;color:#835100}.client-cover-shade{position:fixed;inset:0;z-index:16000;background:#0e182fb3;display:flex;align-items:center;justify-content:center;padding:14px}.client-cover-dialog{width:min(560px,100%);max-height:94vh;overflow:auto;background:#fff;border-radius:16px;box-shadow:0 28px 85px #111e4266;padding:22px;color:#273353}.client-cover-head{display:flex;align-items:start;justify-content:space-between;gap:12px;border-bottom:1px solid #e7eaf4;padding-bottom:13px;margin-bottom:12px}.client-cover-head h2{font-size:19px;margin:0 0 6px}.client-cover-head button{flex-shrink:0;border:1px solid #dae0ed;border-radius:9px;background:#f1f2fa;color:#303e71;width:38px;height:38px;font-size:24px}.client-cover-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.client-cover-grid .field{min-width:0;margin:7px 0}.client-cover-grid .field.wide{grid-column:1/-1}.client-cover-grid input,.client-cover-grid select,.client-cover-grid textarea{width:100%}.client-cover-footer{display:flex;align-items:center;justify-content:flex-end;gap:9px;flex-wrap:wrap;margin-top:16px}@media(max-width:620px){.client-cover-dialog{padding:15px}.client-cover-grid{grid-template-columns:1fr}.client-cover-grid .field.wide{grid-column:auto}.client-cover-item{flex-direction:column;gap:7px}}.manager-handover-shade{z-index:15000}.manager-handover-dialog{width:min(830px,100%)}.manager-handover-search{display:grid;gap:7px;margin-bottom:12px;color:#52617d;font-size:12px;font-weight:600}.manager-handover-search input{width:100%;max-width:480px;border:1px solid #ccd6e8;border-radius:9px;padding:11px 12px;font-size:14px}.manager-handover-list{display:grid;gap:9px;max-height:52vh;overflow:auto;padding:2px}.manager-handover-entry{border:1px solid #dfe6f3;background:#f7f9fe;border-radius:11px;padding:13px;display:flex;justify-content:space-between;align-items:center;gap:13px}.manager-handover-entry[hidden]{display:none!important}.manager-handover-description{min-width:0;overflow-wrap:anywhere}.manager-handover-description b{color:#273a67;font-size:14px}.manager-handover-description .muted{font-size:12px;line-height:1.45;margin-top:4px}.manager-handover-entry>.btn{white-space:nowrap}.manager-handover-periods{margin-top:9px;font-size:12px}.manager-handover-periods summary{font-weight:650;color:#425579;cursor:pointer}.manager-handover-periods .client-cover-list{margin-bottom:0}@media(max-width:560px){.manager-handover-entry{align-items:flex-start;flex-direction:column}.manager-handover-entry>.btn{width:100%}}.enterprise-intro,.enterprise-panel{border:1px solid #e3e8f3;border-radius:16px;background:#fff;padding:21px 23px;margin:16px 0;box-shadow:0 3px 15px #192a5806}.enterprise-intro-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px 24px}.enterprise-intro-grid>div{min-width:0}.enterprise-intro-grid small{display:block;color:#7886a3;font-size:12px;margin-bottom:5px}.enterprise-intro-grid b{display:block;color:#263759;font-size:14px;overflow-wrap:anywhere}.enterprise-note{margin-top:16px;padding-top:12px;border-top:1px solid #eef1f6}.enterprise-panel h3{color:#253869;font-size:18px;line-height:1.3;margin:0 0 16px}.enterprise-panel>.muted{margin:-5px 0 14px;line-height:1.5}.enterprise-section-head{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;margin-bottom:13px}.enterprise-section-head h3{margin:0}.enterprise-section-head>.flex{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.enterprise-row-actions{display:flex;gap:7px;flex-wrap:wrap;min-width:180px}.enterprise-row-actions .btn{font-size:12px;white-space:nowrap;padding:8px 11px}.enterprise-workspace-actions{display:flex;align-items:center;justify-content:space-between;gap:14px;border:1px solid #dfe6f2;border-radius:15px;padding:19px 22px;margin:20px 0 16px;background:linear-gradient(110deg,#f7f9ff,#fff)}.enterprise-workspace-actions strong{display:block;color:#283966;font-size:18px;margin-bottom:5px}.enterprise-workspace-actions span{font-size:12px;color:#6d7995;line-height:1.5;display:block}.enterprise-open-analytics{white-space:nowrap;background:#303e71!important;color:#fff!important;border-color:#303e71!important}.enterprise-open-analytics:hover{background:#253260!important}.enterprise-filters{display:grid;grid-template-columns:repeat(5,minmax(145px,1fr));gap:12px;margin:18px 0 15px;align-items:end}.enterprise-filters>label{display:flex;flex-direction:column;gap:7px;color:#5f6b88;font-size:12px;min-width:0}.enterprise-filters input,.enterprise-filters select{width:100%;min-height:43px;box-sizing:border-box;padding:9px 10px;border-radius:9px;border:1px solid #ccd6e9;background:#fff;color:#1d2b4a;font-size:13px}.enterprise-filter-actions{grid-column:1/-1;display:flex;align-items:center;gap:9px;flex-wrap:wrap}.enterprise-filter-actions .btn{min-height:40px}.enterprise-kpis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:18px 0}.enterprise-kpi{min-width:0;border:1px solid #e0e6f1;background:#f7f9fd;border-radius:13px;padding:14px}.enterprise-kpi small{display:block;color:#707e9b;font-size:12px;line-height:1.35;min-height:30px}.enterprise-kpi strong{display:block;color:#2d3f70;font-size:20px;line-height:1.25;margin-top:8px;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.enterprise-footnote{font-size:12px;line-height:1.65;margin-top:8px}.enterprise-person-row{border:1px solid #e5eaf3;border-radius:12px;padding:12px;display:grid;grid-template-columns:2fr 1fr 1.5fr auto;gap:9px;align-items:end;margin-bottom:9px}.enterprise-person-row label{font-size:12px;font-weight:650;color:#3a4b74}.enterprise-person-row input{display:block;width:100%;margin-top:6px}.enterprise-analytics-back[hidden]{display:none!important}.enterprise-analytics-back{position:fixed;inset:0;z-index:200;background:#121d37ba;display:flex;align-items:center;justify-content:center;padding:18px;box-sizing:border-box}.enterprise-analytics-dialog{width:min(1200px,100%);max-height:95vh;overflow-y:auto;overscroll-behavior:contain;background:#f6f8fd;border-radius:20px;box-shadow:0 35px 100px #06153255;outline:0}.enterprise-analytics-header{position:sticky;z-index:2;top:0;background:#fff;display:flex;justify-content:space-between;align-items:center;gap:18px;padding:23px 29px;border-bottom:1px solid #e2e8f4}.enterprise-analytics-eyebrow{font-size:10px;letter-spacing:1.5px;color:#8190aa;font-weight:700;margin-bottom:5px}.enterprise-analytics-header h2{font-size:23px;color:#283b69;margin:0;line-height:1.2}.enterprise-analytics-header p{margin:6px 0 0;color:#7886a1;font-size:12px}.enterprise-analytics-close{border:1px solid #dce3f1;border-radius:12px;width:42px;height:42px;flex:none;display:grid;place-items:center;background:#f3f5fa;color:#283963;font-size:28px;line-height:1;cursor:pointer}.enterprise-analytics-close:hover{background:#e8eef8}.enterprise-analytics-content{padding:8px 27px 16px}.enterprise-analytics-content .enterprise-panel{margin:17px 0;padding:22px}.enterprise-analytics-report>.enterprise-panel:first-child{border-top:3px solid #303e71}.enterprise-analytics-training-list .enterprise-row-actions{display:none}.enterprise-analytics-training-list .client-history-scroll th:last-child,.enterprise-analytics-training-list .client-history-scroll td:last-child{display:none}.enterprise-analytics-footer{padding:0 28px 23px;display:flex;justify-content:flex-end}.enterprise-analytics-content .client-history-scroll{width:100%;overflow-x:auto}@media(max-width:1100px){.enterprise-kpis,.enterprise-filters{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:720px){.enterprise-analytics-back{padding:7px}.enterprise-analytics-dialog{max-height:98vh;border-radius:14px}.enterprise-analytics-header{padding:16px}.enterprise-analytics-header h2{font-size:19px}.enterprise-analytics-content{padding:5px 12px 12px}.enterprise-analytics-content .enterprise-panel,.enterprise-panel,.enterprise-intro{padding:16px;margin:12px 0}.enterprise-analytics-footer{padding:4px 14px 17px}.enterprise-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.enterprise-filters,.enterprise-intro-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.enterprise-workspace-actions{flex-direction:column;align-items:stretch;padding:15px}.enterprise-open-analytics{width:100%}.enterprise-person-row{grid-template-columns:1fr}}@media(max-width:420px){.enterprise-filters{grid-template-columns:1fr}.enterprise-kpi strong{font-size:17px}.enterprise-intro-grid{grid-template-columns:1fr}.enterprise-section-head>.flex .btn{width:100%}}.enterprise-progress-info{font-size:12px;color:#5b6680;margin-top:5px;line-height:1.4}.enterprise-task-board{background:#fff;border:1px solid #dfe5f1;border-left:4px solid #e2a33a;border-radius:14px;padding:17px 20px;margin:0 0 17px;box-shadow:0 4px 16px #1426510a}.enterprise-task-board h3{margin:0 0 10px;color:#273965;font-size:17px}.enterprise-task-list{display:grid;gap:9px}.enterprise-task-row{background:#f8f9fd;border:1px solid #e4e8f2;border-radius:10px;padding:11px 13px;display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.enterprise-task-row.overdue{border-left:3px solid #e52d38;background:linear-gradient(180deg,#fff2f4,#ffe7eb);border-color:#f2bec6}.enterprise-task-row.due-soon{border-left:3px solid #ef6678;background:linear-gradient(180deg,#fff5f7,#ffeaee);border-color:#f4c9d0}.enterprise-task-row.overdue .enterprise-task-info strong,.enterprise-task-row.due-soon .enterprise-task-info strong{color:#7f1023}.enterprise-task-row.overdue .enterprise-task-info small,.enterprise-task-row.due-soon .enterprise-task-info small{color:#9a4251}.enterprise-task-board.warning{border-left-color:#ea2f45;background:linear-gradient(180deg,#fff8f9,#fff);box-shadow:0 6px 18px #ea2f450f}.enterprise-task-info{min-width:200px;flex:1}.enterprise-task-info strong{display:block;color:#283c70;font-size:14px}.enterprise-task-info small{display:block;color:#687792;margin:4px 0}.enterprise-task-text{white-space:pre-wrap;word-break:break-word}.enterprise-task-actions{display:flex;gap:7px;flex-wrap:wrap}.enterprise-task-dialog-back{position:fixed;inset:0;background:#0b1834ba;z-index:28000;display:flex;align-items:center;justify-content:center;padding:16px}.enterprise-task-dialog-back[hidden]{display:none!important}.enterprise-task-dialog{background:#fff;border-radius:18px;max-width:740px;width:100%;max-height:94vh;overflow:auto;box-shadow:0 18px 80px #0b173a5e;padding:24px}.enterprise-task-dialog-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:15px}.enterprise-task-dialog-head h2{font-size:21px;margin:0 0 4px;color:#293b6d}.enterprise-task-form{display:grid;grid-template-columns:minmax(0,1fr) 175px;gap:12px;align-items:end;background:#f8f9fd;padding:13px;border-radius:12px;margin:16px 0}.enterprise-task-form label{font-size:13px;font-weight:700;color:#273a6b}.enterprise-task-form textarea,.enterprise-task-form input{display:block;width:100%;margin-top:7px;border:1px solid #d5ddeb;border-radius:9px;padding:10px;font:inherit;background:#fff;box-sizing:border-box}.enterprise-task-form button{grid-column:1/-1;justify-self:start}.enterprise-task-archived{font-size:12px;color:#66748e;padding:7px 3px;border-bottom:1px solid #edf0f6}.enterprise-task-archived strong{color:#293b6d}.enterprise-task-empty{color:#76839c;padding:12px 0}@media(max-width:650px){.enterprise-task-form{grid-template-columns:1fr}.enterprise-task-dialog{padding:15px}.enterprise-task-row{align-items:stretch}.enterprise-task-actions{width:100%}.enterprise-task-actions button{flex:1}}.pill.awaiting-payment{background:#fff3d8!important;color:#9a6100!important;border:1px solid #f1d390!important}.pill.documents-preparation{background:#e8eaf9!important;color:#4d3d95!important;border:1px solid #c7c6e7!important}.enterprise-document-address{min-width:175px;max-width:275px;overflow-wrap:anywhere;white-space:normal}.enterprise-detail-page{display:flex;flex-direction:column;gap:15px;min-width:0;animation:enterprise-page-show .16s ease-out}@keyframes enterprise-page-show{0%{opacity:.75;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}.enterprise-detail-header{background:#fff;border:1px solid #dfe5f1;border-radius:16px;padding:21px 25px;box-shadow:0 8px 22px #20305309}.enterprise-detail-back{display:inline-flex;align-items:center;gap:8px;border:1px solid #e0e5f2;background:#f2f4fb;color:#303e71;border-radius:9px;padding:9px 13px;cursor:pointer;font-weight:700;font-size:13px;margin-bottom:13px}.enterprise-detail-back:hover{background:#e7ebf8}.enterprise-detail-back:focus-visible{outline:3px solid rgba(49,68,120,.22);outline-offset:3px}.enterprise-detail-header h1{font-size:27px;line-height:1.3;color:#303e71;margin:0 0 5px;overflow-wrap:anywhere}.enterprise-detail-header p{color:#73809d;font-size:13px;margin:0}.enterprise-detail-page .enterprise-panel,.enterprise-detail-page .enterprise-intro,.enterprise-detail-page .client-staff-strip{box-shadow:0 8px 26px #192b4e0a}.enterprise-detail-page .client-history-scroll{overflow-x:auto}.enterprise-detail-page .enterprise-workspace-actions{margin-top:2px}@media(max-width:720px){.enterprise-detail-header{padding:16px}.enterprise-detail-header h1{font-size:22px}.enterprise-detail-back{width:100%;justify-content:center}.enterprise-detail-page .enterprise-workspace-actions{gap:10px}}@media(min-width:701px){#mainLayout>aside{position:sticky;top:0;align-self:flex-start;height:100vh;height:100dvh;overflow-y:auto;overflow-x:hidden;overscroll-behavior-y:contain;scrollbar-width:thin;scrollbar-color:#8491bd transparent}}.enterprise-training-note{display:block;margin-top:7px}.enterprise-training-note .client-note-badge{white-space:normal;text-align:left;max-width:100%}.enterprise-detail-name{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:0 0 5px}.enterprise-detail-name h1{margin:0}.enterprise-client-note{background:#fff8e8!important;border:1px solid #f1d8a2;border-radius:10px;padding:12px 14px;margin-top:16px;color:#684c12!important;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.5}.enterprise-client-note strong{display:block;margin-bottom:5px;color:#81560f}@media(max-width:700px){#mainLayout>aside{position:static;height:auto;overflow:visible}.enterprise-detail-name{gap:8px}}.kpi-layout{display:grid;gap:18px;max-width:1520px}.kpi-panel{background:#fff;border:1px solid #e1e7f2;border-radius:18px;padding:22px;box-shadow:0 6px 22px #18254a0a}.kpi-panel h2{font-size:18px;color:#253667;margin:0 0 14px}.kpi-panel h3{font-size:15px;color:#253667;margin:0 0 12px}.kpi-toolbar,.kpi-commands{display:flex;gap:10px;flex-wrap:wrap;align-items:end}.kpi-commands{justify-content:space-between;margin-top:15px}.kpi-toolbar label,.kpi-form-grid label{color:#67738d;display:grid;gap:6px;font-size:12px;font-weight:600}.kpi-toolbar input,.kpi-toolbar select,.kpi-form-grid input,.kpi-form-grid select,.kpi-form-grid textarea{border:1px solid #cbd5e7;padding:11px 12px;border-radius:9px;background:#fff;color:#253667;min-height:42px;min-width:0;width:100%;font-size:13px}.kpi-toolbar label{min-width:155px}.kpi-note{padding:13px 16px;border-radius:12px;background:#f4f6fd;border:1px solid #e0e7f6;color:#586782;font-size:12px;line-height:1.55}.kpi-warning{background:#fff8e9;border-color:#f3deb0;color:#75561c}.kpi-boxes{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px}.kpi-summary-box{padding:15px;background:#f7f8fd;border:1px solid #e5e9f3;border-radius:12px;min-width:0}.kpi-summary-box small{display:block;color:#73819a;margin-bottom:8px;font-size:12px}.kpi-summary-box strong{font-size:21px;color:#303e71;overflow-wrap:anywhere}.kpi-table-wrap{overflow-x:auto;width:100%}.kpi-table{border-collapse:collapse;width:100%;min-width:920px;text-align:left}.kpi-table th,.kpi-table td{padding:13px 10px;border-bottom:1px solid #e8ebf2;vertical-align:middle;font-size:12px}.kpi-table th{background:#f5f6fb;color:#65738e;position:sticky;top:0}.kpi-employee{display:grid;gap:3px}.kpi-employee button{text-align:left;padding:0;border:0;background:none;color:#303e71;font-weight:700;text-decoration:underline;cursor:pointer}.kpi-meta{font-size:11px;color:#7e8ca4}.kpi-track{height:9px;border-radius:12px;background:#e4e8f2;overflow:hidden;margin-top:6px;min-width:90px}.kpi-track div{height:100%;border-radius:12px}.kpi-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.kpi-metric{padding:14px;border:1px solid #e3e8f1;border-radius:12px;background:#fff}.kpi-metric .top{display:flex;justify-content:space-between;gap:8px;align-items:flex-start}.kpi-metric strong{color:#303e71;font-size:13px}.kpi-metric small{color:#697790;font-size:11px}.kpi-metric p{font-size:12px;color:#61708c;line-height:1.5;margin:7px 0}.kpi-tag{border-radius:9px;padding:4px 9px;font-size:11px;font-weight:700;white-space:nowrap;background:#eaf5f0;color:#178162}.kpi-tag.pending{background:#fff4e5;color:#aa6f12}.kpi-tag.bad{background:#ffebed;color:#c92c3d}.kpi-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px}.kpi-field-full{grid-column:1/-1}.kpi-check{display:flex!important;align-items:center;gap:7px;color:#303e71!important}.kpi-check input{min-height:0!important;width:auto!important}.kpi-reason{font-size:11px;color:#8a6833}.kpi-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-top:14px}.kpi-actions button{max-width:100%}.kpi-pill{padding:5px 8px;border-radius:20px;color:#5b6680;background:#eef1f7;font-size:11px;font-weight:700}.kpi-pill.green{background:#e3f5ed;color:#198262}.kpi-pill.red{background:#ffebee;color:#c92d40}.kpi-pill.gold{background:#fff3da;color:#90620a}.kpi-reason-text{font-size:11px;color:#7c8494}.kpi-heading-line{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}@media(max-width:1100px){.kpi-boxes{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:740px){.kpi-panel{padding:14px}.kpi-grid,.kpi-form-grid{grid-template-columns:1fr}.kpi-boxes{grid-template-columns:1fr 1fr}.kpi-toolbar label{min-width:120px;flex:1}.kpi-field-full{grid-column:auto}}@media(max-width:420px){.kpi-boxes{grid-template-columns:1fr}}.kpi-sales-table{min-width:1200px}.kpi-sales-table th:nth-child(1){width:140px}.kpi-sales-table th:nth-child(2){min-width:210px}.kpi-sales-table th:nth-child(6){min-width:460px}.kpi-sale-controls{display:grid;grid-template-columns:minmax(140px,1fr) minmax(135px,1fr) minmax(180px,1.35fr) auto;align-items:end;gap:8px}.kpi-sale-controls label{font-size:11px;color:#6a7791;display:grid;gap:4px}.kpi-sale-controls input,.kpi-sale-controls select{padding:8px;border:1px solid #ccd4e4;border-radius:8px;width:100%;min-width:0;background:#fff;color:#293b66;font-size:12px}.kpi-sale-controls button{white-space:nowrap}.kpi-form-sales-info{display:grid;gap:4px;border:1px solid #d5e6e3;background:#f2f9f7;border-radius:10px;padding:12px;color:#247e63;font-size:12px}.kpi-form-sales-info strong{color:#166a54;font-size:13px}@media(max-width:700px){.kpi-sale-controls{grid-template-columns:1fr 1fr}.kpi-sale-controls button{grid-column:1/-1}.kpi-sales-table{min-width:980px}}.kpi-review-block{grid-column:1/-1;border:1px solid #dce4f1;background:linear-gradient(180deg,#fbfcff,#f5f7fc);border-radius:14px;padding:18px 18px 14px}.kpi-review-head{display:flex;justify-content:space-between;gap:10px;align-items:flex-start;margin-bottom:12px;flex-wrap:wrap}.kpi-review-head h3{margin:0 0 5px!important;font-size:16px}.kpi-review-desc{font-weight:400;font-size:12px;color:#65758e;line-height:1.5}.kpi-review-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.kpi-review-item{display:flex!important;flex-direction:row!important;gap:11px!important;align-items:flex-start!important;margin:0!important;padding:12px 13px!important;border:1px solid #dfe6f3;border-radius:11px;background:#fff;color:#253667!important;cursor:pointer;min-width:0}.kpi-review-item:has(input:checked){background:#f0faf6;border-color:#a9dfc9}.kpi-review-item input{width:18px!important;height:18px!important;min-width:18px!important;min-height:18px!important;accent-color:#1f9b77;margin:1px 0 0!important;cursor:pointer}.kpi-review-copy{display:flex;flex-direction:column;gap:4px;min-width:0}.kpi-review-copy strong{font-size:12px;line-height:1.4}.kpi-review-copy small{font-size:11px;line-height:1.4;color:#75819a;font-weight:400}.kpi-review-comment{display:block!important;margin-top:14px!important;font-size:12px!important;color:#65738e!important;font-weight:600!important}.kpi-review-comment textarea{margin-top:7px;min-height:76px;resize:vertical}.kpi-approval-help{font-size:12px;color:#87620c;line-height:1.4}.kpi-approval-help.ready{color:#157f61}.kpi-actions button:disabled{opacity:.5;cursor:not-allowed;box-shadow:none}@media(max-width:780px){.kpi-review-list{grid-template-columns:1fr}.kpi-review-block{padding:13px}}.kpi-pilots-manage .kpi-pilot-caption{color:#65718c;font-size:12px;line-height:1.55;margin:7px 0 15px}.kpi-pilots-manage .kpi-pilot-table{min-width:760px;width:100%}.kpi-pilots-manage .kpi-pilot-table td{vertical-align:middle}.kpi-pilot-name{font-weight:750;color:#303e71;overflow-wrap:anywhere}.kpi-pilot-note{font-size:11px;color:#74809a;line-height:1.4;margin-top:5px}.kpi-pilot-actions{display:flex;gap:7px;flex-wrap:wrap}.kpi-pilot-actions .btn{padding:8px 11px;font-size:12px}.kpi-pilot-actions .kpi-pilot-delete{background:#fff0f0;color:#b52538;border:1px solid #e9b5bc}.kpi-pilot-archive-details{margin-top:17px;border:1px solid #e5e9f2;border-radius:11px;background:#fafbfe;padding:12px}.kpi-pilot-archive-details summary{font-weight:700;color:#303e71;cursor:pointer}.kpi-pilot-edit{padding:18px;margin-top:16px;border-radius:12px;background:#f6f8fc;border:1px solid #dce3f0}.kpi-pilot-edit .kpi-form-grid{margin:12px 0}.kpi-pilot-edit label{font-size:12px;font-weight:650;color:#344364}.kpi-pilot-edit label input,.kpi-pilot-edit label textarea{display:block;width:100%;margin-top:7px;min-height:41px}.kpi-pilot-edit textarea{resize:vertical;min-height:82px}.kpi-pilot-edit .kpi-pilot-bonus-row{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:12px 0}.kpi-pilot-edit .kpi-pilot-bonus-row label{display:flex;align-items:center;gap:7px}.kpi-pilot-edit .kpi-pilot-bonus-row input[type=checkbox]{width:18px;height:18px;margin:0}.kpi-pilot-edit .kpi-pilot-bonus-row input[type=number]{width:165px}.kpi-pilot-edit .kpi-pilot-readonly{background:#eff1f8;color:#67718a}@media(max-width:700px){.kpi-pilot-edit{padding:12px}.kpi-pilot-actions .btn{flex:0 0 auto}}.pea-ui-dialog-layer{position:fixed;inset:0;z-index:2147483000;display:grid;place-items:center;padding:18px;background:#121b38a3;backdrop-filter:blur(3px);animation:pea-dialog-in .18s ease-out}@keyframes pea-dialog-in{0%{opacity:0}to{opacity:1}}.pea-ui-dialog{width:min(100%,530px);max-height:min(92dvh,770px);overflow:auto;background:#fff;color:#273353;border-radius:18px;border:1px solid #e5e8f0;box-shadow:0 26px 75px #0913314a;padding:25px 27px 23px;outline:none}.pea-ui-dialog-head{display:flex;gap:14px;align-items:flex-start;margin-bottom:17px}.pea-ui-dialog-emblem{width:46px;height:46px;border-radius:14px;background:#ebeffa;color:#303e71;display:grid;place-items:center;flex:none;font-size:24px;font-weight:800}.pea-ui-dialog--danger .pea-ui-dialog-emblem{background:#fff0f1;color:#d12f40}.pea-ui-dialog--warning .pea-ui-dialog-emblem{background:#fff4e2;color:#af7117}.pea-ui-dialog--success .pea-ui-dialog-emblem{background:#eaf8f1;color:#198367}.pea-ui-dialog-headcopy{flex:1;min-width:0}.pea-ui-dialog-eyebrow{font-size:10px;font-weight:800;letter-spacing:.13em;color:#8791aa;margin:2px 0 6px}.pea-ui-dialog-title{font-size:20px;line-height:1.35;font-weight:750;color:#303e71;margin:0}.pea-ui-dialog-close{flex:none;width:32px;height:32px;background:#f1f3f8;border:0;border-radius:9px;color:#68748f;font-size:22px;line-height:1;cursor:pointer}.pea-ui-dialog-close:hover{background:#e6e9f2;color:#303e71}.pea-ui-dialog-body{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.65;color:#52617c;margin:0 0 20px}.pea-ui-dialog--danger .pea-ui-dialog-body{color:#6d4450}.pea-ui-dialog-verify{display:grid;gap:8px;border:1px solid #f0d4d8;border-radius:11px;background:#fff8f8;padding:13px 14px;margin:0 0 20px}.pea-ui-dialog-verify label{font-weight:700;font-size:12px;color:#8a3340;line-height:1.4}.pea-ui-dialog-verify input{width:100%;height:43px;padding:10px 12px;border:1px solid #ddbec6;border-radius:9px;background:#fff;color:#29365a;font-size:15px}.pea-ui-dialog-verify input:focus{outline:2px solid #e52d3850;border-color:#db4654}.pea-ui-dialog-verify small{color:#996f77;font-size:11px}.pea-ui-dialog-buttons{display:flex;gap:10px;justify-content:flex-end;flex-wrap:wrap;margin-top:8px}.pea-ui-dialog-button{min-width:114px;min-height:43px;padding:10px 17px;border-radius:9px;border:1px solid #dfe3ee;background:#f1f2fa;color:#303e71;font-weight:700;font-size:13px;cursor:pointer}.pea-ui-dialog-button:hover{filter:brightness(.97)}.pea-ui-dialog-button--primary{background:#303e71;color:#fff;border-color:#303e71}.pea-ui-dialog-button--danger{background:#cf3345;color:#fff;border-color:#cf3345}.pea-ui-dialog-button:disabled{opacity:.36;cursor:not-allowed;filter:none}.pea-ui-dialog button:focus-visible{outline:3px solid #e52d3857;outline-offset:3px}.pea-ui-toastbox{position:fixed;right:20px;bottom:20px;z-index:2147482999;display:grid;gap:10px;max-width:min(370px,calc(100vw - 28px))}.pea-ui-toast{background:#fff;color:#273353;box-shadow:0 12px 45px #15214730;border:1px solid #d9e8df;border-left:4px solid #20a17d;border-radius:12px;padding:13px 15px;display:flex;gap:10px;align-items:center;font-size:13px;line-height:1.45}.pea-ui-toast strong{color:#198367}.pea-ui-toast button{margin-left:auto;border:0;background:transparent;font-size:19px;color:#66718c;cursor:pointer}@media(max-width:600px){.pea-ui-dialog-layer{padding:10px;align-items:center}.pea-ui-dialog{padding:19px 17px 18px;border-radius:14px}.pea-ui-dialog-title{font-size:18px}.pea-ui-dialog-button{flex:1;min-width:0}.pea-ui-dialog-buttons{gap:8px}.pea-ui-toastbox{bottom:12px;right:12px;left:12px;max-width:none}}@media(prefers-reduced-motion:reduce){.pea-ui-dialog-layer{animation:none}}#authScreen{position:relative;isolation:isolate;overflow-x:hidden;min-height:100vh;padding:30px 16px;display:flex;align-items:center;justify-content:center;background:radial-gradient(ellipse at 92% 10%,rgba(52,122,207,.55),transparent 39%),radial-gradient(ellipse at 2% 93%,rgba(0,60,155,.6),transparent 45%),linear-gradient(135deg,#132653,#253d7c 45%,#12295f)}#authScreen:before,#authScreen:after{content:"";position:absolute;pointer-events:none;z-index:-1;border-radius:50%}#authScreen:before{width:1100px;height:790px;left:-880px;top:-490px;border:90px solid transparent;border-right-color:#3194ec99;border-bottom-color:#1c70d2d9;transform:rotate(-26deg);box-shadow:65px 65px 80px -80px #3ca8ffbf}#authScreen:after{width:1260px;height:840px;right:-1030px;bottom:-555px;border:120px solid transparent;border-top-color:#e72141ed;border-left-color:#2f6dd4b3;transform:rotate(-33deg);filter:drop-shadow(-25px -20px 45px rgba(9,48,133,.6))}#authScreen .auth-card{position:relative;z-index:1;width:min(100%,610px);max-width:610px;padding:30px 36px 28px;border-radius:23px;background:#fff;border:1px solid rgba(255,255,255,.9);box-shadow:0 28px 85px #040e2c52,0 4px 10px #0a184512;color:#1b2b53}#authScreen .pea-auth-brand{display:flex;align-items:center;gap:15px;margin:0 0 24px;padding-bottom:2px}#authScreen .pea-auth-brand img{display:block;width:88px;height:88px;object-fit:contain;flex:none}#authScreen .pea-auth-brand h1{margin:0;line-height:1.14;font-size:clamp(25px,3.3vw,33px);letter-spacing:-.9px;font-weight:800;color:#14295d}#authScreen .auth-card h3{font-size:22px;font-weight:800;letter-spacing:-.4px;line-height:1.25;margin:0 0 8px;color:#172a59}#authScreen .auth-card p{font-size:14px;line-height:1.55;color:#5d6986;margin:0 0 19px}#authScreen .auth-card label{display:block;margin:16px 0 7px;font-weight:700;font-size:13px;color:#23345f}#authScreen .auth-card input{width:100%;min-height:48px;padding:11px 14px;border:1px solid #c9d2e5;border-radius:10px;background:#fff;color:#1b2b53;font-size:15px;transition:border-color .15s,box-shadow .15s}#authScreen .auth-card input:focus{border-color:#314d92;outline:2px solid rgba(48,62,113,.18);outline-offset:1px}#authScreen .auth-card .auth-password-wrap input{padding-right:151px}#authScreen .auth-card .auth-password-toggle{border-radius:8px;min-height:36px;padding:8px 11px;background:#ebeff9;color:#233d7b;font-size:12px;font-weight:700}#authScreen .auth-card .auth-submit{width:100%;display:block;min-height:49px;margin:19px 0 0;border:0;border-radius:10px;background:linear-gradient(110deg,#293d77,#31457f);color:#fff;font-size:17px;font-weight:700;box-shadow:0 4px 12px #1b317221;transition:transform .15s,filter .15s}#authScreen .auth-card .auth-submit:hover{filter:brightness(1.04);transform:translateY(-1px);box-shadow:0 14px 24px #18347638,inset 0 1px #ffffff2e}#authScreen .auth-card .auth-submit:active{transform:none}#authScreen .auth-card .auth-submit:focus-visible{outline:3px solid #a3baf4;outline-offset:3px}#authScreen .auth-card .auth-help-link{display:block;text-align:center;border:0;background:none;color:#234b9a;font-size:12px;text-decoration:underline;text-underline-offset:2px;margin:15px auto 0;padding:5px 2px;cursor:pointer}#authScreen .auth-card .auth-warning{margin-top:16px;border:1px solid #f7e5c8;background:#fff3e1;border-radius:11px;padding:13px 15px;font-size:12px;color:#71480e;line-height:1.45}#authScreen .auth-card .auth-error{font-size:12px;line-height:1.45}@media(max-width:640px){#authScreen{padding:16px 10px;align-items:center}#authScreen .auth-card{padding:24px 22px;border-radius:18px}#authScreen .pea-auth-brand{gap:12px;margin-bottom:19px}#authScreen .pea-auth-brand img{width:69px;height:69px}#authScreen .pea-auth-brand h1{font-size:clamp(23px,6vw,29px)}#authScreen .auth-card h3{font-size:19px}#authScreen .auth-card .auth-password-toggle{font-size:11px;padding:8px}#authScreen .auth-card .auth-password-wrap input{padding-right:136px}}@media(max-width:370px){#authScreen .auth-card{padding:21px 15px}#authScreen .pea-auth-brand img{width:59px;height:59px}#authScreen .pea-auth-brand h1{font-size:23px}#authScreen .auth-card .auth-password-toggle{font-size:10px;padding:7px 5px}#authScreen .auth-card .auth-password-wrap input{padding-right:117px}}#authScreen{position:relative;isolation:isolate;overflow:hidden;display:flex;align-items:center;justify-content:center;min-height:100vh;padding:30px 20px 22px;background:#122b69}#authScreen:before{content:"";position:absolute;z-index:-1;width:auto;height:auto;inset:0;transform:none;border:none;border-radius:0;box-shadow:none;background-image:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221600%22%20height%3D%221060%22%20viewBox%3D%220%200%201600%201060%22%20preserveAspectRatio%3D%22xMidYMid%20slice%22%3E%0A%20%3Cdefs%3E%0A%20%20%3ClinearGradient%20id%3D%22base%22%20x1%3D%220%22%20x2%3D%221%22%20y1%3D%221%22%20y2%3D%220%22%3E%3Cstop%20stop-color%3D%22%23071c4b%22%2F%3E%3Cstop%20offset%3D%220.36%22%20stop-color%3D%22%23142d6b%22%2F%3E%3Cstop%20offset%3D%220.70%22%20stop-color%3D%22%230d3674%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%232869ba%22%2F%3E%3C%2FlinearGradient%3E%0A%20%20%3CradialGradient%20id%3D%22blueGlow%22%20cx%3D%2277%25%22%20cy%3D%229%25%22%20r%3D%2272%25%22%3E%3Cstop%20stop-color%3D%22%23327dcb%22%20stop-opacity%3D%22.66%22%2F%3E%3Cstop%20offset%3D%22.50%22%20stop-color%3D%22%232f5fa2%22%20stop-opacity%3D%22.19%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%230c224f%22%20stop-opacity%3D%220%22%2F%3E%3C%2FradialGradient%3E%0A%20%20%3ClinearGradient%20id%3D%22blueWave%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%221%22%20y2%3D%221%22%3E%3Cstop%20stop-color%3D%22%231680df%22%2F%3E%3Cstop%20offset%3D%22.5%22%20stop-color%3D%22%23195baa%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23071c4b%22%2F%3E%3C%2FlinearGradient%3E%0A%20%20%3ClinearGradient%20id%3D%22redWave%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%221%22%20y2%3D%221%22%3E%3Cstop%20stop-color%3D%22%23fb3e5d%22%2F%3E%3Cstop%20offset%3D%22.45%22%20stop-color%3D%22%23e52049%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23ae083c%22%2F%3E%3C%2FlinearGradient%3E%0A%20%20%3ClinearGradient%20id%3D%22silverLine%22%20x1%3D%220%22%20y1%3D%221%22%20x2%3D%221%22%20y2%3D%220%22%3E%3Cstop%20stop-color%3D%22%234a7ee1%22%20stop-opacity%3D%22.05%22%2F%3E%3Cstop%20offset%3D%22.56%22%20stop-color%3D%22%2368cbff%22%20stop-opacity%3D%22.95%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%238fddff%22%20stop-opacity%3D%22.1%22%2F%3E%3C%2FlinearGradient%3E%0A%20%20%3Cfilter%20id%3D%22soft%22%3E%3CfeGaussianBlur%20stdDeviation%3D%2222%22%2F%3E%3C%2Ffilter%3E%0A%20%3C%2Fdefs%3E%0A%20%3Crect%20width%3D%221600%22%20height%3D%221060%22%20fill%3D%22url%28%23base%29%22%2F%3E%0A%20%3Crect%20width%3D%221600%22%20height%3D%221060%22%20fill%3D%22url%28%23blueGlow%29%22%2F%3E%0A%20%3Cpath%20d%3D%22M0%200%20H650%20C430%20100%20270%20160%200%20290%20Z%22%20fill%3D%22%23091d45%22%20opacity%3D%22.80%22%2F%3E%0A%20%3Cpath%20d%3D%22M0%200%20H385%20C235%2088%20135%20155%200%20177%20Z%22%20fill%3D%22url%28%23redWave%29%22%2F%3E%0A%20%3Cpath%20d%3D%22M0%20160%20C200%2090%20390%20-50%20625%20-120%20L780%20-120%20C430%2075%20248%20180%200%20235%20Z%22%20fill%3D%22url%28%23blueWave%29%22%20opacity%3D%22.80%22%2F%3E%0A%20%3Cpath%20d%3D%22M0%20176%20C150%20114%20280%2018%20435%20-92%22%20stroke%3D%22%2351adf2%22%20stroke-width%3D%224%22%20opacity%3D%22.98%22%20fill%3D%22none%22%2F%3E%0A%20%3Cpath%20d%3D%22M0%20191%20C172%20119%20301%2025%20466%20-92%22%20stroke%3D%22%2393dbff%22%20stroke-width%3D%2213%22%20opacity%3D%22.24%22%20filter%3D%22url%28%23soft%29%22%20fill%3D%22none%22%2F%3E%0A%20%3Cpath%20d%3D%22M0%20900%20C285%20740%20450%20720%20720%20830%20C948%20925%201165%20849%201600%20615%20L1600%201060%20L0%201060%20Z%22%20fill%3D%22%2309235b%22%20opacity%3D%22.38%22%2F%3E%0A%20%3Cpath%20d%3D%22M0%201000%20C230%20950%20400%20830%20610%20878%20C850%20933%201150%20945%201600%20565%20L1600%201060%20L0%201060%20Z%22%20fill%3D%22%23154e9e%22%20opacity%3D%22.42%22%2F%3E%0A%20%3Cpath%20d%3D%22M0%20999%20C235%20947%20403%20831%20610%20875%20C861%20928%201165%20944%201600%20560%22%20stroke%3D%22url%28%23silverLine%29%22%20stroke-width%3D%223.3%22%20fill%3D%22none%22%2F%3E%0A%20%3Cpath%20d%3D%22M1230%201060%20C1365%20948%201490%20871%201600%20818%20L1600%201060%20Z%22%20fill%3D%22%23c10e39%22%2F%3E%0A%20%3Cpath%20d%3D%22M1150%201060%20C1340%20987%201510%20867%201600%20741%20L1600%20935%20C1495%201020%201358%201049%201250%201060%20Z%22%20fill%3D%22url%28%23redWave%29%22%2F%3E%0A%20%3Cpath%20d%3D%22M1145%201060%20C1371%20976%201499%20874%201600%20738%22%20stroke%3D%22%23ff5375%22%20stroke-width%3D%224%22%20fill%3D%22none%22%20opacity%3D%22.9%22%2F%3E%0A%20%3Cpath%20d%3D%22M1290%20-100%20C1400%20125%201510%20173%201660%20230%22%20stroke%3D%22%2353aeff%22%20stroke-width%3D%222%22%20fill%3D%22none%22%20opacity%3D%22.66%22%2F%3E%0A%20%3C%2Fsvg%3E);background-size:cover;background-position:center center;filter:none;opacity:1;pointer-events:none}#authScreen:after{display:none;content:none}#authScreen .auth-card{position:relative;z-index:1;width:min(100%,690px);max-width:690px;border:1px solid rgba(225,234,249,.95);border-radius:30px;padding:118px 40px 24px;background:linear-gradient(180deg,#fff,#fcfdff);color:#122657;box-shadow:0 18px 52px #08184733,0 2px #ffffff5c,inset 0 1px #ffffffbf}#authScreen .pea-auth-brand{position:absolute;top:-52px;left:50%;transform:translate(-50%);display:flex;align-items:center;flex-direction:column;gap:7px;margin:0;padding:0;width:min(100%,610px);text-align:center}#authScreen .pea-auth-brand img{width:142px;height:142px;max-width:none;display:block;object-fit:contain;flex:none;background:#fff;border-radius:50%;border:6px solid white;box-shadow:0 10px 28px #12275c1f,0 0 0 1px #e6ecf8a6}#authScreen .pea-auth-brand h1{color:#102c69;font-size:33px;letter-spacing:-.7px;line-height:1.06;font-weight:780;margin:0;white-space:nowrap;text-align:center}#authScreen .pea-auth-brand .pea-auth-finance{color:#e52d38}#authScreen .auth-card h3.pea-login-heading{text-transform:uppercase;letter-spacing:.3px;font-weight:770}#authScreen .auth-card h3{display:flex;align-items:center;gap:18px;justify-content:center;text-align:center;font-size:19px;font-weight:760;line-height:1.2;color:#193365;letter-spacing:-.25px;margin:6px 0 7px}#authScreen .auth-card h3:before,#authScreen .auth-card h3:after{content:"";height:2px;width:50px;flex:0 1 50px;background:linear-gradient(90deg,#ff5f75,#e62549);border-radius:4px;opacity:.9}#authScreen .auth-card p{text-align:center;font-size:14px;line-height:1.45;color:#66738f;margin:0 0 13px}#authScreen .auth-card label{font-size:13px;font-weight:760;color:#1a2f62;margin:11px 0 6px;letter-spacing:.1px}#authScreen .auth-card input{border:1.5px solid #d4ddee;border-radius:14px;background:linear-gradient(180deg,#fff,#fbfcff);color:#102659;min-height:47px;font-size:15px;padding:10px 14px;box-shadow:0 2px 8px #182a5509;transition:border-color .18s ease,box-shadow .18s ease,background .18s ease}#authScreen .auth-card input::placeholder{color:#798398;opacity:1}#authScreen .auth-card input:focus{border-color:#3d72c5;outline:none;outline-offset:0;box-shadow:0 0 0 4px #5386de1f,0 6px 14px #22458812;background:#fff}#authScreen #authLogin,#authScreen #authPassword{background-repeat:no-repeat;background-size:18px 18px;background-position:16px center;padding-left:46px}#authScreen #authLogin{background-image:url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%231c376e" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"%3E%3Ccircle cx="12" cy="7" r="4"/%3E%3Cpath d="M4 21v-2a8 8 0 0 1 16 0v2"/%3E%3C/svg%3E')}#authScreen #authPassword{background-image:url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%231c376e" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"%3E%3Crect width="15" height="11" x="4.5" y="10" rx="2"/%3E%3Cpath d="M8 10V6a4 4 0 0 1 8 0v4"/%3E%3C/svg%3E')}#authScreen .auth-card .auth-password-wrap input{padding-right:148px}#authScreen .auth-card .auth-password-toggle{border-radius:11px;border:1px solid rgba(214,224,242,.8);min-height:37px;color:#21427f;background:linear-gradient(180deg,#f8fbff,#edf3ff);padding:8px 10px;font-size:11px;font-weight:700;box-shadow:0 2px 8px #2548880d;transition:all .18s ease}#authScreen .auth-card .auth-password-toggle:hover{background:linear-gradient(180deg,#fff,#e7efff);border-color:#c7d7f6}#authScreen .auth-card .auth-submit{border-radius:15px;min-height:50px;margin:16px 0 0;background:linear-gradient(135deg,#294894,#173a79 52%,#12346d);color:#fff;font-size:18px;font-weight:780;box-shadow:0 10px 20px #1834762e,inset 0 1px #ffffff2e;transition:transform .18s ease,filter .18s ease,box-shadow .18s ease}#authScreen .auth-card .auth-help-link{color:#2b59a8;font-size:13px;margin:10px auto 0;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px;padding:5px 3px}#authScreen .auth-card .auth-warning{margin-top:13px;padding:13px 14px 13px 52px;border:1px solid rgba(245,220,178,.65);border-radius:16px;color:#745321;line-height:1.38;font-size:12px;background:linear-gradient(180deg,#fff8ef,#fff3e3);box-shadow:0 3px 10px #ac782b0d;background-image:url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%23c68822" stroke-width="1.9" stroke-linecap="round" stroke-linejoin="round"%3E%3Ccircle cx="12" cy="12" r="10"/%3E%3Cpath d="M12 11v6M12 7h.01"/%3E%3C/svg%3E');background-repeat:no-repeat;background-size:21px;background-position:16px center}#authScreen .auth-card .auth-error{font-size:12px;line-height:1.42}@media(max-width:900px){#authScreen{padding:24px 14px 18px;align-items:center}#authScreen .auth-card{max-width:640px;padding:111px 28px 21px;border-radius:24px}#authScreen .pea-auth-brand{top:-50px}#authScreen .pea-auth-brand img{width:138px;height:138px}#authScreen .pea-auth-brand h1{font-size:31px}}@media(max-width:600px){#authScreen{padding:16px 10px 14px;overflow:auto;align-items:center}#authScreen .auth-card{padding:92px 18px 16px;border-radius:22px;width:100%}#authScreen .pea-auth-brand{top:-41px;gap:4px;width:100%}#authScreen .pea-auth-brand img{width:112px;height:112px;border-width:5px}#authScreen .pea-auth-brand h1{font-size:26px;white-space:normal}#authScreen .auth-card h3{font-size:17px;gap:8px;margin:5px 0}#authScreen .auth-card h3:before,#authScreen .auth-card h3:after{width:23px;flex-basis:23px}#authScreen .auth-card p{font-size:13px;margin-bottom:13px}#authScreen .auth-card label{font-size:12px;margin:13px 0 6px}#authScreen .auth-card input{min-height:47px;font-size:14px}#authScreen .auth-card .auth-password-wrap input{padding-right:139px}#authScreen .auth-card .auth-password-toggle{font-size:11px;padding:8px;min-height:34px}#authScreen .auth-card .auth-submit{min-height:50px;margin-top:19px;font-size:18px}#authScreen .auth-card .auth-help-link{font-size:12px}#authScreen .auth-card .auth-warning{padding:13px 12px 13px 44px;background-size:20px;background-position:13px center;font-size:11px}}@media(max-width:370px){#authScreen .auth-card{padding:122px 14px 20px}#authScreen .pea-auth-brand h1{font-size:27px}#authScreen .auth-card .auth-password-wrap input{padding-right:126px}#authScreen .auth-card .auth-password-toggle{font-size:10px;padding:7px 6px}}@media(prefers-reduced-motion:reduce){#authScreen .auth-card .auth-submit{transition:none}}#authScreen .auth-card h3.pea-login-heading{font-size:14px;font-weight:650;letter-spacing:.65px;line-height:1.35;margin:7px 0 10px;color:#253f75}#authScreen .auth-card h3.pea-login-heading:before,#authScreen .auth-card h3.pea-login-heading:after{height:1px;width:43px;flex-basis:43px;opacity:.78}@media(max-width:600px){#authScreen .auth-card h3.pea-login-heading{font-size:12.5px;letter-spacing:.3px;gap:9px}#authScreen .auth-card h3.pea-login-heading:before,#authScreen .auth-card h3.pea-login-heading:after{width:18px;flex-basis:18px}}.enterprise-reminder{margin:14px 0 18px;padding:14px 16px;border:1px solid #f3b4bc;border-left:5px solid #ea2f45;border-radius:16px;background:linear-gradient(180deg,#fff3f5,#ffe8ec);box-shadow:0 6px 18px #ea2f4514}.enterprise-reminder .enterprise-reminder-head{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;margin-bottom:8px;color:#8d1225}.enterprise-reminder .enterprise-reminder-head strong{color:#8d1225}.enterprise-reminder .enterprise-reminder-head .muted{color:#b24154!important}.enterprise-reminder .enterprise-reminder-row{display:flex;flex-wrap:wrap;gap:8px 12px;align-items:center;padding:6px 0;color:#7a2e38}.enterprise-reminder .enterprise-reminder-row+.enterprise-reminder-row{border-top:1px dashed rgba(234,47,69,.18)}.enterprise-reminder .enterprise-reminder-link{appearance:none;border:0;background:#fff;border:1px solid #f2c2c9;color:#7f1023;border-radius:8px;padding:2px 8px;cursor:pointer;font:inherit;font-weight:700;line-height:1.35;box-shadow:0 1px 4px #ea2f450d}.enterprise-reminder .enterprise-reminder-link:hover{background:#fff7f8;border-color:#ec98a4}.enterprise-task-board.warning{background:linear-gradient(180deg,#fffafb,#fff6f8);border:1px solid #f4e0e6;border-left:4px solid #e7a2b4;box-shadow:0 5px 17px #a7445f0e}.enterprise-task-row.overdue{background:linear-gradient(180deg,#ffe1e6,#ffd1da);border:1px solid #ec5366;border-left:5px solid #e31e39;box-shadow:0 2px 8px #e11e3913}.enterprise-task-row.overdue .enterprise-task-info strong{color:#92112b}.enterprise-task-row.overdue .enterprise-task-info small{color:#a7243d}.enterprise-task-row.due-soon{background:linear-gradient(180deg,#fff6e9,#ffe8c8);border:1px solid #edbd80;border-left:5px solid #ed8d24;box-shadow:0 2px 8px #cd7c120d}.enterprise-task-row.due-soon .enterprise-task-info strong{color:#865019}.enterprise-task-row.due-soon .enterprise-task-info small{color:#966427}.enterprise-task-warning-icon{display:inline-block;margin-right:5px;line-height:1;vertical-align:-1px;font-size:14px;white-space:nowrap}.enterprise-reminder.due-soon{background:linear-gradient(180deg,#fff8ed,#ffebce);border:1px solid #efc990;border-left:5px solid #ed8d24;box-shadow:0 5px 16px #cd7c1211}.enterprise-reminder.due-soon .enterprise-reminder-head,.enterprise-reminder.due-soon .enterprise-reminder-head strong{color:#885019}.enterprise-reminder.due-soon .enterprise-reminder-head .muted{color:#986727!important}.enterprise-reminder.due-soon .enterprise-reminder-row{color:#865725}.enterprise-reminder.due-soon .enterprise-reminder-row+.enterprise-reminder-row{border-top-color:#cc852933}.enterprise-reminder.due-soon .enterprise-reminder-link{background:#fffdf8;color:#7e4b12;border-color:#e6c696;box-shadow:0 1px 4px #a168160d}.enterprise-reminder.due-soon .enterprise-reminder-link:hover{background:#fff3de;border-color:#d8a966}.pea-print-note{border:1px solid #f0dcc0;border-left:4px solid #e4a43a;background:#fffaf0;border-radius:12px;padding:12px 15px;color:#69461d;line-height:1.5;margin:12px 0 18px}.pea-print-help{color:#65738d;font-size:13px;line-height:1.5;margin:6px 0 14px}.pea-print-controls{display:flex;gap:9px;align-items:center;flex-wrap:wrap;margin:12px 0 16px}.pea-print-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(270px,1fr));gap:13px}.pea-print-card{border:1px solid #e0e7f2;background:#fff;border-radius:15px;padding:16px;box-shadow:0 4px 12px #142f690a}.pea-print-card h3{margin:0;color:#183d75;font-size:17px}.pea-print-card p{margin:7px 0;color:#586b89;line-height:1.46}.pea-print-card .stamp{font-size:12px;color:#71809c}.pea-print-status{display:inline-block;border-radius:22px;padding:4px 9px;font-weight:700;font-size:12px;background:#edf1f9;color:#304873;margin:8px 0}.pea-print-status.new{background:#eef2ff;color:#405a9c}.pea-print-status.accepted{background:#e4f0ff;color:#255990}.pea-print-status.production{background:#fff0d5;color:#94580c}.pea-print-status.returned{background:#ffe0e5;color:#ab2137}.pea-print-status.ready,.pea-print-status.issued{background:#e1f5ed;color:#126846}.pea-print-card.overdue{border-left:4px solid #df3049}.pea-print-card .actions{display:flex;gap:7px;flex-wrap:wrap;margin-top:10px}.pea-print-form{padding:18px;border-radius:14px;background:#fafdff;border:1px solid #dbe6f5;margin:12px 0 18px}.pea-print-form .grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:11px}.pea-print-form label{font-size:13px;font-weight:700;display:block;color:#233c6d}.pea-print-form input,.pea-print-form select,.pea-print-form textarea{width:100%;padding:11px;margin-top:5px;border-radius:9px;border:1px solid #c8d5eb;background:#fff;color:#243656}.pea-print-form textarea{min-height:65px;resize:vertical}.pea-print-form .actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}.pea-print-history{font-size:12px;color:#576581;line-height:1.6;background:#f6f8fc;border-radius:10px;padding:9px 12px;margin-top:8px}.pea-print-history div+div{border-top:1px solid #e5eaf2;padding-top:5px;margin-top:5px}.pea-print-detail{margin:10px 0 4px;border-top:1px dashed #dce4ef;padding-top:9px;font-size:13px;line-height:1.65}.pea-print-detail ol{padding-left:21px;margin:7px 0}.pea-print-detail li{overflow-wrap:anywhere}@media(max-width:700px){.pea-print-form{padding:13px}.pea-print-controls .btn{flex:1}.pea-print-grid{grid-template-columns:1fr}}.pea-version-label{display:inline-block;vertical-align:middle;color:#fff;background:#e52d38;border-radius:7px;padding:3px 6px;font-size:12px;font-weight:800;letter-spacing:.5px;margin-left:4px}.debt-deadline-board{margin:0 0 17px;padding:17px 20px;border:1px solid #f0dfe5;border-left:4px solid #e4a4b5;border-radius:15px;background:linear-gradient(180deg,#fffafb,#fff6f8);box-shadow:0 5px 17px #962b4c0d}.debt-deadline-board h3{margin:0 0 7px;font-size:17px;color:#273965}.debt-deadline-board .debt-deadline-note{font-size:12px;line-height:1.5;color:#64728f;margin:0 0 11px}.debt-deadline-list{display:grid;gap:9px}.debt-deadline-row{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;padding:12px 14px;border-radius:11px;min-width:0}.debt-deadline-row.overdue{background:linear-gradient(180deg,#ffe4e9,#ffd4dc);border:1px solid #e9576b;border-left:5px solid #e2253f}.debt-deadline-row.due-soon{background:linear-gradient(180deg,#fff8ed,#ffe9ce);border:1px solid #edbd80;border-left:5px solid #e79229}.debt-deadline-info{flex:1 1 360px;min-width:210px}.debt-deadline-title{display:flex;align-items:center;gap:6px;flex-wrap:wrap;color:#24385e;font-size:14px;font-weight:750}.debt-deadline-row.overdue .debt-deadline-title{color:#91162d}.debt-deadline-row.due-soon .debt-deadline-title{color:#845015}.debt-deadline-info small{display:block;margin-top:5px;color:#736378;font-size:12px;line-height:1.45}.debt-deadline-row.overdue .debt-deadline-info small{color:#96364a}.debt-deadline-row.due-soon .debt-deadline-info small{color:#8d632d}.debt-deadline-client{font:inherit;font-weight:750;color:inherit;background:none;border:0;text-align:left;padding:0;cursor:pointer;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}.debt-deadline-client:hover{filter:brightness(.73)}.debt-deadline-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.debt-deadline-sum{font-weight:800;font-size:14px;font-variant-numeric:tabular-nums;white-space:nowrap}.debt-deadline-row.overdue .debt-deadline-sum{color:#a91d37}.debt-deadline-row.due-soon .debt-deadline-sum{color:#845015}.debt-deadline-actions .btn{padding:8px 12px;white-space:nowrap}@media(max-width:680px){.debt-deadline-board{padding:13px 12px}.debt-deadline-row{padding:11px}.debt-deadline-info{flex-basis:100%;min-width:0}.debt-deadline-actions{width:100%;justify-content:space-between}}.pea-notice-fold{padding:0!important;overflow:hidden}.pea-notice-fold>.pea-notice-fold-summary{list-style:none;display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:62px;padding:12px 19px;cursor:pointer;user-select:none}.pea-notice-fold>.pea-notice-fold-summary::-webkit-details-marker{display:none}.pea-notice-fold>.pea-notice-fold-summary::marker{content:""}.pea-notice-fold>.pea-notice-fold-summary:focus-visible{outline:3px solid #4b8bd5;outline-offset:-4px;border-radius:11px}.pea-notice-fold .pea-notice-fold-left{display:flex;flex-direction:column;gap:5px;min-width:0;flex:1}.pea-notice-fold .pea-notice-fold-title{font-size:17px;line-height:1.3;font-weight:750;color:#273965}.pea-notice-fold .pea-notice-fold-subtitle{display:flex;flex-wrap:wrap;gap:5px 13px;font-size:12px;line-height:1.35;color:#6c7893}.pea-notice-fold .pea-notice-fold-subtitle .pea-notice-count-overdue{color:#b01e35;font-weight:750}.pea-notice-fold .pea-notice-fold-subtitle .pea-notice-count-soon{color:#996018;font-weight:750}.pea-notice-fold .pea-notice-fold-toggle{flex:0 0 auto;display:flex;align-items:center;gap:7px;color:#405c96;font-size:12px;font-weight:750;white-space:nowrap;background:#ffffffb3;border:1px solid #dbe2f0;border-radius:9px;padding:8px 10px}.pea-notice-fold .pea-notice-fold-toggle:before{content:"Развернуть"}.pea-notice-fold[open] .pea-notice-fold-toggle:before{content:"Свернуть"}.pea-notice-fold .pea-notice-fold-chevron{width:10px;height:10px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg) translateY(-2px);transition:transform .15s ease;display:block}.pea-notice-fold[open] .pea-notice-fold-chevron{transform:rotate(225deg) translateY(-1px)}.pea-notice-fold .pea-notice-fold-body{padding:0 19px 15px}.pea-notice-fold[open]>.pea-notice-fold-summary{border-bottom:1px solid rgba(102,120,155,.12);margin-bottom:12px}.pea-notice-fold .pea-notice-fold-body .debt-deadline-note{margin:0 0 12px}.pea-notice-fold .pea-notice-fold-body .enterprise-task-list{margin-top:0}.pea-notice-fold .pea-notice-fold-body .enterprise-reminder-row{margin-top:3px}@media(max-width:650px){.pea-notice-fold>.pea-notice-fold-summary{padding:11px 13px;gap:8px;min-height:60px}.pea-notice-fold .pea-notice-fold-title{font-size:15px}.pea-notice-fold .pea-notice-fold-subtitle{font-size:11px;gap:3px 8px}.pea-notice-fold .pea-notice-fold-toggle{font-size:0;gap:0;padding:7px 10px;min-width:33px;justify-content:center}.pea-notice-fold .pea-notice-fold-chevron{width:9px;height:9px}.pea-notice-fold .pea-notice-fold-body{padding:0 12px 12px}}@media(prefers-reduced-motion:reduce){.pea-notice-fold .pea-notice-fold-chevron{transition:none}}.row-action-menu{min-width:250px;max-width:min(310px,calc(100vw - 16px));padding:9px;background:linear-gradient(180deg,#fff,#fbfcff);border:1px solid #dce5f4;border-radius:17px;box-shadow:0 22px 65px #172b5e30,0 4px 15px #172b5e14;animation:peaMenuIn .14s ease-out;overflow:visible}@keyframes peaMenuIn{0%{opacity:0;transform:translateY(-5px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}.row-action-menu-heading{font-size:11px;font-weight:800;letter-spacing:.7px;color:#71819e;padding:10px 12px 11px;margin-bottom:7px;border-bottom:1px solid #e9edf5}.row-action-menu .row-action-entry{gap:11px;min-height:47px;padding:8px 10px;margin:2px 0;border:1px solid transparent;border-radius:11px;color:#233969;font-size:13px;font-weight:720;transition:background .15s,border-color .15s,transform .15s}.row-action-menu .row-action-entry:hover,.row-action-menu .row-action-entry:focus-visible{background:#edf3ff;border-color:#d8e5fb;color:#183a7c;transform:translate(1px)}.row-action-menu .row-action-icon{width:34px;height:34px;flex:0 0 34px;display:grid;place-items:center;border-radius:10px;font-size:17px;line-height:1;background:#eff3fc;color:#31558e;border:1px solid #e3eaf7}.row-action-menu .row-action-entry:hover .row-action-icon,.row-action-menu .row-action-entry:focus-visible .row-action-icon{background:#e4edff;border-color:#d1def6}.row-action-menu .row-action-entry-danger{color:#c42e43;margin-top:8px;border-top:1px solid #f3dce0;border-radius:0 0 10px 10px}.row-action-menu .row-action-entry-danger .row-action-icon{color:#b82338;background:#fff0f2;border-color:#f9dce2}.row-action-menu .row-action-entry-danger:hover,.row-action-menu .row-action-entry-danger:focus-visible{background:#fff0f2;border-color:#f7d6dc;color:#a91b30}.row-action-menu-note{font-size:11px;line-height:1.35;color:#8390a9;padding:8px 12px 5px;border-top:1px solid #edf0f7;margin-top:6px}.actions button.row-action-plus{transition:background .18s,box-shadow .18s,transform .18s,border-color .18s}@media(max-width:600px){.row-action-menu{min-width:240px;max-width:calc(100vw - 20px)}.row-action-menu .row-action-entry{min-height:46px}}@media(prefers-reduced-motion:reduce){.row-action-menu{animation:none}.row-action-menu .row-action-entry{transition:none}}.pea-print-attachment-picker{margin-top:14px;padding:15px;background:#f4f7ff;border:1px dashed #9cb4dd;border-radius:13px}.pea-print-attachment-picker input[type=file]{width:100%;max-width:100%;box-sizing:border-box;font-size:13px;background:#fff}.pea-print-attachment-picker .pea-print-help{margin:7px 0 0}.pea-print-file-list{display:flex;flex-wrap:wrap;gap:7px;margin:8px 0 4px}.pea-print-file-chip{display:inline-flex;gap:7px;align-items:center;border:1px solid #dce6f5;background:#f3f7ff;border-radius:8px;padding:6px 9px;color:#244475;font-size:12px}.pea-print-file-chip button{border:0;background:transparent;color:#d8243d;cursor:pointer;font-size:12px;font-weight:700}.pea-print-source-note{color:#476187;font-size:12px;margin-top:7px}@media(max-width:700px){.pea-print-attachment-picker{padding:11px}}.pea-print-search-grid{display:grid;grid-template-columns:minmax(190px,1fr) minmax(240px,2fr);gap:12px;margin-bottom:12px}.pea-print-source-select{padding:12px 14px;background:linear-gradient(135deg,#f2f6ff,#fff);border:1px solid #dce5f4;border-radius:12px;margin-bottom:13px}.pea-print-source-select label{display:block}.pea-print-source-select select{width:100%;margin-top:6px;background:#fff}.pea-print-selection-help{display:flex;flex-wrap:wrap;gap:9px 14px;color:#6d7b99;font-size:12px;margin-top:7px}#peaPrintNoMatches{color:#c22d43}#peaPrintNoMatches[hidden]{display:none!important}#peaPrintSearch{width:100%;min-width:0}#peaPrintCreate .grid{grid-template-columns:repeat(auto-fit,minmax(210px,1fr))}#peaPrintSource:focus,#peaPrintCourse:focus,#peaPrintGroup:focus,#peaPrintSearch:focus{outline:2px solid rgba(54,114,202,.18);outline-offset:1px;border-color:#477bc5}@media(max-width:680px){.pea-print-search-grid{grid-template-columns:1fr}}
