:root {
    --primary: #8f6ae2;
    --text-dark: #1b1b23;
    --text-muted: #9aa0b8;
    --card-bg: #fff;
    --bg: #f6f7fb;
}
body.guest-mode-page {
    background: var(--bg);
}
.guest-screen {
    min-height: calc(100vh - 60px);
    display: flex;
    flex-direction: column;
    padding-bottom: 90px;
}
.guest-appbar {
    padding: calc(24px + env(safe-area-inset-top, 0px)) 18px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 16px;
    font-weight: 600;
}
.guest-appbar .guest-back {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 24px;
    line-height: 1;
}
.guest-status {
    font-size: 13px;
    color: var(--text-muted);
}
.guest-tabs {
    display: flex;
    padding: 0 18px;
    gap: 18px;
}
.guest-tab {
    flex: 1;
    border: none;
    background: none;
    padding: 10px 0;
    font-size: 15px;
    color: var(--text-muted);
}
.guest-tab.active {
    color: var(--primary);
    font-weight: 600;
    border-bottom: 2px solid var(--primary);
}
.guest-content {
    padding: 16px 18px 0;
    flex: 1;
}
.guest-list {
    display: none;
    flex-direction: column;
    gap: 14px;
}
.guest-list.active {
    display: flex;
}
.guest-card {
    background: var(--card-bg);
    border-radius: 18px;
    padding: 18px;
    box-shadow: 0 12px 30px rgba(17, 9, 55, 0.08);
}
.guest-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.guest-card-head h3 {
    margin: 0;
    font-size: 18px;
    color: var(--text-dark);
}
.guest-card-head p {
    margin: 6px 0 0;
    color: var(--text-muted);
    font-size: 13px;
}
.guest-salary {
    color: var(--primary);
    font-weight: 600;
}
.guest-tags {
    margin: 12px 0;
    display: flex;
    gap: 10px;
}
.guest-tags span {
    background: rgba(143,106,226,0.08);
    color: var(--primary);
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 12px;
}
.guest-card-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 6px;
}
.guest-user {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-dark);
}
.avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(143,106,226,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-weight: 600;
}
.guest-city {
    color: var(--text-muted);
    font-size: 13px;
}
.guest-login-hint {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 14px 20px calc(20px + env(safe-area-inset-bottom, 0px));
    background: linear-gradient(180deg, rgba(246,247,251,0.7), rgba(246,247,251,1));
}
.guest-login-hint a {
    display: block;
    text-align: center;
    background: var(--primary);
    color: #fff;
    border-radius: 24px;
    padding: 15px 0;
    text-decoration: none;
    font-weight: 600;
}
@media (max-width: 360px) {
    .guest-appbar {
        padding-left: 12px;
        padding-right: 12px;
    }
    .guest-content {
        padding: 12px 12px 0;
    }
}
