/* Academy assets take precedence; shared brand guide supplies typography and CTA rules. */
@font-face {
  font-family: 'Yekan Bakh';
  src: url('fonts/YekanBakhFaNum-VF.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: 'Switzer';
  src: url('fonts/Switzer-Variable.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --academy-cyan: #0dbdd0;
  --academy-green: #23ad23;
  --academy-yellow: #ffb600;
  --academy-blue: #008bdb;
  --academy-gray: #585858;
  --academy-melon: #e8baaf;
  --academy-pear: #d3dd17;
  --academy-purple: #6d42cc;
  --academy-tint: #e5f8fb;
  --academy-link: #006773;
  --ink: #171717;
  --teal: var(--academy-link);
  --muted: #626262;
  --line: #e5e5e5;
  --paper: #f7f8fa;
  --soft: var(--academy-tint);
  --white: #fff;
  --radius-card: 22px;
}
body {font-family:'Yekan Bakh',Tahoma,sans-serif;font-size:16px;line-height:1.85;background:var(--paper);color:var(--ink)}
h1,h2,strong {font-weight:750}
h1 {font-size:32px;line-height:1.55;margin:8px 0 12px}
h2 {font-size:22px;line-height:1.6}
small {font-size:12px}
button,input,select {font-family:inherit}
button,.button {border-radius:999px;padding:11px 22px;font-weight:650;transition:background-color .15s ease,box-shadow .15s ease}
button:hover,.button:hover {filter:none}
input,select {border:1px solid #90999b;min-height:49px;border-radius:12px;padding:10px 14px;background:#fff}
input:hover,select:hover {border-color:#586468}
input:focus,select:focus {outline:2px solid var(--academy-link);outline-offset:2px}
input[dir=ltr],input[type=email],input[type=password],code,td small[dir=ltr],dd[dir=ltr] {font-family:'Switzer','Yekan Bakh',sans-serif;letter-spacing:.15px}
input[type=password] {font-size:17px}
button:focus-visible,a:focus-visible {outline:3px solid var(--academy-link);outline-offset:4px}
.primary {background:#000;color:#fff}
.primary:hover {background:#303030;box-shadow:0 4px 12px #00000015}
.primary span[aria-hidden] {margin-right:12px}
.secondary {background:var(--academy-tint);color:#005661;box-shadow:inset 0 0 0 1px #afdce3}
.secondary:hover {background:#cbf0f5}
.light {background:#fff;color:#171717}
.quiet {color:#585858}
.quiet:hover {background:#f2f2f2;color:#171717}
.danger {background:#fff0e9;color:#9a301b;box-shadow:inset 0 0 0 1px #f3cebf}
.danger:hover {background:#ffe1d4}
.top {height:112px;padding:0 44px;background:#fff;border-bottom:1px solid var(--line)}
.brand {gap:22px}
.brand-logo {display:block;width:170px;height:90px;object-fit:contain;flex-shrink:0}
.brand-title {border-right:1px solid #dedede;padding-right:24px;font-size:20px;font-weight:750;line-height:1.65}
.brand-title small {font-size:12px;font-weight:400;margin-top:3px}
.edition {font-size:13px;color:#585858;display:flex;align-items:center;gap:8px}
.status-dot {width:7px;height:7px;background:var(--academy-cyan);border-radius:50%;display:inline-block}
.public-main {padding:40px 32px;min-height:calc(100vh - 172px)}
.welcome {max-width:1120px;gap:48px;margin:0 auto;align-items:stretch;grid-template-columns:1.05fr 1fr}
.welcome-copy {position:relative;overflow:hidden;border-radius:28px;background:var(--academy-cyan);padding:40px 40px 28px;display:flex;flex-direction:column;min-height:560px}
.eyebrow {font-size:13px;letter-spacing:0;color:var(--academy-link);font-weight:650}
.welcome-copy .eyebrow {color:#003a42}
.welcome-copy h1 {font-size:48px;font-weight:850;line-height:1.35;margin:24px 0 16px;letter-spacing:-.7px}
.welcome-copy p {font-size:16px;line-height:1.95;color:#143b3e;margin:0;position:relative;z-index:1}
.panel-caption {font-size:12px;font-weight:550;color:#123e44;margin-top:auto;padding-top:14px}
.card {border:1px solid var(--line);border-radius:var(--radius-card);box-shadow:none;padding:28px}
.auth-card {padding:32px 12px;background:transparent;border:none;align-self:center;border-radius:0}
.auth-card h2 {font-size:28px;margin:12px 0 7px;font-weight:800}
.auth-card .muted {font-size:15px;margin-bottom:25px}
.auth-card form p {margin-bottom:18px}
.auth-card label {font-size:15px;font-weight:600}
.auth-card .primary {margin-top:5px;min-height:49px}
.auth-card .hint {background:#fff;border:1px solid var(--line);margin-bottom:0;font-size:13px;padding:16px 18px;border-radius:14px}
.text-link {color:var(--academy-link);font-size:14px;font-weight:650}
.hint {background:#f3fafb;border:1px solid #c8e5e9;border-radius:14px;color:#505e60;font-size:14px}
.helptext {font-size:13px;line-height:1.9;color:#626262}
.helptext ul {margin:8px 0}
.errorlist {background:#fff0e9;color:#9a301b;font-size:14px;border-radius:12px}
.alert {font-size:15px;border:1px solid #c9e5cc;border-radius:14px;background:#eef8ee;color:#24582a}
.alert.error {border-color:#f3cebf;background:#fff0e9;color:#9a301b}
.form-card {max-width:610px;margin:0 auto;border-top:5px solid var(--academy-cyan);padding:32px 36px}
.form-card .primary {min-width:180px}
.form-card .text-link {display:block;width:fit-content}
.layout {grid-template-columns:244px minmax(0,1fr);min-height:calc(100vh - 172px)}
.main {padding:35px 38px;max-width:1450px;margin:0 auto}
.sidebar {padding:30px 18px;border-left:1px solid var(--line)}
.identity {padding:0 14px 25px;gap:5px}
.identity strong {font-size:17px}
.identity .muted {font-size:13px}
.avatar {width:46px;height:46px;border-radius:15px;background:#d2f4f8;color:#005661;font-size:24px;font-weight:750;margin-bottom:5px}
.sidebar nav a {font-size:15px;padding:11px 16px;border-radius:12px;color:#454545;margin:5px 0}
.sidebar nav a:hover {background:#f5f7f8;text-decoration:none}
.sidebar nav a[aria-current=page] {background:var(--academy-tint);color:#005661;box-shadow:inset -3px 0 0 var(--academy-cyan);font-weight:700}
.nav-label {font-size:12px;color:#737373;padding-top:22px}
.signout button {font-size:14px}
.hero {position:relative;overflow:hidden;background:var(--academy-cyan);color:#171717;padding:32px;border-radius:24px;margin:24px 0 28px;min-height:240px;gap:18px}
.hero h2 {font-size:27px;font-weight:800;max-width:530px}
.hero p {color:#153d42}
.hero .pill {background:#d2f4f8;color:#00515c}
.hero>div:first-child {position:relative;z-index:1}
.cards {gap:18px}
.action-card:hover {border-color:#60cbd9;background:#fcfeff}
.action-card .text-link {margin:8px 0 0}
.cards .number {display:inline-flex;align-items:center;justify-content:center;min-width:36px;min-height:32px;border-radius:9px;background:#e5f8fb;color:#005661;font-size:13px;padding:3px 10px}
.cards>.card:nth-child(2) .number {background:#fff4cf;color:#5f4800}
.cards>.card:nth-child(3) .number {background:#f6e3dc;color:#784437}
.cards p {color:#626262;font-size:15px}
.pill {font-size:12px;background:#e7f5e7;color:#286328;font-weight:600}
.pill.neutral {background:#edf0f2;color:#575c60}
.pill.warning {background:#fff1cc;color:#765600}
.heading .primary {white-space:nowrap}
.search {max-width:580px;margin:24px 0;gap:10px}
.search .secondary {min-width:90px}
.table-wrap {padding:0;border-radius:18px}
th {font-size:13px;color:#626262;background:#f1f5f6;font-weight:650}
td {font-size:14px}
th,td {padding:17px 19px;border-bottom:1px solid #e8ecee}
td small {font-size:12px;margin-top:5px}
.actions {min-width:270px}
.actions button {font-size:12px;padding:6px 13px}
.role-form {margin-top:10px}
.role-form select {font-size:12px;max-width:156px;min-height:36px;border-radius:9px}
.pagination {font-size:13px}
.stats {gap:16px}
.stats .card {position:relative;padding:22px 26px;border-top:4px solid var(--academy-cyan)}
.stats .card:nth-child(2) {border-top-color:var(--academy-yellow)}
.stats .card:nth-child(3) {border-top-color:var(--academy-melon)}
.stats strong {font-size:35px;font-weight:800}
.stats span {font-size:14px}
dt {font-size:13px}dd {font-size:17px}
footer {min-height:60px;padding:16px 44px;display:flex;justify-content:space-between;gap:15px;color:#626262;font-size:12px;background:#fff;border-top:1px solid var(--line)}
footer span[aria-hidden] {margin:0 12px;color:#8c8c8c}
.skip-link {position:fixed;top:-100px;right:20px;background:#000;color:#fff;border-radius:8px;padding:10px 20px;z-index:100}
.skip-link:focus {top:10px}

/* Soft geometric forms inspired by the supplied Academy identity artboards.
   These are decorative shapes, never substitutions or modifications of the logo. */
.academy-art {height:235px;min-width:250px;position:relative;margin:15px 0 8px;isolation:isolate}
.shape {position:absolute;display:block}
.shape-flower {width:105px;height:105px;color:#b8deff;bottom:14px;right:21px;transform:rotate(-12deg);filter:drop-shadow(0 4px 0 #00798726)}
.shape-heart {width:91px;height:91px;color:var(--academy-melon);top:17px;left:17px;transform:rotate(15deg)}
.shape-spark {width:94px;height:94px;color:var(--academy-pear);bottom:7px;left:28px;transform:rotate(-12deg)}
.sticker {position:absolute;display:grid;place-items:center;font-size:22px;font-weight:800;line-height:1.2;border:2px solid #171717;box-shadow:4px 5px 0 #171717;z-index:2}
.sticker-learn {background:var(--academy-yellow);color:#171717;right:7px;top:18px;width:145px;height:62px;border-radius:35px;transform:rotate(-12deg)}
.sticker-experience {background:#fff;color:#171717;right:132px;bottom:44px;width:127px;height:65px;border-radius:18px;transform:rotate(9deg)}
.sticker-together {font-size:13px;right:132px;top:89px;background:#171717;color:#fff;width:54px;height:30px;border:0;box-shadow:none;border-radius:999px;transform:rotate(-8deg)}
.hero .academy-art {flex:0 0 255px;height:195px;margin:0;transform:scale(.85);transform-origin:center}
.hero .shape-flower {right:-1px;bottom:0}
.hero .shape-heart {left:-5px;top:0}
.hero .shape-spark {left:-10px;bottom:0}
.hero .sticker-learn {right:0;top:13px}
.hero .sticker-experience {right:92px;bottom:28px}
.hero .sticker-together {right:75px;top:89px}
@media(min-width:1400px) {.welcome{gap:70px}.welcome-copy{padding:42px 48px}.auth-card{padding:34px 20px}.welcome-copy h1{font-size:52px}}
@media(max-width:1000px) {
  .top{padding:0 25px}.brand{gap:10px}.brand-title{padding-right:17px}.edition{font-size:12px}
  .welcome{gap:27px}.welcome-copy{padding:30px 25px}.welcome-copy h1{font-size:40px}.auth-card{padding:26px 0}
  .auth-card h2{font-size:25px}.academy-art{transform:scale(.9);transform-origin:center;min-width:0}
  .main{padding:28px}.layout{grid-template-columns:210px minmax(0,1fr)}.sidebar{padding:25px 12px}
  .hero .academy-art{flex-basis:170px;transform:scale(.65);margin-left:-30px}.hero h2{font-size:23px}
}
@media(max-width:740px) {
  .top{height:94px;padding:0 18px}.brand-logo{width:140px;height:74px}.brand-title{font-size:18px;padding-right:13px}.brand-title small{font-size:11px}.edition{display:none}
  .public-main{padding:24px 20px;min-height:calc(100vh - 154px)}.welcome{display:flex;flex-direction:column;gap:24px;margin:0 auto;max-width:500px}
  .welcome-copy{min-height:0;padding:25px 27px 22px;border-radius:23px}.welcome-copy h1{font-size:33px;margin:13px 0 9px;max-width:310px}.welcome-copy h1 br{display:none}.welcome-copy p{font-size:14px;max-width:300px}
  .welcome-copy .academy-art{display:none}.panel-caption{display:none}.auth-card{padding:2px 5px 12px;width:100%}.auth-card h2{font-size:26px}.auth-card .hint{margin-top:12px}
  .layout{display:block}.sidebar{padding:12px 18px;border-left:0;border-bottom:1px solid var(--line)}.identity{display:none}.sidebar nav{display:flex;flex-wrap:wrap;gap:2px}.sidebar nav a{font-size:13px;padding:7px 11px;margin:2px 0}.nav-label{display:none}.signout{margin:0;padding:0}.signout button{font-size:12px;padding:3px 11px}
  .main{padding:24px 18px}.main h1{font-size:27px}.hero{padding:25px;min-height:0}.hero .academy-art{display:none}.hero h2{font-size:24px}.hero .button{font-size:14px}.hero p{font-size:14px}
  .card{padding:22px}.table-wrap{padding:0}.form-card{padding:25px 22px;margin:0 auto}.form-card h1{font-size:26px}
  .heading{gap:12px;align-items:center}.heading h1{font-size:24px}.heading .primary{font-size:13px;padding:10px 15px}.stats{gap:9px}.stats .card{padding:14px 12px}.stats strong{font-size:29px}.stats span{font-size:12px}
  footer{padding:15px 20px;flex-wrap:wrap;font-size:11px;gap:5px}.pagination{gap:12px}.cards{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){button,.button{transition:none}}

.auth-divider { text-align:center; margin:16px 0; color:var(--color-text-muted, #585858); }

textarea{font:inherit;width:100%;border:1px solid var(--line);border-radius:12px;padding:12px;resize:vertical;line-height:2}select[multiple]{min-height:150px} .toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:22px 0}.knowledge-tree{list-style:none;padding:0}.knowledge-tree li{padding:12px 0;border-bottom:1px solid var(--line);overflow-wrap:anywhere}.breadcrumb{margin-bottom:20px}.article-body{font-size:16px;line-height:2.2;overflow-wrap:anywhere}.history{margin-top:24px}.history-row{display:flex;justify-content:space-between;gap:12px;padding:18px 0;border-bottom:1px solid var(--line)}@media(max-width:650px){.history-row{display:block}.article-body{font-size:14px}.toolbar .button{width:100%}}

.compact-checkbox{width:auto;min-height:0}.journey-list{margin-top:22px}.journey-options{margin:24px 0}.journey-options summary{cursor:pointer;font-weight:700;padding:12px 0}
