/* v12.13 No-Delete Production Hardening
   Additive-only layer. No previous selector/file/template is removed or disabled. */

:root{
  --b1213-ink:#102033;
  --b1213-muted:#5b6b7d;
  --b1213-border:rgba(15,35,55,.12);
  --b1213-soft:#f5f8fb;
  --b1213-card:#ffffff;
  --b1213-blue:#0f63d6;
  --b1213-green:#128c46;
  --b1213-gold:#d9a441;
  --b1213-shadow:0 18px 48px rgba(12,31,52,.10);
}

body.b4883-v1213-production-hardening{
  text-rendering:optimizeLegibility;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

.b4883-v1213-recovery{
  direction:rtl;
  max-width:min(1120px, calc(100% - 32px));
  margin:28px auto;
  padding:clamp(18px, 3vw, 30px);
  border:1px solid var(--b1213-border);
  border-radius:28px;
  background:
    radial-gradient(circle at 10% 0%, rgba(15,99,214,.10), transparent 34%),
    linear-gradient(135deg, #fff, #f8fbff);
  box-shadow:var(--b1213-shadow);
  color:var(--b1213-ink);
}

.b4883-v1213-recovery__eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-bottom:10px;
  padding:6px 12px;
  border-radius:999px;
  background:rgba(15,99,214,.08);
  color:#0b55b8;
  font-size:.86rem;
  font-weight:850;
}

.b4883-v1213-recovery h2{
  margin:0 0 10px;
  font-size:clamp(1.35rem, 2.6vw, 2rem);
  line-height:1.45;
  letter-spacing:-.02em;
}

.b4883-v1213-recovery p{
  margin:0;
  color:var(--b1213-muted);
  line-height:2;
  max-width:760px;
}

.b4883-v1213-recovery__grid{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:12px;
  margin-top:20px;
}

.b4883-v1213-recovery__link{
  display:flex;
  min-height:84px;
  flex-direction:column;
  justify-content:center;
  gap:5px;
  padding:14px 16px;
  border:1px solid rgba(15,35,55,.10);
  border-radius:20px;
  background:rgba(255,255,255,.82);
  color:var(--b1213-ink);
  text-decoration:none;
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.b4883-v1213-recovery__link:hover,
.b4883-v1213-recovery__link:focus-visible{
  transform:translateY(-2px);
  border-color:rgba(15,99,214,.30);
  box-shadow:0 12px 30px rgba(15,99,214,.10);
  outline:none;
}

.b4883-v1213-recovery__link strong{
  font-size:1rem;
  font-weight:900;
}

.b4883-v1213-recovery__link small{
  color:var(--b1213-muted);
  line-height:1.75;
}

.b4883-v1213-recovery__actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:18px;
}

.b4883-v1213-recovery__actions a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  padding:10px 18px;
  border-radius:999px;
  text-decoration:none;
  font-weight:900;
}

.b4883-v1213-recovery__actions .is-phone{background:var(--b1213-blue);color:#fff;}
.b4883-v1213-recovery__actions .is-wa{background:var(--b1213-green);color:#fff;}
.b4883-v1213-recovery__actions .is-home{background:#eef4ff;color:#0b55b8;}

.b4883-v1213-production-note{
  direction:rtl;
  max-width:min(1120px, calc(100% - 32px));
  margin:18px auto 28px;
  padding:14px 16px;
  border:1px dashed rgba(15,99,214,.22);
  border-radius:18px;
  background:#f8fbff;
  color:#42546a;
  line-height:1.9;
  font-size:.95rem;
}

.b4883-v1213-production-note strong{color:#102033;}

/* Search and 404 visual rescue */
.search .blog-empty,
.error404 .v101-404 .v101-page{
  border:1px solid rgba(15,35,55,.10);
  border-radius:26px;
  background:linear-gradient(135deg,#fff,#f8fbff);
  box-shadow:0 14px 42px rgba(12,31,52,.08);
}

.search .search-bar-top form,
.search .search-form{
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:wrap;
}

.search input[type="search"],
.search .search-field{
  min-height:48px;
  border-radius:16px;
  border:1px solid rgba(15,35,55,.16);
  padding:10px 14px;
  background:#fff;
}

.search input[type="submit"],
.search .search-submit{
  min-height:48px;
  border:0;
  border-radius:16px;
  padding:10px 18px;
  background:var(--b1213-blue);
  color:#fff;
  font-weight:850;
  cursor:pointer;
}

/* Optional QA overlay triggered only by ?b4883qa=1 */
.b4883-v1213-qa-panel{
  position:fixed;
  inset:auto 16px 16px auto;
  z-index:999999;
  width:min(420px, calc(100vw - 32px));
  max-height:min(72vh, 620px);
  overflow:auto;
  direction:ltr;
  text-align:left;
  border:1px solid rgba(15,35,55,.18);
  border-radius:18px;
  background:#ffffff;
  box-shadow:0 24px 72px rgba(0,0,0,.22);
  color:#102033;
  font:13px/1.55 system-ui, -apple-system, Segoe UI, Arial, sans-serif;
}

.b4883-v1213-qa-panel[hidden]{display:none;}

.b4883-v1213-qa-panel__head{
  position:sticky;
  top:0;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:12px 14px;
  background:#102033;
  color:#fff;
  border-radius:18px 18px 0 0;
}

.b4883-v1213-qa-panel__head strong{font-size:14px;}
.b4883-v1213-qa-panel__head button{
  border:0;
  background:rgba(255,255,255,.14);
  color:#fff;
  border-radius:999px;
  padding:5px 9px;
  cursor:pointer;
}

.b4883-v1213-qa-panel__body{padding:12px 14px;}
.b4883-v1213-qa-row{
  display:flex;
  justify-content:space-between;
  gap:12px;
  border-bottom:1px solid rgba(15,35,55,.08);
  padding:8px 0;
}
.b4883-v1213-qa-row span:first-child{font-weight:750;color:#35475d;}
.b4883-v1213-qa-ok{color:#128c46;font-weight:850;}
.b4883-v1213-qa-warn{color:#b45309;font-weight:850;}
.b4883-v1213-qa-bad{color:#b42318;font-weight:850;}

@media (max-width: 860px){
  .b4883-v1213-recovery__grid{grid-template-columns:repeat(2, minmax(0, 1fr));}
}

@media (max-width: 560px){
  .b4883-v1213-recovery{
    max-width:calc(100% - 20px);
    margin:18px auto;
    border-radius:22px;
  }
  .b4883-v1213-recovery__grid{grid-template-columns:1fr;}
  .b4883-v1213-recovery__actions a{width:100%;}
  .b4883-v1213-qa-panel{
    inset:auto 10px 10px 10px;
    width:auto;
  }
}

@media print{
  .b4883-v1213-qa-panel,
  .b4883-v1213-recovery__actions{display:none !important;}
  .b4883-v1213-recovery{
    box-shadow:none;
    border:1px solid #ccc;
    break-inside:avoid;
  }
}
