:root {
  --oyster: #faf9f8;
  --oyster-2: #f1efea;
  --paper: #ffffff;
  --ink: #1c1a17;
  --ink-soft: #57514a;
  --ink-faint: #948b7e;
  --bordeaux: #8a5250;
  --bordeaux-deep: #6e3f3d;
  --sage: #86917e;
  --champagne: #c2a87e;
  --line: #e7e2db;
  --line-soft: #efebe4;
  --card: #ffffff;
  --card-edge: #ece7df;
  --cat-ready: #c2a87e;
  --cat-firstlook: #b08a82;
  --cat-ceremony: #8a5250;
  --cat-portraits: #86917e;
  --cat-cocktail: #7c8a93;
  --cat-reception: #7a6480;
  --cat-sendoff: #57514a;
  --shadow:
    0 1px 2px rgba(30, 26, 20, 0.03), 0 18px 40px -24px rgba(30, 26, 20, 0.16);
  --shadow-lift:
    0 2px 8px rgba(30, 26, 20, 0.06), 0 30px 62px -28px rgba(30, 26, 20, 0.24);
  --display:
    "Fraunces", "Ivyora Display", "Canela", "Hoefler Text", Georgia,
    "Times New Roman", serif;
  --label: "Jost", ui-sans-serif, system-ui, sans-serif;
  --body:
    ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;
  --rail: 270px;
  --maxw: 1120px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --oyster: #151311;
    --oyster-2: #1c1a17;
    --paper: #201d1a;
    --ink: #f0eae0;
    --ink-soft: #c6beb2;
    --ink-faint: #928a7d;
    --bordeaux: #ce908a;
    --bordeaux-deep: #b87972;
    --sage: #9fae97;
    --champagne: #cdb488;
    --line: #322d26;
    --line-soft: #262119;
    --card: #201d1a;
    --card-edge: #322d26;
    --shadow:
      0 1px 2px rgba(0, 0, 0, 0.4), 0 18px 44px -22px rgba(0, 0, 0, 0.7);
    --shadow-lift:
      0 2px 8px rgba(0, 0, 0, 0.5), 0 30px 66px -24px rgba(0, 0, 0, 0.8);
  }
}
:root[data-theme="light"] {
  --oyster: #faf9f8;
  --oyster-2: #f1efea;
  --paper: #ffffff;
  --ink: #1c1a17;
  --ink-soft: #57514a;
  --ink-faint: #948b7e;
  --bordeaux: #8a5250;
  --bordeaux-deep: #6e3f3d;
  --sage: #86917e;
  --champagne: #c2a87e;
  --line: #e7e2db;
  --line-soft: #efebe4;
  --card: #ffffff;
  --card-edge: #ece7df;
  --shadow:
    0 1px 2px rgba(30, 26, 20, 0.03), 0 18px 40px -24px rgba(30, 26, 20, 0.16);
}
:root[data-theme="dark"] {
  --oyster: #151311;
  --oyster-2: #1c1a17;
  --paper: #201d1a;
  --ink: #f0eae0;
  --ink-soft: #c6beb2;
  --ink-faint: #928a7d;
  --bordeaux: #ce908a;
  --bordeaux-deep: #b87972;
  --sage: #9fae97;
  --champagne: #cdb488;
  --line: #322d26;
  --line-soft: #262119;
  --card: #201d1a;
  --card-edge: #322d26;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 18px 44px -22px rgba(0, 0, 0, 0.7);
}

* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--oyster);
  color: var(--ink);
  font-family: var(--body);
  font-size: 15.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
/* barely-there warm wash — keeps the near-white ground from feeling clinical */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
  background:
    radial-gradient(
      1300px 640px at 82% -12%,
      rgba(194, 168, 126, 0.07),
      transparent 60%
    ),
    radial-gradient(
      1000px 540px at -8% 112%,
      rgba(138, 82, 80, 0.05),
      transparent 55%
    );
}
button {
  font-family: var(--label);
  cursor: pointer;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--champagne) 80%, white);
  outline-offset: 3px;
}
a {
  color: inherit;
}
h1,
h2,
h3,
h4 {
  font-family: var(--display);
  font-optical-sizing: auto;
  font-weight: 400;
  margin: 0;
  line-height: 1.06;
  text-wrap: balance;
  letter-spacing: -0.01em;
}
.serif {
  font-family: var(--display);
}
.label {
  font-family: var(--label);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 11px;
  color: var(--ink-faint);
}
input,
textarea,
select {
  font-family: var(--body);
  color: var(--ink);
}

/* ---------- app shell ---------- */
#app {
  position: relative;
  z-index: 1;
  min-height: 100dvh;
  display: flex;
}
.rail {
  width: var(--rail);
  flex: 0 0 var(--rail);
  position: sticky;
  top: 0;
  height: 100dvh;
  border-right: 1px solid var(--line);
  padding: 22px 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  background: linear-gradient(180deg, var(--oyster), var(--oyster-2));
}
.brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.brand .mark {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-logo {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  object-fit: cover;
  flex: 0 0 38px;
  box-shadow: 0 5px 16px -10px rgba(30, 20, 15, 0.5);
}
.brand h1 {
  font-size: 30px;
  letter-spacing: 1px;
}
.brand .studio {
  font-family: var(--label);
  font-size: 10.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.bryde-wordmark {
  display: block;
  width: 156px;
  height: auto;
  object-fit: contain;
  object-position: left center;
}
.login .bryde-wordmark {
  width: min(260px, 72%);
  margin-bottom: 38px;
}
.nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 2px;
  overflow-y: auto;
  min-height: 0;
  padding-right: 3px;
}
.nav-section {
  display: block;
  margin: 10px 14px 3px;
  font-family: var(--label);
  font-size: 8.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.nav-section:first-child {
  margin-top: 2px;
}
.nav button {
  display: flex;
  align-items: center;
  gap: 13px;
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 8px 12px;
  border-radius: 11px;
  color: var(--ink-soft);
  font-size: 13.5px;
  letter-spacing: 0.02em;
  transition:
    background 0.18s,
    color 0.18s;
}
.nav button .ni {
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
  opacity: 0.85;
}
.nav button:hover {
  background: color-mix(in srgb, var(--champagne) 12%, transparent);
  color: var(--ink);
}
.nav button[aria-current="true"] {
  background: color-mix(in srgb, var(--bordeaux) 12%, transparent);
  color: var(--ink);
}
.nav button[aria-current="true"] .ni {
  opacity: 1;
  color: var(--bordeaux);
}
.rail .foot {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.railcount {
  font-size: 12px;
  color: var(--ink-faint);
  font-family: var(--label);
  letter-spacing: 0.03em;
}
.railcount b {
  color: var(--bordeaux);
  font-weight: 500;
}

.iconbtn {
  background: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 10px;
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  transition: 0.16s;
}
.iconbtn:hover {
  border-color: var(--champagne);
  color: var(--ink);
}
.iconbtn svg {
  width: 16px;
  height: 16px;
}

/* ---------- main ---------- */
.main {
  flex: 1 1 auto;
  min-width: 0;
}
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 38px 40px 120px;
}
.view {
  animation: rise 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .view,
  .viewhero,
  .tl-item {
    animation: none !important;
  }
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.eyebrow::after {
  content: "";
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, var(--line), transparent);
}
.viewhead {
  margin-bottom: 26px;
}
.viewhead h2 {
  font-size: clamp(30px, 4vw, 46px);
  font-style: italic;
}
.viewhead p {
  color: var(--ink-soft);
  max-width: 60ch;
  margin: 8px 0 0;
}

/* ---------- The Day (overview) ---------- */
.hero {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--card-edge);
  box-shadow: var(--shadow);
  margin-bottom: 26px;
  background: var(--card);
}
.hero-photo {
  position: relative;
  height: 340px;
  background-size: cover;
  background-position: center;
}
.hero-photo.empty {
  background:
    radial-gradient(
      120% 140% at 70% 10%,
      color-mix(in srgb, var(--champagne) 26%, var(--paper)),
      transparent 55%
    ),
    radial-gradient(
      120% 130% at 10% 100%,
      color-mix(in srgb, var(--bordeaux) 22%, var(--paper)),
      transparent 55%
    ),
    linear-gradient(160deg, var(--oyster-2), var(--paper));
}
.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(20, 16, 10, 0) 35%,
    rgba(20, 16, 10, 0.62)
  );
}
.hero-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 30px 32px;
  z-index: 2;
  color: #f6efe2;
}
.hero-cap .label {
  color: #ead9be;
}
.hero-names {
  font-size: clamp(38px, 6.5vw, 72px);
  font-style: italic;
  line-height: 0.98;
  margin: 6px 0 10px;
  color: #fbf6ec;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.35);
}
.hero-names .amp {
  font-style: italic;
  color: #e9c79a;
  padding: 0 0.12em;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-family: var(--label);
  letter-spacing: 0.06em;
  font-size: 12.5px;
  color: #ede3d2;
}
.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.hero-meta svg {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  opacity: 0.85;
}
.hero-upload {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
}
.hero-upload .iconbtn {
  background: rgba(20, 16, 10, 0.42);
  border-color: rgba(255, 255, 255, 0.25);
  color: #f3eadb;
  backdrop-filter: blur(6px);
}
.hero-upload .iconbtn:hover {
  border-color: #e9c79a;
}

.countstrip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 30px;
}
.count {
  background: var(--card);
  border: 1px solid var(--card-edge);
  border-radius: 14px;
  padding: 18px 18px 16px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.count .big {
  font-family: var(--display);
  font-size: 44px;
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.count .big .u {
  font-size: 15px;
  color: var(--ink-faint);
  font-family: var(--label);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-left: 6px;
}
.count .k {
  font-family: var(--label);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 10.5px;
  color: var(--ink-faint);
  margin-top: 10px;
}
.count.accent {
  background: linear-gradient(
    165deg,
    color-mix(in srgb, var(--bordeaux) 14%, var(--card)),
    var(--card)
  );
}
.count.accent .big {
  color: var(--bordeaux);
}

.twocol {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 22px;
}
.panel {
  background: var(--card);
  border: 1px solid var(--card-edge);
  border-radius: 16px;
  padding: 22px 24px;
  box-shadow: var(--shadow);
}
.panel h3 {
  font-size: 23px;
  font-style: italic;
  margin-bottom: 4px;
}
.panel .label {
  margin-bottom: 16px;
}
.nowline {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 13px 0;
  border-bottom: 1px dashed var(--line);
}
.nowline:last-child {
  border-bottom: 0;
}
.nowdot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  margin-top: 7px;
  flex: 0 0 9px;
  background: var(--champagne);
}
.nowline.is-now {
  position: relative;
}
.nowline.is-now .nowdot {
  background: var(--bordeaux);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--bordeaux) 20%, transparent);
}
.nowline .t {
  font-family: var(--label);
  font-size: 12px;
  color: var(--ink-faint);
  letter-spacing: 0.05em;
  width: 78px;
  flex: 0 0 78px;
  padding-top: 2px;
  font-variant-numeric: tabular-nums;
}
.nowline .ttl {
  font-family: var(--display);
  font-size: 19px;
}
.nowline .sub {
  font-size: 12.5px;
  color: var(--ink-soft);
}
.nowpill {
  display: inline-block;
  font-family: var(--label);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bordeaux);
  border: 1px solid color-mix(in srgb, var(--bordeaux) 40%, transparent);
  padding: 2px 7px;
  border-radius: 20px;
  margin-left: 8px;
  vertical-align: middle;
}
.miniven {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.miniven .row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
  padding-bottom: 11px;
  border-bottom: 1px dashed var(--line);
}
.miniven .row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.miniven .r-role {
  font-family: var(--label);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.miniven .r-name {
  font-family: var(--display);
  font-size: 18px;
}
.stat-conf {
  font-family: var(--label);
  font-size: 11px;
  letter-spacing: 0.05em;
}

/* ---------- Timeline ---------- */
.tl-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-bottom: 24px;
}
.tl-legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--label);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}
.tl-legend i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
}
.timeline {
  position: relative;
  padding-left: 26px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--line), var(--line-soft));
}
.tl-item {
  position: relative;
  margin-bottom: 12px;
  animation: rise 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.tl-item::before {
  content: "";
  position: absolute;
  left: -24px;
  top: 22px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--cat, var(--champagne));
  border: 2px solid var(--oyster);
  box-shadow: 0 0 0 3px
    color-mix(in srgb, var(--cat, var(--champagne)) 22%, transparent);
}
.tl-card {
  background: var(--card);
  border: 1px solid var(--card-edge);
  border-left: 3px solid var(--cat, var(--champagne));
  border-radius: 13px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.tl-main {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 15px 18px;
  cursor: pointer;
}
.tl-time {
  font-family: var(--display);
  font-size: 22px;
  line-height: 1;
  width: 96px;
  flex: 0 0 96px;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}
.tl-time .end {
  display: block;
  font-size: 12px;
  font-family: var(--label);
  color: var(--ink-faint);
  letter-spacing: 0.04em;
  margin-top: 5px;
}
.tl-body {
  flex: 1 1 auto;
  min-width: 0;
}
.tl-title {
  font-family: var(--display);
  font-size: 22px;
  font-style: italic;
  line-height: 1.05;
}
.tl-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin-top: 6px;
  font-size: 12.5px;
  color: var(--ink-soft);
}
.tl-tags span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.tl-tags svg {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  color: var(--ink-faint);
}
.tl-cat {
  font-family: var(--label);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cat);
  padding-top: 3px;
}
.tl-chev {
  margin-left: auto;
  color: var(--ink-faint);
  transition: transform 0.2s;
  flex: 0 0 auto;
}
.tl-item.open .tl-chev {
  transform: rotate(180deg);
}
.tl-detail {
  display: none;
  padding: 0 18px 16px 130px;
  border-top: 1px dashed var(--line);
  margin-top: -2px;
}
.tl-item.open .tl-detail {
  display: block;
  animation: rise 0.3s ease both;
}
.tl-detail .note {
  color: var(--ink-soft);
  margin: 14px 0;
}
.tl-detail .who {
  font-size: 13px;
}
.tl-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.mini {
  background: none;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 6px 11px;
  color: var(--ink-soft);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  transition: 0.15s;
  display: inline-flex;
  gap: 6px;
  align-items: center;
}
.mini:hover {
  border-color: var(--bordeaux);
  color: var(--bordeaux);
}
.mini.warn:hover {
  border-color: var(--bordeaux);
  color: var(--bordeaux);
}
.mini svg {
  width: 14px;
  height: 14px;
}

/* ---------- Vendors ---------- */
.vgrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(268px, 1fr));
  gap: 16px;
}
.vcard {
  background: var(--card);
  border: 1px solid var(--card-edge);
  border-radius: 15px;
  padding: 20px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 3px;
  transition:
    transform 0.18s,
    box-shadow 0.18s;
}
.vcard:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
}
.vcard .v-role {
  font-family: var(--label);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 10px;
  color: var(--sage);
}
.vcard .v-name {
  font-family: var(--display);
  font-size: 26px;
  font-style: italic;
  line-height: 1.05;
  margin: 4px 0 2px;
}
.vcard .v-co {
  color: var(--ink-soft);
  font-size: 13.5px;
}
.vcard .v-lines {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
}
.vcard .v-lines a,
.vcard .v-lines span {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  color: var(--ink-soft);
  text-decoration: none;
}
.vcard .v-lines a:hover {
  color: var(--bordeaux);
}
.vcard .v-lines svg {
  width: 15px;
  height: 15px;
  color: var(--ink-faint);
  flex: 0 0 15px;
}
.vcard .v-foot {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.chip {
  font-family: var(--label);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.chip.ok {
  color: var(--sage);
  background: color-mix(in srgb, var(--sage) 15%, transparent);
}
.chip.pending {
  color: var(--champagne);
  background: color-mix(in srgb, var(--champagne) 16%, transparent);
}
.chip i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.vcard .v-arr {
  font-family: var(--label);
  font-size: 11px;
  color: var(--ink-faint);
  letter-spacing: 0.04em;
}

/* ---------- Details ---------- */
.dgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.dcard {
  background: var(--card);
  border: 1px solid var(--card-edge);
  border-radius: 15px;
  padding: 22px 24px;
  box-shadow: var(--shadow);
}
.dcard.span {
  grid-column: 1/-1;
}
.dcard h3 {
  font-size: 22px;
  font-style: italic;
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 16px;
}
.dcard h3 svg {
  width: 19px;
  height: 19px;
  color: var(--bordeaux);
}
.drow {
  display: flex;
  gap: 14px;
  padding: 9px 0;
  border-bottom: 1px dashed var(--line);
}
.drow:last-child {
  border-bottom: 0;
}
.drow dt {
  font-family: var(--label);
  font-size: 10.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-faint);
  width: 120px;
  flex: 0 0 120px;
  padding-top: 3px;
}
.drow dd {
  margin: 0;
  color: var(--ink);
  flex: 1;
}
.drow dd a {
  color: var(--bordeaux);
  text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, var(--bordeaux) 35%, transparent);
}
.palette {
  display: flex;
  gap: 10px;
  margin-top: 6px;
  flex-wrap: wrap;
}
.swatch {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.swatch i {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--card-edge);
  box-shadow: inset 0 0 0 3px var(--card);
}
.swatch b {
  font-family: var(--label);
  font-weight: 400;
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.shotlist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px 22px;
}
.shotlist li {
  display: flex;
  gap: 11px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--line);
  align-items: baseline;
}
.shotlist .st-time {
  font-family: var(--label);
  font-size: 11px;
  color: var(--bordeaux);
  width: 64px;
  flex: 0 0 64px;
  letter-spacing: 0.03em;
}
.shotlist .st-where {
  font-size: 11.5px;
  color: var(--ink-faint);
}

/* ---------- Notes ---------- */
.notecompose {
  background: var(--card);
  border: 1px solid var(--card-edge);
  border-radius: 15px;
  padding: 16px;
  box-shadow: var(--shadow);
  margin-bottom: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.notecompose textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--paper);
  padding: 13px 15px;
  resize: vertical;
  min-height: 74px;
  font-size: 14.5px;
  line-height: 1.55;
}
.notecompose textarea:focus {
  outline: none;
  border-color: var(--bordeaux);
}
.notecompose .nc-foot {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: space-between;
  flex-wrap: wrap;
}
.notecompose select {
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--paper);
  padding: 8px 11px;
  font-size: 12.5px;
}
.notes-stream {
  position: relative;
  padding-left: 24px;
}
.notes-stream::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: var(--line);
}
.note {
  position: relative;
  margin-bottom: 16px;
  background: var(--card);
  border: 1px solid var(--card-edge);
  border-radius: 13px;
  padding: 16px 18px;
  box-shadow: var(--shadow);
}
.note::before {
  content: "";
  position: absolute;
  left: -23px;
  top: 18px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--src, var(--sage));
  border: 2px solid var(--oyster);
}
.note .n-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 7px;
  flex-wrap: wrap;
}
.note .n-src {
  font-family: var(--label);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--src, var(--sage));
}
.note .n-time {
  font-family: var(--label);
  font-size: 11px;
  color: var(--ink-faint);
  letter-spacing: 0.03em;
}
.note .n-actions {
  margin-left: auto;
  display: flex;
  gap: 4px;
  opacity: 0;
  transition: 0.15s;
}
.note:hover .n-actions {
  opacity: 1;
}
.note .n-body {
  white-space: pre-wrap;
  color: var(--ink);
  line-height: 1.6;
}
.iconmini {
  background: none;
  border: 0;
  color: var(--ink-faint);
  padding: 4px;
  border-radius: 7px;
  cursor: pointer;
  line-height: 0;
}
.iconmini:hover {
  color: var(--bordeaux);
  background: color-mix(in srgb, var(--bordeaux) 10%, transparent);
}
.iconmini svg {
  width: 15px;
  height: 15px;
}
.pushnote {
  border: 1px dashed var(--line);
  border-radius: 12px;
  padding: 13px 16px;
  font-size: 12.5px;
  color: var(--ink-faint);
  margin-bottom: 20px;
  display: flex;
  gap: 11px;
  align-items: flex-start;
  background: color-mix(in srgb, var(--sage) 6%, transparent);
}
.pushnote svg {
  width: 17px;
  height: 17px;
  color: var(--sage);
  flex: 0 0 17px;
  margin-top: 2px;
}

/* ---------- Share ---------- */
.sharegrid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 26px;
  align-items: start;
}
.qrcard {
  background: var(--card);
  border: 1px solid var(--card-edge);
  border-radius: 18px;
  padding: 26px;
  box-shadow: var(--shadow);
  text-align: center;
}
.qrframe {
  background: #fff;
  border-radius: 14px;
  padding: 18px;
  display: inline-block;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
}
.qrframe svg {
  display: block;
  width: 222px;
  height: 222px;
}
.qrcard .qr-cap {
  font-family: var(--label);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-top: 16px;
}
.linkbox {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}
.linkbox input {
  flex: 1;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  padding: 11px 13px;
  font-size: 12.5px;
  color: var(--ink-soft);
  font-family: var(--label);
}
.warnrow {
  font-size: 12px;
  color: var(--bordeaux);
  background: color-mix(in srgb, var(--bordeaux) 8%, transparent);
  border: 1px solid color-mix(in srgb, var(--bordeaux) 22%, transparent);
  border-radius: 10px;
  padding: 10px 13px;
  margin-top: 14px;
  display: flex;
  gap: 9px;
  align-items: flex-start;
}
.warnrow svg {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  margin-top: 2px;
}
.sharesteps {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.step {
  display: flex;
  gap: 16px;
}
.step .num {
  font-family: var(--display);
  font-size: 30px;
  font-style: italic;
  color: var(--bordeaux);
  width: 40px;
  flex: 0 0 40px;
  line-height: 1;
}
.step h4 {
  font-size: 19px;
  margin-bottom: 3px;
}
.step p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13.5px;
}
.tools {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

/* ---------- buttons ---------- */
.btn {
  background: var(--bordeaux);
  color: #fbf6ec;
  border: 0;
  border-radius: 11px;
  padding: 11px 20px;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: 0.16s;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  box-shadow: 0 8px 22px -12px var(--bordeaux);
}
.btn:hover {
  background: var(--bordeaux-deep);
  transform: translateY(-1px);
}
.btn.ghost {
  background: none;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  box-shadow: none;
}
.btn.ghost:hover {
  border-color: var(--bordeaux);
  color: var(--bordeaux);
  background: none;
}
.btn svg {
  width: 16px;
  height: 16px;
}
.addbtn {
  width: 100%;
  border: 1px dashed var(--line);
  background: none;
  color: var(--ink-faint);
  border-radius: 13px;
  padding: 15px;
  font-family: var(--label);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 11.5px;
  transition: 0.16s;
  display: flex;
  gap: 9px;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
}
.addbtn:hover {
  border-color: var(--bordeaux);
  color: var(--bordeaux);
}
.addbtn svg {
  width: 15px;
  height: 15px;
}

/* ---------- modal ---------- */
.scrim {
  position: fixed;
  inset: 0;
  background: rgba(24, 18, 10, 0.5);
  backdrop-filter: blur(4px);
  z-index: 60;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 16px;
  overflow: auto;
  animation: fade 0.2s;
}
@keyframes fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.modal {
  background: var(--paper);
  border: 1px solid var(--card-edge);
  border-radius: 18px;
  box-shadow: var(--shadow-lift);
  width: min(560px, 100%);
  padding: 28px 30px;
  margin: auto 0;
  animation: rise 0.3s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.modal h3 {
  font-size: 27px;
  font-style: italic;
  margin-bottom: 3px;
}
.modal .label {
  margin-bottom: 22px;
}
.field {
  margin-bottom: 15px;
}
.field label {
  display: block;
  font-family: var(--label);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 6px;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--card);
  padding: 11px 13px;
  font-size: 14px;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--bordeaux);
}
.field textarea {
  resize: vertical;
  min-height: 70px;
  line-height: 1.55;
}
.field.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.field.two > div {
  min-width: 0;
}
.modal-foot {
  display: flex;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
}
.modal-foot .right {
  display: flex;
  gap: 10px;
}

/* ---------- mobile ---------- */
.mobilebar {
  display: none;
}
.topbar {
  display: none;
}
@media (max-width: 860px) {
  .rail {
    display: none;
  }
  .wrap {
    padding: 20px 18px 108px;
  }
  .topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 40;
    padding: 10px 18px;
    background: color-mix(in srgb, var(--oyster) 88%, transparent);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
  }
  .topbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .topbar-brand .brand-logo {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
    border-radius: 9px;
  }
  .topbar h1 {
    font-size: 25px;
    letter-spacing: 0.5px;
  }
  .topbar .studio {
    font-family: var(--label);
    font-size: 9px;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--ink-faint);
  }
  .twocol {
    grid-template-columns: 1fr;
  }
  .countstrip {
    grid-template-columns: 1fr 1fr;
  }
  .dgrid {
    grid-template-columns: 1fr;
  }
  .sharegrid {
    grid-template-columns: 1fr;
  }
  .shotlist {
    grid-template-columns: 1fr;
  }
  .qrcard {
    max-width: 340px;
    margin: 0 auto;
  }
  .tl-detail {
    padding-left: 18px;
  }
  .tl-time {
    width: 80px;
    flex: 0 0 80px;
    font-size: 19px;
  }
  .hero-photo {
    height: 280px;
  }
  .mobilebar {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: color-mix(in srgb, var(--oyster) 92%, transparent);
    backdrop-filter: blur(16px);
    border-top: 1px solid var(--line);
    padding: 8px 6px calc(8px + env(safe-area-inset-bottom));
  }
  .mobilebar button {
    background: none;
    border: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: var(--ink-faint);
    padding: 5px 2px;
    font-family: var(--label);
    font-size: 8.5px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }
  .mobilebar button svg {
    width: 20px;
    height: 20px;
  }
  .mobilebar button[aria-current="true"] {
    color: var(--bordeaux);
  }
}
.hidden {
  display: none !important;
}
::selection {
  background: color-mix(in srgb, var(--champagne) 45%, transparent);
}
:focus-visible {
  outline: 2px solid var(--bordeaux);
  outline-offset: 2px;
  border-radius: 4px;
}
.toast {
  position: fixed;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--ink);
  color: var(--oyster);
  padding: 12px 20px;
  border-radius: 12px;
  font-family: var(--label);
  font-size: 12.5px;
  letter-spacing: 0.05em;
  z-index: 80;
  opacity: 0;
  transition: 0.3s;
  box-shadow: var(--shadow-lift);
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
@media (max-width: 860px) {
  .toast {
    bottom: 88px;
  }
}

/* ---------- shared bits ---------- */
.navdot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--bordeaux);
  margin-left: 6px;
  vertical-align: middle;
}
.linklike {
  background: none;
  border: 0;
  color: var(--bordeaux);
  font-family: var(--body);
  font-size: inherit;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.checkrow {
  display: flex;
  gap: 9px;
  align-items: center;
  font-size: 13.5px;
  color: var(--ink-soft);
  margin-top: 4px;
}
.chipfilters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chipfilter {
  background: none;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 7px 14px;
  color: var(--ink-soft);
  font-size: 12px;
  letter-spacing: 0.03em;
  transition: 0.15s;
}
.chipfilter:hover {
  border-color: var(--champagne);
  color: var(--ink);
}
.chipfilter.on {
  background: var(--ink);
  color: var(--oyster);
  border-color: var(--ink);
}

/* ---------- Calendar ---------- */
.cal-legend {
  margin-bottom: 20px;
}
.cal-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.cal-month {
  font-size: 26px;
  font-style: italic;
  min-width: 210px;
}
.calnav {
  background: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  width: 38px;
  height: 38px;
  font-size: 20px;
  color: var(--ink-soft);
  line-height: 1;
  transition: 0.15s;
}
.calnav:hover {
  border-color: var(--bordeaux);
  color: var(--bordeaux);
}
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  background: var(--card);
  border: 1px solid var(--card-edge);
  border-radius: 16px;
  padding: 14px;
  box-shadow: var(--shadow);
}
.cal-dow {
  text-align: center;
  font-family: var(--label);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
  padding: 4px 0 8px;
}
.cal-cell {
  position: relative;
  min-height: 94px;
  border: 1px solid transparent;
  border-radius: 11px;
  background: var(--oyster-2);
  padding: 8px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 5px;
  transition: 0.15s;
  overflow: hidden;
}
.cal-cell.empty {
  background: none;
}
.cal-cell.has {
  background: var(--paper);
  border-color: var(--card-edge);
}
.cal-cell:not(.empty):hover {
  border-color: var(--champagne);
  transform: translateY(-1px);
}
.cal-cell.sel {
  border-color: var(--bordeaux);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--bordeaux) 22%, transparent);
}
.cal-cell.wed {
  background: color-mix(in srgb, var(--bordeaux) 12%, var(--paper));
  border-color: color-mix(in srgb, var(--bordeaux) 35%, transparent);
}
.cal-num {
  font-family: var(--display);
  font-size: 16px;
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.cal-num.today {
  background: var(--ink);
  color: var(--oyster);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}
.cal-heart {
  position: absolute;
  top: 7px;
  right: 7px;
  color: var(--bordeaux);
}
.cal-heart svg {
  width: 15px;
  height: 15px;
}
.cal-pills {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: auto;
}
.cal-pill {
  font-family: var(--label);
  font-size: 9.5px;
  letter-spacing: 0.02em;
  color: var(--ink);
  background: color-mix(in srgb, var(--pc) 20%, transparent);
  border-left: 2px solid var(--pc);
  border-radius: 3px;
  padding: 2px 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cal-more {
  font-family: var(--label);
  font-size: 9px;
  letter-spacing: 0.06em;
  color: var(--ink-faint);
}
.cal-agenda {
  margin-top: 20px;
  background: var(--card);
  border: 1px solid var(--card-edge);
  border-radius: 15px;
  padding: 20px 22px;
  box-shadow: var(--shadow);
}
.cal-agenda .label {
  margin-bottom: 14px;
}
.ag-row {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
}
.ag-row:last-of-type {
  border-bottom: 0;
}
.ag-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--pc);
  margin-top: 6px;
  flex: 0 0 9px;
}
.ag-title {
  font-family: var(--display);
  font-size: 19px;
}
.ag-kind {
  font-family: var(--label);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-top: 2px;
}
.ag-actions {
  display: flex;
  gap: 2px;
  opacity: 0.6;
}
.ag-empty {
  color: var(--ink-faint);
  font-size: 14px;
  padding: 6px 0;
}

/* ---------- Inspiration ---------- */
.pinpanel {
  background: var(--card);
  border: 1px solid var(--card-edge);
  border-radius: 15px;
  padding: 18px 20px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
}
.pinpanel-h {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.pinpanel-h .label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}
.pinpanel-h .label svg {
  width: 16px;
  height: 16px;
  color: #e60023;
}
.pin-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.pin-embed {
  min-height: 60px;
}
.pin-fallback {
  font-size: 12px;
  color: var(--ink-faint);
  margin-top: 8px;
}
.pin-fallback a {
  color: var(--bordeaux);
}
.pinconnect {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 15px;
  text-align: left;
  background: var(--card);
  border: 1px solid var(--card-edge);
  border-radius: 15px;
  padding: 18px 20px;
  box-shadow: var(--shadow);
  color: var(--ink);
  margin-bottom: 20px;
  transition: 0.16s;
}
.pinconnect:hover {
  border-color: #e60023;
  transform: translateY(-1px);
}
.pinconnect > svg:first-child {
  width: 30px;
  height: 30px;
  color: #e60023;
  flex: 0 0 30px;
}
.pinconnect > svg:last-child {
  width: 20px;
  height: 20px;
  color: var(--ink-faint);
  margin-left: auto;
  flex: 0 0 20px;
}
.pinconnect div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.pinconnect b {
  font-family: var(--display);
  font-size: 19px;
  font-weight: 500;
}
.pinconnect span {
  font-size: 13px;
  color: var(--ink-soft);
}
.insp-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.insp-grid {
  columns: 4 220px;
  column-gap: 16px;
}
.insp-card {
  break-inside: avoid;
  margin-bottom: 16px;
  background: var(--card);
  border: 1px solid var(--card-edge);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: 0.18s;
}
.insp-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
}
.insp-img {
  width: 100%;
  aspect-ratio: 4/5;
  background-size: cover;
  background-position: center;
  background-color: var(--oyster-2);
}
.insp-img.ph {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4/3;
  background: linear-gradient(
    150deg,
    color-mix(in srgb, var(--pc) 24%, var(--paper)),
    color-mix(in srgb, var(--pc) 8%, var(--paper))
  );
}
.insp-img.ph svg {
  width: 30px;
  height: 30px;
  color: color-mix(in srgb, var(--pc) 70%, var(--ink));
}
.insp-body {
  padding: 13px 15px;
}
.insp-cat {
  font-family: var(--label);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sage);
}
.insp-note {
  font-size: 13.5px;
  color: var(--ink);
  margin-top: 6px;
  line-height: 1.5;
}
.insp-foot {
  display: flex;
  align-items: center;
  margin-top: 12px;
}
.insp-src {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--label);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  text-decoration: none;
}
.insp-src:hover {
  color: var(--bordeaux);
}
.insp-src svg {
  width: 14px;
  height: 14px;
}

/* ---------- Messages ---------- */
.msg-wrap {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 18px;
  height: min(620px, 70vh);
  border: 1px solid var(--card-edge);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--card);
}
.msg-list {
  border-right: 1px solid var(--line);
  overflow-y: auto;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.thread {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  text-align: left;
  background: none;
  border: 0;
  border-radius: 12px;
  padding: 12px;
  transition: 0.15s;
  width: 100%;
}
.thread:hover {
  background: var(--oyster-2);
}
.thread.active {
  background: color-mix(in srgb, var(--bordeaux) 10%, transparent);
}
.th-avatar {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 50%;
  background: linear-gradient(150deg, var(--champagne), var(--bordeaux));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--label);
  font-size: 14px;
  letter-spacing: 0.04em;
}
.th-meta {
  min-width: 0;
  flex: 1;
}
.th-name {
  font-family: var(--display);
  font-size: 18px;
  display: flex;
  align-items: center;
}
.th-role {
  font-family: var(--label);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-top: 1px;
}
.th-last {
  font-size: 12.5px;
  color: var(--ink-soft);
  margin-top: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.msg-convo {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--oyster);
}
.convo-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--card);
}
.convo-head .th-avatar {
  width: 36px;
  height: 36px;
  flex-basis: 36px;
  font-size: 12px;
}
.msg-back {
  display: none;
  transform: rotate(90deg);
}
.convo-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.bubble {
  max-width: 78%;
  padding: 11px 15px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.5;
}
.bubble .bub-time {
  font-family: var(--label);
  font-size: 10px;
  letter-spacing: 0.03em;
  margin-top: 5px;
  opacity: 0.6;
}
.bubble.them {
  align-self: flex-start;
  background: var(--card);
  border: 1px solid var(--card-edge);
  border-bottom-left-radius: 5px;
}
.bubble.me {
  align-self: flex-end;
  background: var(--bordeaux);
  color: #fbf6ec;
  border-bottom-right-radius: 5px;
}
.convo-compose {
  display: flex;
  gap: 10px;
  align-items: flex-end;
  padding: 14px;
  border-top: 1px solid var(--line);
  background: var(--card);
}
.convo-compose textarea {
  flex: 1;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  padding: 11px 15px;
  font-size: 14px;
  resize: none;
  max-height: 120px;
  line-height: 1.4;
}
.convo-compose textarea:focus {
  outline: none;
  border-color: var(--bordeaux);
}
.convo-compose .btn {
  padding: 11px 14px;
  border-radius: 12px;
}
.convo-compose .btn svg {
  width: 18px;
  height: 18px;
}

/* ---------- To-Do / tasks ---------- */
.planday {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--card);
  border: 1px solid var(--card-edge);
  border-radius: 14px;
  padding: 15px 18px;
  box-shadow: var(--shadow);
  margin-bottom: 16px;
}
.planday > svg:first-child {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  color: var(--champagne);
}
.planday div {
  flex: 1;
  font-size: 14px;
  color: var(--ink-soft);
}
.planday b {
  color: var(--ink);
}
.planday .mini {
  flex: 0 0 auto;
}
.planday.now {
  background: linear-gradient(
    120deg,
    color-mix(in srgb, var(--bordeaux) 12%, var(--card)),
    var(--card)
  );
  border-color: color-mix(in srgb, var(--bordeaux) 30%, transparent);
}
.planday.now > svg:first-child {
  color: var(--bordeaux);
}
.remindbar {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  background: var(--card);
  border: 1px solid var(--card-edge);
  border-radius: 14px;
  padding: 14px 20px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
}
.remind-stat {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--label);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.remind-stat .rs-n {
  font-family: var(--display);
  font-size: 30px;
  color: var(--ink);
  letter-spacing: 0;
}
.remind-stat .rs-n.od {
  color: var(--bordeaux);
}
.remind-note {
  font-size: 13.5px;
  color: var(--ink-soft);
}
.remind-actions {
  margin-left: auto;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.taskgroup {
  margin-bottom: 22px;
}
.tg-h {
  font-family: var(--label);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.tg-h span {
  background: var(--oyster-2);
  border-radius: 20px;
  padding: 1px 9px;
  font-size: 10px;
  color: var(--ink-soft);
}
.tasklist {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.task {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--card);
  border: 1px solid var(--card-edge);
  border-radius: 12px;
  padding: 14px 16px;
  box-shadow: var(--shadow);
  transition: 0.15s;
}
.task:hover {
  border-color: var(--champagne);
}
.taskcheck {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  border: 1.5px solid var(--line);
  border-radius: 7px;
  background: var(--paper);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
  transition: 0.15s;
}
.taskcheck:hover {
  border-color: var(--sage);
}
.taskcheck.on {
  background: var(--sage);
  border-color: var(--sage);
}
.taskcheck svg {
  width: 15px;
  height: 15px;
}
.task-main {
  flex: 1;
  min-width: 0;
}
.task-title {
  font-size: 15px;
  color: var(--ink);
  line-height: 1.4;
}
.task-flag {
  color: var(--champagne);
  margin-right: 5px;
}
.task.done .task-title {
  text-decoration: line-through;
  color: var(--ink-faint);
}
.task-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin-top: 7px;
  align-items: center;
}
.task-due {
  font-family: var(--label);
  font-size: 11px;
  letter-spacing: 0.03em;
  color: var(--ink-faint);
}
.task-due.soon {
  color: var(--champagne);
}
.task-due.od {
  color: var(--bordeaux);
}
.task-cat {
  font-family: var(--label);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage);
  border: 1px solid color-mix(in srgb, var(--sage) 35%, transparent);
  border-radius: 20px;
  padding: 2px 8px;
}
.task-who {
  font-family: var(--label);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: var(--ink-faint);
}
.task-actions {
  display: flex;
  gap: 2px;
  opacity: 0;
  transition: 0.15s;
}
.task:hover .task-actions {
  opacity: 1;
}

/* ---------- Wedding party ---------- */
.pm-group {
  margin-bottom: 26px;
}
.pm-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}
.pm-card {
  background: var(--card);
  border: 1px solid var(--card-edge);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: 0.18s;
}
.pm-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
}
.pm-photo {
  width: 100%;
  aspect-ratio: 4/5;
  background-size: cover;
  background-position: center;
  background-color: var(--oyster-2);
}
.pm-photo.ph {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-size: 40px;
  color: #fff;
  background: linear-gradient(150deg, var(--champagne), var(--bordeaux));
}
.pm-body {
  padding: 14px 16px;
}
.pm-role {
  font-family: var(--label);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sage);
}
.pm-name {
  font-family: var(--display);
  font-size: 22px;
  font-style: italic;
  line-height: 1.1;
  margin-top: 3px;
}
.pm-note {
  font-size: 12.5px;
  color: var(--ink-soft);
  margin-top: 7px;
  line-height: 1.5;
}
.pm-foot {
  display: flex;
  justify-content: flex-end;
  gap: 2px;
  margin-top: 10px;
  opacity: 0;
  transition: 0.15s;
}
.pm-card:hover .pm-foot {
  opacity: 1;
}

/* ---------- login / welcome ---------- */
.login {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 100dvh;
  position: relative;
  z-index: 1;
}
.login-hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 6vw;
  background:
    radial-gradient(
      120% 130% at 78% 8%,
      color-mix(in srgb, var(--champagne) 30%, var(--paper)),
      transparent 55%
    ),
    radial-gradient(
      120% 120% at 8% 100%,
      color-mix(in srgb, var(--bordeaux) 22%, var(--paper)),
      transparent 55%
    ),
    linear-gradient(155deg, var(--oyster-2), var(--paper));
}
.lh-inner {
  position: relative;
  max-width: 460px;
}
.lh-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--display);
  font-size: 30px;
  letter-spacing: 0.5px;
}
.lh-brand .glyph {
  width: 29px;
  height: 29px;
}
.lh-head {
  font-family: var(--display);
  font-optical-sizing: auto;
  font-size: clamp(40px, 5vw, 66px);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.015em;
  margin: 28px 0 0;
}
.lh-head em {
  font-style: italic;
  color: var(--bordeaux);
}
.lh-sub {
  font-size: 16px;
  color: var(--ink-soft);
  margin-top: 18px;
  max-width: 44ch;
  line-height: 1.6;
}
.lh-foot {
  margin-top: 42px;
  font-family: var(--label);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  display: flex;
  align-items: center;
  gap: 8px;
}
.lh-foot svg {
  width: 15px;
  height: 15px;
}
.login-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 6vw;
  background: var(--oyster);
  border-left: 1px solid var(--line);
}
.lp-card {
  width: 100%;
  max-width: 380px;
}
.lp-h {
  margin-bottom: 20px;
}
.lp-h h2 {
  font-size: 32px;
  font-style: italic;
  margin-top: 4px;
}
.lp-tabs {
  display: flex;
  gap: 4px;
  background: var(--oyster-2);
  border-radius: 12px;
  padding: 4px;
  margin-bottom: 20px;
}
.lp-tab {
  flex: 1;
  background: none;
  border: 0;
  padding: 10px;
  border-radius: 9px;
  font-size: 13px;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
  transition: 0.15s;
}
.lp-tab.on {
  background: var(--card);
  color: var(--ink);
  box-shadow: var(--shadow);
}
.roletoggle {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}
.rt-btn {
  text-align: left;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 12px 14px;
  font-size: 13.5px;
  color: var(--ink-soft);
  font-family: var(--body);
  transition: 0.15s;
}
.rt-btn.on {
  border-color: var(--bordeaux);
  color: var(--ink);
  background: color-mix(in srgb, var(--bordeaux) 7%, var(--card));
}
.lp-field {
  margin-bottom: 13px;
}
.lp-field.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.lp-field label {
  display: block;
  font-family: var(--label);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 6px;
}
.lp-field input,
.lp-field select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--card);
  padding: 12px 14px;
  font-size: 14.5px;
}
.lp-field input:focus,
.lp-field select:focus {
  outline: none;
  border-color: var(--bordeaux);
}
.lp-primary {
  width: 100%;
  background: var(--bordeaux);
  color: #fbf6ec;
  border: 0;
  border-radius: 12px;
  padding: 14px;
  font-family: var(--label);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 6px;
  transition: 0.15s;
  box-shadow: 0 10px 24px -12px var(--bordeaux);
}
.lp-primary:hover {
  background: var(--bordeaux-deep);
  transform: translateY(-1px);
}
.lp-or {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 22px 0 16px;
  color: var(--ink-faint);
  font-family: var(--label);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.lp-or::before,
.lp-or::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--line);
}
.lp-samples {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sample-card {
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  background: var(--card);
  border: 1px solid var(--card-edge);
  border-radius: 13px;
  padding: 14px 16px;
  box-shadow: var(--shadow);
  transition: 0.16s;
  color: var(--ink);
  width: 100%;
}
.sample-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
  border-color: var(--champagne);
}
.sc-i {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 50%;
  background: var(--oyster-2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bordeaux);
}
.sc-i svg {
  width: 19px;
  height: 19px;
}
.sc-t {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.sc-k {
  font-family: var(--label);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.sc-n {
  font-family: var(--display);
  font-size: 17px;
  margin-top: 2px;
}
.sc-go svg {
  width: 18px;
  height: 18px;
  transform: rotate(-90deg);
  color: var(--ink-faint);
}
.lp-note {
  font-size: 11.5px;
  color: var(--ink-faint);
  margin-top: 18px;
  line-height: 1.5;
}
.samplebar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  background: color-mix(in srgb, var(--bordeaux) 8%, var(--card));
  border-bottom: 1px solid var(--line);
  padding: 10px 20px;
  font-size: 13px;
  color: var(--ink-soft);
}
.samplebtn {
  background: var(--bordeaux);
  color: #fbf6ec;
  border: 0;
  border-radius: 20px;
  padding: 7px 15px;
  font-family: var(--label);
  font-size: 11px;
  letter-spacing: 0.05em;
  cursor: pointer;
}
.railacct {
  font-family: var(--label);
  font-size: 11px;
  color: var(--ink-faint);
  letter-spacing: 0.02em;
  margin-top: 6px;
  line-height: 1.5;
}
@media (max-width: 860px) {
  .login {
    grid-template-columns: 1fr;
  }
  .login-hero {
    padding: 46px 26px 30px;
  }
  .lh-head {
    font-size: clamp(34px, 10vw, 46px);
  }
  .lh-sub {
    font-size: 14.5px;
  }
  .lh-foot {
    margin-top: 26px;
  }
  .login-panel {
    padding: 26px 22px 48px;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}

/* ---------- mobile More sheet ---------- */
.sheetscrim {
  align-items: flex-end;
  padding: 0;
}
.moresheet {
  background: var(--paper);
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  padding: 14px 14px calc(20px + env(safe-area-inset-bottom));
  box-shadow: var(--shadow-lift);
  animation: rise 0.3s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.sheet-h {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 8px 12px;
}
.sheet-item {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  background: none;
  border: 0;
  padding: 14px 12px;
  border-radius: 12px;
  color: var(--ink);
  font-size: 15px;
  font-family: var(--body);
  text-align: left;
}
.sheet-item:hover,
.sheet-item:active {
  background: var(--oyster-2);
}
.sheet-item svg {
  width: 20px;
  height: 20px;
  color: var(--ink-soft);
}
.sheet-section {
  padding: 15px 12px 5px;
  font-family: var(--label);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

@media (max-width: 860px) {
  .cal-grid {
    gap: 3px;
    padding: 8px;
    border-radius: 12px;
  }
  .cal-cell {
    min-height: 62px;
    padding: 5px;
    border-radius: 8px;
  }
  .cal-num {
    font-size: 13px;
  }
  .cal-pill {
    font-size: 0;
    padding: 3px;
    border-left-width: 3px;
  }
  .cal-pill {
    height: 5px;
  }
  .cal-more {
    display: none;
  }
  .cal-heart svg {
    width: 12px;
    height: 12px;
  }
  .cal-month {
    font-size: 21px;
    min-width: 0;
  }
  .insp-grid {
    columns: 2 140px;
    column-gap: 12px;
  }
  .msg-wrap {
    grid-template-columns: 1fr;
    height: min(600px, 72vh);
  }
  .msg-wrap .msg-convo {
    display: none;
  }
  .msg-wrap.show-convo .msg-list {
    display: none;
  }
  .msg-wrap.show-convo .msg-convo {
    display: flex;
  }
  .msg-back {
    display: inline-flex;
  }
  .task-actions,
  .pm-foot {
    opacity: 1;
  }
  .remind-actions {
    margin-left: 0;
    width: 100%;
  }
}
/* --- integrated features: budget / guests / preferred vendors --- */
.bg-summary {
  background: var(--card);
  border: 1px solid var(--hair);
  border-radius: 16px;
  padding: 18px;
  margin: 4px 0 16px;
}
.bg-tot {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
.bg-big {
  font-family: var(--display);
  font-size: 30px;
  line-height: 1;
}
.bg-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 14px 0 10px;
}
.bg-stat .n {
  font-family: var(--display);
  font-size: 18px;
}
.bg-stat .k,
.bg-tot .k {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
}
.bg-bar,
.bg-mini {
  height: 7px;
  border-radius: 6px;
  background: var(--hair);
  overflow: hidden;
}
.bg-bar > i,
.bg-mini > i {
  display: block;
  height: 100%;
  background: var(--sage);
  border-radius: 6px;
}
.bg-bar.over > i {
  background: var(--bordeaux);
}
.bg-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--hair);
}
.bg-main {
  flex: 1;
  min-width: 0;
}
.bg-cat {
  font-weight: 600;
}
.bg-nums {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--ink-soft);
  margin: 2px 0 6px;
}
.bg-paid {
  color: var(--sage);
}
.bg-mini {
  max-width: 220px;
}
.bg-act {
  display: flex;
  gap: 2px;
}
.g-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--hair);
}
.g-main {
  flex: 1;
  min-width: 0;
}
.g-name {
  font-weight: 600;
}
.g-party {
  color: var(--ink-faint);
  font-weight: 400;
  font-size: 12px;
}
.g-meta {
  font-size: 12.5px;
  color: var(--ink-soft);
  margin-top: 2px;
}
.g-rsvp {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  white-space: nowrap;
}
.g-rsvp > i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}
.g-act {
  display: flex;
  gap: 2px;
}
.pref-head {
  margin: 26px 0 10px;
}
.pref-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}
.pref-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--hair);
  border-radius: 14px;
  padding: 14px;
}
.pref-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--bordeaux);
  border: 1px solid var(--bordeaux);
  border-radius: 999px;
  padding: 2px 7px;
}
.pref-role {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
}
.pref-name {
  font-family: var(--display);
  font-size: 18px;
  margin: 2px 0;
}
.pref-note {
  font-size: 13px;
  color: var(--ink-soft);
  margin: 4px 0;
}
.pref-foot {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 12.5px;
  margin-top: 8px;
  flex-wrap: wrap;
}
/* --- internal team access preview --- */
.rolebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: color-mix(in srgb, var(--sage) 12%, var(--card));
  border-bottom: 1px solid var(--line);
  padding: 9px 24px;
  font-size: 12.5px;
  color: var(--ink-soft);
}
.rolebar b {
  color: var(--ink);
}
.rolepill {
  font-family: var(--label);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid color-mix(in srgb, var(--sage) 55%, transparent);
  border-radius: 999px;
  padding: 3px 8px;
  color: var(--sage);
}
.access-setup {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: 18px;
}
.access-card {
  background: var(--card);
  border: 1px solid var(--card-edge);
  border-radius: 15px;
  padding: 20px;
  box-shadow: var(--shadow);
}
.access-card h3 {
  font-size: 23px;
  font-style: italic;
  margin-bottom: 6px;
}
.access-card p {
  color: var(--ink-soft);
  font-size: 13.5px;
}
.access-pass {
  display: flex;
  gap: 8px;
  align-items: end;
}
.access-pass .field {
  flex: 1;
  margin: 0;
}
.access-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 14px;
}
.access-user {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
}
.access-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--champagne) 20%, var(--paper));
  font-family: var(--display);
  font-size: 16px;
  color: var(--bordeaux);
}
.access-main {
  flex: 1;
  min-width: 0;
}
.access-name {
  font-weight: 600;
}
.access-meta {
  font-size: 12px;
  color: var(--ink-faint);
}
.access-actions {
  display: flex;
  gap: 3px;
}
.access-empty {
  padding: 24px 0;
  color: var(--ink-faint);
  text-align: center;
}
html.is-team .owner-only {
  display: none !important;
}
html.is-team [data-edit-bg],
html.is-team [data-del-bg],
html.is-team [data-edit-g],
html.is-team [data-del-g],
html.is-team [data-edit-pref],
html.is-team [data-del-pref],
html.is-team [data-edit-block],
html.is-team [data-del-block],
html.is-team [data-move-block],
html.is-team [data-edit-vendor],
html.is-team [data-del-vendor],
html.is-team [data-edit-note],
html.is-team [data-del-note],
html.is-team [data-edit-ms],
html.is-team [data-del-ms],
html.is-team [data-del-insp],
html.is-team [data-edit-task],
html.is-team [data-del-task],
html.is-team [data-toggle-task],
html.is-team [data-edit-pm],
html.is-team [data-del-pm] {
  display: none !important;
}
html.is-team #editBudgetTotal,
html.is-team #addBg,
html.is-team #addG,
html.is-team #addPref,
html.is-team #editCouple,
html.is-team #heroBtn,
html.is-team #addBlock,
html.is-team #addVendor,
html.is-team #editVenue,
html.is-team #editFlowers,
html.is-team #editExtras,
html.is-team #addNote,
html.is-team #resetDemo,
html.is-team #addMs,
html.is-team #addInspo,
html.is-team #pinConnect,
html.is-team #pinEdit,
html.is-team #pinRemove,
html.is-team #newThread,
html.is-team #connectEmail,
html.is-team #editEmail,
html.is-team #addTask,
html.is-team #planDayBtn,
html.is-team #addPm,
html.is-team #exportJson,
html.is-team #importJson {
  display: none !important;
}
html.is-team .notecompose,
html.is-team .convo-compose {
  display: none !important;
}
.test-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(250px, 0.85fr);
  gap: 16px;
  margin-bottom: 18px;
}
.test-card {
  background: var(--card);
  border: 1px solid var(--card-edge);
  border-radius: 15px;
  padding: 20px;
  box-shadow: var(--shadow);
}
.test-card h3 {
  font-size: 24px;
  font-style: italic;
  margin-bottom: 7px;
}
.test-card p {
  font-size: 13.5px;
  color: var(--ink-soft);
}
.test-steps {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}
.test-step {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 11px;
  align-items: start;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
}
.test-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--champagne) 18%, var(--paper));
  color: var(--bordeaux);
  font-family: var(--display);
}
.test-step b {
  display: block;
  margin-bottom: 2px;
}
.test-step span:last-child {
  font-size: 13px;
  color: var(--ink-soft);
}
@media (max-width: 760px) {
  .access-setup,
  .test-intro {
    grid-template-columns: 1fr;
  }
  .rolebar {
    padding: 8px 14px;
    align-items: flex-start;
  }
  .access-pass {
    align-items: stretch;
    flex-direction: column;
  }
  .nav-section {
    display: none;
  }
}
