/* Readable working interface and role-based management. */
.profile-summary>div{min-width:0}.profile-summary h2,.profile-summary p{overflow-wrap:anywhere}
:root{--muted:#60738a}
.page-header p,.profile-summary p,.queue-heading .view-label,.subtle,.muted{color:#60738a}
.help-text,.quiet-card,.quiet-card p,.ticket-meta,.ticket-number,.stat-note,.date-cell,.date-cell small,.workspace-footnote,.event-list small,.message-header time,.message-role,.source-tag{color:#62758a}
.help-text{font-size:12px;line-height:1.65}.page-header p{font-size:14px}.breadcrumb{font-size:12px;color:#62758a}.breadcrumb a{color:#526d88}.button{font-size:14px;min-height:43px}.button.small{font-size:12px;min-height:36px}.stat-note{font-size:11px}.stat-label{color:#52697f}.ticket-table th{color:#52697f}.ticket-table td,.person-cell{color:#52697f}.ticket-meta{font-size:12px}.ticket-number{font-size:11px}.badge{font-size:12px}.badge.status-closed{color:#53687c}.badge.status-new{color:#625595}.badge.status-waiting{color:#326892}.badge.status-resolved{color:#286f52}.badge.status-in_progress{color:#8f651c}.badge.status-cancelled{color:#8d515b}.unassigned{color:#8a631f;font-size:12px}.field>label{font-size:13px;color:#405a72}.field input:not([type=checkbox]):not([type=radio]):not([type=file]),.field select,.field textarea{font-size:14px}.stack-form input::placeholder,.stack-form textarea::placeholder{color:#74859a}.form-section-heading h2{font-size:17px}.form-section-heading p{font-size:12px;color:#62758a}.tip-card ol{font-size:12px;color:#526f84}.tip-card h3{font-size:15px;color:#365d74}.quiet-card{font-size:12px}.quiet-card h3{font-size:14px}.panel-heading .subtle,.queue-heading .view-label{font-size:11px}.table-footer,.workspace-footnote{font-size:11px}.ticket-title strong{font-size:14px}.message-text{font-size:14px;color:#425d75;line-height:1.8}.message-header strong{font-size:13px;color:#36546e}.message-header time{font-size:11px}.message-role,.source-tag{font-size:11px}.internal-label{font-size:11px;color:#806020}.internal-message .message-text{color:#735c2b}.ticket-properties dt{font-size:12px;color:#60738a}.ticket-properties dd{font-size:13px;color:#405b73}.actions-panel .button,.action-details>summary{font-size:13px}.action-details .field>label{font-size:12px}.actions-panel .help-text{font-size:11px}.action-details select{font-size:13px}.note-checkbox{font-size:13px;color:#4f657a;align-items:flex-start}.checkbox-label small{font-size:11px;color:#6e7f91}.note-checkbox input{margin-top:2px}.reply-privacy{font-size:12px;line-height:1.6;color:#526d85;margin:0;padding:0 0 11px;border-bottom:1px solid #e0e8ee}.is-internal .reply-privacy{color:#806020}.ticket-mobile-shortcuts{display:none}.info-panel h2,.actions-panel h2,.reply-box h3{font-size:15px}.event-list p{font-size:13px;color:#526b83}.history-panel>summary{font-size:14px}.history-panel>summary .subtle{font-size:12px}.account-info small{display:block;max-width:140px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:11px}.account-info strong{font-size:12px}.nav-label{font-size:10px;letter-spacing:.9px;color:#9bb2c7}.sidebar .telegram-link{font-size:12px}.sidebar .telegram-link small{font-size:11px;color:#9bb2c7}
/* A clear first entry, with password access available as a secondary route. */
.login-card{max-width:415px}.login-card h2{font-size:31px}.login-card>.muted{font-size:14px;color:#5c7288;line-height:1.7;margin-bottom:23px}.mini-label{font-size:10px;letter-spacing:.8px;color:#5e7d92}.login-story p{font-size:14px;color:#b7c9da;max-width:380px}.story-points{font-size:13px;color:#d0dce7}.eyebrow{font-size:11px;color:#87d2d8;letter-spacing:1px}.login-story-footer{font-size:11px;color:#9ab3c9}.telegram-entry{min-height:49px;font-size:14px;white-space:normal}.entry-caption{font-size:12px;text-align:center;color:#5d788e;margin:9px 0 23px}.registration-preview{background:#f1f6fa;border:1px solid #dfeaf2;border-radius:11px;padding:17px;margin-bottom:23px}.registration-preview>strong{font-size:12px;color:#46657e;display:block}.registration-preview>p{font-size:12px;color:#61788d;line-height:1.65;margin:12px 0 0}.profession-chips{display:flex;flex-wrap:wrap;gap:6px;margin:12px 0 0}.profession-chips>span{font-size:11px;background:#fff;border:1px solid #dae6ef;border-radius:6px;padding:4px 7px;color:#476c85}.password-login{border-top:1px solid #dce6ef;border-bottom:1px solid #dce6ef}.password-login>summary{display:flex;align-items:center;gap:10px;list-style:none;padding:17px 0;cursor:pointer;color:#506d85;font-size:13px;font-weight:600}.password-login .stack-form{padding:2px 0 19px}.password-login .field>label{font-size:13px}.password-toggle{font-size:12px;color:#516b81;top:5px}.login-access{border:0;padding-top:0;margin-top:22px}.login-access strong{font-size:12px;color:#536d83}.login-access p{font-size:12px;color:#647b90}.login-footnote{font-size:11px;color:#72869b;margin-top:25px}.standalone-card{max-width:480px}.standalone-card>p{font-size:14px;color:#536e85}.standalone-card>.help-text{font-size:12px}.standalone-card>.text-link{font-size:13px}.login-steps{text-align:left;font-size:13px;line-height:1.8;color:#506c83;padding-left:22px;margin:23px 0}.login-wait-state{font-size:13px!important;min-height:45px}.onboarding-layout{display:grid;grid-template-columns:minmax(0,650px) 280px;gap:25px;align-items:start;max-width:960px}.onboarding-intro{display:flex;align-items:flex-start;gap:13px;margin-bottom:24px}.onboarding-intro h2{font-size:18px}.onboarding-intro p{font-size:13px;color:#60758b;margin:6px 0 0}.onboarding-layout .tip-card{font-size:13px;color:#526f84}.plain-benefits{padding-left:18px;margin:15px 0 20px;display:flex;flex-direction:column;gap:12px}.onboarding-layout .tip-card>p{margin:0;font-size:12px}.first-use-steps{list-style:none;padding:0;margin:24px auto 27px;display:flex;gap:25px;justify-content:center;max-width:680px;counter-reset:steps;text-align:left}.first-use-steps li{position:relative;padding-left:34px;flex:1;counter-increment:steps;min-width:0}.first-use-steps li:before{content:counter(steps);position:absolute;left:0;top:1px;height:24px;width:24px;border-radius:8px;background:#e8f3f7;color:#4d7e93;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:600}.first-use-steps strong{display:block;font-size:12px;color:#49687e}.first-use-steps span{display:block;font-size:11px;line-height:1.6;color:#697f93;margin-top:4px}.empty-state>p{color:#5e758b;font-size:14px;max-width:550px}.empty-state>.button{margin:4px}.compact-empty{padding:32px 20px}
/* Management: one selected section at a time. */
.profession-picker{padding:0;margin:0;border:0}.profession-picker>legend{font-size:13px;font-weight:600;color:#405a72;margin-bottom:10px}.profession-picker #id_role_slug{display:grid;grid-template-columns:1fr 1fr;gap:10px}.profession-picker #id_role_slug label{display:flex;align-items:center;gap:9px;padding:14px 12px;border:1px solid #dbe5ed;border-radius:9px;background:#fff;font-size:14px;color:#42657e;cursor:pointer;line-height:1.5}.profession-picker #id_role_slug label:has(input:checked){background:#edf7fa;border-color:#77b0bf;box-shadow:inset 0 0 0 1px #77b0bf30}.profession-picker input{accent-color:var(--teal);margin:0;width:17px;height:17px;flex-shrink:0}
.management-tabs{gap:0;position:relative;margin-bottom:23px;padding:0;border-color:#d8e2ec;overflow:auto;flex-wrap:nowrap}.management-tabs a{font-size:14px;white-space:nowrap;padding:13px 20px;color:#526d84;border-bottom:3px solid transparent;min-height:50px}.management-tabs a.selected{color:#116f86;border-bottom-color:#167f96;background:#eaf3f7;border-radius:8px 8px 0 0}.management-tabs a:hover{background:#edf4f8}.management-section>.panel-heading p{font-size:12px}.management-section h2{font-size:18px}.management-section>.panel-heading>.button{font-size:12px}.notice{font-size:12px;color:#506e86}.notice strong{font-size:13px;color:#3e627d}.notice-icon{margin-top:3px}.onboarding-team-note{margin-bottom:20px}.team-search{display:flex;align-items:center;gap:11px;padding:19px 25px;border-bottom:1px solid var(--line);flex-wrap:wrap}.team-search>.field:first-of-type{flex:1 1 230px}.team-search>.field:nth-of-type(2){flex:0 1 225px}.team-search .text-link{font-size:12px}.member-item>summary{gap:13px;padding-top:19px;padding-bottom:19px}.member-name strong{font-size:14px;color:#3d5e77}.member-name small{font-size:12px;color:#657c91}.member-role-badges{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-top:9px}.role-chip{font-size:11px;font-weight:500;display:inline-flex;padding:3px 7px;color:#466d84;background:#edf4f8;border:1px solid #dfebf3;border-radius:5px;line-height:1.4;white-space:normal}.member-name .role-chip{font-size:11px}.protected-label{display:inline-block;font-size:11px;color:#6a7c90;background:#f0f3f7;border-radius:5px;padding:4px 7px;flex-shrink:0}.protected-account{padding:21px 25px;border-top:1px solid #e4ebf3;background:#f8fbfd;color:#556f86}.protected-account>strong{font-size:14px}.protected-account>p{margin:6px 0 0;font-size:13px;line-height:1.7;max-width:700px}.role-assignment{padding:0;margin:0;border:0}.role-assignment>legend{font-size:14px;font-weight:650;color:#405f77}.role-assignment>.help-text{margin:5px 0 13px}.role-choice-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.role-choice{display:flex;align-items:flex-start;gap:9px;cursor:pointer;padding:13px 12px;border:1px solid #dbe5ed;border-radius:9px;background:#fff;min-width:0}.role-choice:has(input:checked){border-color:#6eacbc;background:#edf7fa;box-shadow:inset 0 0 0 1px #6eacbc25}.role-choice input{accent-color:var(--teal);width:16px;height:16px;margin:3px 0 0;flex-shrink:0}.role-choice>span{min-width:0}.role-choice strong{display:block;font-size:13px;color:#46687e;font-weight:650}.role-choice small{display:block;font-size:11px;color:#617e93;margin-top:4px}.role-description{display:block;font-size:11px;line-height:1.55;color:#6b7e91;margin-top:6px;overflow-wrap:anywhere}.scope-grants,.password-reset{border:1px solid #e0e8f0;border-radius:9px;padding:0 15px;background:#fff}.scope-grants>summary,.password-reset>summary{display:flex;align-items:center;list-style:none;cursor:pointer;padding:13px 0;color:#526e84;font-size:13px;font-weight:600}.scope-grants>.help-text{margin:0 0 16px}.grant-grid{display:grid;grid-template-columns:1fr 1fr;gap:25px;padding:0 0 18px}.checkbox-stack{display:flex;flex-direction:column;gap:12px}.direction-checkboxes legend{font-size:13px;color:#405e77;margin-bottom:13px}.checkbox-label{font-size:13px;color:#516b81}.password-reset .field{padding:1px 0 17px}.new-user-form #id_roles,.new-user-form #id_regions,.new-user-form #id_directions{display:flex;flex-wrap:wrap;gap:11px 20px}.new-user-form #id_roles label,.new-user-form #id_regions label,.new-user-form #id_directions label{display:flex;align-items:center;gap:7px;font-size:13px;color:#516e85}.new-user-form input[type=checkbox]{accent-color:var(--teal);height:16px;width:16px;margin:0}.new-item>summary{font-size:14px}.team-search input,.team-search select{font-size:14px}.profile-role-section{margin-bottom:26px;padding-bottom:22px;border-bottom:1px solid var(--line)}.profile-role-section h3{font-size:14px;color:#42627b;margin:0 0 10px}.profile-role-section .help-text{margin-top:12px}.profile-summary p{font-size:12px}.telegram-panel p{font-size:13px;color:#566f85}.telegram-panel .help-text{font-size:12px}.profile-layout aside .quiet-card{font-size:12px}.profile-layout aside .quiet-card h3{font-size:14px}
/* Grouped role rights and explicit scope. */
.permission-group-help{font-size:12px;line-height:1.7;color:#526f84;margin:0 0 12px}.profile-password>.help-text{padding-bottom:15px;margin:0}.role-editor textarea{min-height:78px}.role-choice{min-height:74px}.capability-option{min-height:36px}.member-item>summary,.role-item>summary{min-height:66px}.profession-picker #id_role_slug label{height:100%;min-height:57px}
.roles-list{padding:0}.role-item{border-bottom:1px solid #e6edf4}.role-item>summary{display:flex;align-items:center;gap:13px;padding:20px 25px;list-style:none;cursor:pointer}.role-item>summary:hover{background:#f8fbfd}.role-symbol{width:32px;height:32px;border-radius:9px;background:#eaf2f7;color:#5d8aa4;display:flex;align-items:center;justify-content:center;font-size:20px;flex-shrink:0}.role-summary{flex:1;min-width:0}.role-summary>strong{display:block;font-size:14px;color:#3c6079}.role-summary>small{display:block;font-size:12px;color:#637d93;margin-top:4px;line-height:1.5}.custom-role-label{font-size:11px;padding:3px 7px;border-radius:5px;color:#377f77;background:#e8f5ef}.role-editor{padding:25px;background:#f8fbfd;border-top:1px solid #e3ebf2}.readonly-field{padding:10px 12px;background:#eef3f7;color:#647b8f;font-size:14px;min-height:43px;border:1px solid #dce5ec;border-radius:8px}.scope-explanation{padding:12px 15px;border-left:3px solid #8fb8c9;background:#edf5f9;border-radius:0 7px 7px 0;font-size:12px;color:#4e7087;line-height:1.7;margin:0}.permission-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.permission-group{padding:17px;margin:0;border:1px solid #dce6ef;border-radius:10px;background:#fff;min-width:0}.permission-group>legend{font-size:13px;color:#3e617a;font-weight:650;padding:0 6px}.capability-option{display:flex;align-items:flex-start;gap:9px;font-size:13px;line-height:1.5;color:#4c6981;cursor:pointer;padding:6px 0}.capability-option input{width:16px;height:16px;margin:2px 0 0;accent-color:var(--teal);flex-shrink:0}.capability-option:has(input:disabled){cursor:default;color:#61768c}.capability-option input:disabled{opacity:.8}.role-editor .form-actions>.help-text{flex:1;max-width:480px}.region-edit{display:flex;align-items:center;gap:15px;padding:17px 25px;border-bottom:1px solid var(--line);flex-wrap:wrap}.region-edit>.field{flex:1;min-width:150px}.new-region-form{padding:22px 25px;align-items:flex-end;background:#f8fbfd}.region-list .empty-inline{font-size:13px;color:#60768b}.category-name strong{font-size:14px;color:#3f6079}.category-name small{font-size:12px;color:#627b90}.storage-note{font-size:12px;color:#62798e}.storage-note strong{font-size:13px;color:#496d84}.storage-manual>.help-text,.storage-layout>.storage-manual input{font-size:12px}.setup-steps p{color:#5e768a}.setup-steps strong{font-size:14px;color:#42677f}.storage-layout h3{font-size:16px}.upload-box>strong{font-size:13px;color:#486f87}.upload-box>span:not(.upload-icon){font-size:12px;color:#657d91}.attachment-info small{color:#607b90}.attachment-info strong{font-size:12px}.form-errors,.errorlist{font-size:13px}.flash p{font-size:13px}.flash>span{font-size:12px}
@media(max-width:1250px){.role-choice-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.management-tabs a{font-size:13px;padding-left:16px;padding-right:16px}.sidebar .main-nav a{font-size:12px}}
@media(max-width:1050px){.onboarding-layout{grid-template-columns:minmax(0,1fr)}.onboarding-layout>.tip-card{max-width:650px}.onboarding-layout .plain-benefits{gap:8px}.permission-groups{grid-template-columns:1fr}.grant-grid{gap:18px}}
@media(max-width:760px){.workspace{padding-top:22px}.page-header p{font-size:13px}.button{font-size:13px;min-height:44px}.button.small{font-size:12px;min-height:39px}.field input:not([type=checkbox]):not([type=radio]):not([type=file]),.field select,.field textarea{font-size:16px;min-height:44px}.stat-note{font-size:10px}.ticket-meta{font-size:11px}.ticket-table .badge{font-size:11px}.ticket-table td.person-cell{font-size:12px}.ticket-table td.date-cell{font-size:11px!important}.ticket-table td:nth-child(4):before{display:none}.ticket-table td:nth-child(4){max-width:160px}.ticket-meta{overflow-wrap:anywhere}.ticket-mobile-shortcuts{display:flex;gap:9px;margin:-6px 0 21px}.ticket-mobile-shortcuts>a{flex:1;font-size:12px;white-space:normal}.ticket-mobile-shortcuts .button{min-height:41px}.ticket-properties dt{font-size:12px}.ticket-properties dd{font-size:13px}.message-text{font-size:14px}.message-header strong{font-size:12px}.message-header time{font-size:11px}.reply-box .reply-privacy{font-size:12px}.reply-box textarea{font-size:16px}.note-checkbox{font-size:12px}.note-checkbox small{font-size:11px}.reply-bottom .button{font-size:13px;min-height:43px}.compact-upload .file-button{font-size:12px}.compact-upload input[type=file]{font-size:10px}.compact-upload input[type=file]::file-selector-button{font-size:11px;padding:7px}.workspace-footnote{font-size:10px}.table-footer{font-size:11px}.first-use-steps{gap:14px;max-width:330px;flex-direction:column}.first-use-steps li{padding-left:36px}.first-use-steps strong{font-size:13px}.first-use-steps span{font-size:12px}.empty-state{padding:35px 20px}.empty-state>p{font-size:13px}.empty-state>.button{display:flex;width:100%;max-width:320px;margin:8px auto}.login-story{padding:24px}.login-story-content{padding-top:20px}.login-story h1{font-size:29px;margin-bottom:9px}.login-story p{font-size:13px;max-width:440px}.eyebrow{font-size:9px}.login-panel{padding:29px 24px}.login-card>.muted{font-size:14px}.login-card h2{font-size:27px}.login-card .mini-label{font-size:10px}.login-card .telegram-entry{min-height:49px;font-size:14px}.registration-preview{padding:15px}.profession-chips>span{font-size:11px}.login-story .brand small{font-size:10px}.login-access p{font-size:12px}.login-footnote{font-size:10px}.password-login .button{font-size:13px}.standalone-card{padding:28px 23px}.standalone-card>p{font-size:14px}.standalone-card>.help-text{font-size:12px}.login-wait-state{font-size:13px!important}.management-tabs{gap:0}.management-tabs a{font-size:12px;padding:12px 14px;min-height:47px}.team-search{padding:18px 19px;gap:9px}.team-search>.field:first-of-type{flex-basis:100%}.team-search>.field:nth-of-type(2){flex:1}.team-search .button{min-height:43px}.management-section>.panel-heading h2{font-size:17px}.management-section>.panel-heading p{font-size:12px}.management-section>.panel-heading>.button{font-size:11px;min-width:110px;max-width:130px;min-height:39px}.member-item>summary{padding:18px 19px;gap:10px}.member-name strong{font-size:13px}.member-name small{font-size:11px}.protected-label{font-size:10px;max-width:97px;white-space:normal}.member-name .role-chip{font-size:10px}.member-role-badges{gap:5px;margin-top:7px}.member-form,.role-editor,.category-form{padding:20px 19px}.role-choice-grid{gap:9px}.role-choice{padding:12px 10px}.role-choice strong{font-size:13px}.role-choice small{font-size:11px}.scope-grants>summary,.password-reset>summary{font-size:13px}.grant-grid{grid-template-columns:1fr}.role-item>summary{padding:19px;gap:10px}.role-summary>strong{font-size:14px}.role-summary>small{font-size:11px}.permission-group{padding:15px}.capability-option{font-size:14px;padding:8px 0}.capability-option input{width:17px;height:17px}.role-editor .form-actions{align-items:stretch}.role-editor .form-actions>.help-text{width:100%;flex-basis:100%;max-width:none}.role-editor .form-actions>.button{width:100%}.new-item>summary{font-size:13px;padding:18px 19px}.protected-account{padding:20px 19px}.region-edit{padding:17px 19px;gap:12px}.region-edit>.field{flex-basis:100%}.region-edit>.button{margin-left:auto}.profile-layout aside .quiet-card{font-size:12px}.profile-layout>aside .quiet-card h3{font-size:14px}.profile-role-section .help-text{font-size:12px}.category-name strong{font-size:13px}.category-name small{font-size:11px}.storage-layout{padding:23px 19px}.setup-steps p{font-size:13px}.setup-steps strong{font-size:14px}.storage-layout>.storage-manual input{font-size:16px}.storage-manual>.help-text{font-size:12px}.storage-layout h3{font-size:15px}.storage-note{font-size:12px}.storage-layout>.storage-manual{max-width:none}.management-section:target{outline:0}.section-tabs:target{outline:0}.flash p{font-size:13px}}
@media(max-width:440px){.workspace{padding:21px 14px 18px}.page-header h1{font-size:25px}.stat-card{padding:15px;min-height:137px}.stat-label{font-size:11px}.stat-note{font-size:10px;line-height:1.6}.stat-card strong{font-size:28px}.ticket-title strong{font-size:14px}.ticket-number{font-size:11px}.ticket-table td.person-cell{font-size:11px}.ticket-table td:nth-child(4){max-width:145px}.ticket-meta{font-size:11px}.table-footer>span{font-size:11px}.message-header strong{font-size:12px}.message-header time{font-size:10px}.message-text{font-size:14px}.message-avatar{width:28px;height:28px}.reply-bottom{flex-wrap:wrap;align-items:center}.reply-bottom>.compact-upload{flex:1 1 100%}.reply-bottom>.button{margin-left:auto}.reply-box .help-text{font-size:12px}.ticket-properties{grid-template-columns:1fr}.ticket-properties dt{font-size:12px}.ticket-properties dd{font-size:14px}.ticket-properties .crm-link{font-size:12px}.member-name strong{font-size:12px}.member-name small{font-size:11px}.member-item>summary>.avatar{display:none}.member-name .role-chip{font-size:10px}.member-role-badges{gap:5px}.role-choice-grid{grid-template-columns:1fr}.protected-label{font-size:9px;max-width:82px}.field>label{font-size:13px}.member-form .form-actions>.checkbox-label{font-size:13px}.member-form .form-actions>.button{width:100%;font-size:13px}.new-user-form{padding:20px 18px}.new-user-form .form-actions>.button{width:100%;font-size:13px}.new-item>summary{font-size:13px}.role-editor .field-grid{grid-template-columns:1fr}.permission-group{padding:14px}.role-summary>strong{font-size:13px}.role-symbol{width:27px;height:27px;font-size:17px}.role-summary>small{font-size:11px}.management-section>.panel-heading{padding:18px}.management-section>.panel-heading h2{font-size:16px}.management-section>.panel-heading p{font-size:11px}.management-section>.panel-heading>.button{font-size:11px;min-width:100px;max-width:112px;padding:7px 9px}.management-tabs a{font-size:12px;padding-left:12px;padding-right:12px}.category-name strong{font-size:13px}.category-name small{font-size:11px}.setup-steps p{font-size:13px}.flash p{font-size:13px}.help-text{font-size:12px}.login-panel{padding-left:21px;padding-right:21px}.login-story{padding:23px 21px}.login-story h1{font-size:28px}.profession-chips{gap:6px}.registration-preview{margin-bottom:20px}.login-card .telegram-entry{font-size:14px}.entry-caption{font-size:11px}.login-steps{font-size:13px}.onboarding-layout .tip-card{padding:22px}.onboarding-layout .plain-benefits{font-size:13px}.onboarding-layout .form-panel{padding:23px 19px}.onboarding-layout .button{font-size:13px;white-space:normal}.onboarding-intro h2{font-size:17px}.onboarding-intro p{font-size:12px}}
@media(max-width:520px){.management-tabs{display:grid;grid-template-columns:1fr 1fr;gap:7px;border:0;overflow:visible;background:none}.management-tabs a{border:1px solid #d8e4ed;background:#fff;border-radius:8px;min-height:45px;justify-content:center;white-space:normal;text-align:center;padding:10px 9px;font-size:13px}.management-tabs a.selected{background:#e8f4f8;color:#116f86;border:1px solid #78aebf;border-radius:8px;box-shadow:inset 0 0 0 1px #78aebf20}.profession-picker #id_role_slug{grid-template-columns:1fr}.profession-picker #id_role_slug label{min-height:52px}.capability-option{min-height:44px}.role-choice{min-height:76px}.password-login>summary{min-height:49px}.profile-password>summary{font-size:13px}.profile-password>.help-text{font-size:12px}}
.help-text,.quiet-card,.quiet-card p,.ticket-meta,.ticket-number,.stat-note,.date-cell,.date-cell small,.workspace-footnote,.event-list small,.message-header time,.message-role,.source-tag{color:#596d81}.role-summary>small,.member-name small,.category-name small,.role-choice small,.role-description,.first-use-steps span{color:#566e83}.registration-preview>p,.login-access p,.entry-caption,.login-footnote{color:#566d82}.count-pill{color:#506b82}.permission-group-help{color:#4f6b80}.flash.success{color:#2e7354}.flash.warning{color:#80631f}.flash.error{color:#a04b54}input::placeholder,textarea::placeholder,.stack-form input::placeholder,.stack-form textarea::placeholder{color:#64758a}.scope-explanation{color:#48677c}
.protected-label{color:#526a80}.custom-role-label{color:#28695f}.self-label{font-size:10px;color:#42697c}.checkbox-label small{color:#596f83}.attachment{color:#466a83}.attachment-info small{color:#556e82}.file-preview li{color:#506f84}.upload-box input[type=file]{color:#5e748a}.checkbox-label{min-height:32px}.password-toggle{min-height:32px}.flash-dismiss{min-width:32px;min-height:32px;top:5px;right:6px}@media(max-width:760px){.mobile-header>.icon-button{min-width:44px;min-height:44px}.checkbox-label{min-height:44px}.flash-dismiss{min-width:40px;min-height:40px;top:3px;right:3px}.note-checkbox input{margin-top:5px}}
.originals-option{margin-top:13px;padding:13px 15px;border:1px solid #dce7ef;border-radius:9px;background:#f5f9fc;text-align:left;width:100%}.originals-option .checkbox-label{font-size:13px;color:#405e76;align-items:center}.originals-option .help-text{font-size:12px;margin:4px 0 0 24px;line-height:1.6}.compact-upload .originals-option{flex-basis:100%;margin-top:9px}.compact-upload>.upload-policy{font-size:12px;color:#596d81;line-height:1.6;flex-basis:100%;margin:7px 0 0}.compact-upload .originals-option .help-text{font-size:12px;display:block;margin:4px 0 0 24px}.reply-bottom:has(.originals-option){flex-wrap:wrap;align-items:flex-start}.reply-bottom:has(.originals-option)>.compact-upload{flex:1 1 100%}.reply-bottom:has(.originals-option)>.button{margin-left:auto}.attachment-card{flex:0 1 230px;width:230px;max-width:100%;min-width:0;border:1px solid #dce7ef;border-radius:9px;background:#fff;overflow:hidden}.attachment-card>.attachment{width:100%;min-width:0;max-width:none;flex:none;margin:0;border:0;border-radius:0}.attachment-card .attachment-image img{width:100%;height:auto;aspect-ratio:4/3;object-fit:contain;max-height:240px;background:#f4f7fa}.attachment-card .attachment-info{min-width:0}.attachment-card .attachment-info strong{font-size:12px}.attachment-card .attachment-info small{font-size:11px}.attachment-actions{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;padding:7px 10px;border-top:1px solid #e7eef4;min-height:39px;background:#fbfdfe}.attachment-download{font-size:11px;line-height:1.5;color:#176f88;font-weight:600;margin-left:auto;padding:4px 0;white-space:normal}.attachment-download:hover{text-decoration:underline}.optimized-tag{font-size:10px;color:#4b7169;line-height:1.4}.attachment-card .attachment-image .attachment-arrow{bottom:18px}.attachment-card .attachment-image .attachment-info{padding-bottom:11px}@media(max-width:760px){.originals-option .checkbox-label{font-size:13px;min-height:40px}.attachment-download{font-size:12px;min-height:37px;display:flex;align-items:center}.attachment-actions{min-height:48px}.compact-upload .help-text{display:block}}@media(max-width:440px){.attachment-card{flex-basis:100%;width:100%}.attachment-card .attachment-image img{max-height:245px}.originals-option{padding:12px}.originals-option .help-text,.compact-upload .originals-option .help-text{margin-left:0;font-size:12px}.originals-option .checkbox-label{align-items:flex-start;gap:9px}.originals-option .checkbox-label input{margin-top:3px}.originals-option .checkbox-label>span{flex:1}.optimized-tag{font-size:11px}}
.attachment-download{font-size:12px}.attachment-card .attachment-info small{font-size:12px}@media(max-width:760px){.originals-option .checkbox-label{min-height:44px}.attachment-download{min-height:44px}}
.attachment-grid{align-items:flex-start}
.attachment-card .attachment-info .attachment-preview-status{font-size:12px;line-height:1.6;color:#596d81;white-space:normal;margin-top:7px}

/* The shared navigation remains usable as the workspace grows. */
.member-departments{display:flex;flex-wrap:wrap;gap:5px 9px;font-size:12px;line-height:1.6;color:#47657c;margin:5px 0}.member-departments>span,.member-departments>a{overflow-wrap:anywhere}.department-assignment{padding:16px;border:1px solid #dbe5ed;border-radius:10px;margin:0}.department-assignment>legend{font-size:14px;font-weight:650;color:#344f66;padding:0 5px}.department-assignment .field{margin-top:14px}.new-user-form>fieldset.field{min-width:0;margin:0;border:1px solid #dbe5ed;padding:15px;border-radius:9px}.new-user-form>fieldset.field>legend{font-size:13px;font-weight:600;padding:0 5px}.team-search{grid-template-columns:minmax(160px,1fr) minmax(130px,.65fr) minmax(180px,1fr) auto auto}.team-search>*{min-width:0}.team-search select{max-width:100%}@media(max-width:1150px){.team-search{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}}@media(max-width:600px){.team-search{grid-template-columns:minmax(0,1fr)}.department-assignment{padding:12px}}
.sidebar .main-nav{min-height:0;overflow-y:auto;flex-shrink:1;scrollbar-width:thin}.sidebar-bottom{flex-shrink:0}.nav-unread{margin-left:auto;min-width:22px;padding:2px 6px;border-radius:99px;background:#d8f4f6;color:#12606b;font-size:11px;font-weight:700;text-align:center}.nav-unread[hidden]{display:none!important}.main-nav>a{flex-shrink:0}

.queue-access-summary{font-size:13px;color:#53687b;line-height:1.7;margin:-7px 0 23px;overflow-wrap:anywhere}.access-warning{margin-bottom:18px;overflow-wrap:anywhere}.access-setup-label{background:#fff3d9;color:#815b1c!important;white-space:normal}.quiet-card .access-warning{padding:12px;font-size:12px}.scope-grants .access-warning{margin:14px 0}.team-search{flex-wrap:wrap}.team-search>.field{min-width:130px}
