* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Segoe UI', -apple-system, sans-serif;
  background: #f5f5f5;
  color: #333;
  min-height: 100vh;
}

header {
  background: #1a73e8;
  color: white;
  padding: 20px 32px;
}

header h1 { font-size: 1.5rem; font-weight: 600; }
header p { font-size: 0.95rem; opacity: 0.85; margin-top: 4px; }

.header-inner {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* 통합 진행 표시 */
.progress-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 12px;
  background: white;
  border-radius: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: #555;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 10;
}

main {
  max-width: 900px;
  margin: 32px auto;
  padding: 0 16px;
}

.card {
  background: white;
  border-radius: 12px;
  padding: 28px;
  margin-bottom: 20px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

.card h2 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: #444;
}

/* 드롭존 */
/* 파일 업로드 기본 영역 */
.upload-primary {
  margin-bottom: 14px;
  font-size: 0.95rem;
  line-height: 1.6;
}

#drop-zone {
  border: 2px dashed #c0c0c0;
  border-radius: 10px;
  padding: 28px 24px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  background: #fafafa;
}

#drop-zone.drag-over {
  border-color: #1a73e8;
  background: #e8f0fe;
}

#drop-zone .icon { font-size: 2.5rem; margin-bottom: 8px; }
#drop-zone p { color: #888; font-size: 0.9rem; line-height: 1.6; }
#drop-zone strong { color: #1a73e8; }
#drop-zone .action-label { margin-bottom: 6px; }

#file-input { display: none; }

.btn-upload {
  display: inline-block;
  margin-top: 14px;
  padding: 11px 28px;
  background: linear-gradient(135deg, #1a73e8, #1558b0);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s;
  box-shadow: 0 2px 8px rgba(26,115,232,0.3);
}
.btn-upload:hover {
  background: linear-gradient(135deg, #1558b0, #0d47a1);
  box-shadow: 0 4px 12px rgba(26,115,232,0.4);
  transform: translateY(-1px);
}

/* 파일 업로드 상태 */
.file-status {
  display: none;
  background: #e8f5e9;
  border-radius: 8px;
  padding: 12px 16px;
  margin-top: 14px;
  font-size: 0.85rem;
  color: #2e7d32;
  line-height: 1.6;
}

.file-status .file-name { font-weight: 600; }
.file-status .file-meta { color: #558b2f; font-size: 0.8rem; }

.file-status .file-reupload {
  display: inline-block;
  margin-top: 6px;
  color: #1a73e8;
  font-size: 0.8rem;
  cursor: pointer;
  text-decoration: underline;
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
}

.file-status .file-reupload:hover { color: #1558b0; }

/* 방법 안내 */
.how-to {
  background: #fffde7;
  border-left: 3px solid #e0c860;
  border-radius: 0 8px 8px 0;
  padding: 14px 18px;
  font-size: 0.92rem;
  line-height: 1.8;
  color: #555;
}
.how-to strong { color: #555; }

.how-to-warning {
  margin-bottom: 20px;
  background: #fff3e0;
  border-left-color: #e65100;
  color: #6d4c00;
}
.how-to-warning strong { color: #bf360c; }

.how-to-mt { margin-top: 18px; }

/* 단계 안내문 */
.step-guide {
  background: #f6f8fb;
  border-left: 3px solid #b0c4de;
  border-radius: 0 8px 8px 0;
  padding: 14px 18px;
  font-size: 0.92rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 16px;
}
.step-guide ol {
  margin: 8px 0 0 18px;
  padding: 0;
}
.step-guide ol li {
  margin-bottom: 4px;
}
.step-guide ol li strong {
  color: #1a73e8;
}

/* 사용자 액션 라벨 */
.action-label {
  display: inline-block;
  background: linear-gradient(135deg, #1a73e8, #1558b0);
  color: white;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 99px;
  margin-right: 6px;
  vertical-align: middle;
  letter-spacing: 0.04em;
  white-space: nowrap;
  box-shadow: 0 1px 3px rgba(26,115,232,0.3);
}

.action-text {
  font-weight: 600;
  color: #1a3a6b;
}

/* 에러 메시지 */
.error-msg {
  display: none;
  background: #fce4ec;
  border-left: 4px solid #e53935;
  border-radius: 0 8px 8px 0;
  padding: 12px 18px;
  margin-top: 14px;
  font-size: 0.85rem;
  color: #b71c1c;
}

/* 섹션 라벨/힌트/설명 */
.section-label {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #444;
}

.section-hint {
  font-size: 0.82rem;
  color: #777;
  margin-bottom: 8px;
  line-height: 1.6;
}

.section-desc {
  font-size: 0.84rem;
  color: #666;
  margin-bottom: 14px;
  line-height: 1.6;
}

/* 추가 요구사항 textarea */
.textarea-requirements {
  width: 100%;
  height: 80px;
  font-family: 'Segoe UI', -apple-system, sans-serif;
  font-size: 0.85rem;
  line-height: 1.55;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 12px;
  resize: vertical;
  color: #222;
  background: #fff;
  margin-bottom: 18px;
}

.textarea-requirements:focus {
  outline: none;
  border-color: #1a73e8;
  box-shadow: 0 0 0 3px rgba(26,115,232,0.12);
}

/* AI 입력 미리보기 */
.input-preview {
  font-size: 0.82rem;
  font-weight: 500;
}

/* 브라우저 아이콘 */
.browser-icon-firefox { background: #ff7139; }
.browser-icon-safari { background: #007aff; }
.browser-note { font-size: 0.78rem; color: #888; }

/* 통계 */
#upload-area { display: none; }
#stats-area { display: none; }
#chatbot-area { display: none; }

.stats-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
}

.stat-box {
  background: #f0f4ff;
  border-radius: 8px;
  padding: 14px 16px;
  text-align: center;
}

.stat-box .num {
  font-size: 1.6rem;
  font-weight: 700;
  color: #1a73e8;
}

.stat-box .label {
  font-size: 0.75rem;
  color: #666;
  margin-top: 2px;
}

.stat-box.stat-html {
  background: #fff3e0;
}

.stat-box.stat-html .num {
  color: #e65100;
}

.stat-box.stat-md {
  background: #e8f5e9;
}

.stat-box.stat-md .num {
  color: #2e7d32;
}

.reduction-bar {
  background: #eee;
  border-radius: 99px;
  height: 10px;
  overflow: hidden;
  margin: 4px 0 16px;
}

.reduction-fill {
  height: 100%;
  background: linear-gradient(90deg, #34a853, #1a73e8);
  border-radius: 99px;
  transition: width 0.6s ease;
}

.reduction-label {
  font-size: 0.8rem;
  color: #555;
  margin-bottom: 6px;
}

/* 출력 옵션 */
.tab-group {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 6px 16px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: white;
  cursor: pointer;
  font-size: 0.85rem;
  color: #555;
  transition: all 0.15s;
}

.tab-btn.active {
  background: #1a73e8;
  color: white;
  border-color: #1a73e8;
}

.tab-desc {
  font-size: 0.78rem;
  color: #888;
  margin-bottom: 10px;
}

textarea#output {
  width: 100%;
  height: 360px;
  font-family: 'Consolas', 'Courier New', monospace;
  font-size: 0.82rem;
  line-height: 1.55;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 14px;
  resize: vertical;
  color: #222;
  background: #fafafa;
}

.btn-row {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.btn {
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s;
  min-height: 44px;
}

.btn-large {
  padding: 16px 36px;
  font-size: 1.1rem;
  min-height: 52px;
}

.btn-primary {
  background: linear-gradient(135deg, #1a73e8, #1558b0);
  color: white;
  box-shadow: 0 2px 8px rgba(26,115,232,0.3);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #1558b0, #0d47a1);
  box-shadow: 0 4px 12px rgba(26,115,232,0.4);
  transform: translateY(-1px);
}
.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 1px 4px rgba(26,115,232,0.3);
}
.btn-secondary { background: #e8f0fe; color: #1a73e8; font-weight: 600; }
.btn-secondary:hover { background: #d2e3fc; }

.btn:focus-visible,
.btn-upload:focus-visible,
.tab-btn:focus-visible,
.prompt-summary:focus-visible {
  outline: 2px solid #1a73e8;
  outline-offset: 2px;
}

.copy-feedback {
  font-size: 0.8rem;
  color: #34a853;
  opacity: 0;
  transition: opacity 0.3s;
}

.copy-feedback.show { opacity: 1; }

/* 다음 단계 안내 */
/* 복사 안내 강조 */
.copy-guide {
  background: #e8f0fe;
  border: 1px solid #c5d8f8;
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #1558b0;
  line-height: 1.6;
}

.next-step-guide {
  display: none;
  margin-top: 10px;
  padding: 10px 14px;
  background: #e8f0fe;
  border-radius: 8px;
  font-size: 0.82rem;
  color: #1558b0;
  line-height: 1.6;
}

.next-step-guide.show { display: block; }

/* 챗봇 안내 */
.chatbot-tips {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.chatbot-card {
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 14px;
}

.chatbot-card .name {
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.chatbot-card .desc {
  font-size: 0.8rem;
  color: #666;
  line-height: 1.5;
}

.badge {
  display: inline-block;
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: 99px;
  margin-left: 6px;
  vertical-align: middle;
}

.badge-green { background: #e6f4ea; color: #2d8f47; }
.badge-blue { background: #e8f0fe; color: #1558b0; }

.prompt-details {
  margin-top: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
}

.prompt-details[open] {
  border-color: #c0d0f0;
}

.prompt-summary {
  padding: 12px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #555;
  cursor: pointer;
  background: #f8f9fa;
  user-select: none;
  transition: background 0.15s, color 0.15s;
  list-style: none;
}

.prompt-summary::-webkit-details-marker {
  display: none;
}

.prompt-summary::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-right: 2px solid #888;
  border-bottom: 2px solid #888;
  transform: rotate(-45deg);
  margin-right: 10px;
  transition: transform 0.2s;
  vertical-align: middle;
}

.prompt-details[open] > .prompt-summary::before {
  transform: rotate(45deg);
}

.prompt-summary:hover {
  background: #eef1f6;
  color: #1a73e8;
}

.prompt-box {
  background: #f0f4ff;
  border-radius: 0;
  padding: 16px;
  font-size: 0.85rem;
  line-height: 1.7;
  color: #333;
  white-space: pre-wrap;
  font-family: 'Consolas', 'Courier New', monospace;
  max-height: 400px;
  overflow-y: auto;
}

/* 분할 안내 */
.chunk-info {
  display: none;
  background: #e8f0fe;
  border-radius: 8px;
  padding: 14px 18px;
  margin-top: 14px;
  font-size: 0.84rem;
  line-height: 1.6;
  color: #1558b0;
}

.chunk-nav {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.chunk-nav button {
  padding: 4px 12px;
  border: 1px solid #1a73e8;
  border-radius: 4px;
  background: white;
  color: #1a73e8;
  cursor: pointer;
  font-size: 0.8rem;
}

.chunk-nav button.active {
  background: #1a73e8;
  color: white;
}

/* ④ 역변환 영역 */
#convert-area { display: none; }

textarea#ai-input {
  width: 100%;
  height: 280px;
  font-family: 'Consolas', 'Courier New', monospace;
  font-size: 0.82rem;
  line-height: 1.55;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 14px;
  resize: vertical;
  color: #222;
  background: #fff;
}

textarea#ai-input:focus {
  outline: none;
  border-color: #1a73e8;
  box-shadow: 0 0 0 3px rgba(26,115,232,0.12);
}

.convert-result {
  display: none;
  margin-top: 18px;
}

.convert-result textarea {
  width: 100%;
  height: 200px;
  font-family: 'Consolas', 'Courier New', monospace;
  font-size: 0.82rem;
  line-height: 1.55;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 14px;
  resize: vertical;
  color: #222;
  background: #fafafa;
}

.convert-stats {
  display: flex;
  gap: 20px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.convert-stat {
  font-size: 0.85rem;
  color: #555;
}

.convert-stat strong {
  color: #1a73e8;
  font-size: 1.1rem;
}

/* 누락 검증 */
.missing-area {
  display: none;
  margin-top: 18px;
}

.missing-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.missing-header .badge-warn {
  background: #fce4ec;
  color: #c62828;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 99px;
}

.missing-header .badge-ok {
  background: #e6f4ea;
  color: #2d8f47;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 99px;
}

.missing-summary {
  font-size: 0.85rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 10px;
}

.missing-list {
  max-height: 300px;
  overflow-y: auto;
  border: 1px solid #f0c0c0;
  border-radius: 8px;
  background: #fff8f8;
  padding: 6px 0;
  font-size: 0.8rem;
  line-height: 1.6;
}

.missing-list .item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px 10px;
  padding: 8px 14px;
  border-bottom: 1px solid #fce4ec;
  align-items: baseline;
}

.missing-list .item:last-child { border-bottom: none; }

.missing-list .folder {
  grid-column: 1 / -1;
  color: #888;
  font-size: 0.72rem;
  padding: 1px 6px;
  background: #fce4ec;
  border-radius: 3px;
  display: inline-block;
  width: fit-content;
}

.missing-list .title { font-weight: 500; color: #333; }

.missing-list .url {
  color: #999;
  font-size: 0.72rem;
  overflow-wrap: break-word;
  word-break: break-all;
}

#missing-btn-row { display: none; }

/* ⑤ 가져오기 안내 */
#import-area { display: none; }

.step-list {
  list-style: none;
  padding: 0;
}

.step-list li {
  position: relative;
  padding: 10px 0 10px 36px;
  font-size: 0.875rem;
  line-height: 1.6;
  border-bottom: 1px solid #f0f0f0;
}

.step-list li:last-child { border-bottom: none; }

.step-num {
  position: absolute;
  left: 0;
  top: 10px;
  width: 24px;
  height: 24px;
  background: #1a73e8;
  color: white;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-num.browser-icon {
  border-radius: 6px;
}

.os-label {
  display: inline-block;
  background: #e8eef7;
  color: #1a56b8;
  font-size: 0.75rem;
  padding: 1px 6px;
  border-radius: 4px;
  margin-right: 2px;
}

.flow-step {
  background: white;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 6px 12px;
  font-weight: 500;
  white-space: nowrap;
  font-family: inherit;
  font-size: inherit;
  color: #555;
  cursor: pointer;
  transition: all 0.15s;
  line-height: 1.4;
}

.flow-step:hover:not(.locked):not(.active) {
  border-color: #90b4f0;
  background: #f0f5ff;
}

.flow-step.active {
  background: #1a73e8;
  color: white;
  border-color: #1a73e8;
}

.flow-step.locked {
  opacity: 0.4;
  cursor: default;
}

.flow-step:focus-visible {
  outline: 2px solid #1a73e8;
  outline-offset: 2px;
}

.flow-arrow { color: #aaa; font-size: 1rem; }

/* 모드 선택 */
.mode-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.mode-card {
  flex: 1;
  min-width: 240px;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  padding: 18px 16px;
  cursor: pointer;
  transition: all 0.2s;
  background: white;
  position: relative;
}

.mode-card:hover {
  border-color: #90b4f0;
  background: #f8faff;
}

.mode-card.active {
  border-color: #1a73e8;
  background: #f0f5ff;
  box-shadow: 0 0 0 3px rgba(26,115,232,0.12);
}

.mode-card:focus-visible {
  outline: 2px solid #1a73e8;
  outline-offset: 2px;
}

.mode-card .mode-icon {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.mode-card .mode-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 4px;
}

.mode-card.active .mode-name {
  color: #1a73e8;
}

.mode-card .mode-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 99px;
  margin-left: 6px;
  vertical-align: middle;
}

.mode-tag-safe { background: #e6f4ea; color: #2d8f47; }
.mode-tag-bold { background: #fff3e0; color: #e65100; }

.mode-card .mode-desc {
  font-size: 0.8rem;
  color: #666;
  line-height: 1.55;
}

.mode-card .mode-detail {
  font-size: 0.75rem;
  color: #999;
  line-height: 1.5;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid #eee;
}

.mode-card.active .mode-detail {
  color: #7a9fd4;
  border-top-color: #d2e3fc;
}

.mode-radio {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 18px;
  height: 18px;
  border: 2px solid #ccc;
  border-radius: 50%;
  transition: all 0.15s;
}

.mode-card.active .mode-radio {
  border-color: #1a73e8;
  background: #1a73e8;
  box-shadow: inset 0 0 0 3px white;
}

/* 안내문 내부의 액션 구간 강조 */
.step-guide .action-label {
  margin-top: 2px;
}

/* 카드 내 안내-액션 시각적 분리 */
.card > .section-desc .action-label,
.card > div > .action-label,
.card > p > .action-label {
  margin-top: 4px;
}

/* 안심 메시지 */
.how-to-safety {
  margin-bottom: 12px;
  background: #e8f5e9;
  border-left-color: #43a047;
  color: #2e7d32;
}
.how-to-safety strong { color: #2e7d32; }

/* 진행바 완료 상태 */
.flow-step.done {
  background: #e8f5e9;
  color: #2e7d32;
  border-color: #a5d6a7;
}
.flow-step.done::before {
  content: '\2713 ';
  font-weight: 700;
}

/* 변환 데이터 접기/펼치기 */
.output-details {
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
}
.output-details[open] {
  border-color: #c0d0f0;
}
.output-summary {
  padding: 12px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #555;
  cursor: pointer;
  background: #f8f9fa;
  user-select: none;
  transition: background 0.15s, color 0.15s;
  list-style: none;
}
.output-summary::-webkit-details-marker { display: none; }
.output-summary::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-right: 2px solid #888;
  border-bottom: 2px solid #888;
  transform: rotate(-45deg);
  margin-right: 10px;
  transition: transform 0.2s;
  vertical-align: middle;
}
.output-details[open] > .output-summary::before {
  transform: rotate(45deg);
}
.output-summary:hover {
  background: #eef1f6;
  color: #1a73e8;
}
.output-details textarea#output {
  border: none;
  border-radius: 0;
  border-top: 1px solid #ddd;
}

/* 다음 단계 CTA */
.next-step-cta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
  padding: 16px 18px;
  background: #e8f0fe;
  border-radius: 10px;
  flex-wrap: wrap;
}
.btn-next {
  padding: 12px 28px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  background: linear-gradient(135deg, #1a73e8, #1558b0);
  color: white;
  box-shadow: 0 2px 8px rgba(26,115,232,0.3);
  transition: all 0.18s;
  min-height: 44px;
  white-space: nowrap;
}
.btn-next:hover {
  background: linear-gradient(135deg, #1558b0, #0d47a1);
  box-shadow: 0 4px 12px rgba(26,115,232,0.4);
  transform: translateY(-1px);
}
.next-step-hint {
  font-size: 0.88rem;
  color: #1558b0;
}

/* AI 사이트 바로가기 */
.ai-shortcuts {
  display: flex;
  gap: 8px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.btn-ai-link {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background: #f0f5ff;
  color: #1a73e8;
  border: 1px solid #c5d8f8;
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.15s;
  min-height: 40px;
}
.btn-ai-link:hover {
  background: #d2e3fc;
  border-color: #90b4f0;
}

/* 경고 인라인 */
.warning-inline {
  margin-top: 6px;
  padding: 6px 12px;
  background: #fff3e0;
  border-left: 3px solid #e65100;
  border-radius: 0 6px 6px 0;
  font-size: 0.88rem;
  font-weight: 600;
  color: #bf360c;
}

/* 트러블슈팅 */
.troubleshoot-tip {
  border: 2px solid #ffcc80;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 14px;
  background: #fff8e1;
}
.troubleshoot-summary {
  padding: 12px 16px;
  font-size: 0.92rem;
  font-weight: 700;
  color: #e65100;
  cursor: pointer;
  background: #fff3e0;
  list-style: none;
}
.troubleshoot-summary::-webkit-details-marker { display: none; }
.troubleshoot-summary:hover { background: #ffe0b2; color: #bf360c; }
.troubleshoot-tip ul {
  padding: 10px 16px 14px 32px;
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.8;
  color: #4e342e;
}

/* readonly textarea 시각 구분 */
textarea[readonly] {
  background: #f5f5f5;
  border-color: #e0e0e0;
  color: #555;
  cursor: default;
}

/* 모바일 반응형 진행바 */
@media (max-width: 640px) {
  .progress-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 10px;
  }
  .flow-arrow { display: none; }
  .flow-step {
    text-align: left;
    padding: 10px 14px;
    font-size: 0.88rem;
  }
  .btn-large {
    width: 100%;
    text-align: center;
  }
  .next-step-cta {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .btn-next { width: 100%; }
  .ai-shortcuts {
    flex-direction: column;
  }
  .ai-shortcuts .btn-ai-link {
    justify-content: center;
  }
}
