/* ============================================================================
   科润云酒店(PMS)管理系统 —— 主题样式（美工稿移植）
   链接于 index.html 内联 <style> 之后，覆盖设计变量；并提供通用区块/详情/菜单类
   ============================================================================ */

:root {
    /* 主色（取自美工稿 D:\hotel2023\qt） */
    --primary: #409eff;
    --primary-dark: #1a8cff;
    --accent: #f5711d;               /* 选中橙 */
    --nav-bg: #000000;               /* 左导航黑底 */
    --nav-text: #ffffff;
    --nav-hover: rgba(255, 255, 255, 0.10);
    --nav-active: #f5711d;
    --card-blue: #69c;               /* 房间卡片蓝 */
    --bg-panel: #f5f5f5;             /* 右筛选面板浅灰 */
    --bg-main: #f4f7fa;
    --bg-card: #ffffff;
    --text-primary: #1f2d3d;
    --text-regular: #5a6b7d;
    --text-secondary: #94a3b5;
    --border: #ebeef5;
    --radius: 6px;
}

/* ---- 通用分区标题（美工稿 Dialog 的 section-title） ---- */
.section-title {
    font-size: 15px;
    color: #606266;
    font-weight: 600;
    padding-bottom: 10px;
    margin-bottom: 15px;
    border-bottom: 1px solid #ebeef5;
    display: flex;
    align-items: center;
}
.section-title i { margin-right: 8px; color: #409eff; }

/* ---- 详情字段网格（info-grid） ---- */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 10px 30px;
}
.info-item { display: flex; align-items: center; margin-bottom: 10px; }
.info-label { width: 90px; color: #909399; font-size: 13px; flex-shrink: 0; }
.info-value { flex: 1; color: #606266; font-weight: 500; font-size: 13px; }
@media (max-width: 768px) { .info-grid { grid-template-columns: 1fr; } }

/* ---- 空态 ---- */
.no-data {
    text-align: center;
    padding: 36px 0;
    color: #c0c4cc;
    font-size: 14px;
    background: #fafafa;
    border-radius: 4px;
}

/* ---- 操作按钮行 ---- */
.action-buttons { display: flex; gap: 12px; margin-top: 16px; flex-wrap: wrap; }

/* ---- 右键菜单 ---- */
.context-menu {
    position: fixed;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.20);
    z-index: 9999;
    width: 150px;
    overflow: visible;
    padding: 5px 0;
}
.context-menu .menu-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 12px;
    cursor: pointer;
    font-size: 14px;
    color: #333;
    border-left: 3px solid transparent;
    transition: all 0.15s;
    white-space: nowrap;
}
.context-menu .menu-item:hover { background: #f0f7ff; border-left: 3px solid #409eff; }
.context-menu .menu-item.disabled { color: #c0c4cc; cursor: not-allowed; }
.context-menu .menu-item.disabled:hover { background: none; border-left-color: transparent; }
.context-menu .menu-item.active { background: #f0f7ff; border-left-color: #409eff; }
.context-menu .menu-arrow { font-size: 12px; color: #909399; margin-left: 10px; }
.context-menu .menu-divider { margin: 5px 0; border-top: 1px solid #eee; }

/* 二级子菜单（右键菜单「房态」等） */
.context-submenu {
    position: absolute;
    left: 100%;
    top: -5px;
    min-width: 110px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.20);
    padding: 5px 0;
    z-index: 10000;
}
.context-submenu.sub-left { left: auto; right: 100%; }
.context-submenu.sub-up { top: auto; bottom: -5px; }
.context-submenu .menu-item { border-radius: 0; }

/* ---- 右筛选面板：分块标题（黑底圆角） ---- */
.filter-section { margin: 10px 0; }
.filter-section .filter-title {
    background: #000;
    color: #fff;
    line-height: 34px;
    margin: 0 10px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
}
.filter-section .filter-body { padding: 8px 14px; }
.filter-section .filter-body .el-tag { margin: 2px; cursor: pointer; }

/* ---- 房型 TAB 栏 ---- */
.room-type-tabs {
  display: flex; align-items: stretch; gap: 2px;
  padding: 0 16px; background: #fff; border-bottom: 1px solid #dfe6ee;
  overflow-x: auto; flex-shrink: 0;
}
.room-type-tabs .rt-tab {
  padding: 9px 18px; font-size: 14px; color: #5a6b7d; cursor: pointer;
  border-bottom: 2px solid transparent; white-space: nowrap; user-select: none;
}
.room-type-tabs .rt-tab:hover { color: #2c7cb6; }
.room-type-tabs .rt-tab.active { color: #2c7cb6; border-bottom-color: #2c7cb6; font-weight: 700; }

/* ---- 右侧面板头部标题栏 ---- */
.panel-head {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 14px; font-size: 15px; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, #1f4e6e, #2c7cb6); flex-shrink: 0;
}
.panel-head i { font-size: 16px; opacity: .9; }

/* ---- 右侧多TAB面板（分段式 pill）---- */
.panel-tabs { display: flex; gap: 4px; padding: 8px; background: #f4f7fa; border-bottom: 1px solid #ebeef5; flex-shrink: 0; }
.panel-tab {
  position: relative;
  flex: 1; text-align: center; padding: 6px 4px; font-size: 12px; color: #5a6b7d; cursor: pointer;
  border-radius: 5px; background: transparent; white-space: nowrap; user-select: none; transition: all .2s;
}
.panel-tab:hover { background: #e8eef4; color: #2c7cb6; }
.panel-tab.active { background: #2c7cb6; color: #fff; font-weight: 700; box-shadow: 0 1px 3px rgba(44,124,182,.35); }
.panel-tab .panel-count {
  position: absolute; top: 1px; right: 2px;
  min-width: 15px; height: 15px; line-height: 15px; padding: 0 4px;
  font-size: 10px; color: #fff; background: #f56c6c; border-radius: 8px; text-align: center;
}
.panel-page { padding: 0; }
.consume-sum { display: flex; justify-content: space-between; padding: 8px 10px; font-size: 13px; color: #5a6b7d; }
.consume-sum b { color: #303133; }
.consume-sum b.red { color: #e74c3c; }

/* ---- 顶部图标工具栏（font-awesome 图标，固定高度、仅横向滚动） ---- */
.icon-toolbar { display: flex; align-items: center; flex-wrap: nowrap; height: 66px; min-height: 66px; max-height: 66px; overflow-x: auto; overflow-y: hidden; }
.icon-toolbar .tool-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    cursor: pointer;
    color: #333;
    gap: 4px;
    min-width: 56px;
    flex-shrink: 0;
    border-radius: 6px;
    transition: all 0.15s;
}
.icon-toolbar .tool-btn:hover { background: #000; color: #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.35); }
.icon-toolbar .tool-btn:hover i,
.icon-toolbar .tool-btn:hover span { color: #fff; }
.icon-toolbar .tool-btn i { font-size: 22px; }
.icon-toolbar .tool-btn span { font-size: 12px; white-space: nowrap; }
.icon-toolbar .tool-btn.active { background: #2c7cb6; color: #fff; }
.icon-toolbar .tool-btn.active i,
.icon-toolbar .tool-btn.active span { color: #fff; }

/* ---- 账务处理窗口（结账） ---- */
.checkout-win .el-dialog__body { padding: 12px 20px; max-height: 82vh; overflow-y: auto; }
.checkout-toolbar { height: 62px; min-height: 62px; border-bottom: 1px solid #ebeef5; margin-bottom: 10px; }
.checkout-info { background: #f4f7fa; border-radius: 6px; padding: 12px 16px; margin-bottom: 4px; }
.checkout-info-row { display: flex; gap: 26px; flex-wrap: wrap; font-size: 14px; }
.checkout-info-row span b { color: #303133; }
.checkout-amount { margin-top: 10px; gap: 34px; }
.checkout-amount div { font-size: 13px; color: #606266; }

/* ---- 房态卡联房角标（左上角，右上角留给入住类型标识字） ---- */
.room-union-badge {
    position: absolute;
    top: 6px;
    left: 6px;
    background: #f5711d;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 18px;
    padding: 0 7px;
    border-radius: 9px;
    z-index: 3;
}

/* ---- 房态卡入住类型标识字（右上角：钟/会/月/免/长/协/夜） ---- */
.room-rz-badge {
    position: absolute;
    top: 6px;
    right: 6px;
    min-width: 18px;
    height: 18px;
    line-height: 18px;
    padding: 0 5px;
    text-align: center;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    border-radius: 9px;
    z-index: 3;
}

/* ---- 房态卡预离（拟离日期，黄色胶囊，置于客人姓名行位置） ---- */
.room-departure {
    display: inline-block;
    background: rgba(0, 0, 0, 0.55);
    color: #ffd54f;
    font-size: 11px;
    font-weight: 600;
    line-height: 18px;
    padding: 0 8px;
    border-radius: 9px;
    margin: 1px 0;
    white-space: nowrap;
}
.room-stay { color: #fff; font-weight: 700; }

/* ---- 房态卡押金不足角标（右下角红 !） ---- */
.room-deposit-alert {
    position: absolute;
    bottom: 7px;
    right: 7px;
    width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    background: #e74c3c;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    border-radius: 50%;
    box-shadow: 0 0 5px rgba(231, 76, 60, 0.85);
    z-index: 3;
}

/* ---- 右面板经营提示（押金预警/预抵/预离/最近账单） ---- */
.filter-section .filter-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    user-select: none;
}
.filter-title .panel-count {
    background: #f5711d;
    color: #fff;
    font-size: 11px;
    line-height: 16px;
    min-width: 16px;
    border-radius: 8px;
    padding: 0 5px;
}
.panel-empty { color: #c0c4cc; font-size: 12px; text-align: center; padding: 8px 0; }
.panel-row {
    padding: 6px 8px;
    margin-bottom: 6px;
    background: #fff;
    border: 1px solid #ebeef5;
    border-radius: 4px;
    cursor: pointer;
}
.panel-row:hover { border-color: #409eff; }
.panel-row.alert { background: #fef0f0; border-color: #f56c6c; }
.panel-row-main { display: flex; align-items: center; gap: 8px; }
.panel-row-sub { display: flex; justify-content: space-between; align-items: center; margin-top: 2px; font-size: 11px; color: #909399; }
.panel-room { font-weight: 700; color: #303133; }
.panel-name { color: #606266; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.panel-amt { color: #e74c3c; font-weight: 600; }
.panel-row b.red { color: #f56c6c; }

/* ---- 联房弹窗 ---- */
.union-col { flex: 1; min-width: 0; display: flex; flex-direction: column; border: 1px solid #ebeef5; border-radius: 6px; overflow: hidden; }
.union-col-title { background: #f5f7fa; color: #303133; font-weight: 600; font-size: 13px; padding: 8px 12px; border-bottom: 1px solid #ebeef5; }
.union-col-body { flex: 1; min-height: 180px; max-height: 280px; overflow-y: auto; padding: 8px; }
.union-item { padding: 6px 8px; margin-bottom: 6px; background: #fff; border: 1px solid #ebeef5; border-radius: 4px; cursor: pointer; }
.union-item:hover { border-color: #409eff; }
.union-item.sel { background: #ecf5ff; border-color: #409eff; }
.union-actions { display: flex; flex-direction: column; justify-content: center; gap: 10px; flex-shrink: 0; }

/* ============================================================================
   中顶样式（zd-*）—— 开房 / 点单 / 结账 三页共用
   ============================================================================ */
.zd-win .el-dialog__header { padding: 12px 16px; border-bottom: 1px solid #c8d3de; background: #f0f0f0; }
.zd-win .el-dialog__title { font-size: 16px; font-weight: 700; color: #1f2d3d; }
.zd-win .el-dialog__body { padding: 0; background: #e8eef4; }

/* 标题条（白字深蓝条） */
.zd-titlebar {
  display: flex; align-items: center; justify-content: space-between;
  height: 30px; padding: 0 16px;
  background: linear-gradient(180deg, #2c6ea6, #1f5480);
  color: #fff; font-size: 14px; font-weight: 700; letter-spacing: 1px;
}

/* 双栏容器 */
.zd-checkin-body { display: flex; gap: 10px; padding: 10px; }
.zd-col { flex: 1; min-width: 0; display: flex; flex-direction: column; }

/* 面板（中顶凸起面板视觉：白底 + 内描边） */
.zd-panel {
  background: #fff; border: 1px solid #c8d3de; border-radius: 4px;
  padding: 12px; margin-bottom: 10px;
  box-shadow: inset 0 1px 1px rgba(255,255,255,.9), 0 1px 2px rgba(0,0,0,.06);
}

/* 紧凑表单网格 */
.zd-form { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; }
.zd-f { display: flex; align-items: center; gap: 6px; }
.zd-f > label { width: 76px; flex-shrink: 0; text-align: right; font-size: 13px; color: #333; }
.zd-f.wide { grid-column: span 2; }
.zd-f .el-input, .zd-f .el-select, .zd-f .el-date-editor, .zd-f .el-input-number { width: 100%; }
.zd-check { display: inline-flex; align-items: center; gap: 8px; }
.zd-hint { font-size: 12px; color: #999; }

/* 只读「自动生成」账号框（红加粗） */
.zd-auto .el-input__inner { color: #e74c3c; font-weight: 700; background: #fbfbfb; }

/* 面板小标题（左文字 右操作） */
.zd-subtitle { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.zd-subtitle > span:first-child { font-size: 14px; font-weight: 700; color: #1f5480; }
.zd-sub-actions { display: flex; align-items: center; gap: 6px; }

/* 中顶扁平网格 */
.zd-grid { width: 100%; border-collapse: collapse; font-size: 12px; }
.zd-grid th { background: #4a6d8c; color: #fff; font-weight: 600; padding: 5px 6px; text-align: center; border: 1px solid #3a5a75; white-space: nowrap; }
.zd-grid td { padding: 3px 6px; border: 1px solid #d7e0e8; text-align: center; vertical-align: middle; }
.zd-grid tbody tr:nth-child(even) td { background: #f3f7fb; }
.zd-grid tbody tr:hover td { background: #e3eefb; }
.zd-grid .num { text-align: right; }
.zd-grid .zd-empty { color: #c0c4cc; padding: 14px 0; }

/* 金额红加粗 */
.zd-amt { color: #e74c3c; font-weight: 700; }

/* 迷你文字按钮（如中顶「***」） */
.zd-mini { border: 1px solid #c8d3de; background: #f5f5f5; border-radius: 3px; padding: 0 6px; height: 28px; font-size: 12px; cursor: pointer; }
.zd-mini:hover { background: #e8eef4; }

/* 身份证照片占位 */
.zd-idphoto { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.zd-idphoto-box {
  width: 100%; min-height: 113px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  border: 2px dashed #c0c4cc; border-radius: 6px; color: #909399; font-size: 13px; background: #fafbfc;
}

/* 底部按钮条 */
.zd-footer { display: flex; align-items: center; gap: 18px; padding: 10px 16px; border-top: 1px solid #c8d3de; background: #e8eef4; }
.zd-footer .spacer { flex: 1; }

/* ---- 结账（中顶 TFBKMD）：左清单 / 右收银 ---- */
.zd-checkout-body { display: flex; gap: 10px; padding: 10px; align-items: stretch; }
.zd-checkout-body .zd-left { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.zd-checkout-body .zd-right { width: 372px; flex-shrink: 0; display: flex; flex-direction: column; }

/* 会员信息行（本版占位） */
.zd-member-row {
  display: flex; gap: 22px; flex-wrap: wrap; font-size: 12px; color: #606266;
  padding: 6px 2px; border-bottom: 1px dashed #d7e0e8;
}
.zd-member-row b { color: #303133; }

/* 操作按钮行 */
.zd-toolbar-panel { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }

/* 流水选中行 */
.zd-grid tbody tr.zd-selected td { background: #cfe7ff !important; }

/* 底部合计条 */
.zd-bottom { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

/* 收银面板（通用） */
.zd-cashier { border: 1px solid #c8d3de; border-radius: 4px; padding: 12px; margin-bottom: 10px; }
.zd-cashier-amount { background: #ebf4f5; }
.zd-cashier-settle { background: #b0ebe8; }
.zd-cashier-pay { background: #ebf4f5; }

.zd-amt-row { display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: #333; padding: 3px 0; }
.zd-amt-row b { font-size: 15px; color: #e74c3c; font-weight: 700; }

/* 大金额行（还应收 / 找零） */
.zd-big-line { display: flex; justify-content: space-between; align-items: center; margin: 6px 0; }
.zd-big-line > span { font-size: 15px; font-weight: 700; color: #1f5480; }
.zd-big-amount { font-size: 24px; font-weight: 800; line-height: 1; }
.zd-big-amount.red { color: #e74c3c; }
.zd-big-amount.green { color: #67C23A; }

/* 现金输入行 / 找零方式行 */
.zd-cash-line { display: flex; align-items: center; gap: 8px; margin: 6px 0; font-size: 14px; color: #333; }
.zd-cash-line > span { min-width: 64px; }

/* 付款方式区（本版置灰） */
.zd-pay-methods { display: flex; gap: 8px; flex-wrap: wrap; }
.zd-pay-btn {
  flex: 1; min-width: 60px; text-align: center; padding: 6px 4px; font-size: 12px; color: #909399;
  border: 1px solid #d7e0e8; border-radius: 3px; background: #f5f5f5; cursor: not-allowed; white-space: nowrap;
}

/* ---- 点单（中顶 TFBKDD）：左清单 / 右可供项目 ---- */
.zd-order-body { display: flex; gap: 10px; padding: 10px; align-items: stretch; }
.zd-order-body .zd-left { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.zd-order-body .zd-right { width: 430px; flex-shrink: 0; display: flex; flex-direction: column; }

/* ============================================================================
   我的页（mine）按钮 / 服务器信息行
   ============================================================================ */
.btn {
    display: inline-block; padding: 9px 22px; border-radius: 6px; font-size: 14px;
    cursor: pointer; transition: all .2s; border: 1px solid transparent; line-height: 1.4;
}
.btn-primary { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); }
.btn-default { background: #fff; color: var(--text-regular); border-color: var(--border); }
.btn-default:hover { color: var(--primary); border-color: var(--primary); }
.btn-danger { background: #f56c6c; color: #fff; border-color: #f56c6c; }
.btn-danger:hover { background: #f78989; border-color: #f78989; }

.mine-server {
    margin: 4px auto 20px; padding: 12px 16px; text-align: left;
    background: #fff; border: 1px solid var(--border-light); border-radius: 8px; max-width: 300px;
}
.mine-server-row { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; font-size: 13px; }
.mine-server-label { color: var(--text-secondary); flex-shrink: 0; }
.mine-server-val { color: var(--text-regular); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mine-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

/* ============================================================================
   系统管理（菜单式：左分类 + 右内容）
   ============================================================================ */
.sys-layout { display: flex; flex: 1; min-height: 0; overflow: hidden; }
.sys-side {
    width: 220px; min-width: 220px; background: #fff; border-right: 1px solid var(--border);
    overflow-y: auto; display: flex; flex-direction: column; flex-shrink: 0;
}
.sys-side-title {
    height: 48px; line-height: 48px; padding: 0 20px; font-size: 15px; font-weight: 700;
    color: var(--text-primary); border-bottom: 1px solid var(--border-light); flex-shrink: 0;
}
.sys-group { padding: 8px 0; }
.sys-group-title {
    padding: 8px 20px 4px; font-size: 12px; color: var(--text-secondary);
    display: flex; align-items: center; gap: 6px; letter-spacing: 1px;
    cursor: pointer; user-select: none;
}
.sys-group-title:hover { color: var(--primary); }
.sys-group-caret { font-size: 12px; }
.sys-menu-item {
    display: flex; align-items: center; gap: 8px; padding: 10px 20px 10px 34px;
    font-size: 14px; color: var(--text-regular); cursor: pointer; transition: all .15s;
    border-left: 3px solid transparent;
}
.sys-menu-item i { width: 16px; text-align: center; color: #c0c4cc; font-size: 14px; }
.sys-menu-item:hover { background: #f0f7ff; color: var(--primary); }
.sys-menu-item:hover i { color: var(--primary); }
.sys-menu-item.active { background: #ecf5ff; color: var(--primary); font-weight: 600; border-left-color: var(--primary); }
.sys-menu-item.active i { color: var(--primary); }

.sys-main { flex: 1; min-width: 0; display: flex; flex-direction: column; overflow: hidden; background: var(--bg-main); }
.sys-main-head {
    height: 56px; min-height: 56px; display: flex; align-items: center; gap: 20px;
    padding: 0 20px; background: #fff; border-bottom: 1px solid var(--border); flex-shrink: 0;
}
.sys-main-title { font-size: 16px; font-weight: 700; color: var(--text-primary); }
.sys-tabs { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.sys-tab {
    padding: 6px 14px; font-size: 13px; color: var(--text-regular); cursor: pointer;
    border-radius: 4px; transition: all .15s;
}
.sys-tab:hover { color: var(--primary); }
.sys-tab.active { background: var(--primary); color: #fff; }
.sys-main-body { flex: 1; overflow-y: auto; padding: 16px 20px; }

.sys-crud-tabs { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.sys-crud-tabs-bar { flex: 1; }
.sys-crud-tabs-bar .el-tabs__header { margin-bottom: 0; }
.sys-crud-tabs-actions { flex-shrink: 0; display: flex; align-items: center; gap: 10px; }
.sys-crud-count { font-size: 12px; color: var(--text-secondary); margin-top: 8px; }
.sys-crud .el-table { background: #fff; }

.sys-form { background: #fff; border: 1px solid var(--border-light); border-radius: 8px; overflow: hidden; max-width: 720px; }
.sys-form-head {
    height: 46px; display: flex; align-items: center; justify-content: space-between;
    padding: 0 16px; border-bottom: 1px solid var(--border-light); font-size: 15px; font-weight: 700; color: var(--text-primary);
}
.sys-form-body { padding: 16px 20px; }

.sys-placeholder { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: var(--text-secondary); }
.sys-placeholder i { font-size: 48px; color: #c0c4cc; }
.sys-placeholder-title { font-size: 18px; font-weight: 700; color: var(--text-regular); }

.sys-settings { max-width: 780px; }
.sys-set-sec { margin-bottom: 18px; }
.sys-set-title { font-size: 14px; font-weight: 700; color: var(--primary-dark); padding-bottom: 8px; margin-bottom: 6px; border-bottom: 1px dashed var(--border); }
.sys-set-sec .el-form-item { margin-bottom: 14px; }

/* ---- 系统管理 · 足浴(krzy) 弹窗样式 ---- */
.popout {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.5); z-index: 1500; /* 低于 Element 弹窗默认 2000，确保 $confirm/$message 等在其上层 */
    display: flex; align-items: center; justify-content: center;
}
.popout_nice {
    width: 720px; height: 460px; background: #f0f0f0; border-radius: 4px;
    position: relative; display: flex; flex-direction: column; overflow: hidden;
}
.popout_nice_tit { text-align: center; font-size: 20px; font-weight: 700; color: #333; padding: 14px 0 10px; flex-shrink: 0; }
.popout_nice_close { position: absolute; top: 14px; right: 16px; font-size: 20px; cursor: pointer; color: #666; }
.popout_nice_body { flex: 1; overflow-y: auto; padding: 4px 24px 12px; }
.popout_nice_body .el-form--inline .el-form-item { width: 45%; margin-right: 4%; }
.popout_nice_body .el-form--inline .el-form-item.popout-full { width: 94%; }
.popout_nice_body .el-form-item .el-input,
.popout_nice_body .el-form-item .el-select { width: 100%; }
.popout_nice_foot { flex-shrink: 0; padding: 12px 0 16px; text-align: center; }
.popout_nice.popout_tall { height: auto; max-height: 92vh; width: 864px; }
.popout_nice.popout_tall .popout_nice_body { flex: 0 0 auto; overflow-y: visible; }
.popout_nice.popout_tall .popout_nice_body .el-form--inline .el-form-item { width: 30%; margin-right: 3%; }
.popout_nice.popout_tall .popout_nice_body .el-form--inline .el-form-item.popout-full { width: 96%; }
.sys-form-br { width: 100%; }
.popout_nice.popout_tall .popout_nice_body .el-form--inline .el-form-item__content { width: calc(100% - 100px); }

/* ---- 房态看板 · 营业单据（账单管理）覆盖层：在 room 内容区内打开（左侧导航保留），退出回 room ---- */
#page-room { position: relative; }
.bill-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: #f5f5f5; z-index: 100;
    display: flex; flex-direction: column;
}
.bill-overlay-head {
    flex-shrink: 0; height: 44px; display: flex; align-items: center; justify-content: space-between;
    padding: 0 16px; background: #fff; border-bottom: 1px solid #e4e7ed;
    font-size: 16px; font-weight: 700; color: #303133;
}
.bill-overlay-close { font-size: 20px; cursor: pointer; color: #666; }
.bill-overlay-close:hover { color: #303133; }
.bill-overlay-body { flex: 1; min-height: 0; overflow-y: auto; padding: 12px 16px; }

.sys-dialog-tips { flex-shrink: 0; margin: 15px 24px 4px; padding: 10px 14px; background: #fff8e6; border: 1px solid #f3e0b0; border-radius: 4px; color: #8a6d3b; font-size: 13px; line-height: 1.7; max-height: 210px; overflow-y: auto; }
.sys-dialog-tips-title { font-weight: 700; color: #b8860b; margin-bottom: 4px; }
.sys-dialog-tips ul { margin: 0; padding-left: 18px; }
.sys-dialog-sec { margin-bottom: 14px; }
.sys-dialog-sec-title { font-size: 14px; font-weight: 700; color: var(--primary-dark); padding-bottom: 8px; margin-bottom: 6px; border-bottom: 1px dashed var(--border); }
.sys-dialog-children { margin-top: 4px; }
.sys-dialog-children .sys-dialog-sec-title { margin-top: 12px; }

/* ---- 从属基础资料（足浴 projectUnit：左列表 + 右表单） ---- */
.dialog_center {
    flex: 1; min-height: 0; width: 100%;
    display: grid; grid-template-columns: 260px 1fr; grid-template-rows: 1fr;
    overflow: hidden;
}
.dialog_center_left {
    min-height: 0; background: #fff; border-right: 2px solid #e4e7ed;
    display: flex; flex-direction: column; overflow: hidden; box-sizing: border-box;
}
.left-header {
    flex-shrink: 0; display: flex; align-items: center; justify-content: space-between;
    padding: 10px 14px; border-bottom: 1px solid #ebeef5;
}
.left-title { font-weight: 700; color: #303133; font-size: 14px; }
.sys-master-list { flex: 1; overflow-y: auto; min-height: 0; }
.dialog_center_right {
    min-height: 0; background: #fff; padding: 20px; box-sizing: border-box; overflow-y: auto;
}
.dialog_center_right .el-form { width: 100%; }
.dialog_center_right .el-form-item { width: 100%; margin-bottom: 14px; }
.dialog_center_right .el-form-item .el-input,
.dialog_center_right .el-form-item .el-select { width: 100%; }
.dialog-footer {
    flex-shrink: 0; padding: 12px 0; text-align: center; background: #fff; border-top: 1px solid #ebeef5;
}
.dialog-footer .el-button { margin: 0 8px; }
.popout_nice.sys-master-tall { width: 1160px; height: 88vh; }
.popout_nice.sys-master-tall .dialog_center { grid-template-columns: 200px 1fr; }
.dialog_center_right .el-form.sys-form-2col { display: flex; flex-wrap: wrap; align-content: flex-start; }
.dialog_center_right .el-form.sys-form-2col .el-form-item { width: 48%; margin-right: 2%; }
.dialog_center_right .el-form.sys-form-3col { display: flex; flex-wrap: wrap; align-content: flex-start; }
.dialog_center_right .el-form.sys-form-3col .el-form-item { width: 31%; margin-right: 2%; margin-bottom: 7px; }
.dialog_center_right .el-form.sys-form-3col .el-form-item.sys-form-half { width: 48%; }
.dialog_center_right .el-form.sys-form-3col .sys-form-rowbreak { flex-basis: 100%; height: 0; }

