section[id] { scroll-margin-top: 88px; }

.nav-link[aria-current="page"] { color: #e67300; }
.side-link[aria-current="page"] { background: #fff; box-shadow: 0 1px 4px rgba(230,115,0,.25); color: #9c4a00; font-weight: 600; }
.side-link[aria-current="page"] .side-dot { background: #e67300; }
/* 树状子菜单：竖线 + 横向分支，最后一项收口成 └ */
.tree-child { position: relative; margin-left: 2.25rem; }
.tree-child::before { content: ""; position: absolute; left: -1.15rem; top: -.25rem; bottom: 0; border-left: 2px solid #ffd96b; }
.tree-child::after { content: ""; position: absolute; left: -1.15rem; top: 50%; width: .9rem; border-top: 2px solid #ffd96b; }
.tree-child:not(:has(+ .tree-child))::before { bottom: 50%; }
/* 顶部导航的下拉子菜单：鼠标悬停展开，或点箭头展开（触屏、键盘） */
.nav-group { position: relative; }
.nav-group.has-current > .nav-link { color: #e67300; }
.nav-drop { position: absolute; left: -1rem; top: 100%; padding-top: .75rem; min-width: 13rem; visibility: hidden; opacity: 0; transition: opacity .15s, visibility .15s; }
.nav-group.open .nav-drop { visibility: visible; opacity: 1; }
.nav-toggle i { transition: transform .15s; }
.nav-group.open .nav-toggle i { transform: rotate(180deg); }
/* 触屏上点击后悬停状态会粘住，所以只对有悬停能力的设备启用 */
@media (hover: hover) { .nav-group:hover .nav-drop { visibility: visible; opacity: 1; } }
.step-panel { display: none; }
.step-panel.active { display: block; animation: fadeIn .25s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.choice:has(input:checked) { border-color: #e67300; background: #fffbea; box-shadow: 0 0 0 3px rgba(230,115,0,.15); }
.choice:has(input:focus-visible) { outline: 2px solid #e67300; outline-offset: 2px; }
.day-btn[aria-pressed="true"], .slot-btn[aria-pressed="true"] { background: #e67300; color: #fff; border-color: #e67300; }
.day-btn:disabled, .slot-btn:disabled { opacity: .35; cursor: not-allowed; }
.field { width: 100%; border: 1px solid #ffe38a; border-radius: .75rem; padding: .65rem .9rem; background: #fff; }
.field:focus { outline: none; border-color: #e67300; box-shadow: 0 0 0 3px rgba(230,115,0,.15); }
.field.invalid { border-color: #dc2626; }
.month-card { scroll-margin-top: 88px; }
.month-card.is-now { border: 2px solid #e67300; }

/* 页面顶部的阳光渐变 */
body[data-page] { background-color: #fffbe6; background-image: linear-gradient(180deg, #ffe89a, rgba(255,232,154,0) 520px); background-repeat: no-repeat; }

/* 页脚改为阳光橙黄 */
footer.bg-amber-900 { background-image: linear-gradient(90deg, #ffa726, #ffca3a); color: #4a2000; }
