:root {
    color-scheme: dark;
    --activity-width: 48px;
    --sidebar-width: 335px;
    --header-height: 35px;
    --background-color: #181818;
    --panel-color: #181818;
    --editor-color: #1e1e1e;
    --raised-color: #202020;
    --hover-color: #242424;
    --selected-color: #2a2d2e;
    --border-color: #2b2b2b;
    --font-color: #cccccc;
    --muted-color: #969696;
    --accent-color: #0078d4;
    --focus-color: #75beff;
    --danger-color: #f48771;
}

* {
    box-sizing: border-box;
}

[hidden] {
    display: none !important;
}

html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    overflow: hidden;
}

body {
    display: grid;
    grid-template-areas: "activity sidebar workspace";
    grid-template-columns: var(--activity-width) var(--sidebar-width) minmax(0, 1fr);
    min-width: 0;
    min-height: 100vh;
    min-height: 100dvh;
    background: var(--background-color);
    color: var(--font-color);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 13px;
}

button,
a {
    font: inherit;
}

button {
    color: inherit;
}

button:focus-visible,
a:focus-visible {
    outline: 1px solid var(--focus-color);
    outline-offset: -1px;
}

.activity-bar {
    grid-area: activity;
    position: relative;
    z-index: 30;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-width: 0;
    background: #181818;
    border-right: 1px solid var(--border-color);
}

.activity-button {
    position: relative;
    display: grid;
    width: 100%;
    height: 48px;
    padding: 0;
    place-items: center;
    border: 0;
    background: transparent;
    color: #858585;
    cursor: pointer;
}

.activity-button:hover,
.activity-button.selected {
    color: #f1f1f1;
}

.activity-button.selected::before {
    position: absolute;
    inset: 0 auto 0 0;
    width: 2px;
    background: var(--accent-color);
    content: "";
}

.activity-bar .activity-button .codicon {
    font-size: 24px;
}

.activity-badge {
    position: absolute;
    right: 5px;
    bottom: 5px;
    display: grid;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    place-items: center;
    border-radius: 9px;
    background: #0078d4;
    color: #ffffff;
    font-size: 11px;
    line-height: 18px;
}

.sidebar {
    grid-area: sidebar;
    display: block;
    min-width: 0;
    overflow: hidden;
    background: var(--panel-color);
    border-right: 1px solid var(--border-color);
}

.sidebar-view {
    display: grid;
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    grid-template-rows: var(--header-height) minmax(0, 1fr);
}

body.sidebar-collapsed {
    grid-template-columns: var(--activity-width) 0 minmax(0, 1fr);
}

body.sidebar-collapsed .sidebar {
    visibility: hidden;
}

.sidebar-header {
    position: relative;
    display: flex;
    min-width: 0;
    height: var(--header-height);
    padding: 0 8px 0 20px;
    align-items: center;
    justify-content: space-between;
    color: #bbbbbb;
    font-size: 11px;
    letter-spacing: 0.03em;
    user-select: none;
}

.sidebar-header-actions {
    position: relative;
    display: flex;
    align-items: center;
}

.sidebar-view-actions {
    display: none;
    width: 28px;
    height: 28px;
    padding: 0;
    place-items: center;
    border: 0;
    background: transparent;
    color: #858585;
    cursor: pointer;
}

body.source-control-active .sidebar-view-actions {
    display: grid;
}

.sidebar-view-actions:hover,
.sidebar-view-actions[aria-expanded="true"] {
    background: var(--hover-color);
    color: #cccccc;
}

.sidebar-view-actions .codicon {
    font-size: 16px;
}

.sidebar-view-menu {
    position: absolute;
    z-index: 12;
    top: 30px;
    right: 0;
    display: flex;
    width: 150px;
    padding: 4px;
    flex-direction: column;
    border: 1px solid #454545;
    background: #252526;
    box-shadow: 0 6px 18px rgb(0 0 0 / 36%);
}

.sidebar-view-menu button {
    height: 26px;
    padding: 0 8px;
    border: 0;
    background: transparent;
    color: #cccccc;
    text-align: left;
    cursor: pointer;
}

.sidebar-view-menu button:hover,
.sidebar-view-menu button:focus-visible {
    outline: 0;
    background: #04395e;
    color: #ffffff;
}

.sidebar-close {
    display: none;
    width: 32px;
    height: 32px;
    padding: 0;
    place-items: center;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: var(--muted-color);
    cursor: pointer;
}

.sidebar-close:hover {
    background: var(--hover-color);
    color: #ffffff;
}

.sidebar-close .codicon {
    font-size: 16px;
}

.search-sidebar-content {
    display: flex;
    min-height: 0;
    flex-direction: column;
    overflow-y: auto;
}

.search-form {
    display: flex;
    padding: 2px 12px 4px;
    flex-direction: column;
}

.search-label {
    margin-bottom: 5px;
    color: #bbbbbb;
    font-size: 11px;
    line-height: 16px;
}

.search-input-shell {
    display: grid;
    height: 28px;
    min-width: 0;
    grid-template-columns: 24px minmax(0, 1fr) 24px;
    align-items: center;
    border: 1px solid #3c3c3c;
    border-radius: 2px;
    background: #313131;
    box-shadow: inset 0 0 0 1px rgb(0 0 0 / 8%);
}

.search-input-shell:focus-within {
    border-color: var(--focus-color);
    box-shadow: inset 0 0 0 1px var(--focus-color);
}

.search-input-shell > .codicon {
    color: #a7a7a7;
    font-size: 15px;
    text-align: center;
}

.search-input-shell input {
    width: 100%;
    min-width: 0;
    height: 100%;
    padding: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #f1f1f1;
    font: inherit;
}

.search-input-shell input::placeholder {
    color: #a7a7a7;
    opacity: 1;
}

.search-input-shell input::-webkit-search-cancel-button {
    display: none;
}

.search-clear {
    display: grid;
    width: 24px;
    height: 24px;
    padding: 0;
    place-items: center;
    border: 0;
    border-radius: 2px;
    background: transparent;
    color: #bdbdbd;
    cursor: pointer;
}

.search-clear:hover {
    background: #424242;
    color: #ffffff;
}

.search-help {
    margin-top: 6px;
    color: #9f9f9f;
    font-size: 11px;
    line-height: 1.4;
}

.search-status {
    min-height: 21px;
    padding: 0 12px 5px;
    color: #a7a7a7;
    font-size: 11px;
    line-height: 16px;
}

.search-status:empty {
    min-height: 0;
    padding-bottom: 0;
}

.search-empty {
    display: flex;
    padding: 4px 12px 20px;
    flex-direction: column;
    gap: 22px;
}

.search-section {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.search-section-title,
.search-results-heading {
    color: #bbbbbb;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.search-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.search-suggestions button,
.search-message button {
    min-height: 26px;
    padding: 3px 8px;
    border: 1px solid #454545;
    border-radius: 2px;
    background: #292929;
    color: #d6d6d6;
    cursor: pointer;
}

.search-suggestions button:hover,
.search-message button:hover {
    border-color: #626262;
    background: #333333;
    color: #ffffff;
}

.search-actions {
    display: flex;
    flex-direction: column;
}

.search-action {
    display: grid;
    min-width: 0;
    min-height: 40px;
    padding: 5px 7px;
    grid-template-columns: 24px minmax(0, 1fr);
    align-items: center;
    border: 0;
    border-radius: 2px;
    background: transparent;
    color: #d4d4d4;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}

.search-action:hover,
.search-result-file:hover,
.search-result-match:hover {
    background: var(--hover-color);
    color: #ffffff;
}

.search-action:active,
.search-result-file:active,
.search-result-match:active,
.search-suggestions button:active,
.search-message button:active {
    transform: scale(0.98);
}

.search-action > .codicon {
    color: #a7a7a7;
    font-size: 16px;
}

.search-action-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.search-action-copy strong,
.search-action-copy small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.search-action-copy strong {
    font-size: 12px;
    font-weight: 500;
    line-height: 17px;
}

.search-action-copy small {
    color: #969696;
    font-size: 11px;
    line-height: 15px;
}

.search-loading {
    display: flex;
    padding: 10px 14px;
    flex-direction: column;
    gap: 8px;
}

.search-skeleton {
    position: relative;
    display: block;
    width: 72%;
    height: 28px;
    overflow: hidden;
    border-radius: 2px;
    background: #282828;
}

.search-skeleton::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgb(255 255 255 / 5%), transparent);
    content: "";
    transform: translateX(-100%);
    animation: loading-shimmer 1.4s ease-in-out infinite;
}

.search-skeleton-wide {
    width: 92%;
}

.search-skeleton-short {
    width: 58%;
}

.search-results {
    min-width: 0;
    padding-bottom: 20px;
}

.search-result-section {
    padding: 0 7px 10px;
}

.search-results-heading {
    padding: 5px 5px 7px;
}

.search-file-results-heading {
    padding: 7px 12px 5px;
}

.search-result-group {
    display: flex;
    min-width: 0;
    margin-bottom: 4px;
    flex-direction: column;
}

.search-result-file,
.search-result-match {
    width: 100%;
    min-width: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #d4d4d4;
    text-align: left;
    cursor: pointer;
}

.search-result-file {
    display: grid;
    min-height: 25px;
    padding: 1px 11px 1px 8px;
    grid-template-columns: 22px minmax(0, 1fr) auto;
    align-items: center;
    gap: 3px;
    font-weight: 600;
}

.search-result-path {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.search-result-count {
    min-width: 19px;
    padding: 1px 5px;
    border-radius: 8px;
    background: #3a3a3a;
    color: #c4c4c4;
    font-size: 10px;
    line-height: 14px;
    text-align: center;
}

.search-result-match {
    display: grid;
    min-height: 29px;
    padding: 4px 10px 4px 31px;
    grid-template-columns: 27px minmax(0, 1fr);
    align-items: start;
    gap: 3px;
    color: #bdbdbd;
    font-size: 12px;
    line-height: 1.4;
}

.search-result-line {
    color: #818181;
    font-variant-numeric: tabular-nums;
    text-align: right;
}

.search-result-snippet {
    display: -webkit-box;
    overflow: hidden;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.search-result-snippet mark {
    border-radius: 2px;
    background: #613315;
    color: #f2e6d0;
}

.search-result-more {
    padding: 3px 12px 5px 61px;
    color: #8c8c8c;
    font-size: 11px;
}

.search-message {
    display: flex;
    margin: 8px 12px;
    padding: 12px;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    border-left: 2px solid #5b5b5b;
    background: #202020;
    color: #aaaaaa;
    line-height: 1.45;
}

.search-message strong {
    color: #dddddd;
}

.search-message button {
    margin-top: 4px;
}

.search-message-error {
    border-left-color: var(--danger-color);
}

.monaco-editor .search-match-highlight {
    border-radius: 2px;
    background: rgb(230 174 95 / 38%);
    box-shadow: inset 0 0 0 1px rgb(230 174 95 / 45%);
}

.sidebar-content {
    min-width: 0;
    min-height: 0;
    overflow: auto;
    scrollbar-color: #424242 transparent;
    scrollbar-width: thin;
}

.extensions-sidebar-content {
    padding-bottom: 16px;
}

.extensions-search {
    position: sticky;
    z-index: 2;
    top: 0;
    display: flex;
    padding: 5px 11px 7px 19px;
    align-items: center;
    background: var(--panel-color);
}

.extensions-search input {
    width: 100%;
    height: 26px;
    padding: 3px 7px;
    border: 1px solid #3c3c3c;
    border-radius: 2px;
    outline: 0;
    background: #242424;
    color: var(--font-color);
    font-size: 12px;
}

.extensions-search input::placeholder {
    color: #9a9a9a;
}

.extensions-search input:focus {
    border-color: var(--focus-color);
}

.extensions-group-header {
    display: flex;
    height: 26px;
    padding: 0 12px 0 4px;
    align-items: center;
    justify-content: space-between;
    color: #d0d0d0;
    font-size: 11px;
    font-weight: 700;
}

.extensions-group-label {
    display: flex;
    align-items: center;
    gap: 1px;
}

.extensions-group-label .codicon {
    width: 16px;
    color: #b9b9b9;
    font-size: 16px;
}

.extensions-count {
    display: inline-grid;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    place-items: center;
    border-radius: 9px;
    background: #3794c9;
    color: #ffffff;
    font-size: 11px;
    font-weight: 500;
}

.extension-list {
    display: flex;
    flex-direction: column;
}

.extension-list-item {
    display: grid;
    width: 100%;
    min-width: 0;
    min-height: 72px;
    padding: 8px 14px 8px 18px;
    grid-template-columns: 37px minmax(0, 1fr);
    align-items: start;
    gap: 12px;
    border: 0;
    background: transparent;
    color: var(--font-color);
    text-align: left;
    cursor: pointer;
}

.extension-list-item:hover {
    background: var(--hover-color);
}

.extension-list-item.selected {
    background: var(--selected-color);
    box-shadow: inset 0 0 0 1px #007acc;
}

.extension-icon {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    overflow: hidden;
    background: var(--extension-icon-background);
    color: var(--extension-icon-color);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-weight: 700;
    line-height: 1;
    user-select: none;
}

.extension-list-icon {
    width: 37px;
    height: 37px;
    font-size: 13px;
}

.extension-icon.has-image {
    background: transparent;
}

.extension-icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.extension-list-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 2px;
}

.extension-list-name,
.extension-list-description,
.extension-list-publisher {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.extension-list-name {
    color: #e7e7e7;
    font-size: 13px;
    font-weight: 600;
}

.extension-list-description {
    color: #b5b5b5;
    font-size: 12px;
}

.extension-list-publisher {
    display: flex;
    align-items: center;
    color: #949494;
    font-size: 11px;
}

.extension-empty {
    margin: 0;
    padding: 18px 20px;
    color: var(--muted-color);
    line-height: 1.5;
}

.sidebar-view {
    min-width: 0;
    min-height: 0;
}

#file-tree {
    min-width: max-content;
    padding-bottom: 16px;
}

.tree-loading,
.tree-error {
    display: flex;
    width: var(--sidebar-width);
    padding: 10px 20px;
    flex-direction: column;
    gap: 7px;
    color: var(--muted-color);
    line-height: 1.45;
}

.tree-error {
    color: var(--danger-color);
}

.tree-skeleton,
.editor-skeleton span {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 2px;
    background: #282828;
}

.tree-skeleton::after,
.editor-skeleton span::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgb(255 255 255 / 5%), transparent);
    content: "";
    transform: translateX(-100%);
    animation: loading-shimmer 1.4s ease-in-out infinite;
}

.tree-skeleton {
    width: 58%;
    height: 9px;
}

.tree-skeleton-wide {
    width: 78%;
}

.tree-skeleton-short {
    width: 42%;
}

@keyframes loading-shimmer {
    100% {
        transform: translateX(100%);
    }
}

.sidebar-folder {
    display: flex;
    flex-direction: column;
}

.sidebar-folder-content {
    display: flex;
    margin-left: 12px;
    flex-direction: column;
    border-left: 1px solid var(--border-color);
}

.sidebar-file {
    display: flex;
    width: 100%;
    min-width: 0;
    height: 22px;
    padding: 0 12px;
    align-items: center;
    gap: 5px;
    border: 0;
    background: transparent;
    color: var(--font-color);
    line-height: 22px;
    text-align: left;
    white-space: nowrap;
    cursor: pointer;
}

.sidebar-folder-content > .sidebar-file,
.sidebar-folder-content > .sidebar-folder > .sidebar-file {
    padding-left: 9px;
}

.sidebar-file:hover {
    background: var(--hover-color);
    color: #ffffff;
}

.sidebar-file.selected {
    background: var(--selected-color);
    color: #ffffff;
}

.sidebar-file:focus-visible {
    position: relative;
    z-index: 1;
}

.sidebar-file-name,
.sidebar-folder-name {
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-folder-header > .codicon {
    width: 16px;
    flex: 0 0 16px;
    font-size: 16px;
}

.file-icon {
    display: inline-flex;
    width: 20px;
    flex: 0 0 20px;
    align-items: center;
    justify-content: center;
}

.source-control-view {
    --scm-changes-height: 52%;
    display: grid;
    grid-template-rows: minmax(160px, var(--scm-changes-height)) 4px minmax(0, 1fr);
    overflow: hidden;
}

.scm-loading {
    display: flex;
    padding: 12px 20px;
    flex-direction: column;
    gap: 7px;
}

.scm-changes-pane,
.scm-graph-pane {
    min-width: 0;
    min-height: 0;
    overflow: auto;
    scrollbar-color: #424242 transparent;
    scrollbar-width: thin;
}

.scm-graph-header {
    display: flex;
    min-width: 0;
    height: 22px;
    padding: 0 8px 0 6px;
    align-items: center;
    justify-content: space-between;
    color: #bbbbbb;
    font-size: 11px;
    user-select: none;
}

.scm-graph-header strong {
    font-weight: 600;
}

.scm-repository {
    min-width: 0;
}

.scm-repository-header {
    display: grid;
    width: 100%;
    height: 26px;
    padding: 0 8px 0 5px;
    grid-template-columns: 16px minmax(0, 1fr);
    align-items: center;
    border: 0;
    background: transparent;
    color: #bbbbbb;
    font-size: 11px;
    text-align: left;
    cursor: pointer;
}

.scm-repository-header:hover {
    background: var(--hover-color);
}

.scm-repository-header strong {
    font-weight: 600;
}

.scm-repository-header .codicon {
    font-size: 16px;
}

.scm-repository-body {
    min-width: 0;
}

.scm-commit-composer {
    min-width: 0;
    padding: 0 10px 6px 20px;
}

.scm-commit-input-wrap {
    position: relative;
    display: flex;
    min-width: 0;
    height: 26px;
    align-items: center;
    border: 1px solid #3c3c3c;
    border-radius: 6px;
    background: #181818;
}

.scm-commit-input-wrap:focus-within {
    border-color: #007fd4;
}

.scm-commit-input {
    width: 100%;
    min-width: 0;
    height: 100%;
    padding: 4px 30px 4px 8px;
    border: 0;
    outline: 0;
    background: transparent;
    color: #cccccc;
}

.scm-commit-input::placeholder {
    color: #858585;
    opacity: 1;
}

.scm-commit-input-wrap > .codicon {
    position: absolute;
    right: 7px;
    color: #858585;
    font-size: 15px;
    pointer-events: none;
}

.scm-commit-actions {
    position: relative;
    display: grid;
    height: 26px;
    margin-top: 8px;
    grid-template-columns: minmax(0, 1fr) 26px;
}

.scm-commit-primary,
.scm-commit-menu-toggle {
    display: flex;
    min-width: 0;
    padding: 0;
    align-items: center;
    justify-content: center;
    border: 0;
    background: #2e8bac;
    color: #ffffff;
    cursor: pointer;
}

.scm-commit-primary {
    gap: 6px;
    border-radius: 6px 0 0 6px;
    font-weight: 600;
}

.scm-commit-menu-toggle {
    border-left: 1px solid rgb(255 255 255 / 48%);
    border-radius: 0 6px 6px 0;
}

.scm-commit-primary:hover,
.scm-commit-menu-toggle:hover {
    background: #3796b9;
}

.scm-commit-primary .codicon,
.scm-commit-menu-toggle .codicon {
    font-size: 14px;
}

.scm-commit-options {
    position: absolute;
    z-index: 8;
    top: 32px;
    right: 0;
    display: flex;
    width: 148px;
    padding: 4px;
    flex-direction: column;
    border: 1px solid #454545;
    background: #252526;
    box-shadow: 0 6px 18px rgb(0 0 0 / 36%);
}

.scm-commit-option {
    height: 26px;
    padding: 0 8px;
    border: 0;
    background: transparent;
    color: #cccccc;
    text-align: left;
    cursor: pointer;
}

.scm-commit-option:hover,
.scm-commit-option:focus-visible {
    outline: 0;
    background: #04395e;
    color: #ffffff;
}

.scm-group {
    min-width: 0;
}

.scm-group-header {
    display: grid;
    width: 100%;
    height: 22px;
    padding: 0 10px;
    grid-template-columns: 16px minmax(0, 1fr) auto;
    align-items: center;
    border: 0;
    background: transparent;
    color: #cccccc;
    text-align: left;
    cursor: pointer;
}

.scm-group-header:hover {
    background: var(--hover-color);
}

.scm-group-header .codicon {
    font-size: 16px;
}

.scm-group-title {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.scm-count {
    display: grid;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    place-items: center;
    border-radius: 9px;
    background: #2e89a8;
    color: #ffffff;
    font-size: 11px;
}

.scm-file-list {
    min-width: 0;
}

.scm-file-row {
    display: grid;
    width: 100%;
    height: 22px;
    padding: 0 10px 0 20px;
    grid-template-columns: 16px auto minmax(0, 1fr) 18px;
    align-items: center;
    gap: 5px;
    border: 0;
    background: transparent;
    color: #cccccc;
    text-align: left;
    cursor: pointer;
}

.scm-file-row:hover {
    background: var(--hover-color);
    color: #ffffff;
}

.scm-file-row.selected {
    background: var(--selected-color);
    color: #ffffff;
}

.scm-change-icon {
    color: #4fa6c8;
    font-size: 16px;
}

.scm-file-name,
.scm-file-directory {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.scm-file-row.deleted .scm-file-name,
.scm-file-row.deleted .scm-file-directory {
    text-decoration: line-through;
}

.scm-file-directory {
    color: #969696;
    font-size: 11px;
}

.scm-status {
    justify-self: end;
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
    font-size: 11px;
}

.status-a,
.status-u,
.status-m,
.status-d,
.status-r {
    color: #a6a6a6;
}

.scm-resizer {
    position: relative;
    z-index: 2;
    min-width: 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid transparent;
    cursor: row-resize;
    touch-action: none;
}

.scm-resizer:hover,
.scm-resizer.dragging,
.scm-resizer:focus-visible {
    border-top-color: var(--accent-color);
}

.scm-graph-pane {
    display: grid;
    grid-template-rows: 22px minmax(0, 1fr);
    overflow: hidden;
}

.scm-detail-branch,
.scm-branch-label {
    display: inline-flex;
    min-width: 0;
    align-items: center;
    gap: 3px;
    color: #9cdcfe;
    font-size: 11px;
}

.scm-detail-branch .codicon,
.scm-branch-label .codicon {
    font-size: 13px;
}

.scm-graph-title,
.scm-graph-toolbar {
    display: flex;
    min-width: 0;
    align-items: center;
}

.scm-graph-title {
    gap: 1px;
}

.scm-graph-title > .codicon {
    font-size: 16px;
}

.scm-graph-toolbar {
    flex: 0 0 auto;
}

.scm-graph-action {
    display: inline-flex;
    min-width: 24px;
    height: 22px;
    padding: 0 3px;
    align-items: center;
    justify-content: center;
    gap: 2px;
    border: 0;
    background: transparent;
    color: #858585;
    cursor: pointer;
}

.scm-graph-action:hover:not(:disabled),
.scm-graph-action.active {
    color: #969696;
}

.scm-graph-action:hover:not(:disabled) {
    background: var(--hover-color);
}

.scm-graph-action:disabled {
    cursor: default;
    opacity: 0.72;
}

.scm-graph-action .codicon {
    font-size: 14px;
}

.scm-auto-action {
    padding: 0 4px;
    font-size: 11px;
}

.scm-graph-list {
    position: relative;
    min-width: 0;
    min-height: 0;
    overflow: auto;
    scrollbar-color: #424242 transparent;
    scrollbar-width: thin;
}

.scm-graph-svg {
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    overflow: visible;
    pointer-events: none;
}

.scm-graph-edge {
    fill: none;
    stroke-width: 1.25;
    vector-effect: non-scaling-stroke;
}

.scm-graph-node {
    stroke-width: 1.25;
    vector-effect: non-scaling-stroke;
}

.scm-graph-node.selected,
.scm-graph-node.hovered {
    r: 5.5px;
    fill: #3794ff;
    stroke: #75beff;
    stroke-width: 2.5;
}

.scm-graph-rows {
    position: relative;
    z-index: 1;
    width: 100%;
    min-width: 0;
}

.scm-commit-row {
    display: flex;
    width: 100%;
    min-width: 0;
    height: 22px;
    padding: 0 5px 0 var(--scm-graph-indent, 44px);
    align-items: center;
    gap: 5px;
    border: 0;
    background: transparent;
    color: #cccccc;
    text-align: left;
    cursor: pointer;
}

.scm-commit-row:hover {
    background: var(--hover-color);
    color: #ffffff;
}

.scm-commit-row.selected {
    background: #37373d;
    box-shadow: inset 0 0 0 1px #007fd4;
    color: #ffffff;
}

.scm-commit-message {
    min-width: 0;
    flex: 1 1 auto;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.scm-commit-author {
    min-width: 0;
    max-width: 82px;
    flex: 0 20 auto;
    overflow: hidden;
    color: #858585;
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.scm-branch-label {
    flex: 0 0 auto;
    padding: 1px 5px;
    border: 0;
    border-radius: 9px;
    background: #3794ff;
    color: #181818;
}

.scm-commit-row.selected .scm-commit-message {
    font-weight: 600;
}

.scm-commit-open {
    width: 18px;
    flex: 0 0 18px;
    color: #cccccc;
    font-size: 14px;
    opacity: 0;
}

.scm-commit-row:hover .scm-commit-open,
.scm-commit-row.selected .scm-commit-open,
.scm-commit-row:focus-visible .scm-commit-open {
    opacity: 1;
}

.scm-commit-tooltip {
    position: fixed;
    z-index: 50;
    width: min(324px, calc(100vw - 16px));
    padding: 10px 12px;
    border: 1px solid #454545;
    border-radius: 4px;
    background: #252526;
    box-shadow: 0 8px 24px rgb(0 0 0 / 42%);
    color: #cccccc;
    line-height: 1.45;
    pointer-events: none;
}

.scm-tooltip-author,
.scm-tooltip-stats,
.scm-tooltip-hash {
    display: flex;
    align-items: center;
    gap: 7px;
}

.scm-tooltip-author {
    color: #9cdcfe;
}

.scm-tooltip-author strong {
    font-weight: 600;
}

.scm-tooltip-author span {
    color: #a5a5a5;
}

.scm-tooltip-message {
    margin-top: 8px;
    color: #f1f1f1;
}

.scm-tooltip-stats {
    margin-top: 9px;
    padding-top: 8px;
    flex-wrap: wrap;
    border-top: 1px solid #3c3c3c;
    color: #a5a5a5;
    font-size: 12px;
}

.insertions {
    color: #73c991;
}

.deletions {
    color: #f48771;
}

.scm-tooltip-hash {
    margin-top: 7px;
    color: #4fc1ff;
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
    font-size: 12px;
}

.workspace {
    grid-area: workspace;
    display: grid;
    grid-template-rows: var(--header-height) minmax(0, 1fr);
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    background: var(--editor-color);
}

.tab-bar {
    display: flex;
    min-width: 0;
    min-height: var(--header-height);
    align-items: stretch;
    overflow-x: auto;
    overflow-y: hidden;
    background: var(--background-color);
    border-bottom: 1px solid var(--border-color);
    scrollbar-width: none;
}

.tab-bar::-webkit-scrollbar {
    display: none;
}

.tab {
    position: relative;
    display: flex;
    min-width: 0;
    max-width: 220px;
    flex: 0 0 auto;
    align-items: stretch;
    background: #181818;
    border-right: 1px solid var(--border-color);
    color: #a5a5a5;
}

.tab:hover,
.tab.active {
    background: var(--editor-color);
    color: #ffffff;
}

.tab.active::before {
    position: absolute;
    z-index: 1;
    inset: 0 0 auto;
    height: 1px;
    background: var(--accent-color);
    content: "";
}

.tab-select {
    display: flex;
    min-width: 0;
    padding: 0 2px 0 9px;
    flex: 1 1 auto;
    align-items: center;
    gap: 6px;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
}

.tab-label {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tab-close {
    display: grid;
    width: 28px;
    min-width: 28px;
    padding: 0;
    place-items: center;
    align-self: stretch;
    border: 0;
    background: transparent;
    color: #a5a5a5;
    cursor: pointer;
    opacity: 0;
}

.tab.active .tab-close,
.tab:hover .tab-close,
.tab-close:focus-visible {
    opacity: 1;
}

.tab-close:hover {
    color: #ffffff;
}

.tab-close .codicon {
    padding: 2px;
    border-radius: 3px;
    font-size: 14px;
}

.tab-close:hover .codicon {
    background: #313232;
}

.editor-stage {
    position: relative;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    background: var(--editor-color);
}

.editor {
    position: absolute;
    inset: 0;
}

.scm-detail-viewer {
    position: absolute;
    inset: 0;
    min-width: 0;
    min-height: 0;
    overflow: auto;
    background: var(--editor-color);
    scrollbar-color: #424242 transparent;
    scrollbar-width: thin;
}

.scm-detail-content {
    width: 100%;
    min-height: 100%;
    padding: 24px 28px 48px;
    color: #cccccc;
    font-size: 13px;
    line-height: 1.45;
}

.scm-detail-header {
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.scm-detail-identity {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 10px;
}

.scm-detail-hash {
    color: #4fc1ff;
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
    font-size: 12px;
}

.scm-detail-header h1 {
    margin: 10px 0 0;
    color: #f1f1f1;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.3;
}

.scm-detail-metadata {
    display: grid;
    margin: 16px 0 0;
    grid-template-columns: max-content minmax(0, 1fr) max-content minmax(0, 1fr);
    gap: 6px 14px;
}

.scm-detail-metadata dt {
    color: #858585;
}

.scm-detail-metadata dd {
    min-width: 0;
    margin: 0;
    color: #d4d4d4;
}

.scm-detail-summary {
    max-width: 720px;
    margin: 20px 0 0;
    color: #cccccc;
}

.scm-detail-stats {
    display: flex;
    margin-top: 12px;
    flex-wrap: wrap;
    gap: 8px 14px;
    color: #a5a5a5;
    font-size: 12px;
}

.scm-detail-files {
    margin-top: 28px;
}

.scm-detail-files h2 {
    margin: 0 0 8px;
    color: #d4d4d4;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.scm-detail-file {
    display: grid;
    width: 100%;
    min-height: 30px;
    padding: 4px 8px;
    grid-template-columns: 18px minmax(0, 1fr) 18px;
    align-items: center;
    gap: 8px;
    border: 0;
    border-top: 1px solid var(--border-color);
    background: transparent;
    color: #cccccc;
    text-align: left;
    cursor: pointer;
}

.scm-detail-file:last-child {
    border-bottom: 1px solid var(--border-color);
}

.scm-detail-file:hover {
    background: var(--hover-color);
    color: #ffffff;
}

.scm-detail-file > span:nth-child(2) {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.scm-detail-file > .codicon {
    color: #858585;
    font-size: 14px;
}

.tab-icon.codicon {
    color: #75beff;
    font-size: 16px;
}

.editor-state {
    position: absolute;
    inset: 0;
    display: flex;
    padding: clamp(28px, 7vw, 88px);
    flex-direction: column;
    gap: 28px;
    background: var(--editor-color);
    color: var(--muted-color);
}

.state-copy {
    display: flex;
    max-width: 540px;
    flex-direction: column;
    gap: 8px;
    line-height: 1.5;
}

.state-copy strong {
    color: var(--font-color);
    font-size: 15px;
    font-weight: 500;
}

.editor-state[data-type="error"] .state-copy strong {
    color: var(--danger-color);
}

.editor-skeleton {
    display: flex;
    width: min(680px, 75%);
    flex-direction: column;
    gap: 12px;
}

.editor-skeleton span {
    width: 92%;
    height: 11px;
}

.editor-skeleton span:nth-child(2) {
    width: 72%;
}

.editor-skeleton span:nth-child(3) {
    width: 84%;
}

.editor-skeleton span:nth-child(4) {
    width: 48%;
}

.extension-viewer {
    position: absolute;
    inset: 0;
    container-name: extension-content;
    container-type: inline-size;
    overflow: auto;
    background: var(--editor-color);
    color: #cccccc;
    scrollbar-color: #424242 transparent;
    scrollbar-width: thin;
}

.extension-hero {
    display: grid;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 50px 14px;
    grid-template-columns: 128px minmax(0, 1fr);
    align-items: start;
    gap: 28px;
}

.extension-hero-icon {
    width: 128px;
    height: 128px;
    font-size: 38px;
}

.extension-hero-copy {
    display: flex;
    min-width: 0;
    padding-top: 1px;
    flex-direction: column;
    align-items: flex-start;
}

.extension-hero-copy h1 {
    margin: 0 0 5px;
    color: #e7e7e7;
    font-size: 28px;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.extension-publisher-line {
    display: flex;
    min-height: 22px;
    margin-bottom: 4px;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    color: #a8a8a8;
}

.extension-publisher-line > :first-child {
    color: #4daafc;
    text-decoration: none;
}

.extension-publisher-line > :first-child:hover {
    text-decoration: underline;
}

.extension-publisher-separator {
    color: #5b5b5b;
}

.extension-hero-copy > p {
    max-width: 720px;
    margin: 0 0 12px;
    color: #cccccc;
    font-size: 14px;
    line-height: 1.55;
}

.extension-detail-tabs {
    position: sticky;
    z-index: 3;
    top: 0;
    display: flex;
    max-width: 1400px;
    min-height: 36px;
    margin: 0 auto;
    padding: 0 50px;
    align-items: stretch;
    border-bottom: 1px solid #303030;
    background: rgb(30 30 30 / 97%);
}

.extension-detail-tab {
    position: relative;
    display: flex;
    padding: 0 13px;
    align-items: center;
    color: #a5a5a5;
    font-size: 12px;
}

.extension-detail-tab.selected {
    color: #e7e7e7;
}

.extension-detail-tab.selected::after {
    position: absolute;
    inset: auto 10px 0;
    height: 1px;
    background: #3794c9;
    content: "";
}

.extension-detail-layout {
    display: grid;
    max-width: 1400px;
    margin: 0 auto;
    padding: 24px 50px 64px;
    grid-template-columns: minmax(0, 1fr) minmax(230px, 274px);
    align-items: start;
    gap: clamp(34px, 5vw, 72px);
}

.extension-readme {
    min-width: 0;
    color: #cccccc;
    font-size: 14px;
    line-height: 1.65;
}

.extension-readme h2 {
    margin: 0 0 18px;
    padding-bottom: 9px;
    border-bottom: 1px solid #454545;
    color: #dcdcdc;
    font-size: 26px;
    font-weight: 500;
    letter-spacing: -0.01em;
    line-height: 1.25;
}

.extension-readme p {
    max-width: 78ch;
    margin: 0 0 20px;
}

.extension-documents-section {
    margin-top: 28px;
}

.extension-documents {
    max-width: 820px;
    padding: 0;
    margin: 22px 0 0;
    list-style: none;
    border-top: 1px solid #353535;
}

.extension-documents li {
    padding: 17px 0 18px;
    border-bottom: 1px solid #353535;
}

.extension-documents a,
.extension-metadata a {
    color: #4daafc;
    text-decoration: none;
}

.extension-documents a {
    font-size: 15px;
    font-weight: 600;
}

.extension-documents a:hover,
.extension-metadata a:hover {
    text-decoration: underline;
}

.extension-documents p {
    margin: 4px 0 5px;
    color: #b6b6b6;
}

.extension-documents code {
    color: #9d9d9d;
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
    font-size: 12px;
}

.extension-documents-empty {
    color: #969696;
}

.extension-metadata {
    display: flex;
    min-width: 0;
    flex-direction: column;
    color: #aaaaaa;
}

.extension-metadata section {
    padding: 0 0 22px;
    margin-bottom: 20px;
    border-bottom: 1px solid #353535;
}

.extension-metadata h2 {
    margin: 0 0 12px;
    color: #cfcfcf;
    font-size: 17px;
    font-weight: 400;
}

.extension-metadata dl {
    margin: 0;
}

.extension-metadata dl > div {
    display: grid;
    padding: 5px 7px;
    grid-template-columns: minmax(82px, 1fr) minmax(0, 1fr);
    gap: 10px;
}

.extension-metadata dl > div:nth-child(odd) {
    background: #232323;
}

.extension-metadata dt,
.extension-metadata dd {
    min-width: 0;
    margin: 0;
    overflow-wrap: anywhere;
}

.extension-metadata dd {
    color: #c7c7c7;
}

.extension-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.extension-categories span {
    padding: 3px 7px;
    border: 1px solid #4a4a4a;
    border-radius: 2px;
    color: #c8c8c8;
    font-size: 12px;
}

.extension-metadata a {
    display: flex;
    width: fit-content;
    margin: 7px 0;
    align-items: center;
    gap: 7px;
}

.media-viewer {
    position: absolute;
    inset: 0;
    display: grid;
    min-width: 0;
    min-height: 0;
    padding: clamp(24px, 6vw, 72px);
    grid-template-columns: minmax(0, 1fr) minmax(220px, 320px);
    align-items: center;
    gap: clamp(28px, 6vw, 80px);
    overflow: auto;
    background:
        linear-gradient(45deg, rgb(255 255 255 / 1.5%) 25%, transparent 25%) 0 0 / 20px 20px,
        linear-gradient(-45deg, rgb(255 255 255 / 1.5%) 25%, transparent 25%) 0 10px / 20px 20px,
        var(--editor-color);
}

.media-viewer.pdf-mode {
    display: block;
    padding: 0;
    overflow: hidden;
}

.media-viewer.pdf-mode .media-preview {
    width: 100%;
    height: 100%;
    min-height: 0;
}

.media-viewer.pdf-mode .media-details {
    display: none;
}

.media-preview {
    display: grid;
    min-width: 0;
    min-height: 220px;
    place-items: center;
}

.media-preview img {
    display: block;
    max-width: 100%;
    max-height: min(68vh, 720px);
    object-fit: contain;
    image-rendering: auto;
    filter: drop-shadow(0 16px 36px rgb(0 0 0 / 40%));
}

.pdf-viewer {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    border: 0;
    background: #ffffff;
}

.binary-icon {
    color: #7a7a7a;
    font-size: clamp(72px, 12vw, 144px);
}

.media-details {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    color: var(--muted-color);
    line-height: 1.45;
}

.media-details strong {
    max-width: 100%;
    overflow-wrap: anywhere;
    color: #ffffff;
    font-size: 17px;
    font-weight: 500;
}

.media-download {
    display: inline-flex;
    min-height: 32px;
    margin-top: 6px;
    padding: 6px 12px;
    align-items: center;
    border: 1px solid #2b88d8;
    background: #0e639c;
    color: #ffffff;
    text-decoration: none;
}

.media-download:hover {
    background: #1177bb;
}

.sidebar-scrim {
    display: none;
}

.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;
}

@font-face {
    font-family: "Seti";
    src:
        url("https://cdn.jsdelivr.net/npm/seti-ui@1.11.0/styles/_fonts/seti/seti.woff2") format("woff2"),
        url("https://cdn.jsdelivr.net/npm/seti-ui@1.11.0/styles/_fonts/seti/seti.woff") format("woff"),
        url("https://cdn.jsdelivr.net/npm/seti-ui@1.11.0/styles/_fonts/seti/seti.ttf") format("truetype");
    font-style: normal;
    font-weight: normal;
}

.seti-icon {
    display: inline-flex;
    width: 20px;
    align-items: center;
    justify-content: center;
    font-family: "Seti";
    font-size: 20px;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.seti-icon::before {
    display: block;
}

.seti-markdown::before {
    color: #519aba;
    content: "\E061";
}

.seti-html::before {
    color: #e37933;
    content: "\E049";
}

.seti-json::before {
    color: #cbcb41;
    content: "\E056";
}

.seti-yml::before,
.seti-yaml::before {
    color: #a074c4;
    content: "\E0A7";
}

.seti-config::before {
    color: #6d8086;
    content: "\E019";
}

.seti-default::before {
    color: #d4d7d6;
    content: "\E023";
}

.seti-license::before {
    color: #cbcb41;
    content: "\E05B";
}

@container extension-content (max-width: 860px) {
    .extension-detail-layout {
        padding: 24px 32px 48px;
        grid-template-columns: minmax(0, 1fr);
        gap: 38px;
    }
}

@container extension-content (max-width: 760px) {
    .extension-hero {
        padding: 28px 20px 22px;
        grid-template-columns: 82px minmax(0, 1fr);
        gap: 18px;
    }

    .extension-hero-icon {
        width: 82px;
        height: 82px;
        font-size: 26px;
    }

    .extension-hero-copy h1 {
        margin-bottom: 5px;
        font-size: 25px;
    }

    .extension-publisher-line {
        gap: 5px;
        font-size: 12px;
    }

    .extension-hero-copy > p {
        font-size: 13px;
    }

    .extension-detail-tabs {
        padding: 0 12px;
    }

    .extension-detail-layout {
        padding-inline: 20px;
    }

    .extension-readme h2 {
        font-size: 22px;
    }
}

@media (max-width: 767px) {
    body,
    body.sidebar-collapsed {
        grid-template-areas: "activity workspace";
        grid-template-columns: var(--activity-width) minmax(0, 1fr);
    }

    .sidebar,
    body.sidebar-collapsed .sidebar {
        position: fixed;
        z-index: 20;
        inset: 0 auto 0 var(--activity-width);
        width: min(82vw, 320px);
        visibility: visible;
        box-shadow: 12px 0 30px rgb(0 0 0 / 45%);
        transform: translateX(-105%);
        transition: transform 140ms ease-out;
    }

    body.sidebar-open .sidebar {
        transform: translateX(0);
    }

    .sidebar-close {
        display: grid;
        width: 40px;
        height: 40px;
    }

    .sidebar-view {
        grid-template-rows: 44px minmax(0, 1fr);
    }

    .sidebar-header {
        height: 44px;
    }

    .sidebar-scrim {
        position: fixed;
        z-index: 15;
        inset: 0 0 0 var(--activity-width);
        width: auto;
        height: auto;
        padding: 0;
        border: 0;
        background: rgb(0 0 0 / 48%);
        cursor: pointer;
    }

    body.sidebar-open .sidebar-scrim {
        display: block;
    }

    .sidebar-file {
        min-height: 32px;
        line-height: 32px;
    }

    .search-form {
        padding-top: 6px;
    }

    .search-input-shell {
        height: 36px;
        grid-template-columns: 32px minmax(0, 1fr) 32px;
    }

    .search-clear {
        width: 32px;
        height: 32px;
    }

    .search-action {
        min-height: 44px;
    }

    .search-result-file,
    .search-result-match {
        min-height: 36px;
    }

    .extensions-search {
        padding-top: 8px;
    }

    .extension-list-item {
        min-height: 88px;
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .scm-group-header,
    .scm-file-row {
        min-height: 32px;
    }

    .scm-commit-row {
        min-width: 0;
    }

    .scm-commit-tooltip {
        display: none;
    }

    .tab-close {
        width: 32px;
        min-width: 32px;
        opacity: 1;
    }

    .editor-state {
        padding: 28px 22px;
    }

    .editor-skeleton {
        width: 92%;
    }

    .scm-detail-content {
        padding: 20px 16px 40px;
    }

    .scm-detail-metadata {
        grid-template-columns: max-content minmax(0, 1fr);
    }

    .scm-detail-files {
        margin-top: 32px;
    }

    .media-viewer {
        padding: 28px 22px 40px;
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: minmax(180px, 1fr) auto;
        align-items: center;
        gap: 24px;
    }

    .media-preview {
        min-height: 180px;
    }

    .media-preview img {
        max-height: 48vh;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
