/* ── RoomFlow OS v25 — Modal sheets, detail modal — glassmorphism ── */

.modal {
    position: fixed; inset: 0; z-index: 800; background: transparent;
    pointer-events: none; display: flex; align-items: flex-end; justify-content: center;
    transition: background .22s;
}
.modal.open { background: rgba(0,0,0,.42); pointer-events: auto; }
.modal-sheet {
    width: 100%; max-width: 520px; max-height: 92vh;
    background: var(--surface);
    border: var(--glass-border); border-bottom: none;
    border-radius: var(--r) var(--r) 0 0;
    overflow-y: auto;
    transform: translateY(100%); transition: transform .32s cubic-bezier(.22,.68,0,1.05);
    padding-bottom: calc(22px + var(--sb)); box-shadow: var(--sh3); will-change: transform;
}
.modal.open .modal-sheet { transform: translateY(0) }
.modal-sheet::-webkit-scrollbar { width: 3px }
.modal-sheet::-webkit-scrollbar-thumb { background: rgba(255,255,255,.22); border-radius: 3px }

.sheet-handle-area { padding: 12px 22px 8px }
.sheet-handle { width: 34px; height: 3.5px; border-radius: 2px; background: var(--border2); margin: 0 auto 14px }
.sheet-title-row { display: flex; justify-content: space-between; align-items: flex-start }
.sheet-room-num { font-family: var(--fd); font-size: 2rem; font-weight: 800; color: var(--text); line-height: 1; letter-spacing: -.8px }
.sheet-close {
    width: 30px; height: 30px; border-radius: 50%; border: var(--glass-border);
    background: var(--surface2); cursor: pointer; font-size: .82rem; color: var(--text-2);
    transition: all .13s; display: flex; align-items: center; justify-content: center;
}
.sheet-close:hover { background: var(--surface3) }

.sheet-status-badge {
    display: inline-flex; align-items: center; padding: 3px 11px; border-radius: 99px;
    font-family: var(--fd); font-size: .62rem; font-weight: 700; letter-spacing: 1.2px;
    text-transform: uppercase; margin-top: 6px; border: 1px solid;
}
.sheet-status-badge.dirty    { background: var(--dirty-bg); color: var(--dirty-tx); border-color: var(--dirty-bd) }
.sheet-status-badge.cleaning { background: var(--clean-bg); color: var(--clean-tx); border-color: var(--clean-bd) }
.sheet-status-badge.ready    { background: var(--ready-bg); color: var(--ready-tx); border-color: var(--ready-bd) }
.sheet-status-badge.checkout { background: var(--co-bg); color: var(--co-tx); border-color: var(--co-bd) }
.sheet-status-badge.late     { background: var(--late-bg); color: var(--late-tx); border-color: var(--late-bd) }
.sheet-status-badge.belegt   { background: var(--bel-bg); color: var(--bel-tx); border-color: var(--bel-bd) }
.sheet-status-badge.dnd      { background: var(--dnd-bg); color: var(--dnd-tx); border-color: var(--dnd-bd) }

.sheet-body { padding: 0 22px 22px }
.sheet-section-label {
    font-family: var(--fd); font-size: .58rem; letter-spacing: 1.8px;
    text-transform: uppercase; color: var(--text-3); font-weight: 700; margin: 18px 0 9px;
}

/* Status grid */
.status-grid { display: grid; gap: 7px }
.status-grid.cols-3 { grid-template-columns: repeat(3,1fr) }
.status-grid.cols-5 { grid-template-columns: repeat(3,1fr) }
@media(min-width:380px) { .status-grid.cols-5 { grid-template-columns: repeat(5,1fr) } }
.status-btn {
    padding: 10px 5px; border-radius: var(--rx); border: 1px solid; cursor: pointer;
    font-family: var(--fd); font-size: .68rem; font-weight: 700; letter-spacing: .2px;
    text-transform: uppercase; transition: all .14s;
    display: flex; flex-direction: column; align-items: center; gap: 5px;
}
.status-btn .dot { width: 9px; height: 9px; border-radius: 50% }
.status-btn.dirty    { background: var(--dirty-bg); border-color: var(--dirty-bd); color: var(--dirty-tx) }
.status-btn.cleaning { background: var(--clean-bg); border-color: var(--clean-bd); color: var(--clean-tx) }
.status-btn.ready    { background: var(--ready-bg); border-color: var(--ready-bd); color: var(--ready-tx) }
.status-btn.checkout { background: var(--co-bg); border-color: var(--co-bd); color: var(--co-tx) }
.status-btn.late     { background: var(--late-bg); border-color: var(--late-bd); color: var(--late-tx) }
.status-btn.belegt   { background: var(--bel-bg); border-color: var(--bel-bd); color: var(--bel-tx) }
.status-btn.dnd      { background: var(--dnd-bg); border-color: var(--dnd-bd); color: var(--dnd-tx) }
.dot-dirty   .dot { background: var(--dirty-d) }
.dot-cleaning .dot { background: var(--clean-d) }
.dot-ready   .dot { background: var(--ready-d) }
.dot-checkout .dot { background: var(--co-d)    }
.dot-late    .dot { background: var(--late-d)  }
.dot-belegt   .dot { background: var(--bel-d)   }
.dot-dnd     .dot { background: var(--dnd-d)   }
.status-btn.selected { transform: scale(1.05); box-shadow: 0 0 0 2.5px var(--accent),0 0 16px var(--accent-g) }
.status-btn:hover:not(:disabled) { transform: translateY(-2px); box-shadow: var(--sh1) }
.status-btn:disabled { opacity: .4; cursor: not-allowed }

/* Prio */
.prio-row {
    display: flex; align-items: center; justify-content: space-between;
    padding: 11px 14px; border-radius: var(--rs); cursor: pointer;
    border: var(--glass-border); background: var(--surface2);
    transition: all .16s; margin: 8px 0;
}
.prio-row:hover,.prio-row.active { border-color: var(--prio); background: var(--prio-s) }
.prio-row-label { font-size: .86rem; font-weight: 600; color: var(--text); display: flex; align-items: center; gap: 8px }
.prio-toggle {
    width: 42px; height: 23px; border-radius: 12px; background: var(--border2);
    position: relative; transition: background .2s; flex-shrink: 0;
}
.prio-toggle::after {
    content: ''; width: 17px; height: 17px; border-radius: 50%; background: #fff;
    position: absolute; top: 3px; left: 3px; transition: transform .2s;
    box-shadow: 0 1px 4px rgba(0,0,0,.2);
}
.prio-row.active .prio-toggle { background: var(--prio) }
.prio-row.active .prio-toggle::after { transform: translateX(19px) }

/* DND section */
.dnd-section {
    background: var(--dnd-bg); border: 1px solid var(--dnd-bd);
    border-radius: var(--rs); padding: 13px; margin: 8px 0;
}
.dnd-active-info { font-size: .82rem; color: var(--dnd-tx); font-weight: 600 }
.dnd-cancel-btn {
    margin-top: 9px; padding: 7px 14px; border-radius: var(--rx);
    border: var(--glass-border); background: var(--surface2);
    color: var(--dnd-tx); font-size: .78rem; font-weight: 600; cursor: pointer; font-family: var(--fd); transition: background .13s;
}
.dnd-cancel-btn:hover { background: var(--surface3) }

/* Tasks */
.task-input-row { display: flex; gap: 7px; margin-bottom: 9px }
.task-input {
    flex: 1; padding: 9px 12px; border-radius: var(--rx); border: var(--glass-border);
    background: var(--surface2); color: var(--text); font-size: .84rem; outline: none;
    transition: border-color .13s,box-shadow .13s;
}
.task-input:focus { border-color: var(--accent); background: var(--surface3); box-shadow: 0 0 0 3px var(--accent-g) }
.task-add-btn {
    width: 37px; height: 37px; border-radius: var(--rx); border: none;
    background: var(--accent); color: #fff; font-size: 1.15rem; cursor: pointer; flex-shrink: 0;
    transition: background .13s,box-shadow .13s;
    box-shadow: 0 2px 10px var(--accent-g);
}
.task-add-btn:hover { background: var(--accent-2) }
.task-list { display: flex; flex-direction: column; gap: 5px }
.task-item {
    display: flex; align-items: center; gap: 9px; padding: 9px 12px;
    border-radius: var(--rx); border: var(--glass-border); background: var(--surface2);
    transition: background .12s;
}
.task-item:hover { background: var(--surface3) }
.task-item.done { opacity: .48 }
.task-item.done .task-item-text { text-decoration: line-through }
.task-cb { width: 16px; height: 16px; accent-color: var(--accent); cursor: pointer; flex-shrink: 0 }
.task-item-text { flex: 1; font-size: .82rem; color: var(--text) }
.task-del {
    width: 23px; height: 23px; border-radius: 6px; border: none; background: none;
    color: var(--text-3); cursor: pointer; font-size: .74rem;
    display: flex; align-items: center; justify-content: center; transition: all .12s;
}
.task-del:hover { background: var(--dirty-bg); color: var(--dirty-tx) }

/* Room history */
.hist-list { display: flex; flex-direction: column; gap: 4px; margin-bottom: 12px }
.hist-entry {
    display: flex; align-items: center; gap: 8px; padding: 6px 10px;
    border-radius: var(--rx); background: var(--surface2); border: var(--glass-border);
}
.hist-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0 }
.hist-status { font-size: .75rem; font-weight: 700; color: var(--text); min-width: 64px }
.hist-who { font-size: .72rem; color: var(--text-2); flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap }
.hist-time { font-family: var(--fm); font-size: .65rem; color: var(--text-3); white-space: nowrap }

/* Staff modal */
#staffModal .modal-sheet { max-width: 560px }
.mgmt-tabs {
    display: flex; gap: 3px; margin-bottom: 14px;
    background: var(--surface2); border: var(--glass-border);
    padding: 3px; border-radius: var(--rs);
}
.mgmt-tab {
    flex: 1; padding: 7px 8px; border-radius: var(--rx); border: none; background: none;
    cursor: pointer; font-family: var(--fd); font-size: .77rem; font-weight: 600;
    color: var(--text-2); transition: all .13s;
}
.mgmt-tab.active { background: var(--surface); color: var(--text); box-shadow: var(--sh0) }
.mgmt-tab-content { min-height: 200px }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-bottom: 7px }
.form-input,.form-select {
    padding: 9px 12px; border-radius: var(--rx); border: var(--glass-border);
    background: var(--surface2); color: var(--text); font-family: var(--fd);
    font-size: .84rem; outline: none; width: 100%; transition: border-color .13s,box-shadow .13s;
}
.form-input:focus,.form-select:focus { border-color: var(--accent); background: var(--surface3); box-shadow: 0 0 0 3px var(--accent-g) }
.form-submit-btn {
    width: 100%; padding: 11px; border-radius: var(--rx); border: none;
    background: linear-gradient(135deg,var(--accent),var(--accent-2));
    color: #fff; font-family: var(--fd); font-size: .87rem; font-weight: 700; cursor: pointer; margin-top: 10px;
    transition: filter .13s,box-shadow .13s;
    box-shadow: 0 4px 18px var(--accent-g),inset 0 1px 0 rgba(255,255,255,.2);
}
.form-submit-btn:hover { filter: brightness(1.08) }
.staff-item {
    display: flex; align-items: center; justify-content: space-between;
    padding: 10px 12px; border-radius: var(--rx); border: var(--glass-border);
    background: var(--surface2); margin-bottom: 6px; transition: background .12s;
}
.staff-item:hover { background: var(--surface3) }
.staff-item-left { display: flex; align-items: center; gap: 9px; flex: 1; min-width: 0 }
.staff-avatar {
    width: 34px; height: 34px; border-radius: 50%; border: var(--glass-border);
    display: flex; align-items: center; justify-content: center; font-size: 1.05rem;
    background: var(--surface); flex-shrink: 0;
}
.staff-name { font-size: .84rem; font-weight: 600; color: var(--text); display: flex; align-items: center; gap: 6px }
.staff-role { font-family: var(--fm); font-size: .70rem; color: var(--text-3); margin-top: 2px }
.staff-del-btn {
    padding: 5px 10px; border-radius: var(--rx); border: var(--glass-border);
    background: var(--surface2); color: var(--text-2); font-size: .74rem; cursor: pointer; flex-shrink: 0; transition: all .13s;
}
.staff-del-btn:hover:not(:disabled) { background: var(--dirty-bg); color: var(--dirty-tx); border-color: var(--dirty-bd) }
.staff-del-btn:disabled { opacity: .32; cursor: not-allowed }
.staff-pw-btn {
    padding: 5px 10px; border-radius: var(--rx); border: var(--glass-border);
    background: var(--surface2); color: var(--text-3); font-size: .72rem; cursor: pointer; flex-shrink: 0;
    transition: all .13s; display: flex; align-items: center; gap: 4px;
}
.staff-pw-btn:hover,.staff-pw-btn.active { background: var(--surface3); color: var(--text); border-color: var(--accent) }
.staff-pw-row {
    display: flex; gap: 6px; margin-top: 8px; padding-top: 10px;
    border-top: var(--glass-border); width: 100%; align-items: center; animation: fadeIn .15s ease;
}
.staff-pw-row input {
    flex: 1; padding: 7px 10px; border-radius: var(--rx); border: var(--glass-border);
    background: var(--surface2); color: var(--text); font-size: .82rem; font-family: var(--fd);
    outline: none; transition: border-color .13s;
}
.staff-pw-row input:focus { border-color: var(--accent) }
.staff-pw-save {
    padding: 7px 14px; border-radius: var(--rx); border: none;
    background: var(--accent); color: #fff; font-size: .8rem; font-weight: 700;
    cursor: pointer; flex-shrink: 0; transition: opacity .13s; font-family: var(--fd);
}
.staff-pw-save:hover { opacity: .85 }
.staff-pw-save:disabled { opacity: .5; cursor: not-allowed }
.online-dot { width: 7px; height: 7px; border-radius: 50%; background: #22C55E; display: inline-block; flex-shrink: 0 }
.audit-list { display: flex; flex-direction: column; gap: 4px }
.audit-item {
    display: flex; align-items: center; gap: 9px; padding: 8px 12px;
    border-radius: var(--rx); border: var(--glass-border); background: var(--surface2);
}
.audit-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex-shrink: 0 }
.audit-text { flex: 1; font-size: .77rem; color: var(--text-2) }
.audit-time { font-family: var(--fm); font-size: .63rem; color: var(--text-3); flex-shrink: 0 }

/* Hotel picker */
.hotel-picker-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(138px,1fr)); gap: 9px }
.hotel-picker-card {
    padding: 15px; border-radius: var(--rs); border: var(--glass-border);
    background: var(--surface2); cursor: pointer; text-align: center; transition: all .13s;
    box-shadow: var(--sh0);
}
.hotel-picker-card:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--sh1),0 0 20px var(--accent-g) }
.hotel-picker-card.active { border-color: var(--accent); background: var(--accent-s) }
.hpc-icon { font-size: 1.7rem; margin-bottom: 6px }
.hpc-name { font-family: var(--fd); font-size: .81rem; font-weight: 700; color: var(--text) }
.hpc-active { font-size: .63rem; color: var(--accent); font-weight: 600; margin-top: 3px }

/* QR */
.qr-container { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 8px 0 }
.qr-canvas { border-radius: var(--rs); background: #fff; padding: 13px; box-shadow: var(--sh2) }
.qr-url { font-family: var(--fm); font-size: .66rem; color: var(--text-3); word-break: break-all; text-align: center; max-width: 280px }
.qr-copy-btn {
    padding: 8px 24px; border-radius: var(--rx); border: var(--glass-border);
    background: var(--surface2); color: var(--text); font-size: .81rem; font-weight: 600; cursor: pointer;
    transition: background .13s; font-family: var(--fd);
}
.qr-copy-btn:hover { background: var(--surface3) }
.qr-branded-card {
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    background: rgba(10,5,32,0.88);
    color: #fff; border-radius: var(--r); padding: 20px 24px 16px;
    box-shadow: var(--sh3); border: 1px solid rgba(255,255,255,.12); width: 100%; max-width: 280px;
}
.qr-hotel-name { font-family: var(--fd); font-size: .7rem; font-weight: 800; letter-spacing: 2.5px; text-transform: uppercase; opacity: .55 }
.qr-room-label { font-family: var(--fd); font-size: .95rem; font-weight: 600; opacity: .9; margin-bottom: 4px }
.qr-canvas-wrap { background: #fff; border-radius: 12px; padding: 12px; box-shadow: 0 4px 20px rgba(0,0,0,.3) }
.qr-dnd-hint { font-family: var(--fd); font-size: .67rem; opacity: .45; letter-spacing: .4px; text-align: center; margin-top: 4px }

/* Pull indicator */
#pullIndicator {
    position: fixed; top: calc(var(--hh) + 4px); left: 50%; transform: translateX(-50%);
    display: flex; align-items: center; gap: 7px; padding: 7px 16px;
    background: var(--surface); border: var(--glass-border); border-radius: 99px;
    font-size: .77rem; color: var(--text-2); font-weight: 600;
    opacity: 0; pointer-events: none; z-index: 300; transition: opacity .18s; box-shadow: var(--sh2);
}
#pullIndicator.visible { opacity: 1 }
.pull-spin { width: 15px; height: 15px; border: 2px solid var(--border2); border-top-color: var(--accent); border-radius: 50% }
#pullIndicator.refreshing .pull-spin { animation: spin .65s linear infinite }

/* Offline */
#offlineQueue {
    position: fixed; top: calc(var(--hh) + 8px); right: 12px; z-index: 500;
    background: var(--surface); border: var(--glass-border); border-radius: 99px;
    padding: 4px 11px; font-size: .69rem; font-weight: 600; color: var(--text-2);
    display: none; box-shadow: var(--sh1);
}
#offlineQueue.visible { display: block }

/* Install banner */
#installBanner {
    position: fixed; bottom: calc(60px + var(--sb) + 8px); left: 12px; right: 12px; z-index: 600;
    background: var(--surface); border: var(--glass-border); border-radius: var(--r);
    padding: 13px 15px; display: flex; align-items: center; gap: 11px;
    box-shadow: var(--sh3); animation: sheetUp .28s ease;
}
.install-icon { font-size: 1.7rem; flex-shrink: 0 }
.install-text { flex: 1 }
.install-text strong { display: block; font-family: var(--fd); font-size: .86rem; font-weight: 700; color: var(--text) }
.install-text span { font-size: .74rem; color: var(--text-2) }
.install-close {
    width: 26px; height: 26px; border-radius: 50%; border: var(--glass-border);
    background: var(--surface2); cursor: pointer; color: var(--text-2); font-size: .76rem;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: background .13s;
}
.install-close:hover { background: var(--surface3) }

/* Confetti */
.confetti-piece { position: fixed; pointer-events: none; z-index: 9997; animation: confetti 3s ease-in forwards }
.empty { text-align: center; color: var(--text-3); font-size: .83rem; padding: 24px 0 }

/* ── Changelog Modal ── */
.changelog-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,.42); z-index: 2000;
    display: flex; align-items: flex-end; justify-content: center;
    animation: fadeIn .18s ease;
}
@media(min-width:600px) { .changelog-overlay { align-items: center } }
.changelog-modal {
    background: var(--surface);
    border: var(--glass-border);
    border-radius: 20px 20px 0 0; width: 100%;
    max-width: 480px; max-height: 76vh; display: flex; flex-direction: column;
    overflow: hidden; animation: slideUp .22s ease; box-shadow: var(--sh3);
}
@media(min-width:600px) { .changelog-modal { border-radius: 20px; max-height: 72vh } }
.changelog-header {
    padding: 18px 20px 12px; border-bottom: var(--glass-border);
    display: flex; align-items: center; justify-content: space-between; flex-shrink: 0;
}
.changelog-title { font-size: 1.05rem; font-weight: 800; color: var(--text) }
.changelog-ver-badge {
    font-size: .7rem; font-weight: 700; background: var(--accent); color: #fff;
    padding: 2px 9px; border-radius: 99px; margin-left: 8px;
    box-shadow: 0 2px 8px var(--accent-g);
}
.changelog-body { overflow-y: auto; padding: 10px 20px; flex: 1 }
.changelog-feature {
    display: flex; align-items: flex-start; gap: 10px; padding: 9px 0;
    border-bottom: var(--glass-border); font-size: .84rem;
}
.changelog-feature:last-child { border-bottom: none }
.changelog-fi { font-size: 1.15rem; flex-shrink: 0; width: 26px; text-align: center; margin-top: 1px }
.changelog-fd { color: var(--text-2); line-height: 1.45 }
.changelog-fd strong { color: var(--text); font-weight: 700 }
.changelog-footer { padding: 14px 20px; border-top: var(--glass-border); flex-shrink: 0 }

/* ── Branding Logo Preview ── */
#brLogoPreview {
    max-height: 50px; max-width: 180px; object-fit: contain; border-radius: 8px;
    margin-bottom: 10px; display: none; border: var(--glass-border);
    background: var(--surface2); padding: 4px;
}

/* ── Permissions Card Grid ── */
.perm-grid { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px }
.perm-card {
    background: var(--surface2); border: var(--glass-border); border-radius: 12px;
    padding: 10px 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.perm-card-label { font-size: .82rem; font-weight: 600; color: var(--text); flex: 1; min-width: 0 }
.perm-role-checks { display: flex; gap: 20px; flex-shrink: 0 }
.perm-role-check { display: flex; flex-direction: column; align-items: center; gap: 3px; cursor: pointer }
.perm-role-check-lbl { font-size: .58rem; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: var(--text-3) }
.perm-role-check input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--accent); cursor: pointer; border-radius: 4px }

/* ── Feature Toggle Rows ── */
.feature-toggle-list { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px }
.feature-toggle-row {
    display: flex; align-items: center; justify-content: space-between;
    background: var(--surface2); border: var(--glass-border); border-radius: 12px;
    padding: 10px 14px; gap: 10px;
}
.feature-toggle-name { font-size: .84rem; font-weight: 600; color: var(--text) }
.rf-switch { position: relative; width: 42px; height: 24px; flex-shrink: 0 }
.rf-switch input { opacity: 0; width: 0; height: 0; position: absolute }
.rf-switch-track {
    position: absolute; inset: 0; background: var(--border2);
    border-radius: 99px; cursor: pointer; transition: background .2s;
}
.rf-switch input:checked ~ .rf-switch-track { background: var(--accent) }
.rf-switch-track::after {
    content: ''; position: absolute; width: 18px; height: 18px; border-radius: 50%;
    background: #fff; top: 3px; left: 3px; transition: transform .18s; box-shadow: 0 1px 4px rgba(0,0,0,.2);
}
.rf-switch input:checked ~ .rf-switch-track::after { transform: translateX(18px) }

/* ── Create Hotel Modal ── */
.create-hotel-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,.48); z-index: 9999;
    display: flex; align-items: center; justify-content: center;
}
.create-hotel-box {
    background: var(--surface); border-radius: 20px; padding: 28px 24px;
    max-width: 380px; width: 90%; border: var(--glass-border);
    box-shadow: var(--sh3); font-family: var(--fd);
}
.create-hotel-title { font-size: 1.1rem; font-weight: 800; color: var(--text); margin-bottom: 18px }

/* ── Avatar color picker ── */
.avatar-color-row { display: flex; align-items: center; gap: 10px; margin-bottom: 12px }
.avatar-color-preview {
    width: 36px; height: 36px; border-radius: 50%; display: flex;
    align-items: center; justify-content: center; font-size: .75rem;
    font-weight: 800; flex-shrink: 0; transition: background .15s;
    border: var(--glass-border); box-shadow: var(--sh0);
}

/* ── Sticky sheet handle ── */
@media(max-width:768px) {
    .modal-sheet .sheet-handle-area {
        position: sticky; top: 0; z-index: 10;
        background: var(--surface); border-radius: var(--r) var(--r) 0 0;
        border-bottom: var(--glass-border);
    }
}
