/* Community uses the shared theme tokens in both standard and dark appearance. */
.community-toolbar{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:18px;flex-wrap:wrap}
.community-tabs{display:flex;gap:4px;background:var(--bg);border:1px solid var(--line);border-radius:12px;padding:4px}
.community-tabs button{min-height:42px;padding:10px 20px;border-radius:9px;font-size:12px;font-weight:600}
.community-tabs button[aria-pressed=true]{background:var(--paper);color:var(--red);box-shadow:0 1px 4px #0000000a}
.community-search{display:flex;gap:10px;align-items:center}.community-search input{min-width:0;flex:1;border:1px solid var(--line);border-radius:9px;background:var(--paper);color:var(--ink);padding:13px 14px;font-size:13px;min-height:46px}
.community-caption{font-size:11px;color:var(--muted);line-height:1.7;margin:14px 0}.community-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.community-card{border:1px solid var(--line);border-radius:15px;padding:20px;display:flex;flex-direction:column;min-width:0;background:var(--paper)}
.community-card-top{display:flex;justify-content:space-between;align-items:center;gap:12px}.community-card-top .eyebrow{color:var(--muted);font-size:8px;letter-spacing:1.5px}
.community-symbol{width:40px;height:40px;display:grid;place-items:center;color:var(--green);background:var(--sage);border-radius:11px}.community-symbol svg{width:27px;height:27px}
.community-card h3{font-size:19px;font-weight:500;letter-spacing:-.4px;line-height:1.3;margin:17px 0 5px;overflow-wrap:anywhere}.community-card h3 button{padding:0;text-align:left;font:inherit;min-height:32px}
.community-byline{margin:0 0 12px;font-size:11px;color:var(--muted);overflow-wrap:anywhere}.community-description{font-size:12px;line-height:1.7;margin:0 0 18px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
.community-card>.secondary-btn{margin-top:16px;justify-content:space-between}.community-metrics{display:flex;gap:15px;flex-wrap:wrap;align-items:center;font-size:10px;color:var(--muted);line-height:1.5}.community-card .community-metrics{margin-top:auto}
.community-metrics strong{font-weight:600;color:var(--ink)}.community-rating{display:inline-flex;gap:5px;align-items:center}.community-rating svg{width:13px;height:13px;fill:var(--red);stroke:var(--red)}.community-rating small{font-size:9px}
.community-empty{text-align:center;padding:38px 18px;border:1px dashed var(--line);border-radius:14px;margin:18px 0;color:var(--muted)}.community-empty>svg{height:42px;width:42px;margin:0 auto 17px;color:var(--green)}.community-empty h3{font-weight:500;font-size:21px;letter-spacing:-.6px;color:var(--ink);margin:0 0 13px}.community-empty p{font-size:12px;line-height:1.8;max-width:370px;margin:0 auto}
.community-feedback{border:1px solid var(--line);border-radius:10px;padding:15px;margin:14px 0;background:var(--red-soft);font-size:12px;line-height:1.7}.community-feedback p{margin:0}.community-feedback a{margin-top:12px;text-decoration:none}.community-more{margin:20px auto 0;display:flex}
.community-detail-description{font-size:14px;line-height:1.8;white-space:pre-line;overflow-wrap:anywhere;margin-top:0}.community-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));background:var(--sage);border-radius:12px;margin:24px 0 16px;padding:19px;gap:14px}.community-summary>div{display:flex;flex-direction:column;gap:7px}.community-summary strong{font-size:21px;font-weight:500;line-height:1.2;letter-spacing:-.7px}.community-summary span{font-size:10px;color:var(--muted)}
.community-prescriptions{list-style:none;margin:0;padding:0}.community-prescriptions>li{padding:18px 0;border-bottom:1px solid var(--line);display:flex;gap:15px}.community-order{font-size:10px;color:var(--muted);padding-top:3px;font-variant-numeric:tabular-nums}.community-prescriptions>li>div{min-width:0}.community-prescriptions strong{font-weight:600;font-size:13px;overflow-wrap:anywhere}.community-prescriptions p{font-size:11px;line-height:1.7;margin:7px 0;color:var(--muted)}.community-prescriptions small{font-size:10px;line-height:1.7;color:var(--muted)}.community-prescriptions details{font-size:10px;color:var(--muted);margin-top:9px}.community-prescriptions summary{cursor:pointer;min-height:26px;line-height:26px}.community-prescriptions .community-notes{color:var(--ink);white-space:pre-line;overflow-wrap:anywhere}
.community-rate{padding:20px 0;border-bottom:1px solid var(--line)}.community-rate>strong{display:block;font-size:12px;font-weight:600}.community-stars{display:flex;gap:6px;margin:8px 0}.community-stars button{height:42px;width:42px;display:grid;place-items:center;border-radius:9px;border:1px solid var(--line)}.community-stars svg{width:21px;height:21px;stroke:var(--muted);fill:none;stroke-width:1.2}.community-stars .selected svg{fill:var(--red);stroke:var(--red)}.community-stars button:hover{background:var(--red-soft)}.community-rate small{font-size:10px;color:var(--muted)}
.community-owner{display:flex;gap:14px;flex-wrap:wrap;align-items:center;border-top:1px solid var(--line);padding-top:17px;font-size:11px;color:var(--muted)}
#community-publish-form>.field{margin-top:20px}.community-publish-preview{border:1px solid var(--line);border-radius:13px;margin:22px 0;padding:18px}.community-publish-preview>.eyebrow{font-size:8px;color:var(--muted)}.community-publish-preview>h3{font-size:22px;font-weight:500;margin:12px 0;letter-spacing:-.5px}.community-publish-preview .community-summary{margin:15px 0 5px}.community-consent{display:flex;gap:12px;align-items:start;line-height:1.8;font-size:12px}.community-consent input{flex-shrink:0;width:19px;height:19px;margin-top:3px;accent-color:var(--red)}
.community-pick-list{display:grid;gap:9px}.community-pick{border:1px solid var(--line);border-radius:10px;padding:15px;text-align:left;display:flex;justify-content:space-between;align-items:center;gap:14px;min-height:65px}.community-pick>span:first-child{display:flex;flex-direction:column;gap:7px}.community-pick strong{font-weight:500;font-size:13px}.community-pick small{font-size:10px;color:var(--muted)}
@media(max-width:560px){.community-grid{grid-template-columns:1fr}.community-toolbar{gap:10px}.community-tabs button{padding:9px 16px}.community-toolbar>.text-button{font-size:10px}.community-search input{font-size:16px}.community-summary{padding:16px 13px;gap:10px}.community-summary strong{font-size:18px}.community-summary span{font-size:9px}.community-card{padding:18px}.community-publish-preview{padding:14px}.community-metrics{gap:12px}}

.community-version-date{font-size:.73rem;color:var(--muted);margin-top:-.3rem}.community-dates{display:flex;flex-wrap:wrap;gap:1rem;padding:.8rem 0 1.1rem;font-size:.76rem;color:var(--muted)}.community-dates strong{display:block;color:var(--ink);font-weight:500;margin-top:.2rem}.community-attribution{border-left:3px solid var(--line);padding:.65rem 1rem;margin:1rem 0;font-size:.8rem}.community-attribution p{margin:.4rem 0;color:var(--muted)}.community-attribution .text-button{display:inline;font-size:inherit}.community-update-notice{padding:1rem 1.2rem;border:1px solid var(--line);border-radius:14px;background:var(--sage);margin:0 0 1rem}.community-update-notice p{font-size:.84rem;line-height:1.6;margin:.45rem 0 0;color:var(--muted)}.community-owner-actions{display:flex;gap:.8rem;flex-wrap:wrap;margin-top:.7rem}
