.enrol-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.inbox-message:not(:empty) { margin: 0 0 16px; padding: 12px 16px; background: #edf1e9; border-left: 3px solid #50715f; }
.inbox-message.error:not(:empty) { background: #faf3e5; border-color: #a87f3a; }
.recovery-card { margin-bottom: 20px; border-color: #b49350; background: #fff9e8; }
.recovery-card p, #completed-actions p { font-size: 14px; color: var(--muted); }
.recovery-card summary, #document + details summary { cursor: pointer; font-size: 14px; font-weight: 600; }
.action-group, .id-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.inbox-id { padding: 22px 25px; margin-bottom: 22px; border: 1px solid var(--line); border-radius: 12px; background: #edf1e7; display: flex; gap: 16px; justify-content: space-between; align-items: center; }
.inbox-id p { margin: 5px 0; color: var(--muted); font-size: 14px; }
.key { display: block; overflow-wrap: anywhere; font-size: 14px; letter-spacing: .03em; padding: 6px 0; }
.id-actions { flex-direction: column; align-items: stretch; gap: 4px; }
.inbox-title { justify-content: space-between; }
#offers { padding: 8px 24px; }
.empty { padding: 19px 0; color: var(--muted); }
.offer { display: flex; justify-content: space-between; align-items: center; gap: 10px; width: 100%; background: transparent; border: none; border-bottom: 1px solid var(--line); padding: 17px 0; text-align: left; }
.offer:last-child { border-bottom: none; }
.offer:hover strong { text-decoration: underline; }
.offer strong { display: block; overflow-wrap: anywhere; }
.offer small { display: block; margin-top: 4px; color: var(--muted); }
.status-tag { display: inline-flex; align-items: center; background: #eef1e6; border-radius: 6px; padding: 4px 9px; font-size: 12px; font-weight: 650; flex-shrink: 0; }
.role-info { color: var(--pine); font-weight: 600; }
#back { margin-bottom: 12px; }
#doc-version { margin-top: 7px; overflow-wrap: anywhere; }
.records { padding-left: 20px; margin: 0; }
.records li { margin-bottom: 4px; }
.signature-form { border-top: 1px solid var(--line); background: #f6f7ef; }
.fields .tick { flex-direction: row; align-items: flex-start; gap: 13px; }
.fields .tick input { width: 19px; height: 19px; flex: none; accent-color: var(--pine); margin: 1px 0 0; }
@media (max-width: 680px) {
  .enrol-grid { grid-template-columns: 1fr; gap: 15px; }
  .inbox-id { flex-direction: column; align-items: flex-start; padding: 18px 15px; }
  .id-actions { flex-direction: row; align-items: center; gap: 12px; }
  #offers { padding: 5px 15px; }
  .mast .account-link { text-align: right; max-width: 110px; }
}
