:root {
  --primary: #0f766e;
  --secondary: #155d91;
  --accent: #1d6f9f;
  --primary-fg: #ffffff;
  --body-bg: #eef3f6;
  --body-fg: #17212b;
  --body-quiet-color: #657386;
  --body-loud-color: #101820;
  --header-color: #ffffff;
  --header-branding-color: #ffffff;
  --header-bg: #0b1f27;
  --header-link-color: #dcecf2;
  --breadcrumbs-bg: #12313c;
  --breadcrumbs-fg: #dcecf2;
  --link-fg: #155d91;
  --link-hover-color: #0f766e;
  --link-selected-fg: #0f766e;
  --hairline-color: #d8e0e8;
  --border-color: #d8e0e8;
  --error-fg: #b42318;
  --message-success-bg: #e7f6ef;
  --message-warning-bg: #fff7df;
  --message-error-bg: #fee4e2;
  --darkened-bg: #e8eef3;
  --selected-bg: #e7f2fb;
  --selected-row: #edf8f6;
  --button-fg: #ffffff;
  --button-bg: #1d6f9f;
  --button-hover-bg: #155d91;
  --default-button-bg: #0f766e;
  --default-button-hover-bg: #0b5f59;
  --close-button-bg: #667085;
  --close-button-hover-bg: #475467;
}

body {
  background:
    linear-gradient(rgba(8, 19, 28, 0.07), rgba(8, 19, 28, 0.02)),
    var(--body-bg);
  color: var(--body-fg);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

#header {
  min-height: 58px;
  padding: 10px 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 30px rgba(8, 19, 28, 0.22);
}

#branding h1,
#branding h1 a:link,
#branding h1 a:visited {
  color: #ffffff;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0;
}

#user-tools {
  color: #dcecf2;
  font-size: 12px;
}

#user-tools a {
  border-bottom-color: rgba(220, 236, 242, 0.5);
}

div.breadcrumbs {
  padding: 12px 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
}

#content {
  padding: 26px 28px;
}

#content h1 {
  color: #101820;
  font-size: 28px;
  font-weight: 800;
}

.module {
  overflow: hidden;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 40px rgba(8, 19, 28, 0.08);
}

.module h2,
.module caption,
.inline-group h2 {
  background: #f6f8fb;
  color: #17212b;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

table {
  border-color: var(--border-color);
}

thead th {
  background: #f6f8fb;
  color: #344054;
  font-weight: 750;
}

tr:nth-child(even),
.row-form-errors {
  background: #fbfcfd;
}

tr:hover {
  background: #edf8f6;
}

.object-tools a:link,
.object-tools a:visited,
input[type="submit"],
button,
.button {
  border-radius: 8px;
  font-weight: 750;
}

.object-tools a.addlink {
  background-color: var(--default-button-bg);
}

.object-tools a.addlink:hover {
  background-color: var(--default-button-hover-bg);
}

input,
textarea,
select,
.vTextField {
  border-color: #c8d2dc;
  border-radius: 8px;
}

input:focus,
textarea:focus,
select:focus,
.vTextField:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(29, 111, 159, 0.16);
}

#changelist {
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 14px 40px rgba(8, 19, 28, 0.08);
}

#changelist-filter {
  border-left: 1px solid var(--border-color);
  background: #f6f8fb;
}

#changelist-filter h2 {
  background: #12313c;
  color: #ffffff;
}

#changelist-filter h3 {
  color: #344054;
  font-weight: 800;
}

.submit-row {
  border: 1px solid var(--border-color);
  border-radius: 10px;
  background: #f6f8fb;
}

.messagelist li {
  border-radius: 8px;
}
