@font-face {
  font-family: Ubuntu;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/Ubuntu-Regular.ttf') format('truetype');
}

:root {
  color-scheme: light;
  --brand-blue: #0052bd;
  --text: #444;
  --muted: #5c5c5c;
  --surface: #ececec;
  --line: #c7d5e7;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #fff;
  color: var(--text);
  font: 400 16px/1.6 Ubuntu, Verdana, sans-serif;
}
a { color: var(--brand-blue); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
a, button, input, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--brand-blue); outline-offset: 4px; }
.site-width { width: min(1170px, calc(100% - 64px)); margin-inline: auto; }
.content-width { width: min(800px, calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: absolute; top: -100px; left: 16px; padding: 8px 16px; background: white; z-index: 2; }
.skip-link:focus { top: 8px; }
.top-bar { background: var(--surface); font-size: 12px; padding: 5px 0; color: var(--muted); }
.top-bar .site-width { text-align: right; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 22px; }
.brand-logo { display: inline-flex; flex-shrink: 0; }
.brand-logo img { display: block; max-width: 100%; height: auto; }
.site-header nav a { display: inline-block; border: 1px solid var(--brand-blue); border-radius: 3px; padding: 9px 16px; text-decoration: none; }
.site-header nav a:hover { background: #f0f5fc; }
.title-band { background: var(--surface); border-block: 1px solid #e2e2e2; padding: 29px 0 30px; }
.eyebrow { color: var(--brand-blue); font-size: 14px; margin: 0 0 6px; }
h1, h2 { color: var(--brand-blue); line-height: 1.2; font-weight: 400; overflow-wrap: anywhere; }
h1 { font-size: clamp(27px, 4vw, 36px); margin: 0 0 12px; }
h2 { font-size: 23px; margin: 0 0 18px; }
.organization { margin: 0; font-size: 15px; }
main { flex: 1; padding-block: 32px 44px; }
.panel { padding: 28px 32px 32px; border: 1px solid var(--brand-blue); border-radius: 4px; background: #fff; }
p { margin: 0 0 18px; }
.panel > :last-child { margin-bottom: 0; }
.message { margin-bottom: 24px; }
.message-error { border-left: 3px solid var(--brand-blue); padding: 12px 16px; background: #f0f5fc; }
.linked-account { background: #f2f2f2; padding: 12px 16px; margin-bottom: 24px; border-radius: 3px; overflow-wrap: anywhere; }
label { display: block; margin-bottom: 8px; font-weight: bold; }
input[type=password] { display: block; width: 100%; min-width: 0; min-height: 46px; border: 1px solid #898989; border-radius: 3px; padding: 10px 12px; background: #fff; color: var(--text); font: inherit; }
.field { margin-bottom: 16px; }
.field-hint { color: var(--muted); font-size: 14px; margin-bottom: 24px; }
.actions, .button-group { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
button, .button { display: inline-flex; justify-content: center; align-items: center; min-height: 46px; padding: 10px 18px; border: 1px solid var(--brand-blue); border-radius: 3px; background: var(--brand-blue); color: #fff; font: inherit; line-height: 1.35; cursor: pointer; text-align: center; text-decoration: none; }
button:hover, .button:hover { background: #00469f; border-color: #00469f; }
.button-secondary, .btn-deny { background: #fff; color: var(--brand-blue); }
.button-secondary:hover, .btn-deny:hover { background: #f0f5fc; color: var(--brand-blue); }
.remove-action { margin-top: 20px; padding-top: 16px; border-top: 1px solid #dedede; }
.button-text { background: transparent; color: var(--text); border-color: transparent; padding: 8px 0; min-height: 44px; text-decoration: underline; text-underline-offset: .2em; }
.button-text:hover { background: transparent; color: var(--brand-blue); border-color: transparent; }
.completion-note { color: var(--muted); font-size: 14px; margin-bottom: 12px; }
.site-footer { background: var(--surface); border-top: 1px solid #ddd; padding: 25px 0; font-size: 13px; }
.footer-content { display: flex; justify-content: space-between; gap: 24px 48px; }
.publisher p { margin: 0 0 4px; }
.site-footer nav { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

/* The pinned provider owns all consent text, fields, actions and cookies. */
.provider-page .container > .logo { display: none; }
.provider-page .info-box p { margin-bottom: 20px; }
.provider-page .redirect-section { padding: 14px 16px; border-left: 3px solid var(--brand-blue); background: #f0f5fc; margin-bottom: 20px; }
.provider-page .redirect-section .label { display: block; font-size: 14px; margin-bottom: 5px; }
.provider-page .redirect-section .value, .provider-page .detail-value { overflow-wrap: anywhere; }
.provider-page details { margin-bottom: 24px; }
.provider-page summary { cursor: pointer; color: var(--brand-blue); padding-block: 6px; }
.provider-page .detail-box { padding: 14px 16px; margin-top: 10px; background: #f4f4f4; border: 1px solid #ddd; }
.provider-page .detail-row { display: grid; grid-template-columns: 155px minmax(0, 1fr); gap: 8px; margin-bottom: 8px; font-size: 14px; }
.provider-page .detail-row:last-child { margin-bottom: 0; }
.provider-page .detail-label { font-weight: bold; }
.provider-page .help-link-container { margin-top: 24px; padding-top: 18px; border-top: 1px solid #ddd; font-size: 13px; color: var(--muted); }
.provider-page .tooltip { display: block; margin-top: 6px; }

@media (max-width: 600px) {
  .site-width, .content-width { width: calc(100% - 32px); }
  .site-header { align-items: flex-start; flex-direction: column; gap: 16px; padding-block: 18px; }
  .site-header nav a { font-size: 14px; padding: 7px 12px; }
  .title-band { padding-block: 24px; }
  main { padding-block: 24px 32px; }
  .panel { padding: 22px 20px; }
  .actions, .button-group { flex-direction: column; align-items: stretch; }
  .button-text { text-align: left; justify-content: flex-start; }
  .footer-content { flex-direction: column; gap: 16px; }
  .provider-page .detail-row { grid-template-columns: minmax(0, 1fr); gap: 0; }
}
