:root {
  color-scheme: light;
  --green: #008f5f;
  --green-dark: #006b47;
  --blue: #1391bc;
  --orange: #d97706;
  --bg: #f6f8f7;
  --surface: #ffffff;
  --surface-soft: #fafcfb;
  --grey-ultra: #f4f5f4;
  --grey-light: #c8c6cb;
  --hover: rgba(0, 143, 95, 0.06);
  --active: rgba(0, 143, 95, 0.12);
  --border: rgba(0, 0, 0, 0.08);
  --border-strong: rgba(0, 0, 0, 0.12);
  --text: #1a1a1a;
  --secondary: #4b5563;
  --muted: #9ca3af;
  --danger: #b91c1c;
  --danger-bg: #fef2f2;
  --success-bg: #ecfdf5;
  --warning-bg: #fff7ed;
}

* { box-sizing: border-box; }
html, body { min-height: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  font-size: 12px;
}
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: none; color: var(--green-dark); }

.shell {
  display: flex;
  min-height: 100vh;
  background: var(--bg);
}

.sidebar {
  background: var(--bg);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  height: 100vh;
  left: 0;
  overflow: hidden;
  padding: 0;
  position: fixed;
  top: 0;
  width: 240px;
  z-index: 100;
}

.brand {
  align-items: center;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 10px;
  min-height: 64px;
  padding: 16px 12px 14px;
}
.brand.compact {
  border: 0;
  justify-content: center;
  margin-bottom: 18px;
  min-height: 0;
  padding: 0;
  text-align: center;
}
.brand-mark {
  align-items: center;
  background: #111111;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(17, 17, 17, 0.22);
  display: flex;
  height: 30px;
  justify-content: center;
  min-width: 30px;
  overflow: hidden;
  width: 30px;
}
.brand-mark.large {
  background: transparent;
  box-shadow: none;
  height: 58px;
  margin: 0 auto 12px;
  width: 58px;
}
.brand-mark img {
  height: 68%;
  object-fit: contain;
  width: 68%;
}
.brand-mark.large img { height: 100%; width: 100%; }
.brand strong {
  color: #020617;
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .15em;
  line-height: 1;
}
.brand span {
  color: var(--green);
  display: block;
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: .2em;
  margin-top: 3px;
  text-transform: uppercase;
}

.nav {
  display: grid;
  flex: 1;
  gap: 1px;
  align-content: start;
  grid-auto-rows: max-content;
  overflow-y: auto;
  padding: 10px 6px;
}
.nav a {
  align-items: center;
  border-radius: 8px;
  color: var(--text);
  display: flex;
  font-size: 12px;
  gap: 9px;
  min-height: 34px;
  padding: 7px 10px 7px 12px;
  position: relative;
  transition: background .12s, color .12s;
}
.nav a::before {
  background: transparent;
  border-radius: 0 3px 3px 0;
  content: '';
  height: 16px;
  left: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
}
.nav a:hover { background: var(--hover); }
.nav a.active {
  background: var(--active);
  color: var(--green);
  font-weight: 700;
}
.nav a.active::before { background: var(--green); }

.logout {
  border-top: 1px solid var(--border);
  padding: 10px;
}
.logout button {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 0;
  color: var(--secondary);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  min-height: 34px;
  padding: 8px 13px;
  text-transform: uppercase;
  width: 100%;
}
.logout button:hover { background: rgba(217,119,6,.12); color: var(--orange); }

.main {
  flex: 1;
  margin-left: 240px;
  min-width: 0;
  padding: 0;
}
.topbar {
  align-items: center;
  background: var(--surface);
  border-bottom: 1px solid #e4edf0;
  box-shadow: 0 1px 0 rgba(0,0,0,.04);
  display: flex;
  height: 54px;
  justify-content: space-between;
  padding: 0 20px;
  position: sticky;
  top: 0;
  z-index: 90;
}
.topbar h1 {
  color: #111827;
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 2px 0 0;
}
.eyebrow {
  color: var(--green);
  display: block;
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: .1em;
  margin: 0;
  text-transform: uppercase;
}
.clock {
  border-left: 1px solid #e4edf0;
  color: var(--secondary);
  font-size: 10px;
  font-weight: 700;
  padding-left: 14px;
}

.main > .alert,
.main > .metrics,
.main > .panel,
.main > .grid {
  margin-left: 16px;
  margin-right: 16px;
}
.main > .alert { margin-top: 12px; }
.metrics { margin-top: 12px; }

.metrics {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 12px;
}
.metrics article {
  background: #ffffff;
  border: 1px solid rgba(15,23,42,.08);
  min-height: 86px;
  padding: 12px;
}
.metrics span {
  color: var(--secondary);
  display: block;
  font-size: 9px;
  margin-top: 2px;
}
.metrics strong {
  color: #111827;
  display: block;
  font-size: 16px;
  letter-spacing: -.03em;
  margin-top: 12px;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0;
  box-shadow: none;
  margin-bottom: 12px;
  overflow: hidden;
  padding: 16px;
  position: relative;
}
.panel::before {
  background: var(--green);
  content: '';
  height: 2px;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}
.panel h2 {
  color: #111827;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: -.01em;
  margin: 0;
}
.panel-head {
  align-items: center;
  background: linear-gradient(180deg,#fafcfb 0%,#f7f9f8 100%);
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin: -16px -16px 16px;
  padding: 11px 14px;
  position: relative;
}
.panel-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}
.refresh-status {
  color: var(--muted);
  font-size: 9.5px;
  font-weight: 700;
}
.performance-toolbar {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-left: auto;
}
.icon-button {
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--green);
  display: inline-flex;
  font-size: 15px;
  font-weight: 800;
  height: 30px;
  justify-content: center;
  line-height: 1;
  width: 30px;
}
.icon-button.small {
  font-size: 13px;
  height: 26px;
  min-height: 26px;
  width: 26px;
}
.icon-button:hover {
  background: var(--hover);
  color: var(--green-dark);
}
.panel-head::after {
  background: linear-gradient(90deg,var(--green) 0%,transparent 50%);
  bottom: -1px;
  content: '';
  height: 1px;
  left: 0;
  opacity: .15;
  position: absolute;
  right: 0;
}
.grid { display: grid; gap: 12px; }
.grid.two { grid-template-columns: repeat(2, minmax(0,1fr)); }

.table-wrap { overflow-x: auto; }
table {
  border-collapse: separate;
  border-spacing: 0;
  min-width: 760px;
  width: 100%;
}
th {
  background: linear-gradient(180deg,#fafcfb 0%,#f4f7f6 100%);
  border-bottom: 2px solid var(--border-strong);
  color: var(--text);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .05em;
  padding: 9px 10px;
  text-align: left;
  text-transform: uppercase;
}
td {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  font-size: 11px;
  padding: 9px 10px;
  vertical-align: middle;
}
tr:hover td { background: #fbfcfc; }
code, pre { font-family: Consolas, 'Liberation Mono', monospace; }
td code {
  color: var(--muted);
  display: block;
  font-size: 9px;
  margin-top: 3px;
}
.schedule-text {
  color: #111827;
  display: block;
  font-size: 10.5px;
  font-weight: 700;
}
pre { margin: 0; white-space: pre-wrap; word-break: break-word; }
.log, .command {
  background: #0f172a;
  color: #dbeafe;
  font-size: 10.5px;
  padding: 12px;
}

.form label {
  color: var(--muted);
  display: grid;
  font-size: 8.5px;
  font-weight: 700;
  gap: 5px;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.form.stack { display: grid; gap: 10px; }
.row { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0,1fr)); }
.checkrow label {
  align-items: center;
  color: var(--text);
  display: flex;
  font-size: 10px;
  gap: 6px;
  letter-spacing: 0;
  text-transform: none;
}
.field-head {
  align-items: flex-start;
  display: flex;
  gap: 10px;
  justify-content: space-between;
}
.field-head strong {
  color: var(--ink);
  display: block;
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.schedule-builder {
  background: #fbfcfc;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  padding: 10px;
}
.schedule-list {
  display: grid;
  gap: 8px;
}
.schedule-row {
  align-items: end;
  background: #ffffff;
  border: 1px solid #edf0ef;
  border-radius: 8px;
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(105px, .8fr) minmax(120px, 1fr) minmax(105px, .8fr) minmax(160px, 1.2fr) 32px;
  padding: 8px;
}
.schedule-remove {
  height: 31px;
  min-height: 31px;
  width: 31px;
}
input, select, textarea {
  background: var(--grey-ultra);
  border: 1px solid var(--border);
  border-radius: 0;
  color: var(--text);
  min-height: 32px;
  outline: none;
  padding: 7px 10px;
  width: 100%;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 2px rgba(0,143,95,.12);
}
textarea { resize: vertical; }

button, .button {
  align-items: center;
  border: 0;
  border-radius: 0;
  display: inline-flex;
  font-size: 10px;
  font-weight: 700;
  gap: 8px;
  justify-content: center;
  letter-spacing: .06em;
  min-height: 34px;
  padding: 8px 14px;
  text-transform: uppercase;
  transition: background .15s, color .15s, opacity .15s;
}
.primary { background: var(--green); color: #ffffff; }
.primary:hover { background: var(--green-dark); color: #ffffff; }
.button, .ghost {
  background: #ffffff;
  border: 1px solid var(--green);
  color: var(--green);
}
.button:hover, .ghost:hover { background: var(--hover); color: var(--green); }
.danger { border-color: rgba(185,28,28,.24); color: var(--danger); }
.actions { display: flex; flex-wrap: wrap; gap: 6px; }

.status {
  border: 1px solid currentColor;
  border-radius: 0;
  display: inline-flex;
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: .08em;
  padding: 3px 7px;
  text-transform: uppercase;
}
.status.success { background: var(--success-bg); color: var(--green); }
.status.failed { background: var(--danger-bg); color: var(--danger); }
.status.running { background: #eff6ff; color: #0369a1; }
.status.pending { background: #f3f4f6; color: #6b7280; }
.status.warning { background: var(--warning-bg); color: var(--orange); }

.alert {
  backdrop-filter: blur(22px) saturate(1.25);
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(0,143,95,.2);
  color: #111827;
  font-size: 12px;
  font-weight: 700;
  padding: 12px 14px;
}
.alert.danger { border-color: rgba(185,28,28,.22); color: var(--danger); }
.toast-stack {
  display: grid;
  gap: 7px;
  pointer-events: none;
  position: fixed;
  right: 22px;
  top: 72px;
  width: min(330px, calc(100vw - 44px));
  z-index: 1200;
}
.toast-stack.login-toast {
  right: 22px;
  top: 22px;
  width: min(330px, calc(100vw - 44px));
}
.toast-message {
  align-items: center;
  animation: toast-enter .28s cubic-bezier(.2,.8,.2,1) both;
  backdrop-filter: blur(20px) saturate(1.25);
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(255,255,255,.76);
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(16, 24, 40, .14), inset 0 1px 0 rgba(255,255,255,.72);
  color: #111827;
  display: grid;
  gap: 9px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  min-height: 50px;
  overflow: hidden;
  padding: 8px 9px;
  pointer-events: auto;
  position: relative;
}
.toast-message::after {
  animation: toast-progress 4.6s linear forwards;
  background: rgba(0, 143, 95, .55);
  bottom: 0;
  content: '';
  height: 2px;
  left: 0;
  position: absolute;
  width: 100%;
}
.toast-message.danger::after {
  background: rgba(185, 28, 28, .58);
}
.toast-message.is-leaving {
  animation: toast-leave .22s ease-in forwards;
}
.toast-icon {
  align-items: center;
  background: linear-gradient(180deg, #1db97f 0%, var(--green) 100%);
  border-radius: 999px;
  box-shadow: 0 7px 16px rgba(0, 143, 95, .25);
  color: #ffffff;
  display: inline-flex;
  height: 24px;
  justify-content: center;
  position: relative;
  width: 24px;
}
.toast-icon::before {
  border-bottom: 2px solid currentColor;
  border-right: 2px solid currentColor;
  content: '';
  height: 8px;
  margin-top: -2px;
  transform: rotate(45deg);
  width: 4px;
}
.toast-message.danger .toast-icon {
  background: linear-gradient(180deg, #ef4444 0%, #b91c1c 100%);
  box-shadow: 0 7px 16px rgba(185, 28, 28, .24);
}
.toast-message.danger .toast-icon::before {
  border: 0;
  content: '!';
  font-size: 14px;
  font-weight: 900;
  height: auto;
  margin: 0;
  transform: none;
  width: auto;
}
.toast-message strong {
  color: #111827;
  display: block;
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: -.01em;
  margin-bottom: 1px;
}
.toast-message p {
  color: #475467;
  font-size: 9.5px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
}
.toast-message.danger p {
  color: #8f1d1d;
}
.toast-message button {
  align-items: center;
  background: rgba(17,24,39,.06);
  border: 0;
  border-radius: 999px;
  color: #667085;
  display: inline-flex;
  font-size: 15px;
  height: 22px;
  justify-content: center;
  line-height: 1;
  min-height: 22px;
  padding: 0;
  width: 22px;
}
.toast-message button:hover {
  background: rgba(17,24,39,.10);
  color: #111827;
}
.ubuntu-confirm {
  background: transparent;
  border: 0;
  max-width: min(380px, calc(100vw - 28px));
  padding: 0;
  width: 380px;
}
.ubuntu-confirm::backdrop {
  background: rgba(47, 43, 42, .42);
  backdrop-filter: blur(5px);
}
.ubuntu-confirm-card {
  background: #f6f4f2;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 12px;
  box-shadow: 0 18px 48px rgba(16, 24, 40, .24);
  overflow: hidden;
}
.ubuntu-confirm-titlebar {
  align-items: center;
  background: linear-gradient(180deg, #3f3a39 0%, #2d2928 100%);
  color: #ffffff;
  display: grid;
  gap: 9px;
  grid-template-columns: auto minmax(0, 1fr);
  min-height: 34px;
  padding: 6px 10px;
}
.ubuntu-confirm-titlebar strong {
  font-size: 10px;
  letter-spacing: .01em;
}
.ubuntu-confirm-body {
  display: grid;
  gap: 11px;
  grid-template-columns: auto minmax(0, 1fr);
  padding: 15px 16px 12px;
}
.ubuntu-confirm-icon {
  background: linear-gradient(180deg, #f97316 0%, #e95420 100%);
  border-radius: 11px;
  box-shadow: 0 8px 18px rgba(233, 84, 32, .22);
  color: #ffffff;
  display: inline-flex;
  height: 34px;
  position: relative;
  width: 34px;
}
.ubuntu-confirm-icon::before {
  content: '!';
  font-size: 20px;
  font-weight: 900;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
}
.ubuntu-confirm-body h2 {
  color: #2f2b2a;
  font-size: 13px;
  line-height: 1.2;
  margin: 0;
}
.ubuntu-confirm-body p {
  color: #625853;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.4;
  margin: 4px 0 0;
}
.ubuntu-confirm-word {
  display: grid;
  gap: 6px;
  margin-top: 10px;
}
.ubuntu-confirm-word[hidden] {
  display: none;
}
.ubuntu-confirm-word span {
  color: #746b65;
  font-size: 8.5px;
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.ubuntu-confirm-word input {
  background: #ffffff;
  border: 1px solid #d8d1ca;
  border-radius: 8px;
  color: #2f2b2a;
  font-size: 11px;
  font-weight: 800;
  min-height: 32px;
  padding: 7px 9px;
}
.ubuntu-confirm-word input:focus {
  border-color: rgba(233, 84, 32, .6);
  box-shadow: 0 0 0 3px rgba(233, 84, 32, .14);
  outline: none;
}
.ubuntu-confirm-actions {
  align-items: center;
  background: #ebe7e2;
  border-top: 1px solid #d8d1ca;
  display: flex;
  gap: 7px;
  justify-content: flex-end;
  padding: 9px 10px;
}
.ubuntu-confirm-actions button {
  border-radius: 7px;
  font-size: 9.5px;
  font-weight: 900;
  min-height: 29px;
  padding: 6px 10px;
  text-transform: none;
}
.ubuntu-confirm-cancel {
  background: #ffffff;
  border: 1px solid #d8d1ca;
  color: #3f3a39;
}
.ubuntu-confirm-accept {
  background: #e95420;
  border: 1px solid #d94512;
  color: #ffffff;
}
.ubuntu-confirm-accept:disabled {
  cursor: not-allowed;
  opacity: .45;
}
.ubuntu-folder-dialog {
  background: transparent;
  border: 0;
  max-width: min(390px, calc(100vw - 28px));
  padding: 0;
  width: 390px;
}
.ubuntu-folder-dialog::backdrop {
  background: rgba(47, 43, 42, .36);
  backdrop-filter: blur(5px);
}
.ubuntu-folder-card {
  background: #f6f4f2;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 12px;
  box-shadow: 0 18px 48px rgba(16, 24, 40, .24);
  overflow: hidden;
}
.ubuntu-folder-titlebar {
  align-items: center;
  background: linear-gradient(180deg, #3f3a39 0%, #2d2928 100%);
  color: #ffffff;
  display: grid;
  gap: 9px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  min-height: 34px;
  padding: 6px 10px;
}
.ubuntu-folder-titlebar strong {
  font-size: 10px;
}
.ubuntu-folder-titlebar button {
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  color: #ffffff;
  font-size: 14px;
  height: 22px;
  min-height: 22px;
  padding: 0;
  width: 22px;
}
.ubuntu-folder-body {
  display: grid;
  gap: 12px;
  grid-template-columns: auto minmax(0, 1fr);
  padding: 16px 16px 12px;
}
.ubuntu-folder-large-icon {
  background: #e95420;
  border-radius: 5px;
  box-shadow: inset 0 -9px 0 rgba(0,0,0,.08), 0 8px 18px rgba(233, 84, 32, .22);
  height: 34px;
  position: relative;
  width: 42px;
}
.ubuntu-folder-large-icon::before {
  background: #f4814a;
  border-radius: 5px 5px 0 0;
  content: '';
  height: 10px;
  left: 5px;
  position: absolute;
  top: -6px;
  width: 19px;
}
.ubuntu-folder-large-icon::after {
  background: linear-gradient(#ffffff, #ffffff) center / 14px 2px no-repeat,
              linear-gradient(#ffffff, #ffffff) center / 2px 14px no-repeat;
  content: '';
  height: 18px;
  left: 12px;
  opacity: .9;
  position: absolute;
  top: 8px;
  width: 18px;
}
.ubuntu-folder-body h2 {
  color: #2f2b2a;
  font-size: 13px;
  margin: 0;
}
.ubuntu-folder-body p {
  color: #746b65;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.35;
  margin: 4px 0 12px;
}
.ubuntu-folder-body .ubuntu-rename-extension-note {
  background: rgba(0, 143, 95, .10);
  border: 1px solid rgba(0, 143, 95, .22);
  border-radius: 8px;
  color: var(--green-dark);
  margin-top: -5px;
  padding: 7px 8px;
}
.ubuntu-rename-extension-suffix {
  color: #867a73;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
}
.ubuntu-folder-body label {
  color: #625853;
  display: grid;
  font-size: 9px;
  font-weight: 900;
  gap: 6px;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.ubuntu-folder-body input,
.ubuntu-folder-body select {
  background: #ffffff;
  border: 1px solid #d8d1ca;
  border-radius: 8px;
  color: #2f2b2a;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  min-height: 32px;
  padding: 7px 9px;
  text-transform: none;
}
.ubuntu-folder-body input:focus,
.ubuntu-folder-body select:focus {
  border-color: rgba(233, 84, 32, .6);
  box-shadow: 0 0 0 3px rgba(233, 84, 32, .14);
}
.ubuntu-folder-actions {
  align-items: center;
  background: #ebe7e2;
  border-top: 1px solid #d8d1ca;
  display: flex;
  gap: 7px;
  justify-content: flex-end;
  padding: 9px 10px;
}
.ubuntu-folder-actions button {
  border-radius: 7px;
  font-size: 9.5px;
  font-weight: 900;
  min-height: 29px;
  padding: 6px 10px;
  text-transform: none;
}
.ubuntu-folder-cancel {
  background: #ffffff;
  border: 1px solid #d8d1ca;
  color: #3f3a39;
}
.ubuntu-folder-create {
  background: #e95420;
  border: 1px solid #d94512;
  color: #ffffff;
}
.ubuntu-folder-large-icon.rename::after {
  background: linear-gradient(#ffffff, #ffffff) 4px 14px / 26px 3px no-repeat;
  height: 28px;
  left: 6px;
  top: 3px;
  width: 30px;
}
.ubuntu-folder-large-icon.detail::after {
  background: radial-gradient(circle at center, #ffffff 0 3px, transparent 4px),
              linear-gradient(#ffffff, #ffffff) center / 3px 16px no-repeat;
  height: 24px;
  left: 9px;
  top: 5px;
  width: 24px;
}
.ubuntu-folder-large-icon.share::before {
  background: #ffffff;
  border-radius: 999px;
  box-shadow: 26px -14px 0 #ffffff, 28px 18px 0 #ffffff;
  content: '';
  height: 14px;
  left: 5px;
  position: absolute;
  top: 21px;
  width: 14px;
}
.ubuntu-folder-large-icon.share::after {
  background: linear-gradient(33deg, transparent 0 47%, #ffffff 48% 53%, transparent 54%),
              linear-gradient(-30deg, transparent 0 47%, #ffffff 48% 53%, transparent 54%);
  content: '';
  inset: 9px 8px;
  position: absolute;
}
.ubuntu-detail-list {
  display: grid;
  gap: 7px;
  margin: 10px 0 0;
}
.ubuntu-detail-list div {
  background: #ffffff;
  border: 1px solid #e1dad3;
  border-radius: 8px;
  display: grid;
  gap: 2px;
  padding: 7px 8px;
}
.ubuntu-detail-list dt {
  color: #867a73;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.ubuntu-detail-list dd {
  color: #2f2b2a;
  font-size: 10px;
  font-weight: 800;
  margin: 0;
  overflow-wrap: anywhere;
}
@keyframes toast-enter {
  from {
    opacity: 0;
    transform: translateX(36px) scale(.98);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}
@keyframes toast-leave {
  to {
    opacity: 0;
    transform: translateX(32px) scale(.98);
  }
}
@keyframes toast-progress {
  from { transform: scaleX(1); transform-origin: left; }
  to { transform: scaleX(0); transform-origin: left; }
}
.details {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(4, minmax(0,1fr));
  margin: 14px 0 0;
}
.details div {
  background: #f8faf9;
  border: 1px solid rgba(15,23,42,.06);
  padding: 11px 10px;
}
.details dt { color: var(--secondary); font-size: 9px; }
.details dd { color: #0b1220; font-size: 13px; font-weight: 800; margin: 3px 0 0; }
.muted { color: var(--muted); }

.table-responsive { overflow-x: auto; width: 100%; }
.server-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.performance-grid { grid-template-columns: 1fr; }
.server-card {
  background: #fff;
  border: 1px solid var(--border);
  padding: 14px;
}
.server-card-head {
  align-items: flex-start;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-bottom: 12px;
}
.server-card-head strong {
  color: #111827;
  display: block;
  font-size: 13px;
}
.server-card-head span:not(.status) {
  color: var(--muted);
  display: block;
  margin-top: 3px;
}
.health-row {
  align-items: center;
  display: grid;
  gap: 18px;
  grid-template-columns: 120px 1fr;
}
.gauge {
  align-items: center;
  background:
    radial-gradient(circle at center, #fff 0 53%, transparent 54%),
    conic-gradient(var(--green) calc(var(--value) * 1%), #e5e7eb 0);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  height: 110px;
  justify-content: center;
  width: 110px;
}
.gauge strong { color: #111827; font-size: 20px; line-height: 1; }
.gauge span { color: var(--secondary); font-size: 9px; font-weight: 700; margin-top: 4px; text-transform: uppercase; }
.health-facts dl,
.server-card dl {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
}
.health-facts dt,
.server-card dt {
  color: var(--muted);
  font-size: 9px;
}
.health-facts dd,
.server-card dd {
  color: #111827;
  font-weight: 800;
  margin: 3px 0 0;
}
.bar {
  background: #eef2f1;
  height: 7px;
  overflow: hidden;
  width: 100%;
}
.bar span {
  background: linear-gradient(90deg, var(--green), var(--blue));
  display: block;
  height: 100%;
}
.disk-list,
.log-list,
.log-lines {
  border-top: 1px solid var(--border);
  margin-top: 14px;
  padding-top: 12px;
}
.disk-list h3,
.log-lines h3 {
  color: #111827;
  font-size: 11px;
  margin: 0 0 10px;
}
.disk-item {
  display: grid;
  gap: 6px 10px;
  grid-template-columns: 1fr auto;
  margin-bottom: 10px;
}
.disk-item strong { display: block; }
.disk-item span { color: var(--secondary); display: block; margin-top: 2px; }
.disk-item em { color: #111827; font-style: normal; font-weight: 800; }
.disk-item .bar { grid-column: 1 / -1; }
.disk-cards {
  border-top: 0;
  margin-top: 0;
  padding-top: 0;
}
.disk-cards h3 {
  margin-bottom: 8px;
}
.disk-cards .disk-item {
  background: #fbfcfc;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 8px;
  padding: 10px;
}
.log-list > span {
  color: var(--muted);
  display: block;
  font-size: 9px;
  font-weight: 700;
  margin-bottom: 8px;
  text-transform: uppercase;
}
.log-list code,
.root-list code {
  background: #f8faf9;
  border: 1px solid var(--border);
  color: #334155;
  display: block;
  font-size: 9.5px;
  margin-bottom: 5px;
  padding: 6px 7px;
  white-space: normal;
  word-break: break-word;
}
.log-download-row {
  align-items: center;
  display: grid;
  gap: 6px;
  grid-template-columns: minmax(0, 1fr) auto;
}
.log-download-row code {
  margin-bottom: 0;
}
.log-lines details {
  border: 1px solid var(--border);
  margin-bottom: 8px;
}
.log-lines summary {
  background: #f8faf9;
  color: #334155;
  cursor: pointer;
  font-weight: 700;
  padding: 8px 9px;
  word-break: break-word;
}
.log-lines pre {
  background: #0f172a;
  color: #dbeafe;
  font-size: 10px;
  max-height: 190px;
  overflow: auto;
  padding: 10px;
}
.root-list {
  display: grid;
  gap: 6px;
}

.login-body {
  align-items: stretch;
  background: linear-gradient(135deg, #eef5f2 0%, #f8fbfa 54%, #e9f2ef 100%);
  display: grid;
  min-height: 100vh;
  padding: 24px;
  position: relative;
}
.login-body::before,
.login-body::after {
  content: '';
  position: fixed;
  pointer-events: none;
}
.login-body::before {
  background: linear-gradient(135deg, rgba(0, 143, 95, .22), rgba(19, 145, 188, .12));
  height: 420px;
  right: -190px;
  top: -170px;
  transform: rotate(18deg);
  width: 620px;
}
.login-body::after {
  background: linear-gradient(135deg, rgba(16, 24, 40, .08), rgba(0, 143, 95, .08));
  bottom: -240px;
  height: 420px;
  left: -210px;
  transform: rotate(-12deg);
  width: 620px;
}
.login-shell {
  align-items: stretch;
  background: #ffffff;
  border: 1px solid rgba(16, 24, 40, .08);
  border-radius: 22px;
  box-shadow: 0 28px 80px rgba(16, 24, 40, .13);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
  margin: auto;
  max-width: 1040px;
  min-height: min(680px, calc(100vh - 48px));
  overflow: hidden;
  position: relative;
  width: 100%;
  z-index: 1;
}
.login-hero {
  background:
    radial-gradient(circle at 18% 18%, rgba(30, 185, 128, .20), transparent 28%),
    linear-gradient(135deg, rgba(8, 24, 34, .96), rgba(16, 48, 58, .93)),
    #102839;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 54px;
  position: relative;
}
.login-hero::before {
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 28px;
  content: '';
  height: 320px;
  position: absolute;
  right: -130px;
  top: -110px;
  transform: rotate(18deg);
  width: 440px;
}
.login-brandmark {
  align-items: center;
  background: rgba(255, 255, 255, .09);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 16px;
  display: flex;
  height: 52px;
  justify-content: center;
  margin-bottom: auto;
  overflow: hidden;
  position: relative;
  width: 52px;
}
.login-brandmark span,
.login-brandmark i {
  background: #ffffff;
  display: block;
  position: absolute;
}
.login-brandmark span {
  height: 18px;
  transform: rotate(45deg);
  width: 18px;
}
.login-brandmark i {
  border-radius: 999px;
  height: 7px;
  opacity: .74;
  transform: translate(13px, -12px);
  width: 7px;
}
.login-hero h1 {
  font-size: clamp(28px, 3.7vw, 42px);
  letter-spacing: -.04em;
  line-height: 1.04;
  margin: 12px 0 14px;
  max-width: 560px;
}
.login-hero p:not(.eyebrow) {
  color: rgba(255, 255, 255, .72);
  font-size: 13px;
  line-height: 1.65;
  margin: 0;
  max-width: 520px;
}
.login-status-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 34px;
}
.login-status-grid article {
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, .10);
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 14px;
  padding: 12px;
}
.login-status-grid span {
  color: rgba(255, 255, 255, .56);
  display: block;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.login-status-grid strong {
  display: block;
  font-size: 13px;
  margin-top: 7px;
}
.login-card {
  align-self: center;
  background: #ffffff;
  border: 0;
  box-shadow: none;
  padding: 52px 48px;
  width: 100%;
}
.login-card-head {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 26px;
}
.login-card-head span {
  color: var(--green);
  display: block;
  font-size: 8.5px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.login-card h2 {
  color: var(--ink);
  font-size: 24px;
  letter-spacing: -.03em;
  margin: 6px 0 0;
}
.login-card-head p {
  color: #667085;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.45;
  margin: 8px 0 0;
}
.login-shield {
  align-items: center;
  background: #ecfdf5;
  border: 1px solid rgba(0, 143, 95, .16);
  border-radius: 16px;
  color: var(--green);
  display: flex;
  height: 46px;
  justify-content: center;
  width: 46px;
}
.login-shield svg {
  fill: none;
  height: 24px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  width: 24px;
}
.login-form {
  gap: 16px;
}
.login-card .form label {
  color: #667085;
}
.login-input-wrap {
  align-items: center;
  background: #fbfcfc;
  border: 1px solid #d0d5dd;
  border-radius: 12px;
  display: flex;
  gap: 9px;
  min-height: 44px;
  padding: 0 10px;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.login-input-wrap:focus-within {
  background: #ffffff;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(0, 143, 95, .11);
}
.login-input-wrap svg {
  color: #98a2b3;
  fill: none;
  flex: 0 0 auto;
  height: 18px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  width: 18px;
}
.login-card input {
  background: transparent;
  border: 0;
  min-height: 42px;
  padding-left: 0;
  padding-right: 0;
}
.login-card input:focus {
  box-shadow: none;
}
.login-card .primary {
  border-radius: 12px;
  font-size: 10.5px;
  min-height: 44px;
  width: 100%;
}
.login-eye {
  background: transparent;
  border: 0;
  color: var(--green-dark);
  flex: 0 0 auto;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .06em;
  min-height: 0;
  padding: 4px 0;
  text-transform: uppercase;
}
.login-eye:hover {
  background: transparent;
  color: var(--green);
}
.login-card .alert {
  border-radius: 12px;
  margin-bottom: 14px;
}
.login-foot {
  align-items: center;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 9px;
  margin-top: 22px;
  padding-top: 16px;
}
.login-foot span {
  background: var(--green);
  border-radius: 999px;
  box-shadow: 0 0 0 5px rgba(0, 143, 95, .10);
  height: 8px;
  width: 8px;
}
.login-foot p {
  color: #667085;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.45;
  margin: 0;
}

@media (max-width: 1024px) {
  .metrics { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .grid.two, .details { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .sidebar { position: static; width: 100%; height: auto; }
  .shell { display: block; }
  .main { margin-left: 0; }
  .topbar { align-items: flex-start; height: auto; padding: 14px 16px; }
  .row { grid-template-columns: 1fr; }
  .field-head { display: grid; }
  .schedule-row { grid-template-columns: 1fr; }
  .schedule-remove { width: 100%; }
  .login-body { padding: 16px; }
  .login-body::before, .login-body::after { display: none; }
  .login-shell { display: block; min-height: 0; }
  .login-hero { padding: 26px; }
  .login-brandmark { margin-bottom: 42px; }
  .login-status-grid { grid-template-columns: 1fr; }
  .login-card { padding: 28px 24px; }
}

/* Compact density pass to match the GeoDav admin console scale. */
body { font-size: 11px; }
.sidebar { width: 214px; }
.main { margin-left: 214px; }
.brand { min-height: 56px; padding: 12px; gap: 8px; }
.brand-mark { width: 28px; min-width: 28px; height: 28px; border-radius: 8px; }
.brand strong { font-size: 12px; }
.brand span { font-size: 7px; }
.nav { padding: 7px 5px; }
.nav { align-content: start; grid-auto-rows: max-content; }
.nav a { font-size: 11px; min-height: 29px; padding: 6px 9px 6px 11px; gap: 8px; }
.nav a::before { height: 15px; }
.logout { padding: 8px; }
.logout button { font-size: 9.5px; min-height: 30px; padding: 6px 10px; }
.topbar { height: 50px; }
.topbar h1 { font-size: 13px; }
.eyebrow { font-size: 8px; }
.metrics article { min-height: 68px; padding: 10px; }
.metrics strong { margin-top: 8px; }
.panel { padding: 14px; }
.panel h2 { font-size: 12px; }
.panel-head { margin: -14px -14px 14px; padding: 9px 12px; }
th { padding: 8px 9px; }
td { font-size: 10.5px; padding: 8px 9px; }
.form label { font-size: 8px; }
.form.stack { gap: 9px; }
.row { gap: 9px; }
input, select, textarea { min-height: 29px; padding: 6px 8px; font-size: 10.5px; }
button, .button { font-size: 9.5px; min-height: 30px; padding: 6px 11px; }
.checkrow { align-items: center; }
.checkrow label { font-size: 9.5px; gap: 5px; }
input[type="checkbox"] {
  width: 13px;
  height: 13px;
  min-height: 13px;
  padding: 0;
  margin: 0;
  accent-color: var(--green);
}
.details div { padding: 9px 10px; }
.details dd { font-size: 12px; }

@media (max-width: 760px) {
  .sidebar { width: 100%; }
  .main { margin-left: 0; }
}

/* Refined corporate interface */
:root {
  --green: #008f5f;
  --green-dark: #006b47;
  --ink: #101828;
  --slate: #475467;
  --line: #e4e7ec;
  --soft: #f8faf9;
  --panel-shadow: 0 1px 2px rgba(16, 24, 40, .04);
}

body {
  background: #f4f6f5;
  color: var(--ink);
}

.sidebar {
  background: #ffffff;
  border-right: 1px solid rgba(16, 24, 40, .08);
  box-shadow: none;
  transition: width .22s ease;
  width: 224px;
}

.main {
  margin-left: 224px;
  transition: margin-left .22s ease;
}

.brand {
  background: #ffffff;
  min-height: 62px;
}

.brand-mark.geometric {
  background: #111827;
  border-radius: 8px;
  box-shadow: none;
  position: relative;
}

.brand-mark.geometric span {
  background: var(--green);
  border-radius: 3px;
  height: 12px;
  left: 8px;
  position: absolute;
  top: 8px;
  transform: rotate(45deg);
  width: 12px;
}

.brand-mark.geometric i {
  border: 2px solid rgba(255, 255, 255, .7);
  border-radius: 999px;
  bottom: 7px;
  height: 10px;
  position: absolute;
  right: 7px;
  width: 10px;
}

.brand-mark.large.geometric {
  background: #111827;
  box-shadow: none;
}

.brand-mark.large.geometric span {
  height: 22px;
  left: 17px;
  top: 17px;
  width: 22px;
}

.brand-mark.large.geometric i {
  bottom: 13px;
  height: 18px;
  right: 13px;
  width: 18px;
}

.brand strong {
  color: var(--ink);
  font-size: 12.5px;
  letter-spacing: .18em;
}

.brand span {
  color: var(--green);
  letter-spacing: .18em;
}

.sidebar-toggle {
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .08);
  color: var(--slate);
  display: flex;
  height: 28px;
  justify-content: center;
  padding: 0;
  position: absolute;
  right: -14px;
  top: 17px;
  width: 28px;
  z-index: 2;
}

.sidebar-toggle span::before {
  content: '‹';
  display: block;
  font-size: 21px;
  font-weight: 800;
  line-height: 1;
  transform: translateY(-1px);
}

.nav {
  gap: 4px;
  padding: 10px 8px;
}

.nav a {
  border: 1px solid transparent;
  border-radius: 7px;
  color: #344054;
  font-size: 11px;
  font-weight: 650;
  min-height: 34px;
  padding: 8px 10px;
}

.nav a b {
  align-items: center;
  background: #f5f7f6;
  border-radius: 6px;
  color: #667085;
  display: inline-flex;
  font-size: 11px;
  height: 22px;
  justify-content: center;
  min-width: 22px;
  width: 22px;
}

.nav a:hover {
  background: #f7faf8;
  border-color: transparent;
}

.nav a.active {
  background: #eaf6f1;
  border-color: transparent;
  color: var(--green-dark);
}

.nav a.active b {
  background: var(--green);
  color: #ffffff;
}

.nav a::before { display: none; }

.logout {
  background: #fbfcfc;
}

.logout button {
  border-radius: 8px;
  border-color: var(--line);
}

.topbar {
  background: #ffffff;
  backdrop-filter: none;
  border-bottom: 1px solid rgba(16, 24, 40, .08);
  box-shadow: none;
  height: 58px;
  padding: 0 24px;
}

.topbar-title {
  display: grid;
  gap: 3px;
}

.topbar h1 {
  color: var(--ink);
  font-size: 16px;
  letter-spacing: -.02em;
}

.topbar-actions {
  align-items: center;
  display: flex;
  gap: 12px;
}

.clock {
  background: #f7f8f8;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: #667085;
  padding: 7px 12px;
}

.main > .alert,
.main > .metrics,
.main > .panel,
.main > .grid {
  margin-left: 20px;
  margin-right: 20px;
}

.metrics {
  gap: 12px;
  margin-top: 18px;
}

.metrics article {
  background: #ffffff;
  border: 1px solid rgba(16, 24, 40, .08);
  border-radius: 8px;
  box-shadow: var(--panel-shadow);
  min-height: 86px;
  overflow: hidden;
  padding: 15px 16px;
  position: relative;
}

.metrics article::after {
  background: #e9f5f0;
  content: '';
  height: 54px;
  position: absolute;
  right: -18px;
  top: -20px;
  transform: rotate(28deg);
  width: 54px;
}

.metrics span {
  color: #667085;
  font-size: 10px;
}

.metrics strong {
  color: var(--ink);
  font-size: 22px;
  letter-spacing: -.05em;
  margin-top: 10px;
}

.panel {
  background: #ffffff;
  border: 1px solid rgba(16, 24, 40, .08);
  border-radius: 8px;
  box-shadow: var(--panel-shadow);
  padding: 18px;
}

.panel::before { display: none; }

.panel-head {
  background: transparent;
  border-bottom: 1px solid var(--line);
  margin: -18px -18px 16px;
  padding: 15px 18px;
}

.panel-head::after { display: none; }

.panel h2 {
  color: var(--ink);
  font-size: 13px;
}

table {
  border-collapse: collapse;
  min-width: 820px;
}

th {
  background: #f7f8f8;
  border-bottom: 1px solid var(--line);
  color: #667085;
  font-size: 9.5px;
  padding: 11px 12px;
}

td {
  border-bottom: 1px solid #edf0ef;
  color: #344054;
  font-size: 11px;
  padding: 11px 12px;
}

tr:hover td {
  background: #fbfcfc;
}

.status {
  border: 0;
  border-radius: 6px;
  padding: 4px 9px;
}

input, select, textarea {
  background: #ffffff;
  border-color: #d0d5dd;
  border-radius: 6px;
  min-height: 34px;
}

.primary {
  border-radius: 6px;
  box-shadow: none;
}

.button, .ghost {
  border-radius: 6px;
}

.details div {
  background: #f8faf9;
  border-radius: 7px;
}

.sidebar-collapsed .sidebar {
  width: 68px;
}

.sidebar-collapsed .main {
  margin-left: 68px;
}

.sidebar-collapsed .toast-stack {
  right: 22px;
  width: min(330px, calc(100vw - 44px));
}

.sidebar-collapsed .brand {
  justify-content: center;
  padding-left: 8px;
  padding-right: 8px;
}

.sidebar-collapsed .brand > div:not(.brand-mark),
.sidebar-collapsed .nav a span,
.sidebar-collapsed .logout span {
  display: none;
}

.sidebar-collapsed .nav a {
  justify-content: center;
  padding-left: 8px;
  padding-right: 8px;
}

.sidebar-collapsed .sidebar-toggle span::before {
  content: '›';
}

@media (max-width: 760px) {
  .sidebar,
  .sidebar-collapsed .sidebar {
    position: static;
    width: 100%;
  }
  .main,
  .sidebar-collapsed .main {
    margin-left: 0;
  }
  .toast-stack,
  .sidebar-collapsed .toast-stack,
  .toast-stack.login-toast {
    left: 14px;
    right: 14px;
    top: 14px;
    width: auto;
  }
  .sidebar-toggle {
    display: none;
  }
}

/* Operational refinements */
.sidebar-toggle { z-index: 400; }
.main > .metrics,
.main > .panel,
.main > .grid {
  margin-top: 18px;
}
.table-responsive {
  overflow-x: auto;
  width: 100%;
}
.server-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.server-card {
  background: #fbfcfc;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
}
.server-card-head {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  margin-bottom: 12px;
}
.server-card-head strong { color: var(--ink); font-size: 12px; }
.server-card dl {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 0 12px;
}
.server-card dt {
  color: var(--muted);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.server-card dd { color: var(--ink); font-size: 10.5px; margin: 3px 0 0; }
.log-list {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 5px;
  padding-top: 10px;
}
.log-list span {
  color: var(--muted);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.log-list code {
  background: #ffffff;
  border: 1px solid var(--line);
  color: #344054;
  display: block;
  font-size: 9.5px;
  padding: 5px 6px;
}
.log-list em { color: var(--muted); font-size: 10px; font-style: normal; }
.modal {
  background: transparent;
  border: 0;
  max-width: min(760px, calc(100vw - 28px));
  padding: 0;
  width: 760px;
}
.modal::backdrop {
  background: rgba(16, 24, 40, .45);
  backdrop-filter: blur(4px);
}
.modal-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 22px 70px rgba(16, 24, 40, .22);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: 18px;
}
.modal-head {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  margin: -18px -18px 16px;
  padding: 14px 18px;
}
.modal-head h2 { color: var(--ink); font-size: 14px; margin: 0; }
.modal-head button {
  background: #f7f8f8;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--slate);
  font-size: 18px;
  height: 30px;
  min-height: 30px;
  padding: 0;
  width: 30px;
}
@media (max-width: 720px) {
  .table-responsive table { min-width: 0; }
  .table-responsive thead { display: none; }
  .table-responsive tr {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 8px;
    display: grid;
    margin-bottom: 10px;
    overflow: hidden;
  }
  .table-responsive td {
    align-items: start;
    display: grid;
    gap: 4px;
    grid-template-columns: 96px minmax(0, 1fr);
    padding: 9px 10px;
  }
  .table-responsive td::before {
    color: var(--muted);
    content: attr(data-label);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
  }
  .server-card dl { grid-template-columns: 1fr; }
}

/* Dedicated dashboard views */
.server-filter {
  align-items: center;
  background: #f8faf9;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-bottom: 14px;
  padding: 10px;
}
.server-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.server-filter-tabs button {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: #344054;
  justify-content: flex-start;
  letter-spacing: 0;
  min-height: 34px;
  padding: 7px 10px;
  text-transform: none;
}
.server-filter-tabs button.active {
  border-color: rgba(0, 143, 95, .35);
  box-shadow: 0 0 0 2px rgba(0, 143, 95, .08);
  color: var(--green);
}
.server-filter-tabs span {
  border-radius: 999px;
  display: block;
  height: 7px;
  margin-left: 4px;
  width: 7px;
}
.server-filter-tabs span.success { background: var(--green); }
.server-filter-tabs span.warning { background: var(--orange); }
.server-filter-tabs span.failed { background: var(--danger); }
.server-filter label {
  color: var(--muted);
  display: none;
  font-size: 8px;
  font-weight: 700;
  gap: 5px;
  letter-spacing: .08em;
  min-width: 190px;
  text-transform: uppercase;
}
.performance-grid {
  grid-template-columns: 1fr;
}
.performance-card {
  background: #ffffff;
  display: none;
}
.performance-card.active {
  display: block;
}
.performance-title {
  align-items: flex-start;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin: -14px -14px 14px;
  padding: 13px 14px;
}
.performance-title strong {
  color: var(--ink);
  display: block;
  font-size: 14px;
}
.performance-title span:not(.status) {
  color: var(--muted);
  display: block;
  margin-top: 3px;
}
.performance-summary {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 14px;
}
.performance-summary article {
  background: #fbfcfc;
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 94px;
  padding: 11px;
}
.performance-summary article > span {
  color: var(--muted);
  display: block;
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.performance-summary strong {
  color: var(--ink);
  display: block;
  font-size: 18px;
  margin: 8px 0;
}
.performance-summary em {
  color: #667085;
  display: block;
  font-size: 9.5px;
  font-style: normal;
  line-height: 1.4;
  margin-top: 7px;
}
.performance-columns {
  align-items: start;
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(260px, .9fr) minmax(0, 1.1fr);
}
.disk-summary-cards {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin: -4px 0 14px;
}
.disk-summary-cards article {
  background: #fbfcfc;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 8px;
  min-height: 86px;
  padding: 11px;
}
.disk-summary-cards article > span {
  color: var(--muted);
  display: block;
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.disk-summary-cards strong {
  color: var(--ink);
  display: block;
  font-size: 18px;
}
.disk-summary-cards em {
  color: #667085;
  display: block;
  font-size: 9.5px;
  font-style: normal;
  line-height: 1.4;
  margin-top: 2px;
}
.ops-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 14px;
}
.ops-card {
  background: #fbfcfc;
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 138px;
  padding: 11px;
}
.ops-card h3,
.recent-errors h3 {
  color: var(--ink);
  font-size: 10.5px;
  margin: 0 0 9px;
}
.metric-row {
  align-items: center;
  border-top: 1px solid #edf0ef;
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 6px 0;
}
.metric-row:first-of-type {
  border-top: 0;
}
.metric-row code {
  color: #344054;
  font-size: 9.5px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.metric-row span {
  color: #667085;
  font-size: 9.5px;
  font-weight: 700;
}
.service-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.node-row {
  align-items: center;
  border-top: 1px solid #edf0ef;
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 7px 0;
}
.node-row:first-of-type {
  border-top: 0;
}
.node-row code {
  color: #344054;
  display: block;
  font-size: 9.5px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.node-row span {
  color: #667085;
  display: block;
  font-size: 9px;
  margin-top: 3px;
}
.node-actions {
  display: flex;
  gap: 5px;
}
.danger-icon {
  color: var(--danger);
}
.danger-icon:hover {
  background: var(--danger-bg);
  color: var(--danger);
}
.service-pill {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #667085;
  font-size: 9.5px;
  font-weight: 700;
  padding: 5px 8px;
}
.service-pill.success {
  background: var(--success-bg);
  color: var(--green);
}
.service-pill.failed {
  background: var(--danger-bg);
  color: var(--danger);
}
.backup-kpis {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.backup-kpis div {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 8px;
}
.backup-kpis strong {
  color: var(--ink);
  display: block;
  font-size: 14px;
}
.backup-kpis span {
  color: var(--muted);
  display: block;
  font-size: 8.5px;
  font-weight: 700;
  margin-top: 3px;
  text-transform: uppercase;
}
.performance-card .health-facts dl {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0 0 10px;
}
.performance-card .disk-list h3,
.performance-card .log-lines h3 {
  color: var(--ink);
  font-size: 11px;
  margin: 0 0 10px;
}
.performance-card .log-lines {
  display: block;
  border-top: 1px solid var(--line);
  margin-top: 14px;
  padding-top: 12px;
}
.performance-card .log-lines.inline {
  background: #fbfcfc;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-top: 0;
  padding: 12px;
}
.performance-card .log-lines pre {
  margin: 0;
}
.performance-card .log-lines > details {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.performance-card .log-lines.inline > details {
  background: #ffffff;
}
.performance-card .log-lines > details > summary {
  background: #f8faf9;
  color: var(--ink);
}
.disk-note {
  margin: 10px 0 0;
}
.recent-errors {
  border-top: 1px solid var(--line);
  margin-top: 12px;
  padding-top: 12px;
}
.recent-errors code {
  background: #0f172a;
  border: 0;
  color: #dbeafe;
  display: block;
  font-size: 9.5px;
  margin-bottom: 6px;
  max-height: 52px;
  overflow: hidden;
  padding: 7px;
  white-space: normal;
  word-break: break-word;
}
.log-file {
  border-top: 1px solid var(--line);
  padding: 10px;
}
.log-file strong {
  color: #475467;
  display: block;
  font-size: 10px;
  margin-bottom: 6px;
  word-break: break-word;
}
.log-file-head {
  align-items: center;
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(0, 1fr) auto;
  margin-bottom: 6px;
}
.log-file-head strong {
  margin-bottom: 0;
}
.log-list.compact {
  background: #fbfcfc;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  margin-top: 0;
  max-height: 330px;
  overflow: auto;
}
.log-card-head {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}
.log-card-head > span,
.top-dir-list > span {
  color: var(--muted);
  display: block;
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.log-card-head strong {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font-size: 10px;
  min-width: 28px;
  padding: 3px 8px;
  text-align: center;
}
.top-dir-list {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 6px;
  margin-bottom: 10px;
  padding: 10px;
}
.top-dir-list > span {
  margin-bottom: 2px;
}
.top-dir-item {
  border: 1px solid var(--line);
  border-radius: 7px;
  overflow: hidden;
}
.top-dir-item summary {
  align-items: center;
  background: #f8faf9;
  cursor: pointer;
  display: grid;
  gap: 8px;
  grid-template-columns: 58px minmax(0, 1fr);
  list-style: none;
  padding: 6px;
}
.top-dir-item summary::-webkit-details-marker {
  display: none;
}
.top-dir-item summary::after {
  color: var(--muted);
  content: '+';
  font-weight: 800;
  grid-column: 2;
  justify-self: end;
  margin-top: -22px;
}
.top-dir-item[open] summary::after {
  content: '-';
}
.top-dir-list strong {
  color: var(--green);
  font-size: 11px;
}
.top-dir-list code,
.subdir-list code {
  background: transparent;
  border: 0;
  color: #344054;
  display: block;
  font-size: 9.5px;
  overflow: hidden;
  padding: 0 18px 0 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.subdir-list {
  background: #ffffff;
  display: grid;
  gap: 1px;
  padding: 5px 6px 7px;
}
.subdir-list div {
  align-items: center;
  border-top: 1px solid #edf0ef;
  display: grid;
  gap: 8px;
  grid-template-columns: 58px minmax(0, 1fr);
  padding: 6px 0;
}
.subdir-list strong {
  color: #475467;
}
.subdir-list em {
  color: var(--muted);
  font-size: 10px;
  font-style: normal;
  padding: 6px 0;
}
.top-dir-list em {
  color: var(--muted);
  font-size: 10px;
  font-style: normal;
}
.root-list code {
  border-radius: 6px;
}

/* Operations center */
.operations-metrics article strong {
  font-size: 19px;
}
.health-board {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.health-card {
  background: #fbfcfc;
  border: 1px solid var(--line);
  border-radius: 9px;
  display: grid;
  gap: 12px;
  min-height: 156px;
  padding: 14px;
}
.health-card.success { border-left: 4px solid var(--green); }
.health-card.warning { border-left: 4px solid var(--orange); }
.health-card.failed { border-left: 4px solid var(--danger); }
.health-card-top {
  align-items: center;
  display: grid;
  gap: 9px;
  grid-template-columns: 10px minmax(0, 1fr) auto;
}
.health-card-top > span {
  border-radius: 999px;
  height: 10px;
  width: 10px;
}
.health-card.success .health-card-top > span { background: var(--green); }
.health-card.warning .health-card-top > span { background: var(--orange); }
.health-card.failed .health-card-top > span { background: var(--danger); }
.health-card-top strong {
  color: var(--ink);
  display: block;
  font-size: 12.5px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.health-card-top small,
.health-card p,
.history-card small,
.audit-list small {
  color: var(--muted);
  display: block;
  font-size: 9.5px;
  line-height: 1.45;
}
.health-card-top b {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #344054;
  font-size: 9px;
  padding: 4px 8px;
  white-space: nowrap;
}
.health-card-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.health-card-grid div {
  background: #ffffff;
  border: 1px solid #edf0ef;
  border-radius: 8px;
  padding: 9px;
}
.health-card-grid span {
  color: var(--muted);
  display: block;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.health-card-grid strong {
  color: var(--ink);
  display: block;
  font-size: 15px;
  margin-top: 5px;
}
.health-card p {
  margin: 0;
}
.history-list,
.audit-list,
.compact-inventory {
  display: grid;
  gap: 10px;
}
.history-card,
.audit-list article,
.compact-inventory article {
  background: #fbfcfc;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px;
}
.history-card > div:first-child {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}
.history-card strong,
.compact-inventory > article > strong {
  color: var(--ink);
  display: block;
  font-size: 11.5px;
}
.spark-row {
  align-items: center;
  display: grid;
  gap: 8px;
  grid-template-columns: 42px minmax(0, 1fr) 38px;
  margin-top: 7px;
}
.spark-row span {
  color: var(--muted);
  font-size: 8.5px;
  font-weight: 700;
}
.spark-row b {
  color: #344054;
  font-size: 9.5px;
  text-align: right;
}
.spark-bars {
  align-items: end;
  background: #ffffff;
  border: 1px solid #edf0ef;
  border-radius: 6px;
  display: flex;
  gap: 2px;
  height: 32px;
  overflow: hidden;
  padding: 4px;
}
.spark-bars i {
  background: linear-gradient(180deg, var(--green), var(--blue));
  border-radius: 2px 2px 0 0;
  flex: 1;
  min-width: 3px;
}
.module-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.module-grid article {
  background: #fbfcfc;
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 92px;
  padding: 12px;
}
.module-grid strong {
  color: var(--ink);
  display: block;
  font-size: 11.5px;
}
.module-grid span {
  color: #667085;
  display: block;
  font-size: 9.5px;
  line-height: 1.45;
  margin-top: 6px;
}
.module-grid b {
  color: var(--green);
  display: block;
  font-size: 8.5px;
  letter-spacing: .08em;
  margin-top: 11px;
  text-transform: uppercase;
}
.compact-inventory article div {
  align-items: center;
  border-top: 1px solid #edf0ef;
  display: grid;
  gap: 8px;
  grid-template-columns: 56px minmax(0, 1fr);
  margin-top: 8px;
  padding-top: 8px;
}
.compact-inventory span {
  color: var(--green);
  font-size: 10px;
  font-weight: 800;
}
.compact-inventory code {
  color: #344054;
  font-size: 9.5px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.audit-list article {
  display: grid;
  gap: 4px;
}
.audit-list span {
  color: var(--muted);
  font-size: 8.5px;
  font-weight: 700;
}
.audit-list strong {
  color: var(--ink);
  font-size: 11px;
}
.actions form {
  display: inline-flex;
}
td small {
  display: block;
  margin-top: 5px;
}
.backup-summary-panel {
  padding: 0;
}
.backup-summary {
  display: grid;
  gap: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.backup-summary article {
  border-right: 1px solid var(--line);
  min-height: 92px;
  padding: 16px;
}
.backup-summary article:last-child {
  border-right: 0;
}
.backup-summary span,
.settings-status span,
.form-hint {
  color: var(--muted);
  display: block;
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.backup-summary strong {
  color: var(--ink);
  display: block;
  font-size: 23px;
  letter-spacing: -.04em;
  margin-top: 8px;
}
.backup-summary em {
  color: #667085;
  display: block;
  font-size: 10px;
  font-style: normal;
  line-height: 1.45;
  margin-top: 6px;
}
.settings-metrics strong,
.jobs-metrics strong,
.server-metrics strong {
  font-size: 18px;
}
.settings-status {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 14px;
}
.settings-status article {
  background: #fbfcfc;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px;
}
.settings-status strong {
  color: var(--ink);
  display: block;
  font-size: 11px;
  margin-top: 7px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.command.slim {
  margin-bottom: 10px;
}
.table-title {
  color: var(--ink);
  display: inline-block;
  font-weight: 800;
}
.link-button.table-title {
  background: transparent;
  border: 0;
  justify-content: flex-start;
  letter-spacing: 0;
  min-height: 0;
  padding: 0;
  text-align: left;
  text-transform: none;
}
.table-title:hover {
  color: var(--green);
}
.form-hint {
  letter-spacing: 0;
  margin-top: -4px;
  text-transform: none;
}
.modal-card .form-hint {
  background: #fbfcfc;
  border: 1px solid #edf0ef;
  border-radius: 7px;
  padding: 8px 10px;
}
.jobs-metrics article,
.settings-metrics article,
.server-metrics article {
  min-height: 78px;
}

@media (max-width: 720px) {
  .server-filter {
    display: grid;
  }
  .performance-toolbar {
    justify-content: space-between;
    margin-left: 0;
  }
  .panel-actions {
    align-items: stretch;
    justify-content: flex-start;
  }
  .server-filter-tabs {
    display: none;
  }
  .server-filter label {
    display: grid;
  }
  .performance-summary,
  .ops-grid,
  .performance-columns {
    grid-template-columns: 1fr;
  }
  .health-row {
    grid-template-columns: 1fr;
  }
  .gauge {
    height: 96px;
    width: 96px;
  }
  .performance-card .health-facts dl {
    grid-template-columns: 1fr;
  }
  .module-grid,
  .operations-grid {
    grid-template-columns: 1fr;
  }
  .health-card-grid {
    grid-template-columns: 1fr;
  }
  .backup-summary,
  .settings-status {
    grid-template-columns: 1fr;
  }
  .backup-summary article {
    border-bottom: 1px solid var(--line);
    border-right: 0;
  }
  .backup-summary article:last-child {
    border-bottom: 0;
  }
}

/* Navigation polish */
.sidebar {
  overflow: visible;
}
.brand {
  position: relative;
  z-index: 3;
}
.sidebar-toggle {
  background: #ffffff;
  border: 1px solid rgba(16, 24, 40, .12);
  border-radius: 999px;
  box-shadow: 0 8px 22px rgba(16, 24, 40, .14);
  height: 34px;
  right: -17px;
  top: 72px;
  width: 34px;
  z-index: 250;
}
.sidebar-toggle svg {
  fill: none;
  height: 18px;
  stroke: #344054;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.4;
  transition: transform .18s ease;
  width: 18px;
}
.sidebar-toggle span,
.sidebar-toggle span::before {
  display: none;
}
.sidebar-collapsed .sidebar-toggle svg {
  transform: rotate(180deg);
}
.nav {
  gap: 3px;
  padding: 10px 9px;
}
.nav a {
  border-radius: 8px;
  color: #3f4a5a;
  font-size: 10.8px;
  font-weight: 700;
  min-height: 34px;
  padding: 6px 9px;
}
.nav a b {
  background: #f4f6f5;
  border: 1px solid #edf0ef;
  border-radius: 7px;
  height: 24px;
  min-width: 24px;
  width: 24px;
}
.nav a b svg {
  fill: none;
  height: 16px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
  width: 16px;
}
.nav a.active b {
  border-color: var(--green);
}
.nav a:hover {
  background: #f8faf9;
  color: var(--green-dark);
}
.nav a.nav-bottom {
  margin-top: 12px;
  position: relative;
}
.nav a.nav-bottom::after {
  background: var(--line);
  content: '';
  height: 1px;
  left: 10px;
  position: absolute;
  right: 10px;
  top: -7px;
}
.sidebar-collapsed .nav a {
  border-radius: 10px;
}
.sidebar-collapsed .nav a b {
  margin: 0;
}
.topbar {
  background: rgba(255, 255, 255, .96);
  min-height: 62px;
  padding: 0 26px;
}
.topbar-title h1 {
  font-size: 17px;
}
.topbar-pill {
  background: #ecfdf5;
  border: 1px solid rgba(0, 143, 95, .18);
  border-radius: 999px;
  color: var(--green-dark);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .08em;
  padding: 6px 10px;
  text-transform: uppercase;
}
.user-chip {
  align-items: center;
  background: #f8faf9;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #344054;
  display: inline-flex;
  gap: 8px;
  min-height: 34px;
  padding: 5px 11px 5px 6px;
}
.user-chip span {
  align-items: center;
  background: #ffffff;
  border: 1px solid rgba(0, 143, 95, .18);
  border-radius: 999px;
  color: var(--green-dark);
  display: inline-flex;
  height: 24px;
  justify-content: center;
  width: 24px;
}
.user-chip svg {
  fill: none;
  height: 15px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
  width: 15px;
}
.user-chip strong {
  color: var(--ink);
  font-size: 11px;
  letter-spacing: .01em;
}
.logout {
  background: #fff7f7;
  border-top: 1px solid rgba(185, 28, 28, .12);
  padding: 9px;
}
.logout button {
  align-items: center;
  background: #b91c1c;
  border: 1px solid #b91c1c;
  border-radius: 9px;
  color: #ffffff;
  display: flex;
  font-size: 10px;
  font-weight: 800;
  gap: 8px;
  justify-content: center;
  letter-spacing: .04em;
  min-height: 34px;
  padding: 7px 10px;
  text-transform: uppercase;
  width: 100%;
}
.logout button:hover {
  background: #991b1b;
  border-color: #991b1b;
  color: #ffffff;
}
.logout button b {
  align-items: center;
  display: inline-flex;
  height: 18px;
  justify-content: center;
  min-width: 18px;
  width: 18px;
}
.logout button svg {
  fill: none;
  height: 17px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  width: 17px;
}
.sidebar-collapsed .logout {
  padding: 9px 8px;
}
.sidebar-collapsed .logout button {
  border-radius: 10px;
  padding: 7px;
}
.sidebar-collapsed .logout button b {
  margin: 0;
}
.sidebar-collapsed .logout span {
  display: none !important;
}
.sidebar-collapsed .logout button {
  min-height: 36px;
}
.sidebar-collapsed .brand > div:not(.brand-mark),
.sidebar-collapsed .nav a span {
  display: none;
}
.sidebar-collapsed .nav a.nav-bottom {
  margin-top: 10px;
}
.sidebar-collapsed .nav a.nav-bottom::after {
  left: 9px;
  right: 9px;
}
@media (max-width: 760px) {
  .sidebar {
    overflow: hidden;
  }
  .topbar-pill {
    display: none;
  }
  .user-chip {
    padding-right: 8px;
  }
}

/* Ubuntu shell refresh */
body {
  background: #f3f0ed;
}
.shell {
  background: #f3f0ed;
}
.sidebar {
  background: #292524;
  border-right: 1px solid rgba(255,255,255,.08);
  box-shadow: 12px 0 32px rgba(47, 43, 42, .10);
  color: #f7f4f1;
  overflow: visible;
  width: 232px;
}
.main {
  background: #f3f0ed;
  margin-left: 232px;
}
.brand {
  background: #242120;
  border-bottom: 1px solid rgba(255,255,255,.08);
  min-height: 66px;
  padding: 14px 13px;
}
.brand-mark.geometric {
  background: #e95420;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 10px;
  box-shadow: inset 0 -10px 0 rgba(0,0,0,.10), 0 10px 24px rgba(0,0,0,.22);
  height: 34px;
  min-width: 34px;
  width: 34px;
}
.brand-mark.geometric span {
  background: #ffffff;
  border-radius: 4px;
  height: 13px;
  left: 9px;
  top: 9px;
  width: 13px;
}
.brand-mark.geometric i {
  border-color: rgba(255,255,255,.72);
  bottom: 8px;
  height: 10px;
  right: 8px;
  width: 10px;
}
.brand strong {
  color: #ffffff;
  font-size: 13px;
  letter-spacing: .14em;
}
.brand span {
  color: #f6c4ac;
  font-size: 7.5px;
  letter-spacing: .18em;
}
.sidebar-toggle {
  background: #3a3431;
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 12px 28px rgba(0,0,0,.24);
  top: 76px;
}
.sidebar-toggle:hover {
  background: #4a403b;
}
.sidebar-toggle svg {
  stroke: #f7f4f1;
}
.nav {
  gap: 5px;
  padding: 12px 10px;
}
.nav a {
  border: 1px solid transparent;
  border-radius: 10px;
  color: #ded7d0;
  font-size: 11px;
  min-height: 38px;
  padding: 7px 9px;
}
.nav a b {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
  color: #d9d2cc;
  height: 26px;
  min-width: 26px;
  width: 26px;
}
.nav a:hover {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.08);
  color: #ffffff;
}
.nav a:hover b {
  background: rgba(233, 84, 32, .18);
  color: #ffffff;
}
.nav a.active {
  background: linear-gradient(90deg, rgba(233, 84, 32, .24), rgba(255,255,255,.07));
  border-color: rgba(233, 84, 32, .32);
  color: #ffffff;
}
.nav a.active::after {
  background: #e95420;
  border-radius: 0 999px 999px 0;
  content: '';
  inset: 8px auto 8px -10px;
  position: absolute;
  width: 3px;
}
.nav a.active b {
  background: #e95420;
  border-color: #e95420;
  color: #ffffff;
  box-shadow: 0 8px 16px rgba(233, 84, 32, .24);
}
.nav a.nav-bottom::after {
  background: rgba(255,255,255,.10);
}
.logout {
  background: #242120;
  border-top: 1px solid rgba(255,255,255,.08);
}
.logout button {
  background: rgba(185, 28, 28, .95);
  border-color: rgba(255,255,255,.08);
  box-shadow: 0 10px 20px rgba(185, 28, 28, .20);
}
.logout button:hover {
  background: #dc2626;
  border-color: rgba(255,255,255,.12);
}
.topbar {
  background: rgba(247, 244, 241, .92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #ded7d0;
  box-shadow: 0 10px 30px rgba(47, 43, 42, .06);
  min-height: 64px;
  padding: 0 24px;
}
.topbar-title {
  align-items: center;
  display: flex;
  gap: 13px;
}
.topbar-window-dots {
  align-items: center;
  background: #2d2928;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 999px;
  display: inline-flex;
  gap: 5px;
  padding: 7px 9px;
}
.topbar-window-dots span {
  border-radius: 999px;
  display: block;
  height: 8px;
  width: 8px;
}
.topbar-window-dots span:nth-child(1) { background: #ff5f57; }
.topbar-window-dots span:nth-child(2) { background: #ffbd2e; }
.topbar-window-dots span:nth-child(3) { background: #28c840; }
.topbar h1 {
  color: #2f2b2a;
  font-size: 17px;
}
.eyebrow {
  color: #8a7469;
  letter-spacing: .12em;
}
.topbar-pill {
  background: #fff8f1;
  border-color: rgba(233, 84, 32, .20);
  color: #9a3412;
}
.user-chip {
  background: #ffffff;
  border-color: #ded7d0;
  box-shadow: 0 4px 14px rgba(47, 43, 42, .06);
}
.user-chip span {
  background: #fff8f1;
  border-color: rgba(233, 84, 32, .22);
  color: #e95420;
}
.sidebar-collapsed .sidebar {
  width: 68px;
}
.sidebar-collapsed .main {
  margin-left: 68px;
}
.sidebar-collapsed .brand {
  justify-content: center;
  padding-left: 10px;
  padding-right: 10px;
}
.sidebar-collapsed .nav {
  padding-left: 9px;
  padding-right: 9px;
}
.sidebar-collapsed .nav a {
  justify-content: center;
  padding: 7px;
}
.sidebar-collapsed .nav a.active::after {
  left: -9px;
}
@media (max-width: 760px) {
  .sidebar,
  .sidebar-collapsed .sidebar {
    background: #292524;
    width: 100%;
  }
  .main,
  .sidebar-collapsed .main {
    margin-left: 0;
  }
  .topbar {
    min-height: 58px;
    padding: 12px 16px;
  }
  .topbar-window-dots {
    display: none;
  }
}

/* Ubuntu desktop shell */
body {
  background:
    radial-gradient(circle at 18% 20%, rgba(233, 84, 32, .18), transparent 28%),
    radial-gradient(circle at 90% 8%, rgba(124, 58, 237, .16), transparent 26%),
    linear-gradient(135deg, #2b1f28 0%, #3b2520 42%, #221f24 100%);
  min-height: 100vh;
}
.shell {
  background: transparent;
  min-height: 100vh;
}
.topbar {
  background: rgba(35, 31, 32, .92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 8px 26px rgba(0,0,0,.18);
  color: #f7f4f1;
  height: 34px;
  left: 0;
  min-height: 34px;
  padding: 0 12px;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 500;
}
.topbar-title {
  align-items: center;
  display: flex;
  gap: 10px;
  min-width: 0;
}
.topbar-window-dots {
  background: transparent;
  border: 0;
  gap: 4px;
  padding: 0;
}
.topbar-window-dots span {
  height: 7px;
  width: 7px;
}
.topbar-title > div:last-child {
  align-items: baseline;
  display: flex;
  gap: 9px;
  min-width: 0;
}
.eyebrow {
  color: #f7f4f1;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: none;
}
.topbar h1 {
  color: rgba(247,244,241,.72);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  max-width: 34vw;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.topbar-actions {
  gap: 8px;
}
.topbar-pill {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.10);
  color: #f7f4f1;
  font-size: 8.5px;
  min-height: 22px;
  padding: 4px 8px;
}
.user-chip {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: none;
  color: #f7f4f1;
  min-height: 24px;
  padding: 3px 8px 3px 4px;
}
.user-chip span {
  background: #e95420;
  border-color: #e95420;
  color: #ffffff;
  height: 18px;
  width: 18px;
}
.user-chip svg {
  height: 12px;
  width: 12px;
}
.user-chip strong {
  color: #ffffff;
  font-size: 10px;
}
/* Minimal floating dock */
.sidebar {
  align-items: center;
  background: rgba(24, 22, 23, .46);
  backdrop-filter: blur(18px);
  border: 0;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0,0,0,.14);
  color: #f7f4f1;
  gap: 2px;
  height: auto;
  left: 8px;
  overflow: visible;
  padding: 7px 0;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
}
.brand {
  display: none;
}
.nav {
  align-content: start;
  flex: 0 0 auto;
  gap: 2px;
  justify-items: center;
  overflow: visible;
  padding: 0;
  width: 100%;
}
.nav a {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 10px;
  color: rgba(247,244,241,.55);
  display: flex;
  height: 38px;
  justify-content: center;
  min-height: 38px;
  padding: 0;
  position: relative;
  width: 38px;
}
.nav a b {
  background: transparent;
  border: 0;
  border-radius: 10px;
  box-shadow: none;
  color: inherit;
  height: 38px;
  min-width: 38px;
  transition: background .14s ease, color .14s ease;
  width: 38px;
}
.nav a b svg {
  height: 19px;
  width: 19px;
}
.nav a span {
  background: rgba(24,22,23,.94);
  border: 0;
  border-radius: 6px;
  box-shadow: 0 6px 16px rgba(0,0,0,.18);
  color: #ffffff;
  display: block;
  font-size: 11px;
  font-weight: 600;
  left: 50px;
  opacity: 0;
  padding: 4px 8px;
  pointer-events: none;
  position: absolute;
  transform: translateX(-4px);
  transition: opacity .14s ease, transform .14s ease;
  white-space: nowrap;
  z-index: 20;
}
.nav a:hover span {
  opacity: 1;
  transform: translateX(0);
}
.nav a:hover {
  background: transparent;
  color: #ffffff;
}
.nav a:hover b {
  background: rgba(255,255,255,.07);
}
.nav a.active {
  background: transparent;
  color: #ffffff;
}
.nav a.active::after {
  background: #e95420;
  border-radius: 999px;
  content: '';
  height: 4px;
  left: -5px;
  position: absolute;
  top: 17px;
  width: 4px;
}
.nav a.active b {
  background: rgba(255,255,255,.10);
  border: 0;
  box-shadow: none;
  color: #ffffff;
}
.nav a.nav-bottom {
  margin-top: 0;
}
.nav a.nav-bottom::before,
.nav a.nav-bottom:not(.active)::after {
  display: none;
}
.logout {
  background: transparent;
  border: 0;
  padding: 0;
  position: static;
  width: 38px;
}
.logout button {
  background: transparent;
  border: 0;
  border-radius: 10px;
  box-shadow: none;
  color: rgba(247,244,241,.45);
  height: 38px;
  min-height: 38px;
  padding: 0;
  width: 38px;
}
.logout button:hover {
  background: rgba(220,38,38,.16);
  color: #f87171;
}
.logout button b,
.logout button svg {
  height: 19px;
  min-width: 19px;
  width: 19px;
}
.logout span {
  display: none;
}
.main {
  background: transparent;
  margin-left: 60px;
  min-height: 100vh;
  padding-top: 34px;
}
.main::before {
  background:
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 44px 44px;
  content: '';
  inset: 34px 0 0 60px;
  opacity: .16;
  pointer-events: none;
  position: fixed;
  z-index: -1;
}
.main > .alert,
.main > .metrics,
.main > .panel,
.main > .grid,
.main > .settings-grid,
.main > .backup-page,
.main > .jobs-page,
.main > .ubuntu-cloud {
  box-shadow: 0 24px 60px rgba(0,0,0,.16);
}
.toast-stack {
  top: 46px;
}
@media (max-width: 760px) {
  .topbar {
    height: auto;
    min-height: 42px;
  }
  .topbar-title > div:last-child {
    display: grid;
    gap: 1px;
  }
  .sidebar {
    border-radius: 14px;
    bottom: 8px;
    flex-direction: row;
    height: auto;
    justify-content: center;
    left: 50%;
    max-width: calc(100% - 16px);
    min-height: 0;
    padding: 4px 6px;
    position: fixed;
    top: auto;
    transform: translateX(-50%);
    width: auto;
  }
  .nav {
    display: flex;
    gap: 2px;
    overflow-x: auto;
    padding: 0;
    width: auto;
  }
  .nav a span {
    display: none;
  }
  .nav a.active::after {
    left: 17px;
    top: auto;
    bottom: -3px;
  }
  .main {
    margin-left: 0;
    padding-bottom: 60px;
    padding-top: 42px;
  }
  .main::before {
    inset: 42px 0 0 0;
  }
}

/* Faster loading states and table actions */
.loading-state {
  align-items: center;
  display: grid;
  gap: 9px;
  justify-items: start;
  min-height: 132px;
  padding: 14px;
}
.loading-state strong {
  color: var(--ink);
  font-size: 14px;
}
.loading-state span {
  color: #667085;
  font-size: 11px;
}
.loading-bar {
  background: #edf0ef;
  border-radius: 999px;
  height: 7px;
  overflow: hidden;
  width: min(360px, 100%);
}
.loading-bar i {
  animation: loading-slide 1.2s infinite ease-in-out;
  background: linear-gradient(90deg, var(--green), var(--blue));
  border-radius: inherit;
  display: block;
  height: 100%;
  width: 38%;
}
@keyframes loading-slide {
  0% { transform: translateX(-105%); }
  100% { transform: translateX(270%); }
}
.actions {
  align-items: center;
}
.actions .action-btn {
  border-color: #d0d5dd;
  border-radius: 999px;
  color: #344054;
  gap: 6px;
  letter-spacing: 0;
  min-height: 28px;
  padding: 5px 10px;
  text-transform: none;
  white-space: nowrap;
}
.action-btn > span {
  align-items: center;
  background: #f4f6f5;
  border-radius: 999px;
  color: inherit;
  display: inline-flex;
  font-size: 10px;
  font-weight: 900;
  height: 17px;
  justify-content: center;
  line-height: 1;
  width: 17px;
}
.action-edit > span::before { content: '✎'; }
.action-view > span::before { content: '›'; font-size: 12px; }
.action-download > span::before { content: '↓'; }
.action-test > span::before { content: '✓'; }
.action-pause > span::before { content: 'II'; font-size: 8px; }
.action-start > span::before { content: '▶'; font-size: 8px; }
.action-delete > span::before { content: '×'; }
.actions .action-download,
.actions .action-test {
  color: var(--green-dark);
}
.actions .action-delete {
  border-color: rgba(185, 28, 28, .22);
  color: var(--danger);
}
.actions .action-btn:hover {
  background: #f8faf9;
  border-color: rgba(0, 143, 95, .28);
}
.actions .action-delete:hover {
  background: var(--danger-bg);
  border-color: rgba(185, 28, 28, .28);
}
.backup-metrics.metrics article {
  min-height: 58px;
  padding: 9px 11px;
}
.backup-metrics.metrics strong {
  font-size: 15px;
  margin-top: 5px;
}
.backup-metrics.metrics span {
  font-size: 8px;
}
.backup-summary article {
  min-height: 70px;
  padding: 11px 13px;
}
.backup-summary strong {
  font-size: 18px;
  margin-top: 5px;
}
.backup-summary em {
  font-size: 9px;
  margin-top: 3px;
}
.ubuntu-cloud {
  background: #f6f4f2;
  border: 1px solid #ddd8d2;
  border-radius: 12px;
  box-shadow: 0 18px 46px rgba(16, 24, 40, .10);
  display: flex;
  flex-direction: column;
  height: calc(100vh - 86px);
  margin: 18px 16px 16px;
  overflow: hidden;
  position: relative;
}
.ubuntu-cloud.is-dragging-files {
  border-color: rgba(233, 84, 32, .58);
  box-shadow: 0 18px 46px rgba(16, 24, 40, .10), 0 0 0 3px rgba(233, 84, 32, .14);
}
.ubuntu-titlebar {
  align-items: center;
  background: linear-gradient(180deg, #3f3a39 0%, #2d2928 100%);
  color: #ffffff;
  display: grid;
  gap: 10px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  min-height: 38px;
  padding: 6px 10px;
}
.ubuntu-window-dots {
  display: flex;
  gap: 6px;
}
.ubuntu-window-dots span {
  border-radius: 999px;
  display: block;
  height: 9px;
  width: 9px;
}
.ubuntu-window-dots span:nth-child(1) { background: #ff5f57; }
.ubuntu-window-dots span:nth-child(2) { background: #febc2e; }
.ubuntu-window-dots span:nth-child(3) { background: #28c840; }
.ubuntu-title {
  text-align: center;
}
.ubuntu-title strong {
  display: block;
  font-size: 11px;
}
.ubuntu-title span {
  color: rgba(255,255,255,.62);
  display: block;
  font-size: 8.5px;
  margin-top: 1px;
}
.ubuntu-title-actions {
  display: flex;
  gap: 6px;
  justify-content: flex-end;
}
.ubuntu-icon-btn {
  align-items: center;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  color: #ffffff;
  display: inline-flex;
  font-size: 13px;
  height: 25px;
  justify-content: center;
  width: 25px;
}
.ubuntu-toolbar {
  align-items: center;
  background: #ebe7e2;
  border-bottom: 1px solid #d8d1ca;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  padding: 7px 10px;
}
.cloud-breadcrumbs {
  align-items: center;
  background: #ffffff;
  border: 1px solid #d8d1ca;
  border-radius: 8px;
  display: flex;
  flex: 1 1 auto;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 29px;
  padding: 4px 9px;
}
.cloud-breadcrumbs a {
  color: #2f2b2a;
  font-size: 10px;
  font-weight: 800;
}
.cloud-breadcrumbs span {
  color: #9a8f88;
  font-size: 10px;
}
.ubuntu-cloud-actions {
  align-items: center;
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
}
.ubuntu-upload {
  margin: 0;
}
.ubuntu-file-btn,
.ubuntu-btn {
  align-items: center;
  background: #ffffff;
  border: 1px solid #d8d1ca;
  border-radius: 8px;
  color: #2f2b2a;
  cursor: pointer;
  display: inline-flex;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0;
  min-height: 32px;
  padding: 7px 11px;
  text-transform: none;
}
.ubuntu-file-btn input {
  display: none;
}
.ubuntu-btn:hover,
.ubuntu-file-btn:hover {
  background: #f8f6f4;
}
.ubuntu-action-button {
  align-items: center;
  border-radius: 9px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .06);
  display: inline-flex;
  gap: 0;
  height: 34px;
  justify-content: center;
  min-height: 34px;
  min-width: 34px;
  padding: 0;
  transition: background .14s ease, border-color .14s ease, box-shadow .14s ease, transform .14s ease;
  width: 34px;
}
.ubuntu-action-button:hover {
  border-color: rgba(233, 84, 32, .35);
  box-shadow: 0 5px 14px rgba(16, 24, 40, .10);
  transform: translateY(-1px);
}
.ubuntu-action-button > span:not(.ubuntu-action-icon) {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}
.ubuntu-action-icon {
  display: inline-flex;
  height: 21px;
  position: relative;
  width: 21px;
}
.ubuntu-action-icon.upload::before {
  border: 2px solid #554c46;
  border-radius: 5px;
  bottom: 1px;
  content: '';
  height: 9px;
  left: 3px;
  position: absolute;
  width: 15px;
}
.ubuntu-action-icon.upload::after {
  border-left: 2px solid #e95420;
  border-top: 2px solid #e95420;
  content: '';
  height: 9px;
  left: 9px;
  position: absolute;
  top: 2px;
  transform: rotate(45deg);
  width: 9px;
}
.ubuntu-action-icon.new-folder::before {
  background: #e95420;
  border-radius: 4px;
  box-shadow: inset 0 -6px 0 rgba(0,0,0,.08);
  content: '';
  height: 14px;
  left: 1px;
  position: absolute;
  top: 6px;
  width: 19px;
}
.ubuntu-action-icon.new-folder::after {
  background: linear-gradient(#ffffff, #ffffff) center / 10px 2px no-repeat,
              linear-gradient(#ffffff, #ffffff) center / 2px 10px no-repeat,
              linear-gradient(#f4814a, #f4814a) 0 0 / 10px 6px no-repeat;
  border-radius: 4px 4px 0 0;
  content: '';
  height: 17px;
  left: 3px;
  position: absolute;
  top: 2px;
  width: 15px;
}
.ubuntu-action-icon.download::before {
  border-bottom: 2px solid #554c46;
  border-left: 2px solid #554c46;
  border-right: 2px solid #554c46;
  border-radius: 0 0 5px 5px;
  bottom: 2px;
  content: '';
  height: 7px;
  left: 3px;
  position: absolute;
  width: 15px;
}
.ubuntu-action-icon.download::after {
  border-bottom: 2px solid #e95420;
  border-right: 2px solid #e95420;
  content: '';
  height: 10px;
  left: 8px;
  position: absolute;
  top: 2px;
  transform: rotate(45deg);
  width: 10px;
}
.ubuntu-action-icon.trash::before {
  background: #b91c1c;
  border-radius: 3px 3px 5px 5px;
  bottom: 1px;
  box-shadow: inset 5px 0 0 rgba(255,255,255,.18), inset -5px 0 0 rgba(255,255,255,.18);
  content: '';
  height: 15px;
  left: 5px;
  position: absolute;
  width: 12px;
}
.ubuntu-action-icon.trash::after {
  background: #7f1d1d;
  border-radius: 999px;
  box-shadow: 4px -3px 0 -2px #7f1d1d;
  content: '';
  height: 3px;
  left: 3px;
  position: absolute;
  top: 2px;
  width: 16px;
}
.ubuntu-action-icon.rename::before {
  background: #554c46;
  border-radius: 999px;
  content: '';
  height: 3px;
  left: 2px;
  position: absolute;
  top: 15px;
  width: 16px;
}
.ubuntu-action-icon.rename::after {
  background: #e95420;
  border-radius: 3px;
  content: '';
  height: 5px;
  left: 4px;
  position: absolute;
  top: 7px;
  transform: rotate(-35deg);
  width: 15px;
}
.ubuntu-action-icon.detail::before {
  border: 2px solid #554c46;
  border-radius: 999px;
  content: '';
  height: 13px;
  left: 3px;
  position: absolute;
  top: 2px;
  width: 13px;
}
.ubuntu-action-icon.detail::after {
  background: #e95420;
  border-radius: 999px;
  content: '';
  height: 8px;
  left: 15px;
  position: absolute;
  top: 14px;
  transform: rotate(-45deg);
  width: 3px;
}
.ubuntu-action-icon.link::before {
  border: 2px solid #554c46;
  border-radius: 999px;
  content: '';
  height: 8px;
  left: 1px;
  position: absolute;
  top: 7px;
  transform: rotate(-35deg);
  width: 11px;
}
.ubuntu-action-icon.link::after {
  border: 2px solid #e95420;
  border-radius: 999px;
  content: '';
  height: 8px;
  left: 8px;
  position: absolute;
  top: 5px;
  transform: rotate(-35deg);
  width: 11px;
}
.ubuntu-action-icon.share::before {
  background: #e95420;
  border-radius: 999px;
  box-shadow: 11px -6px 0 #554c46, 12px 8px 0 #554c46;
  content: '';
  height: 6px;
  left: 2px;
  position: absolute;
  top: 8px;
  width: 6px;
}
.ubuntu-action-icon.share::after {
  background: linear-gradient(35deg, transparent 0 46%, #8b8179 47% 53%, transparent 54%),
              linear-gradient(-30deg, transparent 0 46%, #8b8179 47% 53%, transparent 54%);
  content: '';
  inset: 2px 1px;
  position: absolute;
}
.ubuntu-summary {
  align-items: center;
  background: #f7f4f1;
  border-bottom: 1px solid #e3ddd7;
  color: #6b625c;
  display: flex;
  flex-wrap: wrap;
  font-size: 10px;
  font-weight: 700;
  gap: 10px;
  padding: 6px 12px;
}
.ubuntu-file-list {
  background: #ffffff;
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
}
.ubuntu-cloud-body {
  display: grid;
  flex: 1 1 auto;
  grid-template-columns: 250px minmax(0, 1fr);
  min-height: 0;
}
.ubuntu-tree-panel {
  background: #f4f1ed;
  border-right: 1px solid #ded7d0;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}
.ubuntu-tree-title {
  border-bottom: 1px solid #e1dad3;
  color: #6b625c;
  flex: 0 0 auto;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .06em;
  padding: 10px 13px;
  text-transform: uppercase;
}
.ubuntu-tree {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  padding: 8px 7px;
}
.ubuntu-tree-node {
  min-width: 0;
}
.ubuntu-tree-folder-row {
  align-items: center;
  display: grid;
  gap: 2px;
  grid-template-columns: 18px minmax(0, 1fr);
  padding-left: calc(var(--tree-level) * 18px);
}
.ubuntu-tree-folder-row .ubuntu-tree-item {
  padding-left: 8px;
}
.ubuntu-tree-toggle {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 6px;
  color: #766c65;
  display: inline-flex;
  height: 24px;
  justify-content: center;
  min-height: 24px;
  min-width: 18px;
  padding: 0;
  width: 18px;
}
.ubuntu-tree-toggle:not(:disabled):hover {
  background: rgba(233, 84, 32, .10);
  color: #2f2b2a;
}
.ubuntu-tree-toggle:disabled {
  cursor: default;
  opacity: .24;
}
.ubuntu-tree-toggle span {
  border-bottom: 4px solid transparent;
  border-left: 5px solid currentColor;
  border-top: 4px solid transparent;
  display: block;
  transform: rotate(90deg);
  transition: transform .14s ease;
}
.ubuntu-tree-node:not(.is-open) > .ubuntu-tree-folder-row .ubuntu-tree-toggle span {
  transform: rotate(0deg);
}
.ubuntu-tree-node:not(.is-open) > .ubuntu-tree-children {
  display: none;
}
.ubuntu-tree-item {
  align-items: center;
  border-radius: 8px;
  color: #3b3531;
  display: flex;
  gap: 8px;
  min-height: 30px;
  padding: 5px 8px 5px calc(8px + (var(--tree-level) * 18px));
  position: relative;
}
.ubuntu-tree-item:hover {
  background: rgba(233, 84, 32, .08);
}
.ubuntu-tree-item.active {
  background: rgba(233, 84, 32, .15);
  color: #251f1c;
  font-weight: 900;
}
.ubuntu-tree-item span:last-child {
  font-size: 10px;
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ubuntu-tree-branch {
  border-bottom: 1px solid rgba(93, 83, 76, .25);
  border-left: 1px solid rgba(93, 83, 76, .25);
  height: 14px;
  left: calc(10px + ((var(--tree-level) - 1) * 18px));
  position: absolute;
  top: 0;
  width: 10px;
}
.ubuntu-tree-item[style*="--tree-level: 0"] .ubuntu-tree-branch {
  display: none;
}
.ubuntu-tree-folder-row[style*="--tree-level: 0"] .ubuntu-tree-branch {
  display: none;
}
.ubuntu-tree-note {
  border-top: 1px solid #e1dad3;
  color: #867a73;
  flex: 0 0 auto;
  font-size: 9px;
  font-weight: 700;
  line-height: 1.35;
  padding: 9px 12px;
}
.ubuntu-file-header,
.ubuntu-file-row {
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(0, 1fr) minmax(62px, 78px) minmax(98px, 118px) minmax(188px, 206px);
}
.ubuntu-file-header {
  background: #faf9f7;
  border-bottom: 1px solid #e7e1dc;
  color: #746b65;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .05em;
  padding: 8px 10px;
  text-transform: uppercase;
}
.ubuntu-file-row {
  align-items: center;
  border-bottom: 1px solid #f0ece8;
  color: #2f2b2a;
  min-height: 52px;
  padding: 8px 10px;
}
.ubuntu-file-row > *,
.ubuntu-file-header > * {
  min-width: 0;
}
.ubuntu-file-row:hover {
  background: #fff8f1;
}
.ubuntu-file-name a,
.ubuntu-file-name > span {
  align-items: center;
  color: #2f2b2a;
  display: inline-flex;
  gap: 10px;
  min-width: 0;
}
.ubuntu-file-name {
  align-items: center;
  display: flex;
  gap: 8px;
  min-width: 0;
}
.ubuntu-file-name strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ubuntu-folder-hover-actions {
  align-items: center;
  display: inline-flex;
  gap: 4px;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity .14s ease, transform .14s ease;
}
.ubuntu-file-row.is-folder:hover .ubuntu-folder-hover-actions,
.ubuntu-file-row.is-folder:focus-within .ubuntu-folder-hover-actions {
  opacity: 1;
  transform: translateX(0);
}
.ubuntu-folder-action {
  background: #f7f4f1;
  border: 1px solid #e1dad3;
  border-radius: 7px;
  height: 26px;
  min-height: 26px;
  min-width: 26px;
  padding: 0;
  width: 26px;
}
.ubuntu-folder-action:hover {
  background: #fff8f1;
  border-color: rgba(233, 84, 32, .35);
}
.ubuntu-folder-action.is-copied,
.ubuntu-action-button.is-copied {
  background: rgba(0, 143, 95, .12);
  border-color: rgba(0, 143, 95, .28);
}
.ubuntu-folder-action .ubuntu-action-icon {
  transform: scale(.72);
}
.ubuntu-file-icon {
  align-items: center;
  background: #e95420;
  border-radius: 4px;
  box-shadow: inset 0 -7px 0 rgba(0,0,0,.08), 0 2px 4px rgba(16, 24, 40, .10);
  display: inline-flex;
  flex: 0 0 auto;
  height: 24px;
  position: relative;
  width: 30px;
}
.is-folder .ubuntu-file-icon::before {
  background: #f4814a;
  border-radius: 4px 4px 0 0;
  content: '';
  height: 8px;
  left: 3px;
  position: absolute;
  top: -5px;
  width: 14px;
}
.is-folder .ubuntu-file-icon::after {
  background: rgba(255,255,255,.18);
  border-radius: 999px;
  content: '';
  height: 3px;
  left: 5px;
  position: absolute;
  right: 5px;
  top: 7px;
}
.is-file .ubuntu-file-icon {
  background: #ffffff;
  border: 1px solid #cfc7c0;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(16, 24, 40, .10);
  height: 28px;
  width: 23px;
}
.ubuntu-image-thumb {
  background: #ffffff;
  border: 1px solid #cfc7c0;
  border-radius: 7px;
  box-shadow: 0 2px 6px rgba(16, 24, 40, .12);
  cursor: zoom-in;
  display: inline-flex;
  flex: 0 0 auto;
  height: 32px;
  overflow: hidden;
  padding: 2px;
  position: relative;
  width: 38px;
}
.ubuntu-image-thumb:hover {
  border-color: rgba(233, 84, 32, .42);
  box-shadow: 0 5px 14px rgba(16, 24, 40, .16);
}
.ubuntu-image-thumb img {
  border-radius: 5px;
  height: 100%;
  object-fit: cover;
  width: 100%;
}
.ubuntu-image-zoom-icon {
  background: rgba(47, 43, 42, .72);
  border-radius: 999px;
  bottom: 2px;
  height: 13px;
  position: absolute;
  right: 2px;
  width: 13px;
}
.ubuntu-image-zoom-icon::before {
  border: 1px solid #ffffff;
  border-radius: 999px;
  content: '';
  height: 5px;
  left: 3px;
  position: absolute;
  top: 2px;
  width: 5px;
}
.ubuntu-image-zoom-icon::after {
  background: #ffffff;
  border-radius: 999px;
  content: '';
  height: 5px;
  left: 8px;
  position: absolute;
  top: 7px;
  transform: rotate(-45deg);
  width: 1px;
}
.is-file .ubuntu-file-icon::before {
  border-left: 7px solid transparent;
  border-top: 7px solid #d9d2cc;
  content: '';
  position: absolute;
  right: -1px;
  top: -1px;
}
.is-file .ubuntu-file-icon::after {
  background: linear-gradient(#b7aca4, #b7aca4) 0 0 / 12px 1px no-repeat,
              linear-gradient(#d4ccc5, #d4ccc5) 0 6px / 15px 1px no-repeat,
              linear-gradient(#d4ccc5, #d4ccc5) 0 12px / 10px 1px no-repeat;
  content: '';
  height: 14px;
  left: 4px;
  position: absolute;
  top: 8px;
  width: 15px;
}
.is-pdf .ubuntu-file-icon { border-color: #fca5a5; }
.is-document .ubuntu-file-icon { border-color: #93c5fd; }
.is-sheet .ubuntu-file-icon { border-color: #86efac; }
.is-slides .ubuntu-file-icon { border-color: #fdba74; }
.is-archive .ubuntu-file-icon { border-color: #c4b5fd; }
.is-code .ubuntu-file-icon { border-color: #67e8f9; }
.is-text .ubuntu-file-icon { border-color: #d6d3d1; }
.is-video .ubuntu-file-icon { border-color: #f9a8d4; }
.is-audio .ubuntu-file-icon { border-color: #fde68a; }
.is-pdf .ubuntu-file-icon::after,
.is-document .ubuntu-file-icon::after,
.is-sheet .ubuntu-file-icon::after,
.is-slides .ubuntu-file-icon::after,
.is-archive .ubuntu-file-icon::after,
.is-code .ubuntu-file-icon::after,
.is-text .ubuntu-file-icon::after,
.is-video .ubuntu-file-icon::after,
.is-audio .ubuntu-file-icon::after {
  background: none;
  color: #ffffff;
  content: attr(data-ext);
  font-size: 5.8px;
  font-weight: 900;
  height: auto;
  left: 2px;
  letter-spacing: 0;
  line-height: 1;
  overflow: hidden;
  position: absolute;
  right: 2px;
  text-align: center;
  text-overflow: clip;
  top: 14px;
  white-space: nowrap;
  width: auto;
}
.is-pdf .ubuntu-file-icon::before,
.is-document .ubuntu-file-icon::before,
.is-sheet .ubuntu-file-icon::before,
.is-slides .ubuntu-file-icon::before,
.is-archive .ubuntu-file-icon::before,
.is-code .ubuntu-file-icon::before,
.is-text .ubuntu-file-icon::before,
.is-video .ubuntu-file-icon::before,
.is-audio .ubuntu-file-icon::before {
  border: 0;
  border-radius: 0 0 5px 5px;
  bottom: -1px;
  content: '';
  height: 13px;
  left: -1px;
  position: absolute;
  right: -1px;
  top: auto;
  width: auto;
}
.is-pdf .ubuntu-file-icon::before { background: #dc2626; }
.is-document .ubuntu-file-icon::before { background: #2563eb; }
.is-sheet .ubuntu-file-icon::before { background: #16a34a; }
.is-slides .ubuntu-file-icon::before { background: #ea580c; }
.is-archive .ubuntu-file-icon::before { background: #7c3aed; }
.is-code .ubuntu-file-icon::before { background: #0891b2; }
.is-text .ubuntu-file-icon::before { background: #78716c; }
.is-video .ubuntu-file-icon::before { background: #db2777; }
.is-audio .ubuntu-file-icon::before { background: #ca8a04; }
.ubuntu-tree-item .ubuntu-file-icon {
  height: 16px;
  width: 20px;
}
.ubuntu-tree-item.is-folder .ubuntu-file-icon::before {
  height: 6px;
  top: -4px;
  width: 10px;
}
.ubuntu-tree-item.is-file .ubuntu-file-icon {
  height: 20px;
  width: 16px;
}
.ubuntu-tree-item.is-file .ubuntu-file-icon::before {
  border-left-width: 5px;
  border-top-width: 5px;
}
.ubuntu-tree-item.is-file .ubuntu-file-icon::after {
  background: linear-gradient(#b7aca4, #b7aca4) 0 0 / 8px 1px no-repeat,
              linear-gradient(#d4ccc5, #d4ccc5) 0 5px / 9px 1px no-repeat;
  height: 8px;
  top: 7px;
  width: 9px;
}
.ubuntu-tree-item.is-image .ubuntu-file-icon {
  background: linear-gradient(135deg, #38bdf8, #22c55e);
  border-color: #7dd3fc;
}
.ubuntu-tree-item.is-image .ubuntu-file-icon::before {
  border: 0;
  background: rgba(255,255,255,.85);
  border-radius: 999px;
  height: 4px;
  left: 3px;
  top: 4px;
  width: 4px;
}
.ubuntu-tree-item.is-image .ubuntu-file-icon::after {
  background: linear-gradient(135deg, transparent 0 48%, rgba(255,255,255,.85) 50% 100%);
  bottom: 2px;
  height: 8px;
  left: 2px;
  top: auto;
  width: 12px;
}
.ubuntu-file-size,
.ubuntu-file-date {
  color: #6b625c;
  font-size: 9.5px;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ubuntu-file-actions {
  align-items: center;
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  justify-content: flex-end;
}
.ubuntu-file-actions form {
  margin: 0;
}
.ubuntu-mini-btn {
  background: #f7f4f1;
  border: 1px solid #e1dad3;
  border-radius: 8px;
  color: #4c4540;
  cursor: pointer;
  display: inline-flex;
  font-size: 9px;
  font-weight: 800;
  min-height: 30px;
  padding: 0;
  text-transform: none;
}
.ubuntu-mini-btn.danger {
  color: var(--danger);
}
.ubuntu-file-actions .ubuntu-action-button {
  height: 30px;
  min-height: 30px;
  min-width: 30px;
  width: 30px;
}
.ubuntu-file-actions .ubuntu-action-icon {
  transform: scale(.86);
}
.ubuntu-share-result span {
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(0, 1fr) auto;
}
.ubuntu-share-result input {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
}
.ubuntu-image-dialog {
  background: transparent;
  border: 0;
  max-width: min(940px, calc(100vw - 28px));
  padding: 0;
  width: min(940px, calc(100vw - 28px));
}
.ubuntu-image-dialog::backdrop {
  background: rgba(20, 18, 17, .64);
  backdrop-filter: blur(5px);
}
.ubuntu-image-card {
  background: #2d2928;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  box-shadow: 0 24px 70px rgba(0,0,0,.36);
  color: #ffffff;
  overflow: hidden;
}
.ubuntu-image-card .ubuntu-folder-titlebar {
  background: #242120;
  border-bottom-color: rgba(255,255,255,.10);
  color: #ffffff;
}
.ubuntu-image-stage {
  align-items: center;
  background: radial-gradient(circle at center, rgba(255,255,255,.08), rgba(0,0,0,.12));
  display: flex;
  height: min(66vh, 620px);
  justify-content: center;
  overflow: auto;
  padding: 22px;
}
.ubuntu-image-stage img {
  border-radius: 10px;
  box-shadow: 0 12px 38px rgba(0,0,0,.34);
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  transform-origin: center;
  transition: transform .16s ease;
}
.ubuntu-image-actions {
  align-items: center;
  background: #242120;
  border-top: 1px solid rgba(255,255,255,.10);
  display: flex;
  gap: 8px;
  justify-content: center;
  padding: 10px;
}
.ubuntu-image-actions button {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 8px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
  min-height: 31px;
  min-width: 42px;
  padding: 6px 12px;
}
.ubuntu-image-actions button:hover {
  background: rgba(233, 84, 32, .28);
  border-color: rgba(233, 84, 32, .42);
}
.share-body {
  background: linear-gradient(135deg, #f5f2ee, #e8e2dc);
  color: #2f2b2a;
  min-height: 100vh;
}
.share-shell {
  display: grid;
  gap: 18px;
  margin: 0 auto;
  max-width: 880px;
  padding: 42px 18px;
}
.share-top {
  align-items: center;
  display: flex;
  gap: 16px;
}
.share-top h1 {
  font-size: clamp(24px, 4vw, 40px);
  letter-spacing: 0;
  margin: 2px 0 4px;
}
.share-top span {
  color: #6b625c;
  font-size: 12px;
  font-weight: 800;
}
.share-panel {
  align-items: center;
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(209, 199, 190, .88);
  border-radius: 14px;
  box-shadow: 0 18px 50px rgba(47, 43, 42, .10);
  display: grid;
  gap: 16px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  padding: 18px;
}
.share-panel strong {
  color: #2f2b2a;
  font-size: 16px;
}
.share-panel p {
  color: #746b65;
  font-size: 11px;
  font-weight: 700;
  margin: 4px 0 0;
}
.share-file-icon {
  align-items: center;
  background: #f7f4f1;
  border: 1px solid #e1dad3;
  border-radius: 12px;
  display: flex;
  height: 58px;
  justify-content: center;
  width: 58px;
}
.share-folder {
  align-items: stretch;
  grid-template-columns: 1fr;
}
.share-folder-head {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}
.share-list {
  border: 1px solid #eee8e2;
  border-radius: 10px;
  overflow: hidden;
}
.share-row {
  align-items: center;
  background: #ffffff;
  border-bottom: 1px solid #f0ece8;
  color: #2f2b2a;
  display: grid;
  gap: 10px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  min-height: 50px;
  padding: 10px 12px;
}
.share-row:hover {
  background: #fff8f1;
}
.share-row strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.share-row em {
  color: #746b65;
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
}
.share-empty {
  background: #ffffff;
  color: #746b65;
  font-size: 12px;
  font-weight: 800;
  padding: 24px;
  text-align: center;
}
.ubuntu-empty {
  align-items: center;
  color: #746b65;
  display: grid;
  justify-items: center;
  min-height: 100%;
}
.ubuntu-empty strong {
  color: #2f2b2a;
  font-size: 14px;
}
.ubuntu-empty span {
  font-size: 11px;
  margin-top: 5px;
}
.ubuntu-loading {
  align-items: center;
  background: rgba(47, 43, 42, .42);
  backdrop-filter: blur(4px);
  display: flex;
  inset: 0;
  justify-content: center;
  position: absolute;
  z-index: 5;
}
.ubuntu-loading[hidden] {
  display: none;
}
.ubuntu-loader-card {
  align-items: center;
  background: #2d2928;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0,0,0,.30);
  color: #ffffff;
  display: grid;
  justify-items: center;
  min-width: 260px;
  padding: 24px;
  text-align: center;
}
.ubuntu-loader-card strong {
  font-size: 13px;
  margin-top: 12px;
}
.ubuntu-loader-card span {
  color: rgba(255,255,255,.68);
  font-size: 10px;
  line-height: 1.45;
  margin-top: 6px;
  max-width: 260px;
}
.ubuntu-upload-progress {
  display: grid;
  gap: 7px;
  margin-top: 14px;
  width: min(260px, 100%);
}
.ubuntu-upload-progress[hidden] {
  display: none;
}
.ubuntu-upload-progress div {
  background: rgba(255,255,255,.14);
  border-radius: 999px;
  height: 7px;
  overflow: hidden;
  width: 100%;
}
.ubuntu-upload-progress div span {
  background: linear-gradient(90deg, #e95420, #f59e0b);
  border-radius: inherit;
  display: block;
  height: 100%;
  margin: 0;
  max-width: none;
  transition: width .18s ease;
  width: 0;
}
.ubuntu-upload-progress em {
  color: rgba(255,255,255,.76);
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
}
.ubuntu-spinner {
  animation: ubuntu-spin .8s linear infinite;
  border: 3px solid rgba(255,255,255,.20);
  border-top-color: #e95420;
  border-radius: 999px;
  height: 38px;
  width: 38px;
}
@keyframes ubuntu-spin {
  to { transform: rotate(360deg); }
}
.ubuntu-drop-overlay {
  align-items: center;
  background: rgba(246, 244, 242, .78);
  backdrop-filter: blur(5px);
  display: flex;
  inset: 0;
  justify-content: center;
  position: absolute;
  z-index: 4;
}
.ubuntu-drop-overlay[hidden] {
  display: none;
}
.ubuntu-drop-card {
  align-items: center;
  background: #ffffff;
  border: 1px dashed rgba(233, 84, 32, .62);
  border-radius: 16px;
  box-shadow: 0 20px 54px rgba(16, 24, 40, .18);
  color: #2f2b2a;
  display: grid;
  justify-items: center;
  min-width: min(320px, calc(100% - 40px));
  padding: 26px 28px;
  text-align: center;
}
.ubuntu-drop-card .ubuntu-action-icon {
  transform: scale(1.35);
}
.ubuntu-drop-card strong {
  font-size: 14px;
  margin-top: 16px;
}
.ubuntu-drop-card > span:last-child {
  color: #746b65;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.4;
  margin-top: 6px;
}
.backup-table-tools {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}
.job-table-tools {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}
.table-actions {
  flex-wrap: nowrap;
  min-width: max-content;
  white-space: nowrap;
}
.table-actions form {
  flex: 0 0 auto;
}
.table-actions .action-btn {
  min-width: 86px;
}
.segmented-filter {
  background: #f4f6f5;
  border: 1px solid var(--line);
  border-radius: 999px;
  display: flex;
  gap: 3px;
  padding: 3px;
}
.segmented-filter button {
  background: transparent;
  border: 0;
  border-radius: 999px;
  color: #475467;
  gap: 6px;
  letter-spacing: 0;
  min-height: 27px;
  padding: 5px 10px;
  text-transform: none;
}
.segmented-filter button.active {
  background: rgba(0, 143, 95, .13);
  box-shadow: inset 0 0 0 1px rgba(0, 143, 95, .22), 0 1px 2px rgba(16, 24, 40, .06);
  color: var(--green-dark);
}
.segmented-filter b {
  background: #eef2f1;
  border-radius: 999px;
  color: inherit;
  font-size: 9px;
  min-width: 18px;
  padding: 2px 6px;
}
.segmented-filter .table-refresh {
  border: 0;
  box-shadow: none;
  height: 27px;
  min-height: 27px;
  width: 30px;
}
.table-controlbar {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin: -4px 0 12px;
}
.table-search {
  align-items: center;
  background: #f8faf9;
  border: 1px solid var(--line);
  border-radius: 999px;
  display: flex;
  gap: 8px;
  min-width: min(360px, 100%);
  padding: 4px 6px 4px 12px;
}
.table-search span {
  color: var(--muted);
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.table-search input {
  background: #ffffff;
  border: 0;
  border-radius: 999px;
  min-height: 28px;
  padding: 5px 10px;
}
.table-search input:focus {
  box-shadow: 0 0 0 2px rgba(0, 143, 95, .12);
}
.table-page-info {
  color: #667085;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}
.sortable-table th button {
  align-items: center;
  background: transparent;
  border: 0;
  color: inherit;
  display: inline-flex;
  font-size: inherit;
  font-weight: inherit;
  gap: 5px;
  justify-content: flex-start;
  letter-spacing: inherit;
  min-height: 0;
  padding: 0;
  text-transform: inherit;
}
.sortable-table th button::after {
  color: #98a2b3;
  content: '↕';
  font-size: 9px;
}
.sortable-table th button.active {
  color: var(--green-dark);
}
.sortable-table th button.active[data-sort-dir="asc"]::after {
  content: '↑';
}
.sortable-table th button.active[data-sort-dir="desc"]::after {
  content: '↓';
}
.sortable-table tbody tr {
  transition: background .15s ease, box-shadow .15s ease;
}
.sortable-table tbody tr:nth-child(even) td {
  background: #fcfdfd;
}
.sortable-table tbody tr:hover td {
  background: #f3faf7;
}
.table-pagination {
  align-items: center;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin: 12px -18px -18px;
  padding: 12px 18px;
}
.table-pagination[hidden] {
  display: none;
}
.table-pagination > div {
  display: flex;
  gap: 5px;
}
.table-pagination > div button {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #475467;
  height: 28px;
  min-height: 28px;
  min-width: 28px;
  padding: 4px 8px;
}
.table-pagination > div button.active {
  background: rgba(0, 143, 95, .13);
  border-color: rgba(0, 143, 95, .28);
  color: var(--green-dark);
  font-weight: 800;
}
@media (max-width: 1180px) {
  .ubuntu-file-header,
  .ubuntu-file-row {
    grid-template-columns: minmax(0, 1fr) minmax(58px, 72px) minmax(188px, 206px);
  }
  .ubuntu-file-header span:nth-child(3),
  .ubuntu-file-date {
    display: none;
  }
}
@media (max-width: 860px) {
  .backup-table-tools,
  .table-controlbar {
    align-items: stretch;
    flex-direction: column;
  }
  .ubuntu-toolbar,
  .ubuntu-cloud-actions {
    align-items: stretch;
    flex-direction: column;
  }
  .ubuntu-cloud {
    height: calc(100vh - 32px);
    margin: 16px;
  }
  .ubuntu-cloud-body {
    grid-template-columns: 1fr;
  }
  .ubuntu-tree-panel {
    border-bottom: 1px solid #ded7d0;
    border-right: 0;
    max-height: 210px;
  }
  .ubuntu-file-header {
    display: none;
  }
  .ubuntu-file-row {
    grid-template-columns: 1fr;
  }
  .ubuntu-file-actions {
    justify-content: flex-start;
  }
  .segmented-filter {
    border-radius: 12px;
    flex-wrap: wrap;
  }
  .table-page-info {
    white-space: normal;
  }
}

/* Unified compact metric cards across every view */
.metrics article,
.jobs-metrics article,
.settings-metrics article,
.server-metrics article,
.operations-metrics article,
.backup-metrics.metrics article {
  min-height: 58px;
  padding: 9px 11px;
}
.metrics article::after {
  height: 40px;
  right: -16px;
  top: -18px;
  width: 40px;
}
.metrics strong,
.jobs-metrics strong,
.settings-metrics strong,
.server-metrics strong,
.operations-metrics article strong,
.backup-metrics.metrics strong {
  font-size: 15px;
  margin-top: 5px;
}
.metrics span,
.backup-metrics.metrics span {
  font-size: 8px;
}

/* Rendimiento: Ubuntu System Monitor */
.perf-app {
  --perf-accent: #e95420;
  --perf-high: #f99b11;
  --perf-critical: #c7162b;
  --perf-ok: #26a269;
  --perf-text: #3d3d3d;
  --perf-dim: rgba(0, 0, 0, .55);
  --perf-line: rgba(0, 0, 0, .07);
  --perf-card: #ffffff;
  color: var(--perf-text);
  font-family: 'Ubuntu', 'Ubuntu Sans', system-ui, sans-serif;
  font-size: 13px;
}
.perf-app code,
.perf-app pre {
  font-family: 'Ubuntu Mono', 'Ubuntu Sans Mono', ui-monospace, monospace;
}
.perf-icon {
  fill: none;
  flex: 0 0 auto;
  height: 18px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
  width: 18px;
}
.perf-window {
  background: #fafafa;
  border: 1px solid #ddd8d2;
  border-radius: 12px;
  box-shadow: 0 18px 46px rgba(16, 24, 40, .10);
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 86px);
  margin: 18px 16px 16px;
  overflow: hidden;
}
.perf-headerbar {
  align-items: center;
  background: linear-gradient(180deg, #3f3a39 0%, #2d2928 100%);
  color: #ffffff;
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr auto 1fr;
  min-height: 46px;
  padding: 7px 10px 7px 14px;
}
.perf-headerbar-title {
  font-size: 13px;
  font-weight: 700;
}
.perf-switcher {
  background: rgba(255, 255, 255, .07);
  border-radius: 9px;
  display: flex;
  gap: 2px;
  padding: 3px;
}
.perf-switcher button {
  background: transparent;
  border-radius: 7px;
  color: rgba(255, 255, 255, .72);
  font-size: 12.5px;
  font-weight: 500;
  gap: 7px;
  letter-spacing: 0;
  min-height: 28px;
  padding: 0 14px;
  text-transform: none;
}
.perf-switcher button:hover {
  color: #ffffff;
}
.perf-switcher button.active {
  background: rgba(255, 255, 255, .16);
  color: #ffffff;
}
.perf-select {
  display: none;
}
.perf-headerbar-end {
  align-items: center;
  display: flex;
  gap: 6px;
  justify-content: flex-end;
}
.perf-refresh-status {
  color: rgba(255, 255, 255, .55);
  font-size: 11.5px;
  white-space: nowrap;
}
.perf-flat-btn {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 8px;
  color: inherit;
  display: inline-flex;
  flex: 0 0 auto;
  height: 32px;
  justify-content: center;
  letter-spacing: 0;
  min-height: 32px;
  padding: 0;
  text-transform: none;
  transition: background .14s ease, color .14s ease;
  width: 32px;
}
.perf-flat-btn:hover {
  background: rgba(0, 0, 0, .07);
  color: inherit;
}
.perf-headerbar .perf-flat-btn {
  color: #ffffff;
}
.perf-headerbar .perf-flat-btn:hover {
  background: rgba(255, 255, 255, .10);
  color: #ffffff;
}
.perf-flat-btn.is-destructive:hover {
  background: rgba(192, 28, 40, .10);
  color: var(--perf-critical);
}
.perf-dot {
  background: var(--perf-high);
  border-radius: 999px;
  display: inline-block;
  flex: 0 0 auto;
  height: 7px;
  width: 7px;
}
.perf-dot.is-success { background: var(--perf-ok); }
.perf-dot.is-failed,
.perf-dot.is-danger { background: var(--perf-critical); }
.perf-body {
  flex: 1 1 auto;
  padding: 22px 24px 32px;
}
.perf-body > * {
  margin-left: auto;
  margin-right: auto;
  max-width: 1040px;
}
.perf-loading {
  align-items: center;
  color: var(--perf-dim);
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
  min-height: 60%;
  text-align: center;
}
.perf-loading strong {
  color: var(--perf-text);
  font-size: 15px;
  font-weight: 500;
}
.perf-spinner {
  animation: perf-spin .9s linear infinite;
  border: 3px solid rgba(233, 84, 32, .18);
  border-radius: 999px;
  border-top-color: var(--perf-accent);
  height: 28px;
  margin-bottom: 6px;
  width: 28px;
}
@keyframes perf-spin {
  to { transform: rotate(360deg); }
}
.perf-server {
  display: none;
}
.perf-server.active {
  display: block;
}
.perf-server-head {
  align-items: center;
  display: flex;
  gap: 12px;
}
.perf-server-icon {
  align-items: center;
  background: rgba(233, 84, 32, .10);
  border-radius: 12px;
  color: var(--perf-accent);
  display: inline-flex;
  flex: 0 0 auto;
  height: 42px;
  justify-content: center;
  width: 42px;
}
.perf-server-icon .perf-icon {
  height: 22px;
  width: 22px;
}
.perf-server-name {
  flex: 1 1 auto;
  min-width: 0;
}
.perf-server-name strong {
  display: block;
  font-size: 18px;
  font-weight: 500;
}
.perf-server-name span {
  color: var(--perf-dim);
  display: block;
  font-size: 12px;
  margin-top: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.perf-chip {
  align-items: center;
  background: rgba(249, 155, 17, .14);
  border-radius: 999px;
  color: #8a5300;
  display: inline-flex;
  font-size: 12px;
  font-weight: 500;
  gap: 7px;
  padding: 5px 11px;
  white-space: nowrap;
}
.perf-chip.is-success {
  background: rgba(38, 162, 105, .12);
  color: #1b7a4e;
}
.perf-chip.is-failed,
.perf-chip.is-danger {
  background: rgba(199, 22, 43, .10);
  color: #a51d2d;
}
.perf-tabs {
  border-bottom: 1px solid var(--perf-line);
  display: flex;
  gap: 4px;
  margin: 20px 0 6px;
  overflow-x: auto;
  scrollbar-width: none;
}
.perf-tabs button {
  background: transparent;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  color: var(--perf-dim);
  font-size: 13px;
  font-weight: 500;
  gap: 8px;
  letter-spacing: 0;
  margin-bottom: -1px;
  min-height: 40px;
  padding: 0 12px;
  text-transform: none;
  white-space: nowrap;
}
.perf-tabs button .perf-icon {
  height: 16px;
  width: 16px;
}
.perf-tabs button:hover {
  color: var(--perf-text);
}
.perf-tabs button.active {
  border-bottom-color: var(--perf-accent);
  color: var(--perf-text);
}
.perf-page {
  display: none;
}
.perf-page.active {
  animation: perf-fade .18s ease;
  display: block;
}
@keyframes perf-fade {
  from { opacity: 0; transform: translateY(3px); }
  to { opacity: 1; transform: none; }
}
.perf-group-title {
  align-items: center;
  color: var(--perf-text);
  display: flex;
  font-size: 13px;
  font-weight: 700;
  gap: 8px;
  margin: 24px 2px 9px;
}
.perf-group-title span {
  background: rgba(0, 0, 0, .06);
  border-radius: 999px;
  color: var(--perf-dim);
  font-size: 11px;
  font-weight: 500;
  padding: 1px 8px;
}
.perf-gauges {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  margin-top: 18px;
}
.perf-gauge {
  background: var(--perf-card);
  border: 1px solid var(--perf-line);
  border-radius: 12px;
  display: grid;
  gap: 8px;
  padding: 14px 16px 15px;
}
.perf-gauge-head {
  align-items: center;
  color: var(--perf-dim);
  display: flex;
  font-size: 12.5px;
  font-weight: 500;
  gap: 8px;
}
.perf-gauge-head .perf-icon {
  height: 16px;
  width: 16px;
}
.perf-gauge strong {
  color: var(--perf-text);
  font-size: 32px;
  font-variant-numeric: tabular-nums;
  font-weight: 300;
  line-height: 1;
}
.perf-gauge strong small {
  color: var(--perf-dim);
  font-size: 15px;
  font-weight: 400;
  margin-left: 2px;
}
.perf-gauge em {
  color: var(--perf-dim);
  font-size: 11.5px;
  font-style: normal;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.perf-gauge.is-empty strong {
  color: rgba(0, 0, 0, .25);
}
.perf-bar {
  background: rgba(0, 0, 0, .07);
  border-radius: 999px;
  height: 5px;
  overflow: hidden;
}
.perf-bar i {
  background: var(--perf-accent);
  border-radius: inherit;
  display: block;
  height: 100%;
  transition: width .4s ease;
}
.perf-bar.slim {
  flex: 0 0 140px;
  height: 4px;
}
.is-high .perf-bar i,
.perf-bar.is-high i { background: var(--perf-high); }
.is-critical .perf-bar i,
.perf-bar.is-critical i { background: var(--perf-critical); }
.perf-facts {
  color: var(--perf-dim);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 14px 2px 0;
}
.perf-facts span {
  align-items: center;
  display: inline-flex;
  font-size: 12px;
  gap: 7px;
}
.perf-facts .perf-icon {
  height: 15px;
  width: 15px;
}
.perf-facts b {
  color: var(--perf-text);
  font-weight: 500;
}
.perf-list {
  background: var(--perf-card);
  border: 1px solid var(--perf-line);
  border-radius: 12px;
  overflow: hidden;
}
.perf-list > * + * {
  border-top: 1px solid var(--perf-line);
}
.perf-row {
  align-items: center;
  display: flex;
  gap: 12px;
  min-height: 48px;
  padding: 8px 10px 8px 14px;
}
.perf-row-icon {
  align-items: center;
  color: rgba(0, 0, 0, .55);
  display: inline-flex;
  flex: 0 0 22px;
  justify-content: center;
}
.perf-row-main {
  flex: 1 1 auto;
  min-width: 0;
}
.perf-row-main strong,
.perf-row-main span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.perf-row-main strong {
  font-weight: 500;
}
.perf-row-main span {
  align-items: center;
  color: var(--perf-dim);
  display: flex;
  font-size: 12px;
  gap: 6px;
  margin-top: 2px;
}
.perf-compact-row > strong,
.perf-compact-row > code {
  flex: 1 1 auto;
  font-weight: 500;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.perf-compact-row > code {
  font-size: 13px;
  font-weight: 400;
}
.perf-row-value {
  flex: 0 0 auto;
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  min-width: 56px;
  padding-right: 4px;
  text-align: right;
}
.perf-state {
  align-items: center;
  color: var(--perf-dim);
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 12px;
  gap: 7px;
  padding-right: 4px;
}
.perf-row-header {
  color: var(--perf-dim);
  font-size: 11.5px;
  font-weight: 500;
  min-height: 34px;
}
.perf-row-header span:first-child { flex: 0 0 22px; }
.perf-row-header span:nth-child(2) { flex: 1 1 auto; }
.perf-row-header span:nth-child(n+3) {
  min-width: 56px;
  padding-right: 4px;
  text-align: right;
}
.perf-row-actions {
  display: flex;
  gap: 2px;
}
.perf-error-row {
  align-items: flex-start;
}
.perf-error-row .perf-row-icon {
  color: var(--perf-critical);
  padding-top: 1px;
}
.perf-error-row code {
  flex: 1 1 auto;
  font-size: 12.5px;
  line-height: 1.45;
  min-width: 0;
  word-break: break-all;
}
.perf-split {
  display: grid;
  gap: 0 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.perf-expander > summary {
  cursor: pointer;
  list-style: none;
}
.perf-expander > summary::-webkit-details-marker {
  display: none;
}
.perf-expander > summary:hover {
  background: rgba(0, 0, 0, .025);
}
.perf-chevron {
  color: var(--perf-dim);
  display: inline-flex;
  transition: transform .16s ease;
}
.perf-chevron .perf-icon {
  height: 16px;
  width: 16px;
}
.perf-expander[open] .perf-chevron {
  transform: rotate(90deg);
}
.perf-expander-body {
  display: grid;
  gap: 2px;
  padding: 0 18px 12px 48px;
}
.perf-subrow {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 5px 0;
}
.perf-subrow code {
  color: var(--perf-dim);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.perf-subrow b {
  flex: 0 0 auto;
  font-weight: 500;
}
.perf-terminal {
  background: #300a24;
  border-radius: 8px;
  color: #f2f2f2;
  font-size: 12.5px;
  line-height: 1.5;
  margin: 0 14px 14px;
  max-height: 320px;
  overflow: auto;
  padding: 12px 14px;
  white-space: pre-wrap;
  word-break: break-word;
}
.perf-empty {
  color: var(--perf-dim);
  font-size: 12.5px;
  margin: 0;
  padding: 15px 16px;
}
@media (max-width: 900px) {
  .perf-split {
    grid-template-columns: 1fr;
  }
  .perf-headerbar {
    grid-template-columns: auto 1fr auto;
  }
  .perf-switcher {
    display: none;
  }
  .perf-select {
    appearance: auto;
    background: rgba(255, 255, 255, .10);
    border: 0;
    border-radius: 8px;
    color: #ffffff;
    display: block;
    font-size: 12.5px;
    justify-self: center;
    max-width: 220px;
    min-height: 30px;
    padding: 4px 10px;
    width: auto;
  }
  .perf-select option {
    color: #3d3d3d;
  }
}
@media (max-width: 760px) {
  .perf-window {
    min-height: calc(100vh - 116px);
    margin: 10px 8px;
  }
  .perf-body {
    padding: 16px 14px 24px;
  }
  .perf-refresh-status,
  .perf-headerbar .ubuntu-window-dots {
    display: none;
  }
  .perf-headerbar {
    grid-template-columns: 1fr auto;
  }
  .perf-select {
    justify-self: start;
  }
  .perf-gauges {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .perf-gauge strong {
    font-size: 26px;
  }
  .perf-tabs button:not(.active) span {
    display: none;
  }
  .perf-bar.slim {
    flex-basis: 64px;
  }
}

/* Centro operativo: same Ubuntu monitor system */
.perf-headerbar-title {
  justify-self: center;
}
.perf-chip.is-neutral {
  background: rgba(0, 0, 0, .06);
  color: var(--perf-dim);
}
.perf-loading.is-inline {
  min-height: 0;
  padding: 30px 16px;
}
.perf-spaced {
  margin-top: 18px;
}
.ops-mini-stats {
  display: flex;
  flex: 0 0 auto;
  gap: 16px;
  margin-right: 6px;
}
.ops-mini-stats span {
  display: grid;
  gap: 1px;
  min-width: 40px;
  text-align: right;
}
.ops-mini-stats small {
  color: var(--perf-dim);
  font-size: 10.5px;
}
.ops-mini-stats b {
  font-variant-numeric: tabular-nums;
  font-weight: 500;
}
.ops-mini-stats .is-high b { color: #b26a00; }
.ops-mini-stats .is-critical b { color: var(--perf-critical); }
.ops-spark-row > strong {
  flex: 0 0 76px;
  font-weight: 500;
}
.ops-spark {
  align-items: flex-end;
  display: flex;
  flex: 1 1 auto;
  gap: 3px;
  height: 30px;
  min-width: 0;
}
.ops-spark i {
  background: var(--perf-accent);
  border-radius: 2px 2px 0 0;
  display: block;
  flex: 1 1 0;
  opacity: .85;
}
.ops-spark i.is-high { background: var(--perf-high); }
.ops-spark i.is-critical { background: var(--perf-critical); }
@media (max-width: 760px) {
  .ops-health-row {
    flex-wrap: wrap;
  }
  .ops-health-row .perf-row-main {
    flex-basis: calc(100% - 40px);
  }
  .ops-health-row .ops-mini-stats {
    margin-left: 34px;
  }
  .ops-health-row .perf-chip {
    margin-left: auto;
  }
  .ops-spark-row > strong {
    flex-basis: 58px;
  }
}

/* Admin views (Panel, Backups, Tareas, Servidores, Instalacion) inside the Ubuntu window */
.perf-body > .ui-content {
  max-width: 1180px;
}
.ui-page .perf-gauges {
  margin-top: 20px;
}
.ui-page .perf-gauge strong {
  font-size: 28px;
}
.ui-head form {
  margin: 0;
}
.perf-app .muted {
  color: var(--perf-dim);
}
.perf-app .grid.two {
  align-items: start;
  gap: 18px;
  margin-top: 22px;
}
.perf-app .grid.two > .panel {
  margin-top: 0;
}
.perf-app .panel {
  background: var(--perf-card);
  border: 1px solid var(--perf-line);
  border-radius: 12px;
  box-shadow: none;
  margin: 22px 0 0;
  overflow: hidden;
  padding: 16px 18px;
}
.perf-app .panel::before,
.perf-app .panel-head::after {
  display: none;
}
.perf-app .panel-head {
  align-items: center;
  background: transparent;
  border-bottom: 1px solid var(--perf-line);
  flex-wrap: wrap;
  gap: 12px;
  margin: -16px -18px 14px;
  padding: 14px 18px;
}
.perf-app .panel h2 {
  color: var(--perf-text);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
}
.perf-app .panel-head .muted {
  display: block;
  font-size: 12px;
  margin-top: 3px;
}
.perf-app .backup-table-tools,
.perf-app .job-table-tools {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Buttons */
.perf-app .primary,
.perf-app .button,
.perf-app .ghost {
  align-items: center;
  background: rgba(0, 0, 0, .07);
  border: 0;
  border-radius: 8px;
  color: var(--perf-text);
  display: inline-flex;
  font-size: 13px;
  font-weight: 500;
  gap: 7px;
  justify-content: center;
  letter-spacing: 0;
  min-height: 34px;
  padding: 0 16px;
  text-transform: none;
  transition: background .14s ease, color .14s ease;
}
.perf-app .button:hover,
.perf-app .ghost:hover {
  background: rgba(0, 0, 0, .11);
  color: var(--perf-text);
}
.perf-app .primary {
  background: var(--perf-accent);
  color: #ffffff;
}
.perf-app .primary:hover {
  background: #d2481a;
  color: #ffffff;
}
.perf-app .ghost.danger,
.perf-app .danger {
  color: #c01c28;
}
.perf-app .ghost.danger:hover {
  background: rgba(192, 28, 40, .10);
  color: #c01c28;
}
.perf-app .form > .primary {
  justify-self: start;
}

/* Row action buttons with symbolic icons */
.perf-app .actions .action-btn,
.perf-app .action-btn {
  background: transparent;
  border: 0;
  border-radius: 8px;
  color: var(--perf-text);
  font-size: 12.5px;
  font-weight: 500;
  gap: 6px;
  min-height: 30px;
  padding: 0 10px;
}
.perf-app .actions .action-btn:hover {
  background: rgba(0, 0, 0, .07);
}
.perf-app .actions .action-delete {
  color: #c01c28;
}
.perf-app .actions .action-delete:hover {
  background: rgba(192, 28, 40, .10);
}
.perf-app .actions .action-download,
.perf-app .actions .action-test {
  color: var(--perf-text);
}
.perf-app .action-btn > span {
  background: transparent;
  border-radius: 0;
  height: 16px;
  width: 16px;
}
.perf-app .action-btn > span::before {
  background: currentColor;
  content: '';
  display: block;
  height: 16px;
  -webkit-mask: var(--ui-icon) center / contain no-repeat;
  mask: var(--ui-icon) center / contain no-repeat;
  width: 16px;
}
.perf-app .action-edit { --ui-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20h4L19 9l-4-4L4 16z'/%3E%3Cpath d='M14 6l4 4'/%3E%3C/svg%3E"); }
.perf-app .action-view { --ui-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E"); }
.perf-app .action-download { --ui-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v11M7 10l5 5 5-5M5 20h14'/%3E%3C/svg%3E"); }
.perf-app .action-test { --ui-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l4 4 10-10'/%3E%3C/svg%3E"); }
.perf-app .action-pause { --ui-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6v12M15 6v12'/%3E%3C/svg%3E"); }
.perf-app .action-start { --ui-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 5l11 7-11 7z'/%3E%3C/svg%3E"); }
.perf-app .action-delete { --ui-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7h16M10 11v6M14 11v6M6 7l1 13h10l1-13M9 7V4h6v3'/%3E%3C/svg%3E"); }
.perf-app .schedule-builder .action-start { --ui-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E"); }

/* Segmented filter (GNOME linked buttons) */
.perf-app .segmented-filter {
  background: rgba(0, 0, 0, .06);
  border: 0;
  border-radius: 9px;
  display: inline-flex;
  gap: 2px;
  padding: 3px;
}
.perf-app .segmented-filter button {
  background: transparent;
  border: 0;
  border-radius: 7px;
  color: var(--perf-dim);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0;
  min-height: 28px;
  padding: 0 12px;
  text-transform: none;
}
.perf-app .segmented-filter button:hover {
  color: var(--perf-text);
}
.perf-app .segmented-filter button.active {
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .14);
  color: var(--perf-text);
}
.perf-app .segmented-filter b {
  background: rgba(0, 0, 0, .07);
  border-radius: 999px;
  color: inherit;
  font-size: 11px;
  font-weight: 500;
  margin-left: 6px;
  padding: 0 6px;
}

/* Search + page info */
.perf-app .table-controlbar {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  margin: 0 0 12px;
}
.perf-app .table-search {
  display: block;
  flex: 0 1 340px;
}
.perf-app .table-search span {
  height: 1px;
  overflow: hidden;
  position: absolute;
  width: 1px;
  clip: rect(0 0 0 0);
}
.perf-app .table-search input {
  background: rgba(0, 0, 0, .05) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23777' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='6'/%3E%3Cpath d='M20 20l-4.5-4.5'/%3E%3C/svg%3E") 11px center / 15px no-repeat;
  border: 1px solid transparent;
  padding-left: 34px;
}
.perf-app .table-page-info {
  color: var(--perf-dim);
  font-size: 12px;
}

/* Tables */
.perf-app table {
  border-collapse: collapse;
  width: 100%;
}
.perf-app th {
  background: transparent;
  border-bottom: 1px solid var(--perf-line);
  color: var(--perf-dim);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0;
  padding: 9px 12px;
  text-align: left;
  text-transform: none;
}
.perf-app td {
  border-bottom: 1px solid var(--perf-line);
  color: var(--perf-text);
  font-size: 13px;
  padding: 11px 12px;
  vertical-align: middle;
}
.perf-app tbody tr:last-child td {
  border-bottom: 0;
}
.perf-app tr:hover td,
.perf-app .sortable-table tbody tr:hover td {
  background: rgba(0, 0, 0, .022);
}
.perf-app .sortable-table tbody tr:nth-child(even) td {
  background: transparent;
}
.perf-app .sortable-table th button {
  background: transparent;
  color: var(--perf-dim);
  font-size: 11.5px;
  font-weight: 500;
  gap: 4px;
  letter-spacing: 0;
  min-height: 0;
  padding: 0;
  text-transform: none;
}
.perf-app .sortable-table th button.active {
  color: var(--perf-text);
}
.perf-app td code,
.perf-app .ui-cron code {
  background: rgba(0, 0, 0, .05);
  border: 0;
  border-radius: 5px;
  color: var(--perf-text);
  font-size: 12px;
  padding: 1px 6px;
}
.perf-app td small {
  color: var(--perf-dim);
  display: block;
  font-size: 12px;
  margin-top: 3px;
}
.perf-app td strong,
.perf-app .schedule-text {
  font-weight: 500;
}
.perf-app .table-title {
  color: var(--perf-text);
  font-size: 13.5px;
  font-weight: 500;
}
.perf-app .table-title:hover {
  color: var(--perf-accent);
}
.perf-app .link-button.table-title {
  font-size: 13.5px;
}
.perf-app .table-pagination {
  border-top: 1px solid var(--perf-line);
  margin: 12px -18px -16px;
  padding: 10px 18px;
}
.perf-app .table-pagination > div button {
  background: transparent;
  border: 0;
  border-radius: 8px;
  color: var(--perf-dim);
  font-size: 12.5px;
  font-weight: 500;
  min-height: 30px;
  min-width: 30px;
}
.perf-app .table-pagination > div button.active {
  background: rgba(233, 84, 32, .12);
  color: var(--perf-accent);
}
.perf-app .run-output td {
  background: transparent;
  padding-top: 0;
}
.perf-app pre.log {
  background: #300a24;
  border: 0;
  border-radius: 8px;
  color: #f2f2f2;
  font-size: 12.5px;
  margin: 0;
  max-height: 320px;
  overflow: auto;
  padding: 12px 14px;
}

/* Status pills */
.perf-app .status {
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0;
  padding: 3px 10px;
  text-transform: none;
}
.perf-app .status.success { background: rgba(38, 162, 105, .12); color: #1b7a4e; }
.perf-app .status.failed { background: rgba(199, 22, 43, .10); color: #a51d2d; }
.perf-app .status.running { background: rgba(53, 132, 228, .12); color: #1a5fb4; }
.perf-app .status.pending { background: rgba(0, 0, 0, .06); color: var(--perf-dim); }
.perf-app .status.warning { background: rgba(249, 155, 17, .14); color: #8a5300; }

/* Forms */
.perf-app .form.stack {
  gap: 14px;
}
.perf-app .form label {
  color: var(--perf-dim);
  font-size: 12.5px;
  font-weight: 500;
  gap: 6px;
  letter-spacing: 0;
  text-transform: none;
}
.perf-app input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
.perf-app select,
.perf-app textarea {
  background-color: #ffffff;
  border: 1px solid rgba(0, 0, 0, .14);
  border-radius: 8px;
  color: var(--perf-text);
  font-family: inherit;
  font-size: 13px;
  min-height: 36px;
  padding: 7px 11px;
}
.perf-app .table-search input:not([type="checkbox"]):not([type="radio"]):not([type="file"]) {
  background-color: rgba(0, 0, 0, .05);
  border-color: transparent;
  padding-left: 34px;
}
.perf-app .table-search input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):focus {
  background-color: #ffffff;
  border-color: var(--perf-accent);
}
.perf-app input:focus,
.perf-app select:focus,
.perf-app textarea:focus {
  border-color: var(--perf-accent);
  box-shadow: 0 0 0 3px rgba(233, 84, 32, .18);
  outline: none;
}
.perf-app input[type="file"] {
  color: var(--perf-dim);
  font-size: 12.5px;
}
.perf-app input[type="file"]::file-selector-button {
  background: rgba(0, 0, 0, .07);
  border: 0;
  border-radius: 8px;
  color: var(--perf-text);
  cursor: pointer;
  font-family: inherit;
  font-weight: 500;
  margin-right: 10px;
  padding: 7px 14px;
}
.perf-app input[type="checkbox"] {
  accent-color: var(--perf-accent);
  height: 16px;
  width: 16px;
}
.perf-app .checkrow label {
  color: var(--perf-text);
  font-size: 13px;
  font-weight: 400;
  gap: 8px;
}
.perf-app .form-hint {
  color: var(--perf-dim);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}
.perf-app .field-head strong {
  color: var(--perf-text);
  font-size: 13px;
  font-weight: 500;
}
.perf-app .schedule-builder {
  background: rgba(0, 0, 0, .03);
  border: 1px solid var(--perf-line);
  border-radius: 10px;
  padding: 12px 14px;
}
.perf-app .schedule-remove {
  background: transparent;
  border: 0;
  border-radius: 8px;
  color: #c01c28;
  font-size: 18px;
  min-height: 36px;
  width: 36px;
}
.perf-app .schedule-remove:hover {
  background: rgba(192, 28, 40, .10);
}

/* Cards: details, settings, code blocks, roots */
.perf-app .details {
  gap: 12px;
  margin: 20px 0 0;
}
.perf-app .details div {
  background: var(--perf-card);
  border: 1px solid var(--perf-line);
  border-radius: 12px;
  padding: 13px 15px;
}
.perf-app .details dt {
  color: var(--perf-dim);
  font-size: 12px;
}
.perf-app .details dd {
  color: var(--perf-text);
  font-size: 14px;
  font-weight: 500;
  margin-top: 6px;
}
.perf-app .ui-cron {
  align-items: center;
  color: var(--perf-dim);
  display: flex;
  gap: 8px;
  margin: 12px 2px 0;
}
.perf-app .settings-status {
  gap: 12px;
}
.perf-app .settings-status article {
  background: rgba(0, 0, 0, .03);
  border: 1px solid var(--perf-line);
  border-radius: 10px;
  padding: 12px 14px;
}
.perf-app .settings-status span {
  color: var(--perf-dim);
  font-size: 12px;
  letter-spacing: 0;
  text-transform: none;
}
.perf-app .settings-status strong {
  color: var(--perf-text);
  font-size: 14px;
  font-weight: 500;
}
.perf-app pre.command {
  background: #300a24;
  border: 0;
  border-radius: 10px;
  color: #f2f2f2;
  font-size: 13px;
  line-height: 1.6;
  padding: 14px 16px;
}
.perf-app p {
  font-size: 12.5px;
}
.perf-app p code {
  background: rgba(0, 0, 0, .05);
  border-radius: 5px;
  padding: 1px 6px;
}
.perf-app .root-list {
  gap: 0;
  margin: -4px -18px -16px;
}
.perf-app .root-item {
  align-items: center;
  border-top: 1px solid var(--perf-line);
  color: var(--perf-dim);
  display: flex;
  gap: 12px;
  padding: 12px 18px;
}
.perf-app .root-item:first-child {
  border-top: 0;
}
.perf-app .root-item code {
  background: transparent;
  border: 0;
  color: var(--perf-text);
  font-size: 13px;
  padding: 0;
}

/* Modals */
.perf-app .modal::backdrop {
  background: rgba(0, 0, 0, .40);
  backdrop-filter: none;
}
.perf-app .modal-card {
  background: #fafafa;
  border: 0;
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .30);
  padding: 0 22px 22px;
}
.perf-app .modal-head {
  background: transparent;
  border-bottom: 1px solid var(--perf-line);
  margin: 0 -22px 6px;
  padding: 12px 12px 12px 22px;
}
.perf-app .modal-head h2 {
  color: var(--perf-text);
  font-size: 15px;
  font-weight: 700;
}
.perf-app .modal-head button {
  background: rgba(0, 0, 0, .07);
  border: 0;
  border-radius: 999px;
  color: var(--perf-text);
  font-size: 17px;
  height: 28px;
  min-height: 28px;
  width: 28px;
}
.perf-app .modal-head button:hover {
  background: rgba(0, 0, 0, .12);
}

@media (max-width: 720px) {
  .perf-app .table-responsive tr {
    background: var(--perf-card);
    border: 1px solid var(--perf-line);
    border-radius: 12px;
  }
  .perf-app .table-responsive td {
    border-bottom: 1px solid var(--perf-line);
  }
  .perf-app .table-responsive td::before {
    color: var(--perf-dim);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
  }
  .perf-app .panel {
    padding: 14px;
  }
  .perf-app .panel-head {
    margin: -14px -14px 12px;
    padding: 12px 14px;
  }
}
.ui-page .perf-gauge {
  align-content: start;
}
.perf-app .table-search {
  background: transparent;
  border: 0;
  border-radius: 0;
  min-width: min(340px, 100%);
  padding: 0;
}
.perf-app .table-search input {
  width: 100%;
}
.perf-app .table-page-info {
  font-weight: 400;
}
.perf-app td code {
  display: inline-block;
  margin-top: 4px;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: middle;
  white-space: nowrap;
}
.perf-app .schedule-text {
  color: var(--perf-text);
  font-size: 13px;
}
.perf-app .settings-status span,
.perf-app .form-hint {
  font-weight: 400;
}
.perf-app ::placeholder {
  color: rgba(0, 0, 0, .36);
  opacity: 1;
}
.perf-app .servers-grid {
  grid-template-columns: 1fr;
}
.perf-app .servers-grid > .servers-list {
  order: -1;
}
.perf-app .servers-grid .form.stack {
  max-width: 760px;
}
.perf-app [hidden] {
  display: none !important;
}
.perf-app .form-hint,
.perf-app .modal-card .form-hint {
  background: transparent;
  border: 0;
  margin-top: -8px;
  padding: 0;
}
.perf-app .field-head .form-hint {
  margin-top: 2px;
}
.perf-app .field-head strong {
  letter-spacing: 0;
  text-transform: none;
}
.perf-app .schedule-row {
  background: #ffffff;
  border: 1px solid var(--perf-line);
  border-radius: 8px;
}
.perf-app .modal-head button:focus:not(:focus-visible) {
  outline: none;
}
.perf-app .modal-head button:focus-visible,
.perf-app .primary:focus-visible,
.perf-app .ghost:focus-visible,
.perf-app .button:focus-visible {
  outline: 2px solid rgba(233, 84, 32, .55);
  outline-offset: 2px;
}

/* Cloud desktop: icons, windows, text editor and notes */
.ubuntu-desktop {
  font-family: 'Ubuntu', 'Ubuntu Sans', system-ui, sans-serif;
  height: calc(100vh - 34px);
  overflow: hidden;
  position: relative;
}
.desk-icons {
  display: grid;
  gap: 4px;
  left: 12px;
  position: absolute;
  top: 16px;
  width: 100px;
  z-index: 1;
}
.desk-icon {
  align-items: center;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 10px;
  color: #ffffff;
  display: grid;
  font-size: 12px;
  font-weight: 500;
  gap: 6px;
  justify-items: center;
  letter-spacing: 0;
  min-height: 0;
  padding: 8px 4px 7px;
  text-transform: none;
  width: 100px;
}
.desk-icon:hover {
  background: rgba(255, 255, 255, .08);
  color: #ffffff;
}
.desk-icon.is-selected {
  background: rgba(233, 84, 32, .30);
  border-color: rgba(233, 84, 32, .55);
}
.desk-icon:focus-visible {
  outline: 2px solid rgba(233, 84, 32, .8);
  outline-offset: 1px;
}
.desk-icon-label {
  line-height: 1.25;
  text-align: center;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .65);
}
.desk-icon-art {
  display: inline-block;
  flex: 0 0 auto;
  height: 56px;
  position: relative;
  width: 56px;
}
.desk-icon-art::before,
.desk-icon-art::after {
  content: '';
  position: absolute;
}
.desk-icon-art.is-folder::before {
  background:
    linear-gradient(#b8410f, #b8410f) 0 0 / 22px 9px no-repeat,
    linear-gradient(#b8410f, #b8410f) 0 6px / 100% calc(100% - 6px) no-repeat;
  border-radius: 4px;
  height: 40px;
  left: 4px;
  top: 7px;
  width: 48px;
}
.desk-icon-art.is-folder::after {
  background: linear-gradient(180deg, #f7894f 0%, #e95420 100%);
  border-radius: 4px 4px 6px 6px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, .28), inset 0 1px 0 rgba(255, 255, 255, .35);
  height: 33px;
  left: 4px;
  top: 17px;
  width: 48px;
}
.desk-icon-art.is-docs-folder::after {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-opacity='.85' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 3h7l4 4v14H7z'/%3E%3Cpath d='M10 12h5M10 16h5'/%3E%3C/svg%3E") center 58% / 18px no-repeat,
    linear-gradient(180deg, #f7894f 0%, #e95420 100%);
}
.desk-icon-art.is-notes::before {
  background:
    repeating-linear-gradient(180deg, transparent 0 7px, rgba(120, 80, 0, .18) 7px 8px) 0 14px / 100% calc(100% - 18px) no-repeat,
    #f6d32d;
  border-radius: 4px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, .28);
  height: 46px;
  left: 8px;
  top: 6px;
  width: 40px;
}
.desk-icon-art.is-notes::after {
  background: #e5a50a;
  border-radius: 4px 4px 0 0;
  height: 9px;
  left: 8px;
  top: 6px;
  width: 40px;
}
.desk-icon-art.is-document::before {
  background:
    linear-gradient(rgba(0, 0, 0, .14), rgba(0, 0, 0, .14)) 8px 16px / 20px 2px no-repeat,
    linear-gradient(rgba(0, 0, 0, .14), rgba(0, 0, 0, .14)) 8px 22px / 18px 2px no-repeat,
    linear-gradient(rgba(0, 0, 0, .14), rgba(0, 0, 0, .14)) 8px 28px / 20px 2px no-repeat,
    linear-gradient(rgba(0, 0, 0, .14), rgba(0, 0, 0, .14)) 8px 34px / 12px 2px no-repeat,
    linear-gradient(225deg, transparent 9px, #ffffff 9px);
  border-radius: 3px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, .28);
  height: 48px;
  left: 10px;
  top: 4px;
  width: 36px;
}
.desk-icon-art.is-document::after {
  background: linear-gradient(180deg, #e95420 0 78%, #f6d5c4 78% 90%, #3d3d3d 90%);
  border-radius: 2px 2px 1px 1px;
  bottom: 4px;
  height: 26px;
  right: 9px;
  transform: rotate(38deg);
  width: 6px;
}

/* Windows */
.desk-window {
  border-radius: 12px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, .28);
  display: flex;
  flex-direction: column;
  height: calc(100% - 32px);
  left: 128px;
  min-height: 260px;
  min-width: 360px;
  overflow: hidden;
  position: absolute;
  resize: both;
  top: 16px;
  width: min(1080px, calc(100% - 148px));
  z-index: 5;
}
.desk-window[hidden] {
  display: none !important;
}
.desk-window.is-focused {
  box-shadow: 0 24px 60px rgba(0, 0, 0, .40);
}
.desk-window[data-desk-window="notes"] {
  height: min(560px, calc(100% - 64px));
  left: 190px;
  top: 40px;
  width: min(820px, calc(100% - 210px));
}
.desk-window[data-desk-window="editor"] {
  height: min(600px, calc(100% - 88px));
  left: 250px;
  top: 64px;
  width: min(860px, calc(100% - 270px));
}
.desk-window.is-max {
  height: calc(100% - 12px) !important;
  left: 6px !important;
  resize: none;
  top: 6px !important;
  width: calc(100% - 12px) !important;
}
.desk-window.is-dragging {
  opacity: .97;
  user-select: none;
}
.desk-window.is-dragging [data-desk-drag] {
  cursor: grabbing;
}
.desk-window > .ubuntu-cloud,
.desk-window > .desk-app {
  border-radius: 12px;
  flex: 1 1 auto;
  height: auto !important;
  margin: 0 !important;
  min-height: 0;
}
.desk-app {
  background: #fafafa;
  border: 1px solid #ddd8d2;
  color: #3d3d3d;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.desk-controls {
  align-items: center;
}
.desk-controls button {
  border: 0;
  border-radius: 999px;
  display: block;
  height: 12px;
  letter-spacing: 0;
  min-height: 0;
  padding: 0;
  position: relative;
  text-transform: none;
  width: 12px;
}
.desk-controls button:nth-child(1) { background: #ff5f57; }
.desk-controls button:nth-child(2) { background: #febc2e; }
.desk-controls button:nth-child(3) { background: #28c840; }
.desk-controls button::before {
  color: rgba(0, 0, 0, .55);
  font-size: 10px;
  font-weight: 700;
  inset: 0;
  line-height: 12px;
  opacity: 0;
  position: absolute;
  text-align: center;
}
.desk-controls button:nth-child(1)::before { content: '×'; }
.desk-controls button:nth-child(2)::before { content: '–'; }
.desk-controls button:nth-child(3)::before { content: '+'; }
.desk-controls:hover button::before {
  opacity: 1;
}
.desk-head-btn {
  align-items: center;
  background: rgba(255, 255, 255, .10);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 8px;
  color: #ffffff;
  display: inline-flex;
  font-size: 12px;
  font-weight: 500;
  gap: 6px;
  height: 26px;
  justify-content: center;
  letter-spacing: 0;
  min-height: 26px;
  min-width: 26px;
  padding: 0 8px;
  text-transform: none;
}
.desk-head-btn:hover {
  background: rgba(255, 255, 255, .18);
  color: #ffffff;
}
.desk-head-btn.is-suggested {
  background: #e95420;
  border-color: transparent;
  padding: 0 12px;
}
.desk-head-btn.is-suggested:hover {
  background: #f06a37;
}
.desk-head-btn svg,
.desk-search svg {
  fill: none;
  height: 15px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 2;
  width: 15px;
}
.desk-app .desk-textarea {
  background: #ffffff;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  color: #2e2e2e;
  flex: 1 1 auto;
  font-family: 'Ubuntu Mono', 'Ubuntu Sans Mono', ui-monospace, monospace;
  font-size: 14.5px;
  line-height: 1.6;
  min-height: 0;
  outline: none;
  padding: 18px 22px;
  resize: none;
  width: 100%;
}
.desk-app .desk-textarea.is-note {
  font-family: 'Ubuntu', 'Ubuntu Sans', system-ui, sans-serif;
  font-size: 15px;
  padding: 20px 26px;
}
.desk-app .desk-textarea:disabled {
  background: #fafafa;
}
.desk-app .desk-textarea[hidden] {
  display: none;
}
.desk-statusbar {
  align-items: center;
  background: #f6f5f4;
  border-top: 1px solid rgba(0, 0, 0, .08);
  color: rgba(0, 0, 0, .55);
  display: flex;
  font-size: 12px;
  gap: 12px;
  justify-content: space-between;
  min-height: 34px;
  padding: 4px 8px 4px 14px;
}
.desk-statusbar[hidden] {
  display: none;
}
.desk-statusbar .is-error,
.desk-muted.is-error {
  color: #c01c28;
}
.desk-text-btn {
  background: transparent;
  border: 0;
  border-radius: 6px;
  color: #3d3d3d;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  min-height: 26px;
  padding: 0 10px;
  text-transform: none;
}
.desk-text-btn.is-danger {
  color: #c01c28;
}
.desk-text-btn:hover {
  background: rgba(192, 28, 40, .08);
}

/* Notes */
.desk-notes {
  display: grid;
  flex: 1 1 auto;
  grid-template-columns: 260px minmax(0, 1fr);
  min-height: 0;
}
.desk-notes-side {
  background: #f6f5f4;
  border-right: 1px solid rgba(0, 0, 0, .08);
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.desk-search {
  display: block;
  margin: 10px;
  position: relative;
}
.desk-search svg {
  color: rgba(0, 0, 0, .45);
  left: 10px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
.desk-app .desk-search input {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, .12);
  border-radius: 8px;
  font-family: inherit;
  font-size: 13px;
  min-height: 32px;
  padding: 5px 10px 5px 32px;
  width: 100%;
}
.desk-app .desk-search input:focus {
  border-color: #e95420;
  box-shadow: 0 0 0 3px rgba(233, 84, 32, .18);
}
.desk-notes-list {
  align-content: start;
  display: grid;
  flex: 1 1 auto;
  gap: 3px;
  min-height: 0;
  overflow-y: auto;
  padding: 0 8px 10px;
}
.desk-note-item {
  background: transparent;
  border: 0;
  border-radius: 9px;
  color: #3d3d3d;
  display: grid;
  gap: 2px;
  justify-items: start;
  letter-spacing: 0;
  min-height: 0;
  padding: 9px 11px;
  text-align: left;
  text-transform: none;
  width: 100%;
}
.desk-note-item:hover {
  background: rgba(0, 0, 0, .05);
  color: #3d3d3d;
}
.desk-note-item.is-active {
  background: rgba(233, 84, 32, .12);
}
.desk-note-item strong {
  font-size: 13.5px;
  font-weight: 500;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.desk-note-item span {
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: rgba(0, 0, 0, .55);
  display: -webkit-box;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.35;
  overflow: hidden;
}
.desk-note-item em {
  color: rgba(0, 0, 0, .4);
  font-size: 11px;
  font-style: normal;
  font-weight: 400;
}
.desk-notes-main {
  background: #ffffff;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.desk-empty {
  align-content: center;
  color: rgba(0, 0, 0, .5);
  display: grid;
  flex: 1 1 auto;
  font-size: 13px;
  gap: 6px;
  justify-items: center;
  text-align: center;
}
.desk-empty[hidden] {
  display: none;
}
.desk-empty strong {
  color: #3d3d3d;
  font-size: 15px;
  font-weight: 500;
  margin-top: 6px;
}
.desk-muted {
  color: rgba(0, 0, 0, .5);
  font-size: 12.5px;
  margin: 0;
  padding: 12px 6px;
}

/* New document dialog + toolbar icon */
.ubuntu-folder-body .desk-icon-art {
  flex: 0 0 56px;
}
.desk-form-error {
  color: #c01c28;
  font-size: 12px;
  margin: 8px 0 0;
}
.ubuntu-action-icon.new-doc::before {
  background: #ffffff;
  border: 2px solid #554c46;
  border-radius: 3px;
  content: '';
  height: 16px;
  left: 3px;
  position: absolute;
  top: 2px;
  width: 12px;
}
.ubuntu-action-icon.new-doc::after {
  background:
    linear-gradient(#ffffff, #ffffff) center / 6px 2px no-repeat,
    linear-gradient(#ffffff, #ffffff) center / 2px 6px no-repeat,
    #e95420;
  border-radius: 999px;
  bottom: 0;
  content: '';
  height: 10px;
  position: absolute;
  right: 1px;
  width: 10px;
}

@media (max-width: 760px) {
  .ubuntu-desktop {
    height: auto;
    min-height: calc(100vh - 102px);
    overflow: visible;
  }
  .desk-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    left: auto;
    padding: 14px 10px;
    position: static;
    width: auto;
  }
  .desk-icon {
    width: 84px;
  }
  .desk-window,
  .desk-window[data-desk-window] {
    border-radius: 12px;
    bottom: 64px !important;
    height: auto !important;
    left: 6px !important;
    position: fixed;
    resize: none;
    right: 6px !important;
    top: 46px !important;
    width: auto !important;
    z-index: 150;
  }
  .desk-notes {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 40%) minmax(0, 1fr);
  }
  .desk-notes-side {
    border-bottom: 1px solid rgba(0, 0, 0, .08);
    border-right: 0;
  }
}
.ubuntu-action-icon.open-doc::before {
  background:
    linear-gradient(#554c46, #554c46) 2px 4px / 7px 2px no-repeat,
    linear-gradient(#554c46, #554c46) 2px 8px / 7px 2px no-repeat,
    linear-gradient(#e95420, #e95420) 2px 12px / 5px 2px no-repeat,
    #ffffff;
  border: 2px solid #554c46;
  border-radius: 3px;
  content: '';
  height: 17px;
  left: 4px;
  position: absolute;
  top: 2px;
  width: 13px;
}
/* Smaller desktop icons */
.desk-icons {
  gap: 2px;
  left: 10px;
  top: 12px;
  width: 84px;
}
.desk-icon {
  font-size: 11.5px;
  gap: 4px;
  padding: 6px 3px 6px;
  width: 84px;
}
.desk-icons .desk-icon-art {
  zoom: .76;
}
.desk-window {
  left: 108px;
  width: min(1080px, calc(100% - 126px));
}
@media (max-width: 760px) {
  .desk-icon {
    width: 76px;
  }
}

/* Desktop apps */
.ubuntu-desktop { background-position: center; background-size: cover; }
.ubuntu-desktop.wall-ubuntu { background-image: radial-gradient(circle at 20% 15%, rgba(233,84,32,.35), transparent 45%), radial-gradient(circle at 85% 10%, rgba(119,41,83,.45), transparent 50%); }
.ubuntu-desktop.wall-aubergine, .desk-wall-swatch.wall-aubergine { background-image: linear-gradient(135deg, #2c001e 0%, #5e2750 55%, #77216f 100%); }
.ubuntu-desktop.wall-dusk, .desk-wall-swatch.wall-dusk { background-image: linear-gradient(160deg, #1d1a3a 0%, #7a2e58 50%, #e95420 100%); }
.ubuntu-desktop.wall-mint, .desk-wall-swatch.wall-mint { background-image: linear-gradient(140deg, #0d2a26 0%, #1f6f5c 60%, #87a556 100%); }
.ubuntu-desktop.wall-slate, .desk-wall-swatch.wall-slate { background-image: linear-gradient(150deg, #16181d 0%, #2f343f 60%, #4b5263 100%); }
.desk-wall-swatch.wall-ubuntu { background-image: radial-gradient(circle at 20% 15%, #e95420, transparent 60%), linear-gradient(135deg, #2c1f24, #3d2236); }
.ubuntu-desktop.is-drop-target { box-shadow: inset 0 0 0 3px rgba(233,84,32,.6); }

.desk-icons { max-height: calc(100% - 70px); overflow-y: auto; scrollbar-width: none; }
.desk-pins { display: contents; }
.desk-icon-art.is-mini { zoom: .55; }
.desk-icon-art.is-todo::before { background: linear-gradient(#26a269,#26a269) 9px 11px/8px 8px no-repeat, linear-gradient(#26a269,#26a269) 9px 25px/8px 8px no-repeat, linear-gradient(rgba(0,0,0,.18),rgba(0,0,0,.18)) 21px 14px/16px 2px no-repeat, linear-gradient(rgba(0,0,0,.18),rgba(0,0,0,.18)) 21px 28px/12px 2px no-repeat, linear-gradient(rgba(0,0,0,.18),rgba(0,0,0,.18)) 21px 40px/14px 2px no-repeat, #ffffff; border-radius: 6px; box-shadow: 0 3px 6px rgba(0,0,0,.28); height: 48px; left: 8px; top: 4px; width: 40px; }
.desk-icon-art.is-todo::after { border: 2px solid #9a9996; border-radius: 2px; height: 8px; left: 17px; top: 41px; width: 8px; }
.desk-icon-art.is-calendar::before { background: linear-gradient(#e95420,#e95420) 0 0/100% 13px no-repeat, #ffffff; border-radius: 6px; box-shadow: 0 3px 6px rgba(0,0,0,.28); height: 44px; left: 6px; top: 7px; width: 44px; }
.desk-icon-art.is-calendar::after { color: #3d3d3d; content: '31'; font: 700 19px/1 'Ubuntu', sans-serif; left: 0; right: 0; text-align: center; top: 25px; }
.desk-icon-art.is-terminal::before { background: #300a24; border: 2px solid #5e2750; border-radius: 7px; box-shadow: 0 3px 6px rgba(0,0,0,.28); height: 40px; left: 4px; top: 8px; width: 48px; }
.desk-icon-art.is-terminal::after { color: #ffffff; content: '>_'; font: 700 14px/1 'Ubuntu Mono', monospace; left: 12px; top: 20px; }
.desk-icon-art.is-trash::before { background: linear-gradient(90deg, transparent 10px, rgba(0,0,0,.15) 10px 12px, transparent 12px 19px, rgba(0,0,0,.15) 19px 21px, transparent 21px) , linear-gradient(180deg, #deddda, #b6b5b1); border-radius: 3px 3px 8px 8px; box-shadow: 0 3px 6px rgba(0,0,0,.28); height: 38px; left: 12px; top: 14px; width: 32px; }
.desk-icon-art.is-trash::after { background: #9a9996; border-radius: 3px; height: 5px; left: 9px; top: 8px; width: 38px; }
.desk-icon-art.is-pdf::before, .desk-icon-art.is-image::before, .desk-icon-art.is-file::before { background: linear-gradient(225deg, transparent 9px, #ffffff 9px); border-radius: 3px; box-shadow: 0 3px 6px rgba(0,0,0,.28); height: 48px; left: 10px; top: 4px; width: 36px; }
.desk-icon-art.is-pdf::after { background: #c01c28; border-radius: 3px; color: #ffffff; content: 'PDF'; font: 700 9px/14px 'Ubuntu', sans-serif; left: 14px; padding: 0 4px; top: 30px; }
.desk-icon-art.is-image::after { background: linear-gradient(135deg, #62a0ea, #26a269); border-radius: 3px; height: 20px; left: 15px; top: 22px; width: 26px; }
.desk-icon-art.is-file::after { background: #9a9996; border-radius: 2px; height: 3px; left: 17px; top: 26px; width: 20px; box-shadow: 0 6px 0 #9a9996, 0 12px 0 #9a9996; }

.desk-head-select { background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.14); border-radius: 8px; color: #ffffff; font: inherit; font-size: 12px; min-height: 26px; padding: 0 8px; width: auto; }
.desk-head-select option { color: #3d3d3d; }
.desk-head-btn.is-active { background: rgba(255,255,255,.24); }
.desk-list { background: #ffffff; flex: 1 1 auto; min-height: 0; overflow-y: auto; }
.desk-row { align-items: center; border-bottom: 1px solid rgba(0,0,0,.06); display: flex; gap: 12px; min-height: 48px; padding: 8px 12px 8px 16px; }
.desk-row-main { flex: 1 1 auto; min-width: 0; }
.desk-row-main strong, .desk-row-main span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.desk-row-main strong { font-size: 13.5px; font-weight: 500; }
.desk-row-main span { color: rgba(0,0,0,.55); font-size: 12px; margin-top: 2px; }
.desk-list .desk-empty { padding: 40px 16px; }

.desk-terminal { background: #300a24; color: #f2f2f2; flex: 1 1 auto; font: 13px/1.55 'Ubuntu Mono', monospace; margin: 0; min-height: 0; overflow: auto; padding: 14px 16px; white-space: pre-wrap; word-break: break-word; }
.desk-viewer { align-items: center; background: #3d3846; display: flex; flex: 1 1 auto; justify-content: center; min-height: 0; overflow: auto; }
.desk-viewer iframe { border: 0; height: 100%; width: 100%; background: #ffffff; }
.desk-viewer img { max-height: 100%; max-width: 100%; object-fit: contain; }

.desk-editor-split { display: flex; flex: 1 1 auto; min-height: 0; }
.desk-editor-split .desk-textarea { flex: 1 1 50%; }
.desk-md-preview { border-left: 1px solid rgba(0,0,0,.08); color: #2e2e2e; flex: 1 1 50%; font-size: 14px; line-height: 1.6; overflow-y: auto; padding: 16px 24px; }
.desk-md-preview[hidden] { display: none; }
.desk-md-preview h1, .desk-md-preview h2, .desk-md-preview h3, .desk-md-preview h4 { font-weight: 500; line-height: 1.25; margin: .8em 0 .4em; }
.desk-md-preview h1 { font-size: 22px; } .desk-md-preview h2 { font-size: 18px; } .desk-md-preview h3 { font-size: 16px; }
.desk-md-preview p, .desk-md-preview ul, .desk-md-preview ol, .desk-md-preview pre, .desk-md-preview blockquote { margin: 0 0 .7em; }
.desk-md-preview ul.is-tasks { list-style: none; padding-left: 4px; }
.desk-md-preview code { background: rgba(0,0,0,.06); border-radius: 4px; font-family: 'Ubuntu Mono', monospace; padding: 1px 5px; }
.desk-md-preview pre { background: #300a24; border-radius: 8px; color: #f2f2f2; overflow-x: auto; padding: 10px 12px; }
.desk-md-preview pre code { background: transparent; padding: 0; }
.desk-md-preview blockquote { border-left: 3px solid #e95420; color: rgba(0,0,0,.6); padding-left: 12px; }
.desk-md-preview a { color: #e95420; }

.desk-todo-add { background: #f6f5f4; border-bottom: 1px solid rgba(0,0,0,.08); display: flex; gap: 8px; padding: 10px 12px; }
.desk-app .desk-todo-add input, .desk-app .desk-rem-form input { background: #ffffff; border: 1px solid rgba(0,0,0,.12); border-radius: 8px; flex: 1 1 auto; font: inherit; font-size: 13px; min-height: 32px; padding: 5px 10px; }
.desk-todo-add .desk-head-btn { height: 32px; min-width: 36px; }
.desk-todo-add .desk-head-btn svg { fill: none; height: 15px; stroke: currentColor; stroke-width: 2; width: 15px; }
.desk-todo-item { cursor: pointer; }
.desk-todo-item input { accent-color: #e95420; height: 17px; width: 17px; }
.desk-todo-item.is-done strong { color: rgba(0,0,0,.4); text-decoration: line-through; }

.desk-reminders { display: grid; flex: 1 1 auto; grid-template-columns: 250px minmax(0, 1fr); min-height: 0; }
.desk-cal { background: #f6f5f4; border-right: 1px solid rgba(0,0,0,.08); padding: 12px; }
.desk-cal-head { align-items: center; display: flex; justify-content: space-between; margin-bottom: 8px; }
.desk-cal-head strong { font-size: 13.5px; font-weight: 500; }
.desk-cal-grid { display: grid; gap: 2px; grid-template-columns: repeat(7, 1fr); text-align: center; }
.desk-cal-dow { color: rgba(0,0,0,.45); font-size: 11px; padding: 4px 0; }
.desk-cal-grid button { background: transparent; border: 0; border-radius: 8px; color: #3d3d3d; font: inherit; font-size: 12.5px; letter-spacing: 0; min-height: 30px; padding: 0; position: relative; text-transform: none; }
.desk-cal-grid button:hover { background: rgba(0,0,0,.06); }
.desk-cal-grid button.is-today { color: #e95420; font-weight: 700; }
.desk-cal-grid button.is-selected { background: #e95420; color: #ffffff; }
.desk-cal-grid button.has-items::after { background: currentColor; border-radius: 999px; bottom: 3px; content: ''; height: 4px; left: 50%; position: absolute; transform: translateX(-50%); width: 4px; }
.desk-rem-main { background: #ffffff; display: flex; flex-direction: column; min-height: 0; }
.desk-rem-main h3 { font-size: 15px; font-weight: 500; margin: 0; padding: 14px 16px 6px; }
.desk-rem-form { border-top: 1px solid rgba(0,0,0,.08); display: grid; gap: 8px; grid-template-columns: minmax(0, 1fr) 110px; padding: 12px; }
.desk-rem-form [name="notes"] { grid-column: 1 / 2; }
.desk-rem-form .desk-head-btn { height: 32px; }
.desk-rem-time { color: #e95420; font: 500 13px 'Ubuntu Mono', monospace; }
.desk-pill { border-radius: 999px; font-size: 11px; padding: 2px 8px; background: rgba(0,0,0,.06); color: rgba(0,0,0,.55); }
.desk-pill.is-sent { background: rgba(38,162,105,.12); color: #1b7a4e; }
.desk-pill.is-failed { background: rgba(192,28,40,.10); color: #a51d2d; }

.desk-widget { backdrop-filter: blur(14px); background: rgba(24,22,23,.55); border: 1px solid rgba(255,255,255,.08); border-radius: 14px; color: #ffffff; padding: 12px 14px; position: absolute; right: 14px; top: 14px; width: 220px; z-index: 2; }
.desk-widget[hidden] { display: none; }
.desk-widget header { display: flex; justify-content: space-between; margin-bottom: 8px; }
.desk-widget header strong { font-size: 13px; font-weight: 500; }
.desk-widget header span, .desk-widget p { color: rgba(255,255,255,.6); font-size: 11.5px; margin: 6px 0 0; }
.desk-widget-row { align-items: center; display: grid; font-size: 12px; gap: 2px 8px; grid-template-columns: 1fr auto; margin-top: 6px; }
.desk-widget-row b { font-weight: 500; }
.desk-widget-row i { background: rgba(255,255,255,.12); border-radius: 999px; grid-column: 1 / -1; height: 4px; overflow: hidden; }
.desk-widget-row em { background: #e95420; display: block; height: 100%; transition: width .4s; }
.desk-widget-row em.is-high { background: #f99b11; } .desk-widget-row em.is-critical { background: #c7162b; }

.desk-taskbar { backdrop-filter: blur(14px); background: rgba(24,22,23,.55); border-radius: 12px; bottom: 10px; display: flex; gap: 4px; left: 50%; padding: 4px; position: absolute; transform: translateX(-50%); z-index: 100; }
.desk-taskbar[hidden] { display: none; }
.desk-taskbar button { background: transparent; border: 0; border-radius: 8px; color: rgba(255,255,255,.75); font: 500 12px 'Ubuntu', sans-serif; letter-spacing: 0; min-height: 28px; padding: 0 12px; position: relative; text-transform: none; }
.desk-taskbar button:hover { background: rgba(255,255,255,.08); color: #ffffff; }
.desk-taskbar button.is-active { background: rgba(255,255,255,.14); color: #ffffff; }
.desk-taskbar button.is-min { opacity: .6; }
.desk-taskbar button::after { background: #e95420; border-radius: 999px; bottom: 2px; content: ''; height: 3px; left: 50%; position: absolute; transform: translateX(-50%); width: 3px; }

.desk-menu { background: #fafafa; border: 1px solid rgba(0,0,0,.1); border-radius: 10px; box-shadow: 0 12px 32px rgba(0,0,0,.28); font-family: 'Ubuntu', sans-serif; min-width: 210px; padding: 5px; position: fixed; z-index: 500; }
.desk-menu[hidden] { display: none; }
.desk-menu button { background: transparent; border: 0; border-radius: 6px; color: #3d3d3d; display: block; font: 13px 'Ubuntu', sans-serif; letter-spacing: 0; min-height: 30px; padding: 0 12px; text-align: left; text-transform: none; width: 100%; }
.desk-menu button:hover { background: rgba(233,84,32,.12); }
.desk-menu hr { border: 0; border-top: 1px solid rgba(0,0,0,.08); margin: 4px 6px; }

.desk-wall-body { padding: 16px 18px 18px; }
.desk-wall-grid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); }
.desk-wall-swatch { align-items: end; border: 2px solid transparent; border-radius: 10px; display: flex; height: 70px; letter-spacing: 0; padding: 6px 8px; text-transform: none; }
.desk-wall-swatch:hover { border-color: #e95420; }
.desk-wall-swatch span { color: #ffffff; font: 500 12px 'Ubuntu', sans-serif; text-shadow: 0 1px 3px rgba(0,0,0,.6); }
.desk-wall-upload { color: rgba(0,0,0,.6); display: grid; font-size: 12.5px; gap: 6px; margin-top: 14px; }

@media (max-width: 760px) {
  .desk-taskbar, .desk-widget { display: none; }
  .desk-icons { max-height: none; }
  .desk-reminders { grid-template-columns: 1fr; overflow-y: auto; }
  .desk-cal { border-right: 0; }
  .desk-md-preview { display: none; }
}
/* Leave room for the taskbar and wrap icons into columns */
.desk-icons {
  bottom: 60px;
  grid-auto-columns: 84px;
  grid-auto-flow: column;
  grid-template-rows: repeat(auto-fill, 88px);
  max-height: none;
  overflow: visible;
  width: auto;
}
.desk-window { height: calc(100% - 76px); }
.desk-window[data-desk-window="notes"],
.desk-window[data-desk-window="todo"],
.desk-window[data-desk-window="trash"] { height: min(560px, calc(100% - 104px)); }
.desk-window[data-desk-window="editor"],
.desk-window[data-desk-window="reminders"],
.desk-window[data-desk-window="terminal"],
.desk-window[data-desk-window="viewer"] { height: min(600px, calc(100% - 128px)); }
.desk-window.is-max { height: calc(100% - 62px) !important; }
@media (max-width: 760px) {
  .desk-icons { bottom: auto; grid-template-rows: none; }
}

/* Login: Ubuntu GDM style */
.gdm-body {
  background:
    radial-gradient(circle at 18% 20%, rgba(233, 84, 32, .38), transparent 42%),
    radial-gradient(circle at 82% 78%, rgba(119, 33, 111, .55), transparent 48%),
    linear-gradient(135deg, #1f0a1b 0%, #2c001e 45%, #3b1233 100%);
  color: #ffffff;
  display: grid;
  font-family: 'Ubuntu', 'Ubuntu Sans', system-ui, sans-serif;
  grid-template-rows: auto 1fr auto;
  margin: 0;
  min-height: 100vh;
  overflow: hidden;
}
.gdm-topbar {
  align-items: center;
  background: rgba(0, 0, 0, .55);
  display: grid;
  font-size: 13.5px;
  font-weight: 500;
  grid-template-columns: 1fr auto 1fr;
  height: 32px;
  padding: 0 12px;
}
.gdm-clock { letter-spacing: .01em; text-transform: capitalize; white-space: pre; }
.gdm-tray { display: flex; gap: 12px; justify-content: flex-end; }
.gdm-tray svg { fill: none; height: 15px; stroke: #ffffff; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; width: 15px; }
.gdm-stage { align-items: center; display: flex; justify-content: center; padding: 24px 16px; }
.gdm-form { display: grid; justify-items: center; width: min(320px, 100%); }
.gdm-step { display: grid; gap: 12px; justify-items: center; width: 100%; }
.gdm-form.is-js .gdm-step { display: none; }
.gdm-form.is-js[data-step="user"] [data-gdm-step="user"],
.gdm-form.is-js[data-step="password"] [data-gdm-step="password"] { animation: gdm-in .25s ease; display: grid; }
.gdm-form:not(.is-js) [data-gdm-step="password"] .gdm-avatar,
.gdm-form:not(.is-js) [data-gdm-step="password"] .gdm-name,
.gdm-form:not(.is-js) .gdm-link,
.gdm-form:not(.is-js) [data-gdm-next] { display: none; }
.gdm-avatar {
  align-items: center;
  background: rgba(255, 255, 255, .12);
  border-radius: 999px;
  display: flex;
  height: 96px;
  justify-content: center;
  margin-bottom: 6px;
  width: 96px;
}
.gdm-avatar svg { fill: none; height: 52px; stroke: rgba(255, 255, 255, .85); stroke-linecap: round; stroke-width: 1.6; width: 52px; }
.gdm-avatar.is-user { background: linear-gradient(145deg, #f7894f, #e95420); box-shadow: 0 8px 24px rgba(233, 84, 32, .35); }
.gdm-avatar.is-user span { font-size: 40px; font-weight: 300; }
.gdm-name { font-size: 22px; font-weight: 300; margin-bottom: 6px; }
.gdm-label { color: rgba(255, 255, 255, .85); font-size: 14px; }
.gdm-entry { position: relative; width: 100%; }
.gdm-entry input {
  background: rgba(255, 255, 255, .10);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 10px;
  color: #ffffff;
  font: 400 15px 'Ubuntu', system-ui, sans-serif;
  min-height: 42px;
  outline: none;
  padding: 0 52px 0 14px;
  transition: border-color .15s, box-shadow .15s, background .15s;
  width: 100%;
}
[data-gdm-step="password"] .gdm-entry input { padding-right: 88px; }
.gdm-entry input::placeholder { color: rgba(255, 255, 255, .5); }
.gdm-entry input:focus { background: rgba(255, 255, 255, .14); border-color: #e95420; box-shadow: 0 0 0 3px rgba(233, 84, 32, .35); }
.gdm-go, .gdm-peek {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 8px;
  color: #ffffff;
  display: inline-flex;
  height: 32px;
  justify-content: center;
  letter-spacing: 0;
  min-height: 32px;
  padding: 0;
  position: absolute;
  text-transform: none;
  top: 5px;
  width: 36px;
}
.gdm-go { background: #e95420; right: 5px; }
.gdm-go:hover { background: #f06a37; }
.gdm-peek { color: rgba(255, 255, 255, .6); right: 45px; }
.gdm-peek:hover, .gdm-peek.is-on { background: rgba(255, 255, 255, .10); color: #ffffff; }
.gdm-go svg, .gdm-peek svg { fill: none; height: 17px; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; width: 17px; }
.gdm-link {
  background: transparent;
  border: 0;
  color: rgba(255, 255, 255, .65);
  font: 400 13px 'Ubuntu', sans-serif;
  letter-spacing: 0;
  margin-top: 4px;
  min-height: 28px;
  padding: 0 8px;
  text-transform: none;
}
.gdm-link:hover { color: #ffffff; text-decoration: underline; }
.gdm-message { color: rgba(255, 255, 255, .75); font-size: 13.5px; margin: 14px 0 0; min-height: 20px; text-align: center; }
.gdm-message.is-error { color: #ff8a80; }
.gdm-form.is-error .gdm-entry { animation: gdm-shake .4s ease; }
.gdm-form.is-error .gdm-entry input { border-color: rgba(255, 120, 110, .7); }
.gdm-form.is-busy .gdm-go { opacity: .6; pointer-events: none; }
.gdm-footer {
  align-items: center;
  color: rgba(255, 255, 255, .6);
  display: flex;
  font-size: 12.5px;
  justify-content: space-between;
  padding: 16px 22px;
}
.gdm-brand { align-items: center; color: #ffffff; display: flex; font-size: 15px; font-weight: 500; gap: 10px; }
.gdm-brand-mark { background: #e95420; border-radius: 8px; display: inline-block; height: 28px; position: relative; width: 28px; }
.gdm-brand-mark span { background: #ffffff; border-radius: 2px; height: 9px; left: 6px; position: absolute; top: 6px; transform: rotate(45deg); width: 9px; }
.gdm-brand-mark i { border: 2px solid rgba(255, 255, 255, .8); border-radius: 999px; bottom: 5px; height: 8px; position: absolute; right: 5px; width: 8px; }
@keyframes gdm-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes gdm-shake { 0%, 100% { transform: translateX(0); } 20%, 60% { transform: translateX(-8px); } 40%, 80% { transform: translateX(8px); } }
@media (max-width: 520px) {
  .gdm-hint { display: none; }
  .gdm-avatar { height: 80px; width: 80px; }
}
/* Rendimiento: sub tabs */
.perf-subtabs {
  background: rgba(0, 0, 0, .05);
  border-radius: 10px;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 2px;
  margin: 16px 0 12px;
  max-width: 100%;
  padding: 3px;
}
.perf-subtabs button {
  align-items: center;
  background: transparent;
  border-radius: 8px;
  color: var(--perf-dim);
  font-size: 12.5px;
  font-weight: 500;
  gap: 6px;
  letter-spacing: 0;
  min-height: 30px;
  padding: 0 12px;
  text-transform: none;
}
.perf-subtabs button:hover { color: var(--perf-text); }
.perf-subtabs button.active { background: #ffffff; box-shadow: 0 1px 2px rgba(0, 0, 0, .14); color: var(--perf-text); }
.perf-subtabs button span { background: rgba(0, 0, 0, .07); border-radius: 999px; font-size: 11px; padding: 0 6px; }
.perf-subtabs button.active span { background: rgba(233, 84, 32, .14); color: #c2410c; }
.perf-sub { display: none; }
.perf-sub.active { animation: perf-fade .18s ease; display: block; }
@media (max-width: 760px) { .perf-subtabs { display: flex; } .perf-subtabs button { flex: 1 1 auto; } }
/* Login: functional top bar + password options */
.gdm-topbar { position: relative; z-index: 10; }
.gdm-tray { gap: 4px; }
.gdm-tray button { align-items: center; background: transparent; border: 0; border-radius: 999px; color: #ffffff; display: inline-flex; height: 26px; justify-content: center; letter-spacing: 0; min-height: 26px; padding: 0; text-transform: none; width: 32px; }
.gdm-tray button:hover, .gdm-tray button.is-open { background: rgba(255, 255, 255, .16); }
.gdm-popover { backdrop-filter: blur(16px); background: rgba(36, 31, 35, .94); border: 1px solid rgba(255, 255, 255, .08); border-radius: 14px; box-shadow: 0 16px 40px rgba(0, 0, 0, .45); display: grid; gap: 6px; min-width: 240px; padding: 12px; position: absolute; right: 8px; top: 38px; }
.gdm-popover[hidden] { display: none; }
.gdm-popover strong { font-size: 13.5px; font-weight: 500; padding: 2px 4px 4px; }
.gdm-popover p { font-size: 13px; margin: 0; padding: 0 4px; }
.gdm-popover .gdm-pop-dim { color: rgba(255, 255, 255, .55); font-size: 12px; }
.gdm-popover button { background: transparent; border: 0; border-radius: 8px; color: #ffffff; font: 400 13.5px 'Ubuntu', sans-serif; letter-spacing: 0; min-height: 34px; padding: 0 10px; text-align: left; text-transform: none; }
.gdm-popover button:hover { background: rgba(255, 255, 255, .10); }
.gdm-switch { align-items: center; border-radius: 8px; cursor: pointer; display: flex; font-size: 13.5px; justify-content: space-between; min-height: 36px; padding: 0 8px; }
.gdm-switch:hover { background: rgba(255, 255, 255, .06); }
.gdm-switch input { appearance: none; background: rgba(255, 255, 255, .22); border-radius: 999px; cursor: pointer; height: 22px; margin: 0; order: 2; position: relative; transition: background .15s; width: 40px; }
.gdm-switch input::after { background: #ffffff; border-radius: 999px; content: ''; height: 18px; left: 2px; position: absolute; top: 2px; transition: transform .15s; width: 18px; }
.gdm-switch input:checked { background: #e95420; }
.gdm-switch input:checked::after { transform: translateX(18px); }
.gdm-check { align-items: center; color: rgba(255, 255, 255, .8); cursor: pointer; display: flex; font-size: 13px; gap: 8px; }
.gdm-check input { accent-color: #e95420; height: 16px; margin: 0; width: 16px; }
.gdm-caps { align-items: center; background: rgba(249, 155, 17, .16); border-radius: 999px; color: #ffd38a; display: flex; font-size: 12.5px; gap: 6px; margin: 0; padding: 4px 12px; }
.gdm-caps[hidden] { display: none; }
.gdm-caps::before { content: '⇪'; font-size: 13px; }
body.gdm-large .gdm-form { width: min(380px, 100%); }
body.gdm-large .gdm-entry input { font-size: 18px; min-height: 50px; }
body.gdm-large [data-gdm-step="password"] .gdm-entry input, body.gdm-large .gdm-entry input { padding-top: 0; }
body.gdm-large .gdm-go, body.gdm-large .gdm-peek { top: 9px; }
body.gdm-large .gdm-label, body.gdm-large .gdm-check, body.gdm-large .gdm-link, body.gdm-large .gdm-message { font-size: 16px; }
body.gdm-large .gdm-name { font-size: 28px; }
body.gdm-contrast { background: #000000; }
body.gdm-contrast .gdm-entry input { background: #000000; border: 2px solid #ffffff; }
body.gdm-contrast .gdm-label, body.gdm-contrast .gdm-check, body.gdm-contrast .gdm-link, body.gdm-contrast .gdm-footer { color: #ffffff; }
body.gdm-contrast .gdm-message.is-error { color: #ffb4ab; font-weight: 500; }
body.gdm-motion *, body.gdm-motion *::before, body.gdm-motion *::after { animation: none !important; transition: none !important; }
.ops-sub-note { color: var(--perf-dim); font-size: 12px; margin: 0 2px 10px; }
.perf-sub > .panel:first-child { margin-top: 0; }
.ui-page [data-sub-scope] > .perf-subtabs { margin-top: 22px; }
