@media screen {
  body.theme-apricot .life-workspace { min-width:0; }
  body.theme-apricot .life-summary { display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:20px; }
  body.theme-apricot .life-summary>div { min-width:0;padding:17px 19px;border:1px solid #ecdfd0;border-radius:13px;background:#fff; }
  body.theme-apricot .life-summary span { display:block;font-size:13px;color:#7a6c5c;margin-bottom:9px; }
  body.theme-apricot .life-summary strong { display:block;font-size:25px;color:#4b392a; }
  body.theme-apricot .life-summary strong small { font-size:12px;font-weight:400;color:#857766;margin-left:8px; }
  body.theme-apricot .life-summary>div:nth-child(3) strong { color:#bb5d25; }
  body.theme-apricot .life-filters { display:flex;flex-wrap:wrap;gap:12px;align-items:end;padding:0 20px 18px; }
  body.theme-apricot .life-filters label { display:grid;gap:7px;font-size:13px;color:#786957;min-width:170px; }
  body.theme-apricot .life-filters .life-search { min-width:240px;flex:1; }
  body.theme-apricot .life-filters input,body.theme-apricot .life-filters select { width:100%;margin:0;min-height:39px; }
  body.theme-apricot .life-panel { overflow:hidden; }
  body.theme-apricot .life-panel .table-wrap { margin:0; }
  body.theme-apricot .life-table { min-width:950px; }
  body.theme-apricot .life-table td { vertical-align:middle; }
  body.theme-apricot .life-row-actions { min-width:128px; }
  body.theme-apricot .life-row-actions button { margin:3px 6px 3px 0;white-space:nowrap;font-size:13px; }
  body.theme-apricot .life-badge { display:inline-flex;align-items:center;padding:5px 9px;border-radius:7px;font-size:12px;font-weight:650;line-height:1.4;white-space:nowrap; }
  body.theme-apricot .life-active,body.theme-apricot .life-done,body.theme-apricot .life-completed { color:#267049;background:#e8f5eb; }
  body.theme-apricot .life-training { color:#2d6295;background:#eaf2fb; }
  body.theme-apricot .life-not_started,body.theme-apricot .life-departed,body.theme-apricot .life-not_applicable { color:#736c63;background:#f0ede8; }
  body.theme-apricot .life-pending { color:#9b531e;background:#fff0db; }
  body.theme-apricot .life-due-text { color:#ab5527; }
  body.theme-apricot .life-page-error { margin:0 20px 12px; }
  body.theme-apricot .life-page-error:empty { display:none; }
  body.theme-apricot .life-footnote { margin:15px 3px;color:#7f7161;font-size:13px;line-height:1.8; }
  body.theme-apricot dialog.employee-lifecycle-dialog { width:min(790px,calc(100vw - 32px)); }
  body.theme-apricot .life-detail-summary { display:grid;grid-template-columns:1fr 1fr;gap:14px;padding:17px;background:#fff9f1;border:1px solid #ede0d0;border-radius:12px;margin-bottom:18px; }
  body.theme-apricot .life-detail-summary span { display:block;color:#85725e;font-size:12px;margin-bottom:5px; }
  body.theme-apricot .life-detail-summary strong { display:block;line-height:1.55;overflow-wrap:anywhere; }
  body.theme-apricot .life-notice { padding:12px 15px;border:1px solid #f0dabc;border-radius:10px;background:#fff6e9;color:#825829;font-size:13px;line-height:1.8; }
  body.theme-apricot .life-training-detail { display:grid;grid-template-columns:1fr 1fr;gap:4px 16px; }
  body.theme-apricot .life-training-detail p { margin:7px 0;line-height:1.7; }
  body.theme-apricot .life-record { display:grid;grid-template-columns:85px 1fr;gap:10px 15px;line-height:1.7; }
  body.theme-apricot .life-record dt { color:#85735f; }
  body.theme-apricot .life-record dd { margin:0;overflow-wrap:anywhere;white-space:pre-wrap; }
  body.theme-apricot .life-device-snapshot { color:#7c6e5d;font-size:13px;line-height:1.7;overflow-wrap:anywhere; }
  body.theme-apricot .life-handover-grid { display:grid;grid-template-columns:1fr 1fr;gap:12px; }
  body.theme-apricot .life-handover-item { min-width:0;padding:16px;border:1px solid #ecdfd0;border-radius:12px;background:#fff; }
  body.theme-apricot .life-item-heading { display:flex;justify-content:space-between;align-items:center;gap:12px; }
  body.theme-apricot .life-item-heading h3 { margin:0;font-size:16px; }
  body.theme-apricot .life-item-role { margin:8px 0 12px;color:#887964;font-size:12px; }
  body.theme-apricot .life-handover-item label { font-size:13px;margin:9px 0; }
  body.theme-apricot .life-handover-item textarea { margin-bottom:0;min-height:75px;resize:vertical; }
  body.theme-apricot .life-blocker { padding:9px 10px;margin:8px 0 12px;background:#fff0e9;border-radius:7px;color:#a14929;font-size:12px;line-height:1.65; }
  body.theme-apricot .life-item-context,body.theme-apricot .life-item-checked { color:#7f705d;font-size:12px;line-height:1.65;margin:9px 0;overflow-wrap:anywhere; }
  body.theme-apricot .life-item-readonly { padding:10px 12px;background:#faf7f2;border-radius:8px; }
  body.theme-apricot .life-item-readonly>span,body.theme-apricot .life-item-readonly>small { font-size:12px;color:#8d7b65; }
  body.theme-apricot .life-item-readonly p { margin:7px 0;font-size:13px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere; }
  body.theme-apricot .life-dialog-actions { display:flex;gap:12px;justify-content:flex-end;margin-top:18px; }
  body.theme-apricot .life-success { color:#28734d; }
  body.theme-apricot .life-success:empty { display:none; }
}
@media screen and (max-width:720px) {
  body.theme-apricot .life-summary { grid-template-columns:repeat(2,minmax(0,1fr));gap:9px; }
  body.theme-apricot .life-summary>div { padding:13px; }
  body.theme-apricot .life-summary strong { font-size:22px; }
  body.theme-apricot .life-filters { padding:0 13px 14px;gap:10px; }
  body.theme-apricot .life-filters label,body.theme-apricot .life-filters .life-search { min-width:0;width:100%;flex:1 1 100%; }
  body.theme-apricot .life-panel .table-wrap { overflow:visible; }
  body.theme-apricot .life-table { display:block;min-width:0;width:100%; }
  body.theme-apricot .life-table thead { display:none; }
  body.theme-apricot .life-table tbody { display:grid;gap:12px;padding:0 12px 12px; }
  body.theme-apricot .life-table tr { display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:13px;border:1px solid #ecdfd0;border-radius:12px;padding:14px; }
  body.theme-apricot .life-table td { display:block;padding:0;border:0;min-width:0;text-align:left;white-space:normal;overflow-wrap:anywhere; }
  body.theme-apricot .life-table td::before { content:attr(data-label);display:block;color:#877661;font-size:11px;margin-bottom:5px;font-weight:400; }
  body.theme-apricot .life-table .life-person,body.theme-apricot .life-table .life-row-actions,body.theme-apricot .life-table .empty { grid-column:1 / -1; }
  body.theme-apricot .life-table .life-person strong { font-size:18px; }
  body.theme-apricot .life-table .life-row-actions { border-top:1px solid #f0e4d6;padding-top:9px; }
  body.theme-apricot .life-table .life-row-actions::before,body.theme-apricot .life-table .empty::before { display:none; }
  body.theme-apricot .life-detail-summary,body.theme-apricot .life-training-detail,body.theme-apricot .life-handover-grid { grid-template-columns:1fr; }
  body.theme-apricot .life-detail-summary,body.theme-apricot .life-handover-item { padding:13px; }
}
