:root {
  color-scheme: light;
  --navy: #062239;
  --blue: #4F93B7;
  --blue-dark: #35799f;
  --ink: #132d40;
  --muted: #82909b;
  --line: #e9eef1;
  --surface: #fff;
  --wash: #f7f9fa;
  --font: 'Segoe UI', Arial, sans-serif;
  --display: 'Segoe UI', Arial, sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; background: var(--wash); color: var(--ink); font-family: var(--font); font-size: 13px; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .48; }
.icon { width: 18px; height: 18px; flex: 0 0 auto; }
.boot-screen { height: 100vh; display: grid; place-content: center; justify-items: center; gap: 12px; color: var(--muted); }
.boot-mark,.brand-logo,.top-logo { display: grid; place-items: center; overflow: hidden; position: relative; }
.boot-mark { width: 48px; height: 48px; border-radius: 15px; background: var(--navy); color: #fff; font: 800 24px var(--display); }
.boot-mark img,.brand-logo img,.top-logo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; z-index: 1; }

.login-page { min-height: 100vh; display: grid; grid-template-columns: minmax(480px, 1fr) minmax(480px, .96fr); background: white; }
.login-card { width: min(440px, calc(100% - 64px)); margin: auto; padding: 48px 0; }
.brand-lockup { display: flex; align-items: center; gap: 12px; }
.brand-logo { width: 42px; height: 42px; color: #fff; background: var(--navy); border-radius: 12px; font: 800 20px var(--display); }
.brand-lockup div:last-child { display: grid; gap: 3px; }
.brand-lockup strong { font: 800 16px var(--display); letter-spacing: -.3px; }
.brand-lockup div:last-child span { color: #8d99a2; font-size: 11px; }
.login-copy { margin: 72px 0 34px; }
.eyebrow,.breadcrumb,.nav-caption { color: var(--blue); font-size: 10px; font-weight: 700; letter-spacing: 1.45px; }
.login-copy h1 { margin: 15px 0 14px; color: var(--navy); font: 800 clamp(38px, 4vw, 48px)/1.12 var(--display); letter-spacing: -2px; }
.login-copy > p:last-child { max-width: 355px; margin: 0; color: #82909b; font-size: 14px; line-height: 1.7; }
.login-form { display: grid; gap: 10px; }
.login-form > label:not(.remember-account) { margin-top: 6px; color: #3d5060; font-size: 12px; font-weight: 600; }
.login-form > input { width: 100%; height: 48px; border: 1px solid #dfe7eb; border-radius: 7px; outline: 0; padding: 0 14px; color: var(--ink); background: #fff; transition: border .18s, box-shadow .18s; }
.login-form > input:focus,.compose-field input:focus,.global-search input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px #4f93b71c; }
.login-form > input::placeholder { color: #a7b0b7; }
.remember-account { display: flex; gap: 9px; align-items: center; margin: 5px 0 7px; color: #7d8b96; font-size: 11px; }
.remember-account input { accent-color: var(--blue); }
.button { min-height: 38px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: 0; border-radius: 6px; padding: 0 14px; font-weight: 600; transition: background .18s, transform .18s; }
.button-primary { background: var(--blue); color: #fff; }
.button-primary:hover { background: var(--blue-dark); }
.login-submit { height: 48px; margin-top: 6px; justify-content: space-between; padding: 0 18px; font-size: 13px; box-shadow: 0 7px 15px #4f93b72b; }
.login-submit > span:last-child { font-size: 19px; font-weight: 400; }
.button-light { border: 1px solid #e1e8ec; color: #415665; background: white; }
.button-light:hover { background: #f6f9fa; }
.login-footnote { display: flex; align-items: center; gap: 8px; margin-top: 26px; color: #9aa5ac; font-size: 10px; }
.secure-dot,.online-dot { width: 7px; height: 7px; border-radius: 50%; background: #59b995; }
.form-error { margin: 0; color: #b94a48; line-height: 1.5; }
.login-aside { min-height: 100vh; position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; background: var(--navy); }
.login-aside::before { content: ""; position: absolute; width: 560px; height: 560px; top: -250px; right: -210px; border: 1px solid #ffffff0f; border-radius: 50%; }
.login-aside::after { content: ""; position: absolute; width: 420px; height: 420px; bottom: -270px; left: -180px; border: 1px solid #ffffff16; border-radius: 50%; }
.aside-orbit { position: absolute; border: 1px solid #ffffff12; border-radius: 50%; }
.orbit-one { width: 540px; height: 540px; }
.orbit-two { width: 390px; height: 390px; }
.mail-illustration { width: 280px; height: 250px; position: relative; margin-top: -40px; }
.mail-shadow { position: absolute; left: 15px; bottom: 24px; width: 255px; height: 48px; border-radius: 50%; background: #020e1a66; filter: blur(15px); }
.mail-sheet { position: absolute; width: 155px; height: 150px; left: 62px; top: 21px; border-radius: 9px; background: #fff; transform: rotate(-7deg); box-shadow: 0 16px 35px #06192c55; padding: 34px 22px; display: grid; align-content: start; gap: 11px; }
.mail-sheet span { height: 5px; border-radius: 5px; background: #e6edf1; }
.mail-sheet span:first-child { width: 70%; background: #a9cadb; }
.mail-sheet span:nth-child(2) { width: 90%; }
.mail-sheet span:nth-child(3) { width: 58%; }
.mail-sheet i { width: 38px; height: 38px; position: absolute; right: 20px; bottom: 19px; border-radius: 50%; background: #e8f4f8; }
.mail-envelope { position: absolute; left: 24px; bottom: 35px; width: 235px; height: 145px; overflow: hidden; border-radius: 12px; filter: drop-shadow(0 20px 20px #0003); }
.envelope-front { position: absolute; inset: 48px 0 0; background: linear-gradient(140deg, #70aac8, #4f93b7); clip-path: polygon(0 0,50% 70%,100% 0,100% 100%,0 100%); z-index: 2; }
.envelope-flap { position: absolute; inset: 0; background: #8ab9d0; clip-path: polygon(0 0,100% 0,50% 70%); z-index: 3; }
.mail-badge { position: absolute; right: -27px; top: 45px; display: flex; align-items: center; gap: 9px; padding: 11px 15px; color: var(--navy); font-size: 11px; font-weight: 700; border: 1px solid #ffffffb3; border-radius: 7px; background: #fffffff2; box-shadow: 0 8px 25px #00162844; }
.mail-badge .icon { color: var(--blue); }
.aside-caption { position: absolute; bottom: 54px; left: 54px; display: flex; align-items: center; gap: 14px; color: #fff; }
.caption-line { width: 26px; height: 2px; background: var(--blue); }
.aside-caption p { margin: 0; color: #b4c5d0; font: 500 15px/1.6 var(--display); }

.webmail { height: 100vh; min-height: 560px; display: flex; flex-direction: column; background: white; }
.topbar { height: 64px; display: flex; align-items: center; gap: 26px; flex: 0 0 auto; padding: 0 27px; border-bottom: 1px solid var(--line); background: #fff; }
.top-brand { display: flex; align-items: center; gap: 10px; color: var(--navy); text-decoration: none; white-space: nowrap; }
.top-logo { width: 31px; height: 31px; color: #fff; background: var(--navy); border-radius: 8px; font: 800 15px var(--display); }
.top-brand-name { font: 800 14px var(--display); }
.brand-divider,.top-divider { width: 1px; height: 20px; background: #e2e8eb; }
.top-product { color: #82909b; font-size: 12px; }
.global-search { height: 37px; width: min(460px, 42vw); position: relative; display: flex; align-items: center; gap: 10px; margin: 0 auto; padding: 0 12px; border: 1px solid #e7ecef; border-radius: 6px; background: #f8fafb; color: #7f909c; }
.global-search .icon { width: 16px; height: 16px; }
.global-search input { width: 100%; min-width: 0; outline: 0; border: 0; background: transparent; color: var(--ink); font-size: 11px; }
.global-search input:focus { box-shadow: none; }
.global-search input::placeholder { color: #9ba8b0; }
kbd { border: 1px solid #e1e6e9; border-radius: 4px; padding: 2px 5px; color: #9ca8af; background: white; font: 10px var(--font); white-space: nowrap; }
.top-actions { display: flex; align-items: center; gap: 16px; }
.icon-button { width: 34px; height: 34px; display: inline-grid; place-items: center; border: 0; border-radius: 6px; color: #7f8e98; background: transparent; }
.icon-button:hover { color: var(--navy); background: #f1f5f7; }
.icon-button .icon { width: 17px; height: 17px; }
.account-chip { display: flex; align-items: center; gap: 9px; border: 0; padding: 0; color: #526574; background: transparent; font-size: 11px; }
.account-avatar,.sender-avatar { display: grid; flex: 0 0 auto; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: #fff; background: var(--blue); font-size: 10px; font-weight: 700; }
.account-email { max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chevron { color: #8b9aa3; font-size: 15px; }
.workspace { display: flex; min-height: 0; flex: 1; }
.sidebar { width: 224px; flex: 0 0 auto; display: flex; flex-direction: column; padding: 22px 14px 15px; border-right: 1px solid var(--line); background: white; }
.compose-button { width: 100%; height: 44px; display: flex; align-items: center; gap: 11px; margin-bottom: 29px; padding: 0 14px; border: 0; border-radius: 6px; color: white; background: var(--blue); box-shadow: 0 4px 10px #4f93b72a; font-weight: 600; text-align: left; }
.compose-button:hover { background: var(--blue-dark); }
.compose-button .icon { width: 17px; height: 17px; }
.compose-button kbd { margin-left: auto; border: 1px solid #ffffff50; color: #ffffffc9; background: #ffffff14; }
.nav-caption { margin: 0 0 9px 10px; color: #9da8af; font-size: 9px; letter-spacing: 1.2px; }
.folder-nav { display: grid; gap: 3px; }
.folder-link { min-height: 39px; display: flex; align-items: center; gap: 12px; padding: 0 11px; border: 0; border-radius: 5px; color: #73838e; background: transparent; text-align: left; font-size: 12px; }
.folder-link .icon { width: 16px; height: 16px; }
.folder-link span:nth-child(2) { flex: 1; }
.folder-link:hover { color: var(--navy); background: #f7f9fa; }
.folder-link.active { color: var(--navy); background: #eaf3f7; font-weight: 700; }
.folder-link.active .icon { color: var(--blue); }
.folder-count { color: var(--blue-dark); font-size: 10px; font-weight: 700; }
.sidebar-bottom { margin-top: auto; }
.storage-card { min-height: 58px; display: flex; align-items: center; gap: 10px; padding: 10px; border: 1px solid #e9eef1; border-radius: 7px; }
.storage-icon { width: 29px; height: 29px; display: grid; place-items: center; border-radius: 6px; color: var(--blue); background: #edf5f8; }
.storage-icon .icon { width: 15px; height: 15px; }
.storage-card div { flex: 1; min-width: 0; }
.storage-card strong { display: block; color: #485e6d; font-size: 10px; }
.storage-card p { margin: 4px 0 0; color: #99a4ab; font-size: 9px; }
.online-dot { width: 6px; height: 6px; }
.help-link { width: 100%; display: flex; justify-content: space-between; padding: 16px 6px 0; border: 0; color: #9aa5ab; background: none; font-size: 10px; }
.mail-area { min-width: 0; flex: 1; display: flex; flex-direction: column; background: #fbfcfd; }
.mail-heading { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 27px; }
.breadcrumb { margin: 0 0 8px; color: #9ca8af; font-size: 9px; letter-spacing: 1px; }
.breadcrumb span { margin: 0 4px; color: #c2cbd0; }
.mail-heading h1 { margin: 0; color: var(--navy); font: 700 22px var(--display); letter-spacing: -.6px; }
#heading-count { margin-left: 6px; color: #9da8af; font: 500 12px var(--font); }
.list-tools { display: flex; align-items: center; gap: 5px; color: #84939d; }
.list-tools .icon-button { width: 29px; height: 29px; }
.list-tools .icon-button .icon { width: 15px; height: 15px; }
.range-label { margin: 0 5px 0 9px; color: #87949c; font-size: 10px; white-space: nowrap; }
.icon-button.compact { font-size: 20px; }
.mail-content { min-height: 0; flex: 1; display: grid; grid-template-columns: minmax(330px, 39%) 1fr; gap: 15px; padding: 0 18px 18px; }
.message-panel,.reading-panel { min-width: 0; min-height: 0; overflow: auto; border: 1px solid #e9eef1; border-radius: 7px; background: #fff; }
.message-panel { display: flex; flex-direction: column; }
.list-toolbar { height: 43px; flex: 0 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 0 15px; border-bottom: 1px solid #edf1f3; color: #91a0a9; font-size: 10px; }
.text-button { padding: 4px 0; border: 0; color: var(--blue-dark); background: none; font-size: 10px; font-weight: 600; }
.message-list { flex: 1; }
.message-row { min-height: 77px; position: relative; display: flex; align-items: flex-start; gap: 11px; padding: 14px 12px 12px 14px; border-bottom: 1px solid #f0f3f5; cursor: pointer; transition: background .15s; outline: 0; }
.message-row:hover { background: #fafcfd; }
.message-row.selected { background: #f1f7fa; box-shadow: inset 2px 0 var(--blue); }
.message-row.unread .message-sender,.message-row.unread .message-subject { color: #102d42; font-weight: 700; }
.message-row.unread::before { content: ""; position: absolute; left: 5px; top: 23px; width: 5px; height: 5px; border-radius: 50%; background: var(--blue); }
.sender-avatar { width: 31px; height: 31px; margin-top: 2px; background: #78a8c1; font-size: 9px; }
.avatar-0 { background: #4f93b7; }.avatar-1 { background: #719f8d; }.avatar-2 { background: #a589bb; }.avatar-3 { background: #ce9879; }.avatar-4 { background: #6f86a7; }
.message-main { flex: 1; min-width: 0; }
.message-topline { display: flex; align-items: center; justify-content: space-between; gap: 7px; margin: 0 0 5px; }
.message-sender { overflow: hidden; color: #536875; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.message-topline time { flex: 0 0 auto; color: #9ba7ae; font-size: 9px; }
.message-subject { overflow: hidden; color: #536775; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.message-snippet { overflow: hidden; margin: 5px 0 0; color: #a0abb1; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.row-star { width: 22px; height: 25px; display: grid; flex: 0 0 auto; place-items: center; margin: -4px -5px 0 0; padding: 0; border: 0; color: #c4cdd2; background: transparent; opacity: 0; }
.message-row:hover .row-star,.row-star.is-starred { opacity: 1; }
.row-star .icon { width: 14px; height: 14px; }
.row-star.is-starred { color: #e6ad4d; }
.list-footer { padding: 13px; color: #b0b9be; font-size: 9px; text-align: center; }
.list-loading,.reading-loading { height: 170px; display: flex; align-items: center; justify-content: center; gap: 9px; color: #94a1a9; font-size: 11px; }
.spinner { width: 15px; height: 15px; display: inline-block; border: 2px solid #dbe8ed; border-top-color: var(--blue); border-radius: 50%; animation: spin .7s linear infinite; }
.spinner-light { border-color: #ffffff65; border-top-color: #fff; }
@keyframes spin { to { transform: rotate(360deg); } }
.no-messages,.list-error { min-height: 230px; display: grid; align-content: center; justify-items: center; gap: 9px; padding: 28px; color: #82919a; text-align: center; }
.no-message-icon { width: 39px; height: 39px; display: grid; place-items: center; margin-bottom: 5px; border-radius: 12px; color: var(--blue); background: #eef6f9; }
.no-message-icon .icon { width: 18px; height: 18px; }
.no-messages strong,.list-error strong { color: #546a78; font: 700 12px var(--display); }
.no-messages p,.list-error p { max-width: 250px; margin: 0; color: #97a3aa; font-size: 10px; line-height: 1.6; }
.list-error .icon { display: none; }
.list-error .button { margin-top: 7px; }
.reading-panel { position: relative; }
.empty-reading { height: 100%; min-height: 360px; display: flex; align-items: center; justify-content: center; flex-direction: column; padding: 32px; text-align: center; }
.empty-art { width: 100px; height: 94px; position: relative; display: grid; place-items: center; margin-bottom: 23px; }
.empty-art::before,.empty-art::after { content: ""; position: absolute; border: 1px solid #eaf1f4; border-radius: 50%; }
.empty-art::before { width: 92px; height: 92px; }
.empty-art::after { width: 70px; height: 70px; }
.empty-circle { width: 47px; height: 47px; display: grid; place-items: center; border-radius: 15px; color: var(--blue); background: #edf5f8; }
.empty-circle .icon { width: 21px; height: 21px; }
.empty-sparkle { position: absolute; top: 7px; right: 7px; color: #e3b15b; font-size: 18px; }
.empty-reading h2 { margin: 0 0 8px; color: #425b6b; font: 700 15px var(--display); letter-spacing: -.2px; }
.empty-reading p { margin: 0 0 17px; color: #97a3aa; font-size: 11px; line-height: 1.7; }
.reading-toolbar { height: 47px; position: sticky; top: 0; z-index: 1; display: flex; align-items: center; gap: 9px; padding: 0 15px; border-bottom: 1px solid #edf1f3; background: #ffffffed; }
.reading-toolbar .icon-button { width: 29px; height: 29px; }
.reading-folder { color: #97a3aa; font-size: 10px; }
.reading-spacer { flex: 1; }
.message-detail { max-width: 820px; margin: 0 auto; padding: 28px 36px 36px; }
.message-detail h2 { margin: 0 0 23px; color: #19374b; font: 700 19px/1.4 var(--display); letter-spacing: -.5px; overflow-wrap: anywhere; }
.detail-sender { display: flex; align-items: center; gap: 10px; padding-bottom: 22px; border-bottom: 1px solid #edf1f3; }
.detail-sender div { min-width: 0; display: grid; gap: 4px; }
.detail-sender strong { color: #344f60; font-size: 11px; }
.detail-sender div span { color: #9aa5ac; font-size: 10px; }
.detail-sender time { margin-left: auto; color: #9aa5ac; font-size: 9px; }
.message-body { min-height: 120px; padding: 25px 0; color: #4f6370; font-size: 12px; line-height: 1.85; white-space: pre-wrap; overflow-wrap: anywhere; }
.attachment-list { display: flex; flex-wrap: wrap; gap: 9px; padding: 15px 0 0; }
.attachment-card { max-width: 250px; min-width: 190px; display: flex; align-items: center; gap: 9px; padding: 10px; border: 1px solid #e8eef1; border-radius: 6px; color: #68808d; text-decoration: none; }
.attachment-card > .icon { color: var(--blue); }
.attachment-card span:nth-child(2) { min-width: 0; flex: 1; display: grid; gap: 4px; }
.attachment-card strong { overflow: hidden; color: #4b6371; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.attachment-card small { color: #9aa5ac; font-size: 8px; }
.download-mark { font-size: 15px; }
.detail-actions { display: flex; gap: 9px; padding-top: 18px; border-top: 1px solid #edf1f3; }
.detail-actions .button { min-height: 34px; font-size: 10px; }
.detail-actions .icon { width: 14px; height: 14px; }

.compose-scrim { position: fixed; inset: 0; z-index: 5; background: #0622393a; }
.compose-window { width: min(580px, calc(100vw - 28px)); position: fixed; right: 26px; bottom: 0; z-index: 6; overflow: hidden; border: 1px solid #e4eaed; border-radius: 9px 9px 0 0; background: #fff; box-shadow: 0 12px 50px #06223929; }
.compose-header { height: 46px; display: flex; align-items: center; justify-content: space-between; padding: 0 11px 0 17px; background: #f7f9fa; }
.compose-header h2 { margin: 0; color: #435b69; font: 700 11px var(--display); }
.compose-header > div { display: flex; gap: 3px; }
.compose-header .icon-button { width: 26px; height: 26px; }
.compose-header .icon { width: 14px; height: 14px; }
.compose-form { padding: 0 18px; }
.compose-field { min-height: 42px; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid #edf1f3; }
.compose-field > span { width: 38px; color: #8d9ba4; font-size: 10px; }
.compose-field input { min-width: 0; flex: 1; height: 38px; padding: 0; border: 0; outline: 0; color: #354e5e; background: transparent; font-size: 11px; }
.compose-field input:focus { box-shadow: none; }
.compose-field input::placeholder { color: #b0b9be; }
.compose-body { width: 100%; height: 215px; resize: vertical; padding: 17px 0; border: 0; outline: 0; color: #405765; font-size: 11px; line-height: 1.6; }
.compose-body::placeholder { color: #aab4ba; }
.attachment-preview { max-height: 76px; overflow: auto; }
.file-chip { max-width: 100%; display: inline-flex; align-items: center; gap: 6px; margin: 0 6px 7px 0; padding: 5px 7px; border: 1px solid #e7edf0; border-radius: 5px; color: #687d89; font-size: 9px; }
.file-chip > span { max-width: 275px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-chip .icon { width: 12px; height: 12px; }
.file-chip button { display: grid; place-items: center; padding: 0; border: 0; color: #9aa5ac; background: transparent; }
.compose-footer { min-height: 60px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid #edf1f3; }
.compose-actions { display: flex; align-items: center; gap: 12px; }
.compose-actions .button { min-height: 34px; font-size: 10px; }
.compose-actions .icon { width: 14px; height: 14px; }
.attach-button { width: 30px; height: 30px; }
.compose-hint { color: #a3adb3; font-size: 9px; }
.compose-discard .icon { width: 15px; height: 15px; }
#toast-root { position: fixed; right: 20px; bottom: 20px; z-index: 10; }
.toast { max-width: min(420px, calc(100vw - 40px)); display: flex; align-items: center; gap: 11px; padding: 13px 16px; border: 1px solid #dce8e4; border-radius: 7px; color: #3b6a58; background: white; box-shadow: 0 7px 25px #0622391b; font-size: 11px; line-height: 1.5; animation: toast-in .18s ease-out; }
.toast > :first-child { width: 19px; height: 19px; display: grid; flex: 0 0 auto; place-items: center; border-radius: 50%; background: #e9f5ef; font-size: 10px; }
.toast-error { border-color: #f0d7d4; color: #a54840; }.toast-error > :first-child { background: #fbedeb; }
.toast-warning { border-color: #f0e2c6; color: #8a692c; }.toast-warning > :first-child { background: #fbf3e5; }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 950px) {
  .login-page { grid-template-columns: minmax(400px, 1fr) minmax(350px, .8fr); }
  .login-card { width: min(390px, calc(100% - 54px)); }
  .sidebar { width: 190px; }
  .mail-content { grid-template-columns: minmax(285px, 42%) 1fr; gap: 10px; padding-inline: 10px; }
  .message-detail { padding-inline: 24px; }
}
@media (max-width: 700px) {
  .login-page { display: block; }
  .login-card { width: min(440px, calc(100% - 42px)); padding: 34px 0; }
  .login-copy { margin: 48px 0 27px; }
  .login-copy h1 { font-size: 41px; }
  .login-aside { display: none; }
  .webmail { min-height: 100dvh; height: 100dvh; }
  .topbar { height: 57px; gap: 11px; padding: 0 13px; }
  .mobile-menu { display: inline-grid; width: 29px; }
  .top-brand { gap: 7px; }
  .top-logo { width: 28px; height: 28px; }
  .top-brand-name { font-size: 12px; }
  .top-product,.brand-divider { display: none; }
  .global-search { width: auto; flex: 1; margin: 0 0 0 auto; padding: 0 8px; }
  .global-search kbd { display: none; }
  .top-actions { gap: 4px; }
  .top-actions > .icon-button,.top-divider { display: none; }
  .account-chip { gap: 0; }
  .account-email,.chevron { display: none; }
  .account-avatar { width: 28px; height: 28px; }
  .sidebar { width: 230px; position: fixed; inset: 57px auto 0 0; z-index: 4; transform: translateX(-105%); transition: transform .2s ease; box-shadow: 8px 0 25px #06223917; }
  .sidebar.sidebar-open { transform: translateX(0); }
  .workspace { position: relative; }
  .mail-heading { min-height: 75px; padding: 11px 15px; }
  .mail-heading h1 { font-size: 19px; }
  .breadcrumb { font-size: 8px; }
  .list-tools { gap: 0; }
  .range-label { font-size: 9px; margin: 0 2px; }
  .mail-content { grid-template-columns: 1fr; gap: 0; padding: 0 9px 9px; }
  .message-panel { grid-column: 1; }
  .reading-panel { display: none; }
  .webmail.message-open .message-panel { display: none; }
  .webmail.message-open .reading-panel { display: block; }
  .message-detail { padding: 23px 18px; }
  .detail-sender time { max-width: 110px; text-align: right; line-height: 1.5; }
  .compose-window { right: 0; width: 100vw; border-radius: 9px 9px 0 0; }
  .compose-body { height: 31vh; min-height: 165px; }
  #toast-root { right: 10px; bottom: 12px; }
}
@media (min-width: 701px) {
  .mobile-menu { display: none; }
}
