.intent-page {
  max-width: 1320px;
  margin: auto;
  padding: 24px 32px 80px;
  color: #213d31;
}
.intent-breadcrumb {
  font-size: 13px;
  margin: 8px 0 28px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.intent-hero {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 56px;
  background: #193f32;
  color: #f8faef;
  border-radius: 28px;
  padding: 64px 48px;
  align-items: center;
}
.intent-eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.intent-hero h1 {
  font-size: clamp(30px, 3.5vw, 48px);
  line-height: 1.55;
  letter-spacing: -0.04em;
  margin: 24px 0;
}
.intent-intro {
  font-size: 16px;
  line-height: 2;
  max-width: 38em;
}
.intent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.intent-hero .button.primary,
.intent-cta .button.primary {
  background: #d9ecac;
  color: #193f32;
  border-color: #d9ecac;
}
.intent-hero .button:not(.primary) {
  color: #fff;
  border: 1px solid #86a496;
  background: transparent;
}
.intent-note {
  font-size: 12px;
  line-height: 1.9;
  margin-top: 20px;
  color: #d6e3d7;
}
.intent-visual {
  background: #f6f7ef;
  color: #213d31;
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 20px 50px #09261933;
}
.intent-visual-row {
  display: flex;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid #dce2d5;
  align-items: start;
}
.intent-number {
  font-size: 12px;
  letter-spacing: 0.08em;
  background: #e0e8d5;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #244e3c;
}
.intent-visual-row strong {
  font-size: 17px;
}
.intent-visual-row p {
  font-size: 14px;
  margin: 8px 0 0;
  line-height: 1.8;
}
.intent-visual-foot {
  font-size: 12px;
  line-height: 1.8;
  margin: 22px 0 0;
}
.intent-detail {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 70px;
  padding: 88px 24px;
}
.intent-page h2 {
  font-size: clamp(24px, 2.5vw, 32px);
  line-height: 1.6;
  letter-spacing: -0.025em;
}
.intent-article {
  padding: 0 0 28px;
  margin-bottom: 28px;
  border-bottom: 1px solid #dce2d5;
}
.intent-article:last-child {
  margin-bottom: 0;
}
.intent-article h3 {
  font-size: 20px;
  margin: 0 0 12px;
}
.intent-article p,
.intent-steps p,
.intent-faq p {
  font-size: 15px;
  line-height: 2;
  margin: 0;
  color: #455b50;
}
.intent-workflow {
  background: #edf1e6;
  border-radius: 24px;
  padding: 40px;
}
.intent-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  list-style: none;
  padding: 20px 0;
  margin: 0 0 24px;
}
.intent-steps h3 {
  font-size: 19px;
  margin: 16px 0 10px;
}
.intent-faq {
  max-width: 820px;
  margin: 80px auto;
}
.intent-faq details {
  border-bottom: 1px solid #d5dfd4;
  padding: 22px 0;
}
.intent-faq summary {
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  line-height: 1.7;
}
.intent-faq details p {
  padding: 16px 0 0;
}
.intent-faq > p {
  margin-top: 24px;
}
.intent-related {
  padding: 0 24px 56px;
}
.intent-related > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.intent-related a {
  padding: 24px;
  border: 1px solid #cad9cb;
  border-radius: 12px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-weight: 700;
}
.intent-cta {
  background: #193f32;
  color: #fff;
  border-radius: 24px;
  text-align: center;
  padding: 48px 24px;
}
.intent-cta p {
  line-height: 1.8;
}
.intent-cta > a {
  display: inline-flex;
  margin: 12px;
  color: #fff;
}
.intent-page a:focus-visible,
.intent-page summary:focus-visible {
  outline: 3px solid #a6bf63;
  outline-offset: 5px;
}
.intent-related a:hover {
  background: #edf1e6;
}
@media (max-width: 950px) {
  .intent-hero {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px;
  }
  .intent-detail {
    gap: 32px;
    grid-template-columns: 1fr;
    padding: 56px 8px;
  }
  .intent-steps {
    gap: 20px;
  }
}
@media (max-width: 600px) {
  .intent-page {
    padding: 12px 16px 40px;
  }
  .intent-hero {
    padding: 28px 22px;
    border-radius: 20px;
  }
  .intent-hero h1 {
    font-size: 30px;
  }
  .intent-visual {
    padding: 20px;
  }
  .intent-steps,
  .intent-related > div {
    grid-template-columns: 1fr;
  }
  .intent-workflow {
    padding: 28px 22px;
  }
  .intent-faq {
    margin: 48px 8px;
  }
  .intent-related {
    padding: 0 8px 40px;
  }
  .intent-actions .button {
    width: 100%;
    justify-content: center;
  }
  .intent-cta {
    padding: 28px 16px;
  }
  .intent-cta > a {
    margin: 10px 0;
  }
  .intent-breadcrumb {
    font-size: 12px;
    gap: 8px;
  }
}
/* Editorial layout: useful comparisons, local checklists, and an intent directory. */
.intent-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  padding: 26px 12px;
  border-bottom: 1px solid #d9e2d5;
  font-size: 14px;
}
.intent-toc > span {
  font-weight: 700;
  margin-right: auto;
}
.intent-toc a {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.intent-example {
  padding: 52px 24px 0;
}
.intent-example h2 {
  margin: 12px 0 24px;
}
.intent-table-wrap {
  overflow-x: auto;
  border: 1px solid #d2decf;
  border-radius: 14px;
  background: #fff;
}
.intent-table-wrap table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.8;
  min-width: 520px;
}
.intent-table-wrap caption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.intent-table-wrap th,
.intent-table-wrap td {
  text-align: left;
  padding: 20px;
  border-bottom: 1px solid #e0e7dc;
  white-space: normal;
}
.intent-table-wrap thead th {
  background: #e9efdf;
  font-weight: 700;
}
.intent-table-wrap tbody th {
  width: 30%;
  font-weight: 600;
}
.intent-table-wrap tr:last-child > * {
  border-bottom: 0;
}
.intent-table-note,
.intent-reviewed {
  font-size: 13px;
  line-height: 1.9;
  color: #54675b;
}
.intent-table-note {
  margin-top: 16px;
}
.intent-reviewed {
  margin-top: 28px;
}
.intent-check {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 48px;
  margin: 64px 0;
  background: #fff;
  border: 1px solid #dce4d8;
  border-radius: 24px;
  padding: 40px;
}
.intent-check p {
  font-size: 14px;
  line-height: 1.9;
  color: #516657;
}
.intent-check-items {
  display: grid;
  align-content: start;
  gap: 8px;
}
.intent-check-items label {
  display: flex;
  flex-direction: row;
  margin: 0;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  border-bottom: 1px solid #edf0e9;
  font-size: 15px;
  line-height: 1.8;
  cursor: pointer;
}
.intent-check input {
  width: 20px;
  height: 20px;
  min-width: 20px;
  margin-top: 4px;
  flex: 0 0 20px;
  padding: 0;
  accent-color: #244e3c;
}
.intent-check label:has(input:checked) {
  background: #edf3e5;
}
.intent-resource {
  max-width: 850px;
  margin: 64px auto;
  padding: 32px;
  background: #edf1e6;
  border-radius: 20px;
}
.intent-resource p {
  font-size: 14px;
  line-height: 1.9;
}
.intent-resource label {
  display: block;
  font-weight: 700;
  margin: 22px 0 10px;
}
.intent-resource textarea {
  display: block;
  width: 100%;
  box-sizing: border-box;
  min-height: 280px;
  background: #fff;
  color: #213d31;
  border: 1px solid #bbccba;
  border-radius: 12px;
  padding: 18px;
  font: inherit;
  font-size: 14px;
  line-height: 1.9;
  resize: vertical;
  margin-bottom: 20px;
}
.intent-visual-row {
  position: relative;
}
.intent-visual-row:not(:last-of-type):after {
  content: '';
  position: absolute;
  left: 17px;
  top: 62px;
  bottom: 2px;
  width: 1px;
  background: #c3d2b7;
}
.intent-restaurant-shift .intent-hero,
.intent-retail-shift .intent-hero {
  background: #314736;
}
.intent-excel-shift .intent-hero,
.intent-shift-sharing .intent-hero {
  background: #23464b;
}
.intent-ng-pairs .intent-hero,
.intent-shift-shortage .intent-hero {
  background: #3b4434;
}
.guide-heading {
  padding: 48px 24px 52px;
  max-width: 900px;
}
.guide-heading h1 {
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.4;
  letter-spacing: -0.045em;
  margin: 22px 0;
}
.guide-heading > p:not(.intent-eyebrow) {
  font-size: 17px;
  line-height: 2;
}
.guide-promise {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 8px;
  background: #e4ecd8;
  font-size: 13px;
  margin-top: 16px;
  line-height: 1.9;
}
.guide-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  border-top: 1px solid #d1ddcc;
  border-bottom: 1px solid #d1ddcc;
  padding: 20px 24px;
}
.guide-jump a {
  padding: 12px 18px;
  border: 1px solid #c3d3be;
  border-radius: 50px;
  font-size: 14px;
  background: #fff;
}
.guide-group {
  padding: 48px 24px 0;
  scroll-margin-top: 24px;
}
.guide-group-heading {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-bottom: 22px;
}
.guide-group-heading h2 {
  margin: 0;
}
.guide-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.guide-card {
  display: flex;
  flex-direction: column;
  position: relative;
  padding: 28px;
  border: 1px solid #d0ddc9;
  background: #fff;
  border-radius: 18px;
  text-decoration: none;
  color: #213d31;
  transition:
    box-shadow 0.18s,
    border-color 0.18s;
}
.guide-card-topic {
  font-size: 12px;
  color: #60735b;
}
.guide-card h3 {
  font-size: 23px;
  line-height: 1.6;
  margin: 18px 0 12px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.guide-card p {
  font-size: 14px;
  line-height: 1.9;
  color: #52644d;
  margin: 0 0 24px;
}
.guide-card-bottom {
  font-size: 13px;
  font-weight: 700;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid #e5ebdf;
}
.guide-card:hover {
  border-color: #739067;
  box-shadow: 0 8px 28px #17382912;
}
.guide-start {
  margin: 64px 24px 0;
  background: #e8eedd;
  border-radius: 22px;
  padding: 40px;
}
.guide-start p {
  line-height: 1.9;
  max-width: 46em;
}
.guide-start a {
  display: inline-flex;
  margin: 12px 18px 0 0;
}
.intent-related > div {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.intent-related a {
  line-height: 1.8;
}
.intent-page [id] {
  scroll-margin-top: 24px;
}
.intent-hero .button:hover {
  filter: brightness(1.08);
}
@media (max-width: 750px) {
  .intent-check {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 24px;
  }
  .guide-cards {
    grid-template-columns: 1fr;
  }
  .guide-group,
  .guide-heading {
    padding-left: 4px;
    padding-right: 4px;
  }
  .guide-jump {
    padding: 18px 0;
  }
  .guide-start {
    margin: 40px 0 0;
    padding: 24px;
  }
  .intent-example {
    padding: 32px 0 0;
  }
  .intent-detail {
    padding-top: 40px;
  }
  .intent-resource {
    padding: 24px 18px;
  }
  .intent-related > div {
    grid-template-columns: 1fr;
  }
  .intent-toc {
    font-size: 13px;
    gap: 16px;
  }
  .intent-toc > span {
    flex-basis: 100%;
  }
  .intent-table-wrap th,
  .intent-table-wrap td {
    padding: 14px;
  }
  .guide-card h3 {
    font-size: 21px;
  }
  .intent-resource textarea {
    font-size: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .guide-card {
    transition: none;
  }
}
@media print {
  .site-header,
  .site-footer,
  .intent-actions,
  .intent-toc,
  .intent-related,
  .intent-cta,
  .intent-check button,
  .intent-resource button,
  #toast {
    display: none !important;
  }
  .intent-page {
    max-width: none;
    padding: 0;
    color: #000;
  }
  .intent-hero {
    display: block;
    background: #fff !important;
    color: #000;
    padding: 0;
    border-radius: 0;
  }
  .intent-hero h1 {
    font-size: 26px;
  }
  .intent-visual {
    display: none;
  }
  .intent-note {
    color: #333;
  }
  .intent-detail {
    display: block;
    padding: 16px 0;
  }
  .intent-section-heading {
    margin-bottom: 20px;
  }
  .intent-article {
    break-inside: avoid;
  }
  .intent-check {
    margin: 20px 0;
    padding: 16px;
    display: block;
  }
  .intent-check-items {
    gap: 0;
  }
  .intent-check-items label {
    padding: 8px;
  }
  .intent-workflow {
    padding: 16px;
  }
  .intent-faq {
    margin: 24px 0;
    max-width: none;
  }
  .intent-example {
    padding: 20px 0 0;
  }
  .intent-table-wrap {
    overflow: visible;
  }
  .intent-table-wrap table {
    min-width: 0;
  }
  .intent-resource {
    margin: 24px 0;
    max-width: none;
  }
  .intent-resource textarea {
    height: 320px;
    border: 0;
  }
  .intent-intro {
    max-width: none;
  }
  .intent-steps {
    gap: 20px;
  }
  .intent-table-wrap th,
  .intent-table-wrap td {
    padding: 8px;
  }
  a {
    color: #000;
  }
}
.intent-hero h1 {
  text-wrap: balance;
}
@media (max-width: 600px) {
  .intent-hero h1 {
    font-size: clamp(25px, 7.1vw, 30px);
  }
}
.guide-print-message {
  display: none;
}
@media print {
  .guide-print-message {
    display: block;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    font: inherit;
    line-height: 1.8;
  }
  .intent-resource:has(.guide-print-message) textarea {
    display: none;
  }
}
.guide-tool {
  margin: 40px 24px 0;
  padding: 32px;
  border: 1px solid #bacdb2;
  border-radius: 20px;
  background: #edf3e5;
}
.guide-tool > p {
  font-size: 14px;
  line-height: 1.8;
}
.guide-tool-fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 24px 0;
}
.guide-tool-fields label {
  display: grid;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
}
.guide-tool-fields input {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  background: #fff;
  color: #213d31;
  border: 1px solid #9db390;
  border-radius: 8px;
  padding: 12px;
  font: inherit;
  font-size: 16px;
}
.guide-tool output {
  display: block;
  background: #fff;
  padding: 20px;
  border-left: 4px solid #557447;
  border-radius: 6px;
  font-size: 16px;
  line-height: 1.8;
  font-weight: 600;
}
@media (max-width: 600px) {
  .guide-tool {
    margin: 32px 0 0;
    padding: 24px 18px;
  }
  .guide-tool-fields {
    grid-template-columns: 1fr;
  }
}
@media print {
  .guide-tool {
    display: none;
  }
}
.guide-cover {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 32px;
  align-items: center;
  margin: 20px 0 40px;
}
.guide-cover .guide-heading {
  padding: 24px 12px;
}
.guide-cover h1 {
  font-size: clamp(32px, 3.4vw, 50px);
}
.guide-cover > img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 24px;
}
.intent-check-items label {
  border: 1px solid #e1e8db;
  border-radius: 10px;
  background: #fbfcf8;
  transition: background 0.15s;
}
.intent-check-items label:hover {
  background: #f0f5e8;
}
.intent-check-items label:focus-within {
  outline: 2px solid #73975c;
  outline-offset: 2px;
}
.intent-check-items label span {
  flex: 1;
  min-width: 0;
}
.intent-check-items {
  gap: 12px;
}
.intent-check {
  align-items: start;
}
.intent-article p {
  max-width: 46em;
}
.intent-resource label,
.guide-tool-fields label {
  margin-bottom: 0;
}
@media (max-width: 800px) {
  .guide-cover {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .guide-cover > img {
    max-height: 320px;
    object-fit: cover;
  }
  .guide-cover .guide-heading {
    padding: 12px 0;
  }
  .intent-check {
    gap: 24px;
  }
}
@media print {
  .guide-cover > img {
    display: none;
  }
  .intent-check-items label {
    break-inside: avoid;
  }
}
.table-scroll-hint {
  display: none;
}
@media (max-width: 600px) {
  .table-scroll-hint {
    display: block;
    font-size: 12px;
    color: #455b50;
  }
}
.intent-table-wrap:focus-visible {
  outline: 3px solid #527437;
  outline-offset: 4px;
}
