/* KDN 6.0.0 light appearance layer.
   The original dark stylesheet remains unchanged; every visual override is scoped. */
html[data-theme="light"] {
    color-scheme: light;
    --bg: #f4f7f9;
    --bg-grid: rgba(42, 96, 126, .045);
    --surface: #ffffff;
    --surface-2: #f8fafb;
    --surface-3: #eff4f6;
    --surface-4: #e8eff3;
    --line: #d5e0e6;
    --line-strong: #b9cbd5;
    --text: #172631;
    --muted: #5d7280;
    --dim: #7c8f99;
    --cyan: #0784ae;
    --cyan-soft: rgba(7, 132, 174, .09);
    --blue: #455abe;
    --amber: #a16712;
    --amber-soft: rgba(161, 103, 18, .09);
    --green: #157e52;
    --danger: #b83948;
}

/* Appearance controls are additive and exist in both modes. */
.theme-toggle {
    min-width: 84px;
    height: 38px;
    padding: 0 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 1px solid #294d61;
    color: #9fb4c0;
    background: #071722;
    font: 10px/1 var(--mono);
    letter-spacing: .15px;
    cursor: pointer;
    transition: border-color .16s ease, background-color .16s ease, color .16s ease;
}
.theme-toggle:hover,
.theme-toggle:focus-visible { border-color: var(--cyan); color: #e7f1f5; background: #0b202d; }
.theme-toggle-icon { width: 15px; height: 15px; display: block; flex: 0 0 auto; }
.theme-toggle .theme-sun,
html[data-theme="light"] .theme-toggle .theme-moon { display: block; }
.theme-toggle .theme-moon,
html[data-theme="light"] .theme-toggle .theme-sun { display: none; }
.theme-toggle-desktop { justify-self: end; }
.theme-toggle-mobile { display: none; }

html[data-theme="light"] .theme-toggle {
    border-color: #c8d6de;
    color: #425b68;
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(38, 61, 75, .07);
}
html[data-theme="light"] .theme-toggle:hover,
html[data-theme="light"] .theme-toggle:focus-visible {
    border-color: var(--cyan);
    color: #0f5f7d;
    background: #f1f8fb;
}

@media (max-width: 860px) {
    .theme-toggle-desktop { display: none; }
    .theme-toggle-mobile {
        min-width: 78px;
        min-height: 32px;
        height: 32px;
        padding: 0 9px;
        display: inline-flex;
        justify-self: end;
    }
    .nav-panel-head { grid-template-columns: minmax(0, 1fr) auto auto; }
}

@media (max-width: 390px) {
    .theme-toggle-mobile { min-width: 34px; width: 34px; padding: 0; }
    .theme-toggle-mobile [data-theme-label] { display: none; }
}

/* High-value surface tuning after the mechanical color isolation below. */
html[data-theme="light"] body {
    background:
        linear-gradient(var(--bg-grid) 1px, transparent 1px),
        linear-gradient(90deg, var(--bg-grid) 1px, transparent 1px),
        radial-gradient(circle at 78% 4%, rgba(39, 118, 158, .055), transparent 31%),
        var(--bg);
}
html[data-theme="light"] .site-header { box-shadow: 0 8px 22px rgba(33, 58, 72, .08); }
html[data-theme="light"] .brand-symbol,
html[data-theme="light"] .brand-logo,
html[data-theme="light"] .product-media,
html[data-theme="light"] .product-cover,
html[data-theme="light"] .chinese-file-thumb { box-shadow: inset 0 0 0 1px rgba(7, 132, 174, .025); }
html[data-theme="light"] .member-panel,
html[data-theme="light"] .member-record,
html[data-theme="light"] .archive-detail-card,
html[data-theme="light"] .chinese-details-panel,
html[data-theme="light"] .file-detail-card { box-shadow: 0 2px 8px rgba(38, 61, 75, .045); }
html[data-theme="light"] img { color-scheme: normal; }

html[data-theme="light"] {
    color-scheme: light;
}

html[data-theme="light"] body {
    background: linear-gradient(var(--bg-grid) 1px, transparent 1px),
        linear-gradient(90deg, var(--bg-grid) 1px, transparent 1px),
        radial-gradient(circle at 78% 4%, rgba(7, 132, 174, 0.097), transparent 31%),
        var(--bg);
}

html[data-theme="light"] ::selection {
    color: #122733;
}

html[data-theme="light"] .skip-link {
    color: #122733;
}

html[data-theme="light"] .live-dot {
    box-shadow: 0 0 10px rgba(21, 126, 82, 0.507);
}

html[data-theme="light"] .signal-bar {
    color: #5c717d;
    background: #fbfbfb;
    border-bottom: 1px solid #c9d1d7;
}

html[data-theme="light"] .signal-inner > span:first-child {
    color: #4b616e;
}

html[data-theme="light"] .site-header {
    background: #fafbfb;
    box-shadow: 0 10px 22px rgba(40, 65, 80, 0.099);
}

html[data-theme="light"] .brand-mark {
    background: linear-gradient(135deg, #f9fafa, #fafbfb);
}

html[data-theme="light"] .brand-copy strong {
    color: #162631;
}

html[data-theme="light"] .brand-copy small {
    color: #5c717d;
}

html[data-theme="light"] .header-search {
    border: 1px solid #c9cfd4;
    background: #fafbfb;
}

html[data-theme="light"] .search-prefix {
    background: rgba(7, 132, 174, 0.053);
    border-right: 1px solid #c9d0d4;
}

html[data-theme="light"] .header-search input::placeholder,
html[data-theme="light"] .hero-search input::placeholder,
html[data-theme="light"] .page-search input::placeholder {
    color: #5c717d;
}

html[data-theme="light"] .header-search button,
html[data-theme="light"] .hero-search button,
html[data-theme="light"] .page-search button {
    border-left: 1px solid #c8cfd3;
    color: #122733;
}

html[data-theme="light"] .header-search button:hover,
html[data-theme="light"] .hero-search button:hover,
html[data-theme="light"] .page-search button:hover {
    background: #77dcfc;
}

html[data-theme="light"] .header-search:focus-within,
html[data-theme="light"] .hero-search:focus-within,
html[data-theme="light"] .page-search:focus-within {
    border-color: #339abc;
    box-shadow: 0 0 0 1px rgba(7, 132, 174, 0.062);
}

html[data-theme="light"] .header-search button:active,
html[data-theme="light"] .hero-search button:active,
html[data-theme="light"] .page-search button:active {
    color: #122733;
    background: #e9f7fb;
}

html[data-theme="light"] .nav-shell {
    border-top: 1px solid #c9d2d7;
}

html[data-theme="light"] .primary-nav a {
    border-right: 1px solid #c9d1d6;
    color: #4b616e;
}

html[data-theme="light"] .primary-nav a:first-child {
    border-left: 1px solid #c9d1d6;
}

html[data-theme="light"] .primary-nav a:hover,
html[data-theme="light"] .primary-nav a:focus-visible,
html[data-theme="light"] .primary-nav a.is-active {
    color: #162631;
    background: #fafbfb;
}

html[data-theme="light"] .header-telemetry {
    color: #5c717d;
}

html[data-theme="light"] .command-hero {
    border: 1px solid #c7cfd4;
    background: linear-gradient(90deg, rgba(7, 132, 174, 0.053) 1px, transparent 1px),
        linear-gradient(rgba(7, 132, 174, 0.053) 1px, transparent 1px),
        linear-gradient(116deg, #fafbfb, #fafafb 62%, #f9fafa);
}

html[data-theme="light"] .command-hero::before {
    border: 1px solid rgba(7, 132, 174, 0.106);
    box-shadow: 0 0 70px rgba(7, 132, 174, 0.047);
}

html[data-theme="light"] .system-kicker > span {
    border: 1px solid #c3ccd1;
    color: #2d424f;
    background: rgba(7, 132, 174, 0.062);
}

html[data-theme="light"] .command-copy h1 {
    color: #162631;
}

html[data-theme="light"] .command-copy > p {
    color: #4b616e;
}

html[data-theme="light"] .hero-search {
    border: 1px solid #c5cdd1;
    background: rgba(255, 255, 255, 0.736);
}

html[data-theme="light"] .hero-search button:hover {
    background: #ffd484;
}

html[data-theme="light"] .hero-links {
    color: #5c717d;
}

html[data-theme="light"] .hero-links a {
    color: #2d424f;
}

html[data-theme="light"] .engine-panel {
    border: 1px solid #c7cdd1;
    background: rgba(255, 255, 255, 0.81);
}

html[data-theme="light"] .engine-head,
html[data-theme="light"] .engine-foot {
    color: #5c717d;
    border-bottom: 1px solid #c9d0d5;
}

html[data-theme="light"] .engine-ring {
    border: 1px solid #c4cdd1;
    color: #162631;
    background: radial-gradient(circle, rgba(7, 132, 174, 0.106), transparent 68%);
}

html[data-theme="light"] .engine-ring::before,
html[data-theme="light"] .engine-ring::after {
    background: #f5f6f6;
}

html[data-theme="light"] .engine-core dl div {
    border-bottom: 1px solid #c9d1d6;
}

html[data-theme="light"] .engine-core dt {
    color: #5c717d;
}

html[data-theme="light"] .engine-core dd {
    color: #2d424f;
}

html[data-theme="light"] .engine-foot {
    border-top: 1px solid #c9d0d5;
}

html[data-theme="light"] .telemetry-grid {
    background: #fafbfb;
}

html[data-theme="light"] .telemetry-grid span {
    color: #5c717d;
}

html[data-theme="light"] .telemetry-grid small {
    color: #5c717d;
}

html[data-theme="light"] .section-action,
html[data-theme="light"] .section-note,
html[data-theme="light"] .section-status {
    color: #5c717d;
}

html[data-theme="light"] .section-action {
    color: #2d424f;
}

html[data-theme="light"] .brand-card {
    border-top-color: #c7ced2;
    background: linear-gradient(145deg, #fafbfb, #fafbfb);
}

html[data-theme="light"] .brand-card::after {
    background: #f5f6f7;
}

html[data-theme="light"] .brand-card:hover,
html[data-theme="light"] .brand-card:focus-visible {
    border-color: #339abc;
    background: linear-gradient(145deg, #fafafb, #fafbfb);
}

html[data-theme="light"] .brand-logo {
    border: 1px solid #c8ced3;
    background: rgba(255, 255, 255, 0.626);
    color: #5c717d;
}

html[data-theme="light"] .brand-card h3 {
    color: #162631;
}

html[data-theme="light"] .brand-card dl {
    border-top: 1px solid #c9d1d6;
}

html[data-theme="light"] .brand-card dt {
    color: #5c717d;
}

html[data-theme="light"] .brand-card dd {
    color: #2d424f;
}

html[data-theme="light"] .card-arrow {
    color: #5c717d;
}

html[data-theme="light"] .receiver-card {
    border: 1px solid #c9d0d5;
    border-top-color: #c5cdd1;
    background: linear-gradient(90deg, rgba(7, 132, 174, 0.031) 1px, transparent 1px),
        linear-gradient(145deg, #fafbfb, #fafbfb 72%);
}

html[data-theme="light"] .receiver-card::after {
    border: 1px solid rgba(7, 132, 174, 0.194);
}

html[data-theme="light"] .receiver-card:hover,
html[data-theme="light"] .receiver-card:focus-within {
    border-color: #c1cace;
    background: linear-gradient(90deg, rgba(7, 132, 174, 0.044) 1px, transparent 1px),
        linear-gradient(145deg, #fafafb, #fafbfb 72%);
}

html[data-theme="light"] .receiver-title {
    color: #162631;
}

html[data-theme="light"] .receiver-updated {
    color: #5c717d;
}

html[data-theme="light"] .receiver-updated i {
    border: 1px solid #c2cace;
    background: rgba(7, 132, 174, 0.106);
}

html[data-theme="light"] .receiver-updated time {
    color: #4b616e;
}

html[data-theme="light"] .receiver-file-count {
    border-right: 1px solid #c8d0d5;
    border-left: 1px solid #c8d0d5;
    color: #5c717d;
    background: rgba(255, 255, 255, 0.386);
}

html[data-theme="light"] .receiver-file-count small {
    color: #5c717d;
}

html[data-theme="light"] .receiver-open {
    border: 1px solid #c7ced3;
    color: #5c717d;
    background: #fafbfb;
}

html[data-theme="light"] .receiver-card:hover .receiver-open,
html[data-theme="light"] .receiver-card:focus-within .receiver-open {
    color: #122733;
}

html[data-theme="light"] .product-card {
    background: #fafbfb;
}

html[data-theme="light"] .product-card:hover {
    border-color: #c5cdd1;
}

html[data-theme="light"] .product-media,
html[data-theme="light"] .product-cover {
    background: linear-gradient(rgba(7, 132, 174, 0.044) 1px, transparent 1px),
        linear-gradient(90deg, rgba(7, 132, 174, 0.044) 1px, transparent 1px),
        #fafbfb;
}

html[data-theme="light"] .product-media::after,
html[data-theme="light"] .product-cover::after {
    border: 1px solid rgba(7, 132, 174, 0.07);
    box-shadow: inset 0 -30px 40px rgba(40, 65, 80, 0.121);
}

html[data-theme="light"] .product-media-label {
    border: 1px solid #c6cdd1;
    color: #4b616e;
    background: rgba(255, 255, 255, 0.81);
}

html[data-theme="light"] .product-placeholder {
    color: #122733;
}

html[data-theme="light"] .product-placeholder i {
    border: 1px solid #c7cdd1;
    background: linear-gradient(90deg, transparent 49%, rgba(7, 132, 174, 0.123) 50%, transparent 51%),
        linear-gradient(transparent 49%, rgba(7, 132, 174, 0.123) 50%, transparent 51%),
        rgba(255, 255, 255, 0.506);
}

html[data-theme="light"] .product-placeholder i::before,
html[data-theme="light"] .product-placeholder i::after {
    background: #f4f5f6;
}

html[data-theme="light"] .product-brand:hover {
    color: #0784ae;
}

html[data-theme="light"] .product-body p {
    color: #5c717d;
}

html[data-theme="light"] .product-meta {
    color: #5c717d;
}

html[data-theme="light"] .product-meta b {
    color: #2d424f;
}

html[data-theme="light"] .file-console {
    border-top-color: #c6ced2;
    background: #fafbfb;
    box-shadow: inset 0 1px 0 rgba(7, 132, 174, 0.02);
}

html[data-theme="light"] .file-console-head {
    color: #5c717d;
    background: #fafafb;
}

html[data-theme="light"] .file-row {
    border-bottom: 1px solid #c9d1d6;
}

html[data-theme="light"] .file-row:hover {
    background: linear-gradient(90deg, rgba(7, 132, 174, 0.031), #fafbfb 34%);
}

html[data-theme="light"] .file-chip {
    border: 1px solid #c7cdd1;
    background: rgba(7, 132, 174, 0.053);
}

html[data-theme="light"] .file-identity h3 {
    color: #162631;
}

html[data-theme="light"] .file-identity p {
    color: #5c717d;
}

html[data-theme="light"] .file-data {
    color: #4b616e;
}

html[data-theme="light"] .download-action {
    border: 1px solid #b1823c;
    color: #a16712;
}

html[data-theme="light"] .download-action:hover,
html[data-theme="light"] .download-action:focus-visible {
    color: #122733;
}

html[data-theme="light"] .breadcrumbs {
    color: #5c717d;
}

html[data-theme="light"] .breadcrumbs strong {
    color: #4b616e;
}

html[data-theme="light"] .page-command,
html[data-theme="light"] .product-command {
    border: 1px solid #c7cfd4;
    box-shadow: inset 0 1px 0 rgba(7, 132, 174, 0.027);
    background: linear-gradient(90deg, rgba(7, 132, 174, 0.04) 1px, transparent 1px),
        linear-gradient(rgba(7, 132, 174, 0.04) 1px, transparent 1px),
        linear-gradient(125deg, #fafbfb, #fafafb);
}

html[data-theme="light"] .page-command p,
html[data-theme="light"] .product-command p {
    color: #4b616e;
}

html[data-theme="light"] .page-search {
    border: 1px solid #c6cdd1;
    background: #fafbfb;
}

html[data-theme="light"] .brand-command-logo {
    border: 1px solid #c6cdd1;
    color: #5c717d;
    background: rgba(255, 255, 255, 0.644);
}

html[data-theme="light"] .command-stats {
    border: 1px solid #c7ced3;
    background: rgba(255, 255, 255, 0.506);
}

html[data-theme="light"] .command-stats div {
    border-right: 1px solid #c8cfd4;
}

html[data-theme="light"] .command-stats dt {
    color: #5c717d;
}

html[data-theme="light"] .command-stats dd {
    color: #2d424f;
}

html[data-theme="light"] .mini-telemetry {
    background: #fafbfb;
}

html[data-theme="light"] .mini-telemetry span {
    color: #5c717d;
}

html[data-theme="light"] .product-cover {
    border: 1px solid #c7ced3;
}

html[data-theme="light"] .pagination-bar {
    color: #5c717d;
    background: #fafbfb;
}

html[data-theme="light"] .pagination-bar a {
    border: 1px solid #cfcbc4;
    color: #a16712;
    background: rgba(161, 103, 18, 0.062);
}

html[data-theme="light"] .pagination-bar a:hover,
html[data-theme="light"] .pagination-bar a:focus-visible {
    color: #122733;
}

html[data-theme="light"] .load-more-action[aria-busy="true"] {
    color: #5c717d;
}

html[data-theme="light"] .pagination-bar.has-load-error {
    border-color: #d1ccc6;
}

html[data-theme="light"] .empty-state {
    border: 1px dashed #c8ced3;
    color: #5c717d;
    background: rgba(255, 255, 255, 0.644);
}

html[data-theme="light"] .empty-line,
html[data-theme="light"] .query-message {
    color: #5c717d;
    background: #fafbfb;
}

html[data-theme="light"] .query-message strong {
    color: #2d424f;
}

html[data-theme="light"] .query-message.is-warning {
    color: #a16712;
    border-color: #d1ccc6;
}

html[data-theme="light"] .error-code {
    color: #122733;
}

html[data-theme="light"] .button {
    border: 1px solid #c5cdd1;
    color: #2d424f;
}

html[data-theme="light"] .button:hover {
    color: #122733;
}

html[data-theme="light"] .site-footer {
    color: #5c717d;
    background: #fafbfb;
}

html[data-theme="light"] .admin-body {
    background: linear-gradient(var(--bg-grid) 1px, transparent 1px),
        linear-gradient(90deg, var(--bg-grid) 1px, transparent 1px),
        radial-gradient(circle at 50% 0, rgba(7, 132, 174, 0.088), transparent 38%),
        var(--bg);
}

html[data-theme="light"] .admin-header {
    background: rgba(255, 255, 255, 0.883);
    box-shadow: 0 10px 24px rgba(40, 65, 80, 0.132);
}

html[data-theme="light"] .admin-actions a,
html[data-theme="light"] .admin-actions button,
html[data-theme="light"] .admin-row-actions a,
html[data-theme="light"] .admin-row-actions button,
html[data-theme="light"] .admin-primary-action {
    border: 1px solid #c6cdd1;
    color: #2d424f;
    background: #fafbfb;
}

html[data-theme="light"] .admin-primary-action {
    color: #122733;
}

html[data-theme="light"] .admin-primary-action:hover {
    background: #77dcfc;
}

html[data-theme="light"] .admin-auth-card {
    border: 1px solid #c6cdd1;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.892), rgba(255, 255, 255, 0.892));
    box-shadow: 0 24px 60px rgba(40, 65, 80, 0.176);
}

html[data-theme="light"] .admin-alert {
    border: 1px solid #c6cdd1;
    color: #2d424f;
    background: #fafbfb;
}

html[data-theme="light"] .admin-alert.is-danger {
    border-color: #d0c9ca;
    color: #2d424f;
    background: rgba(255, 255, 255, 0.239);
}

html[data-theme="light"] .admin-alert.is-success {
    border-color: #c4d1cc;
    color: #2d424f;
    background: rgba(255, 255, 255, 0.202);
}

html[data-theme="light"] .admin-form label {
    color: #4b616e;
}

html[data-theme="light"] .admin-form label > span {
    color: #4b616e;
}

html[data-theme="light"] .admin-form label > small {
    color: #5c717d;
}

html[data-theme="light"] .admin-form input,
html[data-theme="light"] .admin-form select,
html[data-theme="light"] .admin-form textarea {
    border: 1px solid #c8ced3;
    color: #162631;
    background: #fafbfb;
}

html[data-theme="light"] .admin-form input[readonly] {
    color: #5c717d;
    background: #fafbfb;
}

html[data-theme="light"] .admin-form input:focus,
html[data-theme="light"] .admin-form select:focus,
html[data-theme="light"] .admin-form textarea:focus {
    box-shadow: 0 0 0 2px rgba(7, 132, 174, 0.062);
}

html[data-theme="light"] .admin-form > button {
    color: #122733;
}

html[data-theme="light"] .admin-form > button:hover {
    background: #77dcfc;
}

html[data-theme="light"] .admin-command code,
html[data-theme="light"] .admin-storage-preview code {
    color: #a16712;
}

html[data-theme="light"] .admin-table-shell {
    background: #fafbfb;
}

html[data-theme="light"] .admin-table-head {
    color: #5c717d;
    background: #fafafb;
}

html[data-theme="light"] .admin-brand-row {
    border-bottom: 1px solid #c9d1d6;
}

html[data-theme="light"] .admin-brand-row:hover {
    background: #fafbfb;
}

html[data-theme="light"] .admin-brand-identity img {
    border: 1px solid #c8ced3;
    background: #fafbfb;
}

html[data-theme="light"] .admin-brand-identity strong {
    color: #162631;
}

html[data-theme="light"] .admin-brand-identity small,
html[data-theme="light"] .admin-brand-counts {
    color: #5c717d;
}

html[data-theme="light"] .admin-status {
    border: 1px solid #c8cdd0;
    color: #4b616e;
    background: #fafbfb;
}

html[data-theme="light"] .admin-status.is-published {
    border-color: #c4d1cc;
}

html[data-theme="light"] .admin-status.is-draft {
    border-color: #cfcbc5;
}

html[data-theme="light"] .admin-status.is-archived {
    color: #5c717d;
}

html[data-theme="light"] .admin-row-actions button {
    border-color: #d0c9ca;
    color: #b83948;
}

html[data-theme="light"] .admin-form-shell {
    border: 1px solid #c8ced3;
    background: #fafbfb;
}

html[data-theme="light"] .admin-storage-preview {
    border: 1px solid #c8ced3;
    color: #5c717d;
    background: #fafbfb;
}

html[data-theme="light"] .admin-storage-preview img {
    border: 1px solid #c8ced3;
    background: #fafbfb;
}

@media (max-width: 860px) {
html[data-theme="light"] .site-header {
    box-shadow: 0 10px 29px rgba(40, 65, 80, 0.165);
}

html[data-theme="light"] .mobile-tabs-shell {
    border-top: 1px solid #c9d1d6;
    background: #fafbfb;
}

html[data-theme="light"] .mobile-tabs-shell::after {
    background: linear-gradient(90deg, transparent, #fafbfb 85%);
}

html[data-theme="light"] .mobile-tabs a {
    border-right: 1px solid #c9d1d6;
    color: #5c717d;
}

html[data-theme="light"] .mobile-tabs a:first-child {
    border-left: 1px solid #c9d1d6;
}

html[data-theme="light"] .mobile-tabs a:hover,
html[data-theme="light"] .mobile-tabs a:focus-visible,
html[data-theme="light"] .mobile-tabs a.is-active {
    color: #162631;
    background: #fafbfb;
}

html[data-theme="light"] .mobile-tabs a span {
    color: #5c717d;
}

html[data-theme="light"] .nav-shell {
    border-top: 1px solid #c8cfd4;
    border-bottom: 1px solid #c8cfd4;
    background: linear-gradient(90deg, rgba(7, 132, 174, 0.035) 1px, transparent 1px),
            linear-gradient(rgba(7, 132, 174, 0.035) 1px, transparent 1px),
            linear-gradient(145deg, #fafbfb, #fafafb);
    box-shadow: 0 24px 50px rgba(40, 65, 80, 0.22);
}

html[data-theme="light"] .nav-panel-head {
    border-bottom: 1px solid #c8cfd4;
}

html[data-theme="light"] .nav-panel-head small {
    color: #5c717d;
}

html[data-theme="light"] .primary-nav a {
    border: 1px solid #c8cfd3;
    color: #4b616e;
    background: rgba(255, 255, 255, 0.754);
}

html[data-theme="light"] .primary-nav a:first-child {
    border-left: 1px solid #c8cfd3;
}

html[data-theme="light"] .primary-nav a:hover,
html[data-theme="light"] .primary-nav a:focus-visible,
html[data-theme="light"] .primary-nav a.is-active {
    border-color: #c3cbd0;
    background: rgba(255, 255, 255, 0.865);
}

html[data-theme="light"] .nav-code {
    border: 1px solid #c6cdd1;
}

html[data-theme="light"] .nav-copy {
    color: #2d424f;
}

html[data-theme="light"] .primary-nav .nav-copy small {
    color: #5c717d;
}
}

@media (max-width: 620px) {
html[data-theme="light"] .hero-search button {
    border-top: 1px solid #cfcbc5;
}

html[data-theme="light"] .page-search button {
    border-top: 1px solid #c6cdd1;
}

html[data-theme="light"] .command-stats div {
    border-bottom: 1px solid #c8cfd4;
}
}

@media (max-width: 620px) {
html[data-theme="light"] .brand-command .command-stats div {
    border-right: 1px solid #c8cfd4;
}
}

html[data-theme="light"] .member-header-account,
html[data-theme="light"] .member-header-signin {
    border: 1px solid #c7cfd3;
    background: #fafbfb;
}

html[data-theme="light"] .member-header-account strong {
    color: #162631;
}

html[data-theme="light"] .member-header-account small {
    color: #5c717d;
}

html[data-theme="light"] .member-header-account > i {
    color: #122733;
}

html[data-theme="light"] .member-header-avatar {
    border: 1px solid #c4ccd0;
    background: #f9fafb;
}

html[data-theme="light"] .member-header-account:hover,
html[data-theme="light"] .member-header-account:focus-visible,
html[data-theme="light"] .member-header-signin:hover,
html[data-theme="light"] .member-header-signin:focus-visible {
    background: #fafafb;
}

html[data-theme="light"] .member-header-signin {
    color: #4b616e;
}

html[data-theme="light"] .member-global-notice {
    border: 1px solid #c4cfcb;
    color: #2d424f;
    background: #fafbfa;
}

html[data-theme="light"] .member-global-notice.is-error {
    border-color: #d0c7c8;
    color: #2d424f;
    background: #fbfafb;
}

html[data-theme="light"] .member-global-notice.is-info {
    border-color: #c5cdd0;
    color: #2d424f;
    background: #fafafb;
}

html[data-theme="light"] .entity-favorite-action button,
html[data-theme="light"] .entity-favorite-action a {
    border: 1px solid #c6cdd1;
    color: #4b616e;
    background: #fafbfb;
}

html[data-theme="light"] .entity-favorite-action button:hover,
html[data-theme="light"] .entity-favorite-action a:hover {
    color: #a16712;
}

html[data-theme="light"] .entity-favorite-action button.is-saved {
    border-color: #cecac3;
    background: rgba(161, 103, 18, 0.062);
}

html[data-theme="light"] .member-auth-page {
    border: 1px solid #c7ced3;
    background: linear-gradient(130deg, rgba(255, 255, 255, 0.892), rgba(255, 255, 255, 0.911));
}

html[data-theme="light"] .member-auth-intro {
    border-right: 1px solid #c7ced3;
    background: radial-gradient(circle at 75% 24%, rgba(7, 132, 174, 0.123), transparent 32%),
        linear-gradient(rgba(7, 132, 174, 0.048) 1px, transparent 1px),
        linear-gradient(90deg, rgba(7, 132, 174, 0.048) 1px, transparent 1px);
}

html[data-theme="light"] .member-auth-intro::after {
    border: 1px solid rgba(7, 132, 174, 0.114);
}

html[data-theme="light"] .member-auth-intro ul {
    color: #4b616e;
}

html[data-theme="light"] .member-auth-card {
    border: 1px solid #c7ced3;
    background: rgba(255, 255, 255, 0.837);
    box-shadow: 0 24px 70px rgba(40, 65, 80, 0.127);
}

html[data-theme="light"] .member-alert {
    border: 1px solid #c4cfcb;
    color: #2d424f;
    background: rgba(21, 126, 82, 0.053);
}

html[data-theme="light"] .member-alert.is-error {
    border-color: #d0c7c8;
    color: #2d424f;
    background: rgba(184, 57, 72, 0.062);
}

html[data-theme="light"] .member-alert.is-info {
    border-color: #c5cdd1;
    color: #2d424f;
    background: rgba(7, 132, 174, 0.053);
}

html[data-theme="light"] .member-form label > span {
    color: #4b616e;
}

html[data-theme="light"] .member-form label > small {
    color: #5c717d;
}

html[data-theme="light"] .member-form input {
    border: 1px solid #c7cfd2;
    color: #162631;
    background: #fafbfb;
}

html[data-theme="light"] .member-form input:focus {
    box-shadow: 0 0 0 2px rgba(7, 132, 174, 0.058);
}

html[data-theme="light"] .member-form input:disabled {
    color: #5c717d;
    background: #fafbfb;
}

html[data-theme="light"] .member-password-note {
    color: #5c717d;
}

html[data-theme="light"] .member-form .member-check {
    color: #5c717d;
}

html[data-theme="light"] .member-form .member-check span {
    color: #5c717d;
}

html[data-theme="light"] .member-primary-button {
    color: #122733;
}

html[data-theme="light"] .member-primary-button:hover {
    background: #79defd;
}

html[data-theme="light"] .member-secondary-button {
    color: #2d424f;
    border-color: #c6cdd1;
    background: #fafbfb;
}

html[data-theme="light"] .member-danger-button {
    color: #2d424f;
    border-color: #d0c7c8;
    background: rgba(184, 57, 72, 0.048);
}

html[data-theme="light"] .member-danger-button.is-solid {
    color: #122733;
}

html[data-theme="light"] .member-text-danger {
    color: #b83948;
}

html[data-theme="light"] .member-auth-switch {
    border-top: 1px solid #c9d1d5;
    color: #5c717d;
}

html[data-theme="light"] .member-sidebar {
    border: 1px solid #c7ced3;
    background: rgba(255, 255, 255, 0.883);
}

html[data-theme="light"] .member-sidebar-profile {
    border-bottom: 1px solid #c8d0d4;
}

html[data-theme="light"] .member-sidebar-profile small {
    color: #5c717d;
}

html[data-theme="light"] .member-avatar {
    border: 1px solid #c4ccd0;
    background: #f9fafb;
}

html[data-theme="light"] .member-sidebar-nav a {
    color: #4b616e;
}

html[data-theme="light"] .member-sidebar-nav a i {
    border: 1px solid #c8cfd3;
    color: #5c717d;
}

html[data-theme="light"] .member-sidebar-nav a b {
    color: #122733;
}

html[data-theme="light"] .member-sidebar-nav a:hover {
    color: #162631;
    background: #fafafb;
}

html[data-theme="light"] .member-sidebar-nav a.is-active {
    border-color: #c5cdd1;
    color: #162631;
    background: rgba(7, 132, 174, 0.062);
}

html[data-theme="light"] .member-sidebar > form {
    border-top: 1px solid #c8d0d4;
}

html[data-theme="light"] .member-sidebar > form button {
    border: 1px solid #c6cdd1;
    color: #4b616e;
    background: #fafbfb;
}

html[data-theme="light"] .member-sidebar > form button:hover {
    color: #b83948;
}

html[data-theme="light"] .member-page-head {
    border: 1px solid #c7ced3;
    background: linear-gradient(125deg, rgba(255, 255, 255, 0.892), rgba(255, 255, 255, 0.892));
}

html[data-theme="light"] .member-page-head > a,
html[data-theme="light"] .member-page-head > strong {
    border: 1px solid #c6cdd1;
    color: #4b616e;
    background: #fafbfb;
}

html[data-theme="light"] .member-page-head > a.is-danger {
    border-color: #d0c8ca;
    color: #b83948;
}

html[data-theme="light"] .member-stat-grid {
    border: 1px solid #c7ced3;
    background: #fafbfb;
}

html[data-theme="light"] .member-stat-grid a {
    border-right: 1px solid #c8d0d4;
}

html[data-theme="light"] .member-stat-grid i {
    border: 1px solid #c6cdd1;
}

html[data-theme="light"] .member-stat-grid span {
    color: #5c717d;
}

html[data-theme="light"] .member-stat-grid strong {
    color: #162631;
}

html[data-theme="light"] .member-stat-grid a:hover {
    background: rgba(7, 132, 174, 0.04);
}

html[data-theme="light"] .member-panel {
    border: 1px solid #c7ced3;
    background: rgba(255, 255, 255, 0.874);
}

html[data-theme="light"] .member-panel > header {
    border-bottom: 1px solid #c8d0d4;
}

html[data-theme="light"] .member-compact-list > a,
html[data-theme="light"] .member-compact-list > div {
    border-bottom: 1px solid #c9d1d6;
}

html[data-theme="light"] .member-compact-list > a:hover {
    background: rgba(7, 132, 174, 0.031);
}

html[data-theme="light"] .member-compact-list strong {
    color: #2d424f;
}

html[data-theme="light"] .member-compact-list small {
    color: #5c717d;
}

html[data-theme="light"] .member-compact-list time {
    color: #5c717d;
}

html[data-theme="light"] .member-status {
    border: 1px solid #c6cbce;
    color: #4b616e;
    background: #fafbfb;
}

html[data-theme="light"] .member-status.is-pending {
    border-color: #cfccc5;
    color: #a16712;
    background: rgba(161, 103, 18, 0.048);
}

html[data-theme="light"] .member-status.is-in_progress {
    border-color: #c5cdd0;
    color: #0784ae;
    background: rgba(7, 132, 174, 0.048);
}

html[data-theme="light"] .member-status.is-completed {
    border-color: #c4cfcb;
    color: #2d424f;
    background: rgba(21, 126, 82, 0.048);
}

html[data-theme="light"] .member-status.is-declined {
    border-color: #d0c8ca;
    color: #b83948;
    background: rgba(184, 57, 72, 0.048);
}

html[data-theme="light"] .member-empty.is-large {
    border: 1px solid #c7ced3;
    background: rgba(255, 255, 255, 0.81);
}

html[data-theme="light"] .member-empty strong {
    color: #2d424f;
}

html[data-theme="light"] .member-record {
    border: 1px solid #c7ced3;
    background: rgba(255, 255, 255, 0.874);
}

html[data-theme="light"] .member-record > i {
    border: 1px solid #c6cdd1;
}

html[data-theme="light"] .member-record-actions a,
html[data-theme="light"] .member-record-actions button {
    border: 1px solid #c6cdd1;
    color: #4b616e;
    background: #fafbfb;
}

html[data-theme="light"] .member-record-actions button.is-danger {
    border-color: #d0c9cb;
    color: #b83948;
}

html[data-theme="light"] .member-pagination {
    border: 1px solid #c7ced3;
    background: #fafbfb;
    color: #5c717d;
}

html[data-theme="light"] .member-pagination a {
    border: 1px solid #c6cdd1;
    color: #2d424f;
}

html[data-theme="light"] .member-notification-list article {
    border-bottom: 1px solid #c9d1d6;
}

html[data-theme="light"] .member-notification-list article.is-unread {
    background: rgba(7, 132, 174, 0.026);
}

html[data-theme="light"] .member-notification-list article > i {
    border: 1px solid #c6cdd1;
}

html[data-theme="light"] .member-notification-list article > div:nth-child(2) > span {
    color: #5c717d;
}

html[data-theme="light"] .member-notification-list time {
    color: #5c717d;
}

html[data-theme="light"] .member-notification-list article > div:last-child a,
html[data-theme="light"] .member-notification-list button {
    border: 1px solid #c6cdd1;
    color: #4b616e;
    background: #fafbfb;
}

html[data-theme="light"] .member-notification-list button.is-danger {
    border-color: #d0c9cb;
    color: #b83948;
}

html[data-theme="light"] .member-request-list article {
    border: 1px solid #c7ced3;
    background: rgba(255, 255, 255, 0.874);
}

html[data-theme="light"] .member-request-list dl {
    border: 1px solid #c8d0d4;
}

html[data-theme="light"] .member-request-list dl div {
    border-right: 1px solid #c8d0d4;
}

html[data-theme="light"] .member-request-list dt {
    color: #5c717d;
}

html[data-theme="light"] .member-request-list dd {
    color: #2d424f;
}

html[data-theme="light"] .member-request-list article > p {
    border: 1px solid #c9d1d6;
    background: #fafbfb;
}

html[data-theme="light"] .member-session-list article,
html[data-theme="light"] .member-activity-list > div {
    border-bottom: 1px solid #c9d1d6;
}

html[data-theme="light"] .member-session-list article > i {
    border: 1px solid #c6cdd1;
}

html[data-theme="light"] .member-session-list strong,
html[data-theme="light"] .member-activity-list strong {
    color: #2d424f;
}

html[data-theme="light"] .member-session-list small,
html[data-theme="light"] .member-activity-list small {
    color: #5c717d;
}

html[data-theme="light"] .member-session-list button {
    border: 1px solid #d0c9cb;
    color: #b83948;
    background: #fafbfb;
}

html[data-theme="light"] .member-activity-list time {
    color: #5c717d;
}

html[data-theme="light"] .member-delete-panel {
    border: 1px solid #d0c8ca;
    background: linear-gradient(130deg, rgba(255, 255, 255, 0.874), rgba(255, 255, 255, 0.902));
}

html[data-theme="light"] .member-delete-panel ul {
    color: #4b616e;
}

html[data-theme="light"] .member-delete-panel > p {
    border: 1px solid #d0cbcd;
    color: #4b616e;
    background: rgba(184, 57, 72, 0.031);
}

@media (max-width: 860px) {
html[data-theme="light"] .member-drawer-access {
    border-bottom: 1px solid #c8d0d4;
    background: #fafbfb;
}

html[data-theme="light"] .member-drawer-access small {
    color: #5c717d;
}

html[data-theme="light"] .member-drawer-access button,
html[data-theme="light"] .member-drawer-access > div a {
    border: 1px solid #c6cdd1;
    color: #4b616e;
    background: #fafbfb;
}

html[data-theme="light"] .member-auth-intro {
    border-bottom: 1px solid #c7ced3;
}
}

@media (max-width: 620px) {
html[data-theme="light"] .member-stat-grid a {
    border-bottom: 1px solid #c8d0d4;
}

html[data-theme="light"] .member-request-list dl div {
    border-bottom: 1px solid #c8d0d4;
}
}

@media (max-width: 420px) {
html[data-theme="light"] .member-stat-grid a,
html[data-theme="light"] .member-stat-grid a:nth-child(2n),
html[data-theme="light"] .member-stat-grid a:nth-last-child(-n/**/+2) {
    border-bottom: 1px solid #c8d0d4;
}
}

html[data-theme="light"] .live-dot.is-degraded {
    box-shadow: 0 0 10px rgba(161, 103, 18, 0.429);
}

html[data-theme="light"] .page-command::after,
html[data-theme="light"] .product-command::after {
    background: linear-gradient(90deg, transparent, rgba(7, 132, 174, 0.299), transparent);
}

html[data-theme="light"] .download-action:active {
    border-color: #b1823c;
    color: #122733;
    background: #fff7e8;
}

html[data-theme="light"] .brand-card,
html[data-theme="light"] .brand-grid.is-home .brand-card {
    border-top-color: #c5cdd1;
    background: linear-gradient(90deg, rgba(7, 132, 174, 0.031) 1px, transparent 1px),
        linear-gradient(145deg, #fafbfb, #fafbfb 72%);
}

html[data-theme="light"] .brand-card-node {
    border: 1px solid #c6ced3;
    background: #fafbfb;
}

html[data-theme="light"] .brand-card-node i {
    box-shadow: 0 0 9px rgba(7, 132, 174, 0.429);
}

html[data-theme="light"] .brand-card h3,
html[data-theme="light"] .brand-grid.is-home .brand-card h3 {
    color: #162631;
}

html[data-theme="light"] .brand-card dl div {
    border: 1px solid #c9d0d5;
    background: rgba(255, 255, 255, 0.386);
}

html[data-theme="light"] .brand-card dt {
    color: #5c717d;
}

html[data-theme="light"] .brand-card dd {
    color: #2d424f;
}

html[data-theme="light"] .brand-card .card-arrow {
    border: 1px solid #c7ced3;
    color: #5c717d;
    background: #fafbfb;
}

html[data-theme="light"] .brand-card:hover .card-arrow,
html[data-theme="light"] .brand-card:focus-visible .card-arrow {
    color: #122733;
}

html[data-theme="light"] .product-record-console {
    border: 1px solid #c7ced3;
    background: linear-gradient(90deg, rgba(7, 132, 174, 0.031) 1px, transparent 1px),
        linear-gradient(rgba(7, 132, 174, 0.031) 1px, transparent 1px),
        linear-gradient(125deg, #fafbfb, #fafafb);
    box-shadow: inset 0 1px 0 rgba(7, 132, 174, 0.027);
}

html[data-theme="light"] .product-record-console::after {
    background: linear-gradient(90deg, transparent, rgba(7, 132, 174, 0.246), transparent);
}

html[data-theme="light"] .product-record-media {
    border: 1px solid #c6cdd1;
    background: linear-gradient(rgba(7, 132, 174, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(7, 132, 174, 0.04) 1px, transparent 1px),
        #fafbfb;
}

html[data-theme="light"] .product-record-media::after {
    box-shadow: inset 0 -34px 50px rgba(40, 65, 80, 0.138);
}

html[data-theme="light"] .product-record-type {
    border: 1px solid #c6cdd1;
    color: #4b616e;
    background: rgba(255, 255, 255, 0.828);
}

html[data-theme="light"] .product-record-state {
    color: #5c717d;
}

html[data-theme="light"] .product-record-copy h1 {
    color: #162631;
}

html[data-theme="light"] .product-record-copy > p {
    color: #4b616e;
}

html[data-theme="light"] .product-record-facts {
    border: 1px solid #c8cfd3;
    background: rgba(255, 255, 255, 0.386);
}

html[data-theme="light"] .product-record-facts div {
    border-right: 1px solid #c9d0d4;
}

html[data-theme="light"] .product-record-facts dt {
    color: #5c717d;
}

html[data-theme="light"] .product-record-facts dd {
    color: #2d424f;
}

html[data-theme="light"] .file-verified {
    box-shadow: 0 0 7px rgba(21, 126, 82, 0.328);
}

html[data-theme="light"] .file-inspect-action,
html[data-theme="light"] .file-actions .download-action {
    border: 1px solid #c6cdd1;
    color: #4b616e;
    background: #fafbfb;
}

html[data-theme="light"] .file-inspect-action:hover,
html[data-theme="light"] .file-inspect-action:focus-visible {
    color: #122733;
}

html[data-theme="light"] .file-actions .download-action {
    border-color: #b1823c;
    color: #a16712;
    background: rgba(161, 103, 18, 0.07);
}

html[data-theme="light"] .file-actions .download-action:hover,
html[data-theme="light"] .file-actions .download-action:focus-visible {
    color: #122733;
}

html[data-theme="light"] .file-pager {
    background: #fafbfb;
}

html[data-theme="light"] .file-pager-status {
    color: #5c717d;
}

html[data-theme="light"] .file-pager-status strong {
    border: 1px solid #c6cdd1;
}

html[data-theme="light"] .file-pager-status small {
    color: #5c717d;
}

html[data-theme="light"] .file-pager-actions a,
html[data-theme="light"] .file-pager-actions .is-disabled {
    border: 1px solid #c6cdd1;
    color: #2d424f;
    background: #fafbfb;
}

html[data-theme="light"] .file-pager-actions a:hover,
html[data-theme="light"] .file-pager-actions a:focus-visible {
    color: #122733;
}

html[data-theme="light"] .file-pager-actions .is-disabled {
    border-color: #c9d0d5;
    color: #122733;
    background: #fafbfb;
}

html[data-theme="light"] .file-detail-hero {
    border: 1px solid #c7ced3;
    background: linear-gradient(90deg, rgba(7, 132, 174, 0.033) 1px, transparent 1px),
        linear-gradient(rgba(7, 132, 174, 0.033) 1px, transparent 1px),
        linear-gradient(125deg, #fafbfb, #fafafb);
}

html[data-theme="light"] .file-detail-hero::after {
    background: linear-gradient(90deg, transparent, rgba(7, 132, 174, 0.264), transparent);
}

html[data-theme="light"] .file-detail-visual {
    border: 1px solid #c6cdd1;
    background: linear-gradient(rgba(7, 132, 174, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(7, 132, 174, 0.04) 1px, transparent 1px),
        #fafbfb;
}

html[data-theme="light"] .file-detail-extension {
    border: 1px solid #c6cdd1;
    background: rgba(255, 255, 255, 0.828);
}

html[data-theme="light"] .file-detail-placeholder {
    color: #5c717d;
}

html[data-theme="light"] .file-detail-placeholder i {
    border: 1px solid #c6cdd1;
    background: linear-gradient(90deg, transparent 49%, rgba(7, 132, 174, 0.123) 50%, transparent 51%),
        linear-gradient(transparent 49%, rgba(7, 132, 174, 0.123) 50%, transparent 51%);
}

html[data-theme="light"] .file-detail-kicker span {
    border: 1px solid #c6cdd1;
}

html[data-theme="light"] .file-detail-state {
    color: #5c717d;
}

html[data-theme="light"] .file-detail-heading h1 {
    color: #162631;
}

html[data-theme="light"] .file-detail-heading > p {
    color: #4b616e;
}

html[data-theme="light"] .file-detail-badges span {
    border: 1px solid #c8ced3;
    color: #4b616e;
    background: rgba(255, 255, 255, 0.442);
}

html[data-theme="light"] .file-detail-badges .tone-cyan {
    border-color: #c2ccd0;
    color: #0784ae;
    background: rgba(7, 132, 174, 0.062);
}

html[data-theme="light"] .file-detail-badges .tone-amber {
    border-color: #cecac3;
    color: #a16712;
    background: rgba(161, 103, 18, 0.062);
}

html[data-theme="light"] .file-detail-badges .tone-green {
    border-color: #c4cfcb;
    color: #157e52;
    background: rgba(21, 126, 82, 0.053);
}

html[data-theme="light"] .file-primary-action,
html[data-theme="light"] .file-secondary-action {
    border: 1px solid #c6cdd1;
    color: #2d424f;
    background: #fafbfb;
}

html[data-theme="light"] .file-primary-action {
    border-color: #b1823c;
    color: #a16712;
    background: rgba(161, 103, 18, 0.07);
}

html[data-theme="light"] .file-primary-action:hover,
html[data-theme="light"] .file-primary-action:focus-visible {
    color: #122733;
}

html[data-theme="light"] .file-secondary-action:hover,
html[data-theme="light"] .file-secondary-action:focus-visible {
    color: #122733;
}

html[data-theme="light"] .file-fact-strip {
    background: #fafbfb;
}

html[data-theme="light"] .file-fact-strip dt {
    color: #5c717d;
}

html[data-theme="light"] .file-fact-strip dd {
    color: #2d424f;
}

html[data-theme="light"] .file-fact-strip dd.is-code {
    color: #2d424f;
}

html[data-theme="light"] .detail-panel {
    border-top-color: #c6ced2;
    background: #fafbfb;
}

html[data-theme="light"] .detail-panel-head {
    color: #5c717d;
    background: #fafbfb;
}

html[data-theme="light"] .detail-panel-head strong {
    color: #4b616e;
}

html[data-theme="light"] .detail-copy-section {
    border-bottom: 1px solid #c9d1d6;
}

html[data-theme="light"] .detail-copy-section h2 {
    color: #162631;
}

html[data-theme="light"] .detail-copy-section p {
    color: #5c717d;
}

html[data-theme="light"] .technical-list div {
    border-bottom: 1px solid #c9d1d6;
}

html[data-theme="light"] .technical-list dt {
    color: #5c717d;
}

html[data-theme="light"] .technical-list dd {
    color: #2d424f;
}

html[data-theme="light"] .technical-list dd.is-code {
    color: #2d424f;
}

html[data-theme="light"] .file-safety-panel {
    border: 1px solid #cfcbc4;
    background: rgba(161, 103, 18, 0.048);
}

html[data-theme="light"] .file-safety-panel p {
    color: #4b616e;
}

html[data-theme="light"] .file-screenshot-grid figure {
    border: 1px solid #c8cfd3;
    background: #fafbfb;
}

html[data-theme="light"] .file-screenshot-grid figcaption {
    border-top: 1px solid #c9d0d5;
    color: #5c717d;
}

@media (max-width: 860px) {
html[data-theme="light"] .file-row .file-data,
html[data-theme="light"] .file-row .file-data:nth-of-type(3),
html[data-theme="light"] .file-row .file-data:nth-of-type(4) {
    border-top: 1px solid #c9d1d6;
}

html[data-theme="light"] .file-row .file-data::before {
    color: #5c717d;
}
}

@media (max-width: 620px) {
html[data-theme="light"] .product-record-facts div {
    border-bottom: 1px solid #c9d0d4;
}
}

html[data-theme="light"] .brand-card,
html[data-theme="light"] .brand-grid.is-home .brand-card {
    border: 1px solid #c8cfd3;
    background: linear-gradient(90deg, rgba(7, 132, 174, 0.025) 1px, transparent 1px),
        linear-gradient(145deg, #fafbfb, #fafafb);
}

html[data-theme="light"] .brand-card::before {
    background: rgba(7, 132, 174, 0.396);
}

html[data-theme="light"] .brand-card h3,
html[data-theme="light"] .brand-grid.is-home .brand-card h3 {
    color: #162631;
}

html[data-theme="light"] .brand-card .card-arrow {
    border: 1px solid #c7ced3;
    color: #5c717d;
    background: rgba(255, 255, 255, 0.644);
}

html[data-theme="light"] .brand-card dl div,
html[data-theme="light"] .brand-grid.is-home .brand-card dl div {
    border: 1px solid #c9d1d5;
    background: rgba(255, 255, 255, 0.478);
}

html[data-theme="light"] .brand-card dt,
html[data-theme="light"] .brand-grid.is-home .brand-card dt {
    color: #5c717d;
}

html[data-theme="light"] .brand-card dd,
html[data-theme="light"] .brand-grid.is-home .brand-card dd {
    color: #0784ae;
}

html[data-theme="light"] .brand-card:hover,
html[data-theme="light"] .brand-card:focus-visible {
    border-color: #c1cace;
    background: linear-gradient(90deg, rgba(7, 132, 174, 0.035) 1px, transparent 1px),
        linear-gradient(145deg, #fafbfb, #f9fafb);
}

html[data-theme="light"] .brand-card:hover .card-arrow,
html[data-theme="light"] .brand-card:focus-visible .card-arrow {
    color: #122733;
}

html[data-theme="light"] .file-identity h3 {
    color: #162631;
}

html[data-theme="light"] .file-open-action {
    border: 1px solid #b1823c;
    color: #a16712;
    background: rgba(161, 103, 18, 0.066);
}

html[data-theme="light"] .file-open-action:hover,
html[data-theme="light"] .file-open-action:focus-visible {
    color: #122733;
}

html[data-theme="light"] .file-detail-state {
    color: #5c717d;
}

html[data-theme="light"] .file-hero-stats {
    border: 1px solid #c8cfd3;
    background: rgba(255, 255, 255, 0.442);
}

html[data-theme="light"] .file-hero-stats div {
    border-right: 1px solid #c9d0d4;
}

html[data-theme="light"] .file-hero-stats dt {
    color: #5c717d;
}

html[data-theme="light"] .file-hero-stats dd {
    color: #2d424f;
}

html[data-theme="light"] .file-detail-list > div {
    border: 1px solid #c9d0d5;
    background: rgba(255, 255, 255, 0.515);
}

html[data-theme="light"] .detail-field-icon {
    border: 1px solid #c6cdd1;
    background: rgba(7, 132, 174, 0.048);
}

html[data-theme="light"] .file-detail-list dt {
    color: #5c717d;
}

html[data-theme="light"] .file-detail-list dd {
    color: #2d424f;
}

html[data-theme="light"] .file-detail-list dd.is-code {
    color: #2d424f;
}

html[data-theme="light"] .related-file-list a {
    border-bottom: 1px solid #c9d1d6;
    background: #fafbfb;
}

html[data-theme="light"] .related-file-list a:hover,
html[data-theme="light"] .related-file-list a:focus-visible {
    background: #fafafb;
}

html[data-theme="light"] .related-file-list strong {
    color: #2d424f;
}

html[data-theme="light"] .related-file-list span {
    color: #5c717d;
}

html[data-theme="light"] .file-screenshot-strip figure {
    border: 1px solid #c8cfd3;
    background: #fafbfb;
}

html[data-theme="light"] .file-screenshot-strip figcaption {
    border-top: 1px solid #c9d0d5;
    color: #5c717d;
}

html[data-theme="light"] .file-download-panel {
    border: 1px solid #d0ccc7;
    background: linear-gradient(90deg, rgba(161, 103, 18, 0.022) 1px, transparent 1px),
        linear-gradient(135deg, #fafbfb, #fafafb);
}

html[data-theme="light"] .download-panel-copy h2 {
    color: #162631;
}

html[data-theme="light"] .download-panel-copy > p {
    color: #5c717d;
}

html[data-theme="light"] .download-panel-copy dl {
    border: 1px solid #cbd0d1;
}

html[data-theme="light"] .download-panel-copy dl div {
    border-right: 1px solid #cbd0d1;
}

html[data-theme="light"] .download-panel-copy dt {
    color: #5c717d;
}

html[data-theme="light"] .download-panel-copy dd {
    color: #2d424f;
}

html[data-theme="light"] .download-panel-actions a,
html[data-theme="light"] .download-panel-actions button {
    border: 1px solid #c8cdd1;
    color: #4b616e;
    background: #fafbfb;
}

html[data-theme="light"] .download-panel-actions a:hover,
html[data-theme="light"] .download-panel-actions a:focus-visible,
html[data-theme="light"] .download-panel-actions button:hover,
html[data-theme="light"] .download-panel-actions button:focus-visible {
    color: #122733;
}

html[data-theme="light"] .download-panel-actions .download-main-action {
    border-color: #b1823c;
    color: #a16712;
    background: rgba(161, 103, 18, 0.088);
}

html[data-theme="light"] .download-panel-actions .download-main-action:hover,
html[data-theme="light"] .download-panel-actions .download-main-action:focus-visible {
    color: #122733;
}

html[data-theme="light"] .download-panel-actions .download-back-link {
    color: #5c717d;
}

@media (max-width: 860px) {
html[data-theme="light"] .file-hero-stats div:nth-child(-n/**/+2) {
    border-bottom: 1px solid #c9d0d4;
}
}

@media (max-width: 620px) {
html[data-theme="light"] .download-panel-copy dl div {
    border-bottom: 1px solid #cbd0d1;
}
}

@media (max-width: 420px) {
html[data-theme="light"] .file-hero-stats div {
    border-bottom: 1px solid #c9d0d4;
}
}

html[data-theme="light"] .search-reset {
    border-left: 1px solid #c8cfd3;
    color: #4b616e;
    background: #fafbfb;
}

html[data-theme="light"] .search-reset:hover,
html[data-theme="light"] .search-reset:focus-visible {
    color: #162631;
    background: #f9fafa;
}

html[data-theme="light"] .search-reset:active {
    color: #122733;
}

html[data-theme="light"] .brand-card .brand-logo,
html[data-theme="light"] .brand-grid.is-home .brand-card .brand-logo {
    border: 1px solid #c8ced3;
    background: rgba(255, 255, 255, 0.662);
    color: #5c717d;
}

html[data-theme="light"] .brand-card h3,
html[data-theme="light"] .brand-grid.is-home .brand-card h3 {
    color: #162631;
}

html[data-theme="light"] .brand-card dt,
html[data-theme="light"] .brand-grid.is-home .brand-card dt {
    color: #5c717d;
}

html[data-theme="light"] .brand-card dd,
html[data-theme="light"] .brand-grid.is-home .brand-card dd {
    color: #2d424f;
}

@media (max-width: 622px) {
html[data-theme="light"] .hero-search.has-reset button,
html[data-theme="light"] .page-search.has-reset button {
    border-top: 1px solid #c6cdd1;
}

html[data-theme="light"] .hero-search.has-reset .search-reset,
html[data-theme="light"] .page-search.has-reset .search-reset {
    border-left: 1px solid #c8cfd3;
}

html[data-theme="light"] .download-panel-copy dl div {
    border-bottom: 1px solid #cbd0d1;
}
}

@media (max-width: 540px) {
html[data-theme="light"] .product-record-facts div,
html[data-theme="light"] .file-hero-stats div {
    border-bottom: 1px solid #c9d0d4;
}
}

html[data-theme="light"] .nav-submenu {
    background: #fafbfb;
    box-shadow: 0 18px 40px rgba(40, 65, 80, 0.209);
}

html[data-theme="light"] .archive-file-row {
    background: rgba(255, 255, 255, 0.865);
}

html[data-theme="light"] .general-post {
    background: rgba(255, 255, 255, 0.865);
}

html[data-theme="light"] .general-post-head {
    background: linear-gradient(135deg,rgba(255, 255, 255, 0.736),rgba(255, 255, 255, 0.828));
}

html[data-theme="light"] .general-post-media img {
    background: #fafbfb;
}

html[data-theme="light"] .post-record-console {
    border: 1px solid #c7ced3;
    background: linear-gradient(90deg,rgba(7, 132, 174, 0.031) 1px,transparent 1px),linear-gradient(rgba(7, 132, 174, 0.031) 1px,transparent 1px),linear-gradient(125deg,#fafbfb,#fafafb);
}

html[data-theme="light"] .post-record-console::after {
    background: linear-gradient(90deg,transparent,rgba(7, 132, 174, 0.264),transparent);
}

html[data-theme="light"] .post-record-media {
    border: 1px solid #c6cdd1;
    background: #fafbfb;
}

html[data-theme="light"] .post-record-media figcaption {
    border: 1px solid #c6cdd1;
    color: #4b616e;
    background: rgba(255, 255, 255, 0.846);
}

html[data-theme="light"] .post-record-copy h1 {
    color: #162631;
}

html[data-theme="light"] .post-record-copy>p {
    color: #4b616e;
}

html[data-theme="light"] .general-post-content {
    background: rgba(255, 255, 255, 0.865);
}

@media (max-width:480px) {
html[data-theme="light"] .post-record-facts div {
    border-bottom: 1px solid #c9d0d4;
}
}

html[data-theme="light"] .archive-file-row:hover {
    background: linear-gradient(90deg, rgba(7, 132, 174, 0.031), #fafbfb 34%);
}

html[data-theme="light"] .archive-type-badge {
    border: 1px solid #c7cdd1;
    background: rgba(7, 132, 174, 0.053);
}

html[data-theme="light"] .archive-open-action {
    border: 1px solid #b1823c;
    color: #a16712;
    background: rgba(161, 103, 18, 0.066);
}

html[data-theme="light"] .archive-open-action:hover,
html[data-theme="light"] .archive-open-action:focus-visible {
    color: #122733;
}

html[data-theme="light"] .archive-download-gate {
    background: linear-gradient(135deg,rgba(7, 132, 174, 0.079),rgba(255, 255, 255, 0.883));
}

html[data-theme="light"] .archive-progress {
    background: #fafbfb;
}

html[data-theme="light"] .archive-progress i {
    box-shadow: 0 0 18px rgba(21, 126, 82, 0.351);
}

html[data-theme="light"] .archive-final-download {
    color: #122733;
}

html[data-theme="light"] .archive-note,
html[data-theme="light"] .archive-success {
    background: rgba(161, 103, 18, 0.053);
}

html[data-theme="light"] .archive-success {
    background: rgba(21, 126, 82, 0.053);
}

html[data-theme="light"] .archive-report-panel select,
html[data-theme="light"] .archive-report-panel textarea {
    background: #fafbfb;
}

html[data-theme="light"] .archive-report-panel button {
    color: #122733;
}

@media (max-width:860px) {
html[data-theme="light"] .archive-file-row {
    background: rgba(255, 255, 255, 0.865);
}
}

html[data-theme="light"] .chinese-category-card {
    border: 1px solid #c8d0d4;
    border-top-color: #339abc;
    background: linear-gradient(145deg,#fafafb,#fafbfb 72%);
}

html[data-theme="light"] .chinese-category-card::after {
    border: 1px solid rgba(7, 132, 174, 0.211);
}

html[data-theme="light"] .chinese-category-card:hover {
    border-color: #339abc;
    background: linear-gradient(145deg,#f9fafa,#fafbfb 72%);
}

html[data-theme="light"] .chinese-category-code {
    color: #5c717d;
}

html[data-theme="light"] .chinese-category-card>strong {
    color: #162631;
}

html[data-theme="light"] .chinese-category-card dl {
    border-top: 1px solid #c9d0d5;
    border-bottom: 1px solid #c9d0d5;
}

html[data-theme="light"] .chinese-category-card dl div+div {
    border-left: 1px solid #c9d0d5;
}

html[data-theme="light"] .chinese-category-card dd {
    color: #2d424f;
}

html[data-theme="light"] .chinese-card-action {
    color: #4b616e;
}

html[data-theme="light"] .chinese-new-sticker {
    color: #a16712;
    background: rgba(161, 103, 18, 0.088);
    box-shadow: 0 0 18px rgba(161, 103, 18, 0.109);
}

html[data-theme="light"] .chinese-filter input {
    background: #fafbfb;
}

html[data-theme="light"] .chinese-filter button {
    color: #122733;
}

html[data-theme="light"] .chinese-file-card {
    border: 1px solid #c9d0d5;
    background: #fafbfb;
}

html[data-theme="light"] .chinese-file-card:hover {
    border-color: #339abc;
}

html[data-theme="light"] .chinese-file-thumb {
    border-bottom: 1px solid #c9d0d4;
    background: radial-gradient(circle at center,#f9fafa,#fafbfb);
}

html[data-theme="light"] .chinese-file-thumb small {
    color: #5c717d;
}

html[data-theme="light"] .chinese-file-copy strong {
    color: #162631;
}

html[data-theme="light"] .chinese-file-copy small {
    color: #5c717d;
}

html[data-theme="light"] .chinese-file-meta {
    border-top: 1px solid #c9d1d5;
    color: #5c717d;
}

html[data-theme="light"] .chinese-pagination a {
    color: #4b616e;
}

html[data-theme="light"] .chinese-notice {
    border: 1px solid rgba(21, 126, 82, 0.352);
    background: rgba(21, 126, 82, 0.062);
    color: #2d424f;
}

html[data-theme="light"] .chinese-details-panel,
html[data-theme="light"] .chinese-gallery,
html[data-theme="light"] .chinese-download-panel {
    background: rgba(255, 255, 255, 0.865);
}

html[data-theme="light"] .chinese-details-panel dl {
    border: 1px solid #c9d0d5;
}

html[data-theme="light"] .chinese-details-panel dl div {
    border-bottom: 1px solid #c9d1d6;
}

html[data-theme="light"] .chinese-details-panel dd {
    color: #2d424f;
}

html[data-theme="light"] .chinese-description {
    background: #fafbfb;
}

html[data-theme="light"] .chinese-description h3 {
    color: #162631;
}

html[data-theme="light"] .chinese-gallery-viewport {
    scrollbar-color: #122733 #122733;
}

html[data-theme="light"] .chinese-gallery figure {
    background: #fafbfb;
}

html[data-theme="light"] .chinese-gallery figcaption {
    background: rgba(255, 255, 255, 0.782);
    color: #2d424f;
}

html[data-theme="light"] .chinese-gallery-controls button {
    background: #fafafb;
    color: #2d424f;
}

html[data-theme="light"] .chinese-gallery-empty {
    background: #fafbfb;
}

html[data-theme="light"] .chinese-quick-actions button,
html[data-theme="light"] .chinese-quick-actions a {
    background: #fafbfb;
    color: #4b616e;
}

html[data-theme="light"] .chinese-report-form {
    background: rgba(161, 103, 18, 0.044);
}

html[data-theme="light"] .chinese-report-form input,
html[data-theme="light"] .chinese-report-form select {
    background: #fafbfb;
}

html[data-theme="light"] .chinese-report-form button {
    color: #122733;
}

html[data-theme="light"] .chinese-download-gate {
    border: 1px solid #c3ccd0;
    background: linear-gradient(135deg,rgba(7, 132, 174, 0.07),#fafbfb);
}

html[data-theme="light"] .download-progress {
    background: #fafbfb;
}

html[data-theme="light"] .chinese-download-button {
    color: #122733;
}

html[data-theme="light"] .chinese-download-button span {
    border: 1px solid rgba(126, 155, 171, 0.273);
}

html[data-theme="light"] .archive-ad-slot {
    background: rgba(255, 255, 255, 0.662);
}

html[data-theme="light"] .archive-start-download {
    color: #122733;
}

html[data-theme="light"] .archive-start-download:hover,
html[data-theme="light"] .archive-start-download:focus-visible {
    background: #77dcfc;
}

html[data-theme="light"] .archive-search .search-reset,
html[data-theme="light"] .chinese-filter .search-reset {
    color: #4b616e;
    background: #fafafb;
}

html[data-theme="light"] .secure-download-gate {
    border: 1px solid #c3ccd0;
    background: linear-gradient(135deg, rgba(7, 132, 174, 0.079), #fafbfb);
}

html[data-theme="light"] .secure-download-dial {
    background: #fafbfb;
}

html[data-theme="light"] .secure-download-ring-track {
    stroke: #122733;
}

html[data-theme="light"] .secure-download-dial b {
    color: #162631;
}

html[data-theme="light"] .secure-download-copy strong {
    color: #162631;
}

html[data-theme="light"] .secure-download-copy small {
    color: #5c717d;
}

html[data-theme="light"] .secure-download-actions button,
html[data-theme="light"] .secure-download-actions a,
html[data-theme="light"] .download-panel-actions .secure-download-actions button,
html[data-theme="light"] .download-panel-actions .secure-download-actions a {
    color: #122733;
}

html[data-theme="light"] .secure-download-error {
    border: 1px solid rgba(184, 57, 72, 0.396);
    color: #2d424f;
    background: rgba(184, 57, 72, 0.062);
}

html[data-theme="light"] .download-gate-notice,
html[data-theme="light"] .download-panel-copy > .download-gate-notice {
    border: 1px solid rgba(161, 103, 18, 0.396);
    color: #a16712;
    background: rgba(161, 103, 18, 0.062);
}

html[data-theme="light"] .chinese-notice.is-error {
    border-color: rgba(184, 57, 72, 0.396);
    color: #2d424f;
    background: rgba(184, 57, 72, 0.062);
}

html[data-theme="light"] .chinese-notice.is-warning {
    border-color: rgba(161, 103, 18, 0.396);
    color: #a16712;
    background: rgba(161, 103, 18, 0.062);
}

@media (max-width: 860px) {
html[data-theme="light"] .nav-submenu-toggle {
    border: 1px solid #c8cfd3;
    background: #fafbfb;
}

html[data-theme="light"] .primary-nav > .nav-item.has-children > .nav-submenu {
    border-color: #c8cfd3;
}
}

html[data-theme="light"] .chinese-gallery-viewport,
html[data-theme="light"] .chinese-gallery-empty {
    background: #fafbfb;
}

html[data-theme="light"] .file-download-panel.is-shared-download {
    background: rgba(255, 255, 255, 0.865);
}

html[data-theme="light"] .secure-download-gate.is-running .secure-download-ring-progress {
    filter: drop-shadow(0 0 4px rgba(7, 132, 174, 0.39));
}

@media (max-width: 860px) {
html[data-theme="light"] .nav-panel-head {
    background: rgba(255, 255, 255, 0.883);
}

html[data-theme="light"] .nav-panel-close {
    border: 1px solid #c6cdd1;
    color: #2d424f;
    background: #fafbfb;
}

html[data-theme="light"] .primary-nav {
    scrollbar-color: #122733 #122733;
}
}

html[data-theme="light"] .public-topbar {
    color: #5c717d;
    border-bottom: 1px solid #c9d1d7;
    background: #fbfbfb;
}

html[data-theme="light"] .public-topbar-inner time {
    color: #2d424f;
}

html[data-theme="light"] .public-topbar-inner span {
    color: #122733;
}

html[data-theme="light"] .brand-symbol {
    border: 1px solid #c6cdd1;
    background: linear-gradient(145deg, #f9fafa, #fafbfb);
    box-shadow: inset 0 0 0 1px rgba(7, 132, 174, 0.027);
}

html[data-theme="light"] .brand-symbol .logo-chip {
    fill: rgba(7, 132, 174, 0.079);
}

html[data-theme="light"] .brand-symbol .logo-trace {
    stroke: #4b616e;
}

html[data-theme="light"] .brand-symbol .logo-dish {
    fill: rgba(161, 103, 18, 0.079);
}

html[data-theme="light"] .brand-copy small {
    color: #5c717d;
}

html[data-theme="light"] .secondary-nav-item > a {
    border: 1px solid #c9d0d4;
    color: #4b616e;
    background: rgba(255, 255, 255, 0.598);
}

html[data-theme="light"] .secondary-nav-item > a:hover,
html[data-theme="light"] .secondary-nav-item > a:focus-visible {
    border-color: #c2cace;
    color: #162631;
    background: #fafafb;
}

html[data-theme="light"] .secondary-submenu {
    border: 1px solid #c6cdd1;
    background: #fafbfb;
    box-shadow: 0 17px 38px rgba(40, 65, 80, 0.22);
}

html[data-theme="light"] .secondary-submenu a {
    color: #4b616e;
    border-bottom: 1px solid #c9d1d6;
}

html[data-theme="light"] .global-hero-search button:hover {
    background: #79defd;
}

html[data-theme="light"] .portal-hero .hero-links a {
    color: #2d424f;
}

html[data-theme="light"] .firmware-visual {
    border: 1px solid #c6cdd1;
    background: radial-gradient(circle at 54% 44%, rgba(7, 132, 174, 0.088), transparent 50%), rgba(255, 255, 255, 0.699);
}

html[data-theme="light"] .visual-orbit circle {
    stroke: rgba(7, 132, 174, 0.106);
}

html[data-theme="light"] .visual-receiver > rect:first-child {
    stroke: #122733;
}

html[data-theme="light"] .visual-panel {
    fill: rgba(52, 77, 91, 0.662);
    stroke: #122733;
}

html[data-theme="light"] .visual-control {
    fill: #122733;
}

html[data-theme="light"] .visual-line {
    stroke: #5c717d;
}

html[data-theme="light"] .visual-tool {
    fill: rgba(161, 103, 18, 0.088);
}

html[data-theme="light"] .visual-packets rect {
    fill: #122733;
}

html[data-theme="light"] .visual-status {
    stroke: rgba(7, 132, 174, 0.308);
}

html[data-theme="light"] .visual-caption {
    border-top: 1px solid #c9d0d5;
    color: #5c717d;
}

html[data-theme="light"] .software-request-teaser {
    border: 1px solid #c7ced3;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.883), rgba(255, 255, 255, 0.883));
}

html[data-theme="light"] .software-request-teaser h3 {
    color: #162631;
}

html[data-theme="light"] .software-request-teaser button {
    color: #122733;
}

html[data-theme="light"] .software-request-teaser button:hover,
html[data-theme="light"] .software-request-teaser button:focus-visible {
    background: #77ddfd;
}

html[data-theme="light"] .software-request-shell {
    border: 1px solid #c7ced3;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.883), rgba(255, 255, 255, 0.883));
}

html[data-theme="light"] .software-request-copy {
    border-right: 1px solid #c8d0d4;
    background: rgba(7, 132, 174, 0.022);
}

html[data-theme="light"] .software-request-copy h3 {
    color: #162631;
}

html[data-theme="light"] .software-request-copy ul {
    color: #5c717d;
}

html[data-theme="light"] .software-request-form legend {
    color: #5c717d;
}

html[data-theme="light"] .request-type-options > label {
    border: 1px solid #c7cfd3;
    background: #fafbfb;
}

html[data-theme="light"] .request-type-options input:checked + span {
    color: #162631;
    background: rgba(7, 132, 174, 0.066);
}

html[data-theme="light"] .request-type-options small {
    color: #5c717d;
}

html[data-theme="light"] .software-request-form label > span {
    color: #4b616e;
}

html[data-theme="light"] .software-request-form input,
html[data-theme="light"] .software-request-form textarea {
    border: 1px solid #c8ced3;
    color: #162631;
    background: #fafbfb;
}

html[data-theme="light"] .software-request-form input:focus,
html[data-theme="light"] .software-request-form textarea:focus {
    box-shadow: 0 0 0 1px rgba(7, 132, 174, 0.07);
}

html[data-theme="light"] .request-message small {
    color: #5c717d;
}

html[data-theme="light"] .software-request-form button[type="submit"] {
    color: #122733;
}

html[data-theme="light"] .software-request-form button[type="submit"]:hover {
    background: #77ddfd;
}

html[data-theme="light"] .software-request-collapse {
    border: 1px solid #c6cdd1;
    color: #4b616e;
    background: #fafbfb;
}

html[data-theme="light"] .request-auth-note {
    border: 1px solid #d0ccc5;
    color: #a16712;
    background: rgba(161, 103, 18, 0.048);
}

html[data-theme="light"] .request-auth-note.is-ready {
    border-color: #c4d0cc;
    color: #2d424f;
    background: rgba(21, 126, 82, 0.048);
}

html[data-theme="light"] .request-notice {
    border: 1px solid #c6cdd1;
    color: #2d424f;
    background: #fafbfb;
}

html[data-theme="light"] .request-notice.is-success {
    border-color: #c3cfca;
    color: #2d424f;
    background: rgba(21, 126, 82, 0.053);
}

html[data-theme="light"] .request-notice.is-error {
    border-color: #cfc6c7;
    color: #2d424f;
    background: rgba(184, 57, 72, 0.053);
}

html[data-theme="light"] .recent-table-scroll {
    scrollbar-color: #122733 #122733;
}

html[data-theme="light"] .file-new-badge {
    border: 1px solid #b1823c;
    color: #a16712;
    background: rgba(161, 103, 18, 0.079);
}

html[data-theme="light"] .recent-pagination {
    color: #5c717d;
}

html[data-theme="light"] .recent-pagination a {
    border: 1px solid #c6cdd1;
    color: #2d424f;
    background: #fafbfb;
}

html[data-theme="light"] .global-result-card {
    border: 1px solid #c8cfd3;
    background: linear-gradient(140deg, #fafbfb, #fafafb);
}

html[data-theme="light"] .global-result-card:hover,
html[data-theme="light"] .global-result-card:focus-visible {
    border-color: #c1c9cd;
    background: linear-gradient(140deg, #fafbfb, #f9fafa);
}

html[data-theme="light"] .global-result-icon {
    border: 1px solid #c6cdd1;
    background: rgba(7, 132, 174, 0.048);
}

html[data-theme="light"] .global-result-copy strong {
    color: #162631;
}

html[data-theme="light"] .global-result-copy span {
    color: #5c717d;
}

html[data-theme="light"] .global-result-meta {
    color: #5c717d;
}

html[data-theme="light"] .legal-page {
    border: 1px solid #c7cfd3;
    background: #fafbfb;
}

html[data-theme="light"] .legal-page-head {
    border-bottom: 1px solid #c8d0d4;
    background: linear-gradient(135deg, rgba(7, 132, 174, 0.048), transparent 65%);
}

html[data-theme="light"] .legal-section-grid section {
    border: 1px solid #c9d0d5;
    background: rgba(255, 255, 255, 0.506);
}

html[data-theme="light"] .legal-section-grid h2 {
    color: #162631;
}

html[data-theme="light"] .footer-logo span {
    border: 1px solid #c6cdd1;
    background: #fafbfb;
}

html[data-theme="light"] .footer-logo strong {
    color: #162631;
}

html[data-theme="light"] .footer-about p {
    color: #5c717d;
}

html[data-theme="light"] .footer-links h2 {
    color: #2d424f;
}

html[data-theme="light"] .footer-links a {
    color: #5c717d;
}

html[data-theme="light"] .footer-bottom {
    border-top: 1px solid #c9d1d6;
    color: #5c717d;
}

@media (max-width: 860px) {
html[data-theme="light"] .software-request-copy {
    border-bottom: 1px solid #c8d0d4;
}
}

@media (max-width: 768px) {
html[data-theme="light"] .recent-table-scroll .file-row,
html[data-theme="light"] .file-console.is-product-archive .file-row {
    background: rgba(255, 255, 255, 0.865);
}

html[data-theme="light"] .recent-table-scroll .file-row .file-data,
html[data-theme="light"] .file-console.is-product-archive .file-row .file-data {
    border: 1px solid #c9d0d5;
}
}

@media (max-width: 620px) {
html[data-theme="light"] .global-hero-search.has-reset > span {
    border-bottom: 1px solid #c8cfd3;
}

html[data-theme="light"] .global-hero-search.has-reset button[type="submit"] {
    border-top: 1px solid #c8cfd3;
}

html[data-theme="light"] .global-hero-search.has-reset .search-reset {
    border-top: 1px solid #c8cfd3;
}

html[data-theme="light"] .file-hero-stats div {
    border-bottom: 1px solid #c9d0d4;
}

html[data-theme="light"] .product-record-facts > div,
html[data-theme="light"] .archive-file-meta > div {
    border-right: 1px solid #c9d0d4;
    border-bottom: 1px solid #c9d0d4;
}
}

html[data-theme="light"] .adsense-placement {
    border: 1px solid rgba(126, 155, 171, 0.265);
    background: rgba(255, 255, 255, 0.534);
}

html[data-theme="light"] .adsense-placement .adsense-label {
    color: #5c717d;
}

html[data-theme="light"] .pwa-install-panel {
    border: 1px solid #c6ced3;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.865), rgba(255, 255, 255, 0.902));
}

html[data-theme="light"] .pwa-install-panel::after {
    background: linear-gradient(90deg, transparent, rgba(7, 132, 174, 0.37), transparent);
}

html[data-theme="light"] .pwa-install-mark {
    border: 1px solid #c2cacf;
    background: #fafbfb;
}

html[data-theme="light"] .pwa-install-copy h2 {
    color: #162631;
}

html[data-theme="light"] .pwa-install-copy p {
    color: #5c717d;
}

html[data-theme="light"] .pwa-install-copy .pwa-install-message {
    color: #2d424f;
}

html[data-theme="light"] .pwa-install-panel > button {
    color: #122733;
}

html[data-theme="light"] .pwa-install-panel > button:hover {
    background: #75e1ff;
}

html[data-theme="light"] .pwa-install-panel > button:focus-visible {
    outline: 2px solid #b5c7d1;
}

html[data-theme="light"] .download-handoff-body {
    background: linear-gradient(rgba(7, 132, 174, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(7, 132, 174, 0.04) 1px, transparent 1px),
        #fafbfb;
}

html[data-theme="light"] .download-handoff-shell {
    border: 1px solid #c3ccd0;
    background: linear-gradient(135deg, rgba(7, 132, 174, 0.084), rgba(255, 255, 255, 0.902));
    box-shadow: 0 24px 70px rgba(40, 65, 80, 0.154);
}

html[data-theme="light"] .download-handoff-mark {
    border: 1px solid #c2cacf;
    background: #fafbfb;
}

html[data-theme="light"] .download-handoff-copy h1 {
    color: #162631;
}

html[data-theme="light"] .download-handoff-copy p {
    color: #5c717d;
}

html[data-theme="light"] .download-handoff-copy .download-handoff-file {
    color: #2d424f;
}

html[data-theme="light"] .download-handoff-copy a {
    border: 1px solid #c5cdd1;
    color: #2d424f;
    background: rgba(7, 132, 174, 0.048);
}

html[data-theme="light"] .download-handoff-copy a:hover,
html[data-theme="light"] .download-handoff-copy a:focus-visible {
    color: #122733;
}

html[data-theme="light"] .member-avatar.is-large.is-previewing {
    box-shadow: 0 0 0 2px rgba(21, 126, 82, 0.062);
}

html[data-theme="light"] .member-avatar-upload-status {
    border: 1px solid #c8cfd3;
    color: #5c717d;
    background: #fafbfb;
}

html[data-theme="light"] .member-avatar-upload-status.is-ready {
    border-color: #c4cfcb;
    color: #2d424f;
    background: rgba(21, 126, 82, 0.048);
}

html[data-theme="light"] .member-avatar-upload-status.is-error {
    border-color: #d0c7c8;
    color: #2d424f;
    background: rgba(184, 57, 72, 0.053);
}

html[data-theme="light"] .member-form select,
html[data-theme="light"] .member-form textarea,
html[data-theme="light"] .member-upload-filter input,
html[data-theme="light"] .member-upload-filter select {
    border: 1px solid #c7cfd2;
    color: #162631;
    background: #fafbfb;
}

html[data-theme="light"] .member-form select:focus,
html[data-theme="light"] .member-form textarea:focus,
html[data-theme="light"] .member-upload-filter input:focus,
html[data-theme="light"] .member-upload-filter select:focus {
    box-shadow: 0 0 0 2px rgba(7, 132, 174, 0.058);
}

html[data-theme="light"] .member-upload-actions {
    border-top: 1px solid #c8d0d4;
}

html[data-theme="light"] .member-upload-actions > span {
    color: #5c717d;
}

html[data-theme="light"] .member-upload-preview {
    border: 1px solid #c7ced3;
    background: #fafbfb;
}

html[data-theme="light"] .member-upload-preview img {
    border: 1px solid #c8d0d4;
    background: #fafbfb;
}

html[data-theme="light"] .member-upload-preview span {
    color: #4b616e;
}

html[data-theme="light"] .member-upload-preview b {
    color: #122733;
}

html[data-theme="light"] .member-upload-preview button {
    border: 1px solid #d0c8ca;
    color: #b83948;
    background: #fbfbfb;
}

html[data-theme="light"] .member-upload-progress {
    border: 1px solid #c5cdd1;
    background: rgba(7, 132, 174, 0.04);
}

html[data-theme="light"] .member-upload-progress > div {
    color: #2d424f;
}

html[data-theme="light"] .member-upload-progress progress {
    background: #fafbfb;
}

html[data-theme="light"] .member-upload-progress small {
    color: #5c717d;
}

html[data-theme="light"] .member-upload-filter {
    border: 1px solid #c7ced3;
    background: rgba(255, 255, 255, 0.874);
}

html[data-theme="light"] .member-upload-filter label > span {
    color: #4b616e;
}

html[data-theme="light"] .member-upload-record .member-status.is-published {
    border-color: #c4cfcb;
    color: #2d424f;
}

html[data-theme="light"] .member-upload-record .member-status.is-rejected,
html[data-theme="light"] .member-upload-record .member-status.is-archived {
    border-color: #d0c8ca;
    color: #b83948;
}

html[data-theme="light"] .member-existing-screenshots {
    border: 1px solid #c7ced3;
}

html[data-theme="light"] .member-existing-screenshots article {
    border: 1px solid #c7cfd3;
    background: #fafbfb;
}

html[data-theme="light"] .member-existing-screenshots img {
    background: #fafbfb;
}

html[data-theme="light"] .member-existing-screenshots label {
    color: #4b616e;
}

html[data-theme="light"] .member-existing-screenshots article.is-removing {
    border-color: #d0c8ca;
}

html[data-theme="light"] .chinese-category-upload {
    border: 1px solid #c5cdd1;
    color: #2d424f;
    background: #fafbfb;
}

html[data-theme="light"] .pwa-launch-screen {
    color: #162631;
    background: linear-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.16) 1px, transparent 1px),
        radial-gradient(circle at 50% 28%, rgba(7, 132, 174, 0.158), transparent 38%),
        #fafbfb;
}

html[data-theme="light"] .pwa-launch-logo {
    filter: drop-shadow(0 12px 34px rgba(7, 132, 174, 0.14));
}

html[data-theme="light"] .pwa-launch-card strong {
    color: #162631;
}

html[data-theme="light"] .pwa-launch-card span {
    color: #5c717d;
}

html[data-theme="light"] .pwa-launch-card > i {
    background: rgba(7, 132, 174, 0.158);
}

html[data-theme="light"] .community-hero,
html[data-theme="light"] .community-profile-hero {
    border: 1px solid #c6ced3;
    background: radial-gradient(circle at 82% 24%, rgba(7, 132, 174, 0.106), transparent 28%),
        linear-gradient(rgba(7, 132, 174, 0.031) 1px, transparent 1px),
        linear-gradient(90deg, rgba(7, 132, 174, 0.031) 1px, transparent 1px),
        rgba(255, 255, 255, 0.883);
}

html[data-theme="light"] .community-hero::after,
html[data-theme="light"] .community-profile-hero::after {
    border: 1px solid rgba(7, 132, 174, 0.088);
}

html[data-theme="light"] .community-hero h1,
html[data-theme="light"] .community-profile-hero h1 {
    color: #162631;
}

html[data-theme="light"] .community-hero p,
html[data-theme="light"] .community-profile-hero p {
    color: #5c717d;
}

html[data-theme="light"] .community-hero aside {
    border: 1px solid #c5cdd1;
    background: rgba(255, 255, 255, 0.662);
}

html[data-theme="light"] .community-hero aside span {
    color: #5c717d;
}

html[data-theme="light"] .community-uploader-card {
    border: 1px solid #c8d0d4;
    background: linear-gradient(130deg, rgba(255, 255, 255, 0.892), rgba(255, 255, 255, 0.902));
}

html[data-theme="light"] .community-uploader-card::after {
    background: rgba(7, 132, 174, 0.334);
}

html[data-theme="light"] .community-uploader-card:hover,
html[data-theme="light"] .community-uploader-card:focus-visible {
    border-color: #339abc;
    background: linear-gradient(130deg, rgba(255, 255, 255, 0.902), rgba(255, 255, 255, 0.911));
}

html[data-theme="light"] .community-avatar {
    border: 1px solid #c3cbcf;
    background: #fafbfb;
}

html[data-theme="light"] .community-uploader-copy strong {
    color: #162631;
}

html[data-theme="light"] .community-uploader-copy small {
    color: #5c717d;
}

html[data-theme="light"] .community-open {
    color: #4b616e;
}

html[data-theme="light"] .community-share {
    border: 1px solid #c5cdd1;
    color: #2d424f;
    background: rgba(255, 255, 255, 0.791);
}

html[data-theme="light"] .community-share:hover,
html[data-theme="light"] .community-share:focus-visible {
    color: #122733;
}

html[data-theme="light"] .community-share:hover span,
html[data-theme="light"] .community-share:focus-visible span {
    color: #122733;
}

html[data-theme="light"] .chinese-uploader-link {
    border: 1px solid #c7ced3;
    background: #fafbfb;
}

html[data-theme="light"] .chinese-uploader-link img {
    border: 1px solid #c4ccd0;
    background: #fafbfb;
}

html[data-theme="light"] .chinese-uploader-link span {
    color: #2d424f;
}

html[data-theme="light"] .member-social-list article {
    border: 1px solid #c8d0d4;
    background: rgba(255, 255, 255, 0.662);
}

html[data-theme="light"] .member-social-list strong {
    color: #162631;
}

html[data-theme="light"] .member-social-empty {
    border: 1px dashed #c8cfd3;
}

html[data-theme="light"] .community-social-button,
html[data-theme="light"] .community-profile-actions .community-share {
    border: 1px solid #c5cdd1;
    color: #2d424f;
    background: rgba(255, 255, 255, 0.791);
}

html[data-theme="light"] .community-social-button:hover,
html[data-theme="light"] .community-social-button:focus-visible {
    color: #122733;
}

html[data-theme="light"] .community-social-button:hover span,
html[data-theme="light"] .community-social-button:focus-visible span {
    color: #122733;
}

html[data-theme="light"] .chinese-uploader-social-row dd a {
    border: 1px solid #c5cdd1;
    background: #fafbfb;
}

html[data-theme="light"] .chinese-uploader-social-row dd a:hover,
html[data-theme="light"] .chinese-uploader-social-row dd a:focus-visible {
    color: #122733;
}


/* KDN 6.0.1 light polish layer.
   Purpose: reduce harsh border density, remove over-mechanical grids,
   and keep core behavior/download flows untouched. */
html[data-theme="light"] {
    --bg: #f5f8fa;
    --surface: #ffffff;
    --surface-2: #fbfdfe;
    --surface-3: #f3f7f9;
    --line: #dbe5ea;
    --line-strong: #c9d6de;
    --text: #17303f;
    --muted: #607888;
    --dim: #7e94a0;
    --cyan: #0d89b4;
    --cyan-soft: rgba(13, 137, 180, .08);
    --shadow-soft: 0 10px 24px rgba(25, 51, 68, .05);
    --shadow-card: 0 14px 30px rgba(25, 51, 68, .055);
    --radius-md: 10px;
    --radius-lg: 14px;
}

html[data-theme="light"] body {
    background:
        radial-gradient(circle at 15% 0%, rgba(13, 137, 180, .045), transparent 28%),
        radial-gradient(circle at 85% 8%, rgba(13, 137, 180, .05), transparent 26%),
        var(--bg);
}

html[data-theme="light"] .site-header,
html[data-theme="light"] .public-topbar,
html[data-theme="light"] .nav-shell,
html[data-theme="light"] .site-footer {
    background: rgba(255, 255, 255, .94);
}

html[data-theme="light"] .site-header { box-shadow: 0 8px 20px rgba(27, 52, 68, .055); }
html[data-theme="light"] .public-topbar { border-bottom-color: #dee7eb; }
html[data-theme="light"] .nav-shell { border-top-color: #d9e4e9; }

html[data-theme="light"] .theme-toggle,
html[data-theme="light"] .member-header-signin,
html[data-theme="light"] .member-header-account {
    border-color: var(--line);
    border-radius: 10px;
    box-shadow: 0 1px 2px rgba(25, 51, 68, .04);
}

html[data-theme="light"] .primary-nav a,
html[data-theme="light"] .mobile-tabs a {
    color: #546d7c;
    background: transparent;
    border-color: #e0e8ec;
}

html[data-theme="light"] .primary-nav a:hover,
html[data-theme="light"] .primary-nav a:focus-visible,
html[data-theme="light"] .mobile-tabs a:hover,
html[data-theme="light"] .mobile-tabs a:focus-visible {
    background: rgba(13, 137, 180, .04);
}

html[data-theme="light"] .primary-nav a.is-active,
html[data-theme="light"] .mobile-tabs a.is-active {
    color: #16303e;
    background: linear-gradient(to bottom, rgba(13, 137, 180, .035), rgba(13, 137, 180, 0));
    box-shadow: inset 0 -2px 0 var(--cyan);
}

html[data-theme="light"] .command-hero,
html[data-theme="light"] .page-command,
html[data-theme="light"] .product-command,
html[data-theme="light"] .product-record-console,
html[data-theme="light"] .file-detail-hero,
html[data-theme="light"] .file-download-panel,
html[data-theme="light"] .secure-download-gate,
html[data-theme="light"] .archive-download-gate,
html[data-theme="light"] .chinese-download-gate,
html[data-theme="light"] .member-page-head,
html[data-theme="light"] .member-panel,
html[data-theme="light"] .member-record,
html[data-theme="light"] .archive-detail-card,
html[data-theme="light"] .chinese-details-panel,
html[data-theme="light"] .chinese-gallery,
html[data-theme="light"] .chinese-download-panel,
html[data-theme="light"] .file-detail-card,
html[data-theme="light"] .general-post,
html[data-theme="light"] .general-post-content,
html[data-theme="light"] .member-sidebar,
html[data-theme="light"] .member-auth-page,
html[data-theme="light"] .member-auth-card,
html[data-theme="light"] .member-delete-panel,
html[data-theme="light"] .member-empty.is-large,
html[data-theme="light"] .query-message,
html[data-theme="light"] .empty-state,
html[data-theme="light"] .admin-auth-card,
html[data-theme="light"] .admin-form-shell,
html[data-theme="light"] .admin-storage-preview,
html[data-theme="light"] .admin-alert,
html[data-theme="light"] .post-record-console {
    border-color: var(--line);
    background: linear-gradient(180deg, #ffffff, var(--surface-2));
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

html[data-theme="light"] .file-console,
html[data-theme="light"] .detail-panel,
html[data-theme="light"] .pagination-bar,
html[data-theme="light"] .mini-telemetry,
html[data-theme="light"] .telemetry-grid,
html[data-theme="light"] .member-pagination,
html[data-theme="light"] .member-stat-grid,
html[data-theme="light"] .download-panel-copy dl,
html[data-theme="light"] .command-stats,
html[data-theme="light"] .product-record-facts,
html[data-theme="light"] .file-hero-stats,
html[data-theme="light"] .archive-progress,
html[data-theme="light"] .download-progress,
html[data-theme="light"] .secure-download-dial,
html[data-theme="light"] .archive-ad-slot {
    border-color: var(--line);
    background: #fff;
    border-radius: 12px;
    box-shadow: none;
}

html[data-theme="light"] .command-hero::before,
html[data-theme="light"] .page-command::after,
html[data-theme="light"] .product-command::after,
html[data-theme="light"] .product-record-console::after,
html[data-theme="light"] .file-detail-hero::after,
html[data-theme="light"] .brand-card::before,
html[data-theme="light"] .brand-card::after,
html[data-theme="light"] .receiver-card::after,
html[data-theme="light"] .product-media::after,
html[data-theme="light"] .product-cover::after,
html[data-theme="light"] .file-detail-visual::after,
html[data-theme="light"] .post-record-console::after {
    opacity: .18;
}

html[data-theme="light"] .brand-card,
html[data-theme="light"] .brand-grid.is-home .brand-card,
html[data-theme="light"] .receiver-card,
html[data-theme="light"] .product-card,
html[data-theme="light"] .chinese-category-card,
html[data-theme="light"] .chinese-file-card,
html[data-theme="light"] .related-file-list a,
html[data-theme="light"] .archive-file-row,
html[data-theme="light"] .file-screenshot-grid figure,
html[data-theme="light"] .file-screenshot-strip figure,
html[data-theme="light"] .general-post,
html[data-theme="light"] .general-post-content {
    border-color: var(--line);
    background: #fff;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 14px rgba(25, 51, 68, .035);
}

html[data-theme="light"] .brand-card:hover,
html[data-theme="light"] .brand-card:focus-visible,
html[data-theme="light"] .brand-grid.is-home .brand-card:hover,
html[data-theme="light"] .brand-grid.is-home .brand-card:focus-visible,
html[data-theme="light"] .receiver-card:hover,
html[data-theme="light"] .receiver-card:focus-within,
html[data-theme="light"] .product-card:hover,
html[data-theme="light"] .chinese-category-card:hover,
html[data-theme="light"] .chinese-file-card:hover,
html[data-theme="light"] .related-file-list a:hover,
html[data-theme="light"] .related-file-list a:focus-visible,
html[data-theme="light"] .archive-file-row:hover {
    border-color: #cfdde4;
    box-shadow: 0 10px 26px rgba(25, 51, 68, .06);
    transform: translateY(-1px);
}

html[data-theme="light"] .brand-logo,
html[data-theme="light"] .brand-command-logo,
html[data-theme="light"] .brand-card-node,
html[data-theme="light"] .product-media,
html[data-theme="light"] .product-cover,
html[data-theme="light"] .product-record-media,
html[data-theme="light"] .file-detail-visual,
html[data-theme="light"] .file-screenshot-grid figure,
html[data-theme="light"] .file-screenshot-strip figure,
html[data-theme="light"] .chinese-file-thumb,
html[data-theme="light"] .chinese-gallery figure,
html[data-theme="light"] .post-record-media,
html[data-theme="light"] .firmware-visual,
html[data-theme="light"] .brand-symbol {
    border-color: var(--line);
    background: linear-gradient(180deg, #ffffff, #f9fbfc);
    border-radius: 10px;
    box-shadow: inset 0 0 0 1px rgba(13, 137, 180, .02);
}

html[data-theme="light"] .product-media,
html[data-theme="light"] .product-cover,
html[data-theme="light"] .product-record-media,
html[data-theme="light"] .file-detail-visual,
html[data-theme="light"] .chinese-file-thumb {
    background: linear-gradient(180deg, #ffffff, #f8fbfc);
}

html[data-theme="light"] .brand-card dl,
html[data-theme="light"] .chinese-category-card dl,
html[data-theme="light"] .member-panel > header,
html[data-theme="light"] .member-sidebar-profile,
html[data-theme="light"] .detail-copy-section,
html[data-theme="light"] .technical-list div,
html[data-theme="light"] .file-row,
html[data-theme="light"] .member-compact-list > a,
html[data-theme="light"] .member-compact-list > div,
html[data-theme="light"] .member-notification-list article,
html[data-theme="light"] .member-session-list article,
html[data-theme="light"] .member-activity-list > div,
html[data-theme="light"] .related-file-list a,
html[data-theme="light"] .file-screenshot-grid figcaption,
html[data-theme="light"] .file-screenshot-strip figcaption,
html[data-theme="light"] .chinese-file-meta,
html[data-theme="light"] .chinese-details-panel dl div,
html[data-theme="light"] .detail-panel-head,
html[data-theme="light"] .engine-head,
html[data-theme="light"] .engine-foot,
html[data-theme="light"] .engine-core dl div,
html[data-theme="light"] .public-topbar,
html[data-theme="light"] .nav-panel-head,
html[data-theme="light"] .mobile-tabs-shell,
html[data-theme="light"] .member-auth-switch,
html[data-theme="light"] .member-sidebar > form,
html[data-theme="light"] .file-row .file-data,
html[data-theme="light"] .archive-file-row .file-data {
    border-color: var(--line);
}

html[data-theme="light"] .brand-card dl div,
html[data-theme="light"] .brand-grid.is-home .brand-card dl div,
html[data-theme="light"] .file-detail-list > div,
html[data-theme="light"] .download-panel-copy dl div,
html[data-theme="light"] .command-stats div,
html[data-theme="light"] .product-record-facts div,
html[data-theme="light"] .file-hero-stats div,
html[data-theme="light"] .member-request-list dl div,
html[data-theme="light"] .member-request-list dl,
html[data-theme="light"] .member-stat-grid a,
html[data-theme="light"] .receiver-file-count {
    border-color: var(--line);
    background: rgba(248, 251, 252, .82);
}

html[data-theme="light"] .receiver-file-count,
html[data-theme="light"] .command-stats,
html[data-theme="light"] .product-record-facts,
html[data-theme="light"] .file-hero-stats,
html[data-theme="light"] .download-panel-copy dl,
html[data-theme="light"] .member-stat-grid {
    overflow: hidden;
}

html[data-theme="light"] .header-search,
html[data-theme="light"] .hero-search,
html[data-theme="light"] .page-search,
html[data-theme="light"] .chinese-filter input,
html[data-theme="light"] .member-form input,
html[data-theme="light"] .admin-form input,
html[data-theme="light"] .admin-form select,
html[data-theme="light"] .admin-form textarea,
html[data-theme="light"] .archive-report-panel select,
html[data-theme="light"] .archive-report-panel textarea,
html[data-theme="light"] .chinese-report-form input,
html[data-theme="light"] .chinese-report-form select {
    border-color: var(--line);
    background: #fff;
    border-radius: 10px;
}

html[data-theme="light"] .search-prefix,
html[data-theme="light"] .search-reset {
    background: #f8fbfc;
    border-color: var(--line);
}

html[data-theme="light"] .header-search:focus-within,
html[data-theme="light"] .hero-search:focus-within,
html[data-theme="light"] .page-search:focus-within,
html[data-theme="light"] .member-form input:focus,
html[data-theme="light"] .admin-form input:focus,
html[data-theme="light"] .admin-form select:focus,
html[data-theme="light"] .admin-form textarea:focus {
    border-color: #9ed6ea;
    box-shadow: 0 0 0 3px rgba(13, 137, 180, .08);
}

html[data-theme="light"] .button,
html[data-theme="light"] .receiver-open,
html[data-theme="light"] .file-inspect-action,
html[data-theme="light"] .file-secondary-action,
html[data-theme="light"] .download-panel-actions a,
html[data-theme="light"] .download-panel-actions button,
html[data-theme="light"] .member-record-actions a,
html[data-theme="light"] .member-record-actions button,
html[data-theme="light"] .member-pagination a,
html[data-theme="light"] .entity-favorite-action button,
html[data-theme="light"] .entity-favorite-action a,
html[data-theme="light"] .chinese-quick-actions button,
html[data-theme="light"] .chinese-quick-actions a,
html[data-theme="light"] .file-pager-actions a,
html[data-theme="light"] .file-pager-actions .is-disabled,
html[data-theme="light"] .secondary-nav-item > a,
html[data-theme="light"] .nav-panel-close,
html[data-theme="light"] .nav-submenu-toggle,
html[data-theme="light"] .member-drawer-access button,
html[data-theme="light"] .member-drawer-access > div a,
html[data-theme="light"] .admin-actions a,
html[data-theme="light"] .admin-actions button,
html[data-theme="light"] .admin-row-actions a,
html[data-theme="light"] .admin-row-actions button,
html[data-theme="light"] .admin-primary-action {
    border-color: var(--line);
    background: #fff;
    border-radius: 9px;
    box-shadow: 0 1px 2px rgba(25, 51, 68, .03);
}

html[data-theme="light"] .button:hover,
html[data-theme="light"] .receiver-open:hover,
html[data-theme="light"] .receiver-open:focus-visible,
html[data-theme="light"] .file-inspect-action:hover,
html[data-theme="light"] .file-inspect-action:focus-visible,
html[data-theme="light"] .file-secondary-action:hover,
html[data-theme="light"] .file-secondary-action:focus-visible,
html[data-theme="light"] .download-panel-actions a:hover,
html[data-theme="light"] .download-panel-actions a:focus-visible,
html[data-theme="light"] .download-panel-actions button:hover,
html[data-theme="light"] .download-panel-actions button:focus-visible,
html[data-theme="light"] .member-record-actions a:hover,
html[data-theme="light"] .member-record-actions button:hover,
html[data-theme="light"] .entity-favorite-action button:hover,
html[data-theme="light"] .entity-favorite-action a:hover,
html[data-theme="light"] .chinese-quick-actions button:hover,
html[data-theme="light"] .chinese-quick-actions a:hover,
html[data-theme="light"] .file-pager-actions a:hover,
html[data-theme="light"] .secondary-nav-item > a:hover,
html[data-theme="light"] .admin-actions a:hover,
html[data-theme="light"] .admin-actions button:hover,
html[data-theme="light"] .admin-row-actions a:hover,
html[data-theme="light"] .admin-row-actions button:hover,
html[data-theme="light"] .admin-primary-action:hover {
    background: #f6fbfd;
    border-color: #cfe0e7;
}

html[data-theme="light"] .download-action,
html[data-theme="light"] .file-open-action,
html[data-theme="light"] .archive-open-action,
html[data-theme="light"] .file-primary-action,
html[data-theme="light"] .file-actions .download-action,
html[data-theme="light"] .download-panel-actions .download-main-action,
html[data-theme="light"] .archive-start-download,
html[data-theme="light"] .chinese-download-button,
html[data-theme="light"] .secure-download-actions button,
html[data-theme="light"] .secure-download-actions a,
html[data-theme="light"] .download-panel-actions .secure-download-actions button,
html[data-theme="light"] .download-panel-actions .secure-download-actions a,
html[data-theme="light"] .member-primary-button,
html[data-theme="light"] .chinese-filter button,
html[data-theme="light"] .archive-report-panel button,
html[data-theme="light"] .chinese-report-form button,
html[data-theme="light"] .global-hero-search button,
html[data-theme="light"] .header-search button,
html[data-theme="light"] .hero-search button,
html[data-theme="light"] .page-search button {
    border-radius: 10px;
}

html[data-theme="light"] .download-action,
html[data-theme="light"] .file-open-action,
html[data-theme="light"] .archive-open-action,
html[data-theme="light"] .file-primary-action,
html[data-theme="light"] .file-actions .download-action,
html[data-theme="light"] .download-panel-actions .download-main-action {
    border-color: #ddb97e;
    color: #9b6214;
    background: linear-gradient(180deg, #fff9ef, #fff5e6);
    box-shadow: 0 1px 2px rgba(161, 103, 18, .05);
}

html[data-theme="light"] .download-action:hover,
html[data-theme="light"] .download-action:focus-visible,
html[data-theme="light"] .file-open-action:hover,
html[data-theme="light"] .file-open-action:focus-visible,
html[data-theme="light"] .archive-open-action:hover,
html[data-theme="light"] .archive-open-action:focus-visible,
html[data-theme="light"] .file-primary-action:hover,
html[data-theme="light"] .file-primary-action:focus-visible,
html[data-theme="light"] .file-actions .download-action:hover,
html[data-theme="light"] .file-actions .download-action:focus-visible,
html[data-theme="light"] .download-panel-actions .download-main-action:hover,
html[data-theme="light"] .download-panel-actions .download-main-action:focus-visible {
    color: #17303f;
    border-color: #d7b06f;
    background: linear-gradient(180deg, #fff7eb, #ffefd8);
}

html[data-theme="light"] .member-primary-button,
html[data-theme="light"] .archive-start-download,
html[data-theme="light"] .chinese-download-button,
html[data-theme="light"] .secure-download-actions button,
html[data-theme="light"] .secure-download-actions a,
html[data-theme="light"] .download-panel-actions .secure-download-actions button,
html[data-theme="light"] .download-panel-actions .secure-download-actions a,
html[data-theme="light"] .chinese-filter button,
html[data-theme="light"] .archive-report-panel button,
html[data-theme="light"] .chinese-report-form button,
html[data-theme="light"] .global-hero-search button,
html[data-theme="light"] .header-search button,
html[data-theme="light"] .hero-search button,
html[data-theme="light"] .page-search button {
    border-color: #0d89b4;
    color: #fff;
    background: linear-gradient(180deg, #11a0d2, #0d89b4);
    box-shadow: 0 8px 18px rgba(13, 137, 180, .18);
}

html[data-theme="light"] .member-primary-button:hover,
html[data-theme="light"] .archive-start-download:hover,
html[data-theme="light"] .archive-start-download:focus-visible,
html[data-theme="light"] .chinese-download-button:hover,
html[data-theme="light"] .chinese-download-button:focus-visible,
html[data-theme="light"] .secure-download-actions button:hover,
html[data-theme="light"] .secure-download-actions button:focus-visible,
html[data-theme="light"] .secure-download-actions a:hover,
html[data-theme="light"] .secure-download-actions a:focus-visible,
html[data-theme="light"] .download-panel-actions .secure-download-actions button:hover,
html[data-theme="light"] .download-panel-actions .secure-download-actions button:focus-visible,
html[data-theme="light"] .download-panel-actions .secure-download-actions a:hover,
html[data-theme="light"] .download-panel-actions .secure-download-actions a:focus-visible,
html[data-theme="light"] .chinese-filter button:hover,
html[data-theme="light"] .archive-report-panel button:hover,
html[data-theme="light"] .chinese-report-form button:hover,
html[data-theme="light"] .global-hero-search button:hover,
html[data-theme="light"] .header-search button:hover,
html[data-theme="light"] .hero-search button:hover,
html[data-theme="light"] .page-search button:hover {
    color: #fff;
    background: linear-gradient(180deg, #1296c5, #0b7fa7);
}

html[data-theme="light"] .file-detail-badges span,
html[data-theme="light"] .product-media-label,
html[data-theme="light"] .file-detail-extension,
html[data-theme="light"] .file-detail-kicker span,
html[data-theme="light"] .brand-card .card-arrow,
html[data-theme="light"] .card-arrow,
html[data-theme="light"] .receiver-open,
html[data-theme="light"] .download-panel-copy dt,
html[data-theme="light"] .member-status,
html[data-theme="light"] .admin-status,
html[data-theme="light"] .entity-favorite-action button.is-saved,
html[data-theme="light"] .file-chip,
html[data-theme="light"] .archive-type-badge,
html[data-theme="light"] .search-prefix,
html[data-theme="light"] .product-record-type,
html[data-theme="light"] .product-media-label,
html[data-theme="light"] .system-kicker > span {
    border-radius: 999px;
}

html[data-theme="light"] .brand-card h3,
html[data-theme="light"] .brand-grid.is-home .brand-card h3,
html[data-theme="light"] .receiver-title,
html[data-theme="light"] .file-identity h3,
html[data-theme="light"] .product-record-copy h1,
html[data-theme="light"] .file-detail-heading h1,
html[data-theme="light"] .download-panel-copy h2,
html[data-theme="light"] .detail-copy-section h2,
html[data-theme="light"] .command-copy h1,
html[data-theme="light"] .brand-card dd,
html[data-theme="light"] .command-stats dd,
html[data-theme="light"] .product-record-facts dd,
html[data-theme="light"] .file-hero-stats dd,
html[data-theme="light"] .file-detail-list dd,
html[data-theme="light"] .technical-list dd,
html[data-theme="light"] .chinese-details-panel dd,
html[data-theme="light"] .member-page-head strong,
html[data-theme="light"] .member-record strong,
html[data-theme="light"] .member-compact-list strong,
html[data-theme="light"] .related-file-list strong {
    color: var(--text);
}

html[data-theme="light"] .file-identity p,
html[data-theme="light"] .product-body p,
html[data-theme="light"] .command-copy > p,
html[data-theme="light"] .page-command p,
html[data-theme="light"] .product-command p,
html[data-theme="light"] .download-panel-copy > p,
html[data-theme="light"] .detail-copy-section p,
html[data-theme="light"] .command-copy > p,
html[data-theme="light"] .hero-links,
html[data-theme="light"] .breadcrumbs,
html[data-theme="light"] .brand-copy small,
html[data-theme="light"] .receiver-updated,
html[data-theme="light"] .file-data,
html[data-theme="light"] .member-status,
html[data-theme="light"] .member-compact-list small,
html[data-theme="light"] .member-session-list small,
html[data-theme="light"] .member-activity-list small,
html[data-theme="light"] .file-detail-state,
html[data-theme="light"] .related-file-list span,
html[data-theme="light"] .chinese-file-copy small,
html[data-theme="light"] .public-topbar,
html[data-theme="light"] .site-footer {
    color: var(--muted);
}

html[data-theme="light"] .signal-inner > span:first-child,
html[data-theme="light"] .public-topbar-inner time,
html[data-theme="light"] .public-topbar-inner span,
html[data-theme="light"] .command-copy h1,
html[data-theme="light"] .brand-copy strong,
html[data-theme="light"] .product-placeholder,
html[data-theme="light"] .secure-download-dial b,
html[data-theme="light"] .secure-download-copy strong {
    color: var(--text);
}

html[data-theme="light"] .site-footer,
html[data-theme="light"] .public-topbar,
html[data-theme="light"] .site-header,
html[data-theme="light"] .nav-shell,
html[data-theme="light"] .mobile-tabs-shell,
html[data-theme="light"] .nav-panel-head,
html[data-theme="light"] .member-sidebar,
html[data-theme="light"] .member-panel,
html[data-theme="light"] .detail-panel,
html[data-theme="light"] .file-console,
html[data-theme="light"] .archive-ad-slot,
html[data-theme="light"] .download-panel-copy dl,
html[data-theme="light"] .command-stats,
html[data-theme="light"] .product-record-facts,
html[data-theme="light"] .file-hero-stats,
html[data-theme="light"] .member-stat-grid {
    overflow: hidden;
}

@media (max-width: 860px) {
    html[data-theme="light"] .nav-shell {
        background: rgba(255, 255, 255, .97);
        box-shadow: 0 22px 46px rgba(27, 52, 68, .13);
        border-bottom-color: #dfe8ec;
    }

    html[data-theme="light"] .primary-nav a,
    html[data-theme="light"] .mobile-tabs a {
        border-radius: 10px;
        margin: 0 6px 6px 0;
        border-color: var(--line);
        background: #fff;
    }

    html[data-theme="light"] .primary-nav a:first-child,
    html[data-theme="light"] .mobile-tabs a:first-child {
        border-left-color: var(--line);
    }
}


/* KDN 6.0.2 micro-fix layer.
   Exact user-requested refinements for light theme only:
   - remove extra bordered count chips from brand cards
   - keep site logo icon wrapper square with no radius
   Dark theme remains untouched. */
html[data-theme="light"] .brand-symbol {
    border-radius: 0;
}

html[data-theme="light"] .brand-symbol img,
html[data-theme="light"] .brand-symbol svg {
    border-radius: 0;
}

html[data-theme="light"] .brand-card dl,
html[data-theme="light"] .brand-grid.is-home .brand-card dl {
    gap: 12px;
    border: 0;
    background: transparent;
    box-shadow: none;
}

html[data-theme="light"] .brand-card dl div,
html[data-theme="light"] .brand-grid.is-home .brand-card dl div {
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    min-height: 0;
}

html[data-theme="light"] .brand-card dt,
html[data-theme="light"] .brand-grid.is-home .brand-card dt {
    color: #708694;
}

html[data-theme="light"] .brand-card dd,
html[data-theme="light"] .brand-grid.is-home .brand-card dd {
    color: #3a5361;
}

/* KDN 6.1.0 light footer branding contrast fix.
   Dark footer keeps the original site-logo asset exactly as before. */
.footer-logo-light { display: none; }

html[data-theme="light"] .footer-logo-dark { display: none; }
html[data-theme="light"] .footer-logo-light {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}
html[data-theme="light"] .footer-logo-light > img {
    width: 43px;
    height: 43px;
    flex: 0 0 auto;
    object-fit: contain;
    border-radius: 0;
}
html[data-theme="light"] .footer-logo-light > span {
    min-width: 0;
    display: grid;
    gap: 3px;
}
html[data-theme="light"] .footer-logo-light strong {
    color: #17303f;
    font: 600 13px/1.15 var(--sans);
}
html[data-theme="light"] .footer-logo-light small {
    color: #607888;
    font: 700 8px/1.2 var(--mono);
    letter-spacing: .08em;
    text-transform: uppercase;
}


/* KDN 6.1.1 Professional Light Color System
   Light-theme-only visual hierarchy. Dark app.css is intentionally untouched. */
html[data-theme="light"] {
    --bg: #eef4f8;
    --surface: #ffffff;
    --surface-2: #f7fafc;
    --surface-3: #edf4f8;
    --surface-4: #e5eef4;
    --line: #d6e1e8;
    --line-strong: #c4d3dd;
    --text: #17344a;
    --muted: #536b7d;
    --dim: #748a99;
    --cyan: #0787ad;
    --cyan-soft: rgba(7, 135, 173, .09);
    --blue: #315fc7;
    --amber: #a96b18;
    --amber-soft: rgba(169, 107, 24, .10);
    --green: #19794e;
    --danger: #b83b4b;
    --light-indigo: #4f5fbf;
    --light-teal: #0d7c75;
    --light-emerald: #28784f;
    --light-amber: #a86c1c;
    --light-red: #b84a56;
    --light-navy: #173d5c;
}

html[data-theme="light"] body {
    color: var(--text);
    background:
        radial-gradient(circle at 12% 0%, rgba(49, 95, 199, .055), transparent 24%),
        radial-gradient(circle at 86% 8%, rgba(7, 135, 173, .06), transparent 28%),
        linear-gradient(180deg, #f4f8fb 0, var(--bg) 560px, #f2f6f9 100%);
}

/* Stronger text hierarchy: not everything should whisper in the same gray. */
html[data-theme="light"] h1,
html[data-theme="light"] h2,
html[data-theme="light"] h3,
html[data-theme="light"] .command-copy h1,
html[data-theme="light"] .product-record-copy h1,
html[data-theme="light"] .file-detail-heading h1,
html[data-theme="light"] .download-panel-copy h2,
html[data-theme="light"] .detail-copy-section h2,
html[data-theme="light"] .brand-card h3,
html[data-theme="light"] .receiver-title,
html[data-theme="light"] .file-identity h3,
html[data-theme="light"] .chinese-file-copy strong,
html[data-theme="light"] .member-page-head h1,
html[data-theme="light"] .member-panel h2 {
    color: var(--light-navy);
}

html[data-theme="light"] p,
html[data-theme="light"] .command-copy > p,
html[data-theme="light"] .page-command p,
html[data-theme="light"] .product-command p,
html[data-theme="light"] .download-panel-copy > p,
html[data-theme="light"] .detail-copy-section p,
html[data-theme="light"] .software-request-teaser p,
html[data-theme="light"] .software-request-copy p,
html[data-theme="light"] .footer-about p {
    color: #4f6778;
}

html[data-theme="light"] .section-note,
html[data-theme="light"] .section-status,
html[data-theme="light"] .breadcrumbs,
html[data-theme="light"] .file-data,
html[data-theme="light"] .receiver-updated,
html[data-theme="light"] .product-meta,
html[data-theme="light"] .file-detail-state,
html[data-theme="light"] .chinese-file-meta,
html[data-theme="light"] .member-compact-list small,
html[data-theme="light"] .member-session-list small,
html[data-theme="light"] .member-activity-list small {
    color: #687f90;
}

html[data-theme="light"] .section-action,
html[data-theme="light"] .hero-links a,
html[data-theme="light"] .breadcrumbs a,
html[data-theme="light"] .footer-links a:hover,
html[data-theme="light"] .footer-links a:focus-visible {
    color: #23648a;
}

/* Header gets a cool slate tone so the page does not start white-on-white. */
html[data-theme="light"] .public-topbar {
    color: #5e7382;
    background: #eaf1f5;
    border-bottom-color: #d4e0e7;
}
html[data-theme="light"] .site-header {
    background: rgba(252, 254, 255, .98);
    box-shadow: 0 8px 20px rgba(30, 61, 82, .07);
}
html[data-theme="light"] .nav-shell,
html[data-theme="light"] .mobile-tabs-shell {
    background: #f5f9fb;
}
html[data-theme="light"] .primary-nav a,
html[data-theme="light"] .mobile-tabs a {
    color: #536d7e;
}
html[data-theme="light"] .primary-nav a.is-active,
html[data-theme="light"] .mobile-tabs a.is-active {
    color: #174969;
    background: linear-gradient(180deg, rgba(7, 135, 173, .075), rgba(7, 135, 173, .018));
    box-shadow: inset 0 -2px 0 #0898c4;
}
html[data-theme="light"] .theme-toggle,
html[data-theme="light"] .member-header-signin,
html[data-theme="light"] .member-header-account {
    color: #385b70;
    background: #f7fbfd;
}

/* Hero: blue/cyan presentation layer, still calm enough for a technical site. */
html[data-theme="light"] .command-hero {
    border-color: #cbdde8;
    background:
        radial-gradient(circle at 15% 18%, rgba(49, 95, 199, .08), transparent 28%),
        linear-gradient(120deg, #f8fbff 0%, #eef8fb 62%, #f7fbfd 100%);
    box-shadow: 0 16px 34px rgba(31, 79, 108, .075);
}
html[data-theme="light"] .command-hero::before {
    border-color: rgba(49, 95, 199, .12);
    box-shadow: 0 0 70px rgba(49, 95, 199, .05);
}
html[data-theme="light"] .system-kicker,
html[data-theme="light"] .section-code {
    color: #18789a;
}
html[data-theme="light"] .system-kicker > span {
    color: #31536a;
    border-color: #c9dce7;
    background: #e8f4f9;
}
html[data-theme="light"] .hero-search,
html[data-theme="light"] .page-search,
html[data-theme="light"] .header-search {
    background: #fff;
    border-color: #cbdbe4;
}
html[data-theme="light"] .hero-search > span,
html[data-theme="light"] .search-prefix {
    color: #99611d;
    background: #fff8eb;
}
html[data-theme="light"] .firmware-visual {
    border-color: #ccdae3;
    background:
        radial-gradient(circle at 55% 42%, rgba(7, 135, 173, .12), transparent 50%),
        linear-gradient(180deg, #ffffff, #eef7fb);
}
html[data-theme="light"] .visual-caption {
    color: #557080;
    background: #eff6f9;
    border-top-color: #d4e2e9;
}

/* Statistics deliberately use different tones; this is data hierarchy, not decoration. */
html[data-theme="light"] .portal-stats,
html[data-theme="light"] .telemetry-grid {
    border-color: #d7e3e9;
    background: #fff;
    box-shadow: 0 8px 22px rgba(31, 66, 88, .045);
}
html[data-theme="light"] .portal-stats article,
html[data-theme="light"] .telemetry-grid article {
    border-color: #dce6eb;
}
html[data-theme="light"] .portal-stats article:nth-child(1) { background: #eef7ff; }
html[data-theme="light"] .portal-stats article:nth-child(2) { background: #f1f3ff; }
html[data-theme="light"] .portal-stats article:nth-child(3) { background: #edf9f7; }
html[data-theme="light"] .portal-stats article:nth-child(4) { background: #fff7e9; }
html[data-theme="light"] .portal-stats article:nth-child(5) { background: #eef8f1; }
html[data-theme="light"] .portal-stats article:nth-child(1) strong { color: #2567a9; }
html[data-theme="light"] .portal-stats article:nth-child(2) strong { color: #4f5fbf; }
html[data-theme="light"] .portal-stats article:nth-child(3) strong { color: #0d7c75; }
html[data-theme="light"] .portal-stats article:nth-child(4) strong { color: #a86c1c; }
html[data-theme="light"] .portal-stats article:nth-child(5) strong { color: #28784f; }
html[data-theme="light"] .portal-stats span { color: #5e7484; }
html[data-theme="light"] .portal-stats small { color: #718492; }

/* Section labels are colored by function. */
html[data-theme="light"] .section-code {
    width: fit-content;
    padding: 3px 7px;
    border-radius: 999px;
    border: 1px solid #cde0e9;
    background: #eef8fb;
    font-weight: 700;
}
html[data-theme="light"] .chinese-home-section .section-code,
html[data-theme="light"] .chinese-list-section .section-code {
    color: #0d746e;
    border-color: #c9e3df;
    background: #eaf8f5;
}
html[data-theme="light"] .recent-firmware-section .section-code {
    color: #247049;
    border-color: #cbe2d4;
    background: #edf8f1;
}
html[data-theme="light"] .software-request-section .section-code {
    color: #99611d;
    border-color: #ead8b6;
    background: #fff7e9;
}
html[data-theme="light"] .workspace-section:not(.chinese-home-section):not(.recent-firmware-section):not(.software-request-section) .section-code {
    color: #4f5fbf;
    border-color: #d5d9f1;
    background: #f1f2fc;
}
html[data-theme="light"] .section-head {
    border-bottom-color: #d5e1e7;
}
html[data-theme="light"] .section-head h2 { color: #1b4059; }

/* Chinese/local: teal/cyan family with subtle card rotation. */
html[data-theme="light"] .chinese-category-card {
    border-color: #d2e3e7;
    background: linear-gradient(180deg, #ffffff, #f4fbfb);
    box-shadow: inset 0 3px 0 #168e91, 0 7px 18px rgba(29, 82, 91, .045);
}
html[data-theme="light"] .chinese-category-card:nth-child(4n+2) { box-shadow: inset 0 3px 0 #2089b2, 0 7px 18px rgba(29, 82, 91, .045); }
html[data-theme="light"] .chinese-category-card:nth-child(4n+3) { box-shadow: inset 0 3px 0 #5264bb, 0 7px 18px rgba(29, 82, 91, .045); }
html[data-theme="light"] .chinese-category-card:nth-child(4n) { box-shadow: inset 0 3px 0 #39805d, 0 7px 18px rgba(29, 82, 91, .045); }
html[data-theme="light"] .chinese-category-card > strong { color: #173f50; }
html[data-theme="light"] .chinese-category-card dt { color: #66808d; }
html[data-theme="light"] .chinese-category-card dd { color: #32586a; }
html[data-theme="light"] .chinese-category-hero {
    border-bottom-color: #d2e2e7;
    background: linear-gradient(105deg, rgba(13, 124, 117, .07), rgba(7, 135, 173, .025) 55%, transparent);
}
html[data-theme="light"] .chinese-category-hero aside strong { color: #0d7c75; }
html[data-theme="light"] .chinese-filter {
    border-color: #cee0e5;
    background: #f3fafb;
}
html[data-theme="light"] .chinese-file-card {
    border-color: #d7e2e7;
    background: #fff;
}
html[data-theme="light"] .chinese-file-card:hover {
    border-color: #8fcbd4;
    box-shadow: 0 10px 24px rgba(18, 104, 119, .08);
}
html[data-theme="light"] .chinese-file-thumb { background: #f1f7f9; }
html[data-theme="light"] .chinese-file-copy strong { color: #173d50; }
html[data-theme="light"] .chinese-file-copy small { color: #477587; }

/* Receiver brands: indigo/blue identity, while counts remain border-free per v6.0.2. */
html[data-theme="light"] .brand-card,
html[data-theme="light"] .brand-grid.is-home .brand-card {
    border-color: #d8e2e9;
    background: linear-gradient(180deg, #ffffff, #f8fbfd);
    box-shadow: inset 3px 0 0 #4f67bd, 0 5px 15px rgba(37, 63, 85, .035);
}
html[data-theme="light"] .brand-card:nth-child(4n+2),
html[data-theme="light"] .brand-grid.is-home .brand-card:nth-child(4n+2) { box-shadow: inset 3px 0 0 #2f79a6, 0 5px 15px rgba(37, 63, 85, .035); }
html[data-theme="light"] .brand-card:nth-child(4n+3),
html[data-theme="light"] .brand-grid.is-home .brand-card:nth-child(4n+3) { box-shadow: inset 3px 0 0 #18807a, 0 5px 15px rgba(37, 63, 85, .035); }
html[data-theme="light"] .brand-card:nth-child(4n),
html[data-theme="light"] .brand-grid.is-home .brand-card:nth-child(4n) { box-shadow: inset 3px 0 0 #6a59a8, 0 5px 15px rgba(37, 63, 85, .035); }
html[data-theme="light"] .brand-card:hover,
html[data-theme="light"] .brand-card:focus-visible {
    border-color: #c6d6e0;
    background: #fff;
    box-shadow: inset 3px 0 0 #1789b2, 0 11px 26px rgba(37, 63, 85, .07);
}
html[data-theme="light"] .brand-logo {
    background: #f8fbfd;
    border-color: #d8e3e9;
}
html[data-theme="light"] .brand-card h3 { color: #263e67; }
html[data-theme="light"] .brand-card dt { color: #718392; }
html[data-theme="light"] .brand-card dd { color: #365368; }
html[data-theme="light"] .brand-card .card-arrow {
    color: #4f67a0;
    border-color: #d6e1e7;
    background: #f4f8fb;
}

/* Recent firmware/table: stronger header, alternating neutral tint, green status language. */
html[data-theme="light"] .file-console {
    border-color: #d4e0e7;
    background: #fff;
}
html[data-theme="light"] .file-console-head,
html[data-theme="light"] .detail-panel-head {
    color: #506b7e;
    background: #eaf2f7;
}
html[data-theme="light"] .file-row {
    border-bottom-color: #e0e8ed;
    background: #fff;
}
html[data-theme="light"] .file-row:nth-child(odd) { background: #fbfdfe; }
html[data-theme="light"] .file-row:hover {
    background: #f0f8fb;
}
html[data-theme="light"] .file-chip {
    color: #187695;
    border-color: #cbe1e9;
    background: #eaf7fb;
}
html[data-theme="light"] .file-verified,
html[data-theme="light"] .file-detail-badges .tone-green {
    color: #1c774b;
}

/* Request area deliberately warm so it is distinguishable from catalog content. */
html[data-theme="light"] .software-request-teaser,
html[data-theme="light"] .software-request-shell {
    border-color: #ead9bb;
    background: linear-gradient(120deg, #fffaf0, #fffdf8 55%, #f8fbfd);
    box-shadow: 0 8px 22px rgba(135, 91, 27, .045);
}
html[data-theme="light"] .software-request-teaser > div > span,
html[data-theme="light"] .software-request-copy > span {
    color: #a56818;
}
html[data-theme="light"] .software-request-teaser h3,
html[data-theme="light"] .software-request-copy h3 { color: #5c431e; }
html[data-theme="light"] .software-request-copy {
    border-color: #eadcc2;
    background: rgba(255, 246, 225, .55);
}
html[data-theme="light"] .request-type-options > label {
    border-color: #e3dccf;
    background: #fffdfa;
}
html[data-theme="light"] .request-type-options input:checked + span {
    border-left-color: #b77a25;
    color: #4f3a1c;
    background: #fff5e3;
}
html[data-theme="light"] .request-auth-note {
    border-color: #ead5ae;
    color: #8f5d1c;
    background: #fff6e6;
}

/* Page/detail command bars get a colored identity instead of another white rectangle. */
html[data-theme="light"] .page-command,
html[data-theme="light"] .product-command,
html[data-theme="light"] .product-record-console,
html[data-theme="light"] .file-detail-hero,
html[data-theme="light"] .post-record-console {
    border-color: #cfdee8;
    background: linear-gradient(120deg, #f6faff, #edf6fa 55%, #f9fbfc);
    box-shadow: 0 10px 28px rgba(31, 70, 95, .055);
}
html[data-theme="light"] .mini-telemetry {
    border-color: #d5e2e9;
    background: #f2f7fa;
}
html[data-theme="light"] .mini-telemetry div:nth-child(1) strong { color: #315fc7; }
html[data-theme="light"] .mini-telemetry div:nth-child(2) strong { color: #0d7c75; }
html[data-theme="light"] .mini-telemetry div:nth-child(3) strong { color: #a86c1c; }

/* Download state: green is reserved for verified/safe actions. */
html[data-theme="light"] .secure-download-gate,
html[data-theme="light"] .archive-download-gate,
html[data-theme="light"] .chinese-download-gate,
html[data-theme="light"] .file-download-panel {
    border-color: #c9e0d2;
    background: linear-gradient(120deg, #f2fbf5, #fbfdfc 58%, #f3f8fb);
    box-shadow: 0 10px 24px rgba(32, 102, 65, .05);
}
html[data-theme="light"] .secure-download-copy strong,
html[data-theme="light"] .download-panel-copy h2 { color: #28573e; }
html[data-theme="light"] .secure-download-actions button,
html[data-theme="light"] .secure-download-actions a,
html[data-theme="light"] .download-panel-actions .secure-download-actions button,
html[data-theme="light"] .download-panel-actions .secure-download-actions a,
html[data-theme="light"] .archive-start-download,
html[data-theme="light"] .chinese-download-button {
    color: #fff;
    border-color: #19794e;
    background: linear-gradient(180deg, #238a5d, #19794e);
    box-shadow: 0 8px 18px rgba(25, 121, 78, .16);
}
html[data-theme="light"] .secure-download-actions button:hover,
html[data-theme="light"] .secure-download-actions a:hover,
html[data-theme="light"] .archive-start-download:hover,
html[data-theme="light"] .chinese-download-button:hover {
    color: #fff;
    background: linear-gradient(180deg, #207f56, #156a44);
}

/* Utility action buttons remain blue; file/view/download buttons keep their amber identity. */
html[data-theme="light"] .header-search button,
html[data-theme="light"] .hero-search button,
html[data-theme="light"] .page-search button,
html[data-theme="light"] .global-hero-search button,
html[data-theme="light"] .chinese-filter button,
html[data-theme="light"] .member-primary-button,
html[data-theme="light"] .software-request-form button[type="submit"] {
    color: #fff;
    border-color: #087fa5;
    background: linear-gradient(180deg, #0b96bf, #087fa5);
}
html[data-theme="light"] .download-action,
html[data-theme="light"] .file-open-action,
html[data-theme="light"] .archive-open-action,
html[data-theme="light"] .file-primary-action,
html[data-theme="light"] .file-actions .download-action,
html[data-theme="light"] .download-panel-actions .download-main-action {
    color: #925b16;
    border-color: #dfc08c;
    background: #fff7e8;
}

/* Footer is intentionally slate-blue, not another white sheet. */
html[data-theme="light"] .site-footer {
    color: #526a7a;
    background: linear-gradient(180deg, #e8f0f5, #edf3f7);
    border-top-color: #cad9e2;
}
html[data-theme="light"] .footer-links h2 {
    color: #31536a;
}
html[data-theme="light"] .footer-links a {
    color: #5a7282;
}
html[data-theme="light"] .footer-bottom {
    color: #667d8c;
    border-top-color: #cfdee6;
    background: rgba(223, 234, 240, .42);
}
html[data-theme="light"] .footer-logo-light strong { color: #173d59; }
html[data-theme="light"] .footer-logo-light small { color: #187a9a; }

/* Member-facing public pages also get functional tones instead of white repetition. */
html[data-theme="light"] .member-page-head {
    border-color: #cfdee8;
    background: linear-gradient(120deg, #f5f9ff, #eef7fa);
}
html[data-theme="light"] .member-sidebar {
    background: #f5f9fb;
}
html[data-theme="light"] .member-sidebar-nav a.is-active {
    color: #1d526d;
    border-color: #c9e0e8;
    background: #e9f6fa;
}
html[data-theme="light"] .member-status.is-pending {
    color: #8e5b18;
    background: #fff6e6;
}
html[data-theme="light"] .member-status.is-in_progress {
    color: #216a91;
    background: #edf7fb;
}
html[data-theme="light"] .member-status.is-completed {
    color: #256843;
    background: #edf8f1;
}
html[data-theme="light"] .member-status.is-declined {
    color: #a43e4a;
    background: #fff0f2;
}

/* Responsive keeps the same hierarchy without adding visual noise. */
@media (max-width: 860px) {
    html[data-theme="light"] .nav-shell {
        background: #f7fafc;
    }
    html[data-theme="light"] .primary-nav a,
    html[data-theme="light"] .mobile-tabs a {
        background: #fff;
    }
    html[data-theme="light"] .primary-nav a.is-active,
    html[data-theme="light"] .mobile-tabs a.is-active {
        background: #eaf6fa;
    }
}


/* KDN 6.1.2 light-theme footer + public table-header polish.
   All selectors are scoped to data-theme="light" so the locked dark theme stays unchanged. */

/* Footer brand lockup: undo the legacy generic .footer-logo span badge sizing
   for the light-theme title/tagline wrapper. */
html[data-theme="light"] .footer-logo-light {
    display: inline-flex;
    width: fit-content;
    max-width: 100%;
    align-items: center;
    gap: 11px;
    text-decoration: none;
}

html[data-theme="light"] .footer-logo-light > img {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    border: 0;
    border-radius: 0;
    background: transparent;
}

html[data-theme="light"] .footer-logo-light > span {
    width: auto;
    height: auto;
    min-width: 0;
    max-width: 220px;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    place-items: initial;
    gap: 3px;
    border: 0;
    border-radius: 0;
    color: inherit;
    background: transparent;
    box-shadow: none;
    font: inherit;
}

html[data-theme="light"] .footer-logo-light strong {
    display: block;
    width: auto;
    margin: 0;
    color: #163a52;
    font: 700 13px/1.2 var(--sans);
    letter-spacing: 0;
    white-space: nowrap;
}

html[data-theme="light"] .footer-logo-light small {
    display: block;
    width: auto;
    margin: 0;
    color: #167d9f;
    font: 700 8px/1.35 var(--mono);
    letter-spacing: .09em;
    text-transform: uppercase;
    white-space: normal;
}

html[data-theme="light"] .footer-about > p {
    clear: both;
    margin-top: 15px;
}

/* Public data tables: give desktop/tablet headers a strong technical identity.
   Rows, actions and download behavior are untouched. */
html[data-theme="light"] .file-console-head,
html[data-theme="light"] .archive-table-head {
    color: #eaf7fb;
    border-bottom-color: #0a617e;
    background: linear-gradient(180deg, #164a61 0%, #103d52 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07);
}

html[data-theme="light"] .file-console-head span,
html[data-theme="light"] .archive-table-head span {
    color: #eaf7fb;
    font-weight: 700;
    letter-spacing: .045em;
}

html[data-theme="light"] .file-console {
    border-top-color: #2a7896;
}

html[data-theme="light"] .archive-table {
    border-color: #cfdce4;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
}

/* Mobile headers are already hidden by the original responsive layout;
   keep row-card presentation exactly as before. */
@media (max-width: 860px) {
    html[data-theme="light"] .footer-logo-light > span {
        max-width: min(230px, calc(100vw - 92px));
    }
}

@media (max-width: 420px) {
    html[data-theme="light"] .footer-logo-light strong {
        white-space: normal;
    }
}


/* KDN 6.1.3 Chinese + Details visual upgrade
   Scope: light theme only. Dark theme and all core logic untouched. */
html[data-theme="light"] .chinese-category-shell,
html[data-theme="light"] .chinese-detail-shell {
    background:
        radial-gradient(circle at 0% 0%, rgba(27, 159, 196, .08), transparent 25%),
        radial-gradient(circle at 100% 10%, rgba(93, 76, 201, .06), transparent 24%),
        linear-gradient(180deg, #f3f8fb, #eef5f8 82%);
}

html[data-theme="light"] .chinese-category-hero,
html[data-theme="light"] .chinese-detail-hero {
    border-bottom: 1px solid #d6e3ea;
    background:
        linear-gradient(120deg, rgba(27, 159, 196, .09), rgba(76, 120, 214, .05) 45%, rgba(21, 160, 123, .04) 100%),
        #f7fbfd;
}

html[data-theme="light"] .chinese-category-hero .eyebrow,
html[data-theme="light"] .chinese-detail-hero .eyebrow,
html[data-theme="light"] .archive-hero .eyebrow,
html[data-theme="light"] .file-detail-kicker {
    color: #0e86ae;
}

html[data-theme="light"] .chinese-category-hero h1,
html[data-theme="light"] .chinese-detail-hero h1,
html[data-theme="light"] .archive-hero h1,
html[data-theme="light"] .archive-detail-card h1,
html[data-theme="light"] .file-detail-heading h1,
html[data-theme="light"] .download-panel-copy h2,
html[data-theme="light"] .detail-panel-head strong,
html[data-theme="light"] .file-console-head {
    color: #143142;
}

html[data-theme="light"] .chinese-category-hero > p,
html[data-theme="light"] .chinese-detail-hero > p,
html[data-theme="light"] .archive-hero p,
html[data-theme="light"] .file-detail-heading > p,
html[data-theme="light"] .archive-original-name,
html[data-theme="light"] .archive-report-panel p,
html[data-theme="light"] .download-panel-copy > p {
    color: #587283;
}

html[data-theme="light"] .chinese-category-hero aside strong,
html[data-theme="light"] .archive-hero > strong {
    color: #0d8db7;
}

html[data-theme="light"] .chinese-filter {
    border: 1px solid #d7e2e8;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 10px 26px rgba(22, 49, 66, .05);
    border-radius: 14px;
}

html[data-theme="light"] .chinese-filter input {
    border-color: #d7e2e8;
    background: linear-gradient(180deg, #ffffff, #fbfdfe);
}

html[data-theme="light"] .chinese-filter button {
    border-color: #0d8db7;
    background: linear-gradient(180deg, #16a5d6, #0d8db7);
    color: #fff;
    box-shadow: 0 8px 18px rgba(13, 141, 183, .18);
}

html[data-theme="light"] .chinese-file-grid {
    gap: 13px;
}

html[data-theme="light"] .chinese-file-card {
    position: relative;
    overflow: hidden;
    border: 1px solid #d7e2e8;
    border-top-width: 4px;
    border-radius: 14px;
    background: linear-gradient(180deg, #ffffff, #fbfdfe);
    box-shadow: 0 14px 28px rgba(21, 49, 66, .055);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

html[data-theme="light"] .chinese-file-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 86px;
    background: linear-gradient(180deg, rgba(27, 159, 196, .07), transparent);
    pointer-events: none;
}

html[data-theme="light"] .chinese-file-card:nth-child(6n+1) { border-top-color: #0d8db7; }
html[data-theme="light"] .chinese-file-card:nth-child(6n+2) { border-top-color: #18a36c; }
html[data-theme="light"] .chinese-file-card:nth-child(6n+3) { border-top-color: #6b59d3; }
html[data-theme="light"] .chinese-file-card:nth-child(6n+4) { border-top-color: #dc8c1b; }
html[data-theme="light"] .chinese-file-card:nth-child(6n+5) { border-top-color: #d75079; }
html[data-theme="light"] .chinese-file-card:nth-child(6n+6) { border-top-color: #0b6fd1; }

html[data-theme="light"] .chinese-file-card:hover,
html[data-theme="light"] .chinese-file-card:focus-within {
    transform: translateY(-2px);
    box-shadow: 0 18px 32px rgba(21, 49, 66, .08);
    border-color: #cfe0e7;
}

html[data-theme="light"] .chinese-file-thumb {
    border-bottom: 1px solid #d7e2e8;
    background: radial-gradient(circle at top left, rgba(27, 159, 196, .16), transparent 45%), linear-gradient(180deg, #ffffff, #f7fbfd);
}

html[data-theme="light"] .chinese-file-copy strong {
    color: #173447;
    font-size: 11px;
}

html[data-theme="light"] .chinese-file-copy small {
    color: #537182;
}

html[data-theme="light"] .chinese-file-meta {
    border-top: 1px solid #d7e2e8;
    background: linear-gradient(180deg, rgba(13, 141, 183, .03), rgba(107, 89, 211, .02));
    color: #6a8190;
}

html[data-theme="light"] .chinese-file-card:nth-child(6n+1) .chinese-file-meta strong,
html[data-theme="light"] .chinese-file-card:nth-child(6n+1) .chinese-file-copy a { color: #0d8db7; }
html[data-theme="light"] .chinese-file-card:nth-child(6n+2) .chinese-file-meta strong,
html[data-theme="light"] .chinese-file-card:nth-child(6n+2) .chinese-file-copy a { color: #18a36c; }
html[data-theme="light"] .chinese-file-card:nth-child(6n+3) .chinese-file-meta strong,
html[data-theme="light"] .chinese-file-card:nth-child(6n+3) .chinese-file-copy a { color: #6b59d3; }
html[data-theme="light"] .chinese-file-card:nth-child(6n+4) .chinese-file-meta strong,
html[data-theme="light"] .chinese-file-card:nth-child(6n+4) .chinese-file-copy a { color: #c97c12; }
html[data-theme="light"] .chinese-file-card:nth-child(6n+5) .chinese-file-meta strong,
html[data-theme="light"] .chinese-file-card:nth-child(6n+5) .chinese-file-copy a { color: #c64b71; }
html[data-theme="light"] .chinese-file-card:nth-child(6n+6) .chinese-file-meta strong,
html[data-theme="light"] .chinese-file-card:nth-child(6n+6) .chinese-file-copy a { color: #0b6fd1; }

html[data-theme="light"] .chinese-details-panel,
html[data-theme="light"] .chinese-gallery,
html[data-theme="light"] .chinese-download-panel,
html[data-theme="light"] .archive-detail-card,
html[data-theme="light"] .archive-report-panel,
html[data-theme="light"] .file-detail-hero,
html[data-theme="light"] .detail-panel,
html[data-theme="light"] .file-download-panel {
    border: 1px solid #d8e3e9;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(250, 252, 253, .98));
    box-shadow: 0 14px 30px rgba(21, 49, 66, .055);
}

html[data-theme="light"] .chinese-details-panel {
    background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(249,253,255,.98));
}

html[data-theme="light"] .chinese-details-panel dl,
html[data-theme="light"] .archive-file-meta,
html[data-theme="light"] .file-hero-stats,
html[data-theme="light"] .file-detail-list > div,
html[data-theme="light"] .download-panel-copy dl {
    border-color: #d7e2e8;
    background: rgba(247, 251, 253, .82);
}

html[data-theme="light"] .chinese-details-panel dl div:nth-child(odd) {
    background: rgba(13, 141, 183, .025);
}

html[data-theme="light"] .chinese-details-panel dt,
html[data-theme="light"] .archive-file-meta dt,
html[data-theme="light"] .file-hero-stats dt,
html[data-theme="light"] .file-detail-list dt,
html[data-theme="light"] .download-panel-copy dt,
html[data-theme="light"] .file-console-head,
html[data-theme="light"] .archive-table-head,
html[data-theme="light"] .detail-panel-head {
    color: #f4fbff;
}

html[data-theme="light"] .chinese-details-panel dd,
html[data-theme="light"] .archive-file-meta dd,
html[data-theme="light"] .file-hero-stats dd,
html[data-theme="light"] .file-detail-list dd,
html[data-theme="light"] .download-panel-copy dd {
    color: #173447;
}

html[data-theme="light"] .chinese-description {
    border-left: 4px solid #0d8db7;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(13, 141, 183, .075), rgba(107, 89, 211, .045));
}

html[data-theme="light"] .chinese-description h3 {
    color: #143142;
}

html[data-theme="light"] .chinese-gallery {
    background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,252,255,.98));
}

html[data-theme="light"] .chinese-gallery > h2,
html[data-theme="light"] .chinese-details-panel > h2,
html[data-theme="light"] .related-files-section > h2,
html[data-theme="light"] .archive-report-panel h2 {
    color: #143142;
}

html[data-theme="light"] .chinese-gallery-viewport,
html[data-theme="light"] .chinese-gallery-empty {
    border-radius: 14px;
    background: linear-gradient(180deg, #f7fbfd, #eff6fb);
}

html[data-theme="light"] .chinese-gallery figure {
    background: radial-gradient(circle at top left, rgba(13, 141, 183, .14), transparent 32%), linear-gradient(180deg, #f9fcfe, #eef5fa);
}

html[data-theme="light"] .chinese-gallery figcaption {
    border: 1px solid #d6e2e8;
    border-radius: 999px;
    background: rgba(255,255,255,.9);
    color: #163345;
}

html[data-theme="light"] .chinese-gallery-controls button,
html[data-theme="light"] .chinese-quick-actions button,
html[data-theme="light"] .chinese-quick-actions a {
    border-color: #d6e2e8;
    border-radius: 12px;
    background: linear-gradient(180deg, #ffffff, #f7fbfd);
    color: #4f6b7b;
}

html[data-theme="light"] .chinese-quick-actions button:hover,
html[data-theme="light"] .chinese-quick-actions a:hover {
    background: linear-gradient(180deg, #ffffff, #eef7fc);
    color: #163345;
}

html[data-theme="light"] .chinese-quick-actions span { color: #0d8db7; }
html[data-theme="light"] .chinese-quick-actions a:nth-child(2n) span,
html[data-theme="light"] .chinese-quick-actions button:nth-child(2n) span { color: #6b59d3; }
html[data-theme="light"] .chinese-quick-actions a:nth-child(3n) span,
html[data-theme="light"] .chinese-quick-actions button:nth-child(3n) span { color: #18a36c; }
html[data-theme="light"] .chinese-quick-actions a:nth-child(4n) span,
html[data-theme="light"] .chinese-quick-actions button:nth-child(4n) span { color: #c97c12; }

html[data-theme="light"] .chinese-report-form {
    border-color: #efcf9b;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(244, 180, 85, .11), rgba(255, 255, 255, .96));
}

html[data-theme="light"] .chinese-download-panel {
    background: linear-gradient(180deg, rgba(255,255,255,.99), rgba(247,252,250,.98));
}

html[data-theme="light"] .chinese-download-gate,
html[data-theme="light"] .archive-download-gate,
html[data-theme="light"] .secure-download-gate,
html[data-theme="light"] .file-download-panel.is-shared-download {
    border: 1px solid #cfe1d8;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(24, 163, 108, .08), rgba(13, 141, 183, .05) 44%, rgba(255,255,255,.98));
}

html[data-theme="light"] .chinese-download-button,
html[data-theme="light"] .archive-start-download,
html[data-theme="light"] .secure-download-actions button,
html[data-theme="light"] .secure-download-actions a,
html[data-theme="light"] .download-panel-actions .secure-download-actions button,
html[data-theme="light"] .download-panel-actions .secure-download-actions a {
    border-color: #18935f;
    background: linear-gradient(180deg, #24b172, #18935f);
    color: #fff;
    box-shadow: 0 10px 24px rgba(24, 147, 95, .18);
}

html[data-theme="light"] .chinese-download-button.is-ready { background: linear-gradient(180deg, #23b675, #18935f); border-color: #18935f; }

html[data-theme="light"] .file-console-head,
html[data-theme="light"] .archive-table-head,
html[data-theme="light"] .detail-panel-head {
    background: linear-gradient(90deg, #11475b, #0e86ae 55%, #4a63c6);
    border-color: #0f6f91;
}

html[data-theme="light"] .file-console-head span,
html[data-theme="light"] .archive-table-head span,
html[data-theme="light"] .detail-panel-head span,
html[data-theme="light"] .detail-panel-head strong {
    color: #f3fbff;
}

html[data-theme="light"] .file-detail-kicker span,
html[data-theme="light"] .file-detail-badges .tone-cyan {
    border-color: #bfe1eb;
    background: linear-gradient(180deg, rgba(13,141,183,.12), rgba(13,141,183,.06));
    color: #0d8db7;
}

html[data-theme="light"] .file-detail-badges .tone-amber {
    border-color: #efd4aa;
    background: linear-gradient(180deg, rgba(201,124,18,.12), rgba(201,124,18,.05));
    color: #b9740d;
}

html[data-theme="light"] .file-detail-badges .tone-green {
    border-color: #c8e6d8;
    background: linear-gradient(180deg, rgba(24,163,108,.12), rgba(24,163,108,.05));
    color: #188b5d;
}

html[data-theme="light"] .file-detail-hero,
html[data-theme="light"] .product-record-console {
    background: linear-gradient(135deg, rgba(13, 141, 183, .07), rgba(74, 99, 198, .035) 36%, rgba(255,255,255,.98));
}

html[data-theme="light"] .file-detail-visual,
html[data-theme="light"] .product-record-media {
    background: radial-gradient(circle at top left, rgba(13, 141, 183, .12), transparent 34%), linear-gradient(180deg, #ffffff, #f5fbfe);
    border-color: #d7e2e8;
}

html[data-theme="light"] .file-detail-extension,
html[data-theme="light"] .product-record-type {
    border-color: #d5e2ea;
    background: rgba(255,255,255,.92);
    color: #12384a;
}

html[data-theme="light"] .archive-detail-card {
    background: linear-gradient(135deg, rgba(13,141,183,.055), rgba(107,89,211,.03) 40%, rgba(255,255,255,.98));
}

html[data-theme="light"] .archive-original-name code {
    color: #6b59d3;
}

html[data-theme="light"] .archive-file-meta div:nth-child(odd),
html[data-theme="light"] .file-hero-stats div:nth-child(odd),
html[data-theme="light"] .product-record-facts div:nth-child(odd) {
    background: rgba(13, 141, 183, .03);
}

html[data-theme="light"] .archive-sidebar {
    border-color: #d6e2e8;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,252,254,.98));
    box-shadow: 0 10px 26px rgba(22,49,66,.045);
}

html[data-theme="light"] .archive-sidebar a {
    border-color: #dbe5ea;
    color: #57717f;
}

html[data-theme="light"] .archive-sidebar a.is-active,
html[data-theme="light"] .archive-sidebar a:hover {
    color: #163345;
    background: linear-gradient(90deg, rgba(13,141,183,.08), rgba(107,89,211,.035));
}

html[data-theme="light"] .archive-table,
html[data-theme="light"] .file-console {
    border-color: #d7e2e8;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 12px 28px rgba(21,49,66,.05);
}

html[data-theme="light"] .archive-file-row,
html[data-theme="light"] .file-row {
    background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(251,253,254,.98));
}

html[data-theme="light"] .archive-file-row:hover,
html[data-theme="light"] .file-row:hover {
    background: linear-gradient(90deg, rgba(13,141,183,.05), rgba(107,89,211,.02) 36%, #fbfdfe 100%);
}

html[data-theme="light"] .archive-type-badge {
    border-color: #c9ddeb;
    background: linear-gradient(180deg, rgba(13,141,183,.09), rgba(13,141,183,.04));
    color: #0d8db7;
}

html[data-theme="light"] .download-panel-actions .download-main-action,
html[data-theme="light"] .file-primary-action,
html[data-theme="light"] .file-actions .download-action,
html[data-theme="light"] .archive-open-action,
html[data-theme="light"] .file-open-action {
    border-color: #e1c284;
    background: linear-gradient(180deg, #fff8ed, #fff1da);
    color: #ab6c10;
}

html[data-theme="light"] .download-panel-actions .download-main-action:hover,
html[data-theme="light"] .file-primary-action:hover,
html[data-theme="light"] .file-actions .download-action:hover,
html[data-theme="light"] .archive-open-action:hover,
html[data-theme="light"] .file-open-action:hover {
    background: linear-gradient(180deg, #fff3e3, #fee8c7);
    color: #143142;
}

html[data-theme="light"] .recent-table-scroll .file-console-head,
html[data-theme="light"] .file-console.is-product-archive .file-console-head {
    background: linear-gradient(90deg, #11566a, #1286a5 52%, #1ca86b);
}

@media (max-width: 620px) {
    html[data-theme="light"] .chinese-file-grid {
        gap: 9px;
    }

    html[data-theme="light"] .chinese-file-card {
        border-radius: 12px;
    }

    html[data-theme="light"] .chinese-details-panel,
    html[data-theme="light"] .chinese-gallery,
    html[data-theme="light"] .chinese-download-panel,
    html[data-theme="light"] .archive-detail-card,
    html[data-theme="light"] .archive-report-panel,
    html[data-theme="light"] .file-detail-hero,
    html[data-theme="light"] .detail-panel,
    html[data-theme="light"] .file-download-panel {
        border-radius: 13px;
    }
}


/* KDN 6.1.4 Chinese detail refinement
   Fix washed-out file details panel and give the whole Chinese details page a stronger premium identity. */
html[data-theme="light"] .chinese-detail-shell {
    background:
        radial-gradient(circle at 0% 0%, rgba(27, 159, 196, .1), transparent 24%),
        radial-gradient(circle at 100% 16%, rgba(107, 89, 211, .08), transparent 24%),
        linear-gradient(180deg, #eef5f9, #eaf2f6 86%);
}

html[data-theme="light"] .chinese-detail-hero {
    position: relative;
    border-bottom: 1px solid #d8e4ea;
    background:
        linear-gradient(110deg, rgba(17, 137, 180, .11), rgba(61, 106, 203, .07) 42%, rgba(22, 163, 115, .05) 100%),
        #f6fbfd;
}

html[data-theme="light"] .chinese-detail-hero::after {
    content: "";
    position: absolute;
    right: 24px;
    top: 18px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,.52), rgba(255,255,255,0) 70%);
    pointer-events: none;
}

html[data-theme="light"] .chinese-detail-grid {
    gap: 16px;
}

html[data-theme="light"] .chinese-details-panel,
html[data-theme="light"] .chinese-gallery,
html[data-theme="light"] .chinese-download-panel {
    border-color: #d8e5ea;
    border-radius: 18px;
    box-shadow: 0 18px 34px rgba(20, 49, 65, .06);
}

html[data-theme="light"] .chinese-details-panel {
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(255,255,255,.99), rgba(249,253,255,.99));
}

html[data-theme="light"] .chinese-details-panel > h2,
html[data-theme="light"] .chinese-gallery > h2 {
    margin: -14px -14px 14px;
    padding: 13px 16px;
    border-bottom: 1px solid #d8e5ea;
    background: linear-gradient(90deg, rgba(17, 71, 91, .96), rgba(13, 141, 183, .94) 56%, rgba(74, 99, 198, .9));
    color: #f3fbff;
    letter-spacing: .04em;
}

html[data-theme="light"] .chinese-details-panel dl {
    overflow: hidden;
    border: 1px solid #dbe6eb;
    border-radius: 14px;
    background: #fff;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
}

html[data-theme="light"] .chinese-details-panel dl div {
    position: relative;
    grid-template-columns: 132px minmax(0, 1fr);
    padding: 0;
    border-bottom: 1px solid #deeaef;
    background: transparent;
}

html[data-theme="light"] .chinese-details-panel dl div:last-child {
    border-bottom: 0;
}

html[data-theme="light"] .chinese-details-panel dl div:nth-child(odd) {
    background: linear-gradient(90deg, rgba(13, 141, 183, .04), rgba(13, 141, 183, .015));
}

html[data-theme="light"] .chinese-details-panel dl div:nth-child(even) {
    background: linear-gradient(90deg, rgba(107, 89, 211, .025), rgba(255,255,255,0));
}

html[data-theme="light"] .chinese-details-panel dt {
    min-height: 44px;
    padding: 11px 12px;
    display: flex;
    align-items: center;
    color: #0d7fa6;
    font: 10px var(--mono);
    text-transform: uppercase;
    letter-spacing: .05em;
    background: rgba(13, 141, 183, .055);
    border-right: 1px solid #deeaef;
}

html[data-theme="light"] .chinese-details-panel dd {
    min-height: 44px;
    padding: 11px 12px;
    display: flex;
    align-items: center;
    color: #173447;
    font-size: 11px;
    background: transparent;
}

html[data-theme="light"] .chinese-details-panel dd a {
    color: #0d8db7;
}

html[data-theme="light"] .chinese-details-panel dd .member-inline,
html[data-theme="light"] .chinese-details-panel dd img {
    border-radius: 10px;
}

html[data-theme="light"] .chinese-gallery {
    overflow: hidden;
    background: linear-gradient(180deg, rgba(255,255,255,.99), rgba(246,251,255,.98));
}

html[data-theme="light"] .chinese-gallery-viewport {
    border: 1px solid #d7e3e8;
    padding: 10px;
    border-radius: 16px;
    background: linear-gradient(180deg, #f8fbfe, #eef6fb);
}

html[data-theme="light"] .chinese-gallery figure {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: inset 0 0 0 1px rgba(13, 141, 183, .05);
}

html[data-theme="light"] .chinese-gallery-controls {
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid #dbe6eb;
}

html[data-theme="light"] .chinese-gallery-controls button {
    min-height: 34px;
    padding: 0 13px;
}

html[data-theme="light"] .chinese-download-panel {
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(255,255,255,.99), rgba(246,252,249,.98));
}

html[data-theme="light"] .chinese-quick-actions {
    gap: 10px;
}

html[data-theme="light"] .chinese-quick-actions button,
html[data-theme="light"] .chinese-quick-actions a {
    min-width: 84px;
    box-shadow: 0 6px 14px rgba(20, 49, 65, .04);
}

html[data-theme="light"] .chinese-download-gate {
    max-width: 820px;
    border: 1px solid #cfe4d8;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(24,163,108,.09), rgba(13,141,183,.06) 40%, rgba(255,255,255,.98));
    box-shadow: inset 0 1px 0 rgba(255,255,255,.75);
}

html[data-theme="light"] .chinese-download-gate p,
html[data-theme="light"] .chinese-download-gate small {
    color: #52707f;
}

html[data-theme="light"] .download-progress {
    border-color: #cae0d7;
    background: #edf6f1;
    border-radius: 999px;
}

html[data-theme="light"] .download-progress i {
    background: linear-gradient(90deg, #18a36c, #11a1d1);
}

html[data-theme="light"] .chinese-download-button {
    border-radius: 12px;
    letter-spacing: .04em;
}

html[data-theme="light"] .related-files-section {
    margin-top: 18px;
}

html[data-theme="light"] .related-files-section > h2 {
    margin-bottom: 12px;
    color: #123245;
}

html[data-theme="light"] .chinese-file-grid.is-related {
    gap: 12px;
}

html[data-theme="light"] .chinese-file-grid.is-related .chinese-file-card {
    border-top-width: 3px;
    border-radius: 14px;
    background: linear-gradient(180deg, #ffffff, #f9fbfe);
    box-shadow: 0 12px 24px rgba(20, 49, 65, .05);
}

html[data-theme="light"] .chinese-file-grid.is-related .chinese-file-card::before {
    height: 66px;
    opacity: .92;
}

html[data-theme="light"] .chinese-file-grid.is-related .chinese-file-thumb {
    border-bottom: 1px solid #dae6eb;
}

html[data-theme="light"] .chinese-file-grid.is-related .chinese-file-copy {
    padding-top: 2px;
}

html[data-theme="light"] .chinese-file-grid.is-related .chinese-file-copy strong {
    color: #173447;
    line-height: 1.45;
}

html[data-theme="light"] .chinese-file-grid.is-related .chinese-file-copy small {
    color: #5d7685;
}

html[data-theme="light"] .chinese-detail-shell .archive-ad-slot {
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(248,252,254,.96));
}

@media (max-width: 900px) {
    html[data-theme="light"] .chinese-details-panel dl div {
        grid-template-columns: 118px minmax(0, 1fr);
    }
}

@media (max-width: 620px) {
    html[data-theme="light"] .chinese-detail-grid {
        gap: 12px;
    }

    html[data-theme="light"] .chinese-details-panel,
    html[data-theme="light"] .chinese-gallery,
    html[data-theme="light"] .chinese-download-panel {
        border-radius: 14px;
    }

    html[data-theme="light"] .chinese-details-panel > h2,
    html[data-theme="light"] .chinese-gallery > h2 {
        margin: -14px -14px 12px;
        padding: 12px 14px;
    }

    html[data-theme="light"] .chinese-details-panel dl div {
        grid-template-columns: 100px minmax(0, 1fr);
    }

    html[data-theme="light"] .chinese-details-panel dt,
    html[data-theme="light"] .chinese-details-panel dd {
        min-height: 40px;
        padding: 9px 10px;
    }

    html[data-theme="light"] .chinese-file-grid.is-related {
        gap: 9px;
    }
}


/* KDN 6.1.5 home/brand card micro-fixes
   Light theme only:
   - remove decorative diagonal line on home Chinese cards
   - remove logo borders from brand cards on home + receiver brands pages */
html[data-theme="light"] .chinese-category-card::after {
    content: none;
    display: none;
}

html[data-theme="light"] .brand-card .brand-logo,
html[data-theme="light"] .brand-grid.is-home .brand-card .brand-logo {
    border: 0;
    background: transparent;
    box-shadow: none;
}

html[data-theme="light"] .brand-card .brand-logo img,
html[data-theme="light"] .brand-grid.is-home .brand-card .brand-logo img {
    filter: none;
}
