:root { font-family: 'Malgun Gothic', system-ui, sans-serif; color: #173b35; background: #f5f7f2; line-height: 1.6; }
* { box-sizing: border-box; }
body { margin: 0; }
header { background: #164f4a; color: white; }
nav, main { max-width: 1080px; margin: auto; padding: 18px 20px; }
nav { display: flex; align-items: center; justify-content: space-between; }
nav a { color: inherit; }
nav a:first-child { font-size: 1.35rem; font-weight: 800; text-decoration: none; }
h1 { font-size: clamp(2rem, 5vw, 3rem); margin: .3em 0 0; }
h2 { font-size: 1.25rem; margin: 0; }
label { font-weight: 700; }
select, input, button { font: inherit; }
select, input { border: 1px solid #9ab3a9; border-radius: 8px; padding: .5rem; max-width: 100%; background: white; color: inherit; }
.layout { display: grid; grid-template-columns: 1.35fr 1fr; gap: 18px; margin: 18px 0; align-items: start; }
.panel { min-width: 0; background: white; border: 1px solid #dbe7de; border-radius: 16px; padding: 20px; }
.month-bar { display: flex; justify-content: space-between; align-items: center; }
button { cursor: pointer; border: 1px solid #9ab3a9; border-radius: 8px; background: white; color: inherit; min-height: 44px; padding: .3em .65em; }
.month-bar button { width: 44px; font-size: 1.4rem; }
.week, .days { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); gap: 4px; text-align: center; }
.week { margin: 12px 0 4px; }
.day { display: grid; place-content: center; min-height: 52px; padding: 2px; }
.day small { font-size: .65rem; line-height: 1.2; overflow-wrap: anywhere; }
.day:disabled { border-color: #e2e9e3; color: #66756e; cursor: default; }
.day:not(:disabled) { background: #e8f5eb; border-color: #568472; font-weight: 700; }
.day[aria-pressed="true"] { background: #164f4a; color: white; }
:focus-visible { outline: 3px solid #a76823; outline-offset: 2px; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; }
.actions a { padding: .5rem .7rem; border-radius: 8px; background: #164f4a; color: white; font-weight: 700; text-decoration: none; }
.actions a:first-child { background: #f8de71; color: #272210; }
li { padding: .5em 0; }
li a { color: #164f4a; font-weight: 700; }
li small { display: block; }
.hint, #copy-status { margin-bottom: 0; color: #446358; }
@media (max-width: 720px) { .layout { grid-template-columns: 1fr; } }
@media (max-width: 420px) { main { padding-inline: 12px; } .panel { padding: 12px; } }

[hidden] { display: none !important; }
.upcoming { margin: 18px 0; }
.upcoming-dates { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.upcoming-dates button { background: #e8f5eb; font-weight: 700; }
.consult-message { background: #f2f7f3; border-radius: 8px; padding: .7rem; }

.island-course { margin: 18px 0; }
.island-course li { padding: .15em 0; }
.island-course p { margin-bottom: 0; }
