/* IRIS 5.0 - main look (home, apps, login) */
@font-face { font-family: "Sora"; font-weight: 400; font-display: swap; src: url("fonts/sora-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Sora"; font-weight: 600; font-display: swap; src: url("fonts/sora-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Sora"; font-weight: 700; font-display: swap; src: url("fonts/sora-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Sora"; font-weight: 800; font-display: swap; src: url("fonts/sora-latin-800-normal.woff2") format("woff2"); }
:root {
  --blue: #1572c9;
  --blue-dark: #0d5aa7;
  --navy: #0b3f73;
  --blue-soft: #e8f1fb;
  --maroon: #8b1a1a;
  --ink: #1d2733;
  --muted: #5d6b7a;
  --line: #dbe3ec;
  --bg: #d9e0ea;  /* page background, a little darker so the white cells stand out */
  --card: #ffffff;
  --radius: 12px;
  --sky: #5ab0f0;
  --mist: #eef4fb;
  --amber: #f2a93b;
  --display: "Sora", "Segoe UI", sans-serif;
  --shadow: 0 1px 2px rgba(16, 42, 75, .06), 0 4px 14px rgba(16, 42, 75, .07);
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif; color: var(--ink); background: var(--bg);
  min-height: 100vh; display: flex; flex-direction: column; font-size: 15px; }
a { color: var(--blue-dark); }

/* ---- top bar --------------------------------------------------------- */
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 10px 24px;
  background: linear-gradient(90deg, var(--blue) 0%, var(--blue-dark) 100%); color: #fff; }
.brand { display: flex; align-items: baseline; gap: 10px; color: #fff; text-decoration: none; }
.brand-mark { font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: 3px; }
.brand-sub { font-size: 12px; opacity: .85; letter-spacing: .5px; }

.user-btn { display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.35); color: #fff; border-radius: 20px; padding: 6px 12px;
  cursor: pointer; font-size: 14px; }
.user-btn .iris-icon { width: 18px; height: 18px; }

/* ---- menu bar -------------------------------------------------------- */
.menubar { display: flex; align-items: center; gap: 2px; padding: 0 16px; background: var(--navy); }
.menu-item, .menu-item > button { color: #e6f0fb; text-decoration: none; font-size: 15px;
  background: none; border: 0; padding: 12px 16px; cursor: pointer; font-family: inherit;
  display: flex; align-items: center; gap: 6px; }
.menu-item.dropdown { padding: 0; }
.menu-item:hover, .menu-item > button:hover, .menu-item.open > button, .menu-item.active {
  background: rgba(255,255,255,.1); color: #fff; }
.menu-item.active { box-shadow: inset 0 -3px 0 #7cc0ff; }
/* Control Center: radar button at the end of the menu bar (new tab) */
.menu-item.cc-launch { position: relative; padding: 8px 12px; }
.menu-item.cc-launch svg { width: 22px; height: 22px; }
.cc-badge { position: absolute; top: 2px; right: 0; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px;
  border: 2px solid var(--navy); color: #fff; font-size: 11px; font-weight: 700; line-height: 15px; text-align: center; }
.cc-badge.crit { background: #c92a2a; animation: cc-ring 1.4s ease-out infinite; }
.cc-badge.warn { background: #d98200; }
@keyframes cc-ring { 0% { box-shadow: 0 0 0 0 rgba(201,42,42,.6); } 100% { box-shadow: 0 0 0 8px rgba(201,42,42,0); } }
@media (prefers-reduced-motion: reduce) { .cc-badge.crit { animation: none; } }
.caret { display: inline-block; width: 7px; height: 7px; border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); margin-left: 4px; opacity: .8; }

/* ---- dropdowns ------------------------------------------------------- */
.dropdown { position: relative; }
.dropdown-panel { display: none; position: absolute; top: 100%; left: 0; z-index: 20; min-width: 220px;
  background: #fff; border-radius: 10px; box-shadow: 0 10px 30px rgba(11,63,115,.2); padding: 6px; margin-top: 4px; }
.dropdown-panel.right { left: auto; right: 0; }
.dropdown.open .dropdown-panel { display: block; }
.dropdown-item { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 12px; border-radius: 7px;
  color: var(--ink); text-decoration: none; font-size: 14px; background: none; border: 0; text-align: left;
  cursor: pointer; font-family: inherit; }
.dropdown-item:hover { background: var(--blue-soft); color: var(--blue-dark); }
.dropdown-item.disabled { color: var(--muted); font-style: italic; cursor: default; background: none; }
.dropdown-item .iris-icon { width: 18px; height: 18px; color: var(--blue); }
.dropdown-info { padding: 10px 12px; border-bottom: 1px solid var(--line); margin-bottom: 4px;
  display: flex; flex-direction: column; gap: 2px; font-size: 13px; }
.dropdown-info span { color: var(--muted); }

/* ---- user card (top right) ---------------------------------------- */
.user-card { min-width: 300px; padding: 0; overflow: hidden; }
.user-card-head { display: flex; gap: 12px; align-items: center; padding: 14px 16px;
  background: var(--blue-soft); }
.user-card-head strong { display: block; color: var(--navy); }
.user-card-head .muted { display: block; font-size: 12.5px; color: var(--muted); }
.user-avatar { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--blue); color: #fff; font-weight: 700; font-size: 15px; }
.user-card-info { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 0; padding: 12px 16px;
  font-size: 13.5px; border-bottom: 1px solid var(--line); }
.user-card-info dt { color: var(--muted); }
.user-card-info dd { margin: 0; color: var(--ink); font-weight: 600; }
.user-card-info .warn { color: #b45309; }
.role-chip { display: inline-block; padding: 1px 8px; border-radius: 10px; background: var(--navy); color: #fff;
  font-size: 12px; font-weight: 600; }
.user-card form { padding: 6px; }
.dropdown-item.logout { color: #9b1c1c; }

/* ---- page ------------------------------------------------------------ */
.page { flex: 1; width: 100%; max-width: 1180px; margin: 0 auto; padding: 28px 24px 40px; }
.section-title { font-size: 13px; text-transform: uppercase; letter-spacing: .8px; color: var(--muted);
  margin: 0 0 12px; font-weight: 600; }
section + section { margin-top: 30px; }

/* ---- home: hero with the iris -------------------------------------- */
main.home { flex: 1; width: 100%; }
.hero { position: relative; overflow: hidden; color: #fff; padding: 56px 0 112px;
  background:
    radial-gradient(ellipse 60% 120% at 85% 40%, rgba(90,176,240,.35) 0%, rgba(90,176,240,0) 60%),
    linear-gradient(115deg, var(--navy) 0%, #0e4f8f 45%, var(--blue) 100%); }
/* the home page uses the whole width of the window, with side margins that follow its size */
:root { --home-gutter: clamp(14px, 3vw, 48px); }
.hero-inner { position: relative; margin: 0; padding: 0 var(--home-gutter); }
.hero-date { margin: 0 0 10px; font-size: 15px; color: #bcd6f1; }
.hero-title { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(30px, 4.4vw, 52px);
  line-height: 1.08; letter-spacing: -.5px; max-width: 16ch; }
.hero-where { margin: 14px 0 0; font-size: 17px; color: #dcebfa; }

.hero-iris { position: absolute; right: clamp(-60px, 4vw - 60px, 80px); top: 50%; width: 460px; height: 460px;
  transform: translateY(-50%); opacity: .95; pointer-events: none; }
.hero-iris .ring { fill: none; stroke: rgba(255,255,255,.18); stroke-width: 1.2; }
.hero-iris .r2 { stroke: rgba(255,255,255,.28); stroke-width: 2; }
.hero-iris .r3 { stroke: var(--sky); stroke-width: 3; }
.hero-iris .iris-fibres line { stroke: rgba(173,214,248,.32); stroke-width: 1.4; stroke-linecap: round; }
.hero-iris .iris-fibres line:nth-child(3n) { stroke: rgba(242,169,59,.45); }
.hero-iris .pupil { stroke: rgba(255,255,255,.25); stroke-width: 1; }
.hero-iris .glint { fill: rgba(255,255,255,.7); }

/* one load moment: the iris opens */
@media (prefers-reduced-motion: no-preference) {
  .hero-iris .iris-fibres { transform-origin: 200px 200px; animation: iris-open 1.4s cubic-bezier(.2,.7,.2,1) both; }
  .hero-iris .pupil { transform-origin: 200px 200px; animation: pupil 1.4s cubic-bezier(.2,.7,.2,1) both; }
}
@keyframes iris-open { from { transform: rotate(-40deg) scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes pupil { from { transform: scale(1.7); } to { transform: none; } }

/* ---- home: applications ---------------------------------------------- */
.home-body { margin: -76px 0 0; padding: 0 var(--home-gutter) 48px; position: relative; }
.block-title { font-family: var(--display); font-weight: 600; font-size: 19px; color: var(--navy); margin: 0 0 14px; }
.apps .block-title { color: #fff; }
.app-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 18px; }
.app { position: relative; display: flex; flex-direction: column; gap: 8px; min-height: 210px; padding: 24px 22px 20px;
  background: #fff; border-radius: 18px; text-decoration: none; color: var(--ink);
  box-shadow: 0 12px 32px rgba(11,63,115,.16); border-top: 5px solid var(--tone, var(--blue));
  transition: transform .18s ease, box-shadow .18s ease; }
.app:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(11,63,115,.24); }
.app:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; }
.app-icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%;
  background: var(--tone, var(--blue)); color: #fff; margin-bottom: 6px; }
.app-icon .iris-icon { width: 28px; height: 28px; }
.app-name { font-family: var(--display); font-weight: 700; font-size: 20px; color: var(--navy); }
.app-desc { font-size: 14px; line-height: 1.5; color: var(--muted); }
.app-status { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; color: #8a5a00; }
.app-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); }

/* ---- home: administration (quiet list) -------------------------------- */
.admin { margin-top: 40px; }
.admin-list { list-style: none; margin: 0; padding: 0; display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 0 28px; border-top: 1px solid var(--line); }
.admin-list a { display: flex; gap: 14px; align-items: center; padding: 14px 4px; text-decoration: none;
  color: var(--ink); border-bottom: 1px solid var(--line); }
.admin-list a:hover b { color: var(--blue); }
.admin-list a:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }
.admin-list .iris-icon { width: 22px; height: 22px; color: var(--blue); flex: none; }
.admin-list b { display: block; font-weight: 600; color: var(--navy); }
.admin-list b + span { display: block; font-size: 13px; color: var(--muted); }
.admin-groups { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 28px 32px;
  align-items: start; }
.admin-group h3 { margin: 0 0 6px; font-size: 12px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--blue); }
.admin-group .admin-list { grid-template-columns: 1fr; border-top: 2px solid var(--blue-soft); }
.dropdown-sep { border: 0; border-top: 1px solid var(--line); margin: 5px 6px; }

main.home .empty { box-shadow: 0 12px 32px rgba(11,63,115,.16); }

/* ---- tiles (other pages) ----------------------------------------------------------- */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.tile { display: flex; align-items: flex-start; gap: 14px; padding: 18px; background: var(--card);
  border-radius: var(--radius); box-shadow: var(--shadow); text-decoration: none; color: var(--ink);
  border: 1px solid transparent; transition: transform .12s, border-color .12s, box-shadow .12s; }
.tile:hover { transform: translateY(-2px); border-color: #9cc6ef; box-shadow: 0 8px 22px rgba(16,42,75,.12); }
.tile-icon { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px;
  background: var(--blue-soft); color: var(--blue); }
.tile-icon .iris-icon { width: 26px; height: 26px; }
.tile-icon.alt { background: #eef1f5; color: var(--navy); }
.tile-icon.big { width: 76px; height: 76px; border-radius: 18px; margin: 0 auto 10px; }
.tile-icon.big .iris-icon { width: 40px; height: 40px; }
.tile-body { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.tile-name { font-weight: 700; font-size: 16px; color: var(--navy); }
.tile-desc { font-size: 13.5px; color: var(--muted); line-height: 1.4; }
.tile-go { color: var(--blue); font-size: 18px; align-self: center; opacity: .5; transition: opacity .12s; }
.tile:hover .tile-go { opacity: 1; }
.tiles-small .tile { padding: 14px; }
.soon { display: inline-block; font-size: 10.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .4px;
  padding: 2px 7px; border-radius: 8px; background: #fff4d6; color: #8a6100; vertical-align: middle; }
.soon.big { font-size: 12px; padding: 5px 12px; }

.empty { display: flex; gap: 16px; align-items: center; padding: 22px; background: var(--card);
  border-radius: var(--radius); box-shadow: var(--shadow); color: var(--muted); }
.empty .iris-icon { width: 34px; height: 34px; color: var(--blue); flex: none; }
.empty p { margin: 0; }

.placeholder { text-align: center; max-width: 560px; margin: 30px auto; background: var(--card);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 34px; }
.placeholder h1 { font-family: var(--display); color: var(--navy); margin: 6px 0; }
.placeholder p { color: var(--muted); }

.btn { display: inline-block; background: var(--blue); color: #fff; border: 0; border-radius: 8px;
  padding: 10px 18px; font-size: 15px; text-decoration: none; cursor: pointer; font-family: inherit; }
.btn:hover { background: var(--blue-dark); }
.btn-full { width: 100%; margin-top: 18px; }

/* ---- login ----------------------------------------------------------- */
.login-page { flex: 1; display: grid; place-items: center; padding: 30px 16px;
  background: linear-gradient(160deg, var(--blue) 0%, var(--navy) 100%); }
.login-card { width: 100%; max-width: 380px; background: #fff; border-radius: 16px; overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,.25); }
.login-head { background: linear-gradient(90deg, var(--blue), var(--blue-dark)); color: #fff; padding: 22px 26px;
  display: flex; align-items: baseline; gap: 10px; }
.login-form { padding: 22px 26px 6px; display: flex; flex-direction: column; }
.login-form label { font-size: 13px; color: var(--muted); margin: 12px 0 5px; }
.login-form input[type=email], .login-form input[type=password] { padding: 10px 12px; border: 1px solid var(--line);
  border-radius: 8px; font-size: 15px; }
.login-form input:focus { outline: 2px solid #9cc6ef; border-color: var(--blue); }
.login-note { padding: 0 26px 22px; font-size: 12px; color: var(--muted); }
.error { background: #fdecec; color: #9b1c1c; padding: 9px 12px; border-radius: 8px; font-size: 13.5px; margin: 0 0 6px; }

/* every page fills the screen, so the footer sits at the bottom even when the page is short */
body > main { flex: 1 0 auto; }
/* always on screen, whatever the page and the size of the screen */
.footer { position: sticky; bottom: 0; z-index: 30; flex: none; text-align: center; font-size: 12px; line-height: 1.35;
  color: var(--muted); padding: 8px 14px; background: var(--bg); border-top: 1px solid var(--line); }
.login-page + .footer { background: var(--navy); color: #b9cde3; }

@media (max-width: 760px) {
  .topbar { flex-wrap: wrap; }
  .menubar { overflow-x: auto; }
  .user-btn span:not(.caret) { display: none; }
  .hero { padding: 36px 0 96px; }
  .home-body { margin-top: -68px; padding-bottom: 32px; }
  .app { min-height: 0; padding: 18px 18px 16px; }
  .app-name { font-size: 18px; }
  .hero-where { font-size: 15px; }
  .hero-iris { width: 300px; height: 300px; right: -110px; opacity: .5; }
}

/* Topbar warning when IRIS sends no emails (people in charge of emails only) */
.emails-off-chip { margin-left: auto; margin-right: 12px; display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: 16px; background: #fde8e8; color: #a51d1d; font-weight: 600; font-size: 13px;
  text-decoration: none; border: 1px solid #f5b5b5; }
.emails-off-chip:hover { background: #fbd5d5; }
.emails-off-chip svg { width: 16px; height: 16px; }

/* Help desk card on the home page (Help team only) */
.hd-home { margin-top: 40px; }
.hd-home-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 14px; }
.hd-home-card { display: flex; align-items: center; gap: 14px; padding: 16px 18px; background: #fff; border: 1px solid var(--line);
  border-radius: 14px; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform .15s, border-color .15s; }
.hd-home-card:hover { transform: translateY(-2px); border-color: var(--blue); }
.hd-home-card.hot { border-color: #f2c46d; background: linear-gradient(135deg, #fff, #fff8ea); }
.hd-home-ico { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 12px; background: #eef4fb; font-size: 21px; }
.hd-home-card b { display: block; font: 800 24px/1.1 var(--display); color: var(--navy); }
.hd-home-card span { font-size: 14px; }
.hd-home-card em { font-style: normal; color: #a14d00; font-weight: 600; }

/* ---- home: sections that roll up (Help desk, Access requests, Administration) ---- */
/* the bar keeps the main messages visible when the section is rolled up */
/* each section is one framed cell, with its own colour (left edge + header) so the three are told apart */
.fold { --fold-tone: var(--blue); --fold-soft: #eaf3fc; background: #fff; border: 1px solid var(--line);
  border-left: 5px solid var(--fold-tone); border-radius: 14px; box-shadow: var(--shadow); overflow: hidden; }
.fold[data-fold="helpdesk"] { --fold-tone: #1572c9; --fold-soft: #eaf3fc; }
.fold[data-fold="access"] { --fold-tone: #e08a00; --fold-soft: #fff4e0; }
.fold[data-fold="admin"] { --fold-tone: #6a4bc4; --fold-soft: #f1edfb; }
.fold:not(.closed) { box-shadow: 0 10px 28px rgba(16,42,75,.13); }
.fold-bar { display: flex; align-items: center; gap: 14px; width: 100%; padding: 11px 14px 11px 16px; margin: 0;
  background: var(--fold-soft); border: 0; border-radius: 0; cursor: pointer; text-align: left;
  font: inherit; color: var(--ink); transition: filter .15s; }
.fold:not(.closed) .fold-bar { border-bottom: 1px solid var(--line); }
.fold-bar:hover { filter: brightness(.97); }
.fold-bar:focus-visible { outline: 3px solid var(--sky); outline-offset: -3px; }
.fold-title { flex: none; display: flex; align-items: center; gap: 9px; font: 600 17px/1.2 var(--display); color: var(--navy); }
.fold-title::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--fold-tone); }
.fold-sum { flex: 1; display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; }
.fold-chip { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px;
  background: var(--mist); border: 1px solid #d5e3f2; font-size: 13px; color: var(--muted); white-space: nowrap; }
.fold-chip b { color: var(--navy); font-weight: 700; }
.fold-chip.hot { background: #fff3dc; border-color: #f2c46d; color: #8a5a00; }
.fold-chip.hot b { color: #8a4a00; }
.fold-chip.ok { background: #eaf7ee; border-color: #bfe3ca; color: #2f7a47; }
.fold-chip.quiet { background: rgba(255,255,255,.7); }
.fold-arrow { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: #fff; border: 1px solid var(--line); transition: transform .25s ease, background .15s; }
.fold-arrow::before { content: ""; width: 8px; height: 8px; margin-top: -4px; border: solid var(--fold-tone);
  border-width: 0 2px 2px 0; transform: rotate(45deg); }
.fold-bar:hover .fold-arrow { background: #fff; border-color: var(--fold-tone); }
.fold.closed .fold-arrow { transform: rotate(-90deg); }
/* the chips repeat the cards: shown on the bar only when the section is rolled up */
.fold:not(.closed) .fold-sum .fold-chip { display: none; }
.fold-body { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .28s ease, visibility .28s; }
.fold-inner { min-height: 0; overflow: hidden; padding: 16px 18px 18px; }
.fold.closed .fold-body { grid-template-rows: 0fr; visibility: hidden; }
.fold.closed .fold-inner { padding-top: 0; padding-bottom: 0; }
.hd-home.fold, .admin.fold { margin-top: 18px; }
.fold .hd-home-card { background: #fbfcfe; }
.fold .hd-home-card.hot { background: linear-gradient(135deg, #fff, #fff8ea); }
@media (max-width: 640px) {
  .fold-bar { flex-wrap: wrap; gap: 8px 12px; padding: 10px 12px; } .fold-sum { order: 3; flex-basis: 100%; }
  .fold-arrow { margin-left: auto; } .fold-title { font-size: 16px; } .fold-inner { padding: 12px; }
  .fold-chip { white-space: normal; }
  .hd-home.fold, .admin.fold { margin-top: 14px; }
}
@media (prefers-reduced-motion: reduce) { .fold-body, .fold-arrow { transition: none; } }

/* Activation / password pages */
.login-title { font-size: 18px; margin: 4px 0 6px; }
.login-lead { font-size: 13.5px; color: var(--muted); margin: 0 0 6px; line-height: 1.45; }
.login-rules { font-size: 12px; color: var(--muted); margin: 10px 0 4px; padding-left: 18px; }
.login-form input[disabled] { padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: #f5f6f8; color: var(--muted); }
.login-form .btn-full { margin-top: 14px; text-align: center; }
.login-links { display: flex; justify-content: center; padding: 0 26px 6px; font-size: 13px; }

/* Request access (public form under the login page) */
.login-card-wide { max-width: 520px; }
.login-form input[type=text], .login-form select, .login-form textarea { padding: 10px 12px; border: 1px solid var(--line);
  border-radius: 8px; font: inherit; background: #fff; }
.login-form select[disabled] { background: #f5f6f8; color: var(--muted); }
.req-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.req-row > div { display: flex; flex-direction: column; }
.req-help { color: var(--muted); font-size: 12px; margin-top: 3px; }
.req-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.req-row input, .login-form select, .login-form textarea { width: 100%; box-sizing: border-box; min-width: 0; }

/* ---- Config: big panel, one column per group, sized to the window ---- */
.cfg-panel { position: fixed; left: 16px; right: 16px; top: 96px; z-index: 40; min-width: 0; padding: 0;
  max-height: calc(100vh - 110px); max-height: calc(100dvh - 110px); overflow: hidden; flex-direction: column;
  border-radius: 12px; box-shadow: 0 18px 48px rgba(10, 35, 75, .28); }
.dropdown.open .cfg-panel { display: flex; }
.cfg-head { display: flex; align-items: center; gap: 14px; padding: 12px 18px; background: var(--blue-soft);
  border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.cfg-head b { font-size: 17px; color: var(--blue-dark); }
.cfg-find { flex: 1 1 260px; max-width: 460px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px;
  font: inherit; background: #fff; }
.cfg-count { color: var(--muted); font-size: 13px; margin-left: auto; }
.cfg-cols { overflow-y: auto; padding: 14px 18px 18px; columns: 300px; column-gap: 22px; }
.cfg-group { break-inside: avoid; margin: 0 0 16px; padding: 0 0 6px; border: 1px solid #cfdcef;
  border-radius: 10px; background: #fff; overflow: hidden; }
.cfg-group[hidden], .cfg-item[hidden] { display: none; }
.cfg-group h3 { margin: 0 0 6px; padding: 9px 16px; font-size: 12px; letter-spacing: .06em; text-transform: uppercase;
  color: #0b3d75; background: #d6e6f8; border-bottom: 1px solid #c3d7f0; }
.cfg-group .cfg-item { margin: 0 8px; }
.cfg-item { display: flex; gap: 10px; align-items: flex-start; padding: 7px 8px; border-radius: 8px;
  color: var(--ink, #1d2b3a); text-decoration: none; }
.cfg-item:hover, .cfg-item:focus-visible { background: var(--blue-soft); outline: none; }
.cfg-item .iris-icon { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--blue); }
.cfg-item b { display: block; font-size: 14px; color: var(--blue-dark); }
.cfg-item small { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.35; }
.cfg-none { color: var(--muted); font-style: italic; margin: 6px 2px; }
@media (max-width: 640px) {
  .cfg-panel { left: 6px; right: 6px; }
  .cfg-count { display: none; }
}
/* home: unread messages of Apps › Oversight & Audit */
.au-home-msglist { list-style: none; margin: 0; padding: 0; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.au-home-msglist li + li { border-top: 1px solid var(--line); }
.au-home-msglist a { display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 16px;
  color: inherit; text-decoration: none; font-size: 14px; }
.au-home-msglist a:hover, .au-home-msglist a:focus-visible { background: #f3f7fc; }
.au-home-msglist .au-chat-tabn { display: inline-block; min-width: 20px; padding: 0 6px; border-radius: 10px; background: #d33a3a; color: #fff;
  font-size: 12px; line-height: 20px; text-align: center; }
.au-home-msg-ref { font-weight: 600; white-space: nowrap; } .au-home-msg-q { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #3d4a57; }
.au-home-msglist time { color: #6a7785; font-size: 12px; white-space: nowrap; }

/* my preferences in the menu under my name (sections added by the pages and Malek AI) */
.user-card-prefs { padding: 12px 16px; border-top: 1px solid var(--line, #e6ebf1); }
.user-card-prefs-title { margin: 0 0 8px; font-size: 12px; font-weight: 700; color: var(--navy, #0b2a4a); text-transform: uppercase; letter-spacing: .4px; }
.user-card-check { display: flex; align-items: center; gap: 8px; padding: 5px 2px; font-size: 14px; cursor: pointer; }
.user-card-check input { width: 16px; height: 16px; accent-color: var(--blue); margin: 0; }
.user-card-check { color: var(--ink, #1f2d3d); }
.user-card-check .dot { flex: none; width: 10px; height: 10px; border-radius: 3px; background: #3f6fa3; }
.user-card-check .dot.s-IN_PROGRESS { background: var(--blue); }
.user-card-check .dot.s-IN_REVIEW { background: #6d28d9; }
.user-card-check .dot.s-COMPLETED { background: #0f8a4b; }
.user-card-prefs-note { margin: 6px 0 0; font-size: 11.5px; }

