.clue-plaza {
  --clue-coral:#f25564;
  --clue-ink:#2c2928;
  --clue-muted:#7f7a76;
  --clue-line:#f0e3da;
  width:100%;
  padding:10px 0;
  color:var(--clue-ink);
  container:clue-plaza / inline-size;
}
.clue-plaza [hidden] { display:none !important; }
.clue-plaza :is(a,button,input,select):focus-visible { outline:2px solid #df8991; outline-offset:3px; }
.clue-plaza-head { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:10px 18px; margin-bottom:18px; }
.clue-plaza-heading { grid-column:1/-1; display:flex; align-items:center; justify-content:space-between; gap:16px; }
.clue-plaza-heading h1 { margin:0; font-size:23px; font-weight:750; line-height:1.4; letter-spacing:0; }
.clue-plaza-heading p { flex:0 0 auto; margin:0; color:var(--clue-muted); font-size:13px; line-height:1.5; }
.clue-plaza-intro { margin:0; color:var(--clue-muted); font-size:13px; line-height:1.7; }
.clue-plaza-actions { display:flex; align-items:center; justify-content:flex-end; gap:10px; }
.clue-plaza-actions>a { color:#746c66; font-size:13px; white-space:nowrap; }
.clue-plaza-actions>a:first-child:hover { color:var(--clue-coral); }
.clue-plaza-actions .primary-button { min-height:39px; padding:8px 14px; color:#fff; font-size:13px; box-shadow:none; }
.clue-plaza-actions .primary-button svg { width:14px; height:14px; }
.clue-plaza-filter { margin:0 0 24px; }
.clue-plaza-search-row { display:flex; align-items:center; gap:10px; }
.clue-plaza-search { flex:1; min-width:0; }
.clue-plaza-input { display:flex; align-items:center; gap:10px; height:43px; padding:0 15px; border:1px solid #efdfd5; border-radius:999px; background:#fff; transition:border-color .18s ease,box-shadow .18s ease; }
.clue-plaza-input:focus-within { border-color:#dc9c95; box-shadow:0 2px 10px rgba(190,112,100,.08); }
.clue-plaza-input svg { flex:0 0 18px; width:18px; height:18px; color:var(--clue-coral); }
.clue-plaza-input input { width:100%; min-width:0; height:100%; padding:0; border:0; outline:0; background:transparent; color:var(--clue-ink); font:inherit; font-size:14px; }
.clue-plaza-input input::placeholder { color:#8f8882; }
.clue-plaza-search-row>.primary-button { flex:0 0 auto; justify-content:center; min-height:43px; padding:0 20px; font-size:13px; box-shadow:0 8px 18px rgba(242,85,100,.16); }
.clue-plaza-filter-row { display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin-top:12px; }
.clue-plaza-filter-row label { display:flex; align-items:center; min-width:0; min-height:35px; padding:0 4px 0 11px; border:1px solid var(--clue-line); border-radius:999px; background:#fff; color:#a16a5d; font-size:12px; }
.clue-plaza-filter-row label:hover { border-color:#e9b5a6; }
.clue-plaza-filter-row select { min-width:100px; height:33px; padding:0 24px 0 7px; border:0; outline:0; background:transparent; color:#625b56; font:inherit; font-size:12px; cursor:pointer; }
.clue-plaza-clear { padding:7px 4px; color:#a0786c; font-size:12px; text-decoration:underline; text-underline-offset:3px; }
.clue-plaza-feed-head { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:13px; }
.clue-plaza-feed-head h2 { margin:0; font-size:20px; font-weight:750; line-height:1.4; letter-spacing:0; }
.clue-plaza-feed-head p { margin:0; color:var(--clue-muted); font-size:12px; line-height:1.5; text-align:right; }
.clue-plaza-feed { display:grid; gap:14px; }
.clue-plaza-item { min-width:0; overflow:hidden; border:1px solid var(--clue-line); border-radius:20px; background:#fff; box-shadow:0 4px 14px rgba(91,63,43,.06); transition:transform .22s ease,box-shadow .22s ease; }
.clue-plaza-card-body { padding:18px; }
.clue-plaza-meta { display:flex; align-items:center; gap:9px; min-width:0; }
.clue-plaza-avatar { display:grid; place-items:center; width:34px; height:34px; flex:0 0 34px; border-radius:50%; background:#fff0e9; color:#d9564d; font-size:13px; font-weight:750; }
.clue-plaza-provider { display:grid; gap:2px; min-width:0; }
.clue-plaza-provider b { overflow:hidden; color:#4a423d; font-size:13px; font-weight:700; text-overflow:ellipsis; white-space:nowrap; }
.clue-plaza-provider small { color:#938983; font-size:11px; line-height:1.4; }
.clue-plaza-provider time { font-variant-numeric:tabular-nums; }
.clue-plaza-kind { max-width:150px; margin-left:auto; overflow:hidden; padding:4px 8px; border-radius:7px; background:#fff2ea; color:#f16d45; font-size:12px; line-height:1.4; text-overflow:ellipsis; white-space:nowrap; }
.clue-plaza-kind.is-correction { background:#edf6ed; color:#347762; }
.clue-plaza-kind.is-price { background:#fff5d9; color:#927026; }
.clue-plaza-kind.is-other { background:#f0eafa; color:#786098; }
.clue-plaza-hospital { display:flex; align-items:center; gap:7px; width:fit-content; max-width:100%; margin-top:15px; color:var(--clue-ink); font-size:18px; font-weight:700; line-height:1.5; overflow-wrap:anywhere; }
.clue-plaza-hospital svg { flex:0 0 17px; width:17px; height:17px; color:#cf7653; }
.clue-plaza-hospital:hover { color:var(--clue-coral); }
.clue-plaza-content { margin:9px 0 0; color:#746c66; font-size:14px; line-height:1.8; overflow-wrap:anywhere; }
.clue-plaza-card-foot { display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:58px; padding:10px 14px 10px 16px; border-top:1px solid var(--clue-line); background:#fffaf7; }
.clue-plaza-source-wrap { min-width:0; color:#9a8d85; font-size:11px; }
.clue-plaza-source { display:flex; align-items:center; gap:5px; color:#817973; font-size:12px; white-space:nowrap; }
.clue-plaza-source:hover { color:var(--clue-coral); }
.clue-plaza-source svg { flex:0 0 15px; width:15px; height:15px; color:#cf7653; }
.clue-plaza-source>span { margin-left:2px; font-size:15px; }
.clue-plaza-votes { position:relative; display:flex; flex:0 0 auto; gap:7px; }
.clue-plaza-votes button { display:flex; align-items:center; justify-content:center; gap:5px; min-width:82px; min-height:36px; padding:6px 10px; border:1px solid #ecdcd3; border-radius:14px; background:#fff; color:#756d67; font:inherit; font-size:12px; cursor:pointer; transition:background .18s ease,border-color .18s ease,color .18s ease; }
.clue-plaza-votes button:hover { border-color:#e9b5a6; color:#db6657; }
.clue-plaza-votes button[aria-pressed=true] { border-color:#f5c3ba; background:#fff0e9; color:#d9564d; font-weight:700; }
.clue-plaza-votes button:disabled { opacity:.62; cursor:wait; }
.clue-plaza-votes button svg { width:16px; height:16px; }
.clue-plaza-votes b { margin-left:2px; font-size:12px; font-variant-numeric:tabular-nums; }
.clue-plaza-vote-feedback { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); }
.clue-plaza-state { padding:32px 20px; border:1px solid var(--clue-line); border-radius:20px; background:#fff9f4; color:var(--clue-muted); text-align:center; }
.clue-plaza-state strong { display:block; color:var(--clue-ink); font-size:20px; }
.clue-plaza-state p { margin:8px 0 16px; font-size:14px; line-height:1.7; }
.clue-plaza-state a { display:inline-flex; min-height:38px; align-items:center; justify-content:center; padding:8px 15px; border-radius:14px; background:linear-gradient(105deg,#ff857b,#f4516d); color:#fff; font-size:13px; font-weight:750; }
.clue-plaza-state.is-error strong { color:#a33443; }
.clue-plaza-pagination { display:flex; align-items:center; justify-content:center; gap:14px; margin-top:24px; }
.clue-plaza-pagination>span:empty { display:none; }
.clue-plaza-pagination a { display:inline-flex; min-height:38px; align-items:center; justify-content:center; gap:6px; padding:8px 15px; border-radius:14px; background:linear-gradient(105deg,#ff857b,#f4516d); color:#fff; font-size:13px; font-weight:750; }
@media (hover:hover) and (pointer:fine) {
  .clue-plaza-item:hover { transform:translateY(-3px); box-shadow:0 10px 22px rgba(91,63,43,.1); }
}
@container clue-plaza (max-width:520px) {
  .clue-plaza-head { grid-template-columns:minmax(0,1fr); }
  .clue-plaza-actions { justify-content:flex-start; }
  .clue-plaza-filter-row { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); }
  .clue-plaza-filter-row label { width:100%; }
  .clue-plaza-filter-row label:nth-child(3) { grid-column:1/-1; }
  .clue-plaza-filter-row select { flex:1; width:100%; }
  .clue-plaza-card-foot { align-items:flex-start; flex-direction:column; }
  .clue-plaza-votes { width:100%; }
  .clue-plaza-votes button { flex:1; }
}
@container clue-plaza (max-width:350px) {
  .clue-plaza-heading h1 { font-size:22px; }
  .clue-plaza-heading p { font-size:12px; }
  .clue-plaza-intro { font-size:12px; }
  .clue-plaza-search-row>.primary-button { padding-inline:15px; }
  .clue-plaza-card-body { padding:16px; }
  .clue-plaza-provider small { font-size:10px; }
  .clue-plaza-kind { font-size:11px; }
}
@media (prefers-reduced-motion:reduce) {
  .clue-plaza *, .clue-plaza *::before, .clue-plaza *::after { transition:none; }
  .clue-plaza-item:hover { transform:none; }
}
