/* Identidade compartilhada com Tarefas Planeta: tokens.css + logo e sprite SVG. */
* { box-sizing: border-box; }
body { margin: 0; background: var(--page); color: var(--text); font: 14px/1.6 var(--font-sans); -webkit-font-smoothing: antialiased; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .6; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.3; letter-spacing: -.035em; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); }
.skip-link { position: fixed; left: 12px; top: -80px; z-index: 100; padding: 12px; background: white; border: 1px solid var(--border); }
.skip-link:focus { top: 12px; }
.icon { width: 20px; height: 20px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.rotate { transform: rotate(180deg); }
.muted, .field-help { color: var(--text-muted); font-size: 12px; }
.eyebrow { font-size: 10px; font-weight: 800; letter-spacing: 1.65px; color: var(--primary); margin-bottom: 9px; }
.button { min-height: 40px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 16px; border: 1px solid transparent; border-radius: 8px; font-size: 12px; font-weight: 750; line-height: 1.4; transition: background .15s, border-color .15s, transform .15s; white-space: nowrap; }
.button .icon { width: 17px; height: 17px; }
.primary { background: var(--primary); color: white; border-color: var(--primary); box-shadow: 0 3px 5px #008c9612; }
.primary:hover { background: var(--primary-hover); }
.secondary { background: white; border-color: var(--border-strong); color: var(--text-secondary); }
.secondary:hover { color: var(--primary); border-color: var(--primary); background: var(--teal-soft); }
.button.small { min-height: 32px; padding: 6px 12px; font-size: 11px; }
.full { width: 100%; }
.text-button { background: transparent; color: var(--primary); padding: 6px 10px; }
.text-button:hover { background: var(--teal-soft); }
.danger { background: #b64236; color: white; }
.danger:hover { background: #963b31; }
.danger-text { background: transparent; color: var(--danger-ink); }
.icon-button { width: 34px; height: 34px; padding: 0; display: inline-grid; place-items: center; flex-shrink: 0; color: var(--text-muted); border: 1px solid var(--border); border-radius: 8px; background: white; }
.icon-button:hover { background: var(--teal-soft); color: var(--primary); border-color: var(--teal-border); }
.icon-button .icon { width: 18px; height: 18px; }
.app-shell { display: grid; grid-template-columns: 252px minmax(0, 1fr); min-height: 100dvh; transition: grid-template-columns .2s; }
.sidebar { height: 100dvh; position: sticky; top: 0; background: white; border-right: 1px solid var(--border); padding: 25px 16px 16px; display: flex; flex-direction: column; z-index: 30; }
.sidebar::before, .login-page::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--teal) 0% 25%, var(--blue) 25% 44%, var(--yellow) 44% 64%, var(--pink) 64% 83%, var(--coral) 83%); }
.sidebar-heading { position: relative; min-height: 77px; flex-shrink: 0; }
.brand { display: flex; align-items: center; gap: 9px; }
.brand img { width: 43px; height: 43px; object-fit: contain; flex-shrink: 0; }
.brand-text { display: grid; line-height: 1.5; white-space: nowrap; }
.brand-text strong { font-size: 23px; font-weight: 800; letter-spacing: -.9px; }
.brand-text > span { font-size: 11px; font-weight: 750; color: var(--primary); }
.sidebar-toggle { position: absolute; right: 0; top: 6px; width: 29px; height: 32px; background: var(--teal-soft); border-color: var(--teal-border); color: var(--primary); }
.sidebar-content { flex: 1; min-height: 0; overflow: auto; scrollbar-width: thin; padding: 3px; margin: -3px; }
.sidebar-section-label { font-size: 9px; font-weight: 750; letter-spacing: 1.4px; color: var(--text-muted); margin: 8px 12px 14px; white-space: nowrap; }
.nav-links { display: grid; gap: 7px; }
.nav-links a { display: flex; align-items: center; position: relative; min-height: 46px; gap: 10px; padding: 6px 10px; border-radius: 9px; color: var(--text-secondary); font-size: 14px; font-weight: 600; white-space: nowrap; }
.nav-icon { width: 31px; height: 32px; display: grid; place-items: center; border-radius: 8px; background: var(--surface-muted); color: var(--text-subtle); flex-shrink: 0; }
.nav-icon .icon { width: 19px; height: 19px; }
.nav-links a:hover { background: var(--surface-subtle); color: var(--primary); }
.nav-links [aria-current="page"] { background: var(--teal-soft); color: var(--primary); font-weight: 800; }
.nav-links [aria-current="page"] .nav-icon { background: var(--primary); color: white; box-shadow: 0 3px 7px #008c9624; }
.nav-links [aria-current="page"]::after { content: ""; position: absolute; right: 0; width: 3px; height: 21px; border-radius: 3px 0 0 3px; background: var(--teal); }
.admin-navigation { margin-top: 29px; }
.sidebar-account { border-top: 1px solid var(--border); padding-top: 15px; display: flex; align-items: center; gap: 6px; }
.account-button { flex: 1; min-width: 0; display: flex; align-items: center; gap: 9px; border: 0; background: none; padding: 0; text-align: left; color: var(--text); }
.account-text { display: grid; min-width: 0; }
.account-text strong { font-size: 11px; overflow: hidden; text-overflow: ellipsis; }
.account-text > span { font-size: 10px; color: var(--text-muted); }
.avatar, .mini-avatar { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; font-size: 11px; font-weight: 800; flex-shrink: 0; background: var(--teal-soft); color: var(--primary); }
.mini-avatar { width: 26px; height: 26px; font-size: 9px; background: var(--surface-muted); color: var(--text-secondary); }
.avatar.pink { background: var(--pink-soft); color: var(--pink-ink); }
.sidebar-collapsed { grid-template-columns: 80px minmax(0, 1fr); }
.sidebar-collapsed .sidebar { padding-left: 12px; padding-right: 12px; }
.sidebar-collapsed .brand { justify-content: center; }
.sidebar-collapsed .brand-text, .sidebar-collapsed .nav-text, .sidebar-collapsed .sidebar-section-label, .sidebar-collapsed .account-text { display: none; }
.sidebar-collapsed .sidebar-heading { min-height: 110px; }
.sidebar-collapsed .sidebar-toggle { top: 57px; left: 13px; }
.sidebar-collapsed .sidebar-toggle .icon { transform: rotate(180deg); }
.sidebar-collapsed .nav-links a { justify-content: center; padding: 6px; }
.sidebar-collapsed .sidebar-account { flex-direction: column; gap: 14px; }
.workspace { min-width: 0; display: flex; flex-direction: column; }
.topbar { height: 68px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; padding: 0 32px; background: #ffffffd9; }
.breadcrumb { display: flex; align-items: center; gap: 12px; font-size: 11px; color: var(--text-muted); }
.breadcrumb .icon { width: 13px; height: 13px; }
.breadcrumb strong { color: var(--text-secondary); font-weight: 650; }
.topbar-right { display: flex; align-items: center; gap: 19px; }
.topbar-date { display: flex; align-items: center; gap: 8px; color: var(--text-muted); font-size: 10px; }
.topbar-date .icon { width: 15px; height: 15px; }
main:not(.login-page) { padding: 31px 32px 20px; width: 100%; max-width: 1650px; margin: 0 auto; outline: none; }
.page-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 25px; }
.page-heading h1 { font-size: clamp(24px, 2.4vw, 30px); font-weight: 800; }
.page-heading > div > p:last-child { margin-top: 9px; font-size: 12px; color: var(--text-muted); }
.page-heading > .button { padding: 12px 18px; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.stat-card { display: flex; gap: 12px; align-items: center; padding: 11px 16px; background: white; border: 1px solid var(--border); border-radius: 12px; }
.stat-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; flex-shrink: 0; }
.stat-card p { font-size: 11px; font-weight: 650; color: var(--text-secondary); margin-bottom: 2px; }
.stat-card strong { font-size: 22px; font-weight: 800; letter-spacing: -1px; margin-right: 9px; }
.stat-card div > span { font-size: 10px; color: var(--text-muted); white-space: nowrap; }
.teal { --tone-bg: var(--teal-soft); --tone-color: var(--primary); --tone-line: #47b7b7; }
.pink { --tone-bg: var(--pink-soft); --tone-color: #974078; --tone-line: var(--pink); }
.blue { --tone-bg: #edf5fc; --tone-color: #426b9e; --tone-line: #81abd7; }
.yellow { --tone-bg: var(--yellow-soft); --tone-color: #866514; --tone-line: #e4ba42; }
.coral { --tone-bg: var(--coral-soft); --tone-color: #ad504b; --tone-line: var(--coral); }
.stat-icon, .room-mark { background: var(--tone-bg); color: var(--tone-color); }
.panel { background: white; border: 1px solid var(--border); border-radius: 13px; box-shadow: 0 3px 12px #25324703; overflow: hidden; }
.panel-heading, .section-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 21px 23px; }
.panel-heading { border-bottom: 1px solid var(--border); }
.panel-heading h2, .section-bar h2 { font-size: 14px; font-weight: 750; }
.section-bar { padding: 0 0 18px; }
.count { display: inline-grid; place-items: center; min-width: 23px; height: 23px; margin-left: 6px; padding: 0 7px; background: var(--surface-muted); border-radius: 6px; font-size: 11px; color: var(--text-muted); }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; white-space: nowrap; }
th { background: #fafbfc; color: var(--text-muted); font-size: 10px; font-weight: 700; padding: 13px 22px; }
td { padding: 18px 22px; border-top: 1px solid var(--border-subtle); font-size: 12px; }
td strong { font-weight: 700; }
td small { display: block; margin-top: 4px; color: var(--text-muted); font-size: 10px; }
tbody tr:hover { background: #fcfdfd; }
.table-room, .person-cell, .row-actions { display: flex; align-items: center; gap: 9px; }
.room-mark { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; }
.room-mark .icon { width: 18px; height: 18px; }
.you-label { font-size: 9px; color: var(--text-muted); background: var(--surface-muted); border-radius: 4px; padding: 1px 5px; }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 10px; padding: 4px 8px; border-radius: 6px; white-space: nowrap; background: var(--tone-bg, var(--surface-muted)); color: var(--tone-color, var(--text-muted)); font-weight: 650; }
.badge.success { background: var(--success-soft); color: var(--success-ink); }
.dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex-shrink: 0; }
.dot.teal, .dot.pink, .dot.blue, .dot.yellow, .dot.coral { background: var(--tone-line); }
.empty-state { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 65px 25px; }
.empty-state > .icon { width: 42px; height: 42px; color: var(--primary); margin-bottom: 16px; stroke-width: 1.2; }
.empty-state h3 { font-size: 18px; }
.empty-state p { max-width: 400px; color: var(--text-muted); margin: 9px 0 20px; font-size: 12px; }
.room-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.room-card { background: white; border: 1px solid var(--border); border-radius: 13px; overflow: hidden; }
.room-illustration { position: relative; height: 132px; background: var(--tone-bg); color: var(--tone-color); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.room-illustration::before, .room-illustration::after { content: ""; position: absolute; border: 1px solid var(--tone-color); opacity: .09; width: 150px; height: 150px; border-radius: 50%; right: -30px; bottom: -90px; }
.room-illustration::after { width: 200px; height: 200px; }
.room-door { width: 64px; height: 64px; display: grid; place-items: center; background: #ffffff90; border: 1px solid #ffffff; border-radius: 17px; transform: rotate(-5deg); }
.room-door .icon { width: 36px; height: 36px; stroke-width: 1.3; }
.room-number { position: absolute; top: 17px; left: 20px; font-size: 11px; letter-spacing: 2px; opacity: .7; }
.room-card-body { padding: 21px; }
.room-card-title { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: space-between; }
.room-card-title h2 { font-size: 15px; overflow-wrap: anywhere; }
.room-card-body p { color: var(--text-muted); font-size: 11px; margin-top: 10px; }
.room-card-actions { margin-top: 23px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.room-card.inactive .room-illustration { filter: grayscale(1); opacity: .65; }
.workspace-footer { margin-top: auto; padding: 12px 32px 22px; display: flex; justify-content: space-between; color: var(--text-subtle); font-size: 9px; }
.boot, .loading-view { display: flex; align-items: center; justify-content: center; gap: 14px; min-height: 55vh; color: var(--text-muted); font-size: 12px; }
.boot { flex-direction: column; min-height: 100vh; }
.spinner { width: 22px; height: 22px; border: 2px solid var(--teal-border); border-top-color: var(--primary); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); background: #253f3b; color: white; padding: 14px 22px; border-radius: 10px; box-shadow: 0 8px 30px #25324730; z-index: 100; max-width: min(560px, calc(100% - 32px)); font-size: 12px; }
.toast.error { background: #913f35; }
html:has(dialog:modal) { overflow: hidden; }
dialog { border: 1px solid var(--border); border-radius: 16px; padding: 0; width: min(550px, calc(100% - 32px)); max-height: calc(100dvh - 40px); color: var(--text); background: white; box-shadow: 0 24px 100px #12242a33; }
dialog::backdrop { background: #25324770; backdrop-filter: blur(3px); }
.dialog-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; padding: 25px 27px 20px; border-bottom: 1px solid var(--border); }
.dialog-heading h2 { font-size: 23px; }
.dialog-heading p:last-child:not(.eyebrow) { font-size: 11px; color: var(--text-muted); margin-top: 9px; }
.dialog-heading .eyebrow { font-size: 9px; }
.dialog-body { display: grid; gap: 19px; padding: 24px 27px; }
.dialog-footer { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 27px; border-top: 1px solid var(--border); background: var(--surface-subtle); }
.footer-actions { display: flex; justify-content: flex-end; gap: 9px; margin-left: auto; }
label { display: grid; gap: 7px; color: var(--text-secondary); font-size: 11px; font-weight: 700; }
input, select { min-width: 0; width: 100%; min-height: 42px; border: 1px solid var(--border-strong); border-radius: 7px; background: white; color: var(--text); padding: 9px 11px; font-size: 12px; font-weight: 500; }
input::placeholder { color: #8793a2; }
label small { font-size: 10px; font-weight: 400; color: var(--text-muted); }
input:focus, select:focus { outline: 2px solid var(--teal-border); outline-offset: 1px; border-color: var(--primary); }
input:disabled, select:disabled { background: var(--surface-muted); color: var(--text-muted); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.form-divider { display: flex; align-items: center; gap: 12px; font-size: 10px; font-weight: 750; color: var(--text-muted); margin-bottom: -9px; }
.form-divider::after { content: ""; height: 1px; background: var(--border); flex: 1; }
.form-notice { display: flex; align-items: flex-start; gap: 8px; color: var(--text-muted); font-size: 10px; background: var(--surface-subtle); border-radius: 8px; padding: 11px 12px; }
.form-notice .icon { width: 16px; height: 16px; color: var(--primary); }
.form-error { font-size: 12px; background: var(--danger-soft); color: #a1382f; padding: 12px; border-radius: 7px; }
.check-label { display: flex; align-items: center; gap: 8px; }
.check-label input { width: 16px; min-height: 16px; accent-color: var(--primary); }
.availability-message:empty { display: none; }
.availability-message { font-size: 11px; padding: 10px; border-radius: 8px; }
.availability-message.available { color: var(--success-ink); background: var(--success-soft); }
.availability-message.unavailable { color: var(--danger-ink); background: var(--danger-soft); }
.detail-room { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.detail-room > .icon { color: var(--primary); }
.detail-room h3 { font-size: 18px; flex: 1; overflow-wrap: anywhere; }
.detail-list { margin: 0; display: grid; gap: 14px; }
.detail-list > div { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--border-subtle); }
.detail-list dt { font-size: 11px; color: var(--text-muted); }
.detail-list dd { margin: 0; font-size: 12px; font-weight: 650; text-align: right; overflow-wrap: anywhere; }
.help-content h3 { font-size: 14px; margin-bottom: -10px; }
.help-content p { color: var(--text-muted); font-size: 12px; }
.login-page { position: relative; min-height: 100dvh; display: grid; grid-template-columns: 1fr 1fr; background: white; }
.login-story { background: #eaf7f7; padding: 42px 11%; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.login-story .brand { align-self: flex-start; }
.login-story-content { margin: auto 0; padding: 45px 0 30px; position: relative; z-index: 1; }
.login-eyebrow { font-size: 9px; letter-spacing: 2px; color: var(--primary); font-weight: 800; }
.login-story h1 { margin-top: 20px; font-size: clamp(38px, 4.6vw, 65px); line-height: 1.13; font-weight: 800; letter-spacing: -.055em; }
.login-story h1 em { font-style: normal; color: var(--primary); }
.login-story-content > p { color: #577b7d; font-size: 12px; max-width: 310px; margin-top: 22px; line-height: 1.8; }
.login-story-footer { font-size: 8px; letter-spacing: 1.7px; color: #537e80; }
.login-visual { margin-top: 40px; position: relative; max-width: 340px; }
.visual-calendar { background: white; padding: 19px 22px; border: 1px solid #d3e9e9; box-shadow: 0 12px 35px #008c9609; border-radius: 14px; transform: rotate(-3deg); }
.visual-calendar-heading { display: flex; align-items: center; gap: 8px; font-size: 10px; font-weight: 750; margin-bottom: 14px; }
.visual-calendar-heading .icon { width: 16px; height: 16px; color: var(--primary); }
.visual-dot { margin-left: auto; width: 6px; height: 6px; border-radius: 50%; background: var(--pink); }
.visual-week { display: flex; justify-content: space-around; gap: 12px; margin-bottom: 15px; }
.visual-week span { font-size: 9px; color: var(--text-muted); padding: 5px 10px; }
.visual-week .current { background: var(--primary); color: white; border-radius: 6px; }
.visual-slot { display: flex; align-items: center; gap: 8px; padding: 9px; font-size: 9px; font-weight: 650; background: var(--tone-bg); color: var(--tone-color); border-left: 2px solid var(--tone-line); border-radius: 4px; margin-top: 8px; }
.visual-slot .icon { width: 14px; height: 14px; }
.visual-slot.pink { width: 83%; margin-left: auto; }
.visual-slot.yellow { width: 72%; }
.visual-spark { position: absolute; width: 16px; height: 16px; border-radius: 4px; transform: rotate(30deg); }
.visual-spark.one { top: -20px; right: -20px; background: var(--yellow); }
.visual-spark.two { bottom: 10px; left: -20px; background: var(--coral); width: 9px; height: 9px; }
.login-form-side { display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 50px 40px 24px; }
.login-card { width: 100%; max-width: 350px; margin: auto 0; padding: 30px 0; }
.login-lock { width: 42px; height: 42px; background: var(--teal-soft); color: var(--primary); display: grid; place-items: center; border-radius: 12px; margin-bottom: 25px; }
.login-card h2 { font-size: 29px; font-weight: 800; }
.login-card .eyebrow { font-size: 9px; margin-bottom: 12px; }
.login-description { font-size: 12px; line-height: 1.8; color: var(--text-muted); margin: 15px 0 29px; }
.login-card form { display: grid; gap: 20px; }
.login-card input { min-height: 47px; }
.login-card .button { min-height: 47px; margin-top: 2px; justify-content: space-between; padding-left: 19px; padding-right: 19px; }
.password-wrap { position: relative; display: block; }
.password-wrap input { padding-right: 45px; }
.password-toggle { position: absolute; right: 9px; top: 10px; padding: 3px; background: none; border: 0; color: var(--text-subtle); }
.password-toggle .icon { width: 19px; height: 19px; }
.login-help { color: var(--text-muted); text-align: center; font-size: 10px; line-height: 1.9; margin-top: 25px; }
.login-help strong { color: var(--text-secondary); font-weight: 600; }
.login-legal { color: var(--text-subtle); font-size: 9px; text-align: center; }
.login-message { margin-top: 20px; padding: 12px; border-radius: 7px; background: var(--teal-soft); color: var(--primary); font-size: 11px; }
.mobile-menu, .mobile-backdrop { display: none; }
@media (max-width: 1200px) {
  .app-shell { grid-template-columns: 230px minmax(0, 1fr); }
  .sidebar-collapsed { grid-template-columns: 80px minmax(0, 1fr); }
  .brand-text strong { font-size: 21px; }
  .brand img { width: 38px; height: 38px; }
  main:not(.login-page) { padding: 25px 23px 18px; }
  .topbar { padding: 0 23px; }
  .stat-card { padding: 10px 12px; gap: 10px; }
  .stat-card div > span { display: block; font-size: 9px; }
  .stat-icon { width: 34px; height: 34px; }
  .room-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .app-shell, .sidebar-collapsed { display: block; }
  .sidebar { width: 260px; position: fixed; left: 0; transform: translateX(-100%); visibility: hidden; transition: transform .2s, visibility .2s; }
  .mobile-open .sidebar { transform: translateX(0); visibility: visible; }
  .mobile-open .mobile-backdrop { display: block; position: fixed; inset: 0; border: 0; background: #25324766; z-index: 25; }
  .sidebar-collapsed .sidebar { padding: 25px 16px 16px; }
  .sidebar-collapsed .brand { justify-content: flex-start; }
  .sidebar-collapsed .brand-text, .sidebar-collapsed .account-text { display: grid; }
  .sidebar-collapsed .nav-text, .sidebar-collapsed .sidebar-section-label { display: block; }
  .sidebar-collapsed .sidebar-heading { min-height: 77px; }
  .sidebar-collapsed .sidebar-toggle { top: 6px; left: auto; }
  .sidebar-collapsed .nav-links a { justify-content: flex-start; padding: 6px 10px; }
  .sidebar-collapsed .sidebar-account { flex-direction: row; }
  .mobile-menu { display: grid; }
  .topbar { height: 58px; padding: 0 16px; }
  .breadcrumb { gap: 8px; }
  .breadcrumb > span, .breadcrumb > .icon, .topbar-date { display: none; }
  main:not(.login-page) { padding: 24px 16px 16px; }
  .page-heading { align-items: flex-start; gap: 12px; margin-bottom: 20px; }
  .page-heading h1 { font-size: 23px; }
  .page-heading .eyebrow { font-size: 8px; letter-spacing: 1.2px; }
  .page-heading > div > p:last-child { font-size: 11px; }
  .page-heading > .button { font-size: 10px; padding: 10px 11px; }
  .page-heading > .button .icon { width: 14px; }
  .stats { gap: 8px; }
  .stat-card { padding: 9px 10px; display: block; }
  .stat-icon { width: 28px; height: 28px; border-radius: 8px; margin-bottom: 8px; }
  .stat-icon .icon { width: 16px; height: 16px; }
  .stat-card p { font-size: 9px; }
  .stat-card strong { font-size: 23px; }
  .stat-card div > span { display: none; }
  .workspace-footer { padding: 12px 16px 20px; }
  .workspace-footer > span:last-child { display: none; }
  .room-cards { gap: 14px; }
  .room-card-body { padding: 16px; }
  .room-card-actions .button { font-size: 10px; padding: 9px; }
  .login-page { display: block; }
  .login-story { padding: 25px; background: white; }
  .login-story-content, .login-story-footer { display: none; }
  .login-form-side { min-height: calc(100dvh - 100px); padding: 0 25px 22px; }
  .login-card { padding-top: 16px; }
  .dialog-heading { padding: 22px 20px 17px; }
  .dialog-body { padding: 20px; }
  .dialog-footer { padding: 16px 20px; flex-wrap: wrap; }
}
@media (max-width: 430px) {
  .room-cards { grid-template-columns: 1fr; }
  .page-heading { flex-wrap: wrap; }
  .page-heading > .button { min-height: 36px; }
  .form-grid { gap: 10px; }
  .dialog-footer .button { padding: 9px 11px; font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

.mattermost-login { margin-bottom: 16px; }
.login-method-divider { text-align: center; font-size: 11px; color: var(--text-muted); margin-bottom: 16px; }
