/* CTS School Office refresh, Step 1 (owner approved 22 Nov 2026).
   Scoped to pages that show the School Office menu (.ctsOfficeNavigation); other workspaces on the shared platform are untouched.
   Larger text, a clearer left menu with icons and groups, bigger buttons, easier-to-read on-screen invoices. */
body:has(.ctsOfficeNavigation) { font-size: 16px; }

/* ---- left menu ---- */
.sidebar:has(.ctsOfficeNavigation) .brandMark strong { font-size: 18px !important; letter-spacing: .01em; }
.sidebar:has(.ctsOfficeNavigation) .brandMark span { font-size: 13px !important; }
.sidebar:has(.ctsOfficeNavigation) .brandMark .brandTagline { font-size: 12.5px !important; line-height: 1.45; }
.ctsOfficeNavigation { display: flex !important; flex-direction: column !important; justify-content: flex-start !important; gap: 4px !important; height: auto !important; padding: 8px 10px !important; }
.ctsOfficeNavigation > p { font-size: 12px !important; letter-spacing: .12em !important; color: #c8a951 !important; margin: 4px 0 10px 12px !important; font-weight: 700 !important; }
.ctsOfficeNavigation .navItem { flex: 0 0 auto !important; min-height: 46px !important; height: auto !important; padding: 10px 14px !important; gap: 14px !important;
  font-size: 15.5px !important; font-weight: 600 !important; line-height: 1.25 !important; color: #e6edf6 !important; border-radius: 9px !important;
  display: flex !important; align-items: center !important; border-left: 0 !important; background: transparent; transition: background .15s ease; }
.ctsOfficeNavigation .navItem:hover { background: rgba(255,255,255,.08) !important; color: #fff !important; }
.ctsOfficeNavigation .navItem.active { background: #123a63 !important; color: #fff !important; box-shadow: inset 4px 0 0 #c8a951 !important; }
.ctsOfficeNavigation .navItem:focus-visible { outline: 3px solid #c8a951 !important; outline-offset: 2px !important; }
/* group gaps: Daily work | Courses | Money & messages | Tools */
.ctsOfficeNavigation .navItem:nth-of-type(4),
.ctsOfficeNavigation .navItem:nth-of-type(6),
.ctsOfficeNavigation .navItem:nth-of-type(8) { margin-top: 14px !important; position: relative; }
.ctsOfficeNavigation .navItem:nth-of-type(4)::after,
.ctsOfficeNavigation .navItem:nth-of-type(6)::after,
.ctsOfficeNavigation .navItem:nth-of-type(8)::after { content: ""; position: absolute; left: 14px; right: 14px; top: -8px; border-top: 1px solid rgba(255,255,255,.12); }
/* icons replace the short codes (APP, STU, ...) */
.ctsOfficeNavigation .navItem > span:first-child { font-size: 0 !important; width: 21px !important; height: 21px !important; min-width: 21px !important; flex: none !important;
  background: currentColor !important; color: inherit; border: 0 !important; padding: 0 !important; border-radius: 0 !important;
  -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; opacity: .95; }
.ctsOfficeNavigation .navItem:nth-of-type(1) { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M3 11l9-7 9 7v9a1 1 0 0 1-1 1h-5v-6h-6v6H4a1 1 0 0 1-1-1z'/%3E%3C/svg%3E"); }
.ctsOfficeNavigation .navItem:nth-of-type(2) { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Crect x='4' y='3' width='16' height='18' rx='2'/%3E%3Cpath d='M8 8h8M8 12h8M8 16h5'/%3E%3C/svg%3E"); }
.ctsOfficeNavigation .navItem:nth-of-type(3) { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='9' cy='8' r='3.5'/%3E%3Cpath d='M2.5 20c.8-4 12.2-4 13 0M16 4.5a3.5 3.5 0 0 1 0 7M18 14c2 .6 3.3 2.6 3.5 6'/%3E%3C/svg%3E"); }
.ctsOfficeNavigation .navItem:nth-of-type(4) { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M2 8l10-4 10 4-10 4z'/%3E%3Cpath d='M6 10v5c3.5 3 8.5 3 12 0v-5M22 8v6'/%3E%3C/svg%3E"); }
.ctsOfficeNavigation .navItem:nth-of-type(5) { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4M8 14h3M8 17h6'/%3E%3C/svg%3E"); }
.ctsOfficeNavigation .navItem:nth-of-type(6) { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M4 5h16v11H9l-5 4z'/%3E%3C/svg%3E"); }
.ctsOfficeNavigation .navItem:nth-of-type(7) { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Crect x='2.5' y='5' width='19' height='14' rx='2'/%3E%3Cpath d='M2.5 10h19M6.5 15h4'/%3E%3C/svg%3E"); }
.ctsOfficeNavigation .navItem:nth-of-type(8) { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M4 20V10M10 20V4M16 20v-7M22 20H2'/%3E%3C/svg%3E"); }
.ctsOfficeNavigation .navItem:nth-of-type(9) { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Crect x='3' y='4' width='18' height='12' rx='2'/%3E%3Cpath d='M8 20h8M12 16v4'/%3E%3C/svg%3E"); }
.ctsOfficeNavigation .navItem:nth-of-type(10) { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M12 2v3M12 19v3M4.2 4.2l2.1 2.1M17.7 17.7l2.1 2.1M2 12h3M19 12h3M4.2 19.8l2.1-2.1M17.7 6.3l2.1-2.1'/%3E%3C/svg%3E"); }

/* ---- main area: readable text and real buttons ---- */
main[class*="workspace-cts"] { font-size: 16px; }
main[class*="workspace-cts"] button { font-size: 15px !important; min-height: 42px; padding-inline: 16px; border-radius: 9px !important; font-weight: 600 !important; line-height: 1.2 !important; }
main[class*="workspace-cts"] button:focus-visible { outline: 3px solid #c8a951 !important; outline-offset: 2px; }
main[class*="workspace-cts"] select,
main[class*="workspace-cts"] input:not([type="checkbox"]):not([type="radio"]),
main[class*="workspace-cts"] textarea { font-size: 15.5px !important; min-height: 42px; border-radius: 8px !important; }
main[class*="workspace-cts"] p,
main[class*="workspace-cts"] li,
main[class*="workspace-cts"] td,
main[class*="workspace-cts"] th,
main[class*="workspace-cts"] label { font-size: max(15px, 1em); line-height: 1.55; }
main[class*="workspace-cts"] th { font-weight: 700; letter-spacing: .02em; }
main[class*="workspace-cts"] h3 { font-size: max(19px, 1.18em); }

/* Step 2 (owner, 22 Nov 2026): white on navy in the header; flat navy metric tiles with a gold top line. */
.signedInIdentity, .signedInIdentity *, .signedInIndicator, .signedInIndicator * { color:#ffffff !important; }
.ctsOperationsMetrics button { background:#0b2a5b !important; background-image:none !important; color:#ffffff !important; box-shadow:none !important; border:1px solid #0b2a5b !important; border-top:4px solid #d4a017 !important; border-radius:10px !important; text-align:left !important; }
.ctsOperationsMetrics button * { color:#ffffff !important; text-shadow:none !important; }
.ctsOperationsMetrics button:hover { background:#123d7a !important; }
.ctsOperationsMetrics button span:last-child { font-size:15px !important; font-weight:600 !important; letter-spacing:0 !important; }
