/* house.fish88.tw 前台樣式(Phase 3a)。手機優先。 */
:root {
  --bg: #f4f6f8;
  --surface: #ffffff;
  --text: #1c2430;
  --muted: #5f6b7a;
  --line: #d9dee5;
  --brand: #1f5f8b;
  --brand-dark: #174a6d;
  --danger: #b3261e;
  --pending: #c62828;
  --processing: #a65500;  /* 工單 26:#b35c00 當文字只有 4.36:1,加深到 4.94:1(白字標籤 5.36:1) */
  --completed: #2e7d32;
  --radius: 12px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  font-size: 17px;
  line-height: 1.55;
}
a { color: var(--brand); }

.site-header { background: var(--brand); color: #fff; padding: 14px 16px 12px; }
.site-title { color: #fff; text-decoration: none; font-size: 21px; font-weight: 700; }
.site-sub { margin: 2px 0 0; font-size: 14px; opacity: .9; }

.page { max-width: 720px; margin: 0 auto; padding: 12px 16px 112px; }
.page-head { display: flex; align-items: center; gap: 12px; margin: 4px 0 12px; }
.page-head h1 { font-size: 20px; margin: 0; }
.back { text-decoration: none; font-size: 16px; padding: 8px 0; }

.tabs { display: flex; gap: 8px; margin-bottom: 12px; }
.tab {
  flex: 1; text-align: center; padding: 11px 8px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line);
  color: var(--text); text-decoration: none; font-weight: 600;
}
.tab.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }

.list { display: flex; flex-direction: column; gap: 10px; }
/* 直向排列(2026-09-23):左縮圖右內容的橫排從工單 24 拿掉照片之後就用不到了。
   橫排時,少包一層 .card-body 的卡片會把狀態、戶別、內容、時間擠成一排(「我的案件」就是這樣壞的)。 */
.card {
  display: flex; flex-direction: column; gap: 12px; padding: 12px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius);
  color: inherit; text-decoration: none;
}
a.card:active { background: #eef3f8; }
.card-body { flex: 1; min-width: 0; }
.card-top { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.card-unit { font-weight: 700; margin-top: 4px; }
/* 摘要最多兩行,超過用「…」收尾。沒有空格的長字串也照樣斷行,不會撐出好幾行或撐破卡片。 */
.card-summary { margin: 2px 0 4px; overflow-wrap: anywhere;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
.card-time { font-size: 14px; color: var(--muted); }
.card-private { background: #fafbfc; }
.muted { color: var(--muted); }
.lock { font-size: 18px; }

.badge { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 14px; font-weight: 700; color: #fff; }
.status-pending { background: var(--pending); }
.status-processing { background: var(--processing); }
.status-completed { background: var(--completed); }
.read { font-size: 14px; }
.read.is-unread { color: var(--pending); font-weight: 600; }
.read.is-read { color: var(--muted); }

.empty { text-align: center; color: var(--muted); padding: 40px 0; font-size: 18px; }
.more-wrap { text-align: center; margin-top: 16px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 48px; padding: 10px 20px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--surface); color: var(--text); font-size: 17px; font-weight: 600;
  text-decoration: none; cursor: pointer; font-family: inherit;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn-primary:active { background: var(--brand-dark); }
.btn[disabled] { opacity: .6; cursor: default; transform: none; }
.btn-more { min-width: 60%; }

.fab {
  position: fixed; right: 16px; bottom: calc(20px + env(safe-area-inset-bottom));
  background: var(--brand); color: #fff; text-decoration: none; font-weight: 700; font-size: 18px;
  padding: 16px 22px; border-radius: 999px; box-shadow: 0 6px 18px rgba(0,0,0,.25);
}
.fab:active { background: var(--brand-dark); transform: scale(.97); }

.form { display: flex; flex-direction: column; gap: 6px; }
.field { border: 0; margin: 0 0 12px; padding: 0; }
.field label, .field .label, .field legend { display: block; font-weight: 700; margin-bottom: 6px; }
.req { color: var(--danger); font-size: 14px; font-weight: 600; }
.opt { color: var(--muted); font-size: 14px; font-weight: 400; }
input[type=text], input[type=password], textarea, select {
  width: 100%; font-size: 17px; padding: 12px; border-radius: 10px;
  border: 1px solid #b9c2cd; background: #fff; font-family: inherit; color: inherit;
}
textarea { resize: vertical; }
input:focus, textarea:focus, select:focus { outline: 3px solid rgba(31,95,139,.3); border-color: var(--brand); }
.hint { color: var(--muted); font-size: 14px; margin: 6px 0 0; }
.field-error { color: var(--danger); font-size: 15px; margin: 4px 0 0; min-height: 0; }
.field-error:empty { display: none; }
.form-error { background: #fdecea; color: var(--danger); border-radius: 10px; padding: 10px 12px; margin: 0 0 8px; font-weight: 600; }
.choice { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 400 !important; padding: 10px; border: 1px solid var(--line); border-radius: 10px; background: #fff; margin-bottom: 8px; }
.choice input { margin-top: 5px; width: 20px; height: 20px; flex: 0 0 auto; }
.private-fields { background: #fff8e6; border-radius: 10px; padding: 12px; margin-bottom: 12px; }
.btn-submit { width: 100%; min-height: 54px; font-size: 19px; margin-top: 8px; }
.btn-photo { width: 100%; }
/* 工單 30:「拍照」與「從相簿選」並排兩顆 */
.photo-picks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.photo-picks .btn-photo { white-space: nowrap; justify-content: center; text-align: center; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.photo-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; margin-bottom: 8px; }
.photo-item { position: relative; background: #e6eaef; border-radius: 8px; overflow: hidden; aspect-ratio: 1 / 1; }
.photo-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-item .bar { position: absolute; left: 0; bottom: 0; height: 6px; background: var(--brand); width: 0; transition: width .2s; }
.photo-item .state { position: absolute; inset: auto 0 6px 0; text-align: center; font-size: 13px; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.8); padding: 0 4px; }
.photo-item.is-failed { outline: 2px solid var(--danger); }
.photo-item .remove, .photo-item .retry {
  position: absolute; top: 4px; border: 0; border-radius: 999px; background: rgba(0,0,0,.6);
  color: #fff; font-size: 15px; min-width: 32px; height: 32px; cursor: pointer;
}
.photo-item .remove { right: 4px; }
.photo-item .retry { left: 4px; padding: 0 10px; background: var(--danger); }

.done { text-align: center; padding-top: 16px; }
.done-icon { font-size: 44px; margin: 0; }
.case-no { font-size: 32px; font-weight: 800; letter-spacing: 1px; margin: 4px 0 12px; }
.notice { background: #fff8e6; border-radius: 10px; padding: 12px; text-align: left; margin: 16px 0; }
.done-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.message { text-align: center; padding: 40px 0; font-size: 18px; }

.case { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.case-title { font-size: 20px; margin: 10px 0 6px; }
.meta { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; margin: 0 0 12px; font-size: 15px; }
.meta dt { color: var(--muted); }
.meta dd { margin: 0; }
.case-content { white-space: normal; overflow-wrap: anywhere; font-size: 17px; }
.photos { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; }
.photos .photo-thumb { flex: 0 1 calc(25% - 3px); max-width: 160px; }
.photos img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 6px; display: block; background: #e6eaef; }

/* ---- Phase 3b ---- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tabs .tab { padding-left: 4px; padding-right: 4px; }

.search { display: flex; gap: 8px; margin-bottom: 6px; }
.search input[type=search] {
  flex: 1; min-width: 0; font-size: 17px; padding: 12px; border-radius: 10px;
  border: 1px solid #b9c2cd; background: #fff; font-family: inherit; color: inherit; -webkit-appearance: none;
}
.search-hint { margin: 0 0 12px; }

.locked { text-align: center; padding-top: 8px; }
.locked-form { max-width: 420px; margin: 16px auto 8px; text-align: left; }
.locked-form input[type=password] { width: 100%; font-size: 18px; padding: 14px; border-radius: 10px; border: 1px solid #b9c2cd; }

.relation { background: #eef3f8; border-radius: 10px; padding: 10px 12px; margin: 0 0 12px; font-weight: 600; }
.private-note { color: var(--muted); font-size: 15px; margin: 0 0 8px; }
/* 再回報一次:少數情況才用,改成文字連結,不要比管理中心的回覆醒目(工單 19) */
.reopen-line { margin: 18px 0 0; text-align: center; }
.reopen-link { font-size: 14px; color: #5b6776; }
.forget { margin-top: 18px; text-align: center; }

.photo-thumb {
  display: block; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 8px; overflow: hidden;
  -webkit-touch-callout: none; -webkit-user-select: none; user-select: none;
}
.photo-thumb img { pointer-events: none; }

body.lb-open { overflow: hidden; }
.lightbox {
  position: fixed; inset: 0; z-index: 1000; background: #000;
  display: flex; align-items: center; justify-content: center;
  touch-action: pan-y pinch-zoom; -webkit-touch-callout: none; -webkit-user-select: none; user-select: none;
}
.lb-img { max-width: 100%; max-height: 100%; object-fit: contain; -webkit-user-drag: none; }
.lb-counter {
  position: absolute; top: calc(12px + env(safe-area-inset-top)); left: 50%; transform: translateX(-50%);
  color: #fff; background: rgba(0,0,0,.55); padding: 4px 14px; border-radius: 999px; font-size: 16px; font-weight: 600;
}
.lb-close, .lb-nav {
  position: absolute; border: 0; color: #fff; background: rgba(255,255,255,.18); cursor: pointer;
  width: 48px; height: 48px; border-radius: 999px; font-size: 26px; line-height: 48px; padding: 0;
}
.lb-close { top: calc(8px + env(safe-area-inset-top)); right: 10px; }
/* 左右按鈕手機也顯示,要大、要在深色照片上也看得清楚 */
.lb-nav {
  top: 50%; transform: translateY(-50%); width: 56px; height: 56px; line-height: 56px; font-size: 24px;
  background: rgba(0,0,0,.55); border: 2px solid rgba(255,255,255,.85);
}
.lb-nav[hidden] { display: none; }
.lb-nav:active { background: rgba(255,255,255,.35); }
.lb-prev { left: 10px; }
.lb-next { right: 10px; }
.locked-msg { text-align: left; max-width: 420px; margin: 0 auto; }
.locked-actions { max-width: 420px; margin: 16px auto 0; }
.locked-actions .btn { display: block; width: 100%; text-align: center; }

/* ---- Phase 4 影片 ---- */
.video-list { display: grid; grid-template-columns: 1fr; gap: 8px; margin-bottom: 8px; }
.video-item { aspect-ratio: auto; min-height: 88px; display: flex; align-items: center; justify-content: center; }
.video-item .video-icon { font-size: 34px; }
.video-item .state { color: var(--text); text-shadow: none; bottom: 10px; }
.case-video { width: 100%; max-height: 70vh; background: #000; border-radius: 10px; margin-top: 12px; display: block; }
.video-state { background: #eef3f8; border-radius: 10px; padding: 14px; margin-top: 12px; font-weight: 600; }
.video-state.is-failed { background: #fdecea; color: var(--danger); }

/* ---- 處理歷程(工單 18)---- */
.timeline { margin: 20px 0; }
.timeline-title { font-size: 17px; margin: 0 0 8px; }
.timeline-list { list-style: none; margin: 0; padding: 0 0 0 16px; border-left: 3px solid #d9e1e8; }
.timeline .tl-item { position: relative; padding: 0 0 16px 12px; }
.timeline .tl-item::before { content: ''; position: absolute; left: -22px; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: #1f5f8b; }
.timeline .tl-item.is-hidden-item::before { background: #8a949e; }
.timeline .tl-time { color: #5b6776; font-size: 13px; margin-right: 8px; }
.timeline .tl-who { font-weight: 700; }
/* 每一則的開頭一排(工單 25):時間 → 狀態 → 署名 → 動作。
   flex-wrap 讓放不下的項目「整段」換到下一行,不會從名字中間斷開,換行後也一律靠左對齊。
   狀態只有三個字,永遠跟時間在同一行。 */
.timeline .tl-head { display: grid; grid-template-columns: max-content 1fr; column-gap: 10px; align-items: baseline; }
.timeline .tl-head .tl-time { margin-right: 0; font-variant-numeric: tabular-nums; white-space: nowrap; }
.timeline .tl-line { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 8px; row-gap: 2px; min-width: 0; }
.timeline .tl-state { font-size: 16px; font-weight: 700; }
.timeline .tl-state.st-pending { color: var(--pending); }
.timeline .tl-state.st-processing { color: var(--processing); }
.timeline .tl-state.st-completed { color: var(--completed); }
.timeline .tl-action { font-size: 15px; }
.timeline .tl-content { margin-top: 4px; padding: 10px 12px; background: #f3f5f8; border-radius: 8px; overflow-wrap: anywhere; }
.timeline .tl-hidden-note { margin: 4px 0; color: #5b6776; font-size: 14px; font-style: italic; }
.timeline .tl-photos { margin-top: 8px; }

/* ---- 工單 19:住戶端的處理歷程,管理中心的回覆要最明顯 ---- */
/* 住戶自己回報的內容:淺色框、與回覆區塊不同色系,一眼分得出誰說的 */
/* 工單 26:與下面管理中心的回覆做成同一種形狀(底色 + 左側粗線),顏色不同 ——
   住戶用中性灰、管理中心用藍,像對話一樣一眼分得出誰說的。
   明顯程度相當:住戶底色對白卡片 1.26、管理中心底色對頁面 1.23;內文 13.2:1、標籤 7.4:1。 */
.report-block { margin-top: 12px; padding: 12px 14px; background: #e1e6eb; border-left: 6px solid #4a5663; border-radius: 0 8px 8px 0; }
.report-label { margin: 0 0 4px; font-size: 14px; font-weight: 700; color: #3d4852; }
.report-block .case-content { font-size: 18px; color: #13202c; line-height: 1.6; }

/* 管理中心的回覆:整頁最醒目的區塊。工單 24 加深一級 ——
   原本底色 #eaf2f8 對頁面底色的對比只有 1.04,手機上幾乎看不出是一塊。
   現在:底色 #cfe2f1(對頁面 1.22)、左線 #174a6d 6px;內文 12.4:1、署名 7.1:1。 */
.timeline .tl-item.is-reply::before { background: #174a6d; width: 12px; height: 12px; left: -23px; }
.reply-block { margin-top: 6px; padding: 12px 14px; background: #cfe2f1; border-left: 6px solid #174a6d; border-radius: 0 8px 8px 0; }
.reply-who { margin: 0 0 4px; font-size: 14px; font-weight: 700; color: #174a6d; }
.reply-block .tl-content { margin: 0; padding: 0; background: none; border-radius: 0; font-size: 18px; color: #13202c; line-height: 1.6; }
/* 狀態變更那類單行紀錄維持細字 */
.timeline .tl-item:not(.is-reply) .tl-who { font-weight: 600; font-size: 14px; color: #3d4a57; }
.timeline .tl-item:not(.is-reply) .tl-status { color: #3d4a57; }
.timeline .tl-photos { margin-top: 6px; }

/* ---- 工單 20:登入、我的案件 ---- */
.site-header { position: relative; }
/* 🔴 標頭用 flex,不要用 absolute:absolute 的 nav 會蓋在標題上,
   而標題會不會變寬取決於使用者的字級設定,不是我們能控制的(工單 21)。
   flex 之下兩者永遠並排,擠不下就是按鈕先縮,不會重疊。 */
.site-nav { display: flex; gap: 6px; flex: none; }
.nav-btn { display: inline-block; padding: 6px 12px; font-size: 15px; font-weight: 700; color: #fff;
  background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.5); border-radius: 999px; text-decoration: none; }
/* 手機:右上角只留「帳號 / 登入」,「我的案件」移到底部那一排 */
@media (max-width: 599px) { .nav-my { display: none; } }
/* 底部固定兩顆:等寬、同高、文字不換行(工單 21) */
.bottom-bar { position: fixed; left: 0; right: 0; bottom: 0; display: flex; gap: 10px; align-items: stretch;
  padding: 8px 16px calc(8px + env(safe-area-inset-bottom)); pointer-events: none; }
.bottom-bar > * { pointer-events: auto; }
.bottom-my { display: none; padding: 14px 18px; font-size: 17px; font-weight: 700; color: #1f5f8b; background: #fff;
  border: 2px solid #1f5f8b; border-radius: 999px; text-decoration: none; box-shadow: 0 2px 8px rgba(0,0,0,.15); }
@media (max-width: 599px) { .bottom-my { display: inline-block; } .bottom-bar { justify-content: space-between; } }
.fab { position: static; }
.auth-box { max-width: 460px; margin: 0 auto; padding: 18px; background: #fff; border: 1px solid #e3e8ee; border-radius: 12px; }
.auth-box h1 { margin: 0 0 10px; font-size: 22px; }
.auth-why { background: #eef4f9; border-left: 4px solid #1f5f8b; padding: 8px 12px; margin: 0 0 12px; }
.btn-line { width: 100%; padding: 16px; font-size: 18px; font-weight: 700; color: #fff; background: #06c755; border: 0; border-radius: 10px; cursor: pointer; }
.btn-line:active { background: #05a648; }
.my-title { font-size: 22px; margin: 0 0 4px; }
.my-meta { font-size: 17px; margin: 4px 0 12px; }   /* 戶別與帳號設定:與內文同一級(原本借 .hint 的 14px,長輩看不清楚) */
.private-tag { font-size: 13px; color: #5b6776; }
.logout-form { margin-top: 18px; }

/* 工單 21:管理者才看得到的「進入管理中心」 */
.nav-admin { background: #fff; color: #1f5f8b; border-color: #fff; }
.bottom-admin { display: none; padding: 14px 16px; font-size: 16px; font-weight: 700; color: #fff;
  background: #23384d; border-radius: 999px; text-decoration: none; box-shadow: 0 2px 8px rgba(0,0,0,.15); }
@media (max-width: 599px) { .bottom-admin { display: inline-block; } .nav-admin { display: none; } }

/* ---- 工單 21:手機標頭與底部 ---- */
.site-header { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.site-header .site-title { flex: 1 1 auto; min-width: 0; }
.site-header .site-sub { flex: 1 0 100%; order: 3; margin: 0; }
@media (max-width: 599px) {
  .site-header .site-sub { display: none; }   /* 手機不放第三樣東西,標題與帳號各佔一邊 */
}
/* 底部兩顆:等寬、不換行、不要太高 */
.bottom-bar > * { pointer-events: auto; flex: 1 1 0; text-align: center; white-space: nowrap;
  padding: 13px 8px; font-size: 17px; font-weight: 700; border-radius: 999px; box-shadow: 0 2px 8px rgba(0,0,0,.18); }
.bottom-my { display: block; color: #1f5f8b; background: #fff; border: 2px solid #1f5f8b; text-decoration: none; }
.fab { position: static; padding: 13px 8px; box-shadow: 0 2px 8px rgba(0,0,0,.18); }
@media (min-width: 600px) {
  /* 電腦版:底部只留「回報問題」,「我的案件」在右上角 */
  .bottom-bar { justify-content: flex-end; }
  .bottom-bar > * { flex: 0 0 auto; }
  .bottom-my { display: none; }
}

/* ---- 工單 22:戶別三段式選單 ---- */
.unit-picker { margin: 14px 0; }
.unit-selects { display: flex; gap: 8px; margin-top: 6px; }
.unit-seg { flex: 1 1 0; display: flex; flex-direction: column; gap: 4px; font-size: 14px; color: #5b6776; }
/* 🔴 長輩要用:選單本身要夠大、字要夠大(高度 52、字 18),不是預設的小方塊 */
.unit-seg select { width: 100%; min-height: 52px; font-size: 18px; padding: 10px 8px;
  border: 2px solid #c7d2dc; border-radius: 10px; background: #fff; color: #1d2733; }
.unit-seg select:focus { border-color: #1f5f8b; outline: 2px solid rgba(31,95,139,.25); }
.unit-picker .hint { margin-top: 6px; }

/* ---- Phase 7:戶別確認、戶別顯示 ---- */
/* 🔴 hidden 屬性一律真的隱藏。.btn 等 class 設了 display,會蓋掉 hidden 預設的 display: none,
   結果是「程式說藏起來、畫面上還在」(Phase 7 帳號頁兩顆通知按鈕同時出現;工單 21 的空白藍條是同一個原因)。 */
[hidden] { display: none !important; }
/* 確認畫面:字要大、警語要明顯(長輩看得清楚)。戶別本身是整頁最大的字。 */
.unit-confirm { text-align: center; }
.unit-confirm-value { font-size: 56px; font-weight: 800; letter-spacing: 2px; margin: 12px 0 8px; color: #13202c; }
.unit-confirm-warn { background: #fff4e5; border: 2px solid #b85c00; color: #7a3d00; border-radius: 12px;
  padding: 14px 12px; font-size: 18px; font-weight: 700; line-height: 1.6; margin: 8px 0 20px; }
.unit-confirm-actions { display: flex; gap: 10px; }
.unit-confirm-actions .btn { min-height: 56px; font-size: 18px; white-space: nowrap; padding-left: 12px; padding-right: 12px; }
/* 已註冊住戶的「不是這一戶,重新選擇」比較長:窄螢幕放不下兩顆時換行,各自撐滿一整行,不擠成兩行字 */
.unit-confirm-actions { flex-wrap: wrap; }
.unit-confirm-actions .btn { flex: 1 1 auto; }
.unit-confirm-intro { font-size: 17px; line-height: 1.6; margin: 0 0 4px; color: #3d4852; }
.report-unit-value, .account-unit-value { font-size: 24px; font-weight: 800; margin: 4px 0 0; }
.account-unit { margin: 12px 0 16px; }
.account-section { border-top: 1px solid #e3e8ee; padding-top: 14px; margin-top: 16px; }
.account-section h2 { font-size: 18px; margin: 0 0 6px; }
.push-status { font-weight: 700; margin: 0 0 4px; }
/* 標頭右上角顯示戶別:數字與字母,寬度固定不會擠到標題 */
.nav-unit { font-variant-numeric: tabular-nums; letter-spacing: .5px; }

/* ---- Phase 7:送出成功後的邀請、加到手機桌面教學 ---- */
.invite { text-align: left; background: #eaf2f8; border: 2px solid #1f5f8b; border-radius: 12px; padding: 14px; margin: 18px 0 0; }
.invite h2 { font-size: 19px; margin: 0 0 6px; }
.invite p { margin: 6px 0; font-size: 16px; line-height: 1.6; }
.invite-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.invite-actions .btn { flex: 1 1 140px; }
.invite-result { font-weight: 700; }
.install h1 { font-size: 24px; margin: 4px 0 8px; }
.install-why { list-style: none; padding: 0; margin: 0 0 14px; font-size: 18px; line-height: 1.8; }
.install-guide h2 { font-size: 20px; margin: 16px 0 8px; }
.install-steps { list-style: none; padding: 0; margin: 0; }
.install-steps li { background: #fff; border: 1px solid #e3e8ee; border-radius: 12px; padding: 12px; margin: 0 0 12px; }
.install-step-text { font-size: 18px; line-height: 1.6; margin: 0 0 8px; }
.install-steps img { display: block; width: 100%; max-width: 420px; height: auto; margin: 0 auto; border-radius: 10px; }
.btn-big { min-height: 60px; font-size: 20px; width: 100%; }
.install-note { color: var(--muted); font-size: 14px; }
.install-switch { text-align: center; margin: 18px 0; }
