.ctnew {
    --ctnew-red: #c70b0f;
    --ctnew-navy: #102638;
    --ctnew-gold: #f2c230;
    --ctnew-green: #147a5a;
    --ctnew-line: #dce3e7;
    width: 100%;
    color: #1c2831;
    background: #f7f9fa;
}

.ctnew,
.ctnew * {
    box-sizing: border-box;
    font-family: inherit;
}

.ctnew-hero {
    overflow: hidden;
    color: #fff;
    background: linear-gradient(125deg, #102638 0%, #173e54 62%, #463047 100%);
}

.ctnew-hero__inner {
    display: grid;
    min-height: 330px;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 48px;
    padding-block: 54px;
}

.ctnew-kicker {
    display: inline-flex;
    margin-bottom: 14px;
    padding: 7px 13px;
    background: var(--ctnew-red);
    font-size: 12px;
    font-weight: 900;
}

.ctnew-hero h1 {
    max-width: 900px;
    margin: 0 0 16px;
    color: #fff;
    font-size: clamp(36px, 4.5vw, 64px);
    font-weight: 900;
    line-height: 1.3;
}

.ctnew-hero p {
    max-width: 840px;
    margin: 0;
    color: rgba(255, 255, 255, .88);
    font-size: clamp(16px, 1.4vw, 21px);
    line-height: 2;
}

.ctnew-hero__mark {
    display: grid;
    width: 184px;
    height: 184px;
    place-items: center;
    align-content: center;
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 50%;
    background: rgba(255,255,255,.07);
    text-align: center;
}

.ctnew-hero__mark strong { font-size: 48px; font-weight: 900; line-height: 1; }
.ctnew-hero__mark span { margin-top: 8px; color: rgba(255,255,255,.8); font-size: 13px; }

.ctnew-app {
    display: grid;
    grid-template-columns: minmax(300px, .72fr) minmax(0, 1.55fr);
    gap: 22px;
    align-items: start;
    padding-block: 34px 48px;
}

.ctnew-form,
.ctnew-results,
.ctnew-trust article {
    border: 1px solid var(--ctnew-line);
    background: #fff;
    box-shadow: 0 5px 18px rgba(16,38,56,.06);
}

.ctnew-form {
    position: sticky;
    top: 92px;
    padding: 24px;
}

.ctnew-panel-heading {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
    padding-bottom: 17px;
    border-bottom: 3px solid var(--ctnew-red);
}

.ctnew-panel-heading span,
.ctnew-results-head span { color: var(--ctnew-red); font-size: 11px; font-weight: 900; }
.ctnew-panel-heading h2,
.ctnew-results-head h2 { margin: 3px 0 0; color: var(--ctnew-navy); font-size: 23px; font-weight: 900; line-height: 1.45; }
.ctnew-panel-heading small { align-self: start; padding: 5px 8px; color: #45616f; background: #edf3f5; font-size: 10px; font-weight: 800; white-space: nowrap; }

.ctnew-fields { display: grid; gap: 15px; }
.ctnew-field { display: grid; gap: 7px; color: #223440; font-size: 13px; font-weight: 900; }
.ctnew-field select {
    width: 100%;
    height: 49px;
    padding: 0 12px;
    border: 1px solid #cfd9de;
    border-radius: 0;
    outline: 0;
    color: #172833;
    background: #fff;
    font: inherit;
    font-weight: 700;
}
.ctnew-field select:focus { border-color: var(--ctnew-red); box-shadow: 0 0 0 3px rgba(199,11,15,.1); }

.ctnew-options { display: grid; gap: 9px; margin: 22px 0 0; padding: 17px; border: 1px solid #dfe6e9; background: #f6f8f9; }
.ctnew-options legend { padding: 0 5px; color: var(--ctnew-navy); font-size: 13px; font-weight: 900; }
.ctnew-options label { display: flex; align-items: center; gap: 9px; cursor: pointer; color: #2a3b45; font-size: 13px; font-weight: 800; }
.ctnew-options input { width: 18px; height: 18px; accent-color: var(--ctnew-red); }

.ctnew-submit {
    width: 100%;
    min-height: 52px;
    margin-top: 18px;
    padding: 10px 18px;
    border: 0;
    color: #fff;
    background: var(--ctnew-red);
    font: inherit;
    font-size: 15px;
    font-weight: 900;
    cursor: pointer;
}
.ctnew-submit:hover { background: #a3070b; }
.ctnew-submit span { margin-inline-start: 8px; font-size: 20px; }
.ctnew-privacy { margin: 11px 0 0; color: #61727b; font-size: 11px; line-height: 1.7; text-align: center; }

.ctnew-results { min-height: 460px; padding: 25px; }
.ctnew-empty { display: grid; min-height: 410px; place-content: center; padding: 35px; text-align: center; }
.ctnew-empty span { color: var(--ctnew-red); font-size: 12px; font-weight: 900; }
.ctnew-empty h2 { margin: 7px 0 10px; color: var(--ctnew-navy); font-size: clamp(25px, 3vw, 38px); font-weight: 900; }
.ctnew-empty p { max-width: 600px; margin: 0 auto; color: #5a6a73; line-height: 1.9; }

.ctnew-results-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 18px; border-bottom: 3px solid var(--ctnew-red); }
.ctnew-actions button { padding: 9px 13px; border: 1px solid #bcc9cf; color: var(--ctnew-navy); background: #fff; font: inherit; font-size: 11px; font-weight: 900; cursor: pointer; }
.ctnew-progress { display: grid; gap: 12px; margin: 20px 0; padding: 16px 18px; background: var(--ctnew-navy); }
.ctnew-progress__copy { display: flex; justify-content: space-between; gap: 12px; color: #fff; font-size: 12px; }
.ctnew-progress__copy span { color: rgba(255,255,255,.72); }
.ctnew-progress__track { overflow: hidden; height: 7px; background: rgba(255,255,255,.17); }
.ctnew-progress__track i { display: block; height: 100%; background: var(--ctnew-gold); transition: width .25s ease; }

.ctnew-list { display: grid; gap: 14px; }
.ctnew-task { padding: 20px; border: 1px solid #dce3e7; border-right: 4px solid var(--ctnew-red); background: #fff; transition: opacity .2s ease, border-color .2s ease; }
.ctnew-task.is-done { border-right-color: var(--ctnew-green); background: #f5fbf8; opacity: .82; }
.ctnew-task__top { display: grid; grid-template-columns: 44px minmax(0,1fr); gap: 14px; }
.ctnew-task__number { display: grid; width: 42px; height: 42px; place-items: center; color: var(--ctnew-red); border: 1px solid currentColor; border-radius: 50%; font-size: 12px; font-weight: 900; }
.ctnew-task.is-done .ctnew-task__number { color: var(--ctnew-green); }
.ctnew-task__copy small { color: var(--ctnew-red); font-size: 10px; font-weight: 900; }
.ctnew-task__copy h3 { margin: 3px 0 7px; color: var(--ctnew-navy); font-size: 19px; font-weight: 900; line-height: 1.55; }
.ctnew-task__copy p { margin: 0; color: #50616b; font-size: 13px; line-height: 1.9; }
.ctnew-task__docs { margin: 15px 58px 0 0; padding: 12px 14px; background: #f4f7f8; }
.ctnew-task__docs strong { color: var(--ctnew-navy); font-size: 11px; }
.ctnew-task__docs ul { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 7px 0 0; padding: 0 17px 0 0; color: #52636c; font-size: 11px; line-height: 1.7; }
.ctnew-task__footer { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 15px; padding-top: 14px; border-top: 1px solid #e5eaed; }
.ctnew-check { display: flex; align-items: center; gap: 8px; cursor: pointer; color: #293d48; font-size: 11px; font-weight: 900; }
.ctnew-check input { width: 18px; height: 18px; accent-color: var(--ctnew-green); }
.ctnew-source { color: var(--ctnew-red) !important; font-size: 11px; font-weight: 900; text-decoration: none !important; text-align: left; }
.ctnew-source:hover { text-decoration: underline !important; }
.ctnew-result-note { margin: 18px 0 0; padding: 13px 15px; color: #695316; border-right: 3px solid var(--ctnew-gold); background: #fff9e8; font-size: 11px; line-height: 1.8; }

.ctnew-trust { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 18px; padding-bottom: 56px; }
.ctnew-trust article { padding: 23px; }
.ctnew-trust article:first-child { color: #fff; background: var(--ctnew-navy); }
.ctnew-trust span { color: var(--ctnew-gold); font-size: 11px; font-weight: 900; }
.ctnew-trust h2 { margin: 4px 0 9px; color: var(--ctnew-navy); font-size: 19px; font-weight: 900; }
.ctnew-trust article:first-child h2 { color: #fff; }
.ctnew-trust p { margin: 0; color: #586a73; font-size: 12px; line-height: 1.9; }
.ctnew-trust article:first-child p { color: rgba(255,255,255,.78); }

@media (max-width: 980px) {
    .ctnew-hero__inner { min-height: 280px; }
    .ctnew-app { grid-template-columns: 1fr; }
    .ctnew-form { position: static; }
    .ctnew-trust { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
    .ctnew-hero__inner { grid-template-columns: 1fr; min-height: 0; padding-block: 36px; }
    .ctnew-hero__mark { display: none; }
    .ctnew-hero h1 { font-size: 35px; }
    .ctnew-app { width: min(calc(100% - 20px), 1440px) !important; padding-block: 20px 32px; }
    .ctnew-form, .ctnew-results { padding: 18px; }
    .ctnew-panel-heading, .ctnew-results-head, .ctnew-task__footer, .ctnew-progress__copy { align-items: stretch; flex-direction: column; }
    .ctnew-results-head { display: flex; }
    .ctnew-actions button { width: 100%; }
    .ctnew-task { padding: 16px; }
    .ctnew-task__top { grid-template-columns: 36px minmax(0,1fr); gap: 11px; }
    .ctnew-task__number { width: 34px; height: 34px; }
    .ctnew-task__docs { margin-right: 0; }
    .ctnew-source { text-align: right; }
    .ctnew-trust { width: min(calc(100% - 20px), 1440px) !important; }
}

@media print {
    .canada-header, .canada-footer, .ctnew-hero, .ctnew-form, .ctnew-trust, .ctnew-actions { display: none !important; }
    .ctnew-app { display: block; padding: 0; }
    .ctnew-results { border: 0; box-shadow: none; }
    .ctnew-task { break-inside: avoid; }
}
