
:root,
html[data-theme="light"],
html[data-theme="dark"] {
  color-scheme: light;
  --primary: #0b4d95;
  --secondary: #062f5d;
  --accent: #ff8f1f;
  --primary-fg: #ffffff;
  --body-fg: #17355f;
  --body-bg: #edf6fb;
  --body-quiet-color: #6980a1;
  --body-loud-color: #0b2e80;
  --header-color: #ffffff;
  --header-branding-color: #ffffff;
  --header-bg: #062f5d;
  --header-link-color: #ffffff;
  --breadcrumbs-fg: #5575a0;
  --breadcrumbs-link-fg: #0b58c7;
  --breadcrumbs-bg: #f5fbff;
  --link-fg: #0b63d8;
  --link-hover-color: #074ba7;
  --link-selected-fg: #ff8f1f;
  --hairline-color: #d9e7f2;
  --border-color: #cdddea;
  --error-fg: #c9222b;
  --message-success-bg: #e7f8ef;
  --message-warning-bg: #fff4dd;
  --message-error-bg: #fdecee;
  --darkened-bg: #f7fbfe;
  --selected-bg: #e7f2ff;
  --selected-row: #edf6ff;
  --button-fg: #ffffff;
  --button-bg: #0b63d8;
  --button-hover-bg: #084fae;
  --default-button-bg: #0b63d8;
  --default-button-hover-bg: #084fae;
  --close-button-bg: #6c7f98;
  --close-button-hover-bg: #556a84;
  --delete-button-bg: #d5353f;
  --delete-button-hover-bg: #b9252f;
  --zeus-navy: #062f5d;
  --zeus-navy-2: #041e3f;
  --zeus-blue: #0b63d8;
  --zeus-cyan: #1cc5ff;
  --zeus-orange: #ff8f1f;
  --zeus-panel: #ffffff;
  --zeus-shadow: 0 10px 28px rgba(13, 65, 112, .08);
}
html, body { background: var(--body-bg); color: var(--body-fg); }
body { font-size: 15px; }
.theme-toggle { display:none !important; }
#header {
  min-height: 72px; padding: 8px 22px;
  background: linear-gradient(100deg, #062f5d 0%, #084b86 68%, #062f5d 100%);
  border-bottom: 4px solid var(--zeus-orange);
  box-shadow: 0 4px 18px rgba(4, 30, 63, .16);
  align-items: center;
}
#branding { min-width: 340px; }
.zeus-admin-brand__link { display:flex; align-items:center; gap:16px; text-decoration:none !important; color:#fff !important; }
.zeus-admin-logo { display:inline-flex; align-items:center; gap:10px; min-width: 215px; }
.zeus-admin-logo__atom { width:72px; height:72px; display:block; flex:0 0 auto; filter: drop-shadow(0 2px 6px rgba(0,0,0,.16)); }
.zeus-admin-logo__wordmark { display:inline-flex; align-items:flex-end; line-height:1; font-size:62px; font-weight:800; letter-spacing:-.045em; font-family: Arial, Helvetica, sans-serif; }
.zeus-admin-logo__z, .zeus-admin-logo__mirror { color:#ffffff; }
.zeus-admin-logo__eu { color: var(--zeus-cyan); }
.zeus-admin-logo__mirror { display:inline-block; transform: scaleX(-1); margin-left: -4px; }
.zeus-admin-brand__copy { display:grid; line-height:1.15; }
.zeus-admin-brand__copy strong { color:#fff; font-size:21px; font-weight:800; letter-spacing:.01em; }
.zeus-admin-brand__copy small { margin-top:5px; color:#a9c8e8; font-size:11px; font-weight:600; }
#user-tools { font-size:13px; font-weight:600; }
#user-tools a { border-radius:6px; padding:5px 7px; }
.zeus-admin-return { display:inline-flex; align-items:center; min-height:36px; padding:0 14px; margin-left:14px; border:1px solid rgba(255,255,255,.3); border-radius:8px; color:#fff !important; font-size:12px; font-weight:700; text-decoration:none !important; white-space:nowrap; }
.zeus-admin-return:hover { background:rgba(255,255,255,.11); }
div.breadcrumbs { padding:12px 28px; background:#f6fbff; border-bottom:1px solid #d9e7f2; color:#5b78a0; font-size:13px; }
div.breadcrumbs a { color:#0b63d8; font-weight:700; }
#container { min-height:100vh; }
.main { background:var(--body-bg); }
#content { padding:26px 30px 40px; }
#content h1 { color:#14379c; font-size:30px; font-weight:800; letter-spacing:-.02em; margin:0 0 22px; }
#content h2, #content h3 { color:#173f91; }
#nav-sidebar { background:linear-gradient(180deg, var(--zeus-navy) 0%, var(--zeus-navy-2) 100%); border-right:1px solid #0c4b78; color:#fff; box-shadow:4px 0 18px rgba(5, 38, 73, .08); }
#nav-sidebar .sticky { top:0; }
#nav-sidebar .module, #nav-sidebar .module table, #nav-sidebar .module tbody, #nav-sidebar .module tr, #nav-sidebar .module th, #nav-sidebar .module td { background:transparent; }
#nav-sidebar .zeus-admin-group > h2 { background:rgba(255,255,255,.045) !important; color:#9fc3e6 !important; border-top:1px solid rgba(255,255,255,.08); border-bottom:1px solid rgba(255,255,255,.06); margin-top:10px !important; padding:11px 14px !important; font-size:10px !important; font-weight:800 !important; letter-spacing:.08em; text-transform:uppercase; }
#nav-sidebar caption { background:transparent; padding:8px 12px 5px; }
#nav-sidebar caption a.section { color:#d4e7f7; font-size:12px; font-weight:800; }
#nav-sidebar th, #nav-sidebar td { border-bottom:0; padding:0; }
#nav-sidebar tr { position:relative; }
#nav-sidebar tr a { display:block; padding:8px 12px; color:#eef7ff; font-size:12px; text-decoration:none; border-radius:5px; }
#nav-sidebar tr:hover a { background:rgba(255,255,255,.075); color:#fff; }
#nav-sidebar tr.current-model { background:#0a4d91; box-shadow: inset 4px 0 0 var(--zeus-orange); }
#nav-sidebar tr.current-model a { color:#fff; font-weight:800; }
#nav-filter { margin:12px 10px; width:calc(100% - 20px); box-sizing:border-box; border:1px solid rgba(255,255,255,.16); border-radius:8px; background:rgba(255,255,255,.08); color:#fff; min-height:36px; padding:7px 10px; }
#nav-filter::placeholder { color:#a9c5df; }
.module, .inline-group, fieldset.module, #changelist, #content-main > form, .dashboard #content-main > .module { border:1px solid var(--border-color); border-radius:13px; background:var(--zeus-panel); box-shadow:var(--zeus-shadow); overflow:hidden; }
.module h2, .module caption, .inline-group h2, fieldset.module > h2 { background:#eaf4fb; color:#123c86; border-bottom:1px solid #d5e5f1; font-size:14px; font-weight:800; letter-spacing:.01em; }
.module caption a.section { color:#123c86; }
.dashboard #content-main { width:100%; }
.dashboard #content-main .module table { width:100%; }
.form-row { padding:15px 18px; border-bottom:1px solid #e4edf4; background:#fff; }
.form-row:last-child { border-bottom:0; }
.form-row label { color:#17355f; font-size:14px; font-weight:800; }
input, textarea, select, .vTextField, .vURLField, .vIntegerField, .vBigIntegerField, .vForeignKeyRawIdAdminField { border:1px solid #bfd2e2 !important; border-radius:8px !important; background:#fff !important; color:#17355f !important; min-height:38px; padding:7px 10px !important; box-sizing:border-box; }
textarea { min-height:90px; }
input:focus, textarea:focus, select:focus { border-color:#0b63d8 !important; box-shadow:0 0 0 3px rgba(11, 99, 216, .12) !important; outline:none !important; }
.help, p.help, form .aligned p.help, form .aligned div.help { color:#6c82a1; font-size:12px; }
.selector { border-radius:10px; overflow:hidden; }
#changelist .changelist-form-container, #changelist .changelist-filter-container { background:transparent; }
#changelist table { border-radius:10px; overflow:hidden; }
#changelist table thead th { background:#eef6fc; color:#173d88; border-bottom:1px solid #cfdeea; font-weight:800; padding:11px 10px; }
#changelist table tbody tr:nth-child(even) { background:#f8fbfe; }
#changelist table tbody tr:hover { background:#edf6ff; }
#changelist table td, #changelist table th { padding:10px; }
#changelist-filter { background:#fff; border-left:1px solid #d9e7f2; }
#changelist-filter h2 { background:#0b4d95; color:#fff; }
#toolbar, #changelist-search { background:#f7fbfe; border-bottom:1px solid #d9e7f2; }
#toolbar form input[type="text"], #changelist-search input[type="text"] { min-width:260px; }
.button, input[type="submit"], input[type="button"], .submit-row input, a.button { border-radius:8px !important; border:0 !important; padding:10px 16px !important; min-height:38px; font-weight:800 !important; box-shadow:none !important; }
.object-tools a, .object-tools a:link, .object-tools a:visited { border-radius:8px; background:#fff; color:#c56b00; border:1px solid #df8a25; font-weight:800; padding:8px 13px; }
.object-tools a:hover { background:#fff7ed; color:#a95900; }
.object-tools a.addlink::before { color:var(--zeus-orange); }
.submit-row { background:#f4f9fd; border:1px solid #d6e4ef; border-radius:11px; box-shadow:0 -2px 12px rgba(13,65,112,.05); }
.submit-row input.default { background:var(--zeus-blue) !important; }
.submit-row a.deletelink { border-radius:8px; }
ul.messagelist { margin:16px 30px 0; }
ul.messagelist li { border-radius:8px; border:1px solid #cddfea; box-shadow:0 4px 12px rgba(13,65,112,.04); }
.calendarbox, .clockbox { border-radius:10px; overflow:hidden; box-shadow:0 10px 28px rgba(0,0,0,.14); }
.zeus-admin-shortcuts__grid { gap:16px !important; }
.zeus-admin-shortcut { border-radius:13px !important; background:#fff !important; box-shadow:var(--zeus-shadow); }
.zeus-admin-shortcut--commercial { border-left:4px solid var(--zeus-orange) !important; }
@media (max-width: 900px) {
  #header { min-height:auto; align-items:flex-start; }
  #branding { min-width:0; }
  .zeus-admin-brand__copy small { display:none; }
  .zeus-admin-logo__atom { width:54px; height:54px; }
  .zeus-admin-logo__wordmark { font-size:44px; }
  #content { padding:18px 14px 30px; }
  .zeus-admin-return { display:none; }
}
@media (max-width: 600px) {
  .zeus-admin-brand__copy strong { font-size:16px; }
  #content h1 { font-size:24px; }
  .zeus-admin-logo { min-width: 150px; }
  .zeus-admin-logo__wordmark { font-size:34px; }
}
