/* Existing success green, restricted to inspected product controls. */
body[data-ko-surface="public"] .kd-rent-dialog .kd-rent-confirm:not(:disabled),
body[data-ko-surface="public"] .kr-extend-dialog [data-release-primary="extend"]:not(:disabled),
body[data-ko-surface="public"] .co-dialog .co-primary:not(:disabled),
body[data-ko-surface="public"] .co-page .co-primary:not(:disabled) {
  background: #22c55e !important;
  color: #08110b !important;
  border-color: #22c55e !important;
  box-shadow: none !important;
}
body[data-ko-surface="public"] .kd-rent-dialog .kd-rent-confirm:not(:disabled):hover,
body[data-ko-surface="public"] .kr-extend-dialog [data-release-primary="extend"]:not(:disabled):hover,
body[data-ko-surface="public"] .co-dialog .co-primary:not(:disabled):hover,
body[data-ko-surface="public"] .co-page .co-primary:not(:disabled):hover {
  background: #22c55e !important;
  color: #08110b !important;
  filter: brightness(1.06);
}
.profile-current .kp-topup { color: #22c55e !important; }
.profile-current .kp-topup:hover { text-decoration: underline; }
.kd-rent-dialog .kd-rent-confirm:focus-visible,
.kr-extend-dialog [data-release-primary="extend"]:focus-visible,
.co-dialog .co-primary:focus-visible,
.co-page .co-primary:focus-visible,
.profile-current .kp-topup:focus-visible {
  outline: 2px solid #22c55e !important;
  outline-offset: 3px;
}
.fr-terminate-action { position:relative; min-height:52px; white-space:nowrap; }
.kr-action-caption { display:flex; align-items:center; justify-content:center; min-height:20px; white-space:nowrap; }
.kr-action-delay { position:absolute; right:6px; top:4px; padding:2px 3px; border-radius:4px; font-size:10px; line-height:1; font-variant-numeric:tabular-nums; color:inherit; opacity:.85; }
/* Documentation only; existing page width and surrounding layout are retained. */
.fr-offline-api { padding:20px; border:1px solid #33343e; border-radius:12px; background:#151519; color:#d5d6dc; font-size:14px; line-height:1.65; }
.fr-offline-api h2 { margin:0 0 8px; font-size:20px; font-weight:600; color:#f2f2f4; }
.fr-offline-api p { margin:10px 0; }
.fr-offline-api code { font-size:12px; overflow-wrap:anywhere; white-space:normal; }
.fr-offline-api details { border-top:1px solid #33343e; padding:12px 0; }
.fr-offline-api summary { cursor:pointer; color:#ececef; font-weight:500; min-height:28px; }
.fr-offline-api summary:focus-visible { outline:2px solid #22c55e; outline-offset:3px; border-radius:3px; }
.fr-offline-endpoints { margin-top:12px; }
.fr-api-method { display:inline-block; margin-right:8px; color:#22c55e; font-size:11px; font-weight:700; }
/* Positive rental stock only; the zero-stock branch never gets this marker. */
body[data-ko-surface="public"] .group span.fr-stock-available,
body[data-ko-surface="public"] .kd-rent-dialog .kq-rent-meta span.fr-stock-available {
  background: #15803d !important;
  color: #ffffff !important;
  border-color: #22c55e !important;
  box-shadow: inset 0 0 0 1px #22c55e !important;
}
/* Same multi-select pattern in FP checker and monitor; public duration controls are untouched. */
.fr-fp-duration-group .fr-fp-duration {
  background: #1a1b23 !important;
  color: #d5d6dc !important;
  box-shadow: none !important;
}
.fr-fp-duration-group .fr-fp-duration[aria-pressed="true"],
.fr-fp-duration-group .fr-fp-duration[aria-pressed="true"]:hover {
  background: #22c55e !important;
  color: #08110b !important;
  box-shadow: inset 0 0 0 1px #22c55e !important;
}
.fr-fp-duration-group .fr-fp-duration[aria-pressed="false"]:hover { background: #27272d !important; }
.fr-fp-duration-group .fr-fp-duration:focus-visible { outline:2px solid #22c55e !important; outline-offset:3px; }
@media(min-width:1024px) {
  body[data-ko-surface="public"]:has(.kd-rent-catalog) .ko-site-header > .max-w-7xl { max-width:1600px; }
}
.ko-topup-page .ko-topup-methods button[aria-checked="true"] .ko-choice-check,
.ko-topup-page .ko-topup-currency button[aria-checked="true"] .ko-choice-check,
.ko-topup-page .ko-topup-currency button[aria-checked="true"] > svg { display:none; }

.ko-topup-page .ko-topup-choice button{grid-template-columns:minmax(0,1fr);gap:0}
.ko-topup-page .ko-topup-methods[data-options="6"]{grid-template-columns:repeat(2,minmax(0,1fr))}
.ko-topup-page .ko-topup-methods[data-options="6"] button{grid-column:auto}
@media(max-width:379px){.ko-topup-page .ko-topup-methods[data-options="6"]{grid-template-columns:minmax(0,1fr)}}
