/* Scoped to the public tutorial; other website pages keep their own styles. */
body[data-page="guide"] { font-size: 16px; }
.usage-guide { width: min(1280px, calc(100% - 64px)); display: grid; grid-template-columns: 192px minmax(0, 1fr); gap: 64px; padding-block: 52px 72px; }
.usage-guide p { line-height: 1.85; }
.usage-nav { position: sticky; top: 28px; align-self: start; padding: 4px 24px 18px 0; border-right: 1px solid var(--line); }
.usage-nav-title { margin: 0 0 20px; font-weight: 600; color: var(--ink); }
.usage-nav > a, .usage-nav li a { display: block; padding-block: 9px; color: #646d7b; font-size: 14px; line-height: 1.5; }
.usage-nav ol { padding-left: 20px; margin: 10px 0; color: #7a8493; font-size: 14px; }
.usage-nav li { padding-left: 4px; }
.usage-nav a:hover, .usage-nav a[aria-current="location"] { color: var(--accent); }
.usage-nav a[aria-current="location"] { font-weight: 600; }
.usage-print { margin-top: 24px; padding: 9px 13px; font: inherit; font-size: 14px; line-height: 1.4; background: white; color: #4f5b6d; border: 1px solid #d8dde5; border-radius: 5px; }
.usage-print:hover { color: var(--accent); border-color: var(--accent); }
.usage-content { min-width: 0; max-width: 920px; }
.usage-intro { padding-bottom: 32px; }
.usage-eyebrow { margin-bottom: 13px; color: var(--accent); font-size: 14px; font-weight: 600; }
.usage-intro h1 { font-size: clamp(30px, 3.1vw, 42px); letter-spacing: -.035em; margin-bottom: 18px; }
.usage-lead { max-width: 690px; margin-bottom: 16px; color: #4b5667; font-size: 19px; line-height: 1.8; }
.usage-image-note { margin-bottom: 24px; font-size: 14px; color: #6e7887; }
.usage-start-link { display: inline-flex; min-height: 42px; align-items: center; padding: 9px 18px; border-radius: 5px; background: var(--accent); color: white; font-size: 15px; font-weight: 500; }
.usage-start-link:hover { color: white; background: #203fa6; }
.usage-prep { scroll-margin-top: 28px; padding: 24px 28px; background: #f6f8fd; border: 1px solid #e3e8f3; border-radius: 6px; margin-bottom: 6px; }
.usage-prep h2 { font-size: 20px; margin-bottom: 20px; }
.usage-prep dl { margin: 0 0 16px; }
.usage-prep dl > div { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 20px; margin-top: 14px; }
.usage-prep dt { font-weight: 600; }
.usage-prep dd { margin: 0; color: #596576; line-height: 1.85; }
.usage-inline-link { color: var(--accent); font-size: 15px; text-decoration: underline; text-underline-offset: 4px; }
.usage-step { scroll-margin-top: 24px; padding: 44px 0 40px; border-bottom: 1px solid var(--line); }
.usage-step-heading { display: flex; align-items: flex-start; gap: 17px; margin-bottom: 24px; }
.usage-step-number { flex: 0 0 36px; width: 36px; height: 36px; margin-top: 5px; display: inline-flex; align-items: center; justify-content: center; border-radius: 6px; color: var(--accent); background: var(--accent-soft); font-size: 20px; font-weight: 600; }
.usage-step-heading p { color: #77808e; font-size: 14px; margin: 0 0 6px; line-height: 1.4; }
.usage-step-heading h2 { margin: 0; font-size: 25px; }
.usage-actions { padding-left: 23px; margin: 0 0 22px; color: #495567; line-height: 1.9; }
.usage-actions li { padding-left: 5px; margin-bottom: 9px; }
.usage-actions li::marker { color: #6d7c94; }
.usage-actions strong { color: #27384e; }
.usage-result { color: #4e617a; margin: 22px 0; padding-left: 14px; border-left: 3px solid #a4b5e5; }
.usage-result strong { color: #32476b; }
.usage-figure { margin: 24px 0 18px; }
.usage-image-button { display: block; position: relative; width: 100%; margin: 0; padding: 0; border: 1px solid #dce2eb; background: #f5f7fa; border-radius: 6px; overflow: hidden; cursor: zoom-in; }
.usage-image-button:hover { border-color: #879fdc; }
.usage-image-button img { display: block; width: 100%; height: auto; object-fit: contain; }
.usage-image-button > span { display: block; padding: 9px 14px; border-top: 1px solid #e3e7ef; text-align: right; font-size: 14px; line-height: 1.5; background: #fbfcfe; color: #4e6698; }
.usage-figure figcaption { font-size: 14px; color: #748091; line-height: 1.75; margin-top: 10px; }
.usage-tip { margin: 20px 0 0; padding: 12px 16px; background: #f7f8fa; border-radius: 4px; font-size: 15px; color: #616d7d; }
.usage-notice { margin-block: 24px; padding: 18px 20px; border: 1px solid #dbe3f8; border-radius: 5px; background: #f5f7ff; color: #435c86; }
.usage-notice > strong { display: block; margin-bottom: 7px; color: #294c94; }
.usage-notice p { margin: 0; font-size: 16px; }
.usage-faq { scroll-margin-top: 24px; padding-top: 46px; }
.usage-faq h2 { margin-bottom: 24px; font-size: 26px; }
.usage-faq details { border-top: 1px solid var(--line); padding-block: 18px; }
.usage-faq summary { cursor: pointer; color: #334157; font-weight: 500; line-height: 1.7; }
.usage-faq details p { margin: 14px 0 2px; padding-left: 19px; color: #627084; }
.usage-support { margin-top: 22px; padding: 22px 24px; background: #f6f8fc; border-radius: 5px; }
.usage-support p { color: #647185; margin-bottom: 14px; }
.usage-image-dialog { width: min(1540px, calc(100vw - 48px)); max-width: none; max-height: calc(100dvh - 48px); padding: 0; color: var(--ink); border: 1px solid #dce2eb; border-radius: 8px; overflow: hidden; }
.usage-image-dialog::backdrop { background: rgb(14 24 43 / 72%); }
.usage-image-dialog[open] { display: flex; flex-direction: column; }
.usage-dialog-header { display: flex; flex: 0 0 auto; align-items: center; justify-content: space-between; gap: 20px; padding: 15px 20px; border-bottom: 1px solid var(--line); background: white; }
.usage-dialog-header h2 { margin: 0; font-size: 17px; }
.usage-dialog-header > div { display: flex; flex: 0 0 auto; gap: 10px; }
.usage-dialog-header .button { font-size: 14px; min-height: 38px; }
.usage-dialog-image { overflow: auto; min-height: 0; background: #edf0f5; overscroll-behavior: contain; }
.usage-dialog-image img { display: block; margin-inline: auto; width: auto; max-width: 100%; height: auto; }
.usage-image-dialog[data-actual="true"] .usage-dialog-image img { max-width: none; margin: 0; }
.usage-dialog-note { margin: 0; flex: 0 0 auto; padding: 12px 20px; color: #68778c; font-size: 14px; line-height: 1.7; background: white; border-top: 1px solid var(--line); }
body:has(.usage-image-dialog[open]) { overflow: hidden; }
@media (max-width: 1080px) { .usage-guide { grid-template-columns: 164px minmax(0, 1fr); gap: 36px; } .usage-nav { padding-right: 18px; } }
@media (max-width: 760px) {
  .usage-guide { display: block; width: calc(100% - 36px); padding-block: 28px 46px; }
  .usage-nav { position: static; padding: 0 0 20px; margin-bottom: 27px; border-right: 0; border-bottom: 1px solid var(--line); }
  .usage-nav-title { margin-bottom: 10px; }
  .usage-nav ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; margin: 6px 0; }
  .usage-nav a { padding-block: 7px; }
  .usage-nav > a { display: inline-block; margin-right: 22px; }
  .usage-print { margin-top: 12px; }
  .usage-intro { padding-bottom: 26px; }
  .usage-intro h1 { font-size: 30px; }
  .usage-lead { font-size: 17px; }
  .usage-prep { padding: 21px 19px; }
  .usage-prep dl > div { grid-template-columns: 1fr; gap: 5px; }
  .usage-step { padding-block: 34px 30px; }
  .usage-step-heading { gap: 12px; }
  .usage-step-heading h2 { font-size: 23px; }
  .usage-step-number { width: 32px; height: 32px; flex-basis: 32px; font-size: 18px; }
  .usage-actions { padding-left: 21px; }
  .usage-notice { padding: 16px; }
  .usage-support { padding: 19px; }
  .usage-image-dialog { width: calc(100vw - 20px); max-height: calc(100dvh - 24px); border-radius: 5px; }
  .usage-dialog-header { align-items: flex-start; gap: 12px; padding: 12px; }
  .usage-dialog-header h2 { font-size: 15px; line-height: 1.6; }
  .usage-dialog-header .button { font-size: 13px; padding-inline: 10px; }
  .usage-dialog-header > div { gap: 6px; }
  .usage-dialog-note { padding: 10px 12px; font-size: 13px; }
}
@media print {
  body[data-page="guide"] { font-size: 11pt; background: white; }
  body[data-page="guide"] .site-header, body[data-page="guide"] .site-footer, .usage-nav, .usage-start-link, .usage-image-button > span, .usage-image-dialog { display: none !important; }
  .usage-guide { display: block; width: 100%; padding: 0; }
  .usage-content { max-width: none; }
  .usage-prep { padding: 18px; }
  .usage-step { padding-block: 26px; }
  .usage-step-heading, .usage-step h2 { break-after: avoid; }
  .usage-figure, .usage-notice, .usage-result { break-inside: avoid; }
  .usage-image-button { border-color: #c8cfda; }
  .usage-faq details p { display: block; }
}
