@font-face {
  font-family: Roboto;
  src: url("roboto-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
:root {
  color-scheme: light; font-family: Roboto, Arial, sans-serif; color: #0b2230;
  --ink: #0b2230; --muted: #38505d; --blue: #185e87; --line: #cfdbdf;
  --ice: #eaf0f2; --paper: #f5f7f7;
}
* { box-sizing: border-box; }
body { margin: 0; background: white; font-size: 16px; line-height: 1.5; }
.wrap { width: min(1120px, calc(100% - 80px)); margin-inline: auto; }
button, input, select, textarea { font: inherit; color: var(--ink); }
button, select, summary { cursor: pointer; }
button { background: transparent; border: 0; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
:where(h1,h2,h3,h4,h5,p,dl,dd,ol) { margin: 0; }
h1,h2,h3,h4,h5 { text-wrap: balance; }
p,li,dd,dt { overflow-wrap: anywhere; }
.sr-only, .skip:not(:focus), #printout { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
#printout { display: none; }
.skip:focus { position: absolute; top: 8px; left: 8px; z-index: 1; padding: 10px; background: white; }
.site-head { background: #fff; border-bottom: 1px solid #e2e9eb; }
.bar { display: flex; align-items: center; justify-content: space-between; min-height: 66px; gap: 10px; }
.brand,.private,.time,.form-actions,.actions,.dialog-actions { display: flex; align-items: center; }
.brand { gap: 11px; font-weight: 700; font-size: 20px; letter-spacing: -.045em; }
.private,.time { gap: 7px; font-size: 14px; color: var(--muted); }
.private svg,.time svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; stroke-linecap: round; }
.hero {
  background-color: var(--ice);
  background-image: linear-gradient(90deg, #f3f6f6 14%, #edf2f3 38%, #edf2f3b8 58%, #d7e4e850 100%), url("contours.svg");
  background-size: auto, max(850px, 76%) 140%; background-position: center, right 50%; background-repeat: no-repeat;
  border-bottom: 1px solid var(--line);
}
.hero .wrap { padding-block: 27px 24px; }
h1 { font-size: clamp(46px, 5.3vw, 76px); letter-spacing: -.066em; font-weight: 500; line-height: 1.04; }
.hero p { font-size: clamp(16px, 1.45vw, 20px); line-height: 1.4; max-width: 510px; text-wrap: balance; margin-top: 10px; }
.time { margin-top: 17px; font-weight: 500; }
.time span { padding-inline: 3px; }
.past-business .hero .wrap { padding-block: 12px; }
.past-business .hero h1 { font-size: clamp(22px, 3vw, 30px); letter-spacing: -.04em; }
.past-business .hero p,.past-business .time { display: none; }
nav { border-bottom: 1px solid var(--line); }
#steps { padding: 0; display: flex; list-style: none; max-width: 760px; }
#steps li { flex: 1; min-width: 0; position: relative; color: var(--muted); font-size: 15px; font-weight: 500; }
#steps li > span,#steps li button { min-height: 63px; display: inline-flex; align-items: center; gap: 9px; padding: 4px 0; color: inherit; }
#steps li:not(:last-child)::after { content: ''; position: absolute; left: 65%; right: 15%; top: 50%; border-top: 1px solid var(--line); }
.step-number { width: 26px; height: 26px; border: 1px solid #758a95; display: inline-grid; place-items: center; border-radius: 50%; line-height: 1; font-size: 13px; }
#steps .current { color: var(--blue); font-weight: 700; }
.current .step-number { color: white; background: var(--blue); border-color: var(--blue); }
.complete .step-number { background: var(--ice); color: var(--blue); border-color: #8ca2ad; }
#steps button:hover,.text-button:hover,.back:hover,#clear:hover { color: var(--blue); text-decoration: underline; }
.layout { padding-block: 18px 36px; }
body:not(.at-result) .layout { max-width: 720px; }
#panel,fieldset,.field { min-width: 0; }
h2 { font-size: clamp(30px, 3vw, 40px); letter-spacing: -.055em; font-weight: 500; line-height: 1.17; }
h3 { font-size: 23px; line-height: 1.25; letter-spacing: -.035em; }
h4,h5 { font-size: 18px; line-height: 1.35; }
.lead { color: var(--muted); margin: 7px 0 23px; }
.field { margin: 0 0 19px; }
label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 6px; }
.optional { color: var(--muted); font-size: 13px; font-weight: 400; }
.control, select, textarea { background: white; border: 1px solid #798c95; border-radius: 5px; width: 100%; }
.control { display: flex; align-items: center; gap: 4px; }
.control:focus-within { outline: 3px solid var(--blue); outline-offset: 2px; }
.control input { border: 0; background: transparent; border-radius: inherit; min-width: 0; width: 100%; min-height: 44px; padding: 9px 12px; }
.control input:focus { outline: none; }
.control span { color: var(--muted); font-size: 14px; white-space: nowrap; }
.control span:first-child { padding-left: 13px; }
.control span:first-child + input { padding-left: 3px; }
.control span:last-child { padding-right: 12px; }
select { min-height: 46px; padding: 9px 32px 9px 12px; }
input::placeholder { color: #546a76; opacity: 1; }
small,.help { color: var(--muted); font-size: 13px; line-height: 1.4; }
.field small { display: block; margin-top: 6px; }
.two { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.form-actions { flex-wrap: wrap; border-top: 1px solid var(--line); margin-top: 14px; padding-top: 20px; gap: 12px 20px; }
.primary,.secondary,#keep { display: inline-flex; justify-content: center; align-items: center; gap: 24px; padding: 12px 19px; min-height: 46px; border-radius: 4px; font-weight: 600; font-size: 15px; }
.primary { color: white; background: var(--ink); }
.primary:hover { background: var(--blue); }
.primary span { font-size: 20px; line-height: 1; }
.secondary,#keep { border: 1px solid #788d97; }
.secondary:hover,#keep:hover { background: var(--ice); }
#try-example[hidden] { display: none; }
.back,.text-button,#clear { font-size: 14px; padding: 8px 0; min-height: 40px; text-underline-offset: 3px; }
.back,#clear { color: var(--blue); text-decoration: underline; }
#ledger:not([hidden]) { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
#ledger { background: var(--ice); border-radius: 4px; margin-bottom: 16px; padding: 7px 12px; font-size: 14px; }
#ledger strong { font-size: 17px; }
#ledger strong,.metrics dd { font-variant-numeric: tabular-nums; }
fieldset { margin: 0 0 18px; padding: 16px 18px 0; border: 1px solid var(--line); border-radius: 5px; }
.row-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 8px; }
.row-head h3 { font-size: 18px; }
.text-button { color: var(--blue); }
.picker { margin-bottom: 6px; }
.help { margin: 0 0 21px; }
.overlap { background: var(--ice); border-left: 3px solid var(--blue); margin: 16px 0; padding: 12px 15px; font-size: 14px; }
.job { margin-bottom: 9px; border: 1px solid var(--line); border-radius: 5px; background: var(--paper); }
.job > summary { display: flex; align-items: center; gap: 10px; min-height: 45px; padding: 8px 12px; color: var(--ink); }
.job > summary::before { content: ''; flex: 0 0 7px; height: 7px; border: solid var(--blue); border-width: 0 2px 2px 0; transform: rotate(-45deg); }
.job[open] > summary::before { transform: rotate(45deg); }
.job-title,.job-time { overflow-wrap: anywhere; }
.job-title { flex: 1; min-width: 0; }
.job-time { max-width: 44%; color: var(--muted); font-size: 13px; font-weight: 400; }
.job fieldset { border: 0; border-top: 1px solid var(--line); border-radius: 0 0 4px 4px; background: white; margin: 0; padding: 12px; }
.job-actions { display: flex; align-items: center; justify-content: space-between; }
ul { padding-left: 20px; margin: 7px 0 0; }
.footer { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-top: 1px solid var(--line); padding-block: 16px 24px; font-size: 13px; color: var(--muted); }
.footer button { color: var(--muted); }
.footer a { display: inline-flex; align-items: center; min-height: 44px; color: inherit; }
.metrics { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; margin: 0 0 16px; }
.metrics > div { background: var(--paper); border: 1px solid var(--line); border-radius: 5px; padding: 13px 16px; }
.metrics > div:first-child { background: var(--ice); }
.metrics dt { color: var(--muted); font-size: 14px; }
.metrics dd { font-weight: 600; font-size: 28px; letter-spacing: -.04em; }
.metrics small { display: block; font-weight: 400; letter-spacing: 0; }
.at-result #panel > details { padding-bottom: 12px; border-bottom: 1px solid var(--line); }
summary { font-weight: 600; color: var(--blue); padding-block: 6px; }
details p,details h4,.result-block > p,.result-end > p { margin-top: 8px; }
.result-block { margin-top: 24px; }
.result-block p,.result-end p,details p,details li { color: var(--muted); }
.result-end { margin-top: 24px; padding: 16px; background: var(--paper); border-top: 1px solid var(--line); }
.result-end h2 { font-size: 23px; font-weight: 600; margin-top: 0; }
.result-end #copy-status:empty { margin: 0; }
#manual-copy:not(:empty) { margin-top: 12px; }
.actions,.dialog-actions { flex-wrap: wrap; gap: 10px; margin-top: 16px; }
textarea { padding: 10px; }
dialog { max-width: min(400px, calc(100% - 32px)); border: 1px solid var(--line); border-radius: 6px; padding: 25px; color: var(--ink); }
dialog h2 { margin: 0 0 12px; font-size: 27px; }
dialog::backdrop { background: #0b223070; }
@media (max-width: 780px) {
  .wrap { width: calc(100% - 48px); }
  #steps li:not(:last-child)::after { left: 76%; right: 8%; }
}
@media (max-width: 650px) {
  .wrap { width: calc(100% - 36px); }
  .bar { min-height: 54px; }
  .brand { font-size: 18px; gap: 7px; }
  .brand img { width: 32px; }
  .private { font-size: 12px; gap: 4px; }
  .hero { background-size: auto, 610px 135%; background-position: center, left 30px top 50%; background-image: linear-gradient(90deg,#f3f6f6 10%,#edf2f3e8 62%,#e2ecee9e), url("contours.svg"); }
  .hero .wrap { padding-block: 24px 21px; }
  .hero p { max-width: 340px; margin-top: 8px; }
  .time { margin-top: 12px; font-size: 13px; }
  #steps li { font-size: 12px; }
  #steps li > span,#steps li button { gap: 4px; min-height: 52px; }
  .step-number { width: 20px; height: 20px; font-size: 11px; }
  #steps li:not(:last-child)::after { display: none; }
  #steps li:last-child { flex: .75; }
  .layout { padding-block: 14px 24px; }
  .lead { margin-bottom: 18px; }
  .two { gap: 12px; }
  .two .control { gap: 0; }
  .field { margin-bottom: 15px; }
  .picker { margin-bottom: 6px; }
  .form-actions { padding-top: 15px; }
  .footer { align-items: flex-start; flex-direction: column; gap: 2px; }
  fieldset { padding-inline: 12px; }
  .metrics { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  .metrics > div { padding: 9px 10px; }
  .metrics > div:first-child { grid-column: 1 / -1; }
  .metrics dd { font-size: 24px; }
}
@page { size: auto; margin: 12mm; }
@media print {
  body.at-result > :not(#printout) { display: none !important; }
  body.at-result #printout { position: static; display: block; width: auto; height: auto; clip-path: none; overflow: visible; white-space: normal; margin: 0; padding: 0; font: 9pt/1.3 Roboto, Arial, sans-serif; color: #0b2230; }
  #printout h1 { font-size: 26pt; margin: 4pt 0; }
  #printout h2 { font-size: 15pt; margin-block: 10pt 4pt; }
  #printout h3,#printout h4 { font-size: 10pt; }
  #printout .print-group { margin-top: 7pt; }
  #printout section { border-left: 2pt solid #38505d; padding-left: 8pt; margin-top: 4pt; break-inside: avoid; }
  #printout .metrics { grid-template-columns: repeat(3,minmax(0,1fr)); margin: 7pt 0; }
  #printout .metrics > div { grid-column: auto; padding: 4pt 6pt; }
  #printout .metrics dt,#printout small { font-size: 9pt; }
  #printout .metrics dd { font-size: 17pt; }
  #printout .print-brand,#printout .print-call { font-weight: 700; }
  #printout .print-call { margin-top: 8pt; }
  #printout .print-footer { border-top: 1pt solid #38505d; margin-top: 4pt; padding-top: 4pt; }
  #printout ul { margin-block: 3pt; }
}

@media (pointer: coarse) {
  .back, .text-button, #clear, #panel > details > summary {
    min-width: 44px;
    min-height: 44px;
  }
  .actions .back { display: inline-flex; align-items: center; }
}
