/* Isolated community notice board; inherits the legacy homepage theme. */
#lostFoundCard,.lost-panel{--lost-action:var(--accent2);--lost-soft:var(--lilac);--lost-success:var(--good);--lost-ring:var(--line);--lost-panel-shadow:var(--shadow);letter-spacing:0}
#lostFoundCard{overflow:hidden;padding:0;min-width:0}
#lostFoundCard .lf-heading{padding:18px 18px 12px;display:flex;align-items:center;justify-content:space-between;gap:8px}
#lostFoundCard .side-title{font-size:15px;letter-spacing:0;margin:0;line-height:1.45}
#lostFoundCard .lf-heading-icon{width:36px;height:36px;flex-shrink:0;display:grid;place-items:center;background:var(--lost-soft);border-radius:8px;font-size:20px}
#lostFoundCard .lf-cover{width:100%;height:auto;aspect-ratio:2/1;object-fit:cover;display:block;background:var(--lost-soft)}
#lostFoundCard .lf-content{padding:16px 18px 18px}
#lostFoundCard .lf-intro{color:var(--muted);font-size:12px;line-height:1.65;margin:0 0 13px}
.lf-status{display:inline-flex;align-items:center;gap:5px;font-size:10px;font-weight:850;color:var(--lost-action);background:var(--lost-soft);padding:4px 8px;border-radius:6px}
.lf-status.is-found{color:var(--lost-success);background:color-mix(in srgb,var(--lost-success) 10%,var(--paper))}
#lostFoundCard .lf-notice-title{font-size:15px;line-height:1.4;margin:10px 0 5px;overflow-wrap:anywhere}
#lostFoundCard .lf-location,.lf-meta{font-size:11px;color:var(--muted);line-height:1.6;overflow-wrap:anywhere}
#lostFoundCard .lf-location{margin:0 0 10px}
.lf-pager{display:flex;align-items:center;justify-content:space-between;margin:13px 0;gap:8px;color:var(--muted);font-size:11px}
.lf-pager .iconbtn{height:32px;width:32px;border-radius:8px;color:var(--ink);border:1px solid var(--line);background:var(--paper);font-size:16px}
.lf-pager .iconbtn:disabled{opacity:.35;cursor:default}
.lf-actions{display:grid;gap:8px}
.lf-actions .btn{width:100%;border-radius:8px;min-height:42px;white-space:normal;letter-spacing:0}
.lf-actions .lf-primary,.lost-panel .lf-primary{color:var(--paper);background:var(--lost-action);box-shadow:none}
.lf-empty{color:var(--muted);font-size:12px;line-height:1.7;padding:5px 0 10px}
.lf-empty strong{display:block;color:var(--ink);font-size:14px;margin-bottom:3px}
.lf-caption{font-size:10px;color:var(--muted);margin:12px 0 0;line-height:1.6}
.lost-panel{min-width:0}
.lost-panel .lf-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:0 0 18px}
.lost-panel .lf-toolbar h3{margin:0;font-size:18px;letter-spacing:0}
.lost-panel .lf-toolbar .btn{width:auto;border-radius:8px}
.lost-panel .lf-filters{display:flex;gap:6px;border-bottom:1px solid var(--line);padding-bottom:12px;margin-bottom:16px;flex-wrap:wrap}
.lost-panel .lf-filters .btn{width:auto;padding:8px 13px;border-radius:8px;background:var(--paper);color:var(--muted);border:1px solid var(--line);box-shadow:none}
.lost-panel .lf-filters .btn[aria-pressed="true"]{color:var(--lost-action);background:var(--lost-soft);border-color:var(--lost-action)}
.lost-panel .lf-list{display:grid;gap:12px}
.lost-panel .lf-row{display:grid;grid-template-columns:100px minmax(0,1fr);gap:15px;align-items:center;border:1px solid var(--line);border-radius:8px;padding:12px;background:var(--paper);text-align:left;width:100%;color:var(--ink);box-shadow:none}
.lost-panel .lf-row:hover{border-color:var(--lost-action)}
.lost-panel .lf-thumb{width:100px;height:100px;object-fit:contain;background:var(--lost-soft);border-radius:6px;display:grid;place-items:center;font-size:30px}
.lost-panel .lf-row h4{font-size:15px;line-height:1.4;margin:7px 0 4px;overflow-wrap:anywhere;letter-spacing:0}
.lost-panel .lf-row p{font-size:12px;color:var(--muted);margin:4px 0;overflow-wrap:anywhere}
.lost-panel .lf-detail-photo{display:block;width:100%;max-height:330px;object-fit:contain;border-radius:8px;background:var(--lost-soft);margin-bottom:18px}
.lost-panel .lf-detail-title{font-size:23px;line-height:1.4;letter-spacing:0;overflow-wrap:anywhere;margin:12px 0}
.lost-panel .lf-description{font-size:14px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere;color:var(--ink)}
.lost-panel .lf-contact{border-top:1px solid var(--line);padding-top:16px;margin-top:18px;display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.lost-panel .lf-contact .btn{width:auto;border-radius:8px;min-height:44px;white-space:normal}
.lost-panel .lf-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 14px}
.lost-panel .lf-full{grid-column:1/-1}
.lost-panel .field input,.lost-panel .field textarea,.lost-panel .field select{border-radius:8px}
.lost-panel .field label.checkrow{display:flex;align-items:start;font-weight:400;font-size:11px}
.lost-panel .field label.checkrow input{width:auto;flex-shrink:0;margin-top:3px}
.lost-panel .lf-upload{padding:14px;background:var(--lost-soft);border:1px dashed var(--line);border-radius:8px}
.lost-panel .lf-upload .field-help{color:var(--muted)}
.lost-panel .lf-preview{display:none;max-height:150px;max-width:100%;object-fit:contain;margin:12px auto 0;border-radius:6px}
.lost-panel .lf-preview:not([src=""]){display:block}
.lost-panel .lf-form-message{font-size:12px;color:var(--lost-action);margin:0 0 14px;line-height:1.65}
.lost-panel .lf-capacity{font-size:12px;color:var(--muted);margin:0 0 16px}
.lost-panel .lf-admin-row{display:flex;gap:12px;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding:13px 0}
.lost-panel .lf-admin-row .btn{width:auto;flex-shrink:0;border-radius:8px}
.lost-panel .lf-admin-row strong{overflow-wrap:anywhere}
@media(max-width:600px){.lost-panel .lf-form-grid{grid-template-columns:minmax(0,1fr)}.lost-panel .lf-full{grid-column:auto}.lost-panel .lf-row{grid-template-columns:72px minmax(0,1fr);gap:10px;padding:10px}.lost-panel .lf-thumb{width:72px;height:85px}.lost-panel .lf-contact .btn{width:100%}.lost-panel .lf-detail-title{font-size:20px}.lost-panel .lf-admin-row{align-items:start;flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){#lostFoundCard .btn,.lost-panel .btn{transition:none}}