:root {
  --bg: #f2f2f7;
  --card: #ffffff;
  --fill: rgba(118, 118, 128, 0.12);
  --fill-2: rgba(118, 118, 128, 0.2);
  --label: #000000;
  --label-2: rgba(60, 60, 67, 0.6);
  --label-3: rgba(60, 60, 67, 0.3);
  --separator: rgba(60, 60, 67, 0.18);
  --blue: #007aff;
  --green: #34c759;
  --orange: #ff9500;
  --red: #ff3b30;
  --menu: rgba(250, 250, 252, 0.92);
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 24px rgba(0, 0, 0, 0.04);
  --radius: 14px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI Variable", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "SF Mono", ui-monospace, "Cascadia Mono", Consolas, Menlo, monospace;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --card: #1c1c1e;
    --fill: rgba(118, 118, 128, 0.24);
    --fill-2: rgba(118, 118, 128, 0.36);
    --label: #ffffff;
    --label-2: rgba(235, 235, 245, 0.6);
    --label-3: rgba(235, 235, 245, 0.3);
    --separator: rgba(84, 84, 88, 0.6);
    --blue: #0a84ff;
    --green: #30d158;
    --orange: #ff9f0a;
    --red: #ff453a;
    --menu: rgba(44, 44, 46, 0.94);
    --shadow: none;
  }
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }

html, body { margin: 0; height: 100%; }
body {
  background: var(--bg);
  color: var(--label);
  font: 16px/1.35 var(--font);
  -webkit-font-smoothing: antialiased;
}
/* Ambient color across public pages, drawn in CSS so it adds no image download. */
body.home, body.doc {
  --card: rgba(255, 255, 255, .68);
  --glass-edge: rgba(255, 255, 255, .8);
  --glass-shadow: 0 18px 46px rgba(30, 74, 130, .1), inset 0 1px 0 rgba(255, 255, 255, .65);
  background-color: #edf3fc;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  background-image:
    radial-gradient(ellipse 70% 58% at 4% 4%, rgba(69, 147, 255, .24), transparent 72%),
    radial-gradient(ellipse 56% 55% at 96% 9%, rgba(38, 197, 170, .19), transparent 73%),
    radial-gradient(ellipse 62% 48% at 68% 94%, rgba(112, 103, 229, .13), transparent 78%),
    linear-gradient(145deg, #f3f8ff, #f6f7fd 52%, #eef8fa);
}
body.home { height: auto; min-height: 100vh; min-height: 100dvh; }
body.home :is(.card, .seo-section), body.doc :is(.card, .doc-main section) {
  background: linear-gradient(140deg, rgba(255, 255, 255, .1), transparent 48%), var(--card);
  border: 1px solid var(--glass-edge);
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
}
@media (prefers-color-scheme: dark) {
  body.home, body.doc {
    --bg: #091321;
    --card: rgba(25, 40, 59, .72);
    --glass-edge: rgba(168, 211, 255, .19);
    --glass-shadow: 0 22px 58px rgba(0, 5, 16, .29), inset 0 1px 0 rgba(255, 255, 255, .07);
    --fill: rgba(151, 184, 225, .14);
    --fill-2: rgba(151, 184, 225, .24);
    --separator: rgba(167, 195, 229, .19);
    background-color: #091321;
    background-image:
      radial-gradient(ellipse 58% 63% at 6% 0%, rgba(23, 110, 198, .32), transparent 76%),
      radial-gradient(ellipse 50% 58% at 97% 18%, rgba(11, 148, 140, .23), transparent 75%),
      radial-gradient(ellipse 58% 56% at 74% 98%, rgba(68, 77, 184, .2), transparent 76%),
      linear-gradient(145deg, #0b1929 0%, #0c1423 55%, #101b2a 100%);
  }
  body.home .inbox {
    background:
      linear-gradient(140deg, rgba(190, 223, 255, .11), transparent 40%),
      linear-gradient(160deg, rgba(33, 54, 78, .76), rgba(20, 35, 55, .69));
  }
}
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

/* ---- App shell ----
   Phones/tablets: at least one screen tall, and grows (page scrolls) when the
   visible height is smaller than the content, so nothing is ever cut off.
   Desktop: exactly one screen, only the inbox list scrolls. */
.app {
  min-height: 100vh; min-height: 100dvh;
  display: flex; flex-direction: column;
  max-width: 1100px; margin: 0 auto;
  padding:
    calc(100px + env(safe-area-inset-top))
    max(14px, env(safe-area-inset-right))
    max(14px, env(safe-area-inset-bottom))
    max(14px, env(safe-area-inset-left));
}

.navbar {
  position: fixed;
  z-index: 50;
  top: calc(14px + env(safe-area-inset-top));
  left: 50%;
  transform: translateX(-50%);
  width: min(820px, calc(100% - 32px));
  height: 64px;
  padding: 7px 8px 7px 9px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--glass-edge);
  border-radius: 999px;
  background: linear-gradient(110deg, rgba(255, 255, 255, .28), transparent 52%, rgba(43, 181, 196, .08)), rgba(255, 255, 255, .74);
  box-shadow: 0 22px 54px rgba(31, 91, 162, .16), 0 4px 14px rgba(20, 60, 110, .08), inset 0 1px 0 rgba(255, 255, 255, .82);
  backdrop-filter: blur(28px) saturate(1.55);
  -webkit-backdrop-filter: blur(28px) saturate(1.55);
}
.brand { display: flex; align-items: center; gap: 9px; min-width: 0; color: var(--label); text-decoration: none; }
.logo {
  width: 46px; height: 46px; flex: none;
  display: grid; place-items: center;
  filter: drop-shadow(0 3px 5px rgba(0, 122, 255, .14));
}
.logo img { display: block; width: 43px; height: 43px; object-fit: contain; }
.brand-copy { display: flex; flex-direction: column; justify-content: center; min-width: 0; gap: 5px; line-height: 1; }
.nav-title {
  display: inline-block;
  align-self: flex-start;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1;
  white-space: nowrap;
  color: #fff;
  text-shadow: 0 1px 3px rgba(9, 30, 52, .3);
}
.brand-word {
  display: inline-block;
  font-weight: 800;
  letter-spacing: inherit;
  color: inherit;
}
.brand-prefix { font-weight: 800; }
.brand-name { color: inherit; font-weight: 900; }
.brand-dot { color: inherit; font-size: 1.3em; }
.brand-domain { color: inherit; font-size: .9em; font-weight: 750; letter-spacing: -.03em; }
.brand-tagline { display: block; font-size: 8px; font-weight: 600; letter-spacing: .24em; color: var(--label-2); white-space: nowrap; }
.navbar-actions { display: flex; align-items: center; gap: 6px; flex: none; }
.navbar-actions a { text-decoration: none; font-size: 14px; font-weight: 650; }
.nav-blog { color: var(--label-2); padding: 10px 14px; border-radius: 999px; transition: background .2s, color .2s; }
.nav-blog:hover { color: var(--label); background: var(--fill); }
.nav-reviews { color: var(--label-2); padding: 10px 14px; border-radius: 999px; }
.nav-reviews:hover { color: var(--label); background: var(--fill); }
.nav-login {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  min-height: 46px; padding: 0 18px; border-radius: 999px;
  color: var(--label);
  border: 1px solid rgba(255, 255, 255, .8);
  background: rgba(255, 255, 255, .48);
  box-shadow: 0 3px 10px rgba(28, 77, 132, .09), inset 0 1px 0 rgba(255, 255, 255, .75);
  transition: transform .2s, background .2s;
}
.nav-login:hover { transform: translateY(-1px); background: rgba(255, 255, 255, .72); }
.nav-login:active { transform: translateY(0); }
.nav-login svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.navbar a:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.mobile-nav-trigger { display: none; }
.mobile-nav-backdrop[hidden], .mobile-nav-sheet[hidden] { display: none !important; }
@media (max-width: 600px) {
  body:not(.admin) .navbar { width: calc(100% - 20px); height: 58px; padding: 6px 7px; gap: 7px; }
  body:not(.admin) .navbar .brand { flex: 1; gap: 7px; }
  body:not(.admin) .navbar .logo { width: 36px; height: 40px; }
  body:not(.admin) .navbar .logo img { width: 36px; height: 36px; }
  body:not(.admin) .navbar .nav-title { font-size: 16px; }
  body:not(.admin) .navbar .brand-copy { gap: 5px; }
  body:not(.admin) .navbar .brand-tagline { font-size: 7px; letter-spacing: .21em; }
  body:not(.admin) .navbar .brand-tagline { display: block; }
  body:not(.admin) .navbar-actions > .nav-blog,
  body:not(.admin) .navbar-actions > .nav-reviews { display: none; }
  body:not(.admin) .navbar-actions .nav-login { min-height: 38px; padding: 0 12px; font-size: 13px; }
  .mobile-nav-trigger { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 50%; color: var(--label); background: var(--fill); border: 1px solid var(--separator); }
  .mobile-nav-trigger svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
  .mobile-nav-trigger:hover, .mobile-nav-trigger[aria-expanded="true"] { background: var(--fill-2); }
  .mobile-nav-trigger:focus-visible, .mobile-nav-sheet a:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
  .mobile-nav-backdrop { position: fixed; z-index: 49; inset: 0; background: rgba(3, 12, 29, .36); }
  .mobile-nav-sheet { position: absolute; top: calc(100% + 10px); right: 0; width: min(320px, calc(100vw - 20px)); padding: 12px; display: grid; gap: 3px; border: 1px solid var(--glass-edge); border-radius: 22px; background: rgba(245, 249, 255, .97); box-shadow: 0 24px 60px rgba(0, 10, 30, .28); backdrop-filter: blur(30px) saturate(1.35); -webkit-backdrop-filter: blur(30px) saturate(1.35); }
  .mobile-nav-heading { display: grid; gap: 1px; padding: 7px 11px 10px; border-bottom: 1px solid var(--separator); margin-bottom: 4px; }
  .mobile-nav-heading span { font-size: 15px; font-weight: 750; color: var(--label); }
  .mobile-nav-heading small { font-size: 12px; color: var(--label-2); }
  .mobile-nav-sheet a { display: flex; justify-content: space-between; align-items: center; min-height: 42px; padding: 9px 12px; border-radius: 12px; color: var(--label); text-decoration: none; font-size: 14px; font-weight: 650; }
  .mobile-nav-sheet a span { color: var(--label-2); }
  .mobile-nav-sheet a:hover, .mobile-nav-sheet a[aria-current="page"] { color: var(--blue); background: var(--fill); }
  .mobile-nav-contact summary { display: flex; align-items: center; justify-content: space-between; min-height: 44px; padding: 9px 12px; border-radius: 12px; cursor: pointer; list-style: none; font-size: 14px; font-weight: 650; }
  .mobile-nav-contact summary::-webkit-details-marker { display: none; }
  .mobile-nav-contact summary span { color: var(--label-2); font-size: 20px; }
  .mobile-nav-contact[open] summary span { transform: rotate(45deg); }
  .mobile-nav-contact summary:hover { background: var(--fill); }
  .mobile-nav-contact summary:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
  .mobile-nav-contact-options { display: grid; gap: 3px; margin: 3px 4px 5px 12px; padding-left: 8px; border-left: 1px solid var(--separator); }
  .mobile-nav-contact-options a { justify-content: flex-start; gap: 10px; }
  .mobile-nav-sheet { max-height: calc(100dvh - 100px - env(safe-area-inset-top)); overflow-y: auto; overscroll-behavior: contain; }
}
@media (max-width: 600px) and (prefers-color-scheme: dark) {
  .mobile-nav-sheet { background: rgba(18, 34, 54, .97); }
}
@media (max-width: 360px) {
  body:not(.admin) .navbar .nav-title { font-size: 14px; }
}
@media (prefers-color-scheme: dark) {
  .navbar {
    background: linear-gradient(110deg, rgba(154, 203, 252, .1), transparent 52%, rgba(51, 196, 187, .1)), rgba(18, 35, 55, .78);
    box-shadow: 0 22px 54px rgba(0, 4, 16, .42), 0 0 34px rgba(33, 138, 215, .1), inset 0 1px 0 rgba(255, 255, 255, .13);
  }
  .nav-login {
    border-color: rgba(194, 225, 255, .22);
    background: rgba(255, 255, 255, .09);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12);
  }
  .nav-login:hover { background: rgba(255, 255, 255, .16); }
}
@media (max-width: 380px) {
  .navbar { padding-left: 7px; gap: 6px; }
  .nav-title { font-size: 16px; }
  .brand-tagline { display: none; }
  .logo { width: 40px; height: 40px; }
  .logo img { width: 31px; height: 31px; }
  .nav-blog { display: none; }
  .nav-reviews { padding: 8px; font-size: 12px !important; }
  .nav-login { min-height: 42px; padding: 0 13px; }
}
.review-prompt { color: var(--blue); font-size: 12px; font-weight: 700; text-decoration: none; white-space: nowrap; padding: 6px 8px; border-radius: 20px; background: var(--fill); }
@media (max-width: 600px) { .inbox-head:has(.review-prompt:not([hidden])) { flex-wrap: wrap; } .inbox-head:has(.review-prompt:not([hidden])) .toolbar { margin-left: auto; } }
.back-to-top { position: fixed; z-index: 45; right: 20px; bottom: 22px; width: 48px; height: 48px; border-radius: 50%; background: var(--blue); color: white; box-shadow: 0 8px 28px rgba(0, 122, 255, .35); font-size: 27px; line-height: 1; }
.back-to-top:focus-visible, .review-prompt:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.review-list { display: grid; gap: 14px; margin: 22px 0; }
.review-list-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 24px; }
.review-list-heading h2 { margin: 0; font-size: 20px; }
.review-list-heading span { color: var(--label-2); font-size: 13px; white-space: nowrap; }
.public-review-pager { display: flex; align-items: center; justify-content: center; gap: 18px; margin: 0 0 24px; }
.public-review-pager[hidden] { display: none; }
.public-review-pager button { min-width: 84px; padding: 10px 14px; border: 1px solid var(--separator); border-radius: 11px; background: var(--card); font-weight: 700; }
.public-review-pager button:hover:not(:disabled) { background: var(--fill-2); }
.public-review-pager button:disabled { opacity: .4; cursor: default; }
.public-review-pager span { color: var(--label-2); font-size: 13px; }
.review-card { padding: 18px; }
.review-card p { white-space: pre-wrap; overflow-wrap: anywhere; }
.review-stars { color: var(--orange); font-size: 20px; letter-spacing: 2px; }
.review-form { display: grid; gap: 14px; padding: 20px; }
.review-form label { display: grid; gap: 6px; }
.review-form select, .review-form textarea { width: 100%; border: 1px solid var(--separator); background: var(--card); color: var(--label); border-radius: 10px; padding: 12px; font: inherit; }
.mail-review-btn { flex: none; color: var(--blue); font-size: 12px; font-weight: 700; padding: 5px 7px; border-radius: 8px; background: var(--fill); }
.mail-review-btn:disabled { color: var(--label-2); opacity: .65; }
.mail-review-btn:hover:not(:disabled) { background: var(--fill-2); }
#mailReviewSheet .review-form { background: transparent; box-shadow: none; padding-top: 8px; }
#mailReviewSheet .review-form > p:first-child { margin: 0; color: var(--label-2); font-size: 13px; }
.reviews-hero { position: relative; overflow: hidden; margin: 8px 0 24px; padding: 36px 32px; border-radius: 28px; border: 1px solid color-mix(in srgb, var(--blue) 30%, var(--separator)); background: linear-gradient(130deg, color-mix(in srgb, var(--blue) 18%, var(--card)), var(--card) 68%); box-shadow: var(--glass-shadow, var(--shadow)); }
.reviews-hero::after { content: ''; position: absolute; width: 260px; height: 260px; right: -80px; top: -130px; border-radius: 50%; background: color-mix(in srgb, var(--blue) 20%, transparent); filter: blur(40px); pointer-events: none; }
.reviews-eyebrow { display: inline-block; color: var(--blue); font-size: 11px; font-weight: 850; letter-spacing: .13em; }
.reviews-hero-stars { margin: 16px 0 4px; color: var(--orange); font-size: 26px; letter-spacing: 5px; text-shadow: 0 5px 18px color-mix(in srgb, var(--orange) 35%, transparent); }
.reviews-hero h1 { position: relative; margin: 0 0 9px; max-width: 600px; font-size: clamp(30px, 5vw, 44px); line-height: 1.08; letter-spacing: -.04em; }
.reviews-hero p { position: relative; max-width: 570px; margin: 0; color: var(--label-2); line-height: 1.5; }
.doc-main .review-section { padding: 24px; border: 1px solid var(--glass-edge, var(--separator)); border-radius: 24px; }
.review-section h2 { margin: 5px 0 7px !important; font-size: 24px !important; }
.review-section > p { color: var(--label-2); line-height: 1.5; }
.review-section .review-form { margin-top: 16px; border: 1px solid var(--separator); border-radius: 18px; background: color-mix(in srgb, var(--card) 70%, var(--fill)); box-shadow: none; }
.rating-stars { padding: 0; margin: 0; border: 0; min-width: 0; }
.rating-stars legend { padding: 0; margin-bottom: 7px; color: var(--label); font-size: 14px; font-weight: 700; }
.rating-options { display: flex; align-items: center; gap: 3px; }
.rating-options label { position: relative; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 12px; cursor: pointer; transition: transform .15s, background .15s; }
.rating-options label:hover { background: color-mix(in srgb, var(--orange) 11%, transparent); transform: translateY(-2px); }
.rating-options label:focus-within { outline: 2px solid var(--blue); outline-offset: 1px; }
.rating-options input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rating-options span { color: var(--label-3); font-size: 39px; line-height: 1; transition: color .15s, transform .15s; }
.rating-options label.selected span { color: var(--orange); text-shadow: 0 4px 12px color-mix(in srgb, var(--orange) 28%, transparent); }
.rating-caption { display: block; margin-top: 5px; color: var(--label-2); font-size: 12px; }
.review-form textarea { min-height: 140px; resize: vertical; }
.review-form .btn { min-height: 50px; border-radius: 12px; font-weight: 700; }
.review-card { border: 1px solid var(--glass-edge, var(--separator)); border-radius: 18px; }
@media (max-width: 600px) { .reviews-hero { padding: 28px 22px; } .doc-main .review-section { padding: 18px; } .rating-options label { width: 43px; height: 46px; } .rating-options span { font-size: 34px; } }
/* Reviews fit beside the form on desktop; long entries expand only when opened. */
body.doc:has(.reviews-main) { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
.reviews-main { max-width: 1200px; padding: 8px 20px 24px; }
body.doc .reviews-main { flex: 1 0 auto; width: 100%; }
body.doc:has(.reviews-main) .doc-footer { margin-top: 20px; }
.reviews-main .reviews-hero { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3px 20px; margin: 0 0 14px; padding: 18px 24px; border-radius: 22px; }
.reviews-main .reviews-hero-stars { grid-column: 2; grid-row: 1 / 4; align-self: center; margin: 0; font-size: 25px; }
.reviews-main .reviews-hero h1 { grid-column: 1; grid-row: 2; margin: 0; font-size: clamp(26px, 3vw, 32px); }
.reviews-main .reviews-hero p { grid-column: 1; grid-row: 3; font-size: 14px; }
.reviews-workspace { display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, 410px); gap: 16px; align-items: start; }
.reviews-workspace:has(.review-section[hidden]) { grid-template-columns: 1fr; }
.reviews-board { display: flex; flex-direction: column; min-height: 456px; padding: 17px; border: 1px solid var(--glass-edge, var(--separator)); border-radius: 22px; background: var(--card); box-shadow: var(--glass-shadow, var(--shadow)); }
.reviews-main .review-list-heading { align-items: center; margin: 0 0 12px; }
.reviews-main .review-list-heading h2 { font-size: 19px; }
.reviews-main .review-list { display: grid; align-content: start; gap: 6px; flex: 1; margin: 0; }
.reviews-main .review-card { padding: 0; overflow: hidden; border-radius: 12px; box-shadow: none; }
.reviews-main .review-card summary { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 8px; min-height: 49px; padding: 7px 11px; cursor: pointer; list-style: none; }
.reviews-main .review-card summary::-webkit-details-marker { display: none; }
.reviews-main .review-card summary:hover { background: var(--fill); }
.reviews-main .review-card summary:focus-visible { outline: 3px solid var(--blue); outline-offset: -3px; }
.review-card-byline { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.review-card-byline strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
.reviews-main .review-card .review-stars { font-size: 13px; letter-spacing: 1px; white-space: nowrap; }
.reviews-main .review-card time { color: var(--label-2); font-size: 11px; white-space: nowrap; }
.review-preview { grid-column: 1 / -1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--label-2); font-size: 12px; }
.review-card[open] .review-preview { display: none; }
.reviews-main .review-card p { margin: 0; padding: 3px 11px 12px; font-size: 13px; line-height: 1.45; }
.review-empty { align-self: center; justify-self: center; text-align: center; margin: auto; padding: 28px; }
.review-empty .review-stars { display: block; margin-bottom: 10px; }
.review-empty strong { display: block; font-size: 17px; }
.review-empty p { margin: 5px 0 0; color: var(--label-2); font-size: 13px; }
.reviews-main .public-review-pager { margin: 12px 0 0; }
.reviews-main .review-section { padding: 18px; border-radius: 22px; }
.reviews-main .review-section h2 { font-size: 22px !important; }
.reviews-main .review-section > p { margin: 6px 0 0; font-size: 13px; line-height: 1.4; }
.reviews-main .review-section .review-form { gap: 10px; margin-top: 12px; padding: 14px; }
.reviews-main .rating-options label { width: 42px; height: 40px; }
.reviews-main .rating-options span { font-size: 32px; }
.reviews-main .review-form textarea { min-height: 94px; padding: 10px; font-size: 14px; }
.reviews-main .review-form .btn { min-height: 42px; }
.reviews-main .rating-caption { margin-top: 2px; }
.review-toast { position: fixed; z-index: 80; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); transform: translateX(-50%); width: max-content; max-width: calc(100% - 32px); padding: 12px 18px; border-radius: 14px; background: var(--menu); color: var(--label); border: 1px solid var(--separator); box-shadow: 0 16px 42px rgba(0, 10, 30, .25); backdrop-filter: blur(24px); font-size: 14px; font-weight: 700; text-align: center; }
@media (max-width: 850px) {
  .reviews-workspace { grid-template-columns: 1fr; }
  .reviews-board { min-height: 0; }
  .reviews-board:has(.review-empty) { min-height: 150px; }
}
@media (max-width: 600px) {
  .reviews-main { padding: 4px 14px 20px; }
  .reviews-main .reviews-hero { grid-template-columns: 1fr; padding: 18px; }
  .reviews-main .reviews-hero-stars { grid-column: 1; grid-row: 2; justify-self: start; font-size: 17px; letter-spacing: 1px; }
  .reviews-main .reviews-hero h1 { grid-column: 1; grid-row: 3; font-size: 24px; }
  .reviews-main .reviews-hero p { grid-column: 1; grid-row: 4; }
  .reviews-main .review-section { padding: 16px; }
  .reviews-board { padding: 14px; }
}
.badge {
  font-size: 11px; font-weight: 600; color: var(--orange);
  background: color-mix(in srgb, var(--orange) 15%, transparent);
  padding: 2px 8px; border-radius: 99px;
}
.icon-btn {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: var(--blue);
}
.icon-btn:hover { background: color-mix(in srgb, var(--fill) 60%, transparent); }
.icon-btn:active { background: var(--fill); }
.icon-btn.danger { color: var(--red); }
.icon-btn svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }

.layout {
  flex: 1; min-height: 0;
  display: flex; flex-direction: column; gap: 12px;
}
.side { flex: none; display: flex; flex-direction: column; gap: 12px; }
.desktop-only { display: none; }

@media (min-width: 860px) {
  .app { height: 100vh; height: 100dvh; min-height: 540px; padding-bottom: 20px; }
  .layout { display: grid; grid-template-columns: minmax(320px, 400px) 1fr; gap: 20px; }
  .desktop-only { display: block; }
  .phone-only { display: none; }
}

.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); }

/* ---- Address card ---- */
.address-card { padding: 14px; }
.address-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.eyebrow { font-size: 13px; color: var(--label-2); font-weight: 500; }
.timer {
  font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums;
  color: var(--label-2); background: var(--fill); padding: 3px 10px; border-radius: 99px;
}
.timer.warn { color: var(--red); background: color-mix(in srgb, var(--red) 14%, transparent); }

.address {
  display: flex; align-items: center; justify-content: center; gap: 9px; width: 100%; text-align: center;
  background: var(--fill); border-radius: 12px; padding: 12px 10px;
  font-family: var(--mono); font-size: clamp(11px, 3.4vw, 16px); font-weight: 500;
  overflow-wrap: anywhere; transition: transform .15s, background .2s;
}
.address-ic { flex: none; display: grid; place-items: center; color: var(--blue); }
.address-ic svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
#addressText { min-width: 0; }
@media (max-width: 360px) {
  .address { gap: 7px; padding: 12px 8px; font-size: 10.5px; }
  .address-ic svg { width: 17px; height: 17px; }
}
.address:active { transform: scale(.98); background: var(--fill-2); }
.address.loading { color: var(--label-3); }

.actions { display: grid; grid-template-columns: 44px 1fr 1fr; gap: 10px; margin-top: 10px; }
.btn {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  height: 44px; border-radius: 12px; font-weight: 600; font-size: 16px;
  background: var(--fill); color: var(--blue);
  transition: transform .15s, opacity .15s;
}
.btn:active { transform: scale(.97); opacity: .8; }
.btn svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-danger { color: var(--red); background: color-mix(in srgb, var(--red) 14%, transparent); padding: 0; }

/* ---- Tips ---- */
.tips { padding: 4px 0; }
.tip { display: flex; gap: 12px; align-items: flex-start; padding: 10px 14px; font-size: 14px; color: var(--label-2); position: relative; }
.tip + .tip::before { content: ""; position: absolute; top: 0; right: 0; left: 50px; border-top: 0.5px solid var(--separator); }
.dot-ic {
  flex: none; width: 24px; height: 24px; border-radius: 7px; color: #fff;
  font-size: 13px; font-weight: 700; display: grid; place-items: center;
}
.dot-ic.blue { background: var(--blue); }
.dot-ic.green { background: var(--green); }
.dot-ic.orange { background: var(--orange); }

.feedback-actions { display: grid; grid-template-columns: repeat(3, 1fr); padding: 7px; gap: 5px; }
@media (max-width: 600px) { .home .feedback-actions { display: none; } }
.feedback-actions button { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; border-radius: 11px; color: var(--label); font-size: 13px; font-weight: 650; }
.feedback-actions button:hover { background: var(--fill); }
.feedback-actions button:focus-visible { outline: 2px solid var(--blue); outline-offset: -2px; }
.feedback-icon { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; font-size: 14px; font-weight: 800; }
.feedback-icon.report { color: var(--red); background: color-mix(in srgb, var(--red) 14%, transparent); }
.feedback-icon.idea { color: var(--orange); background: color-mix(in srgb, var(--orange) 14%, transparent); }
.feedback-icon.support { color: var(--blue); background: color-mix(in srgb, var(--blue) 14%, transparent); }
.feedback-form { gap: 10px; }
.feedback-form p, .support-body p { margin: 4px 0 8px; color: var(--label-2); font-size: 14px; }
.feedback-form label { font-size: 13px; font-weight: 700; }
.feedback-form textarea { width: 100%; min-height: 145px; resize: vertical; border: 1px solid var(--separator); border-radius: 12px; background: var(--card); color: var(--label); padding: 12px; font: 15px/1.45 var(--font); }
.feedback-form textarea:focus { outline: 2px solid var(--blue); outline-offset: 1px; }
.feedback-count { align-self: flex-end; color: var(--label-2); font-size: 12px; }
.feedback-error { color: var(--red); font-size: 13px; }
.feedback-form .btn { min-height: 46px; }
.support-body { gap: 10px; }
.support-link { display: flex; flex-direction: column; gap: 3px; padding: 13px 14px; background: var(--card); border: 1px solid var(--separator); border-radius: 12px; color: var(--label); text-decoration: none; overflow-wrap: anywhere; }
.support-link span { color: var(--label-2); font-size: 12px; }
.support-link b { color: var(--blue); font-size: 15px; }
.support-note { font-size: 12px !important; }

.link { color: var(--blue); }
.link:active { opacity: .5; }

/* ---- Inbox (fills the remaining height, scrolls internally) ---- */
.inbox { flex: 1 0 auto; min-height: 220px; display: flex; flex-direction: column; overflow: hidden; }
@media (min-width: 860px) { .inbox { flex: 1; min-height: 0; } }
.inbox-head {
  flex: none; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 10px 10px 10px 16px;
}
.inbox-title { font-weight: 700; font-size: 17px; display: flex; align-items: center; gap: 8px; min-width: 0; }
.inbox-title .live { font-size: 12px; font-weight: 500; }
/* iOS Settings-style app icon in front of the title */
.inbox-icon { flex: none; display: grid; place-items: center; color: var(--blue); }
.inbox-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* iOS-style toolbar: one rounded group of icon buttons */
.toolbar { flex: none; display: flex; gap: 2px; padding: 3px; border-radius: 12px; background: var(--fill); }
.toolbar .icon-btn { width: 36px; height: 32px; border-radius: 9px; }
.toolbar .icon-btn svg { width: 20px; height: 20px; stroke-width: 2; }
.toolbar .icon-btn:hover { background: color-mix(in srgb, var(--card) 70%, transparent); }
.toolbar .icon-btn:active { background: var(--card); }

/* Public-inbox callout under the header: glowing blue card with a slow sheen */
.public-banner {
  flex: none; position: relative; overflow: hidden;
  display: flex; align-items: center; gap: 11px;
  margin: 0 12px 10px; padding: 9px 14px 9px 10px; border-radius: 14px;
  background:
    radial-gradient(140% 160% at 0% 50%, color-mix(in srgb, var(--blue) 26%, transparent), transparent 70%),
    color-mix(in srgb, var(--blue) 7%, var(--card));
  box-shadow: inset 0 0 0 0.5px color-mix(in srgb, var(--blue) 40%, transparent);
}
.public-banner::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, color-mix(in srgb, #fff 9%, transparent) 50%, transparent 65%);
  transform: translateX(-100%); animation: sheen 6s ease-in-out 1.5s infinite;
}
@keyframes sheen { 0%, 70% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
.pb-ic {
  flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  background: linear-gradient(180deg, #5ab0ff, var(--blue));
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--blue) 16%, transparent), 0 4px 12px color-mix(in srgb, var(--blue) 40%, transparent);
}
.pb-ic svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.pb-text { min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.pb-text b { font-size: 11.5px; font-weight: 800; letter-spacing: .05em; color: var(--blue); }
.pb-text span { font-size: 12px; color: var(--label-2); }
@media (max-width: 360px) { .pb-text b { font-size: 10.5px; letter-spacing: .03em; } .public-banner { gap: 9px; } }
.count {
  font-size: 12px; font-weight: 700; color: #fff; background: var(--blue);
  min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; display: grid; place-items: center;
}
.live { font-size: 13px; color: var(--label-2); display: flex; align-items: center; gap: 6px; }
.live i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); animation: pulse 2s infinite; }
.live.error { color: var(--red); }
.live.error i { background: var(--red); animation: none; }
@keyframes pulse { 50% { opacity: .3; } }

.inbox-scroll { flex: 1; min-height: 0; display: flex; flex-direction: column; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }

.messages { flex: none; }
.empty { flex: 1; min-height: 120px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px; text-align: center; }
.empty-title { font-weight: 600; margin-top: 14px; }
.empty-sub { color: var(--label-2); font-size: 14px; margin-top: 3px; }
.spinner {
  width: 26px; height: 26px;
  border: 3px solid var(--fill-2); border-top-color: var(--label-2); border-radius: 50%;
  animation: spin .9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.messages { list-style: none; margin: 0; padding: 0; }
.msg {
  display: flex; gap: 12px; padding: 11px 16px; position: relative; cursor: pointer;
}
.msg.new { animation: slideIn .35s cubic-bezier(.3,.7,.4,1); }
.msg:hover { background: color-mix(in srgb, var(--fill) 50%, transparent); }
.msg:active { background: var(--fill); }
.msg + .msg::before {
  content: ""; position: absolute; top: 0; right: 0; left: 68px;
  border-top: 0.5px solid var(--separator);
}
.msg.unread .msg-sender::before {
  content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 50%;
  background: var(--blue); margin-right: 6px; vertical-align: 1px;
}
@keyframes slideIn { from { opacity: 0; transform: translateY(-8px); } }

.avatar {
  flex: none; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; color: #fff; font-weight: 600; font-size: 17px;
}
.msg-main { flex: 1; min-width: 0; }
.msg-top { display: flex; align-items: baseline; gap: 8px; }
.msg-sender { flex: 1; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.msg-time { color: var(--label-2); font-size: 13px; flex: none; }
.msg-subj { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.msg-bottom { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
.msg-prev { flex: 1; min-width: 0; color: var(--label-2); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.code-pill {
  flex: none; display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-weight: 700; font-size: 15px; letter-spacing: .08em;
  color: var(--green); background: color-mix(in srgb, var(--green) 14%, transparent);
  padding: 4px 11px; border-radius: 99px;
}
.code-pill:active { transform: scale(.96); }
.code-pill svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.2; }

/* ---- Confirm alert ---- */
.alert-backdrop { position: fixed; inset: 0; z-index: 40; background: rgba(0,0,0,.4); animation: fade .2s; }
.alert {
  position: fixed; z-index: 41; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: min(290px, calc(100% - 48px)); border-radius: 14px; overflow: hidden; text-align: center;
  background: var(--menu);
  backdrop-filter: saturate(180%) blur(24px); -webkit-backdrop-filter: saturate(180%) blur(24px);
  box-shadow: 0 10px 40px rgba(0,0,0,.3);
  animation: alertIn .22s cubic-bezier(.3,.7,.4,1);
}
@keyframes alertIn { from { opacity: 0; transform: translate(-50%, -50%) scale(1.1); } }
.alert-body { padding: 18px 16px 16px; }
.alert-title { font-weight: 600; font-size: 17px; }
.alert-body p { margin: 4px 0 0; font-size: 13px; color: var(--label-2); }
.alert-actions { display: grid; grid-template-columns: 1fr 1fr; border-top: 0.5px solid var(--separator); }
.alert-actions button { height: 44px; font-size: 17px; color: var(--blue); }
.alert-actions button + button { border-left: 0.5px solid var(--separator); }
.alert-actions button:hover, .alert-actions button:active { background: var(--fill); }
.alert-actions .danger { color: var(--red); font-weight: 600; }

/* ---- Bottom sheet / modal ---- */
.sheet-backdrop { position: fixed; inset: 0; z-index: 20; background: rgba(0,0,0,.35); animation: fade .25s; }
@keyframes fade { from { opacity: 0; } }
.sheet {
  position: fixed; z-index: 21; left: 0; right: 0; bottom: 0;
  max-height: calc(100% - 44px - env(safe-area-inset-top));
  background: var(--bg); border-radius: 14px 14px 0 0;
  display: flex; flex-direction: column;
  animation: sheetUp .38s cubic-bezier(.3,.7,.3,1);
  box-shadow: 0 -8px 40px rgba(0,0,0,.15);
}
.sheet.tall { height: calc(100% - 44px - env(safe-area-inset-top)); }
@keyframes sheetUp { from { transform: translateY(100%); } }
.sheet.closing { animation: sheetDown .25s ease-in forwards; }
@keyframes sheetDown { to { transform: translateY(100%); } }
.sheet-grabber { width: 36px; height: 5px; border-radius: 3px; background: var(--label-3); margin: 6px auto 0; }
.sheet-header { display: flex; justify-content: space-between; align-items: center; padding: 6px 16px 4px; }
.sheet-title { font-weight: 600; }
.sheet-header .link { font-weight: 600; padding: 6px 0; }
.sheet-body {
  flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch;
  padding: 4px 16px calc(20px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column;
}
.sheet-body > * { flex-shrink: 0; } /* scroll instead of squashing cards */
@media (min-width: 768px) {
  .sheet {
    left: 50%; top: 50%; bottom: auto; right: auto;
    width: min(680px, calc(100% - 48px)); max-height: calc(100% - 64px);
    border-radius: 16px; transform: translate(-50%, -50%);
    animation: pop .3s cubic-bezier(.3,.7,.3,1);
  }
  .sheet.tall { height: min(820px, calc(100% - 64px)); }
  .sheet.small { width: min(440px, calc(100% - 48px)); }
  @keyframes pop { from { opacity: 0; transform: translate(-50%, -48%) scale(.97); } }
  .sheet.closing { animation: popOut .2s ease-in forwards; }
  @keyframes popOut { to { opacity: 0; transform: translate(-50%, -48%) scale(.97); } }
  .sheet-grabber { display: none; }
}

.code-box { background: var(--card); border-radius: var(--radius); padding: 14px; text-align: center; margin: 6px 0 14px; box-shadow: var(--shadow); }
.code-label { font-size: 12px; color: var(--label-2); text-transform: uppercase; letter-spacing: .03em; }
.code { font-family: var(--mono); font-size: 36px; font-weight: 700; letter-spacing: .14em; margin: 4px 0 2px; padding: 4px 12px; border-radius: 10px; }
.code:active { background: var(--fill); }
.code-hint { font-size: 13px; color: var(--blue); }

.msg-subject { font-size: 20px; font-weight: 700; margin: 2px 0 10px; line-height: 1.25; }
.msg-meta { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
.msg-from { font-weight: 600; font-size: 15px; word-break: break-all; }
.msg-date { color: var(--label-2); font-size: 13px; }
.msg-privacy-note { color: var(--label-2); font-size: 12px; margin: 0 0 10px; }
.msg-frame-wrap { flex: 1; min-height: 300px; background: #fff; border-radius: var(--radius); overflow: hidden; }
.msg-frame-wrap iframe { width: 100%; height: 100%; min-height: 300px; border: 0; display: block; background: #fff; }

/* ---- "How it works" panel ---- */
.info-label {
  font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em;
  color: var(--label-2); margin: 22px 16px 8px;
}
.info-label.first { margin-top: 8px; }

.app-ic {
  flex: none; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; color: #fff;
}
.app-ic.orange { background: linear-gradient(180deg, #ffb340, var(--orange)); box-shadow: 0 4px 14px color-mix(in srgb, var(--orange) 35%, transparent); }
.app-ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.safe-card {
  padding: 16px; position: relative; overflow: hidden;
  background:
    radial-gradient(120% 90% at 0% 0%, color-mix(in srgb, var(--orange) 16%, transparent), transparent 60%),
    var(--card);
  box-shadow: var(--shadow), inset 0 0 0 0.5px color-mix(in srgb, var(--orange) 30%, transparent);
}
.safe-head { display: flex; gap: 12px; align-items: center; }
.safe-title { font-weight: 700; font-size: 17px; }
.safe-sub { font-size: 14px; color: var(--label-2); margin-top: 1px; }
.safe-never {
  margin: 16px 0 8px; font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  color: var(--red);
}
.never-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.never-chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px 6px 9px; border-radius: 99px;
  font-size: 13px; font-weight: 600; color: var(--label);
  background: color-mix(in srgb, var(--red) 12%, var(--fill));
}
.never-chip svg { width: 15px; height: 15px; fill: none; stroke: var(--red); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.safe-foot {
  display: flex; align-items: center; gap: 8px; margin-top: 14px; padding-top: 12px;
  border-top: 0.5px solid var(--separator); font-size: 13px; color: var(--label-2);
}
.safe-foot svg { flex: none; width: 18px; height: 18px; fill: none; stroke: var(--green); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* iOS grouped list */
.list-group { padding: 0; overflow: hidden; }
.list-row {
  display: flex; align-items: center; gap: 12px; padding: 11px 14px; position: relative;
  color: inherit; text-decoration: none;
}
.list-row + .list-row::before { content: ""; position: absolute; top: 0; right: 0; left: 58px; border-top: 0.5px solid var(--separator); }
.link-row { transition: background .15s; }
.link-row:hover { background: color-mix(in srgb, var(--fill) 50%, transparent); }
.link-row:active { background: var(--fill); }
.row-ic {
  flex: none; width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center;
  color: var(--blue); background: color-mix(in srgb, var(--blue) 15%, transparent);
}
.row-ic.red { color: var(--red); background: color-mix(in srgb, var(--red) 15%, transparent); }
.row-ic.green { color: var(--green); background: color-mix(in srgb, var(--green) 15%, transparent); }
.row-ic.gray { color: var(--label-2); background: var(--fill); }
.row-ic svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.row-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.row-text b { font-weight: 600; font-size: 15px; }
.row-text span { font-size: 13px; color: var(--label-2); }
.chev { flex: none; width: 18px; height: 18px; fill: none; stroke: var(--label-3); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

.legal-note { text-align: center; font-size: 12px; line-height: 1.5; color: var(--label-3); margin: 16px 16px 4px; }

/* ---- Footer + first-visit notice ---- */
.app-footer {
  flex: none; display: flex; align-items: center; justify-content: center; gap: 14px;
  padding: 10px 4px 0; font-size: 12px; color: var(--label-2);
}
.footer-chip {
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  padding: 4px 10px; border-radius: 99px; font-weight: 600;
  color: var(--orange); background: color-mix(in srgb, var(--orange) 13%, transparent);
}
.footer-chip i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.footer-right { display: flex; align-items: center; gap: 14px; }
.footer-note { color: var(--label-3); white-space: nowrap; }
.footer-links { display: flex; gap: 4px; }
.footer-links a {
  color: var(--label-2); text-decoration: none; font-weight: 500;
  padding: 4px 8px; border-radius: 8px; transition: background .15s, color .15s;
}
.footer-links a:hover { color: var(--label); background: var(--fill); }
.footer-links a:active { background: var(--fill-2); }
@media (max-width: 599px) {
  .app-footer { gap: 10px; padding-top: 8px; }
  .footer-note { display: none; } /* still shown in the ⓘ panel and on Terms/Privacy */
  .footer-right { gap: 0; }
}

.notice {
  position: fixed; z-index: 25; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
  max-width: 440px; margin: 0 auto; padding: 16px;
  background: var(--menu); border-radius: 16px;
  backdrop-filter: saturate(180%) blur(24px); -webkit-backdrop-filter: saturate(180%) blur(24px);
  box-shadow: 0 10px 40px rgba(0,0,0,.25), 0 0 0 0.5px var(--separator);
  animation: toastIn .35s cubic-bezier(.3,.7,.4,1);
}
.notice-title { font-weight: 700; font-size: 17px; display: flex; align-items: center; gap: 8px; }
.notice-title::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.notice p { margin: 6px 0 0; font-size: 14px; color: var(--label-2); }
.notice a { color: var(--blue); }
.notice .btn { width: 100%; margin-top: 12px; }

/* ---- Terms / Privacy pages ---- */
body.doc { overflow: auto; height: auto; padding-top: calc(100px + env(safe-area-inset-top)); }
.doc-nav { gap: 8px; }
.doc-nav .brand { flex: 1; }
.doc-back {
  flex: none; display: grid; place-items: center; width: 42px; height: 42px;
  color: var(--label-2); text-decoration: none;
  border: 1px solid var(--glass-edge); border-radius: 50%; background: var(--fill);
  transition: color .2s, background .2s;
}
.doc-back:hover { color: var(--label); background: var(--fill-2); }
.doc-back svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 440px) {
  .doc-nav .nav-blog, .doc-nav .brand-tagline { display: none; }
  .doc-nav { gap: 5px; padding: 6px; }
  .doc-nav .doc-back { width: 34px; height: 34px; }
  .doc-nav .brand { flex: 1; }
  .doc-nav .brand .logo { width: 36px; height: 36px; }
  .doc-nav .brand .logo img { width: 29px; height: 29px; }
  .doc-nav .brand-copy { display: flex; }
  .doc-nav .nav-title { font-size: 14px; }
  .doc-nav .nav-reviews { padding: 7px 6px; font-size: 12px; }
  .doc-nav .nav-login { min-height: 36px; padding: 0 10px; font-size: 12px; }
}
@media (max-width: 340px) {
  .doc-nav .brand-copy { display: none; }
}
.doc-main {
  max-width: 720px; margin: 0 auto;
  padding: 8px max(16px, env(safe-area-inset-right)) 24px max(16px, env(safe-area-inset-left));
  font-size: 16px; line-height: 1.55;
}
.doc-main h1 { font-size: 32px; font-weight: 700; margin: 16px 0 2px; letter-spacing: -.01em; }
.doc-date { color: var(--label-2); font-size: 14px; margin: 0 0 18px; }
.doc-main section {
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 4px 18px 6px; margin-bottom: 12px;
}
.doc-main h2 { font-size: 18px; margin: 14px 0 6px; }
.doc-main p { margin: 0 0 10px; }
.doc-main ul { margin: 0 0 10px; padding-left: 20px; }
.doc-main li { margin-bottom: 6px; }
.doc-main a { color: var(--blue); }
.doc-main a.btn {
  min-height: 46px; height: auto; padding: 12px 20px;
  line-height: 1.35; text-align: center; text-decoration: none;
}
.doc-main a.btn-primary { color: #fff; }
.doc-main a.btn:focus-visible { outline: 3px solid var(--label); outline-offset: 4px; }
.doc-callout {
  border-radius: var(--radius); padding: 14px 16px; margin-bottom: 16px; font-size: 15px;
  background: color-mix(in srgb, var(--orange) 13%, var(--card)); border-left: 4px solid var(--orange);
}
.doc-footer {
  text-align: center; font-size: 13px; color: var(--label-2);
  padding: 8px 16px calc(28px + env(safe-area-inset-bottom));
}
.doc-footer a { color: var(--blue); }
.doc-footer span { margin: 0 6px; color: var(--label-3); }
.doc-footer p { margin: 6px 0 0; }

/* "Coming soon" pages (Login, Blog) */
.soon-hero { text-align: center; padding: 28px 12px 22px; }
.soon-ic {
  width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 18px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(180deg, #5ab0ff, var(--blue));
  box-shadow: 0 10px 30px color-mix(in srgb, var(--blue) 35%, transparent);
}
.soon-ic.green { background: linear-gradient(180deg, #5fe07f, var(--green)); box-shadow: 0 10px 30px color-mix(in srgb, var(--green) 35%, transparent); }
.soon-ic svg { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.soon-ic.brand-ic { background: none; box-shadow: none; }
.soon-ic.brand-ic img { display: block; width: 64px; height: 64px; object-fit: contain; }
.soon-tag {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--blue); background: color-mix(in srgb, var(--blue) 14%, transparent); padding: 4px 10px; border-radius: 99px;
}
.soon-hero h1 { margin: 10px 0 6px; }
.soon-hero p { color: var(--label-2); margin: 0 auto; max-width: 420px; }
.doc-main .list-group .list-row { padding: 12px 16px; }
/* Blog list */
.post-list { display: grid; gap: 12px; }
.post-card { display: flex; gap: 14px; padding: 18px; text-decoration: none; color: inherit; transition: transform .15s, background .15s; }
.post-card:hover { background: color-mix(in srgb, var(--fill) 40%, var(--card)); }
.post-card:active { transform: scale(.99); }
.post-card-ic {
  flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  color: var(--blue); background: color-mix(in srgb, var(--blue) 15%, transparent);
}
.post-card-ic.green { color: var(--green); background: color-mix(in srgb, var(--green) 15%, transparent); }
.post-card-ic.orange { color: var(--orange); background: color-mix(in srgb, var(--orange) 15%, transparent); }
.post-card-ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.post-card-body { min-width: 0; }
.doc-main .post-card h2 { font-size: 17px; line-height: 1.3; margin: 6px 0 4px; color: var(--label); }
.post-card p { margin: 0 0 6px; font-size: 14px; color: var(--label-2); line-height: 1.45; }
.post-tag {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: var(--blue); background: color-mix(in srgb, var(--blue) 14%, transparent); padding: 3px 9px; border-radius: 99px;
}
.post-tag.green { color: var(--green); background: color-mix(in srgb, var(--green) 14%, transparent); }
.post-meta { font-size: 13px; color: var(--label-3); }

/* Blog article */
.blog-languages { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; margin: 8px 0 22px; padding: 12px; border: 1px solid var(--separator); border-radius: 16px; background: var(--card); }
.blog-language-label { color: var(--label-2); font-size: 12px; font-weight: 650; margin-inline-end: 5px; }
.doc-main .blog-languages a { display: inline-flex; align-items: center; min-height: 36px; padding: 7px 11px; border-radius: 10px; color: var(--label); text-decoration: none; font-size: 13px; font-weight: 650; }
.doc-main .blog-languages a:hover { background: var(--fill); }
.doc-main .blog-languages a[aria-current="page"] { color: #fff; background: var(--blue); }
.blog-languages a:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
html[dir="rtl"] .post { line-height: 1.9; }
html[dir="rtl"] .doc-back svg, html[dir="rtl"] .post .btn svg { transform: rotate(180deg); }
html[dir="rtl"] .post ul, html[dir="rtl"] .post ol { padding-left: 0; padding-right: 22px; }
html[dir="rtl"] .crumbs span { transform: rotate(180deg); }
html[dir="rtl"] .post .table-wrap { text-align: right; }
html[lang="zh-Hans"] .post { line-height: 1.9; }
@media (max-width: 600px) {
  .blog-languages { padding: 9px; gap: 4px; }
  .blog-language-label { flex-basis: 100%; margin-bottom: 2px; }
  .doc-main .blog-languages a { min-height: 36px; padding: 7px 9px; font-size: 12px; }
}
.post { font-size: 17px; line-height: 1.65; }
.post .crumbs { font-size: 13px; color: var(--label-3); margin: 14px 0 14px; display: flex; gap: 6px; flex-wrap: wrap; }
.post .crumbs a { color: var(--label-2); text-decoration: none; }
.post-topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 20px; }
.post-topbar .crumbs { margin: 0; min-width: 0; }
.doc-main .post-home-btn { flex: none; min-height: 40px; padding: 9px 14px; border-radius: 11px; font-size: 13px; }
@media (max-width: 480px) {
  .post-topbar { flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
  .post-topbar .crumbs { font-size: 12px; }
  .post-topbar .post-home-btn { margin-left: auto; }
}
.post h1 { font-size: clamp(26px, 6vw, 36px); line-height: 1.18; letter-spacing: -.02em; margin: 10px 0 8px; }
.post .post-meta { margin: 0 0 22px; }
.post-lead { font-size: 19px; color: var(--label); line-height: 1.55; }
.post h2 { font-size: 23px; line-height: 1.25; margin: 32px 0 10px; letter-spacing: -.01em; }
.post p, .post li { color: var(--label-2); }
.post b { color: var(--label); }
.post ul, .post ol { padding-left: 22px; margin: 0 0 14px; }
.post ul.x-list, .post ul.check-list { padding-left: 0; }
.post li { margin-bottom: 8px; }
.post code { font-family: var(--mono); font-size: .88em; color: var(--label); background: var(--fill); padding: 1px 6px; border-radius: 6px; }
.post .table-wrap { margin: 6px 0 14px; background: var(--card); border-radius: 16px; }
.post .seo-table { font-size: 15px; line-height: 1.4; }
.post .post-meta a { color: var(--label-2); }
.post-cover { margin: 0 0 22px; }
.post-cover img { display: block; width: 100%; height: auto; border-radius: 18px; box-shadow: var(--shadow); }
.post-cover figcaption, .post-screenshot figcaption {
  padding: 10px 4px 0; color: var(--label-2); font-size: 13px; line-height: 1.5;
}
.post-screenshot {
  width: 100%; max-width: 560px; margin: 24px auto 30px;
  padding: 12px; border: 1px solid var(--separator); border-radius: 20px;
  background: var(--card); box-shadow: var(--glass-shadow);
}
.post-screenshot img { display: block; width: 100%; height: auto; border-radius: 12px; }
.post-screenshot-label { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 3px 10px; font-size: 12px; font-weight: 650; }
.post-screenshot-label span { display: inline-flex; align-items: center; gap: 6px; }
.post-screenshot-label span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.post-screenshot-label small { color: var(--label-2); font-weight: 400; }
@media (max-width: 600px) {
  .post-screenshot { padding: 9px; margin: 20px auto 24px; border-radius: 16px; }
  .post-cover figcaption, .post-screenshot figcaption { font-size: 12px; }
}
.toc {
  margin: 22px 0 8px; padding: 16px 18px; border-radius: 16px; background: var(--card);
  box-shadow: inset 0 0 0 0.5px var(--separator);
}
.toc b { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--label-2); margin-bottom: 8px; }
.post .toc ol { margin: 0; padding-left: 20px; }
.post .toc li { margin: 0 0 4px; font-size: 15px; line-height: 1.45; }
.toc a { color: var(--blue); text-decoration: none; }
.toc a:hover { text-decoration: underline; }
.post h2[id] { scroll-margin-top: calc(104px + env(safe-area-inset-top)); }
.blog-main .crumbs { font-size: 13px; color: var(--label-3); margin: 14px 0 0; display: flex; gap: 6px; flex-wrap: wrap; }
.blog-main .crumbs a { color: var(--label-2); text-decoration: none; }
.cat-nav { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin: 0 0 18px; }
.doc-main .cat-chip {
  font-size: 14px; font-weight: 600; text-decoration: none; color: var(--label-2);
  background: var(--fill); padding: 7px 14px; border-radius: 99px;
}
.doc-main .cat-chip.active { color: #fff; background: var(--blue); }
.post-card-img { flex-direction: column; gap: 0; }
@media (min-width: 640px) {
  .post-card-img { flex-direction: row; gap: 18px; align-items: center; }
  .post-card-img .post-thumb { width: 220px; flex: none; margin: 0; }
}
.post-thumb { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 12px; margin-bottom: 12px; }
.post-callout {
  margin: 28px 0; padding: 20px; border-radius: 18px; text-align: center;
  background:
    radial-gradient(120% 140% at 0% 0%, color-mix(in srgb, var(--blue) 22%, transparent), transparent 65%),
    var(--card);
  box-shadow: inset 0 0 0 0.5px color-mix(in srgb, var(--blue) 35%, transparent);
}
.post-callout b { font-size: 18px; }
.post-callout p { margin: 4px 0 14px; font-size: 15px; }
.doc-main .post-callout .btn { display: inline-flex; padding: 12px 22px; color: #fff; text-decoration: none; }
@media (max-width: 480px) {
  .post-callout { padding: 18px 14px; }
  .doc-main .post-callout .btn { width: 100%; }
}
.related { margin-top: 36px; }
.related .list-row { padding: 14px 16px; }
.related .row-text b { font-size: 15px; line-height: 1.35; }

/* Contact page */
.contact-list { display: grid; gap: 10px; }
.contact-card { display: flex; align-items: flex-start; gap: 14px; padding: 16px; }
.contact-card .row-ic { margin-top: 2px; }
.contact-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.contact-text b { font-size: 16px; }
.contact-text span { font-size: 14px; color: var(--label-2); line-height: 1.45; }
.doc-main .contact-email { margin-top: 6px; font-family: var(--mono); font-size: 14px; font-weight: 600; text-decoration: none; word-break: break-all; }
.contact-copy {
  flex: none; align-self: center; font-size: 14px; font-weight: 600; color: var(--blue);
  background: color-mix(in srgb, var(--blue) 14%, transparent); padding: 8px 14px; border-radius: 99px;
}
.contact-copy:active { transform: scale(.96); }

.doc-main .soon-btn { margin: 20px auto 0; max-width: 320px; text-decoration: none; color: #fff; }

/* ---- Toast ---- */
.toast {
  position: fixed; z-index: 30; left: 50%; bottom: calc(28px + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  background: rgba(30,30,30,.92); color: #fff; font-size: 15px; font-weight: 500;
  padding: 10px 20px; border-radius: 99px;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  animation: toastIn .3s cubic-bezier(.3,.7,.4,1);
}
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, 12px); } }

/* ---- Content below the tool (SEO + newcomers) ---- */
.seo {
  max-width: 1100px; margin: 0 auto;
  padding: 36px max(14px, env(safe-area-inset-right)) 0 max(14px, env(safe-area-inset-left));
  line-height: 1.55;
}
.seo h1 { font-size: clamp(26px, 5vw, 40px); line-height: 1.15; letter-spacing: -.02em; margin: 10px 0 12px; }
.seo h2 { font-size: clamp(21px, 3.4vw, 28px); line-height: 1.2; letter-spacing: -.01em; margin: 0 0 14px; }
.seo h3 { font-size: 16px; margin: 0 0 4px; }
.seo p { margin: 0 0 10px; color: var(--label-2); }
.seo b { color: var(--label); }
.seo a { color: var(--blue); }
.seo code {
  font-family: var(--mono); font-size: .9em; color: var(--label);
  background: var(--fill); padding: 1px 6px; border-radius: 6px;
}

.seo-hero { text-align: center; max-width: 760px; margin: 0 auto 8px; }
.seo-hero p { font-size: 17px; }
.seo-kicker {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .04em;
  color: var(--blue); background: color-mix(in srgb, var(--blue) 13%, transparent);
  padding: 5px 12px; border-radius: 99px;
}

.seo-section {
  background: var(--card); border-radius: 20px; box-shadow: var(--shadow);
  padding: clamp(20px, 4vw, 32px); margin-top: 16px;
}
.seo-two { display: grid; gap: 28px; }
@media (min-width: 760px) { .seo-two { grid-template-columns: 1fr 1fr; gap: 40px; } }

.seo-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 760px) { .seo-steps { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
.seo-steps li { background: var(--fill); border-radius: 16px; padding: 18px; }
.step-num {
  width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; margin-bottom: 12px;
  font-weight: 800; color: #fff; background: var(--blue);
}
.step-num.green { background: var(--green); }
.step-num.orange { background: var(--orange); }
/* Phones: number on the left, text on the right, so the steps stay short */
@media (max-width: 759px) {
  .seo-steps li { display: grid; grid-template-columns: 32px 1fr; column-gap: 14px; padding: 14px 16px; }
  .seo-steps .step-num { grid-row: span 2; margin: 0; }
  .seo-steps p { margin: 0; font-size: 15px; }
}

.seo-grid { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
@media (max-width: 559px) {
  .seo-card { padding: 14px; }
  .seo-card h3 { font-size: 15px; }
  .seo-card p { font-size: 13.5px; line-height: 1.45; }
  .seo-ic { width: 34px; height: 34px; border-radius: 10px; margin-bottom: 10px; }
}
@media (max-width: 339px) { .seo-grid { grid-template-columns: 1fr; } }
@media (min-width: 900px) { .seo-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
.seo-card { background: var(--fill); border-radius: 16px; padding: 18px; }
.seo-card p { margin: 0; font-size: 15px; }
.seo-ic {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 12px;
  color: var(--blue); background: color-mix(in srgb, var(--blue) 15%, transparent);
}
.seo-ic.green { color: var(--green); background: color-mix(in srgb, var(--green) 15%, transparent); }
.seo-ic.orange { color: var(--orange); background: color-mix(in srgb, var(--orange) 15%, transparent); }
.seo-ic.red { color: var(--red); background: color-mix(in srgb, var(--red) 15%, transparent); }
.seo-ic.purple { color: #af52de; background: color-mix(in srgb, #af52de 15%, transparent); }
.seo-ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.blog-link { text-decoration: none; color: inherit; display: block; transition: background .15s; }
.blog-link:hover { background: var(--fill-2); }
.seo .blog-link h3 { margin: 10px 0 6px; line-height: 1.3; color: var(--label); }
@media (max-width: 559px) { .blog-grid { grid-template-columns: 1fr; } }

.use-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.use-chips span {
  font-size: 14px; font-weight: 600; padding: 8px 14px; border-radius: 99px; background: var(--fill);
}
.seo-muted { font-size: 15px; margin: 0; }

.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.seo-table { width: 100%; min-width: 420px; border-collapse: collapse; font-size: 15px; }
.seo-table th, .seo-table td { text-align: left; padding: 12px 14px; border-bottom: 0.5px solid var(--separator); }
.seo-table thead th { font-size: 13px; text-transform: uppercase; letter-spacing: .03em; color: var(--label-2); }
.seo-table thead th:nth-child(2) { color: var(--blue); }
.seo-table td:first-child { font-weight: 600; color: var(--label); }
.seo-table td { color: var(--label-2); }
.seo-table td:nth-child(2) { color: var(--label); background: color-mix(in srgb, var(--blue) 6%, transparent); }
.seo-table tr:last-child td { border-bottom: 0; }

.x-list, .check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.x-list li, .check-list li { position: relative; padding-left: 30px; color: var(--label-2); }
.x-list li::before, .check-list li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%;
  background-repeat: no-repeat; background-position: center; background-size: 12px;
}
.x-list li::before {
  background-color: color-mix(in srgb, var(--red) 16%, transparent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff453a' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E");
}
.check-list li::before {
  background-color: color-mix(in srgb, var(--green) 16%, transparent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2330d158' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E");
}

.faq { display: grid; gap: 8px; }
.faq details { background: var(--fill); border-radius: 14px; overflow: hidden; }
.faq summary {
  list-style: none; cursor: pointer; padding: 15px 48px 15px 18px; position: relative;
  font-weight: 600; font-size: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 18px; top: 50%; width: 9px; height: 9px; margin-top: -6px;
  border-right: 2px solid var(--label-2); border-bottom: 2px solid var(--label-2);
  transform: rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -1px; }
.faq summary:hover { background: color-mix(in srgb, var(--fill) 60%, transparent); }
.faq details p { padding: 0 18px 16px; margin: 0; font-size: 15px; }

.site-footer {
  margin-top: 24px; padding: 28px 4px calc(28px + env(safe-area-inset-bottom));
  border-top: 0.5px solid var(--separator);
  display: grid; gap: 16px; justify-items: center; text-align: center;
}
.site-footer-brand { display: flex; align-items: center; gap: 10px; text-align: left; }
.site-footer-brand b { display: block; font-size: 16px; }
.site-footer-brand span { font-size: 13px; color: var(--label-2); }
.site-footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 6px; }
.site-footer-links a {
  color: var(--label-2); text-decoration: none; font-size: 14px; font-weight: 500;
  padding: 6px 10px; border-radius: 8px;
}
.site-footer-links a:hover { color: var(--label); background: var(--fill); }
.site-footer-note { font-size: 12px; color: var(--label-3); margin: 0; }

/* One calm glass footer language across the inbox and content pages. */
.doc-footer, .site-footer {
  width: 100%; margin: 38px 0 0;
  padding: 26px max(20px, calc((100vw - 1100px) / 2)) calc(24px + env(safe-area-inset-bottom));
  border: 0; border-top: 1px solid color-mix(in srgb, var(--glass-edge, var(--separator)) 70%, transparent);
  border-radius: 0;
  background: linear-gradient(135deg, color-mix(in srgb, var(--card) 95%, var(--blue) 5%), var(--card));
  box-shadow: none;
  backdrop-filter: blur(22px) saturate(1.25); -webkit-backdrop-filter: blur(22px) saturate(1.25);
  color: var(--label-2);
}
.doc-footer { text-align: left; }
.doc-footer-main { display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.doc-footer-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--label) !important; white-space: nowrap; }
.doc-footer-brand img { display: block; object-fit: contain; }
.doc-footer-brand b, .doc-footer-brand small { display: block; }
.doc-footer-brand b { font-size: 17px; letter-spacing: -.02em; }
.doc-footer-brand b, .site-footer-brand b { color: var(--label); }
.doc-footer-brand small { font-size: 11px; color: var(--label-2); }
.doc-footer-links { display: flex; justify-content: flex-end; align-items: center; flex-wrap: wrap; gap: 4px; }
.doc-footer-links a, .site-footer-links a { color: color-mix(in srgb, var(--label) 78%, transparent); text-decoration: none; padding: 8px 11px; border-radius: 10px; font-size: 13px; font-weight: 650; }
.doc-footer-links a:hover, .site-footer-links a:hover { background: color-mix(in srgb, var(--blue) 10%, var(--card)); color: var(--blue); }
.doc-footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 19px; padding-top: 14px; border-top: 1px solid var(--separator); font-size: 11px; color: var(--label-2); }
.doc-footer-bottom p { margin: 0; text-align: right; }
.site-footer { gap: 16px; border-top: 1px solid color-mix(in srgb, var(--glass-edge, var(--separator)) 70%, transparent); }
.site-footer-note { width: 100%; padding-top: 14px; border-top: 1px solid var(--separator); color: var(--label-2); }
.app-footer { align-self: stretch; width: 100%; max-width: 100%; padding: 5px 10px; margin-top: 2px; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.app-footer .footer-links a:hover { color: var(--blue); }
@media (max-width: 760px) {
  .doc-footer, .site-footer { padding: 20px 17px calc(18px + env(safe-area-inset-bottom)); }
  .doc-footer-main { flex-direction: column; align-items: flex-start; gap: 16px; }
  .doc-footer-links { justify-content: flex-start; gap: 4px; }
  .doc-footer-links a { padding: 7px 9px; }
  .doc-footer-bottom { align-items: flex-start; flex-direction: column; gap: 4px; }
  .doc-footer-bottom p { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
