:root {
  --gold: #c9a227;
  --sidebar: #10151b;
  --bg: #f2f4f7;
  --card: #ffffff;
  --ink: #1a2129;
  --muted: #77808c;
  --line: #e5e9ef;
  --green: #1d9e57;
  --red: #d64541;
  --blue: #2f6fed;
  --orange: #e8890c;
  --radius: 14px;
  --shadow: 0 4px 24px rgba(16,21,27,.07);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; background: var(--bg); color: var(--ink); font-size: 14.5px; }
button { font-family: inherit; cursor: pointer; border: none; background: none; font-size: inherit; }
input, select, textarea { font-family: inherit; font-size: 14px; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 10px; width: 100%; outline: none; transition: border .15s, box-shadow .15s; background: #fff; color: var(--ink); }
input:focus, select:focus, textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,162,39,.13); }
label { display: block; font-size: 12.5px; font-weight: 600; margin-bottom: 5px; color: var(--ink); }
h1, h2, h3 { font-weight: 700; }
.hidden { display: none !important; }

.btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 10px; font-weight: 600; font-size: 13.5px; transition: all .16s; white-space: nowrap; justify-content: center; }
.btn-gold { background: linear-gradient(135deg,#c9a227,#ab8a1f); color: #fff; }
.btn-gold:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn-dark { background: var(--ink); color: #fff; } .btn-dark:hover { background: #000; }
.btn-outline { border: 1.5px solid var(--line); color: var(--ink); background: #fff; } .btn-outline:hover { border-color: var(--ink); }
.btn-danger { background: #fdecea; color: var(--red); } .btn-danger:hover { background: var(--red); color: #fff; }
.btn-green { background: #e3f5ea; color: var(--green); } .btn-green:hover { background: var(--green); color: #fff; }
.btn-blue { background: #e8effd; color: var(--blue); } .btn-blue:hover { background: var(--blue); color: #fff; }
.btn-sm { padding: 6px 12px; font-size: 12.5px; border-radius: 8px; }
.btn-block { width: 100%; }
.icon-btn { width: 32px; height: 32px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; color: var(--muted); transition: all .15s; }
.icon-btn:hover { background: var(--line); color: var(--ink); }

.login-screen { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; background: radial-gradient(1200px 600px at 20% -10%, rgba(201,162,39,.25), transparent), #10151b; padding: 20px; }
.login-card { background: #fff; border-radius: 22px; padding: 44px 40px; width: min(420px, 100%); box-shadow: 0 40px 100px rgba(0,0,0,.5); }
.login-brand { text-align: center; margin-bottom: 30px; }
.login-brand i { font-size: 34px; color: var(--gold); }
.login-brand h1 { font-size: 26px; letter-spacing: .03em; margin-top: 8px; }
.login-brand h1 span { color: var(--gold); font-weight: 400; font-style: italic; }
.login-brand p { color: var(--muted); font-size: 13px; letter-spacing: .18em; text-transform: uppercase; margin-top: 4px; }
.login-card form { display: flex; flex-direction: column; gap: 8px; }
.login-card .btn { margin-top: 14px; padding: 13px; }
.login-error { color: var(--red); font-size: 13px; text-align: center; }
.login-hint { margin-top: 22px; text-align: center; font-size: 12.5px; color: var(--muted); background: #f7f8fa; border-radius: 10px; padding: 10px; }

.app { display: flex; min-height: 100vh; }
.sidebar { width: 252px; background: var(--sidebar); color: #aab3bd; position: fixed; top: 0; bottom: 0; left: 0; z-index: 40; display: flex; flex-direction: column; transition: transform .25s; }
.side-brand { display: flex; gap: 12px; align-items: center; padding: 22px 20px 18px; border-bottom: 1px solid rgba(255,255,255,.07); }
.side-brand i { color: var(--gold); font-size: 22px; }
.side-brand strong { color: #fff; display: block; font-size: 16px; letter-spacing: .02em; }
.side-brand span { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: #6b7683; }
#sideNav { flex: 1; overflow-y: auto; padding: 14px 12px; }
#sideNav::-webkit-scrollbar { width: 4px; } #sideNav::-webkit-scrollbar-thumb { background: #2a3340; border-radius: 4px; }
.nav-sec { font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: #5b6673; padding: 16px 12px 7px; font-weight: 700; }
.nav-item { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 12px; border-radius: 10px; color: #aab3bd; font-weight: 500; font-size: 13.5px; margin-bottom: 2px; transition: all .15s; text-align: left; }
.nav-item i { width: 20px; text-align: center; font-size: 14px; }
.nav-item:hover { background: rgba(255,255,255,.06); color: #fff; }
.nav-item.active { background: linear-gradient(135deg, rgba(201,162,39,.9), rgba(171,138,31,.9)); color: #fff; box-shadow: 0 6px 18px rgba(201,162,39,.35); }
.nav-item .pill { margin-left: auto; background: var(--red); color: #fff; font-size: 10.5px; font-weight: 700; border-radius: 999px; padding: 2px 8px; }
.side-foot { border-top: 1px solid rgba(255,255,255,.07); padding: 14px 16px; display: flex; align-items: center; gap: 11px; }
.side-user { display: flex; gap: 11px; align-items: center; flex: 1; min-width: 0; cursor: pointer; }
.avatar { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg,var(--gold),#ab8a1f); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 15px; flex-shrink: 0; }
.side-user strong { color: #fff; font-size: 13px; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side-user span { font-size: 11px; color: #6b7683; }
.side-foot > button { color: #6b7683; font-size: 16px; padding: 8px; border-radius: 8px; }
.side-foot > button:hover { color: #ff8484; background: rgba(255,255,255,.06); }

.main { flex: 1; margin-left: 252px; display: flex; flex-direction: column; min-width: 0; }
.topbar { background: var(--card); border-bottom: 1px solid var(--line); padding: 0 28px; height: 64px; display: flex; align-items: center; gap: 16px; position: sticky; top: 0; z-index: 30; }
.topbar h2 { font-size: 19px; flex: 1; }
.burger { display: none; font-size: 19px; color: var(--ink); }
.topbar-right { display: flex; gap: 8px; align-items: center; position: relative; }
.top-icon { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 17px; position: relative; transition: all .15s; text-decoration: none; }
.top-icon:hover { background: var(--bg); color: var(--ink); }
.notif-badge { position: absolute; top: 6px; right: 6px; min-width: 17px; height: 17px; background: var(--red); color: #fff; font-size: 10px; font-weight: 700; border-radius: 999px; display: flex; align-items: center; justify-content: center; padding: 0 4px; }
.notif-panel { position: absolute; top: 52px; right: 0; width: min(400px, 90vw); max-height: 480px; overflow-y: auto; background: #fff; border-radius: 16px; box-shadow: 0 20px 60px rgba(16,21,27,.2); border: 1px solid var(--line); z-index: 50; }
.notif-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: #fff; }
.notif-head button { color: var(--gold); font-size: 12.5px; font-weight: 600; }
.notif-item { padding: 13px 18px; border-bottom: 1px solid var(--line); display: flex; gap: 12px; cursor: pointer; }
.notif-item:hover { background: #fafbfc; }
.notif-item.unread { background: #fdf9ec; }
.notif-item i { color: var(--gold); margin-top: 3px; }
.notif-item strong { font-size: 13.5px; display: block; }
.notif-item p { color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.notif-item time { font-size: 11px; color: #9aa3ad; margin-top: 3px; white-space: nowrap; }
.notif-empty { padding: 40px; text-align: center; color: var(--muted); }

.content { padding: 28px; flex: 1; }

.stat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: 16px; margin-bottom: 24px; }
.stat-card { background: var(--card); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); display: flex; gap: 15px; align-items: center; }
.stat-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 19px; flex-shrink: 0; }
.stat-card strong { font-size: 23px; display: block; line-height: 1.15; }
.stat-card span { color: var(--muted); font-size: 12.5px; }
.bg-gold { background: rgba(201,162,39,.13); color: var(--gold); }
.bg-green { background: rgba(29,158,87,.12); color: var(--green); }
.bg-red { background: rgba(214,69,65,.11); color: var(--red); }
.bg-blue { background: rgba(47,111,237,.11); color: var(--blue); }
.bg-orange { background: rgba(232,137,12,.13); color: var(--orange); }
.bg-purple { background: rgba(122,77,232,.12); color: #7a4de8; }

.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; margin-bottom: 22px; }
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 18px; flex-wrap: wrap; }
.card-head h3 { font-size: 16.5px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th { text-align: left; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 10px 12px; border-bottom: 1.5px solid var(--line); white-space: nowrap; }
td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: middle; font-size: 13.5px; }
tr:last-child td { border-bottom: none; }
tbody tr { transition: background .12s; }
tbody tr:hover { background: #fafbfc; }
.table-actions { display: flex; gap: 4px; }

.badge { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 700; padding: 4px 11px; border-radius: 999px; white-space: nowrap; }
.b-pending { background: #fef4e2; color: var(--orange); }
.b-confirmed { background: #e8effd; color: var(--blue); }
.b-checked_in { background: #e3f5ea; color: var(--green); }
.b-checked_out { background: #eceff3; color: #5b6673; }
.b-cancelled, .b-rejected { background: #fdecea; color: var(--red); }
.b-paid { background: #e3f5ea; color: var(--green); }
.b-unpaid, .b-new { background: #fef4e2; color: var(--orange); }
.b-refunded { background: #f3e8fd; color: #7a4de8; }
.b-available { background: #e3f5ea; color: var(--green); }
.b-occupied { background: #e8effd; color: var(--blue); }
.b-cleaning { background: #fef4e2; color: var(--orange); }
.b-maintenance { background: #fdecea; color: var(--red); }
.b-out_of_service { background: #eceff3; color: #5b6673; }
.b-open { background: #e8effd; color: var(--blue); }
.b-resolved { background: #e3f5ea; color: var(--green); }
.b-read, .b-replied { background: #e8effd; color: var(--blue); }
.b-preparing { background: #fef4e2; color: var(--orange); }
.b-ready { background: #e8effd; color: var(--blue); }
.b-delivered, .b-completed { background: #e3f5ea; color: var(--green); }
.b-in_progress { background: #f3e8fd; color: #7a4de8; }
.b-vip { background: linear-gradient(135deg,#c9a227,#ab8a1f); color: #fff; }
.b-partial { background: #fef4e2; color: var(--orange); }
.b-no_show { background: #f3e8fd; color: #7a4de8; }
.b-expired { background: #eceff3; color: #5b6673; }
.b-inspected { background: #efeafe; color: #7c5cff; }

.filters { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.filters input, .filters select { width: auto; min-width: 150px; }

.empty-state { text-align: center; padding: 50px 20px; color: var(--muted); }
.empty-state i { font-size: 40px; color: #d4dae1; margin-bottom: 14px; display: block; }

.modal-overlay { position: fixed; inset: 0; z-index: 60; background: rgba(13,17,22,.55); backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; padding: 20px; animation: fadeIn .2s; }
.modal { background: #fff; border-radius: 18px; width: min(720px, 100%); max-height: 92vh; overflow-y: auto; animation: slideUp .25s ease; }
.modal.wide { width: min(980px, 100%); }
.modal.narrow { width: min(480px, 100%); }
.modal-pad { padding: 30px 32px; }
.modal-close { float: right; width: 36px; height: 36px; border-radius: 50%; background: var(--bg); color: var(--ink); font-size: 16px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.modal-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 24px; flex-wrap: wrap; }

.toast-stack { position: fixed; top: 18px; right: 18px; z-index: 95; display: flex; flex-direction: column; gap: 10px; }
.toast { background: #10151b; color: #fff; padding: 13px 18px; border-radius: 12px; font-size: 13.5px; display: flex; gap: 10px; align-items: center; box-shadow: 0 14px 40px rgba(0,0,0,.3); animation: slideLeft .3s; max-width: 380px; }
.toast.success { border-left: 4px solid #2ecc71; }
.toast.error { border-left: 4px solid #e74c3c; }
.toast.info { border-left: 4px solid var(--gold); }

.tabs { display: flex; gap: 6px; border-bottom: 1.5px solid var(--line); margin-bottom: 20px; flex-wrap: wrap; }
.tab { padding: 10px 18px; font-weight: 600; color: var(--muted); border-bottom: 2.5px solid transparent; margin-bottom: -1.5px; font-size: 13.5px; }
.tab.active { color: var(--ink); border-color: var(--gold); }

.hk-board { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.hk-room { background: #fff; border-radius: 12px; padding: 16px; border-left: 5px solid var(--line); box-shadow: var(--shadow); }
.hk-room.available { border-color: var(--green); }
.hk-room.occupied { border-color: var(--blue); }
.hk-room.cleaning { border-color: var(--orange); }
.hk-room.maintenance { border-color: var(--red); }
.hk-room.out_of_service { border-color: #5b6673; }
.hk-room.inspected { border-color: #7a4de8; }
.hk-room h4 { font-size: 20px; }
.hk-room small { color: var(--muted); display: block; margin: 2px 0 10px; }

.chat-admin { display: grid; grid-template-columns: 320px 1fr; gap: 0; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; height: calc(100vh - 175px); }
.chat-list { border-right: 1px solid var(--line); overflow-y: auto; }
.chat-list-item { padding: 14px 16px; border-bottom: 1px solid var(--line); cursor: pointer; display: flex; gap: 11px; align-items: center; }
.chat-list-item:hover, .chat-list-item.active { background: #faf6ea; }
.chat-list-item .avatar { width: 40px; height: 40px; font-size: 14px; background: #2c3540; }
.chat-list-item div { min-width: 0; flex: 1; }
.chat-list-item strong { font-size: 13.5px; display: flex; justify-content: space-between; }
.chat-list-item p { color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.unread-dot { background: var(--red); color: #fff; font-size: 10.5px; font-weight: 700; min-width: 19px; height: 19px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; padding: 0 5px; }
.chat-thread { display: flex; flex-direction: column; min-width: 0; }
.chat-thread-head { padding: 14px 20px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.chat-msgs { flex: 1; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 10px; background: #f7f8fa; }
.cmsg { max-width: 70%; padding: 10px 14px; border-radius: 14px; font-size: 13.5px; line-height: 1.5; }
.cmsg.visitor { align-self: flex-start; background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.cmsg.staff { align-self: flex-end; background: var(--ink); color: #fff; border-bottom-right-radius: 4px; }
.cmsg.system { align-self: center; color: var(--muted); font-size: 12px; background: none; }
.cmsg .meta { font-size: 10.5px; opacity: .65; margin-top: 3px; }
.chat-reply { display: flex; gap: 10px; padding: 14px; border-top: 1px solid var(--line); }
.chat-reply input { flex: 1; }

.invoice-doc { background: #fff; }
.inv-header { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 26px; flex-wrap: wrap; }
.inv-header h2 { color: var(--gold); font-size: 24px; }
.inv-meta { text-align: right; font-size: 13px; color: var(--muted); }
.inv-table th { border-bottom: 2px solid var(--ink); color: var(--ink); }
.inv-totals { margin-left: auto; width: 280px; margin-top: 16px; }
.inv-totals div { display: flex; justify-content: space-between; padding: 6px 0; font-size: 14px; }
.inv-totals .grand { border-top: 2px solid var(--ink); font-weight: 800; font-size: 16px; margin-top: 6px; padding-top: 10px; }

/* Booking calendar */
.cal-wrap { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; }
.cal-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.cal-toolbar .cal-nav { display: flex; gap: 8px; align-items: center; }
.cal-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
.cal-grid { display: grid; min-width: 640px; }
.cal-corner { position: sticky; left: 0; z-index: 3; background: #f7f8fa; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); padding: 8px 10px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); }
.cal-date { text-align: center; padding: 6px 2px; font-size: 11px; color: var(--muted); border-bottom: 1px solid var(--line); border-left: 1px solid var(--line); }
.cal-date.today { background: #fdf6e3; color: var(--ink); font-weight: 700; }
.cal-date b { display: block; font-size: 14px; color: var(--ink); }
.cal-roomlabel { position: sticky; left: 0; z-index: 1; background: #fcfcfd; border-top: 1px solid var(--line); padding: 8px 12px; font-size: 12.5px; display: flex; flex-direction: column; gap: 2px; }
.cal-roomlabel.unassigned { background: #fbf7ea; }
.cal-roomlabel strong { font-size: 13px; }
.cal-roomlabel small { color: var(--muted); font-size: 11px; }
.cal-roomlabel .cal-dot { position: absolute; }
.cal-roomlabel { position: relative; }
.cal-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; position: absolute; right: 10px; top: 18px; background: #c3cad4; }
.cal-dot.available { background: var(--green); }
.cal-dot.cleaning { background: var(--orange); }
.cal-dot.inspected { background: #7a4de8; }
.cal-dot.occupied { background: var(--blue); }
.cal-dot.maintenance { background: var(--red); }
.cal-dot.out_of_service { background: #5b6673; }
.cal-cell { border-left: 1px solid #f0f2f6; border-top: 1px solid #f0f2f6; min-height: 42px; cursor: pointer; }
.cal-cell:hover { background: #faf6ea; }
.cal-bar { border-top: 1px solid #f0f2f6; margin: 4px 2px; border-radius: 7px; padding: 6px 9px; font-size: 11.5px; font-weight: 600; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer; z-index: 2; }
.cal-bar.st-pending { background: var(--orange); }
.cal-bar.st-confirmed { background: var(--blue); }
.cal-bar.st-checked_in { background: var(--green); }
.cal-bar.st-checked_out { background: #8792a0; }
.cal-legend { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 14px; font-size: 12.5px; color: var(--ink); align-items: center; }
.cal-legend span { display: flex; align-items: center; gap: 7px; }
.cal-legend i { width: 12px; height: 12px; border-radius: 4px; display: inline-block; }
.cal-legend i.st-pending { background: var(--orange); }
.cal-legend i.st-confirmed { background: var(--blue); }
.cal-legend i.st-checked_in { background: var(--green); }
.cal-legend i.st-checked_out { background: #8792a0; }
.cal-legend i.cal-dot { position: static; }

.chart-box { position: relative; height: 300px; }
.chart-box.tall { height: 360px; }
.kv-row { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 13.5px; }
.kv-row:last-child { border: none; }
.kv-row strong { font-family: inherit; }

.gallery-grid-adm { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
.gal-item { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 4/3; background: #000; }
.gal-item img, .gal-item video { width: 100%; height: 100%; object-fit: cover; }
.gal-del { position: absolute; top: 8px; right: 8px; width: 30px; height: 30px; border-radius: 8px; background: rgba(214,69,65,.92); color: #fff; }

.upload-zone { border: 2px dashed var(--line); border-radius: 14px; padding: 36px; text-align: center; color: var(--muted); cursor: pointer; transition: all .2s; margin-bottom: 20px; }
.upload-zone:hover, .upload-zone.drag { border-color: var(--gold); background: rgba(201,162,39,.05); color: var(--ink); }

.spinner { width: 16px; height: 16px; border: 2.5px solid rgba(255,255,255,.3); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; display: inline-block; }
.spinner.dark { border-color: rgba(0,0,0,.15); border-top-color: var(--ink); }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes slideLeft { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: none; } }

@media (max-width: 1100px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .sidebar { transform: translateX(-100%); }
  .sidebar.open { transform: none; box-shadow: 0 0 60px rgba(0,0,0,.5); }
  .main { margin-left: 0; }
  .burger { display: block; }
  .chat-admin { grid-template-columns: 1fr; height: auto; }
  .chat-list { max-height: 300px; }
  .content { padding: 18px; }
  .form-grid { grid-template-columns: 1fr; }
}
@media print {
  .sidebar, .topbar, .modal-close, .toast-stack, .modal-actions { display: none !important; }
  .modal-overlay { position: static; background: none; padding: 0; backdrop-filter: none; }
  .modal { box-shadow: none; max-height: none; width: 100%; }
  body { background: #fff; }
}

/* Reservations role-aware workspace */
.res-bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.res-tabs { display: flex; gap: 6px; flex-wrap: wrap; border-bottom: 1.5px solid var(--line); flex: 1; }
.res-tab { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; font-weight: 600; color: var(--muted); border-bottom: 2.5px solid transparent; margin-bottom: -1.5px; font-size: 13.5px; background: none; }
.res-tab i { font-size: 13px; }
.res-tab:hover { color: var(--ink); }
.res-tab.active { color: var(--ink); border-color: var(--gold); }
.res-who { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 600; color: var(--muted); background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; }
.res-host { min-height: 120px; }
.res-quicks { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; padding: 4px 2px 8px; }
.res-quick { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; text-align: left; padding: 20px; border: 1.5px solid var(--line); border-radius: var(--radius); background: #fff; transition: .15s; }
.res-quick:hover { border-color: var(--gold); box-shadow: 0 6px 20px rgba(26, 33, 41, .08); transform: translateY(-2px); }
.res-quick i { font-size: 20px; color: var(--gold); }
.res-quick strong { font-size: 15px; }
.res-quick span { font-size: 12.5px; color: var(--muted); }

.login-hint .demo-title { font-weight: 600; color: var(--ink, #1d2630); margin-bottom: 6px; }
.login-hint .demo-row { display: flex; flex-direction: column; text-align: left; padding: 5px 0; border-top: 1px solid #e6e9ee; }
.login-hint .demo-row span { font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
