/* [project]/apps/web/app/globals.css [app-client] (css) */
@layer properties {
  @supports (((-webkit-hyphens: none)) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
    *, :before, :after, ::backdrop {
      --tw-outline-style: solid;
      --tw-blur: initial;
      --tw-brightness: initial;
      --tw-contrast: initial;
      --tw-grayscale: initial;
      --tw-hue-rotate: initial;
      --tw-invert: initial;
      --tw-opacity: initial;
      --tw-saturate: initial;
      --tw-sepia: initial;
      --tw-drop-shadow: initial;
      --tw-drop-shadow-color: initial;
      --tw-drop-shadow-alpha: 100%;
      --tw-drop-shadow-size: initial;
    }
  }
}

@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;
    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 {
  .visible {
    visibility: visible;
  }

  .block {
    display: block;
  }

  .grid {
    display: grid;
  }

  .hidden {
    display: none;
  }

  .outline {
    outline-style: var(--tw-outline-style);
    outline-width: 1px;
  }

  .filter {
    filter: var(--tw-blur, ) var(--tw-brightness, ) var(--tw-contrast, ) var(--tw-grayscale, ) var(--tw-hue-rotate, ) var(--tw-invert, ) var(--tw-saturate, ) var(--tw-sepia, ) var(--tw-drop-shadow, );
  }
}

:root {
  --brand: #9a3412;
  --brand-on: #fff;
  --brand-subtle: #fff3eb;
  --ink: #192329;
  --muted: #68747d;
  --line: #e3e7e9;
  --canvas: #f5f7f8;
}

* {
  box-sizing: border-box;
}

body {
  color: var(--ink);
  background: var(--canvas);
  margin: 0;
  font-family: Tahoma, Noto Sans Thai, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

button, select, input {
  font: inherit;
}

button, a, select {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

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

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

button:focus-visible, a:focus-visible, select:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 4px;
}

h1, h2, p {
  margin: 0;
}

.ws-button {
  border: 1px solid #0000;
  border-radius: 10px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: bold;
  transition: background .15s, transform .15s;
  display: inline-flex;
}

.ws-button-primary {
  background: var(--brand);
  color: var(--brand-on);
}

.ws-button-primary:hover:not(:disabled) {
  filter: brightness(.9);
}

.ws-button-outline {
  color: #34424c;
  background: #fff;
  border-color: #d6dde1;
}

.ws-button-outline:hover:not(:disabled) {
  background: var(--canvas);
}

.ws-button-ghost {
  background: none;
}

.app-shell {
  min-height: 100vh;
  display: flex;
}

.sidebar {
  border-right: 1px solid var(--line);
  z-index: 10;
  background: #fff;
  flex-direction: column;
  flex-shrink: 0;
  width: 238px;
  padding: 32px 22px;
  display: flex;
  position: fixed;
  inset: 0 auto 0 0;
  overflow: hidden;
}

.sidebar nav {
  scrollbar-width: thin;
  flex: auto;
  min-height: 0;
  overflow-y: auto;
}

.sidebar-head {
  justify-content: space-between;
  align-items: center;
  display: flex;
}

.drawer-close, .menu-button, .drawer-backdrop {
  display: none;
}

.wordmark {
  letter-spacing: -1px;
  align-items: center;
  gap: 9px;
  font-family: Arial, sans-serif;
  font-size: 23px;
  font-weight: 800;
  display: flex;
}

.brand-symbol {
  background: var(--brand);
  color: #fff;
  border-radius: 11px;
  justify-content: center;
  align-items: center;
  width: 37px;
  height: 39px;
  display: inline-flex;
}

.brand-symbol svg {
  width: 25px;
  height: 25px;
}

.wordmark-dot {
  color: var(--brand);
  margin-left: -8px;
}

.workspace-label {
  letter-spacing: 2px;
  color: #7c8790;
  margin: 55px 12px 15px;
  font-family: Arial, sans-serif;
  font-size: 11px;
}

.nav-group {
  letter-spacing: 2px;
  color: #8b969d;
  text-transform: uppercase;
  margin: 18px 12px 8px;
  font: 600 10px Arial, sans-serif;
}

.nav-item {
  color: #66717a;
  text-align: left;
  background: none;
  border: 0;
  border-radius: 9px;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin-bottom: 8px;
  padding: 14px 12px;
  font-size: 14px;
  display: flex;
}

.nav-item svg:last-child {
  margin-left: auto;
}

.nav-item.active {
  background: var(--brand-subtle);
  color: var(--brand);
  font-weight: bold;
}

.sidebar-bottom {
  border-top: 1px solid var(--line);
  flex-direction: column;
  gap: 3px;
  margin-top: auto;
  padding: 25px 12px 0;
  display: flex;
}

.sidebar-bottom > span {
  color: var(--muted);
  font-size: 12px;
}

.company-emblem {
  background: var(--brand-subtle);
  width: 40px;
  height: 40px;
  color: var(--brand);
  border-radius: 10px;
  place-items: center;
  margin-bottom: 8px;
  font: bold 25px Arial;
  display: grid;
}

.main-column {
  flex: 1;
  min-width: 0;
  margin-left: 238px;
}

.topbar {
  border-bottom: 1px solid var(--line);
  background: #fff;
  align-items: center;
  gap: 22px;
  height: 78px;
  padding: 0 42px;
  display: flex;
}

.breadcrumb {
  color: var(--muted);
  flex: 1;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  display: flex;
}

.breadcrumb strong {
  color: #34424c;
  font-weight: normal;
}

.company-pill {
  background: var(--brand-subtle);
  color: var(--brand);
  border: 1px solid var(--brand);
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: bold;
  display: flex;
}

@supports (color: color-mix(in lab, red, red)) {
  .company-pill {
    border: 1px solid color-mix(in srgb,var(--brand) 20%,transparent);
  }
}

.company-pill {
  border-radius: 100px;
  padding: 5px 13px;
}

.company-pill > span {
  background: var(--brand);
  border-radius: 50%;
  width: 6px;
  height: 6px;
}

.logout {
  color: #67747e;
  background: none;
  border: 0;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  font-size: 13px;
  display: flex;
}

.preview-bar {
  color: #415361;
  background: #eaf0f5;
  border-bottom: 1px solid #d9e2ea;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 9px 42px;
  font-size: 12px;
  display: flex;
}

.preview-bar select {
  background: #fff;
  border: 1px solid #c1ced8;
  border-radius: 5px;
  margin-left: 8px;
  padding: 3px 8px;
  font-size: 12px;
}

.content {
  max-width: 1280px;
  margin: auto;
  padding: 35px 42px 20px;
}

.page-heading {
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 27px;
  display: flex;
}

.eyebrow {
  letter-spacing: 2px;
  color: var(--muted);
  margin-bottom: 10px;
  font: 600 10px Arial, sans-serif;
  display: block;
}

.page-heading h1 {
  letter-spacing: -1px;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.5;
}

.heading-dot {
  color: var(--brand);
  padding-left: 3px;
}

.page-heading p {
  color: var(--muted);
  margin-top: 4px;
  font-size: 13px;
}

.timezone {
  letter-spacing: .7px;
  color: #849098;
  margin-left: 12px;
  font: 10px Arial, sans-serif;
}

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

.avatar {
  color: #4f5f6b;
  object-fit: cover;
  background: #e5ebef;
  border-radius: 50%;
  flex-shrink: 0;
  place-items: center;
  width: 42px;
  height: 42px;
  font-weight: bold;
  display: grid;
}

.identity strong {
  font-size: 13px;
  display: block;
}

.identity div > span {
  color: var(--brand);
  overflow-wrap: anywhere;
  font-size: 12px;
  display: block;
}

.workspace-grid {
  grid-template-columns: minmax(0, 1.32fr) minmax(300px, 1fr);
  gap: 24px;
  display: grid;
}

.stamp-card, .location-card, .history-card {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
}

.stamp-card {
  border-top: 4px solid var(--brand);
  flex-direction: column;
  display: flex;
}

.card-title {
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 22px 25px;
  font-size: 13px;
  font-weight: bold;
  display: flex;
}

.card-title > span:first-child {
  align-items: center;
  gap: 9px;
  display: flex;
}

.card-title svg {
  color: var(--muted);
}

.status-pill {
  white-space: nowrap;
  color: #5b6a75;
  background: #f0f3f5;
  border-radius: 5px;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  font-size: 11px;
  font-weight: normal;
  display: inline-flex;
}

.status-pill i {
  background: #88949e;
  border-radius: 50%;
  width: 5px;
  height: 5px;
}

.status-pill.working {
  color: #166148;
  background: #eaf7ef;
}

.status-pill.attention {
  color: #8a5b06;
  background: #fdf4e3;
}

.working i {
  background: #24825d;
}

.clock-display {
  text-align: center;
  padding: 13px 16px 27px;
}

.clock-display > span {
  color: var(--muted);
  font-size: 12px;
}

.clock-display > div {
  letter-spacing: -2px;
  font-variant-numeric: tabular-nums;
  margin: 10px 0;
  font: 500 clamp(40px, 4.8vw, 66px) / 1.3 Arial, sans-serif;
}

.clock-display > p {
  color: #8b969d;
  font-size: 11px;
}

.time-pair {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  grid-template-columns: 1fr 1fr;
  margin: 0 26px;
  padding: 22px 0;
  display: grid;
}

.time-pair > div {
  padding: 0 19px;
}

.time-pair > div + div {
  border-left: 1px solid var(--line);
}

.time-pair span {
  color: var(--muted);
  align-items: center;
  gap: 6px;
  font-size: 12px;
  display: flex;
}

.time-pair strong {
  margin-top: 10px;
  font: 500 28px Arial, sans-serif;
  display: block;
}

.time-pair small {
  color: var(--muted);
  margin-top: 6px;
  font-size: 10px;
  display: block;
}

.stamp-bottom {
  margin-top: auto;
  padding: 22px 26px;
}

.account-confirm {
  color: var(--brand);
  background: var(--brand-subtle);
  border-radius: 8px;
  align-items: center;
  gap: 10px;
  margin-bottom: 17px;
  padding: 11px 13px;
  font-size: 12px;
  display: flex;
}

.account-confirm small {
  color: var(--muted);
  font-size: 11px;
  display: block;
}

.action-choice {
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 17px;
  display: grid;
}

.action-option {
  color: #5b6a75;
  background: #fff;
  border: 2px solid #dce2e6;
  border-radius: 11px;
  justify-content: center;
  align-items: center;
  gap: 9px;
  min-height: 56px;
  font-size: 15px;
  font-weight: bold;
  transition: border-color .15s, background .15s, color .15s;
  display: flex;
}

.action-option:hover:not(:disabled) {
  border-color: var(--brand);
}

.action-option.selected {
  border-color: var(--brand);
  background: var(--brand);
  color: var(--brand-on);
}

.action-option.selected svg {
  color: var(--brand-on);
}

.action-option:disabled {
  opacity: 1;
  color: #a0aab2;
  cursor: not-allowed;
  background: #eef1f3;
  border-color: #e3e7e9;
}

.action-option:disabled svg {
  color: #b3bcc3;
}

.action-option.selected:disabled {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--brand-on);
  opacity: .65;
}

.action-option.selected:disabled svg {
  color: var(--brand-on);
}

.stamp-button {
  justify-content: space-between;
  width: 100%;
  min-height: 51px;
  padding-inline: 21px;
  font-size: 16px;
}

.helper {
  text-align: center;
  color: var(--muted);
  margin-top: 9px;
  font-size: 11px;
}

.location-card {
  padding: 0 24px 18px;
}

.location-card .card-title {
  padding: 23px 0 20px;
}

.step-label {
  color: #8b969d;
  font-size: 10px;
  font-weight: normal;
}

.field-label {
  color: var(--muted);
  margin-bottom: 7px;
  font-size: 11px;
  display: block;
}

.site-select {
  color: #263642;
  background: #fff;
  border: 1px solid #dce2e6;
  border-radius: 8px;
  width: 100%;
  min-height: 44px;
  padding: 9px 10px;
  font-size: 12px;
}

.site-illustration {
  background: var(--brand-subtle);
  border-radius: 10px;
  justify-content: center;
  align-items: center;
  height: 112px;
  margin: 17px 0 12px;
  display: flex;
  position: relative;
  overflow: hidden;
}

.site-grid {
  opacity: .7;
  background-image: linear-gradient(0deg, #0000 46%, #fff 46% 54%, #0000 54%), linear-gradient(90deg, #0000 46%, #fff 46% 54%, #0000 54%);
  background-size: 45px 45px;
  position: absolute;
  inset: 0;
  transform: rotate(-24deg)scale(2);
}

.site-marker {
  width: 58px;
  height: 58px;
  color: var(--brand);
  box-shadow: 0 0 0 10px var(--brand);
  background: #fff;
  border-radius: 50%;
  place-items: center;
  display: grid;
  position: relative;
}

@supports (color: color-mix(in lab, red, red)) {
  .site-marker {
    box-shadow: 0 0 0 10px color-mix(in srgb,var(--brand) 8%,transparent);
  }
}

.site-marker svg {
  fill: var(--brand-subtle);
}

.site-illustration > span {
  letter-spacing: 1.5px;
  color: var(--brand);
  opacity: .7;
  font: 8px Arial;
  position: absolute;
  bottom: 8px;
  right: 10px;
}

.site-detail {
  flex-direction: column;
  gap: 2px;
  display: flex;
}

.site-detail strong {
  font-size: 14px;
}

.site-detail span {
  color: #65747e;
  font-size: 12px;
}

.site-detail small {
  color: #87929a;
  font-size: 11px;
}

.location-state {
  align-items: center;
  gap: 9px;
  margin: 17px 0 13px;
  display: flex;
}

.location-dot {
  background: #a6b0b7;
  border-radius: 50%;
  width: 7px;
  height: 7px;
}

.location-dot.ready {
  background: #278563;
}

.location-state strong {
  font-size: 12px;
  display: block;
}

.location-state span:not(.location-dot) {
  color: var(--muted);
  font-size: 10px;
  display: block;
}

.location-card > .ws-button {
  width: 100%;
  font-size: 12px;
}

.demo-position {
  width: 100%;
  color: var(--brand);
  background: none;
  border: 0;
  min-height: 36px;
  font-size: 11px;
  text-decoration: underline;
}

.location-footnote {
  color: var(--muted);
  text-align: center;
  margin-top: 4px;
  font-size: 10px;
}

.history-card {
  margin-top: 24px;
}

.history-heading {
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 22px 26px 12px;
  display: flex;
}

.history-heading .eyebrow {
  margin-bottom: 6px;
  font-size: 9px;
}

.history-heading h2 {
  font-size: 17px;
  font-weight: bold;
}

.history-heading .ws-button {
  font-size: 12px;
}

.history-meta {
  color: var(--muted);
  justify-content: space-between;
  gap: 10px;
  padding: 0 26px 15px;
  font-size: 11px;
  display: flex;
}

.table-scroll {
  overflow: auto;
}

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

th {
  color: var(--muted);
  border-block: 1px solid var(--line);
  white-space: nowrap;
  background: #f8fafb;
  padding: 12px 25px;
  font-size: 11px;
  font-weight: normal;
}

td {
  white-space: nowrap;
  border-bottom: 1px solid #edf0f2;
  padding: 15px 25px;
}

td strong {
  font-weight: normal;
}

td .muted {
  color: var(--muted);
}

td small {
  color: var(--muted);
  margin-top: 3px;
  font-size: 10px;
  display: block;
}

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

.empty-state {
  color: #93a0aa;
  border-top: 1px solid var(--line);
  flex-direction: column;
  align-items: center;
  padding: 30px 20px 38px;
  display: flex;
}

.empty-state strong {
  color: #64737e;
  margin-top: 10px;
  font-size: 13px;
}

.empty-state p {
  margin-top: 4px;
  font-size: 11px;
}

.page-footer {
  color: #8c979f;
  justify-content: space-between;
  gap: 12px;
  padding-top: 23px;
  font-size: 10px;
  display: flex;
}

.page-footer > span:last-child {
  align-items: center;
  gap: 6px;
  display: flex;
}

.message {
  border-radius: 8px;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  padding: 12px 15px;
  font-size: 13px;
  display: flex;
}

.success {
  color: #166148;
  background: #e8f6ef;
}

.error {
  color: #a32323;
  background: #fff0ee;
}

.context-note {
  color: #725314;
  background: #fff8e3;
  border-radius: 8px;
  margin: 18px 26px 0;
  padding: 12px;
  font-size: 12px;
}

.dialog-overlay {
  z-index: 100;
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  background: #17252c99;
  place-items: center;
  padding: 20px;
  display: grid;
  position: fixed;
  inset: 0;
}

.confirm-dialog {
  background: #fff;
  border-radius: 18px;
  width: min(480px, 100%);
  padding: 30px;
  box-shadow: 0 30px 80px #0003;
}

.confirm-dialog h2 {
  margin: 16px 0 6px;
  font-size: 23px;
  font-weight: bold;
}

.confirm-dialog > p {
  color: var(--muted);
  font-size: 13px;
}

.confirm-dialog dl {
  background: var(--brand-subtle);
  border-radius: 10px;
  gap: 5px;
  margin: 20px 0;
  padding: 18px;
  display: grid;
}

.confirm-dialog dt {
  color: var(--muted);
  margin-top: 6px;
  font-size: 11px;
}

.confirm-dialog dd {
  overflow-wrap: anywhere;
  margin: 0;
  font-size: 14px;
}

.dialog-actions {
  justify-content: flex-end;
  gap: 10px;
  margin-top: 22px;
  display: flex;
}

.demo-notice {
  color: #526574;
  background: #edf2f7;
  border-radius: 8px;
  margin: 20px 0;
  padding: 12px 15px;
  font-size: 12px;
}

.spin {
  animation: 1s linear infinite spin;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.loading-screen {
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 15px;
  min-height: 100vh;
  display: flex;
}

.loading-screen h1 {
  font-size: 24px;
  font-weight: bold;
}

.loading-screen p {
  color: var(--muted);
}

.login-screen {
  background: #fff;
  grid-template-columns: 1.1fr 1fr;
  min-height: 100vh;
  display: grid;
}

.login-card {
  place-self: center;
  width: min(460px, 100%);
  padding: 40px;
}

.login-card > .wordmark {
  margin-bottom: 54px;
}

.login-card .eyebrow {
  color: var(--brand);
  font-size: 10px;
}

.login-card h1 {
  letter-spacing: -1px;
  margin: 18px 0;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.35;
}

.login-card > p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.account-choices {
  gap: 12px;
  display: grid;
}

.account-choice {
  text-align: left;
  background: #fff;
  border: 1px solid #dce2e6;
  border-radius: 10px;
  align-items: center;
  gap: 13px;
  padding: 13px;
  display: flex;
}

.account-choice:hover {
  border-color: var(--brand);
}

.company-avatar {
  background: var(--brand);
  color: #fff;
  border-radius: 9px;
  place-items: center;
  width: 42px;
  height: 42px;
  font: bold 22px Arial;
  display: grid;
}

.account-choice > span:nth-child(2) {
  flex: 1;
}

.account-choice strong {
  font-size: 13px;
  display: block;
}

.account-choice small {
  color: var(--muted);
  font-size: 11px;
  display: block;
}

.account-choice > svg {
  color: var(--brand);
}

.login-foot {
  color: var(--muted);
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  font-size: 11px;
  display: flex;
}

.login-art {
  background: #162b36;
  place-items: center;
  display: grid;
  position: relative;
  overflow: hidden;
}

.login-art:before, .login-art:after {
  content: "";
  border: 1px solid #ffffff12;
  border-radius: 50%;
  width: 550px;
  height: 550px;
  position: absolute;
}

.login-art:after {
  width: 740px;
  height: 740px;
}

.art-clock {
  color: #dae7ef;
  z-index: 1;
  position: relative;
}

.art-clock svg {
  color: #e8a669;
  width: 155px;
  height: 155px;
  margin-bottom: 38px;
}

.art-clock > span {
  letter-spacing: 1px;
  font: 300 43px / 1.2 Arial;
  display: block;
}

.art-clock b {
  color: #e8a669;
  font-weight: 700;
}

.art-label {
  color: #728996;
  letter-spacing: 3px;
  font: 10px Arial;
  position: absolute;
  bottom: 45px;
  left: 45px;
}

@media (min-width: 1500px) {
  .content {
    padding-top: 45px;
  }

  .workspace-grid {
    grid-template-columns: 1.45fr 1fr;
  }

  .clock-display {
    padding-block: 25px 35px;
  }
}

@media (max-width: 1100px) {
  .sidebar {
    width: 195px;
    padding-inline: 14px;
  }

  .main-column {
    margin-left: 195px;
  }

  .wordmark {
    font-size: 20px;
  }

  .content {
    padding: 28px 24px;
  }

  .topbar, .preview-bar {
    padding-inline: 24px;
  }

  .identity {
    gap: 8px;
  }

  .identity strong {
    font-size: 12px;
  }

  .workspace-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 1fr);
    gap: 16px;
  }

  .card-title {
    padding-inline: 19px;
  }

  .step-label {
    display: none;
  }

  .time-pair {
    margin-inline: 18px;
  }

  .time-pair > div {
    padding-inline: 10px;
  }

  .stamp-bottom {
    padding-inline: 18px;
  }

  .timezone {
    display: none;
  }
}

@media (max-width: 850px) {
  .sidebar {
    visibility: hidden;
    z-index: 120;
    width: min(300px, 84vw);
    padding: 22px 18px;
    transition: transform .22s, visibility 0s .22s;
    transform: translateX(-102%);
    box-shadow: 0 0 #0000;
  }

  .sidebar.open {
    visibility: visible;
    transition: transform .22s;
    transform: none;
    box-shadow: 0 20px 60px #0004;
  }

  .sidebar .workspace-label {
    margin-top: 28px;
  }

  .sidebar-bottom {
    display: none;
  }

  .sidebar .nav-item {
    margin-bottom: 4px;
    padding: 12px;
  }

  .drawer-close {
    background: var(--canvas);
    color: #34424c;
    border: 0;
    border-radius: 10px;
    place-items: center;
    width: 44px;
    height: 44px;
    display: grid;
  }

  .drawer-backdrop {
    z-index: 110;
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    background: #17252c66;
    border: 0;
    display: block;
    position: fixed;
    inset: 0;
  }

  .menu-button {
    border: 1px solid var(--line);
    color: #34424c;
    background: #fff;
    border-radius: 10px;
    flex-shrink: 0;
    place-items: center;
    width: 44px;
    height: 44px;
    display: grid;
  }

  .crumb-root {
    display: none;
  }

  .breadcrumb strong {
    color: var(--ink);
    font-size: 15px;
    font-weight: bold;
  }

  .app-shell {
    display: block;
  }

  .main-column {
    margin-left: 0;
  }

  .topbar {
    gap: 12px;
    height: 60px;
  }

  .content {
    padding-top: 24px;
  }

  .page-heading h1 {
    font-size: 26px;
  }

  .identity .avatar {
    display: none;
  }

  .preview-bar {
    font-size: 11px;
  }

  .clock-display > div {
    font-size: 51px;
  }

  .location-card {
    padding-inline: 18px;
  }
}

@media (max-width: 620px) {
  .sidebar .wordmark {
    font-size: 21px;
  }

  .topbar {
    gap: 10px;
    padding-inline: 14px;
  }

  .company-pill {
    padding: 4px 10px;
    font-size: 11px;
  }

  .logout span {
    display: none;
  }

  .breadcrumb {
    font-size: 12px;
  }

  .preview-bar {
    align-items: flex-start;
    padding: 10px 18px;
    line-height: 1.6;
  }

  .preview-bar > span {
    max-width: 220px;
  }

  .preview-bar label {
    white-space: nowrap;
  }

  .preview-bar select {
    margin: 2px 0 0;
    display: block;
  }

  .content {
    padding: 24px 16px 20px;
  }

  .page-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 17px;
    margin-bottom: 20px;
  }

  .page-heading h1 {
    font-size: 28px;
  }

  .page-heading p {
    font-size: 12px;
  }

  .identity {
    border-left: 3px solid var(--brand);
    background: #fff;
    border-radius: 9px;
    width: 100%;
    padding: 10px 13px;
  }

  .identity .avatar {
    width: 35px;
    height: 35px;
    display: grid;
  }

  .identity strong, .identity div > span {
    font-size: 12px;
  }

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

  .stamp-card {
    order: 0;
  }

  .location-card {
    order: 1;
  }

  .clock-display {
    padding-block: 10px 22px;
  }

  .clock-display > div {
    font-size: 58px;
  }

  .card-title {
    font-size: 13px;
  }

  .time-pair {
    padding-block: 18px;
  }

  .time-pair strong {
    font-size: 27px;
  }

  .location-card {
    padding-inline: 20px;
  }

  .site-illustration {
    height: 100px;
  }

  .stamp-bottom {
    padding: 19px;
  }

  .history-card {
    margin-top: 18px;
  }

  .history-heading {
    padding: 20px 18px 12px;
  }

  .history-heading h2 {
    font-size: 16px;
  }

  .history-heading .ws-button {
    padding: 8px 10px;
    font-size: 11px;
  }

  .history-meta {
    flex-direction: column;
    gap: 2px;
    padding-inline: 18px;
  }

  th, td {
    padding: 12px 16px;
  }

  .page-footer {
    align-items: flex-start;
    font-size: 9px;
  }

  .page-footer > span:last-child {
    text-align: right;
    max-width: 180px;
  }

  .login-screen {
    display: block;
  }

  .login-art {
    display: none;
  }

  .login-card {
    margin: auto;
    padding: 38px 25px;
  }

  .login-card > .wordmark {
    margin-bottom: 44px;
  }

  .login-card h1 {
    font-size: 36px;
  }

  .confirm-dialog {
    padding: 23px;
  }

  .dialog-actions {
    flex-direction: column-reverse;
  }

  .dialog-actions .ws-button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
}

dialog.dialog-overlay {
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  background: none;
  border: 0;
  width: min(480px, 100% - 32px);
  max-width: none;
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  display: none;
  position: fixed;
  inset: 0;
  overflow: auto;
}

dialog.dialog-overlay[open] {
  display: block;
}

dialog.dialog-overlay::backdrop {
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  background: #17252c99;
}

dialog .confirm-dialog {
  width: 100%;
}

.identity strong, .identity div > span, .site-select, .field-label, .location-state strong, .location-card > .ws-button, .time-pair span, .account-confirm, .history-heading .ws-button, .history-meta, table, .nav-item, .account-choice strong {
  font-size: 14px;
}

.helper, .location-footnote, .demo-position, .site-detail small, .site-detail span, .time-pair small, .account-confirm small, .preview-bar, .preview-bar select, .page-heading p, .status-pill, th, td small, .empty-state p, .page-footer, .company-pill, .breadcrumb, .logout, .login-foot, .account-choice small {
  font-size: 12px;
}

.site-select {
  min-height: 48px;
}

.location-card > .ws-button {
  min-height: 46px;
}

.demo-position {
  min-height: 40px;
}

.clock-display > p, .location-state span:not(.location-dot) {
  font-size: 12px;
}

.action-option.suggested:not(.selected):not(:disabled) {
  border-color: var(--brand);
}

.choice-head {
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  display: flex;
}

.choice-head > span {
  color: var(--muted);
  font-size: 12px;
}

.shift-switch {
  background: #f3f5f7;
  border: 1px solid #dce2e6;
  border-radius: 999px;
  align-items: center;
  gap: 2px;
  padding: 3px;
  display: inline-flex;
}

.shift-switch button {
  color: #66717a;
  background: none;
  border: 1px solid #0000;
  border-radius: 999px;
  min-height: 32px;
  padding: 5px 12px;
  font-size: 12px;
  transition: background .15s, color .15s;
}

.shift-switch button.on {
  color: var(--ink);
  background: #fff;
  border-color: #cdd6dc;
  font-weight: bold;
}

.shift-switch button.on.shift {
  color: #fff;
  background: #1f2a3a;
  border-color: #1f2a3a;
}

.shift-switch button:disabled {
  opacity: .6;
  cursor: not-allowed;
}

.type-pill {
  color: #5b6a75;
  background: #f0f3f5;
  border-radius: 5px;
  padding: 2px 8px;
  font-size: 11px;
  display: inline-block;
}

.type-pill.shift {
  color: #fff;
  background: #1f2a3a;
}

@property --tw-outline-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}

@property --tw-blur {
  syntax: "*";
  inherits: false
}

@property --tw-brightness {
  syntax: "*";
  inherits: false
}

@property --tw-contrast {
  syntax: "*";
  inherits: false
}

@property --tw-grayscale {
  syntax: "*";
  inherits: false
}

@property --tw-hue-rotate {
  syntax: "*";
  inherits: false
}

@property --tw-invert {
  syntax: "*";
  inherits: false
}

@property --tw-opacity {
  syntax: "*";
  inherits: false
}

@property --tw-saturate {
  syntax: "*";
  inherits: false
}

@property --tw-sepia {
  syntax: "*";
  inherits: false
}

@property --tw-drop-shadow {
  syntax: "*";
  inherits: false
}

@property --tw-drop-shadow-color {
  syntax: "*";
  inherits: false
}

@property --tw-drop-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}

@property --tw-drop-shadow-size {
  syntax: "*";
  inherits: false
}

/* [project]/apps/web/app/admin.css [app-client] (css) */
.admin-area {
  gap: 22px;
  display: grid;
}

.admin-scope {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 18px 22px;
  display: flex;
}

.admin-scope > div {
  align-items: center;
  gap: 14px;
  display: flex;
}

.admin-scope label {
  font-size: 15px;
  font-weight: bold;
  display: block;
}

.admin-scope span {
  color: var(--muted);
  font-size: 13px;
  display: block;
}

.admin-scope select, .access-table select, .admin-toolbar input, .overview-date input {
  background: #fff;
  border: 1px solid #cdd6dc;
  border-radius: 8px;
  min-height: 44px;
  padding: 10px 12px;
  font-size: 14px;
}

.admin-scope select {
  min-width: 160px;
  color: var(--ink);
}

.admin-card {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 15px;
  padding: 25px;
  overflow: hidden;
}

.admin-card-heading {
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 24px;
  display: flex;
}

.admin-card-heading > svg {
  color: var(--brand);
  flex-shrink: 0;
  margin-top: 5px;
}

.admin-card-heading > div:first-of-type {
  flex: auto;
  min-width: 0;
}

.admin-card-heading > .ws-button, .admin-card-heading > label, .admin-card-heading > .people-actions, .admin-card-heading > div:first-of-type + svg {
  flex-shrink: 0;
  margin-left: auto;
}

.admin-card-heading h2 {
  font-size: 23px;
  font-weight: bold;
}

.admin-card-heading p {
  color: var(--muted);
  margin-top: 5px;
  font-size: 14px;
}

.permission-guide {
  border-bottom: 1px solid var(--line);
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding-bottom: 24px;
  display: grid;
}

.permission-guide > span {
  background: var(--canvas);
  border-radius: 10px;
  grid-template-columns: 20px 1fr;
  gap: 4px 8px;
  padding: 15px;
  display: grid;
}

.permission-guide svg {
  color: var(--brand);
  margin-top: 3px;
}

.permission-guide strong {
  font-size: 14px;
}

.permission-guide small {
  color: var(--muted);
  grid-column: 2;
  font-size: 12px;
}

.admin-toolbar {
  justify-content: space-between;
  align-items: flex-end;
  gap: 18px;
  margin: 23px 0;
  display: flex;
}

.admin-toolbar label {
  gap: 6px;
  width: min(330px, 100%);
  font-size: 14px;
  display: grid;
}

.admin-loading {
  text-align: center;
  color: var(--muted);
  padding: 32px;
  font-size: 14px;
}

.access-table {
  font-size: 14px;
}

.access-table th, .access-table td {
  padding: 14px 12px;
}

.access-table input[type="checkbox"] {
  width: 21px;
  height: 21px;
  accent-color: var(--brand);
  cursor: pointer;
}

.access-table td:nth-child(n+3):nth-child(-n+5) {
  text-align: center;
}

.access-table small {
  font-size: 12px;
}

.access-table .ws-button {
  white-space: nowrap;
  font-size: 13px;
}

.admin-footnote {
  color: var(--muted);
  padding-top: 20px;
  font-size: 13px;
}

.admin-empty {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 14px;
  justify-items: start;
  gap: 14px;
  padding: 32px;
  display: grid;
}

.admin-empty h2 {
  font-size: 22px;
  font-weight: bold;
}

.admin-empty p {
  color: var(--muted);
  font-size: 15px;
}

.theme-editor-grid {
  grid-template-columns: minmax(240px, .85fr) minmax(280px, 1.15fr);
  gap: 35px;
  display: grid;
}

.theme-fields h3 {
  margin-bottom: 20px;
  font-size: 16px;
  font-weight: bold;
}

.color-field {
  margin-bottom: 20px;
}

.color-field label {
  margin-bottom: 8px;
  font-size: 14px;
  display: block;
}

.color-field > div {
  align-items: center;
  gap: 12px;
  display: flex;
}

.color-field input[type="color"] {
  cursor: pointer;
  background: #fff;
  border: 1px solid #d4dde3;
  border-radius: 8px;
  width: 46px;
  height: 44px;
  padding: 4px;
}

.color-field input:not([type="color"]) {
  border: 1px solid #d4dde3;
  border-radius: 8px;
  width: 150px;
  min-height: 44px;
  padding: 8px 12px;
  font: 15px monospace;
}

.contrast-readout {
  background: var(--canvas);
  border-radius: 10px;
  flex-direction: column;
  margin-bottom: 15px;
  padding: 15px;
  font-size: 14px;
  display: flex;
}

.contrast-readout strong {
  margin-bottom: 6px;
}

.contrast-readout small {
  color: var(--muted);
  margin-top: 6px;
  font-size: 12px;
}

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

.theme-presets > span {
  width: 100%;
  color: var(--muted);
  font-size: 13px;
}

.theme-presets button {
  background: #fff;
  border: 1px solid #d4dde3;
  border-radius: 8px;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 8px 10px;
  font-size: 13px;
  display: flex;
}

.theme-presets i {
  border-radius: 50%;
  width: 16px;
  height: 16px;
}

.theme-preview {
  border: 1px solid var(--line);
  background: #f2f5f7;
  border-radius: 12px;
  align-self: start;
  padding: 20px;
  position: sticky;
  top: 20px;
}

.theme-preview-label {
  letter-spacing: .3px;
  color: #53636e;
  margin-bottom: 17px;
  font-size: 13px;
}

.mini-workspace {
  background: #fff;
  border: 1px solid #d7dfe5;
  border-radius: 10px;
  grid-template-columns: 100px 1fr;
  display: grid;
  overflow: hidden;
}

.mini-workspace > aside {
  border-right: 1px solid var(--line);
  flex-direction: column;
  gap: 14px;
  padding: 17px 9px;
  font-size: 11px;
  display: flex;
}

.mini-workspace > aside > strong {
  color: var(--brand);
  margin-bottom: 20px;
  font: 700 13px Arial;
}

.mini-active {
  background: var(--brand-subtle);
  color: var(--brand);
  border-radius: 5px;
  padding: 8px 4px;
}

.mini-workspace > div {
  padding: 20px 16px;
}

.mini-workspace h3 {
  margin: 20px 0 5px;
  font-size: 17px;
  font-weight: bold;
}

.mini-workspace .company-pill {
  display: inline-flex;
}

.mini-email {
  color: #66747d;
  font-size: 12px;
}

.mini-clock {
  padding: 25px 0;
  font: 36px Arial;
}

.mini-account {
  background: var(--brand-subtle);
  color: var(--brand);
  border-radius: 7px;
  align-items: center;
  gap: 8px;
  margin-bottom: 13px;
  padding: 10px;
  font-size: 12px;
  display: flex;
}

.mini-workspace .ws-button {
  justify-content: space-between;
  width: 100%;
}

.mini-workspace .status-pill {
  margin-top: 16px;
}

.theme-preview > p {
  color: var(--muted);
  margin-top: 15px;
  font-size: 12px;
}

.admin-save-bar {
  border-top: 1px solid var(--line);
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-top: 28px;
  padding-top: 22px;
  display: flex;
}

.admin-save-bar > span {
  color: var(--muted);
  font-size: 13px;
}

.admin-save-bar > div {
  gap: 10px;
  display: flex;
}

.overview-date {
  gap: 7px;
  font-size: 14px;
  display: grid;
}

.overview-stats {
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin: 22px 0;
  display: grid;
}

.overview-stats > div {
  background: var(--brand-subtle);
  border-radius: 10px;
  padding: 20px;
}

.overview-stats span {
  color: var(--muted);
  font-size: 13px;
  display: block;
}

.overview-stats strong {
  color: var(--brand);
  margin-top: 15px;
  font: 600 35px Arial;
  display: block;
}

.admin-card .table-scroll {
  margin-inline: -4px;
}

.site-layout {
  grid-template-columns: minmax(220px, .8fr) minmax(320px, 1.6fr);
  gap: 24px;
  display: grid;
}

.site-list {
  align-content: start;
  gap: 8px;
  display: grid;
}

.site-row {
  text-align: left;
  background: #fff;
  border: 1px solid #dce2e6;
  border-radius: 10px;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 56px;
  padding: 12px 14px;
  display: flex;
}

.site-row:hover:not(:disabled) {
  border-color: var(--brand);
}

.site-row.selected {
  border-color: var(--brand);
  background: var(--brand-subtle);
}

.site-row strong {
  font-size: 14px;
  display: block;
}

.site-row small {
  color: var(--muted);
  font-size: 12px;
  display: block;
}

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

.site-editor-empty {
  color: var(--muted);
  align-content: center;
  justify-items: center;
  gap: 10px;
  min-height: 220px;
  font-size: 14px;
  display: grid;
}

.site-tabs {
  border-bottom: 1px solid var(--line);
  gap: 6px;
  margin-bottom: 20px;
  display: flex;
}

.site-tabs button {
  min-height: 44px;
  color: var(--muted);
  background: none;
  border: 0;
  border-bottom: 3px solid #0000;
  padding: 10px 14px;
  font-size: 14px;
}

.site-tabs button.active {
  color: var(--brand);
  border-bottom-color: var(--brand);
  font-weight: bold;
}

.site-fields {
  gap: 16px;
  display: grid;
}

.site-fields label {
  gap: 6px;
  font-size: 14px;
  display: grid;
}

.site-fields input:not([type="checkbox"]), .site-fields textarea, .site-fields select {
  background: #fff;
  border: 1px solid #cdd6dc;
  border-radius: 8px;
  min-height: 44px;
  padding: 10px 12px;
  font-family: inherit;
  font-size: 14px;
}

.site-fields textarea {
  resize: vertical;
}

.site-check {
  align-items: center;
  gap: 10px;
  display: flex !important;
}

.site-check input {
  width: 21px;
  height: 21px;
  accent-color: var(--brand);
}

.site-grid-3 {
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  display: grid;
}

.site-probe {
  background: var(--canvas);
  border-radius: 10px;
  gap: 12px;
  margin-top: 6px;
  padding: 16px;
  display: grid;
}

.site-probe > strong {
  align-items: center;
  gap: 8px;
  font-size: 14px;
  display: flex;
}

.site-problems {
  color: #a32323;
  background: #fff0ee;
  border-radius: 8px;
  margin: 16px 0 0;
  padding: 12px 16px 12px 32px;
  font-size: 13px;
}

.site-map {
  gap: 8px;
  display: grid;
}

.site-map-canvas {
  border: 1px solid var(--line);
  touch-action: none;
  background: #e8edf1;
  border-radius: 10px;
  width: 100%;
  height: 360px;
  overflow: hidden;
}

.site-map-hint {
  color: var(--muted);
  font-size: 13px;
}

.site-map-tools {
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  display: flex;
}

.leaflet-container {
  font-family: inherit;
  font-size: 13px;
}

.leaflet-tooltip {
  font-size: 12px;
}

.review-filters {
  border-bottom: 1px solid var(--line);
  gap: 6px;
  margin-bottom: 6px;
  display: flex;
  overflow-x: auto;
}

.review-filters button {
  min-height: 44px;
  color: var(--muted);
  white-space: nowrap;
  background: none;
  border: 0;
  border-bottom: 3px solid #0000;
  padding: 10px 14px;
  font-size: 14px;
}

.review-filters button.active {
  color: var(--brand);
  border-bottom-color: var(--brand);
  font-weight: bold;
}

.review-table td.mono {
  font-family: ui-monospace, Menlo, monospace;
  font-size: 12px;
}

.review-table tr.selected td {
  background: var(--brand-subtle);
}

.review-table input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--brand);
}

.review-assign {
  border-top: 1px solid var(--line);
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 22px;
  padding-top: 22px;
  display: grid;
}

.review-assign label {
  gap: 6px;
  font-size: 14px;
  display: grid;
}

.review-assign select, .review-assign input {
  background: #fff;
  border: 1px solid #cdd6dc;
  border-radius: 8px;
  min-height: 44px;
  padding: 10px 12px;
  font-size: 14px;
}

.review-actions {
  flex-wrap: wrap;
  grid-column: 1 / -1;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  display: flex;
}

.review-preview {
  background: var(--canvas);
  border-radius: 10px;
  gap: 12px;
  margin-top: 18px;
  padding: 18px;
  display: grid;
}

.review-preview ul {
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
}

.review-preview li {
  background: #fff;
  border-radius: 8px;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  font-size: 13px;
  display: flex;
}

.review-preview .warn {
  color: #a32323;
  font-weight: bold;
}

.overview-stats {
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
}

.overview-stats strong {
  font-size: 28px;
}

.roster-table tr.carry-row td {
  color: var(--ink);
}

.roster-table td small {
  color: var(--muted);
  font-size: 11px;
  display: block;
}

.roster-table tr.absent-row td {
  color: var(--muted);
}

.status-pill.absent {
  color: #7b8790;
  background: #eef1f3;
}

.people-list {
  align-content: start;
  gap: 8px;
  max-height: 70vh;
  padding-right: 4px;
  display: grid;
  overflow: auto;
}

.people-badges {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
  display: flex;
}

.review-steps {
  gap: 6px;
  margin: 0;
  padding: 0;
  font-size: 13px;
  list-style: none;
  display: grid;
}

.review-steps li {
  color: #8a5b06;
  align-items: center;
  gap: 8px;
  display: flex;
}

.review-steps li.done {
  color: #166148;
}

.review-steps .step-no {
  background: #fdf4e3;
  border-radius: 50%;
  place-items: center;
  width: 18px;
  height: 18px;
  font-size: 11px;
  font-weight: bold;
  display: inline-grid;
}

.place-cell strong {
  font-weight: normal;
  display: block;
}

.place-cell small {
  color: var(--muted);
  white-space: normal;
  max-width: 360px;
  font-size: 11px;
  display: block;
}

.place-cell small.mono {
  font-family: ui-monospace, Menlo, monospace;
}

@media (max-width: 1100px) {
  .theme-editor-grid {
    grid-template-columns: 1fr;
  }

  .theme-preview {
    position: static;
  }

  .mini-workspace {
    grid-template-columns: 130px 1fr;
  }

  .overview-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .permission-guide {
    grid-template-columns: 1fr;
  }

  .permission-guide > span {
    grid-template-columns: 20px 140px 1fr;
    align-items: center;
  }

  .permission-guide small {
    grid-column: 3;
  }

  .admin-save-bar {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 850px) {
  .sidebar .nav-item {
    white-space: nowrap;
  }
}

@media (max-width: 620px) {
  .admin-card {
    padding: 20px 16px;
  }

  .admin-scope {
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
  }

  .admin-card-heading {
    flex-direction: column;
    gap: 15px;
  }

  .admin-card-heading > svg {
    display: none;
  }

  .admin-card-heading > .ws-button, .admin-card-heading > label, .admin-card-heading > .people-actions {
    margin-left: 0;
  }

  .admin-card-heading h2 {
    font-size: 21px;
  }

  .admin-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .admin-toolbar label {
    width: 100%;
  }

  .permission-guide > span {
    grid-template-columns: 20px 1fr;
  }

  .permission-guide small {
    grid-column: 2;
  }

  .theme-editor-grid {
    gap: 22px;
  }

  .theme-preview {
    padding: 13px;
  }

  .mini-workspace {
    grid-template-columns: 1fr;
  }

  .mini-workspace aside {
    display: none;
  }

  .admin-save-bar > div {
    flex-direction: column;
    width: 100%;
  }

  .overview-stats {
    gap: 10px;
  }

  .overview-stats > div {
    padding: 15px;
  }

  .overview-stats strong {
    font-size: 30px;
  }

  .preview-bar > span {
    max-width: 50%;
  }

  .preview-bar select {
    max-width: 165px;
  }

  .overview-date {
    width: 100%;
  }

  .site-layout, .site-grid-3 {
    grid-template-columns: 1fr;
  }

  .site-tabs {
    overflow-x: auto;
  }

  .site-tabs button {
    white-space: nowrap;
  }

  .site-map-canvas {
    height: 280px;
  }

  .review-assign {
    grid-template-columns: 1fr;
  }

  .review-preview li {
    flex-direction: column;
  }

  .overview-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

.site-share {
  border: 1px solid var(--line);
  border-radius: 10px;
  gap: 10px;
  margin: 0;
  padding: 14px 16px;
  display: grid;
}

.site-share legend {
  padding: 0 6px;
  font-size: 14px;
}

.site-share .admin-footnote {
  padding-top: 4px;
}

.overview-period {
  gap: 12px;
  margin-bottom: 18px;
  display: grid;
}

.overview-controls {
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 10px;
  display: flex;
}

.overview-controls .step {
  min-width: 44px;
  min-height: 44px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #cdd6dc;
  border-radius: 8px;
  font-size: 20px;
  line-height: 1;
}

.overview-controls .step.today {
  padding: 0 14px;
  font-size: 14px;
}

.overview-date select {
  background: #fff;
  border: 1px solid #cdd6dc;
  border-radius: 8px;
  min-height: 44px;
  padding: 10px 12px;
  font-size: 14px;
}

.overview-span {
  color: var(--muted);
  font-size: 14px;
}

.overview-span strong {
  color: var(--ink);
}

.day-strip {
  scrollbar-width: thin;
  gap: 6px;
  margin-bottom: 6px;
  padding: 4px 2px 12px;
  display: flex;
  overflow-x: auto;
}

.day-chip {
  color: #98a3aa;
  background: #f6f8f9;
  border: 1px solid #e1e7eb;
  border-radius: 9px;
  flex: none;
  justify-items: center;
  gap: 2px;
  width: 58px;
  min-height: 64px;
  padding: 6px 4px;
  display: grid;
}

.day-chip small {
  font-size: 10px;
}

.day-chip strong {
  font-size: 16px;
}

.day-chip span {
  font-size: 10px;
}

.day-chip.has-data {
  background: var(--brand-subtle);
  border-color: var(--brand);
  color: var(--brand);
}

.day-chip.has-data span {
  color: var(--ink);
}

.day-chip:hover {
  border-color: var(--brand);
}

.link-button {
  color: var(--brand);
  font: inherit;
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
  text-decoration: underline;
}

.roster-table {
  table-layout: fixed;
  width: 100%;
  min-width: 700px;
  font-size: 13px;
}

.roster-table .roster-col-person {
  width: 22%;
}

.roster-table .roster-col-date {
  width: 90px;
}

.roster-table .roster-col-place {
  width: auto;
}

.roster-table .roster-col-time {
  width: 86px;
}

.roster-table .roster-col-status {
  width: 145px;
}

.roster-table th, .roster-table td {
  vertical-align: top;
  white-space: normal;
  overflow-wrap: anywhere;
  padding: 11px 12px;
  line-height: 1.55;
}

.roster-table th {
  color: var(--ink);
  background: #f5f7f9;
  font-size: 12px;
  font-weight: 600;
}

.roster-table td:first-child strong {
  font-size: 13px;
  font-weight: 600;
}

.roster-table td:nth-last-child(2), .roster-table td:nth-last-child(3) {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.roster-table tbody tr:hover td {
  background: var(--brand-subtle);
}

.roster-table td small {
  margin-top: 3px;
  line-height: 1.5;
}

.roster-table .status-pill {
  white-space: normal;
  padding: 4px 8px;
  font-size: 11px;
  line-height: 1.5;
}

.roster-place > span {
  font-weight: 500;
}

.roster-place details {
  color: var(--muted);
  margin-top: 3px;
  font-size: 12px;
}

.roster-place summary {
  cursor: pointer;
  text-underline-offset: 3px;
  width: fit-content;
  padding: 4px 0;
  text-decoration: underline;
}

.roster-place summary:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 3px;
}

.roster-place details p {
  overflow-wrap: anywhere;
  margin: 5px 0 0;
  line-height: 1.6;
}

@media (min-width: 1500px) {
  .roster-table {
    max-width: 1180px;
  }
}

@media (max-width: 640px) {
  .roster-table {
    min-width: 680px;
  }

  .roster-table th, .roster-table td {
    padding: 10px;
  }

  .roster-table .roster-col-person {
    width: 155px;
  }

  .roster-place summary {
    padding: 10px 0;
  }
}

.roster-summary .roster-col-person {
  width: 28%;
}

.roster-summary .roster-col-count {
  width: 90px;
}

.roster-summary .roster-col-status {
  width: 28%;
}

.roster-toggle {
  width: 100%;
  min-height: 44px;
  color: inherit;
  text-align: left;
  font: inherit;
  cursor: pointer;
  background: none;
  border: 0;
  align-items: flex-start;
  gap: 8px;
  padding: 0;
  display: flex;
}

.roster-toggle > span:first-child {
  color: var(--brand);
  font-size: 18px;
  line-height: 1.2;
}

.roster-toggle:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 4px;
  border-radius: 4px;
}

.roster-status-list {
  flex-wrap: wrap;
  gap: 5px;
  display: flex;
}

.roster-summary .roster-detail-row > td {
  background: #f5f7f9;
  padding: 0 12px 14px;
}

.roster-details {
  border: 1px solid var(--line);
  background: var(--surface, #fff);
  border-radius: 8px;
  padding: 12px;
}

.roster-details > p {
  color: var(--muted);
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 600;
}

.roster-rounds {
  table-layout: auto;
  width: 100%;
  font-size: 12px;
}

.roster-rounds th, .roster-rounds td {
  padding: 9px 8px;
}

.roster-rounds td:nth-child(3) {
  white-space: normal;
  width: 35%;
}

.roster-summary tbody .roster-detail-row:hover > td {
  background: #f5f7f9;
}

@media (max-width: 640px) {
  .roster-summary .roster-col-person {
    width: 190px;
  }

  .roster-summary .roster-col-status {
    width: 180px;
  }

  .roster-details {
    padding: 8px;
  }

  .roster-summary .roster-detail-row > td {
    padding: 0 8px 10px;
  }
}

.people-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  display: flex;
}

.transfer-panel {
  gap: 18px;
  display: grid;
}

.transfer-controls {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  align-items: end;
  gap: 14px;
  display: grid;
}

.transfer-controls label {
  gap: 6px;
  font-size: 14px;
  display: grid;
}

.transfer-controls label.site-check {
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  display: flex;
}

.transfer-controls label small {
  width: 100%;
  color: var(--muted);
  font-size: 12px;
}

.transfer-controls input:not([type="checkbox"]), .transfer-controls select {
  background: #fff;
  border: 1px solid #cdd6dc;
  border-radius: 8px;
  min-height: 44px;
  padding: 10px 12px;
  font-size: 14px;
}

.transfer-fill {
  flex-wrap: wrap;
  align-items: end;
  gap: 10px;
  display: flex;
}

.transfer-fill label {
  gap: 6px;
  font-size: 14px;
  display: grid;
}

.transfer-table {
  width: 100%;
  font-size: 14px;
}

.transfer-table th, .transfer-table td {
  vertical-align: middle;
  padding: 10px 8px;
}

.transfer-table td small {
  color: var(--muted);
  font-size: 12px;
  display: block;
}

.transfer-table select, .transfer-table input {
  background: #fff;
  border: 1px solid #cdd6dc;
  border-radius: 8px;
  width: 100%;
  min-width: 160px;
  min-height: 42px;
  padding: 8px 10px;
  font-size: 14px;
}

.transfer-table input:disabled {
  background: #f3f5f7;
}

.transfer-table tr.selected td {
  background: var(--brand-subtle);
}

.transfer-result {
  background: var(--canvas);
  border-radius: 10px;
  gap: 10px;
  padding: 16px;
  font-size: 14px;
  display: grid;
}

.transfer-result ul {
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
}

.transfer-result li {
  background: #fff;
  border-radius: 8px;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 12px;
  display: flex;
}

.transfer-result li small {
  color: var(--muted);
  font-size: 12px;
}

.transfer-result li.warn small {
  color: #a32323;
}

.role-guide {
  grid-template-columns: repeat(2, 1fr);
}

.role-summary {
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin: 22px 0;
  display: grid;
}

.role-summary > div {
  background: var(--brand-subtle);
  border-radius: 10px;
  gap: 4px;
  padding: 18px;
  display: grid;
}

.role-summary span {
  color: var(--muted);
  font-size: 13px;
}

.role-summary strong {
  color: var(--brand);
  font: 600 30px Arial;
}

.role-summary small {
  color: var(--ink);
  font-size: 12px;
}

.roles-table select {
  min-width: 200px;
}

.person-access {
  border-top: 1px solid var(--line);
  gap: 14px;
  margin-top: 22px;
  padding-top: 20px;
  display: grid;
}

.person-access h3 {
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: bold;
  display: flex;
}

.person-access h3 small {
  color: var(--muted);
  font-size: 12px;
  font-weight: normal;
}

.person-access-list {
  gap: 10px;
  display: grid;
}

.person-access-row {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  grid-template-columns: minmax(150px, .6fr) minmax(0, 2fr) auto;
  align-items: start;
  gap: 12px;
  padding: 12px 14px;
  display: grid;
}

.person-access-row.dirty {
  border-color: var(--brand);
}

.person-access-row.absent {
  background: var(--canvas);
  color: var(--muted);
  grid-template-columns: minmax(150px, .6fr) 1fr;
}

.person-access-company {
  gap: 6px;
  display: grid;
}

.person-access-company strong {
  font-size: 14px;
}

.person-access-company small {
  color: var(--muted);
  font-size: 12px;
}

.person-access-company select {
  background: #fff;
  border: 1px solid #cdd6dc;
  border-radius: 8px;
  max-width: 170px;
  min-height: 38px;
  padding: 6px 8px;
  font-size: 13px;
}

.person-access-perms {
  flex-wrap: wrap;
  gap: 6px;
  display: flex;
}

.perm-chip {
  cursor: pointer;
  white-space: nowrap;
  background: #fff;
  border: 1px solid #dce2e6;
  border-radius: 999px;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  font-size: 12px;
  display: inline-flex;
}

.perm-chip input {
  width: 16px;
  height: 16px;
  accent-color: var(--brand);
  margin: 0;
}

.perm-chip.on {
  border-color: var(--brand);
  background: var(--brand-subtle);
  color: var(--brand);
}

.perm-chip.from-role {
  border-style: dashed;
}

.person-access-save .ws-button {
  white-space: nowrap;
  padding: 6px 10px;
  font-size: 12px;
}

.role-picker label > span, .role-picker label {
  white-space: normal;
}

@media (max-width: 720px) {
  .person-access-row, .person-access-row.absent {
    grid-template-columns: 1fr;
  }
}

.role-picker {
  gap: 8px;
  display: grid;
}

.role-picker label.site-check {
  grid-template-columns: 20px 1fr;
  align-items: center;
  column-gap: 10px;
  display: grid !important;
}

.role-picker .role-name {
  white-space: nowrap;
  font-size: 14px;
}

.role-picker label small {
  color: var(--muted);
  grid-column: 2;
  font-size: 12px;
}

.role-picker input[type="radio"] {
  width: 20px;
  height: 20px;
  accent-color: var(--brand);
}

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

.people-layout.list-only {
  grid-template-columns: 1fr;
}

.people-layout.list-only .people-list {
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 10px;
  max-height: none;
  padding-right: 0;
  display: grid;
}

.people-layout.with-editor {
  grid-template-columns: minmax(260px, .85fr) minmax(380px, 1.5fr);
}

.people-layout .site-row {
  flex-wrap: wrap;
}

.people-layout .site-row > span:first-child {
  flex: 180px;
  min-width: 0;
}

.people-layout .site-row small {
  overflow-wrap: anywhere;
}

.people-layout .people-badges {
  justify-content: flex-start;
}

@media (max-width: 900px) {
  .people-layout.with-editor {
    grid-template-columns: 1fr;
  }

  .people-layout.with-editor > div:first-child {
    order: 2;
  }
}

.review-page-tabs {
  margin-bottom: 18px;
}

.corr-table td small {
  color: var(--brand);
  font-size: 10px;
  display: block;
}

.corr-editor {
  grid-template-columns: 1fr 1fr;
}

.corr-editor input[type="datetime-local"] {
  background: #fff;
  border: 1px solid #cdd6dc;
  border-radius: 8px;
  min-height: 44px;
  padding: 10px 12px;
  font-size: 14px;
}

.corr-row {
  font-size: 13px;
}

.corr-row b {
  background: #f0f3f5;
  border-radius: 5px;
  margin-right: 6px;
  padding: 1px 6px;
  font-size: 11px;
  font-weight: normal;
  display: inline-block;
}

.corr-row small {
  color: var(--brand);
}

.review-preview .corr-row {
  text-align: right;
}

.review-table tr.group-start td {
  border-top: 2px solid var(--line);
}

.review-table tr:first-child.group-start td {
  border-top: 0;
}

.site-pool {
  border: 1px solid var(--line);
  background: var(--canvas);
  border-radius: 12px;
  margin-bottom: 22px;
  padding: 16px;
}

.pool-table {
  font-size: 13px;
}

.pool-table td small {
  color: var(--muted);
  white-space: normal;
  font-size: 11px;
  display: block;
}

.pool-table input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--brand);
}

/*# sourceMappingURL=apps_web_app_0bb1116._.css.map*/