/* ===== Knoppenbalk versie 1 (10-11-2026): filterknoppen + blauwe split-knop Beantwoorden ===== */

/* --- lijstkop: filterknoppen links, iconen rechts (alleen brede schermen) --- */
html.layout-large #messagelist-header{justify-content:flex-start !important;padding:0 12px 0 14px;gap:6px}
html.layout-large #messagelist-header .nx-filters{display:flex;align-items:center;gap:2px;flex:1;min-width:0}
.nx-filters{display:none}
.nx-chip{display:inline-flex;align-items:center;gap:7px;height:36px;padding:0 10px;border-radius:8px;border:0;background:transparent;color:#176b9e;font-size:13.5px;font-weight:500;white-space:nowrap;cursor:pointer;user-select:none;line-height:1}
.nx-chip:hover{background:#ddebf3}
.nx-chip.on{background:#36a9e1;color:#1b1f27}
.nx-chip.on:hover{background:#2a98cf}
.nx-chip .nx-dot{width:7px;height:7px;border-radius:50%;background:#d7263d;flex:none}
.nx-chip.on .nx-dot{background:#fff}
.nx-chip .nx-n{display:inline-block;min-width:19px;height:19px;line-height:19px;padding:0 5px;border-radius:10px;background:#d7263d;color:#fff;font-size:11px;font-weight:700;text-align:center;box-sizing:border-box}
.nx-chip .nx-n:empty{display:none}
.nx-chip svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2.3;stroke-linecap:round;stroke-linejoin:round;flex:none}
/* Selecteer / Opties / Vernieuwen als rustige iconen rechts */
html.layout-large #messagelist-header .menu.toolbar,html.layout-large #messagelist-header a.toolbar-button{order:2}
html.layout-large #messagelist-header .menu.toolbar a .inner,html.layout-large #messagelist-header a.toolbar-button .inner{position:absolute !important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
html.layout-large #messagelist-header .menu.toolbar a,html.layout-large #messagelist-header a.toolbar-button{width:32px !important;height:32px;padding:0 !important;justify-content:center;gap:0}

/* --- berichtbalk: links uitgelijnd, blauwe split-knop, groepen --- */
html.layout-large #layout-content .header .menu.toolbar{justify-content:flex-start;width:100%;padding:0 14px 0 0;box-sizing:border-box}
html.layout-large #toolbar-menu > li:has(> a.reply){order:1}
html.layout-large #toolbar-menu > li:has(a.reply-all){order:2}
html.layout-large #toolbar-menu > li:has(a.forward){order:3;margin-right:8px}
html.layout-large #toolbar-menu > li:has(> a.archive){order:5}
html.layout-large #toolbar-menu > li:has(> a.delete){order:6}
html.layout-large #toolbar-menu > li:has(> a.junk),html.layout-large #toolbar-menu > li:has(> a.notjunk){order:7}
html.layout-large #toolbar-menu > li.spacer{order:8;flex:1}
html.layout-large #toolbar-menu > li:has(> a.markmessage){order:9}
html.layout-large #toolbar-menu > li:has(> a.more){order:10}
html.layout-large #toolbar-menu > li:has(> a.more) .inner{position:absolute !important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
html.layout-large #toolbar-menu > li:has(> a.more) > a{width:36px !important;padding:0 !important;justify-content:center}

/* split-knop: Beantwoorden (blauw) + pijltje met "Beantwoord iedereen / lijst" */
html.layout-large #toolbar-menu a.reply{background:#36a9e1;color:#1b1f27 !important;border-radius:8px 0 0 8px !important;padding:0 12px 0 14px !important}
html.layout-large #toolbar-menu a.reply::before{background-color:#fff !important}
html.layout-large #toolbar-menu a.reply:hover{background:#2a98cf !important}
html.layout-large #toolbar-menu a.reply-all{display:none !important}
html.layout-large #toolbar-menu .dropbutton:has(a.reply-all) > a.dropdown{background:#36a9e1;border-radius:0 8px 8px 0 !important;margin-left:1px !important;padding:0 10px !important;height:36px}
html.layout-large #toolbar-menu .dropbutton:has(a.reply-all) > a.dropdown::before{content:'' !important;background-color:#fff !important;opacity:1;width:12px !important;height:12px !important;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center/12px 12px no-repeat !important;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center/12px 12px no-repeat !important}
html.layout-large #toolbar-menu .dropbutton:has(a.reply-all) > a.dropdown:hover{background:#2a98cf !important}
html.layout-large #toolbar-menu a.reply.disabled,html.layout-large #toolbar-menu .dropbutton.disabled:has(a.reply-all) > a.dropdown{opacity:.45}
/* Verwijder rustig rood */
html.layout-large #toolbar-menu a.delete{color:#b3243a !important}
html.layout-large #toolbar-menu a.delete::before{background-color:#b3243a !important}
html.layout-large #toolbar-menu a.delete:hover{background:#fbe9ec !important}
html.dark-mode #toolbar-menu a.delete{color:#ff7d8d !important}
html.dark-mode #toolbar-menu a.delete::before{background-color:#ff7d8d !important}
html.dark-mode .nx-chip{color:#cfe9f7}
html.dark-mode .nx-chip:hover{background:rgba(255,255,255,.08)}
html.dark-mode .nx-chip.on{background:#36a9e1;color:#1b1f27}

/* ===== Afwerking (10-11-2026) ===== */
/* scheidingslijntjes: kort, centraal, zelfde kleur overal */
html.layout-large #toolbar-menu > li:has(a.forward)::after,
html.layout-large #toolbar-menu > li:has(> a.junk)::after,
html.layout-large #messagelist-header .nx-filters::after{content:"";display:block;width:1px;height:22px;background:#c9dbe4;margin:0 8px 0 10px;flex:none;align-self:center}
html.layout-large #toolbar-menu > li:has(a.forward),html.layout-large #toolbar-menu > li:has(> a.junk){display:inline-flex !important;align-items:center;margin-right:0}
html.layout-large #messagelist-header .nx-filters::after{margin-left:auto}
html.dark-mode #toolbar-menu > li:has(a.forward)::after,html.dark-mode #toolbar-menu > li:has(> a.junk)::after,html.dark-mode #messagelist-header .nx-filters::after{background:#444e62}
/* zachte overgangen en klikgevoel */
.nx-chip,html.layout-large .header .toolbar a,html.layout-large .header a.toolbar-button{transition:background-color .12s ease,color .12s ease,box-shadow .12s ease}
.nx-chip:active,html.layout-large .header .toolbar a:not(.disabled):active,html.layout-large .header a.toolbar-button:active{background:#d0e4ee !important}
html.layout-large #toolbar-menu a.reply:not(.disabled):active,.nx-chip.on:active{background:#1f7dae !important}
/* toetsenbordfocus zichtbaar en netjes */
.nx-chip:focus-visible,html.layout-large .header .toolbar a:focus-visible,html.layout-large .header a.toolbar-button:focus-visible{outline:2px solid #36a9e1;outline-offset:2px}
.nx-chip:focus:not(:focus-visible){outline:none}
/* Beantwoorden precies boven het onderwerp van de mail */
html.layout-large #toolbar-menu > li:has(> a.reply){margin-left:-2px}
/* filterknoppen meer lucht: lijstkolom iets breder en ruimere knoppen */
html.layout-large #layout-list{flex:3.4 1 0%;max-width:33%}
#messagelist-header{container-type:inline-size;container-name:nxlijst}
html.layout-large #messagelist-header .nx-filters{gap:6px}
.nx-chip{padding:0 13px}
/* smallere lijst (kleinere schermen): compacter, Selecteer-icoon weg (Ctrl/Shift-klik werkt nog) */
@container nxlijst (max-width: 500px){
  html.layout-large #messagelist-header .nx-filters{gap:2px}
  .nx-chip{padding:0 9px}
  html.layout-large #messagelist-header .menu.toolbar li:has(> a.select){display:none !important}
}
@container nxlijst (max-width: 430px){
  .nx-chip{padding:0 7px;font-size:12.5px}
}

/* Ongelezen: geen losse stip meer; aantal als klein rood bolletje achter de tekst (alleen als er ongelezen mail is) */
.nx-chip .nx-n{display:inline-block;min-width:20px;height:20px;line-height:20px;padding:0 6px;margin-left:1px;border-radius:10px;background:#d7263d;color:#fff;font-size:11.5px;font-weight:700;text-align:center;box-sizing:border-box}
.nx-chip .nx-n:empty{display:none}
.nx-chip.on .nx-n{background:#fff;color:#176b9e}
/* iets compacter zodat er met teller nog ruimte blijft voor het lijntje */
.nx-chip{padding:0 12px}
html.layout-large #messagelist-header .nx-filters{gap:4px}
/* split-knop: Beantwoorden en pijltje strak tegen elkaar (1px naad) */
html.layout-large #toolbar-menu .dropbutton:has(a.reply-all) > a.dropdown{margin-left:-3px !important}
/* Doorsturen + pijltje: één hover-vlak over de hele knop, geen los blokje bij het pijltje */
html.layout-large #toolbar-menu .dropbutton:has(a.forward){border-radius:8px;transition:background-color .12s ease}
html.layout-large #toolbar-menu .dropbutton:has(a.forward):not(.disabled):hover{background:#ddebf3 !important}
html.layout-large #toolbar-menu .dropbutton:has(a.forward) > a,html.layout-large #toolbar-menu .dropbutton:has(a.forward) > a:hover{background:transparent !important}
html.layout-large #toolbar-menu .dropbutton:has(a.forward) > a.forward{padding-right:2px !important}
html.layout-large #toolbar-menu .dropbutton:has(a.forward) > a.dropdown{padding:0 10px 0 4px !important}
/* alle knoppen in de balken: zelfde ronde hoeken in rust én bij aanwijzen */
html.layout-large .header .toolbar a:not(.reply):not(.dropdown),html.layout-large .header a.toolbar-button,html.layout-large .header .toolbar a:not(.reply):not(.dropdown):hover,html.layout-large .header a.toolbar-button:hover{border-radius:8px !important}
html.layout-large #toolbar-menu a.delete:hover{background:#fdecef !important}

/* ===== Onderbalken in de nieuwe stijl (10-11-2026) ===== */
#layout-sidebar > .footer,#layout-list > .footer.pagenav{height:44px !important;min-height:44px;background:#f5f9fc !important;border-top:1px solid #e4ecf1 !important;display:flex !important;align-items:center;box-sizing:border-box}
/* opslag */
#layout-sidebar > .footer{padding:0 18px 0 16px !important}
#layout-sidebar #quotadisplay{display:flex !important;align-items:center;gap:10px;width:100%;font-size:12px;color:#5c6478}
#layout-sidebar #quotadisplay::before{color:#8a93ab !important;background-color:#8a93ab !important;margin:0 !important}
#layout-sidebar #quotadisplay .bar{flex:1;height:6px !important;border-radius:99px !important;background:#e2ecf2 !important;border:0 !important;overflow:hidden;margin:0 !important}
#layout-sidebar #quotadisplay .bar .value{height:100% !important;border-radius:99px;background:#36a9e1 !important}
#layout-sidebar #quotadisplay .count{order:3;font-weight:600;color:#2c363a;min-width:28px;text-align:right}
/* bladeren */
#layout-list > .footer.pagenav{justify-content:center;gap:4px;padding:0 12px !important}
#layout-list > .footer.pagenav a{width:32px !important;height:32px !important;border-radius:8px !important;display:inline-flex !important;align-items:center;justify-content:center;color:#176b9e !important;margin:0 !important;padding:0 !important;transition:background-color .12s ease}
#layout-list > .footer.pagenav a::before{background-color:#36a9e1 !important;margin:0 !important}
#layout-list > .footer.pagenav a:not(.disabled):hover{background:#ddebf3 !important}
#layout-list > .footer.pagenav a.disabled{opacity:.35}
#layout-list > .footer.pagenav .pagenav-text{font-size:12.5px;color:#5c6478;margin:0 10px !important;white-space:nowrap}
#layout-list > .footer.pagenav input.rcpagejumper{width:38px !important;height:28px !important;min-height:0 !important;padding:0 !important;margin:0 6px 0 0 !important;text-align:center;font-size:12.5px;font-weight:600;color:#1b1f27;background:#fff !important;border:1px solid #d8e6ee !important;border-radius:8px !important;box-shadow:none !important}
#layout-list > .footer.pagenav input.rcpagejumper:focus{border-color:#36a9e1 !important;outline:none}
/* donker */
html.dark-mode #layout-sidebar > .footer,html.dark-mode #layout-list > .footer.pagenav{background:#232933 !important;border-top-color:#3a4354 !important}
html.dark-mode #layout-sidebar #quotadisplay .bar{background:#3a4354 !important}
html.dark-mode #layout-sidebar #quotadisplay .bar .value{background:#6abfe9 !important}
html.dark-mode #layout-sidebar #quotadisplay .count{color:#e4f2fa}
html.dark-mode #layout-list > .footer.pagenav a::before{background-color:#cfe9f7 !important}
html.dark-mode #layout-list > .footer.pagenav input.rcpagejumper{background:#272d38 !important;border-color:#3a4354 !important;color:#f1f8fc}
#layout-sidebar #quotadisplay{width:100% !important;max-width:none !important;flex:1}
#layout-sidebar #quotadisplay .bar{width:auto !important;flex:1 !important}

/* split-knop: helften tegen elkaar, dunne naad */
html.layout-large #toolbar-menu .dropbutton:has(a.reply-all) > a.dropdown{margin-left:0 !important;box-shadow:inset 1px 0 0 rgba(255,255,255,.16)}
html.layout-large #toolbar-menu > li:has(a.reply-all){margin-left:-4px !important}

/* ===== Opstelbalk: Verzenden vooraan, rustige knoppen, scheidingslijn ===== */
html.layout-large body.action-compose #toolbar-menu{align-items:center;gap:2px;padding-left:14.5px}
html.layout-large body.action-compose #toolbar-menu > li.nx-send-li{order:-1;margin-left:33.5px !important;margin-right:4px;padding-right:13px;position:relative;overflow:visible}
html.layout-large body.action-compose #toolbar-menu > li.nx-send-li::after{content:"";position:absolute;right:0;top:50%;margin-top:-11px;width:1px;height:22px;background:#c9dbe4}
html.layout-large body.action-compose #toolbar-menu a.nx-send{display:flex;align-items:center;gap:8px;height:36px;padding:0 16px 0 14px !important;background:#36a9e1;color:#1b1f27 !important;border-radius:8px !important;font-weight:500;font-size:14px;text-decoration:none;transition:background-color .12s ease}
html.layout-large body.action-compose #toolbar-menu a.nx-send:hover{background:#2a98cf !important}
html.layout-large body.action-compose #toolbar-menu a.nx-send:active{transform:translateY(1px)}
html.layout-large body.action-compose #toolbar-menu a.nx-send:focus-visible{outline:2px solid #36a9e1;outline-offset:2px}
html.layout-large body.action-compose #toolbar-menu a.nx-send::before{content:"";width:17px;height:17px;flex:none;background:#fff;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.5 21.7a.5.5 0 0 0 .9 0l6.5-19a.5.5 0 0 0-.6-.6l-19 6.5a.5.5 0 0 0 0 .9l7.9 3.2a2 2 0 0 1 1.1 1.1z'/%3E%3Cpath d='m21.9 2.1-10.9 10.9'/%3E%3C/svg%3E") center/17px 17px no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.5 21.7a.5.5 0 0 0 .9 0l6.5-19a.5.5 0 0 0-.6-.6l-19 6.5a.5.5 0 0 0 0 .9l7.9 3.2a2 2 0 0 1 1.1 1.1z'/%3E%3Cpath d='m21.9 2.1-10.9 10.9'/%3E%3C/svg%3E") center/17px 17px no-repeat}
html.layout-large body.action-compose #toolbar-menu a.nx-send .inner{position:static !important;width:auto;height:auto;clip:auto;overflow:visible}
html.layout-large body.action-compose #toolbar-menu > li > a:not(.nx-send){height:36px;border-radius:8px !important;color:#2c363a !important;transition:background-color .12s ease}
html.layout-large body.action-compose #toolbar-menu > li > a:not(.nx-send)::before{background-color:#5c6478 !important}
html.layout-large body.action-compose #toolbar-menu > li > a:not(.nx-send):hover{background:#ddebf3 !important;color:#176b9e !important}
html.layout-large body.action-compose #toolbar-menu > li > a:not(.nx-send):hover::before{background-color:#36a9e1 !important}

/* ===== Opstelscherm: velden en editor als één rustig blok ===== */
html.layout-large body.action-compose #compose-headers .compose-headers{background:#fff;border:1px solid #e2eaef;border-bottom:0;border-radius:10px 10px 0 0;padding:0;margin:0}
html.layout-large body.action-compose #compose-headers .form-group.row{margin:0;min-height:46px;align-items:center;border-bottom:1px solid #eef2f5;flex-wrap:nowrap}
html.layout-large body.action-compose #compose-headers .form-group.row > label{flex:0 0 104px;max-width:104px;padding:0 0 0 16px;margin:0;font-size:13.5px;color:#5c6478;font-weight:500}
html.layout-large body.action-compose #compose-headers .form-group.row:focus-within > label{color:#176b9e}
html.layout-large body.action-compose #compose-headers .form-group.row > div{flex:1 1 auto;max-width:none;padding:0 8px 0 0}
html.layout-large body.action-compose #compose-headers .form-control,
html.layout-large body.action-compose #compose-headers .recipient-input,
html.layout-large body.action-compose #compose-headers .custom-select{border:0 !important;box-shadow:none !important;background-color:transparent !important;padding-left:0;font-size:14px;color:#1b1f27}
html.layout-large body.action-compose #compose-headers #compose_subject input{font-weight:500}
html.layout-large body.action-compose #compose-headers .input-group-text{border:0 !important;background:transparent !important;border-radius:8px !important;width:32px;height:32px;display:flex;align-items:center;justify-content:center;margin-left:2px}
html.layout-large body.action-compose #compose-headers .input-group-text:hover{background:#f0f6f9 !important}
html.layout-large body.action-compose #composebodycontainer .tox-tinymce{border:1px solid #e2eaef !important;border-radius:0 0 10px 10px !important}
html.layout-large body.action-compose #composebodycontainer .tox .tox-editor-header{background:#f8fbfc;border-bottom:1px solid #eef2f5;box-shadow:none !important;padding:0 !important}
html.layout-large body.action-compose #composebodycontainer .tox .tox-toolbar__primary,html.layout-large body.action-compose #composebodycontainer .tox .tox-toolbar,html.layout-large body.action-compose #composebodycontainer .tox .tox-toolbar__overflow{background:transparent !important;border:0 !important}
html.layout-large body.action-compose #composebodycontainer .tox .tox-toolbar__group{border-color:#e5ecf0 !important;padding:0 6px !important}
html.layout-large body.action-compose #composebodycontainer .tox .tox-tbtn{border-radius:6px !important;color:#2c363a}
html.layout-large body.action-compose #composebodycontainer .tox .tox-tbtn:hover{background:#e9f3f8 !important}
html.layout-large body.action-compose #composebodycontainer .tox .tox-tbtn svg{fill:#444e62 !important}
html.layout-large body.action-compose .formbuttons{display:none !important}
/* opstelscherm, rechterkolom: bijlageknop als echte knop, kleiner sleepvak */
html.layout-large body.action-compose #layout-sidebar .file-upload.droptarget{border:1px dashed #cedde5;border-radius:10px;background:#f8fbfc;min-height:0;padding:18px 16px}
html.layout-large body.action-compose #layout-sidebar .file-upload.droptarget::after,html.layout-large body.action-compose #layout-sidebar .file-upload.droptarget::before{display:none !important}
html.layout-large body.action-compose #layout-sidebar button.attach{background:#fff !important;color:#176b9e !important;border:1px solid #c9dbe4 !important;border-radius:8px !important;height:36px;padding:0 14px;font-weight:500;opacity:1 !important}
html.layout-large body.action-compose #layout-sidebar button.attach:hover{background:#e9f3f8 !important}

/* opstelscherm: editorbalk getint, geen blauwe rand bij klikken in de tekst */
html.layout-large body.action-compose #composebodycontainer .tox .tox-editor-header,
html.layout-large body.action-compose #composebodycontainer .tox .tox-toolbar-overlord{background:#f0f6f9 !important}
html.layout-large body.action-compose #composebodycontainer .tox .tox-editor-header{border-bottom:1px solid #e2eaef !important}
html.layout-large body.action-compose #composebodycontainer .tox .tox-tbtn:hover,html.layout-large body.action-compose #composebodycontainer .tox .tox-tbtn--enabled{background:#e3eef3 !important}
html.layout-large body.action-compose #composebodycontainer .tox-tinymce,html.layout-large body.action-compose #composebodycontainer .tox-tinymce.focused,html.layout-large body.action-compose #composebodycontainer .tox-tinymce:focus-within{border-color:#e2eaef !important;box-shadow:none !important;outline:0 !important}

/* ===== opstelscherm: rechterkolom "Opties en bijlages" ===== */
html.layout-large body.action-compose #layout-sidebar > .header .header-title{text-align:left;font-weight:600;color:#1b1f27;margin:0;padding-left:8px}
html.layout-large body.action-compose #layout-sidebar .scroller{padding:6px 16px 20px}
html.layout-large body.action-compose #layout-sidebar .scroller::before,html.layout-large body.action-compose #compose-options::before{display:block;padding:12px 0 8px;font-size:10.5px;line-height:14px;letter-spacing:.12em;text-transform:uppercase;font-weight:600;color:#8a93ab}
html.layout-large body.action-compose #layout-sidebar .scroller::before{content:"Bijlagen"}
html.layout-large body.action-compose #compose-options::before{content:"Verzendopties";padding-top:22px}
html.layout-large body.action-compose #layout-sidebar .file-upload.droptarget{border:0;background:none;padding:0;margin:0}
html.layout-large body.action-compose #layout-sidebar .upload-form{display:flex;flex-direction:column;align-items:center;gap:10px;border:1px dashed #c9dbe4;border-radius:10px;background:#f8fbfc;padding:20px 16px;text-align:center}
html.layout-large body.action-compose #layout-sidebar .upload-form .hint{order:2;font-size:12px;color:#8a93ab;margin:0}
html.layout-large body.action-compose #layout-sidebar .upload-form button.attach{order:1}
html.layout-large body.action-compose #compose-options{background:#fff;border:0;padding:0;margin:0}
html.layout-large body.action-compose #compose-options .form-group.row{margin:0;min-height:48px;display:flex;align-items:center;justify-content:space-between;flex-wrap:nowrap;border:1px solid #e5ecf0;border-top-width:0;padding:0 14px;background:#fff}
html.layout-large body.action-compose #compose-options .form-group.row:first-of-type{border-top-width:1px;border-radius:10px 10px 0 0}
html.layout-large body.action-compose #compose-options .form-group.row:last-of-type{border-radius:0 0 10px 10px}
html.layout-large body.action-compose #compose-options .form-group.row > label{flex:1 1 auto;max-width:none;padding:0;margin:0;font-size:13.5px;color:#2c363a}
html.layout-large body.action-compose #compose-options .form-group.row > div{flex:0 0 auto;max-width:none;width:auto;padding:0;display:flex;justify-content:flex-end}
html.layout-large body.action-compose #compose-options select{width:150px;height:32px;border:1px solid #e2eaef;border-radius:8px;font-size:13.5px;background-color:#fff}
/* schakelaars: NEXXT-blauw als aan */
html.layout-large body.action-compose #compose-options .custom-switch{padding-left:0;min-height:20px;width:36px}
html.layout-large body.action-compose #compose-options .custom-control-label{width:36px;height:20px;cursor:pointer}
html.layout-large body.action-compose #compose-options .custom-control-label::before{left:0 !important;top:0 !important;width:36px !important;height:20px !important;border-radius:10px !important;border:0 !important;background:#d6dee3 !important;box-shadow:none !important;transition:background-color .15s ease}
html.layout-large body.action-compose #compose-options .custom-control-label::after{left:2px !important;top:2px !important;width:16px !important;height:16px !important;border-radius:50% !important;background:#fff !important;box-shadow:0 1px 2px rgba(26, 30, 38,.25);transition:transform .15s ease}
html.layout-large body.action-compose #compose-options .custom-control-input:checked ~ .custom-control-label::before{background:#36a9e1 !important}
html.layout-large body.action-compose #compose-options .custom-control-input:checked ~ .custom-control-label::after{transform:translateX(16px) !important}
html.layout-large body.action-compose #compose-options .custom-control-input:focus-visible ~ .custom-control-label::before{outline:2px solid #36a9e1;outline-offset:2px}

/* opstelscherm: Van/Aan/Onderwerp als echte invulvelden (kader per veld, geen lijnen ertussen) */
html.layout-large body.action-compose #compose-headers .compose-headers{padding:10px 0 6px}
html.layout-large body.action-compose #compose-headers .form-group.row{border-bottom:0;min-height:0;padding:4px 0}
html.layout-large body.action-compose #compose-headers .form-group.row > div{padding-right:14px}
html.layout-large body.action-compose #compose-headers .input-group,
html.layout-large body.action-compose #compose_subject .col-10 > input{border:1px solid #d8e6ee !important;border-radius:8px !important;background:#fff !important;min-height:38px;transition:border-color .12s ease,box-shadow .12s ease}
html.layout-large body.action-compose #compose-headers .input-group:hover,
html.layout-large body.action-compose #compose_subject .col-10 > input:hover{border-color:#bfd5e0 !important}
html.layout-large body.action-compose #compose-headers .input-group:focus-within,
html.layout-large body.action-compose #compose_subject .col-10 > input:focus{border-color:#36a9e1 !important;box-shadow:0 0 0 3px rgba(56, 169, 225,.15) !important}
html.layout-large body.action-compose #compose-headers .input-group .form-control,
html.layout-large body.action-compose #compose-headers .input-group .recipient-input,
html.layout-large body.action-compose #compose-headers .input-group .custom-select{padding-left:12px !important;min-height:36px}
html.layout-large body.action-compose #compose_subject .col-10 > input{padding-left:12px !important;height:38px}
html.layout-large body.action-compose #compose-headers .input-group-append{align-items:center;padding-right:3px}
html.layout-large body.action-compose #composebodycontainer{margin-top:0}

/* teller op filterknop Ongelezen: NEXXT-blauw zoals de rest; op de actieve (blauwe) knop wit met blauwe cijfers */
.nx-chip .nx-n{background:#36a9e1 !important;color:#1b1f27 !important}
.nx-chip.on .nx-n{background:#fff !important;color:#176b9e !important}
/* zelfde maat als de (gemeten, gecentreerde) teller bij Postvak In */
.nx-chip .nx-n{min-width:23px !important;height:23px !important;line-height:23px !important;padding:0 7.25px 0 7.75px !important;border-radius:12px !important;font-size:12.5px !important;font-weight:700 !important;margin-left:4px !important}
/* tellers: symmetrisch (alle cijfers gemeten 0,00 px), losse "1" een halve pixel naar rechts */
.nx-chip .nx-n,#mailboxlist .unreadcount{padding:0 7.5px !important}
.nx-chip .nx-n.nx-1,#mailboxlist .unreadcount.nx-1{padding:0 7px 0 8px !important}
/* tellers v3: 24px (= hele schermpixels op 100/125/150%), cijfer 11,25px (even cijferhoogte) -> gemeten exact midden; losse "1" 1px naar rechts */
.nx-chip .nx-n,#mailboxlist .unreadcount{min-width:24px !important;height:24px !important;line-height:24px !important;font-size:11.25px !important;padding:0 6px !important;border-radius:12px !important;box-sizing:border-box !important}
.nx-chip .nx-n.nx-1,#mailboxlist .unreadcount.nx-1{padding:0 6px 0 7px !important}
#mailboxlist .unreadcount{margin-top:-12px !important}
/* Aan/Cc/Bcc: invoer en ontvanger-blokjes exact verticaal in het midden van het veld (36px: 5 + 26 + 5) */
html.layout-large body.action-compose #compose-headers ul.recipient-input{display:flex !important;flex-wrap:wrap;align-items:center;gap:4px 6px;padding:5px 0 5px 12px !important;min-height:36px;height:auto !important;margin:0 !important}
html.layout-large body.action-compose #compose-headers ul.recipient-input > li{margin:0 !important;display:flex;align-items:center;height:26px;line-height:26px}
html.layout-large body.action-compose #compose-headers ul.recipient-input > li.input{flex:1 1 120px}
html.layout-large body.action-compose #compose-headers ul.recipient-input > li.input input{margin:0 !important;padding:0 !important;height:26px !important;line-height:26px !important;border:0 !important;background:transparent !important;font-size:14px}
