*{box-sizing:border-box}body.worker-portal{margin:0;background:#fff}
/* Driver-portal shell (brief 06): bizbox-theme.css draws the shell and every restyled page. */
.bb-stage .wp-top-actions{display:flex;align-items:center;gap:8px}.bb-stage .wp-top-actions form{margin:0}
.bb-stage .wp-notice{margin-bottom:12px}
.bb-stage .wp-hide{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.bb-stage .wp-tabs{margin-bottom:12px;overflow-y:hidden}.bb-stage .wp-tabs a.bb-tab{display:inline-block;text-decoration:none}
.bb-stage .wp-wcard-actions{display:flex;gap:8px;flex-wrap:wrap;margin:-4px 0 12px}
.bb-stage .bb-card .wp-legacy{margin-top:4px}
.bb-stage .wp-instructions{white-space:pre-wrap}
@media (max-width:640px){.bb-stage .bb-worker-body .bb-btn{min-height:44px}.bb-stage .bb-worker-body .bb-btn.sm{min-height:36px}}
/* Earlier worker-portal look. It now applies only inside .wp-legacy: worker pages not yet restyled (messages, notification
   sounds) and the shared requirement answers (requirements/items.php). :where() keeps today's specificity; the
   headings, paragraphs and links tie with bizbox-theme.css and win because this file loads after it. */
:where(main.wp-legacy,.bb-authcard.wp-legacy){font:16px/1.5 system-ui,sans-serif;color:#18304e}
.bb-stage :where(.wp-legacy) h1{font-size:1.8rem;margin:.67em 0}.bb-stage :where(.wp-legacy) h2{font-size:1.2rem;margin:0 0 .8em}.bb-stage :where(.wp-legacy) h3{font-size:1rem;margin:1em 0 .5em}.bb-stage :where(.wp-legacy) p{margin:1em 0}
.bb-stage :where(.wp-legacy) a{color:#075cba;text-underline-offset:3px}
:where(.wp-legacy) :where(.card){background:white;border:1px solid #dce4ef;border-radius:10px;padding:20px;margin:18px 0}:where(.wp-legacy) :where(label){display:block;font-weight:600;margin:14px 0}:where(.wp-legacy) :where(input,select){display:block;width:100%;font:inherit;min-height:44px;padding:9px;border:1px solid #9daec4;border-radius:5px;margin-top:6px}:where(.wp-legacy) :where(input[type=checkbox]){display:inline-block;width:20px;min-height:20px;margin-right:8px}:where(.wp-legacy) :where(button,.button){display:inline-block;min-height:44px;padding:10px 16px;border:1px solid #a4b4c9;background:white;color:#134b8c;border-radius:6px;font:inherit;font-weight:600;cursor:pointer;text-decoration:none;margin:5px 0}:where(.wp-legacy) :where(.primary){background:#0667d6;color:white;border-color:#0667d6}:where(.wp-legacy) :where(.heading){display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}:where(.wp-legacy) :where(.badge){display:inline-block;background:#e9f1fc;color:#174c8c;border-radius:5px;padding:4px 9px}:where(.wp-legacy) :where(.tabs){display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin:18px 0}:where(.wp-legacy) :where(.tabs [aria-current]){font-weight:700;border-bottom:3px solid #0667d6}:where(.wp-legacy) :where(.notice){padding:14px;background:#e8f5ed;border:1px solid #a3d1b3;border-radius:7px}:where(.wp-legacy) :where(.notice.error){background:#fff0ef;border-color:#e1a29c;color:#95251b}:where(.wp-legacy) :where(.muted,small){color:#5b6a80}:where(.wp-legacy) :where(.instructions){white-space:pre-wrap}:where(.wp-legacy) :where(.file){padding:14px 0;border-bottom:1px solid #dce4ef;overflow-wrap:anywhere}:where(.wp-legacy) :where(.file small){display:block}:where(.wp-legacy) :where(details){margin:18px 0}:where(.wp-legacy) :where(summary){cursor:pointer;font-weight:600}:where(.wp-legacy) :where(canvas){display:block;width:100%;height:160px;background:white;border:2px solid #738aa5;touch-action:none}.avatar{border-radius:50%;object-fit:cover}@media(max-width:480px){:where(.wp-legacy) :where(.card){padding:16px}:where(.wp-legacy) :where(button,.button){max-width:100%}}@media print{.bb-portal-top,.bb-portal-nav,button,form,.tabs,details{display:none}body{background:white}.card,.bb-card{break-inside:avoid;border:0}}
[hidden]{display:none!important}

/* Selected evidence is previewed before submission. */
.req-photo-preview{display:block;max-width:240px;max-height:180px;object-fit:contain;margin:10px 0;border-radius:6px}
