.heartbeat-summary{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));margin-bottom:22px;border:1px solid var(--line);border-radius:10px;background:#fff;box-shadow:0 2px 5px #19372c03}.heartbeat-summary>div,.heartbeat-summary>button{padding:18px 20px;border-right:1px solid var(--line);min-width:0}.heartbeat-summary>div:last-child{border:0}.heartbeat-summary>div>span,.heartbeat-summary>button>span{font-size:12px;color:var(--muted)}.heartbeat-summary>div>small,.heartbeat-summary>button>small{display:block;margin-top:8px;font-size:10px;color:#a0aaa4;font-weight:400}.heartbeat-summary strong{display:block;margin-top:7px;font-size:28px;font-weight:720;line-height:1.2;letter-spacing:-.6px;font-variant-numeric:tabular-nums}.heartbeat-summary #heartbeat-error-count{color:#a66b3e}.heartbeat-summary .heartbeat-last-time{font-size:20px;letter-spacing:0}.heartbeat-last-time small{display:block;margin-top:5px;color:#98a39d;font-size:11px;font-weight:400}.heartbeat-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:19px 24px}.heartbeat-live{display:flex;align-items:center;flex-wrap:wrap;gap:8px;font-size:12px;color:#617c6b}.heartbeat-live-dot{width:6px;height:6px;flex:0 0 auto;border-radius:50%;background:#279773;box-shadow:0 0 0 3px #e9f6ef}.heartbeat-live-dot.paused{background:#9ca9a0;box-shadow:none}.heartbeat-updated{margin-left:6px;color:#9ca69f;font-size:11px;font-variant-numeric:tabular-nums}.heartbeat-toolbar button{font-size:12px;min-height:34px}.heartbeat-toolbar .secondary{background:#fff;border:1px solid #dfe6e1;color:#597161}.heartbeat-filters{display:grid;grid-template-columns:minmax(200px,1fr) minmax(120px,.52fr) minmax(115px,.46fr) minmax(120px,.48fr) auto auto;align-items:center;gap:10px;padding:0 24px 20px}.heartbeat-filters .search-box{width:100%;max-width:none;min-width:0}.heartbeat-filters input,.heartbeat-filters select{font-size:12px}.heartbeat-filters select{height:38px;padding:7px 10px;border-color:#dfe6e1}.heartbeat-filters>.secondary{border:1px solid #dfe6e1;background:#fff;color:#53665b;font-size:12px;padding:7px 12px}.heartbeat-filters>.text-button{padding:5px}.heartbeat-message{margin:0 24px 16px;padding:11px 13px;border:1px solid #dce8e0;border-radius:6px;background:#f4f9f6;color:#6a8876;font-size:12px;overflow-wrap:anywhere}.heartbeat-message.error{background:#fff5ee;border-color:#eddbcf;color:#a36645}.heartbeat-table{width:100%;table-layout:fixed;font-size:12px}.heartbeat-table th{padding:12px 18px;background:#f8faf9;color:#85948b;font-weight:500;border-top:1px solid #eef1ef;border-bottom:1px solid #e8eeea}.heartbeat-table th:nth-child(1){width:12%}.heartbeat-table th:nth-child(2){width:16%}.heartbeat-table th:nth-child(3){width:21%}.heartbeat-table th:nth-child(4){width:10%}.heartbeat-table th:nth-child(5){width:20%}.heartbeat-table th:nth-child(6){width:14%}.heartbeat-table th:nth-child(7){width:7%;padding-left:2px;padding-right:15px}.heartbeat-table td{padding:16px 18px;vertical-align:top;border-bottom:1px solid #edf1ee;line-height:1.65}.heartbeat-table tbody tr:last-child td{border-bottom:0}.heartbeat-table tr:hover{background:#fbfdfc}.heartbeat-table tr.is-selected{background:#f1f8f4}.heartbeat-cell-stack{display:flex;flex-direction:column;align-items:flex-start;gap:4px;min-width:0;overflow-wrap:anywhere}.heartbeat-cell-stack>span{color:#4a6052}.heartbeat-cell-stack small{color:#95a298;font-size:11px;line-height:1.6}.heartbeat-identity>span{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:11px}.heartbeat-mono{font-family:ui-monospace,SFMono-Regular,Consolas,monospace}.heartbeat-row-actions{text-align:right;white-space:nowrap}.heartbeat-table .heartbeat-row-actions{padding-left:2px;padding-right:15px}.heartbeat-row-actions button{padding:3px 4px;min-height:26px;font-size:12px}.heartbeat-badge{display:inline-flex;align-items:center;gap:5px;padding:3px 8px;border-radius:5px;background:#edf2ef;font-size:11px;line-height:1.7;color:#7b8b81!important}.heartbeat-badge::before{content:'';width:5px;height:5px;flex:0 0 auto;border-radius:50%;background:currentColor}.heartbeat-badge-info{background:#eaf5ee;color:#378363!important}.heartbeat-badge-warning{background:#fff3df;color:#a57534!important}.heartbeat-badge-error{background:#fff0eb;color:#ad6553!important}.heartbeat-badge-unknown{background:#edf1f4;color:#7b8c98!important}.heartbeat-pagination #heartbeat-page-label{min-width:44px;text-align:center;font-variant-numeric:tabular-nums}.heartbeat-retention{margin:13px 3px 0;color:#98a39c;font-size:11px}.heartbeat-dialog{width:560px}.heartbeat-detail-result{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px}.heartbeat-detail-result>span:last-child:not(.heartbeat-badge){font-size:12px;color:#8a9b90}.heartbeat-evidence{padding:12px 14px;border:1px solid #e4ece6;border-radius:7px;background:#f7faf8;margin:17px 0 24px;font-size:12px;color:#789181;line-height:1.8}.heartbeat-fact-section{margin-top:24px}.heartbeat-fact-section h3,.heartbeat-detail-extra h3{font-size:13px;font-weight:650;color:#4a6755;margin:0 0 14px}.heartbeat-fact-section dl{margin:0;display:grid;gap:0}.heartbeat-fact-section dl>div{display:grid;grid-template-columns:118px minmax(0,1fr);gap:12px;padding:9px 0;border-bottom:1px solid #f0f3f1;font-size:12px}.heartbeat-fact-section dt{color:#8b9b90}.heartbeat-fact-section dd{margin:0;color:#49644f;overflow-wrap:anywhere;white-space:pre-wrap}.heartbeat-related{margin-top:18px;font-size:12px}.heartbeat-detail-extra{margin-top:28px}.heartbeat-detail-extra pre{padding:14px;border:1px solid #e7eee9;border-radius:7px;background:#f7faf8;font-size:11px;color:#617b69;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8;max-height:330px;overflow:auto}
@media(max-width:1180px) and (min-width:681px){.heartbeat-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.heartbeat-summary>div,.heartbeat-summary>button{padding:16px}.heartbeat-summary>:nth-child(-n+3){border-bottom:1px solid var(--line)}.heartbeat-summary>:nth-child(3n){border-right:0}.heartbeat-filters{grid-template-columns:minmax(180px,1fr) 1fr 1fr auto auto}.heartbeat-filters .search-box{grid-column:1/4}.heartbeat-filters #heartbeat-kind{grid-column:1}.heartbeat-filters #heartbeat-source{grid-column:2}.heartbeat-filters #heartbeat-period{grid-column:3}.heartbeat-filters>.secondary{grid-column:4;grid-row:2}.heartbeat-filters>.text-button{grid-column:5;grid-row:2}.heartbeat-table td,.heartbeat-table th{padding:14px 10px}.heartbeat-table th:nth-child(1){width:13%}.heartbeat-table th:nth-child(2){width:17%}.heartbeat-table th:nth-child(3){width:19%}.heartbeat-table th:nth-child(4){width:11%}.heartbeat-table th:nth-child(5){width:18%}.heartbeat-table th:nth-child(6){width:15%}.heartbeat-table th:nth-child(7){width:7%;padding-right:10px}.heartbeat-table .heartbeat-row-actions{padding-right:10px}.heartbeat-updated{display:none}}
@media(max-width:680px){.heartbeat-summary{grid-template-columns:1fr 1fr;margin-bottom:14px}.heartbeat-summary>div,.heartbeat-summary>button{padding:14px 16px}.heartbeat-summary>:nth-child(2n){border-right:0}.heartbeat-summary>:nth-child(-n+4){border-bottom:1px solid var(--line)}.heartbeat-summary strong{font-size:24px;margin-top:5px}.heartbeat-summary .heartbeat-last-time{font-size:20px}.heartbeat-toolbar{padding:15px 14px;gap:8px;flex-wrap:wrap}.heartbeat-toolbar .actions{gap:3px}.heartbeat-toolbar .text-button{padding:6px;font-size:11px}.heartbeat-toolbar .secondary{padding:6px 10px;font-size:11px}.heartbeat-live{font-size:11px;gap:6px}.heartbeat-updated{display:none}.heartbeat-filters{padding:0 14px 16px;grid-template-columns:1fr 1fr;gap:8px}.heartbeat-filters .search-box{grid-column:1/-1}.heartbeat-filters #heartbeat-period{grid-column:1/-1}.heartbeat-filters>.text-button{justify-self:start}.heartbeat-filters>.secondary{justify-self:stretch}.heartbeat-message{margin:0 14px 14px;font-size:11px}.heartbeat-table,.heartbeat-table tbody{display:block}.heartbeat-table thead{display:none}.heartbeat-table tr{display:grid;grid-template-columns:1fr 1fr;gap:13px 12px;padding:17px 14px;border-top:1px solid var(--line)}.heartbeat-table td{display:block;padding:0;border:0;min-width:0;font-size:12px}.heartbeat-table td::before{content:attr(data-label);display:block;margin-bottom:4px;color:#95a198;font-size:10px}.heartbeat-table td:nth-child(3){grid-column:1/-1}.heartbeat-table td:nth-child(4){grid-column:1;grid-row:4}.heartbeat-table td:nth-child(5){grid-column:1/-1;grid-row:3}.heartbeat-table td:nth-child(6){grid-column:2;grid-row:4}.heartbeat-table .heartbeat-row-actions{grid-column:1/-1;align-self:end;padding:7px 0 0;border-top:1px solid #f0f3f1;text-align:right}.heartbeat-row-actions::before{display:none!important}.heartbeat-cell-stack{gap:2px}.heartbeat-identity>span{font-size:12px}.heartbeat-dialog{width:100%}.heartbeat-fact-section dl>div{grid-template-columns:105px minmax(0,1fr);gap:9px}.heartbeat-retention{font-size:10px}.heartbeat-pagination .actions{justify-content:space-between}}

.heartbeat-auth{display:inline-block;padding:3px 7px;border:1px solid #e1e7e3;border-radius:5px;background:#f7f9f8;color:#7e8d83;font-size:11px;line-height:1.7;white-space:nowrap}.heartbeat-auth-active{border-color:#cfe7d8;background:#f0f8f3;color:#438561}.heartbeat-auth-pending,.heartbeat-auth-pending_rebind{border-color:#eadfc7;background:#fcf9f1;color:#947e46}.heartbeat-auth-suspended,.heartbeat-auth-expired{border-color:#e7ded4;background:#faf6f1;color:#9a7f64}.heartbeat-auth-revoked,.heartbeat-auth-replaced{border-color:#eddad3;background:#fcf4f0;color:#a07161}

.heartbeat-column-note{display:block;margin-top:2px;font-size:10px;font-weight:400;color:#9aa79f;white-space:nowrap}

.heartbeat-summary .heartbeat-presence-card{display:block;margin:0;background:#fff;color:#345847;border-radius:0;text-align:left;font-weight:400;line-height:1.55;min-height:118px}.heartbeat-summary .heartbeat-presence-card:first-child{border-radius:10px 0 0 10px}.heartbeat-summary .heartbeat-presence-card:hover{background:#f4faf6}.heartbeat-summary .heartbeat-presence-card>span{display:flex;align-items:center;justify-content:space-between;gap:8px}.heartbeat-presence-card>span>span{color:#a6b8ac;font-size:13px}.heartbeat-presence-card #heartbeat-online-count{color:#30865d}.heartbeat-presence-card #heartbeat-offline-count{color:#7f8d86}.heartbeat-presence-card:focus-visible{outline-offset:-4px}#heartbeat-presence-message{margin:0 0 16px}.heartbeat-vehicles-dialog{width:640px;overflow:hidden}.heartbeat-vehicles-dialog .drawer-heading{padding:22px 24px}.heartbeat-vehicles-controls{padding:0 24px 16px;border-bottom:1px solid var(--line);flex-shrink:0}.heartbeat-vehicle-tabs{display:flex;align-items:center;gap:12px;padding:12px 0 14px}.heartbeat-vehicle-tabs>button{display:flex;align-items:center;gap:6px;font-size:12px;color:#8a9c90;border-radius:5px;padding:7px 10px}.heartbeat-vehicle-tabs>button[aria-pressed=true]{color:#267a51;background:#eef7f1}.heartbeat-vehicle-tabs>button>span{font-size:11px;min-width:15px;font-variant-numeric:tabular-nums}.heartbeat-vehicle-tabs #heartbeat-vehicles-refresh{margin-left:auto;padding-right:0;color:#418462}.heartbeat-vehicle-search{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:8px;align-items:center}.heartbeat-vehicle-search .search-box{width:100%;max-width:none}.heartbeat-vehicle-search .search-box input{font-size:12px}.heartbeat-vehicle-search>button{font-size:12px;min-height:36px;padding:6px 12px}.heartbeat-vehicle-search>.text-button{padding-right:0}.heartbeat-vehicles-policy{margin:12px 0 0;color:#99a69e;font-size:11px;line-height:1.7}.heartbeat-vehicles-controls .heartbeat-message{margin:12px 0 0;font-size:11px;padding:9px 11px}.heartbeat-vehicles-body{flex:1;min-height:0;overflow:auto;background:#f7f9f8;padding:16px 24px}.heartbeat-vehicles-list{display:grid;gap:12px}.heartbeat-vehicle{background:#fff;border:1px solid #e4ebe6;border-radius:8px;padding:16px 17px;min-width:0}.heartbeat-vehicle-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.heartbeat-vehicle-heading>div{min-width:0}.heartbeat-vehicle-heading strong{display:block;font-size:14px;font-weight:650;color:#43634c;overflow-wrap:anywhere}.heartbeat-vehicle-heading small{display:block;margin-top:3px;font-size:10px;color:#9aa69e}.heartbeat-connection{display:inline-flex;align-items:center;gap:5px;padding:3px 8px;font-size:11px;border-radius:5px;white-space:nowrap}.heartbeat-connection::before{content:'';width:5px;height:5px;border-radius:50%;background:currentColor}.heartbeat-connection.is-online{background:#edf7f1;color:#38835b}.heartbeat-connection.is-offline{background:#f0f3f1;color:#8b9890}.heartbeat-vehicle-identity{display:flex;align-items:baseline;gap:9px;margin:12px 0 14px;font-size:11px;color:#9aa69e}.heartbeat-vehicle-identity code{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;color:#688571;font-size:11px;overflow-wrap:anywhere;min-width:0}.heartbeat-vehicle-identity>span{flex-shrink:0}.heartbeat-vehicle-facts{display:grid;grid-template-columns:1fr 1.5fr 1.35fr;gap:12px;margin:0}.heartbeat-vehicle-facts>div{min-width:0}.heartbeat-vehicle-facts dt,.heartbeat-vehicle-more dt{font-size:10px;color:#96a69b}.heartbeat-vehicle-facts dd{font-size:11px;line-height:1.8;color:#607d68;margin:5px 0 0;overflow-wrap:anywhere}.heartbeat-vehicle-footer{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-top:14px;padding-top:9px;border-top:1px solid #eff3f0}.heartbeat-vehicle-footer details{min-width:0;flex:1}.heartbeat-vehicle-footer summary{font-size:11px;font-weight:400;color:#93a59a;padding:5px 0}.heartbeat-vehicle-footer button{font-size:11px;min-height:26px;padding:5px 0;flex-shrink:0}.heartbeat-vehicle-more{display:grid;gap:8px;margin:8px 0 0}.heartbeat-vehicle-more>div{display:grid;grid-template-columns:85px minmax(0,1fr);gap:8px}.heartbeat-vehicle-more dd{margin:0;color:#748c7b;font-size:10px;overflow-wrap:anywhere}.heartbeat-vehicles-pagination{flex-shrink:0;background:#fff;padding:15px 24px;gap:10px}.heartbeat-vehicles-pagination .actions{gap:7px}.heartbeat-vehicles-pagination>span{font-size:11px}.heartbeat-vehicles-pagination #heartbeat-vehicles-page{min-width:40px;text-align:center;font-variant-numeric:tabular-nums}
@media(max-width:680px){.heartbeat-summary .heartbeat-presence-card{min-height:106px}.heartbeat-summary .heartbeat-presence-card:first-child{border-radius:10px 0 0 0}.heartbeat-summary .heartbeat-presence-card:nth-child(2){border-radius:0 10px 0 0}.heartbeat-vehicles-dialog{width:100%}.heartbeat-vehicles-dialog .drawer-heading{padding:18px}.heartbeat-vehicles-controls{padding:0 16px 13px}.heartbeat-vehicle-tabs{gap:5px;padding:10px 0 12px}.heartbeat-vehicle-tabs>button{padding:6px 9px;font-size:11px}.heartbeat-vehicles-body{padding:12px}.heartbeat-vehicle{padding:14px}.heartbeat-vehicle-facts{grid-template-columns:1fr 1.3fr;gap:11px}.heartbeat-vehicle-facts>div:last-child{grid-column:1/-1;display:flex;gap:8px;align-items:baseline}.heartbeat-vehicle-facts>div:last-child dd{margin:0}.heartbeat-vehicle-heading strong{font-size:13px}.heartbeat-vehicle-search{gap:6px}.heartbeat-vehicle-search>button{padding:5px 9px}.heartbeat-vehicles-pagination{padding:12px 16px;gap:8px}.heartbeat-vehicles-pagination .actions{justify-content:flex-end}.heartbeat-vehicle-more>div{grid-template-columns:75px minmax(0,1fr)}.heartbeat-vehicles-policy{font-size:10px}}

/* Activity summaries keep technical details in the record drawer. */
.heartbeat-routine-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 24px;border-top:1px solid #edf1ee;background:#f8faf9;color:#62776b;font-size:12px;line-height:1.65}.heartbeat-routine-bar[hidden]{display:none}.heartbeat-routine-bar button{flex-shrink:0;font-size:12px;white-space:nowrap}.heartbeat-activity-table{table-layout:fixed}.heartbeat-activity-table th:nth-child(1){width:11%}.heartbeat-activity-table th:nth-child(2){width:35%}.heartbeat-activity-table th:nth-child(3){width:20%}.heartbeat-activity-table th:nth-child(4){width:25%}.heartbeat-activity-table th:nth-child(5){width:9%}.heartbeat-activity-table td{padding-top:19px;padding-bottom:19px;vertical-align:top;color:#2d4e3c}.heartbeat-action>span{font-size:14px;font-weight:650;color:#234f3b;line-height:1.65}.heartbeat-action>small{font-size:12px;color:#61766a;line-height:1.75;margin-top:3px}.heartbeat-action>.heartbeat-event-source{font-size:10px;color:#72867a;margin-top:5px}.heartbeat-device-state{display:flex;flex-wrap:wrap;align-items:center;gap:7px;margin-top:6px}.heartbeat-device-state>small{font-size:10px;color:#718276}.heartbeat-activity-table .heartbeat-identity>span{font-size:11px;color:#476352;overflow-wrap:anywhere}.heartbeat-result-explanation{font-size:12px!important;line-height:1.75!important;color:#61766a!important;margin-top:5px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.heartbeat-row-links{display:flex;flex-direction:column;align-items:flex-end;gap:8px}.heartbeat-row-links button{font-size:12px;white-space:nowrap;padding:3px 0}.heartbeat-activity-table .heartbeat-row-actions{padding-right:24px}.heartbeat-activity-table .heartbeat-cell-stack{gap:3px}.heartbeat-activity-table .heartbeat-badge{align-self:flex-start}.heartbeat-activity-table th{font-size:12px;color:#586e60}.heartbeat-activity-table td:first-child small{color:#718276}
@media(min-width:681px) and (max-width:1180px){.heartbeat-activity-table th:nth-child(1){width:12%}.heartbeat-activity-table th:nth-child(2){width:32%}.heartbeat-activity-table th:nth-child(3){width:21%}.heartbeat-activity-table th:nth-child(4){width:25%}.heartbeat-activity-table th:nth-child(5){width:10%}.heartbeat-activity-table .heartbeat-row-actions{padding-right:12px}.heartbeat-action>span{font-size:13px}}
@media(max-width:680px){.heartbeat-routine-bar{padding:12px 14px;align-items:flex-start;gap:10px;font-size:11px}.heartbeat-routine-bar button{font-size:11px}.heartbeat-activity-table tr{grid-template-columns:minmax(0,1fr) auto;gap:14px}.heartbeat-activity-table td{grid-column:auto;grid-row:auto;padding:0}.heartbeat-activity-table td:nth-child(1){grid-column:1;grid-row:1}.heartbeat-activity-table td:nth-child(2){grid-column:1/-1;grid-row:2}.heartbeat-activity-table td:nth-child(3){grid-column:1/-1;grid-row:3}.heartbeat-activity-table td:nth-child(4){grid-column:1/-1;grid-row:4}.heartbeat-activity-table td:nth-child(5){grid-column:2;grid-row:1;padding:0;border:0}.heartbeat-activity-table td:nth-child(2)::before{display:none}.heartbeat-row-links{gap:5px}.heartbeat-action>span{font-size:14px}.heartbeat-activity-table .heartbeat-identity>span{font-size:12px}.heartbeat-activity-table .heartbeat-cell-stack{gap:4px}}

.heartbeat-chain-context{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:18px 24px;background:#f7faf8;border-bottom:1px solid #e2ebe5;border-radius:10px 10px 0 0}.heartbeat-chain-context[hidden]{display:none}.heartbeat-chain-context>div{display:flex;align-items:baseline;flex-wrap:wrap;gap:8px 12px;min-width:0}.heartbeat-chain-context strong{font-size:13px;color:#30533d}.heartbeat-chain-context code{font-size:11px;color:#67806e;overflow-wrap:anywhere;min-width:0}.heartbeat-chain-context p{flex-basis:100%;font-size:11px;color:#697d6f;line-height:1.8;margin:0}.heartbeat-chain-context>button{flex-shrink:0;font-size:12px;white-space:nowrap;padding:2px 0}.heartbeat-operation{font-size:10px!important;color:#758b7b!important}.heartbeat-unlinked{color:#916d36!important}
@media(max-width:680px){.heartbeat-chain-context{padding:15px 14px;flex-direction:column;gap:10px}.heartbeat-chain-context>div{gap:7px}.heartbeat-chain-context code{flex-basis:100%;font-size:10px}.heartbeat-chain-context>button{align-self:flex-end}.heartbeat-chain-context p{font-size:10px}}

.heartbeat-table[hidden]{display:none!important}
.heartbeat-device-table{font-size:13px}
.heartbeat-device-table th:nth-child(1){width:32%}
.heartbeat-device-table th:nth-child(2){width:36%}
.heartbeat-device-table th:nth-child(3),.heartbeat-device-table th:nth-child(4){width:11%}
.heartbeat-device-table th:nth-child(5){width:10%}
.heartbeat-device-table td{vertical-align:middle;color:#345344}
.heartbeat-device-table .heartbeat-cell-stack>span{font-size:13px;font-weight:600}
.heartbeat-device-table .heartbeat-cell-stack small{font-size:11px;line-height:1.55}
.heartbeat-device-table .heartbeat-row-actions button{min-height:32px;padding:5px 13px;font-size:12px}
.heartbeat-history-dialog{width:min(860px,calc(100vw - 48px));max-width:860px}
.heartbeat-history-identity{margin:6px 0 0;font-size:12px;color:#6d8073;line-height:1.5;overflow-wrap:anywhere}
.heartbeat-history-tools,.heartbeat-history-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 26px;border-bottom:1px solid #e7ede8;color:#6b7f71;font-size:12px}
.heartbeat-history-tools button,.heartbeat-history-footer button{min-height:32px;font-size:12px}
.heartbeat-history-dialog>.heartbeat-message{margin:10px 26px}
.heartbeat-history-dialog>.drawer-content{padding:0 26px}
.heartbeat-history-list{min-height:60px}
.heartbeat-history-item{display:flex;justify-content:space-between;align-items:flex-start;gap:22px;padding:18px 0;border-bottom:1px solid #edf1ee}
.heartbeat-history-item:last-child{border-bottom:0}
.heartbeat-history-main{min-width:0}
.heartbeat-history-main strong{display:block;font-size:14px;line-height:1.5;color:#2e5140;overflow-wrap:anywhere}
.heartbeat-history-main small{display:block;margin-top:6px;font-size:12px;line-height:1.6;color:#718477;overflow-wrap:anywhere}
.heartbeat-history-main p{margin:8px 0 0;font-size:12px;line-height:1.65;color:#687c6d}
.heartbeat-history-action{display:flex;align-items:center;gap:12px;flex-shrink:0}
.heartbeat-history-action button{font-size:12px}
.heartbeat-history-footer{border-top:1px solid #e7ede8;border-bottom:0;flex-shrink:0}
@media(max-width:680px){
  .heartbeat-device-table tr{grid-template-columns:minmax(0,1fr) auto;gap:10px 12px}
  .heartbeat-device-table td{grid-column:auto;grid-row:auto}
  .heartbeat-device-table td:nth-child(1){grid-column:1/-1;grid-row:1}
  .heartbeat-device-table td:nth-child(2){grid-column:1/-1;grid-row:2}
  .heartbeat-device-table td:nth-child(3){grid-column:1;grid-row:3}
  .heartbeat-device-table td:nth-child(4){grid-column:2;grid-row:3}
  .heartbeat-device-table td:nth-child(5){grid-column:1/-1;grid-row:4;text-align:right}
  .heartbeat-history-dialog{width:calc(100vw - 20px);max-width:none}
  .heartbeat-history-tools,.heartbeat-history-footer{padding:12px 16px}
  .heartbeat-history-dialog>.drawer-content{padding:0 16px}
  .heartbeat-history-dialog>.heartbeat-message{margin:10px 16px}
  .heartbeat-history-item{flex-direction:column;gap:10px;padding:16px 0}
  .heartbeat-history-action{width:100%;justify-content:space-between}
  .heartbeat-history-footer{align-items:flex-start;flex-direction:column}
}
