/* Scoped app typography and controls; never reset the site's public theme. */
.dpcm-ui,.dpcm-community{min-width:0;overflow-wrap:anywhere}
.dpcm-ui [hidden],.dpcm-community [hidden]{display:none!important}
.dpcm-ui button,.dpcm-community button{font-family:inherit;text-transform:none;letter-spacing:normal;white-space:normal;max-width:100%;touch-action:manipulation}
.dpcm-ui button:focus-visible,.dpcm-ui a:focus-visible,.dpcm-community button:focus-visible{outline:3px solid #087fbd;outline-offset:3px}
.dpcm-ui button.dpcm-quick-notification-link{display:grid;grid-template-columns:20px minmax(0,1fr) auto;gap:7px 10px;align-items:start;min-height:52px;padding:14px 0;border:0!important;border-radius:0;background:transparent!important;color:#071948!important;text-align:left;line-height:1.5;box-shadow:none;white-space:normal!important}
.dpcm-quick-notification-link .dpcm-quick-title{min-width:0;white-space:normal!important;overflow-wrap:anywhere;font-size:15px;line-height:1.5}
.dpcm-quick-notification-link time{grid-column:2/-1;width:auto!important;margin:0!important;font-size:12px;color:#667085}
.dpcm-quick-notification-link .dpcm-new-badge{grid-column:3;grid-row:1;align-self:start}
.dpcm-quick-notification-detail{overflow-wrap:anywhere;white-space:normal}
.dpcm-ui button.dpcm-view-all-notifications{min-height:44px;border:1px solid #c9e9ee;background:#eafbfd;color:#087f9e;padding:10px 14px;border-radius:10px;font-size:14px;font-weight:600}
.dpcm-ui button.dpcm-btn,.dpcm-ui .dpcm-btn{min-height:44px;white-space:normal;line-height:1.4;text-align:center}
.dpcm-account-actions,.dpcm-certificate-toolbar{display:flex;gap:12px;flex-wrap:wrap;align-items:center;margin-top:20px}
.dpcm-account-actions form{margin:0}
.dpcm-account-actions .dpcm-btn-light{border:1px solid #d6e3ed}
.dpcm-certificate-preview{border:1px solid #dce6ef;border-radius:14px;width:100%;height:70vh;margin-top:20px;background:#f5f8fb}
.dpcm-mobile-menu-toggle{display:none}
.dpcm-ui button.dpcm-sound-toggle,.dpcm-community button.dpcm-sound-toggle{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;min-width:44px;border:1px solid #d1e6ea;border-radius:10px;padding:8px 12px;background:#f0fcfd;color:#087f9e;font-size:13px;font-weight:600;line-height:1.3;white-space:normal}
.dpcm-hero .dpcm-sound-toggle{background:#ffffff15!important;color:#fff!important;border-color:#ffffff40!important}
.dpcm-portal-tools{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.dpcm-portal-toast{position:fixed;z-index:100000;bottom:max(18px,env(safe-area-inset-bottom));right:18px;max-width:min(380px,calc(100vw - 32px));padding:14px 16px;border-radius:14px;background:#071948;color:#fff;box-shadow:0 6px 25px #07194830;font:15px/1.45 system-ui,sans-serif;text-decoration:none}
.dpcm-portal-toast[hidden]{display:none!important}
.dpcm-learning-panel .dpcm-form>.dpcm-btn,.dpcm-learning-panel .dpcm-form>button[type=submit]{margin-top:20px!important}
.dpcm-community .dpcm-c-body{font-size:15px;line-height:1.6;word-break:normal;overflow-wrap:anywhere}
.dpcm-community .dpcm-c-sender strong{font-size:14px;line-height:1.35}
.dpcm-community .dpcm-c-sender small{font-size:12px;line-height:1.4}
.dpcm-community .dpcm-c-bubble-head time{font-size:11px;flex-shrink:0}
.dpcm-community .dpcm-c-message-actions button{background:transparent;color:#4f7182;border:0;border-radius:7px;font-size:12px;padding:7px 9px;min-height:36px}
.dpcm-community .dpcm-c-tabs button{color:#52657c;background:transparent;border:0;border-bottom:3px solid transparent;font-size:14px;min-height:46px;padding:12px 4px;white-space:normal}
.dpcm-community .dpcm-c-tabs button[aria-selected=true]{color:#087f9e;border-bottom-color:#00bcb0}
.dpcm-community .dpcm-c-room{border:1px solid transparent;color:#dce8ff;background:transparent;white-space:normal}
.dpcm-community .dpcm-c-room[aria-selected=true]{border-color:#3e9caa;background:#15365b;color:#fff}
.dpcm-community .dpcm-c-room-copy strong,.dpcm-community .dpcm-c-self strong{font-size:14px}
.dpcm-community .dpcm-c-room-copy small,.dpcm-community .dpcm-c-self small{font-size:12px}
.dpcm-community .dpcm-c-composer textarea{font-size:16px!important;line-height:1.5;resize:none}
.dpcm-community .dpcm-c-send{border:0;background:#008f9b;color:#fff;min-height:48px;border-radius:14px}
.dpcm-community .dpcm-c-receipt{display:flex;align-items:center;justify-content:flex-end;gap:5px;margin:8px 0 0 auto;padding:4px 0!important;border:0!important;background:transparent!important;color:#5a7680;font-size:11px;line-height:1.4;box-shadow:none;text-align:right}
.dpcm-community .dpcm-c-receipt.is-read{color:#087fbd}
.dpcm-c-receipt-dialog{font-family:inherit;max-width:480px;width:calc(100% - 30px);max-height:80vh;border:1px solid #d8e5ef;border-radius:18px;padding:22px;color:#071948;overflow:auto}
.dpcm-c-receipt-dialog::backdrop{background:#07194877}
.dpcm-c-receipt-dialog h3{font-size:20px;margin:0 0 8px}
.dpcm-c-receipt-dialog p{font-size:13px;color:#617085}
.dpcm-c-receipt-person{padding:14px 0;border-top:1px solid #e4edf3;display:flex;flex-direction:column;gap:6px}
.dpcm-c-receipt-person>small{font-size:12px;color:#65768a}
.dpcm-community .dpcm-c-receipt-close{border:0;border-radius:10px;padding:10px 20px;background:#008f9b;color:#fff;min-height:44px;font-size:14px}
.dpcm-c-room-switch{display:none}
@media(max-width:900px){
 .dpcm-ui .dpcm-portal-menu{flex-direction:column;overflow:visible}
 .dpcm-ui .dpcm-portal-menu a{width:100%;min-width:0;white-space:normal;min-height:46px;font-size:15px}
 .dpcm-ui button.dpcm-mobile-menu-toggle{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-height:46px;border:0;border-radius:10px;padding:10px 12px;background:#ffffff0c;color:#fff;text-align:left;font-size:15px;font-weight:600}
 .dpcm-ui button.dpcm-mobile-menu-toggle::after{content:'☰';font-size:21px;color:#61e1db}
 .dpcm-ui .dpcm-teacher-backbar{padding:12px;border-radius:14px;background:#071948}
 .dpcm-ui .dpcm-teacher-subnav{display:flex;flex-direction:column;overflow:visible;gap:4px}
 .dpcm-ui .dpcm-teacher-subnav a{min-height:44px;padding:11px 12px;color:#fff;white-space:normal;font-size:15px}
 .dpcm-teacher-backbar .dpcm-teacher-help{display:none}
 .dpcm-portal-sidebar .dpcm-sidebar-help{display:none}
 .dpcm-portal-sidebar.is-menu-open .dpcm-sidebar-help{display:flex;margin-top:10px}
}
@media(max-width:760px){
 .dpcm-ui,.dpcm-ui button,.dpcm-ui input,.dpcm-ui select,.dpcm-ui textarea,.dpcm-community,.dpcm-community button,.dpcm-community textarea,.dpcm-c-page-title{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Arial,sans-serif!important;-webkit-font-smoothing:antialiased}
 .dpcm-ui{font-size:15px;line-height:1.5}
 .dpcm-student-dashboard,.dpcm-teacher-app{margin:12px auto 24px}
 .dpcm-ui .dpcm-hero{padding:18px 16px;gap:12px;border-radius:16px;flex-direction:column;align-items:stretch}
 .dpcm-ui .dpcm-hero h2{font-size:22px;line-height:1.3}
 .dpcm-ui .dpcm-hero p{font-size:13px;line-height:1.5}
 .dpcm-ui .dpcm-hero-photo{width:44px;height:56px;min-width:44px;border-radius:10px}
 .dpcm-hero-identity{min-width:0;gap:12px}
 .dpcm-hero-identity>div{min-width:0}
 .dpcm-ui .dpcm-hero .dpcm-btn,.dpcm-hero .dpcm-sound-toggle{padding:9px 14px;font-size:14px;box-shadow:none}
 .dpcm-ui .dpcm-sidebar-help strong{font-size:14px}
 .dpcm-ui .dpcm-sidebar-help small{font-size:12px;line-height:1.6}
 .dpcm-ui .dpcm-sidebar-help .dpcm-support-wa{font-size:14px!important;min-height:44px}
 .dpcm-ui .dpcm-menu-new{font-size:10px;height:22px;min-width:34px;border-radius:6px}
 .dpcm-ui .dpcm-new-badge{font-size:11px}
 .dpcm-teacher-backbar.is-menu-open .dpcm-teacher-help{display:flex;flex-wrap:wrap;background:transparent;border-top:1px solid #ffffff20;border-radius:0;padding:12px 0 0}
 .dpcm-teacher-backbar.is-menu-open .dpcm-teacher-help strong{font-size:14px}
 .dpcm-teacher-backbar.is-menu-open .dpcm-teacher-help small{font-size:12px}
 .dpcm-teacher-backbar.is-menu-open .dpcm-support-wa{font-size:14px!important;min-height:44px}
 .dpcm-community .dpcm-c-member-action,.dpcm-community .dpcm-c-more-members,.dpcm-community .dpcm-c-request-button,.dpcm-community .dpcm-c-review-actions button,.dpcm-community .dpcm-c-dialog button{min-height:44px;font-size:14px}
 .dpcm-community .dpcm-c-role,.dpcm-community .dpcm-c-online,.dpcm-community .dpcm-c-muted{font-size:11px}
 .dpcm-community .dpcm-c-older,.dpcm-community .dpcm-c-jump{min-height:40px;font-size:13px}
 .dpcm-portal-sidebar{padding:8px!important;position:relative!important;top:auto!important}
 .dpcm-portal-layout{gap:12px}
 .dpcm-ui .dpcm-portal-content>.dpcm-portal-section{padding:14px;border-radius:14px;margin-bottom:14px}
 .dpcm-ui .dpcm-student-info-grid,.dpcm-ui .dpcm-stat-grid,.dpcm-ui .dpcm-learning-stats,.dpcm-ui .dpcm-action-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px}
 .dpcm-ui .dpcm-student-info-card{padding:12px;min-height:85px;gap:8px;align-items:flex-start}
 .dpcm-student-info-card>div{min-width:0}
 .dpcm-ui .dpcm-student-info-icon{display:none}
 .dpcm-student-info-card strong{font-size:14px}
 .dpcm-ui .dpcm-student-info-card small,.dpcm-ui .dpcm-stat-label{font-size:12px}
 .dpcm-ui .dpcm-stat-card{padding:13px;gap:8px;min-width:0;flex-wrap:wrap}
 .dpcm-ui .dpcm-stat-value{font-size:24px}
 .dpcm-ui .dpcm-stat-icon{width:32px;height:32px;min-width:32px;font-size:14px}
 .dpcm-ui .dpcm-learning-stats>div{padding:13px}
 .dpcm-ui .dpcm-learning-stats strong{font-size:23px}
 .dpcm-ui .dpcm-learning-stats small{font-size:12px}
 .dpcm-ui .dpcm-section-head{margin:16px 0 12px;gap:10px;flex-wrap:wrap}
 .dpcm-ui .dpcm-section-head h3{font-size:21px;line-height:1.3}
 .dpcm-ui .dpcm-section-head p{font-size:14px}
 .dpcm-ui .dpcm-public-card,.dpcm-ui.dpcm-public-card,.dpcm-ui .dpcm-teacher-panel,.dpcm-ui.dpcm-teacher-panel{padding:18px 15px;margin:16px 0;border-radius:16px}
 .dpcm-ui .dpcm-form input,.dpcm-ui .dpcm-form select,.dpcm-ui .dpcm-form textarea{font-size:16px}
 .dpcm-ui .dpcm-form-grid,.dpcm-ui .dpcm-learning-grid,.dpcm-ui .dpcm-profile-grid{grid-template-columns:minmax(0,1fr)}
 .dpcm-ui .dpcm-learning-panel{padding:16px;min-width:0}
 .dpcm-ui .dpcm-learning-panel .dpcm-btn{max-width:100%}
 .dpcm-ui .dpcm-table-wrap{max-width:100%;min-width:0;overscroll-behavior-x:contain}
 .dpcm-ui .dpcm-cert-issued-card{padding:16px;gap:12px;flex-wrap:wrap}
 .dpcm-ui .dpcm-cert-issued-card h3{font-size:21px}
 .dpcm-cert-actions .dpcm-btn{width:100%;min-width:0;font-size:14px}
 .dpcm-ui .dpcm-quick-notification-box{padding:12px;border-radius:12px}
 .dpcm-ui .dpcm-quick-notification-link .dpcm-quick-title{font-size:16px}
 .dpcm-ui .dpcm-quick-notification-detail{margin:0;padding:12px;font-size:15px;line-height:1.6}
 .dpcm-community{display:flex;flex-direction:column;margin:12px auto 24px;border-radius:16px}
 .dpcm-community .dpcm-c-rooms{padding:10px 12px}
 .dpcm-community .dpcm-c-self,.dpcm-community .dpcm-c-room-label,.dpcm-community .dpcm-c-room-note{display:none}
 .dpcm-community .dpcm-c-room-switch{display:flex;justify-content:space-between;align-items:center;min-height:44px;width:100%;background:transparent;color:#fff;border:0;padding:8px 0;font-size:15px;text-align:left}
 .dpcm-c-room-switch::after{content:'⌄';font-size:24px;color:#5ee2d3}
 .dpcm-community .dpcm-c-room-list{flex-direction:column;overflow:auto;max-height:260px;padding-top:6px}
 .dpcm-community .dpcm-c-room{min-width:0;width:100%;min-height:52px;padding:10px}
 .dpcm-community .dpcm-c-header{padding:12px;gap:10px;flex-wrap:wrap}
 .dpcm-community .dpcm-c-room-symbol{display:none}
 .dpcm-community .dpcm-c-title{font-size:17px!important;line-height:1.35!important}
 .dpcm-community .dpcm-c-subtitle{font-size:12px}
 .dpcm-community .dpcm-c-connection{font-size:11px;padding:5px 8px}
 .dpcm-community .dpcm-c-header .dpcm-sound-toggle{font-size:12px;padding:7px 9px;min-height:40px}
 .dpcm-community .dpcm-c-tabs{gap:5px;padding:0 10px;overflow:visible}
 .dpcm-community .dpcm-c-tabs button{flex:1;font-size:14px;min-height:46px}
 .dpcm-community .dpcm-c-tabs button span{font-size:11px}
 .dpcm-community .dpcm-c-banner{padding:9px 12px;font-size:12px;line-height:1.5}
 .dpcm-community .dpcm-c-thread{height:clamp(300px,50dvh,530px);min-height:180px;padding:15px 10px}
 .dpcm-community .dpcm-c-message{max-width:96%;gap:6px}
 .dpcm-community .dpcm-c-message>.dpcm-c-avatar{width:29px;min-width:29px;height:36px;border-radius:9px}
 .dpcm-community .dpcm-c-bubble{padding:11px 12px 8px;min-width:0;flex:1}
 .dpcm-community .dpcm-c-bubble-head{gap:8px}
 .dpcm-community .dpcm-c-sender{display:flex;flex-direction:column;align-items:flex-start;gap:2px}
 .dpcm-community .dpcm-c-body{font-size:16px;line-height:1.55;margin:8px 0 4px}
 .dpcm-community .dpcm-c-day{font-size:12px;padding:5px 11px}
 .dpcm-community .dpcm-c-typing{font-size:13px;padding:5px 12px;min-height:28px}
 .dpcm-community .dpcm-c-composer{gap:8px;padding:10px 10px max(10px,env(safe-area-inset-bottom));background:#fff}
 .dpcm-community .dpcm-c-composer textarea{padding:11px 12px;min-height:48px;max-height:130px;border-radius:20px}
 .dpcm-community .dpcm-c-send{width:48px;min-width:48px;height:48px;padding:12px}
 .dpcm-community .dpcm-c-send span{display:none}
 .dpcm-community .dpcm-c-compose-help{font-size:11px;gap:5px}
 .dpcm-community .dpcm-c-compose-help>span:first-child{font-size:0}
 .dpcm-community .dpcm-c-compose-help>span:first-child::after{content:'Private batch chat';font-size:11px}
 .dpcm-community .dpcm-c-person-copy strong{font-size:15px}
 .dpcm-community .dpcm-c-person-copy small{font-size:12px}
 .dpcm-community .dpcm-c-directory,.dpcm-community .dpcm-c-moderation{padding:15px}
 .dpcm-community .dpcm-c-member{flex-wrap:wrap;gap:10px}
 .dpcm-community .dpcm-c-receipt{font-size:12px;min-height:32px}
 .dpcm-c-page-title{margin:12px auto 8px}
 .dpcm-c-page-title h2{font-size:22px;margin:4px 0}
 .dpcm-c-page-title>p,.dpcm-c-page-title>.dpcm-eyebrow{display:none}
 .dpcm-certificate-toolbar .dpcm-btn{flex:1 1 140px}
 .dpcm-certificate-preview{height:60vh}
}
@media(prefers-reduced-motion:reduce){.dpcm-ui *,.dpcm-community *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
