/* ==========================================================================
   Fu-Garden お庭づくり簡易見積シミュレーター - CSS (明るい雰囲気のライトテーマ)
   ========================================================================== */

/* Design Tokens & Variables */
:root {
  --color-bg-dark: #fbfaf7;         /* 温かみのある明るいアイボリー */
  --color-bg-card: #ffffff;         /* 清潔感のある純白のカード */
  --color-bg-light: #f5f2eb;        /* 補助的な薄いベージュ */
  --color-border: rgba(137, 120, 93, 0.2);  /* 繊細なベージュボーダー */
  --color-border-hover: rgba(137, 120, 93, 0.5);
  
  /* Brand Colors */
  --color-brand-primary: #3d0d00;      /* 風雅庭の象徴カラー：深いエンジ・ブラウン */
  --color-brand-dark: #2b2421;         /* 可読性の高いダークブラウン（メイン文字色） */
  --color-brand-accent: #89785d;       /* 落ち着いたベージュ */
  --color-brand-gold: #a3885c;         /* 明るい背景で映えるゴールドブラウン */
  --color-brand-gold-hover: #c4ab80;
  
  /* Status Colors */
  --color-success: #385c49;            /* 植栽・自然をイメージした爽やかな深緑 */
  --color-success-light: #f0f7f3;
  --color-error: #ba3c32;
  
  /* Typography */
  --font-serif: "Times New Roman", "游明朝", "Yu Mincho", "YuMincho", "Noto Serif JP", serif;
  --font-sans: "Montserrat", "游ゴシック", "Yu Gothic", "Noto Sans JP", sans-serif;
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--color-bg-dark);
  color: var(--color-brand-dark);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(137, 120, 93, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(61, 13, 0, 0.03) 0%, transparent 40%);
  background-attachment: fixed;
}

/* Typography elements */
h1, h2, h3, h4, .logo-main {
  font-family: var(--font-serif);
  font-weight: 500;
  color: var(--color-brand-primary);
  letter-spacing: 0.05em;
}

strong {
  font-weight: 600;
  color: var(--color-brand-primary);
}

/* App Container */
#app-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Header */
.app-header {
  padding: 25px 5% 20px;
  border-bottom: 1px solid var(--color-border);
  background: rgba(251, 250, 247, 0.9);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-area {
  display: flex;
  flex-direction: column;
}

.logo-main {
  font-size: 26px;
  line-height: 1.2;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  background: linear-gradient(135deg, var(--color-brand-primary) 0%, var(--color-brand-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-sub {
  font-family: var(--font-serif);
  font-size: 11px;
  color: var(--color-brand-accent);
  letter-spacing: 0.1em;
  margin-top: 4px;
}

.header-badge {
  background: rgba(163, 136, 92, 0.08);
  border: 1px solid var(--color-border);
  padding: 6px 14px;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--color-brand-gold);
  border-radius: 2px;
}

/* Main Content Area */
.app-main {
  flex: 1;
  padding: 60px 5%;
}

.main-inner {
  max-width: 1000px;
  margin: 0 auto;
}

/* Screen Transitions */
.screen {
  display: none;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.screen.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* Intro Screen styling */
#intro-screen {
  display: none;
  justify-content: center;
  align-items: center;
  min-height: 60vh;
}

#intro-screen.active {
  display: flex;
}

.intro-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  padding: 60px;
  max-width: 680px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(61, 13, 0, 0.05);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.intro-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--color-brand-primary), var(--color-brand-gold));
}

.intro-tag {
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--color-brand-gold);
  text-transform: uppercase;
  margin-bottom: 25px;
  display: inline-block;
  border-bottom: 1px solid var(--color-brand-gold);
  padding-bottom: 6px;
}

.intro-title {
  font-size: 38px;
  line-height: 1.4;
  margin-bottom: 30px;
  color: var(--color-brand-primary);
}

.intro-lead {
  font-size: 16px;
  color: var(--color-brand-dark);
  margin-bottom: 25px;
  font-weight: 500;
}

.intro-text {
  font-size: 14px;
  color: var(--color-brand-accent);
  margin-bottom: 40px;
}

/* Wizard Screen styling */
.wizard-layout {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* Step Navigation (Top Indicators) */
.wizard-steps-nav {
  display: flex;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 15px;
}

.step-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 0 10px 15px;
  position: relative;
  opacity: 0.35;
  transition: opacity 0.3s ease;
}

.step-nav-item.active {
  opacity: 1;
}

.step-nav-item.active::after {
  content: '';
  position: absolute;
  bottom: -16px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-brand-gold);
}

.step-num {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  color: var(--color-brand-gold);
  margin-bottom: 5px;
}

.step-label {
  font-family: var(--font-serif);
  font-size: 15px;
  color: var(--color-brand-dark);
  font-weight: 600;
}

/* Wizard Content Area */
.wizard-content {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  padding: 45px;
  min-height: 450px;
  box-shadow: 0 10px 30px rgba(61, 13, 0, 0.04);
}

.step-pane {
  display: none;
}

.step-pane.active {
  display: block;
}

.step-title {
  font-size: 26px;
  margin-bottom: 15px;
  border-left: 2px solid var(--color-brand-gold);
  padding-left: 15px;
  color: var(--color-brand-primary);
}

.step-desc {
  font-size: 14px;
  color: var(--color-brand-accent);
  margin-bottom: 40px;
}

/* UI Components & Form styling */
.form-group {
  margin-bottom: 40px;
}

.form-label {
  display: block;
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--color-brand-primary);
  margin-bottom: 20px;
  font-weight: 600;
}

/* Sliders */
.slider-container {
  background: var(--color-bg-light);
  border: 1px solid var(--color-border);
  padding: 25px 30px;
  border-radius: 2px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 30px;
}

.custom-slider {
  flex: 1;
  -webkit-appearance: none;
  width: 100%;
  height: 2px;
  background: rgba(163, 136, 92, 0.3);
  outline: none;
}

.custom-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-brand-gold);
  cursor: pointer;
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  transition: transform 0.1s ease;
}

.custom-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  background: var(--color-brand-gold-hover);
}

.slider-values {
  min-width: 140px;
  text-align: right;
  line-height: 1.2;
}

.value-tsubo {
  font-family: var(--font-serif);
  font-size: 32px;
  color: var(--color-brand-primary);
  font-weight: 700;
}

.value-m2 {
  display: block;
  font-size: 12px;
  color: var(--color-brand-accent);
  margin-top: 4px;
}

.slider-helper {
  font-size: 12px;
  color: var(--color-brand-accent);
  margin-top: 8px;
}

/* Grid Options */
.grid-options-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.grid-options-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}

/* Option Cards */
.option-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  padding: 25px;
  border-radius: 2px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(137, 120, 93, 0.05);
}

.option-card:hover {
  border-color: var(--color-border-hover);
  background: #faf9f6;
  box-shadow: 0 4px 12px rgba(137, 120, 93, 0.1);
}

.option-card.checked {
  border-color: var(--color-brand-gold);
  background: rgba(163, 136, 92, 0.04);
  box-shadow: 0 4px 16px rgba(163, 136, 92, 0.08);
}

.hidden-radio, .hidden-checkbox {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.option-icon {
  font-size: 24px;
  color: var(--color-brand-gold);
  margin-bottom: 15px;
}

.option-title {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 600;
  color: var(--color-brand-primary);
  margin-bottom: 10px;
}

.option-title .en-sub {
  display: block;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 400;
  color: var(--color-brand-accent);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-top: 2px;
}

.option-desc {
  font-size: 12px;
  line-height: 1.6;
  color: var(--color-brand-dark);
  opacity: 0.85;
}

/* Style Selection Images */
.style-image-placeholder {
  width: 100%;
  height: 160px;
  background-color: var(--color-bg-light);
  margin-bottom: 20px;
  border-radius: 2px;
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(137, 120, 93, 0.1);
}

.style-hybrid {
  background-image: url('images/garden_hybrid.jpg');
}

.style-japanese {
  background-image: url('images/garden_japanese.jpg');
}

.style-modern {
  background-image: url('images/garden_modern.jpg');
}

.style-english {
  background-image: url('images/garden_english.jpg');
}

/* Checkbox specific */
.option-check-icon {
  font-size: 18px;
  color: var(--color-brand-accent);
  margin-bottom: 15px;
}

.option-card.checked .option-check-icon {
  color: var(--color-brand-gold);
}

.checkbox-option .fa-square-check {
  display: none;
}

.checkbox-option .fa-square {
  display: inline-block;
}

.checkbox-option.checked .fa-square-check {
  display: inline-block;
}

.checkbox-option.checked .fa-square {
  display: none;
}

.element-category {
  margin-bottom: 45px;
  border-bottom: 1px dashed var(--color-border);
  padding-bottom: 35px;
}

.element-category:last-child {
  margin-bottom: 0;
  border-bottom: none;
  padding-bottom: 0;
}

.category-header {
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--color-brand-primary);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.category-header i {
  color: var(--color-brand-gold);
  font-size: 16px;
}

/* Buttons */
.btn {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 16px 36px;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: none;
}

.btn-primary {
  background: var(--color-brand-primary);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--color-brand-dark);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(61, 13, 0, 0.25);
}

.btn-secondary {
  background: #ffffff;
  color: var(--color-brand-primary);
  border: 1px solid var(--color-border);
}

.btn-secondary:hover {
  background: var(--color-bg-light);
  border-color: var(--color-border-hover);
}

.btn-outline {
  background: transparent;
  color: var(--color-brand-primary);
  border: 1px solid var(--color-brand-primary);
}

.btn-outline:hover {
  background: rgba(61, 13, 0, 0.05);
  color: var(--color-brand-dark);
}

.btn-large {
  padding: 18px 45px;
  font-size: 14px;
}

.wizard-actions {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--color-border);
  padding-top: 30px;
}

.wizard-actions .btn-nav {
  min-width: 150px;
}

.wizard-actions:has(#btn-prev[style*="display: none"]) {
  justify-content: flex-end;
}

/* RESULTS SECTION (STEP 4) */
.result-container {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.result-header {
  text-align: center;
}

.result-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-success-light);
  border: 1px solid rgba(56, 92, 73, 0.2);
  color: var(--color-success);
  padding: 6px 14px;
  font-size: 12px;
  letter-spacing: 0.05em;
  border-radius: 20px;
  margin-bottom: 20px;
}

.result-title {
  font-size: 32px;
  margin-bottom: 10px;
  color: var(--color-brand-primary);
}

.result-subtitle {
  font-size: 14px;
  color: var(--color-brand-accent);
}

/* Summary Grid Cards */
.result-summary-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 25px;
}

.summary-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  padding: 35px;
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(137, 120, 93, 0.05);
}

.summary-card.highlight {
  background: linear-gradient(135deg, rgba(61, 13, 0, 0.03) 0%, rgba(255, 255, 255, 1) 100%);
  border-color: rgba(163, 136, 92, 0.3);
}

.card-label {
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--color-brand-accent);
  margin-bottom: 15px;
}

.card-value {
  font-family: var(--font-sans);
  font-size: 44px;
  font-weight: 600;
  line-height: 1.1;
  color: var(--color-brand-primary);
  margin-bottom: 15px;
}

.card-value .currency {
  font-size: 28px;
  font-weight: 300;
  margin-right: 5px;
}

.text-accent {
  color: var(--color-brand-gold) !important;
}

.card-sub-info {
  font-size: 12px;
  color: var(--color-brand-accent);
}

/* Comparison Bar Graph */
.comparison-section {
  border: 1px solid var(--color-border);
  padding: 40px;
  border-radius: 2px;
  background: #ffffff;
  box-shadow: 0 4px 15px rgba(137, 120, 93, 0.05);
}

.section-title {
  font-size: 20px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--color-brand-primary);
}

.section-title i {
  color: var(--color-brand-gold);
}

.section-desc {
  font-size: 13px;
  color: var(--color-brand-accent);
  margin-bottom: 35px;
}

.graph-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-bottom: 25px;
}

.graph-bar-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bar-label {
  font-size: 13px;
  color: var(--color-brand-dark);
  font-weight: 600;
}

.bar-label .sub-label {
  font-size: 11px;
  color: var(--color-brand-accent);
  margin-left: 5px;
  font-weight: 400;
}

.bar-track {
  display: flex;
  height: 54px;
  background: var(--color-bg-light);
  border: 1px solid var(--color-border);
  border-radius: 2px;
  overflow: hidden;
}

.bar-fill {
  display: flex;
  align-items: center;
  padding: 0 15px;
  height: 100%;
  font-size: 11px;
  line-height: 1.4;
  transition: width 0.8s cubic-bezier(0.1, 0.8, 0.25, 1);
}

/* Standard Company graph colors */
.fill-construction {
  background: #e5e2dc;
  color: var(--color-brand-dark);
}

.fill-margin {
  background: #d6b7b2;  /* マージン：明るいソフトローズブラウン */
  color: var(--color-brand-primary);
  border-left: 1px solid rgba(255,255,255,0.4);
}

/* Fu-Garden graph colors */
.fill-construction-fu {
  background: linear-gradient(90deg, #385c49 0%, #4a755d 100%); /* 植栽をイメージする豊かなグリーン */
  color: #ffffff;
  position: relative;
}

.fill-fee-fu {
  background: #a3885c; /* 設計監理：上品なブロンズゴールド */
  color: #ffffff;
  border-left: 1px solid rgba(255,255,255,0.2);
}

.bar-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.graph-legend {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 30px;
}

.legend-item {
  font-size: 12px;
  color: var(--color-brand-accent);
  display: flex;
  align-items: center;
  gap: 10px;
}

.legend-color {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 2px;
}

.color-construction-legend {
  background: #385c49;
}

.color-margin-legend {
  background: #d6b7b2;
}

/* Alerts */
.alert-box {
  display: flex;
  gap: 20px;
  padding: 25px;
  border-radius: 2px;
  border: 1px solid transparent;
  line-height: 1.6;
}

.alert-success {
  background: var(--color-success-light);
  border-color: rgba(56, 92, 73, 0.15);
  color: var(--color-brand-dark);
}

.alert-icon {
  font-size: 20px;
  color: var(--color-brand-gold);
}

.alert-content {
  font-size: 13px;
}

.alert-content strong {
  color: var(--color-brand-primary);
}

/* Tables */
.breakdown-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.table-container {
  overflow-x: auto;
  border: 1px solid var(--color-border);
  border-radius: 2px;
  box-shadow: 0 4px 15px rgba(137, 120, 93, 0.05);
}

.styled-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  text-align: left;
  background: #ffffff;
}

.styled-table th, .styled-table td {
  padding: 18px 20px;
  border-bottom: 1px solid var(--color-bg-light);
}

.styled-table th {
  font-family: var(--font-serif);
  font-size: 14px;
  color: var(--color-brand-primary);
  background: #fbfaf7;
  font-weight: 600;
}

.styled-table tr:last-child td {
  border-bottom: none;
}

.styled-table .col-price {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  text-align: right;
  white-space: nowrap;
  color: var(--color-brand-dark);
}

.styled-table .row-total {
  background: rgba(163, 136, 92, 0.05);
}

.styled-table .row-total td {
  font-size: 14px;
  color: var(--color-brand-primary);
  border-top: 1px solid var(--color-brand-gold);
}

.styled-table .row-total .col-price {
  font-size: 20px;
  color: var(--color-brand-primary);
}

/* Contact Form */
.contact-section {
  border-top: 1px solid var(--color-border);
  padding-top: 50px;
}

.inquiry-form {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-top: 30px;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group-inpage {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-group-inpage label {
  font-size: 13px;
  color: var(--color-brand-dark);
  font-weight: 600;
}

.form-group-inpage .required {
  color: #ba3c32;
  margin-left: 5px;
}

.form-group-inpage input[type="text"],
.form-group-inpage input[type="email"],
.form-group-inpage input[type="tel"],
.form-group-inpage textarea {
  background: #ffffff;
  border: 1px solid var(--color-border);
  padding: 14px 18px;
  color: var(--color-brand-dark);
  font-family: var(--font-sans);
  font-size: 14px;
  border-radius: 2px;
  outline: none;
  transition: all 0.3s ease;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.02);
}

.form-group-inpage input:focus,
.form-group-inpage textarea:focus {
  border-color: var(--color-brand-gold);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(163, 136, 92, 0.1);
}

.form-actions-inpage {
  display: flex;
  justify-content: center;
  margin-top: 15px;
}

.result-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  border-top: 1px solid var(--color-border);
  padding-top: 40px;
}

/* Completion Screen style */
#complete-screen {
  display: none;
  justify-content: center;
  align-items: center;
  min-height: 60vh;
}

#complete-screen.active {
  display: flex;
}

.complete-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  padding: 60px;
  max-width: 600px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(61, 13, 0, 0.05);
}

.complete-icon {
  font-size: 64px;
  color: var(--color-success);
  margin-bottom: 30px;
}

.complete-title {
  font-size: 28px;
  margin-bottom: 20px;
  color: var(--color-brand-primary);
}

.complete-text {
  font-size: 15px;
  color: var(--color-brand-dark);
  margin-bottom: 15px;
}

.complete-text-sub {
  font-size: 13px;
  color: var(--color-brand-accent);
  margin-bottom: 40px;
}

/* Footer style */
.app-footer {
  padding: 40px 5% 30px;
  border-top: 1px solid var(--color-border);
  background: #fbfaf7;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.copyright {
  font-size: 11px;
  color: var(--color-brand-accent);
  letter-spacing: 0.05em;
}

/* ==========================================================================
   Responsive Styles
   ========================================================================== */
@media screen and (max-width: 900px) {
  .grid-options-3 {
    grid-template-columns: 1fr 1fr;
  }
}

@media screen and (max-width: 768px) {
  body {
    font-size: 14px;
  }

  .app-header {
    padding: 15px 5%;
  }

  .logo-main {
    font-size: 20px;
  }

  .app-main {
    padding: 30px 4%;
  }

  .intro-card {
    padding: 40px 25px;
  }

  .intro-title {
    font-size: 26px;
  }

  .wizard-content {
    padding: 25px 20px;
  }

  .step-title {
    font-size: 20px;
  }

  .grid-options-2 {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .grid-options-3 {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .option-card {
    padding: 20px;
  }

  .style-image-placeholder {
    height: 140px;
  }

  .result-summary-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .card-value {
    font-size: 32px;
  }

  .comparison-section {
    padding: 25px 20px;
  }

  .bar-track {
    height: 48px;
  }

  .bar-text {
    font-size: 10px;
  }

  .graph-legend {
    align-items: flex-start;
  }

  .styled-table th, .styled-table td {
    padding: 12px 10px;
  }

  .styled-table .col-price {
    font-size: 13px;
  }

  .styled-table .row-total .col-price {
    font-size: 16px;
  }

  .form-row-2 {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .result-actions {
    flex-direction: column;
    gap: 15px;
  }

  .result-actions .btn {
    width: 100%;
  }

  .wizard-actions {
    flex-direction: row;
    gap: 15px;
  }

  .wizard-actions .btn {
    flex: 1;
    padding: 14px 20px;
    font-size: 12px;
  }

  .complete-card {
    padding: 40px 20px;
  }
}

/* ==========================================================================
   Print Style Sheet (A4 Portrait Optimization)
   ========================================================================== */
@media print {
  body {
    background-color: #fff !important;
    background-image: none !important;
    color: #000 !important;
    font-size: 12pt;
    line-height: 1.5;
  }

  #app-container {
    display: block;
  }

  .app-header {
    background: none !important;
    border-bottom: 2px solid #000 !important;
    padding: 10px 0 20px !important;
    position: static;
  }

  .logo-main {
    background: none !important;
    -webkit-text-fill-color: #000 !important;
    color: #000 !important;
    font-size: 24pt;
  }

  .logo-sub {
    color: #333 !important;
  }

  .header-badge {
    border: 1px solid #000 !important;
    color: #000 !important;
    background: none !important;
  }

  .app-main {
    padding: 20px 0 !important;
  }

  .screen {
    display: none !important;
  }
  
  #wizard-screen {
    display: block !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .wizard-steps-nav,
  .step-pane:not([data-step="4"]),
  .wizard-actions,
  .no-print {
    display: none !important;
  }

  .step-pane[data-step="4"] {
    display: block !important;
  }

  .wizard-content {
    background: none !important;
    border: none !important;
    padding: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
  }

  .result-badge {
    border: 1px solid #000 !important;
    color: #000 !important;
    background: none !important;
  }

  .result-title {
    color: #000 !important;
    font-size: 20pt;
  }

  .result-summary-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 20px !important;
    margin-bottom: 30px;
  }

  .summary-card {
    background: none !important;
    border: 1px solid #000 !important;
    padding: 20px !important;
    color: #000 !important;
  }

  .card-value {
    color: #000 !important;
    font-size: 28pt !important;
  }
  
  .card-value .currency {
    font-size: 18pt !important;
  }

  .text-accent {
    color: #000 !important;
  }

  .comparison-section {
    border: 1px solid #000 !important;
    background: none !important;
    padding: 20px !important;
    page-break-inside: avoid;
  }

  .section-title {
    color: #000 !important;
    font-size: 14pt !important;
  }

  .graph-container {
    gap: 15px !important;
  }

  .bar-track {
    border: 1px solid #000 !important;
    height: 40px !important;
    background: none !important;
  }

  .fill-construction {
    background: #e0e0e0 !important;
    color: #000 !important;
  }

  .fill-margin {
    background: #9e9e9e !important;
    color: #fff !important;
  }

  .fill-construction-fu {
    background: #b0bec5 !important;
    color: #000 !important;
  }

  .fill-fee-fu {
    background: #eceff1 !important;
    color: #000 !important;
  }

  .graph-legend, .alert-box {
    display: none !important;
  }

  .styled-table {
    border: 1px solid #000 !important;
  }

  .styled-table th {
    background: #f0f0f0 !important;
    color: #000 !important;
    border-bottom: 1px solid #000 !important;
  }

  .styled-table td {
    color: #000 !important;
    border-bottom: 1px solid #e0e0e0 !important;
  }

  .styled-table .row-total td {
    border-top: 2px solid #000 !important;
    background: #f5f5f5 !important;
  }

  .styled-table .row-total .col-price {
    color: #000 !important;
  }
}
