/* サンフォレスト提案PDF — Eight提案資料と同じタイポ・レイアウト基盤 */

@import url('/sunforest/sunforest-mobile.css?v=21');
@import url('/sunforest/pdf-deck.css');
@import url('/sunforest/deck-mockups.css');

:root {
  --deck-accent: #15803d;
  --sf-green: #15803d;
  --sf-green-dark: #166534;
  --sf-green-light: #f0fdf4;
}

body.sf-deck-body {
  font-family: var(--deck-font);
  background: #1a1a1a;
  color: var(--deck-text);
}

body.sf-deck-body {
  --sf-toolbar-h: 52px;
}

.sf-toolbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(12, 18, 34, 0.97);
  padding: 8px 16px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  font-family: var(--deck-font);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}
.sf-toolbar__primary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 40px;
}
.sf-toolbar__title {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sf-toolbar__quick {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.sf-toolbar__actions {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 8px 0 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 6px;
}
.sf-toolbar.sf-toolbar--open {
  --sf-toolbar-h: auto;
}
.sf-toolbar.sf-toolbar--open .sf-toolbar__actions {
  display: flex !important;
}
.sf-toolbar a,
.sf-toolbar button {
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  box-sizing: border-box;
}
.sf-toolbar__actions a,
.sf-toolbar__actions button {
  width: 100%;
  text-align: center;
}
.sf-toolbar .go { background: var(--sf-green); border-color: var(--sf-green); }
.sf-toolbar .sf-toolbar-demo,
.sf-toolbar .sf-toolbar-guide {
  background: var(--sf-green);
  border-color: var(--sf-green);
  padding: 8px 14px;
  white-space: nowrap;
}
.sf-toolbar__toggle {
  padding: 8px 10px !important;
  font-size: 11px !important;
  white-space: nowrap;
}

@media (min-width: 901px) {
  body.sf-deck-body {
    --sf-toolbar-h: 56px;
  }
  .sf-toolbar {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    gap: 8px;
  }
  .sf-toolbar__primary {
    flex: 0 1 auto;
    min-width: 200px;
  }
  .sf-toolbar__quick .sf-toolbar__toggle {
    display: none;
  }
  .sf-toolbar__actions {
    display: flex !important;
    flex-direction: row;
    flex-wrap: wrap;
    flex: 1 1 auto;
    justify-content: flex-end;
    border: none;
    margin: 0;
    padding: 0;
    gap: 8px;
  }
  .sf-toolbar__actions[hidden] {
    display: flex !important;
  }
  .sf-toolbar__actions a,
  .sf-toolbar__actions button {
    width: auto;
  }
  .proposal-guide-player__inner {
    display: flex;
    flex-wrap: wrap;
  }
}

.sf-wrap {
  padding: calc(var(--sf-toolbar-h, 52px) + 12px) 20px 40px;
  max-width: calc(var(--deck-slide-w) + 40px);
  margin: 0 auto;
  counter-reset: sf-slide;
}

/* ===== スライド＝Eight PDF と同型 ===== */
.sf-slide {
  width: 100%;
  max-width: var(--deck-slide-w);
  aspect-ratio: var(--deck-slide-ratio);
  margin: 0 auto 48px;
  scroll-margin-top: 80px;
  position: relative;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  font-family: var(--deck-font);
  color: var(--deck-text);
  counter-increment: sf-slide;
}

.sf-slide__inner {
  position: absolute;
  inset: 0;
  padding: 40px 52px 48px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.sf-slide__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 14px;
  flex-shrink: 0;
  padding-bottom: 0;
  border: none;
}

.sf-slide__client {
  font-size: 15px;
  font-weight: 700;
  color: var(--deck-text);
}
.sf-slide__client em {
  font-style: normal;
  color: var(--deck-muted);
  font-weight: 500;
}

.sf-slide__en {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--deck-muted);
  text-transform: uppercase;
}

.sf-slide h2,
.sf-slide__title {
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 900;
  line-height: 1.3;
  margin: 0 0 12px;
  padding: 0;
  border: none;
  color: var(--deck-text);
  letter-spacing: -0.02em;
}

.sf-slide .lead,
.sf-slide__lead {
  font-size: 14px;
  line-height: 1.75;
  color: var(--deck-muted);
  margin-bottom: 12px;
  font-weight: 500;
}

.sf-slide .tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 900;
  color: var(--deck-accent);
  margin-bottom: 8px;
}

.sf-slide__body {
  position: static;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  top: auto;
  left: auto;
  right: auto;
  bottom: auto;
  padding: 0;
}

.sf-slide__foot {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 36px;
  background: var(--deck-dark);
  color: rgba(255, 255, 255, 0.75);
  font-size: 9px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}
.sf-slide__foot::after {
  font-weight: 700;
  color: rgba(255, 255, 255, 0.5);
}
.sf-slide__foot strong {
  color: #fff;
  letter-spacing: 0.15em;
  font-size: 11px;
}

/* 表紙 */
.sf-cover .sf-slide__inner { padding: 0; }
.sf-cover__img { position: absolute; inset: 0; }
.sf-cover__img img { width: 100%; height: 100%; object-fit: cover; }
.sf-cover__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(12, 18, 34, 0.93) 0%, rgba(12, 18, 34, 0.6) 55%, rgba(21, 128, 61, 0.35) 100%);
}
.sf-cover__content {
  position: relative;
  z-index: 2;
  height: 100%;
  padding: 48px 52px 52px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
}
.sf-cover__logo { font-size: 10px; letter-spacing: 0.2em; opacity: 0.75; }
.sf-cover h1 {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  line-height: 1.5;
  max-width: 18em;
  border: none;
  padding: 0;
  color: #fff;
}
.sf-cover__meta { font-size: 12px; opacity: 0.85; }

/* 提案カード（Eight suggest-item 型） */
.sf-suggest {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  flex: 1;
  min-height: 0;
}
.sf-suggest__item {
  display: flex;
  flex-direction: column;
  min-height: 0;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}
.sf-suggest__item h3 {
  font-size: 14px;
  font-weight: 900;
  color: var(--deck-accent);
  padding: 12px 14px 8px;
  margin: 0;
  border-bottom: 2px solid var(--deck-accent);
}
.sf-suggest__visual {
  flex: 1;
  min-height: 160px;
  padding: 10px;
  background: #f8fafc;
  display: flex;
  align-items: stretch;
}
.sf-suggest__visual .wf {
  flex: 1;
  font-size: 10px;
  box-shadow: none;
}
.sf-suggest__visual .wf__body { min-height: 130px; }
.sf-suggest__visual img {
  width: 100%;
  height: 100%;
  min-height: 160px;
  object-fit: cover;
  border-radius: 6px;
}
.sf-suggest__txt {
  padding: 10px 14px 12px;
  font-size: 12px;
  line-height: 1.65;
  color: var(--deck-muted);
  font-weight: 500;
}
.sf-suggest__txt strong { color: var(--deck-text); font-weight: 700; }

/* できること：1行キャッチ＋モック */
.sf-cap-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  flex: 1;
}
.sf-cap-card {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr auto;
}
.sf-cap-card__hd {
  background: var(--deck-dark);
  color: #fff;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 900;
}
.sf-cap-card__hd small {
  display: block;
  font-size: 10px;
  font-weight: 500;
  opacity: 0.8;
  margin-top: 2px;
}
.sf-cap-card__mock {
  padding: 8px;
  background: #f1f5f9;
  min-height: 100px;
}
.sf-cap-card__mock .wf { font-size: 9px; min-height: 96px; }
.sf-cap-card__one {
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--deck-text);
  background: var(--sf-green-light);
}

.sf-scope-note {
  margin-top: 8px;
  padding: 10px 12px;
  font-size: 11px;
  line-height: 1.55;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 8px;
  color: #92400e;
  flex-shrink: 0;
}

/* 引用・課題 */
.sf-quote {
  border-left: 4px solid var(--deck-accent);
  padding: 12px 16px;
  background: var(--sf-green-light);
  border-radius: 0 8px 8px 0;
  margin-bottom: 10px;
  font-size: 13px;
  line-height: 1.65;
  font-weight: 500;
}
.sf-quote cite {
  display: block;
  font-size: 11px;
  color: var(--deck-muted);
  margin-top: 6px;
  font-style: normal;
}

.sf-pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: auto;
}
.sf-pain {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 12px;
  font-size: 12px;
  line-height: 1.6;
}
.sf-pain strong {
  display: block;
  font-size: 13px;
  margin-bottom: 6px;
  color: var(--deck-accent);
}

.sf-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  flex: 1;
  min-height: 0;
}
.sf-col-img {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  min-height: 0;
}
.sf-col-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ROI・相場（読みやすい大きめ表） */
.sf-chart__row { font-size: 13px; }
.sf-chart__fill { font-size: 11px; }
.sf-roi-table { font-size: 12px; }
.sf-roi-table th { font-size: 10px; padding: 8px 10px; }
.sf-roi-table td { padding: 8px 10px; }

.sf-role__head { font-size: 12px; }
.sf-role__before,
.sf-role__after { font-size: 11px; line-height: 1.55; }

.sf-value-4 div { font-size: 11px; line-height: 1.55; }
.sf-value-4 strong { font-size: 12px; }

.sf-price-compare__box .big { font-size: 40px; }

/* 利益試算（細かい表） */
.sf-profit-hero {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 10px;
}
.sf-profit-hero__box {
  border-radius: 10px;
  padding: 12px 10px;
  text-align: center;
  border: 2px solid #e2e8f0;
}
.sf-profit-hero__box--invest { background: #f8fafc; }
.sf-profit-hero__box--gain { background: var(--sf-green-light); border-color: #86efac; }
.sf-profit-hero__box--net { background: #eff6ff; border-color: #93c5fd; }
.sf-profit-hero__lbl { font-size: 10px; font-weight: 700; color: var(--deck-muted); margin-bottom: 4px; }
.sf-profit-hero__num { font-size: 22px; font-weight: 900; color: var(--deck-text); line-height: 1.2; }
.sf-profit-hero__box--gain .sf-profit-hero__num { color: var(--sf-green-dark); }
.sf-profit-hero__sub { font-size: 9px; color: var(--deck-muted); margin-top: 4px; }

.sf-profit-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
}
.sf-profit-table th {
  background: var(--deck-dark);
  color: #fff;
  padding: 6px 8px;
  font-size: 9px;
  text-align: left;
}
.sf-profit-table td {
  border: 1px solid #e2e8f0;
  padding: 5px 8px;
  vertical-align: middle;
}
.sf-profit-table tr:nth-child(even) td { background: #f8fafc; }
.sf-profit-table .num { text-align: right; font-weight: 700; white-space: nowrap; }
.sf-profit-table .accent { color: var(--sf-green-dark); font-weight: 900; }
.sf-profit-table tfoot td { background: #f0fdf4 !important; font-weight: 900; }
.sf-profit-cols {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 12px;
  flex: 1;
  min-height: 0;
}
.sf-profit-note {
  font-size: 9px;
  line-height: 1.5;
  color: var(--deck-muted);
  margin-top: 6px;
  padding: 8px 10px;
  background: #f8fafc;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
}

.sf-slide__foot::after {
  content: counter(sf-slide) ' / 21';
}

/* ライブデモスライド */
.sf-slide--demo .sf-slide__body { padding-bottom: 0; min-height: 0; }
.sf-slide--demo h2 { margin-bottom: 8px; font-size: 22px; }
.sf-slide--demo .lead { margin-bottom: 8px; font-size: 13px; }
.sf-slide--demo-first .sf-slide__head { margin-bottom: 8px; }
.sf-slide--demo-first h2 { margin-bottom: 6px; }
.sf-slide--demo-first .tag {
  background: var(--sf-green-light);
  padding: 4px 10px;
  border-radius: 4px;
}
.sf-slide--demo-first .sf-deck-tabs {
  margin-bottom: 8px;
  padding: 6px 8px;
  background: #f8fafc;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}
.sf-slide--demo-first .sf-deck-demo {
  flex: 1;
  min-height: 0;
  box-shadow: 0 8px 32px rgba(21, 128, 61, 0.12);
}
.sf-slide--demo-first .sf-deck-iframe,
.sf-slide--demo .sf-deck-iframe {
  min-height: 420px;
  height: 100%;
}
.sf-slide--demo-first .sf-deck-panel {
  flex: 1;
  min-height: 420px;
  display: none;
  flex-direction: column;
}
.sf-slide--demo-first .sf-deck-panel.is-active {
  display: flex;
}

.sf-deck-demo--unified {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  border: 2px solid var(--deck-accent);
  border-radius: 10px;
  overflow: hidden;
  background: #f1f5f9;
}
.sf-deck-iframe--proof {
  flex: 1;
  width: 100%;
  min-height: 440px;
  height: 100%;
  border: 0;
}

.sf-compare-plain {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  margin-bottom: 8px;
}
.sf-compare-plain th,
.sf-compare-plain td {
  padding: 10px 12px;
  border: 1px solid #e2e8f0;
  text-align: left;
}
.sf-compare-plain th { background: #f8fafc; font-size: 11px; }
.sf-compare-plain .num { text-align: right; font-weight: 800; white-space: nowrap; }
.sf-compare-plain__us td { background: #f0fdf4; }
.sf-compare-plain .accent { color: var(--sf-green-dark); }
.sf-compare-plain__note {
  font-size: 10px;
  color: var(--deck-muted);
  margin: 0 0 10px;
}

.sf-scope-3--two {
  grid-template-columns: 1fr 1fr;
}
.sf-scope-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  flex: 1;
  min-height: 0;
}
.sf-scope-3__box {
  border-radius: 10px;
  padding: 12px 12px 10px;
  font-size: 11px;
  line-height: 1.55;
  display: flex;
  flex-direction: column;
}
.sf-scope-3__box h3 {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 900;
}
.sf-scope-3__sub {
  margin: 0 0 8px;
  font-size: 10px;
  font-weight: 600;
  opacity: 0.85;
}
.sf-scope-3__box ul {
  margin: 0;
  padding-left: 16px;
  flex: 1;
}
.sf-scope-3__box--in {
  background: #f0fdf4;
  border: 2px solid var(--deck-accent);
}
.sf-scope-3__box--in h3 { color: var(--sf-green-dark); }
.sf-scope-3__box--out {
  background: #fef2f2;
  border: 2px solid #fecaca;
}
.sf-scope-3__box--out h3 { color: #991b1b; }
.sf-scope-3__box--ops {
  background: #eff6ff;
  border: 2px solid #93c5fd;
}
.sf-scope-3__box--ops h3 { color: #1e40af; }
.sf-scope-3__note {
  margin: 8px 0 0;
  font-size: 9px;
  color: var(--deck-muted);
}
.sf-slide--scope .sf-slide__body { overflow: hidden; }

.sf-scope-foot {
  margin-top: 10px;
  border-top: 2px solid #e2e8f0;
  padding-top: 10px;
  flex-shrink: 0;
}
.sf-scope-foot__row {
  font-size: 11px;
  line-height: 1.55;
  margin-bottom: 8px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #eff6ff;
  border: 1px solid #93c5fd;
}
.sf-scope-foot__row strong { color: #1e40af; display: block; margin-bottom: 4px; }
.sf-scope-foot__row--plus {
  background: #f5f3ff;
  border-color: #c4b5fd;
}
.sf-scope-foot__row--plus strong { color: #5b21b6; }

.sf-slide--evidence h2 { font-size: 20px; margin-bottom: 6px; }
.sf-f46 {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 8px;
  align-items: stretch;
  margin: 10px 0 8px;
  font-size: 11px;
  line-height: 1.45;
}
.sf-f46__box {
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #86efac;
}
.sf-f46__box--four { background: #f0fdf4; }
.sf-f46__box--six { background: #eff6ff; border-color: #93c5fd; }
.sf-f46__hd { margin: 0 0 6px; font-weight: 800; font-size: 11px; }
.sf-f46__body { margin: 0; color: var(--sf-muted); }
.sf-f46__list { margin: 0; padding-left: 1.15em; }
.sf-f46__list li { margin-bottom: 2px; }
a.sf-jump {
  color: var(--sf-green-dark);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;
}
a.sf-jump:hover { color: #15803d; }

.sf-line-send {
  margin-top: 12px;
  padding: 12px 14px;
  background: #eff6ff;
  border: 1px solid #93c5fd;
  border-radius: 8px;
  font-size: 11px;
  line-height: 1.5;
  scroll-margin-top: 72px;
}
.sf-line-send h3 { margin: 0 0 8px; font-size: 12px; }
.sf-line-send__lead { margin: 0 0 8px; }
.sf-line-send__list { margin: 0 0 8px; padding-left: 1.2em; }
.sf-line-send__list li { margin-bottom: 4px; }
.sf-line-send__links { margin: 0; font-size: 10px; }

.sf-slide--audio-spec .sf-audio-spec {
  width: 100%;
  font-size: 10px;
  border-collapse: collapse;
  margin-top: 4px;
}
.sf-slide--audio-spec .sf-audio-spec th,
.sf-slide--audio-spec .sf-audio-spec td {
  border: 1px solid #e2e8f0;
  padding: 6px 8px;
  text-align: left;
  vertical-align: top;
}
.sf-slide--audio-spec .sf-audio-spec th { background: #f8fafc; width: 28%; }
.sf-slide--audio-spec code { font-size: 9px; background: #f1f5f9; padding: 1px 4px; border-radius: 3px; }
#audio-bed { scroll-margin-top: 72px; }

.proposal-guide-welcome__links {
  font-size: 12px;
  margin: 0 0 12px;
  text-align: center;
}
.proposal-guide-welcome__links a {
  color: var(--sf-green-dark);
  font-weight: 700;
}

.sf-f46__arrow {
  display: flex;
  align-items: center;
  font-size: 10px;
  font-weight: 800;
  color: var(--sf-green-dark);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  padding: 4px 0;
}
@media (max-width: 720px) {
  .sf-f46 { grid-template-columns: 1fr; }
  .sf-f46__arrow { writing-mode: horizontal-tb; justify-content: center; padding: 4px; }
}

.sf-evidence-banner {
  font-size: 13px;
  font-weight: 800;
  padding: 10px 14px;
  background: #f0fdf4;
  border: 1px solid #86efac;
  border-radius: 8px;
  margin-bottom: 10px;
  color: var(--sf-green-dark);
}
.sf-evidence-shots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  flex: 1;
  min-height: 0;
}
.sf-evidence-shots figure { margin: 0; }
.sf-evidence-shots a,
.sf-evidence-open {
  display: block;
  position: relative;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.15s;
}
.sf-evidence-shots a:hover,
.sf-evidence-open:hover { border-color: var(--deck-accent); }
.sf-evidence-open__btn {
  position: absolute;
  right: 6px;
  bottom: 6px;
  padding: 4px 8px;
  font-size: 10px;
  font-weight: 800;
  color: #fff;
  background: rgba(21, 128, 61, 0.92);
  border-radius: 6px;
  pointer-events: none;
}
.sf-evidence-shots img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  object-position: top;
  display: block;
}
.sf-evidence-shots figcaption {
  font-size: 12px;
  padding: 8px 10px;
  background: #f8fafc;
  line-height: 1.45;
}
.sf-evidence-shots figcaption small { font-size: 11px; }
#s5a.sf-slide--evidence .sf-evidence-why { font-size: 13px; }
#s5a.sf-slide--evidence .sf-deck-hint { font-size: 12px !important; }
#s5a.sf-slide--evidence .sf-evidence-open__btn { font-size: 11px; }

/* 音声で伝える要点（スライド内の囲み） */
.sf-script-box {
  margin: 8px 0;
  padding: 10px 12px;
  border: 2px solid #93c5fd;
  border-radius: 10px;
  background: linear-gradient(135deg, #eff6ff 0%, #f8fafc 100%);
  font-size: 13px;
  line-height: 1.5;
}
.sf-script-box__lbl {
  display: block;
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #1d4ed8;
  text-transform: uppercase;
}
.sf-script-box p { margin: 0; }
.sf-script-box--green {
  border-color: #86efac;
  background: linear-gradient(135deg, #ecfdf5 0%, #f8fafc 100%);
}
.sf-script-box--green .sf-script-box__lbl { color: var(--sf-green-dark); }
#s-ceo-ops .sf-profit-table { font-size: 12px; }
#s-ceo-ops .sf-profit-table td { padding: 9px 10px; }

.sf-slide__body--closing { justify-content: center; text-align: center; }
.sf-closing-tiers {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  max-width: 640px;
  margin: 0 auto;
  text-align: left;
}
.sf-closing-tiers__box {
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  font-size: 11px;
  line-height: 1.5;
}
.sf-closing-tiers__title { font-weight: 900; margin: 0 0 6px; font-size: 12px; }
.sf-closing-tiers__box--ops { background: #eff6ff; border-color: #93c5fd; }
.sf-closing-tiers__box--ops .sf-closing-tiers__title { color: #1e40af; }
.sf-closing-tiers__box--plus { background: #f5f3ff; border-color: #c4b5fd; }
.sf-closing-tiers__box--plus .sf-closing-tiers__title { color: #5b21b6; }
.sf-slide--demo-first .sf-deck-hint {
  flex-shrink: 0;
  margin-top: 8px;
}
.sf-deck-demo {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  border: 2px solid var(--deck-accent);
  border-radius: 10px;
  overflow: hidden;
  background: #f1f5f9;
}
.sf-deck-demo__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: var(--deck-dark);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}
.sf-deck-demo__bar span { opacity: 0.85; font-weight: 500; }
.sf-deck-iframe {
  flex: 1;
  width: 100%;
  min-height: 320px;
  border: 0;
  display: block;
}
.sf-deck-hint {
  font-size: 10px;
  color: var(--deck-muted);
  margin-top: 6px;
  text-align: center;
}
.sf-deck-hint strong { color: var(--sf-green-dark); }

/* 担当者の変化（シンプル） */
.sf-people-simple {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  flex: 1;
}
.sf-people-card {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.sf-people-card__hd {
  background: var(--deck-dark);
  color: #fff;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 900;
}
.sf-people-card__hd small { font-weight: 500; opacity: 0.85; font-size: 10px; }
.sf-people-card__flow {
  flex: 1;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
  line-height: 1.55;
}
.sf-people-card__before {
  padding: 10px;
  background: #f8fafc;
  border-radius: 8px;
  border-left: 3px solid #94a3b8;
}
.sf-people-card__after {
  padding: 10px;
  background: var(--sf-green-light);
  border-radius: 8px;
  border-left: 3px solid var(--deck-accent);
}
.sf-people-card__lbl {
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: var(--deck-muted);
  margin-bottom: 4px;
}
.sf-people-card__arrow {
  text-align: center;
  font-size: 18px;
  font-weight: 900;
  color: var(--deck-accent);
  line-height: 1;
}

/* 伴走3機能 — 仕組み説明（日付なし） */
.sf-why-ops {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 14px;
  flex: 1;
  min-height: 0;
}
.sf-why-ops__left {
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  padding: 14px;
  background: #f8fafc;
  font-size: 12px;
  line-height: 1.65;
}
.sf-why-ops__left h3 { font-size: 14px; margin: 0 0 10px; color: var(--deck-text); }
.sf-why-ops__layers { margin: 0; padding: 0; list-style: none; }
.sf-why-ops__layers li {
  padding: 10px 12px;
  margin-bottom: 8px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  background: #fff;
}
.sf-why-ops__layers li strong { display: block; font-size: 12px; margin-bottom: 4px; color: var(--sf-green-dark); }
.sf-why-ops__table { font-size: 11px; }
.sf-why-ops__table .ng { color: #991b1b; font-weight: 700; }
.sf-why-ops__table .mid { color: #b45309; font-weight: 700; }
.sf-why-ops__table .ok { color: var(--sf-green-dark); font-weight: 700; }

.sf-slide--compact-table .sf-profit-cols { grid-template-columns: 1fr; }
.sf-slide--compact-table .sf-profit-hero { display: none; }
.sf-slide--compact-table h2 { font-size: clamp(18px, 3.2vw, 22px); margin-bottom: 8px; }
.sf-slide--compact-table .sf-slide__head { margin-bottom: 8px; }
.sf-slide--compact-table .lead { font-size: 13px !important; line-height: 1.5; }
.sf-slide--compact-table .sf-profit-table { font-size: 12px; }
.sf-slide--compact-table .sf-profit-table td,
.sf-slide--compact-table .sf-profit-table th { padding: 8px 10px; }
.sf-slide--compact-table .sf-scope-3__box { font-size: 12px; padding: 12px; }
.sf-slide--compact-table .sf-scope-3__box h3 { font-size: 13px; }
.sf-slide--compact-table .sf-scope-3__box ul { font-size: 12px; line-height: 1.45; }
.sf-slide--compact-table .sf-scope-list { font-size: 13px !important; }
.sf-slide--compact-table .sf-roi-highlight { font-size: 12px !important; line-height: 1.5; }
.sf-slide--compact-table .sf-profit-conclusion {
  font-size: 12px;
  padding: 8px 12px;
  margin-bottom: 10px;
}
.sf-profit-table--full {
  width: 100%;
  font-size: 12px;
}
.sf-profit-table--full th,
.sf-profit-table--full td { padding: 8px 10px; }
.sf-profit-table--compare { margin-top: 12px; width: 100%; font-size: 12px; }
.sf-profit-table--compare td { padding: 10px 12px; }
.sf-agenda-list--chaldini .sf-agenda-done {
  color: var(--sf-green-dark);
  font-weight: 700;
}
.sf-agenda-list--chaldini .sf-agenda-done::marker { color: var(--deck-accent); }

/* 投資1枚スライド */
.sf-slide--roi-one .sf-chart--compact { margin-bottom: 6px; }
.sf-slide--roi-one .sf-chart--compact .sf-chart__row { font-size: 11px; }
.sf-slide--roi-one .sf-chart--compact .sf-chart__track { height: 22px; }
.sf-roi-banner--compact .sf-roi-banner__num { font-size: 22px; }
.sf-roi-banner--compact small { font-size: 0.4em; }
.sf-market-links {
  margin: 8px 0 0;
  padding: 10px 12px;
  background: #f8fafc;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  font-size: 10px;
  line-height: 1.55;
  color: var(--deck-muted);
  list-style: none;
}

/* ご提案4画面 1枚 */
.sf-quad-img {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  flex: 1;
  min-height: 0;
}
.sf-quad-img figure {
  margin: 0;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #fff;
}
.sf-quad-img img {
  width: 100%;
  height: 118px;
  object-fit: cover;
  object-position: top;
  display: block;
}
.sf-quad-img figcaption {
  padding: 6px 8px;
  font-size: 11px;
  font-weight: 700;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
}

/* デモ1枚・タブ */
.sf-deck-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.sf-deck-tab {
  padding: 8px 14px;
  border-radius: 8px;
  border: 2px solid #e2e8f0;
  background: #fff;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  font-family: inherit;
  color: var(--deck-text);
}
.sf-deck-tab.is-active {
  border-color: var(--deck-accent);
  background: var(--sf-green-light);
  color: var(--sf-green-dark);
}
.sf-deck-play {
  margin-left: auto;
  padding: 8px 16px;
  border-radius: 8px;
  border: none;
  background: var(--deck-accent);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  font-family: inherit;
}
.sf-slide--demo .sf-deck-demo {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
  background: #f1f5f9;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.sf-deck-panel {
  flex: 1;
  min-height: 0;
  display: none;
}
.sf-deck-panel.is-active { display: flex; flex-direction: column; }
.sf-slide--demo .sf-deck-iframe {
  flex: 1;
  width: 100%;
  min-height: 300px;
  border: 0;
}
.sf-slide--demo .sf-slide__body { overflow: hidden; }

/* アジェンダ（画像なし） */
.sf-agenda-list {
  margin: 12px 0 0 24px;
  font-size: 15px;
  line-height: 2.1;
  color: var(--deck-text);
}

/* 4つの価値（絵文字なし・番号のみ） */
.sf-value-clean {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 8px;
  flex: 1;
}
.sf-value-clean__item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #fafafa;
  border-top: 3px solid var(--deck-accent);
}
.sf-value-clean__n {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  line-height: 28px;
  text-align: center;
  border-radius: 50%;
  background: var(--deck-accent);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
}
.sf-value-clean__item strong {
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
  color: var(--deck-text);
}
.sf-value-clean__item p {
  margin: 0;
  font-size: 12px;
  line-height: 1.55;
  color: var(--deck-muted);
  font-weight: 500;
}

.sf-deck-legend {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin: 0 0 8px;
  padding: 0;
  list-style: none;
  font-size: 11px;
  color: var(--deck-muted);
}
.sf-deck-legend strong { color: var(--sf-green-dark); }
.sf-deck-lead { margin-bottom: 6px !important; }
.sf-slide--demo.is-playing .sf-deck-tab.is-active {
  box-shadow: 0 0 0 2px rgba(21, 128, 61, 0.35);
}
.sf-deck-play {
  font-size: 11px;
  padding: 8px 12px;
  background: #f1f5f9;
  color: var(--deck-text);
  border: 1px solid #e2e8f0;
}

.sf-slide--roadmap10 .sf-slide__body { overflow: hidden; }
.sf-slide--roadmap10 h2 { font-size: 20px; margin-bottom: 4px; }
.sf-slide--roadmap10 .lead { font-size: 11px; line-height: 1.5; }
.sf-roadmap10 { font-size: 10px; margin-top: 4px; }
.sf-roadmap10 th { padding: 5px 6px; font-size: 9px; }
.sf-roadmap10 td { padding: 4px 6px; line-height: 1.35; }
.sf-roadmap10 tr.sf-rm-p1 { background: #f0fdf4; }
.sf-roadmap10 .sf-rm-p1 { color: #166534; font-weight: 800; }
.sf-roadmap10 .sf-rm-done { color: #64748b; font-weight: 700; }
.sf-roadmap10 .sf-rm-part { color: #1d4ed8; font-weight: 700; }
.sf-roadmap10 .sf-rm-p2 { color: #c93400; font-weight: 700; }
.sf-roadmap10 .sf-rm-out { color: #64748b; font-weight: 700; }
.sf-roadmap10 .sf-rm-ops { color: #1e40af; font-weight: 800; }
.sf-slide--demo .sf-deck-tabs { flex-wrap: wrap; }

/* ===== ROI 一枚サマリー ===== */
.sf-roi-banner {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 8px;
  margin: 10px 0 12px;
  padding: 16px 14px;
  background: linear-gradient(135deg, #f0fdf4 0%, #eff6ff 100%);
  border: 2px solid #86efac;
  border-radius: 12px;
}
.sf-roi-banner__box { text-align: center; }
.sf-roi-banner__lbl { font-size: 10px; font-weight: 700; color: var(--deck-muted); }
.sf-roi-banner__num { font-size: 28px; font-weight: 900; line-height: 1.15; letter-spacing: -0.03em; }
.sf-roi-banner__num--gain { color: var(--sf-green-dark); }
.sf-roi-banner__num--invest { color: #64748b; }
.sf-roi-banner__sub { font-size: 9px; color: var(--deck-muted); margin-top: 4px; }
.sf-roi-banner__arrow { font-size: 22px; font-weight: 900; color: var(--deck-accent); }

.sf-formula {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 10px;
  padding: 12px 16px;
  background: var(--deck-dark);
  color: #fff;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 10px;
}
.sf-formula em { font-style: normal; color: #86efac; font-size: 15px; }
.sf-formula .eq { opacity: 0.6; }

.sf-roi-highlight {
  text-align: center;
  padding: 10px;
  border-radius: 8px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  font-size: 12px;
  font-weight: 700;
  color: #92400e;
  margin-top: 8px;
}

/* 実測ワークシート */
.sf-measure {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 14px;
  min-height: 0;
}
.sf-measure-table { font-size: 11px; }
.sf-measure-table th { font-size: 9px; }
.sf-measure-table .blank {
  background: #fff;
  min-width: 48px;
  border-bottom: 1px dashed #94a3b8;
  color: #cbd5e1;
  text-align: center;
}
.sf-measure-table .blank::after { content: '記入'; font-size: 9px; }
.sf-measure-aside {
  border: 2px solid var(--deck-accent);
  border-radius: 10px;
  padding: 12px;
  background: var(--sf-green-light);
  font-size: 11px;
  line-height: 1.6;
}
.sf-measure-aside h3 { font-size: 13px; margin: 0 0 8px; color: var(--sf-green-dark); }

/* 4つの価値（アイコン付き） */
.sf-value-4--icon .sf-value-card {
  display: flex;
  flex-direction: column;
}
.sf-value-4--icon .sf-value-card__icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--sf-green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  font-size: 18px;
}

/* 検収チェックリスト */
.sf-accept {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 10px;
}
.sf-accept__block {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
}
.sf-accept__hd {
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 900;
  color: #fff;
}
.sf-accept__hd--mid { background: #1e5a8a; }
.sf-accept__hd--fin { background: var(--sf-green-dark); }
.sf-accept__list {
  margin: 0;
  padding: 10px 12px 10px 28px;
  font-size: 10px;
  line-height: 1.65;
  color: var(--deck-muted);
}
.sf-accept__list li { margin-bottom: 4px; }

/* 支払い×工程 統合タイムライン */
.sf-timeline-wrap { flex: 1; min-height: 0; }
.sf-timeline {
  position: relative;
  margin: 8px 0 12px;
  padding: 52px 12px 8px;
  background: #f8fafc;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
}
.sf-timeline__axis {
  position: absolute;
  left: 24px;
  right: 24px;
  top: 38px;
  height: 4px;
  background: #cbd5e1;
  border-radius: 2px;
}
.sf-timeline__months {
  display: flex;
  justify-content: space-between;
  position: absolute;
  left: 24px;
  right: 24px;
  top: 12px;
  font-size: 9px;
  font-weight: 700;
  color: var(--deck-muted);
}
.sf-timeline__phases {
  display: grid;
  grid-template-columns: 22% 38% 32% 8%;
  gap: 4px;
  position: relative;
  z-index: 1;
  margin-top: 28px;
}
.sf-timeline__phase {
  font-size: 9px;
  font-weight: 700;
  text-align: center;
  padding: 28px 4px 8px;
  border-radius: 6px;
  line-height: 1.35;
  color: #fff;
}
.sf-timeline__phase--1 { background: #64748b; }
.sf-timeline__phase--2 { background: #1e5a8a; }
.sf-timeline__phase--3 { background: var(--sf-green-dark); }
.sf-timeline__phase--4 { background: #93c5fd; color: #1e3a8a; }

.sf-timeline__pays {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 10px;
}
.sf-timeline__pay {
  text-align: center;
  padding: 10px 8px;
  border: 2px solid var(--deck-accent);
  border-radius: 10px;
  background: #fff;
}
.sf-timeline__pay-amt { font-size: 18px; font-weight: 900; color: var(--sf-green-dark); }
.sf-timeline__pay-lbl { font-size: 9px; color: var(--deck-muted); margin-top: 4px; }

/* 伴走ロードマップ */
.sf-ops-roadmap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 10px;
}
.sf-ops-roadmap__item {
  border: 2px dashed #93c5fd;
  background: #eff6ff;
  border-radius: 10px;
  padding: 10px;
  font-size: 10px;
  line-height: 1.5;
}
.sf-ops-roadmap__item strong { display: block; font-size: 12px; color: #1e40af; margin-bottom: 6px; }
.sf-ops-roadmap__when {
  display: inline-block;
  margin-top: 6px;
  padding: 3px 8px;
  background: #1e40af;
  color: #fff;
  border-radius: 4px;
  font-size: 9px;
  font-weight: 700;
}

/* 画像＋キャプション（配置最適化） */
.sf-visual-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  flex: 1;
  min-height: 0;
}
.sf-visual-split__img {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  display: flex;
  flex-direction: column;
}
.sf-visual-split__img img {
  width: 100%;
  flex: 1;
  min-height: 140px;
  object-fit: cover;
  object-position: top;
}
.sf-visual-split__cap {
  padding: 8px 12px;
  font-size: 11px;
  line-height: 1.5;
  background: #fff;
  border-top: 1px solid #e2e8f0;
}
.sf-visual-split__cap strong { color: var(--sf-green-dark); }

.sf-price-visual {
  margin-top: 10px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  max-height: 120px;
}
.sf-price-visual img { width: 100%; height: 100%; object-fit: cover; display: block; }

.sf-profit-hero__box--highlight {
  border-color: var(--sf-green-dark);
  box-shadow: 0 0 0 2px rgba(21, 128, 61, 0.15);
  grid-column: span 1;
}
.sf-profit-conclusion {
  grid-column: 1 / -1;
  text-align: center;
  padding: 10px;
  background: linear-gradient(90deg, #f0fdf4, #eff6ff);
  border-radius: 8px;
  border: 1px solid #86efac;
  font-size: 13px;
  font-weight: 900;
  color: var(--sf-green-dark);
  margin-bottom: 8px;
}

@media print {
  .sf-slide { page-break-after: always; break-after: page; }
}

/* お支払い3回（わかりやすいフロー） */
.sf-pay-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 10px 0 8px;
}
.sf-pay-step {
  border: 2px solid var(--deck-accent);
  border-radius: 12px;
  padding: 12px 10px;
  text-align: center;
  background: #fff;
  position: relative;
}
.sf-pay-step::after {
  content: '→';
  position: absolute;
  right: -14px;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 900;
  color: var(--deck-muted);
  font-size: 18px;
}
.sf-pay-step:last-child::after { display: none; }
.sf-pay-step__num {
  display: inline-block;
  width: 28px;
  height: 28px;
  line-height: 28px;
  border-radius: 50%;
  background: var(--deck-accent);
  color: #fff;
  font-weight: 900;
  font-size: 14px;
  margin-bottom: 6px;
}
.sf-pay-step__title { font-size: 13px; font-weight: 900; color: var(--deck-text); margin-bottom: 4px; }
.sf-pay-step__amt { font-size: 20px; font-weight: 900; color: var(--sf-green-dark); }
.sf-pay-step__pct { font-size: 11px; color: var(--deck-muted); margin-bottom: 6px; }
.sf-pay-step__when { font-size: 10px; line-height: 1.45; color: var(--deck-muted); text-align: left; background: #f8fafc; padding: 8px; border-radius: 6px; margin-top: 6px; }

.sf-pay-total {
  text-align: center;
  font-size: 14px;
  font-weight: 900;
  padding: 10px;
  background: var(--sf-green-light);
  border-radius: 8px;
  border: 1px solid #86efac;
  margin-top: 6px;
}

.sf-ops-later {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 8px;
}
.sf-ops-later div {
  border: 2px dashed #93c5fd;
  background: #eff6ff;
  border-radius: 10px;
  padding: 10px;
  font-size: 11px;
  line-height: 1.5;
  text-align: center;
}
.sf-ops-later strong { display: block; font-size: 12px; color: #1e40af; margin-bottom: 4px; }
.sf-ops-later .lbl { font-size: 9px; font-weight: 700; color: #64748b; margin-top: 6px; }

/* 提案PDF — ElevenLabs 音声ガイド */
.proposal-guide-welcome {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(4px);
}
.proposal-guide-welcome.hidden { display: none !important; }
.proposal-guide-welcome__card {
  max-width: 440px;
  width: 100%;
  background: #fff;
  border-radius: 12px;
  padding: 24px 22px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}
.proposal-guide-welcome__badge {
  font-size: 11px;
  font-weight: 700;
  color: var(--sf-green, #15803d);
  margin: 0 0 8px;
}
.proposal-guide-welcome__card h2 {
  font-size: 20px;
  margin: 0 0 10px;
  color: var(--deck-text, #0f172a);
}
.proposal-guide-welcome__card .lead {
  font-size: 13px;
  line-height: 1.55;
  color: var(--sf-muted, #64748b);
  margin: 0;
}
.proposal-guide-welcome__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.proposal-guide-btn {
  font-size: 12px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 6px;
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #0f172a;
  cursor: pointer;
  font-family: inherit;
}
.proposal-guide-btn--primary {
  background: var(--sf-green, #15803d);
  border-color: var(--sf-green, #15803d);
  color: #fff;
}
body.has-proposal-guide {
  padding-bottom: calc(var(--sf-guide-h, 72px) + env(safe-area-inset-bottom, 0px));
}
.proposal-guide-player {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  background: #fff;
  border-top: 1px solid #e2e8f0;
  box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.12);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  min-height: 116px;
  box-sizing: border-box;
}
.proposal-guide-caption {
  margin: 0;
  padding: 8px 12px 4px;
  font-size: 13px;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.4;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  display: block;
}
.proposal-guide-caption[hidden] { display: none; }
.proposal-guide-player__inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto auto;
  align-items: stretch;
  gap: 8px;
  padding: 8px 12px 10px;
  max-width: calc(var(--deck-slide-w, 960px) + 40px);
  margin: 0 auto;
}
.proposal-guide-player__select {
  grid-column: 1 / -1;
}
.proposal-guide-player__status {
  grid-column: 1 / -1;
  display: block;
  text-align: center;
}
.proposal-guide-player__select {
  flex: 1 1 140px;
  max-width: 220px;
  font-size: 13px;
  padding: 6px 8px;
  border-radius: 6px;
  border: 1px solid #cbd5e1;
}
.proposal-guide-player__status {
  font-size: 11px;
  color: #64748b;
  margin: 0;
}
.sf-slide.sf-slide-guide-active {
  outline: 3px solid var(--sf-green, #15803d);
  outline-offset: 4px;
}
.proposal-guide-bed-label {
  font-size: 11px;
  color: #64748b;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  user-select: none;
}
.proposal-freq-score {
  font-size: 10px;
  color: #64748b;
  margin: 0;
  width: 100%;
  flex: 1 1 100%;
}
.proposal-freq-cite {
  width: 100%;
  flex: 1 1 100%;
  font-size: 10px;
  color: #64748b;
  margin: 0;
}
.proposal-freq-cite summary {
  cursor: pointer;
  font-weight: 700;
  color: #166534;
}
.proposal-freq-cite__disc {
  margin: 6px 0 8px;
  line-height: 1.45;
  font-size: 10px;
}
.proposal-freq-cite__list {
  margin: 0;
  padding-left: 1em;
  line-height: 1.4;
}
.proposal-freq-cite__ref {
  color: #94a3b8;
  font-size: 9px;
}
.sf-benefit-expand {
  margin-top: 10px;
  padding: 10px 12px;
  background: #f0fdf4;
  border: 1px solid #86efac;
  border-radius: 8px;
  font-size: 11px;
  line-height: 1.55;
}
.sf-benefit-expand__hd {
  margin: 0 0 6px;
  font-weight: 800;
  color: #166534;
  font-size: 12px;
}
.sf-benefit-expand ul {
  margin: 0;
  padding-left: 1.1em;
  color: var(--sf-muted, #64748b);
}
.sf-benefit-expand li { margin-bottom: 3px; }
body.proposal-closing-focus #s17 .sf-closing-headline {
  color: #14532d;
}
.sf-closing-flow {
  max-width: 32em;
  margin: 0 auto 14px;
  padding-left: 1.2em;
  font-size: 12px;
  line-height: 1.65;
  color: var(--sf-muted, #64748b);
  text-align: left;
}
.sf-closing-flow li { margin-bottom: 4px; }
.sf-closing-warm {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border-color: #fcd34d;
  max-width: 36em;
  margin-left: auto;
  margin-right: auto;
}
.sf-closing-warm .sf-script-box__lbl { color: #b45309; }
.sf-closing-referral {
  margin: 14px auto 0;
  max-width: 36em;
  font-size: 13px;
  line-height: 1.55;
  color: var(--deck-muted);
  text-align: center;
  padding: 10px 14px;
  background: #f0fdf4;
  border: 1px dashed #86efac;
  border-radius: 10px;
}
.sf-closing-phone-note {
  text-align: center;
  font-size: 12px;
  color: var(--sf-muted, #64748b);
  margin: 10px auto 0;
  max-width: 30em;
  line-height: 1.55;
}
.sf-closing-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
}
.sf-closing-cta__primary {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 8px;
  background: var(--sf-green, #15803d);
  color: #fff !important;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(21, 128, 61, 0.3);
}
.sf-closing-cta__ghost {
  display: inline-block;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--sf-green, #15803d);
  text-decoration: none;
}
@keyframes sf-closing-breathe {
  0%, 100% { box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45); }
  50% { box-shadow: 0 24px 70px rgba(21, 128, 61, 0.35); }
}
@keyframes sf-cta-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

@media print {
  .sf-toolbar,
  .proposal-guide-player,
  .proposal-guide-welcome { display: none !important; }
  .sf-wrap { padding: 0; max-width: none; }
  body { background: #fff !important; }
  .sf-slide {
    page-break-after: always;
    box-shadow: none;
    margin: 0;
    max-width: none;
    aspect-ratio: auto;
    min-height: 190mm;
  }
}
