.workbench-page .main { padding: 32px 24px; }
.wb-heading { display:flex; align-items:center; justify-content:space-between; margin-bottom:24px; }
.wb-heading h1 { margin:0; font-size:24px; letter-spacing:.02em; }
.wb-heading time { color:var(--subtext); font-size:13px; }
.wb-welcome { position:relative; overflow:hidden; isolation:isolate; min-height:290px; display:grid; grid-template-columns:minmax(260px,1fr) minmax(360px,1.06fr); gap:32px; align-items:center; padding:40px; border:1px solid #dbe5f5; border-radius:14px; background:linear-gradient(115deg,#edf4ff 0%,#e8f0fc 45%,#f8fbff 100%); }
.wb-welcome::before,.wb-welcome::after { content:""; position:absolute; z-index:-1; pointer-events:none; border-radius:50%; }
.wb-welcome::before { width:600px; height:600px; top:-410px; left:12%; border:68px solid #b8d2fa40; box-shadow:0 0 0 55px #d3e3fa45,0 0 0 110px #d8e6fb30; animation:wb-drift 18s ease-in-out infinite alternate; }
.wb-welcome::after { width:440px; height:440px; right:-180px; bottom:-360px; background:radial-gradient(circle,#a1c4ef60,transparent 70%); animation:wb-drift 23s ease-in-out infinite alternate-reverse; }
.wb-greeting { min-width:0; }
.wb-eyebrow { display:flex; gap:8px; align-items:center; color:#5079ac; font-size:12px; letter-spacing:.16em; margin:0 0 20px; }
.wb-eyebrow::before { content:""; width:7px; height:7px; background:#5a8cd1; border-radius:50%; box-shadow:0 0 0 4px #5a8cd115; }
.wb-greeting h2 { margin:0; color:#203b60; font-size:clamp(23px,2.5vw,34px); line-height:1.5; font-weight:600; overflow-wrap:anywhere; }
.wb-greeting p:last-child { margin:14px 0 0; color:#657f9e; line-height:1.8; }
.wb-attendance { padding:24px; border:1px solid #ffffffd9; border-radius:12px; background:#ffffffc7; box-shadow:0 8px 28px #2b5e9c06; min-width:0; }
.wb-attendance-heading { display:flex; justify-content:space-between; align-items:center; gap:12px; margin-bottom:20px; }
.wb-attendance-heading h3 { margin:0; font-size:14px; font-weight:600; }
.wb-sync { color:var(--subtext); font-size:12px; }
.wb-today { display:flex; align-items:center; justify-content:space-between; gap:16px; padding-bottom:20px; border-bottom:1px solid #e5ecf5; }
.wb-today-status { color:#3568a6; font-size:18px; font-weight:600; }
.wb-times { display:flex; gap:14px; margin:0; }
.wb-times div { display:flex; flex-direction:column; gap:7px; }
.wb-times dt { font-size:12px; color:var(--subtext); white-space:nowrap; }
.wb-times dd { margin:0; color:#405873; font-variant-numeric:tabular-nums; }
.wb-month { display:grid; grid-template-columns:1fr 1fr; gap:20px; margin:20px 0 0; }
.wb-month>div+div { padding-left:24px; border-left:1px solid #e5ecf5; }
.wb-month dt { font-size:12px; color:var(--subtext); }
.wb-month dd { margin:9px 0 0; color:#233c5c; font-size:26px; line-height:1.2; font-weight:600; font-variant-numeric:tabular-nums; }
.wb-month dd[data-pending="true"] { font-size:18px; color:#74859a; font-weight:400; }
.wb-month small { font-size:12px; font-weight:400; margin-left:6px; color:var(--subtext); }
.wb-shortcuts { margin-top:32px; }
.wb-section-heading { display:flex; align-items:center; gap:12px; margin-bottom:16px; }
.wb-section-heading h2 { margin:0; font-size:17px; }
.wb-shortcut-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(170px,1fr)); gap:14px; }
.wb-shortcut { display:flex; align-items:center; gap:12px; padding:23px 18px; border:1px solid var(--line); border-radius:9px; background:var(--surface); color:var(--text); text-decoration:none; transition:border-color .2s,background .2s; }
.wb-shortcut:hover { border-color:#99b7e5; background:#fafdff; }
.wb-shortcut:focus-visible { outline:2px solid var(--brand); outline-offset:3px; }
.wb-shortcut-icon { display:grid; place-items:center; width:36px; height:36px; flex-shrink:0; color:var(--brand); background:var(--brand-soft); border-radius:8px; }
.wb-shortcut-icon svg { width:19px; height:19px; fill:none; stroke:currentColor; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
.wb-shortcut-arrow { margin-left:auto; color:#a4afbf; }
.wb-reserved { min-height:112px; margin-top:18px; display:flex; align-items:center; justify-content:center; color:#94a0b1; font-size:13px; border:1px dashed #d9e1ec; border-radius:9px; background:linear-gradient(110deg,#f6f8fb,#f9fafc); }
@keyframes wb-drift { from { transform:translate3d(-20px,0,0) rotate(-8deg); } to { transform:translate3d(45px,35px,0) rotate(10deg); } }
@media (max-width:1100px) { .wb-welcome { padding:28px; gap:24px; grid-template-columns:minmax(210px,1fr) minmax(320px,1.1fr); } .wb-attendance { padding:20px; } }
@media (max-width:850px) { .wb-welcome { grid-template-columns:1fr; gap:28px; } .wb-greeting { padding:8px 0; } .wb-shortcut-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:520px) { .workbench-page .main { padding:22px 16px; } .wb-heading { flex-wrap:wrap; gap:8px; margin-bottom:18px; } .wb-heading h1 { font-size:22px; } .wb-heading time { font-size:11px; } .wb-welcome { padding:22px 16px; border-radius:10px; } .wb-attendance { padding:18px 14px; } .wb-today { flex-direction:column; align-items:flex-start; gap:18px; } .wb-times { width:100%; justify-content:space-between; } .wb-month { gap:12px; } .wb-month>div+div { padding-left:12px; } .wb-shortcut-grid { grid-template-columns:1fr; } .wb-shortcut { padding:18px; } }
@media (prefers-reduced-motion:reduce) { .wb-welcome::before,.wb-welcome::after { animation:none; } .wb-shortcut { transition:none; } }
@media (max-width:520px) {
  .workbench-page #shared-topbar { padding-inline:12px; }
  .workbench-page #shared-topbar .breadcrumb { display:none; }
  .workbench-page #shared-topbar .topbar-right { width:100%; min-width:0; gap:6px; }
  .workbench-page #local-preview-mode { flex:0 1 95px; min-width:0; white-space:normal; font-size:10px; line-height:1.35; padding:3px 5px; }
  .workbench-page #local-user-select { flex:1 1 110px; width:auto; min-width:70px; max-width:136px; padding-inline:8px; font-size:12px; }
  .workbench-page #authenticated-user { flex:0 1 70px; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:12px; }
  .workbench-page #logout-user { flex:none; padding-inline:9px; font-size:12px; }
}


.wb-schedule{margin-top:28px}.wb-schedule .wb-section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}.wb-schedule-nav{display:flex;gap:8px;align-items:center}.wb-schedule-nav input{width:150px}.wb-schedule-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:12px;overflow-x:auto}.wb-day{min-height:360px;background:#fff;border:1px solid #dce4ef;border-radius:12px;padding:14px;min-width:0}.wb-day.is-today{background:#f0f6ff;border-color:#6699e3}.wb-day header{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e4eaf2;padding-bottom:12px}.wb-day header span{display:block;color:#7a8ba3;font-size:12px;margin-top:5px}.wb-today-label{display:block;color:#2868bd;margin:8px 0}.wb-schedule-item{display:flex;flex-direction:column;gap:7px;width:100%;border:1px solid #e3eaf4;background:#fff;border-radius:8px;text-align:left;padding:12px;margin-top:12px;cursor:pointer;overflow-wrap:anywhere;color:#263d5d}.wb-schedule-item time{color:#3676c5;font-weight:600}.wb-schedule-item span,.wb-schedule-item small{color:#718097}.wb-schedule-item:hover{border-color:#6699e3}.wb-day-empty{color:#9ba8ba;font-size:13px;margin-top:22px}.wb-colleagues{display:flex;gap:12px;flex-wrap:wrap;border:1px solid #e3eaf4;margin-top:16px;padding:12px}.wb-colleagues label{display:flex;gap:5px;align-items:center}.schedule-error{color:#be3b3b}#schedule-form .form-field{margin-bottom:14px}@media(max-width:1100px){.wb-schedule-grid{grid-template-columns:repeat(7,minmax(155px,1fr))}.wb-schedule .wb-section-heading{align-items:flex-start;flex-direction:column}.wb-schedule-nav{flex-wrap:wrap}}

.wb-cards{min-width:0;position:relative}.wb-cards .wb-attendance{height:256px;box-sizing:border-box}.wb-cards [hidden]{display:none}.wb-card-switch{display:flex;justify-content:center;gap:8px;margin-top:10px}.wb-card-switch button{width:22px;height:12px;padding:0;border:0;border-radius:8px;background:#c5d4e8;cursor:pointer}.wb-card-switch button[aria-pressed="true"]{background:#497dbd}.wb-card-switch button:focus-visible{outline:2px solid var(--brand);outline-offset:3px}.wb-todo-count{display:inline-block;padding:2px 8px;margin-left:6px;border-radius:12px;background:#e8f1ff;color:#3568a6;font-size:12px}
.wb-todo-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:clamp(10px,2vw,24px);align-content:start;max-height:174px;overflow-y:auto}
.wb-todo-row{min-width:0;display:grid;align-content:start;gap:3px;padding:7px 0;border-bottom:1px solid #e5ecf5}
.wb-todo-row strong{font-size:14px;overflow-wrap:anywhere}
.wb-todo-row a{color:var(--brand);text-decoration:underline;text-underline-offset:3px}
.wb-todo-row time{font-size:12px;color:var(--subtext)}
.wb-todo-list>p{grid-column:1/-1}
.wb-todo-empty{color:var(--subtext);text-align:center;padding:38px 0}
@media(prefers-reduced-motion:no-preference){
  .wb-cards .wb-card-enter{animation:wb-card-in 220ms ease-out}
  .wb-card-enter[data-card-panel="attendance"]{--wb-enter-x:-8px}
  @keyframes wb-card-in{from{opacity:0;transform:translateX(var(--wb-enter-x,8px))}to{opacity:1;transform:translateX(0)}}
}
@media(max-width:520px){.wb-cards .wb-attendance{height:290px}.wb-todo-list{max-height:208px}}
