/* GENERATED FILE - DO NOT EDIT.
   Source: shared/lb-picker.css - run `npm run sync:shared` after editing. */

/* LakbayBook picker (shared/lb-picker.js): our sheet for long dropdowns (web + app). */
.lbsel {
  position: fixed;
  inset: 0;
  z-index: 2147482000;
}

.lbsel-scrim {
  position: absolute;
  inset: 0;
  background: rgba(26, 20, 16, 0.32);
}

.lbsel.is-pop .lbsel-scrim {
  background: transparent;
}

.lbsel-panel {
  position: absolute;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fffdf8;
  color: #1a1410;
  box-shadow: 0 12px 40px rgba(26, 20, 16, 0.22);
  font-family: inherit;
}

.lbsel.is-sheet .lbsel-panel {
  left: 0;
  right: 0;
  bottom: 0;
  max-height: 60vh;
  border-radius: 1.1rem 1.1rem 0 0;
  padding-bottom: var(--safe-bot, env(safe-area-inset-bottom, 0px));
  animation: lbsel-up 0.18s ease-out;
}

.lbsel.is-pop .lbsel-panel {
  border: 1px solid rgba(26, 20, 16, 0.12);
  border-radius: 0.8rem;
}

@keyframes lbsel-up {
  from {
    transform: translateY(24px);
    opacity: 0.6;
  }
  to {
    transform: none;
    opacity: 1;
  }
}

.lbsel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.75rem 0.9rem 0.4rem;
  font-size: 0.95rem;
}

.lbsel.is-pop .lbsel-head {
  display: none;
}

.lbsel-x {
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 999px;
  background: #f1ece2;
  color: #4a3f36;
  font-size: 1.1rem;
  cursor: pointer;
}

.lbsel-search {
  margin: 0.25rem 0.75rem 0.5rem;
  min-height: 2.4rem;
  padding: 0.4rem 0.8rem;
  border: 1px solid rgba(26, 20, 16, 0.18);
  border-radius: 0.7rem;
  background: #fff;
  font: inherit;
  font-size: 0.95rem;
}

.lbsel.is-pop .lbsel-search {
  margin-top: 0.6rem;
}

.lbsel-list {
  margin: 0;
  padding: 0 0.4rem 0.5rem;
  overflow-y: auto;
  overscroll-behavior: contain;
  list-style: none;
}

.lbsel-opt {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  min-height: 2.75rem;
  padding: 0.45rem 0.7rem;
  border: 0;
  border-radius: 0.6rem;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 0.95rem;
  text-align: left;
  cursor: pointer;
}

.lbsel-opt:hover,
.lbsel-opt:focus-visible {
  background: #f3eee4;
  outline: none;
}

.lbsel-opt.is-on {
  background: #e6efe5;
  color: #1f4d36;
  font-weight: 700;
}

.lbsel-opt:disabled {
  opacity: 0.45;
  cursor: default;
}

.lbsel-opt i {
  font-style: normal;
}

.lbsel-group {
  padding: 0.6rem 0.7rem 0.2rem;
  color: #8a7f74;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.lbsel-empty {
  margin: 0.75rem 1rem 1rem;
  color: #6c776f;
  font-size: 0.9rem;
}

/* Colour sheet (LbPicker colour, for <input type="color">) */
.lbsel.is-center .lbsel-panel {
  top: 50%;
  left: 50%;
  width: min(380px, calc(100vw - 32px));
  max-height: min(640px, calc(100vh - 32px));
  border-radius: 1rem;
  transform: translate(-50%, -50%);
}

.lbc .lbsel-panel {
  max-height: 80vh;
}

.lbc-body {
  display: grid;
  gap: 0.75rem;
  padding: 0.25rem 0.9rem 0.75rem;
  overflow-y: auto;
}

.lbc-preview {
  display: flex;
  align-items: flex-end;
  height: 64px;
  padding: 0.6rem 0.8rem;
  border-radius: 0.8rem;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
}

.lbc-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.5rem;
}

.lbc-sw {
  aspect-ratio: 1;
  min-height: 2.5rem;
  border: 2px solid transparent;
  border-radius: 0.7rem;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
  cursor: pointer;
}

.lbc-sw.is-on {
  border-color: #fffdf8;
  box-shadow: 0 0 0 2px #1a1410;
}

.lbc-row {
  display: grid;
  grid-template-columns: 3.4rem 1fr;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  font-weight: 700;
}

.lbc-hue,
.lbc-shade {
  width: 100%;
  height: 0.9rem;
  border-radius: 999px;
  appearance: none;
  -webkit-appearance: none;
  outline: none;
}

.lbc-hue {
  background: linear-gradient(90deg, #8a3a3a, #8a6a24, #5d6631, #2f5d46, #1f5f5f, #25507a, #1f2f55, #5c4a62, #8a3a5a, #8a3a3a);
}

.lbc-hue::-webkit-slider-thumb,
.lbc-shade::-webkit-slider-thumb {
  width: 1.5rem;
  height: 1.5rem;
  border: 3px solid #fff;
  border-radius: 999px;
  background: transparent;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
  -webkit-appearance: none;
  appearance: none;
}

.lbc-hue::-moz-range-thumb,
.lbc-shade::-moz-range-thumb {
  width: 1.2rem;
  height: 1.2rem;
  border: 3px solid #fff;
  border-radius: 999px;
  background: transparent;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

.lbc-hex {
  min-height: 2.3rem;
  padding: 0.3rem 0.7rem;
  border: 1px solid rgba(26, 20, 16, 0.18);
  border-radius: 0.6rem;
  font: inherit;
  font-family: ui-monospace, Menlo, Consolas, monospace;
  text-transform: lowercase;
}

.lbc-foot {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  padding: 0.6rem 0.9rem calc(0.8rem + var(--safe-bot, env(safe-area-inset-bottom, 0px)));
  border-top: 1px solid #eee5d4;
}

.lbc-btn {
  min-height: 2.6rem;
  padding: 0.4rem 1.1rem;
  border: 0;
  border-radius: 999px;
  background: #1e3a2f;
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.lbc-btn.is-quiet {
  background: transparent;
  color: #4a3f36;
  box-shadow: inset 0 0 0 1px rgba(26, 20, 16, 0.18);
}

/* Time sheet (LbPicker time, for <input type="time">) */
.lbt .lbsel-panel {
  max-height: 85vh;
}

.lbt.is-center .lbsel-panel {
  width: min(400px, calc(100vw - 32px));
}

.lbt-body {
  display: grid;
  gap: 0.55rem;
  padding: 0.1rem 0.9rem 0.75rem;
  overflow-y: auto;
}

.lbt-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.5rem 0.9rem;
  border-radius: 14px;
  background: #1e3a2f;
  color: #fffaf0;
}

.lbt-read {
  margin: 0;
}

.lbt-read b {
  font-family: "Fraunces", Georgia, serif;
  font-size: 2.6rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}

.lbt-ampm {
  display: grid;
  gap: 0.3rem;
}

.lbt-ampm button {
  min-width: 3.4rem;
  min-height: 2rem;
  border: 1px solid rgba(255, 250, 240, 0.35);
  border-radius: 999px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
}

.lbt-ampm button.is-on {
  background: #f7bb50;
  border-color: #f7bb50;
  color: #1e3a2f;
}

.lbt-label {
  margin: 0.25rem 0 0;
  color: #8a7f74;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lbt-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.35rem;
}

.lbt-grid.is-few {
  grid-template-columns: repeat(4, 1fr);
}

.lbt-grid button {
  min-height: 2.75rem;
  border: 1px solid rgba(26, 20, 16, 0.12);
  border-radius: 0.7rem;
  background: #fff;
  color: #1a1410;
  font: inherit;
  font-weight: 600;
  font-size: 0.98rem;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
}

.lbt-grid button:hover,
.lbt-grid button:focus-visible {
  border-color: #2c5b44;
  outline: none;
}

.lbt-grid button.is-on {
  background: #e6efe5;
  border-color: #2c5b44;
  color: #1f4d36;
  font-weight: 800;
}

.lbt-clear {
  margin-right: auto;
}

/* Calendar sheet (LbPicker date, for <input type="date"> / "datetime-local") */
.lbd .lbsel-panel {
  max-height: 88vh;
}

.lbd.is-center .lbsel-panel {
  width: min(400px, calc(100vw - 32px));
}

.lbd-body {
  display: grid;
  gap: 0.45rem;
  padding: 0.1rem 0.9rem 0.75rem;
  overflow-y: auto;
}

.lbd-read {
  margin: 0;
  padding: 0.6rem 0.9rem;
  border-radius: 14px;
  background: #1e3a2f;
  color: #fffaf0;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.45rem;
  font-weight: 600;
}

.lbd-nav {
  display: grid;
  grid-template-columns: 2.75rem 1fr 2.75rem;
  align-items: center;
  text-align: center;
}

.lbd-nav b {
  font-size: 1.02rem;
}

.lbd-nav button {
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(26, 20, 16, 0.12);
  border-radius: 999px;
  background: #fff;
  color: #1a1410;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.lbd-nav button:disabled {
  opacity: 0.3;
  cursor: default;
}

.lbd-week,
.lbd-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.25rem;
  text-align: center;
}

.lbd-week span {
  color: #8a7f74;
  font-size: 0.72rem;
  font-weight: 700;
}

.lbd-days button {
  aspect-ratio: 1;
  min-height: 2.5rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: #1a1410;
  font: inherit;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
}

.lbd-days button:hover,
.lbd-days button:focus-visible {
  border-color: #2c5b44;
  outline: none;
}

.lbd-days button.is-today {
  border-color: #b0893a;
}

.lbd-days button.is-on {
  background: #1e3a2f;
  border-color: #1e3a2f;
  color: #fffaf0;
}

.lbd-days button:disabled {
  opacity: 0.28;
  cursor: default;
}

.lbd-time {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.4rem;
  padding-top: 0.6rem;
  border-top: 1px solid #eee5d4;
}

.lbt-ampm.is-row {
  display: flex;
  gap: 0.4rem;
}

.lbt-ampm.is-row button {
  flex: 1;
  border-color: rgba(26, 20, 16, 0.16);
  color: #1a1410;
}

.lbt-ampm.is-row button.is-on {
  background: #1e3a2f;
  border-color: #1e3a2f;
  color: #fffaf0;
}

/* Date + time: shorter day cells so the calendar and the time buttons fit with less scrolling. */
.lbd.has-time .lbd-days button {
  aspect-ratio: auto;
  min-height: 2.3rem;
}

/* No grey/blue tap flash or browser focus box on our picker buttons (focus-visible rings stay). */
.lbsel button {
  -webkit-tap-highlight-color: transparent;
}

.lbsel button:focus:not(:focus-visible) {
  outline: none;
}

/* Typeable time readout (tap the big time, type 11:43 / 1143) */
.lbt-read {
  display: grid;
  gap: 0.1rem;
  cursor: text;
}

.lbt-type {
  width: 6.4ch;
  padding: 0;
  border: 0;
  border-bottom: 2px dashed rgba(255, 250, 240, 0.35);
  background: transparent;
  color: #fffaf0;
  font-family: "Fraunces", Georgia, serif;
  font-size: 2.6rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  outline: none;
}

.lbt-type:focus {
  border-bottom-color: #f7bb50;
}

.lbt-read small {
  color: rgba(255, 250, 240, 0.6);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
}

/* Calendar: tappable month title → month / year grid; date + time as two chips (date | time). */
.lbd-month {
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 1.02rem;
  font-weight: 700;
  color: #1a1410;
  cursor: pointer;
  padding: 0.4rem 0.6rem;
  border-radius: 999px;
  width: auto !important;
  height: auto !important;
  justify-self: center;
}

.lbd-month:hover {
  background: #f3eee4;
}

.lbd-year {
  font-size: 1.1rem;
}

.lbd-mgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.45rem;
  margin-top: 0.3rem;
}

.lbd-mgrid button,
.lbd-today {
  min-height: 3rem;
  border: 1px solid rgba(26, 20, 16, 0.12);
  border-radius: 0.8rem;
  background: #fff;
  color: #1a1410;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.lbd-mgrid button.is-on {
  background: #1e3a2f;
  border-color: #1e3a2f;
  color: #fffaf0;
}

.lbd-mgrid button:disabled {
  opacity: 0.3;
  cursor: default;
}

.lbd-today {
  width: 100%;
  margin-top: 0.55rem;
  color: #2c5b44;
}

.lbd-chips {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 0.4rem;
}

.lbd-chip {
  min-height: 3.2rem;
  border: 2px solid transparent;
  border-radius: 14px;
  background: #f1ece2;
  color: #1a1410;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
}

.lbd-chip.is-on {
  background: #1e3a2f;
  color: #fffaf0;
}

.lbd .lbd-time {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

/* the date-only and time views keep normal-size day cells now that time has its own view */
.lbd.has-time .lbd-days button {
  aspect-ratio: 1;
  min-height: 2.5rem;
}

/* the three calendar views switch with [hidden] */
.lbd [data-lbd-view][hidden] {
  display: none !important;
}

/* Inside a modal dialog the dialog's own input rule (.pass-modal input:not(…) — 0,4,1) won over
   the search box (full width + margins → clipped). Same look as outside a dialog (2026-10-03). */
dialog .lbsel.is-on input.lbsel-search[type] {
  width: auto;
  min-height: 2.4rem;
  margin: 0.25rem 0.75rem 0.5rem;
  padding: 0.4rem 0.8rem;
  border: 1px solid rgba(26, 20, 16, 0.18);
  border-radius: 0.7rem;
  background: #fff;
  color: inherit;
  font-size: 0.95rem;
}
dialog .lbsel.is-on.is-pop input.lbsel-search[type] {
  margin-top: 0.6rem;
}
