/* ══════════════════════════════════════
   热顶餐饮 · 员工管理台 UI
   风格：Soft Neumorphism（柔和新拟态）
   参考：neumorphism 设计规范（同色系浮雕 + 暖黄光晕）
   字体：思源黑体 Noto Sans SC（现代人文黑体）
   ══════════════════════════════════════ */

:root {
  /* ── 字体 ── */
  --font-sans: 'Noto Sans SC', 'Source Han Sans SC', 'HarmonyOS Sans SC',
               'MiSans', 'PingFang SC', -apple-system, BlinkMacSystemFont,
               'Microsoft YaHei UI', 'Microsoft YaHei', 'Hiragino Sans GB',
               'Segoe UI', sans-serif;

  /* ── 新拟态基础色系 ── */
  --neo-bg:         #EDEDED;        /* 页面主背景（浅灰白） */
  --neo-surface:     #EDEDDD;        /* 卡片/凸起表面 = 同背景色 */
  --neo-text:        #3D3D3D;        /* 主文字 */
  --neo-text-sub:    #9A9A9A;        /* 次要文字 */
  --neo-text-muted:  #BDBDBD;       /* 弱化文字 */

  /* ── 新拟态阴影（核心） ── */
  /* 凸起/ Raised */
  --neo-raised:
    7px 7px 14px rgba(0,0,0,.07),
    -7px -7px 14px rgba(255,255,255,.85);
  --neo-raised-sm:
    4px 4px 8px rgba(0,0,0,.05),
    -4px -4px 8px rgba(255,255,255,.82);
  --neo-raised-hover:
    9px 9px 18px rgba(0,0,0,.09),
    -9px -9px 18px rgba(255,255,255,.88);
  /* 凹陷 / Inset */
  --neo-inset:
    inset 4px 4px 8px rgba(0,0,0,.06),
    inset -4px -4px 8px rgba(255,255,255,.88);
  --neo-inset-deep:
    inset 5px 5px 10px rgba(0,0,0,.08),
    inset -5px -5px 10px rgba(255,255,255,.90);

  /* ── 强调色（严格参照参考图 color palette：黄+橙+灰，无红无黑） ── */
  --accent-gold:     #E8C84B;       /* 主强调 — 柔和金黄（soft） */
  --accent-gold-light: rgba(232,200,75,.18);
  --accent-gold-glow:   rgba(232,200,75,.50);
  --accent-amber:    #E0A840;       /* 次强调 — 琥珀橙（minimal） */
  --accent-amber-light: rgba(224,168,64,.16);
  --accent-amber-glow:  rgba(224,168,64,.45);
  --accent-warm:     #D4A035;       /* 深琥珀（tactile 按钮用） */
  --accent-deep:     #5A5A5A;       /* 深灰（替代黑色） */
  --accent-mid:      #888888;       /* 中灰（替代暗色） */

  /* ── 侧边栏（浅色新拟态，与主区统一） ── */
  --sidebar-bg: #EDEDED;
  --sidebar-text: var(--neo-text-sub);
  --sidebar-text-active: var(--neo-text);
  --sidebar-hover: rgba(0,0,0,.03);

  /* ── 圆角 & 间距 ── */
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 26px;
  --radius-full: 50px;
  --sidebar-w: 260px;

  /* ── 动画 ── */
  --transition: .25s cubic-bezier(.4,0,.2,1);
  --ease: .3s ease;
}

/* ═══ Reset & Base ═══ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-sans);
  background: var(--neo-bg);
  color: var(--neo-text);
  line-height: 1.6;
  min-height: 100vh;
}
a { text-decoration: none; color: inherit; }
input, select, textarea, button { font-family: inherit; font-size: inherit; }

/* ══════════════════════════════════════
   登录页 — Soft Neumorphism
   ══════════════════════════════════════ */
.login-page {
  display: flex; align-items: center; justify-content: center;
  min-height: 100vh;
  background: var(--neo-bg);
}
.login-card {
  background: var(--neo-bg);
  border-radius: var(--radius-xl);
  padding: 48px 44px 40px;
  width: 380px;
  box-shadow: var(--neo-raised);
  text-align: center;
}
.login-title {
  font-size: 27px; font-weight: 700; margin-bottom: 6px;
  color: var(--neo-text); letter-spacing: 10px;
  line-height: 1.3;
}
.login-sub {
  color: var(--neo-text-sub); font-size: 13px; margin-bottom: 34px;
  font-weight: 400; letter-spacing: .3px;
}

/* 新拟态输入框（内凹） */
.login-input-wrap {
  position: relative;
  margin-bottom: 20px;
}
.login-input-wrap input {
  width: 100%;
  padding: 14px 18px;
  border: none; border-radius: var(--radius-md);
  background: var(--neo-bg);
  color: var(--neo-text);
  font-size: 15px; font-weight: 500; font-family: inherit;
  outline: none;
  box-shadow: var(--neo-inset);
  transition: box-shadow .2s ease;
}
.login-input-wrap input::placeholder {
  color: var(--neo-text-muted);
  font-weight: 500;
}
.login-input-wrap input:focus {
  box-shadow: var(--neo-inset-deep);
}

/* 登录按钮 — 新拟态凸起 + 金色渐变 */
.btn-login {
  width: auto; min-width: 140px;
  padding: 13px 48px;
  margin: 4px auto 0;
  display: inline-block;
  border: none; border-radius: var(--radius-full);
  background: var(--neo-bg);
  color: var(--neo-text);
  font-size: 13px; font-weight: 700;
  letter-spacing: 2px;
  cursor: pointer;
  font-family: inherit;
  box-shadow: var(--neo-raised);
  transition: all .2s ease;
}
.btn-login:hover {
  box-shadow: var(--neo-raised-hover);
  transform: translateY(-1px);
}
.btn-login:active {
  box-shadow: var(--neo-inset);
  transform: translateY(0);
}

/* ═══ 表单控件 — 新拟态 ═══ */
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block; font-size: 14px; font-weight: 550;
  color: var(--neo-text-sub); margin-bottom: 6px;
  text-transform: uppercase; letter-spacing: .5px;
}
.form-group label .req { color: #E07850; }
.remember-row {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 18px; font-size: 13px; color: var(--neo-text-sub);
}
.remember-row label { font-size: 13px; color: var(--neo-text-sub); }
.remember-row .select-input { width: auto; padding: 6px 10px; font-size: 13px; }

.text-input, .select-input, textarea {
  width: 100%; padding: 12px 18px;
  border: none; border-radius: var(--radius-sm);
  background: var(--neo-bg);
  color: var(--neo-text);
  box-shadow: var(--neo-inset);
  transition: box-shadow var(--transition);
  outline: none; font-size: 15px;
}
.text-input:focus, .select-input:focus, textarea:focus {
  box-shadow: var(--neo-inset-deep);
}
.text-input::placeholder { color: var(--neo-text-muted); }
small { display: block; font-size: 11.5px; color: var(--neo-text-muted); margin-top: 4px; }
.hint { color: var(--neo-text-muted); font-style: normal; }

/* ═══ 按钮 — 新拟态 ═══ */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 11px 22px; border-radius: var(--radius-sm);
  font-size: 14.5px; font-weight: 550; cursor: pointer;
  border: none; transition: all var(--transition);
  white-space: nowrap;
  background: var(--neo-bg);
  color: var(--neo-text);
  box-shadow: var(--neo-raised-sm);
}
.btn:hover {
  box-shadow: var(--neo-raised);
  transform: translateY(-1px);
}
.btn:active { box-shadow: var(--neo-inset); transform: translateY(0); }

.btn-primary {
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-amber));
  color: #fff;
  box-shadow:
    4px 4px 10px rgba(0,0,0,.10),
    -2px -2px 8px rgba(255,255,255,.6);
}
.btn-primary:hover { opacity: .92; transform: translateY(-1px); }
.btn-primary:active { box-shadow: var(--neo-inset); opacity: 1; }

.btn-outline {
  background: var(--neo-bg);
  box-shadow: var(--neo-inset);
  color: var(--neo-text-sub);
}
.btn-outline:hover {
  box-shadow: var(--neo-raised-sm);
  color: var(--neo-text);
}
/* 极简按钮（详情页编辑等 — 去emoji，干净文字） */
.btn-plain {
  background: var(--neo-bg);
  color: var(--neo-text);
  box-shadow: var(--neo-raised-sm);
  font-weight: 550;
  letter-spacing: .5px;
}
.btn-plain:hover {
  box-shadow: var(--neo-raised);
  transform: translateY(-1px);
}
.btn-plain:active { box-shadow: var(--neo-inset); transform: translateY(0); }

.btn-danger {
  background: linear-gradient(135deg, var(--accent-deep), #777);
  color: #fff;
  box-shadow: 4px 4px 10px rgba(90,90,90,.2), -2px -2px 8px rgba(255,255,255,.5);
}
.btn-danger:hover { opacity: .88; }
.btn-block { width: 100%; justify-content: center; }
.btn-sm { padding: 8px 18px; font-size: 14px; border-radius: 10px; }
.btn-link {
  background: none; border: none; box-shadow: none;
  color: var(--neo-text-muted);
  font-size: 13px; cursor: pointer; padding: 4px 8px;
}
.btn-link:hover { color: var(--accent-amber); }

/* ═══ 应用布局 ═══ */
.app { display: flex; min-height: 100vh; }

/* ─── 侧边栏（浅色新拟态） ─── */
.sidebar {
  width: var(--sidebar-w); min-height: 100vh;
  background: var(--sidebar-bg);
  display: flex; flex-direction: column;
  position: fixed; left: 0; top: 0; bottom: 0;
  z-index: 100; border-radius: 0 var(--radius-xl) var(--radius-xl) 0;
  border-right: 1px solid rgba(0,0,0,.04);
  overflow-y: auto; overflow-x: hidden;
  transition: transform var(--ease);
  box-shadow: 4px 0 16px rgba(0,0,0,.04);
}
.sidebar::-webkit-scrollbar { width: 0; }

.sidebar-brand {
  display: flex; align-items: center; gap: 10px;
  padding: 28px 24px 20px;
}
.brand-logo { flex-shrink: 0; }
.brand-name {
  font-size: 19px; font-weight: 700; color: var(--neo-text);
  letter-spacing: -.3px;
}

/* 用户信息区 */
.sidebar-user {
  display: flex; align-items: center; gap: 12px;
  padding: 0 24px 20px;
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.sidebar-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-amber));
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 600; flex-shrink: 0;
  box-shadow: 2px 2px 8px rgba(0,0,0,.15);
}
.sidebar-user-info { display: flex; flex-direction: column; }
.sidebar-welcome {
  font-size: 12px; color: var(--sidebar-text); font-weight: 400;
}
.sidebar-username {
  font-size: 15px; font-weight: 600; color: var(--neo-text);
}

/* 导航项 */
.sidebar-nav { flex: 1; padding: 16px 12px; display: flex; flex-direction: column; gap: 2px; }
.nav-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 16px; border-radius: var(--radius-md);
  color: var(--sidebar-text); font-size: 14.5px; font-weight: 450;
  cursor: pointer; transition: all var(--transition);
  position: relative;
}
.nav-item:hover { background: var(--sidebar-hover); color: var(--neo-text); }
.nav-item.active {
  color: #1A1A1C;
  background: var(--neo-raised);
  font-weight: 600;
  box-shadow:
    6px 6px 12px rgba(0,0,0,.08),
    -4px -4px 10px rgba(255,255,255,.88);
}

/* 导航图标 */
.nav-ico {
  width: 19px; height: 19px; flex-shrink: 0;
  stroke: currentColor; fill: none;
  opacity: .75; transition: opacity var(--transition);
}
.nav-item:hover .nav-ico, .nav-item.active .nav-ico { opacity: 1; }

/* 激活点（彩色圆形底 — 选中时更醒目） */
.nav-dot {
  width: 9px; height: 9px; border-radius: 50%;
  flex-shrink: 0; opacity: 0; transform: scale(.5);
  transition: all var(--transition);
}
.nav-item.active .nav-dot { opacity: 1; transform: scale(1.15); background: var(--accent-amber); }
/* 各页激活态统一暖琥珀点 */
.nav-item[data-view="dashboard"].active .nav-dot { background: var(--accent-gold); }
.nav-item[data-view="employees"].active .nav-dot { background: var(--accent-amber); }
.nav-item[data-view="healthcerts"].active .nav-dot { background: var(--accent-amber); }
.nav-item[data-view="stores"].active .nav-dot { background: var(--accent-amber); }
.nav-item[data-view="users"].active .nav-dot { background: var(--accent-amber); }
.nav-item[data-view="settings"].active .nav-dot { background: var(--accent-amber); }
.nav-item[data-view="reminders"].active .nav-dot { background: var(--accent-amber); }

/* 底部退出 */
.sidebar-bottom { padding: 12px 12px 20px; border-top: 1px solid rgba(0,0,0,.06); }
.nav-logout { color: var(--sidebar-text); font-size: 14.5px; }
.nav-logout:hover { color: var(--accent-amber); }

/* ─── 主内容区 ─── */
.main-content {
  flex: 1; margin-left: var(--sidebar-w);
  min-height: 100vh; display: flex; flex-direction: column;
}

/* 顶部栏 */
.topbar {
  display: flex; align-items: center; gap: 18px;
  padding: 22px 36px; background: transparent;
  position: sticky; top: 0; z-index: 50;
}
.menu-toggle {
  display: none; background: var(--neo-bg); border: none;
  cursor: pointer; color: var(--neo-text-sub); padding: 8px 12px;
  border-radius: var(--radius-sm);
  box-shadow: var(--neo-raised-sm);
}
.topbar-title-area { flex: 1; }
.topbar-title {
  font-size: 24px; font-weight: 700; color: var(--neo-text);
  letter-spacing: -.3px;
}
.topbar-subtitle {
  font-size: 14.5px; color: var(--neo-text-muted); margin-top: 2px;
}
.topbar-right { display: flex; align-items: center; gap: 12px; }
.topbar-search {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 16px;
  background: var(--neo-bg);
  border-radius: var(--radius-full);
  box-shadow: var(--neo-inset);
  color: var(--neo-text-muted);
}
.topbar-search input {
  border: none; outline: none; background: none;
  font-size: 13px; width: 160px; color: var(--neo-text);
}
.topbar-search input::placeholder { color: var(--neo-text-muted); }

/* ═══ 视图切换 ═══ */
.view { display: none; padding: 0 32px 40px; animation: fadeIn .3s ease; }
.view.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ══════════════════════════════════════
   统计卡行 — 新拟态 + 光晕气泡
   ══════════════════════════════════════ */
.stats-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  margin-bottom: 30px;
}
.stat-card {
  border-radius: var(--radius-lg); padding: 26px 28px;
  position: relative; overflow: hidden;
  min-height: 166px; display: flex; flex-direction: column;
  justify-content: space-between;
  transition: transform var(--transition), box-shadow var(--transition);
  background: var(--neo-bg);
  box-shadow: var(--neo-raised);
}
.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--neo-raised-hover);
}
.stat-clickable { cursor: pointer; }
.stat-clickable:hover {
  transform: translateY(-5px);
  box-shadow:
    12px 12px 24px rgba(0,0,0,.10),
    -12px -12px 24px rgba(255,255,255,.88);
}

/* ── 各卡片底色（严格黄-橙-灰，无红无黑） ── */
.stat-gold   { background: #FAF7EE; }    /* 在职 — 暖白底 */
.stat-amber  { background: #FDF5E8; }    /* 生日 — 暖橙底 */
.stat-deep   { background: #F5EDE0; }    /* 门店 — 暖米底 */
.stat-cool   { background: #EBEBEB; }    /* 离职 — 凉灰底 */

/* ── 光晕圆球 ::after（严格参照参考图 soft/minimal/tactile） ── */
.stat-card::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
/* 在职员工 — 金黄大光晕（soft — 参照参考图左上大黄圈） */
.stat-gold::after {
  width: 240px; height: 240px;
  right: -60px; top: -70px;
  background: radial-gradient(circle at center,
    var(--accent-gold-glow) 0%,
    rgba(232,200,75,.22) 35%,
    rgba(232,200,75,.06) 58%,
    transparent 78%);
}
/* 本月生日 — 琥珀光晕（minimal — 橙色调，不是红色！） */
.stat-amber::after {
  width: 220px; height: 220px;
  right: -50px; top: -60px;
  background: radial-gradient(circle at center,
    var(--accent-amber-glow) 0%,
    rgba(224,168,64,.18) 38%,
    rgba(224,168,64,.04) 62%,
    transparent 76%);
}
/* 门店数 — 暖金光晕（natural — 低饱和暖调） */
.stat-deep::after {
  width: 200px; height: 200px;
  right: -35px; top: -45px;
  background: radial-gradient(circle at center,
    rgba(232,200,75,.30) 0%,
    rgba(232,200,75,.10) 40%,
    transparent 65%);
}
/* 已离职 — 凉灰光晕（中性灰，无黑色感） */
.stat-cool::after {
  width: 200px; height: 200px;
  right: -40px; top: -50px;
  background: radial-gradient(circle at center,
    rgba(136,136,136,.10) 0%,
    rgba(136,136,136,.03) 50%,
    transparent 70%);
}

/* ── 内容层（浮在光晕之上） ── */
.stat-header { display: flex; justify-content: space-between; align-items: center; position: relative; z-index: 1; }
.stat-value { position: relative; z-index: 1; }
.stat-sub-stat { position: relative; z-index: 1; font-size: 14px; }
.stat-chart-placeholder { position: relative; z-index: 1; margin-top: auto; padding-top: 10px; }

.stat-label {
  font-size: 13.5px; font-weight: 600; text-transform: uppercase;
  letter-spacing: .6px;
}
.stat-gold .stat-label   { color: #9A7B30; }
.stat-amber .stat-label  { color: #A67B20; }
.stat-deep .stat-label   { color: #9A7B3C; }
.stat-cool .stat-label   { color: var(--accent-mid); }

.stat-badge {
  font-size: 11.5px; font-weight: 650; padding: 5px 12px;
  border-radius: var(--radius-full); text-transform: uppercase; letter-spacing: .4px;
}
.stat-badge-gold   { background: rgba(154,123,48,.12); color: #9A7B30; }
.stat-badge-amber  { background: rgba(166,123,32,.12); color: #A67B20; }
.stat-badge-deep   { background: rgba(154,123,60,.12); color: #9A7B3C; }
.stat-badge-cool   { background: rgba(0,0,0,.05); color: var(--accent-mid); }

.stat-value {
  font-size: 40px; font-weight: 750; line-height: 1.1;
  letter-spacing: -1.5px;
}
.stat-gold .stat-value   { color: #8B7028; }
.stat-amber .stat-value  { color: #A66818; }
.stat-deep .stat-value   { color: #8B7030; }
.stat-cool .stat-value   { color: var(--neo-text); }

/* ── 健康证卡片底色（统一暖金新拟态色系 — 黄+橙+灰，仅调整深浅与顺序区别于看板） ── */
.hc-mint   { background: #F8F4E8; }    /* 员工总数 — 浅奶黄底 */
.hc-apricot{ background: #FDF0DC; }    /* 即将到期 — 暖杏底（偏橙警示） */
.hc-rose   { background: #EDE6DA; }    /* 已过期 — 暖棕灰底 */
.hc-sky    { background: #F2EFEA; }    /* 有效 — 极浅暖灰底 */

/* ── 健康证光晕 ::after（暖金系，不同浓度） ── */
.hc-mint::after {
  width: 200px; height: 200px;
  right: -40px; top: -50px;
  background: radial-gradient(circle at center,
    rgba(232,200,75,.25) 0%,
    rgba(232,200,75,.10) 40%,
    rgba(232,200,75,.03) 58%,
    transparent 72%);
}
.hc-apricot::after {
  width: 230px; height: 230px;
  right: -55px; top: -65px;
  background: radial-gradient(circle at center,
    var(--accent-amber-glow) 0%,
    rgba(224,168,64,.16) 36%,
    rgba(224,168,64,.04) 58%,
    transparent 76%);
}
.hc-rose::after {
  width: 190px; height: 190px;
  right: -35px; top: -42px;
  background: radial-gradient(circle at center,
    rgba(180,160,120,.18) 0%,
    rgba(180,160,120,.07) 42%,
    rgba(180,160,120,.02) 62%,
    transparent 74%);
}
.hc-sky::after {
  width: 200px; height: 200px;
  right: -38px; top: -48px;
  background: radial-gradient(circle at center,
    rgba(200,195,180,.15) 0%,
    rgba(200,195,180,.05) 45%,
    transparent 68%);
}

/* ── 健康证文字色（暖金系） ── */
.hc-mint .stat-label   { color: #9A8545; }
.hc-apricot .stat-label{ color: #B07830; }
.hc-rose .stat-label   { color: #8C7D68; }
.hc-sky .stat-label    { color: #9A9590; }

.hc-mint .stat-value   { color: #8B7830; }
.hc-apricot .stat-value{ color: #A06818; }
.hc-rose .stat-value   { color: #7A6D5A; }
.hc-sky .stat-value    { color: #6A6560; }

/* ═══ 通用卡片 — 新拟态凸起 ═══ */
.card {
  background: var(--neo-bg); border-radius: var(--radius-lg);
  box-shadow: var(--neo-raised-sm);
  overflow: hidden;
  transition: box-shadow var(--transition);
}
.card:hover { box-shadow: var(--neo-raised); }
.card-body { padding: 24px 28px; }
.card-header-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 26px 0;
}
.card-header-row h3 {
  font-size: 18px; font-weight: 650; color: var(--neo-text);
}
.card-desc {
  font-size: 14px; color: var(--neo-text-sub);
  padding: 0 26px 14px;
}

.mt-16 { margin-top: 16px; }
.mt-20 { margin-top: 20px; }
.mt-24 { margin-top: 24px; }

/* Dashboard 双栏网格 */
.dashboard-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 22px;
  margin-bottom: 28px;
}

/* ═══ 工具栏 — 新拟态 ═══ */
.toolbar {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 24px; flex-wrap: wrap; gap: 14px;
}
.toolbar-left, .toolbar-right {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
}
.input-search {
  padding: 9px 16px; border: none;
  border-radius: var(--radius-full); background: var(--neo-bg);
  font-size: 15px; width: 320px; outline: none;
  box-shadow: var(--neo-inset);
  transition: box-shadow var(--transition);
  color: var(--neo-text);
}
.input-search:focus { box-shadow: var(--neo-inset-deep); }
.input-search::placeholder { color: var(--neo-text-muted); }
.btn-search {
  padding: 11px 22px;
  font-size: 15px;
  white-space: nowrap;
}
.select-input {
  padding: 11px 16px; border: none;
  border-radius: var(--radius-sm); background: var(--neo-bg);
  font-size: 15px; color: var(--neo-text); outline: none;
  cursor: pointer; min-width: 150px;
  box-shadow: var(--neo-inset);
}
.toolbar-left .select-input {
  min-width: 0; width: 180px;
}
.btn-clear-filter {
  padding: 10px 18px; font-size: 14px; white-space: nowrap;
}
/* 搜索框 + 内嵌清除键 */
.search-wrap { position: relative; display: inline-flex; align-items: center; }
.search-wrap .input-search { width: 320px; padding-right: 32px; }
.search-clear {
  position: absolute; right: 10px; border: none; background: transparent;
  color: var(--neo-text-muted); cursor: pointer; font-size: 15px; line-height: 1;
  padding: 2px 4px; border-radius: 4px;
}
.search-clear:hover { color: var(--accent-amber); background: rgba(224,168,64,.08); }
/* 筛选中提示 */
.filter-badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 8px 16px; font-size: 14px; font-weight: 600;
  color: #9A7B30; background: #FAF7EE;
  border-radius: var(--radius-full); cursor: pointer;
  white-space: nowrap; user-select: none;
  box-shadow: var(--neo-raised-sm);
}
.filter-badge:hover { background: #F5EFE0; }
.birth-month-chip {
  color: #B8472E; background: #FCEEE9;
  border: 1px solid rgba(184,71,46,.25);
}
.birth-month-chip:hover { background: #F8E2DA; }

/* ═══ 表格 — 新拟态柔和风 ═══ */
.table-wrap {
  overflow-x: auto;
  max-height: calc(100vh - 280px);
  overflow-y: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--neo-raised-sm);
  background: var(--neo-bg);
}
.data-table {
  width: 100%; border-collapse: collapse; font-size: 15px;
}
.data-table thead { position: sticky; top: 0; z-index: 2; }
.data-table th {
  text-align: left; padding: 16px 20px;
  font-size: 13.5px; font-weight: 650; text-transform: uppercase;
  letter-spacing: .6px; color: var(--neo-text-muted);
  border-bottom: 1px solid rgba(0,0,0,.04);
  white-space: nowrap;
  background: var(--neo-bg);
}
.th-select {
  display: block; margin-top: 5px;
  padding: 5px 10px; border: none;
  border-radius: 8px; background: var(--neo-bg);
  font-size: 13.5px; color: var(--neo-text-sub);
  width: auto; min-width: 70px; outline: none;
  box-shadow: var(--neo-inset);
  text-transform: none; letter-spacing: 0;
}
.th-select:focus { box-shadow: var(--neo-inset-deep); }
.data-table td {
  padding: 15px 20px;
  border-bottom: 1px solid rgba(0,0,0,.03);
  white-space: nowrap; color: var(--neo-text);
}
.data-table tr:hover td { background: rgba(232,200,75,.06); }
.data-table tr:last-child td { border-bottom: none; }
/* 工资结算总计行（暖金新拟态） */
.pay-total-row td {
  background: linear-gradient(180deg, rgba(255,229,155,.22), rgba(255,229,155,.12));
  font-weight: 700; border-top: 2px solid rgba(214,170,90,.45); color: #6b4f1a;
  white-space: nowrap;
}
.pay-total-row:hover td { background: linear-gradient(180deg, rgba(255,229,155,.30), rgba(255,229,155,.18)); }
.pay-total-row .pay-total-label { font-weight: 700; letter-spacing: .5px; }
.pay-total-row .pay-total-num { font-variant-numeric: tabular-nums; }
.pay-total-row .pay-total-net { color: #15803d; font-weight: 800; }
/* 离职员工行 */
.row-left td {
  background: rgba(0,0,0,.025) !important;
  color: var(--neo-text-muted) !important;
}
.row-left td strong { color: var(--neo-text-muted) !important; }
.row-left:hover td { background: rgba(0,0,0,.04) !important; }
/* 健康证一览：选中计数 */
.sel-info { color: var(--neo-text-muted); font-size: 12px; margin-right: 4px; align-self: center; }
.empty-text {
  text-align: center; color: var(--neo-text-muted);
  padding: 44px 16px; font-size: 14px;
}

/* ═══ Badge 标签 — 新拟态柔和版 ═══ */
.badge {
  display: inline-block; padding: 5px 14px; border-radius: var(--radius-full);
  font-size: 13.5px; font-weight: 550;
}
.badge-active { background: rgba(160,180,120,.14); color: #4A6B2E; }
.badge-left { background: var(--accent-amber-light); color: #8B6914; }
.badge-accent { background: var(--accent-gold-light); color: #8B7030; }
.badge-warn { background: rgba(232,200,75,.20); color: #9A7B30; }

/* 状态切换按钮 */
.btn-status-toggle {
  cursor: pointer; border: none; padding: 4px 12px;
  border-radius: var(--radius-full);
  transition: all var(--transition);
  background: var(--neo-bg);
  box-shadow: var(--neo-raised-sm);
}
.btn-status-toggle:hover {
  box-shadow: var(--neo-raised);
  opacity: .85; transform: scale(1.03);
}

/* ═══ 操作按钮组 ═══ */
.action-btns { display: flex; gap: 6px; }

/* ═══ 门店卡片网格 — 新拟态 ═══ */
.cards-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 18px;
}
.store-card {
  background: var(--neo-bg); border-radius: var(--radius-md);
  padding: 22px; box-shadow: var(--neo-raised-sm);
  display: flex; justify-content: space-between; align-items: flex-start;
  transition: transform var(--transition), box-shadow var(--transition);
}
.store-card:hover { transform: translateY(-3px); box-shadow: var(--neo-raised); }
.store-card-name { font-weight: 650; font-size: 16px; color: var(--neo-text); }
.store-card-count { font-size: 14px; color: var(--neo-text-sub); margin-top: 5px; }
.store-card-actions { display: flex; gap: 6px; }

/* 停业门店卡片 */
.store-card-closed {
  opacity: .6;
  box-shadow: var(--neo-inset);
}
.store-card-closed:hover { opacity: .8; }

/* ═══ 门店柱状图 — 暖黄渐变 ═══ */
.store-bars { display: flex; flex-direction: column; gap: 14px; }
.store-bar-row { display: flex; align-items: center; gap: 14px; }
.store-bar-label {
  width: 90px; font-size: 15px; font-weight: 550;
  flex-shrink: 0; text-align: right; color: var(--neo-text);
}
.store-bar-track {
  flex: 1; height: 28px; background: var(--neo-bg);
  border-radius: 14px; overflow: hidden; position: relative;
  box-shadow: var(--neo-inset);
}
.store-bar-fill {
  height: 100%; border-radius: 14px;
  background: linear-gradient(90deg, var(--accent-gold), var(--accent-amber));
  transition: width .6s ease;
  display: flex; align-items: center; justify-content: flex-end;
  padding-right: 10px;
}
.store-bar-num {
  font-size: 11.5px; font-weight: 650; color: #fff;
  min-width: 20px; text-align: right;
}

/* ═══ 最近员工列表（头像列表） ═══ */
.recent-list { display: flex; flex-direction: column; gap: 8px; }
.recent-item {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 14px; border-radius: var(--radius-sm);
  transition: background var(--transition);
}
.recent-item:hover { background: rgba(0,0,0,.02); }
.recent-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-amber));
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 650; flex-shrink: 0;
  box-shadow: 2px 2px 6px rgba(232,200,75,.22);
}
.recent-info { flex: 1; min-width: 0; }
.recent-name { font-weight: 580; font-size: 15.5px; color: var(--neo-text); }
.recent-detail { font-size: 14px; color: var(--neo-text-sub); }
.recent-meta { text-align: right; font-size: 15px; font-weight: 580; color: var(--neo-text); }

/* ═══ 弹窗 — 新拟态 ═══ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,.25); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.modal-overlay.hidden { display: none; }
.modal {
  background: var(--neo-bg); border-radius: var(--radius-xl);
  width: 100%; max-width: 800px; max-height: 85vh; overflow-y: auto;
  box-shadow: var(--neo-raised-hover);
  animation: modalIn .25s ease;
}
.modal-sm { max-width: 480px; }
.modal-lg { max-width: 720px; }
@keyframes modalIn { from { opacity: 0; transform: scale(.96) translateY(10px); } to { opacity: 1; transform: none; } }
.modal-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 24px 30px 0;
}
.modal-header h3 { font-size: 19px; font-weight: 680; color: var(--neo-text); }
.modal-close {
  background: var(--neo-bg); border: none; font-size: 22px; cursor: pointer;
  color: var(--neo-text-muted); line-height: 1; padding: 6px 10px;
  border-radius: 10px;
  box-shadow: var(--neo-inset);
  transition: all var(--transition);
}
.modal-close:hover { color: var(--neo-text); box-shadow: var(--neo-raised-sm); }
.modal-footer {
  display: flex; justify-content: flex-end; gap: 10px;
  padding: 0 30px 28px;
}
/* 表单类弹窗：主体内容统一左右留白，与 header/footer 对齐 */
.modal form { padding: 0 30px 4px; }
/* footer 在 form 内，用负边距抵消 form 的左右内边距，避免重复缩进；
   同时统一顶部间距（覆盖 mt-24，防止与 padding 叠加过大） */
.modal form > .modal-footer {
  margin-top: 0; margin-left: -30px; margin-right: -30px;
  padding: 22px 30px 28px;
}
.modal-body { padding: 14px 30px 4px; }
.modal-tip { margin: 8px 0 0; font-size: 12.5px; color: var(--neo-text-muted); }

/* ═══ 表单分区标题 ═══ */
.form-section-label {
  font-size: 11.5px; font-weight: 650; text-transform: uppercase;
  letter-spacing: 1px; color: var(--neo-text-muted);
  padding: 18px 0 10px;
  border-top: 1px solid rgba(0,0,0,.05);
  margin-top: 4px;
}
.form-section-label:first-child { border-top: none; margin-top: 0; padding-top: 0; }

.form-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px 22px;
}

/* 身份证提示 */
.id-hint { font-size: 11.5px; color: #2E7D32; margin-top: 4px; }
.id-hint.error { color: #C62828; }

/* ═══ 设置页网格 ═══ */
.settings-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 22px;
}
.setting-item { }
.setting-item label {
  display: block; font-size: 13.5px; font-weight: 580;
  color: var(--neo-text); margin-bottom: 6px;
}

/* ═══ Toast — 新拟态 ═══ */
.toast {
  position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%);
  background: var(--neo-bg); color: var(--neo-text);
  padding: 12px 28px; border-radius: var(--radius-full);
  font-size: 14px; font-weight: 550; z-index: 300;
  box-shadow: var(--neo-raised);
  animation: toastIn .3s ease;
}
.toast.hidden { display: none; }
@keyframes toastIn { from { opacity: 0; transform: translateX(-50%) translateY(12px); } }

/* ═══ 错误文本 ═══ */
.error-text { color: var(--accent-deep); font-size: 13.5px; margin-top: 10px; text-align: center; }

/* ═══ 隐藏类 ═══ */
/* ═══ Lightbox 大图预览 ═══ */
.lightbox-overlay {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(0,0,0,.6); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px; animation: modalIn .2s ease;
}
.lightbox-content {
  position: relative; max-width: 90vw; max-height: 90vh;
  border-radius: var(--radius-xl); overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
}
.lightbox-content img {
  display: block; max-width: 100%; max-height: 85vh;
  object-fit: contain; background: #fff; border-radius: var(--radius-xl);
}
.lightbox-close {
  position: absolute; top: -12px; right: -12px;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--neo-bg); color: var(--neo-text);
  font-size: 20px; cursor:pointer; border:none;
  box-shadow: var(--neo-raised-hover);
  display:flex;align-items:center;justify-content:center;
  transition: transform .15s;
}
.lightbox-close:hover { transform: scale(1.1); }

.hidden { display: none !important; }
.admin-only { display: none !important; }
body.is-admin .admin-only { display: block !important; }
body.is-admin a.admin-only { display: flex !important; }
/* 非 active 的 view 必须隐藏；(0,3,1) > body.is-admin .admin-only (0,2,1)，且放在后面兜底 */
body.is-admin .view:not(.active) { display: none !important; }

/* 编辑权限：admin 或 editor 可见；viewer（只读）隐藏所有写操作控件 */
.editor-only { display: none !important; }
body.is-editor .editor-only { display: block !important; }
body.is-editor a.editor-only { display: flex !important; }
body.is-editor button.editor-only { display: inline-flex !important; }
body.is-editor label.editor-only { display: inline-flex !important; }
body.is-editor .view:not(.active) { display: none !important; }

/* ═══ 响应式 ═══ */
@media (max-width: 1100px) {
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .dashboard-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .sidebar { transform: translateX(-100%); }
  .sidebar.open { transform: translateX(0); }
  .main-content { margin-left: 0; }
  .menu-toggle { display: block; }
  .topbar { padding: 16px 20px; }
  .view { padding: 0 18px 36px; }
  .stats-row { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .toolbar { flex-direction: column; align-items: stretch; }
  .toolbar-left, .toolbar-right { justify-content: stretch; }
  .input-search { width: 100%; }
  .modal { margin: 10px; max-height: 90vh; }
}

/* 规则提示条 */
.rule-hint {
  font-size: 12px;
  line-height: 1.6;
  color: var(--text-muted);
  background: #FFF6E9;
  border: 1px solid #F3D9A8;
  border-radius: 10px;
  padding: 8px 12px;
  margin: 12px 0 0;
}
.rule-hint b { color: #C8841E; }
.rest-hint {
  font-size: 10px;
  color: #C0392B;
  margin-top: 2px;
  line-height: 1.3;
}
.link-reset { font-size: 10px; color: #2B6CB0; text-decoration: underline; cursor: pointer; }
.link-reset:hover { color: #1A4A8A; }
.abs-breakdown {
  font-size: 10.5px;
  color: #9A6A30;
  background: #FBF1E2;
  border: 1px solid rgba(212,145,90,.28);
  border-radius: 6px;
  padding: 2px 5px;
  margin-bottom: 3px;
  display: inline-block;
  white-space: nowrap;
}

/* ── 小时工考勤：底部合计 + 添加按钮 ── */
.att-hr-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  padding: 10px 4px;
  border-top: 1px dashed var(--border-color, #E8E0D6);
}
.att-hr-total {
  font-size: 13px;
  color: var(--text-muted, #888);
}
.att-hr-footer .btn-sm {
  font-size: 12.5px;
  padding: 5px 14px;
}

/* ── 批量操作栏 ── */
.batch-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  margin-bottom: 10px;
  background: #FBF1E2;
  border: 1px solid rgba(212,145,90,.3);
  border-radius: 10px;
  font-size: 13px;
}
.batch-bar.hidden { display: none; }
.batch-all {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  user-select: none;
  font-weight: 600;
  color: #8a5a20;
}
.batch-count {
  color: #555;
  font-variant-numeric: tabular-nums;
}
.batch-bar .btn-sm { padding: 4px 12px; }

/* 表格勾选列（批量模式） */
.sel-col { width: 34px; text-align: center; white-space: nowrap; }
.sel-checkbox { width: 16px; height: 16px; cursor: pointer; vertical-align: middle; }
#attSelectBtn.active, #paySelectBtn.active {
  background: var(--warm-gold, #D4915A); color: #fff; border-color: var(--warm-gold, #D4915A);
}
/* 考勤表勾选列窄一点 */
.att-table .sel-col { width: 30px; }

/* 导入门店标签，紧跟导入按钮，明确导入目标 */
.import-store-tag {
  font-size: 13px;
  color: #9a6b52;
  align-self: center;
  margin: 0 2px;
  white-space: nowrap;
}
.import-store-tag + .select-input {
  border-color: #e7b98c;
}
/* 全职考勤：操作列 + 小型按钮 */
.att-act-col { width: 56px; text-align: center; white-space: nowrap; }
.btn-xs { padding: 2px 8px; font-size: 12px; line-height: 1.5; }

/* 全职考勤：添加员工行 */
.ft-add-row {
  background: #FFF9F0;
  border: 1px solid rgba(212,145,90,.35);
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 10px;
}
.ft-add-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.ft-add-inner label {
  font-weight: 600;
  color: #8a5a20;
  font-size: 13px;
  white-space: nowrap;
}
.ft-add-info {
  color: #666;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.pay-wd {
  width: 60px;
  padding: 4px 6px;
  border: 1px solid var(--border-color, #E5E7EB);
  border-radius: 6px;
  font-size: 12px;
  text-align: center;
}

/* ═══ 考勤 / 工资 模块 ═══ */
.tab-switch { display:inline-flex; background:#FBF7EF; border-radius:var(--radius-full); padding:3px; box-shadow:inset 0 1px 3px rgba(0,0,0,.08); }
.tab-btn { border:none; background:transparent; padding:7px 18px; border-radius:var(--radius-full); cursor:pointer; font-size:13px; color:var(--text-muted); font-weight:500; transition:all .18s; }
.tab-btn.active { background:linear-gradient(135deg,var(--accent-gold),var(--accent-amber)); color:#fff; box-shadow:var(--neo-raised-sm); }

.att-scroll { overflow-x:auto; }
.att-table { border-collapse:separate; border-spacing:0; font-size:12px; min-width:max-content; }
.att-table th, .att-table td { border-bottom:1px solid rgba(0,0,0,.05); }
.att-table thead th { position:sticky; top:0; background:#FBF7EF; z-index:2; padding:6px 2px; text-align:center; }
.att-name-col { position:sticky; left:0; background:#FBF7EF; z-index:3; text-align:left !important; padding:6px 14px !important; min-width:84px; }
.att-table tbody .att-name-col { background:#fff; }
.att-day { width:26px; color:var(--text-muted); font-weight:500; }
.att-sum { color:var(--text-secondary); font-size:11px; padding:6px 10px; min-width:120px; }
.att-cell { width:24px; height:24px; margin:2px auto; display:flex; align-items:center; justify-content:center; border-radius:6px; cursor:pointer; font-size:12px; font-weight:600; transition:transform .1s, background .15s; user-select:none; }
.att-cell:hover { transform:scale(1.12); }
.att-cell.att-normal { color:#9aa; background:rgba(150,150,150,.06); }
.att-cell.att-rest { color:#2F80C2; background:rgba(47,128,194,.12); }
.att-cell.att-leave_personal { color:#E0892F; background:rgba(224,168,64,.16); }
.att-cell.att-leave_sick { color:#C2553B; background:rgba(194,85,59,.14); }
.att-cell.att-absent { color:#D14343; background:rgba(209,67,67,.14); }
.att-cell.att-late { color:#B8860B; background:rgba(184,134,11,.14); }
.att-cell.att-early { color:#B8860B; background:rgba(184,134,11,.10); }
.att-cell.att-overtime { color:#2E8B57; background:rgba(46,139,87,.14); }
.att-cell.att-adjust { color:#7A5FB0; background:rgba(122,95,176,.14); }

.att-legend { display:flex; gap:10px; flex-wrap:wrap; }
.att-leg { font-size:11px; padding:2px 8px; border-radius:var(--radius-full); }
.att-leg.att-normal{color:#9aa;background:rgba(150,150,150,.08);}
.att-leg.att-rest{color:#2F80C2;background:rgba(47,128,194,.12);}
.att-leg.att-leave_personal{color:#E0892F;background:rgba(224,168,64,.16);}
.att-leg.att-leave_sick{color:#C2553B;background:rgba(194,85,59,.14);}
.att-leg.att-absent{color:#D14343;background:rgba(209,67,67,.14);}
.att-leg.att-late{color:#B8860B;background:rgba(184,134,11,.14);}
.att-leg.att-early{color:#B8860B;background:rgba(184,134,11,.10);}
.att-leg.att-overtime{color:#2E8B57;background:rgba(46,139,87,.14);}
.att-leg.att-adjust{color:#7A5FB0;background:rgba(122,95,176,.14);}
.att-cell.att-cross { color:#C0392B; background:rgba(192,57,43,.14); border:1px dashed rgba(192,57,43,.5); }
.att-leg.att-cross{color:#C0392B;background:rgba(192,57,43,.12);}
/* 未任职：灰色斜纹底，不可编辑，与可编辑格明显区分 */
.att-cell.att-not-employed { color:#B8B2A6; background:repeating-linear-gradient(45deg,#FAF9F7,#FAF9F7 3px,#F0EDE8 3px,#F0EDE8 6px); cursor:default; }
.att-cell.att-not-employed:hover { transform:none; }
.att-leg.att-not-employed { color:#A9A296; background:repeating-linear-gradient(45deg,#FAF9F7,#FAF9F7 3px,#F0EDE8 3px,#F0EDE8 6px); }

/* ── 考勤浮动状态选择器 ── */
.att-picker {
  position: absolute;
  z-index: 9999;
  background: #fff;
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,.14), 0 2px 8px rgba(0,0,0,.06);
  padding: 10px 12px;
  min-width: 280px;
  font-size: 13px;
  animation: pickerIn .15s ease-out;
}
@keyframes pickerIn {
  from { opacity: 0; transform: translateY(-4px) scale(.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.att-picker-title {
  font-weight: 600;
  color: var(--text-primary, #333);
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(0,0,0,.06);
  font-size: 12.5px;
}
.att-picker-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.att-picker-chip {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 5px 9px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 500;
  transition: transform .1s, box-shadow .12s;
  border: 1.5px solid transparent;
  user-select: none;
  white-space: nowrap;
}
.att-picker-chip:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0,0,0,.1);
  border-color: rgba(0,0,0,.08);
}
.att-picker-chip .chip-sym {
  font-size: 14px;
  font-weight: 700;
  width: 18px;
  text-align: center;
}
.att-picker-chip .chip-label {
  font-size: 11.5px;
}
/* 选择器 chip 颜色继承 att-* 色系 */
.att-picker-chip.att-normal { color:#777; background:rgba(120,120,120,.07); }
.att-picker-chip.att-rest { color:#2F80C2; background:rgba(47,128,194,.10); }
.att-picker-chip.att-leave_personal { color:#E0892F; background:rgba(224,168,64,.12); }
.att-picker-chip.att-leave_sick { color:#C2553B; background:rgba(194,85,59,.10); }
.att-picker-chip.att-absent { color:#D14343; background:rgba(209,67,67,.10); }
.att-picker-chip.att-late { color:#B8860B; background:rgba(184,134,11,.10); }
.att-picker-chip.att-early { color:#B8860B; background:rgba(184,134,11,.08); }
.att-picker-chip.att-overtime { color:#2E8B57; background:rgba(46,139,87,.10); }
.att-picker-chip.att-adjust { color:#7A5FB0; background:rgba(122,95,176,.10); }
.att-picker-chip.att-cross { color:#C0392B; background:rgba(192,57,43,.10); border:1px dashed rgba(192,57,43,.35); }
.att-picker-chip.att-not_employed,
.att-picker-chip.att-not-employed { color:#A9A296; background:repeating-linear-gradient(45deg,#FAF9F7,#FAF9F7 3px,#F0EDE8 3px,#F0EDE8 6px); border:1px solid rgba(169,162,150,.2); }
.att-picker-sep { grid-column:1/-1; height:1px; background:rgba(0,0,0,.06); margin:2px 0; }
.att-picker-hint {
  margin-top: 7px;
  padding-top: 6px;
  border-top: 1px solid rgba(0,0,0,.05);
  font-size: 10.5px;
  color: #aaa;
  line-height: 1.3;
}

/* ── 快速填充模式指示器 ── */
.att-fill-badge {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10000;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  color: #333;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0,0,0,.12), 0 1px 4px rgba(0,0,0,.06);
  border: 2px solid;
  animation: badgeIn .2s ease-out;
  user-select: none;
}
@keyframes badgeIn {
  from { opacity: 0; transform: translateX(-50%) translateY(8px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}
.att-fill-badge .att-fill-sym {
  font-size: 16px;
  font-weight: 700;
}
.att-fill-badge .att-fill-esc {
  margin-left: 8px;
  font-size: 11px;
  color: #aaa;
  padding: 2px 8px;
  border-radius: 8px;
  background: rgba(0,0,0,.04);
}
.att-fill-badge.att-normal { border-color: rgba(120,120,120,.3); }
.att-fill-badge.att-rest { border-color: rgba(47,128,194,.4); }
.att-fill-badge.att-leave_personal { border-color: rgba(224,168,64,.4); }
.att-fill-badge.att-leave_sick { border-color: rgba(194,85,59,.4); }
.att-fill-badge.att-absent { border-color: rgba(209,67,67,.4); }
.att-fill-badge.att-cross { border-color: rgba(192,57,43,.5); }
.att-fill-badge.att-late, .att-fill-badge.att-early { border-color: rgba(184,134,11,.4); }
.att-fill-badge.att-overtime { border-color: rgba(46,139,87,.4); }
.att-fill-badge.att-adjust { border-color: rgba(122,95,176,.4); }
.att-remark-col { position:sticky; right:0; background:#FBF7EF; z-index:3; vertical-align:top !important; padding:4px 6px !important; min-width:150px; width:150px; border-left:2px solid rgba(0,0,0,.06); }
.att-table tbody .att-remark-col { background:#fff; }
.att-remark-input { width:140px; min-height:34px; resize:vertical; font-size:12px; line-height:1.3; padding:4px 6px; border:1px solid rgba(0,0,0,.12); border-radius:6px; font-family:inherit; color:var(--text-primary); box-sizing:border-box; }
.att-remark-input:focus { outline:none; border-color:var(--accent,#C8841E); box-shadow:0 0 0 2px rgba(200,132,30,.15); }
.att-remark { font-size:10px; color:#C8841E; line-height:1.3; margin-top:2px; max-width:140px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; cursor:help; }

.io-grid { display:flex; gap:12px; flex-wrap:wrap; }
.pay-table .pay-wd { width:60px; text-align:center; padding:5px; border:1px solid rgba(0,0,0,.08); border-radius:8px; }
.pay-table .pay-gross { color:var(--accent-warm); font-weight:600; }
.pay-table .pay-net { color:#2E8B57; }
