.app-home {
    --home-blue: #3776ab;
    --home-blue-dark: #28557c;
    --home-blue-soft: #eaf3fb;
    --home-panel: #ffffff;
    --home-panel-border: #d9e7f4;
    --home-text: #17324d;
    --home-text-muted: #5e7388;
    --home-shadow: 0 12px 35px rgba(24, 60, 95, 0.08);
    background:
        radial-gradient(circle at top left, rgba(83, 145, 199, 0.16), transparent 30%),
        linear-gradient(180deg, #f7fbff 0%, #f5f8fb 42%, #ffffff 100%);
    color: var(--home-text);
}

.app-home #container.home-shell {
    max-width: 1520px;
    margin: 0 auto;
    padding: 12px 16px 28px;
}

.app-home .home-toolbar-shell,
.app-home .home-table-card {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--home-panel-border);
    border-radius: 18px;
    box-shadow: var(--home-shadow);
}

.app-home .home-toolbar-shell {
    padding: 22px;
    margin-bottom: 16px;
}

.app-home .toolbar-heading {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: end;
    margin-bottom: 16px;
}

.app-home .toolbar-heading h2 {
    margin: 0;
    color: var(--home-text);
    font-size: clamp(1.05rem, 1vw + 0.9rem, 1.4rem);
    line-height: 1.25;
}

.app-home .toolbar-hint {
    margin: 0;
    color: var(--home-text-muted);
    text-align: right;
}

.app-home kbd {
    padding: 2px 6px;
    border: 1px solid rgba(55, 118, 171, 0.2);
    border-radius: 6px;
    background: #fff;
    color: var(--home-blue-dark);
    box-shadow: inset 0 -1px 0 rgba(55, 118, 171, 0.12);
}

.app-home .home-toolbar {
    display: grid;
    grid-template-columns: minmax(320px, 3fr) minmax(230px, 1.8fr) 92px 92px 92px auto;
    gap: 14px;
    align-items: end;
}

.app-home .toolbar-field,
.app-home .toolbar-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.app-home .toolbar-field label,
.app-home .toolbar-label {
    color: var(--home-text-muted);
    font-size: 0.88rem;
    font-weight: 600;
}

.app-home .toolbar-field input,
.app-home .toolbar-field select {
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid #c6d7e8;
    border-radius: 12px;
    background: #fff;
    color: var(--home-text);
    font-size: 0.98rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.app-home .toolbar-field input[type="search"]::-webkit-search-decoration,
.app-home .toolbar-field input[type="search"]::-webkit-search-cancel-button,
.app-home .toolbar-field input[type="search"]::-webkit-search-results-button,
.app-home .toolbar-field input[type="search"]::-webkit-search-results-decoration {
    -webkit-appearance: none;
    appearance: none;
    display: none;
}

.app-home .filter-input-wrap input::-webkit-calendar-picker-indicator {
    opacity: 0;
    pointer-events: none;
}

.app-home .toolbar-field input::placeholder {
    color: var(--home-text-muted);
    opacity: 1;
}

.app-home .toolbar-field input:focus,
.app-home .toolbar-field select:focus,
.app-home .toolbar-button:focus-visible,
.app-home .active-filter-chip:focus-visible,
.app-home .label-link:focus-visible {
    outline: 2px solid rgba(55, 118, 171, 0.35);
    outline-offset: 2px;
    border-color: var(--home-blue);
}

.app-home .search-input-wrap {
    position: relative;
}

.app-home .filter-input-wrap {
    position: relative;
}

.app-home .toolbar-button,
.app-home .toolbar-button-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 14px;
    border: 1px solid var(--home-blue);
    border-radius: 12px;
    background: var(--home-blue);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.app-home .toolbar-button:hover,
.app-home .toolbar-button-link:hover {
    background: var(--home-blue-dark);
    border-color: var(--home-blue-dark);
    color: #fff;
}

.app-home .search-input-wrap input {
    width: 100%;
    padding-right: 42px;
}

.app-home .filter-input-wrap input {
    width: 100%;
    padding-right: 72px;
}

.app-home .toolbar-field-sort,
.app-home .toolbar-field-rows,
.app-home .toolbar-field-featured {
    max-width: 92px;
}

.app-home .toolbar-field-sort select,
.app-home .toolbar-field-rows select,
.app-home .toolbar-field-featured select {
    min-width: 0;
}

.app-home .search-clear-button {
    position: absolute;
    top: 50%;
    right: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: transparent;
    font-size: 0;
    line-height: 0;
    transform: translateY(-50%);
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: background 0.18s ease, color 0.18s ease;
}

.app-home .search-input-wrap.has-value .search-clear-button,
.app-home .filter-input-wrap.has-value .search-clear-button {
    opacity: 1;
    pointer-events: auto;
}

.app-home .search-clear-button::before,
.app-home .search-clear-button::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 12px;
    height: 2px;
    border-radius: 999px;
    background: #6f8598;
    transform-origin: center;
}

.app-home .search-clear-button::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.app-home .search-clear-button::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.app-home .search-clear-button:hover {
    background: var(--home-blue-soft);
}

.app-home .search-clear-button:hover::before,
.app-home .search-clear-button:hover::after {
    background: var(--home-blue-dark);
}

.app-home .search-clear-button:focus-visible {
    outline: 2px solid rgba(55, 118, 171, 0.35);
    outline-offset: 2px;
}

.app-home .filter-input-wrap .search-clear-button {
    right: 34px;
}

.app-home .filter-arrow-button {
    position: absolute;
    top: 50%;
    right: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: transparent;
    transform: translateY(-50%);
    cursor: pointer;
    transition: background 0.18s ease;
}

.app-home .filter-arrow-button:hover {
    background: var(--home-blue-soft);
}

.app-home .filter-arrow-button:focus-visible {
    outline: 2px solid rgba(55, 118, 171, 0.35);
    outline-offset: 2px;
}

.app-home .filter-arrow-icon {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-top: -2px;
    border-right: 2px solid #6f8598;
    border-bottom: 2px solid #6f8598;
    transform: rotate(45deg);
}

.app-home .filter-arrow-button:hover .filter-arrow-icon,
.app-home .filter-arrow-button:focus-visible .filter-arrow-icon {
    border-color: var(--home-blue-dark);
}

.app-home .toolbar-status {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 16px;
}

.app-home .active-filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.app-home .active-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border: 1px solid rgba(55, 118, 171, 0.22);
    border-radius: 999px;
    background: var(--home-blue-soft);
    color: var(--home-blue-dark);
    font-size: 0.92rem;
}

.app-home .active-filter-chip button {
    border: 0;
    background: transparent;
    color: inherit;
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
}

.app-home .results-summary {
    color: var(--home-text-muted);
    font-weight: 600;
}

.app-home .home-table-card {
    position: relative;
    padding: 18px 18px 10px;
    overflow: hidden;
}

.app-home #table_wrapper {
    margin: 0;
    min-height: 420px;
}

.app-home .app-home-pagination {
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid rgba(216, 231, 243, 0.9);
}

.app-home div.dataTables_wrapper div.dataTables_paginate {
    margin-top: 0;
    text-align: right !important;
}

.app-home div.dataTables_wrapper div.dataTables_paginate ul.pagination {
    justify-content: flex-end !important;
    gap: 4px;
}

.app-home div.dataTables_wrapper div.dataTables_paginate .page-link {
    border-radius: 10px;
    border-color: #d4e2ef;
    color: var(--home-blue-dark);
}

.app-home div.dataTables_wrapper div.dataTables_paginate .page-item.active .page-link {
    border-color: var(--home-blue);
    background: var(--home-blue);
}

.app-home table.dataTable thead th {
    color: var(--home-blue-dark);
    font-weight: 700;
    padding: 0 32px 12px 16px !important;
    border-bottom-color: #d8e7f3;
    vertical-align: bottom;
}

.app-home table.dataTable tbody td {
    vertical-align: top;
    padding: 16px !important;
    border-color: rgba(216, 231, 243, 0.75);
}

.app-home table.dataTable.table-striped > tbody > tr:nth-of-type(2n + 1) > * {
    box-shadow: inset 0 0 0 9999px rgba(55, 118, 171, 0.035);
}

.app-home table.dataTable tbody tr:hover > * {
    box-shadow: inset 0 0 0 9999px rgba(55, 118, 171, 0.06);
}

.app-home table.dataTable tbody tr.details-open > * {
    box-shadow: inset 0 0 0 9999px rgba(55, 118, 171, 0.08);
}

.app-home .table-empty-state {
    display: grid;
    place-items: center;
    gap: 10px;
    min-height: 240px;
    padding: 30px 20px;
    margin-bottom: 10px;
    border: 1px dashed rgba(55, 118, 171, 0.25);
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(234, 243, 251, 0.55), rgba(255, 255, 255, 0.9));
    text-align: center;
}

.app-home .table-empty-state h3,
.app-home .table-empty-state p {
    margin: 0;
}

.app-home .table-empty-state p {
    color: var(--home-text-muted);
}

.app-home .table-empty-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.app-home .home-table-footer {
    display: flex;
    justify-content: flex-start;
    padding: 14px 6px 4px;
}

.app-home .home-table-footer-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--home-blue-dark);
    font-weight: 600;
    text-decoration: none;
}

.app-home .home-table-footer-link:hover {
    color: var(--home-blue);
}

.app-home .repo-primary-column {
    min-width: 440px;
}

.app-home .repo-metric-column {
    min-width: 112px;
}

.app-home .repo-cell {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    min-width: 0;
}

.app-home .repo-cell-avatar {
    padding-top: 2px;
}

.app-home .repo-cell-body {
    display: grid;
    gap: 5px;
    min-width: 0;
}

.app-home .repo-cell-heading,
.app-home .repo-details-title-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.app-home .repo-cell-title {
    color: var(--home-blue-dark);
    font-size: 1.06rem;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
}

.app-home .repo-cell-title:hover {
    color: var(--home-blue);
}

.app-home .repo-featured-badge {
    font-weight: 600;
    text-transform: lowercase;
}

.app-home .repo-cell-org {
    color: var(--home-text-muted);
    font-size: 0.86rem;
    line-height: 1.3;
}

.app-home .repo-cell-org a {
    color: inherit;
    text-decoration: none;
}

.app-home .repo-cell-org a:hover {
    color: var(--home-blue);
}

.app-home .repo-cell-description {
    margin: 0;
    color: var(--home-text);
    font-size: 0.95rem;
    line-height: 1.4;
}

.app-home .repo-cell-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    min-width: 0;
}

.app-home .repo-cell-meta .repo-topic-strip {
    display: contents;
}

.app-home .repo-topic-strip .label-link {
    margin-right: 0;
}

.app-home .repo-similar-strip {
    display: contents;
}

.app-home .repo-similar-strip .label-link {
    margin-right: 0;
}

.app-home .repo-signals {
    display: contents;
}

.app-home .repo-signals .label-link {
    margin-right: 0;
}

.app-home .repo-metric-card {
    display: grid;
    gap: 3px;
    min-width: 88px;
    padding: 8px 10px;
    border: 1px solid #d8e7f3;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(241, 247, 252, 0.92));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.app-home .repo-metric-value {
    color: var(--home-text);
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.1;
}

.app-home .repo-metric-label {
    color: var(--home-text-muted);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.app-home .repo-signal-icon {
    flex-shrink: 0;
    opacity: 0.92;
}

.app-home .repo-signal-label {
    display: inline-block;
    text-transform: lowercase;
}

.app-home .description-column {
    max-width: 600px;
    min-width: 220px;
    color: var(--home-text);
}

.app-home .repo-expand-column {
    width: 52px;
    min-width: 52px;
    text-align: right;
}

.app-home .repo-expand-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--home-blue-dark);
    transition: background 0.18s ease, color 0.18s ease;
}

.app-home .repo-expand-button:hover {
    background: var(--home-blue-soft);
    color: var(--home-blue);
}

.app-home .repo-expand-button:focus-visible {
    outline: 2px solid rgba(55, 118, 171, 0.35);
    outline-offset: 2px;
}

.app-home .repo-expand-button-icon {
    position: relative;
    display: inline-block;
    width: 10px;
    height: 10px;
}

.app-home .repo-expand-button-icon::before,
.app-home .repo-expand-button-icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    background: #6f8598;
    border-radius: 999px;
    transform: translate(-50%, -50%);
    transition: background 0.18s ease, opacity 0.18s ease;
}

.app-home .repo-expand-button-icon::before {
    width: 10px;
    height: 2px;
}

.app-home .repo-expand-button-icon::after {
    width: 2px;
    height: 10px;
}

.app-home .repo-expand-button:hover .repo-expand-button-icon::before,
.app-home .repo-expand-button:hover .repo-expand-button-icon::after,
.app-home .repo-expand-button:focus-visible .repo-expand-button-icon::before,
.app-home .repo-expand-button:focus-visible .repo-expand-button-icon::after {
    background: var(--home-blue-dark);
}

.app-home .repo-expand-button.is-open {
    background: var(--home-blue-soft);
    color: var(--home-blue-dark);
}

.app-home .repo-expand-button.is-open .repo-expand-button-icon::after {
    opacity: 0;
}

.app-home.repo-modal-open {
    overflow: hidden;
}

.app-home .repo-modal {
    position: fixed;
    inset: 0;
    z-index: 1100;
}

.app-home .repo-modal[hidden] {
    display: none !important;
}

.app-home .repo-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(19, 46, 72, 0.56);
}

.app-home .repo-modal-dialog {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100%;
    padding: 24px;
}

.app-home .repo-modal-shell {
    width: 100%;
    max-width: 1120px;
    max-height: calc(100vh - 48px);
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    padding: 18px 20px 22px;
    border: 1px solid rgba(55, 118, 171, 0.2);
    border-radius: 22px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 250, 253, 0.98)),
        radial-gradient(circle at top right, rgba(83, 145, 199, 0.16), transparent 34%);
    box-shadow: 0 24px 70px rgba(16, 44, 69, 0.22);
}

.app-home .repo-modal-topbar {
    position: sticky;
    top: 0;
    z-index: 2;
    display: flex;
    justify-content: flex-end;
    margin: -2px 0 10px;
}

.app-home .repo-modal-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid #d0e1ee;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--home-blue-dark);
    font-family: Arial, sans-serif;
    font-size: 1.7rem;
    font-weight: 400;
    line-height: 0.9;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(21, 55, 83, 0.08);
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.app-home .repo-modal-close:hover {
    background: var(--home-blue-soft);
    border-color: #bfd7ea;
    color: var(--home-blue);
}

.app-home .repo-modal-close:focus-visible {
    outline: 2px solid rgba(55, 118, 171, 0.35);
    outline-offset: 2px;
}

.app-home .repo-modal-content .repo-details-card {
    gap: 20px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.app-home .repo-modal-content .repo-details-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 16px;
}

.app-home .links-column,
.app-home .similar-column,
.app-home .tags-column {
    max-width: 220px;
}

.app-home .description-column,
.app-home .links-column,
.app-home .similar-column,
.app-home .tags-column {
    line-height: 1.45;
}

.app-home .label-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin: 2px 3px 2px 0;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.82rem;
    line-height: 1.25;
    text-decoration: none;
}

.app-home .label-icon {
    font-size: 0.76rem;
    line-height: 1;
    opacity: 0.82;
}

.app-home .category-link {
    background: var(--home-blue);
    border-color: var(--home-blue);
    color: #fff;
}

.app-home .category-link:hover {
    background: var(--home-blue-dark);
    border-color: var(--home-blue-dark);
    color: #fff;
}

.app-home .tag-link {
    background: #eff5fa;
    border-color: #d1e2ef;
    color: #28557c;
}

.app-home .tag-link:hover {
    background: #dfeef9;
    border-color: #b8d4eb;
    color: #1d4768;
}

.app-home .similar-link {
    background: #eff5fa;
    border-color: #d1e2ef;
    color: #28557c;
}

.app-home .similar-link:hover {
    background: #dfeef9;
    border-color: #b8d4eb;
    color: #1d4768;
}

.app-home .tags-column {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.app-home .tags-column-compact {
    gap: 4px;
}

.app-home .tags-overflow-indicator {
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--home-text-muted);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
}

.app-home .tags-overflow-indicator:hover {
    color: var(--home-blue-dark);
}

.app-home .tags-overflow-indicator:focus-visible {
    outline: 2px solid rgba(55, 118, 171, 0.35);
    outline-offset: 2px;
}

.app-home tr.repo-details-child-row td,
.app-home tr.child td.repo-details-child {
    padding: 0 16px 16px 16px !important;
    background: transparent;
    border-top: 0;
}

.app-home table.dataTable tbody td {
    vertical-align: top;
}

.app-home table.dataTable tbody td.repo-metric-column,
.app-home table.dataTable tbody td.repo-expand-column {
    vertical-align: middle !important;
}

.app-home .repo-details-card {
    display: grid;
    gap: 18px;
    padding: 18px;
    border: 1px solid rgba(55, 118, 171, 0.18);
    border-radius: 16px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 249, 253, 0.96)),
        radial-gradient(circle at top right, rgba(83, 145, 199, 0.14), transparent 32%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.app-home .repo-details-overview {
    display: grid;
    gap: 14px;
}

.app-home .repo-details-heading {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.8fr);
    gap: 16px;
    align-items: start;
}

.app-home .repo-details-heading-copy {
    display: grid;
    gap: 10px;
}

.app-home .repo-details-heading-side {
    display: grid;
    gap: 12px;
    justify-items: end;
}

.app-home .repo-details-path {
    color: var(--home-text-muted);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.app-home .repo-details-title {
    color: var(--home-blue-dark);
    font-size: 1.45rem;
    font-weight: 800;
    text-decoration: none;
    line-height: 1.1;
}

.app-home .repo-details-title:hover {
    color: var(--home-blue);
}

.app-home .repo-details-subtitle {
    margin-top: 4px;
    color: var(--home-text-muted);
}

.app-home .repo-details-subtitle a {
    color: inherit;
}

.app-home .repo-details-description-hero {
    margin: 2px 0 0;
    max-width: 70ch;
}

.app-home .repo-details-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.app-home .repo-details-highlight {
    display: inline-grid;
    gap: 2px;
    min-width: 110px;
    padding: 8px 10px;
    border: 1px solid #dbe9f4;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.82);
}

.app-home .repo-details-highlight-label {
    color: var(--home-text-muted);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.app-home .repo-details-highlight-value {
    color: var(--home-text);
    font-size: 0.9rem;
    font-weight: 700;
}

.app-home .repo-details-actions {
    display: grid;
    gap: 8px;
    width: 100%;
}

.app-home .repo-details-action-button {
    display: grid;
    gap: 2px;
    width: 100%;
    padding: 11px 13px;
    border: 1px solid #d0e1ee;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(241, 247, 252, 0.96));
    color: var(--home-blue-dark);
    text-decoration: none;
    text-align: left;
    box-shadow: 0 8px 20px rgba(21, 55, 83, 0.06);
    transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.app-home .repo-details-action-button:hover {
    border-color: #bdd5e8;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(232, 243, 251, 0.98));
    color: var(--home-blue);
    transform: translateY(-1px);
}

.app-home .repo-details-action-button:focus-visible,
.app-home .repo-details-link-item:focus-visible,
.app-home .repo-details-fact-body a:focus-visible {
    outline: 2px solid rgba(55, 118, 171, 0.35);
    outline-offset: 2px;
}

.app-home .repo-details-action-label {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.app-home .repo-details-action-meta {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.3;
}

.app-home .repo-details-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.app-home .repo-details-stat {
    display: grid;
    gap: 4px;
    padding: 12px 14px;
    border: 1px solid #d8e7f3;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.82);
}

.app-home .repo-details-stat-label {
    color: var(--home-text-muted);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.app-home .repo-details-stat-value {
    color: var(--home-text);
    font-size: 1rem;
}

.app-home .repo-details-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.app-home .repo-details-grid-rich {
    display: block;
    column-count: 2;
    column-gap: 14px;
}

.app-home .repo-details-section {
    display: grid;
    gap: 10px;
    padding: 14px;
    border: 1px solid rgba(55, 118, 171, 0.14);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.78);
}

.app-home .repo-details-grid-rich .repo-details-section {
    display: inline-grid;
    width: 100%;
    margin: 0 0 14px;
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.app-home .repo-details-section-wide {
    grid-column: auto;
}

.app-home .repo-details-section h3 {
    margin: 0;
    color: var(--home-blue-dark);
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.app-home .repo-details-description,
.app-home .repo-details-empty {
    margin: 0;
    color: var(--home-text);
    line-height: 1.55;
}

.app-home .repo-details-empty {
    color: var(--home-text-muted);
}

.app-home .repo-details-link-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.app-home .repo-details-link-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border: 1px solid #d6e4f0;
    border-radius: 12px;
    background: #f8fbfe;
    color: var(--home-blue-dark);
    font-weight: 600;
    text-decoration: none;
}

.app-home .repo-details-link-item:hover {
    border-color: #c0d7ea;
    background: #edf5fb;
    color: var(--home-blue);
}

.app-home .repo-details-link-copy {
    display: grid;
    gap: 1px;
}

.app-home .repo-details-link-copy strong {
    font-size: 0.92rem;
}

.app-home .repo-details-link-copy span {
    color: var(--home-text-muted);
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.2;
}

.app-home .repo-details-fact-list {
    display: grid;
    gap: 10px;
}

.app-home .repo-details-fact {
    display: grid;
    grid-template-columns: minmax(88px, 104px) minmax(0, 1fr);
    gap: 12px;
    align-items: start;
}

.app-home .repo-details-fact-label {
    color: var(--home-text-muted);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.app-home .repo-details-fact-body {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.app-home .repo-details-fact-values {
    display: grid;
    gap: 4px;
}

.app-home .repo-details-fact-body a,
.app-home .repo-details-fact-body span {
    color: var(--home-text);
    font-weight: 600;
    line-height: 1.45;
    word-break: break-word;
}

.app-home .repo-details-fact-body a:hover {
    color: var(--home-blue);
}

.app-home .repo-details-fact-meta {
    color: var(--home-text-muted);
    font-size: 0.84rem;
    font-weight: 500;
}

.app-home .repo-details-similar-list .similar-column {
    max-width: none;
    white-space: normal !important;
}

.app-home .repo-details-similar-chips {
    gap: 6px;
}

.app-home .dtr-control:before {
    background-color: var(--home-blue) !important;
}

@media screen and (max-width: 1280px) {
    .app-home .home-toolbar {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .app-home .toolbar-field-search {
        grid-column: 1 / -1;
    }

    .app-home .toolbar-actions {
        grid-column: span 1;
    }
}

@media screen and (max-width: 1024px) {
    .app-home .toolbar-heading {
        flex-direction: column;
        align-items: flex-start;
    }

    .app-home .toolbar-hint {
        text-align: left;
    }

    .app-home .repo-details-stat-grid,
    .app-home .repo-details-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .app-home .repo-details-grid-rich {
        column-count: 2;
    }

    .app-home .repo-details-heading {
        grid-template-columns: 1fr;
    }

    .app-home .repo-details-heading-side {
        justify-items: start;
    }

    .app-home .repo-details-actions {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .app-home .repo-primary-column {
        min-width: 340px;
    }

    .app-home .repo-modal-dialog {
        padding: 18px;
    }

    .app-home .repo-modal-shell {
        max-height: calc(100vh - 36px);
        padding: 16px 16px 20px;
        border-radius: 18px;
    }

    .app-home .repo-modal-content .repo-details-grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 720px) {
    .app-home #container.home-shell {
        padding: 12px 10px 20px;
    }

    .app-home .home-toolbar-shell,
    .app-home .home-table-card {
        border-radius: 14px;
    }

    .app-home .home-toolbar-shell {
        padding: 16px;
    }

    .app-home .home-table-card {
        padding: 14px 12px 8px;
    }

    .app-home .home-toolbar {
        grid-template-columns: 1fr;
    }

    .app-home .search-input-wrap,
    .app-home .table-empty-actions,
    .app-home .toolbar-status {
        flex-direction: column;
        align-items: stretch;
    }

    .app-home div.dataTables_wrapper div.dataTables_paginate,
    .app-home div.dataTables_wrapper div.dataTables_paginate ul.pagination {
        justify-content: flex-start !important;
        text-align: left !important;
    }

    .app-home .app-home-pagination {
        margin-top: 6px;
        padding-top: 10px;
    }

    .app-home table.dataTable thead th {
        padding: 0 28px 10px 12px !important;
    }

    .app-home table.dataTable tbody td {
        padding: 13px 12px !important;
    }

    .app-home .description-column {
        min-width: 0;
    }

    .app-home .repo-cell {
        grid-template-columns: 30px minmax(0, 1fr);
        gap: 10px;
    }

    .app-home .repo-cell-title {
        font-size: 1rem;
    }

    .app-home .repo-metric-card {
        min-width: 0;
        padding: 9px 10px;
    }

    .app-home .repo-expand-column {
        width: 48px;
        min-width: 48px;
    }

    .app-home .repo-expand-button {
        width: 26px;
        height: 26px;
    }

    .app-home .repo-modal-dialog {
        align-items: flex-start;
        padding: 10px;
    }

    .app-home .repo-modal-shell {
        width: 100%;
        max-height: calc(100vh - 20px);
        padding: 14px 14px 18px;
        border-radius: 16px;
    }

    .app-home .repo-modal-topbar {
        margin-bottom: 8px;
    }

    .app-home .repo-modal-close {
        width: 36px;
        height: 36px;
        font-size: 1.35rem;
    }

    .app-home .repo-details-card,
    .app-home .repo-details-section {
        padding: 14px;
    }

    .app-home .repo-details-title {
        font-size: 1.18rem;
    }

    .app-home .repo-details-actions,
    .app-home .repo-details-stat-grid,
    .app-home .repo-details-grid {
        grid-template-columns: 1fr;
    }

    .app-home .repo-details-grid-rich {
        column-count: 1;
    }

    .app-home .repo-details-fact {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .app-home .repo-details-link-item {
        width: 100%;
        justify-content: flex-start;
    }
}
