/* Copied general-purpose BronCare CSS; source ranges in docs/REUSE.md. */
:root {
  --navy: #102f45;
  --navy-dark: #092337;
  --teal: #00796e;
  --teal-soft: #e8f4f1;
  --cyan: #287988;
  --paper: #f5f7f8;
  --white: #fff;
  --ink: #153144;
  --muted: #566b79;
  --line: #dce4e8;
  --danger: #993631;
  --radius: 12px;
  --space: 8px;
  --shadow: 0 5px 24px #102f4507;
  --focus: #0963bc;
  --font: system-ui, -apple-system, 'Segoe UI', 'Microsoft YaHei', 'PingFang SC', sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.65;
}
a {
  color: var(--teal);
  text-underline-offset: 4px;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.65;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: 32px;
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
h2 {
  font-size: 22px;
  line-height: 1.4;
  margin-bottom: 12px;
}
h3 {
  font-size: 17px;
  line-height: 1.5;
  margin-bottom: 8px;
}
p {
  margin-bottom: 16px;
}
small,
.fine-print {
  font-size: 12px;
}
strong {
  font-weight: 650;
}
svg {
  display: block;
}
.muted,
small {
  color: var(--muted);
}
.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--teal);
  margin-bottom: 12px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  background: #fff;
  padding: 12px;
  z-index: 100;
}
.skip-link:focus {
  top: 8px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 10px 20px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: var(--teal);
  color: white;
  text-decoration: none;
  font-weight: 600;
  white-space: normal;
}
.button:hover {
  background: #00695f;
}
.button.secondary {
  background: white;
  color: var(--navy);
  border-color: var(--line);
}
.button.secondary:hover {
  background: var(--paper);
}
.button.small {
  font-size: 13px;
  min-height: 38px;
  padding: 8px 14px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
}

.card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  min-width: 0;
}

.auth-layout {
  min-height: calc(100vh - 32px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: white;
}
.auth-story {
  background: var(--navy);
  color: white;
  padding: 70px 10%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 70px;
}
.auth-story .brand {
  color: white;
}
.auth-story .brand-logo {
  width: 88px;
  height: 88px;
}
.auth-story .brand small {
  color: #bdd0dc;
}
.auth-story h1 {
  font-size: 40px;
  line-height: 1.55;
}
.auth-story .eyebrow {
  color: #abdbcd;
}
.auth-story p {
  color: #c3d7e1;
  max-width: 450px;
}
.auth-story small {
  color: #c3d7e1;
}
.auth-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 32px;
}
.auth-card {
  width: 100%;
  max-width: 390px;
}
.auth-card h2 {
  font-size: 28px;
}
.auth-form {
  margin-top: 32px;
}
.auth-form > .button {
  width: 100%;
  margin-top: 12px;
}
.form-field {
  margin: 0 0 22px;
}
.form-field label {
  display: block;
  font-weight: 600;
  font-size: 13px;
  margin-bottom: 8px;
}
input,
select,
textarea {
  width: 100%;
  background: #fff;
  border: 1px solid #a9b8c1;
  border-radius: 6px;
  padding: 12px 14px;
  color: var(--ink);
  min-height: 46px;
}
input:disabled {
  background: #f2f5f6;
}
.field-error {
  color: var(--danger);
  font-size: 13px;
}
.auth-form .fine-print {
  margin-top: 20px;
}
.pro-frame {
  min-height: 100vh;
  padding-left: 244px;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 244px;
  background: var(--navy-dark);
  color: #eef6f8;
  overflow-y: auto;
  padding: 30px 21px;
  z-index: 20;
}
.sidebar .brand {
  margin-bottom: 27px;
}
.sidebar .brand small {
  color: #a8becb;
}
.sidebar .brand-logo {
  width: 48px;
  height: 48px;
}
.sidebar .brand strong {
  font-size: 24px;
}
.nav-group {
  margin-top: 21px;
}
.nav-group h2 {
  font-size: 11px;
  font-weight: 500;
  color: #a8becb;
  letter-spacing: 0.08em;
  margin: 0 10px 8px;
}
.nav-group a {
  display: flex;
  gap: 11px;
  padding: 8px 11px;
  color: #d2e0e7;
  text-decoration: none;
  font-size: 13px;
  border-radius: 6px;
  margin: 3px 0;
}
.nav-group a[aria-current='page'] {
  background: #174952;
  color: white;
  border-left: 3px solid #85cabc;
}
.nav-group a:hover {
  background: #1b3e51;
}
.sidebar-note {
  margin-top: 30px;
  border-top: 1px solid #365161;
  padding: 18px 10px 0;
  font-size: 11px;
  color: #b2c4cd;
}
.workspace-top {
  height: 67px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 36px;
  border-bottom: 1px solid var(--line);
  background: #fff;
  font-size: 13px;
  gap: 16px;
}
.workspace-top > div {
  display: flex;
  align-items: center;
  gap: 15px;
}
.workspace-main {
  max-width: 1480px;
  padding: 34px 36px;
  margin: auto;
}
.page-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 28px;
}
.page-header p {
  margin-bottom: 0;
}
.page-header .eyebrow {
  margin-bottom: 10px;
}
.page-header .muted {
  font-size: 13px;
}
.metric-card {
  padding: 22px;
}
.metric-value {
  display: block;
  font-size: 35px;
  line-height: 1.3;
  margin: 12px 0 7px;
  font-variant-numeric: tabular-nums;
}
.metric-card > span {
  font-size: 13px;
}
.section-gap {
  margin-top: 28px;
}
.alert {
  border-left: 3px solid #688996;
  background: #edf3f6;
  padding: 14px 18px;
  font-size: 13px;
  margin: 20px 0;
  color: #344e60;
}
.table-wrap {
  width: 100%;
  overflow-x: auto;
}
.table-wrap:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 13px;
}
caption {
  text-align: left;
  font-weight: 600;
  padding: 0 0 16px;
}
th {
  background: #f2f6f7;
  color: #526b7b;
  text-align: left;
  font-weight: 600;
}
th,
td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  overflow-wrap: anywhere;
}
tbody tr:last-child td {
  border-bottom: 0;
}
