/* Shared visual system for every iBEZA screen. Layout and feature permissions stay with their modules. */
:root {
  --ui-ink: #172b24; --ui-muted: #718178; --ui-green: #087443;
  --ui-green-hover: #056137; --ui-mint: #e9f6ee; --ui-line: #e1ebe5;
  --ui-surface: #fff; --ui-field: #f7faf8; --ui-radius: 22px;
  --ui-shadow: 0 8px 32px #234c3610;
  color-scheme: light;
}
body { color: var(--ui-ink); background: #f1f7f3; }
button, input, textarea, select { -webkit-tap-highlight-color: transparent; }
button, a, input, textarea, select { touch-action: manipulation; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid #60bc8b; outline-offset: 3px;
}
button:disabled { cursor: not-allowed; }
body.in-app .conversation > .taxi-request-response {
  width: 100%; max-width: min(100%, 760px); margin-left: 0; margin-right: 0;
}
.taxi-request-response .taxi-order-form { width: 100%; margin-left: 0; margin-right: 0; }
.taxi-request-response .taxi-order-form:not(.taxi-order-preview) { width: 70%; }
.main-panel.taxi-address-editing :is(.chat-jump-bottom, .last-chat-button) { visibility: hidden; }
.taxi-fleet-info .no-release-estimate { display: none !important; }
.taxi-order-preview { --taxi-release-height: 32px; --taxi-map-height: clamp(270px, 36dvh, 400px); }
.taxi-order-preview .taxi-fleet-info .taxi-fleet-soon { height: var(--taxi-release-height); flex-wrap: nowrap; }
.taxi-order-preview .taxi-fleet-soon strong { white-space: nowrap; }
.taxi-order-preview:has(.no-release-estimate) .taxi-map { height: calc(var(--taxi-map-height) + var(--taxi-release-height)); }
@media (max-width: 760px) {
  .taxi-order-preview { --taxi-map-height: clamp(260px, 35dvh, 340px); }
}
.taxi-order-preview .taxi-fleet-free.no-free-taxis strong::before { background: #d44435; }
.top-actions > button:not(.profile-avatar) {
  display: grid; grid-template-rows: 30px 14px; align-content: center;
  align-items: center; justify-items: center; row-gap: 4px;
}
.top-actions > button:not(.profile-avatar) svg { display: block; margin: 0; }
.top-actions #my-ads-button::after { letter-spacing: -.035em; text-align: center; }
@media (max-width: 760px) {
  .taxi-chat-typing .taxi-map-stage { height: clamp(160px, calc(var(--ibeza-visible-height, 100dvh) - 170px), 360px); }
  .top-actions > button:not(.profile-avatar) { grid-template-rows: 27px 12px; row-gap: 4px; }
  .top-actions #my-ads-button::after { font-size: 8.5px; }
}
.send-button.is-pro {
  width: 44px; height: 44px; min-width: 44px; max-width: 44px; flex: 0 0 44px;
  padding: 0; border: 0; border-radius: 50%; overflow: hidden;
  display: flex; align-items: center; justify-content: center; gap: 0;
  box-shadow: 0 3px 10px #08744320;
}
.send-button.is-pro .send-arrow { display: block; font-size: 21px; line-height: 23px; }
.send-button.is-pro .send-pro-label {
  display: block; max-width: 38px; font-size: 7px; line-height: 9px;
  font-weight: 800; letter-spacing: -.025em; text-align: center; white-space: nowrap;
}
body.in-app .main-panel { color: var(--ui-ink); background: #dfe9e3; }
body.in-app .app-shell { min-height: 0; overflow: hidden; }
body.in-app .main-panel, body.in-app .chat-main { min-height: 0; }
body.in-app .chat-topbar, body.in-app .composer-area { flex-shrink: 0; }
body.in-app .chat-main {
  background-color: #dfe9e3;
  background-image: url('/assets/chat-doodles.5345f82c6961.svg');
  background-repeat: repeat; background-size: 156px 156px; background-position: center top;
}
body.in-app .composer-area { background: linear-gradient(0deg,#dfe9e3 0%,#dfe9e3f5 80%,#dfe9e300); }
body.in-app .sidebar { background: #fbfdfb; border-right: 1px solid var(--ui-line); box-shadow: none; }
.sidebar-head { border-color: var(--ui-line); }
.sidebar .wordmark { color: var(--ui-green); letter-spacing: -.06em; }
.sidebar-nav a, .sidebar-nav button { border-radius: 12px; color: #53695e; }
.sidebar-nav .active, .sidebar-nav a:hover, .sidebar-nav button:hover { background: var(--ui-mint); color: var(--ui-green); }
.sidebar-future { border-color: var(--ui-line); }
.sidebar-foot { color: var(--ui-muted); }
.chat-topbar { border-bottom: 1px solid #ffffffb3; }
.intro-mark { color: var(--ui-green); text-shadow: none; transform: none; font-size: clamp(56px, 10vw, 90px); letter-spacing: -.075em; }
.last-chat-button { position: static; inset: auto; z-index: auto; margin: 12px auto 0; }
.conversation-kicker { color: var(--ui-green); letter-spacing: .15em; font-size: 10px; }
.conversation-title { color: var(--ui-ink); font-size: clamp(27px, 5vw, 42px); letter-spacing: -.05em; line-height: 1.2; }
.conversation-subtitle { color: var(--ui-muted); font-size: 15px; line-height: 1.6; max-width: 440px; }
body.in-app .conversation .welcome-message .message-body { background: #fff; box-shadow: var(--ui-shadow); color: var(--ui-ink); border-radius: 24px !important; font-size: clamp(18px, 4vw, 24px); }
.welcome-icon { background: var(--ui-mint); color: var(--ui-green); border-radius: 20px; box-shadow: none; }
.discover-prompt { background: #ffffffed; border: 1px solid #fff; box-shadow: var(--ui-shadow); border-radius: var(--ui-radius); }
.discover-prompt > span { color: var(--ui-green); font-size: 10px; letter-spacing: .08em; }
.discover-prompt p { color: var(--ui-ink); font-size: 17px; line-height: 1.4; }
body.in-app :is(.top-chat-panel, .registration-panel, .my-ads-panel, .discover-panel, .tour-wizard, .taxi-shift-panel, .gateway-card, .sms-admin-panel) {
  background: var(--ui-surface); border: 1px solid var(--ui-line); border-radius: var(--ui-radius);
  box-shadow: var(--ui-shadow); color: var(--ui-ink); backdrop-filter: none;
}
body.in-app :is(.top-panel-head, .discover-head, .tour-wizard-head, .receipt-header, .ph-head) h2 {
  color: var(--ui-ink); font-weight: 800; letter-spacing: -.04em; font-size: 23px; line-height: 1.3;
}
body.in-app :is(.registration-panel, .my-ads-panel, .top-chat-panel) h3 { color: var(--ui-ink); letter-spacing: -.025em; }
body.in-app :is(.top-panel-close, .nested-panel-close, .discover-head > button, .tour-close, .ph-close, .receipt-header > button) {
  background: #f1f6f3; color: #536b5f; border: 0; box-shadow: none; border-radius: 50%;
}
body.in-app :is(.registration-panel, .my-ads-panel, .top-chat-panel, .tour-wizard, .receipt-panel, .purchase-hub, .purchase-prices, .taxi-shift-panel)
  :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=hidden]):not([type=file]), textarea, select) {
  min-width: 0; max-width: 100%; min-height: 44px; padding: 11px 12px;
  border: 1px solid #dbe7df; border-radius: 12px; background: var(--ui-field);
  color: var(--ui-ink); box-shadow: none; font: inherit; font-size: 16px; line-height: 1.4;
}
body.in-app :is(input, textarea)::placeholder { color: #97a39c; opacity: 1; }
body.in-app :is(input, textarea, select):focus { border-color: #69b98e; }
body.in-app :is(input:not([type=checkbox]):not([type=radio]), textarea):is(:focus, :focus-visible) {
  outline: none; box-shadow: none; border-color: #dbe7df; caret-color: #101e18;
}
.taxi-cancel-form {
  border: 1px solid var(--ui-line); background: #f4f9f6; border-radius: 16px;
}
.taxi-cancel-form button {
  min-width: 0; min-height: 42px; padding: 10px 12px; border: 0; border-radius: 12px;
  background: var(--ui-green); color: #fff; font: inherit; font-weight: 750;
  -webkit-appearance: none; appearance: none;
}
.taxi-cancel-form button[type=submit]:hover { background: var(--ui-green-hover); }
.taxi-cancel-form button[type=button] { background: #e5efea; color: #075b38; }
body.in-app :is(input[type=checkbox], input[type=radio], input[type=range], progress) { accent-color: var(--ui-green); }
body.in-app :is(.registration-field, .tour-step-form label, .ph-filters label, .receipt-panel label) { color: #587064; line-height: 1.4; }
body.in-app :is(.primary-button, .registration-check, .top-panel-action, .discover-prompt button, .discover-more, .discover-actions button,
  .tour-next, .tour-offer-actions button, .tour-book-actions button, .ad-contact-button) {
  background: var(--ui-green); color: #fff; border-color: transparent; border-radius: 12px; box-shadow: none;
  font-weight: 750; letter-spacing: -.01em; min-height: 42px;
}
body.in-app :is(.primary-button, .registration-check, .top-panel-action, .discover-prompt button, .discover-more, .tour-next):hover { background: var(--ui-green-hover); }
body.in-app #group-create-toggle { background: var(--ui-green); color: #fff; border: 0; border-radius: 12px; }
body.in-app button:disabled { opacity: .5; }
body.in-app .wallet-menu .top-panel-action { background: var(--ui-field); border: 1px solid var(--ui-line); color: var(--ui-ink); padding: 17px; }
body.in-app .wallet-menu .top-panel-action:hover { background: var(--ui-mint); border-color: #b4d8c2; }
.top-panel-balance { color: var(--ui-green); font-size: 38px; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.wallet-menu-back, .ph-finance-actions button, .search-actions button { background: var(--ui-mint); border-color: transparent; color: var(--ui-green); border-radius: 11px; }
.discover-ad-card, .discover-news-card, .search-card, .tour-offer, .tour-order-row, .tour-admin-card {
  border: 1px solid var(--ui-line); border-radius: 18px; background: #fff; box-shadow: 0 4px 16px #20422c08; transform: none;
}
.search-card::before { display: none; }
.discover-ad-card img, .discover-news-card img, .tour-offer-image { border-radius: 14px; }
.discover-detail { border-color: var(--ui-line); background: #fff; border-radius: 18px; }
.tour-price, .tour-variant-price { color: var(--ui-green); letter-spacing: -.03em; }
.tour-progress, .tour-summary, .tour-order-details, .tour-info-panel, .tour-photo-panel { border-color: var(--ui-line); background: var(--ui-field); border-radius: 14px; }
.tour-variant { border-color: var(--ui-line); background: var(--ui-field); border-radius: 12px; }
.tour-back, .tour-card-tools button, .tour-family-picker button { border-color: var(--ui-line); background: var(--ui-mint); color: var(--ui-green); }
/* Message geometry and avatars keep their existing left/right alignment. */
body.in-app .conversation .message-body,
body.in-app .conversation > .unified-message > .message-body,
body.in-app :is(.group-message-content, .ad-chat-message-content, .moderation-bubble) {
  background: #fff; border: 1px solid #e4ece7; border-radius: 18px !important;
  box-shadow: 0 3px 12px #20452d08; color: var(--ui-ink); transform: none;
  text-shadow: none; filter: none;
}
body.in-app .conversation .user-message .message-body,
body.in-app .conversation > .unified-message.user-message > .message-body,
body.in-app .group-message.mine .group-message-content { background: #dff2e6; border-color: #cfe8d8; }
body.in-app .conversation .message-body::before { display: none; }
body.in-app .conversation .message-body::after { box-shadow: none; border: 0; }
.group-message-content::after { background: #fff; filter: none; }
.group-message.mine .group-message-content::after { background: #dff2e6; }
body.in-app .conversation > .unified-message > .message-body::after { background: #fff; filter: none; }
body.in-app .conversation > .unified-message.user-message > .message-body::after { background: #dff2e6; }
body.in-app .conversation > .unified-message > .message-body { font-weight: 500; line-height: 1.5; }
.group-message-content p { color: var(--ui-ink); font-weight: 500; line-height: 1.5; }
.group-message-content strong, .message-label { color: #6a7f71; }
.group-chat-row, .ad-chat-row { border-color: var(--ui-line); border-radius: 15px; background: #fff; box-shadow: none; }
.ad-chat-card { border-color: var(--ui-line); border-radius: 16px; background: #fff; box-shadow: none; }
.my-chat-card { background: var(--ui-mint); border-color: #cce4d6; }
.family-chat-avatar {
  width: 54px; height: 54px; border: 0; border-radius: 10px;
  background: #e6ebdf; color: #087443; overflow: hidden;
}
.family-chat-avatar img { display: block; width: 34px; height: 34px; object-fit: contain; }
.family-chat-card:has(.family-chat-edit) .ad-chat-list-item { padding-right: 78px; }
.family-chat-card .family-chat-edit {
  display: grid; place-items: center; top: 50%; right: 10px; transform: translateY(-50%);
  width: 54px; height: 54px; padding: 0; border: 0; border-radius: 10px;
  background: #e6ebdf; color: #087443;
}
.family-chat-edit svg { display: block; width: 30px; height: 30px; }
.family-chat-edit:hover { background: #d9ebdf; }
#group-create-form, #group-chat-edit-form, .group-selected-phone, .group-admin-tariff { background: var(--ui-field); border-color: var(--ui-line); border-radius: 14px; }
.photo-frame { transform: none; padding: 5px; border-radius: 16px; background: #fff; box-shadow: var(--ui-shadow); }
.photo-frame::before { display: none; }
.photo-frame img { border-radius: 12px; }
/* Receipts and finance use the same cards, numeric hierarchy and quiet tables. */
.receipt-panel, .purchase-hub, .purchase-prices, .group-product-photo-dialog, .answer-photo-viewer {
  background: #fff; border-color: var(--ui-line); border-radius: 24px; box-shadow: 0 24px 80px #123d2c38; color: var(--ui-ink);
}
.receipt-panel::backdrop, .purchase-hub::backdrop, .purchase-prices::backdrop { background: #163d2c70; backdrop-filter: blur(4px); }
.receipt-header, .ph-head { background: #fff; border-color: var(--ui-line); }
.receipt-item, .receipt-pattern, .ph-stats > div, .ph-shopping-row, .ph-budget-row, .ph-suggestion, .ph-plan { background: var(--ui-field); border-color: var(--ui-line); border-radius: 14px; }
.receipt-panel button, .ph-actions button, .ph-add button { background: var(--ui-mint); color: var(--ui-green); border-color: #cce4d6; border-radius: 11px; }
.ph-hero { background: linear-gradient(125deg,#e4f5eb,#f3faf6); border: 1px solid #cfe8d8; border-radius: 18px; color: var(--ui-ink); box-shadow: none; }
.ph-total { color: var(--ui-green); letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.ph-tabs { background: #f0f5f2; border-radius: 13px; padding: 4px; gap: 4px; }
.ph-tabs button { background: transparent; border: 0; border-radius: 10px; color: var(--ui-muted); }
.ph-tabs button.active { background: #fff; color: var(--ui-green); box-shadow: 0 2px 7px #234c3610; }
.ph-budget-row.warning, .ph-budget-alert { background: #fff8e7; border-color: #f1d59a; color: #916018; }
.chat-report-wrap, .ph-table-wrap { border: 1px solid var(--ui-line); border-radius: 12px; background: #fff; }
.chat-report-table th, .ph-table-wrap th { background: #f1f7f3; color: #607769; font-weight: 700; }
.chat-report-table td, .chat-report-table th { border-color: var(--ui-line); padding: 7px 8px; }
.chat-report-table .report-total td { background: var(--ui-mint); border-color: #cce4d6; }
.moderation-list-card, .moderation-message { background: #fff; border-color: var(--ui-line); border-radius: 16px; box-shadow: none; }
.moderation-approve { background: var(--ui-green); border-radius: 11px; }
.moderation-reject { background: #fff0ed; color: #b04736; border-radius: 11px; }
.moderation-reason { color: #a56513; background: #fff7e4; border-radius: 10px; }
/* Moderation rows share chat content, but use an independent modal layout. */
.moderation-chat {
  box-sizing: border-box; width: min(900px, calc(100vw - 24px));
  height: min(850px, calc(100dvh - 24px)); max-width: calc(100vw - 24px);
  max-height: calc(100dvh - 24px); margin: auto; padding: 0;
  border: 1px solid var(--ui-line); border-radius: 24px; background: #dfe9e3;
  overflow: hidden;
}
.moderation-chat[open] { display: flex; flex-direction: column; }
.moderation-chat .moderation-head {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 8px; align-items: center; flex: none; padding: 12px; background: #fff;
  border-color: var(--ui-line);
}
.moderation-chat .moderation-head h2 { min-width: 0; font-size: 17px; line-height: 1.3; text-align: center; overflow-wrap: anywhere; }
.moderation-chat .moderation-head button { min-width: 0; padding: 9px; font-size: 12px; white-space: nowrap; }
.moderation-chat .moderation-note { flex: none; margin: 0; padding: 10px 14px; font-size: 12px; line-height: 1.4; color: var(--ui-muted); }
.moderation-chat .moderation-feed { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; min-width: 0; min-height: 0; padding: 10px 14px 18px; overflow-x: hidden; overflow-y: auto; background: #dfe9e3 url('/assets/chat-doodles.5345f82c6961.svg') center top / 156px 156px repeat; }
.moderation-chat .moderation-message {
  display: block;
  width: fit-content; max-width: 100%; min-width: 0; padding: 0 0 34px; margin: 0;
  flex: none; background: transparent; border: 0; border-radius: 0; box-shadow: none;
}
.moderation-chat .moderation-message > .group-message-avatar {
  position: absolute; left: 0; bottom: 0; transform: none; width: 28px; height: 28px;
  min-width: 0; padding: 0; border-radius: 50%; overflow: hidden;
}
.moderation-chat .moderation-message > .group-message-avatar img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.moderation-chat .moderation-bubble { width: fit-content; max-width: calc(100% - 15px); min-width: 0; padding: 10px 14px; margin: 0 0 0 15px; box-sizing: border-box; border-radius: 18px !important; background: #fff; border: 1px solid #e4ece7; box-shadow: 0 3px 12px #20452d08; }
.moderation-chat .moderation-bubble::after { bottom: 6px; left: -10px; width: 12px; height: 14px; filter: none; }
.moderation-chat .moderation-bubble > small { color: var(--ui-muted); font-size: 10px; }
.moderation-chat .moderation-bubble p { max-width: 100%; overflow-wrap: anywhere; }
.moderation-chat .moderation-author { max-width: 100%; text-align: left; overflow-wrap: anywhere; font-size: 11px; color: #397455; text-decoration: none; background: transparent; }
.moderation-chat .moderation-photos { min-width: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.moderation-chat .moderation-photos button { min-width: 0; border: 0; border-radius: 10px; }
.moderation-chat .moderation-photos img { width: 100%; height: 130px; }
.moderation-chat .moderation-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
.moderation-chat .moderation-actions button { min-width: 0; min-height: 42px; padding: 9px 5px; font-size: 12px; }
.moderation-chat > button { flex: none; margin: 0 14px 12px; }
.moderation-person { box-sizing: border-box; width: min(440px, calc(100vw - 24px)); max-width: calc(100vw - 24px); max-height: 85dvh; overflow: auto; border-color: var(--ui-line); border-radius: 20px; }
.moderation-chat[hidden] { display: none !important; }
.main-panel.moderation-view .conversation { width: 100%; max-width: 900px; min-height: 100%; padding: 0; }
.main-panel.moderation-view .conversation > :not(#moderation-chat) { display: none !important; }
.main-panel.moderation-view .composer-area { display: none; }
.main-panel.moderation-view #moderation-chat {
  display: block; position: static; width: 100%; max-width: 100%;
  height: auto; max-height: none; margin: 0; padding: 0;
  border: 0; border-radius: 0; box-shadow: none; overflow: visible; background: transparent;
}
.main-panel.moderation-view .moderation-head { position: sticky; top: 0; z-index: 5; background: #f8fcfa; }
.main-panel.moderation-view .moderation-feed { overflow: visible; }
@media (max-width: 600px) {
  .moderation-chat { width: calc(100vw - 16px); max-width: calc(100vw - 16px); height: calc(100dvh - 16px); max-height: calc(100dvh - 16px); border-radius: 18px; }
  .moderation-chat .moderation-head { padding: 10px 8px; gap: 5px; }
  .moderation-chat .moderation-head h2 { font-size: 14px; }
  .moderation-chat .moderation-feed { padding: 8px 10px 14px; }
  .moderation-chat .moderation-bubble { padding: 9px 12px; }
}
.wallet-history-item, .gateway-payment-row { border-color: var(--ui-line); background: var(--ui-field); border-radius: 13px; }
.taxi-card, .taxi-note { background: #fff; border-color: var(--ui-line); border-radius: 22px; box-shadow: var(--ui-shadow); }
.taxi-card h3 { color: var(--ui-ink); letter-spacing: -.03em; }
.taxi-card button { border-radius: 12px; background: var(--ui-green); }
.search-hint, .receipt-hint, .ph-hint { color: var(--ui-muted); }
.install-screen { background: radial-gradient(ellipse at 0 0,#bfebd0,transparent 60%),#f1f8f3; }
.paper-stamp { display: none; }
.install-card { margin-top: 0; background: #ffffffed; border: 1px solid #fff; border-radius: 28px; box-shadow: 0 24px 80px #22654118; }
.install-card h1 { color: var(--ui-ink); }
.install-card h1 em, .eyebrow { color: var(--ui-green); }
.install-card .primary-button { background: var(--ui-green); border-radius: 14px; box-shadow: none; }
@media (max-width: 760px) {
  .conversation { padding-top: 32px; }
  body.in-app :is(.top-chat-panel, .registration-panel, .my-ads-panel, .discover-panel, .tour-wizard, .taxi-shift-panel) { padding: 18px 15px; border-radius: 20px; }
  .conversation-subtitle { font-size: 14px; }
  .discover-prompts { gap: 9px; }
  .discover-prompt { padding: 14px; border-radius: 18px; }
  .discover-prompt p { font-size: 15px; }
  .install-content { min-height: 440px; }
  .install-card { padding: 30px 24px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0s !important; }
}
/* Higher contrast for message text in every chat. */
body.in-app .conversation .message-body,
body.in-app .conversation > .unified-message > .message-body,
body.in-app .conversation > .unified-message.user-message > .message-body,
body.in-app .conversation .user-message .message-body,
body.in-app .group-message-content,
body.in-app .group-message.mine .group-message-content,
body.in-app .group-message-content p,
body.in-app .ad-chat-message,
body.in-app .ad-chat-message-content,
body.in-app .taxi-ride-message-text,
body.in-app .payment-support-message p,
body.in-app .moderation-text {
  color: #101e18; font-weight: 650;
}

@media(max-width:760px){
  .taxi-request-response .taxi-order-form.taxi-address-docked:not(.taxi-order-preview){
    position:fixed;z-index:1200;left:var(--taxi-dock-left);top:var(--taxi-dock-top);
    width:var(--taxi-dock-width);max-width:calc(100vw - 16px);margin:0;
    transition:none;animation:none;
  }
}

@media(max-width:760px){
  .taxi-request-response:has(> .taxi-address-docked){min-height:var(--taxi-address-space,210px)}
}
/* Guest registration follows the same message layout as the main chat. */
body:is(.guest-onboarding,.onboarding-active) .conversation > :is(.conversation-kicker,.conversation-title,.conversation-subtitle,.discover-prompts,#welcome-registration,#last-chat,.user-message,.search-response){display:none!important}
body.guest-onboarding:not(.onboarding-login) #registration-panel{display:none!important}
.onboarding-chat{width:100%;margin-top:12px}
.onboarding-chat .onboarding-message{margin:12px 0;max-width:94%}
.onboarding-chat .message-body{display:block;white-space:normal;line-height:1.5;color:#172b24}
.onboarding-chat .message-body>button{min-height:44px;margin:12px 8px 0 0;padding:10px 18px;border:1px solid #b8d4c4;border-radius:14px;background:#eaf5ee;color:#075b38;font:inherit;font-weight:750}
.onboarding-credentials{display:grid;gap:10px;margin-top:14px;min-width:0}
.onboarding-credentials input{width:100%;min-width:0;min-height:48px;padding:12px;border:1px solid #b8d4c4;border-radius:12px;font:inherit;font-size:16px;background:#fff;color:#172b24}
.onboarding-credentials button{min-height:44px;padding:10px 18px;border:0;border-radius:12px;background:#087443;color:#fff;font:inherit;font-weight:750}
.onboarding-credentials small{color:#526b5e;font-size:12px}
.onboarding-credentials p:empty{display:none}

.onboarding-chat .message-body>p{margin:0 0 8px}



@media(max-width:760px){
  .onboarding-credentials.taxi-address-docked{
    position:fixed;z-index:1200;left:var(--taxi-dock-left);top:var(--taxi-dock-top);
    width:var(--taxi-dock-width);max-width:calc(100vw - 16px);margin:0;padding:14px;
    background:#f8fcf9;border:1px solid #bdd5c7;border-radius:18px;
    box-shadow:0 8px 24px #173c2b24;transition:none;animation:none;
  }
  .onboarding-chat .message-body:has(>.onboarding-credentials.taxi-address-docked){min-height:var(--taxi-address-space,270px)}
}

/* Keep profile and SMS verification within the chat width, including iOS date/file inputs. */
body.in-app #registration-panel{min-width:0;max-width:100%;box-sizing:border-box;overflow-wrap:anywhere}
#registration-panel :is(form,.registration-field,.phone-field,.auth-profile,.auth-profile>*,.profile-phone-verification,.profile-phone-verify-row){min-width:0;max-width:100%;box-sizing:border-box}
#registration-panel :is(form,.registration-field,.profile-phone-verification){width:100%}
#registration-panel .registration-field :is(input,select){width:100%;min-width:0;max-width:100%;box-sizing:border-box}
#registration-panel .profile-phone-verify-row{flex-wrap:wrap}
#registration-panel .profile-phone-verify-row #profile-phone-verify{max-width:100%;white-space:normal;overflow-wrap:anywhere}
#registration-panel :is(button,a,p,small){overflow-wrap:anywhere}
#registration-panel input[type=date]{appearance:none;-webkit-appearance:none;text-align:left}
#registration-panel input[type=date]::-webkit-date-and-time-value{min-width:0;text-align:left}
#registration-panel input[type=file]{overflow:hidden}
/* Safari guide follows the current iOS page menu, Share sheet and web-app confirmation. */
.ios-install-demo{margin:18px -8px 10px;display:flex;justify-content:center}
.ios-demo-phone{position:relative;width:min(100%,296px);height:516px;overflow:hidden;border:6px solid #151515;border-radius:42px;background:#f2f2f7;box-shadow:0 0 0 2px #bcc0c2,0 12px 26px #15251b26;text-align:left;color:#171719;font-family:-apple-system,BlinkMacSystemFont,'Helvetica Neue',Arial,sans-serif;font-weight:400;letter-spacing:normal}
.ios-demo-status{position:absolute;z-index:6;top:13px;left:20px;right:18px;display:flex;justify-content:space-between;align-items:center;font-size:11px;line-height:16px;pointer-events:none}
.ios-demo-status>span{font-size:10px;letter-spacing:1px}
.ios-demo-notch{position:absolute;z-index:7;top:10px;left:50%;transform:translateX(-50%);width:76px;height:21px;border-radius:20px;background:#080808}
.ios-demo-homebar{position:absolute;z-index:8;bottom:45px;left:50%;transform:translateX(-50%);height:4px;width:85px;border-radius:8px;background:#111}
.ios-demo-frame{position:absolute;inset:0;padding:42px 0 43px;opacity:0;animation:ios-demo-step 16s infinite;pointer-events:none;background:#f2f2f7}
.ios-demo-share{animation-delay:0s}.ios-demo-menu{animation-delay:4s}.ios-demo-add{animation-delay:8s}.ios-demo-home{animation-delay:12s}
.ios-demo-frame svg{width:17px;height:17px;flex:none;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.ios-safari-page{height:100%;padding:33px 16px;background:radial-gradient(at 10% 0,#cde8dc,transparent 60%),#f8fcf9;text-align:center}
.ios-safari-wordmark{font-size:42px;font-weight:850;letter-spacing:-.075em;color:#087443;margin:28px 0 24px}
.ios-safari-page h3{font-size:21px!important;line-height:1.2!important;margin:0 0 15px!important;font-weight:750;color:#20382b!important}
.ios-safari-page p{font-size:10px!important;line-height:1.4!important;color:#63776a!important;margin:0!important}
.ios-safari-bar{position:absolute;bottom:61px;left:10px;right:10px;display:flex;gap:7px;align-items:center}
.ios-glass-back,.ios-glass-address{display:flex;align-items:center;justify-content:center;border:1px solid #fff9;background:#f9fafbe6;box-shadow:0 2px 12px #1c2b3522,inset 0 1px 2px white;backdrop-filter:blur(18px);border-radius:26px;height:40px}
.ios-glass-back{width:38px;flex:none;font-size:28px}.ios-glass-address{flex:1;min-width:0;justify-content:space-between;padding:0 13px;font-size:12px}
.ios-safari-more{display:inline-grid;place-items:center;width:26px;height:26px;border-radius:50%;font-size:13px;font-weight:800;letter-spacing:1px}
.ios-demo-share .ios-safari-more{animation:ios-demo-tap 4s infinite}
.ios-demo-caption{position:absolute;bottom:0;left:0;right:0;min-height:39px;display:grid;place-items:center;padding:5px 7px;background:#fff;border-top:1px solid #d8dadc;color:#202124;font-size:11px;font-weight:650;line-height:1.25;text-align:center}
.ios-page-menu{position:absolute;bottom:108px;right:10px;width:225px;max-width:calc(100% - 20px);padding:10px;border-radius:22px;border:1px solid #fffc;background:#f4f5f8f0;box-shadow:0 8px 30px #14202b33;backdrop-filter:blur(22px)}
.ios-menu-shortcuts{display:flex;justify-content:space-between;gap:4px;padding-bottom:9px;border-bottom:1px solid #c8c8cc70}
.ios-menu-shortcuts>div{display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;gap:5px;border-radius:12px;padding:8px 1px;font-size:19px}
.ios-menu-shortcuts>div>span{font-size:8px;white-space:nowrap}.ios-menu-shortcuts svg{width:19px;height:19px}
.ios-menu-row{display:flex;align-items:center;gap:10px;min-height:36px;font-size:14px}.ios-menu-row>span{font-size:10px}
.ios-target{animation:ios-demo-tap 4s infinite}
.ios-native-sheet{position:absolute;top:42px;bottom:43px;left:0;right:0;padding:14px 12px;background:linear-gradient(160deg,#fffffffa,#eeeff4ed);border-radius:24px 24px 0 0;box-shadow:0 -2px 15px #161c2220;backdrop-filter:blur(20px)}
.ios-sheet-header{display:flex;gap:9px;align-items:flex-start}.ios-site-icon{display:grid;place-items:center;width:42px;height:42px;flex:none;border-radius:11px;background:#eaf4ed;color:#087443;font-size:10px;font-weight:850;letter-spacing:-.05em;box-shadow:0 1px 4px #14202b18}
.ios-sheet-header>div{flex:1;min-width:0;padding-top:2px}.ios-sheet-header b{display:block;font-size:10px;white-space:nowrap}.ios-sheet-header small,.ios-confirm-name small{display:block;color:#77777d;font-size:9px;margin-top:2px}
.ios-options{display:block;width:max-content;margin-top:8px;padding:3px 7px;border-radius:10px;background:#ffffffb0;font-size:9px}
.ios-native-close{display:grid;place-items:center;width:25px;height:25px;flex:none;border-radius:50%;background:#ffffffc9;color:#53545a;font-size:22px;line-height:1;box-shadow:0 1px 8px #1c263410}
.ios-sharing-apps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:14px 0 12px;border-bottom:1px solid #c7c7cc55}
.ios-sharing-apps>div{text-align:center;min-width:0}.ios-sharing-apps>div>span{display:grid;place-items:center;width:39px;height:39px;border-radius:11px;margin:auto;font-size:29px;color:white;box-shadow:inset 0 1px 3px #ffffff85}
.ios-sharing-apps small{display:block;font-size:8px;margin-top:5px;white-space:nowrap}
.ios-app-airdrop{background:linear-gradient(#61b7ff,#1888e8)}.ios-app-messages{background:linear-gradient(#5df273,#10c33b);position:relative;font-size:0!important}.ios-app-messages::before{content:"";width:27px;height:22px;border-radius:50%;background:white}.ios-app-messages::after{content:"";position:absolute;bottom:7px;left:8px;border-top:8px solid white;border-right:7px solid transparent;transform:rotate(12deg)}.ios-app-mail{background:linear-gradient(#4dd8ff,#1684f0)}.ios-sharing-apps .ios-app-notes{background:linear-gradient(#ffe255 0 26%,#fff 26%);color:#b9bbbf;font-size:30px}
.ios-quick-actions{display:grid;grid-template-columns:repeat(3,1fr);padding:12px 0;gap:8px}.ios-quick-actions>span{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;font-size:23px}.ios-quick-actions svg{width:23px;height:23px}.ios-quick-actions small{font-size:8px;line-height:1.2}
.ios-native-actions{padding:0 10px;border-radius:16px;background:#ffffffc4;font-size:13px}.ios-native-actions>div{display:flex;gap:9px;align-items:center;min-height:34px;border-bottom:1px solid #c7c7cc50}.ios-native-actions>div:last-child{border:0}.ios-native-actions>div>span{font-size:10px;line-height:1.25}.ios-native-actions .ios-home-choice{margin:0 -4px;padding:0 4px;border-radius:9px}
.ios-extra-actions{margin-top:10px}
.ios-native-confirm{position:absolute;top:42px;bottom:43px;left:0;right:0;border-radius:22px 22px 0 0;background:#f2f2f7;overflow:hidden}
.ios-native-title{display:flex;align-items:center;justify-content:space-between;padding:10px 8px 14px;gap:4px}.ios-native-title>b{font-size:11px;font-weight:650}.ios-native-add{font-size:10px;padding:7px 8px;border-radius:20px;background:#0088ff;color:white}
.ios-confirm-name{display:flex;gap:9px;align-items:center;background:white;padding:12px 10px}.ios-confirm-name>div{flex:1;min-width:0}.ios-confirm-name b{display:block;font-size:12px;font-weight:400;margin-bottom:12px}
.ios-webapp-row{display:flex;align-items:center;justify-content:space-between;gap:7px;padding:11px 10px;margin-top:18px;background:white;font-size:9px;line-height:1.3}
.ios-native-switch{display:block;width:32px;height:19px;flex:none;border-radius:16px;background:#34c759;padding:2px}.ios-native-switch::after{content:'';display:block;margin-left:auto;width:15px;height:15px;border-radius:50%;background:white;box-shadow:0 1px 3px #0002}
.ios-native-confirm .ios-confirm-hint{font-size:9px!important;line-height:1.35!important;color:#85858b!important;margin:6px 10px!important;text-align:left}
.ios-demo-keyboard{position:absolute;bottom:0;left:0;right:0;background:#d6d9df;padding:9px 6px 14px;display:grid;gap:6px}.ios-demo-keyboard>div{display:flex;align-items:center;justify-content:space-around;gap:4px;font-size:11px;line-height:23px;word-spacing:3px}.ios-demo-keyboard>div:last-child{justify-content:space-between;word-spacing:normal;font-size:10px}.ios-demo-keyboard>div:last-child>span{width:58%;border-radius:4px;background:#fff;text-align:center}.ios-demo-keyboard b{background:#0088ff;color:#fff;border-radius:4px;padding:0 14px}
.ios-demo-pause{border:0;background:transparent;padding:8px 4px;color:#087443;text-decoration:underline;font:inherit;font-size:12px;min-height:44px}
.ios-install-demo.is-paused *{animation-play-state:paused!important}
@keyframes ios-demo-step{0%,23%{opacity:1;transform:translateY(0)}25%,100%{opacity:0;transform:translateY(5px)}}
@keyframes ios-demo-tap{0%,30%,100%{box-shadow:0 0 0 0 #007aff00}50%,80%{box-shadow:0 0 0 3px #007aff80;background-color:#e5f1ff}}
@media(prefers-reduced-motion:reduce){.ios-demo-frame,.ios-demo-frame *{animation:none!important}.ios-demo-share{opacity:1}.ios-demo-pause{display:none}}

.ios-demo-keyboard .ios-key{flex:1;min-width:0;display:block;text-align:center;background:#fff;border-radius:4px;font-size:10px;line-height:25px;box-shadow:0 1px 0 #9ca2ae;word-spacing:0}
.ios-native-add.ios-target{animation-name:ios-demo-confirm-tap}
@keyframes ios-demo-confirm-tap{0%,30%,100%{box-shadow:0 0 0 0 #007aff00}50%,80%{box-shadow:0 0 0 4px #007aff55}}
/* The country prefix is a single fixed flex item, never a wrapping text column. */
.phone-field > .phone-prefix{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;white-space:nowrap;overflow-wrap:normal;word-break:normal;line-height:1}
#registration-panel .registration-field .phone-field > input{flex:1 1 0%;width:0;min-width:0}

@media(max-width:760px){
  #registration-panel :is(#login-form,#recover-form).taxi-address-docked{
    position:fixed;z-index:1200;left:var(--taxi-dock-left);top:var(--taxi-dock-top);
    width:var(--taxi-dock-width);max-width:calc(100vw - 16px);margin:0;padding:14px;
    background:#f8fcf9;border:1px solid #bdd5c7;border-radius:18px;
    box-shadow:0 8px 24px #173c2b24;transition:none;animation:none;
  }
  #registration-panel:has(>:is(#login-form,#recover-form).taxi-address-docked){min-height:var(--taxi-address-space,320px)}
}
/* Shopping plans are compact editable tables in the conversation. */
.shopping-list-response{width:100%;max-width:760px;margin:16px 0;padding:16px 12px;border:1px solid #d8e6dd;border-radius:20px;background:#fff;color:#172b24;min-width:0}
.shopping-list-head{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.shopping-list-head h3{margin:8px 0;font-size:19px}.shopping-list-state{padding:5px 10px;border-radius:12px;background:#e5f4eb;color:#087443;font-size:12px;font-weight:750}
.shopping-list-note,.shopping-list-retention{display:block;font-size:12px;line-height:1.45;color:#536d5d;overflow-wrap:anywhere}
.shopping-list-table{width:100%;border-collapse:collapse;table-layout:fixed;margin:12px 0;font-size:14px;line-height:1.4;font-weight:650;color:#10271b}.shopping-list-table th,.shopping-list-table td{padding:5px 4px;text-align:left;border-bottom:1px solid #e1ebe5;vertical-align:middle;overflow-wrap:anywhere}.shopping-list-table th:first-child,.shopping-list-table td:first-child{width:38px}.shopping-list-table th:nth-child(3),.shopping-list-table td:nth-child(3){width:80px}.shopping-list-table th:last-child,.shopping-list-table td:last-child{width:34px}.shopping-list-table small{display:block;font-size:11px;font-weight:650;color:#365644;margin-top:3px}.shopping-list-table .shopping-store th{width:auto;padding:7px 6px 5px;background:#eff7f2;font-size:13px;color:#075b38}
.shopping-list-table input[type=checkbox]{width:22px;height:22px;accent-color:#087443}.shopping-list-table input[type=text]{width:100%;min-width:0;min-height:34px;padding:4px 5px;border:1px solid #cbded2;border-radius:9px;background:#fff;color:#172b24;font:inherit;font-size:16px}.shopping-list-table tr.bought td:nth-child(2){color:#365644}.shopping-remove{width:30px;min-height:40px;padding:0;border:0;border-radius:10px;background:#f6efed;color:#a24639;font-size:22px}
.shopping-list-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.shopping-list-actions button,.shopping-list-history button,.shopping-add button{min-height:44px;padding:9px 12px;border:1px solid #c3dacb;border-radius:12px;background:#edf7f0;color:#075b38;font:inherit;font-size:13px;font-weight:700}.shopping-days-question{margin:8px 0;line-height:1.5}.shopping-add{margin:14px 0}.shopping-add summary{padding:8px 0;cursor:pointer;font-weight:750}.shopping-add form{display:grid;gap:8px}.shopping-add label{display:grid;gap:4px;font-size:12px}.shopping-add input,.shopping-add select{width:100%;min-width:0;min-height:44px;border:1px solid #c3dacb;border-radius:10px;padding:9px;background:#fff;font:inherit;font-size:16px}.shopping-list-history{display:grid;gap:7px;margin-top:12px}.shopping-list-status{font-size:12px;color:#8b4835}.shopping-list-retention{margin-top:12px}.shopping-list-response button:disabled{opacity:.55}

.shopping-copy-choices{display:grid;gap:9px;margin:12px 0}.shopping-copy-choice{display:flex;align-items:center;gap:10px;padding:12px;border:1px solid #c9ddcf;border-radius:12px;background:#f3f9f5;color:#173c2b;font-size:14px;line-height:1.4;cursor:pointer}.shopping-copy-choice input{flex:0 0 auto;width:23px;height:23px;accent-color:#087443}.shopping-copy-choice span{min-width:0;overflow-wrap:anywhere}.shopping-copy-form{display:flex;gap:9px;flex-wrap:wrap;align-items:end;margin-top:15px}.shopping-copy-form label{display:grid;gap:7px;width:100%;font-size:14px;font-weight:650}.shopping-copy-form input{width:100%;min-width:0;min-height:44px;padding:9px 12px;border:1px solid #c9ddcf;border-radius:10px;background:#fff;font:inherit;font-size:16px}.shopping-copy-form button{min-height:44px;padding:10px 18px;border:1px solid #bfd9c9;border-radius:12px;background:#edf7f0;color:#075b38;font:inherit;font-weight:700}.shopping-copy-form button[type=submit]{background:#087443;color:#fff}

.family-shopping-pins{width:100%;min-width:0;order:999;margin-top:12px;padding-bottom:8px}.family-shopping-pin{margin:8px 0;width:100%;box-sizing:border-box}.family-shopping-pin>summary{cursor:pointer;color:#075b38;font-weight:750;font-size:15px;padding:8px 0}.family-shopping-pin input:not([type=checkbox]){width:100%;min-width:0;font-size:16px}.family-shopping-pin .shopping-copy-form select{width:100%;min-height:44px;font:inherit}.shopping-share-picker{display:grid;gap:8px;margin-top:12px}.shopping-share-picker button{min-height:44px;border-radius:12px;border:1px solid #bfd9c9;background:#edf7f0;color:#075b38;padding:10px;font:inherit}

/* The family shopping pin keeps its title, assigned shopper and toggle compact. */
.family-shopping-pins{margin-top:4px;padding-bottom:2px}
.family-shopping-pin{margin:3px 0;padding:6px 10px;border-radius:13px}
.family-shopping-pin:not([open]){width:max-content;max-width:100%}
.family-shopping-pin>.family-shopping-summary{display:grid;grid-template-rows:18px 18px 22px;gap:2px;padding:0;list-style:none;min-width:0;line-height:18px}
.family-shopping-summary::-webkit-details-marker{display:none}
.family-shopping-title,.family-shopping-meta{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.family-shopping-title{font-size:13px;font-weight:800;color:#103e28}
.family-shopping-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px;font-weight:700;line-height:18px;color:#294a37}
.family-shopping-toggle{display:inline-flex;align-items:center;flex-shrink:0;padding:2px 8px;border-radius:7px;background:#08653c;color:#fff;font-size:12px;font-weight:800;line-height:18px}
.family-shopping-summary:focus-visible{outline:2px solid #087443;outline-offset:3px;border-radius:5px}
.family-shopping-pin[open]>.family-shopping-summary{margin-bottom:8px}
.family-shopping-pin[open]{padding:16px 12px;border-radius:20px;max-width:760px}

.family-shopping-shopper{display:block;max-width:100%;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#173c2b;font-size:12px;line-height:18px;font-weight:750}
.family-shopping-shopper-field{display:grid;gap:5px;margin:10px 0;font-size:13px;font-weight:750;color:#173c2b}
.family-shopping-shopper-field select{width:100%;min-width:0;min-height:42px;border:1px solid #c3dacb;border-radius:10px;padding:8px;background:#f3f9f5;color:#173c2b;font:inherit;font-size:16px}

#recover-open-sms:not([hidden]){display:block;box-sizing:border-box;text-align:center;text-decoration:none;margin:10px 0}

#recover-status[data-state="error"]{color:#b42324;font-weight:800;font-size:15px;line-height:1.45}

@media(max-width:760px){
  #registration-panel :is(#login-form,#recover-form).taxi-address-docked{box-sizing:border-box;max-height:var(--auth-dock-max-height,100dvh);overflow-y:auto;overscroll-behavior:contain;scroll-behavior:auto;overflow-anchor:none}
  #registration-panel :is(#login-form,#recover-form).taxi-address-docked input{font-size:16px}
  #registration-panel #recover-form.taxi-address-docked .registration-notice{font-size:12px;line-height:1.35;margin:5px 0}
  #registration-panel #recover-form.taxi-address-docked #recover-start{touch-action:manipulation}
}

.profile-avatar-row{display:flex;align-items:center;justify-content:center;gap:14px;width:100%;min-width:0}
.profile-avatar-preview{display:flex;align-items:center;justify-content:center;flex:0 0 80px;width:80px;height:80px;border-radius:50%;background:#e4f2e9;overflow:hidden}
.auth-profile .profile-avatar-preview img{width:80px;height:80px;border-radius:50%;object-fit:cover;box-shadow:none}
.auth-profile .profile-avatar-preview #profile-photo-fallback{font-size:30px;font-weight:800;color:#075b38}
.profile-avatar-actions{min-width:0;text-align:left}.auth-profile .profile-avatar-actions button{margin:0;min-height:44px}.profile-avatar-actions p{margin:5px 0 0;font-size:12px}
.profile-phone-row{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px;width:100%;min-width:0}
.auth-profile .profile-phone-row #profile-phone-verify{margin:0;min-height:40px;padding:8px 10px;font-size:12px}
.profile-avatar-preview [hidden]{display:none!important}

.onboarding-credentials .phone-field{min-width:0;max-width:100%}.onboarding-credentials .phone-field>input{flex:1 1 0%;width:0;min-width:0;border:0;border-radius:0;box-shadow:none}.onboarding-credentials .phone-prefix{padding:0 12px;font-size:16px;font-weight:750;color:#173c2b}

/* Receipt ownership and finance entry points. */
.receipt-filters{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0}
.receipt-filters label{display:flex;align-items:center;gap:7px;padding:10px 12px;border:1px solid #c3dacb;border-radius:12px;background:#edf7f0;color:#173c2b;font-weight:750}
.receipt-filters input{width:20px;height:20px;accent-color:#087443}
.receipt-audience{display:flex!important;align-items:center;flex-wrap:wrap;gap:10px;padding:12px;margin:12px 0;border-radius:12px;background:#edf7f0;color:#173c2b}
.receipt-audience strong{width:100%;color:#075b38}
.receipt-audience input[role=switch]{appearance:none;-webkit-appearance:none;width:46px!important;min-height:26px!important;height:26px;border:0!important;border-radius:20px;background:#91a69a;position:relative;flex:0 0 46px;padding:0!important}
.receipt-audience input[role=switch]::after{content:'';position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:50%;background:white;transition:transform .15s}
.receipt-audience input[role=switch]:checked{background:#087443}
.receipt-audience input[role=switch]:checked::after{transform:translateX(20px)}
.receipt-audience input:focus-visible{outline:2px solid #087443;outline-offset:3px}
.receipt-library-card{padding:14px 12px;margin:10px 0;border:1px solid #c3dacb;border-radius:16px;background:#fff;color:#172b24;min-width:0}
.receipt-library-card>summary{cursor:pointer;font-weight:750;line-height:1.5;overflow-wrap:anywhere}
.receipt-library-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:14px;line-height:1.4}
.receipt-library-table th,.receipt-library-table td{padding:9px 4px;text-align:left;border-bottom:1px solid #e1ebe5;overflow-wrap:anywhere}
.receipt-library-table th:first-child{width:50%}
.shopping-scope-field{display:grid;gap:7px;color:#173c2b;font-weight:750}
.shopping-scope-field select{width:100%;min-width:0;min-height:44px;padding:9px;border:1px solid #c3dacb;border-radius:10px;background:#fff;color:#173c2b;font:inherit;font-size:16px}

/* Finance cards belong to the chat flow; only the conversation scrolls. */
.shopping-list-response{box-sizing:border-box;max-height:none;overflow:visible}
.receipt-panel.receipt-chat-panel{box-sizing:border-box;min-width:0;width:100%;max-width:760px;max-height:none;overflow:visible;margin:16px 0;padding:16px 12px;border:1px solid #d8e6dd;border-radius:20px;background:#fff;color:#172b24;box-shadow:none}
.receipt-panel.receipt-chat-panel{position:static;order:1000;align-self:start}
.receipt-chat-panel .receipt-header{gap:10px;background:transparent}
.receipt-chat-panel .receipt-header h2{margin:8px 0;font-size:19px}
.receipt-chat-panel .receipt-content,.receipt-chat-panel .receipt-library,.shopping-list-response .shopping-list-history{min-width:0;max-width:100%;max-height:none;overflow:visible}
.receipt-chat-panel .receipt-header>button{flex:0 0 36px;width:36px;height:36px;padding:0;border:0;border-radius:50%;font-size:24px;background:#edf7f0;color:#075b38}
.receipt-chat-panel :is(button,summary,p,label),.shopping-list-response :is(button,p,label){max-width:100%;overflow-wrap:anywhere}

.marketplace-table{width:100%;table-layout:fixed;border-collapse:collapse;margin:12px 0;font-size:13px;line-height:1.4;color:#10271b}
.marketplace-table th,.marketplace-table td{padding:9px 3px;border-bottom:1px solid #e1ebe5;vertical-align:middle;overflow-wrap:anywhere;text-align:center}
.marketplace-table th:first-child,.marketplace-table td:first-child{text-align:left}
.marketplace-table th:nth-child(2),.marketplace-table th:nth-child(3){width:60px}
.marketplace-table th:last-child{width:32px}
.marketplace-table input[type=text]{width:100%;min-width:0;box-sizing:border-box;min-height:42px;padding:7px 5px;border:1px solid #cbded2;border-radius:9px;background:white;font:inherit;font-size:16px;color:#173c2b}
.marketplace-table input[type=checkbox]{width:22px;height:22px;accent-color:#087443}
.marketplace-author{display:block;font-size:12px;font-weight:750;color:#173c2b;margin:5px 0}
.marketplace-table a{color:#087443;font-size:12px;font-weight:700}
.marketplace-status{font-size:13px;color:#8b4835;overflow-wrap:anywhere}
.marketplace-list>summary{cursor:pointer;font-weight:800;color:#103e28}
.marketplace-list>.shopping-list-head button,.marketplace-list>button{min-height:40px;padding:8px 12px;border:1px solid #c3dacb;border-radius:12px;background:#edf7f0;color:#075b38;font:inherit;font-weight:700}
.marketplace-family-pins{width:100%;min-width:0;order:1001}
.marketplace-family-pins>.marketplace-list{margin:6px 0}
.marketplace-family-pins>[hidden]{display:none!important}

.marketplace-table th:nth-child(2),.marketplace-table th:nth-child(3){width:66px;white-space:nowrap;overflow-wrap:normal;word-break:normal;padding-left:2px;padding-right:2px;font-size:12px}
.marketplace-thumb{display:flex;align-items:center;justify-content:center;float:left;width:52px;height:60px;margin:0 8px 6px 0;border-radius:9px;border:1px solid #e1ebe5;background:#f3f8f5;overflow:hidden;text-align:center;text-decoration:none}
.marketplace-thumb img{width:100%;height:100%;max-width:100%;object-fit:contain}
.marketplace-thumb span{font-size:10px;color:#536d5d;padding:3px}
.marketplace-thumb [hidden]{display:none!important}
.marketplace-table input[type=text]{clear:both}
.marketplace-family-actions{display:flex;gap:8px;flex-wrap:wrap;margin:8px 0}
.marketplace-family-actions>button{min-height:42px;padding:9px 18px;border:1px solid #bfd9c9;border-radius:14px;background:#edf7f0;color:#075b38;font:inherit;font-weight:800}
.marketplace-family-actions>button[aria-expanded=true]{background:#087443;color:white}

.marketplace-photo{display:flex;align-items:center;gap:4px;margin-bottom:6px;min-width:0}
.marketplace-photo .marketplace-thumb{float:none;flex:0 0 52px;margin:0}
.marketplace-photo-retry{flex:0 0 26px;width:26px;min-height:30px;padding:0;border:1px solid #c3dacb;border-radius:8px;background:#edf7f0;color:#075b38;font-size:19px}
.marketplace-photo-retry[hidden]{display:none!important}

.marketplace-product-name{display:block;font-size:12px;font-weight:700;line-height:1.4;color:#173c2b;overflow-wrap:anywhere}
.marketplace-name-edit{margin-top:7px}
.marketplace-name-edit>summary{cursor:pointer;color:#536d5d;font-size:11px;line-height:1.4}
.marketplace-name-edit input{margin-top:6px}

.marketplace-table .marketplace-product-name{display:block!important;visibility:visible;opacity:1;min-height:18px;white-space:normal;font-size:13px;font-weight:750;color:#102f20;line-height:1.45}
.marketplace-name-edit[open]>summary{font-weight:700;color:#173c2b}

.group-message-actions{display:flex;justify-content:flex-end;gap:6px;margin-top:7px}
.group-message-actions button{min-height:28px;padding:3px 9px;border:1px solid #c6dbcf;border-radius:9px;background:#edf7f0;color:#075b38;font:inherit;font-size:11px;font-weight:800}
.group-message-actions button:disabled{opacity:.5}
.group-reply-bar{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:7px 12px;background:#edf3f0;color:#405b4e;border-radius:15px 15px 0 0;font-size:12px;font-weight:750;min-width:0}
.group-reply-bar span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.group-reply-bar button{flex:0 0 28px;min-height:28px;padding:0;border:0;border-radius:50%;background:#dbe8e0;color:#405b4e;font-size:20px}
.group-reply-quote{box-sizing:border-box;width:220px;max-width:100%;min-width:0;margin:0 0 6px auto;padding:5px 8px;border-radius:9px;border-right:3px solid #b8cec0;background:#edf3f0;color:#405b4e}
.group-reply-quote summary{cursor:pointer;max-width:100%;font-size:11px;font-weight:750;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.group-reply-quote p{font-size:12px!important;line-height:1.4!important;margin-top:6px!important}

.group-message:has(.group-reply-quote){min-width:0;max-width:calc(100% - 16px)}
.group-message-content:has(>.group-reply-quote){box-sizing:border-box;min-width:0;max-width:calc(100% - 15px)}
.group-reply-quote summary{display:block;box-sizing:border-box;width:100%;line-height:1.35;list-style:none}
.group-reply-quote summary::-webkit-details-marker{display:none}
.group-reply-quote p{white-space:pre-wrap;overflow-wrap:anywhere;max-width:100%}

.marketplace-status-author{display:block;margin-top:5px;color:#365644;font-size:10px;line-height:1.3;overflow-wrap:anywhere}
.marketplace-audit-row>td{padding:5px 4px 10px;text-align:left!important;background:#f6faf7}
.marketplace-audit>summary{cursor:pointer;color:#365644;font-size:11px;font-weight:750}
.marketplace-audit p{margin:6px 0;font-size:11px;line-height:1.4;white-space:normal}

.shopping-quantity-line{display:flex;align-items:center;gap:4px;white-space:nowrap}.shopping-quantity-line input[type=text]{flex:1 1 0;width:0;box-sizing:border-box}.shopping-quantity-unit{flex:none;font-size:11px;font-weight:650;color:#365644}.shopping-list-table .shopping-remove{min-height:34px}
.shopping-list-response .shopping-list-head,.family-shopping-list .shopping-list-head{margin-bottom:0;row-gap:3px}.shopping-list-head:has(+.shopping-list-receipt-top) h3{margin-top:0;margin-bottom:0}.shopping-list-actions.shopping-list-receipt-top{margin-top:3px;margin-bottom:5px;gap:4px}.shopping-list-receipt-top button{padding-top:5px;padding-bottom:5px;min-height:32px}
.shopping-list-head>.shopping-list-receipt-top{display:flex;flex-wrap:nowrap;align-items:center;gap:6px;margin:0 0 0 auto}.shopping-list-head>.shopping-list-receipt-top button{white-space:nowrap}.shopping-list-head>.shopping-list-receipt-top .shopping-list-close{margin-left:0;min-height:34px;padding:0}.shopping-list-table thead th:first-child{font-size:11px;white-space:nowrap;overflow-wrap:normal}
.shopping-list-table .shopping-item-added td{background:#e2f5e5}.shopping-list-table .shopping-item-added input[type=text]{background:#effbf1;border-color:#a7d4b0}
.shopping-recipients{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin:8px 0;font-size:13px}.shopping-recipients button{padding:6px 10px;border:1px solid #b6d5c1;border-radius:12px;background:#edf7f0;color:#075b38;font:inherit}.shopping-recipients .shopping-recipient-chip{background:#d7efdf;font-weight:700}.shopping-recipients select{max-width:100%;font-size:16px}
.shopping-recipient-avatar{position:relative;display:inline-grid;place-items:center;flex:none;vertical-align:middle;width:30px;height:30px;border-radius:50%;overflow:hidden;background:#cae6d4;color:#165733;font-size:14px;font-weight:750}.shopping-recipient-avatar img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.shopping-recipient-avatars{display:inline-flex;align-items:center;gap:4px;vertical-align:middle}.shopping-recipients .shopping-recipient-chip{display:inline-flex;align-items:center;gap:5px;padding:3px 6px}.family-shopping-shopper .shopping-recipient-avatar{width:24px;height:24px;font-size:12px}
.family-shopping-pin:not([open]){min-width:min(100%,280px)}.family-shopping-pin>.family-shopping-summary{grid-template-rows:18px minmax(28px,auto) 22px}.family-shopping-summary .family-shopping-shopper{display:flex;align-items:center;gap:5px;overflow:visible;white-space:normal;line-height:24px}.family-shopping-summary .shopping-recipient-avatars{flex-wrap:wrap;min-width:0;padding:2px 0}
.shopping-recipient-picker{position:relative;display:inline-block}.shopping-recipient-menu{position:absolute;top:calc(100% + 5px);left:0;z-index:20;min-width:180px;max-width:min(260px,70vw);padding:6px;border:1px solid #bfd9c8;border-radius:14px;background:#fff;box-shadow:0 8px 24px #163b2529}.shopping-recipient-menu[hidden]{display:none}.shopping-recipients .shopping-recipient-menu button{display:flex;align-items:center;gap:8px;width:100%;margin:2px 0;text-align:left;border:0;background:#f1f8f3}.shopping-recipient-menu p{margin:6px;font-size:13px}
.shopping-library-filters button[aria-pressed=true]{background:#087337;border-color:#087337;color:white;box-shadow:inset 0 2px 4px #03451f3b}.shopping-library-filters{margin-top:12px;margin-bottom:6px}
.shopping-library-filters{border-top:1px solid #c5d9cc;padding-top:10px;gap:5px}.shopping-library-filters button{font-size:12px;min-height:34px;padding:6px 9px;border-radius:10px}
.shopping-library-kind{display:inline-flex;align-items:center;gap:4px;margin:5px 0 0 7px;padding:3px 7px;border-radius:9px;font-size:11px;font-weight:750;white-space:nowrap;vertical-align:middle}.shopping-library-kind.personal{background:#e6edf8;color:#315780}.shopping-library-kind.shared{background:#d9efdf;color:#17613a}
.shopping-library-recipients{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-top:6px;width:100%;font-size:12px}.shopping-list-history .shopping-library-kind{margin-top:0}
.shopping-list-history .shopping-library-recipients{justify-content:center;text-align:center}
#attachment-menu-toggle{display:grid;place-items:center;padding:0;line-height:1}#attachment-menu-toggle svg{display:block;width:26px;height:26px;margin:0;transform:none;flex:none}
.shopping-recipe-card{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:6px 10px;text-align:left}.shopping-recipe-card img{width:58px;height:58px;object-fit:cover;border-radius:10px;grid-row:span 2}.shopping-recipe-card span{font-size:12px}.shopping-recipe-preview{display:block;width:min(220px,100%);max-height:200px;object-fit:cover;border-radius:12px;margin:8px 0}.shopping-list-response form>label{display:block;margin-top:10px;font-size:13px;font-weight:700}
.shopping-list-response .shopping-template-create{border-radius:16px;padding:9px 18px;min-height:40px}.shopping-recipe-form{min-width:0;width:100%}.shopping-recipe-form .shopping-recipe-name{display:block;width:100%;max-width:100%;min-height:50px;padding:11px 13px;border:2px solid #70ad87;border-radius:14px;background:#f0faf3;color:#103e28;font-size:20px;font-weight:750;box-sizing:border-box}.shopping-recipe-name::placeholder{color:#517b61;opacity:1}.shopping-recipe-form .shopping-dish-photo{display:grid;place-items:center;position:relative;width:92px;height:92px;margin:12px 0;border:2px dashed #7aae8b;border-radius:50%;padding:0;overflow:hidden;background:#edf7f0;color:#24673c;font-size:16px;font-weight:750}.shopping-dish-photo .shopping-recipe-preview{width:100%;height:100%;max-height:none;margin:0;border-radius:50%;object-fit:cover}.shopping-recipe-ingredients{table-layout:fixed}.shopping-recipe-ingredients th:first-child,.shopping-recipe-ingredients td:first-child{width:34px}.shopping-recipe-ingredients th:nth-child(3),.shopping-recipe-ingredients td:nth-child(3){width:64px}.shopping-recipe-ingredients th:last-child,.shopping-recipe-ingredients td:last-child{width:48px}.shopping-recipe-ingredients input:not([type=checkbox]),.shopping-recipe-ingredients textarea{width:100%;min-width:0;max-width:100%;box-sizing:border-box;margin:0;padding:5px;border:1px solid #cbded2;border-radius:8px;background:#fff;color:#173b28;font:inherit;font-size:16px;line-height:1.3}.shopping-recipe-ingredients textarea{display:block;resize:vertical;min-height:48px;overflow-wrap:anywhere}.shopping-recipe-ingredients td{padding:5px 3px;vertical-align:middle}.shopping-recipe-form .shopping-list-actions button{border-radius:14px}
.shopping-recipe-ingredients th:nth-child(4),.shopping-recipe-ingredients td:nth-child(4){width:42px}.shopping-recipe-ingredients th:last-child,.shopping-recipe-ingredients td:last-child{width:30px}.shopping-recipe-ingredients .shopping-remove{width:26px;min-height:32px}
.shopping-list-primary-actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px}.shopping-list-primary-actions button{width:100%;min-width:0}.shopping-recipe-form .shopping-recipe-name{scroll-margin-top:8px;overflow-anchor:none}
.shopping-recipe-selector{position:relative;border:1px solid #bdd9c7;border-radius:16px;padding:14px;margin:10px 0;background:#f4fbf6}.shopping-recipe-selector>label{display:flex;align-items:center;gap:8px;margin:9px 0;font-size:14px}.shopping-recipe-selector>label input{width:20px!important;height:20px;flex:none}.shopping-recipe-selector>.shopping-list-close{position:absolute;top:6px;right:6px}.shopping-cooking-question{border-top:1px solid #c5d9cc;margin-top:10px;padding-top:8px}.shopping-cooking-question button{border:1px solid #bcd5c4;border-radius:12px;background:#e6f5eb;color:#17613a;padding:8px 18px;margin-right:8px}
.shopping-attach-recipes-row{align-items:center;gap:7px}.shopping-attach-recipes-row>button{height:40px;min-height:40px;padding-top:7px;padding-bottom:7px}.shopping-recipe-circles{display:contents}.shopping-list-actions .shopping-recipe-circle{position:relative;display:grid;place-items:center;flex:0 0 40px;width:40px;height:40px;min-height:40px;max-width:40px;padding:0;border:1px solid #a5cfb3;border-radius:50%;background:#d9efdf;overflow:hidden;color:#1b6338;font-size:16px;font-weight:750}.shopping-recipe-circle img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:50%}.shopping-recipe-circle-caption{flex-basis:100%;font-size:13px;font-weight:700;color:#175b34;padding:2px 0}
.shopping-list-actions .shopping-recipe-circle{overflow:visible}.shopping-recipe-circle-caption{position:absolute;bottom:calc(100% + 9px);left:50%;transform:translateX(-50%);z-index:30;display:block;width:max-content;max-width:170px;padding:7px 10px;border-radius:12px;background:#174d31;color:#fff;box-shadow:0 5px 16px #11382430;font-size:12px;font-weight:700;line-height:1.3;white-space:normal;pointer-events:none}.shopping-recipe-circle-caption:after{content:"";position:absolute;top:100%;left:50%;transform:translateX(-50%);border:6px solid transparent;border-top-color:#174d31}
.shopping-recipe-circle-caption{transform:translateX(calc(-50% + var(--recipe-tooltip-shift,0px)))}.shopping-recipe-circle-caption:after{left:calc(50% - var(--recipe-tooltip-shift,0px))}
.shopping-recipe-form>textarea{display:block;box-sizing:border-box;width:100%;max-width:100%;padding:10px;border:1px solid #bdd6c5;border-radius:12px;background:#fff;color:#163d29;font:inherit;font-size:16px;resize:vertical}.shopping-recipe-answer{white-space:pre-wrap;line-height:1.5}

.shopping-recipe-circle-wrap{position:relative;flex:0 0 40px;width:40px;height:40px}.shopping-recipe-circle-caption{pointer-events:auto;display:flex;align-items:center;gap:8px}.shopping-recipe-circle-caption[hidden]{display:none}.shopping-list-actions .shopping-recipe-remove{flex:0 0 30px;width:30px;height:30px;min-height:30px;padding:2px;border:0;border-radius:8px;background:#fff;color:#963535;font-size:17px}

.shopping-list-actions .shopping-recipe-remove{display:grid;place-items:center}.shopping-recipe-remove svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}

/* Chat cards receive programmatic focus for scrolling, without a browser focus frame. */
:is(.shopping-list-response,.search-response,.marketplace-list,.top-chat-panel,.receipt-response)[tabindex="-1"]:focus{outline:none}
body.in-app :is(section,div,article)[tabindex="-1"]:focus{outline:none}

.marketplace-family-actions>button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:5px 10px 5px 5px;border-radius:14px}.marketplace-family-actions>button img{display:block;width:34px;height:34px;flex:none;border-radius:10px}.marketplace-count{min-width:16px;font-size:16px;font-weight:800;line-height:1}

.marketplace-product-name.is-named{color:#087443;font-size:17px;font-weight:800;line-height:1.3}.marketplace-visibility{display:flex;gap:12px;flex-wrap:wrap;margin:8px 0}.marketplace-visibility label{display:flex;gap:5px;align-items:center;font-size:12px;font-weight:700}.marketplace-name-edit input{font-size:17px;color:#087443;font-weight:750}

.family-reminder-events{order:998;flex:none;width:100%;min-width:0;padding:10px 6px;margin:8px 0;background:#f7fcf8;border:1px solid #d5e7d9;border-radius:16px}.family-reminder-events h3{font-size:16px;margin:0 0 8px;color:#12673c}.family-reminder-events>p{font-size:12px;margin:0;color:#537360}.family-reminder-table{width:100%;table-layout:fixed;border-collapse:collapse;font-size:12px;color:#173c2b}.family-reminder-table th,.family-reminder-table td{padding:6px 2px;border-bottom:1px solid #dbe9df;text-align:center;overflow-wrap:anywhere;vertical-align:middle}.family-reminder-table th{font-size:10px}.family-reminder-table :is(th,td):nth-child(1),.family-reminder-table :is(th,td):nth-child(2){width:34px}.family-reminder-table :is(th,td):nth-child(3){width:65px;font-size:11px}.family-reminder-table :is(th,td):nth-child(4){text-align:left}.family-reminder-table :is(th,td):nth-child(5),.family-reminder-table :is(th,td):nth-child(6){width:41px}.family-reminder-table :is(th,td):nth-child(7){width:26px}.family-reminder-table input{width:18px;height:18px;accent-color:#087443}.family-reminder-table button{border:0;border-radius:8px;background:#e5f1e8;color:#8e3333;font-size:22px;padding:0 5px}.family-reminder-table .is-done td:nth-child(4){text-decoration:line-through;color:#728277}

.family-updates-button{display:block;margin-top:8px;border:1px solid #a4cdb4;border-radius:12px;padding:8px 12px;background:#e5f4ea;color:#07663b;font:inherit;font-weight:750}

.family-reminder-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.family-reminder-heading h3{margin:0}.family-reminder-heading .reminder-table-toggle,.family-reminder-table .reminder-text-toggle{border:1px solid #bfd9c9;border-radius:9px;padding:5px 8px;background:#e6f3e9;color:#086438;font:inherit;font-size:12px;font-weight:750}.family-reminder-table .reminder-text-toggle{display:block;margin-top:4px;padding:3px 6px;font-size:11px}.family-reminder-table td:nth-child(4)>span{white-space:pre-wrap}

.family-reminder-events:not(.reminder-expanded){width:max-content;max-width:100%;min-width:min(100%,280px);margin:3px 0;padding:6px 10px;border-radius:13px;background:var(--message-bg,#f7fcf8)}.family-reminder-events:not(.reminder-expanded) .family-reminder-heading{min-height:58px;align-items:center;gap:12px}.family-reminder-events .family-reminder-heading h3{font-size:13px;font-weight:800;color:#103e28}.family-reminder-events .reminder-table-toggle{padding:2px 8px;border:0;border-radius:7px;background:#08653c;color:white;font-size:12px;font-weight:800;line-height:18px}.reminder-prompt-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}.reminder-prompt-actions button{padding:7px 12px;border:1px solid #bfd9c9;border-radius:10px;background:#e6f3e9;color:#086438;font:inherit;font-weight:750}

.family-reminder-table input[type=checkbox]{width:54px;height:54px;min-width:54px;min-height:54px;margin:0;vertical-align:middle;accent-color:#087443}.family-reminder-table :is(th,td):nth-child(5),.family-reminder-table :is(th,td):nth-child(6){width:58px}.reminder-delivered{display:block;margin-top:3px;font-size:10px;color:#477557;font-weight:700}@media(max-width:420px){.family-reminder-table :is(th,td):nth-child(1),.family-reminder-table :is(th,td):nth-child(2){width:30px}.family-reminder-table :is(th,td):nth-child(3){width:53px}.family-reminder-table :is(th,td):nth-child(7){width:22px}.family-reminder-table th,.family-reminder-table td{padding-left:1px;padding-right:1px}}
.family-reminder-table input[type=checkbox]{width:36px;height:36px;min-width:36px;min-height:36px}.family-reminder-table :is(th,td):nth-child(5),.family-reminder-table :is(th,td):nth-child(6){width:40px}.reminder-delivered{display:inline-block;max-width:none;white-space:nowrap;margin-top:3px;padding:2px 4px;border-radius:5px;background:#08653c;color:#fff;font-size:8px;font-weight:800;line-height:14px}

.family-reminder-table :is(th,td):nth-child(3){width:64px}.reminder-date-line{display:block;white-space:nowrap;line-height:15px}.family-reminder-table .reminder-delivered{display:block;box-sizing:border-box;width:100%;max-width:100%;margin-top:4px;padding:2px 0;white-space:nowrap;font-size:8px;line-height:12px;text-align:center;overflow:hidden}.family-reminder-table th:nth-child(5),.family-reminder-table th:nth-child(6){white-space:nowrap;overflow-wrap:normal;word-break:normal;font-size:9px}

.ibeza-operation-loading{position:fixed;z-index:1600;top:calc(env(safe-area-inset-top,0px) + 12px);left:50%;transform:translateX(-50%);padding:10px 16px;border:1px solid #bfdbc9;border-radius:16px;background:#f4fbf6f5;color:#075b38;box-shadow:0 6px 24px #11382425;font-size:14px;font-weight:750;pointer-events:none;max-width:calc(100vw - 24px)}.ibeza-operation-loading[hidden]{display:none!important}
#group-chat-detail{row-gap:6px}#group-chat-detail>.family-reminder-events,#group-chat-detail>.family-shopping-pins,#group-chat-detail>.marketplace-family-pins{margin-top:0;margin-bottom:0}.family-reminder-events{padding:6px 5px}.family-reminder-events:not(.reminder-expanded){padding:5px 8px}.family-reminder-events:not(.reminder-expanded) .family-reminder-heading{min-height:36px;gap:8px}.family-reminder-table th,.family-reminder-table td{padding-top:3px;padding-bottom:3px;line-height:1.2}.family-reminder-table .shopping-recipient-avatar{width:26px;height:26px}.family-reminder-table .reminder-text-toggle{margin-top:2px;padding:2px 5px}.family-reminder-heading{gap:6px}.marketplace-family-actions{gap:6px;margin:2px 0}.family-shopping-pins{padding-bottom:0}.family-shopping-pin{margin:2px 0}
#group-chat-detail>.family-reminder-events:not(.reminder-expanded){width:100%;max-width:100%;min-width:0;box-sizing:border-box;justify-self:stretch}
/* Shared visual surface for all family footer cards. */
#group-chat-detail .family-reminder-events,#group-chat-detail .family-shopping-pin,#group-chat-detail .marketplace-family-actions{box-sizing:border-box;width:100%;min-width:0;max-width:100%;margin:0;padding:6px 10px;border:1px solid #c8dfd0;border-radius:13px;background:#f7fcf8;color:#103e28;box-shadow:0 2px 6px #123b2410}
#group-chat-detail .family-reminder-events:not(.reminder-expanded),#group-chat-detail .family-shopping-pin:not([open]){width:100%;min-width:0;max-width:100%}
#group-chat-detail .family-shopping-pins{display:grid;gap:6px;padding:0}#group-chat-detail .marketplace-family-actions{display:flex;align-items:center;gap:6px;min-height:48px}
#group-chat-detail .family-reminder-heading h3,#group-chat-detail .family-shopping-title{font-size:13px;font-weight:800;color:#103e28;line-height:18px}
#group-chat-detail .family-shopping-toggle,#group-chat-detail .reminder-table-toggle{padding:2px 8px;border:0;border-radius:7px;background:#08653c;color:#fff;font-size:12px;font-weight:800;line-height:18px}
#group-chat-detail .family-reminder-heading{min-height:36px}#group-chat-detail .marketplace-family-actions>button{border:1px solid #bfd9c9;border-radius:10px;box-shadow:none}
#group-chat-detail .family-shopping-pin[open]{padding:10px}

#group-chat-detail .family-reminder-events:not(.reminder-expanded),#group-chat-detail .family-shopping-pin:not([open]),#group-chat-detail .marketplace-family-actions{width:50%;min-width:0;max-width:50%;justify-self:start;box-sizing:border-box}#group-chat-detail .family-reminder-events:not(.reminder-expanded) .family-reminder-heading{flex-direction:column;align-items:flex-start;gap:4px;min-height:0}#group-chat-detail .family-reminder-events:not(.reminder-expanded) .family-reminder-heading h3{white-space:normal}#group-chat-detail .family-shopping-pin:not([open]) .family-shopping-meta{gap:4px;flex-wrap:wrap}#group-chat-detail .family-shopping-pin:not([open])>.family-shopping-summary{grid-template-rows:auto auto auto;gap:3px}#group-chat-detail .family-shopping-pin:not([open]) .family-shopping-title{white-space:normal;overflow-wrap:anywhere}#group-chat-detail .marketplace-family-actions{flex-wrap:wrap;gap:4px}#group-chat-detail .marketplace-family-actions>button{min-width:0;gap:5px;padding:4px 6px 4px 4px}
#group-chat-detail .family-reminder-events:not(.reminder-expanded),#group-chat-detail .family-shopping-pin:not([open]),#group-chat-detail .marketplace-family-actions{width:min(100%,260px);max-width:100%;min-width:0}#group-chat-detail .marketplace-family-actions{flex-wrap:nowrap;gap:5px}#group-chat-detail .marketplace-family-actions>button{flex:1 1 0;justify-content:center;min-width:0;padding:4px;gap:5px}
