/* Corporate colours from the AIWENO logo kit. All interface tones derive from these four swatches. */
:root {
  --brand-navy: #05263F;
  --brand-teal: #00BCCB;
  --brand-slate: #304252;
  --brand-white: #FFFFFF;
  --brand-inset: color-mix(in srgb, var(--brand-navy), var(--brand-slate) 18%);
  --brand-panel: color-mix(in srgb, var(--brand-navy), var(--brand-slate) 44%);
  --brand-raised: color-mix(in srgb, var(--brand-navy), var(--brand-slate) 72%);
  --brand-line: color-mix(in srgb, var(--brand-slate), var(--brand-white) 20%);
  --brand-secondary: color-mix(in srgb, var(--brand-slate), var(--brand-white) 40%);
  --brand-soft: color-mix(in srgb, var(--brand-slate), var(--brand-white) 59%);
  --brand-muted: color-mix(in srgb, var(--brand-slate), var(--brand-white) 73%);
  --brand-edge: color-mix(in srgb, var(--brand-slate), var(--brand-white) 84%);
  --brand-paper: color-mix(in srgb, var(--brand-slate), var(--brand-white) 94%);
  --brand-deep-teal: color-mix(in srgb, var(--brand-navy), var(--brand-teal) 33%);
  --brand-mid-teal: color-mix(in srgb, var(--brand-navy), var(--brand-teal) 62%);
  --brand-pale-teal: color-mix(in srgb, var(--brand-teal), var(--brand-white) 58%);
  --brand-wash: color-mix(in srgb, var(--brand-teal), var(--brand-white) 90%);
}

/* Website and mobile app. */
.auftritt {
  --ink: var(--brand-navy);
  --deck: var(--brand-panel);
  --light: var(--brand-white);
  --white: var(--brand-white);
  --muted: var(--brand-muted);
  --accent: var(--brand-teal);
  --line: var(--brand-slate);
}
.auftritt .mast, .auftritt .pub-footer { background: var(--brand-navy); }
.auftritt .test-bar { background: var(--brand-slate); color: var(--brand-white); }
.auftritt .ticket, .auftritt .case-paper { background: var(--brand-white); color: var(--brand-navy); }
.auftritt .ticket-head, .auftritt .workdesk-head { background: var(--brand-slate); color: var(--brand-white); }
.auftritt .light-band, .auftritt .ticket h2 { color: var(--brand-navy); }
.auftritt .ticket-status { background: var(--brand-wash); color: var(--brand-navy); }
.auftritt .ticket dt, .auftritt .ticket-client, .auftritt .ticket-line, .auftritt .ticket figcaption,
.auftritt .light-band .kicker, .auftritt .light-band p, .auftritt .comparison caption { color: var(--brand-slate); }
.auftritt .light-band .text-link, .auftritt .model-list a, .auftritt .case-open, .auftritt .paper-link,
.auftritt .contact-form .form-back { color: var(--brand-navy); }
.auftritt .dark-split .model-list a { color: var(--brand-teal); }
.auftritt .ticket-product img { width: 29px; height: auto; flex: none; }
.auftritt .foot-inner img { width: 106px; height: auto; margin-bottom: 9px; }
.auftritt .form-feedback:not(:empty) { color: var(--brand-navy); border-inline-start: 3px solid var(--brand-teal); }
.auftritt .form-feedback[data-state=error]:not(:empty) { border-inline-start: 4px double var(--brand-slate); }

/* Working portals and the independent industry dashboards. */
body.workspace-body, body.auth-body, body.selector {
  --ink: var(--brand-white);
  --white: var(--brand-panel);
  --paper: var(--brand-navy);
  --muted: var(--brand-muted);
  --blue: var(--brand-teal);
  --sky: var(--brand-pale-teal);
  background: var(--brand-navy);
  color: var(--brand-white);
}
body.selector header, body:not(.widget-body) .top, body[data-dashboard] .app-toolbar,
body[data-dashboard] .app-sidebar { background: var(--brand-navy); }
body:not(.widget-body) .top .brand img { display: block; width: clamp(112px, 13vw, 158px); height: auto; }
.workspace-body .top nav { background: var(--brand-inset); }
.workspace-body .top nav a[aria-current=page], body[data-dashboard] .app-nav button.is-active {
  background: var(--brand-slate); color: var(--brand-white); box-shadow: inset 3px 0 var(--brand-teal);
}
body[data-dashboard] .app-nav button.is-active svg, body[data-dashboard] .app-brand small { color: var(--brand-teal); }
body[data-dashboard] .app-brand small { font-size: 11px; line-height: 1.35; letter-spacing: .09em; }
body[data-dashboard] .app-panel, body.workspace-body .panel, body.auth-body .panel { background: var(--brand-panel); }
.widget-body { color: var(--brand-navy); background: var(--brand-paper); }
.widget-body .widget-shell { color: var(--brand-navy); background: var(--brand-white); }
.widget-body .widget-head small, .widget-body .muted { color: var(--brand-slate); }
.widget-brand-mark { display: block; width: 50px; height: auto; flex: none; }
.widget-body [data-state], .workspace-body [data-state] { color: inherit; }
.widget-body [data-state]:not(:empty), .workspace-body [data-state]:not(:empty) { padding-inline-start: .65em; border-inline-start: 3px solid var(--brand-teal); }
.widget-body [data-state=error]:not(:empty), .workspace-body [data-state=error]:not(:empty) { border-inline-start: 4px double currentColor; }
body.workspace-body .notice.error, body.auth-body .notice.error { border-inline-start: 4px double var(--brand-white); }

.auftritt .button-primary, .auftritt .case-paper .button-primary, .auftritt .app-install .button-primary,
.auftritt .contact-form button[type=submit], body:not(.widget-body) .button, .widget-body .button,
.auth-body .form .button, body[data-dashboard] .app-button:not(.secondary):not(.danger), .lab .lab-primary {
  color: var(--brand-navy); background: var(--brand-teal); border-color: var(--brand-teal);
}
.auftritt .button-primary:hover, .auftritt .case-paper .button-primary:hover, .auftritt .app-install .button-primary:hover,
.auftritt .contact-form button[type=submit]:hover, body:not(.widget-body) .button:hover, .widget-body .button:hover,
body[data-dashboard] .app-button:not(.secondary):not(.danger):hover, .lab .lab-primary:hover {
  color: var(--brand-navy); background: var(--brand-pale-teal); border-color: var(--brand-pale-teal);
}
.auftritt :focus-visible, body[data-dashboard] :focus-visible, body:not(.widget-body) :focus-visible, .widget-body :focus-visible {
  outline: 3px solid var(--brand-teal); outline-offset: 3px; box-shadow: 0 0 0 2px var(--brand-navy);
}
@media (max-width: 1060px) {
  body[data-dashboard] .app-toolbar-scope { display: inline-flex; align-items: center; gap: 7px; }
  body[data-dashboard] .app-toolbar-scope::before {
    content: ""; width: 28px; height: 16px; flex: none;
    background: url("AIWENO_symbol_reverse.svg") center / contain no-repeat;
  }
}
@media print {
  .app-brand img, .top .brand img { content: url("AIWENO_horizontal_primary.svg"); }
}
