/* Интерфейс кабинета клинера: авторизация, хотбары с кареткой, свайпы, чекбоксы, профиль, камера, голос и белый визард */
.maid-login-gate { position: fixed; inset: 0; z-index: 700; background: #f5f5f7; display: flex; align-items: center; justify-content: center; padding: 20px; }
.maid-auth-surface { width: min(410px, 100%); background: #fff; border-radius: 28px; padding: 28px 22px 24px; box-shadow: 0 12px 36px rgba(15, 23, 42, 0.07); display: flex; flex-direction: column; gap: 16px; transition: opacity 180ms ease; }
.maid-auth-surface.is-submitting .maid-auth-inputs-group { opacity: 0.56; pointer-events: none; }
.maid-auth-hero { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding-bottom: 4px; }
.maid-auth-logo-mark { width: 56px; height: 56px; border-radius: 18px; background: #f2f3f7; color: #1d1d1f; display: inline-flex; align-items: center; justify-content: center; }
.maid-auth-heading { font-size: 22px; line-height: 27px; font-weight: 700; letter-spacing: -0.02em; }
.maid-auth-sub { font-size: 13px; line-height: 18px; color: #6e6e73; max-width: 310px; }
.maid-auth-inputs-group { display: flex; flex-direction: column; gap: 10px; }
.maid-auth-input-row { background: #f2f3f7; border-radius: 16px; padding: 9px 14px; display: flex; align-items: center; gap: 12px; cursor: text; transition: background-color 140ms ease, outline 140ms ease; }
.maid-auth-input-row:focus-within { background: #ebecf2; outline: 2px solid #1d1d1f; outline-offset: -2px; }
.maid-auth-field-ico { color: #6e6e73; font-size: 20px; flex-shrink: 0; }
.maid-auth-field-col { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.maid-auth-field-lbl { font-size: 11px; font-weight: 600; color: #6e6e73; line-height: 14px; }
.maid-auth-raw-inp { width: 100%; border: 0; outline: 0; background: transparent; font-size: 15px; font-weight: 500; color: #1d1d1f; font-family: inherit; height: 22px; }
.maid-auth-eye-btn { width: 34px; height: 34px; border-radius: 50%; border: 0; background: transparent; color: #6e6e73; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; }
.maid-auth-progress { background: #f2f3f7; border-radius: 14px; padding: 11px 14px; display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; }
.maid-auth-spin-slot { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.maid-auth-submit-btn { height: 50px; border-radius: 17px; font-size: 15px; }

.maid-chk-wrap { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; flex-shrink: 0; cursor: pointer; }
.maid-chk-input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 2; }
.maid-chk-box { width: 24px; height: 24px; border-radius: 8px; background: #e5e6ec; display: inline-flex; align-items: center; justify-content: center; transition: background-color 180ms var(--tma-ease), transform 180ms var(--tma-ease); }
.maid-chk-svg { width: 15px; height: 15px; fill: none; stroke: #fff; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 22; stroke-dashoffset: 22; transition: stroke-dashoffset 210ms var(--tma-ease) 30ms; }
.maid-chk-input:active + .maid-chk-box { transform: scale(0.88); }
.maid-chk-input:checked + .maid-chk-box { background: #1d1d1f; transform: scale(1.03); }
.maid-chk-input:checked + .maid-chk-box .maid-chk-svg { stroke-dashoffset: 0; }
.maid-chk-input:focus-visible + .maid-chk-box { outline: 2px solid #007aff; outline-offset: 2px; }

.maid-primary-hotbar { z-index: 92 !important; position: absolute; overflow: hidden; }
.maid-primary-hotbar .tma-tab { position: relative; z-index: 2; background: transparent !important; transition: color 180ms ease, transform 120ms ease; }
.maid-primary-hotbar .tma-tab:active { transform: scale(0.95); }
.maid-hotbar-caret { position: absolute; top: 4px; bottom: 4px; left: 0; width: 72px; border-radius: 999px; background: rgba(29, 29, 31, 0.09); pointer-events: none; z-index: 1; will-change: transform, width; transition: transform 280ms var(--tma-ease), width 280ms var(--tma-ease); }
.maid-hotbar-caret.is-sub { background: #1d1d1f; top: 3px; bottom: 3px; }
.maid-schedule-subbar { position: absolute; left: 50%; bottom: calc(74px + env(safe-area-inset-bottom, 0px)); z-index: 84; height: 42px; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px); box-shadow: 0 6px 22px rgba(15, 23, 42, 0.09); display: inline-flex; align-items: center; gap: 2px; transform: translate3d(-50%, 66px, 0) scale(0.9); opacity: 0; pointer-events: none; will-change: transform, opacity; transition: transform 300ms var(--tma-ease), opacity 220ms ease; }
.maid-schedule-subbar.is-visible { transform: translate3d(-50%, 0, 0) scale(1); opacity: 1; pointer-events: auto; }
.maid-subbar-btn { position: relative; z-index: 2; height: 36px; padding: 0 15px; border: 0; border-radius: 999px; background: transparent; color: #6e6e73; font-size: 13px; font-weight: 600; font-family: inherit; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; white-space: nowrap; transition: color 180ms ease; }
.maid-subbar-btn.is-active { color: #fff; }
.maid-subbar-cnt { font-size: 11px; font-weight: 700; padding: 1px 6px; border-radius: 999px; background: rgba(0, 0, 0, 0.07); color: inherit; }
.maid-subbar-btn.is-active .maid-subbar-cnt { background: rgba(255, 255, 255, 0.22); color: #fff; }

.maid-viewport-stage .tma-page-scroll { padding-bottom: calc(134px + env(safe-area-inset-bottom, 0px)); }
@keyframes maidTabNext { from { opacity: 0; transform: translate3d(34px, 0, 0); } to { opacity: 1; transform: translate3d(0, 0, 0); } }
@keyframes maidTabPrev { from { opacity: 0; transform: translate3d(-34px, 0, 0); } to { opacity: 1; transform: translate3d(0, 0, 0); } }
@keyframes maidVertIn { from { opacity: 0; transform: translate3d(0, -38px, 0); } to { opacity: 1; transform: translate3d(0, 0, 0); } }
@keyframes maidDoneDraw { to { stroke-dashoffset: 0; } }
.maid-anim-h-next, .lh-wiz-slide-next { animation: maidTabNext 230ms var(--tma-ease); }
.maid-anim-h-prev, .lh-wiz-slide-prev { animation: maidTabPrev 230ms var(--tma-ease); }
.maid-vert-stage { position: relative; display: flex; flex-direction: column; gap: 12px; }
.maid-vert-enter-top { animation: maidVertIn 250ms var(--tma-ease); }
.maid-vert-exit-down { opacity: 0; transform: translate3d(0, 42px, 0); transition: transform 220ms var(--tma-ease), opacity 190ms ease; pointer-events: none; }

.maid-prof-topbar { position: relative; min-height: 44px; display: flex; align-items: center; justify-content: center; padding: 4px 0; }
.maid-prof-back-btn { position: absolute; left: 0; width: 38px; height: 38px; border-radius: 50%; border: 0; background: #fff; color: #1d1d1f; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.maid-prof-center-title { font-size: 18px; line-height: 22px; font-weight: 700; text-align: center; letter-spacing: -0.02em; }
.maid-prof-user-card { background: #fff; border-radius: 22px; padding: 16px; display: flex; align-items: center; gap: 14px; }
.maid-prof-ava { width: 52px; height: 52px; border-radius: 50%; background: #1d1d1f; color: #fff; font-size: 17px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.maid-nav-menu-list { background: #fff; border-radius: 22px; padding: 4px 8px; display: flex; flex-direction: column; }
.maid-nav-menu-btn { width: 100%; border: 0; background: transparent; padding: 13px 10px; border-bottom: 1px solid rgba(60, 60, 67, 0.08); display: flex; align-items: center; justify-content: space-between; gap: 12px; cursor: pointer; text-align: left; font-family: inherit; border-radius: 14px; transition: background-color 120ms ease; }
.maid-nav-menu-btn:last-child { border-bottom: 0; }
.maid-nav-menu-btn:active { background: #f2f3f7; }
.maid-nav-menu-lead { display: flex; align-items: center; gap: 12px; min-width: 0; flex: 1; }
.maid-nav-menu-ico { width: 38px; height: 38px; border-radius: 11px; background: #f2f3f7; color: #1d1d1f; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.maid-nav-menu-texts { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.maid-nav-menu-texts strong { font-size: 15px; font-weight: 600; }
.maid-nav-menu-chev { color: #8e8e93; font-size: 20px; flex-shrink: 0; }

.maid-early-banner { background: rgba(22, 163, 74, 0.12); color: #15803d; border-radius: 14px; padding: 10px 12px; font-size: 12.5px; display: flex; flex-direction: column; gap: 2px; }
.maid-map-address-pin { background: #1d1d1f; color: #fff; font-size: 11.5px; font-weight: 600; padding: 4px 10px; border-radius: 999px; white-space: nowrap; display: inline-flex; align-items: center; gap: 5px; transform: translate(-50%, -50%); }
.maid-map-pin-dot { width: 6px; height: 6px; border-radius: 50%; background: #34c759; }
.maid-new-blue-dot { width: 8px; height: 8px; border-radius: 50%; background: #007aff; display: inline-block; flex-shrink: 0; }
.maid-new-blue-badge { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 700; color: #007aff; background: rgba(0, 122, 255, 0.12); padding: 2px 9px; border-radius: 999px; }
.maid-notif-pref-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 4px; border-bottom: 1px solid rgba(60, 60, 67, 0.08); font-size: 14px; font-weight: 500; cursor: pointer; }
.maid-notif-pref-row:last-child { border-bottom: 0; }
.maid-tab-ico-wrap { position: relative; display: inline-flex; align-items: center; justify-content: center; }
.maid-tab-dot { position: absolute; top: -2px; right: -5px; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid #fff; background: #007aff; }
.maid-tab-badge { position: absolute; top: -5px; right: -10px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 999px; background: #1d1d1f; color: #fff; font-size: 10px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.maid-tab-badge.is-blue-badge { background: #007aff !important; }
.maid-hero-shift-card, .maid-task-card { background: #fff; border-radius: 22px; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.maid-active-banner-card { background: #1d1d1f; color: #fff; border-radius: 22px; padding: 16px; display: flex; flex-direction: column; gap: 8px; cursor: pointer; }
.maid-active-banner-card .tma-sub { color: rgba(255, 255, 255, 0.7); }
.maid-empty-order-box { background: #fff; border-radius: 24px; padding: 36px 20px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; }
.maid-order-map-box { width: 100%; height: 210px; border-radius: 18px; overflow: hidden; background: #e5e9f0; }
.maid-window-banner { background: #f2f3f7; border-radius: 15px; padding: 11px 13px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.maid-minimal-status, .maid-verdict-minimal { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: inherit; }
.maid-status-dot { width: 7px; height: 7px; border-radius: 50%; background: #007aff; display: inline-block; }
.maid-verdict-minimal.is-approved { color: #15803d; }
.maid-verdict-minimal.is-rejected { color: #dc2626; }
.maid-receipt-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 0; border-bottom: 1px solid rgba(60, 60, 67, 0.08); cursor: pointer; }
.maid-receipt-row:last-child { border-bottom: 0; }
.maid-inline-error { background: rgba(220, 38, 38, 0.08); color: #b91c1c; border-radius: 14px; padding: 11px 14px; font-size: 13px; display: flex; flex-direction: column; gap: 3px; }
.maid-inspect-points, .maid-tiles-stack { display: flex; flex-direction: column; gap: 8px; }
.maid-inspect-point-row { width: 100%; border: 0; border-radius: 14px; background: #f2f3f7; color: #1d1d1f; padding: 11px 13px; text-align: left; font-size: 13.5px; font-weight: 500; display: flex; align-items: center; gap: 10px; cursor: pointer; font-family: inherit; }
.maid-inspect-point-row.is-selected { background: #1d1d1f; color: #fff; }
.maid-point-num { width: 22px; height: 22px; border-radius: 50%; background: rgba(0, 0, 0, 0.08); display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; flex-shrink: 0; }
.maid-inspect-point-row.is-selected .maid-point-num { background: rgba(255, 255, 255, 0.2); }
.maid-capture-choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.maid-upload-tile { background: #f2f3f7; border-radius: 15px; padding: 8px 10px; display: flex; align-items: center; gap: 11px; }
.maid-upload-tile-thumb { width: 48px; height: 48px; border-radius: 10px; object-fit: cover; flex-shrink: 0; }
.maid-upload-tile-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.maid-upload-tile-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12.5px; }
.maid-upload-tile-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.maid-upload-tile-track { width: 100%; height: 4px; border-radius: 999px; background: rgba(0, 0, 0, 0.08); overflow: hidden; }
.maid-upload-tile-fill { height: 100%; width: 0%; background: #007aff; border-radius: 999px; }
.maid-upload-tile-fill.is-complete { width: 100%; background: #1d1d1f; }
.maid-upload-tile-del { width: 30px; height: 30px; border: 0; border-radius: 50%; background: rgba(0, 0, 0, 0.06); color: #1d1d1f; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }

.maid-voice-bar { background: #f2f3f7; border-radius: 16px; padding: 10px 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.maid-voice-wave-box { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.maid-voice-circle-btn { position: relative; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #007aff; color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; }
.maid-v-ico { position: absolute; transition: opacity 160ms ease; }
.maid-v-ico.is-check { opacity: 0; }
.maid-voice-circle-btn.is-check-mode .maid-v-ico.is-mic { opacity: 0; }
.maid-voice-circle-btn.is-check-mode .maid-v-ico.is-check { opacity: 1; }

.maid-cam-fullscreen { position: fixed; inset: 0; z-index: 640; background: #000; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; }
.maid-cam-video-full { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.maid-cam-grad-top, .maid-cam-grad-bottom { position: relative; z-index: 3; padding: 18px 16px; display: flex; align-items: center; justify-content: space-between; color: #fff; }
.maid-cam-grad-top { background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), transparent); }
.maid-cam-grad-bottom { justify-content: center; background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent); padding-bottom: calc(26px + env(safe-area-inset-bottom, 0px)); }
.maid-cam-title { font-size: 14.5px; font-weight: 600; text-align: center; padding: 0 8px; }
.maid-cam-back-btn { width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.2); color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; }
.maid-cam-shutter-btn { width: 76px; height: 76px; border-radius: 50%; border: 4px solid #fff; background: rgba(255, 255, 255, 0.22); padding: 5px; cursor: pointer; }
.maid-cam-shutter-inner { width: 100%; height: 100%; border-radius: 50%; background: #fff; display: block; }
.maid-cam-preview-overlay { position: absolute; inset: 0; z-index: 10; background: rgba(0, 0, 0, 0.64); padding: 20px; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; }
.maid-cam-preview-frame { flex: 1; border-radius: 24px; border: 2px solid #fff; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.maid-cam-captured-img { width: 100%; height: 100%; object-fit: cover; }
.maid-cam-overlay-actions, .maid-white-wiz-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.maid-white-wizard { position: fixed; inset: 0; z-index: 630; background: #fff; color: #1d1d1f; display: flex; flex-direction: column; justify-content: space-between; padding: 18px; overflow: hidden; }
.maid-white-wiz-top, .maid-white-step-dots { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.maid-step-dot { width: 24px; height: 6px; border-radius: 999px; border: 0; background: #e5e6ec; cursor: pointer; transition: width 180ms var(--tma-ease), background-color 180ms ease; }
.maid-step-dot.is-filled { background: #8e8e93; }
.maid-step-dot.is-current { width: 36px; background: #1d1d1f; }
.maid-white-wiz-body, .maid-white-done-stage { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.maid-white-question-box { display: flex; flex-direction: column; gap: 6px; }
.maid-white-question-box h2 { font-size: 22px; line-height: 27px; font-weight: 700; }
.maid-white-done-stage { align-items: center; text-align: center; }
.maid-done-check-svg { width: 72px; height: 72px; }
.maid-done-circle { stroke-dasharray: 202; stroke-dashoffset: 202; animation: maidDoneDraw 420ms var(--tma-ease) forwards; }
.maid-done-path { stroke-dasharray: 46; stroke-dashoffset: 46; animation: maidDoneDraw 320ms var(--tma-ease) 240ms forwards; }
