:root {
    --ink: #27313d;
    --muted: #6b7280;
    --line: #e8eaed;
    --surface: #ffffff;
    --surface-soft: #f3f4f6;
    --canvas: #f6f7f9;
    --brand: #8f1d2c;
    --brand-dark: #741522;
    --brand-deep: #5f101b;
    --brand-soft: #f8eeee;
    --accent: #e99a18;
    --accent-dark: #a76500;
    --accent-soft: #fff5e3;
    --comparison-blue: #356a8a;
    --comparison-purple: #76577d;
    --success: #477a62;
    --warning: #9a5b08;
    --warning-soft: #fff1d6;
    --danger: #a93636;
    --danger-soft: #ffe5e3;
    --shadow: 0 10px 30px rgba(39, 49, 61, 0.07);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--canvas); }

body {
    margin: 0;
    color: var(--ink);
    background: var(--canvas);
    font-family: "Segoe UI", system-ui, sans-serif;
    font-size: 14px;
}

a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }
button, input, select { font: inherit; }
:focus-visible { outline: 3px solid rgba(243, 146, 0, 0.34); outline-offset: 2px; }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.topbar {
    height: 78px;
    padding: 0 clamp(20px, 4vw, 64px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 50;
    background: #fff;
    border-bottom: 0;
    box-shadow: 0 3px 16px rgba(39, 49, 61, 0.07);
}
.topbar::after {
    content: "";
    height: 4px;
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(90deg, var(--brand), var(--accent));
}

.brand { display: flex; gap: 13px; align-items: center; color: var(--brand-deep); }
.brand:hover { color: var(--brand-deep); }
.brand-logo-shell {
    height: 58px;
    padding: 0;
    display: flex;
    align-items: center;
}
.brand-logo { width: auto; height: 45px; display: block; }
.brand-copy strong { font: 750 15px/1 "Segoe UI", sans-serif; letter-spacing: 0.02em; }
.brand-copy small {
    display: block;
    margin-top: 5px;
    color: var(--muted);
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.topbar-actions { display: flex; align-items: center; gap: 8px; }
.topbar-actions form { margin: 0; }
.access-role {
    padding: 5px 8px;
    color: var(--muted);
    background: var(--surface-soft);
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .05em;
}
.topbar-logout {
    min-height: 33px;
    padding: 7px 10px;
    color: var(--muted);
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 999px;
    cursor: pointer;
    font: 800 12px/1 "Segoe UI", sans-serif;
}
.topbar-logout:hover { color: var(--brand); background: var(--brand-soft); }
.github-admin-chip {
    min-height: 33px;
    padding: 7px 10px;
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--ink);
    background: var(--surface-soft);
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}
.github-admin-chip:hover { color: var(--brand); background: var(--brand-soft); }
.github-admin-chip > span { width: 7px; height: 7px; border-radius: 50%; background: #a4aea9; }
.github-admin-chip > span.connected { background: #2ea36f; box-shadow: 0 0 0 4px #dff3e9; }

.page-shell {
    width: min(1800px, 100%);
    margin: 0 auto;
    padding: 30px clamp(18px, 3vw, 48px) 56px;
}

.eyebrow {
    margin: 0 0 8px;
    color: var(--brand);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

h1, h2 { letter-spacing: -0.035em; }

.button {
    min-height: 39px;
    padding: 9px 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 1px solid transparent;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 700;
}
.button-primary { color: #3f2b0d; background: var(--accent); box-shadow: 0 6px 14px rgba(233, 154, 24, 0.18); }
.button-primary:hover { color: #fff; background: var(--accent-dark); }
.button-secondary { color: var(--ink); background: #fff; border-color: var(--line); }
.button-detail { min-height: 32px; padding: 6px 10px; color: #8a5510; background: #fff1d6; }
.button:disabled { opacity: .55; cursor: not-allowed; box-shadow: none; }
.refresh-icon { font-size: 18px; line-height: 0; }

.catalog-panel {
    overflow: visible;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.catalog-heading {
    padding: 24px 26px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.catalog-heading h1 { margin: 0; color: var(--brand-deep); font-size: 27px; }
.catalog-heading-actions { display: flex; align-items: center; gap: 10px; }
.result-count {
    padding: 6px 10px;
    color: var(--muted);
    background: var(--surface-soft);
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
}

.catalog-toolbar {
    padding: 0 26px 20px;
    display: grid;
    grid-template-columns: minmax(280px, 1fr) minmax(180px, .42fr) minmax(170px, .34fr) auto;
    gap: 9px;
    align-items: start;
}
.catalog-toolbar input[type="search"], .catalog-toolbar select {
    width: 100%;
    height: 41px;
    color: var(--ink);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 9px;
    outline: none;
}
.catalog-toolbar input[type="search"] { padding: 0 12px 0 38px; }
.catalog-toolbar select { padding: 0 11px; }
.catalog-toolbar input:focus, .catalog-toolbar select:focus { border-color: #e7a13c; box-shadow: 0 0 0 3px var(--accent-soft); }
.search-field { position: relative; }
.search-icon { position: absolute; left: 13px; top: 11px; color: #91898a; pointer-events: none; }

.client-picker { position: relative; }
.client-picker > summary {
    min-width: 175px;
    min-height: 41px;
    padding: 8px 11px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    list-style: none;
    cursor: pointer;
    color: var(--ink);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 9px;
    font-weight: 700;
}
.client-picker > summary::-webkit-details-marker { display: none; }
.client-picker > summary span { color: var(--muted); font-size: 10px; }
.client-picker-panel {
    width: min(370px, calc(100vw - 36px));
    padding: 14px;
    position: absolute;
    top: 48px;
    right: 0;
    z-index: 25;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 16px 38px rgba(39, 49, 61, 0.12);
}
.client-picker-panel fieldset { margin: 0; padding: 0; border: 0; }
.client-picker-panel legend { margin-bottom: 9px; font-size: 12px; font-weight: 800; }
.client-picker-panel label { padding: 8px 5px; display: flex; align-items: center; gap: 8px; }
.client-picker-panel input { width: 16px; height: 16px; accent-color: var(--accent); }
.client-picker-panel small { margin-left: auto; color: var(--muted); }
.client-picker-actions {
    margin-top: 10px;
    padding-top: 11px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    border-top: 1px solid var(--line);
    font-size: 11px;
}
.client-picker-actions .button { min-height: 34px; padding: 7px 10px; }

.grid-navigation {
    min-height: 47px;
    padding: 8px 14px 8px 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    color: var(--muted);
    background: #fafbfc;
    border-top: 1px solid var(--line);
    font-size: 11px;
    font-weight: 700;
}
.grid-navigation-actions { display: flex; align-items: center; gap: 7px; }
.grid-nav-button {
    min-height: 31px;
    padding: 6px 10px;
    color: #59616b;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    cursor: pointer;
    font-size: 11px;
    font-weight: 800;
}
.grid-nav-button:hover:not(:disabled) { color: #8a5510; background: var(--accent-soft); border-color: #efcf96; }
.grid-nav-button:disabled { opacity: .38; cursor: default; }

.table-wrap {
    max-height: calc(100vh - 292px);
    min-height: 280px;
    overflow: auto;
    overscroll-behavior: contain;
    scrollbar-color: #b8bec5 #eceef1;
    scrollbar-width: thin;
}
.table-wrap::-webkit-scrollbar { width: 11px; height: 11px; }
.table-wrap::-webkit-scrollbar-track { background: #eceef1; }
.table-wrap::-webkit-scrollbar-thumb { background: #b8bec5; border: 3px solid #eceef1; border-radius: 999px; }
.table-wrap:focus-visible { outline-offset: -3px; }
.catalog-table, .detail-table { width: 100%; min-width: 860px; border-collapse: separate; border-spacing: 0; }
.catalog-table th, .catalog-table td, .detail-table th, .detail-table td {
    padding: 13px 14px;
    border-top: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}
.catalog-table th, .detail-table th {
    color: var(--muted);
    background: #f3f4f6;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.catalog-table thead th {
    position: sticky;
    top: 0;
    z-index: 8;
    color: #fff;
    background: var(--brand);
    border-top: 0;
    box-shadow: inset 0 -1px rgba(255, 255, 255, .12), 0 3px 10px rgba(39, 49, 61, .12);
}
.catalog-table tbody tr:hover td { background: #fafbfc; }
.catalog-table .sticky-col {
    width: 260px;
    min-width: 260px;
    position: sticky;
    left: 0;
    z-index: 4;
    background: #fff;
    box-shadow: 10px 0 18px -16px rgba(39, 49, 61, .55);
}
.catalog-table thead .sticky-col { z-index: 12; color: #fff; background: var(--brand-dark); }
.functional-col { width: 520px; min-width: 380px; }
.functional-col p { margin: 0 0 10px; color: #59616b; line-height: 1.5; }
.functional-actions { display: flex; align-items: center; gap: 10px; }
.functional-actions small { color: var(--muted); font-size: 10px; }
.technical-module-link {
    display: block;
    overflow-wrap: anywhere;
    color: var(--ink);
    font: 800 13px/1.4 ui-monospace, SFMono-Regular, Consolas, monospace;
}
.technical-module-link:hover { color: var(--brand); }
.area-pill {
    margin-top: 8px;
    padding: 4px 8px;
    display: inline-flex;
    color: #59616b;
    background: #f3f4f6;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .025em;
}
.client-col, .version-cell { width: 145px; min-width: 145px; }
.canonical-col { background-color: #fff9ef !important; }
.catalog-table thead .canonical-col {
    color: #3f2b0d;
    background: var(--accent) !important;
    box-shadow: inset 0 -3px #c77b08;
}
.version-link { color: #374151; font-weight: 800; white-space: nowrap; }
.version-link:hover { color: var(--ink); text-decoration: underline; }
.comparison-badge {
    margin-top: 5px;
    display: block;
    font-size: 9px;
    font-weight: 800;
    line-height: 1.35;
}
.comparison-badge.inline { margin: 0 0 0 8px; display: inline; }
.comparison-higher { color: var(--comparison-blue); }
.comparison-lower { color: var(--accent-dark); }
.comparison-code_drift { color: var(--comparison-purple); }
.catalog-table .comparison-badge { color: #4b5563; }
.catalog-table .status-higher { background: #edf5fa; }
.catalog-table .status-lower { background: #fff5e3; }
.catalog-table .status-code_drift { background: #f4eef5; }
.catalog-table .status-absent { background: #f3f4f6; }
.catalog-table .status-no_data {
    background-color: #fafafa;
    background-image: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 7px,
        rgba(107, 114, 128, .045) 7px,
        rgba(107, 114, 128, .045) 14px
    );
}
.not-available { color: #8a9199; font-size: 11px; font-weight: 700; }
.empty-state { padding: 40px !important; color: var(--muted); text-align: center !important; }

.flash { margin: 0 0 18px; padding: 12px 15px; border: 1px solid; border-radius: 10px; }
.flash-success { color: var(--success); background: #eef6f1; border-color: #d4e6dc; }
.flash-warning { color: var(--warning); background: var(--warning-soft); border-color: #f1d6a8; }

.breadcrumb { margin-bottom: 20px; display: flex; gap: 8px; color: var(--muted); font-size: 12px; }
.detail-heading {
    padding: 25px 27px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 28px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
}
.detail-heading .area-pill { margin: 0 0 11px; }
.detail-heading h1 { margin: 0; font: 800 clamp(25px, 4vw, 38px)/1.2 ui-monospace, SFMono-Regular, Consolas, monospace; }
.detail-heading p { max-width: 780px; margin: 13px 0 0; color: var(--muted); font-size: 15px; line-height: 1.55; }
.detail-section { margin-top: 26px; }
.section-title { margin-bottom: 13px; }
.section-title h2 { margin: 0; font-size: 22px; }
.feature-card { padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: 13px; }
.numbered-list, .functional-list { margin: 0; padding-left: 24px; display: grid; gap: 10px; color: #59616b; line-height: 1.5; }
.numbered-list li::marker, .functional-list li::marker { color: var(--accent-dark); font-weight: 800; }
.commit-list { margin: 0; padding: 0; display: grid; gap: 11px; list-style: none; }
.commit-list li { display: grid; gap: 3px; }
.commit-list a { color: var(--ink); font-weight: 700; line-height: 1.4; }
.commit-list a:hover { color: var(--brand); }
.commit-list span { color: var(--muted); font: 10px/1.4 ui-monospace, SFMono-Regular, Consolas, monospace; }
.commit-list-compact { gap: 6px; }
.commit-list-compact li {
    padding: 7px 9px;
    gap: 2px;
    background: var(--surface-soft);
    border-radius: 8px;
}
.commit-list-compact a {
    display: -webkit-box;
    overflow: hidden;
    color: #4b5563;
    font-size: 11px;
    font-weight: 650;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.commit-list-compact span { font-size: 9px; }
.commit-list-technical { gap: 0; }
.commit-list-technical li {
    padding: 13px 2px;
    gap: 5px;
    border-bottom: 1px solid var(--line);
}
.commit-list-technical li:last-child { border-bottom: 0; }
.commit-list-technical a { font-size: 14px; line-height: 1.5; }
.commit-list-technical span { font-size: 10px; }
.technical-context {
    margin-bottom: 15px;
    padding: 12px 14px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    background: var(--surface-soft);
    border-radius: 10px;
}
.technical-context > div { min-width: 0; display: grid; gap: 4px; }
.technical-context span {
    color: var(--muted);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.technical-context a, .technical-context code {
    overflow-wrap: anywhere;
    color: var(--ink);
    font-size: 11px;
    font-weight: 750;
}
.technical-context a:hover { color: var(--brand); }
.commit-pagination {
    margin-top: 17px;
    padding-top: 14px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    border-top: 1px solid var(--line);
}
.commit-pagination button {
    min-height: 32px;
    padding: 6px 10px;
    color: #59616b;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    cursor: pointer;
    font-weight: 800;
}
.commit-pagination button:hover:not(:disabled) { color: #8a5510; background: var(--accent-soft); border-color: #efcf96; }
.commit-pagination button:disabled { opacity: .4; cursor: default; }
.commit-pagination span { min-width: 84px; color: var(--muted); text-align: center; font-size: 11px; font-weight: 700; }
.detail-table-wrap { background: #fff; border: 1px solid var(--line); border-radius: 13px; }
.functional-version-table { min-width: 0; }
.functional-version-table th:first-child { width: 70%; }

.module-dialog {
    width: min(740px, calc(100vw - 32px));
    max-height: min(780px, calc(100vh - 32px));
    padding: 0;
    overflow: hidden;
    color: var(--ink);
    background: var(--surface);
    border: 0;
    border-radius: 17px;
    box-shadow: 0 28px 90px rgba(39, 49, 61, 0.28);
}
.module-dialog::backdrop { background: rgba(39, 49, 61, 0.54); backdrop-filter: blur(2px); }
.dialog-shell { max-height: min(780px, calc(100vh - 32px)); display: flex; flex-direction: column; }
.dialog-header {
    padding: 22px 24px 17px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    background: #fff;
    border-bottom: 1px solid var(--line);
}
.dialog-header .area-pill { margin-top: 0; }
.dialog-header h2 { margin: 8px 0 2px; font: 800 23px/1.3 ui-monospace, SFMono-Regular, Consolas, monospace; }
.dialog-close {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    color: var(--ink);
    background: var(--surface-soft);
    border: 1px solid var(--line);
    border-radius: 9px;
    cursor: pointer;
    font-size: 22px;
}
.dialog-body { padding: 20px 24px 25px; overflow: auto; }
.dialog-status { margin: 0; color: var(--muted); }
.dialog-summary { margin: 0 0 20px; color: var(--muted); font-size: 15px; line-height: 1.55; }
.dialog-body section + section { margin-top: 22px; padding-top: 19px; border-top: 1px solid var(--line); }
.dialog-body h3 { margin: 0 0 12px; font-size: 15px; }
.dialog-section-help { margin: -6px 0 9px; color: var(--muted); font-size: 10px; }
.dialog-footer { padding: 14px 24px; display: flex; justify-content: flex-end; gap: 9px; background: #fff; border-top: 1px solid var(--line); }

.settings-heading { margin-bottom: 20px; display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.settings-heading h1 { margin: 0; font-size: clamp(28px, 4vw, 40px); }
.settings-heading p { max-width: 720px; margin-bottom: 0; color: var(--muted); line-height: 1.55; }
.settings-heading-actions { display: flex; align-items: center; gap: 9px; }
.connection-chip { padding: 7px 10px; display: inline-flex; border-radius: 999px; font-size: 11px; font-weight: 800; white-space: nowrap; }
.tone-success { color: var(--success); background: #eef6f1; }
.tone-muted { color: var(--muted); background: #efebea; }
.settings-grid { margin-bottom: 18px; display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 16px; }
.settings-card { padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: 15px; box-shadow: 0 8px 28px rgba(39, 49, 61, .05); }
.settings-card h2 { margin: 0 0 18px; font-size: 20px; }
.form-field { margin-bottom: 16px; display: grid; gap: 6px; }
.form-field > span { font-size: 12px; font-weight: 800; }
.form-field input, .form-field select { width: 100%; min-height: 42px; padding: 9px 11px; color: var(--ink); background: #fcfbfa; border: 1px solid var(--line); border-radius: 9px; }
.form-field small { color: var(--muted); line-height: 1.45; }
.form-field code { color: var(--brand-dark); }
.security-warning { padding: 10px 12px; color: var(--danger); background: var(--danger-soft); border-radius: 9px; font-weight: 700; }
.connection-data { margin: 0; }
.connection-data > div { padding: 10px 0; display: flex; justify-content: space-between; gap: 18px; border-bottom: 1px solid var(--line); }
.connection-data dt { color: var(--muted); }
.connection-data dd { margin: 0; overflow-wrap: anywhere; text-align: right; font-weight: 700; }
.connection-help { margin: 15px 0 0; color: var(--muted); font-size: 11px; line-height: 1.45; }
.server-credential { margin-bottom: 16px; padding: 13px 14px; display: grid; gap: 4px; color: var(--success); background: #eef6f1; border-radius: 9px; }
.server-credential span { color: var(--muted); font-size: 12px; }
.repository-settings { padding: 0; overflow: hidden; }
.repository-settings-heading { padding: 20px 22px; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.repository-settings-heading h2 { margin-bottom: 0; }
.repository-search input { width: min(280px, 100%); min-height: 40px; padding: 8px 11px; border: 1px solid var(--line); border-radius: 9px; }
.repository-list { margin: 0; padding: 0; border: 0; }
.repository-list-header, .github-repository-row {
    display: grid;
    grid-template-columns: 42px 42px minmax(190px, 1.3fr) minmax(180px, 1fr) minmax(170px, .8fr);
    gap: 12px;
    align-items: center;
}
.repository-list-header { padding: 9px 18px; color: var(--muted); background: var(--surface-soft); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.github-repository-row { padding: 13px 18px; border-top: 1px solid var(--line); }
.github-repository-row:has(.repository-check input[type="checkbox"]:not(:checked)) { opacity: .62; }
.repository-check { display: grid; place-items: center; }
.repository-check input, .repository-reference input { width: 18px; height: 18px; accent-color: var(--accent); }
.repository-reference { display: grid; place-items: center; }
.repository-identity strong, .repository-identity small { display: block; overflow-wrap: anywhere; }
.repository-identity small { margin-top: 3px; color: var(--muted); }
.repository-tags { margin-top: 7px; display: flex; flex-wrap: wrap; gap: 5px; }
.repository-tags span { padding: 3px 6px; color: var(--muted); background: var(--surface-soft); border-radius: 5px; font-size: 9px; font-weight: 800; }
.form-field.compact { margin: 0; }
.form-field.compact > span { display: none; }
.settings-savebar { padding: 14px 18px; position: sticky; bottom: 0; display: flex; align-items: center; justify-content: flex-end; gap: 14px; background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line); }
.settings-empty { padding: 52px 22px; color: var(--muted); text-align: center; }
.login-shell { min-height: 62vh; display: grid; place-items: center; }
.login-card { width: min(460px, 100%); }
.login-card h1 { margin: 0; }
.login-card > p { color: var(--muted); line-height: 1.55; }

@media (max-width: 1180px) {
    .catalog-toolbar { grid-template-columns: minmax(240px, 1fr) minmax(165px, .5fr) minmax(155px, .42fr) auto; }
    .settings-grid { grid-template-columns: 1fr; }
    .repository-list-header { display: none; }
    .github-repository-row { grid-template-columns: 32px minmax(0, 1fr); align-items: start; padding: 17px; }
    .repository-reference { grid-column: 2; }
    .repository-identity { grid-column: 1 / -1; }
    .github-repository-row .form-field { grid-column: 1 / -1; }
    .form-field.compact > span { display: block; }
}

@media (max-width: 720px) {
    .page-shell { padding-top: 22px; }
    .topbar { padding-inline: 16px; }
    .brand-logo-shell { height: 48px; padding: 0; }
    .brand-logo { height: 39px; }
    .brand-copy { display: none; }
    .catalog-heading, .detail-heading, .settings-heading, .repository-settings-heading, .settings-savebar {
        align-items: stretch;
        flex-direction: column;
    }
    .catalog-heading-actions { align-items: stretch; justify-content: space-between; }
    .catalog-toolbar { grid-template-columns: 1fr; }
    .technical-context { grid-template-columns: 1fr; }
    .grid-navigation { padding-left: 14px; }
    .grid-navigation > span { display: none; }
    .grid-navigation-actions { width: 100%; justify-content: space-between; }
    .table-wrap { max-height: calc(100vh - 225px); min-height: 300px; }
    .client-picker-panel { left: 0; right: auto; }
    .sticky-col { position: static !important; box-shadow: none !important; }
    .detail-heading { padding: 21px; }
    .module-dialog { width: calc(100vw - 18px); max-height: calc(100vh - 18px); }
    .dialog-shell { max-height: calc(100vh - 18px); }
    .dialog-header, .dialog-body, .dialog-footer { padding-inline: 17px; }
    .settings-heading-actions { justify-content: space-between; }
    .settings-card { padding: 17px; }
    .repository-settings { padding: 0; }
    .repository-search input, .settings-savebar .button { width: 100%; }
}
