:root {
  color-scheme: light;
  --ink: #17314b;
  --ink-soft: #405b74;
  --muted: #71849a;
  --line: #d9e3ed;
  --paper: #fff;
  --canvas: #f1f5f9;
  --green: #0067B4;
  --green-deep: #0067B4;
  --mint: #d4eafa;
  --orange: #f58220;
  --red: #b64e43;
  --shadow: 0 24px 70px rgba(27, 55, 51, .12);
  font-family: "Be Vietnam Pro", "Avenir Next", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--canvas);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; min-height: 100vh; background: var(--canvas); }
button, input { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }

.site-frame { width: min(1440px, 100%); min-height: 100vh; margin: 0 auto; padding: 0 5.2%; position: relative; overflow: hidden; background-image: linear-gradient(rgba(23, 46, 49, .025) 1px, transparent 1px), linear-gradient(90deg, rgba(23, 46, 49, .025) 1px, transparent 1px); background-size: 32px 32px; }
.site-frame::before { content: ""; position: absolute; z-index: 0; top: 0; right: 0; width: 31%; height: 550px; background: linear-gradient(135deg, rgba(0, 103, 180, .12), rgba(241, 245, 249, 0)); clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 68%); pointer-events: none; }
.topbar, main, .site-footer { position: relative; z-index: 1; }
.topbar { height: 96px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(23, 46, 49, .12); }
.brand { display: inline-flex; gap: 12px; align-items: center; }
.brand-logo { width: auto; height: 42px; display: block; flex: 0 0 auto; object-fit: contain; mix-blend-mode: multiply; }
.brand-name { display: grid; gap: 2px; }
.brand-name strong { color: var(--green); font: 700 20px/1 "Times New Roman", Times, serif; }
.brand-name small { font-size: 10px; line-height: 1.5; font-weight: 700; letter-spacing: .3px; color: var(--green-deep); }
.topbar-meta { display: flex; align-items: center; gap: 32px; }
.service-state { display: inline-flex; align-items: center; gap: 9px; color: var(--ink-soft); font-size: 12px; }
.service-state i, .account-status i { width: 7px; height: 7px; display: inline-block; border-radius: 50%; background: #54a981; box-shadow: 0 0 0 4px rgba(84, 169, 129, .12); }
.support-link { display: grid; gap: 3px; padding-left: 20px; border-left: 1px solid var(--line); text-align: right; }
.support-caption { font-size: 11px; color: var(--muted); }
.support-link strong { font-family: "DM Sans", sans-serif; font-size: 13px; letter-spacing: .5px; }
.public-links { margin-left: auto; margin-right: 30px; display: flex; align-items: center; gap: 17px; }
.topbar { z-index: 5; }
.public-links button, .public-links > a, .public-support-menu summary { padding: 6px 0; color: var(--green-deep); background: transparent; border: 0; font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.public-links button:hover, .public-links > a:hover, .public-support-menu summary:hover { color: var(--green); }
.public-support-menu { position: relative; }
.public-support-menu summary { cursor: pointer; list-style: none; }
.public-support-menu summary::-webkit-details-marker { display: none; }
.public-support-menu summary::after { margin-left: 5px; content: "▾"; font-size: 10px; }
.public-support-panel { position: absolute; z-index: 20; top: calc(100% + 12px); right: -14px; width: min(280px, calc(100vw - 32px)); padding: 6px; display: grid; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.public-support-panel a, .public-support-panel button { padding: 10px 11px; color: var(--green-deep); background: transparent; border: 0; font-size: 14px; font-weight: 500; line-height: 1.4; text-align: left; text-decoration: none; white-space: normal; }
.public-support-panel a:hover, .public-support-panel button:hover { color: var(--green-deep); background: #eef4f1; }
.public-support-menu:focus-within summary, .public-support-menu[open] summary { color: var(--green); }

.login-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, .82fr); gap: 8%; align-items: center; padding: 72px 0 76px; min-height: calc(100vh - 156px); animation: rise-in .55s ease both; }
.login-column { max-width: 550px; padding: 8px 0 22px 4%; }
.eyebrow { margin: 0 0 18px; display: flex; align-items: center; gap: 9px; color: var(--green); font-size: 10px; font-weight: 700; letter-spacing: 1.15px; }
.eyebrow span { width: 19px; height: 2px; background: var(--orange); }
h1, h2, p { margin-top: 0; }
.login-column h1 { margin: 0; max-width: 570px; font-size: clamp(32px, 3.2vw, 46px); line-height: 1.27; font-weight: 600; letter-spacing: 0; }
.login-column h1 em { color: var(--green); font-style: normal; }
.intro-copy { max-width: 375px; margin: 16px 0 34px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.login-form { width: min(100%, 420px); padding-top: 25px; border-top: 1px solid var(--line); }
.form-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 19px; }
.form-heading h2 { margin: 0; font-size: 19px; font-weight: 600; letter-spacing: 0; }
.form-heading span, .section-note { color: var(--muted); font-family: "DM Sans", sans-serif; font-size: 11px; font-weight: 700; letter-spacing: .7px; }
label { display: block; margin: 17px 0 8px; font-size: 12px; font-weight: 600; color: var(--ink-soft); }
input { width: 100%; height: 48px; padding: 0 14px; outline: none; color: var(--ink); background: rgba(255, 254, 250, .85); border: 1px solid #d5e0da; border-radius: 5px; transition: border-color .2s, box-shadow .2s, background .2s; }
input::placeholder { color: #a4afaa; font-size: 12px; }
input:focus { background: white; border-color: var(--green); box-shadow: 0 0 0 3px rgba(0, 103, 180, .11); }
.primary-button { width: 100%; min-height: 48px; margin-top: 20px; padding: 0 15px; display: flex; align-items: center; justify-content: space-between; color: white; background: var(--green-deep); border: 0; border-radius: 5px; font-size: 12px; font-weight: 600; transition: background .2s, transform .2s; }
.primary-button:hover { background: var(--green); transform: translateY(-1px); }
.primary-button:disabled { opacity: .6; cursor: wait; transform: none; }
.primary-button span:last-child { font-size: 18px; font-weight: 400; }
.form-footnote { margin: 14px 0 0; color: var(--muted); font-size: 10px; }
.form-footnote span { color: var(--orange); padding: 0 4px; }
.notice { margin: 13px 0 0; padding: 11px 12px; color: #8e3f36; background: #fbefeb; border-left: 2px solid var(--red); border-radius: 2px; font-size: 11px; line-height: 1.6; }

.invoice-scene { min-height: 470px; padding: 28px 30px 24px; position: relative; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; color: white; background: var(--green-deep); border-radius: 4px 4px 4px 28px; box-shadow: var(--shadow); }
.invoice-scene::before, .invoice-scene::after { content: ""; position: absolute; pointer-events: none; border: 1px solid rgba(223, 242, 229, .12); border-radius: 50%; }
.invoice-scene::before { width: 380px; height: 380px; right: -200px; top: -150px; }
.invoice-scene::after { width: 260px; height: 260px; left: -155px; bottom: -155px; }
.scene-topline, .scene-caption, .scene-coordinate { position: relative; z-index: 1; }
.scene-topline { display: flex; justify-content: space-between; color: #a8c9bd; font: 700 9px "DM Sans", sans-serif; letter-spacing: 1px; }
.scene-index { color: rgba(255, 255, 255, .55); }
.paper-stack { height: 294px; display: grid; place-items: center; position: relative; z-index: 1; }
.invoice-paper { width: min(270px, 78%); height: 276px; padding: 18px 19px; position: relative; color: var(--ink); background: #fffefa; box-shadow: 0 18px 35px rgba(0, 0, 0, .22); transform: rotate(-2.2deg); animation: paper-in .7s .08s cubic-bezier(.2,.8,.2,1) both; }
.paper-back { position: absolute; width: min(268px, 76%); height: 269px; background: #d7eaf6; transform: rotate(4deg) translate(12px, 3px); }
.paper-brand { display: flex; align-items: center; gap: 7px; font: 700 8px/1.1 "DM Sans", sans-serif; color: var(--green-deep); }
.paper-brand small { font-size: 5px; letter-spacing: .6px; }
.paper-code { margin-left: auto; color: #8b9690; font-size: 7px; font-weight: 500; }
.paper-rule { margin: 12px 0 13px; height: 1px; background: #dce5ed; }
.paper-overline { margin: 0 0 4px; color: #7d8b83; font-size: 5px; font-weight: 700; letter-spacing: .65px; }
.invoice-paper h2 { margin: 0 0 13px; color: var(--ink); font-size: 11px; font-weight: 700; }
.paper-meta { display: grid; grid-template-columns: 1fr 1.2fr; row-gap: 5px; font-size: 6px; }
.paper-meta span { color: #86928b; }
.paper-lines { display: grid; gap: 6px; margin: 14px 0 16px; }
.paper-lines i { display: block; height: 4px; background: #eaf0f5; }
.paper-lines i:first-child { width: 100%; }
.paper-lines i:nth-child(2) { width: 78%; }
.paper-lines i:last-child { width: 89%; }
.paper-total { padding-top: 8px; display: flex; justify-content: space-between; border-top: 1px solid #dce5ed; font-size: 5px; letter-spacing: .2px; }
.paper-total b { font-size: 8px; letter-spacing: 1px; }
.paper-stamp { position: absolute; right: 16px; bottom: 42px; padding: 4px 5px; color: var(--green); border: 1px solid rgba(0, 103, 180, .42); font: 700 6px "DM Sans", sans-serif; letter-spacing: .8px; transform: rotate(-10deg); opacity: .75; }
.scene-caption { display: flex; align-items: flex-start; gap: 12px; max-width: 290px; }
.caption-marker { width: 24px; height: 2px; margin-top: 7px; flex: 0 0 24px; background: var(--orange); }
.scene-caption strong { font-size: 11px; font-weight: 600; }
.scene-caption p { margin: 6px 0 0; color: #b9d1c8; font-size: 9px; line-height: 1.7; }
.scene-coordinate { position: absolute; right: 25px; bottom: 29px; color: rgba(255, 255, 255, .35); font: 8px "DM Sans", sans-serif; }

.site-footer { min-height: 60px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid rgba(23, 46, 49, .1); color: #82918a; font: 700 10px "DM Sans", sans-serif; letter-spacing: .6px; }
.site-footer span:first-child { display: flex; align-items: center; gap: 8px; }
.site-footer i { width: 3px; height: 3px; border-radius: 50%; background: var(--orange); }
.content-screen { min-height: calc(100vh - 156px); padding: 30px 0 55px; animation: rise-in .4s ease both; }
.content-topline { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); padding-bottom: 14px; }
.content-topline .eyebrow { margin: 0; font-size: 10px; }
.content-topline .text-button { padding-left: 0; }
.content-tabs { margin: 19px 0 41px; display: flex; gap: 5px; border-bottom: 1px solid var(--line); }
.content-tabs button { padding: 10px 14px; color: var(--muted); background: transparent; border: 0; border-bottom: 2px solid transparent; font-size: 12px; }
.content-tabs button.is-active { color: var(--green-deep); border-color: var(--orange); font-weight: 600; }
.content-page { max-width: 930px; margin: 0 auto; }
.content-page > .eyebrow { font-size: 10px; }
.content-page > h1 { margin: 0; font-size: 34px; font-weight: 600; letter-spacing: 0; }
.content-lead { max-width: 700px; margin: 16px 0 35px; color: var(--muted); font-size: 13px; line-height: 1.9; }
.about-sections { margin-top: 24px; border-top: 1px solid var(--line); }
.about-section { padding: 20px 0; border-bottom: 1px solid var(--line); }
.about-section h2 { margin: 0 0 13px; color: var(--ink); font-size: 14px; font-weight: 700; }
.about-section ul { margin: 0; padding-left: 24px; }
.about-section li { padding: 4px 0; color: var(--ink-soft); font-size: 13px; line-height: 1.75; }
.about-plus-list { list-style: none; }
.about-plus-list > li { position: relative; }
.about-plus-list > li::before { position: absolute; left: -20px; color: var(--green-deep); content: "+"; font-weight: 700; }
.about-dash-list { margin-top: 5px !important; list-style: none; }
.about-dash-list > li { position: relative; padding-top: 2px; padding-bottom: 2px; }
.about-dash-list > li::before { position: absolute; left: -17px; content: "-"; }
.guide-steps p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.8; }
.guide-steps { margin-top: 26px; border-top: 1px solid var(--line); }
.guide-steps article { padding: 19px 0; display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 10px; border-bottom: 1px solid var(--line); }
.guide-steps h2 { margin: 0 0 6px; font-size: 13px; font-weight: 600; }
.contact-layout { margin-top: 28px; display: grid; grid-template-columns: minmax(230px, .7fr) minmax(0, 1fr); gap: 35px; }
.contact-primary { min-height: 220px; padding: 23px; color: white; background: var(--green-deep); border-radius: 3px 3px 3px 20px; }
.contact-kicker { color: #b6d6c9; font: 700 10px "DM Sans", sans-serif; letter-spacing: .8px; }
.contact-primary h2 { margin: 20px 0 10px; font-size: 19px; font-weight: 600; }
.contact-primary p { color: #c8dcd4; font-size: 12px; line-height: 1.8; }
.contact-phone { display: inline-block; margin-top: 13px; color: white; font: 700 14px "DM Sans", sans-serif; }
.contact-details { margin: 0; }
.contact-details > div { padding: 13px 0; border-bottom: 1px solid var(--line); }
.contact-details dt { margin-bottom: 6px; color: var(--muted); font-size: 11px; }
.contact-details dd { margin: 0; white-space: pre-line; overflow-wrap: anywhere; color: var(--ink); font-size: 12px; line-height: 1.8; }
.contact-details dd a { color: var(--green); text-decoration: underline; }
.contact-details dd ul, .contact-details dd ol { margin: 7px 0; padding-left: 20px; }
.contact-details dd li { margin: 3px 0; }
.contact-details dd b, .contact-details dd strong { font-weight: 700; }
.retail-lookup-form { max-width: 760px; padding: 22px; display: grid; grid-template-columns: minmax(180px, 1fr) minmax(220px, .9fr) 150px; gap: 14px; align-items: end; background: rgba(255, 254, 250, .85); border: 1px solid var(--line); border-radius: 4px; }
.retail-lookup-form label { margin-top: 0; }
.retail-lookup-form input { height: 44px; }
.retail-lookup-form .primary-button { min-height: 44px; margin: 0; }
.captcha-entry { display: grid; grid-template-columns: minmax(90px, 1fr) 116px 34px; gap: 7px; align-items: center; }
.captcha-entry img { width: 116px; height: 44px; object-fit: contain; background: #eff5fa; border: 1px solid var(--line); border-radius: 4px; }
.icon-refresh { width: 34px; height: 34px; color: var(--green); background: transparent; border: 1px solid var(--line); border-radius: 50%; font-size: 19px; }
.icon-refresh:hover { color: white; background: var(--green); border-color: var(--green); }
.retail-result { max-width: 930px; margin-top: 24px; background: white; border: 1px solid var(--line); border-radius: 4px; }
.retail-result-toolbar { padding: 10px 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px; border-bottom: 1px solid var(--line); }
.retail-result-toolbar > div { display: flex; gap: 6px; }
.retail-result-toolbar button { padding: 7px 9px; color: var(--green-deep); background: #e3f0fa; border: 0; border-radius: 3px; font-size: 10px; font-weight: 600; }
.retail-result-toolbar button:hover { color: white; background: var(--green); }
.retail-result .invoice-detail-body { max-height: 75vh; }

.account-screen { min-height: calc(100vh - 156px); padding: 28px 0 48px; animation: rise-in .4s ease both; }
.account-bar { min-height: 44px; margin-bottom: 25px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); padding-bottom: 17px; }
.account-location { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 12px; }
.account-location .eyebrow { margin: 0; font-size: 10px; }
.crumb-divider { color: #b7c1bc; }
.account-actions, .account-identity { display: flex; align-items: center; }
.account-actions { gap: 17px; }
.account-identity { gap: 8px; font-size: 12px; font-weight: 600; }
.avatar { width: 28px; height: 28px; display: grid; place-items: center; color: var(--green-deep); background: var(--mint); border-radius: 50%; font: 700 8px "DM Sans", sans-serif; }
.quiet-button, .text-button { padding: 6px 10px; color: var(--ink-soft); background: transparent; border: 0; font-size: 12px; }
.quiet-button { border-left: 1px solid var(--line); }
.quiet-button:hover, .text-button:hover { color: var(--green); }
.account-layout { display: grid; grid-template-columns: 218px minmax(0, 1fr); gap: 6.2%; }
.account-rail { min-height: 470px; padding: 14px 0; display: flex; flex-direction: column; }
.rail-heading { padding: 0 14px 22px; display: grid; gap: 7px; border-bottom: 1px solid var(--line); }
.rail-kicker { color: var(--muted); font: 700 10px "DM Sans", sans-serif; letter-spacing: 1px; }
.rail-heading strong { font-size: 15px; font-weight: 600; }
.account-nav { padding-top: 17px; display: grid; gap: 4px; }
.nav-item { width: 100%; min-height: 42px; padding: 0 13px; display: flex; align-items: center; gap: 10px; color: var(--ink-soft); background: transparent; border: 0; border-radius: 4px; text-align: left; font-size: 12px; }
.nav-item:hover { background: rgba(0, 114, 188, .08); }
.nav-item.is-active { color: var(--green-deep); background: #dceefa; font-weight: 600; }
.nav-glyph { width: 15px; height: 15px; position: relative; flex: 0 0 15px; color: currentColor; }
.glyph-profile::before { content: ""; position: absolute; width: 6px; height: 6px; top: 1px; left: 4px; border: 1.3px solid currentColor; border-radius: 50%; }
.glyph-profile::after { content: ""; position: absolute; width: 11px; height: 6px; left: 1.5px; bottom: 0; border: 1.3px solid currentColor; border-radius: 8px 8px 3px 3px; }
.glyph-lock::before { content: ""; position: absolute; left: 2px; bottom: 0; width: 11px; height: 9px; border: 1.3px solid currentColor; border-radius: 2px; }
.glyph-lock::after { content: ""; position: absolute; width: 6px; height: 6px; top: 0; left: 4.5px; border: 1.3px solid currentColor; border-bottom: 0; border-radius: 5px 5px 0 0; }
.glyph-invoice::before { content: ""; position: absolute; left: 3px; top: 1px; width: 9px; height: 13px; border: 1.3px solid currentColor; border-radius: 1px; }
.glyph-invoice::after { content: ""; position: absolute; left: 5px; top: 5px; width: 5px; height: 4px; border-top: 1px solid currentColor; border-bottom: 1px solid currentColor; }
.glyph-debt::before { content: ""; position: absolute; left: 1px; top: 2px; width: 13px; height: 11px; border: 1.3px solid currentColor; border-radius: 7px 7px 3px 3px; }
.glyph-debt::after { content: ""; position: absolute; left: 4px; top: 6px; width: 7px; height: 1px; background: currentColor; box-shadow: 0 3px 0 currentColor; }
.glyph-billing::before { content: ""; position: absolute; left: 2px; top: 2px; width: 12px; height: 10px; border: 1.3px solid currentColor; border-radius: 2px; }
.glyph-billing::after { content: ""; position: absolute; left: 4px; top: 6px; width: 8px; height: 1px; background: currentColor; box-shadow: 0 3px 0 currentColor; }
.rail-help { margin-top: auto; padding: 0 14px; display: grid; gap: 7px; }
.help-rule { width: 28px; height: 2px; margin-bottom: 5px; background: var(--orange); }
.rail-help > span:nth-child(2) { color: var(--muted); font: 700 10px "DM Sans", sans-serif; letter-spacing: .7px; }
.rail-help a { font: 600 12px "DM Sans", sans-serif; color: var(--green-deep); }
.account-content { min-width: 0; }
.page-heading { min-height: 91px; margin-bottom: 17px; display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; }
.page-heading .eyebrow { margin-bottom: 8px; font-size: 10px; }
.page-heading h1 { margin: 0; font-size: 25px; line-height: 1.3; font-weight: 600; letter-spacing: 0; }
.page-subtitle { margin: 7px 0 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.account-status { margin-top: 22px; display: inline-flex; align-items: center; gap: 8px; color: var(--green); font: 700 10px "DM Sans", sans-serif; letter-spacing: .5px; }
.account-status i { width: 6px; height: 6px; box-shadow: none; }
.data-section { margin: 12px 0 18px; padding: 20px 22px; background: rgba(255, 254, 250, .78); border: 1px solid var(--line); border-radius: 4px; }
.section-heading { min-height: 22px; margin-bottom: 17px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.section-heading > div { display: flex; align-items: center; gap: 11px; }
.section-number { color: var(--orange); font: 700 11px "DM Sans", sans-serif; }
.section-heading h2 { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: 0; }
.profile-grid { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 25px; }
.profile-field { min-width: 0; padding: 12px 0 10px; border-top: 1px solid #e5ebf0; }
.profile-field dt { margin-bottom: 6px; color: var(--muted); font-size: 11px; }
.profile-field dd { margin: 0; overflow-wrap: anywhere; color: var(--ink); font-size: 13px; line-height: 1.65; font-weight: 500; }
.field-primary dd { color: var(--green); font-family: "DM Sans", sans-serif; font-weight: 700; }
.field-wide { grid-column: 1 / -1; }
.payment-code-list { margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.payment-code-list li { padding: 8px 11px; display: inline-flex; align-items: center; gap: 8px; color: var(--green-deep); background: #e3f0fa; border: 1px solid #cfe4f2; border-radius: 3px; font: 600 12px "DM Sans", sans-serif; }
.payment-code-list li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--orange); }
.empty-code-list { color: var(--muted); font-size: 12px; }
.required-banner { margin-bottom: 18px; padding: 12px 14px; display: flex; align-items: center; gap: 10px; color: #765128; background: #fbf0df; border-left: 2px solid var(--orange); font-size: 12px; line-height: 1.6; }
.banner-mark { width: 17px; height: 17px; display: grid; place-items: center; flex: 0 0 17px; color: white; background: var(--orange); border-radius: 50%; font: 700 10px "DM Sans", sans-serif; }
.password-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(190px, .58fr); gap: 30px; align-items: start; }
.password-form { max-width: 480px; }
.password-form label { margin-top: 15px; }
.password-form .primary-button { max-width: 260px; margin-top: 0; }
.form-actions { margin-top: 20px; display: flex; align-items: center; gap: 12px; }
.text-button { padding: 10px; }
.password-rules { margin: 13px 0 18px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 12px; }
.rule { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 11px; }
.rule::before { content: ""; width: 6px; height: 6px; border: 1px solid #aebbb3; border-radius: 50%; }
.rule.is-met { color: var(--green); }
.rule.is-met::before { background: var(--green); border-color: var(--green); }
.security-note { margin-top: 31px; padding: 18px 18px 19px; background: #deece4; border-radius: 3px 3px 3px 18px; }
.security-symbol { width: 23px; height: 23px; display: grid; place-items: center; color: white; background: var(--green); border-radius: 50%; font: 500 17px "DM Sans", sans-serif; }
.security-note h2 { margin: 16px 0 8px; font-size: 12px; font-weight: 600; }
.security-note p { margin: 0; color: #58716a; font-size: 11px; line-height: 1.8; }
.account-notice { margin-top: 15px; }
.visually-hidden { width: 1px; height: 1px; padding: 0; position: absolute; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.invoice-search-section { padding-bottom: 18px; }
.mode-switch { margin: 0 0 15px; padding: 3px; display: inline-flex; gap: 3px; border: 1px solid var(--line); border-radius: 5px; }
.mode-option { margin: 0; position: relative; cursor: pointer; }
.mode-option input { width: 1px; height: 1px; position: absolute; opacity: 0; }
.mode-option span { min-height: 31px; padding: 0 12px; display: grid; place-items: center; color: var(--muted); border-radius: 3px; font-size: 11px; }
.mode-option input:checked + span { color: white; background: var(--green-deep); }
.mode-option input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 2px; }
.invoice-filter-grid { display: grid; grid-template-columns: minmax(150px, .85fr) minmax(120px, 1fr) minmax(120px, 1fr) 150px; gap: 12px; align-items: end; }
.invoice-filter-common, .invoice-date-fields, .invoice-period-field { min-width: 0; }
.invoice-date-fields { display: grid; grid-column: span 2; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.invoice-filter-grid label { margin-top: 0; }
.invoice-filter-grid input, .invoice-filter-grid select { height: 42px; }
.invoice-filter-grid select { width: 100%; padding: 0 10px; color: var(--ink); background: var(--paper); border: 1px solid #d5e0da; border-radius: 5px; font-size: 12px; }
.invoice-filter-grid select:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(0, 103, 180, .11); }
.invoice-period-field { grid-column: 2 / 4; }
.invoice-search-button { min-height: 42px; margin: 0; font-size: 12px; }
.invoice-results-section { padding-bottom: 13px; }
.invoice-results-actions { display: flex; align-items: center; gap: 12px; }
.invoice-download-all-button { padding: 7px 10px; color: var(--green-deep); background: #e3f0fa; border: 0; border-radius: 3px; font-size: 11px; font-weight: 600; }
.invoice-download-all-button:hover { color: #fff; background: var(--green); }
.invoice-download-all-button:disabled { opacity: .6; cursor: wait; }
.invoice-results { min-height: 110px; }
.invoice-empty { min-height: 100px; display: grid; align-content: center; justify-items: center; gap: 9px; color: var(--muted); }
.empty-rule { width: 25px; height: 2px; background: var(--orange); }
.invoice-empty p { margin: 0; font-size: 12px; text-align: center; }
.invoice-loading { min-height: 100px; display: grid; place-items: center; color: var(--muted); font-size: 12px; }
.table-scroll { overflow-x: auto; overscroll-behavior-inline: contain; }
.invoice-table { width: 100%; min-width: 820px; border-collapse: collapse; text-align: left; }
.invoice-table th { padding: 10px 9px; color: var(--muted); background: #f1f5f9; font: 700 10px "DM Sans", sans-serif; letter-spacing: .3px; white-space: nowrap; }
.invoice-table td { padding: 12px 9px; color: var(--ink-soft); border-bottom: 1px solid #e5ebf0; font-size: 11px; white-space: nowrap; }
.invoice-table td:first-child { color: var(--green); font: 600 11px "DM Sans", sans-serif; }
.invoice-table .amount-cell { color: var(--ink); text-align: right; font: 600 11px "DM Sans", sans-serif; }
.status-tag { padding: 4px 6px; display: inline-block; color: #397256; background: #e4f2e9; border-radius: 2px; font-size: 10px; }
.status-tag.is-adjusted { color: #8d5b29; background: #fbf0df; }
.result-summary { margin: 9px 0 0; color: var(--muted); font-size: 11px; text-align: right; }
.invoice-actions-cell { white-space: nowrap; }
.table-action { margin-right: 4px; padding: 5px 6px; color: var(--green-deep); background: transparent; border: 1px solid #d6e5dc; border-radius: 3px; font: 700 10px "DM Sans", sans-serif; }
.table-action:hover { color: white; background: var(--green); border-color: var(--green); }
.table-action:disabled { opacity: .5; cursor: wait; }
.invoice-period-code-note { grid-column: 1 / 4; padding: 10px 0; color: var(--muted); font-size: 12px; }
.invoice-period-code-note strong { color: var(--ink); font-weight: 600; }
.invoice-dialog { width: min(1180px, calc(100vw - 32px)); max-width: none; max-height: min(94vh, 1100px); padding: 0; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 5px; box-shadow: var(--shadow); }
.invoice-dialog::backdrop { background: rgba(15, 35, 33, .62); backdrop-filter: blur(2px); }
.dialog-header { padding: 19px 22px 14px; display: flex; align-items: flex-start; justify-content: space-between; border-bottom: 1px solid var(--line); }
.dialog-header .eyebrow { margin-bottom: 6px; font-size: 10px; }
.dialog-header h2 { margin: 0; font-size: 16px; font-weight: 600; }
.dialog-close { width: 30px; height: 30px; color: var(--ink-soft); background: transparent; border: 1px solid var(--line); border-radius: 50%; font-size: 18px; line-height: 1; }
.dialog-close:hover { color: white; background: var(--green); border-color: var(--green); }
.dialog-actions { padding: 10px 22px; display: flex; gap: 7px; border-bottom: 1px solid var(--line); }
.dialog-actions button { padding: 7px 10px; color: var(--green-deep); background: #e3f0fa; border: 0; border-radius: 3px; font-size: 11px; font-weight: 600; }
.dialog-actions button:hover { color: white; background: var(--green); }
.invoice-detail-body { height: calc(94vh - 118px); max-height: 980px; padding: 0; overflow: hidden; color: #222; background: white; }
.invoice-document-frame { display: block; width: 100%; height: 100%; border: 0; background: white; }
.invoice-detail-body:empty { min-height: 120px; }
.debt-search-section { padding-bottom: 18px; }
.debt-filter-grid { display: grid; grid-template-columns: minmax(150px, 1fr) minmax(135px, .9fr) minmax(135px, .9fr) 165px; gap: 12px; align-items: end; }
.debt-filter-grid > div { min-width: 0; }
.debt-filter-grid label { margin-top: 0; }
.debt-filter-grid input, .debt-filter-grid select { width: 100%; height: 42px; padding: 0 10px; color: var(--ink); background: var(--paper); border: 1px solid #d5e0da; border-radius: 5px; font-size: 12px; }
.debt-filter-grid input:focus, .debt-filter-grid select:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(0, 103, 180, .11); }
.debt-filter-grid .primary-button { min-height: 42px; margin: 0; font-size: 12px; }
.debt-info-grid { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
.debt-info-grid > div { min-width: 0; padding: 10px 0; border-top: 1px solid #e5ebf0; }
.debt-info-grid dt { margin-bottom: 5px; color: var(--muted); font-size: 11px; }
.debt-info-grid dd { margin: 0; overflow-wrap: anywhere; font-size: 12px; font-weight: 500; }
.debt-table { width: 100%; min-width: 610px; border-collapse: collapse; text-align: right; }
.debt-table th { padding: 10px; color: var(--muted); background: #f1f5f9; font: 700 10px "DM Sans", sans-serif; text-align: right; }
.debt-table th:first-child, .debt-table td:first-child { text-align: left; }
.debt-table td { padding: 12px 10px; color: var(--ink-soft); border-bottom: 1px solid #e5ebf0; font: 11px "DM Sans", sans-serif; white-space: nowrap; }
.debt-table td:last-child { color: var(--green-deep); font-weight: 700; }
.billing-filter-grid { display: grid; grid-template-columns: minmax(190px, 1fr) minmax(160px, .7fr) 190px; gap: 12px; align-items: end; }
.billing-filter-grid label { margin-top: 0; }
.billing-filter-grid input, .billing-filter-grid select { width: 100%; height: 42px; padding: 0 10px; color: var(--ink); background: var(--paper); border: 1px solid #d5e0da; border-radius: 5px; font-size: 12px; }
.billing-filter-grid input:focus, .billing-filter-grid select:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(0, 103, 180, .11); }
.billing-filter-grid .primary-button { min-height: 42px; margin: 0; font-size: 12px; }
.export-actions { margin-top: 9px; display: flex; justify-content: flex-end; }
.export-actions button { padding: 7px 10px; color: var(--green-deep); background: #e3f0fa; border: 0; border-radius: 3px; font-size: 11px; font-weight: 600; }
.export-actions button:hover { color: white; background: var(--green); }
.export-actions button:disabled { opacity: .6; cursor: wait; }
.billing-detail-filter-grid { display: grid; grid-template-columns: minmax(160px, 1fr) minmax(140px, .7fr) minmax(140px, .7fr) 165px; gap: 12px; align-items: end; }
.billing-detail-filter-grid label { margin-top: 0; }
.billing-detail-filter-grid input, .billing-detail-filter-grid select { width: 100%; height: 42px; padding: 0 10px; color: var(--ink); background: var(--paper); border: 1px solid #d5e0da; border-radius: 5px; font-size: 12px; }
.billing-detail-filter-grid input:focus, .billing-detail-filter-grid select:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(0, 103, 180, .11); }
.billing-detail-filter-grid .primary-button { min-height: 42px; margin: 0; font-size: 12px; }
.billing-detail-table { width: 100%; min-width: 640px; border-collapse: collapse; }
.billing-detail-table th { padding: 10px 9px; color: var(--muted); background: #f1f5f9; font: 700 10px "DM Sans", sans-serif; text-align: left; }
.billing-detail-table td { padding: 10px 9px; color: var(--ink-soft); border-bottom: 1px solid #e5ebf0; font: 11px "DM Sans", sans-serif; }
.billing-detail-table td.numeric-cell { text-align: right; font-variant-numeric: tabular-nums; }
.billing-detail-total { margin: 10px 0 0; color: var(--green-deep); font: 700 10px "DM Sans", sans-serif; text-align: right; }
.billing-document-section, .billing-subscriber-section { padding: 16px 12px; background: #fff; border: 0; border-radius: 0; color: #333; font: 14px/1.428 "Helvetica Neue", Helvetica, Arial, sans-serif; }
.billing-document-heading { margin: 0 0 15px; text-align: center; }
.billing-document-heading .billing-issuer { margin: 0 0 16px; color: #222; font-size: 14px; line-height: 1.4; font-weight: 400; text-align: left; }
.billing-document-heading h2 { margin: 0 0 2px; color: #222; font-size: 16px; font-weight: 700; }
.billing-document-heading span { color: #222; font-size: 14px; font-weight: 400; }
.billing-customer-table { width: 95%; margin: 0 auto 15px; border-collapse: collapse; table-layout: fixed; color: #333; font: 14px/1.428 "Helvetica Neue", Helvetica, Arial, sans-serif; }
.billing-customer-table td { padding: 4px 3px; vertical-align: top; }
.billing-customer-table strong { font-size: 14px; font-weight: 700; }
.billing-invoice-meta { font-weight: 700; }
.billing-invoice-meta div { margin-bottom: 2px; }
.billing-invoice-meta strong { font-weight: 700; }
.billing-services-table { width: 95%; min-width: 700px; margin: 0 auto; border-collapse: collapse; table-layout: fixed; text-align: right; }
.billing-subscribers-table { width: 90%; min-width: 700px; margin: 0 auto; border-collapse: collapse; table-layout: fixed; text-align: right; }
.billing-services-table th, .billing-subscribers-table th { padding: 8px 7px; color: #fff; background: steelblue; border: 1px solid steelblue; font: 700 14px "Helvetica Neue", Helvetica, Arial, sans-serif; line-height: 1.35; white-space: normal; }
.billing-services-table th:first-child, .billing-services-table td:first-child { text-align: center; }
.billing-services-table th:nth-child(2), .billing-services-table td:nth-child(2), .billing-subscribers-table th:first-child { text-align: left; }
.billing-services-table td, .billing-subscribers-table td { padding: 8px 7px; color: #333; border: 1px solid steelblue; font: 14px "Helvetica Neue", Helvetica, Arial, sans-serif; white-space: nowrap; }
.billing-services-table td:nth-child(2), .billing-subscribers-table td:first-child { text-align: left; }
.billing-services-table .billing-summary-row td { color: var(--ink); background: #fff; }
.billing-services-table .billing-summary-row td:nth-child(2) { text-align: left; }
.billing-services-table .billing-total-row td { font-weight: 700; background: #edf4f9; }
.billing-services-table .billing-empty-row { text-align: center; }
.billing-amount-words { margin: 8px 12px 0; color: #222; font-size: 14px; }
.billing-amount-words span { color: blue; font-weight: 700; }
.billing-subscriber-heading { margin-bottom: 10px; text-align: center; }
.billing-subscriber-heading h2 { margin: 0 0 6px; color: #036; font-size: 16px; font-weight: 700; text-transform: uppercase; }
.billing-subscriber-heading p { margin: 0; color: red; font-size: 16px; font-weight: 700; }
.billing-subscribers-table th:first-child, .billing-subscribers-table td:first-child { text-align: center; }
.billing-subscribers-table th:nth-child(2), .billing-subscribers-table td:nth-child(2) { text-align: left; }
.billing-subscribers-table .billing-subscriber-total-row td:last-child { color: #b3261e; font-weight: 700; }
.billing-subscribers-table .billing-subscriber-total-row td:first-child { border-right: 0; }
.billing-subscribers-table .billing-subscriber-total-row td:last-child { border-left: 0; }

@keyframes rise-in { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: translateY(0); } }
@keyframes paper-in { from { opacity: 0; transform: translate(10px, 9px) rotate(1deg); } to { opacity: 1; transform: rotate(-2.2deg); } }

@media (max-width: 1120px) {
  .topbar { height: auto; min-height: 96px; flex-wrap: wrap; padding: 12px 0; }
  .public-links { width: 100%; margin: 10px 0; order: 3; flex-wrap: wrap; justify-content: center; gap: 8px 18px; }
}

@media (max-width: 980px) {
  .site-frame { padding: 0 4%; }
  .login-layout { grid-template-columns: minmax(0, 1fr) minmax(310px, .78fr); gap: 5%; }
  .login-column { padding-left: 0; }
  .invoice-scene { min-height: 440px; padding-right: 22px; padding-left: 22px; }
  .account-layout { grid-template-columns: 190px minmax(0, 1fr); gap: 4%; }
  .data-section { padding: 18px; }
}

@media (max-width: 720px) {
  .site-frame { padding: 0 20px; }
  .topbar { height: auto; min-height: 74px; flex-wrap: wrap; padding: 13px 0 0; }
  .topbar-meta { gap: 14px; }
  .public-links { width: 100%; margin: 9px 0 7px; order: 3; flex-wrap: wrap; justify-content: center; gap: 8px 18px; }
  .service-state { font-size: 0; }
  .service-state i { width: 8px; height: 8px; }
  .support-link { padding-left: 13px; }
  .support-caption { display: none; }
  .login-layout { min-height: auto; grid-template-columns: 1fr; gap: 35px; padding: 46px 0 40px; }
  .login-column { max-width: 560px; }
  .login-column h1 { font-size: 36px; }
  .intro-copy { margin-bottom: 26px; }
  .login-form { max-width: 480px; }
  .invoice-scene { min-height: 385px; max-width: 560px; }
  .paper-stack { height: 245px; }
  .invoice-paper { transform: scale(.88) rotate(-2.2deg); }
  .paper-back { transform: scale(.88) rotate(4deg) translate(12px, 3px); }
  .site-footer { min-height: 54px; gap: 12px; font-size: 9px; }
  .site-footer span:last-child { text-align: right; }
  .account-screen { min-height: auto; padding: 22px 0 35px; }
  .account-bar { align-items: flex-start; }
  .account-location .eyebrow { font-size: 9px; }
  .account-identity { display: none; }
  .account-layout { grid-template-columns: 1fr; gap: 12px; }
  .account-rail { min-height: auto; padding: 0; }
  .rail-heading, .rail-help { display: none; }
  .account-nav { padding: 0 0 12px; display: flex; gap: 6px; overflow-x: auto; border-bottom: 1px solid var(--line); }
  .nav-item { width: auto; min-width: max-content; min-height: 38px; padding: 0 11px; }
  .account-content { padding-top: 8px; }
  .page-heading { min-height: 80px; }
  .page-heading h1 { font-size: 22px; }
  .account-status { font-size: 0; }
  .data-section { padding: 16px 14px; }
  .profile-grid { gap: 0 16px; }
  .password-layout { grid-template-columns: 1fr; gap: 20px; }
  .security-note { margin-top: 0; }
  .invoice-filter-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .invoice-filter-common { grid-column: 1 / -1; }
  .invoice-date-fields { grid-column: 1 / -1; }
  .invoice-period-field { grid-column: 1 / -1; }
  .invoice-period-code-note { grid-column: 1 / -1; }
  .invoice-search-button { grid-column: 1 / -1; }
  .debt-filter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .debt-filter-grid > div:first-child, .debt-filter-grid > div:nth-child(2) { grid-column: 1 / -1; }
  .debt-filter-grid .primary-button { grid-column: 1 / -1; }
  .billing-filter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .billing-filter-grid .primary-button { grid-column: 1 / -1; }
  .billing-detail-filter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .billing-detail-filter-grid .primary-button { grid-column: 1 / -1; }
  .content-tabs { margin-bottom: 28px; }
  .about-sections { margin-top: 18px; }
  .about-section { padding: 16px 0; }
  .about-section li { font-size: 12px; }
  .contact-layout { grid-template-columns: 1fr; gap: 18px; }
  .retail-lookup-form { grid-template-columns: 1fr; padding: 16px; }
  .retail-lookup-form .primary-button { grid-column: 1; }
}

@media (max-width: 430px) {
  .site-frame { padding: 0 15px; }
  .brand { gap: 9px; }
  .brand-logo { height: 36px; }
  .support-link strong { font-size: 11px; }
  .login-layout { padding-top: 38px; }
  .login-column h1 { font-size: 31px; }
  .invoice-scene { min-height: 360px; padding: 22px 20px; }
  .scene-coordinate { right: 16px; bottom: 24px; }
  .section-heading h2 { font-size: 12px; }
  .section-note { font-size: 10px; }
  .profile-grid { grid-template-columns: 1fr; }
  .field-wide { grid-column: auto; }
  .password-rules { grid-template-columns: 1fr 1fr; gap: 8px 5px; }
  .mode-option span { padding: 0 9px; font-size: 10px; }
  .invoice-date-fields { gap: 8px; }
  .debt-info-grid { grid-template-columns: 1fr; }
  .billing-customer-table { width: 100%; font-size: 12px; }
  .billing-customer-table strong { font-size: 12px; }
  .billing-invoice-meta { font-size: 11px; }
  .billing-invoice-meta strong { font-size: 11px; }
  .billing-services-table, .billing-subscribers-table { min-width: 700px; }
  .content-page > h1 { font-size: 28px; }
  .guide-steps article { grid-template-columns: 35px minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}