
  * { margin:0; padding:0; box-sizing:border-box; font-family:"PingFang SC","Microsoft YaHei",system-ui,sans-serif; }
  body { background:#f4f6fa; color:#2b2f36; min-height:100vh; padding:24px 16px; }
  .wrap { max-width:860px; margin:0 auto; }
  h1 { font-size:22px; font-weight:700; margin-bottom:4px; }
  .sub { color:#8a9099; font-size:13px; margin-bottom:20px; }
  .cards { display:grid; grid-template-columns:repeat(auto-fit,minmax(190px,1fr)); gap:14px; margin-bottom:22px; }
  .card { background:#fff; border-radius:16px; padding:18px 20px; box-shadow:0 1px 3px rgba(30,40,60,.06); position:relative; overflow:hidden; }
  .card .label { font-size:12px; color:#8a9099; margin-bottom:6px; }
  .card .value { font-size:26px; font-weight:700; font-variant-numeric:tabular-nums; }
  .card .value.money { color:#e6504d; }
  .card .hint { font-size:12px; color:#b0b6bf; margin-top:4px; }
  .progress-wrap { background:#fff; border-radius:16px; padding:18px 20px; box-shadow:0 1px 3px rgba(30,40,60,.06); margin-bottom:22px; }
  .progress-head { display:flex; justify-content:space-between; font-size:13px; color:#5a6069; margin-bottom:10px; }
  .bar { height:18px; background:#eef1f5; border-radius:9px; position:relative; margin:4px 0; }
  .bar .fill { height:100%; background:linear-gradient(90deg,#4f8cff,#3b82f6); border-radius:9px; transition:width .5s; }
  .bar .rocket { position:absolute; top:50%; left:0%; font-size:22px; line-height:1;
    transform:translate(-60%,-50%) rotate(45deg); transition:left .5s;
    filter:drop-shadow(0 0 3px rgba(255,150,50,.65)); }
  .row { display:flex; gap:14px; align-items:flex-start; flex-wrap:wrap; }
  .panel { background:#fff; border-radius:16px; padding:18px 20px; box-shadow:0 1px 3px rgba(30,40,60,.06); flex:1; min-width:280px; }
  .panel h2 { font-size:15px; margin-bottom:14px; }
  .field { display:flex; align-items:center; justify-content:space-between; margin-bottom:12px; gap:10px; }
  .field label { font-size:13px; color:#5a6069; }
  .field input[type=time], .field input[type=number] { border:1px solid #e3e7ed; border-radius:8px; padding:6px 10px; font-size:14px; width:120px; background:#fafbfc; }
  .field input:focus { outline:none; border-color:#4f8cff; background:#fff; }
  .wd-group { display:flex; gap:6px; flex-wrap:wrap; }
  .wd { padding:5px 10px; border-radius:8px; border:1px solid #e3e7ed; font-size:12px; cursor:pointer; background:#fafbfc; color:#5a6069; user-select:none; }
  .wd.on { background:#4f8cff; border-color:#4f8cff; color:#fff; }
  .save-btn { width:100%; padding:10px; border:none; border-radius:10px; background:#4f8cff; color:#fff; font-size:14px; font-weight:600; cursor:pointer; }
  .save-btn:hover { background:#3d7bef; }
  /* 日历 */
  .cal-head { display:flex; justify-content:space-between; align-items:center; margin-bottom:12px; }
  .cal-head .title { font-weight:700; font-size:15px; }
  .nav-btn { border:1px solid #e3e7ed; background:#fafbfc; border-radius:8px; width:30px; height:30px; cursor:pointer; font-size:14px; color:#5a6069; }
  .cal-grid { display:grid; grid-template-columns:repeat(7,1fr); gap:6px; }
  .dow { text-align:center; font-size:12px; color:#8a9099; padding:4px 0; }
  .day { aspect-ratio:1; border-radius:10px; display:flex; flex-direction:column; align-items:center; justify-content:center; font-size:13px; cursor:pointer; background:#f7f9fc; color:#2b2f36; position:relative; user-select:none; }
  .day:hover { background:#eef3ff; }
  .day.off { color:#c2c8d0; background:transparent; }
  .day.weekend { background:#f2f3f6; color:#9aa1aa; }
  .day.today { outline:2px solid #4f8cff; outline-offset:1px; font-weight:700; }
  .day.leave { background:#ffe9e8; color:#d64541; text-decoration:line-through; }
  .day.overtime { background:#fff4e0; color:#e08a00; font-weight:600; }
  .day.attend { background:#e6f7ee; color:#1f9d61; font-weight:600; }
  .day.sel { background:#4f8cff; color:#fff; font-weight:700; }
  .day.sel .tag { color:#fff; }
  .actions { display:flex; gap:8px; margin-top:14px; flex-wrap:wrap; align-items:center; }
  .btn { padding:8px 14px; border:none; border-radius:10px; font-size:13px; font-weight:600; cursor:pointer; }
  .btn.blue { background:#4f8cff; color:#fff; } .btn.blue:hover { background:#3d7bef; }
  .btn.red { background:#e6504d; color:#fff; } .btn.red:hover { background:#d84340; }
  .btn.gray { background:#eef1f5; color:#5a6069; } .btn.gray:hover { background:#e2e7ee; }
  .btn.ghost { background:#fff; border:1px solid #e3e7ed; color:#5a6069; }
  .btn.ghost:hover { background:#f5f7fa; }
  .sel-count { font-size:12px; color:#8a9099; margin-right:auto; }
  .month-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(110px,1fr)); gap:8px; }
  .month-head { display:flex; align-items:center; gap:8px; margin-bottom:14px; }
  .month-cell { background:#f7f9fc; border-radius:10px; padding:10px 12px; cursor:pointer; border:1px solid transparent; }
  .month-cell:hover { background:#eef3ff; }
  .month-cell.cur { background:#eef3ff; border-color:#4f8cff; }
  .month-cell.future { opacity:.45; }
  .month-cell.fish { background:#eef3ff; border:1px dashed #9db9ff; }
  .month-cell.fish:hover { background:#dfe9ff; border-color:#4f8cff; }
  .month-cell.fish .m-val { color:#4f8cff; }
  .month-cell .m-name { font-size:12px; color:#8a9099; }
  .month-cell .m-val { font-size:15px; font-weight:700; color:#e6504d; font-variant-numeric:tabular-nums; margin:2px 0 1px; }
  .month-cell.cur .m-val { font-size:16px; }
  .month-cell .m-sub { font-size:11px; color:#b0b6bf; }
  .day .tag { position:absolute; bottom:3px; font-size:9px; line-height:1; }
  .day.leave .tag, .day.overtime .tag { font-weight:400; }
  .legend { display:flex; gap:16px; margin-top:12px; font-size:12px; color:#8a9099; flex-wrap:wrap; }
  .dot { display:inline-block; width:10px; height:10px; border-radius:3px; margin-right:4px; vertical-align:-1px; }
  .tips { font-size:12px; color:#a6adb6; margin-top:16px; line-height:1.8; }

.top,.session,.inline,.tools,.week {display:flex; align-items:center; gap:12px; flex-wrap:wrap}
.top,.session {justify-content:space-between}
.top a,.text-btn {color:#245cc5; font-size:14px; text-decoration:none}
.top a:hover,.text-btn:hover {text-decoration:underline}
a.btn {display:inline-block;text-decoration:none}
.month-cell {text-align:left;font:inherit;color:inherit;text-decoration:none}
.month-cell span {display:block}
.calendar-view .cal-grid {max-width:560px;margin:auto}
.calendar-view .day {aspect-ratio:auto;min-height:52px;cursor:default}
.calendar-view .cal-head h2,.admin .top h2 {margin:0}
.admin .panel {margin:18px 0}
.admin .login {max-width:400px;margin:48px auto}
.admin .fields {display:flex; gap:14px;flex-wrap:wrap}
.admin .fields>label {flex:1 1 160px}
.admin form>label,.fields>label {display:grid;gap:6px;margin:12px 0;font-size:13px;color:#515763}
.admin input:not([type=checkbox]),.admin select {border:1px solid #cbd3df;border-radius:8px;padding:9px 10px;color:#26334b;font:inherit;background:#fff;min-width:0;max-width:100%}
.admin input[type=checkbox] {accent-color:#386fd8}
.admin fieldset {border:0;margin:8px 0 16px}
.admin legend,.help,.session,.tools {font-size:13px;color:#58657a}
.week {gap:14px;margin-top:8px}.week label {white-space:nowrap}
.admin .help {margin:12px 0;line-height:1.6}
.admin details {border-top:1px solid #e3e7ed;padding-top:14px;margin-top:18px}
.admin summary {cursor:pointer;color:#245cc5;font-size:14px}
.top .inline input {width:auto}
.text-btn {border:0;background:none;cursor:pointer;padding:5px 0}
.session {margin-top:12px}.session form {margin:0}
.notice {margin:16px 0;padding:10px 14px;background:#e7f6ed;color:#16603a;border-radius:8px}
.notice.error {background:#ffebea;color:#a42d28}
.tools {margin-bottom:8px}.tools span {margin-left:auto}
.pick {position:relative;cursor:pointer;min-width:0}
.pick input {position:absolute;width:1px;height:1px;opacity:0}
.pick span {display:flex;flex-direction:column;align-items:center;gap:3px;padding:8px 0;border:1px solid #e1e6ef;border-radius:9px;background:#f4f6f9;color:#626f80}
.pick small {font-size:10px}
.pick.scheduled span {background:#fff;color:#304765}
.pick.attend span {background:#e6f7ee;color:#16764b}
.pick.overtime span {background:#fff2dc;color:#825100}
.pick.leave span {background:#ffebea;color:#aa3935}
.pick input:checked+span {background:#3269ce;border-color:#3269ce;color:#fff}
.pick input:focus-visible+span {outline:2px solid #222;outline-offset:2px}
.pick .when-off,.pick input:not(:checked)+span .when-on {display:none}
.pick input:not(:checked)+span .when-off {display:inline}
#import {margin-top:14px}
@media (max-width:540px) {
 body {padding:16px 10px}.panel,.card {padding:14px}.cards {grid-template-columns:1fr 1fr;gap:8px}
 .cal-grid {gap:4px}.admin .fields {gap:0 10px}.admin .top {align-items:flex-start}
 .calendar-view .day {min-height:42px}.admin .help {font-size:12px}.month-head {flex-wrap:wrap}
}
