* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --ink: #11122f;
  --muted: #6f607d;
  --primary: #a461e7;
  --primary-strong: #8b45df;
  --soft: #fff7fd;
  --soft-strong: #fde9f7;
  --surface: #ffffff;
  --line: #eaddea;
  --blue-input: #e8f1ff;
  --shadow: 0 8px 24px rgba(73, 35, 91, 0.14);
  --radius: 28px;
  --pill: 999px;
}

html {
  width: 100%;
  min-height: 100%;
  background: #1b1b1b;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}

body {
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  outline: none;
}

input,
select {
  min-height: 48px;
  border-radius: var(--pill);
  padding: 0 16px;
}

textarea {
  min-height: 118px;
  resize: vertical;
  border-radius: 22px;
  padding: 14px 16px;
  line-height: 1.4;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(164, 97, 231, 0.12);
}

.pac-container,
gmp-place-autocomplete {
  display: none !important;
}

label {
  display: grid;
  gap: 10px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.phone-shell {
  display: grid;
  width: 100%;
  min-height: 100vh;
  place-items: center;
  background: #1b1b1b;
  overflow-x: hidden;
}

.login-screen,
.app-screen {
  width: min(100%, 390px);
  max-width: 100vw;
  min-height: 100vh;
  background: var(--soft);
  overflow-x: clip;
}

.login-screen {
  display: grid;
  align-items: stretch;
}

.login-card {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  justify-content: center;
  padding: 44px 24px;
  border-radius: 14px 14px 0 0;
}

.login-brand,
.overline {
  color: var(--primary);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 2px;
  text-align: center;
}

.login-card h1 {
  margin-top: 12px;
  font-size: 29px;
  line-height: 1.1;
  text-align: center;
}

.login-card > p {
  margin-top: 8px;
  color: var(--muted);
  text-align: center;
}

.login-access-note {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  text-align: center;
  font-size: 12px;
}

.google-login {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 30px;
  border-radius: var(--pill);
  background: #fffaff;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  box-shadow: var(--shadow);
}

.divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  margin: 28px 0 18px;
  color: var(--muted);
  font-size: 12px;
}

.divider::before,
.divider::after {
  content: "";
  height: 1px;
  background: var(--line);
}

form {
  display: grid;
  gap: 18px;
}

.login-card input {
  min-height: 48px;
  background: var(--blue-input);
  box-shadow: 0 4px 10px rgba(73, 35, 91, 0.11);
}

.primary-action {
  min-height: 54px;
  border-radius: var(--pill);
  background: var(--primary);
  color: #ffffff;
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(164, 97, 231, 0.25);
}

.register-call {
  margin-top: 34px;
  color: var(--muted);
  text-align: center;
}

.register-call a {
  color: var(--ink);
  font-weight: 900;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 16px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.legal-links a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.remember-choice {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.remember-choice input {
  width: 18px;
  min-height: 18px;
  accent-color: var(--primary);
}

.support-tabs {
  display: grid;
  gap: 14px;
}

.support-tab-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  background: #fffaff;
}

.support-tab-nav button {
  min-height: 42px;
  border-radius: var(--pill);
  color: var(--muted);
  font-weight: 900;
}

.support-tab-nav button.active {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 10px 20px rgba(164, 97, 231, 0.22);
}

.support-tab-panel {
  display: none;
}

.support-tab-panel.active {
  display: block;
}

.support-tab-panel .support-form {
  display: grid;
  gap: 14px;
}

.support-ticket {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fffaff;
}

.support-ticket-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 10px;
}

.support-ticket small,
.support-ticket p {
  color: var(--muted);
}

.ticket-status {
  flex: 0 0 auto;
  border-radius: var(--pill);
  padding: 5px 9px;
  background: #f6eafa;
  color: var(--primary);
  font-size: 12px;
  font-weight: 900;
}

.ticket-status.resolved {
  background: #e8f7ef;
  color: #137a4f;
}

.support-response {
  display: grid;
  gap: 4px;
  padding: 10px;
  border-radius: 14px;
  background: #ffffff;
}

.app-screen {
  padding: 22px;
}

.with-bottom-nav {
  display: flex;
  flex-direction: column;
  padding-bottom: 22px;
}

.with-bottom-nav > section:first-child {
  flex: 1 0 auto;
}

.simple-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.simple-header a,
.simple-header span,
.text-action {
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
}

.legal-page {
  display: grid;
  align-content: start;
  gap: 20px;
  padding: 22px;
}

.legal-hero {
  display: grid;
  gap: 10px;
  padding: 24px 0 4px;
}

.legal-hero .overline {
  text-align: left;
}

.legal-hero h1 {
  font-size: 32px;
  line-height: 1.05;
}

.legal-hero p:last-child {
  color: var(--muted);
}

.legal-document {
  display: grid;
  gap: 16px;
  padding-bottom: 32px;
  color: var(--muted);
  line-height: 1.58;
}

.legal-document h2 {
  margin-top: 8px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.25;
}

.legal-document p {
  font-size: 15px;
}

.text-action {
  background: transparent;
}

.page-title {
  display: grid;
  gap: 10px;
  margin-bottom: 22px;
}

.page-title.compact {
  margin-bottom: 16px;
}

.page-title h1,
.form-card h1,
.explore-hero h1 {
  font-size: 30px;
  line-height: 1.08;
}

.page-title p,
.form-card p,
.choice-card small,
.task-list span,
.explore-hero span,
.empty-state {
  color: var(--muted);
  line-height: 1.45;
}

.choice-list {
  display: grid;
  gap: 14px;
}

.choice-card,
.form-card,
.task-list article,
.task-list a,
.provider-card,
.metric-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.choice-card {
  display: grid;
  gap: 8px;
  padding: 20px;
}

.choice-card span {
  color: var(--primary);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.choice-card strong {
  font-size: 20px;
}

.form-card {
  display: grid;
  gap: 16px;
  padding: 24px;
}

.form-card .overline {
  text-align: left;
}

.form-card input {
  background: #fffaff;
}

.form-note {
  display: grid;
  gap: 5px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fffaff;
}

.form-note strong {
  font-size: 14px;
}

.form-note span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.map-card {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fffaff;
}

.map-card iframe {
  width: 100%;
  height: 210px;
  border: 0;
  border-radius: 18px;
  background: var(--line);
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.policy-box {
  display: grid;
  gap: 5px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--soft);
  color: var(--ink);
}

.policy-box span,
.policy-box small {
  color: var(--muted);
  line-height: 1.4;
}

.success-panel {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
  padding: 18px;
  border: 1px solid rgba(20, 122, 93, 0.24);
  border-radius: 24px;
  background: #f1fbf7;
  box-shadow: var(--shadow);
}

.success-panel strong {
  color: #147a5d;
  font-size: 20px;
}

.success-panel p {
  color: var(--muted);
}

.financial-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  width: min(100%, 620px);
  margin-top: 8px;
}

.financial-summary p {
  display: grid;
  gap: 2px;
  min-height: 54px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.68);
}

.financial-summary span {
  color: var(--muted);
  font-size: 12px;
}

.financial-summary strong {
  color: var(--ink);
  font-size: 15px;
}

.soft-action {
  min-height: 44px;
  border-radius: var(--pill);
  background: var(--soft-strong);
  color: var(--primary-strong);
  font-weight: 900;
}

.form-message {
  min-height: 18px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.form-message.error {
  color: #b42318;
}

.form-message.success {
  color: #147a5d;
}

.explore-hero {
  display: grid;
  gap: 8px;
  margin: -22px -22px 0;
  padding: 34px 30px 28px;
  border-radius: 0 0 30px 30px;
  background:
    radial-gradient(circle at 78% -8%, #f7cce8 0 28%, transparent 29%),
    radial-gradient(circle at 96% 86%, #f3c0e4 0 24%, transparent 25%),
    linear-gradient(135deg, #fff7fd, #fde9f7);
}

.explore-hero h1 {
  overflow-wrap: anywhere;
}

.explore-hero p {
  color: var(--primary);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 1.6px;
}

.search-box {
  position: relative;
  margin-top: 18px;
}

.search-box span {
  position: absolute;
  left: 18px;
  top: 42px;
  z-index: 1;
  color: var(--muted);
}

.search-box input {
  padding-left: 48px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.location-search-box {
  margin-top: 10px;
}

.location-search-box input {
  min-height: 44px;
  background: rgba(255, 255, 255, 0.9);
}

.category-row {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  margin: 20px -22px 0;
  padding: 0 22px 16px;
}

.category-row button {
  flex: 0 0 auto;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  padding: 0 18px;
  background: var(--surface);
  color: var(--muted);
  font-weight: 800;
}

.category-row button.active {
  border-color: var(--primary);
  background: var(--primary);
  color: #ffffff;
}

.content-section {
  display: grid;
  gap: 14px;
  margin-top: 4px;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.section-heading h2,
.content-section h2 {
  font-size: 19px;
}

.icon-action {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  font-size: 18px;
}

.provider-list,
.task-list {
  display: grid;
  gap: 12px;
}

.provider-card {
  display: grid;
  grid-template-columns: 76px 1fr auto;
  gap: 12px;
  align-items: center;
  min-height: 102px;
  padding: 12px;
  color: inherit;
}

.provider-card:active {
  transform: scale(0.99);
}

.provider-card img {
  width: 76px;
  height: 76px;
  border-radius: 20px;
  object-fit: cover;
}

.provider-card div {
  display: grid;
  gap: 4px;
}

.provider-card strong {
  font-size: 16px;
}

.provider-card span,
.provider-card small {
  color: var(--muted);
}

.provider-card p {
  align-self: start;
  color: var(--primary);
  font-weight: 900;
}

.bottom-nav {
  position: sticky;
  bottom: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: auto;
  margin: auto -22px -22px;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.bottom-nav a {
  display: grid;
  min-height: 68px;
  place-items: center;
  align-content: center;
  gap: 4px;
  color: var(--muted);
  font-size: 12px;
}

.bottom-nav span {
  font-size: 22px;
}

.bottom-nav a.active {
  color: var(--primary);
  font-weight: 900;
}

.provider-nav {
  grid-template-columns: repeat(5, 1fr);
}

.provider-nav a {
  font-size: 11px;
}

.metric-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 22px;
}

.metric-grid article {
  display: grid;
  gap: 5px;
  padding: 18px;
}

.metric-grid span,
.metric-grid small {
  color: var(--muted);
}

.metric-grid strong {
  font-size: 26px;
}

.task-list article,
.task-list a {
  display: grid;
  gap: 6px;
  padding: 18px;
  color: inherit;
}

.provider-workspace {
  display: grid;
  gap: 16px;
  padding-bottom: 32px;
}

.provider-workspace::after {
  content: "";
  display: block;
  height: 24px;
}

.provider-form-card {
  gap: 18px;
}

.provider-form-card h2 {
  font-size: 19px;
}

.provider-data-list {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.provider-data-list article {
  box-shadow: none;
}

.empty-panel {
  display: grid;
  gap: 12px;
  min-height: 190px;
  align-content: center;
  padding: 28px;
  text-align: center;
}

.empty-panel strong {
  font-size: 18px;
}

.empty-panel p {
  max-width: 520px;
  margin: 0 auto;
  color: var(--muted);
  line-height: 1.45;
}

.empty-panel .primary-action {
  width: min(100%, 360px);
  margin: 4px auto 0;
}

.schedule-list,
.reservation-list {
  display: grid;
}

.schedule-list article,
.reservation-list article {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid var(--line);
}

.schedule-list article:last-child,
.reservation-list article:last-child {
  border-bottom: 0;
}

.schedule-list strong {
  color: var(--primary);
}

.schedule-list span,
.reservation-list span {
  color: var(--muted);
}

.reservation-list div {
  display: grid;
  gap: 4px;
}

.reservation-list p {
  flex: 0 0 auto;
  color: var(--primary);
  font-size: 12px;
  font-weight: 900;
}

.reservation-list small {
  display: block;
  margin-top: 4px;
  color: var(--primary);
  font-weight: 800;
}

.reservation-list .financial-summary,
.transaction-list .financial-summary {
  margin-top: 8px;
}

.reservation-list .financial-summary p,
.transaction-list .financial-summary p,
.policy-box .financial-summary p {
  display: grid;
  flex: initial;
  margin: 0;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
}

.inline-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
}

.admin-dispute-list article {
  align-items: stretch;
  gap: 14px;
}

.admin-dispute-list p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

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

.admin-ticket-list {
  display: grid;
  gap: 12px;
}

.admin-ticket-card {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #ffffff;
}

.admin-ticket-head,
.admin-ticket-meta {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
}

.admin-ticket-head div {
  display: grid;
  gap: 4px;
}

.admin-ticket-head strong {
  font-size: 16px;
}

.admin-ticket-head span,
.admin-ticket-meta,
.admin-ticket-card p {
  color: var(--muted);
}

.admin-ticket-head small {
  flex: 0 0 auto;
  border-radius: var(--pill);
  padding: 6px 10px;
  background: #f6eafa;
  color: var(--primary);
  font-weight: 900;
}

.admin-ticket-meta {
  justify-content: start;
  flex-wrap: wrap;
  font-size: 13px;
}

.admin-ticket-card p {
  line-height: 1.45;
}

.admin-screen {
  display: grid;
  align-content: start;
  gap: 18px;
}

.admin-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 4px 0 0;
}

.admin-hero h1 {
  margin-top: 8px;
  font-size: 34px;
  line-height: 1.05;
}

.admin-hero p:last-child {
  margin-top: 8px;
  color: var(--muted);
}

.admin-shell-grid {
  display: grid;
  gap: 16px;
}

.admin-sidebar {
  display: grid;
  gap: 12px;
}

.admin-menu-select {
  display: none;
  gap: 8px;
  font-weight: 900;
}

.admin-menu-select span {
  color: var(--ink);
  font-size: 13px;
}

.admin-menu-select select {
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 0 14px;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
  font-weight: 900;
  box-shadow: 0 12px 30px rgba(73, 35, 91, 0.08);
}

.admin-menu {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: 0 14px 38px rgba(73, 35, 91, 0.1);
}

.admin-menu-title,
.admin-menu a {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  min-height: 58px;
}

.admin-menu-title {
  background: var(--primary);
  color: #ffffff;
}

.admin-menu-title span,
.admin-menu-icon {
  display: grid;
  place-items: center;
  min-height: 58px;
  border-right: 1px solid rgba(164, 97, 231, 0.16);
  color: var(--primary-strong);
  font-size: 18px;
  font-weight: 900;
}

.admin-menu-title span {
  border-right-color: rgba(255, 255, 255, 0.22);
  color: #ffffff;
}

.admin-menu-title strong {
  display: flex;
  align-items: center;
  padding: 0 16px;
  font-weight: 900;
}

.admin-menu a {
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: #ffffff;
}

.admin-menu-copy {
  display: grid;
  align-content: center;
  gap: 3px;
  min-width: 0;
  padding: 10px 14px;
}

.admin-menu-copy strong {
  color: var(--ink);
  font-weight: 900;
}

.admin-menu-copy small {
  color: var(--muted);
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-menu a.active {
  background: #f8edff;
}

.admin-menu a.active .admin-menu-icon {
  background: var(--primary);
  color: #ffffff;
}

.admin-menu a.active .admin-menu-copy strong,
.admin-menu a.active .admin-menu-copy small {
  color: var(--primary);
}

.admin-content {
  display: grid;
  gap: 14px;
}

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

.admin-summary-grid article,
.admin-quick-grid a,
.admin-panel {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: 0 14px 38px rgba(73, 35, 91, 0.08);
}

.admin-summary-grid article {
  min-height: 104px;
  padding: 14px;
  display: grid;
  align-content: center;
}

.admin-summary-grid article.attention {
  border-color: rgba(164, 97, 231, 0.5);
  background: #fffaff;
}

.admin-summary-grid span,
.admin-summary-grid small {
  color: var(--muted);
  font-size: 13px;
}

.admin-summary-grid strong {
  display: block;
  margin: 6px 0 2px;
  font-size: 28px;
}

.admin-panel {
  padding: 18px;
}

.compact-admin-panel {
  box-shadow: 0 10px 24px rgba(73, 35, 91, 0.06);
}

.admin-section-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.admin-section-head p {
  margin-top: 4px;
  color: var(--muted);
}

.admin-quick-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 12px;
}

.admin-quick-grid a {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 12px;
  align-items: center;
  padding: 16px;
}

.admin-quick-grid small {
  width: 40px;
  height: 40px;
  display: grid;
  grid-row: span 2;
  place-items: center;
  border-radius: 14px;
  background: #f6eafa;
  color: var(--primary);
  font-size: 18px;
  font-weight: 900;
}

.admin-quick-grid span {
  color: var(--muted);
}

.admin-status-list {
  display: grid;
}

.admin-status-list p {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.admin-status-list p:last-child {
  border-bottom: 0;
}

.admin-status-list strong {
  color: var(--ink);
}

.admin-event-list {
  display: grid;
  gap: 10px;
}

.admin-event-list article {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #ffffff;
}

.admin-event-list span,
.admin-event-list small,
.status-note {
  color: var(--muted);
  font-size: 13px;
}

.status-note {
  display: block;
  margin-top: 8px;
  line-height: 1.4;
}

.status-note.danger {
  color: #b91c1c;
}

.section-title-row {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.section-title-row p {
  margin-top: 6px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  border-radius: var(--pill);
  padding: 6px 10px;
  background: #f3f4f6;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.status-pill.success {
  background: #dcfce7;
  color: #047857;
}

.status-pill.warning {
  background: #fff7ed;
  color: #92400e;
}

.status-pill.danger {
  background: #fee2e2;
  color: #b91c1c;
}

.admin-user-columns {
  display: grid;
  gap: 16px;
}

.admin-user-columns h3 {
  margin-bottom: 10px;
  font-size: 16px;
}

.admin-user-list {
  display: grid;
  gap: 10px;
}

.admin-user-card {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fffaff;
}

.admin-user-card div {
  display: grid;
  gap: 4px;
}

.admin-user-card span,
.admin-user-card small {
  color: var(--muted);
  overflow-wrap: anywhere;
}

.admin-user-card > div:last-child {
  align-content: start;
}

.admin-user-card > div:last-child span {
  color: var(--primary);
  font-weight: 900;
}

.transaction-list {
  gap: 12px;
  border: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.transaction-list article {
  display: block;
  padding: 0;
  border: 0;
  border-radius: 22px;
  background: var(--surface);
  box-shadow: 0 10px 24px rgba(73, 35, 91, 0.06);
  overflow: hidden;
}

.transaction-main {
  display: grid;
  gap: 12px;
  padding: 16px;
  min-width: 0;
}

.transaction-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
}

.transaction-head > div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.transaction-head strong,
.transaction-head span {
  overflow-wrap: anywhere;
}

.transaction-head p {
  flex: 0 0 auto;
  min-width: 92px;
  padding: 8px 10px;
  border-radius: 14px;
  background: var(--soft);
  color: var(--primary);
  font-size: 12px;
  font-weight: 900;
  text-align: center;
}

.transaction-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.transaction-meta small,
.transaction-main > small {
  max-width: 100%;
  padding: 6px 8px;
  border-radius: 999px;
  background: #fffaff;
  color: var(--muted);
  font-size: 12px;
  overflow-wrap: anywhere;
}

.danger-text {
  color: #b91c1c;
}

.action-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.action-chip {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  background: #ffffff;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(73, 35, 91, 0.08);
}

.action-chip.success {
  border-color: #b8ead7;
  background: #ecfdf5;
  color: #047857;
}

.action-chip.warning {
  border-color: #f8d99b;
  background: #fff8e8;
  color: #92400e;
}

.action-chip.danger {
  border-color: #fecaca;
  background: #fff1f2;
  color: #b91c1c;
}

.weekday-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.weekday-grid label {
  display: grid;
  min-height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  background: #fffaff;
  color: var(--muted);
  font-size: 12px;
}

.weekday-grid input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.weekday-grid label:has(input:checked) {
  border-color: var(--primary);
  background: var(--primary);
  color: #ffffff;
}

.profile-page {
  display: grid;
  gap: 16px;
}

.profile-hero-card,
.profile-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.profile-hero-card {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 14px;
  align-items: center;
  padding: 14px;
}

.profile-hero-card img {
  width: 92px;
  height: 92px;
  border-radius: 24px;
  object-fit: cover;
}

.profile-hero-card div {
  display: grid;
  gap: 5px;
}

.profile-hero-card .overline {
  text-align: left;
}

.profile-hero-card h1 {
  font-size: 24px;
  line-height: 1.05;
}

.profile-hero-card span,
.profile-card p,
.service-list span {
  color: var(--muted);
  line-height: 1.4;
}

.profile-hero-card strong {
  color: var(--primary);
}

.profile-card {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.profile-card h2 {
  font-size: 19px;
}

.profile-card iframe {
  width: 100%;
  height: 230px;
  border: 0;
  border-radius: 22px;
  background: var(--line);
}

.map-link {
  display: grid;
  place-items: center;
  min-height: 48px;
}

.danger-action {
  width: 100%;
  min-height: 54px;
  margin-bottom: 18px;
  border-radius: var(--pill);
  background: #ffe8ee;
  color: #b42318;
  font-weight: 900;
}

.subtle-action {
  min-height: 48px;
  margin: 4px 0 0;
  border: 1px solid #f5c6d0;
  box-shadow: none;
}

.account-card {
  gap: 0;
}

.profile-tabs {
  display: grid;
  gap: 12px;
}

.profile-tab-nav {
  position: sticky;
  top: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(72px, 1fr));
  gap: 6px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 30px rgba(73, 35, 91, 0.08);
}

.profile-menu-title {
  display: none;
}

.profile-tab-nav button {
  display: grid;
  min-height: 58px;
  place-items: center;
  align-content: center;
  gap: 3px;
  border-radius: 16px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.profile-tab-nav button strong {
  font-size: 12px;
}

.profile-tab-nav span {
  font-size: 20px;
  line-height: 1;
}

.profile-tab-nav button.active {
  background: #f6eafa;
  color: var(--primary);
}

.profile-tab-panel {
  display: none;
}

.profile-tab-panel.active {
  display: block;
}

.account-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.account-row:last-child {
  border-bottom: 0;
}

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

.account-row strong {
  text-align: right;
}

.wallet-summary span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.wallet-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.wallet-summary div {
  display: grid;
  gap: 5px;
  min-height: 70px;
  align-content: center;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 12px;
  background: #ffffff;
}

.wallet-summary.compact div {
  min-height: 58px;
  border-radius: 16px;
}

.stripe-element-box {
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 14px;
  background: #fffaff;
}

.stripe-element-box[hidden],
.primary-action[hidden] {
  display: none;
}

.service-list {
  display: grid;
  gap: 10px;
}

.service-list article,
.service-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.service-option {
  width: 100%;
  background: transparent;
  color: inherit;
  text-align: left;
}

.service-option.active {
  margin: 0 -10px;
  border: 1px solid var(--primary);
  border-radius: 18px;
  padding: 12px 10px;
  background: #fbf2ff;
}

.service-list article:last-child,
.service-option:last-child {
  border-bottom: 0;
}

.service-list div,
.service-option div {
  display: grid;
  gap: 4px;
}

.service-list p,
.service-option p {
  flex: 0 0 auto;
  color: var(--ink);
  font-weight: 900;
}

.booking-panel {
  margin-top: 2px;
}

.slot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.slot-button {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  background: #fffaff;
  color: var(--ink);
  font-weight: 900;
}

.slot-button.active {
  border-color: var(--primary);
  background: var(--primary);
  color: #ffffff;
}

.primary-action:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

@media (max-width: 560px) {
  .app-screen {
    width: 100%;
  }

  .explore-hero {
    padding-right: 22px;
    padding-left: 22px;
  }

  .category-row {
    margin-right: -22px;
    margin-left: -22px;
    scrollbar-width: none;
  }

  .category-row::-webkit-scrollbar {
    display: none;
  }

  .admin-hero {
    align-items: start;
    flex-direction: column;
  }

  .admin-hero h1 {
    font-size: 30px;
  }

  .admin-summary-grid,
  .admin-quick-grid {
    grid-template-columns: 1fr;
  }

  .financial-summary {
    grid-template-columns: 1fr;
  }

  .transaction-head {
    flex-direction: column;
  }

  .transaction-head p {
    width: 100%;
    text-align: left;
  }

  .admin-panel {
    padding: 14px;
  }
}

@media (min-width: 560px) {
  .login-screen,
  .app-screen {
    min-height: calc(100vh - 16px);
    margin: 8px 0;
    border-radius: 14px 14px 0 0;
  }

  .login-card {
    min-height: calc(100vh - 16px);
  }
}

@media (min-width: 760px) {
  .phone-shell {
    align-items: start;
    background:
      radial-gradient(circle at 15% 0%, rgba(164, 97, 231, 0.18), transparent 28%),
      radial-gradient(circle at 85% 15%, rgba(247, 204, 232, 0.7), transparent 26%),
      #f7f2f7;
  }

  .public-shell,
  .legal-shell,
  .app-shell {
    padding: 24px;
  }

  .public-shell .app-screen,
  .public-shell .login-screen,
  .legal-shell .app-screen,
  .app-shell .app-screen {
    min-height: calc(100vh - 48px);
    margin: 0 auto;
    border: 1px solid var(--line);
    border-radius: 28px;
    padding: 28px;
    box-shadow: 0 20px 70px rgba(73, 35, 91, 0.12);
  }

  .public-shell .app-screen,
  .app-shell .app-screen {
    width: min(100%, 980px);
  }

  .legal-shell .legal-page {
    width: min(100%, 760px);
    min-height: calc(100vh - 48px);
    margin: 0 auto;
    border: 1px solid var(--line);
    border-radius: 28px;
    padding: 34px;
    box-shadow: 0 20px 70px rgba(73, 35, 91, 0.12);
  }

  .login-screen {
    width: min(100%, 520px);
  }

  .login-card {
    min-height: calc(100vh - 104px);
    padding-right: 52px;
    padding-left: 52px;
  }

  .register-screen {
    width: min(100%, 760px);
  }

  .with-bottom-nav {
    padding-bottom: 28px;
  }

  .bottom-nav {
    width: calc(100% + 56px);
    margin: auto -28px -28px;
    border: 1px solid var(--line);
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 0 0 28px 28px;
    box-shadow: var(--shadow);
    overflow: hidden;
  }

  .explore-hero {
    margin: -28px -28px 0;
    padding: 42px 42px 34px;
  }

  .explore-hero h1,
  .page-title h1,
  .form-card h1 {
    font-size: 36px;
  }

  .category-row {
    margin-left: -28px;
    margin-right: -28px;
    padding-left: 28px;
    padding-right: 28px;
  }

  .provider-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .provider-card {
    min-height: 116px;
  }

  .provider-card img {
    width: 84px;
    height: 84px;
  }

  .metric-grid,
  .wallet-summary,
  .field-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .choice-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .task-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .provider-workspace .content-section {
    margin-top: 8px;
  }

  .profile-page {
    grid-template-columns: 1fr;
    align-items: start;
  }

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

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

  .admin-quick-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .admin-user-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-user-card {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
  }
}

@media (min-width: 1040px) {
  .public-shell .app-screen,
  .app-shell .app-screen {
    width: min(100%, 1120px);
  }

  .public-shell .register-screen {
    width: min(100%, 820px);
  }

  .public-shell .login-screen {
    width: min(100%, 560px);
  }

  .bottom-nav {
    width: calc(100% + 56px);
  }

  .provider-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .provider-workspace {
    grid-template-columns: minmax(0, 1fr);
  }

  .provider-form-card {
    max-width: 760px;
  }

  .profile-card iframe {
    height: 300px;
  }

  .profile-tabs {
    grid-template-columns: 230px minmax(0, 1fr);
    align-items: start;
  }

  .profile-tab-nav {
    position: sticky;
    top: 24px;
    display: block;
    overflow: hidden;
    padding: 0;
    border-radius: 24px;
    background: var(--surface);
    box-shadow: 0 14px 38px rgba(73, 35, 91, 0.1);
  }

  .profile-menu-title,
  .profile-tab-nav button {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    width: 100%;
    min-height: 58px;
    border-radius: 0;
    text-align: left;
  }

  .profile-menu-title {
    background: var(--primary);
    color: #ffffff;
  }

  .profile-menu-title span,
  .profile-tab-nav button span {
    display: grid;
    place-items: center;
    min-height: 58px;
    border-right: 1px solid rgba(164, 97, 231, 0.16);
    color: var(--primary-strong);
    font-size: 18px;
    font-weight: 900;
  }

  .profile-menu-title span {
    border-right-color: rgba(255, 255, 255, 0.22);
    color: #ffffff;
  }

  .profile-menu-title strong,
  .profile-tab-nav button strong {
    font-weight: 900;
  }

  .profile-menu-title strong,
  .profile-tab-nav button strong {
    display: flex;
    align-items: center;
    padding: 0 16px;
  }

  .profile-tab-nav button strong {
    min-width: 0;
    font-size: 13px;
  }

  .profile-tab-nav button {
    align-items: stretch;
    align-content: stretch;
    gap: 0;
    border-top: 1px solid var(--line);
    background: #ffffff;
    color: var(--muted);
  }

  .profile-tab-nav button:not(:has(span)) {
    padding: 0 16px;
  }

  .profile-tab-nav button.active {
    background: #f8edff;
    color: var(--primary);
  }

  .profile-tab-nav button.active span {
    background: var(--primary);
    color: #ffffff;
  }

  .admin-shell-grid {
    grid-template-columns: 230px minmax(0, 1fr);
    align-items: start;
  }

  .admin-sidebar {
    position: sticky;
    top: 24px;
  }

  .admin-menu-select {
    display: none;
  }

  .admin-menu {
    display: grid;
  }

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