:root {
  color-scheme: light;
  --theme-background: #d4e2f2;
  --theme-panel: #ffffff;
  --theme-border: #839bb9;
  --theme-text: #26384b;
  --theme-accent: #446c98;
  --theme-window-top: #f6fbff;
  --theme-window-bottom: #d5e2f4;
  --theme-menu-top: #ecf4fd;
  --theme-menu-bottom: #d8e5f6;
  --theme-ribbon-top: #e9f2fc;
  --theme-ribbon-bottom: #bdd2ea;
  --theme-sidebar-top: #dae6f7;
  --theme-sidebar-bottom: #bdd0e8;
  --theme-main-top: #dce8f7;
  --theme-main-bottom: #c7d8ed;
  --theme-status-top: #e6eef9;
  --theme-status-bottom: #ccd9ec;
  --theme-grid-line: #9fb4cb;
  --theme-grid-soft: #e4ecf8;
  --theme-grid-major-line: #4e7097;
  --theme-grid-half-hour-line: #b8cbe4;
  --theme-provider-top: #ffd27a;
  --theme-provider-bottom: #f3a22a;
  --theme-lane: #f6f8fb;
  --theme-lane-alt: #ebeef4;
  --theme-lane-off: #d9dfe8;
  --theme-quiet: #5a718a;
  --sidebar-width: 172px;
  --sidebar-resizer-width: 14px;
  --mini-month-width: 152px;
  --time-column-width: 59px;
  --slot-height: 22px;
  --radius-tight: 3px;
  --provider-column-width: 220px;
  --provider-count: 4;
  --employee-fit-count: 4;
  --visible-weekday-count: 6;
  --slot-count: 44;
  --ribbon-tool-width: 68px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  background: #eef5fd;
  height: 100%;
  min-height: 100%;
  min-height: 100dvh;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  overscroll-behavior: none;
}

body {
  height: 100%;
  min-height: 100%;
  min-height: 100dvh;
  margin: 0;
  padding: 0;
  overflow: hidden;
  overscroll-behavior: none;
  font-family: Tahoma, Verdana, "Segoe UI", sans-serif;
  font-size: 11px;
  line-height: 1.3;
  color: var(--theme-text);
  background: #eef5fd;
}

body.is-scroll-locked {
  overflow: hidden;
}

.boot-screen {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 100%;
  min-height: 100dvh;
  z-index: 99999;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: calc(24px + env(safe-area-inset-top, 0px)) 24px calc(24px + env(safe-area-inset-bottom, 0px));
  color: #1f3144;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 211, 122, 0.34), transparent 36%),
    radial-gradient(circle at 18% 20%, rgba(104, 139, 178, 0.28), transparent 28%),
    linear-gradient(180deg, #eef5fd 0%, #c8d9ee 100%);
}

.boot-tool-rain {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.boot-tool {
  position: absolute;
  top: -76px;
  left: var(--tool-left, 50%);
  display: block;
  color: rgba(49, 76, 107, 0.36);
  opacity: 0.82;
  transform: translateY(-80px) rotate(var(--tool-rotate, 0deg));
  animation: boot-tool-fall var(--tool-duration, 3.8s) linear infinite;
  animation-delay: var(--tool-delay, 0s);
  filter: drop-shadow(0 10px 12px rgba(36, 58, 84, 0.12));
  will-change: transform;
  contain: layout style paint;
}

.boot-tool:nth-child(1) {
  --tool-left: 8%;
  --tool-delay: -0.2s;
  --tool-duration: 3.6s;
  --tool-rotate: -18deg;
}

.boot-tool:nth-child(2) {
  --tool-left: 23%;
  --tool-delay: -1.4s;
  --tool-duration: 4.0s;
  --tool-rotate: 12deg;
}

.boot-tool:nth-child(3) {
  --tool-left: 39%;
  --tool-delay: -0.7s;
  --tool-duration: 3.4s;
  --tool-rotate: 24deg;
}

.boot-tool:nth-child(4) {
  --tool-left: 56%;
  --tool-delay: -1.8s;
  --tool-duration: 3.8s;
  --tool-rotate: -10deg;
}

.boot-tool:nth-child(5) {
  --tool-left: 71%;
  --tool-delay: -2.5s;
  --tool-duration: 3.5s;
  --tool-rotate: 15deg;
}

.boot-tool:nth-child(6) {
  --tool-left: 86%;
  --tool-delay: -1.0s;
  --tool-duration: 4.1s;
  --tool-rotate: -26deg;
}

.boot-tool:nth-child(7) {
  --tool-left: 15%;
  --tool-delay: -2.8s;
  --tool-duration: 4.2s;
  --tool-rotate: 28deg;
}

.boot-tool:nth-child(8) {
  --tool-left: 78%;
  --tool-delay: -3.2s;
  --tool-duration: 3.7s;
  --tool-rotate: 8deg;
}

.boot-tool-scissors {
  width: 52px;
  height: 52px;
}

.boot-tool-scissors::before {
  content: "\2702";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font: 700 48px/1 "Segoe UI Symbol", "Apple Color Emoji", Tahoma, sans-serif;
}

.boot-tool-comb {
  width: 58px;
  height: 24px;
  border-top: 4px solid currentColor;
  border-left: 4px solid currentColor;
  border-radius: 5px 0 0 5px;
  background: repeating-linear-gradient(90deg, currentColor 0 3px, transparent 3px 8px) 7px 8px / calc(100% - 7px) 15px no-repeat;
}

.boot-tool-brush {
  width: 14px;
  height: 58px;
  border-radius: 999px;
  background: linear-gradient(180deg, #b47a31 0 45%, currentColor 45% 100%);
}

.boot-tool-brush::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -13px;
  width: 28px;
  height: 18px;
  border-radius: 4px 4px 14px 14px;
  background: linear-gradient(180deg, #d19642, #6f8eb2);
  transform: translateX(-50%);
}

.boot-tool-bowl {
  width: 48px;
  height: 26px;
  border: 3px solid currentColor;
  border-top: 0;
  border-radius: 0 0 28px 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.34), rgba(68, 108, 152, 0.28));
}

.boot-tool-bowl::before {
  content: "";
  position: absolute;
  left: 7px;
  top: -9px;
  width: 34px;
  height: 15px;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 38%, #ffd37a 0 28%, #d19642 29% 62%, #446c98 63% 100%);
  box-shadow: inset 0 0 0 2px rgba(49, 76, 107, 0.2);
}

@keyframes boot-tool-fall {
  0% {
    transform: translate3d(-10px, -90px, 0) rotate(var(--tool-rotate, 0deg));
  }

  50% {
    transform: translate3d(14px, 50vh, 0) rotate(calc(var(--tool-rotate, 0deg) + 95deg));
  }

  100% {
    transform: translate3d(-8px, calc(100vh + 100px), 0) rotate(calc(var(--tool-rotate, 0deg) + 190deg));
  }
}

.boot-card {
  position: relative;
  z-index: 1;
  width: min(100%, 420px);
  padding: 30px 28px 26px;
  border: 1px solid rgba(99, 125, 154, 0.55);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(252, 255, 255, 0.94), rgba(226, 238, 250, 0.96));
  box-shadow: 0 28px 70px rgba(36, 58, 84, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.boot-mark {
  display: block;
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  object-fit: contain;
  background: transparent;
  border: none;
  box-shadow: none;
}

.boot-copy {
  display: grid;
  gap: 7px;
}

.boot-kicker,
.boot-copy h1,
.boot-status-message {
  margin: 0;
}

.boot-kicker {
  color: #446c98;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.boot-copy h1 {
  color: #1d3043;
  font-size: clamp(1.45rem, 4.6vw, 2rem);
  line-height: 1.08;
}

.boot-status-message {
  color: var(--theme-quiet, #50677f);
  font-size: 0.94rem;
  line-height: 1.45;
}

.boot-progress {
  position: relative;
  height: 8px;
  margin-top: 24px;
  overflow: hidden;
  border: 1px solid rgba(93, 119, 148, 0.36);
  border-radius: 999px;
  background: rgba(178, 200, 224, 0.42);
  contain: paint;
  isolation: isolate;
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  mask-image: radial-gradient(white, black);
}

.boot-progress span {
  position: absolute;
  inset: 1px auto 1px 1px;
  width: 40%;
  border-radius: inherit;
  background: linear-gradient(90deg, #446c98, #7aa0c8, #d19642);
  animation: boot-progress-sweep 0.75s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  will-change: transform;
}

@keyframes boot-progress-sweep {
  0% {
    transform: translate3d(-105%, 0, 0);
  }

  100% {
    transform: translate3d(255%, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .boot-tool-rain {
    display: none;
  }

  .boot-progress span {
    animation: none;
    transform: none;
    width: 100%;
  }
}


body.is-resizing-sidebar {
  cursor: col-resize;
  user-select: none;
}

body.is-resizing-mini-calendar {
  cursor: row-resize;
  user-select: none;
}

body.is-resizing-schedule {
  cursor: col-resize;
  user-select: none;
}

body.is-mobile-timeblock-dragging {
  user-select: none;
}

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

button {
  border-radius: var(--radius-tight);
  cursor: pointer;
}

input,
select,
textarea {
  min-height: 24px;
  border: 1px solid var(--theme-border, #8da3be);
  border-radius: var(--radius-tight);
  background: var(--theme-panel, #ffffff);
  padding: 3px 6px;
}

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

h1,
h2,
h3,
h4,
p,
ol {
  margin: 0;
}

a {
  color: inherit;
}

