@charset "UTF-8";

:root {
    font-family: "Pretendard", "Segoe UI", "Malgun Gothic", sans-serif;
    color: #172f2c;
    background: #f5fbf8;
    font-synthesis: none;
    line-height: 1.6;
    --green: #007f70;
    --muted: #617570;
    --border: #e0e8e5;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #007f70; outline-offset: 5px; }
html { scroll-behavior: smooth; }
.home { max-width: 1160px; margin: auto; padding: 0 48px; }
.site-header { display: flex; justify-content: space-between; align-items: center; padding: 28px 0; border-bottom: 1px solid var(--border); }
.brand { display: inline-flex; background: transparent; padding: 8px 0; }
.university-logo { display: block; width: 210px; height: auto; mix-blend-mode: multiply; }
.header-label { font-size: 13px; text-decoration: none; display: flex; align-items: center; gap: 16px; }
.header-label span { color: var(--green); font-size: 20px; }
.hero { position: relative; padding: 55px 0 42px; overflow: hidden; }
.eyebrow { display: flex; align-items: center; gap: 8px; color: var(--green); font-size: 10px; font-weight: 700; letter-spacing: 1.8px; margin: 0 0 20px; }
.eyebrow-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
h1 { font-size: clamp(38px, 5vw, 58px); line-height: 1.25; letter-spacing: -2.9px; margin: 0; font-weight: 750; }
.title-accent { color: #00977e; }
.intro { font-size: 14px; line-height: 1.9; color: var(--muted); margin: 22px 0 0; }
.mobile-break { display: none; }
.mobile-title, .mobile-summary, .mobile-status-hours { display: none; }
.hero-decoration { position: absolute; right: 27px; top: 55px; width: 240px; height: 215px; }
.sun-orbit { width: 176px; height: 176px; border: 1px solid #bcd5cf; border-radius: 50%; position: relative; transform: rotate(-25deg); }
.sun-orbit::after { content: ""; position: absolute; left: -24px; top: 87px; width: 224px; height: 1px; background: #bcd5cf; }
.sun-disc { position: absolute; width: 110px; height: 110px; border-radius: 50%; left: 32px; top: 32px; background: linear-gradient(145deg, #e2ef9a, #b9e399); }
.orbit-dot { position: absolute; right: 6px; top: 26px; width: 12px; height: 12px; background: var(--green); border: 3px solid #f5fbf8; border-radius: 50%; }
.morning-caption { position: absolute; bottom: 0; right: 0; font-size: 10px; line-height: 1.8; letter-spacing: 2.1px; color: var(--green); }
.demo { font-size: 12px; color: #706442; background: #f3f0e5; border-left: 2px solid #c4b27b; padding: 9px 14px; margin: 0 0 20px; border-radius: 0 6px 6px 0; }
.dashboard { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 24px; }
.menu-card { display: flex; flex-direction: column; padding: 34px; border-radius: 22px; background: white; border: 1px solid var(--border); box-shadow: 0 8px 30px #183f3204; }
.menu-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 27px; border-bottom: 1px solid var(--border); }
.section-eyebrow { font-size: 9px; letter-spacing: 1.8px; font-weight: 700; color: var(--green); margin: 0 0 8px; }
h2 { font-size: 25px; font-weight: 700; letter-spacing: -.9px; line-height: 1.4; margin: 0; }
.price { text-align: right; white-space: nowrap; }
.price > small { display: block; font-size: 10px; color: var(--muted); margin-bottom: 3px; }
.price > span { font-size: 29px; line-height: 1.1; font-weight: 700; letter-spacing: -1px; color: var(--green); }
.price > span > small { font-size: 13px; margin-left: 3px; letter-spacing: 0; }
#menu-title { scroll-margin-top: 24px; }
#menu-list { list-style: none; padding: 0; margin: 0; counter-reset: dish; }
#menu-list li { counter-increment: dish; display: flex; align-items: center; gap: 17px; padding: 17px 0; font-size: 16px; letter-spacing: -.4px; border-bottom: 1px solid #edf1ef; }
#menu-list li::before { content: "0" counter(dish); color: #829790; font-size: 11px; font-weight: 500; letter-spacing: .5px; }
#menu-list li:first-child { font-size: 27px; font-weight: 700; padding: 27px 0; letter-spacing: -1.1px; }
#menu-list li:first-child::before { color: var(--green); }
#menu-list li:last-child { border: 0; }
.empty-menu { padding: 55px 0; }
.empty-menu strong { font-size: 18px; letter-spacing: -.6px; }
.empty-menu p { font-size: 13px; color: var(--muted); margin: 9px 0 0; }
.menu-footnote { font-size: 11px; color: var(--muted); border-top: 1px solid var(--border); padding-top: 19px; margin: auto 0 0; }
.information-column { display: flex; flex-direction: column; gap: 16px; }
.status-card { --status-accent: #cbd5e1; position: relative; overflow: hidden; background: #475569; color: white; border-radius: 22px; padding: 27px; }
.status-card::after { content: ""; position: absolute; width: 210px; height: 210px; border: 1px solid #ffffff0d; border-radius: 50%; right: -140px; top: 30px; pointer-events: none; }
.card-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 12px; }
.status-pill { display: inline-flex; align-items: center; gap: 7px; background: #ffffff14; border: 1px solid #ffffff1a; padding: 4px 10px; border-radius: 20px; font-size: 11px; font-weight: 600; white-space: nowrap; }
.status-pill i { width: 6px; height: 6px; border-radius: 50%; background: var(--status-accent); }
#status-message { font-size: 12px; color: #e4eeeb; margin: 17px 0 20px; }
.meal-count { display: flex; flex-direction: column; gap: 4px; }
.meal-count > span { font-size: 12px; color: #e4eeeb; }
.meal-count strong { font-size: 65px; line-height: 1.2; letter-spacing: -2.5px; font-weight: 600; font-variant-numeric: tabular-nums; }
.meal-count small { font-size: 15px; font-weight: 400; letter-spacing: 0; }
progress { appearance: none; display: block; width: 100%; height: 4px; border: 0; border-radius: 8px; overflow: hidden; margin: 20px 0 12px; background: #ffffff25; }
progress::-webkit-progress-bar { background: #ffffff25; }
progress::-webkit-progress-value { background: var(--status-accent); }
progress::-moz-progress-bar { background: var(--status-accent); }
.count-detail { display: flex; justify-content: space-between; gap: 8px; font-size: 11px; color: #e4eeeb; }
.count-detail b { font-weight: 600; color: white; }
.refresh { font-size: 10px; color: #dce7e2; margin: 16px 0 0; min-height: 16px; }
.status-card[data-status="OPEN"], .status-card[data-status="LOW"] { --status-accent: #a7d8ff; background: linear-gradient(135deg, #327ac0, #245d99); }
.status-card[data-status="CLOSED"], .status-card[data-status="SOLD_OUT"] { --status-accent: #ffd1c7; background: linear-gradient(135deg, #bc6773, #9c515e); }
.status-card[data-status="LOW"] .status-pill { border-color: #ffd08880; }
.status-card[data-status="LOW"] .status-pill i { background: #ffd088; }
.details { padding: 22px 26px; border-radius: 18px; border: 1px solid var(--border); background: white; display: grid; gap: 12px; }
.details h2 { font-size: 14px; letter-spacing: -.3px; margin-bottom: 3px; }
.details > div { display: flex; justify-content: space-between; gap: 16px; font-size: 12px; }
.details > div > span { color: var(--muted); white-space: nowrap; }
.details strong { font-weight: 500; text-align: right; overflow-wrap: anywhere; }
.guide { margin-top: 26px; padding: 28px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 30px; }
.guide-heading { min-width: 156px; }
.guide h2 { font-size: 17px; }
.guide ol { list-style: none; padding: 0; margin: 0; flex: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.guide li { display: flex; gap: 12px; }
.step-number { font-size: 11px; color: var(--green); font-weight: 600; margin-top: 3px; }
.guide h3 { font-size: 12px; margin: 0 0 5px; font-weight: 600; }
.guide p { font-size: 11px; margin: 0; color: var(--muted); }
footer { display: flex; justify-content: space-between; gap: 15px; font-size: 10px; color: var(--muted); padding: 23px 0 28px; }
@media (max-width: 900px) {
    .home { padding: 0 30px; }
    .hero-decoration { right: 8px; transform: scale(.85); transform-origin: right center; }
    .menu-card { padding: 27px; }
    .dashboard { gap: 20px; }
    .guide { display: block; }
    .guide ol { margin-top: 22px; }
}
@media (max-width: 620px) {
    :root { background: #f2faf6; color: #142c30; --border: #e0ece5; --muted: #637b74; }
    .home { max-width: 480px; padding: 0 16px; }
    .site-header { padding: 15px 0 8px; border: 0; }
    .brand { padding: 4px 0; }
    .university-logo { width: 132px; }
    .header-label { font-size: 11px; gap: 6px; }
    .header-label span { font-size: 17px; }
    .hero { padding: 17px 4px 20px; }
    .eyebrow, .desktop-title { display: none; }
    .mobile-title { display: inline; }
    h1 { font-size: 29px; letter-spacing: -1.6px; }
    .intro { font-size: 11px; line-height: 1.7; margin-top: 8px; }
    .mobile-break { display: block; }
    .hero-decoration { display: none; }
    .demo { font-size: 10px; margin-bottom: 12px; padding: 6px 9px; }
    .dashboard { display: flex; flex-direction: column; gap: 12px; }
    .information-column { display: contents; }
    .status-card { order: 1; padding: 13px 14px 12px 50px; border-radius: 15px; background: #edf1f5; color: #506079; border: 1px solid #dce3ea; }
    .status-card::before { content: "–"; position: absolute; left: 13px; top: 20px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #718096; color: white; font-size: 20px; }
    .status-card::after { display: none; }
    .status-card[data-status="OPEN"], .status-card[data-status="LOW"] { background: linear-gradient(120deg, #edf6ff, #f7fbff); color: #245b98; border-color: #d2e5fa; }
    .status-card[data-status="OPEN"]::before, .status-card[data-status="LOW"]::before { content: "✓"; background: #2b72bc; }
    .status-card[data-status="CLOSED"], .status-card[data-status="SOLD_OUT"] { background: linear-gradient(120deg, #fff0f1, #fff8f6); color: #a34850; border-color: #f0d8d8; }
    .status-card[data-status="CLOSED"]::before, .status-card[data-status="SOLD_OUT"]::before { background: #b95861; }
    .card-top { flex-direction: column; align-items: flex-start; gap: 2px; padding-right: 92px; font-size: 9px; }
    .status-pill { padding: 0; background: none; border: 0; font-size: 14px; color: inherit; letter-spacing: -.5px; }
    .status-pill i { display: none; }
    #status-message { margin: 5px 0 0; font-size: 10px; color: inherit; opacity: .9; padding-right: 85px; }
    .mobile-status-hours { display: flex; flex-direction: column; position: absolute; right: 12px; top: 17px; padding-left: 12px; border-left: 1px solid currentColor; font-size: 9px; }
    .mobile-status-hours strong { font-size: 11px; color: #25354c; margin-top: 4px; }
    .meal-count, .count-detail, #meal-progress { display: none; }
    .refresh { margin: 7px 0 0; font-size: 8px; color: inherit; opacity: .8; }
    .mobile-summary { order: 2; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 15px 8px; border: 1px solid var(--border); border-radius: 17px; background: white; box-shadow: 0 5px 18px #087c4b06; }
    .mobile-summary > div { display: flex; flex-direction: column; align-items: center; min-width: 0; gap: 4px; }
    .mobile-summary > div + div { border-left: 1px solid #edf1f5; }
    .summary-icon { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #edf5ff; color: #3978b8; font-size: 16px; }
    .summary-icon svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
    .mobile-summary > div:nth-child(2) .summary-icon { background: #e5f9ed; color: #009b72; }
    .mobile-summary > div:nth-child(2) strong { color: #00886e; }
    .mobile-summary > div > span:not(.summary-icon) { font-size: 10px; color: var(--muted); }
    .mobile-summary strong { font-size: 23px; line-height: 1.2; letter-spacing: -.8px; }
    .mobile-summary strong b { font-weight: 700; }
    .mobile-summary strong small { font-size: 10px; font-weight: 500; margin-left: 3px; }
    .mobile-summary p { font-size: 8px; color: var(--muted); margin: 0; }
    #mobile-progress { --status-accent: #00a77d; height: 5px; width: 75%; margin: 4px 0 0; background: #e4f0eb; }
    #mobile-progress::-webkit-progress-bar { background: #e4f0eb; }
    .menu-card { order: 3; padding: 18px; border-radius: 17px; box-shadow: 0 5px 18px #087c4b06; }
    .menu-heading { padding-bottom: 13px; border: 0; }
    .menu-heading h2 { font-size: 15px; }
    .menu-heading h2::before { content: "▤"; color: var(--green); margin-right: 6px; }
    .menu-heading .section-eyebrow { display: none; }
    .price > small { display: none; }
    .price > span { font-size: 17px; }
    .price > span > small { font-size: 10px; }
    #menu-list { display: flex; flex-wrap: wrap; gap: 6px; }
    #menu-list li { display: block; padding: 5px 10px; font-size: 11px; background: #edf7f1; color: #47675a; border: 0; border-radius: 6px; }
    #menu-list li::before { display: none; }
    #menu-list li:first-child { flex-basis: 100%; font-size: 21px; background: none; padding: 0; margin: 0 0 5px; letter-spacing: -.8px; }
    .empty-menu { padding: 15px 0; }
    .empty-menu strong { font-size: 14px; }
    .empty-menu p { font-size: 11px; }
    .menu-footnote { margin-top: 14px; font-size: 9px; padding-top: 10px; }
    .details { order: 4; padding: 16px 17px; border-radius: 15px; gap: 9px; }
    .details h2 { font-size: 12px; margin-bottom: 2px; }
    .details > div { font-size: 11px; }
    .guide { margin-top: 12px; padding: 17px; background: linear-gradient(135deg, #e7f6ed, #f1f9e9); border: 1px solid #d8eddd; border-radius: 17px; }
    .guide .section-eyebrow { display: none; }
    .guide h2 { font-size: 13px; }
    .guide ol { grid-template-columns: 1fr; gap: 9px; margin-top: 12px; }
    .guide h3 { font-size: 11px; margin-bottom: 1px; }
    .guide p { font-size: 10px; }
    .step-number { width: 16px; font-size: 10px; color: #4873a0; }
    footer { flex-direction: column; gap: 3px; font-size: 8px; padding: 17px 4px; }
}
@media (max-width: 360px) {
    .home { padding: 0 16px; }
    .university-logo { width: 120px; }
    h1 { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.dashboard.no-menu { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 621px) {
    .dashboard.no-menu .information-column { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 24px; align-items: start; }
}
