/* One physical read-only inspection sheet; no battle HUD or global input overrides. */
[data-inspect-hold]{position:relative}
[data-inspect-hold].r19-inspect-pending{outline:3px solid #2e7664;outline-offset:2px}
[data-inspect-hold].r19-inspect-pending::after{content:"";position:absolute;bottom:0;left:0;height:4px;width:100%;border-radius:4px;background:#2e7664;transform-origin:left;animation:r19-hold-progress var(--r19-hold-ms,560ms) linear both;pointer-events:none}
@keyframes r19-hold-progress{from{transform:scaleX(0)}to{transform:scaleX(1)}}
.r19-inspect-open{display:flex;align-items:center;justify-content:center;gap:7px;min-height:44px;min-width:44px;padding:6px 12px;border:0;border-top:1px solid #809276;background:#e4ead0;color:#284b3b;font:700 13px/1.3 system-ui,sans-serif;border-radius:0 0 9px 9px;cursor:pointer}
.ink-reward-option>.r19-inspect-open{width:100%}.r19-inspect-open small{font-size:11px;font-weight:500;color:#49634d}.r19-inspect-open:focus-visible{outline:3px solid #247b87;outline-offset:2px}
.r19-inspection-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1000;background:#102e28b8;display:flex;align-items:center;justify-content:center;padding:12px;box-sizing:border-box}
.r19-inspection-sheet{--r17-ink:#91b747;--r17-light:#edf4ce;--r17-edge:#496b35;display:flex;flex-direction:column;width:100%;max-width:520px;max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px);border:2px solid #294b3b;border-bottom:6px solid var(--r17-edge);border-radius:18px;background:#f7f4df;color:#233e31;box-shadow:0 16px 44px #061a1666;overflow:hidden;text-align:left;user-select:text}
.r19-inspection-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px 11px;background:linear-gradient(115deg,var(--r17-light),#e7edcf);border-bottom:1px solid #a8b48d;flex-shrink:0}
.r19-inspection-head small{display:block;font:700 11px/1.4 system-ui,sans-serif;color:#4b674b;letter-spacing:.04em}.r19-inspection-head h2{margin:3px 0 0;font:800 22px/1.2 system-ui,sans-serif;color:#243f32;overflow-wrap:break-word}
.r19-inspection-close{min-width:56px;min-height:44px;flex-shrink:0;border:1px solid #3b6552;border-bottom:3px solid #315a49;border-radius:9px;background:#285c4b;color:#fff8df;font:700 14px/1.2 system-ui,sans-serif;padding:8px 12px;cursor:pointer}.r19-inspection-close:focus-visible{outline:3px solid #b6d968;outline-offset:3px}
.r19-inspection-note{margin:0;padding:7px 16px;background:#dce8c8;color:#3e5b3c;font:600 12px/1.4 system-ui,sans-serif;flex-shrink:0}
.r19-inspection-body{padding:14px 16px 20px;overflow:auto;overscroll-behavior:contain;min-height:0;line-height:1.55;font-size:15px}
.r19-inspection-body .upgrade-copy{display:block}.r19-inspection-body .ink-choice-title{display:grid;grid-template-columns:68px 1fr;align-items:center;gap:4px 12px;margin-bottom:12px}.r19-inspection-body .r17-decision-art{width:68px;height:72px;grid-row:1/3;display:block}.r19-inspection-body .ink-choice-number{display:none}.r19-inspection-body .ink-choice-title>b{font-size:20px;line-height:1.25}.r19-inspection-body .ink-card-tags{display:flex;gap:7px;color:var(--r17-edge);font-size:12px}.r19-inspection-body p{margin:9px 0}.r19-inspection-body h3,.r19-inspection-body h4{font-size:16px;margin:14px 0 7px}.r19-inspection-body .ink-decision-outcome,.r19-inspection-body .owned-current{display:flex;flex-wrap:wrap;gap:7px;align-items:center;padding:10px 12px;border-radius:10px;background:#294b3d;color:#f1f7d9}.r19-inspection-body .ink-decision-outcome small,.r19-inspection-body .owned-current b{color:#cce0b6}.r19-inspection-body .ink-reward-value,.r19-inspection-body .owned-current strong{font-size:17px;color:#f8ffde}.r19-inspection-body .ink-warning,.r19-inspection-body .owned-dormant{display:block;color:#7b3a37;background:#f4dfcf;padding:8px;border-radius:8px;font-style:normal}.r19-inspection-body .ink-reward-limits,.r19-inspection-body .ink-slot-note{display:block;font-style:normal;margin-top:7px}.r19-inspection-body .ink-prerequisites{padding-left:0;list-style:none}.r19-inspection-body .ink-prerequisites li{display:flex;gap:8px;margin:5px 0}.r19-inspection-body .owned-detail{padding:0;border:0;background:none}.r19-inspection-body .owned-detail-heading{display:block}.r19-inspection-body .owned-next{border-top:1px solid #a1b18b;margin-top:14px;padding-top:8px}.r19-inspection-body summary{min-height:44px;cursor:pointer;padding:8px 2px;box-sizing:border-box}.r19-inspection-body svg.icon{width:20px;height:20px;vertical-align:middle}
@media(max-height:600px){.r19-inspection-backdrop{padding:6px}.r19-inspection-sheet{max-height:calc(100vh - 12px);max-height:calc(100dvh - 12px)}.r19-inspection-head{padding:10px 12px 8px}.r19-inspection-head h2{font-size:20px}.r19-inspection-body{padding:10px 12px 16px}}
@media(prefers-reduced-motion:reduce){[data-inspect-hold].r19-inspect-pending::after{animation:none;transform:scaleX(1)}}
/* Keep the inherited rank chip legible on the inspection's dark value strip. */
.r19-inspection-body .ink-decision-outcome .ink-level-change{color:#e2f0c6}
