.cabinet-page { min-height: 100vh; padding-bottom: 40px; background: #f4f0e7; }
.cabinet-page button, .cabinet-page select, .cabinet-page textarea { font: inherit; }
.cabinet-header { position: sticky; z-index: 40; top: 0; border-bottom: 1px solid var(--line); background: rgba(246,242,233,.94); backdrop-filter: blur(18px); }
.cabinet-header-inner { height: 76px; display: flex; align-items: center; gap: 28px; }
.cabinet-context { display: flex; align-items: center; gap: 10px; padding-left: 28px; border-left: 1px solid var(--line); font-size: 12px; }
.cabinet-context span { color: var(--ink-soft); }
.cabinet-context b { padding: 5px 9px; border-radius: 99px; background: var(--lilac); font-size: 10px; text-transform: uppercase; letter-spacing: 1px; }
.cabinet-header-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.find-link { padding: 10px 18px; border: 1px solid var(--line); border-radius: 99px; font-size: 13px; font-weight: 750; }
.notification-button, .account-button { border: 0; background: transparent; cursor: pointer; }
.notification-button { position: relative; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; }
.notification-button:hover { background: var(--paper); }
.notification-button svg { width: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.notification-button > span { position: absolute; top: 1px; right: 0; min-width: 18px; height: 18px; display: grid; place-items: center; padding: 0 4px; border: 2px solid var(--cream); border-radius: 99px; background: var(--coral); color: white; font-size: 9px; font-weight: 800; }
.notification-button > span[hidden], .cabinet-sidebar nav button > b[hidden] { display: none; }
.account-button { display: flex; align-items: center; gap: 10px; text-align: left; }
.account-button > span { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--lilac); font-size: 12px; font-weight: 800; }
.account-button p { margin: 0; display: grid; }
.account-button strong { font-size: 13px; }
.account-button small { color: var(--ink-soft); font-size: 10px; }

.cabinet-layout { display: grid; grid-template-columns: 236px minmax(0,1fr); gap: 48px; align-items: start; padding-top: 42px; }
.cabinet-sidebar { position: sticky; top: 118px; display: grid; gap: 26px; }
.cabinet-sidebar nav { display: grid; gap: 5px; }
.cabinet-sidebar nav button { width: 100%; min-height: 45px; display: flex; align-items: center; gap: 12px; padding: 8px 12px; border: 0; border-radius: 13px; background: transparent; text-align: left; font-size: 13px; font-weight: 680; cursor: pointer; transition: background .18s, transform .18s; }
.cabinet-sidebar nav button:hover { transform: translateX(2px); background: rgba(255,255,255,.6); }
.cabinet-sidebar nav button.active { background: var(--ink); color: white; box-shadow: 0 12px 30px rgba(24,48,43,.13); }
.cabinet-sidebar nav button > span { width: 22px; text-align: center; font-size: 17px; }
.cabinet-sidebar nav button > b { margin-left: auto; min-width: 20px; height: 20px; display: grid; place-items: center; padding: 0 5px; border-radius: 99px; background: rgba(24,48,43,.09); font-size: 9px; }
.cabinet-sidebar nav button.active > b { background: var(--lime); color: var(--ink); }
.sidebar-secondary { padding-top: 20px; border-top: 1px solid var(--line); }
.sidebar-privacy { display: flex; gap: 10px; padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.45); }
.sidebar-privacy > span { width: 23px; height: 23px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; background: var(--sage); font-size: 11px; font-weight: 900; }
.sidebar-privacy p, .sidebar-privacy strong, .sidebar-privacy small { margin: 0; display: block; }
.sidebar-privacy strong { font-size: 11px; }
.sidebar-privacy small { margin-top: 4px; color: var(--ink-soft); font-size: 9px; line-height: 1.45; }

.cabinet-content { min-width: 0; }
.cabinet-panel { display: none; animation: panel-in .28s ease both; }
.cabinet-panel.active { display: block; }
@keyframes panel-in { from { opacity: 0; transform: translateY(7px); } }
.panel-heading { min-height: 104px; display: flex; justify-content: space-between; align-items: start; gap: 28px; margin-bottom: 28px; }
.panel-heading .eyebrow, .section-line .eyebrow { margin-bottom: 9px; color: #687670; font-size: 9px; }
.panel-heading h1 { margin: 0; font-size: clamp(34px,4vw,52px); line-height: 1; letter-spacing: -2.5px; font-weight: 690; }
.panel-heading p:not(.eyebrow) { max-width: 610px; margin: 12px 0 0; color: var(--ink-soft); font-size: 14px; }
.panel-heading .button { min-height: 46px; flex: 0 0 auto; }

.overview-grid { display: grid; grid-template-columns: minmax(0,1.7fr) minmax(230px,.65fr); gap: 18px; }
.next-appointment { padding: 30px; overflow: hidden; border-radius: 26px; background: var(--ink); color: white; box-shadow: 0 25px 55px rgba(24,48,43,.14); }
.next-appointment.appointment-cancelled { background: #59635f; }
.next-appointment button:disabled { opacity: .45; cursor: not-allowed; }
.appointment-label { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,.65); font-size: 10px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 5px rgba(216,239,97,.12); }
.appointment-main { display: grid; grid-template-columns: 148px 1fr; gap: 24px; align-items: end; margin: 30px 0; }
.appointment-date { display: grid; }
.appointment-date strong { font-size: 51px; line-height: .9; letter-spacing: -3px; font-weight: 660; }
.appointment-date span { margin-top: 9px; color: rgba(255,255,255,.57); font-size: 10px; }
.appointment-person { display: flex; align-items: center; gap: 12px; padding-left: 22px; border-left: 1px solid rgba(255,255,255,.2); }
.appointment-person > span { width: 45px; height: 45px; display: grid; place-items: center; border-radius: 50%; background: var(--lilac); color: var(--ink); font-size: 11px; font-weight: 800; }
.appointment-person p { margin: 0; display: grid; }
.appointment-person strong { font-size: 15px; }
.appointment-person small { margin-top: 3px; color: rgba(255,255,255,.55); font-size: 10px; }
.meeting-ready { display: grid; grid-template-columns: auto 1fr auto; gap: 13px; align-items: center; padding: 14px; border: 1px solid rgba(255,255,255,.14); border-radius: 17px; background: rgba(255,255,255,.07); }
.meeting-ready > span { padding: 5px 7px; border-radius: 5px; background: var(--coral); color: white; font-size: 7px; font-weight: 900; letter-spacing: 1px; }
.meeting-ready p, .meeting-ready strong, .meeting-ready small { margin: 0; display: block; }
.meeting-ready strong { font-size: 11px; }
.meeting-ready small { margin-top: 2px; color: rgba(255,255,255,.52); font-size: 9px; }
.meeting-ready .button { min-height: 39px; padding: 0 17px; font-size: 11px; }
.appointment-actions { display: flex; flex-wrap: wrap; gap: 8px 17px; margin-top: 19px; }
.appointment-actions button, .appointment-actions a { padding: 0; border: 0; background: transparent; color: rgba(255,255,255,.65); font-size: 10px; cursor: pointer; }
.appointment-actions a { margin-left: auto; }
.appointment-actions button:hover, .appointment-actions a:hover { color: white; }
.quick-column { display: grid; gap: 18px; }
.quick-card { min-height: 166px; display: grid; grid-template-columns: auto 1fr; gap: 13px; align-content: start; padding: 22px; border: 1px solid var(--line); border-radius: 22px; background: var(--paper); }
.quick-card.lime-card { border-color: transparent; background: var(--lime); }
.quick-card > span { width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid currentColor; border-radius: 50%; font-size: 9px; font-weight: 800; }
.quick-card p, .quick-card strong, .quick-card small { margin: 0; display: block; }
.quick-card strong { font-size: 13px; line-height: 1.3; }
.quick-card small { margin-top: 5px; color: var(--ink-soft); font-size: 10px; }
.quick-card button { grid-column: 2; justify-self: start; padding: 0; border: 0; background: transparent; font-size: 10px; font-weight: 800; cursor: pointer; }

.dashboard-section { margin-top: 45px; }
.section-line { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 16px; }
.section-line h2 { margin: 0; font-size: 25px; letter-spacing: -1px; }
.section-line button { border: 0; background: transparent; color: var(--ink-soft); font-size: 11px; font-weight: 750; cursor: pointer; }
.recent-grid, .mini-specialists { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px; }
.recent-grid article, .mini-specialists a { min-height: 92px; display: flex; align-items: center; gap: 13px; padding: 17px; border: 1px solid var(--line); border-radius: 17px; background: rgba(255,255,255,.58); }
.recent-icon { width: 39px; height: 39px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; background: var(--sage); font-size: 13px; font-weight: 900; }
.payment-icon { background: var(--yellow); }
.recent-grid p, .recent-grid p > *, .mini-specialists p, .mini-specialists p > * { display: block; margin: 0; }
.recent-grid p, .mini-specialists p { flex: 1; }
.recent-grid small, .mini-specialists small { color: var(--ink-soft); font-size: 9px; }
.recent-grid strong, .mini-specialists strong { margin: 3px 0; font-size: 12px; }
.recent-grid em { color: var(--ink-soft); font-size: 9px; font-style: normal; }
.recent-grid button, .mini-specialists b { padding: 0; border: 0; background: transparent; font-size: 9px; font-weight: 800; cursor: pointer; }
.mini-avatar { width: 42px; height: 42px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; font-size: 10px; font-weight: 800; }
.lilac { background: var(--lilac); } .sage { background: var(--sage); } .blue { background: var(--blue); }

.segment-tabs, .notification-filters { display: flex; gap: 6px; margin-bottom: 17px; padding: 5px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.45); width: fit-content; }
.segment-tabs button, .notification-filters button { min-height: 36px; padding: 0 15px; border: 0; border-radius: 10px; background: transparent; color: var(--ink-soft); font-size: 11px; font-weight: 750; cursor: pointer; }
.segment-tabs button.active, .notification-filters button.active { background: var(--ink); color: white; }
.segment-tabs span { margin-left: 4px; opacity: .58; }
.appointment-list { display: grid; gap: 10px; }
.appointment-list article { display: grid; grid-template-columns: 85px minmax(210px,1.3fr) minmax(110px,.6fr) auto auto; align-items: center; gap: 18px; padding: 18px; border: 1px solid var(--line); border-radius: 17px; background: var(--paper); }
.list-date { display: flex; align-items: center; gap: 8px; }
.list-date strong { font-size: 27px; line-height: 1; }
.list-date span, .list-time span { color: var(--ink-soft); font-size: 8px; text-transform: uppercase; line-height: 1.35; }
.list-person { display: flex; align-items: center; gap: 11px; }
.list-person p, .list-person strong, .list-person small, .list-time { display: block; margin: 0; }
.list-person strong, .list-time strong { display: block; font-size: 12px; }
.list-person small { color: var(--ink-soft); font-size: 9px; }
.status-badge { width: max-content; padding: 6px 9px; border-radius: 99px; font-size: 8px; font-weight: 850; text-transform: uppercase; letter-spacing: .5px; }
.status-badge.confirmed, .status-badge.completed { background: #dcebdc; color: #2b6842; }
.status-badge.request { background: #fff0c4; color: #806320; }
.status-badge.cancelled { background: #eeeae4; color: #766c63; }
.row-menu { padding: 7px 10px; border: 1px solid var(--line); border-radius: 9px; background: transparent; font-size: 9px; font-weight: 750; cursor: pointer; }

.favorite-grid, .finance-summary, .help-cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.favorite-grid > article { padding: 15px; border: 1px solid var(--line); border-radius: 19px; background: var(--paper); }
.favorite-portrait { position: relative; height: 135px; display: grid; place-items: center; border-radius: 14px; }
.favorite-portrait > span { font-size: 35px; font-weight: 750; letter-spacing: -2px; }
.favorite-portrait button { position: absolute; top: 10px; right: 10px; width: 31px; height: 31px; border: 0; border-radius: 50%; background: rgba(255,255,255,.75); color: #e36559; cursor: pointer; }
.favorite-grid h3 { margin: 9px 0 3px; font-size: 17px; }
.favorite-grid > article > p:not(.verified-line) { min-height: 38px; margin: 0; color: var(--ink-soft); font-size: 10px; }
.verified-line { margin: 11px 0 0; color: #377354; font-size: 8px; text-transform: uppercase; letter-spacing: .5px; }
.favorite-grid > article > div:last-child { display: flex; justify-content: space-between; align-items: center; margin-top: 13px; padding-top: 13px; border-top: 1px solid var(--line); font-size: 11px; }
.favorite-grid a { font-weight: 800; }
.finance-summary { margin-bottom: 22px; }
.finance-summary article { min-height: 126px; display: grid; align-content: center; gap: 4px; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); }
.finance-summary span, .finance-summary small { color: var(--ink-soft); font-size: 9px; }
.finance-summary strong { font-size: 29px; letter-spacing: -1.5px; }
.finance-summary .finance-stub { background: var(--lilac); }
.finance-stub b { width: fit-content; padding: 4px 7px; border-radius: 5px; background: var(--ink); color: white; font-size: 8px; letter-spacing: 1px; }
.payment-table { overflow: hidden; border: 1px solid var(--line); border-radius: 17px; background: var(--paper); }
.payment-table .table-head, .payment-table article { display: grid; grid-template-columns: minmax(240px,1.5fr) 120px 90px 90px 55px; gap: 13px; align-items: center; padding: 15px 18px; }
.table-head { border-bottom: 1px solid var(--line); background: rgba(24,48,43,.035); color: var(--ink-soft); font-size: 8px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; }
.payment-table article + article { border-top: 1px solid var(--line); }
.payment-table article div > *, .payment-table article div { display: block; margin: 0; }
.payment-table article { font-size: 10px; }
.payment-table article div strong { font-size: 11px; }
.payment-table article small { margin-top: 4px; color: var(--ink-soft); font-size: 8px; }
.payment-table article button { border: 0; background: transparent; font-size: 9px; font-weight: 800; cursor: pointer; }

.notification-list { display: grid; gap: 9px; }
.notification-item { position: relative; display: grid; grid-template-columns: 40px 1fr auto; gap: 13px; align-items: center; padding: 16px 18px; border: 1px solid var(--line); border-radius: 15px; background: rgba(255,255,255,.56); cursor: pointer; }
.notification-item.unread { background: var(--paper); border-color: rgba(24,48,43,.3); }
.notification-item.unread::before { content: ""; position: absolute; top: 15px; right: 15px; width: 6px; height: 6px; border-radius: 50%; background: var(--coral); }
.notification-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--sage); font-size: 13px; }
.notification-item[data-type="payment"] .notification-icon { background: var(--yellow); }
.notification-item[data-type="security"] .notification-icon { background: var(--lilac); }
.notification-item p, .notification-item p > * { display: block; margin: 0; }
.notification-item strong { font-size: 12px; }
.notification-item small { margin-top: 3px; color: var(--ink-soft); font-size: 9px; }
.notification-item > time { padding-right: 14px; color: var(--ink-soft); font-size: 8px; }

.review-invite, .published-review { border: 1px solid var(--line); border-radius: 19px; background: var(--paper); }
.review-invite { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 17px; padding: 22px; background: var(--lime); border-color: transparent; }
.review-invite h3, .review-invite p, .review-invite small { margin: 0; }
.review-invite h3 { margin: 2px 0; font-size: 18px; }
.review-invite p, .review-invite small { color: var(--ink-soft); font-size: 9px; }
.review-invite .button { min-height: 42px; background: var(--ink); color: white; }
.published-review { margin-top: 14px; padding: 25px; }
.published-review > div { display: flex; align-items: center; gap: 11px; }
.published-review p { margin: 0; flex: 1; }
.published-review p > * { display: block; }
.published-review p strong { font-size: 12px; }
.published-review p small { color: var(--ink-soft); font-size: 9px; }
.published-review b { color: #d3a923; letter-spacing: 2px; }
.published-review blockquote { margin: 20px 0; max-width: 760px; font-size: 16px; line-height: 1.65; }
.published-review > span { color: #377354; font-size: 8px; text-transform: uppercase; letter-spacing: .7px; }

.settings-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.settings-grid > section, .security-section, .data-section { padding: 24px; border: 1px solid var(--line); border-radius: 19px; background: var(--paper); }
.settings-grid h2, .data-section h2 { margin: 0 0 18px; font-size: 18px; }
.field { display: grid; gap: 7px; margin-bottom: 14px; }
.field > span { font-size: 10px; font-weight: 750; }
.field > span small { color: var(--ink-soft); font-weight: 500; }
.field input, .field select, .field textarea { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 11px; outline: 0; background: #fbfaf6; color: var(--ink); resize: vertical; }
.field textarea { min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(24,48,43,.07); }
.settings-grid form .button { min-height: 42px; margin-top: 4px; }
.toggle-list { display: grid; }
.toggle-list label { min-height: 67px; display: flex; align-items: center; justify-content: space-between; gap: 14px; border-bottom: 1px solid var(--line); }
.toggle-list label:last-child { border: 0; }
.toggle-list label span > * { display: block; }
.toggle-list strong { font-size: 11px; }
.toggle-list small { margin-top: 3px; color: var(--ink-soft); font-size: 9px; }
.toggle-list input { width: 36px; height: 20px; accent-color: var(--ink); }
.security-section, .data-section { margin-top: 16px; }
.security-section .section-line { margin-bottom: 8px; }
.security-section .section-line button, .data-section button { padding: 8px 11px; border: 1px solid var(--line); border-radius: 9px; background: transparent; font-size: 9px; font-weight: 750; cursor: pointer; }
.session-list article, .data-section > div { display: flex; align-items: center; gap: 13px; min-height: 67px; border-top: 1px solid var(--line); }
.session-list article > span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--cream); }
.session-list p, .data-section p { flex: 1; margin: 0; }
.session-list p > *, .data-section p > * { display: block; }
.session-list strong, .data-section strong { font-size: 11px; }
.session-list small, .data-section small { color: var(--ink-soft); font-size: 9px; }
.session-list b { font-size: 8px; color: #377354; text-transform: uppercase; }
.session-list button { border: 0; background: transparent; color: #b2483d; font-size: 9px; cursor: pointer; }
.data-section .danger-link { color: #b2483d; border-color: rgba(178,72,61,.25); }

.support-search { display: flex; padding: 6px; border: 1px solid var(--line); border-radius: 99px; background: var(--paper); }
.support-search input { min-width: 0; flex: 1; padding: 0 16px; border: 0; outline: 0; background: transparent; }
.support-search button { min-width: 100px; min-height: 40px; border: 0; border-radius: 99px; background: var(--ink); color: white; font-size: 11px; font-weight: 750; cursor: pointer; }
.help-cards { margin-top: 18px; }
.help-cards article { padding: 21px; border: 1px solid var(--line); border-radius: 17px; background: rgba(255,255,255,.6); }
.help-cards article > span { width: 35px; height: 35px; display: grid; place-items: center; border-radius: 50%; background: var(--lilac); }
.help-cards h3 { margin: 14px 0 3px; font-size: 14px; }
.help-cards p { margin: 0; color: var(--ink-soft); font-size: 10px; }
.help-cards button { margin-top: 13px; padding: 0; border: 0; background: transparent; font-size: 9px; font-weight: 800; cursor: pointer; }
.support-contact { display: flex; align-items: center; justify-content: space-between; gap: 25px; margin-top: 18px; padding: 27px; border-radius: 19px; background: var(--lilac); }
.support-contact .eyebrow { margin-bottom: 7px; }
.support-contact h2 { margin: 0; font-size: 22px; }
.support-contact p:not(.eyebrow) { margin: 4px 0 0; color: var(--ink-soft); font-size: 10px; }
.support-contact .button { min-height: 44px; }
.ticket-list { margin-top: 27px; }
.ticket-list > h2 { font-size: 18px; }
.empty-tickets { padding: 20px; border: 1px dashed var(--line); border-radius: 14px; color: var(--ink-soft); text-align: center; font-size: 10px; }
.ticket-item { display: flex; align-items: center; gap: 15px; padding: 15px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
.ticket-item p { flex: 1; margin: 0; }
.ticket-item p > * { display: block; }
.ticket-item strong { font-size: 11px; }
.ticket-item small { color: var(--ink-soft); font-size: 9px; }

.cabinet-dialog { width: min(520px,calc(100% - 28px)); max-height: calc(100vh - 32px); padding: 0; border: 0; border-radius: 24px; background: var(--paper); color: var(--ink); box-shadow: var(--shadow); }
.cabinet-dialog::backdrop { background: rgba(13,28,25,.65); backdrop-filter: blur(5px); }
.cabinet-dialog > form { position: relative; padding: 31px; overflow: auto; }
.cabinet-dialog h2 { margin: 0 0 8px; font-size: 29px; letter-spacing: -1.3px; }
.cabinet-dialog h2 + p, .cabinet-dialog form > p:not(.eyebrow) { margin: 0 0 19px; color: var(--ink-soft); font-size: 11px; }
.dialog-close { position: absolute; top: 16px; right: 16px; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; background: transparent; font-size: 21px; cursor: pointer; }
.cabinet-dialog fieldset { display: grid; gap: 7px; margin: 19px 0; padding: 0; border: 0; }
.cabinet-dialog legend { margin-bottom: 8px; font-size: 10px; font-weight: 800; }
.cabinet-dialog fieldset:not(.star-field) label { cursor: pointer; }
.cabinet-dialog fieldset:not(.star-field) label span { display: block; padding: 13px; border: 1px solid var(--line); border-radius: 10px; font-size: 11px; font-weight: 700; }
.cabinet-dialog fieldset:not(.star-field) input { position: absolute; opacity: 0; }
.cabinet-dialog fieldset:not(.star-field) input:checked + span { border-color: var(--ink); background: var(--lime); }
.dialog-note, .refund-preview { margin: 16px 0; padding: 13px; border-radius: 11px; background: var(--cream); color: var(--ink-soft); font-size: 9px; }
.refund-preview { display: grid; }
.refund-preview strong { color: var(--ink); font-size: 25px; }
.check-field { display: flex; align-items: start; gap: 10px; margin: 15px 0; cursor: pointer; }
.check-field input { margin-top: 3px; accent-color: var(--ink); }
.check-field span > * { display: block; }
.check-field strong { font-size: 10px; }
.check-field small { color: var(--ink-soft); font-size: 8px; }
.full-button { width: 100%; min-height: 48px; }
.star-field > div { display: flex; flex-direction: row-reverse; justify-content: flex-end; }
.star-field input { position: absolute; opacity: 0; }
.star-field label span { padding-right: 4px; color: #ccc5b7; font-size: 32px; cursor: pointer; }
.star-field label:hover span, .star-field label:hover ~ label span, .star-field input:checked + span, .star-field label:has(input:checked) ~ label span { color: #d9ab24; }

.video-room-stub, .device-stub { position: fixed; z-index: 100; inset: 0; background: #101b19; color: white; }
.video-room-stub[hidden], .device-stub[hidden] { display: none; }
.video-room-stub > button { position: absolute; z-index: 2; top: 20px; right: 20px; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; background: rgba(255,255,255,.08); color: white; font-size: 24px; cursor: pointer; }
.video-stage { position: relative; width: 100%; height: 100%; display: grid; place-items: center; overflow: hidden; background: radial-gradient(circle at 50% 30%,#304b45,#101b19 65%); }
.video-stub-badge { position: absolute; top: 22px; left: 24px; padding: 7px 10px; border-radius: 6px; background: var(--coral); font-size: 8px; font-weight: 900; letter-spacing: 1.5px; }
.remote-video { display: grid; justify-items: center; }
.remote-video > span { width: 130px; height: 130px; display: grid; place-items: center; border-radius: 50%; background: var(--lilac); color: var(--ink); font-size: 32px; font-weight: 750; }
.remote-video p { display: grid; margin: 17px 0 0; text-align: center; font-size: 14px; }
.remote-video small { color: rgba(255,255,255,.5); font-size: 9px; }
.local-video { position: absolute; right: 24px; bottom: 105px; width: 180px; height: 120px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.2); border-radius: 15px; background: #29413c; }
.local-video span { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 50%; background: var(--lime); color: var(--ink); font-size: 12px; font-weight: 800; }
.local-video small { position: absolute; bottom: 8px; left: 10px; font-size: 8px; }
.video-controls { position: absolute; bottom: 25px; display: flex; gap: 12px; }
.video-controls button { width: 59px; height: 59px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255,255,255,.12); color: white; font-size: 17px; cursor: pointer; }
.video-controls button small { position: absolute; transform: translateY(43px); font-size: 7px; }
.video-controls .hangup { background: #e35f52; }
.device-stub { display: grid; place-items: center; background: rgba(13,28,25,.82); backdrop-filter: blur(12px); }
.device-stub > div { position: relative; width: min(420px,calc(100% - 32px)); padding: 34px; border-radius: 22px; background: var(--paper); color: var(--ink); text-align: center; }
.device-stub > div > button:first-child { position: absolute; top: 13px; right: 13px; border: 0; background: none; font-size: 22px; cursor: pointer; }
.device-icon { width: 60px; height: 60px; display: grid; place-items: center; margin: auto; border-radius: 50%; background: var(--lilac); font-size: 25px; }
.device-stub h2 { margin: 16px 0 5px; }
.device-stub p { margin: 0; color: var(--ink-soft); font-size: 10px; }
.device-stub ul { display: grid; gap: 8px; margin: 20px 0; padding: 0; list-style: none; text-align: left; font-size: 11px; }
.device-stub li { padding: 10px; border-radius: 9px; background: var(--cream); }
.device-stub li span { color: #3e8257; font-weight: 900; }
.device-stub .button { min-height: 43px; }
.toast { position: fixed; z-index: 150; right: 22px; bottom: 22px; max-width: min(420px,calc(100% - 32px)); padding: 14px 18px; border-radius: 13px; background: var(--ink); color: white; box-shadow: var(--shadow); font-size: 11px; animation: toast-in .25s ease both; }
.toast[hidden] { display: none; }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } }
.mobile-cabinet-nav { display: none; }

@media (max-width: 1050px) {
	.cabinet-layout { grid-template-columns: 200px minmax(0,1fr); gap: 28px; }
	.cabinet-sidebar nav button { font-size: 11px; }
	.appointment-list article { grid-template-columns: 72px minmax(170px,1fr) 95px auto; }
	.appointment-list .row-menu { display: none; }
	.payment-table .table-head, .payment-table article { grid-template-columns: minmax(210px,1.4fr) 100px 75px 80px 45px; }
}
@media (max-width: 820px) {
	.cabinet-page { padding-bottom: 88px; }
	.cabinet-header-inner { height: 66px; }
	.cabinet-context, .find-link, .account-button p { display: none; }
	.cabinet-header-actions { gap: 4px; }
	.cabinet-layout { display: block; padding-top: 28px; }
	.cabinet-sidebar { display: none; }
	.mobile-cabinet-nav { position: fixed; z-index: 45; right: 12px; bottom: 12px; left: 12px; display: grid; grid-template-columns: repeat(4,1fr); padding: 7px; border: 1px solid rgba(255,255,255,.15); border-radius: 18px; background: rgba(24,48,43,.96); box-shadow: 0 14px 40px rgba(24,48,43,.24); backdrop-filter: blur(15px); }
	.mobile-cabinet-nav button { display: grid; justify-items: center; gap: 2px; padding: 6px 3px; border: 0; border-radius: 11px; background: transparent; color: rgba(255,255,255,.57); font-size: 7px; cursor: pointer; }
	.mobile-cabinet-nav button span { font-size: 17px; }
	.mobile-cabinet-nav button.active { background: rgba(255,255,255,.1); color: var(--lime); }
	.overview-grid { grid-template-columns: 1fr; }
	.quick-column { grid-template-columns: repeat(2,1fr); }
	.favorite-grid, .help-cards { grid-template-columns: repeat(2,1fr); }
	.finance-summary { grid-template-columns: repeat(2,1fr); }
	.finance-summary .finance-stub { grid-column: 1/-1; min-height: 95px; }
	.payment-table { overflow-x: auto; }
	.payment-table .table-head, .payment-table article { min-width: 700px; }
	.settings-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
	.container { width: min(calc(100% - 28px),var(--container)); }
	.prototype-banner { padding-inline: 8px; font-size: 7px; }
	.cabinet-header .brand { font-size: 21px; }
	.cabinet-header .brand-mark { width: 31px; }
	.panel-heading { min-height: 0; display: grid; margin-bottom: 22px; }
	.panel-heading h1 { font-size: 37px; letter-spacing: -2px; }
	.panel-heading .button { justify-self: start; }
	.next-appointment { padding: 23px; }
	.appointment-main { grid-template-columns: 1fr; align-items: start; margin: 25px 0; }
	.appointment-person { padding: 17px 0 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.18); }
	.meeting-ready { grid-template-columns: auto 1fr; }
	.meeting-ready .button { grid-column: 1/-1; width: 100%; }
	.appointment-actions a { width: 100%; margin: 3px 0 0; }
	.quick-column, .recent-grid, .mini-specialists, .favorite-grid, .finance-summary, .help-cards { grid-template-columns: 1fr; }
	.quick-card { min-height: 135px; }
	.recent-grid article, .mini-specialists a { align-items: start; flex-wrap: wrap; }
	.recent-grid button, .mini-specialists b { width: 100%; padding-left: 52px; text-align: left; }
	.segment-tabs, .notification-filters { width: 100%; overflow-x: auto; }
	.segment-tabs button, .notification-filters button { flex: 1 0 auto; }
	.appointment-list article { grid-template-columns: 60px 1fr auto; gap: 12px; }
	.appointment-list .list-time { grid-column: 2; }
	.appointment-list .status-badge { grid-column: 3; grid-row: 1; }
	.review-invite { grid-template-columns: auto 1fr; }
	.review-invite .button { grid-column: 1/-1; }
	.published-review > div { flex-wrap: wrap; }
	.published-review b { width: 100%; padding-left: 53px; }
	.settings-grid > section, .security-section, .data-section { padding: 19px; }
	.session-list article, .data-section > div { align-items: start; padding-block: 14px; }
	.support-contact { display: grid; }
	.notification-item { grid-template-columns: 36px 1fr; }
	.notification-item > time { grid-column: 2; }
	.cabinet-dialog > form { padding: 27px 21px; }
	.local-video { right: 15px; bottom: 105px; width: 115px; height: 90px; }
	.toast { right: 14px; bottom: 88px; }
}
@media (prefers-reduced-motion: reduce) { .cabinet-panel, .toast { animation: none; } }
