@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap");
:root {
  font-family: "DM Sans", system-ui, sans-serif;
  color: #253c37;
  background: #f5f7f5;
  font-size: 14px;
  --green: #174e43;
  --muted: #65746c;
  --line: #e3e9e4;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a {
  cursor: pointer;
}
button {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 15px;
  background: white;
  color: inherit;
  font-weight: 600;
}
button:hover {
  background: #edf3ee;
}
button.primary {
  background: var(--green);
  color: white;
  border-color: var(--green);
}
button.small {
  padding: 6px 10px;
  font-size: 12px;
}
button.active {
  background: #e2eee6;
  color: var(--green);
}
input,
select,
textarea {
  padding: 11px;
  border: 1px solid #d5dfd8;
  border-radius: 7px;
  background: #fff;
  min-width: 0;
  width: 100%;
  color: inherit;
}
textarea {
  min-height: 100px;
}
label {
  display: grid;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  margin: 14px 0;
}
h1,
h2,
h3 {
  font-family: Manrope, system-ui;
  margin: 0;
}
h1 {
  font-size: 28px;
  letter-spacing: -1px;
}
h2 {
  font-size: 19px;
}
h3 {
  font-size: 15px;
}
p {
  line-height: 1.6;
}
.muted {
  color: var(--muted);
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 10px;
  font-weight: 800;
  color: #84938b;
}
.layout {
  display: grid;
  grid-template-columns: 228px 1fr;
  min-height: 100vh;
}
.sidebar {
  padding: 32px 18px;
  background: #fff;
  border-right: 1px solid var(--line);
  position: fixed;
  width: 228px;
  height: 100vh;
  display: flex;
  flex-direction: column;
}
.brand {
  display: flex;
  gap: 10px;
  align-items: center;
  font-family: Manrope;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -1px;
  padding: 0 12px 40px;
}
.brand i {
  font-style: normal;
  color: white;
  background: var(--green);
  width: 32px;
  height: 35px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  font-size: 21px;
}
.nav {
  display: grid;
  gap: 7px;
}
.nav button {
  text-align: left;
  border: 0;
  background: transparent;
  padding: 13px 15px;
  color: #6c7d73;
  font-weight: 500;
}
.nav button.active {
  color: var(--green);
  background: #edf4ee;
  font-weight: 700;
}
.nav span {
  display: inline-block;
  width: 26px;
  font-size: 17px;
}
.sidebar .bottom {
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding: 20px 9px 0;
}
.avatar {
  width: 35px;
  height: 35px;
  display: inline-grid;
  place-items: center;
  background: #e8ebdf;
  border-radius: 50%;
  font-weight: 700;
  margin-right: 9px;
}
.main {
  grid-column: 2;
  padding: 0 40px 40px;
  max-width: 1600px;
  width: 100%;
}
.topbar {
  height: 83px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  margin-bottom: 33px;
}
.topbar .path {
  color: #91a096;
}
.topbar .path b {
  color: #455e52;
  font-weight: 500;
}
.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.stack {
  display: grid;
  gap: 18px;
}
.pagehead {
  margin-bottom: 28px;
}
.pagehead p {
  margin: 7px 0 0;
}
.tag {
  display: inline-block;
  padding: 5px 9px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  background: #edf1ed;
  color: #6b8073;
  white-space: nowrap;
}
.tag.overdue {
  background: #faece8;
  color: #b75a45;
}
.tag.review {
  background: #fff3d8;
  color: #a07524;
}
.tag.complete {
  background: #e7f2ea;
  color: #397d51;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 17px;
  margin: 25px 0;
}
.metric {
  background: white;
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 21px;
}
.metric .num {
  font-family: Manrope;
  font-size: 32px;
  font-weight: 700;
  margin: 12px 0 7px;
}
.metric small {
  font-size: 11px;
  color: #8b9a90;
}
.contentgrid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 22px;
}
.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 11px;
  overflow: hidden;
}
.panelhead {
  padding: 21px 23px;
  border-bottom: 1px solid var(--line);
}
.filters {
  display: flex;
  gap: 9px;
  padding: 16px 23px;
  align-items: center;
}
.filters select,
.filters input {
  width: auto;
  max-width: 240px;
  padding: 8px 10px;
  font-size: 12px;
}
.task {
  padding: 18px 23px;
  border-top: 1px solid #edf1ed;
  display: flex;
  align-items: center;
  gap: 13px;
  cursor: pointer;
}
.task:hover {
  background: #fafcf9;
}
.task .check {
  border: 1.5px solid #d6dfd6;
  border-radius: 6px;
  width: 19px;
  height: 19px;
  flex-shrink: 0;
}
.task .check.done {
  background: var(--green);
  color: white;
  text-align: center;
}
.task .info {
  flex: 1;
  min-width: 0;
}
.task h3 {
  font-size: 13px;
  margin-bottom: 6px;
}
.task .meta {
  color: #89988d;
  font-size: 11px;
}
.task time {
  font-size: 11px;
  min-width: 85px;
  text-align: right;
  color: #829187;
}
.empty {
  padding: 40px;
  text-align: center;
  color: var(--muted);
}
.note {
  padding: 20px;
  margin: 20px;
  background: #f2f5ed;
  border-radius: 9px;
}
.note p {
  font-size: 12px;
  margin: 8px 0 0;
}
.store {
  padding: 17px 22px;
  border-bottom: 1px solid var(--line);
}
.store p {
  font-size: 11px;
  margin: 5px 0 0;
}
.progress {
  height: 5px;
  border-radius: 3px;
  background: #e9eee7;
  margin-top: 14px;
  overflow: hidden;
}
.progress i {
  display: block;
  background: #799d7c;
  height: 100%;
}
.calendar {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}
.day {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  min-height: 135px;
  padding: 10px;
  font-size: 11px;
}
.day .event {
  display: block;
  background: #edf4ed;
  padding: 5px;
  margin-top: 6px;
  border-left: 2px solid #608b6a;
  cursor: pointer;
  border-radius: 3px;
}
.day.today {
  background: #f2f7ef;
}
.weekday {
  text-align: center;
  padding: 12px;
  color: #8b9a90;
  font-size: 11px;
  border-bottom: 1px solid var(--line);
}
.detail {
  padding: 26px;
  max-width: 850px;
}
.detail h1 {
  font-size: 23px;
}
.detail .instructions {
  white-space: pre-wrap;
  background: #f5f7f2;
  padding: 20px;
  border-radius: 8px;
  margin: 24px 0;
  line-height: 1.7;
}
.comment {
  border-top: 1px solid var(--line);
  padding: 16px 0;
}
.comment p {
  margin: 5px 0;
}
.comment small {
  color: var(--muted);
}
dialog {
  border: 1px solid var(--line);
  border-radius: 15px;
  box-shadow: 0 20px 100px #122d3830;
  width: min(620px, 94vw);
  padding: 28px;
  color: inherit;
}
dialog::backdrop {
  background: #152c3060;
  backdrop-filter: blur(2px);
}
.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.checks {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
}
.checks label {
  display: flex;
  align-items: center;
  margin: 7px 0;
  padding: 6px 9px;
  background: #f4f6f2;
  border-radius: 5px;
  font-weight: 400;
}
.checks input {
  width: auto;
}
.auth {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}
.authstory {
  background: #163f38;
  color: white;
  padding: 10vw 8vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.authstory h1 {
  font-size: 50px;
  line-height: 1.15;
  letter-spacing: -2px;
  max-width: 500px;
}
.authstory p {
  color: #adc4b5;
  font-size: 17px;
}
.authform {
  padding: 8vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.authform form {
  max-width: 370px;
}
.authform .brand {
  padding: 0 0 40px;
}
.error {
  color: #b65544;
  line-height: 1.5;
  font-size: 13px;
}
#toast {
  position: fixed;
  bottom: 22px;
  right: 22px;
  background: #173e35;
  color: white;
  padding: 14px 20px;
  border-radius: 9px;
  display: none;
  z-index: 20;
}
.mobilebar {
  display: none;
}
.banner {
  background: #f9f0dd;
  padding: 10px 18px;
  border-radius: 7px;
  color: #8e743e;
  font-size: 12px;
  margin-bottom: 20px;
}
a {
  color: var(--green);
}
.listcard {
  padding: 22px;
  border-bottom: 1px solid var(--line);
}
.listcard p {
  margin: 7px 0 12px;
  font-size: 12px;
  color: var(--muted);
}
.actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.errorbox {
  padding: 30px;
  background: #fff3ee;
  color: #aa4d35;
  border-radius: 9px;
}
.search {
  max-width: 260px;
}
.history {
  font-size: 12px;
  color: #829387;
  padding: 9px 0;
  border-top: 1px solid var(--line);
}
@media (max-width: 1150px) {
  .main {
    padding: 0 24px 25px;
  }
  .contentgrid {
    grid-template-columns: 1fr;
  }
  .metrics {
    gap: 10px;
  }
  .metric {
    padding: 15px;
  }
}
@media (max-width: 760px) {
  .layout {
    display: block;
  }
  .sidebar {
    display: none;
  }
  .main {
    padding: 0 16px 90px;
  }
  .topbar {
    height: 65px;
    margin-bottom: 22px;
  }
  .metrics {
    grid-template-columns: 1fr 1fr;
  }
  .metric .num {
    font-size: 27px;
  }
  .pagehead {
    align-items: flex-start;
  }
  .pagehead h1 {
    font-size: 24px;
  }
  .pagehead p {
    font-size: 12px;
  }
  .task {
    padding: 16px 14px;
  }
  .task time {
    display: none;
  }
  .filters {
    padding: 12px;
    flex-wrap: wrap;
  }
  .filters select {
    max-width: 145px;
  }
  .mobilebar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid var(--line);
    z-index: 4;
    justify-content: space-around;
    padding: 8px 4px;
  }
  .mobilebar button {
    padding: 8px 6px;
    font-size: 10px;
    border: 0;
  }
  .mobilebar span {
    display: block;
    font-size: 20px;
    margin-bottom: 3px;
  }
  .auth {
    display: block;
  }
  .authstory {
    display: none;
  }
  .authform {
    min-height: 100vh;
    padding: 35px;
  }
  .two {
    grid-template-columns: 1fr;
  }
  .day {
    padding: 5px;
    min-height: 90px;
  }
  .day .event {
    font-size: 9px;
    overflow: hidden;
  }
  .row {
    gap: 9px;
  }
  .calendarhead h2 {
    font-size: 15px;
  }
  .detail {
    padding: 18px;
  }
  .topbar .search {
    display: none;
  }
}

.rule-control {
  margin: 14px 0;
}
.rule-control .eyebrow {
  margin-bottom: 8px;
}
[hidden] {
  display: none !important;
}
.frequency-label {
  font:
    500 11px "DM Sans",
    system-ui;
  color: #718879;
  display: inline-block;
  margin: 3px 0 0 5px;
}
.mobile-due {
  display: none;
}
.dialog-head {
  margin-bottom: 16px;
}
.dialog-footer {
  justify-content: flex-end;
  margin-top: 24px;
}
.share-link {
  font-size: 13px;
  min-height: 90px;
  word-break: break-all;
  background: #f5f8f3;
}
.success-note,
.scope-note {
  background: #ecf4ec;
  border-left: 3px solid #7c9d78;
  padding: 15px 17px;
  border-radius: 7px;
  line-height: 1.65;
  margin: 18px 0;
}
.check-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}
.check-label input {
  width: auto;
  margin-top: 3px;
}
.reminder-controls {
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 8px 16px 15px;
  margin: 18px 0;
}
.reminder-controls legend {
  font-weight: 700;
  font-size: 13px;
  padding: 0 5px;
}
.reminder-controls legend span {
  font-weight: 400;
  margin-left: 6px;
}
.custom-reminder {
  background: #f3f7ef;
  padding: 4px 12px 10px;
  border-radius: 7px;
}
.reminder-slot {
  min-width: 0;
}
.rule-controls {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}
fieldset:disabled {
  opacity: 0.7;
}
details > summary {
  cursor: pointer;
  line-height: 1.6;
  font-weight: 600;
}
details.advanced > summary {
  font-size: 14px;
}
.settings-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 22px;
  align-items: start;
}
.settings-form {
  padding: 0 24px 24px;
}
.settings-card {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.settings-card p {
  margin: 9px 0;
  color: #74857b;
  font-size: 13px;
}
.settings-card .policy-help {
  font-size: 12px;
  color: #4b7060;
  background: #f1f6ee;
  padding: 9px 12px;
  border-radius: 6px;
}
.settings-save {
  padding-top: 18px;
}
.permission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 14px 0;
}
.permission-option {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 12px;
  font-weight: 500;
  background: #f4f7f1;
  padding: 11px;
  margin: 0;
  border-radius: 7px;
  line-height: 1.5;
}
.permission-option input {
  width: 15px;
  flex-shrink: 0;
  margin-top: 2px;
}
.permission-option small {
  display: block;
  color: #89968b;
  font-size: 10px;
  font-weight: 400;
}
.permission-option.restricted {
  background: #f7f7f5;
  color: #849085;
}
.policy-preview {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.policy-preview h3 {
  font-size: 13px;
}
.policy-preview p {
  font-size: 12px;
  margin: 6px 0;
}
.series-history {
  margin: 24px 0;
  background: #f4f7f0;
  padding: 16px;
  border-radius: 9px;
}
.series-history .occurrence-link {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
  text-align: left;
  margin: 7px 0;
  font-weight: 400;
}
.occurrence-link.selected {
  border-color: #709a7b;
  background: #e8f1e6;
}
.org-feedback {
  font-size: 13px;
  color: #45684e;
  line-height: 1.5;
}
.org-feedback:empty {
  display: none;
}
.organization-layout {
  display: grid;
  grid-template-columns: minmax(270px, 0.85fr) minmax(0, 1.2fr);
  gap: 22px;
  align-items: start;
}
.organization-nav .panelhead p {
  font-size: 12px;
  margin: 8px 0 0;
}
.org-tree {
  padding: 10px 8px;
  max-height: 70vh;
  overflow: auto;
}
.org-row {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 55px;
  padding: 9px 9px 9px calc(8px + var(--tree-level) * 18px);
  border-radius: 7px;
  outline-offset: 1px;
  cursor: pointer;
  margin: 2px 0;
  border: 1px solid transparent;
}
.org-row:hover {
  background: #f2f6ed;
}
.org-row.selected {
  background: #e4efdf;
  border-color: #d0dfc9;
  color: #244d32;
}
.org-row[draggable="true"] {
  cursor: grab;
}
.org-row[draggable="true"]:active {
  cursor: grabbing;
}
.tree-chevron {
  width: 10px;
  flex-shrink: 0;
  color: #6d826e;
}
.tree-icon {
  font-size: 16px;
  color: #80917b;
  flex-shrink: 0;
}
.tree-label {
  display: grid;
  gap: 4px;
  min-width: 0;
  flex: 1;
}
.tree-label strong {
  font-weight: 600;
  font-size: 12px;
  overflow-wrap: anywhere;
}
.tree-label small {
  color: #8a998b;
  font-size: 10px;
}
.drag-handle {
  color: #a3b0a2;
}
.tree-empty {
  padding: 10px 12px 12px calc(10px + var(--tree-level) * 18px);
  font-size: 11px;
  color: #8b998c;
}
.tree-help {
  font-size: 11px;
  line-height: 1.6;
  padding: 12px 20px;
  border-top: 1px solid var(--line);
  color: #8a998b;
  margin: 0;
}
.organization-detail {
  padding: 24px;
  min-height: 450px;
}
.organization-detail h2 {
  margin: 8px 0 12px;
  font-size: 22px;
}
.organization-detail h3 {
  margin-top: 22px;
}
.organization-detail .actions {
  margin: 18px 0;
}
.organization-detail form {
  margin: 22px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.organization-detail .rename-form {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}
.rename-form label {
  flex: 1;
  min-width: 170px;
  margin-bottom: 0;
}
.rename-form button {
  margin-top: 14px;
}
.org-stats {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 15px 0;
}
.org-stats span {
  background: #f0f4ec;
  border-radius: 6px;
  padding: 8px 11px;
  font-size: 12px;
}
.org-row.drop-valid {
  border: 2px dashed #5c946b;
  background: #e4f3df;
}
.org-row.drop-invalid {
  border-color: #cd9d86;
  background: #fff4eb;
}
.change-preview ul {
  padding-left: 20px;
  line-height: 1.8;
}
.change-preview h3 {
  margin-top: 0;
}
.organization-detail details {
  margin: 18px 0;
}
.organization-detail .advanced {
  padding: 15px;
  background: #f5f7f1;
  border-radius: 8px;
}
.organization-detail form .primary {
  margin-top: 10px;
}
@media (max-width: 1100px) {
  .settings-layout {
    grid-template-columns: 1fr;
  }
  .organization-layout {
    grid-template-columns: minmax(250px, 0.85fr) minmax(0, 1.1fr);
  }
  .permission-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 760px) {
  .organization-layout {
    grid-template-columns: 1fr;
  }
  .org-tree {
    max-height: 45vh;
  }
  .organization-detail {
    min-height: 0;
    padding: 20px;
  }
  .settings-form {
    padding: 0 18px 20px;
  }
  .permission-grid {
    grid-template-columns: 1fr;
  }
  .mobile-due {
    display: block;
    font-size: 10px;
    color: #81917f;
    margin-top: 6px;
  }
  .frequency-label {
    margin-left: 0;
    display: block;
  }
  .reminder-controls .two {
    gap: 0;
  }
  .task h3 {
    line-height: 1.5;
  }
  .series-history {
    padding: 12px;
  }
  .org-row {
    min-height: 58px;
  }
}
.org-row[draggable="true"] {
  user-select: none;
}
.org-row.org-dragging {
  opacity: 0.65;
  border-color: #709276;
}
.drag-handle {
  touch-action: none;
}

.calendar-zone {
  padding: 16px 22px;
  border-top: 1px solid var(--line);
}
.calendar-zone label {
  max-width: 460px;
}
.calendar-zone p {
  margin: 6px 0;
}
.calendar small {
  overflow-wrap: anywhere;
}
.outlook-event {
  background: #e8eaf5;
  color: #303f78;
}
.timezone-preview {
  max-height: 300px;
  overflow: auto;
}
.timezone-preview small {
  color: #68766f;
}

.calendar {
  grid-template-columns: repeat(7, minmax(0, 1fr));
}
.day {
  min-width: 0;
  overflow-wrap: anywhere;
}
.calendar-zone select {
  max-width: 100%;
  min-width: 0;
}
.team-switch {
  margin: 0;
  font-size: 11px;
}
.team-switch select {
  max-width: 220px;
  padding: 6px;
}
/* Period reporting, scoped task groups and additional store conversations. */
.report-head {
  margin-bottom: 20px;
}
.report-head label {
  max-width: 440px;
}
.pulse-periods {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 24px;
}
.pulse-card {
  padding: 22px;
}
.pulse-card h2 {
  font-size: 19px;
}
.pulse-counts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 20px 0;
  font-size: 12px;
}
.pulse-card small {
  display: block;
  color: #728176;
  margin-top: 16px;
  line-height: 1.6;
}
.task-filters {
  margin-bottom: 20px;
}
.task-area-group > summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  margin: 20px 0;
}
.task-area-group > summary h2 {
  font-size: 21px;
}
.task-store-group {
  margin-bottom: 16px;
}
.task-store-group > summary {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  cursor: pointer;
}
.task-store-group > summary span {
  font-size: 12px;
  color: #6e7d73;
}
.settings-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.settings-tabs .active {
  background: #244e42;
  color: #fff;
}
.role-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 18px;
}
.role-cards .listcard {
  border: 1px solid #e2e9e1;
  border-radius: 12px;
}
.default-task {
  border-top: 1px solid #e5ebe4;
  padding: 16px 0;
}
.default-task > summary {
  display: flex;
  gap: 14px;
  justify-content: space-between;
  cursor: pointer;
}
.default-task > summary span {
  font-size: 12px;
  color: #687b6d;
}
.location-schedules {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0;
}
.location-schedule {
  background: #f4f7f2;
  border-radius: 10px;
  padding: 14px;
}
.location-schedule .tag {
  display: inline-block;
  margin-left: 10px;
}
.list-task-editor {
  padding: 16px;
  border: 1px solid #dbe5d9;
  border-radius: 12px;
  margin: 18px 0;
}
.list-task-editor > summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  margin-bottom: 14px;
}
.list-task-editor > summary button {
  font-size: 11px;
}
.person-role-fields .checks {
  margin: 16px 0;
}
.day .event-complete {
  background: #dceedd;
  border-color: #3b7e4a;
  color: #245b32;
}
.day .event-review {
  background: #e8e4f4;
  border-color: #8170a6;
  color: #554271;
}
.day .event-overdue {
  background: #f9e6df;
  border-color: #b46b4f;
  color: #883c2d;
}
.day .event-open {
  background: #eef2f7;
  border-color: #7293ad;
  color: #3b566e;
}
.chat-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 20px;
}
.chat-channel-list {
  align-self: start;
}
.chat-channel {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  border-radius: 0;
  border-bottom: 1px solid #e5ebe3;
  padding: 16px;
  background: transparent;
}
.chat-channel strong,
.chat-channel small,
.chat-channel > span {
  display: block;
}
.chat-channel small {
  margin: 5px 0;
  color: #6d7b70;
}
.chat-channel.active {
  background: #e7f0e4;
}
.chat-channel > span {
  font-size: 11px;
  font-weight: 400;
  margin-top: 7px;
}
.unread-count,
.chat-unread-total {
  background: #285348;
  color: white;
  border-radius: 15px;
  padding: 3px 7px;
  font-size: 10px;
}
[data-nav="Store chat"] { position:relative; }
[data-nav="Store chat"] > .chat-unread-dot { position:absolute; top:5px; right:6px; width:16px; height:16px; border-radius:50%; background:#ed233b; border:3px solid white; box-shadow:0 0 0 1px #c61b2f, 0 2px 5px #8c142533; padding:0; pointer-events:none; }
[data-nav="Store chat"] > .chat-unread-dot[hidden] { display:none; }
.chat-conversation {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.chat-messages {
  height: 460px;
  overflow: auto;
  padding: 22px;
  background: #f4f7f1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.chat-bubble {
  background: #fff;
  padding: 13px 16px;
  border: 1px solid #e5ebe1;
  border-radius: 12px;
  max-width: 85%;
  align-self: flex-start;
  min-width: 180px;
}
.chat-bubble.mine {
  background: #e3eedf;
  align-self: flex-end;
}
.chat-bubble header {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 12px;
}
.chat-bubble header span {
  font-size: 10px;
  color: #687b6c;
}
.chat-bubble p {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  margin: 10px 0;
}
.chat-bubble time {
  font-size: 10px;
  color: #788579;
}
.chat-connection {
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 11px;
  align-items: center;
  color: #6d7b70;
}
.chat-connection button {
  font-size: 11px;
  padding: 6px 9px;
}
#chat-composer {
  padding: 18px;
  border-top: 1px solid #e5ebe1;
}
#chat-composer textarea {
  min-height: 80px;
}
#chat-composer small {
  font-size: 10px;
  color: #788579;
}
.chat-conversation details p {
  margin: 7px 0;
  font-size: 12px;
}
.chat-conversation > header small {
  font-size: 10px;
  color: #6d7b70;
}
@media (max-width: 1000px) {
  .pulse-periods {
    grid-template-columns: 1fr;
  }
  .role-cards,
  .location-schedules {
    grid-template-columns: 1fr;
  }
  .chat-layout {
    grid-template-columns: 220px minmax(0, 1fr);
  }
}
@media (max-width: 650px) {
  .chat-layout {
    grid-template-columns: 1fr;
  }
  .chat-channel-list {
    max-height: 240px;
    overflow: auto;
  }
  .chat-messages {
    height: 420px;
    padding: 12px;
  }
  .chat-bubble {
    max-width: 94%;
    min-width: 0;
  }
  .default-task > summary {
    display: block;
  }
  .default-task > summary span {
    display: block;
    margin-top: 7px;
  }
  .task-store-group > summary {
    display: block;
  }
  .task-store-group > summary span {
    display: block;
    margin-top: 7px;
  }
  .mobilebar {
    overflow-x: auto;
    justify-content: flex-start;
  }
  .mobilebar button {
    min-width: 56px;
    flex: 1;
  }
  .chat-connection {
    padding: 10px;
  }
  .pulse-counts {
    font-size: 11px;
  }
  .list-task-editor {
    padding: 12px;
  }
}
.store-pulse-card {
  margin: 18px 0 28px;
}
.store-periods {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.pulse-mini {
  padding: 20px;
  border-right: 1px solid #e3eae1;
  min-width: 0;
}
.pulse-mini:last-child {
  border-right: 0;
}
.pulse-mini h3 {
  font-size: 17px;
  margin: 0 0 14px;
}
.pulse-mini > p {
  min-height: 42px;
  font-size: 13px;
}
.pulse-mini > small {
  display: block;
  margin-top: 14px;
  font-size: 10px;
}
.store-backlog {
  padding: 12px 22px;
  background: #faf1e9;
  margin: 0;
  font-size: 12px;
}
.pulse-filters {
  margin-bottom: 26px;
}
.pulse-filters > p {
  padding: 0 22px 20px;
  margin: 0;
}
.pulse-area > h2 {
  font-size: 21px;
  margin-top: 28px;
}
.timezone-indicator {
  margin: 0;
}
.chat-channel[aria-pressed="true"] {
  background: #e7f0e4;
}
@media (max-width: 800px) {
  .store-periods {
    grid-template-columns: 1fr;
  }
  .pulse-mini {
    border-right: 0;
    border-top: 1px solid #e3eae1;
  }
  .pulse-mini > p {
    min-height: 0;
  }
}
/* Interviews */
.booking-page {
  max-width: 780px;
  margin: 40px auto;
  padding: 32px;
}
.booking-page h1 {
  margin: 15px 0;
}
.booking-description {
  white-space: pre-wrap;
  line-height: 1.65;
}
.booking-month {
  justify-content: space-between;
  margin: 24px 0 16px;
}
.booking-calendar {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}
.booking-calendar > small {
  text-align: center;
  font-size: 10px;
}
.booking-calendar button {
  min-height: 54px;
  padding: 8px 2px;
  display: grid;
  place-items: center;
}
.booking-calendar button:not(:disabled) {
  background: #e1f1e7;
  color: #163f38;
  border-color: #78aa8f;
}
.booking-calendar button.selected {
  background: #163f38;
  color: white;
}
.booking-calendar button:disabled {
  opacity: 0.35;
}
.booking-calendar i {
  font-size: 7px;
}
.booking-blocks {
  margin: 25px 0;
  display: grid;
  gap: 10px;
}
.booking-blocks button {
  text-align: left;
  padding: 16px;
}
.booking-page small,
.interview-manager small {
  display: block;
  margin-top: 6px;
  line-height: 1.5;
}
.booking-page [data-error] {
  color: #a12b35;
  white-space: pre-wrap;
}
.booking-page form {
  border-top: 1px solid #ddd;
  padding-top: 24px;
}
.booking-confirmation {
  margin-top: 24px;
}
.interview-schedule {
  border-top: 1px solid #ddd;
  margin-top: 24px;
  padding-top: 24px;
}
.interview-block {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #e2e6e0;
  padding: 16px 0;
  flex-wrap: wrap;
}
.interview-block > span,
.interview-block > div {
  flex: 1;
  min-width: 180px;
}
.interview-block label {
  max-width: 150px;
}
.interview-block-list {
  max-height: 450px;
  overflow: auto;
}
.interview-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.interview-window,
.interview-exception {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: end;
  padding: 12px 0;
}
.interview-window label,
.interview-exception label {
  flex: 1;
  min-width: 110px;
}
.event-interview {
  background: #eee5fa;
  border-left: 3px solid #8a57b0;
  color: #523078;
}
.event-interview small {
  white-space: normal;
}
@media (max-width: 600px) {
  .booking-page {
    margin: 12px;
    padding: 20px;
  }
  .booking-month h2 {
    font-size: 18px;
  }
  .interview-fields {
    grid-template-columns: 1fr;
  }
  .booking-page .actions {
    display: flex;
    flex-wrap: wrap;
  }
  .mobilebar {
    overflow-x: auto;
    justify-content: flex-start;
  }
  .mobilebar button {
    flex-shrink: 0;
  }
}

.pagehead p:empty {
  display: none;
}
.interview-booking-link {
  margin: 18px 0;
  padding: 18px;
  background: #edf5ee;
  border: 1px solid #ccdcd0;
  border-radius: 12px;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}
.interview-booking-link label {
  margin: 0;
  font-weight: 600;
}
.interview-booking-link textarea {
  display: block;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-height: 76px;
  margin: 9px 0 12px;
  resize: vertical;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-all;
  font-size: 13px;
  line-height: 1.5;
  background: white;
}
.interview-booking-link .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.interview-booking-link [data-booking-copy-status] {
  font-size: 13px;
  margin: 12px 0 0;
}
.interview-manager,
.interview-schedule {
  min-width: 0;
}
.interview-schedule > .actions {
  flex-wrap: wrap;
}
@media (max-width: 600px) {
  .interview-booking-link {
    padding: 14px;
  }
  .interview-booking-link .actions > * {
    max-width: 100%;
  }
}
/* Interview setup, daily agenda and public booking */
.interviews-toolbar {
  display: flex;
  gap: 20px;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.interviews-toolbar > label {
  min-width: 210px;
  margin: 0;
}
.interviews-tabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--line);
}
.interviews-tabs button {
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 14px 18px;
  color: var(--muted);
}
.interviews-tabs button[aria-selected="true"] {
  color: var(--green);
  border-bottom: 3px solid var(--green);
  font-weight: 700;
}
.interview-bookings-layout {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.manager-calendar-panel {
  padding: 22px;
}
.manager-calendar-panel label {
  margin-top: 0;
}
.manager-calendar-panel .booking-month {
  margin: 20px 0 14px;
}
.booking-month h3 {
  font-size: 16px;
  white-space: nowrap;
}
.manager-calendar {
  gap: 3px;
}
.manager-calendar button {
  min-height: 44px;
  padding: 5px 2px;
  border-radius: 10px;
}
.manager-calendar button:not(:disabled) {
  background: transparent;
  border: 1px solid transparent;
  color: #354c44;
}
.manager-calendar button.has-availability {
  color: var(--green);
  background: #f0f6f1;
}
.manager-calendar button.is-today {
  border-color: #a1b9aa;
}
.manager-calendar button.selected {
  background: var(--green);
  color: white;
}
.manager-calendar i {
  font-style: normal;
  font-size: 9px;
  line-height: 12px;
}
.calendar-key {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-size: 12px;
  margin: 18px 0;
}
.small-copy {
  font-size: 12px;
  line-height: 1.6;
}
.interview-agenda {
  overflow: visible;
  min-width: 0;
}
.agenda-heading {
  padding: 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.agenda-heading .eyebrow {
  margin: 0 0 7px;
}
.agenda-heading h2 {
  font-size: 26px;
}
.agenda-heading p:last-child {
  margin: 8px 0 0;
}
.agenda-context {
  padding: 14px 26px;
  background: #f7faf7;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.agenda-times {
  padding: 8px 26px;
}
.agenda-time {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
}
.agenda-time:last-child {
  border: 0;
}
.agenda-time-label {
  padding-top: 4px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.agenda-time-label strong {
  font-size: 15px;
}
.agenda-time-label small {
  color: var(--muted);
}
.agenda-time-body {
  border-left: 2px solid #dce9df;
  padding-left: 20px;
  min-width: 0;
}
.agenda-time-body > .row {
  align-items: start;
  justify-content: space-between;
  gap: 14px;
}
.agenda-time-body h3 {
  font-size: 16px;
  margin: 0 0 7px;
}
.agenda-time-body p {
  font-size: 12px;
  margin: 0 0 5px;
}
.agenda-no-applicants {
  color: var(--muted);
  padding-top: 14px;
}
.agenda-applicant {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  border-top: 1px solid #edf0ed;
  padding-top: 15px;
  margin-top: 15px;
  flex-wrap: wrap;
}
.agenda-applicant > div:first-child {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.agenda-applicant a {
  color: var(--green);
  font-size: 13px;
}
.agenda-applicant .tag {
  font-size: 10px;
}
.agenda-applicant .cancelled {
  color: #88938b;
  background: #f0f2f0;
}
.agenda-empty {
  padding: 60px 20px;
  text-align: center;
  color: var(--muted);
}
.agenda-empty > span {
  font-size: 42px;
  color: #c3d5c8;
  display: block;
  margin-bottom: 16px;
}
.agenda-empty h3 {
  color: #344f43;
}
.agenda-empty p {
  margin: 12px 0 22px;
}
.capacity-control {
  position: relative;
  font-size: 12px;
  max-width: 170px;
}
.capacity-control > summary {
  cursor: pointer;
  padding: 6px 0;
  color: var(--green);
  white-space: nowrap;
}
.capacity-control[open] {
  padding: 10px;
  background: #f4f8f4;
  border: 1px solid var(--line);
  border-radius: 8px;
  min-width: 170px;
}
.capacity-control label {
  font-size: 11px;
}
.capacity-control input {
  min-width: 0;
  width: 100%;
}
.danger-text {
  color: #a04b50;
}
.interview-links-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}
.interview-link-card {
  padding: 26px;
  min-width: 0;
}
.interview-link-card > .row {
  gap: 12px;
  flex-wrap: nowrap;
  align-items: start;
}
.interview-link-card > .row > div {
  flex: 1;
  min-width: 0;
}
.interview-link-card h2 {
  font-size: 19px;
  overflow-wrap: anywhere;
}
.interview-link-card .muted {
  font-size: 12px;
  margin: 8px 0 0;
}
.interview-link-card > .actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.interview-type-dot {
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #4b8e70;
  flex-shrink: 0;
  margin-top: 7px;
}
dialog.interview-editor {
  position: fixed;
  inset: 0 0 0 auto;
  margin: 0;
  width: min(720px, 100vw);
  max-width: 100vw;
  height: 100dvh;
  max-height: 100dvh;
  padding: 0;
  border-radius: 16px 0 0 16px;
  overflow: auto;
  background: #fff;
}
.interview-editor > .dialog-head,
.interview-editor form > .dialog-head {
  padding: 20px 24px;
  position: sticky;
  top: 0;
  z-index: 5;
  background: white;
  border-bottom: 1px solid var(--line);
  margin: 0;
}
.interview-editor .dialog-head h2 {
  font-size: 20px;
}
.interview-editor .dialog-footer {
  position: sticky;
  bottom: 0;
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 18px 24px;
  margin: 0;
  z-index: 6;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}
.editor-preview-button {
  margin-right: auto;
}
.editor-title {
  padding: 24px;
}
.editor-title .eyebrow {
  margin: 0 0 15px;
}
.editor-title label {
  margin: 0;
}
.editor-title input {
  font-size: 20px;
  font-weight: 600;
  padding: 14px;
}
.interview-editor-section {
  border-top: 1px solid var(--line);
}
.interview-editor-section > summary {
  padding: 21px 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  list-style: none;
}
.interview-editor-section > summary::-webkit-details-marker {
  display: none;
}
.interview-editor-section > summary:after {
  content: "⌄";
  font-size: 18px;
  color: var(--muted);
}
.interview-editor-section[open] > summary:after {
  transform: rotate(180deg);
}
.interview-editor-section > summary strong {
  flex: 1;
  font-size: 15px;
}
.interview-editor-section > summary span {
  font-size: 12px;
  color: var(--muted);
  max-width: 240px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.interview-editor-body {
  padding: 0 24px 24px;
}
.interview-editor-body > label:first-child {
  margin-top: 0;
}
.interview-editor-body p {
  font-size: 12px;
  line-height: 1.6;
}
.editor-zone {
  color: var(--green);
  margin: 0 0 20px;
}
.editor-date-range,
.interview-editor .interview-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.editor-date-range > label,
.interview-fields > label {
  min-width: 0;
}
.editor-weekday {
  display: grid;
  grid-template-columns: 115px minmax(0, 1fr);
  gap: 12px;
  padding: 15px 0;
  border-top: 1px solid #eef1ee;
}
.weekday-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  margin: 8px 0 !important;
}
.weekday-toggle input,
.editor-date-exception [data-closed] {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--green);
}
.weekday-hours {
  min-width: 0;
}
.weekday-hours > [data-unavailable] {
  display: inline-block;
  font-size: 13px;
  color: var(--muted);
  margin: 8px 10px 8px 0;
}
.editor-time-range {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 9px;
  min-width: 0;
}
.editor-time-range label {
  font-size: 10px;
  margin: 0;
  min-width: 0;
  flex: 1;
}
.editor-time-range input {
  padding: 10px 8px;
  min-width: 0;
  width: 100%;
}
.editor-time-range > span {
  padding-top: 14px;
  color: var(--muted);
}
.editor-time-range > button {
  margin-top: 16px;
  padding: 9px;
  flex: 0 0 auto;
}
.weekday-hours > [data-add-hours] {
  font-size: 11px;
  padding: 7px 10px;
}
.editor-once-window {
  padding: 16px;
  background: #f7f9f7;
  border-radius: 10px;
  margin: 12px 0;
}
.editor-once-window > label {
  margin-top: 0;
}
.date-exceptions {
  border-top: 1px solid var(--line);
  margin-top: 20px;
  padding-top: 20px;
}
.date-exceptions > summary {
  cursor: pointer;
  font-weight: 600;
}
.date-exceptions > summary span {
  color: var(--muted);
  font-size: 11px;
  margin-left: 10px;
}
.editor-date-exception {
  padding: 16px;
  background: #f7f9f7;
  border-radius: 10px;
  margin: 14px 0;
}
.editor-date-exception > label:first-child {
  margin: 0;
}
.editor-preservation {
  margin: 0;
  padding: 20px 24px;
  font-size: 12px;
  color: var(--muted);
  background: #f7faf7;
}
.interview-editor form > .error {
  padding: 0 24px;
}
.interview-editor .check-label {
  font-size: 12px;
}
.interview-editor-section textarea {
  min-height: 120px;
}
dialog.interview-preview-panel,
dialog.interview-reschedule {
  width: min(1160px, 96vw);
  max-width: 96vw;
  max-height: 94dvh;
  overflow: auto;
  padding: 24px;
}
.interview-preview-panel > .dialog-head {
  margin: 0 0 15px;
}
.preview-notice {
  font-size: 12px;
  background: #f3f7f2;
  border-radius: 8px;
  padding: 12px 16px;
}
.interview-reschedule > p {
  font-size: 13px;
}
.interview-preview-panel [data-preview-page] .booking-shell {
  box-shadow: none;
  margin: 0;
  border-radius: 10px;
  border: 1px solid var(--line);
}
.booking-shell {
  max-width: 1160px;
  margin: 48px auto;
  background: white;
  border: 1px solid #e1e8e1;
  border-radius: 18px;
  box-shadow: 0 14px 48px #203e3110;
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  overflow: hidden;
  min-height: 620px;
}
.booking-event {
  padding: 34px 30px;
  border-right: 1px solid var(--line);
  min-width: 0;
}
.booking-brand {
  font-weight: 800;
  font-size: 18px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--green);
  margin-bottom: 38px;
}
.booking-brand > span {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: var(--green);
  color: white;
  font-size: 23px;
}
.booking-event .eyebrow {
  font-size: 10px;
  color: var(--muted);
  margin-bottom: 13px;
}
.booking-event h1 {
  font-size: 27px;
  line-height: 1.35;
  letter-spacing: -0.7px;
  margin: 0 0 24px;
  overflow-wrap: anywhere;
}
.booking-event-meta {
  font-size: 13px;
  font-weight: 600;
  color: #718176;
  line-height: 1.7;
  margin-bottom: 26px;
}
.booking-event-meta p {
  margin: 12px 0;
}
.booking-event .booking-description {
  font-size: 13px;
  color: #586e61;
  line-height: 1.8;
}
.booking-flow {
  padding: 34px 28px;
  min-width: 0;
}
.booking-flow h2 {
  font-size: 21px;
  margin: 0 0 22px;
}
.booking-flow > [data-error]:empty {
  display: none;
}
.booking-flow > [data-error] {
  color: #a04b50;
  margin: 0 0 20px;
}
.applicant-date-time {
  display: grid;
  grid-template-columns: minmax(260px, 1.15fr) minmax(190px, 0.85fr);
  gap: 28px;
  align-items: start;
}
.applicant-date-picker {
  min-width: 0;
}
.applicant-date-picker .booking-month {
  margin: 0 0 20px;
}
.applicant-date-picker .booking-month button {
  border: 0;
  padding: 9px 12px;
  background: #f3f7f3;
}
.applicant-date-picker .booking-calendar {
  gap: 5px;
}
.applicant-date-picker .booking-calendar button {
  border-radius: 50%;
  aspect-ratio: 1;
  min-height: 42px;
  padding: 6px 2px;
  border: 0;
  font-weight: 600;
}
.applicant-date-picker .booking-calendar button:not(:disabled) {
  background: #eaf4eb;
  color: #20684c;
}
.applicant-date-picker .booking-calendar button.selected {
  color: white;
  background: var(--green);
}
.applicant-date-picker .booking-calendar button:disabled {
  background: transparent;
  opacity: 0.34;
}
.applicant-date-picker .timezone-indicator {
  font-size: 11px;
  line-height: 1.6;
  margin-top: 24px;
  color: var(--muted);
}
.booking-flow .booking-blocks {
  margin: 0;
  padding-top: 4px;
  display: grid;
  gap: 10px;
  max-height: 570px;
  overflow: auto;
}
.booking-flow .booking-blocks h3 {
  font-size: 15px;
  margin: 7px 0 13px;
}
.booking-flow .booking-blocks > p {
  font-size: 13px;
  line-height: 1.6;
}
.booking-flow .booking-blocks > button {
  padding: 13px 15px;
  border: 1px solid #90b5a2;
  text-align: left;
  border-radius: 9px;
  background: white;
  color: var(--green);
  min-width: 0;
}
.booking-flow .booking-blocks > button:hover {
  background: #edf5ee;
  border-color: var(--green);
}
.booking-flow .booking-blocks strong {
  font-size: 13px;
  display: block;
  line-height: 1.6;
}
.booking-flow .booking-blocks small {
  font-size: 10px;
  display: block;
  margin-top: 4px;
  color: var(--muted);
}
.applicant-details-form {
  max-width: 420px;
}
.applicant-details-form .text-button {
  background: transparent;
  border: 0;
  color: var(--green);
  padding: 0;
  margin-bottom: 26px;
}
.chosen-interview-time {
  background: #f0f7f1;
  border-radius: 10px;
  padding: 18px;
  margin-bottom: 26px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.7;
}
.chosen-interview-time small {
  display: block;
  font-size: 11px;
  color: var(--muted);
}
.applicant-details-form input {
  padding: 14px;
}
.applicant-details-form > button[type="submit"] {
  padding: 14px 24px;
  margin-top: 14px;
}
.booking-flow .booking-confirmation {
  margin: 0;
}
.booking-confirmation .actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.booking-confirmation .tag {
  margin-bottom: 16px;
}
.booking-confirmation h2 {
  line-height: 1.6;
}
.booking-confirmation p {
  font-size: 13px;
  line-height: 1.8;
}
.booking-confirmation .scope-note {
  margin-top: 25px;
}
.booking-confirmation #data-reschedule {
  margin-top: 30px;
}
[data-choosing][hidden],
[data-weekly-hours][hidden],
[data-once-hours][hidden],
[data-ranges][hidden],
.exception-hours[hidden] {
  display: none !important;
}
@media (max-width: 1100px) {
  .interview-links-grid {
    grid-template-columns: 1fr;
  }
  .interview-bookings-layout {
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 18px;
  }
  .manager-calendar-panel {
    padding: 18px;
  }
  .applicant-date-time {
    grid-template-columns: 1fr;
  }
  .booking-flow .booking-blocks {
    max-height: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-top: 20px;
  }
  .booking-flow .booking-blocks > h3,
  .booking-flow .booking-blocks > p {
    grid-column: 1/-1;
  }
  .booking-shell {
    margin: 24px;
    grid-template-columns: 280px minmax(0, 1fr);
  }
}
@media (max-width: 750px) {
  .interview-bookings-layout {
    grid-template-columns: 1fr;
  }
  .manager-calendar-panel {
    max-width: none;
  }
  .manager-calendar {
    max-width: 420px;
    margin: auto;
  }
  .agenda-heading {
    padding: 22px;
  }
  .agenda-times {
    padding: 0 18px;
  }
  .agenda-time {
    grid-template-columns: 72px minmax(0, 1fr);
  }
  .agenda-time-body {
    padding-left: 14px;
  }
  .agenda-time-body > .row {
    flex-wrap: wrap;
  }
  .interviews-toolbar {
    gap: 14px;
  }
  .interviews-toolbar > label {
    width: 100%;
  }
  .interviews-tabs {
    flex: 1;
  }
  .interviews-toolbar > .primary {
    font-size: 12px;
    padding: 12px;
  }
  .booking-shell {
    grid-template-columns: 1fr;
    margin: 12px;
    min-height: 0;
    border-radius: 14px;
  }
  .booking-event {
    padding: 26px 24px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .booking-brand {
    margin-bottom: 26px;
  }
  .booking-event h1 {
    font-size: 25px;
    margin-bottom: 18px;
  }
  .booking-event-meta {
    margin-bottom: 14px;
  }
  .booking-event .booking-description {
    margin-bottom: 0;
  }
  .booking-flow {
    padding: 26px 20px;
  }
  .booking-flow .booking-blocks {
    padding-top: 12px;
  }
  .booking-flow h2 {
    font-size: 20px;
  }
  .applicant-date-time {
    gap: 18px;
  }
  .booking-flow .booking-blocks > button {
    padding: 12px;
  }
  .booking-flow .booking-blocks strong {
    font-size: 12px;
  }
  .interview-editor {
    border-radius: 0 !important;
  }
  .interview-editor-section > summary {
    padding: 19px 18px;
  }
  .interview-editor-section > summary span {
    max-width: 150px;
    font-size: 11px;
  }
  .interview-editor-body {
    padding: 0 18px 20px;
  }
  .editor-title {
    padding: 22px 18px;
  }
  .editor-weekday {
    grid-template-columns: 1fr;
    gap: 5px;
  }
  .interview-editor .dialog-footer {
    padding: 14px 16px;
  }
  .interview-editor .dialog-footer button {
    padding: 11px 15px;
  }
  .editor-date-range {
    gap: 12px;
  }
  .interview-link-card {
    padding: 22px;
  }
  .interview-preview-panel,
  .interview-reschedule {
    padding: 18px !important;
  }
  .interview-preview-panel .booking-event {
    padding: 22px 18px;
  }
  .interview-preview-panel .booking-flow {
    padding: 22px 16px;
  }
  .interview-preview-panel .booking-shell {
    margin: 0;
  }
  .agenda-applicant .actions {
    gap: 6px;
  }
}
.weekday-hours > [data-unavailable][hidden] {
  display: none !important;
}
.store-time-secondary {
  font-size: 10px;
  line-height: 1.65;
  color: #829087 !important;
  margin-top: 7px;
}
.agenda-time-label {
  min-width: 0;
}
.store-time-secondary {
  overflow-wrap: anywhere;
}

/* Status words remain readable without relying on color. */
.pulse-counts > button {
  text-align: left;
  border: 0;
  font-weight: inherit;
  font-size: inherit;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 12px;
  border-radius: 8px;
  line-height: 1.4;
}
.pulse-counts strong {
  font-size: 22px;
  line-height: 1.1;
}
.pulse-completed {
  background: #e4f1e6;
  color: #245b32;
}
.pulse-overdue {
  background: #fae9e2;
  color: #883c2d;
}
.pulse-upcoming {
  background: #eef2f7;
  color: #3b566e;
}
.pulse-review {
  background: #eee9f7;
  color: #554271;
}
select:not([multiple]):not([size]) {
  appearance: none;
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%234a6259' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  text-overflow: ellipsis;
}
@media (forced-colors: active) {
  select:not([multiple]):not([size]) {
    appearance: auto;
    background-image: none;
  }
}

.breadcrumb-parent {
  padding: 4px 0;
  border: 0;
  background: transparent;
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.path {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.booking-counts {
  border-top: 1px solid var(--line);
  padding: 20px;
  margin-top: 0;
}
.booking-counts > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.booking-counts button {
  display: grid;
  gap: 6px;
  font-size: 12px;
}
.booking-counts strong {
  font-size: 22px;
}

.billing-panel {
  padding: 24px;
  margin-bottom: 20px;
}
.billing-panel p {
  line-height: 1.7;
}
.billing-totals {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 24px 0;
}
.billing-totals > div {
  display: grid;
  gap: 10px;
  padding: 18px;
  background: #f1f5f2;
  border-radius: 10px;
}
.billing-totals strong {
  font-size: 24px;
}
.billing-plan-form,
.billing-plan-list,
.billing-customer-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.billing-plan-form {
  margin: 20px 0 30px;
}
.billing-plan-form label {
  margin: 0;
}
.billing-recovery {
  max-width: 1000px;
  margin: auto;
  padding: 24px;
}
.billing-recovery > label {
  max-width: 400px;
}
@media (max-width: 650px) {
  .billing-totals,
  .billing-plan-form,
  .billing-plan-list,
  .billing-customer-list {
    grid-template-columns: 1fr;
  }
  .billing-panel {
    padding: 18px;
  }
  .billing-panel .row {
    flex-wrap: wrap;
  }
}

.staff-signin {
  max-width: 520px;
  margin: 0 auto;
  padding: 48px 24px;
  min-height: 0;
}
.staff-signin form {
  width: 100%;
}

.auth.auth-simple {
  display: grid;
  place-items: center;
  min-height: 100vh;
}
.auth-simple .authform {
  width: min(100%, 460px);
  padding: 32px;
  min-height: 0;
}
.auth-simple .authform .brand {
  padding-bottom: 28px;
}
.account-responsibility {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}
.account-responsibility input {
  width: auto;
}
:where(button, a, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

.staff-account-list,
.staff-account-history {
  padding: 8px 24px;
}
.staff-account-list > .row + .row {
  border-top: 1px solid var(--line);
}
.staff-account-list > .error:empty {
  display: none;
}
.staff-account-history {
  margin-top: 16px;
  padding-block: 20px;
}
@media (max-width: 760px) {
  .mobilebar {
    display: flex;
    justify-content: space-around;
    overflow: visible;
    padding: 6px 8px max(6px, env(safe-area-inset-bottom));
    gap: 2px;
  }
  .mobilebar > button,
  .mobilebar > .mobile-more {
    flex: 1 1 0;
    min-width: 0;
  }
  .mobilebar > button,
  .mobile-more > summary {
    font-size: 11px;
    padding: 8px 2px;
    text-align: center;
    white-space: nowrap;
  }
  .mobile-more > summary {
    cursor: pointer;
    list-style: none;
    border-radius: 8px;
    font-weight: 600;
  }
  .mobile-more > summary::-webkit-details-marker {
    display: none;
  }
  .mobile-more > summary.active,
  .mobile-more[open] > summary {
    background: #e2eee6;
    color: var(--green);
  }
  .mobile-more > nav {
    position: absolute;
    bottom: calc(100% + 8px);
    right: 12px;
    width: min(280px, calc(100vw - 24px));
    max-height: 65vh;
    overflow-y: auto;
    background: white;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 8px;
    box-shadow: 0 8px 32px #122d3824;
    display: grid;
    gap: 4px;
  }
  .mobile-more > nav button {
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
    font-size: 14px;
    padding: 12px;
    width: 100%;
    white-space: normal;
  }
  .mobile-more > nav button span {
    margin: 0;
    font-size: 18px;
  }
  .staff-account-list,
  .staff-account-history {
    padding-inline: 18px;
  }
}

.request-dialog {
  width: min(860px, 96vw);
  max-height: 92vh;
  overflow: auto;
}
.request-dialog [data-body] {
  padding-block: 16px;
}
.request-dialog .dialog-footer {
  position: sticky;
  bottom: -28px;
  padding: 16px 0;
  background: white;
  border-top: 1px solid var(--line);
}
.request-tabs {
  display: flex;
  gap: 8px;
}
.request-list-row {
  display: flex;
  width: 100%;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 20px 24px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  text-align: left;
  font-weight: 400;
}
.request-list-row strong {
  display: block;
  margin-bottom: 8px;
  font-size: 15px;
}
.request-detail {
  padding: 24px;
}
.request-detail > header {
  margin: 24px 0;
}
.request-detail .scope-note {
  margin: 20px 0;
}
.request-answer {
  margin: 24px 0;
}
.request-answer h3 {
  margin-bottom: 12px;
}
.request-preserve {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.request-field {
  padding: 0;
  margin: 24px 0;
  border: 0;
  min-width: 0;
}
.request-field legend {
  font-weight: 600;
  margin-bottom: 12px;
}
.request-field legend .muted {
  font-weight: 400;
}
.request-options {
  display: grid;
  gap: 12px;
}
.request-options label,
.request-inline,
.request-item-choice {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}
.request-options input,
.request-inline input,
.request-item-choice input {
  width: auto;
  flex: 0 0 auto;
}
.request-item {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.request-item-choice {
  flex: 1;
  min-width: 110px;
}
.request-thumb {
  width: 64px;
  height: 64px;
  padding: 0;
  overflow: hidden;
  flex: 0 0 64px;
}
.request-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.request-image-large {
  width: 100%;
  max-height: 65vh;
  object-fit: contain;
}
.request-quantity {
  width: 95px;
  margin: 0;
}
.request-buy {
  margin-left: auto;
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 600;
  color: var(--green);
  text-decoration: none;
}
.request-form-card {
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
}
.request-form-card p {
  margin-bottom: 0;
}
.request-form-card .row {
  flex-wrap: wrap;
}
.request-policy {
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
}
.request-builder-field {
  border: 1px solid var(--line);
  border-radius: 9px;
  margin: 16px 0;
}
.request-builder-field > summary {
  padding: 16px;
  font-weight: 600;
  cursor: pointer;
}
.request-builder-field-body {
  padding: 0 16px 16px;
}
.request-builder-field-body > .row {
  align-items: start;
  flex-wrap: wrap;
  gap: 16px;
}
.request-builder-field-body > .row > label {
  flex: 1;
  min-width: 150px;
}
.request-builder-item {
  padding: 16px;
  background: #f5f7f5;
  border-radius: 8px;
  margin: 12px 0;
}
.request-routing {
  margin: 24px 0;
}
.request-routing > summary {
  cursor: pointer;
  font-weight: 600;
}
.request-routing fieldset {
  border: 0;
  padding: 16px 0;
}
.request-routing .request-inline {
  margin: 12px 0;
}
.request-updates {
  border-top: 1px solid var(--line);
  margin-top: 24px;
  padding-top: 24px;
}
@media (max-width: 650px) {
  .request-dialog {
    padding: 20px;
  }
  .request-dialog .dialog-footer {
    bottom: -20px;
  }
  .request-dialog .two {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
  }
  .request-detail,
  .request-form-card,
  .request-policy {
    padding: 18px;
  }
  .request-form-list .panelhead {
    align-items: center;
    gap: 12px;
  }
  .request-form-list .panelhead h2 {
    font-size: 18px;
  }
  .request-list-row {
    padding: 18px;
  }
  .request-thumb {
    width: 52px;
    height: 52px;
    flex-basis: 52px;
  }
  .request-quantity {
    width: 80px;
  }
  .request-tabs {
    gap: 2px;
  }
  .request-tabs button {
    padding: 10px 8px;
  }
}
.request-form-list {
  overflow: visible;
}
.request-form-toolbar {
  justify-content: flex-end;
}
.request-actions-more {
  position: relative;
}
.request-actions-more > summary {
  padding: 10px 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}
.request-actions-more > summary::-webkit-details-marker {
  display: none;
}
.request-actions-more > div {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  width: 210px;
  display: grid;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 8px 28px #122d3824;
  z-index: 5;
}
.request-actions-more > div button {
  text-align: left;
  border: 0;
}
.request-add-field {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}
.request-add-field label {
  margin: 0;
}
.request-add-field button {
  align-self: flex-end;
  flex: 0 0 auto;
}
.request-item-settings {
  margin: 12px 0;
}
.request-item-settings > summary {
  cursor: pointer;
  color: var(--green);
  padding: 6px 0;
}
.request-control-group {
  display: grid;
  gap: 6px;
  margin: 14px 0;
}
.request-control-group > label {
  margin: 0;
}
.request-builder-field-body > .row > .request-control-group {
  flex: 1;
  min-width: 150px;
}
.request-add-field .request-control-group {
  margin: 0;
}

/* Quiet, compact store conversations. */
.chat-layout {
  gap: 0;
  border: 1px solid #dfe7e2;
  border-radius: 14px;
  overflow: hidden;
  background: white;
}
.chat-layout > .panel {
  border: 0;
  border-radius: 0;
  margin: 0;
}
.chat-channel-list {
  align-self: stretch;
  border-right: 1px solid #e5ebe3 !important;
  background: #fafcfb;
}
.chat-channel-list .panelhead {
  padding: 20px 16px;
}
.chat-channel-list h2 {
  font-size: 16px;
}
.chat-channel {
  padding: 14px 16px;
}
.chat-channel [data-channel-last] {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  color: #64766e;
}
.chat-conversation > header {
  padding: 18px 22px;
}
.chat-conversation > header h2 {
  font-size: 20px;
}
.chat-conversation > header p {
  margin: 5px 0;
  font-size: 12px;
}
.chat-conversation > header details {
  font-size: 12px;
}
.chat-messages {
  background: #f8faf9;
  height: clamp(300px, 48vh, 560px);
  gap: 14px;
}
.chat-bubble {
  min-width: 0;
  border: 0;
  box-shadow: 0 1px 2px #1f3c2d0a;
  padding: 11px 14px;
}
.chat-bubble.mine {
  background: #e6f1eb;
}
.chat-bubble p {
  margin: 7px 0;
}
.chat-connection[hidden] {
  display: none;
}
#chat-composer {
  padding: 14px 18px;
}
#chat-composer textarea {
  min-height: 56px;
  max-height: 150px;
  resize: vertical;
  margin-bottom: 8px;
  background: #fafcfb;
}
#chat-composer .row {
  align-items: center;
}
#chat-composer button {
  padding: 9px 22px;
}
#chat-send-error:empty {
  display: none;
}
@media (max-width: 650px) {
  .chat-channel-list {
    max-height: 180px;
    border-right: 0 !important;
    border-bottom: 1px solid #e5ebe3 !important;
  }
  .chat-channel-list .panelhead {
    padding: 12px 16px;
  }
  .chat-channel {
    padding: 10px 16px;
  }
  .chat-channel [data-channel-area] {
    display: none;
  }
  .chat-conversation > header {
    padding: 14px 16px;
  }
  .chat-messages {
    padding: 14px;
  }
  #chat-composer {
    padding: 12px;
  }
}

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

/* Keep location switching, messages and composing together in the viewport. */
.main:has(#store-chat-layout) {
  height: 100dvh;
  min-height: 560px;
  display: flex;
  flex-direction: column;
  padding-bottom: 24px;
}
.main:has(#store-chat-layout) > .topbar {
  flex-shrink: 0;
  margin-bottom: 16px;
}
.main:has(#store-chat-layout) > .pagehead {
  flex-shrink: 0;
  margin-bottom: 16px;
}
.main:has(#store-chat-layout) > #content {
  flex: 1;
  min-height: 0;
}
#store-chat-layout {
  height: 100%;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr);
}
.chat-switcher {
  padding: 12px 18px 0;
}
#chat-location {
  font-size: 17px;
  font-weight: 700;
  background-color: #f5f8f6;
  text-overflow: ellipsis;
}
#chat-conversation {
  min-height: 0;
}
#chat-conversation > header {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 8px 18px 12px;
  flex-shrink: 0;
}
#chat-conversation > header > p {
  margin: 0;
}
#chat-conversation details {
  flex-shrink: 0;
}
#chat-participants-list {
  position: absolute;
  right: 12px;
  top: calc(100% - 6px);
  z-index: 2;
  width: min(320px, calc(100% - 24px));
  max-height: 200px;
  overflow: auto;
  background: white;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 8px 24px #173c2520;
}
#chat-messages {
  flex: 1;
  height: auto;
  min-height: 100px;
  overscroll-behavior: contain;
}
#chat-messages > * {
  flex-shrink: 0;
}
#chat-compose-host, #chat-earlier, .chat-connection {
  flex-shrink: 0;
}
#chat-composer textarea {
  min-height: 48px;
  max-height: 96px;
}
@media (max-width: 760px) {
  .main:has(#store-chat-layout) {
    min-height: 500px;
    padding-bottom: calc(76px + env(safe-area-inset-bottom));
  }
  .main:has(#store-chat-layout) > .pagehead {
    margin-bottom: 12px;
  }
  .chat-switcher {
    padding: 10px 12px 0;
  }
  #chat-location {
    font-size: 16px;
  }
  #chat-conversation > header {
    padding: 8px 12px 10px;
  }
  #chat-conversation > header > p {
    font-size: 11px;
  }
  #chat-composer textarea {
    font-size: 16px;
  }
  #chat-composer small {
    display: none;
  }
  #chat-composer .row {
    justify-content: flex-end;
  }
}

.mobile-menu-trigger {
  display: none;
}
body:has(dialog.mobile-menu[open]) {
  overflow: hidden;
}
dialog.mobile-menu {
  position: fixed;
  inset: 0 auto 0 0;
  width: min(320px, 88vw);
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  border: 0;
  border-radius: 0 18px 18px 0;
  padding: max(24px, env(safe-area-inset-top)) 16px max(24px, env(safe-area-inset-bottom));
  background: #fff;
  color: var(--green);
  overflow-y: auto;
}
dialog.mobile-menu[open] {
  animation: menu-slide-in 180ms ease-out;
}
dialog.mobile-menu::backdrop {
  background: #172e2866;
}
.mobile-menu > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 4px 24px 12px;
}
.mobile-menu h2 {
  margin-top: 8px;
  font-size: 20px;
  overflow-wrap: anywhere;
}
.mobile-menu [data-close-menu] {
  border: 0;
  flex-shrink: 0;
}
@keyframes menu-slide-in {
  from { transform: translateX(-100%); }
  to { transform: translateX(0); }
}
@media (prefers-reduced-motion: reduce) {
  dialog.mobile-menu[open] { animation: none; }
}
@media (max-width: 760px) {
  .topbar > .path { display: none; }
  .mobile-menu-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    font: 700 17px Manrope, system-ui, sans-serif;
  }
  .mobile-menu-trigger button {
    display: grid;
    place-items: center;
    padding: 10px;
    border: 0;
    background: transparent;
  }
}

.time-amount { min-width: 0; margin: 14px 0; }
.time-amount > label { margin: 0 0 6px; }
.time-amount-custom { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.time-amount-custom[hidden] { display: none; }
.time-amount-custom label { margin-bottom: 0; }

.booking-brand-custom { width: 100%; }
.booking-brand-custom img {
  display: block;
  max-width: 100%;
  width: auto;
  height: auto;
  max-height: 180px;
  object-fit: contain;
}
.booking-image-editor { margin-bottom: 24px; }
.booking-image-editor [data-booking-image-preview] img {
  display: block;
  max-width: 100%;
  max-height: 160px;
  object-fit: contain;
  margin: 12px 0;
}
.booking-image-editor [role="status"]:empty { display: none; }
@media (max-width: 650px) {
  .booking-brand-custom img { max-height: 150px; }
}

/* Submission issues stay beside the field, including inside expandable setup. */
[aria-invalid="true"] { border-color: #b42318 !important; outline: 2px solid #b42318; outline-offset: 2px; background-color: #fff7f6; scroll-margin-block: 110px; }
.field-error { color: #b42318; font-size: 13px; font-weight: 500; line-height: 1.4; margin: 6px 0 0; }
.section-invalid > summary { color: #b42318; background: #fff7f6; }
[data-form-error]:not([hidden]) { border: 1px solid #b42318; border-radius: 10px; padding: 12px; margin: 16px 24px; scroll-margin-block: 110px; }
.booking-map-link { text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
[data-once-hours] { margin: 16px 0 22px; }

/* Shared dashboard: one view choice and one scope control. */
.dashboard-controls { display:flex; gap:12px; margin-bottom:20px; align-items:center; }
.dashboard-controls select { width:auto; min-width:150px; }
.dashboard-controls button { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.dashboard-cards { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr)); gap:18px; margin-bottom:24px; }
.dashboard-cards .store-pulse-card { margin:0; min-width:0; }
.dashboard-cards .panelhead { min-height:72px; }
.dashboard-cards .pulse-mini { border:0; padding:16px 20px; }
.dashboard-cards .pulse-counts { grid-template-columns:repeat(2,minmax(0,1fr)); grid-auto-rows:1fr; margin:14px 0; }
.dashboard-cards .pulse-counts > button { min-height:86px; width:100%; justify-content:center; }
.dashboard-interviews { display:flex; align-items:center; gap:12px; margin:0 20px 20px; width:calc(100% - 40px); text-align:left; background:#e7f2ed; border:0; padding:14px; }
.dashboard-interviews strong { margin-left:auto; }
.notification-settings { max-width:620px; padding:24px; }
.notification-settings fieldset { padding:0; border:0; margin:0; }
.notification-option { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:16px 0; border-bottom:1px solid #e3eae1; }
.notification-option input { width:22px; height:22px; margin:0; flex:none; accent-color:#245b49; }
.notification-settings fieldset:disabled { opacity:.5; }
.notification-device { border-top:1px solid #e3eae1; margin-top:24px; padding-top:20px; }
.interview-advanced { margin-top:12px; padding:14px; border:1px solid #e3eae1; border-radius:14px; }
.interview-advanced > summary { font-weight:650; cursor:pointer; }
.pagehead p:empty { display:none; }
@media(max-width:680px) {
  .dashboard-controls { gap:8px; }
  .dashboard-controls select { min-width:0; width:44%; }
  .dashboard-controls button { flex:1; min-width:0; }
  .dashboard-cards { grid-template-columns:minmax(0,1fr); }
  .calendarhead h2 { font-size:16px; }
  .notification-settings { padding:18px; }
}

.checklist-editor { margin:20px 0; }
.checklist-edit-row { display:flex; gap:10px; align-items:center; margin:10px 0; }
.checklist-edit-row input { min-width:0; flex:1; margin:0; }
.checklist-edit-row button { flex:none; border:0; padding:10px; }

/* Conversations stay beside the location list, or fill the phone screen. */
.has-chat .pagehead { display:none; }
.has-chat #content { padding-top:16px; }
.chat-layout { display:grid; grid-template-columns:280px minmax(0,1fr); gap:0; height:calc(100dvh - 126px); min-height:360px; border:1px solid #e1e7e3; border-radius:18px; overflow:hidden; background:white; }
.chat-list-pane { overflow:auto; border-right:1px solid #e1e7e3; padding:14px 8px; }
.chat-list-pane h2 { padding:4px 12px 16px; }
.chat-channel { display:flex; align-items:center; gap:10px; border:0; width:100%; border-radius:12px; background:transparent; padding:14px 10px; text-align:left; }
.chat-channel.selected { background:#eaf2ee; }
.chat-channel > span:nth-child(2) { min-width:0; flex:1; font-size:14px; margin-top:0; }
.chat-channel strong, .chat-channel small { display:block; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
.chat-channel small { font-size:12px; color:#77827a; font-weight:400; margin-top:5px; }
.chat-channel b { color:white; background:#245b49; border-radius:20px; padding:3px 7px; }
.chat-channel > .chat-channel-avatar { font-size:15px; font-weight:650; margin-top:0; width:38px; height:38px; display:grid; place-items:center; flex:none; background:#edf1ed; border-radius:50%; }
.chat-conversation { height:100%; min-height:0; border:0; border-radius:0; display:flex; flex-direction:column; overflow:hidden; margin:0; }
.chat-conversation > .panelhead { display:flex; align-items:center; gap:12px; padding:10px 16px; flex:none; border-bottom:1px solid #edf0ed; }
.chat-conversation > .panelhead > div { flex:1; }
.chat-conversation h2 { font-size:16px; }
.chat-conversation .panelhead p { font-size:11px; margin:3px 0 0; }
.chat-conversation [data-chat-back] { display:none; }
.chat-conversation .chat-messages { flex:1; height:auto; min-height:0; padding:18px; overflow:auto; }
.chat-bubble { max-width:80%; border-radius:18px; padding:10px 14px; background:#f0f1f3; border:0; }
.chat-bubble.mine { background:#e4f0eb; }
.chat-bubble header span { display:none; }
.chat-bubble header { margin-bottom:4px; }
.chat-bubble.mine header { display:none; }
.chat-bubble time { font-size:10px; opacity:.7; }
.chat-bubble [data-chat-media] img, .chat-bubble [data-chat-media] video { display:block; max-width:100%; max-height:320px; border-radius:12px; margin:8px 0; }
.chat-media-open { border:0; min-height:80px; min-width:140px; background:#d9e6df; }
#chat-composer { display:block; padding:10px 14px; border-top:1px solid #edf0ed; }
.chat-compose-row { display:flex; align-items:flex-end; gap:10px; }
.chat-compose-row textarea { flex:1; min-width:0; min-height:42px; height:42px; margin:0; border-radius:22px; resize:none; padding:10px 14px; }
.chat-compose-row [type=submit] { flex:none; width:40px; height:40px; border:0; border-radius:50%; background:#245b49; color:white; font-size:24px; padding:0; }
.chat-add-media { position:relative; width:36px; height:42px; margin:0; display:grid; place-items:center; font-size:27px; cursor:pointer; overflow:hidden; }
.chat-add-media input { position:absolute; inset:0; opacity:0; width:100%; cursor:pointer; }
#chat-send-error:empty { display:none; }
#chat-send-error { margin:0 0 6px; font-size:12px; }
#chat-attachments { display:flex; gap:8px; overflow:auto; }
.chat-attachment-chip { font-size:11px; padding:7px; margin-bottom:8px; white-space:nowrap; }
@media(max-width:899px) {
  .has-chat .main { padding-bottom:75px; }
  .has-chat #content { padding:0; }
  .chat-layout { grid-template-columns:minmax(0,1fr); height:calc(100dvh - 150px); min-height:280px; }
  .chat-layout .chat-conversation { display:none; }
  .chat-layout.conversation-open .chat-list-pane { display:none; }
  .chat-layout.conversation-open .chat-conversation { display:flex; }
  .chat-conversation [data-chat-back] { display:block; font-size:25px; padding:5px 10px; border:0; }
}

/* Public product introduction */
.landing{--ink:#173b31;--accent:#215b46;color:var(--ink);background:#fafbf7;min-height:100dvh;font-size:16px;line-height:1.6}.landing a{color:inherit;text-decoration:none}.landing a:hover{text-decoration:underline}.landing-nav,.landing main,.landing footer{max-width:1192px;margin:auto;padding-left:40px;padding-right:40px}.landing-nav{height:96px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #dce4db}.landing .brand{margin:0;gap:10px;font-size:23px}.landing-nav nav{display:flex;gap:28px;align-items:center;font-size:14px}.landing-signin{padding:9px 15px;border:1px solid #b8c8bc;border-radius:24px}.landing-hero{display:grid;grid-template-columns:1.05fr 1fr;gap:64px;align-items:center;padding:90px 0 96px}.landing-kicker{font-size:12px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;margin:0 0 20px;color:#527060}.landing h1{font-size:clamp(43px,5vw,66px);letter-spacing:-.055em;line-height:1.06;margin:0 0 25px;font-weight:650}.landing-intro{max-width:480px;font-size:19px;color:#52645a;line-height:1.6}.landing-actions{display:flex;align-items:center;gap:26px;margin:32px 0 20px;font-size:14px}.landing .landing-cta{display:inline-flex;align-items:center;justify-content:space-between;gap:28px;color:white;background:#215b46;border-radius:8px;padding:14px 22px;font-weight:600;white-space:nowrap;text-decoration:none}.landing-cta:hover{background:#173b31}.landing-note{font-size:12px;color:#66766a}.landing-demo{background:white;border:1px solid #d5dfd4;border-radius:18px;box-shadow:0 24px 70px #173b3112;overflow:hidden;transform:rotate(-1deg)}.demo-toolbar{display:flex;justify-content:space-between;align-items:center;padding:16px 22px;border-bottom:1px solid #edf0e9;font-size:12px}.demo-pill{border:1px solid #dfe7db;border-radius:20px;padding:4px 10px}.demo-heading{padding:22px 22px 15px;display:flex;flex-direction:column;gap:2px}.demo-heading strong{font-size:20px;letter-spacing:-.035em}.demo-heading span{font-size:11px;color:#829182}.demo-stats{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:0 22px 20px}.demo-stats>div{min-height:88px;padding:14px;border-radius:9px;display:flex;flex-direction:column;gap:1px}.demo-stats b{font-size:27px;line-height:1.2}.demo-stats span{font-size:11px}.demo-complete{background:#e5f1e6;color:#2b603e}.demo-overdue{background:#fff0e8;color:#9b5034}.demo-upcoming{background:#eaf0fc;color:#3c5a94}.demo-review{background:#f3ebfa;color:#745295}.demo-location{margin:0 22px;display:flex;align-items:center;gap:12px;padding:14px 0;border-top:1px solid #edf0e9;font-size:11px}.demo-avatar{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;background:#f0f3ea;font-size:14px;font-weight:600}.demo-location>div{display:flex;flex-direction:column;flex:1}.demo-location strong{font-size:13px}.demo-location>div span{color:#7c887c}.demo-done{color:#307449}.demo-message{display:flex;align-items:center;gap:12px;padding:16px 22px;background:#f5f8f1;font-size:12px}.demo-message>span{background:#dae5d5;border-radius:50%;padding:7px 12px}.demo-message p{flex:1;margin:0}.demo-message small{color:#7a8d7b}.landing-section{padding:76px 0;border-top:1px solid #dce4db}.landing h2{font-size:clamp(30px,3.6vw,44px);letter-spacing:-.045em;line-height:1.12;margin:0 0 25px;font-weight:600}.landing-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:45px;margin-top:45px}.landing-steps article>span{font-size:12px;color:#79917d}.landing h3{font-size:20px;margin:10px 0;letter-spacing:-.025em}.landing-steps p,.landing-feature-grid p{color:#596d60;line-height:1.7;font-size:15px}.landing-feature-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:24px;margin-bottom:80px}.landing-feature-grid article{padding:40px;border:1px solid #e0e8dc;border-radius:14px;background:#f1f5ec}.landing-feature-grid article+article{background:#f3f1e9}.landing-feature-grid h2{font-size:35px}.landing-feature-grid .landing-small{font-size:13px;margin-top:32px}.demo-booking{display:flex;align-items:center;gap:8px;background:#fff;border-radius:10px;padding:16px;margin-top:27px;flex-wrap:wrap;font-size:10px}.demo-booking>div{flex:1;min-width:100px;display:flex;flex-direction:column;font-size:11px}.demo-booking>span{padding:7px 9px;border:1px solid #d7e2d5;border-radius:6px}.landing-table-wrap{overflow:auto}.landing table{width:100%;border-collapse:collapse;font-size:14px}.landing caption{text-align:left;margin:0 0 20px;color:#617665}.landing th,.landing td{text-align:left;border-bottom:1px solid #dbe4d7;padding:20px 16px;vertical-align:top}.landing thead th{font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:#6b806f}.landing tbody th{min-width:135px}.landing-own{background:#eef4e9}.landing td:nth-child(2){width:28%}.landing-close{padding:50px;border-radius:14px;background:#e7efde;display:flex;justify-content:space-between;align-items:center;gap:35px;margin:20px 0 70px}.landing-close p:last-child{font-size:14px;color:#5f745f}.landing footer{display:flex;justify-content:space-between;gap:25px;align-items:center;padding-top:32px;padding-bottom:32px;border-top:1px solid #dce4db;font-size:12px}.landing footer .brand{font-size:18px}.landing :is(a,button):focus-visible{outline:3px solid #9cb088;outline-offset:5px}@media(max-width:800px){.landing-nav,.landing main,.landing footer{padding-left:22px;padding-right:22px}.landing-nav{height:76px}.landing-nav nav{gap:12px}.landing-nav nav>a:not(.landing-signin){display:none}.landing-hero{grid-template-columns:1fr;gap:40px;padding:55px 0}.landing-demo{transform:none;max-width:500px;width:100%;margin:auto}.landing-intro{font-size:17px}.landing-steps,.landing-feature-grid{grid-template-columns:1fr;gap:22px}.landing-steps{margin-top:30px}.landing-section{padding:50px 0}.landing-feature-grid{margin-bottom:45px}.landing-feature-grid article{padding:28px}.landing h2{font-size:32px}.landing-close{padding:28px;align-items:flex-start;flex-direction:column;margin-bottom:40px}.landing footer>span{display:none}.landing th,.landing td{padding:15px 12px;min-width:170px}.landing tbody th{min-width:115px}.landing-actions{gap:18px}.landing-note{line-height:1.7}}
/* One grid row keeps the composer pinned below the message list. */
#store-chat-layout{grid-template-columns:280px minmax(0,1fr);grid-template-rows:minmax(0,1fr);min-height:0}
.main:has(#store-chat-layout){min-height:0}
#chat-messages{min-height:0}
#chat-composer textarea{resize:none;margin:0;min-height:42px;max-height:130px;font-size:16px}
#chat-composer .chat-compose-row>[type=submit]{padding:0;display:grid;place-items:center}
@media(max-width:899px){#store-chat-layout{grid-template-columns:minmax(0,1fr)}}

.chat-area-heading { margin:18px 12px 6px; font-size:12px; font-weight:750; color:var(--muted); letter-spacing:.03em; }
.task-view-switch { display:flex; gap:4px; width:fit-content; padding:4px; margin-bottom:16px; background:var(--line,#e5e7eb); border-radius:12px; }
.task-view-switch button { border:0; background:transparent; min-width:90px; }
.task-view-switch button[aria-pressed="true"] { background:var(--panel,white); box-shadow:0 1px 4px #0002; }
