/* Scoped to the staff and student scheduling pages. */
.schedule-workflow{--flight-ink:#1d2927;--flight-muted:#66716d;--flight-line:#e1e5e0;--flight-green:#27584a;--flight-sand:#eee9df}
.schedule-workflow [hidden]{display:none!important}
.schedule-workflow .main{max-width:1800px;width:100%;box-sizing:border-box}
.schedule-workflow .schedule-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:24px}
.schedule-workflow .schedule-heading h1{font-size:clamp(30px,3vw,46px);line-height:1.12;margin:8px 0 10px;letter-spacing:-1.4px}
.schedule-workflow .schedule-heading p{margin:0}.schedule-workflow .schedule-heading>.button{white-space:nowrap;min-height:48px}
.schedule-workflow .button{border-radius:7px;min-height:42px}.schedule-workflow .button:not(.light):not(.secondary){background:#263e35;color:#fff;border-color:#263e35}
.schedule-workflow button:focus-visible,.schedule-workflow summary:focus-visible,.schedule-workflow [role=tabpanel]:focus-visible{outline:3px solid #92764c;outline-offset:3px}
.schedule-workflow .schedule-summary{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid var(--flight-line);border-radius:12px;background:#fff;margin:0 0 24px;overflow:hidden}
.schedule-workflow .schedule-summary:empty{display:none}.schedule-workflow .schedule-summary>div{display:flex;align-items:baseline;gap:12px;padding:21px 24px;border-right:1px solid var(--flight-line)}
.schedule-workflow .schedule-summary>div:last-child{border:0}.schedule-workflow .schedule-summary strong{font-size:28px;font-weight:600;letter-spacing:-1px;color:var(--flight-ink)}.schedule-workflow .schedule-summary span{font-size:13px;color:var(--flight-muted)}
.schedule-workflow .schedule-board{padding:24px;border:1px solid var(--flight-line);border-radius:12px;overflow:visible;background:#fff}
.schedule-workflow .ops-toolbar{align-items:flex-end;gap:12px}.schedule-workflow .ops-toolbar label{display:grid;gap:6px;font-size:11px;font-weight:600;letter-spacing:.02em;color:#59635e}
.schedule-workflow .ops-toolbar input,.schedule-workflow .ops-toolbar select{border:1px solid #d9ded9;border-radius:7px;padding:9px 11px;font:inherit;font-size:13px;color:var(--flight-ink);min-height:42px;background:#fff;box-sizing:border-box;max-width:100%}
.schedule-workflow .schedule-date-nav{display:flex;gap:6px;margin-right:4px}.schedule-workflow .schedule-date-nav button{padding:8px 13px}
.schedule-workflow .schedule-tools{position:relative;margin-left:auto}.schedule-workflow .schedule-tools>summary{cursor:pointer;list-style:none;font-size:13px;border:1px solid #d9ded9;border-radius:7px;padding:12px 14px;min-height:42px;box-sizing:border-box}.schedule-workflow .schedule-tools>summary::after{content:' +';margin-left:8px}.schedule-workflow .schedule-tools[open]>summary::after{content:' −'}
.schedule-workflow .schedule-tools-body{position:absolute;right:0;top:49px;background:white;box-shadow:0 16px 44px #16221924;border:1px solid var(--flight-line);padding:20px;border-radius:10px;width:320px;max-width:calc(100vw - 60px);display:grid;gap:15px;z-index:6}
.schedule-workflow .schedule-mine{display:flex!important;align-items:center}.schedule-workflow .schedule-mine input{min-height:auto;width:18px;height:18px;accent-color:#27584a}
.schedule-workflow .schedule-caption{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:26px 0 15px}.schedule-workflow .schedule-caption h2{font-size:20px;letter-spacing:-.4px;margin:0}.schedule-workflow .schedule-caption>span{font-size:12px;color:var(--flight-muted);white-space:nowrap}
.schedule-workflow .schedule-legend{display:flex;gap:18px;flex-wrap:wrap;font-size:11px;color:var(--flight-muted);margin-bottom:17px}.schedule-workflow .schedule-legend span::before{content:'';display:inline-block;width:7px;height:7px;border-radius:50%;margin-right:6px;background:#457890}.schedule-workflow .legend-request::before{background:#b4852e!important}.schedule-workflow .legend-out::before{background:#2d7053!important}.schedule-workflow .legend-complete::before{background:#777d79!important}.schedule-workflow .legend-maintenance::before{background:#ae584e!important}
.schedule-workflow .schedule-calendar{border:1px solid var(--flight-line);border-radius:8px;background:var(--flight-line);grid-template-columns:repeat(var(--days),minmax(122px,1fr));gap:1px;max-width:100%;overflow:auto}
.schedule-workflow .schedule-day{background:#fff;min-height:210px;padding:10px;min-width:0}.schedule-workflow .schedule-day.today{background:#f6f8f2}.schedule-workflow .schedule-day>header{display:flex;align-items:center;justify-content:space-between;gap:4px;margin-bottom:14px}.schedule-workflow .schedule-day>header>strong{font-size:12px;font-weight:600;line-height:1.5}.schedule-workflow .schedule-day>header small{display:block;font-size:10px;color:#396347}
.schedule-workflow .day-book{border:1px solid #e2e7df;background:#fff;color:#546b5c;border-radius:6px;min-width:28px;min-height:30px;padding:3px 7px;cursor:pointer;font:inherit;font-size:13px}.schedule-workflow .day-book:hover{background:#eef2e9}.schedule-workflow .day-empty{color:#818881;font-size:11px;padding:10px 3px;line-height:1.6}.schedule-workflow .padding-day{background:#fafaf8}
.schedule-workflow .flight-event{display:block;width:100%;text-align:left;box-sizing:border-box;border:1px solid #d5e5ec;border-left:3px solid #598ba3;border-radius:7px;background:#eef5f8;color:#23475a;padding:10px 9px;margin:0 0 8px;cursor:pointer;font:inherit;font-size:12px;line-height:1.5;white-space:normal;overflow-wrap:anywhere;transition:box-shadow .15s}
.schedule-workflow .flight-event:hover{box-shadow:0 3px 10px #1423151a}.schedule-workflow .flight-event.request{background:#fcf6e9;border-color:#eadeba;border-left-color:#b68b36;color:#6b5320}.schedule-workflow .flight-event.flying{background:#eaf4ed;border-color:#d0e3d4;border-left-color:#387650;color:#244c35}.schedule-workflow .flight-event.complete{background:#f3f4f2;border-color:#e0e3dd;border-left-color:#8d948c;color:#545e54}.schedule-workflow .flight-event.unavailable{background:#fbefed;border-color:#ead6d1;border-left-color:#b26357;color:#874a3f}
.schedule-workflow .flight-event-top{display:flex;gap:6px;flex-wrap:wrap;align-items:center;justify-content:space-between;margin-bottom:5px}.schedule-workflow .flight-event-top strong{font-size:13px;font-weight:700}.schedule-workflow .flight-event-time,.schedule-workflow .flight-event-pilot,.schedule-workflow .flight-event-instructor,.schedule-workflow .flight-source{display:block}.schedule-workflow .flight-event-time{font-size:11px;margin:3px 0 7px}.schedule-workflow .flight-event-pilot{font-weight:600}.schedule-workflow .flight-event-instructor{font-size:11px;opacity:.9;margin-top:3px}.schedule-workflow .flight-source{font-size:10px;margin-top:7px;opacity:.8}
.schedule-workflow .flight-badge{display:inline-block;font-size:10px;font-weight:600;background:#dceaf1;color:#31576a;border-radius:4px;padding:2px 5px;white-space:nowrap;line-height:1.4}.schedule-workflow .flight-badge.request{background:#f3e7c9;color:#785c23}.schedule-workflow .flight-badge.flying{background:#d2e9d9;color:#2c613e}.schedule-workflow .flight-badge.complete{background:#e4e8e1;color:#566052}.schedule-workflow .flight-badge.unavailable{background:#f1dcd6;color:#884c40}
.schedule-workflow .month-view .schedule-day{min-height:150px}.schedule-workflow .month-view .flight-event{padding:7px}.schedule-workflow .month-view .flight-event-instructor{display:none}
.schedule-workflow .agenda-view{display:block;background:#fff;border:0}.schedule-workflow .agenda-view .schedule-day{min-height:0;padding:12px 0 16px;border-bottom:1px solid var(--flight-line);background:#fff}.schedule-workflow .agenda-view .schedule-day>header>strong{font-size:14px}.schedule-workflow .agenda-view .schedule-day>header small{display:inline-block;margin-left:8px}.schedule-workflow .agenda-view .day-events{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:10px}.schedule-workflow .agenda-view .flight-event{margin:0;padding:13px 16px}.schedule-workflow .agenda-view .day-empty{margin:0;padding:0}.schedule-workflow .resource-warning{font-size:11px;color:#924e3c}.schedule-workflow .schedule-footnote{font-size:11px;line-height:1.7;color:var(--flight-muted);margin:18px 0 0}
.schedule-workflow #opsDialog{width:620px;max-width:calc(100vw - 32px);box-sizing:border-box;border:1px solid #d4dcd3;border-radius:16px;padding:28px;max-height:92dvh;box-shadow:0 24px 90px #15211930}.schedule-workflow #opsDialog::backdrop{background:#14221b80;backdrop-filter:blur(2px)}.schedule-workflow .ops-dialog-head{margin-bottom:14px}.schedule-workflow .ops-dialog-head h2{font-size:26px;letter-spacing:-.7px;line-height:1.2;margin:0}.schedule-workflow #closeDialog{min-width:40px;font-size:22px;flex-shrink:0}
.schedule-workflow .flight-dialog-meta{display:flex;gap:10px;align-items:center;margin:8px 0 18px;font-size:11px;color:var(--flight-muted)}.schedule-workflow .flight-dialog-meta .flight-badge{font-size:12px;padding:5px 8px}.schedule-workflow .flight-person{font-size:22px;margin:0 0 8px;letter-spacing:-.4px}.schedule-workflow #dialogBody>p{font-size:13px;line-height:1.6}.schedule-workflow .flight-tabs{display:flex;gap:20px;border-bottom:1px solid var(--flight-line);margin:22px 0}.schedule-workflow .flight-tabs button{border:0;background:none;padding:10px 3px 12px;font:inherit;font-size:13px;color:var(--flight-muted);cursor:pointer;border-bottom:2px solid transparent}.schedule-workflow .flight-tabs button[aria-selected=true]{color:#244c37;border-color:#244c37;font-weight:600}
.schedule-workflow .flight-details{display:grid;grid-template-columns:1fr 1fr;gap:20px 24px;margin:20px 0}.schedule-workflow .flight-details>div{min-width:0}.schedule-workflow .flight-details dt{font-size:11px;color:var(--flight-muted);margin-bottom:5px}.schedule-workflow .flight-details dd{font-size:14px;font-weight:600;margin:0;overflow-wrap:anywhere;line-height:1.6}
.schedule-workflow .flight-cost{padding:22px;background:#f3f5ee;border:1px solid #e2e7d9;border-radius:10px;margin:22px 0}.schedule-workflow .flight-cost>span{display:block;font-size:12px;color:#52644e}.schedule-workflow .flight-cost>strong{display:block;font-size:32px;letter-spacing:-.9px;margin:8px 0;color:#2e4731;font-weight:600}.schedule-workflow .flight-cost p{font-size:13px;margin:5px 0 12px}.schedule-workflow .flight-cost small{font-size:11px;line-height:1.7;display:block;color:#616a5f}
.schedule-workflow .flight-footer{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:10px;border-top:1px solid var(--flight-line);padding-top:20px;margin-top:24px}.schedule-workflow .flight-footer .button{font-size:13px}.schedule-workflow .flight-note{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.7;background:#f8f9f6;border-radius:6px;padding:14px}.schedule-workflow .flight-history{list-style:none;padding:0}.schedule-workflow .flight-history li{border-left:2px solid #dfe5dc;margin:0 0 0 6px;padding:0 0 20px 17px;position:relative;font-size:13px}.schedule-workflow .flight-history li:before{content:'';position:absolute;width:8px;height:8px;background:#8d9d87;border:2px solid #fff;border-radius:50%;top:3px;left:-7px}.schedule-workflow .flight-history span{display:block;font-size:11px;color:var(--flight-muted);margin-top:5px}
.schedule-workflow .flight-step{font-size:12px!important;font-weight:600;color:#31583c;background:#f2f5ed;padding:12px;border-radius:6px;display:flex;justify-content:space-between;gap:12px;margin:16px 0 24px}.schedule-workflow .flight-step span{color:#7c8378;font-weight:400}.schedule-workflow .ops-form{gap:18px}.schedule-workflow .ops-form label{font-size:12px;line-height:1.5}.schedule-workflow .ops-form input,.schedule-workflow .ops-form select,.schedule-workflow .ops-form textarea{font-size:14px;border-radius:7px;border-color:#d4dcd1;min-height:44px;background:#fff;color:#213026}.schedule-workflow .ops-form input:focus,.schedule-workflow .ops-form select:focus,.schedule-workflow .ops-form textarea:focus{outline:2px solid #628263;outline-offset:1px}.schedule-workflow .field-help{font-size:11px;font-weight:400;color:var(--flight-muted);line-height:1.6}.schedule-workflow .ops-form .check{font-weight:400;font-size:12px;line-height:1.7}.schedule-workflow .ops-form .check input{min-height:0;width:18px;height:18px;flex-shrink:0;accent-color:#2b5337}.schedule-workflow .ops-form .flight-footer{margin-top:4px}
.schedule-workflow .flight-extra{border:1px solid var(--flight-line);border-radius:8px;padding:14px}.schedule-workflow .flight-extra>summary{font-size:13px;cursor:pointer;font-weight:600}.schedule-workflow .flight-extra label{margin-top:16px}.schedule-workflow .ops-warning{border-radius:5px;line-height:1.7;font-size:12px}.schedule-workflow .ops-warning ul,.schedule-workflow .status ul{padding-left:20px}.schedule-workflow .flight-ready{font-size:12px;color:#315e3d;line-height:1.6}.schedule-workflow .reading-summary{padding:13px;border-radius:7px;background:#f0f4ec;color:#355437;font-size:13px}
.schedule-workflow .readiness-list{list-style:none;padding:0;margin:15px 0}.schedule-workflow .readiness-list li{display:flex;gap:11px;align-items:start;padding:14px 0;border-bottom:1px solid var(--flight-line)}.schedule-workflow .readiness-list li>span{width:22px;height:22px;display:grid;place-items:center;flex-shrink:0;border-radius:50%;background:#e0eadc;color:#3d6940;font-size:13px}.schedule-workflow .readiness-list li.blocked>span{background:#f6e6d6;color:#956323}.schedule-workflow .readiness-list strong{display:block;font-size:12px;line-height:1.6}.schedule-workflow .readiness-list small{display:block;font-size:11px;color:var(--flight-muted);line-height:1.6;margin-top:4px}.schedule-workflow .readiness-list b{font-size:10px;font-weight:500;white-space:nowrap;margin-left:auto;color:#527347;padding-top:4px}.schedule-workflow .readiness-list .blocked b{color:#946027}
@media(min-width:1500px){.schedule-workflow .schedule-day{min-height:340px}.schedule-workflow .month-view .schedule-day{min-height:190px}}
@media(max-width:1100px){.schedule-workflow .schedule-summary>div{padding:18px;gap:8px}.schedule-workflow .schedule-tools{margin-left:0}.schedule-workflow .schedule-tools-body{left:0;right:auto}.schedule-workflow .schedule-summary span{font-size:11px}}
@media(max-width:700px){.schedule-workflow .main{padding:24px 14px}.schedule-workflow .schedule-heading{display:block;margin-bottom:20px}.schedule-workflow .schedule-heading h1{font-size:33px}.schedule-workflow .schedule-heading>.button{width:100%;margin-top:20px}.schedule-workflow .schedule-heading p{font-size:13px;line-height:1.7}.schedule-workflow .schedule-summary{margin-bottom:18px}.schedule-workflow .schedule-summary>div{display:block;padding:12px 9px}.schedule-workflow .schedule-summary strong{font-size:24px;display:block}.schedule-workflow .schedule-summary span{font-size:10px;white-space:nowrap}.schedule-workflow .schedule-board{padding:16px 12px}.schedule-workflow .ops-toolbar{display:grid;grid-template-columns:1fr 1fr;gap:12px}.schedule-workflow .ops-toolbar label{min-width:0}.schedule-workflow .schedule-date-nav{grid-column:1/-1;justify-content:space-between;margin:0}.schedule-workflow .schedule-date-nav #today{flex:1}.schedule-workflow .schedule-tools{grid-column:1/-1}.schedule-workflow .schedule-tools>summary{width:100%;text-align:center}.schedule-workflow .schedule-tools-body{width:auto;position:static;margin-top:12px;box-shadow:none;padding:16px;max-width:none}.schedule-workflow .schedule-caption{margin-top:24px;align-items:start}.schedule-workflow .schedule-caption h2{font-size:16px;line-height:1.5}.schedule-workflow .schedule-caption>span{padding-top:4px;font-size:10px}.schedule-workflow .schedule-legend{gap:10px 12px;font-size:10px}.schedule-workflow .schedule-calendar:not(.agenda-view){grid-template-columns:repeat(var(--days),minmax(148px,1fr))}.schedule-workflow .agenda-view .day-events{grid-template-columns:1fr}.schedule-workflow .flight-event-time{font-size:12px}.schedule-workflow .flight-event-pilot{font-size:14px}.schedule-workflow .flight-event-instructor{font-size:12px}.schedule-workflow #opsDialog{max-width:none;width:100%;height:100dvh;max-height:100dvh;margin:0;border:0;border-radius:0;padding:22px 18px}.schedule-workflow .ops-dialog-head{position:sticky;top:-22px;background:#fff;z-index:3;padding:14px 0;margin-top:-8px;border-bottom:1px solid var(--flight-line)}.schedule-workflow .ops-dialog-head h2{font-size:24px}.schedule-workflow .flight-details{gap:17px}.schedule-workflow .flight-footer>.button{flex:1;min-width:145px}.schedule-workflow .readiness-list b{display:none}.schedule-workflow .ops-form .two{grid-template-columns:1fr}.schedule-workflow .flight-step{font-size:11px!important}.schedule-workflow .availability-window label{width:100%}}
@media(prefers-reduced-motion:reduce){.schedule-workflow *{scroll-behavior:auto!important;transition:none!important}}
.schedule-workflow .flight-billing{border-top:1px solid var(--flight-line);padding-top:18px;margin-top:24px}.schedule-workflow .bill-lines{margin:20px 0}.schedule-workflow .bill-lines>div{display:flex;justify-content:space-between;gap:20px;padding:10px 0;font-size:13px;line-height:1.6;border-bottom:1px solid var(--flight-line)}.schedule-workflow .bill-lines dd{margin:0;white-space:nowrap}.schedule-workflow .bill-lines .bill-total{font-size:20px;font-weight:700;border-bottom:0;margin-top:10px}.schedule-workflow .flight-billing>.subtle{font-size:12px;line-height:1.7}
/* Phone layout: single-column dates in every view, no sideways calendar pan. */
.schedule-workflow .day-date-button{border:0;background:transparent;padding:6px 0;font:inherit;font-weight:700;color:inherit;cursor:pointer;text-align:left;min-height:44px}
.schedule-workflow .bookable-day{cursor:pointer}
.schedule-workflow .mobile-nav-toggle{display:none}
@media(max-width:700px){
 .schedule-workflow .shell{display:block;min-width:0;width:100%}
 .schedule-workflow .sidebar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;padding:12px 16px;gap:8px;position:static;width:auto;min-width:0}
 .schedule-workflow .sidebar .logo{max-width:155px;max-height:48px;object-fit:contain}
 .schedule-workflow .sidebar>div{display:none}
 .schedule-workflow .sidebar.mobile-nav-open>div{display:block;flex-basis:100%;width:100%}
 .schedule-workflow .sidebar.mobile-nav-open .sidebar-bottom{display:flex}
 .schedule-workflow .mobile-nav-toggle{display:block;order:0;min-height:44px}
 .schedule-workflow .sidebar>.logo-link{order:-2}.schedule-workflow .sidebar>.mobile-nav-toggle{order:-1}
 .schedule-workflow .shell .main{padding:18px 12px 32px;min-width:0;width:100%}
 .schedule-workflow .shell .main .schedule-board{padding:14px 10px;min-width:0}
 .schedule-workflow .schedule-heading h1{font-size:27px;letter-spacing:-.6px}.schedule-workflow .schedule-heading>.button{margin-top:12px}
 .schedule-workflow .schedule-summary{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:12px}
 .schedule-workflow .schedule-summary>div{display:flex;align-items:center;gap:8px;padding:9px 12px;border-bottom:1px solid var(--flight-line)}
 .schedule-workflow .schedule-summary span{font-size:12px;white-space:normal}.schedule-workflow .schedule-summary strong{font-size:22px}
 .schedule-workflow .ops-toolbar{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
 .schedule-workflow .ops-toolbar input,.schedule-workflow .ops-toolbar select,.schedule-workflow .ops-form input,.schedule-workflow .ops-form select,.schedule-workflow .ops-form textarea{font-size:16px;min-width:0;width:100%;max-width:100%;min-height:48px}
 .schedule-workflow .ops-form input[type=checkbox]{width:20px;min-height:20px}
 .schedule-workflow .schedule-calendar,.schedule-workflow .schedule-calendar:not(.agenda-view){display:block!important;grid-template-columns:none;overflow:visible;min-width:0;width:100%;background:white;border:0}
 .schedule-workflow .schedule-day,.schedule-workflow .month-view .schedule-day{min-height:0;padding:12px 0 16px;border-bottom:1px solid var(--flight-line)}
 .schedule-workflow .padding-day{display:none}.schedule-workflow .day-events{display:grid;grid-template-columns:minmax(0,1fr)!important;gap:8px}
 .schedule-workflow .flight-event{font-size:14px;padding:14px;min-width:0;margin:0}.schedule-workflow .flight-event-top strong{font-size:16px}
 .schedule-workflow .flight-event-time,.schedule-workflow .flight-event-instructor{font-size:14px}.schedule-workflow .month-view .flight-event-instructor{display:block}
 .schedule-workflow .flight-badge{font-size:12px}.schedule-workflow .day-book{min-width:44px;min-height:44px;font-size:20px}
 .schedule-workflow .day-empty{font-size:13px;padding:8px 4px}.schedule-workflow .schedule-caption{flex-wrap:wrap;gap:4px;margin-top:16px}
 .schedule-workflow .schedule-caption h2{font-size:17px}.schedule-workflow .schedule-legend{font-size:12px}
 .schedule-workflow #opsDialog{padding:18px 16px calc(24px + env(safe-area-inset-bottom));overflow-y:auto;overscroll-behavior:contain}
 .schedule-workflow .flight-details{grid-template-columns:minmax(0,1fr)}
}
