/* Schedule Builder — lives inside the Workday shell; Canvas-flavoured controls. */
.sb{max-width:760px}
.sb-wide{max-width:1124px}
.wd-bottombar{display:none !important}
body.has-bottombar{padding-bottom:0}
.sb-head{display:flex;align-items:center;gap:12px;margin-left:auto}
.sb-term{display:inline-flex;align-items:center;gap:8px;height:32px;padding:0 14px;border-radius:100px;background:rgba(255,255,255,.14);color:#fff;font-size:13px;font-weight:500;white-space:nowrap}
.sb-term .wd-icon{width:18px;height:18px}

/* step bar (Workday business-process style) */
.sb-steps{display:flex;align-items:center;gap:0;margin:0 0 28px;padding:0;list-style:none;counter-reset:s}
.sb-steps li{display:flex;align-items:center;gap:10px;font-size:13px;line-height:16px;color:var(--wd-text-muted);font-weight:500;white-space:nowrap}
.sb-steps li .n{width:28px;height:28px;border-radius:50%;border:2px solid #c9ced4;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:700;color:var(--wd-text-muted);background:#fff;flex:none}
.sb-steps li.done .n{background:var(--wd-ok);border-color:var(--wd-ok);color:#fff}
.sb-steps li.now{color:var(--wd-text-strong)}
.sb-steps li.now .n{border-color:var(--wd-brand);color:var(--wd-brand)}
.sb-steps li + li::before{content:"";width:40px;height:2px;background:#dfe2e6;margin:0 10px}
.sb-steps li.done + li::before{background:var(--wd-ok)}
@media (max-width:720px){
  .sb-steps li span.t{display:none}
  .sb-steps li.now span.t{display:inline}
  .sb-steps li + li::before{width:16px;margin:0 6px}
}

/* generic */
.sb-card{background:#fff;border:1px solid var(--wd-border);border-radius:16px;box-shadow:var(--wd-shadow);padding:24px;margin-bottom:24px}
.sb-card h2{font-size:20px;line-height:28px;font-weight:700;margin-bottom:4px}
.sb-card .sub{font-size:14px;line-height:20px;color:var(--wd-text-muted);margin:0 0 20px}
.sb-lead{font-size:16px;line-height:24px;color:var(--wd-text);margin:0 0 16px}
.sb-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:16px;margin:20px 0 8px}
.sb-fact{border:1px solid var(--wd-border-strong);border-radius:8px;padding:14px 16px}
.sb-fact b{display:block;font-size:24px;line-height:28px;font-weight:700;color:var(--wd-text-strong)}
.sb-fact span{font-size:13px;line-height:18px;color:var(--wd-text-muted)}
.sb-note{display:flex;gap:10px;align-items:flex-start;font-size:13px;line-height:18px;color:var(--wd-text);background:#f6f7f8;border-radius:8px;padding:12px 14px;margin-top:16px}
.sb-note .wd-icon{width:18px;height:18px;color:var(--wd-text-muted);margin-top:0}
.sb-foot{position:sticky;bottom:0;background:#fff;border-top:1px solid var(--wd-border);margin:0 -32px -48px;padding:16px 32px;display:flex;gap:16px;align-items:center;z-index:10}
.sb-foot .right{margin-left:auto;display:flex;gap:12px;align-items:center}
.sb-foot .hint{font-size:13px;color:var(--wd-text-muted)}
@media (max-width:1000px){.sb-foot{margin:0 -16px -40px;padding:12px 16px}}
.sb-link{font-weight:700;font-size:14px}
.sb-muted{color:var(--wd-text-muted)}
.sb-chk{display:flex;gap:10px;align-items:flex-start;font-size:14px;line-height:20px;padding:8px 0;border-bottom:1px solid var(--wd-border)}
.sb-chk:last-child{border-bottom:0}
.sb-chk .wd-icon{color:var(--wd-ok);width:20px;height:20px;flex:none}
.sb-chk.warn .wd-icon{color:#c66a00}

/* form controls */
.sb-field{margin-bottom:24px}
.sb-label{display:block;font-size:14px;line-height:20px;font-weight:500;color:var(--wd-text-strong);margin-bottom:8px}
.sb-label small{font-weight:400;color:var(--wd-text-muted);margin-left:6px}
.sb-seg{display:inline-flex;border:1px solid #333;border-radius:100px;overflow:hidden;background:#fff}
.sb-seg button{height:36px;padding:0 18px;font-size:14px;font-weight:500;color:#333;border-right:1px solid #333}
.sb-seg button:last-child{border-right:0}
.sb-seg button.on{background:#333;color:#fff}
.sb-select{height:40px;border:1px solid var(--wd-input-border);border-radius:4px;padding:0 36px 0 12px;font:500 14px var(--wd-font);color:#333;background:#fff url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24'><path fill='%23494949' d='M6.7 9.3a1 1 0 0 1 1.4 0L12 13.2l3.9-3.9a1 1 0 1 1 1.4 1.4l-4.6 4.6a1 1 0 0 1-1.4 0L6.7 10.7a1 1 0 0 1 0-1.4z'/></svg>") no-repeat right 10px center;appearance:none;-webkit-appearance:none;min-width:150px}
.sb-days{display:flex;gap:8px;flex-wrap:wrap}
.sb-day{width:48px;height:36px;border-radius:100px;box-shadow:inset 0 0 0 1px #4a4a4a;font-size:13px;font-weight:700;color:#333;background:#fff}
.sb-day.off{background:#333;color:#fff}
.sb-tags{display:flex;gap:8px;flex-wrap:wrap}
.sb-tagbtn{height:34px;padding:0 14px;border-radius:100px;box-shadow:inset 0 0 0 1px #a1aab3;font-size:13px;font-weight:500;color:#333;background:#fff;display:inline-flex;align-items:center;gap:6px}
.sb-tagbtn.on{box-shadow:inset 0 0 0 2px var(--wd-brand);color:var(--wd-brand);font-weight:700}
.sb-textarea{width:100%;min-height:72px;border:1px solid var(--wd-input-border);border-radius:4px;padding:10px 12px;font:400 14px/20px var(--wd-font);color:#333;resize:vertical}
.sb-textarea:focus,.sb-select:focus{outline:2px solid #0875e1;outline-offset:0;border-color:#0875e1}
.sb-parsed{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.sb-parsed span{font-size:12px;font-weight:700;color:#333;background:#d7eafc;border-radius:3px;padding:3px 8px}
.sb-ai-box{border:1px solid #c7dcf6;background:#f3f8fe;border-radius:8px;padding:14px 16px;margin-bottom:24px}
.sb-ai-box .sb-label{display:flex;align-items:center;gap:8px}
.sb-ai-box .sb-label .wd-icon{color:#0875e1;width:18px;height:18px}
.sb-ai-box .row{display:flex;gap:12px;align-items:flex-start}
.sb-ai-box .row .wd-btn{flex:none;margin-top:0}

/* week grid */
.sb-week{--h:40px;--start:8;--hours:10;display:grid;grid-template-columns:44px repeat(5,1fr);font-size:11px;line-height:14px;color:var(--wd-text-muted);user-select:none}
.sb-week.mini{--h:22px;font-size:9px;line-height:10px}
.sb-week .dh{text-align:center;padding:0 0 6px;font-weight:500;color:var(--wd-text-strong);font-size:12px}
.sb-week.mini .dh{font-size:10px;padding-bottom:3px}
.sb-week .dh.off{color:#a1aab3}
.sb-week .times{display:grid;grid-template-rows:repeat(var(--hours),var(--h))}
.sb-week .times span{transform:translateY(-7px);padding-right:6px;text-align:right}
.sb-week.mini .times span{transform:translateY(-5px);padding-right:4px}
.sb-week .col{position:relative;height:calc(var(--h) * var(--hours));border-left:1px solid var(--wd-border-strong);background:repeating-linear-gradient(to bottom,transparent 0,transparent calc(var(--h) - 1px),var(--wd-border-strong) calc(var(--h) - 1px),var(--wd-border-strong) var(--h));border-top:1px solid var(--wd-border-strong)}
.sb-week .col:last-child{border-right:1px solid var(--wd-border-strong)}
.sb-week .col.off{background-color:#f6f7f8;background-image:repeating-linear-gradient(135deg,transparent 0 6px,#e8ebed 6px 7px)}
.sb-week .col.off::after{content:"Off";position:absolute;left:0;right:0;top:8px;text-align:center;font-size:11px;font-weight:700;color:#a1aab3}
.sb-week.mini .col.off::after{font-size:9px;top:4px}
.sb-week .ev{position:absolute;left:2px;right:2px;border-radius:3px;padding:3px 5px;background:#ebedf0;color:#333;overflow:hidden;border-left:3px solid #6a7580;cursor:pointer}
.sb-week .ev b{display:block;font-weight:700;font-size:11px;line-height:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sb-week .ev i{font-style:normal;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sb-week.mini .ev{padding:1px 3px;border-left-width:2px}
.sb-week.mini .ev b{font-size:8.5px;line-height:10px}
.sb-week.mini .ev i{display:none}
.sb-week .ev.c1{background:#dceefc;border-color:#0875e1}
.sb-week .ev.c2{background:#e3f4ea;border-color:#008537}
.sb-week .ev.c3{background:#f1e8fa;border-color:#7a4fc7}
.sb-week .ev.c4{background:#fff1dc;border-color:#d7761a}
.sb-week .ev.c5{background:#e0f2f2;border-color:#0f8a8a}
.sb-week .ev.c6{background:#fde8ec;border-color:#9d2235}
.sb-week .ev.block{background:repeating-linear-gradient(135deg,#e8ebed 0 5px,#f6f7f8 5px 10px);border-color:#a1aab3;color:#5e6a75;cursor:default}
.sb-week .ev.hl{outline:2px solid var(--wd-brand);outline-offset:1px}
.sb-week .ev.ghost{background:#ffefee;border-color:#de2e21;border-style:dashed;opacity:.9}
.sb-week .cell{position:absolute;left:0;right:0;cursor:pointer}
.sb-week .cell:hover{background:rgba(8,117,225,.08)}
.sb-legend{display:flex;gap:16px;flex-wrap:wrap;font-size:12px;color:var(--wd-text-muted);margin-top:10px}
.sb-legend span::before{content:"";display:inline-block;width:12px;height:12px;border-radius:2px;margin-right:6px;vertical-align:-2px;background:repeating-linear-gradient(135deg,#e8ebed 0 3px,#f6f7f8 3px 6px);border:1px solid #a1aab3}

/* requirement rows */
.sb-req{display:grid;grid-template-columns:1fr auto;gap:4px 16px;padding:14px 0;border-bottom:1px solid var(--wd-border);align-items:center}
.sb-req:last-child{border-bottom:0}
.sb-req b{font-size:14px;line-height:20px;color:var(--wd-text-strong);font-weight:700}
.sb-req .d{font-size:13px;line-height:18px;color:var(--wd-text);display:flex;gap:6px;align-items:center;flex-wrap:wrap}
.sb-req .d .wd-icon{width:16px;height:16px;color:var(--wd-ok)}
.sb-req .d .wd-icon.miss{color:#c66a00}
.sb-req.later{opacity:.75}
.sb-pill{display:inline-flex;align-items:center;gap:6px;height:24px;padding:0 10px;border-radius:100px;font-size:12px;font-weight:700;white-space:nowrap}
.sb-pill.fit{background:var(--wd-ok-soft);color:#0b5e2a}
.sb-pill.warn{background:var(--wd-warn-soft);color:#8a4b00}
.sb-pill.later{background:#eef0f2;color:#5e6a75}
.sb-pill.info{background:#d7eafc;color:#0b3f78}
.sb-pill .wd-icon{width:14px;height:14px}

/* options */
.sb-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;align-items:start}
@media (max-width:1000px){.sb-options{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:12px;margin:0 -16px;padding:0 16px 8px;-webkit-overflow-scrolling:touch}.sb-options .sb-opt{flex:0 0 86%;scroll-snap-align:center}}
.sb-opt{background:#fff;border:1px solid var(--wd-border);border-radius:16px;box-shadow:var(--wd-shadow);padding:20px;position:relative}
.sb-opt.chosen{border-color:var(--wd-brand);box-shadow:0 0 0 2px var(--wd-brand), var(--wd-shadow)}
.sb-opt .lbl{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:2px}
.sb-opt .lbl h3{font-size:16px;line-height:24px;font-weight:700}
.sb-opt .lbl .cr{font-size:13px;font-weight:700;color:var(--wd-text-strong);white-space:nowrap}
.sb-opt .note{font-size:13px;line-height:18px;color:var(--wd-text-muted);margin:0 0 14px;min-height:36px}
.sb-opt .wd-btn{width:100%;margin-top:14px}
.sb-cls{display:flex;gap:10px;align-items:flex-start;padding:10px 0;border-top:1px solid var(--wd-border);cursor:pointer;border-radius:4px}
.sb-cls:hover{background:#f6f7f8;margin:0 -8px;padding-left:8px;padding-right:8px}
.sb-cls .sw{width:10px;height:10px;border-radius:2px;margin-top:5px;flex:none}
.sb-cls .sw.c1{background:#0875e1}.sb-cls .sw.c2{background:#008537}.sb-cls .sw.c3{background:#7a4fc7}.sb-cls .sw.c4{background:#d7761a}.sb-cls .sw.c5{background:#0f8a8a}.sb-cls .sw.c6{background:#9d2235}
.sb-cls .t{flex:1;min-width:0}
.sb-cls .t b{display:block;font-size:13px;line-height:18px;color:var(--wd-text-strong);font-weight:700}
.sb-cls .t span{display:block;font-size:12px;line-height:16px;color:var(--wd-text)}
.sb-cls .why{margin-top:5px;display:inline-flex;gap:6px;flex-wrap:wrap}
.sb-cls .why em{font-style:normal;font-size:11px;font-weight:700;color:#333;background:#eef0f2;border-radius:3px;padding:2px 6px}
.sb-cls .why em.seat{background:var(--wd-warn-soft);color:#8a4b00}
.sb-cls .why em.ok{background:var(--wd-ok-soft);color:#0b5e2a}
.sb-cls .chev{color:var(--wd-icon);flex:none;margin-top:4px}

/* catches / errors */
.sb-catch{display:flex;gap:12px;align-items:flex-start;padding:14px 16px;border:1px solid #f3c58f;background:#fff8ee;border-radius:8px;margin-bottom:10px}
.sb-catch.crit{border-color:#f0a9a3;background:#fff3f2}
.sb-catch .wd-icon{color:#c66a00;flex:none;width:20px;height:20px;margin-top:1px}
.sb-catch.crit .wd-icon{color:#c8231b}
.sb-catch b{display:block;font-size:14px;line-height:20px;color:var(--wd-text-strong)}
.sb-catch p{margin:2px 0 0;font-size:13px;line-height:18px}
.sb-catch p.fix{font-weight:500;color:var(--wd-text-strong)}
.sb-catch .act{margin-top:8px;display:flex;gap:8px;flex-wrap:wrap}
.sb-toggle{font-size:14px;font-weight:700;color:var(--wd-link);display:inline-flex;align-items:center;gap:6px}

/* swap */
.sb-alt{display:flex;gap:12px;align-items:flex-start;padding:14px 16px;border:1px solid var(--wd-border-strong);border-radius:8px;margin-bottom:10px;background:#fff}
.sb-alt.cur{border-color:var(--wd-brand);background:#fff}
.sb-alt.bad{background:#f8f9fa}
.sb-alt .t{flex:1;min-width:0}
.sb-alt .t b{display:block;font-size:14px;line-height:20px;color:var(--wd-text-strong)}
.sb-alt .t span{display:block;font-size:13px;line-height:18px}
.sb-alt .t .no{color:#8a4b00;font-weight:500;margin-top:4px}
.sb-alt .t .no.crit{color:#b3261e}
.sb-alt .wd-btn{flex:none}

/* review */
.sb-diff{border:1px solid var(--wd-border-strong);border-radius:8px;overflow:hidden}
.sb-diff .r{display:grid;grid-template-columns:28px 1fr auto;gap:12px;align-items:center;padding:12px 14px;border-bottom:1px solid var(--wd-border);font-size:14px;line-height:20px}
.sb-diff .r:last-child{border-bottom:0}
.sb-diff .r .pm{width:24px;height:24px;border-radius:50%;background:var(--wd-ok-soft);color:#0b5e2a;font-weight:700;display:flex;align-items:center;justify-content:center;font-size:16px}
.sb-diff .r .pm.minus{background:var(--wd-crit-soft);color:#b3261e}
.sb-diff .r b{display:block;color:var(--wd-text-strong)}
.sb-diff .r span{font-size:13px;color:var(--wd-text)}
.sb-diff .r .u{font-weight:700;color:var(--wd-text-strong)}
.sb-total{display:flex;justify-content:space-between;font-size:14px;font-weight:700;color:var(--wd-text-strong);padding:12px 14px;background:#f6f7f8;border-top:1px solid var(--wd-border-strong)}
.sb-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:20px}
@media (max-width:720px){.sb-actions .wd-btn{flex:1 1 100%}}
.sb-done{text-align:center;padding:24px 0 8px}
.sb-done .wd-icon{width:56px;height:56px;color:var(--wd-ok)}
.sb-done h2{margin-top:12px}

/* sheet (class detail) */
.sb-sheet{background:#fff;border-radius:16px;border:1px solid #d5d9de;box-shadow:0 20px 25px rgba(0,0,0,.16);width:min(520px,100%);padding:24px 24px 20px;position:relative}
.sb-sheet h3{font-size:18px;line-height:24px;font-weight:700;margin-bottom:2px;padding-right:40px}
.sb-sheet .sub{font-size:14px;color:var(--wd-text-muted);margin:0 0 14px}
.sb-sheet .x{position:absolute;right:12px;top:12px;width:36px;height:36px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:var(--wd-icon)}
.sb-sheet dl{display:grid;grid-template-columns:120px 1fr;gap:8px 12px;font-size:14px;line-height:20px;margin:0 0 16px}
.sb-sheet dt{font-weight:500;color:var(--wd-text-strong)}
.sb-sheet dd{margin:0}
.sb-sheet .whybox{background:#f6f7f8;border-radius:8px;padding:12px 14px;font-size:14px;line-height:20px;margin-bottom:16px}
.sb-sheet .whybox b{display:block;font-size:12px;letter-spacing:.3px;text-transform:uppercase;color:var(--wd-text-muted);margin-bottom:4px}
@media (max-width:720px){.wd-scrim{align-items:flex-end;padding:0}.sb-sheet{border-radius:16px 16px 0 0;width:100%}}

/* phone-width header fit */
@media (max-width:720px){
  .wd-task-head{gap:8px}
  .wd-task-head h1{font-size:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
  .sb-head{gap:8px;flex:none}
  .sb-term{height:28px;padding:0 10px;font-size:12px}
  .sb-term .wd-icon{display:none}
  .sb-facts{grid-template-columns:1fr 1fr}
  .sb-fact b{font-size:20px;line-height:24px}
  .sb-card{padding:20px 16px}
  .sb-foot .hint{display:none}
}
@media (max-width:420px){
  .sb-facts{grid-template-columns:1fr 1fr}
  .sb-facts .sb-fact:nth-child(3){grid-column:1 / -1}
}

/* ---- progress (Workday-style bar: blue fill on a grey track, step names under it) ---- */
.sb-steps{display:none}
.sb-prog{margin:0 0 24px;max-width:760px}
.sb-prog-meta{display:flex;justify-content:space-between;align-items:baseline;font-size:13px;line-height:18px;color:var(--wd-text-muted);margin-bottom:8px}
.sb-prog-meta b{font-size:14px;color:var(--wd-text-strong)}
.sb-prog-track{height:6px;border-radius:3px;background:#e8ebed;overflow:hidden}
.sb-prog-fill{height:100%;background:var(--wd-link);border-radius:3px;transition:width .35s ease}
.sb-prog-steps{list-style:none;margin:8px 0 0;padding:0;display:flex;justify-content:space-between;gap:8px}
.sb-prog-steps li{display:flex;align-items:center;gap:4px;font-size:12px;line-height:16px;color:#8a949e;white-space:nowrap;min-width:0}
.sb-prog-steps li .wd-icon{width:14px;height:14px;color:var(--wd-link)}
.sb-prog-steps li.done{color:var(--wd-link)}
.sb-prog-steps li.now{color:var(--wd-text-strong);font-weight:700}
.sb-wide .sb-prog{max-width:none}
@media (max-width:720px){.sb-prog-steps li:not(.now) span{display:none}.sb-prog-steps{justify-content:flex-start;gap:14px}}

/* ---- term menu in the red header ---- */
.sb-term{cursor:pointer;gap:6px}
.sb-term .wd-icon:last-child{width:16px;height:16px;opacity:.85}
.sb-term:hover{background:rgba(255,255,255,.22)}
.sb-term-menu{position:absolute;top:60px;right:16px;width:min(360px,calc(100vw - 32px));background:#fff;border-radius:12px;box-shadow:var(--wd-shadow-pop);padding:8px 0;z-index:50;color:var(--wd-text)}
.sb-term-menu p{margin:0;padding:8px 16px 10px;font-size:12px;line-height:16px;color:var(--wd-text-muted);border-bottom:1px solid var(--wd-border)}
.sb-term-menu button{display:flex;align-items:center;gap:10px;width:100%;text-align:left;padding:10px 16px;font-size:13px;line-height:18px;color:var(--wd-text-strong)}
.sb-term-menu button:hover{background:#f0f1f2}
.sb-term-menu button i{width:24px;flex:none}
.sb-term-menu button .wd-icon{width:24px;height:24px;color:var(--wd-link);flex:none}
.wd-task-head{position:relative}
@media (max-width:720px){.sb-term .wd-icon:last-child{display:inline-block}.sb-term-menu{top:52px;right:8px}}

/* ---- must-take prompt field ---- */
.sb-prompt{position:relative;max-width:520px}
.sb-prompt-box{display:flex;flex-wrap:wrap;gap:6px;align-items:center;min-height:44px;padding:5px 40px 5px 8px;border:1px solid var(--wd-input-border);border-radius:4px;background:#fff;position:relative}
.sb-prompt-box:focus-within{outline:2px solid #0875e1;outline-offset:0;border-color:#0875e1}
.sb-prompt-box input{flex:1;min-width:140px;border:0;outline:0;font:400 14px/20px var(--wd-font);color:#333;padding:4px;background:transparent}
.sb-prompt-box .pr{position:absolute;right:10px;top:50%;transform:translateY(-50%);color:var(--wd-icon);display:flex}
.sb-token{display:inline-flex;align-items:center;gap:2px;height:28px;padding:0 4px 0 10px;border-radius:100px;background:#e8ebed;font-size:13px;font-weight:500;color:#333}
.sb-token button{width:22px;height:22px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:var(--wd-icon)}
.sb-token button:hover{background:#d5d9de}
.sb-token .wd-icon{width:16px;height:16px}
.sb-prompt-menu{position:absolute;left:0;right:0;top:calc(100% + 4px);background:#fff;border:1px solid var(--wd-border-strong);border-radius:8px;box-shadow:var(--wd-shadow-pop);z-index:20;max-height:260px;overflow:auto;padding:4px 0}
.sb-prompt-menu button{display:block;width:100%;text-align:left;padding:10px 12px;font-size:13px;line-height:18px;color:var(--wd-text-strong)}
.sb-prompt-menu button b{font-weight:700;margin-right:4px}
.sb-prompt-menu button span{color:var(--wd-text-muted)}
.sb-prompt-menu button:hover{background:#f0f1f2}

/* ---- four facts ---- */
.sb-facts.four{grid-template-columns:repeat(4,minmax(0,1fr))}
@media (max-width:720px){.sb-facts.four{grid-template-columns:1fr 1fr}.sb-facts.four .sb-fact:nth-child(3){grid-column:auto}}

/* ---- per-card ruled-out flag ---- */
.sb-flag{display:flex;align-items:center;gap:6px;width:100%;text-align:left;font-size:12px;line-height:16px;font-weight:700;color:#8a4b00;background:var(--wd-warn-soft);border-radius:6px;padding:6px 10px;margin:-6px 0 12px}
.sb-flag .wd-icon{width:16px;height:16px;color:#c66a00;flex:none}
.sb-flag .wd-icon:last-child{margin-left:auto;transition:transform .15s}
.sb-flag.open .wd-icon:last-child{transform:rotate(180deg)}
.sb-flag.ok{color:#0b5e2a;background:var(--wd-ok-soft)}
.sb-flag.ok .wd-icon{color:var(--wd-ok)}
.sb-flag-list{margin:-6px 0 12px;border:1px solid #f3c58f;border-radius:6px;padding:4px 10px;background:#fffaf3}
.sb-flag-row{font-size:12px;line-height:16px;padding:6px 0;border-bottom:1px solid #f6e3c8;color:var(--wd-text)}
.sb-flag-row:last-child{border-bottom:0}
.sb-flag-row b{color:var(--wd-text-strong)}
.sb-flag-row i{display:block;font-style:normal;font-weight:500;color:var(--wd-text-strong);margin-top:1px}

/* ---- registered: a moment ---- */
.sb-done-card{border-top:6px solid var(--wd-ok)}
.sb-done{text-align:center;padding:16px 0 20px}
.sb-done .ring{width:84px;height:84px;border-radius:50%;background:var(--wd-ok);color:#fff;display:inline-flex;align-items:center;justify-content:center;box-shadow:0 0 0 10px #e9f5ec;animation:sbPop .5s cubic-bezier(.2,1.2,.3,1) 1}
.sb-done .ring .wd-icon{width:44px;height:44px;color:#fff}
.sb-done .eyebrow{margin:20px 0 4px;font-size:12px;letter-spacing:.6px;text-transform:uppercase;font-weight:700;color:var(--wd-ok)}
.sb-done h2{font-size:28px;line-height:34px}
.sb-done .sb-lead{margin:8px 0 0;color:var(--wd-text-muted)}
@keyframes sbPop{0%{transform:scale(.4);opacity:0}100%{transform:scale(1);opacity:1}}
@media (prefers-reduced-motion:reduce){.sb-done .ring{animation:none}}
.sb-done-list{border:1px solid var(--wd-border-strong);border-radius:8px;margin:0 0 20px;overflow:hidden}
.sb-done-list .r{display:grid;grid-template-columns:10px auto 1fr auto;gap:10px;align-items:center;padding:10px 14px;border-bottom:1px solid var(--wd-border);font-size:14px;line-height:20px}
.sb-done-list .r:last-child{border-bottom:0}
.sb-done-list .sw{width:10px;height:10px;border-radius:2px}
.sb-done-list .sw.c1{background:#0875e1}.sb-done-list .sw.c2{background:#008537}.sb-done-list .sw.c3{background:#7a4fc7}.sb-done-list .sw.c4{background:#d7761a}.sb-done-list .sw.c5{background:#0f8a8a}.sb-done-list .sw.c6{background:#9d2235}
.sb-done-list b{color:var(--wd-text-strong)}
.sb-done-list span{color:var(--wd-text);min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sb-done-list em{font-style:normal;font-size:13px;color:var(--wd-text-muted);white-space:nowrap}
@media (max-width:720px){.sb-done-list .r{grid-template-columns:10px auto 1fr}.sb-done-list em{grid-column:2 / -1}}

/* footer bar wraps on phones so three buttons never widen the page */
.sb-foot{flex-wrap:wrap}
.sb-foot .right{flex-wrap:wrap;justify-content:flex-end;min-width:0}
@media (max-width:720px){
  .sb-foot{gap:8px}
  .sb-foot .right{gap:8px;flex:1 1 auto}
  .sb-foot .wd-btn{padding:0 18px;height:40px;font-size:13px}
}

/* ================= round 3 ================= */
/* progress: Workday ink + grey, no blue */
.sb-prog-fill{background:#333}
.sb-prog-steps li.done{color:#333}
.sb-prog-steps li.done .wd-icon{color:#333}
.sb-prog-steps li.now{color:#333}

/* credits stepper */
.sb-credits{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.sb-credits .step{width:40px;height:40px;border-radius:50%;box-shadow:inset 0 0 0 1px #333;display:flex;align-items:center;justify-content:center;color:#333;background:#fff}
.sb-credits .step:hover{background:#f0f1f2}
.sb-credits input{width:64px;height:40px;border:1px solid var(--wd-input-border);border-radius:4px;text-align:center;font:700 18px var(--wd-font);color:#333;-moz-appearance:textfield}
.sb-credits input::-webkit-outer-spin-button,.sb-credits input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.sb-credits input:focus{outline:2px solid #0875e1;outline-offset:0;border-color:#0875e1}
.sb-credits .quick{display:inline-flex;gap:6px;margin-left:10px}
.sb-credits .quick button{height:32px;padding:0 12px;border-radius:4px;border:1px solid var(--wd-border-strong);font-size:13px;font-weight:500;color:#333;background:#fff}
.sb-credits .quick button.on{background:#333;color:#fff;border-color:#333}
.sb-two{display:grid;grid-template-columns:1fr 1fr;gap:0 24px}
@media (max-width:520px){.sb-two{grid-template-columns:1fr}}

/* status: icon + text, the way Workday marks Satisfied / Not Satisfied */
.sb-status{display:inline-flex;align-items:center;gap:6px;font-size:13px;line-height:18px;font-weight:500;white-space:nowrap;color:var(--wd-text-strong)}
.sb-status .wd-icon{width:18px;height:18px;flex:none}
.sb-status.ok .wd-icon{color:var(--wd-ok)}
.sb-status.warn .wd-icon{color:#c66a00}
.sb-status.later{color:var(--wd-text-muted)}
.sb-status.later .wd-icon{color:#8a949e}
.sb-pill{display:none}
@media (max-width:720px){.sb-req{grid-template-columns:1fr}.sb-status{white-space:normal}}

/* option card header: radio + title + hazard */
.sb-opt .lbl{display:grid;grid-template-columns:22px 1fr auto;gap:10px;align-items:start;margin-bottom:8px}
.sb-opt .lbl .ttl h3{font-size:16px;line-height:22px;font-weight:700}
.sb-opt .lbl .cr{display:block;font-size:12px;line-height:16px;color:var(--wd-text-muted);font-weight:400;white-space:normal}
.sb-opt .radio{width:20px;height:20px;border-radius:50%;border:2px solid #5e6a75;margin-top:1px;position:relative;background:#fff}
.sb-opt .radio.on{border-color:var(--wd-brand)}
.sb-opt .radio.on::after{content:"";position:absolute;inset:3px;border-radius:50%;background:var(--wd-brand)}
.sb-opt.chosen{border-color:var(--wd-brand);box-shadow:0 0 0 2px var(--wd-brand), var(--wd-shadow);background:#fffafb}
.sb-opt.chosen::before{content:"Selected";position:absolute;top:-11px;left:16px;background:var(--wd-brand);color:#fff;font-size:11px;font-weight:700;letter-spacing:.3px;border-radius:3px;padding:2px 8px;line-height:16px}
.sb-hazard{display:inline-flex;align-items:center;gap:4px;height:28px;padding:0 8px;border-radius:4px;color:#c66a00;background:#fff;border:1px solid #f3c58f;font-size:12px;font-weight:700}
.sb-hazard .wd-icon{width:18px;height:18px}
.sb-hazard:hover,.sb-hazard.open{background:var(--wd-warn-soft)}
.sb-flag-list{margin:0 0 12px;border:1px solid #f3c58f;border-radius:4px;padding:4px 10px 6px;background:#fffaf3}
.sb-flag-list .hd{font-size:11px;font-weight:700;letter-spacing:.3px;text-transform:uppercase;color:#8a4b00;padding:6px 0 2px}
.sb-flag{display:none}

/* class rows: plain text, no coloured tags */
.sb-cls .why{display:none}
.sb-cls .t .meta{display:block;font-size:12px;line-height:16px;color:var(--wd-text-muted);margin-top:2px}
.sb-cls .t .meta em{font-style:normal}
.sb-cls .t .meta em.low{color:#8a4b00;font-weight:500}

/* review checks: short line, expand for detail */
.sb-checks{border:1px solid var(--wd-border-strong);border-radius:8px;overflow:hidden}
.sb-checks details{border-bottom:1px solid var(--wd-border);padding:0;display:block}
.sb-checks details:last-child{border-bottom:0}
.sb-checks summary{list-style:none;display:flex;align-items:center;gap:10px;padding:12px 14px;font-size:14px;line-height:20px;font-weight:500;color:var(--wd-text-strong);cursor:pointer}
.sb-checks summary::-webkit-details-marker{display:none}
.sb-checks summary .wd-icon{width:20px;height:20px;flex:none}
.sb-checks summary .chev{margin-left:auto;color:var(--wd-icon);transition:transform .15s}
.sb-checks details[open] summary .chev{transform:rotate(180deg)}
.sb-checks .ok summary > .wd-icon:first-child{color:var(--wd-ok)}
.sb-checks .warn summary > .wd-icon:first-child{color:#c66a00}
.sb-checks .bad summary > .wd-icon:first-child{color:#c8231b}
.sb-checks p{margin:0;padding:0 14px 12px 44px;font-size:13px;line-height:18px;color:var(--wd-text)}
.sb-chk{border-bottom:0}

/* success page (Workday's post-submit pattern) */
.sb-success{border-top:0}
.sb-success .hd{display:flex;gap:14px;align-items:flex-start;margin-bottom:16px}
.sb-success .hd > .wd-icon{width:40px;height:40px;color:var(--wd-ok);flex:none}
.sb-success .hd h2{font-size:22px;line-height:28px}
.sb-success .hd .sub{margin:2px 0 0}
.sb-kv{display:grid;grid-template-columns:140px 1fr;gap:6px 16px;font-size:14px;line-height:20px;padding:14px 16px;background:#f6f7f8;border-radius:8px}
.sb-kv b{font-weight:500;color:var(--wd-text-strong)}
@media (max-width:520px){.sb-kv{grid-template-columns:1fr;gap:0}.sb-kv b{margin-top:8px}.sb-kv b:first-child{margin-top:0}}
.sb-upnext{border:1px solid var(--wd-border-strong);border-radius:8px;overflow:hidden;margin-bottom:4px}
.sb-upnext .r{display:grid;grid-template-columns:1fr auto;gap:2px 16px;padding:12px 14px;border-bottom:1px solid var(--wd-border);font-size:14px;line-height:20px;align-items:center}
.sb-upnext .r:last-child{border-bottom:0}
.sb-upnext .r b{color:var(--wd-text-strong)}
.sb-upnext .r span{grid-column:1;font-size:13px;color:var(--wd-text)}
.sb-upnext .r .wd-btn{grid-row:1 / span 2;grid-column:2}
@media (max-width:520px){.sb-upnext .r{grid-template-columns:1fr}.sb-upnext .r .wd-btn{grid-row:auto;grid-column:1;justify-self:start;margin-top:8px}}
.sb-done-card{border-top:0}
.sb-done{display:none}
.sb-success .sb-week{margin-top:24px}

/* calendar dialog */
.sb-cal-all{display:flex;flex-direction:column;gap:8px;align-items:flex-start;margin-bottom:16px}
.sb-cal-all .sb-muted{font-size:13px}
.sb-cal-h{font-size:13px;font-weight:700;letter-spacing:.3px;text-transform:uppercase;color:var(--wd-text-muted);margin:0 0 8px}
.sb-cal-list{border:1px solid var(--wd-border-strong);border-radius:8px;overflow:hidden;max-height:300px;overflow-y:auto}
.sb-cal-list .r{display:flex;align-items:center;gap:8px;padding:10px 12px;border-bottom:1px solid var(--wd-border);font-size:13px}
.sb-cal-list .r:last-child{border-bottom:0}
.sb-cal-list .r > div{flex:1;min-width:0}
.sb-cal-list .r b{display:block;color:var(--wd-text-strong)}
.sb-cal-list .r span{color:var(--wd-text-muted);font-size:12px}
.sb-cal-list .wd-btn.sm{height:32px;padding:0 14px;font-size:12px}

.sb-relaxed{display:flex;gap:10px;align-items:flex-start;background:#eef4fb;border:1px solid #c7dcf6;border-radius:8px;padding:12px 14px;margin:0 0 16px;font-size:13px;line-height:18px;color:var(--wd-text)}
.sb-relaxed .wd-icon{width:18px;height:18px;color:#0875e1;flex:none;margin-top:1px}
.sb-relaxed b{color:var(--wd-text-strong)}

/* ================= round 4 ================= */
.is-hidden{display:none !important}
.sb-seg button[data-other]{min-width:72px}
.sb-other{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:10px;padding:10px 12px;border:1px solid var(--wd-border-strong);border-radius:4px;background:#f6f7f8;font-size:13px}
.sb-other > span:first-child{font-weight:500;color:var(--wd-text-strong);margin-right:4px}
.sb-other .step{width:32px;height:32px;border-radius:50%;box-shadow:inset 0 0 0 1px #333;display:flex;align-items:center;justify-content:center;color:#333;background:#fff}
.sb-other .step .wd-icon{width:18px;height:18px}
.sb-other input{width:56px;height:32px;border:1px solid var(--wd-input-border);border-radius:4px;text-align:center;font:700 15px var(--wd-font);color:#333;-moz-appearance:textfield;background:#fff}
.sb-other input::-webkit-outer-spin-button,.sb-other input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.sb-other .sb-muted{flex-basis:100%;margin-top:2px}
.sb-credits{display:none}

/* options as a Workday table */
.sb-opt-table td{vertical-align:top;padding:12px 10px}
.sb-opt-table td.c{text-align:center}
.sb-opt-table input[type=radio]{width:18px;height:18px;accent-color:var(--wd-brand);margin:2px 0 0;cursor:pointer}
.sb-opt-table label{cursor:pointer;font-size:14px;line-height:20px;color:var(--wd-text-strong)}
.sb-opt-table tr.is-sel td{background:#fff7f8}
.sb-opt-table td .sb-muted{font-size:12px;line-height:16px;margin-top:2px}
.sb-opt-table a{display:block;margin-bottom:6px;font-size:12px;line-height:16px}
.sb-opt-table .wd-select{height:32px;padding:0 14px 0 12px;font-size:12px;gap:8px}
.sb-opt-table .wd-select .wd-icon{width:18px;height:18px}
.sb-opt-table tr.flagrow td{padding:0 10px 12px;background:#fff}
.sb-opt-table .sb-hazard{height:26px}
.sb-courses td{font-size:12px;line-height:16px;padding:10px 8px}
.sb-courses a{display:inline}
@media (max-width:1000px){.sb-opt-table td{padding:10px 8px}}
@media (max-width:720px){
  .wd-toolbar > .wd-icon,.wd-toolbar .seg{display:none}
  /* each option becomes a card */
  .sb-opt-table,.sb-opt-table tbody,.sb-opt-table tr,.sb-opt-table td{display:block;min-width:0 !important;width:auto}
  .sb-opt-table thead{display:none}
  .sb-opt-table{border:0;background:transparent;overflow:visible}
  .sb-opt-table tr:not(.flagrow){background:#fff;border:1px solid var(--wd-border-strong);border-radius:12px;margin-bottom:12px;padding:12px 14px 14px;position:relative}
  .sb-opt-table tr.is-sel{border-color:var(--wd-brand);box-shadow:0 0 0 1px var(--wd-brand)}
  .sb-opt-table tr.is-sel td{background:transparent}
  .sb-opt-table td{border:0 !important;padding:4px 0 !important;text-align:left !important}
  .sb-opt-table td.c:first-child{position:absolute;left:14px;top:14px;padding:0 !important}
  .sb-opt-table td:nth-child(2){padding-left:30px !important}
  .sb-opt-table td:nth-child(3)::before{content:"Credit hours: ";color:var(--wd-text-muted)}
  .sb-opt-table td:nth-child(3){font-size:13px;font-weight:500}
  .sb-opt-table td:nth-child(4){padding-top:8px !important}
  .sb-opt-table td:nth-child(4) a{display:block;margin-bottom:6px}
  .sb-opt-table td:nth-child(5){display:flex;align-items:center;gap:8px;padding-top:8px !important}
  .sb-opt-table td:nth-child(5)::before{content:"Ruled out";font-size:13px;color:var(--wd-text-muted)}
  .sb-opt-table td:nth-child(6){padding-top:10px !important}
  .sb-opt-table td:nth-child(6) .wd-select{width:100%;justify-content:center;height:40px}
  .sb-opt-table tr.flagrow{margin:-6px 0 12px;padding:0}
  .sb-opt-table tr.flagrow td{padding:0 !important}
  .sb-opt-table tr.flagrow td:first-child{display:none}
}
.sb-options,.sb-opt{display:none}

/* Workday's course calendar: grey blocks, no colour */
.wd-dialog .wd-dialog-body{padding:0 32px 24px}
.wd-cal-name{display:inline-block;margin:20px 0 2px;font-size:16px;font-weight:500}
.wd-cal-sub{font-size:12px;color:var(--wd-text-muted);padding-bottom:16px;border-bottom:1px solid var(--wd-border);margin-bottom:16px}
.wd-cal-today{margin-bottom:12px}
.wd-cal-today .wd-chip{height:32px;font-size:13px;color:#8a949e;box-shadow:inset 0 0 0 1px #c9ced4;font-weight:500}
.wd-cal-scroll{max-height:calc(100vh - 290px);overflow:auto;padding-right:4px}
.sb-week.grey .ev{background:#ebedf0;border-left:0;color:#333;padding:4px 6px;border-radius:3px}
.sb-week.grey .ev b{font-weight:700}
.sb-week.grey .ev.block{background:repeating-linear-gradient(135deg,#e8ebed 0 5px,#f6f7f8 5px 10px);color:#5e6a75}
.sb-week.grey .dh{font-weight:400}
.sb-week.grey .col{border-color:#dcdfe3}
.sb-week.grey{--h:48px}
@media (max-width:720px){.wd-dialog .wd-dialog-body{padding:0 16px 16px}.wd-dialog-head{padding:0 16px}.sb-week.grey{--h:40px}}

/* success */
.sb-success .hd h2{font-size:24px;line-height:30px}
.sb-success .hd .sub{font-size:14px;line-height:20px;color:var(--wd-text)}
.sb-success .sb-kv{grid-template-columns:150px 1fr}
.sb-upnext .r .wd-btn{white-space:nowrap}

/* ================= round 5 ================= */
/* week grid: six days */
.sb-week{grid-template-columns:44px repeat(var(--days,5),1fr)}
/* clickable progress steps */
.sb-prog-steps li button{display:inline-flex;align-items:center;gap:4px;color:inherit;font:inherit;padding:2px 4px;border-radius:4px;cursor:pointer}
.sb-prog-steps li button:hover{background:#e8ebed;color:var(--wd-text-strong)}
.sb-prog-steps li button:focus-visible{outline:2px solid #0875e1}
.sb-prog-steps li:not(.can) span{cursor:default}
/* start screen cards */
.sb-two-cards{display:grid;grid-template-columns:1.25fr 1fr;gap:16px;margin:4px 0 16px}
@media (max-width:900px){.sb-two-cards{grid-template-columns:1fr}}
.sb-pcard{border:1px solid var(--wd-border-strong);border-radius:12px;padding:18px 18px 14px;background:#fff;min-width:0}
.sb-pcard h3{font-size:16px;line-height:22px;font-weight:700;margin-bottom:2px}
.sb-pcard .sub{font-size:13px;line-height:18px;color:var(--wd-text-muted);margin:0 0 12px}
.sb-pbar{height:8px;border-radius:4px;background:#e8ebed;overflow:hidden;display:flex;margin-bottom:12px}
.sb-pbar span{display:block;height:100%;background:var(--wd-ok)}
.sb-pbar span.ip{background:#0875e1}
.sb-ptable{font-size:13px;line-height:18px}
.sb-ptable .hd,.sb-ptable summary{display:grid;grid-template-columns:1fr 52px 56px 48px 20px;gap:6px;align-items:center}
.sb-ptable .hd{font-size:11px;letter-spacing:.3px;text-transform:uppercase;color:var(--wd-text-muted);padding:0 0 6px;border-bottom:1px solid var(--wd-border-strong)}
.sb-ptable .hd .v,.sb-ptable summary .v{text-align:right;font-variant-numeric:tabular-nums}
.sb-ptable details{border-bottom:1px solid var(--wd-border)}
.sb-ptable details:last-child{border-bottom:0}
.sb-ptable summary{list-style:none;padding:9px 0;cursor:pointer;color:var(--wd-text-strong)}
.sb-ptable summary::-webkit-details-marker{display:none}
.sb-ptable summary .n{font-weight:500;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sb-ptable summary .v.left{color:#8a4b00;font-weight:700}
.sb-ptable summary .v .wd-icon{width:16px;height:16px;color:var(--wd-ok)}
.sb-ptable summary .chev{width:18px;height:18px;color:var(--wd-icon);transition:transform .15s}
.sb-ptable details[open] summary .chev{transform:rotate(180deg)}
.sb-ptable ul,.sb-ws ul{list-style:none;margin:0 0 10px;padding:0 0 0 2px}
.sb-ptable li,.sb-ws li{display:grid;grid-template-columns:20px 92px 1fr 28px;gap:8px;align-items:center;padding:4px 0;font-size:12px;line-height:16px;color:var(--wd-text)}
.sb-ws li{grid-template-columns:20px 100px 1fr 28px 150px}
.sb-ptable li .ck,.sb-ws li .ck{width:18px;height:18px;border:1.5px solid #a1aab3;border-radius:3px;display:flex;align-items:center;justify-content:center;color:#fff}
.sb-ptable li.done .ck,.sb-ws li.done .ck{background:var(--wd-ok);border-color:var(--wd-ok)}
.sb-ptable li.inprogress .ck,.sb-ws li.inprogress .ck{border-color:#0875e1;color:#0875e1}
.sb-ws li.plan .ck{border-color:var(--wd-brand);color:var(--wd-brand)}
.sb-ptable li .ck .wd-icon,.sb-ws li .ck .wd-icon{width:14px;height:14px}
.sb-ptable li .c,.sb-ws li .c{font-weight:700;color:var(--wd-text-strong);white-space:nowrap}
.sb-ptable li .t,.sb-ws li .t{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sb-ptable li .h,.sb-ws li .h{text-align:right;color:var(--wd-text-muted)}
.sb-ws li .s{font-size:11px;color:var(--wd-text-muted);text-align:right}
.sb-ws li.later{opacity:.7}
.sb-ptable li.later .t,.sb-ptable li.open .t{color:var(--wd-text)}
@media (max-width:600px){.sb-ws li{grid-template-columns:20px 92px 1fr 28px}.sb-ws li .s{grid-column:2 / -1;text-align:left}}
.sb-degree{display:grid;grid-template-columns:76px 1fr;gap:8px 12px;font-size:13px;line-height:18px;margin:0}
.sb-degree dt{color:var(--wd-text-muted)}
.sb-degree dd{margin:0;color:var(--wd-text-strong)}
.sb-degree dd b{display:block;font-weight:700}
.sb-degree dd span{display:block;color:var(--wd-text-muted);font-size:12px;margin-bottom:4px}
/* time fields */
.sb-time{display:flex;flex-direction:column;gap:8px}
.sb-time input[type=time]{height:40px;border:1px solid var(--wd-input-border);border-radius:4px;padding:0 10px;font:500 14px var(--wd-font);color:#333;background:#fff;width:150px}
.sb-time input[type=time]:focus{outline:2px solid #0875e1;outline-offset:0;border-color:#0875e1}
.sb-time .presets{display:flex;gap:6px;flex-wrap:wrap}
.sb-time .presets button{height:28px;padding:0 10px;border-radius:100px;box-shadow:inset 0 0 0 1px #c9ced4;font-size:12px;font-weight:500;color:#333;background:#fff}
.sb-time .presets button.on{background:#333;color:#fff;box-shadow:inset 0 0 0 1px #333}
/* work sync toggle + custom blocks */
.sb-sync{display:flex;align-items:flex-start;gap:12px;margin-top:12px;padding:12px 14px;border:1px solid var(--wd-border-strong);border-radius:8px;background:#f6f7f8}
.sb-sync .sw{width:40px;height:22px;border-radius:11px;background:#a1aab3;position:relative;flex:none;margin-top:1px;transition:background .15s}
.sb-sync .sw::after{content:"";position:absolute;top:2px;left:2px;width:18px;height:18px;border-radius:50%;background:#fff;transition:left .15s;box-shadow:0 1px 2px rgba(0,0,0,.2)}
.sb-sync .sw.on{background:var(--wd-ok)}
.sb-sync .sw.on::after{left:20px}
.sb-sync b{display:block;font-size:14px;line-height:20px;color:var(--wd-text-strong)}
.sb-sync span{display:block;font-size:12px;line-height:16px;color:var(--wd-text-muted)}
.sb-blocks{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}
.sb-legend{display:none}
.sb-tag{display:inline-block;font-size:11px;font-weight:700;color:#0b3f78;background:#d7eafc;border-radius:3px;padding:1px 6px;vertical-align:1px}
/* prompt menu: tighter rows */
.sb-prompt-menu button{padding:7px 12px;line-height:18px}
.sb-prompt-menu{max-height:240px}
.sb-parsed .lbl{background:none;color:var(--wd-text-muted);font-weight:400;padding-left:0}
/* review: what's left */
.sb-left .tot{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:12px}
.sb-left .tot div{border:1px solid var(--wd-border-strong);border-radius:8px;padding:10px 12px}
.sb-left .tot b{display:block;font-size:22px;line-height:26px;color:var(--wd-text-strong)}
.sb-left .tot span{font-size:12px;color:var(--wd-text-muted)}
.sb-lefttable td,.sb-lefttable th{font-size:13px}
.sb-lefttable tr.ok td{color:var(--wd-text-muted)}
.sb-lefttable td .wd-icon{width:16px;height:16px;color:var(--wd-ok)}
/* advisor dialog */
.sb-to{display:flex;gap:12px;align-items:center;padding:10px 12px;border:1px solid var(--wd-border-strong);border-radius:8px;margin:0 0 14px;background:#f6f7f8}
.sb-to .av{width:36px;height:36px;border-radius:50%;background:var(--wd-brand);color:#fff;font-weight:700;font-size:13px;display:flex;align-items:center;justify-content:center;flex:none}
.sb-to b{display:block;font-size:14px;line-height:18px;color:var(--wd-text-strong)}
.sb-to span{display:block;font-size:12px;line-height:16px;color:var(--wd-text-muted)}
.sb-input{width:100%;height:40px;border:1px solid var(--wd-input-border);border-radius:4px;padding:0 12px;font:400 14px var(--wd-font);color:#333}
.sb-input:focus{outline:2px solid #0875e1;outline-offset:0;border-color:#0875e1}
.sb-sheet .sb-label{margin-top:4px}
@media (max-width:720px){.sb-left .tot{grid-template-columns:1fr 1fr}.sb-left .tot div:first-child{grid-column:1 / -1}}
/* days available: dark = available */
.sb-day{box-shadow:inset 0 0 0 1px #c9ced4;color:#8a949e;text-decoration:line-through}
.sb-day.on{background:#333;color:#fff;box-shadow:inset 0 0 0 1px #333;text-decoration:none}
.sb-day.off{background:#fff;color:#8a949e}

/* step 4: how picks are spread */
.sb-spread{margin:16px 0 0;border:1px solid var(--wd-border-strong);border-radius:12px;background:#fff;padding:16px 18px}
.sb-spread .hd{display:flex;gap:12px;align-items:flex-start;margin-bottom:10px}
.sb-spread .hd .wd-icon{color:var(--wd-brand);flex:none}
.sb-spread .hd b{display:block;font-size:15px;line-height:20px;color:var(--wd-text-strong)}
.sb-spread .hd span{display:block;font-size:13px;line-height:18px;color:var(--wd-text)}
.sb-spread ol{margin:0 0 12px;padding-left:20px;font-size:13px;line-height:18px;color:var(--wd-text)}
.sb-spread ol li{margin-bottom:4px}
.sb-spread ol b{color:var(--wd-text-strong)}
.sb-spread .seats{display:flex;flex-wrap:wrap;gap:6px}
.sb-spread .seats span{font-size:12px;line-height:16px;padding:4px 8px;border-radius:4px;background:#f6f7f8;border:1px solid var(--wd-border);color:var(--wd-text)}
.sb-spread .seats span.low{background:var(--wd-warn-soft);border-color:#f3c58f;color:#8a4b00}
.sb-spread .seats span b{color:var(--wd-text-strong)}
.sb-spread .seats span i{font-style:normal;color:var(--wd-text-muted)}
/* audit: tap targets + clipped text */
.sb-prog-steps li button{min-height:28px;padding:4px 8px;margin:-4px -4px}
.sb-prog-steps li span{display:inline-block;padding:4px 0}
.sb-sync .sw{width:44px;height:24px}
.sb-sync .sw::after{width:20px;height:20px}
.sb-sync .sw.on::after{left:22px}
.sb-opt-table input[type=radio]{width:20px;height:20px}
.sb-opt-table td.c{padding-top:10px}
.sb-ws li .c,.sb-ptable li .c{white-space:normal}
.sb-opt-table a{padding:4px 0;margin:0 0 2px}
/* audit round 2: tap targets */
.sb-token button{width:24px;height:24px}
.sb-opt-table input[type=radio]{width:22px;height:22px;margin:1px}
.sb-opt-table td a,.sb-courses td a{padding:4px 0;margin:0 0 2px;line-height:16px}
.sb-wide p.sb-muted a,.sb-card p a,.sb-spread a{display:inline-block;padding:4px 0;margin:-4px 0}
@media (max-width:720px){.sb-prog-steps li button{min-width:28px;justify-content:center}}

/* ================= progress: cardinal circles, title above ================= */
.sb-prog{display:none}
.sb-pagehead{margin:0 0 16px}
.sb-pagehead .wd-page-title{font-size:24px;line-height:30px}
.sb-pagesub{margin:4px 0 0;font-size:14px;line-height:20px;color:var(--wd-text-muted);max-width:760px}
.sb-steps2{list-style:none;margin:0 0 24px;padding:0;display:flex;align-items:flex-start;max-width:760px}
.sb-steps2 li{flex:1;position:relative;display:flex;justify-content:center;min-width:0}
.sb-steps2 li::before,.sb-steps2 li::after{content:"";position:absolute;top:14px;height:2px;background:#dfe2e6;width:50%}
.sb-steps2 li::before{left:0}
.sb-steps2 li::after{right:0}
.sb-steps2 li:first-child::before,.sb-steps2 li:last-child::after{display:none}
.sb-steps2 li.done::before,.sb-steps2 li.done::after,.sb-steps2 li.now::before{background:#333}
.sb-steps2 .st,.sb-steps2 button{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;gap:6px;padding:0 4px;min-width:56px;color:inherit;font:inherit;background:transparent;border:0}
.sb-steps2 button{cursor:pointer;border-radius:8px}
.sb-steps2 button:hover .lbl{text-decoration:underline}
.sb-steps2 button:focus-visible{outline:2px solid #0875e1}
.sb-steps2 .dot{width:30px;height:30px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:700;background:#fff;border:2px solid #c9ced4;color:#8a949e;box-sizing:border-box}
.sb-steps2 .dot .wd-icon{width:18px;height:18px}
.sb-steps2 li.done .dot{background:var(--wd-brand);border-color:var(--wd-brand);color:#fff}
.sb-steps2 li.now .dot{border-color:var(--wd-brand);color:var(--wd-brand);box-shadow:0 0 0 4px #fce8ec}
.sb-steps2 .lbl{font-size:12px;line-height:16px;color:#8a949e;text-align:center;white-space:nowrap}
.sb-steps2 li.done .lbl{color:var(--wd-text-strong)}
.sb-steps2 li.now .lbl{color:var(--wd-brand);font-weight:700}
.sb-wide .sb-steps2{max-width:760px}
@media (max-width:720px){
  .sb-pagehead .wd-page-title{font-size:20px;line-height:26px}
  .sb-steps2{margin-bottom:20px}
  .sb-steps2 .dot{width:26px;height:26px;font-size:12px}
  .sb-steps2 li::before,.sb-steps2 li::after{top:12px}
  .sb-steps2 .lbl{font-size:10px;white-space:normal;line-height:12px;max-width:64px}
  .sb-steps2 .st,.sb-steps2 button{min-width:44px;padding:0 2px}
}

/* ---- sketch layout: meta line over the circles, title inside the card ---- */
.sb-pagehead{display:none}
.sb-meta2{display:flex;justify-content:space-between;align-items:baseline;max-width:760px;margin:0 0 10px;font-size:13px;color:var(--wd-text-muted)}
.sb-meta2 b{font-size:16px;line-height:22px;color:var(--wd-text-strong)}
.sb-cardtitle{font-size:20px;line-height:28px;font-weight:700;color:var(--wd-text-strong);margin-bottom:4px}
.sb-card > .sub{margin:0 0 16px}
.sb-dates{float:right;font-size:13px;color:var(--wd-text-muted);margin:-44px 0 0;padding-top:6px}
.sb-grid2{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:4px 0 4px}
.sb-grid2 .sb-fact .k{display:block;font-size:12px;font-weight:700;letter-spacing:.2px;color:var(--wd-text-strong);margin-bottom:6px}
.sb-grid2 .sb-fact b{font-size:28px;line-height:32px}
.sb-grid2 .sb-fact b.t{font-size:16px;line-height:22px}
.sb-grid2 .sb-fact span:last-child{display:block;margin-top:2px}
.sb-two-cards{display:none}
@media (max-width:520px){.sb-grid2{grid-template-columns:1fr}.sb-dates{float:none;display:block;margin:0 0 8px;padding:0}}

/* ---- Start, round 2 of notes: bar spans the full line; two tiles ---- */
.sb-steps2 li:first-child{justify-content:flex-start}
.sb-steps2 li:last-child{justify-content:flex-end}
.sb-steps2 li:first-child .st,.sb-steps2 li:first-child button{align-items:flex-start;padding-left:0}
.sb-steps2 li:last-child .st,.sb-steps2 li:last-child button{align-items:flex-end;padding-right:0}
.sb-steps2 li:first-child::after{left:30px;width:calc(100% - 30px)}
.sb-steps2 li:last-child::before{width:calc(100% - 30px)}
.sb-steps2 li:first-child .lbl{text-align:left}
.sb-steps2 li:last-child .lbl{text-align:right}
.sb-grid2,.sb-dates{display:none}
.sb-start2{display:grid;grid-template-columns:1.1fr 1fr;gap:14px;margin-top:4px}
.sb-tile2{border:1px solid var(--wd-border-strong);border-radius:10px;padding:16px 18px;background:#fff;min-width:0}
.sb-tile2 h3{font-size:15px;line-height:20px;font-weight:700;color:var(--wd-text-strong);margin:0 0 12px}
.sb-tile2 .stat{display:flex;gap:14px;align-items:center;padding:10px 0;border-top:1px solid var(--wd-border)}
.sb-tile2 .stat b{font-size:32px;line-height:36px;font-weight:700;color:var(--wd-text-strong);min-width:56px}
.sb-tile2 .stat .l{display:block;font-size:14px;line-height:20px;font-weight:500;color:var(--wd-text-strong)}
.sb-tile2 .stat .s{display:block;font-size:12px;line-height:16px;color:var(--wd-text-muted)}
.sb-tile2 dl{display:grid;grid-template-columns:auto 1fr;gap:10px 14px;margin:0;font-size:14px;line-height:20px}
.sb-tile2 dt{color:var(--wd-text-muted)}
.sb-tile2 dd{margin:0;color:var(--wd-text-strong);font-weight:500}
@media (max-width:640px){.sb-start2{grid-template-columns:1fr}}
/* ---- footer bar spans the full content width, like the red banner (Mary) ---- */
.sb-foot{position:fixed;left:calc(var(--wd-nav-w) + var(--wd-rail-w));right:0;bottom:0;margin:0;padding:14px 32px;box-shadow:0 -1px 0 var(--wd-border), 0 -4px 12px rgba(31,38,46,.06);z-index:20}
.wd-rail.is-collapsed ~ div .sb-foot{left:calc(var(--wd-nav-w) + 64px)}
.wd-hub-body{padding-bottom:104px}
@media (max-width:1000px){.sb-foot{left:0;padding:12px 16px}}

/* selection-style steps: no numbers; current = selected radio, done = check, upcoming = empty ring */
.sb-steps2 .dot{width:24px;height:24px;border-width:2px;margin-top:3px;margin-bottom:3px}
.sb-steps2 li::before,.sb-steps2 li::after{top:14px}
.sb-steps2 .dot .sel{width:12px;height:12px;border-radius:50%;background:var(--wd-brand);display:block}
.sb-steps2 li.now .dot{box-shadow:none}
.sb-steps2 .dot .wd-icon{width:16px;height:16px}
.sb-steps2 li:first-child::after{left:24px;width:calc(100% - 24px)}
.sb-steps2 li:last-child::before{width:calc(100% - 24px)}
@media (max-width:720px){.sb-steps2 .dot{width:22px;height:22px}.sb-steps2 li::before,.sb-steps2 li::after{top:13px}}

/* ---- steps spread evenly across the full line ---- */
.sb-steps2{position:relative;display:flex;justify-content:space-between;align-items:flex-start;min-height:56px;max-width:none}
.sb-steps2 li{flex:none;width:24px;position:relative;display:block;min-width:0}
.sb-steps2 li::before,.sb-steps2 li::after{display:none}
.sb-steps2 .track,.sb-steps2 .fill{position:absolute;top:14px;left:12px;height:2px;background:#dfe2e6;width:calc(100% - 24px);z-index:0}
.sb-steps2 .fill{background:#333;width:0;max-width:calc(100% - 24px)}
.sb-steps2 .st,.sb-steps2 button{position:absolute;top:0;left:50%;transform:translateX(-50%);min-width:0;padding:0;white-space:nowrap}
.sb-steps2 li:first-child .st,.sb-steps2 li:first-child button{left:0;transform:none;align-items:flex-start}
.sb-steps2 li:last-child .st,.sb-steps2 li:last-child button{left:auto;right:0;transform:none;align-items:flex-end}
.sb-steps2 .dot{margin:3px 0}
.sb-steps2 .lbl{white-space:nowrap}
@media (max-width:720px){.sb-steps2{min-height:70px}.sb-steps2 .lbl{white-space:normal;max-width:72px;text-align:center}.sb-steps2 li:first-child .lbl{text-align:left}.sb-steps2 li:last-child .lbl{text-align:right}.sb-steps2 .track,.sb-steps2 .fill{top:13px}}
/* ---- Academic Progress tile: more air; appointment line bolder ---- */
.sb-tile2{padding:20px 22px}
.sb-tile2 h3{margin-bottom:14px;font-size:16px}
.sb-tile2 .stat{gap:18px;padding:16px 0}
.sb-tile2 .stat:last-child{padding-bottom:6px}
.sb-tile2 .stat b{min-width:64px;font-size:34px;line-height:38px}
.sb-tile2 .stat .l{font-size:15px}
.sb-tile2 .stat .s{margin-top:2px}
.sb-tile2 dl{gap:14px 16px;padding-top:4px}
.sb-card > .sub{font-size:15px;line-height:22px;color:var(--wd-text);margin-bottom:18px}
.sb-card > .sub b{color:var(--wd-text-strong);font-weight:700}

.sb-steps2{max-width:760px}
.sb-wide .sb-steps2,.sb-wide .sb-meta2{max-width:760px}

/* Mary: a green check means the step is done; you can tap it to go back */
.sb-steps2 li.done .dot{background:var(--wd-ok);border-color:var(--wd-ok);color:#fff}
.sb-steps2 .fill{background:var(--wd-ok)}
.sb-steps2 li.done .lbl{color:var(--wd-text-strong)}
.sb-steps2 li.done button:hover .dot{box-shadow:0 0 0 4px #e9f5ec}

/* notes: red progress line, no divider lines in Academic Progress */
.sb-steps2 .fill{background:var(--wd-brand)}
.sb-tile2 .stat{border-top:0;padding:12px 0}
.sb-tile2 .stat:first-of-type{padding-top:4px}

.sb-tile2 .stat{padding:10px 0}
.sb-tile2 .stat b{font-size:30px;line-height:34px}

/* Academic Progress: rows fill the tile evenly, number sits close to its label */
.sb-tile2{display:flex;flex-direction:column}
.sb-tile2 .stat{flex:1;padding:6px 0;gap:14px;align-items:center}
.sb-tile2 .stat b{min-width:44px;font-variant-numeric:tabular-nums}
.sb-tile2 .stat:first-of-type{padding-top:0}
.sb-tile2 .stat:last-child{padding-bottom:0}
.sb-tile2 dl{align-content:space-evenly;flex:1}

/* vertical rhythm: tiles hug their content, rows 8px apart in both tiles */
.sb-start2{align-items:start}
.sb-tile2{display:block}
.sb-tile2 .stat{flex:none;padding:8px 0}
.sb-tile2 .stat:first-of-type{padding-top:2px}
.sb-tile2 .stat:last-child{padding-bottom:2px}
.sb-tile2 dl{gap:10px 16px;padding-top:2px}
.sb-tile2 h3{margin-bottom:10px}

.sb-start2{align-items:stretch}

/* Step 2: time preset pills removed; the time fields stand alone */
.sb-time .presets{display:none}
.sb-time input[type=time]{width:180px}
/* drag-to-paint blocked times, half-hour cells */
.sb-week .col{touch-action:auto}
.sb-week .cell{user-select:none;-webkit-user-select:none}
.sb-week.edit .col{background-image:none}
.sb-week .cell{box-sizing:border-box;border-top:1px solid var(--wd-border-strong)}
.sb-week .cell:first-child{border-top:0}
.sb-week .cell.half{border-top:1px dashed #e3e6ea}
/* blocks are drawn once as a continuous hatched overlay (.ev.block); cells stay clear on top */
.sb-week.edit .ev.block{left:0;right:0;border-radius:0;pointer-events:none;border-left-width:3px}
.sb-week.edit .cell.blk,.sb-week.edit .cell.wk{border-top-color:transparent;background:transparent}
.sb-week .cell:hover{background:rgba(157,34,53,.08)}
.sb-week .cell.wk{cursor:default}
.sb-week .cell.wk:hover{background:transparent}
.sb-week.edit.painting .ev.block:not(.work){display:none}
.sb-week.edit.painting .cell.blk{background:rgba(74,74,74,.16)}
/* rail collapsed: let the builder use the whole width */
.wd-rail.is-collapsed ~ div .sb,.wd-rail.is-collapsed ~ div .sb-wide,.wd-rail.is-collapsed ~ div .sb-prog,.wd-rail.is-collapsed ~ div .sb-pagesub,.wd-rail.is-collapsed ~ div .sb-steps2{max-width:none}

/* preferred start/end timeline */
.sb-range{position:relative;height:50px;margin:10px 0 2px}
.sb-range .track{position:absolute;left:0;right:0;top:12px;height:4px;border-radius:2px;background:#dfe2e6}
.sb-range .fill{position:absolute;top:12px;height:4px;border-radius:2px;background:var(--wd-brand);left:var(--a);right:calc(100% - var(--b))}
.sb-range input[type=range]{position:absolute;left:0;top:0;width:100%;height:28px;margin:0;-webkit-appearance:none;appearance:none;background:transparent;pointer-events:none;outline:0}
.sb-range input[type=range]::-webkit-slider-runnable-track{background:transparent;height:28px}
.sb-range input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:22px;height:22px;margin-top:3px;border-radius:50%;background:#fff;border:2px solid var(--wd-brand);box-shadow:0 1px 3px rgba(0,0,0,.25);pointer-events:auto;cursor:grab}
.sb-range input[type=range]::-moz-range-thumb{width:18px;height:18px;border-radius:50%;background:#fff;border:2px solid var(--wd-brand);box-shadow:0 1px 3px rgba(0,0,0,.25);pointer-events:auto;cursor:grab}
.sb-range input[type=range]:focus-visible::-webkit-slider-thumb{box-shadow:0 0 0 4px #fce8ec}
.sb-range .ticks{position:absolute;left:0;right:0;top:30px;display:flex;justify-content:space-between;font-size:11px;line-height:14px;color:var(--wd-text-muted)}
.sb-range-vals{display:flex;justify-content:space-between;font-size:13px;color:var(--wd-text-muted)}
.sb-range-vals b{color:var(--wd-text-strong);font-size:14px}
.sb-week .cell.out{background:#f0f1f2;cursor:not-allowed}
.sb-week .cell.out:hover{background:#f0f1f2}
.sb-sync{align-items:center}
.sb-sync b{font-weight:500}
/* degree audit */
.sb-el{display:grid;grid-template-columns:1fr 1fr;gap:8px 24px;margin-bottom:8px}
.sb-el-g b{display:block;font-size:12px;line-height:16px;color:var(--wd-text-muted);font-weight:500;margin:6px 0 2px}
.sb-el-g ul{list-style:none;margin:0;padding:0}
.sb-el-g li{display:grid;grid-template-columns:96px 1fr auto;gap:8px;font-size:13px;line-height:18px;padding:5px 0;border-bottom:1px solid #eef0f2}
.sb-el-g li .c{font-weight:700;color:var(--wd-text-strong)}
.sb-el-g li .t{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sb-el-g li .h{color:var(--wd-text-muted)}
.sb-ws summary .el{font-style:normal;color:var(--wd-brand);font-weight:700}
@media (max-width:720px){.sb-el{grid-template-columns:1fr}}
.sb-label-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}
.sb-label-row .sb-label{margin-bottom:0}
.sb-label-row .wd-btn[disabled]{opacity:.45;cursor:default}

/* degree requirements: worksheet-style tables */
.sb-wstable{margin:0 0 8px}
.sb-wstable th.num,.sb-wstable td.num{width:56px;text-align:center}
.sb-wstable td b{font-size:13px;line-height:18px;color:var(--wd-text-strong);font-weight:700;white-space:nowrap}
.sb-wstable td .t{font-size:12px;line-height:16px;color:var(--wd-text)}
.sb-wstable td.req{font-size:12px;line-height:16px;color:var(--wd-text)}
.sb-wstable td.req .d{display:flex;align-items:center;gap:4px;margin-top:2px;color:var(--wd-text-muted)}
.sb-wstable td.req .d .wd-icon{width:14px;height:14px;color:var(--wd-ok)}
.sb-wstable td.req .d .wd-icon.miss{color:#c66a00}
.sb-wstable td.note{white-space:nowrap}
.sb-wstable td.note .sb-status{font-size:12px;font-weight:400}
.sb-wstable td.note .sb-status .wd-icon{width:16px;height:16px}
@media (max-width:720px){.sb-wstable th.req,.sb-wstable td.req{display:none}.sb-wstable td.note{white-space:normal}}
/* degree worksheet accordion */
.sb-ws{border-top:1px solid var(--wd-border-strong)}
.sb-ws-g{border-bottom:1px solid var(--wd-border-strong)}
.sb-ws-g summary{list-style:none;display:flex;align-items:center;gap:12px;padding:12px 4px;cursor:pointer;font-size:14px;line-height:20px;color:var(--wd-text-strong)}
.sb-ws-g summary::-webkit-details-marker{display:none}
.sb-ws-g summary .n{flex:1;min-width:0;font-weight:500}
.sb-ws-g summary .hrs{font-size:13px;color:var(--wd-text);white-space:nowrap;display:inline-flex;align-items:center;gap:4px}
.sb-ws-g summary .hrs b{font-weight:700;color:var(--wd-text-strong)}
.sb-ws-g summary .hrs em{font-style:normal;color:var(--wd-text-muted)}
.sb-ws-g summary .hrs .wd-icon{width:16px;height:16px;color:var(--wd-ok)}
.sb-ws-g summary .chev{width:20px;height:20px;color:var(--wd-icon);flex:none;transition:transform .15s}
.sb-ws-g[open] summary .chev{transform:rotate(180deg)}
.sb-ws-g summary:hover{background:#f6f7f8}
.sb-ws-g .note{margin:0 4px 8px;font-size:12px;line-height:16px;color:var(--wd-text-muted)}
.sb-ws-g ul{padding:0 4px 6px}
@media (max-width:520px){.sb-ws-g summary{flex-wrap:wrap}.sb-ws-g summary .n{flex-basis:calc(100% - 32px)}.sb-ws-g summary .hrs{order:3;flex-basis:100%;padding-left:0}}

/* course look-up */
.sb-lookup{margin-bottom:8px}
.sb-lookup .sb-prompt{max-width:560px}
.sb-lookup .sb-prompt-box .clr{position:absolute;right:8px;top:50%;transform:translateY(-50%);width:28px;height:28px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:var(--wd-icon);background:transparent}
.sb-lookup .sb-prompt-box .clr:hover{background:#f0f1f2}
.sb-lookup-card{margin-top:12px;border:1px solid var(--wd-border-strong);border-radius:12px;background:#fff;overflow:hidden}
.sb-lookup-card .head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;background:var(--wd-th-bg);border-bottom:1px solid var(--wd-border-strong)}
.sb-lookup-card .head b{display:block;font-size:15px;line-height:20px;color:var(--wd-text-strong)}
.sb-lookup-card .head span{font-size:13px;line-height:18px;color:var(--wd-text)}
.sb-lookup-card dl{display:grid;grid-template-columns:150px 1fr;gap:0;margin:0}
.sb-lookup-card dt{padding:10px 16px;font-size:13px;line-height:18px;color:var(--wd-text-muted);border-bottom:1px solid var(--wd-border)}
.sb-lookup-card dd{margin:0;padding:10px 16px 10px 0;font-size:13px;line-height:18px;color:var(--wd-text-strong);border-bottom:1px solid var(--wd-border)}
.sb-lookup-card dt:last-of-type,.sb-lookup-card dd:last-of-type{border-bottom:0}
@media (max-width:720px){.sb-lookup-card .head{flex-direction:column;align-items:flex-start}.sb-lookup-card dl{grid-template-columns:1fr}.sb-lookup-card dt{padding-bottom:0;border-bottom:0}.sb-lookup-card dd{padding-left:16px}}
/* term dates inside the term dropdown */
.sb-term .dates{font-weight:400;opacity:.9;padding-left:8px;margin-left:2px;border-left:1px solid rgba(255,255,255,.35)}
@media (max-width:720px){.sb-term .dates{display:none}}
/* breathing room between an option row and its Excluded panel */
.sb-opt-table tr.flagrow td{padding-top:12px}
@media (max-width:1000px){.sb-opt-table tr.flagrow{margin:0 0 12px}}
/* Degree Requirements: clickable courses, pathway list */
.sb-wstable td a{color:var(--wd-link)}
.sb-wstable td a b{color:var(--wd-link)}
.sb-wstable td .t a{color:var(--wd-text)}
.sb-wstable td .t a:hover{color:var(--wd-link)}
.sb-wstable td .k{font-size:11.5px;line-height:16px;color:var(--wd-text-muted);margin-top:2px}
.sb-more{margin:24px 0 8px;border-top:1px solid var(--wd-border-strong)}
.sb-more summary .n{font-size:16px;font-weight:700}
.sb-more .note{font-size:13px;line-height:18px;margin:0 4px 10px}
.sb-more .note a{display:inline;padding:0;margin:0}
.sb-more .sb-wstable{margin:0 0 14px}
.sb-course-sheet .sb-lookup-card{margin-top:4px}
/* Schedule Options: collapsible "How Schedules Are Recommended" */
details.sb-spread > summary{list-style:none;cursor:pointer;margin-bottom:0}
details.sb-spread > summary::-webkit-details-marker{display:none}
details.sb-spread > summary > div{flex:1}
details.sb-spread > summary .chev{width:20px;height:20px;color:var(--wd-icon);flex:none;transition:transform .15s;margin-top:2px}
details.sb-spread[open] > summary{margin-bottom:10px}
details.sb-spread[open] > summary .chev{transform:rotate(180deg)}
/* Review: two summary numbers */
.sb-left .tot.two{grid-template-columns:repeat(2,1fr)}
.sb-left .tot small{display:block;font-size:11.5px;line-height:15px;color:var(--wd-text-muted);margin-top:2px}
@media (max-width:720px){.sb-left .tot.two{grid-template-columns:1fr}.sb-left .tot.two div:first-child{grid-column:auto}}
.sb-spread .hd .wd-icon.chev{color:var(--wd-icon)}
.sb-wstable td a{display:inline;margin:0;padding:0;min-width:0}
/* worksheet: status icons, not checkboxes */
.sb-ws li{cursor:default}
.sb-ws li .ck{border:0;border-radius:0;background:none;width:18px;height:18px;color:var(--wd-text-muted)}
.sb-ws li.done .ck{background:none;color:var(--wd-ok)}
.sb-ws li.inprogress .ck{color:#0875e1}
.sb-ws li.plan .ck{color:var(--wd-brand)}
.sb-ws li .ck .wd-icon{width:16px;height:16px}
.sb-ws li.open .ck::before,.sb-ws li.later .ck::before{content:"";width:8px;height:2px;border-radius:1px;background:#a1aab3}
/* (i) tooltip next to Options */
.sb-info{position:relative;display:inline-flex;vertical-align:-3px;margin-left:6px;color:var(--wd-icon);cursor:help;border-radius:50%}
.sb-info:focus-visible{outline:2px solid var(--wd-link);outline-offset:2px}
.sb-info > .wd-icon{width:18px;height:18px}
.sb-tip{display:none;position:absolute;left:-14px;top:calc(100% + 10px);width:min(360px,calc(100vw - 48px));background:#fff;border-radius:12px;box-shadow:var(--wd-shadow-pop);padding:14px 16px;z-index:40;font-weight:400;text-align:left;cursor:default;white-space:normal}
.sb-info:hover .sb-tip,.sb-info:focus .sb-tip,.sb-info.open .sb-tip{display:block}
.sb-tip > b{display:block;font-size:14px;line-height:20px;color:var(--wd-text-strong);font-weight:700}
.sb-tip > span{display:block;font-size:13px;line-height:18px;color:var(--wd-text);margin:2px 0 8px}
.sb-tip ul{margin:0;padding-left:18px;font-size:12.5px;line-height:18px;color:var(--wd-text)}
.sb-tip li{margin-bottom:4px}
.sb-tip li b{color:var(--wd-text-strong)}
/* Review actions on the right, Register last */
.sb-actions.end{justify-content:flex-end}
@media (max-width:720px){.sb-actions.end #registerBtn{order:-1}}
/* registration complete */
.sb-done-hero{display:flex;gap:16px;align-items:center;padding:18px 20px;border-radius:12px;background:#eef7f0;border:1px solid #cfe7d5;margin:4px 0 16px}
.sb-done-hero > .wd-icon{width:44px;height:44px;color:var(--wd-ok);flex:none}
.sb-done-hero h2{margin:0;font-size:22px;line-height:28px;color:var(--wd-text-strong)}
.sb-done-hero p{margin:4px 0 0;font-size:14px;line-height:20px;color:var(--wd-text)}
.sb-done-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:0 0 18px}
.sb-done-stats div{border:1px solid var(--wd-border-strong);border-radius:8px;padding:10px 12px}
.sb-done-stats span{display:block;font-size:12px;line-height:16px;color:var(--wd-text-muted)}
.sb-done-stats b{display:block;font-size:18px;line-height:24px;color:var(--wd-text-strong);margin-top:2px}
@media (max-width:720px){.sb-done-stats{grid-template-columns:1fr 1fr}}
.sb-success .sb-week{margin-top:0}
/* congratulations dialog + confetti */
.sb-congrats{text-align:center;padding-top:28px}
.sb-congrats .burst{display:flex;justify-content:center;margin-bottom:6px}
.sb-congrats .burst .wd-icon{width:56px;height:56px;color:var(--wd-ok);animation:sbPop .5s cubic-bezier(.2,1.4,.4,1) both}
.sb-congrats h3{font-size:24px;line-height:30px;margin:0}
.sb-congrats .sub{margin:4px 0 16px}
.sb-congrats-kv{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0 0 18px;text-align:left}
.sb-congrats-kv div{background:#f6f7f8;border-radius:8px;padding:10px 12px}
.sb-congrats-kv span{display:block;font-size:12px;line-height:16px;color:var(--wd-text-muted)}
.sb-congrats-kv b{display:block;font-size:16px;line-height:22px;color:var(--wd-text-strong)}
.sb-congrats .wd-btn-row{justify-content:center}
@keyframes sbPop{from{transform:scale(.3);opacity:0}to{transform:scale(1);opacity:1}}
@media (prefers-reduced-motion:reduce){.sb-congrats .burst .wd-icon{animation:none}}
.sb-confetti{position:fixed;inset:0;width:100vw;height:100vh;pointer-events:none;z-index:300}
/* calendar dialog: option tabs + legend */
.sb-cal-tabs{margin:12px 0 0;gap:28px}
.sb-cal-tabs .wd-tab{background:none;border:0;cursor:pointer;color:var(--wd-text)}
.sb-cal-tabs .wd-tab.is-active{color:var(--wd-text-strong)}
.sb-cal-legend{display:flex;flex-wrap:wrap;gap:6px 18px;font-size:12px;line-height:16px;color:var(--wd-text-muted);margin:-6px 0 12px}
.sb-cal-legend span{display:inline-flex;align-items:center;gap:6px}
.sb-cal-legend i{width:14px;height:10px;border-radius:2px}
.sb-cal-legend .sw-class{background:#dceefc;border-left:3px solid #0875e1}
.sb-cal-legend .sw-off{background:repeating-linear-gradient(135deg,#e8ebed 0 3px,#f6f7f8 3px 6px);border:1px solid #c9ced4}

/* ---------- Demo Day mobile pass ---------- */
.sb-opt-table tr.flagrow[hidden]{display:none!important}
.sb-opt-table tbody tr[data-choose]{cursor:pointer}
.sb-touch-hint{display:none}
@media (hover:none){.sb-touch-hint{display:inline}}
.sb-phone-only{display:none!important}
.sb-lefttable .sh{display:none}
@media (max-width:700px){
  .sb-phone-only{display:inline-flex!important}
  .sb-desk-only{display:none!important}
  /* (i) tooltip: a card pinned inside the screen instead of running off the edge */
  .sb-info{padding:12px;margin:-12px -6px -12px 0}
  .sb-tip{position:fixed;left:16px;right:16px;top:auto;bottom:96px;width:auto;max-width:none;z-index:70}
  /* Degree progress: four short columns that fit */
  .sb-lefttable thead,.sb-lefttable tbody{min-width:0!important;display:table;table-layout:fixed;width:100%}
  .sb-lefttable th:not(:first-child),.sb-lefttable td:not(:first-child){width:60px}
  .sb-lefttable .lg{display:none}.sb-lefttable .sh{display:inline}
  .sb-lefttable td,.sb-lefttable th{font-size:13px;padding:8px 6px}
  .sb-lefttable td:first-child{white-space:normal;overflow-wrap:anywhere}
  /* step bar: readable labels, thumb-sized targets */
  .sb-steps2 .lbl{font-size:12px;line-height:14px}
  .sb-steps2 li.todo .lbl{color:#5e6a75}
  .sb-steps2 .st,.sb-steps2 button{min-width:44px;min-height:44px}
  /* calendars: course code readable, room dropped */
  .sb-week .ev b{font-size:12px;line-height:14px;white-space:normal;overflow-wrap:anywhere}
  .sb-week .ev i{display:none}
  .sb-week.mini .ev b{font-size:11px;line-height:12px}
  /* small text up to 12px */
  .sb-label small,.wd-toolbar .count small{font-size:12px}
  .sb-flag-list .hd{font-size:12px}
  /* tap targets */
  .sb-opt-table input[type=radio]{width:24px;height:24px}
  .sb-sheet .x{width:44px;height:44px;right:6px;top:6px}
  .sb-term{height:40px}
  .sb-seg button,.sb-day{height:44px}
  .sb-week .times span{font-size:12px}
  .sb-actions .wd-btn,.sb-foot .wd-btn{min-height:44px}
}
@media (max-width:380px){
  .sb-week .ev{padding:2px 3px}
  .sb-week .ev b{overflow-wrap:normal;word-break:keep-all}
}
@media (max-width:700px){.sb-week .ev .sec{display:none}}
/* degree progress: equal number columns at every size */
.sb-lefttable{table-layout:fixed}
.sb-lefttable th:not(:first-child),.sb-lefttable td:not(:first-child){width:22%}
@media (max-width:700px){
  .sb-lefttable th:not(:first-child),.sb-lefttable td:not(:first-child){width:60px}
  /* phone calendars: more room per hour so classes aren't crammed */
  .sb-week:not(.mini){--h:50px}
  .sb-week .ev{padding:4px 4px}
  .sb-week .ev b{line-height:15px}
}
@media (max-width:720px){.wd-cal-scroll{max-height:none;overflow:visible;padding-right:0}}
@media (max-width:700px){.sb-week{grid-template-columns:40px repeat(var(--days,5),1fr)}}
@media (max-width:380px){.sb-week .ev{padding:3px 2px 3px 3px}.sb-week .ev b{letter-spacing:-.1px}}
/* sheets never taller than the visible screen; they scroll as one piece */
.sb-sheet{max-height:calc(100dvh - 48px);overflow-y:auto;overscroll-behavior:contain}
@media (max-width:720px){
  .sb-sheet{max-height:calc(100dvh - 12px)}
  .sb-cal-list{max-height:none;overflow:visible}
  #advNote{min-height:140px!important}
  .sb-opt-table .sb-hazard{height:44px;padding:0 10px}
}
.sb-week.mini .ev{overflow:hidden}
.sb-week.mini .ev b{line-height:12px;text-overflow:clip}
.sb-week.mini .ev .sec{display:none}

/* ================= Design match (Nov 20): new builder frame and screens ================= */
.sb-side{display:none}
.sb-h3{font-size:20px;line-height:28px;font-weight:600;color:#222;margin:42px 0 32px}
.sb-appt-inline{margin:0 0 4px;font-size:14px;color:var(--wd-text)}
/* Academic Progress tile */
.sb-progtile{display:flex!important;flex-direction:column}
.sb-donut{position:relative;width:100px;height:100px;margin:34px auto 0}
.sb-donut svg{width:100px;height:100px;transform:rotate(-90deg)}
.sb-donut circle{fill:none;stroke-width:9}
.sb-donut .trk{stroke:#d9d9d9}.sb-donut .past{stroke:#ab0831}.sb-donut .cur{stroke:#0058b4}
.sb-donut .mid{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center}
.sb-donut .mid b{font-size:18px;line-height:22px;font-weight:700;color:#111;letter-spacing:.3px}
.sb-donut .mid span{font-size:13px;line-height:16px;color:#666;letter-spacing:.3px}
.sb-credbar{display:flex;height:10px;border-radius:5px;background:#d9d9d9;overflow:hidden;margin:57px 0 0}
.sb-credbar i{display:block;height:100%}.sb-credbar .past{background:#ab0831}.sb-credbar .cur{background:#0058b4}
.sb-credlegend{list-style:none;margin:9px 0 0 20px;padding:0;font-size:13px;line-height:19px;color:#555;letter-spacing:.2px}
.sb-credlegend li{display:flex;align-items:center;gap:15px}.sb-credlegend b{font-weight:600;color:#333;margin-left:-8px}
.sb-credlegend .sq{width:12px;height:12px;flex:none}.sb-credlegend .sq.cur{background:#0058b4}.sb-credlegend .sq.past{background:#ab0831}
.sb-fine{margin:auto 0 0;padding-top:20px;font-size:13px;line-height:18px;color:#555;letter-spacing:.2px}
/* Degree Requirements boxes */
.sb-box{border:1px solid #b7b8ba;border-radius:12px;padding:24px 28px 28px;margin:0 0 24px;min-width:0}
.sb-boxh{font-size:20px;line-height:26px;font-weight:600;color:#222;margin:0}
.sb-boxsub{font-size:14px;line-height:20px;color:#333;margin:8px 0 18px}
.sb-box2{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-bottom:24px}.sb-box2 .sb-box{margin:0}
.sb-boxlbl{display:block;font-size:15px;font-weight:600;color:#222;margin:0 0 10px}
.sb-box .sb-prompt-box{border:0!important;box-shadow:none!important;padding:0!important;gap:8px;background:none!important;height:auto!important}
.sb-box .sb-prompt-box input{flex:1;min-width:0;height:34px;border:1px solid #8c979f;border-radius:6px;padding:0 14px;font-size:16px;background:#fff}
.sb-box .sb-prompt-box .pr{flex:none;width:44px;height:34px;border-radius:6px;background:#333;color:#fff;display:flex;align-items:center;justify-content:center}
.sb-box .sb-prompt-box .pr .wd-icon{color:#fff;width:18px;height:18px}
.sb-pathlist{list-style:none;margin:0;padding:0}
.sb-pathlist li{display:grid;grid-template-columns:96px 1fr auto;gap:10px;padding:7px 0;border-top:1px solid #e8e9ec;font-size:13px;line-height:18px;align-items:baseline}
.sb-pathlist li:first-child{border-top:0}.sb-pathlist a,.sb-pathlist b{font-weight:600}.sb-pathlist em{font-style:normal;color:#666;white-space:nowrap}
@media (max-width:800px){.sb-box2{grid-template-columns:1fr}.sb-box{padding:18px 16px 20px}}
/* Degree worksheet rows */
.sb-ws{border:0!important;display:grid;gap:10px}
.sb-ws-g{border:1px solid #dfe2e5!important;border-radius:6px;background:#fff}
.sb-ws-g summary{padding:9px 12px!important;gap:14px!important}
.sb-ws-g summary:hover{background:#fafbfb}
.sb-ws-g summary .n{display:flex;flex-direction:column;font-weight:600!important;font-size:13px;line-height:18px;color:#222}
.sb-ws-g summary .n small{font-size:11px;line-height:15px;font-weight:400;color:#555}
.sb-ws-g summary .bar{flex:0 0 298px;height:6px;border-radius:3px;background:#e9ebed;overflow:hidden}
.sb-ws-g summary .bar i{display:block;height:100%;background:#ab0831;border-radius:3px}
.sb-ws-g summary .hrs{font-size:11px!important;min-width:60px;justify-content:flex-end}.sb-ws-g summary .hrs b{font-weight:600!important;color:#222!important}
.sb-ws-g summary .left{flex:none;font-size:10px;line-height:16px;padding:0 7px;border-radius:8px;background:#ffe1e7;color:#ab0831;font-weight:600;min-width:42px;text-align:center}
.sb-ws-g summary .left.ok{background:#e3f4ea;color:#00692c}
.sb-ws-g ul{padding:6px 28px 14px 32px!important}
.sb-ws li.hd{font-size:12px;font-weight:600;color:#222;padding-bottom:4px}
.sb-ws li.hd .ck::before{display:none}
@media (max-width:900px){.sb-ws-g summary .bar{display:none}}
@media (max-width:700px){.sb-ws li.hd{display:none}.sb-ws-g ul{padding:4px 8px 10px!important}}
/* Availability */
.sb-prefrow{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:start}
@media (max-width:800px){.sb-prefrow{grid-template-columns:1fr;gap:0}}
.sb-blockbox{border:1px solid #b7b8ba;border-radius:12px;padding:24px 28px 20px 16px}
@media (max-width:700px){.sb-blockbox{border:0;padding:0}}

/* ---------- wide screens: the design's frame ---------- */
@media (min-width:1100px){
  body.sb-page{--pt-h:0px;--wd-brand:#ab0831;--wd-header-h:60px;--wd-nav-w:72px}
  body.sb-page .pt-banner{display:none}
  .sb-page .wd-task-head{padding-left:41px}
  .sb-page .wd-task-head h1{font-size:20px;letter-spacing:-.2px}
  .sb-page .sb-term .dates{display:none}
  .sb-page .sb-term{height:30px;padding:0 16px;font-size:13px}
  .sb-page .wd-hub-body{padding:31px 30px 48px 19px}
  .sb-frame{display:grid;grid-template-columns:minmax(0,1fr) 252px;gap:24px;align-items:start}
  .sb-frame .sb-steps2{display:none}
  .sb-appt-inline{display:none}
  .sb-mainc{background:#fff;border-radius:16px;padding:35px 31px 13px 48px;min-height:677px;min-width:0}
  .sb-mainc .sb,.sb-mainc .sb-wide{max-width:none!important;margin:0!important}
  .sb-mainc .sb-card{background:none!important;border:0!important;box-shadow:none!important;padding:0!important;margin:0 0 24px!important;border-radius:0!important}
  .sb-mainc .sb-cardtitle{font-size:20px;line-height:28px;font-weight:600;color:#222;margin:0}
  .sb-mainc .sb-card>.sub{font-size:15px;line-height:24px;color:#333;margin:14px 0 18px;max-width:820px}
  .sb-mainc .sb-foot{padding-right:17px!important;position:static!important;left:auto!important;margin:6px 0 0!important;background:none!important;box-shadow:none!important;border:0!important;padding-top:0!important;padding-bottom:0!important;padding-left:0!important}
  .sb-mainc .sb-foot .wd-btn.primary{height:39px;min-width:118px;border-radius:20px;font-size:15px;font-weight:700;background:#ab0831;border-color:#ab0831}
  .sb-page .wd-hub-body{padding-bottom:48px}
  .sb-start2{grid-template-columns:402fr 489fr!important;gap:17px!important;margin-top:0}
  .sb-start2 .sb-tile2{border:1px solid #b7b8ba;border-radius:8px;padding:16px 25px 18px;min-height:383px}
  .sb-start2 .sb-tile2+.sb-tile2{padding-left:32px}
  .sb-start2 .sb-tile2 h3{font-size:20px;line-height:28px;font-weight:600;color:#222;margin:0}
  .sb-start2 .sb-tile2 dl{display:grid!important;grid-template-columns:147px 1fr!important;column-gap:0!important;row-gap:14px;margin:25px 0 0;font-size:13px;line-height:16px;letter-spacing:.3px}
  .sb-start2 dt{color:#555;font-weight:400}.sb-start2 dd{color:#222;margin:0;font-weight:500}
  .sb-prefrow .sb-label,.sb-blocked .sb-label{font-size:20px;line-height:28px;font-weight:600;color:#222}
  .sb-prefrow{margin-top:74px}
  .sb-blocked{margin-top:30px}
  .sb-blockbox .sb-week{--h:43px}
  .sb-mainc .sb-card>.sb-box:first-of-type{margin-top:48px}
  .sb-prefrow .sb-seg button{height:44px;padding:0 24px;font-size:16px}
  .sb-prefrow .sb-day{width:72px;height:44px;font-size:15px}
  /* right column */
  .sb-side{display:block;position:sticky;top:calc(var(--wd-header-h) + 28px);margin-top:-3px;background:#fff;border-radius:16px;overflow:hidden;min-height:675px;padding-bottom:0}
  .sb-appt{position:relative;background:#ab0831;color:#fff;text-align:center;padding:22px 12px 34px;display:flex;flex-direction:column;gap:10px}
  .sb-appt::after{content:"";position:absolute;left:-6%;right:-6%;bottom:-22px;height:34px;background:#fff;border-radius:50%}
  .sb-appt span{font-size:15px;line-height:20px;letter-spacing:.3px}
  .sb-appt b{font-size:26px;line-height:29px;font-weight:700;letter-spacing:1px}
  .sb-appt-term{position:relative;z-index:1;margin:6px 0 0;text-align:center;font-size:12px;line-height:14px;color:#222;letter-spacing:.2px}
  .sb-vsteps{list-style:none;margin:82px 0 0;padding:0 32px 0 28px}
  .sb-vsteps li{position:relative;height:80px}
  .sb-vsteps li:not(:last-child)::before{content:"";position:absolute;left:9px;top:18px;height:64px;width:2px;background:#d4d6d8}
  .sb-vsteps li.done:not(:last-child)::before{background:#008537}
  .sb-vsteps .st,.sb-vsteps button{display:flex;align-items:center;gap:12px;width:100%;padding:0;background:none;border:0;font:inherit;text-align:left;color:inherit;cursor:default}
  .sb-vsteps button{cursor:pointer}
  .sb-vsteps .dot{position:relative;z-index:1;flex:none;width:20px;height:20px;border-radius:50%;box-shadow:inset 0 0 0 1.5px #b7b8ba;background:#fff;display:flex;align-items:center;justify-content:center;margin-top:-17px}
  .sb-vsteps .lbl{flex:1;font-size:11px;line-height:14px;color:#8c979f;padding:10px 0 10px 18px;border-radius:4px;margin-top:-17px;letter-spacing:.2px}
  .sb-vsteps li.now .dot{box-shadow:inset 0 0 0 2px #ab0831}
  .sb-vsteps li.now .dot::after{content:"";width:10px;height:10px;border-radius:50%;background:#ab0831}
  .sb-vsteps li.now .lbl{background:#ffeaee;color:#ab0831;font-weight:700}
  .sb-vsteps li.done .dot{background:#008537;box-shadow:none;color:#fff}.sb-vsteps li.done .dot .wd-icon{width:14px;height:14px;color:#fff}
  .sb-vsteps li.done .lbl{color:#444;font-weight:600}
  .sb-vsteps button:hover .lbl{background:#f4f5f6}
  /* collapsed Academics rail as drawn */
  .sb-page .wd-rail.is-collapsed{width:70px;padding:30px 0 24px}
  .sb-page .wd-rail.is-collapsed .wd-rail-head{gap:5px;padding-bottom:10px}
  .sb-page .wd-rail.is-collapsed .wd-rail-item{margin-bottom:6px;width:53px;height:40px}
  .sb-page .wd-rail.is-collapsed .wd-rail-item[data-group="plan"]{margin-top:63px;position:relative;overflow:visible}
  .sb-page .wd-rail.is-collapsed .wd-rail-item.is-active{background:#ffe7ec}
  .sb-page .wd-rail.is-collapsed .wd-rail-item.is-active::after{content:"";position:absolute;left:-5px;top:0;bottom:0;width:4px;background:#ab0831;border-radius:2px}
  .sb-demo-note{position:absolute;left:20px;right:20px;bottom:14px;margin:0;font-size:12px;line-height:16px;color:#5e6a75;text-align:center}
}

/* ---------- phones and tablets: the design's top-bar layout ---------- */
@media (max-width:1099px){
  body.sb-page{--wd-brand:#ab0831}
  .sb-page .wd-hub-body{padding:0 12px 104px}
  .sb-mainc{background:#fff;border-radius:0 0 16px 16px;padding:20px 16px 12px;min-width:0}
  .sb-mainc .sb,.sb-mainc .sb-wide{max-width:none!important;margin:0!important}
  .sb-mainc .sb-card{background:none!important;border:0!important;box-shadow:none!important;padding:0!important;margin:0 0 20px!important;border-radius:0!important}
  .sb-mainc .sb-cardtitle{font-size:20px;line-height:26px;font-weight:600;color:#222;margin:0}
  .sb-mainc .sb-card>.sub{font-size:14px;line-height:21px;color:#333;margin:8px 0 18px}
  /* step bar as drawn: green finished steps, crimson line, crimson current ring */
  .sb-steps2{max-width:none!important;margin:4px 0 22px!important}
  .sb-steps2 .fill{background:#ab0831!important}
  .sb-steps2 li.done .dot{background:#008537!important;border-color:#008537!important;color:#fff!important;box-shadow:none!important}
  .sb-steps2 li.now .dot{border-color:#ab0831!important;box-shadow:none!important;background:#fff!important}
  .sb-steps2 li.now .lbl{color:#ab0831!important;font-weight:700}
  .sb-steps2 li.done .lbl{color:#333!important}
  /* appointment as a compact crimson strip */
  .sb-appt-inline{display:block;background:#ab0831;color:#fff;border-radius:12px;padding:12px 16px;margin:16px 0 0;font-size:14px;line-height:20px}
  .sb-appt-inline b{display:block;font-size:18px;line-height:24px;letter-spacing:.3px}
  .sb-h3{font-size:18px;line-height:24px;margin:24px 0 14px}
  .sb-start2 .sb-tile2{border:1px solid #b7b8ba!important;border-radius:8px!important;padding:18px 18px 16px!important}
  .sb-start2 .sb-tile2 h3{font-size:18px;line-height:24px;font-weight:600;color:#222;margin:0}
  .sb-donut{margin-top:18px}.sb-credbar{margin-top:24px}.sb-fine{padding-top:14px}
  .sb-start2 .sb-tile2 dl{margin-top:14px}
  .sb-prefrow .sb-label,.sb-blocked .sb-label{font-size:18px;line-height:24px;font-weight:600;color:#222}
  .sb-mainc .sb-foot .wd-btn.primary{background:#ab0831;border-color:#ab0831}
  .sb-boxh{font-size:18px;line-height:24px}
}
@media (max-width:1000px){.wd-rail.is-collapsed ~ div .sb-foot{left:0}}
.sb-week .times span{white-space:nowrap}
@media (max-width:1099px){.sb-prefrow{margin-top:20px}}
/* phones: worksheet rows as name + hours/pill/chevron, then a full-width bar */
@media (max-width:700px){
  .sb-ws-g>summary{display:grid!important;grid-template-columns:minmax(0,1fr) auto auto 20px;align-items:center;gap:6px 8px!important}
  .sb-ws-g>summary .n{grid-column:1;grid-row:1}
  .sb-ws-g>summary .hrs{grid-column:2;grid-row:1;min-width:0}
  .sb-ws-g>summary .left{grid-column:3;grid-row:1}
  .sb-ws-g>summary .chev{grid-column:4;grid-row:1}
  .sb-ws-g>summary .el{grid-column:1/-1;grid-row:3}
  .sb-ws-g>summary .bar{display:block!important;grid-column:1/-1;grid-row:2;flex:none}
  .sb-ws-g summary .n small,.sb-ws-g summary .hrs,.sb-ws-g summary .left{font-size:12px!important;line-height:16px}
}
/* laptops with the Academics rail opened: one card, step bar on top, no right column */
@media (min-width:1100px) and (max-width:1399px){
  .wd-rail:not(.is-collapsed) ~ div .sb-frame{grid-template-columns:minmax(0,1fr)}
  .wd-rail:not(.is-collapsed) ~ div .sb-side{display:none}
  .wd-rail:not(.is-collapsed) ~ div .sb-frame .sb-steps2{display:flex}
}
.sb-donut .past,.sb-donut .cur{stroke-linecap:round}
.sb-credbar .past{border-radius:5px 0 0 5px}.sb-credbar .cur{border-radius:0 5px 5px 0}

/* ---- round 8: mock-up details ---- */
.sb-ws-g>summary .bar{flex:0 1 298px;min-width:80px}
.sb-ws-g summary .chev{width:16px!important;height:16px!important;color:#595959!important}
.sb-ws-g summary .left{background:#ffc6d1;color:#b8324f;font-weight:500;line-height:16px;height:16px}
.sb-ws-g summary .left.ok{background:#e3f4ea;color:#00692c}
.sb-ws-g summary .n small{color:#787878}
.sb-box .sb-prompt-box .pr{position:static!important;transform:none!important;width:44px;height:34px;border-radius:4px}
.sb-box .sb-prompt-box input{border-color:#b7b8ba!important;border-radius:4px!important}
.sb-box .sb-prompt-box:focus-within{outline:0}
.sb-box .sb-prompt-box input:focus{outline:2px solid #0875e1;outline-offset:0}
.sb-credlegend{color:#727f89}
@media (min-width:1100px){
  .sb-start2 dt{color:#727f89!important}
  .sb-start2 .sb-tile2 h3,.sb-start2 dd{color:#333!important}
  .sb-vsteps li:not(:last-child)::before{left:8.5px;width:3px;top:3px;height:80px;background:#b7b8ba}
  .sb-vsteps .dot{box-shadow:inset 0 0 0 2px #d9d9d9}
  .sb-vsteps .lbl{color:#727f89;font-weight:500}
  /* availability grid as drawn */
  .sb-blockbox{padding-top:37px}
  .sb-blockbox .sb-week{grid-template-columns:76px repeat(var(--days,5),1fr)}
  .sb-blockbox .sb-week .times span{font-size:13px;color:#2d4150}
  .sb-blockbox .sb-week .dh{font-size:13px;color:#000}
  .sb-blockbox .sb-week .col{border-left-color:#eff0f2}
  .sb-blockbox .sb-week .cell.half{border-top:0;background-image:linear-gradient(to right,#e3e6ea 3px,transparent 3px);background-size:7px 1px;background-repeat:repeat-x;background-position:0 0}
  /* shell details on the builder only */
  body.sb-page .wd-search{border-color:#ccc}
  .sb-page .wd-nav{padding-top:7px}
  .sb-page .wd-nav .is-active{font-weight:400}
  .sb-page .wd-rail-head > .wd-icon{color:#333}
}
/* laptops with the Academics rail opened: bring the demo notice back as the top banner */
@media (min-width:1100px) and (max-width:1399px){
  body.sb-page:has(.wd-rail:not(.is-collapsed)){--pt-h:36px}
  body.sb-page:has(.wd-rail:not(.is-collapsed)) .pt-banner{display:flex}
}
/* ---- phone polish: course list instead of a sideways table, less chrome, flatter boxes ---- */
@media (max-width:1099px){ .sb-page .wd-rail-mobile{display:none} }
@media (max-width:700px){
  .sb-wstable thead{display:none!important}
  .sb-wstable tbody{display:block!important;min-width:0!important;width:100%!important}
  .sb-wstable tr{display:grid!important;grid-template-columns:1fr auto;gap:2px 12px;padding:10px 12px;border-top:1px solid #e8e9ec}
  .sb-wstable tr:first-child{border-top:0}
  .sb-wstable td{display:block!important;padding:0!important;border:0!important;min-width:0!important;white-space:normal!important}
  .sb-wstable td:first-child{grid-column:1/-1}
  .sb-wstable td.req{grid-column:1;grid-row:2;font-size:12px;color:#5e6a75}
  .sb-wstable td.num{grid-column:2;grid-row:2;font-size:12px;color:#5e6a75}
  .sb-wstable td.num::after{content:" cr"}
  .sb-box{border:0;border-radius:0;padding:18px 0 0;margin:0 0 18px;border-top:1px solid #e8e9ec}
  .sb-mainc .sb-card>.sb-box:first-of-type{border-top:0;padding-top:0}
  .sb-box2{gap:0;margin-bottom:0}.sb-box2 .sb-box{margin-bottom:18px}
}
/* ---- all-device pass ---- */
.wd-cal-scroll{max-height:none!important;overflow:visible!important;padding-right:0!important}
@media (max-width:1099px){
  .sb-ws li .s,.sb-ws li.hd .s{font-size:12px}
  .sb-ws-g summary .n small,.sb-ws-g summary .hrs,.sb-ws-g summary .hrs b,.sb-ws-g summary .left{font-size:12px!important}
  .sb-week:not(.mini) .times span,.sb-week:not(.mini) .ev b,.sb-week:not(.mini) .ev i{font-size:12px}
}
/* touch screens of any width (phones, landscape phones, tablets, foldables): thumb-sized targets */
@media (pointer:coarse){
  .wd-btn{min-height:44px}
  .sb-term{height:44px}
  .sb-seg button,.sb-day{height:44px}
  .wd-iconbtn{width:44px;height:44px}
  .sb-sync{min-height:44px}
  .sb-box .sb-prompt-box input,.sb-box .sb-prompt-box .pr{height:44px!important}
  .sb-info{min-width:44px;min-height:44px;display:inline-flex;align-items:center;justify-content:center}
  .sb-opt-table input[type=radio]{width:24px;height:24px}
  .wd-select,select{min-height:44px}
  .sb-sheet .x,.wd-dialog-head .x,.pt-banner .pt-x{min-width:44px;min-height:44px}
}
@media (pointer:coarse){
  .sb-page .sb-term{height:44px}
  .wd-rail-item,.wd-rail-head .collapse{min-height:44px;min-width:44px}
  .sb-opt-table .sb-hazard{height:44px}
  .wd-toolbar .count small{font-size:12px}
  .sb-vsteps .lbl,.sb-ws li .s,.sb-ws-g summary .n small,.sb-ws-g summary .hrs,.sb-ws-g summary .hrs b,.sb-ws-g summary .left,.sb-week:not(.mini) .times span,.sb-week:not(.mini) .ev b,.sb-week:not(.mini) .ev i,.sb-appt-term,.sb-credlegend,.sb-start2 dl{font-size:12px!important}
}
@media (pointer:coarse){.wd-nav{overflow-y:auto}.wd-nav a,.wd-nav button{flex-shrink:0}}
@media (pointer:coarse){.sb-vsteps button,.sb-vsteps .st{min-height:44px}}
.sb-try{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0 0;font-size:13px;color:#5e6a75}
.sb-try .wd-btn{flex:none}
.sb-sync{cursor:pointer}
.sb-week .cell.anchor{background:#ffd6de!important;box-shadow:inset 0 0 0 2px #ab0831}
@media (max-width:700px){ .sb-week.edit{--h:60px} }
@media (max-width:700px){
  .sb-label small{display:block;margin:3px 0 0;line-height:16px}
  .sb-label-row{align-items:flex-start;gap:12px}
  .sb-page .wd-hub-body{padding-left:8px;padding-right:8px}
  .sb-mainc{padding-left:14px;padding-right:14px}
}
.sb-week.edit{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}
.sb-bsdays{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0 16px}
.sb-bsdays .sb-day{width:56px;height:44px}
.sb-bstimes{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.sb-bstimes label{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:600;color:#333}
.sb-bstimes select{height:44px;font-size:16px;border:1px solid #8c979f;border-radius:6px;padding:0 10px;background:#fff}
.sb-bsact{display:flex;justify-content:flex-end;gap:12px;margin-top:20px}
.sb-bsact .wd-btn{min-height:44px;min-width:120px}
.sb-bsdays .sb-day{text-decoration:none!important;color:#333!important;background:#fff!important;box-shadow:inset 0 0 0 1px #8c979f!important}
.sb-bsdays .sb-day.on{background:#333!important;color:#fff!important;box-shadow:none!important}
@media (hover:none){.sb-mouse-hint{display:none}}
/* touch: the calendar paints, the side strips scroll */
@media (pointer:coarse){
  .sb-week.edit .col,.sb-week.edit .cell{touch-action:none}
  .sb-blockbox{position:relative;padding-left:0!important;padding-right:38px!important}
  .sb-blockbox::after{content:"";position:absolute;top:0;bottom:0;right:0;width:38px;border-radius:11px;background:repeating-linear-gradient(to bottom,#e9ecee 0 2px,transparent 2px 10px) center/4px 100% no-repeat,#f6f7f8}
  .sb-blockbox .sb-week .times{background:#f6f7f8;border-radius:11px 0 0 11px}
}
