.offline-devices{min-width:0}.offline-device-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.offline-device-grid label{display:block;min-width:0;margin:0}.offline-device-grid :is(input,select,textarea){width:100%;box-sizing:border-box;min-width:0;max-width:100%;margin:6px 0 0}.offline-device-grid textarea{min-height:100px;resize:vertical}.offline-device-grid .serial-entry{min-width:0}.offline-devices .actions{display:flex;flex-wrap:wrap;gap:12px;margin-block:12px}.offline-devices .actions :is(button,.button){margin:0}.offline-device-status{min-height:1.6em;overflow-wrap:anywhere}.offline-device-status.is-error{color:#b60012}.offline-device-card p{overflow-wrap:anywhere}.offline-devices>[data-device-filter]{width:100%;box-sizing:border-box;margin-block:12px}.offline-device-card{margin-block:16px}html[data-theme=dark] .offline-device-status.is-error{color:#ffb5bd}@media(max-width:650px){.offline-device-grid{grid-template-columns:minmax(0,1fr)}}

/* One company heading with compact expandable rows for its devices. */
.offline-device-company{margin:12px 0;padding:14px 16px;min-width:0}
.offline-device-company>h3{margin:0 0 4px;font-size:1.05rem;overflow-wrap:anywhere}
.offline-device-company>.note{margin:0 0 10px;font-size:.8rem}
.offline-device-row{border:0;border-top:1px solid #79849155;min-width:0;margin:0;padding:0;border-radius:0;background:transparent}
.offline-device-row>summary{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.5fr) minmax(0,1.4fr) auto 1rem;align-items:center;gap:12px;margin:0;padding:6px 0;height:44px;min-height:44px;box-sizing:border-box;cursor:pointer;list-style:none;font-size:.85rem}
.offline-device-row>summary::-webkit-details-marker{display:none}
.offline-device-row>summary::after{content:'';display:block;width:.45rem;height:.45rem;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);justify-self:center}
.offline-device-row[open]>summary::after{transform:rotate(225deg)}
.offline-device-row>summary>span{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.offline-device-row-user{font-weight:600}
.offline-device-row-state{font-size:.75rem}
.offline-device-row-state[data-pending=true]{font-weight:600;color:#ac0018}
html[data-theme=dark] .offline-device-row-state[data-pending=true]{color:#ffb5bd}
.offline-device-row-details{padding:0 0 12px;font-size:.85rem;overflow-wrap:anywhere}
.offline-device-row-details>p{margin:5px 0}
.offline-device-row>summary:focus-visible{outline:2px solid #b00919;outline-offset:2px}
@media(max-width:700px){
 .offline-device-company{padding:12px}
 .offline-device-row>summary{gap:8px;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr) minmax(0,1fr) 1rem}
 .offline-device-row>summary>.offline-device-row-state{display:none}
}

.offline-device-grid .offline-device-customer-search{grid-column:1/-1;min-width:0}
.offline-device-customer-search-row{display:flex;align-items:flex-end;gap:12px}
.offline-device-customer-search-row>label{flex:1;min-width:0}
html body.techniker-app main #offline-device-form .offline-device-customer-search-row>button{height:52px!important;min-height:52px!important;box-sizing:border-box;margin:0!important;flex:none}
html body #offline-device-form .offline-device-customer-search-row input{height:52px;box-sizing:border-box}
.offline-device-customer-search>.note{margin:10px 0;font-size:.85rem}
html body #offline-device-form .offline-device-customer-choice{display:flex;flex-direction:column;align-items:flex-start;gap:4px;width:100%;height:auto!important;min-height:44px;margin:8px 0!important;padding:12px 14px!important;text-align:left;white-space:normal;background:var(--disclosure-bg,#f4f6f8)!important;color:var(--disclosure-text,#202830)!important;border:1px solid var(--disclosure-border,#9aa5b1)!important}
.offline-device-customer-choice>span{font-weight:400;font-size:.85rem;overflow-wrap:anywhere}
@media(max-width:500px){.offline-device-customer-search-row{flex-wrap:wrap}.offline-device-customer-search-row>label{flex-basis:100%}}

html body .serial-live-results{display:grid;gap:8px;margin-block:8px;min-width:0}html body .serial-live-results>button{display:block;width:100%;height:auto;min-height:44px;box-sizing:border-box;margin:0!important;padding:10px 14px;text-align:left;white-space:normal;overflow-wrap:anywhere;background:var(--disclosure-bg,#f4f6f8)!important;color:var(--disclosure-text,#202830)!important;border:1px solid var(--disclosure-border,#9aa5b1)!important}html body .serial-live-results>button:hover{filter:brightness(1.12)}
