/* SolarTecEnergy three-pane mail workflow in Bergmanns design tokens. */
.mail-client .mail-sidebar{padding-top:18px}.mail-sidebar>#new-mail{width:100%;text-align:left;margin-bottom:14px}.mail-sidebar>#mail-signature{width:100%;text-align:left;font-size:12px;margin-top:24px}.mail-client .mail-list-title{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.mail-list-title h2{font-size:23px}.mail-list-title p{font-size:11px;margin:6px 0}.mail-list-title>button{font-size:11px;padding:7px 10px}.mail-message-row{display:flex;align-items:stretch;border-bottom:1px solid var(--line)}.mail-message-row .message-button{border-bottom:0;flex:1;min-width:0}.mail-select-check{padding:20px 0 20px 10px;justify-content:flex-start;flex:0 0 29px}.mail-select-check input{width:17px;height:17px;padding:0;accent-color:var(--brown)}.mail-date-group{font-size:11px;font-weight:600;color:var(--muted);padding:13px 15px 8px;margin:0;background:var(--white)}.mail-bulk{padding:12px 18px;border-bottom:1px solid var(--line);display:flex;flex-wrap:wrap;align-items:center;gap:8px;background:var(--soft)}.mail-bulk label{flex-direction:row;align-items:center;font-size:12px}.mail-bulk input{width:16px;height:16px}.mail-bulk button,.mail-bulk select{font-size:12px;padding:7px 10px;width:auto}.reader-sender time{margin-left:auto;font-size:11px;color:var(--muted);white-space:nowrap}.reader-actions{display:flex;flex-wrap:wrap;gap:7px;padding:12px 20px;border-bottom:1px solid var(--line)}.reader-actions button{font-size:12px;padding:7px 11px}.mail-client .message-body{padding:25px;white-space:pre-wrap;overflow-wrap:anywhere}.mail-client .message-html{white-space:normal}.message-html table{border-collapse:collapse;max-width:100%;font-size:inherit}.message-html td,.message-html th{padding:6px 9px;vertical-align:top}.message-html h1,.message-html h2,.message-html h3{font-size:22px!important}.message-html a{border-bottom:1px solid var(--line);text-decoration:underline}.message-html blockquote{border-left:2px solid var(--line);margin:15px 0;padding-left:18px}.mail-editor{background:var(--paper);color:var(--ink);border:1px solid var(--line);padding:0;width:min(760px,calc(100vw - 32px));max-height:90vh;max-height:90dvh;overflow:auto}.mail-editor::backdrop{background:#26251dcc;backdrop-filter:blur(3px)}.mail-editor header{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:15px;padding:20px 26px;background:var(--paper);border-bottom:1px solid var(--line)}.mail-editor header h2{margin:0;font-size:27px}.mail-editor-close{font-size:13px;padding:8px 12px}.mail-editor form{padding:23px 26px}.mail-editor-from{font-size:12px;color:var(--muted);margin:0 0 18px}.mail-editor label{margin-bottom:16px}.mail-editor textarea{width:100%;resize:vertical;padding:12px;background:var(--white);border:1px solid var(--line);font:inherit;color:inherit;border-radius:0}.mail-editor textarea[name=body]{min-height:230px}.mail-editor-copy{display:grid;grid-template-columns:1fr 1fr;gap:15px}.mail-editor .actions{position:sticky;bottom:-23px;background:var(--paper);padding:15px 0 8px;border-top:1px solid var(--line)}.mail-editor-files{padding:0;list-style:none;margin:10px 0}.mail-editor-files li{display:flex;align-items:center;justify-content:space-between;gap:14px;overflow-wrap:anywhere;font-size:13px;padding:7px 0}.mail-editor-files button{font-size:11px;padding:5px 8px}.mail-file-label{display:block!important;font-size:12px}.mail-file-label input{display:block;background:transparent;border:1px dashed var(--line);margin-top:8px;font-size:12px}.mail-editor-status{padding:12px 0;font-size:13px;line-height:1.6;margin:0}.mail-editor-status:empty{padding:0}#mail-copy-toggle{font-size:12px;margin:0 0 16px;padding:5px 10px}.mail-editor-hint{font-size:11px;color:var(--muted)}
@media(max-width:800px){.reader-actions{padding:12px}.reader-sender{flex-wrap:wrap}.reader-sender time{margin-left:0}.mail-editor{width:calc(100vw - 20px);max-height:94dvh}.mail-editor header,.mail-editor form{padding:18px}.mail-editor-copy{grid-template-columns:1fr;gap:0}.mail-editor header h2{font-size:23px}.mail-editor .actions{bottom:-18px}.mail-bulk{padding:10px}.mail-bulk select{max-width:170px}}
