/* What a place has: details, the editor checklist, filters. Same tokens as app.css. */

/* ---- place page */
.lst-sleep { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; padding: 8px 14px 8px 12px; border-radius: var(--r-pill); background: var(--chip); font-size: 14px; font-weight: 500; color: var(--ink); line-height: 1.3; }
.lst-sleep .i { color: var(--muted); flex: none; }
.lst-k { color: var(--muted); font-weight: 400; margin-right: 4px; }
.lst-nudge { display: flex; align-items: center; gap: 14px; transition: transform var(--dur-quick) var(--ease), box-shadow var(--dur-med) var(--ease); }
@media (hover: hover) { .lst-nudge:hover { box-shadow: var(--shadow-lift); } }
.lst-nudge:active { transform: scale(.985); }

.lst-groups { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px 24px; }
.lst-group { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.lst-gl { font-size: 13px; font-weight: 500; color: var(--muted); }
.lst-items { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.lst-items.plain { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px 24px; }
.lst-items li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--ink); line-height: 1.35; }
.lst-items li .i { flex: none; color: var(--ink-2); }
.lst-items.yes li .i { color: var(--ok); }
.lst-items.plain li .i { color: var(--muted); }
.lst-items.no li { color: var(--muted); }
.lst-items.no li span { text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--muted) 60%, transparent); }
.lst-items.no li .i { color: var(--faint); }

/* ---- progress ring + bar */
.lst-ring { --p: 0; position: relative; flex: none; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: conic-gradient(#8B5CF6 calc(var(--p) * 1%), var(--chip) 0); }
.lst-ring::before { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: var(--card); }
.lst-ring b { position: relative; font-size: 13px; font-weight: 500; color: var(--ink); }
.lst-ring-in { position: relative; display: flex; flex-direction: column; align-items: center; line-height: 1.05; }
.lst-ring-in small { font-size: 9px; font-weight: 500; color: var(--muted); letter-spacing: .01em; }
.lst-ring.done { background: conic-gradient(var(--ok) 100%, var(--chip) 0); }
.lst-bar { height: 6px; border-radius: 3px; background: var(--chip); overflow: hidden; }
.lst-bar i { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, #8B5CF6, #EC4899); transition: width var(--dur-med) var(--ease); }
.lst-check-card { scroll-margin-top: 90px; }
.lst-missing { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.lst-missing button { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; padding: 8px 10px; border-radius: 12px; font-size: 14px; color: var(--ink); transition: background-color var(--dur-quick) var(--ease); }
.lst-missing button .i { flex: none; color: var(--muted); }
@media (hover: hover) { .lst-missing button:hover { background: var(--chip); } }
.lst-missing button:active { transform: scale(.99); }

/* ---- editor */
.lst-ed hr { margin: 4px 0; }
.lst-beds { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px 24px; }
.lst-bed { display: flex; align-items: center; gap: 12px; min-height: 44px; }
.lst-two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .lst-two { grid-template-columns: 1fr; } }
.lst-tri { display: inline-flex; gap: 4px; padding: 3px; border-radius: var(--r-pill); background: var(--chip); align-self: flex-start; }
.lst-tri button { height: 32px; padding: 0 14px; border-radius: var(--r-pill); font-size: 13px; font-weight: 500; color: var(--muted); transition: background-color var(--dur-quick) var(--ease), color var(--dur-quick) var(--ease); }
.lst-tri button[aria-pressed="true"] { background: var(--card); color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .08); }
@media (hover: hover) { .lst-tri button:hover { color: var(--ink); } }
.lst-ans.yes { background: var(--ok-soft); color: var(--ink); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ok) 35%, transparent); }
.lst-ans.yes .i { color: var(--ok); }
.lst-ans.no { color: var(--muted); text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--muted) 60%, transparent); }
.lst-ans.no .i { color: var(--bad); }
.lst-legend { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.lst-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--chip-hover); display: inline-block; margin-left: 8px; }
.lst-dot:first-child { margin-left: 0; }
.lst-dot.yes { background: var(--ok); }
.lst-dot.no { background: var(--bad); }
.lst-ed .chip[disabled], [data-seg="hosting"] button[disabled] { opacity: .4; cursor: not-allowed; }

/* ---- filters */
.lst-on { background: var(--ink); color: var(--on-ink); box-shadow: none; }
.lst-on .i { opacity: .7; }
@media (hover: hover) { .lst-on:hover { background: color-mix(in srgb, var(--ink) 85%, var(--page)); } }
