/* R7.11 – Motor traceability with compact, readable industrial form controls. */
.r711-motor-picker{grid-column:1/-1;position:relative;padding:10px 12px;border:1px solid rgba(27,178,195,.36);border-radius:11px;background:rgba(25,162,187,.05);display:grid;gap:7px;min-width:0}
.r711-motor-picker[hidden]{display:none!important}
.r711-motor-picker label,.r711-edit-grid label{display:grid;gap:5px;font-size:13px;font-weight:650}
.r711-motor-picker input,.r711-edit-grid input,.r711-edit-grid select,.r711-edit-grid textarea{width:100%;min-height:39px;border-radius:8px;border:1px solid var(--border,#40616f);background:var(--surface,#112735);color:var(--text,#e8f5ff);padding:8px 10px;font:inherit;box-sizing:border-box}
.r711-motor-picker .r711-motor-hint{font-size:12px;opacity:.8;margin:0}
.r711-motor-results{position:absolute;z-index:10;top:82px;left:10px;right:10px;max-height:275px;overflow:auto;background:var(--surface,#112735);border:1px solid #2f9bae;border-radius:10px;box-shadow:0 14px 36px #0005}
.r711-motor-results[hidden]{display:none}
.r711-motor-results button{width:100%;display:grid;grid-template-columns:minmax(70px,150px) 1fr auto;align-items:center;gap:10px;text-align:left;color:inherit;background:transparent;border:none;border-bottom:1px solid #51677733;padding:9px;cursor:pointer}
.r711-motor-results button:hover,.r711-motor-results button:focus{background:rgba(20,191,188,.15);outline:1px solid #2ed6d2}
.r711-motor-results button small{opacity:.65}
.r711-no-results{padding:14px;font-size:13px}
.r711-other{opacity:.72}
.r711-edit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.r711-edit-grid .wide{grid-column:1/-1}
.r711-correction-note{padding:10px 14px;margin-bottom:12px;background:rgba(230,160,40,.1);border-left:3px solid #e6a028;border-radius:8px;line-height:1.45}
.r711-form-status{color:#eab66a;margin:0}.r711-edit-actions{display:flex;gap:10px;flex-wrap:wrap}
.r711-edit-button{min-width:46px!important;font-size:12px!important;padding:5px 8px!important}
.r711-maintenance{border:1px solid rgba(55,156,182,.23);border-radius:12px;margin-top:14px;padding:14px}
.r711-maintenance h3{margin:0 0 14px}.r711-maint-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.r711-maint-grid>div{min-width:0}.r711-maint-grid h4{margin:0 0 9px;color:#23ced0}.r711-maint-grid h4 small{color:var(--muted,#88a7b5);font-size:12px}
.r711-grease-values{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
.r711-grease-values>div{min-width:0;padding:8px;border:1px solid rgba(58,175,198,.3);border-radius:8px}
.r711-grease-values small{display:block;font-size:11px;color:var(--muted,#9db7c0)}.r711-grease-values b{display:block;font-size:15px;padding-top:3px;overflow-wrap:anywhere}
.r711-mini-history{max-height:150px;overflow:auto;padding:8px 0}.r711-mini-history>div{padding:5px 0;border-bottom:1px solid #ffffff17}
.r711-warning{color:#dfa65e;font-size:13px;line-height:1.5}
/* Reduce oversized bearing drawer secondary tiles without reducing important text. */
.r79-bearing-metrics .parity-metric{min-height:65px!important;padding:9px!important}
.r79-tech-grid{grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:7px!important}
.r79-tech-grid>*{min-width:0;min-height:55px!important;padding:8px!important}
.r79-tech-grid> :nth-last-child(-n+2){grid-column:span 3}
@media(max-width:1050px){.r711-maint-grid{grid-template-columns:1fr}.r79-tech-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}.r79-tech-grid> :nth-last-child(-n+2){grid-column:auto}}
@media(max-width:600px){.r711-edit-grid{grid-template-columns:1fr}.r711-grease-values{grid-template-columns:repeat(2,minmax(0,1fr))}.r79-tech-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.r711-motor-results button{grid-template-columns:1fr}.r711-motor-results button small{display:none}}

/* R7.12.1: Motor chooser contrast in BOTH global themes. */
.r711-motor-results,.r711-motor-results button{background:#0b2938!important;color:#f2fcff!important}
.r711-motor-results button{border-bottom:1px solid #326074!important;min-height:52px;line-height:1.38}
.r711-motor-results button b{color:#7ff4e6!important;font-weight:800;overflow-wrap:anywhere}
.r711-motor-results button span{color:#f5fdff!important;overflow-wrap:anywhere}
.r711-motor-results button small{color:#bad8e6!important;opacity:1!important;overflow-wrap:anywhere}
.r711-motor-results button:hover,.r711-motor-results button:focus-visible{background:#16475b!important;outline:2px solid #68dfe0!important;outline-offset:-2px}
.r711-motor-results .r711-no-results{background:#0b2938!important;color:#e3f7fc!important}
.r711-motor-scope{font-size:12px;line-height:1.4;margin:0;color:var(--muted,#a4c3d1);font-weight:550}
.r711-other-toggle{justify-self:start;max-width:fit-content;min-height:32px}
.r711-other-fields{display:grid;gap:7px}
.r711-other-fields[hidden]{display:none!important}
.r711-other-fields small{line-height:1.4;color:var(--muted,#a4c3d1)}
.r711-motor-picker{overflow:visible!important}
.r711-motor-results{top:106px;max-height:270px}
@media(max-width:700px){.r711-motor-results{top:120px;max-height:240px}.r711-motor-results button{grid-template-columns:1fr!important;gap:4px}}
