/* Full-page workspaces (Students, Orders, Payments, Book a wash, Add a student). Reuses the HR workspace parts. */
.wk-bar{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:4px 0 12px}
.wk-bar input[type=search]{flex:1 1 280px;min-width:0;padding:10px 14px;border:1px solid var(--s-line,#E4E8F0);border-radius:12px;font:inherit;background:#fff}
.wk-bar select,.wk-bar button,.wk-date input{width:auto;flex:none;margin:0;padding:9px 10px;border:1px solid var(--s-line,#E4E8F0);border-radius:12px;font:inherit;background:#fff}
.wk-date{display:flex;align-items:center;gap:6px;font-size:13px;font-weight:600;color:var(--s-muted,#5B677A);margin:0}
.wk-grow{flex:1}
.wk-chips{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 6px}
.wk-chips button{border:1px solid var(--s-line,#E4E8F0);background:#fff;border-radius:99px;padding:6px 13px;font:inherit;font-size:13px;font-weight:600;color:#334866;cursor:pointer}
.wk-chips button b{font-weight:700;color:var(--s-muted,#5B677A);margin-left:2px}
.wk-chips button[aria-pressed=true]{background:#EAF4FC;border-color:#BFDDF5;color:#0F5E99}.wk-chips button[aria-pressed=true] b{color:#0F5E99}
.wk-sub{margin:4px 0 10px;font-size:12.5px;color:var(--s-muted,#5B677A)}
.wk-table{background:#fff;border:1px solid var(--s-line,#E4E8F0);border-radius:16px;overflow:auto}
.wk-table table{width:100%;border-collapse:collapse;font-size:14px}
.wk-table th{text-align:left;font-size:12px;font-weight:700;color:var(--s-muted,#5B677A);padding:11px 14px;border-bottom:1px solid var(--s-line,#E4E8F0);background:#FAFBFD;white-space:nowrap}
.wk-table td{padding:11px 14px;border-bottom:1px solid #EEF1F6;vertical-align:top}
.wk-table tr:last-child td{border-bottom:0}
.wk-table td small{display:block;color:var(--s-muted,#5B677A);font-size:12.5px;margin-top:2px}
.hrw-card .wk-table{border-radius:12px}
.wk-flags{display:flex;flex-wrap:wrap;gap:4px}
.wk-pill{display:inline-block;padding:2px 9px;border-radius:99px;font-size:12px;font-weight:700;background:#EEF1F6;color:#5B677A;white-space:nowrap;vertical-align:middle}
.wk-pill.good{background:#E8F6EF;color:#1B6B4A}.wk-pill.warn{background:#FFF6E0;color:#8A5A00}.wk-pill.bad{background:#FCEDEF;color:#A3263D}.wk-pill.info{background:#EAF4FC;color:#0F5E99}
.hrw-id h2 .wk-pill{font-size:12px}
.wk-muted{color:var(--s-muted,#5B677A)}
.wk-plus{color:#1B6B4A}.wk-minus{color:#A3263D}.wk-warn{color:#9A5B00}
.wk-pager{display:flex;justify-content:center;align-items:center;gap:12px;margin:12px 0;font-size:13px;color:var(--s-muted,#5B677A)}
.wk-empty{background:#fff;border:1px dashed var(--s-line,#d5e3f0);border-radius:14px;padding:24px;text-align:center;color:var(--s-muted,#5B677A);display:grid;gap:4px}
.wk-empty b{color:var(--s-ink,#14254a);font-size:15px}
.wk-loading{display:flex;align-items:center;gap:10px;padding:40px;justify-content:center;color:var(--s-muted,#5B677A)}
.wk-loading span{width:18px;height:18px;border:2px solid #CFE3F4;border-top-color:#1676BD;border-radius:50%;animation:wk-spin .7s linear infinite}
@keyframes wk-spin{to{transform:rotate(360deg)}}
.wk-count{display:inline-block;min-width:18px;padding:0 6px;border-radius:99px;background:#EEF1F6;color:#5B677A;font-size:11.5px;text-align:center;margin-left:4px}
.wk-note{color:var(--s-muted,#5B677A);font-size:13px;margin:0}
.wk-ok{margin:0;color:#1B6B4A;font-weight:600}
.wk-att{border-left:3px solid #CBD5E1!important}.wk-att.warn{border-left-color:#E7B23C!important}.wk-att.bad{border-left-color:#D9667A!important}.wk-att.info{border-left-color:#7FB8E0!important}
.wk-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 14px}
.wk-h4{margin:6px 0 -2px;font-size:12px;letter-spacing:.5px;text-transform:uppercase;color:var(--s-muted,#5B677A)}
.wk-wide{margin-bottom:14px}
.wk-list{margin:0;padding-left:20px;display:grid;gap:4px;color:#334866}
.wk-danger{border-color:#F3C9D1!important}
.wk-btn-danger{background:#A3263D!important;color:#fff!important;border:0!important;border-radius:10px;padding:9px 16px;font-weight:700;cursor:pointer}
.wk-btn-danger-soft{color:#A3263D!important;border-color:#F3C9D1!important}
.wk-panel{margin:14px 0}
.wk-stagepick{display:flex;flex-wrap:wrap;gap:8px}
.wk-stagepick label{display:block!important;margin:0}
.wk-stagepick input{position:absolute;opacity:0;width:1px;height:1px}
.wk-stagepick span{display:block;padding:10px 16px;border:1px solid var(--s-line,#E4E8F0);border-radius:12px;background:#fff;font-weight:700;cursor:pointer}
.wk-stagepick input:checked+span{background:#EAF4FC;border-color:#1676BD;color:#0F5E99}
.wk-stagepick input:focus-visible+span{outline:2px solid #1676BD;outline-offset:2px}
.wk-steps{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;list-style:none;padding:0;margin:14px 0 0}
.wk-steps li{background:#fff;border:1px solid var(--s-line,#E4E8F0);border-radius:12px;padding:10px;display:grid;gap:2px;justify-items:start;font-size:12.5px;color:#94A3B8}
.wk-steps li span{width:22px;height:22px;border-radius:50%;display:grid;place-items:center;background:#EEF1F6;font-size:11.5px;font-weight:700}
.wk-steps li b{color:inherit;font-size:13px}.wk-steps li small{color:var(--s-muted,#5B677A);font-size:11.5px;min-height:14px}
.wk-steps li.done{color:#1B6B4A}.wk-steps li.done span{background:#E8F6EF;color:#1B6B4A}
.wk-steps li.now{color:#0F5E99;border-color:#1676BD}.wk-steps li.now span{background:#1676BD;color:#fff}
.wk-ordermark{font-size:20px!important;background:#EAF4FC!important;color:#0F5E99!important}
.wk-notes{background:#FAFBFD;border-radius:12px;padding:10px 12px}.wk-notes span{font-size:12px;color:var(--s-muted,#5B677A)}.wk-notes p{margin:2px 0 0;font-weight:600}
.wk-timeline{list-style:none;margin:0;padding:0 0 0 14px;border-left:2px solid #E4E8F0;display:grid;gap:12px}
.wk-timeline li{position:relative;display:grid;gap:1px}
.wk-timeline li::before{content:"";position:absolute;left:-20px;top:5px;width:10px;height:10px;border-radius:50%;background:#1676BD;border:2px solid #fff}
.wk-timeline span{font-size:12.5px;color:var(--s-muted,#5B677A)}.wk-timeline p{margin:2px 0 0;font-size:13px}
.wk-stars{color:#E0A100;letter-spacing:1px}.wk-stars span{color:#E4E8F0}.wk-stars.big{font-size:22px;margin:0}
.wk-photo{max-width:100%;max-height:420px;border-radius:12px;display:block}
.wk-bag{display:flex;gap:14px;align-items:center;flex-wrap:wrap}
.wk-bag code{font-size:22px;font-weight:800;letter-spacing:1px;background:#FAFBFD;border:1px solid var(--s-line,#E4E8F0);border-radius:12px;padding:10px 16px}
.wk-bag small{display:block;color:var(--s-muted,#5B677A);margin-top:4px}
.wk-days{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:10px;max-height:420px;overflow:auto;padding:2px}
.wk-days fieldset{border:1px solid var(--s-line,#E4E8F0);border-radius:12px;padding:8px 10px 10px;margin:0;display:grid;gap:6px}
.wk-days legend{font-weight:700;font-size:13px;padding:0 4px}
.wk-days label{display:block!important;margin:0}
.wk-days input{position:absolute;opacity:0;width:1px;height:1px}
.wk-days span{display:flex;justify-content:space-between;gap:6px;padding:8px 10px;border:1px solid var(--s-line,#E4E8F0);border-radius:10px;cursor:pointer;font-weight:600;font-size:13px}
.wk-days span small{color:var(--s-muted,#5B677A);font-weight:500}
.wk-days input:checked+span{background:#EAF4FC;border-color:#1676BD;color:#0F5E99}
.wk-days input:focus-visible+span{outline:2px solid #1676BD}
#ws-book #wk-b-q{padding:11px 14px;border:1px solid var(--s-line,#E4E8F0);border-radius:12px;font:inherit;width:100%}
#ws-book .hr-who small{display:block;margin-top:3px}
.wk-plans{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:12px;margin-top:8px}
.wk-plan{display:grid;gap:6px;text-align:left;background:#fff;border:1px solid var(--s-line,#E4E8F0);border-radius:16px;padding:16px 18px;cursor:pointer;font:inherit;color:inherit}
.wk-plan:hover{border-color:#BFDDF5;box-shadow:0 4px 14px rgba(14,27,51,.06)}
.wk-plan b{font-size:16px}.wk-plan strong{font-size:22px;font-weight:800}.wk-plan strong small{font-size:12px;font-weight:600;color:var(--s-muted,#5B677A)}
.wk-plan em{font-style:normal;color:var(--s-muted,#5B677A);font-size:13px}.wk-plan i{font-style:normal;color:#1676BD;font-weight:700;font-size:13px}
/* Support inbox */
.sup-box{display:grid;grid-template-columns:340px minmax(0,1fr);background:#fff;border:1px solid var(--s-line,#E4E8F0);border-radius:16px;overflow:hidden;min-height:560px;margin-top:6px}
.sup-list{border-right:1px solid var(--s-line,#E4E8F0);overflow:auto;max-height:72vh}
.sup-item{display:grid;gap:3px;width:100%;text-align:left;border:0;border-bottom:1px solid #EEF1F6;background:#fff;padding:12px 16px;cursor:pointer;font:inherit;color:inherit;border-left:3px solid transparent}
.sup-item:hover{background:#FAFBFD}.sup-item.on{background:#EAF4FC;border-left-color:#1676BD}.sup-item.new .sup-top b::after{content:"";display:inline-block;width:7px;height:7px;border-radius:50%;background:#D9667A;margin-left:6px;vertical-align:middle}
.sup-top{display:flex;justify-content:space-between;gap:8px}.sup-top small{color:var(--s-muted,#5B677A);font-size:12px;white-space:nowrap}
.sup-topic{font-weight:600;font-size:13px}.sup-prev{color:var(--s-muted,#5B677A);font-size:12.5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sup-item .wk-pill{justify-self:start}
.sup-convo{display:flex;flex-direction:column;min-width:0}
.sup-none{margin:auto;text-align:center;color:var(--s-muted,#5B677A);display:grid;gap:4px}.sup-none b{color:var(--s-ink,#14254a)}
.sup-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding:14px 18px;border-bottom:1px solid #EEF1F6}
.sup-head h3{margin:0;font-size:16px}.sup-head p{margin:4px 0 0}
.sup-thread{flex:1;overflow:auto;max-height:52vh;padding:14px 18px;display:grid;gap:8px;align-content:start;background:#FAFBFD}
.sup-msg{display:flex}.sup-msg.team{justify-content:flex-end}
.sup-msg>div{max-width:75%;padding:10px 14px;border-radius:16px;background:#fff;border:1px solid #E4E8F0;border-bottom-left-radius:4px}
.sup-msg.team>div{background:#1676BD;color:#fff;border:0;border-bottom-left-radius:16px;border-bottom-right-radius:4px}
.sup-msg p{margin:0;white-space:pre-wrap;color:inherit}.sup-msg.team p,.sup-msg.team small{color:#fff!important}.sup-msg small{display:block;margin-top:4px;opacity:.75;font-size:11.5px}
.sup-photo{max-width:260px;border-radius:10px;display:block}
.sup-reply{padding:12px 18px;border-top:1px solid #EEF1F6;display:grid;gap:8px}
.sup-reply textarea{width:100%;padding:10px 12px;border:1px solid #D5E3F0;border-radius:12px;font:inherit;resize:vertical}
/* Settings pages: what it is, what students see, the value, then the fields. */
.wk-intro{margin:0 0 12px;color:var(--s-muted,#5B677A);max-width:820px}
.wk-jump{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 14px}
.wk-jump a{padding:6px 12px;border-radius:99px;background:#fff;border:1px solid var(--s-line,#E4E8F0);color:#334866;font-weight:600;font-size:13px;text-decoration:none}
.wk-jump a:hover{border-color:#BFDDF5;color:#0F5E99}
.wk-set{margin-bottom:14px;scroll-margin-top:16px}
.wk-set-head{display:flex;justify-content:space-between;gap:14px;align-items:flex-start}
.wk-set-head h3{font-size:17px!important}.wk-set-head p{margin:4px 0 0;color:var(--s-muted,#5B677A);max-width:720px}
.wk-now{flex:none}
.wk-sees{margin:0;background:#FAFBFD;border-radius:10px;padding:8px 12px;font-size:13px;color:#334866}.wk-sees b{display:inline-block;font-size:11px;text-transform:uppercase;letter-spacing:.5px;color:var(--s-muted,#5B677A);margin-right:8px}
.wk-help{display:block;font-weight:500;color:var(--s-muted,#5B677A);font-size:12px;margin-top:2px}
.wk-fs{border:1px solid #EEF1F6;border-radius:12px;padding:10px 14px 14px;margin:0;display:grid;gap:10px}
.wk-fs legend{font-weight:700;font-size:14px;padding:0 4px}
.wk-set-foot{display:flex;gap:10px;align-items:center;border-top:1px solid #EEF1F6;padding-top:12px;flex-wrap:wrap}
.wk-set-foot input{flex:1 1 260px;padding:9px 11px;border:1px solid #d5e3f0;border-radius:10px;font:inherit}
@media (max-width:900px){
  .wk-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .wk-steps{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media (max-width:760px){.sup-box{grid-template-columns:1fr}.sup-list{max-height:280px;border-right:0;border-bottom:1px solid var(--s-line,#E4E8F0)}}
@media (max-width:600px){
  .wk-grid{grid-template-columns:1fr}
  .wk-steps{grid-template-columns:repeat(2,minmax(0,1fr))}
  .wk-bar input[type=search]{flex-basis:100%}
  .wk-table th,.wk-table td{padding:9px 10px}
}
/* Forms that older pages open with detail() show as a full page over the content area, with Back. */
body.bs-in dialog#admin-detail{position:fixed;inset:0 0 0 var(--s-side,244px);width:auto;height:auto;max-width:none;max-height:none;margin:0;border:0!important;border-radius:0!important;box-shadow:none!important;padding:26px 36px 64px;background:var(--s-bg,#F6F7FB);overflow:auto;z-index:60}
body.bs-in dialog#admin-detail::backdrop{background:transparent;backdrop-filter:none}
body.bs-in #detail-close{position:static;display:inline-block;width:auto;height:auto;border:0;border-radius:0;background:none;color:#1E70D0;font-weight:700;font-size:14px;padding:4px 0;margin:0 0 12px;cursor:pointer}
body.bs-in #detail-body{max-width:1000px;background:#fff;border:1px solid var(--s-line,#E4E8F0);border-radius:18px;padding:24px 28px}
@media (max-width:900px){body.bs-in dialog#admin-detail{inset:0;padding:16px 16px 48px}body.bs-in #detail-body{padding:18px}}
.wk-stagepick label,.wk-days label{position:relative}
.wk-stagepick input,.wk-days input{width:1px!important;height:1px!important;padding:0!important;border:0!important;left:0;top:0}
.wk-fs,.wk-fs .wk-grid{min-width:0}
.wk-set .wk-grid{align-items:start}
/* Problems, condition, rack spot, team notes */
.wk-problem{display:flex;gap:12px;align-items:flex-start;padding:12px 14px;border-radius:12px;background:#F4F6FA;margin-top:8px}.wk-problem>div:first-child{flex:1;min-width:0}
.wk-problem.open{background:#FFF1F2}.wk-problem p{margin:4px 0}.wk-problem small{color:var(--s-muted,#5B677A)}.wk-problem-act{flex:none}
.wk-problemcard .hrw-cardhead h3{font-size:15px}.wk-cond{color:#BE123C}.wk-rack{font-size:18px}
.wk-teamnote{display:flex;flex-wrap:wrap;gap:4px 10px;align-items:baseline;padding:10px 12px;border-radius:12px;background:#FFFBEB}.wk-teamnote b{flex:1 1 100%}.wk-teamnote span{color:var(--s-muted,#5B677A);font-size:13px}
.wk-noteform{display:flex;gap:8px;align-items:flex-end;margin-top:12px}.wk-noteform label{flex:1;margin:0}
