.gx-nav{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0 28px}.gx-nav .button{font-size:.9rem;padding:9px 13px}.gx-check{display:flex!important;align-items:center;gap:10px}.gx-check input{width:auto!important}.gx-cover{width:100%;max-height:240px;object-fit:cover;border-radius:12px}.gx-video{width:100%;max-height:640px;background:#111}.gx-chat-layout{display:grid;grid-template-columns:260px minmax(0,1fr);gap:18px}.gx-conversations{max-height:800px;overflow:auto}.gx-bubble{background:#edf0eb;color:#173e32;border-radius:14px 14px 14px 3px;margin:12px 42px 12px 0;padding:12px 16px;white-space:pre-wrap;overflow-wrap:anywhere}.gx-bubble.gx-mine,.gx-bubble.gx-reply{background:#dcebdc;margin:12px 0 12px 42px;border-radius:14px 14px 3px 14px}.gx-bubble p{margin:5px 0}.gx-bubble small{display:block;opacity:.8}.gx-bubble button{font-size:12px;padding:4px 7px;margin:6px 6px 0 0;background:#355d4e}.gx-trap{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}#gx-messages{max-height:65vh;overflow:auto;padding:8px}.gx-target{padding:10px 0;border-bottom:1px solid #d5dfd6}.gx-target progress{display:block;width:100%;accent-color:#17674c}.gx-live-item{padding:10px 14px;border-left:4px solid #bca46c;background:#f4f1e7;margin:8px 0}pre{white-space:pre-wrap;overflow-wrap:anywhere}fieldset{border:1px solid #d2ded5;border-radius:8px;margin:16px 0;padding:16px}fieldset input[type=radio]{width:auto}details>summary{cursor:pointer;padding:12px 0}details>form{padding:12px}select[multiple]{min-height:160px}@media(max-width:760px){.gx-chat-layout{grid-template-columns:1fr}.gx-conversations{max-height:220px}.gx-bubble{margin-right:20px}.gx-bubble.gx-mine{margin-left:20px}.gx-nav .button{font-size:13px}.gx-video{max-height:400px}}
/* Portal Plus: scoped chat, compact by default. */
.px-chat-intro{padding:16px!important}.px-chat-intro h2{margin:0 0 8px}.px-size-form{display:flex;align-items:end;flex-wrap:wrap;gap:8px;margin-top:12px}.px-size-form label{margin:0;max-width:220px}.px-size-form button{min-height:42px}.px-chat{--px-text:14px;--px-pad:10px;display:grid;grid-template-columns:minmax(230px,32%) minmax(0,1fr);border:1px solid #c8d7ce;border-radius:16px;overflow:hidden;background:#fff;min-width:0}.px-standard{--px-text:16px;--px-pad:14px}.px-large{--px-text:19px;--px-pad:18px}.px-chat p,.px-chat textarea,.px-chat strong,.px-chat span,.px-chat input,.px-chat select{font-size:var(--px-text);line-height:1.45}.px-chat-list{border-right:1px solid #d5dfd8;max-height:85vh;overflow:auto;min-width:0;background:#fff}.px-list-head,.px-chat-head{padding:14px;background:#0c4938;color:#fff;display:flex;gap:12px;align-items:center;flex-wrap:wrap}.px-list-head h3,.px-chat-head h3{margin:0;flex:1;font-size:17px;color:#fff}.px-list-head a,.px-chat-head a{color:#fff;font-size:13px}.px-chat-head span{font-size:12px}.px-search,.px-filter{display:block;padding:10px;margin:0!important}.px-search{font-size:12px}.px-search input{padding:9px!important}.px-filter{display:flex;align-items:end;gap:6px;border-bottom:1px solid #e4e9e5}.px-filter label{flex:1;margin:0;min-width:0;font-size:12px}.px-filter button{padding:9px 12px}.px-thread{display:flex;align-items:center;gap:10px;padding:var(--px-pad) 12px;border-bottom:1px solid #e8eee9;color:#183e31;text-decoration:none;min-width:0}.px-thread:hover,.px-thread.px-selected{background:#e5f1e7}.px-avatar{display:flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:50%;background:#d9e8de;flex-shrink:0;font-weight:700}.px-thread-text{flex:1;min-width:0}.px-thread-text strong,.px-thread-text>span{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.px-thread-text small{font-size:10px;color:#69786f}.px-thread-meta{text-align:right;align-self:flex-start;display:grid;gap:6px;font-size:11px}.px-thread-meta time{font-size:11px}.px-thread-meta b{justify-self:end;min-width:22px;min-height:22px;border-radius:12px;background:#196a4b;color:white;padding:2px 5px;font-size:11px;text-align:center}.px-thread[hidden]{display:none}.px-conversation{min-width:0;background:#eeeae1}.px-chat-welcome{padding:50px 24px;text-align:center}.px-history{padding:8px;display:flex;justify-content:center;gap:8px}.px-history button{font-size:12px;padding:7px 10px}.px-chat #gx-messages{height:52vh;max-height:none;overflow:auto;padding:12px;overscroll-behavior:contain}.px-chat .gx-bubble{background:#fff;font-size:var(--px-text);padding:var(--px-pad);margin:8px 15% 8px 0;white-space:normal;box-shadow:0 1px 2px #0001}.px-chat .gx-mine{background:#d9efd5;margin:8px 0 8px 15%}.px-chat .gx-bubble p{white-space:pre-wrap;font-size:var(--px-text);margin:6px 0;overflow-wrap:anywhere}.px-chat .gx-bubble strong{font-size:calc(var(--px-text) - 1px)}.px-chat .gx-bubble small{font-size:11px;line-height:1.45}.px-chat .px-message-actions{font-size:11px}.px-chat .px-message-actions>summary{padding:6px 0 0;font-size:11px;cursor:pointer}.px-chat .px-message-actions button{min-height:32px;font-size:12px}.px-date-divider{text-align:center;margin:12px auto;font-size:11px;background:#e4eeec;border-radius:8px;padding:5px;width:fit-content}.px-chat #gx-chat-status{margin:0;padding:5px 12px;font-size:12px;white-space:pre-wrap;overflow-wrap:anywhere}.px-compose{background:#f5f6f2;padding:12px;margin:0!important;border-top:1px solid #d0d9d1}.px-compose-label{margin:0!important;font-size:12px}.px-compose textarea{min-height:58px!important;resize:vertical;padding:10px!important;border-radius:16px!important;background:white!important;color:#173e32!important}.px-compose-tools{display:flex;gap:7px;align-items:center;flex-wrap:wrap;margin-top:8px}.px-compose-tools button,.px-attach{font-size:12px;min-height:40px;padding:9px 12px!important;border:0;border-radius:10px;background:#e0e9e2;color:#173e32;margin:0!important;cursor:pointer}.px-compose-tools button[type=submit]{background:#0c674b;color:white;margin-left:auto}.px-attach input[type=file]{position:absolute;width:1px!important;height:1px!important;overflow:hidden;clip-path:inset(50%)}.px-attach:focus-within{outline:3px solid #bf933d;outline-offset:2px}.px-upload-help{font-size:11px!important;color:#617169;margin:8px 0 0!important}.px-message-media img,#px-upload-preview img{display:block;max-width:100%;max-height:330px;object-fit:contain;border-radius:10px}.px-message-media video,#px-upload-preview video{max-width:100%;max-height:330px}.px-message-media audio,#px-upload-preview audio{max-width:100%;width:280px}.px-review-media img,.px-review-media video{max-width:100%;max-height:400px}.px-review-media audio{max-width:100%}.px-quote,.px-reply-preview{border-left:3px solid #4a8b6e;background:#00000008;padding:8px;margin:5px 0;font-size:12px}.px-empty{padding:20px}.px-note{min-width:180px;max-width:360px;white-space:pre-wrap;overflow-wrap:anywhere}.px-note>div{margin-top:8px}.px-chat a:focus-visible,.px-chat button:focus-visible{outline:3px solid #bf933d;outline-offset:2px}.px-chat .px-back{font-size:13px}.px-chat #px-remove-file{font-size:12px;padding:6px 10px;margin-top:8px}
@media(max-width:760px){.px-chat{grid-template-columns:1fr}.px-chat .px-chat-list{max-height:none;border:0}.px-chat .px-conversation{display:none}.px-chat.px-open .px-chat-list{display:none}.px-chat.px-open .px-conversation{display:block}.px-chat #gx-messages{height:50vh;min-height:220px}.px-chat .gx-bubble{margin-right:8%}.px-chat .gx-mine{margin-left:8%;margin-right:0}.px-chat-intro h2{font-size:20px}.px-size-form select{font-size:14px}.px-size-form button{font-size:13px}}

.gx-nav{display:flex!important;flex-flow:row wrap!important;gap:8px}.gx-nav .button{display:inline-flex!important;width:auto!important;flex:0 0 auto!important}.ui-contact{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-top:1px solid #d2ded5}.ui-contact small{display:block}.ui-contact form{margin:0}.px-avatar{position:relative;overflow:hidden}.px-avatar img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.px-avatar>span{font-size:14px}.px-emoji-picker{display:flex;flex-wrap:wrap;gap:4px;padding:8px;border:1px solid #d2ded5;border-radius:10px;background:#fff;margin-top:8px;max-width:360px}.px-emoji-picker[hidden]{display:none}.px-emoji-picker button{font-size:23px;padding:8px;background:transparent;color:#173e32;border:0;min-width:40px;min-height:40px}.ui-profile{margin-top:8px}.px-chat #gx-chat-status{min-height:24px}.px-chat-head .px-avatar{width:34px;height:34px}.px-chat .px-thread{font-weight:normal}.px-chat .px-thread-text strong{font-weight:650}.gx-cover{aspect-ratio:3/2;object-fit:contain;background:#073e32;height:auto;max-height:280px}

.px-chat [hidden]{display:none!important}.ui-sr{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.ui-compose-line{display:flex;align-items:center;gap:6px;min-width:0}.ui-compose-line>button,.ui-compose-line>.px-attach{display:flex;align-items:center;justify-content:center;width:38px;height:40px;min-width:38px;min-height:40px;padding:8px!important;margin:0!important;border:0;border-radius:50%;background:transparent;color:#315748;cursor:pointer}.ui-compose-line .px-compose-label{flex:1;min-width:0}.px-compose .ui-compose-line textarea{min-height:42px!important;max-height:120px;resize:vertical;margin:0;line-height:1.4;padding:10px 13px!important;border-radius:22px!important}.ui-compose-line #px-send{background:#08644a;color:#fff}.ui-compose-line #px-record:not(:has(svg)){width:auto;max-width:150px;border-radius:10px;font-size:12px}.px-chat-intro{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.ui-chat-settings{font-size:13px}.ui-chat-settings[open]{flex-basis:100%}.ui-chat-settings>summary{padding:5px}.ui-chat-settings form{padding:8px}.px-chat .px-upload-help{font-size:10px!important}.px-chat #px-cancel-record,.px-chat #px-remove-file{font-size:12px;padding:7px 10px}.px-history button[hidden]{display:none!important}@media(max-width:460px){.ui-compose-line{gap:2px}.ui-compose-line>button,.ui-compose-line>.px-attach{width:32px;min-width:32px;padding:6px!important}.px-compose{padding:9px}.px-chat-intro h2{font-size:20px}.px-chat-head span{font-size:11px}}

.px-chat .gx-mine>strong{display:none}.px-chat .px-time{text-align:right;font-size:10px;opacity:.75}.px-chat .px-message-actions>summary{font-size:18px;line-height:1;padding:2px 0;list-style:none;text-align:right}.px-chat .px-message-actions>summary::-webkit-details-marker{display:none}.px-chat .px-receipt{text-align:right;font-size:10px}.px-chat .gx-bubble{max-width:90%}.px-chat .gx-mine{margin-left:auto}.px-chat .px-date-divider{font-size:11px}

/* Keep course covers inside narrow phone cards. */
.grid>.panel{min-width:0}.gx-cover{display:block;width:100%;max-width:100%;height:auto;aspect-ratio:3/2;max-height:280px;object-fit:contain}.auth{min-width:0;max-width:100%}
