:root {
  --bg: #f4f7fb;
  --bg-soft: #eef3f9;
  --panel: #ffffff;
  --panel-2: #f9fbfe;
  --line: #d5e0ec;
  --line-soft: rgba(151, 172, 196, 0.28);
  --text: #23364a;
  --muted: #72879d;
  --accent: #2f6df6;
  --accent-2: #1fa89a;
  --danger: #dd5b5b;
  --radius: 8px;
  --shadow: 0 8px 20px rgba(55, 84, 128, 0.09);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "Avenir Next", "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #fbfcfe, var(--bg));
  padding: 12px;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0)),
    linear-gradient(rgba(210, 223, 238, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(210, 223, 238, 0.12) 1px, transparent 1px);
  background-size: auto, 36px 36px, 36px 36px;
  opacity: 0.8;
  z-index: -2;
}

code {
  font-family: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  background: #f1f5fb;
  border: 1px solid var(--line-soft);
  padding: 2px 6px;
  border-radius: 8px;
}

.bg-orb {
  display: none;
}

.orb-a {
  right: 1%;
  top: -96px;
  width: 320px;
  height: 320px;
  background: rgba(47, 109, 246, 0.14);
}

.orb-b {
  left: -100px;
  bottom: -110px;
  width: 360px;
  height: 360px;
  background: rgba(31, 168, 154, 0.1);
}

.hidden {
  display: none !important;
}

.panel {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel), var(--panel-2));
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
  animation: riseIn 320ms ease;
}

.kicker {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.muted {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.login-shell {
  min-height: calc(100vh - 32px);
  display: grid;
  place-items: center;
}

.login-card {
  width: min(520px, 100%);
  padding: 24px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #ffffff, #f7fbff);
  box-shadow: var(--shadow);
  display: grid;
  gap: 12px;
}

.login-card h1 {
  margin: 2px 0 6px;
  font-size: clamp(24px, 3vw, 34px);
}

label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
}

input,
select,
textarea,
button {
  font: inherit;
}

input,
select,
textarea {
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--text);
  padding: 10px 12px;
  outline: none;
  transition: border-color 140ms ease, box-shadow 140ms ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(47, 109, 246, 0.12);
}

button {
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, #3d78f7, #2f6df6);
  color: #ffffff;
  font-weight: 700;
  padding: 9px 12px;
  cursor: pointer;
  transition: transform 100ms ease, filter 160ms ease;
}

button:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
}

button:active {
  transform: translateY(0);
}

button.ghost {
  background: linear-gradient(135deg, #edf3fa, #e5edf7);
  color: var(--text);
  border: 1px solid var(--line);
}

button.danger {
  background: linear-gradient(135deg, #ef7a7a, #dd5b5b);
  color: #ffffff;
}

.error {
  min-height: 16px;
  color: #cc4f4f;
  margin: 0;
  font-size: 12px;
}

.app-shell {
  display: grid;
  gap: 10px;
  grid-template-columns: 132px minmax(0, 1fr);
}

.topbar {
  grid-column: 1 / -1;
  padding: 12px 14px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  position: static;
}

.side-nav {
  position: sticky;
  top: 10px;
  align-self: start;
  display: grid;
  gap: 6px;
  padding: 8px;
}

.nav-item {
  width: 100%;
  min-height: 36px;
  justify-content: flex-start;
  background: transparent;
  color: var(--text);
  border-color: transparent;
  box-shadow: none;
}

.nav-item.active {
  color: #0f4f8f;
  background: #eef6ff;
  border-color: #cfe4ff;
}

.topbar h2 {
  margin: 6px 0;
  font-size: clamp(22px, 2.5vw, 28px);
}

.top-right {
  display: grid;
  grid-template-columns: minmax(260px, 360px) auto;
  gap: 10px;
  align-items: center;
}

.quota {
  padding: 9px 10px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: #f6f9fd;
}

.quota p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.quota strong {
  display: block;
  margin-top: 6px;
  font-size: 20px;
}

.meter {
  height: 8px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(7, 18, 25, 0.6);
  margin-top: 8px;
  overflow: hidden;
}

.meter > span {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
}

.actions-inline {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.overview {
  grid-column: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.summary-card {
  padding: 12px;
  min-height: 84px;
  display: grid;
  align-content: center;
  gap: 3px;
  border-top: 3px solid #e6edf7;
}

.summary-card:nth-child(1) {
  border-top-color: #2f6df6;
}

.summary-card:nth-child(2) {
  border-top-color: #8aa8f8;
}

.summary-card:nth-child(3) {
  border-top-color: #1fa89a;
}

.summary-card:nth-child(4) {
  border-top-color: #7f93ab;
}

.summary-title {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.summary-card strong {
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.1;
  letter-spacing: 0.02em;
}

.grid {
  grid-column: 2;
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr;
}

.panel {
  padding: 12px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
}

.section-head h3 {
  margin: 0 0 6px;
  font-size: 18px;
}

.toolbar {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 10px;
  padding: 8px;
  border-radius: 8px;
  border: 1px solid var(--line-soft);
  background: #f8fbff;
}

.toolbar input[type="search"] {
  width: min(420px, 100%);
}

.compact-toolbar select {
  width: 108px;
  min-width: 108px;
}

.compact-toolbar input[type="search"] {
  width: min(220px, 100%);
}

.compact-toolbar input[type="date"] {
  width: 152px;
  min-width: 152px;
}

.project-filter-toolbar input[type="search"] {
  width: min(280px, 100%);
}

.project-filter-toolbar #projectTypeFilter {
  width: 118px;
  min-width: 118px;
}

.project-filter-toolbar #projectUploadFilter {
  width: 172px;
  min-width: 172px;
}

.project-filter-toolbar #projectFlagFilter {
  width: 126px;
  min-width: 126px;
}

.project-refresh-toolbar #projectRefreshPathSelect {
  width: min(520px, 100%);
  min-width: 260px;
}

.project-refresh-toolbar .muted {
  flex: 1 1 220px;
}

.task-filter-toolbar #taskStatusFilter {
  width: 124px;
  min-width: 124px;
}

.admin-block + .admin-block {
  margin-top: 22px;
  padding-top: 8px;
  border-top: 1px solid var(--line-soft);
}

.section-head-tight {
  margin-bottom: 8px;
}

.admin-toolbar {
  align-items: stretch;
}

.admin-toolbar input {
  width: min(220px, 100%);
}

.admin-toolbar select {
  width: min(150px, 100%);
}

.admin-toolbar textarea {
  width: min(460px, 100%);
  min-height: 90px;
  resize: vertical;
}

.admin-toolbar select[multiple] {
  width: min(240px, 100%);
  min-height: 110px;
  padding: 8px 10px;
}

.multi-select-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: min(280px, 100%);
}

.multi-select-field select[multiple] {
  width: 100%;
}

.multi-select-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
}

.multi-select-actions button {
  padding: 4px 8px;
  min-height: 28px;
}

.admin-toolbar button {
  align-self: stretch;
}

.zabbix-toolbar input {
  min-width: 180px;
}

.inline-check {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 8px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
  font-size: 12px;
}

.check-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  background: #ffffff;
  color: var(--text);
}

.check-chip input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--accent);
}

.pause-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  padding: 8px 10px;
  background: #ffffff;
}

.pause-label input {
  width: 160px;
}

.stat-line {
  margin: -2px 0 10px;
  padding: 7px 10px;
  border-radius: 8px;
  border: 1px solid var(--line-soft);
  color: var(--muted);
  background: #f8fbff;
  font-size: 12px;
}

.table-wrap {
  overflow: auto;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: #ffffff;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid var(--line-soft);
  background: #f8fbff;
}

.pagination:empty {
  display: none;
}

.pagination-meta {
  color: var(--muted);
  font-size: 12px;
}

.pagination-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.pagination-size {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
}

.pagination-size select {
  width: auto;
  min-width: 92px;
  padding: 6px 8px;
}

.pagination button {
  padding: 6px 10px;
  font-size: 12px;
}

.pagination button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  transform: none;
  filter: none;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 1180px;
}

th,
td {
  border-bottom: 1px solid #e8eef5;
  padding: 8px 9px;
  text-align: left;
  font-size: 12px;
  vertical-align: top;
}

th {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  position: sticky;
  top: 0;
  z-index: 1;
  background: rgba(250, 252, 255, 0.96);
  backdrop-filter: blur(8px);
}

tbody tr:last-child td {
  border-bottom: 0;
}

tbody tr:nth-child(even) td {
  background: #fbfdff;
}

tbody tr:hover td {
  background: #f3f8ff;
}

.mono {
  font-family: "JetBrains Mono", "Fira Code", Consolas, monospace;
}

.path {
  max-width: 360px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  min-width: 58px;
  justify-content: center;
  padding: 3px 9px;
  font-size: 12px;
  border: 1px solid transparent;
  font-weight: 700;
}

.badge.queued {
  background: rgba(252, 186, 59, 0.14);
  border-color: rgba(252, 186, 59, 0.24);
  color: #8b6112;
}

.badge.running {
  background: rgba(31, 168, 154, 0.14);
  border-color: rgba(31, 168, 154, 0.24);
  color: #127368;
}

.badge.paused {
  background: rgba(132, 150, 176, 0.14);
  border-color: rgba(132, 150, 176, 0.24);
  color: #52657d;
}

.badge.success {
  background: rgba(31, 168, 154, 0.14);
  border-color: rgba(31, 168, 154, 0.24);
  color: #127368;
}

.badge.failed {
  background: rgba(221, 91, 91, 0.12);
  border-color: rgba(221, 91, 91, 0.2);
  color: #a53838;
}

.badge.cancelled {
  background: rgba(132, 150, 176, 0.14);
  border-color: rgba(132, 150, 176, 0.24);
  color: #52657d;
}

.badge.uploaded {
  background: rgba(31, 168, 154, 0.14);
  border-color: rgba(31, 168, 154, 0.24);
  color: #127368;
}

.badge.unuploaded {
  background: rgba(252, 186, 59, 0.14);
  border-color: rgba(252, 186, 59, 0.24);
  color: #8b6112;
}

.badge + .badge {
  margin-left: 6px;
}

.upload-meta {
  margin-top: 4px;
}

.project-selection-cell {
  min-width: 210px;
}

.project-title-cell {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.project-title-main {
  color: #214661;
  font-weight: 700;
}

.project-inline-type-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-left: 14px;
}

.project-inline-type-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.project-inline-branch,
.project-option-branch {
  width: 12px;
  flex: 0 0 12px;
  color: #8ca0b5;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

.project-inline-type-chip {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid rgba(122, 148, 176, 0.18);
  background: rgba(244, 249, 255, 0.96);
  color: #35506a;
  font-size: 12px;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  letter-spacing: 0.02em;
}

.project-type-combo {
  color: #214661;
  font-weight: 700;
}

.project-type-combo-meta {
  margin-top: 8px;
  margin-left: 14px;
}

.project-group-row td {
  padding: 8px 10px;
  background: #fbfdff;
}

.project-group-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 10px;
  border: 1px solid rgba(122, 148, 176, 0.18);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(250, 252, 255, 0.98), rgba(242, 247, 253, 0.92));
}

.project-analyst-card {
  background: linear-gradient(135deg, rgba(235, 244, 255, 0.96), rgba(248, 251, 255, 0.94));
}

.project-root-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.project-root-card {
  margin-left: 18px;
}

.project-group-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  border: none;
  background: transparent;
  color: #264560;
  font-weight: 700;
  cursor: pointer;
  text-align: left;
}

.project-group-toggle:hover,
.project-group-toggle:active {
  transform: none;
  filter: none;
}

.project-group-arrow {
  width: 16px;
  color: #527394;
}

.project-group-title {
  min-width: 0;
  word-break: break-all;
}

.project-group-submeta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  color: #668098;
  font-size: 12px;
}

.project-leaf-row td {
  background: #ffffff;
}

.project-selected-row td {
  background: #f4f9ff;
}

.project-leaf-row:hover td,
.project-selected-row:hover td {
  background: #eef6ff;
}

.project-selection-leaf-cell {
  padding-left: 28px;
}

.project-leaf-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-left: 18px;
}

.project-leaf-name {
  color: #244866;
  font-weight: 700;
}

button.small {
  padding: 7px 10px;
  font-size: 12px;
}

.project-selection-panel {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 186px;
  padding: 8px 10px;
  border: 1px solid rgba(128, 153, 180, 0.2);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 249, 255, 0.88));
}

.project-check-divider {
  height: 1px;
  background: rgba(128, 153, 180, 0.2);
}

.project-check-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-left: 12px;
}

.project-check-row {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: center;
  column-gap: 10px;
  min-height: 28px;
  white-space: nowrap;
}

.project-check-row input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--accent);
}

.project-check-main {
  padding: 2px 0 4px;
}

.project-check-text {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
}

.project-check-main strong {
  color: #214661;
}

.project-type-name {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  color: #35506a;
}

.project-type-check {
  margin: 0;
  padding-left: 2px;
}

.project-type-check .project-check-text {
  padding: 6px 8px;
  border: 1px solid rgba(136, 161, 188, 0.2);
  border-radius: 8px;
  background: rgba(247, 251, 255, 0.92);
}

.project-check-text-nested {
  padding-left: 2px;
}

.project-option-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}

.project-option-line:last-child {
  margin-bottom: 0;
}

.project-option-line-nested {
  padding-left: 14px;
}

.project-option-key {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.project-option-block {
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(140, 163, 187, 0.22);
  padding-left: 10px;
}

.project-option-block:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.project-option-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.option-label {
  color: #35506a;
}

.log-message {
  max-width: 460px;
  white-space: normal;
  line-height: 1.55;
  color: #3a4f63;
}

.path-list {
  max-width: 620px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ops {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 132px;
}

.ops button {
  padding: 6px 8px;
  font-size: 12px;
}

.task-pause-box {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.task-pause-box input {
  width: 112px;
  padding: 6px 8px;
  font-size: 12px;
}

.task-countdown {
  margin-top: 6px;
  font-size: 12px;
  color: #1b5d82;
  font-weight: 600;
}

.progress {
  min-width: 220px;
}

.progress-head {
  font-weight: 600;
}

.progress .bar {
  margin-top: 4px;
  height: 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  background: #edf3fa;
}

.progress .bar > span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), #74a0ff);
}

.transfer-meta {
  margin-top: 8px;
  padding: 7px 8px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: linear-gradient(180deg, #fbfdff, #f5f9ff);
}

.transfer-file {
  max-width: 420px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  color: #35506c;
}

.task-row td:first-child {
  border-left: 4px solid transparent;
}

.task-running td:first-child {
  border-left-color: var(--accent-2);
}

.task-queued td:first-child {
  border-left-color: #fcba3b;
}

.task-paused td:first-child {
  border-left-color: #8496b0;
}

.task-failed td:first-child {
  border-left-color: var(--danger);
}

.task-success td:first-child {
  border-left-color: #2ca67a;
}

.task-urgent td:first-child {
  box-shadow: inset 4px 0 0 rgba(221, 91, 91, 0.16);
}

.transfer-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.transfer-bar {
  margin-top: 7px !important;
  height: 6px !important;
}

.transfer-bar > span {
  background: linear-gradient(90deg, var(--accent-2), #5fc1b6) !important;
}

.empty {
  text-align: center;
  color: var(--muted);
  padding: 24px;
}

.toast {
  position: fixed;
  right: 16px;
  bottom: 16px;
  background: rgba(35, 54, 74, 0.92);
  border: 1px solid rgba(151, 172, 196, 0.24);
  color: #fff;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 13px;
  transform: translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: transform 180ms ease, opacity 180ms ease;
  z-index: 10;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(124, 148, 175, 0.35);
}

::-webkit-scrollbar-track {
  background: rgba(226, 234, 244, 0.85);
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1280px) {
  .overview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1040px) {
  .app-shell {
    grid-template-columns: 1fr;
  }

  .topbar,
  .overview,
  .grid {
    grid-column: 1;
  }

  .side-nav {
    position: static;
    display: flex;
    overflow-x: auto;
  }

  .nav-item {
    width: auto;
    min-width: 76px;
    justify-content: center;
  }

  .top-right {
    grid-template-columns: 1fr;
    width: 100%;
  }
}

@media (max-width: 780px) {
  body {
    padding: 10px;
  }

  .overview {
    grid-template-columns: 1fr;
  }

  .topbar {
    flex-direction: column;
    align-items: stretch;
  }

  .toolbar {
    padding: 7px;
  }

  .toolbar input[type="search"],
  .admin-toolbar input,
  .admin-toolbar textarea,
  .admin-toolbar select {
    width: 100%;
  }

  .compact-toolbar select {
    width: calc(50% - 4px);
    min-width: 0;
  }

  .compact-toolbar input[type="search"] {
    width: 100%;
  }

  .compact-toolbar input[type="date"] {
    width: calc(50% - 4px);
    min-width: 0;
  }

  .project-filter-toolbar #projectTypeFilter,
  .project-filter-toolbar #projectUploadFilter,
  .project-filter-toolbar #projectFlagFilter {
    width: calc(50% - 4px);
    min-width: 0;
  }

  .project-refresh-toolbar #projectRefreshPathSelect {
    width: 100%;
    min-width: 0;
  }

  .task-filter-toolbar #taskStatusFilter {
    width: 100%;
    min-width: 0;
  }

  .pause-label {
    width: 100%;
    justify-content: space-between;
  }

  .pause-label input {
    width: 130px;
  }

  .actions-inline {
    width: 100%;
  }

  .actions-inline button {
    flex: 1;
    min-width: 0;
  }

  .check-chip {
    width: 100%;
    justify-content: center;
  }

  .pagination {
    align-items: stretch;
  }

  .pagination-controls,
  .pagination-size {
    width: 100%;
    justify-content: space-between;
  }

  .pagination button {
    flex: 1;
    min-width: 0;
  }

  .project-option-line,
  .project-option-head,
  .project-check-text {
    flex-direction: column;
    align-items: flex-start;
  }

  .project-selection-cell,
  .project-selection-panel {
    min-width: 0;
  }

  .project-group-card {
    align-items: flex-start;
    flex-direction: column;
  }
}
