/* ============================================================
 * Plan.it stylesheet
 * ------------------------------------------------------------
 * Organised roughly in the order the UI is built:
 *   1. Design tokens (:root) and base resets
 *   2. Layout shell (topbar, sidebar, shell)
 *   3. Public site (hero, cards, vendors, leaderboard)
 *   4. Workspace (dashboard, calendar, budget, messaging, team)
 *   5. Modals (auth, onboarding, event, premium, profile gate)
 *   6. Utilities (toast, responsive breakpoints)
 * Search for the section banners (/* === ... === *\/) below.
 * ============================================================ */
:root {
  --cream: #f6f1e8;
  --paper: #fffdf8;
  --green: #183d30;
  --green2: #285744;
  --gold: #c6a96b;
  --ink: #292d29;
  --muted: #777970;
  --line: #e8e1d5;
  --sage: #e7eee6;
  --palegold: #f4eddd;
  --shadow: 0 16px 42px rgba(34, 48, 37, 0.09);
  --radius: 18px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a {
  cursor: pointer;
}
button {
  border: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
.serif,
h1,
h2,
h3,
.brand,
.display {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.035em;
}
.muted {
  color: var(--muted);
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.19em;
  font-size: 10px;
  font-weight: 800;
  color: var(--gold);
}
.shell {
  width: min(1200px, calc(100% - 48px));
  margin: auto;
}
.topbar {
  height: 78px;
  background: rgba(255, 253, 248, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(232, 225, 213, 0.8);
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 20;
}
.top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  font-size: 31px;
  color: var(--green);
  font-weight: 700;
  white-space: nowrap;
}
.brand .dot {
  color: var(--gold);
  font-size: 0.8em;
  vertical-align: middle;
}
.brand small {
  display: block;
  font:
    8px/1.4 Inter,
    system-ui,
    sans-serif;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: -1px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 13px;
  color: #4e554e;
}
.nav a:hover {
  color: var(--green);
}
.actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 17px;
  border-radius: 11px;
  font-weight: 700;
  font-size: 12px;
  transition:
    transform 0.2s,
    background 0.2s,
    box-shadow 0.2s;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn.primary {
  background: var(--green);
  color: #fffdf8;
  box-shadow: 0 6px 16px #183d3020;
}
.btn.primary:hover {
  background: var(--green2);
}
.btn.light {
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--green);
}
.btn.gold {
  background: var(--gold);
  color: #242b23;
}
.btn.ghost {
  background: transparent;
  color: var(--green);
  border: 1px solid #d6ddcf;
}
.btn.sm {
  padding: 9px 12px;
  font-size: 11px;
}
.iconbtn {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fffdf8;
  color: var(--green);
  display: grid;
  place-items: center;
  font-size: 17px;
}
.hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #23372d
    url("../images/d53c0056a4c5.jpg")
    center/cover;
  color: white;
  isolation: isolate;
}
.hero video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      90deg,
      rgba(13, 35, 25, 0.82) 0%,
      rgba(17, 37, 28, 0.62) 48%,
      rgba(20, 35, 28, 0.22) 100%
    ),
    linear-gradient(0deg, rgba(13, 35, 25, 0.22), transparent 55%);
}
.hero-content {
  padding: 82px 0 64px;
  max-width: 900px;
}
.hero .eyebrow {
  color: #e8d6aa;
}
.hero h1 {
  font-size: clamp(48px, 7vw, 82px);
  line-height: 0.98;
  margin: 20px 0 22px;
  max-width: 760px;
}
.hero h1 em {
  font-weight: 400;
  color: #e7d5a8;
}
.hero p {
  font-size: 16px;
  line-height: 1.75;
  color: #f0f0e7;
  max-width: 520px;
  margin: 0;
}
.search-panel {
  margin-top: 32px;
  background: var(--paper);
  color: var(--ink);
  padding: 10px;
  border-radius: 16px;
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr auto;
  gap: 8px;
  box-shadow: 0 22px 55px #07180e45;
  max-width: 900px;
}
.search-field {
  padding: 9px 12px;
  border-right: 1px solid var(--line);
  min-width: 0;
}
.search-field:last-of-type {
  border: 0;
}
.search-field label {
  display: block;
  font-size: 9px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 800;
  margin-bottom: 5px;
}
.search-field select,
.search-field input {
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  width: 100%;
  font-size: 12px;
  min-width: 0;
}
.search-panel .btn {
  align-self: stretch;
  padding: 0 20px;
}
.hero-note {
  font-size: 10px !important;
  color: #e3e6dd !important;
  margin-top: 14px !important;
}
.section {
  padding: 74px 0;
}
.section.cream {
  background: var(--cream);
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 28px;
}
.section-head h2 {
  font-size: clamp(31px, 4vw, 43px);
  margin: 9px 0 8px;
  color: var(--green);
}
.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}
.textlink {
  font-size: 12px;
  font-weight: 800;
  color: var(--green);
  white-space: nowrap;
}
.occasion-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.occasion {
  height: 285px;
  position: relative;
  border-radius: 17px;
  overflow: hidden;
  background: #d9ded2;
  color: white;
  text-align: left;
  display: flex;
  align-items: end;
  padding: 0;
  background-size: cover;
  background-position: center;
  box-shadow: 0 8px 22px #1e34200b;
  transition: transform 0.25s;
}
.occasion:hover {
  transform: translateY(-4px);
}
.occasion:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(17, 36, 27, 0.82),
    rgba(17, 36, 27, 0.02) 76%
  );
}
.occasion-copy {
  position: relative;
  padding: 22px;
}
.occasion-copy strong {
  display: block;
  font:
    24px Georgia,
    serif;
  margin-bottom: 7px;
}
.occasion-copy span {
  font-size: 11px;
  color: #f2f0e7;
}
.services {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.service-pill {
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 12px 16px;
  color: #48564a;
  font-size: 11px;
  font-weight: 700;
}
.service-pill:hover {
  border-color: var(--gold);
  background: #fbf7ee;
}
.vendor-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.vendor-card {
  border: 1px solid var(--line);
  background: #fffdf8;
  border-radius: 17px;
  overflow: hidden;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.vendor-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.vendor-photo {
  height: 205px;
  position: relative;
  background: #e1e4d8;
  overflow: hidden;
}
.vendor-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.vendor-card:hover img {
  transform: scale(1.04);
}
.photo-label {
  position: absolute;
  top: 13px;
  left: 13px;
  background: #fffdf0e8;
  color: var(--green);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 7px 10px;
  border-radius: 99px;
}
.heart {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fffdf0ed;
  color: var(--green);
  font-size: 18px;
}
.vendor-body {
  padding: 18px;
}
.vendor-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}
.vendor-body h3 {
  font-size: 23px;
  color: var(--green);
  margin: 0 0 5px;
}
.vendor-meta {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.6;
}
.vendor-desc {
  font-size: 12px;
  color: #62685f;
  line-height: 1.65;
  min-height: 40px;
  margin: 13px 0;
}
.vendor-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #eee9df;
  padding-top: 14px;
}
.price-label {
  font-size: 11px;
  font-weight: 800;
  color: var(--green);
}
.rating {
  color: #9b7b36;
  font-size: 11px;
}
.hot-section {
  background: var(--green);
  color: white;
}
.hot-section .section-head h2 {
  color: #fffdf8;
}
.hot-section .section-head p {
  color: #d7dfd4;
}
.hot-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  max-width: 980px;
  margin: 0 auto;
}
.hot-card {
  grid-column: span 2;
  border: 1px solid #ffffff25;
  background: transparent;
  border-radius: 15px;
  padding: 22px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 88px;
  transition:
    background 0.2s,
    border-color 0.2s,
    transform 0.2s;
}
.hot-card:hover {
  background: #ffffff10;
  border-color: #d8c28a;
  transform: translateY(-2px);
}
.hot-card:nth-child(4) {
  grid-column: 2 / span 2;
}
.hot-card:nth-child(5) {
  grid-column: 4 / span 2;
}
.hot-section .section-head {
  align-items: center;
}
.hot-section .section-head > div:first-child {
  text-align: center;
  flex: 1;
}
.hot-section .section-head .btn {
  flex-shrink: 0;
}
.hot-rank {
  font:
    26px Georgia,
    serif;
  color: #e3cc8f;
}
.hot-card strong {
  display: block;
  font-size: 13px;
}
.hot-card small {
  display: block;
  color: #cdd9cf;
  margin-top: 5px;
  font-size: 10px;
}
.hot-card .trend {
  margin-left: auto;
  font-size: 10px;
  color: #e3cc8f;
}
.inspiration-banner {
  background: var(--palegold);
  border-radius: 24px;
  padding: 40px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 30px;
  overflow: hidden;
}
.inspiration-banner h2 {
  font-size: 37px;
  line-height: 1.08;
  color: var(--green);
  margin: 10px 0 14px;
}
.inspiration-banner p {
  font-size: 13px;
  line-height: 1.7;
  color: #60665d;
  max-width: 470px;
}
.inspiration-image {
  height: 260px;
  border-radius: 18px;
  background: url("../images/f6c471682554.jpg")
    center/cover;
}
.footer {
  background: #132e24;
  color: #fffdf8;
  padding: 42px 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.footer p,
.footer a {
  font-size: 11px;
  color: #d0d9cf;
  line-height: 1.7;
}
.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: start;
}
.footer .brand {
  color: #fffdf8;
}
/* app workspace */
.workspace {
  min-height: calc(100vh - 78px);
  background: #f7f5ef;
}
.appbar {
  height: 64px;
  border-bottom: 1px solid var(--line);
  background: #fffdf8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 25px;
  gap: 15px;
}
.appbar-left,
.appbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.crumb {
  font-size: 11px;
  color: var(--muted);
}
.event-select {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  background: #fffdf8;
  color: var(--green);
  font-size: 11px;
  font-weight: 700;
  max-width: 220px;
}
.app-layout {
  display: grid;
  grid-template-columns: 238px minmax(0, 1fr);
  min-height: calc(100vh - 142px);
  transition: grid-template-columns 0.2s;
}
.app-layout.collapsed {
  grid-template-columns: 78px minmax(0, 1fr);
}
.sidebar-overlay {
  display: none;
}
.sidebar {
  background: #fffdf8;
  border-right: 1px solid var(--line);
  padding: 22px 14px;
  position: relative;
}
.side-caption {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #9a9c91;
  font-weight: 800;
  padding: 0 12px;
  margin: 13px 0 9px;
}
.side-link {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  background: transparent;
  color: #63695f;
  text-align: left;
  font-size: 12px;
  font-weight: 650;
  margin: 3px 0;
  white-space: nowrap;
  overflow: hidden;
}
.side-link .ico {
  font-size: 17px;
  width: 20px;
  min-width: 20px;
  text-align: center;
  color: #6a786b;
}
.side-link:hover {
  background: #f4f2ea;
  color: var(--green);
}
.side-link.active {
  background: #e7eee6;
  color: var(--green);
}
.side-link.active .ico {
  color: var(--green);
}
.sidebar-bottom {
  margin-top: 34px;
  padding: 13px;
  border-radius: 13px;
  background: #f5f0e3;
}
.sidebar-bottom strong {
  font:
    17px Georgia,
    serif;
  color: var(--green);
  display: block;
  margin-bottom: 5px;
}
.sidebar-bottom p {
  font-size: 10px;
  line-height: 1.6;
  color: #72766a;
  margin: 0 0 12px;
}
.collapsed .sidebar {
  padding-inline: 10px;
}
.collapsed .side-caption,
.collapsed .side-label,
.collapsed .sidebar-bottom {
  display: none;
}
.collapsed .side-link {
  justify-content: center;
  padding: 13px 8px;
}
.app-main {
  padding: 30px clamp(18px, 3vw, 42px) 50px;
  min-width: 0;
}
.page-title-row {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}
.page-title-row h1 {
  font-size: 36px;
  color: var(--green);
  margin: 5px 0 7px;
}
.page-title-row p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}
.stat-card {
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 18px;
  min-width: 0;
}
.stat-top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}
.stat-icon {
  width: 31px;
  height: 31px;
  border-radius: 10px;
  background: #e7eee6;
  display: grid;
  place-items: center;
  color: var(--green);
  font-size: 15px;
}
.stat-num {
  font:
    31px Georgia,
    serif;
  color: var(--green);
  margin: 13px 0 6px;
}
.stat-foot {
  font-size: 10px;
  color: var(--muted);
}
.stat-foot .up {
  color: #39704c;
  font-weight: 800;
}
.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(260px, 0.9fr);
  gap: 17px;
  align-items: start;
}
.panel {
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 17px;
  min-width: 0;
}
.panel-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}
.panel-head h2 {
  font-size: 22px;
  color: var(--green);
  margin: 0 0 5px;
}
.panel-head p {
  font-size: 10px;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}
.panel-link {
  font-size: 10px;
  color: var(--green);
  font-weight: 800;
  white-space: nowrap;
}
.chart {
  width: 100%;
  height: 180px;
  display: block;
  overflow: visible;
}
.chart-labels {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: #96988d;
  margin-top: 7px;
}
.chart-key {
  display: flex;
  gap: 14px;
  font-size: 9px;
  color: var(--muted);
  align-items: center;
}
.key-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  margin-right: 5px;
}
.key-dot.gold {
  background: var(--gold);
}
.event-card {
  display: flex;
  gap: 15px;
  align-items: center;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fffdf8;
  margin-bottom: 10px;
}
.event-date {
  width: 54px;
  min-width: 54px;
  height: 60px;
  border-radius: 11px;
  background: #e7eee6;
  color: var(--green);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.event-date strong {
  font:
    24px Georgia,
    serif;
  line-height: 1;
}
.event-date small {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
}
.event-details {
  min-width: 0;
  flex: 1;
}
.event-details strong {
  display: block;
  color: var(--green);
  font-size: 12px;
  margin-bottom: 5px;
}
.event-details small {
  font-size: 10px;
  color: var(--muted);
}
.event-progress {
  width: 90px;
  min-width: 75px;
}
.progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: var(--muted);
  margin-bottom: 6px;
}
.progress {
  height: 5px;
  border-radius: 99px;
  background: #e9e7dd;
  overflow: hidden;
}
.progress span {
  display: block;
  height: 100%;
  background: var(--green);
  border-radius: 99px;
}
.task {
  display: flex;
  align-items: start;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid #f0ede5;
}
.task:last-child {
  border: 0;
  padding-bottom: 0;
}
.task input {
  accent-color: var(--green);
  margin-top: 2px;
  width: 15px;
  height: 15px;
}
.task strong {
  display: block;
  font-size: 11px;
  color: #39433a;
  font-weight: 700;
}
.task small {
  font-size: 9px;
  color: var(--muted);
  display: block;
  margin-top: 4px;
}
.task.done strong {
  text-decoration: line-through;
  color: #9b9f94;
}
.budget-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 11px;
  margin: 14px 0 7px;
}
.budget-line strong {
  color: var(--green);
}
.budget-breakdown {
  display: grid;
  gap: 13px;
  margin-top: 18px;
}
.budget-row {
  display: grid;
  grid-template-columns: 90px 1fr 45px;
  align-items: center;
  gap: 9px;
  font-size: 10px;
  color: #646a61;
}
.budget-row .progress {
  height: 7px;
}
.budget-row em {
  font-style: normal;
  text-align: right;
  color: var(--green);
  font-weight: 800;
}
.insight-list {
  display: grid;
  gap: 10px;
}
.insight {
  background: #f5f3eb;
  border-radius: 12px;
  padding: 13px;
  display: flex;
  gap: 11px;
  align-items: start;
}
.insight .bulb {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: #e8d9b8;
  color: #5c4a26;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.insight strong {
  font-size: 11px;
  display: block;
  color: var(--green);
  margin-bottom: 4px;
}
.insight p {
  font-size: 10px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
}
.vendor-mini {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 0;
  border-bottom: 1px solid #efede5;
}
.vendor-mini:last-child {
  border: 0;
}
.vendor-mini img {
  width: 43px;
  height: 43px;
  object-fit: cover;
  border-radius: 10px;
}
.vendor-mini strong {
  display: block;
  font-size: 11px;
  color: var(--green);
}
.vendor-mini small {
  font-size: 9px;
  color: var(--muted);
}
.vendor-mini .status {
  margin-left: auto;
  background: #e7eee6;
  color: #3b6a47;
  padding: 5px 8px;
  border-radius: 99px;
  font-size: 9px;
}
.tabs {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin: 0 0 18px;
}
.tab {
  padding: 9px 13px;
  border-radius: 99px;
  border: 1px solid var(--line);
  background: #fffdf8;
  color: #687066;
  font-size: 10px;
  font-weight: 700;
}
.tab.active {
  background: var(--green);
  color: #fffdf8;
  border-color: var(--green);
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
}
.data-table th {
  text-align: left;
  color: #8b8d82;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 12px 8px;
  border-bottom: 1px solid var(--line);
}
.data-table td {
  padding: 14px 8px;
  border-bottom: 1px solid #f0ede5;
  color: #485248;
}
.status-pill {
  border-radius: 99px;
  padding: 6px 9px;
  background: #e7eee6;
  color: #326344;
  font-size: 9px;
  font-weight: 800;
  white-space: nowrap;
}
.status-pill.pending {
  background: #f4eddd;
  color: #80662d;
}
.status-pill.new {
  background: #e6edf4;
  color: #42617d;
}
.settings-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.setting-card {
  border: 1px solid var(--line);
  background: #fffdf8;
  border-radius: 15px;
  padding: 19px;
}
.setting-card h3 {
  font-size: 20px;
  color: var(--green);
  margin: 0 0 8px;
}
.setting-card p {
  font-size: 11px;
  line-height: 1.6;
  color: var(--muted);
}
.empty-state {
  padding: 35px;
  text-align: center;
  background: #fffdf8;
  border: 1px dashed #d8d9cd;
  border-radius: 15px;
  color: var(--muted);
  font-size: 12px;
}
.hidden {
  display: none !important;
}
.mobile-only {
  display: none;
}
.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  background: var(--green);
  color: white;
  padding: 13px 17px;
  border-radius: 11px;
  box-shadow: var(--shadow);
  font-size: 12px;
  z-index: 60;
  display: none;
  max-width: 320px;
}
.modal-back {
  position: fixed;
  inset: 0;
  background: #0b1e16a8;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 50;
}
.modal-back.open {
  display: flex;
}
.modal {
  width: min(480px, 100%);
  background: var(--paper);
  border-radius: 20px;
  padding: 26px;
  box-shadow: 0 25px 80px #0003;
}
.modal h2 {
  font-size: 29px;
  color: var(--green);
  margin: 0 0 8px;
}
.modal p {
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}
.modal form {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}
.form-field label {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 800;
  color: #777d70;
  margin-bottom: 6px;
}
.form-field input,
.form-field select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px;
  background: #fffdf8;
  outline-color: var(--gold);
  font-size: 12px;
}
.modal-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 12px;
}
.close {
  background: transparent;
  font-size: 23px;
  color: var(--green);
}

/* Vendor studio: intentionally distinct from the consumer planning workspace. */
.workspace.vendor-mode {
  background: #f3f1e9;
}
.vendor-mode .appbar {
  background: #fffdf8;
  border-bottom-color: #e4ddcf;
}
.vendor-mode .workspace-context {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green);
  font-weight: 800;
  letter-spacing: 0.04em;
}
.vendor-mode .workspace-context:before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  display: inline-block;
}
.vendor-mode .crumb-sep {
  margin: 0 10px;
  color: #b2b1a6;
}
.vendor-mode .sidebar {
  background: #183d30;
  border-right: 0;
  color: #f6f1e8;
}
.vendor-mode .side-caption {
  color: #b6c5b8;
}
.vendor-mode .side-link {
  color: #e1e8df;
}
.vendor-mode .side-link .ico {
  color: #d7c28f;
}
.vendor-mode .side-link:hover {
  background: #ffffff12;
  color: #fffdf8;
}
.vendor-mode .side-link.active {
  background: #f6f1e8;
  color: #183d30;
  box-shadow: inset 3px 0 0 #c6a96b;
}
.vendor-mode .side-link.active .ico {
  color: #183d30;
}
.vendor-mode .sidebar-bottom {
  background: #244b3b;
  border: 1px solid #ffffff16;
}
.vendor-mode .sidebar-bottom strong {
  color: #fffdf8;
}
.vendor-mode .sidebar-bottom p {
  color: #d4ded4;
}
.vendor-mode .sidebar-bottom .btn.primary {
  background: #d7bd7f;
  color: #1f2e23;
  box-shadow: none;
}
.vendor-mode .app-main {
  padding-top: 34px;
}
.vendor-mode .page-title-row {
  align-items: center;
  margin-bottom: 23px;
}
.vendor-mode .page-title-row h1 {
  font-size: clamp(32px, 3vw, 43px);
  letter-spacing: -0.045em;
}
.vendor-mode .page-title-row p {
  font-size: 13px;
  max-width: 600px;
}
.vendor-mode .page-title-row .eyebrow {
  color: #9a7c3b;
}
.vendor-welcome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 25px 28px;
  margin-bottom: 18px;
  border-radius: 20px;
  background: linear-gradient(115deg, #183d30 0%, #285744 70%, #315e49 100%);
  color: #fffdf8;
  position: relative;
  overflow: hidden;
}
.vendor-welcome:after {
  content: "";
  position: absolute;
  width: 250px;
  height: 250px;
  border: 1px solid #ffffff15;
  border-radius: 50%;
  right: 19%;
  top: -155px;
  box-shadow:
    0 0 0 28px #ffffff08,
    0 0 0 58px #ffffff05;
  pointer-events: none;
}
.vendor-welcome-copy {
  position: relative;
  z-index: 1;
  max-width: 590px;
}
.vendor-welcome-kicker,
.vendor-panel-kicker {
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.17em;
  color: #ddc78f;
}
.vendor-live-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #d6c18a;
  margin: 0 7px 1px 0;
}
.vendor-welcome h2 {
  font:
    32px/1.08 Georgia,
    serif;
  letter-spacing: -0.035em;
  margin: 12px 0 8px;
  color: #fffdf8;
}
.vendor-welcome p {
  font-size: 12px;
  line-height: 1.7;
  color: #e0e8df;
  margin: 0;
  max-width: 540px;
}
.vendor-profile-score {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 240px;
  padding: 14px 16px;
  border: 1px solid #ffffff24;
  border-radius: 15px;
  background: #ffffff0c;
}
.score-ring {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: conic-gradient(#d8c38e 0 78%, #ffffff25 78% 100%);
  position: relative;
  flex-shrink: 0;
}
.score-ring:before {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: #244a39;
}
.score-ring strong {
  position: relative;
  font-size: 14px;
  color: #fffdf8;
}
.vendor-profile-score > div:last-child {
  display: grid;
  gap: 5px;
}
.vendor-profile-score > div:last-child > strong {
  font-size: 11px;
  color: #fffdf8;
}
.vendor-profile-score > div:last-child > span {
  font-size: 10px;
  color: #d7e1d7;
}
.vendor-inline-link,
.vendor-table-link {
  padding: 0;
  background: transparent;
  color: #e0cb92;
  font-size: 10px;
  font-weight: 800;
  text-align: left;
}
.vendor-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
  margin-bottom: 18px;
}
.vendor-stat {
  position: relative;
  min-width: 0;
  overflow: hidden;
  padding: 18px 19px 16px;
  border-radius: 16px;
  background: #fffdf8;
  border: 1px solid #e5dfd3;
  box-shadow: 0 5px 16px #233b2b06;
}
.vendor-stat-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 10px;
  font-weight: 750;
  color: #70776d;
}
.vendor-stat-icon {
  width: 31px;
  height: 31px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #edf1e9;
  color: #214a37;
  font-size: 15px;
}
.vendor-stat > strong {
  display: block;
  font:
    34px/1 Georgia,
    serif;
  letter-spacing: -0.04em;
  color: #183d30;
  margin: 15px 0 9px;
}
.vendor-stat-note {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  align-items: center;
  font-size: 9px;
  color: #8b8e82;
  min-height: 15px;
}
.vendor-positive {
  color: #34734c;
  font-weight: 850;
}
.vendor-stat-spark {
  height: 20px;
  display: flex;
  align-items: end;
  gap: 4px;
  margin-top: 12px;
  opacity: 0.85;
}
.vendor-stat-spark i {
  display: block;
  flex: 1;
  min-width: 3px;
  border-radius: 3px 3px 0 0;
  background: #9fb8a3;
  height: 35%;
}
.vendor-stat-spark i:nth-child(2) {
  height: 55%;
}
.vendor-stat-spark i:nth-child(3) {
  height: 42%;
}
.vendor-stat-spark i:nth-child(4) {
  height: 70%;
}
.vendor-stat-spark i:nth-child(5) {
  height: 52%;
}
.vendor-stat-spark i:nth-child(6) {
  height: 80%;
}
.vendor-stat-spark i:nth-child(7) {
  height: 62%;
}
.vendor-stat-spark i:nth-child(8) {
  height: 91%;
}
.vendor-stat-spark i:nth-child(9) {
  height: 74%;
}
.vendor-stat-spark i:nth-child(10) {
  height: 100%;
}
.vendor-stat-spark.spark-gold i {
  background: #d9c38f;
}
.vendor-dashboard-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(290px, 0.9fr);
  gap: 17px;
  align-items: start;
  margin-bottom: 17px;
}
.vendor-card-panel {
  background: #fffdf8;
  border: 1px solid #e5dfd3;
  border-radius: 17px;
  padding: 21px;
  min-width: 0;
  box-shadow: 0 5px 16px #233b2b05;
}
.vendor-panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 17px;
}
.vendor-panel-kicker {
  display: block;
  color: #9a7c3b;
  margin-bottom: 7px;
}
.vendor-panel-heading h2 {
  font:
    25px/1.1 Georgia,
    serif;
  color: #183d30;
  margin: 0 0 6px;
  letter-spacing: -0.035em;
}
.vendor-panel-heading p {
  font-size: 10px;
  line-height: 1.55;
  color: #85877d;
  margin: 0;
}
.vendor-chart-summary {
  display: flex;
  align-items: center;
  gap: 25px;
  padding: 13px 0 15px;
  margin-bottom: 15px;
  border-top: 1px solid #efebe2;
  border-bottom: 1px solid #efebe2;
}
.vendor-chart-summary > div {
  display: grid;
  gap: 4px;
}
.vendor-chart-summary strong {
  font:
    24px/1 Georgia,
    serif;
  color: #183d30;
}
.vendor-chart-summary span {
  font-size: 9px;
  color: #83877c;
}
.vendor-chart-summary .vendor-period {
  margin-left: auto;
  text-align: right;
}
.vendor-chart-summary .vendor-period small {
  font-size: 9px;
  color: #83877c;
}
.vendor-chart {
  height: 195px;
  margin-top: 10px;
}
.vendor-data-note {
  font-size: 9px;
  line-height: 1.5;
  color: #9a9b91;
  margin: 14px 0 0;
}
.vendor-side-stack {
  display: grid;
  gap: 17px;
  min-width: 0;
}
.vendor-next-steps .vendor-panel-heading {
  margin-bottom: 13px;
}
.vendor-action-row {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 11px;
  text-align: left;
  background: transparent;
  padding: 12px 0;
  border-top: 1px solid #f0ece4;
  color: var(--ink);
}
.vendor-action-icon {
  width: 33px;
  height: 33px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 10px;
  background: #edf1e9;
  color: #214a37;
  font-size: 15px;
}
.vendor-action-row:nth-of-type(3) .vendor-action-icon {
  background: #f4eddd;
  color: #876b31;
}
.vendor-action-row > span:nth-child(2) {
  display: grid;
  gap: 4px;
  min-width: 0;
  flex: 1;
}
.vendor-action-row strong {
  font-size: 10px;
  color: #284535;
}
.vendor-action-row small {
  font-size: 9px;
  line-height: 1.4;
  color: #898c81;
}
.vendor-action-arrow {
  color: #9c8145;
  font-size: 14px;
}
.vendor-action-row:hover strong,
.vendor-table-link:hover {
  color: #9a7c3b;
}
.vendor-premium-card {
  padding: 21px;
  border-radius: 17px;
  background: #f1ead9;
  border: 1px solid #e5d8b8;
}
.vendor-premium-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}
.vendor-premium-mark {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  background: #dfcca0;
  color: #604d24;
  border-radius: 9px;
}
.vendor-premium-label {
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.13em;
  color: #876b31;
}
.vendor-premium-card h2 {
  font:
    25px/1.1 Georgia,
    serif;
  color: #183d30;
  margin: 0 0 8px;
}
.vendor-premium-card p {
  font-size: 10px;
  line-height: 1.7;
  color: #696a5e;
  margin: 0 0 15px;
}
.vendor-premium-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 13px;
  background: #183d30;
  color: #fffdf8;
  border-radius: 10px;
  font-size: 10px;
  font-weight: 800;
  text-align: left;
}
.vendor-premium-card > small {
  display: block;
  font-size: 8px;
  line-height: 1.5;
  color: #89806b;
  margin-top: 10px;
}
.vendor-inquiries-panel {
  margin-bottom: 22px;
}
.vendor-inquiries-panel .vendor-panel-heading {
  align-items: center;
}
.table-scroll {
  width: 100%;
  overflow-x: auto;
}
.vendor-data-table {
  min-width: 610px;
}
.vendor-data-table th {
  padding-top: 12px;
  padding-bottom: 12px;
}
.vendor-data-table td {
  vertical-align: middle;
  padding-top: 13px;
  padding-bottom: 13px;
}
.client-avatar {
  display: inline-grid;
  place-items: center;
  vertical-align: middle;
  width: 29px;
  height: 29px;
  margin-right: 9px;
  border-radius: 50%;
  background: #dfe9df;
  color: #234c38;
  font-size: 9px;
  font-weight: 850;
}
.avatar-gold {
  background: #f1e5c9;
  color: #80642d;
}
.avatar-sage {
  background: #e6e9df;
  color: #52624d;
}
.client-name {
  font-size: 10px;
  font-weight: 750;
  color: #354a3b;
  white-space: nowrap;
}
.vendor-data-table .vendor-table-link {
  color: #55785d;
}
.vendor-mode .panel {
  border-color: #e5dfd3;
}
.vendor-mode .status-pill {
  font-size: 9px;
}
@media (max-width: 1100px) {
  .vendor-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .vendor-dashboard-columns {
    grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.9fr);
  }
  .vendor-profile-score {
    min-width: 220px;
  }
}
@media (max-width: 850px) {
  .vendor-welcome {
    align-items: flex-start;
    flex-direction: column;
  }
  .vendor-profile-score {
    width: 100%;
    max-width: 360px;
  }
  .vendor-dashboard-columns {
    grid-template-columns: 1fr;
  }
  .vendor-side-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 700px) {
  .sidebar {
    top: 58px;
    transform: translateX(calc(-100% - 20px));
  }
  .sidebar-overlay {
    inset: 58px 0 0;
  }
  .vendor-data-table {
    min-width: 0;
  }
  .vendor-data-table th:nth-child(2),
  .vendor-data-table td:nth-child(2),
  .vendor-data-table th:nth-child(3),
  .vendor-data-table td:nth-child(3),
  .vendor-data-table th:last-child,
  .vendor-data-table td:last-child {
    display: none;
  }
  .vendor-mode .app-main {
    padding-top: 22px;
  }
  .vendor-mode .page-title-row {
    align-items: stretch;
  }
  .vendor-welcome {
    padding: 22px 19px;
  }
  .vendor-welcome h2 {
    font-size: 28px;
  }
  .vendor-profile-score {
    min-width: 0;
  }
  .vendor-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }
  .vendor-stat {
    padding: 14px;
  }
  .vendor-stat > strong {
    font-size: 29px;
  }
  .vendor-stat-label {
    font-size: 9px;
  }
  .vendor-dashboard-columns {
    gap: 12px;
  }
  .vendor-side-stack {
    grid-template-columns: 1fr;
  }
  .vendor-card-panel {
    padding: 16px;
  }
  .vendor-panel-heading {
    flex-direction: column;
    align-items: stretch;
  }
  .vendor-panel-heading .btn {
    align-self: flex-start;
  }
  .vendor-chart-summary {
    gap: 15px;
  }
  .vendor-chart-summary strong {
    font-size: 21px;
  }
  .vendor-chart {
    height: 160px;
  }
  .vendor-inquiries-panel .vendor-panel-heading {
    align-items: flex-start;
  }
  .vendor-premium-card {
    padding: 18px;
  }
  .vendor-mode .workspace-context {
    display: none;
  }
}

@media (max-width: 980px) {
  .nav {
    gap: 15px;
  }
  .occasion-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .vendor-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  .search-panel {
    grid-template-columns: repeat(2, 1fr);
  }
  .search-field:nth-child(2) {
    border-right: 0;
  }
  .inspiration-banner {
    grid-template-columns: 1fr 1fr;
  }
  .app-layout {
    grid-template-columns: 210px minmax(0, 1fr);
  }
  .app-layout.collapsed {
    grid-template-columns: 70px minmax(0, 1fr);
  }
}
@media (max-width: 700px) {
  .hot-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
  }
  .hot-card,
  .hot-card:nth-child(4),
  .hot-card:nth-child(5) {
    grid-column: 1;
  }
  .shell {
    width: min(100% - 30px, 1200px);
  }
  .topbar {
    height: 68px;
  }
  .brand {
    font-size: 26px;
  }
  .nav {
    display: none;
  }
  .actions .btn.light {
    display: none;
  }
  .hero {
    min-height: 660px;
  }
  .hero-content {
    padding: 68px 0 46px;
  }
  .hero h1 {
    font-size: 53px;
  }
  .search-panel {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .search-field {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 11px;
  }
  .search-panel .btn {
    padding: 14px;
  }
  .section {
    padding: 52px 0;
  }
  .section-head {
    align-items: start;
    flex-direction: column;
    gap: 14px;
  }
  .occasion-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .occasion {
    height: 230px;
  }
  .occasion-copy {
    padding: 15px;
  }
  .occasion-copy strong {
    font-size: 20px;
  }
  .vendor-grid {
    grid-template-columns: 1fr;
  }
  .vendor-photo {
    height: 230px;
  }
  .inspiration-banner {
    grid-template-columns: 1fr;
    padding: 25px;
  }
  .inspiration-banner h2 {
    font-size: 31px;
  }
  .inspiration-image {
    height: 190px;
  }
  .footer-inner {
    flex-direction: column;
  }
  .appbar {
    padding: 0 13px;
    height: 58px;
  }
  .appbar .crumb {
    display: none;
  }
  .event-select {
    max-width: 150px;
  }
  .app-layout,
  .app-layout.collapsed {
    grid-template-columns: 1fr;
    min-height: calc(100vh - 126px);
  }
  .sidebar {
    position: fixed;
    z-index: 35;
    left: 0;
    top: 126px;
    bottom: 0;
    width: 255px;
    transform: translateX(-105%);
    transition: transform 0.25s;
    box-shadow: 12px 0 35px #132e2418;
  }
  .app-layout.mobile-open .sidebar {
    transform: translateX(0);
  }
  .collapsed .side-caption,
  .collapsed .side-label,
  .collapsed .sidebar-bottom {
    display: block;
  }
  .collapsed .side-link {
    justify-content: flex-start;
    padding: 12px;
  }
  .app-main {
    padding: 24px 14px 38px;
  }
  .page-title-row {
    flex-direction: column;
    align-items: stretch;
    margin-bottom: 19px;
  }
  .page-title-row h1 {
    font-size: 31px;
  }
  .stats-grid {
    gap: 9px;
  }
  .stat-card {
    padding: 13px;
  }
  .stat-num {
    font-size: 27px;
  }
  .stat-top {
    font-size: 9px;
  }
  .dashboard-grid {
    gap: 8px;
  }
  .panel {
    padding: 15px;
  }
  .panel-head h2 {
    font-size: 20px;
  }
  .event-card {
    gap: 10px;
    padding: 11px;
  }
  .event-progress {
    display: none;
  }
  .event-date {
    width: 47px;
    min-width: 47px;
    height: 53px;
  }
  .settings-grid {
    grid-template-columns: 1fr;
  }
  .data-table {
    font-size: 10px;
  }
  .data-table th,
  .data-table td {
    padding: 11px 5px;
  }
  .mobile-only {
    display: grid;
  }
  .desktop-toggle {
    display: none;
  }
  .sidebar-overlay {
    display: none;
    position: fixed;
    inset: 126px 0 0;
    background: #10271c66;
    z-index: 30;
  }
  .app-layout.mobile-open .sidebar-overlay {
    display: block;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
  .hero video {
    display: none;
  }
}

/* Messaging prototype — demo-only until connected to Supabase. */
.message-page {
  display: grid;
  grid-template-columns: minmax(245px, 0.78fr) minmax(0, 1.65fr);
  gap: 16px;
  min-height: 610px;
  align-items: stretch;
}
.message-inbox,
.message-thread {
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: 17px;
  min-width: 0;
  overflow: hidden;
}
.message-inbox-head {
  padding: 20px 18px 14px;
  border-bottom: 1px solid #eeece3;
}
.message-inbox-head h2 {
  font:
    26px Georgia,
    serif;
  color: var(--green);
  margin: 0 0 5px;
}
.message-inbox-head p {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0 0 14px;
}
.message-search {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fbfaf5;
  padding: 11px 12px;
  font-size: 11px;
  outline-color: var(--gold);
}
.message-filters {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  padding: 12px 14px;
  border-bottom: 1px solid #eeece3;
}
.message-filter {
  border: 1px solid transparent;
  border-radius: 99px;
  background: transparent;
  padding: 7px 10px;
  color: #74796e;
  font-size: 10px;
  font-weight: 750;
}
.message-filter.active {
  background: #e7eee6;
  color: var(--green);
}
.message-list {
  max-height: 570px;
  overflow: auto;
}
.message-thread-item {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 11px;
  text-align: left;
  padding: 15px 14px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #f0eee7;
  cursor: pointer;
}
.message-thread-item:hover,
.message-thread-item.active {
  background: #f4f4ed;
}
.message-avatar {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: #e5ece2;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
}
.message-avatar.gold {
  background: #f1e5c9;
  color: #80642d;
}
.message-avatar.blue {
  background: #e4ebf0;
  color: #476477;
}
.message-summary {
  min-width: 0;
  flex: 1;
}
.message-summary-top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
}
.message-summary strong {
  font-size: 11px;
  color: #2f4335;
}
.message-summary time {
  font-size: 9px;
  color: #8b8e82;
  white-space: nowrap;
}
.message-summary p {
  font-size: 10px;
  line-height: 1.45;
  color: #777d72;
  margin: 5px 0 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.message-unread {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #b68b39;
  display: inline-block;
  margin-left: 5px;
}
.message-thread {
  display: flex;
  flex-direction: column;
  min-height: 610px;
}
.message-thread-header {
  padding: 17px 20px;
  border-bottom: 1px solid #eeece3;
  display: flex;
  align-items: center;
  gap: 12px;
}
.message-thread-header .message-avatar {
  width: 44px;
  height: 44px;
  flex-basis: 44px;
}
.message-person {
  flex: 1;
  min-width: 0;
}
.message-person strong {
  display: block;
  color: var(--green);
  font-size: 13px;
}
.message-person small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  margin-top: 5px;
}
.message-context {
  margin: 14px 18px 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: #f4f1e7;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}
.message-context strong {
  display: block;
  font-size: 10px;
  color: #435341;
  margin-bottom: 4px;
}
.message-context span {
  font-size: 10px;
  color: #777c70;
}
.message-stream {
  flex: 1;
  min-height: 240px;
  max-height: 390px;
  overflow: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.message-day {
  text-align: center;
  font-size: 9px;
  color: #999b91;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 3px 0;
}
.message-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 82%;
  gap: 5px;
}
.message-row.mine {
  align-self: flex-end;
  align-items: flex-end;
}
.message-bubble {
  background: #f0f0e9;
  border-radius: 4px 15px 15px 15px;
  padding: 12px 14px;
  font-size: 11px;
  line-height: 1.65;
  color: #3d493e;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}
.message-row.mine .message-bubble {
  background: #183d30;
  color: #fffdf8;
  border-radius: 15px 4px 15px 15px;
}
.message-meta {
  font-size: 9px;
  color: #92968a;
  padding: 0 3px;
}
.message-composer {
  border-top: 1px solid #eeece3;
  padding: 14px 16px 16px;
  background: #fffdf8;
}
.message-composer textarea {
  display: block;
  width: 100%;
  resize: vertical;
  min-height: 74px;
  max-height: 150px;
  border: 1px solid #e1dfd4;
  border-radius: 12px;
  padding: 12px;
  background: #fcfbf7;
  font: 11px/1.6 inherit;
  outline-color: var(--gold);
}
.message-composer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}
.message-composer-bottom small {
  font-size: 9px;
  color: #8b8e82;
}
.message-demo-note {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 9px;
  background: #f4eddd;
  color: #7c642e;
  border-radius: 99px;
  font-size: 9px;
  font-weight: 800;
}
.message-empty {
  padding: 40px 20px;
  text-align: center;
  color: var(--muted);
  font-size: 11px;
}
.message-empty strong {
  display: block;
  font:
    23px Georgia,
    serif;
  color: var(--green);
  margin-bottom: 7px;
}
.message-back {
  display: none;
}
@media (max-width: 850px) {
  .message-page {
    grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);
  }
  .message-context {
    align-items: flex-start;
    flex-direction: column;
  }
}
@media (max-width: 700px) {
  .message-page {
    display: block;
    min-height: 0;
  }
  .message-inbox {
    margin-bottom: 12px;
  }
  .message-list {
    max-height: 340px;
  }
  .message-thread {
    min-height: 540px;
  }
  .message-page.thread-open .message-inbox {
    display: none;
  }
  .message-page:not(.thread-open) .message-thread {
    display: none;
  }
  .message-back {
    display: inline-flex;
  }
  .message-thread-header {
    padding: 13px;
  }
  .message-stream {
    padding: 15px;
    max-height: 360px;
  }
  .message-row {
    max-width: 92%;
  }
  .message-context {
    margin: 10px 12px 0;
  }
  .message-composer {
    padding: 12px;
  }
}

/* Final mobile navigation overrides: workspace replaces the public header. */
@media (max-width: 700px) {
  .sidebar {
    top: 58px;
    transform: translateX(calc(-100% - 20px));
    box-shadow: none;
  }
  .app-layout.mobile-open .sidebar {
    transform: translateX(0);
    box-shadow: 12px 0 35px #132e2418;
  }
  .sidebar-overlay {
    inset: 58px 0 0;
  }
}

/* Plan.it Premium preview/paywall */
.premium-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #e5d8b8;
  background: #f8f1df;
  color: #725a27;
  border-radius: 999px;
  padding: 6px 9px;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.premium-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
  margin-top: 16px;
}
.premium-feature {
  border: 1px solid #e7dcc2;
  background: linear-gradient(135deg, #fffdf8, #f8f1df);
  border-radius: 15px;
  padding: 17px;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  color: var(--ink);
  min-width: 0;
  transition:
    transform 0.18s,
    border-color 0.18s;
}
.premium-feature:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
}
.premium-feature .lock-icon {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #e8d9b8;
  color: #604d24;
  font-size: 15px;
}
.premium-feature strong {
  font-size: 13px;
  color: var(--green);
}
.premium-feature small {
  font-size: 10px;
  line-height: 1.55;
  color: var(--muted);
}
.premium-feature .unlock-link {
  margin-top: auto;
  font-size: 10px;
  font-weight: 850;
  color: var(--green);
  padding-top: 5px;
}
.premium-modal-back {
  position: fixed;
  inset: 0;
  background: #0b1e16b8;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  z-index: 90;
}
.premium-modal-back.open {
  display: flex;
}
.premium-modal {
  width: min(540px, 100%);
  max-height: 90vh;
  overflow: auto;
  background: var(--paper);
  border-radius: 23px;
  padding: clamp(22px, 5vw, 34px);
  box-shadow: 0 25px 90px #0004;
}
.premium-modal-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 14px;
}
.premium-modal-mark {
  width: 43px;
  height: 43px;
  border-radius: 14px;
  background: #e8d9b8;
  color: #604d24;
  display: grid;
  place-items: center;
  font-size: 21px;
  margin-bottom: 16px;
}
.premium-modal h2 {
  font:
    34px/1.06 Georgia,
    serif;
  color: var(--green);
  margin: 12px 0;
}
.premium-modal p {
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
}
.premium-modal-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 23px;
}
.premium-modal-list div {
  display: flex;
  gap: 10px;
  align-items: start;
  font-size: 11px;
  line-height: 1.5;
  color: #495247;
}
.premium-modal-list span {
  color: #8a6d2e;
  font-weight: 900;
}
.premium-modal-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.premium-note {
  font-size: 9px !important;
  margin-top: 14px !important;
}
@media (max-width: 700px) {
  .premium-feature-grid {
    grid-template-columns: 1fr;
  }
  .premium-modal h2 {
    font-size: 29px;
  }
}

/* Premium access-code demo */
.premium-code-row {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 15px 0 8px;
}
.premium-code-row input {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px;
  background: #fffdf8;
  font-size: 12px;
  letter-spacing: 0.08em;
}
.premium-code-error {
  color: #a33b31;
  font-size: 10px;
  min-height: 14px;
}
.premium-demo-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  background: #183d30;
  color: #fffdf8;
  border-radius: 15px;
  padding: 17px 20px;
  margin: 0 0 16px;
}
.premium-demo-banner strong {
  font:
    22px Georgia,
    serif;
  display: block;
  margin-bottom: 4px;
}
.premium-demo-banner small {
  color: #d9e2d7;
  font-size: 10px;
}
.premium-demo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 14px 0 18px;
}
.premium-demo-card {
  background: #fffdf8;
  border: 1px solid #e2d7bb;
  border-radius: 15px;
  padding: 18px;
  min-width: 0;
}
.premium-demo-card h3 {
  font:
    21px Georgia,
    serif;
  color: var(--green);
  margin: 6px 0 8px;
}
.premium-demo-card p {
  font-size: 10px;
  line-height: 1.6;
  color: var(--muted);
}
.premium-demo-number {
  font:
    30px Georgia,
    serif;
  color: var(--green);
  margin: 8px 0;
}
.premium-demo-kicker {
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.12em;
  color: #8b6d2d;
}
.premium-demo-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}
.premium-demo-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid #efede5;
  padding: 9px 0;
  font-size: 10px;
  color: #5d665c;
}
.premium-demo-row strong {
  color: var(--green);
}
.premium-demo-tag {
  font-size: 9px;
  font-weight: 800;
  background: #e7eee6;
  color: var(--green);
  border-radius: 99px;
  padding: 5px 8px;
  white-space: nowrap;
}
.premium-unlocked-note {
  font-size: 10px;
  color: #526b56;
  margin: 0 0 13px;
}
.premium-match-item {
  display: flex;
  gap: 11px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #efede5;
}
.premium-match-item:last-child {
  border: 0;
}
.premium-match-item img {
  width: 45px;
  height: 45px;
  object-fit: cover;
  border-radius: 10px;
}
.premium-match-item strong {
  display: block;
  color: var(--green);
  font-size: 11px;
}
.premium-match-item small {
  display: block;
  color: var(--muted);
  font-size: 9px;
  margin-top: 4px;
}
@media (max-width: 700px) {
  .premium-demo-grid {
    grid-template-columns: 1fr;
  }
  .premium-code-row {
    flex-wrap: wrap;
  }
  .premium-code-row .btn {
    width: 100%;
  }
}

/* Premium vendor analytics: visual, actionable dashboard */
.premium-analytics-wrap {
  display: grid;
  gap: 16px;
  margin: 16px 0 18px;
}
.premium-analytics-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(230px, 0.75fr);
  gap: 16px;
  background: linear-gradient(120deg, #183d30, #285b46);
  border-radius: 19px;
  padding: 22px;
  color: #fff;
  overflow: hidden;
  position: relative;
}
.premium-analytics-hero:after {
  content: "";
  position: absolute;
  width: 250px;
  height: 250px;
  border: 1px solid #ffffff18;
  border-radius: 50%;
  right: -70px;
  top: -130px;
  box-shadow:
    0 0 0 28px #ffffff08,
    0 0 0 58px #ffffff06;
  pointer-events: none;
}
.premium-analytics-hero .premium-demo-kicker {
  color: #e3c982;
}
.premium-analytics-hero h2 {
  font:
    clamp(24px, 3vw, 34px)/1.08 Georgia,
    serif;
  margin: 9px 0 10px;
  color: #fff;
}
.premium-analytics-hero p {
  color: #e0e9e1;
  font-size: 12px;
  line-height: 1.65;
  max-width: 520px;
}
.premium-hero-score {
  background: #ffffff12;
  border: 1px solid #ffffff24;
  border-radius: 15px;
  padding: 16px;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 1;
}
.premium-hero-score small {
  font-size: 10px;
  color: #dbe7dd;
}
.premium-hero-score strong {
  font:
    36px Georgia,
    serif;
  margin: 5px 0;
}
.premium-hero-score span {
  font-size: 10px;
  color: #d8e5d9;
  line-height: 1.5;
}
.premium-analytics-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.premium-kpi {
  background: #fffdf8;
  border: 1px solid #e7dfcf;
  border-radius: 15px;
  padding: 16px;
  min-width: 0;
}
.premium-kpi-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  color: #6e786d;
  font-size: 10px;
  font-weight: 750;
}
.premium-kpi-icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: #eaf0e8;
  color: #28523c;
  font-size: 14px;
}
.premium-kpi-value {
  font:
    clamp(22px, 2.5vw, 30px) Georgia,
    serif;
  color: var(--green);
  margin: 12px 0 5px;
}
.premium-kpi-foot {
  font-size: 10px;
  line-height: 1.45;
  color: #687468;
}
.premium-positive {
  color: #34734c;
  font-weight: 800;
}
.premium-negative {
  color: #a65d39;
  font-weight: 800;
}
.premium-analytics-two {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(270px, 0.8fr);
  gap: 14px;
}
.premium-chart-card,
.premium-insight-card {
  background: #fffdf8;
  border: 1px solid #e7dfcf;
  border-radius: 16px;
  padding: 18px;
  min-width: 0;
}
.premium-card-title {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
.premium-card-title h3 {
  font:
    21px Georgia,
    serif;
  color: var(--green);
  margin: 0 0 5px;
}
.premium-card-title p {
  font-size: 10px;
  line-height: 1.5;
  color: var(--muted);
  margin: 0;
}
.premium-chart-svg {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 15px;
  overflow: visible;
}
.premium-chart-legend {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 10px;
  color: #697468;
  margin-top: 9px;
}
.premium-legend-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #285b46;
  margin-right: 5px;
}
.premium-legend-dot.gold {
  background: #c6a96b;
}
.premium-chart-caption {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: #8a9288;
  font-size: 9px;
  margin-top: 8px;
}
.premium-funnel {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}
.premium-funnel-row {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr) 42px;
  align-items: center;
  gap: 9px;
  font-size: 10px;
  color: #58665a;
}
.premium-funnel-track {
  height: 9px;
  border-radius: 99px;
  background: #edf0e9;
  overflow: hidden;
}
.premium-funnel-fill {
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, #285b46, #8eae8f);
}
.premium-funnel-row strong {
  text-align: right;
  color: var(--green);
  font-size: 11px;
}
.premium-action-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}
.premium-action {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
  padding: 12px;
  border-radius: 12px;
  background: #f7f4ec;
  border: 1px solid #eee5d3;
}
.premium-action-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: #e4ebdf;
  color: #254f38;
  font-weight: 850;
}
.premium-action strong {
  font-size: 11px;
  color: var(--green);
  display: block;
  margin: 1px 0 4px;
}
.premium-action p {
  font-size: 10px;
  line-height: 1.5;
  color: #6c766b;
  margin: 0;
}
.premium-impact {
  font-size: 9px;
  font-weight: 850;
  color: #795e22;
  background: #f1e5c9;
  padding: 5px 7px;
  border-radius: 7px;
  white-space: nowrap;
}
.premium-source-list {
  display: grid;
  gap: 14px;
  margin-top: 17px;
}
.premium-source-head {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 10px;
  color: #59665a;
  margin-bottom: 6px;
}
.premium-source-head strong {
  color: var(--green);
}
.premium-source-track {
  height: 8px;
  background: #edf0e9;
  border-radius: 99px;
  overflow: hidden;
}
.premium-source-fill {
  height: 100%;
  border-radius: 99px;
  background: #315f46;
}
.premium-source-fill.gold {
  background: #c6a96b;
}
.premium-source-fill.sage {
  background: #9bb59b;
}
.premium-period-tabs {
  display: flex;
  gap: 4px;
  background: #f1eee5;
  padding: 4px;
  border-radius: 10px;
  flex-shrink: 0;
}
.premium-period-tabs button {
  border: 0;
  background: transparent;
  border-radius: 7px;
  padding: 7px 9px;
  font-size: 9px;
  font-weight: 800;
  color: #657064;
  cursor: pointer;
}
.premium-period-tabs button.active {
  background: white;
  color: var(--green);
  box-shadow: 0 1px 4px #0000000d;
}
.premium-data-note {
  font-size: 10px;
  line-height: 1.5;
  color: #788174;
  padding: 10px 12px;
  background: #f6f3eb;
  border-radius: 10px;
  margin: 0;
}
@media (max-width: 850px) {
  .premium-analytics-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .premium-analytics-two {
    grid-template-columns: 1fr;
  }
  .premium-analytics-hero {
    grid-template-columns: 1fr;
  }
  .premium-hero-score {
    max-width: none;
  }
}
@media (max-width: 480px) {
  .premium-analytics-kpis {
    gap: 8px;
  }
  .premium-kpi {
    padding: 12px;
  }
  .premium-card-title {
    flex-direction: column;
  }
  .premium-funnel-row {
    grid-template-columns: 76px minmax(0, 1fr) 34px;
  }
  .premium-action {
    grid-template-columns: 30px minmax(0, 1fr);
  }
  .premium-impact {
    grid-column: 2;
    justify-self: start;
  }
  .premium-analytics-hero {
    padding: 18px;
  }
}

/* Marketplace discovery, vendor profiles and experience-led reviews */
.search-panel {
  grid-template-columns: 1.05fr 1fr 1fr 0.82fr auto;
}
.quick-search {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 17px;
}
.quick-search-label {
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #f0dfb6;
  font-weight: 800;
  margin-right: 4px;
}
.quick-bubble {
  border: 1px solid #ffffff66;
  background: #ffffff12;
  color: #fffdf8;
  border-radius: 99px;
  padding: 10px 14px;
  font-size: 11px;
  font-weight: 700;
  backdrop-filter: blur(8px);
  transition: 0.2s;
}
.quick-bubble:hover {
  background: #fffdf0;
  color: var(--green);
  transform: translateY(-2px);
}
.seasonal-section {
  background: linear-gradient(180deg, #f8f2e7, #f0e6d3);
  position: relative;
  overflow: hidden;
}
.seasonal-section .shell {
  max-width: 1200px;
}
.seasonal-section .section-head {
  display: block;
  text-align: center;
  margin: 0 auto 28px;
  max-width: 700px;
}
.seasonal-section .section-head .eyebrow {
  color: #9a7737;
}
.seasonal-section .section-head h2 {
  margin: 9px 0 8px;
}
.seasonal-section .section-head p {
  margin: 0 auto;
  max-width: 540px;
}
.seasonal-section .section-head > button {
  margin-top: 14px;
}
.seasonal-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  max-width: 1120px;
  margin: 0 auto;
}
.seasonal-card {
  width: 100%;
  min-height: 340px;
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  border: 2px solid #c7a45d;
  outline: 1px solid #f7e9bf;
  outline-offset: -8px;
  box-shadow: 0 20px 45px #3b2b181f;
  background: #183d30;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  padding: 34px;
}
.seasonal-card:before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #0b2119b8, #112c20a1, #0b2119b8),
    linear-gradient(0deg, #102b20a6, transparent 90%);
}
.seasonal-card:after {
  content: "✦  ✧  ✦  ✧  ✦";
  position: absolute;
  top: 17px;
  left: 0;
  right: 0;
  text-align: center;
  letter-spacing: 1.2em;
  color: #f2dca2;
  font-size: 14px;
  text-shadow: 0 0 12px #e2c17a;
}
.seasonal-card > * {
  position: relative;
  z-index: 1;
  max-width: 760px;
}
.seasonal-card strong {
  display: block;
  font:
    clamp(30px, 4vw, 48px)/1.05 Georgia,
    serif;
  color: #fff8e9;
  text-shadow: 0 2px 18px #0005;
}
.seasonal-card span {
  display: block;
  font-size: 13px;
  line-height: 1.7;
  margin-top: 12px;
  color: #fff6df;
}
.seasonal-card .seasonal-kicker {
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 800;
  color: #f1d99b;
  margin-bottom: 12px;
}
.seasonal-note {
  text-align: center;
  font-size: 10px;
  margin: 15px auto 0;
  max-width: 800px;
  color: #7d7463;
}
.route-root {
  min-height: 65vh;
  background: var(--paper);
  padding: 36px 0 80px;
}
.route-top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin-bottom: 22px;
}
.route-top h1 {
  font-size: clamp(34px, 5vw, 54px);
  color: var(--green);
  margin: 8px 0;
}
.route-top p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
  max-width: 680px;
}
.route-back {
  border: 1px solid var(--line);
  background: #fffdf8;
  border-radius: 10px;
  padding: 11px 14px;
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
}
.result-tools {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr auto;
  gap: 12px;
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  margin: 22px 0;
}
.result-tools label {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  font-weight: 800;
  display: block;
  margin-bottom: 6px;
}
.result-tools input,
.result-tools select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  background: white;
  color: var(--ink);
  font-size: 12px;
}
.route-vendor-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.profile-hero {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 26px;
  align-items: stretch;
  margin: 18px 0 30px;
}
.profile-cover {
  width: 100%;
  height: 390px;
  object-fit: cover;
  border-radius: 19px;
}
.profile-intro {
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: 19px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.profile-intro h1 {
  font-size: clamp(32px, 4vw, 48px);
  color: var(--green);
  margin: 9px 0;
}
.profile-intro p {
  font-size: 13px;
  line-height: 1.75;
  color: #646b61;
}
.profile-actions {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.profile-section {
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: 17px;
  padding: 24px;
  margin: 18px 0;
}
.profile-section h2 {
  font-size: 29px;
  color: var(--green);
  margin: 5px 0 16px;
}
.profile-section p {
  font-size: 13px;
  line-height: 1.8;
  color: #5d665b;
}
.profile-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.profile-gallery img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 11px;
}
.profile-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.service-package {
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 17px;
  background: #fffdf8;
}
.service-package strong {
  display: block;
  color: var(--green);
  font-size: 14px;
}
.service-package .package-price {
  font:
    23px Georgia,
    serif;
  margin: 10px 0;
  color: var(--green);
}
.profile-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 18px;
}
.profile-fact {
  background: #f5f2ea;
  border-radius: 11px;
  padding: 13px;
}
.profile-fact strong {
  display: block;
  font:
    21px Georgia,
    serif;
  color: var(--green);
  font-size: 14px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.profile-fact span {
  font-size: 10px;
  color: var(--muted);
}
.experience-snapshot {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.experience-metric {
  padding: 15px;
  background: #f6f2e9;
  border-radius: 12px;
}
.experience-metric strong {
  font:
    25px Georgia,
    serif;
  color: var(--green);
  display: block;
}
.experience-metric span {
  font-size: 11px;
  color: #596356;
  display: block;
  margin-top: 6px;
}
.review-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 17px;
  margin-top: 12px;
  background: #fffdf8;
}
.review-card-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
}
.review-badge {
  display: inline-block;
  background: #e8efe5;
  color: #315b3f;
  padding: 6px 8px;
  border-radius: 99px;
  font-size: 9px;
  font-weight: 800;
}
.review-badge.unverified {
  background: #f4ead4;
  color: #765e2c;
}
.review-tags {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin: 12px 0;
}
.review-tag {
  background: #f3efe5;
  border-radius: 99px;
  padding: 7px 10px;
  font-size: 10px;
  color: #425344;
}
.review-media {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 12px;
}
.review-media img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  border-radius: 9px;
}
.review-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
}
.review-form-grid label,
.enquiry-grid label {
  display: block;
  font-size: 10px;
  color: var(--muted);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}
.review-form-grid select,
.review-form-grid textarea,
.review-form-grid input,
.enquiry-grid input,
.enquiry-grid select,
.enquiry-grid textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 11px;
  background: #fff;
  color: var(--ink);
  font-size: 12px;
}
.review-form-grid textarea,
.enquiry-grid textarea {
  min-height: 90px;
  resize: vertical;
}
.review-form-grid .full,
.enquiry-grid .full {
  grid-column: 1/-1;
}
.rank-row {
  display: grid;
  grid-template-columns: 58px 110px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 16px;
  margin: 11px 0;
}
.rank-number {
  font:
    30px Georgia,
    serif;
  color: #b69b5b;
}
.rank-row img {
  width: 110px;
  height: 85px;
  object-fit: cover;
  border-radius: 10px;
}
.rank-row h3 {
  font-size: 21px;
  color: var(--green);
  margin: 0 0 6px;
}
.rank-signals {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: 9px;
}
.rank-signals span {
  font-size: 9px;
  background: #f1eee5;
  border-radius: 99px;
  padding: 6px 8px;
  color: #536052;
}
.rank-trend {
  font-size: 11px;
  color: #43674c;
  font-weight: 800;
  white-space: nowrap;
}
.rank-note {
  font-size: 11px;
  line-height: 1.7;
  color: var(--muted);
  background: #f3efe5;
  border-radius: 12px;
  padding: 14px;
  margin: 14px 0;
}
.new-vendor-strip {
  background: #eaf0e7;
  border-radius: 16px;
  padding: 22px;
  margin: 28px 0;
}
.empty-state {
  background: #fffdf8;
  border: 1px dashed var(--line);
  border-radius: 14px;
  padding: 25px;
  color: var(--muted);
  font-size: 13px;
}
@media (max-width: 850px) {
  .search-panel {
    grid-template-columns: 1fr 1fr;
  }
  .search-panel .btn {
    min-height: 45px;
  }
  .seasonal-grid {
    grid-template-columns: 1fr;
  }
  .seasonal-card:first-child {
    grid-column: auto;
  }
  .route-vendor-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .result-tools {
    grid-template-columns: 1fr 1fr;
  }
  .profile-hero {
    grid-template-columns: 1fr;
  }
  .profile-cover {
    height: 310px;
  }
  .experience-snapshot {
    grid-template-columns: repeat(2, 1fr);
  }
  .rank-row {
    grid-template-columns: 38px 82px minmax(0, 1fr);
  }
  .rank-row img {
    width: 82px;
    height: 76px;
  }
  .rank-trend {
    grid-column: 3;
  }
}

.profile-calendar-preview {
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 18px;
  background: #fffdf8;
}
.profile-calendar-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.profile-calendar-top strong {
  display: block;
  font:
    22px Georgia,
    serif;
  color: var(--green);
}
.profile-calendar-top small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 5px;
}
.profile-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}
.profile-calendar-dayname {
  text-align: center;
  padding: 7px 0;
  font-size: 10px;
  color: var(--muted);
  font-weight: 800;
}
.calendar-day {
  min-height: 52px;
  border-radius: 9px;
  border: 1px solid #e8e3d8;
  background: #f6f3ec;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
}
.calendar-day strong {
  font-size: 12px;
}
.calendar-day small {
  font-size: 8px;
}
.calendar-day.available {
  background: #e6eee3;
  border-color: #c6d9c1;
  color: #28533a;
}
.calendar-day.booked {
  background: #f5e8e3;
  border-color: #e7c6ba;
  color: #8b4539;
}
.calendar-day.unknown {
  background: #f6f3ec;
}
.calendar-day.empty {
  border: 0;
  background: transparent;
}
.profile-calendar-legend {
  display: flex;
  gap: 13px;
  flex-wrap: wrap;
  margin: 13px 0;
  font-size: 10px;
  color: var(--muted);
}
.calendar-dot {
  width: 8px;
  height: 8px;
  display: inline-block;
  border-radius: 50%;
  margin-right: 5px;
}
.calendar-dot.available {
  background: #80a67a;
}
.calendar-dot.booked {
  background: #c87b6b;
}
.calendar-dot.unknown {
  background: #c7c2b6;
}

/* Profile access gates: account conversion + PLAN preview unlock */
.profile-gate {
  position: relative;
  overflow: hidden;
  border: 1px solid #d9d3c4;
  border-radius: 16px;
  background: linear-gradient(135deg, #f7f4eb, #fffdf8);
  padding: 26px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin-top: 14px;
}
.profile-gate-icon {
  width: 52px;
  height: 52px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: #e5eadf;
  color: var(--green);
  font-size: 24px;
}
.profile-gate h3 {
  margin: 0 0 7px;
  font:
    24px Georgia,
    serif;
  color: var(--green);
}
.profile-gate p {
  margin: 0;
  color: #62685f;
  font-size: 12px;
  line-height: 1.7;
}
.profile-gate-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.profile-gate-label {
  display: inline-block;
  font-size: 9px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  font-weight: 800;
  color: #94763b;
  margin-bottom: 8px;
}
.profile-access-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  background: #101b15a8;
  backdrop-filter: blur(7px);
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.profile-access-backdrop.open {
  display: flex;
}
.profile-access-modal {
  width: min(520px, 100%);
  background: #fffdf8;
  border: 1px solid #e8e0d0;
  border-radius: 22px;
  padding: 28px;
  box-shadow: 0 28px 90px #0004;
}
.profile-access-modal h2 {
  font:
    34px Georgia,
    serif;
  color: var(--green);
  margin: 12px 0;
}
.profile-access-modal p {
  font-size: 13px;
  line-height: 1.75;
  color: #60665d;
}
.profile-access-modal input {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  margin: 9px 0 12px;
  background: #fff;
}
.profile-access-modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.profile-access-error {
  font-size: 11px;
  color: #a63d2f;
  min-height: 18px;
}
.profile-access-note {
  background: #f3efe5;
  border-radius: 10px;
  padding: 12px;
  font-size: 10px !important;
}
@media (max-width: 700px) {
  .profile-gate {
    grid-template-columns: auto minmax(0, 1fr);
    padding: 19px;
  }
  .profile-gate-actions {
    grid-column: 1/-1;
    justify-content: flex-start;
  }
  .profile-gate h3 {
    font-size: 21px;
  }
}

@media (max-width: 560px) {
  .seasonal-section .section-head {
    display: block;
    text-align: center;
  }
  .seasonal-card {
    min-height: 290px;
    padding: 24px;
  }
  .seasonal-card:after {
    letter-spacing: 0.5em;
    font-size: 11px;
  }
  .seasonal-section .section-head > button {
    margin-top: 12px;
  }
  .search-panel {
    grid-template-columns: 1fr;
  }
  .search-field {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 10px;
  }
  .quick-search {
    gap: 7px;
  }
  .quick-bubble {
    padding: 9px 11px;
  }
  .seasonal-grid,
  .route-vendor-grid,
  .profile-two-col,
  .review-form-grid {
    grid-template-columns: 1fr;
  }
  .seasonal-card:first-child {
    grid-column: auto;
  }
  .result-tools {
    grid-template-columns: 1fr;
  }
  .profile-cover {
    height: 240px;
  }
  .profile-section {
    padding: 17px;
  }
  .profile-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
  .profile-gallery img {
    height: 120px;
  }
  .profile-facts {
    grid-template-columns: 1fr 1fr;
  }
  .rank-row {
    grid-template-columns: 30px 65px minmax(0, 1fr);
    gap: 9px;
    padding: 11px;
  }
  .rank-row img {
    width: 65px;
    height: 68px;
  }
  .rank-row h3 {
    font-size: 17px;
  }
  .rank-trend {
    white-space: normal;
  }
  .route-top {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Homepage refinement: festive seasonal frame and centered leaderboard gateway */
.seasonal-section .section-head {
  justify-content: center;
  text-align: center;
  align-items: center;
  flex-direction: column;
  gap: 10px;
}
.seasonal-section .section-head > div {
  text-align: center;
}
.seasonal-section .section-head .textlink {
  align-self: center;
}
.seasonal-grid {
  max-width: 1160px;
  margin: 0 auto;
}
.seasonal-card {
  position: relative;
  border: 1px solid #c9a65d;
  box-shadow:
    inset 0 0 0 5px #183d3024,
    0 18px 40px #172f2415;
  background-position: center;
  background-size: cover;
  min-height: 310px;
}
.seasonal-card:before {
  content: "✦  ❧";
  position: absolute;
  top: 16px;
  left: 18px;
  color: #d8bd77;
  font-size: 30px;
  letter-spacing: 3px;
  text-shadow: 0 2px 10px #07180e88;
  pointer-events: none;
}
.seasonal-card:after {
  content: "❧  ✦";
  position: absolute;
  top: 16px;
  right: 18px;
  color: #d8bd77;
  font-size: 26px;
  letter-spacing: 3px;
  text-shadow: 0 2px 10px #07180e88;
  pointer-events: none;
}
.seasonal-card > span {
  position: relative;
  z-index: 1;
}
@media (max-width: 700px) {
  .seasonal-card {
    min-height: 280px;
  }
  .seasonal-card:before {
    font-size: 22px;
    top: 10px;
    left: 10px;
  }
  .seasonal-card:after {
    font-size: 22px;
    top: 10px;
    right: 10px;
  }
}

/* Revision: keep Hottest Vendors aligned to the page grid; action sits below the pyramid. */
.hot-section .shell {
  width: min(100% - 48px, 1200px);
  margin-inline: auto;
}
.hot-section .section-head {
  display: block;
  text-align: center;
  margin: 0 auto 28px;
  max-width: 760px;
}
.hot-section .section-head > div:first-child {
  width: 100%;
  text-align: center;
  margin: 0 auto;
}
.hot-section .section-head .btn {
  display: none;
}
.hot-grid {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  column-gap: 14px;
  row-gap: 14px;
}
.hot-card {
  min-width: 0;
}
.hot-cta-wrap {
  display: flex;
  justify-content: center;
  margin: 24px auto 0;
  width: 100%;
}
.hot-cta {
  min-width: 175px;
}
@media (max-width: 980px) {
  .hot-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}
@media (max-width: 700px) {
  .hot-section .shell {
    width: min(100% - 30px, 1200px);
  }
  .hot-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
  }
  .hot-card,
  .hot-card:nth-child(4),
  .hot-card:nth-child(5) {
    grid-column: 1;
  }
  .hot-cta-wrap {
    margin-top: 20px;
  }
}
/* Stronger full-bleed seasonal imagery with the approved warm, elegant event direction. */
.seasonal-card {
  background-blend-mode: normal;
  background-color: #183d30;
  background-size: cover;
  background-position: center;
  isolation: isolate;
}
.seasonal-card:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(
      90deg,
      rgba(12, 34, 25, 0.48),
      rgba(12, 34, 25, 0.18) 48%,
      rgba(12, 34, 25, 0.48)
    ),
    linear-gradient(0deg, rgba(12, 34, 25, 0.42), rgba(12, 34, 25, 0.04) 70%);
}
.seasonal-card:after {
  content: "❧  ✦  ❧";
  position: absolute;
  top: 14px;
  left: 16px;
  right: auto;
  z-index: 2;
  text-align: left;
  letter-spacing: 0.18em;
  color: #e8d19a;
  font-size: 28px;
  text-shadow: 0 2px 12px #07180e88;
  pointer-events: none;
}
.seasonal-card > span {
  z-index: 1;
}
@media (max-width: 700px) {
  .seasonal-card:after {
    font-size: 22px;
    top: 10px;
    left: 10px;
  }
}

/* Account onboarding + interactive Smart Matches / Event Studio */
.auth-back,
.onboard-back {
  position: fixed;
  inset: 0;
  background: #12251dcc;
  backdrop-filter: blur(8px);
  z-index: 90;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow: auto;
}
.auth-back.open,
.onboard-back.open {
  display: flex;
}
.auth-card,
.onboard-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 25px 90px #081a1270;
  width: min(100%, 560px);
  padding: 28px;
  position: relative;
  max-height: calc(100vh - 40px);
  overflow: auto;
}
.auth-card h2,
.onboard-card h2 {
  font-size: 34px;
  color: var(--green);
  margin: 8px 0;
}
.auth-card p,
.onboard-card p {
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
}
.auth-choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 20px 0;
}
.auth-choice {
  border: 1px solid var(--line);
  background: #fffdf8;
  border-radius: 15px;
  padding: 18px;
  text-align: left;
  color: var(--ink);
}
.auth-choice:hover,
.auth-choice.selected {
  border-color: var(--green);
  box-shadow: 0 0 0 2px #315f4620;
}
.auth-choice b {
  display: block;
  font:
    22px Georgia,
    serif;
  color: var(--green);
  margin: 8px 0;
}
.auth-choice span {
  font-size: 11px;
  line-height: 1.6;
  color: var(--muted);
}
.auth-fields,
.onboard-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 18px 0;
}
.auth-fields .full,
.onboard-fields .full {
  grid-column: 1/-1;
}
.auth-fields label,
.onboard-fields label {
  font-size: 10px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 800;
  display: block;
  margin-bottom: 6px;
}
.auth-fields input,
.onboard-fields input,
.onboard-fields select,
.onboard-fields textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
  padding: 12px;
  color: var(--ink);
  font-size: 12px;
}
.onboard-progress {
  height: 5px;
  background: #e9e4d8;
  border-radius: 9px;
  margin: 18px 0 22px;
  overflow: hidden;
}
.onboard-progress span {
  display: block;
  height: 100%;
  background: var(--green);
  transition: width 0.2s;
}
.onboard-steps {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 800;
}
.onboard-actions {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 22px;
}
.onboard-checks {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.onboard-checks label {
  display: flex;
  gap: 7px;
  align-items: center;
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 9px 12px;
  font-size: 11px;
  color: var(--ink);
  text-transform: none;
  letter-spacing: 0;
}
.onboard-checks input {
  width: auto;
}
.smart-page {
  background: #f7f5ef;
  min-height: 100vh;
  padding: 32px 0 64px;
}
.smart-head {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  margin-bottom: 26px;
}
.smart-head h1 {
  font-size: 42px;
  line-height: 1.02;
  color: var(--green);
  margin: 8px 0;
}
.smart-details {
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 18px;
  font-size: 12px;
  line-height: 1.9;
  color: #526053;
}
.smart-plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.smart-plan {
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  transition:
    transform 0.2s,
    border 0.2s;
  display: flex;
  flex-direction: column;
}
.smart-plan.selected {
  border: 2px solid var(--green);
  transform: translateY(-3px);
  box-shadow: 0 10px 28px #183d3014;
}
.smart-plan img {
  width: 100%;
  height: 145px;
  object-fit: cover;
}
.smart-plan-content {
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.smart-plan h3 {
  font-size: 23px;
  color: var(--green);
  margin: 0;
}
.smart-plan p {
  font-size: 11px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}
.smart-plan-price {
  font:
    20px Georgia,
    serif;
  color: var(--green);
}
.smart-tag {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #6f5b2c;
  background: #f2ead7;
  border-radius: 99px;
  padding: 6px 9px;
  align-self: flex-start;
}
.event-studio {
  display: grid;
  grid-template-columns: 205px minmax(0, 1fr) 285px;
  gap: 16px;
  margin-top: 26px;
  align-items: stretch;
}
.studio-sidebar {
  background: #163b2d;
  color: #fffdf8;
  border-radius: 16px;
  padding: 19px 12px;
}
.studio-sidebar h2 {
  font-size: 25px;
  margin: 8px 7px;
}
.studio-sidebar p {
  font-size: 11px;
  line-height: 1.6;
  color: #d5dfd5;
  margin: 0 7px 15px;
}
.studio-cat {
  display: flex;
  align-items: center;
  gap: 9px;
  text-align: left;
  background: transparent;
  color: #e4eae0;
  padding: 11px 10px;
  border-radius: 9px;
  width: 100%;
  font-size: 11px;
  margin: 3px 0;
}
.studio-cat:hover,
.studio-cat.active {
  background: #ffffff1c;
  color: #fff;
}
.studio-main {
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  min-width: 0;
}
.studio-main-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
}
.studio-main h2 {
  font-size: 27px;
  color: var(--green);
  margin: 0 0 6px;
}
.studio-main p {
  font-size: 11px;
  line-height: 1.6;
  color: var(--muted);
}
.studio-map {
  position: relative;
  min-height: 440px;
  border-radius: 15px;
  overflow: hidden;
  background: radial-gradient(
    ellipse at center,
    #fffdf8 0%,
    #f5f0e4 75%,
    #eee7d7 100%
  );
  margin-top: 12px;
}
.studio-map:before,
.studio-map:after {
  content: "";
  position: absolute;
  border: 1px solid #d6c59b88;
  border-radius: 50%;
  left: 50%;
  top: 48%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.studio-map:before {
  width: 68%;
  height: 65%;
}
.studio-map:after {
  width: 92%;
  height: 88%;
}
.studio-orbit {
  position: absolute;
  border: 1px dashed #d8c99e;
  left: 50%;
  top: 48%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  width: 80%;
  height: 74%;
  pointer-events: none;
}
.studio-center {
  position: absolute;
  left: 50%;
  top: 48%;
  transform: translate(-50%, -50%);
  width: 125px;
  height: 125px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: #174532;
  color: #fffdf8;
  border: 5px solid #e2c77e;
  box-shadow: 0 0 0 8px #e4d4aa55;
  z-index: 2;
  padding: 10px;
}
.studio-center strong {
  font:
    19px Georgia,
    serif;
}
.studio-center small {
  font-size: 9px;
  line-height: 1.5;
  margin-top: 5px;
}
.studio-node {
  position: absolute;
  z-index: 3;
  width: 112px;
  min-height: 91px;
  border-radius: 55px;
  background: #fffdf8;
  border: 1px solid #e3d7b8;
  box-shadow: 0 7px 20px #243b2412;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 8px;
  text-align: center;
  color: var(--green);
  transition:
    transform 0.2s,
    border 0.2s;
}
.studio-node:hover,
.studio-node.active {
  border: 2px solid #c4a65e;
  transform: scale(1.06);
}
.studio-node .node-icon {
  font-size: 20px;
}
.studio-node strong {
  font-size: 10px;
}
.studio-node small {
  font-size: 9px;
  color: var(--muted);
}
.studio-node:nth-of-type(1) {
  left: calc(50% - 56px);
  top: 7%;
}
.studio-node:nth-of-type(2) {
  left: calc(70% - 56px);
  top: 19%;
}
.studio-node:nth-of-type(3) {
  left: calc(75% - 56px);
  top: 53%;
}
.studio-node:nth-of-type(4) {
  left: calc(58% - 56px);
  top: 72%;
}
.studio-node:nth-of-type(5) {
  left: calc(28% - 56px);
  top: 72%;
}
.studio-node:nth-of-type(6) {
  left: calc(10% - 10px);
  top: 47%;
}
.studio-node:nth-of-type(7) {
  left: calc(22% - 56px);
  top: 19%;
}
.studio-vendor-panel {
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 15px;
  min-width: 0;
}
.studio-vendor-panel h3 {
  font:
    23px Georgia,
    serif;
  color: var(--green);
  margin: 8px 0;
}
.studio-vendor-panel p {
  font-size: 11px;
  line-height: 1.6;
  color: var(--muted);
}
.studio-vendor {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 8px;
  margin: 9px 0;
  background: white;
}
.studio-vendor img {
  width: 62px;
  height: 55px;
  object-fit: cover;
  border-radius: 7px;
}
.studio-vendor strong {
  display: block;
  font-size: 11px;
  color: var(--green);
}
.studio-vendor small {
  display: block;
  font-size: 9px;
  color: var(--muted);
  margin: 4px 0;
}
.studio-vendor button {
  font-size: 9px;
  padding: 6px 8px;
}
.studio-budget {
  background: #f3efe5;
  border-radius: 12px;
  padding: 13px;
  margin: 12px 0;
}
.studio-budget strong {
  font:
    23px Georgia,
    serif;
  color: var(--green);
}
.studio-budget small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 4px;
}
.studio-bottom {
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 13px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: space-between;
  margin-top: 14px;
}
.studio-bottom p {
  font-size: 10px;
  color: var(--muted);
  margin: 0;
}
.studio-view-toggle {
  display: flex;
  gap: 6px;
}
.studio-view-toggle button {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 99px;
  padding: 8px 10px;
  font-size: 10px;
  color: var(--green);
}
.studio-view-toggle button.active {
  background: var(--green);
  color: white;
}
.studio-list-mode .studio-map {
  display: none;
}
.studio-list-categories {
  display: none;
}
.studio-list-mode .studio-list-categories {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 15px;
}
.studio-list-categories button {
  padding: 12px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  text-align: left;
  color: var(--green);
  font-size: 11px;
}
.smart-back {
  margin-bottom: 16px;
}
.account-chip {
  font-size: 10px;
  color: var(--green);
  background: #e8eee5;
  border-radius: 99px;
  padding: 6px 9px;
}
@media (max-width: 1050px) {
  .event-studio {
    grid-template-columns: 180px minmax(0, 1fr);
  }
  .studio-vendor-panel {
    grid-column: 2;
  }
  .smart-head {
    grid-template-columns: 1fr;
  }
  .smart-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  .smart-plans {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Smart Matches v9: tree-based interactive event ecosystem, embedded in the workspace */
.smart-page {
  background: transparent;
  min-height: 0;
  padding: 0;
  color: var(--ink);
}
.smart-page .shell {
  width: 100%;
  max-width: none;
  margin: 0;
}
.smart-head {
  grid-template-columns: minmax(0, 1fr) minmax(250px, 0.72fr);
  gap: 22px;
  margin-bottom: 22px;
}
.smart-head h1 {
  font-size: clamp(31px, 3vw, 43px);
  line-height: 1.04;
}
.smart-head p {
  max-width: 560px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
}
.smart-details {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  font-size: 11px;
  line-height: 1.55;
}
.smart-plans {
  gap: 12px;
}
.smart-plan img {
  height: 118px;
}
.smart-plan-content {
  padding: 13px;
}
.smart-plan h3 {
  font-size: 21px;
}
.event-studio {
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 16px;
  margin-top: 22px;
  align-items: start;
}
.studio-sidebar {
  display: none;
}
.studio-main {
  min-width: 0;
}
.studio-main-head {
  align-items: center;
}
.tree-stage {
  position: relative;
  min-height: 530px;
  margin-top: 12px;
  overflow: hidden;
  border: 1px solid #e7dfcf;
  border-radius: 18px;
  background: linear-gradient(180deg, #fbfaf5 0%, #f4f0e5 100%);
  isolation: isolate;
}
.tree-stage:before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 110px;
  background: linear-gradient(0deg, #e5e1d2a8, transparent);
  z-index: -1;
}
.tree-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
.tree-art .trunk {
  fill: none;
  stroke: #6e7e5b;
  stroke-width: 19;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.tree-art .branch {
  fill: none;
  stroke: #87936c;
  stroke-width: 9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.tree-art .twig {
  fill: none;
  stroke: #a4ae83;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.tree-art .leaf-cluster {
  fill: #a9b99b;
  opacity: 0.66;
}
.tree-art .leaf-gold {
  fill: #d9c48d;
  opacity: 0.82;
}
.tree-root {
  position: absolute;
  left: 50%;
  bottom: 25px;
  transform: translateX(-50%);
  z-index: 3;
  width: min(220px, 42%);
  text-align: center;
  padding: 14px 18px;
  border-radius: 15px;
  background: #183d30;
  color: #fffdf8;
  border: 1px solid #c9ad6b;
  box-shadow: 0 10px 26px #183d3020;
}
.tree-root strong {
  display: block;
  font:
    22px Georgia,
    serif;
}
.tree-root small {
  display: block;
  margin-top: 5px;
  font-size: 9px;
  line-height: 1.45;
  color: #e1e6d9;
}
.tree-category {
  position: absolute;
  z-index: 4;
  width: 140px;
  min-height: 68px;
  padding: 10px 11px;
  border-radius: 14px;
  border: 1px solid #d9d6c7;
  background: #fffdf8;
  color: var(--green);
  text-align: left;
  box-shadow: 0 8px 20px #1a35200c;
  display: flex;
  gap: 9px;
  align-items: center;
  transition:
    transform 0.18s,
    border-color 0.18s,
    box-shadow 0.18s;
}
.tree-category:hover {
  transform: translateY(-3px);
  border-color: #bca66e;
  box-shadow: 0 12px 24px #1a352018;
}
.tree-category.active {
  border: 2px solid #b99b53;
  background: #fffdf4;
  box-shadow:
    0 0 0 4px #d8c38a30,
    0 12px 25px #1a352018;
}
.tree-category .tree-icon {
  display: grid;
  place-items: center;
  flex: 0 0 31px;
  height: 31px;
  border-radius: 10px;
  background: #eaf0e5;
  font-size: 16px;
}
.tree-category strong {
  display: block;
  font-size: 10px;
  line-height: 1.3;
}
.tree-category small {
  display: block;
  color: #838779;
  font-size: 9px;
  margin-top: 4px;
}
.tree-category.selected:after {
  content: "✓";
  position: absolute;
  right: 8px;
  top: 6px;
  color: #3c7850;
  font-size: 11px;
  font-weight: 900;
}
.tree-category[data-cat="Venues"] {
  left: calc(50% - 70px);
  top: 7%;
}
.tree-category[data-cat="Catering"] {
  right: 7%;
  top: 22%;
}
.tree-category[data-cat="Photography"] {
  right: 5%;
  top: 53%;
}
.tree-category[data-cat="Decor & Florals"] {
  right: 21%;
  top: 72%;
}
.tree-category[data-cat="Music & DJs"] {
  left: 21%;
  top: 72%;
}
.tree-category[data-cat="Videography"] {
  left: 5%;
  top: 51%;
}
.tree-category[data-cat="Event Planning"] {
  left: 7%;
  top: 22%;
}
.tree-hint {
  position: absolute;
  top: 12px;
  left: 15px;
  z-index: 2;
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #7b816f;
  font-weight: 800;
}
.studio-list-mode .tree-stage {
  display: none;
}
.studio-list-categories {
  display: none;
}
.studio-list-mode .studio-list-categories {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 15px;
}
.studio-list-categories button {
  padding: 12px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  text-align: left;
  color: var(--green);
  font-size: 11px;
}
.studio-bottom {
  flex-wrap: wrap;
}
.smart-page .smart-back {
  display: none;
}
@media (max-width: 1000px) {
  .event-studio {
    grid-template-columns: 1fr;
  }
  .studio-vendor-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .studio-vendor-panel > .eyebrow,
  .studio-vendor-panel > h3,
  .studio-vendor-panel > p,
  #studio-vendor-results {
    grid-column: 1/-1;
  }
  .studio-budget {
    margin: 0;
  }
  .tree-stage {
    min-height: 490px;
  }
}
@media (max-width: 700px) {
  .smart-head {
    grid-template-columns: 1fr;
  }
  .smart-plans {
    grid-template-columns: 1fr;
  }
  .smart-plan {
    display: grid;
    grid-template-columns: 115px minmax(0, 1fr);
  }
  .smart-plan img {
    height: 100%;
    min-height: 165px;
  }
  .event-studio {
    grid-template-columns: 1fr;
  }
  .studio-vendor-panel {
    display: block;
  }
  .tree-stage {
    min-height: 600px;
  }
  .tree-category {
    width: 124px;
    min-height: 62px;
    padding: 8px;
  }
  .tree-category[data-cat="Venues"] {
    left: calc(50% - 62px);
    top: 6%;
  }
  .tree-category[data-cat="Catering"] {
    right: 3%;
    top: 22%;
  }
  .tree-category[data-cat="Photography"] {
    right: 2%;
    top: 47%;
  }
  .tree-category[data-cat="Decor & Florals"] {
    right: 10%;
    top: 69%;
  }
  .tree-category[data-cat="Music & DJs"] {
    left: 10%;
    top: 69%;
  }
  .tree-category[data-cat="Videography"] {
    left: 2%;
    top: 47%;
  }
  .tree-category[data-cat="Event Planning"] {
    left: 3%;
    top: 22%;
  }
  .tree-root {
    bottom: 15px;
    width: 185px;
  }
  .tree-art .trunk {
    stroke-width: 14;
  }
  .tree-art .branch {
    stroke-width: 7;
  }
  .studio-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 700px) {
  .smart-plans {
    grid-template-columns: 1fr;
  }
  .smart-plan {
    display: grid;
    grid-template-columns: 115px minmax(0, 1fr);
  }
  .smart-plan img {
    height: 100%;
    min-height: 180px;
  }
  .event-studio {
    grid-template-columns: 1fr;
  }
  .studio-sidebar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
  }
  .studio-sidebar h2,
  .studio-sidebar p {
    grid-column: 1/-1;
  }
  .studio-vendor-panel {
    grid-column: auto;
  }
  .studio-map {
    min-height: 400px;
  }
  .studio-node {
    width: 90px;
    min-height: 76px;
  }
  .studio-node:nth-of-type(1) {
    left: calc(50% - 45px);
  }
  .studio-node:nth-of-type(2) {
    left: calc(73% - 45px);
  }
  .studio-node:nth-of-type(3) {
    left: calc(75% - 45px);
  }
  .studio-node:nth-of-type(4) {
    left: calc(59% - 45px);
  }
  .studio-node:nth-of-type(5) {
    left: calc(26% - 45px);
  }
  .studio-node:nth-of-type(6) {
    left: calc(8% - 5px);
  }
  .studio-node:nth-of-type(7) {
    left: calc(22% - 45px);
  }
  .studio-center {
    width: 100px;
    height: 100px;
  }
  .auth-fields,
  .onboard-fields {
    grid-template-columns: 1fr;
  }
  .auth-fields .full,
  .onboard-fields .full {
    grid-column: auto;
  }
  .auth-choice-grid {
    grid-template-columns: 1fr;
  }
  .smart-details {
    grid-template-columns: 1fr;
  }
  .studio-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Smart Matches v10 — intricate connected event ecosystem, not a tree/flowchart */
.tree-stage {
  min-height: 570px;
  background: radial-gradient(
    ellipse at 50% 48%,
    #fffdf8 0%,
    #f7f3e9 52%,
    #eee8d9 100%
  );
  border-color: #e6ddca;
  box-shadow: inset 0 0 60px #d8c79a16;
}
.tree-stage:before {
  height: 100%;
  background: radial-gradient(
    ellipse at 50% 48%,
    transparent 45%,
    #d9c9a21c 100%
  );
  z-index: 0;
  pointer-events: none;
}
.tree-art {
  z-index: 1;
  overflow: visible;
}
.tree-art .trunk,
.tree-art .branch,
.tree-art .twig {
  display: none;
}
.ecosystem-art .network-rings {
  fill: none;
  stroke: #d8c79f;
  stroke-width: 1;
  stroke-dasharray: 2 7;
  opacity: 0.78;
}
.ecosystem-art .network-lines {
  fill: none;
  stroke: url(#fineGold);
  stroke-width: 1.15;
  opacity: 0.76;
}
.ecosystem-art .botanical-detail {
  stroke: #9eae94;
  stroke-width: 1.4;
  opacity: 0.62;
}
.ecosystem-art .network-dots {
  fill: #c5a45c;
  stroke: #fffdf8;
  stroke-width: 2;
}
.tree-root {
  left: 50%;
  top: 50%;
  bottom: auto;
  transform: translate(-50%, -50%);
  width: 166px;
  min-height: 166px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 19px 16px;
  background: radial-gradient(circle at 35% 25%, #285b44, #123728 72%);
  border: 5px solid #e2cf9c;
  box-shadow:
    0 0 0 8px #d9c58c30,
    0 14px 35px #173b2a2c;
  z-index: 3;
}
.tree-root:before {
  content: "✧";
  font-size: 20px;
  color: #e0ca8d;
  margin-bottom: 3px;
}
.tree-root strong {
  font-size: 21px;
  line-height: 1.05;
  text-align: center;
}
.tree-root small {
  text-align: center;
  font-size: 9px;
  max-width: 125px;
}
.tree-category {
  width: 142px;
  min-height: 75px;
  border-radius: 17px;
  padding: 10px 11px;
  background: #fffefaeb;
  border-color: #e2d7bd;
  box-shadow:
    0 9px 25px #223c2910,
    0 1px 2px #a98c4b14;
  backdrop-filter: blur(5px);
}
.tree-category .tree-icon {
  flex-basis: 35px;
  height: 35px;
  border-radius: 50%;
  background: linear-gradient(145deg, #f1f3eb, #e3e9dc);
  color: #284d3b;
  border: 1px solid #dbe2d4;
}
.tree-category strong {
  font-size: 10px;
}
.tree-category small {
  font-size: 9px;
}
.tree-category.active {
  border: 1px solid #b99b53;
  background: #fffdf5;
  box-shadow:
    0 0 0 4px #d8c38a26,
    0 12px 28px #1a35201a;
}
.tree-category[data-cat="Venues"] {
  left: calc(50% - 71px);
  top: 7%;
}
.tree-category[data-cat="Catering"] {
  left: calc(74% - 71px);
  right: auto;
  top: 23%;
}
.tree-category[data-cat="Photography"] {
  left: calc(76% - 71px);
  right: auto;
  top: 53%;
}
.tree-category[data-cat="Decor & Florals"] {
  left: calc(62% - 71px);
  right: auto;
  top: 77%;
}
.tree-category[data-cat="Music & DJs"] {
  left: calc(25% - 71px);
  top: 77%;
}
.tree-category[data-cat="Videography"] {
  left: calc(8% - 0px);
  right: auto;
  top: 53%;
}
.tree-category[data-cat="Event Planning"] {
  left: calc(25% - 71px);
  top: 23%;
}
.tree-hint {
  background: #fffdf4c9;
  border: 1px solid #e6dcc6;
  border-radius: 99px;
  padding: 7px 11px;
  top: 13px;
  left: 14px;
  letter-spacing: 0.12em;
  backdrop-filter: blur(6px);
}
@media (max-width: 700px) {
  .tree-stage {
    min-height: 590px;
  }
  .tree-root {
    width: 112px;
    min-height: 112px;
    padding: 10px;
    border-width: 4px;
  }
  .tree-root strong {
    font-size: 16px;
  }
  .tree-root small {
    font-size: 8px;
  }
  .tree-root:before {
    font-size: 14px;
  }
  .tree-category {
    width: 112px;
    min-height: 64px;
    padding: 7px;
    border-radius: 13px;
    gap: 6px;
  }
  .tree-category .tree-icon {
    flex-basis: 27px;
    height: 27px;
    font-size: 13px;
  }
  .tree-category strong {
    font-size: 9px;
  }
  .tree-category small {
    font-size: 8px;
  }
  .tree-category[data-cat="Venues"] {
    left: calc(50% - 56px);
    top: 8%;
  }
  .tree-category[data-cat="Catering"] {
    left: auto;
    right: 2%;
    top: 24%;
  }
  .tree-category[data-cat="Photography"] {
    left: auto;
    right: 1%;
    top: 54%;
  }
  .tree-category[data-cat="Decor & Florals"] {
    left: auto;
    right: 12%;
    top: 79%;
  }
  .tree-category[data-cat="Music & DJs"] {
    left: 12%;
    top: 79%;
  }
  .tree-category[data-cat="Videography"] {
    left: 1%;
    top: 54%;
  }
  .tree-category[data-cat="Event Planning"] {
    left: 2%;
    top: 24%;
  }
  .ecosystem-art .network-lines {
    opacity: 0.55;
  }
  .tree-hint {
    font-size: 8px;
  }
}

/* v11 — original illustrated tree, no stock tree image */
.authentic-tree-art {
  z-index: 1;
  overflow: visible;
}
.tree-category {
  z-index: 4;
}
.tree-root {
  z-index: 5;
}
.authentic-tree-art .network-rings,
.authentic-tree-art .network-lines,
.authentic-tree-art .botanical-detail,
.authentic-tree-art .network-dots {
  display: none;
}
.tree-stage {
  background: radial-gradient(
    ellipse at 50% 40%,
    #fffdf8 0%,
    #f6f2e8 62%,
    #e9e4d5 100%
  );
}
.tree-stage:after {
  content: "ORIGINAL PLAN.IT EVENT ECOSYSTEM ILLUSTRATION";
  position: absolute;
  right: 14px;
  bottom: 10px;
  font-size: 7px;
  letter-spacing: 0.13em;
  color: #8d917f;
  z-index: 2;
  opacity: 0.8;
}
.budget-builder {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(250px, 0.85fr);
  gap: 17px;
  align-items: start;
}
.budget-hero {
  background: linear-gradient(135deg, #173d30, #2b5b43);
  color: #fffdf8;
  border-radius: 17px;
  padding: 23px;
  margin-bottom: 16px;
}
.budget-hero .eyebrow {
  color: #d9c48d;
}
.budget-hero h2 {
  font:
    28px Georgia,
    serif;
  margin: 8px 0;
}
.budget-hero p {
  font-size: 11px;
  line-height: 1.6;
  color: #e3e9df;
  margin: 0;
}
.budget-total-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-top: 20px;
}
.budget-total-row strong {
  font:
    34px Georgia,
    serif;
}
.budget-total-row label {
  font-size: 10px;
  color: #e3e9df;
  display: block;
  margin-bottom: 5px;
}
.budget-total-row input {
  width: 150px;
  border: 1px solid #ffffff55;
  border-radius: 9px;
  padding: 9px;
  background: #ffffff14;
  color: white;
  font-weight: 800;
}
.category-budget-list {
  display: grid;
  gap: 15px;
}
.category-budget {
  padding: 13px 0;
  border-bottom: 1px solid #efede5;
}
.category-budget:last-child {
  border: 0;
}
.category-budget-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  font-size: 11px;
  color: var(--green);
  font-weight: 750;
}
.category-budget-head output {
  font-weight: 800;
}
.category-budget input[type="range"] {
  width: 100%;
  accent-color: #28563f;
  margin: 11px 0 3px;
}
.category-budget small {
  display: flex;
  justify-content: space-between;
  color: #929487;
  font-size: 9px;
}
.budget-summary-card {
  background: #f3f1e8;
  border-radius: 14px;
  padding: 16px;
  margin-top: 15px;
}
.budget-summary-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 11px;
  padding: 9px 0;
  border-bottom: 1px solid #dfdfd2;
}
.budget-summary-line:last-child {
  border: 0;
}
.budget-summary-line strong {
  color: var(--green);
}
.budget-visual-bar {
  height: 12px;
  border-radius: 99px;
  background: #e0dfd4;
  display: flex;
  overflow: hidden;
  margin: 14px 0 8px;
}
.budget-visual-bar span {
  height: 100%;
  display: block;
}
.timeline {
  position: relative;
  display: grid;
  gap: 0;
  margin-top: 8px;
}
.timeline:before {
  content: "";
  position: absolute;
  left: 17px;
  top: 20px;
  bottom: 20px;
  width: 1px;
  background: #d7d8c8;
}
.timeline-item {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  position: relative;
  padding: 13px 0;
}
.timeline-check {
  position: relative;
  z-index: 1;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #f1eee3;
  border: 1px solid #d8d8c8;
  color: var(--green);
}
.timeline-item.done .timeline-check {
  background: #28563f;
  color: white;
  border-color: #28563f;
}
.timeline-copy strong {
  display: block;
  color: var(--green);
  font-size: 12px;
}
.timeline-copy p {
  font-size: 10px;
  line-height: 1.5;
  color: var(--muted);
  margin: 4px 0;
}
.timeline-copy small {
  font-size: 9px;
  color: #9a9a8c;
}
.timeline-date {
  font-size: 9px;
  color: #777d70;
  background: #f4f1e7;
  padding: 6px 8px;
  border-radius: 8px;
  white-space: nowrap;
}
.timeline-add {
  display: grid;
  grid-template-columns: 1fr 140px auto;
  gap: 8px;
  margin-top: 14px;
}
.timeline-add input,
.timeline-add select {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 10px;
  background: #fffdf8;
  color: var(--ink);
  font-size: 11px;
}
@media (max-width: 850px) {
  .budget-builder {
    grid-template-columns: 1fr;
  }
  .timeline-add {
    grid-template-columns: 1fr;
  }
  .budget-total-row {
    align-items: start;
    flex-direction: column;
  }
  .budget-total-row input {
    width: 100%;
  }
}

/* Plan.it Roadmap + Calendar refresh */
.roadmap-hero {
  background: linear-gradient(120deg, #173e30, #244f3a);
  color: #fffdf8;
  border-radius: 20px;
  padding: 28px;
  margin-bottom: 18px;
  position: relative;
  overflow: hidden;
}
.roadmap-hero:after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  border: 1px solid #ffffff20;
  border-radius: 50%;
  right: -65px;
  top: -120px;
  box-shadow:
    0 0 0 28px #ffffff08,
    0 0 0 58px #ffffff06;
}
.roadmap-hero .eyebrow {
  color: #d7bd7f;
}
.roadmap-hero h2 {
  font:
    clamp(27px, 3vw, 38px) Georgia,
    serif;
  max-width: 620px;
  margin: 8px 0;
}
.roadmap-hero p {
  color: #dce5da;
  font-size: 12px;
  line-height: 1.7;
  max-width: 620px;
}
.roadmap-summary {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 22px;
}
.roadmap-summary span {
  font-size: 10px;
  color: #e1e7dc;
}
.roadmap-summary strong {
  display: block;
  font:
    24px Georgia,
    serif;
  color: #fff;
  margin-bottom: 3px;
}
.roadmap-track {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
  position: relative;
  margin: 10px 0 24px;
}
.roadmap-track:before {
  content: "";
  height: 2px;
  background: #dcd9cb;
  position: absolute;
  left: 7%;
  right: 7%;
  top: 19px;
}
.roadmap-stop {
  position: relative;
  text-align: center;
  padding: 0 7px;
  z-index: 1;
}
.roadmap-dot {
  width: 39px;
  height: 39px;
  margin: 0 auto 12px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid #d9d8cb;
  background: #fffdf8;
  color: #8b8e80;
  font-size: 13px;
}
.roadmap-stop.done .roadmap-dot {
  background: #244f3a;
  border-color: #244f3a;
  color: white;
}
.roadmap-stop.current .roadmap-dot {
  border: 2px solid #bca264;
  color: #244f3a;
  box-shadow: 0 0 0 5px #bca26422;
}
.roadmap-stop strong {
  display: block;
  font-size: 10px;
  line-height: 1.4;
  color: var(--green);
}
.roadmap-stop small {
  display: block;
  font-size: 9px;
  color: var(--muted);
  margin-top: 5px;
}
.roadmap-task {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: start;
  gap: 13px;
  padding: 17px 0;
  border-bottom: 1px solid #eeece3;
}
.roadmap-task:last-child {
  border-bottom: 0;
}
.roadmap-task-check {
  width: 30px;
  height: 30px;
  border: 1px solid #d9d8cb;
  border-radius: 50%;
  background: #fffdf8;
  color: #315941;
  display: grid;
  place-items: center;
}
.roadmap-task.done .roadmap-task-check {
  background: #244f3a;
  color: white;
  border-color: #244f3a;
}
.roadmap-task.done .roadmap-task-main strong {
  text-decoration: line-through;
  color: #999c90;
}
.roadmap-task-main strong {
  display: block;
  font-size: 12px;
  color: #2e4838;
}
.roadmap-task-main p {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.6;
  margin: 5px 0;
}
.roadmap-task-main small {
  font-size: 9px;
  color: #8b8d82;
}
.roadmap-task-date {
  font-size: 9px;
  color: #6b725f;
  background: #f2f0e7;
  padding: 7px 9px;
  border-radius: 8px;
  white-space: nowrap;
}
.roadmap-add {
  display: grid;
  grid-template-columns: 1.3fr 1fr auto;
  gap: 9px;
  margin-top: 18px;
}
.roadmap-add input,
.calendar-create input,
.calendar-create select {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 11px;
  background: #fffdf8;
  color: #39483c;
  font-size: 11px;
}
.calendar-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.calendar-controls,
.calendar-nav {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}
.calendar-month {
  font:
    25px Georgia,
    serif;
  color: var(--green);
  min-width: 165px;
}
.calendar-view-btn {
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 9px 12px;
  background: #fffdf8;
  color: #657064;
  font-size: 10px;
  font-weight: 750;
}
.calendar-view-btn.active {
  background: #244f3a;
  color: white;
  border-color: #244f3a;
}
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  border-left: 1px solid var(--line);
  border-top: 1px solid var(--line);
  background: #fffdf8;
  border-radius: 12px;
  overflow: hidden;
}
.calendar-weekday {
  padding: 12px 5px;
  text-align: center;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #858a7d;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.calendar-day {
  min-height: 105px;
  padding: 8px 7px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fffdf8;
  min-width: 0;
}
.calendar-day.outside {
  background: #f8f6f0;
  color: #b9bbae;
}
.calendar-day.today .day-number {
  background: #244f3a;
  color: white;
}
.day-number {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  font-size: 10px;
  margin-bottom: 5px;
  color: #3d5142;
}
.calendar-event-chip {
  display: block;
  width: 100%;
  text-align: left;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 9px;
  border-radius: 5px;
  padding: 5px 5px;
  margin: 4px 0;
  background: #e7eee6;
  color: #28543b;
}
.calendar-event-chip.personal {
  background: #f3e9d3;
  color: #775b26;
}
.calendar-event-chip.taskdone {
  text-decoration: line-through;
  opacity: 0.65;
}
.calendar-legend {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 10px;
  color: var(--muted);
  margin-top: 12px;
}
.calendar-legend i {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 3px;
  margin-right: 5px;
}
.calendar-create {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr auto;
  gap: 9px;
}
.calendar-agenda-row {
  display: grid;
  grid-template-columns: 85px minmax(0, 1fr) auto;
  gap: 13px;
  padding: 15px 0;
  border-bottom: 1px solid #eeece3;
  align-items: start;
}
.calendar-agenda-date {
  font-size: 10px;
  color: #6b725f;
}
.calendar-agenda-row strong {
  font-size: 12px;
  color: var(--green);
}
.calendar-agenda-row small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  margin-top: 4px;
}
.calendar-empty {
  padding: 24px;
  text-align: center;
  color: var(--muted);
  font-size: 11px;
}
.calendar-connect {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  background: #f5f2e8;
  border-radius: 12px;
  padding: 15px;
  margin-top: 16px;
}
.calendar-connect strong {
  display: block;
  font-size: 11px;
  color: var(--green);
  margin-bottom: 4px;
}
.calendar-connect p {
  font-size: 10px;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}
.calendar-create-wrap {
  margin-top: 16px;
}
.calendar-create-wrap h3 {
  font:
    20px Georgia,
    serif;
  color: var(--green);
  margin: 0 0 12px;
}
.calendar-source-tag {
  font-size: 9px;
  padding: 5px 7px;
  border-radius: 7px;
  background: #e7eee6;
  color: #2d6040;
  white-space: nowrap;
}
.calendar-source-tag.personal {
  background: #f3e9d3;
  color: #775b26;
}
@media (max-width: 760px) {
  .roadmap-track {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 20px;
  }
  .roadmap-track:before {
    display: none;
  }
  .roadmap-add,
  .calendar-create {
    grid-template-columns: 1fr;
  }
  .calendar-day {
    min-height: 76px;
    padding: 5px 3px;
  }
  .calendar-event-chip {
    font-size: 8px;
    padding: 4px 3px;
  }
  .calendar-weekday {
    font-size: 8px;
  }
  .calendar-toolbar {
    align-items: flex-start;
  }
  .roadmap-task {
    grid-template-columns: 30px minmax(0, 1fr);
  }
  .roadmap-task-date {
    grid-column: 2;
    justify-self: start;
  }
  .calendar-agenda-row {
    grid-template-columns: 65px minmax(0, 1fr);
  }
}

/* Vendor team workspace */
.team-hero {
  background: linear-gradient(125deg, #183d30, #285744);
  color: #fffdf8;
  border-radius: 20px;
  padding: 27px 30px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.team-hero h2 {
  font:
    32px Georgia,
    serif;
  margin: 8px 0;
}
.team-hero p {
  color: #d8e2d7;
  font-size: 12px;
  line-height: 1.7;
  max-width: 620px;
  margin: 0;
}
.team-hero .eyebrow {
  color: #e5d2a0;
}
.team-hero .btn {
  background: #e5d2a0;
  color: #183d30;
  white-space: nowrap;
}
.team-tabs {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin: 0 0 18px;
}
.team-tab {
  border: 1px solid var(--line);
  border-radius: 99px;
  background: #fffdf8;
  color: #697064;
  padding: 10px 14px;
  font-size: 11px;
  font-weight: 750;
}
.team-tab.active {
  background: var(--green);
  border-color: var(--green);
  color: #fffdf8;
}
.team-member-row {
  display: grid;
  grid-template-columns: minmax(150px, 1.2fr) minmax(100px, 0.8fr) minmax(
      100px,
      0.8fr
    ) auto;
  align-items: center;
  gap: 12px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.team-person {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.team-avatar {
  width: 39px;
  height: 39px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #e7eee6;
  color: var(--green);
  font-weight: 800;
  font-size: 11px;
  flex-shrink: 0;
}
.team-person strong,
.team-person small {
  display: block;
}
.team-person strong {
  font-size: 12px;
}
.team-person small {
  font-size: 10px;
  color: var(--muted);
  margin-top: 4px;
}
.team-badge {
  display: inline-block;
  background: #e7eee6;
  color: #285744;
  padding: 6px 8px;
  border-radius: 99px;
  font-size: 9px;
  font-weight: 800;
}
.team-badge.pending {
  background: #f4eddd;
  color: #8b6b2d;
}
.team-perm-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.team-perm {
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  font-size: 11px;
}
.team-perm input {
  accent-color: var(--green);
}
.team-task {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.team-task input {
  accent-color: var(--green);
  margin-top: 3px;
}
.team-task-copy {
  flex: 1;
}
.team-task-copy strong {
  font-size: 12px;
  display: block;
}
.team-task-copy small {
  font-size: 10px;
  color: var(--muted);
  display: block;
  margin-top: 5px;
}
.team-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.team-form label {
  font-size: 10px;
  color: var(--muted);
  font-weight: 800;
  display: block;
  margin-bottom: 6px;
}
.team-form input,
.team-form select,
.team-form textarea {
  width: 100%;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fffdf8;
  color: var(--ink);
  font-size: 12px;
}
.team-form .full {
  grid-column: 1/-1;
}
.team-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 5px;
}
.team-calendar-day {
  min-height: 82px;
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 7px;
  font-size: 10px;
}
.team-calendar-day small {
  display: block;
  margin-top: 6px;
  border-radius: 5px;
  padding: 4px;
  background: #e7eee6;
  color: #285744;
  line-height: 1.3;
}
.team-calendar-day .booking {
  background: #f4eddd;
  color: #7b622d;
}
.team-muted {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.6;
}
.team-message {
  padding: 12px;
  border-radius: 12px;
  background: #f2f4ee;
  margin: 8px 0;
  font-size: 12px;
  line-height: 1.6;
}
.team-message.reply {
  background: #e7eee6;
  margin-left: 30px;
}
.team-status {
  font-size: 10px;
  font-weight: 800;
  color: #285744;
}
.team-empty {
  padding: 24px;
  border: 1px dashed #d7d8ca;
  border-radius: 12px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}
@media (max-width: 700px) {
  .team-hero {
    align-items: flex-start;
    flex-direction: column;
    padding: 22px;
  }
  .team-hero h2 {
    font-size: 27px;
  }
  .team-member-row {
    grid-template-columns: 1fr auto;
    gap: 8px;
  }
  .team-member-row .team-secondary {
    grid-column: 1/-1;
    padding-left: 49px;
  }
  .team-perm-list,
  .team-form {
    grid-template-columns: 1fr;
  }
  .team-form .full {
    grid-column: auto;
  }
  .team-calendar-day {
    min-height: 62px;
    padding: 4px;
    font-size: 9px;
  }
  .team-calendar-day small {
    font-size: 8px;
    padding: 3px;
  }
}

/* v14: centered, usable team permission modal */
#team-modal.modal-backdrop {
  position: fixed !important;
  inset: 0 !important;
  z-index: 1000 !important;
  display: none !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 24px !important;
  background: rgba(13, 30, 23, 0.58) !important;
  backdrop-filter: blur(3px) !important;
  overflow-y: auto !important;
}
#team-modal.modal-backdrop.open {
  display: flex !important;
}
#team-modal .modal {
  position: relative !important;
  width: min(620px, calc(100vw - 32px)) !important;
  max-width: 620px !important;
  max-height: calc(100vh - 48px) !important;
  overflow-y: auto !important;
  margin: auto !important;
  padding: 30px !important;
  border: 1px solid #e7e2d5 !important;
  border-radius: 20px !important;
  background: #fffdf8 !important;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.25) !important;
}
#team-modal .modal-close {
  position: absolute !important;
  right: 17px !important;
  top: 14px !important;
  width: 36px !important;
  height: 36px !important;
  display: grid !important;
  place-items: center !important;
  border: 1px solid var(--line) !important;
  border-radius: 50% !important;
  background: #f5f3eb !important;
  color: var(--green) !important;
  font-size: 23px !important;
  cursor: pointer !important;
}
#team-modal .team-perm-list {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px !important;
  margin-top: 16px !important;
}
#team-modal .team-perm {
  display: flex !important;
  align-items: center !important;
  gap: 11px !important;
  min-height: 54px !important;
  border: 1px solid var(--line) !important;
  border-radius: 12px !important;
  padding: 13px !important;
  background: #fff !important;
  color: #37443a !important;
  cursor: pointer !important;
  transition:
    background 0.15s,
    border-color 0.15s !important;
}
#team-modal .team-perm:has(input:checked) {
  background: #edf3eb !important;
  border-color: #9eb6a1 !important;
}
#team-modal .team-perm input {
  width: 17px !important;
  height: 17px !important;
  accent-color: var(--green) !important;
  flex-shrink: 0 !important;
  cursor: pointer !important;
}
#team-modal .team-perm input:disabled {
  cursor: not-allowed !important;
  opacity: 0.65 !important;
}
#team-modal .team-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 22px;
  padding-top: 17px;
  border-top: 1px solid var(--line);
}
@media (max-width: 600px) {
  #team-modal.modal-backdrop {
    padding: 12px !important;
  }
  #team-modal .modal {
    width: 100% !important;
    max-height: calc(100vh - 24px) !important;
    padding: 24px 18px !important;
  }
  #team-modal .team-perm-list {
    grid-template-columns: 1fr !important;
  }
}
