body.estimate-root {
  --font-body: "DM Sans", "IBM Plex Sans KR", "Pretendard Variable", "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --font-head: "Syne", "IBM Plex Sans KR", "Pretendard Variable", "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --estimate-panel: #101218;
  --estimate-panel-alt: #151922;
  --estimate-panel-soft: rgba(255, 255, 255, 0.04);
  --estimate-selected-bg: rgba(37, 98, 235, 0.08);
  --estimate-selected-border: rgba(96, 165, 250, 0.22);
  --estimate-warning: #d9aa6c;
  --estimate-warning-bg: rgba(217, 170, 108, 0.14);
  --estimate-error: #e39a88;
  --estimate-error-bg: rgba(227, 154, 136, 0.14);
  --estimate-overlay: rgba(8, 9, 12, 0.78);
}

.estimate-page {
  padding-top: var(--nav-h);
}

.estimate-hero-shell {
  padding-top: calc(var(--nav-h) + 72px);
  padding-bottom: 88px;
}

.estimate-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.92fr);
  gap: 64px;
  align-items: center;
}

.estimate-hero-copy {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.estimate-hero-title {
  max-width: 8ch;
  white-space: pre-line;
}

.estimate-hero-lead {
  max-width: 720px;
}

.estimate-note {
  margin: 0;
  color: var(--fg-dim);
  font-size: 15px;
  line-height: 1.75;
}

.estimate-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.estimate-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.estimate-hero-stat {
  min-width: 0;
  padding-right: 24px;
  border-right: 1px solid var(--border);
}

.estimate-hero-stat:last-child {
  padding-right: 0;
  border-right: none;
}

.estimate-hero-stat-num {
  font-family: var(--font-head);
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--fg);
}

.estimate-hero-stat-label {
  margin-top: 4px;
  color: var(--fg-dim);
  font-size: 12px;
  line-height: 1.5;
}

.estimate-hero-panel {
  position: relative;
  overflow: hidden;
  padding: 32px 28px;
  border-color: var(--border-strong);
  background: linear-gradient(180deg, rgba(18, 22, 31, 0.98) 0%, rgba(13, 16, 23, 0.96) 100%);
  display: grid;
  gap: 18px;
}

.estimate-hero-panel::before {
  display: none;
}

.estimate-hero-panel > * {
  position: relative;
  z-index: 1;
}

.estimate-hero-panel-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.estimate-hero-panel-title {
  margin: 0;
  font-family: var(--font-head);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--fg);
}

.estimate-hero-panel-copy {
  color: var(--fg-dim);
  font-size: 14px;
  line-height: 1.75;
}

.estimate-hero-panel-list {
  display: grid;
  gap: 14px;
}

.estimate-hero-panel-item {
  display: grid;
  gap: 6px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.estimate-hero-panel-item:first-child {
  padding-top: 0;
  border-top: none;
}

.estimate-hero-panel-item strong {
  font-size: 15px;
  font-weight: 600;
  color: var(--fg);
}

.estimate-hero-panel-item p {
  color: var(--fg-dim);
  font-size: 13px;
  line-height: 1.7;
}

.estimate-hero-panel,
.estimate-hero-panel-title,
.estimate-hero-panel-copy,
.estimate-hero-panel-item strong,
.estimate-hero-panel-item p,
.estimate-hero-lead,
.estimate-note {
  min-width: 0;
}

html[lang="ko"] body.estimate-root .estimate-hero-title,
html[lang="ko"] body.estimate-root .estimate-hero-lead,
html[lang="ko"] body.estimate-root .estimate-note,
html[lang="ko"] body.estimate-root .estimate-hero-panel-title,
html[lang="ko"] body.estimate-root .estimate-hero-panel-copy,
html[lang="ko"] body.estimate-root .estimate-hero-panel-item strong,
html[lang="ko"] body.estimate-root .estimate-hero-panel-item p {
  word-break: keep-all;
  line-break: strict;
  overflow-wrap: break-word;
  text-wrap: pretty;
}

html[lang="ko"] body.estimate-root .estimate-hero-panel-title {
  max-width: 12ch;
  line-height: 1.18;
}

html[lang="ko"] body.estimate-root .estimate-hero-panel-copy,
html[lang="ko"] body.estimate-root .estimate-hero-panel-item p {
  max-width: 30ch;
}

html[lang="en"] body.estimate-root .estimate-hero-grid {
  grid-template-columns: minmax(0, 1.14fr) minmax(360px, 0.82fr);
  gap: 48px;
}

html[lang="en"] body.estimate-root .estimate-hero-panel-title,
html[lang="en"] body.estimate-root .estimate-hero-panel-copy,
html[lang="en"] body.estimate-root .estimate-hero-panel-item strong,
html[lang="en"] body.estimate-root .estimate-hero-panel-item p,
html[lang="en"] body.estimate-root .estimate-hero-lead,
html[lang="en"] body.estimate-root .estimate-note {
  word-break: normal;
  overflow-wrap: break-word;
  hyphens: manual;
  text-wrap: pretty;
}

html[lang="en"] body.estimate-root .estimate-hero-panel {
  padding: 32px 30px;
}

html[lang="en"] body.estimate-root .estimate-hero-panel-title {
  max-width: 13ch;
  font-size: clamp(21px, 2.1vw, 28px);
  line-height: 1.14;
  letter-spacing: -0.02em;
}

html[lang="en"] body.estimate-root .estimate-hero-panel-copy {
  max-width: 34ch;
  font-size: 14px;
  line-height: 1.72;
}

html[lang="en"] body.estimate-root .estimate-hero-panel-item strong {
  font-size: 14px;
  line-height: 1.4;
}

html[lang="en"] body.estimate-root .estimate-hero-panel-item p {
  max-width: 34ch;
  font-size: 13px;
  line-height: 1.65;
}

html[lang="en"] body.estimate-root .estimate-hero-title {
  max-width: 6.4ch;
  font-size: clamp(46px, 5.4vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.028em;
  text-wrap: balance;
}

html[lang="en"] body.estimate-root .estimate-hero-lead,
html[lang="en"] body.estimate-root .estimate-note {
  max-width: 34ch;
}

html[lang="en"] body.estimate-root .estimate-hero-lead {
  font-size: 17px;
  line-height: 1.68;
}

html[lang="en"] body.estimate-root .estimate-note {
  font-size: 15px;
  line-height: 1.65;
}

html[lang="en"] body.estimate-root .estimate-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

html[lang="en"] body.estimate-root .estimate-hero-stat {
  min-width: 0;
  padding-right: 0;
  border-right: none;
}

html[lang="en"] body.estimate-root .estimate-hero-stat-label {
  max-width: 14ch;
  font-size: 13px;
  line-height: 1.55;
}

html[lang="en"] body.estimate-root .summary-title,
html[lang="en"] body.estimate-root .options-head h2,
html[lang="en"] body.estimate-root .option-group-title,
html[lang="en"] body.estimate-root .cat-sidebar-name,
html[lang="en"] body.estimate-root .feature-group-name,
html[lang="en"] body.estimate-root .feature-check-name,
html[lang="en"] body.estimate-root .result-title,
html[lang="en"] body.estimate-root .result-block-title,
html[lang="en"] body.estimate-root .inquiry-success h3 {
  font-family: var(--font-head);
  letter-spacing: -0.018em;
  line-height: 1.18;
}

.estimate-workspace-shell {
  padding-top: 0;
}

.estimate-cta-shell {
  margin-top: 12px;
}

.cat-sidebar,
.feature-panel,
.summary-panel,
.options-section,
.result-card,
.chat-messages,
.dep-modal {
  background: var(--estimate-panel);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: none;
}

.options-section,
.result-card {
  padding: 36px;
}

.estimate-workspace {
  gap: 28px;
}

.mode-tabs {
  display: inline-flex;
  gap: 8px;
  padding: 6px;
  background: var(--estimate-panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: none;
}

.mode-tab {
  min-height: 44px;
  padding: 0 18px;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: var(--fg-dim);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.mode-tab:hover {
  color: var(--fg);
}

.mode-tab.active {
  background: var(--estimate-panel-alt);
  color: var(--fg);
  box-shadow: none;
}

.mode-content {
  display: none;
  margin-top: 28px;
}

.mode-content.active {
  display: block;
}

.manual-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) 320px;
  gap: 20px;
  align-items: start;
}

.cat-sidebar,
.feature-panel,
.summary-panel {
  padding: 24px;
}

.cat-sidebar,
.summary-panel {
  position: sticky;
  top: 96px;
}

.cat-sidebar {
  display: grid;
  gap: 6px;
}

.cat-sidebar-btn {
  display: grid;
  gap: 4px;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.cat-sidebar-btn:hover {
  background: var(--estimate-panel-soft);
}

.cat-sidebar-btn.active {
  border-color: var(--estimate-selected-border);
  background: var(--estimate-selected-bg);
}

.cat-sidebar-name {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--fg);
}

.cat-sidebar-meta {
  color: var(--fg-dim);
  font-size: 0.88rem;
}

.feature-panel {
  min-height: 420px;
}

.feature-group {
  display: none;
}

.feature-group.active {
  display: block;
}

.feature-group-title {
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.feature-group-name {
  font-size: 1.14rem;
  font-weight: 700;
  color: var(--fg);
}

.feature-group-subtitle {
  margin-top: 4px;
  color: var(--fg-dim);
  font-size: 0.94rem;
}

.feature-check-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--border);
  cursor: pointer;
}

.feature-check-item:first-of-type {
  border-top: none;
  padding-top: 0;
}

.feature-check-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--primary);
  cursor: pointer;
}

.feature-check-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--fg);
}

.feature-check-name-en {
  margin-top: 4px;
  color: var(--fg-dim);
  font-size: 0.88rem;
}

.feature-check-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
  color: var(--fg-dim);
  font-size: 0.9rem;
}

.feature-level {
  font-weight: 700;
  color: var(--highlight);
}

.feature-price {
  font-weight: 600;
  color: var(--fg);
  font-size: 0.95rem;
}

.feature-ops {
  line-height: 1.55;
}

.summary-title {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--fg);
}

.summary-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  padding: 10px 0;
  border-top: 1px solid var(--border);
  font-size: 0.95rem;
}

.summary-row:first-child {
  border-top: none;
  padding-top: 16px;
}

.summary-row .label {
  color: var(--fg-dim);
}

.summary-row .value {
  font-weight: 600;
  color: var(--fg);
  text-align: right;
}

.summary-row .value.accent {
  color: var(--highlight);
}

.summary-row.total .label,
.summary-row.total .value {
  color: var(--fg);
  font-size: 1.03rem;
  font-weight: 700;
}

.summary-row.is-warning .label,
.summary-row.is-warning .value {
  color: var(--estimate-warning);
}

.summary-divider {
  height: 1px;
  margin: 12px 0;
  background: var(--border);
}

.options-section {
  margin-top: 28px;
}

.options-head {
  margin-bottom: 28px;
}

.options-head h2 {
  font-size: 1.18rem;
}

.options-head p {
  margin: 8px 0 0;
  color: var(--fg-dim);
  font-size: 0.98rem;
  line-height: 1.75;
}

.options-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  min-width: 0;
}

.option-group {
  min-width: 0;
  padding: 22px;
  background: var(--estimate-panel-alt);
  border: 1px solid var(--border);
  border-radius: 14px;
}

.option-group-title {
  margin-bottom: 12px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--fg);
}

.option-radio-group {
  display: grid;
  gap: 10px;
}

.option-card {
  display: block;
  min-width: 0;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(8, 9, 12, 0.18);
  cursor: pointer;
  position: relative;
}

.option-card:hover {
  border-color: var(--border-strong);
}

.option-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.option-card.checked {
  border-color: var(--estimate-selected-border);
  background: var(--estimate-selected-bg);
}

.option-card-head {
  display: flex;
  min-width: 0;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.option-card-head strong {
  min-width: 0;
  font-size: 1rem;
  overflow-wrap: anywhere;
}

.option-price {
  min-width: 0;
  color: var(--highlight);
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
  overflow-wrap: anywhere;
}

.option-price.free {
  color: var(--muted);
}

.option-card-desc,
.option-card-specs,
.option-card-includes {
  margin-top: 8px;
  color: var(--fg-dim);
  font-size: 0.9rem;
  line-height: 1.68;
}

.option-card-specs,
.option-card-includes {
  display: grid;
  gap: 4px;
}

.option-checkbox {
  display: flex;
  gap: 8px;
  align-items: start;
  color: var(--fg);
  font-size: 0.96rem;
  line-height: 1.68;
}

.option-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--primary);
}

.page-count-wrap {
  display: none;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  color: var(--fg-dim);
  font-size: 0.9rem;
}

.page-count-wrap.visible {
  display: flex;
}

.page-count-wrap input {
  width: 72px;
  height: 38px;
  padding: 0 10px;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  background: rgba(8, 9, 12, 0.2);
  color: var(--fg);
  font: inherit;
  text-align: center;
}

.calculate-section {
  margin-top: 28px;
  padding: 0;
  text-align: left;
}

.btn-calculate,
.btn-send,
.btn-inquiry,
.dep-modal-actions .btn-add,
.dep-modal-actions .btn-cancel {
  min-height: 46px;
  padding: 0 18px;
  border-radius: 10px;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.btn-calculate,
.btn-send,
.btn-inquiry,
.dep-modal-actions .btn-add {
  border: 1px solid var(--primary);
  background: var(--primary);
  color: #fff;
}

.btn-calculate:hover,
.btn-send:hover,
.btn-inquiry:hover,
.dep-modal-actions .btn-add:hover {
  background: var(--primary-hover);
}

.btn-calculate:disabled,
.btn-send:disabled,
.btn-inquiry:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.result-section {
  display: none;
  margin-top: 28px;
}

.result-section.visible {
  display: block;
}

.result-title {
  font-size: 1.2rem;
  font-weight: 700;
}

.result-block {
  margin-top: 24px;
}

.result-block-title {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  font-size: 1rem;
  font-weight: 700;
  color: var(--fg);
}

.result-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  padding: 10px 0;
  border-top: 1px solid var(--border);
  font-size: 0.96rem;
}

.result-row .label {
  color: var(--fg-dim);
}

.result-row .value {
  font-weight: 600;
  color: var(--fg);
}

.result-row .value.accent {
  color: var(--highlight);
}

.result-row.total .label,
.result-row.total .value {
  color: var(--fg);
  font-size: 1.06rem;
  font-weight: 700;
}

.result-row.is-warning .label,
.result-row.is-warning .value {
  color: var(--estimate-warning);
}

.result-disclaimer,
.result-warning {
  margin-top: 16px;
  padding: 16px 18px;
  border-radius: 12px;
  font-size: 0.9rem;
  line-height: 1.72;
}

.result-disclaimer {
  background: var(--estimate-error-bg);
  border: 1px solid rgba(227, 154, 136, 0.2);
  color: var(--estimate-error);
}

.result-warning {
  background: var(--estimate-warning-bg);
  border: 1px solid rgba(217, 170, 108, 0.2);
  color: var(--estimate-warning);
}

.result-warnings {
  margin-top: 16px;
}

.btn-inquiry {
  margin-top: 24px;
}

.btn-inquiry.is-block {
  width: 100%;
}

.dep-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  align-items: center;
  justify-content: center;
  background: var(--estimate-overlay);
}

.dep-modal-overlay.visible {
  display: flex;
}

.dep-modal {
  width: min(520px, calc(100% - 1.5rem));
  padding: 24px;
}

.dep-modal h3 {
  margin-bottom: 12px;
  font-size: 1.05rem;
}

.dep-modal p {
  margin: 0 0 20px;
  color: var(--fg-dim);
  font-size: 0.98rem;
  line-height: 1.75;
}

.dep-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.dep-modal-actions .btn-cancel {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--fg);
}

.ai-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 20px;
  align-items: start;
}

.ai-summary-col .summary-panel {
  position: sticky;
  top: 96px;
}

.ai-summary-col .summary-panel.is-highlighted {
  border-color: var(--border-strong);
}

.chat-messages {
  min-height: 420px;
  max-height: 70vh;
  overflow-y: auto;
  padding: 20px;
}

.chat-msg + .chat-msg {
  margin-top: 16px;
}

.chat-meta {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 600;
}

.chat-bubble {
  max-width: 100%;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--fg);
  font-size: 0.98rem;
  line-height: 1.75;
  white-space: pre-wrap;
}

.chat-msg.user .chat-bubble {
  border-color: var(--estimate-selected-border);
  background: var(--estimate-selected-bg);
}

.chat-msg.ai .chat-bubble {
  background: var(--estimate-panel-soft);
}

.chat-bubble-list {
  padding-top: 12px;
  padding-bottom: 12px;
}

.ai-feature-list {
  display: grid;
  gap: 8px;
}

.ai-feature-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  padding: 8px 0;
  border-top: 1px solid var(--border);
}

.ai-feature-row:first-child {
  border-top: none;
  padding-top: 0;
}

.ai-feature-name {
  font-weight: 600;
}

.ai-feature-code {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.8rem;
}

.typing-indicator {
  display: none;
  margin-top: 10px;
  color: var(--fg-dim);
  font-size: 0.9rem;
}

.typing-indicator.visible {
  display: block;
}

.chat-input-row {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.chat-input {
  flex: 1;
  min-height: 44px;
  padding: 12px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  background: rgba(8, 9, 12, 0.22);
  color: var(--fg);
  font: inherit;
  font-size: 0.98rem;
  resize: vertical;
}

.chat-input:focus,
.inquiry-field input:focus,
.inquiry-field textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.ai-summary-empty {
  padding: 24px 0 0;
  color: var(--fg-dim);
  font-size: 0.94rem;
  line-height: 1.74;
}

.ai-summary-features .summary-row {
  font-size: 0.84rem;
}

.feat-name {
  color: var(--fg);
}

.feat-price {
  color: var(--fg);
  font-weight: 600;
}

.inquiry-help {
  margin: 0 0 20px;
  color: var(--fg-dim);
  font-size: 0.96rem;
  line-height: 1.74;
}

.inquiry-form {
  display: grid;
  gap: 12px;
}

.inquiry-field {
  display: grid;
  gap: 6px;
}

.inquiry-field span {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--fg);
}

.inquiry-field em {
  color: var(--estimate-error);
  font-style: normal;
}

.inquiry-field input,
.inquiry-field textarea {
  width: 100%;
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  background: rgba(8, 9, 12, 0.22);
  color: var(--fg);
  font: inherit;
  font-size: 0.96rem;
}

.inquiry-field textarea {
  min-height: 96px;
  resize: vertical;
}

.inquiry-success {
  text-align: left;
}

.inquiry-success h3 {
  margin-bottom: 8px;
}

.inquiry-success p {
  margin: 0;
  color: var(--fg-dim);
}

.inquiry-success .btn-inquiry {
  margin-top: 20px;
}

@media (max-width: 1080px) {
  .estimate-hero-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  html[lang="en"] body.estimate-root .estimate-hero-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .estimate-hero-title {
    max-width: none;
  }

  .estimate-hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }

  .estimate-hero-stat,
  .estimate-hero-stat:last-child {
    padding: 18px 18px 16px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--estimate-panel-soft);
  }

  .estimate-hero-stat-label {
    max-width: none;
  }

  .manual-layout {
    grid-template-columns: 1fr;
  }

  .cat-sidebar,
  .summary-panel,
  .ai-summary-col .summary-panel {
    position: static;
  }

  .cat-sidebar {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }

  .ai-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .estimate-hero-shell {
    padding-top: calc(var(--nav-h) + 40px);
    padding-bottom: 64px;
  }

  .estimate-hero-title {
    max-width: 7ch;
    font-size: clamp(34px, 16vw, 52px);
    line-height: 0.94;
  }

  .estimate-hero-lead,
  .estimate-note {
    max-width: none;
  }

  html[lang="en"] body.estimate-root .estimate-hero-title {
    max-width: 7ch;
    font-size: clamp(34px, 16vw, 52px);
    line-height: 0.94;
  }

  html[lang="en"] body.estimate-root .estimate-hero-lead,
  html[lang="en"] body.estimate-root .estimate-note {
    max-width: none;
  }

  .estimate-hero-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .estimate-hero-stat {
    padding-right: 0;
    padding-left: 0;
    padding-bottom: 12px;
    border: none;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
    background: transparent;
  }

  .estimate-hero-stat:last-child {
    padding-bottom: 0;
    border: none;
    border-bottom: none;
  }

  .options-section,
  .result-card,
  .cat-sidebar,
  .feature-panel,
  .summary-panel,
  .chat-messages,
  .dep-modal {
    padding: 24px;
  }

  .options-grid {
    grid-template-columns: 1fr;
  }

  .option-card-head {
    flex-direction: column;
    gap: 4px;
  }

  .option-price {
    white-space: normal;
  }

  .chat-input-row {
    flex-direction: column;
  }

  .estimate-hero-panel {
    padding: 24px;
    margin-top: 10px;
  }
}

@media (max-width: 640px) {
  html[lang="en"] body.estimate-root .estimate-hero-panel-title,
  html[lang="en"] body.estimate-root .estimate-hero-panel-copy,
  html[lang="en"] body.estimate-root .estimate-hero-panel-item p,
  html[lang="en"] body.estimate-root .estimate-hero-lead,
  html[lang="en"] body.estimate-root .estimate-note {
    max-width: none;
  }

  html[lang="en"] body.estimate-root .estimate-hero-stats {
    grid-template-columns: 1fr;
  }

  html[lang="en"] body.estimate-root .estimate-hero-stat,
  html[lang="en"] body.estimate-root .estimate-hero-stat:last-child {
    padding-left: 0;
    padding-right: 0;
    border: none;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
    background: transparent;
  }

  html[lang="en"] body.estimate-root .estimate-hero-stat:last-child {
    border-bottom: none;
  }
}
