/* Local module UI and guide; no other module styles. */
.button:hover {
  opacity: .85;
}

.faq-answer p:last-child,
.article-section>p:last-child,
.article-section>ol:last-child,
.article-section>ul:last-child {
  margin-bottom: 0;
}



.centered-heading .category-badge {
  margin-bottom: 16px;
}

.workspace {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 28px;
  margin: 0 auto 40px;
  background: var(--bg);
  max-width: 1000px;
  @media (max-width:640px) {
    padding: 18px;
    margin-bottom: 28px;
  }
}

.workspace label {
  display: block;
  font-weight: bold;
  margin-bottom: 7px;
}

.workspace input:not([type=checkbox]),
.workspace select {
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 11px 12px;
  background: var(--bg);
  width: 100%;
  min-height: 46px;
  min-width: 0;
}

.workspace textarea {
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 11px 12px;
  background: var(--bg);
  width: 100%;
  min-width: 0;
  resize: vertical;
  min-height: 230px;
  line-height: 1.6;
}

.workspace input::placeholder,
.workspace textarea::placeholder {
  color: var(--muted);
  opacity: 1;
}

.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--bg);
  border-radius: 5px;
  padding: 10px 20px;
  min-height: 44px;
  font-weight: bold;
  line-height: 1.3;
}

.button.secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.status {
  min-height: 1.6em;
  margin: 12px 0 0;
  font-size: 15px;
  color: var(--muted);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 10px;
  margin-bottom: 22px;
  @media (max-width:640px) {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 8px;
  }
}

.metric {
  background: var(--soft);
  border: 1px solid var(--line);
  padding: 16px;
  border-radius: 6px;
  @media (max-width:640px) {
    padding: 12px;
  }
}

.metric strong {
  display: block;
  font-size: 28px;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
  overflow-wrap: anywhere;
  @media (max-width:640px) {
    font-size: 27px;
  }
}

.metric span,
.fine-print,
.legal-date {
  font-size: 14px;
  color: var(--muted);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  @media (max-width:640px) {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.article {
  max-width: 780px;
  margin: 36px auto 0;
  font-size: 18px;
  line-height: 1.75;
  @media (max-width:640px) {
    font-size: 17px;
  }
}

.article h2 {
  margin-top: 34px;
  border-left: 2px solid var(--ink);
  padding-left: 16px;
  font-size: clamp(1.4rem,3vw,1.8rem);
  @media (max-width:640px) {
    font-size: 26px;
  }
}

.article h3 {
  margin-top: 26px;
}

.article a,
.text-link {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article ul,
.article ol {
  padding-left: 24px;
}

.category-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--ink);
  border-radius: 99px;
  padding: 5px 12px;
  font-size: 11px;
  font-weight: bold;
  line-height: 1.4;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--bg);
}

.editorial-heading {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  padding: 14px 0 0;
  @media (max-width:768px) {
    padding-top: 8px;
  }
}

.editorial-heading h1 {
  font-size: clamp(1.75rem,3.5vw,2.6rem);
  line-height: 1.25;
  margin: 0 0 12px;
  letter-spacing: -.025em;
}

.editorial-heading>p {
  max-width: 680px;
  margin: 0 auto 16px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.5;
}









.byline {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

.article .steps {
  list-style: none;
  counter-reset: steps;
  padding: 0;
  display: grid;
  gap: 12px;
  margin: 24px 0;
}

.steps>li {
  counter-increment: steps;
  position: relative;
  min-height: 70px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px 18px 18px 64px;
  background: var(--bg);
  font-size: 17px;
  line-height: 1.6;
  transition: border-color .15s;
  @media (prefers-reduced-motion:reduce) {
    transition: none;
  }
}

.steps>li::before {
  content: counter(steps,decimal-leading-zero);
  position: absolute;
  top: 18px;
  left: 16px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-weight: bold;
  font-size: 13px;
  line-height: 1;
}

.steps>li:hover {
  border-color: var(--ink);
}

.article .faq-item {
  padding: 0;
  margin: 0;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  scroll-margin-top: 72px;
}

.faq-item:first-of-type {
  border-top: 1px solid var(--line);
}

.article .faq-item summary {
  display: flex;
  align-items: center;
  gap: 18px;
  list-style: none;
  cursor: pointer;
  font-weight: bold;
  font-size: 18px;
  line-height: 1.45;
  padding: 20px 2px;
  @media (max-width:768px) {
    font-size: 17px;
    gap: 12px;
  }
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::marker {
  content: "";
}

.faq-item summary>span:first-child {
  flex: 1;
  min-width: 0;
}

.faq-chevron {
  margin-left: auto;
  flex: none;
  transition: transform .2s;
  width: 18px;
  height: 18px;
  @media (prefers-reduced-motion:reduce) {
    transition: none;
  }
}

.faq-item[open]:not([data-closing]) .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 32px 20px 2px;
  color: var(--muted);
}

.faq-answer p {
  margin: 0 0 12px;
}

.faq-item summary:focus-visible {
  outline-offset: -2px;
}

.article-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 32px 0;
  padding: 20px;
  @media (max-width:768px) {
    align-items: start;
    flex-direction: column;
  }
}

.article-cta p {
  margin: 0;
  flex: 1;
  min-width: 180px;
}

.article-cta .button {
  text-decoration: none;
}

.formula {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  text-align: center;
  font-size: 20px;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}











.article .steps>li {
  @media (max-width:768px) {
    padding-right: 14px;
    font-size: 16px;
  }
}

.faq-chevron:empty::after {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  border-right: 1.8px solid currentColor;
  border-bottom: 1.8px solid currentColor;
  transform: rotate(45deg);
  margin: 2px 4px;
}

.editorial-heading>.category-badge {
  margin-bottom: 8px;
}



























































.article-launch {
  max-width: 680px;
  text-align: center;
  margin: 0 auto 12px;
}

.article-launch .button {
  min-height: 0;
  padding: 8px 18px;
  line-height: 1.25;
  font-size: 14px;
}











































@media (max-width: 768px) {.feature-breakdown { grid-template-columns: minmax(0, 1fr); gap: 16px; }.feature-heading { margin-top: 24px; }.feature-section { padding: 20px; }}























.upload-zone { border: 2px dashed var(--line); border-radius: 10px; text-align: center; display: grid; place-items: center; cursor: pointer; background: var(--soft); padding: 20px; gap: 6px; }

.upload-zone:hover, .upload-zone.is-drag { border-color: var(--ink); }

.pdf-meta { display: flex; justify-content: space-between; gap: 10px; margin: 12px 0px; }

.thumb-strip { display: flex; overflow-x: auto; gap: 8px; padding: 2px 0px 8px; }

.pdf-thumb { flex: 0 0 120px; border: 1px solid var(--line); border-radius: 6px; padding: 6px; text-align: center; background: var(--soft); }

.pdf-thumb canvas { width: 100%; height: auto; background: rgb(255, 255, 255); display: block; }

.pdf-thumb span { font-size: 13px; }

.range-block { margin-top: 12px; }

.range-block small { display: block; color: var(--muted); margin-top: 5px; }

.page-heading.centered-heading { max-width: 860px; margin: 16px auto 8px; padding: 0px; text-align: center; }

.page-heading.centered-heading h1 { margin: 0px 0px 8px; font-size: clamp(2rem, 4.5vw, 3.15rem); line-height: 1.12; }

.page-heading.centered-heading .instruction { width: 100%; max-width: 760px; margin: 0px auto 12px; padding: 10px 14px; }

.workspace { width: 100%; max-width: 860px; margin: 0px auto 28px; padding: 20px; overflow: hidden; }

.workspace .form-grid { gap: 12px; }

.workspace .actions { display: flex; justify-content: center; align-items: center; gap: 10px; width: 100%; margin-top: 12px; }

.workspace .button, .workspace button { min-height: 44px; transition: transform 0.1s, opacity 0.15s, box-shadow 0.15s; }

.workspace .button:active:not(:disabled), .workspace button:active:not(:disabled) { transform: scale(0.98); }

.workspace .button.is-loading { position: relative; pointer-events: none; opacity: 0.82; }

.workspace .button.is-loading::before { content: ""; width: 15px; height: 15px; margin-right: 8px; border-width: 2px; border-style: solid; border-color: currentcolor transparent currentcolor currentcolor; border-image: initial; border-radius: 50%; animation: 0.65s linear 0s infinite normal none running v60-spin; }

.workspace .status { text-align: center; margin: 10px auto 0px; max-width: 720px; }

.workspace .fine-print { margin-top: 12px; }

.article code { overflow-wrap: anywhere; word-break: break-word; }

.workspace input:not([type="checkbox"]):not([type="radio"]), .workspace select, .workspace textarea { max-width: 100%; }

.workspace .is-updated { animation: 0.24s ease 0s 1 normal none running v60-feedback; }

@keyframes v60-spin { 
  100% { transform: rotate(360deg); }
}

@keyframes v60-feedback { 
  50% { transform: scale(0.985); opacity: 0.82; }
}

@media (min-width: 641px) and (max-width: 1024px) {
.page-heading.centered-heading, .workspace { max-width: 720px; }

.workspace { padding: 18px; }
}

@media (max-width: 640px) {
.main-content { width: 100%; padding-left: 14px; padding-right: 14px; }

.page-heading.centered-heading { width: 100%; margin: 16px auto 8px; padding: 0px; }

.page-heading.centered-heading h1 { font-size: clamp(1.78rem, 8vw, 2.35rem); margin-bottom: 8px; }

.page-heading.centered-heading .instruction { padding: 10px 12px; line-height: 1.42; font-size: 16px !important; }

.workspace { width: 100%; max-width: 100%; padding: 12px 14px; margin: 0px auto 22px; border-radius: 8px; }

.workspace .form-grid, .workspace .control-grid { grid-template-columns: 1fr; gap: 12px; }

.workspace .actions { flex-direction: column; gap: 8px; margin-top: 12px; }

.workspace .actions > .button, .workspace .actions > button { display: flex; width: 100%; max-width: 100%; margin: 0px; min-height: 44px; }

.workspace .status { text-align: center; margin: 10px auto 0px; }

.workspace label:has(input[type="checkbox"]), .workspace label:has(input[type="radio"]) { min-height: 44px; }

.workspace input[type="checkbox"], .workspace input[type="radio"] { width: 20px; height: 20px; flex: 0 0 auto; }

.workspace input[type="range"] { min-height: 44px; }

.workspace .fine-print { margin: 10px 0px 0px; }
}

@media (prefers-reduced-motion: reduce) {
.workspace .button, .workspace button { transition: none; }

.workspace .button.is-loading::before { animation-duration: 1.2s; }

.workspace .is-updated { animation: auto ease 0s 1 normal none running none; }
}

@media (max-width: 640px) {
.upload-zone { padding: 16px 12px; }

.pdf-meta { display: grid; gap: 2px; text-align: center; }

.pdf-thumb { flex-basis: 104px; }

.range-block { margin-top: 10px; }
}


/* The browser's native PDF preview occupies the former canvas thumbnail box. */
.pdf-thumb object {display:block;max-width:100%;background:#fff;border:0;margin:0 auto 7px;pointer-events:none;}
