html,
body {
    min-height: 100%;
}

body.ai-profile-page {
    margin: 0;
    padding: 0;
    color: #303236;
    background: #f4f6f7;
    font-family: Arial, "Microsoft YaHei", sans-serif;
}

.ai-profile-page .page-container {
    display: flex;
    min-height: 100vh;
}

.ai-profile-page #sidebar {
    z-index: 1200;
    flex: 0 0 60px;
    width: 60px;
    transition: width .2s ease, flex-basis .2s ease;
}

.ai-profile-page #sidebar:not(.mini-sidebar) {
    flex-basis: 240px;
    width: 240px;
}

.ai-profile-page .main-content {
    display: flex;
    min-width: 0;
    min-height: 100vh;
    flex: 1 1 auto;
    flex-direction: column;
}

.ai-profile-page .big-header-banner {
    flex: 0 0 auto;
}

.ai-profile-page #header {
    position: sticky;
    top: 0;
    z-index: 1050;
    height: 74px;
    border-bottom: 1px solid rgba(30, 41, 46, .08);
    background: rgba(255, 255, 255, .96);
    color: #282a2d;
    box-shadow: 0 6px 22px rgba(28, 40, 46, .08);
    backdrop-filter: blur(12px);
}

.ai-profile-page .profile-header-inner {
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
}

.ai-profile-page .profile-nav-start,
.ai-profile-page .profile-nav-end,
.ai-profile-page .profile-nav-links {
    display: flex;
    align-items: center;
}

.ai-profile-page .profile-nav-start {
    gap: 18px;
}

.ai-profile-page .profile-nav-links {
    gap: 0;
}

.ai-profile-page .profile-depth-trigger,
.ai-profile-page .profile-icon-link {
    color: inherit;
    text-decoration: none;
}

.ai-profile-page .profile-depth-trigger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
    font: inherit;
    font-size: 14px;
    white-space: nowrap;
}

.ai-profile-page .profile-depth-trigger[aria-expanded="true"] {
    color: #7e57c2;
}

.ai-profile-page .profile-depth-panel {
    --plan-cell-size: clamp(34px, 4.2vw, 56px);
    --plan-grid-gap: 8px;
    position: fixed;
    top: 86px;
    right: 24px;
    left: 260px;
    z-index: 1080;
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 350px;
    max-width: calc(100vw - 284px);
    max-height: min(72vh, 620px);
    padding: 14px;
    overflow: auto;
    border: 1px solid rgba(222, 222, 222, .92);
    border-radius: 10px;
    background: #f1f3f5;
    box-shadow: 0 18px 42px rgba(15, 23, 42, .14);
    color: #202124;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.ai-profile-page .profile-depth-panel[hidden] { display: none; }

.ai-profile-page .profile-depth-panel .reading-plan-header {
    display: flex;
    min-height: 36px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.ai-profile-page .profile-depth-panel .reading-plan-title {
    font-size: 16px;
    font-weight: 800;
    line-height: 1.2;
}

.ai-profile-page .profile-depth-panel .reading-plan-close {
    display: inline-flex;
    width: 32px;
    height: 32px;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    color: #202124;
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
}

.ai-profile-page .profile-depth-panel .equip-panel-content { display: block; }

.ai-profile-page .profile-depth-panel .equip-panel-modules {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: repeat(6, 54px);
    gap: 8px;
}

.ai-profile-page .profile-depth-panel .reading-plan-month {
    display: flex;
    width: 100%;
    height: 54px;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 0 12px;
    border: 1px solid #dedede;
    border-radius: 8px;
    background: #fff;
    color: #202124;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
}

.ai-profile-page .profile-depth-panel .equip-module-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.ai-profile-page .profile-depth-panel .equip-module-icon { width: 22px; text-align: center; }
.ai-profile-page .profile-depth-panel [data-depth-panel-section="depth-ai"] { border-color: #d64545; color: #d64545; }
.ai-profile-page .profile-depth-panel [data-depth-panel-section="depth-language"] { border-color: #2e8b57; color: #2e8b57; }
.ai-profile-page .profile-depth-panel [data-depth-panel-section="depth-creation"] { border-color: #c39712; color: #a57800; }
.ai-profile-page .profile-depth-panel [data-depth-panel-section="depth-business"] { border-color: #2874a6; color: #2874a6; }
.ai-profile-page .profile-depth-panel [data-depth-panel-section="depth-cognition"] { border-color: #7e57c2; color: #7e57c2; }
.ai-profile-page .profile-depth-panel [data-depth-panel-section="depth-website"] { border-color: #0097a7; color: #008795; }

.ai-profile-page .profile-depth-panel .equip-category-count {
    display: inline-flex;
    min-width: 28px;
    height: 26px;
    align-items: center;
    justify-content: center;
    padding: 0 7px;
    border: 1px solid currentColor;
    border-radius: 5px;
    background: rgba(255, 255, 255, .72);
    color: inherit;
    font-size: 17px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.ai-profile-page .mini-sidebar + .main-content .profile-depth-panel {
    left: 80px;
    max-width: calc(100vw - 104px);
}

.ai-profile-page .profile-icon-link {
    display: inline-flex;
    min-width: 40px;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
    font-size: 14px;
}

.ai-profile-page .profile-icon-link .icon-search {
    font-size: 24px;
}

.ai-profile-page .header-mini-btn {
    position: relative;
    display: block;
    width: 40px;
    height: 74px;
    flex: 0 0 40px;
}

.ai-profile-page .header-mini-btn svg {
    display: block;
    height: 74px;
    margin: 0 -20px;
}

.ai-profile-page .header-mini-btn label {
    position: relative;
    display: block;
    width: 40px;
    height: 74px;
    cursor: pointer;
}

.ai-profile-page .header-mini-btn input[type="checkbox"] {
    position: absolute;
    z-index: 1;
    inset: 0;
    width: 40px;
    height: 74px;
    margin: 0;
    opacity: 0;
    cursor: pointer;
}

.ai-profile-page .big-header-banner .header-mini-btn path {
    fill: none;
    stroke: #888;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    --length: 24;
    --offset: -38;
    stroke-dasharray: var(--length) var(--total-length);
    stroke-dashoffset: var(--offset);
    transition: all .5s cubic-bezier(.645,.045,.355,1), stroke .2s ease;
}

.ai-profile-page .header-mini-btn .line--1,
.ai-profile-page .header-mini-btn .line--3 {
    --total-length: 126.38166809082031;
}

.ai-profile-page .header-mini-btn .line--2 {
    --total-length: 80;
}

.ai-profile-page .header-mini-btn input:checked + svg .line--1,
.ai-profile-page .header-mini-btn input:checked + svg .line--3 {
    --length: 12.602325267;
}

.ai-profile-page .header-mini-btn label:hover path {
    stroke: #f1404b;
}

.ai-profile-page .header-mini-btn input:focus-visible + svg,
.ai-profile-page .profile-depth-trigger:focus-visible,
.ai-profile-page .profile-icon-link:focus-visible {
    outline: 2px solid #2f5f8f;
    outline-offset: 2px;
}

.ai-profile-page .profile-mobile-brand {
    display: none;
}

.ai-profile-page .profile-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    box-sizing: border-box;
    width: min(1080px, calc(100% - 48px));
    margin: 22px auto 20px;
    padding: 0;
    color: #555d61;
    font-size: 16px;
}

.ai-profile-page .profile-breadcrumb a {
    color: inherit;
    text-decoration: none;
}

.ai-profile-page .profile-breadcrumb-current {
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
    font: inherit;
}

.ai-profile-page .profile-breadcrumb a:hover {
    text-decoration: underline;
}

.ai-profile-page .profile-breadcrumb-current:hover,
.ai-profile-page .profile-breadcrumb-current:focus-visible {
    text-decoration: underline;
}

.ai-profile-page .profile-breadcrumb [aria-current="page"] {
    color: #25292c;
    font-weight: 600;
}

.ai-profile-page .profile-content {
    width: min(1080px, 100% - 48px);
    margin: 0 auto 36px;
    flex: 1 0 auto;
}

.ai-profile-page .profile-intro {
    padding: 21px 0 24px;
    border-top: 1px solid #dce4e2;
    border-bottom: 1px solid #dce4e2;
}

.ai-profile-page .profile-course .profile-intro {
    padding-bottom: 14px;
    border-bottom: 0;
}

.ai-profile-page .profile-title-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.ai-profile-page .profile-logo {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    flex: 0 0 28px;
    color: #10a37f;
    font-size: 30px;
}

.ai-profile-page .profile-logo img {
    display: block;
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.ai-profile-page h1 {
    margin: 0;
    color: #25292c;
    font-size: 28px;
    line-height: 1.25;
}

.ai-profile-page .profile-lede {
    max-width: none;
    margin: 21px 0 0;
    color: #64716f;
    font-size: 17px;
    line-height: 1.85;
    text-align: justify;
}

.ai-profile-page .profile-course-directory {
    margin-top: 14px;
}

.ai-profile-page .profile-course-heading {
    margin: 0 0 10px;
    color: #25292c;
    font-size: 22px;
    line-height: 1.5;
}

.ai-profile-page .profile-course-unit {
    border-bottom: 1px solid #dce4e2;
}

.ai-profile-page .profile-course-topics {
    padding: 0 12px 10px;
}

.ai-profile-page .profile-course-unit[open] > .profile-course-topics {
    border-top: 1px solid #dce4e2;
}

.ai-profile-page .profile-course-topic,
.ai-profile-page .profile-course-submenu > summary {
    display: block;
    width: 100%;
    padding: 10px 12px;
    border: 0;
    border-bottom: 1px solid #e5eae8;
    background: transparent;
    color: #535e5d;
    cursor: pointer;
    font: inherit;
    font-size: 16px;
    line-height: 1.65;
    list-style: none;
    text-align: left;
}

.ai-profile-page .profile-course-topics > .profile-course-topic:last-child {
    border-bottom: 0;
}

.ai-profile-page .profile-course-topic::before,
.ai-profile-page .profile-course-submenu > summary::before {
    content: "•";
    display: inline-block;
    width: .95em;
    color: #64716f;
    font-size: 22px;
}

.ai-profile-page .profile-course-topic[data-course-number]::before,
.ai-profile-page .profile-course-submenu > summary[data-course-number]::before {
    content: attr(data-course-number);
    width: auto;
    margin-right: 5px;
    font-size: inherit;
    font-variant-numeric: tabular-nums;
}

.ai-profile-page .profile-course-topic:hover,
.ai-profile-page .profile-course-topic:focus-visible,
.ai-profile-page .profile-course-submenu > summary:hover,
.ai-profile-page .profile-course-submenu > summary:focus-visible {
    background: #edf5f2;
    color: #087f68;
    outline: 2px solid #0a9879;
    outline-offset: -2px;
}

.ai-profile-page .profile-course-subtopics {
    margin-left: 22px;
    padding-left: 0;
}

.ai-profile-page .profile-course-submenu > summary::-webkit-details-marker {
    display: none;
}

.ai-profile-page .profile-course-subtopics > .profile-course-topic:last-child {
    border-bottom: 0;
}

.ai-profile-page .profile-reader-body {
    min-height: 320px;
}

.ai-profile-page .profile-reader-empty[hidden],
.ai-profile-page .profile-lesson[hidden] {
    display: none !important;
}

.ai-profile-page .profile-lesson {
    min-width: 0;
    overflow-wrap: anywhere;
}

.ai-profile-page .profile-copy-block {
    position: relative;
    margin: 12px 0 18px;
}

.ai-profile-page .profile-copy-block pre {
    margin: 0;
    padding: 16px;
    overflow-x: auto;
    border: 1px solid #dce4e2;
    border-radius: 4px;
    background: #f7faf9;
    color: #34403e;
    font: inherit;
    line-height: 1.7;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.ai-profile-page .profile-copy-button {
    position: absolute;
    z-index: 1;
    top: 2px;
    right: 2px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #176b8a;
    font: inherit;
    font-size: 14px;
    line-height: 1.4;
    cursor: pointer;
}

.ai-profile-page .profile-copy-button:hover,
.ai-profile-page .profile-copy-button:focus-visible {
    color: #0a9879;
}

.ai-profile-page .profile-copy-button:focus-visible {
    outline: 2px solid #0a9879;
    outline-offset: 2px;
}

.ai-profile-page .profile-copy-status {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

body.io-black-mode.ai-profile-page .profile-copy-block pre {
    border-color: #344043;
    background: #1c2426;
    color: #c4cfcc;
}

body.io-black-mode.ai-profile-page .profile-copy-button {
    color: #b5e4d8;
}

.ai-profile-page .profile-lesson > .profile-note {
    margin: 0 0 8px;
}

.ai-profile-page .profile-lesson .profile-section:last-child {
    border-bottom: 0;
}

.ai-profile-page .profile-section ol {
    margin: 0;
    padding-left: 1.45em;
}

.ai-profile-page .profile-lesson-checklist li,
.ai-profile-page .profile-lesson-prompts li {
    margin-bottom: 7px;
}

.ai-profile-page .profile-lesson-prompts code,
.ai-profile-page .profile-lesson td code {
    white-space: normal;
    overflow-wrap: anywhere;
}

.ai-profile-page .profile-lesson-table-wrap {
    max-width: 100%;
    margin: 14px 0 18px;
    overflow-x: auto;
    border: 1px solid #dce4e2;
    border-radius: 4px;
    overscroll-behavior-x: contain;
}

.ai-profile-page .profile-lesson-table {
    width: 100%;
    min-width: 620px;
    border-collapse: collapse;
    background: #fff;
    color: #46504f;
    font-size: 14px;
    line-height: 1.65;
}

.ai-profile-page .profile-lesson-table th,
.ai-profile-page .profile-lesson-table td {
    padding: 10px 12px;
    border-right: 1px solid #dce4e2;
    border-bottom: 1px solid #dce4e2;
    text-align: left;
    vertical-align: top;
}

.ai-profile-page .profile-lesson-table thead th {
    background: #edf4f2;
    color: #303b39;
    font-weight: 700;
}

.ai-profile-page .profile-lesson-table tbody th {
    color: #303b39;
    font-weight: 700;
}

.ai-profile-page .profile-lesson-table tr:last-child > * {
    border-bottom: 0;
}

.ai-profile-page .profile-lesson-table tr > *:last-child {
    border-right: 0;
}

.ai-profile-page .profile-lesson-plans {
    min-width: 680px;
}

.ai-profile-page .profile-lesson-plan-options tbody th {
    text-align: center !important;
    vertical-align: middle;
    white-space: nowrap;
}

.ai-profile-page .profile-platform-options thead th:first-child,
.ai-profile-page .profile-platform-options tbody th {
    text-align: center !important;
    vertical-align: middle;
    white-space: nowrap;
}

.ai-profile-page .profile-lesson-date {
    margin-top: 16px !important;
    color: #66716f !important;
    font-size: 14px !important;
}

.ai-profile-page .profile-course-reader {
    padding-top: 21px;
    border-top: 1px solid #dce4e2;
}

.ai-profile-page .profile-reader-title {
    margin: 0;
    color: #25292c;
    font-size: 25px;
    line-height: 1.25;
    text-align: center;
}

.ai-profile-page .profile-reader-title-row {
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.ai-profile-page .profile-course-unit > summary {
    padding: 15px 12px;
    color: #25292c;
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.6;
    list-style: none;
}

.ai-profile-page .profile-course-unit > summary::-webkit-details-marker {
    display: none;
}

.ai-profile-page .profile-course-unit > summary:hover,
.ai-profile-page .profile-course-unit > summary:focus-visible {
    color: #0a9879;
    outline-color: #0a9879;
}

.ai-profile-page .profile-course-empty {
    min-height: 52px;
    padding: 12px;
}

.ai-profile-page .profile-primary-link {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 18px;
    border: 1px solid #0a9879;
    border-radius: 4px;
    background: #00b996;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
}

.ai-profile-page .profile-primary-link:hover {
    background: #079e82;
    color: #fff;
}

.ai-profile-page .profile-section {
    padding: 24px 0;
    border-bottom: 1px solid #dce4e2;
    scroll-margin-top: 94px;
}

.ai-profile-page .profile-section-no-bottom-divider {
    padding-bottom: 0;
    border-bottom: 0;
}

.ai-profile-page .profile-section-no-bottom-divider + .profile-section {
    padding-top: 0;
}

.ai-profile-page .profile-section-no-bottom-divider > :last-child {
    margin-bottom: 0;
}

.ai-profile-page .profile-section h2 {
    margin: 0 0 12px;
    color: #25292c;
    font-size: 22px;
}

.ai-profile-page .profile-lesson .profile-section h3 {
    margin: 0 0 12px;
    color: #535e5d;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.8;
}

.ai-profile-page .profile-section .profile-source-divider + h2 {
    margin: 20px 0;
}

.ai-profile-page .profile-section p,
.ai-profile-page .profile-section li {
    color: #535e5d;
    font-size: 16px;
    line-height: 1.8;
}

.ai-profile-page .profile-section p {
    margin: 0 0 12px;
}

.ai-profile-page .profile-section ul {
    margin: 0;
    padding-left: 1.35em;
}

.ai-profile-page .profile-note {
    padding: 14px 16px;
    border-left: 3px solid #0a9879;
    background: #eaf4f1;
    color: #465553;
    line-height: 1.7;
}

.ai-profile-page .profile-section .profile-note {
    margin-top: 12px;
}

.ai-profile-page .profile-source-links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 22px;
    margin-top: 10px;
}

.ai-profile-page .profile-section .profile-source-list {
    display: block;
    margin: 0 0 18px;
    padding-left: 1.35em;
}

.ai-profile-page .profile-section .profile-source-list li {
    margin-bottom: 6px;
}

.ai-profile-page .profile-section .profile-source-list li:last-child {
    margin-bottom: 0;
}

.ai-profile-page .profile-source-divider {
    margin: 20px 0;
    border: 0;
    border-top: 1px solid #dce4e2;
}

body.io-black-mode.ai-profile-page .profile-source-divider {
    border-top-color: #344043;
}

.ai-profile-page .profile-source-links a {
    color: #176b8a;
}

.ai-profile-page .main-footer {
    position: relative;
    margin-top: auto;
    padding: 26px 24px 24px;
    background: transparent;
    text-align: center;
}

.ai-profile-page .footer-text {
    color: #5c6665;
    font-size: 14px;
    line-height: 1.8;
}

.ai-profile-page .profile-popover {
    position: fixed;
    right: 82px;
    bottom: 24px;
    z-index: 1095;
    width: min(300px, calc(100vw - 100px));
    max-height: min(55vh, 460px);
    overflow: auto;
    padding: 16px;
    border: 1px solid #dce4e2;
    border-radius: 5px;
    background: #fff;
    box-shadow: 0 8px 28px rgba(23, 35, 39, .16);
}

.ai-profile-page .profile-popover[hidden] {
    display: none;
}

.ai-profile-page .profile-popover h2 {
    margin: 0 0 10px;
    font-size: 17px;
}

.ai-profile-page .profile-popover button,
.ai-profile-page .profile-popover a {
    display: block;
    width: 100%;
    padding: 9px 4px;
    border: 0;
    background: transparent;
    color: inherit;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}

.ai-profile-page .profile-audio-actions {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}

.ai-profile-page .profile-audio-actions button {
    width: auto;
    padding: 8px 12px;
    border: 1px solid #cbd7d4;
    border-radius: 4px;
}

.ai-profile-page .profile-overlay {
    display: none;
}

.ai-profile-page .profile-overlay[hidden] {
    display: none;
}

body.io-black-mode.ai-profile-page {
    color: #f0f4f3;
    background: #151b1d;
}

body.io-black-mode.ai-profile-page #header {
    border-color: #303a3d;
    background: rgba(24, 31, 33, .96);
}

body.io-black-mode.ai-profile-page .profile-breadcrumb,
body.io-black-mode.ai-profile-page .profile-lede,
body.io-black-mode.ai-profile-page .footer-text {
    color: #b2bfbc;
}

body.io-black-mode.ai-profile-page .profile-breadcrumb [aria-current="page"],
body.io-black-mode.ai-profile-page h1,
body.io-black-mode.ai-profile-page .profile-reader-title,
body.io-black-mode.ai-profile-page .profile-section h2,
body.io-black-mode.ai-profile-page .profile-course-heading,
body.io-black-mode.ai-profile-page .profile-course-unit summary {
    color: #f0f4f3;
}

body.io-black-mode.ai-profile-page .profile-course-topic {
    border-color: #344043;
    color: #c4cfcc;
}

body.io-black-mode.ai-profile-page .profile-course-submenu > summary {
    border-color: #344043;
    color: #c4cfcc;
}

body.io-black-mode.ai-profile-page .profile-course-unit[open] > .profile-course-topics {
    border-color: #344043;
}

body.io-black-mode.ai-profile-page .profile-course-topic::before,
body.io-black-mode.ai-profile-page .profile-course-submenu > summary::before {
    color: #9eaeaa;
}

body.io-black-mode.ai-profile-page .profile-course-topic:hover,
body.io-black-mode.ai-profile-page .profile-course-topic:focus-visible,
body.io-black-mode.ai-profile-page .profile-course-submenu > summary:hover,
body.io-black-mode.ai-profile-page .profile-course-submenu > summary:focus-visible {
    background: #202d2c;
    color: #b5e4d8;
}

body.io-black-mode.ai-profile-page .profile-course-subtopics {
    border-color: #344043;
}

body.io-black-mode.ai-profile-page .profile-section,
body.io-black-mode.ai-profile-page .profile-intro,
body.io-black-mode.ai-profile-page .profile-course-unit {
    border-color: #344043;
}

body.io-black-mode.ai-profile-page .profile-course-reader {
    border-color: #344043;
}

body.io-black-mode.ai-profile-page .profile-note {
    background: #202d2c;
    color: #c8d6d2;
}

body.io-black-mode.ai-profile-page .profile-lesson-table-wrap,
body.io-black-mode.ai-profile-page .profile-lesson-table th,
body.io-black-mode.ai-profile-page .profile-lesson-table td {
    border-color: #344043;
}

body.io-black-mode.ai-profile-page .profile-lesson-table {
    background: #1c2426;
    color: #c4cfcc;
}

body.io-black-mode.ai-profile-page .profile-lesson-table thead th {
    background: #263230;
    color: #e6eeeb;
}

body.io-black-mode.ai-profile-page .profile-lesson-table tbody th,
body.io-black-mode.ai-profile-page .profile-lesson-date {
    color: #b2bfbc !important;
}

body.io-black-mode.ai-profile-page .profile-popover,
body.io-black-mode.ai-profile-page .profile-depth-panel {
    border-color: #3a4749;
    background: #20292b;
    color: #e6eeeb;
}

body.io-black-mode.ai-profile-page #footer-tools .btn {
    color: #aaa;
    background: #363738;
}

body.io-black-mode.ai-profile-page .profile-depth-panel .reading-plan-month {
    border-color: #4b5563;
    background: #2b3035;
    color: #fff;
}

body.io-black-mode.ai-profile-page .profile-depth-panel .reading-plan-close {
    color: #fff;
}

@media (max-width: 767.98px), (orientation: portrait) and (min-width: 768px) and (max-width: 1100px) {
    .ai-profile-page #sidebar {
        display: block !important;
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        width: min(300px, 82vw) !important;
        flex-basis: auto;
        transform: translateX(-105%);
        transition: transform .2s ease;
        box-shadow: none;
    }

    .ai-profile-page #sidebar > .sidebar-nav-inner {
        position: relative;
        width: 100%;
        max-width: none;
        transform: none;
    }

    .ai-profile-page #sidebar.is-open {
        transform: translateX(0);
        box-shadow: 8px 0 28px rgba(0, 0, 0, .18);
    }

    .ai-profile-page .profile-overlay.is-visible {
        position: fixed;
        inset: 0;
        z-index: 1190;
        display: block;
        background: rgba(12, 18, 20, .42);
    }

    .ai-profile-page .profile-header-inner {
        padding: 0 14px;
    }

    .ai-profile-page .profile-mobile-brand {
        display: inline-flex;
        align-items: center;
    }

    .ai-profile-page .profile-mobile-brand img {
        display: block;
        width: 40px;
        height: 40px;
        object-fit: contain;
    }

    .ai-profile-page .profile-nav-start {
        gap: 8px;
    }

    .ai-profile-page .profile-depth-trigger {
        min-height: 40px;
        gap: 6px;
        padding: 0 6px;
        font-size: 15px;
    }

    .ai-profile-page .profile-header-inner {
        justify-content: space-between;
    }

    .ai-profile-page .profile-nav-end {
        gap: 8px;
    }

    .ai-profile-page .profile-depth-panel,
    .ai-profile-page .mini-sidebar + .main-content .profile-depth-panel {
        top: 76px;
        right: auto;
        left: 50%;
        width: min(350px, calc(100vw - 24px));
        max-width: calc(100vw - 24px);
        max-height: min(68vh, 520px);
        gap: 8px;
        padding: 10px;
        transform: translateX(-50%);
    }

    .ai-profile-page .profile-breadcrumb {
        width: calc(100% - 32px);
        margin: 16px auto 14px;
        padding: 0;
        font-size: 15px;
    }

    .ai-profile-page .profile-content {
        width: calc(100% - 32px);
        margin-bottom: 24px;
    }

    .ai-profile-page .profile-breadcrumb {
        width: calc(100% - 32px);
    }

    .ai-profile-page h1 {
        font-size: 24px;
    }

    .ai-profile-page .profile-reader-title {
        font-size: 25px;
    }

    .ai-profile-page .profile-logo {
        width: 24px;
        height: 24px;
        flex-basis: 24px;
        font-size: 25px;
    }

    .ai-profile-page .profile-logo img {
        width: 24px;
        height: 24px;
    }

    .ai-profile-page .profile-lede {
        font-size: 16px;
    }

    .ai-profile-page .profile-course-unit > summary {
        padding: 13px 8px;
        font-size: 16px;
    }

    .ai-profile-page .profile-course-topics {
        padding: 0 6px 8px;
    }

    .ai-profile-page .profile-course-topic {
        padding: 9px 8px;
        font-size: 15px;
    }

    .ai-profile-page .profile-course-submenu > summary {
        padding: 9px 8px;
        font-size: 15px;
        font-weight: 400;
    }

    .ai-profile-page .profile-course-subtopics { margin-left: 12px; }

    .ai-profile-page .profile-reader-body {
        min-height: 240px;
    }

    .ai-profile-page .profile-section h2 {
        font-size: 20px;
    }

    .ai-profile-page .profile-lesson .profile-section h3 {
        font-size: 15px;
    }

    .ai-profile-page .profile-section p,
    .ai-profile-page .profile-section li {
        font-size: 15px;
    }

    .ai-profile-page .profile-popover {
        right: 66px;
        bottom: 16px;
    }

    .ai-profile-page .main-footer {
        padding-right: 56px;
        padding-left: 16px;
    }
}
