:root{
  --cv-bg:#f4f1ea;
  --cv-paper:#fffdf8;
  --cv-ink:#2c2118;
  --cv-muted:#6b5b4f;
  --cv-line:#e6ddd2;
  --cv-green:#2e7d32;
  --cv-green-d:#1b5e20;
  --cv-accent:#c62828;
  --cv-shadow:0 10px 28px rgba(44,33,24,.08);
  --cv-radius:16px;
}
html{color-scheme:light}
body{
  background:var(--cv-bg);
  color:var(--cv-ink);
  font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  -webkit-font-smoothing:antialiased;
}
a{color:var(--cv-green-d)}
.site-header{
  position:relative;
  color:#fff!important;
  background:linear-gradient(180deg,#1f6b24,#2e7d32)!important;
  border-bottom:3px solid #c9a227;
  box-shadow:0 4px 14px rgba(27,94,32,.18);
}
.site-header::after{content:none!important;display:none!important}
.site-header h1,.header-titles h1{color:#fff!important;letter-spacing:.01em}
.site-header .subtitle{color:#e8f5e9!important}
.header-btn{
  background:rgba(255,255,255,.16)!important;
  color:#fff!important;
  border:1px solid rgba(255,255,255,.22)!important;
  border-radius:14px!important;
}
.header-btn:hover{background:rgba(255,255,255,.26)!important}
.hamburger-btn{background:rgba(255,255,255,.16);color:#fff;border-radius:14px}
.header-actions .header-btn{
  background:#fff!important;
  color:#2c2118!important;
  border:1px solid #e6ddd2!important;
}
.app-tabbar{
  background:rgba(255,253,248,.94);
  backdrop-filter:blur(12px);
  border-top:1px solid var(--cv-line);
}
.app-tabbar a{color:var(--cv-muted);border-radius:14px}
.app-tabbar a.on{background:#e8f5e9;color:var(--cv-green-d)}
.back-to-map,.cal-back,.back-link,.back-link-c{
  display:inline-flex!important;
  align-items:center;
  gap:8px;
  background:#fff!important;
  color:var(--cv-green-d)!important;
  border:1px solid var(--cv-line)!important;
  border-radius:999px!important;
  padding:8px 14px!important;
  font-weight:700!important;
  text-decoration:none!important;
  box-shadow:none!important;
}
.cv-empty,.my-empty,.comments-empty,.places-empty{
  background:var(--cv-paper);
  border:1px dashed #d7ccc8;
  border-radius:var(--cv-radius);
  padding:28px 18px;
  text-align:center;
  color:var(--cv-muted);
  line-height:1.5;
}
.cv-empty strong{display:block;color:var(--cv-ink);margin-bottom:6px}
.cv-empty-ico{font-size:2rem;margin-bottom:8px}
button, .btn-submit, .btn-save-comment, .btn-profile-action{
  font-family:inherit;
}
.btn-submit,.btn-save-comment,input[type=submit]{
  border-radius:999px;
  font-weight:800;
}
input[type=text],input[type=email],input[type=password],input[type=tel],input[type=search],select,textarea{
  border-radius:12px;
  border:1px solid #d7ccc8;
  background:#fff;
}
.leaflet-popup-content-wrapper{
  border-radius:16px;
  box-shadow:var(--cv-shadow);
}
.positive-popup,.report-popup,.village-popup{font-family:inherit}
.menu-card{
  border:1px solid var(--cv-line);
  box-shadow:none!important;
}
.menu-card:hover{border-color:#c8e6c9}
.menu-hero,.about-hero{
  box-shadow:var(--cv-shadow);
}
.forum-wrap,.cal-wrap,.hg-wrap,.hr-wrap,.ms-wrap{
  max-width:920px;
  margin-left:auto;
  margin-right:auto;
}
.admin-body{font-family:inherit}
.stats-bar{
  position:relative!important;
  left:auto!important;
  right:auto!important;
  bottom:auto!important;
  transform:none!important;
  width:100%!important;
  max-width:none!important;
  display:flex;
  justify-content:center;
  gap:8px;
  z-index:900!important;
  background:#fff;
  padding:6px 10px;
  border-radius:0;
  box-shadow:none;
  border:none;
  border-bottom:1px solid #e6ddd2;
}
.stat-card{
  background:#f6f3ee!important;
  border:1px solid #eadfd3!important;
  box-shadow:none!important;
  min-width:72px;
  justify-content:center;
}
.stat-card-icon{display:none}
@media (max-width:700px), (orientation:landscape) and (hover:none) and (pointer:coarse) and (max-height:700px) {
  .site-header h1{font-size:1.05rem!important}
  .header-actions{padding-bottom:calc(108px + env(safe-area-inset-bottom))!important}
  .stats-bar{padding:5px 8px!important;gap:6px!important}
  .stat-card{padding:4px 10px!important}
  .stat-card-label{font-size:.62rem}
  .stat-card-value{font-size:.9rem}
}
.hr-hero{background:linear-gradient(180deg,#1b5e20,#2e7d32);color:#fff;border-radius:18px;padding:16px 14px 18px;margin-bottom:8px}
.hr-hero h1,.hr-hero p{color:#fff!important;text-shadow:0 1px 2px rgba(0,0,0,.25)}
.hr-nav a,.hr-chip{background:#1b5e20!important;color:#fff!important}
.hr-period h2,.hr-seat strong,.hr-row b,.hr-card h3{color:#1b5e20!important}
.hr-period,.hr-seat,.hr-row,.hr-card,.hr-me{color:#2c2118}


/* ===== Modern floating map controls / tabbar-safe layout ===== */
:root{
  --cv-tabbar-gap: 78px;
  --cv-floating-shadow: 0 12px 34px rgba(37, 53, 42, .16), 0 2px 8px rgba(37, 53, 42, .08);
}

/* Долната навигация е фиксирана, затова плаващите елементи винаги остават над нея. */
.app-tabbar{
  z-index: 5000 !important;
  background: rgba(255, 253, 248, .92) !important;
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  border-top: 1px solid rgba(120, 104, 88, .16) !important;
  box-shadow: 0 -10px 30px rgba(44, 33, 24, .10) !important;
}
.app-tabbar a{
  min-height: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  transition: background .18s ease, transform .18s ease, color .18s ease;
}
.app-tabbar a:active{ transform: scale(.96); }
.app-tabbar a.on{
  background: linear-gradient(180deg, rgba(232,245,233,.98), rgba(241,248,233,.98)) !important;
  box-shadow: inset 0 0 0 1px rgba(46,125,50,.08);
}

/* ============================================================
   СТАТИСТИКА – преместена ДОЛУ, между легендата и бутона за сигнал
   ============================================================ */
.stats-bar{
  position: fixed !important;
  top: auto !important;
  bottom: calc(var(--cv-tabbar-gap) + 14px) !important;
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%) !important;
  width: auto !important;
  max-width: calc(100vw - 240px) !important;
  display: flex !important;
  align-items: stretch;
  justify-content: center;
  gap: 4px !important;
  padding: 5px !important;
  border-radius: 18px !important;
  background: rgba(255,255,255,.80) !important;
  border: 1px solid rgba(255,255,255,.9) !important;
  box-shadow: var(--cv-floating-shadow) !important;
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  z-index: 4300 !important;
}
.stat-card{
  min-width: 74px;
  padding: 8px 12px !important;
  gap: 7px !important;
  justify-content: center;
  border: 1px solid rgba(50, 92, 58, .10) !important;
  background: rgba(248, 251, 248, .92) !important;
  border-radius: 13px !important;
  box-shadow: none !important;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.stat-card:hover{
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(46,125,50,.10) !important;
  border-color: rgba(46,125,50,.16) !important;
}
.stat-card.stat-resolved{
  background: rgba(239,248,240,.94) !important;
  border-color: rgba(46,125,50,.13) !important;
}
.stat-card.stat-pending{
  background: rgba(255,248,229,.96) !important;
  border-color: rgba(239,159,43,.17) !important;
}
.stat-card-icon{
  display:flex !important;
  align-items:center;
  justify-content:center;
  width: 27px;
  height: 27px;
  border-radius: 9px;
  font-size: .82rem !important;
  font-weight: 900;
  color: var(--cv-green-d);
  background: rgba(46,125,50,.10);
  flex-shrink: 0;
}
.stat-card.stat-resolved .stat-card-icon{
  color: #1b5e20;
  background: rgba(46,125,50,.12);
}
.stat-card.stat-pending .stat-card-icon{
  color: #a45a00;
  background: rgba(239,159,43,.14);
}
.stat-card-value{
  font-size: 1rem !important;
  line-height: 1.05;
}
.stat-card-label{
  font-size: .57rem !important;
  margin-top: 3px !important;
  letter-spacing: .55px !important;
}

/* Общ контейнер за плаващите карти около картата. */
.legend{
  bottom: calc(var(--cv-tabbar-gap) + 14px) !important;
  left: 16px !important;
  z-index: 4300 !important;
}
.legend-toggle{
  width: 54px !important;
  height: 54px !important;
  border-radius: 17px !important;
  background: rgba(255,255,255,.88) !important;
  border: 1px solid rgba(255,255,255,.96) !important;
  box-shadow: var(--cv-floating-shadow) !important;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.legend-toggle:hover{
  transform: translateY(-2px) scale(1.02) !important;
  box-shadow: 0 14px 34px rgba(46,125,50,.19) !important;
}
.legend-toggle::before{
  bottom: calc(100% + 8px) !important;
  background: rgba(255,255,255,.94) !important;
  border: 1px solid rgba(76,175,80,.16) !important;
  box-shadow: 0 6px 16px rgba(0,0,0,.10) !important;
}
.legend-content{
  bottom: 66px !important;
  border-radius: 18px !important;
  width: min(300px, calc(100vw - 32px)) !important;
  background: rgba(255,253,248,.96) !important;
  border: 1px solid rgba(255,255,255,.95) !important;
  box-shadow: 0 18px 50px rgba(44,33,24,.18) !important;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.legend-content.open{
  max-height: min(70vh, calc(100dvh - var(--cv-tabbar-gap) - 92px)) !important;
}

.submit-report-container{
  bottom: calc(var(--cv-tabbar-gap) + 14px) !important;
  right: 18px !important;
  z-index: 4300 !important;
}
.btn-submit-report{
  min-height: 54px;
  padding: 12px 17px !important;
  border-radius: 17px !important;
  background: linear-gradient(135deg, #1f6b24, #43a047) !important;
  border: 1px solid rgba(255,255,255,.20) !important;
  box-shadow: 0 14px 34px rgba(31,107,36,.27), 0 3px 8px rgba(31,107,36,.14) !important;
  font-weight: 800 !important;
}
.btn-submit-report:hover{
  transform: translateY(-2px) !important;
  box-shadow: 0 18px 38px rgba(31,107,36,.32), 0 4px 10px rgba(31,107,36,.16) !important;
}
.submit-dropdown{
  bottom: calc(100% + 12px) !important;
  width: min(310px, calc(100vw - 24px)) !important;
  padding: 7px !important;
  border-radius: 18px !important;
  background: rgba(255,253,248,.97) !important;
  border: 1px solid rgba(255,255,255,.96) !important;
  box-shadow: 0 18px 50px rgba(44,33,24,.20) !important;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.submit-option{
  padding: 12px 13px !important;
  border-radius: 13px !important;
}
.submit-option:hover{ background: rgba(232,245,233,.82) !important; }

/* Когато започне избор на локация, статистиката се скрива надолу. */
body.picking-location .stats-bar{
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px) !important;
}

/* Тъмна тема */
body.dark-theme .app-tabbar{
  background: rgba(28,32,28,.92) !important;
  border-color: rgba(255,255,255,.08) !important;
}
body.dark-theme .app-tabbar a{ color: #b8c2b8; }
body.dark-theme .app-tabbar a.on{
  background: rgba(46,125,50,.28) !important;
  color: #c8e6c9;
}
body.dark-theme .stats-bar,
body.dark-theme .legend-toggle,
body.dark-theme .legend-content,
body.dark-theme .submit-dropdown{
  background: rgba(33,38,33,.90) !important;
  border-color: rgba(255,255,255,.09) !important;
  color: #e6eee6;
}
body.dark-theme .stat-card{ background: rgba(45,54,45,.95) !important; border-color: rgba(129,199,132,.13) !important; }
body.dark-theme .stat-card.stat-resolved{ background: rgba(39,61,42,.98) !important; }
body.dark-theme .stat-card.stat-pending{ background: rgba(66,54,35,.98) !important; }
body.dark-theme .stat-card-label{ color: #aab3aa; }
body.dark-theme .stat-card-value{ color: #a5d6a7 !important; }
body.dark-theme .stat-card.stat-pending .stat-card-value{ color: #ffcc80 !important; }
body.dark-theme .stat-card-icon{ background: rgba(129,199,132,.12); color: #a5d6a7; }
body.dark-theme .stat-card.stat-pending .stat-card-icon{ background: rgba(255,204,128,.10); color: #ffcc80; }
body.dark-theme .legend-toggle::before{ background: rgba(33,38,33,.96) !important; }

@media (max-width:700px), (orientation:landscape) and (hover:none) and (pointer:coarse) and (max-height:700px) {
  :root{ --cv-tabbar-gap: 88px; }
  .stats-bar{
    top: auto !important;
    bottom: calc(var(--cv-tabbar-gap) + 12px) !important;
    max-width: calc(100vw - 116px) !important;
    gap: 3px !important;
    padding: 4px !important;
    border-radius: 16px !important;
  }
  .stat-card{
    min-width: 0;
    flex: 1 1 0;
    padding: 7px 8px !important;
    gap: 5px !important;
    border-radius: 11px !important;
  }
  .stat-card-icon{ width: 23px; height: 23px; border-radius: 7px; font-size: .72rem !important; }
  .stat-card-value{ font-size: .92rem !important; }
  .stat-card-label{ font-size: .51rem !important; letter-spacing: .4px !important; }
  .legend{ left: 12px !important; bottom: calc(var(--cv-tabbar-gap) + 12px) !important; }
  .submit-report-container{ right: 12px !important; bottom: calc(var(--cv-tabbar-gap) + 12px) !important; }
  .submit-dropdown{ width: min(290px, calc(100vw - 24px)) !important; }
  .legend-content{ left: 0 !important; width: min(290px, calc(100vw - 24px)) !important; }
}

@media (max-width:450px), (orientation:landscape) and (hover:none) and (pointer:coarse) and (max-height:450px) {
  .stats-bar{ max-width: calc(100vw - 108px) !important; }
  .stat-card{ padding: 7px 6px !important; }
  .stat-card-icon{ display: none !important; }
  .stat-card-label{ font-size: .53rem !important; }
  .stat-card-value{ font-size: .94rem !important; }
  .btn-submit-report{
    width: 54px !important;
    height: 54px !important;
    min-height: 54px !important;
    padding: 14px !important;
    border-radius: 17px !important;
    justify-content: center;
  }
  .btn-submit-report .btn-label{ display: none; }
  .btn-submit-report .btn-icon{ font-size: 1.35rem; }
  .btn-submit-report .btn-arrow{ display: none; }
  .submit-report-container::before{ display: none !important; }
}

@media (max-width:360px), (orientation:landscape) and (hover:none) and (pointer:coarse) and (max-height:360px) {
  :root{ --cv-tabbar-gap: 86px; }
  .stats-bar{ max-width: calc(100vw - 96px) !important; }
  .stat-card-label{ font-size: .48rem !important; letter-spacing: .2px !important; }
  .legend-toggle{ width: 52px !important; height: 52px !important; }
  .submit-report-container{ right: 10px !important; }
  .legend{ left: 10px !important; }
}
/* ============================================================
   SEASON HINT – центриран на екрана, с backdrop
   ============================================================ */

.app-hint-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 40, 20, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 3900;
    opacity: 0;
    transition: opacity 0.28s ease;
    pointer-events: none;
}
.app-hint-backdrop.show {
    opacity: 1;
    pointer-events: auto;
}

.app-hint-season {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    right: auto !important;
    bottom: auto !important;
    transform: translate(-50%, -50%) scale(0.9) !important;
    width: min(420px, calc(100vw - 32px)) !important;
    max-width: 420px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 0 !important;
    z-index: 3950 !important;
    background: linear-gradient(160deg, #ffffff 0%, #f1f8e9 100%) !important;
    color: #1a2e1a !important;
    border: none !important;
    border-radius: 24px !important;
    padding: 32px 28px 26px !important;
    box-shadow: 0 28px 70px rgba(27, 94, 32, 0.32), 0 0 0 1px rgba(255,255,255,0.6) inset !important;
    text-align: center;
    font-weight: 500 !important;
    max-height: none !important;
    overflow: visible !important;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}
.app-hint-season.app-hint-visible {
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: translate(-50%, -50%) scale(1) !important;
}
.app-hint-season.app-hint-hiding {
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translate(-50%, -50%) scale(0.94) !important;
}

.app-hint-season .app-hint-icon {
    font-size: 3.2rem !important;
    line-height: 1 !important;
    margin-bottom: 14px !important;
    flex-shrink: 0;
    filter: drop-shadow(0 4px 10px rgba(46, 125, 50, 0.18));
    display: block !important;
}

.app-hint-season .app-hint-body {
    width: 100% !important;
    flex: 0 0 auto !important;
    min-width: 0;
    line-height: 1.5 !important;
    text-align: center !important;
}
.app-hint-season .app-hint-body strong {
    display: block !important;
    font-size: 1.2rem !important;
    color: #1b5e20 !important;
    margin-bottom: 10px !important;
    font-weight: 800 !important;
    line-height: 1.3;
}
.app-hint-season .app-hint-body span {
    display: block !important;
    font-size: 0.94rem !important;
    color: #455a48 !important;
    line-height: 1.55 !important;
    font-weight: 500 !important;
}

.app-hint-season .app-hint-close {
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    width: 34px !important;
    height: 34px !important;
    border-radius: 50% !important;
    background: rgba(46, 125, 50, 0.08) !important;
    color: #2e7d32 !important;
    font-size: 0.95rem !important;
    border: none !important;
    cursor: pointer;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    transition: background 0.15s ease, transform 0.15s ease !important;
    line-height: 1 !important;
}
.app-hint-season .app-hint-close:hover {
    background: rgba(46, 125, 50, 0.16) !important;
    transform: scale(1.05) !important;
}

body.dark-theme .app-hint-backdrop {
    background: rgba(0, 10, 0, 0.65);
}
body.dark-theme .app-hint-season {
    background: linear-gradient(160deg, #1e2a1e 0%, #243024 100%) !important;
    color: #e0e0e0 !important;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(129, 199, 132, 0.15) inset !important;
}
body.dark-theme .app-hint-season .app-hint-body strong { color: #a5d6a7 !important; }
body.dark-theme .app-hint-season .app-hint-body span { color: #c8d4c8 !important; }
body.dark-theme .app-hint-season .app-hint-close {
    background: rgba(129, 199, 132, 0.12) !important;
    color: #a5d6a7 !important;
}

@media (max-width:480px), (orientation:landscape) and (hover:none) and (pointer:coarse) and (max-height:480px) {
    .app-hint-season {
        width: calc(100vw - 24px) !important;
        max-width: calc(100vw - 24px) !important;
        padding: 26px 22px 22px !important;
        border-radius: 20px !important;
    }
    .app-hint-season .app-hint-icon {
        font-size: 2.7rem !important;
        margin-bottom: 12px !important;
    }
    .app-hint-season .app-hint-body strong {
        font-size: 1.08rem !important;
    }
    .app-hint-season .app-hint-body span {
        font-size: 0.88rem !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .app-hint-season,
    .app-hint-backdrop {
        transition: none !important;
    }
}
/* ===== Черни Вит brand mark in main header ===== */
.header-brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
}
.header-logo{
  width:56px;
  height:58px;
  flex:0 0 56px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:3px 4px;
  border-radius:14px;
  background:rgba(255,255,255,.97);
  border:1px solid rgba(255,255,255,.72);
  box-shadow:0 5px 16px rgba(12,58,18,.18);
  text-decoration:none;
  overflow:hidden;
  transition:transform .18s ease,box-shadow .18s ease;
}
.header-logo:hover{
  transform:translateY(-1px);
  box-shadow:0 7px 20px rgba(12,58,18,.24);
}
.header-logo img{
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
}
.header-brand .header-titles{
  min-width:0;
}

@media (max-width:700px), (orientation:landscape) and (hover:none) and (pointer:coarse) and (max-height:700px) {
  .site-header{padding-left:12px!important;padding-right:12px!important}
  .header-content{gap:8px}
  .header-brand{gap:8px;min-width:0;flex:1}
  .header-logo{
    width:43px;
    height:46px;
    flex-basis:43px;
    border-radius:11px;
    padding:2px 3px;
  }
  .header-brand .header-titles h1{
    white-space:nowrap;
  }
  .header-brand .subtitle{
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
    max-width:min(58vw,330px);
  }
}

@media (max-width:390px), (orientation:landscape) and (hover:none) and (pointer:coarse) and (max-height:390px) {
  .header-logo{width:40px;height:43px;flex-basis:40px}
  .header-brand{gap:7px}
  .header-brand .subtitle{max-width:50vw;font-size:.68rem!important}
}

/* ===== Черни Вит 2.0 app shell ===== */
.app-tabbar-v2{display:grid!important;grid-template-columns:1fr 1fr 72px 1fr 1fr;align-items:end;overflow:visible!important}
.app-tabbar-v2>a{min-width:0}.app-tabbar-v2 .tab-svg{width:23px;height:23px;display:block;margin:0 auto 2px}.app-tabbar-v2 .tab-svg svg{width:100%;height:100%;fill:currentColor}
.app-tabbar-plus{align-self:center;justify-self:center;width:62px;height:62px;margin-top:-25px;margin-bottom:4px;border-radius:50%;border:4px solid #f5faf5;background:linear-gradient(145deg,#388e3c,#1b5e20);color:#fff;box-shadow:0 8px 22px rgba(27,94,32,.35);display:flex;flex-direction:column;align-items:center;justify-content:center;line-height:1;cursor:pointer;position:relative;z-index:3}
.app-tabbar-plus>span{font-size:2rem;font-weight:300;margin-top:-3px}.app-tabbar-plus small{font-size:.58rem;font-weight:800;margin-top:1px}
.cv-create-sheet[hidden]{display:none!important}.cv-create-sheet{position:fixed;inset:0;z-index:2147482500;display:flex;align-items:flex-end;justify-content:center}.cv-create-backdrop{position:absolute;inset:0;border:0;background:rgba(8,20,10,.58);backdrop-filter:blur(2px)}
.cv-create-card{position:relative;width:min(620px,100%);background:#fff;border-radius:24px 24px 0 0;padding:10px 16px calc(18px + env(safe-area-inset-bottom));box-shadow:0 -18px 50px rgba(0,0,0,.22);transform:translateY(105%);transition:transform .22s ease}.cv-create-sheet.open .cv-create-card{transform:translateY(0)}
.cv-sheet-handle{width:44px;height:5px;border-radius:999px;background:#d5ddd5;margin:0 auto 12px}.cv-create-head{display:flex;gap:12px;align-items:flex-start;justify-content:space-between}.cv-create-head small{color:#68806b;font-weight:800}.cv-create-head h2{font-size:1.2rem;color:#153c1b;margin:2px 0 12px}.cv-create-head>button{border:0;background:#eef4ee;width:40px;height:40px;border-radius:50%;font-size:1.5rem;color:#49614d}
.cv-create-actions{display:grid;gap:9px}.cv-create-actions>button{border:1px solid #dce9dd;background:#f9fcf9;border-radius:16px;padding:13px 14px;text-align:left;display:flex;flex-direction:column;gap:2px}.cv-create-actions b{font-size:1rem;color:#1b5e20}.cv-create-actions span{font-size:.8rem;color:#667268}
body.cv-sheet-open{overflow:hidden!important}
@media(min-width:800px){.app-tabbar-plus{width:58px;height:58px}.cv-create-card{border-radius:24px;margin-bottom:18px;padding-bottom:18px}.cv-create-sheet{align-items:flex-end}}

/* Guided publish flow */
.cv-wizard-progress{display:grid;grid-template-columns:repeat(4,1fr);gap:5px;margin:4px 0 18px}.cv-wizard-progress span{min-width:0;text-align:center;color:#879087;font-size:.64rem;font-weight:800;cursor:default}.cv-wizard-progress i{width:27px;height:27px;border-radius:50%;display:flex;align-items:center;justify-content:center;margin:0 auto 4px;background:#edf1ed;color:#607063;font-style:normal}.cv-wizard-progress span.active i,.cv-wizard-progress span.done i{background:#2e7d32;color:#fff}.cv-wizard-progress span.done i{background:#66a76a}.cv-wizard-progress b{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cv-wizard-step{display:none;animation:cvWizardIn .18s ease}.cv-wizard-step.active{display:block}.cv-wizard-step .form-group:last-child{margin-bottom:8px}@keyframes cvWizardIn{from{opacity:.3;transform:translateX(8px)}to{opacity:1;transform:none}}
.cv-wizard-nav{display:flex;gap:10px;justify-content:space-between;margin-top:14px}.cv-wizard-prev,.cv-wizard-next{min-height:46px;border-radius:14px;padding:0 18px;font-weight:900}.cv-wizard-prev{border:1px solid #d5ddd5;background:#fff;color:#526154}.cv-wizard-next{border:0;background:#2e7d32;color:#fff;margin-left:auto}.cv-final-actions{display:flex!important}
#positive-form .cv-wizard-progress{grid-template-columns:repeat(3,1fr)}
@media(max-width:700px){.report-content,.positive-content{padding-bottom:calc(18px + env(safe-area-inset-bottom))}.cv-wizard-progress{position:sticky;top:0;background:#fff;z-index:3;padding-top:3px}.cv-wizard-step textarea{min-height:110px}.cv-wizard-next{flex:1}}
