/* Shared visual foundation. Page-specific forms are migrated independently. */
:root {
  --ui-font: 'Segoe UI', -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  --ui-bg: #f3f5f8;
  --ui-surface: #fff;
  --ui-soft: #f7f9fc;
  --ui-line: #dce2eb;
  --ui-text: #202d40;
  --ui-muted: #64748b;
  --ui-accent: #245de0;
  --ui-accent-hover: #1746b6;
  --ui-action: #245de0;
  --ui-action-hover: #1746b6;
  --ui-action-text: #fff;
  --ui-selected: #eaf0ff;
  --ui-field-bg: var(--ui-surface);
}

/* Shared form actions: primary action on the right, outlined secondary on the left. */
body.has-fixed-header .app-button-primary,
body.has-fixed-header .app-button-secondary {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 0 !important;
  min-height: 50px !important;
  padding: 11px 16px !important;
  border: 1px solid var(--ui-line) !important;
  border-radius: 0 !important;
  font: 700 14px/1.2 var(--ui-font) !important;
  text-align: center !important;
  box-shadow: none !important;
}
body.has-fixed-header .app-button-primary {
  border-color: var(--ui-action) !important;
  background: var(--ui-action) !important;
  color: var(--ui-action-text) !important;
}
body.has-fixed-header .app-button-primary:hover {
  border-color: var(--ui-action-hover) !important;
  background: var(--ui-action-hover) !important;
}
body.has-fixed-header .app-button-secondary {
  background: transparent !important;
  color: var(--ui-text) !important;
}
body.has-fixed-header .app-button-secondary:hover { background: var(--ui-soft) !important; }
body.has-fixed-header :is(.app-button-primary, .app-button-secondary):focus-visible {
  outline: 2px solid var(--ui-accent) !important;
  outline-offset: 2px !important;
}

/* Full-size controls used by add/edit forms and their dialogs. */
body.has-fixed-header .app-form-control {
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  height:54px!important;
  min-height:54px!important;
  margin:0!important;
  padding:12px 16px!important;
  border:1px solid var(--ui-line)!important;
  border-radius:12px!important;
  background-color:var(--ui-field-bg)!important;
  color:var(--ui-text)!important;
  font:400 16px/1.35 var(--ui-font)!important;
  box-shadow:none!important;
  box-sizing:border-box!important;
}
body.has-fixed-header select.app-form-control { padding-right:38px!important; }
body.has-fixed-header input[type="file"].app-form-control { padding:0 12px!important; overflow:hidden; }
body.has-fixed-header input[type="file"].app-form-control::file-selector-button {
  height:52px; margin:0 12px 0 -12px; padding:0 14px;
  border:0; border-right:1px solid var(--ui-line); background:var(--ui-soft); color:var(--ui-text);
  font:600 14px/1 var(--ui-font); cursor:pointer;
}
body.has-fixed-header .app-form-control:focus { border-color:var(--ui-accent)!important; outline:2px solid var(--ui-accent)!important; outline-offset:1px!important; }
body.has-fixed-header .app-form-actions {
  display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.35fr); gap:12px;
  width:100%; min-width:0; align-items:stretch;
}
body.has-fixed-header .app-form-actions>* { width:100%!important; min-width:0!important; }
body.has-fixed-header .app-form-button { min-height:54px!important; border-radius:12px!important; font:650 15px/1.3 var(--ui-font)!important; }

/* Shared centered dialog used by compact application forms. */
body.has-fixed-header .app-dialog {
  width:min(460px, calc(100vw - 32px));
  max-width:460px;
  max-height:calc(100dvh - 32px);
  margin:auto;
  padding:0;
  overflow:visible;
  border:1px solid var(--ui-line);
  border-radius:16px;
  background:var(--ui-surface);
  color:var(--ui-text);
  box-shadow:0 18px 48px rgba(8,18,32,.28);
}
body.has-fixed-header .app-dialog::backdrop { background:rgba(5,11,20,.68); }
body.has-fixed-header .app-dialog-card { position:relative; display:grid; gap:16px; padding:24px; }
body.has-fixed-header .app-dialog-heading { margin:0; padding-right:38px; color:var(--ui-text); font:750 20px/1.25 var(--ui-font); }
body.has-fixed-header .app-dialog-close {
  position:absolute;
  top:13px;
  right:13px;
  display:grid!important;
  place-items:center!important;
  width:38px!important;
  min-width:38px!important;
  height:38px!important;
  min-height:38px!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  color:var(--ui-muted)!important;
  font:400 26px/1 var(--ui-font)!important;
}
body.has-fixed-header .app-dialog-actions { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
body.has-fixed-header .app-dialog-actions>* { width:100%!important; }
@media(max-width:480px){
  body.has-fixed-header .app-dialog-card { padding:20px 16px 16px; }
}

/* Shared floating create action. */
body.has-fixed-header .app-create-fab {
  position:fixed;
  right:max(22px, calc((100vw - 1320px) / 2 + 22px));
  bottom:22px;
  z-index:80;
  display:grid;
  place-items:center;
  width:62px;
  height:62px;
  padding:0;
  border:0;
  border-radius:50%;
  background:var(--ui-action);
  color:var(--ui-action-text)!important;
  font:300 44px/1 var(--ui-font);
  text-decoration:none!important;
  box-shadow:0 10px 24px rgba(25,76,137,.3);
}
body.has-fixed-header .app-create-fab:hover { background:var(--ui-action-hover); }
body.has-fixed-header .app-create-fab:focus-visible { outline:2px solid var(--ui-accent); outline-offset:3px; }
@media(max-width:760px){
  body.has-fixed-header .app-create-fab { right:18px; bottom:18px; width:58px; height:58px; font-size:40px; }
}
body.dark {
  --ui-field-bg: #141c28;
}
body.has-fixed-header.dark {
  --ui-bg: #141c28;
  --ui-surface: #1c2736;
  --ui-soft: #233144;
  --ui-line: #36465a;
  --ui-text: #e5edf7;
  --ui-muted: #a6b5c9;
  --ui-accent: #79a4ff;
  --ui-accent-hover: #a3bfff;
  --ui-selected: #283d60;
}

/* Text-entry controls stay visibly separate from panels throughout the dark UI. */
body.dark :is(
  input:not([type]),
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="password"],
  input[type="search"],
  input[type="url"],
  input[type="number"],
  input[type="date"],
  input[type="datetime-local"],
  input[type="month"],
  input[type="week"],
  input[type="time"],
  textarea
) {
  background-color: var(--ui-field-bg) !important;
}

/* Shared native date + time pair. Mobile browsers open their system calendar
   and clock pickers, while the application keeps one combined save action. */
.app-datetime-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
  width: 100%;
}
.app-datetime-field {
  display: grid;
  gap: 6px;
  min-width: 0;
  text-align: left;
  font-weight: 700;
}
.app-datetime-field input {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
@media (max-width: 360px) {
  .app-datetime-fields { gap: 8px; }
}
body.dark :is(
  input:not([type]),
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="password"],
  input[type="search"],
  input[type="url"],
  input[type="number"]
):-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px var(--ui-field-bg) inset !important;
  -webkit-text-fill-color: var(--ui-text) !important;
}

/* One compact selector for adding up to three photos across workflow forms. */
.app-multi-photo-picker {
    display:grid;
    grid-template-columns:minmax(0,1fr);
    gap:8px 12px;
    align-items:center;
    width:100%;
    margin:14px 0 10px;
}
.app-multi-photo-input[hidden],
.app-multi-photo-button[hidden] { display:none !important; }
.app-multi-photo-button {
    appearance:none;
    -webkit-appearance:none;
    min-width:0;
    min-height:44px;
    padding:10px 14px;
    border:1px solid #4e69a2;
    border-radius:9px;
    background:#eef3ff;
    color:#294777;
    font:700 15px/1.2 var(--ui-font, Arial, sans-serif);
    cursor:pointer;
}
body.has-fixed-header.dark .app-multi-photo-button {
    border-color:#36567f;
    background:#142d52;
    color:#e6f0ff;
}
@media (max-width:420px) {
    .app-multi-photo-picker { grid-template-columns:1fr; }
}

/* Native dropdowns use one control appearance throughout the application. */
body.has-fixed-header input.app-text-input {
  appearance:none!important;
  -webkit-appearance:none!important;
  width:100%!important;
  min-width:0!important;
  height:42px!important;
  min-height:42px!important;
  padding:8px 10px!important;
  box-sizing:border-box!important;
  border:1px solid var(--ui-line)!important;
  border-radius:0!important;
  background:var(--ui-surface)!important;
  color:var(--ui-text)!important;
  font:400 16px/1.35 var(--ui-font)!important;
  box-shadow:none!important;
}
body.has-fixed-header input.app-text-input:focus {
  border-color:var(--ui-accent)!important;
  outline:2px solid var(--ui-accent)!important;
  outline-offset:1px!important;
}
body.has-fixed-header.dark input.app-text-input { background:#141c28!important; }

body.has-fixed-header select:not([multiple]):not(.select2-hidden-accessible) {
  appearance: auto !important;
  -webkit-appearance: auto !important;
  -moz-appearance: auto !important;
  width: 100%;
  min-width: 0;
  height: 42px !important;
  min-height: 42px;
  box-sizing: border-box !important;
  padding: 8px 10px !important;
  border: 1px solid var(--ui-line) !important;
  border-radius: 0 !important;
  background-color: var(--ui-surface) !important;
  background-image: none !important;
  color: var(--ui-text) !important;
  font: 400 16px/1.35 var(--ui-font) !important;
  box-shadow: none !important;
  color-scheme: light;
}

/* Compact native date used beside the global select control. */
body.has-fixed-header input.app-compact-date {
  appearance: none !important;
  -webkit-appearance: none !important;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  height: 42px !important;
  min-height: 42px !important;
  box-sizing: border-box !important;
  padding: 8px 10px !important;
  border: 1px solid var(--ui-line) !important;
  border-radius: 0 !important;
  background-color: var(--ui-surface) !important;
  color: var(--ui-text) !important;
}
body.has-fixed-header input.app-compact-date::-webkit-date-and-time-value {
  min-width: 0;
  text-align: left;
}
body.has-fixed-header input.app-compact-date::-webkit-calendar-picker-indicator {
  opacity: .85;
  cursor: pointer;
}
body.has-fixed-header.dark select:not([multiple]):not(.select2-hidden-accessible) {
  color-scheme: dark;
}
body.has-fixed-header select:not([multiple]):not(.select2-hidden-accessible) option,
body.has-fixed-header select:not([multiple]):not(.select2-hidden-accessible) optgroup {
  background: var(--ui-surface) !important;
  color: var(--ui-text) !important;
  font: 400 16px/1.35 var(--ui-font);
}
body.has-fixed-header select:not([multiple]):not(.select2-hidden-accessible):focus {
  border-color: var(--ui-accent) !important;
  outline: 2px solid var(--ui-accent) !important;
  outline-offset: 1px;
}
body.has-fixed-header select:not([multiple]):not(.select2-hidden-accessible):disabled {
  background-color: var(--ui-soft) !important;
  color: var(--ui-muted) !important;
  cursor: not-allowed;
  opacity: .75;
}

/* Searchable dropdown shared by pages that need type-ahead suggestions. */
body.has-fixed-header .app-combobox { position: relative; min-width: 0; }
body.has-fixed-header .app-combobox::after { content: '▾'; position: absolute; top: 50%; right: 12px; color: var(--ui-muted); transform: translateY(-50%); pointer-events: none; }
body.has-fixed-header .app-combobox-input {
  width:100%!important;
  min-width:0!important;
  height:42px!important;
  min-height:42px!important;
  padding:8px 34px 8px 10px!important;
  box-sizing:border-box!important;
  border:1px solid var(--ui-line)!important;
  border-radius:0!important;
  background:var(--ui-surface)!important;
  color:var(--ui-text)!important;
  font:400 16px/1.35 var(--ui-font)!important;
  box-shadow:none!important;
}
body.has-fixed-header .app-combobox-input:focus {
  border-color:var(--ui-accent)!important;
  outline:2px solid var(--ui-accent)!important;
  outline-offset:1px!important;
}
body.has-fixed-header.dark .app-combobox-input { background: #141c28 !important; }
body.has-fixed-header .app-combobox-options { position: absolute; z-index: 20; top: calc(100% + 1px); left: 0; right: 0; max-height: 250px; overflow-y: auto; border: 1px solid var(--ui-line); background: var(--ui-surface); box-shadow: none; }
body.has-fixed-header.dark .app-combobox-options, body.has-fixed-header.dark .app-combobox-option { background: #141c28; }
body.has-fixed-header .app-combobox-options[hidden] { display: none; }
body.has-fixed-header .app-combobox-option { display:block; width:100%; min-width:0; min-height:42px; padding:8px 10px; box-sizing:border-box; overflow:hidden; border:0; border-bottom:1px solid var(--ui-line); border-radius:0; background:var(--ui-surface); color:var(--ui-text); font:400 16px/1.35 var(--ui-font); text-align:left; text-overflow:ellipsis; white-space:nowrap; cursor:default; }
body.has-fixed-header .app-combobox-option:last-child { border-bottom: 0; }
body.has-fixed-header .app-combobox-option:hover, body.has-fixed-header .app-combobox-option.is-active { background: var(--ui-selected); color: var(--ui-text); }
body.has-fixed-header .app-combobox-options .app-combobox-option { min-width:0!important; background:var(--ui-surface)!important; color:var(--ui-text)!important; }
body.has-fixed-header .app-combobox-options .app-combobox-option:hover,
body.has-fixed-header .app-combobox-options .app-combobox-option.is-active,
body.has-fixed-header .app-combobox-options .app-combobox-option[aria-selected="true"] { background:var(--ui-selected)!important; color:var(--ui-text)!important; }
.visually-hidden { position:absolute!important; width:1px!important; height:1px!important; padding:0!important; margin:-1px!important; overflow:hidden!important; clip:rect(0,0,0,0)!important; white-space:nowrap!important; border:0!important; }
body.has-fixed-header .fixed-header {
  background: #202e43;
  box-shadow: none;
  border-bottom: 1px solid #354359;
  font-family: var(--ui-font);
}
body.has-fixed-header.dark .fixed-header { background: #101925; }
body.has-fixed-header .fixed-header button,
body.has-fixed-header .fixed-header .hamburger,
body.has-fixed-header .fixed-header .user-actions .role-toggle,
body.has-fixed-header .fixed-header #theme-button {
  border-radius: 0;
  font-family: var(--ui-font);
  font-size: 14px;
  box-shadow: none;
}
body.has-fixed-header .fixed-header .hamburger:hover,
body.has-fixed-header .fixed-header #theme-button:hover { transform: none; }
body.has-fixed-header .fixed-header #theme-button { border-width: 1px; border-color: #718099; }
body.has-fixed-header .app-sidebar,
body.has-fixed-header.dark .app-sidebar {
  background: var(--ui-surface);
  border-color: var(--ui-line);
  color: var(--ui-text);
  font-family: var(--ui-font);
  padding: 16px 12px;
}
body.has-fixed-header .app-sidebar .side-nav { gap: 8px; }
body.has-fixed-header .app-sidebar .sb-group { border: 0; border-radius: 0; background: transparent; }
body.has-fixed-header .app-sidebar .sb-title {
  appearance: none;
  min-height: 44px;
  padding: 12px;
  background: var(--ui-soft);
  color: var(--ui-text);
  font: 600 14px/1.4 var(--ui-font);
  border: 0;
  border-radius: 0;
}
body.has-fixed-header .app-sidebar .sb-title:hover { background: var(--ui-selected); }
body.has-fixed-header .app-sidebar .sb-title .caret { border-color: var(--ui-muted); }
body.has-fixed-header .app-sidebar .sb-group.is-open > .sb-title {
  background: var(--ui-selected);
  color: var(--ui-accent);
  box-shadow: inset 3px 0 var(--ui-accent);
}
body.has-fixed-header .app-sidebar .sb-panel { padding: 4px 0 6px; }
body.has-fixed-header .app-sidebar .sb-item {
  display: block;
  padding: 10px 12px 10px 17px;
  min-height: 40px;
  border-radius: 0;
  color: var(--ui-text);
  font: 400 14px/1.4 var(--ui-font);
}
body.has-fixed-header .app-sidebar .sb-item:hover { background: var(--ui-soft); }
body.has-fixed-header .app-sidebar .sb-item[aria-current="page"] {
  color: var(--ui-accent);
  background: var(--ui-selected);
  font-weight: 600;
  box-shadow: inset 3px 0 var(--ui-accent);
}
@media (min-width: 1025px) {
  body.has-fixed-header .app-sidebar .sb-item[aria-current="page"] {
    background: transparent;
    box-shadow: inset 2px 0 color-mix(in srgb, var(--ui-accent) 65%, transparent);
  }
}
body.has-fixed-header .app-sidebar .sb-section-label {
  padding: 15px 12px 5px 17px;
  color: var(--ui-muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}
body.has-fixed-header .app-sidebar .sb-dashboard,
body.has-fixed-header .app-sidebar .sb-user {
  border-radius: 0;
  border: 1px solid var(--ui-line);
  background: var(--ui-surface);
  color: var(--ui-text);
}
body.has-fixed-header .app-sidebar .sb-dashboard { font-size: 14px; min-height: 44px; }
body.has-fixed-header .app-sidebar .sb-dashboard-row { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 44px; gap: 8px; }
body.has-fixed-header .app-sidebar .sb-dashboard { display: flex; align-items: center; min-width: 0; }
body.has-fixed-header .app-sidebar .sb-dashboard span { margin-left: .5rem; }
body.has-fixed-header .app-sidebar .sb-create-toggle { display: inline-grid; place-items: center; width: 44px; min-width: 44px; height: 44px; padding: 0; border: 1px solid var(--ui-line); border-radius: 0; background: var(--ui-surface); color: var(--ui-accent); font-size: 18px; }
body.has-fixed-header .app-sidebar .sb-create-toggle[aria-expanded="true"] { border-color: var(--ui-accent); background: var(--ui-selected); }
body.has-fixed-header .app-sidebar .sb-create-menu { position: absolute; z-index: 30; top: calc(100% + 5px); right: 0; width: min(220px, 100%); padding: 4px; border: 1px solid var(--ui-line); background: var(--ui-surface); box-shadow: 0 10px 24px rgba(0,0,0,.18); }
body.has-fixed-header .app-sidebar .sb-create-menu[hidden] { display: none !important; }
body.has-fixed-header .app-sidebar .sb-create-menu a { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 9px 11px; color: var(--ui-text); text-decoration: none; font: 600 14px/1.35 var(--ui-font); }
body.has-fixed-header .app-sidebar .sb-create-menu a:hover { background: var(--ui-soft); }
body.has-fixed-header .app-sidebar .sb-create-menu i { width: 18px; color: var(--ui-accent); text-align: center; }
body.has-fixed-header .app-sidebar .sb-user { margin-top: 16px; padding: 12px; }
body.has-fixed-header .app-sidebar .sb-version-link { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; padding: 8px 10px; border: 1px solid var(--ui-line); color: var(--ui-muted); font-size: 12px; text-decoration: none; }
body.has-fixed-header .app-sidebar .sb-version-link:hover, body.has-fixed-header .app-sidebar .sb-version-link[aria-current="page"] { background: var(--ui-soft); color: var(--ui-accent); }
body.has-fixed-header .app-sidebar .sb-user-title { color: var(--ui-muted); font-size: 10px; }
body.has-fixed-header .app-sidebar .sb-user-val { color: var(--ui-text); font-size: 14px; margin-top: 4px; }
body.has-fixed-header .app-sidebar .sb-sep { background: var(--ui-line); }
body.has-fixed-header .app-sidebar .sb-logout { border-radius: 0; font-size: 14px; }
body.has-fixed-header .app-sidebar :is(a, button):focus-visible { outline: 2px solid var(--ui-accent); outline-offset: -2px; }
@media (max-width: 1024px) {
  body.has-fixed-header .app-sidebar { width: min(300px, 86vw); }
}
@media (prefers-reduced-motion: reduce) {
  body.has-fixed-header .app-sidebar, body.has-fixed-header .fixed-header button { transition: none; }
}
.client-phone-fields{display:grid;gap:8px;min-width:0}.completion-phone-fields{grid-column:1/-1}.client-phone-rows{display:grid;gap:8px}.client-phone-row{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr) 42px;gap:8px;align-items:end;min-width:0}.client-phone-row label{display:grid;gap:5px;min-width:0;margin:0!important}.client-phone-row label>span{color:var(--ui-muted);font-size:12px;font-weight:650}.client-phone-row input{width:100%!important;min-width:0!important}.client-phone-remove,.client-phone-add{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:42px!important;min-width:42px!important;min-height:42px!important;padding:0!important;margin:0!important;border:1px solid var(--ui-line)!important;background:transparent!important;color:var(--ui-accent)!important;font-size:20px!important;font-weight:650!important}.client-phone-remove{color:var(--ui-danger,#a54650)!important}.client-phone-add[hidden]{display:none!important}@media(max-width:640px){.client-phone-row{grid-template-columns:minmax(0,1fr) minmax(0,.72fr) 42px}.client-phone-row label>span{font-size:11px}}

/* Full-size warehouse form controls override the compact defaults above. */
body.has-fixed-header input.app-text-input.app-form-control,
body.has-fixed-header input[type="file"].app-form-control,
body.has-fixed-header select.app-form-control:not([multiple]):not(.select2-hidden-accessible) {
  width:100%!important; min-width:0!important; max-width:100%!important;
  height:54px!important; min-height:54px!important; border-radius:12px!important;
  background-color:var(--ui-field-bg)!important; box-sizing:border-box!important;
}
body.has-fixed-header input.app-text-input.app-form-control { padding:12px 16px!important; }
body.has-fixed-header select.app-form-control:not([multiple]):not(.select2-hidden-accessible) { padding:12px 38px 12px 16px!important; }
body.has-fixed-header input[type="file"].app-form-control { padding:0 12px!important; }

/* System updates: shared settings-page controls and semantic history table. */
body.has-fixed-header .system-update-page { width:min(100%,980px); margin:0 auto; }
body.has-fixed-header .system-update-panel {
  margin-top:16px; padding:24px; border:1px solid var(--ui-line); border-radius:16px;
  background:var(--ui-surface); color:var(--ui-text);
}
body.has-fixed-header .system-update-panel-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; margin-bottom:18px; }
body.has-fixed-header .system-update-panel-heading h2 { margin:0; color:var(--ui-text); font:700 22px/1.25 var(--ui-font); }
body.has-fixed-header .system-update-panel-heading p { margin:6px 0 0; color:var(--ui-muted); }
body.has-fixed-header .system-update-upload { display:grid; gap:10px; }
body.has-fixed-header .system-update-upload>label { color:var(--ui-text); font-weight:700; }
body.has-fixed-header .system-update-hint { margin:0; color:var(--ui-muted); font-size:13px; line-height:1.45; }
body.has-fixed-header .system-update-actions { display:flex; justify-content:flex-end; margin-top:6px; }
body.has-fixed-header .system-update-message { margin:16px 0; padding:13px 15px; border:1px solid var(--ui-line); background:var(--ui-soft); color:var(--ui-text); }
body.has-fixed-header .system-update-message.is-success { border-color:var(--ui-success,#278a55); }
body.has-fixed-header .system-update-message.is-error { border-color:var(--ui-danger,#a54650); }
body.has-fixed-header .system-update-history { max-height:460px; }
body.has-fixed-header .system-update-history table { table-layout:fixed; min-width:820px; }
body.has-fixed-header .system-update-history th:nth-child(1) { width:90px; }
body.has-fixed-header .system-update-history th:nth-child(2) { width:120px; }
body.has-fixed-header .system-update-history th:nth-child(3),
body.has-fixed-header .system-update-history th:nth-child(4) { width:140px; }
body.has-fixed-header .system-update-history th:nth-child(6) { width:150px; }
body.has-fixed-header .system-update-status { white-space:nowrap; font-weight:700; }
body.has-fixed-header .system-update-status.is-success { color:var(--ui-success,#278a55); }
body.has-fixed-header .system-update-status.is-failed { color:var(--ui-danger,#a54650); }
body.has-fixed-header .system-update-ellipsis { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
@media(max-width:640px){
  body.has-fixed-header .system-update-panel { padding:18px; border-radius:14px; }
  body.has-fixed-header .system-update-panel-heading h2 { font-size:20px; }
  body.has-fixed-header .system-update-actions .app-button-primary { width:100%; }
}
