:root {
  color-scheme: light;
  font-family: Inter, "SF Pro Display", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --ink: #172033;
  --muted: #6c778b;
  --line: #e4e8ee;
  --paper: #fff;
  --canvas: #f4f6f8;
  --night: #111827;
  --green: #10b981;
  --blue: #0ea5e9;
  --amber: #f59e0b;
  --red: #ef4444;
  --violet: #6d5dfc;
  --cyan: #16b8f3;
  --aqua: #14d6b1;
  --primary-gradient: linear-gradient(115deg, #715cff 0%, #2f8cff 46%, #10cfb0 100%);
  --primary-gradient-hover: linear-gradient(115deg, #5d48f3 0%, #1c7dec 46%, #08ba9c 100%);
  --soft-gradient: linear-gradient(135deg, rgba(237,233,255,.96), rgba(228,247,255,.96) 54%, rgba(225,255,247,.96));
  --danger-gradient: linear-gradient(115deg, #ff477e, #ff735c);
  --danger-soft-gradient: linear-gradient(135deg, #fff0f6, #fff2ed);
  --shadow: 0 16px 44px rgba(57, 49, 110, .10);
}

* { box-sizing: border-box; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
html, body { margin: 0; min-height: 100%; color: var(--ink); }
html { background: #f5f5ff; }
body {
  background:
    radial-gradient(circle at 18% 3%, rgba(138,116,255,.16), transparent 31rem),
    radial-gradient(circle at 83% 12%, rgba(31,205,232,.14), transparent 34rem),
    radial-gradient(circle at 70% 88%, rgba(30,220,164,.11), transparent 32rem),
    linear-gradient(145deg, #f8f7ff 0%, #f2f9ff 54%, #f5fffb 100%);
  background-attachment: fixed;
}
body { min-width: 320px; }
button, input { font: inherit; }
button { color: inherit; }
.hidden { display: none !important; }

.boot-screen {
  min-height: 100vh; display: grid; place-content: center; justify-items: center; gap: 12px;
  background: radial-gradient(circle at 55% 30%, #26364d, var(--night) 56%); color: white;
}
.boot-screen img { filter: drop-shadow(0 14px 22px rgba(0,0,0,.3)); animation: breathe 1.7s ease-in-out infinite; }
.boot-screen img, .brand > img, .gate-brand > img { border-radius: 24%; object-fit: cover; }
.boot-screen strong { font-size: 26px; letter-spacing: -.6px; }
.boot-screen span { color: #9eabc0; font-size: 14px; }
@keyframes breathe { 50% { transform: translateY(-4px); } }

.shell { min-height: 100vh; display: grid; grid-template-columns: 238px minmax(0, 1fr); }
.sidebar {
  position: fixed; inset: 0 auto 0 0; width: 238px; z-index: 20; display: flex; flex-direction: column;
  background: linear-gradient(168deg, #11162b 0%, #111a32 47%, #0c2630 100%); color: #d7deea; padding: 25px 17px 18px;
  box-shadow: 12px 0 38px rgba(28,30,70,.16);
}
.brand, .gate-brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand { padding: 0 8px 25px; color: white; }
.brand > img, .gate-brand > img { flex: 0 0 auto; }
.brand div, .gate-brand div { display: grid; gap: 2px; min-width: 0; }
.brand strong { font-size: 16px; letter-spacing: -.55px; white-space: nowrap; }
.gate-brand strong { font-size: 19px; letter-spacing: -.4px; }
.brand span { font-size: 10px; color: #8793a7; letter-spacing: .08em; white-space: nowrap; }
nav { display: grid; gap: 5px; }
nav button {
  width: 100%; display: flex; align-items: center; gap: 13px; padding: 11px 13px; border: 0; border-radius: 11px;
  background: transparent; color: #aab4c4; cursor: pointer; text-align: left; transition: .16s ease;
}
.nav-icon { width: 20px; height: 20px; flex: 0 0 auto; fill: none; stroke: #77859a; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
nav button:hover { background: linear-gradient(100deg, rgba(119,92,255,.18), rgba(20,207,177,.09)); color: white; }
nav button.active { background: linear-gradient(105deg, rgba(119,92,255,.34), rgba(24,174,255,.22), rgba(20,207,177,.18)); color: white; box-shadow: inset 0 0 0 1px rgba(164,228,255,.1); }
nav button:hover .nav-icon { stroke: #b9c5d6; }
nav button.active .nav-icon { stroke: #34d399; }
.sidebar-foot { margin-top: auto; padding: 15px 8px 0; border-top: 1px solid rgba(255,255,255,.08); }
.connection { display: flex; align-items: center; gap: 8px; color: #aab4c4; font-size: 12px; }
.connection i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(16,185,129,.12); }
.quiet-button { border: 0; background: linear-gradient(90deg, #77859a, #9b8ee7); color: transparent; background-clip: text; padding: 12px 0 0; cursor: pointer; font-size: 12px; }
.quiet-button:hover { color: white; }

.workspace { grid-column: 2; min-width: 0; }
.topbar {
  height: 88px; padding: 18px clamp(20px, 3.2vw, 45px); display: flex; align-items: center; gap: 15px;
  background: rgba(248,249,255,.74); backdrop-filter: blur(20px) saturate(145%); position: sticky; top: 0; z-index: 10;
}
.topbar h1 { margin: 0; font-size: 24px; letter-spacing: -.6px; }
.topbar p { margin: 3px 0 0; color: var(--muted); font-size: 12px; }
.top-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.icon-button { border: 1px solid rgba(111,92,252,.14); background: var(--soft-gradient); border-radius: 11px; width: 39px; height: 39px; cursor: pointer; box-shadow: 0 6px 18px rgba(84,75,164,.10); }
.icon-button:hover { border-color: rgba(111,92,252,.4); filter: saturate(1.12); transform: translateY(-1px); }
.icon-button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.menu-button { display: none; }
.avatar { width: 39px; height: 39px; border-radius: 12px; display: grid; place-items: center; color: white; font-weight: 700; background: linear-gradient(135deg, #10b981, #0ea5e9); }
.top-action-button { height: 39px; padding: 0 13px; display: inline-flex; align-items: center; gap: 7px; border: 1px solid rgba(111,92,252,.14); border-radius: 11px; background: var(--soft-gradient); cursor: pointer; box-shadow: 0 6px 18px rgba(84,75,164,.10); font-size: 12px; }
.top-action-button:hover { border-color: rgba(111,92,252,.4); filter: saturate(1.12); transform: translateY(-1px); }
.top-action-button svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.user-chip { min-width: 148px; padding-right: 12px; display: flex; align-items: center; gap: 9px; border: 1px solid rgba(111,92,252,.12); border-radius: 13px; background: linear-gradient(135deg, rgba(255,255,255,.94), rgba(242,248,255,.94)); box-shadow: 0 6px 18px rgba(84,75,164,.08); }
.user-chip-copy { min-width: 0; display: grid; gap: 1px; }
.user-chip-copy strong { max-width: 115px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; }
.user-chip-copy span { color: var(--muted); font-size: 9px; }
main { padding: 8px clamp(20px, 3.2vw, 45px) 52px; max-width: 1540px; margin: 0 auto; }
main:focus { outline: none; }

.notice { padding: 13px 16px; border-radius: 12px; margin-bottom: 18px; font-size: 13px; display: flex; gap: 10px; align-items: flex-start; }
.notice.warning { color: #7c4a03; background: #fff8e7; border: 1px solid #f6dfac; }
.notice.info { color: #075985; background: #effaff; border: 1px solid #c8ecfa; }
.grid { display: grid; gap: 18px; }
.stats-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.two-grid { grid-template-columns: minmax(0, 1.4fr) minmax(300px, .8fr); margin-top: 18px; }
.card { background: linear-gradient(145deg, rgba(255,255,255,.94), rgba(251,252,255,.88)); border: 1px solid rgba(255,255,255,.82); border-radius: 19px; box-shadow: var(--shadow), inset 0 0 0 1px rgba(111,92,252,.05); backdrop-filter: blur(14px) saturate(130%); }
.stat { padding: 20px; min-height: 126px; display: flex; flex-direction: column; justify-content: space-between; }
.stat-top { display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 12px; }
.stat-icon { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; background: var(--soft-gradient); color: #6357e9; box-shadow: inset 0 0 0 1px rgba(111,92,252,.08); }
.stat-value { font-size: 25px; font-weight: 750; letter-spacing: -.8px; }
.stat small { color: var(--muted); }
.card-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 22px 0; }
.card-head h2 { margin: 0; font-size: 15px; }
.card-body { padding: 18px 22px 22px; }
.meter { height: 8px; background: #edf0f4; border-radius: 99px; overflow: hidden; margin: 10px 0 7px; }
.meter i { height: 100%; display: block; border-radius: inherit; background: linear-gradient(90deg, var(--green), var(--blue)); }
.metric-line { display: flex; justify-content: space-between; color: var(--muted); font-size: 12px; }
.detail-list { margin: 0; display: grid; gap: 12px; }
.detail-list div { display: flex; justify-content: space-between; gap: 18px; font-size: 13px; }
.detail-list dt { color: var(--muted); }
.detail-list dd { margin: 0; text-align: right; overflow-wrap: anywhere; }

.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 16px; }
.button { border: 0; border-radius: 11px; padding: 9px 15px; background: var(--primary-gradient); color: white; cursor: pointer; font-size: 13px; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 7px 18px rgba(72,91,220,.19); transition: transform .16s ease, filter .16s ease, box-shadow .16s ease; }
.button:hover { background: var(--primary-gradient-hover); transform: translateY(-1px); filter: saturate(1.08); box-shadow: 0 10px 24px rgba(72,91,220,.25); }
.button.primary { background: var(--primary-gradient); }
.button.ghost { background: var(--soft-gradient); color: #3c3b70; border: 1px solid rgba(111,92,252,.16); box-shadow: 0 5px 14px rgba(72,91,220,.09); }
.button.danger { background: var(--danger-gradient); color: white; box-shadow: 0 7px 18px rgba(238,76,111,.18); }
.button:disabled { opacity: .48; cursor: wait; transform: none; filter: grayscale(.18); box-shadow: none; }
.button:focus-visible, .icon-button:focus-visible, .top-action-button:focus-visible, nav button:focus-visible { outline: 3px solid rgba(99,102,241,.28); outline-offset: 2px; }
.pathbar { flex: 1; min-width: 220px; padding: 10px 13px; border-radius: 11px; background: white; border: 1px solid var(--line); color: var(--muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-card { overflow: hidden; }
.file-table { width: 100%; border-collapse: collapse; }
.file-table th { text-align: left; color: var(--muted); font-size: 11px; font-weight: 600; padding: 13px 16px; border-bottom: 1px solid var(--line); }
.file-table td { padding: 12px 16px; border-bottom: 1px solid #eff1f4; font-size: 13px; }
.file-table tr:last-child td { border: 0; }
.file-table tbody tr:hover { background: #fafbfc; }
.file-name { display: flex; align-items: center; gap: 10px; cursor: pointer; min-width: 0; }
.file-name span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-glyph { width: 31px; height: 31px; flex: 0 0 auto; border-radius: 9px; background: #f1f5f7; display: grid; place-items: center; color: #547083; }
.file-glyph.folder { background: #fff5db; color: #d18a0a; }
.row-actions { text-align: right; white-space: nowrap; }
.row-actions button { border: 0; background: transparent; color: var(--muted); cursor: pointer; padding: 5px; }
.row-actions button:hover { color: var(--red); }
.empty { padding: 62px 20px; text-align: center; color: var(--muted); }
.empty strong { display: block; color: var(--ink); margin: 10px 0 5px; }

.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(175px, 1fr)); gap: 16px; }
.media-toolbar input {
  min-width: min(360px, 100%); flex: 1; border: 1px solid #dbe0e7; border-radius: 11px; padding: 10px 12px;
  outline: none; font-size: 12px;
}
.media-toolbar input:focus { border-color: #13a77c; box-shadow: 0 0 0 3px rgba(16,185,129,.1); }
.media-index-note { margin-left: auto; color: var(--muted); font-size: 10px; }
.media-more-wrap { padding: 20px 0 0; text-align: center; }
.media-card { overflow: hidden; min-width: 0; }
.media-preview { aspect-ratio: 4 / 3; display: grid; place-items: center; overflow: hidden; background: linear-gradient(145deg, #e9eef3, #d8e0e8); color: #718096; font-size: 34px; }
.media-preview img, .media-preview video { width: 100%; height: 100%; object-fit: cover; }
.media-preview { text-decoration: none; }
.video-thumb { position: relative; }
.video-thumb i {
  position: absolute; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  color: white; background: rgba(10, 18, 29, .68); backdrop-filter: blur(6px); font-style: normal;
  box-shadow: 0 8px 22px rgba(0,0,0,.22);
}
.media-preview.audio { aspect-ratio: 1; background: linear-gradient(145deg, #173044, #10202f); color: #34d399; }
.media-copy { padding: 12px; }
.media-copy strong { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 13px; }
.media-copy span { color: var(--muted); font-size: 11px; display: block; margin-top: 4px; }
.media-copy audio { width: 100%; height: 34px; margin-top: 8px; }

.feature-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature { padding: 20px; }
.feature i { font-style: normal; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: #eef8f6; color: #07956b; font-size: 19px; }
.feature h3 { margin: 16px 0 7px; font-size: 15px; }
.feature p { margin: 0; font-size: 12px; line-height: 1.7; color: var(--muted); }
.tag { font-size: 10px; border-radius: 99px; background: #edf1f5; color: #6b7585; padding: 4px 8px; }

.application-center { margin-bottom: 28px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 2px 0 16px; }
.section-heading h2 { margin: 0; font-size: 19px; }
.section-heading p { margin: 5px 0 0; color: var(--muted); font-size: 12px; }
.docker-heading { margin-top: 30px; }
.application-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 310px)); justify-content: start; gap: 18px; }
.application-card {
  min-height: 272px; padding: 18px; display: flex; flex-direction: column; gap: 13px;
  background: linear-gradient(150deg, rgba(255,255,255,.98) 0%, rgba(247,246,255,.96) 58%, rgba(235,253,255,.94) 100%); transition: transform .18s ease, box-shadow .18s ease;
}
.application-card:hover { transform: translateY(-4px); box-shadow: 0 22px 50px rgba(65,59,135,.16); }
.application-card-top { display: flex; align-items: center; gap: 13px; min-width: 0; }
.application-title { min-width: 0; }
.application-icon {
  width: 68px; height: 68px; flex: 0 0 auto; border: 1px solid rgba(23,32,51,.08); border-radius: 17px;
  display: grid; place-items: center; overflow: hidden; background: linear-gradient(145deg, #eef9f6, #edf7ff);
  color: #07815d; box-shadow: 0 8px 20px rgba(25,47,78,.1); font-size: 27px; font-weight: 700;
}
.application-icon > * { grid-area: 1 / 1; }
.application-icon img { width: 100%; height: 100%; display: block; object-fit: cover; }
.application-card h3 { margin: 2px 0 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 17px; letter-spacing: -.2px; }
.application-meta { min-height: 18px; display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 10px; }
.application-meta small { padding-left: 7px; border-left: 1px solid var(--line); }
.application-card > .docker-state { align-self: flex-start; }
.application-card > p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.65; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.application-actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 7px; }
.application-actions .button { min-width: 66px; padding: 7px 12px; border-radius: 99px; font-size: 10px; }
.application-empty { grid-column: 1 / -1; }

.docker-panel, .docker-log-panel { margin-top: 18px; overflow: hidden; }
.docker-table-wrap { padding: 14px 0 0; overflow-x: auto; }
.docker-table { min-width: 850px; }
.docker-table th:first-child, .docker-table td:first-child { padding-left: 22px; }
.docker-table th:last-child, .docker-table td:last-child { padding-right: 22px; }
.docker-name { display: flex; align-items: center; gap: 10px; }
.docker-name > i {
  width: 34px; height: 34px; flex: 0 0 auto; border-radius: 10px; display: grid; place-items: center;
  color: #07815d; background: #e8f8f3; font-style: normal;
}
.docker-name > span { min-width: 0; display: grid; gap: 3px; }
.docker-name strong { max-width: 190px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.docker-name small { color: var(--muted); font-family: ui-monospace, monospace; font-size: 10px; }
.docker-cell-clip { max-width: 240px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.docker-state { display: inline-block; max-width: 190px; padding: 5px 8px; border-radius: 99px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 10px; }
.docker-state.running { color: #08795a; background: linear-gradient(120deg, #e3fff5, #e8fbff); }
.docker-state.paused { color: #8a5a06; background: linear-gradient(120deg, #fff6d8, #fff0df); }
.docker-state.stopped { color: #9f3650; background: linear-gradient(120deg, #fff0f7, #fff1eb); }
.docker-actions { display: flex; align-items: center; gap: 5px; white-space: nowrap; }
.docker-actions .button { padding: 6px 9px; font-size: 10px; }
.docker-pull { display: flex; gap: 10px; }
.docker-pull input {
  flex: 1; min-width: 180px; border: 1px solid #dbe0e7; border-radius: 11px; padding: 10px 12px;
  outline: none; font-family: ui-monospace, monospace; font-size: 12px;
}
.docker-pull input:focus { border-color: #13a77c; box-shadow: 0 0 0 3px rgba(16,185,129,.1); }
.docker-mirrors { margin: 12px 0 14px; color: var(--muted); overflow-wrap: anywhere; font-size: 11px; }
.docker-mirror-form { display: grid; gap: 9px; }
.docker-mirror-form label { color: var(--muted); font-size: 11px; }
.docker-mirror-form textarea { width: 100%; resize: vertical; min-height: 78px; padding: 10px 12px; border: 1px solid #dbe0e7; border-radius: 11px; outline: none; font: 12px/1.6 ui-monospace, monospace; }
.docker-mirror-form textarea:focus { border-color: #13a77c; box-shadow: 0 0 0 3px rgba(16,185,129,.1); }
.docker-mirror-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.docker-storage-panel > .card-head { align-items: flex-start; }
.docker-storage-panel > .card-head h2 { margin-bottom: 5px; }
.docker-storage-panel > .card-head p { max-width: 760px; margin: 0; color: var(--muted); font-size: 11px; line-height: 1.6; }
.docker-storage-body { display: grid; gap: 18px; }
.docker-storage-current { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.docker-storage-current article {
  min-width: 0; padding: 15px; border: 1px solid var(--line); border-radius: 14px; display: grid;
  grid-template-columns: 38px minmax(0, 1fr); gap: 11px; background: linear-gradient(145deg, #fbfdfd, #f8fbff);
}
.docker-storage-current article > i {
  width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  color: #08795a; background: #e8f8f3; font-style: normal; font-size: 17px;
}
.docker-storage-current article > span { min-width: 0; display: grid; gap: 4px; }
.docker-storage-current small { color: var(--muted); font-size: 10px; }
.docker-storage-current strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 600 12px/1.4 ui-monospace, monospace; }
.docker-storage-current em { color: var(--muted); font-size: 10px; font-style: normal; }
.docker-storage-actions-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.docker-storage-form { min-width: 0; padding: 17px; border: 1px solid var(--line); border-radius: 14px; display: flex; flex-direction: column; gap: 12px; }
.docker-storage-form-title { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 9px; align-items: center; }
.docker-storage-form-title > span { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: #0c9c72; font-size: 11px; font-weight: 700; }
.docker-storage-form-title > div { min-width: 0; display: grid; gap: 3px; }
.docker-storage-form-title b { font-size: 13px; }
.docker-storage-form-title small { color: var(--muted); font-size: 10px; line-height: 1.45; }
.docker-storage-form > label { display: grid; gap: 6px; color: var(--muted); font-size: 10px; }
.docker-storage-form select, .docker-storage-form input {
  width: 100%; min-width: 0; padding: 10px 11px; border: 1px solid #dbe0e7; border-radius: 10px;
  outline: none; background: #fff; color: var(--ink); font: 11px/1.4 ui-monospace, monospace;
}
.docker-storage-form select:focus, .docker-storage-form input:focus { border-color: #13a77c; box-shadow: 0 0 0 3px rgba(16,185,129,.1); }
.docker-storage-form > .button { align-self: flex-start; margin-top: auto; }
.docker-storage-target-preview { min-height: 43px; padding: 9px 11px; border-radius: 10px; display: grid; gap: 4px; background: #f3f7f8; }
.docker-storage-target-preview:empty { display: none; }
.docker-storage-target-preview small { color: var(--muted); font-size: 9px; }
.docker-storage-target-preview code { overflow-wrap: anywhere; color: #08795a; font: 10px/1.5 ui-monospace, monospace; }
.docker-storage-note { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.65; }
.docker-storage-progress { display: flex; align-items: center; gap: 8px; color: #08795a; font-size: 10px; line-height: 1.5; }
.docker-storage-progress i { width: 13px; height: 13px; flex: 0 0 auto; border: 2px solid #b9eadc; border-top-color: #0c9c72; border-radius: 50%; animation: docker-storage-spin .8s linear infinite; }
.docker-storage-unavailable summary { cursor: pointer; color: var(--muted); font-size: 10px; }
.docker-storage-unavailable ul { margin: 10px 0 0; padding: 0; display: grid; gap: 7px; list-style: none; }
.docker-storage-unavailable li { padding: 9px 11px; border: 1px solid var(--line); border-radius: 10px; display: flex; justify-content: space-between; gap: 12px; font-size: 10px; }
.docker-storage-unavailable li > span { min-width: 0; display: grid; gap: 3px; }
.docker-storage-unavailable li b { overflow-wrap: anywhere; font: 600 10px/1.4 ui-monospace, monospace; }
.docker-storage-unavailable li small, .docker-storage-unavailable li em { color: var(--muted); font-size: 9px; font-style: normal; }
.docker-storage-unavailable li em { color: #9a650a; text-align: right; }
@keyframes docker-storage-spin { to { transform: rotate(360deg); } }
.warning-text { color: #9a650a; }
.docker-logs {
  min-height: 160px; max-height: 420px; margin: 0; padding: 15px; overflow: auto; border-radius: 11px;
  background: #0d1521; color: #c9f7e7; white-space: pre-wrap; overflow-wrap: anywhere;
  font: 11px/1.65 ui-monospace, "Cascadia Code", Consolas, monospace;
}
.empty.compact { padding: 34px 20px; }
.device-management { align-items: start; }
.device-management-error { margin-top: 18px; }
.device-list { display: grid; gap: 10px; }
.device-row {
  min-width: 0; display: grid; grid-template-columns: 38px minmax(0, 1fr) auto auto;
  align-items: center; gap: 10px; padding: 10px; border: 1px solid var(--line); border-radius: 12px;
}
.device-symbol { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: #08795a; background: #e8f8f3; }
.device-copy { min-width: 0; display: grid; gap: 3px; }
.device-copy strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
.device-copy small, .device-scopes { color: var(--muted); font-size: 10px; }
.pairing-code { color: #08795a; font: 700 17px/1 ui-monospace, monospace; letter-spacing: .12em; }
.device-row .button { padding: 7px 10px; font-size: 10px; }
.device-row.pairing-highlight {
  border-color: #13b98a;
  background: linear-gradient(90deg, rgba(19, 185, 138, .14), rgba(31, 118, 205, .08));
  box-shadow: 0 0 0 3px rgba(19, 185, 138, .12);
}

.user-management { align-items: start; }
.check-field { display: flex; align-items: flex-start; gap: 10px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 11px; cursor: pointer; }
.check-field input { width: 17px; height: 17px; margin-top: 2px; accent-color: #0da77b; }
.check-field span { display: grid; gap: 3px; }
.check-field b { font-size: 12px; }
.check-field small { color: var(--muted); font-size: 10px; line-height: 1.5; }
.user-list { display: grid; gap: 11px; }
.user-row { display: grid; grid-template-columns: 42px minmax(150px, 1fr) auto; gap: 11px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 13px; }
.user-row.disabled-user { opacity: .67; background: #f8f9fb; }
.user-avatar { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; color: #08795a; background: #e8f8f3; font-weight: 800; }
.user-copy { min-width: 0; display: grid; gap: 3px; }
.user-copy strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
.user-copy small { color: var(--muted); font-size: 10px; }
.user-actions, .user-password-reset { display: flex; justify-content: flex-end; align-items: center; flex-wrap: wrap; gap: 6px; }
.user-actions .button, .user-password-reset .button { padding: 6px 8px; font-size: 9px; }
.user-password-reset { grid-column: 2 / -1; }
.user-password-reset input { min-width: 150px; flex: 1; border: 1px solid #dbe0e7; border-radius: 9px; padding: 8px 10px; outline: none; font-size: 10px; }
.user-password-reset input:focus { border-color: #13a77c; box-shadow: 0 0 0 3px rgba(16,185,129,.1); }

.diagnostics-card { margin-top: 18px; }
.diagnostics-card .card-head > div { min-width: 0; }
.diagnostics-card .card-head p { margin: 5px 0 0; color: var(--muted); font-size: 11px; }
.diagnostics-body { display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.diagnostics-body > div { display: grid; gap: 5px; max-width: 760px; }
.diagnostics-body strong { font-size: 12px; }
.diagnostics-body span { color: var(--muted); font-size: 11px; line-height: 1.65; }
.diagnostics-body .button { flex: 0 0 auto; }

.update-card { margin-top: 18px; }
.update-card .card-head > div { min-width: 0; }
.update-card .card-head p { margin: 5px 0 0; color: var(--muted); font-size: 11px; }
.update-body { display: grid; gap: 15px; }
.update-summary { max-width: 680px; }
.staged-release { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 13px; border: 1px solid #bce8d9; border-radius: 12px; background: #f1fbf7; }
.update-shield { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 11px; color: white; background: #0ca678; font-weight: 800; }
.staged-release > div { min-width: 0; display: grid; gap: 4px; }
.staged-release strong { font-size: 12px; }
.staged-release small { color: var(--muted); font-size: 10px; }
.staged-release code { overflow: hidden; color: #527066; text-overflow: ellipsis; white-space: nowrap; font: 9px/1.4 ui-monospace, monospace; }
.staged-release .button { padding: 7px 10px; font-size: 10px; }
.compact-notice { margin: 0; }
.update-upload { display: grid; grid-template-columns: minmax(220px, 1fr) auto; gap: 10px; align-items: stretch; }
.update-upload input { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }
.update-file-picker { min-width: 0; display: grid; gap: 3px; padding: 10px 12px; border: 1px dashed #b7c2cf; border-radius: 11px; background: #fafbfc; cursor: pointer; }
.update-file-picker:hover { border-color: #13a77c; background: #f4fbf8; }
.update-file-picker b { font-size: 11px; }
.update-file-picker span { overflow: hidden; color: var(--muted); text-overflow: ellipsis; white-space: nowrap; font-size: 10px; }
.update-footnote { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.6; }
.release-confirm-row { display: flex; align-items: end; gap: 10px; }
.release-confirm-row label { min-width: 220px; flex: 1; display: grid; gap: 5px; }
.release-confirm-row label b { font-size: 10px; }
.release-confirm-row input, .release-row input { min-width: 0; border: 1px solid #dbe0e7; border-radius: 9px; padding: 8px 10px; outline: none; font: 10px/1.3 ui-monospace, monospace; }
.release-confirm-row input:focus, .release-row input:focus { border-color: #13a77c; box-shadow: 0 0 0 3px rgba(16,185,129,.1); }
.release-list { display: grid; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.release-list-title { display: flex; justify-content: space-between; gap: 15px; padding: 10px 12px; background: #f7f9fa; font-size: 10px; }
.release-list-title span { color: var(--muted); }
.release-row { display: grid; grid-template-columns: minmax(120px, 1fr) minmax(150px, 220px) auto; align-items: center; gap: 9px; padding: 10px 12px; border-top: 1px solid var(--line); }
.release-row > div { min-width: 0; display: grid; gap: 3px; }
.release-row strong { font-size: 11px; }
.release-row small { color: var(--muted); font-size: 9px; }
.release-row .button { padding: 7px 9px; font-size: 9px; }
.release-row.active-release { background: #f3fbf8; }
.restart-notice { margin-top: 20px; padding: 24px; }

.storage-volumes { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.storage-volume-title { min-width: 0; display: grid; gap: 3px; }
.storage-volume-title h2 { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.storage-volume-title span { color: var(--muted); font: 9px/1.4 ui-monospace, monospace; overflow-wrap: anywhere; }
.storage-section { margin-top: 25px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 0 0 14px; }
.section-heading h2 { margin: 0; font-size: 17px; }
.section-heading p { margin: 5px 0 0; color: var(--muted); font-size: 12px; }
.storage-device-list { display: grid; gap: 14px; }
.storage-groups { display: grid; gap: 24px; }
.storage-group { display: grid; gap: 11px; }
.storage-group-title { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 2px; }
.storage-group-title h3 { margin: 0; font-size: 14px; }
.storage-group-title p { margin: 4px 0 0; color: var(--muted); font-size: 11px; }
.storage-device { overflow: hidden; }
.storage-device-head {
  display: grid; grid-template-columns: 44px minmax(190px, 1fr) auto auto; align-items: center;
  gap: 13px; padding: 18px 20px; border-bottom: 1px solid var(--line);
}
.storage-device-icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: #08795a; background: #e8f8f3; font-size: 19px; }
.storage-device-head h3 { margin: 0; font-size: 14px; }
.storage-device-head p { margin: 4px 0 0; color: var(--muted); font: 10px/1.5 ui-monospace, monospace; overflow-wrap: anywhere; }
.storage-tags, .storage-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.storage-actions { justify-content: flex-end; }
.storage-actions .button, .storage-partition .button { padding: 7px 10px; font-size: 10px; }
.tag.success-tag { color: #08795a; background: #e6f8f1; }
.tag.danger-tag { color: #a52644; background: #fff0f3; }
.storage-partitions { padding: 7px 20px 12px; }
.storage-partition {
  min-width: 0; display: grid; grid-template-columns: minmax(180px, 1fr) minmax(220px, 1.2fr) auto;
  align-items: center; gap: 15px; padding: 11px 0; border-bottom: 1px solid #eff1f4; font-size: 11px;
}
.storage-partition:last-child { border-bottom: 0; }
.storage-partition > div:first-child { min-width: 0; display: grid; gap: 3px; }
.storage-partition strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.storage-partition span, .storage-mount { color: var(--muted); overflow-wrap: anywhere; }
.storage-mount { min-width: 0; display: grid; gap: 3px; }
.storage-mount b { color: var(--ink); font-size: 10px; font-weight: 650; }
.storage-mount span { font: 9px/1.45 ui-monospace, monospace; }
.empty-partition { display: block; color: var(--muted); }
.storage-smart { margin-top: 18px; }
.storage-smart details { margin-top: 18px; }
.storage-smart summary { cursor: pointer; color: var(--muted); font-size: 11px; }
.smart-json { max-height: 420px; margin: 11px 0 0; padding: 14px; overflow: auto; border-radius: 11px; background: #0d1521; color: #c9f7e7; font: 10px/1.55 ui-monospace, monospace; }

.gate {
  position: fixed; inset: 0; z-index: 100; min-height: 100vh; min-height: 100dvh; padding: clamp(18px, 3vw, 42px);
  display: grid; place-items: center; overflow: auto;
  background:
    radial-gradient(circle at 18% 16%, rgba(14,165,233,.22), transparent 34%),
    radial-gradient(circle at 78% 78%, rgba(16,185,129,.15), transparent 29%),
    #0c1422;
}
.gate-layout {
  width: min(1280px, 100%); min-height: min(760px, calc(100dvh - 84px)); display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(390px, 440px); overflow: hidden;
  border: 1px solid rgba(255,255,255,.1); border-radius: 30px;
  background: linear-gradient(145deg, rgba(20,36,55,.98), rgba(12,24,39,.98));
  box-shadow: 0 32px 100px rgba(0,0,0,.38);
}
.gate-visual { position: relative; min-width: 0; min-height: 620px; overflow: hidden; isolation: isolate; }
.gate-visual::before {
  content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(9,20,34,.08) 42%, rgba(9,20,34,.76) 100%),
    radial-gradient(circle at 74% 22%, rgba(34,211,238,.16), transparent 31%);
}
.gate-visual::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(90deg, transparent 72%, rgba(9,19,32,.24));
}
.gate-visual-copy { position: relative; z-index: 3; width: min(650px, 88%); padding: clamp(42px, 6vw, 78px); color: white; }
.gate-eyebrow { color: #5eead4; font-size: 11px; font-weight: 700; letter-spacing: .15em; }
.gate-visual h1 { max-width: 590px; margin: 18px 0 14px; font-size: clamp(32px, 4vw, 56px); line-height: 1.13; letter-spacing: -.05em; }
.gate-visual-copy p { max-width: 560px; margin: 0; color: #b5c4d8; font-size: 15px; line-height: 1.75; }
.gate-benefits { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 24px; }
.gate-benefits span { padding: 7px 11px; border: 1px solid rgba(94,234,212,.24); border-radius: 99px; background: rgba(15,118,110,.14); color: #d4fff6; font-size: 11px; }
.gate-illustration { position: absolute; z-index: 1; inset: auto 0 0; height: 61%; display: grid; align-items: end; }
.gate-illustration img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center bottom; }
.gate-card {
  position: relative; z-index: 4; align-self: stretch; width: 100%; display: flex; flex-direction: column; justify-content: center;
  background: rgba(255,255,255,.985); padding: clamp(34px, 4.2vw, 58px); box-shadow: -18px 0 60px rgba(0,0,0,.12);
}
.gate-brand { margin-bottom: 26px; }
.gate-brand span { color: var(--muted); font-size: 12px; }
.gate h2 { margin: 0 0 8px; font-size: 22px; }
.gate .lead { color: var(--muted); line-height: 1.65; font-size: 13px; margin: 0 0 22px; }
.form { display: grid; gap: 15px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 12px; color: #566174; }
.field input { width: 100%; border: 1px solid #dbe0e7; border-radius: 11px; padding: 11px 12px; outline: none; }
.field input:focus { border-color: #13a77c; box-shadow: 0 0 0 3px rgba(16,185,129,.1); }
.form-error { color: #c4304b; background: #fff0f2; padding: 10px 12px; border-radius: 10px; font-size: 12px; }
.gate .button { width: 100%; padding: 12px; margin-top: 4px; }
.gate-local-note { margin: 24px 0 0; color: #8a94a5; font-size: 11px; text-align: center; }
.activation-code { text-transform: uppercase; letter-spacing: .1em; font-family: ui-monospace, monospace; }

.toast-region { position: fixed; z-index: 200; right: 20px; bottom: 20px; display: grid; gap: 9px; }
.toast { max-width: 360px; padding: 12px 15px; border-radius: 11px; background: #172033; color: white; box-shadow: 0 12px 30px rgba(0,0,0,.2); font-size: 12px; animation: toast-in .2s ease-out; }
.toast.error { background: #9f1239; }
@keyframes toast-in { from { transform: translateY(8px); opacity: 0; } }

@media (max-width: 1100px) {
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .two-grid { grid-template-columns: 1fr; }
  .feature-list { grid-template-columns: repeat(2, 1fr); }
  .application-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 310px)); justify-content: start; }
}

@media (max-width: 760px) {
  .shell { display: block; }
  .workspace { min-height: 100vh; }
  .sidebar { transform: translateX(-102%); transition: transform .2s ease; box-shadow: 18px 0 40px rgba(0,0,0,.2); }
  .sidebar.open { transform: translateX(0); }
  .menu-button { display: inline-grid; place-items: center; }
  .topbar { height: 75px; padding: 12px 16px; }
  .topbar h1 { font-size: 20px; }
  .top-action-button { width: 39px; padding: 0; justify-content: center; }
  .top-action-button span, .user-chip-copy { display: none; }
  .user-chip { min-width: 0; padding: 0; border: 0; background: transparent; box-shadow: none; }
  main { padding: 7px 14px 36px; }
  .file-table th:nth-child(2), .file-table td:nth-child(2), .file-table th:nth-child(3), .file-table td:nth-child(3) { display: none; }
  .media-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
  .media-index-note { width: 100%; margin-left: 0; }
  .feature-list { grid-template-columns: 1fr; }
  .application-grid { grid-template-columns: 1fr; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .docker-pull { align-items: stretch; flex-direction: column; }
  .docker-storage-current, .docker-storage-actions-grid { grid-template-columns: 1fr; }
  .docker-storage-form > .button { width: 100%; }
  .device-row { grid-template-columns: 36px minmax(0, 1fr) auto; }
  .device-row .device-scopes { display: none; }
  .device-row .button { grid-column: 2 / -1; }
  .user-row { grid-template-columns: 40px minmax(0, 1fr); }
  .user-row > .tag, .user-actions, .user-password-reset { grid-column: 2; justify-content: flex-start; }
  .diagnostics-body { align-items: stretch; flex-direction: column; }
  .diagnostics-body .button { width: 100%; }
  .staged-release { grid-template-columns: 36px minmax(0, 1fr); }
  .staged-release .button { grid-column: 2; justify-self: start; }
  .update-upload { grid-template-columns: 1fr; }
  .release-confirm-row { align-items: stretch; flex-direction: column; }
  .release-confirm-row .button { width: 100%; }
  .release-row { grid-template-columns: minmax(0, 1fr) auto; }
  .release-row input { grid-column: 1 / -1; }
  .section-heading { align-items: flex-start; }
  .storage-device-head { grid-template-columns: 42px minmax(0, 1fr); }
  .storage-tags, .storage-actions { grid-column: 2; justify-content: flex-start; }
  .storage-partition { grid-template-columns: 1fr auto; }
  .storage-mount { grid-column: 1 / -1; }
  .gate { padding: 0; display: block; background: #0c1422; }
  .gate-layout { min-height: 100dvh; grid-template-columns: 1fr; border: 0; border-radius: 0; box-shadow: none; }
  .gate-card { order: 1; min-height: min(580px, 68dvh); padding: 36px clamp(22px, 8vw, 42px); border-radius: 0 0 24px 24px; box-shadow: 0 16px 50px rgba(0,0,0,.24); }
  .gate-visual { order: 2; min-height: 500px; display: flex; flex-direction: column; }
  .gate-visual-copy { width: 100%; padding: 44px clamp(24px, 8vw, 42px) 20px; }
  .gate-visual h1 { max-width: 420px; margin-top: 13px; font-size: clamp(28px, 8.3vw, 40px); }
  .gate-visual-copy p { font-size: 13px; }
  .gate-benefits { margin-top: 17px; }
  .gate-illustration { position: relative; inset: auto; width: 100%; height: auto; aspect-ratio: 16 / 9; margin-top: auto; opacity: .92; }
}

@media (max-width: 440px) {
  .stats-grid { grid-template-columns: 1fr; gap: 12px; }
  .stat { min-height: 108px; }
  .topbar p { display: none; }
  .media-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .media-copy { padding: 9px; }
  .gate-card { min-height: 560px; justify-content: flex-start; padding-top: 32px; }
  .gate-brand { margin-bottom: 22px; }
  .gate-visual { min-height: 500px; }
  .gate-benefits span { padding: 6px 9px; }
}

/* Docker Desktop-inspired workspace */
.docker-svg { width: 20px; height: 20px; display: block; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.stat-icon .docker-svg { width: 19px; height: 19px; }
.feature i .docker-svg { width: 22px; height: 22px; }
.empty-state-icon { width: 54px; height: 54px; margin: 0 auto; border-radius: 17px; display: grid; place-items: center; color: #6658e8; background: var(--soft-gradient); box-shadow: inset 0 0 0 1px rgba(111,92,252,.11), 0 10px 25px rgba(72,91,220,.11); }
.empty-state-icon .docker-svg { width: 27px; height: 27px; }
.empty.compact .empty-state-icon { margin-bottom: 4px; }

.docker-tabs {
  display: flex; align-items: center; gap: 7px; margin: 20px 0 4px; padding: 7px; overflow-x: auto;
  border: 1px solid rgba(111,92,252,.10); border-radius: 15px; background: rgba(255,255,255,.66); backdrop-filter: blur(14px);
  box-shadow: 0 10px 28px rgba(57,49,110,.08); scrollbar-width: thin;
}
.docker-tabs button {
  width: auto; flex: 0 0 auto; min-height: 42px; padding: 9px 13px; border: 0; border-radius: 11px; display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, rgba(245,244,255,.86), rgba(239,250,255,.86)); color: #586076; cursor: pointer; white-space: nowrap; font-size: 12px;
}
.docker-tabs button:hover { color: #4f46c8; background: linear-gradient(135deg, #eeeaff, #e6f8ff); }
.docker-tabs button.active { color: white; background: var(--primary-gradient); box-shadow: 0 8px 22px rgba(72,91,220,.22); }
.docker-tabs button .docker-svg { width: 17px; height: 17px; }
.docker-tabs button small { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; display: grid; place-items: center; background: rgba(93,88,154,.1); font-size: 9px; }
.docker-tabs button.active small { background: rgba(255,255,255,.2); }
.docker-tab-panels { min-width: 0; }
.docker-tab-panel { min-width: 0; animation: docker-panel-in .2s ease-out; }
@keyframes docker-panel-in { from { opacity: .2; transform: translateY(4px); } }

.docker-overview-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.docker-overview-card {
  min-width: 0; padding: 17px; border: 0; text-align: left; display: grid; grid-template-columns: 42px minmax(0, 1fr) 18px; align-items: center; gap: 11px; color: var(--ink); cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease;
}
.docker-overview-card:hover { transform: translateY(-3px); box-shadow: 0 20px 44px rgba(57,49,110,.14); }
.docker-overview-card > i { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; color: #5f55df; background: var(--soft-gradient); font-style: normal; }
.docker-overview-card > span { min-width: 0; display: grid; gap: 5px; }
.docker-overview-card strong { font-size: 13px; }
.docker-overview-card small { color: var(--muted); font-size: 10px; line-height: 1.45; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.docker-overview-card > .docker-svg { width: 16px; color: #928da5; }
.docker-safety-note { margin-top: 14px; }
.card-head > div > p { margin: 5px 0 0; color: var(--muted); font-size: 10px; }

.docker-search-box { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 6px 6px 6px 14px; border: 1px solid rgba(111,92,252,.17); border-radius: 15px; background: linear-gradient(135deg, rgba(247,245,255,.96), rgba(241,251,255,.96)); color: #746be0; box-shadow: inset 0 1px 0 rgba(255,255,255,.85); }
.docker-search-box input { min-width: 0; border: 0; outline: 0; padding: 8px 0; color: var(--ink); background: transparent; font-size: 13px; }
.docker-search-box:focus-within { border-color: rgba(111,92,252,.48); box-shadow: 0 0 0 4px rgba(111,92,252,.10); }
.docker-pull-jobs:empty { display: none; }
.docker-pull-queue { margin-top: 15px; padding: 15px; border: 1px solid rgba(111,92,252,.14); border-radius: 17px; background: linear-gradient(135deg, rgba(245,242,255,.88), rgba(236,250,255,.88) 55%, rgba(236,255,248,.84)); box-shadow: inset 0 1px 0 rgba(255,255,255,.9); }
.docker-pull-queue-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 11px; }
.docker-pull-queue-head > div { display: grid; gap: 3px; }
.docker-pull-queue-head strong { font-size: 13px; color: var(--ink); }
.docker-pull-queue-head span:not(.tag) { color: var(--muted); font-size: 10px; }
.docker-pull-job-list { display: grid; gap: 9px; }
.docker-pull-job { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 11px; padding: 12px; border: 1px solid rgba(111,92,252,.10); border-radius: 14px; background: rgba(255,255,255,.78); }
.docker-pull-job.completed { border-color: rgba(24,177,124,.2); background: linear-gradient(135deg, rgba(255,255,255,.9), rgba(231,255,246,.82)); }
.docker-pull-job.failed { border-color: rgba(244,63,94,.22); background: linear-gradient(135deg, rgba(255,255,255,.92), rgba(255,237,243,.85)); }
.docker-pull-job-icon { width: 42px; height: 42px; overflow: hidden; border-radius: 12px; background: var(--soft-gradient); box-shadow: 0 5px 15px rgba(57,55,134,.10); }
.docker-pull-job-icon img { width: 100%; height: 100%; display: block; object-fit: cover; }
.docker-pull-job-main { min-width: 0; display: grid; gap: 7px; }
.docker-pull-job-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-width: 0; }
.docker-pull-job-title strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
.docker-pull-job-title span { flex: 0 0 auto; color: #655ada; font-size: 10px; font-weight: 800; }
.docker-pull-job.completed .docker-pull-job-title span { color: #078a61; }
.docker-pull-job.failed .docker-pull-job-title span { color: #c92f58; }
.docker-pull-progress { height: 7px; overflow: hidden; border-radius: 999px; background: rgba(103,94,184,.12); box-shadow: inset 0 1px 2px rgba(51,45,105,.08); }
.docker-pull-progress i { height: 100%; min-width: 0; display: block; border-radius: inherit; background: var(--primary-gradient); box-shadow: 0 0 12px rgba(41,196,223,.4); transition: width .35s ease; }
.docker-pull-job.running .docker-pull-progress i, .docker-pull-job.queued .docker-pull-progress i { position: relative; overflow: hidden; }
.docker-pull-job.running .docker-pull-progress i::after, .docker-pull-job.queued .docker-pull-progress i::after { content: ""; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, rgba(255,255,255,.7), transparent); animation: docker-pull-shimmer 1.2s linear infinite; }
@keyframes docker-pull-shimmer { to { transform: translateX(100%); } }
.docker-pull-job.indeterminate .docker-pull-progress i { animation: docker-pull-indeterminate 1.35s ease-in-out infinite alternate; }
@keyframes docker-pull-indeterminate { from { transform: translateX(-80%); } to { transform: translateX(190%); } }
.docker-pull-job-meta { display: flex; flex-wrap: wrap; gap: 4px 11px; color: var(--muted); font-size: 9px; }
.docker-pull-job-meta span:first-child { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.docker-pull-error { padding: 7px 9px; border-radius: 8px; background: rgba(244,63,94,.08); color: #b4234d; font-size: 9px; line-height: 1.5; overflow-wrap: anywhere; }
.docker-search-results { margin-top: 16px; }
.docker-search-intro { min-height: 260px; padding: 38px 20px; display: grid; place-content: center; justify-items: center; gap: 7px; text-align: center; color: var(--muted); }
.docker-search-intro strong { margin-top: 8px; color: var(--ink); }
.docker-search-intro span { max-width: 480px; font-size: 11px; line-height: 1.6; }
.docker-search-intro.loading .empty-state-icon { animation: search-pulse 1s ease-in-out infinite alternate; }
@keyframes search-pulse { to { transform: scale(1.08); filter: hue-rotate(22deg); } }
.docker-search-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 12px; }
.docker-search-result { min-width: 0; padding: 15px; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 11px; border: 1px solid rgba(111,92,252,.10); border-radius: 15px; background: linear-gradient(145deg, #fff, #f8f7ff 58%, #effcff); }
.docker-search-result-icon { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; color: #6054df; background: var(--soft-gradient); }
.docker-search-result-icon img, .docker-image-brand img { width: 100%; height: 100%; display: block; border-radius: inherit; object-fit: cover; }
.docker-name > i.docker-image-brand { padding: 0; overflow: hidden; background: transparent; }
.docker-search-result-copy { min-width: 0; }
.docker-search-result-title { display: flex; align-items: center; gap: 7px; min-width: 0; }
.docker-search-result-title strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.docker-search-result-copy p { min-height: 34px; margin: 7px 0; color: var(--muted); font-size: 10px; line-height: 1.6; }
.docker-search-meta { display: flex; flex-wrap: wrap; gap: 6px 10px; color: #7a8397; font-size: 9px; }
.compatibility { font-weight: 650; }
.compatibility.armv7 { color: #07876a; }
.compatibility.multi { color: #4f5ed6; }
.compatibility.unknown { color: #9b5d17; }
.docker-search-pull { grid-column: 2; display: flex; align-items: end; gap: 8px; }
.docker-search-pull label { flex: 1; display: grid; gap: 5px; color: var(--muted); font-size: 9px; }
.docker-search-pull input { width: 100%; min-width: 0; padding: 8px 10px; border: 1px solid rgba(111,92,252,.15); border-radius: 9px; background: rgba(255,255,255,.82); outline: 0; font: 11px ui-monospace, monospace; }
.docker-search-pull input:focus { border-color: rgba(111,92,252,.5); box-shadow: 0 0 0 3px rgba(111,92,252,.09); }

.docker-dialog { width: min(790px, calc(100vw - 28px)); max-height: min(880px, calc(100dvh - 28px)); padding: 0; border: 0; border-radius: 22px; color: var(--ink); background: linear-gradient(150deg, #fff, #f8f7ff 54%, #effcff); box-shadow: 0 36px 100px rgba(26,24,70,.34); overflow: auto; }
.docker-dialog::backdrop { background: linear-gradient(135deg, rgba(25,20,66,.60), rgba(10,70,88,.46)); backdrop-filter: blur(8px); }
.docker-dialog-head { position: sticky; top: 0; z-index: 2; padding: 20px 22px 15px; display: flex; align-items: center; justify-content: space-between; gap: 16px; background: rgba(255,255,255,.86); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(111,92,252,.08); }
.docker-dialog-head > div { display: flex; align-items: center; gap: 12px; }
.docker-dialog-head h2 { margin: 0; font-size: 18px; }
.docker-dialog-head p { margin: 4px 0 0; color: var(--muted); font-size: 10px; }
.docker-dialog-icon { width: 43px; height: 43px; border-radius: 13px; display: grid; place-items: center; color: white; background: var(--primary-gradient); box-shadow: 0 9px 22px rgba(72,91,220,.24); }
.docker-dialog-body { padding: 20px 22px; }
.docker-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.docker-field { min-width: 0; display: grid; gap: 6px; color: #596276; font-size: 11px; }
.docker-field.wide { grid-column: 1 / -1; }
.docker-field span { display: flex; justify-content: space-between; gap: 8px; }
.docker-field small { color: #969eb0; font-weight: 400; }
.docker-field input, .docker-field select, .docker-field textarea { width: 100%; min-width: 0; padding: 10px 11px; border: 1px solid rgba(111,92,252,.15); border-radius: 11px; outline: 0; resize: vertical; background: rgba(255,255,255,.88); color: var(--ink); font: 11px/1.5 ui-monospace, monospace; }
.docker-field input:focus, .docker-field select:focus, .docker-field textarea:focus { border-color: rgba(111,92,252,.5); box-shadow: 0 0 0 4px rgba(111,92,252,.09); }
.docker-check { display: flex; align-items: center; gap: 8px; padding: 11px; border: 1px solid rgba(111,92,252,.10); border-radius: 11px; background: var(--soft-gradient); color: #4c5265; font-size: 11px; }
.docker-check input { accent-color: #675af0; }
.docker-dialog-actions { position: sticky; bottom: 0; padding: 14px 22px 18px; display: flex; justify-content: flex-end; gap: 9px; background: rgba(255,255,255,.9); backdrop-filter: blur(16px); border-top: 1px solid rgba(111,92,252,.08); }

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

@media (max-width: 760px) {
  .docker-tabs { margin-top: 14px; border-radius: 13px; }
  .docker-tabs button { min-height: 40px; padding: 8px 11px; }
  .docker-overview-grid { grid-template-columns: 1fr; }
  .docker-search-grid { grid-template-columns: 1fr; }
  .docker-search-box { grid-template-columns: 20px minmax(0, 1fr); padding: 8px 10px; }
  .docker-search-box .button { grid-column: 1 / -1; width: 100%; }
  .docker-pull-queue { padding: 12px; }
  .docker-pull-queue-head { align-items: flex-start; }
  .docker-pull-job { grid-template-columns: 36px minmax(0, 1fr); padding: 10px; }
  .docker-pull-job-icon { width: 36px; height: 36px; }
  .docker-pull-job-title { align-items: flex-start; flex-direction: column; gap: 3px; }
  .docker-form-grid { grid-template-columns: 1fr; }
  .docker-field.wide { grid-column: auto; }
  .docker-dialog-head { padding: 16px; }
  .docker-dialog-body { padding: 16px; }
  .docker-dialog-actions { padding: 12px 16px 16px; }
  .docker-dialog-actions .button { flex: 1; }
}
