/* Self-contained: emergency access also works without a CDN connection. */
* { box-sizing: border-box; }
body { margin: 0; background: #f5f7f6; color: #20382f; font: 15px/1.6 system-ui, -apple-system, "Segoe UI", sans-serif; }
.recovery-shell { max-width: 1050px; margin: 3rem auto; padding: 0 1.2rem; }
h1, h2, p { margin-top: 0; }
h1 { font-size: 1.75rem; font-weight: 750; letter-spacing: -.035em; line-height: 1.25; }
h2, .h5 { font-size: 1.15rem; font-weight: 650; line-height: 1.4; margin-bottom: 1rem; }
p { margin-bottom: 1rem; }
a { color: #246b52; }
.card { background: #fff; border: 1px solid #e0e7e3; border-radius: 16px; box-shadow: 0 4px 20px #20382f06; }
.step { color: #60738d; font-size: .75rem; font-weight: 650; text-transform: uppercase; letter-spacing: .09em; }
.text-secondary, .form-text { color: #607086; }
.small, .form-text { font-size: .83rem; }
.form-text { margin-top: .4rem; }
.form-label { display: block; margin-bottom: .4rem; font-weight: 600; }
.form-control, .form-select { display: block; width: 100%; max-width: 100%; min-height: 44px; padding: .65rem .8rem; font: inherit; color: #20382f; background: #fff; border: 1px solid #becbdc; border-radius: 8px; }
.form-select { text-overflow: ellipsis; }
input[type="file"]::file-selector-button { border: 0; border-radius: 5px; padding: .35rem .7rem; margin-right: .6rem; color: #246b52; background: #eaf0f9; cursor: pointer; }
:focus-visible { outline: 3px solid #74ab90; outline-offset: 3px; }
.btn { display: inline-block; padding: .65rem 1rem; border: 1px solid transparent; border-radius: 8px; font: inherit; font-weight: 600; line-height: 1.4; text-decoration: none; text-align: center; cursor: pointer; transition: background .15s; }
.btn-primary { background: #246b52; color: #fff; }
.btn-primary:hover { background: #19523d; }
.btn-danger { background: #b73137; color: #fff; }
.btn-danger:hover { background: #94252b; }
.btn-outline-primary { color: #246b52; border-color: #a9c3e6; background: #fff; }
.btn-outline-secondary { color: #43576e; border-color: #c9d4e1; background: #fff; }
.btn-outline-secondary:hover, .btn-outline-primary:hover { background: #eef3f9; }
.btn-sm { font-size: .85rem; padding: .4rem .7rem; }
button:disabled { opacity: .6; cursor: wait; }
.alert { padding: .9rem 1.1rem; margin-bottom: 1.4rem; border: 1px solid; border-radius: 10px; }
.alert-info { background: #eaf3ff; border-color: #c3daf8; color: #264d7d; }
.alert-warning { background: #fff8e6; border-color: #efdbab; color: #6e4e1b; }
.alert-success { background: #eaf7ed; border-color: #c1e0c9; color: #245d36; }
.alert-danger { background: #fceeee; border-color: #efc7c9; color: #8a292e; }
.form-check { display: flex; align-items: flex-start; gap: .6rem; }
.form-check-input { margin: .35rem 0 0; width: 18px; height: 18px; flex-shrink: 0; accent-color: #246b52; }
.table-responsive { width: 100%; overflow-x: auto; }
.table { border-collapse: collapse; width: 100%; text-align: left; margin-bottom: 1rem; }
.table th { color: #607086; font-size: .8rem; font-weight: 650; }
.table td, .table th { padding: .8rem .6rem; border-bottom: 1px solid #e7edf4; vertical-align: middle; }
.table th:first-child, .table td:first-child { padding-left: 0; }
.table td:last-child { text-align: right; }
summary { cursor: pointer; }
.break-name { overflow-wrap: anywhere; }
.text-nowrap { white-space: nowrap; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.d-flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.justify-content-between { justify-content: space-between; }
.align-items-center { align-items: center; }
.gap-3 { gap: 1rem; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: .3rem; }
.mb-2 { margin-bottom: .6rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.p-4 { padding: 1.6rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.w-100 { width: 100%; }
[hidden] { display: none !important; }
@media (max-width: 600px) {
  .recovery-shell { margin: 1.5rem auto; padding: 0 .8rem; }
  h1 { font-size: 1.45rem; }
  .p-4 { padding: 1.15rem; }
  .table { font-size: .83rem; }
}
