*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: #1e1410;
  color: #1f2328;
  line-height: 1.5;
  min-height: 100vh;
  padding: 32px 16px;
  /* Centers a lone .card (login/accept-invite/complete-profile) both axes
     on the page. Pages using the wider .page dashboard layout override
     this back to normal top-aligned block flow just below. */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* .page-based screens (dashboard/users/admins/settings/music-library) are
   top-aligned, potentially-tall, scrollable content -- flex-centering
   those vertically would push content off the top of the viewport. */
body:has(.page) {
  display: block;
  padding-top: calc(72px + 32px);
}

/* Inside the console's frame (console.html) the frame paints the photograph and
   draws the nav once; a page only paints its own when it stands alone. The
   scrollbar's track is always reserved so pages that scroll and pages that do
   not lay out to the same width. */
html.lj-framed {
  overflow-y: scroll;
  scrollbar-gutter: stable;
}

html.lj-framed body {
  background: transparent;
}

html.lj-framed body::before,
html.lj-framed .topnav {
  display: none;
}

/* The journal homepage's photograph behind the console, with the same gradient
   and vignette the design lays over it. A fixed layer rather than a fixed
   background so it holds on iOS. */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at center, transparent 45%, rgba(0, 0, 0, 0.4) 100%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0.6)),
    url('/hero.jpg') center / cover no-repeat,
    #1e1410;
  pointer-events: none;
}

.card {
  max-width: 460px;
  width: 100%;
  background: #fff;
  border: 1px solid #d8dce1;
  border-radius: 6px;
  padding: 28px;
}

h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 20px;
  margin-bottom: 6px;
}

h2 {
  font-size: 16px;
  margin: 24px 0 8px;
}

p.sub {
  font-size: 14px;
  color: #57606a;
  margin-bottom: 18px;
}

label {
  display: block;
  margin: 14px 0 4px;
}

form > button, .panel > button { display: block; margin-top: 20px; }
form > .actions { margin-top: 20px; }

.secret {
  display: block;
  margin-bottom: 8px;
  padding: 8px 10px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 14px;
  letter-spacing: 1px;
  word-break: break-all;
  background: #f4f5f7;
  border: 1px solid #d8dce1;
  border-radius: 4px;
}

img#qr {
  display: block;
  margin: 4px auto 12px;
  border: 1px solid #d8dce1;
  border-radius: 4px;
  background: #fff;
}

dl.meta {
  font-size: 14px;
  margin: 16px 0;
}

dl.meta dt {
  font-weight: 600;
  color: #57606a;
  margin-top: 8px;
}

.linkbtn {
  display: inline-block;
  width: auto;
  margin-top: 20px;
  padding: 8px 14px;
  font-size: 14px;
  background: #6e7781;
}

.linkbtn:hover:not(:disabled) { background: #57606a; }

/* --- Multi-page console chrome (users/admins/settings/music-library) ----
   The auth pages above (.card, max-width 460px) stay a narrow centered
   card; these rules are additive for the wider table/dashboard screens. */

.page {
  max-width: 1100px;
  margin: 0 auto;
}

/* The homepage's nav: fixed, white over the photograph, linen and walnut once
   the page has scrolled. nav.js adds the hummingbird, the hamburger and the
   scroll state. */
.topnav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: 72px;
  margin: 0;
  padding: 0 max(16px, calc(50% - 40rem));
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  column-gap: 24px;
  color: #fff;
  background-color: transparent;
  border-bottom: 1px solid transparent;
  transition: color 0.5s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.7s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.7s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.topnav.lj-scrolled,
.topnav.lj-menu-open {
  color: #755d3b;
  background-color: rgba(225, 206, 187, 0.96);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
  border-bottom-color: rgba(196, 168, 130, 0.4);
}

.topnav .brand {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 600;
  font-style: italic;
  letter-spacing: 0.025em;
  white-space: nowrap;
  color: inherit;
}

.topnav .lj-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.topnav a {
  font-family: 'Lora', Georgia, serif;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: inherit;
  opacity: 0.9;
  text-decoration: none;
  transition: opacity 0.3s;
}

.topnav a:hover { opacity: 0.6; }
.topnav a.active { opacity: 1; font-weight: 500; text-decoration: underline; text-underline-offset: 6px; }

.topnav button {
  padding: 6px 16px;
  font-family: 'Lora', Georgia, serif;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  color: inherit;
  background: transparent;
  border-color: currentColor;
  opacity: 0.9;
}

.topnav button:hover:not(:disabled) { background: transparent; opacity: 0.7; }

.topnav .lj-menu-button {
  display: none;
  grid-row: 1;
  grid-column: 3;
  padding: 0;
  border: 0;
  background: none;
}

.topnav .lj-menu-button span {
  display: block;
  width: 20px;
  height: 1px;
  background: currentColor;
  transition: transform 0.3s, opacity 0.3s;
}

.topnav .lj-menu-button span + span { margin-top: 5px; }
.topnav.lj-menu-open .lj-menu-button span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.topnav.lj-menu-open .lj-menu-button span:nth-child(2) { opacity: 0; }
.topnav.lj-menu-open .lj-menu-button span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 900px) {
  .topnav {
    grid-template-columns: 1fr auto;
    height: auto;
    min-height: 72px;
  }

  .topnav .brand { grid-row: 1; grid-column: 1; min-height: 72px; }
  .topnav .lj-menu-button { display: block; grid-column: 2; justify-self: end; }

  .topnav .lj-links,
  .topnav > button#logout {
    grid-column: 1 / -1;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.5s, opacity 0.5s;
  }

  .topnav .lj-links { flex-direction: column; align-items: flex-start; gap: 16px; }
  .topnav.lj-menu-open .lj-links { max-height: 600px; opacity: 1; padding: 20px 0 16px; }
  .topnav.lj-menu-open > button#logout { max-height: 60px; opacity: 1; margin-bottom: 20px; justify-self: start; }
}

.metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

.stat-card {
  background: #fff;
  border: 1px solid #d8dce1;
  border-radius: 6px;
  padding: 16px 18px;
}

.stat-card .value {
  font-size: 28px;
  font-weight: 700;
}

.stat-card .label {
  font-size: 13px;
  color: #57606a;
  margin-top: 2px;
}

.panel {
  background: #fff;
  border: 1px solid #d8dce1;
  border-radius: 6px;
  padding: 20px;
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 14px;
}

.toolbar input, .toolbar select {
  width: auto;
  min-width: 140px;
}

.toolbar .toolbar-search {
  flex: 1 1 240px;
  max-width: 480px;
}

.toolbar-right {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}


.refresh-btn.spinning svg { animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .refresh-btn.spinning svg { animation: none; opacity: 0.5; } }

table.users {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

table.users th, table.users td {
  text-align: left;
  padding: 9px 10px;
  border-bottom: 1px solid #eaecef;
}

table.users th {
  color: #57606a;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

table.users tbody tr:hover {
  background: var(--linen-pale);
  cursor: pointer;
}

table.users.fixed { table-layout: fixed; }
table.users.fixed td { vertical-align: middle; }
table.users.fixed .row-actions { justify-content: flex-end; }
table.users .line { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d0d7de;
  margin-right: 6px;
}

.dot.active {
  background: #2da44e;
}

.pill {
  display: inline-block;
  padding: 2px 8px;
  font-size: 12px;
  border-radius: 20px;
  background: #eaecef;
  color: #57606a;
  white-space: nowrap;
}

.pill.disabled { background: #ffebe9; color: #82071e; }
.pill.deleted { background: #f6f8fa; color: #57606a; text-decoration: line-through; }
.pill.expired, .pill.invite_expired { background: #fff8c5; color: #7d5a00; }
.pill.indexed { background: #dafbe1; color: #1a7f37; }
.pill.live { background: #dafbe1; color: #1a7f37; }
.pill.suspended { background: #fff8c5; color: #7d5a00; }
.pill.soft_deleted { background: #ffebe9; color: #82071e; }
.pill.destroyed { background: #f6f8fa; color: #57606a; text-decoration: line-through; }
.pill.working, .pill.provisioning, .pill.registering, .pill.destroying, .pill.restoring, .pill.pending, .pill.queued,
.pill.invite_sent, .pill.invite_queued, .pill.invited, .pill.guided { background: var(--linen-light); color: var(--walnut); }
.pill.personal { background: #fff; color: var(--muted); box-shadow: inset 0 0 0 1px var(--tan-light); }
.pill.invite_failed { background: #ffebe9; color: #82071e; }
.pill.failed, .pill.destroy_failed { background: #ffebe9; color: #82071e; }

dialog.modal {
  /* The page-wide `* { margin: 0 }` reset (top of this file) also zeroes
     out <dialog>'s own default UA-stylesheet `margin: auto`, which is what
     a native <dialog> relies on to center itself -- without this, an open
     dialog sits pinned to the top-left of the viewport instead of centered.
     Restoring it here, explicitly, fixes centering for every dialog.modal
     on every page. */
  margin: auto;
  width: min(480px, 90vw);
  max-height: 85vh;
  overflow-y: auto;
  border: 1px solid #d8dce1;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

/* Wider variant for content-heavy modals (e.g. music-library.html's
   playlist track manager). */
dialog.modal.wide {
  width: min(720px, 94vw);
}

dialog.modal::backdrop {
  background: rgba(15, 20, 25, 0.5);
}

dialog.modal .modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }

dialog.modal.split { padding: 0; overflow: hidden; }
dialog.modal.split[open] { display: flex; flex-direction: column; }
dialog.modal.split .modal-fixed { flex: none; padding: 20px 24px 16px; border-bottom: 1px solid #eaecef; }
dialog.modal.split .modal-scroll { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 16px 24px 24px; }

.table-wrap { overflow-x: auto; }
.chips { display: flex; flex-wrap: wrap; gap: 4px; }
.pill.scope { background: var(--linen-light); color: var(--walnut); }
.pill.scope.global { background: var(--walnut); color: var(--linen-pale, #F7F0E8); }
.switch-row { display: flex; align-items: center; gap: 8px; margin: 6px 0 10px; font-weight: 400; }
.details { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: 13px; color: #57606a; }

/* --- Sidebar-tabbed settings layout (prompt-settings.html) --------------- */

.settings-layout {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.settings-nav {
  flex: 0 0 220px;
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: #fff;
  border: 1px solid #d8dce1;
  border-radius: 6px;
  padding: 8px;
  position: sticky;
  top: calc(72px + 20px);
  max-height: calc(100vh - 72px - 40px);
  overflow-y: auto;
}

.settings-nav button {
  width: 100%;
  margin: 0;
  padding: 8px 12px;
  text-align: left;
  font-size: 13px;
  font-weight: 500;
  background: transparent;
  color: #1f2328;
  border-radius: 999px;
}

.settings-nav button:hover:not(:disabled) { background: var(--linen-pale); }
.settings-nav button.active { background: var(--linen-pale); color: var(--walnut); font-weight: 600; }

.settings-content {
  flex: 1;
  min-width: 0;
}

.settings-section { display: none; }
.settings-section.active { display: block; }

@media (max-width: 760px) {
  .settings-layout { flex-direction: column; align-items: stretch; }
  .settings-nav { flex: none; position: static; }
}

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

.field-group label {
  display: block;
  margin-bottom: 6px;
}

.field-group textarea {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  line-height: 1.5;
  resize: vertical;
}

.field-group .save-btn { margin-top: 8px; }

.prompt-key-group {
  border: 1px solid #d0d7de;
  border-radius: 4px;
  padding: 8px 12px;
  margin-bottom: 8px;
}

.prompt-key-group summary {
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
}

.prompt-key-checks {
  display: grid;
  /* Fixed track width, not minmax(180px, 1fr) -- 1fr let each column
     stretch to fill the row when a group has only a few items, spreading
     them out across the full width instead of packing left. A fixed size
     leaves unused space at the row's right edge instead of distributing it
     into every column. */
  grid-template-columns: repeat(auto-fill, 200px);
  justify-content: start;
  gap: 8px 16px;
  margin-top: 10px;
  max-height: 180px;
  overflow-y: auto;
}

/* A nested grid, not flex, for the checkbox+text pairing -- confirmed live
   that flex's default flex-basis:auto sizing for the text span collapsed to
   a *computed width of 0* when combined with overflow:hidden (a real,
   documented flex/overflow interaction, not just a missing property), even
   though flex-shrink/min-width looked correct on paper. A grid track's size
   doesn't depend on that content-size heuristic at all: "auto 1fr" always
   gives the checkbox exactly its own width and the text everything else,
   full stop. */
.prompt-key-checks label {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 400;
  min-width: 0;
}

.prompt-key-checks label span {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Chip-toggle prompt picker -- knowledge-base document reassignment modal
   (prompt-settings.html's #kb-modal). Same grouped-by-type shape as
   .prompt-key-group/.prompt-key-checks above, but each option is a clickable
   pill toggle instead of a checkbox row, per this feature's own request. */
.chip-group { margin-bottom: 14px; }

.chip-group-label {
  font-size: 12px;
  font-weight: 600;
  color: #57606a;
  margin-bottom: 6px;
}

.chip-options { display: flex; flex-wrap: wrap; gap: 8px; }


.loading {
  text-align: center;
  padding: 24px;
  color: #57606a;
  font-size: 13px;
}

.spinner {
  border: 3px solid var(--tan-light);
  border-top-color: var(--walnut);
  border-radius: 50%;
  width: 28px;
  height: 28px;
  animation: spin 1s linear infinite;
  margin: 0 auto 10px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Small inline variant of .spinner -- fits inside a button in place of
   its label text while an action (e.g. delete) is in flight. */
.btn-spinner {
  display: inline-block;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  width: 13px;
  height: 13px;
  vertical-align: middle;
  animation: spin 0.7s linear infinite;
}

.note-box {
  padding: 10px 12px;
  margin: 12px 0 4px;
  font-size: 14px;
  line-height: 1.5;
  background: var(--linen-pale);
  border: 1px solid var(--tan-light);
  border-radius: 8px;
  color: var(--walnut-deep);
}

.readonly-banner {
  padding: 10px 12px;
  margin-bottom: 20px;
  font-size: 14px;
  background: #fff8e6;
  border: 1px solid #f0d999;
  border-radius: 4px;
  color: #7a5c00;
}

.chapter-table-wrap {
  max-height: 480px;
  overflow-y: auto;
  border: 1px solid #eaecef;
  border-radius: 4px;
}

.chapter-table-wrap table.users th {
  position: sticky;
  top: 0;
  background: #fff;
}

/* Shared with music-library.html's category chips and
   prompt-settings.html's reflection-period picker. */
.categories-list { display: flex; flex-wrap: wrap; gap: 8px; }
.categories-list .pill { display: flex; align-items: center; gap: 6px; }
.categories-list .pill button { padding: 0 4px; background: none; color: #57606a; font-size: 14px; }

/* Bigger chip variant -- music-library.html's category chips specifically
   (not prompt-settings.html's reflection picker, which stays compact). */
.categories-list.chips-lg { gap: 8px; }
.categories-list.chips-lg .pill { padding: 4px 10px; font-size: 12px; border-radius: 15px; }
.categories-list.chips-lg .pill button { font-size: 11px; }

/* --- Bootstrap-style single-button dropdown -------------------------------
   Used everywhere a native <select>/ad hoc bulk-action menu would otherwise
   look inconsistent: users.html's filters + bulk-action menu, admins.html's
   invite-role picker, music-library.html's category assignment. Two modes:
   single-select (.dd-item click sets the value and closes the menu) and
   multi-select (.dd[data-multi] keeps the menu open so several checkboxes
   can be ticked; see each page's small amount of wiring JS). */

.dd {
  position: relative;
  display: inline-block;
}

.dd-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  max-width: 260px;
  overflow: hidden;
  text-overflow: ellipsis;
}


.dd-toggle::after {
  content: "";
  flex: 0 0 auto;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
}

.dd-menu {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 200px;
  max-height: 320px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid #d8dce1;
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  padding: 4px;
  z-index: 60;
}

.dd.open .dd-menu { display: block; }

.dd-item {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 7px 10px;
  font-size: 13px;
  font-weight: 400;
  text-align: left;
  background: none;
  color: #1f2328;
  border-radius: 4px;
}

.dd-item:hover:not(:disabled) { background: var(--linen-pale); }
.dd-item.selected { background: var(--linen-pale); color: var(--walnut); font-weight: 600; }
.dd-item:disabled { cursor: not-allowed; }
.dd-item.danger { color: var(--danger); border-color: transparent; }

.dd-divider {
  height: 1px;
  background: #eaecef;
  margin: 4px 2px;
}

.dd-menu .dd-new-form {
  display: flex;
  gap: 6px;
  padding: 6px;
  border-top: 1px solid #eaecef;
  margin-top: 4px;
}

.dd-menu .dd-new-form input {
  width: auto;
  flex: 1;
}


/* --- Skeleton loaders ------------------------------------------------------
   Every screen that fetches its content shows the shape of that content while
   it loads, rather than an empty panel or a spinner. The shape is the point:
   a person reading a table sees rows arriving where rows will be, so the page
   does not jump under them when the data lands.

   First used for the church modal's charts (2026-09-24) and generalised here
   on 2026-09-25 so every page draws them the same way. The markup comes from
   skeletons.js -- keep the two in step.

   Every skeleton is aria-hidden and its container gets aria-busy, so a screen
   reader is told "busy" instead of reading out a dozen empty boxes. */

.skeleton {
  position: relative;
  overflow: hidden;
  background: #eef1f4;
  border-radius: 4px;
}

.skeleton::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.65), transparent);
  animation: skeleton-shimmer 1.3s infinite;
}

@keyframes skeleton-shimmer {
  to { transform: translateX(100%); }
}

/* A sweep across the screen is exactly the kind of motion that makes some
   people ill; the shape still reads without it. */
@media (prefers-reduced-motion: reduce) {
  .skeleton::after { animation: none; opacity: 0.4; }
}

/* One line of text. The widths are deliberately uneven where several stack,
   because a paragraph of identical bars reads as a loading graphic rather
   than as text about to arrive. */
.skeleton-line { height: 12px; margin: 6px 0; }
.skeleton-line.w-30 { width: 30%; }
.skeleton-line.w-45 { width: 45%; }
.skeleton-line.w-60 { width: 60%; }
.skeleton-line.w-75 { width: 75%; }
.skeleton-line.w-90 { width: 90%; }
.skeleton-line.w-100 { width: 100%; }

/* The big number on a stat tile, sized to the real one so the tile does not
   change height when it fills. */
.skeleton-value { height: 26px; width: 58px; margin-bottom: 4px; }
.skeleton-legend { height: 12px; width: 150px; }
.skeleton-chart { height: 196px; width: 100%; }

/* A status badge, an avatar, a block of card body. */
.skeleton-pill { height: 18px; width: 72px; border-radius: 9px; display: inline-block; }
.skeleton-block { height: 72px; width: 100%; }
.skeleton-input { height: 38px; width: 100%; }
.skeleton-textarea { height: 96px; width: 100%; }

/* Table rows. The cell padding comes from the real table, so a skeleton row
   is exactly as tall as the row that replaces it. */
tr.skeleton-row td { vertical-align: middle; }

/* --- Expandable lists: Words of the Day, Friend Voice stand-ins --------- */

.list-count { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.toolbar .list-search { width: 16rem; min-width: 0; }
table.users.expand-list col.edit { width: 72px; }
table.users.expand-list col.delete { width: 88px; }
table.users.expand-list td { vertical-align: top; }
table.users.expand-list td.act { padding-left: 0; text-align: right; }
table.users.expand-list .row-meta { margin-bottom: 2px; font-size: 12px; color: var(--muted); }
table.users.expand-list .row-text { overflow: hidden; transition: max-height 0.28s ease; }
table.users.expand-list tr.open .row-text { white-space: normal; text-overflow: clip; }
#words-sentinel { height: 1px; }
.settings-section .panel + .panel { margin-top: 20px; }
@media (max-width: 640px) {
  .toolbar .list-search { width: 100%; }
}


.price-table-wrap { overflow-x: auto; margin: 6px 0 12px; }
.price-table { min-width: 720px; }
.price-table tbody tr:hover { background: none; cursor: default; }
.price-table td { vertical-align: middle; }
.price-table td.period { white-space: nowrap; }
.price-table td.period .every { color: #57606a; margin-right: 6px; }
.price-table input.count { width: 4.2rem; margin: 0 6px 0 0; text-align: right; display: inline-block; }
.price-table select.unit { width: auto; margin: 0; display: inline-block; }
.price-table td.num { white-space: nowrap; text-align: right; }
.price-table td.num .prefix { color: #57606a; margin-right: 4px; }
.price-table td.num input.amount { width: 6rem; margin: 0; text-align: right; font-variant-numeric: tabular-nums; display: inline-block; }
.price-table th.num { text-align: right; }
input.saved-secret::placeholder { color: var(--walnut-dark); opacity: 1; letter-spacing: 0.12em; }
