/* Every rule is gated by device detection in mobile-ui.js. Desktop CSS stays intact. */
html[data-t3-mobile="true"] {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-padding-bottom: env(safe-area-inset-bottom);
}
html[data-t3-mobile="true"] body {
    min-width: 0;
    padding: max(8px, env(safe-area-inset-top)) max(8px, env(safe-area-inset-right)) max(8px, env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left));
    overflow-x: hidden;
}
html[data-t3-mobile="true"] :is(main, section, header, .panel, .control-strip, .field-grid) {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}
html[data-t3-mobile="true"] :is(input, select, textarea, button) {
    font-size: 16px;
    box-sizing: border-box;
}
html[data-t3-mobile="true"] :is(button, select, input:not([type="checkbox"]):not([type="radio"]), summary) {
    min-height: 44px;
}
html[data-t3-mobile="true"] :is(button, summary, a) {
    touch-action: manipulation;
}
html[data-t3-mobile="true"] input:is([type="checkbox"], [type="radio"]):not([role="switch"]) {
    width: 22px;
    height: 22px;
}
html[data-t3-mobile="true"] .topbar,
html[data-t3-mobile="true"] #dashboardContent > header {
    position: static;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 8px;
}
html[data-t3-mobile="true"] :is(.topbar-actions, .button-row, .top-actions, .section-actions, .mail-actions) {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    max-width: 100%;
}
html[data-t3-mobile="true"] :is(.topbar-actions, .button-row) > :is(a, button) {
    min-height: 44px;
    white-space: normal;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
html[data-t3-mobile="true"] :is(.control-strip, .field-grid, .filter-grid) {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}
html[data-t3-mobile="true"] :is(.control-strip, .field-grid, .filter-grid) > * {
    min-width: 0;
    max-width: 100%;
}
html[data-t3-mobile="true"] :is(.table-wrap, .task-log-scroll) {
    max-width: 100%;
    overflow: auto;
    overscroll-behavior: contain;
}
html[data-t3-mobile="true"] .task-log-frame {
    min-width: 0;
}
html[data-t3-mobile="true"] #dashboardContent > section {
    padding: 12px;
}
html[data-t3-mobile="true"] .permissions-table {
    min-width: 800px;
}
html[data-t3-mobile="true"] .user-table {
    table-layout: auto;
    width: 100%;
}
html[data-t3-mobile="true"] .user-table :is(colgroup, thead) {
    display: none;
}
html[data-t3-mobile="true"] .user-table thead {
    display: block;
}
html[data-t3-mobile="true"] .user-table thead tr {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}
html[data-t3-mobile="true"] .user-table thead th {
    display: block;
    position: static;
    width: auto;
    height: auto;
    white-space: normal;
}
html[data-t3-mobile="true"] .user-table tbody {
    display: grid;
    gap: 12px;
}
html[data-t3-mobile="true"] .user-table tbody tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 44px;
    padding: 8px;
    border-bottom: 1px solid #d8e2ee;
}
html[data-t3-mobile="true"] .user-table td {
    min-width: 0;
    padding: 4px;
}
html[data-t3-mobile="true"] .user-table td:first-child {
    grid-column: 1 / -1;
}
html[data-t3-mobile="true"] .user-table td :is(input, select) {
    width: 100%;
}
html[data-t3-mobile="true"] :is(dialog, .confirm-dialog, .error-dialog, .search-help-dialog, .shortcut-help-dialog, .search-hits-dialog, .contact-dialog) {
    box-sizing: border-box;
    max-width: calc(100vw - 16px) !important;
    max-height: calc(100dvh - 16px) !important;
    overflow: auto;
}
html[data-t3-mobile="true"] #subjectMappingDialog {
    width: calc(100vw - 16px) !important;
    padding: 12px !important;
    resize: none !important;
}
html[data-t3-mobile="true"] .context-menu:not([hidden]) {
    position: fixed;
    left: max(8px, env(safe-area-inset-left)) !important;
    right: max(8px, env(safe-area-inset-right)) !important;
    top: auto !important;
    bottom: max(8px, env(safe-area-inset-bottom)) !important;
    width: auto;
    max-width: none;
    max-height: 70dvh;
    overflow: auto;
    z-index: 1000;
}
html[data-t3-mobile="true"] .context-menu button {
    width: 100%;
    white-space: normal;
}
html[data-t3-mobile="true"] .mobile-folder-item {
    position: relative;
}
html[data-t3-mobile="true"] .mobile-folder-item > .folder-button {
    width: calc(100% - 48px);
    min-height: 48px;
    height: auto;
    grid-template-columns: 44px 18px minmax(0, 1fr) auto;
}
html[data-t3-mobile="true"] .folder-button .toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
}
html[data-t3-mobile="true"] .folder-name {
    white-space: normal;
    overflow-wrap: anywhere;
    overflow: visible;
}
html[data-t3-mobile="true"] .mobile-item-actions {
    width: 44px;
    min-width: 44px;
    padding: 0;
    font-size: 24px;
    color: #1d4ed8;
    background: #f2f6fc;
    border: 1px solid #cddcf0;
    border-radius: 6px;
}
html[data-t3-mobile="true"] .mobile-folder-item > .mobile-item-actions {
    position: absolute;
    right: 0;
    top: 2px;
}
html[data-t3-mobile="true"][data-t3-mobile-page="public-folders"] body {
    padding: 0;
    overflow: hidden;
}
html[data-t3-mobile="true"][data-t3-mobile-page="public-folders"] .shell {
    height: 100dvh;
    padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
    grid-template-rows: auto auto minmax(0, 1fr) auto;
}
html[data-t3-mobile="true"] .mobile-folder-navigation {
    display: flex;
    gap: 4px;
    padding: 0 8px 4px;
    border-bottom: 1px solid #cddcf0;
    background: #f5f8fd;
}
html[data-t3-mobile="true"] .mobile-folder-navigation button {
    flex: 1;
    color: #1d4ed8;
    background: white;
}
html[data-t3-mobile="true"] .mobile-folder-navigation [aria-pressed="true"] {
    background: #1d4ed8;
    color: white;
}
html[data-t3-mobile="true"] #contentPane {
    display: block;
    min-height: 0;
    overflow: hidden;
}
html[data-t3-mobile="true"] #folderSplitter {
    display: none;
}
html[data-t3-mobile="true"] #folderPane {
    height: 100%;
    max-height: none;
    border: 0;
}
html[data-t3-mobile="true"] #contentPane[data-mobile-folders-open="false"] #folderPane,
html[data-t3-mobile="true"] #contentPane[data-mobile-folders-open="true"] .messages {
    display: none;
}
html[data-t3-mobile="true"] #contentPane .messages {
    display: block;
    height: 100%;
    min-height: 0;
    overflow: auto;
    overscroll-behavior: contain;
}
html[data-t3-mobile="true"] #contentPane .section-head {
    flex-wrap: wrap;
    gap: 4px;
    padding: 6px 10px;
}
html[data-t3-mobile="true"] #contentPane .section-head > div {
    min-width: 0;
    flex: 1 1 180px;
}
html[data-t3-mobile="true"] #contentPane .section-head h2 {
    white-space: normal;
    overflow-wrap: anywhere;
}
html[data-t3-mobile="true"] #contentPane .filter-row-primary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}
html[data-t3-mobile="true"] #contentPane .speech-search-field {
    grid-column: 1 / -1;
}
html[data-t3-mobile="true"] #searchField {
    padding-right: 96px;
}
html[data-t3-mobile="true"] #contentPane :is(.search-clear-button, .speech-search-button) {
    width: 44px;
    height: 44px;
    min-height: 44px;
    top: 50%;
    transform: translateY(-50%);
}
html[data-t3-mobile="true"] #searchClearButton {
    right: 48px;
}
html[data-t3-mobile="true"] #speechSearchButton {
    right: 2px;
}
html[data-t3-mobile="true"] #contentPane .semantic-switch {
    min-height: 44px;
    white-space: normal;
    grid-column: auto;
}
html[data-t3-mobile="true"] #contentPane .advanced-search summary {
    display: flex;
    align-items: center;
    width: 100%;
}
html[data-t3-mobile="true"] #contentPane .advanced-search-content {
    overflow: visible;
}
html[data-t3-mobile="true"] #contentPane .advanced-search-row {
    min-width: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}
html[data-t3-mobile="true"] #contentPane .advanced-date-filter {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
    min-width: 0;
    width: 100%;
    justify-self: stretch;
}
html[data-t3-mobile="true"] #contentPane .date-filter-control {
    position: relative;
    display: flex;
    min-width: 0;
    width: 100%;
}
html[data-t3-mobile="true"] #contentPane .date-filter-field {
    flex: 1;
    width: 0;
    min-width: 0;
    height: 40px;
    padding: 4px;
    font-size: 13px;
}
html[data-t3-mobile="true"] #contentPane .date-clear-button {
    flex: 0 0 28px;
    width: 28px;
}
html[data-t3-mobile="true"] #contentPane .mobile-date-range {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-column: 1 / -1;
    gap: 6px;
    min-width: 0;
}
html[data-t3-mobile="true"] .mobile-date-placeholder {
    display: none;
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    font-size: 13px;
    font-weight: 400;
    pointer-events: none;
}
html[data-t3-mobile="true"] .mobile-date-empty:not(:has(input:focus)) .mobile-date-placeholder {
    display: block;
}
html[data-t3-mobile="true"] .mobile-date-empty input:not(:focus) {
    color: transparent;
}
html[data-t3-mobile="true"] .mobile-date-empty input:not(:focus)::-webkit-datetime-edit {
    opacity: 0;
}
html[data-t3-mobile="true"] #dateRangePreset {
    grid-column: 1 / -1;
    min-width: 0;
    width: 100%;
}
html[data-t3-mobile="true"] #contentPane .ocr-exclusion {
    min-height: 44px;
    white-space: normal;
    display: flex;
    align-items: center;
}
html[data-t3-mobile="true"] #contentPane .table-wrap {
    overflow: visible;
}
html[data-t3-mobile="true"] #contentPane table {
    display: block;
    table-layout: auto;
    width: 100% !important;
    min-width: 0 !important;
}
html[data-t3-mobile="true"] #contentPane :is(colgroup, .column-resizer) {
    display: none;
}
html[data-t3-mobile="true"] #contentPane thead {
    display: block;
}
html[data-t3-mobile="true"] #contentPane thead tr {
    display: flex;
    flex-wrap: wrap;
    padding: 4px 8px;
    gap: 4px;
}
html[data-t3-mobile="true"] #contentPane th {
    display: block;
    width: auto !important;
    padding: 0;
    border: 0;
}
html[data-t3-mobile="true"] #contentPane th:first-child {
    display: none;
}
html[data-t3-mobile="true"] #moveContent {
    display: block;
    overflow: auto;
}
html[data-t3-mobile="true"] #moveContent :is(.tables, .mail-section, .targets) {
    display: block;
    height: auto;
    max-height: none;
}
html[data-t3-mobile="true"] #moveContent .table-wrap {
    max-height: 50dvh;
    overflow: auto;
}
html[data-t3-mobile="true"] #moveContent .mail-col {
    min-width: 150px;
    width: 150px;
}
html[data-t3-mobile="true"] #moveContent .selection-col {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
html[data-t3-mobile="true"] #moveContent :is(.table-splitter, .pane-splitter) {
    display: none;
}
html[data-t3-mobile="true"] .shell:has(#moveContent) {
    height: 100dvh;
    grid-template-rows: auto minmax(0, 1fr) auto;
}
html[data-t3-mobile="true"] .topbar:has(.filter-controls) {
    grid-template-columns: minmax(0, 1fr);
}
html[data-t3-mobile="true"] .filter-controls {
    flex-wrap: wrap;
}
html[data-t3-mobile="true"] .dialog-close-button {
    min-width: 44px;
    min-height: 44px;
}
html[data-t3-mobile="true"] #contentPane .sort-button {
    padding: 6px 10px;
}
html[data-t3-mobile="true"] #messageRows {
    display: grid;
    gap: 6px;
    padding: 6px 8px;
}
html[data-t3-mobile="true"] #messageRows .message-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    position: relative;
    min-width: 0;
    border: 1px solid #d8e2ee;
    border-radius: 8px;
    padding: 8px;
    background: white;
}
html[data-t3-mobile="true"] #messageRows td {
    display: block;
    min-width: 0;
    width: auto !important;
    white-space: normal;
    overflow-wrap: anywhere;
    padding: 2px 4px;
    border: 0;
}
html[data-t3-mobile="true"] #messageRows .message-row td:nth-child(2) {
    position: absolute;
    top: 17px;
    left: 60px;
    right: 56px;
    font-size: 13px;
}
html[data-t3-mobile="true"] #messageRows .message-row td:nth-child(5) {
    grid-row: 2;
    font-weight: 600;
    font-size: 16px;
}
html[data-t3-mobile="true"] #messageRows .message-row td:first-child {
    min-height: 44px;
    padding-right: 48px;
}
html[data-t3-mobile="true"] #messageRows .mobile-item-actions {
    position: absolute;
    right: 8px;
    top: 8px;
}
html[data-t3-mobile="true"] #messageRows td:nth-child(n+3):not(:nth-child(5)):not(.mobile-recipient-cell)::before {
    content: attr(data-mobile-label) ": ";
    color: #52647b;
    font-size: 13px;
}
html[data-t3-mobile="true"] .mail-hover-preview {
    display: none !important;
}
html[data-t3-mobile="true"] .status {
    white-space: normal;
    overflow-wrap: anywhere;
    padding: 3px 8px;
    font-size: 11px;
    max-height: 8dvh;
    overflow: auto;
}
html[data-t3-mobile="true"][data-t3-mobile-page="public-folders"] #statusField {
    position: static;
    height: auto;
    display: block;
    background: white;
    border-top: 1px solid #cddcf0;
}
html[data-t3-mobile="true"] body:has(#moveContent) {
    padding: 0;
}
html[data-t3-mobile="true"] :is(.eml-reader, .eml-attachment-preview) {
    width: 100vw;
    height: 100dvh;
    max-width: 100vw !important;
    max-height: 100dvh !important;
    margin: 0;
    padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
    border: 0;
    border-radius: 0;
    overflow: hidden;
}
html[data-t3-mobile="true"] .eml-reader-toolbar {
    position: relative;
    padding: 4px 8px;
    gap: 6px;
}
html[data-t3-mobile="true"] .eml-reader-toolbar button {
    min-height: 44px;
    font-size: 16px;
}
html[data-t3-mobile="true"] .eml-reader-toolbar [data-close] {
    width: 44px;
    min-width: 44px;
}
html[data-t3-mobile="true"] .eml-reader-toolbar [data-download] {
    width: 100%;
}
html[data-t3-mobile="true"] .eml-reader-search {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    order: 3;
    flex-wrap: wrap;
    padding: 4px 0;
    gap: 4px;
}
html[data-t3-mobile="true"] .eml-reader-search input {
    flex: 1 1 100%;
    width: 100%;
    min-width: 0;
    min-height: 44px;
    font-size: 16px;
}
html[data-t3-mobile="true"] .eml-reader-search button {
    min-width: 44px;
    min-height: 44px;
}
html[data-t3-mobile="true"] .eml-reader-header {
    padding: 8px 10px 0;
    max-height: 26dvh;
    flex: 0 1 auto;
}
html[data-t3-mobile="true"] .eml-reader h2 {
    font-size: 16px;
    line-height: 1.3;
    margin-bottom: 2px;
}
html[data-t3-mobile="true"] .eml-reader dl {
    grid-template-columns: 50px minmax(0, 1fr);
    gap: 4px 8px;
}
html[data-t3-mobile="true"] .eml-reader-attachment-bar {
    padding: 2px 10px;
    flex-wrap: wrap;
    gap: 6px;
}
html[data-t3-mobile="true"] .eml-reader-attachments {
    flex-basis: 100%;
    max-height: 14dvh;
}
html[data-t3-mobile="true"] .eml-reader-attachments button {
    min-height: 44px;
    font-size: 13px;
}
html[data-t3-mobile="true"] .eml-reader-attachments .eml-attachment-label {
    white-space: normal;
}
html[data-t3-mobile="true"] .eml-reader .eml-attachments-toggle {
    flex-basis: auto;
    min-height: 44px;
}
html[data-t3-mobile="true"] .eml-reader-status {
    padding: 3px 10px;
    font-size: 11px;
    max-height: 10dvh;
    overflow: auto;
    flex: 0 0 auto;
}
html[data-t3-mobile="true"] .eml-reader iframe {
    min-height: 80px;
}
html[data-t3-mobile="true"] .eml-attachment-preview header {
    padding: 8px;
    flex-wrap: wrap;
    gap: 8px;
}
html[data-t3-mobile="true"] .eml-attachment-preview :is(button, a) {
    min-height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
html[data-t3-mobile="true"] [hidden] {
    display: none !important;
}
/* Compact controls apply only to the mobile folder browser and mobile mail reader. */
html[data-t3-mobile="true"][data-t3-mobile-page="public-folders"] .shell :is(button, select, summary),
html[data-t3-mobile="true"] .eml-reader .eml-reader-layout :is(button, summary) {
    min-height: 36px;
    font-size: 13px;
}
html[data-t3-mobile="true"][data-t3-mobile-page="public-folders"] .shell input:not([type="checkbox"]):not([type="radio"]) {
    min-height: 40px;
}
html[data-t3-mobile="true"][data-t3-mobile-page="public-folders"] .topbar {
    position: relative;
    flex-wrap: nowrap;
    align-items: center;
    padding: 2px 8px;
    gap: 4px;
    z-index: 5;
}
html[data-t3-mobile="true"] .mobile-main-menu {
    flex: 0 0 auto;
}
html[data-t3-mobile="true"] .mobile-main-menu > .mobile-menu-toggle {
    display: flex;
    width: 36px;
    align-items: center;
    justify-content: center;
    border: 1px solid #d1d9e4;
    border-radius: 6px;
    color: #334155;
    background: white;
    padding: 0;
    cursor: pointer;
    font-size: 22px !important;
}
html[data-t3-mobile="true"] .mobile-main-menu[data-open="true"] .topbar-actions {
    position: absolute;
    z-index: 100;
    right: 8px;
    top: calc(100% - 2px);
    display: grid;
    gap: 4px;
    padding: 6px;
    width: min(230px, calc(100vw - 16px));
    background: white;
    border: 1px solid #cddcf0;
    border-radius: 8px;
    box-shadow: 0 6px 24px #0f172a26;
}
html[data-t3-mobile="true"] .mobile-main-menu .topbar-actions button {
    justify-content: flex-start;
    padding: 6px 10px;
}
html[data-t3-mobile="true"] .mobile-folder-navigation button {
    padding: 4px 8px;
}
html[data-t3-mobile="true"] #contentPane .filter-bar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
    padding: 4px 8px;
    gap: 4px 6px;
}
html[data-t3-mobile="true"] #contentPane .filter-row-primary {
    grid-column: 1 / -1;
    gap: 4px 6px;
}
html[data-t3-mobile="true"] #contentPane .filter-row-primary > button {
    padding: 4px 8px;
}
html[data-t3-mobile="true"] #contentPane .advanced-search {
    border: 0;
    min-width: 0;
}
html[data-t3-mobile="true"] #contentPane .advanced-search > summary {
    display: list-item;
    box-sizing: border-box;
    padding: 9px 0;
    line-height: 18px;
}
html[data-t3-mobile="true"] #contentPane .advanced-search[open] {
    grid-column: 1 / -1;
}
html[data-t3-mobile="true"] #contentPane .advanced-search-content {
    padding: 0 0 6px;
}
html[data-t3-mobile="true"] .mobile-search-options {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
    align-items: center;
    gap: 4px;
}
html[data-t3-mobile="true"] #contentPane .mobile-search-options .semantic-switch {
    min-height: 36px;
    font-size: 12px;
    gap: 4px;
}
html[data-t3-mobile="true"] .mobile-search-options .semantic-switch-track {
    width: 28px;
    height: 16px;
}
html[data-t3-mobile="true"] .mobile-search-options .semantic-switch-thumb {
    width: 10px;
    height: 10px;
}
html[data-t3-mobile="true"] .mobile-search-options input:checked + .semantic-switch-track .semantic-switch-thumb {
    transform: translateX(12px);
}
html[data-t3-mobile="true"] .mobile-search-options #clearButton {
    padding: 4px;
}
html[data-t3-mobile="true"] #contentPane .mobile-sort {
    width: 100%;
    padding: 4px 6px;
    border: 1px solid #d1d9e4;
    border-radius: 6px;
    color: #334155;
    background: #f8fafc;
}
html[data-t3-mobile="true"] #contentPane thead {
    display: none;
}
html[data-t3-mobile="true"] #loadMoreButton {
    display: block;
    margin: 4px auto 8px;
}
html[data-t3-mobile="true"] #searchField {
    padding-right: 76px;
}
html[data-t3-mobile="true"] #contentPane :is(.search-clear-button, .speech-search-button) {
    width: 36px;
    height: 36px;
    min-height: 36px;
}
html[data-t3-mobile="true"] #searchClearButton {
    right: 38px;
}
html[data-t3-mobile="true"] .mobile-folder-item > .folder-button {
    width: calc(100% - 38px);
    min-height: 38px;
    padding: 0 4px;
    grid-template-columns: 32px 16px minmax(0, 1fr) auto;
}
html[data-t3-mobile="true"] .folder-button .toggle {
    min-width: 32px;
    min-height: 36px;
}
html[data-t3-mobile="true"] .mobile-item-actions {
    min-width: 36px;
    width: 36px;
    min-height: 36px;
}
html[data-t3-mobile="true"] #messageRows .message-row td:first-child {
    min-height: 32px;
    padding-right: 38px;
}
html[data-t3-mobile="true"] #messageRows .message-row td:nth-child(2) {
    top: 13px;
    left: 64px;
    right: 46px;
    font-size: 12px;
}
html[data-t3-mobile="true"] #messageRows .message-row td:nth-child(5) {
    font-size: 14px;
    line-height: 1.3;
}
html[data-t3-mobile="true"] #messageRows td:empty,
html[data-t3-mobile="true"] #messageRows td.mobile-empty-value {
    display: none;
}
html[data-t3-mobile="true"] #messageRows .mobile-recipient-cell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 4px;
}
html[data-t3-mobile="true"] .mobile-recipient-text {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    line-height: 18px;
}
html[data-t3-mobile="true"] .mobile-recipient-text::before {
    content: attr(data-mobile-label) ": ";
    color: #52647b;
    font-size: 13px;
}
html[data-t3-mobile="true"] .mobile-recipient-text.expanded {
    display: block;
    -webkit-line-clamp: unset;
    overflow: visible;
}
html[data-t3-mobile="true"] #messageRows .mobile-recipient-toggle {
    display: grid;
    place-items: center;
    width: 24px;
    min-width: 24px;
    padding: 0;
    color: #1d4ed8;
    background: transparent;
    border: 0;
}
html[data-t3-mobile="true"] .mobile-recipient-toggle::before {
    content: "";
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left: 6px solid currentColor;
    transform: rotate(180deg);
}
html[data-t3-mobile="true"] #messageRows .mobile-recipient-toggle[aria-expanded="true"] {
    color: #475569;
}
html[data-t3-mobile="true"] .mobile-recipient-toggle[aria-expanded="true"]::before {
    transform: rotate(90deg);
}
html[data-t3-mobile="true"] .mobile-recipient-toggle:focus-visible {
    outline: 2px solid #2563eb;
    outline-offset: 1px;
}
html[data-t3-mobile="true"] .eml-reader-toolbar > details > summary {
    padding: 8px 10px;
    box-sizing: border-box;
    cursor: pointer;
    color: #1d4ed8;
    border: 1px solid #cddcf0;
    border-radius: 6px;
}
html[data-t3-mobile="true"] .mobile-reader-actions[open] {
    display: grid;
    position: absolute;
    z-index: 2;
    left: 8px;
    top: 4px;
    width: min(290px, calc(100% - 60px));
    padding: 0 0 6px;
    gap: 4px;
    background: #f0f5fc;
    border-radius: 6px;
    box-shadow: 0 6px 24px #0f172a26;
}
html[data-t3-mobile="true"] .mobile-reader-find[open] {
    order: 3;
    flex: 0 0 100%;
}
html[data-t3-mobile="true"] .eml-reader-toolbar:has(.mobile-reader-actions[open]) .mobile-reader-find:not([open]) {
    margin-left: 90px;
}
html[data-t3-mobile="true"] .eml-reader-toolbar [data-close] {
    width: 36px;
    min-width: 36px;
    font-size: 20px;
}
html[data-t3-mobile="true"] .eml-reader-search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) repeat(3, 36px);
}
html[data-t3-mobile="true"] .eml-reader .eml-reader-search input {
    grid-column: 1 / -1;
    min-height: 36px;
}
html[data-t3-mobile="true"] .eml-reader-search button {
    min-width: 36px;
    min-height: 36px;
    width: 36px;
    padding: 0;
}
html[data-t3-mobile="true"] .eml-reader-search [data-previous] {
    grid-column: 2;
}
html[data-t3-mobile="true"] .eml-reader-search output {
    grid-column: 1;
    font-size: 11px;
}
html[data-t3-mobile="true"] .mobile-reader-metadata > summary {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 36px;
    cursor: pointer;
    color: #52647b;
}
html[data-t3-mobile="true"] .mobile-reader-metadata dl {
    padding-bottom: 6px;
    font-size: 12px;
}
html[data-t3-mobile="true"] .eml-reader .eml-attachments-toggle {
    min-height: 36px;
}
@media (max-width: 600px) {
    html[data-t3-mobile="true"] :is(.control-strip, .field-grid, .filter-grid) {
        grid-template-columns: minmax(0, 1fr);
    }
    html[data-t3-mobile="true"] #dashboardContent > header {
        flex-direction: column;
    }
}
@media (min-width: 900px) {
    html[data-t3-mobile="true"] #contentPane .advanced-search-row {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    html[data-t3-mobile="true"] #messageRows {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
