/* Go Small's ID — the little that Bootstrap does not already do.
   Kept short on purpose: a sign-in page is not the place for a design system. */

:root {
  --gs-ink:   #1d2430;
  --gs-muted: #6b7686;
  --gs-line:  #e3e7ec;
}

body { background: #f7f8fa; }

.gs-nav { background: #fff; border-bottom: 1px solid var(--gs-line); }

/* The lockup: the suite in grey, the app in ink. Same shape as PayPoint's, so
   the five apps read as one family rather than five separate things. */
.gs-lockup { font-weight: 600; letter-spacing: -0.01em; line-height: 1; display: inline-flex; align-items: center; gap: .4em; }
.gs-mark { flex: none; border-radius: 22%; display: block; }
.gs-lockup .gs-suite { color: var(--gs-muted); font-weight: 500; }
.gs-lockup .gs-app   { color: var(--gs-ink); }

.gs-pin-badge {
  font-size: .75rem; color: #8a6d1f; background: #fff8e1;
  border: 1px solid #f0e2b0; border-radius: 999px; padding: .1rem .6rem; margin-right: .75rem;
}

/* ---- the PIN pad ------------------------------------------------------
   Sized for a gloved hand on a warehouse touchscreen, not for a mouse. If
   the keys are small, people will use a password on a shared machine, and
   then they will share the password. */

.gs-roster { display: grid; grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr)); gap: .5rem; }
.gs-person { min-height: 3.5rem; font-size: 1.05rem; text-align: left; }

.gs-pin { font-size: 2rem; letter-spacing: .6rem; padding: .6rem; }

.gs-pad { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; max-width: 20rem; }
.gs-key { min-height: 3.75rem; font-size: 1.5rem; border: 1px solid var(--gs-line); }

@media (max-width: 480px) {
  .gs-roster { grid-template-columns: 1fr; }
  .gs-pad { max-width: 100%; }
}

/* ---- the suite's look (Shawn, 2026-09-27: "pretty up the go small's id pages? Let the whole
   suite follow a similar theme for styling"): TaskPoint's colours and type on Bootstrap. The
   ink header, the warm ground, white cards, the sheet-style tables, ink buttons. ------------- */
:root {
  --gs-ink: #1B2430; --gs-ink-2: #26303D; --gs-muted: #5A6472; --gs-text-2: #3E4957;
  --gs-ground: #F4F1EA; --gs-card: #FFFFFF; --gs-line: #E2DDD2; --gs-field: #D6CFC2;
  --gs-accent: #C4570F; --gs-accent-deep: #8A3A07; --gs-blue: #1F5FA8; --gs-blue-deep: #174A83; --gs-blue-pale: #E3EDF8;
  --gs-display: 'Barlow Condensed', 'Arial Narrow', system-ui, sans-serif;
  --gs-body: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --bs-body-font-family: var(--gs-body);
  --bs-body-color: var(--gs-ink);
  --bs-body-bg: var(--gs-ground);
  --bs-border-color: var(--gs-line);
  --bs-link-color: var(--gs-blue-deep); --bs-link-color-rgb: 23, 74, 131;
  --bs-link-hover-color: var(--gs-ink); --bs-link-hover-color-rgb: 27, 36, 48;
  --bs-primary: var(--gs-ink); --bs-primary-rgb: 27, 36, 48;
  --bs-secondary-color: var(--gs-muted);
  --bs-border-radius: .6rem; --bs-border-radius-sm: .5rem; --bs-border-radius-lg: .9rem;
}
body { background: var(--gs-ground); font-family: var(--gs-body); color: var(--gs-ink); }
h1, .h1, h2.h4, h1.h4, .h4, .h3 { font-family: var(--gs-display); font-weight: 700; letter-spacing: .01em; }
h1.h4 { font-size: 1.75rem; }
h2.h6.text-uppercase { font-family: var(--gs-body); letter-spacing: .06em; font-weight: 700; font-size: .75rem; color: var(--gs-muted) !important; }

/* The header: ink, like TaskPoint's. */
.gs-nav { background: var(--gs-ink); border-bottom: 0; }
.gs-nav .navbar-brand, .gs-nav .nav-link, .gs-nav .navbar-text { color: #E9ECF1; }
.gs-nav .nav-link:hover, .gs-nav .nav-link:focus { color: #fff; }
.gs-nav .nav-link.active { color: #fff; box-shadow: inset 0 -3px 0 var(--gs-accent); }
.gs-nav .navbar-toggler { border-color: rgba(255,255,255,.35); }
.gs-nav .navbar-toggler-icon { filter: invert(1); }
.gs-nav .gs-lockup .gs-suite { color: #AEB6C2; }
.gs-nav .gs-lockup .gs-app { color: #fff; }
.gs-nav .form-select { background-color: var(--gs-ink-2); color: #fff; border-color: #3A4656; }
.gs-nav .dropdown-menu { --bs-dropdown-link-active-bg: var(--gs-ink); }

/* Buttons: ink for the main one, outlined for the rest. */
.btn { font-weight: 600; }
.btn-primary { --bs-btn-bg: var(--gs-ink); --bs-btn-border-color: var(--gs-ink); --bs-btn-hover-bg: #000; --bs-btn-hover-border-color: #000;
  --bs-btn-active-bg: #000; --bs-btn-active-border-color: #000; --bs-btn-disabled-bg: #6B7480; --bs-btn-disabled-border-color: #6B7480; }
.btn-outline-primary { --bs-btn-color: var(--gs-ink); --bs-btn-border-color: var(--gs-ink); --bs-btn-hover-bg: var(--gs-ink); --bs-btn-hover-border-color: var(--gs-ink);
  --bs-btn-active-bg: var(--gs-ink); --bs-btn-active-border-color: var(--gs-ink); --bs-btn-bg: #fff; }
.btn-outline-secondary { --bs-btn-color: var(--gs-text-2); --bs-btn-border-color: var(--gs-field); --bs-btn-bg: #fff; --bs-btn-hover-bg: #EFECE5;
  --bs-btn-hover-color: var(--gs-ink); --bs-btn-hover-border-color: #C9C1B0; --bs-btn-active-bg: #E6E1D6; --bs-btn-active-color: var(--gs-ink); }
.btn-outline-danger { --bs-btn-bg: #fff; }
.btn-check:checked + .btn-outline-secondary { background: var(--gs-ink); border-color: var(--gs-ink); color: #fff; }

/* Cards, forms, alerts. */
.card { --bs-card-border-color: var(--gs-line); --bs-card-border-radius: 14px; box-shadow: 0 1px 2px rgba(27,36,48,.04); }
.form-control, .form-select { border-color: var(--gs-field); }
.form-control:focus, .form-select:focus { border-color: var(--gs-blue); box-shadow: 0 0 0 .2rem rgba(31,95,168,.18); }
.form-check-input:checked { background-color: var(--gs-ink); border-color: var(--gs-ink); }
.alert-success { background: #E3F2E8; border-color: #C6E3CF; color: #1E5233; }
.alert-danger { background: #FDE7E2; border-color: #F4C9BE; color: #8A2008; }
.alert-warning { background: #FFF4D6; border-color: #EBD38E; color: #4F3700; }
.alert-info { background: var(--gs-blue-pale); border-color: #C7DAF0; color: var(--gs-blue-deep); }

/* Tabs and pills. */
.nav-tabs { --bs-nav-tabs-border-color: var(--gs-line); --bs-nav-tabs-link-active-bg: #fff; --bs-nav-tabs-link-active-border-color: var(--gs-line) var(--gs-line) #fff; }
.nav-tabs .nav-link { color: var(--gs-text-2); font-weight: 600; }
.nav-tabs .nav-link.active { color: var(--gs-ink); }
.nav-pills { --bs-nav-pills-link-active-bg: var(--gs-ink); }
.nav-pills .nav-link { color: var(--gs-text-2); font-weight: 600; }
.nav-pills .nav-link:not(.active) { background: #fff; border: 1px solid var(--gs-line); }
.nav-underline .nav-link { color: var(--gs-text-2); }
.nav-underline .nav-link.active { color: var(--gs-ink); border-bottom-color: var(--gs-accent); }

/* Tables: the sheets' look. */
.table { --bs-table-bg: #fff; --bs-table-border-color: #E4E0D8; --bs-table-striped-bg: #FAF8F3; --bs-table-hover-bg: #F7F4EE; }
.table > thead > tr > th { background: #EFECE5; color: #4A5260; font-size: .78rem; text-transform: none; font-weight: 700; border-bottom: 1px solid #CFCAC0; }
.table-responsive { background: #fff; border: 1px solid #CFCAC0; border-radius: 8px; }
.table-responsive > .table { margin-bottom: 0; }
.badge.text-bg-primary { background: var(--gs-ink) !important; }

/* The sandbox (2026-09-29): a band on every page, so it's never taken for the live site. */
.gs-sandbox { padding: 5px 16px; background: repeating-linear-gradient(135deg, #5FB3E8 0 14px, #12324A 14px 28px); }
.gs-sandbox span { display: inline-block; padding: 2px 8px; background: #5FB3E8; color: #0B2233; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; border-radius: 4px; }

/* Edge to edge (the TaskPoint app on Android, an iPhone's home-screen app; 2026-10-02: the sign-in page ran up under the status bar):
   the first bar takes the status bar's height on top of its own, and the page ends clear of the phone's own buttons. */
body > .gs-nav:first-child { padding-top: calc(.5rem + env(safe-area-inset-top, 0px)); }
body > .gs-sandbox:first-child { padding-top: max(5px, env(safe-area-inset-top, 0px)); }
body { padding-bottom: env(safe-area-inset-bottom, 0px); }

/* ---- What are you doing today? (Shawn, 2026-10-24): ID's home. The greeting and the day; TaskPoint's question, a big tap each
   (Expediting, Trip, Office), or the day going; then the apps, each with its quick spots. ------------------------------------- */
.today-date { font-family: var(--gs-display); font-size: 1.15rem; font-weight: 600; color: var(--gs-muted); letter-spacing: .01em; }
.today-tp { background: var(--gs-card); border: 1px solid var(--gs-line); border-radius: 18px; padding: 16px; box-shadow: 0 1px 2px rgba(27,36,48,.04); }
.today-app { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gs-accent-deep); }
.today-q { font-family: var(--gs-display); font-weight: 700; font-size: 1.6rem; line-height: 1.1; margin: 2px 0 12px; }
.today-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.today-choices.n3 > .today-choice:last-child { grid-column: 1 / -1; flex-direction: row; justify-content: flex-start; min-height: 64px; text-align: left; gap: 12px; }
.today-choices.n3 > .today-choice:last-child .tc-text { display: flex; flex-direction: column; }
.today-choices.n1 { grid-template-columns: 1fr; }
.today-choice { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 120px; padding: 14px 10px;
  border: 1.5px solid var(--gs-field); border-radius: 16px; background: #fff; color: var(--gs-ink); text-decoration: none; text-align: center;
  transition: border-color .12s, background .12s, transform .12s; }
.today-choice svg { width: 34px; height: 34px; color: var(--gs-accent); flex: none; }
.today-choice:hover { border-color: var(--gs-accent); background: #FDF6F0; color: var(--gs-ink); }
.today-choice:active { transform: scale(.98); }
.today-choice:focus-visible { outline: 3px solid var(--gs-blue); outline-offset: 2px; }
.today-choice .tc-name { font-family: var(--gs-display); font-size: 1.45rem; font-weight: 700; line-height: 1; }
.today-choice .tc-what { font-size: .8rem; color: var(--gs-muted); line-height: 1.3; overflow-wrap: anywhere; }
.today-note { font-size: .82rem; color: var(--gs-muted); margin: 10px 0 0; }
.today-now { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; background: #FBE9DC; border: 1px solid #EFC9AC; }
.today-now .tn-icon { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: #fff; color: var(--gs-accent); font-weight: 700; font-size: 1.2rem; }
.today-now .tn-icon svg { width: 26px; height: 26px; }
.today-now .tn-icon.warn { color: #8A5A00; }
.today-now .tn-icon.done { color: #2F6B4F; }
.today-now .tn-text { display: flex; flex-direction: column; min-width: 0; }
.today-now .tn-text b { font-size: 1.05rem; }
.today-now .tn-text span { font-size: .85rem; color: var(--gs-text-2); }
.today-tp[data-state="stale"] .today-now { background: #FFF4D6; border-color: #EBD38E; }
.today-tp[data-state="in"] .today-now { background: #E3F2E8; border-color: #C6E3CF; }
.today-go { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.today-go .btn { min-height: 44px; display: inline-flex; align-items: center; }
.btn-accent { --bs-btn-bg: var(--gs-accent); --bs-btn-border-color: var(--gs-accent); --bs-btn-color: #fff; --bs-btn-hover-bg: var(--gs-accent-deep);
  --bs-btn-hover-border-color: var(--gs-accent-deep); --bs-btn-hover-color: #fff; --bs-btn-active-bg: var(--gs-accent-deep); --bs-btn-active-color: #fff; }

/* The apps (Shawn, 2026-09-26: a tile each, its logo), each with its quick spots under it (2026-10-24). */
.app-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.app-card { display: flex; flex-direction: column; border: 1px solid var(--bs-border-color); border-radius: 14px; background: var(--bs-body-bg); overflow: hidden; background: #fff; }
.app-tile { display: flex; gap: 12px; align-items: center; padding: 14px; color: inherit; text-decoration: none; transition: background .15s; }
a.app-tile:hover { background: #FAF8F3; color: inherit; }
.app-tile.off { opacity: .75; }
.app-logo { position: relative; flex: none; width: 56px; height: 56px; border-radius: 14px; overflow: hidden; background: hsl(var(--h) 45% 32%); color: #fff; display: grid; place-items: center; }
.app-logo .mono { font-weight: 700; font-size: 26px; }
.app-logo img { position: absolute; inset: 0; width: 100%; height: 100%; }
.app-text { display: flex; flex-direction: column; min-width: 0; }
.app-name { font-weight: 600; font-size: 1.05rem; }
.app-what { font-size: .8rem; color: var(--bs-secondary-color); }
.app-spots { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 14px 12px 82px; margin-top: -4px; }
.app-spot { display: inline-flex; align-items: center; min-height: 32px; padding: 4px 10px; border: 1px solid var(--gs-field); border-radius: 999px; background: #fff;
  font-size: .82rem; font-weight: 600; color: var(--gs-blue-deep); text-decoration: none; }
.app-spot:hover { border-color: var(--gs-blue); background: var(--gs-blue-pale); color: var(--gs-blue-deep); }
@media (max-width: 480px) {
  .today-choice { min-height: 108px; }
  .app-spots { padding-left: 14px; }
}

/* People and access (085, 2026-11-19): one section, its parts as tabs; the Roles page's list, levels and save bar. */
.gs-access-head { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.25rem; margin: -.25rem 0 1rem; padding-bottom: .5rem; border-bottom: 1px solid var(--gs-line); }
.gs-access-title { font-family: var(--gs-display); font-weight: 700; font-size: 1.35rem; letter-spacing: .01em; color: var(--gs-ink); }
.gs-access-tabs { display: flex; flex-wrap: wrap; gap: .25rem; }
.gs-access-tab { padding: .3rem .8rem; border-radius: 999px; color: var(--gs-text-2, #3E4957); text-decoration: none; font-weight: 500; font-size: .92rem; }
.gs-access-tab:hover { background: rgba(27, 36, 48, .06); color: var(--gs-ink); }
.gs-access-tab.active { background: var(--gs-ink); color: #fff; }
.gs-seg { display: inline-flex; border: 1px solid var(--gs-field, #D6CFC2); border-radius: .5rem; overflow: hidden; background: #fff; }
.gs-seg > a, .gs-seg > label { padding: .28rem .75rem; font-size: .85rem; color: var(--gs-text-2, #3E4957); text-decoration: none; border-right: 1px solid var(--gs-line); cursor: pointer; margin: 0; user-select: none; }
.gs-seg > a:last-child, .gs-seg > label:last-of-type { border-right: 0; }
.gs-seg > a.active, .gs-seg > input:checked + label { background: var(--gs-blue-pale, #E3EDF8); color: var(--gs-blue-deep, #174A83); font-weight: 600; }
.gs-seg > input:disabled + label { cursor: default; opacity: .7; }
.gs-seg > input:focus-visible + label { outline: 2px solid var(--gs-blue, #1F5FA8); outline-offset: -2px; }
.gs-seg-sm > label { padding: .2rem .6rem; font-size: .8rem; }
.gs-lv { display: inline-block; margin-top: .2rem; padding: .05rem .5rem; border-radius: 999px; font-size: .7rem; font-weight: 600; background: #EEF1F5; color: #3E4957; }
.gs-lv-full { background: #E3EDF8; color: #174A83; } .gs-lv-standard { background: #E6F3EC; color: #1E5B3A; } .gs-lv-view { background: #F6EEDC; color: #6B4A0E; }
.gs-lv-none { background: transparent; color: #8A94A3; } .gs-lv-custom { background: #F1ECF8; color: #4A3274; }
.ra-list { display: flex; flex-direction: column; gap: 1px; }
.ra-grp { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--gs-muted); margin: .9rem .6rem .25rem; cursor: default; }
.ra-list > .ra-grp:first-child { margin-top: 0; }
.ra-retired > summary { cursor: pointer; list-style: none; } .ra-retired > summary::-webkit-details-marker { display: none; }
.ra-retired > summary::after { content: ' ▸'; } .ra-retired[open] > summary::after { content: ' ▾'; }
.ra-item { display: flex; justify-content: space-between; align-items: center; padding: .42rem .6rem; border-radius: .5rem; color: var(--gs-ink); text-decoration: none; font-size: .93rem; }
.ra-item:hover { background: rgba(27, 36, 48, .05); color: var(--gs-ink); }
.ra-item.active { background: #fff; box-shadow: 0 0 0 1px var(--gs-line); font-weight: 600; }
.ra-n { font-size: .75rem; color: var(--gs-muted); font-weight: 500; }
.ra-name { display: block; width: 100%; font-size: 1.3rem; font-weight: 600; border: 1px solid transparent; border-radius: .4rem; padding: .05rem .35rem; margin-left: -.35rem; background: transparent; color: var(--gs-ink); }
.ra-desc { display: block; width: 100%; font-size: .9rem; color: var(--gs-muted); border: 1px solid transparent; border-radius: .4rem; padding: .05rem .35rem; margin-left: -.35rem; background: transparent; }
input.ra-name:hover, input.ra-desc:hover { border-color: var(--gs-line); }
input.ra-name:focus, input.ra-desc:focus { border-color: var(--gs-blue, #1F5FA8); outline: 0; background: #fff; color: var(--gs-ink); }
.ra-edit-save { margin-top: .4rem; }
.ra-chip { display: inline-block; padding: .12rem .55rem; border-radius: 999px; background: #F2EFE8; border: 1px solid var(--gs-line); color: var(--gs-ink); text-decoration: none; font-size: .8rem; }
.ra-chip:hover { background: #fff; color: var(--gs-ink); } .ra-chip-off { opacity: .5; }
.ra-panel { border: 1px solid var(--gs-line); border-radius: .6rem; padding: .6rem .8rem; background: #FBFAF7; }
.ra-hist li { padding: .15rem 0; border-bottom: 1px dashed var(--gs-line); } .ra-hist li:last-child { border-bottom: 0; }
.ra-apps { background: #fff; border: 1px solid var(--gs-line); border-radius: .75rem; }
.ra-app { padding: .7rem 1rem; border-top: 1px solid var(--gs-line); } .ra-app:first-child { border-top: 0; }
.ra-app-row { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; justify-content: space-between; }
.ra-app-name { display: flex; align-items: baseline; gap: .6rem; }
.ra-ticks { margin-top: .6rem; padding: .5rem; background: #FBFAF7; border-radius: .5rem; }
.acct-savebar { position: fixed; left: 50%; bottom: 1rem; transform: translateX(-50%); z-index: 1050; display: flex; flex-wrap: wrap; align-items: center;
  gap: .5rem .75rem; max-width: calc(100vw - 2rem); padding: .55rem .75rem .55rem 1rem; border-radius: .75rem;
  background: var(--bs-body-bg); border: 1px solid var(--bs-warning-border-subtle); font-size: .875rem; }
.acct-savebar[hidden] { display: none !important; }
.acct-sb-what { min-width: 0; flex: 1 1 14rem; }
body.acct-onebar { padding-bottom: 5rem; }
/* The ticks (2026-11-01): a white box with a clear edge; a ticked one tinted. */
.rg-app .form-check-input, .role-matrix .form-check-input, .lv-app .form-check-input { background-color: #fff; border: 1.5px solid #7A8494; }
.rg-app .form-check-input:checked, .lv-app .form-check-input:checked { background-color: var(--gs-ink); border-color: var(--gs-ink); }
.rg-app .form-check-input:disabled:checked, .lv-app .form-check-input:disabled:checked { background-color: #8A94A3; border-color: #8A94A3; opacity: 1; }
.rg-tick { margin: 0; padding: 8px 10px 8px 2.1rem; border: 1px solid transparent; border-radius: 8px; height: 100%; }
.rg-tick .form-check-input { margin-left: -1.6rem; margin-top: .2rem; width: 1.1rem; height: 1.1rem; }
.rg-tick:hover { background: rgba(255, 255, 255, .7); }
.rg-tick:has(> input:checked) { background: #E8F0FB; border-color: #B9CDEB; }
.rg-tick:has(> input:disabled:checked) { background: #EEF1F5; border-color: #D6DCE4; }
.rg-tick:has(> input:disabled:checked) .form-check-label { opacity: .75; }
.rg-group { border: 1px solid #D6D2C8; border-radius: 10px; background: rgba(255, 255, 255, .45); padding: 4px 6px 8px; }
.rg-fold > summary { margin: 2px 0 0 2.1rem; padding: 2px 0; cursor: pointer; list-style: none; color: var(--gs-ink); }
.rg-fold > summary::-webkit-details-marker { display: none; }
.rg-fold > summary::before { content: '▸'; display: inline-block; width: 1em; color: #7A8494; }
.rg-fold[open] > summary::before { content: '▾'; }
.rg-fold-h { font-weight: 600; text-decoration: underline; text-decoration-color: #B9C1CC; text-underline-offset: 3px; }
.rg-fold.rg-fold-some .rg-fold-sum { color: #1F4E8C !important; font-weight: 600; }
.rg-pieces { margin: 6px 0 0 1.4rem; }
.rg-tick-piece .fw-medium { font-weight: 600; }
.role-matrix .rm-what { min-width: 260px; }
.role-matrix tr.rm-piece .rm-what, .lv-app tr.rm-piece td:first-child { padding-left: 1.6rem; }
.role-matrix .rm-role { min-width: 96px; vertical-align: bottom; }
.role-matrix .rm-team { background: #F1F6FB; }
.role-matrix .rm-team-tag { font-size: .62rem; font-weight: 600; }
.role-matrix tr.rm-diff > td:first-child { box-shadow: inset 3px 0 0 #E0A33A; }
.role-matrix tr.rm-diff > td { background: #FFFBF1; }
.role-matrix.rm-only-diff tr.rm-same { display: none; }
.role-matrix .rm-yes { color: #1E5B3A; font-weight: 700; }
/* Compare written in place (2026-11-20): a box to double-click, one changed and not saved, a part its whole covers, the tab's count. */
.role-matrix td.rm-ed { cursor: pointer; user-select: none; -webkit-user-select: none; touch-action: manipulation; }
.role-matrix tr > td.rm-ed:hover { background: #EEF3FA; }
.role-matrix td.rm-ed:focus-visible { outline: 2px solid var(--gs-ink); outline-offset: -2px; }
.role-matrix tr > td.rm-changed, .role-matrix tr > td.rm-changed:hover { background: #FFE9B0; box-shadow: inset 0 0 0 2px #E0A33A; }
.role-matrix .rm-covered { opacity: .45; }
.role-matrix th.rm-ro { color: var(--bs-secondary-color); }
.role-matrix th.rm-col-changed { box-shadow: inset 0 -3px 0 #E0A33A; }
#roleApps .rm-tab-n { margin-left: .35rem; background: #E0A33A; color: #fff; font-size: .65rem; vertical-align: middle; }
@media print { #cmpSave, #cmpHow { display: none !important; } }
.acct-hero { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; margin-bottom: 1.25rem; }
.acct-hero-av { width: 3rem; height: 3rem; border-radius: 50%; background: var(--gs-ink); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 1.05rem; flex: none; }
.acct-hero-facts { display: flex; flex-wrap: wrap; gap: .35rem; }
.acct-fact { display: inline-block; padding: .1rem .55rem; border-radius: 999px; background: #fff; border: 1px solid var(--gs-line); font-size: .78rem; color: var(--gs-text-2, #3E4957); }
.acct-fact b { color: var(--gs-ink); font-weight: 600; }
.eff-app { display: flex; gap: .75rem; padding: .45rem 0; border-top: 1px solid var(--gs-line); } .eff-app:first-child { border-top: 0; }
.eff-app-name { width: 8rem; flex: none; font-weight: 600; }
.eff-off { color: var(--gs-muted); }
.eff-item { display: inline-block; margin: 0 .3rem .25rem 0; padding: .05rem .5rem; border-radius: .35rem; background: #F2EFE8; font-size: .8rem; }
.eff-item small { color: var(--gs-muted); }
.acct-filters { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; margin-bottom: .6rem; }
.acct-filters .form-select { width: auto; font-size: .8rem; padding-top: .15rem; padding-bottom: .15rem; border-radius: 999px; }
.acct-filters .form-select.on { border-color: var(--gs-blue, #1F5FA8); background-color: var(--gs-blue-pale, #E3EDF8); color: var(--gs-blue-deep, #174A83); font-weight: 600; }
@media print { .gs-nav, .gs-access-head, #roleViews, #cmpPick, #roleApps, .gs-sandbox { display: none !important; } }

/* 088: the header's Admin switch (Admin On / Off for this sign-in), the same look as GoSmallsId::adminSwitch() in the apps. */
.gs-admin-sw { display: inline-flex; align-items: center; gap: .45rem; height: 26px; padding: 0 .55rem 0 .25rem; border-radius: 999px; font: 600 .75rem/1 inherit;
  color: #E9ECF1; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.28); cursor: pointer; white-space: nowrap; }
.gs-admin-sw:hover { background: rgba(255,255,255,.15); }
.gs-admin-knob { position: relative; width: 30px; height: 18px; border-radius: 9px; background: rgba(255,255,255,.25); flex: none; transition: background .15s; }
.gs-admin-knob::after { content: ""; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; transition: left .15s; }
.gs-admin-sw.is-on { background: #B42318; border-color: #B42318; color: #fff; }
.gs-admin-sw.is-on .gs-admin-knob { background: rgba(255,255,255,.35); }
.gs-admin-sw.is-on .gs-admin-knob::after { left: 14px; }
.acct-fact-admin { border-color: #F1B4AE; background: #FEF3F2; }
.acct-fact-admin b { color: #B42318; }

/* 091: Platform On / Off (HMH's platform admins), beside Admin; dark when On. And the View as strip. */
.gs-admin-sw.gs-plat-sw.is-on { background: #1B2430; border-color: #F5B700; color: #F5B700; }
.gs-support-strip { background: #1B2430; color: #F5B700; font-size: 13px; padding: 5px 12px; text-align: center; border-bottom: 2px solid #F5B700; }
.gs-support-strip a { color: #fff; font-weight: 600; }

/* regress1122: with Company (093) and the Platform switch (091) the header ran past the window at every width to 1366 px (every ID
   page scrolled sideways for a platform admin). Below 1600 px the switches show their knob only (the words for screen readers and in
   the tooltip), as TaskPoint's header does since regress1120; below 1200 px the menu folds into the ☰ button (navbar-expand-xl). */
@media (max-width: 1599.98px) {
  .gs-nav .gs-admin-sw { padding: 0 .25rem; gap: 0; }
  .gs-nav .gs-admin-sw .gs-sw-w { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
}
