.flow-workspace{min-width:0;max-width:100%;--flow-accent:#0071e3}.flow-workspace h1{letter-spacing:-.6px}.flow-toolbar{display:flex;gap:12px;align-items:end;flex-wrap:wrap;margin-bottom:24px}.flow-toolbar>.field{flex:1 1 150px;max-width:260px}.flow-week-control{display:flex;gap:6px;align-items:end;flex:1;min-width:0}.flow-week-control>.field{min-width:130px;max-width:220px;flex:1}.flow-toolbar .button{white-space:nowrap}.flow-welcome{padding:8px 0 22px}.flow-welcome h1{font-size:27px}.flow-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.flow-metric{padding:16px 12px;background:#f5f5f7;border-radius:14px;min-width:0}.flow-metric span,.flow-metric small{display:block;color:#6e6e73;font-size:12px}.flow-metric strong{display:block;font-size:28px;line-height:1.6;font-weight:600;letter-spacing:-1px}.flow-shortcuts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:18px}.flow-shortcuts .button{text-align:left;min-height:52px;padding:14px;border-color:#ededf0;background:#fafafa}.flow-line{display:flex;gap:12px;align-items:center;justify-content:space-between;min-width:0;padding:12px 0}.flow-line p{margin:5px 0 0}.flow-status{display:inline-block;font-size:12px;color:#626268;white-space:nowrap}.flow-node-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:20px 0}.flow-node-stats>div{border:1px solid #ededf0;padding:15px;border-radius:12px;min-width:0}.flow-node-stats strong,.flow-node-stats span,.flow-node-stats small{display:block}.flow-node-stats span{font-size:12px;margin-top:8px}.flow-node-stats small{font-size:11px;color:#6e6e73;margin-top:5px}.flow-table{min-width:640px}.flow-table td,.flow-table th{white-space:nowrap}.flow-week-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:10px;min-width:0}.flow-day{background:white;border-radius:16px;min-width:0;padding:16px 12px}.flow-day>header{display:flex;align-items:center;justify-content:space-between;gap:8px;padding-bottom:14px;border-bottom:1px solid #eee}.flow-day h2{font-size:15px;margin:0}.flow-day>header span{font-size:11px;color:#6e6e73}.flow-course{padding:14px 0;border-bottom:1px solid #eee;overflow-wrap:anywhere}.flow-course:last-child{border:0}.flow-course h3{font-size:14px;margin:10px 0 7px;line-height:1.6}.flow-course p,.flow-course small{font-size:11px;margin-bottom:6px;color:#6e6e73;display:block}.flow-course .flow-line{padding:0;align-items:start;gap:4px;flex-wrap:wrap}.flow-course time{font-size:10px;white-space:nowrap;color:#6e6e73}.flow-tag{display:inline-block;padding:3px 7px;border-radius:6px;background:#f0f4fa;color:#45658a;font-size:10px;white-space:nowrap}.flow-blank{font-size:12px;color:#909097;padding:15px 0;margin:0}.flow-plan-week{display:flex;flex-direction:column;gap:16px;margin-bottom:20px}.flow-plan-day{background:#fff;border-radius:16px;padding:24px;min-width:0}.flow-plan-day>header h2{font-size:17px}.flow-plan-day>header small{font-size:12px;color:#6e6e73;font-weight:400;margin-left:7px}.flow-period-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.flow-period{min-width:0;border-left:1px solid #eee;padding-left:16px}.flow-period:first-child{border-left:0;padding-left:0}.flow-period>h3{font-size:12px;color:#6e6e73;margin-bottom:12px}.flow-plan-editor{padding:12px;background:#f8f8fa;border-radius:12px;margin:12px 0;min-width:0}.flow-plan-editor>.flow-line{padding:0 0 10px}.flow-plan-editor>.flow-line select{max-width:150px;min-height:42px;border:1px solid #dedee3;border-radius:8px;background:white;padding:7px}.flow-plan-editor .field{font-size:11px;margin-bottom:10px}.flow-plan-editor .field:last-child{margin-bottom:0}.flow-plan-editor input,.flow-plan-editor select{padding:8px;font-size:12px}.flow-plan-read{padding:13px;background:#f5f5f7;border-radius:12px;display:flex;flex-direction:column;gap:7px;margin-bottom:10px;min-width:0;overflow-wrap:anywhere}.flow-plan-read .flow-tag{align-self:start}.flow-plan-read strong{font-size:12px;font-weight:500}.flow-plan-read>span:not(.flow-tag),.flow-plan-read small{font-size:11px;color:#6e6e73}.flow-form-row{display:flex;gap:10px;margin:10px 0}.flow-form-row>.field{flex:1;min-width:0}.flow-bottom-actions{margin-top:20px;margin-bottom:20px}.flow-details{margin-top:20px;border-top:1px solid #e5e5ea;padding-top:12px}.flow-details>summary{min-height:44px;padding:10px 0;cursor:pointer;font-size:13px;color:#626268}.flow-task{padding:18px 0;border-top:1px solid #eee;display:flex;gap:15px;align-items:center;min-width:0}.flow-task-main{flex:1;min-width:0}.flow-task h3{font-size:16px;line-height:1.6;margin:8px 0}.flow-task p{margin-bottom:7px;font-size:12px;overflow-wrap:anywhere}.flow-task .flow-line{padding:0;justify-content:start;gap:10px;font-size:12px;color:#6e6e73}.flow-task>.button{flex-shrink:0}.flow-report-panel{scroll-margin-top:20px}.flow-report-panel>.field{margin:16px 0}.flow-checkbox{display:flex;gap:12px;align-items:center;min-height:48px;padding:10px 0}.flow-checkbox input{width:18px;height:18px;flex-shrink:0;accent-color:#0071e3}.flow-assets{display:flex;gap:10px;flex-wrap:wrap;margin:12px 0}.flow-assets a{width:88px;height:88px;border:1px solid #eee;border-radius:10px;overflow:hidden;background:#f5f5f7}.flow-assets img{display:block;width:100%;height:100%;object-fit:cover}.flow-file-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 0;font-size:12px;overflow-wrap:anywhere}.flow-photo-input{margin-top:14px}.flow-history{padding:16px 0;border-top:1px solid #eee}.flow-history>strong{font-size:13px}.flow-history p{font-size:12px;color:#6e6e73;margin:6px 0;overflow-wrap:anywhere}.flow-attendance-node{border-top:1px solid #eee;padding:16px 0}.flow-attendance-node:first-of-type{border-top:0}.flow-attendance-node h3{margin:0;font-size:16px}.flow-attendance-node h3 span{font-weight:400;font-size:12px;color:#6e6e73;margin-left:8px}.flow-attendance-node>p{font-size:12px;color:#6e6e73}.flow-chip-list{display:flex;gap:8px;flex-wrap:wrap}.flow-local-status{font-size:12px;color:#6e6e73;margin:14px 0 0}.flow-reference{font-size:12px;color:#45658a}.device-mobile.role-student .flow-primary-nav,.device-mobile.role-adviser .flow-primary-nav{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));position:fixed;inset:auto 0 0;z-index:30;margin:0;padding:8px 10px calc(8px + env(safe-area-inset-bottom));border-top:1px solid #e5e5ea;background:#fffffff2;backdrop-filter:blur(22px);border-radius:0;gap:2px;overflow:visible;width:100%;max-width:100%}.device-mobile .flow-primary-nav>button{min-width:0;min-height:48px;border:0;border-radius:10px;padding:10px 2px;text-align:center;white-space:nowrap;font-size:12px;background:transparent;color:#86868b}.device-mobile .flow-primary-nav>button[aria-current=page]{background:#f1f1f5;color:#1d1d1f;font-weight:600}.device-mobile.role-student #main-content,.device-mobile.role-adviser #main-content{padding-bottom:95px}.flow-mobile-more{min-width:0;position:relative}.flow-mobile-more>summary{list-style:none;cursor:pointer;min-height:48px;text-align:center;padding:13px 2px;font-size:12px;color:#6e6e73}.flow-mobile-more>summary::-webkit-details-marker{display:none}.flow-mobile-more>div{position:absolute;bottom:calc(100% + 12px);right:0;width:210px;max-height:70dvh;overflow-y:auto;border:1px solid #e5e5ea;border-radius:16px;padding:8px;background:white;box-shadow:0 8px 40px #0002}.flow-mobile-more>div>button{display:block;width:100%;text-align:left;border:0;background:white;border-radius:8px;min-height:44px;padding:10px 12px;font-size:12px}.flow-mobile-more>div>button[aria-current=page]{background:#f0f0f5}.device-mobile .flow-workspace .surface{padding:20px}.device-mobile .flow-toolbar{gap:10px;margin-bottom:18px}.device-mobile .flow-toolbar>.field{max-width:none}.device-mobile .flow-week-grid{grid-template-columns:1fr;gap:12px}.device-mobile .flow-day{padding:18px}.device-mobile .flow-day>header{padding-bottom:10px}.device-mobile .flow-course{display:block;padding:14px 0}.device-mobile .flow-course .flow-line{justify-content:start;gap:10px}.device-mobile .flow-course h3{font-size:15px}.device-mobile .flow-course p,.device-mobile .flow-course small{font-size:12px}.device-mobile .flow-period-grid{grid-template-columns:1fr}.device-mobile .flow-period{border:0;border-top:1px solid #eee;padding:14px 0 0}.device-mobile .flow-period:first-child{border:0;padding-top:0}.device-mobile .flow-plan-day{padding:20px}.device-mobile .flow-plan-editor{padding:14px}.device-mobile .flow-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.device-mobile .flow-metric{padding:14px}.device-mobile .flow-metric strong{font-size:26px}.device-mobile .flow-node-stats{gap:7px}.device-mobile .flow-node-stats>div{padding:10px 8px}.device-mobile .flow-node-stats span,.device-mobile .flow-node-stats small{font-size:10px}.device-mobile .flow-node-stats strong{font-size:12px}.device-mobile .flow-task{flex-wrap:wrap;gap:10px}.device-mobile .flow-task>.button{margin-left:auto}.device-mobile .flow-task-main{flex-basis:100%}.device-mobile .flow-shortcuts .button{font-size:12px;padding:12px;min-height:52px}.device-mobile .flow-welcome h1{font-size:24px}.device-mobile .flow-toolbar .flow-week-control{width:100%;flex-basis:100%}.device-mobile .flow-toolbar .flow-week-control .button{padding-inline:10px}.device-mobile .flow-form-row input{font-size:14px}.device-mobile .flow-plan-editor input,.device-mobile .flow-plan-editor select{font-size:14px}.flow-workspace .table-scroll{width:100%;max-width:100%;overscroll-behavior-inline:contain}.flow-workspace .field input[type=file]{font-size:12px;max-width:100%}.flow-workspace .field input,.flow-workspace .field select{min-height:44px}.flow-workspace .button{min-height:44px}.flow-workspace .surface{overflow-wrap:anywhere}
@media(max-width:1180px){.flow-week-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.flow-period-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.flow-period:nth-child(3){border-left:0;padding-left:0}}
@media(prefers-reduced-motion:reduce){.flow-workspace *{scroll-behavior:auto!important}}

.device-mobile .device-control button{min-height:40px}.flow-workspace .flow-details summary{min-height:44px}

/* Override the earlier horizontally scrolling legacy menu, including its :not specificity. */
.device-mobile.role-student .mobile-nav.flow-primary-nav>button,.device-mobile.role-adviser .mobile-nav.flow-primary-nav>button,.device-mobile.role-adviser .mobile-nav.flow-primary-nav>.flow-mobile-more{min-width:0;width:100%;max-width:100%;box-sizing:border-box;min-height:48px;padding-inline:2px;flex:initial}
.flow-day-jumps{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;margin:0 0 18px}.flow-day-jumps a{display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:0;min-height:50px;text-decoration:none;color:#55555b;border:1px solid #e5e5ea;border-radius:10px;background:#fff;padding:7px 2px}.flow-day-jumps strong{font-size:12px;font-weight:500}.flow-day-jumps small{font-size:10px;color:#86868b}.flow-pending-list{border-top:1px solid #eee;margin-top:20px}.flow-pending-list small{display:block;color:#6e6e73;font-size:11px}.flow-plan-day{scroll-margin-top:20px}

.flow-home-primary .flow-shortcuts{margin-top:0}.flow-home-primary .flow-shortcuts .button{min-height:58px;text-align:center}.flow-home-primary .flow-shortcuts .button.primary{background:#1d1d1f;color:#fff;border-color:#1d1d1f}.flow-home-primary h2{margin-bottom:14px}.device-mobile .flow-home-summary .flow-metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.device-mobile .flow-home-summary .flow-metric{padding:11px 7px}.device-mobile .flow-home-summary .flow-metric strong{font-size:21px}.device-mobile .flow-home-summary .flow-metric span{font-size:10px}.device-mobile .flow-welcome{padding:0 0 18px}.device-mobile .flow-welcome h1{font-size:22px;margin:0}.device-mobile .flow-welcome .eyebrow{margin-bottom:7px}.device-mobile .flow-home-summary .section-heading{margin-bottom:10px}.device-mobile .flow-home-primary .flow-shortcuts .button{font-size:12px;padding:12px 5px}.device-mobile .flow-home-primary{padding-block:18px}

.flow-exam-compare{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.flow-exam-revision h3{font-size:13px;color:#6e6e73;margin:16px 0 10px}.flow-exam-revision-item{display:flex;flex-direction:column;gap:7px;padding:14px;background:#f5f5f7;border-radius:10px;margin-bottom:10px}.flow-exam-revision-item .flow-tag{align-self:start}.flow-exam-revision-item strong{font-size:13px}.flow-exam-revision-item>span:not(.flow-tag),.flow-exam-revision-item small{font-size:12px;color:#6e6e73}.flow-exam-removed{border-top:1px solid #e5e5ea;margin-top:16px}.flow-unscheduled-exams:empty{display:none}.flow-unscheduled-exams{padding:14px 0;margin-bottom:15px;border-bottom:1px solid #eee}.flow-unscheduled-exams>h3{font-size:12px;color:#6e6e73}.device-mobile .flow-exam-compare{grid-template-columns:1fr;gap:5px}
.device-mobile .flow-home-summary .flow-metric strong{font-size:18px;white-space:nowrap;letter-spacing:-.5px}
