/* repair-link.css — “Report / repair history” parts on the document pages (/docs, /hang)
   dark Gauge palette · literal hex so it does not collide with page variables */

.rp-chip{font-size:10px;font-weight:600;padding:2px 8px;border-radius:999px;
  border:1px solid rgba(245,184,74,.4);background:rgba(245,184,74,.12);color:#f7c968;white-space:nowrap}

.rp-add{background:#1e2a45;border-color:#3d5c9e;color:#cfe0ff;font-weight:600}
.rp-add:active{background:#264069}
.rp-histbtn{background:#171d27;border-color:#2b3444;color:#c8d3e3}

.rp-toast{display:none;margin-top:8px;padding:9px 12px;border-radius:10px;
  background:rgba(79,211,154,.1);border:1px solid rgba(79,211,154,.35);color:#8fe9c1;
  font-size:11.5px;font-weight:500;line-height:1.5}
.rp-toast.on{display:block}

.rp-form,.rp-hist{display:none;margin-top:9px;border-top:1px solid #242a36;padding-top:10px}
.rp-form.on,.rp-hist.on{display:block}
.rp-ttl{font-size:11.5px;font-weight:600;color:#eef3fa;margin-bottom:7px}

.rp-form input[type=text]{display:block;width:100%;min-height:42px;padding:9px 12px;
  border:1px solid #242a36;border-radius:10px;background:#151a23;color:#eef3fa;
  font-family:inherit;font-size:13.5px;-webkit-appearance:none}
.rp-form input[type=text]::placeholder{color:#6b7686}
.rp-form input[type=text]:focus{outline:none;border-color:#3d5c9e;box-shadow:0 0 0 3px rgba(91,140,255,.15)}

.rp-daterow{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-top:8px}
.rp-lbl{font-size:11px;color:#7f8a9c}
.rp-daterow select{min-height:36px;height:36px;padding:0 8px;border:1px solid #242a36;border-radius:10px;
  background:#151a23;color:#eef3fa;font-family:inherit;font-size:13px;-webkit-appearance:none}

.rp-chk{display:flex;align-items:flex-start;gap:8px;margin-top:10px;font-size:11.5px;
  color:#b8c3d3;font-weight:400;line-height:1.45}
.rp-chk input{width:17px;height:17px;margin:0;flex:0 0 auto;accent-color:#5b8cff}

.rp-msg{font-size:11.5px;color:#7f8a9c;margin-top:7px;line-height:1.5}
.rp-msg.err{color:#ff9d9d;font-weight:600}

.rp-act{display:flex;gap:6px;margin-top:10px;flex-wrap:wrap}
.rp-act .btn{min-height:38px;height:auto;padding:0 16px;font-size:12px}
.rp-save{background:#5b8cff;border-color:#5b8cff;color:#fff;font-weight:600}
.rp-save[disabled]{opacity:.6}
.rp-note{font-size:10.5px;color:#7f8a9c;margin-top:7px;line-height:1.55}

.rp-row{display:flex;align-items:center;gap:7px;padding:8px 0;border-bottom:1px solid #1b2130;
  font-size:12px;flex-wrap:wrap;line-height:1.45}
.rp-row:last-child{border-bottom:0}
.rp-date{font-family:"IBM Plex Mono",ui-monospace,Menlo,monospace;font-size:11px;color:#7f8a9c;white-space:nowrap}
.rp-sym{flex:1;min-width:120px;color:#dbe6f5}
.rp-st{font-size:10px;font-weight:600;padding:1px 7px;border-radius:999px;border:1px solid;white-space:nowrap}
.rp-st.wait{color:#f7c968;border-color:rgba(245,184,74,.4);background:rgba(245,184,74,.12)}
.rp-st.note{color:#9dc0ff;border-color:#345086;background:rgba(91,140,255,.14)}
.rp-st.done{color:#8fe9c1;border-color:rgba(79,211,154,.35);background:rgba(79,211,154,.1)}
.rp-st.off{color:#7f8a9c;border-color:#2b3444;background:#151a23}
.rp-sendnow{min-height:30px;height:auto;padding:0 10px;font-size:11px;background:#1e2a45;border-color:#3d5c9e;color:#cfe0ff}

@media(max-width:420px){
  .rp-row{gap:4px 7px}
  .rp-sym{flex:1 0 100%;order:3}
  .rp-sendnow{margin-left:auto}
}
