/*!*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[15].oneOf[2].use[1]!./node_modules/next/dist/build/webpack/loaders/next-font-loader/index.js??ruleSet[1].rules[15].oneOf[2].use[2]!./node_modules/next/font/google/target.css?{"path":"src/app/layout.tsx","import":"Geist","arguments":[{"variable":"--font-geist-sans","subsets":["latin"]}],"variableName":"geistSans"} ***!
  \*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/* cyrillic-ext */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/f639721981034f88-s.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/9766a7e9e2e0ad5a-s.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/b66cf8e69499582a-s.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/aa016aab0e6d1295-s.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/22a5144ee8d83bca-s.p.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}@font-face {font-family: 'Geist Fallback';src: local("Arial");ascent-override: 95.94%;descent-override: 28.16%;line-gap-override: 0.00%;size-adjust: 104.76%
}.__className_246ccd {font-family: 'Geist', 'Geist Fallback';font-style: normal
}.__variable_246ccd {--font-geist-sans: 'Geist', 'Geist Fallback'
}

/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[15].oneOf[2].use[1]!./node_modules/next/dist/build/webpack/loaders/next-font-loader/index.js??ruleSet[1].rules[15].oneOf[2].use[2]!./node_modules/next/font/google/target.css?{"path":"src/app/layout.tsx","import":"Geist_Mono","arguments":[{"variable":"--font-geist-mono","subsets":["latin"]}],"variableName":"geistMono"} ***!
  \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/* cyrillic-ext */
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/013b72fa676f92e0-s.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/b9408752a0c24fb9-s.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* symbols2 */
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/65f03d54ccadf4a8-s.woff2) format('woff2');
  unicode-range: U+2000-2001, U+2004-2008, U+200A, U+23B8-23BD, U+2500-259F;
}
/* vietnamese */
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/e038a29029a234f2-s.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/2b5b02fc7e511755-s.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/7d4881bb7e1bf84d-s.p.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}@font-face {font-family: 'Geist Mono Fallback';src: local("Arial");ascent-override: 74.67%;descent-override: 21.92%;line-gap-override: 0.00%;size-adjust: 134.59%
}.__className_c29908 {font-family: 'Geist Mono', 'Geist Mono Fallback';font-style: normal
}.__variable_c29908 {--font-geist-mono: 'Geist Mono', 'Geist Mono Fallback'
}

/*!*****************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[15].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[15].oneOf[10].use[3]!./src/app/globals.css ***!
  \*****************************************************************************************************************************************************************************************************************************************************************/
/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */
@import url("https://fonts.googleapis.com/css2?family=Raleway:wght@400;500;600;700;800&display=swap");
@layer properties;
@layer theme, base, components, utilities;
@layer theme {
  :root, :host {
    --radius-sm: 0.25rem;
    --radius-md: 0.375rem;
    --radius-lg: 0.5rem;
    --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --ease-out: cubic-bezier(0, 0, 0.2, 1);
    --default-transition-duration: 150ms;
    --default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    --default-font-family: var(--font-geist-sans);
    --default-mono-font-family: var(--font-geist-mono);
  }
}
@layer base {
  *, ::after, ::before, ::backdrop, ::file-selector-button {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0 solid;
  }
  html, :host {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    font-family: var(--default-font-family, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
    font-feature-settings: var(--default-font-feature-settings, normal);
    font-variation-settings: var(--default-font-variation-settings, normal);
    -webkit-tap-highlight-color: transparent;
  }
  hr {
    height: 0;
    color: inherit;
    border-top-width: 1px;
  }
  abbr:where([title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
  }
  h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
  }
  a {
    color: inherit;
    -webkit-text-decoration: inherit;
    text-decoration: inherit;
  }
  b, strong {
    font-weight: bolder;
  }
  code, kbd, samp, pre {
    font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
    font-feature-settings: var(--default-mono-font-feature-settings, normal);
    font-variation-settings: var(--default-mono-font-variation-settings, normal);
    font-size: 1em;
  }
  small {
    font-size: 80%;
  }
  sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
  }
  sub {
    bottom: -0.25em;
  }
  sup {
    top: -0.5em;
  }
  table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
  }
  :-moz-focusring {
    outline: auto;
  }
  progress {
    vertical-align: baseline;
  }
  summary {
    display: list-item;
  }
  ol, ul, menu {
    list-style: none;
  }
  img, svg, video, canvas, audio, iframe, embed, object {
    display: block;
    vertical-align: middle;
  }
  img, video {
    max-width: 100%;
    height: auto;
  }
  button, input, select, optgroup, textarea, ::file-selector-button {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    border-radius: 0;
    background-color: transparent;
    opacity: 1;
  }
  :where(select:is([multiple], [size])) optgroup {
    font-weight: bolder;
  }
  :where(select:is([multiple], [size])) optgroup option {
    padding-inline-start: 20px;
  }
  ::file-selector-button {
    margin-inline-end: 4px;
  }
  ::placeholder {
    opacity: 1;
  }
  @supports (not (-webkit-appearance: -apple-pay-button))  or (contain-intrinsic-size: 1px) {
    ::placeholder {
      color: currentcolor;
      @supports (color: color-mix(in lab, red, red)) {
        color: color-mix(in oklab, currentcolor 50%, transparent);
      }
    }
  }
  textarea {
    resize: vertical;
  }
  ::-webkit-search-decoration {
    -webkit-appearance: none;
  }
  ::-webkit-date-and-time-value {
    min-height: 1lh;
    text-align: inherit;
  }
  ::-webkit-datetime-edit {
    display: inline-flex;
  }
  ::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
  }
  ::-webkit-datetime-edit, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-webkit-datetime-edit-meridiem-field {
    padding-block: 0;
  }
  ::-webkit-calendar-picker-indicator {
    line-height: 1;
  }
  :-moz-ui-invalid {
    box-shadow: none;
  }
  button, input:where([type="button"], [type="reset"], [type="submit"]), ::file-selector-button {
    appearance: button;
  }
  ::-webkit-inner-spin-button, ::-webkit-outer-spin-button {
    height: auto;
  }
  [hidden]:where(:not([hidden="until-found"])) {
    display: none !important;
  }
}
@layer utilities {
  .collapse {
    visibility: collapse;
  }
  .visible {
    visibility: visible;
  }
  .absolute {
    position: absolute;
  }
  .fixed {
    position: fixed;
  }
  .relative {
    position: relative;
  }
  .static {
    position: static;
  }
  .sticky {
    position: sticky;
  }
  .container {
    width: 100%;
    @media (width >= 40rem) {
      max-width: 40rem;
    }
    @media (width >= 48rem) {
      max-width: 48rem;
    }
    @media (width >= 64rem) {
      max-width: 64rem;
    }
    @media (width >= 80rem) {
      max-width: 80rem;
    }
    @media (width >= 96rem) {
      max-width: 96rem;
    }
  }
  .block {
    display: block;
  }
  .contents {
    display: contents;
  }
  .flex {
    display: flex;
  }
  .grid {
    display: grid;
  }
  .hidden {
    display: none;
  }
  .inline {
    display: inline;
  }
  .inline-block {
    display: inline-block;
  }
  .inline-flex {
    display: inline-flex;
  }
  .h-full {
    height: 100%;
  }
  .min-h-full {
    min-height: 100%;
  }
  .transform {
    transform: var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,);
  }
  .resize {
    resize: both;
  }
  .flex-col {
    flex-direction: column;
  }
  .border {
    border-style: var(--tw-border-style);
    border-width: 1px;
  }
  .lowercase {
    text-transform: lowercase;
  }
  .uppercase {
    text-transform: uppercase;
  }
  .lining-nums {
    --tw-numeric-figure: lining-nums;
    font-variant-numeric: var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,);
  }
  .tabular-nums {
    --tw-numeric-spacing: tabular-nums;
    font-variant-numeric: var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,);
  }
  .underline {
    text-decoration-line: underline;
  }
  .antialiased {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  .shadow {
    --tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }
  .outline {
    outline-style: var(--tw-outline-style);
    outline-width: 1px;
  }
  .transition {
    transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, content-visibility, overlay, pointer-events;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }
  .ease-out {
    --tw-ease: var(--ease-out);
    transition-timing-function: var(--ease-out);
  }
}
:root {
  --background: #ffffff;
  --foreground: #171717;
  --mg-deep-blue: #26284D;
  --primary: #26284D;
  --secondary: #6694FF;
  --progress-green: #22a447;
  --coral-hover: #f18764;
  --gray-100: #f1f3f9;
  --gray-50: #f8f9fc;
  --gray-200: #e2e6f1;
  --gray-400: #afb9d1;
  --text-dark: #3b4455;
  --text-muted: #6f809e;
  --text-support: #596b8c;
  --gradient-spark: linear-gradient(135deg, #6694FF 15%, #FF9F7F 50%, #FFDCB7 85%);
  --gradient-ocean: linear-gradient(135deg, #26284D 0%, #6694FF 100%);
  --shadow-sm: 0 4px 12px rgba(38, 40, 77, 0.06);
  --shadow-md: 0 12px 24px rgba(38, 40, 77, 0.1);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-full: 9999px;
  --transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  --md-body-sm: 0.75rem;
  --md-body-lg: 1rem;
  --md-surface: #f8f9fc;
  --md-on-surface-variant: #6f809e;
  --md-outline-variant: #cbd2e3;
  --md-secondary-container: #dbe1ff;
  --md-on-secondary-container: #001259;
  --md-surface-container-lowest: #ffffff;
  --md-elev-3: 0px 1px 3px rgba(0, 0, 0, 0.3), 0px 4px 8px 3px rgba(0, 0, 0, 0.15);
  --md-elev-4: 0px 2px 3px rgba(0, 0, 0, 0.3), 0px 6px 10px 4px rgba(0, 0, 0, 0.15);
  --md-shape-full: 9999px;
  --md-label-sm: 0.6875rem;
  --md-label-sm-lh: 1rem;
  --md-body-md: 0.875rem;
  --radius-lg: 24px;
  --mg-font-family: "Raleway", sans-serif;
  --mg-h1-size: 2rem;
  --mg-h1-weight: 800;
  --mg-h1-lh: 1.15;
  --mg-h2-size: 1.5rem;
  --mg-h2-weight: 700;
  --mg-h2-lh: 1.25;
  --mg-h3-size: 1.25rem;
  --mg-h3-weight: 500;
  --mg-body-lg-size: 1.125rem;
  --mg-body-base-size: 1rem;
  --mg-legal-size: 0.8125rem;
  --mg-safe-top: var(--safe-area-inset-top, env(safe-area-inset-top, 0px));
  --mg-safe-bottom: var(--safe-area-inset-bottom, env(safe-area-inset-bottom, 0px));
  --mg-mobile-bottom-nav-stack: 80px;
}
body {
  background: var(--background);
  color: var(--foreground);
  font-family: var(--mg-font-family);
}
html.capacitor-native,
html.capacitor-native body {
  background: var(--md-surface);
}
.splash-screen {
  min-height: 100svh;
  background-color: #ffffff;
  background-image: url("/images/mg_bg_branco_3.png");
  background-size: cover;
  background-position: center;
}
@media (min-width: 860px) {
  .splash-screen {
    background-image: url("/images/mg_bg_branco_1.png");
  }
}
.splash-screen__content {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}
.splash-screen__center {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 80px;
}
.splash-logo-wrap {
  width: 126px;
  height: 126px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.splash-logo-grow {
  animation: splash-grow 500ms linear forwards;
  opacity: 0;
}
.splash-logo-spin {
  animation: splash-spin 4s linear infinite;
}
.splash-wordmark {
  margin-top: 20px;
  width: 200px;
}
.splash-wordmark img,
.splash-wordmark-img {
  width: 200px;
  height: auto;
}
.splash-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding-bottom: 80px;
}
.splash-footer img,
.splash-footer-logo {
  width: auto;
  height: 18px;
}
.splash-version {
  margin: 0;
  color: var(--mg-deep-blue);
  font-size: 14px;
  font-weight: 500;
}
@keyframes splash-grow {
  from {
    transform: scale(0.167);
    opacity: 0;
  }
  to {
    transform: scale(0.466);
    opacity: 1;
  }
}
@keyframes splash-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  font-family: "Raleway", sans-serif;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.btn-primary {
  background: var(--gradient-spark);
  color: #fff;
}
.btn-primary:hover:not(:disabled) {
  box-shadow: 0 8px 24px rgba(102, 148, 255, 0.4);
  transform: translateY(-2px);
}
.btn-outline {
  background: #fff;
  color: var(--primary);
  border: 2px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}
.btn-outline:hover:not(:disabled) {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.btn-google {
  background: #fff;
  color: var(--text-dark);
  border: 2px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}
.btn-google:hover:not(:disabled) {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.input-filled {
  width: 100%;
  padding: 0.9rem 1rem;
  font-size: 1rem;
  font-family: "Raleway", sans-serif;
  background: var(--gray-100);
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  color: var(--text-dark);
  outline: none;
  transition: var(--transition);
}
.input-filled::placeholder {
  color: var(--gray-400);
}
.input-filled:focus {
  border-color: var(--secondary);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(102, 148, 255, 0.15);
}
.login-page {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: url("/images/login_background.png") center center / cover no-repeat;
  font-family: var(--mg-font-family);
}
.login-mobile-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 3.5rem 2rem 2rem;
  color: #fff;
}
.login-mobile-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 2rem;
}
.login-mobile-logo span {
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}
.login-mobile-title {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 0.75rem;
  text-shadow: 0 2px 16px rgba(38, 40, 77, 0.25);
}
.login-mobile-subtitle {
  font-size: 1.15rem;
  font-weight: 500;
  opacity: 0.92;
}
.login-card {
  flex: 1;
  background: #fff;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  padding: 2.5rem 1.75rem 3rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.login-desktop-logo {
  display: none;
}
.login-desktop-panel {
  display: none;
}
.login-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.login-error {
  font-size: 0.875rem;
  font-weight: 500;
  text-align: center;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  color: var(--coral-hover);
  background: rgba(255, 159, 127, 0.12);
}
.login-error-hint {
  margin-top: 4px;
  font-size: var(--mg-legal-size);
  opacity: 0.85;
}
.login-btn-full {
  width: 100%;
  margin-top: 0.5rem;
}
.login-brand-subtitle {
  text-align: center;
  font-size: var(--mg-h2-size);
  font-weight: var(--mg-h2-weight);
  line-height: var(--mg-h2-lh);
  color: var(--primary);
  margin: 0.75rem 0 1.4rem;
}
.login-signup-row {
  text-align: center;
  font-size: var(--mg-body-base-size);
  margin-top: 1.5rem;
  color: var(--text-muted);
}
.login-signup-row a {
  color: var(--secondary);
  font-weight: 700;
  text-decoration: none;
}
.login-terms-row {
  text-align: center;
  font-size: var(--mg-legal-size);
  line-height: 1.45;
  margin-top: 1.5rem;
  color: var(--text-muted);
}
.login-terms-row a {
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.auth-options-panel {
  display: contents;
}
.auth-options-buttons {
  display: contents;
}
.auth-options-bottom {
  display: contents;
}
.auth-options-title {
  margin: 0;
  font: inherit;
}
.auth-options-logo {
  display: none;
}
.auth-gate {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  flex: 1;
  min-height: 100%;
  padding-top: 0.5rem;
}
.auth-gate-main {
  flex-shrink: 0;
}
.auth-gate-logo-mobile {
  display: flex;
  justify-content: center;
  margin: 0 0 1rem;
}
.auth-gate-logo-mobile img {
  width: auto;
  max-width: 168px;
  height: auto;
}
.auth-gate-title {
  text-align: center;
  font-size: clamp(1.75rem, 2vw, 2.25rem);
  font-weight: 800;
  color: var(--primary);
  margin: 0 0 0.5rem;
}
.auth-gate-subtitle {
  text-align: center;
  font-size: var(--mg-body-lg-size);
  font-weight: 400;
  line-height: 1.45;
  color: var(--text-muted);
  margin: 0 0 1.5rem;
}
.login-desktop-logo-wordmark {
  margin-bottom: 1.25rem;
}
.login-desktop-logo-wordmark img {
  width: auto;
  max-width: 168px;
  height: auto;
}
.login-mobile-logo img {
  width: auto;
  max-width: 200px;
  height: auto;
}
.auth-gate-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.auth-gate-btn {
  width: 100%;
  padding: 0.95rem 1.5rem;
  font-size: 1.05rem;
}
.auth-gate-legal-slot {
  flex-shrink: 0;
  margin-top: auto;
  padding-top: 1.25rem;
  padding-bottom: max(0.25rem, env(safe-area-inset-bottom, 0px));
  width: 100%;
  box-sizing: border-box;
}
.auth-gate-legal-slot .login-terms-row {
  margin-top: 0;
}
.login-error-link-row {
  margin-top: 0.35rem;
  font-size: 0.875rem;
}
.login-error-link-row a {
  color: var(--secondary);
  font-weight: 700;
  text-decoration: none;
}
.signup-email-cross-funnel-link {
  margin-top: 0.35rem;
}
.signup-email-cross-funnel-link a {
  color: var(--secondary);
  font-weight: 700;
  text-decoration: none;
}
.signup-email-input-wrap.is-existing-account {
  border-color: rgba(102, 148, 255, 0.35);
  background: rgba(102, 148, 255, 0.08);
}
.signup-email-input-wrap.is-existing-account .signup-email-input-icon {
  color: var(--secondary);
}
.signup-email-input-wrap.is-existing-account input {
  color: var(--primary);
  font-weight: 600;
  cursor: default;
}
.signup-email-mobile-form.is-existing-account-flow h1 {
  margin-bottom: 0.5rem;
  text-align: center;
  font-size: clamp(1.35rem, 4.8vw, var(--mg-h1-size));
  line-height: 1.25;
}
.signup-email-mobile-form.is-existing-account-flow .signup-step-description {
  margin-bottom: 1.35rem;
  text-align: center;
}
.signup-email-existing-account-badge {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  border-radius: var(--radius-full);
  background: rgba(102, 148, 255, 0.12);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
}
.signup-email-existing-account-badge svg {
  font-size: 2rem !important;
}
.signup-email-mobile-form.is-existing-account-flow .signup-email-input-wrap.is-existing-account {
  margin-bottom: 1.75rem;
}
.signup-email-existing-account-actions {
  margin-top: 0;
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}
.signup-email-existing-account-alt {
  margin-top: 0;
}
.signup-email-existing-account-actions .signup-skip-link {
  margin-top: 0;
}
.signup-email-desktop-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.signup-email-desktop-form h2 {
  font-size: var(--mg-h2-size);
  font-weight: var(--mg-h2-weight);
  line-height: var(--mg-h2-lh);
  color: var(--primary);
  margin: 0 0 0.8rem;
}
.signup-email-input-wrap {
  width: 100%;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  background: var(--gray-100);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 0.85rem 0.85rem 0.75rem;
  margin-bottom: 0.65rem;
}
.signup-email-input-icon {
  color: var(--secondary);
  font-size: 26px !important;
  flex: 0 0 26px;
}
.signup-email-input-wrap input,
.signup-email-input-wrap select {
  width: 100%;
  min-width: 0;
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  color: var(--text-dark);
  font-size: 1rem;
  font-family: 'Raleway', sans-serif;
}
.signup-password-visibility-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border: none;
  border-radius: var(--radius-full);
  background: transparent;
  color: var(--text-muted);
  padding: 0;
  cursor: pointer;
}
.signup-password-visibility-btn:hover:not(:disabled) {
  color: var(--text-dark);
  background: rgba(38, 40, 77, 0.05);
}
.signup-password-visibility-btn:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}
.signup-email-input-wrap input::placeholder {
  color: var(--text-muted);
}
.signup-email-input-wrap:focus-within {
  border-color: var(--secondary);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(102, 148, 255, 0.12);
}
.signup-email-error-slot {
  min-height: 1.4rem;
  margin: 0.5rem 0 0.6rem;
  color: var(--coral-hover);
  font-size: 0.875rem;
  font-weight: 500;
}
.signup-email-mobile {
  min-height: 100svh;
  background: #fff;
}
.signup-email-mobile-appbar {
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: var(--primary);
  font-size: 1rem;
  font-weight: 600;
}
.signup-email-back-btn {
  position: absolute;
  left: 8px;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 0;
  background: transparent;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 6px;
  cursor: pointer;
}
.signup-email-back-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.signup-email-back-btn svg {
  font-size: 1.125rem;
}
.signup-email-back-label,
.signup-email-progress-meta {
  display: none;
}
.signup-email-mobile-progress {
  height: 8px;
  margin-top: 0.75rem;
  padding: 0 20px;
  width: 100%;
  position: relative;
}
.signup-email-mobile-progress::before {
  content: "";
  position: absolute;
  right: 20px;
  left: 20px;
  height: 8px;
  background: var(--gray-200);
  border-radius: var(--radius-full);
}
.signup-email-mobile-progress::after {
  content: "";
  position: absolute;
  left: 20px;
  width: calc((100% - 40px) * var(--signup-progress-ratio, 0.2));
  height: 8px;
  background: var(--progress-green);
  border-radius: var(--radius-full);
}
.signup-email-mobile-form {
  padding: 2.25rem 1rem 20px;
}
.signup-email-mobile-form h1 {
  color: var(--primary);
  font-size: var(--mg-h1-size);
  font-weight: var(--mg-h1-weight);
  line-height: var(--mg-h1-lh);
  margin: 0 0 0.75rem;
}
.signup-email-mobile-form .signup-step-description {
  margin: 0 0 1.25rem;
  color: var(--text-support);
  font-size: var(--mg-body-base-size);
  font-weight: 500;
  line-height: 1.5;
}
.signup-step-email-hint {
  margin: -0.75rem 0 1.25rem;
  color: var(--text-dark);
  font-size: var(--mg-body-base-size);
  font-weight: 600;
  line-height: 1.4;
  word-break: break-all;
}
.signup-email-code-form .signup-step-description {
  margin-bottom: 1.35rem;
}
.signup-email-code-description-email {
  color: var(--text-dark);
  font-weight: 600;
  word-break: break-all;
}
.signup-email-code-status {
  margin: 0 0 1rem;
  color: var(--text-support);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.45;
}
.signup-email-code-form .signup-email-input-wrap {
  margin-bottom: 1rem;
}
.signup-email-code-form .signup-email-error-slot {
  min-height: 0;
  margin: 0;
}
.signup-email-code-form .signup-email-error-slot:not(:empty) {
  margin: 0.35rem 0 0.85rem;
}
.signup-email-code-actions {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 1.25rem;
}
.signup-email-code-recovery {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-top: 1.75rem;
}
.signup-email-code-recovery .signup-skip-link {
  margin-top: 0;
}
.signup-email-code-spam-hint {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.45;
  text-align: center;
}
.signup-step-label {
  display: block;
  color: var(--text-dark);
  font-size: var(--mg-h3-size);
  font-weight: var(--mg-h3-weight);
  margin-bottom: 0.6rem;
}
.signup-gender-options {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 0.65rem;
}
.signup-gender-option {
  width: 100%;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--text-dark);
  font-size: 1rem;
  font-weight: 600;
  padding: 1rem 1.1rem;
  cursor: pointer;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.signup-gender-option-icon {
  display: inline-flex;
  flex: 0 0 28px;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  font-size: 1.625rem !important;
}
.signup-gender-option-icon svg {
  font-size: inherit;
}
.signup-gender-option-label {
  flex: 1;
  line-height: 1.35;
}
.signup-gender-option.is-selected {
  border-color: var(--secondary);
  background: rgba(102, 148, 255, 0.08);
}
.signup-password-requirements {
  margin-top: 0.35rem;
  margin-bottom: 0.65rem;
}
.signup-password-requirements-heading {
  margin: 0 0 0.55rem;
  color: var(--text-dark);
  font-size: 0.92rem;
  font-weight: 700;
}
.signup-password-requirements-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.signup-password-requirement {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 500;
}
.signup-password-requirement-marker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  border-radius: var(--radius-full);
  background: var(--gray-100);
  color: var(--gray-400);
}
.signup-password-requirement-marker svg {
  font-size: 11px !important;
}
.signup-password-requirement.is-met {
  color: var(--text-dark);
  font-weight: 600;
}
.signup-password-requirement.is-met .signup-password-requirement-marker {
  background: var(--progress-green);
  color: #fff;
}
.signup-password-requirement.is-met .signup-password-requirement-marker svg {
  font-size: 12px !important;
}
.signup-password-strength {
  margin-top: 0.85rem;
  margin-bottom: 0.65rem;
}
.signup-password-strength-track {
  width: 100%;
  height: 4px;
  border-radius: var(--radius-full);
  background: var(--gray-200);
  overflow: hidden;
}
.signup-password-strength-bar {
  height: 100%;
  border-radius: var(--radius-full);
  transition: width 0.2s ease, background-color 0.2s ease;
}
.signup-password-strength-bar.is-weak {
  background: #d96b6b;
}
.signup-password-strength-bar.is-fair {
  background: #e6a044;
}
.signup-password-strength-bar.is-good {
  background: #5fbf78;
}
.signup-password-strength-bar.is-strong {
  background: var(--progress-green);
}
.signup-password-strength-label {
  margin: 0.45rem 0 0;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 500;
}
.signup-password-strength-label strong {
  font-weight: 700;
}
.signup-password-strength.is-weak .signup-password-strength-label strong {
  color: #d96b6b;
}
.signup-password-strength.is-fair .signup-password-strength-label strong {
  color: #e6a044;
}
.signup-password-strength.is-good .signup-password-strength-label strong {
  color: #5fbf78;
}
.signup-password-strength.is-strong .signup-password-strength-label strong {
  color: var(--progress-green);
}
.signup-skip-link {
  display: block;
  width: 100%;
  margin-top: 0.75rem;
  border: none;
  background: transparent;
  color: var(--secondary);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
}
.signup-email-code-help {
  margin: 1.75rem 0 0;
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
}
.signup-email-code-help a {
  color: var(--secondary);
  text-decoration: none;
}
.signup-provider-dialog p {
  margin: 0 0 1rem;
  color: var(--text-dark);
  line-height: 1.45;
}
.signup-provider-dialog-title {
  margin: 0 0 0.75rem;
  color: var(--primary);
  font-size: 1.25rem;
  font-weight: 700;
  text-align: center;
}
.signup-btn-spinner-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.signup-btn-spinner {
  width: 24px;
  height: 24px;
  border: 3px solid rgba(102, 148, 255, 0.25);
  border-top-color: #6694FF;
  border-radius: 50%;
  animation: signup-spin 0.8s linear infinite;
}
@keyframes signup-spin {
  to {
    transform: rotate(360deg);
  }
}
.modal-dialog-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.modal-dialog-panel {
  width: 100%;
  max-width: 420px;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: 0 12px 40px rgba(38, 40, 77, 0.18);
}
.profile-avatar-crop-editor {
  position: relative;
  width: 100%;
  height: min(320px, 62vw);
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--gray-100);
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}
.profile-avatar-crop-editor .reactEasyCrop_Container {
  border-radius: var(--radius-lg);
}
.profile-avatar-crop-editor .reactEasyCrop_CropArea {
  color: rgba(255, 255, 255, 0.82);
}
.profile-avatar-crop-editor--native {
  height: min(56dvh, 520px);
  min-height: 280px;
  border-radius: 14px;
}
.profile-avatar-upload-sheet {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  gap: 12px;
}
.profile-avatar-upload-sheet__body {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
}
.profile-avatar-upload-sheet__crop {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.profile-avatar-upload-sheet .profile-avatar-crop-editor--native {
  flex: 1 1 auto;
  height: auto;
  min-height: 140px;
  max-height: none;
}
.profile-avatar-upload-sheet__footer {
  flex-shrink: 0;
}
.profile-avatar-crop-editor-layout--sheet {
  display: flex !important;
  flex-direction: column;
  height: 100%;
  min-height: 0;
}
.profile-avatar-crop-editor-layout--sheet .profile-avatar-crop-editor--native {
  flex: 1 1 auto;
}
.profile-avatar-crop-editor-layout--sheet label,
.profile-avatar-crop-editor-layout--sheet p {
  flex-shrink: 0;
}
.profile-cover-crop-editor {
  position: relative;
  width: 100%;
  max-height: min(42dvh, 280px);
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--gray-100);
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}
.profile-cover-crop-editor__avatar-preview {
  position: absolute;
  z-index: 2;
  aspect-ratio: 1;
  border-style: solid;
  border-color: #fff;
  border-radius: 999px;
  background: var(--md-secondary-container, #e8edf5);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, var(--md-secondary-container, #e8edf5) 72%, #fff);
  }
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.18);
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.profile-cover-crop-editor__avatar-preview-icon {
  width: 46% !important;
  height: 46% !important;
  color: var(--text-muted, #667085);
  @supports (color: color-mix(in lab, red, red)) {
    color: color-mix(in srgb, var(--text-muted, #667085) 88%, #fff);
  }
}
.profile-cover-crop-editor .reactEasyCrop_Container {
  border-radius: var(--radius-lg);
}
.profile-cover-crop-editor .reactEasyCrop_CropArea {
  color: rgba(255, 255, 255, 0.82);
}
.profile-cover-crop-editor--native {
  max-height: min(46dvh, 320px);
  min-height: 0;
  border-radius: 14px;
}
.profile-cover-upload-sheet {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  gap: 12px;
}
.profile-cover-upload-sheet__body {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: auto;
}
.profile-cover-upload-sheet .profile-cover-crop-editor--native {
  flex: 1 1 auto;
  height: auto;
  min-height: 140px;
  max-height: none;
}
.profile-cover-upload-sheet__footer {
  flex-shrink: 0;
}
.profile-cover-crop-editor-layout--sheet {
  display: flex !important;
  flex-direction: column;
  height: 100%;
  min-height: 0;
}
.profile-cover-crop-editor-layout--sheet .profile-cover-crop-editor--native {
  flex: 1 1 auto;
}
.profile-cover-crop-editor-layout--sheet label,
.profile-cover-crop-editor-layout--sheet p {
  flex-shrink: 0;
}
.signup-welcome-form .signup-welcome-rules {
  margin: 0.5rem 0 1.25rem;
}
.signup-terms-copy {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.signup-terms-copy p {
  margin: 0;
  color: var(--text-support);
  font-size: var(--mg-body-base-size);
  font-weight: 500;
  line-height: 1.5;
}
.signup-terms-copy a {
  color: var(--secondary);
  font-weight: 600;
  text-decoration: none;
}
.signup-terms-copy a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.signup-terms-login-link {
  margin: 1rem 0 0;
  text-align: center;
  font-size: var(--mg-body-base-size);
  font-weight: 600;
}
.signup-terms-login-link a {
  color: var(--secondary);
  text-decoration: none;
}
.signup-terms-login-link a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.signup-welcome-note {
  margin-top: -0.35rem;
  font-style: italic;
  color: var(--text-muted);
}
.signup-welcome-rules {
  width: 100%;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.signup-welcome-rule {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
}
.signup-welcome-rule-icon {
  color: #22a447 !important;
  font-size: 26px !important;
  flex: 0 0 26px;
  margin-top: 0.1rem;
}
.signup-welcome-rule-copy strong {
  display: block;
  color: var(--text-dark);
  font-size: var(--mg-body-lg-size);
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 0.15rem;
}
.signup-welcome-rule-copy p {
  margin: 0;
  color: var(--text-dark);
  font-size: var(--mg-body-base-size);
  font-weight: 400;
  line-height: 1.45;
  white-space: pre-line;
}
.auth-field-step-header,
.auth-field-step-footer {
  display: none;
}
.locale-toggle {
  font-family: inherit;
  cursor: pointer;
}
.locale-toggle-floating {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 9999;
  padding: 0.45rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  background: rgba(38, 40, 77, 0.88);
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(8px);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.locale-toggle-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 40px;
  padding: 0 0.75rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-full);
  background: #fff;
  color: var(--text-muted);
  font-size: 0.8125rem;
  font-weight: 500;
}
.locale-toggle-inline .is-active {
  color: var(--primary);
  font-weight: 700;
}
.auth-mobile-custom {
  display: none;
}
@media (min-width: 1024px) {
  .login-page {
    flex-direction: row-reverse;
    background: #fff;
  }
  .login-mobile-hero {
    display: none;
  }
  .auth-mobile-custom {
    display: none;
  }
  .auth-gate-logo-mobile {
    display: none;
  }
  .auth-gate {
    flex: 0;
    min-height: auto;
  }
  .auth-gate-subtitle {
    font-size: var(--mg-body-lg-size);
    margin-bottom: 1.75rem;
  }
  .login-card {
    flex: 0 0 50%;
    border-radius: 0;
    padding: 0 3rem;
    justify-content: center;
    align-items: center;
    gap: 0;
  }
  .login-card.login-card-full-width {
    padding: 0 70px;
    align-items: stretch;
  }
  .login-card > * {
    width: 100%;
    max-width: 370px;
  }
  .login-card.login-card-full-width > * {
    max-width: none;
  }
  .login-desktop-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    justify-content: center;
    margin-bottom: 1rem;
  }
  .login-desktop-logo span {
    font-size: 1.92rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.02em;
  }
  .login-brand-subtitle {
    font-size: var(--mg-h2-size);
    font-weight: var(--mg-h2-weight);
    margin: 0 0 1.2rem;
  }
  .login-card > .login-brand-subtitle {
    width: auto;
    max-width: none;
    white-space: nowrap;
  }
  .login-desktop-panel {
    display: block;
    flex: 0 0 50%;
    position: relative;
    overflow: hidden;
  }
  .login-desktop-text {
    position: absolute;
    bottom: 7.5rem;
    left: 2.5rem;
    right: 2.5rem;
    color: #fff;
  }
  .login-desktop-text h1 {
    font-size: clamp(3.25rem, 4.2vw, 4.7rem);
    font-weight: 800;
    line-height: 1.03;
    margin-bottom: 0.75rem;
    text-shadow: 0 2px 16px rgba(38, 40, 77, 0.3);
  }
  .login-desktop-text p {
    font-size: clamp(1.35rem, 2vw, 2rem);
    font-weight: 500;
    opacity: 0.95;
  }
  .login-desktop-text.login-desktop-text-centered {
    inset: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: grid;
    grid-template-rows: auto 1fr;
    align-items: start;
    justify-items: center;
    text-align: center;
    padding: 40px 2rem 2rem;
  }
  .login-desktop-panel-logo {
    position: static;
    justify-self: center;
    margin-bottom: 0;
    width: 192px;
    max-width: 40%;
  }
  .login-desktop-panel-logo img {
    width: 100%;
    height: auto;
  }
  .login-desktop-text.login-desktop-text-centered h1 {
    font-size: clamp(3rem, 4.2vw, 4.6rem);
    margin-bottom: 0;
    align-self: center;
    transform: translateY(calc(-5% - 40px));
  }
  .login-page.login-page-signup-field-step {
    flex-direction: column;
  }
  .auth-field-step-header {
    width: 100%;
    height: 80px;
    display: flex;
    flex-shrink: 0;
    align-items: center;
    border-bottom: 1px solid var(--gray-200);
  }
  .auth-field-step-header-inner {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .auth-field-step-header img {
    width: auto;
    max-width: 168px;
    height: auto;
  }
  .login-page.login-page-signup-field-step .login-card {
    flex: 1 1 auto;
    min-height: 0;
    width: 100%;
    padding: 3rem 2rem 4rem;
    align-items: center;
    justify-content: flex-start;
  }
  .login-page.login-page-signup-field-step .signup-email-mobile {
    min-height: 0;
    width: 100%;
    max-width: 520px;
    display: flex;
    flex-direction: column;
  }
  .login-page.login-page-signup-field-step .signup-email-mobile-appbar {
    display: none;
  }
  .login-page.login-page-signup-field-step .signup-email-progress-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--text-support);
    font-size: var(--mg-legal-size);
    font-weight: 600;
  }
  .login-page.login-page-signup-field-step .signup-email-progress-meta span:first-child {
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 600;
  }
  .login-page.login-page-signup-field-step .signup-email-mobile-progress {
    margin-top: 0.5rem;
    padding: 0;
  }
  .login-page.login-page-signup-field-step .signup-email-mobile-progress::before {
    right: 0;
    left: 0;
  }
  .login-page.login-page-signup-field-step .signup-email-mobile-progress::after {
    left: 0;
    width: calc(100% * var(--signup-progress-ratio, 0.2));
  }
  .login-page.login-page-signup-field-step .signup-email-mobile-form {
    padding: 2.25rem 0 0;
  }
  .auth-field-step-footer {
    width: 100%;
    display: block;
    flex-shrink: 0;
    color: var(--text-support);
    font-size: var(--mg-legal-size);
  }
  .auth-field-step-footer-inner {
    width: 100%;
    max-width: 1120px;
    min-height: 64px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--gray-200);
  }
  .auth-field-step-footer nav {
    display: flex;
    gap: 1.5rem;
  }
  .auth-field-step-footer a {
    color: var(--text-support);
    text-decoration: none;
  }
  .auth-field-step-footer a:hover {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 3px;
  }
}
@media (max-width: 1023.98px) {
  .login-page.has-mobile-content .auth-mobile-custom {
    display: block;
  }
  .login-page.has-mobile-content .login-card,
  .login-page.has-mobile-content .login-desktop-panel {
    display: none;
  }
  .login-page.login-page-signup-field-step .login-desktop-panel {
    display: none;
  }
  .login-page.login-page-signup-field-step .login-card {
    display: flex;
    flex: 1;
    min-height: 100svh;
    border-radius: 0;
    padding: 0;
    align-items: stretch;
    justify-content: flex-start;
  }
  .login-page.login-page-signup-field-step .login-card > * {
    max-width: none;
  }
}
.app-shell {
  display: flex;
  flex-direction: column;
  height: 100svh;
  background: var(--md-surface);
  border-radius: 0 !important;
}
.app-shell-appbar {
  flex-shrink: 0;
  position: sticky;
  top: 0;
  z-index: 110;
}
.app-shell-body {
  flex: 1;
  display: flex;
  overflow: hidden;
}
.app-shell-left {
  display: none;
}
.app-shell-right {
  display: none;
}
.nav-drawer {
  display: none;
}
.nav-rail {
  display: none;
}
.app-shell-center {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.app-shell-content {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding-top: 4px;
  padding-bottom: 12px;
}
html.capacitor-native .app-shell {
  height: 100dvh;
  max-height: 100dvh;
  box-sizing: border-box;
  padding-bottom: var(--mg-safe-bottom);
}
.app-shell-inner {
  width: 100%;
  padding-inline: 4px;
  box-sizing: border-box;
}
.app-shell-mobile-slot {
  display: block;
}
.app-shell-mobile-slot-top {
  margin-bottom: 0.75rem;
}
.app-shell-mobile-slot-bottom {
  margin-top: 0.75rem;
}
.app-nav-bottom {
  flex-shrink: 0;
  position: relative;
  z-index: 120;
  margin: 0;
  padding: 0;
}
.app-nav-bottom-inner {
  min-height: 72px;
  background: var(--md-surface-container-lowest, #ffffff);
  border: none;
  border-top: 1px solid var(--md-outline-variant);
  border-radius: 0;
  box-shadow: none;
  display: flex;
  align-items: flex-start;
  padding-top: 8px;
}
.app-nav-bottom-link {
  flex: 1;
  min-width: 0;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}
.app-nav-bottom-indicator {
  width: 62px;
  height: 32px;
  border-radius: var(--md-shape-full);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: background 180ms ease, transform 180ms ease;
}
.app-nav-bottom-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--md-on-surface-variant);
  transition: color 180ms ease;
}
.app-nav-bottom-label {
  font-size: var(--md-label-sm);
  font-weight: 500;
  line-height: var(--md-label-sm-lh);
  letter-spacing: 0.025rem;
  color: var(--md-on-surface-variant);
  transition: color 180ms ease, font-weight 180ms ease;
  white-space: nowrap;
}
.app-nav-bottom-badge {
  position: absolute;
  top: -2px;
  right: 0;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: var(--radius-full);
  background: #D93025;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
  border: 1px solid var(--md-surface-container-lowest);
}
.app-nav-bottom-link.active .app-nav-bottom-indicator {
  background: var(--md-secondary-container);
  transform: translateY(-1px);
}
.app-nav-bottom-link.active .app-nav-bottom-icon, .app-nav-bottom-link.active .app-nav-bottom-label {
  color: var(--secondary);
}
.app-nav-bottom-link.active .app-nav-bottom-label {
  font-weight: 700;
}
.app-shell-fab {
  position: fixed;
  bottom: calc(var(--mg-mobile-bottom-nav-stack) + var(--mg-safe-bottom) + 12px);
  right: 16px;
  z-index: 99;
}
.app-shell-drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 140;
  pointer-events: none;
}
.app-shell-drawer {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: min(88vw, 320px);
  background: #fff;
  box-shadow: var(--md-elev-4);
  border-top-right-radius: 16px;
  border-bottom-right-radius: 16px;
  overflow: hidden;
  transform: translateX(-100%);
  transition: transform 200ms ease;
  display: flex;
  flex-direction: column;
  z-index: 1;
}
.app-shell-drawer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding: calc(1rem + env(safe-area-inset-top)) 0.9rem 0.9rem;
  border-bottom: 1px solid var(--gray-200);
}
.app-shell-drawer-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.app-shell-drawer-profile-trigger {
  flex: 1;
  border: none;
  background: transparent;
  padding: 0;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
}
.app-shell-drawer-avatar {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  overflow: hidden;
  background: var(--gray-200);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text-dark);
}
.app-shell-drawer-profile-meta {
  min-width: 0;
}
.app-shell-drawer-profile-name {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text-dark);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.app-shell-drawer-profile-handle {
  margin: 2px 0 0;
  font-size: 0.84rem;
  color: var(--text-muted);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.app-shell-drawer.open {
  transform: translateX(0);
}
.app-shell-drawer-overlay.open {
  pointer-events: auto;
}
.app-shell-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.42);
  border: none;
  opacity: 0;
  transition: opacity 180ms ease;
  z-index: 0;
}
.app-shell-drawer-overlay.open .app-shell-drawer-backdrop {
  opacity: 1;
}
.app-shell-drawer-header {
  display: flex;
  justify-content: flex-end;
  padding: calc(0.75rem + env(safe-area-inset-top)) 0.75rem 0.25rem;
}
.app-shell-drawer-close {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: var(--md-shape-full);
  background: transparent;
  color: var(--md-on-surface-variant);
  cursor: pointer;
}
.app-shell-drawer-content {
  flex: 1;
  overflow-y: auto;
  padding: 0.5rem 0.5rem 0.75rem;
}
.app-shell-drawer-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.app-shell-drawer-nav-link {
  width: 100%;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-dark);
  border-radius: 10px;
  padding: 0.55rem 0.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  position: relative;
}
.app-shell-drawer-nav-button {
  border: none;
  background: transparent;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
}
.app-shell-drawer-nav-link:hover {
  background: var(--gray-100);
}
.app-shell-drawer-nav-icon {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--md-on-surface-variant);
  flex-shrink: 0;
}
.app-shell-drawer-nav-badge {
  margin-left: auto;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: #D93025;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
}
.app-shell-drawer-footer {
  padding: 0.65rem 0.5rem calc(0.8rem + env(safe-area-inset-bottom));
  border-top: 1px solid var(--gray-200);
}
.app-shell-drawer-footer-link {
  width: 100%;
  border: none;
  background: transparent;
  color: #B3261E;
  text-align: left;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.6rem 0.75rem;
  border-radius: 10px;
  cursor: pointer;
}
.app-shell-drawer-footer-link:hover {
  background: rgba(179, 38, 30, 0.08);
}
.mobile-topbar {
  background: var(--md-surface);
  border-bottom: 1px solid var(--gray-200);
  padding-top: var(--mg-safe-top);
}
.profile-mobile-topbar {
  border-radius: 0 !important;
  overflow: hidden;
}
.profile-mobile-topbar .mobile-topbar-inner {
  border-radius: 0 !important;
}
.network-page-sticky-top {
  position: sticky;
  top: 0;
  z-index: 110;
  background: #fff;
}
@media (max-width: 767px) {
  .network-page-sticky-top {
    padding-top: var(--mg-safe-top);
  }
  .network-page-header-back {
    display: flex;
  }
}
@media (min-width: 768px) {
  .network-page-header-back {
    display: none;
  }
}
.profile-page-root {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
}
@media (min-width: 768px) {
  .profile-page-root {
    max-width: 760px;
    margin: 0 auto;
  }
}
.profile-page-appbar {
  position: sticky;
  top: 0;
  z-index: 110;
  width: 100%;
  margin: 0;
  border-radius: 0 !important;
  border: none;
  background: #fff;
}
.profile-page-appbar-inner {
  height: 56px;
  padding: 0 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-radius: 0 !important;
}
.profile-page-appbar-left, .profile-page-appbar-right {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  width: 42px;
}
.profile-page-appbar-right {
  justify-content: flex-end;
}
.profile-page-appbar-center {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.profile-page-appbar-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark, #262626);
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.profile-page-appbar-verified {
  display: inline-flex;
  flex-shrink: 0;
}
.profile-view-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  overflow: hidden;
}
.profile-stats-section {
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  padding-top: 12px;
  padding-bottom: 12px;
}
.profile-visitor-actions-section {
  margin-top: 18px;
}
.profile-visitor-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 34px;
  gap: 8px;
  width: 100%;
}
.profile-visitor-actions--secondary {
  margin-top: 8px;
  grid-template-columns: minmax(0, 1fr);
}
.profile-visitor-actions__skeleton-btn {
  height: 32px;
  border-radius: 8px;
}
.profile-visitor-actions__skeleton-icon {
  width: 34px;
  height: 32px;
  border-radius: 8px;
}
.profile-visitor-actions__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: 32px;
  padding: 0 12px;
  border: none;
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: opacity 0.15s ease;
}
.profile-visitor-actions__btn:disabled {
  cursor: default;
}
.profile-visitor-actions__btn--follow {
  background: #0095f6;
  color: #fff;
}
.profile-visitor-actions__btn--follow.is-following {
  background: #efefef;
  color: #262626;
  font-weight: 600;
}
.profile-visitor-actions__btn--follow.is-following .profile-following-sheet__chevron {
  margin-left: 1px;
  opacity: 0.9;
}
.profile-visitor-actions__btn--follow:not(:disabled):active {
  opacity: 0.85;
}
.profile-visitor-actions__btn--follow:disabled {
  opacity: 0.65;
  cursor: wait;
}
.profile-visitor-actions__btn--message {
  background: #efefef;
  color: #262626;
}
.profile-visitor-actions__btn--membership {
  background: #0095f6;
  color: #fff;
  gap: 6px;
}
.profile-visitor-actions__btn--membership.is-member, .profile-visitor-actions__btn--membership.is-pending {
  background: #efefef;
  color: #262626;
}
.profile-visitor-actions__btn--membership.is-pending {
  cursor: pointer;
}
.profile-visitor-actions__btn--membership:not(:disabled):active {
  opacity: 0.85;
}
.profile-visitor-actions__btn--membership:disabled {
  opacity: 0.65;
  cursor: wait;
}
.profile-visitor-actions__btn--icon {
  background: #efefef;
  color: #262626;
  padding: 0;
  width: 34px;
  min-width: 34px;
}
.profile-visitor-actions__icon {
  width: 18px;
  height: 18px;
  font-size: 18px !important;
  flex-shrink: 0;
}
.profile-following-sheet__chevron {
  width: 16px;
  height: 16px;
  font-size: 16px !important;
  flex-shrink: 0;
}
.profile-following-sheet {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.profile-following-sheet__grabber {
  width: 36px;
  height: 4px;
  margin: 4px auto 12px;
  border-radius: 999px;
  background: #dbdbdb;
}
.profile-following-sheet__title {
  margin: 0 0 8px;
  padding: 0 16px;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  color: #262626;
}
.profile-following-sheet__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.profile-following-sheet__item {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: none;
  background: transparent;
  color: #262626;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
  text-align: left;
  cursor: pointer;
}
.profile-following-sheet__item:disabled {
  opacity: 0.55;
  cursor: wait;
}
.profile-following-sheet__item:not(:disabled):active {
  background: #f2f2f2;
}
.profile-following-sheet__item-icon, .profile-following-sheet__item-chevron {
  width: 24px;
  height: 24px;
  font-size: 24px !important;
  flex-shrink: 0;
  color: #262626;
}
.profile-following-sheet__item-chevron {
  width: 20px;
  height: 20px;
  font-size: 20px !important;
  color: #8e8e8e;
}
.profile-following-sheet__item--unfollow span {
  font-weight: 400;
}
@media (max-width: 767px) {
  .app-shell-inner--flush-mobile {
    padding-inline: 0;
  }
  .app-shell-content--flush-mobile {
    padding-top: 0;
    padding-bottom: 0;
  }
  .profile-page-root {
    width: 100%;
    max-width: none;
    margin: 0;
  }
  .profile-page-root .profile-page-body, .profile-page-root .profile-page-body > div {
    width: 100%;
    margin: 0;
    padding: 0;
  }
  .profile-page-appbar {
    padding-top: var(--mg-safe-top);
  }
  .profile-page-appbar-back {
    display: inline-flex;
  }
  .profile-page-root .profile-view-card {
    border-top: none;
    border-left: none;
    border-right: none;
    border-radius: 0;
  }
  .profile-visitor-actions-section {
    margin-inline: -18px;
    padding-inline: 16px;
    width: calc(100% + 36px);
  }
  .profile-page-root [role="tabpanel"] > section {
    border-left: none;
    border-right: none;
  }
}
@media (min-width: 768px) {
  .profile-page-appbar {
    display: none;
  }
  .profile-page-appbar-back {
    display: none;
  }
}
.mobile-topbar-inner {
  height: 56px;
  padding: 0 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.mobile-topbar-left, .mobile-topbar-right {
  display: flex;
  align-items: center;
  gap: 4px;
}
.mobile-topbar-right {
  gap: 6px;
}
.mobile-topbar-icon-button, .mobile-topbar-icon-link {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: var(--md-on-surface-variant);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  flex-shrink: 0;
}
.mobile-topbar-icon-button:disabled {
  opacity: 0.5;
}
.mobile-topbar-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
}
.mobile-topbar-search {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 42px;
  height: 42px;
  overflow: hidden;
  border-radius: 999px;
  background: transparent;
  transition: width 220ms ease, background 220ms ease;
}
.mobile-topbar-search.expanded {
  width: min(56vw, 240px);
  background: var(--gray-100);
  padding-right: 8px;
}
.mobile-topbar-search-button {
  width: 42px;
  height: 42px;
}
.mobile-topbar-search input {
  width: 0;
  opacity: 0;
  border: none;
  outline: none;
  background: transparent;
  color: var(--text-dark);
  font-size: var(--md-body-sm);
  transition: width 220ms ease, opacity 220ms ease;
}
.mobile-topbar-search.expanded input {
  width: 100%;
  opacity: 1;
}
.mobile-topbar-icon-link {
  position: relative;
}
.mobile-topbar-badge {
  position: absolute;
  top: 2px;
  right: 0;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: #D93025;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
}
.app-topbar {
  display: none;
}
@media (min-width: 860px) {
  .app-shell {
    display: block;
    height: auto;
    min-height: 100svh;
    max-height: none;
    padding-bottom: 0;
    background: #EFF1F8;
  }
  .app-shell-appbar {
    display: none;
  }
  .app-nav-bottom {
    display: none !important;
  }
  .app-topbar {
    display: block;
    position: sticky;
    top: 0;
    z-index: 100;
    background: #ffffff;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: 0 1px 4px rgba(38, 40, 77, 0.08);
  }
  .mobile-topbar {
    display: none;
  }
  .app-topbar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
  }
  .app-topbar-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 320px;
    flex-shrink: 0;
  }
  .app-topbar-logo-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .app-topbar-search {
    width: 280px;
    height: 44px;
    border-radius: 999px;
    background: #eef3f8;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 12px;
  }
  .app-topbar-search-icon {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-600);
  }
  .app-topbar-search input {
    width: 100%;
    border: none;
    background: transparent;
    color: var(--text-dark);
    outline: none;
    font-size: var(--md-body-md);
  }
  .app-topbar-nav {
    display: flex;
    align-items: stretch;
    justify-content: flex-end;
    height: 72px;
    gap: 2px;
    min-width: 0;
  }
  .app-topbar-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    min-width: 74px;
    padding: 0 10px;
    text-decoration: none;
    color: var(--md-on-surface-variant);
    border-bottom: 2px solid transparent;
    transition: color 150ms ease, border-color 150ms ease;
    white-space: nowrap;
  }
  .app-topbar-nav-item:hover {
    color: var(--text-dark);
  }
  .app-topbar-nav-item.active {
    color: var(--secondary);
    border-bottom-color: var(--secondary);
  }
  .app-topbar-nav-icon-wrapper {
    position: relative;
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .app-topbar-nav-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: inherit;
  }
  .app-topbar-nav-label {
    font-size: 0.68rem;
    font-weight: 600;
    color: inherit;
    letter-spacing: 0.01em;
  }
  .app-topbar-nav-badge {
    position: absolute;
    top: -6px;
    right: -14px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 999px;
    background: #D93025;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    line-height: 16px;
    text-align: center;
  }
  .app-shell-body {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
    align-items: start;
    overflow: visible;
  }
  .app-shell-body[data-has-left-panel='true'][data-has-right-panel='false'] {
    grid-template-columns: 220px minmax(0, 1fr);
  }
  .app-shell-body[data-has-left-panel='true'][data-has-right-panel='true'] {
    grid-template-columns: 220px minmax(0, 1fr);
  }
  .app-shell-left {
    display: none;
    position: sticky;
    top: calc(56px + 1.5rem);
    padding-top: 4px;
    box-sizing: border-box;
  }
  .app-shell-body[data-has-left-panel='true'] .app-shell-left {
    display: block;
  }
  .app-shell-right {
    display: none;
    position: sticky;
    top: calc(56px + 1.5rem);
    padding-top: 4px;
    box-sizing: border-box;
  }
  .app-shell-center {
    display: block;
    overflow: visible;
    min-width: 0;
  }
  .app-shell-content {
    overflow: visible;
    padding-bottom: 2rem;
  }
  .app-shell-inner {
    width: 100%;
    padding-inline: 0;
  }
  .app-shell-mobile-slot {
    display: none;
  }
  .app-shell-fab {
    bottom: 24px;
    right: 24px;
  }
  .app-shell-drawer-overlay {
    display: none;
  }
}
@media (min-width: 860px) and (max-width: 1099px) {
  .app-topbar-inner {
    padding: 0 0.75rem;
    height: 64px;
    gap: 0.5rem;
  }
  .app-topbar-left {
    min-width: auto;
    gap: 0.5rem;
    flex: 0 0 auto;
  }
  .app-topbar-search {
    width: 42px;
    height: 40px;
    padding: 0 10px;
    gap: 0;
    transition: width 180ms ease, background 180ms ease;
  }
  .app-topbar-search input {
    width: 0;
    opacity: 0;
    pointer-events: none;
  }
  .app-topbar-search:focus-within {
    width: clamp(160px, 30vw, 220px);
    gap: 8px;
    padding: 0 12px;
  }
  .app-topbar-search:focus-within input {
    width: 100%;
    opacity: 1;
    pointer-events: auto;
  }
  .app-topbar-nav {
    height: 64px;
    gap: 0;
  }
  .app-topbar-nav-item {
    min-width: 52px;
    padding: 0 6px;
  }
  .app-topbar-nav-label {
    display: none;
  }
  .app-topbar-nav-badge {
    right: -8px;
  }
}
@media (min-width: 1200px) {
  .app-shell-body {
    grid-template-columns: minmax(0, 1fr);
    justify-content: stretch;
  }
  .app-shell-body[data-has-left-panel='true'][data-has-right-panel='false'] {
    grid-template-columns: 220px minmax(0, 1fr);
  }
  .app-shell-body[data-has-left-panel='false'][data-has-right-panel='true'] {
    grid-template-columns: minmax(0, 1fr) 300px;
  }
  .app-shell-body[data-has-left-panel='true'][data-has-right-panel='true'] {
    grid-template-columns: 220px minmax(0, 1fr) 300px;
  }
  .app-shell-body[data-has-right-panel='true'] .app-shell-right {
    display: block;
  }
}
.skeleton {
  position: relative;
  overflow: hidden;
  background: var(--gray-200);
}
.skeleton.shimmer::after {
  content: '';
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient( 90deg, transparent 0%, rgba(255, 255, 255, 0.45) 50%, transparent 100% );
  animation: skeleton-shimmer 1.3s ease-in-out infinite;
}
@keyframes skeleton-shimmer {
  100% {
    transform: translateX(100%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .skeleton.shimmer::after {
    animation: none;
  }
}
.card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
}
.post-interaction-link:hover {
  text-decoration: underline !important;
}
.profile-manage-entry {
  margin: 0 0 16px;
}
.profile-manage-entry__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 10px;
  border: 1.5px solid rgba(38, 40, 77, 0.16);
  background: #fff;
  color: var(--primary);
  text-decoration: none;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 700;
}
.profile-manage-entry__btn:hover {
  border-color: var(--secondary);
  background: var(--gray-50);
}
.profile-manage-entry__icon {
  width: 20px;
  height: 20px;
  font-size: 20px !important;
}
@media (min-width: 860px) {
  .profile-manage-entry {
    max-width: 360px;
  }
}
.post-card-root {
  width: 100%;
}
.skeleton {
  position: relative;
  overflow: hidden;
  background: var(--gray-100);
}
.skeleton.shimmer::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  animation: skeleton-shimmer 1.3s ease-in-out infinite;
}
@keyframes skeleton-shimmer {
  100% {
    transform: translateX(100%);
  }
}
.login-card .welcome-back {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  font-family: "Raleway", sans-serif;
}
.login-card .welcome-back-title {
  margin: 0 0 1.5rem;
  text-align: center;
  font-size: var(--mg-h2-size);
  font-weight: var(--mg-h2-weight);
  line-height: var(--mg-h2-lh);
  color: var(--primary);
}
.login-card .welcome-back-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(38, 40, 77, 0.1);
}
.login-card .welcome-back-list > li + li {
  border-top: 1px solid rgba(38, 40, 77, 0.08);
}
.login-card button.welcome-back-account-row,
.login-card .welcome-back-manage-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.875rem;
  width: 100%;
  min-height: 4.5rem;
  padding: 0.75rem 0.35rem;
  margin-inline: -0.35rem;
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  text-align: left;
  font-family: inherit;
  transition: background-color 0.2s ease;
}
.login-card button.welcome-back-account-row {
  cursor: pointer;
}
.login-card button.welcome-back-account-row:hover:not(:disabled) {
  background: rgba(102, 148, 255, 0.06);
}
.login-card button.welcome-back-account-row:active:not(:disabled) {
  background: rgba(102, 148, 255, 0.1);
}
.login-card button.welcome-back-account-row:disabled {
  opacity: 0.65;
  cursor: wait;
}
.login-card .welcome-back-avatar-wrap {
  flex: 0 0 3rem;
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-full);
  overflow: hidden;
  background: var(--gray-200);
}
.login-card .welcome-back-avatar-wrap .welcome-back-avatar {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}
.login-card .welcome-back-avatar-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gray-600);
  background: var(--gray-200);
}
.login-card .welcome-back-account-copy,
.login-card .welcome-back-manage-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.2rem;
  min-width: 0;
  flex: 1 1 auto;
}
.login-card .welcome-back-account-name {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--primary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.login-card .welcome-back-account-subtitle {
  font-size: 0.875rem;
  line-height: 1.35;
  color: var(--text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.login-card .welcome-back-chevron {
  flex: 0 0 auto;
  width: 1.35rem;
  height: 1.35rem;
  color: var(--gray-400);
}
.login-card .welcome-back-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
}
.login-card .welcome-back-add-account {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: 100%;
  padding: 0.85rem 1rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-full);
  background: #fff;
  color: var(--primary);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.login-card .welcome-back-add-account:hover {
  border-color: rgba(102, 148, 255, 0.45);
  box-shadow: var(--shadow-md);
}
.login-card .welcome-back-add-account svg {
  width: 1.25rem;
  height: 1.25rem;
}
.login-card .welcome-back-manage-link {
  margin: 0;
  text-align: center;
  font-size: 0.9rem;
}
.login-card .welcome-back-manage-link a {
  color: var(--secondary);
  font-weight: 700;
  text-decoration: none;
}
.login-card .welcome-back-manage-link a:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}
.login-card .welcome-back-signup-row {
  margin-top: 1.75rem;
}
.login-card .welcome-back-remove-btn,
.login-card .welcome-back-text-btn {
  border: 0;
  background: transparent;
  color: var(--secondary);
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  padding: 0.35rem 0;
  flex-shrink: 0;
}
.login-card .welcome-back-remove-btn:disabled {
  opacity: 0.6;
  cursor: wait;
}
.login-card .welcome-back-manage-description,
.login-card .welcome-back-empty {
  margin: 0 0 1rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.45;
}
.login-card .welcome-back-manage {
  gap: 0.5rem;
}
@media (min-width: 1024px) {
  .login-card .welcome-back-title {
    margin-bottom: 1.75rem;
  }
  .login-card button.welcome-back-account-row,
  .login-card .welcome-back-manage-row {
    min-height: 4.75rem;
    padding-inline: 0.5rem;
    margin-inline: -0.5rem;
  }
  .login-card .welcome-back-avatar-wrap {
    flex-basis: 3.25rem;
    width: 3.25rem;
    height: 3.25rem;
  }
}
@media (max-width: 1023.98px) {
  .login-page.login-page-mobile-half-card {
    height: 100svh;
    min-height: 100svh;
    max-height: 100svh;
    overflow: hidden;
  }
  .login-page.login-page-mobile-half-card .login-mobile-hero {
    flex: 0 0 50svh;
    height: 50svh;
    max-height: 50svh;
    min-height: 0;
    overflow: hidden;
    padding: 2rem 1.5rem 1rem;
    justify-content: flex-end;
    box-sizing: border-box;
  }
  .login-page.login-page-mobile-half-card .login-card {
    flex: 0 0 50svh;
    height: 50svh;
    max-height: 50svh;
    min-height: 0;
    padding: 1.75rem 1.75rem 1rem;
    justify-content: flex-start;
    overflow-y: auto;
    box-sizing: border-box;
  }
  .login-page.login-page-mobile-half-card .login-card > .auth-gate {
    width: 100%;
    max-width: none;
    min-height: 100%;
  }
  .login-page.login-page-mobile-half-card .auth-gate-logo-mobile {
    margin: 1rem 0 2rem;
  }
  .login-page.login-page-mobile-half-card .auth-gate-subtitle {
    font-size: var(--mg-body-lg-size);
    margin-bottom: 1.75rem;
  }
  .login-page.login-page-mobile-half-card .auth-options-panel {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 100%;
    width: 100%;
    max-width: none;
  }
  .login-page.login-page-mobile-half-card .auth-options-logo {
    display: flex;
    justify-content: center;
    margin: 1rem 0 2rem;
  }
  .login-page.login-page-mobile-half-card .auth-options-logo img {
    width: auto;
    max-width: 168px;
    height: auto;
  }
  .login-page.login-page-mobile-half-card .auth-options-tagline {
    margin-bottom: 1.75rem;
  }
  .login-page.login-page-mobile-half-card .auth-options-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
  .login-page.login-page-mobile-half-card .auth-options-bottom {
    display: flex;
    flex-direction: column;
    margin-top: auto;
    padding-top: 1.25rem;
  }
  .login-page.login-page-mobile-half-card .auth-options-cross-link {
    border-top: 1px solid var(--gray-200);
    margin: 0;
    padding: 1.25rem 0 0;
    text-align: center;
    font-size: 0.9375rem;
    color: var(--primary);
  }
  .login-page.login-page-mobile-half-card .auth-options-cross-link a {
    color: var(--secondary);
    font-weight: 700;
  }
  .auth-gate-legal-slot .login-terms-row {
    width: calc(100% + 2 * (1.75rem - 20px));
    max-width: calc(100vw - 40px);
    margin-left: calc(20px - 1.75rem);
    margin-right: calc(20px - 1.75rem);
  }
}
@media (max-width: 1023.98px) {
  .login-page.login-page-mobile-auth-minimal {
    background: #fff;
  }
  .login-page.login-page-mobile-auth-minimal .login-mobile-hero {
    display: none;
  }
  .login-page.login-page-mobile-auth-minimal .login-card {
    flex: 1;
    min-height: 100svh;
    border-radius: 0;
    padding: 3.25rem 1.5rem 1.25rem;
    padding-bottom: max(1.25rem, env(safe-area-inset-bottom, 0px));
  }
  .login-page.login-page-mobile-auth-minimal .auth-options-logo {
    display: flex;
    justify-content: center;
    margin: 1rem 0 2.5rem;
  }
  .login-page.login-page-mobile-auth-minimal .auth-options-logo img {
    width: auto;
    max-width: 168px;
    height: auto;
  }
  .login-page.login-page-mobile-auth-minimal .auth-options-panel {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-height: 0;
  }
  .login-page.login-page-mobile-auth-minimal .auth-options-buttons {
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  .login-page.login-page-mobile-auth-minimal .auth-options-bottom {
    display: flex;
    flex-direction: column;
    margin-top: auto;
    padding-top: 1.5rem;
  }
  .login-page.login-page-mobile-auth-minimal .auth-options-title.login-brand-subtitle {
    text-align: left;
    font-size: var(--mg-h1-size);
    font-weight: var(--mg-h1-weight);
    line-height: var(--mg-h1-lh);
    color: var(--primary);
    margin: 0 0 1.75rem;
  }
  .login-page.login-page-mobile-auth-minimal .welcome-back-title {
    text-align: left;
    font-size: var(--mg-h1-size);
    font-weight: var(--mg-h1-weight);
    line-height: var(--mg-h1-lh);
    margin-bottom: 1.75rem;
  }
  .login-page.login-page-mobile-auth-minimal .auth-minimal-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }
  .login-page.login-page-mobile-auth-minimal .auth-minimal-form .login-btn-full {
    margin-top: 0.25rem;
  }
  .login-page.login-page-mobile-auth-minimal .auth-provider-btn.login-btn-full {
    margin-top: 0.5rem;
  }
  .login-page.login-page-mobile-auth-minimal .login-terms-row {
    margin-top: 0;
    margin-bottom: 1rem;
  }
  .login-page.login-page-mobile-auth-minimal .auth-options-cross-link {
    border-top: 1px solid var(--gray-200);
    margin: 0;
    padding: 1.25rem 0 0;
    text-align: center;
    font-size: 0.9375rem;
    color: var(--primary);
  }
  .login-page.login-page-mobile-auth-minimal .auth-minimal-back-link {
    margin-top: 0;
    text-align: center;
  }
  .login-page.login-page-mobile-auth-minimal .auth-options-cross-link a {
    color: var(--secondary);
    font-weight: 700;
    text-decoration: none;
  }
  .login-page.login-page-mobile-auth-minimal .auth-options-cross-link.login-signup-row a {
    color: var(--secondary);
    font-weight: 700;
  }
  .login-page.login-page-mobile-auth-minimal .welcome-back {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
  }
  .login-page.login-page-mobile-auth-minimal .welcome-back .login-terms-row,
  .login-page.login-page-mobile-auth-minimal .login-card > .login-terms-row {
    margin-top: auto;
    padding-top: 1.5rem;
  }
}
.analytics-consent-banner {
  position: fixed;
  z-index: 10000;
  right: 1.25rem;
  bottom: 1.25rem;
  left: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  max-width: 920px;
  margin: 0 auto;
  padding: 1rem 1.25rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-md);
  font-family: "Raleway", sans-serif;
}
.analytics-consent-copy {
  flex: 1;
  min-width: 0;
}
.analytics-consent-copy h2 {
  margin: 0 0 0.25rem;
  color: var(--primary);
  font-size: 1rem;
  font-weight: 700;
}
.analytics-consent-copy p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.8rem;
  line-height: 1.4;
}
.analytics-consent-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.5rem;
}
.analytics-consent-actions button {
  min-height: 2.4rem;
  padding: 0.45rem 0.75rem;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 700;
}
.analytics-consent-reject,
.analytics-consent-analytics {
  border: 0;
  background: transparent;
  color: var(--primary);
  cursor: pointer;
}
.analytics-consent-analytics {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-full);
}
.analytics-consent-accept {
  margin: 0;
}
@media (max-width: 640px) {
  .analytics-consent-banner {
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    padding: 1.25rem 1.25rem calc(1.25rem + env(safe-area-inset-bottom));
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 -8px 24px rgba(38, 40, 77, 0.12);
  }
  .analytics-consent-copy h2 {
    margin-bottom: 0.375rem;
    font-size: 1.0625rem;
  }
  .analytics-consent-copy p {
    font-size: 0.8125rem;
    line-height: 1.45;
  }
  .analytics-consent-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
  }
  .analytics-consent-actions button {
    width: 100%;
    min-height: 2.75rem;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
  }
  .analytics-consent-accept {
    order: 1;
  }
  .analytics-consent-analytics {
    order: 2;
  }
  .analytics-consent-reject {
    order: 3;
  }
}
.edit-field-page {
  min-height: 100dvh;
  background: #fff;
  display: flex;
  flex-direction: column;
}
.edit-field-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 0;
}
.edit-field-main--centered {
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.edit-field-desktop-back {
  display: none;
}
.edit-field-loading {
  color: var(--text-muted);
}
.edit-field-appbar {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 56px;
  padding: 8px 12px;
  border-bottom: 1px solid var(--gray-200);
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.98);
}
.edit-field-back-btn {
  border: none;
  background: transparent;
  color: var(--secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  cursor: pointer;
}
.edit-field-appbar-title {
  flex: 1;
  text-align: center;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--secondary);
  padding-right: 40px;
}
.edit-field-body {
  flex: 1;
  padding: 16px 12px 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 760px;
  width: 100%;
  margin: 0 auto;
}
.edit-field-intro {
  padding: 0 4px 16px;
}
.edit-field-title {
  margin: 0 0 8px;
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.2;
  color: #49494b;
}
.edit-field-subtitle {
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.4;
  color: #49494b;
  font-weight: 400;
}
.edit-field-content {
  padding: 0 4px;
}
.edit-field-footer {
  margin-top: 24px;
  padding: 0 4px;
  display: grid;
  gap: 12px;
}
.edit-field-actions {
  display: flex;
  justify-content: flex-end;
  width: 100%;
}
.edit-field-actions-group {
  display: inline-flex;
  align-items: stretch;
  flex-wrap: nowrap;
  gap: 10px;
  max-width: 100%;
}
.edit-field-action-btn {
  min-height: 48px;
  min-width: 0;
  padding: 0.75rem 1.125rem;
  font-size: 0.9375rem;
  font-weight: 600;
  font-family: var(--mg-font-family);
  flex: 0 1 auto;
}
.edit-field-action-btn--remove {
  color: var(--error, #b42318);
  border-color: var(--error, #b42318);
  @supports (color: color-mix(in lab, red, red)) {
    border-color: color-mix(in srgb, var(--error, #b42318) 32%, var(--gray-200));
  }
}
.edit-field-action-btn--remove:hover:not(:disabled) {
  color: var(--error, #b42318);
  background: var(--error, #b42318);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, var(--error, #b42318) 6%, #fff);
  }
  border-color: var(--error, #b42318);
  @supports (color: color-mix(in lab, red, red)) {
    border-color: color-mix(in srgb, var(--error, #b42318) 48%, var(--gray-200));
  }
}
@media (max-width: 639px) {
  .edit-field-actions {
    justify-content: stretch;
  }
  .edit-field-actions-group {
    width: 100%;
  }
  .edit-field-action-btn {
    flex: 1 1 0;
    padding: 0.6875rem 0.625rem;
    min-width: 0;
  }
}
.edit-field-cleared-hint {
  margin: 12px 4px 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.45;
}
.edit-opening-hours-list {
  display: grid;
  gap: 12px;
}
.edit-opening-hours-day {
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  background: #fff;
  padding: 14px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}
.edit-opening-hours-day-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.edit-opening-hours-day-icon {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: rgba(102, 148, 255, 0.12);
  color: var(--secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.edit-opening-hours-day-copy {
  min-width: 0;
  flex: 1;
}
.edit-opening-hours-day-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 650;
  color: var(--text-dark);
}
.edit-opening-hours-day-meta {
  margin: 2px 0 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
}
.edit-opening-hours-day-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.edit-opening-hours-day-toggle-label {
  font-size: 0.75rem;
  font-weight: 650;
  color: var(--secondary);
}
.edit-opening-hours-switch {
  position: relative;
  display: inline-flex;
  width: 44px;
  height: 26px;
}
.edit-opening-hours-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.edit-opening-hours-switch-slider {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: var(--gray-200);
  transition: background 0.2s ease;
  cursor: pointer;
}
.edit-opening-hours-switch-slider::before {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  left: 3px;
  top: 3px;
  border-radius: 999px;
  background: #fff;
  transition: transform 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
}
.edit-opening-hours-switch input:checked + .edit-opening-hours-switch-slider {
  background: var(--secondary);
}
.edit-opening-hours-switch input:checked + .edit-opening-hours-switch-slider::before {
  transform: translateX(18px);
}
.edit-opening-hours-switch input:disabled + .edit-opening-hours-switch-slider {
  opacity: 0.6;
  cursor: not-allowed;
}
.edit-opening-hours-day-body {
  margin-top: 12px;
  display: grid;
  gap: 10px;
}
.edit-opening-hours-range {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
}
.edit-opening-hours-time-field {
  display: grid;
  gap: 4px;
  min-width: 0;
}
.edit-opening-hours-time-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
}
.edit-opening-hours-time-input {
  width: 100%;
  box-sizing: border-box;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--gray-200);
  background: var(--gray-100);
  font: inherit;
  font-size: 0.9375rem;
  color: var(--text-dark);
}
.edit-opening-hours-time-input:disabled {
  opacity: 0.7;
}
.edit-opening-hours-remove-range {
  width: 44px;
  height: 44px;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  background: #fff;
  color: var(--error, #b42318);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.edit-opening-hours-remove-range:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.edit-opening-hours-add-range {
  justify-self: start;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--secondary);
  border-radius: 8px;
  background: transparent;
  color: var(--secondary);
  font: inherit;
  font-size: 0.875rem;
  font-weight: 650;
  cursor: pointer;
}
.edit-opening-hours-add-range:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.edit-opening-hours-closed-hint {
  margin: 12px 0 0;
  padding: 12px;
  border-radius: 8px;
  background: var(--gray-100);
  color: var(--text-muted);
  font-size: 0.8125rem;
  line-height: 1.45;
}
.edit-number-input {
  width: 100%;
  box-sizing: border-box;
  padding: 14px 16px;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--text-dark);
  background: var(--gray-100);
}
.edit-number-input:focus {
  outline: none;
  border-color: rgba(102, 148, 255, 0.65);
  box-shadow: 0 0 0 3px rgba(102, 148, 255, 0.15);
  background: #fff;
}
.edit-number-input:disabled {
  opacity: 0.6;
}
.edit-date-input {
  width: 100%;
  box-sizing: border-box;
  padding: 14px 16px;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--text-dark);
  background: var(--gray-100);
}
.edit-date-input:focus {
  outline: none;
  border-color: rgba(102, 148, 255, 0.65);
  box-shadow: 0 0 0 3px rgba(102, 148, 255, 0.15);
  background: #fff;
}
.edit-date-input:disabled {
  opacity: 0.6;
}
.edit-pastor-list-add-row {
  display: flex;
  gap: 10px;
  align-items: stretch;
  margin-bottom: 16px;
}
.edit-pastor-list-input {
  flex: 1;
  min-width: 0;
  box-sizing: border-box;
  padding: 12px 14px;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  font-size: 0.9375rem;
  color: var(--text-dark);
  background: #fff;
}
.edit-pastor-list-input:focus {
  outline: none;
  border-color: rgba(102, 148, 255, 0.65);
  box-shadow: 0 0 0 3px rgba(102, 148, 255, 0.15);
}
.edit-pastor-list-input:disabled {
  opacity: 0.6;
}
.edit-pastor-list-add-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 14px;
  border: none;
  border-radius: 12px;
  background: var(--secondary);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
.edit-pastor-list-add-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.edit-pastor-list-empty {
  margin: 0;
  padding: 14px;
  border-radius: 12px;
  background: var(--gray-100);
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.45;
}
.edit-pastor-list-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.edit-pastor-list-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  padding: 8px 10px 8px 14px;
  border-radius: 999px;
  background: rgba(102, 148, 255, 0.12);
  color: var(--text-dark);
  font-size: 0.875rem;
  line-height: 1.3;
}
.edit-pastor-list-chip-label {
  min-width: 0;
  word-break: break-word;
}
.edit-pastor-list-chip-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(102, 148, 255, 0.18);
  color: var(--secondary);
  cursor: pointer;
  flex-shrink: 0;
}
.edit-pastor-list-chip-remove:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.edit-address-current,
.edit-address-preview {
  margin-bottom: 16px;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid rgba(102, 148, 255, 0.25);
  background: rgba(102, 148, 255, 0.08);
}
.edit-address-section-title {
  margin: 0 0 8px;
  font-size: 0.875rem;
  font-weight: 650;
  color: var(--secondary);
}
.edit-address-current-value,
.edit-address-preview-value {
  margin: 0;
  color: var(--text-dark);
  font-size: 0.9375rem;
  line-height: 1.45;
  word-break: break-word;
}
.edit-address-search-label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.875rem;
  font-weight: 650;
  color: var(--text-dark);
}
.edit-address-search-input {
  width: 100%;
  box-sizing: border-box;
  padding: 14px 12px;
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  font: inherit;
  font-size: 0.9375rem;
  color: var(--text-dark);
  background: #fff;
}
.edit-address-search-input:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(102, 148, 255, 0.15);
}
.edit-address-meta {
  margin: 10px 0 0;
  color: var(--text-muted);
  font-size: 0.8125rem;
}
.edit-address-results {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.edit-address-result-item {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  background: #fff;
  text-align: left;
  cursor: pointer;
}
.edit-address-result-item:hover:not(:disabled) {
  border-color: rgba(102, 148, 255, 0.45);
  background: rgba(102, 148, 255, 0.05);
}
.edit-address-result-item:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.edit-address-result-icon {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: rgba(102, 148, 255, 0.12);
  color: var(--secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.edit-address-result-copy {
  min-width: 0;
  display: grid;
  gap: 2px;
}
.edit-address-result-main {
  font-size: 0.9375rem;
  font-weight: 650;
  color: var(--text-dark);
}
.edit-address-result-secondary {
  font-size: 0.8125rem;
  color: var(--text-muted);
}
.edit-field-input-block {
  display: grid;
  gap: 4px;
}
.edit-field-error {
  margin: 0 4px 12px;
  color: #c0392b;
  font-size: 0.9rem;
}
.edit-field-input {
  width: 100%;
  box-sizing: border-box;
  padding: 14px 12px;
  border-radius: 5px;
  border: 1px solid var(--gray-200);
  font-family: inherit;
  font-size: 1.125rem;
  font-weight: 300;
  line-height: 1.45;
  color: var(--text-dark);
  background-color: var(--gray-200);
  appearance: none;
  -webkit-appearance: none;
}
.edit-field-input::placeholder {
  color: var(--text-muted);
  font-weight: 300;
  opacity: 1;
}
.edit-field-input:focus {
  outline: none;
  border-color: var(--gray-400);
}
.edit-field-input:disabled {
  opacity: 0.72;
}
.edit-field-textarea {
  min-height: 168px;
  resize: vertical;
}
.edit-field-counter {
  margin: 0;
  text-align: right;
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 400;
}
.edit-field-phone-input-wrap {
  display: grid;
  gap: 4px;
}
.edit-field-phone-row {
  display: flex;
  align-items: stretch;
  gap: 8px;
}
.edit-field-phone-country-wrap {
  flex-shrink: 0;
}
.edit-field-phone-country-picker {
  position: relative;
}
.edit-field-phone-country-trigger,
.edit-field-phone-country-option {
  box-sizing: border-box;
  border: 1px solid var(--gray-200);
  background-color: var(--gray-200);
  color: var(--text-dark);
  font-family: inherit;
  cursor: pointer;
}
.edit-field-phone-country-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 52px;
  min-width: 7.5rem;
  max-width: 9.5rem;
  padding: 14px 10px;
  border-radius: 5px;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.45;
}
.edit-field-phone-country-trigger:focus {
  outline: none;
  border-color: var(--gray-400);
}
.edit-field-phone-country-trigger:disabled {
  opacity: 0.72;
  cursor: not-allowed;
}
.edit-field-phone-country-option-content {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.edit-field-phone-country-flag {
  display: block;
  width: 20px;
  height: 15px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: inset 0 0 0 1px rgba(38, 40, 77, 0.08);
  flex-shrink: 0;
}
.edit-field-phone-country-flag-fallback {
  display: inline-block;
  width: 20px;
  height: 15px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--gray-100) 0%, var(--gray-200) 100%);
  box-shadow: inset 0 0 0 1px rgba(38, 40, 77, 0.08);
  flex-shrink: 0;
}
.edit-field-phone-country-dial-code {
  font-variant-numeric: tabular-nums;
}
.edit-field-phone-country-trigger-caret {
  font-size: 0.75rem;
  line-height: 1;
  color: var(--text-muted);
}
.edit-field-phone-country-list {
  position: absolute;
  z-index: 20;
  top: calc(100% + 4px);
  left: 0;
  min-width: 100%;
  max-height: 240px;
  margin: 0;
  padding: 4px 0;
  overflow-y: auto;
  list-style: none;
  border: 1px solid var(--gray-200);
  border-radius: 5px;
  background-color: #fff;
  box-shadow: 0 8px 24px rgba(38, 40, 77, 0.12);
}
.edit-field-phone-country-option {
  display: block;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-radius: 0;
  background: transparent;
  text-align: left;
  font-size: 1rem;
  line-height: 1.45;
}
.edit-field-phone-country-option:hover,
.edit-field-phone-country-option.is-selected {
  background-color: var(--gray-100);
}
.edit-field-phone-number-input {
  flex: 1;
  min-width: 0;
}
.edit-field-phone-counter {
  margin-top: 0;
}
.edit-field-link-input-wrap {
  display: grid;
  gap: 4px;
}
.edit-field-link-mask {
  display: flex;
  align-items: stretch;
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--gray-200);
  border-radius: 5px;
  background-color: var(--gray-200);
  overflow: hidden;
}
.edit-field-link-mask:focus-within {
  border-color: var(--gray-400);
}
.edit-field-link-mask-prefix {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  padding: 14px 0 14px 12px;
  font-family: inherit;
  font-size: 1.125rem;
  font-weight: 300;
  line-height: 1.45;
  color: var(--text-muted);
  white-space: nowrap;
  user-select: none;
  pointer-events: none;
}
.edit-field-link-mask-input {
  flex: 1;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
  padding: 14px 12px 14px 2px;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 1.125rem;
  font-weight: 300;
  line-height: 1.45;
  color: var(--text-dark);
  appearance: none;
  -webkit-appearance: none;
}
.edit-field-link-mask-input::placeholder {
  color: var(--text-muted);
  font-weight: 300;
  opacity: 1;
}
.edit-field-link-mask-input:focus {
  outline: none;
}
.edit-field-link-mask-input:disabled {
  opacity: 0.72;
}
.edit-field-link-counter {
  margin-top: 0;
}
.edit-field-validating-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 4px 12px;
  padding: 12px 14px;
  border-radius: 8px;
  background: rgba(102, 148, 255, 0.1);
  color: var(--secondary);
  font-size: 0.95rem;
  font-weight: 500;
}
.edit-field-validating-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(102, 148, 255, 0.25);
  border-top-color: var(--secondary);
  border-radius: 50%;
  animation: edit-field-spin 0.8s linear infinite;
  flex-shrink: 0;
}
.edit-field-validating-spinner--button {
  width: 16px;
  height: 16px;
  border-width: 2px;
}
.edit-field-save-loading {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.edit-field-content-saving {
  opacity: 0.72;
  pointer-events: none;
}
@keyframes edit-field-spin {
  to {
    transform: rotate(360deg);
  }
}
.edit-field-error-page {
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.edit-field-error-card {
  width: 100%;
  max-width: 420px;
  display: grid;
  gap: 12px;
}
.edit-field-error-title {
  margin: 0;
  font-size: 1.15rem;
  color: var(--text-dark);
}
.edit-field-error-message {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.5;
}
.edit-field-error-detail {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  opacity: 0.85;
}
@media (min-width: 1024px) {
  .edit-field-appbar {
    display: none;
  }
  .edit-field-main {
    align-items: center;
    padding: 3rem 2rem 4rem;
  }
  .edit-field-main--centered {
    padding: 3rem 2rem 4rem;
  }
  .edit-field-body {
    max-width: 520px;
    padding: 0;
    margin: 0;
  }
  .edit-field-desktop-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 1.5rem;
    padding: 0;
    border: none;
    background: transparent;
    color: var(--secondary);
    font-family: var(--mg-font-family);
    font-size: var(--mg-body-base-size);
    font-weight: 600;
    line-height: 1.4;
    cursor: pointer;
  }
  .edit-field-desktop-back:hover:not(:disabled) {
    text-decoration: underline;
    text-underline-offset: 3px;
  }
  .edit-field-desktop-back:disabled {
    opacity: 0.6;
    cursor: not-allowed;
  }
  .edit-field-intro {
    padding: 0 0 1.5rem;
  }
  .edit-field-title {
    margin-bottom: 0.75rem;
    font-size: var(--mg-h1-size);
    font-weight: var(--mg-h1-weight, 800);
    color: var(--primary);
  }
  .edit-field-subtitle {
    font-size: var(--mg-body-base-size);
    color: var(--text-muted);
  }
  .edit-field-content {
    padding: 0;
  }
  .edit-field-footer {
    margin-top: 2rem;
    padding: 0;
  }
  .edit-field-action-btn {
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
    min-width: 120px;
  }
  .edit-field-textarea {
    min-height: 200px;
  }
  .edit-field-validating-banner {
    margin-left: 0;
    margin-right: 0;
  }
  .edit-field-error {
    margin-left: 0;
    margin-right: 0;
  }
}
@property --tw-rotate-x {
  syntax: "*";
  inherits: false;
}
@property --tw-rotate-y {
  syntax: "*";
  inherits: false;
}
@property --tw-rotate-z {
  syntax: "*";
  inherits: false;
}
@property --tw-skew-x {
  syntax: "*";
  inherits: false;
}
@property --tw-skew-y {
  syntax: "*";
  inherits: false;
}
@property --tw-border-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}
@property --tw-ordinal {
  syntax: "*";
  inherits: false;
}
@property --tw-slashed-zero {
  syntax: "*";
  inherits: false;
}
@property --tw-numeric-figure {
  syntax: "*";
  inherits: false;
}
@property --tw-numeric-spacing {
  syntax: "*";
  inherits: false;
}
@property --tw-numeric-fraction {
  syntax: "*";
  inherits: false;
}
@property --tw-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-shadow-color {
  syntax: "*";
  inherits: false;
}
@property --tw-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}
@property --tw-inset-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-inset-shadow-color {
  syntax: "*";
  inherits: false;
}
@property --tw-inset-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}
@property --tw-ring-color {
  syntax: "*";
  inherits: false;
}
@property --tw-ring-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-inset-ring-color {
  syntax: "*";
  inherits: false;
}
@property --tw-inset-ring-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-ring-inset {
  syntax: "*";
  inherits: false;
}
@property --tw-ring-offset-width {
  syntax: "<length>";
  inherits: false;
  initial-value: 0px;
}
@property --tw-ring-offset-color {
  syntax: "*";
  inherits: false;
  initial-value: #fff;
}
@property --tw-ring-offset-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-outline-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}
@property --tw-ease {
  syntax: "*";
  inherits: false;
}
@layer properties {
  @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
    *, ::before, ::after, ::backdrop {
      --tw-rotate-x: initial;
      --tw-rotate-y: initial;
      --tw-rotate-z: initial;
      --tw-skew-x: initial;
      --tw-skew-y: initial;
      --tw-border-style: solid;
      --tw-ordinal: initial;
      --tw-slashed-zero: initial;
      --tw-numeric-figure: initial;
      --tw-numeric-spacing: initial;
      --tw-numeric-fraction: initial;
      --tw-shadow: 0 0 #0000;
      --tw-shadow-color: initial;
      --tw-shadow-alpha: 100%;
      --tw-inset-shadow: 0 0 #0000;
      --tw-inset-shadow-color: initial;
      --tw-inset-shadow-alpha: 100%;
      --tw-ring-color: initial;
      --tw-ring-shadow: 0 0 #0000;
      --tw-inset-ring-color: initial;
      --tw-inset-ring-shadow: 0 0 #0000;
      --tw-ring-inset: initial;
      --tw-ring-offset-width: 0px;
      --tw-ring-offset-color: #fff;
      --tw-ring-offset-shadow: 0 0 #0000;
      --tw-outline-style: solid;
      --tw-ease: initial;
    }
  }
}

