.install-sheet,.notif-sheet{position:fixed;inset:0;z-index:40}.install-sheet__scrim,.notif-sheet__scrim{position:absolute;inset:0;background:#0009}.install-sheet__panel,.notif-sheet__panel{position:absolute;left:0;right:0;bottom:0;max-width:480px;margin-inline:auto;max-height:100%;overflow-y:auto;display:flex;flex-direction:column;align-items:center;gap:var(--bastion-space-5);padding:var(--bastion-space-3) var(--bastion-space-6) calc(var(--bastion-space-8) + env(safe-area-inset-bottom,0px));border-radius:var(--bastion-radius-2xl) var(--bastion-radius-2xl) 0 0;background:var(--bastion-surface);color:var(--bastion-text);text-align:center;font-family:var(--bastion-font-family)}:root[data-theme=dark] .install-sheet__panel,:root[data-theme=dark] .notif-sheet__panel{background:var(--bastion-surface-field)}.install-sheet__handle,.notif-sheet__handle{flex:none;width:40px;height:5px;border-radius:3px;background:var(--bastion-border-strong)}.install-sheet__panel>svg{flex:none}.install-sheet__text{display:flex;flex-direction:column;gap:var(--bastion-space-2)}.install-sheet__title{margin:0;font-size:24px;font-weight:800;letter-spacing:-.02em;line-height:1.25}.install-sheet__body{margin:0;font-size:15px;line-height:1.55;color:var(--bastion-text-secondary);text-wrap:pretty}.install-sheet__steps{align-self:stretch;margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:var(--bastion-space-3);text-align:left}.install-sheet__step{display:flex;align-items:flex-start;gap:var(--bastion-space-3);font-size:15px;line-height:1.5}.install-sheet__step-number{flex:none;display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:var(--bastion-radius-full);background:var(--bastion-primary-wash);color:var(--bastion-primary);font-size:13px;font-weight:700}.install-sheet__step-text .bastion-icon{display:inline-flex;vertical-align:-2px;margin-inline:0 4px;color:var(--bastion-primary)}.install-sheet__step-text strong{font-weight:700}.install-sheet__primary{align-self:stretch;flex:none;height:56px;border:none;border-radius:var(--bastion-radius-full);background:var(--bastion-primary);color:var(--bastion-white);font:inherit;font-size:16px;font-weight:700;display:flex;align-items:center;justify-content:center;gap:var(--bastion-space-2);cursor:pointer;transition:background-color .15s ease}.install-sheet__primary:hover{background:var(--bastion-primary-hover)}.install-sheet__later{flex:none;min-height:24px;padding:0 var(--bastion-space-3);border:none;background:none;color:var(--bastion-text-secondary);font:inherit;font-size:15px;font-weight:600;line-height:24px;cursor:pointer}.install-sheet__later:hover{color:var(--bastion-text)}.install-sheet__primary:focus-visible,.install-sheet__later:focus-visible{outline:2px solid var(--bastion-primary);outline-offset:2px}.notif-sheet__panel{align-items:stretch;gap:var(--bastion-space-4);text-align:left}.notif-sheet__handle{align-self:center}.notif-sheet__header{display:flex;align-items:center;justify-content:space-between;gap:var(--bastion-space-3)}.notif-sheet__title{margin:0;font-size:20px;font-weight:800;letter-spacing:-.02em;line-height:1.25}.notif-sheet__close{flex:none;display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;margin-right:calc(-1 * var(--bastion-space-3));padding:0;border:0;border-radius:var(--bastion-radius-full);background:transparent;color:var(--bastion-text-secondary);cursor:pointer}.notif-sheet__close:hover{color:var(--bastion-text);background:var(--bastion-surface-field)}:root[data-theme=dark] .notif-sheet__close:hover{background:var(--bastion-border)}.notif-sheet__rows{margin:0;padding:0;list-style:none;display:flex;flex-direction:column}.notif-sheet__row{display:flex;align-items:center;gap:var(--bastion-space-4);min-height:56px;padding:var(--bastion-space-3) 0;border-top:1px solid var(--bastion-border)}.notif-sheet__row:first-child{border-top:0}.notif-sheet__text{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:2px}.notif-sheet__label{font-size:15px;font-weight:600;line-height:1.4}.notif-sheet__help{font-size:13px;line-height:1.45;color:var(--bastion-text-secondary);text-wrap:pretty}.notif-sheet__note{font-size:13px;font-weight:600;line-height:1.45;color:var(--bastion-text)}.notif-sheet__switch{position:relative;flex:none;width:52px;height:32px;padding:0;border:0;border-radius:var(--bastion-radius-full);background:var(--bastion-text-tertiary);cursor:pointer}.notif-sheet__switch[data-animate]{transition:background-color .15s ease}.notif-sheet__switch:not([aria-checked]){background:var(--bastion-border-strong)}.notif-sheet__switch[aria-checked=true]{background:var(--bastion-primary)}.notif-sheet__thumb{position:absolute;top:4px;left:4px;width:24px;height:24px;border-radius:var(--bastion-radius-full);background:var(--bastion-surface)}.notif-sheet__switch[data-animate] .notif-sheet__thumb{transition:transform .15s ease}.notif-sheet__switch[aria-checked=true] .notif-sheet__thumb{transform:translate(20px)}:root[data-theme=dark] .notif-sheet__thumb{background:var(--bastion-text)}:root[data-theme=dark] .notif-sheet__switch[aria-checked=true] .notif-sheet__thumb{background:var(--bastion-surface-field)}.notif-sheet__switch:disabled{opacity:.4;cursor:not-allowed}.notif-sheet__switch:focus-visible,.notif-sheet__close:focus-visible{outline:2px solid var(--bastion-primary);outline-offset:2px}.notif-sheet__message{margin:0;padding:var(--bastion-space-3);border-radius:var(--bastion-radius-md);background:var(--bastion-danger-bg);color:var(--bastion-danger-strong);font-size:14px;line-height:1.5}.mail-compose{flex:1;position:relative}.mail-shell--overlay .mail-compose{position:absolute;top:0;right:0;bottom:0;z-index:20;width:min(var(--mail-overlay-width),calc(100% - var(--mail-folders-width)));border-left:1px solid var(--bastion-border)}.mail-compose__bar{gap:var(--bastion-space-2)}.mail-compose__title{flex:1;min-width:0;margin:0;overflow:hidden;font-size:18px;font-weight:800;letter-spacing:-.02em;text-overflow:ellipsis;white-space:nowrap}.mail-compose--phone .mail-compose__title{font-size:16px}.mail-compose__send{flex:none;display:inline-flex;align-items:center;gap:var(--bastion-space-2);height:40px;padding:0 var(--bastion-space-4);border:0;border-radius:var(--bastion-radius-full);background:var(--bastion-primary);color:var(--bastion-white);font:700 15px/1 var(--bastion-font-family);cursor:pointer;transition:background-color .15s ease}.mail-compose__send:hover:not(:disabled){background:var(--bastion-primary-hover)}.mail-compose__send--risk{border:1px solid var(--bastion-danger);background:transparent;color:var(--bastion-danger)}.mail-compose__send--risk:hover:not(:disabled){background:var(--bastion-danger-bg)}.mail-compose__send:disabled{opacity:.6;cursor:progress}.mail-compose__status,.mail-compose__error{flex:none;display:flex;align-items:center;gap:var(--bastion-space-2);margin:0;padding:var(--bastion-space-2) var(--bastion-space-4);border-bottom:1px solid var(--bastion-border);font-size:14px;font-weight:600;line-height:1.4}.mail-compose__status[hidden]{display:none}.mail-compose__status--pending{background:var(--bastion-primary-wash);color:var(--bastion-primary)}.mail-compose__status--done{background:var(--bastion-success-bg);color:var(--bastion-success-strong)}.mail-compose__error{background:var(--bastion-danger-bg);color:var(--bastion-danger-strong)}.mail-compose__status .bastion-icon,.mail-compose__error .bastion-icon{flex:none}.mail-compose__confirm{flex:none;padding:var(--bastion-space-3) var(--bastion-space-4);border-bottom:1px solid var(--bastion-border-strong);background:var(--bastion-surface-field)}.mail-compose__confirm-text{margin:0 0 var(--bastion-space-3);font-size:14px;line-height:1.5;color:var(--bastion-text)}.mail-compose__confirm-actions{display:flex;gap:var(--bastion-space-2);max-width:420px}.mail-compose__scroll{display:flex;flex-direction:column}.mail-compose__fields{flex:none}.mail-compose__row{display:flex;align-items:center;gap:var(--bastion-space-2);min-height:48px;padding:0 var(--bastion-space-4);border-bottom:1px solid var(--bastion-border)}.mail-compose__label{flex:none;width:48px;font-size:13px;font-weight:600;color:var(--bastion-text-secondary)}.mail-compose__input,.mail-compose__text{min-width:0;border:0;outline:none;background:transparent;color:var(--bastion-text);font-family:var(--bastion-font-family);font-weight:500;font-size:16px}.mail-compose__input{flex:1;height:46px;padding:0}.mail-compose__input::placeholder{color:var(--bastion-text-tertiary)}.mail-compose__input[readonly],.mail-compose__text[readonly]{color:var(--bastion-text-secondary)}.mail-compose__copies{flex:none;height:32px;padding:0 var(--bastion-space-3);border:1px solid var(--bastion-border-strong);border-radius:var(--bastion-radius-full);background:transparent;color:var(--bastion-text-secondary);font:600 13px/1 var(--bastion-font-family);cursor:pointer}.mail-compose__text{flex:1;min-height:240px;padding:var(--bastion-space-4);line-height:1.55;resize:none}.mail-compose__row:focus-within .mail-compose__label{color:var(--bastion-primary)}.mail-shell{--mail-safe-top: env(safe-area-inset-top, 0px);--mail-safe-right: env(safe-area-inset-right, 0px);--mail-safe-bottom: env(safe-area-inset-bottom, 0px);--mail-safe-left: env(safe-area-inset-left, 0px);--mail-header-height: 64px;--mail-rail-width: var(--bastion-space-10);--mail-folders-width: 240px;--mail-list-width: 380px;--mail-overlay-width: 720px;position:relative;display:flex;flex-direction:column;height:100vh;height:100dvh;height:calc(100dvh - var(--update-banner-space, 0px));overflow:hidden;padding:var(--mail-safe-top) var(--mail-safe-right) var(--mail-safe-bottom) var(--mail-safe-left);background:var(--bastion-bg);color:var(--bastion-text);font-family:var(--bastion-font-family)}.mail-shell--with-bar{padding-bottom:0}.mail-shell__main{position:relative;display:flex;flex:1;min-height:0}.mail-visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.mail-panel{display:flex;flex-direction:column;min-width:0;min-height:0;background:var(--bastion-surface)}.mail-panel__header{flex:none;display:flex;align-items:center;gap:var(--bastion-space-3);height:var(--mail-header-height);padding:0 var(--bastion-space-4);border-bottom:1px solid var(--bastion-border)}.mail-panel__scroll{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain}.mail-status{margin:0;padding:var(--bastion-space-6) var(--bastion-space-4);font-size:14px;line-height:1.5;color:var(--bastion-text-secondary);text-align:center}.mail-status--error{color:var(--bastion-danger)}.mail-icon-button{flex:none;display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border:0;border-radius:var(--bastion-radius-lg);background:transparent;color:var(--bastion-text-secondary);cursor:pointer;transition:background-color .15s ease}.mail-icon-button:hover{background:var(--bastion-surface-field)}.mail-rail{flex:none;display:flex;flex-direction:column;align-items:center;gap:var(--bastion-space-4);width:var(--mail-rail-width);padding:var(--bastion-space-4) 0 var(--bastion-space-3);background:var(--bastion-surface-field);border-right:1px solid var(--bastion-border)}.mail-rail__item{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;padding:0;border:0;border-radius:var(--bastion-radius-lg);background:var(--bastion-primary-softer);color:var(--bastion-primary-pressed);cursor:pointer}.mail-rail__spacer{flex:1}.mail-folders{flex:none;width:var(--mail-folders-width);border-right:1px solid var(--bastion-border)}.mail-shell--phone .mail-folders{flex:1;width:auto;border-right:0}.mail-folders__identity{display:flex;flex-direction:column;flex:1;min-width:0}.mail-folders__brand{font-size:16px;font-weight:800;letter-spacing:-.02em;line-height:1.2}.mail-folders__address,.mail-folders__title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mail-folders__address{font-size:12px;font-weight:500;line-height:1.4;color:var(--bastion-text-secondary)}.mail-folders__title{flex:1;min-width:0;margin:0;font-size:20px;font-weight:800;letter-spacing:-.02em}.mail-folders__list{display:flex;flex-direction:column;gap:2px;margin:0;padding:var(--bastion-space-2);list-style:none}.mail-folder{display:flex;align-items:center;gap:var(--bastion-space-3);width:100%;height:40px;padding:0 var(--bastion-space-3);border:0;border-radius:var(--bastion-radius-md);background:transparent;color:var(--bastion-text-strong-alt);font:500 14px/1.2 var(--bastion-font-family);text-align:left;cursor:pointer;transition:background-color .15s ease}.mail-shell--phone .mail-folder{height:48px;font-size:16px}.mail-folder:hover{background:var(--bastion-surface-field)}.mail-folder[aria-current=true]{background:var(--bastion-primary-wash);color:var(--bastion-primary-pressed);font-weight:700}.mail-folder__icon{display:inline-flex;color:var(--bastion-text-tertiary)}.mail-folder[aria-current=true] .mail-folder__icon{color:var(--bastion-primary)}.mail-folder__name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mail-folder__count{font-size:12px;font-weight:700;color:var(--bastion-primary)}.mail-list{flex:1}.mail-shell--four .mail-list{flex:none;width:var(--mail-list-width);border-right:1px solid var(--bastion-border)}.mail-list__title{display:flex;flex-direction:column;flex:1;min-width:0}.mail-list__name{margin:0;overflow:hidden;font-size:18px;font-weight:800;letter-spacing:-.02em;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}.mail-shell--phone .mail-list__name{font-size:20px}.mail-list__count{font-size:12px;font-weight:600;line-height:1.4;color:var(--bastion-primary)}.mail-refresh{flex:none;display:inline-flex;align-items:center;gap:var(--bastion-space-2);height:36px;padding:0 var(--bastion-space-3);border:1px solid var(--bastion-border);border-radius:var(--bastion-radius-full);background:var(--bastion-surface);color:var(--bastion-text-strong-alt);font:600 13px/1 var(--bastion-font-family);cursor:pointer;transition:background-color .15s ease}.mail-refresh:hover{background:var(--bastion-surface-field)}.mail-list__items{margin:0;padding:0;list-style:none}.mail-row{display:grid;grid-template-columns:8px minmax(0,1fr) auto;grid-template-areas:"dot from date" ". line line" ". snippet snippet";column-gap:var(--bastion-space-2);row-gap:2px;width:100%;padding:var(--bastion-space-3) var(--bastion-space-4) var(--bastion-space-3) var(--bastion-space-2);border:0;background:transparent;color:var(--bastion-text);font-family:var(--bastion-font-family);text-align:left;cursor:pointer;transition:background-color .15s ease}.mail-list__item{display:flex;align-items:stretch;border-bottom:1px solid var(--bastion-border);transition:background-color .15s ease}.mail-list__item:hover{background:var(--bastion-surface-field)}.mail-list__item.mail-list__item--checked,.mail-list__item.mail-list__item--current{background:var(--bastion-primary-wash)}.mail-list__item .mail-row{flex:1;width:auto;min-width:0}.mail-row__dot{grid-area:dot;align-self:center;width:8px;height:8px;border-radius:var(--bastion-radius-full)}.mail-row--unseen .mail-row__dot{background:var(--bastion-primary)}.mail-row__from,.mail-row__subject,.mail-row__snippet{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mail-row__from{grid-area:from;font-size:14px;font-weight:600;line-height:1.4}.mail-row--unseen .mail-row__from{font-weight:800}.mail-row__date{grid-area:date;align-self:center;font-size:12px;font-weight:500;color:var(--bastion-text-secondary);white-space:nowrap}.mail-row--unseen .mail-row__date{font-weight:700;color:var(--bastion-primary)}.mail-row__line{grid-area:line;display:flex;align-items:center;gap:var(--bastion-space-2);min-width:0}.mail-row__subject{flex:1;min-width:0;font-size:14px;font-weight:500;line-height:1.4;color:var(--bastion-text-strong-alt)}.mail-row--unseen .mail-row__subject{font-weight:700;color:var(--bastion-text)}.mail-row__icons{flex:none;display:inline-flex;align-items:center;justify-content:flex-end;gap:var(--bastion-space-1)}.mail-row__flag{display:inline-flex;color:var(--bastion-danger)}.mail-row__clip{display:inline-flex;color:var(--bastion-text-tertiary)}.mail-row__snippet{grid-area:snippet;font-size:13px;line-height:1.45;color:var(--bastion-text-secondary)}.mail-shell--phone .mail-row{padding-top:14px;padding-bottom:14px}.mail-shell--phone .mail-row__from{font-size:15px}.mail-list__more{display:block;width:calc(100% - 2 * var(--bastion-space-4));height:44px;margin:var(--bastion-space-4);border:1px solid var(--bastion-border);border-radius:var(--bastion-radius-lg);background:var(--bastion-surface);color:var(--bastion-text-strong-alt);font:600 14px/1 var(--bastion-font-family);cursor:pointer}.mail-list__more:disabled{cursor:default;opacity:.6}.mail-reader{flex:1}.mail-shell--overlay .mail-reader{position:absolute;top:0;right:0;bottom:0;z-index:20;width:min(var(--mail-overlay-width),calc(100% - var(--mail-folders-width)));border-left:1px solid var(--bastion-border)}.mail-scrim{position:absolute;top:0;right:0;bottom:0;left:var(--mail-folders-width);z-index:10;background:#0006;cursor:pointer}.mail-reader__close{margin-left:auto}.mail-reader__empty{display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;gap:var(--bastion-space-3);padding:var(--bastion-space-6);color:var(--bastion-text-tertiary)}.mail-reader__empty p{margin:0;font-size:15px;color:var(--bastion-text-secondary)}.mail-reader__article{padding:var(--bastion-space-6)}.mail-shell--phone .mail-reader__article{padding:var(--bastion-space-5) var(--bastion-space-4) var(--bastion-space-6)}.mail-reader__subject{margin:0;font-size:22px;font-weight:800;letter-spacing:-.02em;line-height:1.25;overflow-wrap:anywhere}.mail-shell--phone .mail-reader__subject{font-size:20px}.mail-reader__meta{display:grid;grid-template-columns:40px minmax(0,1fr) auto;align-items:center;column-gap:var(--bastion-space-3);row-gap:var(--bastion-space-2);margin-top:var(--bastion-space-4)}.mail-reader__from{display:flex;flex-direction:column;min-width:0}.mail-reader__from-name{font-size:15px;font-weight:700;line-height:1.35}.mail-reader__from-address{overflow:hidden;font-size:13px;line-height:1.4;color:var(--bastion-text-secondary);text-overflow:ellipsis;white-space:nowrap}.mail-reader__side{display:flex;align-items:center;gap:var(--bastion-space-2)}.mail-reader__clip{display:inline-flex;color:var(--bastion-text-tertiary)}.mail-reader__date{font-size:13px;font-weight:500;color:var(--bastion-text-secondary);text-align:right}.mail-reader__recipients{grid-column:2 / -1;font-size:13px;line-height:1.45;color:var(--bastion-text-secondary)}.mail-reader__recipients p{margin:0;overflow-wrap:anywhere}.mail-shell--phone .mail-reader__meta{grid-template-columns:40px minmax(0,1fr)}.mail-shell--phone .mail-reader__side,.mail-shell--phone .mail-reader__recipients{grid-column:2 / -1}.mail-shell--phone .mail-reader__date{text-align:left}.mail-reader__banner{display:flex;align-items:center;flex-wrap:wrap;gap:var(--bastion-space-3);margin-top:var(--bastion-space-4);padding:var(--bastion-space-3) var(--bastion-space-4);border-radius:var(--bastion-radius-lg);background:var(--bastion-surface-field);color:var(--bastion-text-secondary)}.mail-reader__banner-text{flex:1;min-width:12rem;margin:0;font-size:14px;line-height:1.45}.mail-reader__banner-button{flex:none;height:36px;padding:0 var(--bastion-space-4);border:1px solid var(--bastion-primary);border-radius:var(--bastion-radius-full);background:transparent;color:var(--bastion-primary);font:700 14px/1 var(--bastion-font-family);cursor:pointer}.mail-reader__body{margin-top:var(--bastion-space-5)}.mail-reader__body .mail-status{text-align:left;padding:0}.mail-reader__article>.mail-reader__notice{margin-top:var(--bastion-space-4)}.mail-reader__notice--error{color:var(--bastion-danger)}.mail-reader__notice{margin:0;padding:var(--bastion-space-4);border-radius:var(--bastion-radius-lg);background:var(--bastion-surface-field);font-size:14px;line-height:1.5;color:var(--bastion-text-secondary)}.mail-body-frame{display:block;width:100%;border:0}.mail-body-frame--card{border-radius:var(--bastion-radius-lg)}.mail-avatar{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:var(--bastion-radius-full);background:var(--bastion-primary-softer);color:var(--bastion-primary-pressed);font-size:14px;font-weight:700}.mail-avatar--large{width:40px;height:40px;font-size:15px}.mail-account{position:relative;flex:none}.mail-account__button{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border:0;border-radius:var(--bastion-radius-full);background:transparent;cursor:pointer}.mail-account__menu{position:absolute;z-index:30;width:288px;padding:var(--bastion-space-2);border:1px solid var(--bastion-border-strong);border-radius:var(--bastion-radius-lg);background:var(--bastion-surface);color:var(--bastion-text)}:root[data-theme=dark] .mail-account__menu{background:var(--bastion-surface-field)}.mail-rail .mail-account{display:flex;justify-content:center;align-self:stretch}.mail-account--rail .mail-account__menu{left:calc(100% + 1px + var(--bastion-space-2));bottom:0}.mail-account--header .mail-account__menu{top:calc(100% + var(--bastion-space-2));right:0}.mail-account__identity{padding:var(--bastion-space-2) var(--bastion-space-2) var(--bastion-space-3);border-bottom:1px solid var(--bastion-border)}.mail-account__name,.mail-account__address{margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mail-account__name{font-size:15px;font-weight:700}.mail-account__address{font-size:13px;color:var(--bastion-text-secondary)}.mail-account__row{display:flex;align-items:center;justify-content:space-between;padding:var(--bastion-space-2);font-size:14px;font-weight:600}.mail-account__item{display:flex;align-items:center;gap:var(--bastion-space-3);width:100%;min-height:44px;padding:0 var(--bastion-space-2);border:0;border-radius:var(--bastion-radius-md);background:transparent;color:var(--bastion-text);font:600 14px/1.3 var(--bastion-font-family);text-align:left;cursor:pointer}.mail-account__item:hover{background:var(--bastion-surface-field)}:root[data-theme=dark] .mail-account__item:hover{background:var(--bastion-border)}.mail-account__item--danger{color:var(--bastion-danger)}.mail-account__confirm{padding:var(--bastion-space-2)}.mail-account__confirm-text{margin:0 0 var(--bastion-space-3);font-size:14px;line-height:1.5;color:var(--bastion-text-secondary)}.mail-account__confirm-text--risk{color:var(--bastion-text);font-weight:600}.mail-account__actions{display:flex;gap:var(--bastion-space-2)}.mail-account__action{flex:1 1 auto;white-space:nowrap;height:40px;padding:0 var(--bastion-space-3);border:1px solid var(--bastion-border-strong);border-radius:var(--bastion-radius-full);background:transparent;color:var(--bastion-text);font:700 14px/1 var(--bastion-font-family);cursor:pointer}.mail-account__action--danger{border-color:var(--bastion-danger);background:var(--bastion-danger);color:#fff}:root[data-theme=dark] .mail-account__action--danger{color:#0a0a0a}.mail-bottom-bar{flex:none;display:flex;padding:var(--bastion-space-2) 10px calc(6px + var(--mail-safe-bottom));border-top:1px solid var(--bastion-border);background:var(--bastion-surface)}.mail-bottom-bar__tab{display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-width:0;height:52px;padding:0;border:0;border-radius:var(--bastion-radius-md);background:transparent;color:var(--bastion-text-secondary);font:600 11px/1.2 var(--bastion-font-family);cursor:pointer}.mail-bottom-bar__tab[aria-current=page]{color:var(--bastion-primary);font-weight:700}.mail-bottom-bar__label{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mail-check{flex:none;display:inline-flex;align-items:center;justify-content:center;width:36px;align-self:stretch;cursor:pointer}.mail-check__box{width:18px;height:18px;margin:0;accent-color:var(--bastion-primary);cursor:pointer}.mail-list__header--selection{gap:var(--bastion-space-1);padding:0 var(--bastion-space-2) 0 0}.mail-list__selection{flex:1;min-width:0;overflow:hidden;font-size:15px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.mail-actions{flex:none;display:flex;align-items:center;gap:2px}.mail-actions .mail-icon-button{width:40px;height:40px}.mail-icon-button--flagged,.mail-icon-button--danger{color:var(--bastion-danger)}.mail-reader__bar .mail-actions{margin-left:auto}.mail-reader__bar .mail-actions+.mail-reader__close{margin-left:0}.mail-move,.mail-delete{position:relative;flex:none}.mail-move__menu,.mail-confirm{position:absolute;top:calc(100% + var(--bastion-space-2));right:0;z-index:30;border:1px solid var(--bastion-border-strong);border-radius:var(--bastion-radius-lg);background:var(--bastion-surface);color:var(--bastion-text)}:root[data-theme=dark] .mail-move__menu,:root[data-theme=dark] .mail-confirm{background:var(--bastion-surface-field)}.mail-move__menu{width:240px;max-height:60vh;overflow-y:auto;padding:var(--bastion-space-2)}.mail-move__menu:focus{outline:none}.mail-move__title{margin:0;padding:var(--bastion-space-1) var(--bastion-space-2) var(--bastion-space-2);font-size:13px;font-weight:600;color:var(--bastion-text-secondary)}.mail-move__empty{margin:0;padding:var(--bastion-space-2);font-size:14px;color:var(--bastion-text-secondary)}.mail-move__item{display:flex;align-items:center;gap:var(--bastion-space-3);width:100%;min-height:44px;padding:0 var(--bastion-space-2);border:0;border-radius:var(--bastion-radius-md);background:transparent;color:var(--bastion-text);font:600 14px/1.3 var(--bastion-font-family);text-align:left;cursor:pointer}.mail-move__item:hover,.mail-move__item:focus{background:var(--bastion-surface-field);outline:none}:root[data-theme=dark] .mail-move__item:hover,:root[data-theme=dark] .mail-move__item:focus{background:var(--bastion-border)}.mail-move__item:focus-visible{box-shadow:inset 0 0 0 2px var(--bastion-primary)}.mail-move__icon{display:inline-flex;color:var(--bastion-text-tertiary)}.mail-move__name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mail-confirm{width:288px;padding:var(--bastion-space-3)}.mail-confirm__text{margin:0 0 var(--bastion-space-3);font-size:14px;line-height:1.5;color:var(--bastion-text-secondary)}.mail-confirm__actions{display:flex;gap:var(--bastion-space-2)}.mail-confirm__action{flex:1;height:40px;padding:0 var(--bastion-space-3);border:1px solid var(--bastion-border-strong);border-radius:var(--bastion-radius-full);background:transparent;color:var(--bastion-text);font:700 14px/1 var(--bastion-font-family);cursor:pointer}.mail-confirm__action--danger{border-color:var(--bastion-danger);background:var(--bastion-danger);color:#fff}:root[data-theme=dark] .mail-confirm__action--danger{color:#0a0a0a}.mail-notice{position:absolute;left:50%;bottom:var(--bastion-space-4);z-index:40;display:flex;align-items:center;gap:var(--bastion-space-2);width:max-content;max-width:calc(100% - 2 * var(--bastion-space-4));padding:var(--bastion-space-1) var(--bastion-space-1) var(--bastion-space-1) var(--bastion-space-4);border:1px solid var(--bastion-danger);border-radius:var(--bastion-radius-lg);background:var(--bastion-danger-bg);color:var(--bastion-danger-strong);transform:translate(-50%)}.mail-notice__text{margin:0;font-size:14px;font-weight:600;line-height:1.4}.mail-notice .mail-icon-button{color:inherit}.mail-notice__retry{display:inline-flex;flex:none;align-items:center;gap:6px;height:32px;padding:0 var(--bastion-space-3);border:1px solid currentColor;border-radius:var(--bastion-radius-full);background:transparent;color:inherit;font:700 13px/1 var(--bastion-font-family);cursor:pointer;transition:background-color .15s ease}.mail-notice__retry:hover{background:var(--bastion-danger-bg)}.mail-folders__compose{display:flex;align-items:center;justify-content:center;gap:var(--bastion-space-2);width:calc(100% - 2 * var(--bastion-space-3));height:44px;margin:var(--bastion-space-3) var(--bastion-space-3) var(--bastion-space-2);border:0;border-radius:var(--bastion-radius-full);background:var(--bastion-primary);color:var(--bastion-white);font:700 15px/1 var(--bastion-font-family);cursor:pointer;transition:background-color .15s ease}.mail-folders__compose:hover{background:var(--bastion-primary-hover)}.mail-reader__replies{display:flex;flex-wrap:wrap;gap:var(--bastion-space-2);margin-top:var(--bastion-space-4)}.mail-reader__reply{display:inline-flex;align-items:center;gap:6px;height:36px;padding:0 var(--bastion-space-3);border:1px solid var(--bastion-border-strong);border-radius:var(--bastion-radius-full);background:transparent;color:var(--bastion-text);font:600 14px/1 var(--bastion-font-family);cursor:pointer;transition:background-color .15s ease}.mail-reader__reply:hover{background:var(--bastion-surface-field)}.mail-reader__reply[aria-disabled=true]{border-color:var(--bastion-border);color:var(--bastion-text-tertiary);cursor:default}.mail-reader__reply[aria-disabled=true]:hover{background:transparent}.mail-notice--send{border-color:var(--bastion-border-strong);background:var(--bastion-surface);color:var(--bastion-text)}.mail-notice--send.mail-notice--sent{border-color:var(--bastion-success);background:var(--bastion-success-bg);color:var(--bastion-success-strong)}.mail-notice--send.mail-notice--failed,.mail-notice--send.mail-notice--unconfirmed,.mail-notice--send.mail-notice--refused{border-color:var(--bastion-danger);background:var(--bastion-danger-bg);color:var(--bastion-danger-strong)}.mail-notice--raised{bottom:calc(var(--bastion-space-4) + 64px)}.update-banner{position:fixed;top:calc(env(safe-area-inset-top,0px) + var(--bastion-space-3));left:50%;transform:translate(-50%);z-index:50;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:var(--bastion-space-2) var(--bastion-space-4);width:max-content;max-width:calc(100vw - 2 * var(--bastion-space-3));padding:var(--bastion-space-3) var(--bastion-space-4);border-radius:var(--bastion-radius-lg);background:var(--bastion-surface);color:var(--bastion-text);border:1px solid var(--bastion-border);box-shadow:0 4px 16px #00000029;font-family:var(--bastion-font-family)}.update-banner__text{min-width:0;text-align:center}.update-banner__action{flex:none;border:none;border-radius:var(--bastion-radius-md);background:var(--bastion-primary);color:var(--bastion-white);padding:var(--bastion-space-2) var(--bastion-space-4);font-family:inherit;font-weight:600;cursor:pointer}.update-banner__action:hover{background:var(--bastion-primary-hover)}.update-banner__action:active{background:var(--bastion-primary-pressed)}
