/* C2 source layout. All numbers and chart marks are supplied by staffingEngine.
   Source labels remain visible; only optional inputs and inactive task rows fold. */
@layer r7-refinement {
  body#ordrel-r163.jem33-r13 main#main.r13-staff-main {
    --r13-staff-bar-space:112px;--r13-staff-status-success:#155B3B;--r13-staff-status-success-bg:#E6F3ED;
    --r13-staff-status-warning:#734500;--r13-staff-status-warning-bg:#FFF4D9;
    --r13-staff-status-danger:#8D2C1E;--r13-staff-status-danger-bg:#FFF1EF;
    width:100%!important;max-width:1360px!important;min-width:0!important;margin-inline:auto!important;
    padding-block:24px calc(var(--r13-staff-bar-space) + 32px)!important;
    background:transparent!important;color:var(--r13-ink)!important;
  }
  body#ordrel-r163.jem33-r13 main#main.r13-staff-main .r13-staffing {
    display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:32px!important;min-width:0!important;width:100%!important;
    margin:0!important;padding:0!important;color:var(--r13-ink)!important;
  }
  body#ordrel-r163.jem33-r13 main#main.r13-staff-main :is(.r13-staffing,.r13-staffing *) {box-sizing:border-box!important;min-width:0!important;}
  body#ordrel-r163.jem33-r13 main#main.r13-staff-main .r13-staffing [hidden] {display:none!important;}
  body#ordrel-r163.jem33-r13 main#main.r13-staff-main :is(h1,h2,h3,h4,p,li,dd,dt,label,legend,summary) {white-space:normal!important;overflow-wrap:break-word!important;hyphens:auto!important;letter-spacing:normal!important;}
  body#ordrel-r163.jem33-r13 main#main.r13-staff-main :is(h1,h2,h3,h4) {color:var(--r13-ink)!important;}
  body#ordrel-r163.jem33-r13 main#main.r13-staff-main :is(h2,h3,h4) {margin:0 0 16px!important;line-height:1.25!important;}
  body#ordrel-r163.jem33-r13 main#main.r13-staff-main :is(h3,h4) {font-size:18px!important;font-weight:700!important;}
  body#ordrel-r163.jem33-r13 main#main.r13-staff-main p {margin:0 0 16px!important;line-height:1.5!important;}
  body#ordrel-r163.jem33-r13 main#main.r13-staff-main .r13-staff-heading {display:grid!important;gap:8px!important;margin:0!important;padding:0!important;}
  body#ordrel-r163.jem33-r13 main#main.r13-staff-main .r13-staff-heading :is(h1,p) {margin:0!important;}
  body#ordrel-r163.jem33-r13 main#main.r13-staff-main .r13-staff-free {color:var(--r13-blue)!important;font-size:16px!important;font-weight:700!important;}
  body#ordrel-r163.jem33-r13 main#main.r13-staff-main .r13-staff-subtitle {font-size:18px!important;color:var(--r13-muted)!important;}
  body#ordrel-r163.jem33-r13 main#main.r13-staff-main .r13-staff-layout {display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:24px!important;align-items:start!important;width:100%!important;}
  body#ordrel-r163.jem33-r13 main#main.r13-staff-main #r13-staff-form {display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:24px!important;margin:0!important;padding:0!important;min-width:0!important;background:transparent!important;border:0!important;}
  body#ordrel-r163.jem33-r13 main#main.r13-staff-main :is(.r13-staff-presets,.r13-staff-input-section,.r13-staff-result,.r13-staff-guide,.r13-staff-copy-panel) {
    display:block!important;min-width:0!important;width:100%!important;height:auto!important;min-height:0!important;
    padding:24px!important;margin:0!important;background:var(--r13-paper)!important;color:var(--r13-ink)!important;
    border:1px solid var(--r13-border)!important;border-radius:16px!important;box-shadow:none!important;
  }
  body#ordrel-r163.jem33-r13 main#main.r13-staff-main .r13-staff-preset-grid {display:flex!important;flex-wrap:wrap!important;gap:8px!important;}
  body#ordrel-r163.jem33-r13 main#main.r13-staff-main :is(button,.r13-staff-next a,.r13-staff-paid-prompt a) {
    display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;min-width:44px!important;
    min-height:44px!important;height:auto!important;max-width:100%!important;padding:8px 12px!important;margin:0!important;
    font:inherit!important;font-size:16px!important;line-height:1.5!important;font-weight:700!important;white-space:normal!important;
    text-align:center!important;color:var(--r13-blue)!important;background:var(--r13-paper)!important;border:1px solid var(--r13-blue)!important;
    border-radius:8px!important;box-shadow:none!important;cursor:pointer!important;text-decoration:none!important;
  }
  body#ordrel-r163.jem33-r13 main#main.r13-staff-main button:hover:not(:disabled) {background:var(--r13-canvas)!important;}
  body#ordrel-r163.jem33-r13 main#main.r13-staff-main button[aria-pressed="true"] {background:var(--r13-blue)!important;color:var(--r13-paper)!important;}
  body#ordrel-r163.jem33-r13 main#main.r13-staff-main button:disabled {opacity:1!important;color:var(--r13-muted)!important;background:var(--r13-canvas)!important;border-color:var(--r13-border)!important;cursor:not-allowed!important;}
  body#ordrel-r163.jem33-r13 main#main.r13-staff-main [data-r13-action="report-pdf"]:not(:disabled) {background:var(--r13-action)!important;border:2px solid var(--r13-action-border)!important;color:#102539!important;}
  body#ordrel-r163.jem33-r13 main#main.r13-staff-main :focus-visible {outline:3px solid var(--r13-blue)!important;outline-offset:3px!important;box-shadow:0 0 0 2px var(--r13-paper)!important;}
  body#ordrel-r163.jem33-r13 main#main.r13-staff-main :is(input,select,textarea) {
    font:inherit!important;font-size:16px!important;line-height:1.5!important;color:var(--r13-ink)!important;background:var(--r13-paper)!important;
    border:1px solid var(--r13-muted)!important;border-radius:8px!important;min-height:44px!important;min-width:0!important;
    width:100%!important;max-width:100%!important;padding:8px 12px!important;box-shadow:none!important;font-variant-numeric:tabular-nums!important;
  }
  body#ordrel-r163.jem33-r13 main#main.r13-staff-main :is(input,select,textarea):disabled {background:var(--r13-canvas)!important;color:var(--r13-muted)!important;border-color:var(--r13-border)!important;opacity:1!important;}
  body#ordrel-r163.jem33-r13 main#main.r13-staff-main :is(input,select,textarea)[aria-invalid="true"] {border:2px solid var(--r13-staff-status-danger)!important;}
  body#ordrel-r163.jem33-r13 main#main.r13-staff-main input:is([type="radio"],[type="checkbox"]) {width:20px!important;min-width:20px!important;height:20px!important;min-height:20px!important;flex:0 0 20px!important;padding:0!important;margin:0!important;accent-color:var(--r13-blue)!important;}
  body#ordrel-r163.jem33-r13 main#main.r13-staff-main fieldset {min-width:0!important;margin:0!important;padding:0!important;border:0!important;}
  body#ordrel-r163.jem33-r13 main#main.r13-staff-main legend {padding:0!important;margin:0 0 8px!important;font-size:16px!important;font-weight:700!important;}
  body#ordrel-r163.jem33-r13 main#main.r13-staff-main .r13-staff-segment {display:flex!important;flex-wrap:wrap!important;gap:8px!important;margin-bottom:16px!important;}
  body#ordrel-r163.jem33-r13 main#main.r13-staff-main .r13-staff-segment label {display:flex!important;align-items:center!important;gap:8px!important;flex:1 1 max-content!important;min-height:44px!important;padding:8px!important;border:1px solid var(--r13-border)!important;border-radius:8px!important;color:var(--r13-ink)!important;background:var(--r13-canvas)!important;cursor:pointer!important;}
  body#ordrel-r163.jem33-r13 main#main.r13-staff-main .r13-staff-segment label:has(input:checked) {border:2px solid var(--r13-blue)!important;padding:7px!important;background:var(--r13-paper)!important;color:var(--r13-blue)!important;}
  body#ordrel-r163.jem33-r13 main#main.r13-staff-main .r13-staff-fields {display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:16px!important;margin:0!important;}
  body#ordrel-r163.jem33-r13 main#main.r13-staff-main .r13-staff-field {display:flex!important;flex-direction:column!important;gap:8px!important;min-width:0!important;margin:0!important;}
  body#ordrel-r163.jem33-r13 main#main.r13-staff-main .r13-staff-field label {display:block!important;min-width:0!important;font-size:16px!important;line-height:1.5!important;font-weight:700!important;color:var(--r13-ink)!important;}
  body#ordrel-r163.jem33-r13 main#main.r13-staff-main .r13-staff-field input {order:1!important;}
  body#ordrel-r163.jem33-r13 main#main.r13-staff-main .r13-staff-field :is(.r13-staff-hint,.r13-staff-error) {order:2!important;}
  body#ordrel-r163.jem33-r13 main#main.r13-staff-main .r13-staff-check {display:flex!important;align-items:flex-start!important;gap:12px!important;min-height:44px!important;padding:12px 0!important;margin:0!important;font-size:16px!important;line-height:1.5!important;color:var(--r13-ink)!important;}
  body#ordrel-r163.jem33-r13 main#main.r13-staff-main .r13-staff-check input {margin-top:2px!important;}
  body#ordrel-r163.jem33-r13 main#main.r13-staff-main .r13-staff-task {display:grid!important;gap:16px!important;border:1px solid var(--r13-border)!important;background:var(--r13-canvas)!important;border-radius:12px!important;margin:0 0 16px!important;padding:16px!important;}
  body#ordrel-r163.jem33-r13 main#main.r13-staff-main .r13-staff-task-head {display:flex!important;justify-content:space-between!important;align-items:center!important;flex-wrap:wrap!important;gap:8px!important;}
  body#ordrel-r163.jem33-r13 main#main.r13-staff-main .r13-staff-task-head h3 {margin:0!important;}
  body#ordrel-r163.jem33-r13 main#main.r13-staff-main .r13-staff-task-head button {padding-inline:8px!important;}
  body#ordrel-r163.jem33-r13 main#main.r13-staff-main .r13-staff-row-result {display:flex!important;align-items:baseline!important;justify-content:space-between!important;gap:16px!important;margin:0!important;padding-top:12px!important;border-top:1px solid var(--r13-border)!important;color:var(--r13-muted)!important;}
  body#ordrel-r163.jem33-r13 main#main.r13-staff-main .r13-staff-row-result output {font-weight:700!important;font-size:24px!important;color:var(--r13-ink)!important;font-variant-numeric:tabular-nums!important;}
  body#ordrel-r163.jem33-r13 main#main.r13-staff-main [data-r13-row-state="waiting"] .r13-staff-row-result {filter:grayscale(1)!important;opacity:1!important;}
  body#ordrel-r163.jem33-r13 main#main.r13-staff-main [data-r13-row-state="waiting"] .r13-staff-row-result output {color:var(--r13-muted)!important;}
  body#ordrel-r163.jem33-r13 main#main.r13-staff-main :is(.r13-staff-inline-actions,.r13-staff-hour-chips) {display:flex!important;flex-wrap:wrap!important;gap:8px!important;margin:16px 0!important;}
  body#ordrel-r163.jem33-r13 main#main.r13-staff-main .r13-staff-hour-chips button {flex:1 1 72px!important;}
  body#ordrel-r163.jem33-r13 main#main.r13-staff-main .r13-staff-range {display:block!important;margin:8px 0 16px!important;}
  body#ordrel-r163.jem33-r13 main#main.r13-staff-main .r13-staff-range input {min-height:44px!important;padding:0!important;accent-color:var(--r13-blue)!important;border:0!important;box-shadow:none!important;}
  body#ordrel-r163.jem33-r13 main#main.r13-staff-main :is(.r13-staff-hint,.r13-staff-example) {font-size:16px!important;font-weight:400!important;line-height:1.5!important;color:var(--r13-muted)!important;}
  body#ordrel-r163.jem33-r13 main#main.r13-staff-main .r13-staff-hint:last-child {margin-bottom:0!important;}
  body#ordrel-r163.jem33-r13 main#main.r13-staff-main :is(.r13-staff-error,.r13-staff-error-summary) {font-size:16px!important;line-height:1.5!important;color:var(--r13-staff-status-danger)!important;background:var(--r13-staff-status-danger-bg)!important;margin:0!important;padding:8px 12px!important;border-radius:8px!important;}
  body#ordrel-r163.jem33-r13 main#main.r13-staff-main .r13-staff-warnings p {padding:16px!important;border:1px solid var(--r13-staff-status-warning)!important;border-radius:8px!important;background:var(--r13-staff-status-warning-bg)!important;color:var(--r13-staff-status-warning)!important;}
  body#ordrel-r163.jem33-r13 main#main.r13-staff-main .r13-staff-team-stepper {display:grid!important;grid-template-columns:44px minmax(0,1fr) 44px!important;gap:12px!important;align-items:end!important;margin-bottom:16px!important;}
  body#ordrel-r163.jem33-r13 main#main.r13-staff-main .r13-staff-team-stepper button {height:44px!important;padding:0!important;font-size:24px!important;}
  body#ordrel-r163.jem33-r13 main#main.r13-staff-main .r13-staff-optional {display:block!important;padding:0!important;margin:16px 0 0!important;border:1px solid var(--r13-border)!important;border-radius:12px!important;background:var(--r13-paper)!important;color:var(--r13-ink)!important;}
  body#ordrel-r163.jem33-r13 main#main.r13-staff-main #r13-staff-form>.r13-staff-optional {margin-top:0!important;}
  body#ordrel-r163.jem33-r13 main#main.r13-staff-main .r13-staff-optional>summary {min-height:44px!important;padding:16px!important;font-size:18px!important;font-weight:700!important;line-height:1.5!important;color:var(--r13-ink)!important;cursor:pointer!important;background:transparent!important;}
  body#ordrel-r163.jem33-r13 main#main.r13-staff-main .r13-staff-optional-body {display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:16px!important;padding:0 16px 16px!important;background:transparent!important;}
  body#ordrel-r163.jem33-r13 main#main.r13-staff-main .r13-staff-optional-body>p {margin:0!important;}
  body#ordrel-r163.jem33-r13 main#main.r13-staff-main .r13-staff-result {position:relative!important;inset:auto!important;align-self:start!important;display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:16px!important;overflow:visible!important;}
  body#ordrel-r163.jem33-r13 main#main.r13-staff-main .r13-staff-result>:is(h2,p) {margin:0!important;}
  body#ordrel-r163.jem33-r13 main#main.r13-staff-main .r13-staff-result-head {display:flex!important;flex-wrap:wrap!important;align-items:center!important;justify-content:space-between!important;gap:16px!important;background:var(--r13-paper)!important;}
  body#ordrel-r163.jem33-r13 main#main.r13-staff-main .r13-staff-result-head h2 {margin:0!important;}
  body#ordrel-r163.jem33-r13 main#main.r13-staff-main .r13-staff-verdict {display:grid!important;grid-template-columns:24px minmax(0,1fr)!important;gap:12px!important;align-items:start!important;padding:16px!important;min-height:80px!important;border:1px solid var(--r13-border)!important;border-radius:8px!important;font-size:18px!important;line-height:1.5!important;font-weight:700!important;background:var(--r13-canvas)!important;color:var(--r13-ink)!important;}
  body#ordrel-r163.jem33-r13 main#main.r13-staff-main .r13-staff-verdict p {margin:0!important;font-size:18px!important;color:inherit!important;}
  body#ordrel-r163.jem33-r13 main#main.r13-staff-main .r13-staff-status-icon {display:inline-flex!important;align-items:center!important;justify-content:center!important;width:24px!important;height:24px!important;border:1px solid currentColor!important;border-radius:50%!important;font-size:16px!important;line-height:1!important;color:inherit!important;}
  body#ordrel-r163.jem33-r13 main#main.r13-staff-main [data-r13-status="danger"]>.r13-staff-verdict {background:var(--r13-staff-status-danger-bg)!important;border-color:var(--r13-staff-status-danger)!important;color:var(--r13-staff-status-danger)!important;}
  body#ordrel-r163.jem33-r13 main#main.r13-staff-main [data-r13-status="warning"]>.r13-staff-verdict {background:var(--r13-staff-status-warning-bg)!important;border-color:var(--r13-staff-status-warning)!important;color:var(--r13-staff-status-warning)!important;}
  body#ordrel-r163.jem33-r13 main#main.r13-staff-main [data-r13-status="success"]>.r13-staff-verdict {background:var(--r13-staff-status-success-bg)!important;border-color:var(--r13-staff-status-success)!important;color:var(--r13-staff-status-success)!important;}
  body#ordrel-r163.jem33-r13 main#main.r13-staff-main .r13-staff-waiting {padding:12px!important;border:1px solid var(--r13-border)!important;border-radius:8px!important;background:var(--r13-canvas)!important;color:var(--r13-muted)!important;font-weight:700!important;}
  body#ordrel-r163.jem33-r13 main#main.r13-staff-main [data-r13-state="waiting"] :is(.r13-staff-headline,.r13-staff-metrics,.r13-staff-chart,.r13-staff-sensitivity) {filter:grayscale(1)!important;opacity:1!important;}
  body#ordrel-r163.jem33-r13 main#main.r13-staff-main :is(.r13-staff-headline,.r13-staff-metrics) {display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:16px!important;margin:0!important;padding:0!important;}
  body#ordrel-r163.jem33-r13 main#main.r13-staff-main .r13-staff-headline {grid-template-columns:minmax(0,1.4fr) minmax(0,1fr) minmax(0,1fr)!important;align-items:start!important;}
  body#ordrel-r163.jem33-r13 main#main.r13-staff-main .r13-staff-metric {display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:flex-start!important;gap:8px!important;padding:12px!important;border:1px solid var(--r13-border)!important;border-radius:8px!important;background:var(--r13-canvas)!important;}
  body#ordrel-r163.jem33-r13 main#main.r13-staff-main .r13-staff-metric dt {font-size:16px!important;line-height:1.5!important;color:var(--r13-muted)!important;margin:0!important;}
  body#ordrel-r163.jem33-r13 main#main.r13-staff-main .r13-staff-metric dd {display:flex!important;flex-wrap:wrap!important;align-items:baseline!important;gap:4px 8px!important;margin:0!important;max-width:100%!important;color:var(--r13-ink)!important;}
  body#ordrel-r163.jem33-r13 main#main.r13-staff-main .r13-staff-metric output {font-size:32px!important;font-weight:700!important;font-variant-numeric:tabular-nums!important;line-height:1.15!important;overflow-wrap:anywhere!important;}
  body#ordrel-r163.jem33-r13 main#main.r13-staff-main [data-r13-metric="needed"] {font-size:48px!important;}
  body#ordrel-r163.jem33-r13 main#main.r13-staff-main .r13-staff-unit {font-size:16px!important;line-height:1.5!important;color:var(--r13-muted)!important;}
  body#ordrel-r163.jem33-r13 main#main.r13-staff-main .r13-staff-chart {display:block!important;margin:0!important;padding:16px!important;border:1px solid var(--r13-border)!important;border-radius:8px!important;background:var(--r13-canvas)!important;}
  body#ordrel-r163.jem33-r13 main#main.r13-staff-main .r13-staff-chart figcaption {font-size:16px!important;line-height:1.5!important;font-weight:700!important;padding:0!important;margin:0 0 16px!important;color:var(--r13-ink)!important;background:transparent!important;}
  body#ordrel-r163.jem33-r13 main#main.r13-staff-main .r13-staff-chart-track {position:relative!important;height:48px!important;width:100%!important;margin:0 0 16px!important;background:var(--r13-paper)!important;border-radius:4px!important;}
  body#ordrel-r163.jem33-r13 main#main.r13-staff-main .r13-staff-chart-required {position:absolute!important;inset-block:0!important;left:0!important;display:block!important;border:2px dashed var(--r13-muted)!important;border-radius:4px!important;background:transparent!important;}
  body#ordrel-r163.jem33-r13 main#main.r13-staff-main .r13-staff-chart-assigned {position:absolute!important;top:8px!important;bottom:8px!important;left:0!important;display:block!important;background:var(--r13-blue)!important;border-radius:4px!important;}
  body#ordrel-r163.jem33-r13 main#main.r13-staff-main .r13-staff-chart-demand {position:absolute!important;top:0!important;bottom:0!important;display:block!important;width:3px!important;background:var(--r13-ink)!important;box-shadow:0 0 0 2px var(--r13-paper)!important;transform:translateX(-3px)!important;}
  body#ordrel-r163.jem33-r13 main#main.r13-staff-main .r13-staff-chart-legend {display:grid!important;gap:8px!important;margin:0!important;padding:0!important;}
  body#ordrel-r163.jem33-r13 main#main.r13-staff-main .r13-staff-chart-legend>div {display:flex!important;justify-content:space-between!important;align-items:baseline!important;gap:12px!important;}
  body#ordrel-r163.jem33-r13 main#main.r13-staff-main .r13-staff-chart-legend :is(dt,dd) {font-size:16px!important;line-height:1.5!important;margin:0!important;color:var(--r13-ink)!important;}
  body#ordrel-r163.jem33-r13 main#main.r13-staff-main .r13-staff-chart-legend output {font-weight:700!important;font-variant-numeric:tabular-nums!important;}
  body#ordrel-r163.jem33-r13 main#main.r13-staff-main .r13-staff-chart-gap {font-size:16px!important;font-weight:700!important;color:var(--r13-ink)!important;margin:16px 0 0!important;}
  body#ordrel-r163.jem33-r13 main#main.r13-staff-main .r13-staff-sensitivity-grid {display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;}
  body#ordrel-r163.jem33-r13 main#main.r13-staff-main [data-r13-sensitivity] {display:flex!important;flex-direction:column!important;gap:8px!important;padding:12px!important;background:var(--r13-canvas)!important;border:1px solid var(--r13-border)!important;border-radius:8px!important;}
  body#ordrel-r163.jem33-r13 main#main.r13-staff-main [data-r13-sensitivity] p {margin:0!important;font-size:16px!important;color:var(--r13-ink)!important;}
  body#ordrel-r163.jem33-r13 main#main.r13-staff-main [data-r13-sensitivity] output {font-size:24px!important;font-weight:700!important;line-height:1.25!important;font-variant-numeric:tabular-nums!important;color:var(--r13-ink)!important;}
  body#ordrel-r163.jem33-r13 main#main.r13-staff-main [data-r13-sensitivity] :is(span,small) {font-size:16px!important;line-height:1.5!important;color:var(--r13-muted)!important;}
  body#ordrel-r163.jem33-r13 main#main.r13-staff-main .r13-staff-checks ul {display:grid!important;gap:8px!important;margin:0!important;padding-inline-start:24px!important;}
  body#ordrel-r163.jem33-r13 main#main.r13-staff-main .r13-staff-next {display:flex!important;flex-direction:column!important;gap:8px!important;margin:0!important;padding-top:16px!important;border-top:1px solid var(--r13-border)!important;}
  body#ordrel-r163.jem33-r13 main#main.r13-staff-main .r13-staff-next h3 {margin:0!important;}
  body#ordrel-r163.jem33-r13 main#main.r13-staff-main .r13-staff-next a {justify-content:flex-start!important;text-align:start!important;}
  body#ordrel-r163.jem33-r13 main#main.r13-staff-main .r13-staff-honesty {font-size:16px!important;font-weight:700!important;color:var(--r13-ink)!important;}
  body#ordrel-r163.jem33-r13 main#main.r13-staff-main .r13-staff-output-actions {display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;min-height:104px!important;}
  body#ordrel-r163.jem33-r13 main#main.r13-staff-main .r13-staff-paid-prompt {padding:16px!important;border:1px solid var(--r13-border)!important;border-radius:8px!important;background:var(--r13-canvas)!important;color:var(--r13-ink)!important;}
  body#ordrel-r163.jem33-r13 main#main.r13-staff-main .r13-staff-paid-prompt p {margin:0 0 8px!important;}
  body#ordrel-r163.jem33-r13 main#main.r13-staff-main .r13-staff-paper {display:flex!important;align-items:center!important;gap:16px!important;flex-wrap:wrap!important;}
  body#ordrel-r163.jem33-r13 main#main.r13-staff-main .r13-staff-paper select {width:auto!important;min-width:44px!important;}
  body#ordrel-r163.jem33-r13 main#main.r13-staff-main .r13-staff-save-options {display:flex!important;flex-wrap:wrap!important;gap:8px!important;padding:16px!important;background:var(--r13-canvas)!important;border:1px solid var(--r13-border)!important;border-radius:8px!important;}
  body#ordrel-r163.jem33-r13 main#main.r13-staff-main .r13-staff-save-options p {flex:1 0 100%!important;margin:0 0 8px!important;}
  body#ordrel-r163.jem33-r13 main#main.r13-staff-main [data-r13-comparison-output] {width:100%!important;table-layout:fixed!important;border-collapse:collapse!important;font-variant-numeric:tabular-nums!important;}
  body#ordrel-r163.jem33-r13 main#main.r13-staff-main [data-r13-comparison-output] :is(th,td) {padding:8px!important;border:1px solid var(--r13-border)!important;font-size:16px!important;line-height:1.5!important;text-align:start!important;overflow-wrap:anywhere!important;color:var(--r13-ink)!important;background:var(--r13-paper)!important;}
  body#ordrel-r163.jem33-r13 main#main.r13-staff-main .r13-staff-copy-panel {display:grid!important;gap:16px!important;}
  body#ordrel-r163.jem33-r13 main#main.r13-staff-main .r13-staff-copy-panel :is(h2,p) {margin:0!important;}
  body#ordrel-r163.jem33-r13 main#main.r13-staff-main .r13-staff-copy-panel textarea {resize:vertical!important;min-height:104px!important;font-variant-numeric:tabular-nums!important;}
  body#ordrel-r163.jem33-r13 main#main.r13-staff-main .r13-staff-guide {display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:24px!important;}
  body#ordrel-r163.jem33-r13 main#main.r13-staff-main .r13-staff-guide>h2 {margin:0!important;}
  body#ordrel-r163.jem33-r13 main#main.r13-staff-main .r13-staff-guide-section {padding:24px 0 0!important;margin:0!important;border-top:1px solid var(--r13-border)!important;background:transparent!important;}
  body#ordrel-r163.jem33-r13 main#main.r13-staff-main .r13-staff-guide-section>p {max-width:70ch!important;}
  body#ordrel-r163.jem33-r13 main#main.r13-staff-main .r13-staff-guide a {display:inline-flex!important;align-items:center!important;min-height:44px!important;padding-block:8px!important;color:var(--r13-blue)!important;text-decoration:underline!important;text-underline-offset:4px!important;}
  body#ordrel-r163.jem33-r13 main#main.r13-staff-main .r13-staff-industry-notes {display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:16px!important;}
  body#ordrel-r163.jem33-r13 main#main.r13-staff-main .r13-staff-industry-notes article {padding:16px!important;border:1px solid var(--r13-border)!important;background:var(--r13-canvas)!important;border-radius:8px!important;}
  body#ordrel-r163.jem33-r13 main#main.r13-staff-main .r13-staff-industry-notes p {margin:0!important;}
  body#ordrel-r163.jem33-r13 main#main.r13-staff-main .r13-staff-mobile-result {display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:16px!important;align-items:center!important;position:fixed!important;inset:auto 0 0!important;z-index:80!important;min-height:88px!important;padding:12px 16px calc(12px + env(safe-area-inset-bottom,0px))!important;background:var(--r13-paper)!important;border-top:2px solid var(--r13-blue)!important;color:var(--r13-ink)!important;box-shadow:0 -8px 24px #10253914!important;}
  body#ordrel-r163.jem33-r13 main#main.r13-staff-main .r13-staff-mobile-result>div {display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:4px 12px!important;align-items:center!important;}
  body#ordrel-r163.jem33-r13 main#main.r13-staff-main .r13-staff-mobile-result output {font-size:32px!important;line-height:1!important;font-weight:700!important;}
  body#ordrel-r163.jem33-r13 main#main.r13-staff-main [data-r13-mobile-value="status"] {grid-column:1/-1!important;font-size:16px!important;line-height:1.5!important;color:var(--r13-muted)!important;}
  body#ordrel-r163.jem33-r13 main#main.r13-staff-main .r13-staff-mobile-result button {max-width:100%!important;}
  html:has(body.jem33-r13 .r13-staff-main) {scroll-padding-bottom:calc(var(--r13-staff-bar-space,112px) + 32px)!important;}
  body#ordrel-r163.jem33-r13 main#main.r13-staff-main :is(input,select,textarea,button,summary,[tabindex]) {scroll-margin-top:calc(var(--r13-header-height,64px) + 16px)!important;scroll-margin-bottom:calc(var(--r13-staff-bar-space,112px) + 32px)!important;}

  /* C3 expands the existing result region. JS preserves focus and scroll,
     blocks background interaction, and removes dialog semantics on close. */
  @media(max-width:999px) {
    body#ordrel-r163.jem33-r13 main#main.r13-staff-main #r13-staff-result[data-r13-mobile-open="true"] {
      position:fixed!important;inset:8px!important;z-index:180!important;width:auto!important;
      height:calc(100vh - 16px)!important;height:calc(100dvh - 16px)!important;max-height:none!important;
      overflow:auto!important;overscroll-behavior:contain!important;align-content:start!important;
      padding:16px 16px max(16px,env(safe-area-inset-bottom,0px))!important;border-radius:16px!important;
      box-shadow:0 0 0 100vmax #10253999!important;scroll-padding:80px 0 24px!important;
    }
    body#ordrel-r163.jem33-r13 main#main.r13-staff-main #r13-staff-result[data-r13-mobile-open="true"] .r13-staff-result-head {
      position:sticky!important;top:-16px!important;z-index:1!important;margin:-16px -16px 0!important;
      padding:16px!important;border-bottom:1px solid var(--r13-border)!important;
    }
    body#ordrel-r163.jem33-r13 main#main.r13-staff-main #r13-staff-result[data-r13-mobile-open="true"] :is(button,summary,[tabindex]) {scroll-margin-top:80px!important;scroll-margin-bottom:24px!important;}
    body#ordrel-r163.jem33-r13 main#main.r13-staff-main[data-r13-result-open="true"] .r13-staff-mobile-result {display:none!important;}
  }

  @media(min-width:640px) {
    body#ordrel-r163.jem33-r13 main#main.r13-staff-main :is(.r13-staff-fields,.r13-staff-industry-notes) {grid-template-columns:repeat(2,minmax(0,1fr))!important;}
    body#ordrel-r163.jem33-r13 main#main.r13-staff-main .r13-staff-metrics {grid-template-columns:repeat(3,minmax(0,1fr))!important;}
  }
  @media(min-width:1000px) {
    body#ordrel-r163.jem33-r13 main#main.r13-staff-main {--r13-staff-bar-space:0px;padding-block:24px 48px!important;}
    body#ordrel-r163.jem33-r13 main#main.r13-staff-main .r13-staff-layout {grid-template-columns:minmax(0,7fr) minmax(0,5fr)!important;gap:24px!important;}
    body#ordrel-r163.jem33-r13 main#main.r13-staff-main .r13-staff-result {position:sticky!important;top:calc(var(--r13-header-height,80px) + 16px)!important;}
    body#ordrel-r163.jem33-r13 main#main.r13-staff-main .r13-staff-metrics {grid-template-columns:minmax(0,1fr)!important;}
    body#ordrel-r163.jem33-r13 main#main.r13-staff-main .r13-staff-metric {flex-direction:row!important;align-items:center!important;justify-content:space-between!important;gap:16px!important;}
    body#ordrel-r163.jem33-r13 main#main.r13-staff-main .r13-staff-headline .r13-staff-metric {flex-direction:column!important;align-items:flex-start!important;justify-content:flex-start!important;padding:8px!important;}
    body#ordrel-r163.jem33-r13 main#main.r13-staff-main .r13-staff-metrics dt {max-width:55%!important;}
    body#ordrel-r163.jem33-r13 main#main.r13-staff-main .r13-staff-metrics dd {justify-content:flex-end!important;text-align:end!important;}
    body#ordrel-r163.jem33-r13 main#main.r13-staff-main .r13-staff-mobile-result {display:none!important;}
    body#ordrel-r163.jem33-r13 main#main.r13-staff-main [data-r13-action="close-result"] {display:none!important;}
    html:has(body.jem33-r13 .r13-staff-main) {scroll-padding-bottom:24px!important;}
    body#ordrel-r163.jem33-r13 main#main.r13-staff-main :is(input,select,textarea,button,summary,[tabindex]) {scroll-margin-bottom:24px!important;}
  }
  @media(prefers-color-scheme:dark) {
    body#ordrel-r163.jem33-r13 main#main.r13-staff-main {
      --r13-paper:#152F45;--r13-canvas:#0D2232;--r13-ink:#EDF4FA;--r13-muted:#B7C5D4;--r13-blue:#86A9FF;--r13-border:#547085;
      --r13-staff-status-success:#B4E6CC;--r13-staff-status-success-bg:#103529;
      --r13-staff-status-warning:#FFE0A0;--r13-staff-status-warning-bg:#35280C;
      --r13-staff-status-danger:#FFCFC7;--r13-staff-status-danger-bg:#401E1A;
      background:var(--r13-canvas)!important;
    }
    body#ordrel-r163.jem33-r13 main#main.r13-staff-main button[aria-pressed="true"] {color:#102539!important;}
  }
  @media(prefers-reduced-motion:reduce) {
    body#ordrel-r163.jem33-r13 main#main.r13-staff-main * {transition:none!important;animation:none!important;scroll-behavior:auto!important;}
  }

}
