/* PROD-005 leavers screen (offboarding.html). Uses the shared tokens; display rules: type scale, 4px grid, no sideways scroll. */
html[data-glass-selects] main { max-width: 960px; }
.notice { padding: 12px 16px; border-radius: 12px; border-inline-start: 4px solid #FCAC32; background: rgb(252 172 50 / .08); font-size: 13.5px; line-height: 1.8; }
.notice.error { border-color: #E5677F; background: rgb(229 103 127 / .10); }
.notice.success { border-color: #4FB286; background: rgb(79 178 134 / .10); }
.ob-list { display: grid; gap: 16px; }
.ob-card { padding: 20px; border-radius: 18px; background: linear-gradient(160deg, rgb(255 255 255 / .065), rgb(255 255 255 / .025)); border: 1px solid rgb(255 255 255 / .10); display: grid; gap: 16px; min-width: 0; }
html[data-theme="light"] .ob-card { background: rgb(255 255 255 / .75); border-color: rgb(42 15 58 / .12); }
.ob-card { scroll-margin-top: 112px; }
.ob-card.is-target { box-shadow: 0 0 0 2px #FCAC32; }
.ob-head { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.ob-avatar { inline-size: 40px; block-size: 40px; border-radius: 999px; display: grid; place-items: center; font-weight: 700; color: #FFC766; background: rgb(122 44 150 / .35); box-shadow: 0 0 0 2px rgb(252 172 50 / .6); flex: none; }
.ob-who { min-width: 0; flex: 1; }
.ob-who h2 { margin: 0; font-size: 16px; font-weight: 700; unicode-bidi: plaintext; overflow-wrap: anywhere; }
.ob-who small { display: block; font-size: 12.5px; color: var(--u-muted); }
.ltr { direction: ltr; unicode-bidi: isolate; }
.ob-pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 600; white-space: nowrap; border: 1px solid currentColor; }
.ob-pill.warn { color: #F5B544; } .ob-pill.ok { color: #6BD3A4; } .ob-pill.bad { color: #F28CA0; } .ob-pill.info { color: #8FC2F5; }
html[data-theme="light"] .ob-pill.warn { color: #8A5A00; } html[data-theme="light"] .ob-pill.ok { color: #1F7A50; } html[data-theme="light"] .ob-pill.bad { color: #A3243F; } html[data-theme="light"] .ob-pill.info { color: #1F5E9C; }
.ob-facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 8px 16px; margin: 0; }
.ob-facts div { min-width: 0; } .ob-facts dt { font-size: 12.5px; color: var(--u-muted); } .ob-facts dd { margin: 0; font-size: 14.5px; font-weight: 600; overflow-wrap: anywhere; }
.ob-section h3 { margin: 0 0 8px; font-size: 14.5px; font-weight: 700; }
.ob-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ob-sys { display: grid; gap: 12px; padding: 16px; border-radius: 16px; border: 1px solid rgb(255 255 255 / .10); background: rgb(255 255 255 / .03); min-width: 0; }
html[data-theme="light"] .ob-sys { border-color: rgb(42 15 58 / .12); background: rgb(42 15 58 / .03); }
.ob-sys-head { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: space-between; }
.ob-sys-head b { font-size: 14.5px; }
.ob-items { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.ob-items li { display: flex; gap: 8px; align-items: baseline; font-size: 13.5px; min-width: 0; }
.ob-items li span:last-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; unicode-bidi: plaintext; }
.ob-kind { font-size: 11.5px; color: var(--u-muted); white-space: nowrap; }
.ob-move { display: flex; gap: 8px; flex-wrap: wrap; align-items: end; }
.ob-move label { display: grid; gap: 4px; font-size: 12.5px; flex: 1 1 220px; min-width: 0; }
.ob-move select { inline-size: 100%; min-block-size: 44px; border-radius: 12px; }
.ob-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.ob-actions button, .ob-move button { min-block-size: 44px; padding: 8px 16px; border-radius: 12px; font-weight: 700; cursor: pointer; }
.ob-hint { font-size: 12.5px; color: var(--u-muted); margin: 0; line-height: 1.8; }
.ob-empty { text-align: center; padding: 32px 16px; color: var(--u-muted); }
@media (max-width: 600px) { .ob-card { padding: 16px; } .ob-sys { padding: 12px; } }
