:root {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #14233a;
  background: #f4f7fb;
  font-synthesis: none;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: #f4f7fb; }
button { font: inherit; transition: transform .16s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease, opacity .2s ease; }
button:not(:disabled):hover { transform: translateY(-2px); }
button:not(:disabled):active { transform: translateY(0) scale(.97); }
button:disabled { cursor: wait; opacity: .62; }
button:focus-visible { outline: 3px solid #79a7f7; outline-offset: 3px; }
.login-page { min-height: 100vh; padding: 28px; display: grid; place-items: center; background-color: #12345a; background-image: linear-gradient(120deg, rgba(3,22,49,.74), rgba(0,70,190,.30)), url('/euronics-store-login.jpg'); background-size: cover; background-position: center; background-repeat: no-repeat; }
.login-card { width: min(440px, 100%); overflow: hidden; padding: 30px; border: 4px solid rgba(255,255,255,.96); border-radius: 28px; background: rgba(255,255,255,.96); box-shadow: 0 0 0 3px rgba(0,70,190,.78), 0 28px 80px rgba(2,18,42,.38); backdrop-filter: blur(8px); animation: rise-in .48s cubic-bezier(.2,.8,.2,1) both; }
.login-logo { aspect-ratio: 1100 / 229; margin: -30px -30px 26px; overflow: hidden; display: grid; place-items: center; background: linear-gradient(105deg, #0750a9 0%, #0786bd 46%, #064393 100%); }
.login-logo .brand-logo { width: 62%; aspect-ratio: 800 / 88; display: block; background: url('/euronics-gante-logo.svg?v=20260824-2') center / contain no-repeat; }
.login-card h1 { margin: 9px 0 8px; color: #14233a; font-size: 28px; letter-spacing: -.03em; }
.login-intro { margin: 0 0 24px; color: #617088; line-height: 1.5; }
.login-card label { display: grid; gap: 7px; margin-top: 15px; color: #43536c; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.login-card input { width: 100%; border: 1px solid #dce3ed; border-radius: 13px; padding: 14px; background: #f9fbfd; color: #14233a; font: inherit; font-size: 16px; text-transform: none; letter-spacing: 0; }
.login-card input { transition: border-color .2s ease, outline-color .2s ease, transform .2s ease, background-color .2s ease; }
.login-card input:focus { border-color: #0046be; outline: 3px solid #dce9ff; transform: translateY(-1px); }
.forgot-link { display: block; margin-top: 11px; color: #0046be; text-align: right; font-size: 13px; font-weight: 750; text-decoration: none; }
.forgot-link:hover { text-decoration: underline; }
.login-error { min-height: 21px; margin: 12px 0 0; color: #b73535; font-size: 13px; }
.login-status { min-height: 21px; margin: 14px 0; color: #137f54; font-size: 13px; font-weight: 700; line-height: 1.45; }
.login-back { display: block; margin-top: 17px; color: #617088; text-align: center; font-size: 13px; font-weight: 750; text-decoration: none; }
.login-submit { width: 100%; border: 0; border-radius: 13px; padding: 14px; background: #0046be; color: white; font-weight: 800; cursor: pointer; }
.login-divider { margin: 17px 0; display: flex; align-items: center; gap: 12px; color: #8793a5; font-size: 12px; font-weight: 750; text-transform: uppercase; }
.login-divider::before, .login-divider::after { content: ''; height: 1px; flex: 1; background: #dce3ed; }
.passkey-login { width: 100%; border: 1px solid #b9cae3; border-radius: 13px; padding: 14px; color: #123b75; background: #edf4ff; font-weight: 800; cursor: pointer; }
.app-install-actions { display: grid; gap: 9px; margin-top: 13px; }
.app-qr-open { width: 100%; border: 1px solid #cbd8ea; border-radius: 12px; padding: 10px 13px; color: #0757d3; background: #ffffff; font-weight: 800; cursor: pointer; }
.app-qr-open span { margin-right: 6px; font-size: 18px; vertical-align: -1px; }
.app-qr-dialog { width: min(390px, calc(100% - 28px)); padding: 0; border: 0; border-radius: 24px; color: #14233a; background: transparent; box-shadow: 0 28px 80px rgba(2,18,42,.42); }
.app-qr-dialog::backdrop { background: rgba(2,14,34,.68); backdrop-filter: blur(5px); }
.app-qr-dialog form { position: relative; padding: 30px; border: 4px solid #ffffff; border-radius: 24px; background: #ffffff; text-align: center; }
.app-qr-dialog[open] form { animation: rise-in .28s cubic-bezier(.2,.8,.2,1) both; }
.app-qr-close { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border: 0; border-radius: 50%; color: #52647c; background: #eef3f9; font-size: 25px; line-height: 1; cursor: pointer; }
.app-qr-dialog .eyebrow { margin: 6px 34px 8px; }
.app-qr-dialog h2 { margin: 0; color: #14233a; font-size: 25px; letter-spacing: -.03em; }
.app-qr-intro { margin: 10px 0 18px; color: #617088; font-size: 14px; line-height: 1.5; }
.app-qr-code { width: min(260px, 100%); margin: auto; padding: 13px; border: 1px solid #d8e3f1; border-radius: 20px; background: #ffffff; box-shadow: 0 10px 28px rgba(17,43,82,.10); }
.app-qr-code img { display: block; width: 100%; height: auto; }
.app-qr-note { margin: 16px 4px; color: #718096; font-size: 12px; line-height: 1.45; }
.app-qr-download { display: block; padding: 13px 18px; border-radius: 12px; color: #ffffff; background: #0757d3; font-weight: 800; text-decoration: none; }
.app-qr-download:hover { background: #0346b3; }
.brandbar { color: white; background: linear-gradient(108deg, #0750a9 0%, #0787bd 47%, #064493 100%); animation: fade-in .34s ease both; }
.brandbar__inner { max-width: 1600px; min-height: 110px; margin: auto; padding: 14px 34px; display: flex; align-items: center; justify-content: flex-end; background: url('/euronics-gante-logo.svg?v=20260824') left center / auto 56% no-repeat; }
.role { display: flex; gap: 9px; align-items: center; font-size: 14px; font-weight: 650; }
.role b { width: 10px; height: 10px; border-radius: 50%; background: #69d59d; }
.role button { margin-left: 6px; border: 1px solid rgba(255,255,255,.45); border-radius: 10px; padding: 8px 11px; background: rgba(1,45,96,.24); color: white; font-weight: 750; cursor: pointer; }
.role button[aria-pressed="true"] { background: rgba(1,24,58,.54); border-color: rgba(255,255,255,.72); }
.shell { max-width: 1160px; margin: auto; padding: 48px 28px 72px; }
.heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; animation: rise-in .4s .04s cubic-bezier(.2,.8,.2,1) both; }
.eyebrow { margin: 0; color: #0046be !important; text-transform: uppercase; letter-spacing: .14em; font-weight: 800; font-size: 13px; }
.heading h1 { margin: 10px 0 6px; font-size: clamp(32px,5vw,44px); line-height: 1.05; letter-spacing: -.04em; }
.heading p { margin: 0; color: #617088; }
.refresh { border: 0; border-radius: 12px; padding: 11px 15px; background: white; color: #0046be; font-weight: 750; cursor: pointer; box-shadow: 0 4px 18px rgba(28,49,82,.06); }
.heading-actions { display: flex; gap: 9px; flex-wrap: wrap; justify-content: flex-end; }
.paper-open { border: 0; border-radius: 12px; padding: 11px 15px; background: #0046be; color: white; font-weight: 800; cursor: pointer; box-shadow: 0 4px 18px rgba(0,70,190,.18); }
.access-open { border: 0; border-radius: 12px; padding: 11px 15px; background: #0046be; color: white; font-weight: 850; cursor: pointer; box-shadow: 0 4px 18px rgba(0,70,190,.24); transition: transform .18s ease, background .18s ease, box-shadow .18s ease; }
.access-open:hover { background: #003b9f; box-shadow: 0 7px 22px rgba(0,70,190,.3); transform: translateY(-1px); }
.view-tabs { margin-top: 26px; display: inline-flex; gap: 5px; padding: 5px; border-radius: 15px; background: #e8eef7; animation: rise-in .4s .08s cubic-bezier(.2,.8,.2,1) both; }
.view-tabs button { border: 0; border-radius: 11px; padding: 10px 17px; background: transparent; color: #617088; font-weight: 800; cursor: pointer; }
.view-tabs button[aria-pressed="true"] { color: #0046be; background: white; box-shadow: 0 3px 12px rgba(28,49,82,.08); }
.summaries { margin-top: 32px; display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.summaries article { padding: 20px; border-radius: 18px; background: white; display: flex; align-items: center; justify-content: space-between; box-shadow: 0 6px 22px rgba(28,49,82,.05); animation: rise-in .42s cubic-bezier(.2,.8,.2,1) both; transition: transform .2s ease, box-shadow .2s ease, background-color .25s ease; }
.summaries article:nth-child(2) { animation-delay: .06s; }
.summaries article:nth-child(3) { animation-delay: .12s; }
.summaries article:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(28,49,82,.1); }
.summaries span { color: #617088; font-weight: 650; }
.count { min-width: 42px; height: 42px; padding: 0 12px; border-radius: 12px; display: grid; place-items: center; font-size: 18px; }
.count--blue { color: #0046be; background: #e8f0fe; }
.count--green { color: #137f54; background: #e8f7ef; }
.count--red { color: #bd3535; background: #fff0f0; }
.filters { margin-top: 32px; display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px; }
.filters button { border: 0; border-radius: 12px; padding: 11px 16px; background: white; color: #617088; font-weight: 750; cursor: pointer; white-space: nowrap; }
.filters button[aria-pressed="true"] { background: #14233a; color: white; }
.request-filterbar { margin-top: 32px; display: flex; align-items: end; justify-content: space-between; gap: 16px; }
.request-filterbar .filters { min-width: 0; flex: 1; margin-top: 0; }
.person-filter { min-width: 230px; display: grid; gap: 6px; color: #617088; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.person-filter select { width: 100%; min-height: 44px; border: 1px solid #d7e0ec; border-radius: 13px; padding: 0 38px 0 13px; color: #14233a; background: #fff; font-size: 14px; font-weight: 750; letter-spacing: 0; text-transform: none; cursor: pointer; }
.notice { min-height: 22px; margin: 14px 0 0; color: #617088; font-size: 14px; }
.request-list { display: grid; gap: 16px; }
.empty { border-radius: 24px; padding: 60px 24px; text-align: center; background: white; box-shadow: 0 10px 35px rgba(28,49,82,.06); animation: rise-in .38s cubic-bezier(.2,.8,.2,1) both; }
.empty h2 { margin: 0; font-size: 20px; }
.empty p { margin: 8px 0 0; color: #617088; }
.request { overflow: hidden; border-radius: 24px; background: white; box-shadow: 0 10px 35px rgba(28,49,82,.08); animation: rise-in .4s cubic-bezier(.2,.8,.2,1) both; transition: transform .22s ease, box-shadow .22s ease, background-color .25s ease; }
.request:nth-child(2) { animation-delay: .05s; }
.request:nth-child(3) { animation-delay: .1s; }
.request:hover { transform: translateY(-2px); box-shadow: 0 15px 42px rgba(28,49,82,.12); }
.request__top { padding: 24px 26px; border-bottom: 1px solid #e5ebf3; display: flex; justify-content: space-between; gap: 20px; }
.person { display: flex; align-items: center; gap: 14px; }
.avatar { width: 48px; height: 48px; overflow: hidden; border-radius: 16px; background: #e8f0fe; color: #0046be; display: grid; place-items: center; font-weight: 800; }
.avatar img { width: 100%; height: 100%; display: block; object-fit: cover; }
.person h2 { margin: 0; font-size: 18px; }
.person p { margin: 5px 0 0; color: #617088; font-size: 13px; }
.badge { align-self: flex-start; padding: 7px 11px; border-radius: 999px; font-size: 12px; font-weight: 800; }
.status-stack { display: grid; justify-items: end; gap: 8px; flex: 0 0 auto; }
.open-age { padding: 6px 9px; border-radius: 9px; color: #9c6200; background: #fff8e8; font-size: 12px; font-weight: 750; white-space: nowrap; }
.badge--pending { color: #9c6200; background: #fff5df; }
.badge--changes_requested { color: #7145a5; background: #f4eaff; }
.badge--approved { color: #137f54; background: #e8f7ef; }
.badge--rejected, .badge--cancelled { color: #bd3535; background: #fff0f0; }
.badge--trash { color: #5d6675; background: #edf1f6; }
.request__body { padding: 26px; display: grid; grid-template-columns: 1.35fr 1fr; gap: 30px; }
.label { margin: 0; text-transform: uppercase; letter-spacing: .12em; color: #74839a; font-size: 11px; font-weight: 800; }
.period { margin: 9px 0 0; font-size: 25px; font-weight: 800; letter-spacing: -.02em; }
.days { margin: 8px 0 0; color: #0046be; font-weight: 750; }
.details { margin-top: 26px; display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.details p { margin: 6px 0 0; font-weight: 650; color: #283b57; }
.note { margin-top: 22px; padding: 16px; border-radius: 16px; background: #f4f7fb; }
.note p:last-child { margin: 8px 0 0; color: #43536c; font-size: 14px; line-height: 1.5; }
.decision { padding: 20px; border: 1px solid #e1e8f1; border-radius: 18px; }
.decision-copy { margin: 14px 0 0; color: #43536c; font-size: 14px; line-height: 1.55; }
.balance { margin-top: 14px; display: flex; justify-content: space-between; align-items: flex-end; }
.balance + .balance { margin-top: 12px; padding-top: 12px; border-top: 1px solid #e5ebf3; }
.balance span { color: #617088; font-size: 13px; }
.balance strong { font-size: 23px; }
.balance strong.blue { color: #0046be; }
.actions { margin-top: 22px; display: grid; gap: 10px; }
.actions button { border-radius: 12px; padding: 14px 16px; font-weight: 800; cursor: pointer; }
.request-changes { border: 1px solid #8c63b7; color: #623692; background: #f7efff; }
.conflict-warning { display: grid; gap: 5px; margin-top: 14px; padding: 13px 15px; border: 1px solid #efb8bd; border-radius: 14px; color: #992b34; background: #fff1f2; }
.conflict-warning span { color: #6f3d42; font-size: 13px; line-height: 1.45; }
.school-conflict-warning { margin-top: 14px; padding: 15px; display: flex; align-items: flex-start; gap: 12px; border: 2px solid #d83a43; border-radius: 15px; color: #8f2229; background: #fff1f2; box-shadow: 0 7px 20px rgba(196,45,55,.09); animation: warning-in .35s cubic-bezier(.2,.8,.2,1) both; }
.school-conflict-warning__icon { width: 28px; height: 28px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; color: #fff; background: #c42d37; font-weight: 900; }
.school-conflict-warning div { display: grid; gap: 4px; }
.school-conflict-warning strong { font-size: 14px; }
.school-conflict-warning div span { color: #6f3439; font-size: 12px; line-height: 1.5; }
.print-request { margin-top: 2px; padding: 12px 14px !important; display: flex; align-items: center; gap: 11px; border: 1px solid #b7cdf0; color: #0649ad; background: #f2f7ff; text-align: left; transition: transform .18s ease, border-color .18s ease, background .18s ease; }
.print-request > span:first-child { width: 32px; height: 32px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 10px; color: #fff; background: #0757d3; }
.print-request > span:last-child { display: grid; gap: 2px; }
.print-request strong { font-size: 13px; }
.print-request small { color: #617088; font-size: 11px; font-weight: 600; }
.print-request:hover { border-color: #6e9add; background: #e8f1ff; transform: translateY(-1px); }
@keyframes warning-in { from { opacity: 0; transform: translateY(5px) scale(.99); } to { opacity: 1; transform: translateY(0) scale(1); } }
.representative-status { display: inline-block; margin-top: 5px; padding: 4px 8px; border-radius: 99px; color: #8b5a00; background: #fff1cf; font-size: 11px; font-weight: 800; }
.representative-status--accepted { color: #08764c; background: #e2f6ec; }
.representative-status--rejected { color: #b52f38; background: #ffebed; }
.attachments { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.attachments .label { width: 100%; }
.attachments button { border: 1px solid #c9d8ed; border-radius: 10px; padding: 9px 11px; color: #0645ad; background: #eef5ff; font-weight: 750; cursor: pointer; }
.request-history { margin-top: 14px; border: 1px solid #d9e2ee; border-radius: 14px; padding: 12px 14px; background: #f8fafc; }
.request-history summary { color: #23436c; font-weight: 800; cursor: pointer; }
.request-history ol { display: grid; gap: 10px; margin: 12px 0 0; padding-left: 20px; }
.request-history li span { display: block; color: #69788d; font-size: 12px; }
.request-history li p { margin: 3px 0 0; font-size: 13px; }
.staff-overview { display: grid; gap: 14px; animation: rise-in .3s cubic-bezier(.2,.8,.2,1) both; }
.staff-toolbar { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; padding: 4px 2px; }
.staff-toolbar__navigation { display: flex; gap: 6px; align-items: center; }
.staff-toolbar button, .staff-toolbar select { min-height: 42px; border: 1px solid #d5dce6; border-radius: 9px; padding: 0 14px; color: #3c4043; background: #fff; font: inherit; font-weight: 650; cursor: pointer; transition: background-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.staff-toolbar button:hover { background: #f1f3f4; box-shadow: 0 1px 3px rgba(60,64,67,.18); }
.staff-toolbar button:active { transform: scale(.96); }
.staff-toolbar .staff-nav-arrow { width: 42px; padding: 0; border-color: transparent; border-radius: 50%; font-size: 27px; font-weight: 400; }
.staff-period { display: grid; justify-items: start; margin: 0; color: #202124; }
.staff-period strong { font-size: 19px; }
.staff-period span { margin-top: 2px; color: #6f7378; font-size: 12px; font-weight: 600; }
.staff-team-filter { display: grid; grid-template-columns: auto minmax(175px,1fr); gap: 9px; align-items: center; color: #6f7378; font-size: 12px; font-weight: 750; text-transform: uppercase; letter-spacing: .06em; }
.staff-team-filter select { min-width: 190px; text-transform: none; letter-spacing: 0; }
.staff-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 0 5px; color: #5f6368; font-size: 12px; font-weight: 650; }
.staff-legend span { display: inline-flex; gap: 7px; align-items: center; }
.staff-legend span::before { width: 9px; height: 9px; border-radius: 3px; background: #1a73e8; content: ''; }
.staff-legend .legend-sick::before { background: #d93025; }
.staff-legend .legend-special::before { background: #9334e6; }
.staff-legend .legend-school::before { background: #f9ab00; }
.staff-legend .legend-holiday-full::before { border-radius: 50%; background: #188038; }
.staff-legend .legend-holiday-half::before { background: linear-gradient(135deg, #f29900 50%, #fff 50%); box-shadow: inset 0 0 0 1px #f29900; }
.staff-calendar-scroll { overflow-x: auto; border: 1px solid #dadce0; border-radius: 16px; background: #fff; box-shadow: 0 3px 12px rgba(60,64,67,.08); scrollbar-color: #c1c7d0 transparent; }
.staff-calendar { display: grid; grid-template-columns: 106px repeat(6, minmax(160px,1fr)); grid-template-rows: 76px minmax(340px,auto); min-width: 1066px; }
.staff-calendar__corner, .staff-calendar__day-head { display: grid; align-content: center; justify-items: center; border-bottom: 1px solid #dadce0; border-right: 1px solid #e4e7eb; }
.staff-calendar__corner { justify-items: start; padding: 0 15px; color: #3c4043; }
.staff-calendar__corner strong { font-size: 13px; }
.staff-calendar__corner span { color: #80868b; font-size: 11px; }
.staff-calendar__day-head { position: relative; gap: 5px; color: #5f6368; background: #fff; }
.staff-calendar__day-head span { font-size: 11px; font-weight: 750; text-transform: uppercase; }
.staff-calendar__day-head strong { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: #3c4043; font-size: 18px; font-weight: 500; }
.staff-calendar__day-head.is-today span { color: #1a73e8; }
.staff-calendar__day-head.is-today strong { color: #fff; background: #1a73e8; box-shadow: 0 2px 6px rgba(26,115,232,.28); }
.staff-calendar__day-head.has-holiday--full { background: #e6f4ea; }
.staff-calendar__day-head.has-holiday--half { background: repeating-linear-gradient(135deg, #fff8e1 0 8px, #fff 8px 16px); }
.staff-calendar__day-head.has-holiday em { position: absolute; right: 5px; bottom: 4px; left: 5px; overflow: hidden; color: #137333; font-size: 8px; font-style: normal; font-weight: 850; text-align: center; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.staff-calendar__day-head.has-holiday--half em { color: #a15c00; }
.staff-calendar__rail { padding: 15px 10px; border-right: 1px solid #dadce0; color: #80868b; font-size: 10px; font-weight: 750; text-align: right; text-transform: uppercase; writing-mode: vertical-rl; }
.staff-calendar__day { display: flex; flex-direction: column; gap: 7px; min-width: 0; padding: 12px 7px 18px; border-right: 1px solid #e8eaed; background-image: linear-gradient(to bottom, transparent 51px, #f1f3f4 52px); background-size: 100% 52px; }
.staff-calendar__day.is-today { background-color: #f8fbff; }
.staff-calendar__day.has-holiday--full { background-color: #f4fbf6; }
.staff-calendar__day.has-holiday--half { background-color: #fffbef; }
.staff-calendar__day:last-child, .staff-calendar__day-head:nth-child(7) { border-right: 0; }
.staff-entry { position: relative; display: flex; gap: 8px; align-items: center; min-height: 46px; padding: 7px 8px 7px 10px; border: 1px solid #c6daf7; border-radius: 7px; color: #174ea6; background: #e8f0fe; box-shadow: 0 1px 2px rgba(60,64,67,.12); overflow: hidden; animation: event-in .25s cubic-bezier(.2,.8,.2,1) both; }
.staff-entry__color { position: absolute; inset: 0 auto 0 0; width: 4px; background: #1a73e8; }
.staff-entry--sick { border-color: #f3c5c1; color: #a50e0e; background: #fce8e6; }
.staff-entry--sick .staff-entry__color { background: #d93025; }
.staff-entry--special { border-color: #dec6f3; color: #681da8; background: #f3e8fd; }
.staff-entry--special .staff-entry__color { background: #9334e6; }
.staff-entry--school { border-color: #f8df9a; color: #7a4d00; background: #fef7e0; }
.staff-entry--school .staff-entry__color { background: #f9ab00; }
.staff-holiday { display: grid; gap: 2px; min-height: 46px; padding: 8px 9px; border: 1px solid #a8d5b5; border-left: 5px solid #188038; border-radius: 7px; color: #0d652d; background: #e6f4ea; box-shadow: 0 1px 2px rgba(60,64,67,.12); }
.staff-holiday--half { border-color: #f2ce80; border-left-color: #f29900; color: #8a5200; background: repeating-linear-gradient(135deg, #fef7e0 0 9px, #fffaf0 9px 18px); }
.staff-holiday strong { overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.staff-holiday span { font-size: 9px; font-weight: 750; }
.staff-avatar { display: grid; flex: 0 0 28px; place-items: center; width: 28px; height: 28px; border-radius: 50%; overflow: hidden; color: #1a73e8; background: rgba(255,255,255,.78); font-size: 10px; font-weight: 900; }
.staff-avatar img { width: 100%; height: 100%; object-fit: cover; }
.staff-entry > span:last-child { display: grid; min-width: 0; }
.staff-entry strong { overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.staff-entry small { overflow: hidden; color: currentColor; font-size: 9px; opacity: .78; text-overflow: ellipsis; white-space: nowrap; }
.staff-empty { margin: 7px 5px; color: #9aa0a6; font-size: 11px; }
.staff-scroll-hint { display: none; margin: 0 2px; color: #7b8491; font-size: 11px; }
.staff-holiday-list { display: grid; grid-template-columns: minmax(190px,.7fr) 2fr; gap: 18px; align-items: start; padding: 18px 20px; border: 1px solid #d9e2ee; border-radius: 16px; background: #fff; box-shadow: 0 3px 12px rgba(60,64,67,.06); }
.staff-holiday-list > div { display: grid; gap: 3px; }
.staff-holiday-list > div strong { font-size: 15px; }
.staff-holiday-list > div span, .staff-holiday-list > p { margin: 0; color: #748094; font-size: 12px; }
.staff-holiday-list ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.staff-holiday-list__item { display: grid; grid-template-columns: 90px 1fr; gap: 12px; align-items: center; padding: 10px 12px; border-left: 4px solid #188038; border-radius: 9px; background: #e6f4ea; }
.staff-holiday-list__item--half { border-left-color: #f29900; background: #fef7e0; }
.staff-holiday-list__date { color: #3c4043; font-size: 12px; font-weight: 850; }
.staff-holiday-list__item > span:last-child { display: grid; gap: 2px; }
.staff-holiday-list__item strong { font-size: 13px; }
.staff-holiday-list__item small { color: #5f6368; font-size: 10px; }
@keyframes event-in { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
.approve { border: 0; background: #137f54; color: white; }
.reject { border: 1px solid #d44747; background: white; color: #bd3535; }
.decision-result { margin-top: 22px; padding: 14px; border-radius: 12px; text-align: center; background: #f4f7fb; color: #43536c; font-size: 13px; font-weight: 700; }
.decision-meta { margin-top: 10px; padding: 12px 14px; border-radius: 12px; background: #edf8f3; color: #245d48; display: grid; gap: 3px; font-size: 13px; }
.decision-meta strong { font-size: 14px; }
.decision-meta span { color: #557469; }
.decision-meta--cancelled,
.decision-meta--rejected { color: #8f3030; background: #fff0f0; }
.decision-meta--cancelled span,
.decision-meta--rejected span { color: #9b5b5b; }
.decision-meta--changes_requested { color: #623692; background: #f7efff; }
.decision-meta--changes_requested span { color: #795c95; }
.balance--unchanged strong { color: #137f54; }
.trash-button { width: 100%; margin-top: 10px; border: 1px solid #d44747; border-radius: 12px; padding: 13px 15px; color: #bd3535; background: transparent; font-weight: 800; cursor: pointer; }
.purge-button { width: 100%; margin-top: 10px; border: 1px solid #bd3535; border-radius: 12px; padding: 13px 15px; color: #fff; background: #bd3535; font-weight: 800; cursor: pointer; }
.purge-button:hover { background: #9f2828; }
.trash-retention { margin-top: 20px; padding: 14px; border-radius: 12px; text-align: center; color: #6b5660; background: #f5f1f3; font-size: 13px; font-weight: 800; }
.reason { margin-top: 12px; padding: 13px; border-radius: 12px; background: #fff5f5; color: #963737; font-size: 13px; line-height: 1.45; }
.team-calendar { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.team-entry { padding: 22px; border-radius: 20px; background: white; box-shadow: 0 8px 28px rgba(28,49,82,.07); animation: rise-in .38s cubic-bezier(.2,.8,.2,1) both; transition: transform .22s ease, box-shadow .22s ease, background-color .25s ease; }
.team-entry:nth-child(even) { animation-delay: .06s; }
.team-entry:hover { transform: translateY(-3px); box-shadow: 0 13px 34px rgba(28,49,82,.11); }
.team-entry h2 { margin: 0; font-size: 18px; }
.team-entry .period { font-size: 20px; }
.type-pill { display: inline-block; margin-top: 10px; padding: 6px 9px; border-radius: 999px; color: #0046be; background: #e8f0fe; font-size: 12px; font-weight: 800; }
.source-pill { display: inline-block; margin-left: 7px; padding: 4px 8px; border-radius: 999px; color: #43536c; background: #edf1f6; font-size: 11px; font-weight: 800; }
.paper-dialog { width: min(650px, calc(100% - 28px)); border: 0; border-radius: 24px; padding: 0; color: #14233a; box-shadow: 0 24px 80px rgba(11,28,54,.26); }
.paper-dialog[open] { animation: dialog-in .26s cubic-bezier(.2,.8,.2,1) both; }
.paper-dialog::backdrop { background: rgba(10,24,45,.55); backdrop-filter: blur(2px); }
.paper-dialog form { padding: 26px; }
.dialog-head { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; }
.dialog-head h2 { margin: 7px 0 0; font-size: 25px; }
.dialog-head button { width: 38px; height: 38px; border: 0; border-radius: 12px; background: #edf2f9; color: #43536c; font-size: 24px; cursor: pointer; }
.dialog-intro { margin: 12px 0 20px; color: #617088; line-height: 1.5; }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.form-grid label { display: grid; gap: 7px; color: #43536c; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.form-grid .span-2 { grid-column: 1 / -1; }
.form-grid input, .form-grid select, .form-grid textarea { width: 100%; border: 1px solid #dce3ed; border-radius: 12px; padding: 12px 13px; background: #f9fbfd; color: #14233a; font: inherit; font-size: 14px; font-weight: 550; text-transform: none; letter-spacing: 0; }
.form-grid textarea { resize: vertical; }
.select-field small { color: #718097; font-size: 11px; font-weight: 600; line-height: 1.4; text-transform: none; letter-spacing: 0; }
.select-field select { min-height: 50px; padding-right: 42px; border-color: #c9d8ec; background-color: #f7faff; cursor: pointer; }
.select-field select:focus { border-color: #0757d3; outline: 3px solid rgba(7,87,211,.13); }
.paper-person-preview { padding: 13px 15px; display: flex; align-items: center; gap: 12px; border: 1px solid #c9d8ec; border-radius: 15px; background: linear-gradient(135deg, #f4f8ff, #edf4ff); animation: rise-in .24s ease both; }
.paper-person-preview[hidden] { display: none; }
.paper-person-preview__icon { width: 38px; height: 38px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 12px; color: #fff; background: #0757d3; font-size: 18px; font-weight: 900; }
.paper-person-preview div { min-width: 0; display: grid; gap: 3px; }
.paper-person-preview strong { color: #14233a; font-size: 14px; }
.paper-person-preview div span { overflow: hidden; color: #51647e; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.avatar-upload-label input { padding: 9px; cursor: pointer; }
.avatar-upload-label input::file-selector-button { margin-right: 12px; border: 0; border-radius: 9px; padding: 9px 12px; color: #0046be; background: #e8f0fe; font-weight: 800; cursor: pointer; }
.avatar-upload-preview { padding: 12px; display: flex; align-items: center; gap: 13px; border: 1px solid #dce3ed; border-radius: 14px; background: #f5f8fc; }
.avatar-upload-preview[hidden] { display: none; }
.avatar-upload-preview img { width: 58px; height: 58px; flex: 0 0 auto; border-radius: 18px; object-fit: cover; }
.avatar-upload-preview div { display: grid; gap: 3px; }
.avatar-upload-preview strong { color: #14233a; font-size: 14px; }
.avatar-upload-preview span { color: #617088; font-size: 12px; line-height: 1.35; }
.dialog-actions { margin-top: 22px; display: flex; justify-content: flex-end; gap: 10px; }
.dialog-actions button { border: 0; border-radius: 12px; padding: 13px 16px; font-weight: 800; cursor: pointer; }
.dialog-actions button:first-child { background: #edf2f9; color: #43536c; }
.dialog-actions .delete-user { margin-right: auto; border: 1px solid #efb4b4; color: #c82e2e; background: #fff5f5; }
.dialog-actions .delete-user:hover { border-color: #e48383; background: #ffe8e8; }
.approval-summary { margin-top: 20px; padding: 6px 18px; border: 1px solid #dce5f2; border-radius: 16px; background: #f7f9fc; }
.approval-summary div { display: grid; grid-template-columns: minmax(120px, .8fr) 1.2fr; gap: 16px; padding: 13px 0; border-bottom: 1px solid #dce5f2; }
.approval-summary div:last-child { border-bottom: 0; }
.approval-summary span { color: #617088; font-size: 13px; font-weight: 700; }
.approval-summary strong { text-align: right; overflow-wrap: anywhere; }
.access-dialog { width: min(620px, calc(100% - 28px)); }
.team-management { margin: 20px 0 16px; padding: 17px; border: 1px solid #bcd2f2; border-radius: 18px; background: linear-gradient(145deg, #f4f8ff, #eef5ff); }
.team-badge { flex: 0 0 auto; padding: 6px 10px; border-radius: 999px; color: #fff; background: #0757d3; font-size: 11px; font-weight: 850; letter-spacing: .04em; }
.team-create-row { margin-top: 14px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 9px; }
.team-create-row input { min-width: 0; height: 44px; box-sizing: border-box; border: 1px solid #cdd9e9; border-radius: 12px; padding: 0 13px; color: #14233a; background: #fff; font: inherit; }
.team-create-row input:focus { border-color: #0757d3; outline: 3px solid #dce9ff; }
.team-create-row button { border: 0; border-radius: 12px; padding: 0 16px; color: #fff; background: #0757d3; font-weight: 850; cursor: pointer; transition: transform .18s ease, background .18s ease; }
.team-create-row button:hover { background: #0046be; transform: translateY(-1px); }
.team-create-row button:disabled { opacity: .6; cursor: wait; transform: none; }
.team-list { margin-top: 12px; display: grid; gap: 8px; }
.team-list-empty { padding: 13px; border: 1px dashed #b9cce7; border-radius: 12px; color: #617088; background: rgba(255,255,255,.66); text-align: center; font-size: 12px; }
.team-item { min-width: 0; padding: 10px 11px; display: flex; align-items: center; gap: 10px; border: 1px solid #d8e4f4; border-radius: 13px; background: #fff; animation: rise-in .24s ease both; }
.team-item__icon { width: 34px; height: 34px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 11px; color: #0757d3; background: #e8f0fe; font-size: 16px; font-weight: 900; }
.team-item__copy { min-width: 0; flex: 1; display: grid; gap: 2px; }
.team-item__copy strong { overflow: hidden; color: #14233a; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.team-item__copy span { color: #617088; font-size: 11px; }
.team-item__actions { display: flex; gap: 6px; }
.team-item__actions button { border: 0; border-radius: 9px; padding: 7px 9px; color: #0757d3; background: #e8f0fe; font-size: 11px; font-weight: 800; cursor: pointer; }
.team-item__actions .team-delete { color: #be262d; background: #ffebec; }
.access-permissions { margin: 20px 0 24px; padding: 17px; border: 1px solid #dce3ed; border-radius: 16px; background: #f8faff; }
.access-section-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.access-section-head h3, .access-new-heading h3 { margin: 0; color: #14233a; font-size: 17px; }
.access-section-head p, .access-new-heading p { margin: 5px 0 0; color: #617088; font-size: 13px; line-height: 1.4; }
.permission-badge { flex: 0 0 auto; padding: 6px 9px; border-radius: 999px; color: #0046be; background: #e8f0fe; font-size: 11px; font-weight: 850; }
.access-list { margin-top: 14px; display: grid; gap: 9px; color: #617088; font-size: 13px; }
.access-list-empty { padding: 12px; border-radius: 12px; background: #edf2f9; text-align: center; }
.access-account { padding: 11px 12px; display: flex; align-items: center; gap: 11px; border: 1px solid #e1e7f0; border-radius: 13px; background: white; }
.access-account__avatar { width: 40px; height: 40px; display: grid; place-items: center; flex: 0 0 auto; overflow: hidden; border-radius: 13px; color: #0046be; background: #e8f0fe; font-size: 12px; font-weight: 900; }
.access-account__avatar img { width: 100%; height: 100%; object-fit: cover; }
.access-account__copy { min-width: 0; flex: 1; display: grid; gap: 2px; }
.access-account__copy strong { overflow: hidden; color: #14233a; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.access-account__copy span { overflow: hidden; color: #617088; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.access-account__copy .access-team-tag { width: max-content; max-width: 100%; margin-top: 3px; padding: 4px 7px; border-radius: 999px; color: #0757d3; background: #e8f0fe; font-size: 10px; font-weight: 800; }
.access-edit-button { flex: 0 0 auto; border: 0; border-radius: 10px; padding: 9px 11px; color: #0046be; background: #e8f0fe; font-size: 12px; font-weight: 850; cursor: pointer; }
.access-edit-button:hover { background: #dbe8ff; }
.access-account__actions { display: flex; align-items: center; gap: 7px; }
.access-qr-button { flex: 0 0 auto; border: 1px solid #b9ceef; border-radius: 10px; padding: 8px 10px; color: #0046be; background: #fff; font-size: 12px; font-weight: 850; cursor: pointer; }
.access-qr-button:hover { border-color: #75a2e4; background: #f3f7ff; }
.access-qr-renew-dialog { width: min(500px, calc(100% - 28px)); }
.access-qr-renew-dialog .access-result { padding-top: 6px; }
.password-reset-panel { margin-top: 18px; padding: 17px; border: 1px solid #d8e3f1; border-radius: 16px; background: #f7f9fc; }
.password-reset-panel__head { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.password-reset-panel__head div { display: grid; gap: 4px; }
.password-reset-panel__head strong { color: #14233a; font-size: 14px; }
.password-reset-panel__head span { max-width: 440px; color: #617088; font-size: 12px; line-height: 1.45; }
.password-reset-panel__head button { flex: 0 0 auto; border: 1px solid #e5ad61; border-radius: 11px; padding: 10px 13px; color: #985600; background: #fff4df; font-weight: 800; cursor: pointer; }
.password-reset-panel__head button:hover { border-color: #d3913b; background: #ffe9bd; }
.password-reset-result { position: relative; margin-top: 15px; padding: 14px; border: 1px solid #b8cef0; border-radius: 13px; background: #edf4ff; }
.password-reset-result > span { display: block; margin-bottom: 5px; color: #617088; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.password-reset-result > strong { display: block; padding-right: 90px; color: #003f9e; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 18px; overflow-wrap: anywhere; }
.password-reset-result > button { position: absolute; top: 14px; right: 14px; border: 0; border-radius: 9px; padding: 8px 10px; color: #ffffff; background: #0757d3; font-size: 12px; font-weight: 800; cursor: pointer; }
.password-reset-result > small { display: block; margin-top: 9px; color: #657790; font-size: 11px; line-height: 1.4; }
.permission-switch { position: relative; width: 48px; height: 28px; flex: 0 0 auto; }
.permission-switch input { position: absolute; opacity: 0; pointer-events: none; }
.permission-switch span { position: absolute; inset: 0; border-radius: 999px; background: #cfd8e6; cursor: pointer; transition: background .2s ease, box-shadow .2s ease; }
.permission-switch span::after { content: ''; position: absolute; top: 4px; left: 4px; width: 20px; height: 20px; border-radius: 50%; background: white; box-shadow: 0 2px 6px rgba(20,35,58,.25); transition: transform .2s ease; }
.permission-switch input:checked + span { background: #137f54; }
.permission-switch input:checked + span::after { transform: translateX(20px); }
.permission-switch input:focus-visible + span { box-shadow: 0 0 0 3px rgba(0,70,190,.24); }
.permission-switch input:disabled + span { cursor: wait; opacity: .58; }
.access-new-heading { margin: 0 0 17px; padding-top: 22px; border-top: 1px solid #dce3ed; }
.form-grid .access-option { padding: 13px; display: flex; grid-template-columns: none; flex-direction: row; align-items: flex-start; gap: 11px; border: 1px solid #dce3ed; border-radius: 13px; background: #f8faff; cursor: pointer; text-transform: none; letter-spacing: 0; }
.form-grid .access-option input { width: 20px; height: 20px; margin: 1px 0 0; flex: 0 0 auto; accent-color: #0046be; }
.access-option span { display: grid; gap: 4px; }
.access-option strong { color: #14233a; font-size: 14px; }
.access-option small { color: #617088; font-size: 12px; font-weight: 550; line-height: 1.4; }
.account-edit-values { padding: 14px; border: 1px solid #dce3ed; border-radius: 14px; background: #f8faff; }
.edit-permission-note { margin: 13px 0 0; padding: 11px 13px; border-radius: 12px; color: #725200; background: #fff5cc; font-size: 12px; font-weight: 700; line-height: 1.4; }
.access-security { margin-top: 18px; padding: 15px; display: grid; gap: 4px; border-radius: 14px; color: #16457e; background: #eaf2ff; font-size: 13px; }
.access-security span { color: #53657d; }
.access-result { text-align: center; animation: rise-in .34s cubic-bezier(.2,.8,.2,1) both; }
.access-success { width: 54px; height: 54px; margin: 4px auto 12px; display: grid; place-items: center; border-radius: 18px; color: white; background: #137f54; font-size: 28px; font-weight: 900; }
.access-result-avatar { width: 78px; height: 78px; margin: 0 auto 12px; display: block; border: 4px solid #e8f0fe; border-radius: 25px; object-fit: cover; }
.access-result-avatar[hidden] { display: none; }
.access-result h3 { margin: 0; font-size: 25px; }
.access-result > p { max-width: 500px; margin: 9px auto 0; color: #617088; line-height: 1.5; }
.qr-code { width: 280px; max-width: 100%; margin: 20px auto 16px; padding: 10px; border: 1px solid #dce3ed; border-radius: 20px; background: white; }
.qr-code svg { display: block; width: 100%; height: auto; }
.credential-grid { margin: 0 auto; padding: 15px 17px; display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; text-align: left; border-radius: 15px; background: #f4f7fb; }
.credential-grid span { color: #617088; font-size: 13px; }
.credential-grid strong { color: #14233a; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; overflow-wrap: anywhere; }
.access-result .access-warning { margin-top: 12px; color: #9c6200; font-size: 13px; font-weight: 700; }

body.dark-mode { color: #f1f5fc; background: #0a111d; }
body.dark-mode .login-card { border-color: #8ab7ff; background: rgba(15,25,40,.97); box-shadow: 0 0 0 3px rgba(0,70,190,.85), 0 28px 80px rgba(0,0,0,.52); }
body.dark-mode .login-card h1 { color: #f1f5fc; }
body.dark-mode .login-intro { color: #a9b5c8; }
body.dark-mode .login-card label { color: #b9c5d6; }
body.dark-mode .login-card input { border-color: #3a4b64; color: #f1f5fc; background: #101b2b; color-scheme: dark; }
body.dark-mode .login-card input:focus { border-color: #79a7f7; outline-color: #243f68; }
body.dark-mode .forgot-link { color: #8ab7ff; }
body.dark-mode .login-back { color: #a9b5c8; }
body.dark-mode .login-divider { color: #8492a7; }
body.dark-mode .login-divider::before, body.dark-mode .login-divider::after { background: #34465f; }
body.dark-mode .passkey-login { border-color: #3a557b; color: #b8d3ff; background: #182a44; }
body.dark-mode .app-qr-open { border-color: #334d70; color: #a9caff; background: #101d2e; }
body.dark-mode .app-qr-dialog form { border-color: #588bd5; color: #e7eef9; background: #101b2b; }
body.dark-mode .app-qr-dialog h2 { color: #f1f5fc; }
body.dark-mode .app-qr-intro, body.dark-mode .app-qr-note { color: #a9b5c8; }
body.dark-mode .app-qr-close { color: #d5dfed; background: #1e3049; }
body.dark-mode #admin-app { min-height: 100vh; background: #0a111d; }
body.dark-mode .heading h1,
body.dark-mode .empty h2,
body.dark-mode .person h2,
body.dark-mode .team-entry h2,
body.dark-mode .period,
body.dark-mode .balance strong { color: #f1f5fc; }
body.dark-mode .heading p,
body.dark-mode .summaries span,
body.dark-mode .notice,
body.dark-mode .empty p,
body.dark-mode .person p,
body.dark-mode .balance span,
body.dark-mode .decision-copy,
body.dark-mode .dialog-intro { color: #a9b5c8; }
body.dark-mode .summaries article,
body.dark-mode .filters button,
body.dark-mode .empty,
body.dark-mode .request,
body.dark-mode .team-entry,
body.dark-mode .paper-dialog { color: #f1f5fc; background: #151f30; }
body.dark-mode .refresh { color: #8ab7ff; background: #1d2a3f; }
body.dark-mode .view-tabs { background: #1d2a3f; }
body.dark-mode .view-tabs button { color: #a9b5c8; }
body.dark-mode .view-tabs button[aria-pressed="true"] { color: #8ab7ff; background: #283952; }
body.dark-mode .filters button[aria-pressed="true"] { color: white; background: #0046be; }
body.dark-mode .person-filter { color: #a9b5c8; }
body.dark-mode .person-filter select { border-color: #3a4b64; color: #f1f5fc; background: #0f1928; color-scheme: dark; }
body.dark-mode .request__top { border-color: #314159; }
body.dark-mode .avatar { color: #8ab7ff; background: #203759; }
body.dark-mode .details p { color: #d7e0ed; }
body.dark-mode .note,
body.dark-mode .decision-result { color: #c8d2e1; background: #1d2a3f; }
body.dark-mode .decision-meta { color: #b9ead5; background: #18352f; }
body.dark-mode .decision-meta span { color: #8ebaaa; }
body.dark-mode .decision-meta--cancelled,
body.dark-mode .decision-meta--rejected { color: #ffc1c1; background: #40262c; }
body.dark-mode .decision-meta--cancelled span,
body.dark-mode .decision-meta--rejected span { color: #d99b9b; }
body.dark-mode .decision-meta--changes_requested { color: #dabdff; background: #2c213d; }
body.dark-mode .decision-meta--changes_requested span { color: #b79bda; }
body.dark-mode .balance--unchanged strong { color: #74d7ab; }
body.dark-mode .note p:last-child { color: #c8d2e1; }
body.dark-mode .decision { border-color: #34465f; }
body.dark-mode .balance + .balance { border-color: #34465f; }
body.dark-mode .reason { color: #ffb7b7; background: #412b35; }
body.dark-mode .badge--trash { color: #c8d2e1; background: #26364c; }
body.dark-mode .badge--changes_requested { color: #d9b8ff; background: #3a2850; }
body.dark-mode .request-changes { border-color: #745697; color: #dabdff; background: #2c213d; }
body.dark-mode .conflict-warning { border-color: #773d46; color: #ffadb5; background: #3d2328; }
body.dark-mode .conflict-warning span { color: #f2c4c8; }
body.dark-mode .school-conflict-warning { border-color: #df5d67; color: #ffb5ba; background: #3d2328; box-shadow: 0 7px 20px rgba(0,0,0,.2); }
body.dark-mode .school-conflict-warning div span { color: #efc0c4; }
body.dark-mode .print-request { border-color: #355d91; color: #a9caff; background: #172b49; }
body.dark-mode .print-request small { color: #a9b5c8; }
body.dark-mode .print-request:hover { border-color: #5585c3; background: #1d365b; }
body.dark-mode .attachments button { border-color: #34527a; color: #9cc4ff; background: #172b49; }
body.dark-mode .request-history { border-color: #344a68; background: #111c2d; }
body.dark-mode .request-history summary { color: #a9caff; }
body.dark-mode .request-history li span { color: #a9b5c8; }
body.dark-mode .staff-toolbar button, body.dark-mode .staff-toolbar select { border-color: #3a4b64; color: #d7e2f2; background: #111c2d; }
body.dark-mode .staff-toolbar button:hover { background: #1b2b42; }
body.dark-mode .staff-period { color: #edf3fb; }
body.dark-mode .staff-period span, body.dark-mode .staff-team-filter, body.dark-mode .staff-legend { color: #a9b5c8; }
body.dark-mode .staff-calendar-scroll { border-color: #344a68; background: #111c2d; box-shadow: 0 3px 14px rgba(0,0,0,.24); }
body.dark-mode .staff-calendar__corner, body.dark-mode .staff-calendar__day-head { border-color: #344a68; color: #c8d2e1; background: #111c2d; }
body.dark-mode .staff-calendar__corner span { color: #91a0b4; }
body.dark-mode .staff-calendar__day-head strong { color: #dce5f2; }
body.dark-mode .staff-calendar__day-head.is-today strong { color: #fff; background: #8ab4f8; }
body.dark-mode .staff-calendar__day-head.is-today span { color: #8ab4f8; }
body.dark-mode .staff-calendar__day-head.has-holiday--full { background: #173b26; }
body.dark-mode .staff-calendar__day-head.has-holiday--half { background: repeating-linear-gradient(135deg, #3b321d 0 8px, #111c2d 8px 16px); }
body.dark-mode .staff-calendar__rail { border-color: #344a68; color: #91a0b4; }
body.dark-mode .staff-calendar__day { border-color: #2b3d55; background-image: linear-gradient(to bottom, transparent 51px, #23344b 52px); }
body.dark-mode .staff-calendar__day.is-today { background-color: #13233a; }
body.dark-mode .staff-calendar__day.has-holiday--full { background-color: #122b20; }
body.dark-mode .staff-calendar__day.has-holiday--half { background-color: #2a2518; }
body.dark-mode .staff-entry { border-color: #315a8e; color: #aecbfa; background: #17345d; }
body.dark-mode .staff-entry--sick { border-color: #75413e; color: #f5aaa3; background: #492724; }
body.dark-mode .staff-entry--special { border-color: #674683; color: #d7aefb; background: #3c2850; }
body.dark-mode .staff-entry--school { border-color: #6f5920; color: #fdd663; background: #45391b; }
body.dark-mode .staff-avatar { background: rgba(5,18,34,.76); }
body.dark-mode .staff-holiday { border-color: #34734b; border-left-color: #5bb974; color: #9ce3ae; background: #173b26; }
body.dark-mode .staff-holiday--half { border-color: #745d26; border-left-color: #f9ab00; color: #fdd663; background: repeating-linear-gradient(135deg, #3b321d 0 9px, #302a1c 9px 18px); }
body.dark-mode .staff-holiday-list { border-color: #344a68; background: #111c2d; }
body.dark-mode .staff-holiday-list > div span, body.dark-mode .staff-holiday-list > p { color: #a9b5c8; }
body.dark-mode .staff-holiday-list__item { background: #173b26; }
body.dark-mode .staff-holiday-list__item--half { background: #3b321d; }
body.dark-mode .staff-holiday-list__date, body.dark-mode .staff-holiday-list__item small { color: #c2ccda; }
body.dark-mode .trash-retention { color: #e2c9d4; background: #302630; }
body.dark-mode .purge-button { border-color: #e15b5b; background: #b83838; }
body.dark-mode .type-pill { color: #9bc2ff; background: #203759; }
body.dark-mode .source-pill { color: #c8d2e1; background: #26364c; }
body.dark-mode .open-age { color: #ffd970; background: #3a3020; }
body.dark-mode .paper-dialog::backdrop { background: rgba(1,7,16,.72); }
body.dark-mode .select-field small { color: #9facbe; }
body.dark-mode .select-field select { border-color: #34465f; color: #eef3fa; background-color: #111c2d; }
body.dark-mode .select-field select:focus { border-color: #6e9add; outline-color: rgba(110,154,221,.18); }
body.dark-mode .paper-person-preview { border-color: #355273; background: linear-gradient(135deg, #172941, #142238); }
body.dark-mode .paper-person-preview strong { color: #eef3fa; }
body.dark-mode .paper-person-preview div span { color: #aebbd0; }
body.dark-mode .dialog-head button,
body.dark-mode .dialog-actions button:first-child { color: #c8d2e1; background: #26364c; }
body.dark-mode .dialog-actions .delete-user { border-color: #75404a; color: #ff9d9d; background: #412b35; }
body.dark-mode .approval-summary { border-color: #31435c; background: #111a29; }
body.dark-mode .approval-summary div { border-color: #31435c; }
body.dark-mode .approval-summary span { color: #aebbd0; }
body.dark-mode .access-security { color: #9bc2ff; background: #203759; }
body.dark-mode .team-management { border-color: #365985; background: linear-gradient(145deg, #12243e, #101c2d); }
body.dark-mode .team-badge { color: #fff; background: #0757d3; }
body.dark-mode .team-create-row input { border-color: #3a4b64; color: #f1f5fc; background: #0d1725; }
body.dark-mode .team-create-row input:focus { border-color: #79a7f7; outline-color: #243f68; }
body.dark-mode .team-list-empty { border-color: #40536d; color: #a9b5c8; background: rgba(15,25,40,.7); }
body.dark-mode .team-item { border-color: #344a68; background: #151f30; }
body.dark-mode .team-item__icon { color: #9bc2ff; background: #203759; }
body.dark-mode .team-item__copy strong { color: #f1f5fc; }
body.dark-mode .team-item__copy span { color: #a9b5c8; }
body.dark-mode .team-item__actions button { color: #9bc2ff; background: #203759; }
body.dark-mode .team-item__actions .team-delete { color: #ff9d9d; background: #412b35; }
body.dark-mode .access-permissions,
body.dark-mode .form-grid .access-option { border-color: #3a4b64; background: #0f1928; }
body.dark-mode .access-section-head h3,
body.dark-mode .access-new-heading h3,
body.dark-mode .access-account__copy strong,
body.dark-mode .access-option strong { color: #f1f5fc; }
body.dark-mode .access-section-head p,
body.dark-mode .access-new-heading p,
body.dark-mode .access-account__copy span,
body.dark-mode .access-option small,
body.dark-mode .access-list { color: #a9b5c8; }
body.dark-mode .permission-badge { color: #9bc2ff; background: #203759; }
body.dark-mode .access-account { border-color: #3a4b64; background: #151f30; }
body.dark-mode .access-account__avatar { color: #9bc2ff; background: #203759; }
body.dark-mode .access-account__copy .access-team-tag { color: #9bc2ff; background: #203759; }
body.dark-mode .access-edit-button { color: #9bc2ff; background: #203759; }
body.dark-mode .access-qr-button { border-color: #44638b; color: #b8d2ff; background: #101b2b; }
body.dark-mode .password-reset-panel { border-color: #3a4b64; background: #111c2d; }
body.dark-mode .password-reset-panel__head strong { color: #eef4fd; }
body.dark-mode .password-reset-panel__head span { color: #a9b5c8; }
body.dark-mode .password-reset-panel__head button { border-color: #7b5a2d; color: #ffd590; background: #3b3020; }
body.dark-mode .password-reset-result { border-color: #3a5e91; background: #152947; }
body.dark-mode .password-reset-result > span, body.dark-mode .password-reset-result > small { color: #aebbd0; }
body.dark-mode .password-reset-result > strong { color: #a9caff; }
body.dark-mode .access-list-empty { background: #1d2a3f; }
body.dark-mode .access-new-heading { border-color: #34465f; }
body.dark-mode .account-edit-values { border-color: #3a4b64; background: #101b2b; }
body.dark-mode .edit-permission-note { color: #ffe38c; background: #3a3020; }
body.dark-mode .access-security span,
body.dark-mode .access-result > p { color: #a9b5c8; }
body.dark-mode .credential-grid { background: #1d2a3f; }
body.dark-mode .credential-grid span { color: #a9b5c8; }
body.dark-mode .credential-grid strong { color: #f1f5fc; }
body.dark-mode .access-result .access-warning { color: #ffd970; }
body.dark-mode .form-grid label { color: #b9c5d6; }
body.dark-mode .form-grid input,
body.dark-mode .form-grid select,
body.dark-mode .form-grid textarea { border-color: #3a4b64; color: #f1f5fc; background: #0f1928; color-scheme: dark; }
body.dark-mode .avatar-upload-label input::file-selector-button { color: #9bc2ff; background: #203759; }
body.dark-mode .avatar-upload-preview { border-color: #3a4b64; background: #0f1928; }
body.dark-mode .avatar-upload-preview strong { color: #f1f5fc; }
body.dark-mode .avatar-upload-preview span { color: #a9b5c8; }

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes rise-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes dialog-in {
  from { opacity: 0; transform: translateY(14px) scale(.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
@media (max-width: 760px) {
  .brandbar__inner { min-height: 78px; padding: 10px 18px; background-size: auto 56%; background-position: left center; }
  .brandbar__inner, .shell { padding-left: 18px; padding-right: 18px; }
  .role { padding: 7px 9px; border-radius: 10px; background: rgba(2,44,96,.34); font-size: 12px; }
  .shell { padding-top: 32px; }
  .heading { align-items: flex-start; flex-direction: column; }
  .heading-actions { width: 100%; justify-content: flex-start; }
  .summaries { grid-template-columns: 1fr; }
  .request-filterbar { align-items: stretch; flex-direction: column; }
  .person-filter { min-width: 0; order: -1; }
  .request__top { padding: 20px; }
  .status-stack { justify-items: end; }
  .open-age { white-space: normal; text-align: right; }
  .request__body { grid-template-columns: 1fr; padding: 20px; }
  .period { font-size: 21px; }
  .team-calendar { grid-template-columns: 1fr; }
  .staff-toolbar { grid-template-columns: 1fr auto; gap: 12px; }
  .staff-toolbar__navigation { grid-column: 1; grid-row: 1; }
  .staff-period { grid-column: 1 / -1; grid-row: 2; }
  .staff-period strong { font-size: 17px; }
  .staff-team-filter { grid-column: 2; grid-row: 1; }
  .staff-team-filter > span { display: none; }
  .staff-team-filter select { min-width: 135px; max-width: 170px; }
  .staff-legend { gap: 7px 13px; }
  .staff-calendar { grid-template-columns: 84px repeat(6, minmax(150px,1fr)); min-width: 984px; }
  .staff-scroll-hint { display: block; }
  .staff-holiday-list { grid-template-columns: 1fr; gap: 12px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .span-2 { grid-column: auto; }
  .team-create-row { grid-template-columns: 1fr; }
  .team-create-row button { min-height: 44px; }
  .team-item { align-items: flex-start; flex-wrap: wrap; }
  .team-item__actions { width: 100%; padding-left: 44px; }
  .dialog-actions { flex-direction: column-reverse; }
}
.email-verification-note{display:block;margin-top:8px;color:#60718a;font-size:12px;font-weight:600;line-height:1.45}.email-verification-note.is-pending{color:#a75d00}.dark-mode .email-verification-note{color:#aebbd0}.dark-mode .email-verification-note.is-pending{color:#ffc65c}
.email-confirmation-card{text-align:center}.email-confirmation-card .eyebrow{text-align:left}.email-confirmation-icon{display:grid;place-items:center;width:66px;height:66px;margin:22px auto 16px;border-radius:22px;background:#e8f0ff;color:#0757d3;font-size:30px;font-weight:900;box-shadow:inset 0 0 0 1px #cfe0fb}.email-confirmation-icon.is-success{background:#e1f7ed;color:#087a4d}.email-confirmation-icon.is-error{background:#ffebec;color:#c6272d}.email-confirmation-link{display:block;box-sizing:border-box;margin-top:20px;text-decoration:none}.dark-mode .email-confirmation-icon{background:#172d51;color:#8bb7ff;box-shadow:inset 0 0 0 1px #294978}.dark-mode .email-confirmation-icon.is-success{background:#123d31;color:#74deb3}.dark-mode .email-confirmation-icon.is-error{background:#482327;color:#ff989d}
