.sd-bf {
    --bf-ink: var(--ds-text, #0f172a);
    --bf-sub: var(--ds-text-sub, #334155);
    --bf-muted: var(--ds-text-muted, #64748b);
    --bf-line: var(--ds-border, #e2e8f0);
    --bf-line-soft: #edf2f7;
    --bf-blue: var(--ds-blue, #2563eb);
    --bf-navy: var(--ds-navy, #0b3d91);
    --bf-bg-soft: #f8fafc;
    margin-bottom: 20px;
    min-width: 0;
    color: var(--bf-ink);
    font-size: 15px;
    line-height: 1.5;
}

/* Hero Header (Full Briefing Page) */
.sd-bf-hero {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-bottom: 14px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--bf-line);
}
.sd-bf-hero-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    min-width: 0;
}
.sd-bf-hero-title-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    flex: 1 1 auto;
}
.sd-bf-eyebrow {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    color: var(--bf-blue);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
}
.sd-bf-live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.16);
}
.sd-bf-eyebrow-sep {
    color: #94a3b8;
}
.sd-bf-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}
.sd-bf-heading {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px 12px;
    min-width: 0;
}
.sd-bf .sd-bf-heading h2 {
    margin: 0;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: -0.03em;
    color: #0f172a;
}
.sd-bf-edition {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px 10px;
    color: var(--bf-navy);
    font-size: 14px;
    font-weight: 700;
}
.sd-bf-edition time {
    padding: 2px 8px;
    border-radius: 6px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}
.sd-bf-updated {
    color: var(--bf-muted);
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
}
.sd-bf-hero-desc {
    margin: 2px 0 0;
    color: #475569;
    font-size: 13.5px;
    line-height: 1.5;
    word-break: keep-all;
}

/* Date Picker & Archive Strip */
.sd-bf-date-picker {
    position: relative;
    flex: 0 0 auto;
    font-size: 13px;
    color: var(--bf-sub);
}
.sd-bf-date-picker > summary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-sizing: border-box;
    min-height: 36px;
    padding: 6px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #fff;
    color: #1e293b;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    white-space: nowrap;
}
.sd-bf-date-picker > summary::-webkit-details-marker {
    display: none;
}
.sd-bf-date-picker > summary:hover,
.sd-bf-date-picker[open] > summary {
    border-color: #93c5fd;
    color: var(--bf-navy);
    background: #eff6ff;
}
.sd-bf-date-picker .sd-bf-date-form {
    position: absolute;
    z-index: 20;
    top: calc(100% + 6px);
    right: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    box-sizing: border-box;
    width: 280px;
    max-width: calc(100vw - 36px);
    padding: 12px;
    border: 1px solid var(--bf-line);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.14);
}
.sd-bf-date-form label {
    grid-column: 1 / -1;
    font-size: 12px;
    font-weight: 700;
    color: #334155;
}
.sd-bf-date-form input {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    min-height: 38px;
    padding: 6px 10px;
    border: 1px solid var(--bf-line);
    border-radius: 8px;
    background: #fff;
    color: var(--bf-ink);
    font: inherit;
    font-size: 13.5px;
}
.sd-bf-date-form .ds-btn {
    min-height: 38px;
    padding: 0 12px;
    font-weight: 700;
}

.sd-bf-archive {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    max-width: 100%;
    overflow-x: auto;
    padding: 2px 0;
    scrollbar-width: thin;
}
.sd-bf-archive-label {
    flex: 0 0 auto;
    margin-right: 4px;
    color: var(--bf-muted);
    font-size: 12px;
    font-weight: 700;
}
.sd-bf-archive .ds-chip {
    flex: 0 0 auto;
    min-height: 32px;
    padding: 0 11px;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 600;
    white-space: nowrap;
}
.sd-bf-archive .ds-chip.is-active {
    border-color: #2563eb;
    background: #2563eb;
    color: #fff;
    font-weight: 700;
}

/* 4-Card KPI Summary Strip */
.sd-bf-kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    align-items: stretch;
    margin-bottom: 14px;
}
.sd-bf-kpi-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 6px;
    min-width: 0;
    min-height: 112px;
    box-sizing: border-box;
    padding: 12px 14px;
    border: 1px solid var(--bf-line);
    border-radius: 10px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    color: var(--bf-ink);
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.sd-bf-kpi-card:hover {
    border-color: #93c5fd;
    background: #f8fbff;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.08);
    transform: translateY(-1px);
}
.sd-bf-kpi-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.sd-bf-kpi-label {
    color: #475569;
    font-size: 12.5px;
    font-weight: 700;
}
.sd-bf-kpi-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 7px;
    background: #eff6ff;
    color: #2563eb;
}
.sd-bf-kpi-val {
    display: flex;
    align-items: baseline;
    gap: 3px;
}
.sd-bf-kpi-val strong {
    color: #0f172a;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.2;
    font-variant-numeric: tabular-nums;
}
.sd-bf-kpi-val span {
    color: #64748b;
    font-size: 13px;
    font-weight: 600;
}
.sd-bf-kpi-etf {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin: 1px 0;
}
.sd-bf-kpi-etf-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    font-size: 12.5px;
    line-height: 1.35;
}
.sd-bf-kpi-etf-tag {
    padding: 1px 6px;
    border-radius: 4px;
    background: #e2e8f0;
    color: #1e293b;
    font-size: 11px;
    font-weight: 800;
}
.sd-bf-kpi-etf-row strong {
    font-weight: 750;
    font-variant-numeric: tabular-nums;
    color: #0f172a;
    white-space: nowrap;
}
.sd-bf-kpi-etf-row strong.is-inflow { color: #047857; }
.sd-bf-kpi-etf-row strong.is-outflow { color: #b91c1c; }
.sd-bf-kpi-sub {
    margin: 0;
    color: #64748b;
    font-size: 11.5px;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 5-Tab Bar */
.sd-bf-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    padding: 4px;
    margin-bottom: 14px;
    border: 1px solid var(--bf-line);
    border-radius: 10px;
    background: #f1f5f9;
}
.sd-bf-tabs button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 auto;
    min-width: 0;
    min-height: 40px;
    padding: 6px 12px;
    border: 1px solid transparent;
    border-radius: 7px;
    background: transparent;
    color: #475569;
    font: inherit;
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.4;
    white-space: nowrap;
    cursor: pointer;
}
.sd-bf-tabs button:hover {
    background: #e2e8f0;
    color: var(--bf-navy);
}
.sd-bf-tabs button[aria-selected="true"] {
    border-color: #cbd5e1;
    background: #fff;
    color: var(--bf-navy);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}
.sd-bf-tabs button span {
    margin-left: 6px;
    padding: 1px 6px;
    border-radius: 999px;
    background: #e2e8f0;
    color: #334155;
    font-size: 11.5px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}
.sd-bf-tabs button[aria-selected="true"] span {
    background: #dbeafe;
    color: #1d4ed8;
}
.sd-bf-panel[hidden],
.sd-bf-update[hidden],
.sd-bf-item[hidden],
[data-bf-filter-empty][hidden] {
    display: none !important;
}

/* Overview 2-Column Grid & Section Boxes */
.sd-bf-overview-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    align-items: stretch;
}
.sd-bf-overview-side,
.sd-bf-support-side {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
    height: 100%;
}
.sd-bf-support-side > .sd-bf-box {
    flex: 1 1 auto;
}
.sd-bf-box {
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: 100%;
    box-sizing: border-box;
    border: 1px solid var(--bf-line);
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
}
.sd-bf-box-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 68px;
    box-sizing: border-box;
    padding: 12px 16px;
    border-bottom: 1px solid var(--bf-line-soft);
    background: #f8fafc;
}
.sd-bf-box-head h3 {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
    color: #0f172a;
    font-size: 15.5px;
    font-weight: 800;
    line-height: 1.4;
    word-break: keep-all;
}
.sd-bf-box-head p {
    margin: 2px 0 0;
    color: #64748b;
    font-size: 12px;
    line-height: 1.45;
    word-break: keep-all;
}
.sd-bf-kst-pill {
    padding: 1px 6px;
    border-radius: 5px;
    background: #e2e8f0;
    color: #475569;
    font-size: 11px;
    font-weight: 600;
}
.sd-bf-box-link {
    flex: 0 0 auto;
    padding: 5px 10px;
    border: 1px solid #cbd5e1;
    border-radius: 7px;
    background: #fff;
    color: #1e40af;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
}
.sd-bf-box-link:hover {
    border-color: #93c5fd;
    background: #eff6ff;
}
.sd-bf-box-body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    padding: 4px 16px;
}
.sd-bf-box-foot {
    margin-top: auto;
    padding: 10px 16px;
    border-top: 1px solid var(--bf-line-soft);
    background: #fcfdff;
}
.sd-bf-more-btn {
    width: 100%;
    min-height: 36px;
    padding: 6px 12px;
    border: 1px solid #dbeafe;
    border-radius: 8px;
    background: #eff6ff;
    color: #1d4ed8;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}
.sd-bf-more-btn:hover {
    background: #dbeafe;
}

/* Mentioned Ticker Strip inside Overview Boxes */
.sd-bf-ticker-strip {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 5px;
    height: 42px;
    min-height: 42px;
    box-sizing: border-box;
    padding: 0 16px;
    border-bottom: 1px solid var(--bf-line-soft);
    background: #fcfdff;
    overflow-x: auto;
    scrollbar-width: none;
}
.sd-bf-ticker-strip::-webkit-scrollbar {
    display: none;
}
.sd-bf-ticker-strip-label {
    flex: 0 0 auto;
    margin-right: 4px;
    color: #64748b;
    font-size: 11.5px;
    font-weight: 700;
    white-space: nowrap;
}
.sd-bf-strip-note {
    flex: 0 0 auto;
    color: #475569;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
}
.sd-bf-mini-ticker {
    flex: 0 0 auto;
    padding: 3px 8px;
    border: 1px solid #dbeafe;
    border-radius: 6px;
    background: #eff6ff;
    color: #1e40af;
    font: inherit;
    font-size: 11.5px;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
}
.sd-bf-mini-ticker:hover {
    background: #dbeafe;
}
.sd-bf-inline-notice {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding: 10px 0 6px;
    border-top: 1px solid var(--bf-line-soft);
    color: #64748b;
    font-size: 12.5px;
    line-height: 1.45;
}
.sd-bf-inline-badge {
    flex: 0 0 auto;
    padding: 2px 7px;
    border-radius: 5px;
    background: #f1f5f9;
    color: #334155;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

/* Filter Toolbar (Global & Company Full Panels) */
.sd-bf-filter-bar {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 12px 14px;
    margin-bottom: 10px;
    border: 1px solid var(--bf-line);
    border-radius: 10px;
    background: #f8fafc;
}
.sd-bf-search-box {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 12px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #fff;
    color: #64748b;
}
.sd-bf-search-box:focus-within {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}
.sd-bf-search-box input {
    width: 100%;
    min-height: 38px;
    border: 0;
    outline: 0;
    background: transparent;
    color: #0f172a;
    font: inherit;
    font-size: 13.5px;
}
.sd-bf-filter-chips {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}
.sd-bf-filter-chip {
    min-height: 30px;
    padding: 4px 10px;
    border: 1px solid #cbd5e1;
    border-radius: 999px;
    background: #fff;
    color: #475569;
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}
.sd-bf-filter-chip:hover {
    border-color: #93c5fd;
    color: #1e40af;
}
.sd-bf-filter-chip.is-active {
    border-color: #2563eb;
    background: #2563eb;
    color: #fff;
}
.sd-bf-filter-chip--right {
    margin-left: auto;
    border-style: dashed;
}

/* Schedule Banner & Empty State Boxes */
.sd-bf-schedule-banner {
    padding: 12px 14px;
    margin-bottom: 10px;
    border: 1px solid #dbeafe;
    border-radius: 10px;
    background: #f8fbff;
}
.sd-bf-schedule-banner strong {
    display: block;
    color: #1e3a8a;
    font-size: 13.5px;
    font-weight: 700;
}
.sd-bf-schedule-banner p {
    margin: 3px 0 0;
    color: #475569;
    font-size: 12.5px;
}
.sd-bf-empty-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1 1 auto;
    box-sizing: border-box;
    padding: 16px 14px;
    margin: 8px 0;
    border: 1px dashed #cbd5e1;
    border-radius: 10px;
    background: #f8fafc;
}
.sd-bf-empty-box--compact {
    padding: 14px;
}
.sd-bf-empty-box strong {
    display: block;
    color: #1e293b;
    font-size: 14px;
    font-weight: 700;
    word-break: keep-all;
}
.sd-bf-empty-box p {
    margin: 4px 0 0;
    color: #64748b;
    font-size: 13px;
    line-height: 1.5;
    word-break: keep-all;
}
.sd-bf-empty-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}
.sd-bf-empty-actions .ds-chip {
    min-height: 32px;
    padding: 0 11px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

/* Rich Visual Empty Schedule State & Energy Status */
.sd-bf-sched-empty {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1 1 auto;
    gap: 10px;
    padding: 8px 0 6px;
}
.sd-bf-sched-empty-hero {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 13px 14px;
    border: 1px solid #dbeafe;
    border-radius: 10px;
    background: linear-gradient(135deg, #f8fbff 0%, #eff6ff 100%);
}
.sd-bf-sched-empty-top {
    display: flex;
    align-items: center;
    gap: 11px;
}
.sd-bf-sched-empty-illust {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border: 1px solid #bfdbfe;
    border-radius: 11px;
    background: #ffffff;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.08);
}
.sd-bf-sched-empty-copy {
    flex: 1 1 auto;
    min-width: 0;
}
.sd-bf-sched-empty-badges {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 4px;
}
.sd-bf-rest-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 2px 8px;
    border: 1px solid #bfdbfe;
    border-radius: 999px;
    background: #ffffff;
    color: #1d4ed8;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.4;
}
.sd-bf-rest-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #2563eb;
}
.sd-bf-rest-date {
    color: #64748b;
    font-size: 11.5px;
    font-weight: 600;
}
.sd-bf-sched-empty-copy h4 {
    margin: 0;
    color: #0f172a;
    font-size: 13.8px;
    font-weight: 800;
    line-height: 1.4;
    word-break: keep-all;
}
.sd-bf-sched-empty-desc {
    margin: 0;
    color: #475569;
    font-size: 12.2px;
    line-height: 1.48;
    word-break: keep-all;
}
.sd-bf-sched-empty-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 2px;
}
.sd-bf-action-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 29px;
    padding: 3px 10px;
    border: 1px solid #cbd5e1;
    border-radius: 7px;
    background: #ffffff;
    color: #334155;
    font: inherit;
    font-size: 11.8px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: border-color 0.14s ease, background-color 0.14s ease, color 0.14s ease;
}
.sd-bf-action-chip:hover {
    border-color: #93c5fd;
    background: #f8fafc;
    color: #1d4ed8;
}
.sd-bf-action-chip--primary {
    border-color: #2563eb;
    background: #2563eb;
    color: #ffffff;
}
.sd-bf-action-chip--primary:hover {
    border-color: #1d4ed8;
    background: #1d4ed8;
    color: #ffffff;
}

/* KST Release Timetable Mini-Grid */
.sd-bf-sched-timetable,
.sd-bf-sched-recap {
    padding: 10px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #f8fafc;
}
.sd-bf-subcard-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
}
.sd-bf-subcard-title {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #1e293b;
    font-size: 12px;
    font-weight: 800;
}
.sd-bf-subcard-title svg {
    color: #2563eb;
}
.sd-bf-subcard-note {
    padding: 1px 6px;
    border-radius: 5px;
    background: #e2e8f0;
    color: #475569;
    font-size: 10.5px;
    font-weight: 700;
}
.sd-bf-subcard-link {
    color: #1d4ed8;
    font-size: 11.5px;
    font-weight: 700;
    text-decoration: none;
}
.sd-bf-subcard-link:hover {
    text-decoration: underline;
}
.sd-bf-timetable-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
}
.sd-bf-tt-card {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 8px 9px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #ffffff;
}
.sd-bf-tt-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
}
.sd-bf-tt-time {
    color: #1d4ed8;
    font-size: 11px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
.sd-bf-tt-tag {
    flex: 0 0 auto;
    padding: 1px 5px;
    border-radius: 4px;
    background: #f1f5f9;
    color: #64748b;
    font-size: 10px;
    font-weight: 700;
    white-space: nowrap;
}
.sd-bf-tt-card strong {
    color: #0f172a;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
    word-break: keep-all;
}
.sd-bf-tt-card p {
    margin: 0;
    color: #64748b;
    font-size: 11px;
    line-height: 1.38;
    word-break: keep-all;
}

/* Recent Release Recap Rows */
.sd-bf-recap-list {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.sd-bf-recap-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 9px;
    border: 1px solid #e2e8f0;
    border-radius: 7px;
    background: #ffffff;
    font-size: 12px;
}
.sd-bf-recap-time {
    flex: 0 0 auto;
    padding: 1px 6px;
    border-radius: 4px;
    background: #eff6ff;
    color: #1e40af;
    font-size: 11px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}
.sd-bf-recap-name {
    flex: 1 1 auto;
    min-width: 0;
    color: #1e293b;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.sd-bf-recap-val {
    flex: 0 0 auto;
    color: #0f172a;
    font-size: 11.8px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

/* Upgraded Energy & Weather Status Box */
.sd-bf-energy-status {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: auto;
    padding: 11px 12px;
    border: 1px solid #d1fae5;
    border-radius: 10px;
    background: linear-gradient(135deg, #f0fdf4 0%, #f8fafc 100%);
}
.sd-bf-energy-status--full {
    margin: 8px 0;
    padding: 14px 16px;
}
.sd-bf-energy-status-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    border: 1px solid #a7f3d0;
    border-radius: 9px;
    background: #ffffff;
}
.sd-bf-energy-status-body {
    flex: 1 1 auto;
    min-width: 0;
}
.sd-bf-energy-status-top {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 2px;
}
.sd-bf-energy-status-top strong {
    color: #0f172a;
    font-size: 12.8px;
    font-weight: 800;
}
.sd-bf-energy-ok-pill {
    padding: 1px 7px;
    border: 1px solid #a7f3d0;
    border-radius: 999px;
    background: #ffffff;
    color: #047857;
    font-size: 10.8px;
    font-weight: 700;
}
.sd-bf-energy-status-body p {
    margin: 0;
    color: #475569;
    font-size: 12px;
    line-height: 1.45;
    word-break: keep-all;
}
.sd-bf-energy-checks {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    margin-top: 8px;
}
.sd-bf-energy-checks span {
    display: flex;
    flex-direction: column;
    gap: 1px;
    padding: 6px 8px;
    border: 1px solid #d1fae5;
    border-radius: 7px;
    background: #ffffff;
    color: #64748b;
    font-size: 11px;
    line-height: 1.35;
}
.sd-bf-energy-checks strong {
    color: #065f46;
    font-size: 11.5px;
    font-weight: 700;
}
@media (max-width: 640px) {
    .sd-bf-timetable-grid,
    .sd-bf-energy-checks {
        grid-template-columns: 1fr;
    }
    .sd-bf-sched-empty-hero {
        flex-direction: column;
        gap: 8px;
    }
}

/* Individual Briefing Item Rows */
.sd-bf-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-width: 0;
    padding: 11px 0;
    border-bottom: 1px solid var(--bf-line-soft);
}
.sd-bf-item:last-child {
    border-bottom: 0;
}
.sd-bf-time {
    flex: 0 0 60px;
    padding-top: 2px;
    color: var(--bf-navy);
    font-size: 13.5px;
    font-weight: 750;
    font-variant-numeric: tabular-nums;
    line-height: 1.4;
}
.sd-bf-time--news {
    flex: 0 0 auto;
    min-width: 54px;
    padding: 2px 7px;
    border-radius: 6px;
    background: #f1f5f9;
    color: #475569;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    white-space: nowrap;
}
.sd-bf-time small {
    display: block;
    color: var(--bf-muted);
    font-size: 11px;
    font-weight: 500;
}
.sd-bf-content {
    flex: 1;
    min-width: 0;
}
.sd-bf-item-head {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 4px 8px;
}
.sd-bf-item-head h3 {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.48;
    letter-spacing: -0.015em;
    word-break: keep-all;
    overflow-wrap: anywhere;
}
.sd-bf-headline {
    display: inline;
    color: #0f172a;
    text-decoration: none;
}
.sd-bf-headline:hover {
    color: var(--bf-blue);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.sd-bf-badge {
    display: inline-flex;
    align-items: center;
    padding: 1px 7px;
    border: 1px solid #bfdbfe;
    border-radius: 5px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 11.5px;
    font-weight: 700;
    line-height: 1.4;
    white-space: nowrap;
}
.sd-bf-badge--done {
    border-color: #a7f3d0;
    background: #ecfdf5;
    color: #047857;
}
.sd-bf-tag {
    display: inline-flex;
    align-items: center;
    padding: 1px 6px;
    border-radius: 5px;
    background: #f1f5f9;
    color: #475569;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.4;
    white-space: nowrap;
}
.sd-bf-importance {
    display: inline-flex;
    align-items: center;
    gap: 1px;
    color: #d97706;
    white-space: nowrap;
}
.sd-bf-star-svg {
    display: inline-block;
    vertical-align: -1px;
}
.sd-bf-muted,
.sd-bf-summary {
    margin: 4px 0 0;
    color: var(--bf-muted);
    font-size: 12.5px;
    line-height: 1.5;
    overflow-wrap: anywhere;
}
.sd-bf-summary {
    color: #475569;
    font-size: 13.5px;
    word-break: keep-all;
}
.sd-bf-panel--overview .sd-bf-summary {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Schedule Values & Measures */
.sd-bf-measure {
    margin-top: 6px;
    padding: 6px 10px;
    border-radius: 7px;
    background: #f8fafc;
    border: 1px solid #eef2f6;
}
.sd-bf-measure > strong {
    display: block;
    margin-bottom: 2px;
    color: #475569;
    font-size: 12px;
    font-weight: 700;
}
.sd-bf-values {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 16px;
    margin: 0;
    font-size: 13px;
    line-height: 1.45;
}
.sd-bf-values > div {
    display: inline-flex;
    align-items: baseline;
    gap: 5px;
}
.sd-bf-values dt {
    color: #64748b;
    font-size: 12px;
    font-weight: 500;
}
.sd-bf-values dd {
    margin: 0;
    color: #0f172a;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}
.sd-bf-values > div:first-child dd {
    color: var(--bf-navy);
}

/* Source, Time & Stock Ticker Chips */
.sd-bf-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px 10px;
    min-width: 0;
    margin-top: 5px;
}
.sd-bf-source {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px 8px;
    color: var(--bf-muted);
    font-size: 12px;
    line-height: 1.4;
}
.sd-bf-source a {
    color: #475569;
    font-weight: 600;
    text-decoration: none;
}
.sd-bf-source a:hover {
    color: var(--bf-blue);
    text-decoration: underline;
}
.sd-bf-source time {
    color: #64748b;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
.sd-bf-original {
    min-width: 0;
    font-size: 12px;
}
.sd-bf-original > summary {
    display: inline-flex;
    align-items: center;
    padding: 1px 6px;
    border-radius: 4px;
    background: #f1f5f9;
    color: #475569;
    font-size: 11.5px;
    font-weight: 600;
    cursor: pointer;
}
.sd-bf-original[open] {
    flex-basis: 100%;
    margin-top: 4px;
    padding: 6px 10px;
    border-left: 2px solid #93c5fd;
    background: #f8fafc;
    border-radius: 0 6px 6px 0;
}
.sd-bf-original[open] > summary {
    color: var(--bf-navy);
    background: #e0ecff;
}
.sd-bf-symbols {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 5px;
}
.sd-bf-symbols .ds-chip,
.sd-bf-stock-chip {
    min-height: 24px;
    padding: 2px 8px;
    border-color: #dbeafe;
    border-radius: 6px;
    background: #eff6ff;
    color: #1e40af;
    font-size: 11.5px;
    font-weight: 700;
    line-height: 1.35;
}
.sd-bf-symbols .ds-chip:hover,
.sd-bf-stock-chip:hover {
    background: #dbeafe;
}

/* Crypto Spot ETF & Support Section */
.sd-bf-support {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    align-items: stretch;
    margin-top: 14px;
}
.sd-bf-flow-row {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 4px 10px;
    margin-top: 4px;
}
.sd-bf-flow-value {
    margin: 0;
    color: var(--bf-navy);
    font-size: 16px;
    font-weight: 800;
    line-height: 1.4;
    font-variant-numeric: tabular-nums;
}
.sd-bf-flow-value.is-inflow { color: #047857; }
.sd-bf-flow-value.is-outflow { color: #b91c1c; }
.sd-bf-flow-date {
    color: #64748b;
    font-size: 12px;
    font-weight: 500;
}
.sd-bf-extra,
.sd-bf-funds,
.sd-bf-measures-extra {
    margin-top: 6px;
    font-size: 12.5px;
    color: var(--bf-muted);
}
.sd-bf-extra > summary,
.sd-bf-funds > summary,
.sd-bf-measures-extra > summary {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background: #f8fafc;
    color: #334155;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}
.sd-bf-extra[open] > summary,
.sd-bf-funds[open] > summary,
.sd-bf-measures-extra[open] > summary {
    border-color: #bfdbfe;
    background: #eff6ff;
    color: var(--bf-navy);
}
.sd-bf-table-wrap {
    max-width: 100%;
    margin-top: 6px;
    overflow-x: auto;
    border: 1px solid var(--bf-line);
    border-radius: 8px;
}
.sd-bf-funds table {
    width: 100%;
    border-collapse: collapse;
    color: var(--bf-ink);
    white-space: nowrap;
    font-size: 12.5px;
}
.sd-bf-funds th,
.sd-bf-funds td {
    padding: 6px 10px;
    border-bottom: 1px solid var(--bf-line-soft);
    text-align: left;
}
.sd-bf-funds thead th {
    background: #f8fafc;
    color: #475569;
    font-weight: 700;
}
.sd-bf-funds td {
    text-align: right;
    font-variant-numeric: tabular-nums;
    font-weight: 700;
}
.sd-bf-funds td.is-pos { color: #047857; }
.sd-bf-funds td.is-neg { color: #b91c1c; }

/* Bottom Drawers: Economic Calendar & Source Health */
.sd-bf-bottom-drawers {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 16px;
}
.sd-bf-consensus,
.sd-bf-source-health {
    border: 1px solid var(--bf-line);
    border-radius: 10px;
    background: #f8fafc;
    padding: 0 14px;
    font-size: 13px;
    color: var(--bf-muted);
}
.sd-bf-consensus > summary,
.sd-bf-source-health > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 44px;
    padding: 10px 0;
    color: #1e293b;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}
.sd-bf-consensus > summary::-webkit-details-marker,
.sd-bf-source-health > summary::-webkit-details-marker {
    display: none;
}
.sd-bf-consensus > summary small,
.sd-bf-source-health > summary small {
    color: #2563eb;
    font-size: 12px;
    font-weight: 600;
}
.sd-bf-consensus[open],
.sd-bf-source-health[open] {
    padding-bottom: 14px;
    background: #fff;
}
.sd-bf-source-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 6px 12px;
    padding: 0;
    margin: 10px 0 0;
    list-style: none;
}
.sd-bf-source-grid li {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    padding: 6px 10px;
    border: 1px solid var(--bf-line-soft);
    border-radius: 7px;
    background: #f8fafc;
    font-size: 12px;
}
.sd-bf-source-grid li a {
    color: #1e293b;
    font-weight: 600;
    text-decoration: none;
}
.sd-bf-source-grid li a:hover {
    color: var(--bf-blue);
    text-decoration: underline;
}
.sd-bf-health-badge {
    margin-left: auto;
    padding: 1px 6px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
}
.sd-bf-health-badge.is-ok { background: #dcfce7; color: #15803d; }
.sd-bf-health-badge.is-empty { background: #e2e8f0; color: #475569; }
.sd-bf-health-badge.is-warn { background: #fef3c7; color: #b45309; }

.sd-bf-empty {
    padding: 16px 0;
    margin: 0;
    color: var(--bf-muted);
    font-size: 13.5px;
}
.sd-bf-announcement {
    margin: 0;
    color: var(--bf-muted);
    font-size: 13px;
}
.sd-bf-announcement:not(:empty) {
    margin: 8px 0;
}
.sd-bf-update {
    margin: 0 0 10px;
    min-height: 40px;
}
.sd-bf-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 1120px;
    box-sizing: border-box;
    padding: 4px 0 10px;
    margin: 0 auto;
    color: var(--ds-text-muted, #64748b);
    font-size: 12.5px;
}
.sd-bf-breadcrumb a {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    color: inherit;
    text-decoration: none;
}
.sd-bf-breadcrumb a:hover {
    color: var(--bf-blue);
}
.sd-bf :focus-visible,
.sd-bf-breadcrumb a:focus-visible {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
    border-radius: 4px;
}
.sd-rd--briefing .ds-page > .ds-wrap {
    max-width: 1140px !important;
    margin: auto;
}
.sd-rd--briefing .sd-bf {
    max-width: 1120px;
    margin: 0 auto 24px;
}

/* Compact Home Embed Mode */
.ds-content-frame .sd-bf {
    max-width: 100%;
    margin: 0;
    padding: 18px;
}
.ds-content-frame .sd-bf--home {
    padding: 16px;
}
.ds-content-frame .sd-bf-home-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
}
.ds-content-frame .sd-bf-home-news {
    display: grid;
    align-content: start;
    gap: 14px;
    min-width: 0;
}
.ds-content-frame .sd-bf-home-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--bf-line);
}
.ds-content-frame .sd-bf-home-head h3 {
    margin: 0;
    font-size: 15px;
    font-weight: 750;
}
.ds-content-frame .sd-bf-home-head a,
.ds-content-frame .sd-bf-home-head > span {
    flex-shrink: 0;
    color: var(--bf-muted);
    font-size: 12px;
    text-decoration: none;
}

/* Responsive Breakpoints */
@media (max-width: 960px) {
    .sd-bf-kpi-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .sd-bf-overview-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .sd-bf-support {
        grid-template-columns: minmax(0, 1fr);
    }
}
@media (max-width: 640px) {
    .ds-content-frame .sd-bf,
    .sd-bf.ds-card--pad {
        padding: 14px;
    }
    .sd-bf-hero-top {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    .sd-bf-date-picker > summary {
        width: 100%;
        justify-content: center;
        min-height: 40px;
    }
    .sd-bf-date-picker .sd-bf-date-form {
        left: 0;
        right: 0;
        width: 100%;
        max-width: 100%;
    }
    .sd-bf .sd-bf-heading h2 {
        font-size: 19px;
    }
    .sd-bf-kpi-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }
    .sd-bf-kpi-card {
        padding: 10px 11px;
    }
    .sd-bf-kpi-val strong {
        font-size: 19px;
    }
    .sd-bf-tabs {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 4px;
    }
    .sd-bf-tabs button:first-child {
        grid-column: 1 / -1;
    }
    .sd-bf-tabs button {
        min-height: 38px;
        padding: 6px 8px;
        font-size: 13px;
    }
    .sd-bf-box-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 12px 13px 10px;
    }
    .sd-bf-box-body {
        padding: 4px 13px;
    }
    .sd-bf-ticker-strip {
        padding: 8px 13px;
    }
    .sd-bf-item {
        gap: 9px;
        padding: 10px 0;
    }
    .sd-bf-time--news {
        flex: 0 0 auto;
        min-width: 48px;
        font-size: 11.5px;
        padding: 2px 6px;
    }
    .sd-bf-item-head h3 {
        font-size: 14.5px;
    }
    .sd-bf-filter-chip--right {
        margin-left: 0;
    }
}
@media (prefers-reduced-motion: reduce) {
    .sd-bf * {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}

/* Phase 4-2 Daily Briefing 30-Second Executive Summary */
.sd-bf-tldr {
    margin: 0 0 14px;
    padding: 14px 16px;
    border-radius: 12px;
    background: linear-gradient(135deg, #f8fbff 0%, #f1f6ff 100%);
    border: 1px solid #cbdcf5;
}
.sd-bf-tldr__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 12px;
    margin-bottom: 10px;
}
.sd-bf-tldr__kicker {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11.5px;
    font-weight: 800;
    color: #1964cf;
    margin-bottom: 2px;
}
.sd-bf-tldr__head h2 {
    margin: 0;
    font-size: 15.5px;
    font-weight: 800;
    color: #0f294a;
}
.sd-bf-session-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.sd-bf-session-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: 999px;
    border: 1px solid #c6d7f2;
    background: #ffffff;
    color: #1e3a5f;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}
.sd-bf-session-pill:hover {
    background: #1964cf;
    border-color: #1964cf;
    color: #ffffff;
}
.sd-bf-tldr__body {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(240px, 1fr);
    gap: 12px;
    align-items: start;
}
.sd-bf-tldr__bullets {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 7px;
}
.sd-bf-tldr__bullets li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13.5px;
    line-height: 1.45;
    color: #0f294a;
}
.sd-bf-tldr__tag {
    flex: 0 0 auto;
    padding: 2px 7px;
    border-radius: 6px;
    background: #dbeafe;
    color: #1d4ed8;
    font-size: 11px;
    font-weight: 750;
    margin-top: 2px;
}
.sd-bf-tldr__link {
    border: 0;
    background: transparent;
    padding: 0;
    text-align: left;
    color: #0f294a;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}
.sd-bf-tldr__link:hover {
    color: #1964cf;
    text-decoration: underline;
}
.sd-bf-tldr__side {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.sd-bf-tldr__countdown {
    padding: 9px 11px;
    border-radius: 9px;
    background: #ffffff;
    border: 1px solid #dce6f4;
}
.sd-bf-tldr__countdown span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11.5px;
    font-weight: 700;
    color: #1964cf;
}
.sd-bf-tldr__countdown strong {
    display: block;
    font-size: 13px;
    font-weight: 750;
    color: #0f294a;
    margin: 2px 0;
}
.sd-bf-tldr__countdown small {
    font-size: 12px;
    color: #64748b;
}
.sd-bf-tldr__tickers {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.sd-bf-quote-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 8px;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid #d5e1f2;
    font-size: 12px;
    text-decoration: none;
    color: #0f294a;
    font-variant-numeric: tabular-nums;
}
.sd-bf-quote-chip:hover { border-color: #1964cf; }
.sd-bf-quote-chip strong { font-weight: 750; }
.sd-bf-quote-chip em { font-style: normal; font-weight: 700; }
.sd-bf-quote-chip em.is-up { color: #dc2626; }
.sd-bf-quote-chip em.is-down { color: #1d4ed8; }
@media (max-width: 820px) {
    .sd-bf-tldr__body { grid-template-columns: minmax(0, 1fr); }
}

html.ds-theme body.sd-home-panels {
    --ds-panel-left: 236px;
    --ds-panel-right: 288px;
    --ds-panel-gap: 16px;
    --ds-panel-top: calc(var(--ds-header-h, 72px) + 16px);
    --ds-panel-bottom-nav: 64px;
}

html.ds-theme body.sd-home-panels .sd-main {
    width: min(1640px, calc(100% - 32px)) !important;
    max-width: 1640px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 16px 0 0 !important;
}

html.ds-theme body.sd-home-panels .ds-home {
    padding-bottom: 32px;
}

html.ds-theme body.sd-home-panels .ds-desktop-shell {
    display: grid;
    grid-template-columns: var(--ds-panel-left) minmax(0, 1fr) var(--ds-panel-right);
    align-items: start;
    gap: var(--ds-panel-gap);
    width: 100% !important;
    max-width: 1640px !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

.sd-home-panels .ds-desktop-center {
    container-name: ds-home-content;
    container-type: inline-size;
    display: grid;
    align-content: start;
    gap: 16px;
    min-width: 0;
}

.sd-home-panels .ds-desktop-center > * {
    min-width: 0;
    max-width: 100%;
}

.sd-home-panels .ds-desktop-left,
.sd-home-panels .ds-desktop-right {
    position: sticky;
    top: var(--ds-panel-top);
    min-width: 0;
    max-height: calc(100vh - var(--ds-header-h, 72px) - 32px);
    max-height: calc(100dvh - var(--ds-header-h, 72px) - 32px);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
    border: 1px solid var(--ds-border, #e5eaf1);
    border-radius: 12px;
    background: var(--ds-card, #fff);
    color: var(--ds-text, #0f172a);
    box-shadow: 0 2px 8px rgba(15, 23, 42, .025);
}

.sd-home-panels .ds-desktop-left {
    display: flex;
    flex-direction: column;
    padding: 0;
}
.sd-home-panels .ds-desktop-right { padding: 0; }

.sd-home-panels .ds-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 44px;
    padding: 12px 12px 8px 14px;
}

.sd-home-panels .ds-panel-head h2,
.sd-home-panels .ds-panel-head h3 {
    min-width: 0;
    margin: 0;
    color: var(--ds-text, #0f172a);
    font-size: 16px;
    font-weight: 800;
    letter-spacing: -.035em;
    line-height: 1.4;
}

.sd-home-panels .ds-panel-head-controls {
    display: flex;
    align-items: center;
    gap: 3px;
}

.sd-home-panels .ds-panel-toggle,
.sd-home-panels .ds-panel-close {
    display: inline-flex;
    flex: 0 0 36px;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--ds-text-muted, #64748b);
    font: inherit;
    font-size: 17px;
    cursor: pointer;
}

.sd-home-panels .ds-panel-toggle:hover,
.sd-home-panels .ds-panel-close:hover {
    background: var(--ds-blue-soft, #eff4ff);
    color: var(--ds-navy, #0b3d91);
}

.sd-home-panels .ds-panel-close { display: none; }

/* PC Left Sidebar — Proposal 1 (Live-harmonized vertical rhythm) */
.sd-home-panels .ds-panel-left-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    height: 56px;
    min-height: 56px;
    padding: 12px 12px 8px 16px;
    box-sizing: border-box;
    flex-shrink: 0;
}

.sd-home-panels .ds-panel-left-head .ds-panel-toggle {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    color: var(--ds-text-muted, #64748b);
    font-size: 17px;
}

.sd-home-panels .ds-panel-left-head .ds-panel-toggle:hover {
    background: var(--ds-blue-soft, #eff4ff);
    color: var(--ds-navy, #0b3d91);
}

html.ds-theme .sd-home-panels .ds-left-mkt-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
    height: 32px;
    padding: 0 11px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #f8fafc;
    color: #1e293b;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
}

html.ds-theme .sd-home-panels .ds-left-mkt-pill:hover,
html.ds-theme .sd-home-panels .ds-left-mkt-pill.is-active {
    background: var(--ds-blue-soft, #eff4ff);
    border-color: #bfdbfe;
    color: var(--ds-navy, #0b3d91);
}

.sd-home-panels .ds-left-mkt-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #16a34a;
    flex-shrink: 0;
}

.sd-home-panels .ds-left-mkt-pill.is-live .ds-left-mkt-dot {
    background: #16a34a;
    box-shadow: 0 0 0 2px rgba(22, 163, 74, .16);
}

.sd-home-panels .ds-left-mkt-pill.is-pre .ds-left-mkt-dot {
    background: #2563eb;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, .16);
}

.sd-home-panels .ds-left-mkt-pill.is-after .ds-left-mkt-dot {
    background: #0284c7;
}

.sd-home-panels .ds-left-mkt-pill.is-weekend .ds-left-mkt-dot {
    background: #64748b;
}

.sd-home-panels .ds-left-mkt-text {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sd-home-panels .ds-left-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 8px 10px 14px;
    flex: 1 1 auto;
}

.sd-home-panels .ds-left-group {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 4px;
    border-radius: 12px;
    background: #f8fafd;
    border: 1px solid #e6edf7;
    transition: border-color 0.18s ease, background-color 0.18s ease;
}

.sd-home-panels .ds-left-group:hover {
    border-color: #d6e2f2;
}

.sd-home-panels .ds-left-group-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
    padding: 2px 3px 5px;
    border-bottom: 1px solid #e6edf6;
    transition: border-color 0.2s ease, padding-bottom 0.2s ease;
}

.sd-home-panels .ds-left-group.is-collapsed .ds-left-group-head {
    padding-bottom: 2px;
    border-bottom-color: transparent;
}

html.ds-theme .sd-home-panels .ds-left-group-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    flex: 1 1 auto;
    min-width: 0;
    min-height: 28px;
    padding: 4px 6px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: inherit;
    font-family: inherit;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.14s ease;
}

html.ds-theme .sd-home-panels .ds-left-group-toggle:hover {
    background: rgba(255, 255, 255, 0.85);
}

html.ds-theme .sd-home-panels .ds-left-group-toggle:hover .ds-panel-section-label,
html.ds-theme .sd-home-panels .ds-left-group-toggle:hover .ds-left-group-chev,
html.ds-theme .sd-home-panels .ds-left-group-chev-btn:hover .ds-left-group-chev {
    color: #1d4ed8;
}

html.ds-theme .sd-home-panels .ds-left-group-chev-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: transparent;
    cursor: pointer;
    flex-shrink: 0;
    transition: background-color 0.14s ease;
}

html.ds-theme .sd-home-panels .ds-left-group-chev-btn:hover {
    background: rgba(255, 255, 255, 0.85);
}

.sd-home-panels .ds-left-group-chev {
    font-size: 11px;
    color: #94a3b8;
    line-height: 1;
    flex-shrink: 0;
    transition: transform 250ms cubic-bezier(0.22, 1, 0.36, 1), color 150ms ease;
}

.sd-home-panels .ds-left-group.is-collapsed .ds-left-group-chev {
    transform: rotate(-90deg);
}

.sd-home-panels .ds-panel-section-label {
    margin: 0;
    color: #475569;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: -.015em;
    line-height: 1.35;
    white-space: nowrap;
    transition: color 0.14s ease;
}

html.ds-theme .sd-home-panels .ds-left-group-more {
    color: #1d4ed8;
    font-size: 11.5px;
    font-weight: 750;
    line-height: 1.35;
    text-decoration: none;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
    padding: 2px 5px;
    border-radius: 6px;
    flex-shrink: 0;
}

html.ds-theme .sd-home-panels .ds-left-group-more:hover {
    background: #eff6ff;
    text-decoration: none;
}

html.ds-theme .sd-home-panels .ds-left-group-more.is-active {
    color: var(--ds-navy, #0b3d91);
    font-weight: 850;
}

.sd-home-panels .ds-left-group-panel {
    display: grid;
    grid-template-rows: 1fr;
    opacity: 1;
    padding-top: 5px;
}

.sd-home-panels .ds-desktop-left.is-acc-ready .ds-left-group-panel {
    transition: grid-template-rows 270ms cubic-bezier(0.22, 1, 0.36, 1), opacity 210ms ease, padding-top 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

.sd-home-panels .ds-left-group.is-collapsed .ds-left-group-panel {
    grid-template-rows: 0fr;
    opacity: 0;
    padding-top: 0;
    pointer-events: none;
}

.sd-home-panels .ds-panel-nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-height: 0;
    overflow: hidden;
    margin-left: 5px;
    padding-left: 5px;
    border-left: 2px solid #dbe5f4;
    transition: border-color 0.18s ease;
}

.sd-home-panels .ds-left-group:hover .ds-panel-nav {
    border-left-color: #bfd4f4;
}

html.ds-theme .sd-home-panels .ds-panel-nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 37px;
    min-height: 37px;
    min-width: 0;
    padding: 0 8px;
    border-radius: 9px;
    color: var(--ds-text-sub, #475569);
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 650;
    letter-spacing: -.02em;
    line-height: 1.35;
    box-sizing: border-box;
    border: 1px solid transparent;
    transition: background-color 0.14s ease, color 0.14s ease, border-color 0.14s ease, box-shadow 0.14s ease;
}

.sd-home-panels .ds-panel-nav-icon {
    display: inline-flex;
    flex: 0 0 18px;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    color: #64748b;
    font-size: 16.5px;
    line-height: 1;
}

.sd-home-panels .ds-panel-nav-label {
    flex: 1 1 auto;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sd-home-panels .ds-panel-nav-short { display: none; }

html.ds-theme .sd-home-panels button.ds-panel-nav-trigger {
    width: 100%;
    border: 0;
    background: transparent;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
}

.sd-home-panels .ds-panel-nav-chev {
    margin-left: auto;
    font-size: 11.5px;
    color: #94a3b8;
    flex-shrink: 0;
    transition: transform 0.16s ease, color 0.16s ease;
}

.sd-home-panels .ds-desktop-shell.is-left-collapsed .ds-panel-nav-chev {
    display: none;
}

html.ds-theme .sd-home-panels .ds-panel-nav-trigger:hover .ds-panel-nav-chev,
html.ds-theme .sd-home-panels .ds-panel-nav-trigger.is-pop-open .ds-panel-nav-chev {
    color: #1d4ed8;
    transform: translateX(2px);
}

html.ds-theme .sd-home-panels .ds-panel-nav-trigger.is-pop-open {
    background: var(--ds-blue-soft, #eff4ff);
    color: var(--ds-navy, #0b3d91);
}

.ds-left-pop {
    position: fixed;
    z-index: 1250;
    width: 244px;
    padding: 10px;
    border-radius: 15px;
    background: #ffffff;
    border: 1px solid #d7e3f4;
    box-shadow: 0 16px 38px rgba(15, 23, 42, 0.15), 0 2px 6px rgba(15, 23, 42, 0.05);
    animation: dsLeftPopIn 0.14s ease-out;
}

.ds-left-pop[hidden] {
    display: none !important;
}

@keyframes dsLeftPopIn {
    from { opacity: 0; transform: translateX(-6px); }
    to { opacity: 1; transform: translateX(0); }
}

.ds-left-pop__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 2px 6px 8px;
    margin-bottom: 6px;
    border-bottom: 1px solid #eef2f8;
    font-size: 12px;
    font-weight: 850;
    color: #475569;
    letter-spacing: -0.015em;
}

.ds-left-pop__close {
    width: 24px;
    height: 24px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: #64748b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    cursor: pointer;
}

.ds-left-pop__close:hover {
    background: #f1f5f9;
    color: #0f172a;
}

.ds-left-pop__list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ds-left-pop__item {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr) 14px;
    align-items: center;
    gap: 9px;
    padding: 8px 9px;
    border-radius: 11px;
    text-decoration: none;
    color: #0f172a;
    border: 1px solid transparent;
    transition: background-color 0.14s ease, border-color 0.14s ease;
}

.ds-left-pop__item:hover,
.ds-left-pop__item:focus-visible {
    background: #f4f8ff;
    border-color: #dbeafe;
    outline: none;
}

.ds-left-pop__item.is-active {
    background: #eff6ff;
    border-color: #bfdbfe;
}

.ds-left-pop__ico {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
}

.ds-left-pop__ico--all { background: #e2e8f0; color: #334155; }
.ds-left-pop__ico--kr { background: #dbeafe; color: #1d4ed8; }
.ds-left-pop__ico--us { background: #ede9fe; color: #6d28d9; }

.ds-left-pop__text {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}

.ds-left-pop__text strong {
    font-size: 13px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.25;
}

.ds-left-pop__item.is-active .ds-left-pop__text strong {
    color: #1d4ed8;
}

.ds-left-pop__text small {
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ds-left-pop__arr {
    font-size: 11px;
    color: #94a3b8;
}

.ds-left-pop__item:hover .ds-left-pop__arr,
.ds-left-pop__item.is-active .ds-left-pop__arr {
    color: #1d4ed8;
}

html.ds-theme .sd-home-panels .ds-panel-nav-link:hover {
    background: #ffffff;
    color: var(--ds-navy, #0b3d91);
    border-color: #e2eaf5;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

html.ds-theme .sd-home-panels .ds-panel-nav-link.is-active,
html.ds-theme .sd-home-panels .ds-panel-nav-link[aria-current="page"] {
    background: #eaf2ff;
    border-color: #c8defc;
    color: var(--ds-navy, #0b3d91);
    font-weight: 800;
    box-shadow: 0 1px 3px rgba(29, 78, 216, 0.08);
}

html.ds-theme .sd-home-panels .ds-panel-nav-link:hover .ds-panel-nav-icon,
html.ds-theme .sd-home-panels .ds-panel-nav-link.is-active .ds-panel-nav-icon,
html.ds-theme .sd-home-panels .ds-panel-nav-link[aria-current="page"] .ds-panel-nav-icon {
    color: var(--ds-navy, #0b3d91);
}

.sd-home-panels .ds-left-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 20px;
    padding: 0 6px;
    border-radius: 5px;
    background: #f1f5f9;
    color: #475569;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    flex-shrink: 0;
    white-space: nowrap;
}

.sd-home-panels .ds-left-badge--live {
    background: #dcfce7;
    color: #166534;
}

.sd-home-panels .ds-left-badge--ai {
    background: #e0e7ff;
    color: #1e40af;
}

.sd-home-panels .ds-left-chips {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) minmax(0, 1fr);
    gap: 5px;
    margin: 2px 0 4px;
    padding: 0 4px 0 32px;
}

html.ds-theme .sd-home-panels .ds-left-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 28px;
    min-width: 0;
    padding: 0 4px;
    border: 1px solid #e2e8f0;
    border-radius: 7px;
    background: #f8fafc;
    color: #475569;
    font-size: 12px;
    font-weight: 650;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
}

html.ds-theme .sd-home-panels .ds-left-chip:hover,
html.ds-theme .sd-home-panels .ds-left-chip.is-active,
html.ds-theme .sd-home-panels .ds-left-chip[aria-current="page"] {
    background: var(--ds-blue-soft, #eff4ff);
    border-color: #93c5fd;
    color: #1d4ed8;
    font-weight: 750;
}

.sd-home-panels .ds-left-foot {
    margin-top: auto;
    padding: 12px;
    border-top: 1px solid var(--ds-border, #e5eaf1);
    background: #fff;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    flex-shrink: 0;
}

html.ds-theme .sd-home-panels .ds-left-foot-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 36px;
    min-width: 0;
    padding: 0 6px;
    border: 1px solid var(--ds-border, #e2e8f0);
    border-radius: 8px;
    background: #fff;
    color: #334155;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
}

html.ds-theme .sd-home-panels .ds-left-foot-btn i {
    color: #64748b;
    font-size: 14.5px;
    line-height: 1;
    flex-shrink: 0;
}

html.ds-theme .sd-home-panels .ds-left-foot-btn:hover {
    border-color: #cbd5e1;
    background: var(--ds-blue-soft, #eff4ff);
    color: var(--ds-navy, #0b3d91);
}

html.ds-theme .sd-home-panels .ds-left-foot-btn:hover i,
html.ds-theme .sd-home-panels .ds-left-foot-btn.is-active i,
html.ds-theme .sd-home-panels .ds-left-foot-btn[aria-current="page"] i {
    color: #1d4ed8;
}

html.ds-theme .sd-home-panels .ds-left-foot-btn.is-active,
html.ds-theme .sd-home-panels .ds-left-foot-btn[aria-current="page"] {
    background: var(--ds-blue-soft, #eff4ff);
    border-color: #93c5fd;
    color: var(--ds-navy, #0b3d91);
}

/* Medium-height desktop windows (e.g., 1080p with bookmarks bar: 840px–919px) */
@media (min-width: 1366px) and (min-height: 840px) and (max-height: 919px) {
    .sd-home-panels .ds-desktop-shell:not(.is-left-collapsed) .ds-panel-left-head { height: 50px; min-height: 50px; padding: 10px 12px 6px 16px; }
    .sd-home-panels .ds-desktop-shell:not(.is-left-collapsed) .ds-left-body { gap: 12px; padding: 6px 12px 10px; }
    .sd-home-panels .ds-desktop-shell:not(.is-left-collapsed) .ds-left-group { gap: 5px; }
    .sd-home-panels .ds-desktop-shell:not(.is-left-collapsed) .ds-left-group + .ds-left-group { padding-top: 12px; }
    html.ds-theme .sd-home-panels .ds-desktop-shell:not(.is-left-collapsed) .ds-panel-nav-link { height: 37px; min-height: 37px; font-size: 13.5px; }
    html.ds-theme .sd-home-panels .ds-desktop-shell:not(.is-left-collapsed) .ds-left-chip { height: 26px; }
    .sd-home-panels .ds-desktop-shell:not(.is-left-collapsed) .ds-left-foot { padding: 10px 12px; }
    html.ds-theme .sd-home-panels .ds-desktop-shell:not(.is-left-collapsed) .ds-left-foot-btn { height: 34px; font-size: 12.5px; }
}

/* Compact vertical rhythm on shorter laptop screens (e.g., 1536x864 @ 125% scale: <=839px) */
@media (min-width: 1366px) and (max-height: 839px) {
    .sd-home-panels .ds-desktop-shell:not(.is-left-collapsed) .ds-panel-left-head { height: 44px; min-height: 44px; padding: 8px 10px 6px 12px; }
    html.ds-theme .sd-home-panels .ds-desktop-shell:not(.is-left-collapsed) .ds-left-mkt-pill { height: 27px; padding: 0 9px; font-size: 11.5px; }
    .sd-home-panels .ds-desktop-shell:not(.is-left-collapsed) .ds-panel-left-head .ds-panel-toggle { flex: 0 0 30px; width: 30px; height: 30px; font-size: 15.5px; }
    .sd-home-panels .ds-desktop-shell:not(.is-left-collapsed) .ds-left-body { gap: 8px; padding: 2px 10px 8px; }
    .sd-home-panels .ds-desktop-shell:not(.is-left-collapsed) .ds-left-group { gap: 4px; }
    .sd-home-panels .ds-desktop-shell:not(.is-left-collapsed) .ds-left-group + .ds-left-group { padding-top: 8px; }
    .sd-home-panels .ds-desktop-shell:not(.is-left-collapsed) .ds-panel-nav { gap: 2px; }
    html.ds-theme .sd-home-panels .ds-desktop-shell:not(.is-left-collapsed) .ds-panel-nav-link { height: 32px; min-height: 32px; font-size: 13px; }
    .sd-home-panels .ds-desktop-shell:not(.is-left-collapsed) .ds-panel-nav-icon { font-size: 15.5px; }
    .sd-home-panels .ds-desktop-shell:not(.is-left-collapsed) .ds-left-chips { margin: 1px 0 2px; }
    html.ds-theme .sd-home-panels .ds-desktop-shell:not(.is-left-collapsed) .ds-left-chip { height: 24px; font-size: 11.5px; }
    .sd-home-panels .ds-desktop-shell:not(.is-left-collapsed) .ds-left-foot { padding: 8px 10px; gap: 6px; }
    html.ds-theme .sd-home-panels .ds-desktop-shell:not(.is-left-collapsed) .ds-left-foot-btn { height: 30px; font-size: 12px; }
}

/* Prevent oversized blank gap on tall fullscreen / QHD / 4K monitors */
@media (min-width: 1366px) and (min-height: 1000px) {
    .sd-home-panels .ds-desktop-shell:not(.is-left-collapsed) .ds-left-body { flex: 0 0 auto; }
    .sd-home-panels .ds-desktop-shell:not(.is-left-collapsed) .ds-left-foot { margin-top: 6px; }
}

.sd-home-panels .ds-panel-tabs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 3px;
    padding: 3px;
    margin: 0 12px 8px;
    border-radius: 9px;
    background: var(--ds-bg, #f8fafc);
}

.sd-home-panels .ds-panel-tabs button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 40px;
    min-width: 0;
    padding: 6px 2px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: var(--ds-text-sub, #475569);
    font: inherit;
    font-size: 13px;
    font-weight: 650;
    line-height: 1.35;
    cursor: pointer;
}

.sd-home-panels .ds-panel-tabs button[aria-selected="true"],
.sd-home-panels .ds-panel-tabs button.is-active {
    background: var(--ds-card, #fff);
    color: var(--ds-navy, #0b3d91);
    font-weight: 800;
    box-shadow: 0 1px 4px rgba(15, 23, 42, .09);
}

.sd-home-panels .ds-panel-tab-icon { display: none; }
.sd-home-panels .ds-panel-pane { min-width: 0; padding: 0 14px 14px; }
.sd-home-panels .ds-panel-pane-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 5px 10px;
    padding: 10px 0 3px;
}

.sd-home-panels .ds-panel-pane-heading h3 {
    margin: 0;
    color: var(--ds-text, #0f172a);
    font-size: 14px;
    font-weight: 800;
    line-height: 1.5;
}

.sd-home-panels .ds-panel-pane-heading > span,
.sd-home-panels .ds-panel-pane-heading > a {
    color: var(--ds-text-muted, #64748b);
    text-decoration: none;
    font-size: 12px;
    line-height: 1.5;
}

.sd-home-panels .ds-panel-pane-heading > a { color: var(--ds-navy, #0b3d91); }
.sd-home-panels .ds-panel-pane[hidden],
.sd-home-panels .ds-panel-backdrop[hidden],
.sd-home-panels .ds-panel-toast[hidden],
.sd-home-panels [data-desktop-shell] [hidden] { display: none !important; }

.sd-home-panels .ds-panel-list {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sd-home-panels .ds-panel-list > li {
    min-width: 0;
    padding: 12px 0;
    border-bottom: 1px solid var(--ds-border, #e5eaf1);
}

.sd-home-panels .ds-panel-list > li:last-child { border-bottom: 0; }

html.ds-theme .sd-home-panels .ds-panel-item-title {
    display: block;
    margin: 0;
    color: var(--ds-text, #0f172a);
    text-decoration: none;
    font-size: 14px;
    font-weight: 650;
    letter-spacing: -.025em;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

html.ds-theme .sd-home-panels .ds-panel-item-title:hover { color: var(--ds-navy, #0b3d91); }

.sd-home-panels .ds-panel-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px 8px;
    margin: 6px 0 0;
    color: var(--ds-text-muted, #64748b);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.sd-home-panels .ds-panel-meta time,
.sd-home-panels .ds-panel-meta > span:last-child { font-variant-numeric: tabular-nums; }
.sd-home-panels .ds-panel-meta .ds-panel-save { margin-left: auto; }

.sd-home-panels .ds-panel-schedule-item {
    display: grid;
    grid-template-columns: 47px minmax(0, 1fr);
    align-items: start;
    gap: 10px;
}

.sd-home-panels .ds-panel-schedule-item > time {
    padding-top: 1px;
    color: var(--ds-navy, #0b3d91);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.5;
    font-variant-numeric: tabular-nums;
}

.sd-home-panels .ds-panel-schedule-body { min-width: 0; }
.sd-home-panels .ds-panel-schedule-body h3 {
    margin: 0;
    font-size: 14px;
    font-weight: 650;
    letter-spacing: -.025em;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.sd-home-panels .ds-panel-schedule-body h3 a { text-decoration: none; }
.sd-home-panels .ds-panel-schedule-body h3 a:hover { color: var(--ds-navy, #0b3d91); }

html.ds-theme .sd-home-panels .ds-panel-stock-link {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-width: 0;
    color: var(--ds-text, #0f172a);
    text-decoration: none;
    font-size: 14px;
    line-height: 1.45;
}

.sd-home-panels .ds-panel-stock-name,
.sd-home-panels .ds-panel-stock-link > span:first-child {
    display: grid;
    gap: 2px;
    min-width: 0;
    font-weight: 650;
    overflow-wrap: anywhere;
}

.sd-home-panels .ds-panel-stock-code,
.sd-home-panels .ds-panel-stock-link small {
    color: var(--ds-text-muted, #64748b);
    font-size: 12px;
    font-weight: 400;
}

.sd-home-panels .ds-panel-stock-item {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
}

.sd-home-panels .ds-panel-stock-quote {
    display: grid;
    flex: 0 0 auto;
    justify-items: end;
    gap: 2px;
    font-size: 13px;
    line-height: 1.45;
    font-variant-numeric: tabular-nums;
}

.sd-home-panels .ds-panel-stock-quote small { font-size: 12px; }
.sd-home-panels .ds-panel-stock-quote .is-up { color: #cf3045; }
.sd-home-panels .ds-panel-stock-quote .is-down { color: #2563eb; }

.sd-home-panels .ds-panel-empty,
.sd-home-panels .ds-panel-login {
    padding: 20px 6px;
    color: var(--ds-text-sub, #475569);
    font-size: 14px;
    line-height: 1.6;
    text-align: center;
    overflow-wrap: anywhere;
}

.sd-home-panels .ds-panel-empty p,
.sd-home-panels .ds-panel-login p { margin: 0 0 12px; }
.sd-home-panels .ds-panel-empty p:last-child,
.sd-home-panels .ds-panel-login p:last-child { margin-bottom: 0; }

html.ds-theme .sd-home-panels .ds-panel-login a,
html.ds-theme .sd-home-panels .ds-panel-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 40px;
    padding: 9px 14px;
    border: 1px solid var(--ds-navy, #0b3d91);
    border-radius: 8px;
    background: var(--ds-navy, #0b3d91);
    color: #fff;
    text-decoration: none;
    font: inherit;
    font-size: 13px;
    font-weight: 750;
    cursor: pointer;
}

.sd-home-panels .ds-panel-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 12px;
    border-top: 1px solid var(--ds-border, #e5eaf1);
    color: var(--ds-text-muted, #64748b);
    font-size: 12px;
    line-height: 1.5;
}

html.ds-theme .sd-home-panels .ds-panel-foot a {
    color: var(--ds-navy, #0b3d91);
    text-decoration: none;
    font-weight: 650;
}

.sd-home-panels .ds-panel-status {
    margin: 0;
    padding: 0 14px 12px;
    color: var(--ds-text-muted, #64748b);
    font-size: 12px;
    line-height: 1.5;
}

.sd-home-panels .ds-panel-pane > .ds-panel-status { padding: 0 0 8px; }
.sd-home-panels .ds-panel-status:empty,
.sd-home-panels .ds-panel-toast:empty { display: none; }

.sd-home-panels .ds-panel-new {
    display: block;
    width: calc(100% - 28px);
    min-height: 40px;
    margin: 0 14px 8px;
    padding: 8px;
    border: 1px solid #c6d8f5;
    border-radius: 8px;
    background: var(--ds-blue-soft, #eff4ff);
    color: var(--ds-navy, #0b3d91);
    font: inherit;
    font-size: 13px;
    font-weight: 750;
    cursor: pointer;
}

.sd-home-panels .ds-panel-pane > .ds-panel-new { width: 100%; margin: 0 0 8px; }

.sd-home-panels .ds-panel-save {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 32px;
    min-width: 32px;
    min-height: 32px;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--ds-text-muted, #64748b);
    font: inherit;
    cursor: pointer;
}

.sd-home-panels .ds-panel-save:hover,
.sd-home-panels .ds-panel-save[aria-pressed="true"] {
    background: var(--ds-blue-soft, #eff4ff);
    color: var(--ds-navy, #0b3d91);
}

.sd-home-panels .ds-panel-toast {
    position: fixed;
    left: 50%;
    bottom: 24px;
    z-index: 1090;
    max-width: min(440px, calc(100vw - 32px));
    padding: 12px 18px;
    border-radius: 10px;
    background: var(--ds-navy-deep, #082a66);
    color: #fff;
    font-size: 14px;
    line-height: 1.5;
    box-shadow: 0 4px 20px rgba(15, 23, 42, .18);
    transform: translateX(-50%);
}

.sd-home-panels .ds-panel-backdrop { display: none; }

.sd-home-panels .ds-home-intro {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px 16px;
    min-height: 72px;
    padding: 18px 20px;
    border: 1px solid var(--ds-border, #e5eaf1);
    border-radius: 12px;
    background: var(--ds-card, #fff);
}

.sd-home-panels .ds-home-intro h1 {
    margin: 0;
    color: var(--ds-text, #0f172a);
    font-size: 22px;
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: -.045em;
}

.sd-home-panels .ds-home-intro p {
    margin: 4px 0 0;
    color: var(--ds-text-muted, #64748b);
    font-size: 13px;
    line-height: 1.5;
}

html.ds-theme .sd-home-panels .ds-home-intro > a {
    color: var(--ds-navy, #0b3d91);
    text-decoration: none;
    font-size: 13px;
    font-weight: 650;
    line-height: 1.5;
}

.sd-home-panels .ds-mobile-shortcuts,
.sd-home-panels .ds-mobile-bottom-nav { display: none; }

html.ds-theme body.sd-home-panels .ds-home .ds-kpi-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
    padding: 0;
}

html.ds-theme body.sd-home-panels .ds-home .ds-kpi {
    min-width: 0;
    min-height: 96px;
    padding: 12px 14px;
    box-shadow: none;
}

.sd-home-panels .ds-home .ds-kpi .sd-market-asof {
    grid-column: 1 / -1;
    margin-top: 4px;
    font-size: 11px;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

html.ds-theme body.sd-home-panels .ds-home .ds-market-stage {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
}

html.ds-theme body.sd-home-panels .ds-home .ds-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

html.ds-theme body.sd-home-panels .ds-home .ds-board > :first-child { grid-column: 1 / -1; }
html.ds-theme body.sd-home-panels .ds-home .ds-market-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
html.ds-theme body.sd-home-panels .ds-home .ds-split { grid-template-columns: minmax(0, 1fr); gap: 16px; }
html.ds-theme body.sd-home-panels .ds-home .ds-ai-band { grid-template-columns: minmax(0, 1fr); }
html.ds-theme body.sd-home-panels .ds-home .ds-market-chart { height: 220px; min-height: 220px; }
html.ds-theme body.sd-home-panels .ds-home .ds-cat-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.sd-home-panels :where(.ds-panel-toggle, .ds-panel-close, .ds-panel-nav-link, .ds-left-mkt-pill,
    .ds-left-group-toggle, .ds-left-group-chev-btn,
    .ds-left-group-more, .ds-left-chip, .ds-left-foot-btn, .ds-panel-tabs button,
    .ds-panel-item-title, .ds-panel-stock-link, .ds-panel-action, .ds-panel-save,
    .ds-panel-new, .ds-panel-foot a, .ds-panel-login a, .ds-mobile-shortcuts > *,
    .ds-mobile-bottom-nav > *):focus-visible {
    outline: 2px solid var(--ds-blue, #2563eb);
    outline-offset: 2px;
}

@container ds-home-content (min-width: 800px) {
    html.ds-theme body.sd-home-panels .ds-home .ds-kpi-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@container ds-home-content (min-width: 800px) and (max-width: 1099px) {
    html.ds-theme body.sd-home-panels .ds-home .ds-kpi { grid-template-columns: minmax(0, 1fr) 64px; }
    html.ds-theme body.sd-home-panels .ds-home .ds-kpi .ds-spark,
    html.ds-theme body.sd-home-panels .ds-home .ds-kpi .ds-gauge { width: 60px; }
}

@container ds-home-content (min-width: 760px) {
    html.ds-theme body.sd-home-panels .ds-home .ds-split { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
}

@container ds-home-content (min-width: 1100px) {
    html.ds-theme body.sd-home-panels .ds-home .ds-board { grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, .8fr)); }
    html.ds-theme body.sd-home-panels .ds-home .ds-board > :first-child { grid-column: auto; }
}

@container ds-home-content (max-width: 949px) {
    .sd-home-panels .sd-stock-layout { grid-template-columns: minmax(0, 1fr); }
    .sd-home-panels .sd-stock-secondary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
    .sd-home-panels .sd-stock-secondary .sd-stock-card { margin: 0; }
    .sd-home-panels .sd-stock-help { grid-column: 1 / -1; }
}

@container ds-home-content (max-width: 759px) {
    .sd-home-panels .sd-personal-home__grid { grid-template-columns: minmax(0, 1fr); gap: 8px; }
}

@container ds-home-content (max-width: 599px) {
    .sd-home-panels .sd-stock-hero { flex-direction: column; align-items: start; padding: 18px; gap: 16px; }
    .sd-home-panels .sd-stock-quote { align-items: start; }
    .sd-home-panels .sd-stock-secondary { display: block; }
    .sd-home-panels .sd-stock-secondary .sd-stock-card { margin-bottom: 16px; }
    .sd-home-panels .sd-stock-section-head { flex-wrap: wrap; }
    .sd-home-panels .sd-stock-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@container ds-home-content (max-width: 479px) {
    html.ds-theme body.sd-home-panels .ds-home .ds-kpi { grid-template-columns: minmax(0, 1fr); min-height: 92px; padding: 11px 12px; }
    html.ds-theme body.sd-home-panels .ds-home .ds-kpi .ds-spark,
    html.ds-theme body.sd-home-panels .ds-home .ds-kpi .ds-gauge { display: none; }
    html.ds-theme body.sd-home-panels .ds-home .ds-board,
    html.ds-theme body.sd-home-panels .ds-home .ds-market-rail,
    html.ds-theme body.sd-home-panels .ds-home .ds-cat-cards { grid-template-columns: minmax(0, 1fr); }
    html.ds-theme body.sd-home-panels .ds-home .ds-ai-points { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    html.ds-theme body.sd-home-panels .ds-home .ds-market-chart { height: 190px; min-height: 190px; }
}

@media (min-width: 1100px) {
    
    html.ds-theme body.sd-home-panels .sd-main { width: 100% !important; max-width: none !important; margin-left: 0 !important; margin-right: 0 !important; }
    html.ds-theme body.sd-home-panels .ds-desktop-shell { max-width: none !important; }
    .sd-home-panels .ds-desktop-center { grid-column: 2; }
    .sd-home-panels .ds-desktop-left,
    .sd-home-panels .ds-desktop-right { position: fixed; top: var(--ds-header-h, 72px); bottom: 0; height: auto; max-height: none; margin: 0; border-top: 0; border-bottom: 0; border-radius: 0; box-shadow: none; box-sizing: border-box; z-index: 20; }
    .sd-home-panels .ds-desktop-left { left: 0; width: var(--ds-panel-left); border-left: 0; }
    .sd-home-panels .ds-desktop-right { right: 0; width: var(--ds-panel-right); border-right: 0; }
    html.ds-theme body.sd-home-panels { --ds-footer-left: var(--ds-panel-left); --ds-footer-right: var(--ds-panel-right); }
    html.ds-theme body.sd-home-panels:has(.ds-desktop-shell.is-left-collapsed) { --ds-footer-left: 64px; }
    html.ds-theme body.sd-home-panels:has(.ds-desktop-shell.is-right-collapsed) { --ds-footer-right: 48px; }
    html.ds-theme body.sd-home-panels .sd-footer { width: auto !important; max-width: none !important; margin-left: var(--ds-footer-left) !important; margin-right: var(--ds-footer-right) !important; }
    html.ds-theme body.sd-home-panels .sd-footer__top { grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(0, 1fr)); gap: 24px; }
    html.ds-theme body.sd-home-panels .sd-footer__top > * { min-width: 0; overflow-wrap: anywhere; }
    html.ds-theme body.sd-home-panels .sd-floating-actions { right: calc(var(--ds-footer-right) + 16px) !important; }
    html.ds-theme .sd-home-panels .ds-nav,
    html.ds-theme .sd-home-panels .ds-header.is-nav-open .ds-nav { display: none !important; }
    html.ds-theme .sd-home-panels .ds-header .ds-menu-toggle { display: none; }
    html.ds-theme .sd-home-panels .ds-header .ds-header__bar { grid-template-columns: auto minmax(240px, 1fr) auto; gap: 24px; }
    html.ds-theme .sd-home-panels .ds-header .ds-search { max-width: 680px; justify-self: center; width: 100%; }
    html.ds-theme .sd-home-panels .ds-header .ds-wrap { max-width: none !important; }
    .sd-home-panels .ds-desktop-shell.is-left-collapsed { --ds-panel-left: 64px; }
    .sd-home-panels .ds-desktop-shell.is-right-collapsed { --ds-panel-right: 48px; }
    html.ds-theme body.sd-home-panels .is-left-collapsed .ds-desktop-left { padding: 0; }
    html.ds-theme body.sd-home-panels .is-left-collapsed .ds-panel-left-head { justify-content: center; height: 48px; min-height: 48px; padding: 6px 4px 2px; }
    html.ds-theme body.sd-home-panels .is-left-collapsed .ds-left-mkt-pill,
    html.ds-theme body.sd-home-panels .is-left-collapsed .ds-left-group-head,
    html.ds-theme body.sd-home-panels .is-left-collapsed .ds-panel-nav-label,
    html.ds-theme body.sd-home-panels .is-left-collapsed .ds-left-badge,
    html.ds-theme body.sd-home-panels .is-left-collapsed .ds-left-chips,
    html.ds-theme body.sd-home-panels .is-left-collapsed .ds-left-foot-label,
    html.ds-theme body.sd-home-panels .is-left-collapsed .ds-panel-nav-short { display: none !important; }
    html.ds-theme body.sd-home-panels .is-left-collapsed .ds-left-body { padding: 4px 8px 8px; gap: 7px; flex: 1 1 auto; }
    html.ds-theme body.sd-home-panels .is-left-collapsed .ds-left-group { gap: 2px; padding: 0; border: 0; border-radius: 0; background: transparent; }
    html.ds-theme body.sd-home-panels .is-left-collapsed .ds-left-group + .ds-left-group { padding-top: 7px; border-top: 1px solid var(--ds-border, #e5eaf1); }
    html.ds-theme body.sd-home-panels .is-left-collapsed .ds-left-group-panel,
    html.ds-theme body.sd-home-panels .is-left-collapsed .ds-left-group.is-collapsed .ds-left-group-panel { grid-template-rows: 1fr !important; opacity: 1 !important; padding-top: 0 !important; pointer-events: auto !important; }
    html.ds-theme body.sd-home-panels .is-left-collapsed .ds-panel-nav { gap: 2px; margin-left: 0; padding-left: 0; border-left: 0; }
    html.ds-theme body.sd-home-panels .is-left-collapsed .ds-panel-nav-link { justify-content: center; height: 36px; min-height: 36px; padding: 0; border-radius: 9px; }
    html.ds-theme body.sd-home-panels .is-left-collapsed .ds-panel-nav-icon { flex: 0 0 20px; width: 20px; height: 20px; font-size: 17px; }
    html.ds-theme body.sd-home-panels .is-left-collapsed .ds-left-foot { grid-template-columns: minmax(0, 1fr); gap: 5px; padding: 8px; margin-top: auto; }
    html.ds-theme body.sd-home-panels .is-left-collapsed .ds-left-foot-btn { height: 34px; padding: 0; }
    html.ds-theme body.sd-home-panels .is-left-collapsed .ds-left-foot-btn i { font-size: 16px; }
    .sd-home-panels .is-right-collapsed .ds-panel-head { justify-content: center; padding: 8px 4px; }
    .sd-home-panels .is-right-collapsed .ds-panel-head h2,
    .sd-home-panels .is-right-collapsed .ds-panel-head h3,
    .sd-home-panels .is-right-collapsed .ds-panel-pane,
    .sd-home-panels .is-right-collapsed .ds-panel-status,
    .sd-home-panels .is-right-collapsed .ds-panel-new { display: none; }
    .sd-home-panels .is-right-collapsed .ds-panel-tabs { grid-template-columns: minmax(0, 1fr); gap: 6px; margin: 0 4px 8px; padding: 0; background: transparent; }
    .sd-home-panels .is-right-collapsed .ds-panel-tabs button { flex-direction: column; gap: 4px; padding: 9px 0; min-height: 48px; }
    .sd-home-panels .is-right-collapsed .ds-panel-tab-icon { display: inline-block; font-size: 17px; }
    .sd-home-panels .is-right-collapsed .ds-panel-tab-label { font-size: 10px; }
}

@media (min-width: 1100px) and (max-width: 1365px) {
    html.ds-theme body.sd-home-panels { --ds-panel-left: 64px; --ds-panel-right: 280px; }
    html.ds-theme body.sd-home-panels .ds-desktop-left { padding: 0; }
    html.ds-theme body.sd-home-panels .ds-desktop-left .ds-panel-left-head,
    html.ds-theme body.sd-home-panels .ds-desktop-left .ds-left-mkt-pill,
    html.ds-theme body.sd-home-panels .ds-desktop-left .ds-left-group-head,
    html.ds-theme body.sd-home-panels .ds-desktop-left .ds-panel-nav-label,
    html.ds-theme body.sd-home-panels .ds-desktop-left .ds-left-badge,
    html.ds-theme body.sd-home-panels .ds-desktop-left .ds-left-chips,
    html.ds-theme body.sd-home-panels .ds-desktop-left .ds-left-foot-label,
    html.ds-theme body.sd-home-panels .ds-desktop-left .ds-panel-nav-short { display: none !important; }
    html.ds-theme body.sd-home-panels .ds-desktop-left .ds-left-body { padding: 10px 8px 8px; gap: 8px; }
    html.ds-theme body.sd-home-panels .ds-desktop-left .ds-left-group { gap: 2px; padding: 0; border: 0; border-radius: 0; background: transparent; }
    html.ds-theme body.sd-home-panels .ds-desktop-left .ds-left-group + .ds-left-group { padding-top: 8px; border-top: 1px solid var(--ds-border, #e5eaf1); }
    html.ds-theme body.sd-home-panels .ds-desktop-left .ds-left-group-panel,
    html.ds-theme body.sd-home-panels .ds-desktop-left .ds-left-group.is-collapsed .ds-left-group-panel { grid-template-rows: 1fr !important; opacity: 1 !important; padding-top: 0 !important; pointer-events: auto !important; }
    html.ds-theme body.sd-home-panels .ds-desktop-left .ds-panel-nav { gap: 3px; margin-left: 0; padding-left: 0; border-left: 0; }
    html.ds-theme body.sd-home-panels .ds-desktop-left .ds-panel-nav-link { justify-content: center; height: 38px; min-height: 38px; padding: 0; border-radius: 9px; }
    html.ds-theme body.sd-home-panels .ds-desktop-left .ds-panel-nav-icon { flex: 0 0 20px; width: 20px; height: 20px; font-size: 17px; }
    html.ds-theme body.sd-home-panels .ds-desktop-left .ds-left-foot { grid-template-columns: minmax(0, 1fr); gap: 5px; padding: 8px; }
    html.ds-theme body.sd-home-panels .ds-desktop-left .ds-left-foot-btn { height: 36px; padding: 0; }
    html.ds-theme body.sd-home-panels .ds-desktop-left .ds-left-foot-btn i { font-size: 16px; }
}

@media (max-width: 1099px) {
    html.ds-theme body.sd-home-panels .sd-main { width: calc(100% - 24px) !important; padding-top: 12px !important; }
    html.ds-theme body.sd-home-panels .ds-desktop-shell { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    html.ds-theme body.sd-home-panels .ds-desktop-left,
    .sd-home-panels .ds-desktop-left { display: none !important; }
    .sd-home-panels .ds-desktop-center { gap: 12px; }
    .sd-home-panels .ds-desktop-right { position: static; max-height: none; width: 100%; }
    .sd-home-panels .ds-panel-toggle { display: none; }
    .sd-home-panels .ds-mobile-shortcuts { display: flex; gap: 8px; flex-wrap: wrap; }
    .sd-home-panels .ds-mobile-shortcuts > * { display: inline-flex; flex: 1 1 0; align-items: center; justify-content: center; gap: 7px; min-height: 44px; padding: 9px 12px; border: 1px solid var(--ds-border, #e5eaf1); border-radius: 9px; background: var(--ds-card, #fff); color: var(--ds-text-sub, #475569); font: inherit; font-size: 13px; font-weight: 650; line-height: 1.4; text-decoration: none; cursor: pointer; }
    .sd-home-panels .ds-mobile-shortcuts > *:hover { color: var(--ds-navy, #0b3d91); background: var(--ds-blue-soft, #eff4ff); }
    .sd-home-panels .ds-mobile-shortcuts i { color: var(--ds-navy, #0b3d91); font-size: 16px; }
    .sd-home-panels .is-panels-ready .ds-desktop-right { display: none; opacity: 0; translate: 0 28px; position: fixed; top: calc(var(--ds-header-h, 72px) + 8px); right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 1050; width: min(380px, calc(100vw - 24px)); max-height: none; padding-bottom: 12px; box-shadow: 0 12px 48px rgba(15, 23, 42, .2); }
    .sd-home-panels .is-panels-ready .ds-desktop-right.is-open { display: block; opacity: 1; translate: none; }
    @supports (transition-behavior: allow-discrete) {
        .sd-home-panels .is-panels-ready .ds-desktop-right {
            transition: opacity var(--sd-motion-standard, 280ms) var(--sd-motion-ease, ease),
                translate var(--sd-motion-sheet, 420ms) var(--sd-motion-ease, ease),
                display var(--sd-motion-sheet, 420ms) allow-discrete;
        }
        @starting-style {
            .sd-home-panels .is-panels-ready .ds-desktop-right.is-open { opacity: 0; translate: 0 28px; }
        }
    }
    .sd-home-panels .is-panels-ready .ds-panel-close { display: inline-flex; }
    .sd-home-panels .ds-panel-backdrop { position: fixed; inset: 0; z-index: 1040; border: 0; background: rgba(15, 23, 42, .42); cursor: pointer; }
    .sd-home-panels .ds-panel-backdrop:not([hidden]) { display: block; }
    html.ds-theme body.sd-home-panels.is-panel-drawer-open { overflow: hidden; }
    html.ds-theme body.sd-home-panels.is-panel-drawer-open .sd-main { z-index: 1040; }
    html.ds-theme body.sd-home-panels { padding-bottom: calc(var(--ds-panel-bottom-nav) + env(safe-area-inset-bottom, 0px)); }
    .sd-home-panels .ds-mobile-bottom-nav { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); position: fixed; left: 0; right: 0; bottom: 0; z-index: 1035; min-height: var(--ds-panel-bottom-nav); padding: 5px max(8px, env(safe-area-inset-left, 0px)) calc(5px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--ds-border, #e5eaf1); background: rgba(255, 255, 255, .97); box-shadow: 0 -2px 12px rgba(15, 23, 42, .035); }
    .sd-home-panels .ds-mobile-bottom-nav > * { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 52px; min-width: 0; padding: 4px 2px; border: 0; border-radius: 8px; background: transparent; color: var(--ds-text-muted, #64748b); font: inherit; font-size: 11px; font-weight: 650; line-height: 1.3; text-decoration: none; cursor: pointer; }
    .sd-home-panels .ds-mobile-bottom-nav i { font-size: 20px; line-height: 1; }
    .sd-home-panels .ds-mobile-bottom-nav > .is-active,
    .sd-home-panels .ds-mobile-bottom-nav > [aria-current="page"],
    .sd-home-panels .ds-mobile-bottom-nav > [aria-expanded="true"] { background: var(--ds-blue-soft, #eff4ff); color: var(--ds-navy, #0b3d91); }
    .sd-home-panels .sd-floating-actions { bottom: calc(var(--ds-panel-bottom-nav) + env(safe-area-inset-bottom, 0px) + 12px) !important; right: 12px !important; }
    .sd-home-panels .ds-panel-toast,
    .sd-home-panels .sd-stock-toast,
    .sd-home-panels .sd-news__toast { bottom: calc(var(--ds-panel-bottom-nav) + env(safe-area-inset-bottom, 0px) + 14px); }
    .sd-home-panels input,
    .sd-home-panels select,
    .sd-home-panels textarea { font-size: 16px; }
    .sd-home-panels .ds-panel-item-title,
    .sd-home-panels .ds-panel-schedule-body h3,
    .sd-home-panels .ds-panel-stock-link { font-size: 15px; }
}

@media (max-width: 479px) {
    html.ds-theme body.sd-home-panels .sd-main { width: calc(100% - 20px) !important; }
    .sd-home-panels .ds-home-intro { min-height: 0; padding: 15px 16px; }
    .sd-home-panels .ds-home-intro h1 { font-size: 21px; }
    .sd-home-panels .ds-home-intro p { font-size: 12px; }
    .sd-home-panels .ds-mobile-shortcuts { gap: 6px; }
    .sd-home-panels .ds-mobile-shortcuts > * { padding: 9px 6px; gap: 5px; font-size: 12px; }
    .sd-home-panels .ds-desktop-right.is-open .ds-panel-head { padding-top: 10px; }
    .sd-home-panels .ds-panel-close { width: 40px; height: 40px; }
}

@media (prefers-reduced-motion: reduce) {
    .sd-home-panels [data-desktop-shell] *,
    .sd-home-panels .ds-mobile-bottom-nav * { scroll-behavior: auto !important; transition-duration: 0s !important; animation-duration: 0s !important; animation-iteration-count: 1 !important; }
}


@media (min-width: 1100px) {
    html.ds-theme body.sd-home-panels { --ds-panel-motion: var(--sd-motion-standard, 280ms) var(--sd-motion-ease, cubic-bezier(.22, 1, .36, 1)); }
    html.ds-theme body.sd-home-panels .ds-desktop-shell.is-panel-motion-ready { transition: grid-template-columns var(--ds-panel-motion); }
    html.ds-theme body.sd-home-panels .is-panel-motion-ready .ds-desktop-left,
    html.ds-theme body.sd-home-panels .is-panel-motion-ready .ds-desktop-right { transition: width var(--ds-panel-motion), padding var(--ds-panel-motion); }
    html.ds-theme body.sd-home-panels:has(.ds-desktop-shell.is-panel-motion-ready) .sd-footer { transition: margin-left var(--ds-panel-motion), margin-right var(--ds-panel-motion); }
    html.ds-theme body.sd-home-panels:has(.ds-desktop-shell.is-panel-motion-ready) .sd-floating-actions { transition: right var(--ds-panel-motion); }

    
    html.ds-theme body.sd-home-panels .ds-desktop-right .ds-panel-head { position: relative; height: 56px; min-height: 56px; box-sizing: border-box; }
    html.ds-theme body.sd-home-panels .ds-desktop-right .ds-panel-head-controls { position: absolute; right: 12px; top: 10px; }
    html.ds-theme body.sd-home-panels .is-right-collapsed .ds-desktop-right .ds-panel-head-controls { right: 5px; }
    html.ds-theme body.sd-home-panels .ds-desktop-right .ds-panel-head h2 { display: block; opacity: 1; visibility: visible; white-space: nowrap; }
    html.ds-theme body.sd-home-panels .is-right-collapsed .ds-desktop-right .ds-panel-head h2 { opacity: 0; visibility: hidden; }
    html.ds-theme body.sd-home-panels .is-panel-motion-ready .ds-panel-head-controls { transition: right var(--ds-panel-motion); }
    html.ds-theme body.sd-home-panels .is-panel-motion-ready .ds-panel-head h2 { transition: opacity var(--ds-panel-motion), visibility var(--ds-panel-motion); }

    
    html.ds-theme body.sd-home-panels .ds-desktop-right .ds-panel-tabs { position: relative; display: block; height: 46px; min-height: 46px; padding: 0; box-sizing: border-box; }
    html.ds-theme body.sd-home-panels .ds-desktop-right .ds-panel-tabs button { --ds-tab-index: 0; position: absolute; left: calc(var(--ds-tab-index) * 25% + 3px); top: 3px; width: calc(25% - 6px); height: 40px; min-height: 40px; padding: 0; overflow: hidden; box-sizing: border-box; }
    html.ds-theme body.sd-home-panels .ds-desktop-right .ds-panel-tabs button:nth-child(2) { --ds-tab-index: 1; }
    html.ds-theme body.sd-home-panels .ds-desktop-right .ds-panel-tabs button:nth-child(3) { --ds-tab-index: 2; }
    html.ds-theme body.sd-home-panels .ds-desktop-right .ds-panel-tabs button:nth-child(4) { --ds-tab-index: 3; }
    html.ds-theme body.sd-home-panels .ds-desktop-right .ds-panel-tab-icon { display: inline-block; position: absolute; left: 50%; top: 7px; transform: translateX(-50%); font-size: 17px; line-height: 1; opacity: 0; visibility: hidden; pointer-events: none; }
    html.ds-theme body.sd-home-panels .ds-desktop-right .ds-panel-tab-label { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); font-size: 13px; line-height: 1.3; white-space: nowrap; pointer-events: none; }
    html.ds-theme body.sd-home-panels .is-right-collapsed .ds-desktop-right .ds-panel-tabs { height: 210px; min-height: 210px; }
    html.ds-theme body.sd-home-panels .is-right-collapsed .ds-desktop-right .ds-panel-tabs button { left: 0; top: calc(var(--ds-tab-index) * 54px); width: 100%; height: 48px; min-height: 48px; }
    html.ds-theme body.sd-home-panels .is-right-collapsed .ds-desktop-right .ds-panel-tab-icon { opacity: 1; visibility: visible; }
    html.ds-theme body.sd-home-panels .is-right-collapsed .ds-desktop-right .ds-panel-tab-label { top: 33px; font-size: 10px; }
    html.ds-theme body.sd-home-panels .ds-desktop-right .ds-panel-body { display: grid; grid-template-rows: 1fr; }
    html.ds-theme body.sd-home-panels .is-right-collapsed .ds-desktop-right .ds-panel-body { grid-template-rows: 0fr; }
    html.ds-theme body.sd-home-panels .ds-desktop-right .ds-panel-pane:not([hidden]) { display: block; min-height: 0; overflow: hidden; opacity: 1; visibility: visible; }
    html.ds-theme body.sd-home-panels .is-right-collapsed .ds-desktop-right .ds-panel-pane:not([hidden]) { padding-bottom: 0; opacity: 0; visibility: hidden; pointer-events: none; }
    html.ds-theme body.sd-home-panels .is-panel-motion-ready .ds-panel-tabs { transition: height var(--ds-panel-motion), min-height var(--ds-panel-motion), margin var(--ds-panel-motion), background-color var(--ds-panel-motion); }
    html.ds-theme body.sd-home-panels .is-panel-motion-ready .ds-panel-tabs button { transition: left var(--ds-panel-motion), top var(--ds-panel-motion), width var(--ds-panel-motion), height var(--ds-panel-motion), min-height var(--ds-panel-motion); }
    html.ds-theme body.sd-home-panels .is-panel-motion-ready .ds-panel-tab-icon { transition: opacity var(--ds-panel-motion), visibility var(--ds-panel-motion); }
    html.ds-theme body.sd-home-panels .is-panel-motion-ready .ds-panel-tab-label { transition: top var(--ds-panel-motion), font-size var(--ds-panel-motion); }
    html.ds-theme body.sd-home-panels .is-panel-motion-ready .ds-panel-body { transition: grid-template-rows var(--ds-panel-motion); }
    html.ds-theme body.sd-home-panels .is-panel-motion-ready .ds-panel-pane { transition: opacity var(--ds-panel-motion), visibility var(--ds-panel-motion), padding-bottom var(--ds-panel-motion); }
}



@media (prefers-reduced-motion: reduce) {
    .sd-home-panels [data-desktop-shell],
    .sd-home-panels [data-desktop-shell] *,
    .sd-home-panels .sd-footer,
    .sd-home-panels .sd-floating-actions { transition-duration: 0s !important; transition-delay: 0s !important; animation-duration: 0s !important; animation-delay: 0s !important; }
}




@media (min-width: 1100px) {
    html.ds-theme body.sd-home-panels.sd-focused-body {
        --rd-header-h: 64px;
        --ds-header-h: 64px;
    }
    html.ds-theme body.sd-home-panels.sd-focused-body .ds-header .ds-wrap {
        width: 100% !important;
        max-width: none !important;
        padding-left: 24px !important;
        padding-right: 24px !important;
    }
    html.ds-theme body.sd-home-panels.sd-focused-body .ds-header .ds-header__bar {
        grid-template-columns: minmax(180px, 1fr) minmax(320px, 560px) minmax(180px, 1fr);
        gap: 24px;
        height: 64px;
        min-height: 64px;
    }
    html.ds-theme body.sd-home-panels.sd-focused-body .ds-header .ds-logo {
        grid-column: 1;
        grid-row: 1;
        justify-self: start;
        font-size: 19px;
        gap: 9px;
    }
    html.ds-theme body.sd-home-panels.sd-focused-body .ds-header .ds-search {
        grid-column: 2;
        grid-row: 1;
        width: 100%;
        max-width: 560px;
        margin: 0;
    }
    html.ds-theme body.sd-home-panels.sd-focused-body .ds-header .ds-search input {
        height: 40px;
        padding-left: 40px;
        padding-right: 42px;
        border-radius: 8px;
        font-size: 14px;
    }
    html.ds-theme body.sd-home-panels.sd-focused-body .ds-header .ds-search__icon { left: 14px; font-size: 14px; }
    html.ds-theme body.sd-home-panels.sd-focused-body .ds-header .ds-search button { width: 32px; height: 32px; font-size: 14px; }
    html.ds-theme body.sd-home-panels.sd-focused-body .ds-header .ds-header__tools {
        grid-column: 3;
        grid-row: 1;
        justify-self: end;
        justify-content: flex-end;
        gap: 8px;
        min-width: 0;
    }
    html.ds-theme body.sd-home-panels.sd-focused-body .ds-header .ds-user-link {
        min-height: 38px;
        padding: 0 16px;
        font-size: 13px;
        border-radius: 8px;
    }
}

@media (min-width: 1100px) {
    html.ds-theme body.sd-home-panels > .ds-panel-nav-tooltip {
        position: fixed;
        z-index: 1100;
        max-width: calc(100vw - 88px);
        padding: 9px 13px;
        border-radius: 7px;
        background: var(--ds-navy-deep, #082a66);
        color: #fff;
        box-shadow: 0 4px 14px rgba(15, 23, 42, .16);
        font-size: 13px;
        font-weight: 650;
        line-height: 1.4;
        white-space: nowrap;
        pointer-events: auto;
    }
    html.ds-theme body.sd-home-panels > .ds-panel-nav-tooltip::before {
        content: '';
        position: absolute;
        left: -5px;
        top: calc(50% - 5px);
        width: 10px;
        height: 10px;
        background: inherit;
        transform: rotate(45deg);
    }
}
html.ds-theme body.sd-home-panels > .ds-panel-nav-tooltip[hidden] { display: none !important; }


/* Focused public content. Header, side panels and their motion keep their own layout. */
html.ds-theme body.sd-focused-body .sd-main {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

html.ds-theme body.sd-focused-body .ds-desktop-center {
    container-name: none;
    container-type: normal;
    min-width: 0;
    padding-left: 0;
    padding-right: 0;
}

html.ds-theme body.sd-focused-body .ds-focused-standalone {
    width: 100%;
    min-width: 0;
    padding: 0;
}

html.ds-theme body.sd-focused-body .ds-content-frame {
    --ds-content-max: 1280px;
    container-name: ds-home-content ds-focused-content;
    container-type: inline-size;
    display: grid;
    align-content: start;
    gap: 16px;
    box-sizing: border-box;
    width: min(100%, var(--ds-content-max)) !important;
    min-width: 0 !important;
    max-width: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0;
    padding-right: 0;
    position: relative;
    transform: none;
    /* Actual sidebar rectangles drive the frame on every motion frame. */
    transition: none !important;
    animation: none !important;
}

html.ds-theme body.sd-focused-body .ds-content-frame[data-content-kind="article"] { --ds-content-max: 1040px; }
html.ds-theme body.sd-focused-body .ds-content-frame[data-content-kind="task"] { --ds-content-max: 1280px; }
html.ds-theme body.sd-focused-body .ds-content-frame[data-content-kind="form"] { --ds-content-max: 560px; }

html.ds-theme body.sd-focused-body .ds-content-frame > * { min-width: 0; }

/* A visible content surface separates the center from the surrounding page gutters. */
html.ds-theme body.sd-focused-body.sd-home-panels .ds-content-frame {
    padding: 20px;
    border: 1px solid #cbd8e8;
    border-radius: 16px;
    background: #eef3f9;
    box-shadow: 0 4px 18px rgba(18, 49, 92, .06);
}

/* Preserve the tool directory's three columns inside the newly padded surface. */
@container ds-focused-content (min-width: 860px) {
    html.ds-theme body.sd-focused-body.sd-home-panels .sd-tool-page { --sd-tool-hub-columns: 3; }
}

@media (min-width: 1100px) {
    html.ds-theme body.sd-focused-body .ds-content-frame.is-content-positioned {
        width: var(--ds-content-width) !important;
        margin-left: var(--ds-content-inset) !important;
        margin-right: 0 !important;
    }
}

@media (max-width: 1099px) {
    html.ds-theme body.sd-focused-body .sd-main {
        width: calc(100% - 24px) !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    html.ds-theme body.sd-focused-body .ds-content-frame {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        gap: 12px;
    }
    html.ds-theme body.sd-focused-body.sd-home-panels .ds-content-frame {
        padding: 12px;
        border-radius: 14px;
    }
    html.ds-theme body.sd-focused-body .ds-focused-standalone > .ds-content-frame[data-content-kind="form"] {
        width: min(100%, 560px) !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    html.ds-theme body.sd-focused-body .ds-content-frame :is(input, select, textarea) { font-size: 16px; }
    /* Only known viewport toasts are portalled; native dialogs keep their app scope. */
    html.ds-theme body.sd-focused-body > :is(.sd-stock-toast, .sd-news__toast, .hm-toast,
        .sd-tool-toast, .sd-investment-toast, .sd-watch-toast)[data-content-overlay] {
        bottom: calc(76px + env(safe-area-inset-bottom, 0px)) !important;
    }
}

@media (max-width: 479px) {
    html.ds-theme body.sd-focused-body.sd-home-panels .ds-content-frame {
        padding: 10px;
        border-radius: 12px;
    }
}

/* Page content responds to its reading frame, independently of the screen rails. */
html.ds-theme body.sd-focused-body .ds-content-frame {
  --ds-focused-shell-width:100%;
  --ds-focused-shell-max:none;
  --ds-focused-reading-max:760px;
  --ds-focused-space:16px;
  --ds-focused-space-compact:12px;
  --ds-focused-policy-padding-start:4px;
  --ds-focused-policy-padding-end:32px;
  --ds-focused-policy-padding-compact:18px;
}
html.ds-theme body.sd-focused-body .ds-content-frame > :is(section, article, main) { min-width:0; width:var(--ds-focused-shell-width); }
html.ds-theme body.sd-focused-body .ds-content-frame :is(.sd-blog-page__container,.sd-news-page__container,.sd-futures__container,.sd-member-shell,.sd-investment-shell,.sd-about-page__container,.sd-privacy-page__container,.sd-terms-page__container,.sd-cookie-page__container) { width:var(--ds-focused-shell-width); max-width:var(--ds-focused-shell-max); margin-inline:0; }
html.ds-theme body.sd-focused-body .ds-content-frame :is(.sd-about-page,.sd-privacy-page,.sd-terms-page,.sd-cookie-page) { padding:var(--ds-focused-policy-padding-start) 0 var(--ds-focused-policy-padding-end); }
html.ds-theme body.sd-focused-body .ds-content-frame :is(.sd-about-page__container,.sd-privacy-page__container,.sd-terms-page__container,.sd-cookie-page__container) { padding-inline:0; }
html.ds-theme body.sd-focused-body .ds-content-frame .ds-hero__banner { min-height:0 !important; padding:20px !important; margin-bottom:16px; }
html.ds-theme body.sd-focused-body .ds-content-frame .ds-hero__banner h1 { font-size:26px !important; line-height:1.35; }
html.ds-theme body.sd-focused-body .ds-content-frame :is(.sd-stock-heading h1,.sd-stock-hero h1) { font-size:26px; }
html.ds-theme body.sd-focused-body .ds-content-frame :is(.sd-news__row,.sd-news-archive-list,.sd-insight-archive) { min-width:0; }
html.ds-theme body.sd-focused-body .ds-content-frame .sd-news__row { padding-block:14px; }
html.ds-theme body.sd-focused-body .ds-content-frame .sd-news__title { font-size:15px; line-height:1.6; }

/* Lists stay readable; article side material follows the main text. */
html.ds-theme body.sd-focused-body .ds-content-frame :is(.sd-news-detail__row,.sd-blog-layout--article,.sd-blog-detail-top,.sd-blog-layout--reports,.sd-v2-insight-layout) { display:grid; grid-template-columns:minmax(0,1fr) !important; gap:16px; }
html.ds-theme body.sd-focused-body .ds-content-frame :is(.sd-blog-sidebar,.sd-v2-insight-sidebar) { position:static; width:100%; min-width:0; }
html.ds-theme body.sd-focused-body .ds-content-frame .sd-v2-insight-toc.ds-card { position:static; }
html.ds-theme body.sd-focused-body .ds-content-frame .sd-news-featured { grid-template-columns:160px minmax(0,1fr) !important; }
html.ds-theme body.sd-focused-body .ds-content-frame .sd-news-featured__quote { grid-column:1/-1; }
html.ds-theme body.sd-focused-body .ds-content-frame .sd-blog-detail__hero { grid-template-columns:minmax(0,1fr) !important; }
html.ds-theme body.sd-focused-body .ds-content-frame .sd-report-hero-visual { min-height:180px; }
html.ds-theme body.sd-focused-body .ds-content-frame .ds-article.sd-blog-article { grid-template-columns:minmax(0,1fr) !important; }
html.ds-theme body.sd-focused-body .ds-content-frame :is(.ds-toc,.sd-blog-rail) { position:static; width:100%; grid-column:auto; }
html.ds-theme body.sd-focused-body .ds-content-frame .ds-toc { display:flex; flex-wrap:wrap; gap:4px 12px; }
html.ds-theme body.sd-focused-body .ds-content-frame .ds-toc strong { width:100%; }
html.ds-theme body.sd-focused-body .ds-content-frame .sd-blog-featured { align-items:start; }
html.ds-theme body.sd-focused-body .ds-content-frame .sd-blog-featured__recent { grid-template-columns:minmax(0,1fr); }
html.ds-theme body.sd-focused-body .ds-content-frame .sd-blog-featured__recent .sd-blog-pop { display:grid; grid-template-columns:76px minmax(0,1fr); gap:4px 12px; padding:10px; }
html.ds-theme body.sd-focused-body .ds-content-frame .sd-blog-featured__recent .sd-blog-pop :is(img,.sd-rd-report-tile) { grid-row:1/3; width:76px; height:70px; border-radius:6px; object-fit:cover; }
html.ds-theme body.sd-focused-body .ds-content-frame .sd-blog-featured__recent .sd-blog-pop .ds-kicker { display:none; }
html.ds-theme body.sd-focused-body .ds-content-frame .sd-blog-featured__recent .sd-blog-pop strong { font-size:14px; line-height:1.55; min-height:0; padding:0; }
html.ds-theme body.sd-focused-body .ds-content-frame .sd-blog-featured__recent .sd-blog-pop .ds-lead { padding:0; font-size:11px; }
html.ds-theme body.sd-focused-body .ds-content-frame .hm-detail { grid-template-columns:minmax(0,1fr); }
html.ds-theme body.sd-focused-body .ds-content-frame .hm-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
html.ds-theme body.sd-focused-body .ds-content-frame .sd-fg-page { min-height:0; padding:4px 0 32px; }
html.ds-theme body.sd-focused-body .ds-content-frame .sd-fg-hero { grid-template-columns:minmax(0,1fr) 300px; }
html.ds-theme body.sd-focused-body .ds-content-frame .sd-fg-guide-grid { grid-template-columns:minmax(0,1fr); }
html.ds-theme body.sd-focused-body .ds-content-frame .sd-futures__grid { grid-template-columns:repeat(3,minmax(0,1fr)) !important; }
html.ds-theme body.sd-focused-body .ds-content-frame .sd-futures-card { min-height:0; }
html.ds-theme body.sd-focused-body .ds-content-frame .sd-chart-canvas-wrap { height:320px; }
html.ds-theme body.sd-focused-body .ds-content-frame .ds-focused-details > summary { cursor:pointer; }
html.ds-theme body.sd-focused-body .ds-content-frame .ds-focused-details > summary::after { content:'펼치기'; margin-left:auto; color:#61738b; font-size:12px; }
html.ds-theme body.sd-focused-body .ds-content-frame .ds-focused-details[open] > summary::after { content:'접기'; }

@container ds-focused-content (max-width:899px) {
  html.ds-theme body.sd-focused-body .ds-content-frame .sd-futures__grid { grid-template-columns:repeat(2,minmax(0,1fr)) !important; }
}
html.ds-theme body.sd-focused-body .ds-content-frame :is(.ds-post-prose,.sd-market-insight__content) { font-size:16px; line-height:1.9; overflow-wrap:anywhere; }
html.ds-theme body.sd-focused-body .ds-content-frame :is(.ds-post-prose img,.sd-market-insight__content img) { max-width:100%; height:auto; }
html.ds-theme body.sd-focused-body .ds-content-frame :is(.sd-blog-detail__title,.sd-market-insight__title) { font-size:26px; line-height:1.4; }

/* Stock/chart pages get the full task frame; secondary information stays below. */
html.ds-theme body.sd-focused-body .ds-content-frame .sd-stock-layout { grid-template-columns:minmax(0,1fr); gap:0; }
html.ds-theme body.sd-focused-body .ds-content-frame .sd-stock-secondary { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
html.ds-theme body.sd-focused-body .ds-content-frame .sd-stock-secondary > .sd-stock-card { margin:0; }
html.ds-theme body.sd-focused-body .ds-content-frame .sd-stock-help { grid-column:1/-1; }
html.ds-theme body.sd-focused-body .ds-content-frame .sd-analysis-stage.gn-trader-grid { grid-template-columns:repeat(2,minmax(0,1fr)) !important; }
html.ds-theme body.sd-focused-body .ds-content-frame .sd-analysis-stage__chart { grid-column:1/-1; }
html.ds-theme body.sd-focused-body .ds-content-frame .sd-analysis-quote { grid-template-columns:minmax(0,1fr) auto; }
html.ds-theme body.sd-focused-body .ds-content-frame .sd-analysis-ohlc { grid-column:1/-1; padding:9px 0 0; border-left:0; border-top:1px solid #e5edf7; }
html.ds-theme body.sd-focused-body .ds-content-frame .sd-investment-workspace { grid-template-columns:minmax(0,1fr); }
html.ds-theme body.sd-focused-body .ds-content-frame .sd-investment-aside { position:static; }
html.ds-theme body.sd-focused-body .ds-content-frame :is(.sd-member-table-wrap,.sd-investment-portfolio-table,.sd-futures-table-wrap) { max-width:100%; overflow-x:auto; }
html.ds-theme body.sd-focused-body .ds-content-frame[data-content-kind=form] .sd-member-auth__wrap { width:var(--ds-focused-shell-width); max-width:var(--ds-focused-shell-max); margin:0; }
html.ds-theme body.sd-focused-body .ds-content-frame[data-content-kind=form] .sd-member-auth__panel { width:var(--ds-focused-shell-width); max-width:var(--ds-focused-shell-max); }

@container ds-focused-content (max-width:879px) {
  html.ds-theme body.sd-focused-body .ds-content-frame .sd-blog-stats { grid-template-columns:repeat(3,minmax(0,1fr)) !important; }
  html.ds-theme body.sd-focused-body .ds-content-frame :is(.sd-investment-layout,.sd-analysis-hero-split,.sd-watch-layout) { grid-template-columns:minmax(0,1fr) !important; }
  html.ds-theme body.sd-focused-body .ds-content-frame :is(.sd-analysis-kpis,.sd-investment-status-strip,.sd-investment-watchlist,.sd-member-summary-grid) { grid-template-columns:repeat(2,minmax(0,1fr)) !important; }
  html.ds-theme body.sd-focused-body .ds-content-frame .sd-analysis-cta { min-height:0 !important; }
  html.ds-theme body.sd-focused-body .ds-content-frame .sd-analysis-hero-banner { min-height:120px !important; }
}
@container ds-focused-content (max-width:759px) {
  html.ds-theme body.sd-focused-body .ds-content-frame .sd-fg-hero { grid-template-columns:minmax(0,1fr); }
  html.ds-theme body.sd-focused-body .ds-content-frame :is(.sd-fg-strip,.sd-fg-factor-grid) { grid-template-columns:repeat(2,minmax(0,1fr)); }
  html.ds-theme body.sd-focused-body .ds-content-frame .sd-blog-stats { grid-template-columns:repeat(3,minmax(0,1fr)) !important; }
  html.ds-theme body.sd-focused-body .ds-content-frame .hm-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  html.ds-theme body.sd-focused-body .ds-content-frame :is(.sd-member-two-col,.sd-blog-featured,.sd-blog-featured__cards,.sd-insight-featured,.sd-v2-news-related) { grid-template-columns:minmax(0,1fr) !important; }
  html.ds-theme body.sd-focused-body .ds-content-frame .sd-market-insight__mini-grid { grid-template-columns:minmax(0,1fr) !important; }
  html.ds-theme body.sd-focused-body .ds-content-frame :is(.sd-news-hero,.sd-blog-hero,.sd-futures-hero) { padding:16px; }
}
@container ds-focused-content (max-width:599px) {
  html.ds-theme body.sd-focused-body .ds-content-frame .sd-chart-canvas-wrap { height:250px; }
  html.ds-theme body.sd-focused-body .ds-content-frame .sd-futures-card > svg { display:none; }
  html.ds-theme body.sd-focused-body .ds-content-frame .sd-futures__grid { grid-template-columns:minmax(0,1fr) !important; }
  html.ds-theme body.sd-focused-body .ds-content-frame .sd-watch-summary { grid-template-columns:minmax(0,1fr) !important; }
  html.ds-theme body.sd-focused-body .ds-content-frame :is(.sd-fg-factor-grid,.sd-fg-risk-links) { grid-template-columns:minmax(0,1fr); }
  html.ds-theme body.sd-focused-body .ds-content-frame .sd-blog-stats { grid-template-columns:repeat(2,minmax(0,1fr)) !important; }
  html.ds-theme body.sd-focused-body .ds-content-frame :is(.sd-stock-results,.sd-stock-secondary,.sd-analysis-stage.gn-trader-grid,.sd-analysis-stage .gn-plan-cols,.sd-investment-field-row,.sd-investment-search,.sd-investment-tabs,.sd-member-summary-grid,.sd-investment-market-list) { grid-template-columns:minmax(0,1fr) !important; }
  html.ds-theme body.sd-focused-body .ds-content-frame .sd-analysis-stage__chart { grid-column:auto; }
  html.ds-theme body.sd-focused-body .ds-content-frame :is(.sd-stock-metrics,.sd-analysis-ohlc,.sd-investment-summary-grid) { grid-template-columns:repeat(2,minmax(0,1fr)) !important; }
  html.ds-theme body.sd-focused-body .ds-content-frame .sd-news-featured { grid-template-columns:minmax(0,1fr) !important; }
  html.ds-theme body.sd-focused-body .ds-content-frame :is(.sd-news-row,.sd-insight-card) { grid-template-columns:88px minmax(0,1fr) !important; }
  html.ds-theme body.sd-focused-body .ds-content-frame :is(.sd-stock-section-head,.sd-investment-head__actions,.sd-rd-news-date) { flex-wrap:wrap; }
  html.ds-theme body.sd-focused-body .ds-content-frame .ds-hero__banner h1 { font-size:23px; }
  html.ds-theme body.sd-focused-body .ds-content-frame :is(.sd-blog-detail__title,.sd-market-insight__title) { font-size:23px; }
  html.ds-theme body.sd-focused-body .ds-content-frame :is(.sd-about-page__card,.sd-privacy-page__card,.sd-terms-page__card,.sd-cookie-page__card) { padding:var(--ds-focused-policy-padding-compact); }
}

/* 2026-10: outer work surface and reading measure are independent. */
html.ds-theme body.sd-focused-body .ds-content-frame :is(.ds-post-prose,.sd-about-page__card,.sd-privacy-page__card,.sd-terms-page__card,.sd-cookie-page__card) { width:var(--ds-focused-shell-width); max-width:var(--ds-focused-reading-max); margin-inline:auto; box-sizing:border-box; }
html.ds-theme body.sd-focused-body .ds-content-frame :is(.sd-about-page__card,.sd-privacy-page__card,.sd-terms-page__card,.sd-cookie-page__card) { font-size:16px; line-height:1.8; overflow-wrap:anywhere; }
html.ds-theme body.sd-focused-body .ds-content-frame .ds-wrap { min-width:0; max-width:100%; }
html.ds-theme body.sd-focused-body .ds-content-frame :is(.sd-member-page,.sd-investment-page,.sd-watch-page,.sd-search-page,.sd-rd--live-news .ds-page) { padding-top:0; }
html.ds-theme body.sd-focused-body .ds-content-frame :is(.sd-member-shell,.sd-investment-shell) { padding:0; border:0; background:transparent; box-shadow:none; }
html.ds-theme body.sd-focused-body .ds-content-frame :is(.sd-member-page-head,.sd-investment-head,.sd-stock-heading) { margin-bottom:var(--ds-focused-space); gap:var(--ds-focused-space-compact); }
html.ds-theme body.sd-focused-body .ds-content-frame :is(.sd-member-page-head p,.sd-investment-head p,.sd-stock-heading p) { font-size:15px; line-height:1.6; margin-block:8px 0; }
html.ds-theme body.sd-focused-body .ds-content-frame :is(.sd-member-panel,.sd-investment-panel,.sd-watch-panel) { padding:var(--ds-focused-space); border-radius:10px; box-shadow:none; }
html.ds-theme body.sd-focused-body .ds-content-frame :is(.sd-member-head-actions,.sd-member-action-row,.sd-investment-toolbar,.sd-investment-head__actions) { flex-wrap:wrap; }
html.ds-theme body.sd-focused-body .ds-content-frame :is(.sd-member-muted,.sd-member-panel p,.sd-watch-panel p) { line-height:1.65; }
html.ds-theme body.sd-focused-body .ds-content-frame .sd-watch-guide { margin-block:var(--ds-focused-space-compact); }
html.ds-theme body.sd-focused-body .ds-content-frame .sd-watch-guide li { padding:var(--ds-focused-space-compact); }
html.ds-theme body.sd-focused-body .ds-content-frame .sd-watch-summary { margin-block:var(--ds-focused-space-compact); }
html.ds-theme body.sd-focused-body .ds-content-frame .sd-watch-hero { padding:16px !important; }
html.ds-theme body.sd-focused-body .ds-content-frame .sd-watch-report-time { white-space:nowrap; }
html.ds-theme body.sd-focused-body .ds-content-frame .sd-news:not(.sd-news--compact) .sd-news__filters { margin-top:0; }
html.ds-theme body.sd-focused-body .ds-content-frame .sd-news:not(.sd-news--compact) .sd-news__title { font-size:17px; line-height:1.55; }
html.ds-theme body.sd-focused-body .ds-content-frame .sd-news__notice { font-size:14px; line-height:1.65; }
html.ds-theme body.sd-focused-body .ds-content-frame .sd-news__member-tools { margin-block:8px; }
html.ds-theme body.sd-focused-body .ds-content-frame :is(.sd-bank-domestic__container,.sd-bank-overseas__container,.sd-dividend-domestic__container,.sd-dividend-overseas__container) { width:100%; max-width:none; margin:0; padding:0; }
html.ds-theme body.sd-focused-body .ds-content-frame :is(.sd-bank-domestic__section,.sd-bank-overseas__section,.sd-dividend-domestic__section,.sd-dividend-overseas__section) { padding:16px; margin-bottom:16px; border-radius:10px; box-shadow:none; min-width:0; }
html.ds-theme body.sd-focused-body .ds-content-frame :is(.sd-bank-domestic__nav,.sd-bank-overseas__nav,.sd-dividend-domestic__nav,.sd-dividend-overseas__nav) { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:16px; }
html.ds-theme body.sd-focused-body .ds-content-frame :is(.sd-bank-domestic__table-wrap,.sd-bank-overseas__table-wrap,.sd-dividend-domestic__table-wrap,.sd-dividend-overseas__table-wrap) { max-width:100%; overflow-x:auto; margin-inline:0; border-radius:8px; }
html.ds-theme body.sd-focused-body .ds-content-frame :is(.sd-bank-domestic__table,.sd-bank-overseas__table,.sd-dividend-domestic__table,.sd-dividend-overseas__table) { font-size:14px; line-height:1.6; }
html.ds-theme body.sd-focused-body .ds-content-frame :is(.sd-bank-domestic__input,.sd-bank-overseas__input,.sd-dividend-domestic__input,.sd-dividend-overseas__input) { max-width:100%; min-width:0; min-height:44px; box-sizing:border-box; }
html.ds-theme body.sd-focused-body .ds-content-frame :is(.sd-bank-domestic__btn,.sd-bank-overseas__btn,.sd-dividend-domestic__btn,.sd-dividend-overseas__btn) { min-height:44px; }
html.ds-theme body.sd-focused-body .ds-content-frame :is(.sd-bank-domestic__sim-row,.sd-bank-overseas__sim-row,.sd-dividend-domestic__sim-row,.sd-dividend-overseas__sim-row) { flex-wrap:wrap; gap:8px; }
html.ds-theme body.sd-focused-body .ds-content-frame :is(.sd-bank-domestic__intro,.sd-bank-overseas__intro,.sd-dividend-domestic__intro,.sd-dividend-overseas__intro) { font-size:15px; line-height:1.65; }
html.ds-theme body.sd-focused-body .ds-content-frame :is(.sd-bank-domestic__result,.sd-bank-overseas__result,.sd-dividend-domestic__result,.sd-dividend-overseas__result) { max-width:100%; overflow-x:auto; }
html.ds-theme body.sd-focused-body .ds-content-frame :is(.sd-bank-domestic__page-title,.sd-bank-overseas__page-title,.sd-dividend-domestic__page-title,.sd-dividend-overseas__page-title) { font-size:26px; line-height:1.35; margin-bottom:12px; }
html.ds-theme body.sd-focused-body .ds-content-frame :is(.sd-bank-domestic__sort-tabs,.sd-bank-overseas__sort-tabs,.sd-dividend-domestic__sort-tabs,.sd-dividend-overseas__sort-tabs) { display:flex; flex-wrap:wrap; gap:8px; }
html.ds-theme body.sd-focused-body .ds-content-frame :is(.sd-bank-domestic__scenario-tabs,.sd-bank-overseas__scenario-tabs,.sd-dividend-domestic__scenario-tabs,.sd-dividend-overseas__scenario-tabs) { display:flex; flex-wrap:wrap; gap:8px; }
html.ds-theme body.sd-focused-body .ds-content-frame .sd-dividend-page { padding:0; background:transparent; }

@container ds-focused-content (max-width:599px) {
 html.ds-theme body.sd-focused-body .ds-content-frame :is(.sd-member-panel,.sd-investment-panel,.sd-watch-panel) { padding:var(--ds-focused-space-compact); }
 html.ds-theme body.sd-focused-body .ds-content-frame :is(.sd-bank-domestic__section,.sd-bank-overseas__section,.sd-dividend-domestic__section,.sd-dividend-overseas__section) { padding:12px; }
 html.ds-theme body.sd-focused-body .ds-content-frame :is(.sd-bank-domestic__nav,.sd-bank-overseas__nav,.sd-dividend-domestic__nav,.sd-dividend-overseas__nav) { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); }
 html.ds-theme body.sd-focused-body .ds-content-frame :is(.sd-bank-domestic__nav,.sd-bank-overseas__nav,.sd-dividend-domestic__nav,.sd-dividend-overseas__nav) a { text-align:center; padding:10px 6px; }
 html.ds-theme body.sd-focused-body .ds-content-frame .sd-news:not(.sd-news--compact) .sd-news__title { font-size:16px; }
 html.ds-theme body.sd-focused-body .ds-content-frame .sd-watch-guide { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
 html.ds-theme body.sd-focused-body .ds-content-frame .sd-watch-guide li { min-width:0; padding:10px; }
}

html.ds-theme body.sd-focused-body .ds-content-frame .sd-watch-entry-head { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:12px; margin-bottom:12px; }
html.ds-theme body.sd-focused-body .ds-content-frame .sd-watch-entry-head h1 { margin:0; font-size:26px; line-height:1.35; }
html.ds-theme body.sd-focused-body .ds-content-frame .sd-watch-entry-head p { margin:8px 0 0; font-size:15px; line-height:1.6; }
html.ds-theme body.sd-focused-body .ds-content-frame .sd-watch-entry-head a { text-decoration:none; min-height:44px; padding:10px 20px; }
html.ds-theme body.sd-focused-body .ds-content-frame .sd-watch-entry-guide { padding:12px 16px; border:1px solid #d7e3f1; border-radius:10px; background:white; }
html.ds-theme body.sd-focused-body .ds-content-frame .sd-watch-entry-guide summary { cursor:pointer; font-size:15px; font-weight:650; }
@container ds-focused-content (max-width:599px) {
 html.ds-theme body.sd-focused-body .ds-content-frame .sd-watch-guide { grid-template-columns:repeat(2,minmax(0,1fr)) !important; }
}

/* Numeric comparison tables retain column headings; only labelled stock rows use cards. */
@container ds-focused-content (max-width:599px) {
 html.ds-theme body.sd-focused-body .ds-content-frame :is(.sd-bank-domestic__table-wrap,.sd-dividend-domestic__table-wrap):has(td:not([data-label])) table { display:table; min-width:360px; }
 html.ds-theme body.sd-focused-body .ds-content-frame :is(.sd-bank-domestic__table-wrap,.sd-dividend-domestic__table-wrap):has(td:not([data-label])) thead { display:table-header-group; }
 html.ds-theme body.sd-focused-body .ds-content-frame :is(.sd-bank-domestic__table-wrap,.sd-dividend-domestic__table-wrap):has(td:not([data-label])) tbody { display:table-row-group; }
 html.ds-theme body.sd-focused-body .ds-content-frame :is(.sd-bank-domestic__table-wrap,.sd-dividend-domestic__table-wrap):has(td:not([data-label])) tr { display:table-row; border:0; padding:0; box-shadow:none; }
 html.ds-theme body.sd-focused-body .ds-content-frame :is(.sd-bank-domestic__table-wrap,.sd-dividend-domestic__table-wrap):has(td:not([data-label])) td { display:table-cell; padding:10px; }
 html.ds-theme body.sd-focused-body .ds-content-frame :is(.sd-bank-domestic__table-wrap,.sd-dividend-domestic__table-wrap):has(td:not([data-label])) td::before { display:none; }
}

@container ds-focused-content (max-width:599px) {
 html.ds-theme body.sd-focused-body .ds-content-frame :is(.sd-bank-domestic__table-wrap,.sd-dividend-domestic__table-wrap):not(:has(td:not([data-label]))) :is(table,tbody) { display:block; width:100%; }
 html.ds-theme body.sd-focused-body .ds-content-frame :is(.sd-bank-domestic__table-wrap,.sd-dividend-domestic__table-wrap):not(:has(td:not([data-label]))) tr { width:100%; box-sizing:border-box; }
}

html.ds-theme body.sd-focused-body .ds-content-frame .sd-member-status-item { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:8px 12px; }
html.ds-theme body.sd-focused-body .ds-content-frame .sd-member-status-item > :is(span,strong) { grid-column:1; min-width:0; }
html.ds-theme body.sd-focused-body .ds-content-frame .sd-member-status-item > span { overflow-wrap:anywhere; }
html.ds-theme body.sd-focused-body .ds-content-frame .sd-member-status-item > strong { white-space:normal; word-break:keep-all; overflow-wrap:normal; text-align:left; }
html.ds-theme body.sd-focused-body .ds-content-frame .sd-member-status-item .sd-member-mini-btn { grid-column:2; grid-row:1 / span 2; min-width:52px; min-height:44px; white-space:nowrap; }

/* Reading and archive pages: use the available frame, keep prose readable. */
html.ds-theme body .sd-reading-refresh.sd-reading-refresh {
  --bg-page: #f3f6fb;
  --bg-surface: #ffffff;
  --bg-subtle: #f8fafc;
  --bg-soft-blue: #eff6ff;
  --ink-900: #0f172a;
  --ink-800: #1e293b;
  --ink-600: #475569;
  --ink-500: #64748b;
  --ink-400: #94a3b8;
  --line-200: #e2e8f0;
  --line-300: #cbd5e1;
  --brand-600: #2563eb;
  --brand-700: #1d4ed8;
  --brand-900: #0f2557;
  --up-red: #e11d48;
  --up-bg: #fff1f2;
  --down-blue: #2563eb;
  --down-bg: #eff6ff;
  --radius-xl: 16px;
  --radius-lg: 12px;
  --radius-md: 8px;
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.06);
  --prose-size: 16.5px;
  --reading-ink: #0f172a;
  --reading-muted: #64748b;
  --reading-line: #dbe4f0;
  --reading-gap: 16px;
  container: ds-reading-page / inline-size;
  min-width: 0;
  padding: 4px 0 28px !important;
  color: var(--ink-900);
  overflow-wrap: anywhere;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh a {
  text-decoration: none;
  color: inherit;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh :is(.ds-wrap,.sd-blog-page__container,.sd-news-page__container,.sd-market-insight__container) {
  width: 100%;
  max-width: none;
  min-width: 0;
  margin-inline: 0;
  padding-inline: 0 !important;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .ds-hero__banner:not(.sd-blog-hero) {
  min-height: 0 !important;
  height: auto !important;
  padding: 0 0 12px !important;
  margin: 0 0 12px !important;
  border: 0;
  border-bottom: 1px solid var(--reading-line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .ds-hero__banner:not(.sd-blog-hero)::before,
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .ds-hero__banner:not(.sd-blog-hero)::after { display: none; }
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .ds-hero__banner:not(.sd-blog-hero) > .ds-kicker { display: none; }
html.ds-theme body .sd-reading-refresh.sd-reading-refresh :is(.ds-title,.sd-market-insight__title) {
  margin: 0;
  color: var(--reading-ink) !important;
  font-size: 26px !important;
  line-height: 1.4;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .ds-lead {
  margin: 6px 0 0;
  color: var(--reading-muted);
  font-size: 15px !important;
  line-height: 1.7;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .ds-hero__banner:not(.sd-blog-hero) :is(h1,.ds-title,.sd-market-insight__title) {
  color: var(--reading-ink) !important;
  -webkit-text-fill-color: currentColor !important;
  text-shadow: none !important;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .ds-hero__banner:not(.sd-blog-hero) .ds-lead {
  color: var(--reading-muted) !important;
  -webkit-text-fill-color: currentColor !important;
  opacity: 1 !important;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh :is(.sd-rd-toolbar,.ds-page-head,.sd-rd-news-date) {
  gap: 8px 16px;
  margin: 0 0 16px;
  padding: 0;
  min-width: 0;
  flex-wrap: wrap;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh :is(.sd-rd-toolbar form,.sd-rd-date-jump,.sd-rd-news-date form) {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
  max-width: 100%;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .sd-rd-toolbar input[type=search] {
  width: min(100%, 240px);
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .txt-up { color: var(--up-red) !important; font-weight: 800; font-style: normal; }
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .txt-down { color: var(--down-blue) !important; font-weight: 800; font-style: normal; }

/* ==========================================================================
   BLOG / REPORT ARCHIVE (blog/index.php) - NEW HTML STRUCTURE
   ========================================================================== */

/* 1. Archive Header & KPI Stat Grid */
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .archive-Header {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 16px;
  padding: 20px 24px;
  margin-bottom: 14px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, #0f172a 0%, #172554 58%, #1e3a8a 100%);
  color: #ffffff;
  box-shadow: var(--shadow-md);
  align-items: center;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .archive-Header__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.24);
  border: 1px solid rgba(147, 197, 253, 0.35);
  color: #bfdbfe;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.03em;
  margin-bottom: 8px;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .archive-Header__titleRow {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .archive-Header__title {
  margin: 0 !important;
  font-size: 24px !important;
  font-weight: 900 !important;
  letter-spacing: -0.03em;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .archive-Header__count {
  font-size: 13px;
  font-weight: 800;
  color: #93c5fd;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .archive-Header__desc {
  margin: 0 !important;
  font-size: 13.5px !important;
  color: #cbd5e1 !important;
  line-height: 1.55 !important;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .archive-StatGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .archive-StatCard {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 10px 12px;
  min-height: 70px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffffff !important;
  text-decoration: none !important;
  text-align: left;
  transition: background 0.15s ease, border-color 0.15s ease;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .archive-StatCard:hover,
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .archive-StatCard.is-active {
  background: rgba(37, 99, 235, 0.52);
  border-color: #60a5fa;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .archive-StatCard__label {
  font-size: 11px;
  color: #cbd5e1;
  font-weight: 700;
  line-height: 1.35;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .archive-StatCard__val {
  font-size: 17px;
  font-weight: 900;
  color: #ffffff;
  margin-top: 4px;
}

/* 2. Spotlight Grid: Left Lead Report Card + Right Top 5 Ranking Card */
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .spotlight-Grid {
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(280px, 0.98fr);
  gap: 14px;
  align-items: stretch;
  margin-bottom: 14px;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .lead-ReportCard {
  display: grid;
  grid-template-columns: 184px minmax(0, 1fr);
  border-radius: var(--radius-xl);
  background: var(--bg-surface);
  border: 1px solid #cbd5e1;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  height: 100%;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .lead-ReportCard__visual {
  position: relative;
  background: linear-gradient(145deg, #0b1936 0%, #1d4ed8 100%);
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #ffffff;
  min-height: 220px;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .lead-ReportCard__ribbon {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 6px;
  height: 24px;
  padding: 0 9px;
  border-radius: 6px;
  background: #2563eb;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .lead-ReportCard__chartBox {
  margin: auto 0;
  padding: 12px;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .lead-ReportCard__chartTicker {
  font-size: 11.5px;
  color: #93c5fd;
  font-weight: 800;
  margin-bottom: 3px;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .lead-ReportCard__chartPrice {
  font-size: 15px;
  font-weight: 900;
  color: #ffffff;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .lead-ReportCard__visualFoot {
  font-size: 11px;
  color: #e2e8f0;
  display: flex;
  justify-content: space-between;
  gap: 6px;
  font-weight: 700;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .lead-ReportCard__body {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .lead-ReportCard__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .badge-Group {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .cat-Badge {
  display: inline-flex;
  align-items: center;
  height: 23px;
  padding: 0 8px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 800;
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
  text-decoration: none !important;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .cat-Badge--nasdaq {
  background: #fdf2f8;
  color: #be185d;
  border-color: #fbcfe8;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .cat-Badge--kospi {
  background: #ecfdf5;
  color: #047857;
  border-color: #a7f3d0;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .cat-Badge--world {
  background: #f5f3ff;
  color: #6d28d9;
  border-color: #ddd6fe;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .stock-Pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 23px;
  padding: 0 8px;
  border-radius: 6px;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  color: var(--ink-800);
  font-size: 11.5px;
  font-weight: 800;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .lead-ReportCard__title {
  margin: 0 !important;
  font-size: 18px !important;
  font-weight: 900 !important;
  line-height: 1.4 !important;
  letter-spacing: -0.02em;
  color: var(--ink-900) !important;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .lead-ReportCard__title a {
  color: var(--ink-900) !important;
  text-decoration: none !important;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .lead-ReportCard__title a:hover {
  color: var(--brand-700) !important;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .lead-ReportCard__bullets {
  margin: 0;
  list-style: none;
  display: grid;
  gap: 5px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid var(--line-200);
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .lead-ReportCard__bullets li {
  position: relative;
  padding-left: 12px;
  font-size: 12.5px;
  color: var(--ink-800);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .lead-ReportCard__bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand-600);
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .lead-ReportCard__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--line-200);
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .lead-ReportCard__Metrics {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .metric-Chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 24px;
  padding: 0 8px;
  border-radius: 6px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  font-size: 11.5px;
  color: var(--ink-600);
  font-weight: 700;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .metric-Chip strong {
  color: var(--brand-700);
  font-weight: 800;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .btn-Primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 32px !important;
  height: 32px !important;
  padding: 0 12px !important;
  border-radius: 8px;
  background: var(--brand-600);
  color: #ffffff !important;
  font-size: 12.5px;
  font-weight: 800;
  text-decoration: none !important;
  transition: background 0.15s ease;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .btn-Primary:hover {
  background: var(--brand-700);
}

/* Right Ranking Card */
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .ranking-Card {
  border-radius: var(--radius-xl);
  background: var(--bg-surface);
  border: 1px solid #cbd5e1;
  box-shadow: var(--shadow-sm);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .ranking-Card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-200);
  margin-bottom: 10px;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .ranking-Card__title {
  margin: 0 !important;
  font-size: 15px !important;
  font-weight: 900 !important;
  color: var(--ink-900) !important;
  white-space: nowrap;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .ranking-Tabs {
  display: inline-flex;
  padding: 2px;
  border-radius: 8px;
  background: #f1f5f9;
  gap: 2px;
  flex-shrink: 0;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .ranking-Tab {
  min-height: 24px !important;
  height: 24px !important;
  padding: 0 8px !important;
  border: 0;
  border-radius: 6px;
  background: transparent;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ink-600);
  white-space: nowrap;
  cursor: pointer;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .ranking-Tab.is-active {
  background: #ffffff;
  color: var(--brand-700);
  font-weight: 800;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .ranking-List {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
  flex: 1;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .ranking-List[hidden] {
  display: none !important;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .ranking-Item {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 7px 9px;
  border-radius: 8px;
  background: var(--bg-subtle);
  border: 1px solid #eef2f7;
  text-decoration: none !important;
  transition: border-color 0.15s ease, background 0.15s ease;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .ranking-Item:hover {
  border-color: #93c5fd;
  background: var(--bg-soft-blue);
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .ranking-Item__num {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: #dbeafe;
  color: #1d4ed8;
  font-size: 11.5px;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .ranking-Item__title {
  font-size: 13px;
  font-weight: 800;
  color: var(--ink-900);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .ranking-Item__meta {
  font-size: 11px;
  color: var(--ink-500);
  font-weight: 700;
  white-space: nowrap;
}

/* 3. Filter & Search Toolbar */
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .filter-Toolbar {
  border-radius: var(--radius-xl);
  background: var(--bg-surface);
  border: 1px solid #cbd5e1;
  padding: 13px 16px;
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: var(--shadow-sm);
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .filter-Toolbar__rowTop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .cat-FilterBar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .cat-FilterBtn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 32px;
  padding: 0 11px;
  border-radius: 8px;
  background: #f8fafc;
  border: 1px solid var(--line-200);
  color: var(--ink-600) !important;
  font-size: 12.5px;
  font-weight: 800;
  text-decoration: none !important;
  transition: all 0.15s ease;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .cat-FilterBtn em {
  font-style: normal;
  font-size: 11px;
  color: var(--ink-400);
  font-weight: 800;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .cat-FilterBtn.is-active {
  background: var(--ink-900);
  border-color: var(--ink-900);
  color: #ffffff !important;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .cat-FilterBtn.is-active em {
  color: #93c5fd;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .search-AndSort {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  flex: 1 1 320px;
  justify-content: flex-end;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .search-Box {
  position: relative;
  flex: 1 1 200px;
  max-width: 280px;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .search-Box input {
  width: 100%;
  min-height: 34px !important;
  height: 34px !important;
  padding: 0 12px 0 32px !important;
  border-radius: 8px !important;
  border: 1px solid var(--line-300) !important;
  background: #f8fafc !important;
  font-size: 12.5px !important;
  color: var(--ink-900);
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .search-Box svg {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-400);
  pointer-events: none;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .sort-Group {
  display: inline-flex;
  padding: 2px;
  border-radius: 8px;
  background: #f1f5f9;
  border: 1px solid var(--line-200);
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .sort-Btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px !important;
  height: 28px !important;
  padding: 0 9px !important;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-600) !important;
  text-decoration: none !important;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .sort-Btn.is-active {
  background: #ffffff;
  color: var(--brand-700) !important;
  font-weight: 800;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .view-Toggle {
  display: inline-flex;
  padding: 2px;
  border-radius: 8px;
  background: #f1f5f9;
  border: 1px solid var(--line-200);
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .view-ToggleBtn {
  min-height: 28px !important;
  height: 28px !important;
  padding: 0 9px !important;
  border: 0;
  background: transparent;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
  color: var(--ink-600);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .view-ToggleBtn.is-active {
  background: #ffffff;
  color: var(--ink-900);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .filter-Toolbar__rowBottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 9px;
  border-top: 1px solid #eef2f7;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .tag-QuickList {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .tag-QuickList__label {
  font-size: 11.5px;
  font-weight: 800;
  color: var(--ink-500);
  margin-right: 3px;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .tag-Chip {
  height: 25px;
  padding: 0 9px;
  border-radius: 999px;
  background: #f8fafc;
  border: 1px solid var(--line-200);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ink-600) !important;
  display: inline-flex;
  align-items: center;
  text-decoration: none !important;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .tag-Chip:hover,
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .tag-Chip.is-active {
  border-color: #93c5fd;
  color: var(--brand-700) !important;
  background: var(--bg-soft-blue);
  font-weight: 800;
}

/* 4. Report Archive Card Grid (Equal-Height 2-Column Bento & 1-Column List Mode) */
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .report-Grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .report-Grid.is-list-mode {
  grid-template-columns: minmax(0, 1fr);
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .report-Card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: var(--radius-xl);
  background: var(--bg-surface);
  border: 1px solid #d5e0ee;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  overflow: hidden;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .report-Card:hover {
  transform: translateY(-2px);
  border-color: #60a5fa;
  box-shadow: var(--shadow-md);
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .report-Card__linkWrap {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding: 16px 18px;
  gap: 10px;
  text-decoration: none !important;
  color: inherit !important;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .report-Card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .report-Card__time {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ink-500);
  text-decoration: none !important;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .report-Card__main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 108px;
  gap: 12px;
  align-items: start;
  flex: 1;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .report-Card__title {
  margin: 0 0 6px !important;
  font-size: 16.5px !important;
  font-weight: 900 !important;
  line-height: 1.4 !important;
  letter-spacing: -0.02em;
  color: var(--ink-900) !important;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .report-Card:hover .report-Card__title {
  color: var(--brand-700) !important;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .report-Card__summary {
  margin: 0 !important;
  font-size: 13px !important;
  color: var(--ink-600) !important;
  line-height: 1.55 !important;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .report-Card__thumb {
  width: 108px;
  height: 82px;
  border-radius: 10px;
  background: linear-gradient(135deg, #0f172a, #1e3a8a);
  border: 1px solid var(--line-200);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  overflow: hidden;
  text-align: center;
  flex-shrink: 0;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .report-Card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .report-Card__thumb strong {
  font-size: 12px;
  font-weight: 900;
  color: #93c5fd;
  padding: 0 6px;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .report-Card__thumb span {
  font-size: 10.5px;
  color: #e2e8f0;
  margin-top: 2px;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .report-Card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 9px;
  border-top: 1px solid #eef2f7;
  margin-top: auto;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .report-Card__stats {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ink-500);
}


/* ==========================================================================
   POST DETAIL PAGE (post.php) - NEW HTML STRUCTURE
   ========================================================================== */

html.ds-theme body .sd-reading-refresh.sd-reading-refresh .breadcrumb-Bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-500);
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .breadcrumb-Bar__links {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .breadcrumb-Bar__links a {
  color: var(--ink-600) !important;
  text-decoration: none !important;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .breadcrumb-Bar__links a:hover {
  color: var(--brand-700) !important;
}

/* Article Header Card + Target Stock Snapshot Strip */
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .article-HeaderCard {
  border-radius: var(--radius-xl);
  background: var(--bg-surface);
  border: 1px solid #cbd5e1;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  margin-bottom: 16px;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .article-HeaderCard__top {
  padding: 20px 24px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .article-HeaderCard__badges {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .article-HeaderCard__title {
  margin: 0 !important;
  font-size: 24px !important;
  font-weight: 900 !important;
  line-height: 1.36 !important;
  letter-spacing: -0.025em;
  color: var(--ink-900) !important;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .article-HeaderCard__subtitle {
  margin: 0 !important;
  font-size: 14.5px !important;
  color: var(--ink-600) !important;
  line-height: 1.6 !important;
  font-weight: 600;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .article-HeaderCard__metaRow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid #eef2f7;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .article-MetaList {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12.5px;
  color: var(--ink-500);
  font-weight: 700;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .article-Actions {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .btn-Tool {
  min-height: 30px !important;
  height: 30px !important;
  padding: 0 10px !important;
  border-radius: 7px;
  border: 1px solid var(--line-300);
  background: #ffffff;
  font-size: 12px;
  font-weight: 800;
  color: var(--ink-800) !important;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  text-decoration: none !important;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .btn-Tool:hover {
  border-color: var(--brand-600);
  color: var(--brand-700) !important;
  background: var(--bg-soft-blue);
}

/* Integrated Stock Snapshot Strip */
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .stock-SnapshotStrip {
  background: linear-gradient(90deg, #f8fafc 0%, #eff6ff 100%);
  border-top: 1px solid #dbeafe;
  padding: 13px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .stock-SnapshotStrip__identity {
  display: flex;
  align-items: center;
  gap: 10px;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .stock-Avatar {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--brand-900);
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .stock-SnapshotStrip__name strong {
  display: block;
  font-size: 14.5px;
  font-weight: 900;
  color: var(--ink-900);
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .stock-SnapshotStrip__name span {
  font-size: 11.5px;
  color: var(--ink-500);
  font-weight: 700;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .stock-SnapshotStrip__metrics {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .snapshot-Metric {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .snapshot-Metric span {
  font-size: 11px;
  color: var(--ink-500);
  font-weight: 700;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .snapshot-Metric strong {
  font-size: 13.5px;
  font-weight: 900;
  color: var(--ink-900);
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .stock-SnapshotStrip__cta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* 2-Column Asymmetric Article Workspace */
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .article-Workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 264px;
  gap: 16px;
  align-items: start;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .article-MainCol {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

/* 3-Line Executive Summary Card */
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .exec-SummaryCard {
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, #f0f7ff 0%, #ffffff 100%);
  border: 1px solid #93c5fd;
  border-left: 4px solid var(--brand-600);
  padding: 16px 20px;
  box-shadow: var(--shadow-sm);
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .exec-SummaryCard__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .exec-SummaryCard__title {
  margin: 0 !important;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px !important;
  font-weight: 900 !important;
  color: #1e3a8a !important;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .exec-SummaryCard__badge {
  font-size: 11px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 999px;
  background: #dbeafe;
  color: #1d4ed8;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .exec-SummaryCard__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .exec-SummaryCard__list li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  font-size: 14px;
  color: var(--ink-800);
  line-height: 1.58;
  font-weight: 600;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .exec-SummaryCard__num {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--brand-600);
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

/* Article Body Card */
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .article-BodyCard {
  border-radius: var(--radius-xl) !important;
  background: var(--bg-surface) !important;
  border: 1px solid #cbd5e1 !important;
  padding: 24px 26px !important;
  box-shadow: var(--shadow-sm) !important;
  font-size: var(--prose-size);
  line-height: 1.84;
  color: var(--ink-800);
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .article-BodyCard .ds-post-prose {
  max-width: none !important;
  font-size: var(--prose-size) !important;
  line-height: 1.84 !important;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .prose-Heading {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 19px !important;
  font-weight: 900 !important;
  color: var(--ink-900) !important;
  margin: 26px 0 12px !important;
  padding-bottom: 8px !important;
  border-bottom: 2px solid var(--line-200) !important;
  scroll-margin-top: 84px;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .prose-Heading__num {
  padding: 2px 8px;
  border-radius: 6px;
  background: #0f172a;
  color: #93c5fd;
  font-size: 12px;
  font-weight: 900;
}

/* Sources Box */
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .article-SourcesBox {
  margin-top: 22px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid var(--line-200);
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .article-SourcesBox__title {
  font-size: 13px;
  font-weight: 800;
  color: var(--ink-900);
  margin-bottom: 8px;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .article-SourcesBox__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .article-SourcesBox__list a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-600) !important;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .article-SourcesBox__list a:hover {
  text-decoration: underline !important;
}

/* Reader Vote Card */
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .article-FeedbackCard {
  border-radius: var(--radius-xl);
  background: var(--bg-surface);
  border: 1px solid #cbd5e1;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .article-FeedbackCard__copy strong {
  display: block;
  font-size: 15px;
  font-weight: 900;
  color: var(--ink-900);
  margin-bottom: 2px;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .article-FeedbackCard__copy span {
  font-size: 12.5px;
  color: var(--ink-500);
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .vote-BtnGroup {
  display: flex;
  gap: 8px;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .vote-PillBtn {
  min-height: 36px !important;
  height: 36px !important;
  padding: 0 14px !important;
  border-radius: 999px;
  border: 1px solid var(--line-300);
  background: #f8fafc;
  font-size: 13px;
  font-weight: 800;
  color: var(--ink-800);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .vote-PillBtn:hover {
  border-color: var(--brand-600);
  color: var(--brand-700);
  background: var(--bg-soft-blue);
}

/* Sticky Right Sidebar Rail */
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .article-StickyRail {
  position: sticky;
  top: 84px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .rail-Widget {
  border-radius: var(--radius-xl);
  background: var(--bg-surface);
  border: 1px solid #cbd5e1;
  padding: 15px 16px;
  box-shadow: var(--shadow-sm);
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .rail-Widget__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 9px;
  margin-bottom: 10px;
  border-bottom: 1px solid #eef2f7;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .rail-Widget__title {
  margin: 0 !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  color: var(--ink-900) !important;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .toc-List {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 5px;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .toc-Link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 9px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-600) !important;
  background: #f8fafc;
  text-decoration: none !important;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .toc-Link.is-active,
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .toc-Link:hover {
  background: var(--bg-soft-blue);
  color: var(--brand-700) !important;
  font-weight: 800;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .toc-Link__num {
  width: 20px;
  height: 20px;
  border-radius: 5px;
  background: #dbeafe;
  color: #1d4ed8;
  font-size: 11px;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .rail-RelatedList {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 7px;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .rail-RelatedItem {
  display: block;
  padding: 9px 11px;
  border-radius: 9px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  text-decoration: none !important;
  transition: border-color 0.15s ease, background 0.15s ease;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .rail-RelatedItem:hover {
  border-color: #93c5fd;
  background: var(--bg-soft-blue);
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .rail-RelatedItem strong {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--ink-900);
  line-height: 1.42;
  margin-bottom: 3px;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .rail-RelatedItem span {
  font-size: 11px;
  color: var(--ink-500);
  font-weight: 700;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .rail-StockList {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .rail-StockItem {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 9px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  text-decoration: none !important;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .rail-StockItem:hover {
  border-color: #93c5fd;
  background: var(--bg-soft-blue);
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .rail-StockItem strong {
  display: block;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--ink-900);
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .rail-StockItem small {
  font-size: 11px;
  color: var(--ink-500);
  font-weight: 700;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .rail-ToolLinks {
  display: grid;
  gap: 6px;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .rail-ToolBtn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 11px;
  border-radius: 9px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--ink-800) !important;
  text-decoration: none !important;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .rail-ToolBtn:hover {
  border-color: var(--brand-600);
  color: var(--brand-700) !important;
  background: var(--bg-soft-blue);
}


/* ==========================================================================
   DATE-BASED NEWS & INSIGHT ARCHIVE RULES (PRESERVED)
   ========================================================================== */
html.ds-theme body .sd-reading-refresh.sd-reading-refresh :is(.sd-news-row,.sd-insight-card,.sd-insight-featured,.sd-news-featured) {
  display: grid; grid-template-columns: minmax(0,1fr) !important; min-width: 0; gap: 8px;
  padding: 14px 0 !important; border: 0; border-bottom: 1px solid var(--reading-line);
  border-radius: 0; background: transparent; box-shadow: none;
}
html.ds-theme body .sd-reading-refresh.sd-reading-refresh :is(.sd-news-row,.sd-insight-card,.sd-insight-featured,.sd-news-featured) > :is(.ds-thumb,.sd-insight-card__thumb) { display: none; }
html.ds-theme body .sd-reading-refresh.sd-reading-refresh :is(.sd-news-row strong,.sd-insight-card strong,.sd-insight-featured__title,.sd-news-featured strong) { color: var(--reading-ink); font-size: 17px !important; line-height: 1.6; -webkit-line-clamp: unset; overflow: visible; }
html.ds-theme body .sd-reading-refresh.sd-reading-refresh :is(.sd-news-row p,.sd-insight-card p,.sd-insight-featured p,.sd-news-featured p) { color: var(--reading-muted); font-size: 15px !important; line-height: 1.75; margin: 6px 0; -webkit-line-clamp: unset; overflow: visible; }
html.ds-theme body .sd-reading-refresh.sd-reading-refresh :is(.sd-news-row time,.sd-insight-card time) { color: var(--reading-muted); font-size: 13px; }
html.ds-theme body .sd-reading-refresh.sd-reading-refresh :is(.sd-rd-section-heading,.sd-news-detail__section-head) { margin: 16px 0 8px; padding: 0; }
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .sd-rd-section-heading .ds-kicker { display: none; }
html.ds-theme body .sd-reading-refresh.sd-reading-refresh :is(.sd-rd-section-heading h2,.sd-news-detail__section-head h2) { font-size: 19px; line-height: 1.5; margin: 0; }
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .sd-insight-cards { grid-template-columns: minmax(0,1fr); gap: 0; }
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .sd-v2-news-calendar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 0 0 16px; padding: 8px 0; background: transparent; border: 0; }
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .sd-v2-news-calendar__label { display: none; }
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .sd-v2-news-calendar__days { display: flex; flex-wrap: wrap; gap: 6px; }
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .sd-v2-news-calendar__day { display: inline-flex; align-items: center; gap: 5px; width: auto; min-height: 38px; padding: 6px 9px; }
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .sd-v2-news-calendar__day strong { font-size: 16px; }
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .sd-v2-news-calendar__day span { font-size: 13px; }
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .ds-date-pick { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; align-items: center; }
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .sd-reading-archive-extra { margin: 20px 0 0; border-top: 1px solid var(--reading-line); padding-top: 8px; }
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .sd-reading-archive-extra > summary { padding: 8px 0; font-size: 15px; cursor: pointer; }
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .sd-news-hero .ds-lead { display: none; }
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .sd-rd-news-date h2 { font-size: 21px; margin: 0; line-height: 1.5; }
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .sd-rd-news-date :is(p,.ds-kicker) { display: none; }
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .sd-v2-news-totals { gap: 8px 16px; padding: 10px 0; margin: 0 0 8px; background: transparent; border: 0; font-size: 14px; flex-wrap: wrap; }
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .sd-news-detail__row { display: grid; grid-template-columns: minmax(0,1fr) !important; gap: 20px; }
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .sd-news-card { display: block !important; padding: 16px 0 !important; margin: 0; border: 0; border-bottom: 1px solid var(--reading-line); border-radius: 0; box-shadow: none; }
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .sd-news-card > .ds-thumb { display: none; }
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .sd-news-card__title,
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .sd-news-card__title a { font-size: 17px !important; line-height: 1.6 !important; margin: 8px 0; }
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .sd-news-card__body { color: var(--reading-ink); font-size: 15px !important; line-height: 1.8 !important; margin: 8px 0 0; }
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .sd-news-detail__quote { margin: 20px 0; padding: 16px !important; }
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .sd-news-detail__quote-text { font-size: 16px; line-height: 1.8; }
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .sd-v2-insight-layout { display: grid; grid-template-columns: minmax(0,1fr) !important; gap: 20px; }
html.ds-theme body .sd-reading-refresh.sd-reading-refresh :is(.sd-market-insight__summary-card,.sd-market-insight__movers,.sd-market-insight__watch,.sd-market-insight__risk-box) { padding: 16px !important; margin-top: 16px; }
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .sd-market-insight__block-title { font-size: 17px; line-height: 1.5; margin-bottom: 10px; }
html.ds-theme body .sd-reading-refresh.sd-reading-refresh :is(.sd-market-insight__summary,.sd-market-insight__mini-card p,.sd-market-insight__watch li,.sd-market-insight__risk) { font-size: 16px; line-height: 1.8; }
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .sd-market-insight__mini-grid { display: grid; grid-template-columns: minmax(0,1fr) !important; gap: 12px; margin-top: 16px; }
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .sd-market-insight__mini-card { padding: 16px; min-width: 0; }
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .sd-market-insight__mini-card h4 { font-size: 18px; margin: 0 0 8px; }
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .sd-market-insight__mover-item { padding: 12px 0; gap: 8px; flex-wrap: wrap; }
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .sd-market-insight__mover-main { min-width: 0; flex-wrap: wrap; gap: 8px; }
html.ds-theme body .sd-reading-refresh.sd-reading-refresh .sd-market-insight__mover-main strong { font-size: 16px; overflow-wrap: anywhere; }

@container ds-reading-page (min-width: 720px) {
  html.ds-theme body .sd-reading-refresh.sd-reading-refresh .sd-news-detail__row { grid-template-columns: repeat(2,minmax(0,1fr)) !important; gap: 24px; }
  html.ds-theme body .sd-reading-refresh.sd-reading-refresh .sd-market-insight__mini-grid { grid-template-columns: repeat(3,minmax(0,1fr)) !important; }
}

@container ds-reading-page (max-width: 780px) {
  html.ds-theme body .sd-reading-refresh.sd-reading-refresh .archive-Header,
  html.ds-theme body .sd-reading-refresh.sd-reading-refresh .spotlight-Grid,
  html.ds-theme body .sd-reading-refresh.sd-reading-refresh .article-Workspace {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  html.ds-theme body .sd-reading-refresh.sd-reading-refresh .article-StickyRail {
    position: static;
  }
}

@media (max-width: 767px) {
  html.ds-theme body .sd-reading-refresh.sd-reading-refresh .archive-Header {
    grid-template-columns: minmax(0, 1fr) !important;
    padding: 16px !important;
  }
  html.ds-theme body .sd-reading-refresh.sd-reading-refresh .archive-Header__title {
    font-size: 20px !important;
  }
  html.ds-theme body .sd-reading-refresh.sd-reading-refresh .spotlight-Grid,
  html.ds-theme body .sd-reading-refresh.sd-reading-refresh .report-Grid,
  html.ds-theme body .sd-reading-refresh.sd-reading-refresh .article-Workspace {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  html.ds-theme body .sd-reading-refresh.sd-reading-refresh .lead-ReportCard {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  html.ds-theme body .sd-reading-refresh.sd-reading-refresh .lead-ReportCard__visual {
    min-height: 150px;
  }
  html.ds-theme body .sd-reading-refresh.sd-reading-refresh .report-Card__main {
    grid-template-columns: minmax(0, 1fr) 88px !important;
  }
  html.ds-theme body .sd-reading-refresh.sd-reading-refresh .report-Card__thumb {
    width: 88px !important;
    height: 72px !important;
  }
  html.ds-theme body .sd-reading-refresh.sd-reading-refresh .article-HeaderCard__top,
  html.ds-theme body .sd-reading-refresh.sd-reading-refresh .stock-SnapshotStrip,
  html.ds-theme body .sd-reading-refresh.sd-reading-refresh .article-BodyCard {
    padding: 16px !important;
  }
  html.ds-theme body .sd-reading-refresh.sd-reading-refresh .article-HeaderCard__title {
    font-size: 20px !important;
  }
  html.ds-theme body .sd-reading-refresh.sd-reading-refresh :is(.sd-rd-toolbar,.sd-rd-news-date) { align-items: flex-start; }
  html.ds-theme body .sd-reading-refresh.sd-reading-refresh .sd-rd-toolbar form { width: 100%; }
  html.ds-theme body .sd-reading-refresh.sd-reading-refresh .sd-rd-toolbar input[type=search] { flex: 1; width: 0; }
}

html.ds-theme body.sd-rd--briefing .ds-content-frame .sd-bf--page.ds-card {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 0 24px !important;
}

.sd-bf--page .sd-bf-hero.bf2-head-wrap {
    gap: 10px;
    padding: 0 0 12px;
    margin-bottom: 12px;
    border-bottom: 0;
}

.sd-bf--page .sd-bf-heading {
    align-items: center;
    gap: 8px 10px;
}

.sd-bf--page .sd-bf-heading h1 {
    margin: 0;
    font-size: 22px;
    font-weight: 900;
    letter-spacing: -0.03em;
    color: #0f172a;
    line-height: 1.25;
}

.bf2-live-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #047857;
    font-size: 11.5px;
    font-weight: 800;
    white-space: nowrap;
}

.sd-bf--page .sd-bf-edition {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid #e4ebf4;
    font-size: 11.5px;
    font-weight: 700;
    color: #334155;
    font-variant-numeric: tabular-nums;
}

.sd-bf--page .sd-bf-edition time {
    padding: 0;
    background: transparent;
    color: #0f172a;
    font-size: 11.5px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.sd-bf--page .sd-bf-updated {
    color: #64748b;
    font-size: 11.5px;
    font-weight: 650;
}

.sd-bf--page .sd-bf-date-picker > summary {
    min-height: 34px;
    padding: 0 12px;
    border-radius: 10px;
    border-color: #d5e0ee;
    font-size: 12px;
    font-weight: 750;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
}

.sd-bf--page .sd-bf-archive .ds-chip {
    min-height: 30px;
    padding: 0 11px;
    border-color: #e4ebf4;
    background: #ffffff;
    color: #334155;
    font-size: 12px;
    font-weight: 700;
}

.sd-bf--page .sd-bf-archive .ds-chip.is-active {
    background: #0f172a;
    border-color: #0f172a;
    color: #ffffff;
    font-weight: 800;
}

.sd-bf--page .sd-bf-tldr {
    margin: 0 0 12px;
    padding: 15px 17px;
    border-radius: 18px;
    background: linear-gradient(145deg, #eff6ff 0%, #e0f2fe 48%, #eef2ff 100%);
    border: 1px solid #bfdbfe;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.035);
}

.sd-bf--page .sd-bf-tldr__head {
    margin-bottom: 11px;
    gap: 8px;
}

.sd-bf--page .sd-bf-tldr__kicker {
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    color: #1d4ed8;
    font-size: 11.5px;
    font-weight: 850;
    margin: 0;
}

.sd-bf--page .sd-bf-session-pill {
    padding: 4px 10px;
    border-color: rgba(37, 99, 235, 0.2);
    background: rgba(255, 255, 255, 0.86);
    color: #1e3a8a;
    font-size: 11.5px;
    font-weight: 750;
}

.sd-bf--page .sd-bf-session-pill:hover {
    background: #1d4ed8;
    border-color: #1d4ed8;
    color: #ffffff;
}

.sd-bf--page .sd-bf-tldr__body {
    grid-template-columns: minmax(0, 1.45fr) minmax(240px, 1fr);
    gap: 11px;
    align-items: stretch;
}

.bf2-glass-box {
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.96);
    border-radius: 14px;
    padding: 12px 14px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
    min-width: 0;
}

.sd-bf--page .sd-bf-tldr__bullets {
    gap: 9px;
}

.sd-bf--page .sd-bf-tldr__bullets li {
    display: grid;
    grid-template-columns: 22px auto minmax(0, 1fr);
    align-items: start;
    gap: 7px;
    font-size: 13px;
    line-height: 1.46;
    word-break: keep-all;
}

.bf2-num-badge {
    width: 22px;
    height: 22px;
    border-radius: 7px;
    background: #dbeafe;
    color: #1d4ed8;
    font-size: 11px;
    font-weight: 900;
    font-variant-numeric: tabular-nums;
    display: inline-grid;
    place-items: center;
    margin-top: 1px;
}

.sd-bf--page .sd-bf-tldr__tag {
    padding: 2px 7px;
    border-radius: 6px;
    font-size: 10.5px;
    font-weight: 800;
    margin-top: 2px;
    white-space: nowrap;
}

.bf2-tag--blue {
    background: #eff6ff !important;
    color: #1d4ed8 !important;
    border: 1px solid #bfdbfe;
}

.bf2-tag--violet {
    background: #f5f3ff !important;
    color: #6d28d9 !important;
    border: 1px solid #ddd6fe;
}

.sd-bf--page .sd-bf-tldr__link {
    font-weight: 700;
    color: #0f172a;
    line-height: 1.46;
    word-break: keep-all;
}

.sd-bf--page .sd-bf-tldr__countdown {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, 0.96);
    background: rgba(255, 255, 255, 0.88);
    border-radius: 14px;
    padding: 11px 13px;
}

.sd-bf--page .sd-bf-tldr__countdown > .bf2-ico {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 34px;
    height: 34px;
    padding: 0 !important;
    gap: 0 !important;
    font-size: 16px;
    flex: 0 0 34px;
}

.bf2-dday-copy {
    min-width: 0;
    flex: 1 1 auto;
}

.bf2-dday-copy span {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
}

.bf2-dday-copy strong {
    display: block;
    font-size: 13px;
    font-weight: 850;
    color: #0f172a;
    margin: 2px 0;
    word-break: keep-all;
}

.bf2-dday-copy small {
    display: block;
    font-size: 11.5px;
    color: #1d4ed8;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.bf2-tickers-card {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bf2-tickers-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    margin-bottom: 7px;
    font-size: 11px;
    font-weight: 800;
    color: #64748b;
}

.bf2-tickers-head small {
    font-size: 10.5px;
    font-weight: 650;
    color: #94a3b8;
}

.sd-bf--page .sd-bf-quote-chip {
    padding: 4px 8px;
    border-radius: 9px;
    border: 1px solid #dbe4f0;
    background: #ffffff;
    font-size: 11.5px;
    font-weight: 700;
    color: #0f172a;
    gap: 5px;
    transition: border-color 0.14s ease, transform 0.14s ease;
}

.sd-bf--page .sd-bf-quote-chip:hover {
    border-color: #93c5fd;
    transform: translateY(-1px);
}

.bf2-chg {
    font-style: normal;
    font-weight: 850;
    font-size: 11px;
    padding: 1px 5px;
    border-radius: 5px;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.bf2-chg--up {
    background: #ffe4e6 !important;
    color: #e11d48 !important;
}

.bf2-chg--down {
    background: #dbeafe !important;
    color: #2563eb !important;
}

.bf2-chg--flat {
    background: #f1f5f9 !important;
    color: #475569 !important;
}

.bf2-ico {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: inline-grid;
    place-items: center;
    font-size: 15px;
    flex-shrink: 0;
}

.bf2-ico--blue {
    background: #eff6ff !important;
    color: #1d4ed8 !important;
    border: 1px solid #bfdbfe;
}

.bf2-ico--violet {
    background: #f5f3ff !important;
    color: #6d28d9 !important;
    border: 1px solid #ddd6fe;
}

.bf2-ico--mint {
    background: #ecfdf5 !important;
    color: #047857 !important;
    border: 1px solid #a7f3d0;
}

.bf2-ico--rose {
    background: #fff1f2 !important;
    color: #e11d48 !important;
    border: 1px solid #fecdd3;
}

.bf2-ico--amber {
    background: #fffbeb !important;
    color: #d97706 !important;
    border: 1px solid #fde68a;
}

.sd-bf--page .sd-bf-kpi-grid {
    gap: 10px;
    margin-bottom: 12px;
}

.sd-bf--page .sd-bf-kpi-card {
    border-radius: 15px;
    padding: 12px 13px;
    min-height: 100px;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
}

.sd-bf--page .sd-bf-kpi-card.bf2-kpi--blue {
    background: linear-gradient(155deg, #f5f9ff 0%, #ffffff 65%);
    border-color: #cfe0fc;
}

.sd-bf--page .sd-bf-kpi-card.bf2-kpi--violet {
    background: linear-gradient(155deg, #f9f7ff 0%, #ffffff 65%);
    border-color: #e2d9fd;
}

.sd-bf--page .sd-bf-kpi-card.bf2-kpi--amber {
    background: linear-gradient(155deg, #fffcf2 0%, #ffffff 65%);
    border-color: #fde68a;
}

.sd-bf--page .sd-bf-kpi-card.bf2-kpi--mint {
    background: linear-gradient(155deg, #f3fcf8 0%, #ffffff 65%);
    border-color: #b7f0d8;
}

.sd-bf--page .sd-bf-kpi-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    font-size: 13px;
}

.sd-bf--page .sd-bf-kpi-etf {
    gap: 5px;
}

.sd-bf--page .sd-bf-kpi-etf-row {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr) auto;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
}

.sd-bf--page .sd-bf-kpi-etf-tag {
    background: #0f172a;
    color: #ffffff;
    font-size: 10px;
    font-weight: 850;
    text-align: center;
    padding: 1px 4px;
}

.bf2-etf-bar {
    height: 6px;
    border-radius: 999px;
    background: #e2e8f0;
    overflow: hidden;
    display: block;
}

.bf2-etf-bar i {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: #64748b;
}

.bf2-etf-bar i.bf2-flow--in {
    background: #e11d48;
}

.bf2-etf-bar i.bf2-flow--out {
    background: #2563eb;
}

.sd-bf--page .sd-bf-kpi-etf-row strong.bf2-flow--in,
.sd-bf--page .sd-bf-flow-value.is-inflow,
.sd-bf--page .sd-bf-funds td.is-pos {
    color: #e11d48 !important;
}

.sd-bf--page .sd-bf-kpi-etf-row strong.bf2-flow--out,
.sd-bf--page .sd-bf-flow-value.is-outflow,
.sd-bf--page .sd-bf-funds td.is-neg {
    color: #2563eb !important;
}

.sd-bf--page .sd-bf-tabs {
    padding: 4px;
    gap: 5px;
    border-radius: 13px;
    background: #eaf0f8;
    border: 1px solid #dce5f2;
    margin-bottom: 12px;
}

.sd-bf--page .sd-bf-tabs button {
    min-height: 36px;
    border-radius: 9px;
    font-size: 12.5px;
    font-weight: 800;
    color: #475569;
}

.sd-bf--page .sd-bf-tabs button[aria-selected="true"] {
    background: #0f172a;
    border-color: #0f172a;
    color: #ffffff;
    box-shadow: 0 3px 10px rgba(15, 23, 42, 0.16);
}

.sd-bf--page .sd-bf-tabs button[aria-selected="true"] span {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.sd-bf--page .sd-bf-box {
    border-radius: 18px;
    border-color: #e4ebf4;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.035);
}

.sd-bf--page .sd-bf-box-head {
    background: #fbfdff;
    padding: 13px 16px;
    min-height: 62px;
}

.sd-bf--page .sd-bf-box-link {
    border-radius: 8px;
    border-color: #d5e0ee;
    color: #1e293b;
}

.sd-bf--page .sd-bf-box-link:hover {
    border-color: #93c5fd;
    color: #1d4ed8;
    background: #eff6ff;
}

.sd-bf--page .sd-bf-ticker-strip {
    height: auto;
    min-height: 38px;
    flex-wrap: wrap;
    padding: 7px 16px;
    gap: 5px 6px;
    overflow-x: visible;
    background: #f8fafd;
}

.sd-bf--page .sd-bf-strip-note {
    white-space: normal;
    word-break: keep-all;
    line-height: 1.4;
}

.sd-bf--page .sd-bf-item {
    gap: 10px;
    padding: 10px 0;
}

.sd-bf--page .sd-bf-item-head h3 {
    font-size: 14px;
    font-weight: 750;
    line-height: 1.45;
}

.sd-bf--page .sd-bf-more-btn {
    border-radius: 9px;
    min-height: 35px;
    font-size: 12.5px;
    font-weight: 800;
}

.bf2-company-fill {
    margin-top: auto;
    padding: 11px 12px;
    border-radius: 12px;
    background: linear-gradient(145deg, #f5f3ff 0%, #ffffff 74%);
    border: 1px solid #ddd6fe;
}

.bf2-company-fill__title {
    font-size: 11.5px;
    font-weight: 850;
    color: #5b21b6;
    margin-bottom: 7px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.sd-bf--page .sd-bf-filter-bar {
    border-radius: 15px;
    border-color: #e4ebf4;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
}

.sd-bf--page .sd-bf-filter-chip.is-active {
    background: #0f172a;
    border-color: #0f172a;
}

.sd-bf--page .sd-bf-list-wrap {
    background: #ffffff;
    border: 1px solid #e4ebf4;
    border-radius: 16px;
    padding: 4px 16px;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
}

.sd-bf--page .sd-bf-consensus,
.sd-bf--page .sd-bf-source-health {
    border-radius: 14px;
    border-color: #e4ebf4;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.025);
}

@media (max-width: 960px) {
    .sd-bf--page .sd-bf-tldr__body {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 640px) {
    .sd-bf--page .sd-bf-heading h1 {
        font-size: 19px;
    }
    .sd-bf--page .sd-bf-tldr {
        padding: 13px 14px;
        border-radius: 15px;
    }
    .bf2-glass-box {
        padding: 10px 12px;
    }
    .sd-bf--page .sd-bf-kpi-card {
        min-height: 88px;
        padding: 10px 11px;
    }
    .sd-bf--page .sd-bf-kpi-val strong {
        font-size: 19px;
    }
    .sd-bf--page .sd-bf-box {
        border-radius: 15px;
    }
    .sd-bf--page .sd-bf-box-body {
        padding: 4px 13px 8px;
    }
    .sd-bf--page .sd-bf-ticker-strip {
        padding: 7px 13px;
    }
    .bf2-ico {
        width: 30px;
        height: 30px;
        font-size: 13.5px;
    }
    .sd-bf--page .sd-bf-tldr__countdown > .bf2-ico {
        width: 30px;
        height: 30px;
        flex: 0 0 30px;
        font-size: 14px;
    }
}

/* Public mobile header. Load after the shared and page styles. */
html.ds-theme body .sd-header.ds-header.navbar .ds-mobile-menu-head,
html.ds-theme body .sd-header.ds-header.navbar .ds-mobile-menu-account,
html.ds-theme body .sd-header.ds-header.navbar .ds-mobile-menu-home,
html.ds-theme body .sd-header.ds-header.navbar .ds-mobile-menu-shortcuts,
html.ds-theme body .sd-header.ds-header.navbar .ds-search-close,
html.ds-theme body .sd-header.ds-header.navbar .ds-nav-icon,
html.ds-theme body .sd-header.ds-header.navbar .ds-header-backdrop {
    display: none;
}

@media (max-width: 1099px) {
    html.ds-theme body,
    html.ds-theme body.sd-rd {
        --ds-mobile-safe-top: env(safe-area-inset-top, 0px);
        --ds-mobile-header-h: calc(60px + var(--ds-mobile-safe-top));
        --ds-header-h: var(--ds-mobile-header-h);
        --rd-header-h: var(--ds-mobile-header-h);
    }

    html.ds-theme body .sd-header.ds-header.navbar {
        height: var(--ds-mobile-header-h);
        min-height: var(--ds-mobile-header-h);
        max-height: var(--ds-mobile-header-h);
        padding: var(--ds-mobile-safe-top) 0 0 !important;
        box-sizing: border-box;
        overflow: visible !important;
        border: 0 !important;
        background: #fff !important;
        box-shadow: inset 0 -1px 0 #dce5ef !important;
        backdrop-filter: none;
    }

    html.ds-theme body .sd-header.ds-header.navbar .ds-wrap {
        width: 100% !important;
        max-width: none !important;
        padding: 0 12px !important;
        margin: 0 !important;
        box-sizing: border-box;
    }

    html.ds-theme body .sd-header.ds-header.navbar .ds-header__bar {
        display: grid;
        grid-template-columns: 44px minmax(0, 1fr) auto;
        align-items: center;
        gap: 6px;
        height: 60px;
        min-height: 60px;
        position: static;
    }

    html.ds-theme body .sd-header.ds-header.navbar .ds-logo {
        grid-column: 2;
        grid-row: 1;
        justify-self: center;
        min-width: 0;
        gap: 7px;
        font-size: 17px;
        font-weight: 800;
        line-height: 1.25;
        letter-spacing: -.04em;
        white-space: nowrap;
    }

    html.ds-theme body .sd-header.ds-header.navbar .ds-logo span {
        flex: 0 0 18px;
        width: 18px;
        height: 22px;
        border-radius: 0;
        background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 22'%3E%3Cpath fill='%232564d5' d='M1 13h4v8H1zM7 7h4v14H7zM13 1h4v20h-4z'/%3E%3C/svg%3E") center / 18px 22px no-repeat;
    }

    html.ds-theme body .sd-header.ds-header.navbar .ds-header__tools {
        display: flex;
        grid-column: 3;
        grid-row: 1;
        align-items: center;
        justify-content: flex-end;
        justify-self: end;
        gap: 6px;
        min-width: 0;
    }

    html.ds-theme body .sd-header.ds-header.navbar .ds-icon-btn,
    html.ds-theme body .sd-header.ds-header.navbar .ds-user-link {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 44px;
        height: 44px;
        border-radius: 8px;
        border: 1px solid transparent;
        font-size: 14px;
        line-height: 1;
        box-sizing: border-box;
        color: #18345c !important;
        background: transparent;
    }

    html.ds-theme body .sd-header.ds-header.navbar .ds-icon-btn {
        flex: 0 0 44px;
        width: 44px;
        padding: 0;
    }

    html.ds-theme body .sd-header.ds-header.navbar .ds-icon-btn i {
        font-size: 22px;
        line-height: 1;
    }

    html.ds-theme body .sd-header.ds-header.navbar .ds-search-toggle {
        display: none;
    }

    html.ds-theme body .sd-header.ds-header.navbar .ds-menu-toggle {
        display: inline-flex;
        grid-column: 1;
        grid-row: 1;
        justify-self: start;
    }

    html.ds-theme body .sd-header.ds-header.navbar .ds-header-watch {
        display: none;
    }

    html.ds-theme body .sd-header.ds-header.navbar .ds-user-link[data-ds-account="guest"],
    html.ds-theme body .sd-header.ds-header.navbar .ds-user-link[data-ds-account="admin"] {
        min-width: 60px;
        padding: 0 10px;
        background: #edf3ff;
        color: #16498f !important;
    }

    html.ds-theme body .sd-header.ds-header.navbar .ds-user-link[data-ds-account="guest"] span {
        display: inline;
    }

    html.ds-theme body .sd-header.ds-header.navbar .ds-user-link[data-ds-account="guest"] i {
        display: none;
    }

    html.ds-theme body .sd-header.ds-header.navbar .ds-user-link[data-ds-account="member"] {
        flex: 0 0 44px;
        width: 44px;
        padding: 0;
        background: #edf3ff;
    }

    html.ds-theme body .sd-header.ds-header.navbar .ds-user-link[data-ds-account="member"] span {
        display: none;
    }

    html.ds-theme body .sd-header.ds-header.navbar .ds-user-link[data-ds-account="member"] i {
        font-size: 22px;
    }

    html.ds-theme body .sd-header.ds-header.navbar.is-nav-mounted,
    html.ds-theme body .sd-header.ds-header.navbar.is-nav-open,
    html.ds-theme body .sd-header.ds-header.navbar.is-search-open {
        z-index: 1080;
    }

    html.ds-theme body .sd-header.ds-header.navbar > .ds-header-backdrop {
        position: fixed;
        inset: 0;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        padding: 0;
        margin: 0;
        border: 0;
        border-radius: 0;
        appearance: none;
        background: rgba(18, 35, 59, .42);
        opacity: 0;
        transition: opacity var(--sd-motion-standard, 280ms) var(--sd-motion-ease, ease-out);
        z-index: 30;
    }

    html.ds-theme body .sd-header.ds-header.navbar.is-nav-mounted > .ds-header-backdrop:not([hidden]),
    html.ds-theme body .sd-header.ds-header.navbar.is-search-open > .ds-header-backdrop:not([hidden]) {
        display: block;
    }

    html.ds-theme body .sd-header.ds-header.navbar.is-nav-open > .ds-header-backdrop:not([hidden]),
    html.ds-theme body .sd-header.ds-header.navbar.is-search-open > .ds-header-backdrop:not([hidden]) {
        opacity: 1;
    }

    html.ds-theme body .sd-header.ds-header.navbar > .ds-header-backdrop[hidden] {
        display: none !important;
    }

    html.ds-theme body .sd-header.ds-header.navbar .ds-nav {
        display: none;
    }

    html.ds-theme body .sd-header.ds-header.navbar.is-nav-mounted .ds-nav {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        position: fixed;
        inset: 0 auto 0 0;
        width: min(336px, calc(100vw - 48px));
        max-width: calc(100vw - 48px);
        height: 100vh;
        height: 100dvh;
        max-height: 100dvh;
        box-sizing: border-box;
        margin: 0;
        padding: max(12px, env(safe-area-inset-top, 0px)) 12px calc(16px + env(safe-area-inset-bottom, 0px));
        gap: 2px;
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        border: 0;
        border-radius: 0 12px 12px 0;
        background: #fff;
        box-shadow: 8px 0 36px rgba(18, 35, 59, .18);
        transform: translateX(-100%);
        transition: transform var(--sd-motion-standard, 280ms) var(--sd-motion-ease, cubic-bezier(.22, 1, .36, 1));
        will-change: transform;
        z-index: 40;
    }

    html.ds-theme body .sd-header.ds-header.navbar.is-nav-mounted.is-nav-open .ds-nav {
        transform: translateX(0);
    }

    html.ds-theme body .sd-header.ds-header.navbar .ds-nav::-webkit-scrollbar {
        display: block;
        width: 6px;
    }

    html.ds-theme body .sd-header.ds-header.navbar .ds-nav::-webkit-scrollbar-thumb {
        background: #b9c8da;
        border-radius: 6px;
    }

    html.ds-theme body .sd-header.ds-header.navbar .ds-mobile-menu-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex: 0 0 auto;
        gap: 8px;
        padding: 0 0 8px 8px;
    }

    html.ds-theme body .sd-header.ds-header.navbar .ds-mobile-menu-head strong {
        font-size: 18px;
        font-weight: 750;
        line-height: 1.4;
        color: #182b49;
    }

    html.ds-theme body .sd-header.ds-header.navbar [data-ds-nav-close] {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 44px;
        width: 44px;
        height: 44px;
        padding: 0;
        border: 0;
        border-radius: 8px;
        background: #f1f5fa;
        color: #18345c;
        font-size: 20px;
        line-height: 1;
    }

    html.ds-theme body .sd-header.ds-header.navbar .ds-nav > a,
    html.ds-theme body .sd-header.ds-header.navbar .ds-mobile-menu-shortcuts > a {
        display: flex;
        align-items: center;
        flex: 0 0 auto;
        gap: 10px;
        min-height: 44px;
        width: 100%;
        padding: 10px 12px;
        margin: 0;
        border-radius: 8px;
        color: #293e5e !important;
        font-size: 15px;
        font-weight: 650;
        line-height: 1.5;
        white-space: normal;
        overflow-wrap: anywhere;
        word-break: keep-all;
        max-height: none;
        overflow: visible;
        text-decoration: none !important;
    }

    html.ds-theme body .sd-header.ds-header.navbar .ds-nav a i {
        display: inline-block;
        flex: 0 0 20px;
        width: 20px;
        font-size: 19px;
        line-height: 1;
        text-align: center;
    }

    html.ds-theme body .sd-header.ds-header.navbar .ds-nav-label {
        min-width: 0;
        line-height: 1.5;
        word-break: keep-all;
    }

    html.ds-theme body .sd-header.ds-header.navbar .ds-nav > a:hover,
    html.ds-theme body .sd-header.ds-header.navbar .ds-nav > a.is-active,
    html.ds-theme body .sd-header.ds-header.navbar .ds-mobile-menu-shortcuts > a:hover {
        background: #edf3ff;
        color: #1764c7 !important;
    }

    html.ds-theme body .sd-header.ds-header.navbar .ds-mobile-menu-account {
        display: flex;
        flex: 0 0 auto;
        gap: 8px;
        padding: 10px 0 12px;
        margin-bottom: 6px;
        border-top: 1px solid #e2e9f2;
        border-bottom: 1px solid #e2e9f2;
    }

    html.ds-theme body .sd-header.ds-header.navbar .ds-mobile-menu-account > a {
        display: flex;
        align-items: center;
        justify-content: center;
        flex: 1 1 0;
        gap: 6px;
        min-width: 0;
        min-height: 44px;
        padding: 8px;
        border: 1px solid #dce5ef;
        border-radius: 8px;
        background: #f6f9fd;
        font-size: 14px;
        font-weight: 650;
        color: #18345c !important;
        line-height: 1.5;
        white-space: normal;
        overflow-wrap: anywhere;
        text-decoration: none !important;
    }

    html.ds-theme body .sd-header.ds-header.navbar .ds-mobile-menu-shortcuts {
        display: flex;
        flex-direction: column;
        flex: 0 0 auto;
        gap: 2px;
        margin-top: 12px;
        padding-top: 12px;
        border-top: 1px solid #e2e9f2;
    }

    html.ds-theme body .sd-header.ds-header.navbar .ds-mobile-menu-shortcuts > strong {
        padding: 0 12px 4px;
        font-size: 13px;
        line-height: 1.5;
        color: #52647c;
        font-weight: 650;
    }

    html.ds-theme body .sd-header.ds-header.navbar #sdHeaderSearch.ds-search {
        display: none;
        opacity: 0;
        translate: 0 -12px;
        grid-template-columns: minmax(0, 1fr) 44px 44px;
        align-items: start;
        gap: 8px;
        position: fixed;
        top: var(--ds-mobile-header-h);
        left: 0;
        right: 0;
        width: 100%;
        max-width: none;
        min-width: 0;
        max-height: calc(100vh - var(--ds-mobile-header-h));
        max-height: calc(100dvh - var(--ds-mobile-header-h));
        padding: 12px 12px calc(12px + env(safe-area-inset-bottom, 0px));
        margin: 0;
        box-sizing: border-box;
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
        border: 0;
        border-radius: 0 0 12px 12px;
        background: #fff;
        box-shadow: 0 10px 32px rgba(18, 35, 59, .16);
        z-index: 40;
    }

    html.ds-theme body .sd-header.ds-header.navbar.is-search-open #sdHeaderSearch.ds-search {
        display: grid;
        opacity: 1;
        translate: none;
    }

    @supports (transition-behavior: allow-discrete) {
        html.ds-theme body .sd-header.ds-header.navbar #sdHeaderSearch.ds-search {
            transition: opacity var(--sd-motion-standard, 280ms) var(--sd-motion-ease, ease),
                translate var(--sd-motion-standard, 280ms) var(--sd-motion-ease, ease),
                display var(--sd-motion-standard, 280ms) allow-discrete;
        }
        html.ds-theme body .sd-header.ds-header.navbar > .ds-header-backdrop {
            transition: opacity var(--sd-motion-standard, 280ms) var(--sd-motion-ease, ease),
                display var(--sd-motion-standard, 280ms) allow-discrete;
        }
        @starting-style {
            html.ds-theme body .sd-header.ds-header.navbar.is-search-open #sdHeaderSearch.ds-search {
                opacity: 0;
                translate: 0 -12px;
            }
            html.ds-theme body .sd-header.ds-header.navbar.is-search-open > .ds-header-backdrop:not([hidden]) {
                opacity: 0;
            }
        }
    }

    html.ds-theme body .sd-header.ds-header.navbar #sdHeaderSearch.ds-search > input {
        grid-column: 1;
        grid-row: 1;
        width: 100%;
        min-width: 0;
        height: 44px;
        padding: 0 10px 0 36px;
        border: 1px solid #cdd9e7;
        border-radius: 8px;
        background: #f8faff;
        color: #182b49;
        font-size: 16px;
        line-height: 1.5;
        box-sizing: border-box;
    }

    html.ds-theme body .sd-header.ds-header.navbar #sdHeaderSearch.ds-search > .ds-search__icon {
        position: absolute;
        top: 34px;
        left: 24px;
        width: 18px;
        transform: translateY(-50%);
        color: #63799a;
        font-size: 16px;
        line-height: 1;
        pointer-events: none;
    }

    html.ds-theme body .sd-header.ds-header.navbar #sdHeaderSearch.ds-search > button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        position: static;
        top: auto;
        right: auto;
        left: auto;
        transform: none;
        grid-row: 1;
        width: 44px;
        min-width: 44px;
        height: 44px;
        padding: 0;
        border: 0;
        border-radius: 8px;
        margin: 0;
        font-size: 18px;
        line-height: 1;
    }

    html.ds-theme body .sd-header.ds-header.navbar #sdHeaderSearch.ds-search > button[type="submit"] {
        grid-column: 2;
        background: #1e5fce;
        color: #fff;
    }

    html.ds-theme body .sd-header.ds-header.navbar #sdHeaderSearch.ds-search > [data-ds-search-close] {
        grid-column: 3;
        background: #f1f5fa;
        color: #18345c;
    }

    html.ds-theme body .sd-header.ds-header.navbar #sdHeaderSearch.ds-search .ds-search__panel {
        position: static;
        grid-column: 1 / -1;
        width: 100%;
        min-width: 0;
        max-height: min(420px, calc(100dvh - var(--ds-mobile-header-h) - 92px));
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
        padding: 12px;
        border: 1px solid #dce5ef;
        border-radius: 8px;
        background: #fff;
        box-shadow: none;
    }

    html.ds-theme body .sd-header.ds-header.navbar #sdHeaderSearch.ds-search .ds-search__suggestions {
        max-height: none;
        overflow: visible;
    }

    html.ds-theme body .sd-header.ds-header.navbar #sdHeaderSearch.ds-search .ds-search__panel .ds-chip {
        max-width: 100%;
        min-height: 44px;
        padding: 8px 12px;
        white-space: normal;
        overflow-wrap: anywhere;
        word-break: keep-all;
    }

    html.ds-theme body .sd-header.ds-header.navbar #sdHeaderSearch.ds-search .ds-search__option {
        min-height: 44px;
        padding: 10px 8px;
        gap: 8px;
        font-size: 14px;
        line-height: 1.5;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    html.ds-theme body .sd-header.ds-header.navbar #sdHeaderSearch.ds-search .ds-search__option span,
    html.ds-theme body .sd-header.ds-header.navbar #sdHeaderSearch.ds-search .ds-search__panel small {
        font-size: 12px;
        line-height: 1.5;
    }

    html.ds-theme body .sd-header.ds-header.navbar #sdHeaderSearch.ds-search .ds-search__status,
    html.ds-theme body .sd-header.ds-header.navbar #sdHeaderSearch.ds-search .ds-search__all {
        padding: 10px 8px;
        margin: 0;
        font-size: 14px;
        line-height: 1.6;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    html.ds-theme body.is-header-overlay-open {
        overscroll-behavior: none;
    }

    html.ds-theme body.sd-home-panels .ds-mobile-bottom-nav span {
        font-size: 12px;
        line-height: 1.4;
        white-space: nowrap;
    }

    html.ds-theme body .sd-header.ds-header.navbar a:focus-visible,
    html.ds-theme body .sd-header.ds-header.navbar button:focus-visible,
    html.ds-theme body .sd-header.ds-header.navbar input:focus-visible {
        outline: 3px solid #94b7fa;
        outline-offset: 2px;
    }
}

@media (max-width: 1099px) and (prefers-reduced-motion: reduce) {
    html.ds-theme body .sd-header.ds-header.navbar.is-nav-mounted .ds-nav,
    html.ds-theme body .sd-header.ds-header.navbar > .ds-header-backdrop {
        transition: none;
    }
}

