/* 쓰레기 배출 안내 (trash/*.html) — on top of app.css (same tokens, light/dark). 375px first, no horizontal scroll. */
.trash h1 small { display: block; font-size: .95rem; font-weight: 400; color: var(--muted); }
.tnav { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 12px; }
.tnav a { display: inline-flex; flex-direction: column; padding: 6px 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); color: var(--fg); text-decoration: none; font-size: .9rem; min-width: 0; }
.tnav a small { color: var(--muted); font-size: .75rem; }
.tnav a[aria-current="page"] { border-color: var(--accent); background: var(--accent-soft); }

.pickers { display: grid; grid-template-columns: auto 1fr; gap: 8px 10px; align-items: center; }
.pickers select, .filter input { width: 100%; min-width: 0; height: 44px; padding: 0 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); color: var(--fg); font: inherit; }
.filter { margin: 10px 0; }
.filter label { display: block; font-size: .9rem; color: var(--muted); margin-bottom: 4px; }
.area { margin-top: 16px; }
.small { font-size: .85rem; }
.rule p { margin: 0 0 6px; overflow-wrap: anywhere; }

.today h3, .week h3, .methods h3, .dept h3 { margin-top: 0; }
.status { list-style: none; padding: 0; margin: 0; }
.status li { display: flex; flex-direction: column; gap: 2px; padding: 8px 10px; margin-bottom: 6px; border-radius: 10px; border: 1px solid var(--line); border-left-width: 6px; }
.status .cat { font-weight: 700; }
.st-now { border-left-color: var(--good) !important; }
.st-now .msg { color: var(--good); font-weight: 700; }
.st-later, .st-day { border-left-color: var(--ok) !important; }
.st-passed, .st-off { border-left-color: var(--line); }
.st-unknown { border-left-color: var(--bad) !important; }

.tablewrap { overflow-x: auto; max-width: 100%; }
.week table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: .9rem; }
.week th, .week td { border-bottom: 1px solid var(--line); padding: 6px 2px; text-align: center; }
.week tbody th { text-align: left; width: 36%; font-weight: 600; }
.week tbody th small { display: block; font-weight: 400; color: var(--muted); overflow-wrap: anywhere; }
.week tbody th small.raw { color: var(--bad); }
.week .now { background: var(--accent-soft); }
.week .on { color: var(--accent); font-size: 1.1rem; }

.method { border-top: 1px solid var(--line); padding-top: 8px; margin-top: 8px; }
.method h4 { margin: 0 0 4px; font-size: .95rem; }
.kotext p { margin: 0; white-space: pre-line; overflow-wrap: anywhere; }
.term { font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0; border-bottom: 2px dotted var(--accent); cursor: pointer; }
.term:focus-visible { outline: 3px solid var(--accent); outline-offset: 1px; }
.termdef { margin: 6px 0 0 !important; padding: 8px 10px; border-radius: 10px; background: var(--accent-soft); font-size: .9rem; white-space: normal !important; }
.sub2 { margin-top: 6px; }
.lbl { margin: 0; font-size: .85rem; color: var(--muted); }

.places { list-style: none; padding: 0; margin: 0; }
.places li { padding: 8px 0; border-top: 1px solid var(--line); }
.places li:first-child { border-top: 0; }
.places p { margin: 0; overflow-wrap: anywhere; }
.chip { display: inline-block; font-size: .75rem; padding: 1px 6px; border-radius: 99px; border: 1px solid var(--line); color: var(--muted); font-weight: 400; }

.ask .actions { margin: 8px 0 0; }
.sido-list { padding-left: 1.1rem; }
.sido-list li { margin-bottom: 6px; overflow-wrap: anywhere; }
.src { font-size: .85rem; color: var(--muted); overflow-wrap: anywhere; }
.cite { font-size: .8rem; color: var(--muted); }

.bin h3 { margin-top: 0; }
.items { list-style: none; padding: 0; margin: 0; }
.item { padding: 8px 0; border-top: 1px solid var(--line); }
.item:first-child { border-top: 0; }
.item p { margin: 2px 0; }
.bin-food { border-left: 6px solid #65a30d; }
.bin-general { border-left: 6px solid #64748b; }
.bin-recycle { border-left: 6px solid #0284c7; }
.bin-special { border-left: 6px solid #c2410c; }
.bin-nonburnable { border-left: 6px solid #a16207; }
.bin-bulky { border-left: 6px solid #7c3aed; }
.flow { padding-left: 2rem; }
.flow li { margin-bottom: 8px; }
.flow p { margin: 0; }
.fines table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.fines caption { text-align: left; font-size: .85rem; color: var(--muted); padding-bottom: 6px; }
.fines th, .fines td { border-bottom: 1px solid var(--line); padding: 6px 4px; vertical-align: top; }
.fines tbody th { text-align: left; font-weight: 400; }
.fines td { text-align: right; white-space: nowrap; }

.terms { margin: 0; }
.term-row { padding: 8px 0; border-top: 1px solid var(--line); }
.term-row:first-child { border-top: 0; }
.term-row dt .ko { font-weight: 700; font-size: 1.05rem; }
.term-row dt .en { color: var(--muted); }
.term-row dd { margin: 2px 0 0; }
.term-row dd p { margin: 2px 0; overflow-wrap: anywhere; }
.mine { padding: 6px 8px; border-radius: 8px; background: var(--accent-soft); }

/* rule picker (several rules in one 시군구), 오래된 자료 badge, 배출일/수거일 note */
.rulepick h3 { margin-top: 0; }
.rulepick select { width: 100%; max-width: 100%; min-width: 0; height: 44px; padding: 0 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); color: var(--fg); font: inherit; text-overflow: ellipsis; }
.rulepick p { overflow-wrap: anywhere; }
.rulemeta dl { display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; margin: 8px 0 4px; font-size: .9rem; }
.rulemeta dt { color: var(--muted); }
.rulemeta dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.rulemeta p { margin: 4px 0 0; }
.badge { display: inline-block; font-size: .75rem; line-height: 1.4; padding: 1px 7px; border-radius: 99px; font-weight: 700; white-space: nowrap; }
.badge.old { color: var(--sos); background: var(--sos-soft); border: 1px solid var(--sos); }
.daynote { margin: 10px 0 0; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--line); background: var(--accent-soft); overflow-wrap: anywhere; }
/* official site disagrees (exclusions.json): notice instead of today/week; unverified 시군구 */
.excl, .unver { border-left: 6px solid var(--sos); background: var(--sos-soft); overflow-wrap: anywhere; }
.excl h3 { margin-top: 0; }
.excl .btn, .unver .btn { white-space: normal; }
.excl details summary { cursor: pointer; font-size: .9rem; }
.unver p:first-child { margin-top: 0; font-weight: 700; }
.badge.unver { color: var(--sos); background: var(--sos-soft); border: 1px solid var(--sos); vertical-align: middle; }

/* coverage notice: the public data has one generic rule for the whole 시군구 (strong) or only some detailed rules (mild) */
.cov { overflow-wrap: anywhere; border: 1px solid var(--ok); border-left-width: 6px; background: var(--card); }
.cov.cov-single { background: color-mix(in srgb, var(--ok) 14%, var(--card)); }
.cov p { margin: 0 0 .5rem; }
.cov.cov-single p:first-child { font-weight: 700; }
.cov .btn { white-space: normal; }
