.setting-search-form{display:flex;gap:8px;margin:0 0 16px;max-width:760px}.setting-search-form input{flex:1;min-width:0}.setting-results{display:grid;gap:8px}.setting-result{display:flex;gap:12px;align-items:center;border:1px solid var(--line);border-radius:5px;padding:14px;background:var(--surface)}.setting-result>div{flex:1;min-width:0}.setting-result strong{font-size:13px}.setting-result small{display:block;overflow-wrap:anywhere;margin-top:5px}.setting-highlight{outline:2px solid var(--accent);outline-offset:5px;border-radius:4px;scroll-margin-top:90px}.report-card{padding:16px;border:1px solid var(--line);border-radius:5px;background:var(--surface);margin:12px 0;font-size:13px;overflow-wrap:anywhere}.report-card header{display:flex;gap:12px;justify-content:space-between;flex-wrap:wrap;margin-bottom:12px}.report-card time,.report-timeline{font-size:12px;color:var(--muted)}.report-timeline li{padding:7px 0}.report-timeline p{margin:5px 0}.report-resolution{padding:10px;background:var(--accent-soft);border-radius:4px}.medal-order{display:flex;align-items:center;gap:6px;font-size:11px;color:var(--muted);margin-top:8px}.medal-order select{width:70px;padding:4px}.notification-entry>.button{margin:0 16px 14px 48px}.moderator-tools .inline-form{flex-wrap:wrap;gap:8px}.moderator-tools .inline-form input:not([type=hidden]):not([type=checkbox]){min-width:120px;flex:1}.moderator-tools .inline-form select{max-width:100%}
.medal-batch-panel>summary{display:flex;gap:8px;align-items:center;font-size:14px;font-weight:600;padding:4px 0}.medal-batch-panel[open]>summary{margin-bottom:18px}.profile-balance{font-size:12px;color:var(--muted)}.report-card .report-resolution{line-height:1.8}
@media(max-width:760px){input,select,textarea{font-size:16px}.form-stack>.button,.settings-card .button{min-height:42px}.action-wrap>.button{min-height:38px}.setting-result{padding:12px}.setting-search-form .button{padding:8px 10px;flex:none}.report-card{padding:13px}.report-card header{gap:5px}.record-search{flex-wrap:wrap}.content .record-search input{min-width:0;flex-basis:100%}.record-search select{min-width:0;max-width:100%}.medal-option{align-items:flex-start}.medal-option>span:last-child{min-width:0;overflow-wrap:anywhere}.emote-dialog{max-height:calc(100dvh - 32px);width:calc(100vw - 24px);max-width:480px;padding:14px}.emote-tabs{overflow-x:auto;flex-wrap:nowrap;overscroll-behavior:contain}.emote-tabs button{flex:none;min-height:40px}.emote-grid button{min-height:44px;min-width:44px}.compose-toolbar{flex-wrap:wrap}.composer .compose-toolbar .icon-button{min-height:36px;min-width:32px}.composer .compose-body{font-size:16px;min-height:180px}#reply-form .composer-footer,#reply-form .compose-actions{gap:8px}.reply-focused .composer{border-color:var(--accent)}.wide-shell .inline-form{flex-wrap:wrap}.wide-shell .inline-form>*{max-width:100%}.settings-card .check{min-height:38px;align-items:center}.space-badges{flex-wrap:wrap}}
.medal-lifecycle-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:16px;padding-top:12px;border-top:1px solid var(--line)}.medal-lifecycle-actions form{margin:0}.medal-lifecycle-actions .hint{flex:1;min-width:160px}
.turnstile-control{width:100%;max-width:300px;min-width:0;margin:8px 0;justify-self:start}.turnstile-widget{width:100%;height:65px;min-width:0}.turnstile-control [data-turnstile]{width:300px;max-width:none;min-width:300px;height:65px;transform-origin:top left}.turnstile-control .turnstile-feedback{margin:6px 0 0;min-height:1.7em;font-size:12px;line-height:1.7;overflow-wrap:anywhere}.auth-provider-form{margin:0}.dm-heading .dm-safety-notice{color:var(--danger);font-weight:600}

/* Account roles and custom permission groups are separate identities. */
.member-groups{display:flex;align-items:center;flex-wrap:wrap;gap:5px 6px;min-width:0;max-width:100%;margin-top:6px;font-size:12px;line-height:1.5}
.member-groups-label{color:var(--muted);font-size:12px}
.member-groups .member-group{font-size:12px;max-width:100%;white-space:normal;overflow-wrap:anywhere;font-weight:400;line-height:1.5}
.space-title>.member-groups{margin-top:9px}
.account-summary-name .member-groups .member-group{font-size:12px}
.space-details .member-groups,.space-aside .member-groups,.account-summary-name .member-groups{margin-top:0}
.space-aside dd .member-groups{justify-content:flex-end}
.data-table .user-role-field{display:grid;gap:5px;color:var(--muted);font-size:12px}
.data-table .user-group-options{min-width:0;margin:2px 0 0;padding:8px 10px;border-color:var(--line)}
.user-group-options legend{font-size:12px}
.user-group-options .check{display:flex;align-items:center;gap:8px;min-height:32px;margin:0;white-space:normal;overflow-wrap:anywhere}
.user-group-options .check>input{flex:none}
.user-group-options .check>span{min-width:0}
.user-group-options .hint{margin:0}
@media(max-width:760px){.user-group-options .check{min-height:44px}.member-groups{max-width:100%}.space-aside dd .member-groups{justify-content:flex-start}}
