/* Editorial product previews for Plan's four connected planning phases. */
.plan-page .plan-sample {
  display: flex;
  min-width: 0;
  min-height: 190px;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #d6e1d9;
  border-radius: 5px;
  background: #fbfbf6;
  box-shadow: 0 10px 24px rgb(24 61 59 / 7%);
  color: #183d3b;
}
.plan-page .plan-sample .plan-preview__top {
  min-height: 29px;
  flex: none;
  padding-inline: 9px;
  font-size: 6px;
}
.plan-page .plan-sample .plan-preview__top b { font-size: 5.5px; }

/* Phase 1 — simple, legible requirements with a real workplace detail. */
.plan-page .plan-sample__space {
  display: grid;
  min-height: 158px;
  flex: 1;
  grid-template-columns: minmax(0, 1fr) 43%;
  gap: 8px;
  padding: 8px;
}
.plan-page .plan-sample__space-data { display: flex; min-width: 0; flex-direction: column; }
.plan-page .plan-sample__headcount { display: flex; flex-direction: column; padding: 1px 0 6px 3px; }
.plan-page .plan-sample__headcount strong { color: #183d3b; font-size: 24px; font-weight: 600; letter-spacing: -1.2px; line-height: 1; }
.plan-page .plan-sample__headcount span { margin-top: 2px; color: #72827a; font-size: 7px; }
.plan-page .plan-sample__metric {
  display: grid;
  min-height: 29px;
  grid-template-columns: 14px minmax(0, 1fr) auto;
  align-items: center;
  gap: 4px;
  color: #526b63;
}
.plan-page .plan-sample__metric svg { width: 13px; height: 13px; fill: none; stroke: #476b62; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.3; }
.plan-page .plan-sample__metric > span { grid-column: 2 / 4; align-self: end; font-size: 6px; line-height: 1.1; }
.plan-page .plan-sample__metric > i { grid-column: 2; width: 100%; height: 5px; overflow: hidden; border-radius: 4px; background: #e8eee7; }
.plan-page .plan-sample__metric > i b { display: block; height: 100%; border-radius: inherit; background: #55ab98; }
.plan-page .plan-sample__metric > strong { grid-column: 3; grid-row: 2; color: #31574e; font-size: 7px; font-weight: 600; }
.plan-page .plan-sample__space-photo { width: 100%; height: 100%; min-height: 0; border-radius: 3px; object-fit: cover; object-position: 51% center; }

/* Phase 2 — an intentionally schematic, non-geographic commute illustration. */
.plan-page .plan-sample__commute { display: grid; min-height: 158px; flex: 1; grid-template-columns: minmax(0, 1fr) minmax(79px, 38%); }
.plan-page .plan-sample__map { position: relative; min-width: 0; overflow: hidden; background: #edf2e9; }
.plan-page .plan-sample__map svg { display: block; width: 100%; height: 100%; }
.plan-page .plan-sample__map-caption { position: absolute; bottom: 6px; left: 7px; padding: 3px 4px; border-radius: 2px; background: rgb(251 251 246 / 83%); color: #58766c; font-size: 5px; font-weight: 700; letter-spacing: .06em; }
.plan-page .plan-sample__city-list { display: flex; margin: 0; padding: 7px 6px; flex-direction: column; justify-content: space-around; list-style: none; }
.plan-page .plan-sample__city-list li { display: grid; min-width: 0; grid-template-columns: 6px minmax(0, 1fr); align-items: center; column-gap: 4px; color: #244b43; }
.plan-page .plan-sample__city-list li > span { overflow: hidden; font-size: 6px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.plan-page .plan-sample__city-list li > strong { grid-column: 2; color: #78877f; font-size: 6px; font-weight: 500; line-height: 1.1; }
.plan-page .plan-sample__city-list li > strong small { font-size: 5px; }
.plan-page .plan-sample__city-dot { grid-row: span 2; width: 5px; height: 5px; border-radius: 50%; }
.plan-page .plan-sample__city-dot--teal { background: #31a18c; }
.plan-page .plan-sample__city-dot--blue { background: #7cb1ca; }
.plan-page .plan-sample__city-dot--purple { background: #8578c2; }
.plan-page .plan-sample__city-dot--yellow { background: #dfb148; }

/* Phase 3 — sample local Cat A rate split with the component values exposed. */
.plan-page .plan-sample__cost-photo { display: block; width: calc(100% - 16px); height: 68px; flex: none; margin: 8px 8px 0; border-radius: 2px; object-fit: cover; object-position: center 55%; }
.plan-page .plan-sample__cost-summary { display: flex; margin: 6px 9px 0; flex-direction: column; color: #244b43; font-size: 7px; line-height: 1.2; }
.plan-page .plan-sample__cost-summary > strong { margin-top: 1px; color: #183d3b; font-size: 19px; font-weight: 650; letter-spacing: -.7px; line-height: 1; }
.plan-page .plan-sample__cost-summary small { color: #61756d; font-size: 6px; font-weight: 400; letter-spacing: 0; }
.plan-page .plan-sample__cost-strip { display: flex; height: 10px; flex: none; margin: 7px 8px 5px; overflow: hidden; border-radius: 3px; background: #e9eee8; }
.plan-page .plan-sample__cost-strip i:nth-child(1) { width: 63.1%; background: #298b7c; }
.plan-page .plan-sample__cost-strip i:nth-child(2) { width: 23.7%; background: #70b7a4; }
.plan-page .plan-sample__cost-strip i:nth-child(3) { width: 8.4%; background: #9dcbb7; }
.plan-page .plan-sample__cost-strip i:nth-child(4) { width: 4.8%; background: #d0dfb5; }
.plan-page .plan-sample__cost-legend { display: grid; margin: 0; padding: 0 8px 8px; grid-template-columns: 1.05fr .68fr 1fr 1.07fr; column-gap: 3px; list-style: none; }
.plan-page .plan-sample__cost-legend li { display: grid; min-width: 0; grid-template-columns: 5px minmax(0, 1fr); column-gap: 3px; align-content: start; color: #597168; font-size: 5px; line-height: 1.15; }
.plan-page .plan-sample__cost-legend li > i { width: 5px; height: 5px; margin-top: 1px; border-radius: 50%; background: #298b7c; }
.plan-page .plan-sample__cost-legend li:nth-child(2) > i { background: #70b7a4; }
.plan-page .plan-sample__cost-legend li:nth-child(3) > i { background: #9dcbb7; }
.plan-page .plan-sample__cost-legend li:nth-child(4) > i { background: #c5d8a8; }
.plan-page .plan-sample__cost-legend li strong { grid-column: 2; margin-top: 2px; color: #31574e; font-size: 5px; font-weight: 600; white-space: nowrap; }

/* Phase 4 — a tangible report stack followed by non-interactive contents. */
.plan-page .plan-sample__report-pages { position: relative; display: flex; height: 94px; flex: none; align-items: flex-start; justify-content: center; padding-top: 7px; overflow: hidden; background: linear-gradient(180deg, #f6f7f0, #fbfbf6); }
.plan-page .plan-sample__report-page { position: absolute; top: 9px; width: 78px; height: 78px; border: 1px solid #e1e8df; border-radius: 2px; background: #fffefa; box-shadow: 0 3px 8px rgb(24 61 59 / 9%); }
.plan-page .plan-sample__report-page--back { margin-left: 74px; transform: rotate(5deg); }
.plan-page .plan-sample__report-page--middle { margin-left: 42px; transform: rotate(2deg); }
.plan-page .plan-sample__report-page--front { z-index: 1; display: flex; width: 98px; margin-left: -22px; padding: 7px; flex-direction: column; transform: rotate(-1deg); }
.plan-page .plan-sample__report-page--back > span,
.plan-page .plan-sample__report-page--middle > span { display: block; width: 37px; height: 4px; margin: 9px 0 8px 7px; background: #dce8df; }
.plan-page .plan-sample__report-page--back > i,
.plan-page .plan-sample__report-page--middle > i { display: block; width: 40px; height: 32px; margin: 0 7px; background: linear-gradient(90deg, #eef2e9 24%, #fff 24% 30%, #d7e9df 30%); }
.plan-page .plan-sample__report-page--back > b,
.plan-page .plan-sample__report-page--middle > b { display: block; width: 45px; height: 3px; margin: 7px; background: #dce8df; }
.plan-page .plan-sample__report-brand { display: flex; align-items: baseline; color: #173f3c; font-size: 8px; font-weight: 700; letter-spacing: -.4px; }
.plan-page .plan-sample__report-brand i { color: #dbb948; font-style: normal; }
.plan-page .plan-sample__report-brand b { margin-left: auto; color: #6c8278; font-size: 5px; letter-spacing: .11em; }
.plan-page .plan-sample__report-page--front > strong { margin: 7px 0 4px; color: #234b43; font-size: 7px; line-height: 1.15; }
.plan-page .plan-sample__report-page--front > img { width: 100%; height: 27px; object-fit: cover; }
.plan-page .plan-sample__report-graphic { display: flex; height: 12px; align-items: end; gap: 3px; margin-top: 3px; }
.plan-page .plan-sample__report-graphic i { width: 5px; height: 5px; background: #73b7a4; }
.plan-page .plan-sample__report-graphic i:nth-child(2) { height: 8px; }
.plan-page .plan-sample__report-graphic i:nth-child(3) { height: 11px; }
.plan-page .plan-sample__report-graphic i:nth-child(4) { height: 7px; }
.plan-page .plan-sample__report-graphic i:nth-child(5) { height: 9px; }
.plan-page .plan-sample__report-page-no { margin-top: auto; color: #85958c; font-size: 4px; text-align: right; }
.plan-page .plan-sample__report-list { display: grid; margin: 0; padding: 0 8px 6px; list-style: none; }
.plan-page .plan-sample__report-list li { display: grid; min-height: 20px; grid-template-columns: 13px minmax(0, 1fr) 9px; align-items: center; gap: 5px; border-top: 1px solid #e8ede6; color: #45645a; font-size: 6px; line-height: 1.1; }
.plan-page .plan-sample__report-list svg { width: 11px; height: 11px; fill: none; stroke: #45776b; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.2; }
.plan-page .plan-sample__report-list li > i { color: #6b857b; font-size: 12px; font-style: normal; text-align: right; }

@media (min-width: 981px) {
  .plan-page .plan-guide__steps > .ml-guide__step { display: flex; flex-direction: column; }
  .plan-page .plan-guide__steps .plan-sample { width: 100%; min-height: 190px; margin-top: auto; }
}
@media (max-width: 980px) {
  .plan-page .plan-sample { min-height: 190px; }
}
@media (max-width: 700px) {
  .plan-page .plan-sample { min-height: 202px; }
  .plan-page .plan-sample__space { min-height: 170px; grid-template-columns: minmax(0, 1fr) 40%; gap: 6px; padding: 7px; }
  .plan-page .plan-sample__headcount strong { font-size: 22px; }
  .plan-page .plan-sample__metric { grid-template-columns: 12px minmax(0, 1fr) auto; gap: 3px; }
  .plan-page .plan-sample__metric svg { width: 11px; height: 11px; }
  .plan-page .plan-sample__metric > span { font-size: 5.5px; }
  .plan-page .plan-sample__commute { min-height: 170px; grid-template-columns: minmax(0, 1fr) minmax(72px, 40%); }
  .plan-page .plan-sample__city-list { padding-inline: 4px; }
  .plan-page .plan-sample__city-list li { column-gap: 3px; }
  .plan-page .plan-sample__city-list li > span { font-size: 5.5px; }
  .plan-page .plan-sample__cost-photo { height: 70px; }
  .plan-page .plan-sample__cost-legend { column-gap: 2px; padding-inline: 6px; }
  .plan-page .plan-sample__cost-legend li { grid-template-columns: 4px minmax(0, 1fr); column-gap: 2px; font-size: 4.7px; }
  .plan-page .plan-sample__cost-legend li > i { width: 4px; height: 4px; }
  .plan-page .plan-sample__cost-legend li strong { font-size: 4.7px; }
  .plan-page .plan-sample__report-pages { height: 91px; }
  .plan-page .plan-sample__report-list { padding-inline: 6px; }
  .plan-page .plan-sample__report-list li { min-height: 22px; grid-template-columns: 11px minmax(0, 1fr) 7px; gap: 3px; font-size: 5.5px; }
  .plan-page .plan-sample__report-list svg { width: 10px; height: 10px; }
}
@media (max-width: 390px) {
  .plan-page .plan-sample { min-height: 204px; }
  .plan-page .plan-sample .plan-preview__top { padding-inline: 6px; font-size: 5.4px; }
  .plan-page .plan-sample .plan-preview__top b { font-size: 4.8px; }
  .plan-page .plan-sample__space { grid-template-columns: minmax(0, 1fr) 37%; padding-inline: 5px; }
  .plan-page .plan-sample__metric > span { font-size: 5px; }
  .plan-page .plan-sample__commute { grid-template-columns: minmax(0, 1fr) 69px; }
  .plan-page .plan-sample__city-list li > span,
  .plan-page .plan-sample__city-list li > strong { font-size: 5px; }
  .plan-page .plan-sample__cost-summary { margin-inline: 7px; }
  .plan-page .plan-sample__cost-summary > strong { font-size: 17px; }
  .plan-page .plan-sample__cost-legend { padding-inline: 5px; }
  .plan-page .plan-sample__report-page--front { width: 88px; }
  .plan-page .plan-sample__report-page { width: 70px; }
  .plan-page .plan-sample__report-page--back { margin-left: 66px; }
  .plan-page .plan-sample__report-page--middle { margin-left: 38px; }
}
