#crossdesk-pilot {
  color-scheme: light dark;
  --cd-ink: light-dark(#172841, #e5edf9);
  --cd-subtle: light-dark(#516680, #acbfd9);
  --cd-surface: light-dark(#fff, #18253a);
  --cd-ground: light-dark(#f4f7fc, #111b2d);
  --cd-wash: light-dark(#edf3ff, #1d3053);
  --cd-line: light-dark(#d9e3f1, #34445d);
  --cd-blue: light-dark(#2458ce, #94b8ff);
  --cd-on-blue: light-dark(#fff, #122444);
  --cd-good: light-dark(#147052, #7ae0b9);
  --cd-good-wash: light-dark(#e8f8ef, #193b35);
  --cd-warn: light-dark(#885613, #f2c184);
  --cd-warn-wash: light-dark(#fff4df, #433121);
  --cd-error: light-dark(#b32240, #ff9cb3);
  --cd-error-wash: light-dark(#fff0f3, #44293b);
  --cd-shadow: 0 10px 26px light-dark(#142f5a10, #080c1870);
  font: 14px/1.55 Inter, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  height: auto;
  min-height: 100dvh;
  overflow: auto;
  color: var(--cd-ink);
  background: var(--cd-ground);
}
#crossdesk-pilot:has(#enterprise-remote:not([hidden])) { overflow: hidden; }
#crossdesk-pilot [hidden] { display: none !important; }
#crossdesk-pilot :is(.cd-app, .cd-dialog) * { user-select: text; }
#crossdesk-pilot :is(.cd-app, .cd-dialog) :is(button, nav *) { user-select: none; }
#crossdesk-pilot :is(h1, h2, h3, p, dl, dd) { margin: 0; }
#crossdesk-pilot .cd-top {
  min-height: 62px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  padding: 11px clamp(14px, 3vw, 30px); background: var(--cd-surface); border-bottom: 1px solid var(--cd-line);
}
#crossdesk-pilot .cd-brand { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 760; letter-spacing: -.035em; }
#crossdesk-pilot .cd-brand small { padding-left: 9px; border-left: 1px solid var(--cd-line); letter-spacing: 0; font-weight: 540; }
.cd-logo, .cd-avatar { display: inline-grid; place-items: center; flex: 0 0 auto; }
.cd-logo { position: relative; width: 33px; height: 33px; border-radius: 9px; background: var(--cd-blue); color: var(--cd-on-blue); }
.cd-logo::before { content: ""; width: 17px; height: 12px; border: 1.5px solid currentColor; border-radius: 3px; transform: translateY(-1px); }
.cd-logo::after { content: ""; position: absolute; bottom: 7px; width: 9px; height: 1.5px; border-radius: 1px; background: currentColor; }
.cd-avatar { width: 35px; height: 35px; border-radius: 50%; background: var(--cd-wash); color: var(--cd-blue); font-weight: 700; }
.cd-account { display: flex; align-items: center; gap: 8px; line-height: 1.35; }
.cd-account small { display: block; }
.cd-cell-title { font-weight: 660; }
#crossdesk-pilot :is(small, .cd-muted) { color: var(--cd-subtle); font-size: .87em; }
.cd-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 36px; min-width: 0; padding: 6px 11px; border-radius: 8px;
  border: 1px solid var(--cd-line); background: var(--cd-surface); color: var(--cd-ink);
  font: inherit; font-weight: 610; text-decoration: none; text-align: center;
}
.cd-btn:hover:not(:disabled) { background: var(--cd-wash); transform: none; }
.cd-btn.cd-primary { background: var(--cd-blue); color: var(--cd-on-blue); border-color: var(--cd-blue); }
.cd-btn.cd-primary:hover:not(:disabled) { background: color-mix(in srgb, var(--cd-blue), var(--cd-ink) 14%); }
.cd-btn.cd-quiet { color: var(--cd-blue); background: transparent; border-color: transparent; }
.cd-btn.cd-danger { color: var(--cd-error); border-color: color-mix(in srgb, var(--cd-error) 34%, var(--cd-line)); }
.cd-btn:disabled { color: var(--cd-subtle); background: var(--cd-ground); opacity: .7; }
.cd-app :focus-visible, .cd-dialog :focus-visible, .cd-remote-toolbar :focus-visible { outline: 2px solid var(--cd-blue); outline-offset: 2px; }
.cd-row { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; }
.cd-between { justify-content: space-between; }
.cd-stack { display: grid; gap: 13px; }
.cd-work { display: grid; grid-template-columns: 178px minmax(0, 1fr); min-height: calc(100dvh - 62px); }
.cd-work:has(.cd-side[hidden]) { grid-template-columns: minmax(0, 1fr); }
.cd-side { padding: 17px 11px; display: flex; flex-direction: column; gap: 5px; border-right: 1px solid var(--cd-line); background: var(--cd-surface); }
.cd-side-item { min-width: 0; min-height: 40px; padding: 7px 10px; justify-content: flex-start; gap: 9px; border-radius: 8px; color: var(--cd-subtle); background: transparent; font: inherit; text-align: start; }
.cd-side-item :first-child { text-align: center; width: 1.2em; }
.cd-side-item:hover:not(:disabled), .cd-side-item[aria-current="page"] { background: var(--cd-wash); color: var(--cd-blue); transform: none; }
.cd-side-item[aria-current="page"] { font-weight: 700; }
.cd-main { min-width: 0; padding: clamp(14px, 3vw, 34px); width: min(100%, 1330px); margin-inline: auto; }
.cd-main:focus { outline: none; }
.cd-heading { margin-bottom: 18px; }
#crossdesk-pilot h1 { font-size: clamp(22px, 4vw, 29px); line-height: 1.28; letter-spacing: -.035em; }
#crossdesk-pilot h2 { font-size: 18px; line-height: 1.35; letter-spacing: -.018em; }
#crossdesk-pilot h3 { font-size: 15px; line-height: 1.4; }
.cd-heading p { color: var(--cd-subtle); margin-top: 4px !important; }
.cd-pill { display: inline-flex; width: fit-content; align-items: center; gap: 6px; min-height: 23px; padding: 1px 8px; border-radius: 99px; border: 1px solid var(--cd-line); font-size: 12px; font-weight: 610; background: var(--cd-ground); color: var(--cd-subtle); }
.cd-pill.cd-good { background: var(--cd-good-wash); color: var(--cd-good); border-color: transparent; }
.cd-pill.cd-warn { background: var(--cd-warn-wash); color: var(--cd-warn); border-color: transparent; }
.cd-pill.cd-info { background: var(--cd-wash); color: var(--cd-blue); border-color: transparent; }
.cd-pill.cd-error { background: var(--cd-error-wash); color: var(--cd-error); border-color: transparent; }
.cd-dot::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.cd-box { min-width: 0; background: var(--cd-surface); border: 1px solid var(--cd-line); border-radius: 12px; }
.cd-padded { padding: 16px; }
.cd-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.cd-dl { display: grid; grid-template-columns: minmax(5em, auto) minmax(0, 1fr); gap: 6px 14px; overflow-wrap: anywhere; }
.cd-dl dt { color: var(--cd-subtle); }
.cd-dl dd { font-weight: 540; }
.cd-table-wrap { overflow-x: auto; }
.cd-table { width: 100%; border-collapse: collapse; text-align: start; }
.cd-table :is(th, td) { padding: 9px 11px; border-bottom: 1px solid var(--cd-line); white-space: nowrap; }
.cd-table .cd-row { flex-wrap: nowrap; }
.cd-table th { background: var(--cd-ground); color: var(--cd-subtle); font-size: 12px; font-weight: 680; }
.cd-table tbody tr:last-child td { border-bottom: 0; }
.cd-table caption { padding: 12px; text-align: start; font-weight: 700; }
.cd-metrics { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-bottom: 17px; }
.cd-metric { display: grid; justify-items: start; gap: 4px; min-width: 0; padding: 13px; text-align: start; color: var(--cd-ink); background: var(--cd-surface); }
.cd-metric:hover:not(:disabled) { transform: none; background: var(--cd-wash); border-color: var(--cd-blue); }
.cd-metric b { font-size: clamp(17px, 3vw, 25px); font-variant-numeric: tabular-nums; letter-spacing: -.04em; line-height: 1.2; }
.cd-metric:disabled { background: var(--cd-surface); color: var(--cd-subtle); }
.cd-form { display: grid; gap: 12px; max-width: 650px; }
.cd-form fieldset { min-width: 0; border: 0; padding: 0; margin: 0; }
.cd-form legend { font-weight: 680; padding: 0; }
.cd-field { display: grid; gap: 4px; min-width: 0; font-weight: 590; }
.cd-field :is(input, select, textarea) { color: var(--cd-ink); background: var(--cd-surface); font: inherit; font-weight: 450; border: 1px solid var(--cd-line); border-radius: 7px; min-height: 36px; width: 100%; padding: 6px 8px; }
.cd-field textarea { min-height: 64px; resize: vertical; }
.cd-check { display: inline-flex; align-items: center; gap: 6px; min-height: 35px; }
.cd-check input { accent-color: var(--cd-blue); }
.cd-filters { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(119px, 100%), 1fr)); gap: 9px; align-items: end; margin-bottom: 13px; }
.cd-tabs { margin-bottom: 12px; }
.cd-tabs [aria-pressed="true"] { background: var(--cd-wash); color: var(--cd-blue); border-color: var(--cd-blue); }
.cd-notice { padding: 9px 12px; border-radius: 8px; background: var(--cd-wash); color: var(--cd-ink); border: 1px solid var(--cd-line); }
.cd-problem { color: var(--cd-error); background: var(--cd-error-wash); border-color: transparent; }
.cd-note { margin: 12px clamp(14px, 3vw, 30px) 0; }
.cd-blank { padding: 28px 16px; color: var(--cd-subtle); text-align: center; }
.cd-login-shell { display: grid; place-items: center; min-height: min(520px, 72dvh); }
.cd-login { width: min(100%, 450px); overflow: hidden; box-shadow: var(--cd-shadow); }
.cd-login-bar { padding: 9px 13px; border-bottom: 1px solid var(--cd-line); color: var(--cd-subtle); background: var(--cd-ground); }
.cd-login-body { display: grid; gap: 16px; padding: 26px 20px; }
.cd-login-body > .cd-btn { justify-self: start; }
.cd-login-methods { padding-top: 14px; border-top: 1px solid var(--cd-line); }
.cd-dialog { color: var(--cd-ink); background: var(--cd-surface); border: 1px solid var(--cd-line); border-radius: 12px; padding: 17px; width: min(700px, calc(100vw - 24px)); max-height: calc(100dvh - 32px); box-shadow: var(--cd-shadow); }
.cd-dialog::backdrop { background: #121b2c78; }
.cd-dialog pre { max-height: 18rem; margin: 0; overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere; }
#enterprise-remote { position: fixed; inset: 0; z-index: 30; display: grid; grid-template-rows: auto minmax(0, 1fr); background: #000; }
#crossdesk-pilot .cd-remote-toolbar { position: relative; z-index: 105; justify-content: space-between; min-height: 62px; padding-top: max(9px, env(safe-area-inset-top)); }
#remote-target, #remote-asset { overflow-wrap: anywhere; }
#enterprise-remote #media { min-height: 0; }
#enterprise-remote #video { min-height: 0; }
.cd-file-transfers .cd-table { color: var(--cd-ink); font-size: 12px; }
.cd-file-transfers progress { display: block; width: 72px; height: 6px; margin: 0; }
.cd-file-transfers .file-transfer-actions { flex-wrap: nowrap; }
#crossdesk-pilot #file-manager .fm-task-rows { min-width: 420px; }
#crossdesk-pilot #file-manager .fm-task { grid-template-columns: 28px minmax(96px, 1fr) 60px 70px 66px 40px; gap: 8px; }
#crossdesk-pilot #file-manager .fm-task-identity { display: contents; }
@media (max-width: 900px) { .cd-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 680px) {
  .cd-work { display: block; min-height: 0; }
  .cd-side { flex-direction: row; flex-wrap: wrap; padding: 7px 9px; border: 0; border-bottom: 1px solid var(--cd-line); }
}
@media (max-width: 510px) {
  .cd-grid { grid-template-columns: 1fr; }
  .cd-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (pointer: coarse) {
  .cd-btn, .cd-side-item, .cd-check { min-height: 44px; }
  .cd-field :is(input, select, textarea) { font-size: 16px; min-height: 44px; }
}
