:root {
    --bg: #f4f7fb;
    --bg-strong: #e8eef7;
    --surface: #ffffff;
    --surface-strong: #ffffff;
    --surface-dark: #14213a;
    --surface-dark-2: #1d3155;
    --line: #e1e7f0;
    --line-strong: #cad5e5;
    --text: #172033;
    --muted: #6c778b;
    --brand: #1f6feb;
    --brand-soft: #eaf2ff;
    --accent: #b57419;
    --accent-soft: #fff3df;
    --ok: #16865d;
    --warn: #b57419;
    --bad: #bb4c46;
    --shadow: 0 14px 42px rgba(28, 50, 39, 0.08);
    --radius-lg: 16px;
    --radius-md: 12px;
    --radius-sm: 9px;
    --sans: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}

body {
    min-width: 320px;
    background: radial-gradient(circle at 80% -10%, rgba(61, 125, 224, 0.1), transparent 32rem), var(--bg);
    -webkit-font-smoothing: antialiased;
}

input, textarea, select {
    min-height: 40px;
    border-color: var(--line);
    border-radius: 10px;
    background: #fbfdfc;
}

input:focus, textarea:focus, select:focus {
    border-color: rgba(31, 111, 235, 0.56);
    box-shadow: 0 0 0 3px rgba(31, 111, 235, 0.1);
}

.button {
    min-height: 40px;
    border-radius: 10px;
    padding: 0 15px;
    font-size: 13px;
    font-weight: 650;
}

.button--primary,
.button--accent {
    color: #fff;
    background: var(--brand);
    box-shadow: 0 8px 18px rgba(31, 111, 235, 0.14);
}

.button--primary:hover:not(:disabled),
.button--accent:hover:not(:disabled) {
    background: #1857b6;
}

.button--ghost {
    background: #fff;
    border-color: var(--line);
}

.badge {
    min-height: 23px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 650;
}

.badge--brand,
.badge--ok {
    color: var(--brand);
    background: var(--brand-soft);
}

.badge--warn {
    color: var(--warn);
    background: var(--accent-soft);
}

.workspace {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 232px minmax(0, 1fr);
    gap: 0;
    padding: 0;
}

.sidebar {
    position: sticky;
    top: 0;
    z-index: 30;
    height: 100vh;
    align-self: start;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 24px 16px 18px;
    border: 0;
    border-right: 1px solid var(--line);
    border-radius: 0;
    color: var(--text);
    background: rgba(250, 252, 251, 0.94);
    box-shadow: none;
    backdrop-filter: blur(18px);
}

.brand {
    gap: 11px;
    padding: 0 10px 24px;
}

.brand__mark {
    width: 36px;
    height: 36px;
    border-radius: 11px;
    color: #fff;
    background: var(--brand);
    box-shadow: 0 8px 18px rgba(31, 111, 235, 0.2);
}

.brand__title {
    color: var(--text);
    font-size: 14px;
    font-weight: 750;
}

.brand__subtitle {
    margin-top: 3px;
    color: var(--muted);
    font-size: 10px;
}

.nav-group__label {
    margin: 12px 12px 8px;
    color: #98a29c;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.nav-list {
    gap: 4px;
}

.nav-item {
    min-height: 42px;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 0 12px;
    border-radius: 10px;
    color: #65716a;
    background: transparent;
    font-size: 13px;
    transition: color 0.18s ease, background 0.18s ease;
}

.nav-item:hover {
    color: var(--text);
    background: #eef2ef;
}

.nav-item--active {
    color: #1857b6;
    background: var(--brand-soft);
    box-shadow: none;
    font-weight: 650;
}

.nav-icon {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
}

.nav-item__count {
    margin-left: auto;
    padding: 2px 6px;
    border-radius: 8px;
    color: var(--warn);
    background: var(--accent-soft);
    font-size: 9px;
}

.sidebar__footer {
    margin-top: auto;
    display: grid;
    gap: 10px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
}

.sidebar-user {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 4px;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.sidebar-user__avatar {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: #29456f;
    font-size: 12px;
}

.sidebar-user__content {
    min-width: 0;
}

.sidebar-user__name {
    overflow: hidden;
    color: var(--text);
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sidebar-user__meta {
    margin-top: 3px;
    color: var(--muted);
    font-size: 10px;
}

.sidebar__footer .button {
    width: 100%;
    min-height: 34px;
}

.content {
    min-width: 0;
    display: block;
}

.app-topbar {
    position: sticky;
    top: 0;
    z-index: 25;
    height: 76px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0 32px;
    border-bottom: 1px solid rgba(222, 229, 225, 0.9);
    background: rgba(244, 247, 245, 0.88);
    backdrop-filter: blur(16px);
}

.app-menu-button {
    display: none;
    min-height: 40px;
    align-items: center;
    gap: 7px;
    padding: 0 11px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    font-size: 12px;
}

.topbar-project {
    min-height: 42px;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 0 11px;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.9);
}

.topbar-project__status {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #36a16d;
    box-shadow: 0 0 0 4px #e5f5ec;
}

.topbar-project__label {
    color: var(--muted);
    font-size: 11px;
    white-space: nowrap;
}

.topbar-project select {
    width: auto;
    min-width: 138px;
    min-height: 32px;
    padding: 0 28px 0 4px;
    border: 0;
    color: var(--text);
    background-color: transparent;
    box-shadow: none;
    font-size: 13px;
    font-weight: 650;
}

.app-topbar__spacer {
    flex: 1;
}

.page-content {
    padding: 30px 32px 52px;
}

.overview-page,
.page-section {
    max-width: 1480px;
    margin: 0 auto;
}

.overview-hero {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 22px;
}

.overview-hero h1 {
    margin: 0;
    font-size: clamp(25px, 3vw, 34px);
    line-height: 1.15;
    letter-spacing: -0.035em;
}

.overview-hero p {
    margin: 9px 0 0;
    color: var(--muted);
    font-size: 13px;
}

.eyebrow,
.eyebrow--dark {
    margin-bottom: 7px;
    color: var(--brand);
    font-size: 10px;
    font-weight: 750;
    letter-spacing: 0.1em;
    text-transform: none;
}

.summary-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 13px;
}

.stat-card,
.panel,
.package-card,
.list-card,
.log-card,
.info-card,
.hint-card,
.target-preview,
.progress-card {
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 4px 16px rgba(40, 60, 49, 0.025);
}

.summary-strip .stat-card {
    position: relative;
    min-width: 0;
    overflow: hidden;
    padding: 18px;
}

.summary-strip .stat-card::after {
    content: "";
    position: absolute;
    right: -24px;
    bottom: -38px;
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: var(--brand-soft);
}

.stat-card__label {
    color: var(--muted);
    font-size: 11px;
}

.stat-card__value {
    position: relative;
    z-index: 1;
    margin-top: 12px;
    overflow: hidden;
    font-size: 25px;
    font-weight: 740;
    letter-spacing: -0.03em;
    text-overflow: ellipsis;
}

.stat-card__detail {
    position: relative;
    z-index: 1;
    margin-top: 8px;
    overflow: hidden;
    color: var(--muted);
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.overview-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.65fr);
    gap: 14px;
    margin-top: 14px;
}

.panel {
    padding: 20px;
}

.panel__header {
    margin-bottom: 17px;
}

.panel__header--row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.panel__header h3 {
    font-size: 15px;
}

.panel__header p,
.section-head p {
    display: block;
    margin-top: 5px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.6;
}

.text-link {
    padding: 0;
    border: 0;
    color: var(--brand);
    background: transparent;
    font-size: 11px;
    font-weight: 650;
}

.recent-release-list {
    display: grid;
}

.recent-release {
    width: 100%;
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) auto 135px;
    gap: 11px;
    align-items: center;
    padding: 12px 0;
    border: 0;
    border-bottom: 1px solid #edf1ef;
    background: transparent;
    text-align: left;
}

.recent-release:last-child {
    border-bottom: 0;
}

.recent-release:hover .recent-release__body strong {
    color: var(--brand);
}

.recent-release__icon {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    color: var(--brand);
    background: var(--brand-soft);
}

.recent-release__body {
    min-width: 0;
}

.recent-release__body strong,
.recent-release__body span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.recent-release__body strong {
    font-size: 12px;
}

.recent-release__body span,
.recent-release time {
    margin-top: 4px;
    color: var(--muted);
    font-size: 9px;
}

.overview-side {
    display: grid;
    align-content: start;
    gap: 14px;
}

.overview-health-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #edf1ef;
    color: var(--muted);
    font-size: 11px;
}

.overview-health-row:last-child {
    border-bottom: 0;
}

.overview-health-row strong {
    color: var(--text);
    font-size: 16px;
}

.overview-actions-card > button {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 12px 0;
    border: 0;
    border-bottom: 1px solid #edf1ef;
    background: transparent;
    text-align: left;
}

.overview-actions-card > button:last-child {
    border-bottom: 0;
}

.overview-actions-card .nav-icon {
    color: var(--brand);
}

.overview-actions-card strong,
.overview-actions-card small {
    display: block;
}

.overview-actions-card strong {
    font-size: 11px;
}

.overview-actions-card small {
    margin-top: 4px;
    color: var(--muted);
    font-size: 9px;
}

.overview-empty {
    padding: 38px 18px;
}

.page-section {
    gap: 14px;
}

.section-head {
    min-height: 64px;
    align-items: flex-end;
    margin-bottom: 8px;
}

.section-head h2 {
    margin: 0;
    font-size: clamp(23px, 2.4vw, 30px);
    letter-spacing: -0.025em;
}

.panel-grid {
    gap: 14px;
}

.panel-grid--publish {
    grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.55fr);
}

.dropzone {
    padding: 34px 20px;
    border-width: 1.5px;
    border-color: #b8c9bf;
    border-radius: 14px;
    background: #f8fbf9;
}

.dropzone:hover,
.dropzone--dragging {
    border-color: var(--brand);
    background: var(--brand-soft);
}

.dropzone__icon {
    width: 48px;
    height: 48px;
    border-radius: 13px;
    color: var(--brand);
    font-size: 25px;
}

.dropzone__title {
    font-size: 15px;
}

.form-grid,
.stack {
    gap: 13px;
}

.field > span:first-child {
    color: var(--text);
    font-size: 11px;
    font-weight: 650;
}

.package-list,
.log-list {
    gap: 9px;
}

.package-card,
.list-card,
.log-card {
    padding: 15px 17px;
}

.package-card__title,
.list-card__title,
.log-card__title {
    font-size: 13px;
}

.list-card__actions .button {
    min-height: 31px;
    padding: 0 10px;
    font-size: 10px;
}

.package-card__grid,
.list-card__body {
    margin-top: 12px;
    font-size: 11px;
}

.dependency-editor__row,
.dependency-row,
.relation-row,
.dependency-tree__node {
    border-radius: 11px;
    background: #fbfdfc;
}

.modal-backdrop {
    background: rgba(22, 32, 27, 0.34);
    backdrop-filter: blur(4px);
}

.modal-card {
    border-radius: 16px;
    box-shadow: 0 24px 70px rgba(20, 34, 27, 0.18);
}

.login-shell {
    background: radial-gradient(circle at 15% 15%, rgba(61, 125, 224, 0.16), transparent 30rem), #f4f7fb;
}

.login-card {
    max-width: 1020px;
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.login-hero {
    background: linear-gradient(150deg, #12345f, #1f6feb);
}

.login-panel {
    background: #fff;
}

@media (max-width: 1100px) {
    .summary-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .overview-grid,
    .panel-grid--publish,
    .panel-grid--editor,
    .panel-grid--api {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .workspace {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: fixed;
        left: 0;
        width: 232px;
        transform: translateX(-100%);
        transition: transform 0.2s ease;
        box-shadow: var(--shadow);
    }

    .sidebar--open {
        transform: translateX(0);
    }

    .sidebar-scrim {
        position: fixed;
        z-index: 29;
        inset: 0;
        border: 0;
        background: rgba(20, 31, 25, 0.28);
    }

    .app-menu-button {
        display: inline-flex;
    }

    .app-topbar {
        height: 66px;
        padding: 0 16px;
    }

    .page-content {
        padding: 24px 16px 38px;
    }
}

@media (max-width: 680px) {
    .topbar-project__label,
    .topbar-project__status {
        display: none;
    }

    .topbar-project select {
        min-width: 108px;
        max-width: 150px;
    }

    .app-topbar > .button {
        display: none;
    }

    .overview-hero,
    .section-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .summary-strip,
    .stats-grid,
    .form-grid--two,
    .checkbox-grid,
    .package-card__top,
    .package-card__grid,
    .dependency-editor__row,
    .dependency-row,
    .relation-row,
    .share-link {
        grid-template-columns: 1fr;
    }

    .recent-release {
        grid-template-columns: 34px minmax(0, 1fr) auto;
    }

    .recent-release time {
        display: none;
    }
}
/* 大数据量管理界面 */
.project-picker { position: relative; }
.project-picker__trigger { min-width: 240px; height: 44px; display: flex; align-items: center; gap: 10px; padding: 0 12px; border: 1px solid var(--line); border-radius: 11px; background: rgba(255,255,255,.94); text-align: left; }
.project-picker__status { width: 8px; height: 8px; flex: 0 0 auto; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(22,134,93,.12); }
.project-picker__copy { min-width: 0; display: grid; gap: 2px; }
.project-picker__copy small { color: var(--muted); font-size: 9px; }
.project-picker__copy strong { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.project-picker__arrow { margin-left: auto; color: var(--muted); }
.project-picker__popover { position: absolute; z-index: 70; top: calc(100% + 8px); left: 0; width: min(400px, calc(100vw - 32px)); padding: 10px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: 0 22px 60px rgba(26,45,78,.16); }
.project-picker__search, .list-search { position: relative; display: flex; align-items: center; }
.project-picker__search > span, .list-search > span { position: absolute; left: 12px; z-index: 1; color: var(--muted); font-size: 18px; }
.project-picker__search input, .list-search input { padding-left: 38px; }
.project-picker__meta { padding: 9px 4px 6px; color: var(--muted); font-size: 10px; }
.project-picker__list { max-height: 360px; overflow-y: auto; display: grid; gap: 3px; }
.project-picker__option { width: 100%; display: flex; align-items: center; gap: 4px; border-radius: 9px; background: transparent; text-align: left; }
.project-picker__option:hover, .project-picker__option--active { background: var(--brand-soft); }
.project-picker__choose { min-width: 0; flex: 1; display: flex; align-items: center; gap: 12px; padding: 11px; border: 0; background: transparent; text-align: left; }
.project-picker__choose > span { min-width: 0; display: grid; gap: 4px; }
.project-picker__favorite { flex: 0 0 auto; padding: 8px; border: 0; background: transparent; color: var(--brand); font-size: 19px; cursor: pointer; }
.project-picker__option strong, .project-picker__option small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.project-picker__option strong { font-size: 12px; }
.project-picker__option small { color: var(--muted); font-size: 9px; }
.project-picker__option b { margin-left: auto; color: var(--brand); font-size: 9px; }
.project-picker__empty { padding: 30px 12px; color: var(--muted); text-align: center; font-size: 11px; }
.project-picker__group { padding: 9px 7px 3px; color: var(--muted); font-size: 10px; font-weight: 650; }
.global-package-search { position: relative; flex: 0 0 auto; }
.global-package-search__trigger { height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 11px; background: #fff; color: var(--text); white-space: nowrap; cursor: pointer; }
.global-package-search__popover { position: absolute; z-index: 75; top: calc(100% + 8px); left: 0; width: min(480px, calc(100vw - 28px)); padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: 0 22px 60px rgba(26,45,78,.16); }
.global-package-search__popover > input { width: 100%; }
.global-package-search__status { padding: 16px 4px; color: var(--muted); font-size: 12px; }
.global-package-search__status--error, .package-tags__error { color: #b13d3d; }
.global-package-search__results { max-height: 400px; overflow-y: auto; display: grid; gap: 4px; }
.global-package-search__result { display: grid; gap: 5px; width: 100%; padding: 10px; border: 0; border-radius: 9px; background: transparent; text-align: left; cursor: pointer; }
.global-package-search__result:hover { background: var(--brand-soft); }
.global-package-search__result strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.global-package-search__result span, .global-package-search__result small { color: var(--muted); font-size: 11px; }
.global-package-search__pager { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--line); }
.global-package-search__pager button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 90px; min-height: 34px; padding: 0 10px; border: 1px solid var(--line); border-radius: 9px; background: #fff; color: var(--text); font-size: 11px; font-weight: 650; cursor: pointer; transition: background .15s ease, border-color .15s ease, color .15s ease; }
.global-package-search__pager button:hover:not(:disabled) { border-color: var(--brand); background: var(--brand-soft); color: var(--brand); }
.global-package-search__pager button:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.global-package-search__pager button:disabled { background: #f5f7fb; color: var(--muted); opacity: .6; cursor: not-allowed; }
.global-package-search__pager button span { font-size: 15px; line-height: 1; }
.global-package-search__page { padding: 7px 10px; border-radius: 8px; background: #f5f7fb; color: var(--muted); font-size: 11px; font-weight: 650; white-space: nowrap; }
.package-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 5px 0; }
.package-tag { display: inline-flex; align-items: center; gap: 5px; max-width: 100%; padding: 5px 8px; border-radius: 8px; background: var(--brand-soft); font-size: 11px; overflow-wrap: anywhere; }
.package-tag button { padding: 1px 3px; border: 0; background: transparent; color: var(--brand); cursor: pointer; }
.package-tag input { width: min(180px, 40vw); min-height: 27px; }
.package-tag-entry { display: flex; gap: 8px; align-items: center; max-width: 420px; }
.package-tag-entry input { min-width: 0; flex: 1; }
.package-card--focused { outline: 2px solid var(--brand); outline-offset: 2px; scroll-margin-top: 100px; }
@media (max-width: 760px) { .global-package-search__popover { left: auto; right: 0; } .global-package-search__trigger { max-width: 44px; overflow: hidden; padding: 0 12px; } }
.management-list-panel { min-width: 0; }
.list-toolbar { position: sticky; top: 88px; z-index: 10; display: flex; align-items: center; gap: 10px; margin: -4px -4px 16px; padding: 4px; background: rgba(255,255,255,.96); }
.list-search { min-width: 230px; flex: 1; }
.list-toolbar__actions { margin-left: auto; }
.management-list-card__grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; }
.management-list-card__grid code { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pagination { display: flex; align-items: center; gap: 14px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; }
.pagination__summary { flex: 1; }
.pagination__size { display: flex; align-items: center; gap: 6px; }
.pagination__size select { width: auto; min-height: 32px; padding: 0 28px 0 9px; font-size: 10px; }
.pagination__buttons { display: flex; align-items: center; gap: 5px; }
.pagination__buttons button { min-height: 32px; padding: 0 9px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font-size: 10px; }
.pagination__buttons button:disabled { opacity: .42; cursor: not-allowed; }
.pagination__buttons span { min-width: 52px; color: var(--text); text-align: center; }
.drawer-backdrop { position: fixed; z-index: 90; inset: 0; background: rgba(20,31,49,.28); backdrop-filter: blur(2px); }
.management-drawer { position: absolute; top: 0; right: 0; width: min(620px, 100%); height: 100%; display: flex; flex-direction: column; background: #fbfcff; box-shadow: -24px 0 70px rgba(22,36,63,.18); animation: drawer-enter .2s ease; }
@keyframes drawer-enter { from { transform: translateX(36px); opacity: .6; } }
.management-drawer__header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 22px 24px 18px; border-bottom: 1px solid var(--line); background: #fff; }
.management-drawer__header h3 { margin: 0; font-size: 19px; }
.management-drawer__header p { margin: 6px 0 0; color: var(--muted); font-size: 11px; }
.management-drawer__close { width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 9px; background: #fff; font-size: 20px; }
.management-drawer__body { flex: 1; min-height: 0; overflow-y: auto; padding: 22px 24px; }
.management-drawer__footer { display: flex; justify-content: flex-end; gap: 9px; padding: 14px 24px; border-top: 1px solid var(--line); background: #fff; }
.drawer-section { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.drawer-section__head { margin-bottom: 12px; }
.drawer-section__head p { margin: 5px 0 0; color: var(--muted); font-size: 10px; }
.drawer-danger-zone { margin-top: 24px; padding-top: 16px; border-top: 1px solid rgba(187,76,70,.16); }
.drawer-danger-zone .button { color: var(--bad); }
.permission-list { display: grid; gap: 7px; max-height: 420px; overflow-y: auto; }
.permission-row { display: grid; grid-template-columns: minmax(0,1fr) 180px; gap: 12px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.permission-row > span { min-width: 0; display: grid; gap: 4px; }
.permission-row strong, .permission-row small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.permission-row strong { font-size: 11px; }
.permission-row small { color: var(--muted); font-size: 9px; }
.permission-row select { min-height: 34px; font-size: 10px; }
@media (max-width: 760px) { .project-picker__trigger { min-width: 0; width: 150px; } .project-picker__copy small { display: none; } .list-toolbar { position: static; flex-wrap: wrap; } .list-search { flex-basis: 100%; } .list-toolbar__actions { width: 100%; } .list-toolbar__actions .button { width: 100%; } .pagination { align-items: stretch; flex-direction: column; } .pagination__buttons { justify-content: space-between; } .pagination__buttons button:first-child, .pagination__buttons button:last-child { display: none; } .management-list-card__grid, .permission-row { grid-template-columns: 1fr; } }
.dependency-project-field .project-picker__trigger { width: 100%; min-width: 0; }
.dependency-project-field .project-picker__popover { width: min(380px, 80vw); }
.dependency-project-field .project-picker__copy small { display: none; }
