.device-history-section{min-width:0}
.device-history-heading h3{margin:0 0 4px}
.device-history-heading p,.device-history-help,.device-history-empty{margin:0;color:#526f78;line-height:1.55;font-size:12px}
.device-history-empty{margin-top:14px;padding:15px;border:1px dashed #cadfe1;border-radius:10px;background:#fff}
.recurrence-alert{margin:14px 0;padding:15px;border:1px solid #e2bc76;border-left:4px solid #d99130;border-radius:10px;background:#fff8e9;color:#69471e;line-height:1.45;font-size:12px}
.recurrence-alert>strong{font-size:14px}.recurrence-alert p{margin:7px 0}.recurrence-match{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;padding:12px 0;border-top:1px solid #ecdabb}.recurrence-match:first-of-type{margin-top:12px}.recurrence-match>div{min-width:0;flex:1}.recurrence-match strong,.recurrence-match small{display:block}.recurrence-match small{margin-top:3px;color:#766650}.recurrence-other-customer{color:#a33229;font-weight:700}.recurrence-possible{color:#276f4e;font-weight:700}
.device-history-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(135px,1fr));gap:10px;margin:16px 0}
.device-history-summary>div{min-width:0;padding:13px;border:1px solid #dce8e8;border-radius:11px;background:#fff}
.device-history-summary strong{display:block;color:#135d64;font-size:20px;line-height:1.2;overflow-wrap:anywhere}
.device-history-summary span{display:block;margin-top:5px;color:#526f78;font-size:11px;line-height:1.4}
.device-history-list{list-style:none;padding:0;margin:15px 0 0;display:grid;gap:12px}
.device-history-item{min-width:0;padding:16px;border:1px solid #dce8e8;border-left:4px solid #3da996;border-radius:11px;background:#fff}
.device-history-item-head{display:flex;align-items:center;flex-wrap:wrap;gap:6px 10px;font-size:11px;color:#647e84}
.device-history-code{color:#14556a;font-weight:750}
.device-history-status{margin-left:auto;padding:4px 9px;border-radius:999px;background:#e9f4ef;color:#236b54;font-weight:650}
.device-history-item h4{margin:12px 0 2px;color:#1c3f48;font-size:15px}
.device-history-model{margin:0;color:#607b83;font-size:12px}
.device-history-fault{margin:12px 0;font-size:12px;color:#315560;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere}
.device-history-item details{margin:12px 0;border-top:1px solid #e6eeee;padding-top:10px}
.device-history-item summary{cursor:pointer;color:#176476;font-size:12px;font-weight:700;min-height:32px}
.device-history-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:10px 0 0}
.device-history-details>div{min-width:0;padding:9px;border-radius:8px;background:#f7fbfa}
.device-history-details dt{font-size:10px;text-transform:uppercase;letter-spacing:.5px;color:#648089}
.device-history-details dd{margin:5px 0 0;white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:1.5;color:#274955}
.device-history-part{display:block}
.device-history-photos{margin-top:14px}
.device-history-photos>strong{display:block;margin-bottom:8px;font-size:11px;color:#45636c}
.device-history-photos>div{display:flex;gap:8px;overflow-x:auto;padding:2px 0 8px}
.device-history-photos a{display:block;flex:none;width:78px;height:78px;border-radius:8px;overflow:hidden;border:1px solid #dce8e8}
.device-history-photos img{display:block;width:100%;height:100%;object-fit:cover}
.device-history-open{min-height:42px;font-size:12px}
@media(max-width:600px){.device-history-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.device-history-details{grid-template-columns:1fr}.device-history-item{padding:14px}.device-history-status{margin-left:0}.device-history-open{width:100%}}
