
:root{
  --blue:#1f6fff;
  --blue-hover:#145fe6;
  --blue-soft:#edf4ff;
  --bg:#f7f9fc;
  --surface:#ffffff;
  --line:#e3e8ef;
  --line-strong:#d7dee8;
  --text:#172033;
  --text-2:#344054;
  --muted:#667085;
  --muted-2:#8d98a8;
  --yellow:#ffca28;
  --green:#42b883;
  --red:#e85763;
  --radius:12px;
  --shadow:0 18px 50px rgba(16,24,40,.12);
}
*{box-sizing:border-box}
html,body{
  margin:0;min-height:100%;
  font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  background:var(--bg);color:var(--text);-webkit-font-smoothing:antialiased
}
button,input,textarea{font:inherit}
button{cursor:pointer}
.material-symbols-rounded{font-variation-settings:'FILL' 0,'wght' 350,'GRAD' 0,'opsz' 22}

.wm-app{min-height:100vh;display:grid;grid-template-columns:264px minmax(0,1fr)}
.wm-sidebar{
  height:100vh;position:sticky;top:0;background:#fff;border-right:1px solid var(--line);
  padding:18px 16px 14px;display:flex;flex-direction:column;z-index:40
}
.wm-brand{display:flex;align-items:center;gap:11px;padding:2px 5px 20px}
.wm-brandmark{
  width:40px;height:40px;display:flex;align-items:center;justify-content:center;gap:2px;
  filter:drop-shadow(0 5px 10px rgba(31,111,255,.18))
}
.wm-brandmark i{
  width:8px;height:25px;border-radius:6px;background:linear-gradient(180deg,#68a8ff,#2475ff);
  display:block;transform:skewY(-28deg)
}
.wm-brandmark i:nth-child(2){height:31px;background:linear-gradient(180deg,#2879ff,#5b95ff);transform:skewY(28deg)}
.wm-brandmark i:nth-child(3){height:25px;background:linear-gradient(180deg,#6dafff,#2577ff)}
.wm-brand strong,.wm-brand span{display:block}
.wm-brand strong{font-size:18px;line-height:1;font-weight:700;letter-spacing:-.035em;color:#101828}
.wm-brand span{font-size:9px;color:var(--muted-2);margin-top:5px}

.wm-compose{
  height:46px;border:0;border-radius:9px;background:linear-gradient(180deg,#2e7cff,#176cff);
  color:#fff;display:flex;align-items:center;justify-content:center;gap:8px;
  font-size:12px;font-weight:600;margin:2px 0 18px;
  box-shadow:0 8px 18px rgba(31,111,255,.20)
}
.wm-compose:hover{background:linear-gradient(180deg,#2375fb,#115fdf)}
.wm-compose .material-symbols-rounded{font-size:19px}

.wm-nav{display:grid;gap:4px}
.wm-nav button,.wm-side-foot button{
  height:41px;width:100%;border:0;background:transparent;border-radius:9px;
  display:grid;grid-template-columns:25px 1fr auto;align-items:center;gap:8px;padding:0 11px;
  color:#4b5870;text-align:left;font-size:11px;font-weight:450
}
.wm-nav button:hover,.wm-nav button.active,.wm-side-foot button:hover{background:#f1f5ff;color:#135ecf}
.wm-nav button.active{font-weight:650;background:#edf3ff}
.wm-nav .material-symbols-rounded,.wm-side-foot .material-symbols-rounded{font-size:20px}
.wm-nav em{font-style:normal;font-size:9px;color:#667085}
.wm-side-foot{border-top:1px solid var(--line);padding-top:10px;margin-top:auto}

.wm-main{min-width:0;display:flex;min-height:100vh;flex-direction:column}
.wm-header{
  height:64px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;
  padding:0 20px;gap:11px;position:sticky;top:0;z-index:30
}
.wm-search{position:relative;flex:1;max-width:720px}
.wm-search input{
  width:100%;height:42px;border:1px solid transparent;border-radius:10px;background:#f4f6f9;
  padding:0 48px 0 41px;font-size:11px;color:var(--text-2);outline:none
}
.wm-search input:focus{background:#fff;border-color:#cfd8e6;box-shadow:0 0 0 3px rgba(31,111,255,.06)}
.wm-search .material-symbols-rounded{position:absolute;left:13px;top:11px;color:#667085;font-size:19px}
.wm-search:after{
  content:"⌘ K";position:absolute;right:10px;top:10px;padding:4px 7px;border:1px solid #dce3ec;
  background:#fff;border-radius:6px;color:#98a2b3;font-size:8px
}
.wm-icon-btn{
  width:38px;height:38px;border:0;border-radius:9px;background:transparent;color:#344054;display:grid;place-items:center
}
.wm-icon-btn:hover{background:#f2f4f7}
.wm-account{display:flex;align-items:center;gap:9px;padding-left:12px;border-left:1px solid var(--line)}
.wm-avatar{width:36px;height:36px;border-radius:50%;background:#eaf2ff;color:#2168d9;display:grid;place-items:center;font-size:11px;font-weight:650}
.wm-account strong,.wm-account span{display:block}
.wm-account strong{font-size:10.5px;font-weight:650;color:#1d2939}
.wm-account span{font-size:8.8px;color:#667085;margin-top:2px}

.wm-content{padding:0;max-width:none;width:100%;flex:1;min-height:0}
.wm-footer{
  height:38px;border-top:1px solid var(--line);background:#fff;display:flex;align-items:center;
  justify-content:space-between;padding:0 18px;color:#98a2b3;font-size:8.5px
}

/* INBOX FULL WIDTH */
.wm-mail-layout{
  position:relative;
  display:block;
  height:calc(100vh - 102px);
  overflow:hidden;
}
.wm-mail-list-pane{
  width:100%;height:100%;background:#fff;min-width:0;overflow:hidden;display:flex;flex-direction:column
}
.wm-list-toolbar{
  min-height:68px;padding:13px 20px;border-bottom:1px solid var(--line);
  display:flex;align-items:center;justify-content:space-between;gap:12px
}
.wm-filter-group{display:flex;gap:8px}
.wm-filter-pill{
  height:34px;border:0;border-radius:18px;background:#f3f5f8;color:#475467;padding:0 15px;font-size:10px
}
.wm-filter-pill:hover{background:#edf1f6}
.wm-filter-pill.active{background:#edf3ff;color:#175fcb;font-weight:650}
.wm-more-filter{border:0;background:transparent;color:#1673ff;font-size:9.5px;display:flex;align-items:center;gap:5px}
.wm-more-filter .material-symbols-rounded{font-size:17px}

.wm-message-list{overflow:auto;flex:1}
.wm-list-row{
  display:grid;
  grid-template-columns:24px 24px 42px minmax(160px,220px) minmax(260px,1fr) 100px;
  align-items:center;gap:10px;padding:12px 20px;border-bottom:1px solid #edf1f5;
  cursor:pointer;background:#fff;min-height:66px
}
.wm-list-row:hover{background:#f8fafc}
.wm-list-row.active{background:#edf4ff}
.wm-list-row.unread .wm-sender,.wm-list-row.unread .wm-subject-title{font-weight:700;color:#101828}
.wm-check{width:18px;height:18px;border:1px solid #c8d1dd;border-radius:5px;background:#fff}
.wm-star{border:0;background:transparent;padding:0;color:#b9c3cf;display:grid;place-items:center}
.wm-star .material-symbols-rounded{font-size:20px}
.wm-star.starred{color:var(--yellow)}
.wm-mail-avatar{
  width:38px;height:38px;border-radius:50%;background:#eef2f6;color:#475467;
  display:grid;place-items:center;font-size:11px;font-weight:650
}
.wm-sender,.wm-subject-title,.wm-preview{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wm-sender{font-size:11.5px;color:#263245}
.wm-subject-title{font-size:11.5px;color:#263245}
.wm-preview{font-size:9.8px;color:#7a8697;margin-top:4px}
.wm-row-meta{text-align:right}
.wm-row-meta time{font-size:9.5px;color:#7d8898}
.wm-chip{
  display:inline-block;margin-top:5px;padding:4px 8px;border-radius:11px;
  background:#eaf2ff;color:#2469cf;font-size:7.8px
}

/* READER DRAWER */
.wm-mail-reader-pane{
  position:absolute;top:0;right:0;height:100%;width:min(720px,56vw);
  background:#fff;border-left:1px solid var(--line);box-shadow:-16px 0 45px rgba(16,24,40,.10);
  z-index:15;transform:translateX(102%);transition:transform .22s ease;
  display:flex;flex-direction:column;overflow:hidden
}
.wm-mail-reader-pane.open{transform:translateX(0)}
.wm-reader-toolbar{
  min-height:58px;border-bottom:1px solid var(--line);display:flex;align-items:center;
  justify-content:space-between;padding:0 18px;background:#fff
}
.wm-reader-actions{display:flex;gap:4px}
.wm-reader-actions button{
  width:35px;height:35px;border:0;background:transparent;border-radius:8px;color:#344054;display:grid;place-items:center
}
.wm-reader-actions button:hover{background:#f2f4f7}
.wm-reader-actions .material-symbols-rounded{font-size:19px}
.wm-reader-scroll{padding:26px 30px 28px;overflow:auto}
.wm-reader-title{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.wm-reader-title h2{
  font-size:23px;line-height:1.2;font-weight:650;letter-spacing:-.035em;margin:0;color:#111827
}
.wm-tag{padding:4px 9px;border-radius:12px;background:#fff1bd;color:#8b6600;font-size:8px}
.wm-tag.blue{background:#eaf2ff;color:#2869ce}
.wm-reader-sender{display:flex;justify-content:space-between;align-items:center;margin-top:23px}
.wm-reader-sender-main{display:flex;align-items:center;gap:11px}
.wm-reader-sender .wm-mail-avatar{width:44px;height:44px}
.wm-reader-sender strong,.wm-reader-sender span{display:block}
.wm-reader-sender strong{font-size:11px;font-weight:650;color:#1d2939}
.wm-reader-sender span{font-size:9px;color:#667085;margin-top:3px}
.wm-reader-time{font-size:8.5px;color:#98a2b3}
.wm-reader-body{margin-top:24px;color:#344054;font-size:11px;line-height:1.75}
.wm-reader-body iframe{width:100%;min-height:410px;border:0}
.wm-reader-body pre{white-space:pre-wrap;font:inherit;margin:0}

.wm-attachments{margin-top:20px;padding-top:17px;border-top:1px solid var(--line)}
.wm-attachments-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:11px}
.wm-attachments-head strong{font-size:10px}
.wm-attachment-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.wm-attachment-card{
  display:flex;align-items:center;gap:10px;border:1px solid var(--line-strong);border-radius:11px;
  padding:11px;text-decoration:none;color:inherit;background:#fff
}
.wm-attachment-card:hover{background:#fafcff}
.wm-file-icon{width:36px;height:42px;border-radius:8px;background:#ef4e4e;color:#fff;display:grid;place-items:center}
.wm-attachment-card strong,.wm-attachment-card span{display:block}
.wm-attachment-card strong{font-size:9.5px;font-weight:600}
.wm-attachment-card span{font-size:8.2px;color:#98a2b3;margin-top:3px}
.wm-quick-replies{display:flex;gap:8px;flex-wrap:wrap;margin-top:18px}
.wm-quick-replies button{
  height:31px;border:1px solid #8db6ff;border-radius:16px;background:#fff;color:#1673ff;padding:0 15px;font-size:8.5px
}
.wm-inline-reply{
  display:flex;align-items:center;gap:8px;margin-top:16px;border:1px solid var(--line-strong);
  border-radius:14px;padding:10px 12px
}
.wm-inline-reply input{flex:1;border:0;outline:none;font-size:9.5px}
.wm-inline-reply button{border:0;background:transparent;color:#475467}
.wm-inline-reply .send{color:#1673ff}

.wm-empty-reader{height:100%;display:grid;place-items:center;text-align:center;color:#98a2b3}
.wm-empty-reader .material-symbols-rounded{font-size:40px;color:#cbd3dd}
.wm-empty-reader strong{display:block;color:#667085;font-size:10px;margin-top:7px}
.wm-empty-reader span{display:block;font-size:8px;margin-top:3px}

/* compose */
.wm-compose-modal{
  position:fixed;inset:0;z-index:180;background:rgba(15,23,42,.28);backdrop-filter:blur(2px);
  display:grid;place-items:center;padding:22px
}
.wm-compose-window{
  width:min(780px,96vw);background:#fff;border-radius:15px;overflow:hidden;
  box-shadow:0 26px 80px rgba(15,23,42,.24)
}
.wm-compose-head{
  height:52px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 16px
}
.wm-compose-head strong{font-size:11px;font-weight:650}
.wm-compose-head button{border:0;background:transparent}
.wm-compose-row{display:grid;grid-template-columns:58px 1fr;align-items:center;padding:0 15px;border-bottom:1px solid var(--line)}
.wm-compose-row label{font-size:8.5px;color:#667085}
.wm-compose-row input{height:43px;border:0;outline:none;font-size:10px}
.wm-compose-text{width:100%;min-height:320px;border:0;outline:none;resize:vertical;padding:16px;font-size:10px;line-height:1.65}
.wm-compose-foot{display:flex;align-items:center;gap:8px;padding:12px 14px;border-top:1px solid var(--line)}
.wm-compose-foot input{font-size:8.5px}
.wm-compose-foot .send{
  margin-left:auto;height:34px;border:0;border-radius:9px;background:#1673ff;color:#fff;padding:0 16px;font-size:9px
}

.wm-toasts{position:fixed;right:18px;top:76px;z-index:220;display:grid;gap:8px;width:min(340px,calc(100vw - 36px))}
.wm-toast{padding:12px 13px;border-radius:10px;background:#1d2939;color:#fff;font-size:9px;box-shadow:0 16px 40px rgba(16,24,40,.22)}
.wm-toast.success{border-left:4px solid #47b881}.wm-toast.error{border-left:4px solid #e45b63}
.wm-mobile{display:none}

@media(max-width:980px){
  .wm-app{display:block}
  .wm-sidebar{position:fixed;left:-280px;width:264px;transition:.2s}
  .wm-sidebar.open{left:0}
  .wm-mobile{display:grid}
  .wm-account>div:last-child{display:none}
  .wm-list-row{grid-template-columns:22px 22px 38px 150px minmax(0,1fr) 75px;padding-left:14px;padding-right:14px}
  .wm-mail-reader-pane{width:100vw}
}
@media(max-width:680px){
  .wm-list-row{grid-template-columns:20px 36px minmax(0,1fr) 65px}
  .wm-check{display:none}
  .wm-star{grid-column:1}
  .wm-mail-avatar{grid-column:2}
  .wm-sender{display:none}
  .wm-reader-scroll{padding:20px}
  .wm-attachment-grid{grid-template-columns:1fr}
}


/* MailPro 1.6.0 */
.wm-brand{min-height:52px;padding:2px 4px 18px}
.wm-brand-logo{
  display:block;
  width:178px;
  max-width:100%;
  height:48px;
  object-fit:contain;
  object-position:left center;
}
.wm-list-toolbar{padding-left:20px;padding-right:20px}
.wm-filter-pill{
  display:inline-flex;
  align-items:center;
  gap:5px;
  font-size:10.5px;
  font-weight:500;
}
.wm-filter-pill .material-symbols-rounded{font-size:16px}
.wm-list-row{
  grid-template-columns:26px 27px 46px minmax(175px,230px) minmax(260px,1fr) 105px;
  min-height:72px;
}
.wm-mail-avatar{
  width:42px;
  height:42px;
  font-size:12px;
}
.wm-sender,.wm-subject-title{font-size:12px}
.wm-preview{font-size:10.3px;line-height:1.35}
.wm-row-meta time{font-size:9.8px}

/* Split view only while a message is open. The reader PUSHES the inbox. */
.wm-mail-layout{
  --list-width:52%;
  display:block;
  position:relative;
  height:calc(100vh - 102px);
}
.wm-mail-layout.split-open{
  display:grid;
  grid-template-columns:minmax(340px,var(--list-width)) 8px minmax(360px,1fr);
}
.wm-mail-layout.split-open .wm-mail-list-pane{
  width:auto;
  min-width:0;
}
.wm-mail-reader-pane{
  position:static !important;
  transform:none !important;
  width:auto !important;
  height:100%;
  border-left:0;
  box-shadow:none;
  min-width:0;
}
.wm-splitter{
  position:relative;
  height:100%;
  cursor:col-resize;
  background:#f5f7fa;
  border-left:1px solid #e4e9ef;
  border-right:1px solid #e4e9ef;
  touch-action:none;
  user-select:none;
}
.wm-splitter:hover,.wm-resizing .wm-splitter{background:#edf3ff}
.wm-splitter i{
  position:absolute;
  width:3px;
  height:44px;
  border-radius:4px;
  background:#b5c0ce;
  left:50%;top:50%;
  transform:translate(-50%,-50%);
}
.wm-resizing,.wm-resizing *{cursor:col-resize!important;user-select:none!important}

.wm-reader-title h2{font-size:22px}
.wm-reader-sender .wm-mail-avatar{width:48px;height:48px;font-size:13px}
.wm-reader-sender strong{font-size:11.5px}
.wm-reader-body{font-size:11.3px}

/* Information / legal page */
.wm-info-page{
  max-width:980px;
  margin:0 auto;
  padding:34px 28px 60px;
}
.wm-info-hero{
  background:#fff;
  border:1px solid #e3e8ef;
  border-radius:16px;
  padding:28px;
}
.wm-info-hero img{width:230px;height:auto;display:block;margin-bottom:20px}
.wm-info-hero h1{font-size:24px;margin:0;font-weight:650;letter-spacing:-.03em}
.wm-info-hero p{font-size:11px;color:#667085;margin:8px 0 0}
.wm-info-tabs{
  display:flex;
  gap:6px;
  margin:18px 0;
  padding:6px;
  border:1px solid #e3e8ef;
  border-radius:12px;
  background:#fff;
}
.wm-info-tabs button{
  border:0;background:transparent;border-radius:8px;padding:10px 15px;
  font-size:10px;color:#596579
}
.wm-info-tabs button.active{background:#f2f4f7;color:#101828;font-weight:600}
.wm-info-card{
  background:#fff;border:1px solid #e3e8ef;border-radius:16px;padding:26px;
}
.wm-info-card h2{font-size:17px;margin:0 0 14px;font-weight:650}
.wm-info-card p{font-size:11px;line-height:1.75;color:#475467;margin:0 0 13px}
.wm-info-card a{color:#1f6fff;text-decoration:none}
.wm-info-card a:hover{text-decoration:underline}

.spin{animation:wmSpin .8s linear infinite}
@keyframes wmSpin{to{transform:rotate(360deg)}}

@media(max-width:1000px){
  .wm-mail-layout.split-open{
    grid-template-columns:minmax(300px,45%) 7px minmax(340px,55%);
  }
}
@media(max-width:760px){
  .wm-mail-layout.split-open{display:block}
  .wm-mail-list-pane{display:block}
  .wm-mail-layout.split-open .wm-mail-list-pane{display:none}
  .wm-splitter{display:none!important}
  .wm-mail-reader-pane{display:flex!important}
  .wm-info-page{padding:20px 12px 40px}
}


/* MailPro 1.7.0 refinements */
.wm-sidebar{width:auto}
.wm-nav button,.wm-side-foot button{font-size:12px;color:#3f4d62}
.wm-nav button.active{color:#155bc1}
.wm-nav em{font-size:9.5px;color:#5f6f84}
.wm-side-foot{font-size:12px}
.wm-star{color:#a7b1bf}
.wm-star .material-symbols-rounded{font-variation-settings:'FILL' 0,'wght' 500,'GRAD' 0,'opsz' 22}
.wm-star.starred{color:#f4b400}
.wm-star.starred .material-symbols-rounded{font-variation-settings:'FILL' 1,'wght' 600,'GRAD' 0,'opsz' 22}
.wm-header-brand{display:flex;align-items:center;gap:7px;padding-right:6px}
.wm-header-brand img{width:28px;height:28px;object-fit:contain}
.wm-header-brand strong{font-size:13px;font-weight:700;letter-spacing:-.02em}
.wm-account strong{font-size:11px}
.wm-account span{font-size:9.2px}

.wm-mail-layout.split-open{grid-template-columns:minmax(360px,var(--list-width)) 8px minmax(380px,1fr)}
.wm-mail-layout{--list-width:50%}
.wm-reader-actions #fullMessage{display:none!important}

.wm-filter-pill{font-size:10.7px;color:#425166}
.wm-filter-pill.active{color:#155bc1;background:#eaf2ff}
.wm-folder-action{height:34px;border:1px solid #d9e0e8;border-radius:9px;background:#fff;padding:0 11px;font-size:9.5px;display:inline-flex;align-items:center;gap:6px;color:#455468}
.wm-folder-action.danger{color:#b44545}
.wm-toolbar-right{display:flex;align-items:center;gap:8px}

.wm-bulkbar{height:50px;border-bottom:1px solid var(--line);background:#f8fbff;display:flex;align-items:center;justify-content:space-between;padding:0 18px}
.wm-bulkbar label{display:flex;align-items:center;gap:9px;font-size:10px;color:#344054}
.wm-bulkbar>div{display:flex;gap:4px}
.wm-bulkbar button{width:34px;height:34px;border:0;border-radius:8px;background:transparent;color:#344054;display:grid;place-items:center}
.wm-bulkbar button:hover{background:#eaf2ff;color:#1f6fff}
.wm-bulkbar[hidden]{display:none!important}

.wm-check-label{display:grid;place-items:center;cursor:pointer}
.wm-check-label input{position:absolute;opacity:0}
.wm-check-label i{width:18px;height:18px;border:1px solid #bfc9d6;border-radius:5px;background:#fff;display:block}
.wm-check-label input:checked+i{background:#1f6fff;border-color:#1f6fff;box-shadow:inset 0 0 0 4px #fff}

.wm-toast{right:auto;top:auto;position:relative;display:flex;gap:10px;align-items:flex-start;padding:13px 14px;border:1px solid rgba(255,255,255,.08);opacity:0;transform:translateY(8px);transition:.18s}
.wm-toast.show{opacity:1;transform:none}
.wm-toast-icon{width:24px;height:24px;border-radius:8px;background:#2d3748;display:grid;place-items:center;font-weight:800;flex:0 0 auto}
.wm-toast>div strong,.wm-toast>div span{display:block}
.wm-toast>div strong{font-size:9px;margin-bottom:2px}
.wm-toast>div span{font-size:9px;color:#d5dae1;line-height:1.45}
.wm-toasts{top:auto;bottom:18px;right:18px}

.wm-attachments-head{gap:12px}
.wm-download-all{margin-left:auto;text-decoration:none;color:#1f6fff;font-size:9px;display:inline-flex;align-items:center;gap:5px}
.wm-attachment-card{display:grid;grid-template-columns:1fr 34px;padding:0;overflow:hidden}
.wm-attachment-main{border:0;background:#fff;display:flex;align-items:center;gap:12px;padding:12px;text-align:left;min-width:0}
.wm-attachment-main:hover{background:#f8fbff}
.wm-attachment-download{height:100%;display:grid;place-items:center;color:#566579;text-decoration:none;border-left:1px solid var(--line)}
.wm-file-icon{width:46px;height:46px;aspect-ratio:1/1;border-radius:10px;flex:0 0 auto}
.wm-file-icon .material-symbols-rounded{font-size:24px}
.wm-attachment-card strong{font-size:10px}
.wm-attachment-card span{font-size:8.5px}

.wm-preview-modal{position:fixed;inset:0;background:rgba(15,23,42,.46);backdrop-filter:blur(3px);z-index:250;display:grid;place-items:center;padding:24px}
.wm-preview-window{width:min(1000px,94vw);height:min(760px,90vh);background:#fff;border-radius:16px;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 30px 90px rgba(15,23,42,.28)}
.wm-preview-head{height:58px;display:flex;align-items:center;justify-content:space-between;padding:0 16px;border-bottom:1px solid var(--line)}
.wm-preview-head strong,.wm-preview-head span{display:block}
.wm-preview-head strong{font-size:10.5px}.wm-preview-head>div>span{font-size:8.5px;color:#7b8794;margin-top:2px}
.wm-preview-head>div:last-child{display:flex;align-items:center;gap:8px}
.wm-preview-head a,.wm-preview-head button{height:34px;border:1px solid var(--line);border-radius:8px;background:#fff;padding:0 10px;color:#445266;text-decoration:none;display:flex;align-items:center;gap:5px;font-size:9px}
.wm-preview-body{flex:1;min-height:0;background:#f3f5f8;display:grid;place-items:center}
.wm-preview-body iframe{width:100%;height:100%;border:0}
.wm-preview-body img{max-width:96%;max-height:96%;object-fit:contain}

.wm-compose-window.modern{width:min(860px,96vw)}
.wm-compose-recipient{display:grid;grid-template-columns:58px 1fr;align-items:start;padding:10px 15px;border-bottom:1px solid var(--line)}
.wm-compose-recipient>label{font-size:9px;color:#657185;padding-top:9px}
.wm-recipient-control{min-height:38px;border:1px solid #dfe5ec;border-radius:10px;padding:5px 8px;display:flex;align-items:center;flex-wrap:wrap;gap:5px;position:relative}
.wm-recipient-tags{display:flex;flex-wrap:wrap;gap:5px}
.wm-recipient-tags span{display:inline-flex;align-items:center;gap:5px;background:#eaf2ff;color:#205eb7;border-radius:14px;padding:5px 8px;font-size:9px}
.wm-recipient-tags button{border:0;background:transparent;color:inherit;padding:0;font-size:13px}
.wm-recipient-control>input{border:0;outline:none;min-width:220px;flex:1;font-size:10px;padding:5px}
.wm-contact-suggestions{position:absolute;left:0;right:0;top:calc(100% + 5px);background:#fff;border:1px solid var(--line);border-radius:10px;box-shadow:0 14px 35px rgba(15,23,42,.13);z-index:20;padding:5px}
.wm-contact-suggestions button{width:100%;border:0;background:#fff;text-align:left;padding:8px 9px;border-radius:7px}
.wm-contact-suggestions button:hover{background:#f4f7fb}
.wm-contact-suggestions strong,.wm-contact-suggestions span{display:block}
.wm-contact-suggestions strong{font-size:9.5px}.wm-contact-suggestions span{font-size:8.5px;color:#8490a0;margin-top:2px}
.wm-editor-toolbar{display:flex;gap:4px;padding:8px 14px;border-bottom:1px solid var(--line);background:#fafbfd}
.wm-editor-toolbar button{width:32px;height:30px;border:0;border-radius:7px;background:transparent;color:#435166}
.wm-editor-toolbar button:hover{background:#eef3fa}
.wm-rich-editor{min-height:340px;padding:18px;font-size:11.5px;line-height:1.7;outline:none;overflow:auto}
.wm-signature{margin-top:20px;padding-top:14px;border-top:1px solid #edf0f4;color:#566273}
.wm-compose-foot.modern{min-height:55px}
.wm-attach-btn{width:36px;height:36px;border:0;border-radius:8px;background:#f4f6f9;color:#415067;display:grid;place-items:center}
.wm-attached-files{display:flex;gap:6px;flex-wrap:wrap;flex:1}
.wm-attached-files>span{display:inline-flex;align-items:center;gap:5px;padding:6px 8px;border:1px solid var(--line);border-radius:9px;background:#fff;font-size:8.5px}
.wm-compose-foot .send.icon-only{width:38px;height:38px;padding:0;display:grid;place-items:center;border-radius:10px}
.wm-compose-foot .send.icon-only .material-symbols-rounded{font-size:19px}

@media(max-width:850px){
 .wm-header-brand strong{display:none}
 .wm-mail-layout.split-open{display:block}
 .wm-mail-layout.split-open .wm-mail-list-pane{display:none}
 .wm-splitter{display:none!important}
}


/* MailPro 1.8.0 multicolor identity */
:root{
  --blue:#1172ff;
  --blue2:#0b62e8;
  --cyan:#14c7d8;
  --purple:#6c31ff;
  --orange:#ffb21a;
  --navy:#0c2a63;
  --blue-soft:#eaf3ff;
  --cyan-soft:#e8fbfd;
  --purple-soft:#f0ebff;
  --orange-soft:#fff5dc;
  --text:#17233a;
  --text-2:#2e3d57;
  --muted:#5f6f86;
  --muted-2:#8491a4;
  --line:#dfe6ef;
}
.wm-sidebar{background:linear-gradient(180deg,#fff 0%,#fbfcff 100%)}
.wm-brand-logo{width:205px;height:58px}
.wm-header-brand img{width:31px;height:31px}
.wm-header-brand strong{font-size:14px;color:var(--navy)}
.wm-nav button,.wm-side-foot button{font-size:12.5px;font-weight:500;color:#3d4b63}
.wm-nav button:nth-child(1).active{background:var(--blue-soft);color:#0e62d8}
.wm-nav button:nth-child(2).active{background:var(--cyan-soft);color:#087f8c}
.wm-nav button:nth-child(3).active{background:var(--purple-soft);color:#6030c9}
.wm-nav button:nth-child(4).active{background:var(--orange-soft);color:#9d6700}
.wm-nav button.active{box-shadow:inset 3px 0 0 currentColor}
.wm-side-foot button:hover{background:#f2f5fa}
.wm-search input{font-size:11.5px}
.wm-account strong{font-size:11.5px}.wm-account span{font-size:9.6px}
.wm-filter-pill{font-size:11px;padding:0 16px}
.wm-filter-pill.active{background:linear-gradient(90deg,var(--blue-soft),#f3f7ff);color:#0f63d9}
.wm-list-row{min-height:76px}
.wm-list-row.read{background:#fff}
.wm-list-row.read .wm-sender,.wm-list-row.read .wm-subject-title{color:#46556c;font-weight:500}
.wm-list-row.read .wm-preview{color:#8793a3}
.wm-list-row.unread{background:#fbfdff}
.wm-list-row.unread .wm-sender,.wm-list-row.unread .wm-subject-title{font-weight:750;color:#14213a}
.wm-list-row.unread .wm-preview{color:#596a82}
.wm-list-row.important{box-shadow:inset 3px 0 0 var(--orange)}
.wm-list-row.tone-blue .wm-mail-avatar{background:var(--blue-soft);color:#125fca}
.wm-list-row.tone-cyan .wm-mail-avatar{background:var(--cyan-soft);color:#087d89}
.wm-list-row.tone-purple .wm-mail-avatar{background:var(--purple-soft);color:#5c33bf}
.wm-list-row.tone-orange .wm-mail-avatar{background:var(--orange-soft);color:#9a6500}
.wm-list-row.tone-indigo .wm-mail-avatar{background:#edf0ff;color:#4357b8}
.wm-mail-avatar{width:44px;height:44px;font-size:12.5px;font-weight:700}
.wm-sender,.wm-subject-title{font-size:12.5px}
.wm-preview{font-size:10.7px}
.wm-important-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--orange);margin-right:7px;vertical-align:1px}
.wm-replied{display:inline-flex;align-items:center;margin-left:7px;color:#0f7e8c}
.wm-replied .material-symbols-rounded{font-size:15px;font-variation-settings:'FILL' 1,'wght' 500,'GRAD' 0,'opsz' 18}

/* skeleton loader */
.wm-skeleton-row{
  display:grid;grid-template-columns:26px 27px 46px minmax(175px,230px) minmax(260px,1fr) 105px;
  align-items:center;gap:10px;padding:12px 20px;min-height:76px;border-bottom:1px solid #edf1f5
}
.sk{display:block;background:linear-gradient(90deg,#edf1f5 25%,#f7f9fb 37%,#edf1f5 63%);background-size:400% 100%;animation:mailproSk 1.3s ease infinite;border-radius:8px}
.sk-check{width:18px;height:18px}.sk-star{width:20px;height:20px}.sk-avatar{width:44px;height:44px;border-radius:50%}
.sk-line{height:10px;margin:5px 0}.sk-line.w45{width:45%}.sk-line.w50{width:50%}.sk-line.w60{width:60%}.sk-line.w80{width:80%}
@keyframes mailproSk{0%{background-position:100% 0}100%{background-position:0 0}}

/* inline rich reply */
.wm-reply-box{margin-top:18px;border:1px solid #dbe3ed;border-radius:14px;background:#fff;overflow:hidden}
.wm-reply-toolbar{display:flex;gap:3px;padding:8px 10px;border-bottom:1px solid #edf1f5;background:#fafcff}
.wm-reply-toolbar button{width:30px;height:28px;border:0;border-radius:7px;background:transparent;color:#3e4d64}
.wm-reply-toolbar button:hover{background:#edf3fb}
.wm-reply-editor{min-height:110px;padding:13px 14px;outline:none;font-size:11.5px;line-height:1.65;color:#2d3b52}
.wm-reply-editor:empty:before{content:attr(data-placeholder);color:#9aa5b4}
.wm-reply-actions{display:flex;align-items:center;justify-content:space-between;padding:8px 10px;border-top:1px solid #edf1f5;background:#fafcff}
.wm-reply-actions>span{font-size:8.8px;color:#77869a}
.wm-reply-actions .send{width:36px;height:34px;border:0;border-radius:9px;background:linear-gradient(135deg,var(--blue),var(--purple));color:#fff;display:grid;place-items:center}
.wm-reply-actions .send:hover{filter:brightness(.97)}
.wm-compose-foot .send.icon-only{background:linear-gradient(135deg,var(--blue),var(--purple))}
.wm-compose{background:linear-gradient(135deg,var(--blue),var(--purple))}
.wm-chip{background:linear-gradient(90deg,var(--blue-soft),var(--cyan-soft));color:#225b9f}
.wm-star.starred{color:var(--orange)}
.wm-toast.success .wm-toast-icon{background:linear-gradient(135deg,var(--cyan),var(--blue))}
