/*
 * TAI 안전정보 카탈로그 공용 스타일 — WO-MKT-MSDS-FRONTEND-SEO-001 §6 (extraction).
 * 원본: src/pages/safety-news.astro 인라인 <style is:global> 블록 (visual layer only).
 *
 * SN 계열 페이지가 공용으로 참조한다:
 *   - /safety-news        (Astro static)
 *   - /msds               (Worker SSR)
 * 시각(visual) 계약은 원본과 바이트 동일. 규칙 추가/제거/재정렬 시 SAFETY-NEWS
 * VISUAL REGRESSION = 0 을 위반한다 (WO §6). 편집은 최소 변경만.
 */
body{font-family:'Noto Sans KR',sans-serif;}
.sh-hero{background:linear-gradient(160deg,#0d1b2a 0%,#1a3a5c 100%);padding:calc(var(--tai-nav-h,90px) + 40px) 0 48px;text-align:center;color:#fff;}
.sh-hero h1{font-size:clamp(1.6rem,3vw,2.2rem);font-weight:900;margin:0 0 8px;}
.sh-hero h1 em{font-style:normal;color:#60a5fa;}
.sh-hero p{color:rgba(255,255,255,.55);font-size:.88rem;margin-bottom:28px;}
.sh-search-wrap{max-width:640px;margin:0 auto;position:relative;}
.sh-search-wrap input{width:100%;padding:16px 52px 16px 20px;border:2px solid rgba(255,255,255,.2);border-radius:16px;font-size:1rem;font-family:inherit;background:rgba(255,255,255,.1);color:#fff;outline:none;transition:border .2s;cursor:text;}
.sh-search-wrap input::placeholder{color:rgba(255,255,255,.4);}
.sh-search-wrap input:focus{border-color:#60a5fa;background:rgba(255,255,255,.15);}
.sh-search-btn{position:absolute;right:6px;top:50%;transform:translateY(-50%);width:42px;height:42px;border:none;border-radius:12px;background:#60a5fa;color:#fff;font-size:1rem;cursor:pointer;}
.sh-stats{display:flex;justify-content:center;gap:24px;margin-top:20px;flex-wrap:wrap;}
.sh-stat{text-align:center;}
.sh-stat .num{font-size:1.4rem;font-weight:900;color:#fff;}
.sh-stat .label{font-size:.68rem;color:rgba(255,255,255,.45);margin-top:2px;}
.sh-body{background:#f4f6f8;min-height:60vh;padding:28px 0 60px;}
.sh-filters{display:flex;gap:16px;margin-bottom:24px;flex-wrap:wrap;align-items:flex-start;}
.sh-filter-group{display:flex;gap:6px;flex-wrap:wrap;align-items:center;}
.sh-filter-label{font-size:.7rem;font-weight:700;color:#94a3b8;text-transform:uppercase;letter-spacing:.06em;margin-right:4px;white-space:nowrap;}
.sh-chip{padding:5px 14px;border:1.5px solid #e2e8f0;border-radius:999px;font-size:.78rem;font-weight:600;color:#64748b;cursor:pointer;background:#fff;transition:all .12s;white-space:nowrap;}
.sh-chip:hover{border-color:#94a3b8;color:#334155;}
.sh-chip.active{background:#0d1b2a;color:#fff;border-color:#0d1b2a;}
.sh-result-bar{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px;flex-wrap:wrap;gap:8px;}
.sh-latest-head{font-size:1rem;font-weight:900;color:#0d1b2a;margin:0 0 12px;letter-spacing:-.02em;}
.sh-latest-head em{font-style:normal;color:#60a5fa;}
.sh-result-count{font-size:.88rem;font-weight:700;color:#0d1b2a;}
.sh-result-count span{color:#60a5fa;}
.sh-sort{font-size:.78rem;color:#64748b;cursor:pointer;}
.sh-card{background:#fff;border:1.5px solid #e8eaed;border-radius:14px;padding:18px 20px;margin-bottom:10px;transition:box-shadow .2s,border-color .2s;display:flex;gap:14px;align-items:flex-start;}
.sh-card:hover{box-shadow:0 4px 16px rgba(0,0,0,.06);border-color:#cbd5e1;}
.sh-icon{width:40px;height:40px;border-radius:10px;display:flex;align-items:center;justify-content:center;font-size:.85rem;flex-shrink:0;}
.ic-EDUCATION{background:#dbeafe;color:#2563eb;}.ic-CASE_STUDY{background:#fee2e2;color:#b91c1c;}
.ic-GUIDE{background:#d1fae5;color:#065f46;}.ic-POSTER{background:#fce7f3;color:#be185d;}
.ic-VIDEO_VR{background:#ede9fe;color:#7c3aed;}.ic-HEALTH{background:#fef3c7;color:#92400e;}
.ic-RESEARCH{background:#e0f2fe;color:#0369a1;}.ic-CHECKLIST{background:#f0fdf4;color:#166534;}
.ic-FOREIGN{background:#fdf2f8;color:#9d174d;}.ic-REGULATION{background:#f1f5f9;color:#475569;}
.ic-OTHER{background:#f1f5f9;color:#475569;}
.ic-MSDS{background:#e0f2fe;color:#0369a1;}
.sh-title{font-size:.92rem;font-weight:800;color:#0d1b2a;line-height:1.4;margin-bottom:4px;}
.sh-title-link{font-size:.92rem;font-weight:800;color:#0d1b2a;line-height:1.4;margin-bottom:4px;text-decoration:none;display:block;}
.sh-title-link:hover{color:#2563eb;text-decoration:underline;}
.sh-meta{font-size:.73rem;color:#94a3b8;display:flex;gap:10px;flex-wrap:wrap;margin-top:4px;}
.sh-cat-badge{display:inline-block;font-size:.68rem;font-weight:700;padding:2px 8px;border-radius:4px;background:#f1f5f9;color:#64748b;}
.sh-sector-badge{display:inline-block;font-size:.68rem;font-weight:700;padding:2px 8px;border-radius:4px;}
.sec-CONSTRUCTION{background:#fef3c7;color:#92400e;}.sec-MANUFACTURING{background:#dbeafe;color:#2563eb;}
.sec-SERVICE{background:#ede9fe;color:#7c3aed;}.sec-COMMON{background:#f1f5f9;color:#64748b;}
.sh-link{display:inline-flex;align-items:center;gap:4px;margin-top:8px;font-size:.78rem;font-weight:700;color:#0d1b2a;text-decoration:none;padding:5px 12px;border:1.5px solid #e2e8f0;border-radius:8px;transition:all .12s;}
.sh-link:hover{background:#0d1b2a;color:#fff;border-color:#0d1b2a;}
.sh-empty{text-align:center;padding:60px 20px;color:#94a3b8;}
.sh-empty .icon{font-size:2.5rem;margin-bottom:10px;}
.sh-paging{display:flex;justify-content:center;gap:4px;margin-top:28px;flex-wrap:wrap;}
.sh-pg{min-width:36px;height:36px;display:flex;align-items:center;justify-content:center;border:1.5px solid #e2e8f0;border-radius:8px;font-size:.82rem;font-weight:700;color:#475569;cursor:pointer;background:#fff;transition:all .12s;text-decoration:none;box-sizing:border-box;}
a.sh-pg{color:#475569;}
.sh-pg:hover{border-color:#0d1b2a;color:#0d1b2a;}
.sh-pg.active{background:#0d1b2a;color:#fff;border-color:#0d1b2a;}
.sh-pg.disabled{opacity:.4;cursor:default;pointer-events:none;}
.sh-source{text-align:center;margin-top:32px;font-size:.75rem;color:#94a3b8;line-height:1.7;}
@media(max-width:768px){.sh-hero{padding-left:16px;padding-right:16px;}.sh-filters{flex-direction:column;}.sh-card{flex-direction:column;gap:8px;}}
