/* BeriMesto public styles. One shared file, no temporary step-patches. */
:root {
  --bm-bg:#f6f7fb; --bm-surface:#fff; --bm-text:#111827; --bm-muted:#6b7280;
  --bm-line:#dfe3ea; --bm-soft:#f8fafc; --bm-primary:#01387C;
  --bm-primary-soft:rgba(1,56,124,.08); --bm-success:#16a34a; --bm-success-soft:rgba(34,197,94,.11);
  --bm-danger:#ef4444; --bm-danger-soft:rgba(239,68,68,.11); --bm-radius-md:18px; --bm-radius-lg:24px;
  --bm-shadow-card:0 16px 36px rgba(15,23,42,.055);
  --bm-shadow-hover:0 22px 46px rgba(15,23,42,.10); --bm-container:1180px;
  --bm-font:"Golos Text",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
*,*::before,*::after{box-sizing:border-box}
html{min-height:100%;-webkit-text-size-adjust:100%;background:var(--bm-bg)}
body{min-height:100%;margin:0;color:var(--bm-text);background:var(--bm-bg);font-family:var(--bm-font);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
img,svg{display:block;max-width:100%}a{color:inherit}button,input,select,textarea{font:inherit}
.bm-site-shell{min-height:100vh;padding-top:40px}
.bm-container{width:100%;max-width:var(--bm-container);margin:0 auto;padding:0 20px}
.bm-page{padding:0 0 70px}

/* Shared navigation copied from the old Webflow site. */
.bm-top-nav{width:100%;border-bottom:1px solid #e5e7eb;background:rgba(255,255,255,.92);backdrop-filter:blur(10px);position:sticky;top:0;z-index:9998}
.bm-top-nav-inner{max-width:1180px;margin:0 auto;padding:14px 20px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.bm-top-brand{display:inline-flex;align-items:center;gap:12px;text-decoration:none;color:#111827;font-size:23px;font-weight:700;letter-spacing:-.03em}
.bm-top-brand-mark{width:38px;height:38px;border-radius:14px;background:linear-gradient(135deg,#0B4A8A 0%,#002A5E 100%);color:#fff;display:inline-flex;align-items:center;justify-content:center;flex:0 0 38px;box-shadow:0 8px 18px rgba(1,56,124,.18)}
.bm-top-brand-mark svg{width:25px;height:25px}
.bm-top-brand-text{display:inline-flex;align-items:baseline;white-space:nowrap}
.bm-top-brand-accent{color:#01387C}
.bm-top-links{display:flex;align-items:center;gap:10px}
.bm-top-link{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 16px;border-radius:14px;text-decoration:none;color:#4b5563;font-size:15px;font-weight:600;white-space:nowrap;transition:background-color .2s ease,color .2s ease}
.bm-top-link:hover{background:#f3f4f6;color:#111827}
.bm-top-link.is-active{background:#eef3f7;color:#01387C;font-weight:700}
.bm-bottom-nav{position:fixed;left:0;right:0;bottom:0;height:76px;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);border-top:1px solid #e5e7eb;display:none;align-items:center;justify-content:space-around;z-index:9999;padding-bottom:env(safe-area-inset-bottom)}
.bm-nav-btn{flex:1;height:100%;border:0;background:transparent;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px;text-decoration:none;color:#6b7280;font-size:11px;font-weight:600}
.bm-nav-btn.is-active{color:#01387C}
.bm-nav-icon{width:22px;height:22px;display:inline-flex;align-items:center;justify-content:center}
.bm-nav-icon svg{width:22px;height:22px;stroke:currentColor;fill:none;stroke-linecap:round;stroke-linejoin:round}

/* Shared controls used by the other public pages. */
.bm-card{border:1px solid var(--bm-line);border-radius:18px;background:var(--bm-surface);box-shadow:var(--bm-shadow-card)}
.bm-btn,.bm-wf-btn,.bm-wf-price-link{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:0 18px;border:1px solid var(--bm-line);border-radius:12px;background:var(--bm-surface);color:var(--bm-text);text-decoration:none;font-size:13px;font-weight:700;cursor:pointer;transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease,background-color .16s ease,color .16s ease}
.bm-btn-primary,.bm-wf-btn-primary,.bm-wf-price-link{border-color:var(--bm-primary);background:var(--bm-primary);color:#fff;box-shadow:0 12px 28px rgba(1,56,124,.20)}
.bm-btn:hover,.bm-wf-btn:hover,.bm-wf-price-link:hover{transform:translateY(-2px)}
.bm-btn-primary:hover,.bm-wf-btn-primary:hover,.bm-wf-price-link:hover{box-shadow:0 16px 32px rgba(1,56,124,.26)}
.bm-muted{color:var(--bm-muted)}
.bm-dot{width:7px;height:7px;border-radius:999px;background:var(--bm-success);flex:0 0 auto}
.bm-pill{display:inline-flex;align-items:center;min-height:28px;padding:0 11px;border:1px solid var(--bm-line);border-radius:999px;background:var(--bm-soft);color:var(--bm-text);font-size:12px;font-weight:700}
.bm-pill-success{border-color:rgba(22,163,74,.22);background:var(--bm-success-soft);color:var(--bm-success)}
@media (hover:hover) and (pointer:fine){.bm-hover-card{transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;will-change:transform}.bm-hover-card:hover{transform:translateY(-4px);border-color:rgba(1,56,124,.22);box-shadow:var(--bm-shadow-hover)}.bm-hover-row{transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease;will-change:transform}.bm-hover-row:hover{transform:translateX(3px);border-color:rgba(1,56,124,.22);box-shadow:0 14px 30px rgba(15,23,42,.08)}}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{transition:none;scroll-behavior:auto}.bm-btn:hover,.bm-wf-btn:hover,.bm-wf-price-link:hover,.bm-hover-card:hover,.bm-hover-row:hover{transform:none}}
@media screen and (max-width:767px){.bm-container{padding-left:16px;padding-right:16px}.bm-top-nav{display:none}.bm-bottom-nav{display:flex}body{padding-bottom:92px!important}}
@media screen and (min-width:768px){.bm-top-nav{display:block}.bm-bottom-nav{display:none!important}}

/* --------------------------------------------------------------------------
   Home page — approved Step 45C preview
   -------------------------------------------------------------------------- */
.bm-page-home{padding:0}
.bm-home-wrap{padding:34px 0 96px}
.bm-hero{padding:52px 0 40px;text-align:center}
.bm-hero-badge{display:inline-flex;align-items:center;gap:10px;padding:10px 18px;background:#eef3f7;color:#01387C;border-radius:999px;font-size:15px;font-weight:700;margin-bottom:24px}
.bm-hero-badge-dot{width:10px;height:10px;border-radius:50%;background:#22c55e;flex:0 0 10px}
.bm-hero-title{margin:0 auto 16px;max-width:860px;font-size:66px;line-height:.98;font-weight:700;letter-spacing:-.035em;color:#111827}
.bm-hero-title-accent{color:#01387C}
.bm-hero-text{margin:0 auto;max-width:760px;font-size:24px;line-height:1.5;color:#6b7280}
.bm-hero-actions{display:flex;justify-content:center;gap:14px;margin-top:30px;flex-wrap:wrap}
.bm-home-btn{display:inline-flex;align-items:center;justify-content:center;min-height:54px;padding:0 28px;border-radius:16px;font-size:16px;font-weight:700;text-decoration:none;transition:background-color .2s ease,transform .2s ease;border:1px solid transparent}
.bm-home-btn-primary{background:#01387C;color:#fff}
.bm-home-btn-primary:hover{background:#002A5E;transform:translateY(-1px)}
.bm-home-btn-secondary{background:#fff;color:#111827;border-color:#e5e7eb}
.bm-home-btn-secondary:hover{background:#f9fafb}
.bm-features{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:22px;margin-bottom:56px}
.bm-feature-card{background:#fff;border:1px solid #e5e7eb;border-radius:22px;padding:22px;box-shadow:0 10px 30px rgba(17,24,39,.06)}
.bm-feature-head{display:flex;align-items:center;gap:14px;margin-bottom:14px}
.bm-feature-icon{width:50px;height:50px;border-radius:16px;background:#eef3f7;display:flex;align-items:center;justify-content:center;flex:0 0 50px;color:#01387C}
.bm-feature-icon svg{width:22px;height:22px;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round}
.bm-feature-title{margin:0;font-size:24px;line-height:1.2;font-weight:700;color:#111827}
.bm-feature-text{margin:0;color:#6b7280;font-size:16px;line-height:1.55}
.bm-section-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}
.bm-section-title{margin:0;font-size:44px;line-height:1.04;font-weight:700;letter-spacing:-.035em;color:#111827}
.bm-section-link{text-decoration:none;color:#01387C;font-weight:700;font-size:16px;white-space:nowrap}
.bm-warehouses-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.warehouse-card{position:relative;background:#fff;border:1px solid #e5e7eb;border-radius:24px;overflow:hidden;box-shadow:0 10px 30px rgba(17,24,39,.06);transition:transform .2s ease,box-shadow .2s ease;cursor:pointer;text-decoration:none;color:inherit;display:block;padding:0!important}
.warehouse-card:hover{transform:translateY(-3px);box-shadow:0 18px 40px rgba(17,24,39,.1)}
.warehouse-photo-wrap{width:100%!important;padding:0!important;margin:0!important;display:block;line-height:0;overflow:hidden;position:relative;aspect-ratio:16/9;background:#e5e7eb}
.warehouse-photo{width:100%!important;height:100%!important;margin:0!important;display:block!important;object-fit:cover}
.warehouse-photo-soon{width:100%;height:100%;display:flex;align-items:center;justify-content:center;background:linear-gradient(180deg,#eef3f7 0%,#f8fafc 100%);color:#01387C;text-align:center;font-size:28px;line-height:1.1;font-weight:700;letter-spacing:-.035em;padding:24px}
.warehouse-badge{position:absolute;top:16px;left:16px;display:inline-flex;align-items:center;gap:8px;padding:8px 12px;background:rgba(236,253,245,.96);color:#15803d;font-size:14px;font-weight:700;border-radius:999px;backdrop-filter:blur(8px)}
.warehouse-badge.is-soon{background:rgba(238,241,255,.96);color:#01387C}
.warehouse-badge-dot{width:8px;height:8px;border-radius:50%;background:#22c55e}
.warehouse-badge.is-soon .warehouse-badge-dot{background:#01387C}
.warehouse-body{padding:22px}
.warehouse-address{margin:0 0 10px;color:#111827;font-size:24px;line-height:1.2;font-weight:700;letter-spacing:-.035em}
.warehouse-desc{margin:0 0 14px;color:#6b7280;font-size:15px;line-height:1.45}
.warehouse-meta{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:18px}
.warehouse-meta-item{padding:10px 14px;border-radius:999px;background:#f8fafc;border:1px solid #e5e7eb;font-size:14px;font-weight:600;color:#334155}
.warehouse-footer{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}
.warehouse-open-btn{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:0 18px;border-radius:14px;background:#01387C;color:#fff;text-decoration:none;font-weight:700;transition:background-color .2s ease;font-size:14px}
.warehouse-open-btn:hover{background:#002A5E}
.warehouse-open-btn.is-soon{background:#eef3f7;color:#01387C}

@media screen and (max-width:991px){.bm-hero-title{font-size:54px}.bm-hero-text{font-size:21px}.bm-features,.bm-warehouses-grid{grid-template-columns:1fr}}
@media screen and (max-width:767px){
  .bm-home-wrap{padding:16px 0 112px}
  .bm-hero{padding:18px 0 22px;text-align:left}
  .bm-hero-badge{margin-bottom:14px;font-size:12px;padding:8px 12px;gap:8px}
  .bm-hero-badge-dot{width:8px;height:8px;flex-basis:8px}
  .bm-hero-title{font-size:34px;line-height:.98;max-width:none;margin-bottom:12px}
  .bm-hero-text{max-width:none;font-size:16px;line-height:1.5}
  .bm-hero-actions{justify-content:flex-start;margin-top:20px;gap:10px}
  .bm-home-btn{width:100%;min-height:50px;border-radius:15px;font-size:15px}
  .bm-features{gap:12px;margin-top:12px;margin-bottom:34px}
  .bm-feature-head{gap:12px;margin-bottom:12px}
  .bm-feature-card{padding:18px;border-radius:20px}
  .bm-feature-icon{width:46px;height:46px;flex-basis:46px;border-radius:14px}
  .bm-feature-title{font-size:20px}
  .bm-feature-text{font-size:14px;line-height:1.5}
  .bm-section-head{margin-bottom:14px;align-items:center}
  .bm-section-title{font-size:26px;line-height:1.05}
  .bm-section-link{font-size:14px}
  .bm-warehouses-grid{gap:16px}
  .warehouse-card{border-radius:22px}
  .warehouse-badge{top:12px;left:12px;padding:7px 11px;font-size:13px;gap:7px}
  .warehouse-body{padding:16px}
  .warehouse-address{font-size:18px;margin-bottom:4px}
  .warehouse-desc{font-size:13px;margin-bottom:8px;line-height:1.32}
  .warehouse-meta{margin-bottom:0;gap:6px;flex:0 0 auto}
  .warehouse-meta-item{padding:6px 10px;font-size:12px}
  .warehouse-footer{justify-content:flex-start;gap:8px;flex-wrap:nowrap;overflow:hidden}
  .warehouse-open-btn{margin-top:10px;width:100%;min-height:48px;font-size:15px}
  .warehouse-photo-soon{font-size:22px}
}

/* --------------------------------------------------------------------------
   Sklad detail page — unified with the approved homepage
   -------------------------------------------------------------------------- */

.bm-back-link {
  display: inline-flex;
  align-items: center;
  margin: 0 0 20px;
  color: var(--bm-primary);
  text-decoration: none;
  font-size: 15px;
  line-height: 1.3;
  font-weight: 700;
}

.bm-sklad-detail {
  padding: 40px 0 96px;
}

.bm-sklad-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(340px, .9fr);
  gap: 24px;
  align-items: stretch;
}

.bm-sklad-photo-card {
  min-height: 440px;
  overflow: hidden;
  border: 1px solid var(--bm-line);
  border-radius: 26px;
  background: #eef3ff;
  box-shadow: 0 12px 34px rgba(17, 24, 39, .065);
}

.bm-sklad-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bm-sklad-photo-placeholder {
  width: 100%;
  height: 100%;
  min-height: 440px;
  display: grid;
  place-items: center;
  color: var(--bm-primary);
  font-size: 28px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -.035em;
}

.bm-sklad-info-card {
  padding: 30px;
  border-radius: 26px;
  box-shadow: 0 12px 34px rgba(17, 24, 39, .065);
}

.bm-sklad-info-card h1 {
  margin: 0 0 10px;
  color: var(--bm-text);
  font-size: 40px;
  line-height: 1.02;
  letter-spacing: -.04em;
  font-weight: 700;
}

.bm-sklad-address {
  margin: 0 0 18px;
  color: var(--bm-muted);
  font-size: 15px;
  line-height: 1.45;
  font-weight: 600;
}

.bm-sklad-description {
  margin: 0;
  color: var(--bm-muted);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
}

.bm-sklad-pills {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.bm-sklad-rules {
  margin-top: 22px;
  padding: 18px;
  border: 1px solid var(--bm-line);
  border-radius: 18px;
  background: var(--bm-soft);
  color: var(--bm-muted);
  font-size: 15px;
  line-height: 1.52;
  font-weight: 400;
}

.bm-sklad-rules strong {
  display: block;
  margin-bottom: 8px;
  color: var(--bm-text);
  font-size: 16px;
  font-weight: 700;
}

.bm-sklad-rules span {
  display: block;
}

.bm-sklad-cells {
  margin-top: 26px;
  padding: 28px;
  border-radius: 26px;
  box-shadow: 0 12px 34px rgba(17, 24, 39, .055);
}

.bm-sklad-cells-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.bm-sklad-cells-heading h2 {
  margin: 0;
  color: var(--bm-text);
  font-size: 40px;
  line-height: 1.04;
  letter-spacing: -.04em;
  font-weight: 700;
}

.bm-sklad-cells-heading span {
  color: var(--bm-muted);
  font-size: 14px;
  line-height: 1.4;
  font-weight: 500;
  white-space: nowrap;
}

.bm-sklad-cell-list {
  display: grid;
  gap: 12px;
}

.bm-sklad-cell-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 190px;
  gap: 18px;
  align-items: center;
  min-height: 112px;
  padding: 18px;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  background: var(--bm-surface);
  box-shadow: 0 4px 14px rgba(17, 24, 39, .025);
}

.bm-sklad-cell-size {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 17px;
  background: #f3f6fb;
  color: var(--bm-primary);
  text-align: center;
  font-size: 15px;
  line-height: 1.05;
  font-weight: 700;
}

.bm-sklad-cell-main {
  min-width: 0;
}

.bm-sklad-cell-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 9px;
}

.bm-sklad-cell-title strong {
  color: var(--bm-text);
  font-size: 18px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -.025em;
}

.bm-sklad-cell-main p {
  max-width: 720px;
  margin: 0;
  color: var(--bm-muted);
  font-size: 15px;
  line-height: 1.5;
  font-weight: 400;
}

.bm-status {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 11px;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
}

.bm-status-success {
  background: var(--bm-success-soft);
  color: var(--bm-success);
}

.bm-status-danger {
  background: var(--bm-danger-soft);
  color: var(--bm-danger);
}

.bm-sklad-cell-action {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 12px;
  padding-right: 4px;
}

.bm-sklad-price {
  color: var(--bm-text);
  text-align: right;
  font-size: 25px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -.035em;
}

.bm-sklad-price span {
  display: block;
  margin-top: 6px;
  color: var(--bm-muted);
  font-size: 11px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: 0;
}

.bm-sklad-cell-action .bm-btn,
.bm-sklad-cell-action .bm-wf-btn,
.bm-sklad-cell-action .bm-wf-price-link {
  min-width: 164px;
  min-height: 48px;
  justify-content: center;
}

.bm-btn-disabled,
.bm-btn-disabled:hover {
  border-color: #eef1f5;
  background: #eef1f5;
  color: #9ca3af;
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

.bm-sklad-empty-list,
.bm-empty-card {
  padding: 22px;
  color: var(--bm-muted);
  font-size: 15px;
  line-height: 1.5;
  font-weight: 400;
}

.bm-empty-state {
  padding: 40px 0 96px;
}

.bm-empty-card h1 {
  margin: 0 0 10px;
  color: var(--bm-text);
  font-size: 40px;
  line-height: 1.04;
  letter-spacing: -.035em;
  font-weight: 700;
}

.bm-empty-card p {
  margin: 0 0 18px;
}

.bm-toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  z-index: 1000;
  display: none;
  max-width: min(520px, calc(100vw - 30px));
  padding: 13px 16px;
  border-radius: 14px;
  background: var(--bm-text);
  color: #fff;
  box-shadow: 0 20px 44px rgba(15, 23, 42, .22);
  font-size: 13px;
  line-height: 1.35;
  font-weight: 700;
  transform: translateX(-50%);
}

.bm-toast.is-visible {
  display: block;
}

@media screen and (max-width: 767px) {
  /* /sklad — exact compact mobile grid from the old Webflow page. */
  .bm-body-sklady .bm-sklad-detail {
    padding: 14px 0 112px;
  }

  .bm-body-sklady .bm-back-link {
    margin-bottom: 12px;
    font-size: 14px;
  }

  .bm-body-sklady .bm-sklad-hero {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .bm-body-sklady .bm-sklad-photo-card,
  .bm-body-sklady .bm-sklad-photo-placeholder {
    min-height: 190px;
    border-radius: 22px;
  }

  .bm-body-sklady .bm-sklad-info-card,
  .bm-body-sklady .bm-sklad-cells {
    padding: 14px;
    border-radius: 22px;
  }

  .bm-body-sklady .bm-sklad-info-card h1 {
    margin-bottom: 8px;
    font-size: 28px;
    line-height: 1.02;
    letter-spacing: -.035em;
  }

  .bm-body-sklady .bm-sklad-address {
    margin-bottom: 10px;
    font-size: 15px;
  }

  .bm-body-sklady .bm-sklad-description {
    font-size: 14px;
    line-height: 1.55;
  }

  .bm-body-sklady .bm-sklad-pills {
    gap: 8px;
    margin-top: 14px;
  }

  .bm-body-sklady .bm-sklad-pills .bm-pill {
    min-height: 32px;
    padding: 0 12px;
    font-size: 13px;
  }

  .bm-body-sklady .bm-sklad-rules {
    margin-top: 14px;
    padding: 12px;
    border-radius: 14px;
    font-size: 13px;
    line-height: 1.45;
  }

  .bm-body-sklady .bm-sklad-rules strong {
    margin-bottom: 6px;
    font-size: 15px;
  }

  .bm-body-sklady .bm-sklad-cells {
    margin-top: 18px;
  }

  .bm-body-sklady .bm-sklad-cells-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 12px;
  }

  .bm-body-sklady .bm-sklad-cells-heading h2 {
    font-size: 22px;
  }

  .bm-body-sklady .bm-sklad-cells-heading span {
    font-size: 13px;
    white-space: normal;
  }

  .bm-body-sklady .bm-sklad-cell-list {
    gap: 12px;
  }

  .bm-body-sklady .bm-sklad-cell-row {
    grid-template-columns: 56px minmax(0, 1fr) auto;
    grid-template-areas:
      "size top price"
      "size meta price"
      "size action action";
    gap: 8px 10px;
    align-items: start;
    min-height: 0;
    padding: 12px;
    border-radius: 18px;
  }

  .bm-body-sklady .bm-sklad-cell-size {
    grid-area: size;
    width: 48px;
    height: 48px;
    padding: 4px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.1;
  }

  .bm-body-sklady .bm-sklad-cell-main,
  .bm-body-sklady .bm-sklad-cell-action {
    display: contents;
  }

  .bm-body-sklady .bm-sklad-cell-title {
    grid-area: top;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin: 0;
  }

  .bm-body-sklady .bm-sklad-cell-title strong {
    font-size: 17px;
    line-height: 1.15;
  }

  .bm-body-sklady .bm-status {
    min-height: 22px;
    padding: 0 8px;
    font-size: 11px;
  }

  .bm-body-sklady .bm-sklad-cell-main p {
    grid-area: meta;
    font-size: 12px;
    line-height: 1.35;
  }

  .bm-body-sklady .bm-sklad-price {
    grid-area: price;
    align-self: start;
    text-align: right;
    font-size: 16px;
    line-height: 1.1;
  }

  .bm-body-sklady .bm-sklad-price span {
    margin-top: 3px;
    font-size: 11px;
  }

  .bm-body-sklady .bm-sklad-cell-action .bm-btn,
  .bm-body-sklady .bm-sklad-cell-action .bm-wf-btn,
  .bm-body-sklady .bm-sklad-cell-action .bm-wf-price-link {
    grid-area: action;
    min-width: 0;
    min-height: 36px;
    width: auto;
    justify-self: end;
    padding: 0 14px;
    border-radius: 10px;
    font-size: 13px;
  }
}


/* BM STEP 52B — canonical public cell states */
.bm-status-reserved {
  background: #fff5d9;
  color: #b66a00;
}

.bm-status-own {
  background: #eef3f7;
  color: #4053df;
}

.bm-btn-cell-own,
.bm-btn-cell-own:hover {
  border-color: #d5e0eb;
  background: #eef3f7;
  color: #4053df;
  box-shadow: none;
}

.bm-btn-cell-state,
.bm-btn-cell-state:hover {
  border-color: #eef1f5;
  background: #eef1f5;
  color: #5f6877;
  box-shadow: none;
  cursor: default;
  transform: none;
}

/* End Sklad detail page */

/* --------------------------------------------------------------------------
   Reserve modal
   -------------------------------------------------------------------------- */

.bm-reserve-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10010;
  background: rgba(17, 24, 39, .38);
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease;
}

.bm-reserve-backdrop.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.bm-reserve-modal {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10020;
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 0 14px calc(14px + env(safe-area-inset-bottom));
  pointer-events: none;
  transform: translateY(110%);
  transition: transform .24s ease;
}

.bm-reserve-modal.is-visible {
  pointer-events: auto;
  transform: translateY(0);
}

.bm-reserve-card {
  width: 100%;
  max-width: 700px;
  padding: 20px;
  border: 1px solid var(--bm-line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 -12px 34px rgba(17, 24, 39, .16);
}

.bm-reserve-card.is-success {
  max-width: 500px;
  padding: 24px 22px 22px;
}

.bm-reserve-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.bm-reserve-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin-bottom: 14px;
  padding: 0 13px;
  border-radius: 999px;
  background: var(--bm-primary-soft);
  color: var(--bm-primary);
  font-size: 12px;
  font-weight: 900;
}

.bm-reserve-title {
  margin: 0;
  color: var(--bm-text);
  font-size: 30px;
  line-height: 1;
 
  letter-spacing: -.035em;
 
  font-weight: 700;
}

.bm-reserve-close {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border: 1px solid var(--bm-line);
  border-radius: 999px;
  background: #fff;
  color: var(--bm-text);
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}

.bm-reserve-text {
  margin: 0 0 18px;
  color: var(--bm-muted);
  font-size: 16px;
  line-height: 1.5;
  font-weight: 520;
}

.bm-reserve-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.bm-reserve-info {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 76px;
  padding: 14px;
  border: 1px solid var(--bm-line);
  border-radius: 14px;
  background: var(--bm-soft);
}

.bm-reserve-info-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  border-radius: 12px;
  background: var(--bm-primary-soft);
  color: var(--bm-primary);
  font-size: 18px;
  font-weight: 900;
}

.bm-reserve-info-label {
  margin-bottom: 4px;
  color: var(--bm-muted);
  font-size: 12px;
  line-height: 1;
  font-weight: 750;
}

.bm-reserve-info-value {
  color: var(--bm-text);
  font-size: 17px;
  line-height: 1.15;
  font-weight: 950;
}

.bm-reserve-label {
  display: block;
  margin: 0 0 8px;
  color: var(--bm-text);
  font-size: 14px;
  font-weight: 900;
}

.bm-reserve-input-wrap {
  position: relative;
}

.bm-reserve-input-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  color: var(--bm-muted);
  font-size: 17px;
  line-height: 1;
  pointer-events: none;
  transform: translateY(-50%);
}

.bm-reserve-input {
  width: 100%;
  min-height: 54px;
  padding: 0 16px 0 46px;
  border: 1px solid #c7cdfd;
  border-radius: 14px;
  background: #fff;
  color: var(--bm-text);
  font-size: 15px;
  font-weight: 650;
  outline: none;
}

.bm-reserve-input:focus {
  border-color: var(--bm-primary);
  box-shadow: 0 0 0 3px rgba(1,56,124,.10);
}

.bm-reserve-hint {
  margin-top: 9px;
  color: var(--bm-muted);
  font-size: 12px;
  line-height: 1.35;
  font-weight: 600;
}

.bm-reserve-message {
  min-height: 20px;
  margin-top: 8px;
  color: var(--bm-danger);
  font-size: 12.5px;
  line-height: 1.35;
  font-weight: 750;
}

.bm-reserve-message.is-success {
  color: var(--bm-success);
}

.bm-reserve-actions {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 10px;
  margin-top: 10px;
}

.bm-reserve-submit,
.bm-reserve-cancel,
.bm-reserve-success-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 18px;
  border-radius: 14px;
  text-decoration: none;
  font-size: 15px;
  line-height: 1;
  font-weight: 950;
  cursor: pointer;
}

.bm-reserve-submit {
  border: 1px solid var(--bm-primary);
  background: var(--bm-primary);
  color: #fff;
  box-shadow: 0 14px 30px rgba(1,56,124,.22);
}

.bm-reserve-submit:disabled {
  opacity: .72;
  cursor: wait;
}

.bm-reserve-cancel {
  border: 1px solid var(--bm-line);
  background: #fff;
  color: var(--bm-text);
}

.bm-reserve-success-state {
  display: none;
  padding: 8px 0 2px;
  text-align: center;
}

.bm-reserve-card.is-success .bm-reserve-form-state {
  display: none;
}

.bm-reserve-card.is-success .bm-reserve-success-state {
  display: block;
}

.bm-reserve-card.is-success .bm-reserve-top {
  justify-content: flex-end;
  margin-bottom: 0;
}

.bm-reserve-card.is-success .bm-reserve-top > div {
  display: none;
}

.bm-reserve-success-icon {
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
  border-radius: 999px;
  background: var(--bm-success-soft);
  color: var(--bm-success);
  font-size: 34px;
  font-weight: 950;
}

.bm-reserve-success-state h3 {
  margin: 0 0 8px;
  color: var(--bm-text);
  font-size: 25px;
  line-height: 1.05;
  letter-spacing: -.04em;
  font-weight: 950;
}

.bm-reserve-success-state p {
  margin: 0 auto 18px;
  max-width: 360px;
  color: var(--bm-muted);
  font-size: 14px;
  line-height: 1.45;
  font-weight: 560;
}

.bm-reserve-success-state span {
  color: var(--bm-text);
  font-weight: 900;
}

.bm-reserve-success-btn {
  width: 100%;
  border: 1px solid var(--bm-primary);
  background: var(--bm-primary);
  color: #fff;
}

body.bm-modal-open {
  overflow: hidden;
}

@media (max-width: 760px) {
  .bm-reserve-modal {
    padding-left: 10px;
    padding-right: 10px;
  }

  .bm-reserve-card {
    padding: 16px;
    border-radius: 22px 22px 18px 18px;
  }

  .bm-reserve-title {
    font-size: 22px;
  }

  .bm-reserve-text {
    font-size: 14px;
  }

  .bm-reserve-summary,
  .bm-reserve-actions {
    grid-template-columns: 1fr;
  }

  .bm-reserve-submit,
  .bm-reserve-cancel {
    width: 100%;
  }
}

/* End Reserve modal */

/* --------------------------------------------------------------------------
   Warehouses page — unified with the approved homepage
   -------------------------------------------------------------------------- */

.bm-sklady-mobile-copy,
.bm-sklady-mobile-art {
  display: none;
}

.bm-step-card-mobile-only {
  display: none;
}

.bm-sklady-page {
  padding: 52px 0 96px;
}

.bm-sklady-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) 220px;
  gap: 44px;
  align-items: center;
  margin-bottom: 56px;
}

.bm-sklady-hero .bm-home-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  margin-bottom: 24px;
  padding: 0 18px;
  border-radius: 999px;
  background: #eef3f7;
  color: #01387C;
  font-size: 15px;
  line-height: 1;
  font-weight: 700;
}

.bm-sklady-hero-copy h1 {
  max-width: 720px;
  margin: 0;
  color: var(--bm-text);
  font-size: 54px;
  line-height: .98;
  letter-spacing: -.035em;
  font-weight: 700;
}

.bm-sklady-hero-copy p {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--bm-muted);
  font-size: 18px;
  line-height: 1.5;
  font-weight: 400;
}

.bm-sklady-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 720px;
  margin-top: 26px;
}

.bm-sklady-hero-stats div {
  min-height: 92px;
  padding: 18px;
  border: 1px solid var(--bm-line);
  border-radius: 22px;
  background: var(--bm-surface);
  box-shadow: 0 10px 30px rgba(17, 24, 39, .06);
}

.bm-sklady-hero-stats strong {
  display: block;
  color: var(--bm-text);
  font-size: 26px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -.035em;
}

.bm-sklady-hero-stats span {
  display: block;
  margin-top: 8px;
  color: var(--bm-muted);
  font-size: 14px;
  line-height: 1.3;
  font-weight: 500;
}

.bm-sklady-hero-art {
  position: relative;
  width: 190px;
  height: 170px;
  justify-self: end;
}

.bm-sklady-hero-box {
  position: absolute;
  right: 0;
  top: 20px;
  width: 112px;
  height: 112px;
  display: grid;
  place-items: center;
  border-radius: 32px;
  background: linear-gradient(135deg, #6ea8ff 0%, var(--bm-primary) 100%);
  color: #fff;
  box-shadow: 0 18px 34px rgba(1,56,124,.28);
}

.bm-sklady-hero-box svg {
  width: 42px;
  height: 42px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bm-sklady-hero-pin {
  position: absolute;
  left: 0;
  bottom: 8px;
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(219, 227, 255, .92);
  border-radius: 22px;
  background: rgba(255, 255, 255, .82);
  color: rgba(1,56,124,.30);
  transform: rotate(10deg);
}

.bm-sklady-hero-pin svg {
  width: 34px;
  height: 34px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bm-sklady-bubble {
  position: absolute;
  border-radius: 999px;
  background: rgba(1,56,124,.10);
}

.bm-sklady-bubble-1 {
  width: 18px;
  height: 18px;
  left: 24px;
  top: 16px;
}

.bm-sklady-bubble-2 {
  width: 9px;
  height: 9px;
  left: 78px;
  top: 0;
}

.bm-sklady-bubble-3 {
  width: 8px;
  height: 8px;
  right: 2px;
  bottom: 22px;
}

.bm-sklady-list-section {
  margin-top: 0;
}

.bm-sklady-list-section .bm-section-heading {
  margin-bottom: 20px;
}

.bm-sklady-list-section .bm-section-heading h2 {
  margin: 0;
  color: var(--bm-text);
  font-size: 44px;
  line-height: 1.04;
  letter-spacing: -.035em;
  font-weight: 700;
}

.bm-section-heading > span {
  color: var(--bm-muted);
  font-size: 15px;
  font-weight: 500;
}

.bm-sklady-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.bm-sklady-card {
  display: block;
  overflow: hidden;
  border: 1px solid var(--bm-line);
  border-radius: 24px;
  background: var(--bm-surface);
  color: inherit;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(17, 24, 39, .06);
}

.bm-sklady-card-photo {
  position: relative;
  height: auto;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #eef3ff;
}

.bm-sklady-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .22s ease;
}

.bm-sklady-card:hover .bm-sklady-card-photo img {
  transform: scale(1.025);
}

.bm-sklady-photo-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  padding: 24px;
  color: var(--bm-primary);
  text-align: center;
  font-size: 28px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -.035em;
}

.bm-sklady-card-body {
  padding: 22px;
}

.bm-sklady-card-body h3 {
  margin: 0 0 10px;
  color: var(--bm-text);
  font-size: 24px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -.035em;
}

.bm-sklady-card-body p {
  min-height: 0;
  margin: 0;
  color: var(--bm-muted);
  font-size: 15px;
  line-height: 1.45;
  font-weight: 400;
}

.bm-sklady-card-pills {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.bm-sklady-card-pills .bm-pill {
  min-height: 34px;
  padding: 0 14px;
  font-size: 14px;
  font-weight: 600;
}

.bm-sklady-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 18px;
}

.bm-sklady-price,
.bm-sklady-link {
  min-height: 46px;
  padding: 0 18px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1;
  font-weight: 700;
}

.bm-sklady-price {
  display: inline-flex;
  align-items: center;
  background: var(--bm-primary);
  color: #fff;
}

.bm-sklady-price.is-coming {
  background: var(--bm-primary-soft);
  color: var(--bm-primary);
}

.bm-sklady-link {
  display: inline-flex;
  align-items: center;
  color: var(--bm-primary);
  white-space: nowrap;
}

.bm-sklady-empty {
  padding: 22px;
  color: var(--bm-muted);
  font-size: 15px;
  line-height: 1.5;
  font-weight: 400;
}

.bm-sklady-steps {
  margin-top: 56px;
}

.bm-page-head {
  margin-bottom: 20px;
  text-align: center;
}

.bm-page-head h2 {
  margin: 0;
  color: var(--bm-text);
  font-size: 40px;
  line-height: 1.04;
  letter-spacing: -.035em;
  font-weight: 700;
}

.bm-page-head p {
  margin: 10px 0 0;
  color: var(--bm-muted);
  font-size: 17px;
  line-height: 1.45;
  font-weight: 400;
}

.bm-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.bm-step-card {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  grid-template-areas:
    "num title"
    "text text";
  align-items: center;
  min-height: 164px;
  padding: 18px;
  column-gap: 12px;
  row-gap: 12px;
  border: 1px solid var(--bm-line);
  border-radius: 22px;
  background: var(--bm-surface);
  box-shadow: 0 10px 30px rgba(17, 24, 39, .06);
}

.bm-step-number {
  grid-area: num;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin: 0;
  border-radius: 999px;
  background: var(--bm-primary);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(1,56,124,.20);
}

.bm-step-card h3 {
  grid-area: title;
  min-width: 0;
  margin: 0;
  color: var(--bm-text);
  font-size: 19px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -.02em;
}

.bm-step-card p {
  grid-area: text;
  margin: 0;
  color: var(--bm-muted);
  font-size: 14px;
  line-height: 1.45;
  font-weight: 400;
}

@media screen and (max-width: 767px) {

  /* /sklady — exact mobile composition of the old Webflow page. */
  .bm-body-sklady .bm-sklady-page {
    padding: 14px 0 112px;
  }

  .bm-body-sklady .bm-sklady-hero {
    position: relative;
    display: block;
    overflow: hidden;
    min-height: 156px;
    margin-bottom: 16px;
    padding: 22px;
    border: 1px solid #dbe3ff;
    border-radius: 24px;
    background:
      radial-gradient(circle at 87% 24%, rgba(1,56,124,.22) 0%, rgba(1,56,124,.08) 28%, transparent 56%),
      linear-gradient(135deg, #fff 0%, #f8fafc 100%);
    box-shadow: 0 14px 34px rgba(17, 24, 39, .08);
  }

  .bm-body-sklady .bm-sklady-hero-copy {
    position: relative;
    z-index: 2;
    max-width: 250px;
  }

  .bm-body-sklady .bm-sklady-desktop-copy,
  .bm-body-sklady .bm-sklady-hero .bm-home-badge,
  .bm-body-sklady .bm-sklady-hero-stats,
  .bm-body-sklady .bm-sklady-hero-art {
    display: none;
  }

  .bm-body-sklady .bm-sklady-mobile-copy,
  .bm-body-sklady .bm-sklady-mobile-art {
    display: block;
  }

  .bm-body-sklady .bm-sklady-hero-copy h1 {
    max-width: none;
    margin: 0 0 12px;
    font-size: 38px;
    line-height: 1.02;
    font-weight: 700;
    letter-spacing: -.04em;
  }

  .bm-body-sklady .bm-sklady-hero-copy p {
    max-width: 230px;
    margin: 0;
    font-size: 16px;
    line-height: 1.45;
    font-weight: 400;
  }

  .bm-sklady-mobile-art {
    position: absolute;
    right: 18px;
    top: 20px;
    width: 118px;
    height: 118px;
    z-index: 1;
    pointer-events: none;
  }

  .bm-sklady-mobile-box {
    position: absolute;
    right: 0;
    top: 0;
    width: 78px;
    height: 78px;
    display: grid;
    place-items: center;
    border-radius: 26px;
    background: linear-gradient(135deg, #0B4A8A 0%, #002A5E 100%);
    color: #fff;
    box-shadow: 0 18px 34px rgba(1,56,124,.28);
  }

  .bm-sklady-mobile-box svg {
    width: 36px;
    height: 36px;
    stroke: currentColor;
  }

  .bm-sklady-mobile-pin {
    position: absolute;
    left: 0;
    bottom: 6px;
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(219, 227, 255, .92);
    border-radius: 18px;
    background: rgba(255, 255, 255, .82);
    color: rgba(1,56,124,.28);
    transform: rotate(10deg);
  }

  .bm-sklady-mobile-pin svg {
    width: 29px;
    height: 29px;
    stroke: currentColor;
  }

  .bm-sklady-mobile-bubble {
    position: absolute;
    border-radius: 999px;
    background: rgba(1,56,124,.10);
  }

  .bm-sklady-mobile-bubble-1 {
    width: 16px;
    height: 16px;
    left: 22px;
    top: 15px;
  }

  .bm-sklady-mobile-bubble-2 {
    width: 8px;
    height: 8px;
    left: 72px;
    top: 0;
  }

  .bm-sklady-mobile-bubble-3 {
    width: 7px;
    height: 7px;
    right: 2px;
    bottom: 20px;
  }

  .bm-body-sklady .bm-sklady-list-section .bm-section-heading {
    display: none;
  }

  .bm-body-sklady .bm-sklady-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .bm-body-sklady .bm-sklady-card {
    border-radius: 22px;
  }


  /* Status badges exactly as on the old mobile site. */
  .bm-body-sklady .bm-card-status {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 30px;
    padding: 0 11px;
    border-radius: 999px;
    background: rgba(236, 253, 245, .96);
    color: #15803d;
    font-size: 13px;
    line-height: 1;
    font-weight: 700;
    backdrop-filter: blur(8px);
  }

  .bm-body-sklady .bm-card-status .bm-dot {
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    border-radius: 999px;
    background: #22c55e;
  }

  .bm-body-sklady .bm-card-status.is-coming {
    background: rgba(238, 241, 255, .96);
    color: #01387C;
  }

  .bm-body-sklady .bm-card-status.is-coming .bm-dot {
    background: #01387C;
  }

  .bm-body-sklady .bm-sklady-card-body {
    padding: 16px 16px 18px;
  }

  .bm-body-sklady .bm-sklady-card-body h3 {
    margin-bottom: 4px;
    font-size: 18px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -.02em;
  }

  .bm-body-sklady .bm-sklady-card-body p {
    margin-bottom: 0;
    font-size: 13px;
    line-height: 1.32;
  }

  .bm-body-sklady .bm-sklady-card-pills {
    gap: 6px;
    margin-top: 8px;
  }

  .bm-body-sklady .bm-sklady-card-pills .bm-pill {
    min-height: 30px;
    padding: 0 10px;
    font-size: 12px;
  }

  .bm-body-sklady .bm-sklady-card-bottom {
    display: block;
    margin-top: 10px;
  }

  .bm-body-sklady .bm-sklady-price {
    width: 100%;
    min-height: 46px;
    justify-content: center;
    border-radius: 14px;
    font-size: 15px;
  }

  .bm-body-sklady .bm-sklady-link {
    display: none;
  }

  .bm-body-sklady .bm-sklady-card.is-coming .bm-sklady-card-pills {
    display: none;
  }

  .bm-body-sklady .bm-sklady-steps {
    margin-top: 28px;
  }

  .bm-body-sklady .bm-page-head {
    margin-bottom: 14px;
    text-align: left;
  }

  .bm-body-sklady .bm-page-head h2 {
    font-size: 34px;
    line-height: 1.02;
  }

  .bm-body-sklady .bm-page-head p {
    margin-top: 8px;
    font-size: 15px;
    line-height: 1.42;
  }

  .bm-body-sklady .bm-steps-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .bm-body-sklady .bm-step-card {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    grid-template-areas:
      "num title"
      "text text";
    align-items: center;
    min-height: 0;
    padding: 22px;
    column-gap: 12px;
    row-gap: 10px;
    border-radius: 22px;
  }

  .bm-body-sklady .bm-step-number {
    grid-area: num;
    width: 40px;
    height: 40px;
    margin: 0;
    background: #eef3f7;
    color: #01387C;
    box-shadow: none;
  }

  .bm-body-sklady .bm-step-card h3 {
    grid-area: title;
    min-width: 0;
    margin: 0;
    font-size: 20px;
    line-height: 1.15;
  }

  .bm-body-sklady .bm-step-card p {
    grid-area: text;
    margin: 0;
    font-size: 15px;
    line-height: 1.55;
  }

  .bm-body-sklady .bm-step-card-mobile-only {
    display: grid;
  }
}

@media screen and (max-width: 430px) {
  .bm-sklady-mobile-art {
    right: 12px;
    opacity: .94;
  }

  .bm-body-sklady .bm-sklady-hero-copy {
    max-width: 230px;
  }

  .bm-body-sklady .bm-sklady-hero-copy p {
    max-width: 212px;
  }
}

@media screen and (max-width: 380px) {
  .bm-body-sklady .bm-sklady-hero {
    padding: 20px;
  }

  .bm-body-sklady .bm-sklady-hero-copy h1 {
    font-size: 34px;
  }

  .bm-body-sklady .bm-sklady-hero-copy p {
    max-width: 190px;
    font-size: 15px;
  }

  .bm-sklady-mobile-art {
    right: 10px;
    top: 22px;
    width: 104px;
    height: 104px;
  }

  .bm-sklady-mobile-box {
    width: 68px;
    height: 68px;
    border-radius: 22px;
  }

  .bm-sklady-mobile-box svg {
    width: 32px;
    height: 32px;
  }

  .bm-sklady-mobile-pin {
    width: 50px;
    height: 50px;
    border-radius: 16px;
  }

  .bm-body-sklady .bm-step-card {
    grid-template-columns: 38px minmax(0, 1fr);
    column-gap: 10px;
  }

  .bm-body-sklady .bm-step-number {
    width: 34px;
    height: 34px;
    font-size: 14px;
  }

  .bm-body-sklady .bm-step-card h3 {
    font-size: 19px;
  }
}

/* End Warehouses page */

/* --------------------------------------------------------------------------
   Account page
   -------------------------------------------------------------------------- */

:root {
--account-bg: #f6f7fb;
--account-white: #ffffff;
--account-text: #111827;
--account-muted: #6b7280;
--account-line: #e5e7eb;
--account-primary: #01387C;
--account-primary-dark: #002A5E;
--account-primary-soft: #eef3f7;
--account-success: #16a34a;
--account-success-soft: #ecfdf3;
--account-warning: #d97706;
--account-warning-soft: #fff7ed;
--account-danger: #dc2626;
--account-danger-soft: #fef2f2;
--account-gray-soft: #f3f4f6;
--account-font: "Golos Text", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
body { background: var(--account-bg); }
.account-page-wrap {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 30px 20px 112px;
  box-sizing: border-box;
font-family: var(--account-font);
color: var(--account-text);
}
.account-page-wrap input,
.account-page-wrap button,
.account-page-wrap select,
.account-page-wrap textarea {
font-family: inherit;
}
.account-box {
  display: grid;
  gap: 10px;
  width: 100%;
  max-width: none;

}
.account-box h1 {
margin: 0 0 10px;
font-size: 52px;
line-height: 1.02;
font-weight: 700;
letter-spacing: -0.035em;
color: var(--account-text);
}
/* BM ACCOUNT HERO STEP 6D: компактный hero-блок.
 Только HTML/CSS. Логика кабинета, Supabase, брони, оплаты и аренды не менялись. */
.account-hero{position:relative;overflow:hidden;min-height:150px;margin-bottom:14px;padding:28px;box-sizing:border-box;border:1px solid #dbe3ff;border-radius:28px;background:radial-gradient(circle at 88% 20%,rgba(1,56,124,.22) 0%,rgba(1,56,124,.08) 30%,transparent 58%),linear-gradient(135deg,#fff 0%,#f8fafc 100%);box-shadow:0 14px 34px rgba(17,24,39,.08);}
.account-hero-text{position:relative;z-index:2;max-width:390px;margin:0;color:var(--account-muted);font-size:18px;line-height:1.48;}
.account-hero-icon{position:absolute;right:30px;top:28px;width:92px;height:92px;border-radius:30px;background:linear-gradient(135deg,#0B4A8A 0%,#002A5E 100%);color:#fff;display:flex;align-items:center;justify-content:center;box-shadow:0 18px 34px rgba(1,56,124,.28);}
.account-hero-icon svg{width:42px;height:42px;stroke:currentColor;}
#accountText {
margin: 0;
color: var(--account-muted);
font-size: 20px;
line-height: 1.5;
}
#accountText:empty { display: none; }
.account-box > .account-card {
width: 100%;
box-sizing: border-box;
margin: 0;
}
.account-box > #logoutBtn { justify-self: start; }
.account-card {
background: var(--account-white);
border: 1px solid var(--account-line);
border-radius: 24px;
padding: 24px;
box-shadow: 0 10px 30px rgba(17, 24, 39, 0.06);
margin: 0;
}
.account-auth-card { display: grid; gap: 14px; }
.account-auth-text {
font-size: 15px;
line-height: 1.55;
color: var(--account-muted);
}
.account-status-card-gray {
border-color: #e5e7eb;
background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}
.account-status-card-yellow {
border-color: #f5d3a7;
background: linear-gradient(180deg, #fffaf3 0%, #fff7ed 100%);
}
.account-status-card-green {
border-color: #bbf7d0;
background:
  radial-gradient(circle at 88% 50%, rgba(16, 185, 129, 0.24) 0%, rgba(209, 250, 229, 0.72) 34%, transparent 58%),
  linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
}
.account-status-card-red {
border-color: #f3b5b5;
background: linear-gradient(180deg, #fff7f7 0%, #fef2f2 100%);
}
.account-status-card {
position: relative;
overflow: hidden;
}
.account-access-inner {
position: relative;
display: flex;
align-items: center;
justify-content: space-between;
gap: 18px;
}
.account-access-left {
display: flex;
align-items: center;
gap: 16px;
min-width: 0;
}
.account-access-icon {
position: relative;
width: 48px;
height: 48px;
border-radius: 16px;
background: linear-gradient(135deg, #10b981 0%, #0f766e 100%);
color: #fff;
display: inline-flex;
align-items: center;
justify-content: center;
flex: 0 0 48px;
box-shadow: 0 14px 28px rgba(16, 185, 129, 0.28);
}
.account-access-icon::after {
content: "";
position: absolute;
top: -4px;
right: -4px;
width: 12px;
height: 12px;
border-radius: 999px;
background: #6ee7b7;
border: 2px solid #fff;
}
.account-access-icon svg {
width: 22px;
height: 22px;
stroke: currentColor;
}
.account-status-card-yellow .account-access-icon {
background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
box-shadow: 0 14px 28px rgba(245, 158, 11, 0.18);
}
.account-status-card-red .account-access-icon {
background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
box-shadow: 0 14px 28px rgba(239, 68, 68, 0.18);
}
.account-status-card-gray .account-access-icon {
background: linear-gradient(135deg, #64748b 0%, #475569 100%);
box-shadow: 0 14px 28px rgba(100, 116, 139, 0.16);
}
.account-access-copy {
min-width: 0;
}
.account-access-action {
display: none;
align-items: center;
justify-content: center;
min-height: 44px;
padding: 0 22px;
border-radius: 14px;
background: #059669;
color: #fff;
text-decoration: none;
font-size: 14px;
font-weight: 700;
white-space: nowrap;
box-shadow: 0 12px 22px rgba(5, 150, 105, 0.22);
}
.account-status-card-green .account-access-action {
display: inline-flex;
}
.account-access-action:hover {
background: #047857;
}
.account-main-status-label {
font-size: 14px;
color: var(--account-muted);
margin-bottom: 10px;
font-weight: 700;
}
.account-status-card-yellow .account-main-status-label { color: var(--account-warning); }
.account-status-card-green .account-main-status-label { color: var(--account-success); }
.account-status-card-red .account-main-status-label { color: var(--account-danger); }
.account-main-status-title {
font-size: 24px;
line-height: 1.12;
font-weight: 600;
letter-spacing: -0.03em;
color: var(--account-text);
margin-bottom: 4px;
}
.account-status-card-green .account-main-status-title {
color: #064e3b;
}
.account-main-status-text {
font-size: 15px;
line-height: 1.5;
color: var(--account-muted);
}
.account-status-card-green .account-main-status-text {
color: rgba(6, 95, 70, 0.82);
}
.account-input {
width: 100%;
min-height: 52px;
border: 1px solid #d7dce6;
border-radius: 16px;
padding: 0 16px;
font-size: 16px;
box-sizing: border-box;
background: #fff;
color: var(--account-text);
outline: none;
}
.account-btn {
display: inline-flex;
align-items: center;
justify-content: center;
min-height: 48px;
padding: 0 18px;
border: none;
border-radius: 16px;
background: var(--account-primary);
color: #fff;
font-size: 15px;
font-weight: 700;
cursor: pointer;
}
.account-btn:hover { background: var(--account-primary-dark); }
.account-btn-outline {
background: #fff;
color: var(--account-text);
border: 1px solid var(--account-line);
}
.account-btn-outline:hover { background: #f9fafb; }
.account-btn-danger {
color: var(--account-danger);
border-color: #f2a3a3;
}
.account-btn-danger:hover { background: #fff5f5; }
.account-message {
min-height: 18px;
font-size: 14px;
color: var(--account-muted);
margin-top: 10px;
}
.account-row {
margin-bottom: 10px;
font-size: 16px;
line-height: 1.5;
}
.account-edit-grid,
.account-grid,
.account-info-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 12px;
margin-top: 16px;
margin-bottom: 16px;
}
.account-input-full,
.account-span-full { grid-column: 1 / -1; }
.account-section-top {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 16px;
margin-bottom: 8px;
}
.account-field { display: grid; gap: 8px; }
.account-field-label,
.account-section-label,
.account-info-label {
font-size: 14px;
color: var(--account-muted);
}
.account-section-title {
font-size: 26px;
font-weight: 600;
line-height: 1.12;
letter-spacing: -0.035em;
}
.account-status {
display: inline-flex;
align-items: center;
justify-content: center;
min-height: 36px;
padding: 0 12px;
border-radius: 999px;
font-size: 13px;
font-weight: 600;
white-space: nowrap;
}
.account-status-gray { background: var(--account-gray-soft); color: var(--account-muted); }
.account-status-yellow { background: var(--account-warning-soft); color: var(--account-warning); }
.account-status-green { background: var(--account-success-soft); color: var(--account-success); }
.account-status-red { background: var(--account-danger-soft); color: var(--account-danger); }
.account-info-item {
border: 1px solid var(--account-line);
border-radius: 18px;
background: #fbfcff;
padding: 14px;
}
.account-info-value {
font-size: 15px;
font-weight: 500;
color: var(--account-text);
line-height: 1.45;
word-break: break-word;
}
.account-hint-text {
font-size: 16px;
line-height: 1.55;
color: var(--account-muted);
}
.account-doc-intro {
margin-top: 12px;
margin-bottom: 16px;
}
.account-rent-notice {
border: 1px solid var(--account-line);
border-radius: 20px;
padding: 16px;
display: grid;
gap: 10px;
margin-bottom: 16px;
}
.account-rent-notice-gray { background: #fbfcff; }
.account-rent-notice-yellow { background: var(--account-warning-soft); border-color: #f5d3a7; }
.account-rent-notice-red { background: var(--account-danger-soft); border-color: #f3b5b5; }
.account-rent-notice-green { background: var(--account-success-soft); border-color: #cdeed7; }
.account-rent-notice-top {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
}
.account-rent-notice-label {
font-size: 13px;
color: var(--account-muted);
}
.account-days-badge {
display: inline-flex;
align-items: center;
justify-content: center;
min-height: 34px;
padding: 0 12px;
border-radius: 999px;
font-size: 12px;
font-weight: 600;
white-space: nowrap;
}
.account-days-badge-gray { background: var(--account-gray-soft); color: var(--account-muted); }
.account-days-badge-yellow { background: #fff; color: var(--account-warning); border: 1px solid #f5d3a7; }
.account-days-badge-red { background: #fff; color: var(--account-danger); border: 1px solid #f3b5b5; }
.account-days-badge-green { background: #fff; color: var(--account-success); border: 1px solid #cdeed7; }
.account-rent-notice-title {
font-size: 22px;
line-height: 1.15;
font-weight: 600;
letter-spacing: -0.025em;
color: var(--account-text);
}
.account-rent-notice-text {
font-size: 15px;
line-height: 1.55;
color: var(--account-muted);
}
.account-rent-notice-actions {
display: flex;
flex-wrap: wrap;
gap: 10px;
}
.account-link-btn {
display: inline-flex;
align-items: center;
justify-content: center;
min-height: 46px;
padding: 0 16px;
border-radius: 14px;
background: var(--account-primary);
color: #fff;
text-decoration: none;
font-size: 15px;
font-weight: 700;
}
.account-link-btn:hover { background: var(--account-primary-dark); }
.account-link-btn-disabled {
opacity: 0.45;
pointer-events: none;
cursor: default;
}
.account-locked-note {
margin-top: 12px;
margin-bottom: 16px;
padding: 14px 16px;
border-radius: 16px;
background: var(--account-primary-soft);
color: var(--account-primary);
font-size: 14px;
line-height: 1.5;
font-weight: 600;
}
.account-return-card {
border-color: #dbe3ff;
background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}
.account-return-text {
font-size: 16px;
line-height: 1.55;
color: var(--account-muted);
margin-top: 8px;
margin-bottom: 16px;
}
.account-consent-box {
margin-top: 16px;
margin-bottom: 16px;
padding: 16px;
border: 1px solid var(--account-line);
border-radius: 18px;
background: #fbfcff;
display: grid;
gap: 12px;
}
.account-reservation-hint {
margin-top: 14px;
padding: 14px 16px;
border: 1px solid #f5d3a7;
border-radius: 16px;
background: #fff7ed;
color: #b45309;
font-size: 15px;
line-height: 1.55;
font-weight: 700;
}
.account-consent-title {
font-size: 15px;
font-weight: 700;
color: var(--account-text);
}
.account-consent-item {
display: flex;
align-items: flex-start;
gap: 10px;
font-size: 15px;
line-height: 1.5;
color: var(--account-text);
cursor: pointer;
}
.account-consent-item input {
margin-top: 3px;
width: 16px;
height: 16px;
flex: 0 0 16px;
}
.account-consent-item a {
color: var(--account-primary);
text-decoration: none;
}
.account-consent-item a:hover { text-decoration: underline; }
.account-combined-card {
display: grid;
gap: 0;
padding: 0;
overflow: hidden;
}
.account-combined-section { padding: 24px; }
.account-combined-divider {
height: 1px;
background: var(--account-line);
margin: 0 24px;
}
/* BM STEP 13C: small safe refinements for document upload + reservation spacing */
#documentsFormWrap {
display: grid;
gap: 10px;
align-items: start;
}
#passportFileInput {
background: #fff;
}
#passportFileInput::file-selector-button {
margin-right: 12px;
border: 0;
border-radius: 12px;
background: var(--account-primary);
color: #fff;
min-height: 38px;
padding: 0 14px;
font-size: 14px;
font-weight: 700;
font-family: inherit;
cursor: pointer;
}
#passportFileInput::-webkit-file-upload-button {
margin-right: 12px;
border: 0;
border-radius: 12px;
background: var(--account-primary);
color: #fff;
min-height: 38px;
padding: 0 14px;
font-size: 14px;
font-weight: 700;
font-family: inherit;
cursor: pointer;
}
#passportFileMeta.account-hint-text {
margin-top: 10px;
}
#passportFileMessage.account-message {
margin-top: 8px;
}
#reservationHintText.account-reservation-hint {
margin-bottom: 12px;
}
#documentsApprovedCompactNote {
display: none;
}
.account-approved-compact {
border: 1px solid #cdeed7;
border-radius: 18px;
background: linear-gradient(180deg, #f4fbf6 0%, #ecfdf3 100%);
padding: 16px 18px;
}
.account-approved-compact-title {
font-size: 18px;
font-weight: 700;
line-height: 1.2;
color: var(--account-text);
margin-bottom: 6px;
}
.account-approved-compact-text {
font-size: 14px;
line-height: 1.55;
color: var(--account-muted);
}
.account-doc-title-row {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 16px;
margin-bottom: 8px;
}
.account-rental-card-green {
background: linear-gradient(180deg, #f4fbf6 0%, #ecfdf3 100%);
border-color: #cdeed7;
}
.account-rental-card-yellow {
background: linear-gradient(180deg, #fffaf3 0%, #fff7ed 100%);
border-color: #f5d3a7;
}
.account-rental-card-red {
background: linear-gradient(180deg, #fff7f7 0%, #fef2f2 100%);
border-color: #f3b5b5;
}
.account-rental-card-green .account-info-item,
.account-rental-card-yellow .account-info-item,
.account-rental-card-red .account-info-item {
background: rgba(255, 255, 255, 0.65);
}
.account-rental-card-green .account-info-item { border-color: #cdeed7; }
.account-rental-card-yellow .account-info-item { border-color: #f5d3a7; }
.account-rental-card-red .account-info-item { border-color: #f3b5b5; }
.account-rental-card-green .account-hint-text { color: var(--account-success); }
.account-rental-card-yellow .account-hint-text { color: var(--account-warning); }
.account-rental-card-red .account-hint-text { color: var(--account-danger); }
.account-memo-card {
border-color: #e5e7eb;
background: #ffffff;
}
.account-memo-list {
display: grid;
gap: 10px;
}
.account-memo-item {
border: 1px solid var(--account-line);
border-radius: 16px;
background: #fbfcff;
padding: 14px 16px;
font-size: 15px;
line-height: 1.55;
color: var(--account-text);
}
.account-booking-auth-notice {
display: grid;
gap: 10px;
padding: 16px 18px;
border: 1px solid #dbe3ff;
border-radius: 18px;
background: linear-gradient(180deg, #f8fafc 0%, #eef3f7 100%);
}
.account-booking-auth-badge {
display: inline-flex;
align-items: center;
justify-content: center;
width: fit-content;
min-height: 32px;
padding: 0 12px;
border-radius: 999px;
background: #ffffff;
color: var(--account-primary);
font-size: 12px;
font-weight: 700;
border: 1px solid #dbe3ff;
}
.account-booking-auth-title {
font-size: 22px;
line-height: 1.12;
font-weight: 700;
letter-spacing: -0.025em;
color: var(--account-text);
}
.account-booking-auth-text {
font-size: 15px;
line-height: 1.55;
color: var(--account-text);
}
.account-booking-auth-subtext {
font-size: 14px;
line-height: 1.5;
color: var(--account-muted);
font-weight: 600;
}
.account-loading-notice {
display: block;
background: #ffffff;
border: 1px solid var(--account-line);
border-radius: 20px;
padding: 16px 18px;
box-shadow: 0 10px 30px rgba(17, 24, 39, 0.06);
margin: 0;
}
.account-loading-notice-hidden {
display: none !important;
}
.account-loading-notice-top {
display: flex;
align-items: center;
gap: 10px;
margin-bottom: 6px;
}
.account-loading-dot {
width: 10px;
height: 10px;
border-radius: 999px;
background: var(--account-primary);
animation: accountLoadingPulse 1.2s ease-in-out infinite;
flex: 0 0 10px;
}
.account-loading-title {
font-size: 18px;
line-height: 1.2;
font-weight: 700;
color: var(--account-text);
}
.account-loading-text {
font-size: 14px;
line-height: 1.5;
color: var(--account-muted);
}
@keyframes accountLoadingPulse {
0%, 100% { opacity: 0.35; transform: scale(0.92); }
50% { opacity: 1; transform: scale(1); }
}
/* BM DESIGN STEP 9: reservation and rental visual refresh. Logic and IDs stay unchanged. */
#reservationBox,
#rentalBox {
background: #fff;
border-color: rgba(229, 231, 235, 0.9);
}
#reservationNotice.account-rent-notice {
position: relative;
overflow: hidden;
padding: 20px;
margin-bottom: 16px;
border-radius: 20px;
background:
  radial-gradient(circle at 92% 78%, rgba(251, 191, 36, 0.24) 0%, transparent 48%),
  linear-gradient(135deg, #fffbeb 0%, #fff7ed 100%);
border-color: #f6c66d;
}
#reservationNotice::after {
content: "";
position: absolute;
right: -38px;
bottom: -42px;
width: 130px;
height: 130px;
border-radius: 999px;
background: rgba(251, 191, 36, 0.26);
filter: blur(24px);
}
.account-reservation-banner-inner {
position: relative;
z-index: 1;
display: flex;
align-items: flex-start;
gap: 14px;
}
.account-reservation-icon {
width: 44px;
height: 44px;
border-radius: 15px;
background: #f59e0b;
color: #fff;
display: inline-flex;
align-items: center;
justify-content: center;
flex: 0 0 44px;
box-shadow: 0 12px 24px rgba(245, 158, 11, 0.22);
}
.account-reservation-icon svg {
width: 20px;
height: 20px;
stroke: currentColor;
}
.account-reservation-copy {
min-width: 0;
}
.account-reservation-title-row {
display: flex;
align-items: center;
gap: 10px;
flex-wrap: wrap;
margin-bottom: 6px;
}
#reservationBox #reservationNoticeTitle {
color: #451a03;
font-size: 19px;
line-height: 1.2;
}
#reservationBox #reservationNoticeText {
color: rgba(146, 64, 14, 0.92);
font-size: 15px;
line-height: 1.55;
}
#reservationBox #reservationStatusBadge {
min-height: 23px;
padding: 0 9px;
background: rgba(251, 191, 36, 0.45);
color: #92400e;
border: 0;
font-size: 10px;
text-transform: uppercase;
letter-spacing: 0.08em;
}
#reservationBox .account-info-grid,
.account-rental-card .account-info-grid {
gap: 12px;
}
#reservationBox .account-info-item {
border-color: rgba(229, 231, 235, 0.9);
background: rgba(249, 250, 251, 0.72);
border-radius: 16px;
padding: 15px 16px;
}
#reservationBox .account-info-grid .account-info-item:nth-child(2) {
background: linear-gradient(135deg, #fffbeb 0%, #fff7ed 100%);
border-color: rgba(245, 158, 11, 0.34);
}
#reservationBox .account-info-label,
#rentalBox .account-info-label {
font-size: 11px;
font-weight: 700;
letter-spacing: 0.13em;
text-transform: uppercase;
}
#reservationConsentBox {
background: rgba(249, 250, 251, 0.72);
border-color: rgba(229, 231, 235, 0.9);
border-radius: 18px;
padding: 18px;
}
#reservationConsentBox .account-consent-title {
margin-bottom: 2px;
text-transform: uppercase;
letter-spacing: 0.08em;
font-size: 13px;
}
#reservationConsentBox .account-consent-item {
margin: 0;
padding: 4px 0;
}
#reservationPayBtn {
min-height: 44px;
padding: 0 18px;
border-radius: 14px;
font-size: 14px;
box-shadow: 0 12px 22px rgba(1,56,124,0.18);
}
#accountCancelReservationBtn {
width: auto;
min-height: 44px;
padding: 0 18px;
border-radius: 14px;
font-size: 14px;
background: #fff;
}
.account-rental-card-green {
background: #fff;
border-color: rgba(229, 231, 235, 0.9);
}
.account-rental-card .account-rent-notice {
position: relative;
overflow: hidden;
padding: 16px 18px;
margin-bottom: 12px;
border-radius: 18px;
}
.account-rental-card .account-rent-notice-green {
background:
  radial-gradient(circle at 88% 10%, rgba(16, 185, 129, 0.24) 0%, transparent 52%),
  linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
border-color: #bbf7d0;
}
.account-rental-banner-head {
position: relative;
z-index: 1;
display: grid;
grid-template-columns: auto minmax(0, 1fr) auto;
align-items: center;
gap: 12px;
}
.account-rental-icon {
width: 40px;
height: 40px;
border-radius: 14px;
background: linear-gradient(135deg, #10b981 0%, #0f766e 100%);
color: #fff;
display: inline-flex;
align-items: center;
justify-content: center;
flex: 0 0 40px;
box-shadow: 0 10px 20px rgba(16, 185, 129, 0.18);
}
.account-rental-icon svg {
width: 19px;
height: 19px;
stroke: currentColor;
}
.account-rental-title-wrap {
min-width: 0;
}
.account-rental-card .account-rent-notice-title {
color: #064e3b;
font-size: 22px;
line-height: 1.15;
font-weight: 600;
}
.account-rental-card .account-rent-notice-text {
margin-top: 8px;
color: rgba(6, 95, 70, 0.78);
}
.account-rental-card .account-days-badge-green {
min-height: 28px;
padding: 0 11px;
background: rgba(255, 255, 255, 0.9);
color: #047857;
border-color: #86efac;
font-size: 11px;
text-transform: uppercase;
letter-spacing: 0.08em;
}
.account-rental-card .account-rent-notice-actions {
margin-top: 14px;
}
.account-rental-card .account-rent-notice-actions .account-btn {
width: auto;
min-height: 42px;
padding: 0 18px;
border-radius: 14px;
background: linear-gradient(135deg, var(--account-primary) 0%, #3730a3 100%);
box-shadow: 0 12px 22px rgba(1,56,124,0.22);
}
.account-rental-card-green .account-info-item {
background: rgba(255, 255, 255, 0.72);
border-color: rgba(134, 239, 172, 0.72);
border-radius: 16px;
padding: 15px 16px;
}
.account-rental-card-green .account-info-label {
color: rgba(4, 120, 87, 0.82);
}
.account-rental-card-green .account-info-value {
color: #052e24;
}
/* BM STEP 96: hide duplicated reservation top status badge.
 The element reservationStatusBadge stays in HTML/JS, but visually the block starts
 right from "Ячейка забронирована", without the extra "К оплате" pill. */
#reservationBox > .account-section-top {
display: none !important;
}
/* BM STEP 95: reduce duplicated section headings on /account.
 The blocks stay in HTML for JS, but visual section labels are hidden. */
#reservationBox > .account-section-top {
justify-content: flex-end;
margin-bottom: 8px;
}
#reservationBox > .account-section-top .account-section-title {
display: none;
}
.account-rental-card > .account-section-top {
display: none;
}
#accountMemoBox {
display: none !important;
}
/* BM STEP 94: profile card and active rental notice cleanup.
 Safe layout-only change: userEmail/userName/userPhone and rental IDs stay the same. */
.account-contact-head {
display: flex;
align-items: center;
gap: 12px;
margin-bottom: 18px;
}
.account-contact-icon {
width: 42px;
height: 42px;
border-radius: 14px;
background: var(--account-primary);
color: #fff;
display: inline-flex;
align-items: center;
justify-content: center;
flex: 0 0 42px;
box-shadow: 0 12px 24px rgba(1,56,124,0.22);
}
.account-contact-icon svg {
width: 21px;
height: 21px;
stroke: currentColor;
}
.account-section-subtitle {
margin-top: 3px;
color: var(--account-muted);
font-size: 13px;
line-height: 1.35;
}
.account-profile-grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 12px;
margin-top: 0;
margin-bottom: 14px;
}
.account-profile-item {
min-width: 0;
padding: 14px 16px;
border: 1px solid var(--account-line);
border-radius: 16px;
background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
}
.account-profile-label {
margin-bottom: 7px;
color: var(--account-muted);
font-size: 11px;
line-height: 1.2;
font-weight: 700;
letter-spacing: 0.14em;
text-transform: uppercase;
}
.account-profile-value {
color: var(--account-text);
font-size: 15px;
line-height: 1.35;
font-weight: 600;
overflow-wrap: anywhere;
}
#profileLockedNote.account-locked-note {
display: flex;
align-items: center;
gap: 10px;
margin-top: 0;
margin-bottom: 0;
padding: 13px 14px;
border: 1px solid #dbe3ff;
border-radius: 14px;
font-size: 13px;
line-height: 1.45;
}
#profileLockedNote.account-locked-note::before {
content: "✓";
width: 22px;
height: 22px;
border-radius: 999px;
background: #dfe6ff;
color: var(--account-primary);
display: inline-flex;
align-items: center;
justify-content: center;
flex: 0 0 22px;
font-weight: 700;
}
.account-rental-card .account-rent-notice-text:empty {
display: none;
}
.account-rental-card .account-inline-renewal-wrap {
margin-top: 0;
}
/* BM STEP 93: /account cleanup.
 1) Highlight reservation deadline.
 2) Keep active rental dates on one row on desktop.
 3) Hide old reservation time badge visually; JS now puts time into the text. */
#reservationBox .account-info-grid .account-info-item:nth-child(2) {
background: var(--account-warning-soft);
border-color: rgba(217, 119, 6, 0.24);
}
#reservationBox .account-info-grid .account-info-item:nth-child(2) .account-info-label,
#reservationBox .account-info-grid .account-info-item:nth-child(2) .account-info-value {
color: var(--account-warning);
}
#reservationBox .account-info-grid .account-info-item:nth-child(2) .account-info-value {
font-weight: 700;
}
#reservationBox #reservationHintText:empty {
display: none !important;
}
#reservationNotice .account-rent-notice-top {
display: none;
}
@media (min-width: 768px) {
.account-rental-card-green .account-info-grid .account-info-item:nth-child(2) {
  order: 1;
}
.account-rental-card-green .account-info-grid .account-info-item:nth-child(3) {
  order: 2;
}
.account-rental-card-green .account-info-grid .account-info-item:nth-child(5) {
  order: 3;
}
.account-rental-card-green .account-info-grid .account-info-item:nth-child(6) {
  order: 4;
}
.account-rental-card-green .account-info-grid .account-info-item:nth-child(4) {
  order: 5;
}
}
/* BM STEP 92: hide duplicate "Документы" field when rental is already active.
 Safe CSS-only change: the element and id rentalDocStatus stay in HTML for other states. */
.account-rental-card-green .account-info-grid .account-info-item:first-child {
display: none;
}
@media (max-width: 767px) {
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
.account-loading-notice {
  padding: 14px 16px;
  border-radius: 16px;
}
.account-loading-title {
  font-size: 16px;
}
.account-loading-text {
  font-size: 13px;
  line-height: 1.45;
}
.account-page-wrap {
 
  width: 100%;
 
  max-width: 100%;
 
  padding: 18px 0 112px;
 
  overflow-x: hidden;
}
.account-box {
  width: 100%;
  max-width: 100%;
  gap: 10px;
}
.account-box h1 {
  font-size: 36px;
  line-height: 1.02;
  letter-spacing: -0.035em;
}
.account-hero{min-height:146px;margin-bottom:14px;padding:22px;border-radius:24px;}
.account-hero h1{max-width:215px;}
.account-hero-text{max-width:215px;font-size:16px;line-height:1.45;}
.account-hero-icon{right:18px;top:22px;width:74px;height:74px;border-radius:24px;}
.account-hero-icon svg{width:34px;height:34px;}
#accountText {
  font-size: 16px;
  line-height: 1.45;
}
.account-box > .account-card {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
}
.account-card {
  padding: 20px;
  border-radius: 22px;
}
.account-combined-card {
  padding: 0;
}
.account-combined-section {
  padding: 20px;
}
.account-combined-divider {
  margin: 0 20px;
}
.account-status-card {
  padding: 20px;
}
#rentalStatusCard.account-status-card {
  padding: 18px;
}
.account-access-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "accessLeft"
    "accessBtn";
  align-items: start;
  gap: 14px;
}
.account-access-left {
  grid-area: accessLeft;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.account-access-copy {
  min-width: 0;
}
.account-access-action {
  grid-area: accessBtn;
  justify-self: stretch;
  width: 100%;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 15px;
  font-size: 15px;
}
.account-main-status-title {
  font-size: 24px;
  line-height: 1.12;
  margin-bottom: 8px;
}
.account-main-status-text {
  font-size: 15px;
  line-height: 1.5;
}
.account-input {
  min-height: 50px;
  font-size: 15px;
  border-radius: 15px;
  padding-left: 14px;
  padding-right: 14px;
}
.account-btn {
  width: 100%;
  min-height: 48px;
  border-radius: 15px;
  font-size: 15px;
}
.account-edit-grid,
.account-grid,
.account-info-grid {
  grid-template-columns: 1fr;
  gap: 10px;
}
.account-section-top,
.account-doc-title-row,
.account-rent-notice-top {
  flex-direction: column;
  align-items: flex-start;
}
.account-section-title {
  font-size: 22px;
  line-height: 1.12;
}
.account-contact-head {
  align-items: flex-start;
  margin-bottom: 14px;
}
.account-contact-icon {
  width: 38px;
  height: 38px;
  border-radius: 13px;
  flex-basis: 38px;
}
.account-profile-grid {
  grid-template-columns: 1fr;
  gap: 8px;
  margin-bottom: 12px;
}
.account-profile-item {
  padding: 13px 14px;
  border-radius: 15px;
}
.account-profile-label {
  font-size: 10px;
  margin-bottom: 5px;
}
.account-profile-value {
  font-size: 14px;
  line-height: 1.35;
}
#profileLockedNote.account-locked-note {
  padding: 11px 13px;
  font-size: 13px;
}
.account-row {
  font-size: 15px;
  line-height: 1.45;
  margin-bottom: 8px;
}
.account-locked-note {
  padding: 14px 16px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.45;
}
.account-approved-compact {
  padding: 16px;
  border-radius: 16px;
}
.account-approved-compact-title {
  font-size: 20px;
  line-height: 1.15;
}
.account-approved-compact-text {
  font-size: 14px;
  line-height: 1.5;
}
.account-info-item {
  padding: 12px 14px;
  border-radius: 16px;
}
.account-info-label {
  font-size: 12px;
  line-height: 1.25;
}
.account-info-value {
  font-size: 14px;
  line-height: 1.35;
}
.account-rent-notice {
  padding: 14px;
  border-radius: 16px;
  gap: 8px;
}
.account-rent-notice-title {
  font-size: 20px;
  line-height: 1.15;
}
.account-rent-notice-text,
.account-hint-text,
.account-return-text,
.account-consent-item {
  font-size: 14px;
  line-height: 1.5;
}
.account-days-badge {
  min-height: 32px;
  font-size: 12px;
}
/* BM STEP 49: canonical mobile layout for every rental card.
   Uses classes because the page can contain several rentals at once. */
.account-rental-card .account-rent-notice {
  display: grid;
  gap: 12px;
  margin-bottom: 12px;
  padding: 14px;
}
.account-rental-card .account-rental-banner-head {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.account-rental-card .account-rental-icon {
  width: 38px;
  height: 38px;
  border-radius: 13px;
  flex-basis: 38px;
}
.account-rental-card .account-rental-title-wrap {
  min-width: 0;
}
.account-rental-card .account-rent-notice-title {
  font-size: 18px;
  line-height: 1.15;
  overflow-wrap: anywhere;
}
.account-rental-card .account-days-badge {
  justify-self: end;
  align-self: center;
  min-height: 28px;
  padding: 0 10px;
  font-size: 10px;
}
.account-rental-card .account-rent-notice-text {
  margin: 0;
}
.account-rental-card .account-rent-notice-text:empty {
  display: none;
}
.account-rental-card .account-rent-notice-actions {
  width: 100%;
  min-width: 0;
  margin-top: 0;
}
.account-rental-card .account-rent-notice-actions .account-link-btn,
.account-rental-card .account-rent-notice-actions .account-btn {
  width: 100%;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 12px;
  font-size: 13px;
}
.account-rental-card .account-inline-renewal-wrap {
  width: 100% !important;
  max-width: 100%;
  flex-basis: 100% !important;
  box-sizing: border-box;
}
.account-rental-card [data-inline-renewal-panel] {
  width: 100% !important;
  box-sizing: border-box;
}
.account-rental-card {
  padding: 20px;
}
.account-rental-card .account-section-top {
  margin-bottom: 10px;
}
.account-rental-card .account-info-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
  margin-bottom: 12px;
}
/* BM ACCOUNT STEP 42: mobile pending-rental card cleanup.
   На mobile поля "Документы" и "Ячейка" идут на всю ширину.
   Логика аренды, оплаты, доступа и Supabase не менялась. */
.account-rental-card .account-info-grid .account-info-item:nth-child(1),
.account-rental-card .account-info-grid .account-info-item:nth-child(2) {
  grid-column: 1 / -1;
}
.account-rental-card .account-info-grid .account-info-item {
  min-width: 0;
}
.account-rental-card .account-hint-text {
  margin-top: 2px;
}
.account-booking-auth-notice {
  padding: 14px 14px;
  border-radius: 16px;
  gap: 8px;
}
.account-booking-auth-title {
  font-size: 20px;
}
.account-booking-auth-text,
.account-booking-auth-subtext {
  font-size: 14px;
  line-height: 1.5;
}
.account-memo-item {
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.5;
}
.account-consent-box {
  padding: 14px;
  border-radius: 16px;
  gap: 10px;
}
.account-reservation-banner-inner {
  gap: 12px;
}
.account-reservation-icon,
.account-rental-icon {
  width: 38px;
  height: 38px;
  border-radius: 13px;
  flex-basis: 38px;
}
#reservationBox #reservationNoticeTitle {
  font-size: 17px;
}
#reservationBox #reservationNoticeText {
  font-size: 14px;
}
.account-rent-notice-actions .account-link-btn,
#accountCancelReservationBtn {
  width: 100%;
}
}

/* PHP account bridge for server-rendered TimeWeb version.
   Old Webflow CSS is preserved above; this part only connects it to PHP forms/data. */
.account-message-card-green {
  border-color: #cdeed7;
  background: var(--account-success-soft);
  color: var(--account-success);
  font-weight: 700;
}
.account-message-card-red {
  border-color: #f3b5b5;
  background: var(--account-danger-soft);
  color: var(--account-danger);
  font-weight: 700;
}
.account-page-wrap form {
  margin: 0;
}
.account-page-wrap .account-field {
  display: grid;
  gap: 8px;
}
.account-page-wrap .account-field-label {
  font-size: 13px;
  color: var(--account-muted);
  font-weight: 700;
}
.account-page-wrap .account-textarea {
  min-height: 96px;
  padding-top: 14px;
  resize: vertical;
}
.account-page-wrap button.account-link-btn {
  border: 0;
  cursor: pointer;
  font-family: inherit;
}
.account-page-wrap button.account-link-btn:hover {
  background: var(--account-primary-dark);
}
#documentsFormWrap .account-consent-item {
  margin-top: 10px;
}
#passportFileBlock {
  margin-top: 0;
  margin-bottom: 10px;
}
#passportFileBlock > div {
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  background: #ffffff;
  padding: 18px;
}
#reservationNotice.account-rent-notice-red {
  background:
    radial-gradient(circle at 92% 78%, rgba(239, 68, 68, 0.16) 0%, transparent 48%),
    linear-gradient(135deg, #fff7f7 0%, #fef2f2 100%);
  border-color: #f3b5b5;
}
#reservationNotice.account-rent-notice-red .account-reservation-icon {
  background: #dc2626;
  box-shadow: 0 12px 24px rgba(220, 38, 38, 0.18);
}
#reservationNotice.account-rent-notice-red #reservationNoticeTitle,
#reservationNotice.account-rent-notice-red #reservationNoticeText {
  color: #991b1b;
}
.account-reservation-hint-red {
  border-color: #f3b5b5 !important;
  background: #fef2f2 !important;
  color: var(--account-danger) !important;
}
.account-rental-card-gray {
  background: #fff;
  border-color: rgba(229, 231, 235, 0.9);
}
.account-page-wrap #logoutBtn {
  width: auto;
  text-decoration: none;
}
@media (max-width: 767px) {
  #documentsFormWrap .account-consent-item {
    font-size: 14px;
  }
  #passportFileBlock > div {
    padding: 14px;
  }
}

/* End Account page

/* --------------------------------------------------------------------------
   Page-specific outer containers
   -------------------------------------------------------------------------- */

.bm-body-account .bm-container {
  width: min(1180px, calc(100vw - 32px));
}

@media (max-width: 767px) {
  .bm-body-account .bm-container {
    width: 100%;
  }
}

/* End Page-specific outer containers */

/* --------------------------------------------------------------------------
   Access page
   -------------------------------------------------------------------------- */

.bm-body-access {
  background: #f6f7fb;
}

.bm-body-access .bm-container {
  width: min(1180px, calc(100vw - 32px));
}

.access-page-wrap {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 30px 20px 112px;
  box-sizing: border-box;
  font-family: var(--bm-font);
  color: var(--bm-text);
}

.access-box h1 {
  margin: 0 0 10px;
  font-size: 52px;
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -0.035em;
  color: var(--bm-text);
}

.access-box p {
  margin: 0;
}

.access-hero {
  position: relative;
  overflow: hidden;
  min-height: 178px;
  margin-bottom: 18px;
  padding: 28px;
  box-sizing: border-box;
  border: 1px solid #dbe3ff;
  border-radius: 28px;
  background:
    radial-gradient(circle at 87% 24%, rgba(63, 70, 217, 0.22) 0%, rgba(63, 70, 217, 0.08) 28%, transparent 56%),
    linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: 0 14px 34px rgba(17, 24, 39, 0.08);
}

.access-hero-content {
  position: relative;
  z-index: 2;
  max-width: 470px;
}

.access-hero-title {
  margin: 0 0 12px;
  font-size: 50px;
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--bm-text);
}

#accessIntroText.access-hero-text {
  margin: 0;
  max-width: 410px;
  color: var(--bm-muted);
  font-size: 18px;
  line-height: 1.48;
  font-weight: 400;
}

.access-hero-art {
  position: absolute;
  right: 30px;
  top: 28px;
  width: 136px;
  height: 136px;
  z-index: 1;
  pointer-events: none;
}

.access-hero-lock {
  position: absolute;
  right: 0;
  top: 0;
  width: 92px;
  height: 92px;
  border-radius: 30px;
  background: linear-gradient(135deg, #0B4A8A 0%, #002A5E 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 18px 34px rgba(63, 70, 217, 0.28);
}

.access-hero-lock svg {
  width: 42px;
  height: 42px;
  stroke: currentColor;
}

.access-hero-door {
  position: absolute;
  left: 0;
  bottom: 8px;
  width: 70px;
  height: 70px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(219, 227, 255, 0.92);
  color: rgba(63, 70, 217, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(10deg);
}

.access-hero-door svg {
  width: 34px;
  height: 34px;
  stroke: currentColor;
}

.access-hero-bubble {
  position: absolute;
  border-radius: 999px;
  background: rgba(63, 70, 217, 0.10);
}

.access-hero-bubble-1 {
  width: 18px;
  height: 18px;
  left: 24px;
  top: 16px;
}

.access-hero-bubble-2 {
  width: 9px;
  height: 9px;
  left: 78px;
  top: 0;
}

.access-hero-bubble-3 {
  width: 8px;
  height: 8px;
  right: 2px;
  bottom: 22px;
}

.access-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.05);
}

.access-status-card {
  position: relative;
  display: grid;
  gap: 0;
  padding: 0;
  overflow: hidden;
  border-color: #dbe3ff;
  border-radius: 26px;
  background: #ffffff;
  box-shadow: 0 14px 44px rgba(17, 24, 39, 0.07);
  isolation: isolate;
}

.access-status-card::before {
  content: "";
  position: absolute;
  top: -112px;
  right: -112px;
  width: 330px;
  height: 330px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(167, 243, 208, 0.74) 0%, rgba(204, 251, 241, 0.36) 42%, rgba(255, 255, 255, 0) 72%);
  filter: blur(2px);
  pointer-events: none;
  z-index: -1;
}

.access-status-card::after {
  content: "";
  position: absolute;
  left: -110px;
  bottom: -135px;
  width: 310px;
  height: 310px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(63, 70, 217, 0.12) 0%, rgba(59, 130, 246, 0.09) 44%, rgba(255, 255, 255, 0) 74%);
  pointer-events: none;
  z-index: -1;
}

.access-status-card:has(.access-badge-green) {
  border-color: rgba(16, 185, 129, 0.20);
}

.access-status-card:has(.access-badge-yellow),
.access-status-card:has(.access-badge-orange) {
  border-color: rgba(245, 158, 11, 0.24);
}

.access-status-card:has(.access-badge-red) {
  border-color: rgba(220, 38, 38, 0.22);
}

.access-status-card:has(.access-badge-gray) {
  border-color: rgba(148, 163, 184, 0.26);
}

.access-status-card:has(.access-badge-yellow)::before,
.access-status-card:has(.access-badge-orange)::before {
  background: radial-gradient(circle, rgba(253, 186, 116, 0.68) 0%, rgba(254, 215, 170, 0.32) 42%, rgba(255, 255, 255, 0) 72%);
}

.access-status-card:has(.access-badge-red)::before {
  background: radial-gradient(circle, rgba(252, 165, 165, 0.62) 0%, rgba(254, 202, 202, 0.30) 42%, rgba(255, 255, 255, 0) 72%);
}

.access-status-card:has(.access-badge-gray)::before {
  background: radial-gradient(circle, rgba(203, 213, 225, 0.54) 0%, rgba(226, 232, 240, 0.28) 44%, rgba(255, 255, 255, 0) 74%);
}

.access-status-card:has(.access-badge-yellow) .access-status-icon,
.access-status-card:has(.access-badge-orange) .access-status-icon {
  background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
  box-shadow: 0 14px 28px rgba(245, 158, 11, 0.26);
}

.access-status-card:has(.access-badge-red) .access-status-icon {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  box-shadow: 0 14px 28px rgba(220, 38, 38, 0.24);
}

.access-status-card:has(.access-badge-gray) .access-status-icon {
  background: linear-gradient(135deg, #64748b 0%, #475569 100%);
  box-shadow: 0 14px 28px rgba(71, 85, 105, 0.20);
}

.access-status-top {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 40px 24px;
}

.access-status-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.access-status-icon-wrap {
  position: relative;
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
}

.access-status-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(135deg, #10b981 0%, #11c99a 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 28px rgba(16, 185, 129, 0.28);
}

.access-status-icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
}

.access-status-icon-dot {
  position: absolute;
  top: -3px;
  right: -3px;
  width: 13px;
  height: 13px;
  border-radius: 999px;
  background: #6ee7b7;
  border: 3px solid #ffffff;
  animation: accessSoftPulse 1.7s ease-in-out infinite;
}

.access-main-status-title {
  margin: 0 0 4px;
  font-size: 29px;
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--bm-text);
}

.access-main-status-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.45;
  color: var(--bm-muted);
  font-weight: 400;
}

.access-badge {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  border: 1px solid transparent;
}

.access-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: currentColor;
  flex: 0 0 6px;
}

.access-badge-green {
  background: #ecfdf5;
  color: #047857;
  border-color: #a7f3d0;
  font-size: 0;
}

.access-badge-green::after {
  content: "ONLINE";
  font-size: 11px;
}

.access-badge-yellow {
  background: #fff7ed;
  color: #d97706;
  border-color: #f5d3a7;
  text-transform: none;
  letter-spacing: 0;
}

.access-badge-orange {
  background: #fff7ed;
  color: #ea580c;
  border-color: #fed7aa;
  text-transform: none;
  letter-spacing: 0;
}

.access-badge-red {
  background: #fef2f2;
  color: #dc2626;
  border-color: #fecaca;
  text-transform: none;
  letter-spacing: 0;
}

.access-badge-gray {
  background: #f3f4f6;
  color: #6b7280;
  border-color: #e5e7eb;
  text-transform: none;
  letter-spacing: 0;
}

.access-actions-row {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 330px;
  padding: 12px 40px 40px;
}

.access-open-btn {
  position: relative;
  width: 208px;
  height: 208px;
  min-height: 208px;
  max-width: none;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #4655df 0%, #002A5E 100%);
  color: #ffffff;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.24s ease, box-shadow 0.24s ease, background 0.24s ease;
  box-shadow: 0 24px 58px rgba(63, 70, 217, 0.34);
  box-sizing: border-box;
  z-index: 1;
}

.access-open-btn::before,
.access-open-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(63, 70, 217, 0.14);
  pointer-events: none;
  z-index: -1;
  animation: accessOpenPing 2.5s ease-out infinite;
}

.access-open-btn::after {
  animation-delay: 0.7s;
  background: rgba(63, 70, 217, 0.09);
}

.access-open-btn:hover {
  transform: scale(1.035);
  box-shadow: 0 28px 66px rgba(63, 70, 217, 0.39);
}

.access-open-btn:active {
  transform: scale(0.97);
}

.access-open-btn[disabled] {
  pointer-events: none;
}

.access-open-btn-inner-ring {
  position: absolute;
  inset: 13px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.18);
  pointer-events: none;
}

.access-open-btn-icon {
  width: 50px;
  height: 50px;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.16));
}

.access-open-btn-icon svg {
  width: 50px;
  height: 50px;
  stroke: currentColor;
}

.access-open-btn-label {
  color: #ffffff;
  font-size: 17px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.access-open-hint {
  max-width: 360px;
  color: #7a8497;
  font-size: 15px;
  line-height: 1.45;
  font-weight: 500;
  text-align: center;
}

.access-open-hint.is-success {
  color: #047857;
  font-weight: 700;
}

.access-open-hint.is-warning {
  color: #a16207;
  font-weight: 600;
}

.access-open-hint.is-danger {
  color: #b91c1c;
  font-weight: 600;
}

.access-open-hint.is-muted {
  color: #7a8497;
  font-weight: 500;
}

.access-message {
  padding: 0 40px 34px;
  margin-top: -20px;
  min-height: 18px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--bm-muted);
  text-align: center;
}

.access-message:empty {
  min-height: 0;
  padding-bottom: 0;
}

.access-help-box {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  border-top: 1px solid rgba(229, 231, 235, 0.76);
  padding: 24px 34px 28px;
  background: rgba(248, 250, 252, 0.52);
}

.access-help-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  color: var(--bm-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 38px;
}

.access-help-icon svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
}

.access-help-title {
  font-size: 15px;
  line-height: 1.25;
  font-weight: 700;
  color: var(--bm-text);
  margin-bottom: 6px;
}

.access-help-text {
  font-size: 15px;
  color: var(--bm-muted);
  line-height: 1.55;
  font-weight: 400;
}

.access-help-link {
  color: var(--bm-primary);
  text-decoration: none;
}

.access-help-link:hover {
  text-decoration: underline;
}

.access-memo-card,
.access-rental-card {
  position: relative;
  margin-top: 14px;
  border-radius: 24px;
  padding: 24px;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
  border-color: rgba(229, 231, 235, 0.92);
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.05);
}

.access-memo-card::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 250px;
  height: 250px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(63, 70, 217, 0.10) 0%, rgba(16, 185, 129, 0.08) 44%, rgba(255, 255, 255, 0) 72%);
  pointer-events: none;
}

.access-memo-head {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
}

.access-memo-icon {
  width: 44px;
  height: 44px;
  border-radius: 15px;
  background: var(--bm-primary-soft);
  color: var(--bm-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  box-shadow: 0 10px 22px rgba(63, 70, 217, 0.12);
}

.access-memo-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
}

.access-memo-title {
  margin: 0 0 4px;
  font-size: 24px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--bm-text);
}

.access-memo-text {
  max-width: 720px;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 400;
  color: var(--bm-muted);
}

.access-memo-list {
  position: relative;
  display: grid;
  gap: 10px;
}

.access-memo-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 15px;
  border: 1px solid rgba(229, 231, 235, 0.92);
  border-radius: 16px;
  background: rgba(248, 250, 252, 0.72);
  color: var(--bm-text);
  font-size: 15px;
  line-height: 1.45;
  font-weight: 500;
}

.access-memo-item-icon {
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border-radius: 999px;
  background: #ecfdf5;
  color: #047857;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 22px;
  font-size: 12px;
  font-weight: 900;
}

.access-rental-grid {
  display: grid;
  gap: 14px;
}
.access-rental-item {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.access-rental-stat {
  min-height: 72px;
  padding: 13px 14px;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background: rgba(248, 250, 252, 0.72);
}

.access-rental-stat span {
  display: block;
  margin-bottom: 6px;
  color: var(--bm-muted);
  text-transform: uppercase;
  letter-spacing: .11em;
  font-size: 10px;
  line-height: 1;
  font-weight: 900;
}

.access-rental-stat strong {
  display: block;
  color: var(--bm-text);
  font-size: 15px;
  line-height: 1.28;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.access-open-btn.is-state-idle {
  background: linear-gradient(135deg, #4655df 0%, #002A5E 100%);
  box-shadow: 0 24px 58px rgba(63, 70, 217, 0.34);
  cursor: pointer;
}

.access-open-btn.is-state-opening {
  background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
  box-shadow: 0 24px 58px rgba(245, 158, 11, 0.34);
  transform: scale(0.96);
  cursor: wait;
}

.access-open-btn.is-state-opened {
  background: linear-gradient(135deg, #10b981 0%, #0f9f8a 100%);
  box-shadow: 0 24px 58px rgba(16, 185, 129, 0.34);
  cursor: default;
}

.access-open-btn.is-state-blocked-orange {
  background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
  box-shadow: 0 24px 58px rgba(245, 158, 11, 0.26);
  cursor: not-allowed;
}

.access-open-btn.is-state-blocked-red {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  box-shadow: 0 24px 58px rgba(220, 38, 38, 0.26);
  cursor: not-allowed;
}

.access-open-btn.is-state-blocked-gray {
  background: linear-gradient(135deg, #64748b 0%, #475569 100%);
  box-shadow: 0 24px 58px rgba(71, 85, 105, 0.20);
  cursor: not-allowed;
}

.access-open-btn.is-state-opening::before,
.access-open-btn.is-state-opening::after,
.access-open-btn.is-state-opened::before,
.access-open-btn.is-state-opened::after,
.access-open-btn.is-state-blocked-orange::before,
.access-open-btn.is-state-blocked-orange::after,
.access-open-btn.is-state-blocked-red::before,
.access-open-btn.is-state-blocked-red::after,
.access-open-btn.is-state-blocked-gray::before,
.access-open-btn.is-state-blocked-gray::after {
  animation: none !important;
  opacity: 0 !important;
}

.access-open-btn.is-state-blocked-orange:hover,
.access-open-btn.is-state-blocked-red:hover,
.access-open-btn.is-state-blocked-gray:hover,
.access-open-btn.is-state-opening:hover,
.access-open-btn.is-state-opened:hover {
  transform: none;
}

.access-open-btn.is-state-opening:hover {
  transform: scale(0.96);
}

.access-open-spinner {
  width: 48px;
  height: 48px;
  border: 4px solid rgba(255, 255, 255, 0.30);
  border-top-color: #ffffff;
  border-radius: 999px;
  animation: accessButtonSpin 0.85s linear infinite;
  box-sizing: border-box;
}

@keyframes accessSoftPulse {
  0%, 100% { opacity: 0.62; transform: scale(0.92); }
  50% { opacity: 1; transform: scale(1); }
}

@keyframes accessOpenPing {
  0% { transform: scale(1); opacity: 0.48; }
  70%, 100% { transform: scale(1.55); opacity: 0; }
}

@keyframes accessButtonSpin {
  to { transform: rotate(360deg); }
}

@media (max-width: 767px) {
  .bm-body-access .bm-container {
    width: 100%;
  }

  .access-page-wrap {
    padding: 18px 0 112px;
  }

  .access-box h1 {
    font-size: 36px;
    margin-bottom: 8px;
  }

  .access-hero {
    min-height: 156px;
    margin-bottom: 16px;
    padding: 22px;
    border-radius: 24px;
  }

  .access-hero-content {
    max-width: 250px;
  }

  .access-hero-title {
    font-size: 38px;
    line-height: 1.02;
    margin-bottom: 12px;
  }

  #accessIntroText.access-hero-text {
    max-width: 232px;
    font-size: 16px;
    line-height: 1.45;
    margin-bottom: 0;
  }

  .access-hero-art {
    right: 18px;
    top: 20px;
    width: 118px;
    height: 118px;
  }

  .access-hero-lock {
    width: 78px;
    height: 78px;
    border-radius: 26px;
  }

  .access-hero-lock svg {
    width: 36px;
    height: 36px;
  }

  .access-hero-door {
    left: 0;
    bottom: 6px;
    width: 58px;
    height: 58px;
    border-radius: 18px;
  }

  .access-hero-door svg {
    width: 29px;
    height: 29px;
  }

  .access-card {
    border-radius: 22px;
    padding: 18px;
  }

  .access-status-card {
    padding: 0;
    border-radius: 24px;
  }

  .access-status-card::before {
    top: -112px;
    right: -156px;
    width: 300px;
    height: 300px;
  }

  .access-status-card::after {
    display: none;
  }

  .access-status-top {
    flex-direction: row;
    align-items: flex-start;
    padding: 22px 20px 18px;
    gap: 12px;
  }

  .access-status-heading {
    align-items: flex-start;
    gap: 12px;
  }

  .access-status-icon-wrap,
  .access-status-icon {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
    border-radius: 15px;
  }

  .access-main-status-title {
    font-size: 23px;
    line-height: 1.1;
    margin-bottom: 4px;
  }

  .access-main-status-text {
    font-size: 14px;
    line-height: 1.45;
  }

  .access-badge {
    display: none !important;
  }

  .access-actions-row {
    min-height: 270px;
    padding: 8px 20px 32px;
    gap: 16px;
  }

  .access-open-btn {
    width: 176px;
    height: 176px;
    min-height: 176px;
  }

  .access-open-btn-icon,
  .access-open-btn-icon svg {
    width: 42px;
    height: 42px;
  }

  .access-open-btn-label {
    font-size: 15px;
  }

  .access-open-hint {
    font-size: 14px;
    line-height: 1.45;
    max-width: 280px;
  }

  .access-message {
    padding: 0 20px 26px;
    margin-top: -16px;
    font-size: 13px;
  }

  .access-help-box {
    padding: 20px;
    gap: 12px;
  }

  .access-memo-card,
  .access-rental-card {
    margin-top: 12px;
    padding: 18px;
  }

  .access-memo-head {
    gap: 12px;
    margin-bottom: 14px;
  }

  .access-memo-icon {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
    border-radius: 14px;
  }

  .access-memo-title {
    font-size: 22px;
  }

  .access-memo-text,
  .access-memo-item,
  .access-help-text {
    font-size: 14px;
    line-height: 1.5;
  }

  .access-rental-grid {
    gap: 18px;
  }

  .access-rental-item {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-top: 18px;
    border-top: 1px solid rgba(229, 231, 235, 0.95);
  }

  .access-rental-item:first-child {
    padding-top: 0;
    border-top: 0;
  }
}

/* End Access page */

/* --------------------------------------------------------------------------
   Login page
   -------------------------------------------------------------------------- */

.bm-login-page {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 30px 20px 112px;
  box-sizing: border-box;
}

.bm-login-page .account-box {
  display: grid;
  gap: 10px;
}

.bm-login-hero {
  margin-bottom: 0;
}

.bm-login-hero-copy {
  position: relative;
  z-index: 2;
  max-width: 430px;
}

.bm-login-hero-copy h1 {
  margin: 0 0 10px;
  font-size: 52px;
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -0.035em;
  color: var(--bm-text);
}

.bm-login-page .account-hero-text {
  position: relative;
  z-index: 2;
  max-width: 390px;
  margin: 0;
  color: var(--bm-muted);
  font-size: 18px;
  line-height: 1.48;
  font-weight: 400;
}

.bm-login-auth-card {
  display: grid;
  gap: 14px;
  width: 100%;
 
  max-width: none;
  box-sizing: border-box;
  padding: 24px;
  border-radius: 24px;

}

.bm-login-form-row {
 
  display: grid;
 
  gap: 14px;
 
  align-items: stretch;
  flex-wrap: wrap;
  grid-template-columns: 1fr;

}

.bm-login-email-input {
 
  flex: none;
  width: 100%;

}

.bm-login-submit {
 
  flex: none;
 
  min-width: 0;
  width: 100%;
  min-height: 52px;

}

.bm-login-message {
  min-height: 18px;
  margin-top: 0;
  font-size: 14px;
  line-height: 1.45;
  color: var(--bm-muted);
}

.bm-login-message:empty {
  display: none;
}

.bm-login-message.is-success {
  display: block;
  padding: 13px 14px;
  border: 1px solid rgba(22, 163, 74, .22);
  border-radius: 14px;
  background: #ecfdf3;
  color: #14532d;
  font-weight: 700;
}

.bm-login-message.is-error {
  display: block;
  padding: 13px 14px;
  border: 1px solid #fecaca;
  border-radius: 14px;
  background: #fef2f2;
  color: #991b1b;
  font-weight: 700;
}

.bm-login-help {
 
  display: none;
  gap: 4px;
  padding-top: 2px;
  color: var(--bm-muted);
  font-size: 13px;
  line-height: 1.45;
  font-weight: 500;
}

@media (max-width: 767px) {
  .bm-login-page {
    width: 100%;
    max-width: 100%;
    padding: 18px 0 112px;
    overflow-x: hidden;
  }

  .bm-login-hero {
    min-height: 146px;
    margin-bottom: 0;
    padding: 22px;
    border-radius: 24px;
  }

  .bm-login-hero-copy h1 {
    max-width: 215px;
    font-size: 36px;
    line-height: 1.02;
    letter-spacing: -0.035em;
  }

  .bm-login-page .account-hero-text {
    max-width: 215px;
    font-size: 16px;
    line-height: 1.45;
  }

  .bm-login-auth-card {
    max-width: none;
    padding: 20px;
    border-radius: 22px;
  }

  .bm-login-form-row {
    display: grid;
    gap: 10px;
  }

  .bm-login-submit {
    width: 100%;
    min-width: 0;
  }

  .bm-login-help {
    font-size: 12.5px;
  }
}

/* End Login page */

/* --------------------------------------------------------------------------
   Contacts page
   -------------------------------------------------------------------------- */

.bm-body-contacts {
  background: #f6f7fb;
}

.bm-body-contacts .bm-container {
  width: min(1180px, calc(100vw - 32px));
}

.bm-contacts-page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 30px 20px 112px;
  box-sizing: border-box;
  font-family: var(--bm-font);
  color: var(--bm-text);
}

.bm-contacts-hero {
  position: relative;
  overflow: hidden;
  min-height: 178px;
  margin-bottom: 20px;
  padding: 28px;
  box-sizing: border-box;
  border: 1px solid #dbe3ff;
  border-radius: 28px;
  background:
    radial-gradient(circle at 87% 24%, rgba(1,56,124,0.22) 0%, rgba(1,56,124,0.08) 28%, transparent 56%),
    linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: 0 14px 34px rgba(17, 24, 39, 0.08);
}

.bm-contacts-hero-content {
  position: relative;
  z-index: 2;
  max-width: 430px;
}

.bm-contacts-title {
  margin: 0 0 12px;
  font-size: 50px;
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--bm-text);
}

.bm-contacts-subtitle {
  margin: 0;
  max-width: 370px;
  font-size: 18px;
  line-height: 1.48;
  color: var(--bm-muted);
}

.bm-contacts-hero-art {
  position: absolute;
  right: 30px;
  top: 28px;
  width: 132px;
  height: 132px;
  z-index: 1;
  pointer-events: none;
}

.bm-contacts-chat {
  position: absolute;
  right: 0;
  top: 0;
  width: 92px;
  height: 82px;
  border-radius: 32px 32px 32px 14px;
  background: linear-gradient(135deg, #6ea8ff 0%, #01387C 100%);
  box-shadow: 0 18px 34px rgba(1,56,124,0.28);
}

.bm-contacts-chat::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: -12px;
  width: 28px;
  height: 28px;
  border-radius: 0 0 22px 0;
  background: #01387C;
  transform: rotate(35deg);
}

.bm-contacts-chat-dot {
  position: absolute;
  top: 34px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 4px 9px rgba(17, 24, 39, 0.12);
  z-index: 2;
}

.bm-contacts-chat-dot:nth-child(1) { left: 26px; }
.bm-contacts-chat-dot:nth-child(2) { left: 42px; }
.bm-contacts-chat-dot:nth-child(3) { left: 58px; }

.bm-contacts-envelope {
  position: absolute;
  left: 0;
  bottom: 8px;
  width: 72px;
  height: 52px;
  border-radius: 14px;
  border: 3px solid rgba(1,56,124,0.16);
  transform: rotate(12deg);
}

.bm-contacts-envelope::before,
.bm-contacts-envelope::after {
  content: "";
  position: absolute;
  top: 18px;
  width: 42px;
  height: 3px;
  background: rgba(1,56,124,0.16);
}

.bm-contacts-envelope::before {
  left: 2px;
  transform: rotate(31deg);
}

.bm-contacts-envelope::after {
  right: 2px;
  transform: rotate(-31deg);
}

.bm-contacts-bubble {
  position: absolute;
  border-radius: 999px;
  background: rgba(1,56,124,0.10);
}

.bm-contacts-bubble-1 {
  width: 18px;
  height: 18px;
  left: 22px;
  top: 16px;
}

.bm-contacts-bubble-2 {
  width: 9px;
  height: 9px;
  left: 74px;
  top: 0;
}

.bm-contacts-bubble-3 {
  width: 8px;
  height: 8px;
  right: 2px;
  bottom: 22px;
}

.bm-contact-list {
  display: grid;
  gap: 16px;
  margin-bottom: 22px;
}

.bm-contact-card {
  background: #ffffff;
  border: 1px solid #dfe3eb;
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(17, 24, 39, 0.06);
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  box-sizing: border-box;
  text-decoration: none;
  color: var(--bm-text);
}

.bm-contact-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: var(--bm-primary-soft);
  color: var(--bm-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 54px;
}

.bm-contact-icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bm-contact-main {
  flex: 1 1 auto;
  min-width: 0;
}

.bm-contact-label {
  margin: 0 0 4px;
  font-size: 14px;
  line-height: 1.25;
  font-weight: 700;
  color: var(--bm-text);
}

.bm-contact-value {
  margin: 0 0 5px;
  font-size: 20px;
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: -0.02em;
  word-break: break-word;
  color: var(--bm-text);
}

.bm-contact-note {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  color: var(--bm-muted);
}

.bm-contact-chevron {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  color: var(--bm-muted);
  opacity: 0.85;
}

.bm-contact-chevron svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bm-messengers-card {
  background: #ffffff;
  border: 1px solid #dfe3eb;
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(17, 24, 39, 0.06);
  padding: 20px;
  box-sizing: border-box;
}

.bm-messengers-title {
  margin: 0 0 6px;
  font-size: 24px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--bm-text);
}

.bm-messengers-subtitle {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.45;
  color: var(--bm-muted);
}

.bm-messenger-list {
  display: grid;
  gap: 10px;
}

.bm-messenger-link {
  min-height: 66px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 12px;
  box-sizing: border-box;
  border: 1px solid #dfe3eb;
  border-radius: 17px;
  background: #ffffff;
  color: var(--bm-text);
  text-decoration: none;
}

.bm-messenger-icon {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  color: #ffffff;
}

.bm-messenger-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
  stroke: currentColor;
}

.bm-messenger-icon-max {
  background: var(--bm-primary);
}

.bm-messenger-icon-whatsapp {
  background: #22c55e;
}

.bm-messenger-icon-telegram {
  background: #2aabee;
}

.bm-messenger-main {
  min-width: 0;
  flex: 1 1 auto;
}

.bm-messenger-name {
  margin: 0 0 3px;
  font-size: 17px;
  line-height: 1.2;
  font-weight: 700;
  color: var(--bm-text);
}

.bm-messenger-note {
  margin: 0;
  font-size: 14px;
  line-height: 1.35;
  color: var(--bm-muted);
}

.bm-messenger-chevron {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  color: var(--bm-primary);
}

.bm-messenger-chevron svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bm-requisites-card {
  background: #ffffff;
  border: 1px solid #dfe3eb;
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(17, 24, 39, 0.06);
  padding: 18px;
}

.bm-requisites-card-hidden {
  display: none;
}

.bm-requisites-title {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.bm-requisites-list {
  display: grid;
  gap: 8px;
}

.bm-requisites-item {
  border: 1px solid #dfe3eb;
  border-radius: 14px;
  background: #fbfcff;
  padding: 10px 12px;
}

.bm-requisites-item-value {
  margin: 0;
  font-size: 15px;
  line-height: 1.4;
  font-weight: 700;
  color: var(--bm-text);
  word-break: break-word;
}

@media (min-width: 768px) {
  .bm-contact-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
  }

  .bm-contact-card {
    min-height: 124px;
  }

  .bm-contact-value {
    font-size: 19px;
  }

  .bm-messengers-card {
    grid-column: 1 / -1;
  }

  .bm-messenger-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .bm-messenger-link {
    min-height: 72px;
  }
}

@media (max-width: 991px) and (min-width: 768px) {
  .bm-contact-list {
    grid-template-columns: 1fr;
  }

  .bm-messenger-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .bm-body-contacts .bm-container {
    width: 100%;
  }

  .bm-contacts-page {
    padding: 16px 0 112px;
  }

  .bm-contacts-hero {
    min-height: 156px;
    margin-bottom: 16px;
    padding: 22px;
    border-radius: 24px;
  }

  .bm-contacts-hero-content {
    max-width: 250px;
  }

  .bm-contacts-title {
    font-size: 38px;
    line-height: 1.02;
    margin-bottom: 12px;
  }

  .bm-contacts-subtitle {
    max-width: 235px;
    font-size: 16px;
    line-height: 1.45;
  }

  .bm-contacts-hero-art {
    right: 18px;
    top: 20px;
    width: 118px;
    height: 118px;
  }

  .bm-contacts-chat {
    width: 78px;
    height: 70px;
    border-radius: 26px 26px 26px 12px;
  }

  .bm-contacts-chat::after {
    right: 16px;
    bottom: -9px;
    width: 22px;
    height: 22px;
  }

  .bm-contacts-chat-dot {
    top: 29px;
    width: 8px;
    height: 8px;
  }

  .bm-contacts-chat-dot:nth-child(1) { left: 22px; }
  .bm-contacts-chat-dot:nth-child(2) { left: 36px; }
  .bm-contacts-chat-dot:nth-child(3) { left: 50px; }

  .bm-contacts-envelope {
    left: 0;
    bottom: 6px;
    width: 58px;
    height: 42px;
    border-radius: 12px;
    border-width: 3px;
  }

  .bm-contacts-envelope::before,
  .bm-contacts-envelope::after {
    top: 15px;
    width: 34px;
    height: 3px;
  }

  .bm-contact-list {
    gap: 14px;
    margin-bottom: 18px;
  }

  .bm-contact-card {
    min-height: 96px;
    padding: 14px 16px;
    gap: 14px;
    border-radius: 22px;
  }

  .bm-contact-icon {
    width: 52px;
    height: 52px;
    flex-basis: 52px;
    border-radius: 15px;
  }

  .bm-contact-icon svg {
    width: 23px;
    height: 23px;
  }

  .bm-contact-label {
    font-size: 13px;
    margin-bottom: 4px;
  }

  .bm-contact-value {
    margin-bottom: 5px;
    font-size: 18px;
    line-height: 1.16;
  }

  .bm-contact-note {
    font-size: 13px;
    line-height: 1.35;
  }

  .bm-messengers-card {
    padding: 18px 16px;
    border-radius: 22px;
  }

  .bm-messengers-title {
    font-size: 22px;
  }

  .bm-messengers-subtitle {
    margin-bottom: 14px;
    font-size: 14px;
    line-height: 1.4;
  }

  .bm-messenger-list {
    gap: 9px;
  }

  .bm-messenger-link {
    min-height: 62px;
    padding: 9px 11px;
    border-radius: 16px;
    gap: 12px;
  }

  .bm-messenger-icon {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
    border-radius: 12px;
  }

  .bm-messenger-icon svg {
    width: 23px;
    height: 23px;
  }

  .bm-messenger-name {
    font-size: 16px;
  }

  .bm-messenger-note {
    font-size: 13px;
  }

  .bm-requisites-card {
    padding: 16px;
    border-radius: 22px;
  }

  .bm-requisites-title {
    font-size: 20px;
    margin-bottom: 10px;
  }

  .bm-requisites-item {
    padding: 10px 12px;
    border-radius: 12px;
  }

  .bm-requisites-item-value {
    font-size: 14px;
    line-height: 1.35;
  }
}

@media (max-width: 430px) {
  .bm-contacts-hero-content {
    max-width: 230px;
  }

  .bm-contacts-subtitle {
    max-width: 215px;
  }

  .bm-contacts-hero-art {
    right: 12px;
    opacity: 0.92;
  }
}

@media (max-width: 380px) {
  .bm-contacts-hero {
    padding: 20px;
  }

  .bm-contacts-title {
    font-size: 34px;
  }

  .bm-contacts-subtitle {
    max-width: 190px;
    font-size: 15px;
  }

  .bm-contacts-hero-art {
    width: 104px;
    height: 104px;
    right: 10px;
    top: 22px;
  }

  .bm-contacts-chat {
    width: 68px;
    height: 62px;
  }

  .bm-contact-card {
    padding: 14px;
    gap: 12px;
  }

  .bm-contact-icon {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
  }

  .bm-contact-value {
    font-size: 17px;
  }

  .bm-contact-note {
    font-size: 12.5px;
  }

  .bm-messenger-link {
    gap: 10px;
  }

  .bm-messenger-icon {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  .bm-messenger-name {
    font-size: 15.5px;
  }

  .bm-messenger-note {
    font-size: 12.5px;
  }
}

/* End Contacts page */

/* --------------------------------------------------------------------------
   Legal document pages
   -------------------------------------------------------------------------- */

.bm-body-legal {
  background: var(--bm-bg);
}

.bm-body-legal .bm-container {
  width: min(980px, calc(100vw - 32px));
}

.bm-doc-wrap {
  max-width: 980px;
  margin: 0 auto;
  padding: 28px 20px 72px;
  box-sizing: border-box;
  font-family: var(--bm-font);
  color: var(--bm-text);
}

.bm-doc-card {
  background: var(--bm-surface);
  border: 1px solid var(--bm-line);
  border-radius: 28px;
  box-shadow: var(--bm-shadow-card);
  padding: 30px;
}

.bm-doc-kicker {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--bm-primary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.bm-doc-title {
  margin: 0 0 12px;
  color: var(--bm-text);
  font-size: 42px;
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.bm-doc-note {
  margin: 0 0 26px;
  color: var(--bm-muted);
  font-size: 15px;
  line-height: 1.6;
  font-weight: 500;
}

.bm-doc-section {
  padding-top: 22px;
  border-top: 1px solid var(--bm-line);
  margin-top: 22px;
}

.bm-doc-section-title {
  margin: 0 0 14px;
  color: var(--bm-text);
  font-size: 24px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.bm-doc-p {
  margin: 0 0 12px;
  color: var(--bm-text);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 500;
}

.bm-doc-list {
  margin: 0 0 12px 0;
  padding-left: 22px;
}

.bm-doc-list li {
  margin-bottom: 8px;
  color: var(--bm-text);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 500;
}

.bm-doc-req {
  margin-top: 16px;
  padding: 18px;
  border-radius: 20px;
  background: #f8fafc;
  border: 1px solid var(--bm-line);
}

.bm-doc-req p {
  margin: 0 0 8px;
  color: var(--bm-text);
  font-size: 15px;
  line-height: 1.65;
  font-weight: 500;
}

.bm-doc-req p:last-child {
  margin-bottom: 0;
}

@media (max-width: 767px) {
  .bm-body-legal .bm-container {
    width: 100%;
  }

  .bm-doc-wrap {
    padding: 16px 0 42px;
  }

  .bm-doc-card {
    padding: 20px 16px;
    border-radius: 22px;
  }

  .bm-doc-title {
    font-size: 30px;
  }

  .bm-doc-note,
  .bm-doc-p,
  .bm-doc-list li {
    font-size: 14px;
    line-height: 1.65;
  }

  .bm-doc-section-title {
    font-size: 20px;
  }
}

/* End Legal document pages */

/* --------------------------------------------------------------------------
   Admin page
   -------------------------------------------------------------------------- */

.bm-body-admin {
  background: #f6f7fb;
}

.bm-body-admin .bm-container {
  width: min(1180px, calc(100vw - 32px));
  max-width: 1180px;
}

.admin-page-wrap {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 30px 20px 112px;
  box-sizing: border-box;
  font-family: var(--bm-font);
  color: #111827;
}

.admin-page-wrap {
  --admin-bg: #f6f7fb;
  --admin-white: #ffffff;
  --admin-text: #111827;
  --admin-muted: #6b7280;
  --admin-line: #e5e7eb;
  --admin-primary: #01387C;
  --admin-primary-dark: #002A5E;
  --admin-primary-soft: #eef3f7;
  --admin-success: #16a34a;
  --admin-success-soft: #ecfdf3;
  --admin-warning: #d97706;
  --admin-warning-soft: #fff7ed;
  --admin-danger: #dc2626;
  --admin-danger-soft: #fef2f2;
  --admin-gray-soft: #f3f4f6;
}

.admin-box {
  display: grid;
  gap: 18px;
}

.admin-head h1 {
  margin: 0 0 10px;
  font-size: 52px;
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--admin-text);
}

.admin-head p {
  margin: 0 0 22px;
  color: var(--admin-muted);
  font-size: 20px;
  line-height: 1.5;
}

.admin-card,
.admin-search-block {
  background: var(--admin-white);
  border: 1px solid var(--admin-line);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(17, 24, 39, 0.06);
}

.admin-panel-card {
  display: grid;
  gap: 18px;
}

.admin-panel-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.admin-panel-label,
.admin-section-label,
.admin-info-label,
.admin-field-label {
  font-size: 14px;
  color: var(--admin-muted);
  margin-bottom: 8px;
}

.admin-panel-title,
.admin-section-title,
.admin-subsection-title,
.admin-login-title,
.admin-state-title {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.admin-subsection-title-small {
  margin-bottom: 12px;
  font-size: 20px;
}

.admin-panel-email,
.admin-login-text,
.admin-state-text,
.admin-soft-box {
  font-size: 16px;
  line-height: 1.55;
  color: var(--admin-muted);
}

.admin-section-line {
  height: 1px;
  background: var(--admin-line);
  margin: 4px 0;
}

.admin-input,
.admin-select {
  width: 100%;
  min-height: 52px;
  border: 1px solid #d7dce6;
  border-radius: 16px;
  padding: 0 16px;
  font-size: 16px;
  box-sizing: border-box;
  background: #fff;
  color: var(--admin-text);
  outline: none;
  font-family: inherit;
}

.admin-btn,
.admin-filter-btn {
  text-decoration: none;
  font-family: inherit;
}

.admin-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 16px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid transparent;
}

.admin-btn-solid {
  background: var(--admin-primary);
  color: #fff;
}

.admin-btn-solid:hover {
  background: var(--admin-primary-dark);
}

.admin-btn-outline,
.admin-btn-state,
.admin-btn-assign {
  background: #fff;
  color: var(--admin-text);
  border-color: var(--admin-line);
}

.admin-btn-outline:hover,
.admin-btn-state:hover,
.admin-btn-assign:hover {
  background: #f9fafb;
}

.admin-btn-small {
  min-height: 44px;
  padding: 0 16px;
  font-size: 14px;
  width: auto;
}

.admin-btn-danger {
  background: var(--admin-danger);
  color: #fff;
  border-color: var(--admin-danger);
}

.admin-btn-danger:hover {
  background: #b91c1c;
}

.admin-btn-state-danger {
  background: #fff;
  color: var(--admin-danger);
  border-color: #f2a3a3;
}

.admin-btn-state-danger:hover {
  background: #fff5f5;
}

.admin-btn.is-active,
.admin-btn-state.is-active,
.admin-btn-assign.is-active,
.admin-btn.admin-btn-outline.is-active {
  background: var(--admin-primary);
  color: #fff;
  border-color: var(--admin-primary);
}

.admin-btn-state-danger.is-active,
.admin-btn-danger.is-active {
  background: var(--admin-danger);
  color: #fff;
  border-color: var(--admin-danger);
}

.admin-btn:disabled,
.admin-select:disabled,
.admin-input:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.admin-message-box {
  border-radius: 18px;
  padding: 14px 16px;
  font-size: 15px;
  line-height: 1.45;
  font-weight: 700;
}

.admin-message-success {
  border: 1px solid #cdeed7;
  background: #ecfdf3;
  color: #14532d;
}

.admin-message-error {
  border: 1px solid #f3b5b5;
  background: #fef2f2;
  color: #991b1b;
}

.admin-results-wrap,
.admin-details-wrap,
.admin-subsection {
  display: grid;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--admin-line);
  border-radius: 24px;
  padding: 22px;
  box-shadow: 0 10px 30px rgba(17, 24, 39, 0.06);
}

.admin-users-list {
  display: grid;
  gap: 10px;
}

.admin-user-item {
  width: 100%;
  text-align: left;
  border: 1px solid var(--admin-line);
  border-radius: 18px;
  background: #fff;
  padding: 14px 16px;
  cursor: pointer;
  text-decoration: none;
  color: var(--admin-text);
}

.admin-user-item.is-active {
  border-color: var(--admin-primary);
  background: #f8fafc;
}

.admin-user-item-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--admin-text);
  margin-bottom: 4px;
}

.admin-user-item-email,
.admin-user-item-phone {
  font-size: 14px;
  color: var(--admin-muted);
  line-height: 1.45;
}

.admin-user-item-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.admin-mini-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  border: 1px solid transparent;
}

.admin-mini-badge-gray,
.admin-doc-status-gray {
  background: var(--admin-gray-soft);
  color: var(--admin-muted);
  border-color: #e5e7eb;
}

.admin-mini-badge-yellow,
.admin-doc-status-yellow {
  background: var(--admin-warning-soft);
  color: var(--admin-warning);
  border-color: #f5d3a7;
}

.admin-mini-badge-green,
.admin-doc-status-green {
  background: var(--admin-success-soft);
  color: var(--admin-success);
  border-color: #cdeed7;
}

.admin-mini-badge-red,
.admin-doc-status-red {
  background: var(--admin-danger-soft);
  color: var(--admin-danger);
  border-color: #f3b5b5;
}

.admin-filters-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-filter-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--admin-line);
  background: #fff;
  color: var(--admin-text);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.admin-filter-btn:hover {
  background: #f9fafb;
}

.admin-filter-btn.is-active {
  background: var(--admin-primary);
  color: #fff;
  border-color: var(--admin-primary);
}

.admin-alerts-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.admin-alert-card {
  border: 1px solid var(--admin-line);
  border-radius: 22px;
  background: #fff;
  padding: 18px;
}

.admin-alert-list {
  display: grid;
  gap: 10px;
}

.admin-alert-item {
  display: block;
  border: 1px solid var(--admin-line);
  border-radius: 16px;
  background: #fbfcff;
  padding: 12px 14px;
  text-decoration: none;
  color: var(--admin-text);
}

.admin-alert-item-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
  align-items: flex-start;
}

.admin-alert-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--admin-text);
  line-height: 1.35;
}

.admin-alert-meta {
  font-size: 13px;
  color: var(--admin-muted);
  line-height: 1.45;
}

.admin-alert-date {
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.admin-alert-date-warning {
  color: var(--admin-warning);
}

.admin-alert-date-danger {
  color: var(--admin-danger);
}

.admin-user-top,
.admin-subsection-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.admin-user-name {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--admin-text);
  margin-bottom: 6px;
}

.admin-user-email {
  font-size: 16px;
  line-height: 1.45;
  color: var(--admin-muted);
}

.admin-user-badge,
.admin-doc-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.admin-user-badge {
  background: var(--admin-primary-soft);
  color: var(--admin-primary);
}

.admin-info-grid,
.admin-doc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.admin-select-grid {
  align-items: end;
}

.admin-info-item {
  border: 1px solid var(--admin-line);
  border-radius: 18px;
  background: #fbfcff;
  padding: 14px;
}

.admin-info-value {
  font-size: 16px;
  font-weight: 700;
  color: var(--admin-text);
  line-height: 1.45;
  word-break: break-word;
}

.admin-mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 13px;
}

.admin-soft-box {
  border: 1px solid var(--admin-line);
  border-radius: 18px;
  background: #fbfcff;
  padding: 18px;
}

.admin-soft-box-warning {
  background: var(--admin-warning-soft);
  border-color: #f5d3a7;
  color: #9a5a09;
}

.admin-delete-user-warning {
  border-color: #f3b5b5;
  background: #fef2f2;
  color: #991b1b;
}

.admin-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.admin-field {
  margin-bottom: 12px;
}

.admin-field-group {
  border-top: 1px solid var(--admin-line);
  padding-top: 14px;
  margin-top: 14px;
}

.admin-group-note {
  margin-bottom: 10px;
  font-size: 14px;
  color: var(--admin-muted);
}

.admin-edit-guard {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  margin-bottom: 16px;
  border: 1px solid var(--admin-line);
  border-radius: 18px;
  background: #fbfcff;
}

.admin-edit-guard.is-enabled {
  background: #ecfdf3;
  border-color: #cdeed7;
}

.admin-edit-guard-title {
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--admin-text);
  margin-bottom: 6px;
}

.admin-edit-guard-text {
  font-size: 14px;
  line-height: 1.5;
  color: var(--admin-muted);
}

.admin-toggle {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  user-select: none;
  flex: 0 0 auto;
}

.admin-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.admin-toggle-track {
  position: relative;
  width: 52px;
  height: 30px;
  border-radius: 999px;
  background: #d1d5db;
  transition: 0.2s ease;
  flex: 0 0 52px;
}

.admin-toggle-track::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.14);
  transition: 0.2s ease;
}

.admin-toggle input:checked + .admin-toggle-track {
  background: var(--admin-primary);
}

.admin-toggle input:checked + .admin-toggle-track::after {
  transform: translateX(22px);
}

.admin-toggle-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--admin-text);
  white-space: nowrap;
}

.admin-block-title {
  margin: 0 0 6px;
  font-size: 28px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--admin-text);
}

.admin-block-subtitle {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--admin-muted);
}

.admin-rentals-list {
  display: grid;
  gap: 12px;
}

.admin-rental-card {
  border: 1px solid var(--admin-line);
  border-radius: 20px;
  background: #fbfcff;
  padding: 16px;
  box-sizing: border-box;
}

.admin-rental-card.is-selected {
  border-color: var(--admin-primary);
  background: #f8fafc;
  box-shadow: 0 8px 22px rgba(1,56,124,0.10);
}

.admin-rental-card.is-overdue {
  border-color: rgba(220, 38, 38, 0.28);
  background: #fffafa;
}

.admin-rental-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.admin-rental-card-index {
  margin-bottom: 4px;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 700;
  color: var(--admin-muted);
}

.admin-rental-card-name {
  font-size: 20px;
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--admin-text);
}

.admin-rental-card-badge {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: #ecfdf3;
  border: 1px solid #cdeed7;
  color: #16a34a;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.admin-rental-card-badge.is-overdue {
  background: #fef2f2;
  border-color: #fecaca;
  color: #dc2626;
}

.admin-rental-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.admin-rental-info {
  border: 1px solid var(--admin-line);
  border-radius: 16px;
  background: #ffffff;
  padding: 13px 14px;
}

.admin-rental-label {
  margin-bottom: 6px;
  font-size: 13px;
  line-height: 1.2;
  color: var(--admin-muted);
}

.admin-rental-value {
  font-size: 15px;
  line-height: 1.35;
  font-weight: 700;
  color: var(--admin-text);
  word-break: break-word;
}

@media (max-width: 767px) {
  .bm-body-admin .bm-container {
    width: 100%;
  }

  .admin-page-wrap {
    padding: 18px 0 112px;
    max-width: none;
  }

  .admin-head h1 {
    font-size: 36px;
    margin-bottom: 8px;
  }

  .admin-head p {
    font-size: 16px;
    margin-bottom: 18px;
    line-height: 1.45;
  }

  .admin-card,
  .admin-search-block,
  .admin-results-wrap,
  .admin-details-wrap,
  .admin-subsection {
    padding: 18px;
    border-radius: 22px;
  }

  .admin-panel-top,
  .admin-user-top,
  .admin-subsection-top,
  .admin-rental-card-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .admin-panel-title,
  .admin-section-title,
  .admin-subsection-title,
  .admin-login-title,
  .admin-state-title,
  .admin-block-title {
    font-size: 22px;
  }

  .admin-user-name {
    font-size: 24px;
  }

  .admin-input,
  .admin-select {
    min-height: 50px;
    font-size: 15px;
    border-radius: 15px;
    padding-left: 14px;
    padding-right: 14px;
  }

  .admin-btn {
    width: 100%;
    min-height: 48px;
    border-radius: 15px;
    font-size: 15px;
  }

  .admin-btn-small {
    width: auto;
    min-height: 42px;
    font-size: 14px;
  }

  .admin-info-grid,
  .admin-doc-grid,
  .admin-rental-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .admin-info-item,
  .admin-soft-box {
    padding: 14px;
    border-radius: 16px;
  }

  .admin-actions {
    flex-direction: column;
  }

  .admin-alerts-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .admin-alert-card {
    padding: 14px;
    border-radius: 18px;
  }

  .admin-alert-item {
    padding: 12px;
    border-radius: 14px;
  }

  .admin-alert-item-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .admin-edit-guard {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 14px;
    border-radius: 16px;
  }

  .admin-toggle {
    width: 100%;
    justify-content: space-between;
  }

  .admin-toggle-label {
    white-space: normal;
    text-align: right;
  }
}

/* End Admin page */


/* BM STEP 42C: shared public container width set to 1180px to match old Webflow desktop width. */


/* BM STEP 42E: desktop public cards/images made taller after container width increase to preserve old Webflow-like proportions. */

/* BM STEP 51C: rental renewal and overdue recovery */
.account-renewal {
  margin-top: 12px;
  border: 1px solid #dbe3ff;
  border-radius: 16px;
  background: #f8fafc;
  overflow: hidden;
}

.account-rental-card-red .account-renewal {
  border-color: #fecaca;
  background: #fffafa;
}

.account-renewal-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  padding: 0 14px;
  color: #3447d7;
  font-size: 13px;
  line-height: 1.3;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.account-renewal-summary::-webkit-details-marker {
  display: none;
}

.account-renewal-summary::after {
  content: "⌄";
  color: #667085;
  font-size: 15px;
}

.account-renewal[open] .account-renewal-summary::after {
  content: "⌃";
}

.account-renewal-body {
  padding: 0 14px 14px;
}

.account-renewal-title {
  margin-bottom: 10px;
  color: #111827;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 700;
}

.account-renewal-top-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 10px;
}

.account-renewal-stat {
  min-width: 0;
  padding: 11px 12px;
  border: 1px solid #e4e8f0;
  border-radius: 12px;
  background: #fff;
}

.account-renewal-stat span,
.account-renewal-result span {
  display: block;
  margin-bottom: 4px;
  color: #667085;
  font-size: 12px;
  line-height: 1.3;
}

.account-renewal-stat strong,
.account-renewal-result strong {
  color: #111827;
  font-size: 14px;
  line-height: 1.3;
  font-weight: 600;
}

.account-renewal-label {
  display: block;
  margin-bottom: 6px;
  color: #667085;
  font-size: 13px;
  line-height: 1.3;
}

.account-renewal-select {
  width: 100%;
  min-height: 46px;
  margin-bottom: 10px;
  padding: 0 13px;
  border: 1px solid #d7dce6;
  border-radius: 12px;
  background: #fff;
  color: #111827;
  font: inherit;
  font-size: 14px;
}

.account-renewal-result {
  display: grid;
  gap: 0;
  margin-bottom: 10px;
  border: 1px solid #e4e8f0;
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}

.account-renewal-result > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 12px;
}

.account-renewal-result > div + div {
  border-top: 1px solid #edf0f5;
}

.account-renewal-result span {
  margin: 0;
}

.account-renewal-help {
  margin-bottom: 10px;
  color: #667085;
  font-size: 12px;
  line-height: 1.45;
}

.account-renewal-pay-btn {
  width: auto;
  min-height: 42px;
  padding: 0 14px;
}

.account-renewal-pay-btn:disabled {
  cursor: wait;
  opacity: .65;
}

.account-renewal-error {
  margin-bottom: 10px;
  padding: 11px 12px;
  border: 1px solid #fecaca;
  border-radius: 12px;
  background: #fef2f2;
  color: #991b1b;
  font-size: 13px;
  line-height: 1.45;
}

@media (max-width: 767px) {
  .account-renewal {
    margin-top: 10px;
    border-radius: 14px;
  }

  .account-renewal-summary {
    min-height: 42px;
    padding: 0 12px;
    font-size: 12px;
  }

  .account-renewal-body {
    padding: 0 12px 12px;
  }

  .account-renewal-title {
    font-size: 16px;
  }

  .account-renewal-top-grid {
    gap: 8px;
  }

  .account-renewal-stat {
    padding: 9px 10px;
  }

  .account-renewal-stat span,
  .account-renewal-result span {
    font-size: 10.5px;
  }

  .account-renewal-stat strong,
  .account-renewal-result strong {
    font-size: 12px;
  }

  .account-renewal-select {
    min-height: 44px;
    font-size: 13px;
  }

  .account-renewal-result > div {
    padding: 8px 10px;
  }

  .account-renewal-help {
    font-size: 11px;
  }

  .account-renewal-pay-btn {
    width: 100%;
  }
}
/* End BM STEP 51C */

/* BM STEP 55A: fix iOS Safari date inputs in /account document form.
   Native type=date controls have an intrinsic minimum width on iOS.
   Keep the grid item and the control inside the mobile viewport. */
@media (max-width: 767px) {
  #documentsFormWrap .account-edit-grid,
  #documentsFormWrap .account-field {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  #documentsFormWrap input.account-input[type="date"] {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    inline-size: 100% !important;
    max-inline-size: 100% !important;
    min-inline-size: 0 !important;
    box-sizing: border-box;
    text-align: left;
  }

  #documentsFormWrap input.account-input[type="date"]::-webkit-date-and-time-value {
    text-align: left;
  }
}

/* BM STEP 59C: mobile admin uses at most two structural background levels.
   Level 1: page background. Level 2: white section surface.
   Nested content is separated with lines and spacing, not extra fills. */
@media (max-width: 767px) {
  .bm-body-admin .admin-card,
  .bm-body-admin .admin-search-block,
  .bm-body-admin .admin-results-wrap,
  .bm-body-admin .admin-details-wrap,
  .bm-body-admin .admin-subsection {
    background: #fff;
    box-shadow: none;
  }

  .bm-body-admin .admin-card .admin-subsection,
  .bm-body-admin .admin-details-wrap .admin-subsection,
  .bm-body-admin .admin-subsection .admin-subsection {
    padding-left: 0;
    padding-right: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .bm-body-admin .admin-info-grid,
  .bm-body-admin .admin-doc-grid,
  .bm-body-admin .admin-rental-grid {
    gap: 0;
    margin-bottom: 14px;
    border-top: 1px solid var(--admin-line);
  }

  .bm-body-admin .admin-info-item,
  .bm-body-admin .admin-rental-info {
    padding: 13px 0;
    border: 0;
    border-bottom: 1px solid var(--admin-line);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .bm-body-admin .admin-soft-box,
  .bm-body-admin .admin-edit-guard {
    border-radius: 14px;
    box-shadow: none;
  }

  .bm-body-admin .admin-soft-box:not(.admin-soft-box-warning):not(.admin-delete-user-warning),
  .bm-body-admin .admin-edit-guard:not(.is-enabled) {
    background: transparent;
  }

  .bm-body-admin .admin-rentals-list {
    gap: 0;
  }

  .bm-body-admin .admin-rental-card {
    padding: 18px 0;
    border: 0;
    border-bottom: 1px solid var(--admin-line);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .bm-body-admin .admin-rental-card:first-child {
    padding-top: 4px;
  }

  .bm-body-admin .admin-rental-card:last-child {
    padding-bottom: 4px;
    border-bottom: 0;
  }

  .bm-body-admin .admin-rental-card.is-selected {
    padding-left: 14px;
    border-left: 3px solid var(--admin-primary);
    border-top: 0;
    border-right: 0;
    background: transparent;
    box-shadow: none;
  }

  .bm-body-admin .admin-rental-card.is-overdue {
    padding-left: 14px;
    border-left: 3px solid var(--admin-danger);
    background: transparent;
  }

  .bm-body-admin .admin-rental-card-top {
    margin-bottom: 10px;
  }

  .bm-body-admin .admin-alert-card,
  .bm-body-admin .admin-alert-item,
  .bm-body-admin .admin-user-item {
    background: transparent;
    box-shadow: none;
  }

  .bm-body-admin .admin-alert-card {
    border-radius: 14px;
  }

  .bm-body-admin .admin-alert-item,
  .bm-body-admin .admin-user-item {
    border-radius: 12px;
  }

  .bm-body-admin .admin-user-item.is-active {
    background: transparent;
    box-shadow: inset 3px 0 0 var(--admin-primary);
  }
}
/* End BM STEP 59C */

/* BM STEP 62B — approved compact mobile storage-cell cards */
@media screen and (max-width: 767px) {
  .bm-body-sklady .bm-sklad-cell-list {
    gap: 10px;
  }

  .bm-body-sklady .bm-sklad-cell-row {
    grid-template-columns: 56px minmax(0, 1fr) auto;
    grid-template-areas:
      "size top price"
      ". meta meta"
      "action action action";
    gap: 8px 10px;
    align-items: start;
    min-height: 0;
    padding: 12px;
    border-radius: 18px;
  }

  .bm-body-sklady .bm-sklad-cell-size {
    grid-area: size;
    width: 52px;
    height: 52px;
    padding: 4px;
    border-radius: 13px;
    font-size: 14px;
    line-height: 1.05;
  }

  .bm-body-sklady .bm-sklad-cell-main,
  .bm-body-sklady .bm-sklad-cell-action {
    display: contents;
  }

  .bm-body-sklady .bm-sklad-cell-title {
    grid-area: top;
    min-width: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin: 1px 0 0;
  }

  .bm-body-sklady .bm-sklad-cell-title strong {
    font-size: 18px;
    line-height: 1.1;
  }

  .bm-body-sklady .bm-status {
    min-height: 23px;
    padding: 0 9px;
    font-size: 11px;
    white-space: nowrap;
  }

  .bm-body-sklady .bm-sklad-cell-main p {
    grid-area: meta;
    margin: 0;
    color: var(--bm-muted);
    font-size: 13px;
    line-height: 1.38;
  }

  .bm-body-sklady .bm-sklad-cell-size-repeat {
    display: none;
  }

  .bm-body-sklady .bm-sklad-price {
    grid-area: price;
    align-self: start;
    margin-top: 1px;
    text-align: right;
    white-space: nowrap;
    font-size: 18px;
    line-height: 1;
  }

  .bm-body-sklady .bm-sklad-price span {
    display: block;
    margin-top: 4px;
    font-size: 11px;
    line-height: 1;
  }

  .bm-body-sklady .bm-sklad-cell-action .bm-btn,
  .bm-body-sklady .bm-sklad-cell-action .bm-wf-btn,
  .bm-body-sklady .bm-sklad-cell-action .bm-wf-price-link {
    grid-area: action;
    width: 100%;
    min-width: 0;
    min-height: 42px;
    justify-self: stretch;
    justify-content: center;
    margin-top: 2px;
    padding: 0 14px;
    border-radius: 11px;
    font-size: 14px;
  }
}

@media screen and (max-width: 380px) {
  .bm-body-sklady .bm-sklad-cell-row {
    grid-template-columns: 52px minmax(0, 1fr) auto;
    gap: 7px 8px;
    padding: 11px;
  }

  .bm-body-sklady .bm-sklad-cell-size {
    width: 48px;
    height: 48px;
    font-size: 13px;
  }

  .bm-body-sklady .bm-sklad-cell-title strong {
    font-size: 17px;
  }

  .bm-body-sklady .bm-status {
    padding: 0 7px;
    font-size: 10px;
  }

  .bm-body-sklady .bm-sklad-price {
    font-size: 17px;
  }

  .bm-body-sklady .bm-sklad-cell-main p {
    font-size: 12px;
  }
}


/* --------------------------------------------------------------------------
   Step 72D — account desktop refinements only
   -------------------------------------------------------------------------- */

@media screen and (min-width: 768px) {
  .account-hero {
    min-height: 118px;
    padding: 22px 28px;
    display: flex;
    align-items: center;
  }

  .account-hero h1 {
    margin: 0;
    max-width: calc(100% - 140px);
  }

  .account-hero-icon {
    top: 50%;
    right: 28px;
    transform: translateY(-50%);
    width: 82px;
    height: 82px;
    border-radius: 27px;
  }

  .account-reservation-payment-block {
    margin-top: 10px;
  }

  .account-reservation-pay-form,
  .account-reservation-cancel-form {
    margin: 0;
  }

  .account-reservation-payment-block #reservationConsentBox {
    width: fit-content;
    max-width: 100%;
    margin-bottom: 14px;
  }

  .account-reservation-buttons-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 12px;
  }

  .account-reservation-buttons-row #reservationPayBtn,
  .account-reservation-buttons-row #accountCancelReservationBtn {
    width: auto;
    min-width: 188px;
  }
}

@media screen and (max-width: 767px) {
  .account-reservation-payment-block {
    margin-top: 10px;
  }

  .account-reservation-pay-form,
  .account-reservation-cancel-form {
    width: 100%;
  }

  .account-reservation-payment-block #reservationConsentBox {
    width: 100%;
    margin-bottom: 10px;
  }

  .account-reservation-buttons-row {
    display: grid;
    gap: 10px;
  }

  .account-reservation-buttons-row #reservationPayBtn,
  .account-reservation-buttons-row #accountCancelReservationBtn {
    width: 100%;
    min-width: 0;
  }
}

/* BM RESERVE SUCCESS POPUP PRODUCTION V1 */
.bm-reserve-card {
  max-height: calc(100dvh - 28px - env(safe-area-inset-bottom));
  overflow-y: auto;
}

.bm-reserve-card.is-success {
  max-width: 520px;
  padding: 24px 28px 28px;
}

.bm-reserve-success-lead {
  margin-bottom: 20px !important;
}

.bm-reserve-success-lead span {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.bm-reserve-success-next {
  display: flex;
  gap: 14px;
  margin-bottom: 12px;
  padding: 16px;
  border: 1px solid #dfe3ff;
  border-radius: 16px;
  background: #f7f8ff;
  text-align: left;
}

.bm-reserve-success-next-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex: 0 0 38px;
  border-radius: 12px;
  background: var(--bm-primary-soft);
  color: var(--bm-primary);
  font-size: 19px;
  font-weight: 900;
}

.bm-reserve-success-next strong {
  display: block;
  margin-bottom: 5px;
  color: var(--bm-text);
  font-size: 14px;
  line-height: 1.3;
  font-weight: 900;
}

.bm-reserve-success-next p {
  margin: 0;
  color: var(--bm-muted);
  font-size: 12.5px;
  line-height: 1.45;
  font-weight: 560;
}

.bm-reserve-success-hold {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #fff8e8;
  color: #76561b;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 650;
}

.bm-reserve-success-clock {
  position: relative;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border: 2px solid #b98222;
  border-radius: 50%;
}

.bm-reserve-success-clock::before,
.bm-reserve-success-clock::after {
  position: absolute;
  left: 7px;
  top: 3px;
  width: 2px;
  height: 5px;
  border-radius: 2px;
  background: #b98222;
  content: '';
  transform-origin: 1px 5px;
}

.bm-reserve-success-clock::after {
  transform: rotate(125deg);
}

.bm-reserve-success-state .bm-reserve-success-help {
  margin: 13px auto 0;
  color: var(--bm-muted);
  font-size: 12px;
}

@media screen and (max-width: 767px) {
  .bm-reserve-card.is-success {
    padding: 18px 16px 20px;
  }

  .bm-reserve-success-next {
    padding: 14px;
  }
}
/* END BM RESERVE SUCCESS POPUP PRODUCTION V1 */

/* BM SELECTED BLUE 01387C PRODUCTION V2 START */
.bm-hero-title-accent {
  color: #111827 !important;
}
/* BM SELECTED BLUE 01387C PRODUCTION V2 END */

/* BM MOBILE CELL HEADER ALIGN V1 START */
@media screen and (max-width: 767px) {
  .bm-body-sklady .bm-sklad-cell-size,
  .bm-body-sklady .bm-sklad-cell-title,
  .bm-body-sklady .bm-sklad-price {
    align-self: center;
  }

  .bm-body-sklady .bm-sklad-cell-title {
    flex-wrap: nowrap;
    margin: 0;
  }

  .bm-body-sklady .bm-sklad-cell-title > strong,
  .bm-body-sklady .bm-sklad-cell-title > .bm-status {
    flex: 0 0 auto;
  }

  .bm-body-sklady .bm-sklad-price {
    margin-top: 0;
  }
}
/* BM MOBILE CELL HEADER ALIGN V1 END */

/* BM COMPACT RESERVE POPUP PRODUCTION V1 START */
@media screen and (max-width: 767px) {
  .bm-reserve-card:not(.is-success) {
    padding: 14px 16px 16px;
  }

  .bm-reserve-card:not(.is-success) .bm-reserve-top {
    margin-bottom: 10px;
  }

  .bm-reserve-card:not(.is-success) .bm-reserve-pill {
    min-height: 28px;
    margin-bottom: 8px;
  }

  .bm-reserve-card:not(.is-success) .bm-reserve-text {
    margin-bottom: 12px;
    line-height: 1.42;
  }

  .bm-reserve-card:not(.is-success) .bm-reserve-summary {
    gap: 8px;
    margin-bottom: 10px;
  }

  .bm-reserve-card:not(.is-success) .bm-reserve-info {
    min-height: 68px;
    padding: 12px;
  }

  .bm-reserve-card:not(.is-success) .bm-reserve-label {
    margin-bottom: 6px;
  }

  .bm-reserve-card:not(.is-success) .bm-reserve-actions {
    margin-top: 12px;
  }
}
/* BM COMPACT RESERVE POPUP PRODUCTION V1 END */
