/* V224: a consistent finish using the account's light/dark theme tokens. */
html body #app :is(.panel,.student-profile-kpis>div,.teacher-dashboard-card){border-color:var(--dm-line);border-radius:18px}html body #app :is(.hero h1,.panel-head h2,.panel-head h3){letter-spacing:-.025em}html body #app :is(.btn,.icon-btn,.dm-inbox-search,.dm-chat-title,.dm-chat-compose){transition:background-color .16s ease,border-color .16s ease,box-shadow .16s ease}html body :is(#app,#modalWrap) :is(button,a,input,textarea,select):focus-visible{outline:2px solid var(--dm-accent-text);outline-offset:3px}html body #app .hero{gap:18px}html body #app :is(.panel-head,.panel-foot){gap:14px}html body #app .table-wrap{border-radius:16px}html body #app table th{letter-spacing:.04em;font-size:11px}html body #app table td{vertical-align:middle}html body #app .dm-student-inbox-list>button{padding:14px;box-shadow:none;transition:background .16s}html body #app .dm-student-chat-title strong{font-size:16px;letter-spacing:-.02em}
/* Premium communications: restrained surfaces, crisp hierarchy and compact controls. */
html body #modalWrap .dm-wa-dialog{border:1px solid var(--dm-line)!important;box-shadow:0 28px 90px #00000030!important;border-radius:26px!important}html body #modalWrap .dm-wa-dialog .modal-head{padding:18px 20px!important;background:var(--surface)!important}html body #modalWrap .dm-wa-dialog .dm-communication-title h2{font-size:19px!important;letter-spacing:-.035em;margin:0 0 5px!important}html body #modalWrap .dm-wa-dialog .dm-communication-title small{font-size:11px;line-height:1.4}.dm-wa-dialog .dm-recipient-picker .field{margin:0}.dm-wa-dialog .dm-student-recipients label{border-bottom:1px solid var(--dm-line)!important;transition:background .15s}.dm-wa-dialog .dm-student-recipients label:has(input:checked){background:var(--dm-brand-soft)!important;border-radius:12px!important}.dm-wa-dialog .dm-recipient-avatar{font-weight:700;font-size:13px}.dm-wa-dialog .dm-selection-actions .btn{font-size:11px!important;border-radius:10px!important}.dm-wa-dialog .dm-selection-actions .dm-group-tools summary{font-size:11px;min-height:40px}.dm-wa-dialog .dm-wa-stage{background:var(--surface-2)!important;padding:24px}.dm-wa-dialog .dm-wa-notice{background:transparent!important;font-size:11px;padding:0 12px;max-width:290px}.dm-wa-dialog .dm-wa-preview{border-radius:18px 5px 18px 18px;box-shadow:0 4px 20px #00000008;border:1px solid var(--dm-brand-border);padding:14px 18px}.dm-wa-dialog .dm-wa-preview small{font-size:9px}.dm-wa-dialog .dm-wa-chat-top .dm-recipient-chips>span{font-size:10px;padding:5px 9px}.dm-wa-dialog .dm-wa-chat-top>.btn{min-height:38px;font-size:11px!important}.dm-wa-dialog .dm-wa-composer{padding:8px 16px 16px}.dm-wa-dialog .dm-wa-attachment-row .btn{border:0!important;background:transparent!important;box-shadow:none!important;color:var(--dm-ink-2)!important}.dm-wa-dialog .dm-wa-attachment-row .btn:hover{background:var(--surface-2)!important}.dm-wa-dialog .dm-wa-input-row textarea{box-shadow:none!important}.dm-wa-dialog #dmStudentBroadcastSave{box-shadow:0 4px 14px #7051cf25!important}
/* Wallet: a dedicated full-screen pass on a phone, one primary save icon below. */
html body #modalWrap .dm-card-dialog{display:flex!important;flex-direction:column!important;height:min(900px,calc(100dvh - 28px))!important;max-height:calc(100dvh - 28px)!important;overflow:hidden!important;border-radius:26px!important}.dm-card-dialog>.modal-head{flex-shrink:0;padding:14px 20px!important}.dm-card-dialog>.modal-head h2{font-size:18px!important;margin:0!important}.dm-card-dialog>.modal-body{flex:1;min-height:0;overflow:auto;padding:16px!important}.dm-card-dialog #dmStudentCardView{min-height:100%;display:flex;flex-direction:column;gap:14px}.dm-card-dialog .dm-wallet-pass{flex:1;display:flex;flex-direction:column;justify-content:center;padding:26px;min-height:460px;background:radial-gradient(ellipse at 100% 0%,#ffffff22,transparent 50%),linear-gradient(150deg,var(--dm-pass-color),var(--dm-pass-dark))!important;border:1px solid #ffffff22;box-shadow:0 14px 32px #00000018}.dm-wallet-pass::before{content:'';position:absolute;width:360px;height:360px;border:1px solid #ffffff10;right:-190px;top:100px;transform:rotate(25deg);border-radius:65px;pointer-events:none}.dm-wallet-pass .dm-wallet-brand{position:relative;margin-bottom:28px}.dm-wallet-pass .dm-wallet-member{position:relative}.dm-card-dialog .dm-wallet-brand>.school-brand-logo{width:48px;height:48px;flex-basis:48px;border-radius:14px!important;padding:6px;box-shadow:0 4px 18px #00000016}.dm-card-dialog .dm-wallet-member h3{font-size:25px!important;letter-spacing:-.03em}.dm-card-dialog .dm-wallet-divider{border-color:#ffffff30;margin:24px -26px}.dm-card-dialog .dm-wallet-code{flex:1;justify-content:center;gap:12px;position:relative}.dm-card-dialog .dm-wallet-code canvas{width:min(240px,100%)!important;box-shadow:0 8px 30px #00000018;border-radius:18px}.dm-card-dialog .dm-wallet-code strong{font-size:15px}.dm-card-dialog .dm-wallet-code small{font-size:11px}.dm-card-dialog .dm-wallet-pass>footer{margin-top:26px;font-size:8px}.dm-card-dialog .dm-wallet-actions{display:flex!important;justify-content:center!important;align-items:center!important;gap:28px!important;flex-shrink:0;padding:12px 20px max(14px,env(safe-area-inset-bottom))!important;border-top:0!important}.dm-card-save,.dm-card-options{appearance:none;border:0;background:transparent;display:flex;flex-direction:column;align-items:center;gap:7px;cursor:pointer;color:var(--dm-ink);padding:0;box-shadow:none!important}.dm-card-save>span{display:grid;place-items:center;width:54px;height:54px;background:var(--dm-action-bg,#7051cf);color:var(--dm-action-ink,#fff);border-radius:50%;box-shadow:0 5px 18px #00000012}.dm-card-save>span svg{width:23px;height:23px}.dm-card-save>small,.dm-card-options>small{font-size:10px;color:var(--dm-muted)}.dm-card-options>svg{padding:14px;width:48px;height:48px;box-sizing:border-box;border-radius:50%;background:var(--surface-2);border:1px solid var(--dm-line)}.dm-card-save:disabled{opacity:.45;cursor:wait}.dm-card-dialog .dm-card-manual{margin:0}.dm-card-dialog .dm-card-manual[hidden]{display:none!important}.dm-card-dialog .dm-card-manual .btn{margin:6px 6px 6px 0}.dm-card-dialog .dm-card-manual small{display:block;color:var(--dm-muted);font-size:11px;line-height:1.5}.dm-card-dialog #dmCardImagePanel[hidden]{display:none!important}
/* The exact same private QR is also available in the student's profile. */
.dm-profile-membership{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px;border-radius:20px;background:radial-gradient(ellipse at top right,#ffffff16,transparent 70%),linear-gradient(130deg,var(--dm-pass-color),var(--dm-pass-dark));color:#fff;margin:16px 0;border:1px solid #ffffff22;overflow:hidden}.dm-profile-membership-info{display:flex;gap:14px;align-items:flex-start;min-width:0}.dm-profile-membership-info>span{width:38px;flex:0 0 38px;height:38px;display:grid;place-items:center;background:#ffffff18;border-radius:12px}.dm-profile-membership-info>div{min-width:0}.dm-profile-membership-info :is(small,strong,p){color:#fff!important}.dm-profile-membership-info small{display:block;font-size:10px;opacity:.8}.dm-profile-membership-info strong{display:block;font-size:18px;margin:5px 0}.dm-profile-membership-info p{font-size:11px;line-height:1.4;margin:0 0 10px}.dm-profile-membership-info .btn{background:#ffffff18!important;color:#fff!important;border:1px solid #ffffff38!important;font-size:11px!important;padding:8px 12px!important;min-height:40px!important}#dmProfileMembershipQR{flex:0 0 98px;min-height:98px;display:grid;place-items:center}#dmProfileMembershipQR canvas{width:98px;height:98px;border-radius:12px;filter:none!important;background:transparent}#dmProfileMembershipQR :is(small,p){font-size:11px;color:#fff!important}
/* Large mobile camera; a practical webcam popup on desktop. */
html body #modalWrap .dm-smart-scanner-dialog{width:min(680px,calc(100vw - 48px))!important;height:min(780px,calc(100dvh - 48px))!important;border-radius:26px!important}.dm-smart-scanner .dm-camera-frame{border-width:2px;box-shadow:none}.dm-smart-scanner .dm-scan-reticle{width:220px;height:220px;max-width:65%;border-width:2px}.dm-smart-scanner .dm-scan-course select{min-height:44px}.dm-smart-scanner .dm-scan-feedback{backdrop-filter:blur(16px);padding:14px;border-radius:16px}.dm-smart-scanner .dm-scan-feedback strong{letter-spacing:-.02em}.dm-smart-scanner .dm-scan-toolbar .btn{font-size:11px!important;min-height:36px}.dm-smart-scanner .dm-scanner-manual summary{font-size:10px;min-height:30px}
/* One compact briefing, with expandable details rather than repeated boxes. */
html body #modalWrap .dm-access-summary{width:560px!important;border-radius:24px!important;max-height:calc(100dvh - 32px)!important;display:flex!important;flex-direction:column}.dm-access-summary .dm-access-head{padding:20px!important;flex-shrink:0}.dm-access-summary .dm-access-heading .eyebrow{font-size:10px!important;text-transform:capitalize!important;letter-spacing:.03em!important}.dm-access-summary .dm-access-heading h2{font-size:23px!important;letter-spacing:-.035em}.dm-access-summary .dm-access-heading p{margin:4px 0 0;font-size:12px;color:var(--dm-muted)}html body #modalWrap .dm-access-summary .dm-access-body{padding:0 20px 18px!important;min-height:0;overflow:auto;flex:1}.dm-brief-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:4px 0 16px}.dm-brief-metric{border:1px solid var(--dm-line);border-radius:16px;background:var(--surface-2);color:var(--dm-ink);display:grid;grid-template-columns:1fr auto;align-items:center;gap:10px;padding:14px;cursor:pointer;text-align:left}.dm-brief-metric>span{color:var(--dm-accent-text)}.dm-brief-metric>span svg{width:19px;height:19px}.dm-brief-metric strong{font-size:24px;letter-spacing:-.04em;line-height:1}.dm-brief-metric small{grid-column:1/-1;font-size:10px;color:var(--dm-muted)}.dm-brief-finance{display:flex;align-items:center;gap:18px;padding:14px;border:1px solid var(--dm-line);border-radius:16px;margin-bottom:14px}.dm-brief-finance>div{flex:1;min-width:0}.dm-brief-finance small{display:block;font-size:10px;color:var(--dm-muted)}.dm-brief-finance strong{display:block;font-size:18px;margin-top:5px;overflow-wrap:anywhere}.dm-brief-sections{display:grid;gap:8px}.dm-brief-section{border:1px solid var(--dm-line);border-radius:14px;background:var(--surface);overflow:hidden}.dm-brief-section>summary{display:flex;align-items:center;gap:10px;padding:14px;min-height:50px;cursor:pointer;list-style:none}.dm-brief-section>summary::-webkit-details-marker{display:none}.dm-brief-section>summary strong{flex:1;font-size:12px}.dm-brief-section>summary>span{font-size:10px;min-width:24px;text-align:center;padding:3px 7px;border-radius:20px;background:var(--dm-brand-soft);color:var(--dm-accent-text)}.dm-brief-section>summary>svg{width:16px;height:16px;color:var(--dm-muted);transition:transform .15s}.dm-brief-section[open]>summary>svg{transform:rotate(90deg)}.dm-brief-section>div{padding:0 12px 12px}.dm-brief-row{width:100%;border:0;border-top:1px solid var(--dm-line);background:transparent;color:var(--dm-ink);display:flex;align-items:center;gap:10px;text-align:left;padding:12px 2px;cursor:pointer}.dm-brief-row>span{flex:0 0 32px;width:32px;height:32px;display:grid;place-items:center;border-radius:10px;background:var(--dm-brand-soft);color:var(--dm-accent-text)}.dm-brief-row>div{flex:1;min-width:0}.dm-brief-row strong{display:block;font-size:12px;line-height:1.4;overflow-wrap:anywhere}.dm-brief-row small{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:10px;line-height:1.5;color:var(--dm-muted);margin-top:3px;overflow-wrap:anywhere}.dm-brief-row>b{font-size:11px;color:var(--dm-accent-text)}.dm-brief-row>svg{width:16px;height:16px;color:var(--dm-muted)}.dm-brief-all{display:flex;align-items:center;justify-content:space-between;gap:10px;border:0;background:transparent;color:var(--dm-accent-text);font-size:11px;padding:8px 4px;width:100%;min-height:38px;cursor:pointer}.dm-brief-all svg{width:15px;height:15px}.dm-brief-clear{display:flex;flex-direction:column;align-items:center;gap:10px;padding:24px 12px;text-align:center}.dm-brief-clear svg{width:34px;height:34px;color:var(--dm-accent-text)}.dm-brief-clear strong{font-size:16px}.dm-brief-clear p{font-size:12px;color:var(--dm-muted);margin:0}.dm-access-summary .dm-access-foot{display:flex;gap:16px;justify-content:space-between;align-items:center;padding:16px 20px!important;flex-shrink:0}.dm-brief-preference{display:flex;gap:8px;align-items:center;font-size:10px;line-height:1.4;color:var(--dm-muted)}.dm-brief-preference input{accent-color:var(--dm-accent-text);width:17px!important;height:17px!important;flex:0 0 17px;margin:0}.dm-access-summary .dm-access-enter{font-size:12px!important;min-height:44px!important;border-radius:14px!important;white-space:nowrap}.dm-brief-section .dm-access-notices button{padding:10px!important}.dm-brief-section .dm-notice-copy p{font-size:11px!important}.dm-brief-section .dm-notice-copy small{font-size:9px!important}
@media(max-width:700px){html body #app .hero{gap:12px;margin-bottom:18px}html body #app .hero h1{font-size:25px!important}html body #app .hero p{line-height:1.5;font-size:12px}.dm-profile-membership{padding:14px;gap:10px}.dm-profile-membership-info>span{display:none}.dm-profile-membership-info strong{font-size:16px}.dm-profile-membership-info p{font-size:10px}html body #modalWrap .dm-card-dialog{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;border-radius:0!important}body:has(.dm-card-dialog) #modalWrap{padding:0!important}.dm-card-dialog>.modal-body{padding:12px 16px!important}.dm-card-dialog .dm-wallet-pass{min-height:0;padding:24px}.dm-card-dialog .dm-wallet-brand{margin-bottom:24px}.dm-card-dialog .dm-wallet-code canvas{width:min(250px,100%)!important}.dm-card-dialog .dm-wallet-pass>footer{margin-top:22px}.dm-card-dialog .dm-wallet-divider{margin:22px -24px}.dm-card-dialog .dm-wallet-actions{gap:38px!important;padding-top:6px!important}.dm-card-dialog .dm-wallet-member h3{font-size:24px!important}html body #modalWrap .dm-smart-scanner-dialog{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;border-radius:0!important}.dm-smart-scanner-dialog .modal-head{padding:10px 14px!important}.dm-smart-scanner-dialog .modal-head small{display:none}.dm-smart-scanner-dialog .modal-head h2{font-size:18px!important}.dm-smart-scanner{gap:6px;padding:0 6px max(6px,env(safe-area-inset-bottom))}.dm-smart-scanner .dm-camera-frame{border-radius:20px}.dm-smart-scanner .dm-scan-course{padding:0 6px}.dm-smart-scanner .dm-scan-course>span{font-size:10px}.dm-smart-scanner .dm-scan-toolbar{padding:0 6px}.dm-smart-scanner .dm-scanner-manual summary{min-height:26px;font-size:10px}html body #modalWrap .dm-wa-dialog{border-radius:0!important;border-width:0!important}.dm-wa-dialog .dm-wa-stage{padding:20px 16px}.dm-wa-dialog .dm-wa-composer{padding-bottom:max(14px,env(safe-area-inset-bottom))}html body #modalWrap .dm-access-summary{width:calc(100vw - 24px)!important;max-width:calc(100vw - 24px)!important;border-radius:22px!important}.dm-access-summary .dm-access-head{padding:16px!important}.dm-access-summary .dm-access-heading h2{font-size:21px!important}html body #modalWrap .dm-access-summary .dm-access-body{padding:0 14px 14px!important}.dm-brief-metric{padding:12px 10px;gap:8px}.dm-brief-metric strong{font-size:22px}.dm-access-summary .dm-access-foot{padding:14px!important;gap:10px}.dm-access-summary .dm-access-enter{font-size:11px!important;padding:12px!important}.dm-brief-preference{max-width:140px}.dm-brief-finance{gap:10px}.dm-brief-finance strong{font-size:16px}}
@media(max-width:360px){.dm-card-dialog .dm-wallet-pass{padding:18px}.dm-card-dialog .dm-wallet-brand{margin-bottom:18px}.dm-card-dialog .dm-wallet-brand strong{font-size:16px}.dm-card-dialog .dm-wallet-member h3{font-size:20px!important}.dm-card-dialog .dm-wallet-avatar{width:46px;height:46px;flex-basis:46px}.dm-card-dialog .dm-wallet-code canvas{width:200px!important}.dm-card-dialog .dm-wallet-divider{margin:18px -18px}.dm-card-dialog .dm-wallet-pass>footer{margin-top:18px}.dm-brief-metric{padding:10px 8px}}
@media(prefers-reduced-motion:reduce){html body :is(#app,#modalWrap) *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* Conversation height follows the viewport; lists never stretch the composer. */
html body #app .dm-student-inbox{gap:0!important;height:clamp(420px,calc(100dvh - 240px),760px);min-height:0;grid-template-rows:minmax(0,1fr)}html body #app .dm-student-inbox-list{height:100%;min-height:0;overflow:auto;gap:2px;padding:8px;box-sizing:border-box;overscroll-behavior:contain}html body #app .dm-student-inbox-list>button{flex:0 0 auto;min-height:68px!important;padding-top:12px!important;padding-bottom:12px!important}html body #app .dm-student-inbox-list .dm-inbox-search{position:sticky;top:0;z-index:1;flex-shrink:0;background:var(--surface-2);border-radius:12px;padding:11px}.dm-student-inbox-list .dm-inbox-section{font-size:10px;text-transform:uppercase;letter-spacing:.08em;margin:14px 8px 5px;color:var(--dm-muted)}html body #app .dm-student-inbox-reader{height:100%;min-height:0;min-width:0;overflow:hidden}html body #app .dm-student-inbox-reader .dm-student-chat{height:100%!important;min-height:0!important}html body #app .dm-student-chat-title{flex-shrink:0;min-height:62px;box-sizing:border-box}html body #app .dm-student-chat-list{background:var(--surface-2)!important;padding:20px;min-height:0}html body #app .dm-student-message .dm-chat-bubble{border-radius:16px 16px 16px 4px;border:1px solid var(--dm-line);box-shadow:0 2px 8px #00000006}html body #app .dm-student-message.own .dm-chat-bubble{border-radius:16px 4px 16px 16px}.dm-group-recipient-note{padding:8px 16px!important;margin:0!important;font-size:10px!important;background:var(--surface);border-bottom:1px solid var(--dm-line);flex-shrink:0}html body #app .dm-student-compose{display:grid!important;grid-template-columns:minmax(0,1fr) 40px 44px;grid-template-rows:auto auto;align-items:center!important;gap:4px 8px!important;padding:10px 14px!important;min-height:0;box-sizing:border-box}html body #app .dm-student-compose>textarea{grid-column:1;grid-row:1;width:100%!important;min-width:0;min-height:44px!important;height:44px!important;max-height:100px;box-sizing:border-box;border-radius:24px!important;padding:10px 14px!important;line-height:22px!important;margin:0!important;resize:none}html body #app .dm-student-compose>.dm-whatsapp-button{grid-column:2;grid-row:1;width:40px!important;height:40px!important;min-height:40px!important;border-radius:50%!important;margin:0!important}html body #app .dm-student-compose>:is(#dmStudentSendButton,#dmGroupSendButton){grid-column:3;grid-row:1;width:44px!important;height:44px!important;min-height:44px!important;padding:12px!important;border:0!important;border-radius:50%!important;background:var(--dm-accent-solid)!important;color:white!important;margin:0!important;display:grid!important;place-items:center!important;font-size:0!important}html body #app .dm-student-compose>:is(#dmStudentSendButton,#dmGroupSendButton) svg{width:20px!important;height:20px!important}html body #app .dm-student-compose>.dm-media-tools{grid-column:1/-1;grid-row:2;display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:0!important;width:100%}html body #app .dm-student-compose .dm-media-tools .btn{min-height:34px!important;padding:5px 8px!important;font-size:10px!important;border:0!important;background:transparent!important;box-shadow:none!important;border-radius:9px!important}html body #app .dm-student-compose .dm-media-tools .icon{width:16px;height:16px}html body #app .dm-student-chat-title .btn{min-height:38px!important;font-size:10px!important;padding:8px 10px!important}
@media(max-width:700px){html body #app .dm-student-inbox{height:max(240px,calc(var(--dm-student-vh,100dvh) - 230px));border-radius:16px}html body #app .dm-student-compose{padding:8px 10px!important}html body #app .dm-student-compose .dm-media-tools .btn{min-height:40px!important}html body #app .dm-student-chat-list{padding:14px}html body #app .dm-student-inbox .dm-student-chat-title{min-height:56px}}
@media(max-width:700px){html body #modalWrap .modal.dm-access-dialog.dm-card-dialog{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;transform:none!important;margin:0!important;border-radius:0!important}html body #modalWrap .modal.dm-access-dialog.dm-smart-scanner-dialog{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;transform:none!important;margin:0!important;border-radius:0!important}}
.dm-brief-metrics{grid-template-columns:repeat(auto-fit,minmax(85px,1fr))}.dm-card-dialog>.modal-body{max-height:none!important}.dm-card-dialog .dm-wallet-pass{box-sizing:border-box}.dm-access-summary .dm-access-foot .dm-access-enter{background:var(--dm-action-bg)!important;color:#fff!important}
html body #app .dm-student-inbox-list>button[data-communication-name]{padding-left:62px!important;padding-right:12px!important}html body #app .dm-student-inbox-list>button[data-communication-name] strong{font-size:13px;line-height:1.4}.dm-student-inbox-list>button[data-communication-name] small{font-size:11px;margin-top:5px}.dm-card-dialog{opacity:1!important}
@media(max-width:700px){html body #modalWrap:has(.dm-card-dialog,.dm-smart-scanner-dialog){padding:0!important;display:flex!important;align-items:center;justify-content:center}}
@media(max-width:700px) and (max-height:700px){.dm-card-dialog .dm-wallet-pass{flex:none;min-height:520px}.dm-card-dialog>.modal-body{overflow:auto}}

/* V225: readable personal preference and consistent form sizing. */
.dm-greeting-preference{margin-top:20px;display:grid;gap:8px}.dm-greeting-preference label{font-weight:650}.dm-greeting-preference select{width:100%;min-height:44px;background:var(--surface);color:var(--text);border:1px solid var(--border);border-radius:12px;padding:10px 12px}.dm-greeting-preference small{color:var(--muted)}

.dm-appearance-options>button span{display:grid;place-items:center}.dm-appearance-options .icon{width:24px;height:24px}.dm-appearance-options>button{transition:background-color .18s ease,border-color .18s ease,box-shadow .18s ease}
@media(max-width:700px){.modal input:not([type=checkbox]):not([type=radio]):not([type=file]),.modal textarea,.modal select{font-size:16px}.modal .field{min-width:0}.modal :is(h2,h3,strong){overflow-wrap:anywhere}}
@media(prefers-reduced-motion:reduce){.dm-appearance-options>button{transition:none}}

/* Filters fit the available desktop column even with the sidebar present. */
.dm-notice-advanced :is(input,select){width:100%;min-width:0;max-width:100%}
@media(min-width:761px) and (max-width:1100px){body .dm-notice-controls>.dm-notice-advanced{grid-template-columns:repeat(3,minmax(0,1fr))}body .dm-notice-advanced>.btn{grid-column:1/-1;justify-self:end}}

@media(max-width:700px){body .dm-student-filter-panel .students-toolbar :is(input,select){font-size:16px!important}}
@media(max-width:380px){body .dm-student-filter-panel .students-toolbar{grid-template-columns:minmax(0,1fr)!important}}
