/* NOVARIC® Employee Hub — hub.css
   Generated from globals.css (Tailwind @import lines removed for static deploy)
   Version: 20260827
   Do not edit directly — update globals.css and regenerate. */

:root {
  --ink: #241415;
  --blue: #861a1b;
  --sky: #f8eaea;
  --paper: #f8f6f3;
  --line: #e5d9d7;
  --muted: #6f5d5b;
  --success: #15803d;
}
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}
.dark {
  --paper: #07111f;
  --ink: #edf5fa;
  --line: #294055;
  --muted: #b8c6d1;
  --sky: #10283b;
}
.dyslexic {
  font-family: "Comic Sans MS", sans-serif;
  letter-spacing: 0.025em;
  line-height: 1.75;
}
.skip {
  position: fixed;
  top: -60px;
  left: 12px;
  z-index: 100;
  background: #fff;
  color: #000;
  padding: 10px;
}
.skip:focus {
  top: 12px;
}
.topbar {
  height: 36px;
  background: #5c1012;
  color: #fff4f2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  font-size: 12px;
}
.lang {
  background: transparent;
  color: inherit;
  border: 1px solid #66788a;
  border-radius: 7px;
  padding: 3px;
}
.header {
  height: 76px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  padding: 0 28px;
  gap: 28px;
  position: sticky;
  top: 0;
  z-index: 20;
}
.dark .header,
.dark .sidebar,
.dark .card,
.dark .policy {
  background: #0c1a2a;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 260px;
  text-decoration: none;
  color: inherit;
}
.brandlogo {
  width: 148px;
  height: auto;
  max-height: 48px;
  object-fit: contain;
  object-position: left center;
}
.hubname {
  border-left: 1px solid var(--line);
  padding-left: 12px;
}
.brand strong,
.brand small {
  display: block;
}
.brand strong {
  font-size: 14px;
  letter-spacing: 0.03em;
}
.brand small {
  font-size: 10px;
  color: var(--muted);
  margin-top: 2px;
}
.search {
  flex: 1;
  max-width: 650px;
}
.search input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--paper);
  color: var(--ink);
}
.head-actions {
  display: flex;
  gap: 7px;
}
.iconbtn,
.btn {
  display: inline-block;
  border: 1px solid var(--line);
  background: #fff;
  color: #132133;
  border-radius: 9px;
  padding: 9px 12px;
  font-weight: 650;
  cursor: pointer;
  text-decoration: none;
}
.dark .iconbtn,
.dark .btn {
  background: #13283b;
  color: #fff;
}
.btn.primary {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}
.layout {
  display: grid;
  grid-template-columns: 248px 1fr;
  min-height: calc(100vh - 112px);
}
.sidebar {
  border-right: 1px solid var(--line);
  background: #fff;
  padding: 22px 14px;
  position: sticky;
  top: 76px;
  height: calc(100vh - 76px);
  overflow-y: auto;
}
.navgroup {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--muted);
  padding: 14px 12px 8px;
}
.navitem {
  display: flex;
  gap: 11px;
  align-items: center;
  padding: 10px 12px;
  margin: 3px 0;
  border-radius: 9px;
  text-decoration: none;
  color: var(--muted);
  font-size: 14px;
  font-weight: 550;
}
.navitem:hover,
.navitem.active {
  background: var(--sky);
  color: var(--blue);
}
.main {
  padding: 34px clamp(22px, 4vw, 58px) 70px;
  max-width: 1440px;
  width: 100%;
  margin: auto;
}
.eyebrow {
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 11px;
  font-weight: 800;
}
.welcome {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
}
.welcome h1,
.page-title h1 {
  font-family: Georgia, serif;
  font-size: clamp(36px, 4vw, 52px);
  line-height: 1.04;
  margin: 8px 0 10px;
  letter-spacing: -0.035em;
}
.welcome p,
.page-title p {
  color: var(--muted);
  max-width: 680px;
  line-height: 1.6;
  margin: 0;
}
.status {
  background: #e9f6ec;
  color: var(--success);
  border: 1px solid #b8dfc1;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
  margin-top: 30px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 21px;
  box-shadow: 0 1px 3px #0f172a0d;
}
.hero-card {
  grid-column: span 8;
  background: linear-gradient(125deg, #3f0b0d, #861a1b) !important;
  color: #fff;
  min-height: 240px;
  position: relative;
  overflow: hidden;
  padding: 30px;
}
.hero-card::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  border: 52px solid #ffffff0f;
  border-radius: 50%;
  right: -70px;
  top: -80px;
}
.hero-card .eyebrow {
  color: #ffd0ca;
}
.hero-card h2 {
  font-family: Georgia, serif;
  font-size: 30px;
  margin: 8px 0;
}
.hero-card p {
  color: #c9dce7;
  max-width: 520px;
}
.chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.chips span {
  border: 1px solid #ffffff47;
  background: #ffffff17;
  border-radius: 999px;
  padding: 7px 11px;
  font-size: 12px;
}
.progress-card {
  grid-column: span 4;
  text-align: center;
}
.progress-ring {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: conic-gradient(var(--success) 0 74%, #e5eaed 74%);
  margin: 18px auto;
  position: relative;
}
.progress-ring::after {
  content: "74%";
  position: absolute;
  inset: 13px;
  background: #fff;
  color: #102133;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 21px;
}
.quick {
  grid-column: span 12;
}
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.section-head h2,
.card h3 {
  margin: 0;
}
.actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.action {
  display: block;
  text-decoration: none;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 17px;
  background: var(--paper);
  transition: 0.15s;
}
.action:hover {
  transform: translateY(-2px);
  border-color: var(--blue);
}
.action i {
  width: 36px;
  height: 36px;
  background: var(--sky);
  color: var(--blue);
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-style: normal;
}
.action b,
.action small {
  display: block;
}
.action b {
  margin: 12px 0 6px;
}
.action small {
  color: var(--muted);
}
.updates {
  grid-column: span 7;
}
.assist {
  grid-column: span 5;
}
.update {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 13px;
  padding: 15px 0;
  border-top: 1px solid var(--line);
}
.update:first-of-type {
  border: 0;
}
.update p {
  margin: 3px 0;
  color: var(--muted);
  font-size: 13px;
}
.badge {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 5px 8px;
  background: var(--sky);
  color: var(--blue);
  height: max-content;
}
.assist h2 {
  margin: 8px 0 15px;
}
.assist button {
  display: block;
  width: 100%;
  text-align: left;
  background: var(--sky);
  color: var(--ink);
  border: 0;
  padding: 11px;
  border-radius: 9px;
  margin: 8px 0;
  cursor: pointer;
}
.page-title {
  border-bottom: 1px solid var(--line);
  padding-bottom: 24px;
}
.page-title h1 {
  font-size: 43px;
}
.toolgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}
.toolgrid p,
.toolcard p {
  color: var(--muted);
  line-height: 1.55;
}
.policy-list {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}
.policy {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.policy h3 {
  margin: 10px 0 5px;
}
.policy p {
  margin: 0 0 8px;
  color: var(--muted);
}
.form {
  margin-top: 22px;
}
.formrow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 16px 0;
}
.form label {
  display: grid;
  gap: 7px;
  font-size: 12px;
  font-weight: 750;
}
.form select,
.form input,
.modal textarea {
  width: 100%;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--paper);
  color: var(--ink);
}
.result {
  margin-top: 18px;
  border-left: 4px solid var(--blue);
  background: var(--sky);
  padding: 16px;
  border-radius: 0 11px 11px 0;
  line-height: 1.55;
}
.footer {
  border-top: 1px solid var(--line);
  padding: 24px;
  color: var(--muted);
  font-size: 12px;
  display: flex;
  justify-content: space-between;
}
.footer a {
  color: var(--muted);
}
.mobile-nav {
  display: none;
}
/* Legal page styles */
.legal-notice {
  margin-top: 20px;
  border: 1px solid #d8b2ae;
  border-left: 5px solid var(--blue);
  border-radius: 12px;
  background: var(--sky);
  padding: 17px 20px;
}
.legal-notice p {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.6;
}
.legal-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  align-items: end;
  margin: 22px 0;
}
.legal-toolbar label {
  display: grid;
  gap: 7px;
  font-size: 12px;
  font-weight: 750;
  width: min(460px, 100%);
}
.legal-toolbar input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
}
.legal-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.legal-meta span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 10px;
  color: var(--muted);
  font-size: 11px;
  background: #fff;
}
.legal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.legal-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 21px;
  box-shadow: 0 1px 3px #0f172a0d;
}
.dark .legal-card,
.dark .legal-toolbar input,
.dark .legal-meta span {
  background: #0c1a2a;
}
.legal-card-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: start;
}
.legal-card h2 {
  font-family: Georgia, serif;
  margin: 9px 0 18px;
  font-size: 27px;
}
.legal-card h3 {
  margin: 14px 0 5px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
}
.legal-card p {
  line-height: 1.62;
  color: var(--muted);
}
.legal-card .legal-law {
  color: var(--ink);
  font-weight: 650;
}
.legal-card a {
  color: var(--blue);
  font-weight: 750;
}
.source-mark {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--sky);
  color: var(--blue);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 21px;
  flex-shrink: 0;
}
.corrections {
  margin-top: 20px;
}
.corrections li {
  margin: 9px 0;
  color: var(--muted);
  line-height: 1.55;
}
/* Danger / demo notice */
.demo-notice {
  margin: 20px 0;
  border: 2px solid #c0392b;
  border-radius: 12px;
  background: #fff8f8;
  padding: 18px 22px;
}
.demo-notice h3 {
  color: #c0392b;
  margin: 0 0 8px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.demo-notice p {
  margin: 4px 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 13px;
}
/* Account deferred notice */
.deferred-notice {
  margin: 30px 0;
  border: 1px solid var(--line);
  border-left: 5px solid var(--blue);
  border-radius: 12px;
  background: var(--sky);
  padding: 24px 26px;
}
.deferred-notice p {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.6;
}
.deferred-record {
  margin-top: 14px;
  font-family: monospace;
  font-size: 12px;
  color: var(--muted);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px 12px;
  display: inline-block;
}
/* Checklist result hidden by default */
#leave-result { display: none; }
#rights-form { display: none; }
#report-result { display: none; }
/* Policy search */
.policy-item[hidden] { display: none !important; }
/* Legal card hidden */
.legal-card[hidden] { display: none !important; }
/* Dark mode toggle */
body.dark { background: var(--paper); color: var(--ink); }
@media (max-width: 900px) {
  .layout {
    grid-template-columns: 1fr;
  }
  .sidebar {
    display: none;
  }
  .hero-card,
  .progress-card,
  .updates,
  .assist {
    grid-column: span 12;
  }
  .actions {
    grid-template-columns: 1fr 1fr;
  }
  .toolgrid {
    grid-template-columns: 1fr 1fr;
  }
  .mobile-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid var(--line);
    z-index: 30;
    justify-content: space-around;
    padding: 8px;
  }
  .mobile-nav a {
    font-size: 10px;
    text-decoration: none;
    text-align: center;
    display: grid;
    color: var(--muted);
  }
  .footer {
    padding-bottom: 75px;
  }
}
@media (max-width: 800px) {
  .legal-grid { grid-template-columns: 1fr; }
  .legal-toolbar { align-items: stretch; flex-direction: column; }
  .legal-meta { justify-content: flex-start; }
}
@media (max-width: 600px) {
  .topbar {
    padding: 0 12px;
  }
  .topbar > span:last-child {
    display: none;
  }
  .header {
    padding: 0 12px;
    gap: 9px;
  }
  .brand {
    min-width: auto;
  }
  .brand > span:last-child,
  .head-actions .iconbtn:nth-child(-n + 2) {
    display: none;
  }
  .main {
    padding: 24px 14px 60px;
  }
  .welcome {
    align-items: start;
    flex-direction: column;
  }
  .grid {
    gap: 12px;
  }
  .actions,
  .toolgrid,
  .formrow {
    grid-template-columns: 1fr;
  }
  .hero-card {
    padding: 23px;
  }
  .progress-card {
    display: none;
  }
  .page-title h1 {
    font-size: 36px;
  }
  .search input {
    font-size: 12px;
  }
}
@media print {
  .topbar,
  .header,
  .sidebar,
  .mobile-nav,
  .btn {
    display: none !important;
  }
  .layout {
    display: block;
  }
  .main {
    padding: 0;
  }
  .card,
  .policy {
    break-inside: avoid;
  }
  .footer {
    display: block;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
