:root{--paper:#fff;--surface:#f4f7f9;--ink:#172b3e;--muted:#596d7e;--accent:#087e83;--line:#dee7ed;--selected:#eaf6f6;font-family:-apple-system,BlinkMacSystemFont,"Hiragino Sans","Yu Gothic",sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none;color-scheme:light}
*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button,a,input{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}button:disabled{cursor:default}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin:0}svg{width:20px;height:20px;flex-shrink:0}a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid #2da4aa;outline-offset:3px}.mail-screen{height:100vh;height:100dvh;overflow:hidden;display:flex;flex-direction:column}.topbar{height:66px;flex:0 0 66px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 28px;gap:18px}.brand{display:flex;align-items:center;gap:12px;font-size:20px;font-weight:700;letter-spacing:.01em}.brand-mark{width:32px;height:32px;display:grid;place-items:center;background:var(--accent);border-radius:8px;color:#fff}.brand-mark svg{width:23px;height:23px}.brand small{font-size:12px;font-weight:500;color:var(--muted);margin-left:12px}.top-actions{display:flex;align-items:center;gap:20px}.readonly{font-size:12px;color:var(--muted);display:flex;align-items:center;gap:6px}.readonly svg{width:15px;height:15px}.top-actions form{margin:0}.logout{display:flex;align-items:center;gap:7px;min-height:44px;background:none;border:0;font-size:12px;padding:0;color:var(--muted)}.logout svg{width:18px;height:18px}.demo-badge{font-size:10px;color:#07656a;background:#edf7f7;border-radius:4px;padding:5px 8px;white-space:nowrap}.workspace{display:grid;grid-template-columns:202px 366px minmax(0,1fr);flex:1;min-height:0}.sidebar{display:flex;flex-direction:column;min-width:0;background:var(--surface);border-right:1px solid var(--line);padding:24px 14px 18px}.account-block{padding:0 10px 22px;margin-bottom:20px;border-bottom:1px solid var(--line)}.account-label{font-size:13px;font-weight:650;margin-bottom:7px}.account{font-size:11px;color:var(--muted);overflow-wrap:anywhere}.new-message{display:flex;align-items:center;justify-content:center;gap:8px;min-height:46px;border:1px solid #c9d9df;background:#f8fbfc;border-radius:6px;font-size:13px;color:#667987;margin-bottom:20px}.planned{font-size:10px;border:1px solid #d7e2e8;border-radius:3px;padding:1px 5px;background:#fff;color:var(--muted);white-space:nowrap}.folder-nav{display:flex;flex-direction:column;gap:5px}.folder{display:flex;align-items:center;gap:10px;min-height:44px;padding:0 12px;font-size:13px;border-radius:6px}.folder.active{color:#07656a;background:#e0eef0;font-weight:650}.folder:not(.active):hover{background:#eaf0f4}.folder svg{width:19px;height:19px}.future-caption{font-size:10px;color:var(--muted);margin:30px 12px 12px}.future-folders p{display:flex;justify-content:space-between;align-items:center;min-height:42px;margin:0 12px;font-size:12px;color:#667987}.future-folders span{font-size:10px}.sidebar-footnote{margin-top:auto;padding:20px 10px 0;font-size:10px;line-height:1.9;color:var(--muted)}.sidebar-footnote svg{width:12px;height:12px;margin-right:4px;vertical-align:middle}.sidebar-footnote span{display:block;margin-top:12px}.inbox{display:flex;flex-direction:column;min-width:0;min-height:0;border-right:1px solid var(--line)}.inbox-controls{padding:25px 22px 0;flex-shrink:0}.inbox-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.inbox h1{font-size:23px;letter-spacing:.015em;font-weight:700}.refresh{display:flex;align-items:center;justify-content:center;gap:6px;min-height:44px;min-width:70px;padding:0 11px;border:1px solid var(--line);border-radius:6px;font-size:12px;color:var(--muted)}.refresh svg{width:16px;height:16px}.refresh:hover{border-color:#8bb8bb;color:#07656a}.refresh[aria-busy=true] svg{animation:spin .7s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.unread-count{font-size:12px;color:var(--muted);margin-top:7px}.update-status{display:flex;align-items:center;gap:5px;font-size:10px;color:var(--muted);min-height:17px;margin:11px 0 17px}.status-dot{width:5px;height:5px;background:#4c9794;border-radius:50%}.search-form{margin:0}.search{display:flex;align-items:center;gap:9px;height:44px;border:1px solid #cad7e0;border-radius:6px;padding:0 11px;background:#fff}.search:focus-within{border-color:var(--accent);box-shadow:0 0 0 2px #087e8314}.search svg{width:18px;height:18px;color:var(--muted)}.search input{width:100%;min-width:0;height:100%;padding:0;border:0;outline:none;background:transparent;font-size:14px;color:var(--ink)}.search input::placeholder{color:#6b7d8b}.search-submit{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.search-submit:focus{position:static;width:auto;height:40px;clip-path:none}.filters{display:flex;gap:25px;margin-top:14px}.filters a{display:flex;align-items:center;min-height:44px;padding:0 3px 2px;border-bottom:2px solid transparent;font-size:13px;color:var(--muted)}.filters a[aria-current]{color:#07656a;font-weight:650;border-bottom-color:var(--accent)}.message-list{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;border-top:1px solid var(--line);scrollbar-width:thin;scrollbar-color:#cbd8e1 transparent}.message-row{display:flex;align-items:flex-start;gap:11px;min-height:92px;border-bottom:1px solid #edf1f4;border-left:3px solid transparent;padding:18px 20px 17px 17px;background:#fff}.message-row:hover{background:#f7fafb}.message-row.selected{background:var(--selected);border-left-color:var(--accent)}.unread-dot{width:7px;height:7px;border-radius:50%;flex:0 0 7px;margin-top:7px;background:transparent}.is-unread .unread-dot{background:#07656a}.row-content{min-width:0;flex:1}.row-header{display:flex;justify-content:space-between;align-items:center;gap:10px}.sender{font-size:14px;font-weight:500;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.is-unread .sender{font-weight:700}.row-header time{font-size:10px;color:var(--muted);white-space:nowrap}.subject{font-size:13px;line-height:1.65;font-weight:450;margin-top:5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.is-unread .subject{font-weight:600}.list-footnote{display:flex;align-items:center;gap:7px;min-height:42px;padding:12px 20px;border-top:1px solid var(--line);font-size:10px;color:var(--muted);flex-shrink:0}.list-footnote svg{width:13px;height:13px}.next-page{display:block;padding:17px 20px;color:var(--accent);font-size:13px;min-height:48px;border-bottom:1px solid var(--line)}.empty-state{padding:38px 24px;font-size:13px;color:var(--muted);line-height:1.8}.empty-state h2{font-size:16px;color:var(--ink);margin-bottom:10px}.empty-state a{display:inline-flex;align-items:center;min-height:44px;margin-top:12px;color:var(--accent);text-decoration:underline}.detail{min-width:0;min-height:0;display:flex;flex-direction:column;background:#fff;overflow:hidden}.detail-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 30px;flex:0 0 50px;min-height:50px;border-bottom:1px solid #edf1f4}.detail-context{display:flex;align-items:center;gap:7px;font-size:11px;color:var(--muted)}.detail-context svg{width:15px;height:15px}.detail-mode{font-size:10px;color:var(--muted)}.back{display:none;align-items:center;gap:4px;min-height:44px;color:#07656a;font-size:14px}.back svg{width:20px;height:20px}.detail-header{padding:24px 38px 0;flex-shrink:0}.detail-topline{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:15px}.read-only-label{display:flex;align-items:center;gap:5px;font-size:10px;color:#07656a}.read-only-label svg{width:13px;height:13px}.detail-date{font-size:11px;color:var(--muted);white-space:nowrap}.detail-header h2{font-size:23px;line-height:1.5;letter-spacing:.005em;font-weight:700;margin-bottom:19px;overflow-wrap:anywhere;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.sender-block{display:flex;align-items:center;gap:12px;margin-bottom:13px}.avatar{width:36px;height:36px;flex:0 0 36px;display:grid;place-items:center;background:#edf3f5;color:#38556a;border-radius:50%;font-size:14px;font-weight:600}.sender-info{flex:1;min-width:0}.detail-sender{font-size:14px;font-weight:650;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sender-address{font-size:11px;color:var(--muted);line-height:1.8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.recipient-details-button{min-height:28px;padding:0;background:none;border:0;color:var(--muted);font-size:11px}.privacy-note{display:flex;align-items:center;gap:7px;margin:0 38px 14px;padding:9px 0;border-top:1px solid #edf1f4;border-bottom:1px solid #edf1f4;color:var(--muted);font-size:11px;flex-shrink:0}.privacy-note svg{width:14px;height:14px}.mail-body{display:block;flex:1;min-height:0;width:calc(100% - 76px);margin:0 38px;border:0;background:#fff}.attachment-tray{flex-shrink:0;margin:12px 38px 0}.attachment{display:flex;align-items:center;gap:12px;padding:10px 12px;min-height:62px;border:1px solid var(--line);border-radius:6px;background:#f8fafb;font-size:12px}.attachment>svg{width:18px;height:18px;color:#536d7f}.attachment>span{flex:1;min-width:0}.attachment strong{display:block;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.attachment small{display:block;font-size:10px;color:var(--muted);margin-top:4px}.all-attachments{display:block;border:0;background:none;color:var(--accent);font-size:11px;min-height:28px;padding:0}.detail-footnote{padding:11px 38px 14px;flex-shrink:0;font-size:10px;color:var(--muted)}.empty-detail{margin:auto;text-align:center;padding:30px;color:var(--muted);font-size:13px;line-height:1.8}.empty-detail h2{font-size:17px;color:var(--ink);margin-bottom:10px}.message-info{width:min(520px,calc(100% - 32px));max-height:85vh;max-height:85dvh;padding:0;border:1px solid var(--line);border-radius:10px;color:var(--ink);overflow:auto}.message-info::backdrop{background:#172b3e55}.dialog-content{padding:26px}.dialog-content h2{font-size:20px;margin-bottom:20px}.addresses{font-size:13px;margin:0 0 24px;line-height:1.8}.addresses dt{color:var(--muted);font-size:11px;margin-top:13px}.addresses dd{margin:0;overflow-wrap:anywhere;white-space:pre-line}.dialog-content .attachment{margin-bottom:10px}.dialog-close{width:100%;min-height:44px;background:var(--accent);color:#fff;border:0;border-radius:6px;margin-top:16px;font-size:14px}.mobile-nav{display:none}.login-shell{min-height:100vh;min-height:100dvh;display:flex;align-items:center;justify-content:center;padding:24px;background:var(--surface)}.login-card{width:100%;max-width:440px;background:#fff;border:1px solid var(--line);border-radius:12px;padding:40px 38px}.login-card .brand{margin-bottom:36px}.login-card .brand h1{font-size:23px}.login-card h2{font-size:25px;line-height:1.6;margin-bottom:14px}.login-copy{font-size:15px;line-height:1.9;color:var(--muted)}.demo-notice{padding:15px 17px;margin:25px 0 20px;border-left:3px solid var(--accent);background:var(--selected);font-size:13px;line-height:1.8;color:#476471}.primary{width:100%;min-height:48px;background:var(--accent);color:#fff;border:0;border-radius:6px;font-size:15px;font-weight:600}.login-caption{font-size:12px;line-height:1.8;color:var(--muted);margin-top:17px;text-align:center}.login-field{display:block;font-size:13px;color:var(--muted);margin:16px 0}.login-field input{display:block;width:100%;height:44px;border:1px solid #cbd5e1;border-radius:6px;padding:0 12px;margin-top:7px;font-size:16px}.login-error{color:#9c2727;font-size:13px;line-height:1.6;margin:16px 0}
@media(min-width:1400px){.workspace{grid-template-columns:216px 384px minmax(0,1fr)}.sender{font-size:15px}.subject{font-size:14px}.detail-header{padding:28px 48px 0}.privacy-note{margin-left:48px;margin-right:48px}.mail-body{width:calc(100% - 96px);margin-left:48px;margin-right:48px}.attachment-tray{margin-left:48px;margin-right:48px}.detail-footnote{padding-left:48px;padding-right:48px}}
@media(max-width:1050px) and (min-width:701px){.workspace{grid-template-columns:320px minmax(0,1fr)}.sidebar{display:none}.brand small{display:none}.detail-toolbar{padding:0 24px}.detail-header{padding:24px 27px 0}.detail-header h2{font-size:21px}.privacy-note{margin-left:27px;margin-right:27px}.mail-body{width:calc(100% - 54px);margin-left:27px;margin-right:27px}.attachment-tray{margin-left:27px;margin-right:27px}.detail-footnote{padding-left:27px;padding-right:27px}}
@media(max-width:700px), (max-width:1000px) and (max-height:500px) and (pointer:coarse){.topbar{height:56px;flex-basis:56px;padding:0 18px;gap:8px}.brand{gap:9px;font-size:19px}.brand-mark{width:28px;height:28px;border-radius:7px}.brand-mark svg{width:21px;height:21px}.brand small,.readonly{display:none}.top-actions{gap:10px}.logout{min-height:44px;font-size:11px;gap:5px}.logout svg{width:17px;height:17px}.demo-badge{font-size:9px;padding:4px 5px}.workspace{display:block;position:relative;min-height:0}.sidebar{display:none}.inbox{height:100%;border:0}.inbox-controls{padding:17px 20px 0}.inbox h1{font-size:23px}.refresh{min-height:44px;min-width:76px;font-size:13px}.refresh svg{width:17px;height:17px}.unread-count{font-size:11px;margin-top:2px}.update-status{margin:9px 0 13px}.search input{font-size:16px}.filters{margin-top:9px;gap:25px}.filters a{min-height:44px;font-size:14px;padding-left:1px;padding-right:1px}.message-row{min-height:88px;padding:17px 19px 16px 17px;gap:11px}.sender{font-size:15px}.subject{font-size:14px;line-height:1.6}.row-header time{font-size:11px}.list-footnote{display:none}.mobile-nav{display:flex;align-items:center;justify-content:space-around;gap:12px;border-top:1px solid var(--line);background:#fff;flex:0 0 calc(64px + env(safe-area-inset-bottom));min-height:64px;padding:4px 18px calc(4px + env(safe-area-inset-bottom))}.mobile-nav a,.mobile-nav button{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px;font-size:10px;min-height:54px;min-width:70px;padding:3px 10px;background:transparent;border:0;color:var(--muted)}.mobile-nav a:first-child{color:#07656a}.mobile-nav button{color:#758593}.mobile-nav svg{width:21px;height:21px}.detail{display:none;height:100%}.detail-open .inbox{display:none}.detail-open .detail{display:flex}.workspace.detail-open+.mobile-nav{display:none}.detail-toolbar{min-height:49px;flex-basis:49px;padding:0 18px;border-bottom:1px solid var(--line)}.detail-context{display:none}.back{display:flex;min-height:44px}.detail-header{padding:18px 23px 0}.detail-topline{margin-bottom:12px}.read-only-label,.detail-date{font-size:10px}.detail-header h2{font-size:22px;line-height:1.45;margin-bottom:15px;-webkit-line-clamp:3}.sender-block{gap:11px;margin-bottom:10px}.detail-sender{font-size:14px}.recipient-details-button{min-height:44px}.privacy-note{margin:0 23px 12px;padding:9px 0;font-size:10px}.mail-body{width:calc(100% - 46px);margin:0 23px}.attachment-tray{margin:10px 23px 0}.attachment{min-height:60px;padding:9px 11px}.detail-footnote{font-size:10px;padding:10px 23px calc(12px + env(safe-area-inset-bottom))}.all-attachments{min-height:44px}.login-card{padding:32px 26px}.login-card h2{font-size:23px}}
@media(max-width:359px){.topbar{padding-left:14px;padding-right:12px}.brand{font-size:18px}.top-actions{gap:7px}.logout span{font-size:10px}.inbox-controls{padding-left:17px;padding-right:17px}.message-row{padding-left:13px;padding-right:14px;gap:9px}.sender{font-size:14px}.subject{font-size:13px}.detail-header{padding-left:19px;padding-right:19px}.detail-header h2{font-size:21px}.privacy-note{margin-left:19px;margin-right:19px}.mail-body{width:calc(100% - 38px);margin-left:19px;margin-right:19px}.attachment-tray{margin-left:19px;margin-right:19px}.detail-footnote{padding-left:19px;padding-right:19px}.read-only-label,.detail-date{font-size:9px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important;scroll-behavior:auto!important}}

.reader-info{display:none}
@media(max-width:700px), (max-width:1000px) and (max-height:500px) and (pointer:coarse){
.reader-mobile .detail-header,.reader-mobile .privacy-note,.reader-mobile .detail-footnote,.reader-mobile .attachment-tray{display:none}
.reader-mobile .mail-body{width:100%;margin:0;flex:1;min-height:0}
.reader-mobile .detail-mode{display:none}
.reader-mobile .reader-info{display:block;min-height:44px;padding:0 8px;border:0;background:transparent;color:#08777e;font-size:12px}
}
