.mail-workspace .reader{min-width:0;background:var(--surface)}.mail-workspace .reader .reader-bar{min-height:60px;padding:10px 20px;gap:8px;border-bottom:1px solid var(--separator);background:var(--surface)}.mail-workspace .reader .reader-actions{gap:4px}.mail-workspace .reader .reader-actions-end{margin-left:auto}.mail-workspace .reader .reader-bar :is(.tool,.icon-button){min-width:40px;min-height:40px;height:40px;padding:0 10px;border:0;border-radius:10px;background:transparent;color:var(--label-2)}.mail-workspace .reader .reader-bar :is(.tool,.icon-button):hover{background:var(--fill-2);color:var(--label)}.mail-workspace .reader-menu .reader-menu-mobile{display:none}.mail-workspace .reader-menu{min-width:0;max-height:min(520px,calc(100dvh - 120px));overflow-y:auto;overscroll-behavior:contain}.mail-workspace .reader-menu button{min-height:40px;padding:8px 12px;line-height:1.4;overflow-wrap:anywhere}.mail-workspace .reader-menu button svg{flex:none}.mail-workspace .reader .reader-scroll{padding:32px clamp(20px,3vw,44px) 40px}.mail-workspace .reader .reader-title{max-width:860px;margin-bottom:28px;font-family:var(--font);font-weight:400;letter-spacing:normal}.mail-workspace .reader .reader-subject-line{align-items:flex-start;gap:16px}.mail-workspace .reader .reader-subject{margin:0 0 12px;font-family:var(--font);font-size:clamp(24px,2.2vw,30px);line-height:1.28;font-weight:650;letter-spacing:-.025em;overflow-wrap:anywhere}.mail-workspace .reader .reader-star{flex:none;width:40px;height:40px;margin:-3px -8px 0 0}.mail-workspace .reader .reader-meta{gap:12px;color:var(--label-3);font-size:12.5px;line-height:1.5;font-weight:400}.mail-workspace .reader .reader-later{font-size:13px;font-weight:400;letter-spacing:normal}.mail-workspace .reader .note{gap:0;margin-bottom:12px;border:1px solid var(--separator);border-radius:14px;background:var(--fill-3);box-shadow:none}.mail-workspace .reader .note.note-open{margin-bottom:24px;border:0;border-bottom:1px solid var(--separator);border-radius:0;background:transparent;box-shadow:none;overflow:visible}.mail-workspace .reader .note-head{gap:12px;padding:16px}.mail-workspace .reader .note-open .note-head{padding:12px 0 16px}.mail-workspace .reader .note-head[role=button]:focus-visible{outline:2px solid var(--accent);outline-offset:3px;border-radius:12px}.mail-workspace .reader .note-from{font-size:15px;line-height:1.45;font-weight:600;letter-spacing:-.015em}.mail-workspace .reader :is(.note-address,.note-collapsed-text){font-size:13px;line-height:1.5;font-weight:400}.mail-workspace .reader .note-sender{gap:3px}.mail-workspace .reader .note-side{gap:4px}.mail-workspace .reader .note-when{font-size:12px;font-weight:400}.mail-workspace .reader .note-tools .icon-button{width:36px;height:36px;border-radius:9px}.mail-workspace .reader .note-body{padding:0 0 24px 52px}.mail-workspace .reader :is(.note-text,.note-html){font-size:16px;line-height:1.65}.mail-workspace .reader .note>.note-text{padding:0 16px 20px}.mail-workspace .reader .note-loading{padding:4px 0 24px 52px}.mail-workspace .reader .files{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));grid-gap:12px;gap:12px;max-width:620px;margin-top:24px}.mail-workspace .reader .file-card{width:100%;min-width:0;border:1px solid var(--separator);background:var(--surface)}.mail-workspace .reader .file-card-name{padding:10px 12px 0;font-size:13px}.mail-workspace .reader .file-card-meta{padding:4px 12px 10px;font-size:12px}.mail-workspace .reader .reader-foot{display:flex;gap:10px;margin-top:24px}.mail-workspace .reader .reader-foot>.avatar{display:none}.mail-workspace .reader .reader-reply-box{min-height:46px;padding:0 18px;border:1px solid var(--separator-opaque);border-radius:11px;color:var(--label-2);background:var(--surface);font-size:14px;font-weight:500}.mail-workspace .reader .reader-reply-primary{border-color:transparent;background:var(--accent);color:var(--on-accent)}.mail-workspace .reader .reader-reply-primary:hover{background:var(--accent);color:var(--on-accent);filter:brightness(1.08)}.mail-workspace form.composer{border:1px solid var(--separator-opaque);border-radius:18px;background:var(--surface);box-shadow:0 24px 80px rgb(0 0 0/.18),0 4px 16px rgb(0 0 0/.08)}.mail-workspace form.composer:not(.composer-full){right:24px;bottom:20px;width:min(660px,calc(100vw - 48px));max-height:calc(100dvh - 100px)}.mail-workspace .composer .composer-head{min-height:60px;padding:10px 16px 10px 20px;gap:8px;border-bottom:1px solid var(--separator);background:var(--surface);color:var(--label)}.mail-workspace .composer .composer-title{margin:0;color:var(--label);font-family:var(--font);font-size:16px;line-height:1.4;font-weight:600;letter-spacing:-.02em}.mail-workspace .composer .composer-head .icon-button{width:40px;height:40px;color:var(--label-2);border-radius:10px}.mail-workspace .composer .composer-head .icon-button:hover{color:var(--label);background:var(--fill-2)}.mail-workspace .composer .composer-fields{flex:1 1;min-height:0;overscroll-behavior:contain}.mail-workspace .composer .composer-field{min-height:50px;padding:0 20px;gap:10px;border-bottom:1px solid var(--separator)}.mail-workspace .composer .composer-field:focus-within{box-shadow:inset 2px 0 var(--accent)}.mail-workspace .composer .composer-field :is(label,.composer-from-label){flex:none;width:54px;font-size:13px;font-weight:400;color:var(--label-3)}.mail-workspace .composer .composer-field input{font-size:15px;line-height:1.5}.mail-workspace .composer .composer-subject input{font-size:16px;font-weight:600}.mail-workspace .composer .composer-from-value{font-size:14px}.mail-workspace .composer .composer-from-pick select{min-height:44px;font-size:15px}.mail-workspace .composer .rcpt-field>label{line-height:50px}.mail-workspace .composer .rcpt-box{padding:10px 0}.mail-workspace .composer .rcpt-field>.composer-toggles{margin-top:7px}.mail-workspace .composer .composer-toggles button{min-width:36px;height:36px}.mail-workspace .composer .composer-toggles .composer-toggle-combined{display:none}.mail-workspace .composer .rich{min-height:260px}.mail-workspace .composer .rich-bar{padding:8px 12px;background:var(--surface)}.mail-workspace .composer .rich-button{width:36px;height:36px;border-radius:8px}.mail-workspace .composer .composer-body{padding:20px;min-height:260px;font-size:16px;line-height:1.6}.mail-workspace .composer .composer-signature{padding:0 20px 20px;font-size:13px;line-height:1.5}.mail-workspace .composer .composer-files{padding:10px 20px}.mail-workspace .composer .file-chip{border-color:var(--separator);background:var(--fill-3)}.mail-workspace .composer .composer-feedback{flex:none;max-height:min(25vh,140px);overflow-y:auto;padding:10px 20px;border-top:1px solid var(--separator);background:var(--red-fill);color:var(--red);font-size:13px;line-height:1.5;overflow-wrap:anywhere}.mail-workspace .composer .composer-foot{flex:none;min-height:64px;gap:8px;padding:10px 16px;border-top:1px solid var(--separator);background:var(--surface)}.mail-workspace .composer .composer-foot .icon-button{width:40px;height:40px;border-radius:10px}.mail-workspace .composer .composer-hint{min-width:0;font-size:12.5px;line-height:1.4}.mail-workspace .composer .composer-hint~.spacer{display:none}.mail-workspace .composer .composer-send-group{flex:none;gap:1px;border-radius:11px}.mail-workspace .composer .composer-foot .composer-send{min-height:40px;height:40px;padding:0 16px;gap:8px;border:0;border-radius:11px 0 0 11px;font-size:14px;font-weight:600}.mail-workspace .composer .composer-foot .composer-send-later{width:40px;height:40px;border-radius:0 11px 11px 0}.mail-workspace .composer .composer-send-group[data-ready]{box-shadow:none}.mail-workspace :is(.reader,.composer) button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}@media (min-width:901px){.mail-workspace .mail[data-reading=right] .reader .back{display:none}}@media (min-width:901px) and (max-width:1100px){.mail-workspace .reader .reader-bar{padding-inline:12px;gap:4px}.mail-workspace .reader .reader-actions{gap:2px}.mail-workspace .reader .reader-bar :is(.tool,.icon-button){padding-inline:8px}.mail-workspace .reader .when-full{display:none}.mail-workspace .reader .when-short{display:inline}}@media (max-width:900px){.mail-workspace .reader .reader-bar{min-height:60px;padding:8px 16px;justify-content:flex-start;overflow:visible}.mail-workspace .reader .reader-bar>.reader-actions{margin-left:auto}.mail-workspace .reader .reader-bar :is(.tool,.icon-button){min-width:44px;min-height:44px;height:44px;padding:0 12px}.mail-workspace .reader .reader-bar :is(.reader-tool-secondary,.reader-actions-end){display:none}.mail-workspace .reader-menu .reader-menu-mobile{display:flex}.mail-workspace .reader-menu button{min-height:44px}.mail-workspace .reader .reader-scroll{padding:24px 20px calc(28px + env(safe-area-inset-bottom))}.mail-workspace .reader .reader-title{margin-bottom:20px}.mail-workspace .reader .reader-subject{font-size:25px;line-height:1.28}.mail-workspace .reader .reader-star{width:44px;height:44px}.mail-workspace .reader .note-head{padding:14px;gap:10px}.mail-workspace .reader .note-open .note-head{padding:12px 0}.mail-workspace .reader .note-tools .icon-button{width:44px;height:44px}.mail-workspace .reader .note-body,.mail-workspace .reader .note-loading{padding:4px 0 24px}.mail-workspace .reader .files{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.mail-workspace .reader .reader-reply-box{min-height:48px;padding:0 16px}.mail-workspace .reader :is(.note-list-action,.reader-later button,.ellipsis){min-width:44px;min-height:44px}.mail-workspace form.composer{top:var(--composer-visible-top,0)!important;right:0;bottom:auto!important;left:0;height:var(--composer-visible-height,100dvh);width:100%!important;max-height:none!important;border:0;border-radius:0;box-shadow:none}.mail-workspace .composer .composer-head{min-height:calc(56px + env(safe-area-inset-top));padding:env(safe-area-inset-top) 12px 0 6px}.mail-workspace .composer .composer-title{position:absolute;left:50%;bottom:16px;max-width:calc(100% - 160px);transform:translateX(-50%);overflow:hidden;text-overflow:ellipsis;font-size:17px;line-height:24px}.mail-workspace .composer .composer-head .composer-cancel{min-width:44px;min-height:44px;color:var(--label-2);font-size:16px;font-weight:400}.mail-workspace .composer .composer-field{min-height:52px;padding:0 16px;gap:8px}.mail-workspace .composer .composer-field :is(label,.composer-from-label){width:54px;min-width:54px;font-size:14px}.mail-workspace .composer .rcpt-field>label{line-height:52px}.mail-workspace .composer .rcpt-box{padding:4px 0;gap:8px}.mail-workspace .composer .rcpt-box input{height:44px;line-height:44px}.mail-workspace .composer .rcpt-box[data-empty]:not(:focus-within) input{min-width:0;margin-left:-8px}.mail-workspace .composer .rcpt-chip{height:44px}.mail-workspace .composer .rcpt-chip-main{min-width:44px;height:44px;padding-left:6px}.mail-workspace .composer .rcpt-chip-remove{width:44px;height:44px;margin:0}.mail-workspace .composer .rcpt-chip-remove:after{inset:0}.mail-workspace .composer .rcpt-field>.composer-toggles{margin-top:4px}.mail-workspace .composer .composer-toggles button{min-width:44px;height:44px}.mail-workspace .composer .composer-toggles .composer-toggle-separate{display:none}.mail-workspace .composer .composer-toggles .composer-toggle-combined{display:block;font-size:13px}.mail-workspace .composer .rich{min-height:200px}.mail-workspace .composer .rich-bar{gap:4px;padding:6px 12px}.mail-workspace .composer .rich-button{width:44px;height:44px}.mail-workspace .composer .rich-link :is(input,button){min-height:44px;height:44px}.mail-workspace .composer .rich-link input{min-width:160px}.mail-workspace .composer .composer-body{min-height:max(200px,calc(var(--composer-visible-height, 100dvh) - 320px));padding:18px 16px 24px}.mail-workspace .composer .composer-signature{padding:0 16px 20px}.mail-workspace .composer .composer-files{padding:8px 16px}.mail-workspace .composer .file-chip{height:44px;padding-right:0}.mail-workspace .composer .file-chip button{flex:none;width:44px;height:44px}.mail-workspace .composer .composer-foot{min-height:60px;gap:4px;padding:8px 12px calc(8px + env(safe-area-inset-bottom))}.mail-workspace .composer .composer-foot .icon-button{width:44px;height:44px;flex:none}.mail-workspace .composer .composer-foot .composer-send{min-height:44px;height:44px;padding:0 14px}.mail-workspace .composer .composer-foot .composer-send-later{width:44px;height:44px}.mail-workspace .composer .composer-feedback{padding:10px 16px}}@media (max-width:380px){.mail-workspace .reader .reader-scroll{padding-inline:16px}.mail-workspace .reader .reader-subject-line{gap:8px}.mail-workspace .reader .note-open .note-head{display:grid;grid-template-columns:40px minmax(0,1fr);grid-row-gap:4px;row-gap:4px}.mail-workspace .reader .note-open .note-side{grid-column:2;flex-direction:row;align-items:center;justify-content:space-between}.mail-workspace .reader .note-open .note-address{white-space:normal;overflow-wrap:anywhere}}@media print{.mail-workspace .reader .note-body{padding-left:0}.mail-workspace .reader .note{box-shadow:none}}