.simos-kbm {
    --kbm-navy: #102a43;
    --kbm-navy-2: #163d63;
    --kbm-ink: #1b2b3c;
    --kbm-muted: #60758a;
    --kbm-line: #dce5ed;
    --kbm-soft: #f3f7fa;
    --kbm-white: #fff;
    --kbm-green: #0c7c59;
    width: min(1180px, calc(100% - 24px));
    margin: 76px auto 24px;
    overflow: hidden;
    color: var(--kbm-ink);
    background: var(--kbm-white);
    border: 1px solid #d4e0e8;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(16, 42, 67, .12);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    box-sizing: border-box;
}

.simos-kbm *,
.simos-kbm *::before,
.simos-kbm *::after {
    box-sizing: border-box;
}

.simos-kbm button,
.simos-kbm input {
    font: inherit;
}

.simos-kbm button,
.simos-kbm a {
    -webkit-tap-highlight-color: transparent;
}

.simos-kbm [hidden] {
    display: none !important;
}

.simos-kbm__class-dock {
    position: fixed;
    z-index: 99990;
    top: max(10px, env(safe-area-inset-top));
    left: 50%;
    display: flex;
    width: max-content;
    max-width: calc(100vw - 24px);
    min-height: 52px;
    padding: 6px 7px 6px 14px;
    align-items: center;
    gap: 10px;
    transform: translateX(-50%);
    background: #ef233c;
    border: 1px solid #d71931;
    border-radius: 15px;
    box-shadow: 0 12px 34px rgba(190, 20, 45, .28);
    backdrop-filter: blur(12px);
}

body.admin-bar .simos-kbm__class-dock {
    top: 42px;
}

.simos-kbm__class-label {
    flex: 0 0 auto;
    color: #fff;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.simos-kbm__stats-link {
    display: inline-flex;
    min-height: 40px;
    padding: 0 13px;
    flex: 0 0 auto;
    align-items: center;
    gap: 7px;
    color: #fff !important;
    background: #102a43;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 10px;
    box-shadow: 0 5px 14px rgba(91, 3, 17, .22);
    font-size: 11.5px;
    font-weight: 850;
    text-decoration: none !important;
    transition: background-color .2s, transform .2s;
}

.simos-kbm__stats-link:hover {
    color: #fff !important;
    background: #173f62;
    transform: translateY(-1px);
}

.simos-kbm__stats-link svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.9;
}

.simos-kbm__hero {
    position: relative;
    min-height: 164px;
    padding: 16px 26px 18px;
    overflow: hidden;
    color: var(--kbm-white);
    background:
        radial-gradient(circle at 88% 12%, rgba(70, 207, 159, .24), transparent 27%),
        radial-gradient(circle at 70% 120%, rgba(67, 148, 201, .28), transparent 38%),
        linear-gradient(128deg, #0d2843 0%, #173f62 60%, #0c6f5a 135%);
}

.simos-kbm__hero::after {
    position: absolute;
    right: -48px;
    bottom: -96px;
    width: 220px;
    height: 220px;
    border: 38px solid rgba(255, 255, 255, .045);
    border-radius: 50%;
    content: "";
}

.simos-kbm__topline,
.simos-kbm__hero-copy,
.simos-kbm__summary {
    position: relative;
    z-index: 1;
}

.simos-kbm__topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.simos-kbm__brand {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--kbm-white) !important;
    text-decoration: none !important;
}

.simos-kbm__brandmark {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    color: #123353;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 7px 18px rgba(0, 0, 0, .16);
    overflow: hidden;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: -.03em;
}

.simos-kbm__brandmark img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.simos-kbm__brand strong,
.simos-kbm__brand small {
    display: block;
}

.simos-kbm__brand strong {
    font-size: 11px;
    line-height: 1.2;
    letter-spacing: .075em;
}

.simos-kbm__brand small {
    margin-top: 1px;
    color: rgba(255, 255, 255, .72);
    font-size: 9px;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.simos-kbm__status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 9px;
    color: rgba(255, 255, 255, .88);
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .02em;
}

.simos-kbm__status i {
    width: 6px;
    height: 6px;
    background: #61e0a9;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(97, 224, 169, .13);
}

.simos-kbm__hero-tools {
    display: flex;
    align-items: center;
    gap: 7px;
}

.simos-kbm__hero-instruction {
    display: inline-flex;
    min-height: 34px;
    padding: 0 11px;
    align-items: center;
    gap: 7px;
    color: #123653;
    background: #fff;
    border: 0;
    border-radius: 9px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, .13);
    cursor: pointer;
    font-size: 10px;
    font-weight: 850;
}

.simos-kbm__hero-instruction:hover {
    background: #eaf8f3;
}

.simos-kbm__hero-instruction svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.simos-kbm__hero-copy {
    max-width: 590px;
    margin-top: 16px;
}

.simos-kbm__eyebrow {
    margin: 0 0 3px !important;
    color: #77e1bb;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.simos-kbm__hero h1 {
    margin: 0 !important;
    color: #fff !important;
    font-size: clamp(27px, 3.6vw, 38px) !important;
    font-weight: 850 !important;
    line-height: 1.05 !important;
    letter-spacing: -.045em;
}

.simos-kbm__hero-copy > p:last-child {
    max-width: 610px;
    margin: 6px 0 0 !important;
    color: rgba(255, 255, 255, .78);
    font-size: 13px;
    line-height: 1.45;
}

.simos-kbm__summary {
    display: flex;
    flex-wrap: wrap;
    position: absolute;
    right: 26px;
    bottom: 18px;
    gap: 8px 16px;
    margin-top: 0;
    color: rgba(255, 255, 255, .72);
    font-size: 10px;
    font-weight: 650;
}

.simos-kbm__summary span {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
}

.simos-kbm__summary strong {
    color: #fff;
    font-size: 15px;
}

.simos-kbm__body {
    padding: 30px 34px 40px;
    background: #f8fafc;
}

.simos-kbm__toolbar {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
}

.simos-kbm__search {
    position: relative;
    display: block;
    flex: 1 1 340px;
    max-width: 560px;
}

.simos-kbm__search > svg {
    position: absolute;
    top: 50%;
    left: 16px;
    width: 19px;
    transform: translateY(-50%);
    fill: none;
    stroke: #71869a;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.simos-kbm__search input {
    width: 100%;
    height: 46px;
    padding: 0 44px 0 47px;
    color: var(--kbm-ink);
    background: #fff;
    border: 1px solid var(--kbm-line);
    border-radius: 13px;
    box-shadow: 0 4px 14px rgba(16, 42, 67, .04);
    font-size: 14px;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
}

.simos-kbm__search input:focus {
    border-color: #4f8fbe;
    box-shadow: 0 0 0 4px rgba(55, 126, 177, .12);
}

.simos-kbm__search [data-clear-search] {
    position: absolute;
    top: 50%;
    right: 9px;
    width: 30px;
    height: 30px;
    padding: 0;
    transform: translateY(-50%);
    color: #60758a;
    background: transparent;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    font-size: 22px;
    line-height: 1;
}

.simos-kbm__filters {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 5px;
    overflow-x: auto;
    max-width: min(420px, calc(100vw - 150px));
    background: rgba(255, 255, 255, .14);
    border-radius: 13px;
    scrollbar-width: none;
}

.simos-kbm__filters::-webkit-scrollbar {
    display: none;
}

.simos-kbm__filters button,
.simos-kbm__results-bar button,
.simos-kbm__empty button {
    border: 0;
    cursor: pointer;
}

.simos-kbm__filters button {
    flex: 0 0 auto;
    min-height: 36px;
    padding: 0 13px;
    color: #fff;
    background: transparent;
    border-radius: 9px;
    font-size: 12px;
    font-weight: 750;
    transition: color .2s, background-color .2s, box-shadow .2s;
}

.simos-kbm__filters button:hover {
    color: #fff;
    background: rgba(255, 255, 255, .16);
}

.simos-kbm__filters button.is-active {
    color: #d91832;
    background: #fff;
    box-shadow: 0 5px 12px rgba(112, 9, 24, .2);
}

.simos-kbm__results-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 56px;
    margin-top: 10px;
}

.simos-kbm__results-bar p {
    margin: 0 !important;
    color: var(--kbm-muted);
    font-size: 12px;
}

.simos-kbm__results-bar strong {
    color: var(--kbm-ink);
}

.simos-kbm__results-bar button {
    padding: 6px 0;
    color: var(--kbm-navy);
    background: transparent;
    font-size: 12px;
    font-weight: 800;
}

.simos-kbm__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.simos-kbm__card {
    --subject: #27658f;
    --subject-soft: #e8f2f8;
    display: flex;
    min-width: 0;
    min-height: 345px;
    padding: 22px;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--kbm-line);
    border-radius: 18px;
    box-shadow: 0 7px 22px rgba(16, 42, 67, .045);
    transition: transform .2s, box-shadow .2s, border-color .2s;
}

.simos-kbm__card:hover {
    transform: translateY(-3px);
    border-color: #c6d7e3;
    box-shadow: 0 16px 32px rgba(16, 42, 67, .1);
}

.simos-kbm__card--bahasa {
    --subject: #236e9a;
    --subject-soft: #e7f2f8;
}

.simos-kbm__card--sunda {
    --subject: #8a4b78;
    --subject-soft: #f8eaf3;
}

.simos-kbm__card--ipa {
    --subject: #0c7c59;
    --subject-soft: #e4f5ee;
}

.simos-kbm__card--informatika {
    --subject: #6553a4;
    --subject-soft: #f0edfa;
}

.simos-kbm__card--pancasila {
    --subject: #b15a2a;
    --subject-soft: #fcefe7;
}

.simos-kbm__card--agama {
    --subject: #744f92;
    --subject-soft: #f2ebf8;
}

.simos-kbm__card--matematika {
    --subject: #a57a12;
    --subject-soft: #fff5d9;
}

.simos-kbm__card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.simos-kbm__subject-icon {
    display: grid;
    width: 48px;
    height: 48px;
    flex: 0 0 auto;
    place-items: center;
    color: var(--subject);
    background: var(--subject-soft);
    border-radius: 14px;
}

.simos-kbm__subject-icon svg {
    width: 25px;
    height: 25px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.65;
}

.simos-kbm__grade {
    max-width: 155px;
    padding: 6px 9px;
    color: #526a7d;
    background: #f1f5f8;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 800;
    line-height: 1.25;
    text-align: center;
    text-transform: uppercase;
}

.simos-kbm__subject {
    margin: 20px 0 5px !important;
    color: var(--subject);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.simos-kbm__card h2 {
    margin: 0 !important;
    color: var(--kbm-ink) !important;
    font-size: 20px !important;
    font-weight: 820 !important;
    line-height: 1.27 !important;
    letter-spacing: -.025em;
}

.simos-kbm__description {
    margin: 10px 0 22px !important;
    color: var(--kbm-muted);
    font-size: 13.5px;
    line-height: 1.68;
}

.simos-kbm__card-foot {
    display: flex;
    align-items: stretch;
    flex-direction: column;
    gap: 13px;
    padding-top: 17px;
    margin-top: auto;
    border-top: 1px solid #e6edf2;
}

.simos-kbm__teacher {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 9px;
    margin: 0 !important;
    color: #40586d;
    font-size: 12px;
    font-weight: 750;
    line-height: 1.32;
}

.simos-kbm__teacher svg {
    width: 25px;
    height: 25px;
    flex: 0 0 auto;
    padding: 4px;
    color: #6e8496;
    background: #edf2f5;
    border-radius: 50%;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-width: 1.7;
}

.simos-kbm__teacher span,
.simos-kbm__teacher small {
    display: block;
}

.simos-kbm__teacher span {
    overflow-wrap: anywhere;
}

.simos-kbm__teacher small {
    margin-bottom: 2px;
    color: #8395a5;
    font-size: 9px;
    font-weight: 650;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.simos-kbm__open {
    display: inline-flex;
    min-height: 38px;
    padding: 0 12px;
    flex: 0 0 auto;
    align-items: center;
    gap: 7px;
    color: #fff !important;
    background: var(--kbm-navy);
    border: 0;
    border-radius: 10px;
    box-shadow: 0 6px 14px rgba(16, 42, 67, .14);
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    text-decoration: none !important;
    transition: background-color .2s, transform .2s;
}

.simos-kbm__card-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 8px;
}

.simos-kbm__card-actions .simos-kbm__open,
.simos-kbm__show-instructions {
    width: 100%;
    justify-content: center;
}

.simos-kbm__show-instructions {
    display: inline-flex;
    min-height: 38px;
    padding: 0 11px;
    align-items: center;
    gap: 7px;
    color: var(--kbm-navy);
    background: #edf3f7;
    border: 1px solid #d6e2ea;
    border-radius: 10px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 800;
    transition: background-color .2s, border-color .2s;
}

.simos-kbm__show-instructions:hover {
    background: #e3eef4;
    border-color: #bfd2df;
}

.simos-kbm__show-instructions svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.simos-kbm__open:hover {
    color: #fff !important;
    background: var(--kbm-navy-2);
    transform: translateX(1px);
}

.simos-kbm__open svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.simos-kbm__empty {
    padding: 54px 20px;
    text-align: center;
}

.simos-kbm__empty > span {
    display: grid;
    width: 58px;
    height: 58px;
    margin: 0 auto 17px;
    place-items: center;
    color: #6b8193;
    background: #eaf0f4;
    border-radius: 18px;
    font-size: 25px;
    font-weight: 850;
}

.simos-kbm__empty h2 {
    margin: 0 0 7px !important;
    color: var(--kbm-ink) !important;
    font-size: 21px !important;
}

.simos-kbm__empty p {
    margin: 0 0 19px !important;
    color: var(--kbm-muted);
    font-size: 13px;
}

.simos-kbm__empty button {
    min-height: 40px;
    padding: 0 15px;
    color: #fff;
    background: var(--kbm-navy);
    border-radius: 10px;
    font-size: 12px;
    font-weight: 800;
}

.simos-kbm__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 62px;
    padding: 14px 34px;
    color: #728699;
    background: #eef3f6;
    border-top: 1px solid #dce5eb;
    font-size: 10.5px;
}

.simos-kbm__footer p {
    margin: 0 !important;
}

.simos-kbm__footer span {
    margin: 0 4px;
}

.simos-kbm__templates {
    display: none;
}

body.simos-kbm-modal-open {
    overflow: hidden !important;
}

.simos-kbm__modal {
    position: fixed;
    z-index: 999999;
    inset: 0;
    display: grid;
    padding: 22px;
    place-items: center;
}

.simos-kbm__modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 19, 32, .76);
    backdrop-filter: blur(5px);
    cursor: pointer;
}

.simos-kbm__dialog {
    position: relative;
    display: grid;
    width: min(920px, 100%);
    max-height: calc(100dvh - 44px);
    grid-template-rows: auto minmax(0, 1fr) auto;
    overflow: hidden;
    color: var(--kbm-ink);
    background: #f8fafc;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 20px;
    box-shadow: 0 28px 90px rgba(0, 0, 0, .34);
    outline: none;
    animation: simos-kbm-dialog-in .2s ease-out both;
}

@keyframes simos-kbm-dialog-in {
    from {
        opacity: 0;
        transform: translateY(14px) scale(.985);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.simos-kbm__dialog-header {
    display: flex;
    min-height: 72px;
    padding: 13px 18px 13px 22px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    color: #fff;
    background: linear-gradient(115deg, #0f2b47, #174d69 72%, #0c705b 135%);
}

.simos-kbm__dialog-header > div {
    min-width: 0;
}

.simos-kbm__dialog-header small,
.simos-kbm__dialog-header strong {
    display: block;
}

.simos-kbm__dialog-header small {
    margin-bottom: 3px;
    color: #78dfbd;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.simos-kbm__dialog-header strong {
    overflow: hidden;
    color: #fff;
    font-size: 15px;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.simos-kbm__dialog-header button {
    display: grid;
    width: 44px;
    height: 44px;
    padding: 0;
    flex: 0 0 auto;
    place-items: center;
    color: #fff;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 12px;
    cursor: pointer;
}

.simos-kbm__dialog-header button:hover {
    background: rgba(255, 255, 255, .2);
}

.simos-kbm__dialog-header svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-width: 2;
}

.simos-kbm__dialog-body {
    padding: 28px;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

.simos-kbm__dialog-footer {
    display: flex;
    min-height: 68px;
    padding: 12px 20px;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    background: #fff;
    border-top: 1px solid var(--kbm-line);
}

.simos-kbm__dialog-footer p {
    margin: 0 !important;
    color: var(--kbm-muted);
    font-size: 11px;
}

.simos-kbm__dialog-footer button {
    min-height: 42px;
    padding: 0 16px;
    flex: 0 0 auto;
    color: #fff;
    background: var(--kbm-navy);
    border: 0;
    border-radius: 10px;
    cursor: pointer;
    font-size: 11px;
    font-weight: 800;
}

.simos-kbm__document {
    --doc-accent: #27658f;
    --doc-soft: #e8f2f8;
    max-width: 790px;
    margin: 0 auto;
}

.simos-kbm__document--ipa {
    --doc-accent: #0c7c59;
    --doc-soft: #e4f5ee;
}

.simos-kbm__document--sunda {
    --doc-accent: #8a4b78;
    --doc-soft: #f8eaf3;
}

.simos-kbm__document--instruction {
    --doc-accent: #0b7659;
    --doc-soft: #e4f5ee;
}

.simos-kbm__document--informatika {
    --doc-accent: #6553a4;
    --doc-soft: #f0edfa;
}

.simos-kbm__document--pancasila {
    --doc-accent: #b15a2a;
    --doc-soft: #fcefe7;
}

.simos-kbm__document--agama {
    --doc-accent: #744f92;
    --doc-soft: #f2ebf8;
}

.simos-kbm__document--matematika {
    --doc-accent: #9a7215;
    --doc-soft: #fff4d6;
}

.simos-kbm__doc-heading {
    display: flex;
    align-items: center;
    gap: 15px;
}

.simos-kbm__doc-icon {
    display: grid;
    width: 58px;
    height: 58px;
    flex: 0 0 auto;
    place-items: center;
    color: var(--doc-accent);
    background: var(--doc-soft);
    border-radius: 16px;
}

.simos-kbm__doc-icon svg {
    width: 30px;
    height: 30px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.65;
}

.simos-kbm__doc-heading p {
    margin: 0 0 4px !important;
    color: var(--doc-accent);
    font-size: 11.5px;
    font-weight: 850;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.simos-kbm__doc-heading h3 {
    margin: 0 !important;
    color: var(--kbm-ink) !important;
    font-size: clamp(23px, 4vw, 32px) !important;
    font-weight: 850 !important;
    line-height: 1.14 !important;
    letter-spacing: -.035em;
}

.simos-kbm__doc-meta {
    display: grid;
    padding: 15px 17px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px 18px;
    margin: 22px 0 0;
    background: #fff;
    border: 1px solid var(--kbm-line);
    border-radius: 13px;
}

.simos-kbm__doc-meta div {
    min-width: 0;
}

.simos-kbm__doc-meta dt,
.simos-kbm__doc-meta dd {
    margin: 0;
}

.simos-kbm__doc-meta dt {
    margin-bottom: 3px;
    color: #8091a0;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.simos-kbm__doc-meta dd {
    color: #334b60;
    font-size: 13.5px;
    font-weight: 750;
    line-height: 1.35;
}

.simos-kbm__instruction {
    padding: 16px 18px;
    margin-top: 22px;
    color: #334b60;
    background: #eef6fb;
    border-left: 4px solid #3e86b8;
    border-radius: 0 12px 12px 0;
}

.simos-kbm__instruction--warning {
    background: #fff7df;
    border-left-color: #c58b14;
}

.simos-kbm__instruction strong {
    display: block;
    margin-bottom: 3px;
    color: var(--kbm-ink);
    font-size: 12.5px;
    font-weight: 850;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.simos-kbm__instruction p {
    margin: 0 !important;
    font-size: 15px;
    line-height: 1.68;
}

.simos-kbm__student-fields {
    display: grid;
    padding: 14px 17px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 22px;
    color: #526a7d;
    background: #fff;
    border: 1px dashed #b7c7d3;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
}

.simos-kbm__questions {
    padding: 0;
    margin: 20px 0 0;
    list-style: none;
    counter-reset: simos-question;
}

.simos-kbm__questions > li {
    position: relative;
    min-height: 58px;
    padding: 17px 18px 17px 58px;
    margin: 0 0 10px;
    color: #293f52;
    background: #fff;
    border: 1px solid #e0e8ee;
    border-radius: 13px;
    box-shadow: 0 4px 12px rgba(16, 42, 67, .025);
    counter-increment: simos-question;
    font-size: 16px;
    line-height: 1.74;
}

.simos-kbm__questions > li::before {
    position: absolute;
    top: 14px;
    left: 15px;
    display: grid;
    width: 29px;
    height: 29px;
    place-items: center;
    color: #fff;
    background: var(--doc-accent);
    border-radius: 9px;
    content: counter(simos-question);
    font-size: 12px;
    font-weight: 850;
}

.simos-kbm__questions blockquote {
    padding: 14px 16px;
    margin: 13px 0;
    color: #425a6d;
    background: #f3f7fa;
    border: 0;
    border-left: 3px solid var(--doc-accent);
    border-radius: 0 9px 9px 0;
    font-style: italic;
    line-height: 1.65;
}

.simos-kbm__questions ol {
    padding-left: 22px;
    margin: 11px 0 0;
}

.simos-kbm__questions ol li {
    padding-left: 4px;
    margin: 5px 0;
}

.simos-kbm__data-row {
    padding: 10px 12px;
    margin: 10px 0;
    overflow-x: auto;
    color: #24445b;
    background: #edf3f7;
    border-radius: 8px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}

.simos-kbm__inline-data,
.simos-kbm__formula {
    color: #1f425c;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.08em;
    font-weight: 700;
}

.simos-kbm__formula--block {
    width: max-content;
    max-width: 100%;
    padding: 10px 16px;
    margin: 12px 0 2px;
    background: #fff7dc;
    border: 1px solid #f0d892;
    border-radius: 9px;
    font-size: 23px;
}

.simos-kbm__math-figure {
    max-width: 350px;
    padding: 16px;
    margin: 16px auto 2px;
    color: #263d50;
    background: #f8fafc;
    border: 1px solid #dce5ec;
    border-radius: 12px;
    text-align: center;
}

.simos-kbm__math-figure svg {
    display: block;
    width: min(260px, 100%);
    height: auto;
    margin: 0 auto;
}

.simos-kbm__math-figure figcaption {
    margin-top: 9px;
    color: #6a7e90;
    font-size: 12px;
    line-height: 1.55;
}

.simos-kbm__lesson-section {
    margin-top: 28px;
}

.simos-kbm__lesson-section + .simos-kbm__lesson-section {
    padding-top: 27px;
    border-top: 1px solid #dbe4eb;
}

.simos-kbm__section-title {
    display: flex;
    align-items: center;
    gap: 13px;
}

.simos-kbm__section-title > span {
    display: grid;
    width: 44px;
    height: 44px;
    flex: 0 0 auto;
    place-items: center;
    color: #fff;
    background: var(--doc-accent);
    border-radius: 12px;
    font-size: 12px;
    font-weight: 900;
}

.simos-kbm__section-title small {
    display: block;
    margin-bottom: 2px;
    color: var(--doc-accent);
    font-size: 9px;
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.simos-kbm__section-title h4 {
    margin: 0 !important;
    color: var(--kbm-ink) !important;
    font-size: 17px !important;
    font-weight: 820 !important;
    line-height: 1.3 !important;
}

.simos-kbm__instruction-welcome {
    padding: 22px;
    margin-top: 23px;
    color: #29485a;
    background: linear-gradient(135deg, #ecf8f3, #edf5fa);
    border: 1px solid #cfe5dd;
    border-radius: 15px;
}

.simos-kbm__instruction-welcome h4,
.simos-kbm__instruction-section h4,
.simos-kbm__instruction-honesty h4 {
    margin: 0 0 9px !important;
    color: var(--kbm-ink) !important;
    font-size: 21px !important;
    font-weight: 840 !important;
    line-height: 1.3 !important;
}

.simos-kbm__instruction-welcome p,
.simos-kbm__instruction-section > p,
.simos-kbm__instruction-honesty p,
.simos-kbm__instruction-closing p {
    margin: 0 !important;
    font-size: 16px;
    line-height: 1.75;
}

.simos-kbm__instruction-welcome .simos-kbm__salam {
    margin-bottom: 13px !important;
    color: #0a6e53;
    font-size: 14px;
    font-weight: 800;
}

.simos-kbm__instruction-section {
    margin-top: 30px;
}

.simos-kbm__instruction-kicker {
    margin: 0 0 4px !important;
    color: #0b7659;
    font-size: 11px !important;
    font-weight: 850;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.simos-kbm__instruction-steps {
    padding: 0;
    margin: 17px 0 0;
    list-style: none;
    counter-reset: simos-step;
}

.simos-kbm__instruction-steps > li {
    display: grid;
    padding: 16px;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 13px;
    align-items: start;
    margin-bottom: 9px;
    color: #354f62;
    background: #fff;
    border: 1px solid #dce6ec;
    border-radius: 12px;
    counter-increment: simos-step;
}

.simos-kbm__instruction-steps > li::before {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    color: #fff;
    background: #0b7659;
    border-radius: 10px;
    content: counter(simos-step);
    font-size: 13px;
    font-weight: 900;
}

.simos-kbm__instruction-steps strong,
.simos-kbm__instruction-steps span {
    display: block;
}

.simos-kbm__instruction-steps strong {
    margin-bottom: 4px;
    color: #213b4e;
    font-size: 16px;
    line-height: 1.35;
}

.simos-kbm__instruction-steps span {
    font-size: 15px;
    line-height: 1.68;
}

.simos-kbm__instruction-principle {
    display: grid;
    padding: 18px;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 14px;
    margin-top: 24px;
    align-items: start;
    color: #4d421f;
    background: #fff7dc;
    border: 1px solid #eedb9f;
    border-radius: 13px;
}

.simos-kbm__instruction-principle > span {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    color: #fff;
    background: #ae7a0e;
    border-radius: 11px;
    font-size: 20px;
    font-weight: 900;
}

.simos-kbm__instruction-principle strong {
    display: block;
    margin-bottom: 4px;
    color: #493b15;
    font-size: 16px;
}

.simos-kbm__instruction-principle p {
    margin: 0 !important;
    font-size: 15px;
    line-height: 1.65;
}

.simos-kbm__instruction-list {
    padding: 0;
    margin: 15px 0 0;
    list-style: none;
}

.simos-kbm__instruction-list li {
    position: relative;
    padding: 11px 14px 11px 40px;
    margin-bottom: 7px;
    color: #354f62;
    background: #fff;
    border: 1px solid #dfe8ee;
    border-radius: 10px;
    font-size: 15px;
    line-height: 1.6;
}

.simos-kbm__instruction-list li::before {
    position: absolute;
    top: 11px;
    left: 14px;
    color: #0b7659;
    content: "✓";
    font-size: 16px;
    font-weight: 900;
}

.simos-kbm__instruction-honesty {
    padding: 19px;
    margin-top: 24px;
    color: #3e5263;
    background: #f1f5f8;
    border-left: 4px solid #4b7d9d;
    border-radius: 0 13px 13px 0;
}

.simos-kbm__instruction-honesty h4 {
    font-size: 18px !important;
}

.simos-kbm__instruction-closing {
    padding: 21px;
    margin-top: 24px;
    color: #fff;
    background: linear-gradient(120deg, #123b57, #0b7659);
    border-radius: 14px;
}

.simos-kbm__instruction-closing p {
    color: rgba(255, 255, 255, .86);
}

.simos-kbm__instruction-closing strong {
    display: block;
    margin-top: 12px;
    color: #fff;
    font-size: 14px;
    line-height: 1.6;
}

.simos-kbm-stats {
    --stats-navy: #102a43;
    --stats-navy-2: #173f62;
    --stats-ink: #1b2b3c;
    --stats-muted: #60758a;
    --stats-line: #dce5ed;
    --stats-green: #0c7c59;
    width: min(1120px, calc(100% - 24px));
    margin: 24px auto;
    overflow: hidden;
    color: var(--stats-ink);
    background: #fff;
    border: 1px solid #d4e0e8;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(16, 42, 67, .12);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    box-sizing: border-box;
}

.simos-kbm-stats *,
.simos-kbm-stats *::before,
.simos-kbm-stats *::after {
    box-sizing: border-box;
}

.simos-kbm-stats__hero {
    padding: 24px 30px 30px;
    color: #fff;
    background:
        radial-gradient(circle at 88% 10%, rgba(75, 216, 165, .22), transparent 28%),
        linear-gradient(128deg, #0d2843 0%, #173f62 62%, #0c6f5a 140%);
}

.simos-kbm-stats__topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.simos-kbm-stats__brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.simos-kbm-stats__brand img {
    display: block;
    width: 44px;
    height: 44px;
    padding: 2px;
    object-fit: contain;
    background: #fff;
    border-radius: 11px;
}

.simos-kbm-stats__brand strong,
.simos-kbm-stats__brand small {
    display: block;
}

.simos-kbm-stats__brand strong {
    color: #fff;
    font-size: 12px;
    letter-spacing: .07em;
}

.simos-kbm-stats__brand small {
    margin-top: 2px;
    color: rgba(255, 255, 255, .7);
    font-size: 10px;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.simos-kbm-stats__topline > a {
    display: inline-flex;
    min-height: 42px;
    padding: 0 14px;
    align-items: center;
    gap: 8px;
    color: #143650 !important;
    background: #fff;
    border-radius: 11px;
    box-shadow: 0 7px 20px rgba(0, 0, 0, .14);
    font-size: 12px;
    font-weight: 850;
    text-decoration: none !important;
}

.simos-kbm-stats__topline > a:hover {
    color: #0b7659 !important;
    background: #effaf6;
}

.simos-kbm-stats__topline > a svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.simos-kbm-stats__eyebrow {
    margin: 27px 0 4px !important;
    color: #76e0ba;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.simos-kbm-stats__hero h1 {
    margin: 0 !important;
    color: #fff !important;
    font-size: clamp(30px, 4vw, 44px) !important;
    font-weight: 850 !important;
    line-height: 1.08 !important;
    letter-spacing: -.04em;
}

.simos-kbm-stats__hero > h1 + p {
    max-width: 650px;
    margin: 8px 0 0 !important;
    color: rgba(255, 255, 255, .78);
    font-size: 14px;
    line-height: 1.6;
}

.simos-kbm-stats__live {
    display: flex;
    max-width: 650px;
    min-height: 45px;
    padding: 6px 7px 6px 13px;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 17px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 12px;
}

.simos-kbm-stats__live > span {
    display: inline-flex;
    min-width: 0;
    align-items: center;
    gap: 9px;
    color: rgba(255, 255, 255, .86);
    font-size: 11px;
    font-weight: 750;
    line-height: 1.35;
}

.simos-kbm-stats__live i {
    width: 8px;
    height: 8px;
    flex: 0 0 auto;
    background: #67e4b3;
    border-radius: 50%;
    box-shadow: 0 0 0 5px rgba(103, 228, 179, .13);
}

.simos-kbm-stats__live button {
    display: inline-flex;
    min-height: 33px;
    padding: 0 10px;
    flex: 0 0 auto;
    align-items: center;
    gap: 6px;
    color: #123653;
    background: #fff;
    border: 0;
    border-radius: 8px;
    cursor: pointer;
    font-size: 10.5px;
    font-weight: 850;
}

.simos-kbm-stats__live button:hover {
    color: #0b7659;
    background: #effaf6;
}

.simos-kbm-stats__live button:disabled {
    cursor: wait;
    opacity: .68;
}

.simos-kbm-stats__live button svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.simos-kbm-stats.is-refreshing .simos-kbm-stats__live i {
    animation: simos-kbm-live-pulse .9s ease-in-out infinite alternate;
}

.simos-kbm-stats.is-refreshing .simos-kbm-stats__live button svg {
    animation: simos-kbm-refresh-spin .8s linear infinite;
}

.simos-kbm-stats.has-refresh-error .simos-kbm-stats__live i {
    background: #ffd166;
    box-shadow: 0 0 0 5px rgba(255, 209, 102, .14);
}

@keyframes simos-kbm-live-pulse {
    to {
        opacity: .45;
        transform: scale(.78);
    }
}

@keyframes simos-kbm-refresh-spin {
    to {
        transform: rotate(360deg);
    }
}

.simos-kbm-stats__body {
    padding: 30px;
    background: #f7fafc;
}

.simos-kbm-stats__kpis {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.simos-kbm-stats__kpis article {
    display: flex;
    min-height: 155px;
    padding: 20px;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--stats-line);
    border-radius: 16px;
    box-shadow: 0 6px 18px rgba(16, 42, 67, .045);
}

.simos-kbm-stats__kpis small {
    color: var(--stats-muted);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .04em;
    line-height: 1.4;
    text-transform: uppercase;
}

.simos-kbm-stats__kpis strong {
    margin: 13px 0 4px;
    color: var(--stats-navy);
    font-size: 35px;
    line-height: 1;
    letter-spacing: -.04em;
}

.simos-kbm-stats__kpis strong.is-title {
    font-size: 19px;
    line-height: 1.25;
    letter-spacing: -.02em;
}

.simos-kbm-stats__kpis span {
    margin-top: auto;
    color: #7890a3;
    font-size: 11px;
    line-height: 1.45;
}

.simos-kbm-stats__section {
    padding: 24px;
    margin-top: 18px;
    background: #fff;
    border: 1px solid var(--stats-line);
    border-radius: 18px;
    box-shadow: 0 6px 18px rgba(16, 42, 67, .035);
}

.simos-kbm-stats__section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.simos-kbm-stats__section-head small {
    display: block;
    margin-bottom: 3px;
    color: #0b7659;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.simos-kbm-stats__section-head h2 {
    margin: 0 !important;
    color: var(--stats-ink) !important;
    font-size: 22px !important;
    font-weight: 850 !important;
    line-height: 1.25 !important;
    letter-spacing: -.025em;
}

.simos-kbm-stats__section-head > span {
    color: var(--stats-muted);
    font-size: 11px;
    font-weight: 750;
}

.simos-kbm-stats__classes {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.simos-kbm-stats__classes article {
    display: flex;
    min-height: 96px;
    padding: 16px;
    align-items: center;
    gap: 14px;
    background: #f3f7fa;
    border-radius: 14px;
}

.simos-kbm-stats__classes article > span {
    display: grid;
    width: 48px;
    height: 48px;
    flex: 0 0 auto;
    place-items: center;
    color: #fff;
    background: var(--stats-navy-2);
    border-radius: 13px;
    font-size: 13px;
    font-weight: 900;
}

.simos-kbm-stats__classes strong,
.simos-kbm-stats__classes small {
    display: block;
}

.simos-kbm-stats__classes strong {
    color: var(--stats-navy);
    font-size: 25px;
    line-height: 1.05;
}

.simos-kbm-stats__classes small {
    margin-top: 4px;
    color: var(--stats-muted);
    font-size: 11px;
}

.simos-kbm-stats__materials {
    overflow: hidden;
    border: 1px solid #e1e9ef;
    border-radius: 14px;
}

.simos-kbm-stats__material {
    display: grid;
    min-height: 94px;
    padding: 15px 17px;
    grid-template-columns: 38px minmax(0, 1fr) minmax(150px, auto);
    align-items: center;
    gap: 14px;
    background: #fff;
}

.simos-kbm-stats__material + .simos-kbm-stats__material {
    border-top: 1px solid #e5ecf1;
}

.simos-kbm-stats__rank {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    color: #526a7d;
    background: #edf3f7;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 850;
}

.simos-kbm-stats__material-main {
    min-width: 0;
}

.simos-kbm-stats__material-main p,
.simos-kbm-stats__material-main h3,
.simos-kbm-stats__material-main small,
.simos-kbm-stats__material-count strong,
.simos-kbm-stats__material-count span,
.simos-kbm-stats__material-count small {
    display: block;
}

.simos-kbm-stats__material-main p {
    margin: 0 0 3px !important;
    color: #0b7659;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.simos-kbm-stats__material-main p span {
    margin: 0 4px;
}

.simos-kbm-stats__material-main h3 {
    margin: 0 !important;
    color: var(--stats-ink) !important;
    font-size: 17px !important;
    font-weight: 820 !important;
    line-height: 1.3 !important;
}

.simos-kbm-stats__material-main > small {
    margin-top: 4px;
    color: var(--stats-muted);
    font-size: 11px;
    line-height: 1.4;
}

.simos-kbm-stats__material-count {
    min-width: 150px;
    text-align: right;
}

.simos-kbm-stats__material-count strong {
    color: var(--stats-navy);
    font-size: 24px;
    line-height: 1;
}

.simos-kbm-stats__material-count > span {
    margin-top: 3px;
    color: #526a7d;
    font-size: 10.5px;
    font-weight: 750;
}

.simos-kbm-stats__material-count small {
    margin-top: 5px;
    color: #8497a7;
    font-size: 9.5px;
    line-height: 1.35;
}

.simos-kbm-stats__hourly-scroll {
    width: 100%;
    padding: 4px 3px 11px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-color: #b7c8d4 #edf3f7;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}

.simos-kbm-stats__hourly-scroll::-webkit-scrollbar {
    height: 8px;
}

.simos-kbm-stats__hourly-scroll::-webkit-scrollbar-track {
    background: #edf3f7;
    border-radius: 999px;
}

.simos-kbm-stats__hourly-scroll::-webkit-scrollbar-thumb {
    background: #b7c8d4;
    border-radius: 999px;
}

.simos-kbm-stats__hourly {
    display: grid;
    min-width: 900px;
    grid-template-columns: repeat(24, minmax(30px, 1fr));
    gap: 4px;
}

.simos-kbm-stats__hourly article {
    display: grid;
    min-width: 0;
    padding: 7px 3px 6px;
    grid-template-rows: 22px 142px 23px;
    align-items: end;
    border-radius: 9px;
    scroll-snap-align: start;
}

.simos-kbm-stats__hourly article.is-current {
    background: #eef7fb;
    box-shadow: inset 0 0 0 1px #cfe4ef;
}

.simos-kbm-stats__hour-values {
    display: flex;
    margin: 0 !important;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-size: 8.5px;
    font-weight: 850;
    line-height: 1;
}

.simos-kbm-stats__hour-values strong {
    color: #347eae;
}

.simos-kbm-stats__hour-values span {
    color: #13875f;
}

.simos-kbm-stats__hour-values strong::after {
    margin-left: 4px;
    color: #a9b8c4;
    content: "/";
}

.simos-kbm-stats__hour-bars {
    display: flex;
    height: 142px;
    padding: 0 5px;
    align-items: flex-end;
    justify-content: center;
    gap: 3px;
    background: repeating-linear-gradient(to top, #e9eff3 0, #e9eff3 1px, transparent 1px, transparent 35px);
    border-bottom: 1px solid #cbd8e1;
}

.simos-kbm-stats__hour-bars span {
    width: 9px;
    min-height: 2px;
    height: max(2px, var(--bar-height));
    border-radius: 4px 4px 1px 1px;
    transition: height .25s ease;
}

.simos-kbm-stats__hour-bars .is-view {
    background: #347eae;
}

.simos-kbm-stats__hour-bars .is-open {
    background: #17a071;
}

.simos-kbm-stats__hourly time {
    display: block;
    padding-top: 7px;
    color: #60758a;
    font-size: 8.5px;
    font-weight: 750;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
}

.simos-kbm-stats__hourly article.is-current time {
    color: #155d81;
    font-weight: 900;
}

.simos-kbm-stats__daily {
    display: grid;
    gap: 8px;
}

.simos-kbm-stats__daily article {
    display: grid;
    min-height: 42px;
    grid-template-columns: 58px minmax(100px, 1fr) minmax(190px, auto);
    align-items: center;
    gap: 12px;
}

.simos-kbm-stats__daily time {
    color: #526a7d;
    font-size: 10.5px;
    font-weight: 800;
}

.simos-kbm-stats__bars {
    display: grid;
    gap: 4px;
}

.simos-kbm-stats__bars span {
    width: max(2px, var(--bar-width));
    height: 6px;
    border-radius: 999px;
}

.simos-kbm-stats__bars .is-view {
    background: #347eae;
}

.simos-kbm-stats__bars .is-open {
    background: #17a071;
}

.simos-kbm-stats__daily p {
    margin: 0 !important;
    color: var(--stats-muted);
    font-size: 10.5px;
    text-align: right;
}

.simos-kbm-stats__daily p strong {
    color: var(--stats-ink);
}

.simos-kbm-stats__daily p span {
    margin: 0 4px;
}

.simos-kbm-stats__legend {
    display: flex;
    justify-content: flex-end;
    gap: 16px;
    margin-top: 15px;
    color: var(--stats-muted);
    font-size: 10.5px;
}

.simos-kbm-stats__legend span::before {
    display: inline-block;
    width: 9px;
    height: 9px;
    margin-right: 6px;
    border-radius: 50%;
    content: "";
}

.simos-kbm-stats__legend .is-view::before {
    background: #347eae;
}

.simos-kbm-stats__legend .is-open::before {
    background: #17a071;
}

.simos-kbm-stats__privacy {
    padding: 18px 20px;
    margin-top: 18px;
    color: #31536a;
    background: #eaf7f2;
    border: 1px solid #cde9df;
    border-radius: 14px;
}

.simos-kbm-stats__privacy strong {
    display: block;
    color: #0b684f;
    font-size: 13px;
}

.simos-kbm-stats__privacy p {
    margin: 4px 0 0 !important;
    font-size: 12px;
    line-height: 1.6;
}

.simos-kbm-stats__footer {
    display: flex;
    min-height: 62px;
    padding: 15px 30px;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: #728699;
    background: #eef3f6;
    border-top: 1px solid #dce5eb;
    font-size: 10.5px;
}

.simos-kbm-stats__footer p {
    margin: 0 !important;
}

.simos-kbm-stats__footer span {
    margin: 0 4px;
}

.simos-kbm-stats :focus-visible {
    outline: 3px solid rgba(54, 147, 206, .42);
    outline-offset: 3px;
}

.simos-kbm :focus-visible {
    outline: 3px solid rgba(54, 147, 206, .42);
    outline-offset: 3px;
}

@media (max-width: 960px) {
    .simos-kbm-stats__kpis {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .simos-kbm__toolbar {
        align-items: stretch;
        flex-direction: column;
        gap: 12px;
    }

    .simos-kbm__search {
        max-width: none;
        flex-basis: auto;
    }

    .simos-kbm__filters {
        width: auto;
    }

    .simos-kbm__hero {
        min-height: 178px;
    }

    .simos-kbm__summary {
        position: relative;
        right: auto;
        bottom: auto;
        margin-top: 10px;
    }

    .simos-kbm__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .simos-kbm {
        width: min(100% - 14px, 1180px);
        margin: 68px auto 7px;
        border-radius: 18px;
    }

    .simos-kbm__class-dock {
        top: max(7px, env(safe-area-inset-top));
        width: calc(100vw - 14px);
        max-width: calc(100vw - 14px);
        min-height: 50px;
        padding: 4px;
        gap: 4px;
        border-radius: 13px;
    }

    body.admin-bar .simos-kbm__class-dock {
        top: 56px;
    }

    .simos-kbm__class-label {
        display: none;
    }

    .simos-kbm__hero {
        min-height: 170px;
        padding: 14px 15px 16px;
    }

    .simos-kbm__topline {
        align-items: flex-start;
    }

    .simos-kbm__brandmark {
        width: 36px;
        height: 36px;
        border-radius: 9px;
    }

    .simos-kbm__brand strong {
        max-width: 155px;
        font-size: 10px;
    }

    .simos-kbm__status {
        display: none;
    }

    .simos-kbm__hero-instruction {
        min-height: 40px;
        padding: 0 10px;
        font-size: 11.5px;
    }

    .simos-kbm__hero-instruction svg {
        width: 18px;
        height: 18px;
    }

    .simos-kbm__hero-copy {
        margin-top: 14px;
    }

    .simos-kbm__eyebrow {
        display: none;
    }

    .simos-kbm__hero h1 {
        max-width: 330px;
        font-size: 28px !important;
    }

    .simos-kbm__hero-copy > p:last-child {
        max-width: 330px;
        margin-top: 5px !important;
        font-size: 12.5px;
        line-height: 1.42;
    }

    .simos-kbm__summary {
        gap: 6px 13px;
        margin-top: 9px;
        font-size: 9px;
    }

    .simos-kbm__summary strong {
        font-size: 14px;
    }

    .simos-kbm__body {
        padding: 20px 14px 28px;
    }

    .simos-kbm__filters {
        width: 0;
        min-width: 0;
        max-width: none;
        flex: 1 1 auto;
        padding: 3px;
        gap: 3px;
    }

    .simos-kbm__filters button {
        min-height: 40px;
        padding: 0 10px;
        font-size: 11px;
    }

    .simos-kbm__stats-link {
        min-height: 42px;
        padding: 0 10px;
        gap: 6px;
        font-size: 11px;
    }

    .simos-kbm-stats {
        width: min(100% - 14px, 1120px);
        margin: 7px auto;
        border-radius: 18px;
    }

    .simos-kbm-stats__hero {
        padding: 18px 16px 24px;
    }

    .simos-kbm-stats__brand img {
        width: 40px;
        height: 40px;
    }

    .simos-kbm-stats__brand strong {
        max-width: 150px;
        font-size: 10px;
    }

    .simos-kbm-stats__topline > a {
        min-height: 40px;
        padding: 0 11px;
        font-size: 11px;
    }

    .simos-kbm-stats__eyebrow {
        margin-top: 24px !important;
    }

    .simos-kbm-stats__hero h1 {
        font-size: 32px !important;
    }

    .simos-kbm-stats__hero > h1 + p {
        font-size: 14.5px;
        line-height: 1.6;
    }

    .simos-kbm-stats__body {
        padding: 16px 12px 22px;
    }

    .simos-kbm-stats__live {
        padding: 8px;
        align-items: stretch;
        flex-direction: column;
        gap: 9px;
    }

    .simos-kbm-stats__live > span {
        min-height: 28px;
        padding: 0 5px;
        font-size: 11.5px;
    }

    .simos-kbm-stats__live button {
        min-height: 40px;
        justify-content: center;
        font-size: 12px;
    }

    .simos-kbm-stats__kpis {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .simos-kbm-stats__kpis article {
        min-height: 148px;
        padding: 16px;
    }

    .simos-kbm-stats__kpis small {
        font-size: 10.5px;
    }

    .simos-kbm-stats__kpis strong {
        font-size: 32px;
    }

    .simos-kbm-stats__kpis strong.is-title {
        font-size: 17px;
    }

    .simos-kbm-stats__section {
        padding: 17px 14px;
        margin-top: 13px;
        border-radius: 15px;
    }

    .simos-kbm-stats__section-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
        margin-bottom: 15px;
    }

    .simos-kbm-stats__section-head h2 {
        font-size: 21px !important;
    }

    .simos-kbm-stats__classes {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .simos-kbm-stats__classes article {
        min-height: 82px;
        padding: 13px;
    }

    .simos-kbm-stats__material {
        min-height: 120px;
        padding: 15px 13px;
        grid-template-columns: 34px minmax(0, 1fr) auto;
        align-items: start;
        gap: 10px;
    }

    .simos-kbm-stats__material-main h3 {
        font-size: 17.5px !important;
        line-height: 1.35 !important;
    }

    .simos-kbm-stats__material-main > small {
        font-size: 12px;
    }

    .simos-kbm-stats__material-count {
        min-width: 68px;
    }

    .simos-kbm-stats__material-count strong {
        font-size: 25px;
    }

    .simos-kbm-stats__material-count small {
        max-width: 85px;
        margin-left: auto;
    }

    .simos-kbm-stats__daily article {
        min-height: 62px;
        grid-template-columns: 48px minmax(80px, 1fr);
        gap: 8px 10px;
    }

    .simos-kbm-stats__daily p {
        grid-column: 1 / -1;
        text-align: left;
    }

    .simos-kbm-stats__legend {
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .simos-kbm-stats__privacy {
        padding: 16px;
        margin-top: 13px;
    }

    .simos-kbm-stats__privacy p {
        font-size: 13px;
    }

    .simos-kbm-stats__footer {
        padding: 15px 18px;
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    .simos-kbm__results-bar {
        min-height: 49px;
    }

    .simos-kbm__grid {
        grid-template-columns: 1fr;
        gap: 13px;
    }

    .simos-kbm__card {
        min-height: 325px;
        padding: 19px;
    }

    .simos-kbm__grade {
        font-size: 11px;
    }

    .simos-kbm__subject {
        font-size: 12px;
    }

    .simos-kbm__card h2 {
        font-size: 22px !important;
        line-height: 1.3 !important;
    }

    .simos-kbm__description {
        font-size: 15px;
        line-height: 1.7;
    }

    .simos-kbm__teacher {
        font-size: 13px;
        line-height: 1.38;
    }

    .simos-kbm__teacher small {
        font-size: 10px;
    }

    .simos-kbm__card:hover {
        transform: none;
    }

    .simos-kbm__card-foot {
        align-items: stretch;
    }

    .simos-kbm__open,
    .simos-kbm__show-instructions {
        min-height: 44px;
        padding: 0 10px;
        font-size: 13px;
    }

    .simos-kbm__instruction-welcome {
        padding: 18px;
        margin-top: 19px;
    }

    .simos-kbm__instruction-welcome h4,
    .simos-kbm__instruction-section h4 {
        font-size: 22px !important;
    }

    .simos-kbm__instruction-welcome p,
    .simos-kbm__instruction-section > p,
    .simos-kbm__instruction-honesty p,
    .simos-kbm__instruction-closing p {
        font-size: 17px;
        line-height: 1.75;
    }

    .simos-kbm__instruction-welcome .simos-kbm__salam {
        font-size: 15px;
    }

    .simos-kbm__instruction-section {
        margin-top: 25px;
    }

    .simos-kbm__instruction-kicker {
        font-size: 12px !important;
    }

    .simos-kbm__instruction-steps > li {
        padding: 15px;
        grid-template-columns: 38px minmax(0, 1fr);
        gap: 12px;
    }

    .simos-kbm__instruction-steps strong {
        font-size: 17px;
    }

    .simos-kbm__instruction-steps span,
    .simos-kbm__instruction-principle p,
    .simos-kbm__instruction-list li {
        font-size: 16.5px;
        line-height: 1.7;
    }

    .simos-kbm__instruction-principle {
        padding: 16px;
        grid-template-columns: 38px minmax(0, 1fr);
        gap: 12px;
    }

    .simos-kbm__instruction-principle > span {
        width: 38px;
        height: 38px;
    }

    .simos-kbm__instruction-principle strong {
        font-size: 17px;
        line-height: 1.4;
    }

    .simos-kbm__instruction-list li {
        padding: 12px 13px 12px 40px;
    }

    .simos-kbm__instruction-honesty {
        padding: 17px;
    }

    .simos-kbm__instruction-honesty h4 {
        font-size: 19px !important;
    }

    .simos-kbm__instruction-closing {
        padding: 18px;
    }

    .simos-kbm__instruction-closing strong {
        font-size: 15px;
    }

    .simos-kbm__footer {
        padding: 15px 18px;
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    .simos-kbm__modal {
        padding: 0;
    }

    .simos-kbm__modal-backdrop {
        background: #071b2d;
        backdrop-filter: none;
    }

    .simos-kbm__dialog {
        width: 100%;
        height: 100vh;
        height: 100dvh;
        max-height: none;
        border: 0;
        border-radius: 0;
    }

    .simos-kbm__dialog-header {
        min-height: 64px;
        padding: 10px 10px 10px 16px;
    }

    .simos-kbm__dialog-header strong {
        max-width: calc(100vw - 88px);
        font-size: 15px;
    }

    .simos-kbm__dialog-body {
        padding: 22px 16px 30px;
    }

    .simos-kbm__dialog-footer {
        min-height: 64px;
        padding: 10px 12px;
    }

    .simos-kbm__dialog-footer p {
        display: none;
    }

    .simos-kbm__dialog-footer button {
        width: 100%;
        min-height: 44px;
        font-size: 14px;
    }

    .simos-kbm__doc-icon {
        width: 49px;
        height: 49px;
        border-radius: 13px;
    }

    .simos-kbm__doc-icon svg {
        width: 25px;
        height: 25px;
    }

    .simos-kbm__doc-heading {
        align-items: flex-start;
        gap: 12px;
    }

    .simos-kbm__doc-heading h3 {
        font-size: 26px !important;
        line-height: 1.2 !important;
    }

    .simos-kbm__doc-heading p {
        font-size: 12.5px;
    }

    .simos-kbm__doc-meta {
        padding: 16px;
        grid-template-columns: 1fr 1fr;
        margin-top: 18px;
    }

    .simos-kbm__doc-meta dt {
        font-size: 11px;
    }

    .simos-kbm__doc-meta dd {
        font-size: 15px;
        line-height: 1.45;
    }

    .simos-kbm__doc-meta div:last-child {
        grid-column: 1 / -1;
    }

    .simos-kbm__student-fields {
        grid-template-columns: 1fr;
        gap: 8px;
        font-size: 15px;
        line-height: 1.5;
    }

    .simos-kbm__instruction {
        padding: 16px;
        margin-top: 18px;
    }

    .simos-kbm__instruction strong {
        font-size: 13px;
    }

    .simos-kbm__instruction p {
        font-size: 16px;
        line-height: 1.72;
    }

    .simos-kbm__questions {
        margin-top: 18px;
    }

    .simos-kbm__questions > li {
        min-height: 62px;
        padding: 18px 16px 18px 58px;
        font-size: 17px;
        line-height: 1.72;
    }

    .simos-kbm__questions > li::before {
        top: 16px;
        left: 14px;
        width: 32px;
        height: 32px;
        border-radius: 9px;
        font-size: 13px;
    }

    .simos-kbm__questions blockquote {
        padding: 14px;
        margin: 13px 0;
        font-size: 16.5px;
        line-height: 1.72;
    }

    .simos-kbm__questions ol li {
        font-size: 16.5px;
        line-height: 1.65;
    }

    .simos-kbm__data-row {
        font-size: 15px;
    }

    .simos-kbm__formula--block {
        font-size: 25px;
    }

    .simos-kbm__math-figure figcaption {
        font-size: 13px;
    }

    .simos-kbm__section-title {
        align-items: flex-start;
    }

    .simos-kbm__section-title h4 {
        font-size: 15px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .simos-kbm *,
    .simos-kbm *::before,
    .simos-kbm *::after,
    .simos-kbm-stats *,
    .simos-kbm-stats *::before,
    .simos-kbm-stats *::after {
        animation: none !important;
        scroll-behavior: auto !important;
        transition: none !important;
    }
}
