/* Модульные стили Apple Workspace: 2-колоночные настройки macOS, каналы связи, пароли с глазом, сплиты карт и Субагенты */
.lh-provider-pills-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.lh-provider-tile { border: 0; border-radius: 12px; background: var(--canvas); padding: 12px 14px; text-align: left; cursor: pointer; display: flex; flex-direction: column; gap: 4px; font-family: inherit; transition: background-color 100ms ease; }
.lh-provider-tile:hover { background: var(--hover); }
.lh-provider-tile.is-active { background: var(--accent-primary); color: var(--surface); }
.lh-provider-tile.is-active .lh-muted { color: rgba(255, 255, 255, 0.72); }

.lh-email-split-layout { display: grid; grid-template-columns: minmax(260px, 0.9fr) minmax(320px, 1.1fr); gap: 20px; align-items: start; }
.lh-guide-panel { background: var(--canvas); border-radius: 14px; padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; }
.lh-guide-steps { display: flex; flex-direction: column; gap: 8px; }
.lh-guide-step-row { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; line-height: 18px; color: var(--text); }
.lh-guide-num { width: 22px; height: 22px; border-radius: 50%; background: var(--surface); color: var(--text); font-size: 11.5px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }

/* 2-колоночная сетка настроек Apple Settings («Заселение и Wi-Fi», «Домены порталов») */
.lh-mac-split-list { display: flex; flex-direction: column; gap: 0; width: 100%; }
.lh-mac-split-section { display: grid; grid-template-columns: 268px minmax(0, 1fr); gap: 32px; align-items: start; padding: 20px 0; border-bottom: 1px solid var(--divider); }
.lh-mac-split-section:first-child { padding-top: 2px; }
.lh-mac-split-section:last-child { border-bottom: 0; padding-bottom: 4px; }
.lh-mac-split-aside { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.lh-mac-svg-preview { margin-top: 6px; width: 220px; max-width: 100%; border-radius: 12px; overflow: hidden; }
.lh-mac-svg-preview svg { width: 100%; height: auto; display: block; color: var(--text); }
.lh-mac-split-fields { display: flex; flex-direction: column; gap: 12px; min-width: 0; max-width: 660px; }

/* Контрастные тактильные пилюли каналов связи */
.lh-channel-pills-row { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 2px; }
.lh-channel-pill-toggle { height: 34px; padding: 0 13px; border: 0; border-radius: 10px; background: var(--field); color: var(--text); font-size: 13px; font-weight: 500; font-family: inherit; display: inline-flex; align-items: center; gap: 7px; cursor: pointer; transition: background-color 100ms ease, color 100ms ease; }
.lh-channel-pill-toggle:hover { background: var(--hover); }
.lh-channel-pill-toggle.is-active { background: var(--accent-primary); color: var(--surface); }

/* Строка пароля и учётных данных в карточке сотрудника («Доступ и вход») */
.lh-cred-val-pill { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.lh-cred-secret { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 13.5px; font-weight: 500; background: var(--surface); padding: 6px 12px; border-radius: 9px; color: var(--text); letter-spacing: 0.04em; min-height: 32px; display: inline-flex; align-items: center; }
.lh-cred-pwd-input-wrap { display: flex; align-items: center; gap: 6px; }
.lh-cred-pwd-input-wrap .lh-input { flex: 1; }

/* Места города */
.lh-landmarks-split { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 18px; align-items: stretch; height: calc(100dvh - 148px); min-height: 460px; }
.lh-lm-stage { position: relative; overflow: hidden; height: 100%; border-radius: 16px; background: var(--canvas); }
.lh-lm-panel { position: absolute; inset: 0; padding: 14px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; transition: transform 240ms var(--ease-apple), opacity 200ms ease; }
.lh-lm-panel.is-form-scroll { overflow-y: auto; }
.lh-lm-panel.is-hidden-left { transform: translateX(-100%); opacity: 0; pointer-events: none; }
.lh-lm-panel.is-hidden-right { transform: translateX(100%); opacity: 0; pointer-events: none; }
.lh-lm-panel.is-scaling-out { transform: scale(0.92); opacity: 0; pointer-events: none; transition: transform 180ms var(--ease-apple), opacity 160ms ease; }
.lh-lm-list-footer { display: flex; align-items: center; justify-content: center; padding-top: 12px; border-top: 1px solid var(--divider); flex-shrink: 0; }
.lh-landmarks-map { width: 100%; height: 100%; min-height: 460px; border-radius: 16px; overflow: hidden; background: #e5e9f0; }
.lh-landmark-list { display: flex; flex-direction: column; gap: 6px; flex: 1; min-height: 0; overflow-y: auto; padding-right: 2px; }
.lh-landmark-row { background: var(--surface); border-radius: 11px; padding: 10px 12px; display: flex; align-items: center; justify-content: space-between; gap: 10px; cursor: pointer; transition: background-color 90ms ease; }
.lh-landmark-row:hover { background: var(--hover); }
.lh-landmark-row.is-active { background: var(--accent-primary); color: var(--surface); }
.lh-landmark-row.is-active .lh-muted, .lh-landmark-row.is-active .lh-btn-ghost { color: rgba(255, 255, 255, 0.78); }
.lh-lm-map-pin { background: var(--surface); color: var(--text); border: 1px solid var(--divider); font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: var(--radius-pill); white-space: nowrap; max-width: 142px; overflow: hidden; text-overflow: ellipsis; transform: translate(-50%, -50%); cursor: pointer; }
.lh-lm-map-pin:hover { z-index: 880 !important; background: var(--accent-primary); color: var(--surface); border-color: var(--accent-primary); }
.lh-lm-map-pin.is-active-pin { background: var(--accent-primary); color: var(--surface); border-color: var(--accent-primary); z-index: 900 !important; max-width: none; }

/* События спроса — 2-колоночный сплит */
.lh-radar-split { display: grid; grid-template-columns: minmax(380px, 1.05fr) minmax(380px, 0.95fr); gap: 18px; align-items: stretch; min-height: 520px; }
.lh-radar-events-col { display: flex; flex-direction: column; gap: 12px; min-height: 0; max-height: 580px; }
.lh-radar-events-list { flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; padding-right: 4px; }
.lh-radar-event-card { background: var(--canvas); border-radius: 14px; padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; cursor: pointer; transition: background-color 90ms ease; }
.lh-radar-event-card:hover { background: var(--hover); }
.lh-radar-event-card.is-selected { background: var(--selected); }
.lh-radar-event-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.lh-radar-map-col { position: relative; min-height: 520px; border-radius: 16px; overflow: hidden; background: #e5e9f0; }
.lh-radar-map-canvas { width: 100%; height: 100%; min-height: 520px; }
@media (max-width: 1060px) { .lh-radar-split, .lh-mac-split-section { grid-template-columns: 1fr; } .lh-radar-map-col, .lh-radar-map-canvas { min-height: 360px; } }

/* Договоры и оферта */
.lh-doc-editor-split { display: grid; grid-template-columns: 244px minmax(0, 1fr); gap: 18px; align-items: start; }
.lh-doc-nav-list { display: flex; flex-direction: column; gap: 4px; }
.lh-doc-nav-btn { width: 100%; border: 0; border-radius: 10px; padding: 10px 12px; background: transparent; color: var(--text); font-size: 13px; font-weight: 500; text-align: left; cursor: pointer; display: flex; align-items: flex-start; gap: 9px; font-family: inherit; }
.lh-doc-nav-btn:hover { background: var(--hover); }
.lh-doc-nav-btn.is-active { background: var(--accent-primary); color: var(--surface); }
.lh-doc-nav-btn.is-active .lh-muted { color: rgba(255, 255, 255, 0.72); }
.lh-doc-nav-meta { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.lh-doc-rich-surface { min-height: 310px; max-height: 460px; overflow-y: auto; padding: 14px 16px; border-radius: 12px; background: var(--field); font-size: 13.5px; line-height: 22px; color: var(--text); outline: 0; white-space: pre-wrap; word-break: break-word; }
.lh-doc-rich-surface:focus { background: var(--hover); outline: 2px solid var(--focus-ring); outline-offset: -2px; }
.lh-doc-preview-box { background: var(--canvas); border-radius: 12px; padding: 18px 20px; white-space: pre-wrap; font-size: 13.5px; line-height: 21px; color: var(--text); max-height: 60dvh; overflow-y: auto; }

.lh-settings-group-title { font-size: 15px; line-height: 20px; font-weight: 600; color: var(--text); }
.lh-domain-preview-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--canvas); border-radius: 12px; padding: 11px 14px; flex-wrap: wrap; }

/* Firebase JSON dropzone & Приложение клинера */
.lh-mob-sound-bar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.lh-mob-sound-bar audio { height: 34px; max-width: 240px; }
.lh-json-dropzone { background: var(--field); border: 1px dashed var(--muted-text); border-radius: 12px; padding: 14px 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; cursor: pointer; transition: background-color 100ms ease, border-color 100ms ease; }
.lh-json-dropzone:hover, .lh-json-dropzone.is-dragover { background: var(--hover); border-color: var(--text); }
.lh-json-dropzone.is-connected { border-style: solid; border-color: var(--semantic-ok); background: var(--semantic-ok-bg); }
.lh-mob-drop-wrap { background: var(--field); border-radius: 12px; padding: 12px 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; cursor: pointer; }
.lh-mob-drop-wrap:hover, .lh-mob-drop-wrap.is-dragover { background: var(--hover); }
.lh-mob-drop-wrap .lh-drop-lead { min-width: 0; flex: 1; }
.lh-mob-drop-wrap .lh-drop-texts strong, .lh-mob-drop-wrap .lh-drop-texts span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Белый список ИИ и мягкие карточки Субагентов */
.lh-wl-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 16px; align-items: start; }
.lh-wl-col { background: var(--surface); border: 1px solid var(--divider); border-radius: var(--radius-surface); padding: 16px; display: flex; flex-direction: column; gap: 12px; min-height: 420px; }
.lh-wl-col .lh-search-pill { width: 100%; max-width: none; flex: 0 0 auto; }
.lh-wl-list { display: flex; flex-direction: column; gap: 8px; flex: 1; min-height: 0; max-height: 520px; overflow-y: auto; padding-right: 2px; }
.lh-wl-row { background: var(--canvas); border-radius: 12px; padding: 10px 12px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.lh-wl-bounds { display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0; }
.lh-wl-bound-inp { width: 82px !important; height: 30px !important; padding: 0 8px !important; font-size: 12.5px !important; text-align: right; font-variant-numeric: tabular-nums; }

.lh-subagents-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(264px, 1fr)); gap: 12px; }
.lh-subagent-tile { border: 0; border-radius: 16px; background: var(--surface); padding: 16px 18px; text-align: left; cursor: pointer; display: flex; flex-direction: column; gap: 10px; font-family: inherit; transition: background-color 90ms ease; }
.lh-subagent-tile:hover { background: var(--hover); }
.lh-subagent-tile-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.lh-subagent-tile-ico { width: 38px; height: 38px; border-radius: 11px; background: var(--canvas); color: var(--text); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.lh-subagent-tile-title { font-size: 14.5px; line-height: 19px; font-weight: 600; color: var(--text); }
.lh-subagent-tile-foot { margin-top: auto; padding-top: 6px; display: flex; align-items: center; justify-content: space-between; gap: 8px; color: var(--secondary-text); font-size: 12px; }
.lh-sub-news-host { display: flex; flex-direction: column; gap: 24px; padding-top: 4px; }
.lh-sub-news-block { display: flex; flex-direction: column; gap: 12px; }

.lh-fin-legend { display: inline-flex; align-items: center; gap: 14px; font-size: 12.5px; color: var(--secondary-text); }
.lh-fin-legend-item { display: inline-flex; align-items: center; gap: 6px; }
.lh-fin-legend-swatch { width: 10px; height: 10px; border-radius: 3px; background: #1d1d1f; }
.lh-fin-legend-swatch.is-exp { background: #007aff; }

/* Заявки гостей, срочный негатив, табель и завершённые поездки */
.lh-urgent-negative-panel { background: var(--semantic-err-bg); border-radius: 14px; padding: 16px 20px; display: flex; flex-direction: column; gap: 10px; }
.lh-urgent-neg-item { background: var(--surface); border-radius: 12px; padding: 12px 15px; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.lh-service-req-row { background: var(--canvas); border-radius: 12px; padding: 12px 16px; display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.lh-service-req-row.is-urgent-req { background: var(--semantic-err-bg); }
.lh-stay-completed-pill { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 7px; margin-top: 2px; border-top: 1px solid var(--divider); font-size: 12px; font-weight: 500; color: var(--secondary-text); }
.lh-stay-completed-pill-lead { display: inline-flex; align-items: center; gap: 6px; }
.lh-stay-completed-pill .material-symbols-outlined { font-size: 15px; color: var(--text); }
.lh-stay-completed-pill.is-canceled, .lh-stay-completed-pill.is-canceled .material-symbols-outlined { color: var(--semantic-err); }
.lh-daily-report-grid { display: flex; flex-direction: column; gap: 10px; max-height: 440px; overflow-y: auto; }
.lh-daily-day-card { background: var(--canvas); border-radius: 12px; padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; }
.lh-daily-rev-note { background: var(--surface); border-radius: 10px; padding: 8px 11px; font-size: 12.5px; color: var(--text); display: flex; justify-content: space-between; gap: 10px; }
.lh-tag-chips-inline { display: flex; flex-wrap: wrap; gap: 6px; }
.lh-tag-chip-plain { background: var(--field); color: var(--text); font-size: 11.5px; font-weight: 500; padding: 3px 9px; border-radius: 8px; }
