@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/fonts/playfair-display-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/fonts/playfair-display-latin.woff2) format('woff2'); 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: 'Playfair Display'; font-style: italic; font-weight: 400 600; font-display: swap; src: url(/fonts/playfair-display-italic-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Playfair Display'; font-style: italic; font-weight: 400 600; font-display: swap; src: url(/fonts/playfair-display-italic-latin.woff2) format('woff2'); 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: 'Lora'; font-style: normal; font-weight: 400 600; font-display: swap; src: url(/fonts/lora-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Lora'; font-style: normal; font-weight: 400 600; font-display: swap; src: url(/fonts/lora-latin.woff2) format('woff2'); 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: 'Lora'; font-style: italic; font-weight: 400 500; font-display: swap; src: url(/fonts/lora-italic-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Lora'; font-style: italic; font-weight: 400 500; font-display: swap; src: url(/fonts/lora-italic-latin.woff2) format('woff2'); 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; }

:root {
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Lora', Georgia, serif;
  --walnut: #755D3B;
  --walnut-deep: #5A4529;
  --walnut-dark: #3D2B1A;
  --linen: #E1CEBB;
  --linen-light: #F0E6D8;
  --linen-pale: #F7F0E8;
  --tan: #C4A882;
  --tan-light: #E3D5C1;
  --tan-mid: #A08060;
  --muted: #816A4E;
  --field-border: #CDBFAE;
  --ink: #1E1410;
  --on-photo: #fff;
  --glass-blur: 14px;
  --glass-tint: color-mix(in srgb, var(--linen-pale) 55%, transparent);
  --glass-tint-solid: color-mix(in srgb, var(--linen-pale) 90%, transparent);
  --glass-tint-clear: color-mix(in srgb, var(--linen-pale) 18%, transparent);
  --glass-blur-clear: 6px;
  --disabled-bg: #E9E7E4;
  --disabled-fg: #6A6763;
  --danger: #A40E26;
  --danger-line: #F0C3C8;
  --danger-wash: #FFEBE9;
  --card-face: #FBF7F1;
  --feather: #FFF8F0;
  --focus-ring: 0 0 0 2px #fff, 0 0 0 4px var(--tan);
  --field-focus: 0 0 0 3px rgba(117, 93, 59, 0.15);
  accent-color: var(--walnut);
}

[hidden] { display: none !important; }

a { color: var(--walnut); }
a:where(:hover) { color: var(--walnut-deep); }

:where(:focus-visible) { outline: 2px solid var(--tan); outline-offset: 2px; }

label, .group-label {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--walnut-dark);
}

input:where(:not([type="checkbox"], [type="radio"], [type="range"])), select, textarea, .field {
  width: 100%;
  padding: 8px 12px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  text-align: left;
  color: var(--walnut-dark);
  background: #fff;
  border: 1px solid var(--field-border);
  border-radius: 10px;
}

input::placeholder, textarea::placeholder { color: var(--muted); opacity: 1; }

input:where(:not([type="checkbox"], [type="radio"], [type="range"])):where(:focus), select:where(:focus), textarea:where(:focus) {
  outline: none;
  border-color: var(--walnut);
  box-shadow: var(--field-focus);
}

input:where(:disabled, [readonly]), select:where(:disabled), textarea:where(:disabled, [readonly]) { background: var(--linen-pale); color: var(--muted); }
input:where([readonly]:not(:disabled)), textarea:where([readonly]:not(:disabled)) { color: var(--walnut); }

@media (max-width: 640px) {
  input:where(:not([type="checkbox"], [type="radio"], [type="range"])), select, textarea { font-size: 16px; }
}

input:where([type="file"]) { padding: 4px 5px; }
input:where([type="time"], [type="date"], [type="datetime-local"], [type="month"], [type="week"]) { box-sizing: border-box; height: 38px; }
input:where([type="file"])::file-selector-button {
  margin-right: 10px;
  padding: 3px 12px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  line-height: 20px;
  color: var(--walnut);
  background: #fff;
  border: 1px solid var(--tan);
  border-radius: 999px;
  cursor: pointer;
}

button, a:where(.btn), label:where(.btn) {
  display: inline-block;
  padding: 8px 18px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  text-align: center;
  text-decoration: none;
  color: #fff;
  background: var(--walnut);
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}

button:where(:hover:not(:disabled)), a:where(.btn:hover), label:where(.btn:hover) { color: #fff; background: var(--walnut-deep); }
:is(button, .btn):is(:disabled, [aria-disabled="true"]):not(.is-busy, .is-saved, .is-pressed) { color: var(--disabled-fg); background: var(--disabled-bg); border-color: var(--disabled-bg); box-shadow: none; opacity: 1; cursor: default; }
:is(button, .btn)[aria-disabled="true"]:not(.is-busy, .is-saved, .is-pressed) { pointer-events: none; }
:is(button, .btn)[aria-disabled="true"]:focus-visible { box-shadow: var(--focus-ring); }
button:where(:focus), a:where(.btn:focus) { outline: none; }
button:where(:focus-visible), a:where(.btn:focus-visible) { box-shadow: var(--focus-ring); }

button:where(:has(> svg:first-child, > img:first-child)), a:where(.btn:has(> svg:first-child, > img:first-child)), label:where(.btn:has(> svg:first-child, > img:first-child)) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
:where(button, .btn) > :where(svg:first-child, img:first-child) { flex: none; }
:where(button, .btn) :where(svg:not([fill])) { fill: currentColor; }

.lj-to-top {
  position: fixed;
  right: 2rem;
  bottom: calc(2rem + var(--footer-lift, 0px));
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.25rem;
  letter-spacing: 0.025em;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: translateY(1rem);
  pointer-events: none;
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.15s;
}
.lj-to-top.is-shown { opacity: 1; transform: translateY(0); pointer-events: auto; }
.lj-to-top span { display: none; }
@media (min-width: 640px) {
  .lj-to-top { width: auto; height: auto; padding: 0.625rem 1rem; }
  .lj-to-top span { display: inline; }
}

.secondary, .dd-toggle { color: var(--walnut); background: #fff; border-color: var(--tan); }
.secondary:where(:hover:not(:disabled)), .dd-toggle:where(:hover:not(:disabled)) { color: var(--walnut-deep); background: var(--linen-pale); }
.secondary:where(.selected, [aria-pressed="true"]),
.secondary:where(.selected, [aria-pressed="true"]):where(:hover:not(:disabled)) { color: #fff; background: var(--walnut); border-color: var(--walnut); }

.danger { color: var(--danger); background: #fff; border-color: var(--danger-line); }
.danger:where(:hover:not(:disabled)) { color: var(--danger); background: var(--danger-wash); }

.quiet { color: var(--muted); background: transparent; border-color: transparent; }
.quiet:where(:hover:not(:disabled)) { color: var(--walnut-deep); background: var(--linen-pale); }

.field:where(:hover:not(:disabled)) { color: var(--walnut-dark); background: #fff; border-color: var(--tan); }

.small { padding: 3px 12px; font-size: 13px; }
.xsmall { position: relative; padding: 2px 10px; font-size: 12px; line-height: 18px; }
@media (max-width: 640px) {
  .xsmall:not(.is-busy, .is-saved)::before { content: ""; position: absolute; top: 50%; left: -1px; right: -1px; height: 32px; margin-top: -16px; }
}

.block { display: block; width: 100%; }

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  font-size: 20px;
  line-height: 1;
}
.icon-btn > :where(svg, img) { width: 18px; height: 18px; }
.icon-btn.small { width: 28px; height: 28px; padding: 0; font-size: 14px; }
.icon-btn.small > :where(svg, img) { width: 16px; height: 16px; }

.lj-press { position: relative; overflow: hidden; isolation: isolate; -webkit-tap-highlight-color: transparent; transition: background-color 0.15s, color 0.15s, border-color 0.15s, opacity 0.2s; }
.lj-press::after { content: ""; position: absolute; z-index: -1; left: var(--lj-press-x, 50%); top: var(--lj-press-y, 50%); width: var(--lj-press-size, 0px); height: var(--lj-press-size, 0px); margin: calc(var(--lj-press-size, 0px) / -2) 0 0 calc(var(--lj-press-size, 0px) / -2); border-radius: 50%; background: currentColor; opacity: 0; pointer-events: none; }
.lj-press.is-pressed { animation: lj-press 0.3s ease-out; }
.lj-press.is-pressed::after { animation: lj-ripple 0.55s ease-out; }
.lj-press.is-pressed:disabled { opacity: 1; }
@keyframes lj-press { 0% { transform: scale(1); } 35% { transform: scale(0.96); } 100% { transform: scale(1); } }
@keyframes lj-ripple { 0% { opacity: 0.32; transform: scale(0); } 100% { opacity: 0; transform: scale(1); } }
@keyframes lj-press-flash { 0% { opacity: 0.22; } 100% { opacity: 0; } }
button.is-busy { position: relative; min-width: 7.5rem; color: transparent !important; pointer-events: none; opacity: 1; }
button.is-busy:disabled { opacity: 1; box-shadow: none; }
button.is-busy::before { content: ""; position: absolute; left: calc(50% - 3.1em); top: 50%; width: 14px; height: 14px; margin: -7px 0 0 0; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.3); border-top-color: #fff; animation: lj-spin 0.32s linear infinite; }
button.is-busy::after { content: attr(data-busy); position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding-left: 20px; color: #fff; }
button.is-busy:where(.secondary, .quiet, .danger, .dd-toggle, .field)::before { border-color: rgba(117, 93, 59, 0.25); border-top-color: var(--walnut); }
button.is-busy:where(.secondary, .quiet, .danger, .dd-toggle, .field)::after { color: var(--walnut); }
button.is-busy.danger::before { border-color: rgba(185, 28, 28, 0.25); border-top-color: var(--danger); }
button.is-busy.danger::after { color: var(--danger); }
button.is-saved, button.is-saved:where(.secondary, .quiet, .danger):hover { color: #fff; background: var(--walnut-dark); border-color: var(--walnut-dark); animation: lj-save-success 0.75s cubic-bezier(0.22, 1, 0.36, 1) both; }
button.is-saved:disabled { opacity: 1; }
button.is-saved::before { content: ""; display: inline-block; width: 14px; height: 14px; margin-right: 6px; vertical-align: -2px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 4 4L19 6'/%3E%3C/svg%3E") center / contain no-repeat; animation: lj-save-check 0.55s cubic-bezier(0.22, 1, 0.36, 1) both; }
button.is-saved::after { content: none; }
@keyframes lj-spin { to { transform: rotate(360deg); } }
@keyframes lj-save-success {
  0% { transform: translateY(0) scale(1); }
  35% { transform: translateY(-3px) scale(1.04); box-shadow: 0 14px 34px -12px rgba(117, 93, 59, 0.85); }
  70% { transform: translateY(0) scale(0.99); }
  100% { transform: translateY(0) scale(1); }
}
@keyframes lj-save-check {
  0% { transform: scale(0.5) rotate(-45deg); opacity: 0; }
  55% { transform: scale(1.18) rotate(5deg); opacity: 1; }
  100% { transform: scale(1) rotate(0); opacity: 1; }
}
.lj-close, .modal-close { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 40px; height: 40px; padding: 0; border: 1px solid rgba(196, 168, 130, 0.4); border-radius: 50%; background: #fff; color: var(--walnut); box-shadow: none; cursor: pointer; transition: transform 0.3s, background-color 0.2s, border-color 0.2s; }
.lj-close svg, .modal-close svg { width: 16px; height: 16px; }
.lj-close:hover:not(:disabled), .modal-close:hover:not(:disabled) { transform: rotate(90deg); background: var(--linen-pale); color: var(--walnut); }
.lj-close:not(:disabled):active, .modal-close:not(:disabled):active { transform: rotate(90deg) scale(0.96); }
.lj-close:focus-visible, .modal-close:focus-visible { outline: 2px solid var(--walnut); outline-offset: 2px; }
.lj-close.small { width: 32px; height: 32px; }
.lj-close.on-dark { border-color: rgba(255, 255, 255, 0.2); background: transparent; color: var(--linen, #F0E6D8); }
.lj-close.on-dark:hover:not(:disabled) { border-color: rgba(255, 255, 255, 0.4); background: rgba(255, 255, 255, 0.08); color: var(--linen, #F0E6D8); }
@media (prefers-reduced-motion: reduce) {
  button.is-busy::before { animation-duration: 1.6s; }
  button.is-saved, button.is-saved::before { animation: none; }
  .lj-close, .modal-close { transition: background-color 0.2s; }
  .lj-close:hover:not(:disabled), .modal-close:hover:not(:disabled), .lj-close:not(:disabled):active, .modal-close:not(:disabled):active { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .lj-press.is-pressed { animation: none; }
  .lj-press.is-pressed::after { animation: lj-press-flash 0.4s ease-out; }
}

.back-to-top {
  position: fixed;
  right: 2rem;
  bottom: calc(2rem + env(safe-area-inset-bottom, 0px));
  z-index: 50;
  padding: 10px 16px;
  letter-spacing: 0.025em;
  box-shadow: 0 10px 15px -3px rgba(30, 20, 16, 0.18), 0 4px 6px -4px rgba(30, 20, 16, 0.18);
  opacity: 0;
  transform: translateY(1rem);
  pointer-events: none;
  transition: opacity 0.5s, transform 0.5s, background-color 0.5s;
}
.back-to-top.shown { opacity: 1; transform: none; pointer-events: auto; }
@media (max-width: 639px) {
  .back-to-top { width: 44px; height: 44px; padding: 0; }
  .back-to-top > span { display: none; }
}
@media (prefers-reduced-motion: reduce) { .back-to-top { transition: none; } }
html.lj-theo .lj-to-top, html.lj-theo .back-to-top { right: calc(2rem + 5rem); }

.switch { position: relative; display: inline-block; width: 40px; height: 22px; flex: none; }
.switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.switch span { position: absolute; inset: 0; border-radius: 22px; background: var(--tan-light); cursor: pointer; transition: background 0.2s; }
.switch span::before { content: ""; position: absolute; width: 16px; height: 16px; left: 3px; top: 3px; border-radius: 50%; background: #fff; transition: transform 0.2s; }
.switch input:checked + span { background: var(--walnut); }
.switch input:checked + span::before { transform: translateX(18px); }
.switch input:focus-visible + span { box-shadow: var(--focus-ring); }
.switch input:disabled + span { opacity: 0.5; cursor: default; }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }

.row-actions { display: flex; align-items: center; gap: 8px; white-space: nowrap; }

.lj-player-controls { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.lj-player-skip, .lj-player-toggle { position: relative; isolation: isolate; display: inline-flex; flex: none; align-items: center; justify-content: center; width: 48px; height: 48px; padding: 0; color: var(--walnut-dark); background: transparent; border: 0; border-radius: 50%; transition: background-color 0.18s ease-in-out, color 0.18s ease-in-out, opacity 0.2s; }
.lj-player-skip > svg, .lj-player-toggle > svg { width: 22px; height: 22px; }
.lj-player-skip:hover:not(:disabled), .lj-player-toggle:hover:not(:disabled) { color: var(--walnut-dark); background: rgba(117, 93, 59, 0.08); }
.lj-player-toggle, .lj-player-toggle:hover:not(:disabled) { color: rgba(129, 106, 78, 0.78); color: color-mix(in srgb, var(--muted) 78%, transparent); }
.lj-player-toggle::before { content: ""; position: absolute; z-index: -1; inset: 4px; border: 1px solid transparent; border-radius: 50%; transition: background-color 0.18s ease-in-out, border-color 0.18s ease-in-out; }
.lj-player-toggle[aria-pressed="true"], .lj-player-toggle[aria-pressed="true"]:hover:not(:disabled) { color: var(--walnut-deep); }
.lj-player-toggle[aria-pressed="true"]::before { background: rgba(117, 93, 59, 0.14); background: color-mix(in srgb, var(--walnut) 14%, transparent); border-color: rgba(117, 93, 59, 0.35); border-color: color-mix(in srgb, var(--walnut) 35%, transparent); }
.lj-player-disc { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 72px; height: 72px; padding: 0; color: var(--walnut-dark); background: #fff; border: 1px solid rgba(196, 168, 130, 0.4); border-radius: 50%; box-shadow: 0 4px 20px rgba(61, 43, 26, 0.18); transition: background-color 0.15s, opacity 0.2s; }
.lj-player-disc > svg { width: 32px; height: 32px; }
.lj-player-disc:hover:not(:disabled) { color: var(--walnut-dark); background: var(--linen-pale); }
.lj-player-disc:focus-visible { box-shadow: var(--focus-ring), 0 4px 20px rgba(61, 43, 26, 0.18); }
.lj-glyph-pause { display: none; }
.lj-player-disc.is-playing .lj-glyph-play, .lj-now-row.is-playing .lj-glyph-play, .lj-track.is-playing .lj-glyph-play { display: none; }
.lj-player-disc.is-playing .lj-glyph-pause, .lj-now-row.is-playing .lj-glyph-pause, .lj-track.is-playing .lj-glyph-pause { display: block; }
.lj-seek { display: flex; align-items: center; gap: 10px; }
.lj-seek-time { display: flex; flex: none; flex-direction: column; align-items: center; font-family: var(--font-body); font-size: 13px; line-height: 20px; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.lj-seek-time::before { content: attr(data-widest); height: 0; overflow: hidden; visibility: hidden; }
.lj-seek-bar { --lj-seek-fill: 0%; flex: 1 1 auto; min-width: 0; height: 44px; margin: 0; padding: 0; background: transparent; cursor: pointer; -webkit-appearance: none; appearance: none; }
.lj-seek-bar:focus { outline: none; }
.lj-seek-bar:disabled { cursor: default; opacity: 0.6; }
.lj-seek-bar::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: linear-gradient(to right, var(--walnut) var(--lj-seek-fill), #D8D2CA var(--lj-seek-fill)); }
.lj-seek-bar::-webkit-slider-thumb { width: 24px; height: 24px; margin-top: -10px; background: #fff; border: 0; border-radius: 50%; box-shadow: 0 1px 4px rgba(30, 20, 16, 0.28), 0 0 0 0.5px rgba(30, 20, 16, 0.12); -webkit-appearance: none; appearance: none; }
.lj-seek-bar::-moz-range-track { height: 4px; background: #D8D2CA; border-radius: 2px; }
.lj-seek-bar::-moz-range-progress { height: 4px; background: var(--walnut); border-radius: 2px; }
.lj-seek-bar::-moz-range-thumb { width: 24px; height: 24px; background: #fff; border: 0; border-radius: 50%; box-shadow: 0 1px 4px rgba(30, 20, 16, 0.28), 0 0 0 0.5px rgba(30, 20, 16, 0.12); }
.lj-seek-bar:focus-visible::-webkit-slider-thumb { box-shadow: var(--focus-ring); }
.lj-seek-bar:focus-visible::-moz-range-thumb { box-shadow: var(--focus-ring); }
.lj-meter { display: flex; align-items: flex-end; justify-content: center; gap: 3px; box-sizing: border-box; height: 72px; padding: 16px; background: rgba(240, 230, 216, 0.5); border-radius: 10px; }
.lj-meter > span { flex: 1 1 0; min-width: 2px; max-width: 8px; height: 3px; background: var(--walnut); border-radius: 2px; }
.lj-now-row { display: flex; align-items: center; gap: 12px; width: 100%; height: 48px; padding: 0 16px; color: var(--walnut); text-align: left; background: rgba(240, 230, 216, 0.5); border: 0; border-radius: 12px; }
.lj-now-row:hover:not(:disabled) { color: var(--walnut); background: rgba(240, 230, 216, 0.9); }
.lj-now-row-glyph { display: inline-flex; flex: none; }
.lj-now-row-glyph > svg { width: 14px; height: 14px; }
.lj-now-row-label { flex: none; font-size: 14px; font-weight: 500; line-height: 20px; white-space: nowrap; }
.lj-now-row-title { flex: 1 1 auto; min-width: 0; overflow: hidden; font-size: 13px; font-weight: 400; line-height: 20px; color: var(--walnut); white-space: nowrap; text-overflow: ellipsis; }
.lj-now-row > svg { flex: none; width: 13px; height: 13px; }
.lj-track { display: flex; align-items: center; gap: 12px; width: 100%; height: 44px; padding: 0 16px; font-size: 14px; font-weight: 400; line-height: 20px; color: var(--walnut-deep); text-align: left; background: transparent; border: 0; border-radius: 8px; }
.lj-track:hover:not(:disabled) { color: var(--walnut-deep); background: rgba(245, 230, 211, 0.6); }
.lj-track:focus-visible { box-shadow: inset 0 0 0 2px var(--tan); }
.lj-track.is-current, .lj-track.is-current:hover:not(:disabled) { background: rgba(117, 93, 59, 0.15); background: color-mix(in srgb, var(--walnut) 15%, transparent); }
.lj-track-glyph { display: inline-flex; flex: none; justify-content: center; width: 14px; color: var(--walnut); }
.lj-track-glyph > svg { width: 14px; height: 14px; }
.lj-track-line { flex: 1 1 auto; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.lj-track-year { flex: none; font-size: 13px; line-height: 20px; color: var(--muted); }
.lj-track.is-current .lj-track-year { color: var(--walnut-deep); }
.lj-prompt-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.lj-prompt-list > :only-child { grid-column: 1 / -1; }
.lj-prompt-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "label label" "line arrow"; align-content: start; gap: 16px; box-sizing: border-box; width: 100%; height: 100%; min-height: 179px; padding: 22px; color: var(--walnut-deep); text-align: start; text-decoration: none; background: var(--lj-paper, #FDFBF7); border: 1px solid var(--lj-hairline, #DED6C8); border-radius: 12px; -webkit-tap-highlight-color: transparent; transition: background-color 0.15s; }
.lj-prompt-row:where(:hover, :active) { background: var(--lj-linen-paper, #F7F4ED); }
.lj-prompt-row:where(:focus) { outline: none; }
.lj-prompt-row:where(:focus-visible) { outline: 2px solid var(--walnut); outline-offset: 2px; }
.lj-prompt-row-text { display: contents; }
.lj-prompt-row-label { grid-area: label; display: flex; flex-direction: column; gap: 6px; min-width: 0; font-family: var(--font-ui, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif); font-size: 12px; font-weight: 400; line-height: 15px; letter-spacing: 0.7px; text-transform: uppercase; color: var(--walnut); }
.lj-prompt-row-label > span { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.lj-prompt-row-label > span + span { font-size: 11px; line-height: 13px; letter-spacing: 0.8px; }
.lj-prompt-row-line { grid-area: line; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; line-clamp: 4; overflow: hidden; font-family: var(--font-body); font-size: 19px; font-weight: 400; line-height: 1.5; overflow-wrap: anywhere; }
.lj-prompt-row-arrow { grid-area: arrow; display: grid; place-items: center; height: 28.5px; color: var(--walnut); }
.lj-prompt-row-arrow > svg { width: 20px; height: 20px; }
.lj-prompt-row:dir(rtl) .lj-prompt-row-arrow > svg { transform: scaleX(-1); }
.lj-prompt-row.is-personal { display: flex; align-items: center; gap: 24px; min-height: 162px; padding: 28px; color: #fff; background: var(--walnut-deep); border: 0; border-radius: 18px; }
.lj-prompt-row.is-personal:where(:hover, :active) { background: color-mix(in srgb, var(--walnut-deep) 85%, #000); }
.lj-prompt-row.is-personal .lj-prompt-row-text { display: flex; flex: 1 1 auto; flex-direction: column; gap: 14px; min-width: 0; }
.lj-prompt-row.is-personal .lj-prompt-row-label { font-size: 11px; line-height: 13px; letter-spacing: 1.4px; color: #fff; }
.lj-prompt-row.is-personal .lj-prompt-row-line { -webkit-line-clamp: 3; line-clamp: 3; font-size: 20px; line-height: 1.55; }
.lj-prompt-row.is-personal .lj-prompt-row-arrow { height: auto; color: #fff; }
.lj-prompt-row.is-personal .lj-prompt-row-arrow > svg { width: 23px; height: 23px; }
@media (max-width: 799px) { .lj-prompt-list { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 743px) {
  .lj-prompt-list { display: flex; flex-direction: column; gap: 0; }
  .lj-prompt-row { min-height: 0; padding: 20px 0; gap: 9px 12px; background: transparent; border: 0; border-bottom: 1px solid rgba(185, 153, 107, 0.38); border-radius: 0; }
  .lj-prompt-row:where(:hover, :active) { background: transparent; }
  .lj-prompt-row-label { flex-direction: row; gap: 0; font-size: 11px; font-weight: 500; line-height: 13px; letter-spacing: 0; }
  .lj-prompt-row-label > span + span { flex: none; letter-spacing: 0; }
  .lj-prompt-row-label > span + span::before { content: " - "; white-space: pre; }
  .lj-prompt-row-line { -webkit-line-clamp: 2; line-clamp: 2; font-size: 16px; line-height: 1.55; }
  .lj-prompt-row-arrow { height: 24.8px; }
  .lj-prompt-row-arrow > svg { width: 18px; height: 18px; }
  .lj-prompt-row.is-personal { min-height: 91px; gap: 11px; padding: 12px 15px; border: 1px solid color-mix(in srgb, var(--walnut), #fff 20%); border-radius: 12px; }
  .lj-prompt-row.is-personal .lj-prompt-row-text { gap: 5px; }
  .lj-prompt-row.is-personal .lj-prompt-row-label { font-weight: 500; letter-spacing: 0; }
  .lj-prompt-row.is-personal .lj-prompt-row-line { -webkit-line-clamp: 2; line-clamp: 2; font-size: 16px; line-height: 1.65; }
  .lj-prompt-row.is-personal .lj-prompt-row-arrow > svg { width: 18px; height: 18px; }
}
.lj-dialog.lj-now-dialog h2 { text-align: center; }
.lj-now { display: flex; flex-direction: column; gap: 16px; margin-top: 4px; text-align: center; }
.lj-now-head { display: flex; flex-direction: column; gap: 6px; }
.lj-now-eyebrow { margin: 0; font-size: 11px; line-height: 16px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.lj-now-title { margin: 0; font-family: var(--font-display); font-size: 24px; line-height: 30px; color: var(--walnut-dark); overflow-wrap: anywhere; }
.lj-now-artist { margin: 0; font-size: 16px; line-height: 26px; color: var(--muted); }
.lj-now-next-title { margin: 8px 0 0; font-family: var(--font-display); font-size: 20px; font-weight: 400; line-height: 26px; color: var(--walnut); }
.lj-now-next { display: flex; flex-direction: column; }
.lj-now-last { margin: 0; padding: 12px 0; font-size: 16px; font-style: italic; line-height: 26px; color: var(--muted); }
.lj-select { position: relative; display: inline-block; }
.lj-select-toggle { display: inline-flex; align-items: center; justify-content: space-between; gap: 8px; max-width: 100%; white-space: nowrap; }
.lj-select-value { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.lj-select-toggle > svg { flex: none; width: 10px; height: 10px; transition: transform 0.2s; }
.lj-select-toggle[aria-expanded="true"] > svg { transform: rotate(180deg); }
.lj-select-menu { position: absolute; z-index: 30; top: calc(100% + 6px); right: 0; min-width: 100%; width: max-content; max-width: min(320px, calc(100vw - 32px)); padding: 6px; text-align: left; background: #fff; border: 1px solid var(--tan-light); border-radius: 14px; box-shadow: 0 16px 40px rgba(30, 20, 16, 0.22); }
.lj-select-heading { margin: 4px 10px 6px; font-family: var(--font-body); font-size: 11px; line-height: 16px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.lj-select-list { max-height: 280px; margin: 0; padding: 0; overflow-y: auto; list-style: none; }
.lj-select-list:focus { outline: none; }
.lj-select-option { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 40px; padding: 8px 10px; font-family: var(--font-body); font-size: 14px; line-height: 20px; color: var(--walnut-dark); border-radius: 9px; cursor: pointer; }
.lj-select-option.is-active { background: var(--linen-pale); }
.lj-select-list:focus-visible .lj-select-option.is-active { box-shadow: inset 0 0 0 2px var(--tan); }
.lj-select-option[aria-selected="true"] { color: var(--walnut); font-weight: 600; }
.lj-select-label { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.lj-select-option > svg { flex: none; width: 14px; height: 14px; fill: currentColor; visibility: hidden; }
.lj-select-option[aria-selected="true"] > svg { visibility: visible; }
.lj-select-menu.lj-select-menu--field { right: auto; min-width: 0; width: auto; max-width: none; box-shadow: 0 14px 24px -10px rgba(30, 20, 16, 0.28); animation: lj-menu-down 160ms ease both; --lj-menu-gap: 12px; --lj-menu-fade: 40px; }
.lj-select-menu.lj-select-menu--field.is-up { animation-name: lj-menu-up; }
.lj-select-menu--field::after { content: ""; position: absolute; top: 100%; left: 0; width: 1px; height: var(--lj-menu-gap); pointer-events: none; }
.lj-select-menu--field .lj-select-list { position: relative; max-height: min(340px, calc(100vh - 160px)); --lj-fade-top: 0px; --lj-fade-bottom: 0px; }
.lj-select-menu--field .lj-select-list.is-more-above { --lj-fade-top: var(--lj-menu-fade); }
.lj-select-menu--field .lj-select-list.is-more-below { --lj-fade-bottom: var(--lj-menu-fade); }
.lj-select-menu--field .lj-select-list:is(.is-more-above, .is-more-below) { -webkit-mask-image: linear-gradient(to bottom, transparent, #000 var(--lj-fade-top), #000 calc(100% - var(--lj-fade-bottom)), transparent); mask-image: linear-gradient(to bottom, transparent, #000 var(--lj-fade-top), #000 calc(100% - var(--lj-fade-bottom)), transparent); }
.lj-select-menu--field .lj-select-option { min-height: 48px; padding: 10px 12px; font-size: 16px; line-height: 22px; }
.lj-select-menu--field .lj-select-label { white-space: normal; }
.lj-select-menu--field .lj-select-option > svg { width: 16px; height: 16px; fill: none; color: var(--walnut); }
.lj-select-text { display: grid; gap: 2px; min-width: 0; }
.lj-select-detail { font-size: 13px; font-weight: 400; line-height: 18px; color: var(--walnut); }
@keyframes lj-menu-down { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@keyframes lj-menu-up { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .lj-select-menu.lj-select-menu--field { animation: none; } }
@media (max-width: 640px) {
  .lj-select-option { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .lj-player-skip, .lj-player-toggle, .lj-player-toggle::before, .lj-player-disc, .lj-select-toggle > svg { transition: none; }
}

.dtp { position: relative; }
.dtp-field { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-variant-numeric: tabular-nums; }
.dtp.open .dtp-field { border-color: var(--walnut); box-shadow: var(--field-focus); }
.dtp-field .ph { color: var(--muted); }
.dtp-field svg { flex: none; color: var(--muted); }
.dtp-pop { position: absolute; z-index: 20; top: calc(100% + 6px); left: 0; width: 280px; padding: 12px; border-radius: 12px; background: #fff; border: 1px solid var(--tan-light); box-shadow: 0 16px 40px rgba(30, 20, 16, 0.22); text-align: left; }
.dtp-pop button { font-weight: 400; }
.dtp.up .dtp-pop { top: auto; bottom: calc(100% + 6px); }
.dtp.right .dtp-pop { left: auto; right: 0; }
.dtp-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; font-weight: 600; font-size: 13.5px; color: var(--walnut-dark); }
.dtp-head button { width: 28px; height: 28px; padding: 0; border: 0; border-radius: 8px; background: transparent; color: var(--walnut); font-size: 16px; }
.dtp .dtp-head button:hover:not(:disabled) { background: var(--linen-light); color: var(--walnut-deep); }
.dtp-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; text-align: center; font-size: 12.5px; }
.dtp-grid .dow { color: var(--muted); font-size: 11px; padding: 4px 0; }
.dtp-grid button { width: 100%; height: 30px; padding: 0; border: 0; border-radius: 8px; background: transparent; color: var(--walnut-dark); font: inherit; }
.dtp .dtp-grid button:hover:not(:disabled) { background: var(--linen-light); color: var(--walnut-dark); }
.dtp .dtp-grid button.sel:hover:not(:disabled) { background: var(--walnut-deep); color: #fff; }
.dtp-grid button.today { box-shadow: inset 0 0 0 1px var(--tan); }
.dtp-grid button.sel { background: var(--walnut); color: #fff; }
.dtp-time { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--linen-light); }
.dtp-time-label { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.dtp-spins { display: flex; align-items: center; gap: 6px; }
.dtp-spins .colon { font-size: 20px; color: var(--muted); padding-bottom: 2px; }
.spin { display: flex; flex-direction: column; align-items: center; width: 48px; border: 1px solid var(--tan-light); border-radius: 10px; background: #fff; overflow: hidden; }
.spin:focus-within { border-color: var(--tan); box-shadow: 0 0 0 3px rgba(196, 168, 130, 0.25); }
.dtp .spin button { width: 100%; height: 20px; padding: 0; border: 0; border-radius: 0; background: transparent; color: var(--muted); font-size: 10px; line-height: 1; }
.dtp .spin button:hover:not(:disabled) { background: var(--linen-pale); color: var(--walnut-deep); }
.spin input { width: 100%; padding: 2px 0; border: 0; outline: none; box-shadow: none; background: transparent; text-align: center; font: inherit; font-size: 18px; font-variant-numeric: tabular-nums; color: var(--walnut-dark); }
.dtp-foot { display: flex; justify-content: space-between; margin-top: 10px; }
.dtp .dtp-foot .dtp-clear { background: transparent; color: var(--muted); }
.dtp .dtp-foot .dtp-clear:hover:not(:disabled) { background: var(--linen-pale); color: var(--walnut-deep); }
.dtp-done { margin-left: auto; }

.lj-dialog { margin: auto; width: min(26rem, calc(100vw - 32px)); max-height: calc(100vh - 2 * var(--lj-nav-height, 0px) - 32px); overflow-y: auto; padding: 22px 24px 20px; border: 1px solid var(--tan-light); border-radius: 16px; background: #fffdfa; color: var(--walnut-dark); font-family: var(--font-body); text-align: left; box-shadow: 0 24px 60px rgba(58, 44, 28, 0.3); opacity: 0; transform: translateY(8px) scale(0.98); transition: opacity 160ms ease, transform 160ms ease; }
.lj-dialog.open { opacity: 1; transform: none; }
.lj-dialog::backdrop, .lj-glass-layer { background: var(--glass-tint, rgba(247, 240, 232, 0.55)); -webkit-backdrop-filter: blur(var(--glass-blur, 14px)); backdrop-filter: blur(var(--glass-blur, 14px)); opacity: 0; transition: opacity 160ms ease; }
.lj-dialog.open::backdrop, .lj-glass-layer.open { opacity: 1; }
.lj-glass-layer { pointer-events: none; }
.lj-glass-layer.open { pointer-events: auto; }
.lj-in-shell .lj-dialog::backdrop { top: calc(var(--lj-nav-height, 72px) + 1px); }
.lj-glass-overlay { background: var(--glass-tint, rgba(247, 240, 232, 0.55)); -webkit-backdrop-filter: blur(var(--glass-blur, 14px)); backdrop-filter: blur(var(--glass-blur, 14px)); }
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .lj-dialog::backdrop, .lj-glass-layer, .lj-glass-overlay { background: var(--glass-tint-solid, rgba(247, 240, 232, 0.9)); }
}
@media (prefers-reduced-transparency: reduce) {
  .lj-dialog::backdrop, .lj-glass-layer, .lj-glass-overlay { background: var(--glass-tint-solid, rgba(247, 240, 232, 0.9)); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
.lj-dialog h2 { margin: 0 0 8px; font-family: var(--font-display); font-size: 1.15rem; font-weight: 400; line-height: 1.3; color: var(--walnut); }
.lj-dialog.danger h2 { color: var(--danger); }
.lj-dialog-message { margin: 0 0 4px; font-size: 14px; line-height: 1.6; color: var(--walnut-dark); white-space: pre-line; }
.lj-dialog label { display: block; margin: 14px 0 6px; }
.lj-dialog-optional { font-weight: 400; color: var(--muted); }
.lj-dialog textarea, .lj-dialog input { width: 100%; box-sizing: border-box; }
.lj-dialog textarea { resize: vertical; min-height: 5.5rem; }
.lj-dialog-actions { justify-content: flex-end; margin-top: 18px; }
.lj-dialog-note { margin-right: auto; align-self: center; font-size: 13px; color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .lj-dialog { transition: none; transform: none; } .lj-dialog::backdrop, .lj-glass-layer { transition: none; } }
.lj-dialog--large { width: min(48rem, calc(100vw - 32px)); margin: calc(var(--lj-nav-height, 0px) + 16px) auto 16px; max-height: calc(100vh - var(--lj-nav-height, 0px) - 32px); overflow: hidden; }
.lj-dialog--large[open] { display: flex; flex-direction: column; }
.lj-dialog--large > h2, .lj-dialog--large > .lj-dialog-message, .lj-dialog--large > .lj-dialog-actions { flex: none; }
.lj-dialog--large > .lj-records { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 2px 4px 2px 0; }
.lj-records { display: grid; grid-auto-rows: max-content; align-content: start; gap: 12px; margin: 14px 0 0; }
.lj-record { border: 1px solid var(--tan-light); border-radius: 12px; background: #fff; overflow: hidden; }
.lj-record-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 16px; background: #faf6f0; border-bottom: 1px solid var(--tan-light); }
.lj-record-title { margin: 0; font-family: var(--font-display); font-size: 1.05rem; font-weight: 400; line-height: 1.3; color: var(--walnut); overflow-wrap: anywhere; }
.lj-record-count { flex: none; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.lj-record-count.is-bad { color: var(--danger); }
.lj-record-rows { margin: 0; padding: 4px 0; list-style: none; }
.lj-record-row { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); gap: 12px; padding: 8px 16px; font-size: 14px; line-height: 1.5; color: var(--walnut-dark); overflow-wrap: anywhere; }
.lj-record-row + .lj-record-row { border-top: 1px solid rgba(196, 168, 130, 0.25); }
.lj-record-row.has-action { grid-template-columns: 5.5rem minmax(0, 1fr) auto; align-items: center; }
.lj-record-row.is-ignored > span:nth-child(2) { text-decoration: line-through; color: var(--muted); }
.lj-record-count.is-good { color: #1a7f37; }
.lj-dialog .lj-record-switch { display: flex; align-items: center; gap: 8px; flex: none; margin: 0; font-size: 12px; font-weight: 400; color: var(--walnut-dark); white-space: nowrap; }
.lj-record-switch.is-replace .switch input + span { background: #d98a93; }
.lj-record-switch.is-replace [data-choice] { color: var(--danger); }
.lj-record-where { font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); padding-top: 3px; white-space: nowrap; }
.lj-record-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; padding: 10px 16px 12px; font-size: 13px; color: var(--muted); }
@media (max-width: 30rem) { .lj-record-row, .lj-record-row.has-action { grid-template-columns: minmax(0, 1fr); gap: 2px; } }

.error { margin: 12px 0; padding: 10px 12px; font-size: 14px; color: #8b1a1a; background: #ffeef0; border: 1px solid #f0b8bd; border-radius: 4px; }
.notice { margin: 12px 0; padding: 10px 12px; font-size: 14px; color: #1f4620; background: #eefbf0; border: 1px solid #b4e0bc; border-radius: 4px; }
body:has(.page) #error, body:has(.page) #notice, html.lj-framed #error.error, html.lj-framed #notice.notice { position: fixed; top: calc(72px + 12px); left: 50%; z-index: 45; width: min(640px, calc(100% - 32px)); margin: 0; transform: translateX(-50%); box-shadow: 0 8px 24px rgba(30, 20, 16, 0.18); }
#notice, #error { transition: opacity 0.6s ease; }
#notice.banner-fading, #error.banner-fading { opacity: 0; }
.error.closable { position: relative; padding-right: 40px; }
.error .banner-close { position: absolute; top: 50%; right: 6px; width: 28px; height: 28px; margin: 0; padding: 0; transform: translateY(-50%); border: 0; border-radius: 50%; background: transparent; color: #8b1a1a; font-size: 20px; line-height: 28px; text-align: center; cursor: pointer; }
.error .banner-close:hover { background: rgba(139, 26, 26, 0.1); color: #8b1a1a; }
body:has(.page) #error:not([hidden]) ~ #notice, html.lj-framed #error.error:not([hidden]) ~ #notice.notice { top: calc(72px + 12px + 3.5rem); }
body:has(#appFrame) > #error.error { position: fixed; top: calc(var(--lj-nav-height, 72px) + 12px); left: 50%; z-index: 110; width: min(640px, calc(100% - 32px)); margin: 0; transform: translateX(-50%); box-shadow: 0 8px 24px rgba(30, 20, 16, 0.18); }
body:has(#playerBar.visible) > #error.error { top: calc(65px + var(--lj-nav-height, 72px) + 12px); }
body:has(.modal.show) #error.error, body:has(.modal.show) #notice.notice { z-index: 1001; }
.lj-invoice { color: var(--walnut-dark); font-size: 14px; line-height: 1.5; }
.lj-invoice header { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.lj-invoice h3 { margin: 0 0 4px; font-family: var(--font-display); font-weight: 400; font-size: 1.3rem; color: var(--walnut); }
.lj-invoice-from, .lj-invoice-to, .lj-invoice-period { font-size: 13px; color: var(--muted); }
.lj-invoice-company { color: var(--walnut-dark); font-weight: 500; }
.lj-invoice-meta { display: grid; grid-template-columns: auto auto; gap: 2px 12px; margin: 0; font-size: 13px; align-content: start; }
.lj-invoice-meta dt { color: var(--muted); }
.lj-invoice-meta dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.lj-invoice-label { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.lj-invoice-to { margin-bottom: 6px; }
.lj-invoice table { width: 100%; border-collapse: collapse; margin: 12px 0 6px; }
.lj-invoice td { padding: 7px 0; border-top: 1px solid var(--linen-light); }
.lj-invoice td.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; padding-left: 12px; }
.lj-invoice tr.total td { font-weight: 600; border-top: 2px solid var(--tan-light); }
.lj-invoice tr.gst td { border-top: 0; padding-top: 0; font-size: 12px; color: var(--muted); }
.lj-invoice tr.paid td { border-top: 0; padding-top: 2px; }
.lj-invoice tr.owing td { font-weight: 600; color: var(--walnut); border-top: 2px solid var(--walnut); padding-top: 9px; }
.lj-invoice-note { margin: 6px 0 0; font-size: 12px; color: var(--muted); }
.lj-invoice-bank { margin-top: 16px; padding: 12px 14px; border: 1px solid var(--tan-light); border-radius: 10px; background: var(--linen-pale); }
.lj-invoice-bank h4 { margin: 0 0 6px; font-size: 13px; font-weight: 600; color: var(--walnut); }
.lj-invoice-bank dl { display: grid; grid-template-columns: auto 1fr; gap: 2px 14px; margin: 0; font-size: 13px; }
.lj-invoice-bank dt { color: var(--muted); }
.lj-invoice-bank dd { margin: 0; font-variant-numeric: tabular-nums; }
.lj-invoice-bank p { margin: 8px 0 0; font-size: 12px; color: var(--walnut-dark); }
/* Model text rendered from markdown (web/markdown.js): prompts, the Friend
   Voice, reflections and Theo. Defaults only; a page's own rules for its
   container win. */
.md h3 { margin: 0 0 0.6em; font-size: 1.05em; font-weight: 600; line-height: 1.4; color: var(--walnut-deep); }
.md * + h3 { margin-top: 1em; }
.md ul, .md ol { margin: 0 0 1em; padding-left: 1.4em; }
.md li + li { margin-top: 0.25em; }
.md li > ul, .md li > ol { margin: 0.25em 0 0; }
.md blockquote { margin: 0 0 1em; padding: 0.1em 0 0.1em 1em; border-left: 3px solid var(--tan); color: var(--walnut-deep); }
.md blockquote > :last-child { margin-bottom: 0; }
.md code { padding: 0.05em 0.35em; border-radius: 4px; background: var(--linen-pale); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.88em; }
.md pre { margin: 0 0 1em; padding: 0.75em 1em; border-radius: 8px; background: var(--linen-pale); overflow-x: auto; }
.md pre code { padding: 0; background: none; }
.md table { width: 100%; margin: 0 0 1em; border-collapse: collapse; font-size: 0.95em; }
.md th, .md td { padding: 0.4em 0.6em; border-bottom: 1px solid var(--tan-light); text-align: left; vertical-align: top; }
.md th { font-weight: 600; color: var(--walnut-deep); border-bottom-color: var(--tan); }
.md del { color: var(--muted); }
.md sup { font-size: 0.7em; }
@media print {
  body.lj-printing * { visibility: hidden; }
  body.lj-printing .lj-print-target, body.lj-printing .lj-print-target * { visibility: visible; }
  body.lj-printing .lj-print-target { position: absolute; inset: 0 auto auto 0; width: 100%; box-shadow: none; }
  body.lj-printing .lj-invoice-actions { display: none; }
}

.mode-toggle-wrap { display: flex; justify-content: center; margin-bottom: 1.5rem; }
.mode-toggle { position: relative; display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 3px; box-sizing: border-box; min-height: 42px; max-width: 100%; padding: 0 3px; background: var(--lj-well, #EEE8DD); border: 1px solid var(--lj-hairline, #DED6C8); border-radius: 21px; }
.mode-toggle-thumb { position: absolute; top: 4px; left: 4px; height: 0; width: 0; max-height: 34px; margin-top: 7px; background: var(--walnut); border-radius: 17px; transition: left 0.25s ease, top 0.25s ease, width 0.25s ease, height 0.25s ease; }
.mode-toggle-option { position: relative; z-index: 1; height: 48px; margin: -4px 0; padding: 0 20px; background: none; border: none; border-radius: 17px; font-family: var(--font-ui, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif); font-size: 12px; font-weight: 400; line-height: 16px; color: var(--walnut-deep); cursor: pointer; white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; transition: color 0.25s ease; }
.mode-toggle-option.active { color: #fff; font-weight: 500; }
.mode-toggle-option::after, .account-toggle-option::after { content: ""; position: absolute; inset: 7px 0; border-radius: 17px; pointer-events: none; }
.mode-toggle-option:focus-visible, .account-toggle-option:focus-visible { box-shadow: none; }
.mode-toggle-option:focus-visible::after, .account-toggle-option:focus-visible::after { box-shadow: inset 0 0 0 2px var(--walnut-deep), inset 0 0 0 4px #fff; }
.mode-content { transition: opacity 0.2s ease; }
@media (max-width: 480px) { .mode-toggle-option { padding: 0 12px; } }

/* A wider dialog with a fixed head and a scrolling body (the marketplace). */
.lj-dialog--wide { width: min(60rem, calc(100vw - 32px)); margin: calc(var(--lj-nav-height, 0px) + 16px) auto auto; max-height: calc(100vh - var(--lj-nav-height, 0px) - 32px); padding: 0; overflow: hidden; }
.lj-dialog--wide .lj-dialog-head > div:first-child { min-width: 0; }
.lj-dialog-tools { display: flex; align-items: center; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }
.lj-dialog-tools input[type="search"] { flex: 0 1 22rem; width: 22rem; max-width: calc(100% - 48px); }
.lj-dialog-close { flex: none; border-radius: 50%; }
.lj-dialog-frame { padding: 0 !important; display: flex; }
.lj-dialog-frame > iframe { flex: 1 1 auto; width: 100%; min-height: 60vh; border: 0; display: block; background: var(--linen); }
.lj-dialog--wide[open] { display: flex; flex-direction: column; }
.lj-dialog--wide .lj-dialog-head { flex: none; padding: 20px 24px 14px; border-bottom: 1px solid var(--tan-light); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; }
.lj-dialog--wide .lj-dialog-head h2 { margin: 0; }
.lj-dialog--wide .lj-dialog-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 16px 24px 20px; }
.lj-dialog--wide input[type="search"] { width: min(100%, 22rem); }
.lj-dialog--tall { height: calc(100vh - var(--lj-nav-height, 0px) - 32px); }
.lj-dialog--tall .lj-dialog-frame > iframe { min-height: 0; }
.lj-dialog-head .lj-dialog-meta { margin: 2px 0 0; font-size: 0.8rem; color: var(--muted); }

/* Cards in a responsive grid (the marketplace, Curricula). */
.lj-dialog--market .lj-dialog-body { padding-top: 28px; }
#curriculaList .lj-mgrid, .lj-dialog--market .lj-mgrid { grid-template-columns: repeat(auto-fill, minmax(0, 264px)); justify-content: start; max-width: none; }
#curriculaList .lj-mgrid { justify-content: center; }
.lj-slots { display: grid; grid-template-columns: repeat(2, 264px); justify-content: center; gap: 32px; padding: 36px 0 8px; }
.lj-slot { position: relative; aspect-ratio: 54 / 85.6; --lj-slot-inset: 12px; }
.lj-slot::before { content: ''; position: absolute; inset: var(--lj-slot-inset); border-radius: 14px; border: 2px dashed rgba(117, 93, 59, 0.38); background: rgba(117, 93, 59, 0.05); box-shadow: inset 0 2px 10px rgba(117, 93, 59, 0.08); }
.lj-slot-mark { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; font-family: var(--font-display); color: var(--walnut); text-align: center; pointer-events: none; }
.lj-slot-name { font-size: 0.8rem; letter-spacing: 0.22em; text-transform: uppercase; }
.lj-slot-note { font-family: var(--font-body); font-size: 0.8rem; font-style: italic; }
.lj-slot > .lj-mfloat, .lj-slot > .lj-mcard { position: absolute; inset: 0; }
.lj-slot > .lj-mfloat > .lj-mcard { height: 100%; aspect-ratio: auto; }
.lj-slots-help { margin: 12px 0 0; text-align: center; }
.lj-slots-rest { margin: 28px 0 12px; font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); text-align: center; }
@media (max-width: 40rem) { .lj-slots { grid-template-columns: min(264px, 100%); } }
@media (max-width: 30rem) { #curriculaList .lj-mgrid, .lj-dialog--market .lj-mgrid { grid-template-columns: minmax(0, 1fr); max-width: 300px; margin: 0 auto; } }
.lj-dialog--market .lj-mgrid { padding: 28px 12px 16px; }
.lj-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 22px; }

/* Filters over a list (History, Reflections): a search, a curriculum, a date range, unread only. */
.lj-filters { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 0.5rem; margin-bottom: 1rem; }
.lj-filters-search { flex: 0 1 11rem; width: 11rem; }
.lj-filters select.small { width: auto; flex: 0 1 auto; }
.lj-filters-dates { position: relative; }
.lj-filters-pop { position: absolute; z-index: 30; top: calc(100% + 6px); right: 0; width: 300px; max-width: calc(100vw - 2rem); padding: 1rem; border: 1px solid var(--lj-hairline, #DED6C8); border-radius: 12px; background: var(--lj-paper, #FDFBF7); box-shadow: 0 16px 40px rgba(30, 20, 16, 0.22); display: grid; gap: 0.75rem; text-align: left; }
.lj-filters-pop[hidden] { display: none; }
.lj-filters-pop label { display: block; margin-bottom: 4px; }
.lj-filters-pop .actions { justify-content: flex-end; }
.lj-search { --lj-glide: cubic-bezier(0.25, 0.2, 0.2, 0.95); --lj-glide-ms: 0.4s; margin-bottom: var(--lj-feed-gap, 12px); }
.lj-search-row { display: flex; flex-direction: column; justify-content: flex-end; height: 0; margin: -4px -4px 0; padding: 4px 4px 0; overflow: hidden; opacity: 0; transition: height var(--lj-glide-ms) var(--lj-glide), opacity var(--lj-glide-ms) var(--lj-glide); }
.lj-search[data-open="true"] .lj-search-row { height: 54px; opacity: 1; }
.lj-search.is-settled .lj-search-row { overflow: visible; }
.lj-search-box { position: relative; display: block; flex: none; margin: 0; padding-bottom: 12px; }
.lj-search-box > svg { position: absolute; top: 13px; left: 16px; width: 16px; height: 16px; color: var(--lj-grey, #726B5F); pointer-events: none; }
.lj-search-box > .lj-search-field { box-sizing: border-box; height: 42px; padding: 0 16px 0 42px; font-family: var(--font-ui, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif); font-size: 13px; line-height: 16px; color: var(--lj-ink, #302D27); background-color: var(--lj-paper, #FDFBF7); border-color: transparent; border-radius: 12px; }
.lj-search-box > .lj-search-field::placeholder { color: var(--lj-grey, #726B5F); }
.lj-search-box > .lj-search-field:focus { border-color: var(--walnut); }
@media (max-width: 640px) { .lj-search-box > .lj-search-field { font-size: 16px; } }
.lj-search-line { display: flex; align-items: center; gap: 8px; min-height: 48px; }
.lj-search-title { flex: 1 1 auto; min-width: 0; }
.lj-search-pills { display: flex; flex: none; justify-content: flex-end; gap: 6px; width: 0; margin: -4px; padding: 4px; overflow: hidden; opacity: 0; transition: width var(--lj-glide-ms) var(--lj-glide), opacity var(--lj-glide-ms) var(--lj-glide); }
.lj-search[data-open="true"] .lj-search-pills { width: var(--lj-pills-width, auto); opacity: 1; }
.lj-search.is-settled .lj-search-pills { overflow: visible; }
.lj-search-pill { display: inline-flex; flex: none; align-items: center; justify-content: center; gap: 4px; white-space: nowrap; }
.lj-search-pill > svg { flex: none; width: 10px; height: 10px; }
.lj-search-toggle { position: relative; flex: none; }
.lj-search-toggle > svg { position: absolute; inset: 0; margin: auto; transition: opacity 0.2s ease, transform 0.2s ease; }
.lj-search-toggle > .lj-glyph-close, .lj-search[data-open="true"] .lj-search-toggle > .lj-glyph-glass { opacity: 0; transform: scale(0.6) rotate(-45deg); }
.lj-search[data-open="true"] .lj-search-toggle > .lj-glyph-close { opacity: 1; transform: none; }
.lj-feed { position: relative; }
.lj-feed:focus { outline: none; }
.lj-feed.is-reloading > .lj-feed-layer { pointer-events: none; }
.lj-feed.is-fading { transition: height var(--lj-fade, 0.25s) ease-in-out; }
.lj-feed.is-fading > .lj-feed-layer { transition: opacity var(--lj-fade, 0.25s) ease-in-out; }
.lj-feed-layer, .lj-feed-ghosts, .lj-feed-fold { display: flex; flex-direction: column; gap: var(--lj-feed-gap, 12px); }
.lj-feed-layer.is-leaving { position: absolute; top: 0; left: 0; right: 0; pointer-events: none; }
.lj-feed-group { display: flex; flex-direction: column; }
.lj-feed-group > .lj-feed-heading { padding-top: 4px; }
.lj-feed-rows { display: grid; grid-template-rows: 0fr; opacity: 0; }
.lj-feed-group.is-open > .lj-feed-rows { grid-template-rows: 1fr; opacity: 1; }
.lj-feed-group.is-folding > .lj-feed-rows { overflow: hidden; transition: grid-template-rows 0.25s ease, opacity 0.25s ease; }
.lj-feed-fold { min-height: 0; }
.lj-feed-group:not(.is-first) .lj-feed-fold { padding-top: var(--lj-feed-gap, 12px); }
.lj-feed-end { height: 1px; }
.lj-feed-heading { margin: 0; font-family: var(--font-body); font-size: 21px; font-weight: 400; line-height: 27px; color: var(--lj-on-photo, #FFFCF6); }
.lj-feed-heading.is-plain { display: flex; align-items: center; min-height: 48px; padding: 0 4px; }
.lj-feed-toggle { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 48px; padding: 0 4px; font: inherit; text-align: left; color: inherit; background: transparent; border: 0; border-radius: 12px; }
.lj-feed-title { flex: 1 1 auto; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.lj-feed-chevron { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 28px; height: 28px; color: inherit; background: transparent; border: 0; border-radius: 50%; }
.lj-feed-chevron > svg { width: 18px; height: 18px; transition: transform 0.25s ease; }
.lj-feed-toggle[aria-expanded="true"] .lj-feed-chevron > svg { transform: rotate(180deg); }
.lj-feed-sub { margin: 0; padding: 4px 0 0 4px; font-family: var(--font-body); font-size: 14px; font-weight: 500; line-height: 20px; color: var(--lj-on-photo, #FFFCF6); }
.lj-feed-month { margin: 0; padding: 12px 4px 0; font-family: var(--font-body); font-size: 21px; font-weight: 400; line-height: 27px; color: var(--lj-on-photo, #FFFCF6); }
.lj-feed-card { padding: 28px; border-radius: 18px; background: var(--lj-paper, #FDFBF7); box-shadow: none; text-align: center; }
.lj-feed-card > p { margin: 0 0 12px; font-size: 16px; line-height: 26px; color: var(--lj-ink, #302D27); }
.lj-feed-card > p:has(+ [hidden]:last-child) { margin-bottom: 0; }
.lj-feed-note { display: flex; flex-direction: column; align-items: center; gap: 20px; padding: 48px 0 16px; text-align: center; }
.lj-feed-note .lj-loader { min-height: 0; color: var(--linen-pale); }
.lj-feed-note .lj-bird { width: 50px; height: 50px; }
.lj-feed-note p { margin: 0; font-size: 16px; font-style: italic; line-height: 26px; color: rgba(255, 255, 255, 0.85); }
.lj-feed-retry-more { align-self: center; }
.lj-dates h2 { margin-bottom: 4px; text-align: center; }
.lj-dates .lj-dates-label { display: block; margin: 12px 0 6px; }
.lj-dates .dtp-pop { position: static; width: auto; margin-top: 8px; box-shadow: none; }
.lj-dates .lj-dates-actions { justify-content: space-between; }
@media (prefers-reduced-motion: reduce) {
  .lj-search { --lj-glide: ease-in-out; --lj-glide-ms: 0.2s; }
  .lj-search-toggle > svg { transition: opacity 0.2s ease; }
  .lj-search-toggle > .lj-glyph-close, .lj-search[data-open="true"] .lj-search-toggle > .lj-glyph-glass { transform: none; }
  .lj-feed-chevron > svg { transition: none; }
}
@media (max-width: 40rem) { .lj-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } }
@media (max-width: 26rem) { .lj-cards { grid-template-columns: minmax(0, 1fr); } }
.lj-card { position: relative; display: flex; flex-direction: column; gap: 12px; aspect-ratio: 5 / 7; padding: 20px 20px 18px; border: 1px solid rgba(117, 93, 59, 0.1); border-radius: 22px; background: #fff; box-shadow: 0 18px 48px rgba(58, 44, 28, 0.1), 0 2px 6px rgba(58, 44, 28, 0.04); min-width: 0; overflow: hidden; }
.lj-card-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 20px; }
.lj-card-chip { font-size: 10.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; padding: 3px 9px; border-radius: 10px; background: var(--walnut); color: #fff; white-space: nowrap; }
.lj-card-chip.is-quiet { background: var(--linen-pale); color: var(--walnut); }
.lj-card-cta { display: flex; }
.lj-card-cta > button { flex: 1 1 auto; justify-content: center; }
.lj-cards--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 30rem) { .lj-cards--two { grid-template-columns: minmax(0, 1fr); } }
.lj-card--plan { aspect-ratio: auto; gap: 0; padding: 18px 20px 20px; }
.lj-card--plan.is-selected { border-color: var(--walnut); box-shadow: inset 0 0 0 1px var(--walnut), 0 18px 48px rgba(58, 44, 28, 0.1), 0 2px 6px rgba(58, 44, 28, 0.04); }
.lj-card--plan.is-locked { cursor: default; opacity: 0.7; }
.lj-card--plan.is-locked:is(:hover, :focus-visible) { transform: none; }
.lj-card--plan .lj-card-top { margin-bottom: 14px; }
.lj-plan-name { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: 1.45rem; line-height: 1.2; color: var(--walnut-dark); }
.lj-plan-tagline { margin: 4px 0 0; font-size: 14px; line-height: 1.4; color: var(--muted); }
.lj-plan-price { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 2px 10px; margin: 18px 0 16px; }
.lj-plan-price strong { font-family: var(--font-display); font-weight: 400; font-size: 2.2rem; line-height: 1; color: var(--walnut-dark); }
.lj-plan-price span { font-size: 12px; line-height: 1.35; color: var(--muted); padding-bottom: 2px; }
.lj-card--plan .lj-card-cta > button { width: 100%; }
.lj-plan-features { list-style: none; margin: 18px 0 0; padding: 16px 0 0; border-top: 1px solid var(--tan-light); display: grid; gap: 9px; font-size: 13px; line-height: 1.45; color: var(--walnut-dark); }
.lj-plan-features li { display: flex; align-items: flex-start; gap: 9px; }
.lj-plan-features li::before { content: "\2713"; flex: none; color: var(--walnut); font-weight: 600; line-height: 1.45; }
.lj-card-open { cursor: pointer; transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease; -webkit-tap-highlight-color: transparent; }
.lj-card-open:is(:hover, :focus-visible) { transform: translateY(-4px); box-shadow: 0 28px 60px rgba(58, 44, 28, 0.16), 0 4px 10px rgba(58, 44, 28, 0.05); border-color: rgba(117, 93, 59, 0.22); outline: none; }
.lj-card-open:active { transform: translateY(0) scale(0.985); box-shadow: 0 6px 16px rgba(58, 44, 28, 0.1); transition-duration: 0.08s; }
@media (prefers-reduced-motion: reduce) {
  .lj-card, .lj-card-open { transition: none; }
}

.account-toggle-wrap { display: flex; justify-content: center; margin-bottom: 1.5rem; }
.account-toggle { position: relative; display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 3px; box-sizing: border-box; min-height: 42px; max-width: 100%; padding: 0 3px; background: var(--lj-well, #EEE8DD); border: 1px solid var(--lj-hairline, #DED6C8); border-radius: 21px; visibility: hidden; }
.account-toggle.is-ready { visibility: visible; }
.account-toggle-thumb { position: absolute; top: 4px; left: 4px; width: 0; height: 0; max-height: 34px; margin-top: 7px; background: var(--walnut); border-radius: 17px; }
.account-toggle.is-ready .account-toggle-thumb { transition: left 0.25s ease, top 0.25s ease, width 0.25s ease, height 0.25s ease; }
.account-toggle-option { position: relative; z-index: 1; height: 48px; margin: -4px 0; padding: 0 20px; background: none; border: none; border-radius: 17px; font-family: var(--font-ui, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif); font-size: 12px; font-weight: 400; line-height: 16px; color: var(--walnut-deep); cursor: pointer; white-space: nowrap; max-width: 100%; transition: color 0.25s ease; }
.account-toggle-option.active { color: #fff; font-weight: 500; }
@media (max-width: 480px) { .account-toggle-option { padding: 0 12px; } }

.lj-dots { display: inline-flex; align-items: flex-end; gap: 5px; height: 14px; }
.lj-dots i { display: block; width: 7px; height: 7px; border-radius: 50%; background: var(--walnut); opacity: 0.85; animation: lj-dot-wave 1.2s ease-in-out infinite; }
.lj-dots i:nth-child(2) { animation-delay: 0.16s; }
.lj-dots i:nth-child(3) { animation-delay: 0.32s; }
@keyframes lj-dot-wave { 0%, 60%, 100% { transform: translateY(0); opacity: 0.45; } 30% { transform: translateY(-7px); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .lj-dots i { animation: none; opacity: 0.7; } }

.device-list { display: grid; gap: 10px; }
.device-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 12px 16px; border: 1px solid var(--tan-light); border-radius: 12px; background: rgba(255, 255, 255, 0.6); color: var(--walnut-dark); }
.device-row.is-current { border-color: rgba(117, 93, 59, 0.25); background: #fff; }
.device-row > svg { width: 22px; height: 22px; fill: var(--walnut); }
.device-name { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; line-height: 1.4; overflow-wrap: anywhere; }
.device-seen { margin-top: 2px; font-size: 13px; line-height: 1.4; color: var(--muted); }
.device-seen[title] { cursor: help; }
.device-tools { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin-bottom: 12px; }
.device-tools:empty { display: none; }
.device-row.is-picking { grid-template-columns: auto auto minmax(0, 1fr); cursor: pointer; }
.device-row.is-picking.is-current { cursor: default; opacity: 0.7; }
.device-pick { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; padding: 0; color: #fff; background: #fff; border: 1.5px solid var(--tan); border-radius: 50%; }
.device-pick svg { width: 14px; height: 14px; }
.device-pick:where(:hover:not(:disabled)) { color: #fff; background: var(--linen-pale); border-color: var(--walnut); }
.device-pick[aria-pressed="true"], .device-pick[aria-pressed="true"]:where(:hover) { color: #fff; background: var(--walnut); border-color: var(--walnut); }
.device-pick:disabled { visibility: hidden; }

.lj-visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }

.lj-pages { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; width: 100%; max-width: 360px; margin: 0 auto; }
.lj-page, .lj-page-slot { position: relative; display: block; width: 100%; height: 64px; border-radius: 10px; }
.lj-page-slot { background: rgba(255, 255, 255, 0.5); }
.lj-page-slot::before { content: ""; position: absolute; inset: 0; border-radius: 10px; background: var(--tan); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25'%3E%3Crect width='100%25' height='100%25' rx='10' fill='none' stroke='%23000' stroke-width='2.4' stroke-dasharray='5 4'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25'%3E%3Crect width='100%25' height='100%25' rx='10' fill='none' stroke='%23000' stroke-width='2.4' stroke-dasharray='5 4'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat; pointer-events: none; }
.lj-page { padding: 0; border: 0; background: transparent; color: var(--walnut); font: inherit; cursor: grab; touch-action: pan-y; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent; translate: var(--lj-page-x, 0px) var(--lj-page-y, 0px); transition: translate 0.28s cubic-bezier(0.22, 1, 0.36, 1); }
.lj-page[aria-disabled="true"] { cursor: default; }
.lj-page.is-lifted { z-index: 2; cursor: grabbing; transition: none; }
.lj-page.is-wiggling { z-index: 1; animation: lj-wiggle 0.11s ease-in-out infinite alternate; }
.lj-page-face { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; border: 1px solid var(--tan); border-radius: 10px; background: #FBF7F1; box-shadow: 0 2px 6px rgba(61, 43, 26, 0.08); transition: scale 0.25s cubic-bezier(0.22, 1, 0.36, 1), rotate 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s ease; }
.lj-page.is-selected .lj-page-face { border-color: var(--walnut); box-shadow: inset 0 0 0 0.6px var(--walnut), 0 2px 6px rgba(61, 43, 26, 0.08); }
.lj-page.is-wiggling .lj-page-face { border-color: var(--danger); box-shadow: inset 0 0 0 0.6px var(--danger), 0 2px 6px rgba(61, 43, 26, 0.08); }
.lj-page.is-lifted .lj-page-face { scale: 1.08; rotate: 3deg; box-shadow: 0 10px 28px rgba(61, 43, 26, 0.3); }
.lj-page.is-passing .lj-page-face::after { content: ""; position: absolute; inset: -1px; border-radius: 10px; background: var(--walnut); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25'%3E%3Crect width='100%25' height='100%25' rx='10' fill='none' stroke='%23000' stroke-width='3' stroke-dasharray='5 4'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25'%3E%3Crect width='100%25' height='100%25' rx='10' fill='none' stroke='%23000' stroke-width='3' stroke-dasharray='5 4'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat; pointer-events: none; }
.lj-page-lines { display: grid; justify-items: start; gap: 4px; }
.lj-page-lines i { display: block; width: 22px; height: 2px; border-radius: 1px; background: var(--walnut); opacity: 0.55; }
.lj-page-lines i:last-child { width: 14px; }
.lj-page.is-failed .lj-page-lines i { opacity: 0.25; }
.lj-page-number { position: absolute; left: calc(50% + 10.5px); top: calc(50% - 26.5px); width: 15px; height: 15px; border-radius: 50%; background: var(--walnut); box-shadow: 0 0 0 1px #fff; color: #fff; font: 700 9px/15px -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif; text-align: center; }
.lj-page[aria-disabled="true"] .lj-page-face { background: var(--disabled-bg); border-color: var(--disabled-bg); box-shadow: none; }
.lj-page[aria-disabled="true"] .lj-page-lines i, .lj-page[aria-disabled="true"] .lj-page-number { background: var(--disabled-fg); }
.lj-page-mark { position: absolute; display: flex; align-items: center; justify-content: center; }
.lj-page-mark:empty { display: none; }
.lj-page-mark svg { display: block; }
.lj-page-mark.is-read { left: calc(50% - 13px); top: calc(50% - 13px); width: 26px; height: 26px; border: 1.5px solid #fff; border-radius: 50%; background: #34C759; color: #fff; box-shadow: 0 1px 6px rgba(61, 43, 26, 0.2); }
.lj-page-mark.is-read svg { width: 12px; height: 12px; }
.lj-page-mark.is-reading { left: calc(50% - 29px); top: calc(50% - 31px); width: 26px; height: 26px; border-radius: 50%; background: rgba(255, 255, 255, 0.85); color: var(--walnut); }
.lj-page-mark.is-reading svg { width: 18px; height: 18px; }
.lj-page-mark.is-failed { left: calc(50% - 25px); top: calc(50% - 27px); width: 14px; height: 14px; border-radius: 50%; background: #fff; color: var(--danger); }
.lj-page-mark.is-failed svg { width: 14px; height: 14px; }
.lj-spokes { display: block; animation: lj-spokes 1s steps(8, end) infinite; }
.lj-quiver { transform-origin: 0 100%; animation: lj-quiver 0.56s ease-in-out infinite; }
@keyframes lj-wiggle { from { rotate: -2.5deg; } to { rotate: 2.5deg; } }
@keyframes lj-spokes { to { transform: rotate(360deg); } }
@keyframes lj-quiver {
  0%, 100% { transform: translate(0, 0) rotate(-7deg); }
  25% { transform: translate(1.5px, -1px) rotate(5deg); }
  50% { transform: translate(-1px, 1px) rotate(-3deg); }
  75% { transform: translate(2px, 0) rotate(7deg); }
}
@media (prefers-reduced-motion: reduce) {
  .lj-quiver, .lj-page.is-wiggling { animation: none; }
  .lj-page, .lj-page-face { transition: none; }
  .lj-spokes { animation-duration: 2.4s; }
}

.lj-dialog.lj-photo-dialog { width: min(370px, calc(100vw - 32px)); max-height: none; overflow: visible; padding: 20px; border: 0; border-radius: 20px; background: #FBF7F1; text-align: center; }
.lj-photo-figure { display: grid; justify-items: center; gap: 14px; margin: 0; }
.lj-photo-figure img { display: block; max-width: 100%; max-height: min(380px, 56vh); border-radius: 6px; box-shadow: 0 4px 20px rgba(61, 43, 26, 0.18); }
.lj-photo-figure .lj-photo-none { display: block; width: 96px; height: 120px; color: var(--tan); }
.lj-photo-figure .lj-photo-none svg { display: block; width: 100%; height: 100%; }
.lj-photo-figure figcaption { font-size: 13px; font-style: italic; line-height: 1.4; color: var(--muted); }
.lj-photo-dialog .lj-dialog-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.lj-photo-dialog .lj-dialog-actions > :nth-child(3) { grid-column: 1 / -1; }
.lj-photo-dialog .lj-dialog-actions > button { padding-left: 12px; padding-right: 12px; white-space: nowrap; }
.lj-photo-dialog .lj-dialog-x { position: absolute; top: -10px; right: -10px; box-shadow: 0 2px 12px rgba(61, 43, 26, 0.18); }
@media (max-height: 640px) {
  .lj-dialog.lj-photo-dialog { max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); overflow-y: auto; }
  .lj-photo-figure img { max-height: calc(100vh - 260px); max-height: calc(100dvh - 260px); }
  .lj-photo-dialog .lj-dialog-x { top: 8px; right: 8px; }
}

button.large, a.btn.large { min-height: 54px; padding: 15px 24px; font-family: var(--font-ui, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif); font-size: 16px; font-weight: 600; line-height: 22px; border-width: 0; }
input.large:where(:not([type="checkbox"], [type="radio"], [type="range"])), textarea.large { padding: 15px 16px; font-family: var(--font-ui, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif); font-size: 16px; line-height: 20px; color: var(--lj-ink, #302D27); border-color: var(--lj-hairline, #DED6C8); border-radius: 12px; }
input.large:where(:not([type="checkbox"], [type="radio"], [type="range"])):focus, textarea.large:focus { border-color: var(--walnut); }
textarea.large { min-height: 9rem; line-height: 24px; resize: vertical; }
input.large::placeholder, textarea.large::placeholder { color: var(--lj-grey, #726B5F); opacity: 1; }

html:has(> .lj-flow-page) { scrollbar-gutter: auto; }
.lj-flow-page { --lj-banner-top: calc(env(safe-area-inset-top, 0px) + 68px); margin: 0; min-height: 100%; background: var(--lj-paper, #FDFBF7); color: var(--lj-ink, #302D27); font-family: var(--font-body); -webkit-font-smoothing: antialiased; }
.lj-flow-page::before { content: none; }
.lj-flow-page *, .lj-flow-page *::before, .lj-flow-page *::after, .lj-sheet, .lj-sheet *, .lj-sheet *::before, .lj-sheet *::after { box-sizing: border-box; }
.lj-flow-page > #error.error, .lj-flow-page > #notice.notice { top: var(--lj-banner-top); width: max-content; max-width: min(640px, calc(100% - 32px)); box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35); animation: lj-toast-in 0.5s cubic-bezier(0.22, 1, 0.36, 1) backwards; }
.lj-flow-page > #error.error:not([hidden]) ~ #notice.notice { top: calc(var(--lj-banner-top) + 56px); }
@media (prefers-reduced-motion: reduce) { .lj-flow-page > #error.error, .lj-flow-page > #notice.notice { animation-name: lj-toast-fade; } }
.lj-flow { position: fixed; top: var(--lj-flow-top, 0px); left: 0; right: 0; z-index: 1; display: flex; flex-direction: column; box-sizing: border-box; width: 100%; max-width: 30rem; height: 100vh; height: var(--lj-flow-height, 100dvh); margin: 0 auto; padding: 0 24px; }
.lj-flow-top { display: grid; grid-template-columns: 48px minmax(0, 1fr) 48px; align-items: center; gap: 8px; flex: none; padding: calc(8px + env(safe-area-inset-top, 0px)) 0 0; }
.lj-flow-top > .lj-close.is-busy { min-width: 0; box-shadow: inset 0 0 0 1px var(--lj-hairline, #DED6C8); }
.lj-flow-top > .lj-close.is-busy::before { left: calc(50% - 7px); border-color: rgba(117, 93, 59, 0.25); border-top-color: var(--walnut); }
.lj-flow-top > .lj-close.is-busy::after { content: none; }
.lj-flow-left { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; color: var(--walnut); }
.lj-flow-sprout { display: inline-flex; }
.lj-flow-sprout > svg { width: 21px; height: 21px; }
.lj-flow-left > .icon-btn { width: 48px; height: 48px; color: var(--walnut); }
.lj-flow-left > .icon-btn > svg { width: 20px; height: 20px; }
.lj-flow-mark { margin: 0; overflow: hidden; font-family: var(--font-body); font-size: 19px; font-weight: 400; line-height: 26px; text-align: center; color: var(--lj-ink, #302D27); white-space: nowrap; text-overflow: ellipsis; }
.lj-flow-eyebrow { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex: none; margin: 10px 0; font-family: var(--font-ui, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif); font-size: 11px; font-weight: 500; line-height: 16px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--walnut); }
.lj-flow-eyebrow > :last-child { flex: none; font-size: 12px; font-weight: 400; letter-spacing: 0; text-transform: none; white-space: nowrap; color: var(--lj-grey, #726B5F); }
.lj-flow-eyebrow.is-centred { justify-content: center; text-align: center; }
.lj-flow-eyebrow.is-centred > :last-child:empty { display: none; }
.lj-progress { display: grid; grid-template-columns: repeat(var(--lj-steps, 7), minmax(0, 1fr)); gap: 5px; flex: none; margin: 0; padding: 0; list-style: none; }
.lj-progress > span { height: 3px; border-radius: 2px; background: var(--lj-hairline, #DED6C8); transition: background-color 0.3s ease; }
.lj-progress > span.is-reached { background: var(--walnut); }
.lj-flow-body { position: relative; flex: 1 1 auto; min-height: 0; margin: 0 -24px; padding: 28px 24px 24px; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.lj-flow-foot { display: grid; gap: 10px; flex: none; padding: 12px 0 calc(16px + env(safe-area-inset-bottom, 0px)); }
.lj-flow-step { position: relative; display: grid; align-content: start; gap: 20px; }
.lj-flow-controls { display: contents; }
.lj-flow-body > form:not([hidden]) { display: flex; flex-direction: column; min-height: 100%; }
.lj-flow-body > form > .lj-flow-step { flex: 1 0 auto; }
.lj-flow-step.lj-flow-step--foot-card { grid-template-rows: repeat(4, auto) 1fr; }
.lj-flow-step--foot-card .lj-callout:last-child { order: 1; align-self: end; }
.lj-flow-head { display: grid; gap: 10px; }
.lj-flow-title { margin: 0; font-family: var(--font-body); font-size: 32px; font-weight: 400; line-height: 38px; color: var(--lj-ink, #302D27); text-wrap: balance; }
.lj-flow-title:focus { outline: none; }
.lj-flow-lead { margin: 0; font-family: var(--font-body); font-size: 16px; line-height: 24px; color: var(--lj-grey, #726B5F); }
.lj-flow-art { display: flex; justify-content: center; padding: 12px 0; }
.lj-flow-panel { display: grid; align-content: start; gap: 16px; }
.lj-flow-ready { align-content: center; justify-items: center; text-align: center; }
.lj-flow-ready > .lj-flow-art { padding: 24px 0; }
.lj-flow-ready > .lj-flow-head { justify-items: center; }
.lj-flow-body > .lj-flow-ready:not([hidden]) { flex: 1 0 auto; min-height: 100%; }
.lj-flow-pair { display: contents; }
.lj-field-action { display: grid; gap: 12px; }
.lj-stack { display: grid; align-content: start; gap: 12px; }
.lj-flow-step.is-entering-next { animation: lj-flow-next 0.45s cubic-bezier(0.22, 1, 0.36, 1) both; }
.lj-flow-step.is-entering-back { animation: lj-flow-back 0.45s cubic-bezier(0.22, 1, 0.36, 1) both; }
@keyframes lj-flow-next { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
@keyframes lj-flow-back { from { opacity: 0; transform: translateX(-24px); } to { opacity: 1; transform: none; } }
@media (max-width: 743px) { .lj-normal-only { display: none !important; } }
@media (min-width: 744px) { .lj-narrow-only { display: none !important; } }
.lj-wheel-inline { padding: 10px 12px 6px; background: #fff; border: 1px solid var(--lj-hairline, #DED6C8); border-radius: 16px; }
.lj-wheel-inline .lj-wheel { --lj-wheel-row: 40px; }
.lj-wheel-inline:focus-within { border-color: var(--walnut); box-shadow: var(--field-focus); }
.lj-flow-scene { display: none; }
@media (min-width: 744px) and (min-height: 640px) {
  .lj-flow-page { --lj-banner-top: calc((100dvh - min(800px, calc(100dvh - 3rem))) / 2 + 80px); }
  .lj-flow-scene { position: fixed; inset: 0; z-index: 0; display: block; overflow: hidden; background: var(--ink); }
  .lj-flow-scene > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.6s ease; }
  .lj-flow-scene > img.is-shown { opacity: 1; }
  .lj-flow-scene::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(89, 77, 66, 0.72) 0%, rgba(79, 75, 61, 0.14) 45%, rgba(24, 32, 27, 0.79) 100%); }
  .lj-flow { --lj-card-height: min(800px, calc(var(--lj-flow-height, 100dvh) - 3rem)); top: calc(var(--lj-flow-top, 0px) + (var(--lj-flow-height, 100dvh) - var(--lj-card-height)) / 2); width: min(40rem, calc(100vw - 4rem)); max-width: none; height: var(--lj-card-height); margin: 0 auto; padding: 0 40px; overflow: hidden; background: var(--lj-paper, #FDFBF7); border-radius: 18px; }
  .lj-flow-top { padding-top: 20px; }
  .lj-flow-body { margin: 0 -40px; padding: 20px 40px 16px; }
  .lj-flow-foot { padding-bottom: 28px; }
  .lj-flow-step { gap: 16px; }
  .lj-flow-step textarea.large { height: calc(4 * 24px + 30px); min-height: 0; }
  .lj-flow-pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 16px; align-items: end; }
  .lj-flow-pair.is-top { align-items: start; }
  .lj-flow-pair.is-middle { align-items: center; }
  .lj-field-action { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
}
@media (min-width: 744px) and (min-height: 640px) and (prefers-reduced-motion: reduce) {
  .lj-flow-scene > img { transition: none; }
}
@media (min-width: 1024px) and (min-height: 640px) {
  .lj-flow { width: min(1138px, calc(100vw - 64px)); padding: 0 64px; }
  .lj-flow-top { margin: 0 -40px; }
  .lj-flow-mark { font-size: 24px; line-height: 30px; }
  .lj-flow-eyebrow { margin: 18px -20px 12px; }
  .lj-progress { gap: 7px; margin: 0 -20px; }
  .lj-flow-body { margin: 0 -64px; padding: 57px 64px 16px; }
  .lj-flow-step, .lj-flow-step.lj-flow-step--foot-card, .lj-flow-foot, .lj-flow [data-card] { grid-template-columns: minmax(0, 380fr) minmax(0, 546fr); column-gap: 8.3168%; }
  .lj-flow-step, .lj-flow-step.lj-flow-step--foot-card { grid-template-rows: auto 1fr; row-gap: 0; align-items: start; }
  .lj-flow-step > .lj-flow-head, .lj-flow-step > .lj-flow-art { grid-column: 1; }
  .lj-flow-step > .lj-flow-art { grid-row: 2; padding: 72px 0 0; }
  .lj-flow-controls { display: grid; grid-column: 2; grid-row: 1 / span 2; align-content: start; gap: 24px; }
  .lj-flow-controls > .lj-field + .lj-helper { margin-top: -16px; }
  .lj-flow-controls.is-questions { gap: 18px; }
  .lj-flow-controls.is-questions > .lj-flow-pair { display: contents; }
  .lj-flow-head { gap: 16px; }
  .lj-flow-title { font-size: 44px; line-height: 52px; }
  .lj-flow-foot > * { grid-column: 2; }
  .lj-flow-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lj-flow [data-card] { align-items: start; }
  .lj-flow [data-card] > .lj-flow-title { grid-column: 1; grid-row: 1 / span 6; }
  .lj-flow [data-card] > .lj-flow-lead { grid-column: 2; }
  .lj-flow-ready { width: 100%; max-width: 546px; margin: 0 auto; }
  .lj-flow-legal { width: 100%; max-width: 736px; margin: 0 auto; }
  .lj-flow:has(> .lj-flow-body > :is(.lj-flow-ready, .lj-flow-legal):not([hidden])) .lj-flow-foot { grid-template-columns: minmax(0, 546px); justify-content: center; }
  .lj-flow:has(> .lj-flow-body > :is(.lj-flow-ready, .lj-flow-legal):not([hidden])) .lj-flow-foot > .block { grid-column: 1; }
}
@media (min-width: 1024px) and (min-height: 640px) and (max-height: 847px) {
  .lj-flow-body { padding-top: 24px; padding-bottom: 8px; }
}
@media (max-width: 743px) {
  .lj-flow { overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
  .lj-flow-body { display: flex; flex: 1 0 auto; flex-direction: column; overflow: visible; }
  .lj-flow-body > form:not([hidden]) { flex: 1 0 auto; }
  .lj-flow-foot { position: sticky; bottom: 0; z-index: 2; margin: 0 -24px; padding-right: 24px; padding-left: 24px; background: var(--lj-paper, #FDFBF7); }
}
@media (max-width: 360px) {
  .lj-flow { padding: 0 16px; }
  .lj-flow-body { margin: 0 -16px; padding: 24px 16px 20px; }
  .lj-flow-foot { margin: 0 -16px; padding-right: 16px; padding-left: 16px; }
  .lj-flow-title { font-size: 28px; line-height: 34px; }
}

.lj-field { display: grid; gap: 8px; margin: 0; }
.lj-field-label { font-family: var(--font-ui, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif); font-size: 15px; font-weight: 500; line-height: 20px; color: var(--lj-ink, #302D27); }
.lj-helper { margin: 0; font-family: var(--font-ui, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif); font-size: 13px; font-weight: 400; line-height: 19px; color: var(--lj-grey, #726B5F); }
.lj-helper.is-error { color: var(--danger); }
.lj-choice { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-width: 0; min-height: 52px; padding: 14px 16px; font-family: var(--font-ui, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif); font-size: 16px; line-height: 22px; color: var(--lj-ink, #302D27); border-color: var(--lj-hairline, #DED6C8); border-radius: 12px; cursor: pointer; }
.lj-choice:where(:hover:not(:disabled)) { color: var(--lj-ink, #302D27); border-color: var(--tan); }
.lj-choice-value { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.lj-choice--wraps .lj-choice-value { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; white-space: normal; }
.lj-choice.is-empty .lj-choice-value { color: var(--lj-grey, #726B5F); }
.lj-choice > svg { flex: none; width: 18px; height: 18px; color: var(--walnut); }
.lj-choice:focus-visible, .lj-choice[aria-expanded="true"] { border-color: var(--walnut); box-shadow: var(--field-focus); }

.lj-toggle-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; margin: 0; padding: 12px 16px 12px 18px; font-family: var(--font-ui, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif); font-size: 16px; font-weight: 500; line-height: 22px; color: var(--lj-ink, #302D27); background: #fff; border: 1px solid var(--lj-hairline, #DED6C8); border-radius: 12px; cursor: pointer; }
.lj-toggle-row:has(input:focus-visible) { border-color: var(--walnut); }
.lj-toggle-row-text { display: grid; gap: 2px; min-width: 0; }
.lj-toggle-row-detail { font-size: 13px; font-weight: 400; line-height: 18px; color: var(--lj-grey, #726B5F); }
.lj-toggle-row-price { flex: none; font-family: var(--font-body); font-size: 15px; font-weight: 400; color: var(--lj-ink, #302D27); white-space: nowrap; }

.lj-callout { display: grid; grid-template-columns: 22px minmax(0, 1fr); align-items: start; gap: 12px; margin: 0; padding: 16px 18px; color: var(--walnut); background: #fff; border: 1px solid var(--lj-hairline, #DED6C8); border-radius: 16px; }
.lj-callout.is-filled { background: var(--lj-well, #EEE8DD); border-color: var(--lj-well, #EEE8DD); }
.lj-callout > svg { width: 22px; height: 22px; color: var(--walnut); }
.lj-callout-title { margin: 0; font-family: var(--font-ui, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif); font-size: 15px; font-weight: 600; line-height: 22px; color: var(--lj-ink, #302D27); }
.lj-callout-text { margin: 4px 0 0; font-family: var(--font-ui, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif); font-size: 14px; line-height: 21px; color: var(--lj-grey, #726B5F); }
.lj-callout.is-filled .lj-callout-text { color: var(--walnut-deep); }
.lj-note { display: grid; grid-template-columns: 22px minmax(0, 1fr); align-items: start; gap: 10px; margin: 0; font-family: var(--font-ui, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif); font-size: 15px; line-height: 22px; color: var(--lj-ink, #302D27); }
.lj-note > svg { width: 22px; height: 22px; color: var(--walnut); }
.lj-note-strong { margin: 0; font-family: var(--font-ui, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif); font-size: 15px; font-weight: 600; line-height: 22px; color: var(--lj-ink, #302D27); }
.lj-subhead { margin: 0; font-family: var(--font-body); font-size: 22px; font-weight: 400; line-height: 28px; color: var(--lj-ink, #302D27); }
.lj-summary { display: grid; grid-template-columns: 28px minmax(0, 1fr); align-items: center; gap: 14px; margin: 0; padding: 18px 20px; background: #fff; border: 1px solid var(--lj-hairline, #DED6C8); border-radius: 16px; }
.lj-summary > svg { width: 28px; height: 28px; color: var(--walnut); }
.lj-summary-main { margin: 0; font-family: var(--font-body); font-size: 24px; font-weight: 400; line-height: 30px; color: var(--lj-ink, #302D27); }
.lj-summary-meta { margin: 4px 0 0; font-family: var(--font-ui, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif); font-size: 13px; line-height: 19px; color: var(--lj-grey, #726B5F); font-variant-numeric: tabular-nums; }
.lj-total { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 0; padding-top: 14px; border-top: 1px solid var(--lj-hairline, #DED6C8); font-family: var(--font-ui, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif); font-size: 15px; line-height: 22px; color: var(--lj-ink, #302D27); }
.lj-total small { display: block; font-size: 13px; line-height: 19px; color: var(--lj-grey, #726B5F); }
.lj-total-amount { flex: none; font-family: var(--font-body); font-size: 22px; line-height: 28px; text-align: right; }
.lj-accept { display: grid; grid-template-columns: 24px minmax(0, 1fr); align-items: start; gap: 12px; margin: 0; font-family: var(--font-ui, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif); font-size: 15px; font-weight: 400; line-height: 22px; color: var(--lj-ink, #302D27); cursor: pointer; }
.lj-accept > input { margin-top: -1px; }

.lj-radio-list { display: grid; gap: 8px; margin: 0; padding: 0; }
.lj-radio-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; width: 100%; min-height: 54px; padding: 12px 16px; font-size: 16px; font-weight: 400; line-height: 22px; text-align: left; color: var(--walnut-dark); background: #fff; border: 1px solid var(--field-border); border-radius: 12px; transition: background-color 0.15s, border-color 0.15s, color 0.15s; }
.lj-radio-row:where(:hover:not(:disabled)) { color: var(--walnut-dark); background: var(--linen-pale); }
.lj-radio-row[aria-checked="true"], .lj-radio-row[aria-checked="true"]:where(:hover:not(:disabled)) { color: var(--walnut-dark); background: var(--linen-light); border-color: var(--walnut); }
.lj-radio-row:focus-visible { box-shadow: var(--focus-ring); }
.lj-radio-text { display: grid; gap: 2px; min-width: 0; }
.lj-radio-label { overflow-wrap: anywhere; }
.lj-radio-row[aria-checked="true"] .lj-radio-label { font-weight: 600; }
.lj-radio-detail { font-size: 13px; line-height: 18px; color: var(--walnut); }
.lj-radio-disc { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 22px; height: 22px; color: #fff; background: #fff; border: 1.5px solid var(--field-border); border-radius: 50%; transition: background-color 0.15s, border-color 0.15s; }
.lj-radio-disc > svg { width: 12px; height: 12px; opacity: 0; }
.lj-radio-row[aria-checked="true"] .lj-radio-disc { background: var(--walnut); border-color: var(--walnut); }
.lj-radio-row[aria-checked="true"] .lj-radio-disc > svg { opacity: 1; }
.lj-radio-list.is-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }

input[type="checkbox"].lj-check { flex: none; width: 24px; height: 24px; margin: 0; background: #fff; border: 1.5px solid var(--tan); border-radius: 5px; cursor: pointer; -webkit-appearance: none; appearance: none; transition: background-color 0.15s, border-color 0.15s; }
input[type="checkbox"].lj-check:checked { background: var(--walnut) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 15px no-repeat; border-color: var(--walnut); }
input[type="checkbox"].lj-check:focus-visible { outline: none; box-shadow: var(--focus-ring); }
input[type="checkbox"].lj-check:disabled { cursor: default; opacity: 0.5; }

.lj-dialog-actions.is-stacked { display: grid; justify-content: stretch; gap: 12px; margin-top: 22px; }
.lj-dialog-actions.is-stacked > button { width: 100%; min-height: 54px; padding: 15px 24px; font-size: 16px; font-weight: 600; line-height: 22px; }
.lj-dialog-title-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 12px; }
.lj-dialog-glyph { display: inline-flex; margin-top: 4px; color: var(--walnut); }
.lj-dialog-glyph > svg { width: 22px; height: 22px; }
.lj-dialog--roomy { width: min(26rem, calc(100vw - 32px)); padding: 26px 24px 24px; border-radius: 20px; }
.lj-dialog--roomy h2 { font-size: 28px; line-height: 34px; color: var(--walnut-dark); }
.lj-dialog--roomy .lj-dialog-message { margin-top: 12px; font-size: 16px; line-height: 24px; }

.lj-dialog.lj-sheet { display: flex; flex-direction: column; width: min(30rem, calc(100vw - 32px)); max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px); padding: 0; overflow: hidden; background: var(--linen-pale); border-radius: 20px; transition: opacity 220ms ease, transform 220ms ease; }
.lj-dialog.lj-sheet:not([open]) { display: none; }
.lj-sheet-grab { display: none; }
.lj-sheet-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 12px; flex: none; padding: 22px 24px 0; }
.lj-dialog.lj-sheet .lj-sheet-head h2 { margin: 2px 0 0; font-size: 28px; line-height: 34px; color: var(--walnut-dark); }
.lj-sheet-sub { flex: none; margin: 8px 24px 0; font-size: 15px; line-height: 22px; color: var(--walnut); }
.lj-sheet-body { flex: 1 1 auto; min-height: 0; padding: 20px 24px 8px; overflow-y: auto; overscroll-behavior: contain; }
.lj-sheet-foot { display: grid; flex: none; padding: 12px 24px calc(20px + env(safe-area-inset-bottom, 0px)); }
.lj-sheet-note { margin: 12px 0 0; font-size: 13px; line-height: 19px; color: var(--walnut); }
@media (max-width: 743px) {
  .lj-dialog.lj-sheet { --glass-tint: var(--glass-tint-clear); --glass-blur: var(--glass-blur-clear); inset: auto 0 0; width: 100%; max-width: none; margin: 0; border-width: 1px 0 0; border-radius: 28px 28px 0 0; box-shadow: 0 -12px 40px rgba(58, 44, 28, 0.18); opacity: 1; transform: translateY(100%); transition: transform 340ms cubic-bezier(0.32, 0.72, 0, 1); }
  .lj-dialog.lj-sheet.open { transform: none; }
  .lj-dialog.lj-sheet.is-dragging { transition: none; }
  .lj-sheet-grab { display: block; flex: none; width: 36px; height: 4px; margin: 10px auto 0; border-radius: 2px; background: var(--field-border); }
  .lj-sheet-grab, .lj-sheet-head { touch-action: none; }
  .lj-sheet-head { padding-top: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .lj-dialog.lj-sheet, .lj-dialog.lj-sheet.open { transform: none; transition: opacity 200ms ease; }
  .lj-dialog.lj-sheet { opacity: 0; }
  .lj-dialog.lj-sheet.open { opacity: 1; }
  .lj-flow-step.is-entering-next, .lj-flow-step.is-entering-back { animation: none; }
  .lj-progress > span, .lj-radio-row, .lj-radio-disc, input[type="checkbox"].lj-check { transition: none; }
}

.lj-wheel-heads { display: grid; grid-auto-columns: minmax(0, 1fr); grid-auto-flow: column; margin: 0 0 6px; font-size: 11px; font-weight: 600; line-height: 16px; letter-spacing: 0.14em; text-align: center; text-transform: uppercase; color: var(--walnut); }
.lj-wheel { --lj-wheel-row: 46px; position: relative; display: grid; grid-auto-columns: minmax(0, 1fr); grid-auto-flow: column; height: calc(var(--lj-wheel-row) * 4); }
.lj-wheel::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: var(--lj-wheel-row); background: var(--linen-light); border-radius: 12px; pointer-events: none; }
.lj-wheel-col { position: relative; height: 100%; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; scroll-snap-type: y mandatory; scrollbar-width: none; outline: none; -webkit-mask-image: linear-gradient(to bottom, #000 0, #000 45%, transparent 100%); mask-image: linear-gradient(to bottom, #000 0, #000 45%, transparent 100%); }
.lj-wheel-col::-webkit-scrollbar { display: none; }
.lj-wheel-col:focus-visible .lj-wheel-item.is-chosen { text-decoration-line: underline; text-decoration-color: var(--walnut); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.lj-wheel-pad { height: 0; }
.lj-wheel-pad:last-child { height: calc(var(--lj-wheel-row) * 3); }
.lj-wheel-item { display: flex; align-items: center; justify-content: center; height: var(--lj-wheel-row); padding: 0 8px; overflow: hidden; font-size: 20px; line-height: 26px; white-space: nowrap; text-overflow: ellipsis; color: var(--walnut); font-variant-numeric: tabular-nums; cursor: pointer; scroll-snap-align: start; -webkit-user-select: none; user-select: none; transition: color 0.15s, transform 0.15s; }
.lj-wheel-item.is-chosen { font-weight: 600; color: var(--walnut-dark); transform: scale(1.2); }
.lj-wheel-colon { position: absolute; top: calc(var(--lj-wheel-row) / 2); left: 33.333%; z-index: 1; margin: -15px 0 0 -3px; font-size: 24px; font-weight: 600; line-height: 26px; color: var(--walnut-dark); pointer-events: none; }
.lj-wheel.is-single .lj-wheel-item { font-size: 19px; }
.lj-wheel.is-single .lj-wheel-item.is-chosen { transform: scale(1.12); }
@media (prefers-reduced-motion: reduce) { .lj-wheel-item { transition: none; } }
