/* Faithful, responsive interpretation of the approved mobile reference. */
:root{--ink:#172322;--muted:#64706c;--teal:#1e806b;--soft:#edf6ee;--line:#e2e6e4;--canvas:#fafbfa;--radius:13px}
.topbar{height:70px;border:0;max-width:1440px;margin:auto;background:transparent;padding:0 28px}
.brand{font-size:18px;color:#143c38;gap:9px;letter-spacing:-.5px}.brand-mark{width:30px;height:30px;flex-shrink:0}
.shell{padding-top:22px}.workspace .shell{padding-bottom:110px}.workspace h1{font-size:30px;letter-spacing:-1px;line-height:1.15}.workspace h2{font-size:19px}
.account-menu{position:relative}.account-menu summary{list-style:none;cursor:pointer}.account-menu summary::-webkit-details-marker{display:none}
.user-avatar,.avatar{background:#d2eee1;color:#20876b;font-weight:750}.user-avatar{display:grid;place-items:center;width:36px;height:36px;border-radius:50%}
.account-popover{position:absolute;right:0;top:44px;z-index:30;background:white;border:1px solid var(--line);border-radius:12px;box-shadow:0 8px 35px #183b2420;padding:18px;min-width:240px}.account-popover p{overflow-wrap:anywhere}.account-popover a{display:block;padding:14px 0}.account-popover form{margin-top:5px}
.bottom-nav{bottom:0;border-radius:0;border:0;border-top:1px solid var(--line);box-shadow:none;left:0;right:0;transform:none;padding:8px max(12px,calc((100vw - 620px)/2));gap:8px;background:#fffffffa}
.bottom-nav a{min-width:0;flex:1;font-size:11px;font-weight:500;display:flex;flex-direction:column;align-items:center;gap:4px;padding:6px 10px;color:#576360;position:relative}
.bottom-nav svg{width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.bottom-nav [aria-current=page]{color:var(--teal);font-weight:650}.bottom-nav [aria-current=page]::after{content:"";height:2px;width:42px;background:var(--teal);position:absolute;bottom:0;border-radius:2px}
.button{border-radius:9px}.primary{background:linear-gradient(115deg,#218972,#176c5e)}.panel{box-shadow:0 1px 3px #253e2e03}
.today-page{max-width:660px;margin:auto}.schedule-heading{align-items:center;flex-wrap:nowrap;margin:0 0 20px}.schedule-heading h1{margin-bottom:5px}.schedule-heading .muted{font-size:14px;color:#404b48}
.add-appointment{font-size:29px!important;line-height:1;width:42px;height:42px;min-height:42px;padding:0!important;flex-shrink:0;border-radius:9px}
.date-strip{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:7px;margin:0 0 13px}
.date-strip a{border:1px solid var(--line);border-radius:9px;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:52px;font-size:11px;gap:3px;background:white}
.date-strip strong{font-size:15px;font-weight:500}.date-strip [aria-current=date]{color:white;background:linear-gradient(135deg,#29967d,#1b7766);border-color:transparent}
.date-strip a:hover{text-decoration:none;border-color:var(--teal)}
.employee-chips{display:flex;gap:7px;overflow-x:auto;padding:0 0 9px;scrollbar-width:thin}
.employee-chips a{flex-shrink:0;border:1px solid var(--line);border-radius:99px;padding:7px 13px;background:white;font-size:12px;line-height:1.4;min-height:34px}
.employee-chips [aria-current=true]{background:var(--teal);border-color:var(--teal);color:white}.employee-chips a:hover{text-decoration:none}
.schedule-options{margin:0 0 5px}.schedule-options>summary{font-size:12px;color:var(--muted);padding:8px 0;cursor:pointer;list-style:none}.schedule-options>summary span{margin-left:4px}.schedule-options .filters{padding:12px 0;margin:0}.schedule-options .button-row{margin:0 0 12px}
.schedule-navigation{margin:0 0 12px;gap:5px}.schedule-navigation .button-row{gap:7px}.schedule-navigation [data-poll-status]{font-size:10px}.period-link{font-size:12px;color:var(--muted);min-width:30px;min-height:30px;display:inline-flex;align-items:center;justify-content:center}
.next-up.featured-arrival{background:linear-gradient(120deg,#f0f8ee,#f5faf7);border-color:#a3d9b9;border-radius:13px;padding:15px;margin-bottom:12px;gap:3px}
.featured-arrival .row{margin-bottom:6px}.featured-arrival>strong{font-size:17px}.featured-arrival h2{font-size:18px;line-height:1.25}.featured-arrival .button{width:100%;min-height:40px;padding:10px;margin-top:8px}
.activity-label{font-size:13px;line-height:1.4}.appointment-meta{display:flex;gap:16px;color:#46554f;font-size:12px;margin:5px 0;flex-wrap:wrap}
.appointment-list{gap:10px}.appointment.panel{padding:14px;position:relative}.appointment .row{align-items:flex-start;flex-wrap:nowrap;gap:8px}.appointment h3{font-size:16px;line-height:1.3;letter-spacing:-.3px;margin:3px 0 1px}
.time-range{font-size:15px;white-space:nowrap}.appointment .activity-label{margin:0;font-size:13px}.appointment .appointment-meta{margin:4px 64px 0 0;gap:12px}
.badge{font-size:10px;line-height:1.4;padding:3px 8px;border-radius:7px;font-weight:600}.good{background:#e1f3d6;color:#33672d}.warning{background:#fff0c8;color:#795514}
.card-action{position:absolute;bottom:12px;right:13px;min-height:32px;border:1px solid #8bc9b6;color:var(--teal);border-radius:6px;padding:5px 10px;font-size:12px}
.appointment-body>.small{margin:5px 0 35px}.today-list .appointment-body>.small{font-size:11px}
.board-mobile-list{display:grid}.daily-timeline:not(.timeline-ready){display:none}@media(min-width:901px){.board-page:has(.timeline-ready) .board-mobile-list{display:none}}.board-page .date-strip{max-width:660px}.board-page .schedule-options{margin-bottom:8px}
.screen-back{display:flex;align-items:center;gap:22px;color:var(--ink);font-weight:700;font-size:17px;margin:0 0 27px;min-height:40px}.screen-back span{font-size:24px;font-weight:400}
.arrival-page,.child-profile{max-width:560px;margin:0 auto}.person-heading{display:flex;align-items:center;gap:17px;margin:0 0 20px}.person-heading .large{width:64px;height:64px;font-size:23px}
.workspace .person-heading h1{font-size:22px;letter-spacing:-.6px;margin:0 0 5px}.person-heading p{font-size:14px;line-height:1.35}.planned-person{display:flex;justify-content:space-between;gap:18px;background:#eff2f0;border-radius:8px;padding:13px 15px;font-size:13px;margin-bottom:26px}
.attendance-choices{border:0;padding:0;margin:0 0 17px;min-width:0;position:relative}.attendance-choices legend{font-size:18px;font-weight:700;margin:0 0 15px;padding:0;letter-spacing:-.4px}.assign-me{position:absolute;right:0;top:-40px;min-height:30px;font-size:11px;padding:5px 10px;border-color:#79c2aa}
.person-choice{display:flex;align-items:center;gap:14px;border:1px solid var(--line);border-radius:9px;padding:9px 12px;margin:0 0 8px;cursor:pointer;min-height:52px}.person-choice .avatar{width:34px;height:34px;font-size:17px}.person-choice strong{font-size:15px;font-weight:650}.person-choice input{margin-left:auto}
input[type=radio]{width:20px;height:20px;min-height:20px;accent-color:var(--teal);flex-shrink:0;margin-top:0;margin-bottom:0}
.person-choice:has(input:checked),.arrival-choice:has(input:checked){border-color:#42a386;background:#f2fbf6;box-shadow:0 0 0 1px #42a38620}
.arrival-choice{display:flex;align-items:center;gap:13px;border:1px solid var(--line);border-radius:8px;padding:11px 12px;font-weight:450;cursor:pointer}.arrival-choice:has(input:checked){font-weight:650}
.realizer-summary{background:linear-gradient(120deg,#eaf4e4,#eff7eb);padding:14px;border-radius:9px;font-size:14px;font-weight:700;margin-bottom:10px}
.attendance-form .save-arrival{margin-top:0;min-height:46px}.other-actions{margin-top:18px}.other-actions summary{font-size:13px;color:var(--muted);cursor:pointer;padding:8px 0}
.arrival-page .audit-section{margin-top:30px}.arrival-page .section-title{font-size:16px}
.profile-facts{padding:5px 13px}.profile-facts .details{margin:0}.profile-facts .details>div{padding:10px 0;gap:10px}.profile-facts dt{font-size:12px}.profile-facts dd{font-size:12px;flex:1;text-align:left;display:flex;align-items:center;gap:7px;justify-content:space-between}.profile-facts dt{min-width:95px}.call-parent{border:1px solid #8bc9b6;border-radius:6px;color:var(--teal);padding:5px 8px;white-space:nowrap;font-weight:500;font-size:11px}
.profile-next{display:flex;align-items:center;gap:16px;background:linear-gradient(120deg,#eef6e5,#f0f8ed);border-radius:11px;padding:15px;margin:14px 0 22px}.profile-next small{display:block;font-size:12px}.profile-next strong{font-size:14px}.calendar-glyph{color:#3b8b29;font-size:28px}
.history-heading{align-items:center;margin:0 0 13px}.history-heading h2{font-size:19px}.history-content{width:100%}.child-profile .history-row{padding:14px}.history-content h3{font-size:16px;margin-top:5px}.history-row .history-content p{font-size:12px;margin-top:4px;line-height:1.3;color:var(--ink)}.history-content .planned-caption{font-style:italic;color:var(--muted)!important}.profile-actions{margin-top:25px}
@media(min-width:901px){.workspace .topbar{border-bottom:1px solid var(--line)}.workspace .shell{max-width:1440px}.today-page{max-width:680px}.bottom-nav{padding-top:9px;padding-bottom:9px}.board-page .schedule-options[open]{max-width:920px}}
@media(max-width:900px){.board-mobile-list{display:grid}.board-page .date-strip{max-width:none}}
@media(max-width:600px){
.topbar{height:60px;padding:0 18px}.brand{font-size:17px}.brand-mark{width:25px;height:25px}.user-avatar{width:31px;height:31px;font-size:14px}
.workspace .shell{padding:10px 16px 95px}.workspace h1{font-size:27px}.schedule-heading{margin-bottom:15px}.schedule-heading .muted{font-size:13px}
.add-appointment{width:36px;height:36px;min-height:36px;font-size:26px!important}.date-strip{gap:5px}.date-strip a{min-height:49px;font-size:10px}.date-strip strong{font-size:14px}
.employee-chips{gap:6px}.employee-chips a{padding:6px 10px;min-height:31px;font-size:11px}.schedule-navigation{margin-bottom:8px}.schedule-navigation [data-poll-status]{font-size:9px}.schedule-options>summary{font-size:11px}
.bottom-nav{gap:0;padding:5px 8px calc(5px + env(safe-area-inset-bottom))}.bottom-nav a{font-size:10px;padding:7px 5px 10px;gap:4px}.bottom-nav svg{width:21px;height:21px}
.person-heading{gap:14px;margin-bottom:18px}.person-heading .large{width:58px;height:58px;font-size:21px}.workspace .person-heading h1{font-size:20px}.person-heading p{font-size:13px}.screen-back{font-size:16px;margin-bottom:22px;gap:20px}
.planned-person{margin-bottom:24px}.attendance-choices legend{font-size:17px}.person-choice{min-height:49px;padding:8px 11px}.assign-me{font-size:10px;padding:5px 8px}
.profile-facts{padding:3px 10px}.profile-facts dt{min-width:80px;font-size:10px}.profile-facts dd{font-size:10px}.call-parent{font-size:10px;padding:5px}.history-heading .small{font-size:10px}.history-content .row{flex-wrap:wrap}.history-content .small{font-size:11px}
.workspace .footer{display:none}.auth{margin-top:15px}.form-grid{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:no-preference){.button,.date-strip a,.employee-chips a{transition:background-color .15s,border-color .15s}}

@media(max-width:600px){body:has(.arrival-page) .topbar,body:has(.child-profile) .topbar{display:none}.arrival-page,.child-profile{padding-top:12px}}
.appointment .row{flex-wrap:wrap}.time-range{white-space:normal;overflow-wrap:anywhere}.appointment .badge{flex-shrink:0}

.date-strip .date-strip-extra{display:none}
@media(max-width:900px){
 .schedule-page .date-strip.date-strip-scroll{display:flex;max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;overflow-anchor:none;scroll-behavior:auto;scroll-padding-inline:3px;padding:3px;scrollbar-width:thin}
 .date-strip.date-strip-scroll a{flex:0 0 clamp(47px,15vw,66px);min-width:0;scroll-snap-align:none}
 .date-strip.date-strip-scroll .date-strip-extra{display:flex}
 .date-strip.date-strip-scroll:focus-visible{outline:2px solid var(--teal);outline-offset:1px}
}
