.start-resume {
  margin-top: 24px;
  display: flex;
  gap: 22px;
  align-items: center;
  justify-content: space-between;
}
.start-resume h2 {
  font-size: 19px;
  margin: 12px 0;
}
.start-resume p {
  font-size: 12px;
  color: var(--muted);
}
.contractor-progress {
  margin-bottom: 24px;
  scroll-margin-top: 18px;
}
.guide-toolbar {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin: 0 0 18px;
  font-size: 10px;
  color: #68786c;
  letter-spacing: 1px;
}
.guide-toolbar span {
  margin-right: auto;
}
.guide-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.guide-steps button {
  display: grid;
  grid-template-columns: 25px 1fr;
  gap: 5px 8px;
  text-align: left;
  border: 1px solid var(--line);
  background: white;
  border-radius: 5px;
  padding: 14px;
  color: var(--green);
  cursor: pointer;
}
.guide-steps button.selected {
  background: var(--green);
  color: white;
  border-color: var(--green);
}
.guide-steps button > span {
  grid-row: span 2;
  align-self: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  width: 23px;
  height: 23px;
  text-align: center;
  line-height: 21px;
  font-size: 10px;
}
.guide-steps strong {
  font-size: 11px;
}
.guide-steps small {
  font-size: 9px;
  opacity: 0.8;
}
.guided-layout {
  display: block;
  max-width: 950px;
}
.guided-layout .worksheet-entries {
  margin-top: 0;
}
.guide-actions {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  max-width: 950px;
  margin-top: 22px;
}
.guide-actions > span {
  font-size: 10px;
  color: var(--muted);
}
.guide-actions [hidden],
.guided-layout [hidden] {
  display: none !important;
}
.guided-company h2,
.guided-job h2 {
  margin: 16px 0 22px;
}
.needs-attention {
  border-color: #c6976c !important;
}
.guide-task-summary {
  padding: 20px;
  background: #f0f4e9;
  border-radius: 5px;
  margin: 22px 0;
}
.guide-task-summary p {
  font-size: 13px;
  line-height: 1.8;
}
.guide-task-summary small {
  font-size: 10px;
  color: #66765c;
}
.guide-entry-review {
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 18px;
  margin: 12px 0;
}
.guide-entry-review summary {
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
}
.guide-entry-review dt {
  font-size: 10px;
  font-weight: 600;
  margin-top: 15px;
  color: #66765c;
}
.guide-entry-review dd {
  margin: 6px 0;
  font-size: 12px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}
.guided-review > .notice {
  margin-top: 20px;
}
.guided-review h3 {
  margin-top: 25px;
}
.guided-review .notice ul {
  padding-left: 18px;
}
.guided-review .text-button {
  text-align: left;
  line-height: 1.6;
}
@media (max-width: 750px) {
  .start-resume {
    align-items: flex-start;
    flex-direction: column;
  }
  .guide-steps {
    grid-template-columns: 1fr 1fr;
  }
  .guide-steps button {
    padding: 12px;
  }
  .guide-actions {
    flex-wrap: wrap;
    gap: 15px;
  }
  .guide-actions > span {
    order: 3;
    width: 100%;
    text-align: center;
  }
  .guide-toolbar {
    gap: 12px;
  }
  .guide-toolbar span {
    width: 100%;
  }
  .guide-actions .button {
    font-size: 11px;
  }
}

.demo-notice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}
.demo-notice p {
  max-width: 650px;
  line-height: 1.7;
  font-size: 13px;
}
.demo-notice .button {
  flex-shrink: 0;
}
.demo-notice {
  border-left: 4px solid #a36520;
}
.demo-notice p {
  margin: 8px 0 0;
}
@media (max-width: 750px) {
  .demo-notice {
    align-items: stretch;
    flex-direction: column;
    gap: 16px;
  }
  .demo-notice .button {
    white-space: normal;
    text-align: center;
    min-height: 44px;
  }
}

.demo-scope summary {
  cursor: pointer;
  font-weight: 600;
  line-height: 1.6;
  min-height: 44px;
  display: list-item;
}
.demo-scope ol {
  padding-left: 22px;
  line-height: 1.8;
  font-size: 13px;
}
.demo-scope {
  margin-top: 16px;
}
.demo-scope li {
  margin-bottom: 6px;
}
/* Start here: primary actions, other field forms and planning tools. */
.start-today {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.start-today.start-primary {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.start-more-forms {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.start-tile {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px;
  min-width: 0;
}
.start-tile :is(h2, h3) {
  margin: 0;
  font-size: 22px;
}
.start-tile p {
  margin: 0;
  flex: 1;
}
.start-tile .button {
  align-self: flex-start;
  min-height: 48px;
}
.start-tile.is-primary {
  border-color: #24533b;
  box-shadow: inset 0 4px 0 #24533b;
}
.start-section {
  margin-top: 26px;
}
.start-section > h2 {
  margin: 0 0 10px;
  font-size: 20px;
}
.start-resume-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
}
.start-resume-list li {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
}
.start-resume-list li + li {
  border-top: 1px solid var(--line);
}
.start-resume-list li > div {
  display: grid;
  min-width: 0;
}
.start-resume-list span {
  color: #526854;
  font-size: 14px;
  overflow-wrap: anywhere;
}
.start-resume-list .button {
  flex-shrink: 0;
  min-height: 44px;
}
.start-plan {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.start-plan-group {
  min-width: 0;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface, #fff);
}
.start-plan-group h3 {
  margin: 0;
  font-size: 16px;
}
.start-plan-group .start-plan-link {
  width: 100%;
}
.start-plan-group .start-plan-link:last-child {
  border-bottom: 0;
}
.start-plan-link {
  display: grid;
  gap: 2px;
  min-height: 56px;
  padding: 10px 2px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.start-plan-link strong {
  color: #24533b;
  font-size: 15px;
}
.start-plan-link span {
  color: #526854;
  font-size: 13px;
}
.start-plan-link:hover strong {
  text-decoration: underline;
}
body.field-contrast .start-plan-link strong,
body.field-contrast .start-plan-link span,
body.field-contrast .start-resume-list span {
  color: #000;
}
@media (max-width: 1200px) {
  .start-today {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 23rem) {
  .start-today,
  .start-today.start-primary {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 600px) {
  .start-tile {
    padding: 12px;
  }
  .start-tile :is(h2, h3) {
    font-size: 17px;
  }
  .start-tile .button {
    align-self: stretch;
  }
  .start-plan {
    grid-template-columns: minmax(0, 1fr);
  }
}
.start-section.is-resume {
  margin: 0 0 24px;
}
@media (max-width: 850px) {
  .start-section.is-resume {
    margin-bottom: 16px;
  }
  .start-resume-list li + li {
    display: none;
  }
  .start-primary .start-tile p {
    font-size: 0.875rem;
    line-height: 1.4;
  }
}

/* Start page: a short title, then cards about using the app on site. */
.page-heading.start-heading {
  display: block;
  margin-bottom: 14px;
}
.start-heading h1 {
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.15;
  margin-bottom: 8px;
}
.page-heading.start-heading p {
  font-size: clamp(14px, 1.5vw, 16px);
}
/* Phones: secondary tiles become rows in one panel instead of half-width cards. */
@media (max-width: 600px) {
  .start-more-forms .start-today {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    overflow: hidden;
  }
  .start-more-forms .start-tile {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 12px;
    row-gap: 2px;
    align-items: center;
    margin: 0;
    padding: 12px 14px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
  .start-more-forms .start-tile + .start-tile {
    border-top: 1px solid var(--line);
  }
  .start-more-forms .start-tile :is(h2, h3) {
    grid-column: 1;
    font-size: 17px;
  }
  .start-more-forms .start-tile p {
    grid-column: 1;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.4;
  }
  .start-more-forms .start-tile .button {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
    min-height: 44px;
    padding-inline: 12px;
    white-space: nowrap;
  }
}
