:root {
  --ink: #15223f;
  --muted: #65708a;
  --line: #dbe6ff;
  --paper: #fff8ed;
  --panel: #ffffff;
  --mint: #16c784;
  --mint-dark: #078a63;
  --sun: #ffbf3f;
  --coral: #ff6b6b;
  --blue: #3282ff;
  --violet: #8b5cf6;
  --pink: #ff5fa2;
  --shadow: 0 24px 70px rgba(21, 34, 63, 0.16);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(255, 95, 162, 0.18), transparent 24rem),
    radial-gradient(circle at 80% 10%, rgba(50, 130, 255, 0.18), transparent 26rem),
    radial-gradient(circle at 50% 90%, rgba(255, 191, 63, 0.2), transparent 28rem),
    linear-gradient(135deg, #fff8ed 0%, #f3f7ff 46%, #eefdf7 100%);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.app-shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  min-height: 100vh;
  overflow-x: hidden;
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 24px;
  border-right: 1px solid rgba(24, 32, 29, 0.08);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(24px);
}

.brand,
.side-nav a,
.primary-action,
.hero-badge,
.phone-card,
.featured-person,
.bottom-nav a {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  margin-bottom: 28px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 12px;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(24, 32, 29, 0.14));
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  margin-top: 2px;
}

.side-nav {
  display: grid;
  gap: 8px;
}

.side-nav a {
  gap: 10px;
  min-height: 44px;
  padding: 0 12px;
  border-radius: var(--radius);
  color: var(--muted);
  font-weight: 800;
}

.side-nav a.active,
.side-nav a:hover {
  color: #ffffff;
  background: linear-gradient(135deg, var(--mint), var(--blue));
  box-shadow: 0 12px 26px rgba(50, 130, 255, 0.2);
}

.nav-icon,
.bottom-nav span,
.primary-action span,
.hero-badge span {
  flex: 0 0 auto;
}

.home-icon,
.grid-icon,
.plus-icon,
.star-icon,
.pin-icon,
.search-icon,
.verified-icon,
.spark-icon {
  display: inline-block;
  width: 18px;
  height: 18px;
  background: currentColor;
  color: var(--mint-dark);
  -webkit-mask: var(--icon) center / contain no-repeat;
  mask: var(--icon) center / contain no-repeat;
}

.home-icon {
  --icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m3 10 9-7 9 7v10a1 1 0 0 1-1 1h-5v-6H9v6H4a1 1 0 0 1-1-1V10Z'/%3E%3C/svg%3E");
}

.grid-icon {
  --icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='3' y='3' width='7' height='7' rx='1'/%3E%3Crect x='14' y='3' width='7' height='7' rx='1'/%3E%3Crect x='3' y='14' width='7' height='7' rx='1'/%3E%3Crect x='14' y='14' width='7' height='7' rx='1'/%3E%3C/svg%3E");
}

.plus-icon {
  --icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
}

.star-icon {
  --icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='black' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m12 2.7 2.8 5.8 6.4.9-4.6 4.5 1.1 6.3-5.7-3-5.7 3 1.1-6.3-4.6-4.5 6.4-.9L12 2.7Z'/%3E%3C/svg%3E");
}

.pin-icon {
  --icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 10c0 5-8 11-8 11S4 15 4 10a8 8 0 1 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
}

.search-icon {
  --icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.3' stroke-linecap='round' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-4-4'/%3E%3C/svg%3E");
}

.verified-icon {
  --icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='black' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 2 9.6 4.1 6.4 4 5.3 7 2.6 8.8 3.5 12l-.9 3.2L5.3 17l1.1 3 3.2-.1L12 22l2.4-2.1 3.2.1 1.1-3 2.7-1.8-.9-3.2.9-3.2L18.7 7l-1.1-3-3.2.1L12 2Zm-1.2 13.4-3-3 1.4-1.4 1.6 1.6 4-4 1.4 1.4-5.4 5.4Z'/%3E%3C/svg%3E");
}

.spark-icon {
  --icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='black' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m13 2 1.9 6.1L21 10l-6.1 1.9L13 18l-1.9-6.1L5 10l6.1-1.9L13 2ZM5.5 14l.9 2.6L9 17.5l-2.6.9-.9 2.6-.9-2.6-2.6-.9 2.6-.9.9-2.6Z'/%3E%3C/svg%3E");
}

.light {
  color: white;
}

.sidebar-card {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
}

.sidebar-card p {
  margin: 4px 0;
  color: var(--muted);
  line-height: 1.4;
}

.sidebar-card strong {
  color: var(--ink);
}

.status-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 99px;
  background: var(--mint);
  box-shadow: 0 0 0 5px rgba(31, 175, 133, 0.12);
}

.main {
  min-width: 0;
  padding: 28px;
  padding-bottom: 80px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-bottom: 22px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--mint-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0;
  font-size: clamp(1.45rem, 2vw, 2.2rem);
  line-height: 1.05;
}

h2 {
  margin-bottom: 0;
}

.primary-action,
.login-action,
.search-panel button,
.signup-card button {
  gap: 8px;
  border: 0;
  border-radius: var(--radius);
  color: white;
  background: linear-gradient(135deg, var(--pink), var(--violet));
  font-weight: 900;
  box-shadow: 0 16px 30px rgba(139, 92, 246, 0.24);
}

.primary-action {
  min-height: 46px;
  padding: 0 16px;
  white-space: nowrap;
}

.login-action {
  min-height: 46px;
  padding: 0 16px;
  color: white;
  background: linear-gradient(135deg, var(--mint), var(--blue));
  border: 0;
  box-shadow: 0 16px 30px rgba(22, 199, 132, 0.2);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 22px;
  min-height: 470px;
  padding: 28px;
  border-radius: var(--radius);
  overflow: hidden;
  background:
    linear-gradient(110deg, rgba(21, 34, 63, 0.9), rgba(50, 130, 255, 0.55), rgba(255, 95, 162, 0.24)),
    image-set(
      url("data:image/svg+xml,%3Csvg viewBox='0 0 1200 700' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='1200' height='700' fill='%23eaf1e8'/%3E%3Crect x='60' y='80' width='280' height='460' rx='12' fill='%23d6a052'/%3E%3Crect x='390' y='120' width='230' height='360' rx='12' fill='%233278c9'/%3E%3Crect x='670' y='70' width='420' height='500' rx='12' fill='%231faf85'/%3E%3Ccircle cx='880' cy='310' r='130' fill='%23fbfaf6' opacity='.6'/%3E%3Cpath d='M0 560c180-60 290-30 430-10 230 35 405-55 770-20v170H0Z' fill='%23ffffff' opacity='.65'/%3E%3C/svg%3E") type("image/svg+xml")
    );
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: white;
  max-width: 820px;
}

.hero-badge {
  gap: 8px;
  width: fit-content;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 0.9rem;
  font-weight: 800;
}

.hero h2 {
  margin: 18px 0 12px;
  font-size: clamp(2.4rem, 6vw, 5.6rem);
  line-height: 0.94;
  max-width: 850px;
}

.hero p {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
  line-height: 1.55;
}

.search-panel {
  display: grid;
  grid-template-columns: minmax(180px, 1.1fr) minmax(160px, 0.9fr) auto;
  gap: 10px;
  margin-top: 20px;
  padding: 10px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.16);
}

.search-panel label,
.signup-card label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
}

.search-panel input,
.signup-card input,
.signup-card select,
.signup-card textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: white;
  outline: none;
}

.search-panel input {
  min-height: 48px;
  padding: 0 12px;
}

.search-panel button {
  align-self: end;
  min-height: 48px;
  padding: 0 18px;
}

.hero-actions,
.action-panel {
  display: grid;
  gap: 10px;
}

.hero-actions {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 14px;
}

.hero-actions a,
.hero-actions button,
.action-panel button {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 12px;
  border-radius: var(--radius);
  font-weight: 900;
  text-align: left;
}

.hero-actions a,
.hero-actions button {
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: white;
  background: rgba(255, 255, 255, 0.18);
}

.hero-actions a:hover,
.hero-actions button:hover {
  background: rgba(255, 255, 255, 0.2);
}

.action-panel {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 18px 0;
}

.action-panel button {
  display: grid;
  grid-template-columns: auto 1fr;
  align-content: center;
  min-height: 86px;
  border: 1px solid rgba(24, 32, 29, 0.08);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 34px rgba(50, 130, 255, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.action-panel button:hover,
.signup-choice button:hover,
.quick-start article:hover {
  transform: translateY(-2px);
  border-color: rgba(50, 130, 255, 0.28);
  box-shadow: 0 18px 44px rgba(50, 130, 255, 0.14);
}

.action-panel button span {
  grid-row: span 2;
  align-self: center;
}

.quick-start {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0;
}

.quick-start article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 10px;
  align-items: start;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
}

.quick-start span {
  display: grid;
  grid-row: span 2;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  color: white;
  background: var(--mint-dark);
  font-weight: 900;
}

.quick-start strong {
  line-height: 1.2;
}

.quick-start p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.35;
}

.empty-result .empty-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.empty-result .empty-actions button {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: white;
  font-weight: 900;
}

.empty-result .empty-actions button:last-child {
  color: white;
  border-color: var(--mint-dark);
  background: var(--mint-dark);
}

.action-panel strong,
.action-panel small {
  display: block;
}

.action-panel small {
  color: var(--muted);
  font-weight: 800;
}

.info-accordion,
.compact-panel {
  display: grid;
  gap: 10px;
}

.info-accordion {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 18px 0 26px;
}

.info-accordion details,
.compact-panel details {
  border: 1px solid rgba(24, 32, 29, 0.08);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 28px rgba(24, 32, 29, 0.05);
}

.info-accordion summary,
.compact-panel summary {
  min-height: 48px;
  padding: 14px;
  font-weight: 900;
  cursor: pointer;
}

.info-accordion p,
.compact-panel p {
  margin: 0;
  padding: 0 14px 14px;
  color: var(--muted);
  line-height: 1.45;
}

.stories-section {
  margin: 22px 0 28px;
}

.story-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 150px;
  gap: 12px;
  overflow-x: auto;
  padding: 4px 0 8px;
}

.story-card,
.story-empty {
  min-height: 210px;
  border: 1px solid rgba(24, 32, 29, 0.08);
  border-radius: var(--radius);
  background: white;
  box-shadow: 0 12px 28px rgba(24, 32, 29, 0.06);
}

.story-card {
  position: relative;
  display: grid;
  align-content: end;
  gap: 5px;
  overflow: hidden;
  padding: 10px;
  color: white;
  text-align: left;
}

.story-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.78));
}

.story-card img,
.story-card video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-card span,
.story-card strong,
.story-card small {
  position: relative;
  z-index: 1;
}

.story-card span {
  width: fit-content;
  padding: 4px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 0.74rem;
  font-weight: 900;
}

.story-card.following {
  outline: 3px solid var(--mint);
}

.story-empty {
  display: grid;
  place-items: center;
  padding: 16px;
  color: var(--muted);
  text-align: center;
  line-height: 1.4;
}

.hero-phone {
  align-self: center;
  justify-self: center;
  width: min(100%, 340px);
  min-height: 420px;
  padding: 18px;
  border: 10px solid #111916;
  border-radius: 32px;
  background: #f9fbf7;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.36);
}

.phone-top {
  width: 78px;
  height: 6px;
  margin: 0 auto 18px;
  border-radius: 99px;
  background: #111916;
}

.phone-card {
  gap: 10px;
  padding: 12px;
  border-radius: var(--radius);
  background: white;
  box-shadow: 0 14px 35px rgba(24, 32, 29, 0.12);
}

.phone-card small,
.featured-person small {
  display: block;
  color: var(--muted);
  margin-top: 2px;
}

.rating {
  margin-left: auto;
  padding: 5px 7px;
  border-radius: 999px;
  color: #6e4600;
  background: #fff0c4;
  font-weight: 900;
}

.mini-feed {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 14px 0;
}

.photo-tile {
  min-height: 110px;
  border-radius: var(--radius);
  background-size: cover;
  background-position: center;
}

.photo-tile:first-child {
  grid-row: span 2;
}

.nails {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 240 320' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='240' height='320' fill='%23ffd8d1'/%3E%3Ccircle cx='115' cy='95' r='58' fill='%23ef6f61'/%3E%3Crect x='42' y='176' width='156' height='38' rx='19' fill='%23fff6ea'/%3E%3Crect x='60' y='231' width='120' height='26' rx='13' fill='%2318201d' opacity='.18'/%3E%3C/svg%3E");
}

.garden {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 240 160' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='240' height='160' fill='%23dff2e8'/%3E%3Cpath d='M0 110c50-35 100 30 150-5 35-25 55-18 90-5v60H0Z' fill='%231faf85'/%3E%3Ccircle cx='48' cy='42' r='22' fill='%23f8b84e'/%3E%3C/svg%3E");
}

.repair {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 240 160' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='240' height='160' fill='%23dce9f8'/%3E%3Crect x='40' y='42' width='160' height='72' rx='8' fill='%233278c9'/%3E%3Cpath d='M65 50h35v55H65zM118 50h55v18h-55zM118 82h55v23h-55z' fill='%23fff' opacity='.72'/%3E%3C/svg%3E");
}

.compact {
  font-weight: 900;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 18px 0;
}

.metrics article {
  padding: 18px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(24, 32, 29, 0.08);
}

.metrics strong {
  display: block;
  font-size: 1.5rem;
}

.metrics span {
  color: var(--muted);
}

.secondary-metrics {
  margin-top: 0;
  margin-bottom: 30px;
}

.flow-section {
  margin: 28px 0;
}

.user-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 18px;
  align-items: stretch;
  margin: 28px 0;
  padding: 22px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(24, 32, 29, 0.08);
  box-shadow: 0 18px 40px rgba(24, 32, 29, 0.08);
}

.launch-section,
.monetization-section {
  margin: 30px 0;
}

.admin-only {
  display: none;
}

.side-nav a.admin-only {
  display: none;
}

.account-only {
  display: none;
}

body.admin-session .admin-only {
  display: block;
}

body.admin-session .side-nav .admin-only {
  display: flex;
}

body.admin-session .admin-screen {
  display: none;
}

body.logged-session .account-only {
  display: block;
}

body.admin-view .main > * {
  display: none !important;
}

body.admin-view .main > .admin-screen {
  display: block !important;
}

body.admin-view .main > .admin-screen + .admin-screen {
  margin-top: 18px;
}

body.admin-view .sidebar-card p:last-child {
  display: none;
}

body.admin-view .bottom-nav {
  display: none !important;
}

.account-link {
  display: none !important;
}

body.logged-session .account-link {
  display: flex !important;
}

.dashboard-grid,
.money-grid,
.role-board,
.account-grid {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.dashboard-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.money-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.role-board {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.account-section {
  margin: 30px 0;
}

.account-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.account-avatar {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin: 4px 0 10px;
  border-radius: 50%;
  color: white;
  background: var(--mint-dark) center / cover no-repeat;
  font-weight: 900;
}

.avatar-upload {
  display: grid;
  gap: 6px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
}

.avatar-upload input {
  max-width: 100%;
  font-size: 0.8rem;
}

.dashboard-grid article,
.role-board div,
.money-grid article,
.account-grid article,
.payment-next {
  padding: 16px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(24, 32, 29, 0.08);
  box-shadow: 0 14px 34px rgba(24, 32, 29, 0.06);
}

.dashboard-grid span,
.money-grid span,
.account-grid span {
  display: block;
  color: var(--muted);
  font-weight: 900;
}

.dashboard-grid strong,
.money-grid strong,
.account-grid strong {
  display: block;
  margin: 6px 0;
  font-size: 1.35rem;
}

.dashboard-grid p,
.role-board p,
.money-grid p,
.account-grid p,
.monetization-section p,
.payment-next span {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.role-board h3 {
  margin: 0 0 8px;
}

.featured-plan {
  color: white;
  background: linear-gradient(135deg, var(--mint-dark), var(--blue)) !important;
}

.featured-plan span,
.featured-plan p {
  color: rgba(255, 255, 255, 0.82);
}

.payment-next {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.payment-next strong {
  margin-bottom: 2px;
}

.owner-panel {
  margin-top: 14px;
}

.owner-card {
  padding: 16px;
  border-radius: var(--radius);
  color: white;
  background: linear-gradient(135deg, #18201d, #27463e);
}

.owner-card h3 {
  margin: 0 0 8px;
}

.owner-card p {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.45;
}

.owner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.account-alerts {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.account-alert {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
}

.account-alert strong,
.account-alert span {
  display: block;
}

.account-alert span {
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.35;
}

.account-alert a,
.account-alert button {
  grid-row: 1 / span 2;
  grid-column: 2;
  min-height: 34px;
  padding: 0 10px;
  border: 0;
  border-radius: var(--radius);
  color: var(--ink);
  background: white;
  font-weight: 900;
  text-decoration: none;
}

.account-alert.warning {
  border-color: rgba(255, 213, 128, 0.44);
  background: rgba(255, 196, 87, 0.14);
}

.account-alert.success {
  border-color: rgba(121, 236, 183, 0.38);
  background: rgba(78, 196, 140, 0.14);
}

.account-alert.danger {
  border-color: rgba(255, 139, 139, 0.42);
  background: rgba(217, 70, 70, 0.14);
}

.owner-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.owner-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.owner-tabs button {
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.1);
  font-weight: 900;
}

.owner-tabs button.active {
  color: var(--ink);
  background: white;
}

.owner-tab-content {
  margin-top: 10px;
  padding: 12px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
}

.owner-tab-content p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.owner-list-item {
  padding: 12px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.owner-list-item strong,
.owner-list-item span {
  display: block;
}

.owner-list-item span {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.4;
}

.owner-list-item em {
  display: block;
  margin-top: 8px;
  padding: 8px;
  border-radius: var(--radius);
  color: #ffe7b0;
  background: rgba(255, 240, 196, 0.12);
  font-style: normal;
}

.owner-list-item button {
  min-height: 34px;
  margin-top: 10px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  color: white;
  background: rgba(255, 255, 255, 0.12);
  font-weight: 900;
}

.followed-story-item {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  align-items: center;
  gap: 10px;
}

.followed-story-media {
  width: 72px;
  height: 72px;
  border-radius: var(--radius);
  object-fit: cover;
  background: rgba(255, 255, 255, 0.12);
}

.followed-story-item button {
  margin-top: 0;
  white-space: nowrap;
}

.story-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.story-form input {
  min-height: 38px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
}

.story-form input[type="file"] {
  padding: 8px;
  color: white;
}

.owner-actions a,
.owner-actions button {
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  color: white;
  background: rgba(255, 255, 255, 0.12);
  font-weight: 900;
}

.admin-queue {
  margin-top: 14px;
  padding: 16px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(24, 32, 29, 0.08);
  box-shadow: 0 14px 34px rgba(24, 32, 29, 0.06);
}

.connection-status {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: white;
  color: var(--muted);
  font-weight: 900;
}

.connection-status.connected {
  color: var(--mint-dark);
  border-color: rgba(31, 175, 133, 0.35);
  background: #effaf5;
}

.connection-status.failed {
  color: #8f2d24;
  border-color: rgba(239, 111, 97, 0.35);
  background: #fff0ed;
}

.approval-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.approval-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
}

.approval-item strong,
.approval-item span {
  display: block;
}

.approval-item span {
  margin-top: 3px;
  color: var(--muted);
  line-height: 1.35;
}

.report-item {
  border-color: #efd2aa;
  background: #fff8e8;
}

.report-item p {
  margin: 10px 0 0;
  color: #72521a;
  line-height: 1.4;
}

.approval-media {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.approval-media img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #f6f8f6;
}

.approval-media span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 10px;
  border-radius: 999px;
  background: #f6f8f6;
}

.review-note-input {
  width: 100%;
  min-height: 66px;
  margin-top: 10px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  resize: vertical;
}

.approval-actions {
  display: flex;
  gap: 8px;
}

.approval-actions button {
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  font-weight: 900;
}

.approval-actions button:first-child {
  color: var(--ink);
  border-color: var(--line);
  background: white;
}

.approval-actions button:nth-child(2) {
  color: white;
  border-color: var(--mint-dark);
  background: var(--mint-dark);
}

.approval-actions button:nth-child(3) {
  color: #6e4600;
  border-color: #f4dfac;
  background: #fff0c4;
}

.approval-actions button:last-child {
  color: white;
  border-color: var(--coral);
  background: var(--coral);
}

.attachment-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}

.attachment-summary span {
  padding: 7px 10px;
  border-radius: 999px;
  background: #f0f4f1;
  color: var(--muted);
  font-weight: 900;
}

.attachment-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.attachment-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.private-docs-note {
  margin-top: 14px;
  padding: 12px;
  border-radius: var(--radius);
  background: #fff8e8;
  border: 1px solid #f4dfac;
}

.private-docs-note p {
  margin: 5px 0 0;
  color: #72521a;
}

.video-list {
  margin-top: 16px;
}

.video-list h3 {
  margin: 0 0 10px;
}

.video-list video {
  display: block;
  width: 100%;
  max-height: 320px;
  margin-top: 10px;
  border-radius: var(--radius);
  background: #111916;
}

.private-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.private-links a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: var(--radius);
  color: white;
  background: var(--ink);
  font-weight: 900;
}

.user-section p:not(.eyebrow) {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.user-card {
  display: grid;
  gap: 12px;
  padding: 16px;
  border-radius: var(--radius);
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--violet));
}

.user-card .avatar {
  width: 58px;
  height: 58px;
}

.user-card span {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.76);
}

.user-card ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.84);
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.flow-grid article {
  padding: 18px;
  border-radius: var(--radius);
  color: white;
  background: linear-gradient(135deg, #18201d, #27463e);
}

.flow-grid strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.flow-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.45;
}

.trust-section,
.name-section {
  margin: 28px 0;
}

.trust-grid,
.name-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.trust-grid article,
.name-grid article {
  padding: 16px;
  border: 1px solid rgba(24, 32, 29, 0.08);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 14px 34px rgba(24, 32, 29, 0.06);
}

.trust-grid span {
  width: 24px;
  height: 24px;
  margin-bottom: 12px;
}

.trust-grid h3,
.name-grid strong {
  display: block;
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.trust-grid p,
.name-grid span {
  display: block;
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.disclaimer-box,
.profile-disclaimer,
.legal-footer {
  border: 1px solid #efd2aa;
  border-radius: var(--radius);
  background: #fff8e8;
  color: #72521a;
}

.disclaimer-box {
  margin-top: 14px;
  padding: 16px;
}

.disclaimer-box strong,
.legal-footer strong {
  display: block;
  margin-bottom: 6px;
  color: #4d3812;
}

.disclaimer-box p,
.profile-disclaimer,
.legal-footer span {
  margin: 0;
  line-height: 1.45;
}

.profile-disclaimer {
  margin-top: 12px;
  padding: 12px;
  font-size: 0.9rem;
}

.danger-button {
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(143, 45, 36, 0.28);
  border-radius: 999px;
  color: #8f2d24;
  background: #fff0ed;
  font-weight: 900;
  cursor: pointer;
}

.legal-footer {
  margin-top: 28px;
  padding: 16px;
}

.name-grid article.active {
  color: white;
  background: linear-gradient(135deg, var(--mint-dark), var(--blue));
}

.name-grid article.active span {
  color: rgba(255, 255, 255, 0.82);
}

.section-head,
.feed-toolbar,
.panel-title {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.section-head {
  margin-top: 18px;
}

.segmented {
  display: flex;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
}

.segmented button {
  min-height: 36px;
  padding: 0 12px;
  border: 0;
  border-radius: 6px;
  color: var(--muted);
  background: transparent;
  font-weight: 900;
}

.segmented button.active {
  color: white;
  background: var(--ink);
}

.category-strip {
  display: grid;
  grid-template-columns: repeat(9, minmax(112px, 1fr));
  gap: 10px;
  max-width: 100%;
  margin: 16px 0 22px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  padding-bottom: 4px;
}

.subcategory-strip {
  display: flex;
  gap: 8px;
  max-width: 100%;
  margin: -8px 0 22px;
  overflow-x: auto;
  padding-bottom: 4px;
  overscroll-behavior-inline: contain;
}

.subcategory-button {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: white;
  font-weight: 900;
}

.subcategory-button.active,
.subcategory-button:hover {
  color: white;
  border-color: var(--ink);
  background: var(--ink);
}

.category-button {
  display: grid;
  gap: 6px;
  min-height: 84px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  text-align: left;
}

.category-button.active,
.category-button:hover {
  border-color: rgba(31, 175, 133, 0.6);
  background: #effaf5;
}

.category-button span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: var(--radius);
  color: white;
  background: var(--category-color);
  font-weight: 900;
}

.category-button strong {
  line-height: 1.1;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 22px;
  align-items: start;
}

.feed-toolbar {
  margin-bottom: 12px;
}

.ghost-button {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  background: white;
  font-weight: 900;
}

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

.worker-card {
  overflow: hidden;
  border: 1px solid rgba(24, 32, 29, 0.08);
  border-radius: var(--radius);
  background: white;
  box-shadow: 0 16px 36px rgba(24, 32, 29, 0.08);
}

.work-photo {
  min-height: 190px;
  background: var(--photo);
  background-size: cover;
  background-position: center;
}

.worker-body {
  padding: 14px;
}

.worker-head {
  display: flex;
  gap: 10px;
  align-items: center;
}

.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 3px solid white;
  background: var(--avatar);
  background-size: cover;
  box-shadow: 0 8px 16px rgba(24, 32, 29, 0.14);
}

.avatar-lia {
  --avatar: url("data:image/svg+xml,%3Csvg viewBox='0 0 96 96' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='96' height='96' fill='%23ffd8d1'/%3E%3Ccircle cx='48' cy='36' r='20' fill='%235b302a'/%3E%3Ccircle cx='48' cy='45' r='18' fill='%23bf7b67'/%3E%3Cpath d='M18 96c6-26 54-26 60 0' fill='%23ef6f61'/%3E%3C/svg%3E");
}

.avatar-joao {
  --avatar: url("data:image/svg+xml,%3Csvg viewBox='0 0 96 96' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='96' height='96' fill='%23dce9f8'/%3E%3Ccircle cx='48' cy='43' r='18' fill='%23a9693f'/%3E%3Cpath d='M24 31h48l-8-14H32z' fill='%23f8b84e'/%3E%3Cpath d='M18 96c8-28 52-28 60 0' fill='%233278c9'/%3E%3C/svg%3E");
}

.avatar-ana {
  --avatar: url("data:image/svg+xml,%3Csvg viewBox='0 0 96 96' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='96' height='96' fill='%23f4e9ff'/%3E%3Ccircle cx='48' cy='42' r='20' fill='%237b5bd6'/%3E%3Ccircle cx='48' cy='45' r='16' fill='%23c48770'/%3E%3Cpath d='M16 96c8-30 56-30 64 0' fill='%231faf85'/%3E%3C/svg%3E");
}

.avatar-carlos {
  --avatar: url("data:image/svg+xml,%3Csvg viewBox='0 0 96 96' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='96' height='96' fill='%23fff0c4'/%3E%3Ccircle cx='48' cy='43' r='18' fill='%23865a3d'/%3E%3Crect x='27' y='22' width='42' height='15' rx='7' fill='%2318201d'/%3E%3Cpath d='M17 96c9-30 53-30 62 0' fill='%23ef6f61'/%3E%3C/svg%3E");
}

.avatar-marcia {
  --avatar: url("data:image/svg+xml,%3Csvg viewBox='0 0 96 96' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='96' height='96' fill='%23dff2e8'/%3E%3Ccircle cx='48' cy='46' r='17' fill='%23b97860'/%3E%3Cpath d='M24 42c0-26 48-26 48 0 0 7-5 7-5 7-9-14-29-14-38 0 0 0-5 0-5-7Z' fill='%23392a20'/%3E%3Cpath d='M16 96c8-28 56-28 64 0' fill='%23f8b84e'/%3E%3C/svg%3E");
}

.avatar-renato {
  --avatar: url("data:image/svg+xml,%3Csvg viewBox='0 0 96 96' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='96' height='96' fill='%23eef1f0'/%3E%3Ccircle cx='48' cy='43' r='18' fill='%23765138'/%3E%3Cpath d='M24 34c8-20 40-20 48 0' fill='%2318201d'/%3E%3Cpath d='M18 96c8-30 52-30 60 0' fill='%2308785b'/%3E%3C/svg%3E");
}

.worker-title {
  min-width: 0;
}

.worker-title h3 {
  margin: 0;
  line-height: 1.1;
}

.worker-title span,
.worker-meta,
.worker-description {
  color: var(--muted);
}

.worker-title span {
  display: block;
  margin-top: 4px;
  font-size: 0.92rem;
}

.worker-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 10px;
  font-size: 0.9rem;
}

.pill {
  padding: 6px 8px;
  border-radius: 999px;
  background: #f0f4f1;
}

.worker-description {
  line-height: 1.45;
  margin-bottom: 14px;
}

.worker-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.whatsapp-button,
.profile-button {
  min-height: 42px;
  border-radius: var(--radius);
  font-weight: 900;
}

.whatsapp-button {
  border: 0;
  color: white;
  background: var(--mint-dark);
}

.profile-button {
  padding: 0 12px;
  border: 1px solid var(--line);
  color: var(--ink);
  background: white;
}

.right-panel {
  position: sticky;
  top: 24px;
  display: grid;
  gap: 14px;
}

.compact-panel {
  gap: 12px;
}

.compact-panel .featured-list,
.compact-panel .promo-list,
.compact-panel .price-card {
  margin: 0 14px 14px;
}

.panel-block {
  padding: 16px;
  border: 1px solid rgba(24, 32, 29, 0.08);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 40px rgba(24, 32, 29, 0.08);
}

.featured-list {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.featured-person {
  gap: 10px;
}

.featured-person strong {
  line-height: 1.1;
}

.price-card {
  margin-top: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
}

.price-card span {
  color: var(--muted);
  font-weight: 900;
}

.price-card strong {
  display: block;
  margin: 4px 0 6px;
  font-size: 1.25rem;
}

.price-card p {
  margin: 0;
  color: var(--muted);
}

.price-card.accent {
  border-color: rgba(31, 175, 133, 0.35);
  background: #effaf5;
}

.premium-section {
  margin: 26px 0;
  padding: 24px;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 191, 63, 0.24), transparent 24rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(239, 253, 247, 0.9));
  border: 1px solid rgba(50, 130, 255, 0.14);
  box-shadow: 0 18px 48px rgba(21, 34, 63, 0.08);
}

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

.premium-grid article {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
}

.premium-grid article.premium-card {
  color: white;
  border-color: transparent;
  background: linear-gradient(145deg, var(--violet), var(--pink));
  box-shadow: 0 20px 48px rgba(139, 92, 246, 0.2);
}

.premium-grid article.premium-card.store {
  background: linear-gradient(145deg, var(--blue), var(--mint));
}

.premium-grid span {
  color: var(--mint-dark);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.premium-grid .premium-card span,
.premium-grid .premium-card p,
.premium-grid .premium-card li {
  color: rgba(255, 255, 255, 0.88);
}

.premium-grid strong {
  font-size: 1.35rem;
  line-height: 1.1;
}

.premium-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.4;
}

.premium-grid ul {
  display: grid;
  gap: 7px;
  margin: 4px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.3;
}

.premium-action {
  margin-top: 4px;
  border: 0;
  border-radius: 12px;
  padding: 12px 14px;
  background: #ffffff;
  color: var(--violet);
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(21, 34, 63, 0.14);
}

.premium-action:hover {
  transform: translateY(-1px);
}

.premium-action.outline {
  border: 1px solid rgba(31, 175, 133, 0.28);
  background: linear-gradient(135deg, #ffffff, #ecfff8);
  color: var(--mint-dark);
}

.promo-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.promo-card {
  padding: 12px;
  border-radius: var(--radius);
  background: #fff8e8;
  border: 1px solid #f4dfac;
}

.promo-card strong {
  display: block;
  margin-bottom: 4px;
}

.promo-card span {
  display: block;
  color: #7c5a14;
  font-size: 0.9rem;
  line-height: 1.35;
}

.empty-panel {
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfaf6;
}

.empty-panel span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.35;
}

.signup-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(420px, 1.2fr);
  gap: 26px;
  align-items: start;
  margin-top: 34px;
  padding: 26px;
  border-radius: var(--radius);
  color: white;
  background: linear-gradient(135deg, #18201d, #243a34);
}

.signup-section p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.55;
}

.signup-section .eyebrow {
  color: #8ce3c2;
}

.signup-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 16px;
  border-radius: var(--radius);
  background: white;
}

.signup-choice {
  display: grid;
  gap: 12px;
}

.signup-hub .signup-card {
  grid-column: 1 / -1;
}

.signup-choice button {
  display: grid;
  gap: 6px;
  min-height: 124px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  color: white;
  text-align: left;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.signup-choice button:hover {
  border-color: rgba(140, 227, 194, 0.8);
  background: rgba(255, 255, 255, 0.14);
}

.signup-choice button.active {
  border-color: #8ce3c2;
  background: rgba(140, 227, 194, 0.16);
}

.signup-choice strong {
  font-size: 1.05rem;
}

.signup-choice span,
.form-heading p {
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.45;
}

.form-heading {
  display: grid;
  gap: 4px;
  padding: 14px;
  border-radius: var(--radius);
  color: white;
  background: #18201d;
}

.form-heading span {
  color: #8ce3c2;
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.form-heading strong {
  font-size: 1.15rem;
}

.form-heading p {
  margin: 0;
}

.is-hidden {
  display: none !important;
}

.signup-card input,
.signup-card select,
.signup-card textarea {
  min-height: 46px;
  padding: 10px 12px;
}

.signup-card input[type="file"] {
  padding: 9px;
  color: var(--muted);
}

.signup-card textarea {
  resize: vertical;
}

.wide {
  grid-column: 1 / -1;
}

.form-options {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--ink);
  font-weight: 800;
}

.form-options label {
  display: flex;
  align-items: center;
  gap: 8px;
}

.verification-box,
.premium-video-box {
  padding: 14px;
  border-radius: var(--radius);
  color: var(--ink);
}

.verification-box {
  border: 1px solid rgba(31, 175, 133, 0.28);
  background: #effaf5;
}

.premium-video-box {
  border: 1px solid #f4dfac;
  background: #fff8e8;
}

.verification-box strong,
.premium-video-box strong {
  display: block;
  margin-bottom: 6px;
}

.verification-box p,
.premium-video-box p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.signup-card button {
  min-height: 48px;
}

.bottom-nav {
  display: none;
}

.profile-dialog {
  width: min(760px, calc(100vw - 28px));
  border: 0;
  border-radius: var(--radius);
  padding: 0;
  background: white;
  box-shadow: var(--shadow);
}

.login-dialog {
  width: min(520px, calc(100vw - 28px));
  border: 0;
  border-radius: var(--radius);
  padding: 0;
  background: white;
  box-shadow: var(--shadow);
}

.signup-dialog {
  width: min(980px, calc(100vw - 28px));
  max-height: min(86vh, 820px);
  overflow: auto;
  border: 0;
  border-radius: var(--radius);
  padding: 0;
  background: transparent;
  box-shadow: var(--shadow);
}

.signup-dialog .signup-section {
  margin: 0;
}

.signup-dialog .dialog-close {
  position: sticky;
  top: 12px;
  float: right;
  z-index: 3;
  margin: 12px;
}

.login-dialog::backdrop {
  background: rgba(0, 0, 0, 0.46);
  backdrop-filter: blur(6px);
}

.signup-dialog::backdrop {
  background: rgba(21, 34, 63, 0.52);
  backdrop-filter: blur(8px);
}

.login-panel {
  padding: 24px;
}

.login-panel h2 {
  margin-bottom: 14px;
}

.login-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.login-options button {
  min-height: 54px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  font-weight: 900;
}

.login-options button:hover {
  color: white;
  border-color: var(--ink);
  background: var(--ink);
}

.google-box {
  margin-top: 14px;
  padding: 14px;
  border-radius: var(--radius);
  background: #f6f8f6;
  border: 1px solid var(--line);
}

.google-box strong,
.google-box span {
  display: block;
}

.google-box span {
  margin-top: 4px;
  color: var(--muted);
  line-height: 1.45;
}

.logout-button {
  width: 100%;
  min-height: 44px;
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  color: var(--muted);
  font-weight: 900;
}

body:not(.logged-session) .logout-button {
  display: none;
}

.profile-dialog::backdrop {
  background: rgba(0, 0, 0, 0.46);
  backdrop-filter: blur(6px);
}

.dialog-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  font-size: 1.6rem;
  line-height: 1;
}

.profile-cover {
  min-height: 230px;
  background: var(--photo);
  background-size: cover;
  background-position: center;
}

.profile-info {
  padding: 18px;
}

.profile-top {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: -42px;
}

.profile-top .avatar {
  width: 76px;
  height: 76px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 16px 0;
}

.gallery .photo-tile {
  min-height: 120px;
}

.social-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0;
}

.social-actions button {
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: white;
  font-weight: 900;
}

.social-actions button.active {
  color: white;
  border-color: var(--mint-dark);
  background: var(--mint-dark);
}

.comments-box {
  margin-top: 14px;
  padding: 14px;
  border-radius: var(--radius);
  background: #f6f8f6;
  border: 1px solid var(--line);
}

.store-products {
  margin: 16px 0;
}

.store-products .panel-title span {
  color: var(--muted);
  font-weight: 800;
}

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

.product-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
}

.product-photo {
  min-height: 100px;
  border-radius: 0;
}

.product-card strong,
.product-card span {
  display: block;
  padding: 0 10px;
}

.product-card strong {
  margin-top: 10px;
  line-height: 1.2;
}

.product-card span {
  margin-top: 4px;
  color: var(--mint-dark);
  font-weight: 900;
}

.product-card button {
  width: calc(100% - 20px);
  min-height: 36px;
  margin: 10px;
  border: 0;
  border-radius: var(--radius);
  color: white;
  background: var(--ink);
  font-weight: 900;
}

.product-card button.active {
  background: var(--mint-dark);
}

.comments-box h4 {
  margin: 0 0 10px;
}

.comment-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}

.comment-item:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.empty-comments {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: #fbfaf6;
}

.empty-comments span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.35;
}

.comment-avatar {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: white;
  background: var(--mint-dark);
  font-weight: 900;
}

.comment-item strong,
.comment-item span,
.comment-item small {
  display: block;
}

.comment-item span {
  margin-top: 2px;
  color: var(--muted);
  line-height: 1.35;
}

.comment-item small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.78rem;
}

.comment-form,
.review-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin-top: 10px;
}

.review-form {
  grid-template-columns: 130px 1fr auto;
}

.comment-form input,
.review-form input,
.review-form select {
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.comment-form button,
.review-form button {
  min-height: 40px;
  padding: 0 12px;
  border: 0;
  border-radius: var(--radius);
  color: white;
  background: var(--ink);
  font-weight: 900;
}

.review-help {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.35;
}

.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 10;
  max-width: 360px;
  padding: 12px 14px;
  border-radius: var(--radius);
  color: white;
  background: var(--ink);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: 180ms ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1180px) {
  .app-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-phone {
    display: none;
  }

  .content-grid {
    grid-template-columns: 1fr;
  }

  .right-panel {
    position: static;
    grid-template-columns: 1fr 1fr;
  }

  .hero-actions,
  .action-panel,
  .quick-start,
  .info-accordion {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-grid,
  .name-grid,
  .flow-grid,
  .user-section,
  .dashboard-grid,
  .premium-grid,
  .money-grid,
  .role-board,
  .account-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .feed,
  .right-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .main {
    padding: 16px 14px 88px;
  }

  .topbar {
    align-items: flex-start;
  }

  .topbar .primary-action {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 20px;
  }

  .hero h2 {
    font-size: 2.65rem;
  }

  .search-panel,
  .hero-actions,
  .action-panel,
  .quick-start,
  .info-accordion,
  .signup-section,
  .signup-card {
    grid-template-columns: 1fr;
  }

  .metrics {
    grid-template-columns: 1fr;
  }

  .review-form {
    grid-template-columns: 1fr;
  }

  .trust-grid,
  .name-grid,
  .flow-grid,
  .user-section,
  .dashboard-grid,
  .premium-grid,
  .money-grid,
  .role-board,
  .account-grid,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .login-options {
    grid-template-columns: 1fr;
  }

  .account-alert {
    grid-template-columns: 1fr;
  }

  .account-alert a,
  .account-alert button {
    grid-row: auto;
    grid-column: auto;
    width: 100%;
  }

  .followed-story-item {
    grid-template-columns: 58px 1fr;
  }

  .followed-story-media {
    width: 58px;
    height: 58px;
  }

  .followed-story-item button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .category-strip {
    grid-template-columns: repeat(9, 118px);
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .signup-section {
    padding: 20px;
  }

  .bottom-nav {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 9;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
    padding: 6px;
    border: 1px solid rgba(24, 32, 29, 0.1);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(18px);
    box-shadow: 0 18px 44px rgba(24, 32, 29, 0.18);
  }

  .bottom-nav a {
    justify-content: center;
    gap: 6px;
    min-height: 44px;
    border-radius: 12px;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 900;
  }

  .bottom-nav a.active {
    color: white;
    background: var(--ink);
  }

  .bottom-nav a.active span {
    color: white;
  }

  .toast {
    left: 14px;
    right: 14px;
    bottom: 76px;
    max-width: none;
  }
}
