
  * { margin: 0; padding: 0; box-sizing: border-box; }
  :root {
    --bg-primary: #14161B;
    --bg-secondary: #1C1F26;
    --bg-card: #22262F;
    --bg-card-hover: #2A2F3A;
    --bg-elevated: #2A2F3A;
    --text-primary: #EDEAE3;
    --text-secondary: #9CA0A8;
    --text-muted: #6B6F78;
    --accent: #C9A962;
    --accent-light: #D4B87A;
    --accent-dim: rgba(201, 169, 98, 0.12);
    --border: #2E333D;
    --border-light: #3D4350;
    --success: #64B478;
    --warning: #D4A853;
    --danger: #D46464;
  }
  @media (prefers-color-scheme: light) {
    :root {
      --bg-primary: #F5F3EE;
      --bg-secondary: #FFFFFF;
      --bg-card: #FFFFFF;
      --bg-card-hover: #FAF8F3;
      --bg-elevated: #EDEAE3;
      --text-primary: #1A1D23;
      --text-secondary: #5C6068;
      --text-muted: #8B8F98;
      --border: #E2DFD8;
      --border-light: #D4D0C8;
    }
  }
  body {
    background: var(--bg-primary); color: var(--text-primary);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', sans-serif;
    line-height: 1.6; -webkit-font-smoothing: antialiased;
  }
  .container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

  /* ===== 通用组件 ===== */
  .btn { padding: 10px 24px; border: none; border-radius: 6px; font-size: 14px; font-weight: 600; cursor: pointer; transition: all 0.2s; font-family: inherit; }
  .btn-primary { background: var(--accent); color: #14161B; }
  .btn-primary:hover { background: var(--accent-light); }
  .btn-outline { background: transparent; color: var(--text-primary); border: 1px solid var(--border-light); }
  .btn-outline:hover { border-color: var(--accent); color: var(--accent); }
  .btn-sm { padding: 6px 14px; font-size: 13px; }
  .btn-block { width: 100%; }
  .tag { display: inline-block; padding: 3px 10px; border-radius: 4px; font-size: 12px; font-weight: 500; }
  .tag-accent { background: var(--accent-dim); color: var(--accent); }
  .tag-green { background: rgba(100,180,120,0.12); color: var(--success); }
  .tag-red { background: rgba(212,100,100,0.12); color: var(--danger); }
  .tag-muted { background: var(--bg-elevated); color: var(--text-muted); }

  /* ===== 导航栏 ===== */
  nav { position: sticky; top: 0; z-index: 100; background: rgba(20,22,27,0.92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
  @media (prefers-color-scheme: light) { nav { background: rgba(255,255,255,0.92); } }
  .nav-inner { display: flex; justify-content: space-between; align-items: center; height: 68px; }
  .logo { font-size: 20px; font-weight: 900; letter-spacing: 2px; cursor: pointer; }
  .logo span { color: var(--accent); }
  .nav-links { display: flex; gap: 28px; align-items: center; }
  .nav-links a { color: var(--text-secondary); text-decoration: none; font-size: 14px; transition: color 0.2s; cursor: pointer; }
  .nav-links a:hover, .nav-links a.active { color: var(--text-primary); }
  .nav-right { display: flex; align-items: center; gap: 16px; }
  .nav-icon { position: relative; cursor: pointer; color: var(--text-secondary); font-size: 18px; }
  .nav-icon:hover { color: var(--text-primary); }
  .badge-dot { position: absolute; top: -4px; right: -6px; width: 8px; height: 8px; background: var(--danger); border-radius: 50%; }
  .nav-user { display: flex; align-items: center; gap: 8px; cursor: pointer; }
  .avatar-sm { width: 32px; height: 32px; border-radius: 50%; background: var(--bg-elevated); border: 1px solid var(--border-light); display: flex; align-items: center; justify-content: center; font-size: 13px; color: var(--text-secondary); }
  .btn-login-nav { padding: 6px 16px; font-size: 13px; }

  /* ===== 视图切换 ===== */
  .view { display: none; min-height: calc(100vh - 68px); }
  .view.active { display: block; }

  /* ===== 公告栏 ===== */
  .announcement-bar { background: var(--accent-dim); border-bottom: 1px solid var(--border); padding: 10px 0; font-size: 13px; color: var(--accent); text-align: center; }

  /* ===== Hero ===== */
  .hero { padding: 100px 0 80px; text-align: center; position: relative; overflow: hidden; background: var(--bg-secondary); }
  .hero::before { content: ''; position: absolute; inset: 0; background:
    radial-gradient(ellipse 80% 50% at 50% 0%, var(--accent-dim) 0%, transparent 70%),
    radial-gradient(circle at 20% 30%, rgba(201,169,98,0.06) 0%, transparent 40%),
    radial-gradient(circle at 80% 60%, rgba(201,169,98,0.04) 0%, transparent 40%); }
  .hero::after { content: ''; position: absolute; inset: 0; background-image:
    linear-gradient(rgba(201,169,98,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,169,98,0.03) 1px, transparent 1px);
    background-size: 60px 60px; mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%); }
  .hero-content { position: relative; z-index: 1; }
  .hero-tag { display: inline-block; padding: 8px 20px; border: 1px solid var(--border-light); border-radius: 100px; font-size: 12px; color: var(--accent); letter-spacing: 2px; margin-bottom: 28px; background: rgba(201,169,98,0.05); }
  .hero h1 { font-size: 64px; font-weight: 900; letter-spacing: 8px; margin-bottom: 20px; line-height: 1.1; }
  .hero h1 span { color: var(--accent); }
  .hero p { font-size: 17px; color: var(--text-secondary); max-width: 560px; margin: 0 auto 36px; font-weight: 300; line-height: 1.8; }
  .hero-actions { display: flex; gap: 16px; justify-content: center; margin-bottom: 48px; }
  .hero-features { display: flex; gap: 48px; justify-content: center; padding-top: 32px; border-top: 1px solid var(--border); max-width: 600px; margin: 0 auto; }
  .hero-feature { text-align: center; }
  .hero-feature-icon { font-size: 20px; margin-bottom: 6px; }
  .hero-feature-label { font-size: 12px; color: var(--text-muted); }
  .hero-stats { display: flex; gap: 48px; justify-content: center; margin-top: 48px; }
  .hero-stat { text-align: center; }
  .hero-stat-num { font-size: 28px; font-weight: 900; color: var(--accent); }
  .hero-stat-label { font-size: 12px; color: var(--text-muted); margin-top: 4px; }

  /* ===== 区块 ===== */
  .section { padding: 56px 0; }
  .section.alt { background: var(--bg-secondary); }
  .section-header { margin-bottom: 32px; display: flex; justify-content: space-between; align-items: flex-end; }
  .section-label { font-size: 12px; color: var(--accent); letter-spacing: 2px; font-weight: 500; margin-bottom: 8px; }
  .section-title { font-size: 26px; font-weight: 900; letter-spacing: 1px; }
  .section-more { font-size: 13px; color: var(--text-secondary); cursor: pointer; }
  .section-more:hover { color: var(--accent); }

  /* ===== 服务卡片 ===== */
  .cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
  .service-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px; padding: 22px; transition: all 0.25s; cursor: pointer; }
  .service-card:hover { background: var(--bg-card-hover); border-color: var(--border-light); transform: translateY(-2px); }
  .service-card .card-code { font-size: 11px; color: var(--text-muted); letter-spacing: 1px; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
  .service-card .card-title { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
  .service-card .card-desc { font-size: 13px; color: var(--text-secondary); margin-bottom: 16px; line-height: 1.6; }
  .service-card .card-footer { display: flex; justify-content: space-between; align-items: center; padding-top: 14px; border-top: 1px solid var(--border); }
  .price { font-size: 20px; font-weight: 900; color: var(--accent); }
  .price-unit { font-size: 12px; color: var(--text-muted); font-weight: 400; }
  .guarantee { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
  .guarantee strong { color: var(--text-secondary); font-weight: 500; }

  /* ===== 打手卡片 ===== */
  .staffer-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
  .staffer-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px; padding: 28px 20px; text-align: center; cursor: pointer; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
  .staffer-card:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.2); }
  .staffer-avatar { width: 80px; height: 80px; border-radius: 50%; margin: 0 auto 14px; overflow: hidden; position: relative; border: 2px solid var(--border-light); transition: border-color 0.3s; }
  .staffer-card:hover .staffer-avatar { border-color: var(--accent); }
  .staffer-avatar svg { width: 100%; height: 100%; }
  .staffer-name { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
  .staffer-badge { font-size: 11px; color: var(--accent); background: var(--accent-dim); padding: 3px 10px; border-radius: 100px; display: inline-block; margin-bottom: 10px; }
  .staffer-rating { font-size: 13px; color: var(--text-secondary); }
  .staffer-rating strong { color: var(--accent); }
  .online-dot { display: inline-block; width: 6px; height: 6px; background: var(--success); border-radius: 50%; margin-right: 4px; }

  /* ===== 好评墙 ===== */
  .reviews-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
  .review-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px; padding: 20px; }
  .review-header { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
  .review-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--bg-elevated); display: flex; align-items: center; justify-content: center; font-size: 14px; color: var(--accent); }
  .review-name { font-size: 14px; font-weight: 600; }
  .review-stars { font-size: 12px; color: var(--accent); margin-left: auto; }
  .review-text { font-size: 13px; color: var(--text-secondary); line-height: 1.7; }

  /* ===== 活动条 ===== */
  .promo-bar { background: linear-gradient(90deg, var(--accent-dim), rgba(201,169,98,0.05)); border: 1px solid var(--border); border-radius: 10px; padding: 20px 28px; display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; }
  .promo-title { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
  .promo-desc { font-size: 13px; color: var(--text-secondary); }

  /* ===== 打手详情 ===== */
  .staffer-detail-layout { display: grid; grid-template-columns: 280px 1fr; gap: 32px; padding: 40px 0; }
  .staffer-profile-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 28px; text-align: center; }
  .staffer-big-avatar { width: 96px; height: 96px; border-radius: 50%; background: var(--accent-dim); margin: 0 auto 16px; display: flex; align-items: center; justify-content: center; font-size: 36px; color: var(--accent); font-weight: 700; }
  .staffer-info-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 13px; }
  .staffer-info-row:last-child { border-bottom: none; }
  .staffer-info-label { color: var(--text-muted); }
  .staffer-info-value { color: var(--text-primary); font-weight: 500; }

  /* ===== 下单流程 ===== */
  .checkout-steps { display: flex; justify-content: center; gap: 0; margin-bottom: 40px; }
  .checkout-step { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-muted); }
  .checkout-step.active { color: var(--accent); font-weight: 600; }
  .checkout-step-num { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--border-light); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; }
  .checkout-step.active .checkout-step-num { border-color: var(--accent); background: var(--accent); color: #14161B; }
  .checkout-line { width: 60px; height: 1px; background: var(--border-light); margin: 0 12px; }
  .detail-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 24px; margin-bottom: 16px; }
  .detail-card h3 { font-size: 16px; margin-bottom: 16px; }
  .form-group { margin-bottom: 16px; }
  .form-label { display: block; font-size: 13px; color: var(--text-secondary); margin-bottom: 6px; }
  .form-input, .form-select, .form-textarea { width: 100%; padding: 10px 14px; background: var(--bg-primary); border: 1px solid var(--border-light); border-radius: 6px; color: var(--text-primary); font-size: 14px; font-family: inherit; }
  .form-input:focus, .form-select:focus, .form-textarea:focus { outline: none; border-color: var(--accent); }
  .payment-options { display: flex; flex-direction: column; gap: 10px; }
  .payment-option { display: flex; align-items: center; gap: 12px; padding: 14px; border: 1px solid var(--border); border-radius: 8px; cursor: pointer; transition: all 0.2s; }
  .payment-option:hover, .payment-option.selected { border-color: var(--accent); background: var(--accent-dim); }
  .payment-radio { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--border-light); }
  .payment-option.selected .payment-radio { border-color: var(--accent); background: var(--accent); box-shadow: inset 0 0 0 3px var(--bg-card); }

  /* ===== 订单列表 ===== */
  .order-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border); margin-bottom: 24px; overflow-x: auto; }
  .order-tab { padding: 10px 16px; font-size: 14px; color: var(--text-secondary); cursor: pointer; border-bottom: 2px solid transparent; white-space: nowrap; }
  .order-tab.active { color: var(--accent); border-bottom-color: var(--accent); }
  .order-item { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--border); cursor: pointer; }
  .order-item:hover .order-name { color: var(--accent); }
  .order-info { flex: 1; }
  .order-no { font-size: 12px; color: var(--text-muted); margin-bottom: 4px; }
  .order-name { font-size: 15px; font-weight: 600; margin-bottom: 2px; transition: color 0.2s; }
  .order-meta { font-size: 12px; color: var(--text-muted); }
  .order-right { display: flex; align-items: center; gap: 16px; }
  .order-price { font-size: 16px; font-weight: 700; color: var(--accent); }

  /* ===== 订单详情 ===== */
  .order-detail-layout { display: grid; grid-template-columns: 1fr 320px; gap: 24px; padding: 32px 0; }
  .status-timeline { display: flex; justify-content: space-between; margin: 20px 0; }
  .timeline-step { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12px; color: var(--text-muted); }
  .timeline-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--border-light); }
  .timeline-step.done .timeline-dot { background: var(--accent); }
  .bidder-list { display: flex; flex-direction: column; gap: 12px; }
  .bidder-item { display: flex; align-items: center; gap: 14px; padding: 14px; border: 1px solid var(--border); border-radius: 8px; transition: all 0.2s; }
  .bidder-item:hover { border-color: var(--accent); }
  .bidder-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--accent-dim); display: flex; align-items: center; justify-content: center; font-size: 18px; color: var(--accent); font-weight: 600; }
  .bidder-info { flex: 1; }
  .bidder-name { font-size: 14px; font-weight: 600; }
  .bidder-meta { font-size: 12px; color: var(--text-muted); }

  /* ===== 聊天 ===== */
  .chat-box { height: 360px; display: flex; flex-direction: column; }
  .chat-messages { flex: 1; overflow-y: auto; padding: 12px; background: var(--bg-primary); border-radius: 8px; margin-bottom: 12px; }
  .chat-msg { margin-bottom: 12px; max-width: 75%; }
  .chat-msg.self { margin-left: auto; }
  .chat-bubble { padding: 10px 14px; border-radius: 10px; font-size: 13px; line-height: 1.6; }
  .chat-msg:not(.self) .chat-bubble { background: var(--bg-elevated); }
  .chat-msg.self .chat-bubble { background: var(--accent); color: #14161B; }
  .chat-input-row { display: flex; gap: 8px; }

  /* ===== 个人中心 ===== */
  .profile-layout { display: grid; grid-template-columns: 240px 1fr; gap: 32px; padding: 32px 0; }
  .profile-side { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 20px; height: fit-content; }
  .profile-header { text-align: center; padding-bottom: 16px; border-bottom: 1px solid var(--border); margin-bottom: 12px; }
  .profile-avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--accent-dim); margin: 0 auto 10px; display: flex; align-items: center; justify-content: center; font-size: 24px; color: var(--accent); }
  .profile-name { font-weight: 700; }
  .side-menu-item { padding: 10px 12px; border-radius: 6px; font-size: 14px; color: var(--text-secondary); cursor: pointer; transition: all 0.2s; }
  .side-menu-item:hover { background: var(--bg-elevated); color: var(--text-primary); }
  .side-menu-item.active { background: var(--accent-dim); color: var(--accent); }

  /* ===== 消息中心 ===== */
  .msg-item { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--border); cursor: pointer; }
  .msg-item:hover .msg-title { color: var(--accent); }
  .msg-icon { width: 40px; height: 40px; border-radius: 8px; background: var(--accent-dim); display: flex; align-items: center; justify-content: center; font-size: 16px; color: var(--accent); flex-shrink: 0; }
  .msg-content { flex: 1; }
  .msg-title { font-size: 14px; font-weight: 600; margin-bottom: 2px; }
  .msg-desc { font-size: 12px; color: var(--text-muted); }
  .msg-time { font-size: 12px; color: var(--text-muted); }

  /* ===== FAQ ===== */
  .faq-item { border: 1px solid var(--border); border-radius: 8px; margin-bottom: 10px; overflow: hidden; }
  .faq-q { padding: 16px 20px; font-size: 14px; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
  .faq-a { padding: 0 20px 16px; font-size: 13px; color: var(--text-secondary); line-height: 1.7; display: none; }
  .faq-item.open .faq-a { display: block; }

  /* ===== 登录弹窗 ===== */
  .modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.7); z-index: 200; display: none; align-items: center; justify-content: center; backdrop-filter: blur(4px); }
  .modal-overlay.show { display: flex; }
  .modal-box { background: var(--bg-card); border: 1px solid var(--border-light); border-radius: 16px; padding: 36px; width: 400px; max-width: 90vw; }

  /* ===== VIP卡 ===== */
  .vip-card { background: linear-gradient(135deg, var(--accent) 0%, #A8884A 100%); border-radius: 12px; padding: 28px; color: #14161B; margin-bottom: 20px; }
  .vip-level { font-size: 22px; font-weight: 900; margin-bottom: 8px; }

  /* ===== 打手端 ===== */
  .staffer-layout { display: grid; grid-template-columns: 220px 1fr; gap: 32px; padding: 32px 0; }
  .staffer-side { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 20px; height: fit-content; }
  .staffer-side-item { padding: 10px 12px; border-radius: 6px; font-size: 14px; color: var(--text-secondary); cursor: pointer; }
  .staffer-side-item.active { background: var(--accent-dim); color: var(--accent); }

  /* ===== 管理后台 ===== */
  .admin-layout { display: grid; grid-template-columns: 200px 1fr; gap: 32px; padding: 32px 0; }
  .admin-side { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 20px; height: fit-content; }
  .admin-side-item { padding: 10px 12px; border-radius: 6px; font-size: 14px; color: var(--text-secondary); cursor: pointer; }
  .admin-side-item.active { background: var(--accent-dim); color: var(--accent); }

  /* ===== 页脚 ===== */
  footer { border-top: 1px solid var(--border); padding: 40px 0; margin-top: 40px; }
  .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
  .footer-brand { font-size: 18px; font-weight: 900; letter-spacing: 2px; margin-bottom: 12px; }
  .footer-brand span { color: var(--accent); }
  .footer-desc { font-size: 13px; color: var(--text-muted); line-height: 1.7; }
  .footer-col h4 { font-size: 14px; margin-bottom: 14px; }
  .footer-col a { display: block; font-size: 13px; color: var(--text-secondary); text-decoration: none; margin-bottom: 8px; cursor: pointer; }
  .footer-col a:hover { color: var(--accent); }
  .footer-bottom { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--border); text-align: center; font-size: 12px; color: var(--text-muted); }

  /* ===== 工具类 ===== */
  .text-center { text-align: center; }
  .mt-16 { margin-top: 16px; }
  .mt-24 { margin-top: 24px; }
  .mb-16 { margin-bottom: 16px; }
  .mb-24 { margin-bottom: 24px; }
  .flex { display: flex; }
  .gap-12 { gap: 12px; }
  .gap-16 { gap: 16px; }
  .items-center { align-items: center; }
  .justify-between { justify-content: space-between; }

  [hidden] { display: none !important; }
  html { scroll-behavior: smooth; }
  a { color: inherit; text-decoration: none; }
  button, input, select, textarea { font: inherit; }
  button { cursor: pointer; }
  button:disabled { opacity: .48; cursor: not-allowed; transform: none; }
  button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
  button.btn, a.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; text-decoration: none; }
  .btn-sm { min-height: 36px !important; }
  .btn-danger { color: var(--danger); border-color: var(--danger); }
  .logo, .footer-brand { display: inline-block; white-space: nowrap; }
  .icon-button { position: relative; border: 0; background: transparent; color: var(--text-secondary); width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; font-size: 21px; border-radius: 8px; }
  .icon-button:hover { background: var(--bg-elevated); color: var(--accent); }
  .menu-toggle { display: none; }
  .skip-link { position: fixed; top: -90px; left: 16px; background: var(--accent); padding: 10px 20px; color: #14161b; z-index: 999; }
  .skip-link:focus { top: 8px; }
  .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
  .announcement-bar { padding: 10px 24px; }
  .page-narrow { max-width: 760px; }
  .page-medium { max-width: 1000px; }
  .section-header h1 { font-size: 28px; }
  .muted, .hint { color: var(--text-secondary); }
  .hint { font-size: 12px; line-height: 1.8; margin-top: 6px; }
  .eyebrow { font-size: 12px; letter-spacing: 2px; color: var(--accent); margin-bottom: 8px; }
  .text-small { font-size: 13px; }
  .flow > * + * { margin-top: 16px; }
  .toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin: 20px 0; }
  .toolbar .form-input { max-width: 340px; }
  .row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
  .actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
  .divider { border: 0; border-top: 1px solid var(--border); margin: 24px 0; }
  .empty-state { padding: 38px 24px; border: 1px dashed var(--border-light); border-radius: 12px; text-align: center; background: var(--bg-card); grid-column: 1/-1; }
  .empty-state .empty-symbol { width: 52px; height: 52px; border-radius: 50%; background: var(--accent-dim); color: var(--accent); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; font-size: 24px; }
  .empty-state h3 { font-size: 17px; margin-bottom: 8px; }
  .empty-state p { color: var(--text-secondary); font-size: 14px; margin-bottom: 16px; line-height: 1.8; }
  .loading-state { padding: 50px 24px; color: var(--text-secondary); text-align: center; }
  .notice { padding: 14px 18px; background: var(--accent-dim); border: 1px solid rgba(201,169,98,.3); color: var(--text-secondary); border-radius: 8px; font-size: 13px; margin-bottom: 20px; line-height: 1.8; }
  .notice.error, .form-error { color: var(--danger); background: rgba(212,100,100,.08); }
  .form-error { border-radius: 6px; padding: 10px 12px; font-size: 13px; margin-bottom: 12px; }
  .field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
  .form-textarea { min-height: 104px; resize: vertical; }
  .order-tab { background: transparent; border: 0; border-bottom: 2px solid transparent; font-family: inherit; }
  .order-tab.active { border-bottom-color: var(--accent); }
  .service-card { display: flex; flex-direction: column; cursor: default; }
  .service-card .card-desc { flex: 1; white-space: pre-line; }
  .card-footer { gap: 12px; }
  .staffer-card { display: block; }
  .letter-avatar { width: 76px; height: 76px; margin: 0 auto 14px; display: flex; align-items: center; justify-content: center; border-radius: 50%; font-size: 28px; font-weight: 700; color: var(--accent); background: linear-gradient(145deg,var(--accent-dim),var(--bg-primary)); border: 1px solid var(--border-light); }
  .staffer-card .muted { font-size: 12px; margin-top: 9px; }
  .order-item { gap: 18px; }
  .order-info { min-width: 0; }
  .order-no { overflow-wrap: anywhere; }
  .order-right { flex-wrap: wrap; justify-content: flex-end; }
  .status-timeline { gap: 8px; flex-wrap: wrap; }
  .status-chip { padding: 6px 10px; background: var(--bg-primary); border-radius: 6px; color: var(--text-muted); font-size: 12px; }
  .status-chip.done { color: var(--accent); background: var(--accent-dim); }
  .data-row { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
  .data-row:last-child { border-bottom: none; }
  .data-row dt { color: var(--text-muted); }
  .data-row dd { margin: 0; overflow-wrap: anywhere; white-space: pre-line; }
  .chat-box { height: auto; }
  .chat-messages { height: 320px; min-height: 150px; flex: none; }
  .chat-msg { max-width: 90%; }
  .chat-bubble { white-space: pre-wrap; overflow-wrap: anywhere; }
  .chat-meta { color: var(--text-muted); font-size: 11px; margin: 0 4px 5px; }
  .chat-input-row { align-items: flex-start; }
  .chat-input-row textarea { min-height: 60px; }
  .timeline-event { border-left: 2px solid var(--border); padding: 2px 0 18px 14px; font-size: 13px; }
  .timeline-event:last-child { padding-bottom: 0; }
  .profile-menu { display: grid; gap: 4px; }
  .profile-menu a { display: block; padding: 10px 12px; border-radius: 7px; font-size: 14px; color: var(--text-secondary); }
  .profile-menu a:hover { background: var(--accent-dim); color: var(--accent); }
  .stat-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-bottom: 24px; }
  .stat { padding: 20px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px; }
  .stat strong { font-size: 25px; color: var(--accent); display: block; margin-top: 8px; overflow-wrap: anywhere; }
  .stat span { font-size: 12px; color: var(--text-secondary); }
  .list-card { padding: 18px 0; border-bottom: 1px solid var(--border); }
  .list-card:last-child { border-bottom: 0; }
  .pre-wrap { white-space: pre-wrap; overflow-wrap: anywhere; }
  .pill { background: var(--accent-dim); color: var(--accent); padding: 4px 10px; border-radius: 100px; font-size: 12px; display: inline-block; }
  .text-link { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
  details { border: 1px solid var(--border); background: var(--bg-card); border-radius: 10px; margin-bottom: 12px; }
  details summary { padding: 18px 20px; cursor: pointer; font-weight: 600; }
  details > .details-body { padding: 0 20px 20px; }
  .content-list { padding-left: 22px; color: var(--text-secondary); }
  .content-list li + li { margin-top: 12px; }
  .auth-dialog { position: fixed; inset: 0; margin: auto; width: 440px; max-width: calc(100vw - 32px); max-height: calc(100vh - 40px); padding: 30px; color: var(--text-primary); background: var(--bg-card); border: 1px solid var(--border-light); border-radius: 16px; overflow: auto; }
  .auth-dialog::backdrop { background: rgba(0,0,0,.7); backdrop-filter: blur(4px); }
  .auth-header { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-bottom: 8px; }
  .auth-header h2 { font-size: 23px; }
  .auth-tabs { display: flex; gap: 10px; margin: 24px 0 20px; }
  .auth-tabs button { flex: 1; }
  .auth-foot { display: flex; justify-content: space-between; margin-top: 18px; font-size: 12px; }
  .auth-foot button { border: 0; background: transparent; color: var(--accent); }
  .recovery-code { font-size: 18px; padding: 18px; border: 1px dashed var(--accent); color: var(--accent); background: var(--bg-primary); word-break: break-all; user-select: all; margin: 18px 0; }
  #toast-region { position: fixed; bottom: 24px; right: 24px; z-index: 500; pointer-events: none; }
  .toast { max-width: min(420px,calc(100vw - 48px)); background: var(--bg-elevated); color: var(--text-primary); border: 1px solid var(--accent); border-radius: 10px; padding: 14px 20px; box-shadow: 0 12px 38px rgba(0,0,0,.25); font-size: 14px; }
  .toast.error { border-color: var(--danger); }
  .table-scroll { overflow-x: auto; }
  table { width: 100%; border-collapse: collapse; font-size: 13px; }
  th,td { padding: 12px 10px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
  th { color: var(--text-secondary); font-weight: 500; }
  .table-scroll td { min-width: 80px; }
  .service-package-list { display: grid; gap: 8px; padding: 14px 0; margin: 8px 0 16px; border-top: 1px solid var(--border); }
  .service-package-line { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; font-size: 13px; }
  .service-package-line strong { color: var(--accent); white-space: nowrap; }
  .service-package-line span { overflow-wrap: anywhere; }
  .service-detail-layout { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(280px,1fr); gap: 24px; align-items: start; }
  .package-grid { display: grid; gap: 14px; }
  .package-card { border: 1px solid var(--border-light); padding: 20px; border-radius: 12px; background: var(--bg-card); }
  .package-card h3 { margin-bottom: 8px; overflow-wrap: anywhere; }
  .package-card .price { font-size: 25px; }
  .package-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
  .package-card .btn { margin-top: 16px; }
  .rules-section + .rules-section { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--border); }
  .rules-section h3 { margin-bottom: 10px; }
  .rules-section p { white-space: pre-wrap; overflow-wrap: anywhere; }
  .checkout-summary { border: 1px solid var(--accent); background: var(--accent-dim); border-radius: 10px; padding: 18px; margin: 20px 0; }
  .checkout-summary .price { font-size: 27px; }
  .rule-acknowledgement { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; padding: 16px 0; cursor: pointer; }
  .rule-acknowledgement input { margin-top: 6px; flex: 0 0 auto; accent-color: var(--accent); }
  .snapshot-heading { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
  .snapshot-heading h3 { margin-bottom: 0; }
  @media (max-width: 900px) { .service-detail-layout { grid-template-columns: 1fr; } }
  @media (max-width: 1000px) { .nav-links { gap: 14px; } .nav-inner { gap: 12px; } .nav-right { gap: 4px; } .order-detail-layout { grid-template-columns: 1fr; } .order-detail-layout > aside { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; } }
  @media (max-width: 760px) {
    .container { padding: 0 18px; } .nav-inner { height: 64px; } .logo { font-size: 18px; } .menu-toggle { display: inline-flex; margin-left: auto; }
    .nav-links { display: none; position: absolute; top: 64px; left: 0; right: 0; background: var(--bg-secondary); border-bottom: 1px solid var(--border); padding: 14px 20px; flex-direction: column; align-items: stretch; gap: 0; }
    .nav-links.open { display: flex; } .nav-links a { padding: 12px; } .nav-right .icon-button { display: none; } .nav-right .btn { padding: 6px 10px; font-size: 12px; max-width: 105px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: inline-block; line-height: 24px; }
    .hero { padding: 64px 0 48px; } .hero h1 { font-size: 46px; letter-spacing: 6px; } .hero p { font-size: 15px; } .hero-features { gap: 24px; } .hero-feature-label { font-size: 11px; }
    .section { padding: 36px 0; } .section-title,.section-header h1 { font-size: 23px; } .section-header { margin-bottom: 22px; align-items: center; gap: 12px; }
    .cards-grid { grid-template-columns: 1fr; } .staffer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; } .staffer-card { padding: 22px 12px; }
    .profile-layout,.staffer-layout,.staffer-detail-layout,.admin-layout { grid-template-columns: 1fr; gap: 20px; } .profile-menu { grid-template-columns: 1fr 1fr; } .profile-side { padding: 18px; }
    .field-grid { grid-template-columns: 1fr; } .detail-card { padding: 20px; } .stat-grid { grid-template-columns: 1fr; gap: 10px; } .stat { display: flex; justify-content: space-between; align-items: center; } .stat strong { margin-top: 0; font-size: 22px; }
    .order-item { align-items: flex-start; } .order-right { flex-direction: column; align-items: flex-end; gap: 8px; } .data-row { grid-template-columns: 88px 1fr; gap: 10px; } .order-detail-layout > aside { display: block; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; } .footer-grid > div:first-child { grid-column: 1/-1; } .auth-dialog { padding: 22px; }
    .toolbar .form-input { max-width: none; } .promo-bar { padding: 18px; gap: 16px; } .chat-input-row { flex-wrap: wrap; } .chat-input-row button { width: 100%; }
  }
  @media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }
