:root{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#283a30;background:#f6f8f5;--green:#286349;--muted:#7d897f;--line:#e3e9e1}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.5;cursor:default}a{color:var(--green)}button:focus-visible,a:focus-visible{outline:3px solid #97bda4;outline-offset:3px}input{width:100%;padding:13px 14px;border:1px solid #d8e1d7;border-radius:7px;margin-top:8px;color:#293f31;background:white;font-size:14px}input:focus{outline:2px solid #c0d9c4;outline-offset:1px}label{font-size:12px;font-weight:600;display:block;margin-bottom:19px}h1,h2,p{margin-top:0}h1{font-weight:600;letter-spacing:-1.5px;font-size:38px}h2{font-size:19px;font-weight:600;letter-spacing:-.4px}.muted,.hint{color:var(--muted);font-size:12px;line-height:1.7}.hint{font-size:11px}.brand{display:flex;align-items:center;gap:10px;font-size:26px;font-weight:700;letter-spacing:-1px}.brand-mark{display:grid;place-items:center;width:36px;height:36px;background:var(--green);border-radius:10px;color:white;font-size:30px}.brand span:last-child{font-weight:400;color:#7c8c7e;margin-left:-5px}.button{display:inline-flex;justify-content:center;gap:8px;align-items:center;border:1px solid #dbe4d9;border-radius:7px;padding:11px 16px;background:white;font-size:12px;color:#49614e;font-weight:550}.button.primary{background:var(--green);color:white;border-color:var(--green)}.button:hover{filter:brightness(.96)}.icon-button{background:transparent;border:0;color:#6c7e6e;padding:8px;font-size:22px;border-radius:7px}.icon-button:hover{background:#edf3e9}.login-shell{min-height:100vh;display:grid;grid-template-columns:1.05fr 1fr}.login-story{background:#e9f0e5;padding:55px 65px;display:flex;flex-direction:column;position:relative;overflow:hidden}.story-copy{margin:auto 0;max-width:450px;z-index:1;padding:70px 0}.eyebrow{font-size:10px;letter-spacing:2.5px;color:#6c856a;margin-bottom:24px}.story-copy h1{font-size:55px;line-height:1.13;letter-spacing:-2.8px;margin-bottom:22px}.story-copy p{font-size:15px;color:#74836f;line-height:1.8;max-width:330px}.mail-art{margin-top:40px;width:230px;height:135px;border:1px solid #b9cbb2;border-radius:12px;background:#f4f7ee;transform:rotate(-7deg);position:relative;box-shadow:14px 18px 0 #dce7d5}.mail-art:before,.mail-art:after{content:"";position:absolute;height:1px;background:#b9cbb2;width:130px;top:39px}.mail-art:before{left:0;transform:rotate(32deg)}.mail-art:after{right:0;transform:rotate(-32deg)}.story-footer{color:#829078;font-size:11px}.login-side{display:flex;align-items:center;justify-content:center;padding:50px}.login-card{width:100%;max-width:360px}.login-card h2{font-size:28px;margin-bottom:12px}.login-card>p{margin-bottom:32px;font-size:13px}.login-card .button{width:100%;padding:14px}.login-card .hint{margin-top:20px}.error{font-size:12px;color:#b05a46;line-height:1.7;white-space:pre-wrap}.error:empty{display:none}.shell{height:100vh;display:grid;grid-template-columns:225px minmax(0,1fr)}.sidebar{background:#fff;border-right:1px solid var(--line);padding:32px 20px;display:flex;flex-direction:column}.sidebar .brand{padding:0 8px;font-size:24px}.sidebar .eyebrow{margin:48px 12px 16px;font-size:9px}.folder{display:flex;align-items:center;gap:12px;border:0;background:none;padding:13px 15px;border-radius:7px;text-align:left;font-size:13px;color:#7b887c;width:100%;margin-bottom:6px}.folder.active{background:#eaf2e6;color:var(--green);font-weight:600}.folder span:first-child{font-size:18px}.sidebar-foot{margin-top:auto}.user{border-top:1px solid var(--line);display:flex;gap:10px;align-items:center;padding:20px 0 12px}.avatar{width:35px;height:35px;display:grid;place-items:center;background:#edf3e8;color:#5d7d58;border-radius:50%;font-size:13px;font-weight:600;flex-shrink:0}.user-address{font-size:11px;overflow-wrap:anywhere}.user small{display:block;color:var(--muted);font-size:10px;margin-top:4px}.sidebar-foot .button{font-size:11px;width:100%;margin-top:8px}.workspace{display:flex;flex-direction:column;min-height:0}.topbar{height:78px;flex-shrink:0;padding:0 30px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:15px;background:#fff}.topbar h1{font-size:23px;letter-spacing:-.6px;margin:0}.search{max-width:360px;width:48%}.search input{margin:0;background:#f8faf6;border-color:#e8ede4;font-size:12px;padding:10px 13px}.mail-workspace{display:grid;grid-template-columns:365px minmax(0,1fr);flex:1;min-height:0}.list-pane{display:flex;flex-direction:column;min-height:0;background:#fff;border-right:1px solid var(--line)}.list-heading{padding:18px 22px;display:flex;align-items:center;justify-content:space-between;font-size:11px;color:#8c978b;border-bottom:1px solid var(--line)}.messages{overflow:auto;flex:1}.mail-row{position:relative;padding:22px 22px 22px 26px;border:0;border-bottom:1px solid #edf0e8;display:block;width:100%;background:white;text-align:left;color:inherit}.mail-row:hover{background:#f8faf5}.mail-row.selected{background:#eef4e9;box-shadow:inset 3px 0 var(--green)}.sender-line{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px;margin-bottom:10px}.sender-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:500}.unread .sender-name,.unread .row-subject{font-weight:700}.unread:before{content:"";position:absolute;left:12px;top:26px;width:5px;height:5px;border-radius:50%;background:var(--green)}.mail-row time{color:#8c9987;font-size:10px;white-space:nowrap}.row-subject{font-size:12px;color:#64715e;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pagination{border-top:1px solid var(--line);padding:12px 18px;display:flex;justify-content:space-between;align-items:center;font-size:10px;color:var(--muted)}.pagination .button{padding:7px 10px;font-size:10px}.reader{overflow:auto;padding:35px 42px;background:#fafbf8;min-width:0}.reader-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;text-align:center}.empty-symbol{width:65px;height:65px;display:grid;place-items:center;border:1px solid #dce7d6;background:#eef4e8;color:#82a074;border-radius:18px;font-size:29px;margin-bottom:23px}.reader-empty h2{font-size:20px}.reader-empty p{font-size:12px;color:#8b9784;line-height:1.8;max-width:280px}.reader-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:28px}.reader-top .hint{margin:0}.back-button{display:none}.message-subject{font-size:25px;letter-spacing:-.8px;line-height:1.4;overflow-wrap:anywhere;margin-bottom:25px}.message-meta{display:flex;gap:13px;align-items:flex-start;margin-bottom:28px}.message-meta p{margin:2px 0 5px;font-size:12px;overflow-wrap:anywhere}.message-meta .hint{font-size:11px;color:#88967f}.message-content{border-top:1px solid var(--line);padding-top:30px;white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.9;color:#44573c}.attachments{margin-top:30px;border-top:1px solid var(--line);padding-top:22px}.attachment{display:flex;align-items:center;justify-content:space-between;gap:12px;text-decoration:none;border:1px solid #dfe7da;background:white;padding:14px 16px;border-radius:7px;margin:8px 0;font-size:12px;overflow-wrap:anywhere}.attachment small{font-size:10px;color:var(--muted);white-space:nowrap}.loading,.empty-list{text-align:center;padding:40px 20px;font-size:12px;color:var(--muted);line-height:1.8}.empty-list strong{display:block;color:#52634a;margin-bottom:8px}dialog{padding:28px;border:1px solid var(--line);border-radius:12px;width:min(430px,calc(100% - 32px));color:inherit}dialog::backdrop{background:#19302155;backdrop-filter:blur(3px)}.dialog-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.dialog-heading h2{margin:0}#toast{position:fixed;bottom:24px;right:24px;padding:15px 22px;background:#2e543b;color:white;border-radius:8px;font-size:12px;max-width:390px;z-index:5}@media(max-width:1100px){.shell{grid-template-columns:185px minmax(0,1fr)}.sidebar{padding:25px 12px}.mail-workspace{grid-template-columns:300px minmax(0,1fr)}.reader{padding:28px 24px}.login-story{padding:40px}.story-copy h1{font-size:45px}}@media(max-width:800px){.shell{grid-template-columns:160px minmax(0,1fr)}.mail-workspace{display:block;position:relative}.list-pane{height:100%;border-right:0}.reader{display:none;height:100%}.mail-workspace.reading .reader{display:block}.mail-workspace.reading .list-pane{display:none}.back-button{display:inline-flex}.topbar{padding:0 20px}.search{width:60%}.sidebar .brand{font-size:20px;gap:6px}.sidebar .brand-mark{width:30px;height:30px}.login-shell{grid-template-columns:1fr}.login-story{min-height:160px;padding:28px}.story-copy,.story-footer{display:none}.login-side{padding:40px 24px;align-items:flex-start}.login-card{max-width:420px}.login-story{min-height:115px}}@media(max-width:520px){.shell{display:flex;flex-direction:column;height:100dvh}.sidebar{flex-direction:row;align-items:center;padding:12px 16px;gap:10px;border-right:0;border-bottom:1px solid var(--line);flex-shrink:0}.sidebar .brand{padding:0;margin-right:auto}.sidebar .eyebrow,.sidebar .user{display:none}.folders{display:flex}.folder{padding:9px;font-size:11px;margin:0;gap:4px}.folder span:first-child{display:none}.sidebar-foot{display:flex;margin:0;gap:6px}.sidebar-foot .button{font-size:10px;padding:8px;margin:0;width:auto}.sidebar-foot .password-label{display:none}.workspace{flex:1}.topbar{height:68px}.topbar h1{font-size:21px}.reader{padding:24px 20px}.message-subject{font-size:23px}.mail-row{padding-top:20px;padding-bottom:20px}.user-address{font-size:10px}#toast{left:18px;right:18px;bottom:18px}.login-card h2{font-size:27px}}

.compose-button{margin-top:30px;width:100%}#compose-dialog{width:min(650px,calc(100% - 24px));max-height:90vh}textarea{font:inherit;width:100%;padding:12px;border:1px solid #d8e1d7;border-radius:7px;margin-top:8px;resize:vertical;color:inherit}textarea:focus{outline:2px solid #c0d9c4}.compose-actions{display:flex;gap:10px}.send-status{font-size:11px;color:#6d8167}.send-status.failed{color:#b05a46}.reader-top{gap:12px;flex-wrap:wrap}@media(max-width:520px){.sidebar{flex-wrap:wrap}.compose-button{margin:0;width:auto;padding:8px;font-size:11px}.sidebar .folders{order:3;width:100%}.sidebar .folder{flex:1}.sidebar .brand{font-size:18px}}
