/* ===== 东北疯 · 语音厅直播风主题（覆盖默认浅色主题） ===== */



:root {



  --primary: #a855f7;



  --primary-dark: #8b3ff0;



  --success: #34d399;



  --danger: #fb7185;



  --warning: #fbbf24;



  --bg: #08050d;



  --card: rgba(255, 255, 255, 0.045);



  --text: #f4efff;



  --muted: #9a8fb5;



  --border: rgba(255, 255, 255, 0.09);



  --radius: 16px;



  --gold: #f5c76a;



  --pink: #ec4899;



}







html { color-scheme: dark; }







body {



  background:



    radial-gradient(900px 520px at 12% -8%, rgba(168, 85, 247, 0.28), transparent 62%),



    radial-gradient(760px 480px at 92% 4%, rgba(236, 72, 153, 0.20), transparent 60%),



    radial-gradient(700px 420px at 50% 108%, rgba(245, 199, 106, 0.10), transparent 65%),



    #08050d;



  background-attachment: fixed;



  color: var(--text);



}







/* ---------- 登录页 ---------- */



.login-wrap {



  background:



    radial-gradient(800px 500px at 50% 0%, rgba(168, 85, 247, 0.30), transparent 65%),



    radial-gradient(600px 400px at 80% 100%, rgba(236, 72, 153, 0.18), transparent 65%),



    #08050d;



}



.login-card {



  background: linear-gradient(180deg, rgba(30, 20, 46, 0.92), rgba(14, 10, 22, 0.94));



  border: 1px solid rgba(255, 255, 255, 0.10);



  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.07);



  backdrop-filter: blur(18px);



  position: relative;



  overflow: hidden;



}



.login-card::after {



  content: ""; position: absolute; inset: -40% -20% auto; height: 220px;



  background: radial-gradient(closest-side, rgba(168, 85, 247, 0.35), transparent);



  pointer-events: none;



}



.login-logo { position: relative; z-index: 1; }



.login-logo .logo-img {



  width: 108px; height: 108px; border-radius: 50%; object-fit: cover; display: block; margin: 0 auto;



  border: 1px solid rgba(245, 199, 106, 0.55);



  box-shadow: 0 0 0 6px rgba(168, 85, 247, 0.14), 0 0 34px rgba(168, 85, 247, 0.55), 0 0 60px rgba(236, 72, 153, 0.25);



  animation: logoBreath 4.5s ease-in-out infinite;



}



@keyframes logoBreath {



  0%, 100% { box-shadow: 0 0 0 6px rgba(168,85,247,.12), 0 0 30px rgba(168,85,247,.45), 0 0 56px rgba(236,72,153,.18); }



  50% { box-shadow: 0 0 0 9px rgba(168,85,247,.18), 0 0 44px rgba(168,85,247,.70), 0 0 80px rgba(236,72,153,.34); }



}



.login-logo h1 {



  font-size: 28px; letter-spacing: 6px; margin-top: 14px; font-weight: 800;



  background: linear-gradient(120deg, #fff 8%, var(--gold) 48%, #f0a6ff 92%);



  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;



  text-shadow: 0 0 32px rgba(245, 199, 106, 0.25);



}



.login-logo .en {



  font-size: 12.5px; letter-spacing: 5px; color: rgba(245, 199, 106, 0.75);



  margin-top: 6px; text-transform: uppercase;



}



.login-logo p { color: var(--muted); font-size: 14px; margin-top: 8px; letter-spacing: 1px; }







.form-label { color: #b6a9cf; letter-spacing: .5px; }



.form-control {



  background: rgba(255, 255, 255, 0.045);



  border: 1.5px solid rgba(255, 255, 255, 0.10);



  color: var(--text);



  border-radius: 12px;



}



.form-control::placeholder { color: rgba(154, 143, 181, 0.65); }



.form-control:focus {



  border-color: rgba(168, 85, 247, 0.85);



  box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.16);



  background: rgba(255, 255, 255, 0.06);



}



select.form-control option { background: #150d22; color: var(--text); }







.btn-primary {



  background: linear-gradient(120deg, #a855f7, #ec4899 65%, #f5c76a 140%);



  color: #fff;



  box-shadow: 0 10px 30px rgba(168, 85, 247, 0.38);



  letter-spacing: 1px;



}



.btn-primary:hover { filter: brightness(1.08); }



.btn-primary:disabled { background: rgba(168, 85, 247, 0.28); color: rgba(255,255,255,.55); box-shadow: none; }



.btn-outline {



  background: rgba(255, 255, 255, 0.05);



  color: var(--gold);



  border: 1.5px solid rgba(245, 199, 106, 0.45);



}



.btn-outline:hover { background: rgba(245, 199, 106, 0.12); }



.btn-outline:disabled { color: var(--muted); border-color: rgba(255, 255, 255, 0.12); background: rgba(255,255,255,.02); }



.btn-ghost { background: rgba(255, 255, 255, 0.05); color: var(--muted); }



.btn-success { background: linear-gradient(120deg, #10b981, #34d399); color: #04231a; }



.btn-danger { background: rgba(251, 113, 133, 0.16); color: #fda4af; border: 1px solid rgba(251,113,133,.4); }



.login-tip { color: rgba(154, 143, 181, 0.9); }







/* ---------- 登录方式切换 ---------- */



.auth-tabs {



  display: flex; gap: 6px; padding: 4px; margin-bottom: 16px;



  background: rgba(255, 255, 255, 0.05);



  border: 1px solid rgba(255, 255, 255, 0.08);



  border-radius: 12px;



}



.auth-tab {



  flex: 1; padding: 9px 4px; border: none; cursor: pointer;



  background: transparent; color: rgba(196, 185, 220, 0.85);



  font-size: 14.5px; font-weight: 600; border-radius: 9px;



  transition: all .18s ease; font-family: inherit;



  white-space: nowrap;



}



@media (max-width: 380px) {



  /* 320-380 窄屏：三个登录方式标签要能一行放下，不能把「验证码登录」挤换行 */



  .auth-tabs { gap: 3px; padding: 3px; }



  .auth-tab { font-size: 13.5px; padding: 9px 2px; }



}



.auth-tab:hover { color: #fff; }



.auth-tab.active {



  background: linear-gradient(120deg, #a855f7, #ec4899);



  color: #fff; box-shadow: 0 4px 14px rgba(168, 85, 247, .35);



}







/* ---------- 记住密码 / 自动登录 ---------- */



.remember-row {



  display: flex; align-items: center; justify-content: space-between;



  gap: 12px; margin: -2px 0 16px;



}



.chk {



  display: inline-flex; align-items: center; gap: 7px;



  font-size: 14.5px; color: rgba(200, 190, 222, 0.9);



  cursor: pointer; user-select: none;



}



.chk input[type="checkbox"] {



  appearance: none; -webkit-appearance: none;



  width: 17px; height: 17px; border-radius: 5px;



  border: 1.5px solid rgba(168, 85, 247, 0.5);



  background: rgba(255, 255, 255, 0.04);



  cursor: pointer; position: relative; flex: 0 0 auto;



  transition: all .16s ease;



}



.chk input[type="checkbox"]:checked {



  background: linear-gradient(135deg, #a855f7, #ec4899);



  border-color: transparent;



  box-shadow: 0 2px 8px rgba(168, 85, 247, .45);



}



.chk input[type="checkbox"]:checked::after {



  content: ""; position: absolute; left: 5px; top: 1.5px;



  width: 5px; height: 9px;



  border: solid #fff; border-width: 0 2px 2px 0;



  transform: rotate(45deg);



}







/* ---------- 第三方登录 ---------- */



.or-line { display: flex; align-items: center; gap: 10px; margin: 20px 0 12px; color: rgba(154,143,181,.75); font-size: 13.5px; }



.or-line::before, .or-line::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.14), transparent); }



.oauth-btn {



  width: 100%; margin-bottom: 10px; padding: 11px 14px;



  background: rgba(255, 255, 255, 0.05);



  border: 1px solid rgba(255, 255, 255, 0.12);



  color: #e8dfff;



  border-radius: 12px; font-size: 15.5px; font-weight: 600;



  letter-spacing: .5px;



}



.oauth-btn:hover { background: rgba(255, 255, 255, 0.09); border-color: rgba(168, 85, 247, 0.45); }



.oauth-ic { display: inline-flex; width: 22px; height: 22px; border-radius: 6px; align-items: center; justify-content: center; font-size: 14px; }



.oauth-ic.wechat { background: rgba(34, 197, 94, 0.18); color: #4ade80; }







/* ---------- 顶栏 ---------- */



.app-header {



  background: linear-gradient(180deg, rgba(24, 14, 38, 0.96), rgba(12, 8, 20, 0.92));



  border-bottom: 1px solid rgba(255, 255, 255, 0.08);



  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55);



  backdrop-filter: blur(16px);



}



.app-header .brand { display: flex; align-items: center; gap: 10px; min-width: 0; }



.app-header .brand img {



  width: 36px; height: 36px; border-radius: 50%; object-fit: cover;



  border: 1px solid rgba(245, 199, 106, 0.55);



  box-shadow: 0 0 16px rgba(168, 85, 247, 0.55);



  flex-shrink: 0;



}



.app-header .brand-txt { min-width: 0; }



.app-header h1 {



  font-size: 18px; letter-spacing: 4px; line-height: 1.15; white-space: nowrap; flex-shrink: 0;



  background: linear-gradient(100deg, #fff 20%, var(--gold) 78%);



  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;



}



.app-header .brand-sub { font-size: 11px; letter-spacing: 2px; color: rgba(245, 199, 106, 0.62); margin-top: 2px; white-space: nowrap; }



.role-badge {



  background: rgba(168, 85, 247, 0.22);



  border: 1px solid rgba(168, 85, 247, 0.45);



  color: #e9d5ff;



}



.logout-btn {



  background: rgba(255, 255, 255, 0.08);



  border: 1px solid rgba(255, 255, 255, 0.14);



  color: #d9cfee;



}







/* ---------- 卡片 / 文字 ---------- */



.card {



  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025));



  border: 1px solid var(--border);



  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.05);



  backdrop-filter: blur(10px);



}



.card h3 { letter-spacing: .5px; color: #f0e8ff; }



.muted { color: var(--muted); }



.empty { color: rgba(154, 143, 181, 0.8); }







/* ---------- 功能导航 ---------- */



.tabbar {



  background: rgba(14, 9, 24, 0.94);



  border-color: rgba(255, 255, 255, 0.1);



  box-shadow: 0 -10px 34px rgba(0, 0, 0, 0.62), inset 0 1px 0 rgba(255, 255, 255, 0.06);



}



.nav-item { color: rgba(178, 167, 200, 0.92); }



.nav-item:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }



.nav-item.active {



  color: #fff;



  background: linear-gradient(120deg, rgba(168, 85, 247, 0.95), rgba(236, 72, 153, 0.88));



  border-color: rgba(255, 255, 255, 0.16);



  box-shadow: 0 8px 22px rgba(168, 85, 247, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.24);



}



.nav-item.active .ni { filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.55)); }







/* ---------- 数据卡 ---------- */



.stat-card {



  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));



  border: 1px solid var(--border);



  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);



}



.stat-card .num { color: #e9d5ff; text-shadow: 0 0 20px rgba(168, 85, 247, 0.45); }



.stat-card .num.green { color: var(--success); text-shadow: 0 0 20px rgba(52, 211, 153, 0.35); }



.stat-card .num.orange { color: var(--gold); text-shadow: 0 0 20px rgba(245, 199, 106, 0.35); }



.stat-card .lbl { color: var(--muted); }







/* ---------- 列表 ---------- */



.record-item { border-bottom: 1px solid rgba(255, 255, 255, 0.06); }



.record-title { color: #f4efff; }



.record-sub { color: var(--muted); }



.amount { color: var(--gold); text-shadow: 0 0 18px rgba(245, 199, 106, 0.3); }







.tag { border: 1px solid transparent; }



.tag-pending { background: rgba(251, 191, 36, 0.14); color: #fcd34d; border-color: rgba(251, 191, 36, 0.35); }



.tag-approved { background: rgba(52, 211, 153, 0.14); color: #6ee7b7; border-color: rgba(52, 211, 153, 0.35); }



.tag-rejected { background: rgba(251, 113, 133, 0.14); color: #fda4af; border-color: rgba(251, 113, 133, 0.35); }



.tag-cancelled { background: rgba(154, 143, 181, 0.16); color: #c4b5fd; border-color: rgba(154, 143, 181, 0.35); }



.tag-admin { background: rgba(168, 85, 247, 0.18); color: #e9d5ff; border-color: rgba(168, 85, 247, 0.42); }



.tag-emp { background: rgba(255, 255, 255, 0.07); color: #cbc2df; border-color: rgba(255,255,255,.12); }



.tag-bound { background: rgba(52, 211, 153, 0.14); color: #6ee7b7; border-color: rgba(52, 211, 153, 0.32); }



.tag-unbound { background: rgba(251, 191, 36, 0.13); color: #fcd34d; border-color: rgba(251, 191, 36, 0.32); }



.tag-off { background: rgba(148, 163, 184, 0.14); color: #cbd5e1; border-color: rgba(148, 163, 184, 0.3); }







.shift-早班 { background: rgba(56, 189, 248, 0.15); color: #7dd3fc; border: 1px solid rgba(56, 189, 248, 0.32); }



.shift-中班 { background: rgba(168, 85, 247, 0.17); color: #e9d5ff; border: 1px solid rgba(168, 85, 247, 0.38); }



.shift-晚班 { background: rgba(236, 72, 153, 0.16); color: #f9a8d4; border: 1px solid rgba(236, 72, 153, 0.36); }



.shift-休息 { background: rgba(255, 255, 255, 0.06); color: #a9a0bf; border: 1px solid rgba(255, 255, 255, 0.12); }







.chip { background: rgba(255, 255, 255, 0.04); border: 1.5px solid rgba(255, 255, 255, 0.1); color: var(--muted); }



.chip.active {



  border-color: rgba(168, 85, 247, 0.75);



  color: #fff;



  background: linear-gradient(120deg, rgba(168, 85, 247, 0.32), rgba(236, 72, 153, 0.26));



  box-shadow: 0 0 22px rgba(168, 85, 247, 0.28);



}







.summary-bar {



  background: linear-gradient(120deg, rgba(168, 85, 247, 0.16), rgba(245, 199, 106, 0.10));



  border: 1px solid rgba(168, 85, 247, 0.26);



  color: #e9d5ff;



}







/* ---------- 签到 ---------- */



.checkin-hero { position: relative; overflow: hidden; }



.checkin-hero::before {



  content: ""; position: absolute; width: 260px; height: 260px; left: 50%; top: 46%;



  transform: translate(-50%, -50%);



  background: radial-gradient(closest-side, rgba(168, 85, 247, 0.30), transparent);



  pointer-events: none;



}



.checkin-time {



  font-size: 40px; letter-spacing: 2px; position: relative;



  background: linear-gradient(120deg, #fff, var(--gold));



  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;



}



.checkin-date { color: var(--muted); }



.checkin-btn {



  position: relative; z-index: 1;



  width: 148px; height: 148px;



  background: radial-gradient(circle at 32% 28%, #c084fc, #a855f7 45%, #7e22ce 100%);



  box-shadow: 0 0 0 8px rgba(168, 85, 247, 0.10), 0 0 46px rgba(168, 85, 247, 0.65), 0 18px 40px rgba(0, 0, 0, 0.5);



  letter-spacing: 2px;



  animation: btnPulse 2.8s ease-in-out infinite;



}



@keyframes btnPulse {



  0%, 100% { box-shadow: 0 0 0 8px rgba(168,85,247,.10), 0 0 40px rgba(168,85,247,.58), 0 18px 40px rgba(0,0,0,.5); }



  50% { box-shadow: 0 0 0 14px rgba(168,85,247,.06), 0 0 62px rgba(168,85,247,.85), 0 18px 40px rgba(0,0,0,.5); }



}



.checkin-btn.done {



  background: radial-gradient(circle at 32% 28%, #6ee7b7, #10b981 55%, #047857 100%);



  box-shadow: 0 0 0 8px rgba(52, 211, 153, 0.10), 0 0 42px rgba(52, 211, 153, 0.55), 0 18px 40px rgba(0, 0, 0, .5);



  animation: none;



}



.checkin-btn:disabled {



  background: rgba(255, 255, 255, 0.07);



  color: rgba(244, 239, 255, 0.55);



  box-shadow: none;



  animation: none;



}







/* ---------- 弹窗 / 提示 ---------- */



.modal {



  background: linear-gradient(180deg, #1a1128, #0d0816);



  border: 1px solid rgba(255, 255, 255, 0.1);



  box-shadow: 0 -10px 60px rgba(0, 0, 0, 0.7);



}



.modal h3 { color: #f4efff; }



.modal-actions .btn-ghost { background: rgba(255,255,255,.06); }



#toast {



  background: rgba(20, 13, 32, 0.96);



  border: 1px solid rgba(168, 85, 247, 0.45);



  box-shadow: 0 0 30px rgba(168, 85, 247, 0.32);



  color: #f4efff;



}



#toast.error { background: rgba(60, 16, 26, 0.97); border-color: rgba(251, 113, 133, 0.55); }







/* ---------- 表格 ---------- */



table.simple th { color: var(--muted); border-bottom: 1.5px solid rgba(255, 255, 255, 0.1); }



table.simple td { border-bottom: 1px solid rgba(255, 255, 255, 0.06); }







/* ---------- 日期 / 月份选择：整块输入框点击即弹选择器 ---------- */



input[type="date"].form-control,



input[type="month"].form-control {



  position: relative;



  cursor: pointer;



  padding-right: 44px;



  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23c3b4e0' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.2' y='4.8' width='17.6' height='16' rx='3.2'/%3E%3Cpath d='M8 2.9v4M16 2.9v4M3.2 10h17.6'/%3E%3C/svg%3E");



  background-repeat: no-repeat;



  background-position: right 14px center;



  background-size: 18px 18px;



}



/* 把系统自带的小日历按钮铺满整个输入框并设为透明：点框内任意位置都能唤起选择器 */



input[type="date"]::-webkit-calendar-picker-indicator,



input[type="month"]::-webkit-calendar-picker-indicator {



  position: absolute;



  inset: 0;



  width: 100%;



  height: 100%;



  margin: 0;



  padding: 0;



  opacity: 0;



  cursor: pointer;



}



input[type="date"].form-control:disabled,



input[type="month"].form-control:disabled { cursor: not-allowed; opacity: .6; }



/* 选中日期后的文字用主色强调，避免整块控件看起来像普通输入框 */



input[type="date"].form-control::-webkit-datetime-edit,



input[type="month"].form-control::-webkit-datetime-edit { color: var(--text); }







/* 顶部装饰光带 */



.app-header::after {



  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;



  background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.85), rgba(245, 199, 106, 0.7), rgba(236, 72, 153, 0.85), transparent);



  opacity: .75;



}







/* ---------- 排档（时段 × 麦位） ---------- */



.sched-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; flex-wrap: wrap; }



.sched-heading h3 { margin: 0; font-size: 18px; }



.sched-heading .sched-tip { margin: 6px 0 0; font-size: 13.5px; color: rgba(154,143,181,.9); }







.seg-tabs { display: inline-flex; gap: 3px; padding: 3px; background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.09); border-radius: 12px; }



.seg-tabs button { border: 0; background: transparent; color: var(--muted); font-family: inherit; font-size: 14px; font-weight: 600; padding: 7px 15px; border-radius: 9px; cursor: pointer; white-space: nowrap; transition: all .18s; }



.seg-tabs button:hover { color: #e9d5ff; }



.seg-tabs button.on { background: linear-gradient(120deg, rgba(168,85,247,.95), rgba(236,72,153,.82)); color: #fff; box-shadow: 0 4px 16px rgba(168,85,247,.42), inset 0 1px 0 rgba(255,255,255,.22); }







/* 厅切换：东北疯 / 东北热度，两张独立档表 */



.hall-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 14px; padding: 5px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: 14px; }



.hall-tab { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 9px 8px; border: 1px solid transparent; border-radius: 10px; background: transparent; color: var(--muted); font-family: inherit; cursor: pointer; transition: all .18s; }



.hall-tab .ht-name { font-size: 15px; font-weight: 700; letter-spacing: .5px; white-space: nowrap; }



.hall-tab .ht-num { font-size: 12.5px; font-weight: 500; opacity: .78; white-space: nowrap; }



.hall-tab:hover { color: #e9d5ff; background: rgba(255,255,255,.045); }



.hall-tab.on { background: linear-gradient(120deg, rgba(168,85,247,.92), rgba(236,72,153,.8)); color: #fff; border-color: rgba(255,255,255,.14); box-shadow: 0 6px 20px -8px rgba(168,85,247,.9), inset 0 1px 0 rgba(255,255,255,.2); }



.hall-tab.on .ht-num { opacity: .92; }



@media (min-width: 900px) {



  .hall-tab { flex-direction: row; gap: 10px; padding: 10px 10px; }



  .hall-tab .ht-name { font-size: 15.5px; }



}







/* 日期条 */



.date-bar { display: flex; align-items: center; gap: 10px; margin-top: 16px; padding: 8px 10px; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.08); border-radius: 14px; }



.date-nav { display: flex; align-items: center; gap: 6px; flex: 1 1 auto; min-width: 0; }



.dn-arrow { flex: 0 0 auto; width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.05); color: #d9cfee; border-radius: 10px; font-size: 19px; line-height: 1; font-family: inherit; cursor: pointer; transition: all .15s; }



.dn-arrow:hover { background: rgba(168,85,247,.24); border-color: rgba(168,85,247,.45); color: #fff; }



.date-chip { position: relative; display: flex; align-items: baseline; gap: 8px; flex: 0 1 auto; min-width: 0; padding: 6px 16px; border-radius: 11px; background: linear-gradient(120deg, rgba(168,85,247,.18), rgba(236,72,153,.09)); border: 1px solid rgba(168,85,247,.3); cursor: pointer; overflow: hidden; }



.date-chip .dc-day { font-size: 17px; font-weight: 700; color: #f6f1ff; letter-spacing: .4px; white-space: nowrap; }



.date-chip .dc-meta { font-size: 13px; color: #c6b3e4; white-space: nowrap; }



.date-chip .dc-meta.today { color: var(--gold); font-weight: 600; }



.date-chip .dc-wd { font-size: 13px; color: rgba(198,179,228,.72); white-space: nowrap; }



@media (max-width: 430px) {



  .date-chip { padding: 6px 12px; gap: 6px; }



  .date-chip .dc-wd { display: none; }



  .pill-btn { padding: 0 12px; font-size: 13.5px; }



}



.dc-input { position: absolute; left: 0; top: 0; width: 100%; height: 100%; opacity: 0; border: 0; padding: 0; margin: 0; cursor: pointer; -webkit-appearance: none; appearance: none; }



.pill-btn { flex: 0 0 auto; height: 34px; padding: 0 16px; border-radius: 10px; border: 1px solid rgba(245,199,106,.34); background: rgba(245,199,106,.12); color: var(--gold); font-family: inherit; font-size: 14px; font-weight: 600; cursor: pointer; transition: all .15s; }



.pill-btn:hover:not(:disabled) { background: rgba(245,199,106,.22); }



.pill-btn:disabled { opacity: .35; cursor: default; }







/* 统计 + 操作 */



.sched-bar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 12px; }



.stat-chip { display: inline-flex; align-items: baseline; gap: 4px; padding: 6px 12px; border-radius: 10px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.075); font-size: 13px; color: var(--muted); white-space: nowrap; }



.stat-chip b { font-size: 15px; font-weight: 700; color: #e9d5ff; letter-spacing: .3px; }



.stat-chip.gold b { color: var(--gold); }



.sched-bar .bar-actions { display: inline-flex; gap: 8px; margin-left: auto; flex-wrap: wrap; align-items: center; }



@media (max-width: 480px) { .sched-bar .bar-actions { width: 100%; margin-left: 0; } .sched-bar .bar-actions .btn { flex: 1 1 auto; } }



/* 按钮文字不换行、不被压缩：之前「记加班」「清空本日」被挤成竖排 */



.sched-bar .btn { padding: 8px 14px; font-size: 14px; white-space: nowrap; flex: 0 0 auto; }



/* .btn-primary 全局带 width:100%（登录页用的），排档栏里要按内容宽度 */



.sched-bar .btn-primary { width: auto; }







/* 表格 */



.sched-wrap { position: relative; }



.sched-wrap::after { content: ""; position: absolute; right: 1px; top: 1px; bottom: 1px; width: 26px; border-radius: 0 15px 15px 0; background: linear-gradient(90deg, rgba(22,15,36,0), rgba(22,15,36,.9)); pointer-events: none; display: none; }



@media (max-width: 780px) { .sched-wrap::after { display: block; } }



.sched-scroll { margin-top: 12px; overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid rgba(255,255,255,.09); border-radius: 16px; background: rgba(255,255,255,.012); }



table.sched-grid { width: 100%; min-width: 648px; border-collapse: separate; border-spacing: 0; table-layout: fixed; }



table.sched-grid th, table.sched-grid td { padding: 0; border: 0; }



table.sched-grid thead th { height: 38px; padding: 0 2px; font-size: 12.5px; font-weight: 600; color: var(--muted); background: #1a1127; border-bottom: 1px solid rgba(255,255,255,.1); position: sticky; top: 0; z-index: 2; }



table.sched-grid thead th .seat-num { display: inline-flex; align-items: center; justify-content: center; min-width: 21px; height: 21px; padding: 0 6px; border-radius: 20px; background: rgba(255,255,255,.06); color: #cfc3e6; font-size: 12.5px; letter-spacing: .2px; }



table.sched-grid thead th.lead .seat-num { background: rgba(245,199,106,.18); color: var(--gold); border: 1px solid rgba(245,199,106,.35); }



table.sched-grid th.tcol { position: sticky; left: 0; z-index: 3; width: 84px; min-width: 84px; font-size: 12.5px; font-weight: 600; color: #c0b1dd; letter-spacing: 0; font-variant-numeric: tabular-nums; white-space: nowrap; background: #1c1329; border-right: 1px solid rgba(255,255,255,.1); text-align: center; }



table.sched-grid thead th.tcol { z-index: 4; height: 38px; }



table.sched-grid tbody th.tcol { height: 46px; }



table.sched-grid tbody tr:nth-child(even) td { background: rgba(255,255,255,.014); }



table.sched-grid tbody tr:hover td { background: rgba(168,85,247,.08); }



table.sched-grid tbody td { border-bottom: 1px solid rgba(255,255,255,.05); border-left: 1px solid rgba(255,255,255,.05); }



table.sched-grid tbody tr:last-child td, table.sched-grid tbody tr:last-child th.tcol { border-bottom: 0; }



table.sched-grid tbody tr.now th.tcol { color: var(--success); }



table.sched-grid tbody tr.now td { box-shadow: inset 0 1px 0 rgba(52,211,153,.22), inset 0 -1px 0 rgba(52,211,153,.22); }







.sched-cell { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; height: 46px; padding: 4px 5px; margin: 0; background: transparent; border: 0; color: #e8dff7; font-family: inherit; font-size: 14px; line-height: 1.15; text-align: center; word-break: break-all; cursor: pointer; transition: background .15s; }



.sched-cell.filled { background: rgba(168,85,247,.14); color: #f6f1ff; font-weight: 600; }



.sched-cell.lead-col.filled { background: rgba(245,199,106,.15); color: var(--gold); }



.sched-cell.mine { background: rgba(52,211,153,.20) !important; color: #6ee7b7 !important; box-shadow: inset 0 0 0 1.5px rgba(52,211,153,.55); }



.sched-cell .cell-add { color: rgba(154,143,181,.34); font-size: 14px; transition: color .15s; }



table.sched-grid tbody tr:hover .sched-cell .cell-add { color: rgba(196,140,255,.8); }



div.sched-cell { cursor: default; }







@media (min-width: 900px) {



  table.sched-grid tbody th.tcol, .sched-cell { height: 52px; }



  .sched-cell { font-size: 14px; }



}







/* 周视图 */



table.sched-grid.week thead th.day-col { cursor: pointer; height: 48px; padding: 5px 2px; transition: background .15s; }



table.sched-grid.week thead th.day-col:hover { background: rgba(168,85,247,.14); }



table.sched-grid.week .dow { font-size: 13px; color: #cfc3e6; font-weight: 600; }



table.sched-grid.week .dom { font-size: 12px; color: rgba(154,143,181,.85); font-weight: 400; margin-top: 2px; letter-spacing: .2px; }



table.sched-grid.week thead th.day-col.today .dow { color: var(--gold); }



table.sched-grid.week thead th.day-col.today .dom { color: rgba(245,199,106,.9); }



table.sched-grid.week thead th.day-col.today { background: rgba(245,199,106,.1); box-shadow: inset 0 -2px 0 rgba(245,199,106,.55); }



.week-cell { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 48px; padding: 6px 3px; text-align: center; cursor: pointer; transition: background .15s; }



.week-cell:hover { background: rgba(168,85,247,.12); }



.week-cell .wk-lead { font-size: 13px; color: var(--gold); line-height: 1.2; word-break: break-all; }



.week-cell .wk-num { font-size: 11.5px; color: rgba(154,143,181,.8); margin-top: 3px; letter-spacing: .3px; }



.week-cell.empty .wk-lead { color: rgba(154,143,181,.28); }







.sched-hint { display: none; text-align: center; font-size: 12.5px; color: rgba(154,143,181,.7); margin-top: 8px; letter-spacing: .4px; }



@media (max-width: 780px) { .sched-hint { display: block; } }







/* 选人弹窗 */



.pick-list { max-height: 44vh; overflow-y: auto; margin-top: 10px; border: 1px solid rgba(255,255,255,.09); border-radius: 12px; background: rgba(255,255,255,.02); }



.pick-item { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; width: 100%; padding: 9px 12px; background: transparent; border: 0; border-bottom: 1px solid rgba(255,255,255,.06); color: var(--text); font-family: inherit; text-align: left; cursor: pointer; }



.pick-item:last-child { border-bottom: 0; }



.pick-item.on { background: rgba(52,211,153,.12); }



.pick-item:active { background: rgba(168,85,247,.2); }



/* 已被本时段占用：灰化、划线、不可选 */



.pick-item.blocked { cursor: not-allowed; background: rgba(248,113,113,.06); box-shadow: inset 3px 0 0 rgba(248,113,113,.55); }



.pick-item.blocked:active { background: rgba(248,113,113,.06); }



.pick-item.blocked .pick-name { color: rgba(244,239,255,.55); text-decoration: line-through; text-decoration-color: rgba(248,113,113,.75); }



.pick-item.blocked .pick-sub { color: #fca5a5; }



.pick-tip { margin-top: 10px; padding: 8px 12px; border-radius: 10px; text-align: center; font-size: 13px; color: rgba(201,188,228,.82); background: rgba(168,85,247,.10); border: 1px dashed rgba(168,85,247,.26); }



.pick-name { font-size: 15px; font-weight: 600; }



.pick-sub { font-size: 12.5px; color: var(--muted); }







/* 下一档提示 / 档位小标签 */



.next-shift { margin-top: 10px; padding: 12px 14px; border-radius: 12px; background: linear-gradient(120deg, rgba(168,85,247,.18), rgba(236,72,153,.10)); border: 1px solid rgba(168,85,247,.28); font-size: 14.5px; color: #e9d5ff; line-height: 1.6; }



.next-shift b { color: var(--gold); }



.next-shift .ns-sub { font-size: 13px; color: rgba(201,188,228,.8); margin-top: 4px; }



/* 我的排档：本周/本月总时长 */



.hour-stat { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }



.hour-stat .hs { padding: 10px 12px; border-radius: 12px; background: linear-gradient(135deg, rgba(168,85,247,.16), rgba(236,72,153,.07)); border: 1px solid rgba(168,85,247,.24); }



.hour-stat .hs-t { display: block; font-size: 11.5px; color: var(--muted); }



.hour-stat .hs-v { display: flex; align-items: baseline; gap: 4px; margin-top: 1px; }



.hour-stat .hs-v b { font-size: 25px; line-height: 1.12; color: var(--gold); letter-spacing: 0; }



.hour-stat .hs-v em { font-style: normal; font-size: 12px; color: var(--muted); }



.hour-stat .hs-s { display: block; font-size: 11px; color: var(--muted); margin-top: 2px; }



.slot-tag { display: inline-block; padding: 2px 10px; border-radius: 20px; font-size: 13px; font-weight: 600; background: rgba(168,85,247,.16); color: #e9d5ff; border: 1px solid rgba(168,85,247,.35); white-space: nowrap; }



.slot-tag.lead { background: rgba(245,199,106,.14); color: var(--gold); border-color: rgba(245,199,106,.38); }







/* ==================== 本档情况 ==================== */



/* 标题 + 厅切换（小分段，只在两个厅之间切） */



.sl-title-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 11px; }



.sl-title-row h3 { margin: 0; font-size: 17px; letter-spacing: .5px; }



.sl-hall { display: flex; gap: 3px; padding: 3px; border-radius: 10px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.07); }



.sl-hall-btn { padding: 5px 11px; border: 0; border-radius: 7px; background: transparent; color: var(--muted); font-family: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; transition: all .16s; white-space: nowrap; }



.sl-hall-btn:hover { color: #e9d5ff; }



.sl-hall-btn.on { background: linear-gradient(120deg, rgba(168,85,247,.95), rgba(236,72,153,.82)); color: #fff; box-shadow: 0 4px 12px -5px rgba(168,85,247,.95); }







/* 日期：一行搞定，点中间换日期 */



.sl-datebar { display: flex; align-items: center; gap: 6px; margin-bottom: 12px; }



.sl-nav { flex: 0 0 auto; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 9px; border: 1px solid rgba(255,255,255,.09); background: rgba(255,255,255,.04); color: #d9cfee; font-family: inherit; font-size: 18px; line-height: 1; cursor: pointer; transition: all .15s; }



.sl-nav:hover { background: rgba(168,85,247,.2); border-color: rgba(168,85,247,.45); color: #fff; }



.sl-date-chip { position: relative; flex: 1 1 auto; display: flex; align-items: baseline; justify-content: center; gap: 7px; padding: 6px 10px; border-radius: 9px; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.08); overflow: hidden; }



.sl-date-chip.pickable { cursor: pointer; }



.sl-date-chip.pickable:hover { border-color: rgba(168,85,247,.4); }



.sl-date-chip b { font-size: 15.5px; font-weight: 700; letter-spacing: .3px; white-space: nowrap; }



.sl-date-chip span { font-size: 13px; color: var(--gold); white-space: nowrap; }



.sl-date-chip .sl-wd { font-style: normal; color: rgba(201,188,228,.75); }



.sl-date-input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; border: 0; padding: 0; margin: 0; cursor: pointer; -webkit-appearance: none; appearance: none; }



.sl-today { flex: 0 0 auto; height: 32px; padding: 0 11px; border-radius: 9px; border: 1px solid rgba(245,199,106,.32); background: rgba(245,199,106,.1); color: var(--gold); font-family: inherit; font-size: 13px; font-weight: 600; cursor: pointer; white-space: nowrap; transition: all .15s; }



.sl-today:hover { background: rgba(245,199,106,.2); }



.sl-today.on { border-color: rgba(255,255,255,.09); background: rgba(255,255,255,.03); color: rgba(201,188,228,.4); cursor: default; }







/* 档位：3×3 时间块（手机，字大不挤）/ 8 连排（电脑），有事直接标数字 */



.sl-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }



.sl-slots.few { grid-template-columns: repeat(2, 1fr); }



.sl-slots.n1 { grid-template-columns: 1fr; }



.slot-chip { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 46px; padding: 7px 4px 6px; border-radius: 10px; border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.032); color: var(--text); font-family: inherit; cursor: pointer; transition: all .16s; }



.slot-chip .sc-time { font-size: 13px; font-weight: 700; letter-spacing: -.2px; white-space: nowrap; font-variant-numeric: tabular-nums; }



.slot-chip .sc-sub { font-size: 12px; color: var(--muted); white-space: nowrap; }



.slot-chip .sc-sub i { display: inline-block; margin-left: 3px; padding: 0 4px; border-radius: 6px; background: rgba(248,113,113,.22); color: #fca5a5; font-style: normal; font-weight: 700; }



.slot-chip.live { border-color: rgba(52,211,153,.32); }



.slot-chip.live .sc-time { color: #6ee7b7; }



.slot-chip.past { opacity: .5; }



.slot-chip.empty { background: rgba(255,255,255,.014); border-color: rgba(255,255,255,.05); }



.slot-chip.empty .sc-time { color: rgba(201,188,228,.6); font-weight: 600; }



.slot-chip.empty .sc-sub { color: rgba(154,143,181,.5); }



.slot-chip.on { background: linear-gradient(120deg, rgba(168,85,247,.95), rgba(236,72,153,.8)); border-color: rgba(255,255,255,.18); box-shadow: 0 6px 16px -9px rgba(168,85,247,.95); opacity: 1; }



.slot-chip.on .sc-time { color: #fff; }



.slot-chip.on .sc-sub { color: rgba(255,255,255,.82); }



.slot-chip.on .sc-sub i { background: rgba(255,255,255,.24); color: #fff; }







/* 档头：时间 + 带档 + 人数，右侧进行中 */



.sl-slot-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 15px 0 8px; }



.ssh-l { display: flex; align-items: baseline; gap: 8px; min-width: 0; }



.ssh-l b { font-size: 16px; letter-spacing: .2px; white-space: nowrap; }



.ssh-l span { font-size: 13.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }



.ssh-l .ssh-num { padding-left: 8px; border-left: 1px solid rgba(255,255,255,.14); flex: 0 0 auto; }



.sl-phase { flex: 0 0 auto; padding: 3px 9px; border-radius: 20px; font-size: 12.5px; font-weight: 600; border: 1px solid rgba(255,255,255,.12); color: var(--muted); }



.sl-phase.live { color: #6ee7b7; border-color: rgba(52,211,153,.42); background: rgba(52,211,153,.12); }



.sl-phase.past { color: rgba(201,188,228,.62); }







/* 异常汇总条：有事才出现 */



.sl-ab-row { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; margin-bottom: 9px; }



.sl-ab { padding: 2px 8px; border-radius: 7px; font-size: 12.5px; font-weight: 600; white-space: nowrap; border: 1px solid transparent; }



.sl-ab.leave { color: #fcd34d; background: rgba(251,191,36,.13); border-color: rgba(251,191,36,.3); }



.sl-ab.late { color: #fdba74; background: rgba(251,146,60,.13); border-color: rgba(251,146,60,.3); }



.sl-ab.absent { color: #fca5a5; background: rgba(248,113,113,.14); border-color: rgba(248,113,113,.32); }



.sl-ab.overtime { color: #93c5fd; background: rgba(96,165,250,.13); border-color: rgba(96,165,250,.3); }



.sl-ab.sub { color: #d8b4fe; background: rgba(192,132,252,.14); border-color: rgba(192,132,252,.32); }



.sl-ab-sum { margin-left: auto; font-size: 12.5px; color: rgba(154,143,181,.75); }







/* 人员行：异常彩色、正常弱化，一眼扫到有事的人 */



.sl-list { border-radius: 13px; border: 1px solid rgba(255,255,255,.07); overflow: hidden; }



.sl-row { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; background: transparent; border: 0; border-bottom: 1px solid rgba(255,255,255,.05); color: var(--text); font-family: inherit; text-align: left; cursor: pointer; transition: background .15s; }



.sl-row:last-child { border-bottom: 0; }



.sl-row:active { background: rgba(168,85,247,.16); }



.sl-row.is-lead { background: linear-gradient(90deg, rgba(245,199,106,.09), rgba(245,199,106,.01)); box-shadow: inset 2px 0 0 rgba(245,199,106,.5); }



.sl-seat { flex: 0 0 18px; font-size: 13px; font-weight: 600; color: rgba(201,188,228,.45); text-align: center; }



.sl-row.is-lead .sl-seat { color: var(--gold); }



.sl-who { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 1px; }



.sl-who b { font-size: 16px; font-weight: 600; }



.sl-who i { font-size: 12.5px; font-style: normal; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }



.sl-st { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 20px; font-size: 13px; font-weight: 600; white-space: nowrap; border: 1px solid transparent; }



.sl-st.normal { color: rgba(110,231,183,.6); background: transparent; padding-right: 2px; }



.sl-st.normal::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: rgba(52,211,153,.55); }



.sl-st.leave { color: #fcd34d; background: rgba(251,191,36,.14); border-color: rgba(251,191,36,.32); }



.sl-st.late { color: #fdba74; background: rgba(251,146,60,.14); border-color: rgba(251,146,60,.32); }



.sl-st.absent { color: #fca5a5; background: rgba(248,113,113,.16); border-color: rgba(248,113,113,.36); }



.sl-st.overtime { color: #93c5fd; background: rgba(96,165,250,.14); border-color: rgba(96,165,250,.32); }



.sl-st.sub { color: #d8b4fe; background: rgba(192,132,252,.15); border-color: rgba(192,132,252,.34); }



.sl-tip { margin-top: 10px; font-size: 13px; text-align: center; color: rgba(154,143,181,.7); line-height: 1.5; }



.sl-tip.lock { color: #fcd34d; background: rgba(251,191,36,.08); border: 1px dashed rgba(251,191,36,.26); border-radius: 9px; padding: 7px 10px; }



.sl-badge { flex: 0 0 auto; padding: 3px 9px; border-radius: 20px; font-size: 12.5px; font-weight: 600; border: 1px solid rgba(255,255,255,.12); color: var(--muted); white-space: nowrap; }



.sl-badge.normal { color: #6ee7b7; border-color: rgba(52,211,153,.35); background: rgba(52,211,153,.1); }



.sl-badge.leave { color: #fcd34d; border-color: rgba(251,191,36,.35); background: rgba(251,191,36,.1); }



.sl-badge.late { color: #fdba74; border-color: rgba(251,146,60,.35); background: rgba(251,146,60,.1); }



.sl-badge.absent { color: #fca5a5; border-color: rgba(248,113,113,.4); background: rgba(248,113,113,.12); }



.sl-badge.overtime { color: #93c5fd; border-color: rgba(96,165,250,.35); background: rgba(96,165,250,.1); }



.sl-badge.sub { color: #d8b4fe; border-color: rgba(192,132,252,.35); background: rgba(192,132,252,.12); }



.sl-badge.unset { color: rgba(201,188,228,.55); }



.sl-badge.more { color: var(--muted); background: transparent; }







.status-picker { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }



.status-opt { padding: 10px 6px; border-radius: 11px; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.04); color: var(--text); font-family: inherit; font-size: 14px; font-weight: 600; cursor: pointer; transition: all .15s; }



.status-opt:active { transform: scale(.97); }



.status-opt.on { border-color: rgba(255,255,255,.22); }



.status-opt.on.normal { background: rgba(52,211,153,.2); border-color: rgba(52,211,153,.55); color: #6ee7b7; }



.status-opt.on.leave { background: rgba(251,191,36,.18); border-color: rgba(251,191,36,.5); color: #fcd34d; }



.status-opt.on.late { background: rgba(251,146,60,.18); border-color: rgba(251,146,60,.5); color: #fdba74; }



.status-opt.on.absent { background: rgba(248,113,113,.18); border-color: rgba(248,113,113,.5); color: #fca5a5; }



.status-opt.on.overtime { background: rgba(96,165,250,.18); border-color: rgba(96,165,250,.5); color: #93c5fd; }



.status-opt.on.sub { background: rgba(192,132,252,.18); border-color: rgba(192,132,252,.5); color: #d8b4fe; }



.sl-sub-box { margin-top: 10px; }



.sl-note-input { margin-top: 10px; resize: vertical; min-height: 56px; }







.sl-readonly { display: flex; flex-direction: column; gap: 10px; padding: 4px 0 6px; }



.sl-ro-line { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 10px; background: rgba(255,255,255,.04); font-size: 14px; }



.sl-ro-line span { color: var(--muted); }



.sl-ro-tip { font-size: 13px; color: var(--muted); }







/* 档位一览（本档情况底部 / 看板今日各档共用） */



.ov-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 9px; }



.ov-head h3 { margin: 0; font-size: 15.5px; }



.ov-head .muted { font-size: 12.5px; text-align: right; }



.ov-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }



.ov-cell { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; padding: 8px 10px; border-radius: 11px; background: rgba(255,255,255,.032); border: 1px solid rgba(255,255,255,.07); color: var(--text); font-family: inherit; text-align: left; cursor: pointer; transition: all .15s; }



.ov-cell:hover { border-color: rgba(168,85,247,.4); }



.ov-cell.on { border-color: rgba(168,85,247,.6); background: rgba(168,85,247,.14); }



.ov-t { display: flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 700; color: #cbbfe6; }



.ov-live { width: 5px; height: 5px; border-radius: 50%; background: #34d399; box-shadow: 0 0 7px rgba(52,211,153,.9); }



.ov-n { display: flex; align-items: baseline; gap: 5px; max-width: 100%; font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; }



.ov-n em { font-style: normal; font-weight: 500; color: var(--muted); }



.ov-hall { flex: 0 0 auto; font-style: normal; font-size: 12px; font-weight: 400; color: rgba(154,143,181,.8); }



.ov-s { font-size: 12px; color: rgba(110,231,183,.7); }



.ov-s.bad { color: #fca5a5; font-weight: 600; }



.ov-empty { margin-top: 9px; font-size: 12.5px; color: rgba(154,143,181,.62); }



.stat-chip.warn { color: #fca5a5; border-color: rgba(248,113,113,.35); background: rgba(248,113,113,.1); }







/* ==================== 看板 ==================== */



.dash-hero { position: relative; overflow: hidden; padding: 16px 17px 13px; margin-bottom: 13px; border-radius: 18px; border: 1px solid rgba(168,85,247,.3); background: linear-gradient(150deg, rgba(88,28,135,.5), rgba(30,17,48,.92) 58%, rgba(18,11,29,.96)); box-shadow: 0 16px 40px -24px rgba(0,0,0,.95), inset 0 1px 0 rgba(255,255,255,.07); }



.dash-hero::after { content: ''; position: absolute; right: -50px; top: -80px; width: 210px; height: 210px; border-radius: 50%; background: radial-gradient(closest-side, rgba(236,72,153,.34), transparent); pointer-events: none; }



.dh-row { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 10px; }



.dh-date { font-size: 13px; letter-spacing: .3px; color: rgba(233,213,255,.78); }



.dh-live { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; color: rgba(201,188,228,.62); }



.dh-live i { width: 6px; height: 6px; border-radius: 50%; background: rgba(201,188,228,.35); }



.dh-live.on { color: #6ee7b7; }



.dh-live.on i { background: #34d399; box-shadow: 0 0 0 3px rgba(52,211,153,.14), 0 0 10px rgba(52,211,153,.85); }



.dh-amount { position: relative; margin-top: 7px; font-size: 33px; font-weight: 800; line-height: 1.05; letter-spacing: .5px; background: linear-gradient(100deg, #fff 10%, #f5c76a 78%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }



.dh-cap { margin-top: 3px; font-size: 12.5px; color: rgba(201,188,228,.62); }



.dh-kpis { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 13px; border-radius: 12px; overflow: hidden; background: rgba(255,255,255,.08); }



.dh-kpi { display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 8px 4px; border: 0; background: rgba(16,10,26,.55); color: var(--text); font-family: inherit; cursor: pointer; transition: background .15s; }



.dh-kpi:hover { background: rgba(168,85,247,.18); }



.dh-kpi b { font-size: 18px; font-weight: 700; color: #f0e8ff; line-height: 1.2; }



.dh-kpi b.k-orange { color: #fcd34d; }



.dh-kpi span { font-size: 12px; color: rgba(201,188,228,.66); white-space: nowrap; }







.dash-cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin-bottom: 13px; }



.dcat { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; padding: 10px 11px; border-radius: 13px; border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.04); color: var(--text); font-family: inherit; text-align: left; cursor: pointer; transition: all .16s; }



.dcat:hover { border-color: rgba(168,85,247,.4); background: rgba(168,85,247,.1); }



.dcat-top { display: flex; align-items: center; gap: 4px; font-size: 12.5px; color: rgba(201,188,228,.85); white-space: nowrap; }



.dcat-ic { font-style: normal; }



.dcat-amt { font-size: 16.5px; font-weight: 700; color: var(--success); letter-spacing: .2px; }



.dcat-pend { margin-left: 2px; padding: 0 5px; border-radius: 5px; font-style: normal; font-size: 12px; font-weight: 600; background: rgba(255,255,255,.06); color: rgba(154,143,181,.7); }



.dcat-pend.on { background: rgba(251,191,36,.16); color: #fcd34d; }







.dash-today { padding: 15px 15px 14px; }



.dt-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 10px; }



.dt-head h3 { margin: 0; font-size: 16px; }



.dt-head .muted { font-size: 12.5px; text-align: right; }



.dt-bad { font-style: normal; color: #fca5a5; }



.dt-ab { margin-top: 9px; font-size: 12.5px; color: rgba(201,188,228,.66); }







.quick-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }



.qb { display: flex; align-items: center; justify-content: center; gap: 5px; padding: 10px 6px; border-radius: 12px; border: 1px solid rgba(245,199,106,.26); background: rgba(245,199,106,.07); color: var(--gold); font-family: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; transition: all .15s; }



.qb:hover { background: rgba(245,199,106,.16); }



.qb i { font-style: normal; min-width: 16px; padding: 0 4px; border-radius: 8px; background: rgba(245,199,106,.22); font-size: 12px; }







@media (min-width: 780px) {



  .sl-datebar { max-width: 560px; margin-left: auto; margin-right: auto; }



  .sl-slots { grid-template-columns: repeat(8, 1fr); }



  .sl-slots.few { grid-template-columns: repeat(4, 1fr); }



  .sl-slots.n1 { grid-template-columns: repeat(4, 1fr); }



  .slot-chip { min-height: 52px; }



  .slot-chip .sc-time { font-size: 14px; }



  .slot-chip .sc-sub { font-size: 12.5px; }



  /* 宽屏人员列表两列，别让名字和状态隔太远 */



  .sl-list { display: grid; grid-template-columns: 1fr 1fr; }



  .sl-row { padding: 11px 14px; border-right: 1px solid rgba(255,255,255,.05); }



  .sl-row:nth-child(even) { border-right: 0; }



  .ov-grid { grid-template-columns: repeat(4, 1fr); gap: 8px; }



  .ov-cell { padding: 9px 12px; }



  .dash-cats { gap: 10px; }



  /* 宽屏三板块横排：名称在左、金额右对齐，三张卡一眼可比 */



  .dcat { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px; padding: 12px 15px; }



  .dcat-pend { margin-left: 7px; padding: 1px 6px; font-size: 12px; }



  .dcat-amt { justify-self: end; font-size: 19px; }



  .dh-amount { font-size: 40px; }



  .dh-kpi b { font-size: 20px; }



}



@media (min-width: 1280px) {



  .dash-hero { padding: 22px 24px 18px; }



  .dh-amount { font-size: 44px; }



  .dh-kpi b { font-size: 21px; }



  .dh-kpi span { font-size: 12.5px; }



}







/* 排档格子上的异常小点 */



.sched-cell { position: relative; }



/* 本档情况有变动时，排档格子上打出状态角标（1 个字）+ 左侧色条 + 淡底 */



.cell-flag { display: inline-block; margin-left: 3px; padding: 0 4px; height: 15px; line-height: 15px; border-radius: 4px; font-size: 10px; font-weight: 800; letter-spacing: 0; color: #1a1320; vertical-align: 1px; white-space: nowrap; }



.cell-flag.f-leave { background: #fbbf24; }



.cell-flag.f-late { background: #fb923c; }



.cell-flag.f-absent { background: #ef4444; color: #fff; }



.cell-flag.f-overtime { background: #60a5fa; }



.cell-flag.f-sub { background: #c084fc; }



.cell-flag.f-black_mic { background: #fb7185; }



.cell-flag.f-drop_mic { background: #e11d48; color: #fff; }







/* 左侧色条：扫一眼就能看出哪格有问题，颜色和角标一致 */



.sched-cell[class*="st-"]::after { content: ''; position: absolute; left: 1px; top: 5px; bottom: 5px; width: 3px; border-radius: 2px; }



.sched-cell.st-leave::after { background: #fbbf24; }



.sched-cell.st-late::after { background: #fb923c; }



.sched-cell.st-absent::after { background: #f87171; }



.sched-cell.st-sub::after { background: #c084fc; }



.sched-cell.st-black_mic::after { background: #fb7185; }



.sched-cell.st-drop_mic::after { background: #f43f5e; }







.sched-cell.st-leave { background: rgba(251,191,36,.12); }



.sched-cell.st-late { background: rgba(251,146,60,.12); }



.sched-cell.st-absent { background: rgba(248,113,113,.16); color: #fecaca; }



.sched-cell.st-sub { background: rgba(192,132,252,.14); }



.sched-cell.st-black_mic { background: rgba(251,113,133,.14); }



.sched-cell.st-drop_mic { background: rgba(244,63,94,.18); color: #fecdd3; }







/* 窄屏手机：顶栏品牌给用户信息让位，避免标题被裁 */



@media (max-width: 380px) {



  .app-header { padding: 11px 12px; }



  .app-header .brand img { width: 30px; height: 30px; }



  .app-header h1 { font-size: 16px; letter-spacing: 2px; }



  .app-header .brand-sub { display: none; }



  .user-chip { gap: 4px; font-size: 13px; }



  .user-chip .role-badge { padding: 2px 6px; font-size: 12px; }



  .logout-btn { padding: 5px 7px; font-size: 12.5px; }



  table.sched-grid th.tcol { width: 80px; min-width: 80px; }



  /* 窄屏：日期条、底部导航再收一点，避免文字被裁或换行 */



  .date-chip { padding: 6px 10px; }



  .date-chip .dc-day { font-size: 16px; }



  .date-chip .dc-meta { font-size: 12.5px; }



  .dn-arrow { width: 30px; height: 30px; font-size: 17px; }



  .pill-btn { padding: 0 10px; font-size: 13px; }



  .sl-nav { width: 30px; height: 30px; font-size: 16px; }



  .sl-date-chip { padding: 6px 8px; gap: 5px; }



  .sl-date-chip b { font-size: 14.5px; }



  .sl-date-chip span { font-size: 12.5px; }



  .sl-date-chip .sl-wd { display: none; }



  .sl-today { padding: 0 9px; font-size: 12.5px; }



  .nav-item { font-size: 12px; letter-spacing: 0; padding: 7px 1px; }



  /* 窄屏：看板底部三个快捷按钮挤成两行，收一档字号并禁止换行 */



  .quick-row { gap: 5px; }



  .qb { padding: 9px 4px; gap: 3px; font-size: 12.5px; white-space: nowrap; }



  .qb span { font-size: 13px; }



  .qb i { min-width: 14px; padding: 0 3px; font-size: 11px; }



  /* 窄屏：顶栏「东北疯」被用户区挤到只剩两个字，收一下两边 */



  .app-header { padding-left: 10px; padding-right: 10px; }



  .app-header .top-row { gap: 6px; }



  .app-header .brand { gap: 7px; }



  .app-header h1 { font-size: 15px; letter-spacing: 1px; }



  .user-chip { gap: 3px; }



  .user-chip .role-badge { padding: 2px 5px; font-size: 11.5px; }



  .logout-btn { padding: 5px 5px; font-size: 12px; }



  /* 窄屏：档头「18:00-21:00 带档 名字 6 人 + 进行中」要一行放下，否则名字被省略号吃掉 */



  .sl-slot-head { gap: 6px; }



  .ssh-l { gap: 5px; }



  .ssh-l b { font-size: 14.5px; }



  .ssh-l .ssh-num { padding-left: 5px; }



  .sl-phase { font-size: 11.5px; padding: 2px 7px; }



}







/* ---------- 考勤板块（请假/加班/替档/满勤/加班榜） ---------- */



.duty-rule { display: flex; flex-direction: column; gap: 4px; margin: 4px 0 12px; padding: 10px 12px; background: rgba(168,85,247,.07); border: 1px solid rgba(168,85,247,.18); border-radius: 10px; font-size: 13px; color: var(--muted); line-height: 1.55; }



.duty-act { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 4px 0 14px; flex-wrap: wrap; }



.duty-sec { margin-bottom: 18px; }



.duty-sec h4 { margin: 0 0 8px; font-size: 14.5px; color: #e9d5ff; display: flex; align-items: center; gap: 7px; }



.duty-dot { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: linear-gradient(120deg,#f43f5e,#ec4899); color: #fff; font-size: 12px; font-style: normal; font-weight: 700; }







/* ---------- 考勤：顶部指标 / 折叠小节 / 满勤汇总 ---------- */



.duty-kpi { display: flex; flex-wrap: wrap; gap: 8px; margin: 2px 0 12px; }



.duty-kpi .stat-chip { padding: 5px 10px; font-size: 12.5px; }



.duty-kpi .stat-chip b { font-size: 14px; }



/* 一行指标 + 右侧小按钮，替代原来一整块指标卡和大按钮 */



.duty-bar { display: flex; align-items: center; gap: 10px; margin: 2px 0 6px; }



.duty-meta { flex: 1 1 auto; min-width: 0; font-size: 12.5px; color: var(--muted); line-height: 1.55; }



.duty-meta b { font-size: 14px; color: #e9d5ff; }



.duty-alert { color: #fda4af; font-weight: 700; }



.duty-bar .btn { flex: 0 0 auto; width: auto; padding: 7px 13px; font-size: 13px; }



.duty-sum { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; padding: 9px 12px; margin: 0 0 10px; border-radius: 10px; background: rgba(52, 211, 153, .08); border: 1px solid rgba(52, 211, 153, .22); font-size: 13.5px; color: #d1fae5; }



.duty-sum b { font-size: 18px; color: #6ee7b7; }



.fold { margin-bottom: 14px; }



.fold-hd { display: flex; align-items: center; gap: 8px; width: 100%; padding: 7px 2px; background: none; border: 0; color: inherit; font: inherit; cursor: pointer; text-align: left; }



.fold-title { display: flex; align-items: center; gap: 7px; font-size: 14.5px; font-weight: 700; color: #e9d5ff; }



.fold-hint { font-size: 12px; color: #b9a8e8; }



.form-hint { font-size: 12px; color: var(--muted); margin-top: 5px; line-height: 1.5; }



.fold-ar { margin-left: auto; flex: 0 0 auto; font-size: 19px; line-height: 1; color: var(--muted); transition: transform .15s ease; }



.fold.open .fold-ar { transform: rotate(90deg); }



.fold-bd { padding-top: 2px; }



.fold-bd[hidden] { display: none; }



.duty-item { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 4px; border-radius: 8px; }



.duty-item .record-main { flex: 1; min-width: 0; }



.duty-item .btn-group { flex-shrink: 0; }



.duty-item { padding: 10px 0; gap: 8px; }



.duty-item .record-title { font-size: 14.5px; line-height: 1.45; }



.duty-item .record-sub { font-size: 12.5px; margin-top: 2px; }



.duty-item .btn-group { margin-top: 0; flex-wrap: nowrap; align-items: center; }



.duty-item .btn-sm { padding: 5px 10px; font-size: 12.5px; }



.duty-item .record-sub .tag { margin-right: 5px; font-size: 11px; padding: 1px 6px; vertical-align: 1px; }



.duty-month { margin: 4px 0 14px; }



.duty-month input { max-width: 180px; }



.rank-medal { font-size: 22px; width: 34px; text-align: center; flex-shrink: 0; }



.rank-prize { color: var(--gold); font-weight: 700; white-space: nowrap; }



@media (max-width: 480px) {



  .seg-tabs { display: flex; overflow-x: auto; }



  .seg-tabs button { flex: 1; padding: 7px 8px; font-size: 13.5px; }



}



.stat-card .num.red { color: #fda4af; text-shadow: 0 0 20px rgba(251, 113, 133, 0.35); }







/* 窄屏：4 字标题「东北传媒」放不下时，隐藏顶栏「密码」按钮（我的页里有同款入口） */



@media (max-width: 560px) {



  .user-chip .pwd-btn { display: none; }



  .app-header .brand-sub { font-size: 10.5px; letter-spacing: 1.5px; }



}







/* 窄屏：6 个 tab 的 4 字标签放不下会断成两行，收字号并禁止换行 */



@media (max-width: 430px) {



  .nav-item { font-size: 11px; letter-spacing: 0; white-space: nowrap; padding: 6px 1px; }



  .nav-item .ni { font-size: 18px; }



}







/* 窄屏：格子只有 60px 宽，名字+角标横排放不下会被裁，改竖排两行 */



@media (max-width: 640px) {



  .sched-cell { flex-direction: column; gap: 1px; padding: 3px 2px; font-size: 12.5px; }



  .sched-cell .cell-flag { margin-left: 0; height: 13px; line-height: 13px; padding: 0 3px; font-size: 9px; }



}







/* 成员管理：搜索框 + 身份筛选并排 */



.emp-filter { display: flex; gap: 8px; margin-bottom: 10px; }



.emp-filter input.form-control { flex: 1 1 auto; min-width: 0; }



.emp-filter select.form-control { flex: 0 0 auto; width: 118px; padding-right: 4px; }



.emp-online-tabs { margin: -2px 0 10px; gap: 8px; }



.emp-online-tabs .chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; font-size: 13px; }



.emp-online-tabs .chip b { font-weight: 700; }



/* 顶栏「厅规」用图标，避免挤压品牌名 */



.app-header .rules-btn { padding: 5px 7px; font-size: 15px; line-height: 1; }



@media (max-width: 420px) {



  .app-header h1 { font-size: 17px; letter-spacing: 1px; }



}



/* 工资表导出：复选筛选项 */



.pay-check { display: flex; align-items: flex-start; gap: 8px; margin: 10px 0; font-size: 13.5px; color: #e9d5ff; line-height: 1.5; cursor: pointer; }



.pay-check input { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 1px; accent-color: #a855f7; }



/* 厅规页 */



.rules-list { display: grid; gap: 8px; font-size: 13.5px; line-height: 1.75; color: #e9e3f5; }



.rules-list b { display: inline-block; min-width: 76px; color: #f5c76a; font-weight: 700; }



.rules-ul { margin: 0; padding-left: 18px; font-size: 13.5px; line-height: 1.85; color: #e9e3f5; }



.rules-ul li { margin-bottom: 4px; }



.rules-ul b { color: #fcd34d; }



.rules-eg { margin: 6px 0 2px; padding: 8px 10px; border-radius: 8px; background: rgba(255, 255, 255, .05); font-size: 12.5px; color: #cfc7de; line-height: 1.7; }



.rules-tip { margin-top: 10px; padding: 8px 10px; border-radius: 8px; background: rgba(245, 199, 106, .10); border: 1px solid rgba(245, 199, 106, .22); font-size: 12.5px; color: #f5d9a0; line-height: 1.7; }



.rules-table { width: 100%; border-collapse: collapse; font-size: 13px; }



.rules-table th, .rules-table td { padding: 8px 6px; border-bottom: 1px solid rgba(255, 255, 255, .08); text-align: left; vertical-align: top; line-height: 1.6; }



.rules-table th { color: #b9a8e8; font-weight: 600; font-size: 12.5px; }



.rules-table td:last-child { color: #fca5a5; }


/* 版权风险歌曲列表 */


.dt-head { flex-wrap: wrap; row-gap: 4px; }
.dt-head h3 { flex: 0 0 auto; white-space: nowrap; }
.fp-list { margin-bottom: 4px; }
.fp-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px dashed rgba(255, 255, 255, .08); }
.fp-row:last-child { border-bottom: 0; }
.fp-name { flex: 1; min-width: 0; font-size: 13px; line-height: 1.55; color: #e9e3f5; }
.fp-name span { display: block; margin-top: 1px; font-size: 11.5px; color: #8b7fa8; }
.fp-amt { flex: 0 0 auto; font-size: 13.5px; font-weight: 700; color: #fca5a5; white-space: nowrap; padding-top: 1px; }
.fine-bullets { margin: 0; padding-left: 18px; font-size: 13px; line-height: 1.8; color: #e9e3f5; }
.fine-bullets li { margin-bottom: 6px; }
.fine-bullets b { color: #fff; font-weight: 600; }
.fine-more { margin-top: 14px; padding-top: 10px; border-top: 1px dashed rgba(255, 255, 255, .1); }
.fine-more summary { cursor: pointer; font-size: 12.5px; color: #b9a8e8; list-style: none; }
.fine-more summary::-webkit-details-marker { display: none; }
.fine-more summary::before { content: '▸ '; color: #8b7fa8; }
.fine-more[open] summary::before { content: '▾ '; }
.fine-more summary:hover { color: #f5c76a; }
.fine-more .fine-gh:first-of-type { margin-top: 12px; }
.qr-link { color: #f5c76a; border-bottom: 1px dashed rgba(245, 199, 106, .5); cursor: pointer; }
.qr-box { display: flex; justify-content: center; }
.qr-box img { width: 240px; max-width: 68vw; height: auto; display: block; border-radius: 12px; background: #fff; padding: 8px; }
.qr-id { margin-top: 10px; display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 13px; color: #b9a8e8; letter-spacing: .02em; }
.qr-copy { padding: 4px 10px; font-size: 12px; }
.tool-list { display: grid; gap: 8px; }
.tool-item { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .06); }
.tool-main { flex: 1; min-width: 0; }
.tool-main b { display: block; font-size: 14px; color: #f4efff; font-weight: 600; }
.tool-main span { display: block; font-size: 11.5px; color: #8b7fa8; }
.tool-item .btn { flex: 0 0 auto; width: auto; padding-left: 14px; padding-right: 14px; }
.dl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dl-card { padding: 8px; border-radius: 12px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .06); text-align: center; }
.dl-thumb { display: block; }
.dl-thumb img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 9px; }
.dl-name { margin: 8px 0 2px; font-size: 13px; font-weight: 600; color: #f4efff; }
.dl-size { font-size: 11.5px; color: #8b7fa8; margin-bottom: 8px; }
.dl-btn { width: 100%; }
@media (max-width: 360px) { .dl-grid { grid-template-columns: 1fr; } }
.hs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.hs-card { padding: 10px 11px; border-radius: 12px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .06); }
.hs-h { font-size: 12.5px; font-weight: 600; color: #f5c76a; margin-bottom: 6px; }
.hs-row { display: flex; align-items: baseline; justify-content: space-between; gap: 6px; padding: 3px 0; font-size: 12.5px; color: #b9a8e8; }
.hs-row b { color: #f4efff; font-weight: 600; text-align: right; }
.hs-row b.green { color: #86efac; }
.hs-row b.orange { color: #fdba74; }
.hs-row b.red { color: #fca5a5; }
.hs-note { margin-top: 8px; font-size: 11.5px; color: #8b7fa8; line-height: 1.6; }
.ab-list { display: grid; gap: 6px; margin-top: 8px; }
.ab-item { display: flex; align-items: center; gap: 8px; width: 100%; padding: 8px 10px; border-radius: 10px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .06); color: inherit; font: inherit; text-align: left; }
.ab-item b { font-size: 13px; color: #f4efff; font-weight: 600; }
.ab-item span { flex: 1; min-width: 0; font-size: 11.5px; color: #b9a8e8; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ab-item em { font-style: normal; font-size: 11.5px; padding: 2px 7px; border-radius: 999px; background: rgba(251, 113, 133, .16); color: #fda4af; }
.ab-item em.late { background: rgba(251, 191, 36, .16); color: #fcd34d; }
.ab-item em.absent { background: rgba(244, 63, 94, .2); color: #fecdd3; }
.ab-item em.leave { background: rgba(250, 204, 21, .14); color: #fde68a; }
.ab-item em.sub { background: rgba(192, 132, 252, .18); color: #d8b4fe; }
.ab-item em.overtime { background: rgba(96, 165, 250, .18); color: #bfdbfe; }
@media (max-width: 360px) { .hs-grid { grid-template-columns: 1fr; } }
.cycle-line { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 6px; margin: 10px 0 0; font-size: 11.5px; color: #8b7fa8; letter-spacing: .02em; }
.cycle-line span.on { color: #f5c76a; font-weight: 600; }
.cycle-line i { font-style: normal; color: #5f5470; }
.cycle-tag { display: inline-block; margin-left: 4px; padding: 1px 7px; border-radius: 999px; background: rgba(245, 199, 106, .14); color: #f5c76a; font-size: 11.5px; font-weight: 500; vertical-align: 2px; }
.fine-gh { display: flex; align-items: center; gap: 8px; margin: 16px 0 8px; font-size: 12.5px; font-weight: 600; color: #b9a8e8; letter-spacing: .04em; }
.fine-gh:first-of-type { margin-top: 4px; }
.fine-gh span { font-weight: 400; color: #8b7fa8; font-size: 11.5px; }
.fine-gh::after { content: ''; flex: 1; height: 1px; background: rgba(255, 255, 255, .08); }
.fine-list { list-style: none; margin: 0; padding: 0; font-size: 13px; line-height: 1.75; color: #e9e3f5; }
.fine-list li { position: relative; margin-bottom: 7px; padding: 9px 11px 9px 38px; border-radius: 10px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .05); }
.fine-list li::before { content: attr(data-n); position: absolute; left: 9px; top: 9px; width: 20px; height: 20px; border-radius: 50%; background: rgba(245, 199, 106, .16); color: #f5c76a; font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.fl-t { font-weight: 600; color: #fff; }
.fl-amt { color: #fca5a5; font-weight: 700; }
.rules-note { margin-top: 10px; padding: 9px 11px; border-radius: 8px; background: rgba(255, 255, 255, .05); font-size: 12.5px; color: #cfc7de; line-height: 1.75; }
.rules-warn { margin: 0 0 10px; padding: 9px 11px; border-radius: 8px; background: rgba(244, 63, 94, .12); border: 1px solid rgba(244, 63, 94, .3); color: #fecdd3; font-size: 12.5px; line-height: 1.7; }

.ban-list { max-height: 46vh; overflow: auto; border-top: 1px solid rgba(255, 255, 255, .07); -webkit-overflow-scrolling: touch; }


.ban-item { display: flex; align-items: baseline; gap: 8px; padding: 8px 2px; border-bottom: 1px solid rgba(255, 255, 255, .06); font-size: 13px; line-height: 1.5; }


.ban-item b { flex: 0 1 auto; font-weight: 600; color: #f4efff; }


.ban-item span { flex: 1 1 auto; min-width: 0; color: #b9a8e8; font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }


.ban-item .ban-batch { flex: 0 0 auto; font-style: normal; color: #f5c76a; font-size: 11.5px; opacity: .8; }



@media (max-width: 430px) {



  .emp-filter select.form-control { width: 104px; font-size: 13.5px; }



}







/* ============ 成员详情页 ============ */



.md-back { margin-bottom: 12px; }



.md-link { cursor: pointer; display: inline-flex; align-items: center; gap: 3px; transition: color .15s; }



.md-link:hover { color: var(--gold); }



.md-arrow { color: var(--gold); font-size: 17px; line-height: 1; opacity: .75; }



.md-name { font-size: 20px; font-weight: 700; margin-bottom: 8px; letter-spacing: .5px; }



.md-sub { font-size: 13px; color: var(--muted); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }



/* 成员详情：本周/本月排档时长 */



.md-hours { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }



.md-hours > div { padding: 9px 12px; border-radius: 10px; background: rgba(245, 199, 106, .08); border: 1px solid rgba(245, 199, 106, .22); }



.md-hours .mh-t { display: block; font-size: 11.5px; color: var(--muted); }



.md-hours .mh-v { font-size: 21px; font-weight: 700; color: var(--gold); line-height: 1.2; margin-top: 1px; }



.md-hours .mh-v em { font-style: normal; font-size: 11.5px; font-weight: 400; color: var(--muted); margin-left: 3px; }



.md-hours .mh-s { display: block; font-size: 11px; color: var(--muted); margin-top: 1px; }



.md-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 14px; }



.md-stats > div { text-align: center; padding: 10px 4px; background: rgba(255, 255, 255, .045); border: 1px solid rgba(255, 255, 255, .07); border-radius: 10px; }



.md-stats b { display: block; font-size: 17px; letter-spacing: 0; }



.md-stats span { display: block; font-size: 11.5px; color: var(--muted); margin-top: 3px; }



.md-row { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid rgba(255, 255, 255, .06); }



.md-row:last-child { border-bottom: 0; }



.md-row-l { font-size: 13.5px; color: #ece3ff; }



.md-row-s { font-size: 11.5px; color: var(--muted); margin-top: 2px; line-height: 1.5; }



.md-row-r { font-size: 13.5px; font-weight: 600; color: var(--gold); text-align: right; white-space: nowrap; }



@media (max-width: 430px) {



  .md-stats { grid-template-columns: repeat(2, 1fr); }



  .md-name { font-size: 18px; }



}







.md-note { font-size: 12px; margin-bottom: 8px; line-height: 1.6; }







/* 成员详情入口：名字右侧的金色胶囊，比小箭头醒目 */



.md-chip { display: inline-flex; align-items: center; margin-left: 7px; padding: 1px 8px; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: 0; color: #1a1320; background: linear-gradient(135deg, #f7d488, #e2ab41); box-shadow: 0 1px 6px rgba(245, 199, 106, .35); vertical-align: 2px; white-space: nowrap; }



.record-title:hover .md-chip { background: linear-gradient(135deg, #ffe1a3, #f0bb52); }







/* 加班的人直接占麦位：格子里显示名字 + 「加」小标 */



.sched-cell.ot-filled { background: rgba(96, 165, 250, .16); color: #bfdbfe; font-weight: 600; box-shadow: inset 0 0 0 1.5px rgba(96, 165, 250, .42); }



.ot-badge { display: inline-block; margin-left: 3px; padding: 0 3px; height: 13px; line-height: 13px; border-radius: 4px; font-size: 9px; font-weight: 800; letter-spacing: 0; background: #3b82f6; color: #fff; vertical-align: 1px; }







/* 顶部「系统已更新」提示条 */



.ver-bar { position: fixed; left: 50%; transform: translateX(-50%); top: 12px; z-index: 99999; display: flex; align-items: center; gap: 8px; padding: 9px 15px; border-radius: 999px; font-size: 13.5px; font-weight: 800; letter-spacing: 0; color: #1a1320; background: linear-gradient(135deg, #f7d488, #e2ab41); box-shadow: 0 8px 26px rgba(0,0,0,.5); cursor: pointer; white-space: nowrap; animation: verIn .25s ease-out; }



.ver-bar span { padding: 2px 9px; border-radius: 999px; background: rgba(26,19,32,.85); color: #f7d488; font-size: 12.5px; }



@keyframes verIn { from { opacity: 0; transform: translate(-50%, -10px); } to { opacity: 1; transform: translate(-50%, 0); } }







/* 本档情况：加班的人跟正常排档同一行样式，只多一个「加班」小标 */



.sl-row.is-ot .sl-seat { color: #93c5fd; }



.sl-row.is-ot .sl-who b { color: #bfdbfe; }



.sl-ot-tag { display: inline-block; margin-left: 6px; padding: 0 5px; height: 15px; line-height: 15px; border-radius: 4px; font-size: 9.5px; font-weight: 800; letter-spacing: 0; color: #fff; background: #3b82f6; vertical-align: 2px; white-space: nowrap; }



/* 周视图：加班数小标 */



.wk-ot { display: inline-block; margin-left: 3px; padding: 0 3px; border-radius: 3px; font-size: 9px; font-style: normal; font-weight: 800; letter-spacing: 0; color: #bfdbfe; background: rgba(59,130,246,.35); vertical-align: 1px; }



/* 我的档列表：加班标签 */



.slot-tag.ot { color: #bfdbfe; background: rgba(59,130,246,.2); border-color: rgba(96,165,250,.45); }







/* 本档情况时段格里的「N加」小标 */



.sc-ot { font-style: normal; font-size: 9.5px; font-weight: 800; letter-spacing: 0; color: #93c5fd; margin-left: 2px; }







/* 看板各档卡片：带档位是加班的人时的小标 */



.ov-ot { display: inline-block; margin-left: 4px; padding: 0 4px; border-radius: 3px; font-size: 9px; font-style: normal; font-weight: 800; letter-spacing: 0; color: #fff; background: #3b82f6; vertical-align: 1px; }







/* 请假弹层：多选列表 */



.lv-list { max-height: 232px; overflow-y: auto; border: 1px solid rgba(255,255,255,.09); border-radius: 10px; padding: 4px; }



.lv-pick { display: flex; align-items: center; gap: 9px; padding: 9px 8px; border-radius: 8px; cursor: pointer; }



.lv-pick + .lv-pick { border-top: 1px solid rgba(255,255,255,.05); }



.lv-pick.on { background: rgba(168,85,247,.14); }



.lv-ck { position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none; }



.lv-ck-box { flex: 0 0 18px; width: 18px; height: 18px; border-radius: 5px; border: 1.5px solid rgba(255,255,255,.25); background: rgba(255,255,255,.04); position: relative; }



.lv-pick.on .lv-ck-box { background: linear-gradient(135deg,#a855f7,#7c3aed); border-color: transparent; }



.lv-pick.on .lv-ck-box::after { content: ''; position: absolute; left: 5px; top: 2px; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }



.lv-txt { display: flex; flex-direction: column; gap: 1px; min-width: 0; }



.lv-txt b { font-size: 14px; font-weight: 600; }



.lv-txt i { font-size: 12px; font-style: normal; color: var(--muted); }



.lv-count { font-size: 12.5px; color: var(--muted); margin-top: 7px; }



/* 请假弹层：按天分组，勾「整天」= 这一天两个厅的档一起请 */



.lv-day { border-radius: 9px; }



.lv-day + .lv-day { margin-top: 4px; border-top: 1px solid rgba(255,255,255,.07); }



.lv-day-hd { display: flex; align-items: center; gap: 9px; padding: 8px 8px 4px; cursor: pointer; }



.lv-day-ck { position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none; }



.lv-day-box { flex: 0 0 18px; width: 18px; height: 18px; border-radius: 5px; border: 1.5px solid rgba(245,199,106,.45); background: rgba(245,199,106,.08); position: relative; }



.lv-day-ck:checked ~ .lv-day-box { background: linear-gradient(135deg,#f5c76a,#e0a63c); border-color: transparent; }



.lv-day-ck:checked ~ .lv-day-box::after { content: ''; position: absolute; left: 5px; top: 2px; width: 5px; height: 9px; border: solid #1a1320; border-width: 0 2px 2px 0; transform: rotate(45deg); }



.lv-day-ck:indeterminate ~ .lv-day-box { background: rgba(245,199,106,.45); border-color: transparent; }



.lv-day-ck:indeterminate ~ .lv-day-box::after { content: ''; position: absolute; left: 4px; top: 7px; width: 8px; height: 2px; background: #1a1320; border-radius: 1px; }



.lv-day-t { display: flex; flex-direction: column; gap: 1px; min-width: 0; flex: 1 1 auto; }



.lv-day-t b { font-size: 13.5px; font-weight: 700; color: var(--gold); }



.lv-day-t i { font-size: 11.5px; font-style: normal; color: var(--muted); }



.lv-day-tag { flex: 0 0 auto; padding: 1px 6px; border-radius: 5px; font-size: 10.5px; font-weight: 700; letter-spacing: 0; color: #1a1320; background: #f7d488; }



.lv-day .lv-pick { padding-left: 34px; }



.lv-multi { display: inline-block; margin-left: 4px; padding: 0 5px; border-radius: 4px; font-size: 9.5px; font-weight: 800; letter-spacing: 0; color: #1a1320; background: #f7d488; vertical-align: 1px; }



/* 记加班的人员列表框 */



.ot-emp-list { height: auto; padding: 4px; }



.ot-emp-list option { padding: 6px 8px; border-radius: 6px; }



