@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@400;500;600;700;800&display=swap');
:root{font-family:'Noto Sans TC',system-ui,sans-serif;color:#162747;background:#eef3fb;font-size:16px}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}a{color:inherit;text-decoration:none}img{display:block;max-width:100%}svg{display:block}#app{min-height:100vh}.app-shell{min-height:100vh}.topbar{height:74px;background:#0f2860;color:#fff;display:flex;align-items:center;justify-content:center;position:sticky;top:0;z-index:20;box-shadow:0 4px 20px #102b5b1b}.topbar-inner{width:min(100%,1030px);padding:0 24px;display:flex;align-items:center;justify-content:space-between}.brand{display:flex;align-items:center;gap:11px;font-weight:800;font-size:19px;letter-spacing:.02em}.brand-mark{width:34px;height:34px;border:2px solid #9fe0ff;border-radius:9px;display:grid;place-items:center;color:#9fe0ff;font-weight:800;font-size:22px;line-height:1}.top-actions{display:flex;align-items:center;gap:12px}.user-chip{border:1px solid #ffffff50;background:#ffffff16;color:#fff;padding:7px 12px;border-radius:999px;font-size:13px}.top-link{border:0;background:transparent;color:#e6f0ff;font-size:14px;padding:8px}.layout{max-width:1030px;margin:0 auto;display:grid;grid-template-columns:210px minmax(0,620px);gap:32px;padding:34px 24px 90px;justify-content:center}.side-nav{align-self:start;position:sticky;top:108px}.side-caption{font-size:12px;letter-spacing:.14em;color:#7687a4;font-weight:800;margin:7px 14px 15px}.nav-btn{width:100%;display:flex;align-items:center;gap:12px;border:0;border-radius:13px;background:transparent;color:#395071;padding:13px 15px;text-align:left;font-weight:700;margin-bottom:5px}.nav-btn.active{background:#dce9ff;color:#0c4ec8}.nav-icon{font-size:20px;line-height:1}.side-note{margin:28px 10px 0;border-top:1px solid #d9e2f0;padding-top:17px;color:#7789a3;font-size:13px;line-height:1.7}.main{min-width:0}.page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:19px}.page-title{font-size:29px;letter-spacing:-.04em;line-height:1.25;margin:0;font-weight:800;color:#152b55}.page-sub{margin:7px 0 0;color:#6d7f9b;font-size:14px}.primary-btn{border:0;background:#2868e9;color:white;border-radius:12px;padding:12px 17px;font-weight:800;box-shadow:0 5px 12px #2e71e92b;white-space:nowrap}.primary-btn:hover{background:#1b5bd8}.primary-btn:focus-visible,.secondary-btn:focus-visible,.filter:focus-visible,.nav-btn:focus-visible,.text-action:focus-visible{outline:3px solid #7bb9ff;outline-offset:2px}.secondary-btn{border:1px solid #c8d7ef;background:#fff;color:#2452a5;border-radius:11px;padding:11px 15px;font-weight:700}.filter-row{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;margin:0 0 16px;padding:2px 0 4px}.filter-row::-webkit-scrollbar{display:none}.filter{border:1px solid #d5e0ef;background:#fff;color:#5a708f;padding:9px 15px;border-radius:999px;white-space:nowrap;font-weight:700;font-size:14px}.filter.active{background:#173b82;border-color:#173b82;color:#fff}.question-list{display:grid;gap:14px}.card,.panel{background:#fff;border:1px solid #dde6f2;border-radius:19px;box-shadow:0 8px 28px #1839650b}.question-card{padding:19px;text-align:left;width:100%;color:inherit}.question-card:hover{border-color:#91b6f6;box-shadow:0 10px 30px #18396518}.card-top{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:12px}.chapter{color:#1c59c1;background:#eaf2ff;padding:6px 10px;font-size:13px;border-radius:7px;font-weight:800}.status{font-size:13px;font-weight:700;color:#c3741c}.status.solved{color:#238067}.card-question{font-size:17px;font-weight:700;line-height:1.58;margin:14px 0}.meta,.card-bottom{display:flex;align-items:center;gap:7px;color:#7485a0;font-size:13px}.card-bottom{justify-content:space-between;margin-top:15px}.avatar{width:28px;height:28px;flex:0 0 auto;border-radius:50%;display:grid;place-items:center;background:#e4ecff;color:#2457b3;font-size:13px;font-weight:800}.avatar.teacher{background:#def6ec;color:#168365}.dot{width:3px;height:3px;background:#9babbe;border-radius:50%}.photo-frame{height:164px;background:#dce8f5;display:flex;justify-content:center;align-items:center;overflow:hidden;border-radius:12px}.photo-frame.large{height:260px}.photo-frame.answer-photo{height:190px;margin:13px 0}.photo-frame>img{width:100%;height:100%;object-fit:cover}.paper{width:78%;height:150%;transform:rotate(-3deg);background:repeating-linear-gradient(0deg,#fff 0,#fff 24px,#eaf0f8 25px,#fff 26px);border:1px solid #d9e1ea;box-shadow:2px 5px 19px #35507130;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding:20px 24px;color:#31415c;font-family:Georgia,'Noto Sans TC',serif;font-size:19px;line-height:1.75}.photo-frame.large .paper{height:120%;font-size:24px}.paper small{font-family:'Noto Sans TC',sans-serif;font-size:12px;color:#657892;margin-bottom:9px}.paper .math-line{white-space:nowrap}.paper.solution{color:#2459a2;font-size:16px}.paper.solution .math-line{border-bottom:2px solid #dc7e6f}.back-btn{border:0;background:transparent;color:#446184;font-weight:700;padding:0 0 18px;display:inline-flex;align-items:center;gap:7px}.detail-question{padding:20px}.detail-question h1{font-size:21px;line-height:1.55;margin:16px 0;font-weight:800}.detail-photo{margin:15px 0}.detail-meta{display:flex;gap:8px;align-items:center;color:#6b7e99;font-size:13px;margin-top:14px}.section-head{display:flex;align-items:center;justify-content:space-between;margin:25px 1px 12px}.section-head h2{font-size:19px;margin:0}.section-head span{color:#7a8ca5;font-size:13px}.answer-card{padding:18px;margin-bottom:11px}.answer-head{display:flex;align-items:center;gap:9px}.answer-name{font-size:14px;font-weight:800}.answer-time{font-size:12px;color:#8593a8}.teacher-badge,.best-badge{font-size:12px;color:#177858;background:#e6f8ef;padding:4px 7px;border-radius:6px;font-weight:800}.best-badge{color:#98630c;background:#fff2d5}.answer-text{font-size:15px;line-height:1.75;margin:11px 0 8px;white-space:pre-wrap}.answer-actions{display:flex;align-items:center;gap:18px;margin-top:11px}.text-action{border:0;background:none;padding:3px 0;color:#3164bb;font-size:13px;font-weight:800}.replies{margin:14px 0 0 18px;border-left:2px solid #d7e5fc;padding-left:15px;display:grid;gap:13px}.reply{font-size:14px;line-height:1.6}.reply-name{font-weight:800;margin-right:7px}.reply-time{font-size:12px;color:#91a0b1}.reply-text{margin:3px 0}.reply-form{margin-top:13px}.reply-form textarea{min-height:72px}.compose{padding:19px;margin-top:16px}.compose h2{font-size:18px;margin:0 0 12px}.field{display:flex;flex-direction:column;gap:7px;margin-bottom:15px}.field label,.field-label{color:#294060;font-size:14px;font-weight:800}.field input,.field select,.field textarea,.reply-form textarea{border:1px solid #cbd8e9;border-radius:11px;background:#fff;color:#18304e;padding:12px 13px;width:100%;outline:none}.field input:focus,.field select:focus,.field textarea:focus,.reply-form textarea:focus{border-color:#387be5;box-shadow:0 0 0 3px #3a7be526}.field textarea{min-height:125px;resize:vertical;line-height:1.6}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.form-grid .field{min-width:0}.upload-box{display:block;border:2px dashed #adc5e9;border-radius:15px;background:#f6f9ff;min-height:168px;overflow:hidden;text-align:center;cursor:pointer;color:#335ea3}.upload-box:hover{border-color:#4d83db;background:#eff6ff}.upload-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:168px;gap:6px;font-weight:800}.upload-icon{font-size:30px;line-height:1}.upload-hint{font-size:13px;color:#8393aa;font-weight:500}.upload-preview{max-height:240px;width:100%;object-fit:contain;background:#dce8f5}.upload-box.small{min-height:110px}.upload-box.small .upload-empty{min-height:110px}.hidden-input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.form-footer{display:flex;align-items:center;justify-content:space-between;gap:12px}.form-hint{font-size:13px;color:#8291a7;line-height:1.5}.notice{background:#e7f4ec;border:1px solid #bae3cb;color:#176e43;border-radius:10px;padding:10px 13px;font-size:14px;margin-bottom:14px}.error{color:#ba3c3c;font-size:13px;margin:2px 0 12px}.empty{padding:34px 20px;text-align:center;color:#6e819e}.empty strong{display:block;color:#304869;margin-bottom:5px}.mobile-nav{display:none}.login-wrap{min-height:100vh;display:grid;grid-template-columns:1fr 1fr;background:#fff}.login-visual{background:#0f2860;color:#fff;display:flex;flex-direction:column;justify-content:space-between;padding:56px max(45px,calc((100vw - 1150px)/2));overflow:hidden;position:relative}.login-visual::after{content:'x² + y²';position:absolute;font-family:Georgia,serif;font-size:clamp(65px,9vw,150px);font-style:italic;right:-45px;top:35%;color:#ffffff12;transform:rotate(-15deg);white-space:nowrap}.login-brand{display:flex;align-items:center;gap:12px;font-weight:800;font-size:22px;z-index:1}.login-visual-copy{z-index:1}.login-visual-copy h1{font-size:clamp(32px,3.3vw,51px);line-height:1.3;margin:0 0 14px;letter-spacing:-.04em}.login-visual-copy p{color:#c2d8ff;font-size:18px;line-height:1.8}.login-line{height:3px;width:60px;background:#71cbff;margin-bottom:20px}.login-foot{color:#a9c1e8;font-size:13px;z-index:1}.login-form-side{display:grid;place-items:center;padding:32px}.login-box{width:min(100%,390px)}.login-box h2{font-size:29px;margin:0 0 6px;color:#142b55}.login-box .sub{margin:0 0 29px;color:#6e819d;line-height:1.6}.login-box .primary-btn{width:100%;margin-top:6px;padding:14px}.demo-note{border-radius:10px;background:#eef5ff;padding:12px 14px;color:#517198;font-size:13px;line-height:1.6;margin-top:22px}.login-mobile-brand{display:none}@media(max-width:760px){.topbar{height:61px}.topbar-inner{padding:0 17px}.brand{font-size:17px}.brand-mark{height:29px;width:29px;font-size:19px}.top-actions .top-link{display:none}.user-chip{font-size:12px;padding:6px 9px}.layout{display:block;padding:23px 15px 105px;max-width:620px}.side-nav{display:none}.page-title{font-size:25px}.page-sub{font-size:13px}.page-head{align-items:center}.primary-btn{font-size:14px}.question-card{padding:16px}.photo-frame{height:150px}.photo-frame.large{height:230px}.mobile-nav{display:flex;position:fixed;bottom:0;left:0;right:0;z-index:30;height:calc(67px + env(safe-area-inset-bottom));padding:5px 13px env(safe-area-inset-bottom);background:#fff;border-top:1px solid #dce5f2;box-shadow:0 -4px 20px #18396512;justify-content:center;gap:10px}.mobile-nav button{border:0;background:transparent;color:#7b8da7;min-width:92px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;font-size:11px;font-weight:800}.mobile-nav button.active{color:#2263d9}.mobile-nav .nav-icon{font-size:21px}.login-wrap{display:block;background:#f2f6ff}.login-visual{display:none}.login-form-side{min-height:100vh;align-items:start;padding:0 24px 40px}.login-box{margin:0 auto;padding-top:18vh}.login-mobile-brand{display:flex;align-items:center;gap:9px;color:#174184;font-weight:800;margin-bottom:44px;font-size:18px}.login-box h2{font-size:28px}.login-box .sub{margin-bottom:25px}}@media(max-width:390px){.page-head .primary-btn{padding:10px 12px}.form-grid{grid-template-columns:1fr}.login-box{padding-top:12vh}}@media(prefers-reduced-motion:no-preference){.question-card,.primary-btn,.filter{transition:background .15s,border-color .15s,box-shadow .15s,transform .15s}.question-card:hover{transform:translateY(-2px)}}
.field input.hidden-input{width:1px;height:1px;padding:0;border:0}
.photo-frame.uploaded-photo{height:auto;display:block;background:#eef3fb}.photo-frame.uploaded-photo>img{width:100%;height:auto;max-height:none;object-fit:contain}.question-card .photo-frame.uploaded-photo{height:164px;display:flex}.question-card .photo-frame.uploaded-photo>img{width:100%;height:100%;object-fit:contain}@media(max-width:760px){.question-card .photo-frame.uploaded-photo{height:150px}}
.role-switch{display:grid;grid-template-columns:1fr 1fr;gap:4px;background:#eaf1fc;border-radius:12px;padding:4px;margin:0 0 21px}.role-switch button{border:0;border-radius:9px;background:transparent;color:#607795;padding:10px 8px;font-size:14px;font-weight:800}.role-switch button.active{background:#fff;color:#1755bd;box-shadow:0 2px 8px #173b821a}.role-switch button:focus-visible{outline:3px solid #7bb9ff;outline-offset:2px}
.teacher-panel{padding:22px;margin-bottom:16px}.teacher-panel h2{font-size:21px;color:#18345d;margin:15px 0 10px}.teacher-panel p{color:#637792;line-height:1.7;margin:12px 0 18px}.exam-counts{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:20px 0}.exam-counts>div{background:#f4f7fc;border-radius:12px;padding:15px 10px;text-align:center}.exam-counts strong{display:block;font-size:24px;color:#163d80}.exam-counts span{display:block;color:#71829a;font-size:12px}.danger-btn{background:#bb3f40;box-shadow:none}.danger-btn:hover{background:#a72e30}.exam-confirm{border-color:#efb7b7;background:#fffafa}.exam-confirm h2{color:#a33334}.exam-confirm .field{max-width:390px}.exam-actions{display:flex;justify-content:flex-end;gap:9px;flex-wrap:wrap}@media(max-width:760px){.mobile-nav{gap:4px}.mobile-nav button{min-width:0;flex:1}.teacher-panel{padding:17px}.exam-counts{gap:6px}.exam-counts>div{padding:13px 5px}.exam-counts strong{font-size:21px}}

.question-actions{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin-top:12px}.question-actions .delete-action{color:#a33334}.question-delete-confirm{border-color:#efb7b7;background:#fffafa;margin-top:14px}.question-delete-confirm h2{color:#a33334;margin-top:0}.question-delete-confirm p{margin-bottom:16px}

.upload-status{font-size:14px;line-height:1.6;color:#536d90;margin-top:-8px}.upload-status a{color:#1c59c1;font-weight:800;text-decoration:underline;text-underline-offset:2px}.upload-status.upload-error{color:#b43e3e}
.photo-camera-choice{align-self:flex-start;min-height:44px;margin-top:2px}
.password-logout{display:block;margin:18px auto 0;padding:8px 12px;border:0;background:transparent;color:#526b91;font-size:14px;font-weight:700}.password-logout:focus-visible{outline:3px solid #7bb9ff;outline-offset:2px}.login-box .field small{color:#71849e;line-height:1.5;font-size:13px}

/* 溫老師小教室：以紙張、貼紙和色塊做成的學習入口。 */
.portal-page{min-height:100vh;overflow:hidden;position:relative;background:#f8f3e9;color:#263345;background-image:radial-gradient(#dfd8c9 1px,transparent 1px);background-size:24px 24px;padding:26px 20px 46px}
.portal-inner{position:relative;z-index:1;width:min(100%,1120px);margin:auto}
.portal-top{display:flex;align-items:center;justify-content:space-between}
.portal-sticker{display:inline-block;background:#263345;color:#fff6df;padding:9px 15px;font-size:11px;letter-spacing:.2em;font-weight:800;transform:rotate(-2deg);box-shadow:3px 4px 0 #e2a98a}
.portal-spark{font-size:39px;color:#e79072;transform:rotate(18deg)}
.portal-heading{text-align:center;margin:48px auto 46px;max-width:780px}
.portal-eyebrow{display:inline-block;background:#ffdf72;padding:8px 18px;border-radius:50px;font-size:14px;font-weight:800;letter-spacing:.08em;transform:rotate(-3deg);box-shadow:4px 4px 0 #263345;margin:0 0 26px}
.portal-heading h1{font-size:clamp(45px,7vw,82px);letter-spacing:.06em;line-height:1.17;margin:0;font-weight:800;color:#263345;text-shadow:3px 4px 0 #fff}
.portal-title-highlight{position:relative;white-space:nowrap;z-index:0}
.portal-title-highlight::before{content:'';position:absolute;left:-5px;right:-4px;bottom:3px;height:24px;background:#f6c1ad;transform:rotate(-2deg);z-index:-1}
.portal-heading>p:last-child{margin:25px auto 0;color:#586372;font-size:17px;line-height:1.75}
.portal-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:25px;align-items:stretch;padding:6px 5px 15px}
.portal-card{min-height:348px;position:relative;display:flex;flex-direction:column;align-items:flex-start;overflow:visible;background:#fffdf8;border:2px solid #263345;padding:25px 26px 24px;box-shadow:8px 9px 0 #263345;transition:transform .18s,box-shadow .18s}
.portal-card::before{content:'';position:absolute;top:-15px;left:calc(50% - 40px);width:80px;height:28px;background:#f4ce98a8;border-left:1px solid #ffffffa6;border-right:1px solid #ffffffa6;transform:rotate(-3deg)}
.portal-card:nth-child(1){transform:rotate(-2deg)}.portal-card:nth-child(2){transform:rotate(1.5deg)}.portal-card:nth-child(3){transform:rotate(-1deg)}
.portal-card:hover{transform:rotate(0) translateY(-6px);box-shadow:10px 14px 0 #263345}
.portal-card:focus-visible,.login-back:focus-visible,.portal-top a:focus-visible{outline:3px solid #2565bf;outline-offset:5px}
.portal-card-number{font-size:12px;letter-spacing:.13em;font-weight:800;color:#526071}
.portal-card-icon{width:78px;height:78px;margin:20px 0 15px;display:grid;place-items:center;font-size:39px;line-height:1;font-weight:800;border:2px solid #263345;border-radius:32% 68% 44% 56% / 56% 40% 60% 44%;box-shadow:4px 5px 0 #263345}
.math-practice .portal-card-icon{background:#f7bd8a;color:#70482a}.math-discussion .portal-card-icon{background:#9ed8c3;color:#1d5d4e}.english-practice .portal-card-icon{background:#accaf1;color:#2b4c7c;font-family:Georgia,serif;font-style:italic;font-size:35px}
.portal-card-tag{background:#f5e8ca;padding:6px 11px;font-size:12px;font-weight:800;letter-spacing:.06em;transform:rotate(-2deg)}
.portal-card h2{font-size:clamp(20px,2vw,25px);line-height:1.35;letter-spacing:.01em;margin:13px 0 6px;color:#263345}
.portal-card p{font-size:14px;line-height:1.65;color:#5d6876;margin:0 0 24px}
.portal-card-action{margin-top:auto;width:100%;border-top:2px dashed #d3cfc6;padding-top:15px;display:flex;align-items:center;justify-content:space-between;color:#263345;font-size:15px;font-weight:800}
.portal-card-action span{font-size:24px;line-height:1;transition:transform .18s}.portal-card:hover .portal-card-action span{transform:translate(3px,-3px)}
.portal-footer{text-align:center;margin-top:49px;color:#74705f;font-size:13px;font-weight:700;letter-spacing:.06em}.portal-footer span{color:#dc8c71;margin:0 8px}
.portal-deco{position:absolute;pointer-events:none}.portal-deco-one{width:220px;height:220px;border:28px solid #f6c1ad;border-radius:45% 55% 36% 64%;top:40px;left:-125px;transform:rotate(22deg)}.portal-deco-two{width:180px;height:180px;background:#c4e6d4;border-radius:60% 40% 51% 49%;right:-90px;bottom:75px;transform:rotate(-25deg)}

/* 討論平台登入頁延續入口的拼貼風格，保留原本的登入欄位與權限。 */
.collage-login{background:#f8f3e9;background-image:radial-gradient(#e4dbcb 1px,transparent 1px);background-size:24px 24px}
.collage-login .login-visual{background:#a9d6c6;color:#263345;border-right:3px solid #263345;min-height:100vh}
.collage-login .login-visual::after{content:'';width:270px;height:270px;background:#f7cf80;border:3px solid #263345;border-radius:42% 58% 61% 39%;top:14%;right:-95px;transform:rotate(-12deg);opacity:.9}
.collage-login .login-brand{color:#263345;align-self:flex-start;background:#fff9e9;border:2px solid #263345;box-shadow:5px 6px 0 #263345;padding:10px 15px;transform:rotate(-2deg);font-size:18px}
.collage-login .login-visual-copy{position:relative;z-index:1}
.collage-login .login-paper-tag,.login-form-sticker{display:inline-block;background:#ffdc73;color:#263345;border:2px solid #263345;padding:7px 14px;font-size:13px;font-weight:800;letter-spacing:.08em;transform:rotate(-3deg);box-shadow:3px 4px 0 #263345}
.collage-login .login-visual-copy h1{font-size:clamp(38px,4vw,64px);line-height:1.34;margin:24px 0 17px;color:#263345;text-shadow:3px 3px 0 #fff9e9}
.collage-login .login-visual-copy h1 span{background:linear-gradient(transparent 68%,#f7cf80 68%)}
.collage-login .login-visual-copy p{color:#354f55;font-size:17px;font-weight:700}
.collage-login .login-paper-doodle{display:inline-block;margin-top:26px;background:#fff9e9;border:2px solid #263345;padding:14px 20px;color:#44649c;transform:rotate(7deg);font-family:Georgia,serif;font-size:22px;font-style:italic;box-shadow:5px 6px 0 #263345}
.collage-login .login-foot{color:#365b5b;font-weight:800}
.collage-login .login-form-side{padding:34px}
.collage-login .login-box{position:relative;width:min(100%,425px);background:#fffdf8;border:2px solid #263345;padding:34px 35px 31px;box-shadow:9px 10px 0 #263345;transform:rotate(.5deg)}
.collage-login .login-box::before{content:'';position:absolute;width:90px;height:27px;top:-15px;left:calc(50% - 45px);background:#efbd9aa8;transform:rotate(-4deg)}
.collage-login .login-back{display:inline-block;color:#576575;font-size:13px;font-weight:800;margin-bottom:19px}
.collage-login .login-back:hover{text-decoration:underline;text-underline-offset:3px}
.collage-login .login-form-sticker{font-size:11px;padding:5px 10px;margin-bottom:16px;box-shadow:2px 3px 0 #263345}
.collage-login .login-box h2{font-size:29px;letter-spacing:.02em;color:#263345}
.collage-login .login-box .sub{color:#68717a;margin-bottom:22px;font-size:14px}
.collage-login .role-switch{background:#eae6dc;border:1px solid #d4cfc3}.collage-login .role-switch button.active{color:#263345;box-shadow:2px 2px 0 #263345}
.collage-login .field input,.collage-login .field select{background:#fffcf5;border:2px solid #b7b7ac;border-radius:5px}
.collage-login .field input:focus,.collage-login .field select:focus{border-color:#3d7584;box-shadow:0 0 0 3px #b7dfd1}
.collage-login .login-box .primary-btn{background:#263345;border:2px solid #263345;border-radius:5px;box-shadow:4px 5px 0 #e1a56f;color:#fffdf8}
.collage-login .login-box .primary-btn:hover{background:#40526a}
.collage-login .demo-note{background:#f8f1df;color:#685e4a;border-left:4px solid #f1c46d;border-radius:2px}
.portal-top-link{white-space:nowrap;font-weight:800}
.mobile-nav a{border:0;background:transparent;color:#7b8da7;min-width:0;flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;font-size:11px;font-weight:800}
.mobile-nav a:focus-visible,.portal-top-link:focus-visible{outline:3px solid #7bb9ff;outline-offset:2px}

@media(max-width:850px){.portal-cards{gap:17px}.portal-card{padding:22px 18px;min-height:342px}.collage-login .login-visual{padding:40px 30px}}
@media(max-width:760px){.portal-page{padding:21px 18px 38px}.portal-spark{font-size:31px}.portal-heading{margin:53px auto 38px}.portal-heading h1{font-size:clamp(40px,10vw,62px)}.portal-heading>p:last-child{font-size:15px;max-width:360px}.portal-cards{grid-template-columns:1fr;gap:27px;max-width:470px;margin:auto}.portal-card{min-height:0;padding:23px 24px 20px}.portal-card-icon{width:64px;height:64px;font-size:32px;margin:14px 0}.portal-card h2{font-size:22px}.portal-card p{margin-bottom:17px}.portal-footer{margin-top:42px}.collage-login{display:block}.collage-login .login-visual{display:none}.collage-login .login-form-side{padding:50px 20px 50px;min-height:100vh;align-items:start}.collage-login .login-box{margin:0 auto;padding:30px 25px 27px;transform:rotate(0)}.collage-login .login-mobile-brand{display:block;font-size:19px;color:#263345;margin:0 0 24px}.collage-login .login-back{margin-bottom:15px}.portal-top-link{display:none}}
@media(max-width:380px){.portal-heading h1{font-size:38px}.portal-card{padding:20px}.collage-login .login-box{padding:29px 19px 24px}}
@media(prefers-reduced-motion:reduce){.portal-card,.portal-card-action span{transition:none}}
