/* Корпоративный доступ: страница «Для бизнеса», кабинет компании, пополнение.
   Разметка повторяет прототип модели «оплачено до». Bootstrap даёт кнопки, таблицы и
   формы; здесь только то, чего в нём нет. Префикс cp-, чтобы не пересекаться с Bootstrap. */

.cp-display {
    font-family: "Roboto Slab", Georgia, serif;
    font-size: 26px;
    line-height: 1.25;
    margin: 6px 0 16px;
    max-width: 30ch;
    text-wrap: balance;
}

.cp-h3 {
    font-size: 19px;
    font-weight: 500;
    margin: 22px 0 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.cp-num {
    font-variant-numeric: tabular-nums;
}

.cp-box {
    border-radius: 8px;
    padding: 14px 16px;
}

.cp-box p {
    margin: 0 0 6px;
}

.cp-box p:last-child {
    margin: 0;
}

.cp-box.info {
    background: #f0f7ff;
    border: 1px solid #cfe2ff;
}

.cp-box.paper {
    background: #f6f7f9;
    border: 1px solid #dee2e6;
}

.cp-rule {
    font-size: 15px;
}

.cp-rule b {
    font-weight: 600;
}

/* число сотрудников */
.cp-calc {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 18px;
    margin: 8px 0 14px;
}

.cp-stepper {
    display: inline-flex;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
}

.cp-stepper button {
    border: 0;
    background: #fff;
    width: 38px;
    height: 40px;
    font-size: 18px;
    cursor: pointer;
    color: #212529;
}

.cp-stepper button:hover {
    background: #f6f7f9;
}

.cp-stepper input {
    width: 64px;
    height: 40px;
    border: 0;
    border-left: 1px solid #dee2e6;
    border-right: 1px solid #dee2e6;
    text-align: center;
    font-size: 17px;
    -moz-appearance: textfield;
}

.cp-stepper input::-webkit-outer-spin-button,
.cp-stepper input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* карточки пакетов */
.cp-plans {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.cp-plan {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 16px;
    background: #fff;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cp-plan.hi {
    border-color: #0d6efd;
    box-shadow: 0 0 0 3px #f0f7ff;
}

.cp-plan .name {
    font-size: 15px;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.cp-price {
    font-size: 28px;
    font-weight: 600;
    line-height: 1.1;
    margin-top: 4px;
}

.cp-price s {
    font-size: 16px;
    color: #6c757d;
    font-weight: 400;
    margin-left: 8px;
}

.cp-plan .until {
    margin-top: auto;
    padding-top: 8px;
    border-top: 1px dashed #dee2e6;
}

.cp-plan .until b {
    font-weight: 600;
}

.cp-cols {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.cp-cols ul {
    margin: 6px 0 0;
    padding-left: 18px;
}

.cp-cols li {
    margin: 3px 0;
}

/* частые вопросы */
.cp-faq details {
    border-top: 1px solid #dee2e6;
    padding: 10px 0;
}

.cp-faq details:last-child {
    border-bottom: 1px solid #dee2e6;
}

.cp-faq summary {
    cursor: pointer;
    font-size: 15px;
    list-style: none;
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.cp-faq summary::-webkit-details-marker {
    display: none;
}

.cp-faq summary::after {
    content: "+";
    color: #6c757d;
    font-size: 18px;
    line-height: 1;
}

.cp-faq details[open] summary::after {
    content: "–";
}

.cp-faq details p {
    margin: 8px 0 0;
    max-width: 68ch;
}

/* кабинет: состояние подписки */
.cp-status {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 16px;
    border: 1px solid #dee2e6;
    border-radius: 10px;
    padding: 18px 20px;
    background: #fff;
}

.cp-status .big {
    font-size: 22px;
    font-weight: 600;
    line-height: 1.2;
}

.cp-status .big small {
    display: block;
    margin-top: 2px;
    font-size: 14px;
    font-weight: 400;
    color: #6c757d;
}

.cp-status .until {
    font-size: 17px;
    margin-top: 6px;
}

.cp-status .hint {
    margin-top: 10px;
    color: #6c757d;
}

.cp-status .actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    justify-content: center;
}

.cp-status > div {
    min-width: 0;
}

.cp-status .actions .btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    white-space: normal;
    text-align: left;
}

.cp-company {
    border: 1px solid #dee2e6;
    border-radius: 10px;
    padding: 4px 16px 16px;
    margin-top: 14px;
    background: #fff;
}

.cp-company .cp-h3 {
    margin-top: 12px;
}

.cp-name-inp {
    border: 0;
    border-bottom: 1px dashed #dee2e6;
    font-size: 19px;
    font-weight: 500;
    padding: 2px 0;
    min-width: 240px;
    max-width: 100%;
    background: transparent;
}

.cp-name-inp:focus {
    outline: none;
    border-bottom-color: #0d6efd;
}

.cp-table th {
    font-weight: 600;
    color: #6c757d;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .03em;
    white-space: nowrap;
}

.cp-table tr.pending td {
    color: #6c757d;
}

.cp-table .sub {
    display: block;
    color: #6c757d;
    font-size: 12px;
}

.cp-table td.nw {
    white-space: nowrap;
}

.cp-invite {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-top: 10px;
}

.cp-invite input {
    min-width: 240px;
    max-width: 320px;
}

.cp-confirm .row-btns {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

details.cp-ledger {
    margin-top: 12px;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    background: #fff;
}

details.cp-ledger summary {
    padding: 10px 14px;
    cursor: pointer;
    font-size: 15px;
    list-style: none;
}

details.cp-ledger summary::-webkit-details-marker {
    display: none;
}

details.cp-ledger summary::before {
    content: "▸ ";
    color: #6c757d;
}

details.cp-ledger[open] summary::before {
    content: "▾ ";
}

details.cp-ledger .in {
    padding: 0 14px 12px;
}

/* пополнение */
.cp-choice {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.cp-choice a {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 14px 16px;
    background: #fff;
    display: block;
    color: inherit;
    text-decoration: none;
}

.cp-choice a.on {
    border-color: #0d6efd;
    box-shadow: 0 0 0 3px #f0f7ff;
}

.cp-choice .cp-price {
    font-size: 24px;
}

.cp-choice .radio {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 1px solid #adb5bd;
    border-radius: 50%;
    margin-right: 8px;
    vertical-align: -2px;
}

.cp-choice a.on .radio {
    border: 4px solid #0d6efd;
}

.cp-total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-top: 14px;
    font-size: 18px;
    gap: 12px;
}

.cp-total b {
    font-size: 26px;
    font-weight: 600;
}

.cp-pay {
    max-width: 420px;
}

.cp-pay .form-control {
    margin-bottom: 8px;
}

@media (max-width: 640px) {
    .cp-plans, .cp-cols, .cp-choice, .cp-status {
        grid-template-columns: 1fr;
    }

    .cp-display {
        font-size: 22px;
    }
}

/* кабинет: переключатель компаний над карточкой */
.cp-switch {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin: 18px 0 -6px;
}

/* кабинет: список сотрудников */
.cp-company {
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 18px 20px 20px;
    margin-top: 16px;
    background: #fff;
    font-size: 14px;
    line-height: 1.45;
}

.cp-company-head {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 12px;
    margin-bottom: 6px;
}

.cp-company-name {
    font-size: 20px;
    font-weight: 600;
    border: 0;
    background: transparent;
    padding: 2px 6px;
    margin-left: -6px;
    border-radius: 6px;
    min-width: 200px;
    max-width: 100%;
    color: #212529;
}

.cp-company-name:hover {
    background: #f6f7f9;
}

.cp-company-name:focus {
    outline: 2px solid #cfe2ff;
    background: #fff;
}

.cp-company-meta {
    color: #6c757d;
    font-size: 13px;
}

.cp-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 10px 0 6px;
}

.cp-filter {
    border: 0;
    background: #f1f3f5;
    color: #495057;
    border-radius: 999px;
    padding: 5px 12px;
    font-size: 13px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    line-height: 1.3;
}

.cp-filter:hover {
    background: #e9ecef;
}

.cp-filter[aria-pressed="true"] {
    background: #212529;
    color: #fff;
}

.cp-filter .n {
    font-variant-numeric: tabular-nums;
    color: #868e96;
}

.cp-filter[aria-pressed="true"] .n {
    color: #ced4da;
}

.cp-filter .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.dot.ok { background: #198754; }
.dot.warn { background: #e9a800; }
.dot.bad { background: #dc3545; }
.dot.muted { background: #adb5bd; }

.cp-chip {
    display: inline-block;
    border-radius: 999px;
    padding: 3px 10px;
    font-size: 12.5px;
    font-weight: 600;
    white-space: nowrap;
    line-height: 1.4;
}

.cp-chip.ok { background: #dcf3e6; color: #0f5132; }
.cp-chip.warn { background: #fff1c2; color: #664d03; }
.cp-chip.bad { background: #fbe0e3; color: #842029; }
.cp-chip.muted { background: #eef0f2; color: #6c757d; font-weight: 500; }

.cp-people {
    list-style: none;
    margin: 6px 0 0;
    padding: 0;
}

.cp-person {
    display: grid;
    grid-template-columns: 40px minmax(0, 1.6fr) minmax(0, 1.2fr) minmax(0, 1.1fr) 36px;
    gap: 14px;
    align-items: center;
    padding: 11px 8px;
    border-top: 1px solid #f1f3f5;
    border-radius: 8px;
}

/* пульс компании: столбик — сколько человек команды было на сайте в этот день,
   под ним точки дней с тестами. Колонок столько, сколько дней в окне (PULSE_COMPANY_DAYS) */
.cp-heart {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 22px;
    align-items: end;
    margin: 8px 0 4px;
    padding: 12px 14px 10px;
    background: #f8f9fa;
    border-radius: 10px;
}

.cp-heart-lbl {
    color: #adb5bd;
    font-size: 11.5px;
    margin-bottom: 4px;
}

.cp-heart-bars, .cp-heart-tests, .cp-heart-axis {
    display: grid;
    grid-template-columns: repeat(42, 1fr);
    gap: 3px;
}

.cp-heart-bars {
    align-items: end;
    height: 52px;
}

.cp-heart-bars i {
    display: block;
    background: #7f9bb8;
    border-radius: 2px 2px 0 0;
}

.cp-heart-bars i.zero { background: #e2e5e8; }
.cp-heart-bars i.today { background: #3f5f80; }

.cp-heart-tests {
    height: 5px;
    margin-top: 3px;
}

.cp-heart-tests i {
    display: block;
    height: 4px;
    border-radius: 2px;
}

.cp-heart-tests i.pass { background: #198754; }
.cp-heart-tests i.fail { background: #dc3545; }
.cp-heart-tests i.both { background: linear-gradient(90deg, #198754 50%, #dc3545 50%); }

.cp-heart-axis {
    font-size: 10px;
    color: #adb5bd;
    margin-top: 3px;
    white-space: nowrap;
}

.cp-heart-axis span {
    grid-column: span 7;
}

.cp-heart-stat {
    font-size: 12.5px;
    color: #495057;
    line-height: 1.5;
    min-width: 200px;
}

.cp-heart-stat .big {
    font-family: "Roboto Slab", Georgia, serif;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.1;
    color: #212529;
}

.cp-heart-stat .big small {
    font-family: var(--bs-body-font-family);
    font-size: 12.5px;
    font-weight: 400;
    color: #6c757d;
}

/* линия присутствия в строке сотрудника: столбик — день на сайте, чем выше, тем больше
   минут чтения (m1 до 10, m2 до 30, m3 от 30), зелёный и красный — тест, светло-зелёный
   пол — сданный тест действует */
.cp-pulse {
    display: flex;
    align-items: flex-end;
    gap: 1px;
    height: 16px;
    margin-bottom: 4px;
}

.cp-pulse i {
    display: block;
    width: 5px;
    height: 3px;
    border-radius: 1px;
    background: #e2e5e8;
}

.cp-pulse i.seen { height: 7px; background: #7f9bb8; }
.cp-pulse i.seen.m1 { height: 10px; }
.cp-pulse i.seen.m2 { height: 13px; }
.cp-pulse i.seen.m3 { height: 16px; }
.cp-pulse i.valid { height: 5px; background: #b7dfc8; }
.cp-pulse i.valid.seen { background: #7f9bb8; box-shadow: 0 2px 0 #198754; }
.cp-pulse i.pass { height: 16px; background: #198754; }
.cp-pulse i.fail { height: 16px; background: #dc3545; }

.cp-person .seen .cnt {
    display: block;
    color: #adb5bd;
    font-size: 12px;
}

.cp-people > .cp-person:first-child {
    border-top: 0;
}

.cp-person:hover {
    background: #fafbfc;
}

.cp-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e9ecef;
    color: #495057;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: .02em;
}

.cp-person.ok .cp-avatar { background: #dcf3e6; color: #0f5132; }
.cp-person.warn .cp-avatar { background: #fff1c2; color: #664d03; }
.cp-person.bad .cp-avatar { background: #fbe0e3; color: #842029; }
.cp-person.muted .cp-avatar { background: #e9ecef; color: #6c757d; }
.cp-person.dim .cp-avatar { background: #f1f3f5; color: #adb5bd; }

.cp-person .who {
    min-width: 0;
}

.cp-person .name {
    font-weight: 600;
    font-size: 15px;
    line-height: 1.3;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.cp-person.dim .name {
    color: #6c757d;
    font-weight: 500;
}

.cp-person .email {
    color: #868e96;
    font-size: 12.5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cp-tag {
    display: inline-block;
    border: 1px solid #dee2e6;
    color: #6c757d;
    border-radius: 6px;
    padding: 0 6px;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.6;
}

.cp-person .test .sub {
    display: block;
    color: #868e96;
    font-size: 12.5px;
    margin-top: 3px;
}

.cp-person .seen .lbl {
    display: block;
    color: #adb5bd;
    font-size: 11.5px;
    margin-bottom: 3px;
}

.cp-person .seen .val {
    font-size: 13.5px;
}

.cp-person .seen .val.stale { color: #9a6b00; }
.cp-person .seen .val.long, .cp-person .seen .val.never { color: #b02a37; }

.cp-person .act .btn {
    border: 0;
    background: transparent;
    color: #ced4da;
    padding: 4px 8px;
    border-radius: 6px;
    line-height: 1;
}

.cp-person:hover .act .btn, .cp-person .act .btn:focus, .cp-person .act .btn[aria-expanded="true"] {
    color: #495057;
    background: #eef0f2;
}

.cp-section {
    color: #868e96;
    font-size: 12.5px;
    margin: 14px 0 2px;
    padding: 0 8px;
}

.cp-note {
    color: #adb5bd;
    font-size: 12px;
    margin: 6px 8px 0;
}

.cp-invite {
    margin-top: 14px;
}

.cp-invite input {
    min-width: 260px;
    max-width: 360px;
    height: 38px;
}

details.cp-ledger {
    border-color: #eef0f2;
    border-radius: 10px;
}

details.cp-ledger summary {
    padding: 11px 16px;
    font-size: 14px;
    color: #495057;
}

@media (max-width: 640px) {
    .cp-person {
        grid-template-columns: 36px minmax(0, 1fr) 36px;
        row-gap: 6px;
        padding: 12px 4px;
    }

    .cp-person .test, .cp-person .seen {
        grid-column: 2;
    }

    .cp-person .act {
        grid-column: 3;
        grid-row: 1;
    }

    .cp-avatar {
        width: 36px;
        height: 36px;
        font-size: 13px;
    }

    .cp-heart {
        grid-template-columns: minmax(0, 1fr);
        gap: 8px;
        padding: 10px 10px 8px;
    }

    .cp-heart-bars, .cp-heart-tests, .cp-heart-axis {
        gap: 2px;
    }

    .cp-heart-stat {
        min-width: 0;
    }
}

/* результаты тестов сотрудников */
.cr-back {
    display: inline-block;
    font-size: 13px;
    color: #6c757d;
    text-decoration: none;
    margin-bottom: 6px;
}

.cr-back:hover {
    color: #212529;
}

.cr-head {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 16px;
}

.cp-filter.on, .cp-filter[aria-pressed="true"] {
    background: #212529;
    color: #fff;
    text-decoration: none;
}

a.cp-filter {
    text-decoration: none;
}

.cr-month {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 12px;
    margin: 14px 0 8px;
}

.cr-nav {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f1f3f5;
    color: #495057;
    text-decoration: none;
}

.cr-nav:hover {
    background: #e9ecef;
    color: #212529;
}

.cr-nav.disabled {
    opacity: .35;
    pointer-events: none;
}

.cr-month-title {
    font-size: 20px;
    font-weight: 600;
    min-width: 150px;
    text-align: center;
}

.cr-summary {
    color: #6c757d;
    font-size: 13.5px;
    margin-left: 6px;
}

.cr-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
    color: #868e96;
    font-size: 12.5px;
    margin-bottom: 10px;
}

.cr-legend span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.cr-legend .cr-cell {
    width: 14px;
    height: 14px;
    font-size: 0;
}

.cr-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.cr-emp {
    border: 1px solid #e9ecef;
    border-radius: 12px;
    background: #fff;
    padding: 14px 18px 12px;
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.45;
}

.cr-emp.bad {
    border-color: #f1c2c7;
}

.cr-emp.shared {
    box-shadow: inset 4px 0 0 #e9a800;
}

.cr-emp.ok .cp-avatar { background: #dcf3e6; color: #0f5132; }
.cr-emp.bad .cp-avatar { background: #fbe0e3; color: #842029; }
.cr-emp.muted .cp-avatar { background: #e9ecef; color: #6c757d; }

.cr-emp-head {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
}

.cr-who {
    min-width: 0;
}

.cr-who .name {
    font-weight: 600;
    font-size: 15px;
    line-height: 1.3;
}

.cr-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
    margin-top: 4px;
    font-size: 12.5px;
}

.cr-coins {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #6c757d;
    font-size: 12.5px;
}

.cr-coins img {
    width: 14px;
    height: 14px;
}

/* календарь месяца: 7 колонок, клетки-квадраты */
.cr-cal {
    display: grid;
    grid-template-columns: repeat(7, 22px);
    gap: 3px;
    justify-content: end;
}

.cr-wd {
    font-size: 10px;
    color: #adb5bd;
    text-align: center;
    line-height: 12px;
}

.cr-cell {
    display: inline-block;
    width: 22px;
    height: 22px;
    border-radius: 5px;
    background: #f1f3f5;
    color: #adb5bd;
    font-size: 10px;
    line-height: 22px;
    text-align: center;
    font-variant-numeric: tabular-nums;
}

.cr-cell.blank {
    background: transparent;
}

.cr-cell.pass {
    background: #198754;
    color: #fff;
    font-weight: 600;
}

.cr-cell.fail {
    background: #dc3545;
    color: #fff;
    font-weight: 600;
}

.cr-cell.valid {
    background: #c9ead7;
    color: #0f5132;
}

.cr-cell.today {
    box-shadow: 0 0 0 2px #212529 inset;
    color: #212529;
}

.cr-cell.pass.today, .cr-cell.fail.today {
    box-shadow: 0 0 0 2px #fff inset;
    color: #fff;
}

/* день на сайте — точка под числом, на цветных клетках белая */
.cr-cell {
    position: relative;
}

.cr-cell.seen::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 2px;
    width: 4px;
    height: 4px;
    margin-left: -2px;
    border-radius: 50%;
    background: #3f5f80;
}

.cr-cell.seen.pass::after, .cr-cell.seen.fail::after {
    background: #fff;
}

.cr-legend .cr-cell.seen::after {
    bottom: 5px;
}

/* попытки за месяц */
.cr-attempts {
    list-style: none;
    margin: 12px 0 0;
    padding: 0;
    border-top: 1px solid #f1f3f5;
}

.cr-attempt {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 12px;
    padding: 8px 0 8px 54px;
    border-bottom: 1px solid #f1f3f5;
    font-size: 13.5px;
}

.cr-attempt:last-child {
    border-bottom: 0;
}

.cr-attempt .when {
    color: #495057;
    min-width: 96px;
}

.cr-attempt .course {
    min-width: 96px;
}

.cr-attempt .extra {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 6px;
}

.cr-attempt .cp-chip.warn {
    white-space: normal;
    line-height: 1.35;
}

.cr-attempt .answers {
    margin-left: auto;
    font-size: 12.5px;
    text-decoration: none;
    color: #6c757d;
    border-bottom: 1px dotted #adb5bd;
}

.cr-attempt .answers:hover {
    color: #0d6efd;
    border-bottom-color: #0d6efd;
}

.cr-device {
    font-size: 12.5px;
    color: #868e96;
}

.cr-device summary {
    cursor: pointer;
    list-style: none;
    display: inline;
    border-bottom: 1px dotted #ced4da;
}

.cr-device summary::-webkit-details-marker {
    display: none;
}

.cr-device[open] summary {
    color: #495057;
}

.cr-device-body {
    margin-top: 4px;
    padding: 6px 10px;
    background: #f6f7f9;
    border-radius: 6px;
    color: #495057;
}

.cr-device-body .ua {
    word-break: break-all;
    color: #868e96;
    font-size: 11.5px;
    margin-top: 2px;
}

@media (max-width: 640px) {
    .cr-emp-head {
        grid-template-columns: 36px minmax(0, 1fr);
    }

    .cr-cal {
        grid-column: 1 / -1;
        justify-content: start;
        margin-top: 6px;
    }

    .cr-attempt {
        padding-left: 0;
    }

    .cr-attempt .answers {
        margin-left: 0;
    }
}
