html[data-theme] body[data-workspace][data-cabinet=guest][data-guest-main=compact] .guest-screen-header {display: flex; align-items: center; gap: 6px; min-height: 48px; padding: 2px 2px 2px 8px; position: sticky; top: 0; background: var(--messenger-bg,#fff);}
body[data-guest-main=compact] .guest-screen-header>[hidden] {display: none !important;}
body[data-guest-main=compact] .guest-main-brand {display: flex; align-items: center; gap: 6px; flex: 1; min-width: 118px;}
body[data-guest-main=compact] .guest-main-brand>img {width: 36px; height: 36px; flex: none;}
body[data-guest-main=compact] .guest-main-brand>div {min-width: 0;}
body[data-guest-main=compact] .guest-main-brand strong {font-size: 15px; white-space: nowrap;}
body[data-guest-main=compact] .guest-main-status {font-size: 11px; white-space: nowrap; line-height: 1.3;}
html[data-theme] body[data-workspace][data-cabinet=guest][data-guest-main=compact] #guest-presence {display: inline-block; width: 13ch; max-width: 13ch; overflow: hidden; text-overflow: ellipsis; vertical-align: bottom; white-space: nowrap; font-size: 11px; margin: 0; color: #8d600b;}
body[data-guest-main=compact] #guest-presence[data-state=online] {color: #236841;}
body[data-guest-main=compact] #guest-presence[data-state=offline] {color: #a42c32;}
body[data-guest-main=compact] #guest-presence:before {content: '●'; font-size: 8px; margin-right: 3px;}
body[data-guest-main=compact] .guest-main-icon {display: inline-flex; flex: none; width: 18px; height: 18px;}
body[data-guest-main=compact] .guest-main-icon svg {width: 100%; height: 100%;}
html[data-theme] body[data-workspace][data-cabinet=guest][data-guest-main=compact] .guest-main-menu-trigger {width: 44px; min-height: 44px; padding: 10px; border: 0; background: transparent; color: var(--messenger-text,#202832); box-shadow: none; flex: none;}
body[data-guest-main=compact] .guest-main-menu {position: absolute; top: 100%; right: 2px; width: 260px; max-width: calc(100% - 8px); border: 1px solid var(--messenger-line,#ddd); border-radius: 12px; background: var(--messenger-bg,#fff); padding: 6px; box-shadow: 0 8px 24px #0003; z-index: 30;}
body[data-guest-main=compact] .guest-main-menu[hidden] {display: none;}
html[data-theme] body[data-workspace][data-cabinet=guest][data-guest-main=compact] .guest-main-menu>button {display: flex; align-items: center; justify-content: flex-start; gap: 9px; width: 100%; min-height: 44px; padding: 8px; border: 0; box-shadow: none; background: transparent; color: var(--messenger-text,#202832); font-size: 14px; font-weight: 400; text-align: left;}
html[data-theme] body[data-workspace][data-cabinet=guest][data-guest-main=compact] .guest-main-actions {display: grid; grid-template-columns: 1fr 1fr; width: 72%; margin: 0 auto; padding: 4px 0 2px; gap: 0;}
html[data-theme] body[data-workspace][data-cabinet=guest][data-guest-main=compact] .guest-main-actions>button {display: inline-flex; align-items: center; justify-content: center; justify-self: center; gap: 5px; width: max-content; min-height: 36px; padding: 5px 6px; font-size: 13px; font-weight: 500; white-space: nowrap; border: 1px solid var(--messenger-line,#ddd); border-radius: 10px; background: var(--messenger-bg,#fff); color: var(--messenger-text,#202832); box-shadow: none;}
body[data-guest-main=compact] .guest-main-actions>button[hidden] {display: none !important;}
html[data-theme] body[data-workspace][data-cabinet=guest][data-guest-main=compact] .guest-main-actions .guest-main-apartment {background: #103b4b; color: #fff; border-color: #103b4b;}
html[data-theme] body[data-workspace][data-cabinet=guest][data-guest-main=compact] .guest-main-actions-header {display: flex; width: auto; flex: none; margin: 0; padding: 0;}
html[data-theme] body[data-workspace][data-cabinet=guest][data-guest-main=compact] .guest-main-actions-header>button {min-width: 156px; font-size: 13px; padding: 5px 8px;}
body[data-guest-main=compact] #guest-account-footer,body[data-guest-main=compact] #guest-request-section {display: none !important;}
html[data-theme] body[data-workspace][data-cabinet=guest][data-guest-main=compact] main {padding-inline: 0 !important;}
html[data-theme] body[data-workspace][data-cabinet=guest][data-guest-main=compact] #empty-chat-log {padding-inline: 8px !important;}
body[data-guest-main=compact][data-guest-panel=profile] .guest-main-actions,body[data-guest-main=compact][data-guest-panel=settings] .guest-main-actions {display: none !important;}
body[data-guest-main=compact] .guest-main-dialog {width: min(560px,calc(100% - 20px)); max-height: 90dvh; overflow: auto; background: var(--messenger-bg,#fff); color: var(--messenger-text,#202832); padding: 12px; border: 1px solid var(--messenger-line,#ddd); border-radius: 12px;}
body[data-guest-main=compact] .guest-main-dialog>header {display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px;}
body[data-guest-main=compact] .guest-main-dialog>header>button {min-width: 44px; min-height: 44px;}
body[data-guest-main=compact] #guest-main-apartment-dialog>.empty-generic-request>summary {display: none;}
html[data-theme=dark] body[data-guest-main=compact] #guest-presence[data-state=online] {color: #8cd5aa;}
html[data-theme=dark] body[data-guest-main=compact] #guest-presence[data-state=reconnecting] {color: #f2c46d;}
html[data-theme=dark] body[data-guest-main=compact] #guest-presence[data-state=offline] {color: #ffa4aa;}
@media (pointer:coarse) {html[data-theme] body[data-workspace][data-cabinet=guest][data-guest-main=compact] .guest-main-actions>button {min-height: 44px; padding-block: 3px;}}
@media (max-width:360px) {html[data-theme] body[data-workspace][data-cabinet=guest][data-guest-main=compact] .guest-screen-header {gap: 4px; padding-left: 4px;}
body[data-guest-main=compact] .guest-main-brand {gap: 4px; min-width: 128px;}
body[data-guest-main=compact] .guest-main-brand>img {width: 28px; height: 28px;}
body[data-guest-main=compact] .guest-main-brand strong {font-size: 13px;}
html[data-theme] body[data-workspace][data-cabinet=guest][data-guest-main=compact] .guest-main-actions-header>button {min-width: 126px; font-size: 11px; padding: 5px 4px; gap: 3px;}
body[data-guest-main=compact] .guest-main-actions-header .guest-main-icon {width: 14px; height: 14px;}
html[data-theme] body[data-workspace][data-cabinet=guest][data-guest-main=compact] .guest-main-actions:not(.guest-main-actions-header)>button {font-size: 12px; padding-inline: 2px; gap: 3px;}}
@media (max-width:360px) {body[data-guest-main=compact] .guest-main-city {display: none;}}
html[data-theme] body[data-workspace][data-cabinet=guest][data-guest-main=compact] main #account #empty-cabinet #empty-chat-log {min-height: clamp(250px,48dvh,600px) !important;}
html[data-theme] body[data-workspace][data-cabinet=guest][data-guest-main=compact] main #account .guest-main-menu-trigger {background: transparent !important; color: var(--messenger-text,#202832) !important; border: 0 !important;}
html[data-theme] body[data-workspace][data-cabinet=guest][data-guest-main=compact] main #account .guest-main-actions>.guest-main-apartment {background: #103b4b !important; color: #fff !important; border-color: #103b4b !important;}
html[data-theme] body[data-workspace][data-cabinet=guest][data-guest-main=compact] main #account .guest-main-actions {grid-template-columns: minmax(0,1fr) minmax(0,1fr);}
html[data-theme] body[data-workspace][data-cabinet=guest][data-guest-main=compact] main #account .guest-main-actions:not(.guest-main-actions-header)>button {font-size: 13px !important;}
body[data-guest-main=compact] .guest-main-actions>button:not(.guest-main-apartment)>.guest-main-icon {display: none;}
@media (max-width:360px) {html[data-theme] body[data-workspace][data-cabinet=guest][data-guest-main=compact] main #account .guest-main-actions:not(.guest-main-actions-header) {width: 76%;}
html[data-theme] body[data-workspace][data-cabinet=guest][data-guest-main=compact] main #account .guest-main-actions:not(.guest-main-actions-header)>button {font-size: 12px !important;}}
html[data-theme] body[data-workspace][data-cabinet=guest][data-guest-main=compact] main #account .guest-main-actions>.guest-main-apartment {background: #edf3f6 !important; color: #294c5a !important; border-color: #d7e2e8 !important;}
html[data-theme] body[data-workspace][data-cabinet=guest][data-guest-main=compact] main #account .guest-main-actions>button {box-shadow: none !important; font-weight: 500 !important;}
body[data-guest-main=compact] .guest-main-dialog {width: min(420px,calc(100% - 20px)); max-height: 86dvh; padding: 10px; border-color: var(--messenger-line,#dce5e8); box-shadow: 0 6px 24px #0002;}
body[data-guest-main=compact] .guest-main-dialog::backdrop {background: #182e3d33;}
body[data-guest-main=compact] .guest-main-dialog>header {margin-bottom: 4px;}
body[data-guest-main=compact] .guest-main-dialog>header>strong {font-size: 15px; font-weight: 500;}
html[data-theme=dark] html[data-theme] body[data-workspace][data-cabinet=guest][data-guest-main=compact] main #account .guest-main-actions>.guest-main-apartment {background: #273d47 !important; color: #d6e6eb !important; border-color: #405760 !important;}
html[data-theme] body[data-workspace][data-cabinet=guest][data-guest-main=compact] main #account .guest-main-actions>button {background: #f6f8fa !important; color: #294c5a !important; border-color: #d7e2e8 !important;}
html[data-theme] body[data-workspace][data-cabinet=guest][data-guest-main=compact] main #account .guest-main-actions>.guest-main-apartment {background: #edf3f6 !important; color: #294c5a !important; border-color: #d7e2e8 !important;}
html[data-theme] body[data-workspace][data-cabinet=guest][data-guest-main=compact] main #account .guest-main-menu>button {background: transparent !important; color: var(--messenger-text,#202832) !important; border: 0 !important; box-shadow: none !important;}
body[data-guest-main=compact] .guest-main-dialog>header>button {background: #f6f8fa !important; color: #294c5a !important; border: 1px solid #d7e2e8 !important; box-shadow: none !important;}
html[data-theme] body[data-workspace][data-cabinet=guest][data-guest-main=compact] .guest-request-dialog .request-dialog-close,
html[data-theme] body[data-workspace][data-cabinet=guest][data-guest-main=compact] .guest-main-dialog>header>button {display: inline-flex !important; align-items: center; justify-content: center; width: 44px !important; height: 44px !important; min-width: 44px !important; min-height: 44px !important; max-width: 44px !important; padding: 0 !important; font-size: 20px !important; line-height: 1 !important; font-weight: 400 !important; border: 0 !important; background: transparent !important; color: var(--messenger-muted,#52676f) !important; box-shadow: none !important; flex: none;}
html[data-theme] body[data-workspace][data-cabinet=guest][data-guest-main=compact] .guest-request-dialog button,
html[data-theme] body[data-workspace][data-cabinet=guest][data-guest-main=compact] .guest-main-dialog button {background: #f3f6f8 !important; color: #294c5a !important; border-color: #d7e2e8 !important; box-shadow: none !important;}
html[data-theme] body[data-workspace][data-cabinet=guest][data-guest-main=compact] .guest-request-dialog .request-dialog-close,
html[data-theme] body[data-workspace][data-cabinet=guest][data-guest-main=compact] .guest-main-dialog>header>button {background: transparent !important; border: 0 !important;}
html[data-theme] body[data-workspace][data-cabinet=guest][data-guest-main=compact] .guest-main-dialog button:is(.selected,.edge) {background: #dceaf1 !important; border-color: #a9c3d0 !important;}
html[data-theme] body[data-workspace][data-cabinet=guest][data-guest-main=compact] main button,
html[data-theme] body[data-workspace][data-cabinet=guest][data-guest-main=compact] dialog button {background: #f3f6f8 !important; color: #294c5a !important; border-color: #d7e2e8 !important; box-shadow: none !important;}
html[data-theme] body[data-workspace][data-cabinet=guest][data-guest-main=compact] button:is(.selected,.edge,[aria-pressed=true]) {background: #dce9ee !important; color: #294c5a !important; border-color: #b8ccd5 !important;}
html[data-theme] body[data-workspace][data-cabinet=guest][data-guest-main=compact] .guest-main-menu-trigger,
html[data-theme] body[data-workspace][data-cabinet=guest][data-guest-main=compact] .guest-main-menu>button,
html[data-theme] body[data-workspace][data-cabinet=guest][data-guest-main=compact] .request-dialog-close,
html[data-theme] body[data-workspace][data-cabinet=guest][data-guest-main=compact] .guest-main-dialog>header>button {background: transparent !important; border: 0 !important;}
html[data-theme] body[data-workspace][data-cabinet=guest][data-guest-main=compact] .request-picker {gap: 6px !important;}
html[data-theme] body[data-workspace][data-cabinet=guest][data-guest-main=compact] .request-selected {font-size: 12px !important; font-weight: 500 !important; color: #52676f !important;}
html[data-theme] body[data-workspace][data-cabinet=guest][data-guest-main=compact] .request-calendar {width: 100%; max-width: 300px; box-sizing: border-box; margin-inline: auto; padding: 5px; border-radius: 10px; background: #fff !important; border-color: #dce5e8 !important;}
html[data-theme] body[data-workspace][data-cabinet=guest][data-guest-main=compact] .request-calendar-head {grid-template-columns: 32px 1fr 32px !important;}
html[data-theme] body[data-workspace][data-cabinet=guest][data-guest-main=compact] .request-calendar-head strong {font-size: 13px !important; font-weight: 500 !important;}
html[data-theme] body[data-workspace][data-cabinet=guest][data-guest-main=compact] .request-calendar-head button {width: 32px !important; min-width: 32px !important; height: 32px !important; min-height: 32px !important; padding: 2px !important; font-size: 18px !important; background: transparent !important;}
html[data-theme] body[data-workspace][data-cabinet=guest][data-guest-main=compact] .request-calendar-days button {width: 100% !important; min-width: 0 !important; height: 34px !important; min-height: 34px !important; padding: 2px !important; font-size: 12px !important; font-weight: 400 !important; border: 0 !important; border-radius: 7px !important; background: transparent !important; color: #40545e !important;}
html[data-theme] body[data-workspace][data-cabinet=guest][data-guest-main=compact] .request-calendar-days button.range {background: #eef4f7 !important;}
html[data-theme] body[data-workspace][data-cabinet=guest][data-guest-main=compact] .request-calendar-days button.edge {background: #dce9ee !important; color: #294c5a !important; box-shadow: inset 0 0 0 1px #b8ccd5 !important;}
html[data-theme] body[data-workspace][data-cabinet=guest][data-guest-main=compact] .request-guests>strong {font-size: 12px !important; font-weight: 500 !important;}
html[data-theme] body[data-workspace][data-cabinet=guest][data-guest-main=compact] .request-guest-choices button {min-height: 32px !important; padding: 4px !important; font-size: 12px !important; font-weight: 400 !important;}
html[data-theme] body[data-workspace][data-cabinet=guest][data-guest-main=compact] .request-guest-stepper button {min-width: 32px !important; min-height: 32px !important; font-size: 16px !important; padding: 3px !important;}
html[data-theme] body[data-workspace][data-cabinet=guest][data-guest-main=compact] .request-guest-stepper strong {font-size: 14px !important;}
html[data-theme] body[data-workspace][data-cabinet=guest][data-guest-main=compact] .request-other-guest {display: flex !important; align-items: center; gap: 6px; font-size: 12px !important; margin-block: 6px !important;}
html[data-theme] body[data-workspace][data-cabinet=guest][data-guest-main=compact] .request-other-guest input {width: 16px !important; height: 16px !important; min-height: 16px !important; margin: 0 !important; accent-color: #668995;}
html[data-theme] body[data-workspace][data-cabinet=guest][data-guest-main=compact] .request-optional-name[hidden] {display: none !important;}
html[data-theme] body[data-workspace][data-cabinet=guest][data-guest-main=compact] .guest-main-dialog>header,
html[data-theme] body[data-workspace][data-cabinet=guest][data-guest-main=compact] .guest-request-dialog>header {background: #fff !important; color: #294c5a !important; padding: 0 !important; min-height: 36px !important; border-color: #dce5e8 !important;}
html[data-theme] body[data-workspace][data-cabinet=guest][data-guest-main=compact] {--control-accent-bg: #edf3f6; --control-accent-ink: #294c5a; --control-accent-line: #d7e2e8; --control-accent-hover: #e5eef2; --ui-accent: #edf3f6; --ui-on-accent: #294c5a; --ui-accent-hover: #e5eef2;}
html[data-theme] body[data-workspace][data-cabinet=guest][data-guest-main=compact] .request-special-timing {border: 1px solid #dce5e8 !important; border-radius: 9px !important; box-shadow: none !important; background: #fff !important;}
html[data-theme] body[data-workspace][data-cabinet=guest][data-guest-main=compact] .request-special-timing legend {font-size: 12px !important; font-weight: 500 !important; padding-inline: 3px;}


html[data-theme] body[data-workspace][data-cabinet=guest][data-guest-main=compact] .guest-request-dialog .request-dialog-close {width: 28px !important; min-width: 28px !important; height: 28px !important; min-height: 28px !important; padding: 0 !important; font-size: 23px !important;}
body[data-guest-main=compact] #guest-request-history[hidden] {display: none !important;}
body[data-guest-main=compact][data-guest-panel=profile] #guest-request-history,
body[data-guest-main=compact][data-guest-panel=settings] #guest-request-history {display: none !important;}
body[data-guest-main=compact] #guest-request-history>summary {font-size: 13px; padding: 7px 8px;}
