/* A-195: consolidated user-approved UX refinements, 2026-10-01. */

/* Salon inner voice = bubble. Provider answers remain plain text. */
.a195 .reader-voice-bubble{
  display:table!important;
  width:auto!important;
  max-width:94%!important;
  margin:6px auto 16px!important;
  padding:10px 15px 11px!important;
  position:relative;
  border:1px solid #ead8cf;
  border-radius:15px;
  background:#f8f3ef;
  color:#5a4742!important;
  font-family:"Noto Sans CJK JP","Yu Gothic","Hiragino Kaku Gothic ProN",sans-serif!important;
  font-size:clamp(16px,4.6vw,19px)!important;
  line-height:1.48!important;
  font-weight:700!important;
  text-align:left!important;
  letter-spacing:0!important;
}
.a195 .reader-voice-bubble::after{
  content:"";
  position:absolute;
  left:22px;
  bottom:-8px;
  width:14px;
  height:14px;
  background:#f8f3ef;
  border-right:1px solid #ead8cf;
  border-bottom:1px solid #ead8cf;
  transform:rotate(45deg);
}
.a195 .sample-heading span{display:block!important}

/* Deliverables: icon + two-line copy, including 発信カルテ. */
.a195 .deliverable-list>div.deliverable-item{
  display:grid!important;
  grid-template-columns:32px minmax(0,1fr)!important;
  gap:12px!important;
  align-items:center!important;
  padding:15px 5px!important;
}
.a195 .deliverable-icon{width:32px;height:32px;object-fit:contain;display:block}
.a195 .deliverable-copy{display:flex;flex-direction:column;gap:2px;min-width:0}
.a195 .deliverable-copy strong{font-size:16px!important;line-height:1.4;color:#523b39}
.a195 .deliverable-copy span{font-size:12px!important;line-height:1.5;color:#74645f!important;text-align:left!important}
.a195 .deliverable-main .deliverable-copy strong{font-size:18px!important}
.a195 .deliverable-chart-card{
  grid-template-rows:auto auto;
  background:linear-gradient(90deg,rgba(239,248,245,.82),rgba(255,255,255,.2))!important;
}
.a195 .deliverable-chart-card>.deliverable-icon{grid-column:1;grid-row:1}
.a195 .deliverable-chart-card>.deliverable-copy{grid-column:2;grid-row:1}
.a195 .deliverable-chart-card>.deliverable-copy strong{color:#0b6f60!important;font-size:18px!important}
.a195 .deliverable-chart-card>.deliverable-copy span{font-size:13px!important;font-weight:700}
.a195 .deliverable-chart-card>.chart-inline-inside{
  grid-column:1 / -1;
  grid-row:2;
  width:100%;
  max-width:none;
  margin:10px 0 0!important;
  border-top:1px solid #d8e7e2!important;
  border-bottom:0!important;
  background:transparent!important;
}
.a195 .deliverable-chart-card>.chart-inline-inside>summary{
  min-height:0!important;
  padding:10px 0 2px!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  justify-content:flex-start!important;
  gap:8px!important;
  text-decoration:none!important;
}
.a195 .deliverable-chart-card>.chart-inline-inside>summary>span{
  color:#0b6f60;
  text-decoration:underline;
  text-decoration-thickness:1px;
  text-underline-offset:4px;
}
.a195 .deliverable-chart-card>.chart-inline-inside>summary::after{margin-left:auto;text-decoration:none!important}
.a195 .deliverable-chart-card>.chart-inline-inside>.detail-body{
  padding:12px 0 3px!important;
  width:100%;
  max-width:100%;
  overflow:visible;
}
.a195 .deliverable-chart-card .chart-sample{
  width:100%;
  max-width:100%;
  box-sizing:border-box;
  margin:14px 0 0!important;
  overflow:visible;
}

/* Teaser note = clearly separate informational callout. */
.a195 .post-result-preview .result-delivery-note{
  display:flex!important;
  align-items:center;
  gap:9px;
  margin-top:12px!important;
  padding:10px 11px!important;
  border:1px solid #eadfc7!important;
  border-radius:10px;
  background:#fffaf0;
  color:#665a48!important;
  font-size:12px!important;
  line-height:1.6!important;
  font-weight:800!important;
}
.a195 .post-result-preview .result-delivery-note img{width:24px;height:24px;flex:0 0 24px}
.a195 .post-result-preview .result-delivery-note span{min-width:0}

/* Confirmation instruction is one sentence, one typographic level. */
.a195 .branch-start{display:block!important;padding:15px 14px 18px!important}
.a195 .branch-start strong{font-size:16px!important;line-height:1.55!important}

/* Compact price header: period and tax-inclusive price both use two rows. */
.a195 .offer-sheet-head>div{
  display:grid!important;
  grid-template-rows:18px 36px!important;
  align-content:start!important;
  min-height:54px;
}
.a195 .offer-sheet-head small{line-height:18px!important}
.a195 .offer-sheet-head strong{line-height:36px!important}

/* Final free sample: visually obvious input -> output. */
.a195 .sample-source,.a195 .sample-result{
  min-height:0!important;
  padding:16px!important;
  gap:9px!important;
  justify-content:flex-start!important;
}
.a195 .sample-card-kicker{
  display:block;
  color:#74645f;
  font-size:11px;
  line-height:1.4;
  font-weight:800;
  letter-spacing:.03em;
}
.a195 .sample-io-row{display:flex;align-items:center;gap:10px;min-height:32px}
.a195 .sample-io-row img{width:32px;height:32px;object-fit:contain;flex:0 0 32px}
.a195 .sample-io-row strong{font-size:15px!important;line-height:1.4!important;color:#4b3835!important}
.a195 .sample-source small,.a195 .sample-result small{font-size:12px;line-height:1.55;color:#74645f}
.a195 .sample-text-lines{display:grid;gap:5px;width:100%;padding:3px 0}
.a195 .sample-text-lines i{display:block;height:3px;border-radius:999px;background:#ded7d2}
.a195 .sample-text-lines i:nth-child(1){width:92%}
.a195 .sample-text-lines i:nth-child(2){width:78%}
.a195 .sample-text-lines i:nth-child(3){width:58%}

@media(max-width:480px){
  .a195 .deliverable-list>div.deliverable-item{grid-template-columns:32px minmax(0,1fr)!important;gap:11px!important}
  .a195 .deliverable-copy span{text-align:left!important}
  .a195 .reader-voice-bubble{max-width:94%!important}
  .a195 .sample-source,.a195 .sample-result{min-height:0!important}
}
