/* Approved v16 account screens: reset legacy application styling. */
body:has(.v16-account){background:#fff!important;color:#141d33!important;margin:0}
.v16-account{font-family:Inter,ui-sans-serif,system-ui,sans-serif;color:#141d33;background:#fff;min-height:100svh;font-size:16px;line-height:1.6}
.v16-account h1,.v16-account h2,.v16-account h3{font-family:Inter,ui-sans-serif,system-ui,sans-serif;color:var(--navy)}
.v16-account .auth-card{width:min(440px,calc(100% - 2*var(--gutter)));margin:auto;padding:clamp(16px,3vh,48px) 0;background:transparent;border:0;border-radius:0;box-shadow:none;max-width:440px;display:block;color:var(--ink)}
.v16-account .auth-card input{display:block;width:100%;min-height:46px;padding:10px 16px;border:1px solid var(--line-2);border-radius:12px;background:#fff;color:var(--ink);margin:6px 0 16px;font:inherit}
.v16-account .auth-card label{display:block;color:var(--navy);font-size:13px;font-weight:600}
.v16-account .auth-card .auth-google-button{justify-content:flex-start;box-shadow:none;border:1px solid var(--line-2);background:#fff;color:#1f1f1f;border-radius:14px;min-height:48px;font-family:Arial,sans-serif;font-size:14px;font-weight:500}
.v16-account .google-brand-icon{display:block;width:20px;height:20px;object-fit:contain;flex:none;background:none;border-radius:0}
.v16-proof{display:contents}.v16-account .auth-proof{border:0;min-width:0;color:var(--ink)}
.v16-account .auth-message{overflow-wrap:anywhere}.v16-account .auth-message[data-error=true]{background:#fdecea;color:#b42318}
.v16-account .auth-button{background:var(--blue-hi);box-shadow:none;border-radius:14px;color:white;min-height:48px}
.v16-account .auth-mode-switch{margin-top:0}.v16-account .auth-mode-switch button.active{background:white;color:var(--navy)}
.v16-account .nav-cta{cursor:pointer;font:inherit;border:0}
.v16-home{padding:calc(var(--hdr) + 48px) var(--gutter) 64px;max-width:1280px;margin:auto}
.v16-home .home-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:32px}.v16-home h1{font-size:clamp(30px,4vw,44px);line-height:1.15;letter-spacing:-.03em;margin:8px 0}
.v16-home .home-heading p{color:var(--muted);margin:0;overflow-wrap:anywhere}.v16-home .home-actions{display:flex;gap:12px;flex-wrap:wrap}
.v16-home .home-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin:24px 0 40px}.v16-home .home-card{padding:28px;border:1px solid var(--line);border-radius:20px;background:var(--wash)}
.v16-home .home-card h2{font-size:23px;margin:8px 0}.v16-home .home-card p{color:var(--muted);margin:0 0 20px}.v16-home .home-card.pro{background:linear-gradient(120deg,#edf4ff,#eefaf7)}
.v16-home .invoice-list{border:1px solid var(--line);border-radius:20px;overflow:hidden}.v16-home .list-heading{padding:24px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:16px}.v16-home .list-heading h2{font-size:22px;margin:0}.v16-home .empty-invoices{padding:48px 24px;text-align:center}.v16-home .empty-invoices h3{margin:12px 0;font-size:22px}.v16-home .empty-invoices p{color:var(--muted);margin-bottom:24px}
.v16-home .invoice-row{padding:20px 24px;display:grid;grid-template-columns:1.4fr 1fr auto;gap:20px;align-items:center;border-bottom:1px solid var(--line)}.v16-home .invoice-row:last-child{border:0}.v16-home .invoice-row small{display:block;color:var(--muted)}.v16-home .invoice-row strong{color:var(--navy)}.v16-home .home-error{padding:16px;border:1px solid #f0c4b3;border-radius:12px;background:#fff5f0;color:#8d3618;margin:20px 0}
.v16-home .browser-history{margin-top:28px}.v16-home .browser-history>p{color:var(--muted);font-size:14px}.v16-home button:focus-visible,.v16-account a:focus-visible{outline:3px solid #295bb1;outline-offset:4px}
.v16-account .generator-status{margin:16px 0;padding:12px 16px;border-radius:12px;background:var(--green-bg);color:var(--green)}
@media(max-width:767px){.v16-account .auth{grid-template-columns:1fr}.v16-account .auth-card{width:calc(100% - 40px);margin:28px auto;padding:20px 0}.v16-account .auth-proof{padding:32px 24px}.v16-account .auth-proof-art{width:min(80%,350px)}.v16-home{padding-top:calc(var(--hdr) + 28px)}.v16-home .home-heading{align-items:flex-start;flex-direction:column}.v16-home .home-cards{grid-template-columns:1fr;gap:16px}.v16-home .invoice-row{grid-template-columns:1fr auto;gap:12px;padding:16px}.v16-home .invoice-row .invoice-date{grid-column:1/-1;grid-row:2}.v16-home .list-heading{padding:20px}.v16-home .home-card{padding:24px}}

.v16-account .auth-kicker{color:#2a3244!important;font-weight:500;letter-spacing:0}
.v16-account .auth-card h1{font-size:clamp(30px,2.8vw,40px);line-height:1.06;letter-spacing:-.028em;font-weight:530;margin:0 0 8px}
.v16-account .auth-card form{display:block;margin:0}
.v16-account .auth-card>p{color:var(--muted)}
.v16-account .auth-message{color:var(--green)!important}

.v16-account .auth-divider,.v16-account .auth-divider span{font-weight:400;letter-spacing:0;text-transform:none}
.v16-account .auth-card label{text-transform:none}
.v16-account .site-footer h2{color:#fff}

.v16-account .auth-privacy a{display:inline-block}
.v16-account label{text-transform:none}

.free-local-history{padding-top:40px;padding-bottom:64px}.free-local-history>p{max-width:680px;color:#565c6c}.free-local-history>div{display:grid;gap:12px;margin-top:24px}.free-local-history article{display:flex;align-items:center;gap:24px;padding:20px;border:1px solid #dce5ee;border-radius:14px;background:white}.free-local-history article>div{display:grid;gap:6px;flex:1}.free-local-history article span{font-size:14px}.free-local-history .btn{border:1px solid #dce5ee}@media(max-width:600px){.free-local-history article{flex-wrap:wrap}.free-local-history article>div{flex-basis:65%}}
