:root { --blue:#005b9f; --ink:#172033; --muted:#5d6878; --surface:#fff; --line:#dbe3ed; --soft:#f4f7fb; }
* { box-sizing:border-box; }
body { max-width:1280px; margin:0 auto; padding:2rem clamp(1rem,4vw,3rem); color:var(--ink); background:#f7f9fc; font:16px/1.5 system-ui,-apple-system,"Segoe UI",sans-serif; }
main { background:var(--surface); border:1px solid var(--line); border-radius:16px; box-shadow:0 8px 28px rgb(24 51 84 / .08); padding:clamp(1rem,3vw,2rem); overflow:auto; }
h1,h2,h3,.ueber { color:#003d6b; letter-spacing:-.02em; }
.ueber { font-size:clamp(1.25rem,2vw,1.65rem); font-weight:700; margin:0 0 1rem; }
a { color:var(--blue); text-underline-offset:3px; } a:hover { color:#003d6b; }
.back { display:inline-block; margin-bottom:1rem; padding:.45rem .75rem; border-radius:8px; background:var(--soft); text-decoration:none; font-weight:600; }
table { width:100%; border-collapse:separate; border-spacing:0; min-width:700px; border:1px solid var(--line); border-radius:10px; overflow:hidden; }
th { background:#073f6b; color:#fff; text-align:left; font-weight:650; }
th,td { padding:.7rem; border-right:1px solid var(--line); border-bottom:1px solid var(--line); vertical-align:top; font-size:.88rem; }
tr:last-child td { border-bottom:0; } th:last-child,td:last-child { border-right:0; }
tbody tr:nth-child(even) { background:var(--soft); }
tr:target td { background:#fff3bf; }
tr:target { scroll-margin-top:1rem; }
.timetable-cell { padding:.45rem; min-width:10rem; }
.event-card { padding:.5rem; margin:.15rem 0; border-left:3px solid #8eb8d8; border-radius:5px; background:#f8fbfe; }
.event-card + .event-card { margin-top:.45rem; }
.event-card a:first-child { font-weight:700; }
.event-meta { display:block; margin-top:.2rem; color:var(--muted); }
.vv-home { max-width:1280px; margin:0 auto; color:var(--ink); }
.vv-hero { padding:clamp(1.15rem,3vw,2.1rem); border-radius:16px; color:#fff; background:linear-gradient(125deg,#003d6b,#0879b9); box-shadow:0 10px 25px rgb(0 61 107 / .18); }
.vv-hero h1 { margin:.1rem 0 .5rem; color:#fff; font-size:clamp(1.45rem,3vw,2.1rem); }
.vv-hero p { margin:.5rem 0; }
.vv-kicker { font-size:.82rem; font-weight:700; text-transform:uppercase; letter-spacing:.08em; opacity:.85; }
.vv-action { display:inline-block; margin:.65rem .35rem 0 0; padding:.55rem .8rem; border-radius:8px; color:#003d6b; background:#fff; font-weight:700; text-decoration:none; }
.vv-action-secondary { color:#fff; background:transparent; border:1px solid rgb(255 255 255 / .7); }
.vv-home-grid { display:grid; grid-template-columns:minmax(0,3fr) minmax(245px,1fr); gap:1.5rem; margin-top:1.5rem; }
.vv-home h2 { margin:.2rem 0 1rem; color:#003d6b; }
.program-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(250px,1fr)); gap:1rem; }
.program-card,.room-panel { padding:1.1rem; border:1px solid var(--line); border-radius:12px; background:#fff; box-shadow:0 4px 13px rgb(24 51 84 / .06); }
.program-card h3 { margin:0 0 .65rem; color:#173a5c; font-size:1rem; }
.program-overview { display:block; margin:.65rem 0 .35rem; font-weight:700; }
.semester-links { display:flex; flex-wrap:wrap; gap:.35rem; }
.semester-links a,.room-online { padding:.28rem .45rem; border-radius:6px; background:var(--soft); font-size:.85rem; text-decoration:none; }
.room-panel h2 small { color:var(--muted); font-size:.8rem; font-weight:500; }
.room-grid { display:grid; grid-template-columns:1fr; gap:.45rem; margin:1rem 0; }
.room-item { display:flex; justify-content:space-between; align-items:center; min-height:2rem; padding:.25rem .4rem; border-radius:6px; background:var(--soft); }
.room-item a { font-weight:700; text-decoration:none; }
.room-legend { display:grid; gap:.35rem; font-size:.82rem; }
.room-legend span { padding:.25rem .5rem; border-radius:5px; }
.room-free { background:#b7efc5; }.room-soon { background:#fff0a3; }.room-busy { background:#ffc0c8; }
.room-note { margin:1rem 0 0; font-size:.82rem; color:var(--muted); }
@media (max-width:850px) { .vv-home-grid { grid-template-columns:1fr; } }
.notice { padding:.75rem 1rem; background:#eef7ff; border-left:4px solid var(--blue); border-radius:6px; }
.notice-icon { width:1rem; height:1rem; vertical-align:-.12em; margin-left:.2rem; }
.notice-key { color:var(--muted); font-size:.9rem; }
.slot-half-1 { background:#d9edf7; } .slot-half-2 { background:#fff7bd; } .slot-full { background:#ddf3dd; }
@media (max-width:720px) { body { padding:1rem; } main { padding:1rem; } }
