/* Rounded learning cards and touch-friendly classroom controls. */
.student-mode .student-page-head{padding:16px 0 26px}.student-mode .student-page-head h1{letter-spacing:-1px}.student-mode .student-page-head p{max-width:640px;line-height:1.8}
.student-mode .resource-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;align-items:stretch}
.student-mode .resource-grid .resource-card{display:flex;flex-direction:column;justify-content:flex-start;min-height:250px;padding:28px;border:1px solid #d5ddea;border-radius:28px;background:#e4eaf2;box-shadow:0 7px 22px #24344b10;transition:transform .2s,box-shadow .2s,border-color .2s;overflow:hidden;text-decoration:none}
.student-mode .resource-grid .resource-card:before,.student-mode .resource-grid .resource-card:after{content:none}
.student-mode .resource-grid .resource-card:hover{transform:translateY(-4px);box-shadow:0 14px 28px #24344b1b;border-color:#95a6c0}
.student-mode .resource-grid .resource-cases{background:#f7ecdf;border-color:#ebdac5}.student-mode .resource-grid .resource-quiz{background:#e5eaf2;border-color:#ced7e6}.student-mode .resource-grid .resource-documents{background:#e5eaf1}.student-mode .resource-grid .resource-calculator{background:#eeebf7;border-color:#ded8ee}
.resource-card-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:25px}.resource-icon{display:grid;place-items:center;width:60px;height:60px;border-radius:20px;background:#fffaf1d9;color:#42536d;box-shadow:0 4px 12px #313f5309}.resource-icon svg{width:32px;height:32px}.resource-cases .resource-icon{color:#a16a41}.resource-quiz .resource-icon{color:#365687}.resource-calculator .resource-icon{color:#77618d}
.student-mode .resource-grid .resource-label{font-size:11px;margin:0;color:#506686;background:#ffffff90;border-radius:100px;padding:6px 12px;letter-spacing:.08em}
.student-mode .resource-grid .resource-card>b{font-size:22px;font-weight:700;letter-spacing:-.5px}.student-mode .resource-grid .resource-description{font-size:14px;margin:10px 0 24px;color:#526889;line-height:1.7}.resource-card-foot{display:flex;align-items:center;justify-content:space-between;margin-top:auto;color:#3f506a}.resource-card-foot small{font-size:12px}.resource-card-foot i{font-style:normal;width:32px;height:32px;display:grid;place-items:center;background:#ffffffb3;border-radius:50%;font-size:21px}
.atlas-scenarios>button{border-radius:26px}.atlas-hero{border-radius:30px}.student-mode .student-class-task{border:1px solid #d5dde9;border-radius:24px;padding:25px;background:#fffef9}.student-mode .student-class-task button{border-radius:14px}.student-mode .report-summary{border-radius:26px}.student-mode .panel{border-radius:24px;background:#fffefa}.secondary,.primary,.atlas-copy button{border-radius:14px}
.class-item{padding:10px 0;border-bottom:1px solid #dbe2ed}.class-item .class-row{width:100%;border:0;border-radius:14px;padding:13px}.class-item .class-row.active{border:0;border-radius:14px;background:#e5eaf1}.class-invite{display:flex;gap:8px;align-items:center;justify-content:space-between;padding:8px 9px 3px;flex-wrap:wrap}.class-invite code{font-size:16px;letter-spacing:.12em;font-weight:700;color:#3e4e67}.class-invite button{display:flex;align-items:center;gap:5px;border:1px solid #d1dae8;background:#fffef9;border-radius:10px;color:#41536d;padding:9px 10px;font-size:11px;min-height:38px}.class-invite svg{width:16px;height:16px}
.auth-kicker{font-size:12px;color:#516788}.auth-tabs{display:grid;grid-template-columns:1fr 1fr;gap:6px;background:#e8ecf3;padding:5px;border-radius:15px;margin:7px 0 12px}.auth-tabs button{background:none;border:0;border-radius:11px;padding:12px;color:#576e90}.auth-tabs .on{background:#fffef9;color:#283c5b;box-shadow:0 3px 10px #24344b10}.auth-note{font-size:12px;line-height:1.8;color:#5b7398}.account-value{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid #d2dbe8;border-radius:18px;padding:20px;background:#ecf0f5}.account-value code{font-size:18px;overflow-wrap:anywhere;min-width:0}.account-value button{flex-shrink:0}.account-sheet>small{color:#576e91;line-height:1.8}
#whaleFloat{touch-action:none;user-select:none;-webkit-user-select:none;cursor:grab}#whaleFloat.dragging{cursor:grabbing}#whaleFloat.dragging svg{animation:none!important}#whaleFloat:focus-visible{outline:3px solid #57729a;border-radius:30px}
.footer-actions{display:flex;gap:18px;align-items:center;flex-wrap:wrap}#accountBtn{display:none}.student-mode #accountBtn{display:inline-block}.install-dialog{border:1px solid #d3dce9;border-radius:28px;padding:30px;color:#243248;background:#fffef9;width:min(440px,calc(100% - 32px));box-sizing:border-box;box-shadow:0 25px 80px #24344b33}.install-dialog::backdrop{background:#16253b4d;backdrop-filter:blur(4px)}.install-dialog h2{font-size:25px;margin:15px 0}.install-dialog p,.install-dialog li{line-height:1.9;font-size:14px;color:#516788}.install-dialog ol{padding-left:24px}.install-dialog li{padding-left:5px;margin-bottom:12px}.install-dialog>img{width:64px;height:64px;border-radius:18px}.install-dialog .primary{width:100%;margin-top:16px}.install-close{float:right;border:0;background:#e8ecf3;color:#465874;border-radius:50%;width:36px;height:36px;font-size:22px}
@media(max-width:1100px){.student-mode .resource-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}}
@media(max-width:600px){.student-mode .resource-grid{grid-template-columns:1fr;gap:16px}.student-mode .resource-grid .resource-card{min-height:222px;border-radius:24px;padding:24px}.resource-card-top{margin-bottom:18px}.resource-icon{width:54px;height:54px;border-radius:18px}.student-mode .resource-grid .resource-card>b{font-size:21px}.student-mode .resource-grid .resource-description{margin-bottom:18px}.student-mode .student-page-head{padding:8px 0 20px}.student-mode .site-footer{flex-direction:column;align-items:flex-start;gap:15px}.footer-actions{gap:20px}.form input,.form textarea,.form select,#whaleInput{font-size:16px}.account-value{padding:16px;flex-wrap:wrap}.cm-modal-card{border-radius:24px}.cm-header{padding-top:env(safe-area-inset-top)}body{padding-left:env(safe-area-inset-left);padding-right:env(safe-area-inset-right)}}
@media(display-mode:standalone){body{overscroll-behavior-y:none}.cm-header{height:calc(70px + env(safe-area-inset-top));padding-top:env(safe-area-inset-top)}#installAppBtn{display:none}}
@media(prefers-reduced-motion:reduce){.resource-card{transition:none!important}}
@media(display-mode:standalone) and (max-width:1023px){body.student-mode #view{padding-top:calc(22px + env(safe-area-inset-top))}}
