@font-face { font-family: 'InterLocal'; src: url('inter.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
:root {
  --navy: #0E2236; --navy-2: #1B3A5B; --ink: #14202E; --ink-2: #4A5867; --ink-3: #5F6C7A;
  --cream: #FFFFFF; --paper: #F6F8FA; --white: #fff; --line: #D9DFE5; --line-2: #E9EDF1;
  --green: #22714F; --green-soft: #E4F1EA; --gold: #C8A24A; --gold-soft: #F7EFD9; --red: #B3261E; --red-soft: #FBE9E7;
  --violet: #5650C4;
  --r: 14px; --r-sm: 10px;
  --shadow: 0 1px 2px rgba(14,34,54,.05), 0 6px 20px -8px rgba(14,34,54,.12);
  --side: 264px; --rail: 72px;
  --font: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'InterLocal', Inter, 'Segoe UI', system-ui, sans-serif;
  --display: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'InterLocal', Inter, system-ui, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: var(--font); color: var(--ink); background: var(--cream); font-size: 15px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
body.locked { overflow: hidden; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
kbd { font: 600 11px/1 var(--font); padding: 4px 6px; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 6px; color: var(--ink-3); background: var(--white); }
.eyebrow { font: 600 11.5px/1.2 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--green); margin: 0 0 8px; }
.muted { color: var(--ink-3); font-weight: 400; }
.empty { color: var(--ink-3); padding: 20px 0; margin: 0; }

.poc { position: fixed; bottom: 0; left: 0; right: 0; z-index: 75; height: 26px; line-height: 26px; background: #FFF4CF; color: #5E4700; font-size: 12px; font-weight: 600; text-align: center; white-space: nowrap; }
body { padding-bottom: 26px; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; background: var(--navy); color: #fff; border: 0; border-radius: 10px; padding: 11px 18px; font-weight: 600; font-size: 14.5px; transition: background .15s, transform .15s; }
.btn:hover { background: var(--navy-2); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 17px; height: 17px; }
.btn.danger { background: var(--white); color: var(--red); border: 1px solid #EBC9C5; width: 100%; justify-content: center; margin-top: 8px; }
.btn.danger:hover { background: var(--red-soft); }
.btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }
.btn-ghost { display: inline-flex; align-items: center; gap: 8px; background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 10px 16px; font-weight: 600; font-size: 14px; }
.btn-ghost:hover { border-color: #CFC9BB; }
.btn-ghost svg { width: 17px; height: 17px; }
.btn-sm { background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 6px 12px; font-weight: 600; font-size: 13px; }
.btn-sm:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.link { display: inline-flex; align-items: center; gap: 4px; color: var(--green); font-weight: 600; font-size: 13.5px; background: none; border: 0; padding: 0; }
.link svg { width: 15px; height: 15px; }
.link:hover { text-decoration: underline; }

/* ============ sign in ============ */
.btn-google { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; padding: 15px 20px; background: var(--white); border: 1px solid #D5CFC2; border-radius: 12px; font-weight: 600; font-size: 15.5px; box-shadow: var(--shadow); transition: border-color .15s, transform .15s; }
.btn-google:hover { border-color: var(--navy); transform: translateY(-1px); }
.btn-google svg { width: 22px; height: 22px; stroke: none; }
/* modals */
.modal { position: fixed; inset: 0; z-index: 80; background: rgba(14,34,54,.32); backdrop-filter: blur(3px); display: grid; place-items: center; padding: 16px; animation: fade .18s ease; }
@keyframes fade { from { opacity: 0; } }
.modal-card { background: var(--white); border-radius: 18px; box-shadow: 0 30px 80px -20px rgba(14,34,54,.45); width: min(560px, 100%); padding: 28px; animation: pop .22s cubic-bezier(.2,.8,.2,1); max-height: calc(100vh - 32px); overflow: auto; }
@keyframes pop { from { transform: translateY(8px) scale(.98); opacity: 0; } }
.modal-card h2 { font: 700 22px/1.25 var(--display); margin: 0 0 6px; letter-spacing: -.01em; }
.chooser .muted { margin: 0 0 18px; font-size: 14px; }
.personas { display: grid; gap: 8px; margin-bottom: 18px; }
.persona { display: flex; align-items: center; gap: 14px; text-align: left; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); transition: border-color .15s, background .15s; }
.persona:hover { border-color: var(--navy); background: var(--paper); }
.p-t { flex: 1; display: grid; min-width: 0; }
.p-t b { font-size: 14.5px; }
.p-t small { color: var(--ink-3); font-size: 12.5px; }
.p-t em { font-style: normal; color: var(--ink-2); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.p-n { font-size: 12px; font-weight: 600; color: var(--green); background: var(--green-soft); padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.av { --tone: var(--navy); width: 38px; height: 38px; border-radius: 50%; background: var(--tone); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 13.5px; flex: none; letter-spacing: .02em; }
.av.lg { width: 52px; height: 52px; font-size: 17px; }
.av.sm { width: 28px; height: 28px; font-size: 11px; }

/* ============ shell ============ */
.shell { display: grid; grid-template-columns: var(--side) 1fr; min-height: 100vh; transition: grid-template-columns .25s cubic-bezier(.2,.8,.2,1); }
body.rail .shell { grid-template-columns: var(--rail) 1fr; }
.side { position: sticky; top: 0; height: calc(100vh - 26px); background: var(--paper); border-right: 1px solid var(--line); display: flex; flex-direction: column; overflow: hidden; }
.side-head { display: flex; align-items: center; gap: 12px; padding: 20px 18px 18px; border-bottom: 1px solid var(--line-2); min-height: 76px; }
.side-emblem { width: 38px; height: 38px; flex: none; }
.side-name { display: grid; white-space: nowrap; }
.side-name b { font: 800 15px/1.2 var(--display); color: var(--navy); letter-spacing: -.01em; }
.side-name span { font-size: 12px; color: var(--ink-3); }
.nav { flex: 1; overflow-y: auto; overflow-x: hidden; padding: 12px 12px; }
.nav-sep { font: 600 10.5px var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin: 18px 10px 6px; white-space: nowrap; }
.nav-a { position: relative; display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 10px; color: var(--ink-2); font-weight: 500; font-size: 14.5px; white-space: nowrap; margin-bottom: 2px; }
.nav-a:hover { background: var(--line-2); color: var(--ink); }
.nav-a.on { background: var(--white); color: var(--navy); font-weight: 650; box-shadow: var(--shadow); }
.nav-a.on::before { content: ''; position: absolute; left: -12px; top: 9px; bottom: 9px; width: 3px; border-radius: 0 3px 3px 0; background: var(--green); }
.nav-ai { width: 22px; height: 22px; border-radius: 6px; flex: none; }
.nav-l { flex: 1; }
.cnt { min-width: 22px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--line-2); color: var(--ink-2); font-size: 11.5px; display: grid; place-items: center; }
.cnt.hot { background: var(--red); color: #fff; }
.side-foot { border-top: 1px solid var(--line-2); padding: 10px 12px; }
.collapse { display: flex; align-items: center; gap: 12px; width: 100%; padding: 9px 12px; border: 0; background: none; border-radius: 10px; color: var(--ink-3); font-size: 13.5px; white-space: nowrap; }
.collapse:hover { background: var(--line-2); color: var(--ink); }
.collapse span { flex: 1; text-align: left; }
.collapse svg { transition: transform .25s; }
/* rail */
body.rail .side-name, body.rail .nav-l, body.rail .nav-sep, body.rail .collapse span, body.rail .collapse kbd { display: none; }
body.rail .side-head { justify-content: center; padding: 20px 0 18px; }
body.rail .nav-a { justify-content: center; padding: 10px 0; }
body.rail .nav-sep { display: block; height: 1px; background: var(--line); margin: 12px 8px; font-size: 0; }
body.rail .cnt { position: absolute; top: 3px; right: 6px; min-width: 9px; width: 9px; height: 9px; padding: 0; font-size: 0; background: var(--green); box-shadow: 0 0 0 2px var(--paper); }
body.rail .cnt.hot { background: var(--red); }
body.rail .collapse { justify-content: center; }
body.rail .collapse svg { transform: rotate(180deg); }
body.rail .nav-a::after { content: attr(data-tip); position: fixed; left: calc(var(--rail) + 6px); transform: translateY(0); background: var(--navy); color: #fff; font-size: 12.5px; font-weight: 600; padding: 6px 10px; border-radius: 8px; opacity: 0; pointer-events: none; transition: opacity .12s; white-space: nowrap; z-index: 50; }
body.rail .nav-a:hover::after { opacity: 1; }

.main { min-width: 0; display: flex; flex-direction: column; }
.top { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 16px; padding: 14px 32px; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); min-height: 76px; }
.search { flex: 1; max-width: 560px; display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; color: var(--ink-3); font-size: 14px; text-align: left; }
.search:hover { border-color: #CFC9BB; }
.search span { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.top-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.sso-pill { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; color: var(--green); background: var(--green-soft); padding: 6px 12px; border-radius: 999px; white-space: nowrap; }
.sso-pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(34,113,79,.18); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(34,113,79,.05); } }
.icon-btn { position: relative; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); background: var(--white); display: grid; place-items: center; color: var(--ink-2); }
.icon-btn:hover { color: var(--ink); border-color: #CFC9BB; }
.bell b { position: absolute; top: -5px; right: -5px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: var(--red); color: #fff; font-size: 11px; display: grid; place-items: center; border: 2px solid var(--cream); }
.me { display: flex; align-items: center; gap: 10px; background: none; border: 0; padding: 4px 6px 4px 4px; border-radius: 12px; text-align: left; }
.me:hover { background: var(--line-2); }
.me-t { display: grid; line-height: 1.25; }
.me-t b { font-size: 13.5px; white-space: nowrap; }
.me-t small { font-size: 12px; color: var(--ink-3); white-space: nowrap; }
.mobile-only { display: none; }

.view { padding: 32px 32px 96px; max-width: 1320px; width: 100%; margin: 0 auto; outline: none; animation: rise .3s cubic-bezier(.2,.8,.2,1); }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } }
.vh { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 26px; flex-wrap: wrap; }
.vh h1 { font: 800 34px/1.1 var(--display); letter-spacing: -.025em; margin: 0; color: var(--navy); }
.vh-sub { color: var(--ink-2); margin: 10px 0 0; max-width: 680px; }
.kpis { display: flex; gap: 10px; }
.kpis div { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 10px 18px; text-align: center; min-width: 92px; }
.kpis b { display: block; font: 800 24px/1.1 var(--display); color: var(--navy); }
.kpis small { color: var(--ink-3); font-size: 12px; }

/* hero */
.hero { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 32px 36px; margin-bottom: 28px; position: relative; overflow: hidden; box-shadow: var(--shadow); }
.hero::before { content: ''; position: absolute; right: -80px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, var(--green-soft), transparent 68%); }
.hero > * { position: relative; }
.hero h1 { font: 800 40px/1.05 var(--display); letter-spacing: -.03em; color: var(--navy); margin: 0 0 12px; }
.hero-sub { color: var(--ink-2); font-size: 16px; margin: 0 0 22px; max-width: 560px; }
.hero-sub b { color: var(--ink); }
.hero-act { display: flex; gap: 10px; flex-wrap: wrap; }
.idcard { width: 340px; border-radius: 16px; background: linear-gradient(150deg, #FFFFFF 0%, var(--paper) 100%); border: 1px solid var(--line); padding: 18px 20px; box-shadow: 0 18px 40px -24px rgba(14,34,54,.5); }
.id-top { display: flex; align-items: center; gap: 10px; font: 700 11px var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); padding-bottom: 14px; border-bottom: 1px dashed var(--line); }
.id-top img { width: 26px; }
.id-mid { display: flex; gap: 14px; align-items: center; padding: 16px 0; }
.id-mid > div { display: grid; min-width: 0; }
.id-mid b { font-size: 16px; }
.id-mid small { color: var(--ink-3); font-size: 12.5px; }
.id-bot { display: flex; justify-content: space-between; align-items: center; font: 600 12px var(--font); color: var(--ink-2); padding-top: 12px; border-top: 1px dashed var(--line); gap: 8px; }
.ok { display: inline-flex; align-items: center; gap: 4px; color: var(--green); font-weight: 600; }
.ok svg { width: 15px; height: 15px; stroke-width: 2.4; }

/* blocks and cards */
.block { margin-bottom: 28px; }
.bh { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.bh h2 { font: 700 18px/1.3 var(--display); letter-spacing: -.01em; margin: 0; color: var(--navy); }
.bh .muted { font-size: 13px; }
.with-ic { display: flex !important; align-items: center; gap: 10px; }
.cols { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; margin-bottom: 28px; align-items: stretch; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 24px; box-shadow: var(--shadow); margin-bottom: 20px; }
.cols .card { margin-bottom: 0; }

.actions { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); grid-auto-rows: 1fr; gap: 10px; }
.action { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; font-weight: 600; font-size: 13.5px; text-align: left; transition: border-color .15s, transform .15s, box-shadow .15s; }
.action:hover { border-color: var(--navy); transform: translateY(-1px); box-shadow: var(--shadow); }
.ai { width: 32px; height: 32px; border-radius: 9px; flex: none; }

.tasks, .notes, .events, .dir { list-style: none; margin: 0; padding: 0; }
.task { display: flex; align-items: center; gap: 14px; padding: 13px 0; border-top: 1px solid var(--line-2); }
.task:first-child { border-top: 0; padding-top: 4px; }
.task-t { flex: 1; display: grid; min-width: 0; }
.kind { font: 600 11px var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.task-t b { font-size: 14.5px; font-weight: 600; }
.task-t small { color: var(--ink-3); font-size: 13px; }
.due { font-size: 12px; font-weight: 600; color: var(--ink-2); background: var(--line-2); padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.due.hot { background: var(--gold-soft); color: #7A5A0C; }
.due.late { background: var(--red-soft); color: var(--red); }
.note { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-top: 1px solid var(--line-2); }
.note:first-child { border-top: 0; padding-top: 4px; }
.note > div { flex: 1; min-width: 0; }
.note p { margin: 0; font-size: 14px; }
.note small { color: var(--ink-3); font-size: 12.5px; }
.note .ai { width: 30px; height: 30px; }
.note.un p { font-weight: 600; }
.note.un > div::before { content: ''; float: right; width: 8px; height: 8px; border-radius: 50%; background: var(--red); margin: 6px 0 0 8px; }
.notes.big .note { padding: 16px 0; }

.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); grid-auto-rows: 1fr; gap: 12px; }
.tile { display: flex; align-items: center; gap: 14px; padding: 16px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); transition: border-color .15s, transform .15s, box-shadow .15s; position: relative; }
.tile img { width: 52px; height: 52px; border-radius: 13px; flex: none; }
.tile-t { flex: 1; display: grid; min-width: 0; }
.tile-t b { font-size: 15px; }
.tile-t small { color: var(--ink-3); font-size: 12.5px; line-height: 1.4; }
.tile-k { color: var(--ink-3); width: 18px; height: 18px; transition: transform .15s, color .15s; }
.tile:not(.locked):not(.soon):hover { border-color: var(--navy); transform: translateY(-2px); box-shadow: var(--shadow); }
.tile:not(.locked):not(.soon):hover .tile-k { transform: translateX(3px); color: var(--navy); }
.tile.locked { background: var(--paper); cursor: not-allowed; }
.tile.locked img, .tile.soon img { filter: grayscale(1); opacity: .5; }
.tile.soon { background: transparent; border-style: dashed; }
.soon-b { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--violet); background: #ECEBFA; padding: 3px 8px; border-radius: 999px; }

.news-grid { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; }
.news-grid .news.big { grid-row: span 2; }
.news { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--white); }
.news-art { height: 96px; display: grid; place-items: center; position: relative; overflow: hidden; }
.news.big .news-art { height: 170px; }
.news-art img { width: 64px; height: 64px; border-radius: 16px; box-shadow: 0 14px 28px -14px rgba(14,34,54,.6); position: relative; }
.news.big .news-art img { width: 88px; height: 88px; border-radius: 22px; }
.news-art::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(14,34,54,.09) 1.2px, transparent 1.3px); background-size: 14px 14px; }
.art-nsc { background: linear-gradient(135deg, #E7E6FA, #F4E9F2); }
.art-circ { background: linear-gradient(135deg, #E4F1EA, #F1F6E9); }
.art-hosp { background: linear-gradient(135deg, #FBE9E7, #F7EFD9); }
.art-uchpe { background: linear-gradient(135deg, #F3E6EA, #F7EFD9); }
.art-campus { background: linear-gradient(135deg, #E3EEF4, #E4F1EA); }
.art-people { background: linear-gradient(135deg, #F7EFD9, #EFEBE1); }
.news-b { padding: 14px 16px 16px; }
.news-m { font-size: 12px; color: var(--ink-3); margin: 0 0 6px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.tag { font-weight: 700; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--green); background: var(--green-soft); padding: 2px 8px; border-radius: 999px; }
.pin { color: #7A5A0C; }
.news h3 { font: 700 15px/1.35 var(--display); margin: 0 0 6px; color: var(--ink); }
.news.big h3 { font-size: 18px; }
.news p { margin: 0; font-size: 13.5px; color: var(--ink-2); }
.news-grid .news:not(.big) .news-b > p:last-child { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-grid .news:not(.big) .news-art { display: none; }
.news-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); grid-auto-rows: 1fr; gap: 16px; }
.chips { display: flex; gap: 8px; margin-bottom: 18px; flex-wrap: wrap; }
.chip { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); font-size: 13px; font-weight: 600; color: var(--ink-2); }
.chip.on { background: var(--navy); border-color: var(--navy); color: #fff; }

.events li { display: flex; gap: 14px; align-items: center; padding: 11px 0; border-top: 1px solid var(--line-2); }
.events li:first-child { border-top: 0; padding-top: 4px; }
.events .date { width: 50px; height: 54px; border-radius: 10px; background: var(--paper); border: 1px solid var(--line); display: grid; place-items: center; align-content: center; font-size: 11px; font-weight: 600; color: var(--ink-3); text-transform: uppercase; letter-spacing: .06em; line-height: 1.1; flex: none; }
.events .date b { font: 800 20px/1 var(--display); color: var(--navy); letter-spacing: 0; }
.events li > div { display: grid; }
.events li > div b { font-size: 14px; font-weight: 600; }
.events small { color: var(--ink-3); font-size: 12.5px; }
.dir li { display: flex; gap: 14px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line-2); }
.dir li:first-child { border-top: 0; }
.dir li > div { display: grid; }
.dir small { color: var(--ink-3); }

/* sso page */
.flow-row { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; align-items: stretch; gap: 12px; }
.step { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 16px; display: grid; align-content: start; gap: 4px; }
.step .n { width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 700; font-size: 13px; display: grid; place-items: center; margin-bottom: 6px; }
.step b { font-size: 14.5px; }
.step small { color: var(--ink-2); font-size: 13px; }
.flow-ar { display: grid; place-items: center; color: var(--ink-3); }
.acc { width: 100%; border-collapse: collapse; font-size: 14px; }
.acc th { text-align: left; font: 600 11px var(--font); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); padding: 0 0 10px; border-bottom: 1px solid var(--line); }
.acc td { padding: 10px 0; border-bottom: 1px solid var(--line-2); }
.acc td .ai { width: 28px; height: 28px; }
.sess { display: grid; grid-template-columns: auto 1fr; gap: 10px 16px; margin: 0 0 16px; font-size: 13.5px; }
.sess dt { color: var(--ink-3); }
.sess dd { margin: 0; font-weight: 600; word-break: break-word; }

/* popovers */
.pop { position: fixed; z-index: 60; top: 72px; right: 24px; width: 320px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 24px 60px -20px rgba(14,34,54,.4); padding: 8px; animation: pop .18s; }
.mm-h { display: flex; gap: 12px; padding: 12px; border-bottom: 1px solid var(--line-2); margin-bottom: 6px; }
.mm-h > div { display: grid; min-width: 0; }
.mm-h small { color: var(--ink-3); font-size: 12.5px; }
.mm-i { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border: 0; background: none; border-radius: 10px; font-size: 14px; font-weight: 500; text-align: left; }
.mm-i:hover { background: var(--paper); }
.mm-i.danger { color: var(--red); }
.drawer { position: fixed; z-index: 60; top: 72px; right: 24px; width: 400px; animation: pop .18s; }
.drawer-card { background: var(--white); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 24px 60px -20px rgba(14,34,54,.4); padding: 20px; max-height: 70vh; overflow: auto; }

/* palette */
.modal:has(.palette) { place-items: start center; padding-top: 12vh; }
.palette { padding: 0; width: min(640px, 100%); }
.pal-in { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); color: var(--ink-3); }
.pal-in input { flex: 1; border: 0; outline: 0; font: 500 17px var(--font); color: var(--ink); background: none; }
.pal-r { max-height: 56vh; overflow: auto; padding: 8px; }
.pal-g { font: 600 10.5px var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin: 12px 12px 6px; }
.pal-i { display: flex; align-items: center; gap: 12px; width: 100%; padding: 9px 12px; border: 0; background: none; border-radius: 10px; text-align: left; }
.pal-i img, .pal-i .ai { width: 30px; height: 30px; border-radius: 8px; }
.pal-i span { display: grid; }
.pal-i b { font-size: 14px; font-weight: 600; }
.pal-i small { color: var(--ink-3); font-size: 12.5px; }
.pal-i.on, .pal-i:hover { background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.pal-r .empty { padding: 20px 12px; }

/* hand-off */
.handoff { text-align: center; }
.ho-icons { display: flex; align-items: center; justify-content: center; gap: 0; margin: 6px 0 22px; }
.ho-icons img { width: 64px; height: 64px; border-radius: 16px; box-shadow: var(--shadow); background: var(--white); }
.ho-icons img:first-child { padding: 8px; border: 1px solid var(--line); }
.ho-line { width: 110px; height: 2px; background: var(--line); position: relative; overflow: hidden; }
.ho-line i { position: absolute; inset: 0; width: 40%; background: var(--green); animation: slide 1.1s cubic-bezier(.4,0,.2,1) forwards; }
@keyframes slide { from { transform: translateX(-100%); } to { transform: translateX(250%); width: 100%; } }
.handoff h2 { font-size: 20px; }
.handoff h2 .muted { font-weight: 500; }
.ho-steps { list-style: none; padding: 0; margin: 18px auto 22px; display: grid; gap: 10px; text-align: left; max-width: 360px; }
.ho-steps li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-3); transition: color .2s; }
.ho-steps li::before { content: ''; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line); flex: none; transition: all .2s; }
.ho-steps li.done { color: var(--ink); }
.ho-steps li.done::before { border-color: var(--green); background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/12px no-repeat; }
.ho-act { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.ho-note { font-size: 12.5px; color: var(--ink-3); margin: 18px 0 0; }

.toast { position: fixed; z-index: 95; left: 50%; bottom: 56px; transform: translateX(-50%); background: var(--navy); color: #fff; padding: 11px 18px; border-radius: 12px; font-size: 14px; font-weight: 500; box-shadow: 0 16px 40px -14px rgba(14,34,54,.6); animation: pop .2s; max-width: calc(100vw - 32px); }

/* ============ responsive ============ */
@media (max-width: 1180px) {
  .cols { grid-template-columns: 1fr; }
  .flow-row { grid-template-columns: 1fr; }
  .flow-ar { transform: rotate(90deg); }
  .sso-pill { display: none; }
}
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; }
  .idcard { width: 100%; }
}
@media (max-width: 860px) {

  .shell, body.rail .shell { grid-template-columns: 1fr; }
  .side { position: fixed; z-index: 70; left: 0; top: 0; width: 284px; transform: translateX(-100%); transition: transform .25s cubic-bezier(.2,.8,.2,1); box-shadow: 0 0 60px rgba(14,34,54,.3); }
  body.nav-open .side { transform: none; }
  body.rail .side-name { display: grid; } body.rail .nav-l { display: inline; } body.rail .nav-sep { height: auto; background: none; font-size: 10.5px; margin: 18px 10px 6px; } body.rail .nav-a { justify-content: flex-start; padding: 9px 12px; } body.rail .side-head { justify-content: flex-start; padding: 20px 18px 18px; } body.rail .nav-a::after { display: none; }
  .side-foot { display: none; }
  .mobile-only { display: grid; }
  .top { padding: 12px 16px; gap: 10px; min-height: 66px; }
  .search { padding: 10px 12px; }
  .search span, .search kbd, .me-t { display: none; }
  .search { flex: 0 0 42px; justify-content: center; padding: 0; height: 42px; }
  .view { padding: 20px 16px 96px; }
  .hero { padding: 22px 18px; border-radius: 16px; }
  .hero h1 { font-size: 30px; }
  .vh h1 { font-size: 27px; }
  .card { padding: 18px 16px; }
  .tiles, .news-list { grid-template-columns: 1fr; }
  .actions { grid-template-columns: 1fr 1fr; }
  .bh .muted { display: none; }
  .news-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .news-grid .news.big { grid-row: auto; }
  .task { flex-wrap: wrap; }
  .task-t { flex-basis: calc(100% - 50px); }
  .task .due { margin-left: 46px; }
  .task .btn-sm { margin-left: auto; }
  .kpis { width: 100%; }
  .kpis div { flex: 1; min-width: 0; }
  .pop, .drawer { right: 12px; left: 12px; width: auto; top: 68px; }
  .acc th:nth-child(3), .acc td:nth-child(3) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ============ second pass, 30 Nov ============ */
:focus-visible { outline: 2px solid #1F5FA8; outline-offset: 2px; }
.signin { position: relative; min-height: calc(100vh - 26px); background: #fff; overflow: hidden; display: flex; flex-direction: column; }
.si-art { position: absolute; right: 0; bottom: 78px; width: 82%; height: calc(100% - 78px); object-fit: cover; object-position: 100% 88%; }
.signin::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, #fff 34%, rgba(255,255,255,0) 60%), linear-gradient(180deg, #fff 8%, rgba(255,255,255,0) 30%); }
.si-block { position: absolute; z-index: 2; top: 44px; left: clamp(24px, 5vw, 72px); display: flex; align-items: center; gap: 25px; }
.si-block img { width: 94px; height: 94px; object-fit: contain; flex: none; }
.si-block > div { border-left: 2px solid rgba(14,34,54,.18); padding-left: 25px; }
.si-app { font: 800 38px/1.05 var(--display); letter-spacing: -.02em; color: var(--navy); margin: 0; }
.si-uni { font-size: 21px; line-height: 1.3; margin: 6px 0 0; max-width: 34em; color: var(--ink-2); }
.si-panel { position: relative; z-index: 2; margin: auto 0; padding: 190px 24px 130px clamp(24px, 5vw, 72px); width: min(560px, 100%); }
.si-panel h1 { font: 800 clamp(40px, 4.6vw, 64px)/1.02 var(--display); letter-spacing: -.035em; color: var(--navy); margin: 0 0 18px; }
.si-lead { font-size: 18px; line-height: 1.5; color: var(--ink-2); margin: 0 0 28px; max-width: 25em; }
.btn-google { width: auto; padding: 15px 26px; background: var(--navy); color: #fff; border: 0; box-shadow: none; border-radius: 8px; }
.btn-google:hover { background: var(--navy-2); transform: none; }
.btn-google svg { background: #fff; border-radius: 50%; padding: 3px; width: 26px; height: 26px; }
.si-note { font-size: 14px; color: var(--ink-2); margin: 14px 0 0; }
.si-apps { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; background: #fff; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(13, 1fr); padding: 12px clamp(12px, 3vw, 48px); }
.si-apps span { display: grid; justify-items: center; gap: 5px; font-size: 11.5px; font-weight: 600; color: var(--ink-2); text-align: center; line-height: 1.2; }
.si-apps img { width: 34px; height: 34px; border-radius: 9px; }

.side-emblem { object-fit: contain; }
.nav-a.on { background: #E3ECF6; box-shadow: none; }
.nav-a.on::before { display: none; }
.nav-a:hover { background: #ECF0F4; }
.hero, .card, .panel { box-shadow: none; }
.hero { display: block; padding: 0; border-radius: 12px; min-height: 392px; background: #fff; }
.hero::before { display: none; }
.hero > .hero-art { position: absolute; right: 0; top: 0; width: 72%; height: calc(100% - 82px); object-fit: cover; object-position: 50% 44%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 34%); mask-image: linear-gradient(90deg, transparent, #000 34%); }
.hero-l { padding: 52px 40px 36px; min-height: 310px; }
.hero-date { margin: 0 0 12px; font-weight: 600; color: var(--green); }
.hero h1 { font-size: 46px; line-height: 1.04; margin: 0 0 16px; }
.hero-sub { font-size: 15.5px; margin: 0; max-width: 24em; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); background: #fff; }
.facts a { display: flex; align-items: center; gap: 12px; padding: 18px 24px; min-height: 82px; border-left: 1px solid var(--line); font-size: 14px; line-height: 1.3; color: var(--ink-2); }
.facts a:first-child { border-left: 0; padding-left: 40px; }
.facts a:hover { background: var(--paper); }
.facts b { font: 800 34px/1 var(--display); letter-spacing: -.03em; color: var(--navy); font-variant-numeric: tabular-nums; }
.bh { align-items: center; }
.bh h2 { font-size: 20px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 20px 24px; margin-bottom: 20px; }
.cols > * { min-width: 0; } .cols .panel { margin-bottom: 0; }
.cols.last { gap: 36px; }
.task, .task:first-child { padding: 14px 0; } .task:first-child { padding-top: 2px; }
.due { background: #EDF1F5; } .due.hot { background: #FFF0C7; color: #6B4E00; } .due.late { background: var(--red-soft); color: var(--red); }
.btn-sm { min-width: 84px; }
.note.un > div::before { float: none; display: none; }
.note { position: relative; } .note.un::before { content: ''; position: absolute; left: -13px; top: 24px; width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.actions { grid-template-columns: repeat(var(--n), 1fr); gap: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--line); gap: 1px; }
.action, .action:hover { border: 0; border-radius: 0; transform: none; box-shadow: none; padding: 16px 18px; background: #fff; }
.action:hover { background: var(--paper); }
.action span { display: grid; line-height: 1.3; } .action b { font-size: 14.5px; } .action small { color: var(--ink-3); font-weight: 400; font-size: 12.5px; }
.action .ai { width: 36px; height: 36px; }
.launcher { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; }
.launcher a { display: grid; justify-items: center; gap: 10px; padding: 16px 6px; border-radius: 12px; font-size: 13.5px; font-weight: 600; text-align: center; }
.launcher a:hover { background: var(--paper); }
.launcher img { width: 60px; height: 60px; border-radius: 15px; border: 1px solid var(--line-2); }
.tile { border-radius: 12px; } .tile:not(.locked):not(.soon):hover { transform: none; box-shadow: none; background: var(--paper); }
.tile img { border: 1px solid var(--line-2); } .soon-b { display: none; } .tile.locked { background: var(--paper); }

.news { border: 0; border-radius: 0; overflow: visible; background: none; }
.news .news-art { display: block !important; width: 100%; height: auto !important; aspect-ratio: 16/10; object-fit: cover; border-radius: 10px; }
.news-art::before { display: none; }
.news-b { padding: 14px 0 0; }
.news-m { gap: 10px; margin: 0 0 6px; font-size: 13px; } .news-m b { color: var(--green); } .news-m i { font-style: normal; font-weight: 600; color: #6B4E00; }
.news h3 { font-size: 17px; line-height: 1.3; text-wrap: balance; } .news p { font-size: 14px; }
.news-grid { grid-template-columns: 1.15fr 1fr; grid-template-rows: repeat(3, 1fr); gap: 20px 28px; }
.news-grid .lead { grid-row: 1 / -1; } .news-grid .lead h3 { font-size: 22px; letter-spacing: -.015em; } 
.news-grid .row { display: grid; grid-template-columns: 132px 1fr; gap: 16px; align-items: start; }
.news-grid .row .news-b { padding: 0; } .news-grid .row h3 { font-size: 15.5px; margin: 0; } .news-grid .row .news-b > p:last-child { display: none !important; }
.news-list { grid-template-columns: repeat(3, 1fr); grid-auto-rows: auto; gap: 34px 28px; }
.news-list .wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1.4fr 1fr; gap: 36px; align-items: center; padding-bottom: 34px; border-bottom: 1px solid var(--line); }
.news-list .wide .news-art { aspect-ratio: 16/8.4; } .news-list .wide h3 { font-size: 30px; line-height: 1.15; letter-spacing: -.02em; } .news-list .wide p { font-size: 16px; } .news-list .wide .news-m { font-size: 14px; }
.chip i { font-style: normal; opacity: .65; margin-left: 4px; } .chip.on i { opacity: .8; }

.desk { display: grid; grid-template-columns: 1.1fr 1fr; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; min-height: 440px; }
.desk-l { list-style: none; margin: 0; padding: 0; border-right: 1px solid var(--line); }
.desk-l button { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; border: 0; border-bottom: 1px solid var(--line-2); background: #fff; padding: 16px 20px; }
.desk-l button:hover { background: var(--paper); } .desk-l button.on { background: #E3ECF6; } .desk-l button:focus-visible { outline-offset: -2px; }
.desk-d { padding: 32px 36px; background: var(--paper); }
.desk-app { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; font-weight: 600; }
.desk-d h2 { font: 800 26px/1.2 var(--display); letter-spacing: -.02em; margin: 0 0 8px; color: var(--navy); text-wrap: balance; }
.desk-s { margin: 0 0 24px; color: var(--ink-2); font-size: 16px; } .desk-d .sess { font-size: 15px; padding: 18px 0; border-block: 1px solid var(--line); margin-bottom: 24px; }
.desk-act { display: flex; flex-wrap: wrap; gap: 10px; }

.stepper { display: flex; gap: 8px; } .stepper button { width: 44px; height: 44px; border: 1px solid var(--line); background: #fff; border-radius: 10px; display: grid; place-items: center; } .stepper button:hover { background: var(--paper); }
.cal { display: grid; grid-template-columns: 1fr 300px; gap: 36px; align-items: start; }
.cal-h, .cal-c { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.cal-h span { padding: 0 10px 8px; font-size: 13px; font-weight: 600; color: var(--ink-3); }
.cal-c { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--line); gap: 1px; }
.cell { background: #fff; min-height: 104px; padding: 8px; display: grid; align-content: start; gap: 5px; min-width: 0; } .cell > b { font-size: 14px; font-weight: 600; } .cell.out { background: var(--paper); } .cell.sun > b { color: var(--red); } .cell.today > b { background: var(--navy); color: #fff; border-radius: 6px; width: 26px; text-align: center; }
.ce { --k: #1F5FA8; --kb: #E3ECF6; display: block; padding: 4px 7px; border-radius: 6px; background: var(--kb); color: var(--k); font-size: 12px; line-height: 1.25; font-weight: 600; } .ce i { font-style: normal; }
.k-event { --k: #1F5FA8; --kb: #E3ECF6; } .k-booking { --k: #1B6A49; --kb: #E0F1E8; } .k-due { --k: #7A5200; --kb: #FFF0C7; } .k-holiday { --k: #A3231B; --kb: #FBE6E4; }
.key { display: flex; gap: 18px; margin: 12px 0 0; font-size: 13px; color: var(--ink-2); flex-wrap: wrap; } .key span::before { content: ''; display: inline-block; width: 10px; height: 10px; border-radius: 3px; background: var(--k); margin-right: 7px; }
.cal-l h2 { font: 700 20px/1.3 var(--display); margin: 0 0 14px; }
.events .date { background: var(--kb, #fff); border: 0; color: var(--k); } .events .date b { color: var(--k); }
.find { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 10px; padding: 0 16px; max-width: 560px; margin-bottom: 26px; color: var(--ink-3); } .find:focus-within { border-color: #1F5FA8; } .find input { flex: 1; border: 0; outline: 0; height: 50px; font: 500 16px var(--font); color: var(--ink); background: none; min-width: 0; }
.dir { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 36px; } .dir li, .dir li:first-child { border-top: 1px solid var(--line); padding: 18px 0; align-items: center; } .dir .av { width: 46px; height: 46px; } .dir li.empty { border: 0; }
.vh h1 { font-size: 40px; } .vh-sub { font-size: 16.5px; }
.handoff { text-align: left; } .ho-icons { justify-content: flex-start; } .ho-steps { margin-left: 0; } .ho-act { justify-content: flex-start; } .ho-steps li::before { box-sizing: border-box; width: 20px; height: 20px; }
.step { border-radius: 10px; } .flow { box-shadow: none; }

@media (max-width: 1180px) { .news-list { grid-template-columns: 1fr 1fr; } .dir { grid-template-columns: 1fr 1fr; } .cal { grid-template-columns: 1fr; } .facts a { padding: 16px; } .actions { grid-template-columns: repeat(2, 1fr); } .si-apps { grid-template-columns: repeat(7, 1fr); row-gap: 10px; } }
@media (max-width: 860px) {
  .si-block { top: 24px; left: 20px; right: 20px; gap: 14px; } .si-block img { width: 60px; height: 60px; } .si-block > div { padding-left: 14px; } .si-app { font-size: 25px; } .si-uni { font-size: 13.5px; }
  .signin::before { background: linear-gradient(180deg, #fff 52%, rgba(255,255,255,0) 72%); }
  .si-art { height: 46%; width: 100%; bottom: 0; object-position: 72% 60%; } .si-apps { display: none; }
  .si-panel { margin: 0; padding: 138px 20px 44vh; } .si-panel h1 { font-size: 38px; } .si-lead { font-size: 16px; margin-bottom: 22px; } .btn-google { width: 100%; }
  .hero { min-height: 0; } .hero > .hero-art { position: static; width: 100%; height: 170px; object-position: 70% 70%; -webkit-mask: none; mask: none; display: block; }
  .hero-l { padding: 20px; min-height: 0; } .hero h1 { font-size: 34px; }
  .facts { grid-template-columns: 1fr 1fr; } .facts a, .facts a:first-child { padding: 12px 20px; min-height: 66px; } .facts a:nth-child(odd) { border-left: 0; } .facts a:nth-child(n+3) { border-top: 1px solid var(--line); } .facts b { font-size: 28px; }
  .panel { padding: 18px 16px; } .actions { grid-template-columns: 1fr 1fr; } .action { padding: 14px 12px; }
  .launcher { grid-template-columns: repeat(3, 1fr); } .launcher img { width: 54px; height: 54px; }
  .news-grid { display: grid; grid-template-columns: 1fr; grid-template-rows: none; } .news-grid .lead { grid-row: auto; } .news-grid .row { grid-template-columns: 108px 1fr; }
  .news-list, .dir { grid-template-columns: 1fr; } .news-list .wide { grid-template-columns: 1fr; gap: 0; } .news-list .wide h3 { font-size: 23px; } .news-list .wide p { font-size: 14.5px; }
  .desk { grid-template-columns: 1fr; } .desk-l { border-right: 0; } .desk-l button { padding: 14px 16px; } .desk-d { padding: 24px 18px; scroll-margin-top: 80px; } .desk-act > * { flex: 1 1 100%; justify-content: center; }
  .cell { min-height: 52px; padding: 5px; } .cell > b { font-size: 12.5px; } .ce { padding: 0; height: 6px; border-radius: 3px; background: var(--k); } .ce i { display: none; } .cal-h span { padding: 0 5px 6px; font-size: 11.5px; }
  .vh { margin-bottom: 18px; } .vh h1 { font-size: 30px; } .vh-sub { font-size: 15px; } .ho-act > * { flex: 1 1 100%; justify-content: center; } .cols.last { gap: 28px; }
  .icon-btn, .me, .btn, .btn-ghost, .chip { min-height: 44px; } .btn-sm { min-height: 40px; }
}
.news-grid .row .news-m { font-size: 12.5px; gap: 2px 8px; margin-bottom: 3px; }
.personas { grid-template-columns: minmax(0, 1fr); }
.notes .note > .link, .task .btn-sm { white-space: nowrap; }
@media (max-width: 860px) { body:not(.nav-open) .side { box-shadow: none; visibility: hidden; } }
.p-t small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hero > .hero-art { object-position: 50% 54%; }
