/* REVIEW CANDIDATE – only the approved sidebar and Help & Information.
   Does not override unrelated application screens. */
#app.cm-sidebar-ready>nav{background:linear-gradient(150deg,#063e50 0%,#063446 55%,#043a4c 100%)!important;border-right:1px solid rgba(81,199,220,.28)!important;}
#app.cm-sidebar-ready>nav .cm-sidebar-brand{min-height:62px;margin-bottom:16px;gap:8px;padding-inline:4px;color:#f0fbff;}
#app.cm-sidebar-ready>nav .cm-approved-brand-logo{display:block;flex:0 0 36px;width:36px;height:39px;object-fit:contain;}
#app.cm-sidebar-ready>nav .cm-sidebar-brand>span{font-size:12px;line-height:1.25;letter-spacing:-.25px;white-space:nowrap;font-weight:650;}
#app.cm-sidebar-ready>nav .cm-sidebar-toggle{min-width:28px;width:28px;height:34px;color:#35deeb!important;}
#app.cm-sidebar-ready>nav>button:not(.cm-sidebar-logout){color:#ecf9ff!important;min-height:45px;gap:12px;border-radius:12px!important;}
#app.cm-sidebar-ready>nav>button.active:not(.cm-sidebar-logout){background:linear-gradient(105deg,#08667e,#1264a0)!important;color:white!important;border:1px solid #1bddf0!important;box-shadow:inset 0 0 12px #20b9f52b!important;}
#app.cm-sidebar-ready>nav .cm-sidebar-footer{border-color:#30647a;color:#eaf7fa;min-height:64px;}
#app.cm-sidebar-ready>nav #navHelp{margin-top:auto!important;background:linear-gradient(105deg,#0b5468,#0a4256)!important;border-radius:14px!important;border:1px solid transparent!important;}
#app.cm-sidebar-ready>nav #navHelp.active{border-color:#1bddf0!important;background:linear-gradient(105deg,#08667e,#1264a0)!important;}
#app.cm-sidebar-ready>nav .cm-sidebar-footer{margin-top:12px!important;}
#app.cm-sidebar-ready.cm-sidebar-collapsed>nav .cm-approved-brand-logo{width:32px;height:36px;flex-basis:32px;}
#app.cm-sidebar-ready.cm-sidebar-collapsed>nav .cm-sidebar-brand{flex-direction:column;}
#app.cm-sidebar-ready.cm-sidebar-collapsed>nav .cm-sidebar-toggle{margin-inline:auto;}
/* The main Help page follows the approved desktop board and current dark palette. */
#cmHelpSection .cm-help-container{max-width:1180px;gap:16px;}
#cmHelpSection .cm-help-top{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;flex-wrap:wrap;}
#cmHelpSection .cm-help-top>.cm-help-search{max-width:310px;min-height:44px;align-self:flex-start;}
#cmHelpSection .cm-help-top .cm-help-heading h2{font-size:clamp(25px,2.7vw,31px);}
#cmHelpSection .cm-help-about{display:grid;grid-template-columns:minmax(200px,1fr) minmax(280px,1.7fr);gap:28px;align-items:center;background:rgba(3,56,75,.74);border-color:#126782;}
#cmHelpSection .cm-help-about-logo{width:80px;height:86px;object-fit:contain;flex:0 0 80px;}
#cmHelpSection .cm-help-identity{min-width:0;gap:14px;}
#cmHelpSection .cm-help-about-info h3{margin:0 0 6px;font-size:20px;color:#f1fcff;}
#cmHelpSection .cm-help-about-info p{font-size:13px;line-height:1.5;}
#cmHelpSection .cm-help-stats{margin:0;padding-top:0;border-top:0;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;}
#cmHelpSection .cm-help-stats>div{border-left:1px solid #226780;padding-left:16px;}
#cmHelpSection .cm-help-group{background:rgba(3,54,74,.77);border:1px solid #126782;border-radius:16px;padding:18px 20px;min-width:0;}
#cmHelpSection .cm-help-group-head{display:flex;align-items:center;gap:12px;margin-bottom:16px;}
#cmHelpSection .cm-help-group-head>svg{width:29px;height:29px;color:#20dfee;}
#cmHelpSection .cm-help-group-head h3{color:#f4fcff;font-size:19px;margin:0 0 4px;}
#cmHelpSection .cm-help-group-head p{color:#c0dce8;font-size:12px;line-height:1.6;margin:0;}
#cmHelpSection .cm-help-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;}
#cmHelpSection .cm-help-row{border:1px solid #127c96;border-radius:13px;background:rgba(0,40,59,.38);padding:18px 13px;min-height:110px;gap:10px;}
#cmHelpSection .cm-help-row:hover{background:rgba(17,98,123,.6);}
#cmHelpSection .cm-help-row>svg:first-child{width:31px;height:31px;flex-basis:31px;color:#15dcea;}
#cmHelpSection .cm-help-row>svg:last-child{color:#1bddf0;}
#cmHelpSection .cm-help-row-label strong{font-size:14px;color:#eaf7fa;}
#cmHelpSection .cm-help-row-label small{font-size:12px;line-height:1.5;color:#bad9e8;}
#cmHelpSection .cm-help-contact-banner{background:rgba(3,54,74,.76);border:1px solid #126782;border-radius:14px;padding:16px 20px;display:flex;align-items:center;justify-content:space-between;gap:16px;}
#cmHelpSection .cm-help-contact-banner strong{font-size:16px;}
#cmHelpSection .cm-help-contact-banner p{color:#bbdce8;font-size:13px;margin:5px 0 0;}
#cmHelpSection .cm-help-contact-cta{background:#17d5e5;color:#063344;min-height:43px;font-weight:700;white-space:nowrap;}
@media(max-width:1050px){#cmHelpSection .cm-help-grid{grid-template-columns:repeat(2,minmax(0,1fr));}#cmHelpSection .cm-help-about{grid-template-columns:1fr;gap:17px;}}
@media(max-width:600px){#cmHelpSection .cm-help-top{display:grid;gap:10px;}#cmHelpSection .cm-help-top>.cm-help-search{max-width:100%;}#cmHelpSection .cm-help-grid{grid-template-columns:1fr;}#cmHelpSection .cm-help-about{padding:15px;}#cmHelpSection .cm-help-stats{grid-template-columns:1fr;gap:12px;}#cmHelpSection .cm-help-group{padding:15px;}#cmHelpSection .cm-help-row{min-height:80px;}#cmHelpSection .cm-help-contact-banner{flex-direction:column;align-items:stretch;}#cmHelpSection .cm-help-contact-cta{width:100%;}}

/* HELP-only: hide the shared organization context card here, preserve it everywhere else. */
#app.cm-help-active>main :is(#cmLocalOrganizationControls,#cmOrganizationTools).cm-org-panel{display:none!important;}

/* Capitalize action labels only; clickable records and profile identities are data. */
:is(button:not(.cm-profile-trigger), .btn:not([href^="mailto:"]), input[type="button"], input[type="submit"], input[type="reset"]){
 text-transform:capitalize!important;
}
#cmProfileTrigger, #cmProfileTrigger *, a[href^="mailto:"]{text-transform:none!important;}
input[type="file"]::file-selector-button{text-transform:capitalize!important;}

/* Match the organization label alignment in the shared client context card. */
#app #cmClientBar .cm-client-picker>label{
 text-align:left!important;
 align-self:stretch;
 width:100%;
}

/* Shared title case for card and panel headings in both interface languages.
   Do not target whole cards: their email addresses and record values are data. */
:is(#app, .modal, #cmHelpSection) :is(h2,h3,h4,h5,h6),
.cards > .card > .label,
.cm-glass-heading > h3,
.cm-help-row-label > strong,
.cm-help-contact-banner > div > strong{
 text-transform:capitalize;
}
/* Document titles can contain the original file name. */
#cmDocumentTitle{ text-transform:none; }
