/* FuelOps v0.3.9.3 — Equipment Registry */
#equipmentManageButton{display:none!important}
#addEquipmentButton{display:none!important}
.top-utility-row{grid-template-columns:repeat(3,minmax(96px,1fr));width:min(365px,44%)}
.equipment-registry-card{cursor:pointer;text-align:left;background:linear-gradient(180deg,rgba(22,43,65,.95),rgba(12,25,39,.95));border-color:#35516e}
.equipment-registry-card:hover{border-color:#52779b;background:linear-gradient(180deg,rgba(27,51,76,.98),rgba(15,29,45,.98));transform:none}
.equipment-registry-card .card-kicker{color:#88a9ca}

.equipment-registry-page{margin-top:14px;padding:20px;border:1px solid #2a3b52;border-radius:14px;background:rgba(10,20,33,.78)}
.registry-page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding-bottom:16px;border-bottom:1px solid #26384e}
.registry-page-head h2{margin:2px 0 4px;font-size:1.45rem;color:#e0e8f1}
.registry-page-head p{margin:0;color:#8195ab;font-size:.78rem}
.registry-head-actions{display:flex;gap:8px;align-items:center}
.registry-toolbar{display:grid;grid-template-columns:minmax(260px,1fr) auto;gap:14px;align-items:center;margin:16px 0 12px}
.registry-search-wrap{position:relative}
.registry-search-wrap input{width:100%;height:42px;border:1px solid #30465f;border-radius:10px;background:#0d1928;color:#d8e2ec;padding:0 12px;font-size:.84rem}
.registry-search-wrap input::placeholder{color:#60758c}
.registry-segments{display:flex;gap:6px;flex-wrap:wrap}
.registry-segment{min-height:34px;padding:6px 10px;border:1px solid #30445c;border-radius:8px;background:#132133;color:#8398ae;font-size:.68rem;font-weight:850;letter-spacing:.03em;box-shadow:none}
.registry-segment.active{background:#1d3650;border-color:#4a739a;color:#d7e5f2}
.registry-status-row{display:flex;gap:6px;margin-bottom:12px}
.registry-status-row .registry-segment{min-height:30px;padding:4px 9px}
.registry-list{display:grid;gap:8px}
.registry-row{display:grid;grid-template-columns:minmax(215px,1.05fr) minmax(0,2fr) auto;gap:14px;align-items:center;padding:11px 12px;border:1px solid #25384e;border-radius:11px;background:linear-gradient(180deg,rgba(18,32,49,.82),rgba(12,23,36,.82))}
.registry-row.is-inactive{opacity:.72;background:rgba(12,21,32,.64)}
.registry-row-main{min-width:0}
.registry-row-title{display:flex;align-items:center;gap:8px;min-width:0}
.registry-row-title strong{min-width:0;color:#dae5ef;font-size:.88rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.registry-row-sub{margin-top:4px;color:#73889f;font-size:.71rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.registry-status{flex:0 0 auto;padding:3px 6px;border-radius:999px;font-size:.54rem;font-weight:900;letter-spacing:.07em}
.registry-status.active{color:#93d2ab;border:1px solid rgba(70,151,98,.5);background:rgba(40,111,66,.25)}
.registry-status.inactive{color:#d2a2a2;border:1px solid rgba(155,80,80,.45);background:rgba(119,52,52,.22)}
.registry-row-vitals{display:flex;gap:6px;flex-wrap:wrap;min-width:0}
.registry-chip{display:grid;gap:1px;min-width:82px;padding:5px 7px;border:1px solid #293d54;border-radius:7px;background:#101c2b}
.registry-chip small{color:#62778e;font-size:.53rem;font-weight:850;letter-spacing:.055em;text-transform:uppercase}
.registry-chip strong{color:#b7c5d4;font-size:.66rem;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.registry-chip.registry-due-overdue{border-color:#8c4d4d;background:rgba(108,39,39,.22)}
.registry-chip.registry-due-overdue strong{color:#e4aaaa}
.registry-chip.registry-due-soon{border-color:#8a713d;background:rgba(117,86,27,.18)}
.registry-chip.registry-due-soon strong{color:#dec889}
.registry-row-actions{display:flex;gap:6px;justify-content:flex-end}
.registry-empty{padding:28px;border:1px dashed #30445a;border-radius:10px;text-align:center;color:#71869d;font-size:.78rem}

.equipment-registry-dialog{width:min(94vw,980px);max-height:90vh;border:1px solid #334a64;border-radius:16px;background:#0c1726;color:#bac7d5;padding:0;box-shadow:0 30px 80px rgba(0,0,0,.58)}
.equipment-registry-dialog::backdrop{background:rgba(3,8,14,.74)}
.registry-editor{display:grid;grid-template-rows:auto 1fr auto;max-height:90vh}
.registry-editor-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:18px 20px;border-bottom:1px solid #26384e;background:#101d2d}
.registry-editor-head h2{margin:2px 0 0;font-size:1.25rem;color:#e1e9f1}
.registry-editor-head .eyebrow{margin:0}
.registry-editor-status{padding:4px 7px;border:1px solid #35516d;border-radius:999px;color:#8eacca;font-size:.58rem;font-weight:900;letter-spacing:.08em}
.registry-editor-body{overflow:auto;padding:18px 20px 8px}
.registry-section{margin-bottom:18px;padding-bottom:16px;border-bottom:1px solid rgba(84,111,140,.18)}
.registry-section:last-child{border-bottom:0}
.registry-section-title{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:10px}
.registry-section-title h3{margin:0;color:#d1dde9;font-size:.88rem}
.registry-section-title span{color:#667b92;font-size:.66rem}
.registry-form-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.registry-form-grid label{display:grid;gap:5px;min-width:0;color:#8195ab;font-size:.62rem;font-weight:850;letter-spacing:.04em;text-transform:uppercase}
.registry-form-grid input,.registry-form-grid select,.registry-form-grid textarea{width:100%;min-width:0;min-height:40px;border:1px solid #30455d;border-radius:8px;background:#0d1928;color:#d8e2ec;padding:8px 9px;font:inherit;text-transform:none;letter-spacing:0;box-sizing:border-box}
.registry-form-grid textarea{min-height:78px;resize:vertical}
.registry-span-2{grid-column:span 2}
.registry-span-4{grid-column:1/-1}
.registry-smart-hidden{display:none!important}
.registry-editor-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 20px;border-top:1px solid #26384e;background:#0f1b2a}
.registry-editor-footer .message{margin:0;min-height:0}
.registry-editor-actions{display:flex;gap:8px}
.registry-editor-actions button{min-width:100px}
.registry-field-note{margin:7px 0 0;color:#60758c;font-size:.65rem;line-height:1.35}

@media(max-width:1100px){
  .top-utility-row{width:min(340px,48%)}
  .registry-row{grid-template-columns:minmax(180px,.9fr) minmax(0,1.7fr) auto;gap:10px}
  .registry-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .registry-span-4{grid-column:1/-1}
}

@media(max-width:760px){
  .top-utility-row{width:100%;grid-template-columns:repeat(3,minmax(0,1fr))}
  .equipment-registry-page{padding:14px}
  .registry-page-head{display:block}
  .registry-head-actions{margin-top:10px;justify-content:flex-start}
  .registry-toolbar{grid-template-columns:1fr}
  .registry-row{grid-template-columns:1fr}
  .registry-row-actions{justify-content:flex-start}
  .registry-form-grid{grid-template-columns:1fr}
  .registry-span-2,.registry-span-4{grid-column:auto}
  .registry-editor-head,.registry-editor-body,.registry-editor-footer{padding-left:14px;padding-right:14px}
  .registry-editor-footer{align-items:flex-start;flex-direction:column}
  .registry-editor-actions{width:100%}
  .registry-editor-actions button{flex:1;min-width:0}
}
