/*
 * Minha conta da vitrine no padrão visual Minimals (o mesmo do app-pvsistemas e do modelo Pro):
 * Public Sans, campos com rótulo na borda, botão "contained" escuro, cards com sombra suave, etiquetas "soft".
 * No Pro as cores vêm das variáveis do Pro (--p-*), que já seguem o tema claro/escuro da loja; nos outros modelos, Minimals claro.
 * A cor de destaque é a da marca da loja (--primary).
 */
.lc {
  --m-primary: var(--p-accent, var(--primary, #00A76F));
  --m-on-primary: var(--p-on-accent, #fff);
  --m-paper: var(--p-paper, #FFFFFF);
  --m-neutral: var(--p-paper2, #F4F6F8);
  --m-text: var(--p-text, #1C252E);
  --m-text2: var(--p-muted, #637381);
  --m-text3: #919EAB;
  --m-divider: var(--p-line, rgba(145, 158, 171, .2));
  --m-input: var(--p-line2, rgba(145, 158, 171, .32));
  --m-hover: rgba(145, 158, 171, .08);
  --m-success: #22C55E; --m-info: #00B8D9; --m-warning: #FFAB00; --m-error: #FF5630;
  --m-shadow-card: 0 0 2px 0 rgba(145, 158, 171, .2), 0 12px 24px -4px rgba(145, 158, 171, .12);
  --m-shadow-dialog: -40px 40px 80px -8px rgba(0, 0, 0, .24);
  --m-r: 8px; --m-r-card: 16px;
  max-width: 1200px; margin: 0 auto; padding: 32px 16px 80px; box-sizing: border-box;
  font-family: 'Public Sans', system-ui, -apple-system, 'Segoe UI', sans-serif; font-size: 15px; line-height: 1.5714; color: var(--m-text);
  -webkit-font-smoothing: antialiased;
}
.lc *, .lc *::before, .lc *::after { box-sizing: border-box; }
.lc [hidden] { display: none !important; }
.lc a { color: inherit; }

/* ---------- tipografia ---------- */
.lc-h4 { margin: 0; font-size: 1.5rem; font-weight: 700; line-height: 1.5; }
.lc-h5 { margin: 0; font-size: 1.25rem; font-weight: 700; line-height: 1.5; }
.lc-h6 { margin: 0; font-size: 1.0625rem; font-weight: 600; line-height: 1.5556; }
.lc-body2 { margin: 0; font-size: .875rem; color: var(--m-text2); line-height: 1.5714; }
.lc-caption { margin: 0; font-size: .75rem; color: var(--m-text2); line-height: 1.5; }
.lc-caption a { color: var(--m-text); font-weight: 600; }
.lc-helper { display: block; margin: 8px 14px 0; font-size: .75rem; color: var(--m-text3); }
.lc-center { text-align: center; }
.lc-end { display: flex; justify-content: flex-end; gap: 12px; }
.lc-self-end { align-self: flex-end; }
.lc-stack { display: flex; flex-direction: column; gap: 12px; }
.lc-stack .lc-meter { margin-top: -4px; }

/* ---------- login dividido (auth-split) ---------- */
.lc-auth { display: grid; grid-template-columns: minmax(0, 480px) minmax(0, 1fr); min-height: 640px; border-radius: var(--m-r-card); overflow: hidden; background: var(--m-paper); box-shadow: var(--m-shadow-card); }
.lc-auth__side { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 64px 40px; text-align: center; overflow: hidden;
  background: linear-gradient(180deg, color-mix(in srgb, var(--m-primary) 8%, var(--m-neutral)) 0%, var(--m-neutral) 100%); }
.lc-auth__side::before { content: ""; position: absolute; inset: auto -30% -40% -30%; height: 70%; background: radial-gradient(closest-side, color-mix(in srgb, var(--m-primary) 22%, transparent), transparent); pointer-events: none; }
.lc-auth__side h2 { margin: 0; font-size: 1.875rem; font-weight: 800; line-height: 1.3; max-width: 340px; position: relative; }
.lc-auth__side p { margin: 0; color: var(--m-text2); max-width: 320px; position: relative; }
.lc-auth__art { position: relative; width: 100%; max-width: 320px; height: 190px; margin: 28px 0 20px; }
.lc-mock { position: absolute; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; padding: 18px; border-radius: 14px; background: var(--m-paper); box-shadow: var(--m-shadow-card); text-align: left; width: 230px; }
.lc-mock b { font-size: .9rem; }
.lc-mock i { display: block; height: 8px; border-radius: 4px; background: var(--m-neutral); width: 100%; }
.lc-mock i + i { width: 60%; }
.lc-mock--a { left: 0; top: 0; transform: rotate(-4deg); }
.lc-mock--b { right: 0; bottom: 0; transform: rotate(3deg); }
.lc-perks { position: relative; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; text-align: left; font-size: .875rem; color: var(--m-text2); }
.lc-perks li { display: flex; gap: 10px; align-items: flex-start; }
.lc-perks li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; background: color-mix(in srgb, var(--m-primary) 16%, transparent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300A76F' stroke-width='3'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / 11px no-repeat; }
.lc-auth__main { display: flex; align-items: center; justify-content: center; padding: 56px 24px; }
.lc-auth__box { width: 100%; max-width: 420px; display: flex; flex-direction: column; gap: 20px; }
.lc-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 40px; }
.lc-head.lc-center { align-items: center; }
.lc-auth__box > div > .lc-btn--outlined { margin-bottom: 0; }
.lc-hero-ico { width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 8px; color: var(--m-primary); background: color-mix(in srgb, var(--m-primary) 10%, transparent); }
.lc-or { display: flex; align-items: center; gap: 16px; margin: 24px 0; color: var(--m-text3); font-size: .75rem; font-weight: 700; }
.lc-or::before, .lc-or::after { content: ""; flex: 1; border-top: 1px dashed var(--m-divider); }
.lc-status-ico { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 20px; background: var(--m-neutral); position: relative; }
.lc-status-ico.is-ok { background: color-mix(in srgb, var(--m-success) 16%, transparent); }
.lc-status-ico.is-ok::after { content: ""; position: absolute; left: 27px; top: 18px; width: 14px; height: 26px; border: solid var(--m-success); border-width: 0 3px 3px 0; transform: rotate(45deg); }
.lc-status-ico.is-err { background: color-mix(in srgb, var(--m-error) 16%, transparent); }
[data-view="status"] .lc-body2 { margin: 8px 0 32px; }

/* ---------- campos (TextField outlined, rótulo na borda) ---------- */
.lc-form { display: flex; flex-direction: column; gap: 24px; }
.lc-form--grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 16px; }
.lc-span2 { grid-column: 1 / -1; }
.lc-field { position: relative; display: block; min-width: 0; }
.lc-field > span:first-child { position: absolute; left: 10px; top: 0; transform: translateY(-50%); padding: 0 4px; max-width: calc(100% - 24px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-size: .75rem; font-weight: 600; line-height: 1; color: var(--m-text2); background: var(--m-paper); pointer-events: none; z-index: 1; transition: color .15s; }
.lc-field input { display: block; width: 100%; height: 54px; padding: 16.5px 14px; font: inherit; font-size: .9375rem; color: var(--m-text); background: transparent;
  border: 1px solid var(--m-input); border-radius: var(--m-r); outline: none; transition: border-color .15s, box-shadow .15s; }
.lc-field input::placeholder { color: var(--m-text3); opacity: 1; }
.lc-field input:hover { border-color: var(--m-text); }
.lc-field input:focus { border-color: var(--m-text); box-shadow: inset 0 0 0 1px var(--m-text); }
.lc-field:focus-within > span:first-child { color: var(--m-text); font-weight: 700; }
.lc-field input:disabled { color: var(--m-text3); border-color: var(--m-divider); cursor: not-allowed; }
.lc-field input.is-error { border-color: var(--m-error); box-shadow: inset 0 0 0 1px var(--m-error); }
.lc-field:has(input.is-error) > span:first-child { color: var(--m-error); }
.lc-field--adorn input { padding-right: 52px; }
.lc-eye { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 50%; background: none; color: var(--m-text2); cursor: pointer; }
.lc-eye:hover { background: var(--m-hover); }
.lc-eye.is-on { color: var(--m-text); }
.lc-meter { display: block; height: 4px; border-radius: 4px; background: var(--m-neutral); overflow: hidden; }
.lc-meter i { display: block; height: 100%; width: 0; transition: width .2s, background .2s; }
.lc-meter[data-n="1"] i { width: 25%; background: var(--m-error); }
.lc-meter[data-n="2"] i { width: 55%; background: var(--m-warning); }
.lc-meter[data-n="3"] i, .lc-meter[data-n="4"] i { width: 100%; background: var(--m-success); }
.lc-check { display: flex; gap: 10px; align-items: flex-start; font-size: .875rem; line-height: 1.5; color: var(--m-text2); cursor: pointer; }
.lc-check input { margin: 2px 0 0; width: 18px; height: 18px; flex: none; accent-color: var(--m-text); }
.lc-check a { color: var(--m-text); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.lc-check--req span::after { content: " *"; color: var(--m-error); }
.lc-switch { display: flex; align-items: center; gap: 12px; cursor: pointer; font-size: .875rem; }
.lc-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.lc-switch i { position: relative; flex: none; width: 33px; height: 20px; border-radius: 10px; background: var(--m-text3); opacity: .48; transition: background .15s, opacity .15s; }
.lc-switch i::after { content: ""; position: absolute; top: 4px; left: 4px; width: 12px; height: 12px; border-radius: 50%; background: #fff; transition: transform .15s; }
.lc-switch input:checked + i { background: var(--m-primary); opacity: 1; }
.lc-switch input:checked + i::after { transform: translateX(13px); }
.lc-switch input:focus-visible + i { box-shadow: 0 0 0 3px color-mix(in srgb, var(--m-primary) 30%, transparent); }
.lc-msg { margin: -8px 0 0; font-size: .8125rem; color: var(--m-error); }
.lc-msg:empty { display: none; }
.lc-msg.is-ok { color: color-mix(in srgb, var(--m-success) 70%, var(--m-text)); }

/* ---------- botões ---------- */
.lc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 36px; padding: 6px 16px; border: 0; border-radius: var(--m-r);
  font: inherit; font-size: .875rem; font-weight: 700; line-height: 1.7143; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background .2s, box-shadow .2s, color .2s; }
.lc-btn:disabled { opacity: .48; cursor: default; }
.lc-btn--sm { min-height: 30px; padding: 4px 10px; font-size: .8125rem; }
.lc-btn--lg { min-height: 48px; padding: 8px 22px; font-size: .9375rem; }
.lc-btn--block { width: 100%; }
.lc-btn--contained { background: var(--m-text); color: var(--m-paper); }
.lc-btn--contained:hover { background: color-mix(in srgb, var(--m-text) 82%, var(--m-paper)); box-shadow: 0 8px 16px 0 rgba(145, 158, 171, .16); }
.lc-btn--outlined { background: transparent; color: var(--m-text); border: 1px solid var(--m-input); }
.lc-btn--outlined:hover { border-color: currentColor; background: var(--m-hover); }
.lc-btn--soft { background: color-mix(in srgb, var(--m-primary) 16%, transparent); color: color-mix(in srgb, var(--m-primary) 70%, var(--m-text)); }
.lc-btn--soft:hover { background: color-mix(in srgb, var(--m-primary) 32%, transparent); }
.lc-btn--error { background: var(--m-error); color: #fff; }
.lc-btn--error:hover { background: color-mix(in srgb, var(--m-error) 80%, #000); }
.lc-link { border: 0; background: none; padding: 0; font: inherit; font-size: .875rem; font-weight: 600; color: var(--m-primary); cursor: pointer; text-decoration: none; }
.lc-link:hover { text-decoration: underline; }
.lc-link--muted { color: var(--m-text); font-weight: 600; }
.lc-link--back { align-self: center; color: var(--m-text); font-weight: 600; }
.lc-link--danger { color: var(--m-error); }

/* ---------- alertas (Alert standard) e etiquetas (Label soft) ---------- */
.lc-alert { padding: 14px 16px; border-radius: var(--m-r); font-size: .875rem; line-height: 1.5714; }
.lc-alert--row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 24px; }
.lc-alert--info { background: color-mix(in srgb, var(--m-info) 12%, transparent); color: color-mix(in srgb, var(--m-info) 55%, var(--m-text)); }
.lc-alert--error { background: color-mix(in srgb, var(--m-error) 12%, transparent); color: color-mix(in srgb, var(--m-error) 60%, var(--m-text)); }
.lc-alert--warning { background: color-mix(in srgb, var(--m-warning) 14%, transparent); color: color-mix(in srgb, var(--m-warning) 45%, var(--m-text)); }
.lc-google-on { display: inline-flex; align-items: center; gap: 10px; }
.lc-label { display: inline-flex; align-items: center; justify-content: center; height: 24px; min-width: 24px; padding: 0 6px; border-radius: 6px; font-size: .75rem; font-weight: 700; line-height: 1; white-space: nowrap;
  background: var(--m-hover); color: var(--m-text2); }
.lc-label--success { background: color-mix(in srgb, var(--m-success) 16%, transparent); color: color-mix(in srgb, var(--m-success) 62%, var(--m-text)); }
.lc-label--info { background: color-mix(in srgb, var(--m-info) 16%, transparent); color: color-mix(in srgb, var(--m-info) 62%, var(--m-text)); }
.lc-label--warning { background: color-mix(in srgb, var(--m-warning) 16%, transparent); color: color-mix(in srgb, var(--m-warning) 55%, var(--m-text)); }
.lc-label--error { background: color-mix(in srgb, var(--m-error) 16%, transparent); color: color-mix(in srgb, var(--m-error) 62%, var(--m-text)); }

/* ---------- página da conta (Account view) ---------- */
.lc-page__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.lc-who { display: flex; align-items: center; gap: 16px; min-width: 0; }
.lc-crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: .875rem; color: var(--m-text3); }
.lc-crumbs a { color: var(--m-text); text-decoration: none; }
.lc-crumbs a:hover { text-decoration: underline; }
.lc-avatar { width: 48px; height: 48px; flex: none; border-radius: 50%; display: grid; place-items: center; overflow: hidden; font-weight: 700; font-size: 1.1rem;
  background: color-mix(in srgb, var(--m-primary) 16%, transparent); color: color-mix(in srgb, var(--m-primary) 70%, var(--m-text)); }
.lc-avatar img { width: 100%; height: 100%; object-fit: cover; }
.lc-avatar--xl { width: 96px; height: 96px; font-size: 2rem; border: 4px solid var(--m-paper); box-shadow: 0 0 0 1px var(--m-divider); }
.lc-tabs { display: flex; gap: 40px; margin-bottom: 40px; overflow-x: auto; scrollbar-width: none; box-shadow: inset 0 -2px 0 0 var(--m-divider); }
.lc-tabs::-webkit-scrollbar { display: none; }
.lc-tabs a { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0; flex: none; font-size: .875rem; font-weight: 600; color: var(--m-text2); text-decoration: none; border-bottom: 2px solid transparent; transition: color .15s; }
.lc-tabs a:hover { color: var(--m-text); }
.lc-tabs a.is-on { color: var(--m-text); border-bottom-color: var(--m-text); }
.lc-card { position: relative; background: var(--m-paper); border-radius: var(--m-r-card); box-shadow: var(--m-shadow-card); padding: 24px; }
.lc-card + .lc-card { margin-top: 24px; }
.lc-card--danger { box-shadow: var(--m-shadow-card), inset 0 0 0 1px color-mix(in srgb, var(--m-error) 30%, transparent); }
.lc-card__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.lc-card__head .lc-caption { margin-top: 4px; }
.lc-grid-side { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 24px; align-items: start; }
.lc-card--profile { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; padding: 40px 24px; }
.lc-card--profile .lc-avatar--xl { margin-bottom: 8px; }
.lc-card--profile .lc-label { margin: 8px 0; }
.lc-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.lc-empty { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; padding: 64px 24px; color: var(--m-text2); }
.lc-empty p { margin: 0; }
.lc-empty b { color: var(--m-text); font-size: 1.0625rem; }
.lc-empty .lc-btn { margin-top: 16px; }
.lc-empty__ico { width: 120px; height: 90px; margin-bottom: 16px; border-radius: 16px; background:
  linear-gradient(var(--m-paper), var(--m-paper)) 18px 18px / 84px 10px no-repeat, linear-gradient(var(--m-paper), var(--m-paper)) 18px 38px / 54px 10px no-repeat,
  color-mix(in srgb, var(--m-primary) 12%, var(--m-neutral)); }
.lc-skel { height: 88px; border-radius: var(--m-r-card); background: linear-gradient(90deg, var(--m-neutral), var(--m-paper), var(--m-neutral)); background-size: 200% 100%; animation: lc-skel 1.2s infinite; }
.lc-skel + .lc-skel { margin-top: 16px; }
@keyframes lc-skel { to { background-position: -200% 0; } }

/* pedidos */
.lc-orders { display: flex; flex-direction: column; gap: 16px; }
.lc-order { background: var(--m-paper); border-radius: var(--m-r-card); box-shadow: var(--m-shadow-card); overflow: hidden; }
.lc-order summary { list-style: none; display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; gap: 16px; align-items: center; padding: 16px 20px; cursor: pointer; }
.lc-order summary::-webkit-details-marker { display: none; }
.lc-order summary:hover { background: var(--m-hover); }
.lc-order__thumbs { display: flex; }
.lc-order__thumbs img, .lc-order__thumbs .lc-noimg { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid var(--m-paper); margin-left: -12px; background: var(--m-neutral); }
.lc-order__thumbs > :first-child { margin-left: 0; }
.lc-order__head { display: flex; flex-direction: column; min-width: 0; }
.lc-order__head strong { font-size: .875rem; font-weight: 600; }
.lc-order__head small { color: var(--m-text3); font-size: .75rem; }
.lc-order__total { font-size: .875rem; font-weight: 600; }
.lc-order__body { padding: 8px 20px 24px; border-top: 1px dashed var(--m-divider); display: flex; flex-direction: column; gap: 20px; }
.lc-track { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.lc-track li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: .75rem; font-weight: 600; color: var(--m-text3); text-align: center; }
.lc-track li::before { content: ""; position: absolute; top: 9px; left: -50%; width: 100%; height: 2px; background: var(--m-divider); }
.lc-track li:first-child::before { display: none; }
.lc-track li.is-done::before { background: var(--m-success); }
.lc-track i { position: relative; z-index: 1; width: 20px; height: 20px; border-radius: 50%; background: var(--m-paper); border: 2px solid var(--m-divider); }
.lc-track li.is-done i { border-color: var(--m-success); background: var(--m-success) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / 11px no-repeat; }
.lc-track li.is-done, .lc-track li.is-now { color: var(--m-text); }
.lc-track li.is-now i { box-shadow: 0 0 0 4px color-mix(in srgb, var(--m-success) 20%, transparent); }
.lc-track--off { margin-top: 16px; padding: 12px 16px; border-radius: var(--m-r); font-size: .875rem; background: color-mix(in srgb, var(--m-error) 12%, transparent); color: color-mix(in srgb, var(--m-error) 60%, var(--m-text)); }
.lc-order__items { list-style: none; margin: 0; padding: 0; }
.lc-order__items li { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 12px 0; border-bottom: 1px dashed var(--m-divider); font-size: .875rem; }
.lc-order__items li:last-child { border-bottom: 0; }
.lc-order__items li > span { display: flex; flex-direction: column; min-width: 0; }
.lc-order__items a { text-decoration: none; font-weight: 600; }
.lc-order__items a:hover { text-decoration: underline; }
.lc-order__items small { color: var(--m-text3); font-size: .75rem; }
.lc-order__items img, .lc-noimg { width: 48px; height: 48px; border-radius: 12px; object-fit: cover; background: var(--m-neutral); display: block; }
.lc-order__info { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; padding: 16px; border-radius: 12px; background: var(--m-neutral); font-size: .875rem; }
.lc-order__info dt { color: var(--m-text3); font-size: .75rem; margin-bottom: 2px; }
.lc-order__info dd { margin: 0; }

/* endereços */
.lc-addrs { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; margin-top: 24px; }
.lc-addr { display: flex; flex-direction: column; justify-content: space-between; gap: 12px; padding: 16px; border-radius: 12px; border: 1px dashed var(--m-input); font-size: .875rem; }
.lc-addr > div:first-child { display: flex; flex-direction: column; gap: 4px; }
.lc-addr strong { display: flex; gap: 8px; align-items: center; font-weight: 600; }
.lc-addr span { color: var(--m-text2); }
.lc-addr .lc-link { font-size: .8125rem; color: var(--m-text); font-weight: 600; }
.lc-addr .lc-link--danger { color: var(--m-error); }
.lc-addrs .lc-empty { grid-column: 1 / -1; padding: 24px; font-size: .875rem; }
.lc-addr-form { margin-top: 24px; padding: 24px; border-radius: 12px; background: var(--m-neutral); }
.lc-addr-form .lc-field > span:first-child { background: var(--m-neutral); }

/* aviso flutuante (Snackbar) */
.lc-toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 16px); opacity: 0; z-index: 9999; max-width: calc(100vw - 32px); padding: 12px 16px 12px 44px; border-radius: 12px;
  background: var(--m-paper); color: var(--m-text); font-size: .875rem; font-weight: 600; box-shadow: var(--m-shadow-dialog); transition: opacity .2s, transform .2s; }
.lc-toast::before { content: ""; position: absolute; left: 12px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 6px; background: color-mix(in srgb, var(--m-success) 16%, transparent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2322C55E' stroke-width='3'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / 13px no-repeat; }
.lc-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 900px) {
  .lc-auth { grid-template-columns: 1fr; min-height: 0; box-shadow: none; background: transparent; }
  .lc-auth__side { display: none; }
  .lc-auth__main { padding: 8px 0 24px; }
  .lc-grid-side { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .lc { padding: 20px 16px 64px; }
  .lc-head { margin-bottom: 28px; }
  .lc-form--grid { grid-template-columns: 1fr; }
  .lc-tabs { gap: 24px; margin-bottom: 24px; }
  .lc-card { padding: 20px 16px; }
  .lc-page__head .lc-btn { display: none; }
  .lc-order summary { grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; padding: 14px 16px; }
  .lc-order summary .lc-label { grid-row: 1; grid-column: 3; }
  .lc-order__total { grid-column: 2 / -1; }
  .lc-order__body { padding: 8px 16px 20px; }
  .lc-end { justify-content: stretch; }
  .lc-end .lc-btn { flex: 1; }
}
.lc-tabs__out { display: none; flex: none; min-height: 48px; border: 0; background: none; font: inherit; font-size: .875rem; font-weight: 600; color: var(--m-text3); cursor: pointer; }
@media (max-width: 600px) { .lc-tabs__out { display: inline-flex; align-items: center; } }

/* ---------- login em tela cheia (auth-split do Minimals) ---------- */
body:has(.lc--auth) { padding: 0 !important; margin: 0; background: var(--p-bg, #fff) !important; }
.lc--auth { --m-bg: var(--p-bg, #FFFFFF); max-width: none; margin: 0; padding: 0; min-height: 100vh; min-height: 100dvh; background: var(--m-bg); }
.lc--auth .lc-field > span:first-child { background: var(--m-bg); }
.lc--auth .lc-auth { display: grid; grid-template-columns: 480px minmax(0, 1fr); min-height: 100vh; min-height: 100dvh; border-radius: 0; box-shadow: none; background: transparent; overflow: visible; }
.lc-auth__top { position: fixed; top: 0; left: 0; right: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; height: 72px; padding: 0 24px; pointer-events: none; }
.lc-auth__top a { pointer-events: auto; }
.lc-auth__logo { display: inline-flex; align-items: center; text-decoration: none; color: var(--m-text); font-weight: 800; font-size: 1.125rem; }
.lc-auth__logo img { height: 36px; width: auto; max-width: 180px; object-fit: contain; display: block; }
.lc-auth__help { font-size: .875rem; font-weight: 600; color: var(--m-text); text-decoration: none; }
.lc-auth__help:hover { text-decoration: underline; }
.lc--auth .lc-auth__side { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0; padding: 112px 24px 64px; text-align: center; overflow: hidden;
  background: linear-gradient(0deg, color-mix(in srgb, var(--m-bg) 88%, transparent), color-mix(in srgb, var(--m-bg) 88%, transparent)), radial-gradient(120% 70% at 50% 0%, color-mix(in srgb, var(--m-primary) 18%, var(--m-neutral)), var(--m-neutral)); }
.lc--auth .lc-auth__side::before { display: none; }
.lc--auth .lc-auth__side h2 { margin: 0; font-size: 1.5rem; font-weight: 700; line-height: 1.5; max-width: none; }
.lc--auth .lc-auth__side p { margin: 16px 0 0; font-size: .875rem; color: var(--m-text2); max-width: none; }
.lc--auth .lc-auth__art { --lc-art: var(--m-primary); display: block; width: 100%; max-width: 320px; height: auto; margin: 56px 0 64px; color: var(--m-text); }
.lc-auth__chips { list-style: none; margin: 0; padding: 0; display: flex; gap: 24px; justify-content: center; }
.lc-auth__chips li { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: .75rem; color: var(--m-text3); }
.lc-auth__chips svg { color: var(--m-text2); }
.lc--auth .lc-auth__main { display: flex; align-items: center; justify-content: center; padding: 112px 16px 80px; background: var(--m-bg); }
.lc--auth .lc-auth__box { max-width: 420px; gap: 20px; }
.lc--auth .lc-head { margin-bottom: 20px; gap: 8px; }
.lc--auth .lc-alert { margin-bottom: 4px; }
@media (max-width: 1100px) { .lc--auth .lc-auth { grid-template-columns: 400px minmax(0, 1fr); } }
@media (max-width: 900px) {
  .lc--auth .lc-auth { grid-template-columns: 1fr; }
  .lc--auth .lc-auth__side { display: none; }
  .lc-auth__top { position: absolute; padding: 0 16px; }
  .lc--auth .lc-auth__main { align-items: flex-start; padding: 104px 16px 48px; }
}

/* ---------- ajustes Minimals (lateral, voltar, ícones, caixinha) ---------- */
.lc { --primary-main: var(--m-primary); --primary-dark: color-mix(in srgb, var(--m-primary) 70%, #000); --warning-light: #FFD666; --warning-dark: #B76E00; }
.lc--auth .lc-auth__side { gap: 64px; padding: 72px 24px 24px;
  background: linear-gradient(0deg, color-mix(in srgb, var(--m-bg) 92%, transparent), color-mix(in srgb, var(--m-bg) 92%, transparent)), var(--lc-side-bg, none) center / cover no-repeat, var(--m-bg); }
.lc--auth .lc-auth__side h2 { font-size: 2rem; font-weight: 800; line-height: 1.375; }
.lc--auth .lc-auth__side p { margin-top: 16px; font-size: 1rem; }
.lc-auth__img { display: block; width: 100%; max-width: 432px; aspect-ratio: 4 / 3; object-fit: cover; }
.lc-auth__back { display: inline-flex; align-items: center; gap: 4px; font-size: .875rem; font-weight: 600; color: var(--m-text); text-decoration: none; pointer-events: auto; }
.lc-auth__back:hover { text-decoration: underline; }
.lc-ico96 { width: 96px; height: auto; flex: none; margin: 0 auto 8px; display: block; }
.lc-status-ico { background: none !important; width: auto; height: auto; }
.lc-status-ico::after { display: none !important; }
.lc-status-ico.is-err .lc-ico96 { filter: grayscale(1); opacity: .6; }
[data-view="enviado"] .lc-caption { margin: 8px 0 24px; }
.lc-check input[type="checkbox"] { appearance: none; -webkit-appearance: none; position: relative; width: 20px; height: 20px; margin: 0; border: 2px solid var(--m-text3); border-radius: 6px; background: transparent; cursor: pointer; transition: background .15s, border-color .15s; }
.lc-check input[type="checkbox"]:checked { background: var(--m-primary); border-color: var(--m-primary); }
.lc-check input[type="checkbox"]:checked::after { content: ""; position: absolute; left: 5px; top: 1px; width: 6px; height: 11px; border: solid var(--m-on-primary); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.lc-check input[type="checkbox"]:focus-visible { box-shadow: 0 0 0 4px color-mix(in srgb, var(--m-primary) 24%, transparent); }
.lc-check input.is-error { border-color: var(--m-error); }
.lc-check { align-items: center; }
.lc-meter:not([data-n]), .lc-meter[data-n="0"] { visibility: hidden; height: 0; margin: 0; }

/* erro embaixo do campo (helper text do Minimals) */
.lc-help { margin: -12px 0 0; padding: 0 14px; font-size: .75rem; line-height: 1.5; color: var(--m-text3); }
.lc-help--error { color: var(--m-error); }
.lc-check + .lc-help { padding-left: 34px; margin-top: -10px; }
.lc-field:has(input.is-error) input:focus { border-color: var(--m-error); box-shadow: inset 0 0 0 1px var(--m-error); }

/* ==========================================================================
   Refino "clean": superfícies chapadas com borda fina, um raio só, menos sombra,
   etiquetas com bolinha, linhas de pedido mais compactas. Vale no claro e no escuro.
   ========================================================================== */
.lc { --m-r-card: 12px; --m-border: 1px solid var(--m-divider); --m-shadow-card: none; }
.lc-card, .lc-order { box-shadow: none; border: var(--m-border); }
.lc-card--danger { border-color: color-mix(in srgb, var(--m-error) 35%, transparent); box-shadow: none; }

/* cabeçalho da página */
.lc-page__head { margin-bottom: 8px; }
.lc-page__head .lc-h4 { font-size: 1.375rem; letter-spacing: -.01em; }
.lc-avatar { width: 44px; height: 44px; font-size: 1rem; }
.lc-tabs { gap: 28px; margin-bottom: 28px; box-shadow: inset 0 -1px 0 0 var(--m-divider); }
.lc-tabs a { min-height: 44px; font-weight: 500; }
.lc-tabs a.is-on { font-weight: 600; }

/* botões: secundário fino, primário sólido, mesma altura */
.lc-btn { min-height: 36px; border-radius: 8px; font-weight: 600; }
.lc-btn--contained:hover { box-shadow: none; }
.lc-btn--outlined { border-color: var(--m-divider); }

/* etiquetas: pílula neutra com bolinha colorida */
.lc-label { height: 24px; padding: 0 10px 0 8px; gap: 6px; border-radius: 999px; font-weight: 600; background: transparent; border: var(--m-border); color: var(--m-text2); }
.lc-label::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .7; }
.lc-label--success, .lc-label--info, .lc-label--warning, .lc-label--error { background: transparent; color: var(--m-text); }
.lc-label--success::before { background: var(--m-success); opacity: 1; }
.lc-label--info::before { background: var(--m-info); opacity: 1; }
.lc-label--warning::before { background: var(--m-warning); opacity: 1; }
.lc-label--error::before { background: var(--m-error); opacity: 1; }

/* pedidos */
.lc-orders { gap: 12px; }
.lc-order summary { padding: 14px 20px; gap: 14px; grid-template-columns: auto minmax(0, 1fr) auto auto 16px; }
.lc-order summary::after { content: ""; width: 8px; height: 8px; border: solid var(--m-text3); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg) translate(-2px, -2px); transition: transform .15s; justify-self: center; }
.lc-order[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.lc-order summary:hover { background: transparent; }
.lc-order:hover { border-color: var(--m-input); }
.lc-order__thumbs img, .lc-order__thumbs .lc-noimg { width: 36px; height: 36px; border-radius: 8px; border-color: var(--m-paper); }
.lc-order__head strong { font-size: .9375rem; }
.lc-order__total { font-size: .9375rem; font-variant-numeric: tabular-nums; min-width: 96px; text-align: right; }
.lc-order__body { border-top: var(--m-border); padding: 4px 20px 20px; gap: 16px; }
.lc-track { margin-top: 20px; }
.lc-track li { font-weight: 500; }
.lc-track i { width: 16px; height: 16px; border-width: 1.5px; }
.lc-track li::before { top: 7px; height: 1.5px; }
.lc-track li.is-done i { background-size: 9px; }
.lc-track li.is-now i { box-shadow: 0 0 0 3px color-mix(in srgb, var(--m-success) 18%, transparent); }
.lc-order__items li { border-bottom: var(--m-border); padding: 12px 0; }
.lc-order__items img, .lc-order__items .lc-noimg { border-radius: 8px; }
.lc-order__items li > :last-child { font-variant-numeric: tabular-nums; font-weight: 600; }
.lc-order__info { background: transparent; border: var(--m-border); border-radius: 10px; }
.lc-order__info dd { font-weight: 500; }

/* endereços e formulário */
.lc-addr { border-style: solid; border-color: var(--m-divider); border-radius: 10px; }
.lc-addr-form { background: transparent; border: var(--m-border); border-radius: 10px; }
.lc-addr-form .lc-field > span:first-child { background: var(--m-paper); }

@media (max-width: 600px) {
  .lc-order summary { grid-template-columns: auto minmax(0, 1fr) auto; }
  .lc-order summary::after { display: none; }
  .lc-order__total { text-align: left; min-width: 0; }
}

/* Dados: os dois cards alinhados no topo */
.lc-grid-side > .lc-card + .lc-card { margin-top: 0; }
.lc { color-scheme: light dark; }

/* ---------- aba Dados: cabeçalho de perfil + seções em linhas ---------- */
.lc-prof { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; padding: 24px; }
.lc-prof .lc-avatar--xl { width: 72px; height: 72px; font-size: 1.5rem; border-width: 0; box-shadow: none; }
.lc-prof__txt { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.lc-prof__txt b { font-size: 1.125rem; font-weight: 700; }
.lc-prof__txt span { color: var(--m-text2); font-size: .875rem; overflow: hidden; text-overflow: ellipsis; }
.lc-prof__meta { display: flex; gap: 32px; margin: 0; }
.lc-prof__meta dt { font-size: .75rem; color: var(--m-text3); margin-bottom: 4px; }
.lc-prof__meta dd { margin: 0; font-size: .875rem; font-weight: 600; min-height: 24px; display: flex; align-items: center; }
.lc-card.lc-set { margin-top: 16px; padding: 0; }
.lc-set__row { display: grid; grid-template-columns: minmax(0, 280px) minmax(0, 1fr); gap: 32px; padding: 28px 24px; }
.lc-set__row + .lc-set__row { border-top: var(--m-border); }
.lc-set__info .lc-caption { margin-top: 4px; max-width: 240px; }
.lc-set__foot { display: flex; align-items: center; justify-content: flex-end; gap: 16px; padding: 16px 24px; border-top: var(--m-border); }
.lc-set__foot .lc-msg { margin: 0 auto 0 0; }

/* calendário próprio */
.lc-date { position: relative; }
.lc-date input { padding-right: 52px; }
.lc-cal { position: absolute; top: calc(100% + 8px); right: 0; z-index: 30; width: 296px; padding: 12px; border-radius: 12px; background: var(--m-paper); border: var(--m-border); box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .35); font-size: .8125rem; }
.lc-cal button, .lc-cal select { font: inherit; color: var(--m-text); background: none; border: 0; cursor: pointer; }
.lc-cal__head { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; }
.lc-cal__head select { flex: 1; min-width: 0; height: 32px; padding: 0 6px; border-radius: 8px; border: var(--m-border); background: var(--m-paper); font-weight: 600; }
.lc-cal__head [data-nav] { width: 32px; height: 32px; flex: none; border-radius: 8px; font-size: 1.25rem; line-height: 1; color: var(--m-text2); }
.lc-cal__head [data-nav]:hover { background: var(--m-hover); color: var(--m-text); }
.lc-cal__week, .lc-cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; text-align: center; }
.lc-cal__week span { padding: 6px 0; font-size: .6875rem; font-weight: 600; color: var(--m-text3); }
.lc-cal__grid button { height: 36px; border-radius: 8px; font-variant-numeric: tabular-nums; }
.lc-cal__grid button:hover { background: var(--m-hover); }
.lc-cal__grid button.is-today { box-shadow: inset 0 0 0 1px var(--m-divider); }
.lc-cal__grid button.is-on { background: var(--m-text); color: var(--m-paper); font-weight: 700; }
.lc-cal__foot { display: flex; justify-content: flex-end; margin-top: 8px; padding-top: 8px; border-top: var(--m-border); }
.lc-cal__foot button { padding: 6px 10px; border-radius: 8px; font-weight: 600; color: var(--m-text2); }
.lc-cal__foot button:hover { background: var(--m-hover); color: var(--m-text); }

@media (max-width: 800px) {
  .lc-set__row { grid-template-columns: 1fr; gap: 20px; padding: 24px 16px; }
  .lc-prof__meta { width: 100%; padding-top: 16px; border-top: var(--m-border); }
  .lc-set__foot { padding: 16px; }
  .lc-set__foot .lc-btn { flex: 1; }
  .lc-cal { left: 0; right: auto; width: min(296px, calc(100vw - 32px)); }
}

/* ---------- avatar padrão (silhueta) e envio de foto ---------- */
.pv-av-def { width: 100%; height: 100%; display: block; fill: currentColor; stroke: none; }
.pv-av-def path { fill: currentColor; }
.lc-avatar { background: var(--m-neutral); color: var(--m-text3); }
.lc-avatar .pv-av-def { width: 100%; height: 100%; }
.lc-avup { position: relative; flex: none; }
.lc-avup .lc-avatar--xl { width: 80px; height: 80px; }
.lc-avup.is-busy .lc-avatar { opacity: .5; }
.lc-avup.is-busy::after { content: ""; position: absolute; inset: 26px; border-radius: 50%; border: 2px solid var(--m-text); border-right-color: transparent; animation: lc-spin .7s linear infinite; }
@keyframes lc-spin { to { transform: rotate(360deg); } }
.lc-avup__btn { position: absolute; right: -2px; bottom: -2px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  background: var(--m-text); color: var(--m-paper); border: 3px solid var(--m-paper); transition: transform .15s; }
.lc-avup__btn:hover { transform: scale(1.08); }
.pv-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lc-prof__acts { display: flex; gap: 16px; margin-top: 8px; }
.lc-prof__acts .lc-link { font-size: .8125rem; cursor: pointer; }

/* "Falta pouco" (depois do login com Google) */
.lc-modal { padding: 0; border: 0; border-radius: var(--m-r-card); background: transparent; width: min(440px, calc(100vw - 32px)); color: var(--m-text); }
.lc-modal::backdrop { background: rgba(22, 28, 36, .48); backdrop-filter: blur(2px); }
.lc-modal__card { display: flex; flex-direction: column; gap: 16px; padding: 24px; background: var(--m-paper); border-radius: var(--m-r-card); box-shadow: var(--m-shadow-dialog); }
.lc-modal__card .lc-h6 { font-size: 1.125rem; }
.lc-modal__card .lc-caption { margin-top: -10px; font-size: .875rem; }
.lc-modal__acts { display: flex; justify-content: flex-end; gap: 8px; }
.lc-modal__card .lc-msg:empty { display: none; }
@media (max-width: 480px) { .lc-modal__acts { flex-direction: column-reverse; } .lc-modal__acts .lc-btn { width: 100%; } }
