:root {
    --bg: #f5f7fb;
    --panel: #ffffff;
    --text: #152033;
    --muted: #68748a;
    --line: #e4e8f0;
    --deep: #0f1b32;
    --accent: #2563eb;
    --shadow: 0 14px 38px rgba(25, 38, 65, .08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans KR", Arial, sans-serif;
    line-height: 1.55;
}
button, input { font: inherit; }
.page-shell { width: min(1500px, calc(100% - 32px)); margin: 0 auto; padding: 28px 0 60px; }
.hero {
    background: linear-gradient(135deg, #0d1830 0%, #172a4f 72%, #213a69 100%);
    color: #fff;
    border-radius: 24px;
    padding: 42px 46px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    box-shadow: var(--shadow);
}
.eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .13em; color: #7f8aa0; }
.hero .eyebrow { color: #90b8ff; }
h1 { font-size: clamp(34px, 4vw, 58px); line-height: 1.05; margin: 10px 0 12px; letter-spacing: -.035em; }
.hero-sub { margin: 0; color: #d2dced; font-size: 17px; }
.meta-row { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 24px; color: #adbad1; font-size: 13px; }
.meta-row strong { color: #fff; font-weight: 700; }
.hero-score { min-width: 150px; border: 1px solid rgba(255,255,255,.18); border-radius: 20px; padding: 20px; text-align: center; background: rgba(255,255,255,.06); }
.hero-score-label, .hero-score-unit { font-size: 11px; letter-spacing: .1em; color: #aebbd2; }
.hero-score-num { font-size: 50px; line-height: 1; margin: 7px 0; font-weight: 800; }
.section { margin-top: 26px; background: var(--panel); border: 1px solid var(--line); border-radius: 22px; padding: 28px; box-shadow: 0 8px 28px rgba(24, 37, 62, .045); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 20px; }
.section-head.compact { margin-bottom: 14px; }
.section-head h2 { margin: 5px 0 0; font-size: 24px; letter-spacing: -.02em; }
.help-text { max-width: 440px; font-size: 13px; color: var(--muted); text-align: right; }
.top-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.top-card { position: relative; border: 1px solid var(--line); background: #fff; border-radius: 18px; padding: 18px; text-align: left; cursor: pointer; transition: .18s ease; color: var(--text); }
.top-card:hover { transform: translateY(-2px); border-color: #bdcae3; box-shadow: 0 10px 25px rgba(26, 42, 72, .08); }
.top-rank { color: #8d98aa; font-size: 12px; font-weight: 800; }
.top-name { font-size: 17px; font-weight: 800; margin-top: 8px; min-height: 50px; }
.top-temp { font-size: 34px; line-height: 1; font-weight: 850; margin: 12px 0; letter-spacing: -.04em; }
.top-cycle { display: inline-flex; border-radius: 999px; padding: 5px 9px; font-size: 12px; font-weight: 800; }
.cycle-strip { display: grid; grid-template-columns: repeat(8, 1fr); gap: 8px; }
.cycle-stat { min-height: 62px; border-radius: 14px; display: flex; flex-direction: column; justify-content: center; padding: 11px 12px; border: 1px solid transparent; }
.cycle-stat span { font-size: 11px; font-weight: 800; opacity: .8; }
.cycle-stat strong { font-size: 23px; margin-top: 2px; }
.controls-head { align-items: center; }
.search-wrap input { width: min(300px, 45vw); border: 1px solid #d9deea; border-radius: 12px; padding: 11px 14px; background: #fafbfe; color: var(--text); outline: none; }
.search-wrap input:focus { border-color: #7399ec; box-shadow: 0 0 0 3px rgba(37, 99, 235, .08); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 17px; }
.filter-btn { border: 1px solid #dbe0e9; background: #fff; color: #59667d; border-radius: 999px; padding: 8px 13px; cursor: pointer; font-weight: 700; font-size: 13px; }
.filter-btn.active { background: var(--deep); color: #fff; border-color: var(--deep); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; }
.industry-table { width: 100%; border-collapse: collapse; min-width: 1280px; table-layout: fixed; }
.industry-table th { padding: 12px 13px; background: #f8f9fc; border-bottom: 1px solid var(--line); color: #68758a; font-size: 11px; text-align: left; position: sticky; top: 0; z-index: 1; }
.industry-table th:nth-child(1) { width: 155px; }
.industry-table th:nth-child(2) { width: 95px; }
.industry-table th:nth-child(3) { width: 88px; }
.industry-table th:nth-child(4) { width: 160px; }
.industry-table th:nth-child(5) { width: 185px; }
.industry-table th:nth-child(6), .industry-table th:nth-child(7) { width: 245px; }
.industry-table th:nth-child(8) { width: 75px; }
.industry-table td { padding: 13px; border-bottom: 1px solid #edf0f5; vertical-align: top; font-size: 12px; }
.sector-row { cursor: pointer; transition: background .15s ease; }
.sector-row:hover { background: #fafcff; }
.sector-name { font-weight: 850; font-size: 14px; }
.sector-category { color: #8a95a8; font-size: 10px; margin-top: 2px; }
.num { text-align: right !important; }
.temp-num { font-size: 19px; }
.temp-unit { color: #9aa4b4; font-size: 10px; margin-left: 2px; }
.cycle-badge, .fresh-badge { display: inline-flex; align-items: center; white-space: nowrap; border-radius: 999px; padding: 5px 8px; font-size: 10px; font-weight: 850; }
.cycle-red { background: #fde8e8; color: #ad2626; border-color: #f2bcbc; }
.cycle-orange { background: #fff0df; color: #a85a13; border-color: #f2cfab; }
.cycle-yellow { background: #fff8d9; color: #8e6d00; border-color: #eddc8a; }
.cycle-lime { background: #eef8d9; color: #5c7e11; border-color: #d1e7a2; }
.cycle-green-soft { background: #e6f7ed; color: #237044; border-color: #b9dfc9; }
.cycle-green { background: #dff5e8; color: #11633a; border-color: #acdabb; }
.cycle-hot { background: #ffe4e1; color: #a9352c; border-color: #f1b9b3; }
.cycle-amber { background: #fff0d9; color: #93600b; border-color: #ead0a3; }
.cycle-neutral { background: #eef1f5; color: #596579; }
.fresh-high { background: #e8f3ff; color: #1e5d9b; }
.fresh-mid { background: #f2f2f6; color: #686d79; }
.fresh-low { background: #fff0e8; color: #9a5230; }
.detail-row { display: none; }
.detail-row.open { display: table-row; }
.detail-row > td { padding: 0 !important; background: #f8faff; }
.detail-card { padding: 24px 28px 30px; border-bottom: 1px solid var(--line); }
.detail-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.detail-title { font-size: 22px; font-weight: 850; }
.detail-sub { font-size: 12px; color: var(--muted); margin-top: 3px; }
.detail-score { font-size: 33px; font-weight: 850; letter-spacing: -.04em; }
.detail-score span { font-size: 12px; color: #9ba5b5; margin-left: 3px; }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.detail-grid article, .turning-point, .factor-box { background: #fff; border: 1px solid #e4e9f2; border-radius: 14px; padding: 16px; }
.detail-grid h3, .factor-box h3 { margin: 0 0 7px; font-size: 12px; color: #59687e; }
.detail-grid p, .turning-point p { margin: 0; font-size: 13px; color: #334159; }
.turning-point { margin-top: 12px; background: #f0f6ff; border-color: #cfe0fb; }
.turning-point strong { font-size: 12px; color: #2d5d9f; }
.turning-point p { margin-top: 4px; }
.factor-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.factor-box ul { margin: 0; padding-left: 18px; font-size: 13px; color: #334159; }
.risk-box { background: #fff9f8; border-color: #f1d5d1; }
.mobile-list { display: none; }
.footer { margin-top: 26px; border-top: 1px solid #dfe4ed; padding: 22px 4px 0; display: flex; align-items: end; justify-content: space-between; gap: 20px; color: #7b8799; font-size: 12px; }
.footer-note { max-width: 1000px; }
.footer-note strong { color: #4f5c70; }
.footer-note p { margin: 5px 0 0; }
.footer-date { white-space: nowrap; }
.hidden { display: none !important; }

@media (max-width: 1050px) {
    .top-grid { grid-template-columns: repeat(3, 1fr); }
    .cycle-strip { grid-template-columns: repeat(4, 1fr); }
    .industry-table th:nth-child(6), .industry-table th:nth-child(7) { width: 220px; }
}
@media (max-width: 760px) {
    .page-shell { width: min(100% - 20px, 1500px); padding-top: 10px; }
    .hero { border-radius: 18px; padding: 27px 22px; align-items: flex-start; }
    .hero-score { display: none; }
    h1 { font-size: 35px; }
    .hero-sub { font-size: 14px; }
    .meta-row { display: grid; gap: 4px; font-size: 11px; }
    .section { border-radius: 16px; padding: 18px 14px; margin-top: 15px; }
    .section-head { align-items: flex-start; flex-direction: column; }
    .section-head h2 { font-size: 20px; }
    .help-text { text-align: left; }
    .top-grid { grid-template-columns: repeat(2, 1fr); }
    .top-card { padding: 14px; }
    .top-name { min-height: 43px; font-size: 14px; }
    .top-temp { font-size: 29px; }
    .cycle-strip { grid-template-columns: repeat(2, 1fr); }
    .controls-head { flex-direction: row; align-items: center; }
    .search-wrap input { width: 145px; }
    .filters { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
    .filter-btn { flex: 0 0 auto; }
    .table-wrap { display: none; }
    .mobile-list { display: grid; gap: 10px; }
    .mobile-card { background: #fff; border: 1px solid var(--line); border-radius: 15px; overflow: hidden; }
    .mobile-card summary { cursor: pointer; list-style: none; padding: 15px; }
    .mobile-card summary::-webkit-details-marker { display: none; }
    .mobile-main { display: flex; justify-content: space-between; align-items: start; gap: 10px; }
    .mobile-name { font-size: 16px; font-weight: 850; }
    .mobile-category { font-size: 10px; color: #9099a9; margin-top: 2px; }
    .mobile-score { font-size: 27px; font-weight: 850; }
    .mobile-badges { display: flex; gap: 6px; margin-top: 9px; }
    .mobile-state { margin-top: 9px; color: #5c687a; font-size: 12px; }
    .mobile-detail { border-top: 1px solid var(--line); background: #f8faff; padding: 14px; }
    .mobile-detail section { margin-bottom: 13px; }
    .mobile-detail h3 { font-size: 11px; color: #647187; margin: 0 0 4px; }
    .mobile-detail p { margin: 0; font-size: 13px; color: #334159; }
    .turning-mobile { padding: 12px; background: #eef5ff; border-radius: 12px; }
    .mobile-factors { grid-template-columns: 1fr; }
    .footer { flex-direction: column; align-items: flex-start; }
}


.footer-meta{display:flex;gap:12px;align-items:center;justify-content:flex-end;flex-wrap:wrap}
.view-count{font-weight:700;font-size:.92rem;padding:6px 10px;border:1px solid rgba(255,255,255,.12);border-radius:999px;white-space:nowrap}
@media (max-width:720px){.footer-meta{justify-content:flex-start}.view-count{font-size:.86rem}}
