/**
 * 설치 희망자 — 입력·결과 모바일 UX (≤720px)
 * customer-input-mobile.css 통합·확장
 */

@media (max-width: 720px) {
  /* ── 공통: 페이지 여백·헤더 ───────────────────────────────────── */
  body[data-role="customer"] > header.hero {
    margin-inline: clamp(0.5rem, 2.5vw, 0.75rem);
    padding: 0.6rem 0.7rem;
    margin-bottom: 0.35rem;
    border-radius: var(--radius-lg, 12px);
  }

  body[data-role="customer"] main {
    padding-inline: clamp(0.5rem, 2.5vw, 0.75rem);
    gap: 0.45rem;
  }

  body[data-role="customer"] #inputView:not(.hidden-view),
  body[data-role="customer"].view-input #inputView {
    padding: 0.35rem 0.15rem 0.5rem;
    border-radius: 14px;
    background: #f0f4f9;
  }

  body[data-role="customer"] #resultView:not(.hidden-view),
  body[data-role="customer"].view-result #resultView {
    padding: 0.35rem 0.15rem 0;
    border-radius: 14px;
  }

  body[data-role="customer"] .hero-topbar {
    gap: 0.45rem;
  }

  body[data-role="customer"] .hero-controls {
    flex: 0 0 auto;
    min-width: 0;
    justify-content: flex-end;
  }

  /* 모바일: 입력↔결과는 분석 실행·스티키 주소 등 플로우로 전환 — 헤더 탭 숨김 */
  body[data-role="customer"] .hero-controls .page-switch {
    display: none !important;
  }

  body[data-role="customer"] .hero-actions-row {
    justify-content: flex-end;
  }

  /* 모바일: 직원 역할 전환 불가 — 역할 선택 버튼 숨김 */
  .role-open-btn {
    display: none !important;
  }

  body[data-role="customer"] #inputView:not(.hidden-view) .customer-sticky-address-bar.is-visible:not(.hidden),
  body[data-role="customer"].view-input .customer-sticky-address-bar.is-visible:not(.hidden) {
    top: 0.35rem;
  }

  /* ── 입력: 패널·섹션 카드 ─────────────────────────────────────── */
  body[data-role="customer"] #inputView:not(.hidden-view) .panel.input-panel,
  body[data-role="customer"].view-input .panel.input-panel {
    padding: 0;
    border: none;
    box-shadow: none;
    background: transparent;
  }

  body[data-role="customer"] #inputView:not(.hidden-view) .input-panel > h2,
  body[data-role="customer"].view-input .input-panel > h2 {
    display: none;
  }

  body[data-role="customer"] #inputView:not(.hidden-view) .input-step[data-input-step="1"],
  body[data-role="customer"].view-input .input-step[data-input-step="1"] {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
  }

  body[data-role="customer"] #inputView:not(.hidden-view) .customer-input-value-prop,
  body[data-role="customer"].view-input .customer-input-value-prop {
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
  }

  body[data-role="customer"] #inputView:not(.hidden-view) .customer-input-value-prop__title,
  body[data-role="customer"].view-input .customer-input-value-prop__title {
    font-size: 1.28rem;
  }

  body[data-role="customer"] #inputView:not(.hidden-view) .input-install-type-top,
  body[data-role="customer"].view-input .input-install-type-top {
    margin: 0;
    padding: 0.85rem 0.9rem 0.9rem;
    border-radius: var(--radius-lg, 14px);
    border: 1px solid var(--border, #e2e8f0);
    background: #fff;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: clamp(12rem, 46vh, 20rem);
  }

  body[data-role="customer"] #inputView:not(.hidden-view) .customer-install-type-picker,
  body[data-role="customer"].view-input .customer-install-type-picker {
    gap: 0.65rem;
    flex: 1 1 auto;
  }

  body[data-role="customer"] #inputView:not(.hidden-view) .customer-install-type-question,
  body[data-role="customer"].view-input .customer-install-type-question {
    font-size: 0.98rem;
    line-height: 1.35;
  }

  body[data-role="customer"] #inputView:not(.hidden-view) .customer-install-type-btns,
  body[data-role="customer"].view-input .customer-install-type-btns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
    align-items: stretch;
    flex: 1 1 auto;
    min-height: clamp(6.5rem, 28vh, 11rem);
  }

  body[data-role="customer"] #inputView:not(.hidden-view) .customer-install-btn,
  body[data-role="customer"].view-input .customer-install-btn {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 100%;
    height: 100%;
    padding: 0.95rem 0.65rem 0.85rem;
    gap: 0.55rem;
    border-radius: var(--radius-lg, 12px);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
  }

  body[data-role="customer"] #inputView:not(.hidden-view) .customer-install-btn__icon,
  body[data-role="customer"].view-input .customer-install-btn__icon {
    width: 2.75rem;
    height: 2.75rem;
    font-size: 1.55rem;
    border-radius: 0.75rem;
    flex-shrink: 0;
  }

  body[data-role="customer"] #inputView:not(.hidden-view) .customer-install-btn__body,
  body[data-role="customer"].view-input .customer-install-btn__body {
    align-items: center;
    gap: 0.15rem;
  }

  body[data-role="customer"] #inputView:not(.hidden-view) .customer-install-btn__title,
  body[data-role="customer"].view-input .customer-install-btn__title {
    font-size: 1rem;
    line-height: 1.3;
    font-weight: 700;
  }

  body[data-role="customer"] #inputView:not(.hidden-view) .customer-install-btn__desc,
  body[data-role="customer"].view-input .customer-install-btn__desc {
    font-size: 0.8rem;
    line-height: 1.35;
    opacity: 0.88;
  }

  body[data-role="customer"] #inputView:not(.hidden-view) .customer-install-type-hint,
  body[data-role="customer"].view-input .customer-install-type-hint {
    font-size: 0.78rem;
    line-height: 1.4;
    margin-top: 0.15rem;
  }

  /* 주소 검색 — 바깥 박스 없이 검색창·좌표조회만 */
  body[data-role="customer"] #inputView:not(.hidden-view) .address-search-shell.address-search-shell--above-map,
  body[data-role="customer"] #inputView:not(.hidden-view) #addressSearchShell.address-search-shell--above-map,
  body[data-role="customer"].view-input .address-search-shell.address-search-shell--above-map,
  body[data-role="customer"].view-input #addressSearchShell.address-search-shell--above-map {
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  body[data-role="customer"] #inputView:not(.hidden-view) .address-search-shell__search-bar,
  body[data-role="customer"].view-input .address-search-shell__search-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 0.45rem;
  }

  body[data-role="customer"] #inputView:not(.hidden-view) .address-search-shell__search-bar .address-search-shell__input-row,
  body[data-role="customer"].view-input .address-search-shell__search-bar .address-search-shell__input-row {
    min-height: 3.35rem;
    padding-inline: 0.95rem 1rem;
    border-width: 2.5px;
    border-radius: 12px;
  }

  body[data-role="customer"] #inputView:not(.hidden-view) .address-search-shell__input-row #addressInput,
  body[data-role="customer"] #inputView:not(.hidden-view) #addressInput,
  body[data-role="customer"].view-input .address-search-shell__input-row #addressInput,
  body[data-role="customer"].view-input #addressInput {
    font-size: 1.02rem;
    min-height: 2.55rem;
  }

  body[data-role="customer"] #inputView:not(.hidden-view) .address-search-shell__coord-btn,
  body[data-role="customer"].view-input .address-search-shell__coord-btn {
    width: 100%;
    min-height: 3.1rem;
    padding-inline: 0.95rem;
    font-size: 0.9rem;
    border-width: 2.5px;
    border-radius: 12px;
  }

  body[data-role="customer"] #inputView:not(.hidden-view) .address-search-hint,
  body[data-role="customer"].view-input .address-search-hint {
    font-size: 0.74rem;
    line-height: 1.4;
  }

  body[data-role="customer"] #inputView:not(.hidden-view) #addressSearchResults:not(:empty),
  body[data-role="customer"].view-input #addressSearchResults:not(:empty) {
    max-height: min(12rem, 36vh);
  }

  /* 지도 */
  body[data-role="customer"] #inputView:not(.hidden-view) .address-map-area,
  body[data-role="customer"].view-input .address-map-area {
    margin: 0;
    padding: 0.75rem 0.8rem 0.85rem;
    border-radius: var(--radius-lg, 14px);
    border: 1px solid var(--border, #e2e8f0);
    background: #fff;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
    gap: 0.5rem;
  }

  body[data-role="customer"] #inputView:not(.hidden-view) .address-map-toolbar,
  body[data-role="customer"].view-input .address-map-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    grid-template-areas: "nav layer multi";
    align-items: center;
    gap: 0.35rem 0.5rem;
    margin-bottom: 0.4rem;
  }

  /* 「주소 지도」텍스트 숨기고, 그 자리에 줌 컨트롤 배치 */
  body[data-role="customer"] #inputView:not(.hidden-view) .address-map-toolbar .address-map-title,
  body[data-role="customer"].view-input .address-map-toolbar .address-map-title {
    display: none;
  }

  body[data-role="customer"] #inputView:not(.hidden-view) .address-map-nav,
  body[data-role="customer"].view-input .address-map-nav {
    grid-area: nav;
    justify-content: flex-start;
    flex-wrap: nowrap;
    min-width: 0;
  }

  body[data-role="customer"] #inputView:not(.hidden-view) .address-map-toolbar > .map-preview-layer-toggle,
  body[data-role="customer"].view-input .address-map-toolbar > .map-preview-layer-toggle {
    grid-area: layer;
  }

  body[data-role="customer"] #inputView:not(.hidden-view) .address-map-parcel-pick-list-btn,
  body[data-role="customer"].view-input .address-map-parcel-pick-list-btn {
    grid-area: multi;
    margin-left: 0;
    min-height: 2.25rem;
    padding: 0.32rem 0.55rem;
    font-size: 0.72rem;
  }

  body[data-role="customer"] #inputView:not(.hidden-view) .address-map-nav .secondary.small,
  body[data-role="customer"].view-input .address-map-nav .secondary.small {
    min-height: 2.25rem;
  }

  body[data-role="customer"] #inputView:not(.hidden-view) .address-map-zoom-label,
  body[data-role="customer"].view-input .address-map-zoom-label {
    display: none;
  }

  body[data-role="customer"] #inputView:not(.hidden-view) .map-preview-layer-btn,
  body[data-role="customer"].view-input .map-preview-layer-btn {
    padding: 0.32rem 0.55rem;
    font-size: 0.72rem;
  }

  body[data-role="customer"] #inputView:not(.hidden-view) .address-map-toolbar-actions,
  body[data-role="customer"].view-input .address-map-toolbar-actions {
    margin: 0.45rem 0 0;
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.4rem;
  }

  body[data-role="customer"] #inputView:not(.hidden-view) .address-map-toolbar-actions .secondary.small,
  body[data-role="customer"].view-input .address-map-toolbar-actions .secondary.small {
    width: 100%;
    justify-content: center;
    min-height: 2.5rem;
    padding: 0.45rem 0.5rem;
    font-size: 0.76rem;
    line-height: 1.25;
    white-space: normal;
    text-align: center;
  }

  body[data-role="customer"] #inputView:not(.hidden-view) .input-step[data-input-step="1"] .address-map-frame,
  body[data-role="customer"].view-input .input-step[data-input-step="1"] .address-map-frame {
    min-height: clamp(14rem, 52vw, 18rem);
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-md, 10px);
  }

  body[data-role="customer"] #inputView:not(.hidden-view) .address-map-draw-controls,
  body[data-role="customer"].view-input .address-map-draw-controls {
    padding: 0.55rem 0.65rem;
    border-radius: var(--radius-md, 10px);
    background: var(--bg-subtle, #f8fafc);
  }

  body[data-role="customer"] #inputView:not(.hidden-view) .address-map-draw-actions,
  body[data-role="customer"].view-input .address-map-draw-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.35rem;
  }

  body[data-role="customer"] #inputView:not(.hidden-view) .address-map-draw-actions .primary.small,
  body[data-role="customer"] #inputView:not(.hidden-view) .address-map-draw-actions .secondary.small,
  body[data-role="customer"].view-input .address-map-draw-actions .primary.small,
  body[data-role="customer"].view-input .address-map-draw-actions .secondary.small {
    width: 100%;
    min-height: 2.45rem;
    font-size: 0.76rem;
  }

  body[data-role="customer"] #inputView:not(.hidden-view) .customer-building-zone-list,
  body[data-role="customer"].view-input .customer-building-zone-list {
    margin-top: 0.65rem;
  }

  body[data-role="customer"] #inputView:not(.hidden-view) .customer-building-zone-row,
  body[data-role="customer"].view-input .customer-building-zone-row {
    padding: 0.65rem 0.7rem;
  }

  body[data-role="customer"] #inputView:not(.hidden-view) .customer-building-zone-remove,
  body[data-role="customer"].view-input .customer-building-zone-remove {
    min-height: 2.2rem;
  }

  /* 하단 고정 분석 버튼 */
  body[data-role="customer"] #inputView:not(.hidden-view) .input-panel-customer-main {
    padding-bottom: calc(5rem + env(safe-area-inset-bottom, 0px));
  }

  body[data-role="customer"].view-input .input-step-controls.customer-input-run-bar,
  body[data-role="customer"] #inputView:not(.hidden-view) .input-step-controls.customer-input-run-bar {
    position: fixed;
    left: clamp(0.5rem, 2.5vw, 0.75rem);
    right: clamp(0.5rem, 2.5vw, 0.75rem);
    transform: none;
    width: auto;
    z-index: 1100;
    padding: 0.45rem 0.55rem;
    border-radius: var(--radius-lg, 14px);
  }

  body[data-role="customer"].view-input .input-step-controls.customer-input-run-bar #runBtn:not(.customer-run-btn--hidden),
  body[data-role="customer"] #inputView:not(.hidden-view) #runBtn:not(.customer-run-btn--hidden) {
    min-height: 50px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border-radius: var(--radius-md, 10px);
  }

  /* ── 결과: 패널·탭·히어로 ─────────────────────────────────────── */
  body[data-role="customer"] #resultView:not(.hidden-view) #resultPanel.panel.result,
  body[data-role="customer"].view-result #resultPanel.panel.result {
    padding: 0.35rem 0  calc(3.4rem + env(safe-area-inset-bottom, 0px));
    border: none;
    box-shadow: none;
    background: transparent;
  }

  body[data-role="customer"] #resultView:not(.hidden-view) .result-switch,
  body[data-role="customer"].view-result .result-switch {
    position: sticky;
    top: 0;
    z-index: 100;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
    margin: 0 0 0.75rem;
    padding: 4px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
  }

  body[data-role="customer"] #resultView:not(.hidden-view) .result-tab-btn,
  body[data-role="customer"].view-result .result-tab-btn {
    width: 100%;
    margin: 0;
    min-height: 44px;
    padding: 0.4rem 0.35rem;
    font-size: 0.82rem;
    font-weight: 700;
    border-radius: 9px;
    border: none;
    background: transparent;
    color: #64748b;
    white-space: nowrap;
  }

  body[data-role="customer"] #resultView:not(.hidden-view) .result-tab-btn.active,
  body[data-role="customer"].view-result .result-tab-btn.active {
    background: #eff6ff;
    color: #1d4ed8;
  }

  body[data-role="customer"] #resultView:not(.hidden-view) .customer-result-summary-grid,
  body[data-role="customer"].view-result .customer-result-summary-grid {
    gap: 0.85rem;
  }

  body[data-role="customer"] #resultView:not(.hidden-view) .result-map-status-row,
  body[data-role="customer"].view-result .result-map-status-row {
    gap: 0.75rem;
  }

  body[data-role="customer"] #resultView:not(.hidden-view) .result-map-status-row #customerResultHero,
  body[data-role="customer"].view-result .result-map-status-row #customerResultHero {
    margin: 0;
    border-radius: 14px;
    overflow: hidden;
  }

  body[data-role="customer"] #resultView:not(.hidden-view) .crh-kpi-deck,
  body[data-role="customer"].view-result .crh-kpi-deck {
    padding: 0.85rem 0.75rem 1rem;
  }

  /* KPI 2×2 유지 (520px 이하에서도) */
  body[data-role="customer"] #resultView:not(.hidden-view) .crh-kpi-deck .crh-numbers-row--three,
  body[data-role="customer"] #resultView:not(.hidden-view) .crh-kpi-deck .crh-numbers-row--four,
  body[data-role="customer"].view-result .crh-kpi-deck .crh-numbers-row--three,
  body[data-role="customer"].view-result .crh-kpi-deck .crh-numbers-row--four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
  }

  body[data-role="customer"] #resultView:not(.hidden-view) .crh-kpi-deck .crh-divider,
  body[data-role="customer"].view-result .crh-kpi-deck .crh-divider {
    display: none;
  }

  body[data-role="customer"] #resultView:not(.hidden-view) .crh-kpi-deck .crh-number-card,
  body[data-role="customer"].view-result .crh-kpi-deck .crh-number-card {
    border-radius: 10px;
    padding: 0.65rem 0.6rem;
    min-height: 4.5rem;
  }

  body[data-role="customer"] #resultView:not(.hidden-view) .crh-kpi-deck .crh-number-label,
  body[data-role="customer"].view-result .crh-kpi-deck .crh-number-label {
    font-size: 0.72rem;
  }

  body[data-role="customer"] #resultView:not(.hidden-view) .crh-kpi-deck .crh-number-value,
  body[data-role="customer"].view-result .crh-kpi-deck .crh-number-value {
    font-size: clamp(1.15rem, 4.5vw, 1.4rem);
  }

  body[data-role="customer"] #resultView:not(.hidden-view) .crh-kpi-deck .crh-number-sub,
  body[data-role="customer"].view-result .crh-kpi-deck .crh-number-sub {
    font-size: 0.64rem;
    line-height: 1.35;
  }

  /* 경제성 위젯(요약 탭) */
  body[data-role="customer"] #resultView:not(.hidden-view) .customer-result-summary-grid > #monthlyProfitViz,
  body[data-role="customer"].view-result .customer-result-summary-grid > #monthlyProfitViz {
    margin: 0;
    padding: 0.95rem 0.85rem 1rem;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    background: #fff;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
  }

  /* 배치도·20년 차트 */
  body[data-role="customer"] #resultView:not(.hidden-view) .customer-longterm-cluster,
  body[data-role="customer"].view-result .customer-longterm-cluster {
    margin-top: 0.75rem;
    gap: 0.65rem;
  }

  body[data-role="customer"] #resultView:not(.hidden-view) .customer-context-layout-map-block,
  body[data-role="customer"].view-result .customer-context-layout-map-block {
    padding: 0.75rem 0.8rem 0.85rem;
    border-radius: 12px;
  }

  body[data-role="customer"] #resultView:not(.hidden-view) .customer-longterm-cluster .customer-context-map__inner,
  body[data-role="customer"].view-result .customer-longterm-cluster .customer-context-map__inner {
    aspect-ratio: 4 / 3;
    min-height: clamp(260px, 52vw, 360px);
    max-height: min(440px, 58vh);
  }

  body[data-role="customer"] #resultView:not(.hidden-view) .customer-longterm-chart-toggle,
  body[data-role="customer"].view-result .customer-longterm-chart-toggle {
    min-height: 48px;
    padding: 0.7rem 0.85rem;
    border-radius: 12px;
  }

  body[data-role="customer"] #resultView:not(.hidden-view) .customer-longterm-chart-toggle__action,
  body[data-role="customer"].view-result .customer-longterm-chart-toggle__action {
    padding: 0.4rem 0.7rem;
  }

  /* 경제성·인허가 탭 */
  body[data-role="customer"] #resultView:not(.hidden-view) #resultTabFinance,
  body[data-role="customer"] #resultView:not(.hidden-view) #resultTabPermit,
  body[data-role="customer"].view-result #resultTabFinance,
  body[data-role="customer"].view-result #resultTabPermit {
    padding-inline: 0.15rem;
  }

  body[data-role="customer"] #resultView:not(.hidden-view) .customer-integration-panel,
  body[data-role="customer"].view-result .customer-integration-panel {
    margin-bottom: 0.75rem;
    padding: 0.85rem 0.9rem;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    background: #fff;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
  }

  body[data-role="customer"] #resultView:not(.hidden-view) .customer-integration-head h3,
  body[data-role="customer"].view-result .customer-integration-head h3 {
    font-size: 0.95rem;
  }

  body[data-role="customer"] #resultView:not(.hidden-view) .customer-integration-item,
  body[data-role="customer"].view-result .customer-integration-item {
    padding: 0.75rem 0.8rem;
    border-radius: 10px;
  }

  /* 결과 하단: 다른 주소 검색 */
  body[data-role="customer"] #resultView:not(.hidden-view) #customerPdfSection,
  body[data-role="customer"].view-result #customerPdfSection {
    margin-bottom: 0.25rem;
    padding-bottom: 0.25rem;
  }

  body[data-role="customer"] #resultView:not(.hidden-view) .customer-new-address,
  body[data-role="customer"].view-result .customer-new-address {
    margin-top: 0.65rem;
    margin-bottom: 0.5rem;
    padding: 1.2rem 1rem 1.3rem;
  }

  body[data-role="customer"] #resultView:not(.hidden-view) .customer-new-address__lead,
  body[data-role="customer"].view-result .customer-new-address__lead {
    font-size: 1.02rem;
  }

  body[data-role="customer"] #resultView:not(.hidden-view) .customer-new-address__btn,
  body[data-role="customer"].view-result .customer-new-address__btn {
    min-height: 3.4rem;
    font-size: 1.08rem;
  }

  /* 견적 FAB — 결과 하단 여백(3.4rem)에 맞춤 */
  body[data-role="customer"] #resultView:not(.hidden-view) .customer-quote-fab,
  body[data-role="customer"].view-result .customer-quote-fab {
    left: clamp(0.75rem, 3vw, 1rem);
    right: clamp(0.75rem, 3vw, 1rem);
    transform: none;
    width: auto;
    bottom: calc(0.35rem + env(safe-area-inset-bottom, 0px));
  }

  body[data-role="customer"] #resultView:not(.hidden-view) .customer-quote-fab__inner,
  body[data-role="customer"].view-result .customer-quote-fab__inner {
    width: 100%;
    padding: 0.65rem 1.1rem;
    min-height: 2.75rem;
  }

  body[data-role="customer"] #resultView:not(.hidden-view) .customer-quote-fab:hover,
  body[data-role="customer"].view-result .customer-quote-fab:hover {
    transform: translateY(-2px);
  }

  body[data-role="customer"] #resultView:not(.hidden-view) .customer-quote-fab:active,
  body[data-role="customer"].view-result .customer-quote-fab:active {
    transform: translateY(0);
  }
}

@media (max-width: 400px) {
  body[data-role="customer"] #inputView:not(.hidden-view) .customer-install-btn__title,
  body[data-role="customer"].view-input .customer-install-btn__title {
    font-size: 0.95rem;
  }

  body[data-role="customer"] #inputView:not(.hidden-view) .customer-install-btn__desc,
  body[data-role="customer"].view-input .customer-install-btn__desc {
    font-size: 0.76rem;
  }

  body[data-role="customer"] #inputView:not(.hidden-view) .address-map-toolbar-actions .secondary.small,
  body[data-role="customer"].view-input .address-map-toolbar-actions .secondary.small {
    font-size: 0.72rem;
    min-height: 2.65rem;
  }

  body[data-role="customer"] #resultView:not(.hidden-view) .result-tab-btn,
  body[data-role="customer"].view-result .result-tab-btn {
    font-size: 0.76rem;
    padding-inline: 0.2rem;
  }
}

@media (max-width: 360px) {
  body[data-role="customer"] #resultView:not(.hidden-view) .crh-kpi-deck .crh-numbers-row--three,
  body[data-role="customer"] #resultView:not(.hidden-view) .crh-kpi-deck .crh-numbers-row--four,
  body[data-role="customer"].view-result .crh-kpi-deck .crh-numbers-row--three,
  body[data-role="customer"].view-result .crh-kpi-deck .crh-numbers-row--four {
    grid-template-columns: 1fr;
  }
}
