:root {
    --background: #fff;
    --foreground: #17324f;
    --muted: #f1f4f8;
    --muted-foreground: #66778b;
    --border: #e4e9ef;
    --popover: #fff;
    --radius: 16px;
    --navy: #142f4e;
    --gold: #bd8e32;
    --light-gold: #fcf4df;
}
* {
    box-sizing: border-box;
}
body {
    margin: 0;
    background: #f3f5f9;
    color: #17324f;
    font-family: Tahoma, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.8;
}
button,
a,
input {
    font: inherit;
}
button,
a {
    touch-action: manipulation;
}
button {
    cursor: pointer;
}
button:disabled {
    cursor: not-allowed;
}
button:focus-visible,
a:focus-visible {
    outline: 3px solid #c59639;
    outline-offset: 4px;
}
.top {
    background: var(--navy);
    color: white;
    border-bottom: 1px solid #ffffff20;
}
.top-inner {
    max-width: 1240px;
    margin: auto;
    padding: 19px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.brand {
    display: flex;
    align-items: center;
    gap: 13px;
    color: white;
    text-decoration: none;
    font-weight: bold;
}
.brand svg {
    color: #e4bd68;
}
.brand small {
    display: block;
    font-size: 12px;
    font-weight: normal;
    color: #c6d4e3;
}
.account {
    display: flex;
    align-items: center;
    gap: 13px;
}
.account button {
    background: #ffffff14;
    border: 1px solid #ffffff24;
    color: white;
    border-radius: 50%;
    width: 39px;
    height: 39px;
    display: grid;
    place-items: center;
}
.demo-label {
    border: 1px solid #e8c47a60;
    color: #f1d598;
    border-radius: 6px;
    padding: 1px 9px;
    font-size: 12px;
}
.welcome {
    height: 238px;
    background: #214765;
    color: white;
}
.welcome > div {
    max-width: 1240px;
    margin: auto;
    padding: 26px 10px;
}
.welcome p {
    display: flex;
    gap: 7px;
    align-items: center;
    font-size: 14px;
    color: #d4e0eb;
}
.welcome h1 {
    font-size: 22px;
    margin: 26px 0 4px;
}
.welcome span {
    font-size: 12px;
    color: #c4d2df;
}
.layout {
    max-width: 1240px;
    margin: -65px auto 0;
    display: grid;
    grid-template-columns: 390px minmax(0, 1fr);
    gap: 26px;
    padding: 0 10px;
    align-items: start;
}
.quick-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    padding-top: 25px;
}
.nav-card {
    background: #fff;
    border: 1px solid #e9edf1;
    border-radius: 18px;
    min-height: 144px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    box-shadow: 0 6px 18px #14304e06;
    transition: 0.18s;
}
.nav-card svg {
    color: var(--gold);
}
.nav-card strong {
    font-size: 16px;
}
.nav-card:hover,
.nav-card.chosen {
    border-color: #cda954;
    background: #fffcf5;
    transform: translateY(-2px);
}
.workspace {
    min-width: 0;
}
.banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 225px;
    padding: 36px 38px;
    border: 1px solid #ead8ae;
    background: #f8edcf;
    border-radius: 18px;
    box-shadow: 0 4px 8px #102b4605;
    margin-bottom: 26px;
}
.banner h2 {
    font-size: 25px;
    margin: 12px 0 8px;
}
.banner p {
    font-size: 14px;
    color: #6e695b;
    margin: 0;
}
.eyebrow {
    font-size: 12px;
    color: #8f692a;
}
.banner-icon {
    color: #b28632;
    flex-shrink: 0;
    margin-right: 20px;
}
.panel {
    padding: 25px 32px 30px;
    background: #fff;
    border: 1px solid #edf0f4;
    border-radius: 18px;
    box-shadow: 0 6px 14px #14304e03;
    min-height: 220px;
}
.panel-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}
.panel-heading h2 {
    font-size: 18px;
    margin: 0;
}
.back {
    display: flex;
    align-items: center;
    background: transparent;
    border: 0;
    color: #66778b;
    font-size: 14px;
}
.tab-list {
    display: flex !important;
    width: 100% !important;
    height: auto !important;
    background: transparent !important;
    gap: 5px;
    padding: 0 !important;
    margin-bottom: 18px;
    flex-wrap: wrap;
}
.tab-list [role="tab"] {
    padding: 10px 8px;
    font-family: inherit;
    line-height: 1.7;
    flex: 1;
    font-size: 13px;
    color: #6e7e92;
    border-radius: 7px;
    white-space: normal;
}
.tab-list [data-state="active"] {
    background: var(--navy) !important;
    color: white !important;
}
.section-label {
    background: #edf2f7;
    color: #34516b;
    border-radius: 8px;
    padding: 6px 13px;
    font-weight: bold;
    font-size: 14px;
    margin: 0 0 26px;
}
.cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    padding: 0 8px;
}
.service-card {
    min-height: 159px;
    border-radius: 22px;
    box-shadow: 0 6px 28px #1a345b0b;
    border: 1px solid #f2f3f6;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 15px 6px 13px;
    color: var(--card-color, #17324f);
    gap: 7px;
}
.service-card h3 {
    font-size: 14px;
    font-weight: bold;
    line-height: 1.6;
    min-height: 45px;
    margin: 0;
    display: flex;
    align-items: center;
}
.pill {
    border: 1px solid var(--gold);
    border-radius: 25px;
    padding: 5px 17px;
    color: #8f661f;
    font-size: 14px;
    background: white;
    transition: 0.15s;
}
.pill:hover {
    background: var(--navy);
    border-color: var(--navy);
    color: white;
}
.inactive .pill {
    background: #bdc3cd;
    border-color: #bdc3cd;
    color: white;
}
.inactive small {
    font-size: 12px;
    color: #89919f;
}
.preview-note {
    display: flex;
    gap: 7px;
    font-size: 12px;
    color: #718095;
    align-items: center;
    margin: 18px 2px;
}
.empty {
    margin: 22px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    background: #fbf8ef;
    border: 1px solid #eadbb9;
    border-radius: 8px;
    padding: 15px;
    font-size: 14px;
    color: #8b6e32;
    text-align: center;
}
.empty p {
    margin: 0;
}
.muted {
    color: #748298;
    font-size: 12px;
}
.fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px 22px;
}
label {
    display: flex;
    flex-direction: column;
    gap: 7px;
    font-size: 14px;
}
input {
    min-width: 0;
    width: 100%;
    border: 1px solid #e4e9ef;
    border-radius: 9px;
    background: #f8fafc;
    padding: 10px 13px;
    color: #17324f;
    outline: none;
    font-size: 15px;
}
input:focus {
    border-color: #bd8e32;
    box-shadow: 0 0 0 3px #bd8e3218;
}
.form-actions {
    display: flex;
    gap: 10px;
    border-top: 1px solid #edf0f4;
    padding-top: 20px;
    margin-top: 24px;
}
.primary {
    background: var(--navy);
    color: white;
    border: 0;
    padding: 9px 19px;
    border-radius: 8px;
    font-size: 14px;
}
.secondary {
    background: #f1f4f8;
    color: #34516b;
    border: 1px solid #e0e6ed;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
}
.notice {
    display: flex;
    gap: 7px;
    align-items: center;
    color: #887039;
    background: #fbf6e9;
    padding: 10px;
    border-radius: 8px;
    font-size: 12px;
    margin-bottom: 22px;
}
.sample-button {
    margin-bottom: 20px;
}
.life-detail {
    padding: 18px;
    border: 1px solid #e6ebf0;
    border-radius: 16px;
}
.life-detail tr:nth-child(odd) {
    background: #f7f9fb;
}
.life-detail td {
    font-size: 14px;
    padding: 12px;
}
.life-detail td:first-child {
    color: #74849b;
}
.life-actions {
    display: flex;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 25px;
}
.life-actions button {
    border: 1px solid #d5dfeb;
    border-radius: 9px;
    background: #f5f8fc;
    color: #476382;
    font-size: 12px;
    padding: 7px;
}
.search {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}
.table-empty {
    text-align: center;
    height: 130px;
    color: #748298;
}
.month-label {
    max-width: 250px;
}
.service-dialog {
    background: white !important;
    padding: 35px !important;
    border-radius: 18px !important;
}
.service-dialog [data-slot="dialog-title"] {
    text-align: right;
}
.service-dialog [data-slot="dialog-description"] {
    text-align: right;
    line-height: 1.9;
}
.service-dialog form {
    display: grid;
    gap: 17px;
}
footer {
    max-width: 1240px;
    margin: 45px auto 0;
    padding: 24px 10px 32px;
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #8793a4;
}
footer div {
    display: flex;
    gap: 18px;
}
footer button {
    background: none;
    border: 0;
    color: #738298;
    font-size: 12px;
}
.to-top {
    position: fixed;
    bottom: 24px;
    left: 24px;
    display: grid;
    place-items: center;
    background: #e4d0a1;
    color: #76561f;
    border: 0;
    border-radius: 10px;
    width: 38px;
    height: 38px;
}
@media (max-width: 1000px) {
    .layout {
        grid-template-columns: 290px 1fr;
        gap: 18px;
    }
    .panel {
        padding: 20px;
    }
    .cards {
        grid-template-columns: repeat(3, 1fr);
        padding: 0;
    }
    .banner {
        padding: 28px;
    }
    .banner-icon {
        width: 85px;
    }
    .banner h2 {
        font-size: 20px;
    }
    .nav-card {
        min-height: 132px;
    }
    .top-inner,
    .welcome > div {
        padding-left: 24px;
        padding-right: 24px;
    }
}
@media (max-width: 720px) {
    .welcome {
        height: 192px;
    }
    .welcome h1 {
        font-size: 18px;
        margin-top: 15px;
    }
    .layout {
        display: flex;
        flex-direction: column;
        margin-top: -28px;
        padding: 0 16px;
        gap: 20px;
    }
    .quick-nav {
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 6px;
        width: 100%;
        padding-top: 0;
    }
    .nav-card {
        min-height: 104px;
        border-radius: 12px;
        gap: 9px;
        padding: 9px 2px;
    }
    .nav-card svg {
        width: 25px;
    }
    .nav-card strong {
        font-size: 12px;
        line-height: 1.7;
    }
    .workspace {
        width: 100%;
    }
    .banner {
        min-height: 160px;
        padding: 24px;
        margin-bottom: 18px;
    }
    .banner-icon {
        width: 72px;
        margin-right: 10px;
    }
    .banner h2 {
        font-size: 19px;
    }
    .banner p {
        font-size: 12px;
    }
    .panel {
        padding: 20px 15px;
    }
    .cards {
        gap: 10px;
        grid-template-columns: repeat(2, 1fr);
    }
    .service-card {
        min-height: 159px;
    }
    .service-card h3 {
        font-size: 14px;
    }
    .tab-list [role="tab"] {
        flex: 1 0 40%;
        font-size: 13px;
    }
    .fields {
        grid-template-columns: 1fr;
    }
    .top-inner {
        padding: 14px 16px;
    }
    .brand {
        font-size: 14px;
        gap: 8px;
    }
    .brand svg {
        width: 27px;
    }
    .brand small {
        font-size: 11px;
    }
    .account {
        gap: 6px;
    }
    .account button {
        width: 32px;
        height: 32px;
    }
    .demo-label {
        display: none;
    }
    footer {
        padding: 15px 22px 35px;
        gap: 15px;
        flex-wrap: wrap;
    }
    .preview-note {
        align-items: start;
        line-height: 1.9;
    }
    .section-label {
        margin-bottom: 18px;
    }
}
.steps {
    display: flex;
    gap: 8px;
    margin: 15px 0 22px;
}
.steps span {
    flex: 1;
    border-radius: 8px;
    padding: 10px 6px;
    text-align: center;
    background: #edf2f7;
    color: #66778b;
    font-size: 13px;
}
.steps .current {
    background: #142f4e;
    color: white;
}
@media (max-width: 720px) {
    .steps {
        gap: 4px;
    }
    .steps span {
        font-size: 12px;
    }
}
.auth {
    max-width: 450px;
    margin: 65px auto;
    padding: 32px;
    background: white;
    border-radius: 18px;
    border: 1px solid #e4e9ef;
}
.auth form {
    display: grid;
    gap: 18px;
}
.flash {
    padding: 12px 18px;
    border-radius: 10px;
    background: #e5f5eb;
    color: #23613d;
    margin-bottom: 20px;
}
.error {
    background: #fff0ed;
    color: #943f30;
}
.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.admin-table th,
.admin-table td {
    padding: 10px;
    border-bottom: 1px solid #e4e9ef;
    text-align: right;
}
.scroll-table {
    overflow-x: auto;
}
.nav-card {
    text-decoration: none;
    color: inherit;
}
.tab-list a {
    text-decoration: none;
    padding: 8px 12px;
    font-size: 14px;
    border-radius: 7px;
    color: #66778b;
}
.tab-list a.selected {
    background: #142f4e;
    color: white;
}
.fields select,
.fields textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #e4e9ef;
    border-radius: 9px;
    background: #f8fafc;
    font: inherit;
}
.fields textarea {
    min-height: 90px;
}
.status {
    border-radius: 8px;
    background: #edf2f7;
    padding: 3px 8px;
}
.brand {
    text-decoration: none;
}
.policy-actions {
    display: flex;
    gap: 8px;
    margin-bottom: 18px;
}
.service-icon {
    font-size: 30px;
}
.form-actions {
    align-items: center;
}
.form-actions a,
.back {
    text-decoration: none;
}
details {
    margin: 14px 0;
}
summary {
    cursor: pointer;
}
dt {
    color: #66778b;
}
dd {
    margin: 0 0 12px;
}
@media print {
    .top,
    .welcome,
    .quick-nav,
    footer,
    .form-actions,
    .preview-note,
    .banner {
        display: none;
    }
    .layout {
        display: block;
        margin: 0;
        max-width: none;
    }
    .panel {
        border: 0;
    }
    .workspace {
        width: 100%;
    }
}
body:has(#third-wizard) .layout {
    grid-template-columns: 230px minmax(0, 1fr);
    max-width: 1480px;
}
body:has(#third-wizard) .banner {
    min-height: 120px;
}
.wizard-steps {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    list-style: none;
    padding: 0;
    margin: 24px 0 40px;
    gap: 5px;
    font-size: 13px;
    text-align: center;
}
.wizard-steps li {
    color: #8593a4;
    border-top: 3px solid #e1e6ec;
    padding-top: 10px;
}
.wizard-steps span {
    display: block;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    background: #e1e6ec;
    margin: -27px auto 9px;
    display: grid;
    place-items: center;
    border: 5px solid white;
    box-sizing: content-box;
}
.wizard-steps .active {
    border-color: #bd8e32;
    color: #8a631b;
}
.wizard-steps .active span {
    background: #bd8e32;
    color: white;
}
.wizard-steps .complete {
    border-color: #142f4e;
    color: #142f4e;
}
.wizard-steps .complete span {
    background: #142f4e;
    color: white;
}
.wizard-body {
    min-height: 340px;
}
.wizard-body h3 {
    font-size: 15px;
    margin: 16px 0;
    color: #34516b;
}
.wizard-body .fields {
    margin: 18px 0;
    gap: 20px;
}
.wizard-body .three-columns {
    grid-template-columns: repeat(3, 1fr);
}
.wizard-body .one-column {
    grid-template-columns: 1fr;
    max-width: 650px;
    margin-right: auto;
}
.radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    padding: 12px 0;
    margin-bottom: 20px;
    border-bottom: 1px solid #e4e9ef;
}
.checkline {
    display: flex;
    flex-direction: row;
    gap: 8px;
    align-items: center;
    margin: 12px 0;
}
.checkline input {
    width: 18px;
    height: 18px;
}
.vehicle-grid {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(200px, 1fr);
    gap: 22px;
}
.previous-policy {
    background: #f6f8fb;
    padding: 16px;
    border-radius: 12px;
}
.previous-policy label {
    margin: 15px 0;
}
.wizard-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    margin: 30px 0 12px;
}
.wizard-actions [data-next] {
    margin-right: auto;
}
.wizard-body textarea {
    font: inherit;
    width: 100%;
    min-height: 85px;
    border: 1px solid #e4e9ef;
    border-radius: 8px;
    padding: 10px;
}
.wizard-body .plate {
    display: flex;
    align-items: center;
    background: #fff;
    border: 2px solid #142f4e;
    border-radius: 7px;
    max-width: 370px;
    margin: 25px auto;
    gap: 8px;
    padding: 4px;
    color: #142f4e;
}
.plate input {
    width: 60px;
    text-align: center;
    padding: 5px;
    border: 0;
}
.plate select {
    width: 60px;
    font: inherit;
    padding: 5px;
    border: 0;
    background: #f5f7fb;
}
.plate label {
    border-left: 2px solid #142f4e;
    padding-left: 7px;
    gap: 0;
    text-align: center;
}
.plate-flag {
    background: #142f4e;
    color: white;
    font-size: 11px;
    padding: 8px 3px;
    border-top: 6px solid #b18d44;
}
.premium {
    padding: 24px 0;
    color: #142f4e;
    font-size: 20px;
    text-align: left;
}
.premium strong {
    color: #986e25;
    font-size: 26px;
}
.review-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}
.review-grid > div {
    background: #f6f8fb;
    padding: 12px;
    border-radius: 8px;
}
.review-grid dt {
    font-size: 12px;
}
.review-grid dd {
    font-size: 14px;
    overflow-wrap: anywhere;
    margin-top: 8px;
}
.wizard-body input:disabled,
.wizard-body select:disabled {
    background: #e8ebef;
}
.wizard-actions button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
@media (max-width: 1000px) {
    body:has(#third-wizard) .layout {
        display: block;
    }
    .quick-nav {
        display: flex;
        gap: 10px;
        margin-bottom: 20px;
    }
    .quick-nav .nav-card {
        flex: 1;
        font-size: 12px;
        min-height: 90px;
    }
    .vehicle-grid {
        grid-template-columns: 1fr;
    }
    .previous-policy {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .previous-policy h3 {
        grid-column: 1/-1;
    }
}
@media (max-width: 700px) {
    .wizard-steps {
        grid-template-columns: repeat(3, 1fr);
        gap: 28px 5px;
        font-size: 12px;
    }
    .wizard-body .three-columns,
    .review-grid {
        grid-template-columns: 1fr 1fr;
    }
    .wizard-actions {
        flex-wrap: wrap;
    }
    .previous-policy {
        grid-template-columns: 1fr;
    }
    .radio-group {
        gap: 12px;
    }
    .wizard-body .plate input {
        width: 48px;
    }
    .wizard-body .plate select {
        width: 48px;
    }
    .quick-nav {
        overflow-x: auto;
    }
    .quick-nav .nav-card {
        min-width: 100px;
    }
}
.continue-box {
    max-width: 520px;
    margin: 35px auto;
    padding: 25px;
    border: 1px solid #e4e9ef;
    border-radius: 14px;
    background: #f8fafc;
}
.continue-box h3 {
    margin: 0 0 15px;
    font-size: 19px;
}
.api-result {
    max-height: 360px;
    overflow: auto;
    background: #f3f6fa;
    padding: 15px;
    border-radius: 8px;
    font-size: 12px;
    text-align: left;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}
/* Layout copied from the supplied reference */
:root {
    --background: #fff;
    --foreground: #17324f;
    --muted: #f1f4f8;
    --muted-foreground: #66778b;
    --border: #e4e9ef;
    --popover: #fff;
    --radius: 16px;
    --navy: #142f4e;
    --gold: #bd8e32;
    --light-gold: #fcf4df;
}
* {
    box-sizing: border-box;
}
body {
    color: #17324f;
    background: #f3f5f9;
    margin: 0;
    font-family: Tahoma, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.8;
}
button,
a,
input {
    font: inherit;
}
button,
a {
    touch-action: manipulation;
}
button {
    cursor: pointer;
}
button:disabled {
    cursor: not-allowed;
}
:is(button:focus-visible, a:focus-visible) {
    outline-offset: 4px;
    outline: 3px solid #c59639;
}
.top {
    background: var(--navy);
    color: #fff;
    border-bottom: 1px solid #ffffff20;
}
.top-inner {
    justify-content: space-between;
    align-items: center;
    max-width: 1240px;
    margin: auto;
    padding: 19px 10px;
    display: flex;
}
.brand {
    color: #fff;
    align-items: center;
    gap: 13px;
    font-weight: 700;
    text-decoration: none;
    display: flex;
}
.brand svg {
    color: #e4bd68;
}
.brand small {
    color: #c6d4e3;
    font-size: 12px;
    font-weight: 400;
    display: block;
}
.account {
    align-items: center;
    gap: 13px;
    display: flex;
}
.account button {
    color: #fff;
    background: #ffffff14;
    border: 1px solid #ffffff24;
    border-radius: 50%;
    place-items: center;
    width: 39px;
    height: 39px;
    display: grid;
}
.demo-label {
    color: #f1d598;
    border: 1px solid #e8c47a60;
    border-radius: 6px;
    padding: 1px 9px;
    font-size: 12px;
}
.welcome {
    color: #fff;
    background: #214765;
    height: 238px;
}
.welcome > div {
    max-width: 1240px;
    margin: auto;
    padding: 26px 10px;
}
.welcome p {
    color: #d4e0eb;
    align-items: center;
    gap: 7px;
    font-size: 14px;
    display: flex;
}
.welcome h1 {
    margin: 26px 0 4px;
    font-size: 22px;
}
.welcome span {
    color: #c4d2df;
    font-size: 12px;
}
.layout {
    grid-template-columns: 390px minmax(0, 1fr);
    align-items: start;
    gap: 26px;
    max-width: 1240px;
    margin: -65px auto 0;
    padding: 0 10px;
    display: grid;
}
.quick-nav {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    padding-top: 25px;
    display: grid;
}
.nav-card {
    background: #fff;
    border: 1px solid #e9edf1;
    border-radius: 18px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 18px;
    min-height: 144px;
    transition: all 0.18s;
    display: flex;
    box-shadow: 0 6px 18px #14304e06;
}
.nav-card svg {
    color: var(--gold);
}
.nav-card strong {
    font-size: 16px;
}
.nav-card:hover,
.nav-card.chosen {
    background: #fffcf5;
    border-color: #cda954;
    transform: translateY(-2px);
}
.workspace {
    min-width: 0;
}
.banner {
    background: #f8edcf;
    border: 1px solid #ead8ae;
    border-radius: 18px;
    justify-content: space-between;
    align-items: center;
    min-height: 225px;
    margin-bottom: 26px;
    padding: 36px 38px;
    display: flex;
    box-shadow: 0 4px 8px #102b4605;
}
.banner h2 {
    margin: 12px 0 8px;
    font-size: 25px;
}
.banner p {
    color: #6e695b;
    margin: 0;
    font-size: 14px;
}
.eyebrow {
    color: #8f692a;
    font-size: 12px;
}
.banner-icon {
    color: #b28632;
    flex-shrink: 0;
    margin-right: 20px;
}
.panel {
    background: #fff;
    border: 1px solid #edf0f4;
    border-radius: 18px;
    min-height: 220px;
    padding: 25px 32px 30px;
    box-shadow: 0 6px 14px #14304e03;
}
.panel-heading {
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    display: flex;
}
.panel-heading h2 {
    margin: 0;
    font-size: 18px;
}
.back {
    color: #66778b;
    background: 0 0;
    border: 0;
    align-items: center;
    font-size: 14px;
    display: flex;
}
.tab-list {
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 18px;
    background: 0 0 !important;
    width: 100% !important;
    height: auto !important;
    padding: 0 !important;
    display: flex !important;
}
.tab-list [role="tab"] {
    color: #6e7e92;
    white-space: normal;
    border-radius: 7px;
    flex: 1;
    padding: 10px 8px;
    font-family: inherit;
    font-size: 13px;
    line-height: 1.7;
}
.tab-list [data-state="active"] {
    background: var(--navy) !important;
    color: #fff !important;
}
.section-label {
    color: #34516b;
    background: #edf2f7;
    border-radius: 8px;
    margin: 0 0 26px;
    padding: 6px 13px;
    font-size: 14px;
    font-weight: 700;
}
.cards {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    padding: 0 8px;
    display: grid;
}
.service-card {
    text-align: center;
    min-height: 159px;
    color: var(--card-color);
    border: 1px solid #f2f3f6;
    border-radius: 22px;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    padding: 15px 6px 13px;
    display: flex;
    box-shadow: 0 6px 28px #1a345b0b;
}
.service-card h3 {
    align-items: center;
    min-height: 45px;
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.6;
    display: flex;
}
.pill {
    border: 1px solid var(--gold);
    color: #8f661f;
    background: #fff;
    border-radius: 25px;
    padding: 5px 17px;
    font-size: 14px;
    transition: all 0.15s;
}
.pill:hover {
    background: var(--navy);
    border-color: var(--navy);
    color: #fff;
}
.inactive .pill {
    color: #fff;
    background: #bdc3cd;
    border-color: #bdc3cd;
}
.inactive small {
    color: #89919f;
    font-size: 12px;
}
.preview-note {
    color: #718095;
    align-items: center;
    gap: 7px;
    margin: 18px 2px;
    font-size: 12px;
    display: flex;
}
.empty {
    color: #8b6e32;
    text-align: center;
    background: #fbf8ef;
    border: 1px solid #eadbb9;
    border-radius: 8px;
    justify-content: center;
    align-items: center;
    gap: 9px;
    margin: 22px 0;
    padding: 15px;
    font-size: 14px;
    display: flex;
}
.empty p {
    margin: 0;
}
.muted {
    color: #748298;
    font-size: 12px;
}
.fields {
    grid-template-columns: 1fr 1fr;
    gap: 24px 22px;
    display: grid;
}
label {
    flex-direction: column;
    gap: 7px;
    font-size: 14px;
    display: flex;
}
input {
    color: #17324f;
    background: #f8fafc;
    border: 1px solid #e4e9ef;
    border-radius: 9px;
    outline: none;
    width: 100%;
    min-width: 0;
    padding: 10px 13px;
    font-size: 15px;
}
input:focus {
    border-color: #bd8e32;
    box-shadow: 0 0 0 3px #bd8e3218;
}
.form-actions {
    border-top: 1px solid #edf0f4;
    gap: 10px;
    margin-top: 24px;
    padding-top: 20px;
    display: flex;
}
.primary {
    background: var(--navy);
    color: #fff;
    border: 0;
    border-radius: 8px;
    padding: 9px 19px;
    font-size: 14px;
}
.secondary {
    color: #34516b;
    background: #f1f4f8;
    border: 1px solid #e0e6ed;
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 14px;
}
.notice {
    color: #887039;
    background: #fbf6e9;
    border-radius: 8px;
    align-items: center;
    gap: 7px;
    margin-bottom: 22px;
    padding: 10px;
    font-size: 12px;
    display: flex;
}
.sample-button {
    margin-bottom: 20px;
}
.life-detail {
    border: 1px solid #e6ebf0;
    border-radius: 16px;
    padding: 18px;
}
.life-detail tr:nth-child(odd) {
    background: #f7f9fb;
}
.life-detail td {
    padding: 12px;
    font-size: 14px;
}
.life-detail td:first-child {
    color: #74849b;
}
.life-actions {
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin-top: 25px;
    display: flex;
}
.life-actions button {
    color: #476382;
    background: #f5f8fc;
    border: 1px solid #d5dfeb;
    border-radius: 9px;
    padding: 7px;
    font-size: 12px;
}
.search {
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    display: flex;
}
.table-empty {
    text-align: center;
    color: #748298;
    height: 130px;
}
.month-label {
    max-width: 250px;
}
.service-dialog {
    background: #fff !important;
    border-radius: 18px !important;
    padding: 35px !important;
}
.service-dialog [data-slot="dialog-title"] {
    text-align: right;
}
.service-dialog [data-slot="dialog-description"] {
    text-align: right;
    line-height: 1.9;
}
.service-dialog form {
    gap: 17px;
    display: grid;
}
footer {
    color: #8793a4;
    justify-content: space-between;
    max-width: 1240px;
    margin: 45px auto 0;
    padding: 24px 10px 32px;
    font-size: 12px;
    display: flex;
}
footer div {
    gap: 18px;
    display: flex;
}
footer button {
    color: #738298;
    background: 0 0;
    border: 0;
    font-size: 12px;
}
.to-top {
    color: #76561f;
    background: #e4d0a1;
    border: 0;
    border-radius: 10px;
    place-items: center;
    width: 38px;
    height: 38px;
    display: grid;
    position: fixed;
    bottom: 24px;
    left: 24px;
}
@media (max-width: 1000px) {
    .layout {
        grid-template-columns: 290px 1fr;
        gap: 18px;
    }
    .panel {
        padding: 20px;
    }
    .cards {
        grid-template-columns: repeat(3, 1fr);
        padding: 0;
    }
    .banner {
        padding: 28px;
    }
    .banner-icon {
        width: 85px;
    }
    .banner h2 {
        font-size: 20px;
    }
    .nav-card {
        min-height: 132px;
    }
    .top-inner,
    .welcome > div {
        padding-left: 24px;
        padding-right: 24px;
    }
}
@media (max-width: 720px) {
    .welcome {
        height: 192px;
    }
    .welcome h1 {
        margin-top: 15px;
        font-size: 18px;
    }
    .layout {
        flex-direction: column;
        gap: 20px;
        margin-top: -28px;
        padding: 0 16px;
        display: flex;
    }
    .quick-nav {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 6px;
        width: 100%;
        padding-top: 0;
        display: grid;
    }
    .nav-card {
        border-radius: 12px;
        gap: 9px;
        min-height: 104px;
        padding: 9px 2px;
    }
    .nav-card svg {
        width: 25px;
    }
    .nav-card strong {
        font-size: 12px;
        line-height: 1.7;
    }
    .workspace {
        width: 100%;
    }
    .banner {
        min-height: 160px;
        margin-bottom: 18px;
        padding: 24px;
    }
    .banner-icon {
        width: 72px;
        margin-right: 10px;
    }
    .banner h2 {
        font-size: 19px;
    }
    .banner p {
        font-size: 12px;
    }
    .panel {
        padding: 20px 15px;
    }
    .cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .service-card {
        min-height: 159px;
    }
    .service-card h3 {
        font-size: 14px;
    }
    .tab-list [role="tab"] {
        flex: 1 0 40%;
        font-size: 13px;
    }
    .fields {
        grid-template-columns: 1fr;
    }
    .top-inner {
        padding: 14px 16px;
    }
    .brand {
        gap: 8px;
        font-size: 14px;
    }
    .brand svg {
        width: 27px;
    }
    .brand small {
        font-size: 11px;
    }
    .account {
        gap: 6px;
    }
    .account button {
        width: 32px;
        height: 32px;
    }
    .demo-label {
        display: none;
    }
    footer {
        flex-wrap: wrap;
        gap: 15px;
        padding: 15px 22px 35px;
    }
    .preview-note {
        align-items: start;
        line-height: 1.9;
    }
    .section-label {
        margin-bottom: 18px;
    }
}
.steps {
    gap: 8px;
    margin: 15px 0 22px;
    display: flex;
}
.steps span {
    text-align: center;
    color: #66778b;
    background: #edf2f7;
    border-radius: 8px;
    flex: 1;
    padding: 10px 6px;
    font-size: 13px;
}
.steps .current {
    color: #fff;
    background: #142f4e;
}
@media (max-width: 720px) {
    .steps {
        gap: 4px;
    }
    .steps span {
        font-size: 12px;
    }
}
:root {
    --navy: #154d7c;
    --gold: #e4aa16;
    --light-gold: #fff6df;
}
.top {
    background: #154d7c;
}
.welcome {
    background: #24638f;
}
.brand-logo {
    width: 70px;
    height: 54px;
    object-fit: contain;
    background: white;
    border-radius: 8px;
    padding: 3px;
}
.brand small {
    color: #e0edf6;
}
.banner {
    background: #fff2cc;
    border-color: #edda9d;
}
.banner-icon {
    color: #dca21a;
}
.nav-card svg {
    color: #cf9712;
}
.nav-card:hover,
.nav-card.chosen {
    border-color: #e4aa16;
    background: #fffaf0;
}
.pill {
    border-color: #dba418;
    color: #735613;
    text-decoration: none;
}
.service-card {
    color: var(--card-color, #154d7c);
}
.portal-icon {
    display: block;
    flex-shrink: 0;
}
.tab-list a {
    flex: 1;
    text-align: center;
    padding: 10px 8px;
    font-size: 13px;
}
.tab-list a.selected {
    background: var(--navy);
    color: white;
}
.account-profile {
    width: 39px;
    height: 39px;
    border: 1px solid #ffffff24;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: white;
    background: #ffffff14;
}
.account form {
    margin: 0;
}
.steps .current {
    background: var(--navy);
}
.fields select,
.fields textarea {
    color: #17324f;
}
.service-card .portal-icon {
    margin: 4px 0;
}
.banner-icon .portal-icon {
    width: 130px;
    height: 130px;
}
.portal-section {
    margin-top: 18px;
}
.portal-form-stage[hidden] {
    display: none;
}
.review-table {
    width: 100%;
    border-collapse: collapse;
}
.review-table td {
    padding: 10px;
    border-bottom: 1px solid #e4e9ef;
    overflow-wrap: anywhere;
}
.review-table td:first-child {
    color: #74849b;
    width: 40%;
}
.field-hint {
    color: #748298;
    font-size: 12px;
}
footer a {
    color: #738298;
    text-decoration: none;
}
.to-top {
    background: #ffd66c;
    color: #154d7c;
}
.auth h1 {
    font-size: 22px;
}
.auth-brand {
    display: block;
    width: 130px;
    margin: 0 auto 20px;
}
body:has(#third-wizard) .layout {
    grid-template-columns: 390px minmax(0, 1fr);
    max-width: 1240px;
}
body:has(#third-wizard) .banner {
    min-height: 225px;
}
.wizard-steps .active {
    border-color: #dba418;
    color: #765611;
}
.wizard-steps .active span {
    background: #dba418;
}
.wizard-steps .complete {
    border-color: var(--navy);
    color: var(--navy);
}
.wizard-steps .complete span {
    background: var(--navy);
}
.premium strong {
    color: #976e12;
}
.service-dialog {
    max-width: 500px;
    width: calc(100% - 32px);
    border: 1px solid #e4e9ef;
    color: #17324f;
}
.service-dialog::backdrop {
    background: #102b4680;
}
.dialog-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
}
.brand-logo {
    flex-shrink: 0;
}
.quick-nav {
    display: grid;
}
.policy-actions {
    flex-wrap: wrap;
}
@media (max-width: 1000px) {
    body:has(#third-wizard) .layout {
        display: grid;
        grid-template-columns: 290px minmax(0, 1fr);
    }
    .quick-nav {
        display: grid;
        margin-bottom: 0;
    }
    .quick-nav .nav-card {
        min-width: 0;
        min-height: 132px;
    }
    .wizard-body .three-columns {
        grid-template-columns: 1fr 1fr;
    }
    .vehicle-grid {
        grid-template-columns: 1fr;
    }
    .banner-icon .portal-icon {
        width: 85px;
        height: 85px;
    }
}
@media (max-width: 720px) {
    body:has(#third-wizard) .layout {
        display: flex;
        flex-direction: column;
    }
    .quick-nav {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        overflow: visible;
    }
    .quick-nav .nav-card {
        min-width: 0;
        min-height: 104px;
    }
    .brand-logo {
        width: 52px;
        height: 44px;
    }
    .brand {
        font-size: 13px;
    }
    .account > span {
        display: none;
    }
    .banner-icon .portal-icon {
        width: 72px;
        height: 72px;
    }
    .banner-icon {
        margin-right: 10px;
    }
    .fields,
    .wizard-body .three-columns,
    .review-grid {
        grid-template-columns: 1fr;
    }
    .tab-list a {
        flex: 1 0 40%;
    }
    .form-actions {
        flex-wrap: wrap;
    }
    .banner h2 {
        font-size: 19px;
    }
    .steps {
        flex-wrap: wrap;
    }
    .steps span {
        min-width: 85px;
    }
    .previous-policy {
        grid-template-columns: 1fr;
    }
    .wizard-actions {
        flex-wrap: wrap;
    }
    .panel {
        overflow-wrap: anywhere;
    }
}
@media print {
    .to-top,
    .account,
    .policy-actions {
        display: none;
    }
}
.service-car {
    --card-color: #159c88;
}
.service-health {
    --card-color: #2679b9;
}
.service-fire {
    --card-color: #bd7524;
}
.service-shield {
    --card-color: #8752b5;
}
.service-user {
    --card-color: #4c9e35;
}
.service-users {
    --card-color: #bf4784;
}
.service-plane {
    --card-color: #2d7ebf;
}
.service-truck {
    --card-color: #d65e3b;
}
.service-tools {
    --card-color: #2494a0;
}
.inactive {
    --card-color: #a2a9b4;
}
.service-wallet {
    --card-color: #159c88;
}
.service-bank {
    --card-color: #213e61;
}
.service-building {
    --card-color: #bc7526;
}
[hidden] {
    display: none !important;
}
.card-policies-0 {
    --card-color: #159c88;
}
.card-policies-1 {
    --card-color: #d7437c;
}
.card-policies-2 {
    --card-color: #2679b9;
}
.card-policies-3 {
    --card-color: #4c9e35;
}
.card-policies-4 {
    --card-color: #bd7524;
}
.card-policies-5 {
    --card-color: #2494a0;
}
.card-policies-6 {
    --card-color: #d65e3b;
}
.card-policies-7 {
    --card-color: #8752b5;
}
.card-policies-8 {
    --card-color: #139b78;
}
.card-policies-9 {
    --card-color: #bf4784;
}
.card-policies-10 {
    --card-color: #2d7ebf;
}
.card-policies-11 {
    --card-color: #c75e3d;
}
.card-policies-12 {
    --card-color: #a2a9b4;
}
.card-policies-13 {
    --card-color: #a2a9b4;
}
.card-issuance-0 {
    --card-color: #159c88;
}
.card-issuance-1 {
    --card-color: #2679b9;
}
.card-issuance-2 {
    --card-color: #8752b5;
}
.card-issuance-3 {
    --card-color: #159c88;
}
.card-issuance-4 {
    --card-color: #d7437c;
}
.card-issuance-5 {
    --card-color: #bd7524;
}
.card-issuance-6 {
    --card-color: #2679b9;
}
.card-issuance-7 {
    --card-color: #8752b5;
}
.card-services-0 {
    --card-color: #bc7526;
}
.card-services-1 {
    --card-color: #213e61;
}
.card-services-2 {
    --card-color: #2494a0;
}
.card-services-3 {
    --card-color: #c04e85;
}
.card-services-4 {
    --card-color: #159c88;
}
.card-staff-0 {
    --card-color: #159c88;
}
.card-staff-1 {
    --card-color: #a2a9b4;
}
.card-staff-2 {
    --card-color: #a2a9b4;
}
.card-staff-3 {
    --card-color: #a2a9b4;
}
.card-staff-4 {
    --card-color: #a2a9b4;
}
.card-staff-5 {
    --card-color: #a2a9b4;
}
.card-staff-6 {
    --card-color: #a2a9b4;
}
.card-staff-7 {
    --card-color: #a2a9b4;
}
.checkout-layout {
    max-width: 1040px;
    margin: 30px auto;
    padding: 16px;
}
.checkout-layout .panel {
    padding: 24px;
}
.checkout-layout button {
    margin: 8px 0;
}
.checkout-layout li {
    margin: 8px 0;
}
.checkout-layout h1 {
    color: #173d66;
}
.checkout-layout select {
    max-width: 100%;
}
