/* AGC workspace. Keeps the existing exercise renderers and their accessibility rules. */
:root{--agc-forest:#233a19;--agc-olive:#385416;--agc-gold:#d4b550;--agc-paper:#f5f6f3;--agc-line:#e1e5dc;--agc-ink:#243123}
body{background:var(--agc-paper);color:var(--agc-ink)}
.portal-booting .workspace,.portal-booting .sidebar,.portal-booting .portal-topbar{visibility:hidden}
.portal-topbar{position:fixed;inset:0 0 auto;z-index:30;height:64px;background:var(--agc-forest);border-bottom:3px solid var(--agc-gold);color:#fff;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 30px}
.topbar-brand{font-weight:750;font-size:22px;letter-spacing:1px}.topbar-brand>span{font-size:14px;font-weight:450;letter-spacing:0;margin-left:16px;color:#e7ebdf}.topbar-session{display:flex;align-items:center;gap:20px;font-size:13px}.private-label{border:1px solid #92a083;border-radius:30px;padding:5px 12px;color:#edf1e4}.menu-toggle{display:none}
body:not(.individual-login) .sidebar{position:fixed;inset:64px auto 0 0;width:252px;background:#fff;color:var(--agc-ink);padding:24px 16px 16px;border-right:1px solid var(--agc-line);z-index:25;overflow-y:auto}
body:not(.individual-login) .workspace{margin:64px 0 0 252px;min-width:0}
.sidebar .brand{display:block;text-align:center;padding:0 6px 20px;border-bottom:1px solid var(--agc-line)}
.sidebar .brand img{display:block;width:158px;height:70px;object-fit:contain;margin:0 auto 12px}.sidebar .brand strong{display:block;color:var(--agc-ink);font-size:13px;line-height:1.5;letter-spacing:0}.sidebar .brand>span{display:block;color:#63705c;font-size:11px;margin-top:4px}
.module-name{color:#6a7564;font-size:10px;letter-spacing:1.8px;text-align:left;padding:0;margin:22px 12px 8px}.nav-caption{font-size:10px;color:#687460;letter-spacing:1px;margin:4px 12px 14px}
.sidebar nav{display:flex;flex-direction:column;gap:5px}.sidebar nav button{display:flex;align-items:center;gap:11px;background:transparent;color:#4c5746;text-align:left;width:100%;padding:12px;border:1px solid transparent;border-radius:8px;font-size:13px;font-weight:550;line-height:1.3;min-height:43px}
.sidebar nav button:hover{background:#f2f5ed}.sidebar nav button[aria-current=page]{background:#eff3e6;border-color:#dce5ca;color:#2c4615;box-shadow:inset 3px 0 var(--agc-olive)}.nav-mark{font-size:17px;width:22px;color:inherit}
.sidebar-hint{font-size:12px;color:#6f7867;line-height:1.7;margin:20px 12px}.sidebar-bottom{border-top:1px solid var(--agc-line);margin-top:auto;padding:20px 10px 0;color:#6d7766}.sidebar-bottom>span{font-size:11px}.sidebar .sidebar-logout{margin-top:10px;color:var(--agc-olive);background:#f5f7f1;border:1px solid var(--agc-line);width:100%}
.workspace>header{max-width:1440px;margin:auto;padding:34px 42px 12px;background:transparent;align-items:center;text-transform:none;letter-spacing:0}.heading-brand{gap:18px}.heading-brand .emblem{width:43px;height:64px;background:transparent;border:0}.heading-brand .emblem img{width:100%;height:100%;object-fit:contain}header h1{font-size:28px;font-weight:650;margin:6px 0 5px;letter-spacing:-.7px;color:var(--agc-ink)}header .heading-brand p{font-size:12px;color:#74806a;margin:0}.portal-breadcrumb{letter-spacing:1.4px;font-size:10px!important;color:#71805f!important}.environment{font-size:10px;background:#f3eddb;border:1px solid #e8dbb3;border-radius:20px;color:#77632a;padding:6px 10px;white-space:nowrap}
body:not(.individual-login) #mainContent{max-width:1440px;margin:10px auto 30px;padding:0 42px}.page-tools{margin:12px 0 22px}.page-tools p{font-size:14px;color:#69745f}.page-tools button{font-size:12px;padding:9px 14px}
.card{border:1px solid var(--agc-line);box-shadow:0 2px 5px #24371903;border-radius:14px;padding:24px;background:#fff;margin:20px 0}.card h2{font-size:18px;letter-spacing:-.3px}.eyebrow{color:#7b865f;font-size:10px;letter-spacing:1.7px}.stats{gap:16px}.stat{padding:22px;border:1px solid var(--agc-line);border-radius:12px;background:#fff;border-top:3px solid #c8d6ad}.stat strong{color:var(--agc-olive);font-size:31px;font-weight:650}.stat span{font-size:12px;line-height:1.5;color:#69735f}
button{background:var(--agc-olive);border-color:var(--agc-olive);border-radius:8px;font-size:13px;min-height:40px}.secondary{color:var(--agc-olive);background:white;border-color:#ccd7bd}.quick{border:1px solid var(--agc-line);background:#fafbf7;border-radius:10px;padding:18px;min-height:120px;box-shadow:none;color:var(--agc-ink)}.quick:hover{border-color:#bccd9f;background:#f1f5e9}.quick>span{color:#607b36;background:#edf2e3;border-radius:8px;width:34px;height:34px;display:grid;place-items:center;font-size:20px}.quick strong{font-size:13px}.quick small{font-size:12px;color:#6b7760;line-height:1.6}.dashboard-grid{gap:20px}
th{background:#f5f7f1;color:#68735f;font-size:11px;letter-spacing:.3px;font-weight:650}td{font-size:13px;padding:15px 10px}.tableWrap{border-radius:8px}.tag{background:#eef2e6;color:#556b35}.review-access{display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding:13px 18px;margin:12px 0;background:#f0f3e9;border:1px solid #dbe3cc}.review-access strong{font-size:12px}.review-access label{font-size:12px}.review-access p{font-size:11px;margin:0}.review-access select{padding:6px 8px}.review-access button{font-size:11px;min-height:32px;padding:6px 12px}
.portal-admin-grid{display:grid;grid-template-columns:1.25fr 1fr;gap:20px}.portal-admin-grid .card{margin-top:8px}.portal-section-heading h2{font-size:23px;margin:0}.portal-section-heading p{font-size:13px;color:#718064}.portal-form{display:flex;gap:16px;align-items:end;flex-wrap:wrap}.portal-form label{flex:1 1 180px;font-size:12px}.portal-form input,.portal-form select{width:100%;min-height:43px;border:1px solid #d2dbc6;border-radius:7px;font-size:14px;padding:10px}.portal-form button{margin-top:6px}.portal-tags{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0 24px}.portal-held{font-size:12px;line-height:1.6;background:#fbf7e9;color:#756128;padding:10px 12px;border-radius:8px;border:1px solid #eee4c2}.portal-account{border-top:1px solid var(--agc-line);padding:12px 0}.portal-account>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 4px;cursor:pointer;list-style:revert}.portal-account>summary:before{content:'›';color:#7d8c6c;font-size:23px}.portal-account[open]>summary:before{content:'⌄'}.portal-account>summary>span:first-of-type{flex:1}.portal-account strong{display:block;font-size:13px}.portal-account small{display:block;font-size:12px;color:#7c866f;margin-top:5px;overflow-wrap:anywhere}.portal-status{font-size:11px;color:#657054;background:#f2f4ee;border-radius:16px;padding:6px 10px}.status-active{background:#edf5e7;color:#43672c}.status-suspended{background:#f9eee9;color:#935d42}.portal-edit{padding:10px 4px 0}#accountSearch{display:block;margin-top:5px;border:1px solid #d2dbc6;border-radius:7px;padding:9px 12px}#ownProgress h3{margin-top:30px}.individual-login .portal-topbar{display:none}
body.individual-login .workspace{margin:0}.individual-login #mainContent{max-width:1120px}.individual-login .portal-breadcrumb{display:none}footer{font-size:11px;color:#7e8873}
@media(max-width:1150px){body:not(.individual-login) .sidebar{width:222px}body:not(.individual-login) .workspace{margin-left:222px}.workspace>header{padding:28px 24px 10px}body:not(.individual-login) #mainContent{padding:0 24px}.portal-admin-grid{grid-template-columns:1fr}.dashboard-grid{grid-template-columns:1fr}.environment{max-width:160px;white-space:normal;text-align:center}.stats{gap:10px}.stat{padding:18px}}
@media(max-width:760px){.portal-topbar{height:58px;padding:0 15px;gap:12px}.menu-toggle{display:block;background:transparent;border:1px solid #718361;padding:5px 10px;min-height:33px;font-size:19px}.topbar-brand{font-size:19px;margin-right:auto}.topbar-brand>span{font-size:12px;margin-left:7px}.topbar-session{font-size:11px;max-width:115px}.private-label{display:none}body:not(.individual-login) .sidebar{inset:58px auto 0 0;width:252px;display:none;box-shadow:8px 0 30px #20321025}body.menu-open .sidebar{display:flex}body:not(.individual-login) .workspace{margin:58px 0 0}.workspace>header{padding:22px 16px 8px;flex-wrap:wrap;gap:12px}.heading-brand .emblem{width:32px;height:45px}.heading-brand{gap:12px}header h1{font-size:24px}header .heading-brand p{font-size:10px}.environment{max-width:none;font-size:9px;padding:4px 8px;margin-left:44px}body:not(.individual-login) #mainContent{padding:0 16px}.review-access{gap:9px;padding:12px}.review-access label{flex:1}.review-access p{flex-basis:100%}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.stat{padding:16px}.stat strong{font-size:27px}.card{padding:18px}.portal-account>summary{flex-wrap:wrap}.portal-account>summary>span:first-of-type{flex-basis:65%}.portal-account .tag{font-size:11px}.portal-account .portal-status{margin-left:22px}.portal-section-heading h2{font-size:21px}.portal-form label{flex-basis:100%}.heading{flex-wrap:wrap}#accountSearch{max-width:100%}.page-tools{gap:10px;align-items:start}.quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.quick{padding:13px;min-height:130px}.topbar-session #sessionName{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.individual-login #mainContent{padding:20px 14px}.portal-admin-grid{gap:0}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
