/* CAL IT Group client portal: the brand basics the portal styles rely on (from the website's site.css). */
:root {
  --navy: #0B2340; --navy-line: #1C3A5E; --blue: #1B75BB; --cyan: #00ADEE; --sky: #7DD2F6;
  --gold: #B7791F; --gold-light: #F6C35B;
  --on-dark: #FFFFFF; --on-dark-muted: #B9CBE0;
  --display: "Archivo", "Segoe UI", system-ui, sans-serif;
  --sans: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  --mono: "IBM Plex Mono", Consolas, ui-monospace, monospace;
  --wrap: 1240px;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: var(--sans); font-size: 16px; line-height: 1.5; background: #F3F6FA; color: #0E1E30; -webkit-font-smoothing: antialiased; }
[data-theme="dark"] body { background: #0D1724; color: #E8EEF5; }
a { color: var(--blue); }
[data-theme="dark"] a { color: var(--sky); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 10px; border: 1px solid #C9D5E2; background: #fff; color: #0E1E30; font: 600 15px/1 var(--sans); cursor: pointer; text-decoration: none; }
.btn--primary { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }
[data-theme="dark"] .btn:not(.btn--primary) { background: #14212F; border-color: #263A50; color: #E8EEF5; }
.eyebrow { font: 600 12px/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin: 0 0 10px; }
.eyebrow--light { color: var(--sky); }
.h-hero { font: 700 clamp(34px, 5vw, 56px)/1.05 var(--display); margin: 0 0 16px; letter-spacing: -.01em; }
.h-md { font: 700 24px/1.2 var(--display); margin: 0 0 8px; }
.lede { font-size: 19px; line-height: 1.55; margin: 0; }

/* Top bar on every page */
.pb-top { background: var(--navy); color: var(--on-dark); }
.pb-top__in { max-width: var(--wrap); margin: 0 auto; padding: 12px 20px; display: flex; align-items: center; gap: 14px; }
.pb-logo { font: 800 18px/1 var(--display); letter-spacing: .02em; color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; }
.pb-logo span { color: var(--sky); font-weight: 600; font-family: var(--sans); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.pb-grow { flex: 1 1 auto; }
.pb-theme { background: transparent; border: 1px solid rgba(255,255,255,.3); color: #fff; border-radius: 8px; min-height: 36px; padding: 0 12px; font: 500 13px var(--sans); cursor: pointer; }
.pb-foot { max-width: var(--wrap); margin: 40px auto 24px; padding: 0 20px; font-size: 13px; color: #5B6B7D; }
[data-theme="dark"] .pb-foot { color: #9FB4CB; }

/* Sign-in page extras */
.pt-signin__email { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 48px; border-radius: 10px; border: 1px solid #C9D5E2; background: #fff; color: #0E1E30; font: 600 15px var(--sans); text-decoration: none; margin-top: 10px; }
[data-theme="dark"] .pt-signin__email { background: #14212F; border-color: #263A50; color: #E8EEF5; }
/* A sign-in that isn't set up is hidden; [hidden] must win over these buttons' display: flex. */
.pt-ms[hidden], .pt-signin__email[hidden], .pt-signin__demo[hidden] { display: none !important; }

/* "View as" bar for CAL IT staff */
.pt-viewas { background: #FFF4E5; color: #6B3E00; border-bottom: 1px solid #F3D19C; }
.pt-viewas__in { max-width: var(--wrap); margin: 0 auto; padding: 8px 20px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 14px; }
.pt-viewas select { min-height: 36px; border-radius: 8px; border: 1px solid #E2B66F; padding: 0 8px; font: inherit; max-width: 100%; }
.pt-viewas button { min-height: 36px; }
[data-theme="dark"] .pt-viewas { background: #3A2A10; color: #FBE2B5; border-color: #6B4B16; }
[data-theme="dark"] .pt-viewas select { background: #14212F; color: #E8EEF5; border-color: #6B4B16; }

/* Request forms */
.pt-req { display: grid; gap: 14px; max-width: 720px; }
.pt-req label.pt-field { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 14px; }
.pt-req .pt-help { font-weight: 400; font-size: 13px; color: var(--pt-muted, #5B6B7D); }
.pt-req input[type=text], .pt-req input[type=email], .pt-req input[type=tel], .pt-req input[type=number], .pt-req input[type=date], .pt-req input[type=datetime-local], .pt-req input[type=time], .pt-req select, .pt-req textarea { font: 400 15px var(--sans); min-height: 44px; padding: 8px 12px; border-radius: 10px; border: 1px solid var(--pt-line, #D5DEE8); background: var(--pt-card, #fff); color: var(--pt-ink, #0E1E30); }
.pt-req textarea { min-height: 96px; resize: vertical; }
.pt-req .pt-checks { display: flex; flex-wrap: wrap; gap: 8px 18px; font-weight: 400; }
.pt-req .pt-checks label { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; }
.pt-req .pt-req__name { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pt-req__kinds { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-bottom: 18px; }
.pt-req__kind { text-align: left; padding: 16px; border-radius: 12px; border: 1px solid var(--pt-line, #D5DEE8); background: var(--pt-card, #fff); color: var(--pt-ink, #0E1E30); font: inherit; cursor: pointer; display: flex; flex-direction: column; gap: 4px; }
.pt-req__kind strong { font: 700 17px var(--display); }
.pt-req__kind--on { border-color: var(--blue); box-shadow: 0 0 0 2px var(--blue) inset; }
.pt-req__req { color: #B42318; }
@media (max-width: 600px) { .pt-req .pt-req__name { grid-template-columns: 1fr; } }

/* Admin page */
.adm { max-width: 960px; margin: 24px auto; padding: 0 20px; display: grid; gap: 16px; }
.adm-card { background: #fff; border: 1px solid #D5DEE8; border-radius: 14px; padding: 18px 20px; }
[data-theme="dark"] .adm-card { background: #14212F; border-color: #263A50; }
.adm-card h2 { font: 700 18px var(--display); margin: 0 0 10px; }
.adm dl { display: grid; grid-template-columns: 180px 1fr; gap: 6px 14px; margin: 0; }
.adm dt { color: #5B6B7D; } [data-theme="dark"] .adm dt { color: #9FB4CB; }
.adm dd { margin: 0; }
.adm .ok { color: #157F3B; } .adm .bad { color: #B42318; }
[data-theme="dark"] .adm .ok { color: #7FE0A3; } [data-theme="dark"] .adm .bad { color: #FFA19A; }
.adm table { width: 100%; border-collapse: collapse; font-size: 14px; }
.adm th, .adm td { text-align: left; padding: 6px 8px; border-bottom: 1px solid #E3E9F0; }
[data-theme="dark"] .adm th, [data-theme="dark"] .adm td { border-color: #263A50; }
.adm-scroll { overflow-x: auto; }
@media (max-width: 600px) { .adm dl { grid-template-columns: 1fr; } }

.pt-req__set { border: 0; padding: 0; margin: 0; min-width: 0; }
.pt-req__set legend { font-weight: 600; font-size: 14px; margin-bottom: 6px; padding: 0; }
.pt-req .pt-checks input[type=checkbox] { width: 18px; height: 18px; min-height: 0; margin: 0; flex: none; }
.pt-req .pt-req__name input { width: 100%; }

/* Second sign-in step (passkey) */
.pt-mfa { justify-content: center; }
.pt-mfa .pt-signin__panel { flex: 1 1 100%; }
.pt-mfa .pt-signin__card .eyebrow { margin: 0; }
.pt-mfa__who { font-size: 14px; color: var(--pt-muted); overflow-wrap: anywhere; }
.pt-mfa form { margin: 0; }
.pt-mfa form .btn { width: 100%; }
.pt-mfa [data-mfa-go] { width: 100%; }
.pt-mfa label.pt-field { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 14px; margin-top: 10px; }
.pt-mfa input[type=text] { font: 400 15px var(--sans); min-height: 44px; padding: 8px 12px; border-radius: 10px; border: 1px solid var(--pt-line); background: var(--pt-card); color: var(--pt-ink); }
.pt-signin__card h1 { color: var(--pt-ink); margin: 0; }
@media (max-width: 480px) { .pb-logo span { display: none; } .pb-theme { white-space: nowrap; } }

/* ---- CAL IT Bridge brand ---- */
.br-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; flex: none; }
.br-logo img { width: 34px; height: 34px; display: block; }
.br-logo img.br-logo__img { width: auto; height: 30px; }
.br-logo__img + .br-logo__txt { border-left: 1px solid rgba(255, 255, 255, .25); padding-left: 10px; }
.br-logo__txt { font: 800 19px/1 var(--display); letter-spacing: .01em; color: #fff; white-space: nowrap; }
.br-logo__txt span { color: var(--cyan); }
.br-logo:hover .br-logo__txt span { color: var(--sky); }
.br-tag { font: 600 12px var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--gold-light); border: 1px solid rgba(246, 195, 91, .45); border-radius: 6px; padding: 3px 8px; }
.pb-top { border-bottom: 2px solid var(--cyan); }
.pt-eyebrow { font: 600 12px/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--pt-bluet, var(--blue)); margin: 0 0 6px; }

/* Sign-in: a compass rose behind the welcome, a swell along the bottom. */
.pt-signin { position: relative; }
.pt-signin__pitch { position: relative; overflow: hidden; isolation: isolate; }
.pt-signin__pitch::before { content: ""; position: absolute; z-index: -1; right: -140px; bottom: -150px; width: 560px; height: 560px; background: url(/img/compass.svg?v=20261110) center / contain no-repeat; opacity: .14; pointer-events: none; }
.pt-signin__pitch::after { content: ""; position: absolute; z-index: -1; left: 0; right: 0; bottom: 0; height: 36px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 36' preserveAspectRatio='none'%3E%3Cpath d='M0 18c15-10 30-10 45 0s30 10 45 0 30-10 30-10v28H0z' fill='%231B75BB' opacity='.18'/%3E%3C/svg%3E") repeat-x left bottom / 240px 36px; pointer-events: none; }
@media (max-width: 480px) { .br-logo__txt { font-size: 17px; } .br-logo img { width: 30px; height: 30px; } .br-logo img.br-logo__img { width: auto; height: 24px; } }
/* CAL IT Group's own logo (made for dark backgrounds), at the top of the navy welcome panel */
.pt-signin__pitch .br-calit-logo { display: block; width: 200px; height: auto; margin: 0 0 12px; }
/* Microsoft's sign-in button, dark version (Microsoft's own dark colors) */
[data-theme="dark"] .pt-ms { background: #2F2F2F; border-color: #2F2F2F; color: #FFFFFF; }
[data-theme="dark"] .pt-ms:hover { background: #3B3B3B; border-color: #3B3B3B; }
.adm td form { margin: 0; }
.adm td .btn { min-height: 34px; padding: 0 12px; font-size: 13px; }
.adm-row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px; margin: 8px 0 0; }
.adm-row label { display: flex; flex-direction: column; gap: 4px; font-size: 14px; font-weight: 600; flex: 1 1 240px; }
.adm-row input[type=password] { min-height: 40px; padding: 6px 10px; border-radius: 8px; border: 1px solid #C9D5E2; font: inherit; }
[data-theme="dark"] .adm-row input[type=password] { background: #0D1724; color: #E8EEF5; border-color: #263A50; }

/* Sign-in: what each part of the bridge is */
.br-tiles { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(176px, 1fr)); gap: 10px; max-width: 640px; }
.br-tiles li { background: rgba(255, 255, 255, .05); border: 1px solid rgba(125, 210, 246, .22); border-top: 2px solid var(--cyan); border-radius: 10px; padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; }
.br-tiles strong { color: #fff; font: 700 16px/1.2 var(--display); }
.br-tiles span { color: var(--on-dark-muted); font-size: 13px; line-height: 1.35; }
@media (max-width: 480px) { .br-tiles { grid-template-columns: 1fr 1fr; } .br-tiles li { padding: 9px 10px; } }
.br-old { border-top: 1px solid var(--pt-line); padding-top: 12px; }
/* admin: crew profiles */
.adm-crew { display: flex; flex-direction: column; gap: 10px; }
.adm-crew__row { display: grid; grid-template-columns: 56px minmax(140px, 1fr) minmax(200px, 2fr) minmax(200px, 1.6fr) auto auto; gap: 12px; align-items: center; border-top: 1px solid #D5DEE8; padding-top: 10px; margin: 0; }
[data-theme="dark"] .adm-crew__row { border-color: #263A50; }
.adm-crew__row.is-hidden { opacity: .6; }
.adm-crew__row img, .adm-ini { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; background: #EAF3FB; display: inline-flex; align-items: center; justify-content: center; font-weight: 600; color: #1B5E96; }
.adm-crew__who { display: flex; flex-direction: column; font-size: 14px; }
.adm-crew__who span { color: #556578; font-size: 13px; }
.adm-crew__row label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 600; }
.adm-crew__row textarea, .adm-crew__row input[type=url] { padding: 6px 10px; border-radius: 8px; border: 1px solid #C9D5E2; font: 14px var(--sans); }
[data-theme="dark"] .adm-crew__row textarea, [data-theme="dark"] .adm-crew__row input[type=url] { background: #0D1724; color: #E8EEF5; border-color: #263A50; }
.adm-crew__row .adm-check { flex-direction: row; align-items: center; gap: 6px; }
@media (max-width: 900px) { .adm-crew__row { grid-template-columns: 56px 1fr; } .adm-crew__row label, .adm-crew__row .btn { grid-column: 1 / -1; } }
.pb-foot a { white-space: nowrap; }
/* Orders: a computer from CAL IT Group's list, with its picture, the company's price and availability. */
.pt-dev__list { display: grid; gap: 8px; margin-top: 8px; }
.pt-dev__opt { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border: 1px solid var(--pt-line, #D5DEE8); border-radius: 12px; background: var(--pt-card, #fff); cursor: pointer; font-weight: 400; min-width: 0; }
.pt-dev__opt:has(input:checked) { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue) inset; }
.pt-dev__opt input[type=radio] { width: 18px; height: 18px; min-height: 0; margin: 0; flex: none; }
.pt-dev__img { flex: none; width: 104px; height: 78px; border-radius: 10px; background: #F3F6F9; border: 1px solid var(--pt-line, #D5DEE8); object-fit: contain; padding: 6px; box-sizing: border-box; }
.pt-dev__img--none { display: grid; place-items: center; color: var(--pt-muted, #556578); }
.pt-dev__img--none .pt-i { width: 32px; height: 32px; }
[data-theme="dark"] .pt-dev__img { background: #E9EEF4; }
[data-theme="dark"] .pt-dev__img--none { background: var(--pt-soft, #18324D); }
.pt-dev__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1; }
.pt-dev__body strong { font-weight: 600; font-size: 15px; }
.pt-dev__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.pt-dev__price { font-weight: 700; font-variant-numeric: tabular-nums; }
.pt-dev__total { margin: 0; padding: 12px 14px; border-radius: 10px; background: var(--pt-soft, #F2F6FA); color: var(--pt-ink, #0E1E30); font-size: 14px; }
@media (max-width: 600px) { .pt-dev__opt { flex-wrap: wrap; } .pt-dev__img { width: 88px; height: 66px; } .pt-dev__opt .pt-dev__img + .pt-dev__body { flex-basis: 100%; } }
