/* Three primary tasks, followed by a compact directory and crawlable disclosures. */
.home .plan-fit .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.home .tool-marker {
  font:
    500 10px/1.5 "IBM Plex Mono",
    monospace;
  color: #406556;
  letter-spacing: 1.1px;
  margin: 0 0 10px;
}
.home .primary-tool {
  scroll-margin-top: 95px;
}
.home .plan-fit {
  margin: 32px 0 26px;
  padding: 18px;
  border: 1px solid #ceded6;
  border-radius: 12px;
  background: #fff;
}
.home .tool-heading h2 {
  font: 650 24px/1.3 var(--font-display);
  letter-spacing: -0.7px;
  margin: 0 0 7px;
}
.home .tool-heading > div > p:last-child {
  color: #4e665b;
  font-size: 13px;
  margin: 0 0 18px;
}
.home .tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  border-bottom: 1px solid #d5e2da;
  margin-bottom: 10px;
  padding-bottom: 7px;
}
.home .tab-list button {
  font: 550 12px/1.4 var(--font-ui);
  color: #385c4b;
  background: #f4f8f5;
  border: 1px solid transparent;
  border-radius: 5px;
  min-height: 32px;
  padding: 8px 15px;
  cursor: pointer;
}
.home .tab-list button[aria-selected="true"] {
  color: #fff;
  background: #1c5640;
}
.home .plan-fit [hidden],
.home .tool-directory [hidden] {
  display: none !important;
}
.home .plan-fit-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  gap: 26px;
  align-items: start;
}
.home .plan-fit form,
.home .plan-fit fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.home .plan-select-row,
.home .plan-submit-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-items: end;
}
.home .plan-fit label {
  font: 550 12px/1.4 var(--font-ui);
  display: block;
  color: #294b3c;
}
.home .plan-fit select {
  width: 100%;
  min-width: 0;
  margin-top: 7px;
  padding: 9px 10px;
  border: 1px solid #bfd2c7;
  border-radius: 5px;
  background: #fff;
  color: #203d31;
  font: 400 13px/1.4 var(--font-ui);
  min-height: 40px;
}
.home .plan-fit .plan-options {
  margin: 10px 0;
}
.home .plan-options legend {
  font: 600 12px/1.4 var(--font-ui);
  margin-bottom: 7px;
}
.home .plan-options legend span {
  font-weight: 400;
  font-size: 10px;
  color: #586d63;
  margin-left: 8px;
}
.home .plan-options > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}
.home .plan-options:nth-of-type(2) > div {
  grid-template-columns: 1fr 1fr;
}
.home .plan-options label {
  display: flex;
  align-items: center;
  gap: 7px;
  border: 1px solid #d8e3dc;
  background: #f9fbfa;
  border-radius: 5px;
  padding: 7px;
  min-height: 32px;
  font-size: 11px;
  font-weight: 400;
  cursor: pointer;
}
.home .plan-options label:has(input:checked) {
  background: #eaf6ef;
  border-color: #337b58;
}
.home .plan-options input {
  appearance: auto;
  width: 15px;
  height: 15px;
  flex: none;
  accent-color: #195b40;
  margin: 0;
}
.home .plan-helper {
  font: 400 10px/1.5 var(--font-ui);
  color: #52695d;
  margin: 7px 0 0;
}
.home .plan-submit {
  width: 100%;
  min-height: 40px;
  padding: 10px;
  background: #18503b;
  color: #fff;
  border: 1px solid #18503b;
  border-radius: 5px;
  font: 550 12px/1.4 var(--font-ui);
  cursor: pointer;
}
.home #fitError {
  color: #963d20;
  font-size: 12px;
  margin-top: 8px;
}
.home .plan-result {
  background: #f0f7f3;
  border: 1px solid #d0e1d6;
  border-radius: 8px;
  padding: 14px;
  min-width: 0;
}
.home .plan-result > .panel-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.home #fitPressure {
  font: 650 11px/1.5 var(--font-ui);
  padding: 3px 8px;
  border-radius: 3px;
  background: #fff;
  color: #345a45;
}
.home #fitPressure[data-pressure="high"],
.home #fitPressure[data-pressure="review"] {
  color: #8c4717;
  background: #fff1df;
}
.home #fitPressure[data-pressure="medium"] {
  color: #785114;
  background: #fcf5df;
}
.home .plan-result h3 {
  font: 650 27px/1.3 var(--font-display);
  letter-spacing: -0.6px;
  margin: 3px 0 5px;
}
.home #fitEmpty {
  padding: 26px 0;
}
.home #fitEmpty h3 {
  font-size: 22px;
}
.home #fitEmpty p {
  color: #50675a;
  font-size: 13px;
  max-width: 340px;
}
.home .fit-current {
  font: 500 10px/1.5 var(--font-ui);
  color: #52695d;
  margin: 8px 0 6px;
}
.home .fit-current span {
  margin-left: 10px;
  font-size: 12px;
  font-weight: 600;
  color: #274d3a;
}
.home .fit-price {
  font-size: 11px;
  color: #50685c;
  margin: 0 0 10px;
}
.home .plan-result ul {
  margin: 5px 0 8px;
  padding-left: 17px;
  font-size: 11px;
  line-height: 1.45;
}
.home .plan-result li + li {
  margin-top: 4px;
}
.home .fit-caveats {
  font-size: 11px;
  line-height: 1.6;
}
.home .fit-caveats summary {
  cursor: pointer;
}
.home #fitCaveats p {
  margin-top: 7px;
}
.home #fitSources {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 12px;
  margin-top: 8px;
}
.home .fit-radar-link {
  display: inline-block;
  font-size: 11px;
  margin-top: 8px;
}
.home .plan-disclaimer {
  color: #53685d;
  font-size: 10px;
  margin-top: 12px;
}
.home .plan-method {
  margin-top: 9px;
  color: #496455;
  font-size: 11px;
  line-height: 1.65;
}
.home .plan-method summary {
  cursor: pointer;
}
.home .plan-method p {
  margin-top: 10px;
}
.home .api-equivalent {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  font-size: 13px;
  line-height: 1.7;
}
.home .api-equivalent > div {
  padding: 20px;
  background: #f1f7f3;
  border-radius: 8px;
  min-width: 0;
}
.home .api-equivalent h3 {
  font: 650 28px/1.4 var(--font-display);
  overflow-wrap: anywhere;
}
.home .api-equivalent p {
  margin-bottom: 10px;
}
.home .cost-stack {
  display: flex;
  height: 7px;
  border-radius: 3px;
  overflow: hidden;
  margin: 12px 0 10px;
}
.home .cost-stack:empty {
  display: none;
}
.home .cost-stack span {
  height: 100%;
  background: #316c55;
}
.home .cost-stack [data-driver="inputCost"] {
  background: #65a58a;
}
.home .cost-stack [data-driver="cachedReadCost"] {
  background: #a8caba;
}
.home .cost-stack [data-driver="cacheWriteCost"] {
  background: #8d826b;
}
.home .cost-driver {
  padding-bottom: 0;
  margin-bottom: 5px;
}
.home .cost-driver i {
  display: none;
}
.home .tool-directory {
  padding: 20px 0 0;
}
.home .tool-directory h2 {
  margin-bottom: 14px;
}
.home .tool-directory .tab-list {
  margin-bottom: 12px;
}
.home .tool-directory .more-tools-grid a {
  grid-template-columns: minmax(0, 1fr) 14px;
}
.home .tool-directory .more-tools-grid small {
  grid-column: 1/-1;
}
.home .tool-directory [data-tab-panel] {
  scroll-margin-top: 90px;
}
.home #pricing .pricing-disclosure {
  background: #fff;
  padding: 12px 16px;
}
.home #pricing .pricing-disclosure > summary {
  cursor: pointer;
  font-size: 12px;
}
.home #pricing .pricing-disclosure > summary h2 {
  display: inline;
  font: 600 14px/1.4 var(--font-display);
}
.home #pricing .current-model-cards {
  margin-top: 14px;
}
.home #global-prices {
  padding-block: 20px;
}
.home #global-prices .radar-top {
  margin-block: 10px;
}
.home :is(.plan-fit, .tool-directory) a {
  color: #18573e;
  text-underline-offset: 3px;
}
@media (max-width: 1000px) {
  .home .plan-fit-grid {
    gap: 18px;
    grid-template-columns: 1fr 1fr;
  }
  .home .plan-options > div {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 760px) {
  .home .primary-tool {
    scroll-margin-top: 18px;
  }
  .home .plan-fit {
    padding: 18px 14px;
    margin-block: 24px;
  }
  .home .tool-heading h2 {
    font-size: 22px;
  }
  .home .plan-fit-grid,
  .home .api-equivalent {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .home .plan-result {
    padding: 17px;
  }
  .home .plan-select-row,
  .home .plan-submit-row {
    gap: 10px;
  }
  .home .plan-options > div {
    grid-template-columns: 1fr 1fr;
  }
  .home .plan-options label {
    font-size: 11px;
    min-height: 43px;
  }
  .home .tab-list button {
    padding-inline: 10px;
    font-size: 11px;
  }
  .home .tool-directory .more-tools-grid {
    grid-template-columns: 1fr 1fr;
  }
  .home .tool-directory .more-tools-grid a {
    min-height: 93px;
  }
  .home #global-prices {
    padding: 16px 13px;
  }
}
@media (max-width: 360px) {
  .home .plan-select-row,
  .home .plan-submit-row {
    grid-template-columns: 1fr;
  }
  .home .tool-directory .tab-list {
    gap: 4px;
  }
  .home .tool-directory .tab-list button {
    font-size: 10px;
    padding-inline: 7px;
  }
}

@media (min-width: 761px) {
  .home .tool-heading > div {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 14px;
    align-items: baseline;
  }
  .home .tool-heading .tool-marker {
    margin-bottom: 0;
  }
  .home .tool-heading > div > p:last-child {
    grid-column: 1 / -1;
    margin-bottom: 6px;
  }
  .home .plan-options legend {
    line-height: 1.2;
  }
}

/* Tool 02 revision: all overrides stay inside the Plan Fit namespace. */
.home .plan-fit {
  padding: 16px 18px;
}
.home .plan-fit .tool-heading > div {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 12px;
  align-items: baseline;
}
.home .plan-fit .tool-heading h2 {
  font-size: 23px;
  margin: 0;
}
.home .plan-fit .tool-heading > div > p:last-child {
  margin: 0 0 8px;
  width: 100%;
  font-size: 12px;
}
.home .plan-fit .tab-list {
  margin-bottom: 12px;
  padding-bottom: 6px;
}
.home .plan-fit .tab-list button {
  padding: 5px 12px;
  min-height: 32px;
}
.home .plan-fit .plan-fit-grid {
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 24px;
}
.home .plan-fit .fit-stage {
  margin: 0 0 12px;
}
.home .plan-fit .fit-stage > legend {
  font: 600 11px/1.4 var(--font-ui);
  margin: 0 0 7px;
  width: 100%;
  color: #284b3b;
}
.home .plan-fit .fit-number {
  font: 500 10px var(--font-ui);
  color: #456758;
  margin-right: 8px;
}
.home .plan-fit .fit-stage > legend small {
  font-weight: 400;
  margin-left: 7px;
  color: #4e665b;
  font-size: 11px;
}
.home .plan-fit .fit-choices {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.home .plan-fit .fit-choices label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  position: relative;
  border: 1px solid #c8d9ce;
  border-radius: 5px;
  padding: 7px 9px;
  min-height: 36px;
  font: 400 12px/1.3 var(--font-ui);
  cursor: pointer;
  background: #fff;
  color: #294b3c;
}
.home .plan-fit .fit-choices label:has(input:checked) {
  background: #1c5640;
  color: #fff;
  border-color: #1c5640;
}
.home .plan-fit .fit-choices label:has(input:focus-visible) {
  outline: 3px solid #bd681b;
  outline-offset: 3px;
}
.home .plan-fit .fit-choices input {
  appearance: auto;
  accent-color: #164f38;
  width: 13px;
  height: 13px;
  margin: 0;
  flex: none;
}
.home .plan-fit .fit-choices input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.home .plan-fit .fit-uses {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.home .plan-fit .fit-uses label {
  padding-inline: 6px;
}
.home .plan-fit .fit-time > legend {
  font: 400 12px/1.4 var(--font-ui);
  margin-bottom: 6px;
}
.home .plan-fit .fit-times {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}
.home .plan-fit .fit-times label {
  padding-inline: 3px;
}
.home .plan-fit .fit-week-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 7px;
}
.home .plan-fit .fit-week {
  display: flex;
  align-items: center;
  gap: 8px;
}
.home .plan-fit .fit-week > legend {
  float: left;
  font: 400 11px/1.4 var(--font-ui);
  padding: 7px 8px 0 0;
}
.home .plan-fit .fit-week .fit-choices label {
  min-height: 28px;
  font-size: 11px;
  padding: 5px 9px;
}
.home .plan-fit #fitWeekly {
  font: 500 11px/1.4 var(--font-ui);
  color: #28583f;
  margin: 0;
}
.home .plan-fit .plan-helper {
  font-size: 11px;
  line-height: 1.4;
  margin-top: 5px;
}
.home .plan-fit .fit-preferences label {
  flex: 1;
}
.home .plan-fit .fit-needs {
  font: 400 12px/1.5 var(--font-ui);
  color: #294b3c;
}
.home .plan-fit .fit-needs summary {
  cursor: pointer;
  min-height: 24px;
  width: fit-content;
}
.home .plan-fit .fit-needs summary span {
  margin-left: 5px;
}
.home .plan-fit .fit-needs[open] > .fit-choices {
  margin-top: 8px;
}
.home .plan-fit .plan-result {
  padding: 12px 14px;
  background: #f3f8f5;
  border: 0;
  border-left: 2px solid #aecfbe;
  border-radius: 0;
}
.home .plan-fit .plan-result > .panel-label {
  margin-bottom: 8px;
}
.home .plan-fit #fitBestLabel {
  font-size: 10px;
  margin: 0 0 3px;
  letter-spacing: 0.6px;
}
.home .plan-fit .fit-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  margin-bottom: 9px;
}
.home .plan-fit .plan-result h3 {
  font-size: 25px;
  line-height: 1.2;
  margin: 0;
}
.home .plan-fit .fit-price {
  font-size: 11px;
  margin: 0;
}
.home .plan-fit .fit-caption {
  font: 600 12px/1.3 var(--font-ui);
  margin: 0;
}
.home .plan-fit .plan-result ul {
  font-size: 12px;
  line-height: 1.4;
  margin: 5px 0 10px;
  padding-left: 16px;
}
.home .plan-fit .plan-result li + li {
  margin-top: 3px;
}
.home .plan-fit .fit-radar-link {
  margin-top: 7px;
  font-size: 11px;
}
.home .plan-fit #fitEmpty {
  padding: 35px 0;
}
.home .plan-fit #fitEmpty h3 {
  font-size: 23px;
  max-width: 250px;
}
.home .plan-fit #fitEmpty p {
  font-size: 13px;
  line-height: 1.6;
  margin: 12px 0 0;
}
.home .plan-fit .fit-feedback {
  margin-top: 9px;
  font: 400 11px/1.4 var(--font-ui);
  color: #294b3c;
}
.home .plan-fit .fit-feedback summary {
  cursor: pointer;
  min-height: 24px;
}
.home .plan-fit .fit-feedback summary span {
  color: #506a5b;
  margin-left: 6px;
}
.home .plan-fit .fit-feedback fieldset {
  margin-top: 7px;
}
.home .plan-fit .fit-feedback .fit-choices label {
  min-height: 34px;
}
.home .plan-fit .plan-disclaimer {
  font-size: 11px;
  line-height: 1.4;
  margin-top: 10px;
}
.home .plan-fit .plan-method {
  margin-top: 5px;
  font-size: 11px;
}
.home .plan-fit #fitSources,
.home .plan-fit #fitMethodSources {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 12px;
}
.home .plan-fit #fitPressure[data-pressure="very-high"],
.home .plan-fit #fitPressure[data-pressure="review"] {
  color: #85421a;
  background: #fff0dd;
}
.home .plan-fit #fitPressure[data-pressure="moderate"] {
  color: #694716;
  background: #fff1d5;
}
@media (max-width: 1100px) {
  .home .plan-fit .plan-fit-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .home .plan-fit .fit-output {
    max-width: none;
  }
  .home .plan-fit .plan-result {
    padding: 15px 18px;
  }
}
@media (max-width: 760px) {
  .home .plan-fit {
    padding: 16px 14px;
  }
  .home .plan-fit .fit-uses {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .home .plan-fit .fit-times {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .home .plan-fit .fit-choices label,
  .home .plan-fit .fit-week .fit-choices label,
  .home .plan-fit .fit-feedback .fit-choices label {
    min-height: 44px;
  }
  .home .plan-fit .fit-week-row {
    flex-wrap: wrap;
    gap: 6px 12px;
  }
  .home .plan-fit .fit-preferences {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .home .plan-fit .fit-preferences label {
    padding-inline: 4px;
  }
  .home .plan-fit .fit-stage {
    margin-bottom: 17px;
  }
  .home .plan-fit .fit-stage > legend small {
    display: block;
    margin: 4px 0 0 25px;
  }
  .home .plan-fit .fit-needs summary,
  .home .plan-fit .fit-feedback summary {
    min-height: 36px;
    padding-block: 8px;
  }
  .home .plan-fit .tab-list button {
    min-height: 40px;
  }
  .home .plan-fit .plan-result {
    padding: 14px;
  }
}
.home .plan-fit #fitError:empty {
  display: none;
}
@media (min-width: 1101px) {
  .home .plan-fit {
    padding-block: 14px;
  }
  .home .plan-fit .tool-heading {
    margin-bottom: 8px;
  }
  .home .plan-fit .tool-heading > div > p:last-child {
    width: auto;
    flex: 1;
    text-align: right;
    margin: 0;
  }
  .home .plan-fit .tab-list {
    margin-bottom: 8px;
  }
  .home .plan-fit .fit-feedback {
    margin-top: 5px;
  }
}
@media (max-width: 760px) {
  .home .plan-fit .fit-uses {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .home .plan-fit .fit-stage {
    margin-bottom: 13px;
  }
}
/* Preserve the approved display / UI / numeric type hierarchy. */
.home {
  --font-data: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}
