/* Workplace theme for the shared Exam Lab shell. Keep exercises in normal page flow. */
.pf80-workplace #main.wl-shell{width:100%;max-width:none;padding:0}
.pf80-workplace .wl-lab{
  --wl-navy:#112039;--wl-deep:#1b3350;--wl-orange:#f38a42;--wl-peach:#ffae75;
  --wl-warm:#fff3e9;--wl-burnt:#953a0d;--lab-ink:var(--wl-navy);
  --lab-muted:#475b72;--lab-line:#d2dde7;
  margin-block:0 1rem;scroll-margin-top:1rem;
}
.wl-lab [hidden]{display:none!important}
.wl-lab .wl-head{background:var(--wl-navy);color:#e4edf6;border-top:3px solid var(--wl-orange);border-radius:.65rem;padding:.65rem .9rem;margin-bottom:.7rem}
.wl-head h1{color:#fff}
.wl-head .pelab-back{color:var(--wl-peach);font-weight:700}
.wl-head .wl-kicker{color:#e4edf6}
.wl-grid{align-items:start}
.wl-choices{min-width:0}
.wl-choices>summary{list-style:none;display:none}
.wl-choices>summary::-webkit-details-marker{display:none}
.wl-lab .wl-menu{padding:.55rem;overflow:visible;scrollbar-gutter:auto;background:var(--wl-navy);color:#fff;border-color:var(--wl-navy);max-height:none}
.wl-menu h2{color:#dadfe8}
.wl-menu .pelab-menu summary{background:#203854;color:#fff}
.wl-menu .pelab-menu[data-selected] summary{background:#2a4460;color:var(--wl-peach)}
.wl-menu .pelab-menu ul{border-color:#52677b}
.wl-menu .pelab-menu a{min-height:44px;color:#f4f7fa;align-items:center}
.wl-menu .pelab-menu a:hover{background:#294764;color:#fff}
.wl-menu .pelab-menu a[aria-current]{background:var(--wl-orange);color:var(--wl-navy);font-weight:800}
.wl-menu .pelab-menu a [data-wl-done]{margin-inline-start:auto;color:#a9e9cc}
.wl-menu .pelab-menu a[aria-current] :is([data-wl-done],.pelab-num){color:var(--wl-navy)}
.wl-menu .pelab-menu .pelab-num,.wl-menu-meta{color:#d5e1ee}
.wl-menu-meta{display:block;margin-top:.2rem;font-size:.75rem;font-weight:500}
.wl-menu a[aria-current] .wl-menu-meta{color:var(--wl-navy)}
.wl-lab .wl-panel{overflow:visible;min-width:0}
.wl-lab .wl-toolbar{background:#eef3f8;border-radius:.6rem .6rem 0 0;padding:.65rem .9rem}
.wl-toolbar h2{color:var(--wl-navy);font-size:clamp(1rem,1.6vw,1.25rem)}
.wl-toolbar [data-wl-eyebrow]{color:var(--wl-burnt);margin:0;line-height:1.35;font-size:.73rem}
.wl-work{width:min(100%,63rem);padding:clamp(.85rem,2vw,1.7rem);overflow-wrap:anywhere}
.wl-work p{max-width:72ch;line-height:1.55}
.wl-context{color:var(--lab-muted);margin:0 0 .9rem}
.wl-panel [data-wl-turn],.wl-grammar-step{margin:.35rem 0;font-weight:800;color:var(--wl-burnt)}
.wl-panel [data-wg-prompt]{font-size:clamp(1rem,1.5vw,1.22rem);line-height:1.35;margin:.45rem 0}
.wl-panel blockquote,.wl-panel [data-wg-feedback]:not(:empty){margin:.65rem 0;padding:.65rem .85rem;border-inline-start:3px solid var(--wl-orange);background:var(--wl-warm)}
.wl-panel label{display:block;margin-top:.7rem;font-weight:700}
.wl-panel :is(textarea,input[type="text"]){display:block;width:100%;margin:.35rem 0 .55rem;padding:.55rem .65rem;border:1px solid #8397ac;border-radius:.45rem;font:inherit;background:#fff;color:var(--wl-navy)}
.wl-panel textarea{min-height:84px}
.wl-panel input[type="text"]{max-width:22rem;min-height:44px}
.wl-note{font-size:.84rem;color:var(--lab-muted)}
.wl-controls{display:flex;align-items:center;flex-wrap:wrap;gap:.45rem;margin:.6rem 0}
.wl-clock{min-width:4.2ch;font-variant-numeric:tabular-nums;font-weight:800}
.wl-panel button{min-height:44px;padding:.42rem .75rem;border:1px solid #8397ac;border-radius:.45rem;font:inherit;font-size:.88rem;font-weight:750;cursor:pointer;background:#fff;color:var(--wl-navy)}
.wl-panel button:hover:not(:disabled){background:#eef3f8}
.wl-panel button:disabled{opacity:.65;cursor:default}
.wl-panel button.wl-primary{background:var(--wl-orange);border-color:var(--wl-orange);color:var(--wl-navy)}
.wl-panel button.wl-primary:hover:not(:disabled){background:#ffae75;border-color:#ffae75}
.wl-lab :focus-visible{outline:3px solid var(--wl-burnt);outline-offset:2px}
.wl-lab :is(.wl-head,.wl-menu) :focus-visible{outline-color:var(--wl-peach);outline-offset:-2px}
.wl-panel [data-wl-timer-message]:empty{display:none}
.wl-panel [data-wl-model] h4,.wl-panel [data-wg-review] h4{margin:1rem 0 .4rem}
.wl-progress-footer{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:.45rem;border-top:1px solid var(--lab-line);margin-top:.85rem;padding-top:.6rem}
.wl-progress{font-size:.84rem;font-weight:700;margin:0}
.wl-panel [data-wl-clear]{background:none;border-color:transparent;text-decoration:underline;text-underline-offset:.15em}
.wl-panel :is([data-wg-work],[data-wg-checks]) fieldset{min-width:0;border:1px solid var(--lab-line);border-radius:.45rem;padding:.45rem .65rem;margin:.65rem 0}
.wl-panel :is([data-wg-work],[data-wg-checks]) legend{padding:0 .25rem;font-weight:700}
.wl-panel .wl-option{display:flex;align-items:flex-start;gap:.6rem;margin:0;padding:.65rem .3rem;min-height:44px;font-weight:500;cursor:pointer}
.wl-option input{flex:0 0 auto;margin:.27rem 0 0;accent-color:var(--wl-burnt)}
.wl-option + .wl-option{border-top:1px solid var(--lab-line)}
.pf80-workplace .wl-shell > :not(.wl-lab){width:min(calc(100% - 2rem),85rem);margin-inline:auto}
.pf80-workplace #pf80-units .pf80-progress-card{margin-bottom:.8rem;padding:.55rem .85rem;border-radius:.65rem}
.pf80-workplace #pf80-units .pf80-progress-track{margin:.35rem 0}
.pf80-workplace #workplace-resources{display:block;background:#eef3f8}
.pf80-workplace #workplace-resources .pf80-unit-grid{margin-top:.8rem}
@media(max-width:830px){
  .wl-choices>summary{display:flex;align-items:center;justify-content:space-between;min-height:44px;padding:.5rem .7rem;border-radius:.45rem;background:var(--wl-navy);color:#fff;font-size:.88rem;font-weight:750;cursor:pointer}
  .wl-choices>summary::after{content:'›';color:var(--wl-peach);font-size:1.2rem}
  .wl-choices[open]>summary::after{transform:rotate(90deg)}
  .wl-choices .wl-menu{margin-top:.35rem}
  .wl-choices .wl-menu h2{display:none}
  .wl-choices>summary:focus-visible{outline-color:var(--wl-peach);outline-offset:-3px}
}
@media print{
  .wl-lab{display:none!important}
  .pf80-workplace .wl-shell > :not(.wl-lab){width:auto;margin-inline:0}
}
