/* New widgets only — do not override existing cards / header / pills / feeds / tables. */

.bell {
  position: relative;
  border: none;
  background: rgba(50, 82, 63, 0.08);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: inherit;
  font-weight: 800;
  flex-shrink: 0;
  cursor: pointer;
}
.bell.has-unread {
  background: #F8E6C8;
  color: #8A4B00;
  box-shadow: 0 0 0 3px rgba(234, 179, 8, 0.28);
}
.bell b {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: #8B3A3A;
  color: #fff;
  font-size: 10px;
  display: grid;
  place-items: center;
}

.note-accent-list { display: flex; flex-direction: column; gap: 8px; margin: 0 0 18px; }
.note-accent {
  display: grid;
  grid-template-columns: 10px 1fr;
  gap: 12px;
  align-items: start;
  width: 100%;
  text-align: left;
  border: none;
  cursor: pointer;
  border-radius: 14px;
  padding: 12px 14px;
  background: #FFF6E0;
  box-shadow: inset 0 0 0 1px rgba(180, 120, 20, 0.18);
}
.note-accent i { width: 10px; height: 10px; border-radius: 50%; margin-top: 5px; background: #E0A106; }
.note-accent strong { display: block; font-size: 14px; font-weight: 700; color: #5C3D00; }
.note-accent span { display: block; margin-top: 2px; font-size: 13px; color: #7A5A16; line-height: 1.4; }
.note-accent.warn { background: #FFF4D4; }
.note-accent.danger { background: #FDECEC; box-shadow: inset 0 0 0 1px rgba(180, 40, 30, 0.16); }
.note-accent.danger i { background: #C4392B; }
.note-accent.danger strong { color: #8B2018; }
.note-accent.danger span { color: #9B3A32; }
.note-accent.ok { background: #E8F6EE; box-shadow: inset 0 0 0 1px rgba(34, 140, 70, 0.16); }
.note-accent.ok i { background: #22A34A; }
.note-accent.ok strong { color: #14532D; }
.note-accent.ok span { color: #3D6B4F; }
.note-accent.is-read { opacity: 0.55; filter: grayscale(0.25); }

.chat-log {
  background: #fff;
  border-radius: 12px;
  padding: 8px 10px;
  min-height: 72px;
  max-height: 140px;
  overflow: auto;
  border: 1px solid rgba(50, 82, 63, 0.1);
}
.chat-line { margin: 0 0 8px; font-size: 13px; }
.chat-line b { display: block; font-size: 11px; color: #5a6e61; }
.chat-form { display: flex; gap: 8px; margin-top: 8px; }
.chat-form input { flex: 1; padding: 8px 10px; border-radius: 10px; border: 1px solid rgba(50, 82, 63, 0.2); font: inherit; }

.gsma-sheet { max-width: 420px; }
.hl { background: #fff4cc; }
.pay-ok { text-align: center; padding: 28px 16px; }

body.theme-ed .ed-title-row .bell { align-self: center; }

.vv-ask-lab {
  display: block;
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #5c675f;
}
.vv-ask {
  width: 100%;
  resize: vertical;
  min-height: 84px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(50, 82, 63, 0.2);
  background: #fff;
  font: inherit;
  line-height: 1.45;
}
.vv-slots, .vv-kinds { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.vv-slot, .vv-kind {
  border: 1px solid rgba(50, 82, 63, 0.18);
  background: #fff;
  color: #1A2E24;
  border-radius: 12px;
  padding: 10px 14px;
  font: inherit;
  cursor: pointer;
}
.vv-kind { display: flex; flex-direction: column; align-items: flex-start; min-width: 160px; text-align: left; }
.vv-kind b { font-size: 15px; }
.vv-kind span { font-size: 12px; color: #5c675f; margin-top: 2px; }
.vv-slot.is-on, .vv-kind.is-on {
  background: #32523F;
  color: #E9E4D2;
  border-color: #32523F;
}
.vv-kind.is-on span { color: #D4D5BE; }
.sr-slots .vv-slot {
  width: 100%;
  border-radius: 8px;
  font-weight: 650;
}
.sr-slots .vv-slot.is-on { background: #2D4739; color: #fff; border-color: #2D4739; }

.vv-cl-book {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 18px;
  width: 100%;
}
.vv-cl-doc {
  background: #fff;
  border-radius: 20px;
  padding: 18px 16px 20px;
  text-align: center;
}
.vv-cl-doc img {
  width: 112px; height: 112px; border-radius: 50%;
  object-fit: cover; margin: 0 auto 12px;
}
.vv-cl-doc b { display: block; font-family: var(--display, Nunito, sans-serif); font-size: 18px; line-height: 1.25; }
.vv-cl-doc span { display: block; margin-top: 4px; font-size: 13px; color: #5c675f; }
.vv-dot {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 10px; font-size: 12px; font-weight: 700; color: #3D6B4F; font-style: normal;
}
.vv-dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #22A34A; }
.vv-cl-main {
  background: #fff;
  border-radius: 20px;
  padding: 20px 22px 22px;
}
.vv-cl-pet {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 16px;
}
.vv-cl-pet img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.vv-cl-pet b { display: block; }
.vv-cl-pet span { font-size: 13px; color: #5c675f; }

.vv-ed-book { display: grid; gap: 18px; }
.vv-ed-hero {
  position: relative; margin: 0;
  height: 280px; border-radius: 28px; overflow: hidden;
}
.vv-ed-hero img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.vv-ed-hero figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 28px 28px 22px;
  background: #1A2E24;
  color: #F3F1E7;
}
.vv-ed-hero small { display: block; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.75; }
.vv-ed-hero b {
  display: block; margin-top: 4px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 32px; font-weight: 500; line-height: 1.15;
}
.vv-ed-hero span { display: block; margin-top: 4px; font-size: 14px; opacity: 0.8; }
.vv-ed-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.vv-ed-card {
  background: #EFEBE0;
  border: 1px solid #C4BBA8;
  border-radius: 20px;
  padding: 22px 22px 20px;
}
.vv-ed-card h3 {
  margin: 0 0 12px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 24px; font-weight: 500;
}
.vv-ed-card .vv-ask { background: #F7F5ED; border-color: #C4BBA8; }
.vv-ed-card .vv-slot, .vv-ed-card .vv-kind { background: #F7F5ED; border-color: #C4BBA8; border-radius: 14px; }
.vv-ed-card .vv-slot.is-on, .vv-ed-card .vv-kind.is-on { background: #243C2D; color: #F3F1E7; border-color: #243C2D; }

.vv-pay { width: 100%; max-width: none; }
.vv-pay-sum {
  display: flex; align-items: center; gap: 14px;
  background: #fff; border-radius: 18px; padding: 16px 18px; margin-bottom: 14px;
}
.vv-pay-sum img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.vv-pay-sum b { display: block; font-size: 16px; }
.vv-pay-sum span, .vv-pay-sum small { display: block; font-size: 13px; color: #5c675f; }
.vv-pay-ways { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.vv-pay-way {
  text-align: left;
  background: #fff; border: 1px solid rgba(50, 82, 63, 0.16);
  border-radius: 16px; padding: 16px 16px 14px;
  font: inherit; cursor: pointer;
}
.vv-pay-way b { display: block; font-size: 15px; }
.vv-pay-way span { display: block; margin-top: 4px; font-size: 13px; color: #5c675f; }
.vv-pay-join { margin-top: 16px; min-width: 200px; }
body.theme-ed .vv-pay-sum, body.theme-ed .vv-pay-way {
  background: #EFEBE0; border: 1px solid #C4BBA8;
}
body.theme-ed .vv-pay-sum b { font-family: "Playfair Display", Georgia, serif; font-weight: 500; font-size: 22px; }

.vv-done { max-width: 440px; text-align: center; padding: 12px 0 24px; }
.vv-done-faces { display: flex; justify-content: center; padding: 8px 0 16px; }
.vv-done-faces img {
  width: 84px; height: 84px; border-radius: 50%; object-fit: cover;
  border: 3px solid #E9E4D2;
}
.vv-done-faces img + img { margin-left: -18px; }
.vv-done h2 { margin: 0 0 8px; }
.vv-done p { margin: 0 0 6px; color: #5c675f; }
.vv-done small { display: block; margin-bottom: 16px; color: #8A918B; }
.vv-done-acts { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
body.theme-ed .vv-done h2 { font-family: "Playfair Display", Georgia, serif; font-weight: 500; font-size: 32px; }

.vv-meet {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 38%);
  gap: 16px;
  align-items: stretch;
  width: 100%;
  max-width: none;
}
.vv-meet-main { min-width: 0; }
.vv-meet-stage {
  position: relative;
  aspect-ratio: 16 / 10;
  min-height: 280px;
  border-radius: 22px;
  overflow: hidden;
  background: #1A2E24;
}
.vv-meet-remote { width: 100%; height: 100%; object-fit: cover; }
.vv-meet-live {
  position: absolute; top: 14px; left: 14px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #32523F;
  color: #E9E4D2;
  font-size: 12px; font-weight: 700;
}
.vv-meet-live i { width: 7px; height: 7px; border-radius: 50%; background: #E8A317; }
.vv-meet-self {
  position: absolute; top: 14px; right: 14px;
  width: 108px; border-radius: 14px; overflow: hidden;
  background: #0c1410;
  border: 2px solid #E9E4D2;
}
.vv-meet-self img { width: 100%; height: 78px; object-fit: cover; }
.vv-meet-self span {
  display: block; padding: 4px 6px 6px;
  font-size: 11px; font-weight: 700; color: #E9E4D2; text-align: center;
}
.vv-meet-self.is-off img { filter: grayscale(1); opacity: 0.4; }
.vv-meet-who {
  position: absolute; left: 16px; bottom: 72px;
  color: #F3F1E7;
}
.vv-meet-who b { display: block; font-size: 20px; line-height: 1.2; }
.vv-meet-who small { opacity: 0.8; font-size: 12px; }
.vv-meet-bar {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; justify-content: center; align-items: flex-end; gap: 18px;
  padding: 14px 16px 16px;
  background: #1A2E24;
}
.vv-ico {
  display: inline-flex; flex-direction: column; align-items: center; gap: 6px;
  min-width: 64px; padding: 0;
  border: none; background: none;
  color: #E9E4D2;
  font: inherit; font-size: 11px; font-weight: 700; cursor: pointer;
}
.vv-ico i {
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  background: #2F9E5A;
  color: #fff;
}
.vv-ico svg { width: 22px; height: 22px; }
.vv-ico.is-off i { background: #5C6560; }
.vv-ico.is-end i { background: #C4392B; }
.vv-meet-side {
  background: #fff;
  border-radius: 20px;
  padding: 16px 16px 14px;
  display: flex; flex-direction: column; min-width: 0;
  overflow: visible;
}
.vv-meet-pet {
  display: flex; gap: 12px; align-items: flex-start;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(50, 82, 63, 0.1);
  overflow: visible;
}
.vv-meet-pet img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.vv-meet-pet > div { min-width: 0; overflow: visible; }
.vv-meet-pet b { display: block; }
.vv-meet-pet span { display: block; font-size: 12px; color: #5c675f; line-height: 1.35; }
.vv-meet-pet .zone-pill,
.vv-meet-side .zone-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  max-width: 100%;
  margin-top: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  white-space: nowrap;
  background: #FEF9C3 !important;
  border: 1px solid rgba(234, 179, 8, 0.4) !important;
  color: #5C3D00 !important;
  box-shadow: none;
}
.vv-meet-pet .zone-pill.green,
.vv-meet-side .zone-pill.green {
  background: #E8F6EE !important;
  border-color: rgba(34, 163, 74, 0.35) !important;
  color: #14532D !important;
}
.vv-meet-pet .zone-pill i { box-shadow: none; }
.vv-meet-k {
  margin: 12px 0 8px;
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700; color: #5c675f;
}
.vv-bubbles {
  flex: 1; min-height: 120px; max-height: 220px; overflow: auto;
  display: flex; flex-direction: column; gap: 8px;
}
.vv-bubble {
  margin: 0; padding: 8px 10px; border-radius: 12px 12px 12px 4px;
  background: #F3EEE0; font-size: 13px; line-height: 1.4;
}
.vv-bubble b { display: block; font-size: 11px; color: #5c675f; margin-bottom: 2px; }
.vv-bubble.is-me { align-self: flex-end; background: #32523F; color: #E9E4D2; border-radius: 12px 12px 4px 12px; }
.vv-bubble.is-me b { color: #D4D5BE; }
.vv-meet-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  margin-top: 10px;
  align-items: center;
}
.vv-meet-form input {
  width: 100%; min-width: 0;
  border: 1px solid rgba(50, 82, 63, 0.18);
  border-radius: 12px; padding: 10px 12px; font: inherit;
}
.vv-meet-form .btn { white-space: nowrap; flex-shrink: 0; }

.vv-meet--ed .vv-meet-stage { border-radius: 28px; }
.vv-meet--ed .vv-meet-who b { font-family: "Playfair Display", Georgia, serif; font-weight: 500; font-size: 24px; }
.vv-meet--ed .vv-meet-side { background: #EFEBE0; border: 1px solid #C4BBA8; }
.vv-meet--ed .vv-bubble { background: #F7F5ED; }
.vv-meet--ed .vv-bubble.is-me { background: #243C2D; }
.vv-meet--ed .vv-meet-bar { background: #243C2D; }
.vv-meet--ed .vv-ico { background: none; color: #F3F1E7; }

.vv-meet--sr { gap: 14px; }
.vv-meet--sr .vv-meet-stage { border-radius: 14px 14px 0 0; aspect-ratio: 16 / 9; }
.vv-meet--sr .vv-meet-who { bottom: 14px; }
.vv-meet--sr .vv-meet-bar {
  position: static;
  background: #fff;
  border: 1px solid #E6E8E4;
  border-top: none;
  border-radius: 0 0 14px 14px;
  justify-content: flex-start;
}
.vv-meet--sr .vv-ico { background: none; color: #2A332C; }
.vv-meet--sr .vv-ico.is-end { background: none; }
.vv-meet--sr .vv-meet-side { border-radius: 14px; border: 1px solid #E6E8E4; }

@media (max-width: 980px) {
  .vv-meet, .vv-cl-book, .vv-ed-cols, .vv-pay-ways { grid-template-columns: 1fr; }
  .vv-meet-stage { min-height: 220px; }
  .vv-ed-hero { height: 220px; }
  .vv-ed-hero b { font-size: 24px; }
}

body.theme-ed .ed-stage .row { max-width: none !important; }
body.theme-ed .ed-stage .list,
body.theme-ed .ed-stage .tile,
body.theme-ed .ed-stage .cal-panel { max-width: none; }
body.theme-ed .ed-brief p { max-width: none; }

.cal i.focus {
  box-shadow: inset 0 0 0 2px #32523F;
  background: #E8F0EA;
}
body.theme-ed .note-accent,
body.theme-ed .chat-line,
body.theme-ed .tile,
body.theme-ed .row {
  font-family: Inter, "Segoe UI", sans-serif;
  font-weight: 400;
}

