/* Scoped role dashboards; the rest of the portal retains its existing layout. */
body.on-offboarding .content > .head { display: none; }
body.on-offboarding .content { background: #f5f6f8; }
body.on-offboarding .my-tasks-panel { padding: 28px 32px 48px; }
.obp { color: #202225; font: 14px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.obp * { box-sizing: border-box; }
.obp h2, .obp h3, .obp p { margin: 0; }
.obp h2 { font-size: 27px; font-weight: 600; letter-spacing: -.7px; line-height: 1.3; }
.obp h3 { font-size: 15px; font-weight: 600; }
.obp p { color: #6d727a; font-size: 13px; }
.obp strong { font-weight: 600; }
.obp .material-symbols-outlined { font-size: 20px; flex-shrink: 0; }
.obp-icon { display: inline-flex; width: 20px; height: 20px; flex-shrink: 0; vertical-align: middle; }
.obp-icon svg { display: block; width: 100%; height: 100%; }
.obp-item > .obp-icon { color: #9198a3; }
.obp-item.done > .obp-icon { color: #197148; }
.obp-evidence .obp-icon { color: #197148; grid-row: span 2; }
.obp-phases .obp-icon { width: 15px; height: 15px; }
.obp .obp-saved-comment { border-left: 2px solid #dce1e8; padding: 6px 10px; margin-top: 8px; color: #4f5660; white-space: pre-wrap; }
.obp button, .obp input, .obp select, .obp textarea { font: inherit; }
.obp button { cursor: pointer; }
.obp button:disabled { opacity: .45; cursor: not-allowed; }
.obp button:focus-visible, .obp textarea:focus-visible, .obp input:focus-visible, .obp select:focus-visible { outline: 2px solid #5268a2; outline-offset: 3px; }
.obp .obp-kicker { font-size: 10px; letter-spacing: 1.2px; text-transform: uppercase; margin-bottom: 8px; }
.obp-heading { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-bottom: 24px; flex-wrap: wrap; }
.obp-heading h2 + p { margin-top: 6px; }
.obp-actions { display: flex; gap: 9px; flex-wrap: wrap; }
.obp .obp-button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid #e0e3e7; padding: 9px 13px; background: white; color: #202225; border-radius: 9px; font-size: 12px; font-weight: 500; line-height: 1.4; min-height: 36px; text-align: center; }
.obp .obp-button:not(:disabled):hover { background: #f3f4f6; border-color: #cbd0d6; }
.obp .obp-button.primary { background: #232527; color: white; border-color: #232527; }
.obp .obp-button.primary:not(:disabled):hover { background: #3a3d40; }
.obp-role-tabs, .obp-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 22px; }
.obp-role-tabs { border-bottom: 1px solid #e2e5e9; padding-bottom: 14px; }
.obp-tabs button, .obp-role-tabs button { background: transparent; color: #6d727a; padding: 8px 13px; border: 1px solid transparent; border-radius: 8px; font-size: 12px; }
.obp-tabs button[aria-pressed="true"], .obp-role-tabs button[aria-pressed="true"] { color: #202225; background: #fff; border-color: #e0e3e7; font-weight: 600; }
.obp-layout { display: grid; grid-template-columns: minmax(0,1fr) 224px; gap: 24px; align-items: start; }
.obp-main { min-width: 0; display: grid; gap: 16px; }
.obp-card { padding: 22px; background: #fff; border: 1px solid #e8eaee; border-radius: 16px; min-width: 0; }
.obp-person { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.obp-person > div:nth-child(2) { flex: 1; min-width: 0; }
.obp-person h3 { overflow-wrap: anywhere; font-size: 16px; margin-bottom: 3px; }
.obp-person p { font-size: 12px; }
.obp-avatar { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: #f0f3fa; color: #5268a2; flex-shrink: 0; font-size: 14px; font-weight: 500; }
.obp-tag { display: inline-block; border-radius: 6px; padding: 4px 8px; background: #f2f3f5; color: #6d727a; font-size: 11px; font-weight: 500; white-space: nowrap; }
.obp-tag.green { background: #edf7f1; color: #197148; }
.obp-tag.amber { background: #fff5e5; color: #966018; }
.obp-tag.blue { background: #f0f3fa; color: #5268a2; }
.obp-group { margin-top: 18px; }
.obp-group-head { display: flex; align-items: center; justify-content: space-between; color: #6d727a; font-size: 11px; margin-bottom: 5px; }
.obp-group-head strong { display: flex; align-items: center; gap: 8px; color: #202225; font-size: 13px; }
.obp-item { display: flex; align-items: center; gap: 12px; padding: 15px 0; border-bottom: 1px solid #eef0f3; }
.obp-item > .material-symbols-outlined { color: #9198a3; }
.obp-item > div:nth-child(2) { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.obp-item strong { font-size: 13px; }
.obp-item p { font-size: 11px; margin-top: 3px; }
.obp-item.done > .material-symbols-outlined { color: #197148; }
.obp-item-action { flex-shrink: 0; max-width: 45%; }
.obp-footer { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-top: 18px; }
.obp-footer p { font-size: 11px; max-width: 70%; }
.obp-footer .obp-button { flex-shrink: 0; }
.obp .obp-warning { color: #a36a1c; }
.obp-legacy, .obp-offline { padding: 12px 14px; background: #fff5e5; color: #966018; border-radius: 9px; font-size: 12px; margin-bottom: 16px; }
.obp-note { padding: 12px 0; }
.obp-done summary, .obp-proof summary { cursor: pointer; font-size: 12px; color: #6d727a; padding: 13px 0; }
.obp-evidence { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
.obp-evidence > div { display: grid; grid-template-columns: 20px 1fr; gap: 3px 8px; border-radius: 9px; background: #f8faf9; padding: 12px; }
.obp-evidence .material-symbols-outlined { color: #197148; grid-row: span 2; }
.obp-evidence strong { font-size: 12px; }
.obp-evidence span:last-child { font-size: 11px; color: #6d727a; }
.obp-phases { display: flex; gap: 12px; list-style: none; padding: 0; margin: 0 0 22px; }
.obp-phases li { flex: 1; display: flex; align-items: center; gap: 5px; color: #9298a0; font-size: 11px; border-top: 2px solid #e8eaee; padding-top: 10px; }
.obp-phases .complete { color: #197148; border-color: #197148; }
.obp-phases .material-symbols-outlined { font-size: 15px; }
.obp-mine { display: flex; align-items: center; gap: 12px; justify-content: space-between; background: #f8f9fa; padding: 14px; border: 1px solid #e8eaee; border-radius: 10px; }
.obp-mine strong { font-size: 13px; }
.obp-mine p { font-size: 11px; margin-top: 4px; }
.obp-approval { display: flex; align-items: center; gap: 10px; border-radius: 9px; background: #edf7f1; color: #197148; font-size: 12px; padding: 12px; margin-bottom: 22px; }
.obp-approval p { font-size: 11px; margin-top: 3px; }
.obp-comment > p { margin: 7px 0 18px; font-size: 12px; }
.obp label { display: grid; gap: 8px; font-size: 12px; font-weight: 500; }
.obp textarea, .obp input, .obp select { color: #202225; width: 100%; border: 1px solid #e0e3e7; border-radius: 9px; padding: 11px 12px; background: #fff; }
.obp textarea { min-height: 96px; resize: vertical; font-size: 13px; font-weight: 400; }
.obp textarea::placeholder { color: #9ca1a8; }
.obp-start { max-width: 680px; }
.obp-start > p { margin: 10px 0 22px; }
.obp-start label { margin-bottom: 18px; }
.obp-side .obp-card { padding: 20px; }
.obp-side h3 { font-size: 13px; margin-bottom: 8px; }
.obp-side p { font-size: 12px; line-height: 1.65; margin-bottom: 14px; }
.obp-side hr { border: 0; border-top: 1px solid #e8eaee; margin: 20px 0; }
.obp-compact .obp-person { margin-bottom: 0; }
.obp-empty { padding: 32px 24px; text-align: center; }
.obp-empty p { margin-top: 8px; font-size: 12px; }
.obp-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; color: #6d727a; font-size: 12px; }
.obp-history { margin-top: 24px; }
.obp-event { margin-top: 14px; padding-left: 13px; border-left: 2px solid #dce1e8; font-size: 12px; }
.obp-event p { font-size: 11px; margin-top: 3px; }
.obp .obp-wait-title { color: #6d727a; font-size: 12px; margin: 12px 0 0; }
@media (max-width: 1200px) {
  .obp-layout { grid-template-columns: minmax(0,1fr); }
  .obp-side .obp-card { max-width: none; }
}
@media (max-width: 700px) {
  body.on-offboarding .my-tasks-panel { padding: 20px 14px 32px; }
  .obp h2 { font-size: 23px; }
  .obp-card { padding: 16px; }
  .obp-person { flex-wrap: wrap; gap: 9px; }
  .obp-person > .obp-tag { margin-left: 53px; }
  .obp-item { flex-wrap: wrap; }
  .obp-item > div:nth-child(2) { min-width: 55%; }
  .obp-item-action { margin-left: 32px; max-width: 100%; }
  .obp-footer, .obp-mine { flex-wrap: wrap; }
  .obp-footer p { max-width: 100%; }
  .obp-evidence { grid-template-columns: minmax(0,1fr); }
  .obp-phases { gap: 6px; flex-wrap: wrap; }
  .obp-phases li { min-width: 42%; }
}
