:root {
  color-scheme: light;
  --navy: #062856;
  --blue: #0b4483;
  --red: #e91c2c;
  --sky: #eef5fd;
  --line: #d5e2f1;
  --shadow: 0 5px 14px #123c7320;
  font: 15px/1.45 system-ui, sans-serif;
  color: var(--navy);
  background: #f5f8fc;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: #064689; text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible, :is(input,select,textarea):focus-visible { outline: 3px solid #2879d1; outline-offset: 3px; }
h1,h2,h3,p { margin: 0 0 .55rem; }
h1 { font-size: clamp(1.8rem,3vw,2.65rem); line-height: 1.12; letter-spacing: -.045em; }
h2 { font-size: clamp(1.15rem,1.65vw,1.55rem); letter-spacing: -.025em; }
h3 { font-size: 1.1rem; }
button,.button {
  border: 1px solid transparent; border-radius: 10px; background: var(--navy); color: white;
  cursor: pointer; display: inline-block; font: inherit; font-weight: 700; text-align: center; padding: .65rem 1rem;
}
button:hover,.button:hover { background: #124d8d; text-decoration: none; }
.secondary { background: #e4f0fe; color: var(--navy); border-color: #c5d9ef; }
.secondary:hover { background: #d2e6fc; }
.masthead {
  min-height: 85px; background: #fff; padding: 12px clamp(16px,5vw,76px);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.masthead img { width: min(46vw,510px); display: block; }
.masthead.portal { position: relative; z-index: 1; box-shadow: var(--shadow); padding-inline: clamp(12px,2.4vw,42px); background: linear-gradient(156deg,white 58%,#edf5ff 58%,#fff 70%,#e7effb 70%); }
.account { display: flex; align-items: center; gap: 12px; font-weight: 750; }
.demo { color: #8b2734; border: 1px solid #f3c9d0; background: #fff1f3; border-radius: 8px; font-size: .68rem; letter-spacing: .06em; padding: .35rem .5rem; }
.public-nav {
  display: flex; justify-content: center; flex-wrap: wrap; gap: clamp(8px,4vw,60px);
  background: var(--navy); padding: .88rem 1rem; font-weight: 700;
}
.public-nav a { color: #fff; }
.hero {
  min-height: clamp(310px,34vw,460px); display: flex; align-items: center;
  background: linear-gradient(90deg,#f4faff 22%,#f4faff00 63%),url('assets/campus.webp') right center / auto 100% no-repeat,#dcefff;
}
.hero>div { width: min(540px,55%); padding: 2rem 0 2rem max(6vw,25px); }
.hero h1 { font-size: clamp(2rem,4.15vw,4.35rem); }
.hero h1::after,.under::after { display: block; content: ""; height: 4px; width: 64px; margin: .7rem 0; border-radius: 8px; background: var(--red); }
.hero p { font-size: clamp(1rem,1.8vw,1.4rem); max-width: 33rem; }
.hero.compact { min-height: 176px; border-radius: 17px; }
.hero.compact>div { width: 70%; padding: 1.3rem; }
.hero.compact h1 { font-size: clamp(1.9rem,3vw,3rem); }
.hero.compact p { font-size: 1.1rem; }
.home-content { max-width: 1500px; margin: auto; padding: 24px clamp(12px,2.5vw,42px) 50px; }
.card { background: linear-gradient(#fff,#f8fbff); border: 1px solid #e4edf8; border-radius: 16px; padding: clamp(12px,1.8vw,24px); box-shadow: var(--shadow); min-width: 0; }
.services { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: clamp(10px,1.5vw,20px); }
.service {
  position: relative; display: grid; grid-template-columns: auto minmax(0,1fr); align-items: center; gap: .65rem;
  padding: .85rem 2.15rem .85rem .85rem;
  background: #fff; color: var(--navy); border: 1px solid #e1eaf5;
  border-radius: 16px; box-shadow: 0 4px 14px #123c7312;
}
.service:hover { text-decoration: none; border-color: #8cb0d8; box-shadow: var(--shadow); }
.service:first-child { border-color: #f0cdd3; }
.service:first-child b { color: #ac1731; }
.service b { font-size: clamp(1rem,1.55vw,1.22rem); letter-spacing: -.025em; overflow-wrap: anywhere; }
.service p { font-size: .86rem; margin: .2rem 0 0; color: #36516e; }
.service-art {
  display: block; width: clamp(50px,5vw,66px); aspect-ratio: 1; border-radius: 10px;
  background: #eff5fc url('assets/service-illustrations.webp') no-repeat;
  background-size: 200% 200%;
}
.service-art--question { background-position: right top; }
.service-art--idea { background-position: left bottom; }
.service-art--praise { background-position: right bottom; }
.service .arrow {
  position: absolute; right: .55rem; bottom: .55rem; width: 23px; height: 23px;
  display: grid; place-items: center; line-height: 1;
  color: #174677; background: #eaf2fd; border-radius: 50%;
}
.service:first-child .arrow { color: #ac1731; background: #fff0f2; }
.lookup { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; margin: 24px 0 18px; background: #eaf2fd; }
.lookup form { display: flex; flex: 1 1 300px; max-width: 520px; gap: 10px; }
.lookup p,.news p { color: #314869; }
.two,.three { display: grid; gap: 16px; grid-template-columns: repeat(2,minmax(0,1fr)); }
.three { grid-template-columns: repeat(3,minmax(0,1fr)); }
.home-content>.two+.two,.space { margin-top: 16px; }
.flow {
  display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 8px;
  margin: 0; padding: 0; list-style: none;
}
.flow li { min-width: 0; padding: .55rem; border: 1px solid #dce9f8; border-radius: 10px; background: #f4f8fe; }
.flow-art {
  width: 54px; aspect-ratio: 1; border-radius: 8px; margin-bottom: .45rem;
  background: #dfedfb url('assets/complaint-flow.webp') no-repeat;
  background-size: 200% 200%;
}
.flow-art--2 { background-position: right top; }
.flow-art--3 { background-position: left bottom; }
.flow-art--4 { background-position: right bottom; }
.flow h3 { font-size: .94rem; margin-bottom: .25rem; overflow-wrap: anywhere; }
.flow h3 span { color: #b81228; }
.flow p { font-size: .84rem; margin: 0; color: #314869; }
.kpis { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 10px; }
.kpis.four { grid-template-columns: repeat(4,minmax(0,1fr)); }
.kpi { border-radius: 12px; padding: .65rem; background: #e0efff; text-align: center; box-shadow: var(--shadow); display: grid; align-content: center; }
.kpi:nth-child(2) { background: #fff0d5; }.kpi:nth-child(3) { background: #d9f6e8; }
.kpi:nth-child(4) { background: #fee7e9; }.kpi:nth-child(5) { background: #daf8f4; }.kpi:nth-child(6) { background: #f1e9ff; }
.kpi span { font-size: 1.55rem; color: #0967c2; line-height: 1; }
.kpi strong { font-size: clamp(1.05rem,2.2vw,1.85rem); }
.kpi small { font-weight: 700; }
.news { display: flex; gap: 14px; align-items: start; }
.news img { border-radius: 10px; width: min(31%,134px); }
details { border: 1px solid var(--line); margin-top: .3rem; padding: .55rem .7rem; border-radius: 10px; }
summary { cursor: pointer; font-weight: 650; }
details p { margin-top: .45rem; }
footer { background: #052551; color: white; padding: 2.5rem max(5vw,20px); }
footer a { color: #fff; text-decoration: underline; }
.shell { display: grid; grid-template-columns: minmax(170px,15vw) minmax(0,1fr); min-height: calc(100vh - 85px); }
.sidebar { color: #fff; background: radial-gradient(ellipse at left top,#16578e,#082f66 55%,#052450); display: flex; flex-direction: column; justify-content: space-between; padding: 20px 8px; }
.sidebar nav { display: grid; gap: .45rem; }
.sidebar a { color: #fff; padding: .85rem .6rem; display: flex; align-items: center; gap: .65rem; border-radius: 9px; font-weight: 650; }
.sidebar a span { font-size: 1.25rem; }
.sidebar a:hover,.sidebar a.active { background: linear-gradient(135deg,#ff373c,#df091e); text-decoration: none; }
.institution { text-align: center; font-size: 1.2rem; font-weight: 800; line-height: 1.1; padding: 2rem 0; }
.institution small { font-size: .7rem; font-weight: 650; }
.workspace { padding: clamp(12px,1.6vw,26px); background: radial-gradient(ellipse at top,#d9eaff,#f5f8fc 62%); }
.dashboard-grid { display: grid; gap: 16px; grid-template-columns: minmax(0,3fr) minmax(220px,1fr); }
.stack,.links { display: grid; gap: 12px; align-content: start; min-width: 0; }
.dashboard-grid .services { grid-template-columns: repeat(2,minmax(0,1fr)); }
.avatar { display: grid; place-items: center; font-size: 2.3rem; width: 58px; height: 58px; background: #1478bf; color: #fff; border-radius: 50%; margin-bottom: .5rem; }
.chart { padding: 14px; }
.chart h2 { font-size: 1.05rem; }
.chart-row { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.donut { display: grid; place-items: center; width: 86px; aspect-ratio: 1; border-radius: 50%; }
.donut b { display: grid; place-items: center; border-radius: 50%; width: 56%; height: 56%; background: #fff; }
.legend { min-width: 100px; flex: 1; }
.bar-label { display: flex; justify-content: space-between; gap: 6px; font-size: .78rem; padding-block: .18rem; }
.track { height: 8px; background: #e1ebf6; margin-bottom: .26rem; border-radius: 9px; }
.track i { height: 100%; display: block; border-radius: 9px; }
.sla { text-align: center; background: #ebf8ef; padding: 1rem; border-radius: 14px; }
.sla strong { font-size: 2rem; color: #126329; }
.table-scroll { overflow-x: auto; margin: .6rem 0; }
table { border-collapse: collapse; width: 100%; font-size: .83rem; }
td,th { padding: .62rem .55rem; border-bottom: 1px solid #dbe7f5; text-align: left; }
th { background: #e3ecf8; }
td:first-child { white-space: nowrap; }
.status,.view { display: inline-block; padding: .25rem .52rem; border-radius: 20px; background: #d6ebff; font-size: .78rem; font-weight: 700; white-space: nowrap; }
.status.green { background: #c9f3d5; color: #125d29; }.status.yellow { background: #ffe4a0; color: #5c3c00; }
.view { background: #fff; border: 1px solid #bad0e8; }
label { display: grid; gap: 4px; font-weight: 650; }
input,select,textarea { min-width: 0; width: 100%; padding: .63rem .65rem; border: 1px solid #aabed6; border-radius: 8px; color: var(--navy); font: inherit; background: #fff; }
textarea { min-height: 95px; resize: vertical; }
.filters { display: flex; align-items: end; flex-wrap: wrap; gap: .45rem; margin-bottom: .65rem; }
.filters>input,.filters>select { width: auto; max-width: 100%; }
.filters label { font-size: .85rem; }
.check { display: flex; align-items: start; }
.check input { width: auto; margin: 4px 6px 0 0; }
.auth { max-width: 440px; margin: 35px auto; }.narrow { max-width: 660px; }
.manual-page { width: min(1180px,calc(100% - 32px)); margin: 1.4rem auto 3rem; }
.manual-hero { display: grid; grid-template-columns: minmax(0,1fr) minmax(270px,.95fr); align-items: center; gap: clamp(1rem,3vw,2rem); padding: clamp(1.2rem,3vw,2.3rem); border: 1px solid #d6e4f3; border-radius: 22px; background: linear-gradient(135deg,#fff 25%,#e8f3ff 100%); box-shadow: 0 12px 28px #092b4f0b; }
.manual-hero h1 { color: var(--navy); }.manual-hero p { max-width: 55ch; line-height: 1.55; }
.manual-eyebrow { color: #ba1530; font-size: .8rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.manual-hero img { width: 100%; height: auto; border-radius: 14px; object-fit: cover; }
.manual-hero-link { display: inline-block; margin-left: 1rem; font-weight: 650; }
.manual-index { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0 1.25rem; }
.manual-index a { display: inline-block; padding: .45rem .8rem; border: 1px solid #cadced; border-radius: 999px; background: #fff; color: var(--navy); text-decoration: none; font-size: .86rem; }
.manual-index a:hover,.manual-index a:focus-visible { background: #eaf3fe; border-color: #82afe1; }
.manual-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; }
.manual-step { display: flex; align-items: flex-start; gap: 1rem; min-width: 0; margin: 0; }
.manual-step h2 { margin-bottom: .5rem; }.manual-step p { color: #334e6b; line-height: 1.55; }
.manual-number { display: grid; place-items: center; flex: 0 0 2.35rem; height: 2.35rem; border-radius: 10px; background: #e4f0fc; color: #0d4c87; font-weight: 800; font-size: .9rem; }
.manual-step a { overflow-wrap: anywhere; }.manual-note { padding: .65rem .8rem; border-radius: 9px; background: #edf5ff; font-size: .9rem; }
@media(max-width:720px) { .manual-hero,.manual-grid { grid-template-columns: 1fr; } .manual-page { width: min(100% - 20px,560px); margin-top: .7rem; } .manual-hero img { max-height: 230px; } }
@media(max-width:475px) { .manual-step { gap: .7rem; padding: 1rem; } .manual-number { flex-basis: 2rem; height: 2rem; } .manual-index { gap: .4rem; } .manual-index a { font-size: .78rem; padding: .38rem .65rem; } }
.auth-separator { display: flex; align-items: center; gap: .8rem; margin: 1.25rem 0; color: #62748d; font-size: .83rem; }
.auth-separator::before,.auth-separator::after { content: ""; flex: 1; height: 1px; background: #d9e3f0; }
.google-auth-button { width: 100%; min-height: 46px; display: inline-flex; justify-content: center; align-items: center; gap: .7rem; padding: .65rem 1rem; border: 1px solid #c9d6e7; border-radius: 10px; background: #fff; color: #17345d; box-shadow: 0 2px 8px #0b2a5310; font: inherit; font-weight: 650; text-align: center; text-decoration: none; cursor: pointer; transition: border-color .18s,box-shadow .18s,transform .18s; }
.google-auth-button:hover { border-color: #8fb3df; box-shadow: 0 5px 15px #0b2a531c; transform: translateY(-1px); }
.google-auth-button:focus-visible { outline: 3px solid #4387d5; outline-offset: 2px; }
.google-icon { flex: none; }
.google-register-form .check { margin-bottom: .75rem; font-size: .84rem; font-weight: 400; line-height: 1.45; }
.google-register-note { margin: .6rem 0 0; color: #526987; font-size: .8rem; line-height: 1.45; text-align: center; }
.error,.notice { max-width: 900px; padding: .8rem 1rem; margin: 1rem auto; border-radius: 8px; font-weight: 650; color: #7b1726; background: #ffe8ec; }
.notice { color: #164f2b; background: #d8f5e4; }
dl { display: grid; grid-template-columns: minmax(90px,auto) 1fr; gap: .35rem .75rem; }
dt { font-weight: 700; } dd { margin: 0; overflow-wrap: anywhere; }
.body-text { white-space: pre-wrap; overflow-wrap: anywhere; }
.timeline { padding-left: 1.5rem; }.timeline li { padding: .45rem 0; }.timeline time { margin-left: .45rem; color: #516781; font-size: .8rem; }
@media(max-width: 1100px) {
  .flow { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .guide-steps { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .services { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .dashboard-grid { grid-template-columns: minmax(0,1fr); }
  .dashboard-grid>.stack+ .stack { grid-template-columns: repeat(auto-fit,minmax(200px,1fr)); }
}
@media(max-width: 720px) {
  .shell { display: block; }.sidebar { padding: .35rem; }.sidebar nav { display: flex; flex-wrap: wrap; }.sidebar a { font-size: .8rem; padding: .35rem; }.institution { display: none; }
  .masthead img { width: min(53vw,390px); }.account { font-size: .75rem; gap: 5px; }.account .demo { display: none; }
  .hero { min-height: 310px; background-position: center,right bottom; background-size: auto,auto 75%; }.hero>div { width: min(100%,410px); }
  .two,.three,.services { grid-template-columns: repeat(2,minmax(0,1fr)); }.kpis { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media(max-width: 475px) {
  .two,.three { grid-template-columns: minmax(0,1fr); }
  .card.auth { margin: 20px 10px; }.lookup form { flex-wrap: wrap; }
  .hero:not(.compact) { background-image: linear-gradient(90deg,#f3f9ff 5%,#f3f9ffcc 80%),url('assets/campus.webp'); }
}
.institution img,footer img { width: min(180px,90%); display: block; margin-inline: auto; }
footer { display: grid; grid-template-columns: minmax(120px,1fr) minmax(240px,2fr) minmax(120px,1fr); align-items: center; gap: 20px; }
footer>div { border-left: 1px solid #ffffff70; padding-inline-start: 20px; }
.masthead.portal::after { content: ""; position: absolute; right: 22%; bottom: 0; width: 29%; height: 93%; z-index: -1; clip-path: polygon(0 100%,34% 77%,74% 0,100% 0,54% 60%,24% 100%); background: linear-gradient(150deg,#064786 46%,#ed1531 49%,#ff545e 61%,#c70c28 66%); }
@media(max-width:720px) { footer { grid-template-columns: 1fr; } footer img { margin: 0; } .masthead.portal::after { display: none; } }

[hidden] { display: none !important; }
.skip {
  position: absolute; z-index: 3; top: .5rem; left: .5rem; transform: translateY(-160%);
  padding: .65rem 1rem; border-radius: 8px; color: white; background: var(--navy);
}
.skip:focus { transform: none; }
.masthead .brand { min-width: 0; }
.masthead .brand img { max-width: 100%; height: auto; }
.account { flex: 0 0 auto; }
.menu-toggle,.inbox {
  min-height: 44px; display: inline-flex; align-items: center; justify-content: center;
  gap: .55rem; padding: .55rem .75rem; white-space: nowrap;
}
.menu-toggle { background: #fff; }
.menu-icon {
  position: relative; width: 17px; height: 12px; border-block: 2px solid currentColor;
}
.menu-icon::after {
  content: ""; position: absolute; width: 100%; height: 2px; background: currentColor; inset: 3px 0 auto;
}
[aria-expanded="true"] .menu-icon { border: 0; }
[aria-expanded="true"] .menu-icon::before,
[aria-expanded="true"] .menu-icon::after {
  content: ""; position: absolute; left: 0; top: 5px; width: 100%; height: 2px; background: currentColor;
  transform: rotate(45deg);
}
[aria-expanded="true"] .menu-icon::after { transform: rotate(-45deg); }
.inbox {
  border: 1px solid #cfdeef;
  border-radius: 12px;
  background: #fff;
  color: var(--navy);
  gap: .45rem;
}
.inbox:hover { background: #edf5fe; text-decoration: none; }
.bell { display: grid; place-items: center; width: 20px; height: 20px; }
.bell .dashboard-icon { width: 20px; height: 20px; }
.unread {
  display: inline-grid;
  place-items: center;
  min-width: 1.35rem;
  min-height: 1.35rem;
  padding: 0 .25rem;
  border-radius: 999px;
  background: #edf3fa;
  font-size: .73rem;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}
.unread.has-unread { background: #ac1730; color: #fff; }
.public-nav { gap: .5rem clamp(.7rem,2.4vw,2.5rem); }
.public-nav a { display: inline-flex; align-items: center; min-height: 40px; }
.public-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: .38em; }
.public-nav button { border-color: #ffffff80; }
.shell.menu-collapsed { grid-template-columns: minmax(0,1fr); }
.sidebar-role { padding: .3rem .65rem; font-weight: 700; font-size: .8rem; color: #d6e8ff; }
.sign-out { margin-top: .75rem; padding: .5rem .55rem 0; border-top: 1px solid #ffffff35; }
.sign-out button { width: 100%; border: 1px solid #ffffff60; background: transparent; }
.workspace,main,.kpi,.service { min-width: 0; }
.workspace h1,.workspace dd,.workspace p,.bar-label,.kpi small { overflow-wrap: anywhere; }
.lookup input { flex: 1 1 12rem; }
.lookup button { flex: 0 0 auto; }
.timeline a { overflow-wrap: anywhere; }

@media (max-width: 800px) {
  .masthead,.masthead.portal { min-height: 66px; padding: .65rem .8rem; gap: .6rem; }
  .masthead.portal::after { display: none; }
  .masthead .brand img { width: min(52vw,280px); }
  .account { gap: .4rem; font-size: .85rem; }
  .account .button { padding: .55rem .6rem; min-height: 44px; white-space: nowrap; }
  .menu-toggle,.inbox { padding-inline: .55rem; }
  .shell { display: block; min-height: calc(100vh - 66px); }
  .sidebar,.public-nav { padding: .55rem .75rem .75rem; }
  .sidebar nav,.public-nav { display: grid; grid-template-columns: minmax(0,1fr); gap: .2rem; }
  .sidebar a,.public-nav a { min-height: 44px; padding: .5rem .65rem; font-size: .94rem; }
  .public-nav a { border-radius: 8px; }
  .public-nav a:hover,.public-nav a[aria-current="page"] { background: #164477; }
  .institution { display: none; }
  .filters { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .55rem; }
  .filters>input,.filters>select,.filters>button { grid-column: 1/-1; width: 100%; }
  .filters input[type="date"] { min-height: 44px; }
  input:not([type="checkbox"]),textarea,select { font-size: 16px; }
  .ticket-table,.ticket-table tbody { display: block; }
  .ticket-table thead {
    position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
    overflow: hidden; clip-path: inset(50%); white-space: nowrap;
  }
  .ticket-table tr[role="row"]:not(thead tr) {
    display: block; padding: .55rem .65rem; margin-bottom: .6rem;
    border: 1px solid var(--line); border-radius: 12px; background: #fff;
  }
  .ticket-table td {
    display: grid; grid-template-columns: minmax(4.3rem, 25%) minmax(0,1fr); gap: .4rem;
    border: 0; padding: .28rem .1rem; white-space: normal; overflow-wrap: anywhere;
  }
  .ticket-table td::before { content: attr(data-label); color: #48607b; font-weight: 650; }
  .ticket-table td>* { justify-self: start; }
  .ticket-table td:last-child { display: flex; align-items: center; flex-wrap: wrap; }
  .ticket-table td:last-child::before { flex: 0 0 25%; min-width: 4.3rem; }
  .ticket-table .view { display: inline-flex; min-height: 44px; min-width: 50px; align-items: center; justify-content: center; }
}
@media (max-width: 480px) {
  .home-content,.workspace { padding-inline: .65rem; }
  .kpis,.kpis.four { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .hero.compact { min-height: 150px; background-image: linear-gradient(90deg,#f4faff 25%,#edf5ffb8 76%),url('assets/campus.webp'); }
  .hero.compact>div { width: 100%; padding: 1rem; }
  .service { grid-template-columns: minmax(0,1fr); align-content: start; gap: .4rem; padding: .65rem; }
  .service .arrow { top: .65rem; bottom: auto; }
  .service p { font-size: .84rem; }
}
.volume { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.volume .card { display: grid; align-content: start; gap: .32rem; background: #f4f9ff; }
.volume .card:nth-child(2) { background: #fff2f3; }
.volume .card:nth-child(3) { background: #edf9f5; }
.volume span { font-weight: 700; overflow-wrap: anywhere; }
.volume strong { font-size: clamp(1.3rem,3vw,2.15rem); }
.chart-bars,.trend-bars { margin: 0; padding: 0; list-style: none; }
.chart-bars li,.trend-bars li { margin-bottom: .55rem; }
.chart-bars .track i,.trend-bars .track i { background: #1768ba; }
.trend-bars .track { display: flex; }
.trend-bars .track i + i { background: #048274; }
.chart-key { display: flex; flex-wrap: wrap; gap: .45rem 1rem; font-size: .85rem; }
.chart-key span::before { content: ""; display: inline-block; width: .65rem; height: .65rem; border-radius: 2px; margin-right: .4rem; background: #1768ba; }
.chart-key span + span::before { background: #048274; }
.sla-filter { align-self: center; }
.pager { display: flex; gap: .55rem; flex-wrap: wrap; }
@media(max-width:480px) {
  .volume { gap: 6px; }
  .volume .card { padding: .65rem .46rem; font-size: .8rem; }
  .sla-filter { grid-column: 1/-1; }
}

.guide { margin: 0 0 18px; padding: clamp(12px,2vw,24px); }
.guide-heading { margin-bottom: .75rem; }
.guide-heading h2 { font-size: clamp(1.3rem,2.4vw,1.8rem); }
.guide-heading p { color: #314869; }
.guide-steps {
  display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px;
  padding: 0; margin: 0; list-style: none; counter-reset: guide-step;
}
.guide-steps li {
  counter-increment: guide-step; display: grid; grid-template-columns: auto minmax(0,1fr);
  align-items: start; gap: .55rem; background: #f2f7fe;
  border: 1px solid #dce9f8; border-radius: 12px; padding: .7rem;
}
.guide-icon {
  display: block; width: clamp(44px,4vw,56px); aspect-ratio: 1; border-radius: 9px;
  background: #eff5fc url('assets/guide-steps.webp') no-repeat;
  background-size: 200% 200%;
}
.guide-icon--2 { background-position: right top; }
.guide-icon--3 { background-position: left bottom; }
.guide-icon--4 { background-position: right bottom; }
.guide-copy { height: 100%; display: flex; flex-direction: column; }
.guide-copy h3 { font-size: 1rem; margin-bottom: .24rem; overflow-wrap: anywhere; }
.guide-copy h3::before { content: counter(guide-step) ". "; color: #b81228; }
.guide-copy p { font-size: .87rem; margin-bottom: .16rem; color: #314869; }
.guide-copy a { margin-top: auto; min-height: 44px; display: inline-flex; align-items: center; gap: .3rem; font-weight: 750; }
.site-footer { display: block; padding: 0 0 56px; background: #08254b; }
.site-footer>div { border-left: 0; }
.footer-content,.footer-end { max-width: 1500px; margin-inline: auto; padding-inline: clamp(16px,4vw,64px); }
.footer-content { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(11rem,.7fr) minmax(16rem,1fr); gap: clamp(18px,3vw,40px); padding-block: 26px 20px; align-items: start; }
.footer-content h2 { font-size: .98rem; margin-bottom: .3rem; }
.footer-content p,.footer-content address { color: #d7e6f7; }
.footer-brand img { width: min(100%,194px); height: auto; margin: 0 0 .28rem; border: 0; border-radius: 7px; mix-blend-mode: lighten; }
.footer-content address { font-style: normal; line-height: 1.45; overflow-wrap: anywhere; }
.footer-contact { display: grid; gap: .32rem; }
.footer-contact span,.footer-contact > a { display: block; }
.footer-contact-name { color: #fff; font-weight: 600; }
.footer-contact .footer-contact-row { display: grid; grid-template-columns: 1.12rem 4.1rem minmax(0,1fr); gap: .4rem; align-items: center; }
.footer-contact-row svg { width: 1.12rem; height: 1.12rem; color: #d7e6f7; }
.footer-contact-row > :last-child { white-space: nowrap; }
.footer-contact .footer-email { display: inline-flex; align-items: center; gap: .48rem; width: fit-content; max-width: 100%; margin-top: .28rem; color: #fff; }
.footer-email svg { width: 1.12rem; height: 1.12rem; flex: none; }
.footer-email span { overflow-wrap: anywhere; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links a { display: inline-flex; align-items: center; min-height: 30px; text-underline-offset: .17em; }
.footer-social { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .45rem; }
.footer-social a {
  width: 44px; height: 44px; display: grid; place-items: center; text-decoration: none;
  border-radius: 12px; background: #ffffff16; border: 1px solid #ffffff50;
}
.footer-social a:hover { background: #ffffff35; }
.social-facebook { font: bold 1.5rem Arial,sans-serif; }
.social-youtube { display: grid; place-items: center; width: 22px; height: 15px; border-radius: 4px; background: #f52136; }
.social-youtube::after { content: ""; border-left: 6px solid #fff; border-block: 4px solid transparent; }
.footer-end { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .35rem .8rem; padding-block: .65rem; border-top: 1px solid #ffffff30; color: #d7e6f7; font-size: .85rem; }
.footer-credit { max-width: 1500px; margin: 0 auto; padding: 0 clamp(16px,4vw,64px) .7rem; color: #b8cbe2; font-size: .72rem; font-weight: 400; line-height: 1.4; }
.survey-form fieldset { border: 1px solid #d9e5f4; border-radius: 12px; padding: .75rem 1rem; }
.survey-form legend { padding: 0 .35rem; font-weight: 600; color: #082b59; }
.survey-options { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .3rem; }
.survey-options label { cursor: pointer; }
.survey-options input { position: absolute; opacity: 0; }
.survey-options span { display: grid; place-items: center; width: 2.55rem; height: 2.55rem; border: 1px solid #b9cce4; border-radius: 10px; background: #f5f9ff; color: #082b59; font-weight: 600; }
.survey-options input:checked + span { background: #0d4d91; border-color: #0d4d91; color: #fff; }
.survey-options input:focus-visible + span { outline: 3px solid #e31b2e; outline-offset: 2px; }
.survey-metrics { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: .65rem; margin: 1rem 0; }
.survey-metrics > div { display: grid; gap: .15rem; padding: .8rem; border-radius: 12px; background: #edf5ff; }
.survey-metrics strong { color: #082b59; font-size: 1.35rem; }
.survey-metrics span { color: #365271; font-size: .84rem; }
.survey-chart { display: grid; gap: .55rem; }
.survey-chart-row { display: grid; grid-template-columns: 2.5rem minmax(0,1fr) 2rem; align-items: center; gap: .6rem; }
.survey-chart-track { height: .6rem; border-radius: 99px; background: #e7eef7; overflow: hidden; }
.survey-chart-track > span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg,#0d4d91,#2383c7); }
@media (max-width: 640px) { .survey-metrics { grid-template-columns: repeat(2,minmax(0,1fr)); } }
.chat-launch {
  position: fixed; z-index: 2; right: max(14px,env(safe-area-inset-right)); bottom: max(14px,env(safe-area-inset-bottom));
  min-height: 48px; border-radius: 50px; display: inline-flex; align-items: center; gap: .5rem;
  background: #0a4387; box-shadow: 0 5px 18px #05255150;
}
.chat-mark { border: 1px solid #d6e9ff; border-radius: 8px 8px 8px 2px; padding: 0 .15rem; line-height: 1; font-weight: 850; }
.help-chat {
  color: var(--navy); padding: 0; border: 1px solid #cfdfef; border-radius: 16px;
  width: min(400px,calc(100% - 24px)); max-height: min(560px,calc(100dvh - 24px));
  margin: 0; left: auto; top: auto; right: max(12px,env(safe-area-inset-right)); bottom: max(12px,env(safe-area-inset-bottom));
  box-shadow: 0 16px 60px #06285652; background: #fff;
}
.help-chat[open] { display: flex; flex-direction: column; overflow: hidden; }
.help-chat::backdrop { background: #071c3a50; }
.chat-head { display: flex; align-items: center; justify-content: space-between; gap: .6rem; background: #082f66; color: #fff; padding: .7rem .9rem; }
.chat-head h2,.chat-head p { margin: 0; }
.chat-head h2 { font-size: 1.15rem; }
.chat-head p { font-size: .82rem; color: #d8e7fa; }
.chat-close { border: 1px solid #ffffff6b; min-width: 44px; min-height: 44px; font-size: 1.35rem; padding: 0; background: transparent; }
.chat-messages { min-height: 0; flex: 1 1 auto; overflow-y: auto; overscroll-behavior: contain; padding: .75rem .85rem; background: #f5f8fd; }
.chat-reply,.chat-user { max-width: 90%; width: fit-content; overflow-wrap: anywhere; border-radius: 12px; padding: .55rem .65rem; margin-bottom: .55rem; font-size: .92rem; }
.chat-reply { background: #e6effc; }
.chat-user { background: #0d4b88; color: #fff; margin-inline-start: auto; }
.chat-reply a { display: block; width: fit-content; font-weight: 750; margin-top: .3rem; text-decoration: underline; }
.chat-topics,.chat-form { display: flex; gap: .35rem; padding: .55rem .7rem; border-top: 1px solid #dce7f2; }
.chat-topics { flex-wrap: wrap; }
.chat-topics button { background: #edf5ff; color: #073967; border-color: #c7dcef; border-radius: 16px; font-size: .8rem; min-height: 36px; padding: .35rem .58rem; }
.chat-topics button:hover { background: #d9eafa; }
.chat-form input { flex: 1; }
.chat-form button { flex: 0 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
@media(max-width:800px) {
  .footer-content { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .footer-brand { grid-column: 1/-1; }
  .footer-contact-section { grid-column: 1/-1; }
}
@media(max-width:600px) {
  .footer-content { grid-template-columns: minmax(0,1fr); gap: 1.25rem; padding-block: 26px 20px; }
  .footer-brand,.footer-contact-section { grid-column: auto; }
  .footer-links { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .1rem .7rem; }
  .footer-links a { min-height: 34px; }
  .footer-contact { max-width: 100%; }
  .footer-end { display: grid; gap: .35rem; font-size: .79rem; }
  .footer-credit { font-size: .69rem; }
  .site-footer { padding-bottom: 78px; }
  .chat-topics button { min-height: 44px; }
}

.avatar { overflow: hidden; flex: 0 0 auto; }
.avatar img { display: block; width: 100%; height: 100%; object-fit: cover; }
.profile-photo { display: grid; grid-template-columns: auto minmax(0,1fr); align-items: start; gap: 14px; }
.profile-photo .avatar { width: 76px; height: 76px; }
.ticket-reference {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  gap: 12px; padding: .75rem 1rem; margin-bottom: 1rem; border-radius: 12px;
  background: #edf5ff; border: 1px solid #d2e4f8;
}
.ticket-reference span,.ticket-reference strong { display: block; overflow-wrap: anywhere; }
.ticket-reference span { color: #365675; font-size: .85rem; }
.ticket-reference strong { font-size: clamp(1rem,3vw,1.3rem); }
@media(max-width:480px) {
  .profile-photo { grid-template-columns: minmax(0,1fr); }
}

@media(max-width:540px) { .guide-steps { grid-template-columns: minmax(0,1fr); } }

.stats-choices { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: .55rem; }
.stats-choice {
  display: grid; justify-items: start; align-content: start; gap: .28rem;
  min-width: 0; padding: .65rem .55rem; border-color: #deebf7;
  border-radius: 12px; background: #f6f9fe; color: var(--navy); text-align: left;
}
.stats-choice:hover { background: #edf5ff; }
.stats-choice[aria-pressed="true"] { background: #eaf3ff; border-color: #6694c6; box-shadow: inset 0 -3px #1760a5; }
.stats-icon { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; background: #dcecff; color: #124c83; }
.stats-choice:nth-child(2) .stats-icon { background: #ffead5; color: #883e10; }
.stats-choice:nth-child(3) .stats-icon { background: #d9f2ea; color: #06604b; }
.stats-choice:nth-child(4) .stats-icon { background: #eee5ff; color: #563b83; }
.stats-choice strong { font-size: clamp(1.05rem,2vw,1.65rem); line-height: 1.1; overflow-wrap: anywhere; }
.stats-label { font-size: .79rem; line-height: 1.22; overflow-wrap: anywhere; }
.stats-detail { display: flex; align-items: center; gap: .75rem; margin-top: .75rem; padding: .65rem; border: 1px solid #deebf7; border-radius: 12px; background: #fff; }
.stats-ring {
  display: grid; place-items: center; flex: 0 0 66px; aspect-ratio: 1; border-radius: 50%;
  background: conic-gradient(#1760a5 var(--stats-percent),#e4eef9 0);
}
.stats-ring span { display: grid; place-items: center; width: 76%; aspect-ratio: 1; border-radius: 50%; background: #fff; font-weight: 750; font-size: .83rem; }
.stats-detail-copy p { margin: .2rem 0 0; color: #36516e; font-size: .85rem; }
@media(max-width:1100px) { .stats-choices { grid-template-columns: repeat(2,minmax(0,1fr)); } }

.directory-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: .75rem; }
.directory-actions .button { display: inline-flex; gap: .4rem; align-items: center; }
.user-directory td:first-child { white-space: normal; overflow-wrap: anywhere; }
.setting-panel { align-self: start; }
.setting-panel summary { font-size: 1rem; }
.setting-panel summary span { color: #516781; font-size: .78rem; font-weight: 550; margin-inline-start: .3rem; }
.setting-panel[open] summary { margin-bottom: .75rem; }
.sla-setting { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: .5rem; align-items: end; margin-bottom: .55rem; }

.performance-stats .stats-choice:last-child { grid-column: 1/-1; grid-template-columns: auto 1fr auto; align-items: center; gap: .5rem; }
.performance-stats .stats-choice:last-child strong { grid-column: 3; grid-row: 1; }
.performance-stats .stats-choice:last-child .stats-label { grid-column: 2; grid-row: 1; }

.campus-location {
  display: grid; grid-template-columns: minmax(200px,.8fr) minmax(0,1.5fr);
  align-items: center; gap: clamp(14px,3vw,36px); margin-top: 18px;
}
.campus-location address { font-style: normal; color: #314869; line-height: 1.6; }
.campus-location-links { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem; margin-top: 1rem; }
.campus-location-links a:not(.button) { font-weight: 700; text-decoration: underline; }
.campus-map { display: block; width: 100%; height: clamp(240px,27vw,320px); border: 1px solid #d5e2f1; border-radius: 13px; background: #eaf2fc; }
.footer-brand p { font-size: .88rem; margin: 0; }
@media(max-width:720px) {
  .campus-location { grid-template-columns: minmax(0,1fr); }
}

.workbench { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding: clamp(16px,2.6vw,32px); border-radius: 16px; border: 1px solid #d7e5f4; background: linear-gradient(125deg,#fff,#e7f1fe); }
.workbench p { margin: .35rem 0 0; color: #36516e; }
.work-queue { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: .55rem; }
.work-queue a { display: flex; justify-content: space-between; gap: .4rem; padding: .7rem; font-weight: 700; }
.dashboard-filters summary { font-weight: 750; }
.dashboard-filters[open] summary { margin-bottom: .7rem; }
.ticket-owner { padding: .65rem .8rem; border-radius: 9px; background: #eef5ff; overflow-wrap: anywhere; }
.ticket-owner p { margin: .2rem 0 0; }
@media(max-width:750px) { .work-queue { grid-template-columns: repeat(2,minmax(0,1fr)); } }

.report-period-form { display: flex; flex-wrap: wrap; align-items: end; gap: .6rem; }
@media(max-width:480px) {
  .report-period-form > label { flex: 1 1 130px; }
  .report-period-form > button { width: 100%; }
}

.mobile-app-nav,.drawer-backdrop { display: none; }
.sidebar {
  align-self: start; position: sticky; top: 0; max-height: 100dvh; min-height: calc(100dvh - 85px);
  overflow-y: auto; justify-content: flex-start; padding: .7rem .55rem;
  background: linear-gradient(155deg,#123f72,#08254b 72%);
}
.sidebar-head { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-bottom: .22rem; }
.sidebar-role { padding: .4rem .55rem; margin: 0; font-size: .9rem; overflow-wrap: anywhere; }
.sidebar nav { gap: .35rem; }
.sidebar-group { min-width: 0; display: grid; gap: .14rem; }
.sidebar-group-label { padding: .42rem .55rem .1rem; margin: 0; color: #c1d5eb; font-size: .71rem; font-weight: 700; letter-spacing: .035em; }
.sidebar a { min-height: 36px; display: grid; grid-template-columns: 1.1rem minmax(0,1fr); gap: .45rem; padding: .4rem .5rem; font-size: .85rem; line-height: 1.18; }
.sidebar a span { font-size: inherit; overflow-wrap: anywhere; }
.sidebar a .nav-icon { font-size: 1.07rem; text-align: center; color: #bcd9f5; }
.sidebar a:hover { background: #ffffff20; }
.sidebar a.active { background: #edf5ff; color: #08254b; box-shadow: inset 3px 0 #d81931; }
.sidebar a.active .nav-icon { color: #174b81; }
.sidebar .sign-out { margin: .5rem 0 0; padding: .5rem .2rem 0; }
.sidebar .sign-out button { font-size: .85rem; min-height: 40px; }
.sidebar .institution { padding: .6rem .15rem .2rem; margin-top: auto; }
.sidebar .institution img { width: min(115px,90%); height: auto; mix-blend-mode: lighten; }
.sidebar .sidebar-credit { max-width: 25ch; margin: .7rem auto .1rem; color: #bed4eb; font-size: .68rem; font-weight: 400; line-height: 1.45; letter-spacing: 0; text-wrap: balance; }
.role-guide-list { list-style: none; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin: .85rem 0 0; padding: 0; }
.role-guide-list li { display: grid; grid-template-columns: auto minmax(0,1fr); gap: .7rem; align-items: start; }
.role-guide-list h2 { font-size: 1.1rem; }
.role-guide-list p { color: #36516e; }
.role-guide-list a { display: inline-flex; align-items: center; min-height: 40px; font-weight: 700; }
.guide-number { display: grid; place-items: center; width: 29px; aspect-ratio: 1; border-radius: 8px; font-weight: 800; color: #a71a34; background: #ffedf0; }
@media(max-width:800px) {
  .portal-page { padding-bottom: calc(62px + env(safe-area-inset-bottom)); }
  .portal-page .masthead { position: sticky; top: 0; }
  .drawer-open { overflow: hidden; }
  .drawer-backdrop { display: block; position: fixed; inset: 0; z-index: 8; background: #061d3c86; }
  .drawer-open .sidebar {
    position: fixed; z-index: 9; inset: 0 auto 0 0; width: min(320px,calc(100vw - 30px)); height: 100dvh; min-height: 0; max-height: none;
    padding: .65rem .65rem max(.65rem,env(safe-area-inset-bottom)); box-shadow: 14px 0 35px #061d3c60;
  }
  .drawer-open .sidebar-head { position: sticky; top: -.65rem; background: #123b68; z-index: 1; border-radius: 8px; }
  .drawer-open .sidebar .institution { display: block; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid #ffffff26; }
  .drawer-close { min-width: 44px; min-height: 44px; background: #ffffff18; padding: 0; font-size: 1.35rem; }
  .sidebar a { min-height: 44px; }
  .mobile-app-nav {
    display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); position: fixed; z-index: 3; bottom: 0; inset-inline: 0;
    background: #fff; border-top: 1px solid #d2e3f4; box-shadow: 0 -4px 16px #14385817;
    padding: .28rem .25rem max(.28rem,env(safe-area-inset-bottom));
  }
  .mobile-app-nav a {
    display: grid; place-items: center; align-content: center; gap: .16rem; min-height: 48px;
    color: #355575; border-radius: 10px; font-size: .74rem; line-height: 1.1; font-weight: 700;
  }
  .mobile-app-nav a span { font-size: 1.1rem; }
  .mobile-app-nav a[aria-current="page"] { background: #eaf3ff; color: #073367; }
  .portal-page .chat-launch { bottom: calc(68px + env(safe-area-inset-bottom)); }
}
@media(max-width:540px) { .role-guide-list { grid-template-columns: minmax(0,1fr); } }

@media (min-width: 801px) {
  .portal-page .sidebar {
    height: 100vh;
    height: 100dvh;
    min-height: 0;
    overflow: hidden;
  }
  .portal-page .sidebar nav {
    flex: 1 1 auto;
    min-height: 0;
    align-content: start;
    overflow-y: auto;
    overscroll-behavior-y: contain;
    scrollbar-width: thin;
    padding: .15rem;
  }
  .portal-page .sidebar-head,
  .portal-page .sidebar .sign-out,
  .portal-page .sidebar .institution { flex: 0 0 auto; }
  .portal-page .sidebar .institution {
    border-top: 1px solid #ffffff26;
    margin-top: .5rem;
    padding-top: .65rem;
  }
  .portal-page .sidebar a:focus-visible { outline-offset: -2px; }
}

.ticket-select-field { display: grid; gap: .35rem; min-width: 0; }
.ticket-select-control { position: relative; min-width: 0; }
.ticket-select-control select {
  display: block; appearance: none; min-height: 46px;
  padding: .68rem 2.6rem .68rem .8rem; border-color: #8daaca;
  background: #fff; cursor: pointer;
}
.ticket-select-control select:hover { border-color: #315e90; }
.ticket-select-control::after {
  content: ""; position: absolute; top: 50%; right: 1rem;
  width: .55rem; height: .55rem; margin-top: -.35rem; border: solid #174b81;
  border-width: 0 2px 2px 0; transform: rotate(45deg); pointer-events: none;
}
@media (forced-colors: active) {
  .ticket-select-control select { appearance: auto; }
  .ticket-select-control::after { display: none; }
}

.ticket-progress { margin-bottom: 1rem; }
.progress-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .55rem; margin-bottom: 1rem; }
.progress-heading h2 { margin: 0; }
.progress-steps { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,105px),1fr)); gap: .5rem; list-style: none; padding: 0; margin: 0; }
.progress-step { min-width: 0; display: flex; flex-direction: column; gap: .45rem; position: relative; border-top: 3px solid #d8e4f0; border-radius: 5px; padding: .55rem .35rem; overflow-wrap: anywhere; }
.progress-step strong { font-size: .9rem; }
.progress-step small,.progress-step time { display: block; margin-top: .18rem; font-size: .75rem; color: #415c76; }
.progress-marker { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; color: var(--navy); background: #edf3fa; font-size: .8rem; font-weight: 750; }
.progress-recorded { border-color: #29967b; }
.progress-recorded .progress-marker { background: #ddf3eb; color: #0b6652; }
.progress-current { border-color: #1766b1; background: #eaf3ff; }
.progress-current .progress-marker { background: #0b4b88; color: #fff; }
@media(max-width:620px) {
  .progress-steps { grid-template-columns: minmax(0,1fr); gap: .3rem; }
  .progress-step { display: grid; grid-template-columns: 28px minmax(0,1fr); align-items: center; border-top: 0; border-left: 3px solid #d8e4f0; padding: .4rem .55rem; }
  .progress-recorded { border-color: #29967b; }
  .progress-current { border-color: #1766b1; }
  .progress-step time { display: inline-block; }
}

.directory-photo { width: 5rem; height: 5rem; object-fit: cover; border-radius: 50%; }
.directory-initial { display: grid; place-items: center; background: #e3effb; color: #08254b; font-size: 2rem; font-weight: 700; }
.qr-poster { margin-inline: auto; text-align: center; max-width: 42rem; overflow-wrap: anywhere; }
.qr-brand { display: block; width: min(100%, 23rem); height: auto; margin: 0 auto 1.5rem; }
.qr-code { display: block; width: min(100%, 17rem); height: auto; margin: 1rem auto; image-rendering: pixelated; }
@media print {
  body.location-print { background: #fff; }
  .location-print body { color: #08254b; }
  .location-print .qr-poster { position: absolute; inset: 15mm 10mm auto; width: auto; max-width: none; box-shadow: none; border: 0; background: #fff; }
  .location-print .qr-poster h2 { font-size: 30pt; }
  .location-print .qr-code { width: 90mm; }
  .location-print * { visibility: hidden; }
  .location-print .qr-poster, .location-print .qr-poster * { visibility: visible; }
  .location-print #print-location { display: none; }
  .location-print :has(> .qr-poster) > :not(.qr-poster) { display: none; }
  .location-print .sidebar, .location-print .masthead, .location-print .mobile-app-nav { display: none; }
}
@page location-poster { size: A4; margin: 12mm; }
@media print {
  body.location-print { page: location-poster; color: #08254b; }
  .location-print .portal-layout, .location-print main { display: block; overflow: visible; margin: 0; padding: 0; min-height: 0; }
}

.unit-toolbar,.unit-filters,.unit-row,.unit-mapping { display: grid; align-items: end; gap: .75rem; }
.unit-toolbar { grid-template-columns: 1fr auto; align-items: center; margin-bottom: 1rem; }
.unit-toolbar h2,.unit-toolbar p,.unit-row p { margin: 0; }
.unit-toolbar p,.unit-row small { color: #375373; }
.unit-filters { grid-template-columns: minmax(10rem,2fr) minmax(9rem,1fr) auto auto; }
.unit-filters a { align-self: center; }
.unit-list { margin: 1rem 0; padding: 0; list-style: none; }
.unit-row { grid-template-columns: minmax(0,1fr) auto auto; align-items: center; padding: .8rem .25rem; border-top: 1px solid #dbe6f2; }
.unit-row > div { overflow-wrap: anywhere; }
.unit-row > div p { margin-top: .15rem; }
.unit-row .button { white-space: nowrap; }
.unit-settings > form { margin-top: 1rem; }
.unit-mapping { grid-template-columns: minmax(0,1fr) auto; }
@media (max-width: 620px) {
  .unit-toolbar,.unit-filters,.unit-mapping { grid-template-columns: minmax(0,1fr); }
  .unit-toolbar { gap: .35rem; }
  .unit-row { grid-template-columns: minmax(0,1fr) auto; }
  .unit-row > div { grid-column: 1 / -1; }
  .unit-row .status { justify-self: start; }
}

.dashboard-icon { display: block; flex: none; }
.portal-page .nav-icon { display: grid; place-items: center; }
.portal-page .workspace .workbench {
  background: #fff;
  border-color: #dfe8f2;
  padding: clamp(14px,2vw,24px);
  gap: .7rem;
}
.portal-page .workspace .card {
  background: #fff;
  border-color: #dfe8f2;
  box-shadow: 0 2px 8px #1438580b;
}
.portal-page .sidebar { background: #0c2b50; }
.portal-page .sidebar-group-label { color: #bfd2e8; }
.portal-page .mobile-app-nav { box-shadow: 0 -2px 8px #14385810; }
.archive-count { margin: 0 0 .7rem; color: #405874; }
.archive-table td { vertical-align: middle; }
.archive-table .archive-actions { white-space: nowrap; }
.archive-actions > * { vertical-align: middle; }
.dashboard-icon-button {
  display: inline-grid;
  place-items: center;
  min-width: 44px;
  min-height: 44px;
  border: 1px solid #dce7f2;
  border-radius: 8px;
  background: #fff;
  color: #143e72;
  cursor: pointer;
}
.dashboard-icon-button:hover { background: #edf5ff; }
.archive-delete { display: inline-block; margin-inline-start: .3rem; }
.archive-delete summary { list-style: none; }
.archive-delete summary::-webkit-details-marker { display: none; }
.dashboard-icon-delete { color: #a3273e; }
.dashboard-icon-delete:hover,.archive-delete[open] summary { background: #fff1f3; }
.archive-delete[open] { display: block; margin: .35rem 0 0; }
.archive-confirm {
  white-space: normal;
  background: #fff6f7;
  border: 1px solid #efd9df;
  border-radius: 8px;
  margin-top: .35rem;
  padding: .65rem;
  min-width: min(13rem,100%);
}
@media (max-width: 750px) {
  .archive-table .archive-delete[open] { flex-basis: 100%; }
}

.portal-page .sidebar-group + .sidebar-group { margin-top: .25rem; }
.portal-page .sidebar .logout-button {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: .55rem;
  min-height: 44px;
  width: 100%;
  padding: .45rem .65rem;
  background: transparent;
  border: 1px solid #a9c4df59;
  border-radius: 8px;
  color: #fff;
}
.portal-page .sidebar .logout-button:hover { background: #ffffff16; }
.guide-heading { margin-bottom: 1rem; }
.guide-steps li { padding: .85rem; gap: .7rem; }
.guide-copy h3 { line-height: 1.25; }
.guide-copy a { align-self: flex-start; }
.role-guide-list .guide-number { color: #1b4b7c; background: #edf4fc; }
.role-guide-hero { padding: clamp(1.1rem,2.5vw,1.8rem); background: linear-gradient(125deg,#fff 45%,#edf5ff); }
.role-guide-eyebrow { margin: 0 0 .3rem; color: #b50c26; font-size: .7rem; font-weight: 700; letter-spacing: .13em; }
.role-guide-hero h1 { margin: 0; }
.role-guide-hero p:not(.role-guide-eyebrow) { margin: .35rem 0 0; color: #385675; }
.role-guide-actions { display: flex; flex-wrap: wrap; gap: .5rem .8rem; margin-top: .9rem; }
.role-guide-actions a { display: inline-flex; align-items: center; min-height: 38px; padding: .45rem .8rem; border: 1px solid #c9dbef; border-radius: 9px; color: #0c427f; background: #fff; text-decoration: none; font-size: .87rem; font-weight: 600; }
.role-guide-actions a:hover { background: #e9f3ff; border-color: #8db6e2; }
.role-levels-heading { margin-bottom: .9rem; }
.role-levels-heading h2 { margin: 0; }
.role-levels-heading p { margin: .25rem 0 0; color: #506a85; font-size: .88rem; }
.role-level-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .75rem; }
.role-level-card { position: relative; min-width: 0; padding: 1rem; border: 1px solid #d7e5f3; border-radius: 12px; background: #f8fbff; }
.role-level-card.is-current { border-color: #98bde1; background: #edf6ff; box-shadow: inset 3px 0 #c8102e; }
.role-level-index { color: #b60e28; font-size: .72rem; font-weight: 700; letter-spacing: .08em; }
.role-level-card h3 { margin: .35rem 0 .28rem; color: #092d5b; font-size: 1rem; }
.role-level-card p { margin: 0; color: #3e5875; font-size: .88rem; line-height: 1.45; }
.role-current { display: inline-block; margin-top: .7rem; padding: .22rem .5rem; border-radius: 99px; background: #d7eaff; color: #0b4c8b; font-size: .72rem; font-weight: 700; }
@media (max-width: 900px) { .role-level-grid { grid-template-columns: 1fr; } }
@media (min-width: 541px) and (max-width: 1000px) {
  .guide-steps { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

.site-footer .footer-links a,
.site-footer address a,
.site-footer .footer-end a { text-decoration: none; }
.site-footer .footer-links a {
  cursor: pointer;
  min-height: 27px;
  color: #e2edf9;
  font-weight: 400;
  line-height: 1.3;
}
.site-footer .footer-links a:hover,
.site-footer address a:hover,
.site-footer .footer-end a:hover { color: #bdddff; }
.site-footer a:focus-visible { outline: 2px solid #bdddff; outline-offset: 3px; border-radius: 3px; }
@media (max-width: 800px) {
  .site-footer .footer-links a { min-height: 32px; }
}

.site-footer .footer-description { max-width: 36ch; margin-top: .45rem; line-height: 1.5; }


.public-nav a { font-weight: 400; }
.public-nav a[aria-current="page"] { text-decoration-thickness: 1px; }
.public-nav .nav-register {
  padding-inline: .75rem;
  border-radius: 8px;
  background: #e9f3ff;
  color: #0d315a;
}
.public-nav .nav-register:hover,
.public-nav .nav-register[aria-current="page"] { background: #d6e8fb; }
.public-nav .nav-help { position: relative; align-self: center; margin: 0; padding: 0; border: 0; border-radius: 0; }
.public-nav .nav-help summary { display: inline-flex; align-items: center; gap: .4rem; min-height: 40px; color: #fff; font-weight: 400; cursor: pointer; list-style: none; }
.public-nav .nav-help summary::-webkit-details-marker { display: none; }
.public-nav .nav-help summary::after { content: ''; width: .42rem; height: .42rem; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); margin-top: -.2rem; transition: transform .15s; }
.public-nav .nav-help[open] summary::after { transform: rotate(225deg); margin-top: .2rem; }
.public-nav .nav-help summary:hover,.public-nav .nav-help summary[aria-current="page"] { color: #d5e8ff; }
.public-nav .nav-help summary:focus-visible { outline: 2px solid #fff; outline-offset: 4px; border-radius: 3px; }
.public-nav .nav-help-menu { position: absolute; z-index: 5; top: calc(100% + .35rem); left: -.7rem; min-width: 12.5rem; display: grid; gap: .1rem; padding: .4rem; border: 1px solid #cfdef0; border-radius: 10px; background: #fff; box-shadow: 0 12px 28px #071f3c30; }
.public-nav .nav-help-menu a { min-height: 38px; padding: .45rem .6rem; border-radius: 7px; color: #123c69; font-size: .88rem; text-decoration: none; }
.public-nav .nav-help-menu a:hover,.public-nav .nav-help-menu a[aria-current="page"] { background: #eaf3ff; }
@media (max-width: 800px) {
  .public-nav .nav-help { align-self: stretch; }
  .public-nav .nav-help summary { width: 100%; min-height: 44px; padding: .5rem .65rem; border-radius: 8px; font-size: .94rem; }
  .public-nav .nav-help summary:hover,.public-nav .nav-help[open] summary { background: #164477; color: #fff; }
  .public-nav .nav-help-menu { position: static; min-width: 0; margin: .2rem 0 .3rem .45rem; padding: .15rem 0 .15rem .5rem; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
  .public-nav .nav-help-menu a { color: #eaf3ff; }
  .public-nav .nav-help-menu a:hover,.public-nav .nav-help-menu a[aria-current="page"] { background: #164477; color: #fff; }
}

.profile-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.45fr); gap: 1rem; align-items: start; max-width: 66rem; }
.profile-identity { display: grid; grid-template-columns: auto minmax(0,1fr); align-items: center; gap: .85rem; }
.profile-identity .avatar { width: clamp(52px,7vw,74px); height: clamp(52px,7vw,74px); }
.profile-identity h2,.profile-identity p { overflow-wrap: anywhere; margin-bottom: .35rem; }
.profile-summary .profile-settings { margin-top: 1rem; }
.profile-settings summary { min-height: 44px; padding-block: .6rem; font-weight: 650; }
.profile-settings[open] > summary { margin-bottom: .35rem; }
.profile-settings form + form { margin-top: .75rem; }
.profile-grid input { min-width: 0; max-width: 100%; }
@media (max-width: 700px) {
  .profile-grid { grid-template-columns: minmax(0,1fr); gap: .75rem; }
}

.directory-user { display: grid; grid-template-columns: 36px minmax(0,1fr); align-items: center; gap: .65rem; min-width: 0; }
.directory-user .directory-photo { width: 36px; height: 36px; }
.directory-user .directory-initial { font-size: 1rem; }
.directory-user > div { overflow-wrap: anywhere; }
