:root{--ph-bg:#fff;--ph-fg:#242637;--ph-muted:#596173;--ph-edge:#dce0e9;--ph-soft:#f6f7fb;--ph-primary:#395dcc;--ph-link:#315ac4}
:root[data-posta-theme=dark]{--ph-bg:#232637;--ph-fg:#f1f2f7;--ph-muted:#b6bbcb;--ph-edge:#45495c;--ph-soft:#292e41;--ph-primary:#4364cd;--ph-link:#abc4ff}
.ph-dialog,.ph-dock,.ph-step-list,.ph-setup-card,.ph-preferences form,.ph-frame{font-family:Roboto,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}
.ph-dialog,.ph-dialog *,.ph-dock,.ph-dock *{box-sizing:border-box}
.ph-dialog{width:min(440px,calc(100vw - 28px));max-height:85dvh;padding:0;margin:auto;border:1px solid var(--ph-edge);border-radius:12px;background:var(--ph-bg);color:var(--ph-fg);box-shadow:0 24px 85px #10172935}
.ph-dialog::backdrop{background:#16192770}
.ph-dialog header,.ph-dock header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 20px;border-bottom:1px solid var(--ph-edge)}
.ph-dialog header h2{font:650 20px/1.28 inherit;font-family:inherit;font-size:20px;line-height:1.28;font-weight:650;color:var(--ph-fg);margin:0}
.ph-close{color:var(--ph-muted);font:24px/1 Arial,sans-serif;border:0;cursor:pointer;padding:2px 6px;background:transparent;border-radius:4px}
.ph-close:hover,.ph-secondary:hover{background:var(--ph-soft)}
.ph-body{padding:16px 20px 20px;display:grid;gap:12px;font-size:14px;line-height:1.45}
.ph-body p,.ph-body small{margin:0}.ph-body small{color:var(--ph-muted);font-size:12px}
.ph-body a,.ph-mark{color:var(--ph-link);text-decoration:none}.ph-body a:hover,.ph-mark:hover{text-decoration:underline}
.ph-body :focus-visible,.ph-dock :focus-visible,.ph-setup-card:focus-visible{outline:2px solid #6389ee;outline-offset:2px}
.ph-form,.ph-form label{display:grid;gap:6px}.ph-form{gap:14px}.ph-form label{font-size:13px;font-weight:600}
.ph-form :is(input,select,textarea){box-sizing:border-box;display:block;width:100%;padding:9px 10px;min-height:39px;border:1px solid var(--ph-edge);border-radius:6px;font:400 14px/1.45 inherit;font-family:inherit;font-size:14px;background:var(--ph-bg);color:var(--ph-fg)}
.ph-form textarea{resize:vertical}.ph-status:empty{display:none}.ph-status{color:var(--ph-muted);font-size:13px}.ph-success{color:var(--ph-fg)}
.ph-form .ph-connection-operation[hidden],.ph-form .ph-replacement[hidden],.ph-form .ph-list-issue[hidden]{display:none}
.ph-form .ph-replacement{display:grid;gap:10px;padding:13px;border:1px solid var(--ph-edge);border-radius:7px}
.ph-replacement p{margin:0;font-size:13px;color:var(--ph-muted)}
.ph-replacement-next{display:grid;gap:3px;font-size:13px;font-weight:600}
.ph-replacement-next bdi{font-weight:400;overflow-wrap:anywhere}
.ph-form label.ph-replacement-approval{display:flex;align-items:flex-start;gap:8px;cursor:pointer;line-height:1.45}
.ph-form .ph-replacement-approval input{appearance:auto;width:17px;height:17px;min-height:0;padding:0;flex:none;margin:1px 0 0}
.ph-list-issue{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:13px}
.ph-primary,.ph-body a.ph-primary,.ph-secondary,.ph-mark{cursor:pointer;border-radius:6px;font-family:inherit;padding:9px 14px;font-size:14px}
.ph-primary,.ph-body a.ph-primary{background:var(--ph-primary);color:#fff;border:0;text-align:center;font-weight:600}.ph-primary:disabled{opacity:.5;cursor:default}
.ph-secondary{background:var(--ph-bg);color:var(--ph-fg);border:1px solid var(--ph-edge)}.ph-mark{background:none;border:none;padding:3px 0;justify-self:start;font-size:12px}
.ph-footlinks{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;border-top:1px solid var(--ph-edge);padding-top:12px;font-size:12px}
.ph-setup-card{display:grid;grid-template-columns:1fr auto;gap:6px 12px;margin:6px 12px 3px;padding:11px 12px;align-items:center;text-align:left;color:#f7f7fb;background:#33364b;border:1px solid #494d64;border-radius:8px;cursor:pointer;flex:none;font-size:13px}
.ph-setup-card small{color:#d3d7e6}.ph-setup-card progress,.ph-setup-card>span{grid-column:1/-1}.ph-setup-card progress{width:100%;height:5px;accent-color:#98b3ff;border:0}.ph-setup-card>span{font-size:12px;color:#c5d7ff}
.mc-rail-small md-sidenav.md-locked-open .ph-setup-card{display:flex;justify-content:center;align-items:center;min-height:36px;margin:5px 12px;padding:4px}
.mc-rail-small md-sidenav.md-locked-open .ph-setup-card>*{display:none}
.mc-rail-small md-sidenav.md-locked-open .ph-setup-card::before{content:'checklist';font:20px 'Material Icons'}
.ph-step-list details,.ph-help-row{border-bottom:1px solid var(--ph-edge)}.ph-step-list summary,.ph-help-row summary{display:flex;align-items:center;gap:12px;padding:13px 0;list-style:none;cursor:pointer;font-weight:500}
.ph-dialog summary::-webkit-details-marker{display:none}.ph-dialog summary>strong{flex:1}.ph-dialog summary>span:last-child{color:var(--ph-muted)}.ph-dialog details[open]>summary>span:last-child{transform:rotate(180deg)}
.ph-step-body{padding:0 0 13px 30px;display:grid;justify-items:start;gap:10px}.ph-step-body pre{max-width:100%;white-space:pre-wrap;overflow-wrap:anywhere}.ph-tick{color:#8993a4}.ph-checked{color:#20a472}
.ph-help-guide{display:grid;grid-template-columns:26px 1fr;align-items:center;gap:0 10px}.ph-help-guide .posta-icon{grid-row:span 2}.ph-help-row form{padding:4px 0 16px}
.ph-dock{position:fixed;right:0;top:var(--su-banner-height,0px);bottom:0;z-index:70;width:min(300px,100vw);display:flex;flex-direction:column;background:var(--ph-bg);color:var(--ph-fg);border-left:1px solid var(--ph-edge);box-shadow:-2px 0 9px #1823390c}
html:not(.su-has-notice) .ph-dock{top:0}
@media(min-width:1000px){html.ph-dock-open body>main[ui-view]{max-width:calc(100% - 300px)}}
.ph-dock header{height:54px;padding:0 12px}.ph-dock-tabs{display:flex;gap:14px;height:100%}.ph-dock-tabs button{border:0;border-bottom:2px solid transparent;background:none;color:var(--ph-muted);font:500 14px/1.3 Roboto,Arial,sans-serif;cursor:pointer;padding:0 6px}.ph-dock-tabs button[aria-selected=true]{border-color:var(--ph-link);color:var(--ph-link)}
.ph-dock-content{flex:1;min-height:0}.ph-dock-content section,.ph-dock iframe{height:100%;width:100%;border:0}.ph-dock-content [hidden]{display:none!important}
.ph-frame body,.ph-frame main,.ph-frame .view-main{width:100%!important;min-width:0!important}
.ph-frame :is(md-sidenav,.su-mobile-menu,.su-top-link,md-backdrop.md-sidenav-backdrop,.su-view,.su-actions .su-month){display:none!important}
.ph-frame .su-actions{padding:4px!important;gap:4px!important}.ph-frame .su-actions .su-new{font-size:13px;white-space:nowrap}.ph-frame.su-tasks md-tabs-wrapper{display:none}
.ph-frame.su-tasks .view-main,.ph-frame.su-tasks [ui-view=listView]{display:flex!important;min-width:0!important}
.ph-frame.su-tasks md-dialog,.ph-frame.su-calendar md-dialog{max-width:100%!important;width:100%!important;min-width:0!important}
.ph-frame .md-dialog-container{max-width:100vw}.ph-frame .sg-time-column{min-width:38px}
.ph-preferences form[name=preferencesForm]>section{min-width:0;background:var(--ph-bg);color:var(--ph-fg)}
.ph-preferences form[name=preferencesForm]>section>md-toolbar.md-tall{height:58px!important;min-height:58px!important;align-items:center;justify-content:space-between;padding:0 20px;background:var(--ph-bg)!important;color:var(--ph-fg)!important;border-bottom:1px solid var(--ph-edge)}
.ph-preferences .ph-pref-label{font-size:19px;letter-spacing:-.025em;margin:0;font-weight:650}.ph-preferences .ph-pref-home,.ph-preferences .ph-pref-add{color:#f1f1f9!important;background:transparent;border:0;display:flex;align-items:center;gap:9px;font:500 14px/1.3 Roboto,Arial,sans-serif;text-decoration:none;padding:12px 16px;cursor:pointer}
.ph-preferences form[name=preferencesForm]>section>md-toolbar .md-fab{position:static!important;transform:none;display:inline-flex;align-items:center;justify-content:center;gap:7px;width:auto;height:34px;min-height:34px;border-radius:6px;padding:0 12px;margin:0;background:var(--ph-primary)!important;color:white!important;box-shadow:none}
.ph-preferences .ph-save-word{font-size:13px;font-weight:550;text-transform:none}.ph-preferences form[name=preferencesForm]>section md-toolbar .md-fab:disabled{opacity:.45}
.ph-preferences md-tabs md-ink-bar{background:var(--ph-primary)!important}.ph-preferences div[ui-view=module]{width:min(1050px,100%);margin:0 auto}
.ph-preferences md-tab-item{font-size:13px;text-transform:none}
[data-posta-theme=dark] :is(md-content,md-tab-content,md-tabs,md-tabs-wrapper,md-select-menu,md-option,md-card,.md-subheader,md-dialog,.su-actions,.su-month,.mc-notices,.su-center-body,.member-panel,.member-body,.su-center section,.mp-page,.mp-option,.mp-inside,.mp-custom){background-color:var(--ph-bg)!important;color:var(--ph-fg)!important;border-color:var(--ph-edge)!important}
[data-posta-theme=dark] :is(md-card-content,md-input-container label,md-tab-item,md-dialog label,md-list-item,.su-actions button:not(.su-new),.su-actions .su-top-link,.mp-page p,.mp-page h2,.member-body h1,.member-body h2,.member-account,.mc-event-list p){color:var(--ph-fg)!important}
[data-posta-theme=dark] :is(md-input-container .md-input,.member-field input,.su-view,.su-direction,.su-contact-search,.mp-switch,.mp-switch span){background:var(--ph-soft)!important;color:var(--ph-fg)!important;border-color:var(--ph-edge)!important}
[data-posta-theme=dark] .mp-page input:checked+span{background:var(--ph-primary)!important;color:white!important}
@media(max-width:650px){.ph-dialog{max-height:92dvh}.ph-preferences .ph-pref-label{font-size:16px}.ph-preferences form[name=preferencesForm]>section>md-toolbar.md-tall{padding:0 8px}.ph-setup-card{margin:4px 8px}}
.ph-pref-mobile-back,.ph-pref-mobile-add{display:none}
@media(max-width:959px){
  .ph-preferences form[name=preferencesForm]>section>md-toolbar.md-tall{gap:6px;align-items:center;padding-inline:6px;min-width:0;max-width:100%}
  .ph-preferences .ph-pref-mobile-back,.ph-preferences .ph-pref-mobile-add{display:inline-flex;align-items:center;justify-content:center;gap:5px;flex:none;min-height:38px;border:0;border-radius:6px;background:transparent;color:var(--ph-link);cursor:pointer;font:550 13px/1.2 Roboto,Arial,sans-serif;text-decoration:none;padding:0 5px}
  .ph-preferences .ph-pref-label{flex:1 1 auto;min-width:0;white-space:nowrap}
  .ph-preferences .ph-pref-mobile-back .posta-icon,.ph-preferences .ph-pref-mobile-add .posta-icon{font-size:20px}
  .ph-preferences form[name=preferencesForm]>section>md-toolbar .sg-toolbar-group-1{order:4;width:auto;min-width:0;max-width:42px;flex:none;padding:0}
  .ph-preferences form[name=preferencesForm]>section>md-toolbar .sg-toolbar-group-last{display:none}
  .ph-preferences form[name=preferencesForm]>section>md-toolbar .md-fab{order:3;min-width:32px;padding:0 6px}
  .ph-preferences .ph-save-word{display:none}
}
@media(max-width:699px){
  .posta-header .sg-toolbar-group-last>.posta-help{display:flex!important}
  .posta-header .sg-toolbar-group-last>.posta-header-icon{width:29px;min-width:29px}
}
.ph-preferences form[name=preferencesForm]>section>md-toolbar.md-tall{display:flex;justify-content:flex-start;gap:10px;box-sizing:border-box}
.ph-preferences .ph-pref-label{flex:1 1 auto;white-space:nowrap;letter-spacing:-.025em}
.ph-preferences form[name=preferencesForm]>section>md-toolbar :is(.sg-date-group,.sg-date-today,.sg-toolbar-group-last){display:none!important}
.ph-preferences form[name=preferencesForm]>section>md-toolbar .sg-toolbar-group-1{display:none}
.ph-preferences form[name=preferencesForm]>section>md-toolbar button.md-fab{margin-inline-start:auto}
.ph-preferences md-tab-content:not(.md-active){display:none!important}
.ph-preferences md-tab-content.md-active{transform:none!important;transition:none}
.ph-preferences md-tab-item.md-active{color:var(--ph-link)!important}
.ph-preferences .ph-account-pane{background:var(--ph-bg)}
.ph-account-pane md-list.md-padding{box-sizing:border-box;display:grid;grid-template-columns:minmax(0,1fr);gap:10px;max-width:780px;margin:auto;padding:22px 20px 6px}
.ph-account-pane md-list-item[role=listitem]{box-sizing:border-box;display:flex;align-items:center;gap:10px;width:100%;min-width:0;min-height:62px;background:var(--ph-bg);border:1px solid var(--ph-edge);border-radius:9px;padding:8px 10px!important}
.ph-account-pane .ph-account-symbol{flex:none;display:grid;place-items:center;width:34px;height:34px;border-radius:8px;color:var(--ph-link);background:var(--ph-soft);font-size:19px}
.ph-account-pane md-input-container.md-block{display:flex;flex:1;flex-direction:column;gap:1px;min-width:0;margin:0}
.ph-account-pane .ph-account-kind{font:500 11px/1.4 Roboto,Arial,sans-serif;color:var(--ph-muted)}
.ph-account-pane .ph-account-address{display:block;font:400 12px/1.35 Roboto,Arial,sans-serif;color:var(--ph-muted);text-overflow:ellipsis;overflow:hidden;white-space:nowrap}
.ph-preferences form[name=preferencesForm]>section>md-toolbar.md-tall{transition:none!important;animation:none!important}
.ph-account-pane md-input-container input.md-input{font:500 14px/1.4 Roboto,Arial,sans-serif;text-overflow:ellipsis;float:none;height:23px;padding:0;border:0;color:var(--ph-fg);background:transparent}
.ph-account-pane md-input-container input:focus-visible{outline:2px solid var(--ph-link);outline-offset:1px}
.ph-account-pane .md-errors-spacer,.ph-account-pane .md-secondary-container{display:none}
.ph-account-pane md-list-item button.sg-icon-button{display:grid;place-items:center;flex:none;width:36px;min-width:36px;height:36px;min-height:36px;margin:0;padding:0}
.ph-account-pane md-list-item button.sg-icon-button.ng-hide{display:none}
.ph-account-pane md-list-item button md-icon{color:var(--ph-muted);font-size:19px}
.ph-account-pane md-list+div{box-sizing:border-box;max-width:780px;margin:auto;padding:4px 20px 20px}
.ph-account-pane [ng-click^="app.addMailAccount("]{display:inline-flex;gap:5px;align-items:center;color:var(--ph-link)!important;text-transform:none;font-size:14px}
@media(max-width:959px){
  .ph-preferences form[name=preferencesForm]>section>md-toolbar .sg-toolbar-group-1{display:flex;order:4;align-items:center;justify-content:center}
  .ph-preferences .sg-toolbar-group-1 [ng-click="toggleLeft()"] md-icon{color:var(--ph-fg)}
  .ph-preferences form[name=preferencesForm]>section>md-toolbar.md-tall{gap:4px}
}
@media(max-width:599px){
  .ph-account-pane md-list.md-padding{padding:14px 10px 6px}
  .ph-account-pane md-list-item[role=listitem]{gap:7px}
  .ph-account-pane md-list+div{padding-inline:10px}
}

.ph-form [hidden]{display:none!important}.ph-provider-help{font-weight:550;justify-self:start}
