html body #app#app .tabs.project-tabs>button#awpDivisionMenu{grid-row:1!important;grid-column:1 / span 2!important;width:100%!important;min-width:0!important;background:#187044!important;color:#fff!important;-webkit-text-fill-color:#fff!important;white-space:normal!important}
html body #app .project-tabs>#searchWorkerTop{grid-column:3 / span 2!important}
html body.awp-toolbar-scrolled #app .project-tabs>#awpDivisionMenu{display:none!important}
#awpDivisionDialog{width:min(94vw,460px);max-height:85vh;overflow:auto;box-sizing:border-box;border:1px solid #9eb7c9;border-radius:12px;padding:15px;background:#fff;color:#17364d}
#awpDivisionDialog::backdrop{background:#071b2b99}
.awp-division-menu-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}
#awpDivisionDialog h2{font-size:18px;color:inherit;margin:0}
.awp-division-menu-head>button{background:transparent!important;color:inherit!important;font-size:24px;padding:3px 8px;box-shadow:none!important}
#awpDivisionCurrent{font-size:12px;line-height:1.4;margin:0 0 12px;overflow-wrap:anywhere}
#awpDivisionDialog .awp-division-menu-body>label{display:block;margin:0 0 5px;font-size:12px}
html body #awpDivisionDialog #projectChooser{display:block!important;width:100%!important;min-width:0!important;max-width:100%!important;min-height:40px!important;height:auto!important;max-height:none!important;box-sizing:border-box!important;padding:8px!important;margin:0!important;font-size:14px!important;line-height:1.4!important;border:1px solid #9eb7c9!important;border-radius:7px!important;background:#f4f8fb!important;color:#17364d!important;-webkit-text-fill-color:#17364d!important}
.awp-division-menu-actions{display:grid;grid-template-columns:1fr;gap:8px;margin-top:13px}
html body #awpDivisionDialog .awp-division-menu-actions>button{display:block;width:100%;min-height:38px;margin:0!important;padding:9px!important;font-size:13px!important;line-height:1.3!important;white-space:normal!important;border-radius:7px!important;box-shadow:none!important}
html body #awpDivisionDialog #addProjectTop{background:#187044!important;color:#fff!important;-webkit-text-fill-color:#fff!important}
html body #awpDivisionDialog #deleteProjectTop{background:#c52a40!important;color:#fff!important;-webkit-text-fill-color:#fff!important}
html body #awpDivisionDialog [hidden]{display:none!important}
body.dark-theme #awpDivisionDialog{background:#14283a;color:#eaf2f9;border-color:#7a96ac}
html body.dark-theme #awpDivisionDialog #projectChooser{background:#20394e!important;color:#edf5fc!important;-webkit-text-fill-color:#edf5fc!important}
@media print{#awpDivisionDialog,#awpDivisionMenu{display:none!important}}

/* R569: keep contrast above the existing toolbar color rules in both themes. */
html body #app#app .tabs.project-tabs>button#awpDivisionMenu{background-color:#187044!important;background-image:none!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border-color:#126039!important;opacity:1!important;font:700 12px/1.35 Arial,sans-serif!important;text-shadow:none!important}
