/* Windows 11 workspace shell; application styles live in style.css. */
body {
  background: #aac4df;
  font-family: "Segoe UI Variable", "Segoe UI", Arial, sans-serif;
}
.wallpaper {
  background: #89afd0 url("/images/windows11-bloom.jpg") center/cover no-repeat;
}
.wallpaper[data-wallpaper="classic"] {
  background: #0877d5 url("/images/windows-wallpaper.svg") center/cover
    no-repeat;
}
.wallpaper[data-wallpaper="midnight"] {
  background: radial-gradient(
    ellipse at 72% 36%,
    #143c68 0,
    #081a33 42%,
    #050b17 100%
  );
}
.wallpaper[data-wallpaper="amsterdam"] {
  background: radial-gradient(
    ellipse at 74% 25%,
    #187cb2 0,
    #0b416c 40%,
    #06182d 100%
  );
}
.wallpaper:before,
.wallpaper .window-light,
.wallpaper .skyline {
  display: none;
}
body:has(#login) .wallpaper {
  filter: blur(11px);
  transform: scale(1.06);
}
.login-screen {
  background: #03162e3d;
  min-height: 100dvh;
}
.wallpaper-choices {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
  margin-top: 22px;
}
.wallpaper-choice {
  position: relative;
  display: grid;
  gap: 8px;
  padding: 10px;
  text-align: left;
  color: var(--text, #eaf2ff);
  background: #ffffff08;
  border: 1px solid var(--line, #ffffff1b);
  border-radius: 12px;
  cursor: pointer;
}
.wallpaper-choice.selected {
  border-color: #4da3ff;
  box-shadow: 0 0 0 2px #2383ff33;
}
.wallpaper-choice small {
  color: var(--muted, #9eacc2);
}
.wallpaper-preview {
  height: 100px;
  display: block;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
}
.wallpaper-bloom {
  background-image: url("/images/windows11-bloom.jpg");
}
.wallpaper-classic {
  background-image: url("/images/windows-wallpaper.svg");
}
.wallpaper-midnight {
  background: radial-gradient(
    ellipse at 72% 36%,
    #143c68,
    #081a33 54%,
    #050b17
  );
}
.wallpaper-amsterdam {
  background: radial-gradient(
    ellipse at 74% 25%,
    #187cb2,
    #0b416c 54%,
    #06182d
  );
}
.wallpaper-check {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  color: #fff;
  background: #1677e8;
  border-radius: 50%;
}
.login-brand,
.login-subtitle,
.login-help,
.login-choice {
  display: none;
}
.login-register-toggle {
  display: block;
  margin: 12px auto 0;
  color: #fff;
  font-size: 12px;
  text-shadow: 0 1px 3px #00152e;
}
.login-register-toggle[hidden] {
  display: none;
}
.register-actions {
  margin-top: 10px;
}
.register-submit {
  background: #0b3972b8;
  border-color: #c9dfffaa;
  color: #fff;
}
.register-cancel {
  display: block;
  margin: 4px auto 0;
  color: #fff;
  font-size: 12px;
  text-shadow: 0 1px 3px #00152e;
}
.login-center {
  width: 320px;
  padding: 20px 10px;
  margin-top: -20px;
}
.account-avatar {
  height: 142px;
  width: 142px;
  background: #c4d0e16b;
  border: 0;
  backdrop-filter: blur(12px);
  margin-bottom: 20px;
}
.account-avatar .icon {
  width: 82px;
  height: 82px;
  stroke-width: 1.3;
  color: #eef5ff;
}
.login-center h1 {
  font-size: 30px;
  font-weight: 500;
  letter-spacing: 0;
  margin-bottom: 25px;
  text-shadow: 0 1px 6px #1237;
}
.login-center input {
  background: #13223780;
  color: white;
  border: 1px solid #d8e8ff75;
  border-radius: 5px;
  padding: 9px 12px;
  font-size: 13px;
  min-height: 34px;
}
.login-center input::placeholder {
  color: #e6edf8c7;
}
.login-center input:focus {
  outline: 1px solid #e3f4ff;
  border-color: #e3f4ff;
}
.password-input {
  margin-top: 10px;
  border-radius: 5px;
  border-bottom: 2px solid #c5e8ff;
  overflow: hidden;
  box-shadow: 0 1px 3px #03152633;
}
.password-input input {
  border-radius: 5px 0 0 0;
  border-right: 0;
  border-bottom: 0;
}
.password-input button {
  border-radius: 0 5px 0 0;
  background: #c0d8f12b;
  border: 1px solid #d8e8ff75;
  border-bottom: 0;
  border-left: 0;
  width: 35px;
}
.password-input .icon {
  width: 17px;
}
.login-error {
  font-size: 12px;
  line-height: 1.8;
  color: #fff;
  margin: 18px 0 0;
  text-shadow: 0 1px 2px #001d3e;
}
.login-bottom {
  left: 28px;
  right: 28px;
  bottom: 24px;
}
.login-accounts {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.login-profile {
  font-size: 12px;
  gap: 12px;
  padding: 8px 14px 8px 8px;
  border-radius: 5px;
  min-width: 165px;
}
.login-profile > .icon {
  width: 28px;
  height: 28px;
  padding: 5px;
  background: #c4d0e16b;
  border-radius: 50%;
}
.login-profile.selected {
  background: #ecf6ff26;
  backdrop-filter: blur(12px);
}
.login-profile:hover {
  background: #ecf6ff1a;
}
.login-system {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #eaf2ff;
}
.login-system > span {
  font-size: 10px;
}
.login-system button {
  padding: 5px;
  border-radius: 4px;
}
.login-system button:hover {
  background: #ffffff22;
}
.login-system .icon {
  width: 21px;
  height: 21px;
}
.high-contrast .login-screen {
  background: #000b;
}
.high-contrast input {
  background: #000;
  color: white;
  border: 2px solid white;
}
.loading-screen {
  background: #1e385177;
  backdrop-filter: blur(20px);
}

/* Windows sign-in: full-screen wallpaper, centered profile and system tray. */
body:has(#login) .wallpaper {
  filter: saturate(1.08);
  transform: none;
}
body:has(#login) .login-screen {
  box-sizing: border-box;
  height: 100dvh;
  min-height: 520px;
  padding: 0 20px 70px;
  overflow: hidden;
  background:
    linear-gradient(0deg, #00132f79 0, transparent 22%),
    linear-gradient(90deg, #001d3a12, #001d3a0a);
}
body:has(#login) .login-brand,
body:has(#login) .login-subtitle,
body:has(#login) .login-help {
  display: none;
}
body:has(#login) .login-center {
  box-sizing: border-box;
  width: min(320px, calc(100vw - 40px));
  margin: -12px 0 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  text-align: center;
}
body:has(#login) .account-avatar {
  width: 128px;
  height: 128px;
  margin-bottom: 13px;
  background: #dcecff55;
  border: 1px solid #ffffff4a;
  box-shadow: 0 1px 12px #00142a22;
}
body:has(#login) .account-avatar .icon {
  width: 74px;
  height: 74px;
  stroke-width: 1.1;
}
body:has(#login) .login-center h1 {
  margin: 0 0 19px;
  font-size: clamp(27px, 4vw, 34px);
  line-height: 1.15;
  font-weight: 400;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  text-shadow: 0 1px 8px #00132e55;
}
body:has(#login) .login-center input {
  box-sizing: border-box;
  min-height: 38px;
  padding: 7px 9px;
  border: 1px solid #f3f8ff9c;
  border-radius: 0;
  background: #062c5ad9;
  color: #fff;
  font-size: 14px;
  box-shadow: none;
}
body:has(#login) .login-center input::placeholder {
  color: #eef5ffbd;
}
body:has(#login) .login-center input:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 1px;
  border-color: #fff;
}
body.high-contrast:has(#login) .login-center input {
  border: 2px solid white;
  background: black;
  color: white;
}
body:has(#login) #username {
  margin-bottom: 7px;
}
body:has(#login) .password-input {
  height: 38px;
  margin-top: 0;
  border: 1px solid #f3f8ffb0;
  border-radius: 0;
  border-bottom: 2px solid #d9edff;
  box-shadow: 0 1px 4px #00152e38;
}
body:has(#login) .password-input input {
  min-height: 36px;
  border: 0;
  border-radius: 0;
  background: #062c5ae8;
  box-shadow: none;
}
body:has(#login) .password-input button {
  width: 38px;
  border: 0;
  border-left: 1px solid #e9f4ff92;
  border-radius: 0;
  background: #ffffff24;
}
body:has(#login) .password-input button:hover {
  background: #1479d4;
}
body:has(#login) .login-choice {
  display: none;
}
body:has(#login) .login-register-toggle,
body:has(#login) .register-cancel {
  margin-top: 11px;
  color: #fff;
  font-size: 12px;
  text-shadow: 0 1px 4px #00152e;
}
body:has(#login) .register-submit {
  border: 1px solid #e4f1ffad;
  border-radius: 0;
  background: #075cae;
  color: #fff;
}
body:has(#login) .login-error,
body:has(#login) .setup-notice,
body:has(#login) .discord-connect {
  border-radius: 2px;
  text-shadow: 0 1px 3px #00152e;
}
body:has(#login) .login-bottom {
  left: 20px;
  right: 20px;
  bottom: 18px;
}
body:has(#login) .login-accounts {
  gap: 2px;
}
body:has(#login) .login-profile {
  box-sizing: border-box;
  width: 195px;
  min-width: 0;
  min-height: 42px;
  padding: 5px 10px;
  gap: 11px;
  border: 1px solid transparent;
  border-radius: 3px;
  font-size: 13px;
  text-align: left;
}
body:has(#login) .login-profile > .icon {
  box-sizing: border-box;
  width: 32px;
  height: 32px;
  padding: 5px;
  background: #dcecff68;
  border-radius: 50%;
}
body:has(#login) .login-profile.selected {
  background: #0755b9e8;
  border-color: #6fb5ff40;
  backdrop-filter: none;
}
body:has(#login) .login-profile:hover:not(.selected) {
  background: #ffffff20;
}
body:has(#login) .login-system {
  gap: 13px;
  color: #fff;
  text-shadow: 0 1px 4px #00152e;
}
body:has(#login) .login-system > span {
  display: none;
}
body:has(#login) .login-system button {
  padding: 6px;
  border-radius: 2px;
}
body:has(#login) .login-system .icon {
  width: 20px;
  height: 20px;
}
body:has(#login) .login-profile:focus-visible,
body:has(#login) .login-system button:focus-visible,
body:has(#login) .password-input button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
@media (max-width: 600px) {
  body:has(#login) .login-screen {
    min-height: 480px;
    padding: 0 14px 92px;
  }
  body:has(#login) .login-center {
    width: min(320px, calc(100vw - 32px));
  }
  body:has(#login) .account-avatar {
    width: 112px;
    height: 112px;
  }
  body:has(#login) .account-avatar .icon {
    width: 65px;
    height: 65px;
  }
  body:has(#login) .login-bottom {
    left: 10px;
    right: 10px;
    bottom: 10px;
    align-items: flex-end;
  }
  body:has(#login) .login-profile {
    width: 156px;
    min-height: 38px;
    padding: 3px 6px;
    gap: 7px;
    font-size: 11px;
  }
  body:has(#login) .login-profile > .icon {
    width: 28px;
    height: 28px;
  }
  body:has(#login) .login-system {
    gap: 4px;
  }
}
@media (max-height: 620px) and (min-width: 601px) {
  body:has(#login) .login-screen {
    min-height: 0;
    padding-bottom: 58px;
  }
  body:has(#login) .account-avatar {
    width: 94px;
    height: 94px;
    margin-bottom: 8px;
  }
  body:has(#login) .account-avatar .icon {
    width: 56px;
    height: 56px;
  }
  body:has(#login) .login-center h1 {
    margin-bottom: 12px;
  }
}
.desktop-top,
.desktop-watermark {
  display: none;
}
.desktop-icons {
  position: absolute;
  left: 8px;
  top: 12px;
  transform: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0;
  width: 88px;
}
.desktop-icon {
  width: 82px;
  min-height: 84px;
  gap: 6px;
  padding: 7px 4px 5px;
  border: 1px solid transparent;
  border-radius: 5px;
  color: white;
  text-shadow: 0 1px 3px #123a;
  text-align: center;
}
.desktop-icon:hover {
  background: #e9f4ff33;
  border-color: #f5f9ff6b;
}
.desktop-icon.selected {
  background: #e9f4ff3b;
  border-color: #e2f1ff61;
}
.desktop-icon > span:last-child {
  font-size: 12px;
  font-weight: 400;
}
.app-symbol {
  width: 49px;
  height: 49px;
  border-radius: 10px;
  background: linear-gradient(145deg, #eaf6ff, #8fc0e9);
  color: #266da3;
  box-shadow:
    0 2px 3px #1234,
    inset 0 1px #ffffff77;
  position: relative;
}
.desktop-icon .app-symbol:after {
  content: "↗";
  font-size: 10px;
  line-height: 12px;
  width: 12px;
  height: 12px;
  position: absolute;
  left: -2px;
  bottom: -1px;
  background: white;
  color: #336696;
  text-shadow: none;
  border: 1px solid #abc4dc;
}
.app-symbol.police {
  background: linear-gradient(145deg, #173a79, #081d4a);
  border: 0;
  color: #f7f9fc;
}
.app-symbol.admin {
  background: linear-gradient(145deg, #c8d6df, #91a5b7);
  color: #30536c;
}
.app-symbol.ambulance {
  background: linear-gradient(145deg, #ffed59, #efb800);
  color: #005ab5;
}
.app-window {
  left: 50%;
  width: 84%;
  transform: translateX(-50%);
  border-radius: 9px 9px 8px 8px;
  border-color: #ffffffa8;
  box-shadow:
    0 22px 70px #102b4a50,
    0 2px 8px #0c2d4b30;
  top: 7%;
  height: 86%;
}
.app-window.maximized {
  transform: none;
}
.window-titlebar {
  height: 42px;
  min-height: 42px;
  background: #f7f9fc;
  border-bottom-color: #e7ebf1;
  padding-left: 16px;
}
.window-titlebar > span {
  font-size: 12px;
  color: #34465b;
}
.window-titlebar .icon {
  width: 16px;
  height: 16px;
}
.window-controls button {
  font-size: 17px;
  width: 44px;
}
.window-controls button:last-child {
  border-radius: 0 8px 0 0;
}
.taskbar {
  height: 50px;
  background: #edf3fbe8;
  color: #202c39;
  backdrop-filter: blur(28px) saturate(1.4);
  border-top: 1px solid #ffffffa8;
  justify-content: center;
  gap: 4px;
  box-shadow: 0 -1px 18px #18375416;
}
.start-button {
  width: 43px;
  margin: 4px 0;
  border-radius: 4px;
  color: #0876d6;
}
.start-button .icon {
  width: 23px;
  height: 23px;
}
.start-button:hover,
.system-tray button:hover,
.pinned-apps button:hover {
  background: #fff9;
}
.taskbar-search {
  width: 210px;
  height: 32px;
  align-self: center;
  border: 1px solid #a9b9c755;
  border-radius: 18px;
  background: #ffffff82;
  box-shadow: 0 1px 3px #001f4211;
  padding: 0 13px;
  gap: 9px;
}
.taskbar-search input {
  font-size: 12px;
}
.taskbar-search .icon {
  width: 15px;
  color: #46566b;
}
.pinned-apps {
  padding: 0;
  gap: 4px;
}
.pinned-apps button {
  width: 43px;
  margin: 4px 0;
  border-radius: 4px;
  color: #1476c0;
}
.pinned-apps button .icon {
  width: 24px;
  height: 24px;
  stroke-width: 1.8;
}
.pinned-apps button.active {
  background: #ffffff9c;
  box-shadow: 0 1px 3px #546b8422;
}
.pinned-apps button.active:after {
  height: 3px;
  border-radius: 3px;
  left: 14px;
  right: 14px;
  bottom: 0;
  background: #086cca;
}
.system-tray {
  position: absolute;
  right: 10px;
  top: 0;
  height: 50px;
  gap: 4px;
  padding: 0;
  color: #283b51;
}
.system-tray button {
  color: #283b51;
  font-size: 11px;
  padding: 0 6px;
}
.quick-settings-button {
  height: 36px;
  display: flex;
  align-items: center;
  gap: 5px;
  border-radius: 5px;
  padding: 0 7px !important;
}
.quick-settings-button:hover,
.quick-settings-button[aria-expanded="true"] {
  background: #ffffffbd !important;
}
.quick-settings-button .icon {
  width: 16px;
  height: 16px;
}
.quick-settings {
  position: absolute;
  z-index: 30;
  right: 12px;
  bottom: 60px;
  width: min(360px, calc(100vw - 24px));
  padding: 22px;
  color: #25384e;
  background: #f4f7fcf2;
  border: 1px solid #ffffffd9;
  border-radius: 9px;
  box-shadow: 0 12px 40px #16324f45;
  backdrop-filter: blur(30px) saturate(1.35);
  animation: shell-open 150ms ease-out both;
}
@keyframes shell-open {
  from {
    opacity: 0;
    translate: 0 6px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}
.quick-settings-heading,
.quick-settings-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.quick-settings-heading {
  margin-bottom: 16px;
  font-size: 13px;
}
.quick-settings-heading > span {
  color: #71839a;
  font-size: 11px;
}
.quick-settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.quick-status-card {
  display: flex;
  gap: 10px;
  align-items: center;
  min-height: 68px;
  padding: 11px;
  border: 1px solid #d9e2ee;
  border-radius: 6px;
  background: #ffffffbd;
}
.quick-status-card > .icon {
  width: 19px;
  color: #2468a8;
}
.quick-status-card strong,
.quick-status-card small {
  display: block;
}
.quick-status-card strong {
  font-size: 11px;
}
.quick-status-card small {
  margin-top: 4px;
  color: #71839a;
  font-size: 9px;
}
.quick-settings-footer {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid #d9e2ee;
  color: #6e8095;
  font-size: 10px;
}
.quick-settings-footer .icon {
  width: 16px;
}
.system-tray small {
  font-size: 10px;
}
.secure-tray {
  color: #3b876b;
}
.system-tray .icon {
  width: 16px;
}
.start-menu {
  left: 50%;
  transform: translateX(-50%);
  bottom: 61px;
  width: 565px;
  border-radius: 9px;
  background: #f3f6ffef;
  color: #243b54;
  border: 1px solid #ffffffc7;
  box-shadow: 0 12px 50px #213a6755;
  backdrop-filter: blur(35px);
  padding: 27px 29px 0;
  overflow: hidden;
  max-height: calc(100dvh - 76px);
  overflow-y: auto;
  animation: shell-open 150ms ease-out both;
}
.start-search {
  height: 36px;
  display: flex;
  gap: 10px;
  align-items: center;
  background: #ffffffad;
  border: 1px solid #d5dde9;
  border-bottom: 2px solid #1876d1;
  border-radius: 5px;
  padding: 0 12px;
  box-shadow: 0 2px 3px #223c5b08;
  margin-bottom: 30px;
}
.start-search input {
  width: 100%;
  background: none;
  border: 0;
  outline: none;
  font-size: 12px;
  color: #536d88;
}
.start-search > .icon {
  width: 16px;
  color: #5b7189;
}
.start-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  margin: 0 8px 15px;
}
.start-section-heading > strong {
  font-size: 12px;
  color: #1d324a;
}
.start-section-heading > span {
  font-size: 10px;
  color: #7c8da1;
}
.start-app-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 7px;
  min-height: 147px;
  margin-bottom: 20px;
}
.start-app-grid button {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 10px;
  text-align: center;
  align-items: center;
  padding: 10px 3px;
  border-radius: 5px;
  color: #2f465f;
  font-size: 10px;
}
.start-app-grid button:hover {
  background: #fff9;
}
.start-app-grid .app-symbol {
  width: 36px;
  height: 36px;
  border-radius: 7px;
  box-shadow: none;
}
.start-app-grid .app-symbol .icon {
  width: 23px;
  height: 23px;
  color: inherit;
}
.start-recommended {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 5px 12px 30px;
}
.start-recommended .app-symbol {
  width: 34px;
  height: 34px;
  border-radius: 7px;
}
.start-recommended .icon {
  width: 21px;
  height: 21px;
}
.start-recommended strong {
  font-size: 11px;
  font-weight: 500;
}
.start-recommended small {
  display: block;
  font-size: 10px;
  color: #7d8fa3;
  margin-top: 6px;
}
.start-footer {
  background: #e6edf8aa;
  border-top: 1px solid #d2deed99;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 -29px;
  padding: 11px 32px;
}
.start-footer button {
  display: flex;
  align-items: center;
  width: auto;
  padding: 7px 10px;
  gap: 11px;
  border-radius: 5px;
  font-size: 11px;
  color: #344d66;
}
.start-footer button:hover {
  background: #ffffff9c;
}
.start-footer button .icon {
  color: #344d66;
}
.start-footer .user-initials {
  background: #c5d5e9;
  color: #3a5c7c;
}
.demo-banner {
  left: 16px;
  bottom: 65px;
  background: #edf4ffbc;
  backdrop-filter: blur(10px);
  color: #3e5b7b;
  font-size: 9px;
  max-width: 320px;
  box-shadow: 0 2px 6px #283c5415;
  border: 1px solid #fff8;
}
@media (max-width: 900px) {
  .taskbar-search {
    width: 40px;
    border: 0;
    box-shadow: none;
    padding: 0;
    justify-content: center;
    background: none;
  }
  .taskbar-search input {
    display: none;
  }
  .system-tray .secure-tray {
    display: none;
  }
  .taskbar {
    justify-content: center;
    padding-left: 0;
  }
  .start-menu {
    width: min(565px, calc(100vw - 24px));
    left: 12px;
    transform: none;
  }
  .system-tray > span:nth-child(2) {
    display: none;
  }
}

/* Drag-and-drop Windows desktop shortcuts */
.desktop-icons {
  position: absolute;
  inset: 0 0 50px;
  left: 0;
  top: 0;
  z-index: 2;
  display: block;
  width: auto;
  height: auto;
  padding: 0;
  pointer-events: none;
}
.desktop-icon {
  position: absolute;
  width: 98px;
  min-height: 96px;
  padding: 8px 5px;
  cursor: grab;
  pointer-events: auto;
  user-select: none;
  touch-action: none;
}
.desktop-icon.dragging {
  z-index: 3;
  cursor: grabbing;
  background: #e8f5ff55;
  border-color: #d6edff99;
}

.ambulance-workspace {
  flex: 1;
  min-width: 0;
  overflow: auto;
  padding: 26px;
  background: #f4f7fb;
}
.ambulance-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 20px;
}
.ambulance-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.8fr);
  gap: 18px;
  align-items: start;
}
.ambulance-columns > .panel {
  min-width: 0;
}
.ambulance-call-list {
  display: grid;
  gap: 12px;
  padding: 16px;
}
.ambulance-call {
  border: 1px solid #e3eaf2;
  border-left: 3px solid #2d87d7;
  border-radius: 7px;
  padding: 15px;
  background: #fff;
}
.ambulance-call.urgent {
  border-left-color: #d7474d;
}
.ambulance-call.completed {
  border-left-color: #59a780;
}
.ambulance-call-heading,
.ambulance-call-heading > div {
  display: flex;
  align-items: center;
  gap: 8px;
}
.ambulance-call-heading {
  justify-content: space-between;
}
.call-number {
  color: #667b93;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.35px;
}
.priority-badge,
.status-badge {
  border-radius: 999px;
  padding: 4px 8px;
  background: #edf4fb;
  color: #456985;
  font-size: 10px;
}
.priority-badge.urgent {
  background: #fff0ef;
  color: #ba3636;
}
.status-badge {
  background: #eef5fb;
  color: #3975a5;
}
.ambulance-call h3 {
  margin: 13px 0 5px;
  color: #203954;
  font-size: 16px;
}
.ambulance-call > p {
  margin: 0;
  color: #596d84;
  font-size: 13px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}
.ambulance-call-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 13px;
  color: #71839a;
  font-size: 10px;
}
.ambulance-call-meta span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.ambulance-call-meta .icon {
  width: 14px;
  height: 14px;
}
.ambulance-call-edit {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 9px;
  align-items: end;
  border-top: 1px solid #edf0f5;
  margin-top: 13px;
  padding-top: 12px;
}
.ambulance-call-edit label,
.ambulance-call-edit input,
.ambulance-call-edit select {
  min-width: 0;
  width: 100%;
}
.ambulance-call-edit label {
  display: grid;
  gap: 5px;
  color: #708197;
  font-size: 10px;
}
.ambulance-call-edit input,
.ambulance-call-edit select {
  height: 34px;
  border: 1px solid #dce4ee;
  border-radius: 5px;
  padding: 0 8px;
  color: #324b65;
  background: #fff;
  font-size: 11px;
}
.ambulance-call-edit .button {
  min-height: 34px;
  white-space: nowrap;
  padding: 0 10px;
  font-size: 11px;
}
.ambulance-call-edit .button .icon {
  width: 15px;
  height: 15px;
}
.ambulance-completed {
  border-top: 1px solid #e8edf3;
  padding: 14px 16px;
}
.ambulance-completed summary {
  color: #536a82;
  cursor: pointer;
  font-size: 12px;
}
.ambulance-create .panel-body {
  display: grid;
  gap: 14px;
  padding: 18px;
}
.ambulance-create .field textarea {
  resize: vertical;
  min-height: 92px;
}
.ambulance-create .button {
  justify-content: center;
  min-height: 42px;
}
.ambulance-privacy {
  color: #7a899b;
  font-size: 10px;
  line-height: 1.5;
}
@media (max-width: 1000px) {
  .ambulance-columns {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 760px) {
  .desktop-icons {
    inset: 0 0 49px;
    left: 0;
    top: 0;
    width: auto;
    gap: 0;
  }
  .desktop-icon {
    width: 76px;
    min-height: 82px;
    padding: 5px 3px;
  }
  .ambulance-workspace {
    padding: 16px 12px;
  }
  .ambulance-workspace .page-heading {
    gap: 8px;
  }
  .ambulance-stats {
    gap: 8px;
  }
  .ambulance-stats .stat-card {
    padding: 12px 9px;
  }
  .ambulance-call-edit {
    grid-template-columns: 1fr 1fr;
  }
  .ambulance-call-edit .button {
    grid-column: 1 / -1;
  }
}
@media (max-width: 760px) {
  .app-window {
    transform: none;
    top: 0;
    height: calc(100% - 49px);
    border-radius: 0;
  }
  .window-controls button:last-child {
    border-radius: 0;
  }
  .desktop-icons {
    left: 0;
    top: 0;
    gap: 0;
    width: auto;
  }
  .desktop-icon {
    width: 76px;
    min-height: 82px;
    gap: 5px;
    font-size: 10px;
  }
  .taskbar {
    height: 49px;
    gap: 0;
    padding: 0 4px;
  }
  .start-button {
    width: 39px;
  }
  .pinned-apps {
    gap: 0;
  }
  .pinned-apps button {
    width: 36px;
  }
  .pinned-apps button .icon {
    width: 21px;
  }
  .taskbar-search {
    width: 32px;
  }
  .system-tray {
    right: 3px;
    gap: 0;
  }
  .system-tray #notifications-button {
    display: none;
  }
  .quick-settings-button {
    gap: 3px;
    padding: 0 5px !important;
  }
  .system-tray button {
    padding: 0 5px;
  }
  .start-menu {
    padding: 22px 20px 0;
  }
  .start-app-grid {
    grid-template-columns: repeat(4, 1fr);
    min-height: 125px;
    gap: 3px;
  }
  .start-footer {
    margin: 0 -20px;
    padding: 9px 20px;
  }
  .start-section-heading {
    margin-left: 3px;
    margin-right: 3px;
  }
  .demo-banner {
    font-size: 8px;
    max-width: 240px;
  }
  .login-center {
    width: 300px;
    margin-top: -25px;
  }
  .account-avatar {
    width: 120px;
    height: 120px;
  }
  .account-avatar .icon {
    width: 72px;
    height: 72px;
  }
  .login-center h1 {
    font-size: 27px;
  }
  .login-bottom {
    left: 15px;
    right: 15px;
    bottom: 18px;
  }
  .login-system {
    gap: 8px;
  }
  .login-system > span {
    display: none;
  }
  .login-system .icon {
    width: 19px;
  }
  .login-profile {
    font-size: 11px;
    min-width: 145px;
    padding: 7px;
  }
  .login-accounts {
    gap: 1px;
  }
}
