/* ============ WorkBuddy Points 克隆站样式 ============ */
:root {
  --bg: #f5f6fa;
  --card: #ffffff;
  --border: #e5e7eb;
  --border-strong: #d1d5db;
  --text: #1f2937;
  --text-2: #6b7280;
  --text-3: #9ca3af;
  --primary: #4f46e5;
  --primary-strong: #4338ca;
  --primary-soft: #eef2ff;
  --green: #059669;
  --green-soft: #ecfdf5;
  --amber: #b45309;
  --amber-soft: #fffbeb;
  --red: #dc2626;
  --red-soft: #fef2f2;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 1px 3px rgba(16, 24, 40, .08);
  --shadow-lg: 0 12px 32px rgba(16, 24, 40, .16);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
/* 确保 hidden 属性永远生效（不被 display:flex 等覆盖） */
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  min-height: 100vh;
}
.mono { font-family: ui-monospace, "Cascadia Code", Consolas, Menlo, monospace; }
.muted { color: var(--text-2); }
.small { font-size: 12px; }
.ic { width: 15px; height: 15px; flex: none; }
.ic-lg { width: 34px; height: 34px; flex: none; color: var(--text-3); }
.center { text-align: center; }

/* ============ 顶栏 ============ */
.wb-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.wb-header-inner {
  max-width: 1080px; margin: 0 auto; padding: 0 20px;
  height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.wb-brand { display: flex; align-items: center; gap: 10px; background: none; border: 0; cursor: pointer; padding: 6px; border-radius: var(--radius-sm); }
.wb-brand:hover { background: var(--bg); }
.wb-brand-mark {
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  color: #fff; font-weight: 800; font-size: 19px;
  display: flex; align-items: center; justify-content: center;
}
.wb-brand-copy { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.2; }
.wb-brand-copy strong { font-size: 15px; }
.wb-brand-copy small { font-size: 11px; color: var(--text-2); }
.wb-nav { display: flex; gap: 4px; overflow-x: auto; }
.wb-nav-item {
  border: 0; background: none; cursor: pointer;
  padding: 8px 14px; border-radius: 999px;
  font-size: 14px; color: var(--text-2); white-space: nowrap; transition: all .15s;
}
.wb-nav-item:hover { color: var(--text); background: var(--bg); }
.wb-nav-item.active { color: var(--primary); background: var(--primary-soft); font-weight: 600; }

/* ============ 主区 ============ */
.workbuddy-main { max-width: 1080px; margin: 0 auto; padding: 28px 20px 80px; }
.wb-tab { animation: fadeIn .2s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

/* ============ 通用卡片/按钮 ============ */
.kicker { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--primary); }
h1 { font-size: 26px; line-height: 1.25; margin: 4px 0 6px; }
h2 { font-size: 18px; line-height: 1.3; margin: 2px 0 4px; }

.btn-primary, .btn-ghost, .btn-success, .btn-danger {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: 10px; cursor: pointer;
  font-size: 14px; font-weight: 600; padding: 11px 18px; transition: all .15s; line-height: 1.2;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-strong); }
.btn-primary:disabled { opacity: .55; cursor: not-allowed; }
.btn-success { background: var(--green); color: #fff; }
.btn-success:hover { background: #047857; }
.btn-ghost { background: #fff; color: var(--text); border: 1px solid var(--border-strong); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn-sm { padding: 7px 12px; font-size: 13px; border-radius: 8px; }
.btn-xs { padding: 5px 9px; font-size: 12px; border-radius: 7px; }
.btn-lg { padding: 14px 26px; font-size: 15px; }
.complete-button { display: flex; margin: 28px auto 0; }

.badge { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.badge-neutral { background: var(--bg); color: var(--text-2); border: 1px solid var(--border); }
.badge-green { background: var(--green-soft); color: var(--green); }
.badge-amber { background: var(--amber-soft); color: var(--amber); }

/* ============ 账户概览 ============ */
.account-overview, .redeem-shell, .recharge-section, .usage-section, .image-setup-page .skill-section, .generate-section, .consumption-guide {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px; margin-bottom: 20px; box-shadow: var(--shadow);
}
.overview-heading, .section-heading, .usage-heading, .guide-heading {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 16px;
}
.overview-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .overview-grid { grid-template-columns: 1fr; } }
.points-card {
  border: 1px solid var(--border); border-radius: var(--radius); padding: 20px;
  background: linear-gradient(180deg, #fafaff, #fff);
  display: flex; flex-direction: column; gap: 6px;
}
.points-label { font-size: 13px; color: var(--text-2); }
.points-big { font-size: 38px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.points-unit { font-size: 11px; font-weight: 700; color: var(--primary); letter-spacing: .14em; }
.image-card-head { display: flex; align-items: center; justify-content: space-between; }

/* ============ 兑换 ============ */
.redeem-shell { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(320px, 1fr); gap: 28px; }
@media (max-width: 760px) { .redeem-shell { grid-template-columns: 1fr; } }
.redeem-card {
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; display: flex; flex-direction: column; gap: 12px;
  background: linear-gradient(180deg, #fff, #fafaff);
}
.redeem-icon { font-size: 34px; }
.redeem-form-copy h2 { font-size: 16px; }
.redeem-form-copy p { font-size: 13px; color: var(--text-2); }
.redeem-card label { font-size: 13px; font-weight: 600; margin-top: 6px; }
.redeem-input {
  display: flex; align-items: center; gap: 10px;
  border: 1px solid var(--border-strong); border-radius: 10px; padding: 0 14px;
  background: #fff; transition: border-color .15s, box-shadow .15s;
}
.redeem-input:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }
.redeem-input.redeem-input-error { border-color: var(--red); }
.redeem-input input { flex: 1; border: 0; outline: 0; padding: 12px 0; font-size: 14px; font-family: inherit; background: none; }
.redeem-error { color: var(--red); font-size: 13px; }
.redeem-button { width: 100%; }
.redeem-tip { display: flex; align-items: center; gap: 7px; font-size: 12px; color: var(--text-3); }

/* 进度步骤 */
.steps-panel { margin-bottom: 20px; }
.progress-steps { display: flex; gap: 0; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 22px; box-shadow: var(--shadow); }
.progress-steps .step { flex: 1; display: flex; gap: 12px; align-items: flex-start; position: relative; }
.progress-steps .step:not(:last-child)::after {
  content: ""; position: absolute; left: 21px; top: 44px; width: 2px; height: calc(100% - 44px);
  background: var(--border);
}
.step-number {
  width: 26px; height: 26px; border-radius: 50%; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: var(--border); color: var(--text-2); font-size: 13px; font-weight: 700;
}
.step.done .step-number { background: var(--green); color: #fff; }
.step.active .step-number { background: var(--primary); color: #fff; }
.step strong { font-size: 14px; display: block; }
.step small { font-size: 12px; color: var(--text-2); }

/* ============ 充值 ============ */
.plans-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
.plans-state { grid-column: 1 / -1; color: var(--text-2); font-size: 14px; padding: 12px 0; }
.plan-card {
  border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; cursor: pointer;
  background: #fff; transition: all .15s; position: relative; display: flex; flex-direction: column; gap: 6px;
}
.plan-card:hover { border-color: var(--primary); box-shadow: var(--shadow); }
.plan-card.selected { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }
.recommend-badge {
  position: absolute; top: -10px; right: 12px;
  background: linear-gradient(135deg, #f59e0b, #ef4444); color: #fff;
  font-size: 11px; font-weight: 700; padding: 2px 9px; border-radius: 999px;
}
.plan-name { font-weight: 700; font-size: 15px; }
.plan-price { font-size: 22px; font-weight: 800; }
.plan-price small { font-size: 12px; font-weight: 500; color: var(--text-2); }
.plan-points { font-size: 12px; color: var(--text-2); }
.plan-points strong { color: var(--primary); }

.checkout-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 20px; margin-top: 16px;
  background: var(--primary-soft);
}
.checkout-plan { font-weight: 700; font-size: 15px; }
.pay-methods { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.pay-method {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid var(--border-strong); background: #fff; border-radius: 8px;
  padding: 6px 12px; font-size: 13px; cursor: pointer; transition: all .15s;
}
.pay-method.selected { border-color: var(--primary); color: var(--primary); background: #fff; box-shadow: 0 0 0 2px var(--primary-soft); }
.checkout-right { display: flex; align-items: center; gap: 16px; }
.checkout-amount { text-align: right; }
.checkout-amount small { display: block; font-size: 11px; color: var(--text-2); }
.checkout-amount strong { font-size: 22px; font-weight: 800; }

/* ============ 用量明细 ============ */
.usage-table-card { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.usage-state { padding: 26px; text-align: center; color: var(--text-2); font-size: 14px; }
.usage-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th { text-align: left; font-size: 12px; color: var(--text-2); font-weight: 600; padding: 11px 14px; border-bottom: 1px solid var(--border); background: #fafbfc; white-space: nowrap; }
td { padding: 11px 14px; border-bottom: 1px solid var(--border); white-space: nowrap; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: #fafaff; }
th.right, td.right { text-align: right; }
.points-cost { font-weight: 700; color: var(--primary); }
.metric-pair { color: var(--text-2); font-size: 12px; }
.pager { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 12px; border-top: 1px solid var(--border); }
.pager-info { font-size: 13px; color: var(--text-2); }

/* ============ 教程 ============ */
.tutorial-page, .faq-page { max-width: 860px; margin: 0 auto; }
.tutorial-heading { margin-bottom: 22px; }
.tutorial-video-shell {
  border: 1px solid var(--border); border-radius: var(--radius); background: #0b1220;
  min-height: 320px; display: flex; align-items: center; justify-content: center; margin-bottom: 24px; overflow: hidden;
}
.video-state { text-align: center; color: #e5e7eb; padding: 30px; }
.video-state .ic-lg { color: #6b7280; margin-bottom: 10px; }
.video-state strong { display: block; font-size: 16px; margin-bottom: 6px; }
.video-state .muted { color: #9ca3af; }
.platform-tabs { display: flex; gap: 8px; margin-bottom: 18px; border-bottom: 1px solid var(--border); padding-bottom: 0; }
.platform-tab {
  border: 0; background: none; cursor: pointer; font-size: 14px; font-weight: 600;
  padding: 10px 16px; color: var(--text-2); border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.platform-tab.active { color: var(--primary); border-bottom-color: var(--primary); }
.tutorial-steps { list-style: none; display: flex; flex-direction: column; gap: 14px; margin-bottom: 24px; }
.tutorial-steps li {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 16px 18px; box-shadow: var(--shadow);
}
.tutorial-steps .step-number { background: var(--primary); color: #fff; }
.tutorial-steps strong { font-size: 14px; }
.tutorial-steps small { color: var(--text-2); font-size: 13px; display: block; margin-top: 2px; }
.tutorial-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.tutorial-tip { width: 100%; margin-top: 10px; }

/* ============ 生图配置 ============ */
.image-state { text-align: center; padding: 44px 20px; }
.state-icon { font-size: 42px; margin-bottom: 10px; }
.image-state strong { display: block; font-size: 17px; margin-bottom: 6px; }
.image-state .btn-primary { margin-top: 16px; }
.credentials-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 640px) { .credentials-grid { grid-template-columns: 1fr; } }
.credential-item {
  border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 14px 16px;
  display: flex; flex-direction: column; gap: 8px; background: #fff;
}
.credential-wide { grid-column: 1 / -1; }
.credential-label { font-size: 12px; color: var(--text-2); font-weight: 600; }
.credential-value { font-size: 14px; word-break: break-all; }
.credential-actions { display: flex; gap: 8px; }
.copy-button {
  align-self: flex-start; border: 1px solid var(--border-strong); background: #fff; border-radius: 7px;
  padding: 4px 10px; font-size: 12px; cursor: pointer; color: var(--text-2); transition: all .15s;
}
.copy-button:hover { color: var(--primary); border-color: var(--primary); }
.skill-steps { display: flex; flex-direction: column; gap: 14px; margin-bottom: 18px; }
.skill-steps .step { display: flex; gap: 14px; align-items: flex-start; }
.skill-steps .step-number { background: var(--primary); color: #fff; }
.config-note { font-size: 12px; color: var(--text-2); margin-top: 10px; }
.manual-panel { border: 1px dashed var(--border-strong); border-radius: var(--radius); padding: 18px; margin-top: 14px; }
.manual-panel h3 { font-size: 15px; margin-bottom: 12px; }
.manual-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-bottom: 12px; }
.manual-fields label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; }
.manual-fields input { border: 1px solid var(--border-strong); border-radius: 8px; padding: 9px 12px; font-size: 13px; outline: 0; font-family: inherit; }
.manual-fields input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }

/* 生图工具 */
.generate-panel { display: flex; flex-direction: column; gap: 14px; }
.generate-mode { display: flex; gap: 8px; }
.mode-tab {
  border: 1px solid var(--border-strong); background: #fff; border-radius: 8px;
  padding: 7px 14px; font-size: 13px; cursor: pointer; font-weight: 600; color: var(--text-2);
}
.mode-tab.active { background: var(--primary-soft); border-color: var(--primary); color: var(--primary); }
.generate-panel label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; }
.generate-panel textarea, .generate-panel select {
  border: 1px solid var(--border-strong); border-radius: 8px; padding: 9px 12px;
  font-size: 13px; outline: 0; font-family: inherit; background: #fff; resize: vertical;
}
.generate-panel textarea:focus, .generate-panel select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }
.gen-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.image-action-group { display: flex; align-items: center; gap: 12px; }
.gen-results { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; margin-top: 8px; }
.gen-result { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: #fff; }
.gen-result img { width: 100%; display: block; }
.gen-result-meta { padding: 10px 12px; font-size: 12px; color: var(--text-2); display: flex; justify-content: space-between; }

/* 模型消耗指南 */
.guide-meta { display: flex; align-items: center; gap: 10px; }
.refresh-countdown { font-size: 12px; color: var(--text-2); }
.guide-announcement { font-size: 13px; color: var(--text-2); margin-bottom: 12px; }
.billing-legend { display: flex; gap: 18px; font-size: 12px; color: var(--text-2); margin-bottom: 14px; }
.billing-legend span { display: inline-flex; align-items: center; gap: 6px; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: #fff; border: 2px solid var(--text-3); display: inline-block; }
.dot.solid { background: var(--primary); border-color: var(--primary); }
.model-table-scroll { overflow-x: auto; }
.model-table { min-width: 640px; }
.tier-block { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; }
.tier-heading { display: flex; align-items: baseline; gap: 10px; padding: 12px 16px; background: #fafbfc; border-bottom: 1px solid var(--border); }
.tier-heading h3 { font-size: 15px; }
.tier-copy { font-size: 12px; color: var(--text-2); }
.tier-count { margin-left: auto; font-size: 12px; color: var(--text-2); }
.model-row { display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-bottom: 1px solid var(--border); font-size: 13px; }
.model-row:last-child { border-bottom: 0; }
.model-name-text { font-weight: 600; cursor: pointer; }
.model-name-text:hover { color: var(--primary); }
.model-label { font-size: 11px; background: var(--bg); border: 1px solid var(--border); color: var(--text-2); padding: 1px 7px; border-radius: 999px; }
.model-status { margin-left: auto; font-size: 11px; font-weight: 600; padding: 2px 9px; border-radius: 999px; }
.model-status.operational { background: var(--green-soft); color: var(--green); }
.model-status.degraded { background: var(--amber-soft); color: var(--amber); }
.model-status.failed { background: var(--red-soft); color: var(--red); }
.model-status.loading { background: var(--bg); color: var(--text-2); }

/* ============ FAQ ============ */
.faq-search {
  display: flex; align-items: center; gap: 10px;
  border: 1px solid var(--border-strong); border-radius: 12px; padding: 0 16px;
  background: #fff; margin-bottom: 16px; transition: all .15s;
}
.faq-search:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }
.faq-search input { flex: 1; border: 0; outline: 0; padding: 13px 0; font-size: 14px; font-family: inherit; background: none; }
.faq-cats { display: flex; gap: 8px; margin-bottom: 18px; }
.faq-cat {
  border: 1px solid var(--border-strong); background: #fff; border-radius: 999px;
  padding: 7px 16px; font-size: 13px; cursor: pointer; color: var(--text-2); font-weight: 600; transition: all .15s;
}
.faq-cat.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.faq-layout { display: grid; grid-template-columns: 1fr 260px; gap: 20px; align-items: start; }
@media (max-width: 760px) { .faq-layout { grid-template-columns: 1fr; } }
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); background: #fff; overflow: hidden; }
.faq-item button {
  width: 100%; border: 0; background: none; cursor: pointer; text-align: left;
  padding: 15px 18px; font-size: 14px; font-weight: 600; font-family: inherit;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.faq-item button:hover { color: var(--primary); }
.faq-item p { padding: 0 18px 15px; font-size: 13px; color: var(--text-2); line-height: 1.7; }
.faq-empty { color: var(--text-2); font-size: 13px; padding: 18px; text-align: center; }
.help-card {
  border: 1px solid var(--border); border-radius: var(--radius); background: linear-gradient(180deg, #fafaff, #fff);
  padding: 22px; box-shadow: var(--shadow); text-align: center;
}
.help-card .ic-lg { margin: 0 auto 8px; color: var(--primary); }
.help-card h2 { font-size: 15px; }
.help-card p { font-size: 13px; color: var(--text-2); margin: 8px 0 14px; }

/* ============ 弹窗 ============ */
.modal-mask {
  position: fixed; inset: 0; background: rgba(15, 23, 42, .5); z-index: 100;
  display: flex; align-items: center; justify-content: center; padding: 20px; animation: fadeIn .15s ease;
}
.modal {
  background: #fff; border-radius: 16px; width: 100%; max-width: 460px;
  box-shadow: var(--shadow-lg); overflow: hidden; max-height: 90vh; display: flex; flex-direction: column;
}
.modal-wide { max-width: 640px; }
.modal-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--border); }
.modal-head h3 { font-size: 16px; }
.modal-close { border: 0; background: none; font-size: 16px; cursor: pointer; color: var(--text-2); padding: 6px; border-radius: 6px; }
.modal-close:hover { background: var(--bg); color: var(--text); }
.modal-body { padding: 22px; overflow-y: auto; }
.plan-summary { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.plan-summary > div { display: flex; justify-content: space-between; font-size: 13px; color: var(--text-2); }
.plan-summary strong { color: var(--text); }
.qr-shell { position: relative; width: 220px; height: 220px; margin: 0 auto 14px; }
.qr-shell canvas { width: 220px; height: 220px; border: 1px solid var(--border); border-radius: 12px; background: #fff; }
.qr-overlay {
  position: absolute; inset: 0; border-radius: 12px;
  background: rgba(255, 255, 255, .94); display: flex; align-items: center; justify-content: center;
}
.qr-overlay strong { color: var(--green); font-size: 18px; }
.payment-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.payment-tip { font-size: 12px; color: var(--amber); margin-top: 12px; }
.payment-waiting { font-size: 13px; color: var(--text-2); margin-top: 8px; }

.complete-icon {
  width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 14px;
  display: flex; align-items: center; justify-content: center; font-size: 30px;
}
.complete-icon.success { background: var(--green-soft); color: var(--green); }
.complete-icon.error { background: var(--red-soft); color: var(--red); }

/* ============ Toast ============ */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 200;
  background: #111827; color: #fff; font-size: 13px; padding: 11px 18px; border-radius: 10px;
  box-shadow: var(--shadow-lg); animation: fadeIn .2s ease; max-width: 90vw;
}

@media (max-width: 640px) {
  .wb-header-inner { height: auto; padding: 10px 14px; flex-direction: column; gap: 6px; }
  .wb-nav { width: 100%; justify-content: space-between; }
  h1 { font-size: 22px; }
  .workbuddy-main { padding: 20px 14px 60px; }
}
