/* Presentation only. Business visibility, video geometry and hit targets stay intact. */
html.eco-ui {
  --eco-ink: #203d38;
  --eco-muted: #5b716b;
  --eco-forest: #12644e;
  --eco-water: #217e9a;
  --eco-line: #d7e4df;
  --eco-surface: #fff;
  --accent-blue: #217e9a;
  color: var(--eco-ink);
  background: #f3f7f6;
  font-family: "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  letter-spacing: 0;
}
html.eco-ui body { background: linear-gradient(110deg, #f0f6f2, #f5f8fa 70%, #f3f7f6); }
html.eco-ui h1, html.eco-ui h2, html.eco-ui h3 { color: #183f35; letter-spacing: 0; }
html.eco-ui h1 { font-size: 27px; font-weight: 650; line-height: 1.35; }
html.eco-ui h2 { font-size: 18px; line-height: 1.5; }
html.eco-ui label { color: var(--eco-muted); font-size: 13px; }
html.eco-ui .sidebar {
  background: #123f36;
  background-image: linear-gradient(155deg, #195648, #133e35 68%, #123e46);
  border-right: 1px solid #295e50;
  box-shadow: 4px 0 18px #153f3410;
  isolation: isolate;
}
html.eco-ui .sidebar::before {
  content: ""; position: absolute; inset: auto 0 140px; height: 135px;
  background: url('/crane-flight-v2.webp') center / 190px auto no-repeat;
  opacity: .1; pointer-events: none; z-index: -1;
}
html.eco-ui .sidebar::after {
  content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background-image: linear-gradient(#b8ebe806 1px, transparent 1px), linear-gradient(90deg, #b8ebe806 1px, transparent 1px);
  background-size: 40px 40px;
}
html.eco-ui .brand { gap: 11px; padding-bottom: 28px; }
html.eco-ui .brand img { box-shadow: 0 3px 12px #061c3655, 0 0 0 3px #effff015; }
html.eco-ui .brand strong { color: #fff; font-size: 23px; }
html.eco-ui .brand small { color: #c0d6ce; line-height: 1.65; }
html.eco-ui .sidebar nav { gap: 6px; }
html.eco-ui .sidebar nav button {
  position: relative; border: 1px solid transparent; border-radius: 6px;
  color: #d5e5dd; background: transparent; box-shadow: none;
  padding-left: 17px; min-height: 42px; line-height: 1.4;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}
html.eco-ui .sidebar nav button.active {
  background: #2d6855; color: #fff; border-color: #528771;
  box-shadow: inset 3px 0 #a5dcbd, inset 0 1px #ffffff12, 0 3px 9px #071c2420;
}
html.eco-ui .sidebar nav button:hover { background: #2a6252; color: #fff; border-color: #4e806b; }
html.eco-ui .sidebar-bottom { border-top: 1px solid #52816c55; }
html.eco-ui .sidebar-bottom button { color: #d8e9e1; background: #ffffff06; border-color: #5c8d7970; box-shadow: none; }
html.eco-ui main { padding-top: 24px; }
html.eco-ui .view { min-width: 0; }
html.eco-ui main > header {
  position: relative; isolation: isolate; min-height: 90px; padding-bottom: 22px;
  margin-bottom: 26px; border-bottom: 1px solid var(--eco-line);
}
html.eco-ui main > header::after {
  content: ""; position: absolute; bottom: -1px; left: 0; width: 96px; height: 2px;
  background: linear-gradient(90deg, #398569, #59a8be); pointer-events: none;
}
html.eco-ui .eyebrow { color: #5e7f73; font-size: 12px; margin-bottom: 7px; }
html.eco-ui .header-status { color: #536f64; font-size: 12px; }
html.eco-ui .dot { background: #3e9870; box-shadow: 0 0 0 4px #4da17812; }
html.eco-ui #sync-time { color: #607b71; }
html.eco-ui button, html.eco-ui .action-link {
  border-radius: 6px;
  transition: background-color 150ms ease, border-color 150ms ease, box-shadow 150ms ease, color 150ms ease;
}
html.eco-ui button {
  color: #31584b; border-color: #c9dbd1; background: #fff;
  box-shadow: 0 2px 2px #193e2a05, inset 0 1px #ffffff;
}
html.eco-ui button:hover:not(:disabled) { background: #f2f9f5; border-color: #8fb5a1; box-shadow: 0 3px 8px #23513d12; }
html.eco-ui button:active:not(:disabled) { box-shadow: inset 0 2px 4px #244a3a15; }
html.eco-ui button.primary {
  color: #fff; border-color: #17614b; background: linear-gradient(180deg, #237657, #18614b);
  box-shadow: inset 0 1px #ffffff29, 0 3px 0 #114a3b, 0 5px 10px #24573c18;
}
html.eco-ui button.primary:hover:not(:disabled) { background: #247d5d; border-color: #398d6a; box-shadow: inset 0 1px #ffffff30, 0 3px 0 #114a3b, 0 6px 15px #24573c25; }
html.eco-ui button.primary:active:not(:disabled) { box-shadow: inset 0 2px 5px #072f3b30, 0 1px 0 #114a3b; }
html.eco-ui button:disabled { box-shadow: none; }
html.eco-ui input:not([type=checkbox]):not([type=radio]), html.eco-ui select, html.eco-ui textarea {
  color: var(--eco-ink); background-color: #fff; border: 1px solid #cbdcd2; border-radius: 5px;
  box-shadow: inset 0 2px 3px #25443504; font-family: inherit;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
html.eco-ui input::placeholder, html.eco-ui textarea::placeholder { color: #81948a; }
html.eco-ui select:hover, html.eco-ui input:hover:not(:disabled), html.eco-ui textarea:hover { border-color: #87b5a1; }
html.eco-ui :is(button, input, select, textarea, a, summary):focus-visible { outline: 3px solid #389ab36b; outline-offset: 3px; }
html.eco-ui input[type=checkbox], html.eco-ui input[type=radio] { accent-color: #22765b; }
html.eco-ui input[aria-invalid=true] { border-color: #bb5148; box-shadow: 0 0 0 2px #bc5a481c; }
html.eco-ui input:disabled, html.eco-ui select:disabled, html.eco-ui textarea:disabled { background-color: #edf2ef; }
html.eco-ui .filters { gap: 14px; padding: 4px 0 7px; }
html.eco-ui .section-toolbar { gap: 12px; flex-wrap: wrap; }
html.eco-ui .section-toolbar h2 { max-width: 100%; overflow-wrap: anywhere; }
html.eco-ui .summary, html.eco-ui .auto-overview, html.eco-ui .cn-summary { border-color: var(--eco-line); }
html.eco-ui .summary strong, html.eco-ui .auto-overview dd, html.eco-ui .cn-summary strong { color: #1f6750; font-variant-numeric: tabular-nums; }
html.eco-ui .summary > div:nth-child(2) strong, html.eco-ui .auto-overview > div:nth-child(2) dd, html.eco-ui .cn-summary > div:nth-child(3) strong { color: #247791; }
html.eco-ui .summary span, html.eco-ui .auto-overview dt, html.eco-ui .cn-summary span { color: #61766b; }
html.eco-ui .table-scroll { border-top: 1px solid #cbded3; border-bottom: 1px solid #dce7e0; }
html.eco-ui table { color: #2c4c42; background: #fff; font-size: 13px; }
html.eco-ui th { background: #eaf2ed; color: #4a6f5d; font-weight: 600; font-size: 12px; border-bottom-color: #cfded5; }
html.eco-ui td { border-bottom-color: #e4ece7; line-height: 1.65; }
html.eco-ui tr:last-child td { border-bottom: 0; }
html.eco-ui tbody tr:hover td { background: #f2f8f7; }
@supports selector(tr:has(input:checked)) {
  html.eco-ui tbody tr:has(input[type=checkbox]:checked) td { background: #eaf5ef; }
  html.eco-ui tbody tr:has(input[type=checkbox]:checked) td:first-child { box-shadow: inset 3px 0 #398a65; }
}
html.eco-ui .filename { color: #245c4a; }
html.eco-ui .device-name { color: #678077; font-size: 12px; }
html.eco-ui .badge { border-radius: 4px; font-size: 12px; padding: 3px 7px; }
html.eco-ui .badge.green { background: #e2f2e9; color: #216744; }
html.eco-ui .badge.amber { background: #fff0d9; color: #8a5a13; }
html.eco-ui .badge.red { background: #f9e7e4; color: #9b4038; }
html.eco-ui .badge.test { background: #e6f0f8; color: #2c688d; }
html.eco-ui .action-link, html.eco-ui #submission-items a { color: #217b96; }
html.eco-ui .action-link:hover { background: #e9f5f8; }
html.eco-ui progress { accent-color: #26869a; border-radius: 3px; overflow: hidden; }
html.eco-ui progress::-webkit-progress-bar { background: #e6eeea; border-radius: 3px; }
html.eco-ui progress::-webkit-progress-value { background: #27899b; border-radius: 3px; }
html.eco-ui progress::-moz-progress-bar { background: #27899b; border-radius: 3px; }
html.eco-ui .component-tabs, html.eco-ui .auto-tabs { border-color: #cadfd2; }
html.eco-ui .auto-tabs button { box-shadow: none; border-radius: 0; background: transparent; }
html.eco-ui .auto-tabs button[aria-selected=true] { color: #17684d; border-bottom-color: #2a9770; }
html.eco-ui .component-tabs button.active { background: #206f52; border-color: #206f52; color: #fff; }
html.eco-ui #notice { background: #fff2dc; border-left-color: #c79437; color: #805716; border-radius: 0 5px 5px 0; }
html.eco-ui dialog { background: #fcfefd; color: #29493e; border-color: #c1d8c9; box-shadow: 0 24px 80px #163b3945, 0 4px 12px #163b3918; }
html.eco-ui dialog::backdrop { background: #0b28296b; backdrop-filter: blur(3px); }
html.eco-ui .dialog-head { padding-bottom: 15px; border-bottom: 1px solid #dce8df; }
html.eco-ui #job-log { background: #f0f5f4; color: #324e4a; border-left: 2px solid #74ac9b; }
html.eco-ui main > footer { color: #6c8076; border-top: 1px solid #e0e9e3; margin-top: 28px; }
html.eco-ui #login { position: relative; isolation: isolate; background: linear-gradient(125deg, #ebf3ed, #f8fbfa 55%, #edf5f9); }
html.eco-ui #login::before {
  content: ""; position: absolute; right: 5%; top: 13%; width: min(25vw, 310px); aspect-ratio: 3/2;
  background: url('/crane-flight-v2.webp') center / contain no-repeat; pointer-events: none; opacity: .68;
  filter: drop-shadow(0 9px 8px #40786615); z-index: -1;
}
html.eco-ui .login-brand img { width: 88px; height: 88px; filter: drop-shadow(0 6px 5px #1f61401a); }
html.eco-ui .login-brand h1 { color: #165942; font-size: 34px; }
html.eco-ui .login-brand p { color: #5b786a; font-size: 14px; }
html.eco-ui #login-form { width: 340px; gap: 20px; }
html.eco-ui #login-form input { min-height: 44px; }
html.eco-ui #login-form button { min-height: 44px; }
html.eco-ui #login footer { color: #657d71; }

/* Full-width work surfaces; do not change module grids or visibility rules. */
html.eco-ui body { background: #eef3f3; }
html.eco-ui .view > .filters,
html.eco-ui .view [id$="-picker"] > .filters,
html.eco-ui .view .model-group-form,
html.eco-ui #auto-filter,
html.eco-ui #auto-config {
  background: linear-gradient(110deg, #fff 60%, #f0f7f6);
  border-block: 1px solid #cadbd6;
  border-left: 3px solid #419c86;
  padding: 20px 22px; margin-bottom: 22px;
}
html.eco-ui .filters label { gap: 9px; color: #365b50; font-weight: 500; }
html.eco-ui input:not([type=checkbox]):not([type=radio]), html.eco-ui select, html.eco-ui textarea {
  background-color: #f8fbfc; border-color: #b5cbc7; border-radius: 6px;
  box-shadow: inset 0 2px 4px #235b4910, 0 1px 0 #fff;
  min-height: 42px;
}
html.eco-ui input:not([type=checkbox]):not([type=radio]):focus,
html.eco-ui select:focus, html.eco-ui textarea:focus {
  background-color: #fff; border-color: #328c83;
  box-shadow: 0 0 0 3px #338f8717, inset 0 1px 2px #235b4908;
}
html.eco-ui :is(input,select,textarea):disabled { background-color: #eaf0ee; color: #74867f; }
html.eco-ui :is(input,select,textarea)[aria-invalid=true] { border-color: #bb5148; box-shadow: 0 0 0 2px #bc5a481c; }
html.eco-ui input[type=checkbox]:not(#auto-toggle) { width: 18px; height: 18px; min-height: 18px; flex-shrink: 0; }
html.eco-ui button, html.eco-ui .action-link {
  font-weight: 500; border-radius: 6px;
}
html.eco-ui button {
  min-height: 40px; padding: 9px 17px;
  border: 1px solid #b7cec5;
  background: linear-gradient(#fff, #f0f6f3);
  box-shadow: inset 0 1px 0 #fff, 0 2px 0 #c7d7d0, 0 3px 5px #234a3510;
}
html.eco-ui button:hover:not(:disabled) {
  color: #165d49; border-color: #6aab95;
  background: linear-gradient(#fff, #e8f5ef);
  box-shadow: inset 0 1px #fff, 0 2px 0 #9abdae, 0 5px 10px #24573c1c;
}
html.eco-ui button:active:not(:disabled) { box-shadow: inset 0 2px 5px #22594024, 0 1px 0 #c7d7d0; }
html.eco-ui button.primary {
  border-color: #13644d; background: linear-gradient(140deg, #278b68, #156452);
  color: #fff; box-shadow: inset 0 1px #ffffff45, 0 3px 0 #104a3c, 0 5px 9px #1d604025;
}
html.eco-ui button.primary:hover:not(:disabled) {
  color: #fff; background: linear-gradient(140deg, #319e78, #187560);
  border-color: #228664; box-shadow: inset 0 1px #ffffff50, 0 3px 0 #104a3c, 0 7px 13px #1d604032;
}
html.eco-ui button.primary:active:not(:disabled) { box-shadow: inset 0 2px 6px #002f3d50, 0 1px 0 #104a3c; }
html.eco-ui button:disabled { box-shadow: none; opacity: .48; }
html.eco-ui input::file-selector-button {
  font: inherit; padding: 6px 12px; margin-right: 12px; color: #1f6550;
  background: #e9f3ed; border: 1px solid #bfd5c8; border-radius: 4px; cursor: pointer;
}
html.eco-ui .sidebar nav button { background: transparent; border-color: transparent; color: #d5e5dd; box-shadow: none; }
html.eco-ui .sidebar nav button:is(.active,:hover) {
  color: #fff; background: #2c6c59; border-color: #528771;
  box-shadow: inset 3px 0 #a5dcbd, inset 0 1px #ffffff12;
}
html.eco-ui .sidebar-bottom button { background: #ffffff08; color: #e1eee7; border-color: #598571; box-shadow: none; }
html.eco-ui .view :is(.summary,.auto-overview,.cn-summary) {
  background: linear-gradient(110deg,#e7f1eb,#eef6fa);
  border-block: 1px solid #bfd4ca; padding: 20px 22px; gap: 20px;
}
html.eco-ui .view :is(.summary,.auto-overview,.cn-summary) > div:not(.summary-end) {
  border-left: 2px solid #91bcaa; padding-left: 15px; min-width: 0;
}
html.eco-ui .view :is(.summary,.auto-overview,.cn-summary) > div:nth-child(even) { border-left-color: #94bfcf; }
html.eco-ui .view :is(.summary,.auto-overview,.cn-summary) :is(strong,dd) { text-shadow: 0 1px 0 #fff; }
html.eco-ui .table-top {
  padding: 16px 18px; background: #fff; border-top: 2px solid #84b5a6;
  align-items: center; gap: 12px; flex-wrap: wrap;
}
html.eco-ui .table-top > strong { color: #244f44; font-size: 15px; }
html.eco-ui .table-scroll { border-block: 1px solid #c8dcd6; background: #fff; }
html.eco-ui th {
  background: #dfede8; color: #365f51; font-size: 12px;
  padding-block: 15px; border-bottom: 1px solid #bad3c6;
}
html.eco-ui tbody tr:nth-child(even) td { background: #f5f8fa; }
html.eco-ui td { padding-block: 17px; border-bottom-color: #e0e9e6; }
html.eco-ui tbody tr:hover td { background: #eaf5f1; }
html.eco-ui tbody tr:hover td:first-child { box-shadow: inset 3px 0 #65a995; }
@supports selector(tr:has(input:checked)) {
  html.eco-ui tbody tr:has(input[type=checkbox]:checked) td { background: #deefe5; }
  html.eco-ui tbody tr:has(input[type=checkbox]:checked) td:first-child { box-shadow: inset 3px 0 #217657; }
}
html.eco-ui td button { min-height: 34px; padding: 6px 12px; font-size: 12px; margin: 3px 2px; }
html.eco-ui td .action-link { min-height: 34px; padding: 6px 12px; color: #246d90; background: #eaf3f9; text-decoration: none; }
html.eco-ui td .action-link:hover { background: #daeefa; }
html.eco-ui .pagination { background: #ffffffa8; padding: 14px 18px; border-bottom: 1px solid #d0ded9; }
html.eco-ui .section-toolbar h2 { border-left: 3px solid #389a81; padding-left: 11px; }
html.eco-ui .logo-settings { background: #e8f0f3; padding: 14px 18px; border-block-color: #c7d9df; gap: 14px; }
html.eco-ui .logo-preview { background: #f9fbfc; border: 1px solid #c8d7d9; border-radius: 4px; }
html.eco-ui .component-tabs, html.eco-ui .auto-tabs { background: #e3ece9; padding: 7px; gap: 7px; border-bottom: 1px solid #c1d5ca; }
html.eco-ui :is(.component-tabs,.auto-tabs) button { box-shadow: none; background: transparent; border: 1px solid transparent; border-radius: 5px; padding: 9px 16px; }
html.eco-ui .component-tabs button.active, html.eco-ui .auto-tabs button[aria-selected=true] {
  background: #fff; color: #155d47; border-color: #bdd3c7;
  box-shadow: 0 2px 4px #254d3510, inset 0 -2px #2b8b6a;
}
html.eco-ui .component-selects { padding: 20px 18px; background: #f8fbfd; border-block: 1px solid #c8dce1; }
html.eco-ui #component-settings fieldset { background: #fff; border-top: 2px solid #a8cabe; padding: 20px 18px; }
html.eco-ui #component-settings legend { font-size: 15px; padding: 5px 12px; background: #e5f0ea; color: #2a6550; }
html.eco-ui .component-key { color: #577b81; }
html.eco-ui .section-toolbar .component-import input { width: 220px; max-width: 100%; }
html.eco-ui :is(.component-submit,.auto-save,.cn-actions) { border-top: 1px solid #d3e3db; padding-top: 18px; }
html.eco-ui progress { height: 7px; }
html.eco-ui progress::-webkit-progress-bar { background: #e0e9e6; box-shadow: inset 0 1px 2px #173c3120; }
html.eco-ui progress::-webkit-progress-value { background: linear-gradient(90deg,#288b75,#3b94b5); }
html.eco-ui progress::-moz-progress-bar { background: linear-gradient(90deg,#288b75,#3b94b5); }
html.eco-ui #auto-toggle { box-shadow: inset 0 1px 4px #15342c35; }
html.eco-ui #auto-toggle::after { box-shadow: 0 1px 3px #173c3155; }
.eco-flight-layer { position: fixed; inset: 0; overflow: hidden; pointer-events: none !important; z-index: 50; contain: strict; }
.eco-trail { position: absolute; pointer-events: none !important; transform-origin: center; }
.eco-feather { width: 21px; height: 6px; border-top: 2px solid #539d8bb8; border-radius: 50%; }
.eco-feather:nth-child(3n) { border-top-color: #4694b3aa; }
.eco-crane { width: 65px; height: 44px; }
.eco-crane img { display: block; width: 100%; height: 100%; object-fit: contain; pointer-events: none !important; filter: drop-shadow(0 2px 2px #23585780); }
@media (prefers-reduced-motion: reduce) {
  html.eco-ui button, html.eco-ui input, html.eco-ui select, html.eco-ui textarea { transition: none; }
  .eco-flight-layer { display: none !important; }
}
@media (max-width: 1100px) {
  html.eco-ui .sidebar { padding-inline: 12px; }
  html.eco-ui .brand strong { font-size: 21px; }
}
@media (max-width: 720px) {
  html.eco-ui .sidebar { padding: 14px 16px; }
  html.eco-ui .sidebar::before, html.eco-ui #login::before { display: none; }
  html.eco-ui .brand { max-width: 100%; padding-bottom: 12px; }
  html.eco-ui .brand strong { font-size: 20px; }
  html.eco-ui .brand small { font-size: 10px; }
  html.eco-ui .sidebar-bottom { position: static; border: 0; margin: 12px 0 0; padding: 0; justify-content: space-between; }
  html.eco-ui .sidebar nav button { flex: 0 0 auto; min-height: 38px; font-size: 12px; padding: 8px 12px; }
  html.eco-ui main > header { min-height: 0; padding-bottom: 18px; margin-bottom: 20px; }
  html.eco-ui h1 { font-size: 23px; }
  html.eco-ui .filters { gap: 12px; }
  html.eco-ui .view > .filters, html.eco-ui .view [id$="-picker"] > .filters,
  html.eco-ui .view .model-group-form, html.eco-ui #auto-filter, html.eco-ui #auto-config { padding: 16px 12px; }
  html.eco-ui .view :is(.summary,.auto-overview,.cn-summary) { padding: 16px 12px; gap: 16px; }
  html.eco-ui .table-top, html.eco-ui .pagination { padding-inline: 12px; }
  html.eco-ui .component-tabs, html.eco-ui .auto-tabs { gap: 4px; flex-wrap: wrap; }
  html.eco-ui :is(.component-tabs,.auto-tabs) button { padding: 8px 10px; }
  html.eco-ui .summary { gap: 20px; }
  html.eco-ui .section-toolbar { align-items: flex-start; }
  html.eco-ui .section-toolbar input { max-width: 100%; }
  html.eco-ui #accounts-view { overflow-x: auto; }
  html.eco-ui #login { padding: 24px; }
  html.eco-ui #login-form { width: 100%; max-width: 340px; }
  html.eco-ui .login-brand h1 { font-size: 30px; }
}
