/* Allianz Webmail 1.0.3. Native Roundcube controls and responsive panels stay intact. */
html.allianz-theme {
  color-scheme: dark;
  font-size: 15px;
  --aw-bg: #0b1019;
  --aw-rail: #0a0f18;
  --aw-sidebar: #101725;
  --aw-panel: #111a28;
  --aw-reader: #0e1520;
  --aw-line: #243044;
  --aw-text: #e9eef7;
  --aw-muted: #97a6bc;
  --aw-blue: #9dbff5;
}
html.allianz-theme body { background: var(--aw-bg); color: var(--aw-text); font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 15px; -webkit-font-smoothing: antialiased; }
html.allianz-theme a { color: var(--aw-blue); }
html.allianz-theme :is(button, a, input, select, textarea):focus-visible { outline: 2px solid #a7caff !important; outline-offset: 3px; }
html.allianz-theme :is(input, textarea):focus-visible { outline-offset: 1px; }
html.allianz-theme * { scrollbar-width: thin; scrollbar-color: #344258 transparent; }
html.allianz-theme ::-webkit-scrollbar { width: 7px; height: 7px; }
html.allianz-theme ::-webkit-scrollbar-track { background: transparent; }
html.allianz-theme ::-webkit-scrollbar-thumb { background: #344258; border-radius: 8px; }

/* Width alone is ineffective while Elastic's flex-grow is active. */
html.allianz-theme #layout { background: var(--aw-bg); isolation: isolate; }
html.allianz-theme #layout > #layout-menu { --aw-surface: var(--aw-rail); background: var(--aw-rail); border-right: 1px solid var(--aw-line); position: relative; flex-shrink: 0; }
html.allianz-theme #layout > #layout-sidebar { --aw-surface: var(--aw-sidebar); background: var(--aw-sidebar); border-color: var(--aw-line); min-height: 0; }
html.allianz-theme #layout > #layout-list { --aw-surface: var(--aw-panel); background: var(--aw-panel); border-color: var(--aw-line); min-height: 0; }
html.allianz-theme #layout > #layout-content { --aw-surface: var(--aw-reader); background: var(--aw-reader); border-color: var(--aw-line); min-width: 0; min-height: 0; }
html.allianz-theme #layout > div > .header {
  height: 64px; min-height: 64px; line-height: 1.3; padding: 0 12px; align-items: center;
  background: var(--aw-surface, var(--aw-panel)); border-color: var(--aw-line);
  color: var(--aw-text); font-size: 15px; font-weight: 600;
}
/* Elastic recalculates inline margins to center titles. These titles are left-aligned. */
html.allianz-theme #layout > div > .header > .header-title { flex: 1 1 auto; min-width: 0; margin: 0 !important; padding: 0 8px !important; text-align: left; letter-spacing: -.02em; line-height: 1.3; }
html.allianz-theme #layout > #layout-sidebar > .header { padding-left: 16px; }
html.allianz-theme #layout > div > .footer,
html.allianz-theme #layout-list > .pagenav,
html.allianz-theme .menu.pagenav.pagenav-list { background: var(--aw-surface, var(--aw-panel)); border-color: var(--aw-line); color: var(--aw-muted); font-size: 12px; font-weight: 400; }
html.allianz-theme .menu.pagenav a { color: var(--aw-muted); }
html.allianz-theme .column-resizer:hover { background: #8db7fa33; }

/* Plain text branding, without initial badges or a rail logo. */
html.allianz-theme .allianz-wordmark { display: block; color: #edf3ff; font-size: 17px; font-weight: 650; line-height: 1.15; letter-spacing: .16em; }
html.allianz-theme .allianz-wordmark-sub { display: block; margin-top: 7px; color: #93a6c1; font-size: 9px; font-weight: 500; letter-spacing: .32em; }
html.allianz-theme #layout-menu > .popover-header { display: flex; align-items: center; justify-content: center; height: 64px; min-height: 64px; background: var(--aw-rail) !important; border: 0; }
html.allianz-theme #layout-menu .allianz-wordmark { margin: 0; }
html.allianz-theme #taskmenu a { color: #a4b2c7; border-radius: 9px; transition: background-color .15s ease, color .15s ease; }
html.allianz-theme #taskmenu a:hover,
html.allianz-theme #taskmenu a:focus-visible { background: #192539; color: #f0f5ff; }
html.allianz-theme #taskmenu a.selected,
html.allianz-theme #taskmenu a.selected:hover { background: #1d2e48; color: #bfd7ff; }
html.allianz-theme #taskmenu .action-buttons a.compose { background: #88b2f1; color: #101b2d; box-shadow: inset 0 1px #ffffff30; }
html.allianz-theme #taskmenu .action-buttons a.compose:hover { background: #a3c5f7; color: #101b2d; }
html.allianz-theme #taskmenu .special-buttons { background: transparent; }
html.allianz-theme #taskmenu a.logout { color: #e5a0aa !important; }
html.allianz-theme #taskmenu a.theme { display: none; }
html.allianz-theme #taskmenu .allianz-guide:before { content: '\f3cd'; }

/* Account buttons keep their native IMAP-backed actions. */
html.allianz-theme .allianz-workspaces { flex: 0 0 auto; margin: 0 14px; padding: 18px 0 20px; border-bottom: 1px solid var(--aw-line); }
html.allianz-theme .allianz-section-label { padding: 0 10px 10px; color: #8798b2; font-size: 10px; font-weight: 600; letter-spacing: .12em; }
html.allianz-theme .allianz-account { display: flex; align-items: center; width: 100%; padding: 13px 12px; border: 1px solid transparent; border-radius: 10px; background: transparent; color: var(--aw-text); text-align: left; cursor: pointer; }
html.allianz-theme .allianz-account + .allianz-account { margin-top: 7px; }
html.allianz-theme .allianz-account:hover { background: #18253a; }
html.allianz-theme .allianz-account.is-active { background: #1b2b43; border-color: #354d70; }
html.allianz-theme .allianz-account.is-shared.is-active { background: #2a2232; border-color: #614051; }
html.allianz-theme .allianz-account-label { display: block; min-width: 0; flex: 1; }
html.allianz-theme .allianz-account-label strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-bottom: 5px; font-size: 13px; font-weight: 600; line-height: 1.25; }
html.allianz-theme .allianz-account-label > span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #a4b4cb; font-size: 11px; line-height: 1.35; }
html.allianz-theme .allianz-account:disabled { opacity: .65; cursor: default; }
html.allianz-theme .allianz-sharing-pending { color: #e9c392; margin: 10px 8px 0; font-size: 12px; line-height: 1.5; }

/* Folder hierarchy, unread counts, context menus and dragging stay native. */
html.allianz-theme #mailboxlist { padding: 14px 14px 24px; }
html.allianz-theme #mailboxlist li { border: 0; color: var(--aw-muted); line-height: 40px; }
html.allianz-theme #mailboxlist li > a { min-height: 40px; line-height: 40px; margin: 2px 0; border: 0; border-radius: 7px; background: transparent; color: #adbbce; font-size: 14px; font-weight: 400; }
html.allianz-theme #mailboxlist li > a:hover { color: #f0f5fd; background: #19263a; }
html.allianz-theme #mailboxlist li.selected > a,
html.allianz-theme #mailboxlist li.selected > div > a { color: #dceaff; background: #20324d; box-shadow: inset 3px 0 #92baff; font-weight: 600; }
html.allianz-theme #mailboxlist li > a:before { color: #8c9db7; font-size: 16px; }
html.allianz-theme #mailboxlist li.selected > a:before { color: #aacbff; }
html.allianz-theme #mailboxlist li.unread > a { font-weight: 600; }
html.allianz-theme #mailboxlist li .unreadcount { background: #304969; color: #dceaff; border-radius: 5px; min-width: 22px; margin: 9px 8px; font-size: 11px; line-height: 21px; }
html.allianz-theme #mailboxlist li.ns-other,
html.allianz-theme #mailboxlist li.ns-shared { margin-top: 18px; }
html.allianz-theme #mailboxlist li.ns-other > a,
html.allianz-theme #mailboxlist li.ns-shared > a { color: #8e9db3; font-size: 12px; }
html.allianz-theme #mailboxlist li.virtual > a,
html.allianz-theme #mailboxlist li.noselect > a { opacity: 1; color: #92a3bb; }
html.allianz-theme #mailboxlist li div.treetoggle { line-height: 40px; color: #9baec9; }
html.allianz-theme #mailboxlist li ul li a { font-size: 13px; }
html.allianz-theme #mailboxlist li ul li ul li a { padding-left: 3.6em; }

/* Search and message list. */
html.allianz-theme #layout-list > .searchbar { margin: 14px 16px; padding: 0 6px; min-height: 42px; height: 42px; line-height: 42px; border: 1px solid #2c3b52; border-radius: 9px; background: #0c1421; }
html.allianz-theme #layout-list > .searchbar:focus-within { border-color: #83ace8; box-shadow: 0 0 0 2px #83ace815; }
html.allianz-theme #layout-list > .searchbar form { min-width: 0; align-items: center; }
html.allianz-theme #layout-list > .searchbar form:before { color: #90a2bc; height: auto; margin-left: 6px; font-size: 16px; }
html.allianz-theme #layout-list > .searchbar input { min-width: 0; padding: 10px 9px; height: 40px; border: 0; border-radius: 0; background: transparent; color: #eaf0fa; font-size: 13px; box-shadow: none; }
html.allianz-theme #layout-list > .searchbar input:focus-visible { outline: 0 !important; }
html.allianz-theme #layout-list > .searchbar a { color: #a7b8ce; }
html.allianz-theme #layout-list > .searchbar a:before { height: 40px; line-height: 40px; font-size: 14px; }
html.allianz-theme #messagelist-content,
html.allianz-theme #messagelist tr { background: transparent; }
html.allianz-theme #messagelist td { padding-top: 14px; padding-bottom: 14px; border-color: #223047; border-left: 0; color: #d0dcec; background: transparent; }
html.allianz-theme #messagelist tr:hover td { background: #18263b; }
html.allianz-theme #messagelist tr.selected td { background: #213651; color: #f2f6ff; }
html.allianz-theme #messagelist tr.unread td { background-color: #17243a; }
html.allianz-theme #messagelist tr.unread.selected td { background-color: #213651; }
html.allianz-theme #messagelist td.subject span.subject { font-size: 14px; line-height: 1.6; margin-bottom: 5px; color: #e4ebf7; }
html.allianz-theme #messagelist td.subject span.subject a { color: inherit; }
html.allianz-theme #messagelist tr.unread td.subject span.subject { color: #f5f8ff; font-weight: 600; }
html.allianz-theme #messagelist td.subject span.fromto { color: #afbed1; font-size: 12px; line-height: 1.5; }
html.allianz-theme #messagelist td.subject span.date,
html.allianz-theme #messagelist td.subject span.size { color: #93a5bf; font-size: 11px; line-height: 1.5; }
html.allianz-theme #messagelist .msgicon { color: #91b8f0; }
html.allianz-theme #messagelist tr.flagged td.subject span.subject { color: #efb2bf; }
html.allianz-theme #messagelist tr.deleted td { opacity: .55; }
html.allianz-theme .listing-info { color: #9eafc7; font-size: 14px; font-weight: 400; line-height: 1.65; }

/* Elastic turns toolbars into ul/li lists at runtime. Avoid inline-block baselines
   and inherited 64px line boxes; do not style menus after they move into a popup. */
html.allianz-theme #layout > div > .header > a.button { flex: 0 0 40px; width: 40px; min-width: 40px; height: 40px; margin: 0; padding: 0; border-radius: 7px; line-height: 40px; text-align: center; color: #b2c0d4; }
html.allianz-theme #layout > div > .header > a.button:before { display: block; float: none !important; width: 100% !important; height: 40px !important; margin: 0 !important; line-height: 40px; font-size: 18px; }
html.allianz-theme #layout > div > .header > .menu.toolbar:not(.popupmenu) { display: flex; flex: 0 0 auto; align-items: center; gap: 2px; height: 52px; min-height: 0; margin: 0; padding: 0; line-height: 1; }
html.allianz-theme #layout > div > .header > .menu.toolbar:not(.popupmenu) > li { display: flex; flex: 0 0 auto; align-items: center; height: 52px; margin: 0; padding: 0; border: 0; line-height: 1; }
html.allianz-theme #layout > div > .header > .menu.toolbar:not(.popupmenu) > li.spacer { width: 8px; height: 24px; margin: 0 3px; border-left: 1px solid var(--aw-line); }
html.allianz-theme #layout > div > .header > .menu.toolbar:not(.popupmenu) a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; float: none; width: auto; min-width: 44px; max-width: 108px; height: 48px; padding: 6px 8px; border-radius: 7px; color: #b2c0d4; font-size: 14px; line-height: 1; }
html.allianz-theme #layout > div > .header > .menu.toolbar:not(.popupmenu) a:before { float: none !important; height: 18px !important; margin: 0 !important; font-size: 18px; line-height: 18px; }
html.allianz-theme #layout > div > .header > .menu.toolbar:not(.popupmenu) .inner { display: block; max-width: 100%; font-size: 11px; font-weight: 400; line-height: 14px; }
html.allianz-theme #layout > div > .header > .menu.toolbar:not(.popupmenu) .dropbutton { display: flex; align-items: center; height: 48px; line-height: 1; border-radius: 7px; }
html.allianz-theme #layout > div > .header > .menu.toolbar:not(.popupmenu) .dropbutton a.dropdown { flex: 0 0 24px; width: 24px; min-width: 24px; max-width: 24px; padding: 0; }
html.allianz-theme #layout > div > .header > .menu.toolbar:not(.popupmenu) .dropbutton a.dropdown:before { line-height: 18px; font-size: 12px; }
html.allianz-theme #layout .header a:not(.disabled):hover,
html.allianz-theme #layout .header .menu.toolbar .dropbutton:not(.disabled):hover { color: #ecf3ff; background: #1d2c43; }
html.allianz-theme #layout .header a.disabled { opacity: .38; }
html.allianz-theme #layout .header a:focus-visible { outline-offset: -2px; }
html.allianz-theme #layout > #layout-list > #messagelist-header > .toolbar:not(.popupmenu) a { width: 36px; min-width: 36px; max-width: 36px; height: 40px; padding: 0; }
/* Keep accessible labels even though Elastic forces refresh text to display:inline. */
html.allianz-theme #layout > #layout-list > #messagelist-header > .toolbar:not(.popupmenu) .inner,
html.allianz-theme #layout > #layout-list > #messagelist-header > .toolbar-button.refresh .inner,
html.allianz-theme #layout > div > .header > .menu.toolbar:not(.popupmenu) .dropdown .inner { display: block !important; position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
/* Pane width matters when a user resizes the columns, not just viewport width. */
html.allianz-theme .task-mail:not(.action-compose) #layout-content { container-name: allianz-reader; container-type: inline-size; }
html.allianz-theme .task-mail:not(.action-compose) #layout-content > .header > .menu.toolbar:not(.popupmenu) { flex: 0 1 auto; min-width: 0; max-width: 100%; overflow-x: auto; overflow-y: hidden; }
@container allianz-reader (max-width: 680px) {
  html.allianz-theme #layout > #layout-content > .header > .menu.toolbar:not(.popupmenu) a { height: 40px; padding: 0; }
  html.allianz-theme #layout > #layout-content > .header > .menu.toolbar:not(.popupmenu) a:not(.dropdown) { width: 40px; min-width: 40px; max-width: 40px; }
  html.allianz-theme #layout > #layout-content > .header > .menu.toolbar:not(.popupmenu) .inner { display: block !important; position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
}

/* Forms: scoped to avoid altering sanitized HTML message content. */
html.allianz-theme :is(.form-control, .custom-select, input, textarea, select) { border-color: #34445e; border-radius: 7px; background-color: #101b2b; color: #eaf0fa; }
html.allianz-theme :is(input, textarea)::placeholder { color: #8d9eb8; opacity: 1; }
html.allianz-theme :is(.form-control, .custom-select):focus { background-color: #142237; color: #f5f8ff; border-color: #8eb8f4; }
html.allianz-theme .input-group-text { background: #1b2a40; color: #b2c5df; border-color: #34445e; }
html.allianz-theme .btn-primary { background: #8db7f4; border-color: #8db7f4; color: #101b2d; border-radius: 8px; font-weight: 600; }
html.allianz-theme .btn-primary:hover,
html.allianz-theme .btn-primary:focus { background: #a9caff; border-color: #a9caff; color: #0b1525; }
html.allianz-theme .btn-secondary { background: #21324c; border-color: #3b506e; color: #e4edfb; border-radius: 8px; }
html.allianz-theme :is(.popover, .ui-dialog, .dropdown-menu, .modal-content) { background: #152033; color: #e9f0fa; border: 1px solid #364a66; border-radius: 10px; box-shadow: 0 18px 60px #0006; }
html.allianz-theme :is(.popover-header, .ui-dialog-titlebar) { background: #1a2940; color: #edf4ff; border-color: #34465f; }
html.allianz-theme :is(.dropdown-item, .menu li a) { color: #c4d3e8; }
html.allianz-theme .popupmenu .listing li > a:not(.disabled):hover { background: #243954; color: #f3f7ff; }
html.allianz-theme .listing li,
html.allianz-theme .listing td { border-color: #26354b; }
html.allianz-theme :is(.listing li.selected, .listing tr.selected td) { background-color: #20324d; color: #e9f2ff; }
html.allianz-theme :is(.ui-dialog .ui-dialog-buttonpane, .formcontainer .formbuttons, .formcontainer .formcontent, .nav-tabs .nav-link.active) { background-color: #152034; color: var(--aw-text); border-color: var(--aw-line); }
html.allianz-theme .ui.alert { background-color: #17283d; border-color: #355070; color: #dce9fa; }
html.allianz-theme .ui.alert.alert-danger { background-color: #38202c; border-color: #734252; color: #ffd3db; }
html.allianz-theme .allianz-compose-note { padding: 12px 0; color: #a9b9d1; font-size: 12px; line-height: 1.6; }
html.allianz-theme :is(#message-header, .message-headers, .headers-table) { color: #dce7f8; background: transparent; border-color: var(--aw-line); }
html.allianz-theme .message-part { border-color: var(--aw-line); }
html.allianz-theme .message-part .pre { color: #e2ebf8; line-height: 1.65; font-size: 15px; }
/* Never force a background, layout or font into .message-htmlpart / #messagebody. */

/* Reset Elastic's relative 20vh offset and allow short screens to scroll. */
html.allianz-theme body.task-login { min-width: 0; height: auto; min-height: 100%; overflow: auto; background: radial-gradient(ellipse at 20% 5%, #1b365733, transparent 52%), radial-gradient(ellipse at 100% 100%, #4426351a, transparent 50%), #0a101a; }
html.allianz-theme body.task-login #layout { min-height: 100vh; min-height: 100dvh; height: auto; padding: 36px 20px; align-items: center; justify-content: center; overflow: visible; background: transparent; }
html.allianz-theme body.task-login #layout > #layout-content {
  position: relative; display: block; flex: 0 1 440px; width: 440px; min-width: 0; max-width: 100%; height: auto;
  margin: 0; padding: 38px; overflow: visible; text-align: left; border: 1px solid #2b3b53; border-radius: 18px;
  background: #111b2ae8; box-shadow: 0 28px 85px #0005, inset 0 1px #ffffff05;
}
html.allianz-theme .task-login .allianz-wordmark { margin: 0 0 34px; }
html.allianz-theme .task-login #logo { position: static; top: auto; max-height: 48px; margin: 0 0 30px; }
html.allianz-theme .allianz-login-intro { margin-bottom: 28px; }
html.allianz-theme .allianz-kicker { display: none; }
html.allianz-theme .allianz-login-intro h2 { margin: 0 0 10px; color: #f0f5ff; font-size: 29px; font-weight: 600; letter-spacing: -.04em; line-height: 1.25; }
html.allianz-theme .allianz-login-intro p { margin: 0; color: #a8b9d1; font-size: 14px; line-height: 1.65; }
html.allianz-theme .task-login #login-form { position: static; top: auto; left: auto; transform: none; display: block; width: 100%; max-width: none; height: auto; margin: 0; }
html.allianz-theme .task-login #login-form :is(table, tbody, tr, td) { display: block; width: 100%; padding: 0; }
html.allianz-theme .task-login #login-form table { border: 0; margin: 0; }
html.allianz-theme .task-login #login-form tr { margin: 0 0 20px; }
html.allianz-theme .task-login #login-form td.title { display: block !important; margin-bottom: 9px; }
html.allianz-theme .task-login #login-form td.title label { margin: 0; color: #cbd7e9; font-size: 13px; font-weight: 500; }
html.allianz-theme .task-login #login-form td.input { display: flex; }
html.allianz-theme .task-login #login-form .input-group { margin: 0; }
html.allianz-theme .task-login #login-form .input-group-prepend { display: none; }
html.allianz-theme .task-login #login-form :is(input:not([type="hidden"]), select) { flex: 1; width: 100%; min-width: 0; height: 48px; margin: 0; padding: 0 14px; border: 1px solid #3a4d68; border-radius: 8px; background: #0c1523; color: #e9f1ff; font-size: 16px; box-shadow: inset 0 1px 3px #0001; }
html.allianz-theme .task-login #login-form input:focus { border-color: #95bdff; background-color: #101e32; }
html.allianz-theme .task-login #login-form .formbuttons { margin: 7px 0 0; }
html.allianz-theme .task-login #login-form .btn { width: 100%; min-height: 48px; padding: 12px 16px; border-radius: 8px; font-size: 15px; font-weight: 600; text-transform: none !important; letter-spacing: .01em; }
html.allianz-theme .task-login #login-footer { margin-top: 26px; padding-top: 23px; border-top: 1px solid #2b3b53; color: #9eafc7; font-size: 12px; text-align: center; line-height: 1.6; }
html.allianz-theme .allianz-help-link { display: block; color: #b5cef5; font-size: 12px; line-height: 1.6; text-align: center; }
html.allianz-theme .allianz-help-link:hover { color: #e1ecff; text-decoration: underline; }
html.allianz-theme .allianz-login-hint { display: none; }

/* A local blank page, never an overlay over a real message. */
html.allianz-theme body.allianz-empty { display: grid; place-items: center; min-width: 0; min-height: 100vh; min-height: 100dvh; height: auto; margin: 0; padding: 28px; box-sizing: border-box; background: var(--aw-reader); text-align: center; }
html.allianz-theme .allianz-empty-state { max-width: 300px; margin: 0 auto; transform: translateY(-12px); }
html.allianz-theme .allianz-empty-icon { display: grid; place-items: center; width: 68px; height: 68px; margin: 0 auto 24px; border: 1px solid #304360; border-radius: 20px; background: #17253a; color: #9dbff1; box-shadow: 0 14px 40px #0002; }
html.allianz-theme .allianz-empty-icon svg { width: 29px; height: 29px; }
html.allianz-theme .allianz-empty-state h1 { margin: 0 0 11px; color: #dce7f8; font-size: 19px; font-weight: 500; letter-spacing: -.02em; }
html.allianz-theme .allianz-empty-state p { margin: 0; color: #91a4bf; font-size: 13px; line-height: 1.8; }

@media (min-width: 481px) {
  html.allianz-theme #layout > #layout-menu { display: flex; flex-direction: column; width: 80px; }
  html.allianz-theme #layout-menu > .popover-header { display: none; }
  html.allianz-theme #taskmenu { display: flex; flex-direction: column; flex: 1; min-height: 0; padding: 8px 6px; overflow-y: auto; }
  html.allianz-theme #taskmenu a { width: 100%; max-width: none; height: 56px; margin: 3px 0; padding: 8px 2px; font-size: 17px; }
  html.allianz-theme #taskmenu a:before { line-height: 25px; height: 25px !important; }
  html.allianz-theme #taskmenu .inner { display: block; font-size: 10px; padding: 0; line-height: 17px; }
  html.allianz-theme #taskmenu .action-buttons { display: block; margin-bottom: 13px; }
  html.allianz-theme #taskmenu .action-buttons a.compose { height: 56px; }
  html.allianz-theme #taskmenu .special-buttons { position: static; display: block; margin-top: auto; padding-top: 24px; }
}
@media (min-width: 1201px) {
  html.allianz-theme .task-mail:not(.action-compose) #layout-sidebar { flex: 0 0 auto; width: 282px; min-width: 250px; max-width: 340px; }
  html.allianz-theme .task-mail:not(.action-compose) #layout-list { flex: 0 0 auto; width: 370px; min-width: 310px; max-width: 38%; }
  html.allianz-theme .task-mail:not(.action-compose) #layout-content { flex: 1 1 0; }
}
@media (min-width: 1600px) {
  html.allianz-theme .task-mail:not(.action-compose) #layout-list { width: 420px; }
}
@media (min-width: 481px) and (max-width: 1024px) {
  html.allianz-theme #layout > #layout-menu { width: 62px; }
  html.allianz-theme #taskmenu { padding-left: 4px; padding-right: 4px; }
  html.allianz-theme #taskmenu .inner { display: none; }
  html.allianz-theme #taskmenu a { height: 53px; }
  html.allianz-theme #taskmenu a:before { line-height: 36px; }
}
@media (max-width: 767px) {
  html.allianz-theme #layout > div > .header { height: 58px; min-height: 58px; padding: 0 12px; }
  html.allianz-theme #layout > div > .header > a.button { flex-basis: 44px; width: 44px; min-width: 44px; height: 44px; line-height: 44px; }
  html.allianz-theme #layout > div > .header > a.button:before { height: 44px !important; line-height: 44px; }
  html.allianz-theme #layout > #layout-sidebar,
  html.allianz-theme #layout > #layout-list { min-width: 0; }
  html.allianz-theme .allianz-workspaces { margin: 0 16px; padding-top: 14px; }
  html.allianz-theme .allianz-account-label strong { font-size: 14px; }
  html.allianz-theme .allianz-account-label > span { font-size: 12px; }
  html.allianz-theme #mailboxlist { padding: 14px 16px; }
  html.allianz-theme #mailboxlist li > a { min-height: 44px; line-height: 44px; font-size: 15px; }
  html.allianz-theme #mailboxlist li div.treetoggle { line-height: 44px; }
  html.allianz-theme #layout-list > .searchbar input { font-size: 16px; }
}
@media (max-width: 480px) {
  html.allianz-theme .task-login #layout { padding: 24px 16px; }
  html.allianz-theme .task-login #layout > #layout-content { padding: 28px 24px; border-radius: 15px; }
  html.allianz-theme .task-login .allianz-wordmark { margin-bottom: 28px; }
  html.allianz-theme .allianz-login-intro h2 { font-size: 27px; }
  html.allianz-theme #layout-menu > .popover-header { justify-content: flex-start; padding: 12px 16px; height: 74px; }
  html.allianz-theme #taskmenu { padding: 12px; }
  html.allianz-theme #taskmenu a { height: 46px; line-height: 46px; margin: 4px 0; padding: 0 14px; font-size: 15px; border: 0 !important; }
  html.allianz-theme #taskmenu a:before { line-height: 46px; height: 46px !important; }
  html.allianz-theme #taskmenu .special-buttons { display: block; margin-top: 24px; }
  html.allianz-theme #taskmenu .action-buttons a.compose { margin-bottom: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html.allianz-theme *, html.allianz-theme *:before, html.allianz-theme *:after { transition: none !important; animation: none !important; }
}
@media print {
  html.allianz-theme, html.allianz-theme body { color-scheme: light; background: #fff !important; color: #111 !important; }
  html.allianz-theme .message-part .pre, html.allianz-theme #message-header { color: #111 !important; }
  .allianz-workspaces, .allianz-compose-note { display: none !important; }
}
