/* Shared quick-playbook layout. Mode content changes; reading order stays the same. */
.guide-playbook { margin-bottom: 24px; border: 1px solid #ddd3ee; border-radius: 20px; overflow: hidden; background: #fff; }
.guide-playbook[hidden] { display: none; }
.guide-playbook-cover { position: relative; padding: 20px 24px; padding-right: 195px; color: #fff; background: linear-gradient(115deg, #2d214e, #563980); }
.guide-playbook-kicker { display: block; color: #deccf4; font-size: 10px; font-weight: 900; letter-spacing: .12em; }
.guide-playbook-cover h3 { margin: 9px 0; color: #fff; font-size: clamp(22px, 2.6vw, 28px); font-weight: 900; line-height: 1.35; letter-spacing: -.035em; }
.guide-playbook-cover p { color: #e6dcf4; font-size: 12px; line-height: 1.8; }
.guide-playbook-cover-tag { position: absolute; top: 26px; right: 24px; padding: 8px 12px; border-radius: 999px; border: 1px solid #ffffff30; background: #ffffff0f; color: #ebdefa; font-size: 10px; font-weight: 800; }
.guide-playbook-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid #e9e2f1; padding: 14px 24px; gap: 16px; background: #fcfaff; }
.guide-playbook-fact { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding-left: 16px; border-left: 1px solid #e6ddef; gap: 5px; }
.guide-playbook-fact:first-child { padding-left: 0; border-left: 0; }
.guide-playbook-fact > span { color: #9984af; font-size: 10px; font-weight: 800; }
.guide-playbook-fact strong { color: #5b378c; font-size: clamp(17px, 1.8vw, 23px); font-weight: 900; line-height: 1.35; letter-spacing: -.025em; overflow-wrap: anywhere; }
.guide-playbook-fact small, .guide-playbook-fact a { color: #877797; font-size: 10px; line-height: 1.5; }
.guide-playbook-fact a { color: #7550a8; text-underline-offset: 3px; }
.guide-playbook-content { padding: 18px 24px; }
.guide-playbook-section-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 12px; margin-bottom: 12px; }
.guide-playbook-section-head small { display: block; margin-bottom: 5px; color: #9376b4; font-size: 9px; font-weight: 900; letter-spacing: .10em; }
.guide-playbook-section-head h4 { color: #38234d; font-size: 14px; font-weight: 900; line-height: 1.45; letter-spacing: -.02em; }
.guide-playbook button { font-family: inherit; cursor: pointer; }
.guide-playbook-text-link { padding: 0; color: #8155b7; background: none; border: 0; font-size: 10px; font-weight: 850; text-decoration: underline; text-underline-offset: 3px; }
.guide-playbook-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; gap: 10px; margin: 0; padding: 0; }
.guide-playbook-steps > li { min-width: 0; }
.guide-playbook-step { display: flex; flex-direction: column; gap: 8px; width: 100%; height: 100%; min-height: 148px; padding: 14px; text-align: left; border: 1px solid #e5dcef; border-radius: 13px; background: #faf7fe; color: #3d2b53; transition: border-color .15s, background-color .15s; }
.guide-playbook-step:hover { border-color: #bba1db; background: #f5effc; }
.guide-playbook-step-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.guide-playbook-phase { padding: 4px 7px; border-radius: 5px; background: #eee5f9; color: #77509f; font-size: 9px; font-weight: 900; line-height: 1.4; }
.guide-playbook-number { color: #c8b5e0; font-size: 18px; font-weight: 900; }
.guide-playbook-step > strong { font-size: 13px; font-weight: 900; line-height: 1.5; }
.guide-playbook-step-body { color: #736280; font-size: 11px; line-height: 1.75; white-space: pre-line; }
.guide-playbook-step-link { display: flex; justify-content: space-between; margin-top: auto; color: #8155b7; font-size: 10px; font-weight: 850; }
.guide-playbook-focus-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 18px; }
.guide-playbook-focus { min-width: 0; }
.guide-playbook-focus ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.guide-playbook-focus li { display: flex; gap: 10px; padding: 9px 11px; border-radius: 11px; background: #fcfaff; border: 1px solid #ede5f4; }
.guide-playbook-check { flex: 0 0 23px; display: grid; place-items: center; align-self: flex-start; height: 23px; border-radius: 7px; color: #a480bb; background: #f0e9f7; font-size: 11px; font-weight: 900; }
.guide-playbook-focus li > div { min-width: 0; }
.guide-playbook-focus li strong { display: block; font-size: 12px; font-weight: 850; color: #51386a; line-height: 1.5; }
.guide-playbook-focus li p { margin-top: 3px; font-size: 11px; color: #736280; line-height: 1.65; white-space: pre-line; }
.guide-playbook-focus li small { display: block; margin-top: 2px; font-size: 10px; color: #8a729a; line-height: 1.5; }
.guide-playbook-footer { border-top: 1px solid #eae2f2; margin-top: 20px; padding-top: 14px; }
.guide-playbook-footer p { color: #887496; font-size: 10px; line-height: 1.8; }
.guide-playbook-footer nav { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 11px; }
.guide-playbook-action { border: 1px solid #dccbeb; border-radius: 7px; background: #fcf9ff; padding: 7px 10px; color: #7548a6; font-size: 10px; font-weight: 850; line-height: 1.5; text-decoration: none; }
.guide-playbook-action:hover { border-color: #bba1db; background: #f5effc; }
.mode-guide-criteria { margin: 0 0 16px; border: 1px solid #e9e0f2; border-radius: 11px; background: #fcfaff; }
.mode-guide-criteria > summary { padding: 12px 14px; color: #9074a6; font-size: 11px; font-weight: 800; cursor: pointer; }
.mode-guide-criteria .mode-guide-notice { margin: 0; border-left: 0; border-radius: 0 0 11px 11px; padding: 0 14px 14px; background: transparent; }
.mode-guide-detail-heading { margin: 0 0 14px; }
@media (max-width: 850px) {
  .guide-playbook-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guide-playbook-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .guide-playbook-fact:nth-child(odd) { padding-left: 0; border-left: 0; }
}
@media (max-width: 540px) {
  .guide-playbook { border-radius: 15px; }
  .guide-playbook-cover { padding: 20px 16px; }
  .guide-playbook-cover-tag { position: static; display: inline-block; margin-top: 12px; padding: 5px 9px; }
  .guide-playbook-facts { padding: 16px; }
  .guide-playbook-content { padding: 18px 13px 16px; }
  .guide-playbook-focus-grid { grid-template-columns: 1fr; gap: 18px; }
  .guide-playbook-step { padding: 12px; min-height: 178px; }
  .guide-playbook-step > strong { font-size: 12px; }
  .guide-playbook-step-body { font-size: 11px; }
  .mode-guide-detail-heading { align-items: flex-start; flex-direction: column; gap: 8px; }
}
@media (max-width: 360px) {
  .guide-playbook-steps { grid-template-columns: 1fr; }
  .guide-playbook-step { min-height: 132px; }
}
