@font-face {
  font-family: "Barlow Condensed";
  src: url('/fonts/barlow-condensed/BarlowCondensed-Bold.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url('/fonts/source-sans-3/SourceSans3-Regular.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url('/fonts/source-sans-3/SourceSans3-Semibold.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url('/fonts/source-sans-3/SourceSans3-Bold.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}
:root {
  color-scheme: light;
  --ink: #0e1729;
  --navy-900: #14213d;
  --navy-700: #1f3a63;
  --navy-500: #2c4e82;
  --department: #153b64;
  --title: #17395f;
  --gold-500: #e7a33c;
  --gold-400: #efc178;
  --background: #f5f7fb;
  --border: #dce5ec;
  --text: #263b49;
  --muted: #586f80;
  --emerald: #126644;
  --rust: #9f2b23;
  --shadow: 0 2px 6px rgb(21 59 100 / 5%);
  --card-radius: 12px 12px 12px 3px;
  --heading: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --body: "Source Sans 3", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { min-width: 300px; }
body { display: flex; flex-direction: column; min-height: 100vh; margin: 0; background: var(--background); color: var(--text); font: 16px/1.45 var(--body); }
h1, h2, h3, p, dl, dd { margin: 0; }
h1, h2, h3 { color: var(--title); font-family: var(--heading); font-weight: 700; line-height: 1.12; }
h1 { font-size: clamp(2.3rem, 4vw, 3.05rem); }
h2 { font-size: 1.72rem; }
h3 { font-size: 1.38rem; }
a { color: var(--department); text-underline-offset: .18em; }
button, input, select, textarea { font: inherit; }
button, summary { cursor: pointer; }
button:disabled { cursor: default; opacity: .6; }
:focus-visible { outline: 2px solid var(--gold-500); outline-offset: 3px; }
.skip-link { position: absolute; z-index: 10; inset: 8px auto auto 8px; transform: translateY(-150%); padding: 8px 14px; background: white; }
.skip-link:focus { transform: translateY(0); }
.brand-bar { background: white; border-bottom: 1px solid var(--border); }
.brand-inner { min-height: 74px; max-width: 1450px; margin: auto; padding: 8px clamp(18px, 4vw, 54px); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img { width: clamp(132px, 18vw, 198px); height: 47px; object-fit: contain; }
.account, .identity, .actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.account { justify-content: flex-end; }
.identity { flex-wrap: nowrap; line-height: 1.2; }
.identity p { font-size: .78rem; color: var(--muted); }
.avatar { display: grid; place-items: center; border-radius: 50%; width: 35px; height: 35px; background: #eaf1f8; color: var(--department); font-weight: 700; flex: none; }
.workspace-nav { background: var(--department); color: white; }
.nav-inner { max-width: 1450px; margin: auto; padding: 0 clamp(18px, 4vw, 54px); display: flex; align-items: stretch; overflow-x: auto; }
.nav-inner a { display: flex; align-items: center; min-height: 50px; padding: 10px 20px 7px; border-bottom: 3px solid transparent; color: #eef4fa; font-weight: 600; white-space: nowrap; text-decoration: none; }
.nav-inner a:hover, .nav-inner a[aria-current="page"] { background: #ffffff0c; color: white; }
.nav-inner a[aria-current="page"] { border-color: var(--gold-500); }
.nav-inner a:focus-visible { outline-offset: -4px; }
.workspace { width: min(100%, 1320px); margin: 0 auto; padding: clamp(22px, 3.4vw, 44px) clamp(16px, 3.8vw, 48px) 44px; flex: 1; }
.page-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 14px; margin-bottom: 24px; }
.page-heading p { margin-top: 6px; color: var(--muted); }
.toolbar { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; }
.toolbar > .field { flex: 1 1 155px; }
.toolbar > .button { min-height: 42px; }
.site-footer { width: min(100%, 1320px); margin: 0 auto; padding: 15px clamp(16px, 3.8vw, 48px) 22px; display: flex; gap: 12px; justify-content: space-between; color: var(--muted); font-size: .82rem; }
.grid { display: grid; gap: 20px; }
.split { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); }
.equal { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.stack > * + * { margin-top: 20px; }
.compact > * + * { margin-top: 12px; }
.card { background: white; border: 1px solid var(--border); border-radius: var(--card-radius); box-shadow: var(--shadow); min-width: 0; }
.card-pad { padding: clamp(16px, 2.2vw, 25px); }
.card-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 16px 20px; }
.card-heading p, .help, .muted { color: var(--muted); }
.card-heading p { font-size: .92rem; margin-top: 2px; }
.table-wrap { width: 100%; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; }
th, td { padding: 12px 16px; vertical-align: top; }
th { background: #eaf0f4; color: #455d70; font-size: .75rem; text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; }
td { border-top: 1px solid #e5ecf2; }
tbody tr:nth-child(even) { background: #f5f8fb; }
td p { margin-top: 2px; }
.number, time { font-variant-numeric: tabular-nums; }
.number { white-space: nowrap; }
.empty { padding: 18px 20px; color: var(--muted); }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 38px; padding: 8px 14px; border: 1px solid #cbdbe7; border-radius: 8px 8px 8px 3px; background: #fff; color: var(--department); font-weight: 700; line-height: 1.15; text-decoration: none; text-align: center; white-space: nowrap; }
.button:hover:enabled, a.button:hover { background: #edf4fa; }
.button.primary { border-color: var(--department); background: var(--department); color: white; }
.button.primary:hover:enabled { background: #245579; }
.button.gold { border-color: var(--gold-500); background: var(--gold-500); color: var(--navy-900); }
.button.gold:hover:enabled { background: var(--gold-400); }
.button.outline { border-color: #ffffff65; background: transparent; color: white; }
.button.outline:hover:enabled { background: #ffffff17; }
.button.small { min-height: 33px; padding: 6px 10px; font-size: .85rem; }
.button.link { padding-inline: 5px; border-color: transparent; background: transparent; text-decoration: underline; text-underline-offset: .2em; }
.button.danger { color: var(--rust); }
.field { display: flex; flex-direction: column; gap: 4px; min-width: 0; color: #344f62; font-size: .88rem; font-weight: 700; }
.field input, .field select, .field textarea { width: 100%; min-height: 42px; padding: 8px 10px; border: 1px solid #ccdbe6; border-radius: 7px; background: white; color: var(--ink); font-size: 1rem; font-weight: 400; }
.field select[multiple] { min-height: 94px; }
.field textarea { min-height: 75px; resize: vertical; }
.field .help { font-weight: 400; font-size: .8rem; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; }
.wide { grid-column: 1 / -1; }
.check { display: flex; align-items: center; gap: 8px; }
.check input { width: 1em; height: 1em; accent-color: var(--department); }
.checks { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 20px; background: #eaf1f7; color: #34536c; font-size: .8rem; font-weight: 700; line-height: 1.25; }
.badge.success { background: #e5f3eb; color: var(--emerald); }
.badge.warning { background: #fff0d5; color: #754b04; }
.badge.error { background: #fae9e5; color: var(--rust); }
.badge.dot::before { width: 7px; height: 7px; border-radius: 50%; background: currentColor; content: ''; }
.notice { padding: 12px 16px; border: 1px solid #d4e3ef; border-left: 3px solid #6488a5; border-radius: 7px; background: #edf4fa; color: #355264; }
.notice.warning { border-color: #ecd5ad; border-left-color: var(--gold-500); background: #fff7e9; color: #66491b; }
.notice.error { border-color: #eac1b9; border-left-color: var(--rust); background: #fcf0ed; color: var(--rust); }
.notice.success { border-color: #bfdecf; border-left-color: var(--emerald); background: #edf8f2; color: var(--emerald); }
.notice ul { margin: .42rem 0 .06rem; padding-left: 1.2rem; }
.announcement { position: fixed; z-index: 5; inset: auto 16px 16px auto; width: min(420px, calc(100% - 32px)); }
.announcement:empty { display: none; }
.announcement .notice { box-shadow: 0 5px 21px #14213d26; }
.hero { position: relative; isolation: isolate; min-height: 295px; display: flex; flex-direction: column; justify-content: center; align-items: start; gap: 12px; overflow: hidden; padding: clamp(22px, 4vw, 42px); border-radius: var(--card-radius); background: linear-gradient(112deg, #14213d, #193f67); color: #e8f0f8; }
.hero h1, .hero h2, .hero h3 { color: white; }
.hero p { position: relative; max-width: 44ch; }
.hero .badge { background: #ffffff20; color: #f4f7fb; }
.hero .badge.success { background: #d9f5e9; color: var(--emerald); }
.hero .badge.warning { background: #fff0d5; color: #754b04; }
.hero > .actions { margin-top: 7px; }
.hero .button { min-width: 124px; min-height: 45px; }
.clock-face { position: absolute; z-index: -1; inset: auto -31px -66px auto; width: min(42%, 282px); aspect-ratio: 1; border: 1px solid #efc17857; border-radius: 50%; box-shadow: 0 0 0 13px #ffffff09, 0 0 0 31px #ffffff06, 0 0 0 52px #ffffff03; }
.clock-face::before, .clock-face::after { position: absolute; content: ''; inset: 50% auto auto 50%; border-radius: 5px; background: #efc17873; transform-origin: 0 50%; }
.clock-face::before { width: 28%; height: 2px; transform: rotate(-90deg); }
.clock-face::after { width: 19%; height: 2px; transform: rotate(28deg); }
.clock-readout { font-size: clamp(2.35rem, 5.5vw, 4rem); line-height: 1; color: white; font-weight: 600; letter-spacing: -.025em; font-variant-numeric: tabular-nums; }
.clock-readout small { font-size: .42em; font-weight: 400; letter-spacing: .015em; }
.clock-title { font-size: 1.42rem; }
.clock-selection { width: min(100%, 475px); }
.clock-selection .field { color: #edf4fb; }
.clock-selection select { min-height: 38px; padding-block: 5px; }
.break-fields { margin: 0; padding: 11px; border: 1px solid var(--border); border-radius: 7px; }
.break-fields legend { padding-inline: 5px; color: var(--title); font-weight: 700; }
.period { padding: 23px 24px; display: flex; flex-direction: column; gap: 10px; }
.period .measure { color: var(--title); font: 700 clamp(2.1rem, 5vw, 3rem)/1.1 var(--heading); font-variant-numeric: tabular-nums; }
.period .measure small { font: 700 .52em/1 var(--body); color: var(--muted); }
.period-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding-top: 11px; border-top: 1px solid var(--border); }
.period-detail dt { font-size: .8rem; color: var(--muted); }
.period-detail dd { font-size: 1.2rem; color: var(--title); font-weight: 700; }
.metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(125px, 1fr)); gap: 12px; }
.metric { padding: 13px 16px; border: 1px solid var(--border); border-radius: 8px 8px 8px 3px; background: white; }
.metric dt { color: var(--muted); font-size: .86rem; }
.metric dd { color: var(--title); font: 700 1.9rem/1.2 var(--heading); font-variant-numeric: tabular-nums; }
.login-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 0; margin: clamp(12px, 5vw, 56px) auto; width: min(100%, 970px); align-items: stretch; }
.login-grid > .hero { border-radius: 12px 0 0 3px; min-height: 440px; padding: clamp(24px, 4vw, 52px); border-top: 4px solid var(--gold-500); }
.login-grid > .card { border-radius: 0 12px 12px 0; padding: clamp(20px, 4vw, 38px); }
.login-grid .hero h1 { font-size: clamp(2.65rem, 5.6vw, 4.5rem); }
.login-grid .hero .clock-face { inset: auto -23px -52px auto; width: 51%; }
.login-grid form .primary { width: 100%; min-height: 42px; }
.login-grid details { padding-top: 12px; border-top: 1px solid var(--border); }
.login-grid summary { color: var(--department); font-weight: 700; }
.role-buttons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; margin-top: 10px; }
.role-buttons .button { white-space: normal; }
.dialog { width: min(620px, calc(100% - 26px)); max-height: calc(100% - 28px); border: 1px solid var(--border); border-radius: var(--card-radius); color: var(--text); padding: 0; background: white; box-shadow: 0 15px 65px #10203b40; }
.dialog::backdrop { background: #0e172978; }
.dialog-head { display: flex; justify-content: space-between; align-items: start; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--border); }
.dialog-body { padding: 18px 22px 22px; }
.details summary { padding: 14px 20px; color: var(--title); font-weight: 700; }
.details > summary:hover { background: #edf4f9; }
.details > summary + * { border-top: 1px solid var(--border); }
.control-heading { margin-bottom: 0; }
.source-disclosure { min-width: 140px; }
.source-disclosure summary { white-space: nowrap; color: var(--department); font-weight: 600; }
.source-disclosure[open] { min-width: 260px; }
.row-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.status-list { list-style: none; padding: 0; margin: 0; }
.status-list li { padding: 9px 0; display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--border); }
.status-list li:last-child { border-bottom: 0; }
.preline { white-space: pre-line; overflow-wrap: anywhere; }
.hash { font-family: monospace; font-size: .82em; overflow-wrap: anywhere; }
@media (max-width: 780px) {
  .split, .equal { grid-template-columns: 1fr; }
  .login-grid { max-width: 535px; grid-template-columns: 1fr; margin-block: 6px; }
  .login-grid > .hero { min-height: 205px; border-radius: 12px 12px 0 0; }
  .login-grid > .card { border-radius: 0 0 12px 3px; }
  .split > .hero { min-height: 250px; }
}
@media (max-width: 470px) {
  .brand-inner { padding-inline: 12px; gap: 6px; }
  .account { gap: 6px; }
  .identity .avatar, .identity p { display: none; }
  .account:has(.identity) .demo-label { display: none; }
  .identity strong { display: block; max-width: 82px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .82rem; }
  .nav-inner { padding-inline: 5px; }
  .nav-inner a { padding-inline: 13px; }
  .fields { grid-template-columns: 1fr; }
  .card-heading { padding-inline: 14px; }
  th, td { padding: 9px 12px; }
}
@media (prefers-reduced-motion: no-preference) {
  .button, .nav-inner a { transition: background-color .12s, border-color .12s; }
}
