:root{font-family:Inter,"Microsoft YaHei",PingFang SC,sans-serif;color:#17253c;background:#f4f6fa;font-size:14px}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}h1,h2,h3,p{margin-top:0}.hidden{display:none!important}.muted{color:#66758d}.eyebrow{font-size:11px;letter-spacing:.16em;text-transform:uppercase;color:#fb704c;font-weight:800;margin:0 0 8px}.brand-mark{width:54px;height:54px;border-radius:16px;background:#fb6746;color:white;display:grid;place-items:center;font-size:25px;font-weight:900;box-shadow:0 12px 28px #e84c282d}.brand-mark.small{width:36px;height:36px;border-radius:11px;font-size:18px;box-shadow:none}.button{border:1px solid transparent;border-radius:10px;padding:10px 15px;font-weight:700;background:white;color:#203654;white-space:nowrap}.button.primary{background:#f76142;color:#fff;box-shadow:0 7px 15px #f761422b}.button.primary:hover{background:#e74e30}.button.secondary{border-color:#dce3eb;background:#fff}.button.secondary:hover{border-color:#99a9be}.button.ghost{background:#eef3f9;color:#244466}.button.danger{color:#b32828;background:#fff0f0;border-color:#ffd8d8}.button.small{padding:6px 10px;border-radius:7px;font-size:12px}.button.large{padding:13px 24px}.button:disabled{opacity:.5;cursor:not-allowed}.text-button{border:0;background:none;color:#b8c8dc;text-align:left;padding:4px 0}.login-screen{min-height:100vh;background:linear-gradient(120deg,#1c3558 0%,#294a6f 54%,#213755 100%);display:grid;place-items:center;padding:24px}.login-screen:before{content:"";position:absolute;width:380px;height:380px;border:1px solid #ffffff14;border-radius:50%;left:8%;top:14%;box-shadow:0 0 0 70px #ffffff09,0 0 0 140px #ffffff05}.login-card{position:relative;width:min(430px,100%);background:#fff;border-radius:22px;padding:44px;box-shadow:0 30px 80px #08162966}.login-card h1{font-size:30px;letter-spacing:-.03em;margin:13px 0}.login-card .muted{line-height:1.8;margin-bottom:26px}.login-message{min-height:20px;color:#b3342e;margin:18px 0 0}.shell{display:grid;grid-template-columns:232px minmax(0,1fr);min-height:100vh}.sidebar{background:#1e385b;color:#e7eef8;padding:24px 16px;display:flex;flex-direction:column;position:sticky;top:0;height:100vh}.sidebar-brand{display:flex;gap:11px;align-items:center;padding:2px 9px 29px}.sidebar-brand strong,.sidebar-brand span{display:block}.sidebar-brand strong{font-size:17px;letter-spacing:.06em}.sidebar-brand span{font-size:11px;color:#a8bbd4;margin-top:2px}.nav-group{font-size:10px;letter-spacing:.14em;color:#8da6c4;font-weight:800;padding:20px 13px 10px}.nav-item{display:flex;align-items:center;gap:12px;width:100%;background:transparent;border:0;color:#bfcee2;text-align:left;padding:11px 13px;border-radius:9px;font-weight:650}.nav-item:hover{background:#ffffff12;color:white}.nav-item.active{background:#f76142;color:white;box-shadow:0 8px 18px #08192b38}.nav-item .icon{font-size:16px;width:18px;text-align:center}.sidebar-footer{margin-top:auto;border-top:1px solid #ffffff1a;padding:18px 10px 4px;display:flex;flex-direction:column;gap:9px;color:#e0eafa}.sidebar-footer span{font-weight:700}.main{min-width:0}.topbar{padding:27px 36px 23px;border-bottom:1px solid #e5e9f0;background:white;display:flex;justify-content:space-between;align-items:center;gap:16px}.topbar h1{margin:0;font-size:25px;letter-spacing:-.03em}.top-actions{display:flex;align-items:center;gap:16px;color:#8793a5;font-size:12px}.content{padding:28px 36px 48px;max-width:1500px}.notice{margin:14px 36px 0;padding:12px 16px;background:#ecf8ee;color:#23683a;border:1px solid #bee4c6;border-radius:10px}.notice.error{background:#fff1ef;border-color:#ffd4cb;color:#a83a27}.grid{display:grid;gap:18px}.stats-grid{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:23px}.stat-card,.panel,.card{background:#fff;border:1px solid #e4e9f0;border-radius:14px;box-shadow:0 3px 12px #24355008}.stat-card{padding:22px}.stat-card .label{color:#66758d;font-size:12px;font-weight:700}.stat-card strong{display:block;font-size:31px;line-height:1.2;letter-spacing:-.04em;margin:14px 0 4px;color:#213b60}.stat-card small{color:#8b98aa}.stat-card.alert strong{color:#ed6541}.two-col{grid-template-columns:minmax(0,1.7fr) minmax(280px,1fr)}.panel{padding:23px;margin-bottom:20px}.panel-head,.section-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:19px}.panel-head h2,.section-head h2{margin:0;font-size:17px}.panel-head .muted,.section-head .muted{font-size:12px}.toolbar{display:flex;align-items:center;gap:10px;margin-bottom:18px;flex-wrap:wrap}.toolbar .spacer{flex:1}.field,.search{display:flex;flex-direction:column;gap:6px;min-width:0}.field label,.field>span{font-size:12px;color:#617087;font-weight:700}.field input,.field select,.field textarea,.search input{width:100%;border:1px solid #d9e1eb;border-radius:9px;padding:10px 11px;background:white;color:#20314b;outline:none}.field input:focus,.field select:focus,.field textarea:focus,.search input:focus{border-color:#fa7453;box-shadow:0 0 0 3px #fa74531b}.field textarea{min-height:100px;resize:vertical;line-height:1.6}.search{min-width:250px;max-width:340px;flex:1}.table-wrap{overflow:auto;border:1px solid #e6ebf1;border-radius:10px}table{width:100%;border-collapse:collapse;background:#fff;min-width:700px}th{background:#f8fafc;color:#708097;font-size:11px;letter-spacing:.05em;text-align:left;font-weight:800;padding:13px 14px;white-space:nowrap}td{border-top:1px solid #eef1f5;padding:13px 14px;vertical-align:middle}td strong{color:#243b59}.sub{font-size:11px;color:#8794a6;margin-top:4px}.actions{display:flex;gap:6px;flex-wrap:wrap}.status{display:inline-block;border-radius:99px;padding:5px 9px;background:#edf2f7;color:#607089;font-size:11px;font-weight:800;white-space:nowrap}.status.pending,.status.draft{background:#fff4e9;color:#b86721}.status.published,.status.approved,.status.active,.status.valid,.status.completed,.status.resolved{background:#e8f7ec;color:#25824b}.status.rejected,.status.inactive,.status.revoked{background:#ffefed;color:#b64e3a}.status.paused,.status.closed{background:#edf1f6;color:#677990}.empty{padding:36px;text-align:center;color:#8090a5}.empty strong{display:block;color:#304361;margin-bottom:6px}.list-row{display:flex;align-items:flex-start;gap:12px;padding:15px 0;border-bottom:1px solid #edf1f5}.list-row:last-child{border-bottom:0}.dot{width:8px;height:8px;border-radius:50%;background:#f76845;margin-top:5px;flex:none}.list-main{flex:1;min-width:0}.list-main strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.list-main .sub{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chip{display:inline-block;padding:4px 8px;border-radius:6px;background:#eef3f8;color:#536b87;font-size:11px;margin-right:4px;margin-bottom:3px}.card{padding:20px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.form-grid .wide{grid-column:1/-1}.helper{font-size:12px;line-height:1.7;color:#76869a}.divider{height:1px;background:#e9edf3;margin:19px 0}.callout{background:#f2f6fc;border:1px solid #dfe8f4;color:#48617e;border-radius:10px;padding:14px 16px;line-height:1.65}.callout.warning{background:#fff8e8;border-color:#f7e1ae;color:#875e18}.modal-backdrop{position:fixed;inset:0;background:#10243bbd;display:grid;place-items:center;padding:18px;z-index:20}.modal{background:#fff;width:min(760px,100%);max-height:92vh;overflow:auto;border-radius:17px;box-shadow:0 28px 65px #0613246e}.modal-head{padding:20px 25px;border-bottom:1px solid #e7ecf2;display:flex;justify-content:space-between;align-items:center}.modal-head h2{margin:0;font-size:18px}.modal-body{padding:24px 25px}.modal-footer{padding:16px 25px;border-top:1px solid #e7ecf2;display:flex;justify-content:flex-end;gap:8px}.icon-button{border:0;background:#f0f3f8;width:30px;height:30px;border-radius:8px;font-size:20px;color:#63738a}.check-list{display:flex;gap:9px;flex-wrap:wrap}.check-list label{display:flex;align-items:center;gap:5px;background:#f4f7fb;border:1px solid #dfe7f0;border-radius:8px;padding:8px 10px;cursor:pointer}.check-list input{width:auto}.segmented{display:flex;gap:6px;flex-wrap:wrap}.segmented button{border:1px solid #dbe3ec;background:#fff;color:#61718a;border-radius:7px;padding:7px 10px}.segmented button.active{background:#264567;color:white;border-color:#264567}.mono{font-family:Consolas,monospace;font-size:12px}.tiny{font-size:11px;color:#8997a9}.vertical-list{display:grid;gap:12px}.kpi-line{display:flex;justify-content:space-between;padding:12px 0;border-bottom:1px solid #edf1f4}.kpi-line:last-child{border-bottom:0}.kpi-line strong{font-size:16px}.file-drop{border:1px dashed #aabbd0;background:#f9fbfe;border-radius:10px;padding:20px}.file-drop input{max-width:100%}.footer-note{font-size:11px;color:#8d9aab;margin-top:20px}@media(max-width:1050px){.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.two-col{grid-template-columns:1fr}.sidebar{width:210px}.shell{grid-template-columns:210px minmax(0,1fr)}}@media(max-width:700px){.shell{display:block}.sidebar{position:relative;width:auto;height:auto;padding:14px}.sidebar-brand{padding-bottom:8px}.sidebar nav{display:flex;overflow:auto;gap:3px}.nav-group{display:none}.nav-item{white-space:nowrap;width:auto}.sidebar-footer{display:none}.topbar{padding:20px}.top-actions span{display:none}.content{padding:20px}.notice{margin:12px 20px 0}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.form-grid{grid-template-columns:1fr}.form-grid .wide{grid-column:auto}.modal-body{padding:18px}}
.qr-stage{min-height:280px;display:flex;align-items:center;justify-content:center;margin:8px 0 2px;overflow:hidden}.qr-stage iframe{display:block;border:0;max-width:100%}.qr-hint{min-height:34px;margin:8px 0 10px;color:#617087;font-size:12px;line-height:1.5;text-align:center}.login-divider{display:flex;align-items:center;gap:12px;color:#97a4b5;font-size:12px;margin:16px 0}.login-divider:before,.login-divider:after{content:"";height:1px;background:#e3e8ee;flex:1}.login-card .button{display:block;width:100%;text-align:center;text-decoration:none}.login-card .muted{margin-bottom:12px}
.qr-fallback{display:block;text-align:center;color:#28598a;font-size:12px;line-height:1.5;text-decoration:underline;text-underline-offset:3px}

/* ===== 管理后台登录页 ===== */
.auth-screen{
  --auth-ink:#13273e;
  --auth-muted:#6b7b91;
  --auth-accent:#f76142;
  position:relative;
  min-height:100vh;
  min-height:100svh;
  display:grid;
  place-items:center;
  padding:32px 20px;
  overflow:hidden;
  color:var(--auth-ink);
  background:
    radial-gradient(900px 560px at 6% -12%,#36618d 0%,transparent 58%),
    radial-gradient(820px 540px at 104% 112%,#2a537e 0%,transparent 52%),
    linear-gradient(135deg,#0c1e31 0%,#17334f 50%,#0f2439 100%);
}
.auth-screen::before{
  content:"";
  position:absolute;
  inset:0;
  background-image:
    linear-gradient(#ffffff08 1px,transparent 1px),
    linear-gradient(90deg,#ffffff08 1px,transparent 1px);
  background-size:54px 54px;
  -webkit-mask-image:radial-gradient(ellipse at center,#000 18%,transparent 76%);
  mask-image:radial-gradient(ellipse at center,#000 18%,transparent 76%);
  pointer-events:none;
}
.auth-screen::after{
  content:"";
  position:absolute;
  width:460px;
  height:460px;
  right:4%;
  top:6%;
  border:1px solid #ffffff0d;
  border-radius:50%;
  box-shadow:0 0 0 84px #ffffff05,0 0 0 168px #ffffff03;
  pointer-events:none;
}
.auth-glow{
  position:absolute;
  border-radius:50%;
  filter:blur(72px);
  pointer-events:none;
  opacity:.5;
}
.auth-glow-warm{width:480px;height:480px;left:-160px;bottom:-200px;background:#f7614259}
.auth-glow-cool{width:560px;height:560px;right:-200px;top:-220px;background:#4b88c24d}

.auth-card{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:minmax(0,.88fr) minmax(0,1.12fr);
  width:min(940px,100%);
  overflow:hidden;
  border-radius:28px;
  background:#fff;
  box-shadow:0 48px 110px -28px #020f1ec2,0 0 0 1px #ffffff1a;
  animation:auth-rise .62s cubic-bezier(.2,.75,.25,1) both;
}
.auth-aside{
  position:relative;
  display:flex;
  flex-direction:column;
  padding:42px 40px 36px;
  overflow:hidden;
  color:#fff;
  background:linear-gradient(158deg,#ff855c 0%,#f76142 46%,#e2442a 100%);
  isolation:isolate;
}
.auth-aside::before{
  content:"";
  position:absolute;
  z-index:-1;
  width:340px;
  height:340px;
  right:-130px;
  top:-110px;
  border:1px solid #ffffff2e;
  border-radius:50%;
  box-shadow:0 0 0 56px #ffffff12,0 0 0 112px #ffffff09;
}
.auth-aside::after{
  content:"志";
  position:absolute;
  z-index:-1;
  right:-14px;
  bottom:-58px;
  font-size:240px;
  font-weight:900;
  line-height:1;
  color:#ffffff12;
  pointer-events:none;
}
.auth-brand,
.auth-mobile-brand{display:flex;align-items:center;gap:12px}
.auth-logo{
  display:grid;
  place-items:center;
  flex:none;
  width:46px;
  height:46px;
  border-radius:14px;
  font-size:23px;
  font-weight:900;
  color:#fff;
  background:#ffffff26;
  border:1px solid #ffffff4d;
  box-shadow:inset 0 1px 0 #ffffff4d;
  -webkit-backdrop-filter:blur(6px);
  backdrop-filter:blur(6px);
}
.auth-brand-text strong,.auth-brand-text small{display:block}
.auth-brand-text strong{font-size:15px;letter-spacing:.05em}
.auth-brand-text small{margin-top:3px;font-size:9.5px;letter-spacing:.2em;color:#ffffffcc;font-weight:700}
.auth-pitch{padding:38px 0 30px}
.auth-kicker{
  display:flex;
  align-items:center;
  gap:10px;
  margin:0 0 16px;
  font-size:10px;
  font-weight:700;
  letter-spacing:.18em;
  white-space:nowrap;
  color:#ffffffcc;
}
.auth-kicker::before{content:"";width:24px;height:1px;background:#ffffff80}
.auth-pitch h2{
  margin:0 0 16px;
  font-size:31px;
  line-height:1.36;
  letter-spacing:-.02em;
  font-weight:800;
}
.auth-pitch p{
  max-width:270px;
  margin:0;
  font-size:12.5px;
  line-height:1.9;
  color:#ffffffd1;
}
.auth-points{
  display:grid;
  gap:12px;
  margin:0;
  padding:0;
  list-style:none;
}
.auth-points li{display:flex;align-items:center;gap:9px;font-size:12.5px;color:#ffffffe6}
.auth-check{
  display:grid;
  place-items:center;
  flex:none;
  width:18px;
  height:18px;
  border-radius:50%;
  font-size:11px;
  font-weight:900;
  color:#e8452a;
  background:#fffffff0;
  box-shadow:0 4px 10px #7d1c0a26;
}
.auth-aside-foot{margin:auto 0 0;padding-top:32px;font-size:10px;letter-spacing:.14em;color:#ffffffb3}

.auth-main{
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:40px 48px 32px;
  background:
    radial-gradient(120% 90% at 100% 0,#f7614209 0%,transparent 52%),
    #fff;
}
.auth-mobile-brand{display:none;margin-bottom:24px}
.auth-mobile-brand .auth-logo{
  width:40px;
  height:40px;
  border-radius:12px;
  font-size:20px;
  background:linear-gradient(145deg,#ff8157,#f76142);
  border:0;
  box-shadow:0 10px 22px -10px #f76142b8;
}
.auth-mobile-brand .auth-brand-text strong{color:var(--auth-ink);font-size:14px}
.auth-mobile-brand .auth-brand-text small{color:#94a1b2}
.auth-eyebrow{margin:0;font-size:10px;font-weight:800;letter-spacing:.22em;color:var(--auth-accent)}
.auth-main h1{margin:9px 0 10px;font-size:30px;line-height:1.2;letter-spacing:-.035em;color:var(--auth-ink)}
.auth-sub{margin:0 0 20px;font-size:12.5px;line-height:1.8;color:var(--auth-muted)}

.auth-qr-frame{
  position:relative;
  align-self:center;
  padding:12px;
  border:1px solid #e8edf4;
  border-radius:20px;
  background:linear-gradient(180deg,#fff,#fbfcfe);
  box-shadow:0 24px 48px -30px #13273e5c,inset 0 1px 0 #fff;
}
.auth-qr-frame::before{
  content:"";
  position:absolute;
  top:0;
  left:50%;
  width:54px;
  height:3px;
  transform:translateX(-50%);
  border-radius:0 0 3px 3px;
  background:linear-gradient(90deg,#f76142,#ff9a6b);
}
.auth-qr-stage{
  display:grid;
  place-items:center;
  width:280px;
  height:280px;
  border-radius:12px;
  background:#f7f9fc;
  overflow:hidden;
}
.auth-qr-stage iframe{display:block;border:0}
.auth-qr-stage #qr-code{display:grid;place-items:center;width:100%;height:100%}
.auth-qr-stage #qr-code:empty::after{
  content:"";
  width:28px;
  height:28px;
  border:3px solid #e9eef4;
  border-top-color:var(--auth-accent);
  border-radius:50%;
  animation:auth-spin .9s linear infinite;
}

.auth-hint{min-height:18px;margin:14px 0 0;text-align:center;font-size:11.5px;line-height:1.7;color:#7b8a9e}
.auth-fallback{
  display:block;
  width:fit-content;
  margin:7px auto 0;
  padding-bottom:2px;
  border-bottom:1px dashed #28598a59;
  font-size:11.5px;
  line-height:1.6;
  color:#28598a;
  text-align:center;
  text-decoration:none;
  transition:color .18s,border-color .18s;
}
.auth-fallback span{color:#93a0b1;font-size:10.5px}
.auth-fallback:hover{color:#e8452a;border-bottom-color:#e8452a80}

.auth-divider{
  display:flex;
  align-items:center;
  gap:12px;
  margin:18px 0 14px;
  color:#a5b0bf;
  font-size:10.5px;
  letter-spacing:.12em;
}
.auth-divider::before,.auth-divider::after{content:"";flex:1;height:1px;background:linear-gradient(90deg,transparent,#e4eaf2)}
.auth-divider::after{background:linear-gradient(90deg,#e4eaf2,transparent)}

.auth-button{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  width:100%;
  padding:13px 18px;
  border:1px solid #dbe4ee;
  border-radius:13px;
  background:#f8fafc;
  color:#203654;
  font-size:13px;
  font-weight:700;
  box-shadow:0 1px 2px #10243b0a;
  transition:border-color .18s,color .18s,background .18s,box-shadow .18s,transform .18s;
}
.auth-button svg{width:17px;height:17px;flex:none}
.auth-button:hover{border-color:#f7614273;background:#fff7f4;color:#e8452a;box-shadow:0 14px 28px -18px #f76142a6}
.auth-button:active{transform:translateY(1px)}
.auth-button:disabled{opacity:.55;cursor:wait;transform:none;box-shadow:none}
.auth-button:focus-visible{outline:2px solid #f7614266;outline-offset:2px}

.auth-message{min-height:17px;margin:10px 0 0;text-align:center;font-size:11.5px;line-height:1.6;color:#c23b32}
.auth-security{display:flex;align-items:center;justify-content:center;gap:6px;margin:14px 0 0;font-size:10.5px;letter-spacing:.02em;color:#8b98a9}
.auth-security svg{width:12px;height:12px;flex:none}

@keyframes auth-rise{from{opacity:0;transform:translateY(16px) scale(.995)}to{opacity:1;transform:none}}
@keyframes auth-spin{to{transform:rotate(360deg)}}

@media(max-width:880px){
  .auth-card{grid-template-columns:1fr;width:min(440px,100%);border-radius:24px}
  .auth-aside{display:none}
  .auth-main{padding:34px 32px 28px}
  .auth-mobile-brand{display:flex}
  .auth-main h1{font-size:27px}
  .auth-sub{margin-bottom:16px}
}
@media(max-width:420px){
  .auth-screen{padding:16px 14px}
  .auth-main{padding:28px 22px 24px}
  .auth-main h1{font-size:26px}
  .auth-qr-frame{padding:0;border:0;border-radius:0;background:none;box-shadow:none}
  .auth-qr-frame::before{display:none}
}
@media(max-width:380px){
  .auth-qr-stage{width:250px;height:250px}
  .auth-qr-stage iframe{transform:scale(.8929);transform-origin:center}
}
@media(prefers-reduced-motion:reduce){
  .auth-card{animation:none}
  .auth-qr-stage #qr-code:empty::after{animation-duration:2s}
}

/* ===== 管理后台视觉升级 ===== */
.shell{
  --admin-ink:#172c43;
  --admin-muted:#6c7d92;
  --admin-line:#e5eaf2;
  --admin-accent:#f76142;
  grid-template-columns:252px minmax(0,1fr);
  background:#f3f6fa;
  font-feature-settings:"tnum" 1;
}
.shell .main{
  min-width:0;
  background:
    radial-gradient(1100px 520px at 100% -10%,#e8f0fa 0%,transparent 58%),
    linear-gradient(180deg,#f6f8fc 0%,#f3f6fa 42%,#f4f7fb 100%);
}
.shell .sidebar{
  height:100vh;
  padding:22px 16px 16px;
  color:#e7eef8;
  border-right:1px solid #0b1d30;
  background:
    radial-gradient(440px 260px at 12% -4%,#315a83 0%,transparent 60%),
    linear-gradient(180deg,#183553 0%,#132b45 52%,#0f2439 100%);
  box-shadow:14px 0 40px -30px #0b1e33;
  overflow-x:hidden;
  overflow-y:auto;
  scrollbar-width:thin;
  scrollbar-color:#ffffff1f transparent;
}
.shell .sidebar-brand{padding:2px 10px 24px;gap:12px}
.shell .sidebar-brand .brand-mark.small{
  width:42px;
  height:42px;
  border-radius:13px;
  font-size:21px;
  background:linear-gradient(145deg,#ff855c,#ef5233);
  box-shadow:0 10px 24px -10px #f76142cc,inset 0 1px 0 #ffffff59;
}
.shell .sidebar-brand strong{font-size:18px;letter-spacing:.02em;color:#f5f9ff}
.shell .sidebar-brand span{font-size:10.5px;letter-spacing:.08em;color:#93adc9;margin-top:4px}
.shell .nav-group{
  padding:18px 12px 10px;
  font-size:9.5px;
  letter-spacing:.18em;
  font-weight:800;
  color:#7f9bbb;
}
.shell .nav-item{
  position:relative;
  gap:11px;
  padding:9px 11px;
  border-radius:10px;
  color:#c3d3e6;
  font-size:13px;
  font-weight:650;
  transition:background .18s,color .18s,box-shadow .18s;
}
.shell .nav-item + .nav-item{margin-top:3px}
.shell .nav-item .icon{
  display:grid;
  place-items:center;
  width:28px;
  height:28px;
  border-radius:8px;
  border:1px solid #ffffff0a;
  background:#ffffff0a;
  color:#9fb6d1;
  font-size:14px;
  line-height:1;
  transition:background .18s,color .18s,border-color .18s;
}
.shell .nav-item .icon svg{width:15px;height:15px;display:block}
.shell .nav-item:hover{background:#ffffff0d;color:#fff}
.shell .nav-item:hover .icon{background:#ffffff13;border-color:#ffffff14;color:#fff}
.shell .nav-item.active{
  background:linear-gradient(90deg,#f7614238,#f761420d);
  color:#fff;
  box-shadow:inset 0 0 0 1px #f7614240;
}
.shell .nav-item.active::before{
  content:"";
  position:absolute;
  left:0;
  top:50%;
  width:3px;
  height:18px;
  transform:translateY(-50%);
  border-radius:0 3px 3px 0;
  background:#ff8c6b;
}
.shell .nav-item.active .icon{
  background:#f761422b;
  border-color:#f7614238;
  color:#ffb7a3;
}
.shell .nav-item:focus-visible{outline:2px solid #ffb39f;outline-offset:2px}
.shell .sidebar-footer{
  margin-top:auto;
  padding:16px 4px 2px;
  gap:12px;
  border-top:1px solid #ffffff12;
  color:#dfe9f5;
}
.shell .sidebar-user{display:flex;align-items:center;gap:10px;min-width:0}
.shell .user-avatar{
  display:grid;
  place-items:center;
  flex:none;
  width:34px;
  height:34px;
  border-radius:10px;
  border:1px solid #ffffff14;
  background:#ffffff0f;
  color:#b8cce1;
}
.shell .user-avatar svg{width:16px;height:16px}
.shell .sidebar-user-text{display:flex;flex-direction:column;gap:2px;min-width:0}
.shell .sidebar-user-text small{font-size:9px;letter-spacing:.12em;color:#7f9bbb;font-weight:700}
.shell #actor-label{font-size:12.5px;font-weight:700;color:#e8f0f9;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.shell .text-button{
  display:flex;
  align-items:center;
  gap:6px;
  padding:6px 4px;
  border-radius:7px;
  color:#8fa9c5;
  font-size:11.5px;
  transition:color .18s,background .18s;
}
.shell .text-button svg{width:14px;height:14px}
.shell .text-button:hover{color:#ff9b80}
.shell .text-button:focus-visible{outline:2px solid #ffb39f;outline-offset:2px}

.shell .topbar{
  position:sticky;
  top:0;
  z-index:8;
  padding:22px 34px 20px;
  border-bottom:1px solid #e7ecf3;
  background:#fff;
}
.shell .topbar .eyebrow{margin-bottom:7px;font-size:10px;letter-spacing:.16em}
.shell .topbar h1{font-size:26px;letter-spacing:-.035em;color:#152b43;font-weight:800}
.shell .top-actions{gap:18px;color:#7b8ba0}
.shell #sync-label{display:flex;align-items:center;gap:7px;font-size:11.5px;color:#7b8ba0}
.shell #sync-label::before{
  content:"";
  width:7px;
  height:7px;
  border-radius:50%;
  background:#2eb872;
  box-shadow:0 0 0 4px #2eb8721a;
  animation:admin-pulse 2.8s ease-in-out infinite;
}
.shell .refresh-button{display:inline-flex;align-items:center;gap:7px;padding:9px 13px;font-size:12px}
.shell .refresh-button svg{width:14px;height:14px;color:#6d7d92;transition:transform .4s ease,color .18s}
.shell .refresh-button:hover svg{transform:rotate(180deg);color:#e85a38}
.shell .content{max-width:1560px;padding:28px 34px 56px}
.shell .notice{
  display:flex;
  align-items:center;
  gap:9px;
  margin:16px 34px 0;
  padding:11px 15px;
  border:1px solid #c7ecd2;
  border-radius:11px;
  background:#edf9f1;
  color:#1f6b40;
  font-size:12.5px;
  box-shadow:0 8px 22px -18px #1f6b4052;
  position:relative;
  z-index:40;
}
.shell .notice::before{
  content:"✓";
  display:grid;
  place-items:center;
  flex:none;
  width:18px;
  height:18px;
  border-radius:50%;
  background:#d9f3e2;
  color:#1f7a47;
  font-size:11px;
  font-weight:900;
}
.shell .notice.error{border-color:#ffd7cf;background:#fff2ef;color:#a33a27;box-shadow:0 8px 22px -18px #a33a2740}
.shell .notice.error::before{content:"!";background:#ffe0d8;color:#b2432d}
.form-error{margin:0 0 16px;padding:10px 12px;border:1px solid #ffd7cf;border-radius:9px;background:#fff2ef;color:#a33a27;font-size:12.5px;line-height:1.55}

.button{
  border-radius:10px;
  padding:9px 14px;
  font-weight:700;
  letter-spacing:.01em;
  transition:background .18s,border-color .18s,color .18s,box-shadow .18s,transform .18s;
}
.button.primary{
  background:linear-gradient(135deg,#fb7755,#f05a37);
  color:#fff;
  box-shadow:0 9px 20px -12px #f76142d9,inset 0 1px 0 #ffffff33;
}
.button.primary:hover{background:linear-gradient(135deg,#f96d4b,#e64d2c);box-shadow:0 12px 24px -12px #f76142e6;transform:translateY(-1px)}
.button.secondary{border-color:#dce4ee;background:#fff;color:#2a405b;box-shadow:0 1px 2px #1c355210}
.button.secondary:hover{border-color:#f7614266;background:#fff8f5;color:#d94f31;box-shadow:0 6px 16px -12px #f7614273}
.button.ghost{background:#f0f4f9;border-color:#e7edf4;color:#355069}
.button.ghost:hover{background:#e9eff6;color:#1f3b57}
.button.danger{background:#fff1f1;border-color:#ffd9d9;color:#b3342e}
.button.danger:hover{border-color:#ffb9b3;background:#ffe9e7}
.button.small{padding:6px 10px;border-radius:8px;font-size:11.5px}
.button.large{padding:12px 22px}
.button:disabled,
.button:disabled:hover,
.actions .button.primary:disabled,
.actions .button.primary:disabled:hover,
.actions .button.danger:disabled,
.actions .button.danger:disabled:hover{
  opacity:1;
  border-color:#e7edf5;
  background:#f3f6fa;
  color:#a0adbd;
  box-shadow:none;
  cursor:not-allowed;
  transform:none;
}
.button:focus-visible,.icon-button:focus-visible,.segmented button:focus-visible{outline:2px solid #f7614266;outline-offset:2px}

.panel,.stat-card{border:1px solid #e5eaf2;box-shadow:0 12px 30px -26px #1c35522e}
.panel{padding:22px 24px;margin-bottom:18px;border-radius:16px}
.stats-grid{gap:16px;margin-bottom:22px}
.stat-card{
  position:relative;
  overflow:hidden;
  padding:19px 21px 18px;
  border-radius:16px;
  transition:transform .18s,box-shadow .18s,border-color .18s;
}
.stat-card:hover{transform:translateY(-2px);border-color:#dbe4ef;box-shadow:0 16px 34px -24px #1a33523d}
.stat-card::before{
  content:"";
  position:absolute;
  inset:0 0 auto;
  height:3px;
  background:linear-gradient(90deg,#f76142,#f7614200 72%);
}
.stat-card::after{
  content:"";
  position:absolute;
  right:-32px;
  top:-38px;
  width:116px;
  height:116px;
  border-radius:50%;
  background:radial-gradient(circle,#f7614219,transparent 68%);
  pointer-events:none;
}
.stat-card:nth-child(2)::before{background:linear-gradient(90deg,#3b82f6,#3b82f600 72%)}
.stat-card:nth-child(2)::after{background:radial-gradient(circle,#3b82f619,transparent 68%)}
.stat-card:nth-child(3)::before{background:linear-gradient(90deg,#14b8a6,#14b8a600 72%)}
.stat-card:nth-child(3)::after{background:radial-gradient(circle,#14b8a619,transparent 68%)}
.stat-card:nth-child(4)::before{background:linear-gradient(90deg,#8b5cf6,#8b5cf600 72%)}
.stat-card:nth-child(4)::after{background:radial-gradient(circle,#8b5cf619,transparent 68%)}
.stat-card .label{display:flex;align-items:center;gap:7px;font-size:11.5px;color:#6d7f95;font-weight:700}
.stat-card .label::before{content:"";width:6px;height:6px;border-radius:50%;background:#f76142;box-shadow:0 0 0 3px #f7614214}
.stat-card:nth-child(2) .label::before{background:#3b82f6;box-shadow:0 0 0 3px #3b82f614}
.stat-card:nth-child(3) .label::before{background:#14b8a6;box-shadow:0 0 0 3px #14b8a614}
.stat-card:nth-child(4) .label::before{background:#8b5cf6;box-shadow:0 0 0 3px #8b5cf614}
.stat-card strong{font-size:34px;line-height:1.1;margin:13px 0 6px;color:#152b43;font-weight:800;letter-spacing:-.045em}
.stat-card small{font-size:10.5px;color:#7d8da1}
.stat-card.alert strong{color:#e95534}

.panel-head,.section-head{margin-bottom:16px;padding-bottom:14px;border-bottom:1px solid #eef2f7;gap:12px}
.panel-head h2,.section-head h2{
  display:flex;
  align-items:center;
  gap:9px;
  font-size:16px;
  font-weight:800;
  letter-spacing:-.02em;
  color:#1b3149;
}
.panel-head h2::before,.section-head h2::before{
  content:"";
  width:3px;
  height:14px;
  border-radius:999px;
  background:linear-gradient(180deg,#ff8a68,#f76142);
}
.panel-head .muted,.section-head .muted{font-size:11.5px;color:#7b8b9e}
.toolbar{gap:9px;margin-bottom:16px}
.toolbar .spacer{flex:1}
.helper{font-size:12px;line-height:1.75;color:#6f8094}
.sub{font-size:11px;color:#7f8fa3;margin-top:3px}

.list-row{padding:13px 10px;margin:0 -10px;border-bottom:1px solid #f0f3f8;border-radius:9px;transition:background .16s}
.list-row:hover{background:#f8fafc}
.list-row:last-child{border-bottom:0}
.dot{width:7px;height:7px;margin-top:7px;background:#f76142;box-shadow:0 0 0 3px #f7614212}
.list-main strong{font-size:13px;color:#21384f}
.list-main .sub{font-size:11px;color:#7f8fa3;margin-top:3px}

.field label,.field>span{font-size:11.5px;color:#5f7188}
.field input,.field select,.field textarea,.search input{
  border:1px solid #dbe3ed;
  border-radius:10px;
  padding:10px 12px;
  background:#fff;
  color:#1d334a;
  transition:border-color .18s,box-shadow .18s,background .18s;
}
.field input:hover,.field select:hover,.field textarea:hover,.search input:hover{border-color:#c9d5e2}
.field input:focus,.field select:focus,.field textarea:focus,.search input:focus{
  border-color:#f76142;
  background:#fff;
  box-shadow:0 0 0 3px #f7614217;
}
.field textarea{min-height:108px;line-height:1.65}
.field select{
  -webkit-appearance:none;
  appearance:none;
  padding-right:34px;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2374859a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:right 12px center;
  background-size:12px;
}
.search{position:relative;min-width:260px;max-width:360px}
.search::before{
  content:"";
  position:absolute;
  left:13px;
  top:50%;
  width:14px;
  height:14px;
  transform:translateY(-50%);
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2374859a' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") center/contain no-repeat;
  opacity:.7;
  pointer-events:none;
}
.search input{padding-left:36px}
input[type=checkbox],input[type=radio]{accent-color:#f76142}
.field input[type=checkbox],.field input[type=radio]{
  width:auto;
  padding:0;
  border:0;
  border-radius:0;
  box-shadow:none;
  vertical-align:middle;
}

.table-wrap{border-color:#e6ebf2;border-radius:12px;background:#fff;scrollbar-width:thin;scrollbar-color:#cbd7e5 transparent}
table{min-width:720px}
th{
  padding:12px 15px;
  border-bottom:1px solid #e9eef5;
  background:#f7f9fc;
  color:#70829a;
  font-size:10.5px;
  letter-spacing:.06em;
  font-weight:800;
}
td{padding:13px 15px;border-top:1px solid #f0f3f7;color:#3c5169;font-size:12.5px}
tbody tr:first-child td{border-top:0}
tbody tr{transition:background .15s}
tbody tr:hover{background:#fafcff}
td strong{color:#1f3852;font-weight:700}
.actions{gap:6px}
.actions .button.primary{
  border-color:#ffc9bb;
  background:#ffebe5;
  color:#c94b2d;
  box-shadow:none;
}
.actions .button.primary:hover{
  border-color:transparent;
  background:linear-gradient(135deg,#fb7755,#f05a37);
  color:#fff;
  box-shadow:0 6px 14px -10px #f76142cc;
  transform:none;
}
.actions .button.danger{box-shadow:none}
.status{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:4px 9px;
  border:1px solid transparent;
  border-radius:999px;
  font-size:10.5px;
  font-weight:700;
  letter-spacing:.02em;
}
.status::before{content:"";width:5px;height:5px;border-radius:50%;background:currentColor;opacity:.75}
.status.pending,.status.draft{background:#fff6eb;border-color:#f5e3c8;color:#b06a1f}
.status.published,.status.approved,.status.active,.status.valid,.status.completed,.status.resolved{background:#edf9f1;border-color:#d3eedc;color:#24824b}
.status.rejected,.status.inactive,.status.revoked{background:#fff1ef;border-color:#ffdcd5;color:#b64e3a}
.status.paused,.status.closed{background:#f0f3f7;border-color:#e6ebf2;color:#677990}
.chip{padding:3px 7px;border:1px solid #e8eef5;border-radius:7px;background:#f1f5fa;color:#526a83;font-size:10.5px}
.empty{
  padding:38px 24px;
  border:1px dashed #dfe7f1;
  border-radius:12px;
  background:#fbfcfe;
  color:#7c8b9e;
  font-size:12px;
}
.empty::before{
  content:"";
  display:block;
  width:36px;
  height:36px;
  margin:0 auto 10px;
  border:1px solid #e8eef5;
  border-radius:11px;
  background:#f4f7fb url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238fa1b5' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7a2 2 0 0 1 2-2h4l2 2h6a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2z'/%3E%3C/svg%3E") center/16px no-repeat;
}
.empty strong{color:#334b64;font-size:13.5px;margin-bottom:5px}

.callout{
  border:1px solid #e2eaf4;
  border-left:3px solid #7ea8d9;
  border-radius:10px;
  padding:13px 16px;
  background:#f5f8fc;
  color:#4a6179;
  font-size:12.5px;
  line-height:1.75;
}
.callout.warning{background:#fffaf0;border-color:#f4e4bd;border-left-color:#e7a83d;color:#7f5b1f}
.divider{background:#eef2f7;margin:18px 0}
.kpi-line{padding:13px 0;border-bottom-color:#f0f3f7;color:#4d6178}
.kpi-line strong{font-size:15px;color:#1f3852;font-weight:800}
.check-list label{
  padding:8px 11px;
  border:1px solid #e4ebf3;
  border-radius:9px;
  background:#f8fafc;
  font-size:12px;
  transition:border-color .18s,background .18s;
}
.check-list label:hover{border-color:#f7614266;background:#fff8f5}
.file-drop{
  padding:18px;
  border:1.5px dashed #c7d4e3;
  border-radius:12px;
  background:#f9fbfe;
  transition:border-color .18s,background .18s;
}
.file-drop:hover{border-color:#f7614280;background:#fffaf8}
.field input[type=file],.file-drop input[type=file]{
  width:100%;
  padding:0;
  border:0;
  background:transparent;
  box-shadow:none;
  color:#65768c;
  font-size:12px;
}
.field input[type=file]:focus,.file-drop input[type=file]:focus{box-shadow:none}
.field input[type=file]::file-selector-button,.file-drop input[type=file]::file-selector-button{
  margin-right:10px;
  padding:8px 12px;
  border:1px solid #d9e3ee;
  border-radius:8px;
  background:#fff;
  color:#2a405b;
  font-weight:700;
  cursor:pointer;
  transition:background .18s,border-color .18s,color .18s;
}
.field input[type=file]::file-selector-button:hover,.file-drop input[type=file]::file-selector-button:hover{
  border-color:#f7614266;
  background:#fff8f5;
  color:#d94f31;
}
.form-grid .wide .button{width:auto;min-width:180px;align-self:flex-start}
.two-col{align-items:start}
.segmented{
  display:inline-flex;
  gap:2px;
  padding:3px;
  border:1px solid #e3e9f2;
  border-radius:10px;
  background:#eef2f7;
}
.segmented button{
  padding:7px 12px;
  border:0;
  border-radius:7px;
  background:transparent;
  color:#65758e;
  font-size:12px;
  font-weight:700;
  transition:background .18s,color .18s,box-shadow .18s;
}
.segmented button:hover{color:#263f59}
.segmented button.active{background:#fff;color:#1d3550;box-shadow:0 2px 6px #1b2f4714}
.vertical-list{gap:11px}
.footer-note{color:#8d9aab}
.mono{font-family:"Cascadia Code",Consolas,monospace;font-size:11.5px}
.tiny{font-size:10.5px;color:#8997a9}

.modal-backdrop{
  background:#0b1b2dcc;
  -webkit-backdrop-filter:blur(6px);
  backdrop-filter:blur(6px);
  z-index:30;
}
.modal{
  display:flex;
  flex-direction:column;
  width:min(820px,100%);
  overflow:hidden;
  border-radius:20px;
  box-shadow:0 40px 90px -22px #04101fcc,0 0 0 1px #ffffff14;
}
.modal-head{flex:none;padding:20px 26px;border-bottom-color:#edf1f6}
.modal-head h2{font-size:18px;letter-spacing:-.02em}
.modal-body{flex:1;min-height:0;padding:22px 26px;overflow:auto;overscroll-behavior:contain}
.modal-footer{flex:none;padding:15px 26px;border-top-color:#edf1f6;border-radius:0 0 20px 20px;background:#fbfcfe}
.icon-button{background:#f2f5f9;border-radius:9px;color:#6b7d92;transition:background .18s,color .18s}
.icon-button:hover{background:#fff0ec;color:#e05333}
.check-list input{width:auto}

@keyframes admin-pulse{0%,100%{box-shadow:0 0 0 4px #2eb8721a}50%{box-shadow:0 0 0 7px #2eb8720b}}

@media(max-width:1180px){
  .shell{grid-template-columns:228px minmax(0,1fr)}
  .stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .two-col{grid-template-columns:1fr}
}
@media(max-width:900px){
  .shell{grid-template-columns:212px minmax(0,1fr)}
  .shell .topbar{padding:20px 24px 18px}
  .shell .content{padding:24px 24px 48px}
  .shell .notice{margin:14px 24px 0}
}
@media(max-width:760px){
  .shell{display:block}
  .shell .sidebar{
    position:sticky;
    top:0;
    z-index:20;
    width:auto;
    height:auto;
    padding:13px 14px 10px;
    border-right:0;
    border-bottom:1px solid #ffffff12;
    background:linear-gradient(180deg,#183553,#142c46);
    box-shadow:0 10px 30px -24px #071523;
  }
  .shell .sidebar-brand{padding:0 2px 10px;gap:9px}
  .shell .sidebar-brand .brand-mark.small{width:34px;height:34px;border-radius:10px;font-size:17px}
  .shell .sidebar-brand strong{font-size:15px}
  .shell .sidebar-brand span{font-size:9px;margin-top:2px}
  .shell .sidebar::after{
    content:"";
    position:absolute;
    right:0;
    bottom:9px;
    width:26px;
    height:44px;
    border-radius:0 0 8px 0;
    background:linear-gradient(90deg,transparent,#142c46 74%);
    pointer-events:none;
  }
  .shell .sidebar nav{
    display:flex;
    gap:6px;
    margin:0 -2px;
    padding:1px 2px 3px;
    overflow-x:auto;
    scrollbar-width:none;
    scroll-behavior:smooth;
  }
  .shell .sidebar nav::-webkit-scrollbar{display:none}
  .shell .nav-group{display:none}
  .shell .nav-item{
    flex:none;
    width:auto;
    gap:7px;
    padding:7px 11px 7px 8px;
    border-radius:9px;
    font-size:11.5px;
  }
  .shell .nav-item + .nav-item{margin-top:0}
  .shell .nav-item .icon{width:22px;height:22px;border-radius:6px;font-size:12px}
  .shell .nav-item.active::before{display:none}
  .shell .sidebar-footer{
    position:absolute;
    top:10px;
    right:12px;
    display:flex;
    flex-direction:row;
    align-items:center;
    gap:0;
    margin:0;
    padding:0;
    border:0;
  }
  .shell .sidebar-user{display:none}
  .shell .text-button{
    padding:6px 8px;
    border:1px solid #ffffff1f;
    border-radius:8px;
    background:#ffffff0a;
    font-size:10.5px;
    color:#b7cbe0;
  }
  .shell .text-button:hover{background:#ffffff14;color:#ffb7a3}
  .shell .text-button svg{width:13px;height:13px}
  .shell .topbar{position:static;padding:18px 16px 15px}
  .shell .topbar .eyebrow{margin-bottom:5px;font-size:9.5px}
  .shell .topbar h1{font-size:23px}
  .shell .top-actions{gap:10px}
  .shell #sync-label{display:none}
  .shell .refresh-button{padding:8px 11px;font-size:11.5px}
  .shell .content{padding:18px 16px 40px}
  .shell .notice{margin:12px 16px 0}
  .stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .stat-card{padding:16px}
  .stat-card strong{font-size:28px;margin:11px 0 5px}
  .stat-card .label{font-size:11px}
  .panel{padding:17px 16px;border-radius:14px}
  .panel-head,.section-head{margin-bottom:14px;padding-bottom:12px}
  .panel-head h2,.section-head h2{font-size:15px}
  .toolbar{gap:8px}
  .search{flex:1 1 100%;max-width:none;min-width:0}
  .segmented{max-width:100%;overflow-x:auto}
  .form-grid .wide .button{width:100%}
  .modal{border-radius:16px}
  .modal-head{padding:17px 18px}
  .modal-body{padding:18px}
  .modal-footer{padding:13px 18px;border-radius:0 0 16px 16px}
}
@media(max-width:520px){
  .stats-grid{gap:10px}
  .stat-card{padding:14px}
  .stat-card strong{font-size:25px}
  .stat-card small{font-size:10px}
  .shell .topbar h1{font-size:21px}
}
@media(prefers-reduced-motion:reduce){
  .shell *,.shell *::before,.shell *::after{transition:none!important;animation:none!important}
}


/* 活动班次编辑与地点搜索 */
.shifts-rows{display:grid;gap:8px;margin-top:10px}
.shift-row{display:flex;gap:8px;align-items:flex-end;flex-wrap:wrap;background:#f8fafc;border:1px solid #e3eaf3;border-radius:10px;padding:10px}
.shift-cell{display:flex;flex-direction:column;gap:4px;min-width:0}
.shift-cell>span{font-size:11px;color:#76869a;font-weight:700}
.shift-cell input{border:1px solid #d9e1eb;border-radius:9px;padding:9px 10px;background:white;color:#20314b;outline:none;min-width:0;font:inherit}
.shift-cell input:focus{border-color:#f76142}
.shift-cell:nth-child(1) input{width:135px}
.shift-cell:nth-child(2) input,.shift-cell:nth-child(3) input{width:93px}
.shift-cell:nth-child(5) input{width:74px}
.shift-name-cell{flex:1 1 150px}
.shift-name-cell input{width:100%;min-width:120px}
.shift-remove{flex:none}
.shifts-actions{margin-top:10px}
.place-search{display:flex;gap:8px;align-items:center}
.place-search input{flex:1;min-width:0;border:1px solid #d9e1eb;border-radius:9px;padding:10px 11px;background:white;color:#20314b;outline:none}
.place-search input:focus{border-color:#f76142}
.place-search .button{flex:none}
.place-results{display:grid;gap:6px;margin-top:8px;max-height:230px;overflow:auto}
.place-results:empty{display:none}
.place-item{display:flex;flex-direction:column;align-items:flex-start;gap:2px;padding:9px 11px;background:white;border:1px solid #e3eaf3;border-radius:10px;text-align:left;width:100%}
.place-item:hover,.place-item:focus-visible{border-color:#f76142;background:#fff8f6}
.place-item strong{font-size:13px;color:#20314b}

/* 学生管理：班级筛选菜单 */
.class-filter{position:relative;flex:none;min-width:160px}
.class-filter-trigger{width:100%;min-height:42px;display:flex;align-items:center;gap:9px;padding:8px 12px;border:1px solid #dce4ee;border-radius:10px;background:#fff;color:#2a405b;font-weight:700;box-shadow:0 1px 2px #1c355210;text-align:left}
.class-filter-trigger:hover,.class-filter-trigger[aria-expanded="true"]{border-color:#f7614280;background:#fffaf8;box-shadow:0 4px 16px #f7614215}
.class-filter-trigger:focus-visible,.class-option:focus-visible{outline:2px solid #f7614280;outline-offset:2px}
.class-filter-icon{display:grid;place-items:center;width:24px;height:24px;border-radius:7px;background:#fff0eb;color:#e65c3d;font-size:15px;flex:none}
.class-filter-label{flex:1;max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.class-filter-chevron{width:8px;height:8px;border-right:2px solid #6d7e92;border-bottom:2px solid #6d7e92;transform:rotate(45deg) translateY(-2px);transition:transform .16s ease;flex:none;margin:0 3px}
.class-filter-trigger[aria-expanded="true"] .class-filter-chevron{transform:rotate(225deg) translateY(-1px)}
.class-filter-menu{position:absolute;top:calc(100% + 8px);left:0;width:max(240px,100%);max-width:min(320px,calc(100vw - 32px));padding:8px;border:1px solid #e3e9f1;border-radius:14px;background:#fff;box-shadow:0 16px 40px #1c355229;z-index:10}
.class-filter-heading{padding:8px 11px 9px;color:#7d8da2;font-size:11px;font-weight:800;letter-spacing:.04em}
.class-filter-options{display:grid;gap:3px;max-height:280px;overflow-y:auto;scrollbar-width:thin}
.class-option{display:flex;align-items:center;gap:10px;width:100%;min-height:39px;padding:8px 11px;border:0;border-radius:9px;background:transparent;color:#344b67;text-align:left}
.class-option:hover,.class-option:focus-visible{background:#f3f6fb}
.class-option.active{background:#fff1ec;color:#ca4d31;font-weight:800}
.class-option-name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.class-option-count{font-size:11px;color:#8b9aab;white-space:nowrap}
.class-option.active .class-option-count{color:#dc806b}
.class-option-check{visibility:hidden;font-weight:900}
.class-option.active .class-option-check{visibility:visible}
@media(max-width:760px){.class-filter{flex:1 1 140px}.class-filter-menu{width:min(300px,calc(100vw - 32px))}}
@media(prefers-reduced-motion:reduce){.class-filter-chevron{transition:none}}

/* PC 后台统一选择菜单 */
.ui-select{position:relative;min-width:150px;flex:1}
.toolbar>.ui-select{flex:0 1 auto}
.ui-native-select{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;padding:0!important;border:0!important;pointer-events:none!important}
.ui-select-trigger{width:100%;min-height:42px;display:flex;align-items:center;gap:9px;padding:8px 12px;border:1px solid #dce4ee;border-radius:10px;background:#fff;color:#2a405b;font:inherit;font-weight:700;text-align:left;box-shadow:0 1px 2px #1c355210;cursor:pointer}
.ui-select-trigger:hover,.ui-select-trigger[aria-expanded="true"]{border-color:#f7614280;background:#fffaf8;box-shadow:0 4px 16px #f7614215}
.ui-select-trigger:focus-visible,.ui-select-option:focus-visible{outline:2px solid #f7614280;outline-offset:2px}
.ui-select-icon{display:grid;place-items:center;width:24px;height:24px;border-radius:7px;background:#fff0eb;color:#e65c3d;font-size:15px;flex:none}
.ui-select-label{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ui-select-chevron{width:8px;height:8px;border-right:2px solid #6d7e92;border-bottom:2px solid #6d7e92;transform:rotate(45deg) translateY(-2px);transition:transform .16s ease;flex:none;margin:0 3px}
.ui-select-trigger[aria-expanded="true"] .ui-select-chevron{transform:rotate(225deg) translateY(-1px)}
.ui-select-menu{position:fixed;max-height:min(320px,calc(100vh - 16px));padding:8px;border:1px solid #e3e9f1;border-radius:14px;background:#fff;box-shadow:0 16px 40px #1c355229;z-index:100;overflow:hidden}
.ui-select-heading{padding:8px 11px 9px;color:#7d8da2;font-size:11px;font-weight:800;letter-spacing:.04em}
.ui-select-options{display:grid;gap:3px;max-height:270px;overflow-y:auto;scrollbar-width:thin}
.ui-select-option{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-height:39px;padding:8px 11px;border:0;border-radius:9px;background:transparent;color:#344b67;font:inherit;text-align:left;cursor:pointer}
.ui-select-option:hover,.ui-select-option:focus-visible{background:#f3f6fb}
.ui-select-option.active{background:#fff1ec;color:#ca4d31;font-weight:800}
.ui-select-option:disabled{opacity:.45;cursor:not-allowed}
