.cs7-private {
    margin: 0;
    background: #edf2f7;
}

.cs7-private main {
    padding: clamp(12px, 4vw, 48px) 12px;
}

.cs7 {
    --cs7-navy: #0e1b2e;
    --cs7-ink: #182b43;
    --cs7-muted: #4d6178;
    --cs7-line: #d8e2ec;
    --cs7-blue: #17558f;
    max-width: 880px;
    margin: 0 auto;
    color: var(--cs7-ink);
    font-family: inherit;
    font-size: 16px;
    line-height: 1.5;
}

.cs7-private .cs7 {
    font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}

.cs7, .cs7 * { box-sizing: border-box; }
.cs7 [hidden] { display: none !important; }
.cs7 :is(h2, h3, h4, p) { margin: 0; color: inherit; }
.cs7 :is(h3, h4) { line-height: 1.2; font-weight: 750; }
.cs7 h3 { font-size: clamp(20px, 3vw, 26px); }
.cs7 h4 { font-size: 18px; }
.cs7 a { color: var(--cs7-blue); text-decoration: underline; text-underline-offset: .16em; }

.cs7 .cs7-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(24px, 5vw, 48px);
    background: linear-gradient(120deg, #0e1b2e 40%, #1b4260 100%);
    border-radius: 18px;
    color: #fff;
}

.cs7 .cs7-brands {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: clamp(24px, 5vw, 45px);
}

.cs7 .cs7-mark, .cs7 .cs7-disc {
    display: block;
    height: auto;
    object-fit: contain;
    border-radius: 0;
    box-shadow: none;
}
.cs7 .cs7-mark { width: min(48%, 245px); }
.cs7 .cs7-disc { width: min(31%, 134px); }
.cs7 .cs7-hero h2 { font-size: clamp(30px, 6vw, 52px); font-weight: 780; line-height: 1.08; letter-spacing: -.035em; }
.cs7 .cs7-hero p { margin-top: 12px; max-width: 52ch; color: #dce9f6; }

.cs7 .cs7-panel {
    margin-top: 16px;
    padding: clamp(16px, 4vw, 30px);
    border: 1px solid var(--cs7-line);
    border-radius: 16px;
    background: #fff;
}

.cs7 :is(.cs7-intro, .cs7-score-head, .cs7-buttons) {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 12px 16px;
}
.cs7 :is(.cs7-intro, .cs7-score-head) { justify-content: space-between; }
.cs7 .cs7-field { display: grid; gap: 5px; font-weight: 650; }
.cs7 .cs7-field span { color: var(--cs7-muted); font-weight: 450; }
.cs7 .cs7-business { display: block; flex: 1 1 240px; max-width: 400px; }
.cs7 .cs7-business input { display: block; margin-top: 5px; }

.cs7 :is(input, select) {
    width: 100%;
    max-width: 100%;
    min-height: 44px;
    padding: 8px 10px;
    color: var(--cs7-ink);
    background: #fff;
    border: 1px solid #889db1;
    border-radius: 8px;
    box-shadow: none;
    font: inherit;
    font-weight: 450;
}
.cs7 :is(button, input, select, a):focus-visible {
    outline: 3px solid #317cba;
    outline-offset: 3px;
}
.cs7 button {
    min-height: 44px;
    padding: 9px 14px;
    border: 1px solid #9db4c9;
    border-radius: 8px;
    background: #fff;
    color: var(--cs7-ink);
    box-shadow: none;
    font: inherit;
    font-weight: 675;
    letter-spacing: normal;
    text-transform: none;
    text-align: center;
    white-space: normal;
    cursor: pointer;
}
.cs7 button.cs7-primary { background: var(--cs7-blue); border-color: var(--cs7-blue); color: #fff; }
.cs7 button.cs7-primary:hover { background: #103e69; }
.cs7 button:not(.cs7-primary):hover { background: #edf5fc; }
.cs7 button.cs7-danger { color: #912823; border-color: #ca9b96; }
.cs7[aria-busy="true"] button { cursor: wait; }

.cs7 .cs7-quarters { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 18px; }
.cs7 button.cs7-quarter {
    display: grid;
    gap: 1px;
    justify-items: start;
    min-width: 0;
    padding: 9px 10px;
    text-align: left;
}
.cs7 .cs7-quarter strong { font-size: 18px; }
.cs7 .cs7-quarter span { font-size: .8rem; font-weight: 450; }
.cs7 button.cs7-quarter[aria-pressed="true"] {
    border-color: var(--cs7-blue);
    background: #e8f3fd;
    color: #103e69;
    box-shadow: inset 0 -3px var(--cs7-blue);
}

.cs7 .cs7-score-head .cs7-field { margin-top: 12px; }
.cs7 .cs7-score-head input { width: min(100%, 190px); }
.cs7 .cs7-score-head { align-items: stretch; }
.cs7 .cs7-result {
    display: grid;
    align-content: center;
    justify-items: start;
    gap: 3px;
    min-width: 179px;
    padding: 12px 16px;
    border-radius: 10px;
    background: #edf4fa;
}
.cs7 .cs7-result strong { font-size: 28px; line-height: 1.1; letter-spacing: -.035em; }
.cs7 .cs7-result span { font-size: .83rem; }
.cs7 [data-role="band"] { border-radius: 5px; padding: 1px 6px; background: #dfe9f3; font-weight: 700; }
.cs7 [data-tone="high"] { color: #7e2421; background: #f9e5e2; }
.cs7 [data-tone="moderate"] { color: #704909; background: #fff0d0; }
.cs7 [data-tone="low"] { color: #15543a; background: #dcf1e7; }

.cs7 .cs7-scale {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px 10px;
    list-style: none;
    margin: 20px 0 12px;
    padding: 10px;
    border-radius: 8px;
    background: #f0f5fa;
}
.cs7 .cs7-scale li { padding: 0; color: var(--cs7-ink); font-size: .84rem; }
.cs7 .cs7-scale strong { color: var(--cs7-blue); }
.cs7 .cs7-layer {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) minmax(160px, 205px);
    align-items: center;
    gap: 8px 13px;
    padding: 13px 0;
    border-top: 1px solid var(--cs7-line);
}
.cs7 .cs7-layer-number {
    display: grid;
    align-items: center;
    justify-items: center;
    min-width: 28px;
    min-height: 28px;
    border-radius: 7px;
    background: #e9f2fa;
    color: #194872;
    font-size: .84rem;
    font-weight: 750;
}
.cs7 .cs7-layer[data-attention="1"] .cs7-layer-number { background: #fff0d0; color: #704909; }
.cs7 .cs7-layer[data-attention="1"] select { border-color: #9b690d; background: #fffbf1; }
.cs7 .cs7-layer label { display: block; font-weight: 700; }
.cs7 .cs7-layer p, .cs7 .cs7-muted { color: var(--cs7-muted); font-size: .9rem; }
.cs7 .cs7-band-guide { margin-top: 8px; }
.cs7 .cs7-actions p, .cs7 .cs7-private-action p { margin: 9px 0 14px; }
.cs7 .cs7-auth { margin-top: 14px; padding: 16px; border: 1px solid var(--cs7-line); border-radius: 10px; background: #f3f8fc; }
.cs7 .cs7-auth .cs7-field { max-width: 370px; margin-bottom: 12px; }
.cs7 .cs7-private-controls { margin-top: 16px; }
.cs7 .cs7-privacy { margin-bottom: 0; }
.cs7 .cs7-privacy a { margin-left: 4px; }
.cs7 .cs7-notice {
    margin-top: 14px;
    padding: 10px 12px;
    border-radius: 8px;
    background: #e8f3fc;
}
.cs7 .cs7-notice[data-error="1"] { background: #fcece9; color: #7e2421; }
.cs7 .cs7-footer { padding: 15px 0 5px; text-align: center; }

@media (max-width: 550px) {
    .cs7 .cs7-hero { border-radius: 12px; }
    .cs7 .cs7-panel { border-radius: 12px; }
    .cs7 .cs7-business { max-width: none; }
    .cs7 button.cs7-quarter { padding: 8px 6px; }
    .cs7 .cs7-layer { grid-template-columns: 28px minmax(0, 1fr); }
    .cs7 .cs7-layer select { grid-column: 2; }
    .cs7 .cs7-score-head > div:first-child { flex: 1 1 130px; }
    .cs7 .cs7-result { min-width: 0; padding: 9px; }
    .cs7 .cs7-scale { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cs7 .cs7-actions .cs7-buttons > button { flex: 1 1 175px; }
}
