/* ===== PMS 报表中心 / 房态中心 仿站样式 ===== */
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  font-size: 13px; color: #333; background: #fff;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-thumb { background: #c9c9c9; border-radius: 4px; }
::-webkit-scrollbar-track { background: #f2f2f2; }

/* ---------- 顶部深蓝导航 ---------- */
.topbar {
  height: 56px; display: flex; align-items: center; position: sticky; top: 0; z-index: 80;
  background: linear-gradient(90deg, #33387c 0%, #2a2f70 26%, #20255f 62%, #191e55 100%);
  color: #fff;
}
.brand { padding: 0 22px 0 20px; font-size: 21px; font-weight: 700; letter-spacing: .5px; white-space: nowrap; }
.topnav { display: flex; height: 100%; }
.nav-item {
  display: flex; align-items: center; gap: 7px; height: 100%; padding: 0 19px;
  font-size: 16px; cursor: pointer; position: relative; white-space: nowrap; color: #fff;
}
.nav-item:hover { background: rgba(255, 255, 255, .07); }
.nav-item.active { background: rgba(255, 255, 255, .16); }
.nav-item.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: #e8483f; }
.nav-item .ico { font-size: 15px; opacity: .95; }
.caret { font-size: 11px; transform: scaleX(1.2); opacity: .95; }
.topright { margin-left: auto; display: flex; align-items: center; gap: 12px; padding-right: 16px; }
.searchbox {
  width: 396px; height: 32px; background: #fff; border-radius: 4px;
  display: flex; align-items: center; gap: 9px; padding: 0 11px; color: #a2a2a2; font-size: 13px;
}
.searchbox input { border: 0; outline: 0; font-size: 13px; color: #333; flex: 1; font-family: inherit; }
.searchbox input::placeholder { color: #a2a2a2; }
.adbtn {
  height: 26px; width: 76px; border-radius: 3px; font-size: 12px; font-weight: 700;
  background: linear-gradient(180deg, #ffe75c 0%, #ffc400 100%);
  color: #d6001c; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 1px #f5a300;
}
.user { font-size: 14px; }
.info-ic {
  width: 15px; height: 15px; border-radius: 50%; border: 1.4px solid #fff;
  font-size: 10px; line-height: 12px; text-align: center; font-style: normal; opacity: .95;
}

/* ---------- 主框架 ---------- */
.shell { display: flex; min-height: calc(100vh - 56px); }
.rail {
  width: 62px; flex: 0 0 62px; border-right: 1px solid #ededed; background: #fff;
  display: flex; flex-direction: column;
}
.rail .hamb {
  height: 40px; display: flex; align-items: center; justify-content: center;
  color: #444; font-size: 17px; border-bottom: 1px solid #f2f2f2;
}
.rail-item {
  height: 42px; display: flex; align-items: center; justify-content: center;
  color: #6d6d6d; font-size: 13px; border-bottom: 1px solid #f5f5f5; cursor: pointer;
}
.rail-item:hover { background: #f3f8ff; color: #1a6fc4; }
.rail-item.on { background: #f3f8ff; color: #1a6fc4; font-weight: 600; }
.workspace { flex: 1; min-width: 0; display: flex; flex-direction: column; }

/* ---------- 报表页头 ---------- */
.appbar { height: 44px; display: flex; align-items: center; padding: 0 16px; gap: 6px; border-bottom: 1px solid #f0f0f0; }
.appbar .bar { width: 4px; height: 15px; background: #e8483f; border-radius: 1px; margin-right: 4px; }
.appbar .crumb { font-size: 15px; color: #333; }
.appbar .crumb .d { color: #333; }
.appbar .crumb .sep { color: #cfcfcf; margin: 0 3px; }
.appbar .star { color: #bdbdbd; font-size: 15px; margin-left: 5px; cursor: pointer; }
.appbar .star:hover { color: #f5a623; }
.appbar .right { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.appbar .collapse { color: #e8483f; font-size: 13px; cursor: pointer; display: flex; align-items: center; gap: 4px; }
.appbar .storetag { font-size: 13px; color: #666; }

.ptabs { display: flex; gap: 30px; padding: 0 16px; height: 40px; align-items: center; border-bottom: 1px solid #f0f0f0; }
.ptab { font-size: 14px; color: #555; height: 100%; display: flex; align-items: center; cursor: pointer; position: relative; }
.ptab.active { color: #e8483f; font-weight: 600; }
.ptab.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: #e8483f; }

/* ---------- 查询条件条 ---------- */
.querybar { display: flex; align-items: center; gap: 20px; padding: 14px 16px; flex-wrap: wrap; }
.qitem { display: flex; align-items: center; gap: 7px; font-size: 13px; color: #333; white-space: nowrap; }
.inp {
  height: 30px; min-width: 152px; border: 1px solid #d9d9d9; border-radius: 2px; background: #fff;
  padding: 0 9px; font-size: 13px; color: #333; display: flex; align-items: center;
  justify-content: space-between; gap: 8px; font-family: inherit;
}
.inp .ph { color: #333; }
.inp .cal, .inp .cv { color: #b9b9b9; font-size: 12px; }
.inp:hover { border-color: #b5b5b5; }
.qbtns { margin-left: auto; display: flex; gap: 10px; }
.btn { height: 30px; padding: 0 18px; border-radius: 3px; border: 1px solid #d5d5d5; background: #fff; font-size: 13px; color: #333; }
.btn:hover { border-color: #b9b9b9; }
.btn-primary { background: #e8483f; border-color: #e8483f; color: #fff; }
.btn-primary:hover { background: #dc3f36; }

/* ---------- 报表纸张 ---------- */
.paperwrap { padding: 6px 16px 46px; }
.rep-tools { display: flex; align-items: center; gap: 10px; padding: 4px 0 8px; }
.tool { display: flex; align-items: center; gap: 4px; height: 26px; padding: 0 9px; border: 1px solid #d9d9d9; background: #fff; font-size: 12px; color: #333; border-radius: 2px; }
.tool:hover { border-color: #b5b5b5; }
.tool.right { margin-left: auto; }
.paper { background: #fff; padding: 14px 20px 40px; min-height: 520px; }
.paper-title { text-align: center; font-size: 17px; font-weight: 700; color: #222; margin: 8px 0 10px; letter-spacing: .5px; }
.paper-meta { font-size: 12px; color: #333; margin-bottom: 7px; }
.paper-sub { font-size: 12px; color: #333; margin: 10px 0 5px; }

table.rep { border-collapse: collapse; width: 100%; font-size: 12px; table-layout: fixed; }
table.rep th, table.rep td { border: 1px solid #b9b9b9; padding: 4px 5px; text-align: center; height: 25px; color: #222; }
table.rep th { background: #f2f2f2; font-weight: 700; }
table.rep td.l { text-align: left; }
table.rep td.a { color: #1a6fc4; text-decoration: underline; cursor: pointer; }
table.rep td.cat { font-weight: 700; }
table.rep tr.sum td { background: #fbfbfb; font-weight: 700; }
table.rep td.empty { color: #999; }

/* ---------- 弹层：报表目录 ---------- */
.overlay { position: fixed; inset: 56px 0 0 0; background: rgba(0, 0, 0, .04); z-index: 70; display: none; }
.overlay.on { display: block; }
.repmenu {
  position: fixed; left: 62px; top: 100px; z-index: 75; width: 1090px; max-width: calc(100vw - 90px);
  height: calc(100vh - 150px); max-height: 620px; background: #fff; display: none;
  box-shadow: 0 6px 30px rgba(0, 0, 0, .16); border-radius: 2px; overflow: hidden;
}
.repmenu.on { display: flex; }
.repmenu .cats {
  width: 196px; flex: 0 0 196px; border-right: 1px solid #f0f0f0; padding: 10px 0; overflow-y: auto;
}
.cat-item {
  height: 40px; display: flex; align-items: center; padding-left: 26px; font-size: 14px; color: #333;
  cursor: pointer; position: relative;
}
.cat-item:hover { background: #f7faff; }
.cat-item.on { color: #333; font-weight: 700; }
.cat-item.on::before { content: ""; position: absolute; left: 12px; top: 12px; width: 5px; height: 5px; border-radius: 50%; background: #e8483f; }
.cat-item.on::after { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 3px; background: #e8483f; }
.repmenu .list { flex: 1; padding: 14px 22px 24px; overflow-y: auto; }
.grp-title { font-size: 15px; font-weight: 700; color: #333; margin: 14px 0 12px; }
.grp-title:first-child { margin-top: 0; }
.grp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px 18px; }
.rep-link {
  display: flex; align-items: flex-start; gap: 6px; font-size: 13px; color: #333; padding: 8px 6px;
  border-radius: 2px; cursor: pointer; line-height: 1.35; position: relative;
}
.rep-link .code { color: #333; }
.rep-link:hover { background: #f4f8ff; color: #1a6fc4; }
.rep-link.cur { background: #eef5ff; }
.rep-link .new {
  background: #e8483f; color: #fff; font-size: 9px; line-height: 13px; padding: 0 3px;
  border-radius: 7px; transform: scale(.95); margin-left: 2px; flex: 0 0 auto;
}
.rep-link .star-on { color: #e8483f; margin-left: 4px; }
.rep-link .acts { margin-left: auto; display: none; gap: 5px; color: #8c8c8c; }
.rep-link:hover .acts { display: flex; }

/* ---------- 工作台 ---------- */
.wb-head { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid #f2f2f2; }
.wb-head .hamb2 { color: #444; font-size: 17px; }
.wb-head .store-sel {
  height: 30px; min-width: 150px; border: 1px solid #d9d9d9; border-radius: 2px; display: flex;
  align-items: center; justify-content: space-between; padding: 0 9px; font-size: 13px; color: #333; gap: 20px;
}
.wb-body { flex: 1; display: flex; min-height: 0; }
.wb-main { flex: 1; min-width: 0; padding: 14px 16px 40px; }
.wb-side { width: 372px; flex: 0 0 372px; padding: 14px 16px 40px; border-left: 1px solid #f4f4f4; }

.wb-title-row { display: flex; align-items: center; gap: 12px; }
.wb-title { font-size: 20px; font-weight: 700; color: #222; }
.mini-sel {
  height: 26px; padding: 0 8px; border: 1px solid #e2e2e2; background: #fafafa; border-radius: 2px;
  font-size: 12px; color: #555; display: flex; align-items: center; gap: 6px;
}
.kpi-label { font-size: 13px; color: #666; margin: 16px 0 4px; }
.kpi-value { font-size: 34px; font-weight: 700; color: #222; line-height: 1.1; }
.kpi-value .unit { font-size: 16px; font-weight: 400; color: #333; margin-left: 4px; }

.wb-card { border: 1px solid #f0f0f0; border-radius: 4px; margin-top: 14px; padding: 14px 16px 16px; box-shadow: 0 1px 4px rgba(0, 0, 0, .03); }
.card-tabs { display: flex; gap: 26px; border-bottom: 1px solid #f0f0f0; padding-bottom: 0; }
.card-tab { font-size: 15px; color: #444; padding-bottom: 8px; cursor: pointer; position: relative; }
.card-tab.on { color: #e8483f; font-weight: 700; }
.card-tab.on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: #e8483f; }
.dayline { display: flex; align-items: center; gap: 10px; margin: 14px 0 12px; font-size: 13px; color: #333; }
.seg { display: flex; }
.seg .s {
  height: 28px; padding: 0 14px; border: 1px solid #e4e4e4; background: #fff; font-size: 13px; color: #333;
  display: flex; align-items: center; cursor: pointer;
}
.seg .s + .s { border-left: 0; }
.seg .s.on { background: #e8483f; border-color: #e8483f; color: #fff; }

.panel-soft {
  background: linear-gradient(160deg, #eef6ff 0%, #f7fbff 55%, #ffffff 100%);
  border-radius: 4px; padding: 14px 16px; margin-top: 6px;
}
.panel-soft .ttl { font-size: 21px; font-weight: 700; color: #2b3a55; display: flex; align-items: center; gap: 10px; }
.panel-soft .ttl .more { font-size: 12px; color: #7a8699; font-weight: 400; }
.panel-soft .tabs { display: flex; gap: 6px; margin: 12px 0 10px; }
.panel-soft .tabs .t { height: 26px; padding: 0 12px; border: 1px solid #dfe8f4; background: #fff; border-radius: 2px; font-size: 12px; color: #333; display: flex; align-items: center; }
.panel-soft .tabs .t.on { background: #e8483f; border-color: #e8483f; color: #fff; }

/* 酒店房态 卡片区 */
.roomstat {
  background: linear-gradient(180deg, #fff6ec 0%, #fffaf5 100%);
  border-radius: 4px; padding: 12px 16px 18px; margin-top: 4px;
}
.roomstat-tabs { display: flex; gap: 6px; }
.roomstat-tabs .rt {
  height: 26px; padding: 0 14px; border: 1px solid #dfe8f4; background: #fff; border-radius: 2px;
  font-size: 12px; color: #333; display: flex; align-items: center; cursor: pointer;
}
.roomstat-tabs .rt.on { background: #e8483f; border-color: #e8483f; color: #fff; }
.rs-h { font-size: 18px; font-weight: 700; color: #222; margin: 12px 0 12px; letter-spacing: .5px; }
.snap-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.snap-card {
  background: #fff; border: 1px solid #f2ede6; border-radius: 6px; padding: 13px 16px 14px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .02); min-height: 78px;
}
.snap-card .k { font-size: 13px; color: #333; display: flex; align-items: center; gap: 6px; }
.snap-card .q {
  width: 13px; height: 13px; border-radius: 50%; background: #2f88f5; color: #fff; font-size: 9px;
  display: flex; align-items: center; justify-content: center; flex: 0 0 auto;
}
.snap-card .k .more { color: #e8483f; font-size: 12px; cursor: pointer; }
.snap-card .v { font-size: 21px; font-weight: 700; color: #222; margin-top: 8px; line-height: 1.1; }
.snap-card .s { font-size: 12px; color: #8a8a8a; margin-top: 5px; }
.snap-card .s .down { color: #17a33b; }
.snap-card .s .up { color: #e8483f; }
.rate-num { font-size: 24px; font-weight: 700; color: #222; margin: 4px 0 2px; }
.up { color: #e8483f; } .down { color: #17a33b; }
.muted { color: #8a8a8a; font-size: 12px; }

.wb-toggle { display: flex; align-items: center; gap: 10px; margin: 18px 0 10px; font-size: 13px; color: #333; }
.switch { width: 42px; height: 22px; border-radius: 12px; background: #e8483f; position: relative; flex: 0 0 auto; }
.switch::after { content: ""; position: absolute; width: 18px; height: 18px; border-radius: 50%; background: #fff; top: 2px; right: 2px; }
.switch.off { background: #cfcfcf; }
.switch.off::after { right: auto; left: 2px; }

table.sales { width: 100%; border-collapse: collapse; font-size: 13px; }
table.sales th, table.sales td { padding: 11px 10px; text-align: left; border-bottom: 1px solid #f0f0f0; }
table.sales th { background: #f7f8fa; color: #333; font-weight: 400; font-size: 13px; }
table.sales th .sort { color: #b3b3b3; font-size: 10px; margin-left: 3px; }
table.sales td .arrow-up { color: #e8483f; } table.sales td .arrow-dn { color: #17a33b; }
.more-row { text-align: center; padding: 16px 0 4px; color: #e8483f; font-size: 13px; cursor: pointer; }

.finance { margin-top: 18px; border-radius: 4px; background: linear-gradient(180deg, #fff8ec 0%, #ffffff 60%); padding: 16px; }
.finance .fi-title { font-size: 18px; font-weight: 700; color: #333; }
.finance .fi-sub { font-size: 12px; color: #888; margin-top: 4px; }
.fin-cards { display: flex; gap: 14px; margin-top: 14px; }
.fin-card { flex: 1; background: #fff; border: 1px solid #f0f0f0; border-radius: 4px; padding: 12px 14px; }
.fin-card .lbl { font-size: 13px; color: #444; }
.fin-card .val { font-size: 22px; font-weight: 700; margin: 6px 0 4px; color: #222; }
.fin-card .cmp { font-size: 12px; color: #8a8a8a; }

.side-card { border: 1px solid #f0f0f0; border-radius: 4px; padding: 14px 16px; margin-bottom: 14px; }
.checkline { display: flex; align-items: center; gap: 8px; justify-content: flex-end; font-size: 13px; color: #333; }
.cbox { width: 15px; height: 15px; border-radius: 2px; background: #e8483f; color: #fff; font-size: 11px; display: flex; align-items: center; justify-content: center; }
.goal { margin-top: 26px; }
.goal .g-label { font-size: 14px; color: #333; }
.goal .g-val { font-size: 30px; font-weight: 700; color: #e8483f; margin-top: 2px; }
.chartbox {
  height: 172px; margin: 18px 0; border-radius: 4px;
  background: linear-gradient(180deg, #cfe6fb 0%, #eaf4ff 46%, #ffffff 100%);
}
.side-kpi { border: 1px solid #eee; border-radius: 4px; padding: 12px 14px; }
.side-kpi .l { font-size: 13px; color: #333; }
.side-kpi .v { font-size: 22px; font-weight: 700; margin: 5px 0 3px; color: #222; }

/* ---------- 房态中心 ---------- */
.rs-top {
  height: 52px; background: #2b3a52; color: #fff; display: flex; align-items: center;
  padding: 0 14px; gap: 4px;
}
.rs-store { display: flex; align-items: baseline; gap: 6px; padding-right: 26px; font-size: 15px; }
.rs-store .dt { font-size: 11px; color: #d9dee6; display: flex; gap: 5px; align-items: baseline; }
.rs-store .dt em { color: #ff8f8a; font-style: normal; }
.rs-menu { display: flex; align-items: center; gap: 4px; }
.rs-menu .m { padding: 0 13px; font-size: 15px; line-height: 52px; cursor: pointer; white-space: nowrap; }
.rs-menu .m:hover { background: rgba(255, 255, 255, .08); }
.rs-menu .m.on { background: rgba(255, 255, 255, .1); }
.rs-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.rs-mk {
  height: 30px; padding: 0 14px; border-radius: 15px; background: #f5453c; color: #fff; font-size: 13px;
  display: flex; align-items: center; gap: 6px;
}
.rs-pill {
  height: 30px; padding: 0 16px; border-radius: 15px; border: 1px solid rgba(255, 255, 255, .65);
  background: transparent; color: #fff; font-size: 13px; display: flex; align-items: center; gap: 6px;
}
.rs-ic { font-size: 15px; opacity: .95; }
.rs-admin { font-size: 13px; }

.rs-tabs { height: 44px; display: flex; align-items: center; gap: 3px; padding: 6px 8px; background: #fff; }
.rs-tab {
  height: 32px; padding: 0 16px; border-radius: 2px; background: #93a1b3; color: #fff; font-size: 13px;
  display: flex; align-items: center; gap: 6px; cursor: pointer;
}
.rs-tab.on { background: #f5453c; }
.rs-tab .sub { font-size: 12px; opacity: .95; }
.rs-gear { width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; color: #333; font-size: 17px; }

.rs-body { display: flex; align-items: stretch; min-height: calc(100vh - 96px); }
.rs-side { width: 268px; flex: 0 0 268px; background: #fff; padding: 0 10px 30px; }
.rs-side .grp { margin-top: 14px; }
.rs-side .grp-t { font-size: 13px; color: #333; margin: 0 0 8px 2px; }
.rt-row {
  display: flex; align-items: center; justify-content: space-between; height: 30px;
  background: #f4f5f9; border-radius: 2px; padding: 0 8px; margin-bottom: 3px; font-size: 12px; color: #222;
  cursor: pointer;
}
.rt-row .num { color: #1a6fc4; font-size: 12px; }
.rt-row .num i { color: #8b95a5; font-style: normal; }
.expand-btn {
  height: 30px; width: 100%; border: 1px solid #2f88f5; border-radius: 2px; background: #fff;
  color: #2f88f5; font-size: 12px; display: flex; align-items: center; justify-content: center; gap: 6px;
  margin-top: 4px;
}
.rs-sep { height: 1px; background: #ececec; margin: 14px -10px 14px; }
.chip-grid { display: flex; flex-wrap: wrap; gap: 4px; }
.chip {
  display: flex; align-items: center; height: 30px; background: #f4f5f9; border-radius: 2px;
  padding: 0 8px 0 0; font-size: 12px; color: #222; flex: 1 1 calc(50% - 4px); min-width: 0;
  cursor: pointer;
}
.chip .ic {
  width: 20px; height: 30px; border-radius: 2px 0 0 2px; background: #2f72c8; color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 11px; margin-right: 7px;
  flex: 0 0 auto;
}
.chip .nm { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chip .n { margin-left: auto; color: #1a6fc4; padding-left: 6px; }
.chip.blue-ic .ic { background: #2f72c8; }
.chip.ctrip .ic { background: #2b7be4; }
.chip.fliggy .ic { background: #ffe000; color: #333; }
.chip.douyin .ic { background: #161823; }
.chip.meituan .ic { background: #ffd000; color: #222; }
.chip .ic.round { border-radius: 2px 0 0 2px; }
.sel-full {
  height: 30px; width: 100%; border: 1px solid #d9d9d9; border-radius: 2px; background: #fff;
  display: flex; align-items: center; justify-content: space-between; padding: 0 9px; font-size: 13px; color: #333;
}

.rs-main { flex: 1; min-width: 0; background: #f4f5f9; display: flex; flex-direction: column; }
.floor-bar {
  height: 46px; background: #fff; display: flex; align-items: center; padding: 0 14px; gap: 10px;
  border-bottom: 1px solid #eff0f3;
}
.floor-bar .lb { font-size: 13px; color: #333; }
.floor-tabs { display: flex; gap: 6px; }
.ftab {
  height: 30px; min-width: 62px; padding: 0 16px; background: #f2f3f6; border-radius: 2px; font-size: 13px;
  color: #333; display: flex; align-items: center; justify-content: center; cursor: pointer; position: relative;
}
.ftab.on { background: #fff; border: 1px solid #f5453c; color: #333; }
.ftab.on::after {
  content: ""; position: absolute; right: -1px; bottom: -1px; width: 8px; height: 8px;
  background: #f5453c; clip-path: polygon(100% 0, 100% 100%, 0 100%);
}
.floor-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.occ { font-size: 13px; color: #333; display: flex; align-items: center; gap: 4px; }
.occ i { font-style: normal; color: #a8a8a8; font-size: 12px; }
.tbtn {
  height: 28px; padding: 0 11px; border: 1px solid #dcdcdc; border-radius: 2px; background: #fff;
  font-size: 12px; color: #333; display: flex; align-items: center; gap: 5px;
}
.tbtn.red { border-color: #f5453c; color: #f5453c; background: #fff; }
.tbtn .ic { font-size: 12px; }
.switch-s { width: 40px; height: 21px; border-radius: 11px; background: #ddd; position: relative; }
.switch-s::after { content: ""; position: absolute; width: 17px; height: 17px; border-radius: 50%; background: #fff; top: 2px; left: 2px; }
.switch-s.on { background: #f5453c; }
.switch-s.on::after { left: auto; right: 2px; }
.floor-wrap { padding: 10px 12px 24px; }

.rooms { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4px; }
.rooms .gap { background: transparent; }
.room {
  position: relative; min-height: 92px; padding: 5px 6px 6px; color: #fff; border-radius: 0;
  cursor: pointer; overflow: hidden;
}
.room .no { font-size: 15px; font-weight: 700; letter-spacing: .5px; line-height: 1.15; }
.room .type { font-size: 12px; line-height: 1.24; margin-top: 2px; }
.room .guest { font-size: 12px; line-height: 1.3; margin-top: 1px; }
.room .tags { position: absolute; left: 6px; bottom: 5px; display: flex; gap: 2px; align-items: center; }
.tg { height: 15px; line-height: 15px; padding: 0 3px; font-size: 10px; border-radius: 2px; background: #35435c; color: #fff; }
.tg.k { background: #14171d; }
.tg.y { background: #ffe600; color: #14171d; font-weight: 700; }
.tg.dy { background: #161823; }
.tg.ct { background: #2b7be4; }
.tg.mt { background: #ffd000; color: #14171d; }
.tg.fl { background: #ffe000; color: #14171d; }
.room .lk { position: absolute; right: 5px; top: 3px; font-size: 11px; color: rgba(255, 255, 255, .92); }
.room .flag {
  position: absolute; right: 4px; top: 3px; background: #e5372f; color: #fff; font-size: 10px;
  line-height: 14px; padding: 0 3px; border-radius: 2px;
}
.room.b { background: #22a6f0; }
.room.o { background: #ff8a65; }
.room.g { background: #6cbe6c; }
.room.e { background: #8c8c8c; }
.room.hatch { background-color: #ff8a65; background-image: repeating-linear-gradient(45deg, rgba(255, 255, 255, .30) 0 5px, rgba(255, 255, 255, 0) 5px 11px); }
.room.legend { background: #eee; }

/* 房态图例说明（悬停信息条） */
.rs-foot { font-size: 12px; color: #8d8d8d; padding: 10px 12px 26px; }

/* ---------- 登录页 ---------- */
.login-wrap {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: radial-gradient(1200px 600px at 20% 10%, #3a3f8a 0%, #232a6b 42%, #161a4a 100%);
}
.login-card {
  width: 396px; background: #fff; border-radius: 6px; padding: 34px 34px 30px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .35);
}
.login-card .logo-row { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.login-card .logo-sq {
  width: 38px; height: 38px; border-radius: 6px; background: linear-gradient(135deg, #2b3179, #1a1f57);
  color: #fff; display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 700;
}
.login-card .logo-t { font-size: 21px; font-weight: 700; color: #222; letter-spacing: .5px; }
.login-card .sub { font-size: 12px; color: #8b8b8b; margin: 4px 0 22px 48px; }
.fld { margin-bottom: 15px; }
.fld .lb { font-size: 12px; color: #666; margin-bottom: 6px; }
.fld .ipt {
  height: 40px; width: 100%; border: 1px solid #dcdcdc; border-radius: 3px; padding: 0 12px;
  font-size: 14px; color: #222; font-family: inherit; outline: none; background: #fbfbfd;
}
.fld .ipt:focus { border-color: #2b3179; background: #fff; }
.login-btn {
  width: 100%; height: 42px; border: 0; border-radius: 3px; background: #e8483f; color: #fff;
  font-size: 15px; font-weight: 700; margin-top: 6px; letter-spacing: 2px;
}
.login-btn:hover { background: #dc3f36; }
.login-tip { font-size: 12px; color: #e8483f; min-height: 18px; margin-top: 10px; text-align: center; }
.login-foot { font-size: 12px; color: #9a9a9a; margin-top: 16px; text-align: center; }
.login-extra { display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: #8b8b8b; margin-top: 4px; }
.login-extra .cb { display: flex; align-items: center; gap: 6px; }
.login-extra .box { width: 13px; height: 13px; border: 1px solid #c9c9c9; border-radius: 2px; }

@media (max-width: 1500px) {
  .rooms { grid-template-columns: repeat(12, minmax(0, 1fr)); }
}
