/* Django additions inherit the supplied AltraSure navy, teal and pale-lime brand. */
:root{--as-navy:#10324d;--as-teal:#008782;--as-lime:#e5ed99;--as-paper:#f5f8f7;--as-line:#d7e3e4}
*{box-sizing:border-box}body{margin:0;color:var(--as-navy);font-family:Inter,Arial,sans-serif}a{color:inherit}button,input,select,textarea{font:inherit}[hidden]{display:none!important}button,a,input,select,textarea{touch-action:manipulation}a:focus-visible,button:focus-visible{outline:3px solid #00a7a0;outline-offset:4px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
.account-header{max-width:1400px;margin:auto;display:flex;justify-content:space-between;align-items:center;padding:28px 5%;gap:24px}.account-header img{max-width:100%;object-fit:contain}.account-header nav{display:flex;gap:24px;align-items:center;font-size:14px}.account-header form{margin:0}.text-button{border:0;background:none;color:inherit;cursor:pointer}.small-cta{background:var(--as-navy);color:white!important;padding:12px 22px;border-radius:9px;text-decoration:none}.account-layout{max-width:1340px;margin:25px auto 70px;display:grid;grid-template-columns:.9fr 1fr;gap:7%;padding:0 5%;align-items:start}.account-story{position:sticky;top:65px;background:var(--as-navy);color:white;border-radius:22px;padding:58px 40px;overflow:hidden}.account-story:after{content:'';position:absolute;width:210px;height:210px;border:40px solid #0d7f81;border-radius:100%;right:-115px;bottom:30px;pointer-events:none}.account-eyebrow{display:block;font-size:11px;letter-spacing:.16em;font-weight:750;color:var(--as-teal);margin-bottom:18px}.account-story .account-eyebrow{color:#adf0e5}.account-story h1{font-size:clamp(36px,3.5vw,55px);letter-spacing:-.05em;line-height:1.13;margin:0 0 28px}.account-story em{color:var(--as-lime);font-style:normal}.account-story p{color:#d5e6ec;line-height:1.8;max-width:320px}.account-stamp{border-top:1px solid #456277;margin:45px 0 32px;padding-top:24px;font-size:13px}.account-story a{font-size:13px}.account-card{padding:24px 0;min-width:0}.account-card h2{font-size:32px;letter-spacing:-.025em;line-height:1.2;margin:0 0 18px}.account-card p{line-height:1.7;margin-bottom:22px;color:#4b6575}.stack-form{display:grid;gap:19px;margin-top:26px}.form-field label{display:block;font-size:14px;font-weight:650;margin-bottom:9px}.form-field input:not([type=checkbox]),.form-field select,.form-field textarea{width:100%;min-height:48px;border:1px solid #b8ced3;border-radius:8px;padding:12px;background:#fff;color:var(--as-navy);font-size:16px}.form-field input[type=checkbox]{width:19px;height:19px}.field-help{color:#657680;font-size:12px;line-height:1.6;margin-top:7px}.field-help ul{padding-left:20px;margin:5px 0}.field-error,.form-errors{color:#9b352e;font-size:14px;background:#fff3ed;padding:10px;border-radius:6px}.primary-button,.secondary-button{display:inline-flex;align-items:center;justify-content:space-between;gap:20px;padding:15px 22px;min-height:48px;border-radius:9px;cursor:pointer;font-weight:650;text-decoration:none;line-height:1.4}.primary-button{border:1px solid var(--as-teal);background:var(--as-teal);color:white}.secondary-button{border:1px solid #a9c3ca;background:white;color:var(--as-navy)}.account-links{display:flex;justify-content:space-between;gap:16px;margin-top:26px;font-size:14px}.account-footer{border-top:1px solid var(--as-line);padding:25px 5%;display:flex;justify-content:space-between;font-size:12px;gap:20px;line-height:1.8}.flash-stack{max-width:1150px;margin:15px auto;padding:0 20px}.flash{padding:14px 20px;border-radius:9px;background:#e5f3ec;border:1px solid #bedfcf}.flash.error{background:#fff0ed;color:#9b352e}.flash.warning{background:#fff7df}.status-list{border-block:1px solid var(--as-line);margin:25px 0}.status-list>div{display:flex;justify-content:space-between;gap:20px;padding:18px 0;border-bottom:1px solid #edf1f1}.status-list strong{text-align:right}.status-list span{color:#5e7889}.invoice-row{display:flex;justify-content:space-between;gap:25px;padding:22px 0;border-bottom:1px solid var(--as-line);text-decoration:none}.invoice-row strong{font-size:15px}.invoice-row small{display:block;font-size:11px;margin-top:7px}.empty-panel{background:var(--as-paper);padding:28px;border:1px solid var(--as-line);border-radius:12px;line-height:1.7}.section-gap{margin-top:32px}.idle-dialog{border:1px solid var(--as-line);border-radius:18px;padding:35px;max-width:510px;width:calc(100% - 32px);box-shadow:0 25px 120px #10324d55;color:var(--as-navy)}.idle-dialog::backdrop{background:#051b30b5;backdrop-filter:blur(4px)}.idle-dialog h2{font-size:26px;margin:10px 0 20px}.idle-dialog p{line-height:1.65}.idle-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:25px}#idle-error{color:#9b352e}
.pricing-section{scroll-margin-top:80px}.pricing-table-wrap{border:1px solid #cadae0;border-radius:18px;overflow:hidden;margin-bottom:20px}.pricing-table{width:100%;border-collapse:collapse;text-align:left}.pricing-table thead{background:var(--as-navy);color:#dbe9ed}.pricing-table th,.pricing-table td{padding:25px 30px;border-bottom:1px solid #d9e4e7;font-size:15px;line-height:1.6}.pricing-table thead th{font-size:11px;letter-spacing:.15em;text-transform:uppercase}.pricing-table tbody th{width:27%;font-size:18px}.pricing-table td strong{display:block;font-size:28px;line-height:1.25;letter-spacing:-.02em}.pricing-table td small{display:block;font-size:12px;color:#527383;margin-top:6px}.pricing-table tbody tr:nth-child(odd){background:#f6f9f8}.pricing-table .pricing-free{background:#eef2d3!important}.pricing-icon{display:inline-block;width:30px;color:var(--as-teal)}.pricing-note{max-width:810px;font-size:13px;line-height:1.7;color:#526f7e}.pricing-section .hero-actions{margin-top:25px}.us .main{min-width:0}.us .topbar,.us .content{min-width:0}.us .table-wrap{overflow-x:auto}.us .rail .brand img{width:190px;max-width:100%;height:auto}.us .app-pill{line-height:1.5}
@media(max-width:800px){.account-layout{grid-template-columns:1fr;margin-top:10px;padding:0 6%;gap:15px}.account-story{position:static;padding:27px}.account-story h1{font-size:35px}.account-story p,.account-stamp,.account-story>a{display:none}.account-story .account-eyebrow{margin-bottom:12px}.account-story h1{margin:0}.account-header{padding:20px 6%;gap:12px}.account-header img{width:165px;height:auto}.account-header nav{gap:14px}.account-header nav>a:first-child{display:none}.account-card{padding-top:24px}.account-footer{flex-direction:column}.pricing-table th,.pricing-table td{padding:20px 18px}.pricing-table td strong{font-size:24px}.pricing-table tbody th{font-size:15px}.us input,.us select,.us textarea{font-size:16px!important}.site-header-actions{gap:8px!important}.site-header .site-logo{width:140px}.us .v8-top-actions{gap:5px}.us .topbar{padding:15px}.us .content{padding:18px}}
@media(max-width:540px){.pricing-table thead{display:none}.pricing-table tr{display:grid;grid-template-columns:1fr 1fr;border-bottom:1px solid #c5d7db;padding:15px}.pricing-table tbody th{width:auto;align-self:center}.pricing-table th,.pricing-table td{padding:12px;border:0}.pricing-table td:last-child{grid-column:1/-1;padding-top:0}.account-header nav>a[href='/contact/']{display:none}.account-header nav{gap:10px;font-size:12px}.account-header .small-cta{padding:10px 13px}.account-links{flex-wrap:wrap}.account-card h2{font-size:28px}.status-list>div{flex-wrap:wrap}.status-list strong{overflow-wrap:anywhere}.site-header .site-button{font-size:11px;padding:8px}.site-header{gap:6px!important}.site-header .site-logo{width:123px}.site-header .site-menu-button{padding:0}.invoice-row{flex-direction:column;gap:10px}.us .v8-command kbd{display:none}}
@media print{.account-header nav,.account-story,.account-footer,form,.flash-stack,[data-print],.idle-dialog{display:none!important}.account-layout{display:block;margin:0;padding:0}.account-card{width:100%}.account-header{padding:0 0 20px}.account-card a[href='/billing/']{display:none}}

/* Anchor decorative art to its card and keep the full mobile header inside the viewport. */
@media(max-width:800px){.account-story{position:relative;top:auto}.site-header{padding-inline:16px}.site-header-actions{flex-shrink:0}.site-header .site-button{white-space:nowrap}}

/* Grid children must shrink to their tracks; the rate selector has long option labels. */
.site .value-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.site .value-grid>*{min-width:0}.calculator-fields>label{min-width:0}.calculator-fields select{width:100%;min-width:0;max-width:100%;padding:12px;border:1px solid #b8ced3;border-radius:7px;background:white;color:#10324d;font:inherit}
@media(max-width:800px){.site .value-grid{grid-template-columns:minmax(0,1fr)}}
/* Restore native Django billing/account documents hidden by the original MVP print reset. */
@media print{body>.account-layout{display:block!important}body>.account-header{display:flex!important}}
/* Keep printable native account statements inside a comfortable paper margin. */
@media print{@page{size:A4;margin:14mm}.account-header img{width:210px;height:auto}.account-card{padding-top:24px}.print-hide{display:none!important}}

/* V3 account shell: clear form hierarchy, a quiet canvas and a connected brand story. */
.account-page{min-height:100vh;background:#f7f9f8;display:flex;flex-direction:column}
.account-skip{position:fixed;top:12px;left:12px;z-index:2000;transform:translateY(-160%);background:#10324d;color:#fff;border-radius:6px;padding:12px 18px;text-decoration:none}
.account-skip:focus{transform:none}
.account-header{width:min(1360px,100%);padding:24px 48px;min-height:98px}
.account-logo{display:block;flex:0 0 auto}.account-header img{display:block;width:210px;height:auto}
.account-header nav{gap:26px;font-size:13px;font-weight:600}.account-header nav a{text-decoration:none}.account-header nav a:hover{text-decoration:underline;text-underline-offset:5px}.account-header nav a[aria-current=page]:not(.small-cta){color:#00746f;text-decoration:underline;text-underline-offset:6px}
.account-header .small-cta{display:inline-flex;align-items:center;gap:24px;padding:12px 18px;background:#10324d;border-radius:6px}.account-header .text-button{font-size:13px;padding:10px 0}
.account-layout{width:min(1240px,100%);grid-template-columns:minmax(340px,.95fr) minmax(0,1fr);gap:84px;padding:0 48px;margin:30px auto 76px;flex:1;align-items:start}
.account-story{position:sticky;top:32px;min-height:594px;padding:44px 38px 32px;border-radius:14px;background:#10324d;box-shadow:none;display:flex;flex-direction:column}
.account-story:after{content:none}.account-story .account-eyebrow{font-size:10px;color:#b3ddd8;letter-spacing:.17em;margin-bottom:35px}.account-story h1{font-size:clamp(32px,3.15vw,44px);line-height:1.17;letter-spacing:-.047em;font-weight:600;margin-bottom:23px}.account-story em{color:#e5ed99}.account-story p{max-width:310px;color:#d0e0e7;font-size:15px;line-height:1.75;margin:0}
.account-story-visual{position:relative;min-height:95px;display:flex;align-items:center;gap:11px;margin:30px 0 18px}.account-story-line{height:1px;background:#568889;position:absolute;left:0;right:0;top:50%}.account-story-node{position:relative;padding:12px 15px;border:1px solid #507280;background:#163d56;border-radius:6px;font-size:11px;font-weight:650;line-height:1.6;flex:1;text-align:center}.account-story-node:last-child{background:#e5ed99;border-color:#e5ed99;color:#10324d}
.account-stamp{margin:12px 0 24px;padding-top:24px;border-color:#36566c;color:#d8e6eb;font-size:11px;line-height:1.8}.account-stamp>span{display:block;color:#a7c9cf;letter-spacing:.1em;font-size:9px;margin-bottom:8px}.account-story>a{margin-top:auto;font-size:12px;text-decoration:none;color:#e5ed99}.account-story>a:hover{text-decoration:underline}
.account-card{padding:28px 0;max-width:520px;width:100%;align-self:center}.account-card>.account-eyebrow{font-size:10px;letter-spacing:.15em;margin-bottom:17px;color:#00746f}.account-card h2{font-size:32px;line-height:1.18;font-weight:600;letter-spacing:-.04em;margin-bottom:13px}.account-card p{font-size:14px;color:#536a77;line-height:1.7}.account-card>p{margin-top:0;margin-bottom:26px}.stack-form{gap:19px;margin-top:29px}.form-field label{font-size:13px;font-weight:650;margin-bottom:8px;color:#10324d}.form-field input:not([type=checkbox]),.form-field select,.form-field textarea{border-color:#b9cdd1;border-radius:6px;min-height:48px;padding:12px 13px;background:#fff;transition:border-color .15s,box-shadow .15s}.form-field input:focus,.form-field select:focus,.form-field textarea:focus{outline:3px solid #00878225;outline-offset:1px;border-color:#007e7a}.form-field input[type=checkbox]{accent-color:#007e7a}.field-help{color:#566f7b;font-size:12px}.account-card .primary-button{background:#007c78;border-color:#007c78;border-radius:6px;min-height:50px;font-size:14px}.account-card .primary-button:hover{background:#006b68}.account-card .secondary-button{border-radius:6px}.account-links{font-size:13px;padding-top:24px;border-top:1px solid #d7e3e4;margin-top:26px;line-height:1.7}.account-links a{color:#00746f;text-underline-offset:4px;font-weight:600}.account-card .account-links{margin-bottom:0}
.account-footer{width:min(1360px,100%);align-self:center;border-top-color:#d7e3e4;margin-top:auto;padding:25px 48px 28px;color:#526a78;font-size:11px;align-items:center}.account-footer>span:last-child{display:flex;gap:22px;flex-wrap:wrap}.account-footer a{text-decoration:none}.account-footer a:hover{text-decoration:underline}.account-footer>span>span{margin-inline:9px;color:#9aadb4}
/* Account and billing tables remain readable when labels or invoice references wrap. */
.account-card .status-list>div{font-size:13px;line-height:1.6}.account-card .invoice-row{padding:21px 0}.account-card .empty-panel{background:#edf3ef;border-radius:8px}.account-card .flash{font-size:13px;line-height:1.65}
@media(max-width:1050px){.account-layout{gap:48px;grid-template-columns:minmax(300px,.9fr) minmax(0,1fr);padding-inline:32px}.account-header,.account-footer{padding-inline:32px}.account-story{padding:35px 28px}.account-story-visual{gap:7px}.account-story-node{padding:11px 8px}.account-story h1{font-size:37px}}
@media(max-width:800px){.account-header{padding:20px 24px;min-height:86px}.account-header img{width:180px}.account-header nav{gap:18px}.account-layout{grid-template-columns:minmax(0,1fr);max-width:600px;gap:26px;padding:0 24px;margin:16px auto 44px}.account-story{position:relative;top:auto;min-height:0;padding:28px 30px;border-radius:10px}.account-story .account-eyebrow{margin-bottom:14px;font-size:9px}.account-story h1{font-size:32px;max-width:350px;margin:0;line-height:1.12}.account-story h1 br{display:none}.account-story h1 em{display:block}.account-story p,.account-story-visual,.account-stamp,.account-story>a{display:none}.account-card{padding:7px 4px 0;max-width:none}.account-card h2{font-size:29px}.account-footer{padding:22px 24px;align-items:flex-start;gap:12px;font-size:10px}.account-footer>span:last-child{gap:18px}.account-header nav>a[href='/#pricing'],.account-header nav>a[href='/contact/']{display:none}}
@media(max-width:420px){.account-header{padding:19px 20px;gap:14px}.account-header img{width:155px}.account-header nav{gap:12px;font-size:12px}.account-header .small-cta{padding:10px 12px;gap:0}.account-header .small-cta span{display:none}.account-layout{padding-inline:20px}.account-story{padding:25px}.account-story h1{font-size:29px}.account-card h2{font-size:27px}.account-links{gap:14px;flex-wrap:wrap}.account-footer{padding-inline:20px}.account-footer>span:last-child{gap:13px}.account-story .account-eyebrow{letter-spacing:.12em}}
@media(prefers-reduced-motion:reduce){.account-page *{transition:none!important;scroll-behavior:auto!important}}
/* The original MVP print reset hides body children, so restore the native account shell. */
@media print{body>.account-page{display:block!important;background:#fff}.account-page .account-skip,.account-page .account-story,.account-page .account-header nav,.account-page .account-footer{display:none!important}.account-page .account-header{display:flex!important;padding:0 0 20px;min-height:0}.account-page .account-layout{display:block!important;width:100%;max-width:none;margin:0;padding:0}.account-page .account-card{width:100%;max-width:none;padding-top:12px}.account-page .account-card a[href='/billing/']{display:none}}

/* Keep mobile account content together instead of stretching the two grid rows. */
@media(max-width:800px){.account-layout{align-content:start}.account-card{align-self:start}}
