@media screen {
 #app.proDashboard {--navy:#123f59;--text:#203c4c;--muted:#637783;--line:#dbe5ea;background:#f2f6f8;color:var(--text);min-height:100vh;font-family:Arial,Helvetica,sans-serif}
 #app.proDashboard>header{background:#fff!important;color:#123f59!important;padding:18px 28px!important;border-bottom:1px solid #dbe5ea;box-shadow:none!important;position:relative;z-index:5}
 #app.proDashboard>header .head{max-width:none;display:flex;align-items:center;gap:20px;margin:0;padding:0;flex-wrap:wrap}
 #app.proDashboard>header .brand{display:flex;align-items:center;gap:13px;flex:1;min-width:260px}
 #app.proDashboard>header .brand img{width:46px;height:52px;object-fit:contain}
 #app.proDashboard>header .brand h1{color:#123f59;font-size:20px;letter-spacing:.4px;margin:0;line-height:1.3}
 #app.proDashboard>header .brand p{color:#637783;font-size:8px;letter-spacing:1px;margin:5px 0 0}
 #app.proDashboard>header .userbox{color:#526975!important;font-size:11px;text-align:right;max-width:390px;line-height:1.8}
 #app.proDashboard>header .userbox b{display:block;color:#183c50}
 #app.proDashboard>header .userbox a{color:#245b78!important;text-decoration:none;white-space:nowrap}
 #app.proDashboard>header .userbox a:hover{text-decoration:underline}
 #app.proDashboard .appShellNav{display:none}
 .proDivision{font-size:12px;font-weight:700;color:#145d66;background:#e0f4f3;padding:7px 11px;border-radius:7px;white-space:nowrap}
 .proStagingBadge{font-size:9px;color:#866514;background:#fff5db;padding:5px 8px;border:1px solid #edd7a2;border-radius:5px;letter-spacing:.6px}
 .proShell{display:grid;grid-template-columns:244px minmax(0,1fr);min-height:calc(100vh - 95px)}
 .proSidebar{background:#103b50;padding:22px 16px 40px;min-width:0;align-self:stretch}
 .proContent{min-width:0}
 .proNavLabel{color:#bdd4df;font-size:10px;font-weight:700;letter-spacing:1px;padding:22px 10px 5px;margin:10px 0 0;border-top:1px solid #ffffff24}
 .proNavLabel:first-child{border:0;padding-top:0}
 .proNavButton{display:flex;align-items:center;gap:12px;width:100%;padding:12px 10px;border-radius:7px;border:1px solid transparent;background:transparent;color:#f4f9fb;text-align:left;font-size:12px;line-height:1.4;cursor:pointer;margin:3px 0;min-height:43px}
 .proNavButton:hover{background:#ffffff14;border-color:#ffffff20}
 .proNavButton[aria-current=page]{background:#a9e6e3;color:#103b50;font-weight:700}
 .proIcon{width:21px;height:21px;flex:0 0 21px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
 .proDashboard button:focus-visible,.proDashboard a:focus-visible{outline:3px solid #bc9138;outline-offset:3px}
 #app.proDashboard #homePane{max-width:none;margin:0;padding:30px 30px 60px}
 #app.proDashboard #homePane .proWelcome{padding:0 0 22px;border:0;border-bottom:1px solid #c5a24e;border-radius:0;background:transparent;box-shadow:none;margin:0 0 22px}
 #app.proDashboard #homePane .proWelcome h2{font-size:29px;line-height:1.25;margin:8px 0;color:#123f59}
 #app.proDashboard #homePane .proWelcome p{font-size:14px;color:#637783}
 #app.proDashboard #homePane .proWelcome .proBreadcrumb{font-size:11px;margin:0 0 10px;color:#607c8d}
 #app.proDashboard #homePane .topgrid{gap:14px}
 #app.proDashboard #homePane .proFeaturedStats{grid-template-columns:repeat(4,minmax(0,1fr));margin:0 0 18px}
 #app.proDashboard #homePane .stat{background:white;border:1px solid #dbe5ea;border-radius:9px;padding:20px 17px;box-shadow:0 3px 9px #163f5505;min-width:0}
 #app.proDashboard #homePane .stat b{color:#123f59;font-size:31px;line-height:1.1;font-weight:700}
 #app.proDashboard #homePane .stat span{font-size:11px;line-height:1.4;color:#516c7c;display:block;margin-top:9px}
 .proMetrics{margin:0 0 20px;border:1px solid #dbe5ea;border-radius:8px;background:#fff;padding:12px 16px}
 .proMetrics>summary{cursor:pointer;font-size:12px;font-weight:bold;color:#315768}
 .proMetrics>.topgrid{margin-top:14px}
 .proHomePanels{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,1fr);gap:18px;margin-bottom:20px}
 .proCard{background:#fff;border:1px solid #dbe5ea;box-shadow:0 4px 12px #123f5905;border-radius:10px;padding:21px;min-width:0}
 .proDashboard .proCard h2{color:#123f59;font-size:21px;margin:0 0 17px;padding-bottom:12px;border-bottom:1px solid #d7bb78}
 .proQuickGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 .proTile{background:#fff;border:1px solid #d7e2e8;border-radius:8px;padding:18px 13px;display:flex;gap:11px;align-items:flex-start;text-align:left;color:#123f59;min-width:0;cursor:pointer}
 .proTile:hover{background:#f4fafb;border-color:#75b4ba}
 .proTile>.proIcon:first-child{padding:8px;width:39px;height:39px;flex-basis:39px;border-radius:8px;background:#e4f6f5;color:#247c86}
 .proTile>.proIcon:last-child{width:16px;height:16px;flex-basis:16px;margin-top:6px;color:#29968c}
 .proTile>span{min-width:0;flex:1}
 .proTile strong{display:block;font-size:13px;line-height:1.4;margin:1px 0 6px}
 .proTile small{display:block;font-size:11px;line-height:1.55;color:#647986;font-weight:400}
 #app.proDashboard #samisStaffNotices{background:transparent!important;border:0!important;border-radius:0!important;padding:0!important;margin:0!important}
 #app.proDashboard #samisStaffNotices h2{font-size:19px;margin:0 0 13px}
 #app.proDashboard #samisStaffNotices .noticeTools{gap:5px;display:flex;flex-wrap:wrap;margin:8px 0 14px}
 #app.proDashboard #samisStaffNotices button{font-size:10px;padding:7px 9px;border-radius:5px;line-height:1.4}
 .proMuted{color:#637783;font-size:12px}
 .proActionPanel{margin:0 0 20px}
 .proActionPanel>h2{margin-bottom:8px!important}
 .proActionRow{display:flex;align-items:center;justify-content:space-between;gap:18px;border-top:1px solid #e1e8eb;padding:14px 0}
 .proActionRow:first-child{border-top:0}
 .proActionRow:last-child{padding-bottom:0}
 .proActionRow strong{display:block;color:#21485d;font-size:13px}
 .proActionRow small{display:block;color:#637783;font-size:11px;margin-top:4px}
 .proOpenButton{display:flex;flex-direction:row-reverse;align-items:center;gap:9px;background:#14536a;color:white;border:0;border-radius:6px;padding:9px 14px;font-size:12px;cursor:pointer;flex-shrink:0}
 .proOpenButton:hover{background:#0d3b50}
 #app.proDashboard #sprCompletionDashboard,#app.proDashboard #sprPortalEntries{border:1px solid #dbe5ea!important;border-radius:10px!important;box-shadow:none;margin-top:20px!important}
 #app.proDashboard #sprPortalEntries h3{font-size:17px;color:#123f59}
 #app.proDashboard .proOriginalLmsEntry{display:none}
 #app.proDashboard .homeSummaryNote{border:0;background:transparent;padding:12px 0;color:#637783;font-size:11px}
 #app.proDashboard #workspacePane{max-width:none;margin:0;padding:30px;gap:0;flex-direction:column}
 #app.proDashboard #workspacePane>.workspaceSidebar{display:none!important}
 #app.proDashboard #workspacePane>.workspaceContent{width:100%;min-width:0}
 #app.proDashboard #workspacePane .workspacePageHead{margin:0 0 20px;padding-bottom:18px;border-bottom:1px solid #c5a24e}
 #app.proDashboard #workspacePane .workspacePageHead h2{color:#123f59;font-size:26px}
 #app.proDashboard #workspacePane table{background:white}
 #app.proDashboard #workspacePane th{background:#eef5f7;color:#31556b;font-size:11px}
 #app.proDashboard #workspacePane td{font-size:12px}
 #app.proDashboard #workspacePane .history{border:1px solid #dbe5ea;border-radius:9px}
 .proMobileToggle{display:none}
 #studentApp>header{background:#123f59!important}
 #studentApp .homeHero{border-radius:10px;box-shadow:0 4px 12px #123f5907}
 #lmsRoot .lmsPanel{border-radius:12px}
 @media(min-width:1600px){#app.proDashboard #homePane,#app.proDashboard #workspacePane{max-width:1450px;margin:auto;padding:38px 45px}}
 @media(max-width:1200px){.proShell{grid-template-columns:215px minmax(0,1fr)}#app.proDashboard #homePane,#app.proDashboard #workspacePane{padding:24px}.proHomePanels{grid-template-columns:1fr}.proNoticePanel{min-height:140px}.proNavButton{font-size:11px}}
 @media(max-width:850px){#app.proDashboard>header{padding:14px 18px!important}.proShell{display:block}.proMobileToggle{display:flex;gap:7px;align-items:center;color:#164a60;background:#eef5f6;border:1px solid #dbe5ea;border-radius:6px;padding:8px;font-size:11px;cursor:pointer}.proSidebar{display:none;padding:14px 18px 22px}.proNavOpen>.proSidebar{display:block}.proNavButton{font-size:13px}.proDashboard .proFeaturedStats{grid-template-columns:repeat(2,minmax(0,1fr))!important}#app.proDashboard>header .brand{min-width:220px}#app.proDashboard>header .brand h1{font-size:16px}#app.proDashboard>header .brand img{width:36px;height:42px}#app.proDashboard>header .userbox{max-width:none;width:auto;text-align:left}.proStagingBadge{margin-left:auto}}
 @media(max-width:520px){#app.proDashboard #homePane,#app.proDashboard #workspacePane{padding:22px 14px 55px}#app.proDashboard>header .head{gap:10px}#app.proDashboard>header .brand{min-width:0;flex-basis:calc(100% - 90px)}#app.proDashboard>header .brand h1{font-size:14px}#app.proDashboard>header .brand p{font-size:7px;letter-spacing:0}#app.proDashboard>header .userbox{font-size:10px;flex-basis:100%;order:3}.proDivision{font-size:10px}#app.proDashboard #homePane .proWelcome h2{font-size:25px}.proQuickGrid{grid-template-columns:1fr}.proCard{padding:17px}.proActionRow small{max-width:210px}.proTile{padding:17px 14px}.proMetrics>.topgrid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
 @media(prefers-reduced-motion:reduce){.proDashboard *{scroll-behavior:auto!important}}
}
@media print{.proSidebar,.proMobileToggle,.proStagingBadge{display:none!important}}

/* Refined dashboard proportions follow the approved visual concept. */
@media screen {
 #app.proDashboard{background:radial-gradient(ellipse at 70% 18%,#e7f0f5 0,#f1f6f9 65%);color:#122b40}
 #app.proDashboard>header{padding:12px 25px!important;box-shadow:0 2px 12px #163e5510!important}
 #app.proDashboard>header .brand h1{font-family:Georgia,'Times New Roman',serif;font-size:23px;letter-spacing:.5px}
 .proShell{grid-template-columns:250px minmax(0,1fr)}
 .proSidebar{background:linear-gradient(110deg,#092d40,#0b354b);padding:23px 14px 35px}
 .proNavLabel{color:white;font-size:12px;letter-spacing:.1px;padding:22px 10px 7px;margin-top:17px;border-top-color:#b6d7df90}
 .proNavButton{font-size:14px;padding:10px 12px;min-height:44px;margin:5px 0}
 .proNavButton[aria-current=page]{background:linear-gradient(110deg,#b9f0ee,#8bd8d8);border-color:#d3fbfa;box-shadow:0 3px 9px #0002}
 .proMoreTools{margin:5px 0;color:#d6e8ee;font-size:11px}
 .proMoreTools>summary{padding:7px 12px;cursor:pointer}
 .proMoreTools .proNavButton{font-size:12px;min-height:36px;margin:2px 0;padding:8px 12px}
 #app.proDashboard #homePane,#app.proDashboard #workspacePane{box-sizing:border-box;width:100%;max-width:1400px;margin:0 auto;padding:24px 28px 40px}
 #app.proDashboard #homePane .proWelcome{padding-bottom:16px;margin-bottom:18px;border-bottom-color:#b9973e}
 #app.proDashboard #homePane .proWelcome h2{font-size:34px;font-weight:750;letter-spacing:-.8px;color:#0a263b;margin:9px 0 5px}
 #app.proDashboard #homePane .proWelcome p{font-size:16px;margin:0;color:#465868}
 #app.proDashboard #homePane .proWelcome .proBreadcrumb{font-size:12px;margin-bottom:10px}
 #app.proDashboard #homePane .proFeaturedStats{gap:15px;margin-bottom:20px;grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}
 #app.proDashboard #homePane .proFeaturedStat{display:grid;grid-template-columns:54px minmax(0,1fr);grid-template-rows:auto auto;column-gap:15px;align-items:center;padding:20px;min-height:102px;box-sizing:border-box;border-color:#c7d7e0;box-shadow:0 4px 12px #163e5509;background:linear-gradient(125deg,#fff,#fafcfe)}
 .proFeaturedStat>.proIcon{grid-column:1;grid-row:1 / 3;width:54px;height:54px;padding:11px;box-sizing:border-box;color:#0c6473;border-radius:12px;background:linear-gradient(135deg,#e3f8f7,#c9f0f0);filter:drop-shadow(0 3px 3px #17637010)}
 #app.proDashboard #homePane .proFeaturedStat>b{grid-column:2;grid-row:2;font-size:32px;letter-spacing:-.5px;color:#0a293f}
 #app.proDashboard #homePane .proFeaturedStat>span{grid-column:2;grid-row:1;margin:0 0 6px;font-size:13px;color:#34475a}
 .proHomePanels{grid-template-columns:minmax(0,1.7fr) minmax(280px,1fr);gap:18px;margin-bottom:20px}
 .proCard{border-color:#cbdbe4;padding:19px;border-radius:11px;box-shadow:0 5px 15px #163f5510;background:linear-gradient(135deg,#fff,#fdfefe)}
 .proDashboard .proCard h2{font-size:25px;letter-spacing:-.5px;font-weight:750;color:#0b293f;padding-bottom:11px;margin-bottom:16px;border-color:#c4a34c}
 .proTile{padding:16px 13px;min-height:98px;align-items:center;gap:13px;border-color:#ccd9e1;box-shadow:0 1px 3px #163f5507;background:linear-gradient(130deg,#fff,#fafcfd)}
 .proTile>.proIcon:first-child{width:48px;height:48px;flex-basis:48px;box-sizing:border-box;padding:10px;background:linear-gradient(135deg,#e1f7f6,#d1f1f0);color:#126b77}
 .proTile strong{font-size:15px;color:#0d2b40;margin-bottom:5px}
 .proTile small{font-size:12px;line-height:1.45;color:#526675}
 .proTile>.proIcon:last-child{width:19px;height:19px;flex-basis:19px;stroke-width:2.5;margin:0}
 #app.proDashboard #samisStaffNotices>div:first-child{display:flex!important;flex-direction:column;align-items:stretch!important;gap:0!important}
 #app.proDashboard #samisStaffNotices>div:first-child>h2{display:none}
 #app.proDashboard #samisStaffNotices #noticeTools{display:flex;flex-wrap:wrap;gap:5px;margin:0 0 14px}
 #app.proDashboard #samisStaffNotices .noticeContent{font-size:13px;line-height:1.65;color:#526675}
 .proActionPanel>.proMuted{display:none}
 .proActionRow{gap:15px;padding:10px 0}
 .proActionRow>div{flex:1}
 .proActionRow>.proIcon{box-sizing:border-box;width:40px;height:40px;flex-basis:40px;padding:9px;border-radius:9px;background:#def6f3;color:#126775}
 .proActionRow strong{font-size:15px;color:#16354b}
 .proActionRow small{font-size:11px}
 .proOpenButton{background:linear-gradient(#126175,#064251);padding:8px 17px;font-weight:700;box-shadow:0 2px 3px #103c5015}
 .proPortalDetails,.proMetrics{border:0;background:transparent;box-shadow:none;border-radius:0;padding:9px 0;margin:10px 0;color:#476574}
 .proPortalDetails>summary,.proMetrics>summary{font-size:12px;cursor:pointer}
 #app.proDashboard .proPortalDetails #sprPortalEntries{margin-top:12px!important;padding:15px!important;background:white}
 @media(min-width:1600px){#app.proDashboard #homePane,#app.proDashboard #workspacePane{max-width:1400px;padding:26px 30px 40px}}
 @media(max-width:1200px) and (min-width:851px){.proShell{grid-template-columns:215px minmax(0,1fr)}.proHomePanels{grid-template-columns:1fr}.proNavButton{font-size:13px}}
 @media(max-width:850px){.proShell{display:block}#app.proDashboard #homePane,#app.proDashboard #workspacePane{padding:22px 18px 40px}.proHomePanels{grid-template-columns:1fr}#app.proDashboard #homePane .proWelcome h2{font-size:29px}#app.proDashboard #homePane .proFeaturedStat{padding:15px;column-gap:10px;grid-template-columns:42px minmax(0,1fr)}.proFeaturedStat>.proIcon{width:42px;height:42px;padding:9px}#app.proDashboard #homePane .proFeaturedStat>b{font-size:28px}#app.proDashboard #homePane .proFeaturedStat>span{font-size:11px}}
 @media(max-width:520px){#app.proDashboard>header .brand h1{font-size:15px}.proQuickGrid{grid-template-columns:1fr}.proTile{min-height:90px}.proActionRow strong{font-size:13px}.proActionRow small{font-size:10px}.proOpenButton{padding:8px 10px}.proDashboard .proCard h2{font-size:23px}}
}

/* School logo palette: mint, gold, plum and teal. Screen backgrounds only. */
@media screen {
 #app.proDashboard {
  --samis-mint:#61b5a8;
  --samis-gold:#ebbe32;
  --samis-plum:#65516e;
  --samis-teal:#39879a;
  background:#f5f7f8;
  background-image:
   radial-gradient(ellipse at 0% 0%,rgba(97,181,168,.24) 0,rgba(97,181,168,0) 47%),
   radial-gradient(ellipse at 100% 4%,rgba(235,190,50,.17) 0,rgba(235,190,50,0) 39%),
   radial-gradient(ellipse at 100% 80%,rgba(101,81,110,.13) 0,rgba(101,81,110,0) 47%),
   radial-gradient(ellipse at 12% 100%,rgba(57,135,154,.16) 0,rgba(57,135,154,0) 43%);
 }
 .proDashboard .proShell,.proDashboard .proContent{background:transparent}
 #app.proDashboard #homePane,#app.proDashboard #workspacePane{background:transparent}
 #app.proDashboard>header{border-top:4px solid transparent;border-image:linear-gradient(90deg,#61b5a8 0% 25%,#ebbe32 25% 50%,#65516e 50% 75%,#39879a 75% 100%) 1}
 #app.proDashboard .proSidebar{background:linear-gradient(160deg,#163e51 0%,#224e60 48%,#51415c 100%)}
 #app.proDashboard .proNavButton[aria-current=page]{background:linear-gradient(110deg,#d2f0e8,#a7dcd2);color:#153f47;border-color:#d7f3ed}
 #app.proDashboard #homePane .proWelcome{border-bottom-color:#d3af46}
 #app.proDashboard #homePane .proFeaturedStat:nth-child(1){border-top:3px solid #61b5a8}
 #app.proDashboard #homePane .proFeaturedStat:nth-child(2){border-top:3px solid #ebbe32}
 #app.proDashboard #homePane .proFeaturedStat:nth-child(3){border-top:3px solid #65516e}
 #app.proDashboard #homePane .proFeaturedStat:nth-child(4){border-top:3px solid #39879a}
 #app.proDashboard .proCard{background:#fff;box-shadow:0 6px 18px rgba(60,65,85,.07)}
}

/* Clean staging layout: progressive disclosure, original controls retained. */
@media screen {
 .proDashboard .proCategory{border-top:1px solid #ffffff30;margin-top:10px;padding-top:6px;color:#f6fbfd}
 .proDashboard .proCategory>summary{padding:14px 10px;font-size:14px;font-weight:700;cursor:pointer;list-style-position:inside;border-radius:7px}
 .proDashboard .proCategory>summary:hover{background:#ffffff12}
 .proDashboard .proCategory[open]>summary{color:#b9eae1}
 .proDashboard .proCategory .proNavButton{font-size:12px;padding:10px 12px;margin:2px 0}
 .proDashboard .proCategory:has([aria-current=page])>summary{background:#ffffff0a}
 .proDashboard .proExtraDashboard{margin:24px 0 0;padding:16px 0;border-top:1px solid #9bb8c050}
 .proDashboard .proExtraDashboard>summary{font-size:13px;font-weight:600;color:#405c70;cursor:pointer;padding:5px 0}
 .proDashboard .proExtraDashboard #sprCompletionDashboard{margin-top:15px!important}
 #app.proDashboard #homePane .proWelcome{margin-bottom:24px;padding-bottom:20px}
 #app.proDashboard #homePane .proFeaturedStats{margin-bottom:24px}
 .proDashboard .proHomePanels{gap:24px;margin-bottom:0}
 .proDashboard .proCard{padding:24px}
 .proDashboard .proQuickGrid{gap:16px}
 #samisLMS .lmsMoreOptions{align-self:start;min-width:140px;color:#31556b;border:1px solid #d5e1e8;border-radius:8px;background:#f6f9fb;padding:11px}
 #samisLMS .lmsMoreOptions>summary,#samisLMS .lmsReportOptions>summary{cursor:pointer;font-size:13px;font-weight:600;padding:4px}
 #samisLMS .lmsExtraFilters{display:grid;gap:12px;margin-top:12px}
 #samisLMS .lmsReportOptions{border:1px solid #d5e1e8;border-radius:8px;padding:8px 12px;background:#f7fafb;align-self:start}
 #samisLMS .lmsReportOptions button{margin:8px 6px 2px 0}
 #app.proDashboard #workspacePane .workspaceContent{padding:22px;background:#ffffffdc;border:1px solid #d8e3e8;border-radius:12px}
 @media(max-width:850px){.proDashboard .proCard{padding:19px}.proDashboard .proHomePanels{gap:18px}#app.proDashboard #workspacePane .workspaceContent{padding:14px}}
}
