/* LWVlife Practical Life Tips (GitHub #247). Builds on lounge.css (.lg-page, .lg-top, .lg-btn). 1rem = app --fs, so A-/A+ works.
   Warm cream theme #FFF8E7, ink #2A2311 (contrast 15:1); buttons white on #8A4B00 (6.9:1); badges: official #0B6B2E, reported #0B4F9C,
   needs check #7A4A00 on light tints (all >= 6:1). Tap targets >= 48px. No sideways scroll at 320px. */
.tp-page{z-index:2340;background:#FFF8E7;color:#2A2311}
.tp-page .tp-top{background:#8A4B00}
.tp-top h2{font-size:clamp(18px,1.2rem,26px);line-height:1.2;min-width:0;flex:1;overflow-wrap:anywhere}
.tp-top .lg-btn{white-space:nowrap}
.tp-body{max-width:680px;margin:0 auto;padding:10px 14px 48px;overflow-wrap:anywhere;word-break:keep-all}
.tp-sub{margin:4px 0 12px;font-weight:700;color:#5A4520}
.tp-hero,.tp-lib,.tp-sugg{background:#fff;border-radius:20px;padding:14px;margin:0 0 14px;border:2px solid #EBD3A0;box-shadow:0 4px 14px rgba(90,60,0,.10)}
.tp-hd{display:flex;flex-wrap:wrap;justify-content:space-between;gap:4px 10px;align-items:baseline;margin-bottom:8px}
.tp-hd b{font-size:1.1rem;color:#8A4B00}
.tp-date{font-weight:700;color:#5A4520;font-size:max(14px,.95rem)}
.tp-rep{margin:0 0 8px;padding:6px 10px;border-radius:10px;background:#FFF1D6;font-weight:700;font-size:max(14px,.95rem);color:#5A3A00}
.tp-card{background:#FFFCF4;border:2px solid #F1E0BC;border-radius:16px;padding:12px}
.tp-t{margin:0 0 8px;font-size:1.2rem;color:#2A2311}
.tp-x{margin:0 0 10px;line-height:1.55}
.tp-pts{list-style:none;margin:0 0 6px;padding:0}
.tp-pts li{display:flex;flex-wrap:wrap;gap:4px 8px;align-items:center;padding:8px 0;border-top:1px solid #F1E0BC}
.tp-pts li>span:last-child{flex:1 1 100%}
.tp-k{font-size:1.1rem;font-family:ui-monospace,Menlo,monospace;min-width:2.6em;overflow-wrap:anywhere}
.tp-conf{display:inline-block;padding:2px 8px;border-radius:999px;font-size:max(14px,.85rem);font-weight:800;white-space:nowrap;line-height:1.5}
.tp-official{background:#E2F4E8;color:#0B6B2E;border:1px solid #0B6B2E}
.tp-reported{background:#E3EEFB;color:#0B4F9C;border:1px solid #0B4F9C}
.tp-needs{background:#FFF0D1;color:#7A4A00;border:1px solid #7A4A00}
.tp-small{font-size:max(14px,.9rem);color:#5A4520;margin:4px 0}
.tp-do{background:#EEF8EE;border-radius:12px;padding:8px 10px;margin:8px 0}
.tp-acts{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}
.tp-btn{min-height:52px;padding:8px 16px;border-radius:14px;border:2px solid #8A4B00;background:#8A4B00;color:#fff;font-size:1rem;font-weight:800;cursor:pointer}
.tp-btn.alt{background:#fff;color:#8A4B00}
.tp-btn.on{background:#A3260B;border-color:#A3260B}
.tp-btn:focus-visible,.tp-chip:focus-visible,.tp-row:focus-visible,.tp-link:focus-visible,.tp-in:focus-visible{outline:3px solid #0B4F9C;outline-offset:2px}
.tp-src ul{margin:6px 0;padding-left:20px}
.tp-src li{margin:4px 0}
.tp-src a,.tp-vid{color:#0B4F9C;font-weight:700;text-decoration:underline;display:inline-block;min-height:32px;padding:6px 0}
.tp-noaff{border-top:1px dashed #E0C68F;padding-top:8px}
.tp-link{background:none;border:0;color:#7A2E00;text-decoration:underline;font-size:max(14px,.95rem);font-weight:700;min-height:48px;padding:6px 0;cursor:pointer;text-align:left}
.tp-lib h3,.tp-sugg h3{margin:0 0 8px;font-size:1.15rem;color:#8A4B00}
.tp-in{width:100%;box-sizing:border-box;min-height:52px;font-size:1rem;padding:10px 12px;border:2px solid #C9A86A;border-radius:12px;background:#fff;color:#2A2311}
textarea.tp-in{min-height:120px;resize:vertical}
.tp-chips{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}
.tp-chip{min-height:48px;padding:6px 14px;border-radius:999px;border:2px solid #C9A86A;background:#fff;color:#2A2311;font-weight:700;font-size:max(14px,.95rem);cursor:pointer}
.tp-chip[aria-pressed="true"]{background:#8A4B00;border-color:#8A4B00;color:#fff}
.tp-list{list-style:none;margin:0;padding:0}
.tp-item{margin:0 0 8px}
.tp-row{width:100%;min-height:56px;display:grid;grid-template-columns:1fr auto;gap:2px 10px;text-align:left;padding:10px 12px;border-radius:14px;border:2px solid #EBD3A0;background:#FFFCF4;color:#2A2311;font-size:1rem;cursor:pointer}
.tp-row .tp-cat{grid-column:1/-1;font-size:max(14px,.85rem);font-weight:800;color:#7A4A00}
.tp-row b{font-size:1.05rem}
.tp-item .tp-card{margin-top:6px}
.tp-empty{padding:12px;border-radius:12px;background:#FFF1D6;font-weight:700}
.tp-note{padding:8px 10px;border-radius:10px;background:#FDE8E0;color:#7A2E00;font-weight:700}
.tp-form label{display:block;font-weight:800;margin:12px 0 4px}
.tp-form label.tp-chk{display:flex;gap:10px;align-items:flex-start;font-weight:600;min-height:48px;margin:12px 0}
.tp-chk input{width:28px;height:28px;flex:0 0 28px;margin-top:2px}
.tp-err{padding:10px;border-radius:12px;background:#FDE2E0;color:#8A1C10;font-weight:800}
.tp-ok{padding:12px;border-radius:12px;background:#E2F4E8;color:#0B4F2A;font-weight:800}
.tp-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.tp-shoplink{margin-top:12px}
.tp-src,.tp-src *,.tp-noaff,.tp-sr{font-size:max(14px,.95rem)}
.tp-src b{font-size:max(15px,1rem)}
.tp-page:lang(zh-Hant),.tp-page:lang(zh-Hans),.tp-page:lang(zh-Hant) *,.tp-page:lang(zh-Hans) *{word-break:normal}
#tips-page .tp-btn{color:#fff}
#tips-page .tp-btn.alt{color:#8A4B00}
#tips-page .tp-chip{color:#2A2311}
#tips-page .tp-chip[aria-pressed="true"]{color:#fff}
#tips-page .tp-row{color:#2A2311}
#tips-page .tp-link{color:#7A2E00}
#tips-page .tp-src a,#tips-page .tp-vid{display:inline;min-height:0;padding:0;line-height:1.7;font-size:max(14px,1rem)}
#tips-page .tp-src li{padding:6px 0}
