:root {
  --workspace-width: 1500px;
  --workspace-gutter: 40px;
  --workspace-start: 30px;
}
.workflow-intro, .tfl-module .workflow-intro {
  display: block;
  margin: 0 0 30px;
  padding: 10px 0 0;
}
.workflow-intro h1, .tfl-module .workflow-intro h1 {
  margin: 0 0 13px;
  font-size: clamp(2rem, 4.5vw, 2.875rem);
  line-height: 1.12;
  letter-spacing: -.038em;
  font-weight: 600;
}
.workflow-intro p, .tfl-module .workflow-intro p {
  min-height: 0;
  margin: 0;
  max-width: 1150px;
  color: #5e6570;
  font-size: clamp(1.0625rem, 1.75vw, 1.1875rem);
  line-height: 1.55;
}
.tfl-footer, .tfl-module footer.tfl-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px 22px;
  flex-wrap: wrap;
  width: 100%;
  max-width: var(--workspace-width);
  margin: 0 auto;
  padding: 22px var(--workspace-gutter);
  border-top: 1px solid #e3e4e7;
  color: #5e6570;
  font-size: .9375rem;
}
.tfl-footer > span:last-child, .tfl-module footer.tfl-footer > span:last-child { display: inline; }
@media (max-width: 1100px) { :root { --workspace-gutter: 24px; --workspace-start: 22px; } }
@media (max-width: 700px) {
  :root { --workspace-gutter: 18px; --workspace-start: 12px; }
  .workflow-intro, .tfl-module .workflow-intro { margin-bottom: 23px; padding-top: 4px; }
}

html.tfl-embedded { overflow: hidden; }
html.tfl-embedded body { display: flow-root; }


/* Anonymous title text, one chevron, then optional metadata. */
:is(body.tfl-module, body.xml-page) details > summary, details.guide-disclosure > summary {
  display: flex; align-items: center; flex-wrap: wrap; gap: 2px 12px;
  min-height: 44px; list-style: none; cursor: pointer;
  color: #515b68; font-size: 1rem; font-weight: 600;
}
:is(body.tfl-module, body.xml-page) details > summary::marker,
details.guide-disclosure > summary::marker { content: ""; }
:is(body.tfl-module, body.xml-page) details > summary::-webkit-details-marker,
details.guide-disclosure > summary::-webkit-details-marker { display: none; }
:is(body.tfl-module, body.xml-page) details > summary::before,
details.guide-disclosure > summary::before { content: none; }
:is(body.tfl-module, body.xml-page) details > summary::after,
details.guide-disclosure > summary::after {
  content: ""; display: block; order: 1; flex: none; width: 7px; height: 7px;
  margin: 0 4px 0 0; padding: 0; background: none;
  border: solid currentColor; border-width: 1px 1px 0 0; transform: rotate(45deg);
}
:is(body.tfl-module, body.xml-page) details[open] > summary::after,
details.guide-disclosure[open] > summary::after { transform: rotate(135deg); }
:is(body.tfl-module, body.xml-page) details > summary > span,
details.guide-disclosure > summary > span {
  order: 2; margin: 0; color: #5e6570; font-size: .9375rem; font-weight: 400;
}
:is(body.tfl-module, body.xml-page) details > summary > span:empty,
details.guide-disclosure > summary > span:empty { display: none; }
:is(body.tfl-module, body.xml-page) details > summary:hover,
details.guide-disclosure > summary:hover { color: #25272b; }

:is(.login, .depreciation-fields, .guide-fields) label {
  display: grid; gap: 7px; color: #59616c; font-size: .9375rem; font-weight: 400;
}
:is(.login, .depreciation-fields, .guide-fields) :is(input, select) {
  font: inherit; font-weight: 400; min-height: 44px; min-width: 0; padding: 9px 12px;
  border: 1px solid #d5d8de; border-radius: 9px; background: #fff; color: #25272b;
}
:is(.login, .depreciation-fields, .guide-fields) input::placeholder { color: #626873; font-weight: 400; }


button.close-control, .tfl-module button.close-control {
  display: inline-grid; place-items: center; flex: none;
  padding: 0; line-height: 1;
}
.close-control::before {
  content: ""; width: 16px; height: 16px; display: block;
  background-color: currentColor;
  -webkit-mask: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 4 8 8m0-8-8 8' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  mask: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 4 8 8m0-8-8 8' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
}
.processing-screen { text-align: center; padding: clamp(58px, 14vh, 120px) 20px; }
.processing-screen h2 { margin: 14px 0 6px; }
.processing-screen p { margin: 0; color: #5e6570; }
.processing-spinner {
  width: 38px; height: 38px; margin: 0 auto; border: 2px solid #e1e4e8;
  border-top-color: #57616e; border-radius: 50%; animation: processing-spin 1s linear infinite;
}
@keyframes processing-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .processing-spinner { animation: none; } }
