:root{--navy:#0b1f3d;--blue:#1667d9;--cyan:#11b8cf;--teal:#16b8a6;--bg:#f5f8fc;--line:#dfe8f3;--muted:#667891;--card:#fff;--shadow:0 18px 50px rgba(22,63,119,.10)}*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--navy);background:radial-gradient(circle at 80% 0,#e8f8ff 0,transparent 28%),var(--bg)}button,textarea{font:inherit}.app-shell{display:grid;grid-template-columns:270px 1fr;min-height:100vh}.sidebar{padding:28px 20px;background:linear-gradient(180deg,#071a35,#0b2a4e);color:#fff;position:sticky;top:0;height:100vh}.brand{display:flex;gap:12px;align-items:center}.brand-mark{width:44px;height:44px;border-radius:15px;display:grid;place-items:center;font-weight:900;background:linear-gradient(135deg,#19c2d0,#2475ff);box-shadow:0 8px 25px #0ac8df55}.brand strong{display:block;font-size:20px}.brand span{display:block;color:#a9c2df;font-size:12px;margin-top:2px}.course-badge{margin:28px 0 14px;border:1px solid #ffffff22;border-radius:999px;padding:7px 10px;font-size:11px;color:#75e7e0;text-align:center;letter-spacing:.08em}.nav{width:100%;border:0;background:transparent;color:#b8c9dd;padding:12px 14px;border-radius:12px;text-align:left;margin:4px 0;display:flex;gap:10px;cursor:pointer}.nav:hover,.nav.active{background:#ffffff14;color:#fff}.course-card{margin-top:26px;padding:18px;border:1px solid #ffffff1a;border-radius:18px;background:#ffffff0a}.mini-label,.eyebrow{font-size:10px;letter-spacing:.13em;font-weight:800;color:#12c1c7}.course-card h3{font-size:15px;margin:7px 0}.course-card p{font-size:12px;line-height:1.5;color:#a9bfd5}.progress{height:7px;background:#ffffff17;border-radius:20px;overflow:hidden}.progress i{display:block;height:100%;width:68%;background:linear-gradient(90deg,#13c8c2,#3a83ff)}.progress-row{display:flex;justify-content:space-between;margin-top:8px;font-size:11px;color:#c8d8ea}.status-card{position:absolute;left:20px;right:20px;bottom:24px;display:flex;gap:9px;align-items:center;border-top:1px solid #ffffff15;padding-top:16px}.status-card .dot{width:9px;height:9px;border-radius:50%;background:#42e0ae;box-shadow:0 0 18px #42e0ae}.status-card b,.status-card small{display:block}.status-card b{font-size:12px}.status-card small{font-size:10px;color:#9fb6cc;margin-top:2px}main{min-width:0;padding:0 34px 48px}.topbar{height:100px;display:flex;align-items:center;justify-content:space-between}.eyebrow{color:#2b77c9}.topbar h1{font-size:25px;margin:6px 0 0}.user-pill{display:flex;align-items:center;gap:9px;background:#fff;border:1px solid var(--line);padding:8px 12px;border-radius:15px}.avatar{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,#186ee0,#15bdb2);color:#fff;font-weight:800;font-size:11px}.user-pill b,.user-pill small{display:block}.user-pill b{font-size:12px}.user-pill small{font-size:10px;color:var(--muted)}.view{display:none}.view.active{display:block}.hero-grid{position:relative;overflow:hidden;display:grid;grid-template-columns:1.4fr .8fr;gap:22px;border-radius:25px;padding:28px;background:linear-gradient(115deg,#0b2f64,#136ed1 62%,#13a9af);color:#fff;box-shadow:var(--shadow)}.hero-grid:after{content:"";position:absolute;width:420px;height:420px;border:1px solid #ffffff22;border-radius:50%;right:-130px;top:-230px;box-shadow:0 0 0 55px #ffffff08,0 0 0 110px #ffffff05}.hero-copy{position:relative;z-index:2}.pill{display:inline-block;padding:6px 9px;border-radius:999px;background:#dff9f5;color:#087c7c;font-size:10px;font-weight:800;letter-spacing:.04em}.hero-copy .pill{background:#ffffff17;color:#bffcf6}.hero-copy h2{font-size:31px;line-height:1.15;margin:14px 0}.hero-copy h2 em{font-style:normal;color:#88fff1}.hero-copy p{max-width:720px;line-height:1.6;color:#dbeafa;font-size:13px}.score-glass{position:relative;z-index:2;background:#ffffff12;border:1px solid #ffffff28;border-radius:19px;padding:16px;display:flex;gap:16px;align-items:center;backdrop-filter:blur(6px)}.ring{width:112px;height:112px;border-radius:50%;display:grid;place-items:center;align-content:center;border:9px solid #2ee0d5;border-right-color:#ffffff3b;background:#ffffff0b}.ring span{font-size:31px;font-weight:900}.ring small{font-size:8px;color:#cee0f5}.score-list{flex:1}.score-list span{display:grid;grid-template-columns:1fr auto;gap:4px;font-size:10px;margin:10px 0;color:#d9e8f8}.score-list i{grid-column:1/-1;height:5px;width:var(--w);background:#47e8d7;border-radius:9px}.quick-actions{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:18px 0}.quick-actions button{border:1px solid var(--line);background:#fff;padding:14px;border-radius:16px;text-align:left;cursor:pointer;transition:.2s;box-shadow:0 7px 20px rgba(16,64,120,.05)}.quick-actions button:hover{transform:translateY(-2px);border-color:#8cc9ff;box-shadow:0 13px 30px rgba(16,64,120,.11)}.quick-actions span{display:inline-grid;place-items:center;width:28px;height:28px;background:#e7f3ff;color:#176cca;border-radius:9px;font-weight:800;font-size:10px}.quick-actions b,.quick-actions small{display:block}.quick-actions b{margin-top:9px;font-size:13px}.quick-actions small{color:var(--muted);font-size:10px;margin-top:3px}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:16px}.chat-panel,.source-panel,.source-card,.metric,.learning-path,.evidence-log{background:#fff;border:1px solid var(--line);border-radius:20px;box-shadow:0 8px 25px rgba(25,71,120,.05)}.chat-panel{min-height:490px;display:flex;flex-direction:column}.chat-head{padding:14px 17px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center}.chat-head>div:first-child{display:flex;align-items:center;gap:10px}.bot-icon{width:34px;height:34px;display:grid;place-items:center;border-radius:11px;color:#fff;background:linear-gradient(135deg,#1e6fd8,#13beb4)}.chat-head b,.chat-head small{display:block}.chat-head b{font-size:13px}.chat-head small{font-size:9px;color:var(--muted);margin-top:2px}.live-dot{font-size:9px;color:#119c72;background:#e9fbf4;padding:5px 8px;border-radius:999px}.chat{padding:19px;flex:1;overflow:auto;max-height:460px}.msg{display:flex;margin-bottom:14px}.msg.user{justify-content:flex-end}.bubble{max-width:78%;padding:13px 15px;border-radius:17px;line-height:1.55;font-size:12.5px}.msg.ai .bubble{background:#f1f6fc;border-bottom-left-radius:5px}.msg.user .bubble{background:linear-gradient(135deg,#176bd4,#119eae);color:#fff;border-bottom-right-radius:5px}.bubble h3{font-size:14px;margin:10px 0 5px}.bubble ul{padding-left:18px}.bubble blockquote{margin:8px 0;padding:8px 10px;border-left:3px solid #16b7a6;background:#fff;color:#4e6075}.typing{opacity:.7}.composer{display:flex;gap:10px;border-top:1px solid var(--line);padding:12px}.composer textarea{width:100%;resize:none;border:1px solid #d8e4f0;border-radius:13px;padding:12px;outline:none}.composer textarea:focus{border-color:#6fb6ee}.composer button{border:0;border-radius:12px;padding:0 18px;color:#fff;font-weight:800;background:linear-gradient(135deg,#176bd4,#12acae);cursor:pointer}.source-panel{padding:15px}.panel-title{display:flex;justify-content:space-between;align-items:center;padding-bottom:12px;border-bottom:1px solid var(--line)}.panel-title b,.panel-title small{display:block}.panel-title b{font-size:12px}.panel-title small{font-size:9px;color:var(--muted);margin-top:3px}.panel-title>span{font-size:9px;color:#14778d;background:#e5fbfb;padding:5px 7px;border-radius:8px;font-weight:800}.source-empty{padding:24px 8px;color:var(--muted);font-size:11px;line-height:1.5;text-align:center}.source-item{margin:11px 0;border:1px solid #e3ebf4;border-radius:12px;padding:10px}.source-item span{font-size:9px;color:#0c8c88;font-weight:800}.source-item b{display:block;font-size:11px;margin:5px 0}.source-item p{font-size:9.5px;color:#62748b;line-height:1.45;margin:0;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}.guardrail{margin-top:12px;padding:11px;border-radius:13px;background:#eef9f8;color:#245c5c}.guardrail b{font-size:11px}.guardrail p{font-size:9.5px;line-height:1.45;margin:5px 0 0}.section-head{margin:8px 0 20px}.section-head h2{font-size:25px;margin:10px 0 5px}.section-head p{color:var(--muted);font-size:12px}.source-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.source-card{padding:17px}.source-card>span{font-size:9px;color:#128c87;font-weight:800}.source-card h3{font-size:14px;margin:8px 0}.source-card b{font-size:9.5px;color:#4a617c}.source-card p{font-size:10px;color:#62748b;line-height:1.55;max-height:128px;overflow:auto}.analytics-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.metric{padding:20px}.metric span,.metric small{display:block;color:var(--muted);font-size:10px}.metric strong{display:block;font-size:31px;margin:8px 0;color:#146bd0}.learning-path,.evidence-log{padding:20px;margin-top:16px}.learning-path h3,.evidence-log h3{margin-top:0;font-size:15px}.path{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.path>div{display:flex;gap:10px;align-items:center;padding:12px;border-radius:13px;background:#f5f8fc}.path b{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:#dbe8f8;color:#1b66b5}.path .done b{background:#d9f5eb;color:#11845e}.path .current{background:#eef7ff;border:1px solid #b8daf8}.path .current b{background:#176dd7;color:#fff}.path strong,.path small{display:block}.path strong{font-size:11px}.path small{font-size:9px;color:var(--muted);margin-top:3px}.evidence-log p,.evidence-item{font-size:11px;color:#60738a}.evidence-item{padding:9px 0;border-bottom:1px solid var(--line);display:flex;justify-content:space-between}.evidence-item b{color:#0e8790}@media(max-width:1050px){.app-shell{grid-template-columns:85px 1fr}.sidebar{padding:22px 12px}.brand>div:last-child,.course-badge,.nav span,.course-card,.status-card div{display:none}.status-card{left:36px}.brand{justify-content:center}.nav{justify-content:center}.workspace{grid-template-columns:1fr}.source-panel{order:-1}.quick-actions{grid-template-columns:repeat(2,1fr)}.hero-grid{grid-template-columns:1fr}.score-glass{display:none}.source-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:700px){main{padding:0 14px 30px}.topbar{height:80px}.user-pill{display:none}.quick-actions,.source-grid,.analytics-grid,.path{grid-template-columns:1fr}.app-shell{grid-template-columns:1fr}.sidebar{position:static;height:auto;display:flex;align-items:center;gap:10px}.sidebar nav{display:flex}.status-card{display:none}.brand>div:last-child{display:block}.hero-copy h2{font-size:24px}.workspace{display:block}.source-panel{margin-bottom:12px}.bubble{max-width:90%}}
