.demo-tool--callback {
  --tool-ink: #172033; --tool-muted: #5c667a; --tool-line: #d8deea; --tool-surface: #fff;
  --tool-page: #f3f6fb; --tool-brand: #2457d6; --tool-brand-dark: #173e9d; --tool-soft: #eaf0ff;
  --tool-danger: #b42318; --tool-danger-soft: #fff2f0; --tool-success: #177245;
  --tool-sunday: #c62828; --tool-saturday: #175cd3;
  color: var(--tool-ink); border-radius: 14px;
  background: linear-gradient(180deg, #eaf0ff 0, var(--tool-page) 320px);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", sans-serif;
  line-height: 1.7;
}
.demo-tool--callback * { box-sizing: border-box; }
.demo-tool--callback button, .demo-tool--callback input, .demo-tool--callback select, .demo-tool--callback textarea { font: inherit; }
.demo-tool--callback .page-shell { width: min(1040px, calc(100% - 32px)); margin: 0 auto; padding: 34px 0 42px; }
.demo-tool--callback .intro { margin-bottom: 18px; }
.demo-tool--callback .eyebrow, .demo-tool--callback .step { margin: 0 0 6px; color: var(--tool-brand); font-size: .78rem; font-weight: 800; letter-spacing: .12em; }
.demo-tool--callback .intro h3 { margin:0; font-size:clamp(1.25rem,3vw,1.5rem); line-height:1.4; }
.demo-tool--callback .lead { max-width: 760px; margin:8px 0 0; color:var(--tool-muted); font-size:14px; }
.demo-tool--callback .notice { display:flex; gap:6px; margin:12px 0 0; padding:10px 12px; border-left:4px solid #d97706; border-radius:8px; background:#fff8e8; font-size:13px; }
.demo-tool--callback .notice strong { flex:0 0 auto; }
.demo-tool--callback .tool-card { margin-top: 20px; padding: clamp(20px, 3vw, 30px); border: 1px solid var(--tool-line); border-radius: 18px; background: var(--tool-surface); box-shadow: 0 16px 45px rgba(25,45,85,.08); }
.demo-tool--callback .section-heading, .demo-tool--callback .result-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.demo-tool--callback .heading-tools { display: flex; flex: 1; align-items: center; gap: 14px; }
.demo-tool--callback .heading-tools > .button { margin-left: auto; }
.demo-tool--callback .hours-overview { min-width: 330px; padding: 9px 12px; border: 1px solid #cbd6ee; border-radius: 10px; background: #f7f9ff; box-shadow: 0 7px 18px rgba(36,87,214,.09); }
.demo-tool--callback .hours-overview__title { display: block; margin-bottom: 4px; color: var(--tool-brand); font-size: .76rem; font-weight: 850; letter-spacing: .06em; }
.demo-tool--callback .hours-overview ul { display: grid; grid-template-columns: repeat(3,auto); gap: 13px; margin: 0; padding: 0; list-style: none; }
.demo-tool--callback .hours-overview li { display: grid; line-height: 1.35; }
.demo-tool--callback .hours-overview strong { font-size: .78rem; }
.demo-tool--callback .hours-overview li span { color: var(--tool-muted); font-size: .7rem; white-space: nowrap; }
.demo-tool--callback .form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 17px 22px; margin: 22px 0; }
.demo-tool--callback .field { min-width: 0; }
.demo-tool--callback .field--wide { grid-column: 1 / -1; margin: 0; padding: 0; border: 0; }
.demo-tool--callback .date-field { min-width: 0; margin: 0; padding: 0; border: 0; }
.demo-tool--callback label, .demo-tool--callback legend, .demo-tool--callback .field-label { display: block; margin-bottom: 7px; font-weight: 700; }
.demo-tool--callback .required { color: var(--tool-danger); font-size: .78em; }
.demo-tool--callback input[type="text"], .demo-tool--callback select, .demo-tool--callback textarea { width: 100%; border: 1px solid #aeb8ca; border-radius: 9px; background: #fff; color: var(--tool-ink); }
.demo-tool--callback input[type="text"], .demo-tool--callback select { min-height: 42px; padding: 7px 10px; }
.demo-tool--callback textarea { padding: 13px 14px; resize: vertical; }
.demo-tool--callback input:focus-visible, .demo-tool--callback select:focus-visible, .demo-tool--callback textarea:focus-visible, .demo-tool--callback button:focus-visible { outline: 3px solid rgba(36,87,214,.28); outline-offset: 2px; }
.demo-tool--callback select:disabled, .demo-tool--callback input:disabled { cursor: not-allowed; background: #edf0f5; color: #737d90; }
.demo-tool--callback .choice-row { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 7px; }
.demo-tool--callback .choice { display: flex; align-items: center; gap: 8px; min-height: 40px; margin: 0; padding: 6px 12px; border: 1px solid var(--tool-line); border-radius: 9px; font-weight: 600; white-space: nowrap; word-break: keep-all; writing-mode: horizontal-tb; cursor: pointer; }
.demo-tool--callback .choice input[type="radio"] { flex: 0 0 auto; width: 14px; height: 14px; margin: 0; padding: 0; }
.demo-tool--callback .choice:has(input:checked) { border-color: var(--tool-brand); background: var(--tool-soft); }
.demo-tool--callback .choice:has(input:disabled) { cursor: not-allowed; opacity: .58; }
.demo-tool--callback .hint { margin: 7px 0 0; color: var(--tool-muted); font-size: .87rem; }
.demo-tool--callback .timing-summary { margin: 10px 0 0; padding: 9px 12px; border-radius: 8px; background: #f5f7fb; color: var(--tool-ink); font-size: .9rem; font-weight: 650; }
.demo-tool--callback .schedule-area { grid-column: 1 / -1; display: grid; gap: 15px; }
.demo-tool--callback .date-field[hidden], .demo-tool--callback .time-fields[hidden] { display: none; }
.demo-tool--callback .date-options { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 7px; }
.demo-tool--callback .date-choice { display: grid; grid-template-columns: 16px minmax(0,1fr); align-items: center; gap: 5px; min-width: 0; min-height: 65px; margin: 0; padding: 7px 6px; border: 1px solid var(--tool-line); border-radius: 8px; font-size: .9rem; font-weight: 650; cursor: pointer; }
.demo-tool--callback .date-choice input[type="radio"] { width: 14px; height: 14px; margin: 0; }
.demo-tool--callback .date-choice__content { min-width: 0; }
.demo-tool--callback .date-choice__date { display: block; font-size: .82rem; text-align: left; white-space: nowrap; }
.demo-tool--callback .date-choice__status { display: inline-block; margin-top: 2px; padding: 0 6px; border-radius: 999px; background: #e8f5ed; color: #17663a; font-size: .72rem; font-weight: 800; }
.demo-tool--callback .date-choice__status--closed { background: #edf0f5; color: #5d6676; }
.demo-tool--callback .date-choice:has(input:checked) { border-color: var(--tool-brand); background: var(--tool-soft); }
.demo-tool--callback .date-choice:has(input:disabled) { cursor: not-allowed; opacity: .48; }
.demo-tool--callback .date-choice__weekday--sun { color: var(--tool-sunday); font-weight: 850; }
.demo-tool--callback .date-choice__weekday--sat { color: var(--tool-saturday); font-weight: 850; }
.demo-tool--callback .time-fields { width: calc(50% - 11px); }
.demo-tool--callback .time-row { display: grid; grid-template-columns: minmax(100px,1fr) auto minmax(100px,1fr); align-items: center; gap: 8px; }
.demo-tool--callback .button { min-height: 44px; padding: 9px 16px; border: 1px solid transparent; border-radius: 9px; font-weight: 700; cursor: pointer; }
.demo-tool--callback .button--primary { border-color: var(--tool-brand); background: var(--tool-brand); color: #fff; transition: background-color .2s ease,color .2s ease; }
.demo-tool--callback .button--primary:not(:disabled):hover { background: #fff; color: var(--tool-brand); }
.demo-tool--callback .button--quiet { border-color: var(--tool-line); background: #fff; color: var(--tool-ink); }
.demo-tool--callback .button--copy { border-color: #b8c7ef; background: #fff; color: var(--tool-brand-dark); box-shadow: 0 2px 7px rgba(23,62,157,.12); }
.demo-tool--callback .button:disabled { cursor: not-allowed; opacity: .5; }
.demo-tool--callback .message { margin: 0 0 18px; padding: 12px 14px; border: 1px solid #f1b5ae; border-radius: 8px; background: var(--tool-danger-soft); color: #8a1c13; font-weight: 650; }
.demo-tool--callback .result-section { border-top: 5px solid var(--tool-brand); }
.demo-tool--callback .result-block { margin-top: 18px; }
.demo-tool--callback .result-head { margin-bottom: 6px; }
.demo-tool--callback .result-head label { margin: 0; }
.demo-tool--callback .result-wrap { position: relative; }
.demo-tool--callback .result-wrap textarea { padding-right: 132px; }
.demo-tool--callback .result-copy { position: absolute; top: 7px; right: 7px; min-height: 36px; padding: 5px 10px; }
.demo-tool--callback .result-wrap--subject textarea { height: 52px; min-height: 52px; resize: none; overflow: hidden; }
.demo-tool--callback .result-wrap--body textarea { height: 324px; min-height: 324px; overflow-y: hidden; }
.demo-tool--callback .copy-status { min-height: 1.5em; margin: 0; color: var(--tool-success); font-size: .88rem; font-weight: 750; text-align: right; }
.demo-tool--callback .copy-status.is-error { color: var(--tool-danger); }
.demo-tool--callback .result-wrap textarea.is-copied { animation: callback-copy-highlight 1.1s ease-out; }
@keyframes callback-copy-highlight { 0%,35% { border-color:#177245; background:#e8f7ef; box-shadow:0 0 0 3px rgba(23,114,69,.14); } 100% { border-color:#aeb8ca; background:#fff; box-shadow:none; } }
@media (prefers-reduced-motion: reduce) { .demo-tool--callback .result-wrap textarea.is-copied { animation-duration: .01ms; } }
@media (max-width:680px) {
  .demo-tool--callback .page-shell { width:min(100% - 20px,1040px); padding:28px 0 36px; }
  .demo-tool--callback .tool-card { padding:20px 16px; border-radius:13px; }
  .demo-tool--callback .form-grid { grid-template-columns:1fr; gap:19px; }
  .demo-tool--callback .field--wide { grid-column:auto; }
  .demo-tool--callback .section-heading { align-items:flex-start; flex-direction:column; }
  .demo-tool--callback .result-head { width:100%; align-items:center; flex-direction:row; gap:8px; margin-bottom:3px; }
  .demo-tool--callback .result-head .copy-status { margin-left:auto; }
  .demo-tool--callback .section-heading .button { width:100%; }
  .demo-tool--callback .heading-tools { width:100%; align-items:stretch; flex-direction:column; margin-left:0; }
  .demo-tool--callback .heading-tools > .button { margin-left:0; }
  .demo-tool--callback .notice { display:block; }
  .demo-tool--callback .hours-overview { min-width:0; width:100%; }
  .demo-tool--callback .hours-overview ul { grid-template-columns:1fr; gap:5px; }
  .demo-tool--callback .hours-overview li { grid-template-columns:8.5em 1fr; }
  .demo-tool--callback .hours-overview strong, .demo-tool--callback .hours-overview li span { font-size:.78rem; }
  .demo-tool--callback .choice-row { grid-template-columns:1fr; }
  .demo-tool--callback .date-options { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .demo-tool--callback .time-fields { width:100%; }
  .demo-tool--callback .result-wrap textarea { padding-right:14px; padding-top:56px; }
  .demo-tool--callback .result-copy { left:7px; right:7px; width:auto; }
  .demo-tool--callback .result-wrap--subject textarea { height:116px; min-height:116px; padding-top:60px; padding-bottom:4px; font-size:.86rem; }
  .demo-tool--callback .form-submit { width:100%; }
}
