:root {
  --ink: #172331;
  --navy: #132f4a;
  --navy-2: #1d476b;
  --paper: #f7f6f1;
  --surface: #fff;
  --line: #dfe4e1;
  --accent: #b24f43;
  --accent-soft: #f9e8e4;
  --mint: #e7f2ef;
  --mint-strong: #29766e;
  --muted: #637181;
  --shadow: 0 12px 30px rgba(18, 43, 65, 0.08);
  --radius: 16px;
}
* {
  box-sizing: border-box;
}
html {
  background: var(--paper);
}
body {
  margin: 0;
  background:
    radial-gradient(circle at 85% -12%, #e8f2ef 0, transparent 29rem),
    var(--paper);
  color: var(--ink);
  font:
    16px/1.55 Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  min-height: 100vh;
}
header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 68px;
  background: rgba(19, 47, 74, 0.98);
  color: #fff;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 max(24px, calc((100vw - 1240px) / 2));
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.12);
}
header strong {
  font-size: 1rem;
  letter-spacing: -0.02em;
}
header > span {
  opacity: 0.62;
  font-size: 0.78rem;
  border-left: 1px solid rgba(255, 255, 255, 0.25);
  padding-left: 12px;
}
nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 3px;
}
a {
  color: inherit;
  text-decoration: none;
}
nav a {
  font-size: 0.86rem;
  opacity: 0.85;
  padding: 9px 10px;
  border-radius: 8px;
  transition: 0.16s ease;
}
nav a:hover,
nav a.active {
  opacity: 1;
  background: rgba(255, 255, 255, 0.12);
}
main {
  max-width: 1160px;
  margin: 0 auto;
  padding: 64px 28px 88px;
}
.login {
  background:
    radial-gradient(circle at 100% 0, #dbece8, transparent 34rem), var(--paper);
}
.login main {
  max-width: 520px;
  padding-top: 14vh;
}
.eyebrow,
small {
  display: block;
  letter-spacing: 0.11em;
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--accent);
}
h1,
h2,
h3 {
  font-family: Georgia, Cambria, "Times New Roman", serif;
  color: var(--navy);
  letter-spacing: -0.025em;
}
h1 {
  font-size: clamp(2.4rem, 5.6vw, 4.8rem);
  line-height: 1.02;
  margin: 0.3rem 0 1rem;
  max-width: 880px;
}
h2 {
  font-size: 1.5rem;
  line-height: 1.15;
  margin: 0.25rem 0 0.6rem;
}
.lede {
  font-size: 1.1rem;
  max-width: 720px;
  color: var(--muted);
  margin: 0;
}
.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin: 38px 0;
}
.cards article,
.list {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.cards article {
  position: relative;
  overflow: hidden;
}
.cards article:after {
  content: "";
  position: absolute;
  right: -20px;
  bottom: -28px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: var(--mint);
  opacity: 0.55;
}
.cards article > * {
  position: relative;
  z-index: 1;
}
.list {
  padding: 0;
  overflow: hidden;
}
.list > div {
  display: grid;
  grid-template-columns: 1.2fr 1.7fr auto;
  gap: 16px;
  align-items: center;
  padding: 17px 22px;
  border-bottom: 1px solid var(--line);
  transition: background 0.16s;
}
.list > div:hover {
  background: #fcfdfc;
}
.list > div:last-child {
  border: 0;
}
.list span {
  color: var(--muted);
  font-size: 0.9rem;
}
.list em {
  font-style: normal;
  font-size: 0.74rem;
  color: var(--accent);
  text-align: right;
  font-weight: 700;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--mint);
  border-radius: 99px;
  padding: 4px 9px;
  font-size: 0.72rem;
  font-weight: 750;
  color: #21645d;
}
.badge:before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.badge.pending {
  background: #f7ead2;
  color: #8b5a10;
}
.badge.pending:before {
  background: #c88412;
}
form {
  margin-top: 30px;
}
label {
  display: block;
  margin: 15px 0;
  font-weight: 700;
  color: var(--navy);
}
input,
textarea {
  display: block;
  width: 100%;
  margin-top: 7px;
  padding: 12px 13px;
  border: 1px solid #cbd4d2;
  border-radius: 9px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  box-shadow: 0 1px 0 rgba(12, 30, 45, 0.03);
}
input:focus,
textarea:focus {
  outline: 3px solid #c9e2dd;
  border-color: #75aa9f;
}
button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  border: 0;
  border-radius: 9px;
  padding: 11px 16px;
  font: 700 0.9rem/1.2 inherit;
  letter-spacing: 0.01em;
  margin-top: 10px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(178, 79, 67, 0.2);
  transition:
    transform 0.15s,
    box-shadow 0.15s;
}
button:hover,
.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 15px rgba(178, 79, 67, 0.28);
}
button:disabled {
  opacity: 0.6;
  cursor: wait;
  transform: none;
}
.secondary {
  background: var(--navy);
  box-shadow: 0 4px 10px rgba(19, 47, 74, 0.18);
}
.fine {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 28px;
}
.alert {
  background: var(--accent-soft);
  border-left: 4px solid var(--accent);
  padding: 12px 14px;
  border-radius: 8px;
  color: #743b34;
}
.account-bar {
  backdrop-filter: blur(8px);
}
@media (max-width: 700px) {
  header {
    padding: 12px 18px;
    flex-wrap: wrap;
    min-height: 0;
  }
  header > span {
    font-size: 0.72rem;
  }
  nav {
    width: 100%;
    margin: 0;
    justify-content: space-between;
    gap: 0;
    overflow-x: auto;
  }
  nav a {
    padding: 7px 7px;
    font-size: 0.75rem;
    white-space: nowrap;
  }
  main {
    padding: 44px 18px 92px;
  }
  h1 {
    font-size: clamp(2.2rem, 12vw, 3.5rem);
  }
  .lede {
    font-size: 1rem;
  }
  .cards {
    grid-template-columns: 1fr;
    gap: 14px;
    margin: 28px 0;
  }
  .cards article {
    padding: 20px;
  }
  .list > div {
    grid-template-columns: 1fr;
    gap: 5px;
    padding: 15px 17px;
  }
  .list em {
    text-align: left;
  }
  .account-bar {
    font-size: 0.75rem !important;
    padding: 11px 12px !important;
  }
}

/* Native-app inspired visual layer: original styling, optimised for iPhone-sized screens. */
:root {
  --ios-blue: #0a84ff;
  --ios-indigo: #5e5ce6;
  --ios-bg: #f2f2f7;
  --ios-separator: rgba(60, 60, 67, 0.14);
  --ios-card: rgba(255, 255, 255, 0.86);
  --radius: 22px;
  --shadow: 0 10px 28px rgba(25, 30, 60, 0.09);
}
html {
  background: var(--ios-bg);
}
body {
  background: linear-gradient(145deg, #f8fbff 0%, #f2f2f7 48%, #edf2f8 100%);
  font-family:
    -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display",
    "Segoe UI", sans-serif;
  letter-spacing: -0.012em;
}
header {
  min-height: 58px;
  background: rgba(248, 250, 255, 0.78);
  color: #14151a;
  border-bottom: 1px solid rgba(60, 60, 67, 0.12);
  box-shadow: none;
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
}
header strong {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.035em;
}
header > span {
  color: #6b6b73;
  opacity: 1;
  border-color: var(--ios-separator);
  font-size: 0.72rem;
}
nav a {
  color: #4b4b55;
  font-size: 0.82rem;
  font-weight: 650;
  padding: 7px 10px;
  border-radius: 10px;
}
nav a:hover,
nav a.active {
  color: var(--ios-blue);
  background: rgba(10, 132, 255, 0.1);
}
main {
  max-width: 1080px;
  padding-top: 52px;
}
.eyebrow,
small {
  color: var(--ios-blue);
  letter-spacing: 0.08em;
  font-size: 0.68rem;
}
h1,
h2,
h3 {
  font-family:
    -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  color: #17171c;
  font-weight: 780;
  letter-spacing: -0.05em;
}
h1 {
  font-size: clamp(2.2rem, 5.5vw, 4.25rem);
  line-height: 0.98;
}
h2 {
  font-size: 1.35rem;
}
.lede {
  color: #6b6b73;
  font-size: 1.04rem;
  max-width: 650px;
}
.cards article,
.list,
.travel-card,
.month,
.access,
.composer,
.message {
  background: var(--ios-card) !important;
  border: 1px solid rgba(255, 255, 255, 0.95) !important;
  box-shadow: var(--shadow) !important;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.cards article:after {
  background: radial-gradient(circle, #cfe7ff, transparent 66%);
  opacity: 0.9;
}
.list > div {
  border-bottom-color: var(--ios-separator);
  padding: 17px 20px;
}
.list > div:hover {
  background: rgba(10, 132, 255, 0.035);
}
.list em {
  color: var(--ios-blue);
}
.badge {
  background: #e1f0ff;
  color: #0066cc;
  padding: 5px 10px;
  font-weight: 750;
}
.badge.pending {
  background: #fff1d6;
  color: #a75b00;
}
button,
.button {
  background: linear-gradient(135deg, #0a84ff, #0071e3);
  border-radius: 13px;
  padding: 12px 17px;
  box-shadow: 0 7px 17px rgba(10, 132, 255, 0.22);
}
.secondary {
  background: rgba(120, 120, 128, 0.12);
  color: #126dd1;
  box-shadow: none;
}
button:hover,
.button:hover {
  box-shadow: 0 9px 20px rgba(10, 132, 255, 0.24);
}
input,
textarea {
  border-color: rgba(60, 60, 67, 0.18);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.9);
}
input:focus,
textarea:focus {
  outline: 3px solid rgba(10, 132, 255, 0.22);
  border-color: #0a84ff;
}
.surface-note {
  background: rgba(10, 132, 255, 0.08);
  border-color: rgba(10, 132, 255, 0.13);
  color: #31536f;
  border-radius: 16px;
}
.section-links a {
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(60, 60, 67, 0.12);
  color: #33343b;
  box-shadow: 0 2px 7px rgba(30, 35, 55, 0.05);
}
.section-links a:hover {
  background: #e1f0ff;
  border-color: #9dcbff;
  color: #0066cc;
}
.step-rail b {
  background: #dceeff;
  color: #0066cc;
}
.step-rail .active b {
  background: var(--ios-blue);
}
.step-rail div:not(:last-child):after {
  background: #b7d9ff;
}
.step-rail .locked b {
  background: #e8e8ed;
  color: #8e8e93;
}
.app-footer-note {
  border-top-color: var(--ios-separator);
}
@media (max-width: 700px) {
  body {
    padding-bottom: 78px;
  }
  header {
    position: sticky;
    min-height: 52px;
    padding: 0 18px;
  }
  header > span {
    display: none;
  }
  header strong:before {
    content: "●";
    color: var(--ios-blue);
    font-size: 0.7rem;
    margin-right: 6px;
    vertical-align: 1px;
  }
  header nav {
    position: fixed;
    z-index: 50;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 70px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 0;
    overflow: visible;
    padding: 7px 7px max(7px, env(safe-area-inset-bottom));
    background: rgba(250, 250, 252, 0.88);
    border-top: 1px solid var(--ios-separator);
    box-shadow: 0 -5px 20px rgba(30, 30, 40, 0.07);
    backdrop-filter: blur(22px) saturate(180%);
    -webkit-backdrop-filter: blur(22px) saturate(180%);
  }
  header nav a {
    flex: 1;
    max-width: 78px;
    padding: 7px 3px;
    color: #777780;
    font-size: 0.62rem;
    line-height: 1.1;
    text-align: center;
  }
  header nav a:before {
    display: block;
    margin-bottom: 4px;
    font-size: 1.08rem;
    line-height: 1;
  }
  header nav a:nth-child(1):before {
    content: "⌂";
  }
  header nav a:nth-child(2):before {
    content: "▦";
  }
  header nav a:nth-child(3):before {
    content: "⌁";
  }
  header nav a:nth-child(4):before {
    content: "▤";
  }
  header nav a:nth-child(5):before {
    content: "◌";
  }
  header nav a:nth-child(6) {
    display: none;
  }
  header nav a.active {
    color: var(--ios-blue);
    background: transparent;
  }
  main {
    padding: 31px 16px 30px;
  }
  h1 {
    font-size: 2.35rem;
    letter-spacing: -0.055em;
  }
  .cards article,
  .travel-card,
  .month,
  .access,
  .composer,
  .message {
    border-radius: 20px !important;
  }
  .cards article {
    padding: 19px;
  }
  .list {
    border-radius: 18px;
  }
  .list > div {
    padding: 15px 16px;
  }
  .button,
  button {
    min-height: 44px;
  }
}

.context-bar {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 25px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}
.context-bar:before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--accent);
}
.surface-note {
  background: linear-gradient(100deg, #f1f7f5, #f9fbfa);
  border: 1px solid #d8e8e3;
  border-radius: 12px;
  padding: 14px 16px;
  color: #46635f;
  font-size: 0.88rem;
}
.surface-note b {
  color: var(--navy);
}
.section-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 28px 0;
}
.section-links a {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 99px;
  padding: 7px 11px;
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 750;
}
.section-links a:hover {
  border-color: #8bb7af;
  background: var(--mint);
}
.status-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.status-row .fine {
  margin: 0;
}
.step-rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 28px 0 8px;
}
.step-rail div {
  position: relative;
  padding: 0 16px 0 0;
  min-height: 62px;
}
.step-rail div:not(:last-child):after {
  content: "";
  height: 2px;
  background: #c8ddd8;
  position: absolute;
  top: 13px;
  left: 27px;
  right: 0;
}
.step-rail b {
  display: grid;
  place-items: center;
  position: relative;
  z-index: 1;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #d9ece8;
  color: #24675f;
  font-size: 0.78rem;
}
.step-rail span {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.25;
}
.step-rail .active b {
  background: var(--navy);
  color: #fff;
}
.step-rail .locked b {
  background: #eff2f1;
  color: #7a8785;
}
.app-footer-note {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 38px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
  color: var(--muted);
}
@media (max-width: 700px) {
  .context-bar {
    margin-top: 18px;
  }
  .step-rail {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .step-rail div {
    padding-left: 39px;
    min-height: 36px;
  }
  .step-rail div:not(:last-child):after {
    width: 2px;
    height: calc(100% + 8px);
    top: 27px;
    left: 13px;
    right: auto;
  }
  .step-rail b {
    position: absolute;
    left: 0;
    top: 0;
  }
  .step-rail span {
    margin: 0;
  }
  .app-footer-note {
    display: block;
  }
  .app-footer-note span {
    display: block;
    margin-top: 5px;
  }
}

/* App shell */
.app-body {
  min-height: 100vh;
  background: #f5f9ff;
  color: #152443;
}
.app-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 232px;
  padding: 22px 12px 18px;
  background: rgba(255, 255, 255, 0.8);
  border-right: 1px solid #e1ebf8;
  backdrop-filter: blur(20px);
  z-index: 5;
  display: flex;
  flex-direction: column;
}
.brand {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 0 8px 24px;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 12px;
  background: linear-gradient(135deg, #11aaff, #2266ff);
  color: #fff;
  font-size: 17px;
  box-shadow: 0 7px 14px #1e76ef35;
}
.brand b {
  display: block;
  font-size: 0.98rem;
  color: #102447;
  letter-spacing: -0.04em;
}
.brand small {
  display: block;
  color: #72809a;
  font-size: 0.62rem;
  letter-spacing: 0;
}
.side-nav {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin: 0;
}
.side-nav a,
.side-nav-muted {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 11px;
  color: #405170;
  border-radius: 9px;
  font-size: 0.84rem;
  font-weight: 650;
}
.side-nav a:hover,
.side-nav a.active {
  color: #087af5;
  background: #e4f1ff;
}
.side-nav i,
.side-nav-muted i {
  font-style: normal;
  width: 16px;
  color: #557092;
  text-align: center;
}
.side-nav-muted {
  opacity: 0.58;
  cursor: default;
}
.side-nav-muted em {
  font-size: 0.57rem;
  margin-left: auto;
  font-style: normal;
  color: #687793;
}
.side-user {
  margin-top: auto;
  border-radius: 12px;
  padding: 12px 10px;
  background: #f0f6ff;
  color: #687793;
  font-size: 0.68rem;
}
.side-user b {
  color: #284261;
}
.side-user small {
  display: block;
  margin-left: 18px;
  font-size: 0.62rem;
}
.presence {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c98b;
  margin-right: 6px;
}
.app-main {
  margin-left: 232px;
  min-height: 100vh;
}
.app-topbar {
  position: sticky;
  top: 0;
  z-index: 4;
  height: 68px;
  padding: 0 34px;
  background: rgba(245, 249, 255, 0.8);
  border: 0;
  box-shadow: none;
  display: flex;
  justify-content: space-between;
  color: #172640;
  backdrop-filter: blur(18px);
}
.app-search {
  margin: 0;
  display: flex;
  align-items: center;
  width: min(430px, 52vw);
  background: #fff;
  border: 1px solid #dce8f8;
  border-radius: 22px;
  padding: 0 13px;
  color: #59708f;
}
.app-search span {
  font-size: 21px;
  line-height: 1;
  transform: rotate(-20deg);
}
.app-search input {
  margin: 0;
  padding: 9px;
  border: 0;
  background: transparent;
  box-shadow: none;
  font-size: 0.78rem;
}
.top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.notification {
  position: relative;
  margin: 0;
  padding: 0;
  background: transparent;
  color: #365170;
  box-shadow: none;
  font-size: 22px;
}
.notification b {
  position: absolute;
  top: -3px;
  right: -6px;
  display: grid;
  place-items: center;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #fc5264;
  color: #fff;
  font-size: 8px;
}
.profile-avatar,
.child-avatar {
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-weight: 800;
}
.profile-avatar {
  width: 33px;
  height: 33px;
  background: #193d66;
  color: #fff;
  font-size: 0.76rem;
}
.profile-name {
  font-size: 0.8rem;
  font-weight: 750;
}
.chevron {
  color: #60708a;
}
.overview {
  max-width: 1320px;
  padding: 18px 28px 42px;
}
.welcome-hero {
  min-height: 230px;
  border-radius: 17px;
  padding: 28px;
  overflow: hidden;
  position: relative;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  background: linear-gradient(115deg, #b8e9ff, #e5f9ff 50%, #f9f6d9);
  box-shadow: 0 12px 27px #0e5a9c1c;
}
.welcome-hero h1 {
  margin: 4px 0 8px;
  font-size: clamp(2.35rem, 4.1vw, 3.45rem);
  color: #0d1c3f;
}
.welcome-hero p:not(.eyebrow) {
  max-width: 490px;
  line-height: 1.3;
  color: #47627d;
}
.hero-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.primary-action,
.secondary-action,
.wide-primary,
.wide-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  padding: 11px 18px;
  font-size: 0.78rem;
  font-weight: 780;
}
.primary-action,
.wide-primary {
  background: #087df4;
  color: #fff;
  box-shadow: 0 8px 15px #087df436;
}
.secondary-action,
.wide-secondary {
  border: 1px solid #bcd9fd;
  background: #fff;
  color: #0877e6;
}
.hero-art {
  position: relative;
  overflow: hidden;
}
.sun {
  position: absolute;
  right: 85px;
  top: 32px;
  width: 75px;
  height: 75px;
  border-radius: 50%;
  background: #fff6b8;
  box-shadow: 0 0 35px #fff9d4;
}
.hill {
  position: absolute;
  bottom: -25px;
  border-radius: 50% 50% 0 0;
  background: #b9e2bd;
}
.hill-one {
  right: -70px;
  width: 370px;
  height: 150px;
}
.hill-two {
  right: 100px;
  width: 250px;
  height: 95px;
  background: #96cce2;
}
.child-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(205px, 1fr));
  gap: 12px;
  margin: 13px 0 18px;
}
.child-cards article {
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #e9f0fa;
  box-shadow: 0 5px 15px #2444680a;
}
.child-avatar {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  background: #cce7ff;
  color: #097af1;
  font-size: 0.85rem;
}
.avatar-2 {
  background: #e3d4ff;
  color: #8049d7;
}
.child-cards b {
  display: block;
  font-size: 0.78rem;
}
.child-cards small {
  color: #71809b;
  font-size: 0.64rem;
  line-height: 1.4;
  letter-spacing: 0;
}
.child-cards i {
  margin-left: auto;
  font-size: 24px;
  color: #8a9ab1;
  font-style: normal;
}
.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.9fr) minmax(280px, 1fr);
  gap: 14px;
}
.dashboard-main,
.dashboard-side {
  display: grid;
  gap: 14px;
  align-content: start;
}
.panel {
  border: 1px solid #e7eef9;
  border-radius: 16px;
  padding: 16px;
  background: #fff;
  box-shadow: 0 6px 20px #1b47720c;
}
.panel-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 13px;
}
.panel-title h2 {
  font-size: 1rem;
  margin: 0;
  color: #122546;
}
.panel-title > div h2 {
  margin: 0;
}
.panel-title small {
  color: #7c8ca5;
  letter-spacing: 0;
  font-size: 0.62rem;
}
.panel-title > a {
  margin-left: auto;
  color: #087af5;
  font-size: 0.68rem;
  font-weight: 750;
}
.panel-icon {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 7px;
  font-size: 0.87rem;
}
.panel-icon.blue {
  background: #e0f1ff;
  color: #087af5;
}
.panel-icon.orange {
  background: #fff0df;
  color: #ff7a25;
}
.panel-icon.green {
  background: #dff7ec;
  color: #09995f;
}
.panel-icon.coral {
  background: #ffe8e4;
  color: #fa6553;
}
.panel-icon.purple {
  background: #eee4ff;
  color: #8154e5;
}
.week-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  padding: 0 4px 10px;
}
.week-days span {
  padding: 6px 0;
  border-radius: 9px;
}
.week-days small {
  color: #697a98;
  font-size: 0.62rem;
  letter-spacing: 0;
}
.week-days b {
  display: block;
  font-size: 0.77rem;
}
.week-days .today {
  background: #087df4;
  color: #fff;
  box-shadow: 0 5px 12px #087df44a;
}
.week-days .today small {
  color: #fff;
}
.week-events a,
.compact-list a,
.mini-row {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #1c2c48;
}
.week-events a {
  padding: 10px 4px;
  border-top: 1px solid #edf2fa;
}
.week-events span,
.mini-row span {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.week-events b,
.compact-list b,
.mini-row b {
  font-size: 0.74rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.week-events small,
.mini-row small {
  letter-spacing: 0;
  color: #71819b;
  font-size: 0.64rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.week-events em,
.mini-row em {
  margin-left: auto;
  font-style: normal;
  color: #7890af;
}
.event-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #18bd7c;
  flex: 0 0 auto;
}
.event-dot.holiday {
  background: #ff6a70;
}
.compact-list a {
  padding: 9px 3px;
  border-top: 1px solid #edf2fa;
}
.event-bar {
  width: 4px;
  height: 21px;
  border-radius: 5px;
  background: #9056f7;
}
.event-bar.holiday {
  background: #ff6871;
}
.compact-list span {
  margin-left: auto;
  color: #6e809d;
  font-size: 0.66rem;
}
.status-pill {
  font-style: normal;
  border-radius: 999px;
  padding: 4px 7px;
  font-size: 0.57rem;
  font-weight: 800;
  white-space: nowrap;
}
.status-pill.proposed {
  background: #e4f2ff;
  color: #087af5;
}
.compact-list strong {
  font-size: 20px;
  color: #8495ad;
  font-weight: 400;
}
.focus-event {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 9px;
  align-items: center;
  margin: 10px 0 12px;
}
.focus-event b,
.handover-panel > b {
  font-size: 0.78rem;
}
.focus-event small {
  display: block;
  color: #73829d;
  font-size: 0.64rem;
  line-height: 1.4;
}
.wide-primary,
.wide-secondary {
  display: flex;
  width: 100%;
  padding: 9px;
  margin-top: 7px;
  border-radius: 8px;
  font-size: 0.68rem;
}
.handover-panel strong {
  display: block;
  font-size: 1rem;
  margin-top: 4px;
}
.handover-panel p {
  margin: 8px 0;
  color: #71809a;
  font-size: 0.68rem;
}
.route-preview {
  height: 58px;
  border-radius: 9px;
  background: repeating-linear-gradient(
    35deg,
    #e0edf0 0 15px,
    #f7f5e6 15px 30px
  );
  position: relative;
  margin-bottom: 8px;
}
.route-preview i {
  position: absolute;
  left: 26%;
  right: 24%;
  top: 48%;
  border-top: 3px solid #1687f8;
  transform: rotate(-8deg);
}
.route-preview span,
.route-preview b {
  position: absolute;
  top: 18px;
  font-size: 22px;
  color: #087df4;
}
.route-preview span {
  left: 20%;
}
.route-preview b {
  right: 18%;
  color: #ff5e70;
}
.quick-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.quick {
  min-height: 88px;
  border-radius: 10px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #203451;
}
.quick b {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font-size: 17px;
  background: #0b9c61;
  color: #fff;
}
.quick span {
  font-size: 0.65rem;
  font-weight: 750;
}
.quick small {
  display: block;
  font-size: 0.57rem;
  font-weight: 500;
  letter-spacing: 0;
  color: #6d7b91;
}
.quick.green {
  background: #e0f9ea;
}
.quick.purple {
  background: #f0e5ff;
}
.quick.purple b {
  background: #893de9;
}
.quick.blue {
  background: #e2f2ff;
}
.quick.blue b {
  background: #087df4;
}
.quick.amber {
  background: #fff5df;
}
.quick.amber b {
  background: #df9815;
}
.quick.disabled {
  opacity: 0.7;
}
.bottom-panels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 14px;
}
.mini-panel {
  min-height: 210px;
}
.mini-row {
  padding: 9px 2px;
  border-top: 1px solid #edf2fa;
}
.doc-icon,
.message-avatar,
.activity-icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #e7f2ff;
  color: #087af5;
  font-style: normal;
  font-size: 0.8rem;
  flex: 0 0 auto;
}
.message-avatar {
  border-radius: 50%;
  background: #d7e7f8;
  color: #557493;
  font-size: 0.65rem;
}
.activity-icon {
  background: #efe5ff;
  color: #8951e4;
}
.empty-state {
  font-size: 0.72rem;
  color: #71819b;
}
.app-footer {
  margin: 0 28px;
  padding: 17px 0;
  border-top: 1px solid #e1ebf8;
  display: flex;
  justify-content: space-between;
  color: #71819b;
  font-size: 0.65rem;
}
.app-footer i {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #21c38a;
  margin-right: 6px;
}
@media (max-width: 900px) {
  .app-sidebar {
    width: 190px;
  }
  .app-main {
    margin-left: 190px;
  }
  .overview {
    padding: 14px;
  }
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  .dashboard-side {
    grid-template-columns: repeat(3, 1fr);
  }
  .bottom-panels {
    grid-template-columns: 1fr 1fr;
  }
  .app-topbar {
    padding: 0 18px;
  }
}
@media (max-width: 680px) {
  .app-sidebar {
    position: static;
    width: auto;
    min-height: auto;
    padding: 12px;
    border-right: 0;
    border-bottom: 1px solid #e1ebf8;
  }
  .brand {
    padding: 0;
  }
  .side-nav {
    margin-top: 12px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
  .side-nav a,
  .side-nav-muted {
    padding: 8px 5px;
    font-size: 0.64rem;
    gap: 4px;
    justify-content: center;
  }
  .side-nav-muted em {
    display: none;
  }
  .side-user {
    display: none;
  }
  .app-main {
    margin: 0;
  }
  .app-topbar {
    height: 55px;
    padding: 0 13px;
  }
  .app-search {
    width: 70%;
    height: 34px;
  }
  .profile-name,
  .chevron {
    display: none;
  }
  .overview {
    padding: 12px;
  }
  .welcome-hero {
    grid-template-columns: 1fr;
    min-height: 250px;
    padding: 21px;
  }
  .welcome-hero h1 {
    font-size: 2.25rem;
  }
  .hero-art {
    position: absolute;
    inset: auto 0 0;
    height: 70px;
    opacity: 0.65;
  }
  .child-cards {
    grid-template-columns: 1fr 1fr;
  }
  .dashboard-side {
    grid-template-columns: 1fr;
  }
  .bottom-panels {
    grid-template-columns: 1fr;
  }
  .compact-list span {
    display: none;
  }
  .app-footer {
    margin: 0 14px;
    display: block;
    line-height: 1.8;
  }
}

.calendar-page-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 6px;
}
.calendar-page-head .eyebrow {
  margin: 0;
}
.calendar-request {
  margin: 0;
  min-height: 40px;
  cursor: default;
}
@media (max-width: 680px) {
  .calendar-page-head {
    margin-top: 4px;
  }
  .calendar-request {
    padding: 9px 13px;
    font-size: 0.7rem;
  }
}
