/* trial.css — お試しページのウィザード専用スタイル（app.css を補完） */

/* app.css の .screen は中央寄せ(align-items:center)なので、ここで上書きして全幅に伸ばす */
#trial-wizard { display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; height: 100vh; width: 100%; max-width: none; padding: 0; }

.trial-topbar {
  display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap;
  padding: 10px 18px; background: #2d6cdf; color: #fff;
}
.trial-brand { font-size: 1.1rem; font-weight: 600; }
.trial-brand b { font-weight: 700; }
.trial-topbar-note { font-size: 0.82rem; opacity: 0.92; }

.trial-layout { flex: 1; display: flex; align-items: stretch; min-height: 0; width: 100%; }

.trial-panel {
  width: 380px; flex: 0 0 380px; overflow-y: auto;
  padding: 16px 18px; background: #f7f8fa; border-right: 1px solid #e2e5ea;
}
.trial-map { flex: 1; min-width: 0; }

.trial-example {
  margin: 0 0 14px; padding: 12px 14px; border-radius: 10px;
  background: #eef4ff; border: 1px solid #cfe0ff;
}
.trial-example-lead { margin: 0 0 8px; font-weight: 600; font-size: 0.92rem; color: #1f3a63; }
.trial-example .btn-primary { width: 100%; }
.trial-example-sub { margin: 8px 0 0; font-size: 0.8rem; line-height: 1.5; }

.trial-steps { list-style: none; margin: 0; padding: 0; }
.tstep { display: flex; gap: 10px; padding: 12px 0; border-bottom: 1px solid #e8eaee; }
.tstep-no {
  flex: 0 0 24px; width: 24px; height: 24px; border-radius: 50%;
  background: #2d6cdf; color: #fff; font-size: 0.85rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.tstep-body { flex: 1; min-width: 0; }
.tstep-title { display: block; font-weight: 600; margin-bottom: 6px; }
.tstep-hint { font-size: 0.8rem; color: #666; margin: 6px 0 0; }
.tstep-sub { display: flex; gap: 6px; margin-top: 6px; }
.tstep-sub input { flex: 1; min-width: 0; }

.trial-panel input[type="text"],
.trial-panel input[type="number"] {
  padding: 6px 8px; border: 1px solid #c5cad2; border-radius: 6px; font-size: 0.9rem;
}
#t-school { width: 100%; box-sizing: border-box; }

.t-radios { display: flex; flex-direction: column; gap: 4px; }
.t-radios label { font-size: 0.92rem; }

.t-num-row { display: flex; gap: 12px; }
.t-num-row label { font-size: 0.88rem; }
.t-num-row input { width: 78px; }

.t-mode { display: flex; gap: 4px; margin-bottom: 6px; flex-wrap: wrap; }
.t-mode-btn {
  flex: 1; padding: 7px 6px; font-size: 0.82rem; cursor: pointer;
  border: 1px solid #c5cad2; background: #fff; border-radius: 6px;
}
.t-mode-btn.active { background: #2d6cdf; color: #fff; border-color: #2d6cdf; font-weight: 600; }

.t-counts { display: flex; flex-wrap: wrap; gap: 10px; font-size: 0.82rem; margin-top: 8px; align-items: center; }
.t-counts b { color: #2d6cdf; }

.t-generate { width: 100%; margin-top: 16px; padding: 11px; font-size: 1rem; }
.t-status { margin: 10px 0 0; font-size: 0.86rem; min-height: 1.2em; }
.t-status.warn { color: #c0392b; }
.t-status.ok { color: #1e7e34; }
#t-sample-btn { width: 100%; margin-top: 8px; }
.t-credit { margin-top: 14px; font-size: 0.72rem; line-height: 1.5; }

/* デモ（お試し）専用の注記。本体の年度更新タブにデモ時だけ表示される */
.demo-note {
  background: #fff8e1; border: 1px solid #f0d98c; border-radius: 6px;
  padding: 9px 12px; font-size: 0.86rem; line-height: 1.6; margin: 8px 0;
}

.trial-badge {
  background: #f39c12; color: #fff; font-size: 0.74rem; font-weight: 700;
  padding: 2px 8px; border-radius: 10px; margin-right: 6px;
}

@media (max-width: 720px) {
  .trial-layout { flex-direction: column; }
  .trial-panel { width: auto; flex: 0 0 auto; max-height: 50vh; border-right: none; border-bottom: 1px solid #e2e5ea; }
  .trial-map { flex: 1; min-height: 280px; }
}
