html,body,#root{width:100%;min-width:100%;min-height:100vh;margin:0;padding:0}*{box-sizing:border-box}body{color:#0f172a;background:#eef3f8;font-family:Arial,sans-serif}.app{width:100%;min-height:100vh}.topbar{color:#fff;background:#1f3f77;padding:10px 14px}.topbar h1{margin:0;font-size:20px}.topbar p{margin:3px 0 0;font-size:12px}.layout{grid-template-columns:170px minmax(0,1fr);width:100%;min-height:calc(100vh - 58px);display:grid}.sidebar{background:#fff;border-right:1px solid #b8cde3;flex-direction:column;gap:6px;padding:8px;display:flex}.sidebar button{text-align:left;cursor:pointer;color:#1f3f77;background:#eef6ff;border:1px solid #b8cde3;border-radius:5px;padding:8px;font-weight:700}.content{width:100%;min-width:0;overflow:hidden}.sales-screen{width:100%;padding:4px}.fixed-sales-top{z-index:10;background:#eef3f8;padding-bottom:4px;position:sticky;top:0}.summary-title{color:#176534;background:#f8fbff;border:1px solid #ccd7e5;border-radius:6px;margin-bottom:5px;padding:6px 10px;font-weight:800}.finance-cards{grid-template-columns:repeat(4,minmax(220px,1fr));gap:8px;margin-bottom:6px;display:grid}.finance-card{background:#f8fbff;border:1px solid #b8cde3;border-left:5px solid #1f5a86;border-radius:10px;padding:9px}.finance-card.orange{border-left-color:#f59e0b}.finance-card-head{color:#166534;justify-content:space-between;margin-bottom:7px;display:flex}.finance-card-head span{color:#48627f;background:#e8eef7;border-radius:999px;padding:3px 8px;font-size:10px}.finance-values{grid-template-columns:1fr 1fr;gap:8px;display:grid}.finance-values div{background:#eef4fb;border:1px solid #d2deeb;border-radius:8px;padding:7px}.finance-values small{color:#1f3f77;font-size:11px;font-weight:800;display:block}.finance-values strong{font-size:19px}.positive{color:#166534}.negative{color:#b91c1c}.main-action-row{background:#f8fbff;border:1px solid #ccd7e5;align-items:center;gap:10px;margin-bottom:6px;padding:8px;display:flex}.report-btn,.docs-btn{border-radius:5px;padding:7px 12px;font-weight:800}.report-btn{color:#0f3e75;background:#e2f1ff;border:1px solid #7bb2e8}.docs-btn.red{color:#991b1b;background:#fee2e2;border:2px solid #ef4444}.docs-btn.green{color:#166534;background:#dcfce7;border:2px solid #22c55e}.new-sale-big-btn{color:#fff;background:linear-gradient(#2f6fb0,#1f3f77);border:3px solid #1f3f77;border-radius:10px;margin-left:auto;padding:12px 28px;font-size:19px;font-weight:900;box-shadow:0 3px 8px #0f172a38}.global-search,.toolbar,.period-bar{background:#f8fbff;border:1px solid #ccd7e5;margin-bottom:5px;padding:7px}.global-search{grid-template-columns:145px 1fr 145px;align-items:center;gap:6px;display:grid}.toolbar,.period-bar{align-items:center;gap:7px;display:flex}.global-search input,.period-bar input,.period-bar select,.filter-row input,.filter-row select,.sales-table td input,.sales-table td select,.modal input,.modal select{border:1px solid #9fb4ce;border-radius:4px;height:26px;padding:2px 6px}button{cursor:pointer}.global-search button,.toolbar button,.period-bar button{background:#fff;border:1px solid #9fb4ce;border-radius:4px;height:29px}.toolbar button:first-child{color:#0f3e75;background:#e2f1ff;border-color:#79aee3;font-weight:800}.period-bar label{color:#334155;flex-direction:column;font-size:11px;display:flex}.sales-table-wrap{background:#fff;border:1px solid #9fc4e7;width:100%;max-height:calc(100vh - 345px);overflow:scroll auto}.sales-table{border-collapse:collapse;width:2050px;min-width:2050px;font-size:12px}.sales-table th{z-index:3;color:#10233f;white-space:nowrap;background:#d8e7f6;border:1px solid #9fc4e7;padding:5px;font-weight:800;position:sticky;top:0}.sales-table thead tr.filter-row th{z-index:2;background:#eef5fd;padding:4px;top:27px}.filter-row input,.filter-row select{width:100%;margin-bottom:3px;font-size:11px;display:block}.sales-table td{white-space:nowrap;border:1px solid #6ab04c;height:26px;padding:5px}.sales-table td input,.sales-table td select{width:100%;min-width:90px}.row-ticket td{background:#fff}.row-hotel td,.row-transfer td,.row-ferry td,.row-insurance td,.row-package-expense td{color:#fff;background:#1f5a86}.row-software td{background:#d1d5db}.row-editing td{color:#fff;background:#1f5a86!important}.row-editing td input,.row-editing td select{color:#0f172a;background:#fff}.pill{color:#111827;background:#fff;border-radius:999px;margin-right:4px;padding:2px 7px;font-weight:800;display:inline-block}.pill.dark{color:#fff;background:#0f172a;font-size:10px}.yes{color:#fff;background:#1f5a86;border-radius:5px;padding:2px 6px;font-weight:800;display:inline-block}.paid-missing,.missing-date{color:#7f1d1d!important;background:#ffdede!important;border:1px solid #ef4444!important}.missing-doc{background:#cfe2ff!important}.row-actions{color:#111827!important;background:#f8fbff!important}.row-actions button{background:#fff;border:1px solid #9fb4ce;border-radius:4px;margin-right:4px;padding:3px 6px;font-size:11px}.row-actions .save{color:#166534;background:#dcfce7;border-color:#22c55e;font-weight:800}.row-actions .delete{color:#dc2626;border-color:#ef4444}.empty{text-align:center;color:#64748b;padding:20px!important}.modal-backdrop{z-index:1000;background:#0f172a73;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.modal{background:#fff;border:1px solid #9fb4ce;border-radius:12px;width:520px;padding:18px;box-shadow:0 8px 30px #0f172a59}.modal h2{color:#1f3f77;margin:0 0 14px}.modal label{color:#334155;flex-direction:column;margin-bottom:10px;font-size:13px;font-weight:700;display:flex}.modal input,.modal select{width:100%;margin-top:4px}.modal-actions{justify-content:flex-end;gap:8px;margin-top:12px;display:flex}.modal-actions button{background:#fff;border:1px solid #9fb4ce;border-radius:6px;padding:8px 14px;font-weight:800}.modal-actions .save{color:#166534;background:#dcfce7;border-color:#22c55e}.autocomplete-wrap input{width:100%}.autocomplete-list{z-index:5000;background:#fff;border:1px solid #7aa7d8;border-radius:6px;max-height:210px;position:absolute;top:29px;left:0;right:0;overflow-y:auto;box-shadow:0 8px 18px #0f172a38}.autocomplete-list button{text-align:left;color:#0f172a;background:#fff;border:0;border-bottom:1px solid #e5edf6;width:100%;height:auto;min-height:28px;padding:6px 8px;font-size:12px;display:block}.autocomplete-list button:hover{color:#0f3e75;background:#e2f1ff;font-weight:800}.erp-big-cell .autocomplete-wrap,.modal .autocomplete-wrap{width:100%}.brand{align-items:center;gap:12px;display:flex}.brand-logo{object-fit:contain;background:#fff;border-radius:8px;width:46px;height:46px;padding:4px}.module-placeholder,.simple-module{padding:14px}.sidebar button.active{color:#fff;background:#1f5a86;border-color:#1f5a86}.module-header{background:#f8fbff;border:1px solid #ccd7e5;border-radius:10px;margin-bottom:10px;padding:12px}.module-header h2{color:#10233f;margin:0 0 6px}.module-header p{color:#64748b;margin:0;font-weight:700}.module-filters{flex-wrap:wrap;gap:8px;margin-top:10px;display:flex}.module-filters input,.module-filters select,.module-filters button,.client-form-grid input,.client-form-grid select,.settings-grid input,.settings-grid textarea,.settings-grid select,.person-add input,.person-add button{box-sizing:border-box;background:#fff;border:1px solid #9fb4ce;border-radius:6px;height:34px;padding:4px 8px}.module-filters button,.person-add button{color:#0f3e75;cursor:pointer;background:#e2f1ff;font-weight:900}.module-cards{gap:10px;margin-bottom:10px;display:grid}.module-cards.two{grid-template-columns:repeat(2,minmax(230px,1fr))}.module-cards div{background:#f8fbff;border:1px solid #ccd7e5;border-left:5px solid #1f5a86;border-radius:10px;padding:12px}.module-cards small{color:#1f3f77;font-weight:900;display:block}.module-cards strong{margin-top:4px;font-size:24px;display:block}.module-table-wrap{background:#fff;border:1px solid #9fc4e7;max-height:calc(100vh - 270px);overflow:auto}.module-table-wrap.small{max-height:260px}.module-table{border-collapse:collapse;width:100%;font-size:14px}.module-table th{color:#10233f;white-space:nowrap;background:#d8e7f6;border:1px solid #9fc4e7;padding:8px}.module-table td{white-space:nowrap;border:1px solid #9fc4e7;padding:8px}.module-table tbody tr{cursor:pointer}.module-table tbody tr:hover{background:#eef6ff}.module-modal-backdrop{z-index:9000;background:#0f172a73;justify-content:center;align-items:center;padding:18px;display:flex;position:fixed;inset:0}.module-modal{background:#f8fbff;border:1px solid #9fb4ce;border-radius:12px;max-height:92vh;padding:12px;overflow:auto;box-shadow:0 14px 40px #0f172a59}.module-modal.wide{width:96vw;max-width:1450px}.module-modal-title{color:#fff;background:#1f5a86;border-radius:12px 12px 0 0;justify-content:space-between;align-items:center;margin:-12px -12px 12px;padding:10px 12px;display:flex}.module-modal-title h3{margin:0}.module-modal-title button{cursor:pointer;border:0;border-radius:6px;width:34px;height:34px;font-size:22px;font-weight:900}.client-form-grid,.settings-grid{grid-template-columns:repeat(3,minmax(220px,1fr));gap:10px;margin-bottom:12px;display:grid}.settings-grid section{background:#f8fbff;border:1px solid #ccd7e5;border-radius:10px;padding:12px}.client-form-grid label,.settings-grid label{color:#334155;flex-direction:column;gap:5px;font-weight:900;display:flex}.settings-grid textarea{resize:vertical;height:82px}.person-box,.settings-preview{background:#fff;border:1px solid #ccd7e5;border-radius:10px;margin:12px 0;padding:12px}.person-add{grid-template-columns:1fr 180px 140px;gap:8px;margin-bottom:10px;display:grid}.type-check-grid{background:#fff;border:1px solid #ccd7e5;border-radius:10px;grid-template-columns:repeat(5,minmax(160px,1fr));gap:8px;padding:10px;display:grid}.type-check-grid label{font-weight:800}.color-dot{border:1px solid #64748b;border-radius:4px;width:26px;height:18px;display:inline-block}.index-chip-row{background:#fff;border:1px solid #ccd7e5;border-radius:10px;flex-wrap:wrap;gap:6px;padding:10px;display:flex}.index-chip-row button{color:#0f3e75;background:#e2f1ff;border:1px solid #9fb4ce;border-radius:999px;padding:5px 10px;font-weight:900}.simple-module{background:radial-gradient(circle at 0 0,#28cefb21,#0000 30%),linear-gradient(#f8fbff 0%,#eef3f8 100%);min-height:100%}.simple-module .module-header{background:linear-gradient(135deg,#fff 0%,#eef7ff 100%);border:1px solid #b8cde3;border-left:6px solid #1f5a86;box-shadow:0 6px 18px #0f172a14}.simple-module .module-header h2{letter-spacing:.2px;color:#10233f;font-size:24px;font-weight:900}.simple-module .module-filters{background:#ffffffb8;border:1px solid #d6e4f2;border-radius:10px;padding:9px}.simple-module .module-filters input,.simple-module .module-filters select,.simple-module .module-filters button{color:#0f172a;background:#fff;border:1px solid #9fc4e7;border-radius:8px;font-weight:700;box-shadow:inset 0 1px 2px #0f172a0a}.simple-module .module-filters button{color:#0f3e75;background:linear-gradient(#e8f5ff,#d7ebff);border-color:#7bb2e8;font-weight:900}.simple-module .module-cards div{background:linear-gradient(135deg,#fff,#eef7ff);border:1px solid #b8cde3;border-left:7px solid #1f5a86;box-shadow:0 8px 20px #0f172a17}.simple-module .module-cards small{text-transform:uppercase;letter-spacing:.5px;font-size:11px}.simple-module .module-cards strong{color:#0f3e75;font-size:26px}.simple-module .module-table-wrap{background:#fff;border:1px solid #9fc4e7;border-radius:12px;overflow:auto;box-shadow:0 10px 26px #0f172a1a}.simple-module .module-table{border-collapse:separate;border-spacing:0;font-size:14px}.simple-module .module-table th{z-index:2;color:#fff;text-transform:uppercase;letter-spacing:.35px;background:linear-gradient(#1f5a86,#173f6a);border:0;border-right:1px solid #ffffff2e;padding:10px 9px;font-size:12px;position:sticky;top:0}.simple-module .module-table th:first-child{border-top-left-radius:10px}.simple-module .module-table th:last-child{border-top-right-radius:10px}.simple-module .module-table td{color:#10233f;border:0;border-bottom:1px solid #dce8f5;padding:9px;font-weight:650}.simple-module .module-table tbody tr:nth-child(odd) td{background:#fff}.simple-module .module-table tbody tr:nth-child(2n) td{background:#f4f9ff}.simple-module .module-table tbody tr:hover td{background:#e6f3ff;box-shadow:inset 0 1px #7bb2e873,inset 0 -1px #7bb2e873}.simple-module .module-table td:nth-child(2),.simple-module .module-table td:nth-child(3){color:#0f3e75;font-weight:900}.simple-module .module-table td:nth-child(3){color:#166534}.simple-module .module-table input[type=checkbox]{accent-color:#1f5a86;cursor:pointer;width:17px;height:17px}.table-name-button{font:inherit;color:#123d70;cursor:pointer;text-align:left;background:0 0;border:none;align-items:center;gap:6px;margin:0;padding:0;font-weight:900;display:inline-flex}.table-name-button:before{content:"●";color:#28cefb;text-shadow:0 0 8px #28cefb73;font-size:10px}.table-name-button:hover{color:#0a58ca;text-decoration:underline}.table-name-button:focus{outline:none}.simple-module .color-dot{box-shadow:inset 0 0 0 1px #0f172a1f,0 2px 6px #0f172a1f}.simple-module .module-modal{background:linear-gradient(#f8fbff,#fff)}.simple-module .module-modal-title{background:linear-gradient(135deg,#1f5a86,#10233f)}.simple-module .client-form-grid,.simple-module .type-check-grid,.simple-module .person-box,.simple-module .settings-preview,.simple-module .index-chip-row{box-shadow:0 5px 14px #0f172a0f}.module-cards.three{grid-template-columns:repeat(3,minmax(220px,1fr))}.index-income,.index-profit{color:#166534!important;font-weight:900!important}.index-expense,.index-loss{color:#b91c1c!important;font-weight:900!important}.status-active,.status-closed,.status-danger{border-radius:999px;align-items:center;padding:3px 9px;font-size:12px;font-weight:900;display:inline-flex}.status-active{color:#166534;background:#dcfce7;border:1px solid #22c55e}.status-closed{color:#374151;background:#e5e7eb;border:1px solid #9ca3af}.status-danger{color:#991b1b;background:#fee2e2;border:1px solid #ef4444}.money-edit-input{color:#0f172a;background:#fff;border:1px solid #9fc4e7;border-radius:6px;width:95px;height:28px;padding:2px 6px;font-weight:800}.mini-action-btn{color:#0f3e75;cursor:pointer;background:#e2f1ff;border:1px solid #7bb2e8;border-radius:6px;padding:5px 9px;font-weight:900}.bsp-row-paid td{background:#e8f8ee!important}.bsp-row-unpaid td{background:#fff1f1!important}.segments-total-row td{font-size:16px;font-weight:900;color:#10233f!important;background:#d8e7f6!important}.index-sale-group-row td{border-top:3px solid #1f5a86!important}.document-links-wrap{flex-wrap:wrap;align-items:center;gap:8px;display:inline-flex}.document-link-btn{color:#0f3e75;cursor:pointer;background:#e2f1ff;border:1px solid #7bb2e8;border-radius:6px;padding:3px 8px;font-weight:900}.document-link-btn:hover{color:#991b1b;background:#fee2e2;border-color:#ef4444}.paid-date-input{color:#7f1d1d;background:#fff5f5;border:1px solid #ef4444;border-radius:6px;height:28px;padding:2px 6px;font-weight:900}.inline-filter-label{color:#334155;flex-direction:column;gap:4px;font-size:11px;font-weight:900;display:flex}.inline-filter-label input{border:1px solid #9fc4e7;border-radius:8px;height:34px;padding:4px 8px;font-weight:900}.muted-year{color:#64748b;margin-top:2px;font-size:11px;font-weight:800;display:block}.unpaid-row-just-paid td{color:#166534!important;background:#dcfce7!important}.unpaid-row-just-paid input[type=date]{font-weight:800;color:#166534!important;background:#dcfce7!important;border:2px solid #22c55e!important}.unpaid-row-just-paid input[type=date]::-webkit-datetime-edit{color:#166534!important}.unpaid-row-just-paid input[type=date]::-webkit-calendar-picker-indicator{opacity:.8;filter:hue-rotate(60deg)}.unpaid-row-just-paid .required,.unpaid-row-just-paid .date-error,.unpaid-row-just-paid .error{color:#166534!important;background:#dcfce7!important;border-color:#22c55e!important}.module-cards.four{grid-template-columns:repeat(4,minmax(160px,1fr))}.refund-form-grid{grid-template-columns:repeat(3,minmax(180px,1fr));gap:10px;margin:12px 0;display:grid}.refund-form-grid label{color:#10233f;flex-direction:column;gap:5px;font-weight:900;display:flex}.refund-form-grid input,.refund-form-grid select,.refund-form-grid textarea,.refund-table input,.refund-table select{background:#fff;border:1px solid #9fc4e7;border-radius:7px;padding:6px 8px;font-weight:800}.refund-form-grid textarea{min-height:80px}.refund-form-grid .wide-field{grid-column:1/-1}.finance-hero-card{grid-template-columns:2fr 1fr;gap:14px;margin:14px 0;display:grid}.finance-hero-card>div{background:linear-gradient(135deg,#eef7ff,#fff);border:2px solid #9fc4e7;border-radius:14px;padding:18px;box-shadow:0 10px 26px #0f172a1a}.finance-hero-card small{color:#64748b;margin-bottom:6px;font-weight:900;display:block}.finance-hero-card strong{color:#10233f;font-size:24px}.finance-grid{grid-template-columns:1fr 1.2fr;gap:16px;margin-top:16px;display:grid}.finance-panel{background:#fff;border:1px solid #cbd5e1;border-radius:14px;padding:14px;box-shadow:0 8px 22px #0f172a14}.finance-panel h3{color:#10233f;margin:0 0 12px}.finance-bar-row{grid-template-columns:54px 1fr 105px;align-items:center;gap:8px;margin:9px 0;font-weight:900;display:grid}.finance-bar-track{background:#e5e7eb;border-radius:999px;height:20px;overflow:hidden}.finance-bar{background:linear-gradient(90deg,#9fc4e7,#1f5a86);border-radius:999px;height:100%}@media (width<=1100px){.module-cards.four,.finance-hero-card,.finance-grid,.refund-form-grid{grid-template-columns:1fr}}.finance-module .module-header{background:linear-gradient(135deg,#fff,#eef7ff);border:1px solid #c7dff4;border-radius:16px;padding:16px;box-shadow:0 10px 26px #0f172a14}.finance-hero-card{z-index:5;position:sticky;top:0}.finance-hero-card>div{color:#fff;background:linear-gradient(135deg,#10233f,#1f5a86)!important;border:0!important}.finance-hero-card small,.finance-hero-card strong{color:#fff!important}.finance-hero-card .positive{color:#bbf7d0!important}.finance-hero-card .negative{color:#fecaca!important}.finance-chart-strip{grid-template-columns:.8fr 1.2fr;gap:16px;margin-top:16px;display:grid}.finance-donut-card,.finance-spark-card{background:#fff;border:1px solid #cbd5e1;border-radius:16px;padding:16px;box-shadow:0 12px 30px #0f172a1a}.finance-donut-card h3,.finance-spark-card h3{color:#10233f;margin:0 0 12px}.finance-donut{border-radius:50%;justify-content:center;align-items:center;width:190px;height:190px;margin:8px auto 14px;display:flex;box-shadow:inset 0 0 0 22px #fff,0 12px 24px #0f172a1f}.finance-donut span{text-align:center;color:#10233f;background:#fff;border-radius:50%;justify-content:center;align-items:center;width:116px;height:116px;font-size:15px;font-weight:900;display:flex;box-shadow:0 4px 12px #0f172a14}.finance-legend{color:#334155;flex-wrap:wrap;justify-content:center;gap:12px;font-weight:900;display:flex}.finance-legend b{border-radius:999px;width:11px;height:11px;margin-right:5px;display:inline-block}.finance-kpi-lines{grid-template-columns:repeat(2,minmax(160px,1fr));gap:12px;display:grid}.finance-kpi-lines div{background:linear-gradient(135deg,#fff,#f8fbff);border:1px solid #dbe8f5;border-radius:14px;padding:13px}.finance-kpi-lines span{color:#64748b;margin-bottom:6px;font-size:12px;font-weight:900;display:block}.finance-kpi-lines b{color:#10233f;font-size:18px}.finance-panel{background:linear-gradient(135deg,#fff,#f8fbff)!important}@media (width<=1100px){.finance-chart-strip{grid-template-columns:1fr}}.finance-compare-custom{background:#fff;border:1px solid #cbd5e1;border-radius:14px;grid-template-columns:repeat(4,minmax(160px,1fr));gap:10px;margin:12px 0;padding:12px;display:grid}.finance-compare-custom label{color:#10233f;flex-direction:column;gap:5px;font-weight:900;display:flex}.finance-compare-custom input{border:1px solid #9fc4e7;border-radius:8px;padding:7px 9px;font-weight:900}.legend-blue{background:#1f5a86!important}.legend-cyan{background:#f59e0b!important}.legend-grey{background:#16a34a!important}.finance-kpi-two{grid-template-columns:repeat(2,minmax(220px,1fr))!important}.finance-bar{background:linear-gradient(90deg,#f59e0b,#1f5a86)!important}.finance-bar-row{grid-template-columns:120px 1fr 115px!important}@media (width<=1100px){.finance-compare-custom,.finance-kpi-two{grid-template-columns:1fr!important}}.module-cards.five{grid-template-columns:repeat(5,minmax(150px,1fr))}.bsp-module .module-header{background:linear-gradient(135deg,#fff,#eef7ff);border:1px solid #c7dff4;border-radius:16px;padding:16px;box-shadow:0 10px 26px #0f172a14}.bsp-formula-card{color:#10233f;background:#f8fbff;border:1px solid #9fc4e7;border-left:6px solid #1f5a86;border-radius:12px;margin:12px 0;padding:12px 14px;font-weight:900}.bsp-table .bsp-period-sub{color:#64748b;margin-top:3px;font-size:12px;font-weight:800}.bsp-paid-row{background:#dcfce7!important}.bsp-paid-row td{border-color:#86efac!important}@media (width<=1100px){.module-cards.five{grid-template-columns:1fr}}.module-cards.six{grid-template-columns:repeat(6,minmax(140px,1fr))}.bsp-table tr.bsp-paid-row,.bsp-table tr.bsp-paid-row td{color:#14532d!important;background:#dcfce7!important}.bsp-table tr.bsp-paid-row input,.bsp-table tr.bsp-paid-row select{background:#f0fdf4!important;border-color:#22c55e!important}.bsp-table tr.bsp-paid-row td:first-child{border-left:6px solid #22c55e!important}@media (width<=1200px){.module-cards.six{grid-template-columns:repeat(2,minmax(160px,1fr))}}.module-cards.one{grid-template-columns:minmax(260px,420px)}.bsp-module .module-cards.one>div{background:linear-gradient(135deg,#fff,#eef7ff);border-left:7px solid #1f5a86}.bsp-module .module-cards.one strong{color:#0f3e75;font-size:28px}:is(.module-modal .box:has(h3),.module-modal .box:has(.fiz-persons-list),.module-modal .box:has(input[placeholder=Три\ имена])){background:linear-gradient(135deg,#fff,#f8fbff);border:1px solid #c7dff4;border-radius:16px;box-shadow:0 12px 28px #0f172a14}.module-modal h3:has(+.fiz-persons-toolbar){color:#10233f}.module-modal input[placeholder=Три\ имена],.module-modal input[placeholder=ЕГН],.module-modal input[placeholder*=Търси]{background:#fff;height:42px;font-weight:800;box-shadow:inset 0 1px 2px #0f172a0d;border:1px solid #9fc4e7!important;border-radius:10px!important;padding:0 13px!important}.module-modal input[placeholder*=Търси]{background:#f8fbff;max-width:360px;margin:10px 0}.module-modal button{transition:transform .12s,box-shadow .12s,background .12s}.module-modal button:hover{transform:translateY(-1px);box-shadow:0 8px 18px #0f172a1f}.module-modal button:active{transform:translateY(0)}.module-modal table.module-table{border:1px solid #9fc4e7;border-radius:14px;overflow:hidden;box-shadow:0 8px 22px #0f172a14}.module-modal table.module-table tbody tr:hover{background:#eef7ff!important}.module-modal table.module-table td{vertical-align:middle}.module-modal table.module-table td:first-child button,.module-modal table.module-table td:first-child span,.module-modal table.module-table td:first-child{font-weight:900}.module-modal .table-name-button,.module-modal table.module-table td:first-child button{color:#0f3e75!important;background:linear-gradient(135deg,#fff,#eef7ff)!important;border:1px solid #9fc4e7!important;border-radius:999px!important;padding:7px 13px!important;font-weight:900!important}.module-modal .mini-action-btn,.module-modal table.module-table button{border-radius:999px!important;padding:7px 12px!important;font-weight:900!important}.module-modal .mini-danger-btn,.module-modal table.module-table button:last-child:not(:only-child){color:#be123c!important;background:#fff1f2!important;border:1px solid #fecaca!important;border-radius:999px!important;padding:7px 12px!important;font-weight:900!important}.module-modal .positive,.module-modal table.module-table td:nth-child(3){font-weight:900}.module-modal .module-cards div{background:linear-gradient(135deg,#fff,#eef7ff);border:1px solid #c7dff4;border-radius:16px;box-shadow:0 10px 24px #0f172a14}.module-modal h3,.module-modal h4,.module-modal b{letter-spacing:-.01em}.module-modal .module-table-wrap,.module-modal .module-table-wrap.small{background:#fff;border:1px solid #dbe8f5;border-radius:16px;padding:10px;box-shadow:0 10px 24px #0f172a0f}.layout{position:relative;grid-template-columns:44px minmax(0,1fr)!important}.sidebar{z-index:50;transition:width .18s,max-width .18s,min-width .18s,box-shadow .18s;position:relative;overflow:hidden;width:44px!important;min-width:44px!important;max-width:44px!important;padding:6px 5px!important}.sidebar:hover{box-shadow:12px 0 28px #0f172a29;width:170px!important;min-width:170px!important;max-width:170px!important}.sidebar button{white-space:nowrap;text-overflow:clip;height:34px;min-height:34px;transition:background .14s,transform .14s,box-shadow .14s;position:relative;overflow:hidden;padding-left:32px!important;padding-right:8px!important}.sidebar button:before{content:"•";color:#1f5a86;font-size:22px;line-height:1;position:absolute;top:50%;left:12px;transform:translateY(-50%)}.sidebar button.active:before{color:#fff}.sidebar:not(:hover) button{color:#0000!important;text-align:center!important;padding-left:0!important;padding-right:0!important}.sidebar:hover button{color:#1f3f77!important}.content{margin-left:0!important}.sales-screen{padding-left:2px!important}@media (width<=900px){.layout{grid-template-columns:1fr!important}.sidebar{flex-direction:row;overflow-x:auto;width:auto!important;min-width:0!important;max-width:none!important}.sidebar button{color:#1f3f77!important;padding-left:12px!important}.sidebar button:before{display:none}}.content{overflow:hidden!important}.sales-screen{flex-direction:column!important;height:calc(100vh - 58px)!important;padding-left:2px!important;display:flex!important;overflow:hidden!important}.fixed-sales-top{box-shadow:0 2px 10px #0f172a14;z-index:30!important;background:#eef3f8!important;flex:none!important;position:sticky!important;top:0!important}.sales-table-wrap{border-radius:6px;flex:auto!important;height:auto!important;min-height:0!important;max-height:none!important;overflow:auto!important}.sales-table th,.sales-table td{box-sizing:border-box!important;text-overflow:ellipsis!important;overflow:hidden!important}.sales-table td{white-space:normal!important;vertical-align:middle!important;line-height:1.18!important}.sales-table thead th{white-space:nowrap!important}.sales-table thead tr:first-child th{z-index:12!important;position:sticky!important;top:0!important}.sales-table thead tr.filter-row th{z-index:11!important;position:sticky!important;top:30px!important}.sales-table th:first-child,.sales-table td:first-child{width:115px}.sales-table th:nth-child(2),.sales-table td:nth-child(2){width:135px}.sales-table th:nth-child(3),.sales-table td:nth-child(3){width:150px}.sales-table th:nth-child(4),.sales-table td:nth-child(4){width:155px}.sales-table th:nth-child(5),.sales-table td:nth-child(5){width:95px}.sales-table th:nth-child(6),.sales-table td:nth-child(6){width:125px}.sales-table th:nth-child(7),.sales-table td:nth-child(7),.sales-table th:nth-child(8),.sales-table td:nth-child(8){width:95px}.sales-table th:nth-child(9),.sales-table td:nth-child(9){width:110px}.sales-table th:nth-child(10),.sales-table td:nth-child(10){width:115px}.sales-table th:nth-child(11),.sales-table td:nth-child(11){width:95px}.sales-table th:nth-child(12),.sales-table td:nth-child(12){width:120px}.sales-table th:nth-child(13),.sales-table td:nth-child(13){width:190px}.sales-table th:nth-child(14),.sales-table td:nth-child(14){width:155px}.sales-table th:nth-child(15),.sales-table td:nth-child(15){width:150px}.sales-table th:nth-child(16),.sales-table td:nth-child(16){width:220px}.sales-table td:nth-child(13),.sales-table td:nth-child(14),.sales-table td:nth-child(15),.sales-table td:nth-child(16){text-overflow:clip!important;overflow:visible!important}.sales-table td:nth-child(13){white-space:normal!important}.sales-table td:nth-child(16){white-space:nowrap!important}.sales-table td:nth-child(16) button{margin:1px 2px!important}.sales-table .filter-row input,.sales-table .filter-row select{width:100%!important;min-width:0!important;height:26px!important}.sidebar button:before{background:#e2f1ff;border:1px solid #9fc4e7;border-radius:8px;justify-content:center;align-items:center;width:22px;height:22px;font-weight:900;display:flex;content:"●"!important;color:#1f5a86!important;font-size:11px!important}.sidebar button:first-child:before{content:"П"!important}.sidebar button:nth-child(2):before{content:"К"!important}.sidebar button:nth-child(3):before{content:"Д"!important}.sidebar button:nth-child(4):before{content:"B"!important}.sidebar button:nth-child(5):before{content:"И"!important}.sidebar button:nth-child(6):before{content:"Н"!important}.sidebar button:nth-child(7):before{content:"E"!important}.sidebar button:nth-child(8):before{content:"₿"!important}.sidebar button:nth-child(9):before{content:"R"!important}.sidebar button:nth-child(10):before{content:"Ф"!important}.sidebar button:nth-child(11):before{content:"M"!important}.sidebar button:nth-child(12):before{content:"A"!important}.sidebar button:nth-child(13):before{content:"⚙"!important}.finance-cards{grid-template-columns:repeat(4,minmax(245px,1fr))!important}@media (width<=1200px){.sales-table{width:2200px!important;min-width:2200px!important}}.sidebar button:before,.sidebar button:first-child:before,.sidebar button:nth-child(2):before,.sidebar button:nth-child(3):before,.sidebar button:nth-child(4):before,.sidebar button:nth-child(5):before,.sidebar button:nth-child(6):before,.sidebar button:nth-child(7):before,.sidebar button:nth-child(8):before,.sidebar button:nth-child(9):before,.sidebar button:nth-child(10):before,.sidebar button:nth-child(11):before,.sidebar button:nth-child(12):before,.sidebar button:nth-child(13):before,.sidebar button:nth-child(14):before{content:"☰"!important;color:#1f5a86!important;background:#e2f1ff!important;border:1px solid #9fc4e7!important;border-radius:7px!important;justify-content:center!important;align-items:center!important;width:22px!important;height:22px!important;font-size:12px!important;font-weight:900!important;display:flex!important}.sidebar button.active:before{color:#fff!important;background:#1f5a86!important;border-color:#1f5a86!important}.finance-cards.single-current-view{grid-template-columns:minmax(280px,520px)!important}.finance-cards.single-current-view .finance-card{border-left-width:7px;min-height:70px}.finance-cards.single-current-view .finance-values{grid-template-columns:repeat(2,minmax(130px,1fr))!important}.finance-cards.single-current-view .finance-values strong{font-size:21px}@media (width<=900px){.finance-cards.single-current-view{grid-template-columns:1fr!important}}.sidebar:hover{width:190px!important;min-width:190px!important;max-width:190px!important}.sidebar button{border-radius:9px!important;height:38px!important;min-height:38px!important;font-size:14px!important;line-height:1.1!important}.sidebar:hover button{color:#1f3f77!important;padding-left:54px!important;padding-right:12px!important}.sidebar:hover button.active{color:#fff!important}.sidebar button:before,.sidebar button:first-child:before,.sidebar button:nth-child(2):before,.sidebar button:nth-child(3):before,.sidebar button:nth-child(4):before,.sidebar button:nth-child(5):before,.sidebar button:nth-child(6):before,.sidebar button:nth-child(7):before,.sidebar button:nth-child(8):before,.sidebar button:nth-child(9):before,.sidebar button:nth-child(10):before,.sidebar button:nth-child(11):before,.sidebar button:nth-child(12):before,.sidebar button:nth-child(13):before,.sidebar button:nth-child(14):before{content:"☰"!important;border-radius:8px!important;width:24px!important;height:24px!important;font-size:13px!important;left:14px!important}.sidebar:hover button:before{left:14px!important;transform:translateY(-50%)!important}.sidebar:not(:hover) button:before{left:50%!important;transform:translate(-50%,-50%)!important}.sidebar:hover button:hover{box-shadow:0 5px 14px #0f172a1a;background:#e6f3ff!important;border-color:#7bb2e8!important}.sidebar:hover button.active:hover{background:#1f5a86!important}.fiz-client-chip{color:#0f3e75;white-space:nowrap;background:linear-gradient(135deg,#e8f5ff,#fff);border:1px solid #7bb2e8;border-radius:999px;justify-content:center;align-items:center;max-width:100%;padding:4px 10px;font-weight:900;line-height:1.1;box-shadow:0 2px 7px #0f172a1a;display:inline-flex!important}.fiz-client-chip:before{content:"👤";margin-right:5px;font-size:11px}.sales-table th:nth-child(12),.sales-table td:nth-child(12){width:auto!important;min-width:82px!important}.sales-table td:nth-child(10),.sales-table td:nth-child(11),.sales-table td:nth-child(12),.sales-table td:nth-child(14){white-space:nowrap!important;text-overflow:clip!important;font-size:13px!important;font-weight:800!important;overflow:visible!important}.sales-table td:nth-child(13),.sales-table td:nth-child(15){white-space:nowrap!important;text-overflow:clip!important;overflow:visible!important}.sales-table thead th:nth-child(10),.sales-table thead th:nth-child(11),.sales-table thead th:nth-child(12),.sales-table thead th:nth-child(13),.sales-table thead th:nth-child(14),.sales-table thead th:nth-child(15){padding-left:7px!important;padding-right:7px!important}.sales-table td:nth-child(13) .document-links-wrap,.sales-table td:nth-child(13) .document-links-inline{gap:4px!important}.sales-table td:nth-child(13) .document-link-btn,.sales-table td:nth-child(13) button{padding:3px 7px!important;font-size:12px!important}.sales-table .filter-row input,.sales-table .filter-row select{width:100%!important;min-width:0!important}.sales-table th,.sales-table td{text-align:center!important}.sales-table th:nth-child(5),.sales-table td:nth-child(5),.sales-table th:nth-child(6),.sales-table td:nth-child(6),.sales-table th:nth-child(7),.sales-table td:nth-child(7),.sales-table th:nth-child(8),.sales-table td:nth-child(8),.sales-table th:nth-child(9),.sales-table td:nth-child(9){text-align:right!important}.document-cell-view{white-space:nowrap!important;justify-content:center!important;align-items:center!important;width:100%!important;max-width:100%!important;display:inline-flex!important;overflow:visible!important}.sales-table td:nth-child(13){text-align:center!important;min-width:118px!important;padding-left:6px!important;padding-right:6px!important;overflow:visible!important}.sales-table td:nth-child(13) .document-links-wrap,.sales-table td:nth-child(13) .document-links-inline{flex-wrap:nowrap!important;justify-content:center!important;gap:5px!important;width:auto!important}.sales-table td:nth-child(13) .document-link-btn,.sales-table td:nth-child(13) button{white-space:nowrap!important;justify-content:center!important;align-items:center!important;display:inline-flex!important}.sales-table td:nth-child(14){text-align:center!important;white-space:normal!important;min-width:112px!important;padding-left:8px!important;padding-right:8px!important;line-height:1.25!important}.sales-table td:nth-child(10),.sales-table td:nth-child(11),.sales-table td:nth-child(12),.sales-table td:nth-child(14){font-size:13px!important;font-weight:850!important}.sales-table{table-layout:auto!important;width:max-content!important;min-width:100%!important}.sales-table th:nth-child(10),.sales-table td:nth-child(10){width:auto!important;min-width:92px!important}.sales-table th:nth-child(11),.sales-table td:nth-child(11),.sales-table th:nth-child(12),.sales-table td:nth-child(12){width:auto!important;min-width:82px!important}.sales-table th:nth-child(13),.sales-table td:nth-child(13){width:auto!important;min-width:118px!important}.sales-table th:nth-child(14),.sales-table td:nth-child(14){width:auto!important;min-width:112px!important}.sales-table th:nth-child(15),.sales-table td:nth-child(15){width:auto!important;min-width:100px!important}.sales-table td:nth-child(16){text-align:center!important;white-space:nowrap!important}.document-cell-view{position:relative!important;overflow:visible!important}.document-cell-view[data-payment-method]:hover:after{content:attr(data-payment-method);z-index:99999;color:#fff;text-align:center;white-space:nowrap;pointer-events:none;background:#10233f;border:1px solid #1f5a86;border-radius:9px;min-width:155px;max-width:240px;padding:7px 10px;font-size:12px;font-weight:900;position:absolute;bottom:calc(100% + 8px);left:50%;transform:translate(-50%);box-shadow:0 10px 24px #0f172a3d}.document-cell-view[data-payment-method]:hover:before{content:"";z-index:99999;pointer-events:none;border:6px solid #0000;border-top-color:#10233f;position:absolute;bottom:calc(100% + 2px);left:50%;transform:translate(-50%)}.payment-method-pill{display:none!important}.sales-table td:nth-child(13){min-width:126px!important;padding-left:7px!important;padding-right:7px!important;overflow:visible!important}.sales-table td:nth-child(13) .document-links-wrap{flex-wrap:nowrap!important;justify-content:center!important;gap:6px!important}.sales-table td:nth-child(14),.sales-table td:nth-child(15){text-align:center!important;white-space:normal!important;line-height:1.25!important}.sales-table tr.provider-group-row td{vertical-align:middle!important}.sales-table tr.provider-first-row td{border-top:3px solid #174f82!important}.sales-table tr.provider-sub-row td{text-align:center!important;border-top:1px dashed #9fc4e7!important;border-bottom:3px solid #174f82!important}.sales-table tr.provider-sub-row td:nth-child(3),.sales-table tr.provider-sub-row td:nth-child(4),.sales-table tr.provider-sub-row td:nth-child(5),.sales-table tr.provider-sub-row td:nth-child(6),.sales-table tr.provider-sub-row td:nth-child(7){text-align:right!important;font-weight:850!important}.sales-table tr.provider-sub-row td:first-child,.sales-table tr.provider-sub-row td:nth-child(2){text-align:center!important}.sales-table tr.provider-group-row td:nth-last-child(3),.sales-table tr.provider-group-row td:nth-last-child(2),.sales-table tr.provider-group-row td:last-child{text-align:center!important;vertical-align:middle!important}.sales-table td[rowspan]{vertical-align:middle!important;text-align:center!important}.sales-table tr.provider-sub-row td:first-child,.sales-table tr.provider-sub-row td:nth-child(2){text-align:center!important;vertical-align:middle!important;font-size:13px!important;font-weight:850!important}.sales-table tr.provider-sub-row td:nth-child(3),.sales-table tr.provider-sub-row td:nth-child(4),.sales-table tr.provider-sub-row td:nth-child(5),.sales-table tr.provider-sub-row td:nth-child(6),.sales-table tr.provider-sub-row td:nth-child(7){text-align:right!important;vertical-align:middle!important;padding-right:9px!important;font-size:13px!important;font-weight:850!important}.sales-table tr.provider-sub-row td:nth-child(8),.sales-table tr.provider-sub-row td:nth-child(9){text-align:center!important;vertical-align:middle!important;font-size:13px!important;font-weight:850!important}.sales-table tr.provider-sub-row td:nth-child(10){text-align:center!important;vertical-align:middle!important;white-space:normal!important;font-size:13px!important;font-weight:850!important;line-height:1.25!important}.sales-table tr.provider-sub-row td{min-height:34px!important;padding-top:6px!important;padding-bottom:6px!important}.sales-table tr.provider-sub-row .pill{text-align:center!important;justify-content:center!important;align-items:center!important;min-width:118px!important;margin:0 auto!important;display:inline-flex!important}.sales-table td:nth-child(13){min-width:150px!important;max-width:210px!important;overflow:hidden!important}.document-cell-editor{box-sizing:border-box!important;flex-direction:column!important;justify-content:center!important;align-items:stretch!important;gap:5px!important;width:100%!important;min-width:0!important;max-width:100%!important;display:flex!important;overflow:hidden!important}.document-cell-editor input,.document-cell-editor select{box-sizing:border-box!important;border-radius:7px!important;width:100%!important;min-width:0!important;max-width:100%!important;height:30px!important;margin:0!important;padding:3px 7px!important;font-size:12px!important;font-weight:850!important}.sales-table td:nth-child(14){min-width:116px!important;overflow:hidden!important}.sales-table td:nth-child(14) input,.sales-table td:nth-child(14) select{box-sizing:border-box!important;width:100%!important;min-width:0!important;max-width:100%!important}.sales-table tr.provider-sub-row td{vertical-align:middle!important;box-sizing:border-box!important}.sales-table tr.provider-sub-row td:first-child,.sales-table tr.provider-sub-row td:nth-child(2),.sales-table tr.provider-sub-row td:nth-child(8),.sales-table tr.provider-sub-row td:nth-child(9),.sales-table tr.provider-sub-row td:nth-child(10){text-align:center!important}.sales-table tr.provider-sub-row td:nth-child(3),.sales-table tr.provider-sub-row td:nth-child(4),.sales-table tr.provider-sub-row td:nth-child(5),.sales-table tr.provider-sub-row td:nth-child(6),.sales-table tr.provider-sub-row td:nth-child(7){text-align:right!important;font-variant-numeric:tabular-nums!important;white-space:nowrap!important;padding-right:10px!important;font-size:13px!important;font-weight:850!important}.sales-table tr.provider-sub-row td:nth-child(7){font-weight:950!important}.sales-table tr.provider-sub-row td:nth-child(8),.sales-table tr.provider-sub-row td:nth-child(10){font-size:13px!important;font-weight:850!important;line-height:1.25!important}.sales-table tr.provider-sub-row td:nth-child(10){white-space:normal!important;color:inherit!important}.sales-table tr.provider-sub-row td:nth-child(2) .pill{text-align:center!important;justify-content:center!important;align-items:center!important;min-width:120px!important;max-width:150px!important;margin:0 auto!important;display:inline-flex!important}.sales-table tr.provider-first-row td:nth-child(5),.sales-table tr.provider-first-row td:nth-child(6),.sales-table tr.provider-first-row td:nth-child(7),.sales-table tr.provider-first-row td:nth-child(8),.sales-table tr.provider-first-row td:nth-child(9){font-variant-numeric:tabular-nums!important;padding-right:10px!important}.sales-table td:nth-child(13),.document-cell-view,.document-links-wrap,.document-links-inline{overflow:visible!important}.document-link-btn{position:relative!important}.document-cell-view[data-payment-method]:hover:after{content:attr(data-payment-method)!important;z-index:999999!important;width:max-content!important;min-width:auto!important;max-width:150px!important;padding:6px 10px!important;font-size:12px!important;line-height:1.1!important}.document-cell-view[data-payment-method]:hover:before{z-index:999999!important}.sales-table tr.new-row-focus-flash td{animation:1.6s ease-in-out newRowFocusPulse}@keyframes newRowFocusPulse{0%{box-shadow:inset 0 0 0 9999px #22c55e38}55%{box-shadow:inset 0 0 0 9999px #22c55e1f}to{box-shadow:inset 0 0 0 9999px #22c55e00}}.docs-panel-row:nth-child(2n) td{background:#f8fbff}.docs-panel-row:hover td{background:#eef7ff!important}.docs-panel-date{color:#10233f!important;font-weight:950!important}.docs-panel-client b{letter-spacing:-.01em;color:#0f3e75;font-family:Arial,Helvetica,sans-serif;font-weight:950!important}.docs-panel-money b{color:#0f172a;font-size:16px!important;font-weight:950!important}.docs-panel-row td{border-bottom:2px solid #c7dff4!important}.module-table th,.sales-table th{text-align:center!important;font-size:14px!important;font-weight:950!important}.dept-money-box strong{font-size:19px!important;font-weight:950!important}.dept-money-box small{text-transform:none}.sales-table thead tr:first-child th{text-align:center!important;vertical-align:middle!important;letter-spacing:-.01em!important;color:#10233f!important;padding-top:7px!important;padding-bottom:7px!important;font-size:15px!important;font-weight:950!important;line-height:1.05!important}.sales-table thead tr.filter-row th{text-align:center!important;vertical-align:middle!important}.sales-table tbody tr td{border-bottom:2px solid #174f82!important}.sales-table tbody tr:hover td{filter:brightness(.985)}.sales-table td:first-child{color:#10233f!important;font-size:13px!important;font-weight:950!important}.sales-table td:nth-child(2){letter-spacing:-.01em!important;color:#0f172a!important;font-family:Arial,Helvetica,sans-serif!important;font-weight:850!important}.sales-table th:nth-child(9),.sales-table td:nth-child(9){min-width:118px!important}.sales-table td:nth-child(9) strong,.sales-table td:nth-child(9){color:#0b1220!important;font-variant-numeric:tabular-nums!important;font-size:16px!important;font-weight:950!important}.sales-table td:nth-child(5),.sales-table td:nth-child(6),.sales-table td:nth-child(7),.sales-table td:nth-child(8),.sales-table td:nth-child(9){font-variant-numeric:tabular-nums!important}.sales-table td:nth-child(3){letter-spacing:.01em!important;font-weight:750!important}.sales-table .pill{box-shadow:0 1px 4px #0f172a14}.sales-table .document-link-btn{box-shadow:0 1px 4px #0f172a14;font-weight:900!important}.dept-money-box strong{letter-spacing:-.03em!important;font-size:22px!important;font-weight:950!important;line-height:1.1!important}.dept-money-box small{color:#334155!important;font-size:12px!important;font-weight:900!important}.dept-money-box{padding-top:2px}.sales-table tr.row-package-expense td:nth-child(-n+9),.sales-table tr.row-package-expense td:nth-child(-n+9) *,.sales-table tr.provider-group-row.row-package-expense td:nth-child(-n+9),.sales-table tr.provider-group-row.row-package-expense td:nth-child(-n+9) *,.sales-table tr.row-package-expense td:nth-child(-n+9) input,.sales-table tr.row-package-expense td:nth-child(-n+9) select,.sales-table tr.row-package-expense td:nth-child(-n+9) textarea{color:#fff!important}.sales-table tr.row-package-expense td:nth-child(-n+9) .pill{color:#fff!important;background:#ffffff29!important;border-color:#ffffff8c!important}.bsp-table tr.bsp-unpaid-row,.bsp-table tr.bsp-unpaid-row td{color:#7f1d1d!important;background:#fee2e2!important}.bsp-table tr.bsp-unpaid-row td{border-color:#fca5a5!important}.bsp-table tr.bsp-unpaid-row td:first-child{border-left:6px solid #ef4444!important}.bsp-table tr.bsp-unpaid-row input,.bsp-table tr.bsp-unpaid-row select{color:#7f1d1d!important;background:#fff7f7!important;border-color:#ef4444!important}.sales-table-wrap{scroll-behavior:smooth}.numeric-select-input:focus,.erp-money-cell input:focus,.sales-table input:focus,.sale-modal-head-grid input:focus,.modal input:focus{outline-offset:1px!important;outline:2px solid #1f5a86!important;box-shadow:0 0 0 3px #1f5a8629!important}.autocomplete-wrap{width:100%;position:relative}.autocomplete-list-fixed{background:#fff!important;border:2px solid #1f5a86!important;border-radius:10px!important;max-height:280px!important;padding:6px!important;overflow-y:auto!important;box-shadow:0 16px 38px #0f172a47!important}.autocomplete-list-fixed button{color:#10233f!important;text-align:left!important;cursor:pointer!important;background:#fff!important;border:0!important;border-radius:7px!important;width:100%!important;padding:8px 10px!important;font-weight:900!important;display:block!important}.autocomplete-list-fixed button:hover,.autocomplete-list-fixed button:focus{background:#e2f1ff!important}.erp-money-cell input{text-align:right!important;min-width:78px!important;font-weight:900!important}.autocomplete-list-fixed{z-index:999999!important;overscroll-behavior:contain!important;position:fixed!important;overflow-y:auto!important}.sales-table-wrap,.sales-table,.sales-table tbody,.sales-table tr,.sales-table td{overflow:visible}.sales-table-wrap{overflow:auto!important}.autocomplete-list-fixed{z-index:999999!important;background:#fff!important;border:2px solid #1f5a86!important;border-radius:10px!important;padding:5px!important;position:fixed!important;overflow:hidden auto!important;box-shadow:0 16px 38px #0f172a47!important}.autocomplete-list-fixed button{min-height:32px!important;line-height:1.15!important}.autocomplete-wrap input:focus{z-index:5;position:relative}.native-autocomplete-wrap{width:100%!important;position:relative!important}.native-autocomplete-wrap input{box-sizing:border-box!important;width:100%!important}.autocomplete-list-fixed{display:none!important}.evrotur-email-box{box-sizing:border-box;background:#f8fbff;border:1px solid #9fc4e7;border-radius:14px;width:100%;max-width:100%;margin-top:14px;padding:14px}.evrotur-email-row{align-items:center;gap:10px;margin:8px 0 6px;display:flex}.evrotur-email-row label{color:#10233f;font-size:16px;font-weight:950}.evrotur-subject-field,.evrotur-body-field{box-sizing:border-box!important;color:#0f172a!important;background:#fff!important;border:1px solid #9fb4ce!important;border-radius:8px!important;width:100%!important;max-width:100%!important;padding:10px 12px!important;font-family:Arial,Helvetica,sans-serif!important;font-size:15px!important;line-height:1.35!important}.evrotur-subject-field{height:42px!important;font-weight:900!important}.evrotur-body-field{resize:vertical!important;white-space:pre-wrap!important;min-height:360px!important}.evrotur-email-box .mini-action-btn{height:34px;padding:6px 14px;font-size:14px}.missing-docs-filter-btn{color:#fff;cursor:pointer;background:linear-gradient(#3b82f6 0%,#1d4ed8 100%);border:1px solid #1d4ed8;border-radius:9px;padding:9px 14px;font-weight:950;box-shadow:0 6px 14px #1d4ed838}.missing-docs-filter-btn:hover{filter:brightness(1.04);transform:translateY(-1px)}.missing-docs-filter-btn.active{background:linear-gradient(#1e40af 0%,#0f2f7a 100%);box-shadow:0 0 0 3px #3b82f638,0 8px 18px #1e40af47}.travelport-ticket-preview-box{background:#f8fbff;border:1px solid #9fc4e7;border-radius:12px;margin-top:12px;padding:10px}.travelport-ticket-preview-head{color:#10233f;justify-content:space-between;align-items:center;gap:12px;margin-bottom:8px;display:flex}.travelport-ticket-preview-head button,.evrotur-ticket-btn{color:#0f3e75;cursor:pointer;background:linear-gradient(#e2f1ff 0%,#fff 100%);border:1px solid #1f5a86;border-radius:8px;padding:7px 12px;font-weight:950;box-shadow:0 3px 10px #0f172a1f}.travelport-ticket-preview-box iframe{background:#fff;border:1px solid #c8d8ea;border-radius:10px;width:100%;height:520px}.evrotur-ticket-btn{min-width:90px}.evrotur-ticket-btn:hover,.travelport-ticket-preview-head button:hover{filter:brightness(1.04)}.muted{color:#64748b;font-weight:900}.topbar{justify-content:space-between;align-items:center;display:flex}.topbar-right{align-items:center;margin-left:auto;display:flex}.user-profile{align-items:center;gap:12px;display:flex}.user-avatar{color:#fff;background:#2b6cb0;border-radius:50%;justify-content:center;align-items:center;width:42px;height:42px;font-size:18px;font-weight:900;display:flex}.user-info{flex-direction:column;align-items:flex-end;display:flex}.user-info .name{font-size:15px;font-weight:900;line-height:1.1}.user-info .role{opacity:.8;font-size:11px}.logout-btn{margin-left:14px}.settings-users-description{color:#475569;margin:0 0 14px;font-size:14px;font-weight:700}.settings-users-button{color:#fff;letter-spacing:.01em;cursor:pointer;background:linear-gradient(#3479bc 0%,#1f5a86 55%,#173f6a 100%);border:2px solid #173f6a;border-radius:11px;justify-content:center;align-items:center;gap:11px;min-width:210px;min-height:50px;padding:0 22px;font-size:17px;font-weight:950;transition:transform .14s,box-shadow .14s,filter .14s;display:inline-flex;box-shadow:inset 0 1px #ffffff47,inset 0 -2px 4px #0a224038,0 7px 16px #0f172a33}.settings-users-button:hover{filter:brightness(1.04);transform:translateY(-2px);box-shadow:inset 0 1px #ffffff52,inset 0 -2px 4px #0a224033,0 11px 22px #0f172a3d}.settings-users-button:active{transform:translateY(0);box-shadow:inset 0 2px 5px #0a224040,0 4px 10px #0f172a2e}.settings-users-button-icon{background:#ffffff29;border:1px solid #ffffff4d;border-radius:8px;justify-content:center;align-items:center;width:29px;height:29px;font-size:17px;display:inline-flex}.users-modal-backdrop,.users-editor-backdrop{z-index:20000;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#08182d9e;justify-content:center;align-items:center;padding:22px;display:flex;position:fixed;inset:0}.users-editor-backdrop{z-index:21000;background:#08182db3}.users-modal,.users-editor-modal{background:linear-gradient(#f8fbff 0%,#fff 100%);border:1px solid #9fc4e7;border-radius:18px;width:min(850px,96vw);max-height:90vh;overflow:auto;box-shadow:0 24px 70px #07162b6b}.users-editor-modal{width:min(560px,96vw)}.users-modal-header{color:#fff;background:linear-gradient(135deg,#10233f 0%,#1f5a86 100%);border-radius:17px 17px 0 0;justify-content:space-between;align-items:center;gap:16px;padding:18px 20px;display:flex}.users-modal-header h2{color:#fff;margin:0;font-size:24px;font-weight:950}.users-modal-header p{color:#ffffffd1;margin:4px 0 0;font-size:13px;font-weight:700}.users-modal-close{color:#fff;background:#ffffff1f;border:1px solid #ffffff59;border-radius:10px;flex:0 0 38px;width:38px;height:38px;font-size:25px;font-weight:800;line-height:1}.users-modal-close:hover{background:#ffffff38}.users-modal-toolbar{justify-content:flex-end;padding:16px 18px 8px;display:flex}.users-create-button{color:#fff;background:linear-gradient(#39b767,#188246);border:2px solid #166534;border-radius:10px;min-height:43px;padding:0 17px;font-size:14px;font-weight:950;box-shadow:inset 0 1px #ffffff40,0 6px 14px #16653433}.users-create-button:hover{filter:brightness(1.04);transform:translateY(-1px)}.users-list{padding:10px 18px 20px}.users-list-row{background:#fff;border:1px solid #c7dff4;border-radius:13px;grid-template-columns:48px minmax(180px,1fr) 145px auto;align-items:center;gap:14px;margin-bottom:9px;padding:12px 13px;display:grid;box-shadow:0 5px 14px #0f172a0f}.users-list-row:hover{background:#f7fbff;border-color:#7bb2e8;box-shadow:0 8px 20px #0f172a1a}.users-avatar{color:#0f3e75;background:linear-gradient(135deg,#e2f1ff,#b9dcfa);border:1px solid #7bb2e8;border-radius:12px;justify-content:center;align-items:center;width:42px;height:42px;font-size:18px;font-weight:950;display:flex}.users-list-main{flex-direction:column;gap:3px;min-width:0;display:flex}.users-list-main strong{color:#10233f;text-overflow:ellipsis;white-space:nowrap;font-size:16px;font-weight:950;overflow:hidden}.users-list-main span{color:#64748b;font-size:12px;font-weight:800}.users-role-badge{white-space:nowrap;border-radius:999px;justify-content:center;align-items:center;min-height:30px;padding:0 10px;font-size:12px;font-weight:950;display:inline-flex}.users-role-badge.admin{color:#5b21b6;background:#ede9fe;border:1px solid #7c3aed}.users-role-badge.employee{color:#334155;background:#eef4fb;border:1px solid #9fb4ce}.users-list-actions{justify-content:flex-end;gap:8px;display:flex}.users-edit-button,.users-delete-button,.users-cancel-button,.users-save-button{border-radius:9px;min-height:36px;padding:0 13px;font-weight:900}.users-edit-button{color:#0f3e75;background:#e2f1ff;border:1px solid #1f5a86}.users-delete-button{color:#b91c1c;background:#fff1f2;border:1px solid #ef4444}.users-edit-button:hover,.users-delete-button:hover{transform:translateY(-1px);box-shadow:0 5px 12px #0f172a1a}.users-loading{text-align:center;color:#475569;padding:28px;font-weight:900}.users-success-message,.users-error-message{border-radius:9px;margin:8px 18px;padding:11px 13px;font-size:13px;font-weight:900}.users-success-message{color:#166534;background:#dcfce7;border:1px solid #22c55e}.users-error-message{color:#991b1b;background:#fee2e2;border:1px solid #ef4444}.users-editor-fields{gap:13px;padding:20px;display:grid}.users-editor-fields label{color:#10233f;flex-direction:column;gap:6px;font-size:13px;font-weight:950;display:flex}.users-editor-fields input,.users-editor-fields select{box-sizing:border-box;color:#0f172a;background:#fff;border:1px solid #9fc4e7;border-radius:9px;width:100%;height:43px;padding:0 11px;font-size:14px;font-weight:800}.users-editor-fields input:focus,.users-editor-fields select:focus{outline-offset:1px;outline:2px solid #1f5a86;box-shadow:0 0 0 3px #1f5a8621}.users-editor-fields input:disabled,.users-editor-fields select:disabled{color:#64748b;cursor:not-allowed;background:#e5e7eb}.users-editor-actions{justify-content:flex-end;gap:9px;padding:4px 20px 20px;display:flex}.users-cancel-button{color:#334155;background:#fff;border:1px solid #94a3b8}.users-save-button{color:#fff;background:linear-gradient(#3479bc,#1f5a86);border:2px solid #173f6a;box-shadow:inset 0 1px #ffffff3d,0 5px 12px #0f172a29}.users-save-button:disabled{opacity:.65;cursor:wait}@media (width<=760px){.users-list-row{grid-template-columns:44px 1fr}.users-role-badge{grid-column:2;justify-self:start}.users-list-actions{grid-column:1/-1}}
