:root {
  --ink: #172337;
  --muted: #68788c;
  --line: #e2e8ef;
  --surface: #fff;
  --canvas: #f4f6f8;
  --primary: #0968c7;
  --primary-dark: #07529f;
  --cyan: #189b9c;
  --mint: #e9f6f2;
  --amber: #e79a35;
  --rose: #df6672;
  --shadow: 0 10px 30px rgba(29, 54, 84, .08);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", Arial, sans-serif;
  color: var(--ink);
  background: var(--canvas);
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 0; overflow-x: hidden; background: var(--canvas); }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; border: 0; }
a { color: inherit; text-decoration: none; }
.app-shell { min-height: 100vh; display: flex; flex-direction: column; }
.container { width: min(1240px, calc(100% - 48px)); margin: 0 auto; }
.topbar { background: rgba(255,255,255,.96); border-bottom: 1px solid rgba(219,227,235,.9); position: sticky; top: 0; z-index: 20; box-shadow: 0 3px 16px rgba(31,54,82,.04); backdrop-filter: blur(12px); }
.topbar-inner { height: 76px; display: flex; align-items: center; gap: 25px; }
.brand { display: flex; align-items: center; gap: 10px; min-width: 170px; }
.brand img { width: 42px; height: 42px; object-fit: cover; border-radius: 7px; box-shadow: 0 3px 9px rgba(8,82,157,.14); }
.brand strong { font-size: 20px; letter-spacing: 1px; }
.brand small { display: block; color: var(--muted); font-size: 11px; letter-spacing: 0; margin-top: 2px; }
.city-switch { display: flex; align-items: center; gap: 5px; color: var(--muted); font-size: 13px; white-space: nowrap; background: transparent; border-radius: 7px; padding: 8px; }
.city-switch:hover { color: var(--primary); background: #eff6ff; }
.city-switch b { color: var(--ink); font-weight: 600; }
.city-switch i { color: #8fa0b3; font-style: normal; font-size: 10px; }
.main-nav { display: flex; gap: 4px; flex: 1; }
.nav-item { color: #536276; background: transparent; padding: 10px 15px; border-radius: 7px; font-size: 14px; font-weight: 500; }
.nav-item:hover, .nav-item.active { color: var(--primary); background: #eff6ff; }
.service-nav { display: flex; align-items: center; gap: 2px; margin-left: 4px; padding: 3px; border: 1px solid #e2ebf2; border-radius: 9px; background: #f7fafc; }
.service-nav::before { content: '服务入口'; padding: 0 4px 0 7px; color: #91a0ae; font-size: 10px; white-space: nowrap; }
.service-nav-item { position: relative; z-index: 1; padding: 7px 9px; color: #607086; background: transparent; border-radius: 6px; font-size: 12px; white-space: nowrap; pointer-events: auto; touch-action: manipulation; }
.service-nav-item:hover, .service-nav-item.active { color: var(--primary); background: #fff; box-shadow: 0 2px 7px rgba(30,77,111,.08); }
.top-actions { display: flex; align-items: center; gap: 9px; }
.utility-btn { min-width: 48px; height: 38px; padding: 0 10px; background: #f5f7fa; color: #64758a; border: 1px solid #edf1f5; border-radius: 7px; position: relative; font-size: 12px; }
.utility-btn:hover { color: var(--primary); background: #edf5fe; border-color: #dbeaf8; }
.icon-btn { width: 38px; height: 38px; background: #f1f5f9; color: #506277; border-radius: 10px; position: relative; }
.icon-btn:hover { color: var(--primary); background: #e9f3ff; }
.badge { position: absolute; top: -4px; right: -4px; min-width: 16px; height: 16px; background: var(--rose); color: #fff; font-size: 10px; border-radius: 9px; display: grid; place-items: center; padding: 0 4px; }
.btn { border-radius: 7px; padding: 11px 17px; font-weight: 600; transition: transform .15s, box-shadow .15s, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 7px 16px rgba(11, 99, 206, .18); }
.btn-primary:hover { background: var(--primary-dark); }
.btn-ghost { background: #eff5fc; color: var(--primary); }
.btn-line { background: #fff; color: var(--primary); border: 1px solid #bcd7f5; }
.btn-danger { background: #fff2f2; color: #c9515c; }
.btn-sm { padding: 8px 12px; font-size: 12px; }

.hero { padding: 58px 0 44px; background: linear-gradient(115deg, #edf6fe 0%, #f8fbfd 54%, #edf8f5 100%); border-bottom: 1px solid #dce8ef; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 58px; align-items: center; }
.eyebrow { color: var(--primary); font-size: 13px; font-weight: 700; letter-spacing: 1.5px; }
h1 { font-size: 54px; line-height: 1.14; margin: 13px 0 17px; letter-spacing: 0; }
.hero-copy { color: #66788d; line-height: 1.8; max-width: 530px; margin: 0 0 23px; }
.search-box { display: flex; gap: 8px; max-width: 600px; background: #fff; padding: 7px; border: 1px solid #d7e3ed; border-radius: 8px; box-shadow: 0 10px 26px rgba(38,74,112,.09); }
.search-box input { min-width: 0; flex: 1; border: 0; outline: none; padding: 0 11px; color: var(--ink); }
.hero-panel { min-height: 286px; border-radius: 8px; padding: 32px; color: #fff; background: linear-gradient(140deg, #0866c7, #139b9d); position: relative; overflow: hidden; box-shadow: 0 18px 42px rgba(13,99,155,.18); }
.hero-panel:after { content: ''; position: absolute; width: 200px; height: 200px; right: -60px; bottom: -84px; border: 30px solid rgba(255,255,255,.13); border-radius: 50%; }
.hero-panel h2 { font-size: 23px; margin: 0 0 7px; }
.hero-panel p { opacity: .85; font-size: 13px; line-height: 1.65; max-width: 280px; }
.hero-panel-list { display: grid; gap: 12px; margin-top: 23px; position: relative; z-index: 1; }
.hero-panel-list span { display: flex; align-items: center; gap: 9px; font-size: 13px; }
.hero-panel-list i { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.2); font-style: normal; font-size: 11px; }

.section { padding: 48px 0; }
.hero + .section { background: #fff; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 20px; }
.section-head h2 { font-size: 24px; margin: 0 0 6px; }
.section-head p { margin: 0; color: var(--muted); font-size: 13px; }
.text-link { color: var(--primary); font-size: 13px; font-weight: 600; background: transparent; }
.category-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.category { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 20px 8px; text-align: center; transition: box-shadow .2s, transform .2s, border-color .2s; }
.category:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.category img { width: 58px; height: 58px; object-fit: contain; display: block; margin: 0 auto 10px; }
.category strong { font-size: 13px; }
.category span { display: block; color: var(--muted); font-size: 11px; margin-top: 5px; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.service-catalog { margin: 28px 0 44px; }
.service-catalog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; }
.service-card { overflow: hidden; }
.service-photo { width: 100%; height: 172px; display: block; object-fit: cover; }
.service-card-body { padding: 15px 16px 16px; }
.service-card-top { display: flex; flex-direction: column; gap: 7px; }
.service-card-top strong { font-size: 17px; }
.service-tag { color: var(--primary); font-size: 11px; }
.service-card-body p { min-height: 42px; margin: 9px 0 15px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.service-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.service-price { color: #dc6955; font-size: 19px; font-weight: 700; }
.service-price small { color: var(--muted); font-size: 11px; font-weight: 400; }
.worker-results { border-top: 1px solid var(--line); padding-top: 34px; }
.result-count { color: var(--muted); font-size: 12px; }
.filter-group { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; }
.filter-group > span { color: var(--muted); font-size: 12px; }
.filter-compact { padding: 8px 10px; }
.worker-location { color: #8493a5; font-size: 11px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 3px 12px rgba(34,62,99,.035); }
.worker-card { padding: 19px; display: flex; gap: 15px; transition: box-shadow .2s, transform .2s, border-color .2s; }
.worker-card:hover { transform: translateY(-2px); border-color: #cfdce8; box-shadow: var(--shadow); }
.avatar { width: 57px; height: 57px; border-radius: 50%; object-fit: contain; background: #e9f3ff; flex: 0 0 auto; }
.worker-card h3 { margin: 1px 0 5px; font-size: 16px; }
.worker-meta { color: var(--muted); font-size: 12px; line-height: 1.7; }
.rating { color: #df8a25; font-size: 12px; }
.worker-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 13px; padding-top: 11px; border-top: 1px solid #eef2f6; }
.worker-price { color: var(--primary); font-weight: 700; }
.worker-price small { color: var(--muted); font-weight: 400; }
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.notice-card { padding: 20px; }
.notice-row { display: flex; align-items: start; gap: 11px; padding: 12px 0; border-bottom: 1px solid #eef2f6; }
.notice-row:last-child { border-bottom: 0; padding-bottom: 0; }
.notice-dot { width: 8px; height: 8px; background: var(--cyan); border-radius: 50%; margin-top: 6px; flex: 0 0 auto; }
.notice-row strong { display: block; font-size: 13px; }
.notice-row span { display: block; margin-top: 5px; color: var(--muted); font-size: 11px; }
.page { width: 100%; flex: 1; padding: 42px 0 70px; }
.page-title { margin-bottom: 24px; }
.page-title h1 { font-size: 32px; letter-spacing: 0; margin: 0 0 9px; }
.page-title p { margin: 0; color: var(--muted); font-size: 14px; }
.toolbar { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 18px; }
.filter { border: 1px solid var(--line); background: #fff; color: #607086; border-radius: 8px; padding: 9px 14px; font-size: 13px; }
.filter.active { border-color: #a9cff5; color: var(--primary); background: #edf6ff; }
.toolbar-search { flex: 1; min-width: 190px; display: flex; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.toolbar-search input { border: 0; outline: 0; min-width: 0; flex: 1; padding: 0 11px; }
.toolbar-search button { background: transparent; padding: 0 13px; color: var(--muted); }
.two-col { display: grid; grid-template-columns: 1fr 300px; gap: 20px; align-items: start; }
.side-panel { padding: 18px; position: sticky; top: 95px; }
.side-panel h3 { margin: 0 0 15px; font-size: 16px; }
.side-item { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid #eef2f6; font-size: 13px; }
.side-item span { color: var(--muted); }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.product-card { overflow: hidden; }
.product-card { transition: transform .2s, box-shadow .2s, border-color .2s; }
.product-card:hover { transform: translateY(-3px); border-color: #d1dde8; box-shadow: var(--shadow); }
.product-card img { width: 100%; height: 190px; object-fit: contain; padding: 23px; background: #f7f9fb; border-bottom: 1px solid #edf1f5; }
.product-info { padding: 18px; }
.product-info h3 { margin: 0 0 8px; font-size: 15px; }
.product-info p { height: 37px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.product-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; }
.product-price { color: #dc6955; font-size: 18px; font-weight: 700; }
.product-price small { font-size: 12px; }
.community-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 18px; }
.activity-card { padding: 20px; }
.activity-label { color: var(--primary); font-size: 11px; font-weight: 700; letter-spacing: 1px; }
.activity-card h3 { font-size: 20px; margin: 9px 0; }
.activity-card p { color: var(--muted); font-size: 13px; line-height: 1.7; }
.activity-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; color: var(--muted); font-size: 12px; }
.list-card { padding: 0 18px; }
.list-row { display: flex; justify-content: space-between; gap: 15px; padding: 16px 0; border-bottom: 1px solid #eef2f6; }
.list-row:last-child { border-bottom: 0; }
.list-row strong { display: block; font-size: 13px; }
.list-row span { display: block; color: var(--muted); font-size: 11px; margin-top: 5px; }
.order-tabs { display: flex; gap: 24px; border-bottom: 1px solid var(--line); margin-bottom: 17px; }
.order-tab { padding: 0 0 12px; background: transparent; color: var(--muted); font-size: 13px; position: relative; }
.order-tab.active { color: var(--primary); font-weight: 700; }
.order-tab.active:after { content: ''; position: absolute; bottom: -1px; left: 0; right: 0; height: 2px; background: var(--primary); }
.order-card { padding: 17px 19px; margin-bottom: 12px; }
.order-head, .order-foot { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.order-head { padding-bottom: 13px; border-bottom: 1px solid #eef2f6; }
.order-head strong { font-size: 13px; }
.order-status { color: var(--primary); font-size: 12px; }
.order-main { display: flex; align-items: center; gap: 12px; padding: 14px 0; }
.order-icon { width: 46px; height: 46px; border-radius: 9px; display: grid; place-items: center; background: #ebf6f6; color: #15969f; font-size: 21px; }
.order-main h3 { margin: 0 0 5px; font-size: 14px; }
.order-main p { margin: 0; color: var(--muted); font-size: 12px; }
.order-foot { color: var(--muted); font-size: 12px; }
.order-foot strong { color: #dc6955; font-size: 18px; }
.order-actions { display: flex; gap: 7px; }
.order-progress { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; padding: 12px 0 2px; }
.order-progress span { display: flex; align-items: center; gap: 5px; color: #a0adbb; font-size: 10px; white-space: nowrap; }
.order-progress i { width: 7px; height: 7px; border-radius: 50%; background: #dce3e9; }
.order-progress span.done { color: var(--primary); }
.order-progress span.done i { background: var(--primary); }
.support-section { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.support-ticket { padding: 15px 16px; margin-top: 10px; border: 1px solid #e2e9f0; border-radius: 9px; background: #fbfdff; }
.support-ticket > div:first-child { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.support-ticket strong { color: var(--ink); font-size: 13px; }
.support-ticket span { color: var(--primary); font-size: 11px; }
.support-ticket p { margin: 9px 0 10px; color: var(--muted); font-size: 12px; line-height: 1.65; }
.support-ticket.compact { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 15px; }
.support-empty { padding: 20px 15px; border: 1px dashed #d6e0ea; border-radius: 9px; color: var(--muted); font-size: 12px; background: #fff; }
.timeline-card { margin-top: 15px; padding: 14px; border: 1px solid var(--line); border-radius: 9px; background: #fbfdff; }
.ticket-timeline { margin-top: 12px; }
.timeline-item { position: relative; display: flex; gap: 10px; min-height: 45px; padding-bottom: 13px; color: #9aa8b6; }
.timeline-item:last-child { min-height: 0; padding-bottom: 0; }
.timeline-item:before { content: ''; position: absolute; left: 4px; top: 11px; bottom: 0; width: 1px; background: #dfe7ee; }
.timeline-item:last-child:before { display: none; }
.timeline-item i { position: relative; z-index: 1; width: 9px; height: 9px; margin-top: 3px; border-radius: 50%; background: #d6e0e8; }
.timeline-item.done { color: var(--ink); }
.timeline-item.done i { background: var(--primary); box-shadow: 0 0 0 3px #e4f2f6; }
.timeline-item strong, .timeline-item span { display: block; }
.timeline-item strong { font-size: 12px; }
.timeline-item span { margin-top: 3px; color: var(--muted); font-size: 11px; }
.order-contract-note { margin-top: 13px; color: var(--muted); font-size: 11px; line-height: 1.6; }
.support-issue { margin-top: 15px; padding: 13px; border-radius: 8px; background: #f7f9fb; color: var(--muted); font-size: 12px; line-height: 1.7; }
.support-issue b { color: var(--ink); }
.support-issue p { margin: 5px 0 0; white-space: pre-wrap; }
.profile-layout { display: grid; grid-template-columns: 250px 1fr; gap: 20px; align-items: start; }
.profile-side { padding: 18px; }
.profile-user { text-align: center; padding: 8px 0 20px; border-bottom: 1px solid var(--line); }
.profile-user .avatar { width: 73px; height: 73px; margin-bottom: 8px; }
.profile-user h3 { margin: 0 0 5px; }
.profile-user p { color: var(--muted); font-size: 12px; margin: 0; }
.profile-menu { padding-top: 10px; }
.profile-menu button { width: 100%; padding: 11px 10px; text-align: left; background: transparent; color: #596a7f; border-radius: 7px; font-size: 13px; }
.profile-menu button.active, .profile-menu button:hover { background: #edf6ff; color: var(--primary); }
.profile-main { display: grid; gap: 17px; }
.profile-banner { display: flex; justify-content: space-between; align-items: center; min-height: 116px; padding: 22px 24px; color: #fff; background: linear-gradient(120deg, #174e90, #2775b9); border-radius: 12px; overflow: hidden; }
.profile-banner h2 { margin: 0 0 6px; font-size: 19px; }
.profile-banner p { margin: 0; opacity: .8; font-size: 12px; }
.profile-kicker { display: block; margin-bottom: 8px; color: rgba(255,255,255,.7); font-size: 10px; letter-spacing: 1.1px; text-transform: uppercase; }
.profile-banner-mark { width: 76px; height: 76px; display: grid; place-items: center; margin-right: 9%; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; color: rgba(255,255,255,.9); font-size: 34px; font-weight: 800; transform: rotate(-8deg); box-shadow: 0 0 0 11px rgba(255,255,255,.06); }
.profile-quickbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 15px 18px; border: 1px solid #dce7ef; border-radius: 10px; background: #f7fbfd; }
.profile-quickbar strong, .profile-quickbar span { display: block; }
.profile-quickbar strong { color: #2d607c; font-size: 13px; }
.profile-quickbar span { margin-top: 4px; color: var(--muted); font-size: 11px; }
.profile-quick-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 11px; }
.stat-card { padding: 15px; }
.stat-card span { display: block; color: var(--muted); font-size: 11px; }
.stat-card strong { display: block; font-size: 22px; margin-top: 8px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 11px; }
.feature { padding: 15px; min-height: 102px; }
.feature b { display: block; color: #3f627d; font-size: 13px; margin-bottom: 9px; }
.feature span { color: var(--muted); font-size: 12px; line-height: 1.6; }
.empty { text-align: center; padding: 55px 20px; color: var(--muted); background: #fff; border: 1px dashed #d6e0ea; border-radius: 12px; }
.empty strong { display: block; color: #4d6278; margin-bottom: 7px; }
.site-footer { margin-top: auto; background: #172a40; color: #c9d4e2; }
.site-footer__inner { min-height: 108px; padding: 22px 0; display: grid; grid-template-columns: 1fr auto; gap: 12px 28px; align-items: center; }
.site-footer strong { display: block; color: #fff; font-size: 17px; letter-spacing: 1px; }
.site-footer__inner > div:first-child span { display: block; color: #91a3b9; font-size: 11px; margin-top: 5px; }
.site-footer nav { display: flex; gap: 18px; }
.site-footer nav button { background: transparent; color: #c9d4e2; font-size: 12px; padding: 3px 0; }
.site-footer nav button:hover { color: #fff; }
.site-footer__record { grid-column: 1 / -1; color: #91a3b9; font-size: 11px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.12); }
.site-footer__record a { color: #dce7f2; font-weight: 500; text-decoration: none; }
.site-footer__record a:hover, .site-footer__record a:focus-visible { color: #fff; text-decoration: underline; }

.modal-backdrop { position: fixed; inset: 0; z-index: 40; display: grid; place-items: center; background: rgba(21,37,59,.48); padding: 20px; }
.modal { width: min(590px, 100%); max-height: min(750px, calc(100vh - 40px)); overflow: auto; background: #fff; border-radius: 14px; box-shadow: 0 25px 70px rgba(16,40,72,.22); }
.modal.wide { width: min(760px, 100%); }
.modal-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 22px 15px; border-bottom: 1px solid var(--line); }
.modal-head h2 { font-size: 19px; margin: 0; }
.modal-close { width: 30px; height: 30px; color: var(--muted); background: #f3f6f9; border-radius: 50%; }
.modal-body { padding: 21px 22px; }
.service-detail-photo { width: 100%; height: 230px; display: block; object-fit: cover; }
.service-detail-copy { color: var(--muted); font-size: 14px; line-height: 1.8; }
.service-detail-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; }
.service-detail-list div { padding: 13px; border: 1px solid var(--line); border-radius: 8px; background: #f9fbfd; }
.service-detail-list b, .service-detail-list span { display: block; }
.service-detail-list b { color: #55708a; font-size: 11px; }
.service-detail-list span { margin-top: 7px; color: var(--ink); font-size: 12px; line-height: 1.5; }
.agreement-check { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; margin-top: 16px; color: #53687b; font-size: 12px; }
.agreement-check input { width: 16px; height: 16px; accent-color: var(--primary); }
.agreement-check button { padding: 0; color: var(--primary); background: transparent; font-size: 12px; }
.agreement-hint { margin: 7px 0 0; color: var(--muted); font-size: 11px; line-height: 1.6; }
.agreement-copy { color: #536477; font-size: 13px; line-height: 1.8; }
.agreement-copy h3 { margin: 0 0 5px; color: var(--ink); font-size: 14px; }
.agreement-copy p { margin: 0 0 15px; }
.legal-modal { width: min(780px, 100%); }
.legal-modal .modal-body { padding: 20px 25px 22px; }
.legal-copy { color: #536477; font-size: 13px; line-height: 1.85; }
.legal-copy h3 { margin: 19px 0 6px; color: var(--ink); font-size: 14px; }
.legal-copy h3:first-of-type { margin-top: 0; }
.legal-copy p { margin: 0 0 12px; }
.legal-copy .legal-lead { padding: 12px 14px; border-left: 3px solid #1a9f9a; color: #44677a; background: #f1f8f8; }
.wechat-pay-mark { display: flex; align-items: center; gap: 12px; padding: 15px; border-radius: 9px; background: #edf9f3; color: #1c9a63; }
.wechat-pay-mark > span { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: #1aad73; color: #fff; font-weight: 700; }
.wechat-pay-mark strong, .wechat-pay-mark small { display: block; }
.wechat-pay-mark strong { font-size: 14px; }
.wechat-pay-mark small { margin-top: 3px; color: #6c9e87; font-size: 11px; }
.payment-notice { color: var(--muted); font-size: 12px; line-height: 1.7; }
.btn-wechat { background: #16b776; color: #fff; box-shadow: 0 7px 16px rgba(22,183,118,.18); }
.payment-success-modal .modal-body { padding: 34px 28px 28px; text-align: center; }
.success-icon { width: 62px; height: 62px; display: grid; place-items: center; margin: 0 auto 12px; border-radius: 50%; background: #19b676; color: #fff; font-size: 34px; font-weight: 700; }
.payment-success-modal h2 { margin: 0; font-size: 24px; }
.payment-success-modal p { margin: 7px 0 16px; color: var(--muted); font-size: 13px; }
.success-amount { display: block; color: #1a9f68; font-size: 28px; }
.payment-receipt { margin-top: 22px; padding: 14px 16px; border: 1px dashed #b9d8c8; background: #f7fcf9; text-align: left; }
.payment-receipt div { display: flex; justify-content: space-between; gap: 15px; padding: 7px 0; border-bottom: 1px solid #e7f2eb; font-size: 12px; }
.payment-receipt div:last-child { border-bottom: 0; }
.payment-receipt span { color: var(--muted); }
.payment-receipt b { color: var(--ink); text-align: right; overflow-wrap: anywhere; }
.success-stamp { margin-top: 13px; color: #5b9b7a; font-size: 11px; }
.modal-subtitle { color: var(--muted); font-size: 11px; margin: 5px 0 0; }
.city-modal { width: min(760px, 100%); }
.city-modal .modal-body { padding: 0; overflow: hidden; }
.city-picker-layout { display: grid; grid-template-columns: 190px minmax(0, 1fr); height: min(62vh, 520px); min-height: min(420px, calc(100vh - 140px)); max-height: calc(100vh - 140px); }
.city-province-list, .city-city-list { min-width: 0; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #b9c9d8 transparent; -webkit-overflow-scrolling: touch; }
.city-province-list::-webkit-scrollbar, .city-city-list::-webkit-scrollbar { width: 6px; }
.city-province-list::-webkit-scrollbar-thumb, .city-city-list::-webkit-scrollbar-thumb { border-radius: 999px; background: #b9c9d8; }
.city-province-list::-webkit-scrollbar-track, .city-city-list::-webkit-scrollbar-track { background: transparent; }
.city-province-list { padding: 12px 10px 18px; border-right: 1px solid var(--line); background: #f7f9fc; }
.city-city-list { padding: 12px 20px 24px; background: #fff; }
.city-list-heading { position: sticky; top: -12px; z-index: 1; min-height: 42px; padding: 13px 10px 10px; color: #7a8b9d; background: inherit; font-size: 12px; font-weight: 600; }
.city-list-heading span { margin-left: 6px; color: #a0adba; font-weight: 400; }
.city-province-option { position: relative; width: 100%; min-height: 42px; padding: 9px 12px; border-radius: 6px; background: transparent; color: #53677d; text-align: left; font-size: 13px; }
.city-province-option:hover { color: var(--primary); background: #edf4fb; }
.city-province-option.active { color: var(--primary); background: #e7f2fd; font-weight: 700; }
.city-province-option.active::before { content: ''; position: absolute; left: 0; top: 10px; bottom: 10px; width: 3px; border-radius: 3px; background: var(--primary); }
.city-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 5px 10px 12px; }
.city-option { min-width: 0; min-height: 42px; padding: 9px 8px; border: 1px solid #e2e8ef; border-radius: 7px; background: #fff; color: #41556c; font-size: 13px; }
.city-option:hover { color: var(--primary); border-color: #b9d9f7; background: #f3f8fe; }
.city-option.active { color: var(--primary); border-color: #86bce9; background: #e8f3ff; box-shadow: 0 0 0 2px rgba(53, 137, 207, .08); font-weight: 700; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { display: block; color: #596d82; font-size: 12px; margin-bottom: 6px; }
.form-field input, .form-field select, .form-field textarea { width: 100%; border: 1px solid #dbe4ed; border-radius: 7px; outline: 0; padding: 10px; color: var(--ink); background: #fff; }
.form-field textarea { min-height: 75px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: #83b8eb; box-shadow: 0 0 0 3px #eaf4ff; }
.quote { background: #f5f9fd; border-radius: 9px; padding: 14px; margin-top: 15px; }
.quote-row { display: flex; justify-content: space-between; padding: 5px 0; color: var(--muted); font-size: 12px; }
.quote-row.total { padding-top: 11px; border-top: 1px solid #dfe8f0; color: var(--ink); font-weight: 700; }
.quote-row.total strong { color: #dc6955; font-size: 20px; }
.modal-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 18px; }
.login-tabs { display: flex; gap: 18px; border-bottom: 1px solid var(--line); margin-bottom: 17px; }
.login-tab { padding: 0 0 10px; color: var(--muted); background: transparent; font-size: 13px; }
.login-tab.active { color: var(--primary); border-bottom: 2px solid var(--primary); }
.role-pills { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 15px; }
.role-pill { background: #f0f4f8; color: #6a7b8e; padding: 7px 11px; border-radius: 16px; font-size: 12px; }
.role-pill.active { background: #e9f3ff; color: var(--primary); }
.drawer { position: fixed; z-index: 41; inset: 0; background: rgba(21,37,59,.38); overscroll-behavior: contain; touch-action: none; }
.drawer-panel { position: absolute; top: 0; right: 0; height: 100%; width: min(430px, 100%); background: #fff; box-shadow: -15px 0 45px rgba(16,40,72,.16); display: flex; flex-direction: column; touch-action: auto; }
.drawer-body { padding: 19px; overflow: auto; flex: 1; }
.cart-item { display: flex; align-items: center; gap: 11px; padding: 12px 0; border-bottom: 1px solid #eef2f6; }
.cart-item img { width: 59px; height: 59px; background: #f7fafc; border-radius: 7px; object-fit: contain; }
.cart-item h3 { font-size: 13px; margin: 0 0 5px; }
.cart-item p { margin: 0; color: #dc6955; font-weight: 700; font-size: 13px; }
.qty { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.qty button { width: 23px; height: 23px; border: 1px solid #dbe4ed; background: #fff; border-radius: 4px; }
.drawer-foot { border-top: 1px solid var(--line); padding: 17px; }
.drawer-total { display: flex; justify-content: space-between; align-items: center; margin-bottom: 13px; }
.drawer-total strong { color: #dc6955; font-size: 22px; }
.mobile-menu-drawer { z-index: 45; }
.mobile-menu-panel { left: 0; right: auto; width: min(330px, 86vw); box-shadow: 15px 0 45px rgba(16,40,72,.18); }
.mobile-menu-head { min-height: 86px; padding: 19px 18px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.mobile-menu-head strong { display: block; font-size: 20px; }
.mobile-menu-head span { display: block; color: var(--muted); font-size: 12px; margin-top: 4px; }
.mobile-menu-links { padding: 10px; overflow-y: auto; }
.mobile-menu-link { width: 100%; min-height: 50px; display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 9px; padding: 7px 10px; color: #465a70; background: transparent; border-radius: 7px; text-align: left; font-size: 14px; }
.mobile-menu-link i { width: 30px; height: 30px; display: grid; place-items: center; color: var(--primary); background: #edf6ff; border-radius: 7px; font-style: normal; font-size: 16px; }
.mobile-menu-link b { color: #9aabba; font-size: 19px; font-weight: 400; }
.mobile-menu-link:hover, .mobile-menu-link.active { color: var(--primary); background: #f0f6fd; font-weight: 600; }
.mobile-menu-note { margin-top: auto; padding: 17px 20px calc(17px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.mobile-menu-note strong { color: var(--ink); margin-left: 4px; }
.mobile-menu-note button { float: right; }
.help-page { background: #f5f8fb; }
.help-hero { display: flex; justify-content: space-between; align-items: center; min-height: 286px; padding: 38px 54px; overflow: hidden; border: 1px solid #dce8ef; border-radius: 14px; background: linear-gradient(110deg, #eaf5fb 0%, #f8fbfd 62%, #eaf8f2 100%); position: relative; }
.help-hero:after { content: ''; position: absolute; width: 310px; height: 310px; right: 11%; top: -170px; border: 48px solid rgba(32, 154, 180, .08); border-radius: 50%; }
.help-kicker { display: inline-flex; padding: 5px 9px; border-radius: 4px; background: #dff3ef; color: #188b89; font-size: 11px; font-weight: 700; letter-spacing: 1.2px; }
.help-hero h1 { margin: 13px 0 10px; font-size: 40px; line-height: 1.2; }
.help-hero h1 em { color: #0878b9; font-style: normal; }
.help-hero p { max-width: 490px; margin: 0 0 22px; color: #5d7285; font-size: 14px; line-height: 1.8; }
.help-search { display: flex; width: min(540px, 100%); min-height: 48px; border: 1px solid #cfe0eb; border-radius: 7px; background: #fff; box-shadow: 0 10px 24px rgba(35, 86, 115, .08); overflow: hidden; }
.help-search span { display: grid; place-items: center; width: 43px; color: #84a4b4; font-size: 20px; }
.help-search input { min-width: 0; flex: 1; padding: 0 8px; outline: 0; border: 0; color: var(--ink); }
.help-search button { width: 88px; background: #0877bd; color: #fff; font-weight: 700; }
.help-hero-stamp { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 16px; width: 220px; margin-right: 7%; padding: 18px; color: #11659a; border: 1px solid rgba(47, 146, 182, .26); border-radius: 12px; background: rgba(255,255,255,.58); position: relative; z-index: 1; }
.help-hero-stamp strong { grid-column: 1 / -1; font-size: 22px; }
.help-hero-stamp span { color: #678599; font-size: 12px; line-height: 1.7; }
.help-hero-stamp i { display: grid; place-items: center; width: 56px; height: 56px; color: #fff; background: #18a7a1; border-radius: 50%; font-size: 29px; font-style: normal; font-weight: 700; }
.help-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 22px; margin-top: 26px; }
.help-section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin: 8px 0 15px; }
.help-section-head h2 { margin: 7px 0 5px; font-size: 24px; }
.help-section-head p { margin: 0; color: var(--muted); font-size: 12px; }
.help-action-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 11px; }
.help-action-grid button { min-height: 142px; padding: 18px 13px; text-align: left; border: 1px solid #dce6ee; border-radius: 9px; background: #fff; box-shadow: 0 4px 14px rgba(35,64,94,.035); transition: transform .2s, border-color .2s, box-shadow .2s; }
.help-action-grid button:hover { transform: translateY(-2px); border-color: #acd5eb; box-shadow: var(--shadow); }
.help-action-grid i { display: grid; place-items: center; width: 37px; height: 37px; margin-bottom: 17px; color: #0878bd; border-radius: 10px; background: #e9f5fb; font-size: 20px; font-style: normal; }
.help-action-grid button:nth-child(2) i { color: #0f9995; background: #e5f6f3; }
.help-action-grid button:nth-child(3) i { color: #d28b2d; background: #fff4df; }
.help-action-grid button:nth-child(4) i { color: #ba5a84; background: #fbeaf1; }
.help-action-grid b { display: block; font-size: 14px; }
.help-action-grid span { display: block; margin-top: 7px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.help-question-head { margin-top: 33px; }
.help-question-list { display: grid; gap: 10px; }
.help-question { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; align-items: start; gap: 12px; padding: 17px 18px; border: 1px solid #e0e8ee; border-radius: 9px; background: #fff; }
.help-question-icon { display: grid; place-items: center; width: 30px; height: 30px; color: #0879bb; background: #eaf5fc; border-radius: 8px; font-weight: 700; }
.help-question h3 { margin: 0; font-size: 14px; }
.help-question p { margin: 7px 0 8px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.help-question span { padding: 4px 7px; color: #648093; background: #f1f6f8; border-radius: 3px; font-size: 10px; }
.help-question > b { color: #9badba; font-size: 24px; font-weight: 400; }
.help-aside { display: grid; align-content: start; gap: 13px; }
.help-aside-card, .help-contact { padding: 21px; border: 1px solid #dfe8ee; border-radius: 10px; background: #fff; }
.help-aside-primary { color: #fff; border-color: #0c7caf; background: linear-gradient(145deg, #087ab5, #0a9d98); }
.help-aside-primary .eyebrow { color: rgba(255,255,255,.75); }
.help-aside-primary h3 { margin: 13px 0 8px; font-size: 20px; }
.help-aside-primary p { margin: 0 0 19px; color: rgba(255,255,255,.8); font-size: 12px; line-height: 1.7; }
.help-aside-primary .btn-primary { background: #fff; color: #0877b7; box-shadow: none; }
.help-aside-card h3 { margin: 0 0 17px; font-size: 16px; }
.help-progress { display: grid; grid-template-columns: 1fr 1fr; gap: 13px 8px; }
.help-progress span { display: flex; align-items: center; gap: 7px; color: #5d7181; font-size: 12px; }
.help-progress i { width: 9px; height: 9px; border: 2px solid #b4c6d1; border-radius: 50%; }
.help-progress i.done { border-color: #16a49b; background: #16a49b; box-shadow: 0 0 0 3px #e1f5f1; }
.help-aside-card > p { margin: 18px 0 0; color: var(--muted); font-size: 11px; line-height: 1.7; }
.help-contact { display: grid; gap: 6px; background: #edf7f6; border-color: #d4eeea; }
.help-contact strong { font-size: 14px; }
.help-contact span { color: #638083; font-size: 11px; line-height: 1.6; }
.toast { position: fixed; left: 50%; bottom: 30px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; z-index: 70; background: #1c2d42; color: #fff; padding: 10px 16px; border-radius: 7px; font-size: 13px; transition: opacity .2s, transform .2s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.mobile-menu { display: none; }
@media (max-width: 900px) {
  .main-nav { display: none; }
  .mobile-menu { display: grid; place-items: center; flex: 0 0 38px; font-size: 21px; line-height: 1; }
  .hero-grid, .community-grid, .two-col, .profile-layout { grid-template-columns: 1fr; }
  .hero-panel { display: none; }
  .side-panel { position: static; }
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .service-grid, .product-grid, .service-catalog-grid { grid-template-columns: repeat(2, 1fr); }
  .profile-side { display: grid; grid-template-columns: 150px 1fr; gap: 15px; }
  .profile-user { border-right: 1px solid var(--line); border-bottom: 0; padding-right: 15px; }
  .profile-menu { padding-top: 0; }
  .service-nav { display: none; }
  .help-layout { grid-template-columns: 1fr; }
  .help-aside { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .help-contact { grid-column: 1 / -1; }
  h1 { font-size: 44px; }
}
@media (min-width: 591px) and (max-width: 900px) {
  .topbar-inner { gap: 10px; }
  .service-nav { display: flex; flex: 0 0 auto; max-width: 42vw; overflow-x: auto; scrollbar-width: none; }
  .service-nav::-webkit-scrollbar { display: none; }
  .service-nav::before { display: none; }
  .service-nav-item { padding: 7px 8px; }
  .top-actions .utility-btn { display: none; }
}
@media (max-width: 590px) {
  .container { width: min(100% - 26px, 1180px); }
  .topbar-inner { height: 64px; gap: 9px; }
  .brand { min-width: 0; flex: 1; }
  .brand img { width: 34px; height: 34px; }
  .brand strong { font-size: 16px; white-space: nowrap; }
  .brand small { display: none; }
  .city-switch { padding: 7px 4px; }
  .city-switch span { display: none; }
  .top-actions .btn { min-height: 38px; padding: 8px 10px; font-size: 12px; white-space: nowrap; }
  .hero { padding: 30px 0 33px; }
  h1 { font-size: 34px; line-height: 1.18; margin-top: 11px; }
  .hero-copy { font-size: 14px; line-height: 1.75; }
  .section { padding: 30px 0; }
  .section-head { gap: 12px; align-items: flex-end; }
  .section-head h2 { font-size: 21px; }
  .section-head p { line-height: 1.55; }
  .category-grid { gap: 8px; }
  .category { padding: 13px 4px; }
  .category img { width: 41px; height: 41px; }
  .category strong { font-size: 12px; }
  .service-grid, .product-grid, .split-grid, .stat-grid, .feature-grid { grid-template-columns: 1fr; }
  .service-catalog-grid { grid-template-columns: 1fr; }
  .service-photo { height: 190px; }
  .service-detail-photo { height: 180px; }
  .service-detail-list { grid-template-columns: 1fr; }
  .product-card img { height: 185px; }
  .profile-side { display: block; }
  .profile-user { border-right: 0; border-bottom: 1px solid var(--line); padding: 8px 0 16px; }
  .profile-menu { padding-top: 9px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
  .profile-banner { min-height: 132px; padding: 19px; }
  .profile-banner-mark { width: 58px; height: 58px; margin-right: 2%; font-size: 26px; }
  .profile-quickbar { align-items: flex-start; flex-direction: column; }
  .profile-quick-actions { width: 100%; justify-content: flex-start; }
  .form-grid { grid-template-columns: 1fr; }
  .form-field.full { grid-column: auto; }
  .search-box { min-height: 50px; }
  .search-box input { width: 100%; font-size: 13px; }
  .search-box .btn { flex: 0 0 auto; padding: 10px 13px; }
  .top-actions .utility-btn { display: none; }
  .help-hero { display: block; min-height: 0; padding: 27px 20px 23px; }
  .help-hero h1 { font-size: 31px; }
  .help-hero p { font-size: 13px; }
  .help-hero-stamp { width: 100%; margin: 19px 0 0; grid-template-columns: 1fr auto; }
  .help-layout { gap: 4px; }
  .help-action-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .help-action-grid button { min-height: 130px; padding: 14px 11px; }
  .help-section-head { align-items: flex-start; flex-direction: column; }
  .help-question { grid-template-columns: 30px minmax(0, 1fr) auto; padding: 14px 12px; gap: 9px; }
  .help-question p { font-size: 11px; }
  .help-aside { grid-template-columns: 1fr; }
  .help-contact { grid-column: auto; }
  .help-search button { width: 72px; }
  .page { padding: 28px 0 48px; }
  .page-title { margin-bottom: 20px; }
  .page-title h1 { font-size: 27px; }
  .page-title p { font-size: 13px; line-height: 1.65; }
  .toolbar-search { flex-basis: 100%; min-height: 44px; }
  .filter { padding: 9px 11px; }
  .order-tabs { gap: 18px; overflow-x: auto; white-space: nowrap; }
  .order-head strong { min-width: 0; overflow-wrap: anywhere; }
  .order-main { align-items: flex-start; }
  .order-main > div:last-child { min-width: 0; }
  .order-main p { line-height: 1.65; overflow-wrap: anywhere; }
  .order-foot { align-items: flex-start; flex-direction: column; }
  .order-foot > div { width: 100%; flex-wrap: wrap; justify-content: space-between; }
  .order-actions { flex-wrap: wrap; justify-content: flex-end; }
  .order-progress { gap: 2px; }
  .order-progress span { font-size: 9px; gap: 3px; }
  .activity-bottom, .product-foot { align-items: flex-start; gap: 12px; }
  .activity-bottom { flex-direction: column; }
  .list-row { align-items: flex-start; }
  .site-footer__inner { grid-template-columns: 1fr; gap: 15px; }
  .site-footer nav { gap: 14px; flex-wrap: wrap; }
  .site-footer__record { grid-column: auto; }
  .city-modal .modal-head { flex: 0 0 auto; }
  .city-modal .modal-body { padding: 0; }
  .city-picker-layout { grid-template-columns: minmax(104px, 32%) minmax(0, 1fr); min-height: 0; height: min(68dvh, 540px); max-height: none; }
  .city-province-list { padding: 8px 7px calc(12px + env(safe-area-inset-bottom)); }
  .city-city-list { padding: 8px 8px calc(12px + env(safe-area-inset-bottom)); }
  .city-list-heading { top: -8px; min-height: 40px; padding: 12px 7px 9px; }
  .city-province-option { min-height: 43px; padding: 8px 8px; font-size: 12px; overflow-wrap: anywhere; }
  .city-options { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 5px 5px 12px; }
  .city-option { min-height: 42px; padding: 8px 4px; font-size: 12px; overflow-wrap: anywhere; }
  .modal-backdrop { align-items: end; padding: 0; }
  .modal { width: 100%; max-height: calc(100dvh - 24px); border-radius: 14px 14px 0 0; }
  .modal-head { padding: 17px 16px 13px; }
  .modal-body { padding: 17px 16px calc(18px + env(safe-area-inset-bottom)); }
  .legal-modal .modal-body { padding: 17px 16px calc(18px + env(safe-area-inset-bottom)); }
  .legal-copy { font-size: 12px; line-height: 1.8; }
  .legal-copy h3 { margin-top: 17px; font-size: 13px; }
  .modal-actions { flex-wrap: wrap; }
  .modal-actions .btn { min-height: 42px; }
  .quote-row { gap: 16px; }
  .quote-row b, .quote-row strong { max-width: 64%; text-align: right; overflow-wrap: anywhere; }
  .drawer-panel { width: 100%; }
  .mobile-menu-panel { width: min(330px, 86vw); }
  .toast { width: max-content; max-width: calc(100% - 32px); bottom: calc(20px + env(safe-area-inset-bottom)); text-align: center; }
}

@media (max-width: 370px) {
  .container { width: calc(100% - 22px); }
  .brand strong { font-size: 15px; }
  .city-switch { font-size: 12px; }
  .top-actions .btn { padding-inline: 8px; }
  h1 { font-size: 31px; }
  .category span { font-size: 10px; }
}
