:root {
    --navy: #002d62;
    --blue: #0077c8;
    --blue-hover: #0064aa;
    --cyan: #00a8e8;
    --gold: #e08a1e;
    --text: #002d62;
    --muted: #4d6580;
    --label: #002d62;
    --border: #c9d6e5;
    --focus: #0077c8;
    --page: #eef3f8;
    --red: #c62828;
    --card: #ffffff;
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    min-height: 100%;
    height: 100%;
}

body {
    font-family: "Segoe UI", Arial, Helvetica, sans-serif;
    color: var(--text);
    background: var(--page);
}

.page-wrap {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-header {
    background: #fff;
    border-bottom: 1px solid #e6ebf0;
    padding: 10px 24px;
    box-shadow: 0 1px 0 rgba(0, 45, 98, 0.04);
}

.header-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 16px;
}

.header-side-left {
    min-width: 0;
}

.header-side-right {
    justify-self: end;
}

.brand {
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

.brand-logo {
    display: block;
    height: 68px;
    width: auto;
    max-width: 280px;
    object-fit: contain;
    background: transparent;
}

.btn-data-center {
    display: inline-block;
    background: var(--blue);
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.3px;
    padding: 10px 18px;
    border-radius: 6px;
    white-space: nowrap;
}

.btn-data-center:hover {
    background: var(--blue-hover);
    color: #fff;
}

.site-main {
    flex: 1 0 auto;
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    padding: 36px 18px 40px;
}

.site-main.wide {
    max-width: 1100px;
}

.site-main.center-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: none;
    width: 100%;
    min-height: calc(100vh - 320px);
    padding-top: 48px;
    padding-bottom: 48px;
}
.site-main.center-content .login-card {
    width: min(440px, 100%);
    margin: 0 auto;
}

.site-footer {
    flex-shrink: 0;
    margin-top: auto;
    text-align: center;
    color: #7c98b6;
    font-size: 13px;
    padding: 22px 16px;
    background: #fff;
    border-top: 1px solid #e6ebf0;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.footer-brand {
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 6px;
}

.footer-contact a {
    color: #516f90;
    text-decoration: none;
}

.footer-contact a:hover {
    color: var(--blue);
}

.footer-dot {
    margin: 0 8px;
    color: #c5d3e0;
}

.footer-copy {
    margin-top: 8px;
    color: #8aa0b5;
    font-size: 12px;
}

.form-shell {
    background: var(--card);
    padding: 28px 32px 32px;
    border: 1px solid #e6ebf0;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(27, 42, 65, 0.08);
    position: relative;
    overflow: hidden;
}

.form-shell.estimate-shell {
    width: 100%;
    overflow: visible;
}

.form-shell:before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 4px;
    background: var(--blue);
}

.form-title {
    margin: 8px 0 8px;
    font-size: 30px;
    color: var(--navy);
    letter-spacing: -0.3px;
}

.form-intro {
    margin: 0 0 28px;
    color: var(--muted);
    line-height: 1.6;
    font-size: 15px;
}

.hp-trap {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.enquiry-form .field {
    margin-bottom: 18px;
}

.enquiry-form .field > label,
.enquiry-form legend {
    display: block;
    margin-bottom: 7px;
    font-size: 13px;
    font-weight: 600;
    color: var(--label);
}

.req {
    color: var(--red);
}

.enquiry-form input[type="text"],
.enquiry-form input[type="email"],
.enquiry-form input[type="password"],
.enquiry-form input[type="number"],
.enquiry-form input[type="tel"],
.enquiry-form input[type="file"],
.enquiry-form select,
.enquiry-form textarea {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 12px 14px;
    font-size: 15px;
    color: #1f3348;
    background: #f8fafc;
    font-family: inherit;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.enquiry-form textarea {
    min-height: 120px;
    resize: vertical;
}

.enquiry-form input:hover,
.enquiry-form select:hover,
.enquiry-form textarea:hover {
    border-color: #b9c7d6;
    background: #fff;
}

.enquiry-form input:focus,
.enquiry-form select:focus,
.enquiry-form textarea:focus {
    outline: none;
    border-color: var(--blue);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(0, 119, 200, 0.16);
}

.form-grid.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.phone-row {
    display: grid;
    grid-template-columns: minmax(170px, 230px) 1fr;
    gap: 10px;
}

.btn-submit {
    display: inline-block;
    border: none;
    background: var(--blue);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    padding: 12px 32px;
    border-radius: 24px;
    cursor: pointer;
    box-shadow: 0 8px 16px rgba(0, 119, 200, 0.28);
}

.btn-submit:hover {
    background: var(--blue-hover);
}

.form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-top: 8px;
    padding-top: 8px;
}

.btn-secondary,
.btn-lock {
    display: inline-block;
    border: 1px solid var(--border);
    background: #fff;
    color: #33475b;
    font-size: 15px;
    font-weight: 700;
    padding: 11px 24px;
    border-radius: 24px;
    cursor: pointer;
    text-decoration: none;
}

.btn-secondary:hover {
    border-color: var(--blue);
    color: var(--blue);
}

.btn-lock {
    background: var(--navy);
    border-color: var(--navy);
    color: #fff;
}

.btn-lock:hover {
    background: #111;
}

.unlock-card {
    width: 100%;
    max-width: 520px;
}

.sheet-toolbar {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.sheet-actions,
.upload-form,
.inline-form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.timer-line strong {
    color: var(--blue);
}

.status-note {
    background: #eaf7ee;
    color: #24663a;
    padding: 10px 12px;
    border-radius: 8px;
}

.upload-box {
    background: #fff;
    border: 1px solid #e6ebf0;
    border-radius: 12px;
    padding: 18px;
    margin: 16px 0 24px;
    box-shadow: 0 8px 20px rgba(27, 42, 65, 0.05);
}

.upload-box h2 {
    margin: 0 0 6px;
    font-size: 18px;
}

.sheet-table-wrap {
    overflow-x: auto;
    background: #fff;
    border: 1px solid #e6ebf0;
    border-radius: 12px;
}

.sheet-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.sheet-table th,
.sheet-table td {
    border-bottom: 1px solid #eef2f6;
    padding: 10px 12px;
    text-align: left;
    white-space: nowrap;
}

.sheet-table th {
    background: #f7fafc;
    color: var(--navy);
}

.field-error,
.form-summary {
    color: var(--red);
    font-size: 13px;
    margin-top: 6px;
    display: block;
}

.form-summary {
    margin-bottom: 16px;
}

.back-link {
    margin-top: 16px;
}

.thank-you a,
.back-link a,
.form-card a {
    color: var(--blue);
}

.form-card {
    background: #fff;
    padding: 24px;
}

.header-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.btn-estimate {
    display: inline-block;
    background: var(--gold);
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.3px;
    padding: 10px 18px;
    border-radius: 6px;
    white-space: nowrap;
}

.btn-estimate:hover {
    background: #c67612;
    color: #fff;
}

.estimate-banner {
    background: #fff;
    border: 1px solid #e6ebf0;
    border-radius: 14px;
    padding: 22px 24px;
    margin-bottom: 20px;
    display: flex;
    gap: 16px;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 10px 30px rgba(27, 42, 65, 0.06);
}

.estimate-banner .form-title {
    font-size: 22px;
    margin: 4px 0 8px;
}

.estimate-banner .form-intro {
    margin-bottom: 0;
}

.estimate-kicker {
    margin: 0 0 6px;
    color: var(--cyan);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.estimate-shell .form-title {
    margin-top: 8px;
}

.estimate-progress {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    padding: 0;
    margin: 0 0 22px;
}

.estimate-progress-item {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    color: #8aa0b5;
    font-size: 12px;
}

.estimate-progress-dot {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #e8eef4;
    font-weight: 700;
}

.estimate-progress-item.done .estimate-progress-dot,
.estimate-progress-item.current .estimate-progress-dot {
    background: var(--navy);
    color: #fff;
}

.estimate-progress-item.current .estimate-progress-label {
    color: var(--navy);
    font-weight: 700;
}

.estimate-points {
    margin: 0 0 24px;
    padding-left: 18px;
    color: var(--muted);
    line-height: 1.6;
}

.solution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 12px;
    margin: 8px 0 20px;
}

.solution-grid.compact {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.solution-card {
    position: relative;
    display: block;
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px 14px 16px;
    cursor: pointer;
}

.solution-card input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.solution-card strong {
    display: block;
    color: var(--navy);
    margin-bottom: 6px;
}

.solution-pillar {
    display: block;
    color: var(--gold);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.solution-copy {
    display: block;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.45;
}

.solution-card.selected,
.solution-card:has(input:checked) {
    border-color: var(--cyan);
    background: #f3fbff;
    box-shadow: 0 0 0 3px rgba(0, 168, 232, 0.14);
}

.estimate-question {
    border: 0;
    padding: 0 0 18px;
    margin: 0 0 8px;
}

.estimate-question legend {
    font-size: 15px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
}

.estimate-help {
    margin: 0 0 10px;
    color: var(--muted);
    font-size: 13px;
}

.choice-list {
    display: grid;
    gap: 8px;
}

.choice-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    background: #f8fafc;
    border: 1px solid #e6ebf0;
    border-radius: 8px;
    padding: 10px 12px;
}

.confirm-row {
    margin: 16px 0;
}

.review-card {
    background: #f8fafc;
    border: 1px solid #e6ebf0;
    border-radius: 12px;
    padding: 18px 20px;
    margin-bottom: 18px;
}

.review-card h2,
.review-card h3,
.estimate-subhead {
    color: var(--navy);
    margin: 16px 0 8px;
}

.review-card h2 {
    margin-top: 0;
    font-size: 18px;
}

.review-card h3 {
    font-size: 15px;
}

.review-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 10px;
    margin: 12px 0;
}

.review-meta dt {
    font-size: 12px;
    color: #7c98b6;
}

.review-meta dd {
    margin: 2px 0 0;
    font-weight: 700;
}

.review-list {
    margin: 0;
    padding-left: 18px;
}

.review-quote {
    background: #fff;
    border-left: 3px solid var(--gold);
    padding: 10px 12px;
}

.estimate-hero {
    display: grid;
    gap: 14px;
    margin: 8px 0 20px;
}

.estimate-range {
    margin: 4px 0 8px;
    font-size: 32px;
    font-weight: 800;
    color: var(--navy);
    letter-spacing: -0.6px;
}

.estimate-range.compact {
    font-size: 26px;
}

.estimate-timeline,
.estimate-product {
    margin: 0 0 6px;
}

.disclaimer-box {
    background: #fff8ee;
    border: 1px solid #f0d3a8;
    color: #7a4e10;
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 13px;
    line-height: 1.5;
}

.estimate-lines {
    margin-bottom: 18px;
}

.optional-details {
    background: #f8fafc;
    border: 1px solid #e6ebf0;
    border-radius: 10px;
    padding: 4px 16px 4px;
    margin: 4px 0 18px;
}

.optional-details[open] {
    padding-bottom: 16px;
}

.optional-details summary {
    cursor: pointer;
    padding: 12px 0;
    font-weight: 700;
    color: var(--navy);
    font-size: 14px;
    list-style: none;
}

.optional-details summary::-webkit-details-marker {
    display: none;
}

.optional-details summary::before {
    content: "+ ";
    color: var(--cyan);
}

.optional-details[open] summary::before {
    content: "− ";
}

.optional-details .form-grid,
.optional-details .field {
    margin-top: 12px;
}

@media (max-width: 640px) {
    .site-header {
        padding: 8px 12px;
    }

    .brand-logo {
        height: 56px;
        max-width: 180px;
    }

    .btn-data-center,
    .btn-estimate {
        font-size: 12px;
        padding: 8px 12px;
    }

    .estimate-banner {
        flex-direction: column;
        align-items: flex-start;
    }

    .estimate-range {
        font-size: 24px;
    }

    .estimate-progress-label {
        display: none;
    }

    .estimate-progress-item {
        justify-content: center;
    }

    .form-shell {
        padding: 22px 18px 24px;
    }

    .form-grid.two-col,
    .phone-row {
        grid-template-columns: 1fr;
    }
}


.is-hidden {
    display: none !important;
}

.catalog-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 20px 0 16px;
}

.catalog-tab {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: 1.5px solid #e6ebf0;
    border-radius: 999px;
    background: #fff;
    color: #64748b;
    font: inherit;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: border-color .2s ease, color .2s ease, background .2s ease, transform .15s ease;
}

    .catalog-tab:hover {
        border-color: #b7c4d1;
        color: var(--navy);
    }

    .catalog-tab.active {
        background: var(--navy);
        border-color: var(--navy);
        color: #fff;
        transform: translateY(-1px);
    }

.tab-count {
    font-size: 11px;
    font-weight: 700;
    background: rgba(0, 0, 0, .08);
    border-radius: 999px;
    padding: 1px 7px;
}

.catalog-tab.active .tab-count {
    background: rgba(255, 255, 255, .2);
}

.selected-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
    padding: 12px;
    background: #f8fafc;
    border: 1px dashed #dbe3ea;
    border-radius: 10px;
    min-height: 20px;
}

.selected-chip {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    background: #fff;
    border: 1px solid var(--cyan);
    color: var(--cyan);
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 600;
    animation: chip-in .25s cubic-bezier(.34, 1.56, .64, 1);
}

@keyframes chip-in {
    from {
        opacity: 0;
        transform: scale(.7);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 14px;
    margin-bottom: 8px;
}

.catalog-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 16px 44px 16px 16px;
    border: 1.5px solid #e6ebf0;
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    animation: card-in .3s ease;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

@keyframes card-in {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.catalog-card:hover {
    border-color: #b7c4d1;
    box-shadow: 0 10px 22px -14px rgba(15, 23, 42, .25);
    transform: translateY(-2px);
}

.catalog-card.selected {
    border-color: var(--cyan);
    background: rgba(0, 180, 216, .05);
    box-shadow: 0 10px 22px -14px rgba(0, 180, 216, .35);
}

.catalog-card input[type="checkbox"] {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    overflow: hidden;
}

.catalog-card input:focus-visible ~ .catalog-check {
    outline: 2px solid var(--cyan);
    outline-offset: 2px;
}

.catalog-check {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 22px;
    height: 22px;
    border: 2px solid #cbd5e1;
    border-radius: 6px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s ease, border-color .2s ease;
}

    .catalog-check svg {
        width: 13px;
        height: 13px;
    }

.check-mark {
    stroke: #fff;
    stroke-dasharray: 24;
    stroke-dashoffset: 24;
    transition: stroke-dashoffset .25s ease .05s;
}

.catalog-card input:checked ~ .catalog-check {
    background: var(--cyan);
    border-color: var(--cyan);
    animation: check-pop .3s cubic-bezier(.34, 1.56, .64, 1);
}

    .catalog-card input:checked ~ .catalog-check .check-mark {
        stroke-dashoffset: 0;
    }

@keyframes check-pop {
    0% {
        transform: scale(.85);
    }

    60% {
        transform: scale(1.12);
    }

    100% {
        transform: scale(1);
    }
}

.catalog-card-pillar {
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--cyan);
}

.catalog-card-title {
    color: var(--navy);
    font-size: 14.5px;
    padding-right: 4px;
}

.catalog-card.selected .catalog-card-title {
    color: var(--cyan);
}

.catalog-card-copy {
    color: #64748b;
    font-size: 13px;
    line-height: 1.4;
}

.catalog-empty {
    text-align: center;
    color: #94a3b8;
    padding: 32px 0;
    font-size: 14px;
}

.selection-bar {
    position: sticky;
    bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 20px;
    padding: 12px 18px;
    background: var(--navy);
    color: #fff;
    border-radius: 999px;
    box-shadow: 0 16px 32px -14px rgba(15, 23, 42, .4);
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
    transition: opacity .25s ease, transform .25s ease;
}

    .selection-bar.visible {
        opacity: 1;
        transform: none;
        pointer-events: auto;
    }

    .selection-bar .btn-submit {
        padding: 8px 20px;
    }

.svc-hidden {
    display: none !important;
}

.svc-toolbar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 4px 0 14px;
}

.svc-linkbtn {
    border: 0;
    background: none;
    padding: 0;
    color: var(--blue);
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.svc-linkbtn:hover {
    text-decoration: underline;
}

.svc-toolbar-dot {
    color: #c5d3e0;
}

.svc-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
    padding: 10px 12px;
    background: #f8fafc;
    border: 1px dashed #dbe3ea;
    border-radius: 10px;
}

.svc-chip {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    background: #fff;
    border: 1px solid var(--cyan);
    color: var(--cyan);
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 600;
}

.svc-stack {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.svc-group {
    border: 1px solid #e6ebf0;
    border-radius: 12px;
    background: #fbfcfe;
    overflow: hidden;
}

.svc-group-head {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border: 0;
    background: #f4f8fb;
    color: var(--navy);
    font: inherit;
    cursor: pointer;
    text-align: left;
}

.svc-group-head:hover {
    background: #eaf2f8;
}

.svc-group-title {
    font-size: 15px;
    font-weight: 700;
}

.svc-group-count {
    margin-left: 2px;
    font-size: 11px;
    font-weight: 700;
    color: #5b738c;
    background: #fff;
    border: 1px solid #d7e2ec;
    border-radius: 999px;
    padding: 1px 8px;
}

.svc-chevron {
    margin-left: auto;
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--navy);
    border-bottom: 2px solid var(--navy);
    transform: rotate(45deg);
    transition: transform 0.22s ease;
}

.svc-group.is-open .svc-chevron {
    transform: rotate(-135deg);
}

.svc-group-body {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.28s ease;
}

.svc-group.is-open .svc-group-body {
    grid-template-rows: 1fr;
}

.svc-group-inner {
    overflow: hidden;
    min-height: 0;
}

.svc-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    padding: 14px;
}

.enquiry-form label.svc-card,
label.svc-card {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px;
    margin: 0 !important;
    padding: 16px !important;
    border: 1px solid #d7e2ec;
    border-radius: 12px;
    background: #fff !important;
    cursor: pointer;
    font-weight: 400 !important;
    color: var(--navy);
    min-height: 124px;
    box-sizing: border-box;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

label.svc-card:hover {
    border-color: #9bb4c9;
    box-shadow: 0 8px 18px rgba(0, 45, 98, 0.08);
    transform: translateY(-2px);
}

label.svc-card.is-selected {
    border-color: var(--cyan);
    background: #f3fbfe;
    box-shadow: 0 8px 18px rgba(0, 168, 232, 0.12);
}

.svc-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.svc-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.svc-card-name {
    color: var(--navy);
    font-size: 15px;
    line-height: 1.3;
}

.svc-card.is-selected .svc-card-name {
    color: #0077a8;
}

.svc-check {
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    border: 2px solid #c5d3e0;
    border-radius: 5px;
    background: #fff;
    position: relative;
}

.svc-card.is-selected .svc-check {
    border-color: var(--cyan);
    background: var(--cyan);
}

.svc-card.is-selected .svc-check:after {
    content: "";
    position: absolute;
    left: 5px;
    top: 1px;
    width: 5px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.svc-card-copy {
    color: #5b738c;
    font-size: 13px;
    line-height: 1.45;
}

.svc-sub {
    display: none;
    grid-column: 1 / -1;
    margin: 0 0 4px;
    padding: 14px 16px 8px;
    background: #f6f9fc;
    border: 1px solid #d7e2ec;
    border-radius: 12px;
}

.svc-sub.is-open {
    display: block;
    animation: svcSubIn 0.22s ease;
}

@keyframes svcSubIn {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}

.addons-block {
    margin-top: 28px;
    padding-top: 8px;
    border-top: 1px solid #e3ebf3;
}

.start-actions {
    margin-top: 16px;
}

.qty-field {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: stretch;
    max-width: 420px;
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}

.qty-field input[type="number"] {
    border: 0 !important;
    border-radius: 0 !important;
    background: #fff !important;
    box-shadow: none !important;
}

.qty-unit {
    display: flex;
    align-items: center;
    padding: 0 14px;
    background: #f4f8fb;
    color: #5b738c;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    border-left: 1px solid var(--border);
}

.choice-item {
    position: relative;
    align-items: center;
    min-height: 52px;
    padding: 12px 14px 12px 16px;
    background: #fff;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.choice-item input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.choice-box {
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    border: 2px solid #c5d3e0;
    border-radius: 5px;
    background: #fff;
}

.choice-item input[type="radio"] + .choice-box {
    border-radius: 50%;
}

.choice-item:has(input:checked) {
    border-color: var(--cyan);
    background: #f3fbfe;
}

.choice-item:has(input:checked) .choice-box {
    border-color: var(--cyan);
    background: var(--cyan);
    box-shadow: inset 0 0 0 3px #fff;
}

.optional-panel {
    border: 1px solid #e6ebf0;
    border-radius: 12px;
    background: #fbfcfe;
    margin: 8px 0 20px;
    overflow: hidden;
}

.optional-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    border: 0;
    background: #f4f8fb;
    cursor: pointer;
    text-align: left;
    font: inherit;
}

.optional-toggle-copy {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.optional-toggle-copy strong {
    color: var(--navy);
    font-size: 15px;
}

.optional-toggle-copy span {
    color: #5b738c;
    font-size: 13px;
}

.optional-panel .svc-chevron {
    margin-left: auto;
}

.optional-panel.is-open .svc-chevron {
    transform: rotate(-135deg);
}

.optional-body {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.28s ease;
}

.optional-panel.is-open .optional-body {
    grid-template-rows: 1fr;
}

.optional-inner {
    overflow: hidden;
    min-height: 0;
    padding: 0 18px;
}

.optional-panel.is-open .optional-inner {
    padding-bottom: 18px;
}

.quote-kpis {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 8px 0 18px;
}

.quote-kpi {
    background: #f4f8fb;
    border: 1px solid #e6ebf0;
    border-radius: 12px;
    padding: 16px;
}

.quote-kpi span {
    display: block;
    color: #5b738c;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.quote-kpi strong {
    color: var(--navy);
    font-size: 18px;
    line-height: 1.3;
}

.consult-cell {
    max-width: 280px;
}

.consult-cell strong {
    display: block;
    color: var(--navy);
    margin-bottom: 4px;
}

.consult-cell span {
    display: block;
    color: #5b738c;
    font-size: 12px;
    line-height: 1.4;
    white-space: normal;
}

.dc-page {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.dc-hero {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    background: #fff;
    border: 1px solid #e6ebf0;
    border-radius: 14px;
    padding: 22px 24px;
    box-shadow: 0 10px 30px rgba(27, 42, 65, 0.06);
}

.dc-hero .form-title {
    margin: 4px 0 8px;
}

.dc-hero .form-intro {
    margin: 0;
}

.dc-card {
    background: #fff;
    border: 1px solid #e6ebf0;
    border-radius: 14px;
    padding: 20px 22px 8px;
    box-shadow: 0 10px 30px rgba(27, 42, 65, 0.06);
}

.dc-card h2 {
    margin: 0 0 8px;
    font-size: 18px;
    color: var(--navy);
}

.dc-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.dc-count {
    font-size: 12px;
    font-weight: 700;
    color: #5b738c;
    background: #f4f8fb;
    border-radius: 999px;
    padding: 4px 10px;
}

.dc-note,
.dc-empty {
    color: #5b738c;
    font-size: 14px;
    line-height: 1.5;
}

.dc-empty {
    padding: 18px 4px 24px;
}

.dc-upload {
    margin: 14px 0 18px;
}

.dc-file {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border: 1px dashed #9bb4c9;
    border-radius: 10px;
    background: #f8fafc;
    cursor: pointer;
    color: var(--navy);
    font-weight: 600;
    font-size: 13px;
}

.dc-file input {
    width: auto;
}

.dc-links {
    margin: 4px 0 12px;
    color: var(--blue);
}

.dc-links a {
    color: var(--blue);
    font-weight: 600;
    text-decoration: none;
}

.sheet-table th {
    position: sticky;
    top: 0;
    z-index: 1;
}

.sheet-table tbody tr:hover td {
    background: #f7fbfe;
}

@media (max-width: 900px) {
    .quote-kpis,
    .dc-hero {
        grid-template-columns: 1fr;
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 900px) {
    .svc-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.solution-grid.compact.plan-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
}

.plan-card {
    min-height: 260px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: #fff;
    padding: 16px 16px 18px;
}

.plan-title {
    margin-bottom: 0;
    font-size: 15px;
}

.plan-price {
    display: block;
    color: #0077a8;
    font-weight: 700;
    font-size: 13px;
}

.plan-points {
    margin: 4px 0 0;
    padding-left: 18px;
    color: #5b738c;
    font-size: 12px;
    line-height: 1.45;
}

.plan-points li {
    margin: 0 0 4px;
}

.crm-body {
    background: #e8eef5;
    height: 100vh;
    overflow: hidden;
}

html:has(.crm-body),
body.crm-body {
    height: 100%;
    overflow: hidden;
}

.crm-shell {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    height: 100vh;
    overflow: hidden;
}

.crm-nav {
    background: #082445;
    color: #d7e6f3;
    padding: 18px 0 24px;
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
}

.crm-nav-links {
    display: flex;
    flex-direction: column;
    padding-top: 8px;
}

.crm-brand {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 8px 18px 18px;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
}

.crm-brand img {
    width: 148px;
    background: #fff;
    border-radius: 8px;
    padding: 8px;
}

.crm-link {
    display: block;
    padding: 10px 18px;
    color: #cfe0ef;
    text-decoration: none;
    font-size: 14px;
}

.crm-link:hover,
.crm-link.is-active {
    background: #0d3a68;
    color: #fff;
}

.crm-link.is-active {
    border-left: 3px solid #00a8e8;
    padding-left: 15px;
}

.crm-nav-foot {
    margin-top: auto;
    padding: 18px;
}

.crm-timer {
    margin: 0 0 10px;
    color: #9bb8d0;
    font-size: 12px;
}

.crm-lock {
    width: 100%;
    border: 0;
    border-radius: 8px;
    background: #123a63;
    color: #fff;
    padding: 10px 12px;
    cursor: pointer;
}

.crm-main {
    min-width: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.crm-top {
    flex: 0 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    padding: 18px 28px 10px;
    background: #e8eef5;
}

.crm-top h1 {
    margin: 0;
    color: var(--navy);
    font-size: 28px;
}

.crm-top-meta {
    color: #5b738c;
    font-size: 13px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.crm-body-panel {
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
    padding: 8px 28px 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.crm-catalog {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding-bottom: 12px;
}

.crm-jump {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    position: sticky;
    top: 0;
    z-index: 2;
    background: #e8eef5;
    padding: 4px 0 10px;
}

.crm-jump a {
    background: #fff;
    border: 1px solid #d7e2ec;
    border-radius: 999px;
    padding: 7px 14px;
    color: var(--navy);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
}

.crm-section {
    background: #fff;
    border: 1px solid #e6ebf0;
    border-radius: 16px;
    padding: 20px 22px 22px;
    box-shadow: 0 10px 30px rgba(27, 42, 65, 0.06);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.crm-section-head h2 {
    margin: 0 0 4px;
    font-size: 20px;
    color: var(--navy);
}

.crm-section-head p,
.crm-hint {
    margin: 0;
    color: #5b738c;
    font-size: 13px;
    font-style: normal;
    font-weight: 400;
}

.crm-subhead {
    margin: 8px 0 0;
    font-size: 13px;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: #7b93ab;
}

.crm-card-item {
    border: 1px solid #e6ebf0;
    border-radius: 12px;
    padding: 16px 16px 14px;
    background: #f8fbfe;
}

.crm-card-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    margin-bottom: 12px;
}

.crm-chip,
.crm-code {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 700;
}

.crm-chip {
    background: #e7f6fd;
    color: #0077a8;
}

.crm-code {
    background: #eef2f6;
    color: #4d6480;
}

.crm-flags {
    margin-left: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.crm-flag {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: #4d6480;
    font-size: 13px;
    font-weight: 600;
}

.crm-flag select,
.crm-inline-status select,
.crm-field input,
.crm-field textarea,
.crm-field select {
    border: 1px solid #d7e2ec;
    border-radius: 8px;
    padding: 9px 11px;
    font: inherit;
    background: #fff;
    color: var(--navy);
}

.crm-fields {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(160px, 0.6fr);
    gap: 12px 16px;
}

.crm-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
    font-weight: 400;
}

.crm-field > span {
    color: #5b738c;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.2px;
}

.crm-field-wide {
    grid-column: 1 / -1;
}

.crm-field-narrow {
    min-width: 0;
}

.crm-metrics {
    display: grid;
    grid-template-columns: repeat(5, minmax(110px, 1fr));
    gap: 12px;
    margin-top: 12px;
}

.crm-savebar {
    position: sticky;
    bottom: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    border: 1px solid #e6ebf0;
    border-radius: 12px;
    padding: 14px 18px;
    box-shadow: 0 -8px 24px rgba(8, 36, 69, 0.08);
}

.crm-savebar span {
    color: #5b738c;
    font-size: 13px;
}

.crm-inline-status {
    margin: 0;
}

.crm-edit-table input,
.crm-edit-table textarea,
.crm-edit-table select {
    width: 100%;
    min-width: 70px;
    border: 1px solid #d7e2ec;
    border-radius: 6px;
    padding: 6px 8px;
    font: inherit;
}

@media (max-width: 1100px) {
    .solution-grid.compact.plan-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .crm-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .crm-shell {
        grid-template-columns: 1fr;
        height: auto;
        overflow: visible;
    }
    html:has(.crm-body),
    body.crm-body {
        height: auto;
        overflow: auto;
    }
    .crm-nav,
    .crm-main {
        height: auto;
    }
    .crm-nav {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
    }
    .crm-nav-foot {
        width: 100%;
    }
    .crm-fields,
    .crm-metrics {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .svc-grid,
    .solution-grid.compact.plan-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

.legal-wrap {
    max-width: 900px;
    margin: 0 auto;
}

.legal-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    padding: 6px;
    margin-bottom: 18px;
    background: #e5edf6;
    border: 1px solid #d4e0ee;
    border-radius: 14px;
}

.legal-tabs a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 14px;
    border-radius: 10px;
    border: 1px solid transparent;
    color: #36506e;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.legal-tabs a:hover {
    background: rgba(255, 255, 255, 0.7);
    color: var(--navy);
    text-decoration: none;
}

.legal-tabs a.is-on {
    background: #ffffff;
    border-color: #cbd9ea;
    color: var(--navy);
    font-weight: 700;
    box-shadow: 0 3px 10px rgba(11, 47, 87, 0.08);
}

.legal-tabs a.is-on i {
    color: var(--blue);
}

.legal-shell {
    background: var(--card);
    border: 1px solid #dce5f0;
    border-radius: 16px;
    padding: 32px 36px 40px;
    box-shadow: 0 10px 28px rgba(11, 47, 87, 0.06);
}

.legal-head {
    margin-bottom: 22px;
}

.legal-lead {
    margin: 6px 0 14px;
    color: var(--muted);
    font-size: 15.5px;
    line-height: 1.6;
}

.legal-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.legal-meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 999px;
    background: #f2f6fb;
    border: 1px solid #dde7f3;
    font-size: 13px;
    color: #3b5574;
}

.legal-meta-pill i {
    color: var(--blue);
}

.legal-toc {
    background: #f7fafe;
    border: 1px solid #dce7f3;
    border-radius: 14px;
    padding: 18px 20px;
    margin: 20px 0 26px;
}

.legal-toc-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e3ecf6;
}

.legal-toc-head h2 {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    color: var(--navy);
}

.legal-toc-head h2 i {
    color: var(--blue);
}

.legal-toc-head span {
    font-size: 12.5px;
    font-weight: 600;
    color: #5b738c;
}

.legal-toc-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px 12px;
}

.legal-toc-list li {
    margin: 0;
}

.legal-toc-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 9px;
    border: 1px solid transparent;
    background: rgba(255, 255, 255, 0.72);
    color: var(--navy);
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.14s ease, border-color 0.14s ease, color 0.14s ease, transform 0.14s ease;
}

.legal-toc-list a i {
    font-size: 11px;
    color: #8aa2bd;
    flex: 0 0 auto;
    transition: color 0.14s ease, transform 0.14s ease;
}

.legal-toc-list a:hover {
    background: #ffffff;
    border-color: #c7daf0;
    color: var(--blue);
    text-decoration: none;
}

.legal-toc-list a:hover i {
    color: var(--blue);
    transform: translateY(1px);
}

.legal-section {
    padding-top: 22px;
    margin-top: 22px;
    border-top: 1px solid #e6ecf4;
    scroll-margin-top: 88px;
}

.legal-section h2 {
    margin: 0 0 10px;
    font-size: 18.5px;
    color: var(--navy);
}

.legal-body p {
    margin: 8px 0;
    font-size: 15.5px;
    line-height: 1.72;
    color: #1f2e45;
}

.legal-body ul,
.legal-body ol {
    margin: 8px 0 10px;
    padding-left: 22px;
}

.legal-body li {
    margin: 6px 0;
    font-size: 15.5px;
    line-height: 1.7;
    color: #1f2e45;
}

.legal-body a {
    color: var(--blue);
}

@media (max-width: 720px) {
    .legal-tabs {
        grid-template-columns: 1fr;
    }

    .legal-tabs a {
        justify-content: flex-start;
    }

    .legal-shell {
        padding: 20px 18px 28px;
    }

    .legal-toc-list {
        grid-template-columns: 1fr;
    }
}