.eq-workspace{--eq-border:var(--border,#d8dee9);--eq-panel:var(--panel,#fff);--eq-soft:var(--soft,#f3f6fa);min-width:0;max-width:100%;color:var(--text,#172033)}
.eq-page-head,.eq-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.eq-page-head{margin-bottom:12px}.eq-page-head h1,.eq-section-head h3{margin:0}.eq-page-head p,.eq-section-head p{margin:3px 0 0;color:var(--muted,#64748b)}
.eq-page-head .actions,.eq-primary-actions,.eq-row-actions,.eq-section-head .actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.eq-toolbar{position:relative;z-index:8;display:flex;align-items:end;gap:9px;flex-wrap:wrap;padding:10px;margin-bottom:9px}.eq-toolbar>label,.eq-filter-grid label{display:grid;gap:4px;color:var(--muted,#64748b);font-size:.76rem}.eq-toolbar input,.eq-toolbar select{min-height:38px}.eq-search{flex:1 1 260px}.eq-search input{width:100%}
.eq-filter-menu,.eq-saved-menu{position:relative}.eq-filter-menu>summary,.eq-saved-menu>summary{display:flex;align-items:center;min-height:38px;padding:8px 11px;border:1px solid var(--eq-border);border-radius:var(--radius-control);background:var(--eq-panel);font-weight:750;cursor:pointer;list-style:none}.eq-filter-menu>summary::-webkit-details-marker,.eq-saved-menu>summary::-webkit-details-marker{display:none}.eq-filter-menu[open]>summary,.eq-saved-menu[open]>summary{outline:3px solid color-mix(in srgb,var(--primary,#2563eb) 28%,transparent)}
.eq-filter-grid,.eq-saved-menu>div{position:absolute;z-index:22;top:calc(100% + 6px);left:0;display:grid;grid-template-columns:repeat(2,minmax(180px,1fr));gap:10px;width:min(520px,calc(100vw - 34px));max-height:min(70vh,520px);overflow:auto;padding:12px;border:1px solid var(--eq-border);border-radius:var(--radius-surface);background:var(--eq-panel);box-shadow:0 18px 44px rgb(15 23 42 / 18%)}
.eq-saved-menu>div{grid-template-columns:1fr;width:min(280px,calc(100vw - 34px))}.eq-saved-menu #equipmentSavedViews{display:grid;gap:5px}.eq-saved-menu button{text-align:left}
.eq-view-switch{display:inline-flex;padding:3px;border:1px solid var(--eq-border);border-radius:var(--radius-control);background:var(--eq-panel)}.eq-view-switch button{min-height:32px;padding:5px 9px;border:0;border-radius:var(--radius-control);background:transparent;color:inherit}.eq-view-switch button.active{background:var(--primary,#2563eb);color:#fff}.eq-group-actions{display:flex;gap:5px}
.eq-attention-totals{display:flex;gap:7px;max-width:100%;overflow:auto;padding:1px 0 9px;scrollbar-width:thin}.eq-attention-totals button{display:flex;align-items:center;gap:7px;min-height:36px;padding:6px 9px;white-space:nowrap;border:1px solid var(--eq-border);border-radius:999px;background:var(--eq-panel);color:inherit}.eq-attention-totals button.active{border-color:var(--primary,#2563eb);background:color-mix(in srgb,var(--primary,#2563eb) 10%,var(--eq-panel))}.eq-attention-totals b{min-width:21px;padding:2px 6px;border-radius:999px;background:var(--eq-soft);font-size:.75rem}
.eq-layout{display:grid;grid-template-columns:minmax(300px,36%) minmax(0,1fr);gap:11px;min-height:65vh}.eq-register,.eq-detail{min-width:0;overflow:hidden}.eq-register{display:grid;grid-template-rows:auto minmax(0,1fr) auto;max-height:calc(100vh - 230px)}.eq-register-summary,.eq-pagination{display:flex;align-items:center;justify-content:space-between;gap:9px;padding:9px 11px;border-bottom:1px solid var(--eq-border);font-size:.8rem}.eq-register-summary span{color:var(--muted,#64748b)}.eq-pagination{border-top:1px solid var(--eq-border);border-bottom:0}.eq-register-scroll{min-height:260px;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding:8px}
.eq-group{border:1px solid var(--eq-border);border-radius:var(--radius-control);background:var(--eq-soft);overflow:clip;margin-bottom:7px}.eq-group>summary{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:41px;padding:8px 10px;cursor:pointer;font-size:.82rem;font-weight:800}.eq-group>summary b{padding:2px 7px;border-radius:999px;background:var(--eq-panel)}.eq-group .eq-card-list{padding:0 6px 6px}.eq-card-list{display:grid;gap:7px}
.eq-card{position:relative;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:start;border:1px solid var(--eq-border);border-radius:var(--radius-control);background:var(--eq-panel);overflow:hidden}.eq-card.selected{border-color:var(--primary,#2563eb);box-shadow:0 0 0 2px color-mix(in srgb,var(--primary,#2563eb) 18%,transparent)}.eq-card.archived{opacity:.72}.eq-label-select{display:grid;place-items:center;padding:11px 1px 0 8px}.eq-label-select input{width:17px;height:17px}.eq-card-open{display:grid;gap:6px;width:100%;min-width:0;padding:9px;border:0;background:transparent;color:inherit;text-align:left;cursor:pointer}.eq-card-open:hover{background:color-mix(in srgb,var(--primary,#2563eb) 5%,transparent)}.eq-card-title,.eq-card-meta,.eq-card-foot{display:flex;align-items:center;justify-content:space-between;gap:7px;min-width:0}.eq-card-title{align-items:flex-start}.eq-card-title>span,.eq-card-title{min-width:0}.eq-card-title b{font-size:.9rem;overflow-wrap:anywhere}.eq-card-title small,.eq-card-meta{color:var(--muted,#64748b);font-size:.7rem}.eq-card-title small{max-width:48%;text-align:right}.eq-card-meta span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.eq-card-meta span:first-child{flex:1}.eq-card-foot{justify-content:flex-start;flex-wrap:wrap}
.eq-badge,.eq-status{display:inline-flex;align-items:center;min-height:23px;padding:3px 7px;border-radius:999px;background:var(--eq-soft);font-size:.66rem;font-weight:800;line-height:1.15}.eq-status{background:#e8f5ec;color:#17633a}.eq-status.under_repair,.eq-status.out_of_service,.eq-status.overdue,.eq-badge.danger{background:#fee2e2;color:#991b1b}.eq-status.awaiting_parts,.eq-status.due_soon,.eq-badge.warning{background:#fff3cd;color:#854d0e}.eq-status.retired,.eq-status.sold,.eq-status.archived,.eq-status.paused,.eq-badge.neutral{background:#e5e7eb;color:#374151}.eq-status.under_maintenance,.eq-status.case_created{background:#dbeafe;color:#1e40af}
.eq-status-action{border:1px solid currentColor;cursor:pointer}.eq-status-action:hover{filter:brightness(.96)}
.eq-detail{max-height:calc(100vh - 230px);overflow:auto;scrollbar-gutter:stable}.eq-detail-empty,.eq-detail-loading,.eq-loading,.eq-empty{display:grid;place-items:center;min-height:140px;padding:18px;color:var(--muted,#64748b);text-align:center}.eq-detail-header{padding:14px;border-bottom:1px solid var(--eq-border);background:var(--eq-panel)}.eq-mobile-back{display:none}.eq-identity{display:grid;grid-template-columns:auto minmax(0,1fr);gap:12px}.eq-photo{width:72px;height:72px;display:grid;place-items:center;overflow:hidden;border:1px solid var(--eq-border);border-radius:var(--radius-surface);background:var(--eq-soft);font-size:2rem}.eq-photo img{width:100%;height:100%;object-fit:cover}.eq-kicker{display:block;color:var(--muted,#64748b);font-size:.75rem}.eq-identity h2{margin:2px 0 3px;font-size:clamp(1.25rem,2vw,1.8rem);overflow-wrap:anywhere}.eq-identity p{margin:0;color:var(--muted,#64748b);font-size:.82rem}.eq-header-badges{display:flex;gap:5px;flex-wrap:wrap;margin-top:6px}.eq-header-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin:11px 0}.eq-header-metrics>div,.eq-info-grid>div,.eq-lifecycle-grid>div{display:grid;gap:3px;min-width:0;padding:8px;border:1px solid var(--eq-border);border-radius:var(--radius-control);background:var(--eq-soft)}.eq-header-metrics small,.eq-info-grid small,.eq-lifecycle-grid small{color:var(--muted,#64748b);font-size:.67rem}.eq-header-metrics b,.eq-info-grid b,.eq-lifecycle-grid b{font-size:.8rem;overflow-wrap:anywhere}
.eq-tabs{position:sticky;top:0;z-index:5;display:flex;align-items:center;gap:2px;overflow:auto;padding:6px 9px;border-bottom:1px solid var(--eq-border);background:color-mix(in srgb,var(--eq-panel) 96%,transparent);backdrop-filter:blur(9px);scrollbar-width:thin}.eq-tab-context{flex:0 0 auto;max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0 7px;font-size:.75rem;font-weight:800;color:var(--muted,#64748b);border-right:1px solid var(--eq-border)}.eq-tabs button{min-height:36px;padding:7px 10px;border:0;border-radius:var(--radius-control);background:transparent;color:inherit;white-space:nowrap;font-weight:750}.eq-tabs button.active{background:var(--primary,#2563eb);color:#fff}.eq-section{min-height:320px;padding:14px}.eq-section-head{margin-bottom:11px}.eq-info-grid,.eq-lifecycle-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(165px,1fr));gap:8px}.eq-note,.eq-warning,.eq-info{margin:10px 0;padding:10px 12px;border:1px solid var(--eq-border);border-radius:var(--radius-control);background:var(--eq-soft)}.eq-note h4,.eq-note p{margin:0}.eq-note h4{margin-bottom:4px}.eq-warning{display:grid;gap:3px;border-color:#f59e0b;background:#fffbeb;color:#78350f}.eq-child-list{display:flex;gap:7px;flex-wrap:wrap}.eq-child-list button{display:grid;text-align:left}.eq-child-list small{color:var(--muted,#64748b)}
.eq-plan-list,.eq-service-list,.eq-fact-list,.eq-meter-list,.eq-document-list,.eq-timeline{display:grid;gap:8px}.eq-plan,.eq-fact-list article,.eq-meter-list article,.eq-document-list article{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px;border:1px solid var(--eq-border);border-radius:var(--radius-control);background:var(--eq-panel)}.eq-plan h4,.eq-plan p,.eq-fact-list b,.eq-fact-list p,.eq-meter-list p,.eq-document-list p{margin:3px 0}.eq-plan p,.eq-fact-list p,.eq-meter-list p,.eq-document-list p,.eq-document-list small{color:var(--muted,#64748b);font-size:.75rem}.eq-history{margin-top:13px;border:1px solid var(--eq-border);border-radius:var(--radius-control)}.eq-history>summary{padding:10px;cursor:pointer;font-weight:800}.eq-history .eq-timeline{padding:0 10px 10px}.eq-timeline article{display:grid;gap:3px;padding:9px;border-left:3px solid var(--eq-border);background:var(--eq-soft)}.eq-timeline span,.eq-timeline p{margin:0;color:var(--muted,#64748b);font-size:.75rem}
.eq-service-row{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:48px;padding:9px 10px;border:1px solid var(--eq-border);border-radius:var(--radius-control);background:var(--eq-panel);color:inherit;text-align:left}.eq-service-row>span:first-child{display:grid;gap:2px}.eq-service-row small{color:var(--muted,#64748b)}.eq-facts{margin-top:18px;padding-top:13px;border-top:1px solid var(--eq-border)}.eq-fact-list article.archived,.eq-document-list article.archived,.eq-parts-table article.archived{opacity:.62}.eq-meter-list article{grid-template-columns:minmax(95px,.3fr) minmax(0,1fr) auto}.eq-meter-list article.superseded{opacity:.55}.eq-meter-value{display:grid}.eq-meter-value b{font-size:1.08rem}.eq-meter-value small{color:var(--muted,#64748b)}
.eq-meter-photo{display:block;width:110px;max-height:82px;object-fit:cover;margin-top:6px;border:1px solid var(--eq-border);border-radius:var(--radius-control)}
.eq-service-filters{margin:0 0 10px;border:1px solid var(--eq-border);border-radius:var(--radius-control);background:var(--eq-soft)}.eq-service-filters>summary{padding:9px 11px;cursor:pointer;font-weight:800}.eq-service-filter-form{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:8px;padding:0 10px 10px}.eq-service-filter-form .actions{align-self:end;justify-content:flex-end}.eq-service-filter-form button{min-height:42px}
.eq-section>.eq-service-filter-form{grid-template-columns:minmax(0,1fr) auto;margin:0 0 14px;padding:12px;border:1px solid var(--eq-border);border-radius:var(--radius-control);background:var(--eq-soft)}
.eq-parts-table{display:grid;overflow:auto;border:1px solid var(--eq-border);border-radius:var(--radius-control)}.eq-table-head,.eq-parts-table article{display:grid;grid-template-columns:minmax(210px,1.4fr) minmax(120px,.8fr) minmax(95px,.5fr) minmax(95px,.5fr) auto;gap:9px;align-items:center;min-width:720px;padding:9px}.eq-table-head{background:var(--eq-soft);font-size:.7rem;font-weight:800}.eq-parts-table article{border-top:1px solid var(--eq-border);font-size:.78rem}.eq-parts-table article>span:first-child{display:grid}.eq-parts-table small{color:var(--muted,#64748b)}
.eq-reservations{display:grid;gap:4px;margin-top:6px}.eq-reservations>span{display:flex;align-items:center;gap:5px;flex-wrap:wrap;padding:4px 6px;border-radius:var(--radius-control);background:var(--eq-soft);font-size:.7rem}.eq-reservations>span.active{border-left:3px solid var(--primary,#2563eb)}.eq-reservations button{min-height:28px;padding:3px 6px;font-size:.68rem}
.eq-document-list article{grid-template-columns:auto minmax(0,1fr) auto}.eq-doc-icon{display:grid;place-items:center;width:38px;height:44px;border-radius:var(--radius-control);background:var(--eq-soft);font-size:1.3rem}.eq-document-list article>span:nth-child(2){display:grid;gap:2px}.eq-document-list a.button{display:inline-flex;text-decoration:none}.eq-lifecycle-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}
.eq-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;max-width:820px}.eq-field,.eq-file{display:grid;gap:4px;font-size:.78rem}.eq-field>span,.eq-file>span{font-weight:750}.eq-field input,.eq-field select,.eq-field textarea,.eq-file input{width:100%;min-height:42px}.eq-field textarea{resize:vertical}.eq-form .wide,.eq-form>.actions,.eq-local-error-slot,.eq-conflict{grid-column:1/-1}.eq-form>.actions{justify-content:flex-end}.eq-check{display:flex;align-items:center;gap:7px;min-height:42px}.eq-check input,.eq-check-grid input{width:18px;height:18px}.eq-check-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:6px;border:1px solid var(--eq-border);border-radius:var(--radius-control)}.eq-check-grid label{display:flex;align-items:center;gap:6px}.eq-file{padding:10px;border:1px dashed var(--eq-border);border-radius:var(--radius-control)}.eq-file small{color:var(--muted,#64748b)}
.eq-field small{color:var(--muted,#64748b)}.eq-edit-photo{width:min(100%,360px);max-height:210px;object-fit:contain;border:1px solid var(--eq-border);border-radius:var(--radius-control);background:var(--eq-soft)}
.eq-local-error{display:grid;gap:2px;margin-top:7px;padding:8px;border:1px solid #ef4444;border-radius:var(--radius-control);background:#fef2f2;color:#991b1b}.eq-conflict{padding:10px;border:1px solid #f59e0b;border-radius:var(--radius-control);background:#fffbeb}.eq-conflict h3{margin-top:0}.eq-conflict-grid{display:grid;gap:5px}.eq-conflict-grid>div{display:grid;grid-template-columns:150px 1fr 1fr;gap:7px;font-size:.75rem}.eq-load-error{display:grid;gap:7px;place-items:start;padding:15px;color:#991b1b}.eq-load-error button{color:inherit}
.eq-qr-dialog{display:grid;gap:12px}.eq-label-preview{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:9px}.eq-print-label{display:flex;align-items:center;gap:10px;min-height:100px;padding:8px;border:1px dashed var(--eq-border);overflow:hidden}.eq-print-label img{width:82px;height:82px}.eq-print-label span{display:grid;gap:3px}.eq-print-label small{overflow-wrap:anywhere;color:var(--muted,#64748b)}
.eq-workspace :focus-visible{outline:3px solid color-mix(in srgb,var(--primary,#2563eb) 45%,transparent);outline-offset:2px}
@media(max-width:1050px){.eq-layout{grid-template-columns:minmax(270px,39%) minmax(0,1fr)}.eq-header-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.eq-primary-actions button{flex:1 1 145px}.eq-document-list article{grid-template-columns:auto minmax(0,1fr)}.eq-document-list .eq-row-actions{grid-column:1/-1}}
@media(max-width:700px){html,body{max-width:100%;overflow-x:hidden}.eq-page-head{display:grid}.eq-page-head .actions button{flex:1}.eq-toolbar{align-items:stretch}.eq-toolbar>*{flex:1 1 145px}.eq-search{flex-basis:100%}.eq-filter-grid,.eq-saved-menu>div{position:fixed;top:76px;left:10px;right:10px;width:auto;max-height:72vh}.eq-group-actions{display:none}.eq-attention-totals{margin-inline:-2px}.eq-layout{display:block;min-height:0}.eq-register,.eq-detail{max-height:none;min-height:calc(100dvh - 210px)}.eq-layout.has-detail .eq-register{display:none}.eq-layout:not(.has-detail) .eq-detail{display:none}.eq-detail{overflow:visible}.eq-detail-header{top:0;padding:10px}.eq-mobile-back{display:block;margin-bottom:8px}.eq-photo{width:58px;height:58px}.eq-header-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.eq-primary-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.eq-primary-actions button{min-height:46px}.eq-tabs{top:0;padding-inline:6px}.eq-tabs button{min-height:44px}.eq-section{padding:11px}.eq-info-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.eq-plan,.eq-fact-list article,.eq-meter-list article,.eq-document-list article{grid-template-columns:1fr}.eq-plan .eq-row-actions,.eq-document-list .eq-row-actions{grid-column:1}.eq-service-row{align-items:flex-start}.eq-form{grid-template-columns:1fr}.eq-form .wide,.eq-form>.actions,.eq-local-error-slot,.eq-conflict{grid-column:1}.eq-form>.actions{position:sticky;bottom:0;padding:8px 0;background:var(--eq-panel)}.eq-form>.actions button{min-height:46px;flex:1}.eq-conflict-grid>div{grid-template-columns:1fr}.eq-table-head,.eq-parts-table article{min-width:650px}.eq-print-label{min-height:90px}.eq-print-label img{width:72px;height:72px}}
@media(pointer:coarse){.eq-card-open,.eq-toolbar button,.eq-toolbar input,.eq-toolbar select,.eq-service-row,.eq-row-actions button,.eq-row-actions a{min-height:44px}.eq-label-select{padding-top:14px}.eq-register-scroll{padding:7px}}
@media(forced-colors:active){.eq-status,.eq-badge,.eq-warning,.eq-attention-totals button.active{border:1px solid currentColor}.eq-card.selected{outline:3px solid Highlight}}
@media(prefers-reduced-motion:reduce){.eq-workspace *{scroll-behavior:auto!important;transition:none!important}}
/* Registration-first Equipment workspace. */
.eq-simple .eq-view-switch,.eq-simple .eq-group-actions{display:none!important}
.eq-simple .eq-toolbar{display:flex;flex-wrap:wrap;gap:12px;align-items:end;background:transparent;border:0;padding:0;margin:16px 0}
.eq-simple .eq-search{flex:1 1 280px}.eq-simple .eq-toolbar>label{flex:0 1 240px}.eq-simple .eq-list-options{margin-left:auto}
.eq-list-options summary,.eq-machine-options summary,.eq-extra-details summary,.eq-quick-details summary{cursor:pointer;min-height:44px;padding:10px 8px}
.eq-list-options-body{display:flex;flex-wrap:wrap;gap:12px;padding:12px;background:var(--panel);border:1px solid var(--line);border-radius:var(--radius-control)}
.eq-area-tabs{display:flex;gap:8px;margin:16px 0}.eq-area-tabs button{min-height:44px;flex:1;background:var(--panel);color:var(--ink);border:1px solid var(--line)}.eq-area-tabs button[aria-pressed=true]{background:var(--accent);color:var(--accent-ink,#fff)}
.eq-simple .eq-attention-totals:empty{display:none}.eq-simple .eq-label-select{display:none}.eq-simple.eq-label-mode .eq-label-select{display:flex}
.eq-simple .eq-card-meta{display:none}.eq-simple .eq-card-foot .eq-badge.neutral{display:none}.eq-simple .eq-card-open{padding:16px}.eq-simple .eq-register,.eq-simple .eq-detail{border-radius:var(--radius-surface)}
.eq-detail-tools{margin-bottom:16px}.eq-detail-tools label{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.eq-detail-tools select{max-width:100%}
.eq-machine-options .actions{padding:12px;background:var(--panel);border:1px solid var(--line);border-radius:var(--radius-control)}.eq-extra-details{margin:16px 0}.eq-quick-details{border-top:1px solid var(--line)}.eq-quick-details .eq-form{padding-top:12px}
.eq-simple .eq-header-badges>.eq-badge{display:none}.eq-simple .eq-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}.eq-simple .eq-tabs button{padding:10px 5px;white-space:normal;min-width:0}
@media(max-width:700px){.eq-simple .eq-page-head{display:block}.eq-simple .eq-page-head>.actions,.eq-simple #equipmentNew{width:100%}.eq-simple .eq-toolbar>label,.eq-simple .eq-search{flex:1 1 100%}.eq-simple .eq-list-options{margin-left:0}.eq-simple .eq-page-head p{font-size:13px}.eq-simple .eq-primary-actions{display:block}.eq-simple .eq-layout.has-detail>.eq-register{display:none}.eq-simple .eq-tabs button{font-size:12px}}
.phone-preview-top-level020 .eq-simple .eq-page-head{display:block}.phone-preview-top-level020 .eq-simple #equipmentNew{width:100%}

.eq-workspace .eq-area-tabs button{border-radius:var(--radius-control)}

/* Customer-first browsing, using the existing permission-scoped register. */
.eq-customer-home{grid-template-columns:1fr!important}.eq-customer-home>.eq-detail{display:none!important}
.eq-customer-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:14px;padding:8px}
.eq-customer-card{display:flex;align-items:center;gap:14px;text-align:left;background:var(--panel);color:var(--ink);border:1px solid var(--line);border-radius:var(--radius-surface);padding:20px;min-height:110px}
.eq-customer-card>span:nth-child(2){flex:1;min-width:0}.eq-customer-card b,.eq-customer-card small{display:block;overflow-wrap:anywhere}.eq-customer-card small{margin-top:8px;color:var(--muted);font-weight:normal}.eq-customer-icon{display:grid;place-items:center;width:42px;height:42px;background:var(--bg);border:1px solid var(--line);border-radius:var(--radius-surface);flex-shrink:0}
#equipmentCustomerTrail:empty{display:none}#equipmentCustomerTrail{padding:8px 8px 16px;border-bottom:1px solid var(--line)}#equipmentCustomerTrail h2{font-size:20px;margin:8px;overflow-wrap:anywhere}
.eq-location-group h3{font-size:13px;color:var(--muted);margin:20px 8px 10px}.eq-simple .eq-machine-thumb{float:left;width:58px;height:58px;border-radius:var(--radius-control);background:var(--bg);display:grid;place-items:center;margin-right:12px;overflow:hidden}.eq-machine-thumb img{width:100%;height:100%;object-fit:cover}.eq-simple .eq-card-title{display:block}.eq-simple .eq-card-title small{display:block;margin-top:5px}.eq-simple .eq-card-foot{clear:both;padding-top:12px}.eq-simple .eq-identity .eq-photo{width:128px;height:128px;flex-shrink:0;font-size:2.25rem}.eq-simple .eq-identity .eq-photo img{width:100%;height:100%;object-fit:cover}.eq-simple .eq-primary-actions{display:flex;flex-wrap:wrap;gap:8px}
@media(max-width:700px){.eq-customer-grid{grid-template-columns:1fr;padding:0}.eq-customer-card{min-height:96px;padding:16px}.eq-simple .eq-identity .eq-photo{width:96px;height:96px;font-size:2rem}.eq-simple .eq-primary-actions>button{flex:1 1 130px}}

.eq-simple .eq-register{display:flex;flex-direction:column}.eq-simple .eq-register-summary,.eq-simple .eq-pagination,#equipmentCustomerTrail{flex:0 0 auto}.eq-simple .eq-register-scroll{flex:1 1 auto;min-height:0}.eq-simple .eq-card-open{display:block;text-align:left}.eq-simple:has(.eq-customer-home) .eq-toolbar{display:flex}
/* Phone lists belong to the page scroll, not a contained desktop panel. */
@media(max-width:700px){.eq-register,.eq-register-scroll{overflow:visible;overscroll-behavior:auto}.eq-register-scroll{scrollbar-gutter:auto}}

.eq-simple .eq-card-title small{max-width:none;text-align:left}.eq-customer-machines .eq-card-title small{display:none}
.eq-history-search{margin:12px 0;padding:12px;border:1px solid var(--border,#cbd5e1);border-radius:var(--radius-surface)}.eq-history-search summary{cursor:pointer}.eq-history-search form{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px;align-items:end}.eq-history-search label{display:grid;gap:6px;flex:1;min-width:0}.eq-history-search input{width:100%;box-sizing:border-box}.eq-history-results article{padding:12px 0;border-bottom:1px solid var(--border,#cbd5e1);overflow-wrap:anywhere}.eq-history-results h4{margin:6px 0}.eq-history-search button:focus-visible{outline:3px solid #2782da;outline-offset:2px}@media(max-width:600px){.eq-history-search form{display:grid;grid-template-columns:minmax(0,1fr)}}

/* Keep search prominent; on phones, give the selected machine the screen. */
.eq-simple .eq-toolbar>.eq-search{flex:1 1 280px;min-width:0}
.eq-simple .eq-search input{width:100%;min-height:44px}
.eq-simple #equipmentClearSearch{min-height:44px}
.eq-simple #equipmentClearSearch[hidden]{display:none}
@media(max-width:700px){
 .eq-section>.eq-service-filter-form{grid-template-columns:1fr}.eq-section>.eq-service-filter-form .actions{justify-content:stretch}.eq-section>.eq-service-filter-form .actions button{flex:1}
 .eq-simple .eq-toolbar>.eq-search{flex-basis:100%}
 .eq-simple:has(.eq-layout.has-detail)>.eq-page-head,
 .eq-simple:has(.eq-layout.has-detail)>.eq-area-tabs,
 .eq-simple:has(.eq-layout.has-detail)>.eq-toolbar{display:none}
}

.eq-simple .eq-mobile-back{display:block;margin-bottom:8px}

/* One-level equipment register: every accessible machine is immediately visible. */
.eq-simple .eq-register-summary{padding:14px 18px;border-bottom:1px solid var(--line);font-size:.82rem}
.eq-simple .eq-card-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:12px;padding:12px}
.eq-simple .eq-card{display:block;margin:0;border:1px solid var(--line);border-radius:var(--radius-surface);background:var(--panel);overflow:hidden;box-shadow:0 1px 2px rgba(15,23,42,.04)}
.eq-simple .eq-card-open{position:relative;display:block;width:100%;min-height:112px;padding:15px 85px 15px 15px!important;border:0;border-radius:0;background:transparent;color:var(--ink);text-align:left}
.eq-simple .eq-card-open:hover{background:color-mix(in srgb,var(--accent) 5%,var(--panel))}
.eq-simple .eq-card-open .eq-machine-thumb{position:absolute;left:auto!important;right:15px!important;top:50%;float:none;margin:0;width:58px;height:58px;transform:translateY(-50%)}
.eq-simple .eq-card-title{min-width:0}.eq-simple .eq-card-title b{font-size:1rem}.eq-simple .eq-card-title small{color:var(--muted);line-height:1.35}
.eq-simple .eq-card-foot{display:flex;gap:6px;align-items:center;flex-wrap:wrap;padding:10px 0 0}
@media(max-width:700px){
 .eq-simple .eq-card-list{grid-template-columns:1fr;padding:8px;gap:10px}
 .eq-simple .eq-card-open{min-height:104px;padding:14px 82px 14px 14px!important}
 .eq-simple .eq-card-open .eq-machine-thumb{left:auto!important;right:14px!important}
 .eq-simple .eq-register-summary{padding:12px}
}
