* { box-sizing: border-box; }
body {
  margin: 0; font-family: -apple-system, "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
  color: #1f2933; background: #f4f6f8; line-height: 1.6;
}
.topbar { background: #0b3d61; color: #fff; padding: 16px 24px; }
.topbar h1 { margin: 0 0 12px; font-size: 20px; }
.topbar .sub { font-size: 13px; font-weight: 400; opacity: .8; margin-left: 8px; }
.summary { display: flex; gap: 24px; flex-wrap: wrap; }
.progress-wrap { flex: 1 1 320px; }
.progress-label { font-size: 14px; }
.progress-label strong { font-size: 20px; }
.muted { opacity: .7; font-size: 12px; }
.progress-bar { background: rgba(255,255,255,.25); border-radius: 8px; height: 12px; overflow: hidden; margin: 6px 0; }
.progress-fill { background: #4caf50; height: 100%; width: 0; transition: width .3s; }
.next-action { font-size: 13px; background: rgba(255,255,255,.12); padding: 6px 10px; border-radius: 6px; }
.cost-box { flex: 1 1 260px; background: rgba(255,255,255,.1); border-radius: 8px; padding: 10px 14px; }
.cost-title strong { font-size: 18px; color: #ffd54f; margin-left: 6px; }
.cost-list { list-style: none; margin: 6px 0 0; padding: 0; font-size: 12px; }
.cost-list li { display: flex; justify-content: space-between; gap: 8px; }
.cost-list a { color: #9fd0ff; }
.options { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin-top: 12px; font-size: 13px; }
.options select, .options input[type=number] { padding: 4px 6px; border-radius: 4px; border: none; }
.options input[type=number] { width: 110px; }
.options .chk { display: inline-flex; align-items: center; gap: 4px; }
.actions { margin-left: auto; display: flex; gap: 8px; }
.actions button { border: 1px solid rgba(255,255,255,.5); background: transparent; color: #fff; padding: 4px 10px; border-radius: 4px; cursor: pointer; }
.actions button:hover { background: rgba(255,255,255,.15); }
.actions button.danger { border-color: #ff8a80; color: #ffcdd2; }

.layout { display: flex; gap: 20px; padding: 20px 24px; align-items: flex-start; }
.sidebar { flex: 0 0 300px; }
.phase-group { margin-bottom: 14px; }
.phase-name { font-size: 13px; font-weight: 700; color: #52606d; margin: 0 0 6px; }
.step-item { display: flex; align-items: center; gap: 8px; padding: 8px 10px; background: #fff; border: 1px solid #e4e7eb; border-radius: 6px; margin-bottom: 6px; cursor: pointer; }
.step-item:hover { border-color: #0b3d61; }
.step-item.active { border-color: #0b3d61; box-shadow: 0 0 0 2px rgba(11,61,97,.15); }
.step-item.done { background: #edf7ed; }
.step-badge { flex: 0 0 22px; height: 22px; border-radius: 50%; background: #cbd2d9; color: #fff; font-size: 12px; display: flex; align-items: center; justify-content: center; }
.step-item.done .step-badge { background: #4caf50; }
.step-title { font-size: 13px; }

.detail { flex: 1 1 auto; background: #fff; border: 1px solid #e4e7eb; border-radius: 8px; padding: 20px 24px; min-height: 300px; }
.detail h2 { margin-top: 0; }
.detail .desc { color: #3e4c59; }
.meta { display: flex; gap: 20px; flex-wrap: wrap; font-size: 13px; margin: 12px 0; }
.meta div { background: #f4f6f8; padding: 6px 10px; border-radius: 6px; }
.checklist { list-style: none; padding: 0; }
.checklist li { padding: 8px 0; border-bottom: 1px solid #f0f0f0; }
.checklist label { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.checklist input { margin-top: 4px; transform: scale(1.2); }
.docs, .cost-detail { font-size: 13px; margin-top: 12px; }
.docs ul { margin: 4px 0; }
.source-link { display: inline-block; margin-top: 14px; font-size: 13px; }
.disclaimer { background: #fff8e1; border-top: 2px solid #ffca28; padding: 12px 24px; font-size: 12px; color: #5f4b1b; }
