:root {
  color-scheme: light;
  --canvas: #f7f6f2; --side: #f0eee9; --card: #fcfbf8; --ink: #101419; --muted: #4d5661;
  --border: #d9d8d5; --lime: #dfff84; --blue: #1936ff; --blue-dark: #1028c8; --radius: 17px;
  font: 16px/1.5 Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--canvas); color: var(--ink);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: var(--blue-dark); text-underline-offset: .17em; font-weight: 650; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
[hidden] { display: none !important; }
.skip { position: fixed; top: .5rem; left: .5rem; transform: translateY(-200%); background: white; padding: .6rem 1rem; z-index: 5; }
.skip:focus { transform: translateY(0); }
.layout { display: grid; grid-template-columns: 244px minmax(0, 1fr); min-height: 100vh; }
.rail { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 1.55rem; padding: 2rem 1.1rem 1.15rem; background: var(--side); border-right: 1px solid #e2dfd9; overflow-y: auto; }
.brand { width: fit-content; margin: 0 .4rem; display: inline-block; color: var(--ink); font-weight: 950; font-size: clamp(1.75rem, 2.9vw, 2.45rem); letter-spacing: -.09em; line-height: 1.07; text-decoration: none; white-space: nowrap; }
.brand span { color: var(--blue); }
.eyebrow { color: var(--muted); font-size: .76rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; margin: 0 0 .6rem; }
.rail .eyebrow { padding: 0 .6rem; }
.nav { display: grid; gap: .18rem; }
.nav a, .rail-action { display: flex; align-items: center; gap: .75rem; text-align: left; min-height: 45px; border: 0; border-radius: 12px; padding: .57rem .66rem; text-decoration: none; color: var(--ink); font-weight: 620; background: transparent; cursor: pointer; }
.nav a:hover, .rail-action:hover { background: #e5e2db; }
.nav a[aria-current="page"], .rail-action[aria-current="page"] { background: var(--lime); font-weight: 800; }
.icon { width: 23px; height: 23px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.rail-footer { margin-top: auto; display: grid; gap: .65rem; }
.rail-footer .account { border-top: 1px solid #ccc9c2; padding: 1rem .45rem .35rem; display: flex; align-items: center; gap: .55rem; min-width: 0; }
.avatar { background: var(--lime); border-radius: 50%; flex: none; display: grid; place-items: center; width: 40px; height: 40px; color: var(--ink); font-weight: 850; text-decoration: none; }
.account > div { min-width: 0; overflow-wrap: anywhere; }
small, .muted { color: var(--muted); }
.content { width: 100%; max-width: 1550px; margin-inline: auto; padding: 0 clamp(1.25rem, 2.65vw, 3rem) 2.2rem; }
.top { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--border); color: var(--muted); }
.top strong { color: var(--ink); }
.crumb { display: flex; gap: .55rem; align-items: center; }
.hero { margin: 1.65rem 0 1.25rem; display: flex; justify-content: space-between; align-items: end; gap: 1rem; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3, .figure { line-height: 1.04; letter-spacing: -.045em; font-weight: 870; }
h1 { font-size: clamp(2.35rem, 5vw, 4rem); margin-bottom: .48rem; }
h2 { font-size: clamp(1.45rem, 2.3vw, 2rem); margin-bottom: .56rem; }
h3 { font-size: 1.23rem; margin-bottom: .35rem; }
p { margin-bottom: .85rem; }
.hero p:last-child { margin: 0; font-size: clamp(1.02rem, 2vw, 1.33rem); }
.banner { background: linear-gradient(105deg, #dcfa83, #e6ff9d); border-radius: var(--radius); padding: 1.15rem 1.4rem; margin-bottom: 1rem; display: flex; align-items: center; gap: 1.2rem; }
.banner .visual { width: 140px; margin-left: auto; flex: none; }
.banner p, .card p:last-child { margin-bottom: 0; }
.dashboard-actions { margin-bottom: 1rem; }
.grid { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); gap: 1rem; align-items: start; }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; margin-bottom: 1rem; }
.stack { display: grid; gap: .95rem; align-content: start; min-width: 0; }
.card { border: 1px solid var(--border); border-radius: var(--radius); background: var(--card); padding: 1.15rem 1.22rem; min-width: 0; }
.card.accent { background: var(--lime); border-color: var(--lime); }
.card .eyebrow { margin-bottom: .7rem; }
.card > :last-child { margin-bottom: 0; }
.figure { display: block; font-size: clamp(2.05rem, 4vw, 3.35rem); margin: .2rem 0 .35rem; overflow-wrap: anywhere; }
.card-title, .actions { display: flex; align-items: center; justify-content: space-between; gap: .6rem; flex-wrap: wrap; }
.card-title { margin-bottom: .75rem; }
.card-title h2 { margin: 0; }
.actions { justify-content: flex-start; margin-top: .65rem; }
.btn { display: inline-flex; justify-content: center; align-items: center; gap: .45rem; min-height: 43px; border-radius: 11px; border: 1px solid var(--ink); background: transparent; color: var(--ink); text-decoration: none; cursor: pointer; padding: .54rem .9rem; font-weight: 750; line-height: 1.2; text-align: center; }
.btn:hover { background: #eeeae3; }
.btn.primary { background: var(--blue); color: white; border-color: var(--blue); }
.btn.primary:hover { background: var(--blue-dark); }
.btn.block { width: 100%; margin-top: .8rem; }
.btn:disabled { opacity: .5; cursor: wait; }
.pill { display: inline-flex; border-radius: 20px; align-items: center; gap: .32rem; width: fit-content; background: #e9e7e1; font-size: .83rem; padding: .2rem .63rem; font-weight: 750; white-space: nowrap; }
.pill.good { background: #e6f8c5; }
.pill.info { background: #d7eaff; }
.pill.warn { background: #ffedb6; }
.pill.good::before { content: ""; height: .48rem; width: .48rem; border-radius: 50%; background: #25851b; }
.rows { margin: 0; padding: 0; list-style: none; }
.rows > li { border-top: 1px solid var(--border); padding: .72rem 0; }
.rows > li:last-child { padding-bottom: .25rem; }
.row { display: flex; align-items: center; justify-content: space-between; gap: .5rem; flex-wrap: wrap; }
.row strong { overflow-wrap: anywhere; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; }
td, th { padding: .7rem .55rem; border-top: 1px solid var(--border); }
th { color: var(--muted); font-size: .74rem; font-weight: 800; letter-spacing: .065em; text-transform: uppercase; }
td:first-child, th:first-child { padding-left: 0; }
td:last-child, th:last-child { padding-right: 0; }
td a { white-space: nowrap; }
label { display: grid; gap: .3rem; font-weight: 670; }
input, select, textarea { color: var(--ink); background: #fff; border: 1px solid #a9a9a9; padding: .58rem .72rem; border-radius: 9px; max-width: 100%; min-width: 0; }
textarea { min-height: 100px; resize: vertical; }
.form { display: grid; gap: .78rem; }
.form .btn { justify-self: start; }
.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(145px, 100%), 1fr)); gap: .6rem; }
.check { display: flex; align-items: baseline; gap: .5rem; }
.notice { background: #e8f0ff; padding: .65rem .83rem; border-radius: 10px; margin: 0 0 1rem; }
.notice.error { background: #ffebe7; color: #84271b; }
.message-body { white-space: pre-wrap; overflow-wrap: anywhere; }
.support-incidents { margin-bottom: 1rem; }
.knowledge-search { grid-template-columns: minmax(0, 1fr) auto; align-items: end; max-width: 46rem; }
.knowledge-categories { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: .75rem; list-style: none; margin: 1rem 0 0; padding: 0; }
.knowledge-categories li { display: flex; }
.knowledge-categories a { display: grid; align-content: start; gap: .3rem; width: 100%; padding: .85rem 1rem; border: 1px solid var(--border); border-radius: 12px; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.knowledge-categories a:hover { border-color: var(--blue); }
.knowledge-categories a:hover strong { text-decoration: underline; }
.knowledge-status { margin: .85rem 0 .55rem; }
.knowledge-article summary { cursor: pointer; font-weight: 750; overflow-wrap: anywhere; }
.knowledge-article summary small { display: block; margin-left: 1.1rem; font-weight: 550; }
.knowledge-answer { margin-top: .8rem; overflow-wrap: anywhere; }
.knowledge-answer ol { padding-left: 1.5rem; }
.knowledge-answer ol > li + li { margin-top: .6rem; }
.knowledge-answer .btn { margin-bottom: .25rem; }
.perk-offer { border-top: 4px solid var(--lime); }
.perk-brand { margin: .6rem 0 1rem; }
.perk-brand img { display: block; width: min(188px, 100%); height: auto; }
.perk-code { max-width: 14rem; }
.perk-code input { font-weight: 800; letter-spacing: .08em; }
.perk-copy-status { margin-top: .5rem; }
.perk-copy-status:empty { margin: 0; }
.auth-wrap { display: grid; place-items: center; min-height: 100vh; padding: 1.2rem; }
.auth { width: min(500px, 100%); padding: clamp(1.2rem, 5vw, 2.5rem); }
.auth .brand { margin: 0 0 1.8rem; }
.auth h1 { font-size: clamp(2rem, 6vw, 3rem); }
.auth-links { display: flex; gap: .85rem; flex-wrap: wrap; margin-top: 1rem; }
.mobile-toggle { display: none; }
@media (max-width: 1000px) {
  .layout { grid-template-columns: 195px minmax(0, 1fr); }
  .rail { padding-inline: .68rem; }
  .grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 700px) {
  .layout { display: block; }
  .rail { position: static; height: auto; padding: .9rem 1rem; border-right: 0; border-bottom: 1px solid var(--border); gap: .75rem; }
  .rail-head { display: flex; align-items: center; justify-content: space-between; gap: .6rem; }
  .mobile-toggle { display: inline-flex; min-height: 39px; }
  .rail-menu, .rail-footer { display: none; }
  .rail.is-open .rail-menu, .rail.is-open .rail-footer { display: grid; }
  .grid.three { grid-template-columns: minmax(0, 1fr); }
  .top { min-height: 55px; }
  .hero { align-items: start; flex-direction: column; margin-top: 1.2rem; }
  .content { padding-inline: 1rem; }
  .banner .visual { width: 80px; }
}

.perk-banner { align-items: center; }
.perk-status { font-weight: 800; }
.perk-dates { display: flex; flex-wrap: wrap; gap: .75rem 1.75rem; margin: 1rem 0; }
.perk-dates dt { font-size: .88rem; }
.perk-dates dd { font-weight: 750; margin: .2rem 0 0; }

/* Broadband sections stay in the content area, keeping the account menu short. */
.section-nav { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 1.25rem; padding-bottom: .85rem; border-bottom: 1px solid var(--border); }
.section-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: .5rem .8rem; border: 1px solid var(--border); border-radius: 10px; color: var(--ink); text-decoration: none; }
.section-nav a:hover { background: #e5e2db; }
.section-nav a[aria-current="page"] { background: var(--lime); border-color: var(--lime); font-weight: 800; }

.settings-content { max-width: 56rem; }

/* Consistent rhythm for standalone pages, inline actions and expandable forms. */
.page-body { display: grid; gap: 1rem; min-width: 0; }
.page-body > .btn { justify-self: start; }
.page-body > .banner, .page-body > .notice, .page-body > .section-nav { margin-bottom: 0; }
.hero-actions { margin-top: 0; flex: none; }
.card { overflow-wrap: anywhere; }
.btn { max-width: 100%; }
.rows strong + .pill { margin-inline-start: .5rem; }
.rows small { display: block; }
details > summary { min-height: 44px; padding-block: .55rem; cursor: pointer; font-weight: 700; }
details[open] > summary { margin-bottom: .65rem; }
details + details, details > .form + .form, .card > .form + .form { margin-top: 1rem; }
label:has(> input[type="checkbox"]) { display: flex; align-items: flex-start; gap: .6rem; font-weight: 550; }
input[type="checkbox"] { width: 1.1rem; height: 1.1rem; margin: .2rem 0 0; flex: none; }
.card svg:not(.icon):not(.visual) { max-width: 100%; height: auto; }
@media (max-width: 700px) {
  .hero-actions { width: 100%; }
  .top { align-items: flex-start; padding-block: .65rem; }
  .crumb { min-width: 0; flex-wrap: wrap; }
  .top > .row { flex-wrap: nowrap; flex: none; }
}

.content:focus-visible { outline: none; }
.page-body > .grid.three { margin-bottom: 0; }
@media (max-width: 700px) {
  .fields, .knowledge-search { grid-template-columns: minmax(0, 1fr); }
  .responsive-table { display: block; width: 100%; }
  .responsive-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .responsive-table tbody, .responsive-table tr { display: block; }
  .responsive-table tr { border-top: 1px solid var(--border); padding-block: .75rem; }
  .responsive-table td { display: block; border: 0; padding: .35rem 0; overflow-wrap: anywhere; }
  .responsive-table td::before { content: attr(data-label); display: block; color: var(--muted); font-size: .76rem; font-weight: 750; margin-bottom: .2rem; }
  .responsive-table td a { white-space: normal; }
}

.account-change-history { margin-top: 1rem; }
.content { padding-bottom: 6rem; }

.billing-content { max-width: 56rem; }
