/* ONE look for every USPTO form page (wave W3, Moshe 27 Nov 2026; docs/rules/uspto_forms/LOOK.md).
 * Colours, type and spacing taken from the IDS three-step page and the ADS page (the approved mock-up
 * docs/waves/forms-one-look/mockup.html): navy #2b3a55, blue #2b6cb0, lines #dfe3ea, ground #f5f7fb, Public Sans.
 * Presentation only: no word, no rule. Every rule starts with .fl (the wrapper the forms pages put round their
 * content when the server passes `forms_look`), so no other page changes -- the ADS and IDS pages are untouched.
 * Contrast: every text colour here is >= 4.5:1 on its own background (LOOK.md section I). */

.fl { --fl-navy: #2b3a55; --fl-blue: #2b6cb0; --fl-ground: #f5f7fb; --fl-line: #dfe3ea; --fl-muted: #566176;
  --fl-text: #1f2633; --fl-soft: #e9eef7; --fl-on: #eaf2fb;
  --fl-red: #b42318; --fl-redbg: #fdecea; --fl-amber: #7a4b00; --fl-amberbg: #fff4e0;
  --fl-green: #1d6b39; --fl-greenbg: #e8f5ec; --fl-grey: #4a5466; --fl-greybg: #f1f3f7;
  --fl-purple: #5b2d8a; --fl-purplebg: #efe8f8;
  color: var(--fl-text); font-size: 16px; line-height: 1.45; display: flex; flex-direction: column; gap: 18px; }
.fl *, .fl *::before, .fl *::after { box-sizing: border-box; }
.fl [hidden] { display: none !important; }
body.pt-look:has(.fl) { background: #f5f7fb; }
body.pt-look:has(.fl) .pt-main { max-width: 1180px; }
body.pt-look:has(.fl) .pt-main:has(.fc) { max-width: none; }
.fl :where(p, ul, ol) { max-width: 80ch; }
.fl :focus-visible { outline: 3px solid #2491ff; outline-offset: 2px; }

/* ---- heading, crumb ------------------------------------------------------------------------------------------- */
.fl-crumb { font-size: 15px; color: var(--fl-muted); margin: 0; }
.fl-crumb a { color: var(--fl-blue); }
.pt-look .fl h1, .fl h1 { margin: 0; font-size: 30px; line-height: 1.2; color: var(--fl-navy); }
.pt-look .fl h2, .fl h2 { margin: 0 0 4px; font-size: 20px; line-height: 1.3; color: var(--fl-navy); }
.pt-look .fl h3, .fl h3 { margin: 0; font-size: 17px; color: var(--fl-navy); }
.fl-lede { margin: 0; color: #3d4551; font-size: 17px; max-width: 80ch; }
.fl-small, .fl .subtle { font-size: 15px; color: var(--fl-muted); }

/* ---- the step bar: Start, Fill, Is this done?, Check and sign ---------------------------------------------------- */
.fl-steps { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; max-width: none !important; }
.fl-steps li { display: flex; gap: 10px; align-items: center; background: #fff; border: 1px solid var(--fl-line);
  border-radius: 999px; padding: 8px 16px 8px 8px; min-height: 44px; font-weight: 600; color: var(--fl-navy); }
.fl-steps .fl-n { width: 28px; height: 28px; border-radius: 50%; background: var(--fl-soft); display: grid;
  place-items: center; font-weight: 700; color: var(--fl-navy); flex: 0 0 28px; }
.fl-steps li[aria-current="step"] { border-color: var(--fl-blue); background: var(--fl-on); }
.fl-steps li[aria-current="step"] .fl-n { background: var(--fl-blue); color: #fff; }
.fl-steps li.fl-step-done .fl-n { background: var(--fl-green); color: #fff; }

/* ---- cards, fields, chips ---------------------------------------------------------------------------------------- */
.fl-card { background: #fff; border: 1px solid var(--fl-line); border-radius: 12px; padding: 20px;
  display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.fl-card > :first-child { margin-top: 0; }
.fl-card-head { display: flex; gap: 10px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.fl-grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.fl-field { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.fl-field > label, .fl-label { font-weight: 600; font-size: 15px; color: var(--fl-text); }
.fl :is(input[type=text], input:not([type]), select, textarea):not(.xfa-viewer *) { font: inherit; padding: 9px 10px; border: 1px solid #8c97a8;
  border-radius: 8px; min-height: 44px; background: #fff; color: var(--fl-text); max-width: 100%; }
.fl input[readonly], .fl .fl-locked-value { background: var(--fl-greybg); color: var(--fl-grey); }
.fl-src { font-size: 14px; color: var(--fl-muted); display: flex; flex-wrap: wrap; gap: 4px 6px; align-items: center; }
.fl-chip { display: inline-block; background: var(--fl-soft); color: var(--fl-navy); border-radius: 999px;
  padding: 1px 9px; font-weight: 700; font-size: 13px; line-height: 1.6; white-space: nowrap; }
.fl-chip--noa { background: #e3f1ea; color: var(--fl-green); }
.fl-chip--xml { background: #e8ecf6; color: var(--fl-navy); }
.fl-chip--docket { background: var(--fl-purplebg); color: var(--fl-purple); }
.fl-chip--account { background: #e6f3f6; color: #0b5563; }
.fl-chip--you { background: var(--fl-on); color: #1f5591; }
.fl-chip--locked { background: var(--fl-greybg); color: var(--fl-grey); }
.fl-chip--empty { background: #fff; color: var(--fl-muted); border: 1px dashed #a3acba; }
.fl-chip--check { background: var(--fl-redbg); color: var(--fl-red); }
details.fl-why { font-size: 14px; color: var(--fl-muted); }
details.fl-why summary { cursor: pointer; min-height: 32px; display: flex; align-items: center; }
details.fl-why dl { margin: 6px 0 0; display: grid; grid-template-columns: minmax(140px, auto) 1fr; gap: 2px 12px; }
details.fl-why dt { font-weight: 600; color: var(--fl-text); }
details.fl-why dd { margin: 0; overflow-wrap: anywhere; }

/* ---- buttons (beat pt.css's generic button rule without touching it) ---------------------------------------------- */
body.pt-look .fl :is(button, .fl-btn):not(.fl-x):not(.xfa-viewer *) { font: inherit; font-weight: 600; border: 1px solid var(--fl-navy);
  border-radius: 8px; padding: 10px 18px; min-height: 44px; cursor: pointer; background: #fff; color: var(--fl-navy);
  display: inline-flex; align-items: center; gap: 6px; text-decoration: none; width: auto; margin: 0; }
body.pt-look .fl :is(button, .fl-btn):not(.fl-x):not(.xfa-viewer *):hover { background: var(--fl-on); }
body.pt-look .fl :is(button.fl-main, .fl-btn.fl-main, button[type=submit]):not(.fl-x):not(.xfa-viewer *) { background: var(--fl-navy); color: #fff; }
body.pt-look .fl :is(button.fl-main, .fl-btn.fl-main, button[type=submit]):not(.fl-x):not(.xfa-viewer *):hover { background: #1d2a40; }
body.pt-look .fl :is(button, .fl-btn):disabled:not(.fl-x):not(.xfa-viewer *) { opacity: .55; cursor: not-allowed; }
.fl-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.fl-row .fl-grow { flex-grow: 1; }
.fl a > button { pointer-events: auto; }

/* ---- banners: check lines (red) and LOUD lines (amber) at the top, as on the ADS ------------------------------------ */
.fl-banner { border-radius: 10px; padding: 12px 14px; font-size: 15px; border: 1px solid transparent; max-width: none; }
.fl-banner--bad { background: var(--fl-redbg); color: var(--fl-red); border-color: #f3b8b2; font-weight: 600; }
.fl-banner--loud { background: var(--fl-amberbg); color: var(--fl-amber); border-color: #f0d29a; }
.fl-banner--ok { background: var(--fl-greenbg); color: var(--fl-green); border-color: #b9dfc6; }
.fl-banner--info { background: var(--fl-on); color: #1f4f86; border-color: #c4d8ef; }
.fl-banner > :first-child { margin-top: 0; } .fl-banner > :last-child { margin-bottom: 0; }

/* ---- the start ("Start from") and the file boxes ------------------------------------------------------------------- */
.fl #form-start { border: 1px solid var(--fl-line) !important; background: #fff !important; border-radius: 12px;
  padding: 20px !important; margin: 0 !important; max-width: none !important; display: flex; flex-direction: column; gap: 6px; }
.fl #form-start h3 { margin: 0 0 6px !important; font-size: 20px; }
.fl #form-start .form-start-choice { border: 1px solid var(--fl-line); border-radius: 10px; padding: 10px 12px; margin: 4px 0 !important;
  cursor: pointer; min-height: 44px; }
.fl #form-start .form-start-choice:has(input:checked) { border-color: var(--fl-blue); background: var(--fl-on); }
.fl #form-start .form-start-choice .subtle { margin-left: 26px !important; display: block !important; }
.fl #form-start-panel { border-top-color: var(--fl-line) !important; }
.fl-file { border: 1px solid var(--fl-line); border-radius: 10px; padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; background: #fbfcfe; }
.fl-file > label { font-weight: 700; color: var(--fl-navy); }
.pt-look .fl input[type=file] { max-width: 100%; }

/* ---- Fill: the section list on the left, the section's cards on the right ----------------------------------------- */
.fl-layout { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; }
.fl-nav { flex: 1 1 220px; background: #fff; border: 1px solid var(--fl-line); border-radius: 12px; padding: 10px;
  display: flex; flex-direction: column; gap: 4px; position: sticky; top: 8px; }
body.pt-look .fl .fl-nav button.form-screens-section:not(.fl-x):not(.xfa-viewer *) { display: flex; justify-content: space-between; gap: 8px; width: 100%;
  text-align: left; border: 0; background: transparent; padding: 10px 12px; border-radius: 8px; color: var(--fl-navy); font-weight: 600; }
body.pt-look .fl .fl-nav button.form-screens-section[aria-current="true"]:not(.fl-x):not(.xfa-viewer *) { background: var(--fl-on); color: #1f5591; }
.fl-nav .fl-count { font-weight: 400; color: var(--fl-muted); font-size: 14px; white-space: nowrap; }
.fl-body { flex: 4 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.fl-tools { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.fl-version { color: var(--fl-muted); font-size: 14px; }
.fl .form-screens-row { display: flex; flex-direction: column; gap: 4px; }
.fl .form-screens-row .fl-tickline { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; cursor: pointer; }
.fl :is(input[type=checkbox], input[type=radio]):not(.xfa-viewer *) { width: 22px; height: 22px; margin: 1px 0 0; flex: 0 0 22px; accent-color: var(--fl-blue); }
.fl .form-screens-locked { font-size: 14px; color: var(--fl-grey); }
.fl .form-screens-date { font-size: 14px; color: #1f5591; }
.fl .form-screens-control { border: 1px solid var(--fl-line); border-radius: 10px; padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; }
.fl .form-screens-control > label { display: flex; gap: 10px; align-items: flex-start; min-height: 32px; cursor: pointer; }
.fl .fl-undo-link { border: 0 !important; background: none !important; padding: 0 !important; min-height: 0 !important;
  color: var(--fl-blue) !important; text-decoration: underline; font-weight: 600; }

/* the toggle (SB/439's Authorize / Withdraw) */
.fl-toggle { display: inline-flex; border: 1px solid var(--fl-navy); border-radius: 999px; overflow: hidden; flex-wrap: wrap; }
.fl-toggle label { padding: 8px 16px; cursor: pointer; font-weight: 600; min-height: 44px; display: flex; align-items: center;
  gap: 6px; color: var(--fl-navy); }
.fl-toggle input { position: absolute; opacity: 0; width: 1px !important; height: 1px !important; }
.fl-toggle label:has(input:checked) { background: var(--fl-navy); color: #fff; }
.fl-toggle label:has(input:focus-visible) { outline: 3px solid #2491ff; outline-offset: -3px; }

/* ---- the oath: one card per declaration --------------------------------------------------------------------------- */
.fl-decl { border: 1px solid var(--fl-line); border-radius: 10px; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.fl-decl-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.fl table.fl-table { border-collapse: collapse; width: 100%; font-size: 15px; }
.fl table.fl-table th, .fl table.fl-table td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--fl-line); vertical-align: top; }
.fl table.fl-table th { color: var(--fl-navy); font-size: 14px; }
.fl .fl-table-wrap { overflow-x: auto; }

/* ---- Is this done? the ADS's tiers --------------------------------------------------------------------------------- */
.fl-done { background: #fff; border: 1px solid var(--fl-line); border-radius: 12px; padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.fl-done h2 { margin: 0; }
.fl .form-done-group { border-radius: 10px; padding: 14px !important; margin: 0 !important; border: 1px solid transparent !important;
  display: flex; flex-direction: column; gap: 8px; }
.fl .form-done-group h3 { color: inherit !important; margin: 0 !important; }
.fl .form-done-group[data-group="rights"] { background: var(--fl-redbg); color: var(--fl-red); }
.fl .form-done-group[data-group="assertions"] { background: var(--fl-on); color: #1f4f86; }
.fl .form-done-group[data-group="warnings"] { background: var(--fl-amberbg); color: var(--fl-amber); }
.fl .form-done-group[data-group="notes"] { background: var(--fl-greybg); color: var(--fl-grey); }
.fl .form-done-group .form-done-line { color: var(--fl-text); background: rgba(255,255,255,.6); border-radius: 8px; margin: 0 !important; padding: 8px 10px !important; }
.fl .form-done-group .form-done-line label { display: flex !important; gap: 10px; align-items: flex-start; margin-top: 6px !important; cursor: pointer; }
.fl .form-done-blocker, .fl .form-done-top { border-radius: 10px; padding: 12px 14px !important; margin: 0 !important; }
.fl .form-done-blocker { background: var(--fl-redbg) !important; color: var(--fl-red) !important; border: 1px solid #f3b8b2 !important; font-weight: 600; }
.fl .form-done-top { background: var(--fl-amberbg) !important; color: var(--fl-amber) !important; border: 1px solid #f0d29a !important; }
.fl #form-done-full { border: 1px solid var(--fl-line) !important; background: #fff !important; padding: 20px !important;
  margin: 0 !important; border-radius: 12px; }
.fl #form-done-full > * + * { margin-top: 14px; }
.fl #form-done-full details summary { cursor: pointer; font-weight: 600; min-height: 32px; }
.fl .fl-done-answer { background: var(--fl-greenbg) !important; color: var(--fl-green) !important; border: 1px solid #b9dfc6 !important;
  border-radius: 10px; padding: 12px 14px !important; margin: 0 !important; }
.fl [id$="form-done-box"], .fl #form-done-box, .fl #fc-done-box { display: flex; flex-direction: column; gap: 10px; }

/* ---- the review panels drawn by today's page scripts (PTOL-85B, the eight forms' summary) ------------------------- */
.fl .fl-panel > div { display: flex !important; flex-direction: column; gap: 4px; margin: 0 !important; }
.fl .fl-panel { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.fl .fl-panel label { width: auto !important; font-size: 15px !important; font-weight: 600 !important; display: block !important; }
.fl .fl-panel input { width: 100% !important; }
.fl .fl-panel .fl-review { margin: 0 !important; font-size: 14px !important; max-width: none !important; display: flex; flex-direction: column; gap: 3px; }
.fl .fl-panel .fl-flag { color: var(--fl-red); font-weight: 700; }
.fl .fl-panel .fl-flagged input { outline: 2px solid var(--fl-red) !important; }

/* ---- Check and sign ------------------------------------------------------------------------------------------------ */
.fl.fc { gap: 14px; }
.fl.fc .fc-cols { grid-template-columns: minmax(0, 1fr) 380px; gap: 20px; }
.fl.fc .fc-sections-col { grid-column: 2; grid-row: 2; }
.fl.fc .fc-form-col { grid-column: 1; grid-row: 1 / span 3; background: #fff; border: 1px solid var(--fl-line); border-radius: 12px; padding: 16px; }
.fl.fc .fc-side-col { grid-column: 2; grid-row: 1; display: flex; flex-direction: column; gap: 14px; }
.fl.fc .fc-cols:has(.fc-drawer-open) { grid-template-columns: minmax(0, 1fr) 560px; }
.fl.fc .fc-side-col > :not(:empty), .fl.fc .fc-sections-col { background: #fff; border: 1px solid var(--fl-line); border-radius: 12px; padding: 16px; }
.fl.fc .fc-side-col.fc-drawer-open > .fc-drawer { padding: 0; border: 0; background: transparent; }
.fl.fc .fc-sections-col { display: flex; flex-direction: column; gap: 4px; }
body.pt-look .fl.fc .fc-section:not(.fl-x):not(.xfa-viewer *) { width: 100%; justify-content: space-between; border: 0; background: transparent; }
body.pt-look .fl.fc .fc-section.fc-current:not(.fl-x):not(.xfa-viewer *) { background: var(--fl-on); border: 0; }
body.pt-look .fl.fc .fc-sign-btn:not(.fl-x):not(.xfa-viewer *) { background: var(--fl-navy); color: #fff; font-size: 17px; padding: 12px 22px; }
.fl.fc .fc-loud { border-radius: 10px; border: 1px solid #f0d29a; background: var(--fl-amberbg); color: var(--fl-amber); padding: 12px 14px; margin: 0 0 6px; }
.fl.fc .fc-loud.fc-refused, .fl.fc .fc-loud.fc-first { border-color: #f3b8b2; background: var(--fl-redbg); color: var(--fl-red); font-weight: 600; }
.fl.fc .fc-ok { border-radius: 10px; border: 1px solid #b9dfc6; background: var(--fl-greenbg); color: var(--fl-green); padding: 12px 14px; }
.fl.fc .fc-note { font-size: 14px; color: var(--fl-muted); }
.fl.fc .fc-intro { margin: 0; }
.fl.fc .fc-page-holder { border-color: var(--fl-line); border-radius: 4px; overflow: hidden; }
.fl.fc .fc-text, .fl.fc .fc-sig { border-color: var(--fl-blue); }
.fl-sigcard { display: flex; flex-direction: column; gap: 10px; }
.fl-sigcard .fl-field input { width: 100%; }
.fl.fc.fc-narrow .fc-cols { grid-template-columns: minmax(0, 1fr); }
.fl.fc.fc-narrow .fc-sections-col, .fl.fc.fc-narrow .fc-form-col, .fl.fc.fc-narrow .fc-side-col { grid-column: 1; grid-row: auto; }

/* ---- phone width: everything stacks (16 px gutter) ----------------------------------------------------------------- */
@media (max-width: 720px) {
  body.pt-look:has(.fl) .pt-main { padding-left: 16px; padding-right: 16px; }
  .pt-look .fl h1, .fl h1 { font-size: 25px; }
  .fl-card, .fl-done, .fl #form-start { padding: 14px !important; }
  .fl-steps li { padding: 6px 12px 6px 6px; font-size: 15px; }
  .fl-nav { position: static; }
  .fl-row > button, .fl-row > a { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) { .fl * { scroll-behavior: auto !important; transition: none !important; } }

/* ---- a column of blocks whose display a page script sets inline (block / none) ------------------------------------ */
.fl-stack > * + * { margin-top: 16px; }
.fl-stack > [style*="display: none"] + *, .fl-stack > [style*="display:none"] + * { margin-top: 16px; }
.fl .fl-tickline { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; min-height: 32px; }
.fl .fl-email { font-size: 14px; color: var(--fl-muted); display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; }
.fl .fl-email b { color: var(--fl-text); font-weight: 600; }
.fl #send-result { border-radius: 8px; }
html:has(body.pt-look .fl) { background: #f5f7fb; }
.fl [tabindex="-1"]:focus:not(:focus-visible) { outline: none; }
.fl h2[tabindex="-1"]:focus { outline: none; }
.fl #form-done-box, .fl #form-start-done { align-items: flex-start; }
.fl #form-done-box > .form-done-blocker, .fl #form-start-done > .form-done-blocker, .fl .fl-done-answer { align-self: stretch; }
@media (max-width: 720px) { .fl .fl-email { grid-template-columns: 1fr; } .fl-steps li { min-height: 44px; } }

/* the "Who signs" box (_signer_picker.html) inside a form card */
.fl #signer-picker { border: 1px solid var(--fl-line) !important; border-radius: 10px; padding: 12px 14px !important; max-width: none !important; background: #fbfcfe; }
.fl #signer-picker legend { font-weight: 700; color: var(--fl-navy); padding: 0 6px; }
.fl fieldset { border-radius: 10px; }
.fl-decl.fl-decl-top { flex-direction: row; justify-content: space-between; align-items: center; text-align: left; }

/* ---- wave W4 (FORM_VIEW.md C): the two-view frame -- ONE screen per step, the page itself never scrolls ------------
 * The frame is sized to the window by forms_shell.js; the header and the bottom bar stay, the middle pane scrolls
 * inside itself. Below FORM_VIEW.md shell.phone_px the parts stack and the page scrolls normally. */
body.pt-look:has(.fv-app) .pt-main { max-width: none; padding: 10px 20px 0; }
/* the eight forms' page: once a form is chosen, the frame's own title replaces the page's heading and intro */
body.pt-look:has(#uf-steps:not([hidden])) .pt-main > h1, body.pt-look:has(#uf-steps:not([hidden])) .pt-main > .uf-intro { display: none; }
body.pt-look:has(#uf-steps:not([hidden])) #uf-chosen { font-size: 14px; }
body.pt-look:has(#uf-steps:not([hidden])) #uf-chosen b { display: none; }
.fl.fv-app { gap: 10px; min-height: 0; }
.fv-headline { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; justify-content: space-between; }
.fv-titles { min-width: 0; flex: 1 1 260px; }
.fv-titles .fl-crumb { font-size: 13px; }
.pt-look .fl .fv-title, .fl .fv-title { font-size: 24px; }
.fv-sub { margin: 2px 0 0; font-size: 14px; color: var(--fl-muted); max-width: none !important; }
.fv-headline .fl-steps li { min-height: 36px; padding: 4px 12px 4px 4px; font-size: 14px; cursor: pointer; }
.fv-headline .fl-steps .fl-n { width: 24px; height: 24px; flex-basis: 24px; }
.fv-switch { display: flex; border: 2px solid var(--fl-navy); border-radius: 10px; overflow: hidden; }
body.pt-look .fl .fv-switch .fv-switch-btn:not(.xfa-viewer *) { border: 0; border-radius: 0; min-height: 40px; padding: 6px 16px;
  background: #fff; color: var(--fl-navy); font-weight: 700; }
body.pt-look .fl .fv-switch .fv-switch-btn[aria-pressed="true"]:not(.xfa-viewer *) { background: var(--fl-navy); color: #fff; }
body.pt-look .fl .fv-switch .fv-switch-btn:disabled:not(.xfa-viewer *) { opacity: .5; }
.fv-banners { display: flex; flex-direction: column; gap: 6px; }
.fv-banners:empty { display: none; }
.fv-banners > * { margin: 0 !important; }
.fv-main { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; }
.fv-pane { flex: 1 1 auto; min-height: 0; overflow: auto; display: flex; flex-direction: column; gap: 14px; }
.fv-pane > * { flex: 0 0 auto; }
.fv-form-pane { overflow: hidden; }
.fv-frame { flex: 1 1 auto; width: 100%; min-height: 0; border: 0; background: transparent; }
.fv-foot { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--fl-line);
  border-radius: 12px; padding: 8px 12px; flex: 0 0 auto; }
.fv-foot #form-done-box { flex-direction: row; align-items: center; gap: 8px; margin: 0; }
.fv-foot #form-done-box > div:not(.form-done-blocker):not(.fl-done-answer) { display: none; }
.fv-foot #form-done-box > .form-done-blocker { margin: 0 !important; padding: 4px 8px !important; font-size: 13px;
  max-width: 300px; max-height: 3.2em; overflow: auto; }
.fv-foot #form-done-box > .fl-done-answer { margin: 0 !important; padding: 4px 10px !important; font-size: 14px; }
.fv-foot #form-done-box > button { margin: 0 !important; white-space: nowrap; }
.fv-status, .fv-empty { flex: 1 1 auto; text-align: center; font-size: 13px; color: var(--fl-muted); }
.fv-empty { color: var(--fl-red); flex: 0 1 auto; }
.fl .fv-empty-required input, .fl .fv-empty-required .fl-locked-value { border-color: var(--fl-red) !important; background: var(--fl-redbg) !important; }
.fl .fl-under-box { font-size: 13px; color: var(--fl-amber); background: var(--fl-amberbg); border-radius: 6px; padding: 4px 8px; }
.fl .fv-pane .fl-screens { min-height: 100%; }
/* Screens inside the frame: one section; the frame's bottom bar is Back / Next, so the section's own are not shown */
.fv-app #form-screens-close, .fv-app #form-screens-frame .form-screens-next, .fv-app #form-screens-frame .form-screens-prev { display: none !important; }
body.pt-look .fl .form-screens-show-on-form:not(.fl-x):not(.xfa-viewer *) { border: 0; background: none; color: var(--fl-blue); min-height: 0;
  padding: 2px 4px; font-weight: 600; }
.fl.fv-app.fv-phone { height: auto; }
.fl.fv-app.fv-phone .fv-pane { overflow: visible; }
.fl.fv-app.fv-phone .fv-form-pane .fv-frame { height: 85vh; }
.fl.fv-app.fv-phone .fv-foot { position: sticky; bottom: 0; flex-wrap: wrap; }
.fl.fv-app.fv-phone .fv-headline .fl-steps li span:not(.fl-n) { display: none; }
.fl.fv-app.fv-phone .fv-headline .fl-steps li[aria-current="step"] span { display: inline; }

/* wave W4 (WARNINGS.md H, FORM_VIEW.md C): in the two-view frame the header line names the form -- the screens' own
   heading and intro paragraph are not repeated (one screen, no clutter) */
.fv-app .form-screens-intro, .fv-app #form-screens-frame > .fl-card-head > h2 { display: none !important; }
/* wave W4 (WARNINGS.md H): "NOT DONE: press Is this done? ..." is said where it matters -- on Finish, where the files
   wait for it -- not as a red line in the bottom bar on every step (the button beside it says the same) */
.fv-app:not([data-step="finish"]) #form-done-box > .form-done-blocker[data-blocker="not_confirmed"] { display: none; }
/* wave W4: on a phone the bottom bar is one compact row (the status words are on the step itself) */
.fl.fv-app.fv-phone .fv-foot { flex-wrap: wrap; gap: 6px; padding: 6px 8px; }
.fl.fv-app.fv-phone .fv-foot .fv-status, .fl.fv-app.fv-phone .fv-foot .fv-empty { display: none; }
body.pt-look .fl.fv-app.fv-phone .fv-foot button:not(.fl-x):not(.xfa-viewer *) { min-height: 40px; padding: 6px 10px; font-size: 14px; }
.fl.fv-app.fv-phone .fv-foot #form-done-box { flex: 1 1 auto; min-width: 0; }
