:root {
  --bg: #f5f7fb;
  --panel: #ffffff;
  --panel-soft: #f8fafc;
  --text: #102033;
  --muted: #5c6b7d;
  --line: #d9e2ec;
  --primary: #2563eb;
  --primary-strong: #1d4ed8;
  --accent: #0f766e;
  --danger: #b42318;
  --shadow: 0 10px 30px rgba(16, 32, 51, 0.08);
  color-scheme: light;
}

[data-theme="green"] {
  --bg: #f3f8f4;
  --panel-soft: #f7fbf8;
  --line: #d4e3d8;
  --primary: #2f855a;
  --primary-strong: #276749;
  --accent: #0f766e;
  --shadow: 0 10px 30px rgba(24, 65, 43, 0.09);
}

[data-theme="orange"] {
  --bg: #fff8f1;
  --panel-soft: #fffaf5;
  --line: #eadccd;
  --primary: #ea7b27;
  --primary-strong: #c85f16;
  --accent: #9a3412;
  --shadow: 0 10px 30px rgba(112, 59, 25, 0.09);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { width: 100%; max-width: 100%; margin: 0; padding: 0; overflow-x: hidden; background: var(--bg); color: var(--text); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
body { min-height: 100vh; }
button, input, select, textarea { max-width: 100%; font: inherit; }
.page { min-height: 100vh; padding: 20px 14px; }
.shell { width: 100%; max-width: 1180px; min-width: 0; margin: 0 auto; display: grid; gap: 16px; }
.hero { background: linear-gradient(180deg, rgba(37, 99, 235, 0.08), rgba(15, 118, 110, 0.05)); border: 1px solid var(--line); border-radius: 16px; padding: 18px; box-shadow: var(--shadow); }
[data-theme="green"] .hero { background: linear-gradient(180deg, rgba(47, 133, 90, 0.1), rgba(15, 118, 110, 0.05)); }
[data-theme="orange"] .hero { background: linear-gradient(180deg, rgba(234, 123, 39, 0.11), rgba(154, 52, 18, 0.04)); }
.brand-logo { display: block; width: auto; height: clamp(40px, 6.5vw, 60px); margin: 0; }
.title { margin: 16px 0 8px; color: var(--text); font-size: clamp(24px, 4vw, 36px); font-weight: 800; line-height: 1.2; text-align: left; }
/* Brand colors retained for future OfferBuddy text: Offer #1E3470, Buddy #3378ED. */
.brand-offer { color: #1E3470; }
.brand-buddy { color: #3378ED; }
.usage-notice-research { font-weight: 700; }
.hero-description { margin: 0; max-width: none; color: var(--muted); font-size: 16px; line-height: 1.7; text-align: left; white-space: nowrap; }
.feedback-link { display: inline-flex; align-items: center; justify-content: center; min-height: 34px; padding: 7px 12px; border: 1px solid rgba(37, 99, 235, 0.28); border-radius: 10px; background: rgba(255, 255, 255, 0.78); color: var(--primary-strong); font-size: 13px; font-weight: 700; text-decoration: none; white-space: nowrap; transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease; }
.feedback-link:hover { border-color: rgba(37, 99, 235, 0.5); background: #fff; color: var(--primary-strong); }
.feedback-link:focus-visible { outline: 3px solid rgba(37, 99, 235, 0.2); outline-offset: 2px; }
.page-feedback { display: flex; justify-content: flex-end; align-items: end; gap: 8px; padding: 0 4px; }
.page-feedback .feedback-link,
.page-feedback .theme-toggle { min-height: 38px; padding: 8px 13px; border-radius: 999px; }
.subtitle { margin: 0; color: var(--muted); line-height: 1.6; max-width: 70ch; }
.grid { min-width: 0; display: grid; gap: 16px; }
#flow-root,
#submission-library-root { min-width: 0; }
.flow-layout { min-width: 0; display: grid; gap: 12px; }
.page-navigation { min-width: 0; display: flex; align-items: center; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }
.page-jump { min-width: 0; display: flex; align-items: center; gap: 10px; }
.page-jump-select {
  min-width: 0;
  width: 150px;
  appearance: none;
  border: 1px solid color-mix(in srgb, var(--primary) 28%, var(--line));
  border-radius: 9px;
  background-color: var(--panel);
  background-image: linear-gradient(45deg, transparent 50%, var(--primary) 50%), linear-gradient(135deg, var(--primary) 50%, transparent 50%);
  background-position: calc(100% - 14px) 50%, calc(100% - 9px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  color: var(--text);
  color-scheme: light;
  padding: 7px 28px 7px 10px;
  box-shadow: 0 1px 2px rgba(16, 32, 51, 0.06);
  font-size: 12px;
  font-weight: 400;
  text-overflow: ellipsis;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}
.page-jump-select option {
  background: #fff;
  color: #102033;
}
.page-jump-select:hover { border-color: var(--primary); background-color: var(--panel-soft); }
.page-jump-select:focus-visible { outline: 3px solid rgba(37, 99, 235, 0.2); outline-offset: 2px; border-color: var(--primary); }
.page-navigation-buttons { min-width: 0; display: inline-flex; align-items: center; gap: 8px; }
.page-navigation .ghost-btn,
.page-navigation .primary-btn { min-height: 32px; padding: 6px 10px; border-radius: 9px; font-size: 12px; white-space: nowrap; }
.page-meter { font-size: 12px; color: var(--muted); white-space: nowrap; }
.page-card {
  min-width: 0;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.page-intro {
  min-height: 56vh;
  display: grid;
  place-items: center;
  padding: 28px 20px;
}
.page-center {
  min-width: 0;
  max-width: 56ch;
  text-align: center;
  display: grid;
  gap: 12px;
}
.page-title {
  margin: 0;
  font-size: 28px;
  line-height: 1.2;
}
.page-desc {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 15px;
}
.page-header { padding: 18px 18px 0; }
.page-body { padding: 18px; }
.form-page .page-body { padding-top: 16px; }
.result-page .page-body { padding-top: 16px; }
.usage-notice-page { max-width: 860px; margin: 0 auto; }
.usage-notice-body { color: var(--text); font-size: 15px; line-height: 1.85; }
.usage-notice-body p { margin: 18px 0 0; }
.usage-notice-heading { margin: 0; font-size: 18px; }
.usage-notice-list { display: grid; gap: 12px; margin: 14px 0 0; padding-left: 1.5em; }
.usage-notice-list li { padding-left: 4px; }
.usage-notice-emphasis { color: var(--primary-strong); font-weight: 800; }
.panel { min-width: 0; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); overflow: hidden; }
.panel-header { padding: 16px 16px 0; }
.panel-title { margin: 0; font-size: 18px; }
.panel-desc { margin: 6px 0 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.panel-body { padding: 16px; }
.section { display: grid; gap: 12px; margin-bottom: 18px; }
.form-sections { display: grid; gap: 16px; }
.form-section-box { padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); box-shadow: var(--shadow); }
.form-section-title { margin: 0; font-size: 22px; line-height: 1.3; }
.section-title { margin: 0; font-size: 16px; }
.group-title { font-size: 17px; }
.profile-group { display: grid; gap: 12px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel-soft); }
.profile-group + .profile-group { margin-top: 12px; }
.profile-group.is-collapsed .group-fields { display: none; }
.profile-description { margin: 0; }
.profile-description summary { width: fit-content; cursor: pointer; color: var(--primary-strong); font-size: 13px; }
.profile-description .section-note { margin-top: 8px; white-space: pre-line; }
.appearance-standard { border-top: 1px solid var(--line); padding-top: 12px; }
.appearance-standard summary { cursor: pointer; color: var(--primary-strong); font-size: 13px; }
.appearance-standard-content { margin-top: 10px; font-size: 13px; line-height: 1.5; }
.appearance-standard-content p { margin: 10px 0; }
.appearance-table-wrap { overflow-x: auto; }
.appearance-table { width: 100%; min-width: 0; table-layout: fixed; border-collapse: collapse; }
.appearance-table th, .appearance-table td { width: 25%; padding: 7px 6px; border: 1px solid var(--line); text-align: left; vertical-align: top; overflow-wrap: anywhere; word-break: break-word; }
.appearance-table th { background: var(--panel-soft); font-weight: 700; }
.field[data-field-key="appearance_self_rating"] .input,
.field[data-field-key="appearance_preference"] .input { width: 220px; }
.field[data-field-key="marriage_plan_detail"] .textarea,
.field[data-field-key="fertility_plan_detail"] .textarea { width: min(400px, 100%); max-width: 100%; }
.field[data-field-key="education_history"] .textarea { min-height: 70px; padding-top: 10px; padding-bottom: 10px; }
.field[data-field-key="age"] .input { width: 88px; min-height: 42px; padding: 9px 11px; text-align: left; }
.group-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.group-heading-actions { display: inline-flex; align-items: center; gap: 10px; }
.group-status { color: var(--muted); font-size: 12px; white-space: nowrap; }
.collapse-btn { border: 0; background: transparent; color: var(--primary-strong); padding: 4px 0; cursor: pointer; font-size: 12px; }
.section-note { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.field-grid { min-width: 0; display: grid; gap: 12px; align-items: start; }
@media (min-width: 720px) { .field-grid.two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.relationship-fields { grid-template-columns: minmax(0, 1fr); }
.field { min-width: 0; display: grid; gap: 6px; align-content: start; }
.item-index { display: inline-block; min-width: 1.35em; color: var(--primary-strong); font-weight: 700; }
.label { font-size: 14px; font-weight: 600; }
.field-error { color: var(--danger); font-size: 12px; line-height: 1.4; }
.field-invalid .input, .field-invalid .textarea { border-color: rgba(180, 35, 24, 0.65); }
.field-invalid .choice { border-color: rgba(180, 35, 24, 0.55); }
.help { font-size: 12px; color: var(--muted); line-height: 1.45; }
.input, .textarea { width: 100%; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--text); padding: 12px 13px; outline: none; transition: border-color 0.15s ease, box-shadow 0.15s ease; }
.textarea { min-height: 96px; resize: vertical; }
.offer-card [data-field-key="city"] .input { min-height: 40px; padding-top: 9px; padding-bottom: 9px; }
.offer-card [data-field-key="work_intensity"] .textarea { min-height: 48px; padding-top: 10px; padding-bottom: 10px; }
.offer-card [data-field-key="company"] .textarea,
.offer-card [data-field-key="salary"] .textarea,
.offer-card [data-field-key="work_content"] .textarea,
.offer-card [data-field-key="benefits"] .textarea,
.offer-card [data-field-key="career_path"] .textarea,
.offer-card [data-field-key="risk_stability"] .textarea,
.offer-card [data-field-key="probation_terms"] .textarea,
.offer-card [data-field-key="other_info"] .textarea,
.offer-card [data-field-key="raise_promotion"] .textarea { min-height: 82px; padding-top: 10px; padding-bottom: 10px; }
.input:focus, .textarea:focus { border-color: rgba(37, 99, 235, 0.55); box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12); }
.choice-row { min-width: 0; display: flex; flex-wrap: wrap; align-items: flex-start; gap: 6px; }
.choice {
  border: 1px solid #cfd8e3;
  background: #fff;
  color: #334155;
  padding: 4px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
  line-height: 1.3;
  text-align: left;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.choice-label { display: block; }
.choice-description { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; font-weight: 400; line-height: 1.45; }
.choice.has-description { flex: 0 1 auto; min-width: 160px; max-width: 100%; }
.choice.stacked-option { width: 100%; flex: 0 0 100%; min-width: 0; padding: 10px 12px; }
.choice.stacked-option + .choice.stacked-option { margin-top: 2px; }
.choice.stacked-option .choice-description { max-width: 58ch; }
.choice:hover { border-color: #9fb1c7; background: #f8fafc; }
.choice.active {
  border-color: rgba(37, 99, 235, 0.7);
  background: #eff6ff;
  color: var(--primary-strong);
  box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.12);
}
.choice.active .choice-description { color: var(--primary-strong); }
.stack { display: grid; gap: 10px; }
.offer-tabs { min-width: 0; display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 4px; margin: 14px 0 12px; }
.offer-tab { flex: 0 0 auto; display: grid; gap: 3px; min-width: 112px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel-soft); color: var(--text); text-align: left; cursor: pointer; }
.offer-tab strong { font-size: 13px; }
.offer-tab span { color: var(--muted); font-size: 11px; }
.offer-tab.active { border-color: rgba(37, 99, 235, 0.55); background: rgba(37, 99, 235, 0.09); color: var(--primary-strong); }
.offer-tab.active span { color: var(--primary-strong); }
.offer-card { min-width: 0; border: 1px solid var(--line); border-radius: 14px; padding: 14px; background: var(--panel-soft); }
.offer-card.is-collapsed .offer-fields { display: none; }
.offer-field-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 20px; }
.field-footer { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 6px; }
.field-hint { margin-top: 6px; }
.checkbox-label { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 13px; white-space: nowrap; cursor: pointer; }
.offer-top { min-width: 0; display: flex; justify-content: space-between; align-items: start; gap: 10px; margin-bottom: 12px; }
.offer-top > * { min-width: 0; }
.offer-title { margin: 0; font-size: 16px; }
.offer-meta { color: var(--muted); font-size: 13px; line-height: 1.4; overflow-wrap: anywhere; }
.icon-btn, .primary-btn, .ghost-btn, .danger-btn { border: 0; border-radius: 12px; min-height: 42px; padding: 10px 14px; cursor: pointer; }
.primary-btn { background: var(--primary); color: white; font-weight: 700; }
.primary-btn:hover { background: var(--primary-strong); }
.primary-btn:disabled { opacity: 0.7; cursor: not-allowed; }
.ghost-btn { background: transparent; border: 1px solid var(--line); color: var(--text); }
.danger-btn { background: rgba(180, 35, 24, 0.08); color: var(--danger); }
.icon-btn { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); color: var(--text); }
.toolbar { min-width: 0; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.hint { min-width: 0; font-size: 13px; color: var(--muted); }
.result-box { display: grid; gap: 12px; }
.result-main { padding: 16px; border-radius: 14px; border: 1px solid color-mix(in srgb, var(--primary) 24%, var(--line)); background: linear-gradient(180deg, color-mix(in srgb, var(--primary) 8%, var(--panel)), var(--panel)); }
.result-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--accent); font-weight: 700; }
.result-company { margin: 8px 0 4px; font-size: 22px; }
.result-role { margin: 0; color: var(--muted); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; padding: 7px 10px; border-radius: 999px; background: #eef4ff; color: #1d4ed8; font-size: 12px; }
.list { margin: 0; padding-left: 0; list-style: none; color: var(--text); }
.list li + li { margin-top: 8px; }
.numbered-list { display: grid; gap: 8px; }
.numbered-list li + li { margin-top: 0; }
.numbered-item { display: grid; grid-template-columns: max-content minmax(0, 1fr); align-items: start; gap: 6px; }
.list-number { color: var(--primary-strong); font-weight: 700; line-height: 1.55; }
.numbered-item-content { min-width: 0; }
.suggestion-item { padding-left: 2px; }
.suggestion-option { margin-bottom: 8px; font-weight: 700; color: var(--text); }
.suggestion-action { display: flex; align-items: start; gap: 8px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel-soft); }
.suggestion-action p { margin: 0; color: var(--text); line-height: 1.55; }
.suggestion-priority { flex: 0 0 auto; padding: 3px 7px; border-radius: 999px; background: #eef4ff; color: var(--primary-strong); font-size: 12px; font-weight: 700; }
.priority-high { background: rgba(180, 35, 24, 0.08); color: var(--danger); }
.priority-medium { background: rgba(15, 118, 110, 0.08); color: var(--accent); }
.suggestion-columns { display: grid; gap: 8px; }
.suggestion-part { padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel-soft); }
.suggestion-part strong { display: block; font-size: 13px; }
.suggestion-part ul { margin: 6px 0 0; padding-left: 18px; color: var(--muted); line-height: 1.55; }
.suggestion-part li + li { margin-top: 4px; }
.suggestion-pros { border-color: rgba(15, 118, 110, 0.24); }
.suggestion-pros strong { color: var(--accent); }
.suggestion-cons { border-color: rgba(180, 35, 24, 0.2); }
.suggestion-cons strong { color: var(--danger); }
@media (min-width: 720px) { .suggestion-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.tradeoff-item { padding-left: 2px; }
.tradeoff-dimension { margin-bottom: 8px; font-weight: 700; color: var(--text); }
.tradeoff-grid { display: grid; gap: 8px; }
.tradeoff-side { padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel-soft); }
.tradeoff-side strong { display: block; font-size: 13px; color: var(--primary-strong); }
.tradeoff-side p { margin: 4px 0 0; color: var(--muted); line-height: 1.55; }
.tradeoff-side ul { margin: 6px 0 0; padding-left: 0; list-style: none; color: var(--muted); line-height: 1.55; }
.tradeoff-side li + li { margin-top: 4px; }
.tradeoff-pros { border-color: rgba(15, 118, 110, 0.24); }
.tradeoff-pros strong { color: var(--accent); }
.tradeoff-cons { border-color: rgba(180, 35, 24, 0.2); }
.tradeoff-cons strong { color: var(--danger); }
@media (min-width: 720px) { .tradeoff-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.empty-state { padding: 18px; border: 1px dashed var(--line); border-radius: 14px; color: var(--muted); text-align: center; background: rgba(255, 255, 255, 0.7); }
.result-actions { display: flex; align-items: end; justify-content: flex-start; gap: 12px; flex-wrap: wrap; padding: 12px 0; }
.model-picker { display: grid; gap: 5px; min-width: min(280px, 100%); }
.model-picker-label { color: var(--muted); font-size: 12px; font-weight: 700; }
.model-select { width: min(300px, 100%); min-height: 40px; border: 1px solid var(--line); border-radius: 9px; background: #fff; color: var(--text); padding: 8px 10px; outline: none; }
.model-select:focus { border-color: rgba(37, 99, 235, 0.55); box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12); }
.followup-section { padding: 16px; border: 1px solid rgba(15, 118, 110, 0.2); border-radius: 14px; background: rgba(15, 118, 110, 0.04); }
.followup-field .label { line-height: 1.5; }
.final-concern-section { padding: 16px; border: 1px solid rgba(37, 99, 235, 0.2); border-radius: 14px; background: rgba(37, 99, 235, 0.04); }
.loading-state { min-height: 180px; display: grid; place-content: center; justify-items: center; gap: 10px; padding: 24px; border: 1px solid rgba(37, 99, 235, 0.18); border-radius: 14px; background: linear-gradient(180deg, rgba(37, 99, 235, 0.06), rgba(255, 255, 255, 1)); text-align: center; }
.loading-state span { color: var(--muted); font-size: 13px; }
.loading-spinner { width: 32px; height: 32px; border: 3px solid rgba(37, 99, 235, 0.18); border-top-color: var(--primary); border-radius: 50%; animation: spin 0.8s linear infinite; }
.bottom-actions { min-width: 0; display: flex; gap: 12px; justify-content: space-between; align-items: center; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); box-shadow: var(--shadow); }
.theme-switcher { position: relative; display: grid; justify-items: end; gap: 8px; }
.theme-toggle { display: inline-flex; align-items: center; gap: 7px; min-height: 38px; padding: 8px 13px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel); color: var(--text); box-shadow: var(--shadow); cursor: pointer; font-size: 13px; font-weight: 700; }
.theme-toggle-icon { color: var(--primary); font-size: 17px; line-height: 1; }
.theme-options { display: grid; gap: 4px; min-width: 132px; padding: 8px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); box-shadow: var(--shadow); }
.theme-label { padding: 3px 8px 5px; color: var(--muted); font-size: 11px; }
.theme-option { display: flex; align-items: center; gap: 8px; padding: 7px 8px; border: 0; border-radius: 7px; background: transparent; color: var(--text); cursor: pointer; text-align: left; font-size: 12px; }
.theme-option:hover, .theme-option.active { background: var(--panel-soft); color: var(--primary-strong); }
.theme-swatch { width: 12px; height: 12px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(16, 32, 51, 0.12); }
.theme-swatch-blue { background: #2563eb; }
.theme-swatch-green { background: #2f855a; }
.theme-swatch-orange { background: #ea7b27; }
.bottom-actions-buttons { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.submission-library { min-width: 0; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.modal-backdrop { position: fixed; inset: 0; z-index: 20; display: grid; place-items: center; padding: 20px; background: rgba(16, 32, 51, 0.42); }
.modal { width: min(100%, 420px); padding: 22px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); box-shadow: 0 18px 50px rgba(16, 32, 51, 0.22); }
.modal-title { margin: 0; font-size: 18px; }
.modal-message { margin: 12px 0 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 20px; }
.submission-select { min-width: 0; max-width: min(100%, 520px); border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--text); padding: 8px 10px; text-overflow: ellipsis; }
.form-summary { margin-top: 10px; }
.small { font-size: 12px; color: var(--muted); }
.row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.spin { animation: spin 0.9s linear infinite; }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

@media (max-width: 560px) {
  .page { padding: 12px 10px; }
  .hero,
  .page-body,
  .page-header,
  .profile-group,
  .offer-card,
  .bottom-actions { padding: 14px; }
  .page-feedback { padding: 0 2px; }
  .page-intro { min-height: 48vh; padding: 22px 16px; }
  .page-title { font-size: 24px; }
  .hero-description { white-space: normal; }
  .page-navigation { justify-content: stretch; gap: 8px; }
  .page-jump { flex: 1 1 100%; justify-content: space-between; gap: 8px; }
  .page-jump-select {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    appearance: auto;
    background-image: none;
    color-scheme: light;
  }
  .page-navigation-buttons { flex: 1 1 100%; justify-content: stretch; }
  .page-navigation .ghost-btn,
  .page-navigation .primary-btn { flex: 1 1 0; padding-right: 10px; padding-left: 10px; }
  .group-heading,
  .offer-top,
  .offer-field-meta,
  .toolbar { align-items: stretch; flex-direction: column; }
  .group-heading-actions,
  .toolbar[style] { justify-content: flex-start !important; }
.offer-top .toolbar { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); width: 100%; }
  .offer-top .ghost-btn,
  .offer-top .danger-btn { min-height: 34px; padding: 7px 6px; border-radius: 9px; font-size: 12px; white-space: nowrap; }
  .bottom-actions { align-items: stretch; flex-direction: column; }
  .bottom-actions-buttons { display: grid; grid-template-columns: 1fr; }
  .submission-library { align-items: stretch; flex-direction: column; }
  .submission-select,
  .submission-library .ghost-btn,
  .submission-library .danger-btn { width: 100%; }
}
