.navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-weight: 600;
    letter-spacing: -.025em;
}
.navbar-brand > img { flex: 0 0 26px; }

.home-page {
    --home-art-background: #e9f2f9;
    --home-art-line: #c3d9e9;
    --home-icon-background: #eaf3fa;
    --home-mark-shadow: 0 18px 36px rgba(28, 83, 123, .17);
    color: var(--text);
    padding-bottom: 24px;
}
.home-page .home-container { max-width: 1120px; }
.home-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    align-items: center;
    gap: 64px;
    padding: 48px 0 50px;
}
.home-eyebrow { margin: 0 0 20px; color: var(--text-muted); font-size: 14px; font-weight: 600; letter-spacing: .025em; }
.home-eyebrow > span { margin: 0 10px; color: var(--input-border); }
.home-intro h1 { margin: 0; color: var(--text); font-size: clamp(32px, 3.8vw, 48px); font-weight: 700; letter-spacing: -.035em; line-height: 1.5; }
.home-intro h1 > span { color: var(--link); }
.home-description { max-width: 540px; margin: 20px 0 26px; color: var(--text-muted); font-size: 16px; line-height: 1.9; }
.home-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.home-actions .btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 44px; padding: 10px 18px; border-radius: 7px; font-size: 14px; font-weight: 600; }
.home-actions .btn svg { width: 18px; height: 18px; }
.home-access-note { margin: 14px 0 0; color: var(--text-muted); font-size: 12px; line-height: 1.8; }
.home-brand-art { position: relative; padding: 26px 16px 20px; border: 1px solid var(--home-art-line); border-radius: 24px; background: var(--home-art-background); }
.home-logo-stage { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; min-height: 240px; }
.home-logo-stage::before,
.home-logo-stage::after { position: absolute; z-index: 0; width: 150px; height: 150px; top: 18px; left: calc(50% - 75px); border: 1px solid var(--home-art-line); border-radius: 38px; content: ""; transform: rotate(-12deg); }
.home-logo-stage::after { transform: rotate(12deg); }
.home-logo { position: relative; z-index: 1; width: 144px; height: 144px; border-radius: 36px; box-shadow: var(--home-mark-shadow); }
.home-wordmark { color: var(--text); font-size: 28px; font-weight: 700; letter-spacing: -.04em; }
.home-media { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; padding-top: 14px; border-top: 1px solid var(--home-art-line); }
.home-media .media-badge { font-size: 11px; padding: 2px 6px; }
.home-section-title { margin: 0 0 18px; color: var(--text-muted); font-size: 14px; font-weight: 600; }
.home-feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.home-feature {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface);
    color: var(--text);
    text-decoration: none;
    transition: border-color 150ms ease, background-color 150ms ease;
}
.home-feature:hover,
.home-feature:focus { border-color: var(--link); background: var(--surface); color: var(--text); text-decoration: none; }
.home-feature-icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-bottom: 16px; border-radius: 10px; background: var(--home-icon-background); color: var(--link); }
.home-feature h3 { margin: 0 0 10px; color: var(--text); font-size: 19px; font-weight: 600; }
.home-feature p { flex: 1; margin: 0 0 20px; color: var(--text-muted); font-size: 14px; line-height: 1.85; }
.home-feature-link { display: inline-flex; align-items: center; gap: 8px; color: var(--link); font-size: 13px; font-weight: 600; }
.home-feature-link svg { width: 17px; height: 17px; }
.home-watch { display: flex; align-items: center; gap: 20px; margin: 24px 0 0; padding: 24px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); }
.home-watch-icon { display: inline-flex; flex: 0 0 44px; align-items: center; justify-content: center; width: 44px; height: 44px; color: var(--link); }
.home-watch-copy { flex: 1; }
.home-watch h2 { margin: 0 0 7px; color: var(--text); font-size: 17px; font-weight: 600; line-height: 1.6; text-wrap: balance; }
.home-watch p { margin: 0; color: var(--text-muted); font-size: 13px; line-height: 1.8; }
.home-progress { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.home-footer { margin-top: 22px; color: var(--text-muted); font-size: 12px; text-align: center; line-height: 1.8; }

@media (prefers-color-scheme: dark) {
    .home-page {
        --home-art-background: #192e40;
        --home-art-line: #3c5c74;
        --home-icon-background: #243d52;
        --home-mark-shadow: 0 18px 36px rgba(0, 0, 0, .2);
    }
}
@media (max-width: 991px) {
    .home-hero { gap: 28px; padding-top: 28px; }
    .home-intro h1 { font-size: 35px; }
    .home-brand-art { padding-left: 12px; padding-right: 12px; }
    .home-feature { padding: 20px; }
    .home-watch { flex-wrap: wrap; }
    .home-progress { margin-left: 64px; }
}
@media (min-width: 768px) and (max-width: 991px) {
    .navbar-default .global-search-group .form-control { width: 128px; }
}
@media (max-width: 767px) {
    .home-hero { grid-template-columns: minmax(0, 1fr); gap: 30px; padding: 18px 0 34px; }
    .home-eyebrow { margin-bottom: 16px; font-size: 12px; }
    .home-intro h1 { font-size: clamp(28px, 7.5vw, 38px); }
    .home-description { margin-top: 16px; font-size: 14px; }
    .home-actions { gap: 10px; }
    .home-actions .btn { padding: 10px 14px; font-size: 13px; }
    .home-brand-art { display: flex; align-items: center; gap: 20px; padding: 20px; border-radius: 16px; }
    .home-logo-stage { flex: 0 0 104px; min-height: 120px; gap: 10px; }
    .home-logo-stage::before,
    .home-logo-stage::after { top: 0; left: calc(50% - 40px); width: 80px; height: 80px; border-radius: 20px; }
    .home-logo { width: 80px; height: 80px; border-radius: 20px; }
    .home-wordmark { font-size: 21px; }
    .home-media { flex: 1; justify-content: flex-start; padding: 0 0 0 20px; border-top: 0; border-left: 1px solid var(--home-art-line); }
    .home-feature-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .home-feature { position: relative; padding: 20px 20px 20px 82px; }
    .home-feature-icon { position: absolute; left: 20px; top: 20px; width: 42px; height: 42px; margin: 0; }
    .home-feature h3 { font-size: 17px; }
    .home-feature p { margin-bottom: 12px; font-size: 13px; }
    .home-watch { gap: 14px; padding: 20px; }
    .home-watch-copy { flex-basis: calc(100% - 58px); }
    .home-progress { margin-left: 58px; }
}
@media (prefers-reduced-motion: reduce) {
    .home-feature { transition: none; }
}

.my-page { padding-bottom: 32px; }
.my-page-header { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin: 12px 0 26px; }
.my-page-header h1 { margin: 0 0 10px; font-size: 28px; font-weight: 650; }
.my-page-header p { margin: 0; }
.my-page-header .my-page-account { margin-bottom: 8px; color: var(--text-muted); font-size: 13px; overflow-wrap: anywhere; }
.my-page-summary { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; margin-bottom: 26px; }
.my-page-stat { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 20px 22px; color: var(--text); background: var(--surface); border: 1px solid var(--border); border-radius: 10px; }
.my-page-stat:hover,.my-page-stat:focus { color: var(--text); border-color: var(--link); text-decoration: none; }
.my-page-stat > span:first-child { color: var(--text-muted); font-size: 13px; }
.my-page-stat strong { font-size: 30px; line-height: 1.1; font-weight: 650; font-variant-numeric: tabular-nums; }
.my-page-stat-link { font-size: 12px; color: var(--link); }
.my-page-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; align-items: start; }
.my-page-grid > .panel { margin: 0; min-width: 0; }
.my-page-section-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.my-page-section-heading h2 { margin: 0; font-size: 16px; font-weight: 600; }
.my-page-section-heading > a { font-size: 12px; white-space: nowrap; }
.my-page-section .panel-body { padding: 0 20px; }
.my-page-item { padding: 16px 0; }
.my-page-item + .my-page-item { border-top: 1px solid var(--border-soft); }
.my-page-item-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.my-page-item-title { min-width: 0; line-height: 1.6; font-weight: 500; overflow-wrap: anywhere; }
.my-page-item-heading .status-badge { flex: 0 0 auto; margin-top: 2px; }
.my-page-reading { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 8px; font-size: 12px; }
.my-page-reading a { color: var(--text-muted); }
.my-page-reading a:hover { color: var(--link); }
.my-page-empty { padding: 28px 0; color: var(--text-muted); line-height: 1.8; }
.my-page-empty p { margin-bottom: 16px; }
@media(max-width:767px) {
    .my-page-header { align-items: flex-start; flex-direction: column; margin-bottom: 20px; gap: 14px; }
    .my-page-header h1 { font-size: 24px; }
    .my-page-summary { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin-bottom: 20px; }
    .my-page-stat { padding: 16px; gap: 8px; }
    .my-page-stat strong { font-size: 26px; }
    .my-page-grid { grid-template-columns: minmax(0,1fr); gap: 18px; }
}
