@font-face {
  font-family: Rubik;
  src: url('/assets/rubik-cyrillic.woff2') format('woff2');
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  unicode-range: U+0400-052F, U+2116;
}
@font-face {
  font-family: Rubik;
  src: url('/assets/rubik-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: STIX;
  src: url('/assets/stix-two-text-cyrillic.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0400-052F, U+2116;
}
@font-face {
  font-family: STIX;
  src: url('/assets/stix-two-text-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0000-00FF, U+2000-206F;
}
:root {
  --bg: #f7f7f3;
  --paper: #fffefa;
  --ink: #33332c;
  --muted: #76776f;
  --line: #e3e2d9;
  --accent: #a55040;
  --serif: STIX, Georgia, serif;
  --side: 224px;
  --pad: clamp(23px, 2.55vw, 52px);
  font-family:
    Rubik,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100vh;
}
button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}
button,
a,
select {
  touch-action: manipulation;
}
button {
  border: 0;
  background: none;
  cursor: pointer;
}
button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
a {
  color: inherit;
  text-decoration: none;
}
button:focus-visible,
a:focus-visible,
select:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 2px solid #a75740;
  outline-offset: 3px;
}
button:hover:not(:disabled) {
  filter: brightness(0.98);
}
input,
textarea,
select {
  max-width: 100%;
}
img {
  display: block;
  max-width: 100%;
}
button {
  text-align: inherit;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2 {
  font-family: var(--serif);
  font-weight: 500;
}
h1 {
  font-size: clamp(36px, 3.3vw, 53px);
  letter-spacing: -1.4px;
  line-height: 1.04;
}
h2 {
  font-size: clamp(24px, 1.9vw, 32px);
  letter-spacing: -0.8px;
  line-height: 1.2;
}
.icon {
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
}
.skip {
  position: fixed;
  left: 12px;
  top: -80px;
  z-index: 10;
  background: white;
  padding: 12px;
}
.skip:focus {
  top: 12px;
}
.loading {
  font: 36px var(--serif);
  min-height: 90vh;
  display: grid;
  place-content: center;
  color: var(--accent);
}
[hidden] {
  display: none !important;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--side);
  background: #fcfbf7;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  z-index: 7;
}
.brand-link {
  height: 100px;
  display: flex;
  align-items: center;
  padding: 0 22px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand img {
  width: 42px;
  height: 42px;
}
.brand span {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.brand strong {
  font: 500 30px/0.99 var(--serif);
  letter-spacing: -1.3px;
  color: #342f29;
}
.brand small {
  font-size: 8.1px;
  letter-spacing: 1.58px;
  font-weight: 500;
  margin: 6px 0 0 2px;
  color: #737267;
}
.nav-groups {
  padding: 21px 12px 18px;
  overflow-y: auto;
}
.nav-group + .nav-group {
  margin-top: 32px;
}
.nav-label {
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 1.31px;
  font-weight: 500;
  color: #848479;
  padding: 0 13px;
  margin: 0 0 11px;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 13px;
  min-height: 43px;
  font-size: 14px;
  color: #57594f;
  border-radius: 7px;
  margin: 3px 0;
  transition:
    background 0.16s,
    color 0.16s;
}
.nav-item .icon {
  color: #73756b;
}
.nav-item:hover {
  background: #f2f1e9;
}
.nav-item.active {
  background: #f3e5de;
  color: #a34e3d;
  font-weight: 500;
}
.nav-item.active .icon {
  color: #a34e3d;
}
.nav-count {
  font-size: 11px;
  margin-left: auto;
  border: 1px solid #deded4;
  padding: 1px 5px;
  border-radius: 5px;
  line-height: 15px;
  color: #66675e;
}
.side-bottom {
  margin-top: auto;
}
.location {
  padding: 16px 25px 18px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #77796d;
  font-size: 12px;
}
.profile {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 79px;
  padding: 13px 16px;
  border-top: 1px solid var(--line);
}
.profile > .icon {
  margin-left: auto;
  color: #85867d;
}
.avatar {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #e6d5ca;
  color: #795345;
  display: inline-grid;
  place-items: center;
  font:
    500 14px Rubik,
    sans-serif;
}
.profile-copy,
.profile-card > div,
.profile-choice > span:nth-child(2),
.roster-item > span + span {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 4px;
}
.profile-copy strong,
.profile-card strong {
  font-size: 13px;
  font-weight: 500;
}
.profile-copy small,
.profile-card small,
.profile-choice small,
.roster-item small {
  font-size: 11px;
  color: var(--muted);
}
.workspace {
  margin-left: var(--side);
  min-height: 100vh;
}
.topbar {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--pad);
  border-bottom: 1px solid var(--line);
  background: #fbfaf6;
  gap: 10px;
}
.crumbs,
.top-tools,
.point-selector,
.bell-button,
.icon-button,
.text-link,
.hero-date,
.metric-top,
.section-head,
.filter-row,
.badge,
.report-person,
.report-time,
.report-stamp,
.task-deadline,
.form-actions,
.identity-line,
.dialog-header,
.profile-card,
.profile-choice {
  display: flex;
  align-items: center;
}
.crumbs {
  gap: 13px;
  font-size: 13px;
  min-width: 0;
}
.breadcrumb-root {
  color: #808176;
}
.crumb-slash {
  color: #c3c2b7;
}
.crumbs strong {
  font-weight: 450;
}
.top-tools {
  gap: 16px;
}
.point-selector {
  gap: 8px;
  font-size: 13px;
  padding: 8px 0;
}
.point-selector .icon:first-child {
  color: #78796e;
}
.point-selector .icon:last-child {
  margin-left: 4px;
}
.top-divider {
  height: 20px;
  border-left: 1px solid var(--line);
}
.bell-button,
.icon-button {
  position: relative;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 7px;
}
.bell-button i {
  position: absolute;
  top: 5px;
  right: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #b25c46;
  outline: 2px solid #fbfaf6;
}
.mobile-toggle {
  display: none;
}
.main-content {
  padding: 24px var(--pad) 36px;
  max-width: 1710px;
  margin: 0 auto;
}
.dashboard {
  display: grid;
  gap: 20px;
}
.hero {
  height: clamp(178px, 14.6vw, 236px);
  border-radius: 13px;
  overflow: hidden;
  display: flex;
  align-items: center;
  position: relative;
  background: #a65a47 url('/assets/flowers.webp') center 49% / cover no-repeat;
  isolation: isolate;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(75, 29, 21, 0.16), transparent 68%);
  z-index: -1;
}
.hero-content {
  padding: 0 clamp(26px, 2.9vw, 50px);
  color: #fff7eb;
}
.hero-kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 9.8px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 1.75px;
  color: #f6e5d3;
}
.hero-kicker > span {
  width: 25px;
  height: 1px;
  background: #efd6b9;
}
.hero h1 {
  font: 450 clamp(51px, 4.5vw, 75px) / 1.05 var(--serif);
  letter-spacing: -2.7px;
  margin: 13px 0 12px;
}
.hero-date {
  gap: 8px;
  font-size: 13px;
  line-height: 1.35;
  color: #fff1df;
}
.hero-date i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  margin: 0 2px;
  background: currentColor;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
}
.metric {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 17px 18px 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 11px;
  min-width: 0;
  transition:
    transform 0.16s,
    border-color 0.16s;
}
.metric:hover:not(:disabled) {
  transform: translateY(-2px);
  border-color: #c4bbaf;
}
.metric-top {
  gap: 10px;
}
.metric-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
}
.sage .metric-icon {
  background: #e8ecdf;
  color: #647655;
}
.peach .metric-icon {
  background: #f5e5dc;
  color: #a3604c;
}
.honey .metric-icon {
  background: #f5edd4;
  color: #9f803c;
}
.mauve .metric-icon {
  background: #ece7ef;
  color: #82708e;
}
.metric-title {
  font-size: clamp(12px, 1.05vw, 16px);
  font-weight: 450;
  letter-spacing: -0.22px;
}
.metric-bottom {
  display: flex;
  align-items: baseline;
  gap: 9px;
  line-height: 1;
}
.metric-bottom strong {
  font-size: 36px;
  font-weight: 450;
  letter-spacing: -1.6px;
}
.metric-bottom > span {
  font-size: 12px;
  color: #73766a;
}
.dashboard-work {
  display: grid;
  grid-template-columns: minmax(0, 1.85fr) minmax(250px, 1fr);
  align-items: stretch;
  gap: 18px;
}
.panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.feed-panel,
.task-panel,
.shift-strip {
  padding: 20px;
}
.section-head {
  justify-content: space-between;
  gap: 10px;
}
.section-head h2 {
  font-size: clamp(23px, 1.8vw, 31px);
  letter-spacing: -0.85px;
}
.section-head .text-link {
  font-size: 12px;
}
.text-link {
  color: var(--accent);
  padding: 5px 0;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 450;
}
.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.filter-row {
  gap: 6px;
  flex-wrap: wrap;
  margin: 17px 0 15px;
}
.filter-tab {
  border: 1px solid transparent;
  border-radius: 18px;
  padding: 5px 10px;
  font-size: 11.5px;
  display: flex;
  align-items: center;
  gap: 5px;
  line-height: 1.25;
  color: #797b70;
}
.filter-tab.selected {
  background: #eeeae0;
  color: #474a3e;
  font-weight: 500;
}
.filter-tab:not(.selected):hover {
  background: #f5f4ed;
}
.filter-count {
  font-size: 10px;
  font-weight: 500;
  background: #f3ead8;
  color: #9d7832;
  padding: 0 4px;
  line-height: 15px;
  min-width: 15px;
  border-radius: 4px;
  text-align: center;
}
.report-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}
.report-grid.compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.report-card {
  padding: 0;
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fffefa;
  transition: border-color 0.18s;
  display: flex;
  flex-direction: column;
}
.report-card:hover {
  border-color: #b7ab97;
}
.report-cover {
  width: 100%;
  aspect-ratio: 1.72;
  position: relative;
  overflow: hidden;
  background: #e8e3d8;
}
.report-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s;
}
.report-card:hover .report-cover img {
  transform: scale(1.025);
}
.photo-count {
  position: absolute;
  bottom: 9px;
  right: 9px;
  padding: 3px 6px;
  display: flex;
  align-items: center;
  gap: 4px;
  background: #282c24b8;
  border-radius: 5px;
  color: #fffaf1;
  font-size: 10px;
  line-height: 14px;
}
.badge {
  display: inline-flex;
  gap: 5px;
  white-space: nowrap;
  border-radius: 20px;
  background: #eeede4;
  color: #626551;
  font-size: 10.5px;
  padding: 4px 8px;
  line-height: 1.1;
  font-weight: 450;
}
.badge i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}
.badge.amber {
  color: #846327;
  background: #f6ebc9;
}
.badge.sage {
  color: #56714b;
  background: #e9efdd;
}
.badge.red {
  color: #9b493d;
  background: #fae6dc;
}
.report-cover .badge {
  position: absolute;
  left: 9px;
  top: 9px;
}
.report-copy {
  width: 100%;
  padding: 13px 13px 11px;
}
.report-time {
  gap: 5px;
  color: #7d7e70;
  font-size: 10.5px;
}
.report-copy h3 {
  font: 500 21px/1.22 var(--serif);
  letter-spacing: -0.5px;
  margin: 5px 0 8px;
}
.report-person {
  font-size: 11.5px;
  gap: 6px;
  color: #5e6056;
}
.tiny-avatar {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #e9e8db;
  color: #706e53;
  font-size: 8px;
}
.report-card:nth-child(2n) .tiny-avatar {
  background: #eadce3;
  color: #856576;
}
.report-stamp {
  gap: 5px;
  color: #838578;
  border-top: 1px solid #eeede7;
  padding-top: 9px;
  margin-top: 10px;
  font-size: 10.5px;
}
.task-panel {
  display: flex;
  flex-direction: column;
}
.add-task {
  border: 1px solid var(--line);
  border-radius: 7px;
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  background: #faf9f4;
}
.add-task svg {
  width: 17px;
}
.mini-task-list {
  margin-top: 8px;
  flex: 1;
}
.mini-task {
  display: flex;
  width: 100%;
  align-items: flex-start;
  text-align: left;
  gap: 10px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.mini-task:last-child {
  border-bottom: 0;
}
.task-signal {
  display: grid;
  place-items: center;
  border: 1px solid #dcded0;
  border-radius: 6px;
  background: #f4f4eb;
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  color: #737b63;
}
.task-signal.late {
  background: #f8eee7;
  border-color: #eddbcf;
  color: #a86a52;
}
.task-signal.done {
  background: #edf0e4;
  color: #6e7b5a;
}
.task-words {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}
.task-words > strong {
  font-size: 13.5px;
  line-height: 1.35;
  font-weight: 500;
}
.mini-assignee {
  font-size: 11.5px;
  color: #7b7d70;
}
.task-deadline {
  gap: 4px;
  font-size: 10px;
  color: #867445;
  font-weight: 450;
  margin-top: 3px;
}
.task-deadline.late {
  color: #a34936;
}
.task-deadline.done {
  color: #718058;
}
.panel-bottom-link {
  width: 100%;
  text-align: center;
  padding: 9px 12px;
  background: #f5f4ed;
  border-radius: 6px;
  color: #666858;
  font-size: 12px;
  margin-top: 7px;
}
.on-shift {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 20px;
  gap: 14px;
}
.roster-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0;
}
.roster-item strong {
  font-size: 13px;
  font-weight: 500;
}
.roster-item small {
  font-size: 12px;
}
.color-0 {
  background: #e9eadc;
  color: #707751;
}
.color-1 {
  background: #eadee1;
  color: #926c78;
}
.color-2 {
  background: #e3e8eb;
  color: #536b76;
}
.subpage {
  padding-top: 31px;
}
.full-feed .filter-tab {
  font-size: 13px;
}
.full-feed .report-copy {
  padding: 16px;
}
.full-feed .section-head {
  margin-bottom: 22px;
}
.operations-page > h1 {
  margin-bottom: 24px;
}
.empty-state {
  padding: 24px 12px;
  color: var(--muted);
  text-align: center;
  width: 100%;
  grid-column: 1/-1;
}
.empty-state p {
  margin-top: 9px;
  font-size: 14px;
  line-height: 1.45;
}
.muted {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}
.employee-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 15px;
  min-height: 39px;
  font-size: 14px;
  line-height: 1.3;
  font-weight: 450;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--paper);
}
.btn.primary {
  color: #fff9ee;
  background: var(--accent);
  border-color: var(--accent);
}
.popover-wrap {
  position: relative;
}
.popover {
  position: absolute;
  z-index: 6;
  right: 0;
  top: calc(100% + 12px);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  box-shadow: 0 12px 38px #3c33251c;
}
.point-list {
  min-width: 170px;
  padding: 6px;
}
.point-list button {
  font-size: 14px;
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  width: 100%;
  border-radius: 5px;
}
.point-list button:hover,
.profile-choice:hover {
  background: #f2f0e9;
}
.notes-pop {
  width: min(330px, calc(100vw - 32px));
  padding: 14px;
}
.popover-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}
.popover-heading > strong {
  font: 500 23px var(--serif);
}
.notification-list {
  max-height: 49vh;
  overflow: auto;
}
.note {
  display: flex;
  gap: 10px;
  width: 100%;
  padding: 11px 4px;
  border-bottom: 1px solid var(--line);
}
.note-icon {
  width: 27px;
  height: 27px;
  background: #f3f0e7;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 7px;
}
.note.unread .note-icon {
  color: var(--accent);
  background: #f5e5db;
}
.note strong {
  font-size: 13px;
  font-weight: 500;
}
.note p {
  font-size: 12px;
  color: #66695f;
  line-height: 1.4;
  margin: 4px 0;
}
.note small {
  font-size: 11px;
  color: var(--muted);
}
.push-button {
  font-size: 12px;
  width: 100%;
  margin-top: 12px;
}
.offline {
  color: #9c5a38;
}
.app-dialog {
  border: 1px solid #dedbd0;
  border-radius: 15px;
  padding: 0;
  width: min(520px, calc(100vw - 26px));
  max-height: 89dvh;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 25px 100px #302a201c;
}
.app-dialog::backdrop {
  background: #292a2380;
  backdrop-filter: blur(3px);
}
body:has(dialog[open]) {
  overflow: hidden;
}
.dialog-header {
  justify-content: space-between;
  gap: 12px;
  padding: 17px 20px;
  border-bottom: 1px solid var(--line);
}
.dialog-header h2 {
  font-size: 26px;
}
.dialog-body {
  padding: 20px;
}
.field {
  display: grid;
  gap: 7px;
  font-size: 13px;
  font-weight: 450;
}
.field input,
.field select,
.field textarea,
.report-form select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d8d7cc;
  background: #fffefa;
  border-radius: 6px;
  min-height: 40px;
  font-size: 14px;
}
.field textarea {
  resize: vertical;
}
.form-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.form-actions {
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.report-detail {
  display: grid;
  gap: 14px;
}
.identity-line {
  gap: 9px;
}
.identity-line > div {
  display: grid;
  gap: 3px;
}
.identity-line strong,
.profile-choice strong {
  font-size: 14px;
  font-weight: 500;
}
.identity-line small {
  color: var(--muted);
  font-size: 12px;
}
.identity-line .badge {
  margin-left: auto;
}
.avatar.mini {
  width: 31px;
  height: 31px;
  font-size: 11px;
}
.report-preview {
  position: relative;
}
.report-preview img {
  width: 100%;
  height: clamp(160px, 32vh, 300px);
  object-fit: contain;
  border-radius: 9px;
  background: #efece3;
}
.preview-caption {
  position: absolute;
  bottom: 8px;
  left: 8px;
  border-radius: 6px;
  background: #252523b3;
  color: white;
  padding: 4px 9px;
  font-size: 12px;
}
.thumbnail-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
}
.thumbnail-strip button {
  padding: 2px;
  border: 1.5px solid transparent;
  border-radius: 6px;
}
.thumbnail-strip button[aria-pressed='true'] {
  border-color: var(--accent);
}
.thumbnail-strip img {
  width: 100%;
  height: 50px;
  object-fit: cover;
  border-radius: 4px;
}
.comment-box {
  background: #f4efe5;
  border-radius: 6px;
  padding: 12px;
  font-size: 13px;
}
.comment-box p {
  margin-top: 4px;
  line-height: 1.4;
}
.report-form {
  display: grid;
  gap: 15px;
}
.capture-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.capture-tile {
  min-height: 105px;
  background: #f4f2ec;
  border: 1px dashed #c6c1b3;
  color: #6a695b;
  display: flex;
  position: relative;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 7px;
  border-radius: 9px;
  padding: 7px;
  overflow: hidden;
  font-size: 13px;
}
.capture-tile img {
  object-fit: cover;
  width: 100%;
  height: 85px;
  border-radius: 5px;
}
.capture-tile i {
  position: absolute;
  top: 12px;
  right: 12px;
  background: white;
  color: #546945;
  border-radius: 50%;
  padding: 3px;
}
.camera-screen {
  background: #242722;
  position: relative;
  min-height: 220px;
  display: grid;
  place-items: center;
}
.camera-screen video {
  width: 100%;
  object-fit: contain;
  max-height: 60vh;
}
.camera-message {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
  padding: 24px;
}
.camera-controls {
  display: flex;
  justify-content: center;
  padding: 15px;
}
.profile-dialog {
  display: grid;
  gap: 17px;
}
.profile-card {
  gap: 10px;
}
.profile-dialog h3 {
  font-size: 14px;
  font-weight: 500;
}
.profile-list {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.profile-choice {
  gap: 10px;
  width: 100%;
  padding: 9px 12px;
  border-bottom: 1px solid #eeece3;
}
.profile-choice:last-child {
  border: 0;
}
.profile-choice > .icon {
  margin-left: auto;
  color: var(--accent);
}
.login-screen {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 16px;
}
.login-form {
  width: min(415px, 100%);
  padding: 30px;
  display: grid;
  gap: 18px;
}
.sign-in-card {
  width: min(418px, 100%);
  overflow: hidden;
}
.sign-in-brand {
  display: flex;
  align-items: center;
  min-height: 104px;
  padding: 24px 30px;
  background:
    linear-gradient(90deg, #723c2e88, transparent 85%),
    #a65a47 url('/assets/flowers.webp') center / cover;
}
.sign-in-brand .brand img {
  filter: brightness(0) invert(96%);
}
.sign-in-brand .brand strong,
.sign-in-brand .brand small {
  color: #fff6e9;
}
.sign-in-card .login-form {
  width: 100%;
}
.sign-in-card .login-form h1 {
  font-size: clamp(28px, 6.8vw, 34px);
}
.login-form .error-text:empty {
  display: none;
}
.login-form .field input {
  font-size: 16px;
}
.login-form h1 {
  font-size: 36px;
}
.login-form p {
  font-size: 14px;
  line-height: 1.5;
}
.error-text {
  color: #9c4438;
}
#toasts {
  position: fixed;
  z-index: 50;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: grid;
  gap: 8px;
  width: max-content;
  max-width: calc(100vw - 28px);
  pointer-events: none;
}
.toast {
  padding: 12px 18px;
  background: #40443b;
  color: #fff;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.4;
  box-shadow: 0 5px 24px #2222;
}
.demo-tag {
  padding: 4px 8px;
  border: 1px solid #ded9cd;
  border-radius: 5px;
  color: #797768;
  font-size: 11px;
}
@media (min-width: 1560px) {
  :root {
    --side: 246px;
  }
  .brand-link {
    padding-left: 29px;
  }
  .nav-groups {
    padding-left: 18px;
    padding-right: 18px;
  }
  .feed-panel,
  .task-panel,
  .shift-strip {
    padding: 24px;
  }
  .dashboard {
    gap: 23px;
  }
  .mini-task {
    padding: 20px 0;
  }
  .mini-task-list {
    display: flex;
    flex-direction: column;
  }
  .mini-task {
    flex: 1;
  }
  .metric {
    padding: 20px 22px;
  }
  .report-copy {
    padding: 16px;
  }
}
@media (max-width: 1180px) {
  :root {
    --side: 199px;
    --pad: 22px;
  }
  .brand-link {
    padding: 0 16px;
  }
  .brand strong {
    font-size: 27px;
  }
  .brand img {
    width: 37px;
    height: 37px;
  }
  .brand small {
    font-size: 7.4px;
  }
  .nav-item {
    gap: 10px;
    padding: 10px;
    font-size: 13px;
  }
  .nav-label {
    font-size: 9px;
    letter-spacing: 1px;
    padding: 0 10px;
  }
  .nav-groups {
    padding-left: 10px;
    padding-right: 10px;
  }
  .dashboard-work {
    grid-template-columns: minmax(0, 1.75fr) minmax(220px, 1fr);
    gap: 13px;
  }
  .feed-panel,
  .task-panel,
  .shift-strip {
    padding: 16px;
  }
  .metric {
    padding: 14px 12px;
  }
  .metrics {
    gap: 10px;
  }
  .metric-top {
    gap: 7px;
  }
  .metric-icon {
    width: 30px;
    height: 30px;
  }
  .metric-bottom > span {
    font-size: 11px;
  }
  .section-head h2 {
    font-size: 23px;
  }
  .task-words > strong {
    font-size: 13px;
  }
  .report-copy {
    padding: 10px;
  }
  .profile {
    padding: 12px;
  }
  .profile-copy strong {
    font-size: 12px;
  }
  .hero h1 {
    font-size: 55px;
  }
}
@media (max-width: 980px) and (min-width: 761px) {
  :root {
    --side: 75px;
    --pad: 22px;
  }
  .brand-link {
    justify-content: center;
    padding: 0;
    height: 87px;
  }
  .brand-link .brand span,
  .nav-label,
  .nav-item > span,
  .nav-count,
  .location,
  .profile-copy,
  .profile > .icon {
    display: none;
  }
  .nav-item {
    justify-content: center;
    padding: 12px;
  }
  .nav-item .icon {
    width: 22px;
    height: 22px;
  }
  .nav-group + .nav-group {
    margin-top: 20px;
    border-top: 1px solid var(--line);
    padding-top: 18px;
  }
  .nav-groups {
    padding-top: 17px;
  }
  .profile {
    justify-content: center;
  }
  .main-content {
    padding-top: 20px;
  }
  .hero {
    height: 177px;
  }
}
@media (max-width: 760px) {
  :root {
    --side: 232px;
    --pad: 17px;
  }
  .sidebar {
    transform: translateX(-101%);
    transition: transform 0.2s;
    z-index: 12;
    box-shadow: 6px 0 25px #2221;
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .mobile-scrim {
    position: fixed;
    inset: 0;
    z-index: 10;
    background: #20251e66;
    backdrop-filter: blur(2px);
  }
  .workspace {
    margin-left: 0;
  }
  .mobile-toggle {
    display: grid;
    place-items: center;
    padding: 0;
    width: 28px;
    height: 34px;
  }
  .topbar {
    height: 55px;
  }
  .crumbs {
    gap: 9px;
  }
  .top-tools {
    gap: 10px;
  }
  .main-content {
    padding-top: 16px;
  }
  .hero {
    height: 171px;
    border-radius: 11px;
    background-position: 54% center;
  }
  .hero-content {
    padding: 0 23px;
  }
  .hero h1 {
    font-size: 51px;
    margin: 12px 0 10px;
  }
  .hero-kicker {
    font-size: 8.6px;
    letter-spacing: 1.3px;
  }
  .hero-date {
    font-size: 12px;
  }
  .hero-kicker > span {
    width: 18px;
  }
  .dashboard {
    gap: 15px;
  }
  .metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }
  .metric {
    gap: 8px;
    padding: 13px 15px;
  }
  .metric-top {
    gap: 8px;
  }
  .metric-title {
    font-size: 13px;
  }
  .metric-bottom strong {
    font-size: 30px;
  }
  .metric-bottom span {
    font-size: 11.5px;
  }
  .metric-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
  }
  .metric-icon .icon {
    width: 16px;
    height: 16px;
  }
  .dashboard-work {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .report-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .feed-panel,
  .task-panel,
  .shift-strip {
    padding: 16px;
  }
  .task-words {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    width: 100%;
    gap: 4px 12px;
  }
  .task-words strong {
    grid-column: 1;
    grid-row: 1;
  }
  .task-words .mini-assignee {
    grid-column: 1;
    grid-row: 2;
  }
  .task-words .task-deadline {
    grid-column: 2;
    grid-row: 1/3;
  }
  .on-shift {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .roster-item strong {
    font-size: 14px;
  }
  .subpage {
    padding-top: 22px;
  }
  .operations-page > h1 {
    font-size: 37px;
  }
  .full-feed .section-head {
    flex-wrap: wrap;
  }
  .side-bottom .profile {
    min-height: 66px;
  }
  .nav-groups {
    padding-top: 10px;
  }
  .brand-link {
    height: 82px;
  }
  .nav-group + .nav-group {
    margin-top: 20px;
  }
  .notes-pop {
    position: fixed;
    top: 52px;
    right: 11px;
  }
  .report-card .report-copy h3 {
    font-size: 20px;
  }
}
@media (max-width: 490px) {
  :root {
    --pad: 13px;
  }
  .breadcrumb-root,
  .crumb-slash {
    display: none;
  }
  .topbar {
    padding: 0 14px;
  }
  .point-selector {
    font-size: 12px;
    gap: 4px;
  }
  .hero {
    height: 158px;
    background-size: auto 116%;
    background-position: 62% 45%;
  }
  .hero::before {
    background: linear-gradient(90deg, #763b2bc9, transparent 78%);
  }
  .hero-content {
    padding-left: 19px;
  }
  .hero h1 {
    font-size: 45px;
  }
  .hero-date {
    font-size: 10.5px;
    gap: 5px;
  }
  .hero-date .icon {
    width: 14px;
  }
  .hero-kicker {
    font-size: 8px;
    letter-spacing: 1px;
  }
  .metric {
    padding: 12px;
  }
  .metric-top {
    gap: 7px;
  }
  .metric-title {
    font-size: 12px;
  }
  .metrics {
    gap: 8px;
  }
  .section-head h2 {
    font-size: 22px;
  }
  .section-head .text-link {
    font-size: 11px;
  }
  .feed-panel,
  .task-panel,
  .shift-strip {
    padding: 13px;
  }
  .report-grid.compact {
    gap: 8px;
  }
  .report-grid:not(.compact) {
    grid-template-columns: 1fr;
  }
  .filter-row {
    margin: 13px 0 12px;
    gap: 2px;
  }
  .filter-tab {
    font-size: 10.5px;
    padding: 5px 8px;
  }
  .report-cover {
    aspect-ratio: 1.36;
  }
  .report-cover .badge {
    left: 5px;
    top: 5px;
    font-size: 9px;
    padding: 4px 5px;
  }
  .report-copy {
    padding: 8px;
  }
  .report-copy h3 {
    font-size: 17px !important;
  }
  .report-time {
    font-size: 9px;
  }
  .report-person,
  .report-stamp {
    font-size: 9.5px;
    gap: 3px;
  }
  .report-stamp {
    margin-top: 7px;
    padding-top: 7px;
  }
  .report-person .tiny-avatar {
    width: 17px;
    height: 17px;
    font-size: 7px;
  }
  .photo-count {
    bottom: 5px;
    right: 5px;
    font-size: 9px;
  }
  .task-words {
    gap: 3px 5px;
  }
  .form-pair {
    grid-template-columns: 1fr;
  }
  .dialog-body,
  .dialog-header {
    padding: 15px;
  }
  .badge {
    font-size: 10px;
  }
  .form-actions .btn {
    font-size: 12px;
  }
  .report-grid:not(.compact) .report-cover {
    aspect-ratio: 1.8;
  }
  .report-grid:not(.compact) .report-copy h3 {
    font-size: 23px !important;
  }
  .report-grid:not(.compact) .report-person,
  .report-grid:not(.compact) .report-stamp,
  .report-grid:not(.compact) .report-time {
    font-size: 12px;
  }
  .full-feed .section-head h1 {
    font-size: 35px;
  }
  .demo-tag {
    font-size: 10px;
    padding: 3px 6px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
.dialog-toast {
  position: sticky;
  bottom: 8px;
  margin: 8px;
  z-index: 1;
}
