/* AI Mentorship page-only styling; shared navigation and header are in styles.css. */
.ai-document .main{padding-top:94px;padding-bottom:26px}
.ai-page{max-width:1146px;min-height:calc(100vh - 120px);margin:auto;padding:18px;border-radius:15px;background:#fff;box-shadow:0 12px 34px rgba(20,90,125,.045)}
.ai-page>h1{margin:0;color:#0f348b;font-size:36px;line-height:1.15;font-weight:800;letter-spacing:-.04em}
.ai-layout{display:grid;grid-template-columns:minmax(280px,369px) minmax(0,1fr);gap:0;margin-top:17px}
.ai-status-card{min-width:0;min-height:815px;padding:20px 16px 16px;border:2px solid #e6f6fd;border-radius:15px}
.robot-art{display:block;width:100%;height:279px;object-fit:contain}
.ai-title-row{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:28px 2px 0}
.ai-title-row h2{margin:0;color:#0f348b;font-size:clamp(18px,1.7vw,24px);font-weight:800;letter-spacing:-.035em}
.ai-title-row>span{display:flex;align-items:center;gap:8px;padding:9px 12px;border-radius:31px;background:#e4fbf3;color:#00ad6e;font-size:12px;font-weight:600;white-space:nowrap}
.ai-title-row i{width:9px;height:9px;border-radius:50%;background:#00ad6e}
.ai-status-card>p{max-width:245px;margin:18px 2px 28px;color:#2c597d;font-size:13px;line-height:22px}
.usage-label,.remaining{display:flex;align-items:center;gap:9px;color:#2c597d;font-size:12px;font-weight:600}
.usage-label img{width:32px;height:32px;object-fit:contain}
.ai-status-card>strong{display:block;margin:15px 7px 23px;color:#00175f;font-size:20px;font-weight:700}
.usage-track{height:16px;overflow:hidden;border-radius:10px;background:rgba(206,241,249,.6)}.usage-track i{display:block;width:33.333%;height:100%;border-radius:inherit;background:#02bfad}
.remaining{margin-top:32px}.remaining img{width:17px;height:17px}
.usage-link{display:flex;align-items:center;gap:9px;margin-top:21px;padding:0;border:0;background:none;color:#00a5a4;font-size:13px;font-weight:600}.usage-link img:first-child{width:21px}.usage-link img:last-child{width:16px}
.upgrade-banner{display:flex;align-items:center;width:100%;min-height:96px;gap:12px;margin-top:29px;padding:13px;border:0;border-radius:15px;background:linear-gradient(90deg,#01808d,#05a5af);color:#fff;text-align:left}
.upgrade-banner>img:first-child{width:52px;height:52px;object-fit:contain}.upgrade-banner>img:last-child{width:21px;margin-left:auto}.upgrade-banner span{display:grid;gap:8px}.upgrade-banner b{font-size:14px}.upgrade-banner small{font-size:11px;line-height:1.4}
.ai-workspace{min-width:0;padding-left:21px}
.goals-banner{position:relative;height:168px;overflow:hidden;border-radius:10px;background:#f1fafc}
.goals-banner span{position:absolute;z-index:1;top:24px;right:clamp(30px,7vw,76px);transform:rotate(-7deg);color:#01a7b6;font-family:Kalam,cursive;font-size:22px;line-height:28px;text-align:center}
.goals-banner>img{position:absolute;right:-10px;bottom:-62px;width:140px;max-height:240px;object-fit:contain}
.topic-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:21px}
.topic-card{display:grid;grid-template-columns:clamp(42px,5vw,68px) minmax(0,1fr) 9px;align-items:center;min-width:0;min-height:136px;gap:clamp(10px,1.5vw,22px);padding:15px 12px;border:1px solid #d7eaf2;border-radius:10px;background:#fff;text-align:left;transition:border-color .18s,transform .18s,box-shadow .18s}
.topic-card:hover,.topic-card:focus-visible{border-color:#00a5a4;transform:translateY(-2px);box-shadow:0 8px 18px rgba(20,90,125,.08)}
.topic-card>img:first-child{width:100%;max-width:68px;max-height:68px;object-fit:contain}.topic-card>img:last-child{width:8px;max-height:16px;object-fit:contain}
.topic-card>span{display:grid;gap:12px;min-width:0}.topic-card b{color:#0f348b;font-size:13px;line-height:1.3;font-weight:800}.topic-card small{color:#5c6e98;font-size:10px;line-height:1.7}
.chat-panel{position:relative;min-height:300px;margin-top:25px;padding:21px 13px 14px;border:1px solid #d8eaf2;border-radius:10px}
.chat-avatar{position:absolute;top:22px;left:13px;display:grid;place-items:center;width:58px;height:58px;overflow:hidden;border-radius:50%;background:#ddf4fd}.chat-avatar img{width:100%;height:100%;object-fit:cover}
.chat-content{min-width:0;margin-left:74px}.chat-content h3{margin:7px 0 17px;color:#0f348b;font-size:14px;font-weight:800}
.bot-message,.user-message{max-width:100%;padding:16px;border-radius:0 22px 22px 22px;background:#edf5fe;color:#0f348b;font-size:12px;line-height:1.7;overflow-wrap:anywhere}
.user-message{width:fit-content;margin:10px 0 0 auto;border-radius:22px 0 22px 22px;background:#d7f8fa}
.chat-content time{display:block;margin-top:10px;color:#687bb4;font-size:10px}
.chat-composer{display:grid;grid-template-columns:minmax(0,1fr) 53px;gap:10px;margin-top:25px}
.chat-composer>div{display:flex;align-items:center;min-width:0;height:55px;gap:11px;padding:11px;border:2px solid #edf5fe;border-radius:15px}
.chat-composer>div>img{flex:0 0 21px;width:21px;height:21px;object-fit:contain}.chat-composer input{width:100%;height:auto;min-width:0;padding:0;border:0;outline:none;background:transparent;color:#687bb4;font-size:12px}.chat-composer input:focus{box-shadow:none}
.chat-composer button{display:grid;place-items:center;width:53px;height:53px;border:4px solid #deffff;border-radius:50%;background:#00a5a4;box-shadow:0 0 5px #a7cfff}.chat-composer button img{width:26px;height:26px;object-fit:contain}
.chat-note{display:flex;align-items:flex-start;gap:9px;margin:12px 0 0;color:#687bb4;font-size:9px;font-weight:600;line-height:1.6}.chat-note img{flex:0 0 16px;width:16px;height:16px;object-fit:contain}
.ai-feedback{margin:12px 0 0;color:#0b8e82;font-size:12px;line-height:1.5}
@media(max-width:1150px){.ai-layout{grid-template-columns:minmax(250px,320px) minmax(0,1fr)}.ai-status-card{min-height:auto}.robot-art{height:220px}.ai-workspace{padding-left:16px}.topic-grid{gap:12px}.topic-card{grid-template-columns:45px minmax(0,1fr) 8px;gap:10px;padding:12px;min-height:125px}.topic-card b{font-size:12px}.topic-card small{font-size:10px}.ai-title-row{flex-wrap:wrap}.ai-title-row>span{padding:7px 9px}}
@media(max-width:850px){.ai-document .main{padding-top:88px}.ai-page{padding:16px}.ai-layout{grid-template-columns:1fr;gap:18px}.ai-status-card{min-height:0}.robot-art{height:220px}.ai-status-card>p{max-width:none}.upgrade-banner{max-width:430px}.ai-workspace{padding-left:0}.goals-banner{height:145px}.topic-card{min-height:120px}.chat-panel{margin-top:18px}}
@media(max-width:560px){.ai-document .main,.ai-document .main.expanded{padding:82px 12px 20px}.ai-page{padding:13px;border-radius:12px}.ai-page>h1{font-size:28px}.ai-status-card{padding:14px}.robot-art{height:190px}.ai-title-row{margin-top:17px}.ai-title-row h2{font-size:21px}.ai-status-card>strong{font-size:18px}.goals-banner{height:120px}.goals-banner span{top:18px;right:65px;font-size:19px;line-height:23px}.goals-banner>img{width:112px;right:-12px;bottom:-53px}.topic-grid{grid-template-columns:1fr;gap:10px;margin-top:13px}.topic-card{grid-template-columns:58px minmax(0,1fr) 9px;min-height:105px;padding:12px 14px;gap:15px}.topic-card b{font-size:13px}.topic-card small{font-size:11px}.chat-panel{padding:15px 10px 12px}.chat-avatar{display:none}.chat-content{margin-left:0}.chat-content h3{margin-top:0}.chat-composer{grid-template-columns:minmax(0,1fr) 48px;gap:7px;margin-top:20px}.chat-composer>div{height:50px;padding:9px;gap:8px}.chat-composer>div>img{width:18px;flex-basis:18px}.chat-composer button{width:48px;height:48px}.chat-composer button img{width:22px}.chat-note{font-size:9px}}
@media(prefers-reduced-motion:reduce){.topic-card{transition:none}}
