/* Public calendar follows the existing seminar application colors and typography. */
body.home-calendar-page{--hc-gold:#f6c343;--hc-blue:#4aaff5;padding-block:28px 36px;color:#dbe5f4}
.home-shell{max-width:1440px;margin:auto;position:relative}
.home-header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:32px}
.home-header .brand{color:#dbe5f4}.home-header .brand img{width:105px;height:auto}
.home-list-button{font:inherit;font-weight:700;font-size:14px;cursor:pointer;background:transparent;color:#e1eaf8;border:1px solid #697c97;border-radius:10px;padding:11px 16px;min-height:44px}
.home-list-button:disabled{opacity:.5;cursor:wait}
.home-list-button:hover{background:#ffffff12}
.home-status{padding:30px 0;color:#dbe5f4}.home-status button{font:inherit;background:transparent;color:var(--hc-gold);border:0;text-decoration:underline;cursor:pointer}
.hc-layout{display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:44px;align-items:start}
.hc-calendar{min-width:0}.hc-month{display:flex;align-items:center;gap:26px;min-height:120px;margin-bottom:16px}
.hc-month-number{flex:none;white-space:nowrap;font-size:112px;line-height:1;color:var(--hc-gold);font-weight:400;letter-spacing:-8px;font-variant-numeric:tabular-nums}
.hc-month>div{min-width:0}.hc-month>div p{color:var(--hc-gold);letter-spacing:3px;font-size:14px;font-weight:700;margin-bottom:8px}
.hc-month h1{color:#fff;font-size:24px;text-align:left}
.hc-month nav{flex:none;display:flex;gap:8px;margin-left:auto}
.hc-month nav button{font:inherit;font-size:28px;font-weight:600;width:42px;height:44px;border:1px solid #63748d;color:var(--hc-gold);background:#ffffff08;border-radius:10px;cursor:pointer}
.hc-instruction{font-size:16px;font-weight:600;color:#c3d1e3;margin:16px 0 24px}
.hc-week,.hc-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}
.hc-week{border-block:1px solid #ffffff26;padding:14px 0;color:#b7c9e4;font-size:13px;font-weight:700}.hc-week span{padding-left:14px}.hc-week span:first-child{color:#f4a594}
.hc-day{font:inherit;position:relative;min-height:119px;min-width:0;border:0;border-bottom:1px solid #ffffff16;background:none;color:#b9c9df;padding:12px 8px 12px 12px;display:flex;flex-direction:column;align-items:flex-start;text-align:left}
button.hc-day{cursor:pointer}button.hc-day:hover{background:#ffffff09;border-radius:8px}
.hc-number{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;flex:none;font-size:21px;font-weight:600;line-height:1;font-variant-numeric:tabular-nums}
.hc-day.open .hc-number{background:#fff;color:#0d1b3d;border-radius:50%}
.hc-day.upcoming .hc-number{color:#8fa4c4;border:2px solid var(--hc-blue);border-radius:50%}
.hc-day.picked .hc-number{background:var(--hc-gold);color:#0d1b3d;border-radius:50%;border:0;outline:1px solid #f7c74466;outline-offset:3px}
.hc-day.closed .hc-number{border:1.5px solid #b49aa4;border-radius:50%}.hc-day.past{color:#7186a4}.hc-day.outside{color:#62728e}.hc-day.outside:not(button){opacity:.55}
.hc-event{display:block;max-width:100%;font-size:12px;line-height:1.5;margin:4px 0 0 2px}.hc-event b{display:block;color:#dbe5f4;font-size:13px}.hc-event>span{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;word-break:keep-all;overflow-wrap:break-word}
.hc-day.picked .hc-event b{color:var(--hc-gold)}.hc-day.upcoming .hc-event b{color:#79c8ff}.hc-today{font-size:11px;color:#dbe5f4;margin-left:8px}
.hc-legend{display:flex;flex-wrap:wrap;gap:18px;margin-top:22px;font-size:13px;color:#c3d1e3}.hc-legend span{display:flex;align-items:center;gap:7px}.hc-legend i{width:11px;height:11px;border-radius:50%;display:block}.hc-legend i.open{background:#fff}.hc-legend i.picked{background:var(--hc-gold)}.hc-legend i.upcoming{border:2px solid var(--hc-blue)}
.hc-selected{background:#eceef2;border:0;border-radius:28px;padding:28px 24px;position:sticky;top:28px;margin-top:4px;word-break:keep-all;overflow-wrap:break-word;color:#55647a;box-shadow:0 30px 60px rgba(2,6,20,.3)}
.hc-kicker{font-size:14px;color:#5b6b84;font-weight:600;margin-bottom:12px}
.hc-selected h2{font-size:16px;font-weight:700;line-height:1.5;color:#0d1b3d}.hc-selected>p:not(.hc-kicker){margin-top:16px;color:#55647a}
.hc-selected dl{margin:28px 0;display:flex;flex-direction:column;gap:12px;font-size:15px;line-height:1.5}.hc-selected dl>div{display:grid;grid-template-columns:56px minmax(0,1fr);gap:12px;align-items:baseline}.hc-selected dt{color:#5b6b84;font-weight:600;font-size:13px}.hc-selected dd{margin:0;color:#0d1b3d;font-weight:600;font-variant-numeric:tabular-nums}.hc-selected dd small{display:block;color:#6b7a90;font-weight:400;font-size:12px;margin-top:2px}
.hc-apply{display:block;background:var(--hc-gold);color:#0d1b3d;font:inherit;font-size:16px;font-weight:800;text-decoration:none;text-align:center;padding:16px 12px;border-radius:12px;line-height:1.5;min-height:56px}.hc-apply:hover{background:#ffd459}.hc-selected .hc-apply{background:#0d1b3d;color:#f6c343;border-radius:18px;box-shadow:0 6px 14px #0d1b3d26}.hc-selected .hc-apply:hover{background:#19345a}.hc-detail{display:block;font-size:14px;font-weight:600;color:#3b4a62;text-align:center;margin-top:20px;text-underline-offset:4px}.hc-unavailable{padding:14px;border-radius:10px;background:#dde1e8;color:#5b6b84;font-size:14px;text-align:center}
.hc-session-options{display:flex;flex-direction:column;gap:8px;margin-top:18px}.hc-session-options button{font:inherit;text-align:left;background:transparent;border:1px solid #a2afc2;border-radius:8px;padding:10px;color:#3b4a62;cursor:pointer;font-size:13px}.hc-session-options button[aria-pressed=true]{border-color:#0d1b3d;color:#0d1b3d;background:#dce5f2}
.home-footer{text-align:center;font-size:12px;color:#9db2cf;margin-top:48px}
.home-contact{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:0 10px;margin-bottom:12px;color:#dbe5f4;font-size:16px;font-weight:600}
.home-contact a{display:inline-flex;align-items:center;min-height:44px;color:var(--hc-gold);font-size:22px;font-weight:800;font-variant-numeric:tabular-nums;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:5px;white-space:nowrap}
.home-contact a:hover{text-decoration-thickness:2px}
.home-sheet{position:fixed;inset:auto 0 0;margin:0 auto;width:min(100%,1000px);max-width:100%;max-height:88dvh;border:1px solid #8090a7;border-bottom:0;border-radius:24px 24px 0 0;padding:0;background:#182b48;color:#dbe5f4;overflow:auto;overscroll-behavior:contain}
.home-sheet::backdrop{background:#020a1bc4;backdrop-filter:blur(5px)}.home-sheet-head{display:flex;justify-content:space-between;align-items:center;gap:20px;position:sticky;top:0;z-index:1;background:#182b48;padding:26px 30px 20px;border-bottom:1px solid #ffffff26}.home-sheet-head h2{color:#fff;font-size:24px}.home-sheet-head button{width:44px;height:44px;color:#fff;font-size:28px;background:transparent;border:1px solid #687e9f;border-radius:10px;cursor:pointer}
.home-sheet-content{padding:30px;display:flex;flex-direction:column;gap:32px}.home-sheet-content section{display:flex;flex-direction:column;gap:16px}.home-sheet-content h2{color:#fff}.home-sheet-content .muted{color:#c3d1e3}.home-sheet .card{background:#40537199;border-color:#75849b}.home-sheet .item h3{color:#fff}.home-sheet .hint{color:#c3d1e3}.home-sheet .chips{gap:12px}.home-sheet .chip{background:none;padding:0;color:#b7d3f6;border:0;border-radius:0}.home-sheet .seats{background:none;border:0;padding:0;color:var(--hc-gold);border-radius:0}.home-sheet .seats.full{color:#ffb5a0}
.home-calendar-page :is(button,a):focus-visible{outline:2px solid var(--hc-gold);outline-offset:4px}
@media(min-width:1600px){body.home-calendar-page{padding-inline:48px}}
@media(max-width:1000px){.hc-layout{grid-template-columns:minmax(0,1fr) 300px;gap:24px}.hc-selected{padding:22px}.hc-day{min-height:108px}.hc-month{gap:18px}.hc-month-number{font-size:92px}.hc-month h1{font-size:21px}.hc-month>div{min-width:0}.hc-month>div p{font-size:12px;letter-spacing:2px}}
@media(max-width:760px){body.home-calendar-page{padding-top:20px}.home-header{margin-bottom:28px}.home-header .brand img{width:88px}.home-list-button{font-size:12px;padding:9px 11px}.hc-layout{grid-template-columns:minmax(0,1fr);gap:28px}.hc-month{min-height:86px;gap:20px;margin-bottom:12px}.hc-month-number{font-size:72px;letter-spacing:-5px}.hc-month h1{font-size:19px}.hc-month>div{min-width:0}.hc-month>div p{font-size:11px;letter-spacing:1.5px}.hc-month nav{gap:6px}.hc-month nav button{width:36px;height:42px;font-size:24px}.hc-instruction{font-size:14px;margin-bottom:18px}.hc-week{padding-block:12px;font-size:11px}.hc-week span{padding-left:8px}.hc-day{min-height:86px;padding:9px 3px 8px;align-items:center}.hc-number{width:36px;height:36px;font-size:18px}.hc-event{font-size:10px;margin:5px 0 0}.hc-event b{font-size:10px;text-align:center}.hc-event>span{display:none}.hc-today{font-size:10px;margin:4px 0 0}.hc-legend{gap:14px;font-size:11px;margin-top:18px}.hc-selected{position:static;margin:0;border-radius:20px;padding:24px}.hc-selected h2{font-size:16px}.hc-selected dl{font-size:14px}.home-sheet{max-height:90dvh;border-radius:22px 22px 0 0}.home-sheet-head{padding:19px 20px 16px}.home-sheet-head h2{font-size:21px}.home-sheet-content{padding:22px 20px 34px}.home-footer{font-size:10px;margin-top:32px}}
@media(max-width:359px){.hc-month{gap:12px}.hc-month-number{font-size:68px}.hc-month h1{font-size:17px}.hc-month nav button{width:32px}.hc-legend{gap:10px;font-size:10px}}
@media(prefers-reduced-motion:no-preference){.home-sheet[open]{animation:home-sheet-in .18s ease-out}@keyframes home-sheet-in{from{transform:translateY(40px);opacity:0}to{transform:translateY(0);opacity:1}}}

.hc-mobile-bar{display:none}@media(max-width:760px){body.home-calendar-page{padding-bottom:116px}.hc-mobile-bar{position:fixed;inset:auto 0 0;z-index:5;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:center;padding:14px max(16px,env(safe-area-inset-right)) max(14px,env(safe-area-inset-bottom));border-top:1px solid #ffffff30;background:#0d1b3df5;backdrop-filter:blur(12px)}.hc-mobile-bar strong,.hc-mobile-bar small{display:block}.hc-mobile-bar strong{font-size:13px;color:#fff}.hc-mobile-bar small{font-size:11px;color:#bacbe3;margin-top:4px}.hc-mobile-bar .hc-apply{font-size:13px;padding:13px 14px;min-height:46px}}

.home-sheet-intro h3{color:#fff}.home-sheet-intro p{color:#bacbe3;font-size:14px;line-height:1.8;text-wrap:pretty}

.home-detail-sheet[open]{display:flex;flex-direction:column;max-height:90dvh;background:#eceef2;border-color:#bdc7d6;overflow:hidden;width:min(100%,480px)}
.home-detail-sheet .home-sheet-head{background:#eceef2;border-color:#0d1b3d1a;padding:18px 24px 14px;flex:none}.home-detail-sheet .home-sheet-head h2{color:#5b6b84;font-size:14px}.home-detail-sheet .home-sheet-head button{color:#0d1b3d;border-color:#a2afc2}
.home-detail-body{overflow:auto;overscroll-behavior:contain;min-height:0}.home-detail-sheet .hc-selected{position:static;margin:0;padding:20px 24px 0;border-radius:0;box-shadow:none}.home-detail-sheet .hc-kicker{display:none}.home-detail-sheet .hc-selected dl{margin:24px 0}.home-detail-action{flex:none;padding:0 24px max(22px,env(safe-area-inset-bottom));background:#eceef2}.home-detail-action .hc-apply{background:#0d1b3d;color:#f6c343;border-radius:18px;box-shadow:0 6px 14px #0d1b3d26}.home-detail-action .hc-detail{margin-top:16px}
@media(max-width:760px){.hc-side>.hc-selected{display:none}}

.hc-calendar-meta{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin:16px 0 24px}.hc-calendar-meta .hc-instruction{margin:0}.hc-calendar-meta .hc-legend{margin:0 0 0 auto;gap:14px}
.hc-day.ended{color:#7186a4}.hc-day.ended .hc-number{border:1px solid #62728e;border-radius:50%}.hc-day.outside.ended{opacity:1}.hc-ended{font-size:11px;line-height:1.5;margin-top:7px;word-break:keep-all;overflow-wrap:anywhere}
.hc-tooltip{position:fixed;z-index:30;width:min(340px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:auto;box-sizing:border-box;background:#eceef2;color:#0d1b3d;border:1px solid #fff;border-radius:16px;padding:18px;box-shadow:0 12px 36px #02061466;font-size:13px;line-height:1.6;word-break:keep-all;overflow-wrap:anywhere}.hc-tooltip[hidden]{display:none}.hc-tooltip section+section{border-top:1px solid #b9c3d4;margin-top:14px;padding-top:14px}.hc-tooltip h2{font-size:15px;line-height:1.6;color:#0d1b3d;margin:8px 0}.hc-tooltip p{margin-top:6px;color:#55647a}.hc-tooltip .hc-tip-meta{display:flex;justify-content:space-between;gap:12px;font-size:12px;font-weight:600;margin:0}
@media(max-width:760px){.hc-calendar-meta{margin:12px 0 16px;gap:12px}.hc-calendar-meta .hc-legend{gap:14px;font-size:11px}.hc-ended{font-size:10px;text-align:center}.hc-tooltip{display:none}}

.hc-side{min-width:0;position:sticky;top:28px}.hc-side .hc-selected{position:static;margin:0}.hc-list-actions{margin-top:20px;text-align:center}.hc-list-actions .home-list-button{width:auto;border:0;border-radius:0;background:transparent;text-align:center}.hc-list-actions .home-list-button:hover{text-decoration:underline;text-underline-offset:4px}.home-header .brand{min-height:44px}#homeListActions:empty{display:none}
@media(max-width:760px){.hc-side{position:static;margin-top:0!important}.hc-list-actions{margin-top:0}.hc-layout{gap:22px}}
