/* SPDX-License-Identifier: LicenseRef-XRBC-Watchdog-1.0 */
/* Current action stays visible while the two people exchange their reviewed files. */
.xrbc-record-handoff .rh-next-action{margin:1rem 0;padding:1rem 1.15rem;border:2px solid #64b8ee;border-radius:12px;background:rgba(32,107,166,.1);scroll-margin-top:1.5rem}
.xrbc-record-handoff .rh-next-action h4{margin:0 0 .5rem;font-size:1.1rem;line-height:1.4}
.xrbc-record-handoff .rh-next-action p{margin:.5rem 0;max-width:78ch}
.xrbc-record-handoff .rh-next-action ol{padding-left:1.4rem;margin:.7rem 0}
.xrbc-record-handoff .rh-next-action li{margin:.4rem 0;line-height:1.6}
.xrbc-record-handoff .rh-export[data-rh-current=true]{padding:1rem;border:2px solid #64b8ee;border-radius:12px;background:rgba(32,107,166,.08)}
.xrbc-record-handoff .rh-next-button{min-height:50px;border:2px solid #8acfff;background:#16578c;color:#fff}
.xrbc-record-handoff .rh-retire-warning{padding:.85rem 1rem;border:1px solid #e9808b;border-radius:10px;background:rgba(166,46,64,.1);line-height:1.6;overflow-wrap:anywhere}
.xrbc-record-handoff .rh-approval-help{padding:.8rem 1rem;border-left:3px solid #64b8ee;border-radius:8px;background:rgba(32,107,166,.08)}
.xrbc-record-handoff .rh-resume{margin:1rem 0;padding:.8rem 0;border-top:1px solid var(--rh-line)}
.xrbc-record-handoff .rh-resume>summary{font-size:.9rem;line-height:1.5;cursor:pointer}
[data-theme=light] .xrbc-record-handoff .rh-next-action,[data-theme=light] .xrbc-record-handoff .rh-export[data-rh-current=true]{border-color:#236b9b}
[data-theme=light] .xrbc-record-handoff .rh-retire-warning{border-color:#a33a52}
.xrbc-record-handoff{--rh-line:#658095;--rh-ink:var(--text,#edf4fb);--rh-panel:var(--panel,#102434);box-sizing:border-box;color:var(--rh-ink);margin:2rem 0;padding:clamp(1rem,3vw,2rem);border:1px solid #8e9ab9;border-radius:22px;background:linear-gradient(145deg,rgba(27,67,78,.16),rgba(78,49,106,.16));scroll-margin-top:1rem}
.xrbc-record-handoff *{box-sizing:border-box}.xrbc-record-handoff [hidden]{display:none!important}.xrbc-record-handoff h2{font-size:clamp(1.7rem,3.5vw,2.6rem);line-height:1.12;max-width:20ch;margin:.45rem 0 1rem}.xrbc-record-handoff h3{font-size:clamp(1.15rem,2.4vw,1.45rem);line-height:1.25;margin:0 0 .8rem}.xrbc-record-handoff p{line-height:1.65;overflow-wrap:anywhere}.xrbc-record-handoff .rh-heading{display:grid;grid-template-columns:minmax(0,1fr) 240px;gap:clamp(1rem,3vw,2rem);align-items:center}.xrbc-record-handoff .rh-heading>div>p{max-width:69ch}.xrbc-record-handoff .rh-eyebrow{font-size:.75rem;letter-spacing:.12em;font-weight:800;color:#95c9de}.xrbc-record-handoff .rh-art{margin:0}.xrbc-record-handoff .rh-art img{display:block;width:100%;height:auto;border-radius:17px;box-shadow:0 14px 36px #0003}.xrbc-record-handoff figcaption{font-size:.76rem;text-align:center;margin:.6rem 0;line-height:1.5}.xrbc-record-handoff .rh-explainer{padding:1rem 1.1rem;border:1px solid var(--rh-line);border-radius:12px;background:rgba(126,165,194,.07);font-size:.92rem}.xrbc-record-handoff .rh-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));list-style:none;padding:0;margin:1.5rem 0;gap:.5rem}.xrbc-record-handoff .rh-steps li{padding:.7rem .5rem;border-bottom:4px solid var(--rh-line);font-size:.82rem;line-height:1.4;overflow-wrap:anywhere}.xrbc-record-handoff .rh-steps li:nth-child(1){border-color:#4cc88e}.xrbc-record-handoff .rh-steps li:nth-child(2){border-color:#5eb5ef}.xrbc-record-handoff .rh-steps li:nth-child(3){border-color:#e8c469}.xrbc-record-handoff .rh-steps li:nth-child(4){border-color:#bd9aff}.xrbc-record-handoff .rh-steps [aria-current=step]{font-weight:850;background:rgba(126,165,194,.1);border-radius:7px 7px 0 0}.xrbc-record-handoff .rh-status{margin:.75rem 0;padding:.9rem 1rem;border:1px solid var(--rh-line);border-radius:10px;min-height:3.4rem}.xrbc-record-handoff .rh-status.rh-error{border:2px solid #ea8897;background:rgba(143,45,61,.16)}.xrbc-record-handoff .rh-phase{font-size:.76rem;font-weight:750;text-transform:uppercase;letter-spacing:.08em;margin:.5rem 0}.xrbc-record-handoff .rh-wallet{font-size:.86rem;font-family:ui-monospace,SFMono-Regular,Consolas,monospace}.xrbc-record-handoff .rh-roles,.xrbc-record-handoff .rh-actions{display:flex;flex-wrap:wrap;gap:.7rem;margin:1rem 0}.xrbc-record-handoff .rh-button{min-height:46px;display:inline-flex;align-items:center;justify-content:center;gap:.4rem;padding:.75rem 1rem;border:1px solid #85a7c2;border-radius:10px;background:var(--rh-panel);color:var(--rh-ink);font:inherit;font-weight:700;line-height:1.35;text-align:center;text-decoration:none;cursor:pointer;white-space:normal}.xrbc-record-handoff .rh-sender-button{background:#146b43;border:2px solid #6ee4ac;color:#fff}.xrbc-record-handoff .rh-receiver-button{background:#16578c;border:2px solid #8acfff;color:#fff}.xrbc-record-handoff .rh-approve{background:#edcd75;border:2px solid #ffdf90;color:#222b34}.xrbc-record-handoff .rh-roles [aria-pressed=true]{outline:3px solid var(--rh-ink);outline-offset:3px}.xrbc-record-handoff :disabled{opacity:.55;cursor:not-allowed}.xrbc-record-handoff .rh-panel{margin:1.25rem 0;padding:clamp(1rem,2.6vw,1.5rem);border:1px solid var(--rh-line);border-left-width:5px;border-radius:15px;min-width:0;background:var(--rh-panel)}.xrbc-record-handoff .rh-green{border-color:#50bb8a;background:linear-gradient(110deg,rgba(24,113,73,.12),transparent),var(--rh-panel)}.xrbc-record-handoff .rh-blue{border-color:#64b8ee;background:linear-gradient(110deg,rgba(32,107,166,.12),transparent),var(--rh-panel)}.xrbc-record-handoff .rh-amber{border-color:#e7c46c;background:linear-gradient(110deg,rgba(177,125,32,.1),transparent),var(--rh-panel)}.xrbc-record-handoff .rh-violet{border-color:#b59bea;background:linear-gradient(110deg,rgba(125,76,185,.12),transparent),var(--rh-panel)}.xrbc-record-handoff .rh-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.xrbc-record-handoff .rh-field{min-width:0;margin:.7rem 0}.xrbc-record-handoff .rh-field label{display:block;font-size:.95rem;font-weight:750;margin-bottom:.55rem}.xrbc-record-handoff .rh-field input,.xrbc-record-handoff .rh-field textarea{display:block;width:100%;max-width:100%;min-width:0;min-height:46px;padding:.8rem;border:1px solid var(--rh-line);border-radius:8px;background:var(--bg,#081925);color:var(--rh-ink);font:inherit;line-height:1.5}.xrbc-record-handoff .rh-field textarea{min-height:11rem;resize:vertical;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.85rem}.xrbc-record-handoff .rh-field textarea[readonly]{min-height:9rem}.xrbc-record-handoff .rh-help{font-size:.84rem;margin:.45rem 0;line-height:1.5}.xrbc-record-handoff .rh-facts{display:grid;grid-template-columns:minmax(8rem,.35fr) minmax(0,1fr);gap:.55rem 1rem;margin:1rem 0}.xrbc-record-handoff .rh-facts dt{font-size:.86rem;font-weight:750}.xrbc-record-handoff .rh-facts dd{margin:0;overflow-wrap:anywhere;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.86rem}.xrbc-record-handoff details{padding:1rem 0}.xrbc-record-handoff summary{font-weight:750;cursor:pointer;line-height:1.5}.xrbc-record-handoff .rh-json{white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;max-height:25rem;overflow:auto;padding:1rem;border:1px solid var(--rh-line);border-radius:9px;font-size:.8rem;background:var(--bg,#081925)}.xrbc-record-handoff .rh-export{margin:1.5rem 0;padding-top:.5rem;border-top:1px solid var(--rh-line)}.xrbc-record-handoff .rh-check{display:flex;gap:.85rem;align-items:flex-start;border:1px solid var(--rh-line);border-radius:10px;padding:.85rem;margin:.7rem 0;font-size:.91rem;line-height:1.6;cursor:pointer}.xrbc-record-handoff .rh-check input{appearance:auto;flex:0 0 auto;width:22px;height:22px;margin:.2rem 0 0;accent-color:#d1ab39}.xrbc-record-handoff .rh-retire{padding:.9rem;border:2px solid #e9808b;border-radius:12px;background:rgba(166,46,64,.11);margin:1rem 0}.xrbc-record-handoff .rh-retire .rh-check{border-color:#e9808b}.xrbc-record-handoff .rh-retire input{accent-color:#bb2e49}.xrbc-record-handoff .rh-verified{font-weight:750;padding:.7rem 1rem;border:1px solid #b59bea;border-radius:10px}.xrbc-record-handoff .rh-about{border-top:1px solid var(--rh-line);margin-top:1.5rem}.xrbc-record-handoff .rh-panel>img{max-width:100%;height:auto;display:block;margin:1rem 0;border:10px solid #fff;border-radius:12px}.xrbc-record-handoff :focus-visible{outline:3px solid #70b9f5;outline-offset:3px}.xrbc-record-handoff [aria-invalid=true]{outline:3px solid #ea8897;outline-offset:2px}
@media(max-width:760px){.xrbc-record-handoff .rh-heading{grid-template-columns:1fr 150px}.xrbc-record-handoff .rh-grid{grid-template-columns:1fr}.xrbc-record-handoff .rh-steps{grid-template-columns:repeat(2,minmax(0,1fr))}.xrbc-record-handoff .rh-facts{grid-template-columns:1fr;gap:.25rem}.xrbc-record-handoff .rh-facts dd{margin-bottom:.65rem}.xrbc-record-handoff .rh-field textarea{font-size:16px}.xrbc-record-handoff .rh-actions>.rh-button{flex:1 1 100%}}
@media(max-width:480px){.xrbc-record-handoff .rh-heading{grid-template-columns:1fr}.xrbc-record-handoff .rh-art{width:160px}.xrbc-record-handoff .rh-roles>.rh-button{flex:1 1 100%}.xrbc-record-handoff .rh-steps{grid-template-columns:repeat(2,minmax(0,1fr))}.xrbc-record-handoff h2{max-width:none}}
@media(prefers-reduced-motion:reduce){.xrbc-record-handoff *{scroll-behavior:auto!important}}
[data-theme=light] .xrbc-record-handoff{--rh-ink:#152d40;--rh-panel:#f5f9fc;--rh-line:#8ca4b7}[data-theme=light] .xrbc-record-handoff .rh-eyebrow{color:#235e7d}
.xrbc-record-handoff .rh-records{margin:1rem 0;padding:.85rem;border:1px solid #50bb8a;border-radius:10px}.xrbc-record-handoff .rh-records label{display:block;font-weight:750;margin-bottom:.5rem}.xrbc-record-handoff .rh-records select{width:100%;min-width:0;max-width:100%;min-height:46px;padding:.75rem;border:1px solid var(--rh-line);border-radius:8px;background:var(--bg,#081925);color:var(--rh-ink);font:inherit}.xrbc-record-handoff .rh-records option{overflow-wrap:anywhere}
.xrbc-record-handoff .rh-issuer-note{padding:.85rem;border:1px solid #e7c46c;border-radius:10px;background:rgba(177,125,32,.12)}.xrbc-record-handoff .rh-failure{border-color:#e9808b;background:linear-gradient(110deg,rgba(166,46,64,.12),transparent),var(--rh-panel)}.xrbc-record-handoff .rh-failed{font-weight:750;padding:.8rem 1rem;border:1px solid #e9808b;border-radius:10px}
.xrbc-record-handoff .rh-wallet-help{padding:.85rem 1rem;border-left:3px solid #42d59d;background:rgba(66,213,157,.07);border-radius:.55rem}
.xrbc-record-handoff .rh-records select{width:100%;min-height:2.8rem}
.xrbc-record-handoff .rh-selected-record{font-size:.85rem;overflow-wrap:anywhere;color:var(--rh-text,inherit);padding:.65rem 0;margin-bottom:0}

/* Simple handoff keeps the guided file exchange apart from specialist inputs. */
.xrbc-record-handoff .rh-mode-switch,
.xrbc-record-handoff .rh-modes {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:.75rem;
  margin:1.5rem 0 .75rem;
  max-width:48rem;
}
.xrbc-record-handoff .rh-mode-switch .rh-button,
.xrbc-record-handoff .rh-modes .rh-button {
  min-height:52px;
  border-width:2px;
  justify-content:flex-start;
  text-align:left;
}
.xrbc-record-handoff .rh-simple-mode {
  border-color:#63d99f;
  background:linear-gradient(120deg,rgba(39,146,92,.18),transparent),var(--rh-panel);
}
.xrbc-record-handoff .rh-specialist-mode {
  border-color:#e58d9b;
  background:linear-gradient(120deg,rgba(165,58,80,.15),transparent),var(--rh-panel);
}
.xrbc-record-handoff .rh-simple-mode[aria-pressed=true] {
  color:#fff;
  background:#14613e;
  border-color:#83edb7;
  outline:2px solid #83edb7;
  outline-offset:3px;
}
.xrbc-record-handoff .rh-specialist-mode[aria-pressed=true] {
  color:#fff;
  background:#852940;
  border-color:#ffb1bd;
  outline:2px solid #ffb1bd;
  outline-offset:3px;
}
.xrbc-record-handoff .rh-mode-help {
  max-width:76ch;
  margin:.75rem 0 1.25rem;
  padding:.85rem 1rem;
  border:1px solid #63d99f;
  border-left-width:4px;
  border-radius:10px;
  background:rgba(39,146,92,.07);
  font-size:.9rem;
}
.xrbc-record-handoff[data-rh-mode=specialist] .rh-mode-help {
  border-color:#e58d9b;
  background:rgba(165,58,80,.07);
}
.xrbc-record-handoff[data-rh-mode=simple] .rh-specialist-only,
.xrbc-record-handoff[data-rh-mode=simple] .rh-specialist {
  display:none!important;
}
.xrbc-record-handoff .rh-step-two {
  margin-top:1.25rem;
  padding-top:1.25rem;
  border-top:1px solid #64b8ee;
  min-width:0;
}
.xrbc-record-handoff .rh-file-action,
.xrbc-record-handoff .rh-file-row {
  display:grid;
  grid-template-columns:minmax(0,1fr);
  gap:.55rem;
  min-width:0;
  max-width:100%;
  margin:1rem 0;
  padding:1rem;
  border:1px solid #64b8ee;
  border-left-width:4px;
  border-radius:12px;
  background:linear-gradient(115deg,rgba(35,112,168,.1),transparent),var(--rh-panel);
}
.xrbc-record-handoff .rh-file-action label,
.xrbc-record-handoff .rh-file-row label {
  display:block;
  font-weight:750;
  line-height:1.5;
  overflow-wrap:anywhere;
}
.xrbc-record-handoff .rh-file-action input[type=file],
.xrbc-record-handoff .rh-file-row input[type=file] {
  display:block;
  width:100%;
  max-width:100%;
  min-width:0;
  min-height:48px;
  padding:.35rem;
  border:1px solid var(--rh-line);
  border-radius:9px;
  background:var(--bg,#081925);
  color:var(--rh-ink);
  font:inherit;
  font-size:.9rem;
  line-height:1.5;
  text-overflow:ellipsis;
}
.xrbc-record-handoff .rh-file-action input[type=file]::file-selector-button,
.xrbc-record-handoff .rh-file-row input[type=file]::file-selector-button {
  min-height:42px;
  margin-right:.7rem;
  padding:.55rem .85rem;
  border:1px solid #8acfff;
  border-radius:6px;
  background:#16578c;
  color:#fff;
  font:inherit;
  font-weight:700;
  cursor:pointer;
}
.xrbc-record-handoff .rh-file-note {
  margin:0;
  font-size:.85rem;
  line-height:1.6;
  overflow-wrap:anywhere;
}
.xrbc-record-handoff .rh-steps .rh-step {
  min-width:0;
  padding:.85rem .7rem;
}
.xrbc-record-handoff .rh-steps [aria-current=step] {
  box-shadow:inset 0 0 0 1px var(--rh-line);
}
.xrbc-record-handoff .rh-button:not(:disabled):hover {
  filter:brightness(1.1);
}
.xrbc-record-handoff .rh-file-action input[type=file]:disabled::file-selector-button,
.xrbc-record-handoff .rh-file-row input[type=file]:disabled::file-selector-button {
  cursor:not-allowed;
}
[data-theme=light] .xrbc-record-handoff .rh-simple-mode:not([aria-pressed=true]) {
  border-color:#22734c;
}
[data-theme=light] .xrbc-record-handoff .rh-specialist-mode:not([aria-pressed=true]) {
  border-color:#a33a52;
}
[data-theme=light] .xrbc-record-handoff .rh-mode-help {
  border-color:#22734c;
}
[data-theme=light] .xrbc-record-handoff[data-rh-mode=specialist] .rh-mode-help {
  border-color:#a33a52;
}
@media(max-width:560px) {
  .xrbc-record-handoff .rh-mode-switch,
  .xrbc-record-handoff .rh-modes {
    grid-template-columns:minmax(0,1fr);
  }
  .xrbc-record-handoff .rh-mode-switch .rh-button,
  .xrbc-record-handoff .rh-modes .rh-button {
    justify-content:center;
    text-align:center;
  }
  .xrbc-record-handoff .rh-file-action,
  .xrbc-record-handoff .rh-file-row {
    padding:.75rem;
  }
  .xrbc-record-handoff .rh-file-action input[type=file],
  .xrbc-record-handoff .rh-file-row input[type=file] {
    font-size:16px;
  }
}
