.filter-panel form { display: flex; align-items: end; gap: 8px; flex-wrap: wrap; }
.filter-disclosure { display: block; flex: 1 1 auto; }
.filter-disclosure summary { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 36px; padding: 7px 12px; border: 1px solid var(--line); border-radius: 9px; color: var(--ink); background: var(--surface-soft); font-size: 13px; font-weight: 700; cursor: pointer; list-style: none; white-space: nowrap; }
.filter-disclosure summary::-webkit-details-marker { display: none; }
.filter-disclosure summary::after { content: '\203A'; font-size: 19px; line-height: 1; transform: rotate(90deg); transition: transform .15s ease; }
.filter-disclosure[open] summary::after { transform: rotate(-90deg); }
.filter-advanced { display: none; }
.filter-disclosure[open] .filter-advanced { display: flex; align-items: end; gap: 8px; padding-top: 8px; }
@media (max-width: 700px) {
	.filter-panel form { display: grid; grid-template-columns: minmax(0, 1fr) 42px; }
	.filter-disclosure { grid-column: 1 / -1; grid-row: 2; width: 100%; }
	.filter-disclosure[open] .filter-advanced { flex-direction: column; align-items: stretch; }
	.filter-disclosure .filter-field { min-width: 100%; }
}
.filter-panel form { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
.filter-panel .filter-search { grid-column: 1; grid-row: 1; }
.filter-panel .filter-submit { grid-column: 2; grid-row: 1; }
.filter-panel .filter-disclosure { grid-column: 1 / -1; grid-row: 2; }
@media (max-width: 700px) {
	.filter-panel form { grid-template-columns: minmax(0, 1fr) 42px; }
	.filter-panel .filter-search { grid-column: 1; grid-row: 1; min-width: 0; width: auto; }
	.filter-panel .filter-submit { grid-column: 2; grid-row: 1; width: 42px; height: 42px; }
	.filter-panel .filter-disclosure { grid-column: 1 / -1; grid-row: 2; width: 100%; }
}
@media (max-width: 700px) {
	.filter-panel form { align-items: stretch; }
	.filter-search { flex: 1 1 calc(100% - 50px); min-width: 0; }
	.filter-search label { display: none; }
	.filter-search input { min-height: 42px; }
	.filter-submit { width: 42px; height: 42px; flex: 0 0 42px; }
	.filter-disclosure { display: block; flex: 1 1 100%; order: 3; }
	.filter-disclosure summary { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 42px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 9px; color: var(--ink); background: var(--surface-soft); font-size: 13px; font-weight: 700; cursor: pointer; list-style: none; }
	.filter-disclosure summary::-webkit-details-marker { display: none; }
	.filter-disclosure summary::after { content: '\203A'; font-size: 19px; line-height: 1; transform: rotate(90deg); transition: transform .15s ease; }
	.filter-disclosure[open] summary::after { transform: rotate(-90deg); }
	.filter-advanced { display: none; }
	.filter-disclosure[open] .filter-advanced { display: flex; flex-direction: column; gap: 8px; padding-top: 10px; }
	.filter-disclosure .filter-field { min-width: 100%; flex: 0 0 auto; }
}
@media (max-width: 700px) { .items-table .selection-column { position: sticky; left: 0; z-index: 4; background: var(--surface-soft); } .items-table .item-name-column, .items-table .item-name-cell { position: sticky; left: 0; z-index: 3; background: var(--surface); } .items-table .item-name-column { background: var(--surface-soft); } .items-table.has-selection .item-name-column, .items-table.has-selection .item-name-cell { left: 44px; } .items-table .item-name-cell { box-shadow: 8px 0 12px -12px rgba(32, 48, 64, .45); } }
:root { --tg-blue: #168acd; --tg-blue-dark: #1176b2; --ink: #203040; --muted: #778899; --line: #e5edf3; --canvas: #f4f8fb; --surface: #fff; --surface-soft: #f8fbfd; --green: #22a06b; --shadow: rgba(31, 72, 101, .05); }
:root[data-theme='dark'] { --ink: #e8f1f7; --muted: #91a5b5; --line: #2b4252; --canvas: #15232e; --surface: #1d303c; --surface-soft: #223845; --shadow: rgba(0, 0, 0, .2); }
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--canvas); font-family: 'Manrope', sans-serif; font-size: 14px; transition: background .2s ease, color .2s ease; }
.app-nav { background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: 0 2px 14px var(--shadow); }
.nav-inner { min-height: 72px; display: flex; align-items: center; gap: 36px; }
.brand { color: var(--ink); text-decoration: none; font-weight: 700; font-size: 17px; letter-spacing: -.3px; display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.brand b { color: var(--tg-blue); }
.brand-mark { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; color: #fff; background: var(--tg-blue); font-size: 18px; }
.nav-links { display: flex; align-self: stretch; gap: 8px; flex: 1; }
.nav-toggle { display: none; }
.nav-link { color: var(--muted); text-decoration: none; display: flex; align-items: center; gap: 8px; padding: 0 13px; font-weight: 700; position: relative; }
.nav-link:hover, .nav-link.active { color: var(--tg-blue); }
.nav-link.active::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--tg-blue); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.theme-toggle, .user-menu { width: 34px; height: 34px; display: inline-grid; place-items: center; border: 1px solid var(--line); border-radius: 9px; padding: 0; color: var(--muted); background: transparent; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; transition: color .15s ease, background .15s ease, border-color .15s ease; }
.theme-toggle:hover, .user-menu:hover { color: var(--tg-blue); border-color: #81c8e8; background: rgba(22, 138, 205, .08); }
.theme-toggle i, .user-menu i { font-size: 15px; }
.logout-form { display: flex; align-items: center; gap: 7px; margin: 0; }
.profile-toggle { display: flex; align-items: center; gap: 7px; border: 0; padding: 0; background: transparent; color: var(--muted); cursor: pointer; }
.profile-toggle .bi-chevron-down { font-size: 11px; }
.profile-menu { min-width: 230px; padding: 8px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); box-shadow: 0 12px 30px rgba(20, 52, 73, .14); }
.profile-summary { padding: 7px 10px 10px; display: flex; flex-direction: column; gap: 2px; }
.profile-summary strong { color: var(--ink); font-size: 13px; }
.profile-summary span { color: var(--muted); font-size: 11px; overflow-wrap: anywhere; }
.profile-menu .dropdown-item { border-radius: 7px; color: var(--ink); font-size: 13px; padding: 8px 10px; }
.profile-menu .dropdown-item:hover { background: var(--surface-soft); color: var(--tg-blue); }
.profile-menu .dropdown-item i { width: 20px; color: var(--muted); }
.profile-menu form { margin: 0; }
.avatar { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: #63b7df; font-size: 12px; font-weight: 800; }
.page-content { padding-top: 38px; padding-bottom: 60px; }
.eyebrow { color: var(--tg-blue); text-transform: uppercase; font-size: 11px; font-weight: 800; letter-spacing: 1.2px; margin-bottom: 7px; }
h1, h2, h3 { font-weight: 800; letter-spacing: -.7px; }
h1 { font-size: 30px; }
.page-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 26px; }
.page-heading p { color: var(--muted); margin: 6px 0 0; }
.btn { border-radius: 8px; font-weight: 700; padding: 8px 11px; border: 0; font-size: 13px; line-height: 1.25; }
.btn-primary { background: var(--tg-blue); box-shadow: 0 5px 14px rgba(22, 138, 205, .2); }
.btn-primary:hover { background: var(--tg-blue-dark); }
.btn-outline-secondary, .btn-outline-success { border: 1px solid var(--line); color: var(--ink); background: #fff; }
.btn-outline-success:hover { color: var(--green); background: #f0fbf6; border-color: #bde9d4; }
.btn i { margin-right: 5px; }
.stat-card { background: var(--surface); border: 1px solid var(--line); border-radius: 15px; padding: 23px; box-shadow: 0 8px 25px var(--shadow); }
.stat-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; font-size: 20px; color: var(--tg-blue); background: #e8f5fc; }
.stat-label { color: var(--muted); font-weight: 600; margin-top: 18px; }
.stat-value { color: var(--ink); font-size: 36px; line-height: 1.1; font-weight: 800; margin-top: 5px; }
.table-shell { overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: 0 7px 24px var(--shadow); }
.table { margin: 0; vertical-align: middle; }
.table thead th { background: var(--surface-soft); color: var(--muted); border-bottom: 1px solid var(--line); font-size: 11px; text-transform: uppercase; letter-spacing: .65px; padding: 15px 18px; white-space: nowrap; }
.table tbody td { border-color: #eef3f6; padding: 16px 18px; color: #536678; }
.table tbody tr:hover { background: var(--surface-soft); }
.table tbody td:first-child { color: var(--ink); font-weight: 700; }
.table a { color: var(--tg-blue); text-decoration: none; }
.table a:hover { color: var(--tg-blue-dark); }
.items-table .form-check-input { width: 1.15rem; height: 1.15rem; margin-top: 0; vertical-align: middle; }
.mobile-select-all { display: none; }
.row-action { width: 28px; height: 28px; display: inline-grid; place-items: center; border: 1px solid var(--line); border-radius: 8px; color: var(--tg-blue) !important; background: var(--surface-soft); }
.row-action:hover { border-color: #81c8e8; background: rgba(22, 138, 205, .12); }
.row-actions { display: inline-flex; gap: 6px; }
.row-action-danger { color: #d65353 !important; }
.row-action-danger:hover { border-color: #e5a6a6; background: #fff0f0; }
.status { display: inline-flex; align-items: center; gap: 6px; border-radius: 20px; padding: 5px 10px; font-size: 12px; font-weight: 700; }
.status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status-ok { color: var(--green); background: #eaf8f1; }
.status-off { color: #a3adb6; background: #f0f3f5; }
.status-waiting { color: #c17d18; background: #fff5df; }
.status-delay { color: #c62828; background: #ffebee; }
.quantity-cell { font-variant-numeric: tabular-nums; font-weight: 700; white-space: nowrap; }
.quantity-cell.remaining { color: #c17d18 !important; }
.product-column-heading { display: inline-flex; align-items: center; gap: 7px; }
.product-column-heading i { width: 25px; height: 25px; display: inline-grid; place-items: center; border-radius: 8px; color: var(--tg-blue); background: rgba(22, 138, 205, .09); font-size: 13px; }
.product-catalog-table tbody tr:not(.empty-row) { transition: transform .16s ease, box-shadow .16s ease; }
.product-catalog-table tbody tr:not(.empty-row) td { transition: background-color .16s ease; }
@media (hover: hover) and (pointer: fine) {
    .product-catalog-table tbody tr:not(.empty-row):hover { transform: translateY(-2px); box-shadow: 0 8px 18px var(--shadow); }
    .product-catalog-table tbody tr:not(.empty-row):hover td { background-color: var(--surface-soft); }
}
:root[data-theme='dark'] .product-column-heading i { color: #8bd2f4; background: rgba(22, 138, 205, .18); }
.filter-panel, .form-card { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); padding: 12px 14px; box-shadow: 0 5px 18px var(--shadow); }
.delivery-form { display: grid; gap: 18px; padding: 20px; }
.delivery-form-section { min-width: 0; padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.delivery-form-section-details { border-top: 4px solid #168acd; }
.delivery-form-section-products { border-top: 4px solid #22a06b; background: var(--surface-soft); }
.delivery-form-section-people { border-top: 4px solid #e3a629; }
.delivery-section-heading { display: flex; align-items: flex-start; gap: 13px; margin-bottom: 18px; }
.delivery-section-number { width: 34px; height: 34px; flex: 0 0 34px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--tg-blue); font-size: 16px; font-weight: 800; }
.delivery-form-section-products .delivery-section-number { background: var(--green); }
.delivery-form-section-people .delivery-section-number { color: #533b08; background: #f5c75e; }
.delivery-section-heading h2 { margin: 2px 0 4px; color: var(--ink); font-size: 18px; font-weight: 800; }
.delivery-section-heading p, .delivery-person-upload p { margin: 0; color: var(--muted); font-size: 13px; }
.delivery-form-section-products .row { padding: 14px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface); }
.delivery-person-upload { display: flex; align-items: flex-start; gap: 15px; margin-top: 14px; padding: 17px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-soft); }
.delivery-upload-icon { width: 42px; height: 42px; flex: 0 0 42px; display: grid; place-items: center; border-radius: 11px; color: var(--tg-blue); background: rgba(22, 138, 205, .1); font-size: 20px; }
.delivery-upload-content { min-width: 0; flex: 1; }
.delivery-upload-content h3 { margin: 0 0 4px; color: var(--ink); font-size: 15px; font-weight: 800; }
.delivery-upload-content > p { margin-bottom: 12px; }
.delivery-upload-content .form-control { margin-top: 5px; }
.delivery-form-actions { display: flex; flex-wrap: wrap; gap: 9px; padding-top: 2px; }
:root[data-theme='dark'] .delivery-form-section-products .row { background: var(--surface); }
:root[data-theme='dark'] .delivery-person-upload { background: var(--surface); }
@media (max-width: 600px) {
    .delivery-form { gap: 13px; padding: 12px; }
    .delivery-form-section { padding: 15px; }
    .delivery-section-heading { gap: 10px; }
    .delivery-section-heading h2 { font-size: 16px; }
    .delivery-person-upload { gap: 10px; padding: 13px; }
    .delivery-upload-icon { width: 36px; height: 36px; flex-basis: 36px; }
}
.filter-panel form { display: grid; align-items: end; gap: 8px; }
.filter-field { display: flex; flex: 1 1 145px; min-width: 125px; flex-direction: column; gap: 5px; }
.filter-search { flex-basis: 190px; }
.filter-field label { margin: 0; line-height: 1; }
.filter-field input, .filter-field select { width: 100%; min-height: 36px; border: 1px solid var(--line); border-radius: 9px; padding: 7px 10px; color: var(--ink); background: var(--surface); box-shadow: none; font: inherit; font-size: 13px; outline: none; }
.filter-field input:focus, .filter-field select:focus { border-color: #73c1e5; box-shadow: 0 0 0 3px rgba(115, 193, 229, .16); }
.filter-field input[type='search'] { appearance: none; -webkit-appearance: none; }
.filter-field select { cursor: pointer; }
.filter-submit { width: 36px; height: 36px; flex: 0 0 36px; display: grid; place-items: center; border: 0; border-radius: 9px; color: #fff; background: var(--tg-blue); cursor: pointer; box-shadow: 0 4px 10px rgba(22, 138, 205, .18); transition: background .15s ease, transform .15s ease; }
.filter-submit:hover { background: var(--tg-blue-dark); transform: translateY(-1px); }
.filter-submit i { font-size: 15px; }
label { color: var(--muted); font-size: 12px; font-weight: 700; margin-bottom: 6px; }
.form-control, .form-select { border: 1px solid var(--line); border-radius: 7px; padding: 7px 10px; min-height: 36px; color: var(--ink); background: var(--surface); font-size: 13px; }
.form-control:focus, .form-select:focus { border-color: #73c1e5; box-shadow: 0 0 0 3px #e1f3fb; }
.form-switch { padding-left: 2.8em; }
.form-switch .form-check-input { width: 2.2em; height: 1.2em; margin-left: -2.8em; margin-top: .1em; border-color: var(--line); background-color: var(--surface-soft); cursor: pointer; }
.form-switch .form-check-input:checked { border-color: var(--tg-blue); background-color: var(--tg-blue); }
.form-check-label { color: var(--ink); font-weight: 700; cursor: pointer; }
.searchable-select { position: relative; width: 100%; }
.searchable-select select[hidden] { display: none; }
.searchable-select-options { position: absolute; z-index: 20; top: calc(100% + 7px); right: 0; left: 0; display: none; max-height: 220px; overflow-y: auto; padding: 6px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); box-shadow: 0 14px 34px rgba(31, 72, 101, .16); }
.searchable-select.is-open .searchable-select-options { display: block; }
.searchable-select-option { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 42px; padding: 9px 11px; border: 0; border-radius: 8px; color: var(--ink); background: transparent; font: inherit; font-size: 13px; font-weight: 600; text-align: left; cursor: pointer; transition: color .15s ease, background .15s ease; }
.searchable-select-option::before { content: '\f52a'; flex: 0 0 28px; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; color: var(--tg-blue); background: rgba(22, 138, 205, .09); font-family: 'bootstrap-icons'; font-size: 13px; }
.searchable-select-option:hover, .searchable-select-option.is-active { color: var(--tg-blue-dark); background: var(--surface-soft); }
.searchable-select-empty { padding: 12px 11px; color: var(--muted); font-size: 13px; }
:root[data-theme='dark'] .searchable-select-options { box-shadow: 0 14px 34px rgba(0, 0, 0, .35); }
:root[data-theme='dark'] .searchable-select-option:hover, :root[data-theme='dark'] .searchable-select-option.is-active { color: #8bd2f4; background: #263e4c; }
:root[data-theme='dark'] .searchable-select-option::before { color: #8bd2f4; background: rgba(22, 138, 205, .18); }
.empty-state { color: var(--muted); text-align: center; padding: 38px !important; }
:root[data-theme='dark'] .btn-outline-secondary, :root[data-theme='dark'] .btn-outline-success { color: var(--ink); background: var(--surface); }
:root[data-theme='dark'] .table { --bs-table-color: var(--ink); --bs-table-bg: var(--surface); --bs-table-border-color: var(--line); }
:root[data-theme='dark'] .text-muted { color: var(--muted) !important; }
:root[data-theme='dark'] .table tbody td { border-color: var(--line); color: #b0c0cb; }
:root[data-theme='dark'] .table-striped>tbody>tr:nth-of-type(odd)>* { --bs-table-accent-bg: #1a2c37; color: var(--ink); }
:root[data-theme='dark'] .table tbody tr:hover { background: #263e4c; }
:root[data-theme='dark'] .stat-icon { background: #23475a; }
:root[data-theme='dark'] .status-ok { background: #174835; }
:root[data-theme='dark'] .status-off { background: #33434d; }
:root[data-theme='dark'] .status-waiting { color: #ffd27a; background: #4a3b1d; }
:root[data-theme='dark'] .status-delay { color: #ff8a80; background: #4b2528; }
:root[data-theme='dark'] .profile-menu { box-shadow: 0 12px 30px rgba(0, 0, 0, .35); }
:root[data-theme='dark'] .filter-panel .form-control,
:root[data-theme='dark'] .filter-panel .form-select,
:root[data-theme='dark'] .filter-panel input,
:root[data-theme='dark'] .filter-panel select { color: var(--ink); background-color: var(--surface-soft); border-color: var(--line); color-scheme: dark; }
:root[data-theme='dark'] .filter-panel select option { color: var(--ink); background: var(--surface); }
:root[data-theme='dark'] .filter-panel input::placeholder { color: #7e96a7; }
.filter-panel .form-control, .filter-panel .form-select { box-shadow: none; }
:root[data-theme='dark'] .filter-field input, :root[data-theme='dark'] .filter-field select { background: var(--surface-soft); color: var(--ink); border-color: var(--line); color-scheme: dark; }
:root[data-theme='dark'] .filter-field select option { background: var(--surface); color: var(--ink); }
:root[data-theme='dark'] .filter-panel .filter-submit { color: #d9f1fc; }
@media (max-width: 700px) { .nav-inner { position: relative; gap: 8px; min-height: 64px; padding-top: 8px; padding-bottom: 8px; } .brand { font-size: 15px; margin-right: auto; } .brand-mark { width: 32px; height: 32px; font-size: 16px; } .brand span:last-child { display: none; } .nav-toggle { width: 42px; height: 42px; display: inline-grid; place-items: center; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); background: var(--surface); font-size: 21px; } .nav-actions { gap: 5px; } .theme-toggle { width: 42px; height: 42px; } .profile-toggle .bi-chevron-down { display: none; } .nav-links { position: absolute; z-index: 10; top: calc(100% + 1px); left: 0; right: 0; display: none; flex-direction: column; gap: 4px; align-self: auto; padding: 10px; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 14px 14px; background: var(--surface); box-shadow: 0 12px 24px var(--shadow); } .nav-links.is-open { display: flex; } .nav-link { min-height: 46px; padding: 0 12px; border-radius: 9px; font-size: 14px; } .nav-link.active::after { display: none; } .nav-link.active { background: var(--surface-soft); } .page-content { padding: 24px 12px 42px; } .page-heading { align-items: stretch; flex-direction: column; gap: 16px; margin-bottom: 20px; } .page-heading .btn { width: 100%; min-height: 44px; } h1 { font-size: 25px; margin-bottom: 0; } .table-shell { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 11px; } .table { min-width: 680px; } .table thead th { padding: 11px 10px; font-size: 10px; } .table tbody td { padding: 12px 10px; } .table tbody td:first-child, .table thead th:first-child { position: sticky; left: 0; z-index: 2; background: var(--surface); } .table thead th:first-child { background: var(--surface-soft); } .filter-panel { padding: 10px; } .filter-panel form { align-items: stretch; } .filter-field { min-width: 100%; } .filter-submit { width: 100%; height: 42px; } .stat-card { padding: 17px; border-radius: 12px; } .stat-value { font-size: 30px; } .stat-label { margin-top: 13px; } }
@media (max-width: 700px) {
.page-heading .btn { display: flex; align-items: center; justify-content: center; text-align: center; }
.item-page-actions { width: 100%; flex-direction: column; }
.table .mobile-hidden-column { display: none; }
	.mobile-card-shell { overflow: visible; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
	.mobile-card-responsive { overflow: visible; }
	.table.mobile-card-table { width: 100%; min-width: 0; border-collapse: separate; border-spacing: 0 10px; }
	.mobile-card-table thead { display: none; }
	.mobile-card-table tbody { display: grid; gap: 10px; }
	.mobile-card-table tbody tr {
		display: grid;
		gap: 12px;
		padding: 15px;
		border: 1px solid var(--line);
		border-radius: 14px;
		background: var(--surface);
		box-shadow: 0 5px 16px var(--shadow);
	}
	.mobile-card-table tbody td,
	.mobile-card-table tbody td:first-child {
		position: static;
		min-width: 0;
		padding: 0;
		border: 0;
		background: transparent;
		color: var(--ink);
	}
	.mobile-card-table tbody tr:hover { background: var(--surface); }
	.mobile-card-table.items-table tbody tr.empty-row { display: block; padding: 0; border: 0; background: transparent; box-shadow: none; }
	.mobile-card-table .empty-state { display: block; padding: 28px 12px !important; }
	.mobile-card-table.items-table .item-name-cell { position: static; left: auto; z-index: auto; box-shadow: none; }
	.item-bulk-toolbar { display: none !important; }
	.item-bulk-toolbar > .d-flex { width: 100%; }
	.item-bulk-toolbar > .d-flex .btn { flex: 1 1 100%; }
	.item-bulk-toolbar .poa-action-button { display: none; }
	.product-selection-cell { display: none; }
	.mobile-select-all { display: inline-flex; align-items: center; gap: 7px; margin: 0; color: var(--muted); font-size: 12px; font-weight: 700; }
	.mobile-select-all .form-check-input { margin: 0; }
	.mobile-card-table.items-table.has-selection tbody tr { grid-template-columns: 22px minmax(0, 1fr) minmax(0, 1fr); }
	.product-selection-cell { grid-column: 1; grid-row: 1; }
	.product-name-cell { grid-column: 2; grid-row: 1; overflow-wrap: anywhere; }
	.product-name-cell a { font-size: 15px; font-weight: 800; line-height: 1.35; }
	.product-status-cell { grid-column: 3; grid-row: 1; white-space: nowrap; }
	.product-supplier-cell { grid-column: 2 / -1; grid-row: 2; color: var(--muted) !important; font-size: 12px; overflow-wrap: anywhere; }
	.product-supplier-cell::before { content: 'Поставщик'; display: block; margin-bottom: 3px; color: var(--muted); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; }
	.product-ordered-cell, .product-supplied-cell { padding: 9px 10px !important; border-radius: 9px !important; background: var(--surface-soft) !important; font-size: 16px; }
	.product-ordered-cell { grid-column: 2; grid-row: 3; }
	.product-supplied-cell { grid-column: 3; grid-row: 3; }
	.product-ordered-cell::before, .product-supplied-cell::before { display: block; margin-bottom: 3px; color: var(--muted); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; }
	.product-ordered-cell::before { content: 'Заказано'; }
	.product-supplied-cell::before { content: 'Поставлено'; }
	.product-actions-cell { grid-column: 2 / -1; grid-row: 4; justify-self: end; padding-top: 10px !important; border-top: 1px solid var(--line) !important; }
	.mobile-card-table.items-table.has-selection tbody tr { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.mobile-card-table.items-table.has-selection .product-name-cell { grid-column: 1; }
	.mobile-card-table.items-table.has-selection .product-status-cell { grid-column: 2; }
	.mobile-card-table.items-table.has-selection .product-supplier-cell { grid-column: 1 / -1; }
	.mobile-card-table.items-table.has-selection .product-ordered-cell { grid-column: 1; }
	.mobile-card-table.items-table.has-selection .product-supplied-cell { grid-column: 2; }
	.mobile-card-table.items-table.has-selection .product-actions-cell { grid-column: 1 / -1; }
	.mobile-card-table.items-table:not(.has-selection) tbody tr { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.mobile-card-table.items-table:not(.has-selection) .product-name-cell { grid-column: 1; }
	.mobile-card-table.items-table:not(.has-selection) .product-status-cell { grid-column: 2; }
	.mobile-card-table.items-table:not(.has-selection) .product-supplier-cell { grid-column: 1 / -1; }
	.mobile-card-table.items-table:not(.has-selection) .product-ordered-cell { grid-column: 1; }
	.mobile-card-table.items-table:not(.has-selection) .product-supplied-cell { grid-column: 2; }
	.mobile-card-table.items-table:not(.has-selection) .product-actions-cell { grid-column: 1 / -1; }
	.mobile-card-table.supply-table tbody tr { grid-template-columns: minmax(0, 1fr) auto; }
	.supply-date-cell { grid-column: 1 / -1; color: var(--muted) !important; font-size: 11px; font-weight: 700 !important; }
	.supply-item-cell { grid-column: 1 / -1; font-size: 15px; font-weight: 800 !important; overflow-wrap: anywhere; }
	.supply-quantity-cell, .supply-amount-cell { padding: 9px 10px !important; border-radius: 9px !important; background: var(--surface-soft) !important; font-size: 15px; font-weight: 800; }
	.supply-quantity-cell::before, .supply-amount-cell::before { display: block; margin-bottom: 3px; color: var(--muted); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; }
	.supply-quantity-cell::before { content: 'Количество'; }
	.supply-amount-cell::before { content: 'Сумма'; }
	.supply-actions-cell { grid-column: 1 / -1; justify-self: end; padding-top: 10px !important; border-top: 1px solid var(--line) !important; }
	.mobile-card-table.supply-table .empty-row { display: block; }
}
@media (max-width: 700px) {
	.form-control, .form-select { font-size: 16px; }
}
.delivery-calendar { overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: 0 10px 30px var(--shadow); }
.calendar-toolbar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px; min-height: 76px; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.calendar-week-nav { display: flex; align-items: center; gap: 8px; }
.calendar-nav-button { width: 38px; height: 38px; display: inline-grid; place-items: center; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); text-decoration: none; background: var(--surface); transition: .15s ease; }
.calendar-nav-button:hover { color: var(--tg-blue); border-color: var(--tg-blue); background: color-mix(in srgb, var(--tg-blue) 7%, var(--surface)); }
.calendar-week-title { color: var(--ink); font-size: 19px; font-weight: 800; text-align: center; }
.calendar-total { justify-self: end; display: flex; align-items: center; gap: 10px; color: var(--muted); }
.calendar-total-icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; color: var(--tg-blue); background: color-mix(in srgb, var(--tg-blue) 10%, var(--surface)); font-size: 18px; }
.calendar-total strong, .calendar-total small { display: block; }
.calendar-total strong { color: var(--ink); font-size: 17px; line-height: 1.2; }
.calendar-total small { margin-top: 2px; font-size: 10px; }
.calendar-caption { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 18px; border-bottom: 1px solid var(--line); color: var(--muted); background: var(--surface); font-size: 11px; }
.calendar-caption > span:first-child i { margin-right: 5px; color: var(--tg-blue); }
.calendar-legend { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.calendar-legend-dot { width: 8px; height: 8px; display: inline-block; margin-right: 2px; border-radius: 50%; }
.calendar-legend-active { background: var(--tg-blue); }
.calendar-board-scroll { overflow-x: auto; overscroll-behavior-x: contain; }
.calendar-week-grid { display: grid; grid-template-columns: repeat(7, minmax(150px, 1fr)); min-width: 1120px; }
.calendar-day { min-width: 0; min-height: 390px; border-right: 1px solid var(--line); background: var(--surface); }
.calendar-day:last-child { border-right: 0; }
.calendar-day-today { background: color-mix(in srgb, var(--tg-blue) 3%, var(--surface)); }
.calendar-day-header { position: relative; min-height: 86px; display: flex; align-items: center; gap: 10px; padding: 14px 12px; border-bottom: 1px solid var(--line); background: var(--surface-soft); }
.calendar-day-today .calendar-day-header { border-top: 3px solid var(--tg-blue); padding-top: 11px; background: color-mix(in srgb, var(--tg-blue) 9%, var(--surface)); }
.calendar-day-heading { display: flex; flex: 1; flex-direction: column; gap: 3px; min-width: 0; }
.calendar-weekday { color: var(--muted); font-size: 11px; font-weight: 800; text-transform: capitalize; }
.calendar-date { color: var(--ink); font-size: 24px; font-weight: 800; line-height: 1; }
.calendar-day-today .calendar-date { color: var(--tg-blue); }
.calendar-today-label { position: absolute; left: 12px; bottom: 7px; color: var(--tg-blue); font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .6px; }
.calendar-day-count { min-width: 29px; height: 29px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--muted); background: var(--surface); font-size: 12px; font-weight: 800; }
.calendar-day-today .calendar-day-count { border-color: color-mix(in srgb, var(--tg-blue) 35%, var(--line)); color: var(--tg-blue); }
.calendar-day-body { display: grid; align-content: start; gap: 10px; min-height: 300px; padding: 11px 9px; }
.calendar-delivery-card { display: grid; align-content: start; gap: 8px; padding: 11px; border: 1px solid color-mix(in srgb, var(--tg-blue) 25%, var(--line)); border-left: 4px solid var(--tg-blue); border-radius: 11px; color: var(--ink); background: color-mix(in srgb, var(--tg-blue) 7%, var(--surface)); text-decoration: none; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.calendar-delivery-card:hover { transform: translateY(-2px); border-color: var(--tg-blue); color: var(--ink); box-shadow: 0 7px 18px var(--shadow); }
.calendar-slot-label { display: flex; align-items: center; gap: 5px; color: var(--tg-blue); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .35px; }
.calendar-supplier { color: var(--ink); font-size: 13px; line-height: 1.35; overflow-wrap: anywhere; }
.calendar-delivery-warehouse, .calendar-delivery-products, .calendar-delivery-status { font-size: 11px; line-height: 1.45; }
.calendar-delivery-warehouse, .calendar-delivery-products { color: var(--muted); }
.calendar-delivery-warehouse i { margin-right: 3px; color: var(--tg-blue); }
.calendar-delivery-products { padding-top: 7px; border-top: 1px solid color-mix(in srgb, var(--line) 75%, transparent); overflow-wrap: anywhere; }
.calendar-delivery-status { display: flex; align-items: center; gap: 5px; color: var(--tg-blue); font-weight: 800; }
.calendar-delivery-status i { font-size: 7px; }
.calendar-day-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; min-height: 178px; padding: 18px 10px; color: var(--muted); text-align: center; }
.calendar-empty-icon { width: 40px; height: 40px; display: grid; place-items: center; margin-bottom: 2px; border: 1px solid var(--line); border-radius: 50%; color: var(--muted); background: var(--surface-soft); font-size: 17px; }
.calendar-day-empty strong { color: var(--ink); font-size: 12px; }
.calendar-day-empty > span:last-child { font-size: 10px; line-height: 1.4; }
@media (max-width: 700px) {
	.calendar-toolbar { grid-template-columns: 1fr auto; gap: 12px; padding: 14px; }
	.calendar-week-title { grid-column: 1 / -1; grid-row: 1; font-size: 17px; text-align: left; }
	.calendar-week-nav { grid-column: 1; grid-row: 2; }
	.calendar-total { grid-column: 2; grid-row: 2; }
	.calendar-caption { align-items: flex-start; flex-direction: column; gap: 7px; padding: 10px 14px; }
}