/*! tailwindcss v4.3.5 | MIT License | https://tailwindcss.com */
@layer theme {
  :root, :host {
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
      "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
      "Segoe UI Symbol", "Noto Color Emoji";
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
      "Courier New", monospace;
    --default-font-family: var(--font-sans);
    --default-mono-font-family: var(--font-mono);
  }
}

@layer base {
  *, :after, :before, ::backdrop {
    box-sizing: border-box;
    border: 0 solid;
    margin: 0;
    padding: 0;
  }

  ::file-selector-button {
    box-sizing: border-box;
    border: 0 solid;
    margin: 0;
    padding: 0;
  }

  html, :host {
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    line-height: 1.5;
    font-family: var(--default-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
    font-feature-settings: var(--default-font-feature-settings, normal);
    font-variation-settings: var(--default-font-variation-settings, normal);
    -webkit-tap-highlight-color: transparent;
  }

  hr {
    height: 0;
    color: inherit;
    border-top-width: 1px;
  }

  abbr:where([title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
  }

  h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
  }

  a {
    color: inherit;
    -webkit-text-decoration: inherit;
    -webkit-text-decoration: inherit;
    -webkit-text-decoration: inherit;
    text-decoration: inherit;
  }

  b, strong {
    font-weight: bolder;
  }

  code, kbd, samp, pre {
    font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
    font-feature-settings: var(--default-mono-font-feature-settings, normal);
    font-variation-settings: var(--default-mono-font-variation-settings, normal);
    font-size: 1em;
  }

  small {
    font-size: 80%;
  }

  sub, sup {
    vertical-align: baseline;
    font-size: 75%;
    line-height: 0;
    position: relative;
  }

  sub {
    bottom: -.25em;
  }

  sup {
    top: -.5em;
  }

  table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
  }

  :-moz-focusring:where(:not(iframe)) {
    outline: auto;
  }

  progress {
    vertical-align: baseline;
  }

  summary {
    display: list-item;
  }

  ol, ul, menu {
    list-style: none;
  }

  img, svg, video, canvas, audio, iframe, embed, object {
    vertical-align: middle;
    display: block;
  }

  img, video {
    max-width: 100%;
    height: auto;
  }

  button, input, select, optgroup, textarea {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    opacity: 1;
    background-color: #0000;
    border-radius: 0;
  }

  ::file-selector-button {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    opacity: 1;
    background-color: #0000;
    border-radius: 0;
  }

  :where(select:is([multiple], [size])) optgroup {
    font-weight: bolder;
  }

  :where(select:is([multiple], [size])) optgroup option {
    padding-inline-start: 20px;
  }

  ::file-selector-button {
    margin-inline-end: 4px;
  }

  ::placeholder {
    opacity: 1;
  }

  @supports (not ((-webkit-appearance: -apple-pay-button))) or (contain-intrinsic-size: 1px) {
    ::placeholder {
      color: currentColor;
    }

    @supports (color: color-mix(in lab, red, red)) {
      ::placeholder {
        color: color-mix(in oklab, currentcolor 50%, transparent);
      }
    }
  }

  textarea {
    resize: vertical;
  }

  ::-webkit-search-decoration {
    -webkit-appearance: none;
  }

  ::-webkit-date-and-time-value {
    min-height: 1lh;
    text-align: inherit;
  }

  ::-webkit-datetime-edit {
    display: inline-flex;
  }

  ::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
  }

  ::-webkit-datetime-edit {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-year-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-month-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-day-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-hour-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-minute-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-second-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-millisecond-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-meridiem-field {
    padding-block: 0;
  }

  ::-webkit-calendar-picker-indicator {
    line-height: 1;
  }

  :-moz-ui-invalid {
    box-shadow: none;
  }

  button, input:where([type="button"], [type="reset"], [type="submit"]) {
    appearance: button;
  }

  ::file-selector-button {
    appearance: button;
  }

  ::-webkit-inner-spin-button {
    height: auto;
  }

  ::-webkit-outer-spin-button {
    height: auto;
  }

  [hidden]:where(:not([hidden="until-found"])) {
    display: none !important;
  }
}

@layer components;

@layer utilities {
  .flex {
    display: flex;
  }

  .hidden {
    display: none;
  }

  .table {
    display: table;
  }
}

:root {
  color: #172d40;
  font-synthesis: none;
  --ink: #172d40;
  --muted: #607487;
  --line: #dce5ed;
  --blue: #2259a6;
  --teal: #007d70;
  --nav: #132d3e;
  --light: #edf4ff;
  background: #f4f7fa;
  font-family: Inter, Segoe UI, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-size: 16px;
}

button, input, select, textarea {
  font: inherit;
}

button, a, input, select, textarea {
  touch-action: manipulation;
}

button {
  cursor: pointer;
  border: 1px solid var(--line);
  color: var(--ink);
  background: #fff;
  border-radius: 9px;
  padding: 10px 15px;
  font-weight: 600;
  line-height: 1.25;
}

button:hover {
  background: #eff4f8;
  border-color: #a9bdce;
}

button:disabled {
  opacity: .5;
  cursor: not-allowed;
}

button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline-offset: 3px;
  outline: 3px solid #e9a544;
}

button.primary {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

button.primary:hover {
  background: #194782;
}

button.danger {
  color: #a12935;
  border-color: #e5bcc1;
}

button.quiet {
  color: var(--muted);
  background: none;
  border-color: #0000;
}

.app {
  grid-template-columns: 236px minmax(0, 1fr);
  min-height: 100vh;
  display: grid;
}

.sidebar {
  background: var(--nav);
  color: #fff;
  flex-direction: column;
  gap: 30px;
  height: 100vh;
  padding: 30px 18px;
  display: flex;
  position: sticky;
  top: 0;
}

.brand {
  align-items: center;
  gap: 12px;
  padding: 0 12px;
  display: flex;
}

.brandmark {
  color: #12685e;
  background: #d8f2ed;
  border-radius: 10px;
  place-items: center;
  width: 38px;
  height: 38px;
  font-size: 23px;
  font-weight: 800;
  display: grid;
}

.brand strong {
  letter-spacing: -.7px;
  font-size: 21px;
  display: block;
}

.brand small {
  color: #a7bdca;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-size: 12px;
}

.nav {
  flex-direction: column;
  gap: 5px;
  display: flex;
}

.nav button {
  color: #c4d3dc;
  text-align: left;
  background: none;
  border: 0;
  align-items: center;
  gap: 12px;
  padding: 13px;
  font-size: 15px;
  display: flex;
}

.nav button:hover {
  color: #fff;
  background: #203f53;
}

.nav button.selected {
  color: #174e45;
  background: #e3f3ee;
}

.nav svg {
  flex-shrink: 0;
  width: 19px;
  height: 19px;
}

.sidefoot {
  color: #adbfca;
  border-top: 1px solid #335063;
  margin-top: auto;
  padding: 16px 12px 0;
  font-size: 13px;
  line-height: 1.6;
}

.sidefoot strong {
  color: #e8f2f7;
  display: block;
}

.workspace {
  min-width: 0;
}

.topbar {
  border-bottom: 1px solid var(--line);
  background: #fff;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  min-height: 80px;
  padding: 16px 32px;
  display: flex;
}

.topbar .context {
  color: var(--muted);
  font-size: 14px;
}

.topbar .context strong {
  color: var(--ink);
  font-weight: 600;
}

.badge {
  letter-spacing: .2px;
  white-space: nowrap;
  border-radius: 6px;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
}

.badge.demo {
  color: #83510b;
  background: #fff2d9;
}

.badge.blue {
  color: #24589a;
  background: #e9f1ff;
}

.badge.green {
  color: #126953;
  background: #dff3ec;
}

.badge.red {
  color: #9b2335;
  background: #fce8eb;
}

.badge.gray {
  color: #536779;
  background: #edf1f5;
}

.persona {
  align-items: center;
  gap: 12px;
  display: flex;
}

.persona label {
  color: var(--muted);
  font-size: 12px;
}

.persona select {
  max-width: 280px;
  padding: 8px 30px 8px 10px;
  font-size: 14px;
}

.avatar {
  color: #315779;
  background: #dce8f4;
  border-radius: 50%;
  flex-shrink: 0;
  place-items: center;
  width: 36px;
  height: 36px;
  font-size: 13px;
  font-weight: 700;
  display: inline-grid;
}

.main {
  max-width: 1800px;
  margin: auto;
  padding: 30px 32px 45px;
}

.pagehead {
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 24px;
  display: flex;
}

h1 {
  letter-spacing: -1px;
  margin: 0 0 8px;
  font-size: 30px;
  font-weight: 650;
}

h2 {
  letter-spacing: -.35px;
  margin: 0;
  font-size: 19px;
}

h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

p {
  margin: 0 0 12px;
  line-height: 1.6;
}

.sub {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.eyebrow {
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 700;
}

.flex {
  align-items: center;
  gap: 10px;
  display: flex;
}

.between {
  justify-content: space-between;
}

.wrap {
  flex-wrap: wrap;
}

.cards {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
  display: grid;
}

.metric {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  padding: 20px;
}

.metric .value {
  letter-spacing: -1px;
  margin: 10px 0 3px;
  font-size: 34px;
  font-weight: 650;
  display: block;
}

.metric .label {
  color: var(--muted);
  font-size: 14px;
}

.metric .hint {
  color: var(--muted);
  font-size: 12px;
}

.panel {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  margin-bottom: 20px;
  overflow: hidden;
}

.panelhead {
  border-bottom: 1px solid var(--line);
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding: 19px 22px;
  display: flex;
}

.panelbody {
  padding: 22px;
}

.split {
  grid-template-columns: minmax(0, 1.5fr) minmax(300px, 1fr);
  gap: 22px;
  display: grid;
}

.notice {
  color: #345873;
  background: #eef6fc;
  border: 1px solid #cbdfee;
  border-radius: 9px;
  margin-bottom: 20px;
  padding: 14px 18px;
  font-size: 14px;
  line-height: 1.6;
}

.notice.warn {
  color: #795315;
  background: #fff7e9;
  border-color: #e8d7b4;
}

.notice strong {
  font-weight: 650;
}

.filters {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  flex-wrap: wrap;
  align-items: end;
  gap: 12px;
  margin-bottom: 20px;
  padding: 17px 20px;
  display: flex;
}

.filters label {
  color: var(--muted);
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  display: flex;
}

.filters input, .filters select {
  font-size: 14px;
}

.filters .search {
  flex: 1;
  min-width: 200px;
}

input, select, textarea {
  color: var(--ink);
  background: #fff;
  border: 1px solid #c9d6e0;
  border-radius: 7px;
  min-width: 0;
  max-width: 100%;
  padding: 10px 11px;
}

select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%235a7182' stroke-width='1.5'/%3E%3C/svg%3E");
  background-position: right 10px center;
  background-repeat: no-repeat;
  padding-right: 30px;
}

input[type="checkbox"] {
  accent-color: var(--blue);
  width: 17px;
  height: 17px;
}

textarea {
  resize: vertical;
  min-height: 90px;
}

.legend {
  color: var(--muted);
  flex-wrap: wrap;
  gap: 14px;
  padding: 14px 0;
  font-size: 13px;
  display: flex;
}

.legend span {
  align-items: center;
  gap: 6px;
  display: flex;
}

.key {
  background: #4479bd;
  border-radius: 2px;
  width: 10px;
  height: 10px;
}

.key.actual {
  background: #009283;
}

.key.both {
  background: #8661ad;
}

.calendar-toolbar {
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
  display: flex;
}

.calendar-toolbar h2 {
  text-transform: capitalize;
}

.calendar-toolbar .navbtn {
  padding: 8px 13px;
  font-size: 19px;
}

.calendar-scroll {
  overflow: auto;
}

.calendar-grid {
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 10px;
  grid-template-columns: repeat(7, minmax(130px, 1fr));
  gap: 1px;
  min-width: 910px;
  display: grid;
  overflow: hidden;
}

.weekday {
  text-align: center;
  text-transform: uppercase;
  color: var(--muted);
  letter-spacing: .6px;
  background: #f4f7fa;
  padding: 12px;
  font-size: 12px;
  font-weight: 700;
}

.day {
  background: #fff;
  min-height: 148px;
  padding: 9px;
  position: relative;
}

.day.week {
  min-height: 350px;
}

.day.outside {
  background: #f5f7f9;
}

.day.today {
  background: #f6faff;
}

.dayhead {
  justify-content: space-between;
  align-items: center;
  margin: 0 0 10px;
  display: flex;
}

.daynumber {
  font-size: 14px;
  font-weight: 650;
}

.today .daynumber {
  color: #fff;
  background: #245cac;
  border-radius: 50%;
  place-items: center;
  width: 28px;
  height: 28px;
  display: grid;
}

.dayhead button {
  color: #54718a;
  background: none;
  border: 0;
  padding: 4px 8px;
  font-size: 18px;
}

.event {
  text-align: left;
  overflow-wrap: anywhere;
  background: #edf4ff;
  border: 1px solid #d5e3f8;
  border-left: 3px solid #4479bd;
  border-radius: 6px;
  width: 100%;
  margin-bottom: 8px;
  padding: 9px 8px;
  font-weight: 400;
  display: block;
}

.event.actual {
  background: #e8f5f1;
  border-color: #c5e8df #c5e8df #c5e8df #009283;
}

.event.both {
  background: #f3edf9;
  border-color: #e0d4ed #e0d4ed #e0d4ed #8661ad;
}

.event.cancelled {
  opacity: .55;
  text-decoration: line-through;
}

.event strong {
  margin: 4px 0;
  font-size: 13px;
  display: block;
}

.event .eventkind {
  color: #365b89;
  font-size: 11px;
  font-weight: 750;
}

.event.actual .eventkind {
  color: #08665b;
}

.event.both .eventkind {
  color: #6c488c;
}

.event .person {
  font-size: 12px;
  line-height: 1.5;
}

.event .related {
  color: #526e80;
  margin-top: 5px;
  font-size: 11px;
  line-height: 1.5;
}

.datepair {
  font-size: 13px;
  line-height: 1.75;
}

.datepair span {
  color: var(--muted);
}

.upcoming {
  border-bottom: 1px solid #edf1f5;
  align-items: center;
  gap: 16px;
  padding: 17px 22px;
  display: flex;
}

.upcoming:last-child {
  border-bottom: 0;
}

.datebox {
  text-align: center;
  background: #f0f5fa;
  border-radius: 8px;
  min-width: 57px;
  padding: 9px 12px;
}

.datebox strong {
  font-size: 22px;
  display: block;
}

.datebox small {
  text-transform: uppercase;
  color: var(--muted);
  font-size: 11px;
}

.upcoming .description {
  flex: 1;
  min-width: 0;
}

.upcoming .description strong {
  font-size: 15px;
}

.tablewrap {
  overflow: auto;
}

table {
  border-collapse: collapse;
  text-align: left;
  width: 100%;
  font-size: 14px;
}

th {
  color: #587083;
  white-space: nowrap;
  border-bottom: 1px solid var(--line);
  background: #f7f9fb;
  padding: 13px 16px;
  font-size: 12px;
  font-weight: 650;
}

td {
  vertical-align: top;
  border-bottom: 1px solid #e9eff4;
  padding: 15px 16px;
  line-height: 1.5;
}

tr:last-child td {
  border-bottom: 0;
}

td .sub {
  font-size: 12px;
}

td button.link {
  color: var(--blue);
  text-align: left;
  background: none;
  border: 0;
  padding: 0;
  line-height: 1.5;
}

.empty {
  text-align: center;
  color: var(--muted);
  padding: 40px 22px;
}

.empty strong {
  color: var(--ink);
  margin-bottom: 8px;
  display: block;
}

.row-actions {
  flex-wrap: wrap;
  gap: 6px;
  display: flex;
}

.row-actions button {
  padding: 6px 9px;
  font-size: 13px;
}

.resource-name {
  align-items: center;
  gap: 10px;
  display: flex;
}

.resource-name strong {
  display: block;
}

.disabled-row {
  color: #738492;
  background: #f8f9fb;
}

.mail {
  border-bottom: 1px solid var(--line);
  padding: 18px 22px;
}

.mail details {
  margin-top: 10px;
}

.mail summary {
  cursor: pointer;
  color: var(--blue);
  font-size: 14px;
}

.mail pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  background: #f7f9fb;
  border-radius: 8px;
  padding: 18px;
  font: 14px / 1.7 Segoe UI, sans-serif;
}

.mailhead {
  justify-content: space-between;
  gap: 16px;
  display: flex;
}

.guide-list {
  color: #426077;
  margin: 12px 0 0;
  padding-left: 22px;
  font-size: 14px;
  line-height: 1.9;
}

.profilegrid {
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  display: grid;
}

.fieldvalue {
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
}

.fieldvalue small {
  color: var(--muted);
  margin-bottom: 5px;
  display: block;
}

.statusline {
  color: var(--muted);
  padding-top: 16px;
  font-size: 12px;
}

.checkline {
  align-items: center;
  gap: 9px;
  font-size: 14px;
  display: flex;
}

.toolbar-small {
  flex-wrap: wrap;
  gap: 9px;
  display: flex;
}

.error {
  color: #a22638;
  background: #fff0f2;
  border-radius: 6px;
  margin-bottom: 14px;
  padding: 12px;
  font-size: 14px;
}

.error:empty {
  display: none;
}

dialog {
  width: min(760px, 100vw - 32px);
  max-height: 90vh;
  color: var(--ink);
  border: 1px solid #d4dfe8;
  border-radius: 15px;
  padding: 0;
  box-shadow: 0 20px 80px #102d3e44;
}

dialog::backdrop {
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  background: #102a3c70;
}

.dialoghead {
  border-bottom: 1px solid var(--line);
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 22px 25px;
  display: flex;
}

.dialoghead button {
  padding: 6px 10px;
  font-size: 19px;
}

.dialogbody {
  padding: 22px 25px;
}

.dialogfoot {
  border-top: 1px solid var(--line);
  background: #f8fafb;
  justify-content: flex-end;
  gap: 10px;
  padding: 18px 25px;
  display: flex;
}

.formgrid {
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  display: grid;
}

.field {
  flex-direction: column;
  gap: 7px;
  font-size: 14px;
  font-weight: 600;
  display: flex;
}

.field small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
}

.full {
  grid-column: 1 / -1;
}

.resource-options {
  border: 1px solid var(--line);
  border-radius: 8px;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  max-height: 200px;
  padding: 14px;
  display: grid;
  overflow: auto;
}

.resource-options label {
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 400;
  display: flex;
}

.form-section {
  text-transform: uppercase;
  color: var(--teal);
  letter-spacing: 1px;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 700;
}

.dates-detail {
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 20px;
  display: grid;
}

.date-tile {
  background: #eef4fd;
  border: 1px solid #d8e4f5;
  border-radius: 9px;
  padding: 15px 18px;
}

.date-tile.actual {
  background: #eaf6f2;
  border-color: #cce7dd;
}

.date-tile small {
  color: #476579;
  margin-bottom: 6px;
  font-size: 12px;
  display: block;
}

.date-tile strong {
  font-size: 20px;
}

.text-preserve {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.history-detail {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  max-width: 600px;
  font-size: 12px;
}

.toast {
  z-index: 10;
  color: #fff;
  background: #173e38;
  border-radius: 10px;
  max-width: 480px;
  padding: 15px 20px;
  font-size: 14px;
  position: fixed;
  bottom: 24px;
  right: 24px;
  box-shadow: 0 5px 30px #193d3f33;
}

.toast[hidden] {
  display: none;
}

.skip {
  z-index: 20;
  background: #fff;
  padding: 12px;
  position: fixed;
  top: -80px;
  left: 20px;
}

.skip:focus {
  top: 10px;
}

.sr-only {
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  position: absolute;
  overflow: hidden;
}

.warning-count {
  color: #866018;
  background: #fff6e4;
  border-radius: 5px;
  margin-top: 6px;
  padding: 5px;
  font-size: 12px;
}

.mobile-brand {
  display: none;
}

a {
  color: var(--blue);
}

@media (min-width: 1600px) {
  .main {
    padding: 36px 42px;
  }

  .event strong {
    font-size: 14px;
  }

  .event .person {
    font-size: 13px;
  }
}

@media (max-width: 1150px) {
  .app {
    grid-template-columns: 200px minmax(0, 1fr);
  }

  .sidebar {
    padding: 25px 12px;
  }

  .main {
    padding: 24px 20px;
  }

  .topbar {
    padding: 15px 20px;
  }

  .split {
    grid-template-columns: 1fr;
  }

  .cards {
    gap: 10px;
  }

  .metric {
    padding: 16px;
  }

  .persona .avatar, .topbar .context {
    display: none;
  }
}

@media (max-width: 760px) {
  .app {
    display: block;
  }

  .sidebar {
    gap: 15px;
    height: auto;
    padding: 15px;
    position: static;
  }

  .brand {
    padding: 0;
  }

  .brand small, .sidefoot {
    display: none;
  }

  .nav {
    flex-direction: row;
    gap: 4px;
    overflow: auto;
  }

  .nav button {
    white-space: nowrap;
    padding: 10px;
    font-size: 13px;
  }

  .nav svg {
    display: none;
  }

  .topbar {
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px 15px;
  }

  .main {
    padding: 22px 14px;
  }

  h1 {
    font-size: 26px;
  }

  .cards {
    grid-template-columns: 1fr 1fr;
  }

  .pagehead {
    flex-wrap: wrap;
  }

  .filters {
    gap: 10px;
    padding: 14px;
  }

  .filters label {
    flex: 1;
    min-width: 130px;
  }

  .filters .search {
    min-width: 100%;
  }

  .formgrid, .profilegrid, .dates-detail, .resource-options {
    grid-template-columns: 1fr;
  }

  .dialogbody {
    padding: 20px;
  }

  .calendar-toolbar {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .upcoming {
    gap: 10px;
    padding: 15px;
  }

  .upcoming > button {
    padding: 8px;
    font-size: 12px;
  }

  .mailhead {
    flex-wrap: wrap;
  }

  .toast {
    bottom: 15px;
    left: 15px;
    right: 15px;
  }

  .persona select {
    max-width: 220px;
  }

  .metric .value {
    font-size: 29px;
  }
}

.calendar-section {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  margin-bottom: 28px;
  overflow: hidden;
}

.calendar-section .calendar-grid {
  border: 0;
  border-radius: 0;
}

.calendar-section .day.week {
  min-height: 200px;
}

.calendar-section .panelhead {
  border: 0;
}

.search-below {
  margin-top: 26px;
}

.search-below h2 {
  margin-bottom: 8px;
}

.assignment-block {
  background: #f0f5fd;
  border: 1px solid #d5e2f3;
  border-radius: 10px;
  padding: 16px;
}

.assignment-block.actual {
  background: #eff8f4;
  border-color: #cde8dc;
}

.assignment-block fieldset {
  border: 0;
  margin: 18px 0 0;
  padding: 0;
}

.assignment-block legend {
  margin-bottom: 8px;
  font-size: 14px;
}

.assignment-block .resource-options {
  background: #fff;
}

.skill-tag {
  white-space: normal;
  margin: 2px 4px 2px 0;
}

.event .person {
  font-size: 14px;
}

.event-company {
  color: #526779;
  margin-bottom: 9px;
  font-size: 13px;
  font-weight: 600;
}

.resource-mark {
  overflow-wrap: normal;
  word-break: normal;
  align-items: baseline;
  gap: 6px;
  margin: 5px 0;
  line-height: 1.35;
  display: flex;
}

.resource-mark .resource-code {
  letter-spacing: .4px;
  border: 1px solid;
  border-radius: 3px;
  flex-shrink: 0;
  padding: 1px 3px;
  font-size: 10px;
}

.resource-mark .resource-label {
  letter-spacing: -.35px;
  overflow-wrap: anywhere;
  font-size: 18px;
  font-weight: 750;
}

.event .primary-date {
  color: #38556a;
  margin-top: 8px;
  font-size: 14px;
  font-weight: 600;
}

.secondary-assignment {
  color: #536b7c;
  border-top: 1px solid #bdcbd9;
  margin-top: 10px;
  padding-top: 8px;
  font-size: 12px;
}

.resource-mark.small .resource-label {
  letter-spacing: 0;
  font-size: 12px;
  font-weight: 600;
}

.resource-mark.small .resource-code {
  font-size: 9px;
}

.calendar-grid {
  grid-template-columns: repeat(7, minmax(150px, 1fr));
  min-width: 1050px;
}

.event {
  padding: 11px 9px;
}

.auth-screen {
  background: #edf3f7;
  place-items: center;
  min-height: 100vh;
  padding: 24px;
  display: grid;
}

.auth-card {
  background: #fff;
  border: 1px solid #d5e1e9;
  border-radius: 16px;
  width: min(100%, 480px);
  padding: 36px;
  box-shadow: 0 12px 50px #213d5020;
}

.auth-card .field {
  margin: 20px 0;
}

.auth-card .primary {
  margin-right: 8px;
}

.session-tools {
  color: #fff;
  background: #132d3e;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  font-size: 14px;
  display: flex;
}

.session-tools button {
  padding: 6px 10px;
  font-size: 13px;
}

.session-tools span {
  margin-right: auto;
}

.auth-card details {
  overflow-wrap: anywhere;
  margin: 16px 0;
}
