.profile-entry{min-height:100dvh;padding:24px 18px 64px;background:radial-gradient(ellipse at top left,#ffdfa5,transparent 55%),linear-gradient(145deg,#dcf5f0,#e4f0fb);display:flex;flex-direction:column;align-items:center;color:#183f3d}.profile-course-logo{width:min(210px,55vw);height:150px;object-fit:contain}.profile-panel{width:min(780px,100%);padding:clamp(20px,4vw,40px);border-radius:28px;background:#fffdf5;box-shadow:0 16px 50px #124c5320;box-sizing:border-box}.profile-panel h1{font-size:clamp(26px,4vw,36px);line-height:1.15;margin:12px 0}.profile-panel label,.profile-panel legend{font-weight:800}.profile-panel input[type=text],#learner-nickname{display:block;box-sizing:border-box;width:100%;min-height:52px;border:2px solid #669c98;border-radius:14px;padding:12px;font:inherit;margin:8px 0;background:white;color:#183f3d}.profile-panel fieldset{padding:0;border:0;margin:22px 0}.profile-panel legend{margin-bottom:12px}.avatar-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.avatar-choice{position:relative;display:flex;align-items:center;justify-content:center;flex-direction:column;min-height:145px;border:2px solid #bbd8d2;border-radius:18px;padding:12px 5px;cursor:pointer;background:#eef7ef;text-align:center;font-size:13px;gap:6px}.avatar-choice img{width:70px;height:90px;object-fit:contain}.avatar-choice input{accent-color:#087b75;width:20px;height:20px;margin:0}.avatar-choice:has(input:checked){background:#fce5a4;border-color:#087b75;box-shadow:0 3px 0 #087b75}.avatar-choice:focus-within{outline:3px solid #2958ad;outline-offset:3px}.profile-shape{display:grid;place-items:center;width:70px;height:90px;font-size:62px;color:#edaa27;text-shadow:0 3px 0 #bd7d13}.profile-panel button{min-height:48px;margin:8px 6px 8px 0;white-space:normal}.profile-error{color:#9c2e2c;font-weight:700;min-height:1.4em}.profile-warning{background:#ffecbb;border:1px solid #bc8528;padding:14px;border-radius:14px}.profile-privacy{font-size:13px;text-align:center;margin-top:24px}.learner-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px}.learner-card{display:flex;flex-direction:column;align-items:center;border:2px solid #9ac8bc;background:#edf8f1;border-radius:20px;padding:15px;cursor:pointer;font:inherit;color:#183f3d;word-break:break-word}.learner-card img{width:70px;height:90px;object-fit:contain}.learner-card span{font-size:13px}.legacy-progress{margin-top:22px;border-top:1px solid #bed3cb;padding-top:18px}.legacy-progress summary{cursor:pointer;font-weight:800;min-height:44px}.legacy-copy{display:flex;align-items:flex-start;gap:12px;background:#fff1d1;padding:14px;border-radius:12px}.legacy-copy input{min-width:22px;min-height:22px}.learner-badge{display:flex;align-items:center;gap:8px;min-height:48px;border:1px solid #9bbdb6;background:#f9edbf;border-radius:24px;padding:4px 14px;color:#183f3d;max-width:210px;cursor:pointer;font-weight:800}.learner-badge img{width:28px;height:36px;object-fit:contain}.learner-badge .profile-shape{width:28px;height:36px;font-size:28px}.learner-badge span:not(.profile-shape){overflow-wrap:anywhere}.learner-badge small{font-size:10px}.profile-panel button:focus-visible,.learner-badge:focus-visible{outline:3px solid #2958ad;outline-offset:3px}@media(max-width:600px){.avatar-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.profile-panel{padding:20px}.profile-course-logo{height:120px}.avatar-choice{min-height:140px}.learner-badge{max-width:150px;font-size:12px;padding:4px 9px}.header-tools{flex-wrap:wrap;justify-content:flex-end}.profile-panel .primary{width:100%;margin-right:0}}

.learner-tile{display:flex;flex-direction:column}.learner-tile .learner-card{width:100%;flex:1}.learner-tile .text-button{margin:0;min-height:44px}
