/* The reference Plan composition, using the account's real controls and data. */
html body.student-experience #app-shell[data-simple-workspace] [data-view=planner].preview-plan {--plan-card:var(--board-card,rgba(249,255,255,.8));--plan-ink:var(--board-ink,#102142);--plan-muted:#54657f;--plan-line:rgba(255,255,255,.95);max-width:1280px;}
html body.student-experience #app-shell[data-simple-workspace] .preview-plan .planner-page-header {margin:0 0 14px;padding:0;border:0;align-items:center;}
html body.student-experience #app-shell[data-simple-workspace] .preview-plan .planner-page-header .page-kicker {display:none;}
html body.student-experience #app-shell[data-simple-workspace] .preview-plan .planner-page-header h1 {font-size:30px;line-height:1.2;letter-spacing:-.035em;margin:0 0 5px;font-weight:800;}
html body.student-experience #app-shell[data-simple-workspace] .preview-plan .planner-day-summary {font-size:12px;color:var(--plan-muted);}
html body.student-experience #app-shell[data-simple-workspace] .preview-plan .planner-date-nav {gap:5px;align-items:center;}
html body.student-experience #app-shell[data-simple-workspace] .preview-plan .planner-date-nav .mc-button {min-height:38px;padding:7px 12px;font-size:12px;border-radius:12px;}
html body.student-experience #app-shell[data-simple-workspace] .preview-plan .planner-date-picker input {min-height:38px;max-width:154px;font-size:13px;background:var(--plan-card);border-radius:12px;color:var(--plan-ink);}
html body.student-experience #app-shell[data-simple-workspace] .preview-plan .plan-view-controls {display:none;}
html body.student-experience #app-shell[data-simple-workspace] .preview-plan-tabs {display:flex;width:fit-content;gap:4px;padding:4px;border-radius:14px;background:#e4e9f6;margin:0 0 16px;}
#app-shell .preview-plan-tabs button {border:0;background:transparent;color:#50617e;min-height:38px;padding:8px 18px;border-radius:10px;font:inherit;font-size:13px;font-weight:700;cursor:pointer;}
#app-shell .preview-plan-tabs button[aria-pressed=true] {background:#fff;color:#152348;box-shadow:0 2px 5px #273a6510;}
html body.student-experience #app-shell[data-simple-workspace] .preview-plan [data-student-plan-week] {display:none!important;}
html body.student-experience #app-shell[data-simple-workspace] .preview-plan .planner-workspace {display:grid!important;grid-template-columns:minmax(0,1.42fr) minmax(280px,1fr)!important;gap:20px;align-items:start;margin:0;}
#app-shell .preview-plan :is(.preview-plan-day,.preview-plan-side) {min-width:0;}
#app-shell .preview-plan-day {padding:18px;display:flex;flex-direction:column;gap:15px;border:1px solid var(--plan-line);border-radius:26px;background:var(--plan-card);box-shadow:0 16px 44px -34px #23386266;}
#app-shell .preview-plan-side {display:flex;flex-direction:column;gap:16px;}
#app-shell .preview-plan-hero {position:relative;isolation:isolate;overflow:hidden;min-height:157px;box-sizing:border-box;padding:19px 19px 12px;border-radius:20px;background:radial-gradient(ellipse at 80% 80%,#44608875,transparent 50%),linear-gradient(125deg,#154dba,#173d93 52%,#272264);color:#fff;}
#app-shell .preview-plan-hero::before {content:"";position:absolute;inset:0;z-index:-1;opacity:.4;background-image:radial-gradient(circle at 20% 30%,#fff 0 1px,transparent 1.6px),radial-gradient(circle at 65% 60%,#fff 0 1px,transparent 1.5px),radial-gradient(circle at 80% 25%,#fff 0 1px,transparent 1.6px);background-size:79px 51px,93px 87px,107px 71px;}
#app-shell .preview-plan-kicker {font-size:11px;line-height:1.4;letter-spacing:.055em;font-weight:800;color:#bdffe1;}
#app-shell .preview-plan-hero h2 {position:relative;margin:5px 0 4px;color:#fff;font-size:clamp(25px,2.8vw,37px);line-height:1.15;letter-spacing:-.04em;font-weight:800;}
#app-shell .preview-plan-hero p {position:relative;font-size:12px;color:#e1edff;margin:0;line-height:1.45;}
#app-shell .preview-plan-arc {height:38px;position:relative;margin-top:7px;color:#b6d3f2;}
#app-shell .preview-plan-arc svg {display:block;width:100%;height:100%;}
#app-shell .preview-plan-sun {position:absolute;width:16px;height:16px;left:calc(8px + (100% - 32px)*var(--plan-day-position,0));bottom:var(--plan-day-rise,0px);border-radius:50%;background:#ffe29a;box-shadow:0 0 0 7px #ffdc7135,0 0 24px #ffdd7c;}
#app-shell .preview-plan-arc-labels {display:flex;justify-content:space-between;font-size:10px;font-weight:650;margin-top:-2px;color:#e2edff;}
#app-shell .preview-plan-section-label {display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:11px;font-weight:800;letter-spacing:.05em;color:var(--plan-muted);margin-bottom:10px;}
#app-shell .preview-plan-section-label strong {font-size:11px;letter-spacing:0;font-weight:700;color:var(--plan-ink);}
#app-shell .preview-plan-day-track {position:relative;height:30px;border-radius:12px;overflow:hidden;background:#e4eafa;}
#app-shell .preview-plan-day-track > span {position:absolute;inset-block:0;min-width:2px;border-inline:1px solid #fff8;background:#6be7bd;}
#app-shell .preview-plan :is(.preview-plan-legend,.preview-plan-day-track,.preview-plan-week-stack) [data-kind=study] {background:#72e9bc;}
#app-shell .preview-plan :is(.preview-plan-legend,.preview-plan-day-track,.preview-plan-week-stack) [data-kind=calendar] {background:#f2bc6b;}
#app-shell .preview-plan-hour-labels {display:flex;justify-content:space-between;color:var(--plan-muted);font-size:10px;font-weight:650;margin:6px 0 9px;}
#app-shell .preview-plan-legend {display:flex;flex-wrap:wrap;gap:12px;font-size:11px;line-height:1.4;font-weight:650;color:var(--plan-muted);}
#app-shell .preview-plan-legend span {display:flex;align-items:center;gap:5px;}
#app-shell .preview-plan-legend i {width:9px;height:9px;border-radius:3px;flex-shrink:0;}
html body.student-experience #app-shell[data-simple-workspace] .preview-plan .planner-command-strip {background:#e7ecfb!important;border:0!important;color:var(--plan-ink)!important;padding:12px!important;border-radius:16px;box-shadow:none!important;display:flex!important;flex-direction:column;gap:10px;margin:0;}
html body.student-experience #app-shell[data-simple-workspace] .preview-plan .planner-command-strip :is(h2,p,[data-planner-next-label]) {color:var(--plan-ink)!important;}
html body.student-experience #app-shell[data-simple-workspace] .preview-plan .planner-next-copy {gap:3px;}
html body.student-experience #app-shell[data-simple-workspace] .preview-plan .planner-next-copy > span {font-size:10px;color:var(--plan-muted)!important;text-transform:uppercase;letter-spacing:.06em;}
html body.student-experience #app-shell[data-simple-workspace] .preview-plan .planner-next-copy h2 {font-size:16px;line-height:1.3;font-weight:750;}
html body.student-experience #app-shell[data-simple-workspace] .preview-plan .planner-next-copy p {font-size:12px;line-height:1.5;}
html body.student-experience #app-shell[data-simple-workspace] .preview-plan .planner-command-strip__actions {gap:7px;}
html body.student-experience #app-shell[data-simple-workspace] .preview-plan .planner-command-strip__actions > .mc-button {min-height:40px;padding:8px 13px;font-size:12px;border-radius:22px;flex:0 1 auto;}
html body.student-experience #app-shell[data-simple-workspace] .preview-plan .planner-command-strip .mc-button--primary {color:#fff!important;background:#101c65!important;}
html body.student-experience #app-shell[data-simple-workspace] .preview-plan .planner-timeline-card {background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0!important;padding:0!important;margin:0;}
html body.student-experience #app-shell[data-simple-workspace] .preview-plan .planner-section-heading {margin:0 0 12px;padding:0;}
#app-shell .preview-plan .planner-section-heading h2 {font-size:16px;font-weight:750;letter-spacing:-.02em;}
#app-shell .preview-plan .planner-section-heading .eyebrow {font-size:10px;letter-spacing:.06em;margin:0 0 4px;color:var(--plan-muted);}
#app-shell .preview-plan .planner-timeline {min-height:0!important;}
#app-shell .preview-plan .audit-quick-add {margin:0;padding:0;background:transparent;box-shadow:none;border:0;gap:8px;}
#app-shell .preview-plan .audit-quick-add .mc-input > span {font-size:11px;}
#app-shell .preview-plan .audit-quick-add input {min-height:42px;font-size:14px;border-radius:12px;background:#fff;}
#app-shell .preview-plan .audit-quick-add button {min-height:42px;border-radius:12px;font-size:13px;}
#app-shell .preview-plan .audit-quick-add p:empty {display:none;}
#app-shell .preview-plan-week {padding:20px 18px 16px;border-radius:25px;background:linear-gradient(135deg,#133baf,#0b185b 58%,#173054);color:#fff;box-shadow:0 16px 42px -28px #202a7966;}
#app-shell .preview-plan-week-heading {display:flex;justify-content:space-between;align-items:baseline;gap:10px;}
#app-shell .preview-plan-week-heading strong {font-size:11px;white-space:nowrap;color:#e4eaff;}
#app-shell .preview-plan-week h2 {font-size:22px;font-weight:800;letter-spacing:-.035em;line-height:1.25;color:#fff;margin:8px 0 14px;}
#app-shell .preview-plan-week-chart {display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;border-bottom:1px solid #ffffff25;padding-bottom:10px;}
#app-shell .preview-plan-week-day {display:flex;flex-direction:column;align-items:center;gap:6px;min-width:0;min-height:150px;padding:12px 4px 8px;border:0;border-radius:13px;background:transparent;color:#fff;font:inherit;cursor:pointer;}
#app-shell .preview-plan-week-day[aria-pressed=true] {background:#637bdc60;}
#app-shell .preview-plan-week-plot {position:relative;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;min-height:95px;width:100%;padding-top:20px;box-sizing:border-box;}
#app-shell .preview-plan-week-amount {font-size:9px;font-weight:750;white-space:nowrap;margin-bottom:5px;position:absolute;top:0;}
#app-shell .preview-plan-week-stack {width:70%;max-width:26px;min-height:3px;max-height:78px;display:flex;flex-direction:column;overflow:hidden;border-radius:6px 6px 2px 2px;background:#8299e233;}
#app-shell .preview-plan-week-stack i {width:100%;min-height:2px;}
#app-shell .preview-plan-week-letter {display:grid;place-items:center;font-size:12px;font-weight:800;line-height:1;width:22px;height:22px;border-radius:50%;}
#app-shell .preview-plan-week-day[aria-pressed=true] .preview-plan-week-letter {background:#c0ffe1;color:#15375d;}
#app-shell .preview-plan-week-date {font-size:11px;line-height:1;font-weight:700;color:#dbe5ff;}
#app-shell .preview-plan-week-detail {font-size:12px;line-height:1.5;font-weight:700;margin:12px 0 9px;color:#edf4ff;}
#app-shell .preview-plan-week .preview-plan-legend {color:#e0e9ff;}
#app-shell .preview-plan-week-note {font-size:10px;line-height:1.5;color:#d8e2ff;margin:12px 0 0;padding:10px 12px;border:1px solid #ffffff25;border-radius:13px;background:#ffffff0b;}
#app-shell .preview-plan-upcoming {padding:19px;border:1px solid var(--plan-line);border-radius:24px;background:var(--plan-card);}
#app-shell .preview-plan-upcoming [data-preview-upcoming] > strong {font-size:15px;color:var(--plan-ink);}
#app-shell .preview-plan-upcoming p {font-size:12px;color:var(--plan-muted);line-height:1.5;margin:8px 0 0;}
#app-shell .preview-plan-next-row {display:flex;align-items:center;width:100%;min-width:0;gap:10px;border:1px solid #b7c6e2;border-radius:13px;padding:9px;background:#ffffffb0;color:var(--plan-ink);text-align:start;font:inherit;cursor:pointer;}
#app-shell .preview-plan-next-row + .preview-plan-next-row {margin-top:7px;}
#app-shell .preview-plan-next-row > span:nth-child(2) {min-width:0;display:grid;gap:4px;}
#app-shell .preview-plan-next-row strong {font-size:13px;overflow-wrap:anywhere;}
#app-shell .preview-plan-next-row small {font-size:11px;color:var(--plan-muted);}
#app-shell .preview-plan-next-icon {display:grid;place-items:center;width:30px;height:30px;border-radius:50%;flex-shrink:0;background:#0b165a;color:#ffdf4c;font-size:24px;}
html body.student-experience #app-shell[data-simple-workspace] .preview-plan .planner-tasks-card {padding:18px!important;margin:0;}
#app-shell .preview-plan .mc-calendar-quick {margin:0;padding:17px;display:grid;gap:10px;border:1px solid var(--plan-line);border-radius:23px;background:var(--plan-card);}
#app-shell .preview-plan .mc-calendar-quick strong {font-size:14px;}
#app-shell .preview-plan .mc-calendar-quick p {font-size:12px;line-height:1.5;margin:6px 0 0;}
#app-shell .preview-plan .mc-calendar-quick .mc-button {min-height:42px;font-size:12px;padding:9px 12px;white-space:normal;}
#app-shell .preview-plan :is(button,input,select,summary):focus-visible {outline:3px solid #5875df;outline-offset:3px;}
#app-shell .preview-plan .preview-plan-week button:focus-visible {outline-color:#c0ffe1;}
@media(max-width:1000px){
 html body.student-experience #app-shell[data-simple-workspace] .preview-plan .planner-workspace {grid-template-columns:minmax(0,1.2fr) minmax(260px,1fr)!important;gap:14px;}
 #app-shell .preview-plan-day {padding:14px;}
 #app-shell .preview-plan-week {padding:17px 13px;}
}
@media(max-width:760px){
 html body.student-experience #app-shell[data-simple-workspace] .preview-plan .planner-workspace {grid-template-columns:minmax(0,1fr)!important;}
 html body.student-experience #app-shell[data-simple-workspace] .preview-plan .planner-page-header {gap:12px;}
 html body.student-experience #app-shell[data-simple-workspace] .preview-plan .planner-date-nav {display:flex;flex-wrap:wrap;width:auto;}
 html body.student-experience #app-shell[data-simple-workspace] .preview-plan .planner-date-picker {width:auto;}
 html body.student-experience #app-shell[data-simple-workspace] .preview-plan .planner-date-picker input {width:137px;max-width:100%;}
 html body.student-experience #app-shell[data-simple-workspace] .preview-plan [data-planner-today] {min-width:44px;padding-inline:8px;}
 #app-shell .preview-plan-day {padding:12px;gap:14px;border-radius:22px;}
 #app-shell .preview-plan-hero {padding:17px 14px 10px;min-height:159px;}
 #app-shell .preview-plan-hero h2 {font-size:30px;}
 #app-shell .preview-plan-tabs {margin-bottom:14px;}
 #app-shell .preview-plan-section-label {font-size:10px;}
 #app-shell .preview-plan-week-day {min-height:156px;}
 html body.student-experience #app-shell[data-simple-workspace] .preview-plan .planner-command-strip__actions > .mc-button {flex:1 1 105px;}
}
@media(forced-colors:active){
 #app-shell .preview-plan :is(.preview-plan-day,.preview-plan-hero,.preview-plan-week,.preview-plan-upcoming,.preview-plan-tabs) {background:Canvas!important;color:CanvasText!important;border:1px solid CanvasText;}
 #app-shell .preview-plan :is(h2,p,span,strong,small,button) {color:CanvasText!important;}
 #app-shell .preview-plan .preview-plan-week-day[aria-pressed=true],#app-shell .preview-plan .preview-plan-tabs button[aria-pressed=true] {outline:2px solid Highlight;}
}

#app-shell .preview-plan .mc-empty-state {padding:18px 12px!important;gap:8px;min-height:0!important;border:1px dashed #c4d6e8;border-radius:16px;background:#f8fdff70;}
#app-shell .preview-plan .mc-empty-state h2 {font-size:17px;line-height:1.3;margin:5px 0;}
#app-shell .preview-plan .mc-empty-state p {font-size:12px;line-height:1.5;margin:0;}
#app-shell .preview-plan .mc-empty-state .tool-icon {width:32px;height:32px;}
#app-shell .preview-plan .mc-empty-state .mc-button {font-size:12px;min-height:42px;margin-top:8px;}
#app-shell .preview-plan .mc-event-agenda {margin:0;min-width:0;}
#app-shell .preview-plan .focus-flow {position:static;display:flex;flex-wrap:wrap;gap:8px;margin:0;}
/* Retire the old decorative chapter banner inside Plan's own heading. */
html body.student-experience #app-shell[data-simple-workspace] [data-view=planner].preview-plan .planner-page-header {background:transparent!important;border:0!important;padding:0!important;margin:0 0 14px!important;box-shadow:none!important;min-height:0!important;}
html body.student-experience #app-shell[data-simple-workspace] [data-view=planner].preview-plan .planner-page-header::after,
html body.student-experience #app-shell[data-simple-workspace] [data-view=planner].preview-plan .planner-page-header>div:first-child::before,
html body.student-experience #app-shell[data-simple-workspace] [data-view=planner].preview-plan #planner-title::before {display:none!important;}
html body.student-experience #app-shell[data-simple-workspace] [data-view=planner].preview-plan #planner-title {font:800 30px/1.2 system-ui,sans-serif!important;letter-spacing:-.035em!important;margin:0 0 5px!important;}
html body.student-experience #app-shell[data-simple-workspace] [data-view=planner].preview-plan .planner-next-copy {text-align:left!important;align-items:start!important;justify-items:start!important;}
html body.student-experience #app-shell[data-simple-workspace] [data-view=planner].preview-plan .planner-date-nav {padding:0;background:transparent;}
html.theme-dark body.student-experience #app-shell[data-simple-workspace] [data-view=planner].preview-plan {--plan-muted:#bdc9e5;--plan-line:#435575;}
html.theme-dark #app-shell .preview-plan :is(.preview-plan-tabs,.planner-command-strip) {background:#293556!important;}
html.theme-dark #app-shell .preview-plan .preview-plan-tabs button {color:#dbe6ff;}
html.theme-dark #app-shell .preview-plan .preview-plan-tabs button[aria-pressed=true] {background:#445785;color:#fff;}
html.theme-dark #app-shell .preview-plan :is(.mc-empty-state,.preview-plan-next-row) {background:#24324b!important;border-color:#526482;color:#eef4ff;}
html.theme-dark #app-shell .preview-plan .audit-quick-add input {background:#1b2642!important;color:#eef4ff!important;}
html.theme-dark #app-shell .preview-plan .preview-plan-day-track {background:#324264;}

@media(max-width:760px){
 html body.student-experience #app-shell[data-simple-workspace] .preview-plan .planner-date-nav .mc-button {min-height:44px;min-width:44px;padding:8px;}
 html body.student-experience #app-shell[data-simple-workspace] .preview-plan .planner-date-picker input {min-height:44px;width:128px;}
 #app-shell .preview-plan-tabs button {min-height:44px;}
}
html.theme-dark body.student-experience #app-shell[data-simple-workspace] [data-view=planner].preview-plan .planner-command-strip {background:#293556!important;}
html body.student-experience #app-shell[data-simple-workspace] [data-view=planner].preview-plan .planner-command-strip .planner-next-copy {width:100%!important;max-width:none!important;margin:0!important;text-align:start!important;justify-content:start!important;align-items:start!important;}
html body.student-experience #app-shell[data-simple-workspace] [data-view=planner].preview-plan .planner-next-copy > * {text-align:start!important;justify-self:start!important;margin-inline:0!important;}
