/* Mail reading card with a persistent folder column. */
@media(min-width:901px){html body #mail235.m235-reading .m235-workspace{display:grid!important;grid-template-columns:var(--m235-folder-width,210px) 6px minmax(0,1fr)!important}html body #mail235.m235-reading .m235-folders{display:block!important}html body #mail235.m235-reading .m235-splitter{display:block!important}}
html body #mail235 .m235-reader-content{background:#f0f5f9;min-height:100%;padding-bottom:22px}
html body #mail235 .m240-reading-navigation{display:flex;align-items:center;gap:10px;padding:10px 16px;border-bottom:1px solid #dce6ed;background:#fff;position:sticky;top:0;z-index:5}
html body #mail235 .m240-reading-navigation .m235-back{display:inline-flex!important;align-items:center;gap:7px;padding:8px 11px;font-size:12px;min-height:38px}
html body #mail235 .m240-reading-navigation .m238-reader-nav{width:auto!important;margin-left:auto!important}
html body #mail235 .m240-reading-card{background:#fff;border:1px solid #dce6ed;border-radius:10px;max-width:900px;width:calc(100% - 40px);margin:22px auto;overflow:visible;box-shadow:0 3px 14px #193d5308}
html body #mail235 .m240-reading-card>.m235-envelope,html body #mail235 .m240-reading-card>.m235-body,html body #mail235 .m240-reading-card>.m236-html,html body #mail235 .m240-reading-card>.m235-attachments,html body #mail235 .m240-reading-card>.m235-reg-note{width:calc(100% - 48px)!important;max-width:none!important}
html body #mail235 .m240-reading-card .m235-reader-toolbar{border-radius:0;border-top:1px solid #dce6ed;background:white;position:sticky;top:59px;z-index:4}
html body #mail235 .m240-reading-card .m235-envelope{border-bottom:0}
html body #mail235 .m240-reading-card>.m236-html{margin-top:18px;margin-bottom:18px}
html body #mail235 .m240-reading-card .m235-reader-register{font-size:12px;min-height:36px;padding:8px 10px}
/* Clean compose editor. */
html body .m240-clean-form .mail-letter229{padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;min-height:0!important}
html body .m240-clean-form .m236-compose-layout{grid-template-columns:minmax(0,1fr)!important;gap:12px!important}
html body .m240-clean-form .m236-compose-main .grid{gap:10px!important}
html body .m240-clean-form .m240-writing{margin:16px 0 0!important;padding:0!important;border:0!important}
html body .m240-clean-form .m236-editor{border:0!important;border-radius:0!important;background:white!important;box-shadow:none!important;min-height:180px!important;padding:12px 0!important;font-size:16px!important;line-height:1.55!important;outline-offset:3px}
html body .m240-clean-form .m236-editor:empty:before{content:attr(data-placeholder);color:#7b8e9b;pointer-events:none}
html body .m240-signature{border-top:1px solid #dce6ed;margin:14px 0;padding:9px 0}
html body .m240-signature summary{display:flex;align-items:center;gap:9px;cursor:pointer;padding:7px 0;font-size:13px;color:#29516d;list-style:none}
html body .m240-signature summary:after{content:'⌄';margin-left:auto}
html body .m240-signature summary small{display:block;color:#7b8e9b;font-size:11px;margin-top:2px}
html body .m240-clean-form .m237-signature{padding:12px 0!important;border:0!important;background:transparent!important;margin:0!important}
html body .m240-clean-form .m236-compose-files{background:#f6f9fb!important;border:1px solid #dce6ed!important;padding:12px!important;margin:0!important}
html body .m240-clean-form .m236-format[hidden]{display:none!important}
html body .m240-clean-form .m236-format{border:1px solid #dce6ed;border-radius:6px;padding:5px;background:#f1f6fa}
html body .m240-format-toggle{display:inline-flex;gap:6px;align-items:center;font-size:12px}
html body .m240-clean-form .m236-compose-main label{font-size:12px}
/* Recipient directory owns its geometry. */
html body .email-picker240{width:min(570px,calc(100vw - 32px));height:min(660px,calc(100dvh - 36px));max-height:calc(100dvh - 36px);border:1px solid #cbdde9;border-radius:12px;padding:0;overflow:hidden;color:#193b55;background:white}
html body .email-picker240[open]{display:flex!important;flex-direction:column}
html body .email-picker240::backdrop{background:#173b5566}
html body .email-picker240>header{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;background:#f1f6fa;border-bottom:1px solid #dce6ed;flex:none}
html body .email-picker240>input{margin:12px;width:calc(100% - 24px);font-size:16px;flex:none;box-sizing:border-box}
html body .email-picker-list240{padding:0 12px;flex:1;min-height:0;overflow:auto}
html body .email-contact240{width:100%!important;display:grid!important;grid-template-columns:36px minmax(0,1fr) 22px!important;align-items:center;gap:10px!important;text-align:left!important;background:white!important;color:#193b55!important;border:0!important;border-bottom:1px solid #dce6ed!important;border-radius:0!important;padding:13px 4px!important;min-height:74px;font-weight:400!important}
html body .email-contact240[aria-pressed=true]{background:#eef5fa!important}
html body .email-contact240 strong{display:block;font-size:14px;font-weight:600;overflow-wrap:anywhere}
html body .email-contact240 small{display:block;font-size:12px;color:#176aa8;overflow-wrap:anywhere;margin-top:3px}
html body .email-avatar240{background:#f0f5f9;border-radius:50%;width:34px;height:34px;display:flex;align-items:center;justify-content:center;font-size:11px}
html body .email-contact240 input{pointer-events:none;width:18px;height:18px;margin:0;min-height:0;accent-color:#176aa8}
html body .email-picker240>footer{display:flex;flex-wrap:wrap;align-items:center;gap:7px;padding:10px 12px;border-top:1px solid #dce6ed;background:#f1f6fa;flex:none;font-size:12px}
html body .email-picker240>footer span{margin-left:auto}
html body .email-picker-apply240{background:#176aa8;color:white}
/* One viewer for images, PDF pages and safe document HTML. */
html body .m240-preview{position:fixed;inset:0;margin:auto;width:min(1320px,calc(100vw - 40px));height:calc(100dvh - 40px);max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);padding:0;border:1px solid #cbdde9;border-radius:12px;background:#fff;color:#193b55;overflow:hidden}
html body .m240-preview[open]{display:flex!important;flex-direction:column}
html body .m240-preview::backdrop{background:#152e4766}
html body .m240-preview>header{display:flex;align-items:center;gap:10px;padding:12px 16px;background:#f1f6fa;border-bottom:1px solid #dce6ed;flex:none}
html body .m240-preview>header strong{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:15px}
html body .m240-preview button,html body .m240-preview-download{display:inline-flex;align-items:center;justify-content:center;gap:6px;background:#fff;color:#29516d;border:1px solid #dce6ed;border-radius:6px;min-height:38px;padding:7px 10px;font-size:12px;text-decoration:none}
html body .m240-preview-tools{display:flex;gap:6px;align-items:center;flex-wrap:wrap;padding:9px 12px;border-bottom:1px solid #dce6ed;flex:none}
html body .m240-preview-tools output{font-size:12px;min-width:65px;text-align:center}
html body .m240-preview-counter{font-size:12px}
html body .m240-preview-viewport{position:relative;flex:1;min-height:0;overflow:hidden;background:#e9eff4;touch-action:none;user-select:none;cursor:grab}
html body .m240-preview-viewport:active{cursor:grabbing}
html body .m240-preview-layer{position:absolute;left:0;top:0;transform-origin:0 0;background:white;box-shadow:0 4px 20px #173b5526}
html body .m240-preview-layer img,html body .m240-preview-layer canvas,html body .m240-preview-layer iframe{display:block;max-width:none!important;max-height:none!important;border:0;pointer-events:none}
html body .m240-preview-status{font-size:12px;padding:5px 12px;min-height:10px;color:#60788b;flex:none}
html body .outgoing-reply240{margin-top:22px}
html body .outgoing-reply-form240{display:grid;gap:12px}
html body .outgoing-reply-form240 label{display:grid;gap:5px;font-size:13px}
html body .outgoing-reply-form240 textarea{font-size:16px;line-height:1.5;width:100%;box-sizing:border-box;min-height:150px}
html body .reply-send240{justify-self:start;background:#176aa8;color:white;display:flex;align-items:center;gap:8px}
html body .reply-signature240 img{max-width:200px;max-height:100px;display:block;margin:10px 0}
html body .reply-history240 article{padding:14px 0;border-bottom:1px solid #dce6ed}
html body .reply-history240 small{display:block;font-size:12px;color:#6b8192}
html body .reply-history240 p{white-space:pre-wrap}
html body .reply-history240 a{display:inline-block;margin:6px 10px 6px 0}
@media(max-width:900px){html body #mail235 .m240-reading-card{width:calc(100% - 24px);margin:12px auto}}
@media(max-width:700px){html body #mail235 .m240-reading-card{width:100%;margin:0;border-radius:0;border-left:0;border-right:0;box-shadow:none}html body #mail235 .m240-reading-card>.m235-envelope,html body #mail235 .m240-reading-card>.m235-body,html body #mail235 .m240-reading-card>.m236-html,html body #mail235 .m240-reading-card>.m235-attachments{width:calc(100% - 28px)!important}html body #mail235 .m240-reading-card .m235-reader-toolbar{display:flex!important;gap:6px!important;top:59px}html body #mail235 .m240-reading-card .m235-reader-register{flex:1;min-height:40px;font-size:12px}html body #mail235 .m240-reading-navigation{padding:8px 10px}html body .m240-clean-form .m236-editor{min-height:160px!important;font-size:16px!important;padding:10px 0!important}html body .m240-clean-form .m236-compose-main input{border:0!important;border-bottom:1px solid #dce6ed!important;border-radius:0!important;min-height:40px!important;padding:8px 0!important}html body .m240-clean-form .email-row229 button{font-size:12px;padding:7px;min-width:42px}html body .m240-clean-form .m236-compose-bottom button{font-size:11px;min-width:44px;padding:8px 6px!important}html body .m240-format-toggle{display:flex!important}html body .email-picker240{width:100vw;height:100dvh;max-width:100vw;max-height:100dvh;border:0;border-radius:0;margin:0;inset:0}html body .m240-preview{width:100vw;height:100dvh;max-width:100vw;max-height:100dvh;border:0;border-radius:0;margin:0}html body .m240-preview-tools{gap:5px;padding:7px}html body .m240-preview-tools button{min-height:44px;padding:7px}html body .m240-preview>header{padding:10px}html body .m240-preview>header strong{font-size:13px}html body .outgoing-reply240{padding:14px!important}}

html body .m240-clean-form label[hidden],html body .m240-clean-form .mail-header229:empty{display:none!important}
html body .m240-clean-form .mail-letter229{margin:0!important;padding:0!important}
