/* 检装加班 · mobile PWA */
:root {
  --blue: #004b9b;
  --blue-2: #07336b;
  --blue-3: #0a2a52;
  --red: #e60012;
  --red-soft: #ffecee;
  --green: #0b7a53;
  --green-soft: #e8f6ef;
  --amber: #b45309;
  --amber-soft: #fff4e0;
  --ink: #112033;
  --ink-2: #33445c;
  --muted: #6d7d92;
  --muted-2: #95a2b3;
  --bg: #f3f6fb;
  --card: #ffffff;
  --line: #e3e9f2;
  --line-2: #eef2f8;
  --shadow: 0 8px 28px rgba(15, 39, 74, .08);
  --shadow-sm: 0 2px 8px rgba(15, 39, 74, .06);
  --radius: 16px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, #e9f1ff 0%, transparent 55%),
    radial-gradient(900px 500px at 110% 20%, #fff0f1 0%, transparent 50%),
    var(--bg);
  min-height: 100vh;
  font-size: 15px;
  line-height: 1.5;
}
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--blue); text-decoration: none; }
img { max-width: 100%; display: block; }
.hidden { display: none !important; }
.muted { color: var(--muted); }
.small { font-size: 12px; }
.tiny { font-size: 11px; }
.strong { font-weight: 700; }
.nowrap { white-space: nowrap; }
.center { text-align: center; }
.row { display: flex; align-items: center; }
.between { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.stack { display: flex; flex-direction: column; }
.gap-4 { gap: 4px; } .gap-6 { gap: 6px; } .gap-8 { gap: 8px; }
.gap-10 { gap: 10px; } .gap-12 { gap: 12px; } .gap-16 { gap: 16px; }
.mt-4 { margin-top: 4px; } .mt-8 { margin-top: 8px; } .mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; } .mt-20 { margin-top: 20px; } .mt-24 { margin-top: 24px; }
.mb-8 { margin-bottom: 8px; } .mb-12 { margin-bottom: 12px; } .mb-16 { margin-bottom: 16px; }
.grow { flex: 1; min-width: 0; }
.ellipsis { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* splash */
.splash {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: linear-gradient(160deg, #082345 0%, #0b3d79 55%, #0a2a52 100%);
  color: #fff; gap: 8px;
}
.splash-logo { width: 88px; height: 88px; border-radius: 24px; background: #fff; display: grid; place-items: center; box-shadow: 0 20px 50px rgba(0,0,0,.25); }
.splash-logo img { width: 68px; height: 68px; border-radius: 18px; }
.splash-name { font-size: 26px; font-weight: 800; letter-spacing: 4px; margin-top: 14px; }
.splash-sub { font-size: 12px; color: rgba(255,255,255,.72); letter-spacing: 2px; }
.spinner { width: 26px; height: 26px; border-radius: 50%; border: 2px solid rgba(255,255,255,.25); border-top-color: #fff; animation: spin .8s linear infinite; margin-top: 28px; }
@keyframes spin { to { transform: rotate(360deg); } }
.skeleton { background: linear-gradient(90deg, #eef2f8 25%, #f8fafc 37%, #eef2f8 63%); background-size: 400% 100%; animation: shimmer 1.3s ease infinite; border-radius: 10px; }
@keyframes shimmer { 0% { background-position: 100% 0; } 100% { background-position: 0 0; } }

/* login */
.login {
  min-height: 100vh;
  background:
    radial-gradient(800px 500px at 85% -5%, rgba(230,0,18,.32), transparent 55%),
    radial-gradient(800px 620px at -10% 30%, rgba(0,122,255,.30), transparent 55%),
    linear-gradient(155deg, #061a33 0%, #0a356b 48%, #071d3c 100%);
  color: #fff; padding: calc(28px + var(--safe-top)) 20px calc(28px + var(--safe-bottom));
  display: flex; flex-direction: column; position: relative; overflow: hidden;
}
.login::before, .login::after {
  content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,.12);
  width: 420px; height: 420px; pointer-events: none;
}
.login::before { top: -220px; right: -160px; }
.login::after { bottom: -260px; left: -160px; width: 520px; height: 520px; }
.login-inner { width: 100%; max-width: 430px; margin: auto; position: relative; z-index: 1; }
.login-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 34px; }
.login-brand img { width: 52px; height: 52px; border-radius: 15px; background: #fff; padding: 5px; box-shadow: 0 12px 30px rgba(0,0,0,.22); }
.login-kicker { font-size: 11px; letter-spacing: 2.5px; color: rgba(255,255,255,.62); font-weight: 600; }
.login-title { font-size: 27px; font-weight: 800; letter-spacing: 2px; margin-top: 2px; }
.login-hero h1 { font-size: 38px; line-height: 1.18; letter-spacing: 3px; margin: 0 0 12px; font-weight: 800; }
.login-hero p { margin: 0; color: rgba(255,255,255,.72); font-size: 13.5px; line-height: 1.8; }
.login-card {
  margin-top: 30px; background: rgba(255,255,255,.98); color: var(--ink);
  border-radius: 24px; padding: 22px 18px 18px; box-shadow: 0 24px 70px rgba(0,0,0,.28);
}
.login-card h2 { margin: 0; font-size: 17px; }
.login-card .hint { color: var(--muted); font-size: 12.5px; margin-top: 4px; }
.login-card .login-note { color: var(--muted); margin-top: 13px; font-size: 10.5px; line-height: 1.6; }
.login-install { word-break: break-word; overflow-wrap: anywhere; }
.login-select-wrap { position: relative; margin-top: 13px; }
.login-select-wrap:first-of-type { margin-top: 18px; }
.login-select {
  width: 100%; appearance: none; -webkit-appearance: none; border: 1.5px solid var(--line);
  background: #f8fafd; border-radius: 14px; padding: 16px 44px 16px 48px; font-size: 16px; font-weight: 600;
  outline: none; transition: border-color .18s, box-shadow .18s;
}
.login-select:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0,75,155,.10); background: #fff; }
.login-select-icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--blue); pointer-events: none; }
.login-select-arrow { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.login-pin { margin-top: 12px; }
.login-pin input { width: 100%; border: 1.5px solid var(--line); background: #f8fafd; border-radius: 14px; padding: 14px 16px; letter-spacing: 10px; font-size: 20px; text-align: center; outline: none; }
.login-password-hint { color: var(--muted); font-size: 10.5px; text-align: center; margin-top: 6px; }
.login-btn {
  margin-top: 18px; width: 100%; border: 0; border-radius: 14px; padding: 16px;
  background: linear-gradient(135deg, #e60012, #c9000f); color: #fff; font-size: 16px; font-weight: 800;
  letter-spacing: 2px; box-shadow: 0 12px 24px rgba(230,0,18,.28); transition: transform .12s, opacity .2s;
}
.login-btn:active { transform: scale(.985); }
.login-btn:disabled { opacity: .55; }
.login-foot { margin-top: 20px; text-align: center; font-size: 11px; color: rgba(255,255,255,.45); line-height: 1.8; }
.login-error { margin-top: 12px; background: var(--red-soft); color: #a3000d; border-radius: 12px; padding: 10px 12px; font-size: 13px; }
.login-install { margin-top: 14px; color: rgba(255,255,255,.78); font-size: 12px; text-align: center; line-height: 1.8; }
.login-install b { color: #fff; }
.login-note { display: flex; align-items: center; gap: 7px; justify-content: center; margin-top: 10px; color: rgba(255,255,255,.45); font-size: 11px; }

/* app shell */
.app-shell {
  width: 100%; max-width: 760px; margin: 0 auto; min-height: 100vh;
  background: var(--bg); position: relative; padding-bottom: calc(76px + var(--safe-bottom));
}
@media (min-width: 820px) {
  body { padding: 20px 0; }
  .app-shell { min-height: calc(100vh - 40px); border-radius: 28px; overflow: hidden; box-shadow: 0 30px 80px rgba(15,39,74,.16); padding-bottom: 84px; }
  .login { min-height: calc(100vh - 40px); border-radius: 28px; max-width: 760px; margin: 0 auto; }
}
.app-header {
  position: sticky; top: 0; z-index: 40;
  background: linear-gradient(135deg, rgba(6,28,56,.98), rgba(7,51,107,.98));
  color: #fff; padding-top: var(--safe-top);
  box-shadow: 0 4px 20px rgba(4,22,45,.14);
}
.header-inner { display: flex; align-items: center; gap: 11px; padding: 12px 16px 12px; min-height: 62px; }
.header-brand { display: flex; align-items: center; gap: 10px; min-width: 0; flex: 1; }
.header-mark { width: 38px; height: 38px; border-radius: 11px; background: #fff; padding: 4px; flex: 0 0 auto; }
.header-title { font-size: 16.5px; font-weight: 800; letter-spacing: .5px; line-height: 1.2; }
.header-sub { font-size: 10.5px; color: rgba(255,255,255,.6); margin-top: 2px; letter-spacing: .5px; }
.header-actions { display: flex; align-items: center; gap: 4px; }
.icon-btn {
  width: 40px; height: 40px; border-radius: 12px; border: 0; background: rgba(255,255,255,.08);
  color: #fff; display: grid; place-items: center; position: relative; transition: background .18s;
}
.icon-btn:active { background: rgba(255,255,255,.18); }
.icon-btn .dot { position: absolute; top: 8px; right: 8px; width: 8px; height: 8px; border-radius: 50%; background: #ff4d5e; border: 2px solid #0a336b; }
.header-avatar { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, #f5c04a, #ee7c1b); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 14px; border: 2px solid rgba(255,255,255,.35); }
.header-back { width: 40px; height: 40px; border-radius: 12px; border: 0; background: rgba(255,255,255,.08); color: #fff; display: grid; place-items: center; margin-left: -4px; }
.header-page-title { font-size: 17px; font-weight: 800; letter-spacing: .5px; }
.header-page-sub { font-size: 10.5px; color: rgba(255,255,255,.6); }

.main { padding: 16px 14px 24px; }
.page { animation: pageIn .22s ease both; }
@keyframes pageIn { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin: 2px 2px 14px; }
.page-head h1 { margin: 0; font-size: 23px; letter-spacing: .5px; font-weight: 800; }
.page-head p { margin: 4px 0 0; color: var(--muted); font-size: 12.5px; }
.page-head .seg { flex: 0 0 auto; }
.page-head .seg button { flex: none; white-space: nowrap; }

/* tabbar */
.tabbar {
  position: fixed; left: 50%; bottom: 0; transform: translateX(-50%); width: 100%; max-width: 760px;
  background: rgba(255,255,255,.96); backdrop-filter: blur(16px);
  border-top: 1px solid rgba(227,233,242,.9); z-index: 50;
  display: grid; grid-template-columns: repeat(5, 1fr);
  padding: 7px 6px calc(7px + var(--safe-bottom));
}
@media (min-width: 820px) { .tabbar { position: sticky; border-radius: 0 0 28px 28px; } }
.tab {
  border: 0; background: transparent; color: var(--muted-2); display: flex; flex-direction: column;
  align-items: center; gap: 3px; padding: 5px 0 4px; border-radius: 12px; font-size: 10px; font-weight: 600;
  position: relative; transition: color .18s, background .18s;
}
.tab.active { color: var(--blue); background: #eef5ff; }
.tab svg { width: 22px; height: 22px; }
.tab .tab-dot { position: absolute; top: 3px; left: 50%; margin-left: 8px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: var(--red); color: #fff; font-size: 9px; display: grid; place-items: center; border: 2px solid #fff; }
.tab-fab {
  position: absolute; top: -24px; left: 50%; transform: translateX(-50%); width: 54px; height: 54px;
  border-radius: 50%; border: 4px solid var(--bg); background: linear-gradient(135deg, var(--red), #c4000f);
  color: #fff; display: grid; place-items: center; box-shadow: 0 8px 20px rgba(230,0,18,.35);
}

/* cards / general */
.card { background: var(--card); border: 1px solid rgba(227,233,242,.9); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.card-pad { padding: 16px; }
.card + .card { margin-top: 12px; }
.section { margin-top: 18px; }
.section-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 2px 10px; }
.section-title h2 { margin: 0; font-size: 15px; font-weight: 800; letter-spacing: .3px; }
.section-title .link { border: 0; background: transparent; color: var(--blue); font-size: 12px; font-weight: 600; padding: 4px; }
.divider { height: 1px; background: var(--line-2); margin: 12px 0; }
.pill { display: inline-flex; align-items: center; gap: 4px; border-radius: 999px; padding: 4px 9px; font-size: 11px; font-weight: 700; line-height: 1.2; white-space: nowrap; }
.pill-blue { background: #e9f2ff; color: var(--blue); }
.pill-red { background: var(--red-soft); color: #bd0010; }
.pill-green { background: var(--green-soft); color: var(--green); }
.pill-amber { background: var(--amber-soft); color: var(--amber); }
.pill-gray { background: #eef2f7; color: #617087; }
.pill-dark { background: rgba(7,51,107,.92); color: #fff; }
.badge { display: inline-flex; align-items: center; border-radius: 8px; padding: 3px 7px; font-size: 10px; font-weight: 700; }

/* buttons */
.btn {
  border: 0; border-radius: 12px; padding: 12px 16px; font-weight: 700; font-size: 14px;
  background: #eef2f8; color: var(--ink); display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  transition: transform .12s, opacity .2s, background .2s; white-space: nowrap;
}
.btn:active { transform: scale(.985); }
.btn:disabled { opacity: .5; }
.btn-primary { background: linear-gradient(135deg, var(--blue), #0064cf); color: #fff; box-shadow: 0 7px 16px rgba(0,75,155,.22); }
.btn-red { background: linear-gradient(135deg, #e60012, #c2000f); color: #fff; box-shadow: 0 7px 16px rgba(230,0,18,.2); }
.btn-ghost { background: #fff; border: 1px solid var(--line); color: var(--ink-2); }
.btn-soft { background: #eaf3ff; color: var(--blue); }
.btn-danger { background: var(--red-soft); color: #b8000f; }
.btn-sm { padding: 8px 12px; font-size: 12.5px; border-radius: 10px; }
.btn-xs { padding: 6px 9px; font-size: 11.5px; border-radius: 8px; }
.btn-block { width: 100%; }
.btn-row { display: flex; gap: 9px; }
.btn-row > .btn { flex: 1; }
.fab {
  position: fixed; right: max(18px, calc((100vw - 760px)/2 + 18px)); bottom: calc(92px + var(--safe-bottom));
  width: 56px; height: 56px; border-radius: 50%; border: 0; color: #fff;
  background: linear-gradient(135deg, #e60012, #c0000f); box-shadow: 0 14px 30px rgba(230,0,18,.32);
  display: grid; place-items: center; z-index: 45;
}
.fab:active { transform: scale(.95); }

/* forms */
.field { margin-bottom: 15px; }
.field:last-child { margin-bottom: 0; }
.field > label, .label { display: block; font-size: 12.5px; font-weight: 700; color: var(--ink-2); margin-bottom: 7px; }
.label-hint { font-weight: 400; color: var(--muted); font-size: 11px; }
.input, .select, .textarea {
  width: 100%; border: 1.5px solid var(--line); background: #f9fbfe; border-radius: 12px;
  padding: 12px 13px; outline: none; font-size: 15px; transition: border-color .18s, box-shadow .18s, background .18s;
}
.input:focus, .select:focus, .textarea:focus { border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(0,75,155,.08); }
.textarea { min-height: 88px; resize: vertical; }
.select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%236d7d92' stroke-width='2'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 13px center; padding-right: 38px; }
.input-date { min-height: 46px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 380px) { .form-grid { grid-template-columns: 1fr; } }
.form-hint { color: var(--muted); font-size: 11.5px; margin-top: 6px; line-height: 1.6; }
.required::after { content: " *"; color: var(--red); }
.seg { display: flex; background: #eef2f8; border-radius: 12px; padding: 3px; gap: 3px; }
.seg button { flex: 1; border: 0; background: transparent; border-radius: 9px; padding: 9px 6px; font-size: 12.5px; font-weight: 700; color: var(--muted); }
.seg button.active { background: #fff; color: var(--blue); box-shadow: 0 2px 8px rgba(15,39,74,.08); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  border: 1.5px solid var(--line); background: #fff; border-radius: 10px; padding: 9px 12px;
  font-size: 13px; font-weight: 600; color: var(--ink-2); transition: all .16s; display: inline-flex; align-items: center; gap: 6px;
}
.chip.active { border-color: var(--blue); background: #eaf3ff; color: var(--blue); box-shadow: 0 0 0 2px rgba(0,75,155,.07); }
.chip-sm { padding: 6px 9px; font-size: 11.5px; border-radius: 8px; }
.checkbox { display: flex; align-items: flex-start; gap: 9px; font-size: 12.5px; color: var(--ink-2); line-height: 1.6; }
.checkbox input { width: 18px; height: 18px; accent-color: var(--red); margin-top: 1px; flex: 0 0 auto; }
.stepper { display: flex; align-items: center; gap: 0; border: 1.5px solid var(--line); border-radius: 12px; overflow: hidden; width: 150px; background: #fff; }
.stepper button { width: 44px; height: 44px; border: 0; background: #f5f8fc; color: var(--blue); font-size: 22px; font-weight: 600; }
.stepper input { width: 62px; height: 44px; border: 0; text-align: center; font-size: 17px; font-weight: 800; outline: none; }
.quick-nums { display: flex; gap: 6px; flex-wrap: wrap; }
.quick-nums button { border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: 6px 10px; font-size: 12px; font-weight: 600; color: var(--muted); }
.quick-nums button.active { border-color: var(--blue); color: var(--blue); background: #eaf3ff; }

/* team colors */
.team-jia { --tc: #cf1020; --tbg: #ffecee; --tline: #ffd3d7; }
.team-yi { --tc: #0759b8; --tbg: #eaf3ff; --tline: #cfe3ff; }
.team-bing { --tc: #0a7a51; --tbg: #e9f7f0; --tline: #c9ecdb; }
.team-tag { display: inline-flex; align-items: center; gap: 4px; border-radius: 7px; padding: 3px 7px; font-size: 11px; font-weight: 800; color: var(--tc); background: var(--tbg); border: 1px solid var(--tline); white-space: nowrap; }
.team-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--tc); display: inline-block; }

/* calendar */
.cal-card { padding: 14px 12px 12px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 4px 12px; }
.cal-month { font-size: 19px; font-weight: 800; letter-spacing: .5px; }
.cal-nav { display: flex; align-items: center; gap: 4px; }
.cal-nav button { width: 34px; height: 34px; border-radius: 10px; border: 0; background: #f3f6fb; color: var(--ink-2); display: grid; place-items: center; }
.cal-today { border: 0; background: #eaf3ff; color: var(--blue); border-radius: 9px; padding: 7px 10px; font-size: 11.5px; font-weight: 700; }
.cal-dow { display: grid; grid-template-columns: repeat(7, 1fr); margin-bottom: 2px; }
.cal-dow div { text-align: center; font-size: 10.5px; color: var(--muted); font-weight: 600; padding: 5px 0; }
.cal-dow div.weekend { color: #c56a6a; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-cell {
  position: relative; min-height: 57px; border: 1px solid transparent; border-radius: 11px;
  background: #f8fafd; padding: 6px 4px 5px; text-align: left; display: flex; flex-direction: column; align-items: center;
  transition: background .16s, border-color .16s, transform .12s; overflow: hidden;
}
.cal-cell:active { transform: scale(.96); }
.cal-cell.blank { background: transparent; pointer-events: none; }
.cal-cell.other { opacity: .45; }
.cal-cell.today { border-color: #ffc9ce; background: #fff7f8; }
.cal-cell.selected { border-color: var(--blue); background: #eaf3ff; box-shadow: 0 0 0 2px rgba(0,75,155,.08); }
.cal-cell .d { font-size: 13px; font-weight: 700; color: var(--ink); line-height: 1.1; }
.cal-cell.today .d { color: var(--red); }
.cal-cell.selected .d { color: var(--blue); }
.cal-cell .teams { display: flex; gap: 2px; margin-top: 5px; flex-wrap: wrap; justify-content: center; }
.cal-cell .tm { font-size: 9px; font-weight: 800; border-radius: 4px; padding: 1px 3px; line-height: 1.35; }
.cal-cell .tm.day { background: #fff; border: 1px solid #d8e3f2; color: #40546e; }
.cal-cell .tm.night { background: #20344f; border: 1px solid #20344f; color: #fff; }
.cal-cell .req-dot { position: absolute; top: 4px; right: 4px; width: 6px; height: 6px; border-radius: 50%; background: #e60012; }
.cal-cell .cnt { position: absolute; bottom: 3px; right: 3px; font-size: 8px; font-weight: 800; color: #b45309; background: #fff3df; border-radius: 4px; padding: 0 3px; }
.cal-legend { display: flex; gap: 12px; justify-content: center; padding: 10px 0 0; font-size: 10px; color: var(--muted); }
.cal-legend span { display: inline-flex; align-items: center; gap: 4px; }
.cal-legend i { width: 10px; height: 6px; border-radius: 2px; display: inline-block; }

/* day panel */
.day-panel { margin-top: 12px; overflow: hidden; }
.day-head { padding: 15px 16px 12px; display: flex; align-items: center; justify-content: space-between; gap: 10px; border-bottom: 1px solid var(--line-2); }
.day-date { font-size: 17px; font-weight: 800; }
.day-date small { font-size: 12px; font-weight: 600; color: var(--muted); margin-left: 6px; }
.day-row { padding: 13px 16px; border-bottom: 1px solid var(--line-2); }
.day-row:last-child { border-bottom: 0; }
.day-row-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 9px; }
.day-line-name { font-size: 13px; font-weight: 800; }
.shift-line { display: flex; align-items: center; gap: 7px; padding: 5px 0; font-size: 12px; color: var(--ink-2); }
.shift-line .shift-tag { width: 38px; flex: 0 0 auto; font-size: 10px; font-weight: 800; color: var(--muted); }
.shift-line .time { margin-left: auto; color: var(--muted); font-size: 10.5px; }
.off-line { padding: 7px 0 1px; font-size: 11.5px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.eligibility { margin: 0 16px 14px; border-radius: 12px; background: #f2f8ff; border: 1px solid #dcecff; padding: 10px 12px; font-size: 11.5px; color: #28527e; line-height: 1.6; }
.eligibility.warn { background: #fff8e8; border-color: #ffe6b8; color: #8a5300; }
.day-requests { padding: 0 16px 14px; }
.mini-req { display: flex; align-items: center; gap: 8px; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 12px; }
.mini-req:last-child { border-bottom: 0; }
.mini-req .grow { min-width: 0; }

/* request cards */
.req-card { padding: 14px 14px 13px; display: block; width: 100%; text-align: left; border: 1px solid rgba(227,233,242,.9); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: transform .12s, border-color .16s; }
.req-card:active { transform: scale(.99); }
.req-card + .req-card { margin-top: 10px; }
.req-top { display: flex; align-items: flex-start; gap: 11px; }
.req-date { width: 54px; flex: 0 0 auto; text-align: center; border-radius: 11px; background: #f3f7fd; padding: 7px 3px 6px; }
.req-date .m { font-size: 9px; color: var(--muted); font-weight: 700; }
.req-date .d { font-size: 20px; font-weight: 800; color: var(--blue); line-height: 1.15; }
.req-date .w { font-size: 9px; color: var(--muted); }
.req-main { flex: 1; min-width: 0; }
.req-title { font-size: 14px; font-weight: 800; line-height: 1.35; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.req-meta { margin-top: 5px; font-size: 11.5px; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; }
.req-jobs { margin-top: 7px; display: flex; gap: 5px; flex-wrap: wrap; }
.req-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 10px; padding-top: 9px; border-top: 1px dashed var(--line); font-size: 11px; color: var(--muted); }
.req-avatars { display: flex; align-items: center; }
.req-avatars .a { width: 21px; height: 21px; border-radius: 50%; background: #dbe8fb; color: var(--blue); display: grid; place-items: center; font-size: 9px; font-weight: 800; border: 2px solid #fff; margin-left: -5px; }
.req-avatars .a:first-child { margin-left: 0; }
.req-avatars .more { font-size: 10px; color: var(--muted); margin-left: 4px; }
.status { display: inline-flex; align-items: center; gap: 4px; font-size: 10.5px; font-weight: 800; border-radius: 7px; padding: 4px 7px; white-space: nowrap; }
.status.pending { background: #fff4e0; color: #9b5a00; }
.status.help { background: #ffe9e9; color: #b41515; }
.status.assigned { background: #eaf3ff; color: #0759b8; }
.status.confirmed { background: #e8f7ef; color: #087148; }
.status.closed { background: #eef2f7; color: #5f6f85; }
.status.cancelled { background: #f0f2f5; color: #8a96a6; }

/* filters */
.filter-row { display: flex; gap: 7px; overflow-x: auto; padding: 2px 0 12px; scrollbar-width: none; }
.filter-row::-webkit-scrollbar { display: none; }
.filter-chip { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 7px 12px; font-size: 12px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.filter-chip.active { background: var(--blue); border-color: var(--blue); color: #fff; }

/* empty / loading */
.empty { padding: 46px 20px; text-align: center; color: var(--muted); }
.empty .icon { width: 60px; height: 60px; margin: 0 auto 12px; border-radius: 20px; background: #edf3fb; display: grid; place-items: center; color: #9bb1ca; }
.empty h3 { margin: 0 0 5px; color: var(--ink-2); font-size: 14px; }
.empty p { margin: 0; font-size: 12px; line-height: 1.7; }
.skeleton-card { height: 92px; margin-bottom: 10px; }

/* notifications */
.notif-card { display: flex; gap: 11px; padding: 13px 14px; }
.notif-card + .notif-card { border-top: 1px solid var(--line-2); }
.notif-icon { width: 37px; height: 37px; border-radius: 11px; flex: 0 0 auto; display: grid; place-items: center; background: #eaf3ff; color: var(--blue); }
.notif-icon.red { background: var(--red-soft); color: var(--red); }
.notif-icon.green { background: var(--green-soft); color: var(--green); }
.notif-icon.amber { background: var(--amber-soft); color: var(--amber); }
.notif-body { flex: 1; min-width: 0; }
.notif-title { font-size: 13px; font-weight: 700; display: flex; align-items: center; gap: 6px; }
.notif-title .unread-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--red); flex: 0 0 auto; }
.notif-text { font-size: 11.8px; color: var(--muted); margin-top: 3px; line-height: 1.55; }
.notif-time { font-size: 10px; color: var(--muted-2); margin-top: 5px; }
.permission-banner { background: linear-gradient(135deg, #0a356b, #06498f); color: #fff; border-radius: var(--radius); padding: 15px 16px; display: flex; align-items: center; gap: 12px; margin-bottom: 14px; box-shadow: 0 12px 24px rgba(7,51,107,.16); }
.permission-banner .ic { width: 38px; height: 38px; border-radius: 12px; background: rgba(255,255,255,.12); display: grid; place-items: center; flex: 0 0 auto; }
.permission-banner h3 { margin: 0; font-size: 13px; }
.permission-banner p { margin: 3px 0 0; font-size: 10.5px; color: rgba(255,255,255,.68); line-height: 1.5; }
.permission-banner button { border: 0; border-radius: 9px; background: #fff; color: var(--blue); padding: 8px 10px; font-size: 11px; font-weight: 800; flex: 0 0 auto; }

/* stats */
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.stat { background: #fff; border: 1px solid rgba(227,233,242,.9); border-radius: 14px; padding: 13px 10px; text-align: center; box-shadow: var(--shadow-sm); }
.stat-btn { width: 100%; cursor: pointer; color: var(--ink); }
.stat-btn:active { transform: scale(.98); }
.awareness { display: flex; align-items: center; gap: 13px; color: var(--green); background: #f3fbf7; border-color: #d9f0e3; }
.awareness b { color: var(--ink); font-size: 13px; }
.quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; }
.quick { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 13px 6px; display: flex; flex-direction: column; align-items: center; gap: 7px; color: var(--blue); font-size: 11.5px; font-weight: 700; box-shadow: var(--shadow-sm); }
.quick span { color: var(--ink-2); }
.form-item { border: 1px solid var(--line); background: #fbfcfe; border-radius: 14px; padding: 13px; margin-bottom: 13px; }
.form-item-head { margin-bottom: 12px; }
.form-item .ft { font-size: 13px; }
.form-item .stepper { width: 130px; }
.form-item .quick-nums button { padding: 5px 7px; font-size: 10.5px; }
.stat .n { font-size: 22px; font-weight: 800; color: var(--blue); line-height: 1.2; }
.stat .n.red { color: var(--red); }
.stat .n.green { color: var(--green); }
.stat .l { font-size: 10px; color: var(--muted); margin-top: 3px; }
.month-bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 14px 0 11px; }
.month-bar .m { font-size: 18px; font-weight: 800; }
.month-bar .nav { display: flex; gap: 5px; }
.month-bar .nav button { width: 32px; height: 32px; border-radius: 9px; border: 0; background: #fff; box-shadow: var(--shadow-sm); color: var(--ink-2); display: grid; place-items: center; }
.ledger-list { padding: 2px 14px; }
.ledger-row { display: flex; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line-2); }
.ledger-row:last-child { border-bottom: 0; }
.ledger-avatar { width: 34px; height: 34px; border-radius: 50%; background: #eaf3ff; color: var(--blue); display: grid; place-items: center; font-size: 12px; font-weight: 800; flex: 0 0 auto; }
.ledger-main { flex: 1; min-width: 0; }
.ledger-name { font-size: 13px; font-weight: 700; display: flex; align-items: center; gap: 6px; }
.ledger-sub { font-size: 10.5px; color: var(--muted); margin-top: 2px; }
.ledger-hours { font-size: 12px; font-weight: 800; color: var(--blue); text-align: right; }
.ledger-hours small { display: block; font-size: 9px; color: var(--muted); font-weight: 400; }
.bars { padding: 2px 0; }
.bar-row { display: flex; align-items: center; gap: 9px; padding: 7px 0; font-size: 11.5px; }
.bar-row .name { width: 60px; color: var(--ink-2); flex: 0 0 auto; }
.bar-row .track { flex: 1; height: 7px; border-radius: 4px; background: #eef2f8; overflow: hidden; }
.bar-row .fill { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, #0064cf, #004b9b); }
.bar-row .num { width: 40px; text-align: right; color: var(--muted); font-size: 10px; flex: 0 0 auto; }

/* detail */
.detail-hero { border-radius: 18px; padding: 17px 16px; color: #fff; background: linear-gradient(135deg, #092c58, #064b96); box-shadow: 0 14px 30px rgba(7,51,107,.18); position: relative; overflow: hidden; }
.detail-hero::after { content: ""; position: absolute; width: 180px; height: 180px; border-radius: 50%; border: 1px solid rgba(255,255,255,.14); right: -70px; top: -70px; }
.detail-hero .dh-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.detail-hero .dh-date { font-size: 22px; font-weight: 800; letter-spacing: .5px; }
.detail-hero .dh-sub { font-size: 11.5px; color: rgba(255,255,255,.68); margin-top: 4px; }
.detail-hero .status { background: rgba(255,255,255,.14); color: #fff; }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line-2); border-radius: 14px; overflow: hidden; margin-top: 12px; }
.detail-grid .cell { background: #fff; padding: 11px 12px; }
.detail-grid .k { font-size: 10px; color: var(--muted); }
.detail-grid .v { font-size: 12.5px; font-weight: 700; margin-top: 3px; line-height: 1.45; }
.assign-list { display: flex; flex-direction: column; gap: 8px; }
.assign-item { display: flex; align-items: center; gap: 10px; background: #f8fafd; border: 1px solid var(--line-2); border-radius: 12px; padding: 10px 11px; }
.assign-item { padding: 12px; }
.assign-item .av { width: 38px; height: 38px; border-radius: 50%; background: #e8f1fe; color: var(--blue); display: grid; place-items: center; font-size: 13px; font-weight: 800; flex: 0 0 auto; }
.assign-item .nm { font-size: 15px; font-weight: 800; }
.assign-item .sub { font-size: 12px; color: var(--muted); margin-top: 3px; }
.progress { height: 7px; background: #eef2f8; border-radius: 4px; overflow: hidden; }
.progress > i { display: block; height: 100%; background: linear-gradient(90deg, #0064cf, #22a06b); border-radius: 4px; }
.timeline { position: relative; padding-left: 18px; }
.timeline::before { content: ""; position: absolute; left: 4px; top: 5px; bottom: 5px; width: 1px; background: #dde6f2; }
.tl-item { position: relative; padding: 0 0 13px; font-size: 11.5px; color: var(--muted); line-height: 1.55; }
.tl-item::before { content: ""; position: absolute; left: -17px; top: 5px; width: 7px; height: 7px; border-radius: 50%; background: #b8c8db; border: 2px solid #fff; box-shadow: 0 0 0 1px #dbe5f1; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item b { color: var(--ink-2); font-weight: 700; }
.tl-time { font-size: 9.5px; color: var(--muted-2); margin-top: 2px; }
.sticky-actions { position: sticky; bottom: calc(8px + var(--safe-bottom)); margin-top: 18px; background: rgba(255,255,255,.95); backdrop-filter: blur(10px); border: 1px solid var(--line); border-radius: 16px; padding: 9px; box-shadow: 0 10px 30px rgba(15,39,74,.12); display: flex; gap: 8px; z-index: 20; }
.sticky-actions .btn { flex: 1; }

/* sub page header */
.sub-header { position: sticky; top: 0; z-index: 40; background: linear-gradient(135deg, #071f3d, #073e78); color: #fff; padding-top: var(--safe-top); }
.sub-header-inner { display: flex; align-items: center; gap: 8px; padding: 10px 12px; min-height: 56px; }
.sub-header h1 { margin: 0; font-size: 16px; font-weight: 800; flex: 1; }
.sub-header .icon-btn { background: rgba(255,255,255,.08); }

/* form page */
.form-page { padding-bottom: 100px; }
.form-card { padding: 16px 15px; }
.form-card + .form-card { margin-top: 12px; }
.form-card .ft { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 800; margin-bottom: 13px; }
.form-card .ft .n { width: 22px; height: 22px; border-radius: 50%; background: #eaf3ff; color: var(--blue); display: grid; place-items: center; font-size: 11px; }
.target-box { border-radius: 14px; border: 1px solid #dcecff; background: #f3f9ff; padding: 13px; }
.target-box.warn { border-color: #ffe0a8; background: #fffaf0; }
.target-box .tt { font-size: 12.5px; font-weight: 800; display: flex; align-items: center; gap: 6px; }
.target-box .td { font-size: 11px; color: var(--muted); margin-top: 4px; line-height: 1.6; }
.target-box .people { margin-top: 8px; display: flex; gap: 5px; flex-wrap: wrap; }
.form-bottom { position: sticky; bottom: calc(8px + var(--safe-bottom)); margin-top: 16px; z-index: 20; }
.form-bottom .btn { width: 100%; padding: 15px; border-radius: 15px; font-size: 15px; }

/* search + people picker */
.search-box { position: relative; }
.search-box input { padding-left: 40px; }
.search-box svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.person-list { max-height: 46vh; overflow-y: auto; margin-top: 8px; border: 1px solid var(--line-2); border-radius: 13px; }
.person-option { display: flex; align-items: center; gap: 10px; padding: 10px 11px; border-bottom: 1px solid var(--line-2); background: #fff; width: 100%; text-align: left; }
.person-option:last-child { border-bottom: 0; }
.person-option .av { width: 32px; height: 32px; border-radius: 50%; background: #eaf3ff; color: var(--blue); display: grid; place-items: center; font-size: 12px; font-weight: 800; flex: 0 0 auto; }
.person-option .nm { font-size: 13px; font-weight: 700; }
.person-option .sub { font-size: 10px; color: var(--muted); margin-top: 1px; }
.person-option .warn { font-size: 9.5px; color: #a35a00; margin-top: 2px; }
.person-option.selected { background: #eef6ff; }
.assign-editor { display: flex; flex-direction: column; gap: 9px; }
.manual-assign { border: 1px dashed #b9cee8; border-radius: 14px; padding: 12px; background: #f7fbff; }
.manual-assign .btn-block { margin-top: 10px; }
.arrange-state { display: inline-flex; align-items: center; gap: 5px; padding: 7px 10px; border-radius: 11px; font-size: 15px; font-weight: 800; white-space: nowrap; }
.arrange-state b { font-size: 15px; }
.arrange-state.full { color: #087a4b; background: #e9f8f1; border: 1px solid #b7e6cf; }
.arrange-state.partial { color: #9a5a00; background: #fff4df; border: 1px solid #f0d29b; }
.arrange-state.none { color: #a22a2a; background: #fff0f0; border: 1px solid #f0c4c4; }
.arrange-state.unable { color: #fff; background: #b3261e; border: 1px solid #b3261e; }
.batch-card { margin: 12px 0; padding: 12px; border: 1px solid #dbe7f5; border-radius: 14px; background: linear-gradient(135deg, #f7fbff, #eef6ff); }
.batch-head { display: flex; justify-content: space-between; gap: 8px; align-items: flex-start; }
.batch-counts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }
.batch-counts .bc { font-size: 11.5px; font-weight: 800; padding: 4px 7px; border-radius: 8px; }
.batch-counts .green { color: #087a4b; background: #e4f7ee; }
.batch-counts .amber { color: #9a5a00; background: #fff0d4; }
.batch-counts .red { color: #a22a2a; background: #ffe6e6; }
.batch-counts .gray { color: #64748b; background: #eef2f7; }
.planning-card { display: flex; gap: 10px; align-items: flex-start; padding: 13px; border: 1px solid #b9d7f7; background: linear-gradient(135deg, #f2f8ff, #e8f3ff); color: #07336b; }
.planning-card .grow { min-width: 0; }
.planning-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.assignee-brief { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 10px; padding-top: 9px; border-top: 1px dashed var(--line-2); }
.assignee-brief.empty { display: block; color: var(--muted); font-size: 12px; }
.assignee-chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 10px; border-radius: 10px; background: #eef5ff; border: 1px solid #d8e6fa; }
.assignee-chip b { font-size: 15px; line-height: 1.2; color: #0a2a52; }
.assignee-chip small { font-size: 11px; color: #42658d; }
.confirm-banner { width: 100%; display: flex; align-items: center; gap: 12px; text-align: left; border: 1px solid #f0c36b; background: linear-gradient(135deg,#fff8e7,#fffdf7); color: #7a4b00; padding: 14px; margin-bottom: 14px; cursor: pointer; }
.confirm-banner .small { color: #8a641e; margin-top: 3px; }
.assign-index { font-size: 11px; font-weight: 800; color: var(--primary); margin-bottom: 7px; }
.row-pick { flex: 0 0 auto; white-space: nowrap; padding: 8px 9px; font-size: 11.5px; }
.assign-edit-row { border: 1px solid var(--line); border-radius: 13px; padding: 10px; background: #fbfcfe; margin-bottom: 9px; }
.assign-edit-row .top { display: flex; align-items: center; gap: 8px; }
.assign-edit-row .top .input { padding: 8px 10px; font-size: 13px; font-weight: 700; }
.assign-edit-row .bottom { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-top: 7px; }
.assign-edit-row .bottom .select, .assign-edit-row .bottom .input { padding: 8px 10px; font-size: 12px; }
.remove-x { width: 30px; height: 30px; border: 0; border-radius: 9px; background: #fff; color: #b8000f; display: grid; place-items: center; flex: 0 0 auto; }

/* profile */
.profile-card { background: linear-gradient(135deg, #092c58, #0753a2); color: #fff; border-radius: 20px; padding: 18px 16px; position: relative; overflow: hidden; box-shadow: 0 14px 30px rgba(7,51,107,.18); }
.profile-card::after { content: ""; position: absolute; width: 170px; height: 170px; border-radius: 50%; border: 1px solid rgba(255,255,255,.13); right: -50px; bottom: -100px; }
.profile-top { display: flex; align-items: center; gap: 13px; position: relative; z-index: 1; }
.profile-avatar { width: 58px; height: 58px; border-radius: 18px; background: linear-gradient(135deg, #f5c04a, #ee7c1b); display: grid; place-items: center; font-size: 23px; font-weight: 800; border: 2px solid rgba(255,255,255,.32); }
.profile-name { font-size: 20px; font-weight: 800; letter-spacing: .5px; }
.profile-title { font-size: 11px; color: rgba(255,255,255,.68); margin-top: 3px; }
.profile-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 13px; position: relative; z-index: 1; }
.profile-tags .pt { border-radius: 7px; padding: 4px 7px; background: rgba(255,255,255,.12); font-size: 10px; color: rgba(255,255,255,.9); }
.menu-list { overflow: hidden; }
.menu-item { display: flex; align-items: center; gap: 11px; padding: 14px 15px; border-bottom: 1px solid var(--line-2); background: #fff; width: 100%; text-align: left; border-left: 0; border-right: 0; border-top: 0; }
.menu-item:last-child { border-bottom: 0; }
.menu-item .mi { width: 34px; height: 34px; border-radius: 10px; background: #eef4fc; color: var(--blue); display: grid; place-items: center; flex: 0 0 auto; }
.menu-item .mt { flex: 1; font-size: 13px; font-weight: 600; }
.menu-item .ms { font-size: 10.5px; color: var(--muted); margin-top: 1px; font-weight: 400; }
.menu-item .chev { color: #b1bfd0; }
.menu-item.danger .mi { background: var(--red-soft); color: var(--red); }
.menu-item.danger .mt { color: #b8000f; }

/* modal / sheet */
.modal-backdrop, .sheet-backdrop { position: fixed; inset: 0; background: rgba(8,22,42,.5); z-index: 200; display: flex; align-items: center; justify-content: center; padding: 20px; animation: fadeIn .16s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal { width: 100%; max-width: 400px; background: #fff; border-radius: 20px; padding: 20px 18px 16px; box-shadow: 0 30px 80px rgba(0,0,0,.28); animation: modalIn .2s ease; max-height: 86vh; overflow-y: auto; }
@keyframes modalIn { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
.modal h2 { margin: 0 0 6px; font-size: 18px; }
.modal p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.modal .actions { display: flex; gap: 8px; margin-top: 18px; }
.modal .actions .btn { flex: 1; }
.modal .modal-icon { width: 48px; height: 48px; border-radius: 15px; background: #fff4e0; color: #b45309; display: grid; place-items: center; margin-bottom: 12px; }
.sheet-backdrop { align-items: flex-end; padding: 0; }
.sheet { width: 100%; max-width: 760px; background: #fff; border-radius: 22px 22px 0 0; padding: 10px 16px calc(18px + var(--safe-bottom)); max-height: 88vh; overflow-y: auto; animation: sheetIn .24s ease; }
@keyframes sheetIn { from { transform: translateY(100%); } to { transform: none; } }
.sheet-handle { width: 38px; height: 4px; border-radius: 2px; background: #dbe3ee; margin: 4px auto 12px; }
.sheet h2 { margin: 0 0 4px; font-size: 18px; }
.sheet .sheet-sub { color: var(--muted); font-size: 12px; margin-bottom: 14px; }

/* toast */
.toast-wrap { position: fixed; left: 50%; bottom: calc(92px + var(--safe-bottom)); transform: translateX(-50%); z-index: 300; display: flex; flex-direction: column; gap: 8px; width: calc(100% - 32px); max-width: 420px; pointer-events: none; }
.toast { background: rgba(12,30,54,.94); color: #fff; border-radius: 12px; padding: 11px 14px; font-size: 12.5px; line-height: 1.55; box-shadow: 0 12px 30px rgba(0,0,0,.2); display: flex; align-items: flex-start; gap: 8px; animation: toastIn .22s ease; pointer-events: auto; }
.toast.success { background: rgba(6,92,61,.96); }
.toast.error { background: rgba(150,10,20,.96); }
.toast .tic { flex: 0 0 auto; margin-top: 1px; }
@keyframes toastIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* install banner */
.install-banner { position: fixed; left: 50%; bottom: calc(82px + var(--safe-bottom)); transform: translateX(-50%); width: calc(100% - 24px); max-width: 520px; z-index: 60; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 18px 40px rgba(15,39,74,.18); padding: 11px 12px; display: flex; align-items: center; gap: 10px; animation: toastIn .3s ease; }
.install-banner .ib-icon { width: 36px; height: 36px; border-radius: 10px; background: #eaf3ff; color: var(--blue); display: grid; place-items: center; flex: 0 0 auto; }
.install-banner .ib-text { flex: 1; font-size: 11px; color: var(--muted); line-height: 1.45; }
.install-banner .ib-text b { color: var(--ink); font-size: 12px; display: block; }
.install-banner .ib-close { border: 0; background: #f2f5fa; border-radius: 8px; width: 28px; height: 28px; color: var(--muted); display: grid; place-items: center; flex: 0 0 auto; }

/* misc */
.notice { border-radius: 12px; padding: 11px 12px; font-size: 11.5px; line-height: 1.6; background: #f3f7fd; color: var(--muted); border: 1px solid var(--line-2); }
.notice.warn { background: #fff8e8; border-color: #ffe6b8; color: #8a5300; }
.notice.danger { background: var(--red-soft); border-color: #ffd3d7; color: #a3000d; }
.kv { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; font-size: 12px; border-bottom: 1px dashed var(--line-2); }
.kv:last-child { border-bottom: 0; }
.kv .k { color: var(--muted); }
.kv .v { font-weight: 600; text-align: right; }
.code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 11px; background: #f2f5fa; border-radius: 7px; padding: 4px 7px; word-break: break-all; }
.install-steps { counter-reset: s; padding: 0; margin: 0; list-style: none; }
.install-steps li { counter-increment: s; position: relative; padding: 0 0 14px 34px; font-size: 12.5px; color: var(--ink-2); line-height: 1.65; }
.install-steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 23px; height: 23px; border-radius: 50%; background: #eaf3ff; color: var(--blue); display: grid; place-items: center; font-size: 11px; font-weight: 800; }
.install-steps li:last-child { padding-bottom: 0; }
.install-steps b { color: var(--ink); }
.sep-dot { color: #c3cede; margin: 0 3px; }
.copy-row { display: flex; gap: 7px; align-items: center; }
.copy-row .code { flex: 1; }
.hint-icon { vertical-align: -2px; margin-right: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
