/* Worker portal — light theme, Vapeme brand */

:root {
    --w-bg: #f6f7f8;
    --w-bg-card: #ffffff;
    --w-text: #1a1f24;
    --w-text-muted: #6b7280;
    --w-border: #e5e7eb;
    --w-accent: #e53935;
    --w-accent-dark: #c62828;
    --w-success: #16a34a;
    --w-warn: #d97706;
    --w-mine: #bbf7d0;
    --w-mine-text: #14532d;
    --w-pending: #fff3cd;
    --w-pending-text: #92400e;
    --w-other: #eef0f3;
    --w-other-text: #9aa3af;
    --w-free: #eff6ff;
    --w-free-accent: #2563eb;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    background: var(--w-bg);
    color: var(--w-text);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-size: 14px;
    line-height: 1.4;
}

a { color: var(--w-accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Header */
.worker-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    background: #fff;
    border-bottom: 1px solid var(--w-border);
    position: sticky;
    top: 0;
    z-index: 10;
}

.worker-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--w-text);
}

.worker-logo:hover { text-decoration: none; }

.worker-logo img { display: block; height: 38px; }

.worker-logo-text {
    font-weight: 600;
    font-size: 16px;
    color: var(--w-text);
    letter-spacing: -0.01em;
    white-space: nowrap;
}

.worker-header-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.worker-name {
    color: var(--w-text-muted);
    font-size: 13px;
    white-space: nowrap;
}

.worker-logout-form { margin: 0; }
.worker-logout {
    background: #f3f4f6;
    color: var(--w-text);
    border: 1px solid var(--w-border);
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
    font-family: inherit;
}
.worker-logout:hover { background: #e5e7eb; }

/* Flash */
.worker-flash {
    padding: 12px 20px 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.worker-flash-item {
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    border-left: 4px solid;
}
.worker-flash-success { background: #ecfdf5; color: #065f46; border-left-color: var(--w-success); }
.worker-flash-error { background: #fef2f2; color: #991b1b; border-left-color: var(--w-accent); }
.worker-flash-info { background: #eff6ff; color: #1e3a8a; border-left-color: #3b82f6; }

/* Main */
.worker-main { padding: 20px; }
.worker-container { max-width: 1400px; margin: 0 auto; }

/* Login */
.worker-login-wrap {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.worker-login-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    padding: 40px 36px;
    width: 100%;
    max-width: 380px;
    text-align: center;
}

.worker-login-logo { width: 160px; margin-bottom: 12px; }

.worker-login-card h1 {
    margin: 0 0 8px;
    font-size: 22px;
    color: var(--w-text);
}

.worker-login-hint {
    color: var(--w-text-muted);
    margin: 0 0 24px;
    font-size: 13px;
}

.worker-login-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    text-align: left;
}

.worker-login-form label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 13px;
    color: var(--w-text-muted);
}

.worker-login-form input {
    padding: 10px 12px;
    border: 1px solid var(--w-border);
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    background: #fff;
    color: var(--w-text);
}

.worker-login-form input:focus {
    outline: none;
    border-color: var(--w-accent);
    box-shadow: 0 0 0 3px rgba(229, 57, 53, 0.1);
}

.worker-login-button {
    background: var(--w-accent);
    color: #fff;
    border: 0;
    padding: 11px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 8px;
    font-family: inherit;
}
.worker-login-button:hover { background: var(--w-accent-dark); }

/* Calendar */
.worker-page-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.worker-page-header h1 {
    margin: 0;
    font-size: 22px;
    font-weight: 600;
}

.worker-page-subtitle {
    margin: 6px 0 0;
    color: var(--w-text-muted);
    font-size: 13px;
}

.worker-month-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border-radius: 10px;
    padding: 4px;
    border: 1px solid var(--w-border);
}

.worker-nav-button {
    background: #fff;
    border: 0;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    color: var(--w-text);
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.worker-nav-button:hover { background: #f3f4f6; text-decoration: none; }

.worker-month-label {
    font-family: inherit;
    font-weight: 600;
    font-size: 14px;
    padding: 0 10px;
    color: var(--w-text);
    white-space: nowrap;
}

.shift-legend {
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
    flex-wrap: wrap;
    font-size: 12px;
}

.shift-legend-item {
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid var(--w-border);
}

.shift-legend-free { background: var(--w-free); color: var(--w-free-accent); border-color: #bfdbfe; }
.shift-legend-mine { background: var(--w-mine); color: var(--w-mine-text); }
.shift-legend-other { background: var(--w-other); color: var(--w-other-text); }
.shift-legend-pending { background: var(--w-pending); color: var(--w-pending-text); }

.shift-grid-wrap {
    overflow-x: auto;
    background: #fff;
    border: 1px solid var(--w-border);
    border-radius: 10px;
}

.shift-grid {
    border-collapse: collapse;
    width: 100%;
    font-size: 12px;
}

.shift-grid th,
.shift-grid td {
    border: 1px solid var(--w-border);
    padding: 0;
    text-align: center;
    vertical-align: middle;
}

.shift-grid-store-head,
.shift-grid-store {
    text-align: left;
    padding: 8px 12px;
    background: #fafbfc;
    font-weight: 600;
    color: var(--w-text);
    position: sticky;
    left: 0;
    z-index: 1;
    min-width: 130px;
}

.shift-grid-day-head {
    padding: 6px 4px;
    font-size: 11px;
    color: var(--w-text);
    background: #fafbfc;
    min-width: 60px;
}

.shift-grid-day-head .shift-grid-weekday {
    color: var(--w-text-muted);
    font-size: 10px;
    font-weight: 400;
}

.shift-grid-day-weekend {
    background: #fff5f5;
}

.shift-cell {
    height: 64px;
    width: 60px;
    padding: 4px;
    font-size: 11px;
}

.shift-cell-free { background: var(--w-free); }
.shift-cell-mine { background: var(--w-mine); color: var(--w-mine-text); }
.shift-cell-other { background: var(--w-other); color: var(--w-other-text); }
.shift-cell-pending { background: var(--w-pending); color: var(--w-pending-text); }

.shift-cell-name {
    font-weight: 600;
    margin-bottom: 3px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.shift-cell-form { margin: 0; }

.shift-cell-button {
    background: var(--w-accent);
    color: #fff;
    border: 0;
    padding: 5px 8px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 10px;
    font-family: inherit;
    width: 100%;
}

.shift-cell-button:hover { background: var(--w-accent-dark); }

.shift-cell-claim {
    background: var(--w-free-accent);
    color: #fff;
    border: 0;
    font-weight: 600;
}
.shift-cell-claim:hover { background: #1d4ed8; }
.shift-cell-release { background: var(--w-warn); }
.shift-cell-release:hover { background: #b45309; }
.shift-cell-cancel { background: #6b7280; }
.shift-cell-cancel:hover { background: #4b5563; }

.shift-cell-past {
    color: #d1d5db;
    font-size: 14px;
}

/* Mobile shift list */
.shift-mobile {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.shift-mobile-day {
    background: #fff;
    border: 1px solid var(--w-border);
    border-radius: 10px;
    padding: 0;
    overflow: hidden;
}

.shift-mobile-day[open] { border-color: var(--w-accent); }

.shift-mobile-day summary {
    padding: 12px 16px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
}

.shift-mobile-day summary::-webkit-details-marker { display: none; }

.shift-mobile-date {
    font-weight: 600;
    font-size: 14px;
}

.shift-mobile-count {
    font-family: 'Roboto Mono', monospace;
    font-size: 12px;
    color: var(--w-text-muted);
    background: #f3f4f6;
    padding: 2px 8px;
    border-radius: 999px;
}

.shift-mobile-day-today summary {
    background: #fff5f5;
}

.shift-mobile-stores {
    border-top: 1px solid var(--w-border);
    background: #fafbfc;
    display: flex;
    flex-direction: column;
}

.shift-mobile-store-row {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-bottom: 1px solid var(--w-border);
    font-size: 13px;
}

.shift-mobile-store-row:last-child { border-bottom: 0; }

.shift-mobile-store-name {
    font-weight: 500;
}

.shift-mobile-worker {
    color: var(--w-text);
    font-size: 12px;
}

.shift-mobile-mine-badge {
    font-size: 11px;
    font-weight: 600;
    color: var(--w-mine-text);
    background: var(--w-mine);
    padding: 2px 8px;
    border-radius: 999px;
    margin-left: 8px;
    white-space: nowrap;
}

/* Responsive */
.desktop-only { display: block; }
.mobile-only { display: none; }

/* Телефоны — карточки; планшеты и шире — матрица (со скроллом при нужде). */
@media (max-width: 680px) {
    .desktop-only { display: none; }
    .mobile-only { display: block; }
}

@media (max-width: 900px) {
    .worker-header { padding: 10px 14px; }
    .worker-logo img { height: 30px; }
    .worker-logo-text { font-size: 14px; }
    .worker-main { padding: 14px; }
    .worker-page-header h1 { font-size: 18px; }
}

@media (max-width: 520px) {
    .worker-logo-text { display: none; }
}

/* === Мультивыбор смен: календарь (Material), панель, диалог === */
:root {
    --w-elsewhere: #ede9fe;
    --w-elsewhere-text: #6d28d9;
    --w-selected: #2563eb;
}

.shift-legend-selected { background: var(--w-selected); color: #fff; border-color: var(--w-selected); }
.shift-legend-elsewhere { background: var(--w-elsewhere); color: var(--w-elsewhere-text); border-color: #ddd6fe; }

/* --- Календарь: контейнер (единый для всех устройств) --- */
.shift-cal { max-width: 720px; }

/* --- Чипы магазинов --- */
.wcal-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.wcal-chip {
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid var(--w-border);
    background: #fff;
    color: var(--w-text);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background .15s ease, color .15s ease, box-shadow .15s ease;
}
.wcal-chip-active {
    background: var(--w-selected);
    border-color: var(--w-selected);
    color: #fff;
    box-shadow: 0 1px 4px rgba(37, 99, 235, .35);
}

/* --- Mobile: календарь месяца --- */
.wcal {
    background: #fff;
    border: 1px solid var(--w-border);
    border-radius: 14px;
    padding: 12px 8px 14px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .06);
}
.wcal-grid { display: grid; grid-template-columns: repeat(7, 1fr); row-gap: 4px; }
.wcal-wd {
    text-align: center;
    font-size: 11px;
    font-weight: 600;
    color: var(--w-text-muted);
    text-transform: uppercase;
    padding: 4px 0 8px;
}
.wcal-day {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
    min-height: 56px;
    padding-top: 2px;
    -webkit-tap-highlight-color: transparent;
}
.wcal-circ {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 500;
    color: var(--w-text);
    transition: background .12s ease, color .12s ease;
}
.wcal-cap {
    font-size: 9px;
    line-height: 1.1;
    color: var(--w-text-muted);
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding: 0 2px;
}
.wcal-day-free { cursor: pointer; }
.wcal-day-free .wcal-circ { background: var(--w-free); color: var(--w-free-accent); }
.wcal-day-free:hover .wcal-circ { background: #bfdbfe; transform: scale(1.06); }
.wcal-day-free:active .wcal-circ { background: #bfdbfe; }
.wcal-day-free:focus-visible { outline: none; }
.wcal-day-free:focus-visible .wcal-circ { box-shadow: 0 0 0 2px var(--w-selected); }
.wcal-day.is-selected .wcal-circ { background: var(--w-selected); color: #fff; font-weight: 700; }
.wcal-day.is-selected .wcal-cap { color: var(--w-selected); font-weight: 700; }
.wcal-day-mine .wcal-circ { background: var(--w-mine); color: var(--w-mine-text); font-weight: 700; }
.wcal-day-mine .wcal-cap { color: var(--w-mine-text); font-weight: 600; }
.wcal-day-pending .wcal-circ { background: var(--w-pending); color: var(--w-pending-text); font-weight: 700; }
.wcal-day-pending .wcal-cap { color: var(--w-pending-text); }
.wcal-day-other .wcal-circ { background: var(--w-other); color: var(--w-other-text); }
.wcal-day-other .wcal-cap { color: var(--w-other-text); }
.wcal-day-elsewhere .wcal-circ { background: var(--w-elsewhere); color: var(--w-elsewhere-text); }
.wcal-day-elsewhere .wcal-cap { color: var(--w-elsewhere-text); font-weight: 600; }
.wcal-day.is-heldbysel .wcal-circ { background: var(--w-elsewhere); color: var(--w-elsewhere-text); }
.wcal-day.is-heldbysel .wcal-cap { color: var(--w-elsewhere-text); }
.wcal-day.is-heldbysel { cursor: not-allowed; }
.wcal-day-past .wcal-circ { color: #c3c9d1; }
.wcal-day-today .wcal-circ { box-shadow: inset 0 0 0 2px var(--w-selected); }
.wcal-day.is-selected.wcal-day-today .wcal-circ { box-shadow: none; }

/* --- Mobile: список моих смен --- */
.wcal-myshifts {
    margin-top: 14px;
    background: #fff;
    border: 1px solid var(--w-border);
    border-radius: 14px;
    padding: 12px 14px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .06);
}
.wcal-myshifts-title { font-size: 13px; font-weight: 700; color: var(--w-text); margin-bottom: 6px; }
.wcal-myshift-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-top: 1px solid var(--w-border);
    font-size: 14px;
}
.wcal-myshift-date { font-weight: 600; color: var(--w-text); white-space: nowrap; }
.wcal-myshift-store { flex: 1; color: var(--w-text-muted); }
.wcal-myshift-done { color: var(--w-success); font-weight: 700; }

/* --- Плавающая панель выбора (Material bottom bar) --- */
.worker-container-selbar { padding-bottom: 88px; }
.selbar[hidden] { display: none; }
.wdlg[hidden] { display: none; }
.selbar {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    bottom: 14px;
    z-index: 60;
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border: 1px solid var(--w-border);
    border-radius: 999px;
    padding: 10px 12px 10px 18px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, .18);
    max-width: calc(100vw - 24px);
}
.selbar-count { font-size: 14px; color: var(--w-text); white-space: nowrap; }
.selbar-btn {
    border: 0;
    border-radius: 999px;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: .3px;
}
.selbar-btn-text { background: transparent; color: var(--w-text-muted); }
.selbar-btn-primary { background: var(--w-selected); color: #fff; box-shadow: 0 2px 6px rgba(37, 99, 235, .4); }
.selbar-btn-primary:active { background: #1d4ed8; }

/* --- Material-диалог подтверждения --- */
.wdlg { position: fixed; inset: 0; z-index: 70; }
.wdlg-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .42); }
.wdlg-panel {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: min(420px, calc(100vw - 32px));
    max-height: 80vh;
    overflow: auto;
    background: #fff;
    border-radius: 16px;
    padding: 20px 20px 12px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .3);
}
.wdlg-title { margin: 0 0 12px; font-size: 18px; font-weight: 700; color: var(--w-text); }
.wdlg-body { font-size: 14px; color: var(--w-text); }
.wdlg-group { padding: 4px 0; }
.wdlg-ok { font-size: 15px; font-weight: 700; color: var(--w-success); padding: 2px 0 6px; }
.wdlg-failtitle { font-weight: 600; margin-top: 4px; }
.wdlg-fail { color: var(--w-accent-dark); padding: 2px 0; font-size: 13px; }
.wdlg-error { color: var(--w-accent-dark); margin-top: 10px; font-size: 13px; }
.wdlg-actions { display: flex; justify-content: flex-end; gap: 4px; margin-top: 14px; }
.wdlg-btn {
    border: 0;
    background: transparent;
    color: var(--w-selected);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .3px;
    padding: 10px 14px;
    border-radius: 8px;
    cursor: pointer;
}
.wdlg-btn:hover { background: #eff6ff; }
.wdlg-btn-primary { background: var(--w-selected); color: #fff; }
.wdlg-btn-primary:hover { background: #1d4ed8; }
.wdlg-btn-primary:disabled { opacity: .6; cursor: default; }

/* --- Календарь на широких экранах: крупнее кружки и подписи --- */
@media (min-width: 681px) {
    .wcal { padding: 16px 14px 18px; }
    .wcal-grid { row-gap: 8px; }
    .wcal-day { min-height: 66px; }
    .wcal-circ { width: 46px; height: 46px; font-size: 17px; }
    .wcal-cap { font-size: 11px; }
    .wcal-wd { font-size: 12px; }
    .wcal-chip { padding: 9px 20px; font-size: 15px; }
    .wcal-myshifts { max-width: 720px; }
}

/* ==================== Поставки (eОтпремницы) ==================== */
.worker-nav { display:flex; gap:4px; padding:8px 16px 0; max-width:960px; margin:0 auto; }
.worker-nav-link { padding:10px 16px; border-radius:10px 10px 0 0; color:#666;
  text-decoration:none; font-weight:600; font-size:15px; position:relative; }
.worker-nav-link.active { background:#fff; color:#e53935; box-shadow:0 -1px 4px rgba(0,0,0,.06); }
.worker-nav-badge { display:inline-block; margin-left:6px; min-width:20px; padding:1px 6px;
  border-radius:10px; background:#e53935; color:#fff; font-size:12px; text-align:center; }
.supplies-page { max-width:960px; margin:0 auto; padding:16px; }
.supplies-title { font-size:22px; margin:0 0 12px; }
.supplies-store { margin-bottom:20px; }
.supplies-store-name { font-weight:700; color:#444; margin:12px 0 8px; }
.supplies-empty { background:#fff; border-radius:12px; padding:20px; color:#888;
  box-shadow:0 1px 4px rgba(0,0,0,.06); }
.supplies-error { color:#c62828; }
.supplies-list { display:flex; flex-direction:column; gap:8px; }
.supply-row { display:flex; justify-content:space-between; align-items:center; gap:12px;
  background:#fff; border-radius:12px; padding:14px 16px; text-decoration:none; color:#222;
  box-shadow:0 1px 4px rgba(0,0,0,.06); }
.supply-row.awaiting { border-left:4px solid #e53935; }
.supply-row-main { display:flex; flex-direction:column; gap:2px; min-width:0; }
.supply-number { font-weight:700; }
.supply-counterparty { color:#777; font-size:13px; overflow:hidden; text-overflow:ellipsis;
  white-space:nowrap; }
.supply-row-side { display:flex; flex-direction:column; align-items:flex-end; gap:4px; }
.supply-date { color:#999; font-size:13px; }
.supply-status { font-size:12px; font-weight:700; padding:2px 8px; border-radius:8px;
  background:#eee; color:#666; }
.supply-status.awaiting { background:#fdecea; color:#c62828; }
.supply-status.received { background:#e8f5e9; color:#2e7d32; }
.supply-back { display:inline-block; margin-bottom:12px; color:#e53935; text-decoration:none;
  font-weight:600; }
.supply-card { background:#fff; border-radius:12px; padding:16px;
  box-shadow:0 1px 4px rgba(0,0,0,.06); }
.supply-card-head { display:flex; justify-content:space-between; align-items:center; gap:12px; }
.supply-meta { color:#555; font-size:14px; display:flex; flex-direction:column; gap:4px;
  margin:10px 0 16px; }
.supply-pdf { color:#e53935; text-decoration:none; font-weight:600; }
.supply-lines { display:flex; flex-direction:column; gap:6px; overflow-x:auto; }
.supply-line { display:grid; grid-template-columns:110px 1fr 56px 72px 64px; gap:8px;
  align-items:center; padding:8px 4px; border-bottom:1px solid #f0f0f0; font-size:14px; }
.supply-line-head { color:#999; font-size:12px; font-weight:700; border-bottom:2px solid #eee; }
.supply-sku small { display:block; color:#aaa; font-size:11px; }
.supply-qty { font-weight:700; }
.supply-input { width:100%; max-width:70px; padding:8px 6px; border:1px solid #ddd;
  border-radius:8px; font-size:15px; text-align:center; }
.supply-accept-btn { margin-top:16px; width:100%; padding:14px; border:0; border-radius:12px;
  background:#e53935; color:#fff; font-size:16px; font-weight:700; cursor:pointer; }
.supply-accept-btn:active { opacity:.85; }
@media (max-width:560px) {
  .supply-card { padding:12px 10px; }
  .supply-line { grid-template-columns:62px 1fr 32px 54px 48px; gap:5px; font-size:13px; }
  .supply-sku small { display:none; }
  .supply-input { max-width:52px; padding:8px 2px; }
}

/* ==================== Перемещение товара ==================== */
.transfer-stores { display:flex; gap:12px; margin-bottom:14px; flex-wrap:wrap; }
.transfer-field { display:flex; flex-direction:column; gap:4px; flex:1; min-width:140px;
  font-size:13px; color:#666; font-weight:600; }
.transfer-field select, .transfer-field input { padding:10px; border:1px solid #ddd;
  border-radius:10px; font-size:15px; background:#fff; }
.transfer-lines { display:flex; flex-direction:column; gap:10px; margin:10px 0; }
.transfer-line { position:relative; }
.transfer-search { width:100%; padding:12px; border:1px dashed #ccc; border-radius:10px;
  font-size:15px; }
.transfer-suggest { position:absolute; z-index:20; left:0; right:0; background:#fff;
  border-radius:10px; box-shadow:0 4px 16px rgba(0,0,0,.15); max-height:260px; overflow-y:auto; }
.transfer-suggest-item { padding:10px 12px; cursor:pointer; font-size:14px;
  border-bottom:1px solid #f2f2f2; }
.transfer-suggest-item:hover { background:#fdecea; }
.transfer-suggest-item small { color:#999; display:block; }
.transfer-line-picked { display:flex; align-items:center; gap:10px; flex-wrap:wrap;
  background:#fafafa; border-radius:10px; padding:10px; }
.transfer-line-picked[hidden] { display:none; }
.transfer-picked-name { font-weight:600; font-size:14px; flex:1; min-width:160px; }
.transfer-qty-label, .transfer-nic-label { font-size:13px; color:#666; display:flex;
  align-items:center; gap:6px; }
.transfer-vol { max-width:64px; }
.transfer-del { border:0; background:none; color:#c62828; font-size:16px; cursor:pointer; }
.transfer-add { margin:4px 0 12px; padding:10px 14px; border:1px dashed #e53935;
  background:none; color:#e53935; border-radius:10px; font-weight:700; cursor:pointer; }
.transfer-courier { border-top:1px solid #f0f0f0; padding-top:10px; margin-top:6px; }

/* способ перевозки */
.transfer-warn { border-left:4px solid #d97706; color:#7a5a10; background:#fff8e8; }
.transfer-warn-text { color:#c62828; }
.transfer-methods { display:flex; flex-direction:column; gap:8px; margin-bottom:10px; }
.transfer-method { display:flex; align-items:baseline; gap:8px; flex-wrap:wrap;
  background:#fafafa; border-radius:10px; padding:10px 12px; font-size:14px; cursor:pointer; }
.transfer-method small { color:#888; width:100%; margin-left:24px; }
.transfer-ship-fields { margin:8px 0; }
