#preview-banner{background:#e7d5ab;color:#4b432f;padding:8px 18px;text-align:center;font-size:12px;position:relative;z-index:12;letter-spacing:.06em}.password-control{display:flex;position:relative}.password-control input{padding-right:52px;width:100%}.eye-button{position:absolute;right:5px;top:50%;transform:translateY(-50%);border:0;background:transparent;color:#536e5c;width:42px;height:42px;display:grid;place-items:center;cursor:pointer}.eye-button[aria-pressed=true]{background:#e7efe5;border-radius:8px}.knowledge-heading{max-width:920px;margin:28px auto}.knowledge-heading h1{font-size:32px;line-height:1.45}.knowledge-stack{max-width:920px;margin:auto;display:grid;gap:24px}.knowledge-card{padding:34px;border:1px solid #e4e7df;background:#fffefa;border-radius:20px;min-width:0}.knowledge-card h2{font-size:23px;line-height:1.55}.card-label{font-size:13px;color:#72816c;font-weight:700;letter-spacing:.13em;margin-bottom:18px}.knowledge-card .material-body{margin-top:0}.replay-card{display:flex;align-items:center;justify-content:space-between;gap:24px;background:#edf2e9}.knowledge-exercise{padding:18px 0;border-top:1px solid #e2e8dc}.knowledge-exercise p{line-height:1.9}.note-card{background:#faf5ea}.note-history,.topic-question-list{margin-top:24px}.growth-types{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;margin-bottom:28px}.growth-type{padding:22px 16px;border:1px solid #dce3d7;background:#fffefa;border-radius:14px;color:#31523e;text-align:left;font-weight:600;font-size:15px;cursor:pointer}.growth-type small{display:block;font-size:13px;color:#8b7757;margin-top:9px}.growth-record{margin:15px 0}.record-type{font-size:13px;color:#7f745c;padding:4px 0}.record-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.growth-record .submission{margin-bottom:5px}.growth-record .submission-visibility{flex-wrap:wrap}.points-summary{display:grid;grid-template-columns:repeat(3,1fr);background:#2d4d3d;color:#fff8ec;border-radius:20px;padding:32px;margin-bottom:16px;gap:20px}.points-summary strong{display:block;font-size:42px;margin-top:8px}.points-summary small{color:#d1d9c9}.reward-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:18px;margin:24px 0}.reward-card{display:flex;flex-direction:column;gap:12px;border:1px solid #e1e6dc;border-radius:18px;padding:26px;background:#fffefa}.reward-card h3{margin:0}.reward-card p{flex:1}.reward-card small{color:#77816d}.reward-symbol{font-size:32px;color:#9b7e48}.ledger-row{display:flex;justify-content:space-between;gap:15px;padding:17px 0;border-bottom:1px solid #eee}.ledger-row small{display:block;color:#8b9386;margin-top:5px}.ledger-row b{color:#436746}.redemption{padding:18px 0;border-bottom:1px solid #e1e6dc}.comment{padding:16px 0;border-bottom:1px solid #e5e9df}.comment small{margin-left:12px;color:#8d9687}.discussion{margin-top:28px}.poster-preview{width:100%;max-width:420px;display:block;margin:24px auto 14px;border-radius:12px;box-shadow:0 12px 35px #30473522}.mobile-nav{overflow-x:auto}.mobile-nav button{min-width:65px}.topic-question-list .question-card{padding:20px}.record-actions .text{font-size:13px}.growth-record p{overflow-wrap:anywhere}.admin-tabs{overflow-x:auto;flex-wrap:wrap}button:disabled{cursor:not-allowed;opacity:.5}@media(max-width:700px){.knowledge-card{padding:22px 18px;border-radius:16px}.knowledge-heading h1{font-size:25px}.knowledge-heading{margin:20px 0}.replay-card{display:block}.replay-card .primary{display:inline-block;margin-top:10px}.points-summary{padding:23px 17px;gap:12px}.points-summary strong{font-size:30px}.growth-types{grid-template-columns:1fr 1fr}.reward-grid{grid-template-columns:1fr 1fr}.reward-card{padding:17px}.knowledge-card h2{font-size:20px}.record-actions button{white-space:normal}.main-area .content{padding-bottom:100px}.mobile-nav{justify-content:flex-start}#preview-banner{font-size:11px;padding:8px}.knowledge-stack{gap:16px}}@media(max-width:400px){.reward-grid{grid-template-columns:1fr}}
#selected-files{font-size:12px;color:#47634f;overflow-wrap:anywhere}.attachment-picker{margin:22px 0;padding:18px;border:1px dashed #aabca5;border-radius:12px;background:#f5f8f1}.attachment-picker label{margin:0 0 10px}.attachment-picker input[type=file]{display:block;width:100%;min-height:56px;padding:6px;border:1px solid #ccd7c4;background:white;cursor:pointer;touch-action:manipulation;font-size:14px}.attachment-picker input[type=file]::file-selector-button{min-height:44px;padding:10px 18px;margin-right:12px;border:0;border-radius:7px;background:#e3ecdc;color:#31503c;font:inherit;cursor:pointer}.attachment-picker input[type=file]::-webkit-file-upload-button{min-height:44px;padding:10px 18px;border:0;border-radius:7px;background:#e3ecdc;color:#31503c;font:inherit;cursor:pointer}.reward-vector{width:96px;height:96px;align-self:center;margin:6px 0 12px}.reward-card .primary{margin-top:auto}.pill.draft{background:#eef0ea;color:#738169}.exercise-card>.row:first-child{align-items:flex-start;gap:8px}.exercise-card>.row:first-child .pill{flex:none}.points-entry{display:flex;align-items:center;justify-content:space-between;gap:24px}.points-entry h1{font-size:24px;margin:9px 0}.points-entry strong{font-size:34px}.progress-item{padding:12px 0}.progress-item .progress-track{height:7px;margin:13px 0 7px}.medal-progress{margin-top:-9px}.home-side .panel{padding:20px}.home-side .panel>.row{display:block}.home-side .panel .row h2{font-size:18px}.home-side .growth-types{grid-template-columns:1fr;margin:18px 0 0}.home-side .growth-type{padding:15px 18px}.home-side .growth-type small{display:inline;margin-left:8px;font-size:12px}.mobile-nav button{min-width:0;flex:1}.mobile-nav{justify-content:space-around;overflow:visible}.profile-info summary{cursor:pointer;font-weight:600}@media(max-width:700px){.points-entry{display:block}.points-entry>.primary{margin-top:15px}.home-side .panel>.row{display:flex}.home-side .growth-types{grid-template-columns:1fr 1fr}.home-side .growth-type{padding:16px 12px;font-size:13px}.home-side .growth-type small{display:block;margin:6px 0 0}.reward-vector{width:80px;height:80px}.mobile-nav button{min-width:0;padding:3px 2px;font-size:10px}.attachment-picker{padding:14px}.attachment-picker input[type=file]{font-size:12px}}

.reward-vector{width:54px;height:54px;align-self:flex-start;margin:0 0 6px}.course-stage{margin:28px 0 38px}.stage-path{grid-template-columns:1fr}.stage-path .chapter-card{min-height:180px}.enrollment-permissions{padding:20px 0;border-bottom:1px solid var(--line)}.enrollment-permissions small{display:block;color:var(--muted);font-size:12px}.stage-permissions-form fieldset{border:1px solid var(--line);border-radius:10px;margin:16px 0;display:flex;gap:24px;flex-wrap:wrap}.stage-permissions-form legend{font-size:12px;color:var(--muted)}.stage-permissions-form .checkbox{margin:10px 0}.bootstrap-entry{text-align:center;padding:14px}.medal-progress+.growth-banner{margin-top:32px}@media(max-width:700px){.reward-vector{width:46px;height:46px}.mobile-nav button{font-size:10px;padding:3px 1px;min-width:0;flex:1}.mobile-nav button span{font-size:20px}.admin-header{flex-wrap:wrap;gap:14px}.stage-path{grid-template-columns:1fr}.enrollment-permissions>.row{align-items:flex-start}.stage-permissions-form fieldset{gap:14px}}
#poster-form .poster-source{max-height:300px;overflow-y:auto;background:#f4f6f0;color:#284c40;cursor:text;user-select:text;-webkit-user-select:text;font-size:16px;line-height:1.7}#poster-form .record-actions{margin:12px 0 20px}#poster-form .record-actions button{min-height:44px}#poster-excerpt{font-size:16px;line-height:1.7}#poster-excerpt:invalid:not(:placeholder-shown){border-color:#a74d3c}
.manual-pages{display:grid;gap:16px;margin:20px 0}.manual-pages img{display:block;width:100%;height:auto;border:1px solid #e1e6dc}.pair-card,.wish-row{padding:18px 0;border-bottom:1px solid #e1e6dc;overflow-wrap:anywhere}.pair-card .row{align-items:flex-start;gap:12px}.pair-card .pill{flex-shrink:0}.pair-contact{background:#f0f5eb;border-radius:10px;padding:12px}.pair-panel{margin:0 0 24px}.exercise-title{display:block;text-align:left;font-size:18px;line-height:1.6;margin-bottom:14px}.guest-notice{margin-bottom:24px}.wish-panel{margin-top:24px}#share-help{min-height:30px}.manual-pages+button{position:sticky;bottom:0}.knowledge-exercise>.primary{margin-bottom:12px}@media(max-width:700px){.pair-card .row{display:block}.pair-card .pill{display:inline-block;margin-top:8px}.pair-panel>.row{gap:12px}.guest-notice{padding:20px}}
.system-diagram{position:relative;width:100%;max-width:720px;margin:24px auto 12px}.system-diagram>img{display:block;width:100%;height:auto;border-radius:12px}.course-hotspot{position:absolute;display:block;min-height:28px;transform:translateY(-50%);border-radius:5px;cursor:pointer}.course-hotspot:hover,.course-hotspot:focus-visible{outline:3px solid #214eff;background:#fff3;outline-offset:2px}.hotspot-stages{left:37.5%;top:54.2%;width:43%;height:4%}.hotspot-talent{left:15.5%;top:82.4%;width:47%;height:4.5%}.guest-unit{margin-top:32px}.guest-practices{padding-left:26px}.guest-practices li{padding:14px 6px;border-bottom:1px solid #e2e7dc;line-height:1.7}.guest-honeypot{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}.guest-inquiry{padding:20px 0;border-bottom:1px solid #e2e7dc;overflow-wrap:anywhere}#guest-inquiry-form textarea,#guest-inquiry-form input{font-size:16px}.guest-notice>h2{line-height:1.5}@media(max-width:700px){.guest-notice>h2{font-size:20px}.system-diagram{margin:18px auto 12px}.guest-inquiry>.row{display:block}.guest-practices li{padding:12px 2px}}
.teacher-conversation{margin:18px 0;padding:18px;border:1px solid #dce5d5;border-radius:12px;background:#f7f9f3}.teacher-conversation h3{margin:0;font-size:16px}.teacher-conversation .message small,.question-card .message small{display:inline-block;font-weight:400;margin-left:8px;color:#7b8873}.submission-reply-form,.question-card .reply-form{display:block;margin-top:16px}.submission-reply-form textarea,.question-card .reply-form textarea{width:100%;min-width:0;box-sizing:border-box}.submission-reply-form button,.question-card .reply-form button{min-height:42px}.teacher-conversation .message{overflow-wrap:anywhere}.teacher-conversation .row{flex-wrap:wrap;gap:8px}@media(max-width:600px){.teacher-conversation{padding:13px}.teacher-conversation .message small{margin-left:0;display:block}}
.stage-progress-compact{background:#eef4e8;border:1px solid #dce6d2;border-radius:12px;padding:14px 20px;margin:-8px 0 24px;display:grid;gap:12px}.stage-progress-label{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:13px;line-height:1.5;color:#50664a}.stage-progress-label strong{display:inline-block;min-width:46px;text-align:right;margin-left:16px;color:#34513b}.stage-progress-label b{font-weight:500}.stage-progress-compact .progress-track{height:4px;margin:6px 0 0;background:#dce6d5}.stage-progress-compact .hint{margin:0;font-size:12px}.profile-info>h2,.profile-feedback h2{font-size:22px;line-height:1.4;font-weight:600;margin:0 0 16px}.profile-feedback .row h2{margin-bottom:0}.learning-guide .record-actions{gap:10px;flex-wrap:wrap}@media(max-width:600px){.stage-progress-compact{padding:12px 16px;gap:10px;margin-bottom:20px}.stage-progress-label strong{margin-left:12px}.profile-info>h2,.profile-feedback h2{font-size:20px}.learning-guide .record-actions button{white-space:normal}}

.record-context{margin:12px 0 16px;padding:12px 16px;border:1px solid #dce6d5;border-radius:10px;background:#f0f5eb;display:grid;gap:8px}.record-context>div{display:grid;grid-template-columns:6em minmax(0,1fr);gap:10px;font-size:14px;line-height:1.7}.record-context span{color:#63745c}.record-context strong{font-weight:500;color:#304b3d;white-space:pre-wrap;overflow-wrap:anywhere}@media(max-width:600px){.record-context{padding:12px}.record-context>div{grid-template-columns:1fr;gap:2px}.record-context span{font-size:12px}}

.record-likes{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:14px 0}.record-likes .hint{flex-basis:100%;margin:0}.record-likes button:disabled{opacity:.7;cursor:default}

/* A visible, touch-friendly notification entry and explicit unread acknowledgement. */
.topbar .notification-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:10px 15px;border:1px solid #c9d7cc;border-radius:12px;background:#edf4ee;color:#254b39;font-size:15px;font-weight:700;white-space:nowrap;flex-shrink:0}
.topbar .notification-button.has-unread{background:#e6f1e7;border:2px solid #477b52;box-shadow:0 3px 9px #294a3417}
.notification-button svg,.notification-banner svg,.notification-dialog-heading svg{width:25px;height:25px;flex:none}
.notification-count{display:inline-block;background:#a73832;color:#fff;border-radius:20px;padding:3px 8px;font-size:12px;line-height:1.5}
.notification-button:focus-visible,.notification-banner button:focus-visible{outline:3px solid #b1843c;outline-offset:3px}
.notification-banner{display:flex;align-items:center;justify-content:space-between;gap:16px;background:#fff6df;border:1px solid #dec58f;border-radius:14px;padding:18px 22px;margin-bottom:24px;color:#564524}
.notification-banner-copy{display:flex;gap:12px;align-items:center}.notification-banner strong{font-size:17px}.notification-banner p{font-size:13px;margin:5px 0 0}.notification-banner button{flex-shrink:0;min-height:44px}
.notification-dialog-heading{display:flex;align-items:center;gap:14px;margin:10px 0 18px;color:#294e3c}.notification-dialog-heading svg{width:34px;height:34px}.notification-dialog-heading h2{font-size:23px;margin:0 0 6px}.notification-dialog-heading p{margin:0;font-size:14px;color:#657566}
.notification-list{max-height:52vh;overflow-y:auto;overscroll-behavior:contain;padding:1px 4px 1px 1px}.notification-item{padding:17px;margin:0 0 12px;border:1px solid #d6e1d3;border-radius:12px;background:#f0f7ed}.notification-item.is-read{background:#fafbf8;border-color:#e7eae3}.notification-item time{font-size:12px;color:#657060}.notification-item p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:16px;line-height:1.85;margin:12px 0 0;color:#2e4435}.notification-item.is-unread .pill{background:#dcebd8;color:#2f5835;font-weight:700}
.notification-dialog-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:12px;margin:16px 0 8px}.notification-dialog-actions button{min-height:46px;font-size:15px}
@media(max-width:600px){.topbar{gap:8px;padding-left:14px;padding-right:14px}.top-actions{gap:6px}.top-actions>.small.muted{display:none}.topbar .notification-button{padding:8px 10px;gap:6px;font-size:14px;min-height:46px}.notification-banner{padding:16px;align-items:flex-start;flex-wrap:wrap;gap:12px}.notification-banner>button{margin-left:auto}.notification-banner strong{font-size:16px}.notification-dialog-heading h2{font-size:21px}.notification-item{padding:14px}.notification-dialog-actions button{flex:1}.notification-count{font-size:11px}}
/* Search inputs stay in place while their result lists update, including mobile IME. */
.learning-search{margin:18px 0 24px;padding:18px 20px;background:#f0f6f1;border:1px solid #dce8df;border-radius:16px}
.learning-search>label{display:block;font-weight:650;margin-bottom:10px}
.learning-search-row{display:flex;align-items:center;gap:10px}
.learning-search-row input{flex:1;min-width:0;width:100%;min-height:46px;background:white;font-size:16px}
.learning-search-row button{flex-shrink:0;min-height:46px}
.learning-search .hint{margin-bottom:0}
.search-count{color:#566b5d;margin:12px 0}
.course-search-list{display:grid;gap:14px}
.course-search-card{width:100%;text-align:left;white-space:normal;padding:20px;border:1px solid #dce8df;border-radius:16px;background:#fff;color:inherit;cursor:pointer}
.course-search-card small{display:block;color:#6b7d70;line-height:1.6}
.course-search-card h3{margin:10px 0;line-height:1.6}
.course-search-card p{color:#66766c;line-height:1.8;margin:8px 0;overflow-wrap:anywhere}
.course-search-card>span{display:block;color:#35745a;font-size:14px;margin-top:10px}
.course-search-card:hover,.course-search-card:focus-visible{border-color:#56856a;background:#f6faf7}
.notification-item>.primary{margin-top:8px;min-height:44px}

.pair-invite{border:1px solid #dbe5de;border-radius:12px;padding:14px;margin:18px 0}.pair-invite legend{font-weight:600;padding:0 6px}.pair-classmates{max-height:210px;overflow:auto;display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:6px;margin-top:10px}.pair-person{display:flex;align-items:center;gap:10px;min-height:44px;margin:0;padding:8px;background:#f0f6f1;border-radius:8px;overflow-wrap:anywhere}.pair-person input{width:20px;height:20px;flex-shrink:0;margin:0}.shared-image{display:block;max-width:100%;max-height:650px;object-fit:contain;margin:14px auto}.shared-record audio{max-width:100%}.shared-record{overflow-wrap:anywhere}

.pair-classmates{display:block;max-height:240px;border:1px solid #dbe5de;border-radius:10px;background:#fff;box-shadow:0 6px 18px #243e3014;overscroll-behavior:contain}.pair-classmates[hidden]{display:none}.pair-classmates>p{padding:12px;margin:0}.pair-mention-option{display:flex;width:100%;min-height:56px;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border:0;border-radius:0;background:#fff;color:inherit;text-align:left;white-space:normal}.pair-mention-option+.pair-mention-option{border-top:1px solid #edf2ee}.pair-mention-option:hover,.pair-mention-option.is-active{background:#edf5ef}.pair-mention-option small{display:block;font-weight:400;color:#64756a;margin-top:3px;overflow-wrap:anywhere}.pair-mention-option b{overflow-wrap:anywhere}.pair-mention-check{flex-shrink:0;font-size:12px;color:#456751}.pair-mention-option[aria-selected=true] .pair-mention-check{font-weight:700}.pair-selected{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:8px}.pair-selected:empty{display:none}.pair-selected-person{display:inline-flex;align-items:center;gap:4px;max-width:100%;background:#e2eee6;border:1px solid #b8d1bf;color:#294d36;border-radius:18px;padding-left:12px;overflow-wrap:anywhere}.pair-selected-person button{padding:6px 12px;min-height:38px;min-width:38px;border:0;background:transparent;color:inherit;font-size:21px}.pair-selected-person small{font-size:12px}.pair-invite input[role=combobox]{font-size:16px}
