/* Sunfield Mail: one coherent emerald/mint surface, with local-only behaviour. */
:root{color-scheme:light;--sidebar:236px;--bg:#f4f7f2;--paper:#fff;--ink:#173c31;--muted:#65786e;--line:#e0e8df;--green:#195c46;--green-dark:#12392f;--mint:#e8f4e8;--focus:#2a7a59;--shadow:0 10px 35px #14382a05}
*{box-sizing:border-box}html,body{height:100%;margin:0}body{background:var(--bg);color:var(--ink);font:14px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;overflow:hidden}button,input,textarea,select{font:inherit}button,a{touch-action:manipulation}button{border:0;background:none;color:inherit;cursor:pointer}a{color:inherit;text-decoration:none}button:disabled{opacity:.45;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #69a88a;outline-offset:3px}[hidden]{display:none!important}h2,h3,p{margin-top:0}svg{fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.icon{display:inline-flex;align-items:center;justify-content:center;width:42px;min-width:42px;height:42px;border-radius:11px;font-size:19px}.icon:hover,.subtle:hover{background:#eaf1e8}.primary{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:45px;border-radius:11px;padding:11px 18px;background:var(--green);color:#fff;font-size:13px;font-weight:600}.primary:hover{background:#124c39}.subtle{min-height:40px;padding:8px 11px;border-radius:9px;font-size:12px;font-weight:550}.text-link{font-size:11px;color:var(--muted);padding:5px 0}.eyebrow{font-size:11px;letter-spacing:.1em;font-weight:650;color:var(--muted)}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

.sidebar{position:fixed;inset:0 auto 0 0;width:var(--sidebar);display:flex;flex-direction:column;padding:29px 17px 22px;background:var(--green-dark);color:#e3efe5;z-index:40;overflow-y:auto;overscroll-behavior:contain}.brand{display:flex;align-items:center;gap:10px;margin:0 11px 29px}.brand img{width:46px;height:46px;border-radius:12px}.brand>span{font-size:25px;font-weight:650;letter-spacing:-1.3px;line-height:1.1}.brand-sub{display:block;font-size:11px;font-weight:500;letter-spacing:.28em;margin-top:7px;color:#a9c9b9}.compose{width:100%;justify-content:flex-start;background:#e3f0d9;color:#164d37;font-size:13px;min-height:48px;padding:12px 15px}.compose:hover{background:#f2f8eb}.compose>span{font-size:23px;line-height:1}.compose kbd{margin-left:auto;color:#4e705a;border-color:#88a58c}.nav-label{font-size:11px;font-weight:600;letter-spacing:.13em;color:#9cb9aa;margin:32px 14px 10px}.sidebar nav{display:flex;flex-direction:column;gap:3px;flex:none}.sidebar nav button{display:flex;align-items:center;gap:12px;width:100%;min-height:47px;padding:11px 14px;border-radius:11px;text-align:left;color:#c6dbce;font-size:13px}.sidebar nav button:hover{background:#ffffff09}.sidebar nav button.active{background:#ffffff13;color:#fff;font-weight:600}.folder-icon{display:inline-flex;align-items:center;justify-content:center;width:21px;flex:none}.folder-icon svg{width:21px;height:21px}.sidebar nav .count{font-size:11px;font-weight:650;margin-left:auto;min-width:23px;text-align:center;padding:3px 6px;background:#ffffff14;border-radius:6px}.sidebar nav button.active .count{background:#d9edcf;color:#1b5038}.sidebar-bottom{margin-top:auto;padding:22px 10px 0}.profile{display:flex;align-items:center;gap:10px;width:100%;padding:20px 0 0;border-top:1px solid #ffffff18;text-align:left}.profile strong{display:block;font-size:12px;font-weight:550}.profile small{display:block;font-size:11px;color:#a7c3b3;margin-top:2px}.profile>span:last-child{margin-left:auto;color:#a7c3b3}.avatar{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;flex:none;border-radius:12px;background:#e7f0e1;color:#47634d;font-size:12px;font-weight:600}.sidebar .avatar{background:#294f40;color:#dfefdf}.drawer-shade,.mobile-menu,.mail-mobile-nav,.mobile-compose{display:none}

.workspace{height:100dvh;margin-left:var(--sidebar);display:flex;flex-direction:column;min-width:0}.topbar{display:flex;align-items:center;gap:15px;flex:none;height:84px;min-height:84px;padding:0 29px;border-bottom:1px solid var(--line);background:#fdfefb}.mail-world-home{display:flex;align-items:center;justify-content:center;gap:2px;flex:none;width:72px;height:64px;border-radius:12px}.mail-world-home:hover{background:#edf3e8}.mail-world-home img{display:block;width:58px;height:58px;object-fit:contain}.mail-world-home .home-back-arrow{width:12px;height:21px;stroke:#66826b}.breadcrumb{display:flex;flex-direction:column;gap:3px;min-width:0}.mail-wordmark{font-size:17px;font-weight:600;letter-spacing:-.35px;white-space:nowrap}.mail-wordmark b{font-weight:400;color:#4e745b}.breadcrumb #crumb{font-size:11px;font-weight:400;color:var(--muted)}.search{display:flex;align-items:center;gap:10px;flex:1;min-width:0;max-width:440px;margin-left:auto;padding:0 13px;height:44px;border:1px solid #e0e9dc;border-radius:12px;background:#f0f4ec;color:#7a8d7b}.search>span{display:flex;flex:none}.search svg{width:19px;height:19px}.search input{width:100%;min-width:0;border:0;outline:0;background:transparent;color:var(--ink);font-size:14px;padding:10px 0}.search:focus-within{border-color:#75a885;box-shadow:0 0 0 3px #478a6210}.search input::placeholder{color:#7a8c7c}kbd{font-size:11px;line-height:1.6;font-family:inherit;border:1px solid #d2dece;border-radius:4px;padding:0 5px;color:#82907e}.demo-pill{display:flex;align-items:center;gap:6px;color:#70876f;font-size:11px;white-space:nowrap}.demo-pill i{width:5px;height:5px;border-radius:50%;background:#95b589}.topbar>#help{width:30px;min-width:30px;height:30px;border:1px solid var(--line);font-size:15px;color:#6e846e}

.workspace main{display:flex;flex:1;min-height:0;min-width:0;flex-direction:column;padding:21px 29px 12px;overflow:hidden}.mail-preview-status{display:flex;align-items:center;gap:7px;flex:none;padding:0 0 15px;color:#62775f;font-size:11px}.mail-preview-status>span{width:5px;height:5px;border-radius:50%;background:#91b888}#mail-view{display:flex;flex:1;min-height:0;flex-direction:column}.section-head{display:flex;align-items:center;justify-content:space-between;gap:18px;flex:none;margin-bottom:19px}.section-head-copy{min-width:0}.section-head h2{display:flex;align-items:center;gap:11px;margin:0;font-size:27px;font-weight:650;letter-spacing:-.85px;line-height:1.25}#folder-total{display:inline-flex;align-items:center;justify-content:center;min-width:28px;height:25px;padding:0 7px;border-radius:8px;background:#e3eddd;color:#62805b;font-size:11px;font-weight:600;letter-spacing:0}#folder-summary{margin:6px 0 0;font-size:11px;line-height:1.5;color:#60765b}.section-actions{display:flex;align-items:center;gap:7px;flex:none}.section-actions .subtle,.section-actions .icon,.section-actions select{height:40px;border:1px solid #dce6d7;background:#fbfdf9;border-radius:10px;color:#557052;font-size:11px}.section-actions select{max-width:170px;padding:8px 10px}.section-actions svg{width:18px;height:18px}.section-actions .icon[aria-pressed=true]{background:#dfeeda;color:#205c3b}.mail-split{display:grid;grid-template-columns:minmax(380px,1fr) minmax(330px,1fr);gap:19px;flex:1;min-height:0;min-width:0}.mail-card,.reading-pane{display:flex;flex-direction:column;min-height:0;min-width:0;background:var(--paper);border:1px solid var(--line);border-radius:17px;overflow:hidden;box-shadow:var(--shadow)}

.tabs{display:flex;align-items:stretch;gap:18px;flex:none;min-height:55px;padding:0 19px;overflow-x:auto;scrollbar-width:none;border-bottom:1px solid #e6ece3}.tabs::-webkit-scrollbar{display:none}.tabs button{position:relative;display:flex;align-items:center;justify-content:center;gap:5px;flex:none;min-height:54px;padding:10px 0;color:#62745b;font-size:11px;white-space:nowrap}.tabs button span{display:inline-block;border-radius:5px;padding:1px 5px;background:#f1f4ed;color:#8c9986;font-size:11px}.tabs button.active{color:#255e40;font-weight:650}.tabs button.active span{background:#e3f0db;color:#568049}.tabs button.active:after{content:'';position:absolute;bottom:0;left:0;right:0;height:2px;background:#3f8054;border-radius:2px}.mail-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:7px 10px;flex:none;min-height:44px;padding:5px 15px;border-bottom:1px solid #edf0e9;color:#5f6d59;font-size:11px}.check-wrap{display:flex;align-items:center;gap:8px;min-height:32px;cursor:pointer}.check-wrap input,.row-select input{accent-color:#33744e;width:16px;height:16px;cursor:pointer}.check-wrap span{font-size:11px}#results-label{margin-left:auto;font-size:11px;color:#68795f}#bulk-actions{display:flex;align-items:center;flex-wrap:wrap;gap:5px;font-size:11px}#bulk-actions button{padding:5px 8px;min-height:32px;font-size:11px;background:#f1f6ed;color:#3a6440}#selection-count{color:#4b724b;font-size:11px}#mail-list{overflow-y:auto;overflow-x:hidden;flex:1;min-height:0;scrollbar-width:thin;scrollbar-color:#cbd9c5 transparent}.mail-row{position:relative;display:grid;grid-template-columns:24px 30px minmax(0,1fr) 57px;align-items:center;gap:9px;min-height:110px;padding:16px 15px;border-bottom:1px solid #edf0e9;background:#fff}.mail-row:last-child{border-bottom:0}.mail-row:hover{background:#f8fbf5}.mail-row.unread{background:#f2f8ee}.mail-row.unread:before{content:'';position:absolute;left:0;top:24px;bottom:24px;width:3px;border-radius:0 3px 3px 0;background:#5c9166}.mail-row.is-current{background:#e9f3e5;box-shadow:inset 0 0 0 1px #cce1c5}.row-select{display:flex;align-items:center;justify-content:center;height:44px;width:24px;cursor:pointer}.row-select input{margin:0}.star{display:flex;align-items:center;justify-content:center;min-width:30px;height:44px;padding:0;border-radius:8px;color:#b5c3af;font-size:22px}.star:hover{background:#ebf2e4}.star.selected{color:#af8740}.message-open{width:100%;min-width:0;min-height:56px;padding:0;text-align:left}.row-top{display:flex;align-items:center;gap:7px;margin-bottom:4px;min-width:0}.sender{color:#566b53;font-size:12px;font-weight:450;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.unread .sender{color:#24583c;font-weight:650}.dot{height:6px;width:6px;flex:none;border-radius:50%;background:#5f9667}.row-bottom{display:flex;flex-direction:column;gap:3px;min-width:0}.subject{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#2d4937;font-size:13px;line-height:1.5;font-weight:500}.unread .subject{font-weight:650;color:#1a4a31}.preview{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#627459;font-size:11px;line-height:1.5}.row-meta{display:flex;align-items:flex-end;align-self:start;flex-direction:column;gap:10px;min-width:0;padding-top:3px}.row-meta time{font-size:11px;color:#62745a;white-space:nowrap}.urgent-chip{display:inline-flex;align-items:center;justify-content:center;padding:3px 5px;border:1px solid #edd6ad;border-radius:5px;background:#fff4e2;color:#926728;font-size:11px;line-height:1.4;font-weight:650}.attachment-mark{font-size:18px;color:#7a9274}.compact .mail-row{min-height:82px;padding-top:10px;padding-bottom:10px}.compact .preview{display:none}.empty{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:280px;padding:35px 27px;text-align:center}.empty-symbol{display:flex;align-items:center;justify-content:center;width:53px;height:53px;margin-bottom:17px;border-radius:16px;background:#edf5e8;color:#86a379;font-size:25px}.empty h3{font-size:19px;line-height:1.3;letter-spacing:-.4px;font-weight:600;margin:0 0 10px}.empty p{max-width:280px;font-size:12px;color:#819178;line-height:1.7;margin:0 0 17px}.empty-action{background:#edf4e6;color:#507547}

.reading-top{display:flex;align-items:center;justify-content:space-between;flex:none;min-height:55px;padding:0 25px;border-bottom:1px solid #edf0e9}.reading-top .eyebrow{font-size:11px;letter-spacing:.13em;color:#8a9b80}.reading-dot{width:5px;height:5px;background:#a3b896;border-radius:50%}.reading-content{flex:1;min-height:0;overflow:auto;padding:28px;scrollbar-width:thin;scrollbar-color:#cfddc7 transparent}.reading-empty,.reading-reset{display:flex;min-height:100%;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#829278;font-size:13px}.mail-empty-icon{width:60px;height:60px;padding:12px;border:1px solid #dce8d3;border-radius:19px;background:#f5f9f0;stroke:#92ac80;margin-bottom:22px}.reading-empty h2{font-size:22px;font-weight:550;letter-spacing:-.6px;color:#365b3d;margin:0 0 9px}.reading-empty p{max-width:230px;font-size:12px;line-height:1.8;color:#6a805b;margin:0}.reading-message-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.reading-type{font-size:11px;font-weight:600;letter-spacing:.09em;color:#8ba078}.reading-type.urgent-chip{letter-spacing:0}.reading-date{font-size:11px;color:#8c9b81}.reading-subject{font-size:25px;font-weight:600;line-height:1.35;letter-spacing:-.65px;color:#245039;margin:21px 0 24px;overflow-wrap:anywhere}.reading-sender{display:flex;align-items:center;gap:11px;padding-bottom:23px;border-bottom:1px solid #edf0e9}.reading-sender strong{display:block;font-size:12px;font-weight:600;color:#47653f}.reading-sender small{display:block;margin-top:3px;font-size:11px;color:#6b805e;overflow-wrap:anywhere}.reading-body{white-space:pre-wrap;overflow-wrap:anywhere;padding:26px 0;color:#586e4d;font-size:14px;line-height:1.9}.reading-attachment{padding:13px;border:1px solid #e2ebda;border-radius:9px;background:#f7faf3;color:#7e9470;font-size:11px;margin-bottom:17px}.reading-actions{display:flex;flex-wrap:wrap;gap:7px;padding-top:19px;border-top:1px solid #e6edde}.reading-actions .primary{font-size:12px}.reading-actions .subtle{border:1px solid #dfebd7;font-size:11px;color:#67825a}.workspace footer{display:flex;flex-wrap:wrap;align-items:center;gap:6px 20px;flex:none;margin-top:11px;font-size:12px;color:#66765d;min-height:16px}.workspace footer .text-link{margin-left:auto;font-size:11px;color:#8a9b7e}

#settings-view,#domain-view{min-height:0;overflow-y:auto;scrollbar-width:thin;padding-bottom:25px}.panel{max-width:760px;padding:26px;background:#fff;border:1px solid var(--line);border-radius:16px;margin-bottom:17px}.panel h3{font-size:17px;font-weight:600;letter-spacing:-.3px;color:#335c3c;margin-bottom:18px}.panel p,.panel small{font-size:12px;line-height:1.7;color:#7a9070}.settings-form{display:flex;flex-direction:column;align-items:flex-start;gap:10px}.panel label{font-size:12px;font-weight:550;margin-top:7px;color:#55744c}.panel input,.panel textarea{width:100%;min-width:0;border:1px solid #dbe7d2;border-radius:9px;padding:11px 12px;background:#fbfdf8;color:#365d3c;font-size:15px}.input-row{display:flex;align-items:center;gap:9px;flex-wrap:wrap;width:100%;font-size:12px;color:#8a9f7d}.input-row input{flex:1;min-width:160px}.panel small{display:block;margin:0 0 10px}.settings-form .primary{margin-top:8px}.tag{padding:5px 9px;border-radius:6px;background:#e9f1e2;color:#6c885b;font-size:11px}.domain-entry{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:12px 0;border-bottom:1px solid var(--line)}.domain-entry strong{font-size:13px}.domain-entry p{margin-bottom:0}.quiet-card{max-width:760px;padding:22px;background:#edf4e7;border-radius:14px;color:#5e7952}.quiet-card h3{font-size:15px}.quiet-card p{font-size:12px}.card-icon{font-size:22px}

dialog{color:var(--ink);background:#fff;border:1px solid #d6e2cd;border-radius:20px;width:calc(100vw - 36px);max-width:670px;max-height:90dvh;padding:26px;box-shadow:0 24px 100px #103a2b30;overflow:auto}dialog::backdrop{background:#14382c65;backdrop-filter:blur(4px)}.dialog-top{display:flex;justify-content:space-between;align-items:center;gap:15px;padding-bottom:17px;margin-bottom:17px;border-bottom:1px solid #e8eee3}.dialog-top h2{font-size:24px;font-weight:600;line-height:1.2;letter-spacing:-.6px;margin:0}.dialog-top .icon{flex:none;color:#7d9273}.compose-hint{margin:0 0 14px;padding:10px 12px;border-radius:9px;background:#f0f6e9;color:#7a956b;font-size:11px;line-height:1.6}#composer[open]{display:flex;max-width:710px;height:min(800px,92dvh)}#compose-form{display:flex;flex-direction:column;flex:1;width:100%;min-height:0}.compose-line{display:flex;align-items:center;gap:10px;flex:none;min-height:50px;border-bottom:1px solid #e8eee1}.compose-line>span{width:48px;flex:none;color:#697f5b;font-size:12px}.compose-line input{flex:1;width:100%;min-width:0;padding:12px 0;background:transparent;border:0;font-size:15px;color:#3d643f}.compose-line input:focus{outline-offset:0}.compose-line input::placeholder,#compose-body::placeholder{color:#748966}#compose-body{flex:1;width:100%;min-height:155px;margin:14px 0 0;padding:8px 0;resize:none;border:0;background:#fff;color:#345d3c;font-size:15px;line-height:1.8}#attachments{display:flex;flex-wrap:wrap;gap:6px;max-height:80px;overflow:auto;flex:none}.attachment-chip{padding:5px 8px;border-radius:6px;font-size:11px;color:#6f8d5d;background:#edf5e5;overflow-wrap:anywhere}.compose-bottom{display:flex;align-items:center;flex-wrap:wrap;gap:10px;flex:none;border-top:1px solid #e8eee1;padding-top:15px;margin-top:12px}.compose-bottom .primary{min-height:44px;font-size:12px}.compose-tools{display:flex;align-items:center;flex-wrap:wrap;gap:6px}.compose-tools .subtle{min-height:40px;padding:8px 10px;font-size:11px;color:#688357}.compose-tools #discard{color:#9b8a72;margin-left:auto}.attach-button{position:relative;color:#709360;border:1px solid #e2ecd8;cursor:pointer;overflow:hidden}.attach-button input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%;height:100%}.draft-save-status{font-size:11px;color:#709560;line-height:1.4;min-height:14px;margin:10px 0 6px;flex:none}.attachment-details{flex:none;font-size:11px;color:#92a481}.attachment-details summary{cursor:pointer;padding:4px 0}.attachment-note{font-size:11px;line-height:1.7;color:#8ba17a;margin:7px 0 0}.reader-actions{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-bottom:23px}.reader-actions .subtle{padding:7px 9px;font-size:11px;border:1px solid #dfead4;color:#789367}.sender-info{display:flex;align-items:center;gap:11px;border-bottom:1px solid #e6edde;padding:0 0 21px;margin-bottom:21px}.sender-info>div{min-width:0}.sender-info strong{display:block;font-size:13px;font-weight:600;color:#5a7b4c}.sender-info small{display:block;font-size:11px;color:#92a781;overflow-wrap:anywhere}.sender-info>small{margin-left:auto;font-size:11px;white-space:nowrap}#reader-subject{font-size:25px;font-weight:600;line-height:1.3;letter-spacing:-.5px;margin-bottom:23px;overflow-wrap:anywhere}#reader-body{white-space:pre-wrap;overflow-wrap:anywhere;font-size:15px;line-height:1.85;color:#59744b;margin-bottom:22px}#reader-attachment{color:#8aa174;font-size:11px;margin-bottom:19px}#info{max-width:520px}#info-body,#mail-restore-dialog p{white-space:pre-wrap;font-size:13px;line-height:1.8;color:#789367}#info>.primary{margin:5px 6px 0 0}#mail-restore-dialog{max-width:550px}.toast{position:fixed;left:calc(50% + var(--sidebar)/2);bottom:23px;display:flex;align-items:center;gap:16px;max-width:min(680px,calc(100vw - 32px));width:max-content;padding:12px 17px;background:#1b4d37;color:#f3f8eb;border:1px solid #3b7551;border-radius:12px;box-shadow:0 10px 40px #143b2420;font-size:12px;line-height:1.6;z-index:110;opacity:0;pointer-events:none;transform:translate(-50%,15px);transition:opacity .18s,transform .18s}.toast.show{opacity:1;pointer-events:auto;transform:translate(-50%,0)}#toast-text{min-width:0}#toast-undo{flex:none;min-height:38px;padding:3px 4px;border-bottom:1px solid #d8edc0;color:#e3f5c8;font-size:11px;font-weight:650;white-space:nowrap}

@media(max-width:1250px){:root{--sidebar:210px}.sidebar{padding-left:14px;padding-right:14px}.topbar{padding-left:21px;padding-right:21px;gap:12px}.workspace main{padding:20px 21px 11px}.mail-split{gap:15px;grid-template-columns:minmax(370px,1.1fr) minmax(310px,1fr)}.tabs{gap:14px;padding:0 15px}.reading-content{padding:24px}.section-actions #refresh span{display:none}.section-actions #refresh{width:40px;min-width:40px;padding:8px}.section-head{gap:12px}.section-head h2{font-size:25px}}
@media(max-width:1099px){.mail-split{display:flex;flex-direction:column}.mail-card{flex:1}.reading-pane{display:none}.breadcrumb{display:none}.search{max-width:none}.mail-row{grid-template-columns:24px 32px minmax(0,1fr) 62px;padding:17px 20px;gap:11px}.sender{font-size:13px}.subject{font-size:14px}.preview{font-size:12px}.row-meta time{font-size:11px}.topbar{height:78px;min-height:78px}.demo-pill{display:none}}
@media(min-width:701px) and (max-width:850px){.section-head{align-items:flex-start;flex-direction:column;gap:12px}.section-actions{width:100%}.section-actions select{margin-right:auto}.workspace main{padding-left:18px;padding-right:18px}.mail-row{padding:15px 13px;gap:8px}}
@media(max-width:700px){
 :root{--sidebar:0px}.sidebar{width:min(290px,86vw);padding:calc(27px + env(safe-area-inset-top)) 18px calc(22px + env(safe-area-inset-bottom));transform:translateX(-100%);transition:transform .2s}.sidebar.open{transform:translateX(0)}.sidebar.open+.drawer-shade{display:block;position:fixed;inset:0;z-index:35;background:#163a2b50;backdrop-filter:blur(3px);width:100%;height:100%}.sidebar nav button{min-height:49px}.sidebar .brand{margin-bottom:27px}.sidebar .compose{min-height:48px}.workspace{margin-left:0;padding-bottom:calc(64px + env(safe-area-inset-bottom));height:100dvh}.topbar{height:calc(76px + env(safe-area-inset-top));min-height:calc(76px + env(safe-area-inset-top));padding:env(safe-area-inset-top) 12px 0;gap:7px}.mail-world-home{width:69px;min-width:69px;height:62px;gap:0}.mail-world-home img{width:56px;height:56px}.mail-world-home .home-back-arrow{width:11px}.mobile-menu{display:flex;width:38px;min-width:38px;height:44px;color:#668361}.mobile-menu svg{width:21px;height:21px}.search{height:41px;padding:0 10px;gap:6px;margin-left:0}.search input{font-size:16px}.search input::placeholder{font-size:12px}.search svg{width:17px;height:17px}.search kbd,#help{display:none}.workspace main{padding:15px 13px 0}.mail-preview-status{font-size:11px;padding-bottom:12px}.section-head{display:grid;grid-template-columns:minmax(0,1fr);gap:13px;margin-bottom:14px}.section-head h2{font-size:27px;gap:10px}#folder-summary{font-size:11px;margin-top:5px}.section-actions{width:100%;gap:8px}.section-actions select{flex:1;max-width:none;min-width:0;font-size:12px;min-height:40px}.section-actions .subtle,.section-actions .icon{width:42px;min-width:42px;height:40px}.section-actions #refresh span{display:none}.mail-card{border-radius:15px 15px 0 0;border-bottom:0}.tabs{gap:16px;min-height:51px;padding:0 15px}.tabs button{min-height:50px;font-size:11px;gap:4px}.tabs button span{font-size:11px;padding:1px 4px}.mail-toolbar{gap:5px 8px;padding:4px 12px;min-height:42px}.check-wrap{min-height:33px;gap:6px}#results-label{font-size:11px}#selection-count{display:none}#bulk-actions{gap:4px}#bulk-actions button{font-size:11px;padding:5px 7px}.mail-row{grid-template-columns:24px 30px minmax(0,1fr) 52px;gap:6px;padding:14px 11px;min-height:110px}.message-open{min-height:64px}.sender{font-size:12px}.subject{font-size:14px;line-height:1.45;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.preview{font-size:11px;line-height:1.5}.row-meta time{font-size:11px}.urgent-chip{font-size:11px;padding:3px 4px}.mail-row.unread:before{top:22px;bottom:22px}.star{font-size:22px}.compact .mail-row{min-height:82px;padding-top:9px;padding-bottom:9px}#mail-list{padding-bottom:70px;overscroll-behavior:contain}.empty{padding:30px 22px;min-height:260px}.empty h3{font-size:19px}.workspace footer{display:none}.mail-mobile-nav{display:flex;position:fixed;inset:auto 0 0;height:calc(64px + env(safe-area-inset-bottom));padding:5px 7px calc(5px + env(safe-area-inset-bottom));border-top:1px solid #dfe9d7;background:#fcfef9f5;backdrop-filter:blur(14px);z-index:25}.mail-mobile-nav button{display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-width:0;min-height:48px;color:#5f7056;font-size:11px;line-height:1.2}.mail-mobile-nav button>span{display:flex;align-items:center;justify-content:center;width:43px;height:27px;border-radius:9px}.mail-mobile-nav svg{width:21px;height:21px;stroke-width:1.6}.mail-mobile-nav button.active{color:#376c40;font-weight:600}.mail-mobile-nav button.active>span{background:#e7f1df}.mobile-compose{display:flex;align-items:center;justify-content:center;position:fixed;right:19px;bottom:calc(82px + env(safe-area-inset-bottom));height:53px;width:53px;border-radius:17px;background:#245f42;color:#eff7e7;font-size:28px;box-shadow:0 8px 25px #16452a25;border:1px solid #437d52;z-index:26}.mobile-compose:hover{background:#174e32}.panel{padding:23px 19px}.panel input,.panel textarea{font-size:16px}.input-row{font-size:12px;gap:8px}.settings-form{gap:9px}.toast{left:50%;bottom:calc(79px + env(safe-area-inset-bottom));max-width:calc(100vw - 28px);font-size:12px;padding:12px 14px;gap:12px}#toast-undo{font-size:11px}.toast.show{transform:translate(-50%,0)}
 #composer,#reader{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;margin:0;border:0;border-radius:0;padding:calc(18px + env(safe-area-inset-top)) 18px calc(18px + env(safe-area-inset-bottom))}#composer .dialog-top{flex:none;min-height:46px;padding-bottom:12px;margin-bottom:12px}.dialog-top h2{font-size:24px}.compose-hint{font-size:11px;padding:8px 10px;margin-bottom:7px}.compose-line{min-height:48px}.compose-line input,#compose-body{font-size:16px}.compose-line>span{width:42px;font-size:11px}#compose-body{min-height:115px;margin-top:10px;line-height:1.7}.compose-bottom{margin-top:8px;padding-top:12px;gap:7px}.compose-bottom>.primary{width:100%;min-height:45px;font-size:12px}.compose-tools{width:100%;gap:4px}.compose-tools .subtle{font-size:11px;padding:6px 8px;min-height:40px}.compose-tools .icon{width:38px;min-width:38px;height:40px}.draft-save-status{font-size:11px;margin:8px 0 4px}.attachment-details{font-size:11px}.attachment-details[open]{max-height:130px;overflow:auto}.attachment-note{font-size:11px}.reader-actions{gap:5px;margin-bottom:21px}.reader-actions .subtle{min-height:42px;padding:7px 9px;font-size:11px}#reader-subject{font-size:26px;line-height:1.3;margin:20px 0 23px}.sender-info{gap:10px;flex-wrap:wrap}.sender-info strong{font-size:13px}.sender-info small{font-size:11px}.sender-info>small{margin-left:48px;width:100%;font-size:11px}#reader-body{font-size:15px;line-height:1.85}#reader>.primary{min-height:45px;font-size:13px}#info,#mail-restore-dialog{padding:23px;max-height:85dvh;width:calc(100vw - 28px)}#info-body,#mail-restore-dialog p{font-size:13px}
}
@media(max-width:370px){.topbar{padding-left:8px;padding-right:8px;gap:4px}.mail-world-home{width:59px;min-width:59px}.mail-world-home img{width:49px;height:49px}.mobile-menu{width:34px;min-width:34px}.search{padding-left:8px;padding-right:8px}.search input::placeholder{font-size:11px}.workspace main{padding-left:9px;padding-right:9px}.tabs{gap:11px;padding:0 11px}.tabs button{font-size:11px}.mail-row{grid-template-columns:22px 26px minmax(0,1fr) 46px;gap:5px;padding:13px 8px}.subject{font-size:13px}.sender{font-size:11px}.preview{font-size:11px}.compose-tools .subtle{font-size:11px;padding-left:6px;padding-right:6px}#composer,#reader{padding-left:14px;padding-right:14px}.mail-toolbar{padding-left:10px;padding-right:10px}#results-label{display:none}}
@media(max-height:600px) and (orientation:landscape){.topbar{height:60px;min-height:60px}.mail-world-home{height:52px}.mail-world-home img{height:48px;width:48px}.workspace main{padding-top:10px}.mail-preview-status{padding-bottom:8px}.section-head{display:flex;gap:12px;margin-bottom:10px}.section-actions{width:auto}.section-head h2{font-size:22px}#folder-summary{display:none}.section-actions select{max-width:150px}.mail-row{min-height:84px}.tabs{min-height:45px}.tabs button{min-height:44px}#composer .compose-hint,.attachment-details{display:none}#composer .compose-line{min-height:38px}#compose-body{min-height:60px}.compose-bottom>.primary{width:auto}.compose-tools{width:auto}.compose-bottom{flex-wrap:wrap}.draft-save-status{margin-bottom:0}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;scroll-behavior:auto!important}}

/* Pflichtlinks: Fußzeile (Desktop) und Menü (mobil) */
.footer-legal,.sidebar-legal nav{display:flex;flex-wrap:wrap;gap:6px 14px}
.footer-legal a,.sidebar-legal a{color:#4d6a52;font-size:12px;text-decoration:underline;text-underline-offset:3px}
.sidebar-legal a{color:#e3efe5;font-size:13px}
.sidebar-legal{padding:14px 6px 4px}
.workspace footer .text-link{font-size:12px}

.shop-strip{display:flex;align-items:center;justify-content:space-between;gap:8px 18px;flex:none;margin-top:12px;padding:11px 16px;background:var(--mint);border:1px solid var(--line);border-radius:12px;color:var(--ink);font-size:12px;line-height:1.45}
.shop-strip p{margin:0;min-width:0}
.shop-strip strong{font-weight:650;margin-right:4px}
.shop-strip span{color:var(--muted)}
.shop-strip a{flex:none;color:var(--green);font-weight:650;text-decoration:underline;text-underline-offset:3px;padding:4px 0}
.shop-strip a:focus-visible{outline:2px solid var(--focus);outline-offset:2px}
@media(max-width:700px){.shop-strip{flex-wrap:wrap;margin:8px 0 6px;padding:9px 72px 9px 12px;font-size:11px}.shop-strip span{display:none}}
@media(max-height:600px) and (orientation:landscape){.shop-strip{display:none}}
/* Netlify blendet unten rechts ein Hinweisfeld ein (64 px hoch); die untere Leiste, der Schreiben-Knopf und Meldungen bleiben darüber frei (G1, 04.11.2026). */
@media(max-width:700px){.mail-mobile-nav{height:calc(120px + env(safe-area-inset-bottom));padding-bottom:calc(61px + env(safe-area-inset-bottom))}.workspace{padding-bottom:calc(120px + env(safe-area-inset-bottom))}.mobile-compose{bottom:calc(138px + env(safe-area-inset-bottom))}.toast{bottom:calc(135px + env(safe-area-inset-bottom))}}

/* S-25: Handy – Postfachliste nie auf 0 zusammendrücken, Seite scrollt statt zu überlappen */
@media(max-width:1099px){.workspace main{overflow-y:auto}#mail-view{flex:none}.mail-split{flex:none}.mail-card{flex:none;height:auto;overflow:visible}#mail-list{overflow:visible;flex:none}}
p.mail-preview-status{display:block;line-height:1.55;padding-bottom:12px}p.mail-preview-status>span:first-child{display:inline-block;vertical-align:middle;margin-right:7px}
