/*
 * HostingJet Mail 2.0
 * One isolated visual system for setup, mailbox selection and the first-party
 * inbox. Every selector is scoped to hjm2 so legacy Mail layers cannot leak in.
 */
:root{
  --hjm2-purple:#7c3aed;
  --hjm2-purple-2:#8b5cf6;
  --hjm2-purple-soft:#f5f0ff;
  --hjm2-purple-line:#e7dcff;
  --hjm2-blue:#2563eb;
  --hjm2-green:#0f9f6e;
  --hjm2-green-soft:#e8f8f1;
  --hjm2-amber:#c97800;
  --hjm2-amber-soft:#fff6e6;
  --hjm2-red:#d64545;
  --hjm2-red-soft:#fff0ef;
  --hjm2-ink:#16181d;
  --hjm2-ink-2:#4f5663;
  --hjm2-ink-3:#89919f;
  --hjm2-line:#e7e9ee;
  --hjm2-line-2:#f0f1f4;
  --hjm2-canvas:#f4f4f6;
  --hjm2-surface:#fff;
  --hjm2-surface-2:#fafafa;
  --hjm2-surface-3:#f5f6f8;
  --hjm2-radius:14px;
  --hjm2-shadow:0 20px 60px rgba(22,24,29,.15);
  --hjm2-font:'Poppins',Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
}
.hjm2-setup *, .hjm2-picker *, .hjm2-app *{box-sizing:border-box}
.hjm2-setup button,.hjm2-setup input,.hjm2-setup textarea,.hjm2-setup select,
.hjm2-picker button,.hjm2-picker input,.hjm2-picker textarea,.hjm2-picker select,
.hjm2-app button,.hjm2-app input,.hjm2-app textarea,.hjm2-app select{font-family:var(--hjm2-font)}
.hjm2-setup button,.hjm2-picker button,.hjm2-app button{cursor:pointer}
.hjm2-setup [hidden],.hjm2-picker [hidden],.hjm2-app [hidden]{display:none!important}
.hjm2-sr{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}

/* Shared controls */
.hjm2-button{height:42px;border:0;border-radius:11px;padding:0 16px;display:inline-flex;align-items:center;justify-content:center;gap:8px;background:var(--hjm2-ink);color:#fff;font:600 13px/1 var(--hjm2-font);transition:.15s ease;white-space:nowrap}
.hjm2-button:hover{background:#292c33;transform:translateY(-1px)}
.hjm2-button:active{transform:translateY(0)}
.hjm2-button:disabled{opacity:.48;cursor:not-allowed;transform:none}
.hjm2-button-spinner{width:15px;height:15px;border:2px solid rgba(255,255,255,.42);border-top-color:currentColor;border-radius:50%;display:block;animation:hjm2-spin .7s linear infinite}
.hjm2-button.is-secondary .hjm2-button-spinner,.hjm2-icon-button .hjm2-button-spinner{border-color:rgba(79,86,99,.24);border-top-color:currentColor}
.hjm2-button.is-purple{background:var(--hjm2-purple)}
.hjm2-button.is-purple:hover{background:#6d28d9}
.hjm2-button.is-secondary{background:#fff;color:var(--hjm2-ink);border:1px solid var(--hjm2-line)}
.hjm2-button.is-secondary:hover{background:var(--hjm2-surface-3)}
.hjm2-button.is-danger{background:var(--hjm2-red-soft);color:var(--hjm2-red)}
.hjm2-button.is-small{height:34px;padding:0 11px;border-radius:9px;font-size:12px}
.hjm2-icon-button{width:36px;height:36px;border:1px solid transparent;border-radius:10px;background:transparent;color:#68707c;display:grid;place-items:center;transition:.15s ease}
.hjm2-icon-button:hover{background:var(--hjm2-surface-3);color:var(--hjm2-ink)}
.hjm2-icon-button svg{width:17px;height:17px;display:block}
.hjm2-field{display:grid;gap:7px}
.hjm2-field>span{font:600 12px/1.4 var(--hjm2-font);color:var(--hjm2-ink-2)}
.hjm2-field input,.hjm2-field textarea,.hjm2-field select{width:100%;border:1px solid var(--hjm2-line);background:#fff;color:var(--hjm2-ink);border-radius:11px;padding:11px 12px;font:500 13px/1.45 var(--hjm2-font);outline:none;transition:.15s ease}
.hjm2-field input:focus,.hjm2-field textarea:focus,.hjm2-field select:focus{border-color:#b79af8;box-shadow:0 0 0 3px var(--hjm2-purple-soft)}
.hjm2-field textarea{resize:vertical;min-height:112px}
.hjm2-pill{display:inline-flex;align-items:center;gap:6px;height:25px;padding:0 9px;border-radius:999px;background:var(--hjm2-surface-3);color:var(--hjm2-ink-2);font:600 11px/1 var(--hjm2-font)}
.hjm2-pill.is-good{background:var(--hjm2-green-soft);color:var(--hjm2-green)}
.hjm2-pill.is-purple{background:var(--hjm2-purple-soft);color:var(--hjm2-purple)}
.hjm2-pill.is-warn{background:var(--hjm2-amber-soft);color:var(--hjm2-amber)}
.hjm2-dot{width:7px;height:7px;border-radius:50%;background:currentColor;display:inline-block}
.hjm2-empty{min-height:220px;display:grid;place-items:center;text-align:center;padding:34px;color:var(--hjm2-ink-3)}
.hjm2-empty svg{width:28px;height:28px;margin:0 auto 13px}
.hjm2-empty strong{display:block;color:var(--hjm2-ink);font-size:14px}
.hjm2-empty p{max-width:38ch;margin:6px auto 0;font-size:12px;line-height:1.6}

/* Setup overlay */
.hjm2-setup{position:fixed;inset:0;z-index:2147482500;font-family:var(--hjm2-font);color:var(--hjm2-ink)}
.hjm2-setup-backdrop{position:absolute;inset:0;border:0;background:rgba(15,16,20,.54);backdrop-filter:blur(4px)}
.hjm2-setup-dialog{position:absolute;left:50%;top:50%;width:min(1040px,calc(100vw - 40px));height:min(720px,calc(100vh - 40px));transform:translate(-50%,-50%);background:#fff;border-radius:18px;box-shadow:var(--hjm2-shadow);overflow:hidden;display:flex;flex-direction:column}
.hjm2-setup-top{height:64px;flex:none;display:flex;align-items:center;gap:13px;padding:0 19px;border-bottom:1px solid var(--hjm2-line)}
.hjm2-setup-mark{width:34px;height:34px;border-radius:10px;background:var(--hjm2-ink);color:#fff;display:grid;place-items:center}
.hjm2-setup-mark svg{width:17px;height:17px}
.hjm2-setup-title{min-width:0;flex:1}
.hjm2-setup-title strong{display:block;font-size:14px;line-height:1.25}
.hjm2-setup-title small{display:block;font-size:11px;color:var(--hjm2-ink-3);margin-top:2px}
.hjm2-setup-progress{height:58px;flex:none;display:grid;grid-template-columns:repeat(4,1fr);border-bottom:1px solid var(--hjm2-line);padding:0 24px}
.hjm2-setup-step{position:relative;border:0;background:transparent;color:var(--hjm2-ink-3);display:flex;align-items:center;gap:9px;padding:0 7px;text-align:left;font-family:var(--hjm2-font)}
.hjm2-setup-step:after{content:"";position:absolute;left:7px;right:7px;bottom:-1px;height:2px;background:transparent}
.hjm2-setup-step i{width:23px;height:23px;border-radius:50%;display:grid;place-items:center;background:var(--hjm2-surface-3);font-style:normal;font-size:10px;font-weight:700;flex:none}
.hjm2-setup-step span{font-size:12px;font-weight:600}
.hjm2-setup-step.is-active{color:var(--hjm2-purple)}
.hjm2-setup-step.is-active i{background:var(--hjm2-purple);color:#fff}
.hjm2-setup-step.is-active:after{background:var(--hjm2-purple)}
.hjm2-setup-step.is-done{color:var(--hjm2-green)}
.hjm2-setup-step.is-done i{background:var(--hjm2-green-soft)}
.hjm2-setup-workspace{min-height:0;flex:1;display:grid;grid-template-columns:minmax(0,1fr) 304px}
.hjm2-setup-main{overflow:auto;padding:27px 30px 36px}
.hjm2-setup-main h3{font:700 24px/1.22 var(--hjm2-font);letter-spacing:-.55px;margin:0;color:var(--hjm2-ink)}
.hjm2-setup-main>p{font-size:13px;line-height:1.7;color:var(--hjm2-ink-2);margin:8px 0 0;max-width:64ch}
.hjm2-setup-summary{border-left:1px solid var(--hjm2-line);background:var(--hjm2-surface-2);padding:24px;overflow:auto}
.hjm2-setup-summary h4{font-size:14px;margin:0}
.hjm2-summary-domain{margin-top:16px;padding:14px;border:1px solid var(--hjm2-line);border-radius:13px;background:#fff}
.hjm2-summary-domain strong{display:block;font-size:13px;word-break:break-word}
.hjm2-summary-domain small{display:block;color:var(--hjm2-ink-3);font-size:11px;margin-top:4px}
.hjm2-summary-list{margin-top:15px;padding-top:11px;border-top:1px solid var(--hjm2-line);display:grid;gap:11px}
.hjm2-summary-row{display:flex;justify-content:space-between;gap:12px;font-size:12px}
.hjm2-summary-row span{color:var(--hjm2-ink-3)}
.hjm2-summary-row strong{text-align:right;font-weight:600}
.hjm2-setup-actions{margin-top:20px;display:grid;gap:9px}
.hjm2-setup-actions .hjm2-button{width:100%}
.hjm2-setup-note{font-size:10.5px;line-height:1.55;color:var(--hjm2-ink-3);margin-top:12px}
.hjm2-domain-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;margin-top:22px}
.hjm2-domain-option{border:1px solid var(--hjm2-line);border-radius:13px;background:#fff;padding:14px;text-align:left;display:flex;align-items:center;gap:12px;transition:.15s ease}
.hjm2-domain-option:hover{border-color:#d5c7f8;background:#fdfcff}
.hjm2-domain-option.is-selected{border-color:#a87ff1;box-shadow:0 0 0 3px var(--hjm2-purple-soft)}
.hjm2-domain-icon{width:37px;height:37px;border-radius:11px;background:var(--hjm2-purple-soft);color:var(--hjm2-purple);display:grid;place-items:center;flex:none}
.hjm2-domain-icon svg{width:18px;height:18px}
.hjm2-domain-option div{min-width:0;flex:1}
.hjm2-domain-option strong,.hjm2-domain-option small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hjm2-domain-option strong{font-size:13px}
.hjm2-domain-option small{font-size:10.5px;color:var(--hjm2-ink-3);margin-top:3px}
.hjm2-context-loading{margin-top:18px;padding:15px;border:1px solid var(--hjm2-line);border-radius:13px;background:var(--hjm2-surface-2);display:flex;align-items:center;gap:11px;font-size:12px;color:var(--hjm2-ink-2)}
.hjm2-spinner{width:17px;height:17px;border:2px solid #ddd6fe;border-top-color:var(--hjm2-purple);border-radius:50%;animation:hjm2-spin .75s linear infinite;flex:none}
@keyframes hjm2-spin{to{transform:rotate(360deg)}}
.hjm2-mailbox-builder{margin-top:21px;display:grid;gap:10px}
.hjm2-mailbox-row{border:1px solid var(--hjm2-line);border-radius:13px;background:#fff;padding:13px;display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:12px;align-items:start}
.hjm2-mailbox-avatar{width:42px;height:42px;border-radius:12px;background:linear-gradient(145deg,var(--hjm2-purple),#a78bfa);color:#fff;display:grid;place-items:center;font-size:12px;font-weight:700}
.hjm2-mailbox-copy strong{display:block;font-size:13px;word-break:break-word}
.hjm2-mailbox-copy small{display:block;font-size:10.5px;color:var(--hjm2-ink-3);margin-top:3px}
.hjm2-mailbox-fields{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:11px}
.hjm2-mailbox-fields .hjm2-field:last-child{grid-column:1/-1}
.hjm2-mailbox-remove{width:30px;height:30px;border:0;border-radius:8px;background:transparent;color:var(--hjm2-ink-3)}
.hjm2-mailbox-remove:hover{background:var(--hjm2-red-soft);color:var(--hjm2-red)}
.hjm2-add-mailbox{margin-top:11px;width:100%;height:44px;border:1px dashed #cdd1d9;border-radius:12px;background:#fff;color:var(--hjm2-purple);font:600 12px/1 var(--hjm2-font)}
.hjm2-add-mailbox:hover{background:var(--hjm2-purple-soft);border-color:#b89cf5}
.hjm2-review{margin-top:21px;border:1px solid var(--hjm2-line);border-radius:14px;overflow:hidden}
.hjm2-review-row{min-height:48px;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:11px 15px;border-bottom:1px solid var(--hjm2-line-2);font-size:12px}
.hjm2-review-row:last-child{border-bottom:0}
.hjm2-review-row span{color:var(--hjm2-ink-3)}
.hjm2-review-row strong{text-align:right}
.hjm2-provision-list{margin-top:22px;border:1px solid var(--hjm2-line);border-radius:14px;overflow:hidden}
.hjm2-provision-item{display:grid;grid-template-columns:25px 1fr auto;gap:11px;align-items:center;padding:13px 15px;border-bottom:1px solid var(--hjm2-line-2);font-size:12px}
.hjm2-provision-item:last-child{border-bottom:0}
.hjm2-provision-item i{width:21px;height:21px;border:2px solid var(--hjm2-line);border-radius:50%;display:grid;place-items:center;font-style:normal;font-size:10px}
.hjm2-provision-item.is-running i{border-color:var(--hjm2-purple);border-top-color:transparent;animation:hjm2-spin .65s linear infinite}
.hjm2-provision-item.is-done i{border-color:var(--hjm2-green);background:var(--hjm2-green);color:#fff}
.hjm2-provision-item.is-failed i{border-color:var(--hjm2-red);background:var(--hjm2-red-soft);color:var(--hjm2-red)}
.hjm2-provision-item small{color:var(--hjm2-ink-3);text-align:right}
.hjm2-setup-error{margin-top:14px;border:1px solid #f3caca;background:var(--hjm2-red-soft);color:#9e2d2d;padding:11px 13px;border-radius:11px;font-size:11.5px;line-height:1.55}

/* Mailbox picker */
.hjm2-picker{font-family:var(--hjm2-font);color:var(--hjm2-ink);max-width:1180px;margin:0 auto;padding:0 4px 50px}
.hjm2-picker-header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:22px}
.hjm2-picker-header h1{font:700 27px/1.18 var(--hjm2-font);letter-spacing:-.65px;margin:0}
.hjm2-picker-header p{font-size:12.5px;color:var(--hjm2-ink-2);margin:7px 0 0}
.hjm2-picker-overview{display:grid;grid-template-columns:1.35fr repeat(3,minmax(0,.65fr));gap:10px;margin-bottom:18px}
.hjm2-picker-overview>div{border:1px solid var(--hjm2-line);border-radius:13px;background:#fff;padding:15px}
.hjm2-picker-overview .is-primary{background:var(--hjm2-ink);color:#fff}
.hjm2-picker-overview span{display:block;font-size:10px;text-transform:uppercase;letter-spacing:.06em;color:var(--hjm2-ink-3);font-weight:600}
.hjm2-picker-overview .is-primary span{color:rgba(255,255,255,.62)}
.hjm2-picker-overview strong{display:block;font-size:20px;margin-top:6px;letter-spacing:-.45px}
.hjm2-picker-overview small{display:block;font-size:10.5px;color:var(--hjm2-ink-3);margin-top:3px}
.hjm2-picker-overview .is-primary small{color:rgba(255,255,255,.62)}
.hjm2-picker-notice{margin-bottom:14px;padding:12px 14px;border:1px solid #f2d2a1;background:var(--hjm2-amber-soft);border-radius:12px;font-size:11.5px;color:#825000}
.hjm2-picker-section{border:1px solid var(--hjm2-line);border-radius:15px;background:#fff;overflow:hidden;margin-bottom:13px}
.hjm2-picker-section>header{display:flex;align-items:center;justify-content:space-between;gap:13px;padding:14px 16px;border-bottom:1px solid var(--hjm2-line-2)}
.hjm2-picker-section>header strong{font-size:13px}
.hjm2-picker-section>header small{font-size:10.5px;color:var(--hjm2-ink-3);margin-left:8px}
.hjm2-picker-table-head,.hjm2-picker-row{display:grid;grid-template-columns:minmax(230px,1.3fr) minmax(130px,.65fr) minmax(150px,.8fr) minmax(110px,.55fr) 140px;gap:13px;align-items:center;padding:0 16px}
.hjm2-picker-table-head{height:38px;background:var(--hjm2-surface-2);font-size:9.5px;text-transform:uppercase;letter-spacing:.06em;font-weight:700;color:var(--hjm2-ink-3);border-bottom:1px solid var(--hjm2-line-2)}
.hjm2-picker-row{min-height:68px;border-bottom:1px solid var(--hjm2-line-2)}
.hjm2-picker-row:last-child{border-bottom:0}
.hjm2-picker-identity{display:flex;align-items:center;gap:11px;min-width:0}
.hjm2-picker-avatar{width:38px;height:38px;border-radius:11px;background:linear-gradient(145deg,var(--hjm2-purple),#a78bfa);color:#fff;display:grid;place-items:center;font-size:12px;font-weight:700;flex:none}
.hjm2-picker-identity div{min-width:0}
.hjm2-picker-identity strong,.hjm2-picker-identity small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hjm2-picker-identity strong{font-size:12.5px}
.hjm2-picker-identity small{font-size:10px;color:var(--hjm2-ink-3);margin-top:3px}
.hjm2-picker-cell{font-size:11px;color:var(--hjm2-ink-2)}
.hjm2-storage-meter{height:4px;border-radius:999px;background:var(--hjm2-line);overflow:hidden;margin-top:5px}
.hjm2-storage-meter i{height:100%;display:block;background:var(--hjm2-purple);border-radius:999px}
.hjm2-picker-actions{display:flex;justify-content:flex-end;gap:6px}
.hjm2-connect-modal{position:fixed;inset:0;z-index:2147482600;display:grid;place-items:center;padding:18px}
.hjm2-connect-modal:before{content:"";position:absolute;inset:0;background:rgba(15,16,20,.52);backdrop-filter:blur(3px)}
.hjm2-connect-card{position:relative;width:min(420px,100%);background:#fff;border-radius:16px;box-shadow:var(--hjm2-shadow);padding:22px}
.hjm2-connect-card h3{font-size:17px;margin:0}
.hjm2-connect-card p{font-size:11.5px;color:var(--hjm2-ink-2);line-height:1.6;margin:7px 0 17px}
.hjm2-connect-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:16px}

/* First-party mailbox application */
html.hjm2-mail-open,body.hjm2-mail-open{overflow:hidden!important}
body.hjm2-mail-open #wpadminbar{display:none!important}
.hjm2-app{position:fixed;inset:0;z-index:2147482000;background:#e9e9eb;color:var(--hjm2-ink);font-family:var(--hjm2-font);padding:18px;overflow:hidden}
.hjm2-app-frame{height:100%;width:100%;background:#fff;border-radius:13px;overflow:hidden;display:grid;grid-template-columns:58px 238px 360px minmax(0,1fr);grid-template-rows:64px minmax(0,1fr);box-shadow:0 16px 48px rgba(22,24,29,.12);border:1px solid #dedfe3}
.hjm2-rail{grid-column:1;grid-row:1/3;border-right:1px solid var(--hjm2-line);background:#fbfbfc;padding:10px 7px;display:flex;flex-direction:column;align-items:center;gap:9px}
.hjm2-rail-logo{width:36px;height:36px;border-radius:9px;background:var(--hjm2-ink);color:#fff;display:grid;place-items:center;margin-bottom:3px}
.hjm2-rail-logo svg{width:17px;height:17px}
.hjm2-rail-avatar{position:relative;width:34px;height:34px;border:0;border-radius:10px;background:#eee;color:#424752;display:grid;place-items:center;font-size:11px;font-weight:700;text-decoration:none;transition:.15s ease}
.hjm2-rail-avatar:hover{transform:translateY(-1px)}
.hjm2-rail-avatar.is-active{background:linear-gradient(145deg,var(--hjm2-purple),#a78bfa);color:#fff;box-shadow:0 7px 16px rgba(124,58,237,.25)}
.hjm2-rail-avatar.is-active:before{content:"";position:absolute;left:-8px;top:7px;bottom:7px;width:3px;border-radius:0 4px 4px 0;background:var(--hjm2-purple)}
.hjm2-rail-avatar i{position:absolute;right:-2px;top:-2px;width:8px;height:8px;border-radius:50%;background:var(--hjm2-green);border:2px solid #fff}
.hjm2-rail-spacer{flex:1}
.hjm2-rail .hjm2-icon-button{width:34px;height:34px}
.hjm2-sidebar{grid-column:2;grid-row:1/3;border-right:1px solid var(--hjm2-line);background:#fff;display:flex;flex-direction:column;min-height:0}
.hjm2-account{margin:12px 11px 7px;border:1px solid var(--hjm2-line);border-radius:11px;padding:9px;display:flex;align-items:center;gap:9px}
.hjm2-account-avatar{width:32px;height:32px;border-radius:10px;background:var(--hjm2-purple-soft);color:var(--hjm2-purple);display:grid;place-items:center;font-size:11px;font-weight:700;flex:none}
.hjm2-account-copy{min-width:0;flex:1}
.hjm2-account-copy strong,.hjm2-account-copy small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hjm2-account-copy strong{font-size:11.5px}
.hjm2-account-copy small{font-size:9px;color:var(--hjm2-ink-3);margin-top:2px}
.hjm2-sidebar-search{height:36px;margin:5px 11px 0;border:1px solid var(--hjm2-line);background:var(--hjm2-surface-2);border-radius:9px;display:flex;align-items:center;gap:7px;padding:0 9px;color:var(--hjm2-ink-3)}
.hjm2-sidebar-search svg{width:14px;height:14px}
.hjm2-sidebar-search input{border:0;outline:0;background:transparent;min-width:0;flex:1;font-size:10.5px;color:var(--hjm2-ink)}
.hjm2-sidebar-search kbd{font-size:8px;border:1px solid var(--hjm2-line);border-radius:4px;background:#fff;padding:1px 4px}
.hjm2-compose-main{height:38px;margin:9px 11px 0;border:0;border-radius:9px;background:linear-gradient(90deg,#5b8ff9,#45a3f7);color:#fff;font:600 11px/1 var(--hjm2-font);display:flex;align-items:center;justify-content:center;gap:7px;box-shadow:0 7px 18px rgba(59,130,246,.18)}
.hjm2-compose-main svg{width:15px;height:15px}
.hjm2-folders{flex:1;min-height:0;overflow:auto;padding:10px 10px}
.hjm2-folder-label{font-size:9px;font-weight:600;color:var(--hjm2-ink-3);padding:8px 7px 5px}
.hjm2-folder{height:34px;width:100%;border:0;border-radius:8px;background:transparent;color:#5d6470;display:flex;align-items:center;gap:9px;padding:0 9px;text-align:left;font:500 10.5px/1 var(--hjm2-font);transition:.13s ease}
.hjm2-folder:hover{background:var(--hjm2-surface-3);color:var(--hjm2-ink)}
.hjm2-folder.is-active{background:#f1f1f2;color:var(--hjm2-ink);font-weight:600}
.hjm2-folder svg{width:15px;height:15px;flex:none}
.hjm2-folder span{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hjm2-folder b{font-size:9px;color:var(--hjm2-ink-3);font-weight:600}
.hjm2-sidebar-footer{padding:9px 11px 11px;border-top:1px solid var(--hjm2-line-2)}
.hjm2-storage{border:1px solid var(--hjm2-line);border-radius:10px;background:var(--hjm2-surface-2);padding:10px}
.hjm2-storage strong{font-size:10px;display:block}
.hjm2-storage small{font-size:8.5px;color:var(--hjm2-ink-3);display:block;margin-top:3px}
.hjm2-storage-bar{height:4px;border-radius:999px;background:#e4e6ea;margin-top:8px;overflow:hidden}
.hjm2-storage-bar i{display:block;height:100%;background:linear-gradient(90deg,#3b82f6,var(--hjm2-purple));border-radius:999px}
.hjm2-upgrade{height:26px;width:100%;border:0;border-radius:7px;background:var(--hjm2-ink);color:#fff;font:600 9px/1 var(--hjm2-font);margin-top:8px}
.hjm2-topbar{grid-column:3/5;grid-row:1;border-bottom:1px solid var(--hjm2-line);display:flex;align-items:center;gap:12px;padding:0 14px;background:#fff}
.hjm2-mobile-home{display:none;width:34px;height:34px;border-radius:9px;align-items:center;justify-content:center;color:var(--hjm2-ink-2);text-decoration:none;background:var(--hjm2-surface-3);flex:none}
.hjm2-mobile-home svg{width:16px;height:16px}
.hjm2-greeting{min-width:250px;display:flex;align-items:baseline;gap:10px}
.hjm2-greeting strong{font-size:14px;white-space:nowrap}
.hjm2-greeting span{font-size:10px;color:var(--hjm2-ink-3);white-space:nowrap}
.hjm2-global-search{height:36px;max-width:430px;flex:1;border:1px solid var(--hjm2-line);background:var(--hjm2-surface-2);border-radius:9px;display:flex;align-items:center;gap:8px;padding:0 10px;color:var(--hjm2-ink-3)}
.hjm2-global-search svg{width:15px;height:15px}
.hjm2-global-search input{border:0;outline:0;background:transparent;flex:1;min-width:0;font-size:10.5px}
.hjm2-category{height:32px;border:1px solid var(--hjm2-line);border-radius:8px;background:#fff;padding:0 9px;font-size:9.5px;color:var(--hjm2-ink-2)}
.hjm2-top-actions{margin-left:auto;display:flex;align-items:center;gap:6px}
.hjm2-ai-button{width:34px;height:34px;border:0;border-radius:9px;background:linear-gradient(145deg,var(--hjm2-purple),#a855f7);color:#fff;display:grid;place-items:center}
.hjm2-ai-button svg{width:16px;height:16px}
.hjm2-list-pane{grid-column:3;grid-row:2;border-right:1px solid var(--hjm2-line);background:#fff;display:flex;flex-direction:column;min-width:0;min-height:0}
.hjm2-list-toolbar{height:55px;flex:none;display:flex;align-items:center;gap:8px;padding:0 13px;border-bottom:1px solid var(--hjm2-line-2)}
.hjm2-filter-tabs{display:flex;gap:5px;min-width:0;overflow:auto}
.hjm2-filter{height:31px;border:0;border-radius:7px;background:transparent;color:var(--hjm2-ink-3);padding:0 10px;font:500 9.5px/1 var(--hjm2-font);white-space:nowrap}
.hjm2-filter.is-active{background:#fff;color:var(--hjm2-ink);font-weight:600;box-shadow:0 1px 8px rgba(22,24,29,.08);border:1px solid var(--hjm2-line)}
.hjm2-list-toolbar .hjm2-icon-button{margin-left:auto;width:31px;height:31px}
.hjm2-list-status{height:28px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 13px;border-bottom:1px solid var(--hjm2-line-2);font-size:9px;color:var(--hjm2-ink-3)}
.hjm2-mobile-folder{display:none;height:30px;max-width:150px;border:1px solid var(--hjm2-line);border-radius:8px;background:#fff;color:var(--hjm2-ink);font:600 9.5px/1 var(--hjm2-font);padding:0 24px 0 9px}
.hjm2-message-list{flex:1;min-height:0;overflow:auto}
.hjm2-message{position:relative;min-height:82px;border:0;border-bottom:1px solid var(--hjm2-line-2);background:#fff;padding:12px 12px 11px;display:grid;grid-template-columns:34px minmax(0,1fr);gap:10px;text-align:left;width:100%;transition:.12s ease;color:var(--hjm2-ink)}
.hjm2-message:hover{background:#fbfbfc}
.hjm2-app[data-density="compact"] .hjm2-message{min-height:70px;padding-top:9px;padding-bottom:8px}
.hjm2-app[data-density="compact"] .hjm2-message-preview{margin-top:2px}
.hjm2-app[data-density="spacious"] .hjm2-message{min-height:96px;padding-top:15px;padding-bottom:14px}
.hjm2-app[data-density="spacious"] .hjm2-message-preview{margin-top:6px}
.hjm2-message.is-selected{background:#f6f6f7}
.hjm2-message.is-unread:before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:var(--hjm2-purple)}
.hjm2-message-avatar{width:34px;height:34px;border-radius:10px;background:#eee;color:#535a66;display:grid;place-items:center;font-size:10px;font-weight:700}
.hjm2-message-copy{min-width:0}
.hjm2-message-top{display:flex;align-items:center;gap:7px}
.hjm2-message-top strong{font-size:10.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hjm2-message.is-unread .hjm2-message-top strong{font-weight:700}
.hjm2-message-top time{margin-left:auto;font-size:8.5px;color:var(--hjm2-ink-3);white-space:nowrap}
.hjm2-message-subject{display:block;margin-top:3px;font-size:10.5px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hjm2-message-preview{display:block;margin-top:4px;font-size:9px;color:var(--hjm2-ink-3);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hjm2-message-meta{display:flex;align-items:center;gap:6px;margin-top:6px}
.hjm2-message-attachment{height:20px;border-radius:6px;background:var(--hjm2-surface-3);padding:0 7px;display:inline-flex;align-items:center;gap:4px;font-size:8px;color:var(--hjm2-ink-2)}
.hjm2-message-star{margin-left:auto;border:0;background:transparent;color:#a5abb5;font-size:14px;line-height:1;padding:0}
.hjm2-message-star.is-active{color:#f2a93b}
.hjm2-message-skeleton{height:82px;border-bottom:1px solid var(--hjm2-line-2);padding:13px;display:flex;gap:10px}
.hjm2-message-skeleton i{width:34px;height:34px;border-radius:10px;background:#eee;animation:hjm2-pulse 1.2s infinite alternate}
.hjm2-message-skeleton span{flex:1;display:grid;gap:7px}
.hjm2-message-skeleton b,.hjm2-message-skeleton em,.hjm2-message-skeleton small{display:block;height:8px;border-radius:6px;background:#eee;animation:hjm2-pulse 1.2s infinite alternate}
.hjm2-message-skeleton em{width:76%}.hjm2-message-skeleton small{width:92%}
@keyframes hjm2-pulse{to{opacity:.45}}
.hjm2-pagination{height:38px;flex:none;border-top:1px solid var(--hjm2-line-2);display:flex;align-items:center;justify-content:flex-end;gap:6px;padding:0 10px;font-size:8.5px;color:var(--hjm2-ink-3)}
.hjm2-pagination .hjm2-icon-button{width:28px;height:28px}
.hjm2-reader{grid-column:4;grid-row:2;min-width:0;min-height:0;background:#fff;display:flex;flex-direction:column;position:relative}
.hjm2-reader-empty{flex:1;display:grid;place-items:center;text-align:center;color:var(--hjm2-ink-3);padding:30px}
.hjm2-reader-empty svg{width:32px;height:32px;margin:0 auto 13px}
.hjm2-reader-empty strong{font-size:13px;color:var(--hjm2-ink);display:block}
.hjm2-reader-empty p{font-size:10px;max-width:34ch;margin:6px auto 0;line-height:1.6}
.hjm2-reader-content{height:100%;display:flex;flex-direction:column;min-height:0}
.hjm2-reader-toolbar{height:52px;flex:none;border-bottom:1px solid var(--hjm2-line-2);display:flex;align-items:center;gap:5px;padding:0 13px}
.hjm2-reader-toolbar .hjm2-icon-button{width:30px;height:30px}
.hjm2-reader-toolbar .hjm2-icon-button.is-active{color:#f2a93b;background:#fff8e8}
.hjm2-reader-toolbar .hjm2-spacer{flex:1}
.hjm2-reader-scroll{flex:1;min-height:0;overflow:auto}
.hjm2-message-head{padding:15px 18px 13px;border-bottom:1px solid var(--hjm2-line-2)}
.hjm2-message-head-row{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}
.hjm2-message-head h2{font:600 14px/1.4 var(--hjm2-font);margin:0;color:var(--hjm2-ink)}
.hjm2-message-head time{font-size:8.5px;color:var(--hjm2-ink-3);white-space:nowrap;margin-top:3px}
.hjm2-sender{display:flex;align-items:center;gap:10px;margin-top:12px}
.hjm2-sender .hjm2-message-avatar{width:38px;height:38px;border-radius:50%}
.hjm2-sender-copy{min-width:0;flex:1}
.hjm2-sender-copy strong{font-size:10.5px;display:block}
.hjm2-sender-copy span{font-size:8.5px;color:var(--hjm2-ink-3);display:block;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hjm2-security-banner{margin:13px 18px 0;padding:10px 12px;border:1px solid var(--hjm2-purple-line);background:#fbf8ff;color:#6d28d9;border-radius:8px;font-size:9.5px;font-weight:600}
.hjm2-security-banner.is-caution{border-color:#f0d6a5;background:var(--hjm2-amber-soft);color:#8b5700}
.hjm2-message-body{padding:19px 18px 24px;font-family:var(--hjm2-font);font-size:11px;line-height:1.72;color:#202228;overflow-wrap:anywhere}
.hjm2-message-body iframe{width:100%;min-height:390px;border:0;background:#fff}
.hjm2-remote-images{margin:13px 18px 0;padding:9px 11px;border-radius:8px;background:var(--hjm2-surface-3);font-size:9px;color:var(--hjm2-ink-2);display:flex;align-items:center;justify-content:space-between;gap:10px}
.hjm2-attachments{margin:0 18px 18px;border:1px solid var(--hjm2-line);border-radius:10px;padding:11px;background:var(--hjm2-surface-2)}
.hjm2-attachments>header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:9px}
.hjm2-attachments>header strong{font-size:10px}.hjm2-attachments>header small{font-size:8.5px;color:var(--hjm2-ink-3)}
.hjm2-attachment-grid{display:flex;flex-wrap:wrap;gap:7px}
.hjm2-attachment{min-width:130px;border:1px solid var(--hjm2-line);border-radius:8px;background:#fff;padding:8px 9px;display:flex;align-items:center;gap:7px;text-decoration:none;color:var(--hjm2-ink)}
.hjm2-attachment svg{width:15px;height:15px;color:var(--hjm2-ink-2)}
.hjm2-attachment div{min-width:0}
.hjm2-attachment strong,.hjm2-attachment small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hjm2-attachment strong{font-size:8.5px}.hjm2-attachment small{font-size:7.5px;color:var(--hjm2-ink-3);margin-top:2px}
.hjm2-reply-actions{padding:0 18px 20px;display:flex;gap:7px}

/* Composer */
.hjm2-compose{position:fixed;right:28px;bottom:24px;z-index:2147482800;width:min(610px,calc(100vw - 40px));height:min(610px,calc(100vh - 70px));background:#fff;border:1px solid #dcdde2;border-radius:13px;box-shadow:0 24px 70px rgba(22,24,29,.25);display:flex;flex-direction:column;overflow:hidden;font-family:var(--hjm2-font)}
.hjm2-compose-head{height:49px;flex:none;background:#24262c;color:#fff;display:flex;align-items:center;gap:10px;padding:0 13px}
.hjm2-compose-head strong{font-size:11px;flex:1}
.hjm2-compose-head button{color:#fff}
.hjm2-compose.is-minimized{height:49px}
.hjm2-compose.is-minimized .hjm2-compose-fields,.hjm2-compose.is-minimized .hjm2-compose-body,.hjm2-compose.is-minimized .hjm2-compose-files,.hjm2-compose.is-minimized .hjm2-compose-footer{display:none}
.hjm2-compose-fields{flex:none;border-bottom:1px solid var(--hjm2-line-2)}
.hjm2-compose-row{min-height:42px;display:flex;align-items:center;gap:8px;padding:0 13px;border-bottom:1px solid var(--hjm2-line-2)}
.hjm2-compose-row:last-child{border-bottom:0}
.hjm2-compose-row label{width:48px;font-size:9px;color:var(--hjm2-ink-3)}
.hjm2-compose-row input{border:0;outline:0;flex:1;min-width:0;font-size:10.5px;background:transparent}
.hjm2-compose-row button{border:0;background:transparent;color:var(--hjm2-ink-3);font-size:9px}
.hjm2-compose-optional{display:none}
.hjm2-compose.is-expanded .hjm2-compose-optional{display:flex}
.hjm2-compose-body{flex:1;min-height:0;border:0;outline:0;padding:15px;font:400 11px/1.7 var(--hjm2-font);resize:none}
.hjm2-compose-footer{height:54px;flex:none;border-top:1px solid var(--hjm2-line);display:flex;align-items:center;gap:7px;padding:0 12px}
.hjm2-compose-footer .hjm2-button{height:34px}
.hjm2-compose-footer .hjm2-spacer{flex:1}
.hjm2-attachment-input{position:absolute;opacity:0;pointer-events:none}
.hjm2-compose-files{max-height:72px;overflow:auto;padding:7px 12px;border-top:1px solid var(--hjm2-line-2);display:flex;gap:6px;flex-wrap:wrap}
.hjm2-compose-file{height:25px;border-radius:7px;background:var(--hjm2-surface-3);padding:0 8px;display:inline-flex;align-items:center;gap:5px;font-size:8.5px;color:var(--hjm2-ink-2)}

/* Drawers: settings and health */
.hjm2-layer{position:fixed;inset:0;z-index:2147482700;font-family:var(--hjm2-font)}
.hjm2-layer-backdrop{position:absolute;inset:0;border:0;background:rgba(15,16,20,.38)}
.hjm2-drawer{position:absolute;top:0;right:0;bottom:0;width:min(460px,94vw);background:#fff;box-shadow:-18px 0 50px rgba(22,24,29,.16);display:flex;flex-direction:column}
.hjm2-drawer-head{height:60px;flex:none;border-bottom:1px solid var(--hjm2-line);display:flex;align-items:center;gap:10px;padding:0 17px}
.hjm2-drawer-head strong{font-size:14px;flex:1}
.hjm2-drawer-tabs{height:45px;flex:none;border-bottom:1px solid var(--hjm2-line);display:flex;gap:3px;padding:0 13px;overflow:auto}
.hjm2-drawer-tabs button{border:0;background:transparent;color:var(--hjm2-ink-3);font:600 10px/1 var(--hjm2-font);padding:0 10px;position:relative;white-space:nowrap}
.hjm2-drawer-tabs button.is-active{color:var(--hjm2-purple)}
.hjm2-drawer-tabs button.is-active:after{content:"";position:absolute;left:8px;right:8px;bottom:-1px;height:2px;background:var(--hjm2-purple)}
.hjm2-drawer-body{flex:1;min-height:0;overflow:auto;padding:18px}
.hjm2-settings-panel{display:none}
.hjm2-settings-panel.is-active{display:block}
.hjm2-settings-panel h3{font-size:15px;margin:0}.hjm2-settings-panel>p{font-size:11px;color:var(--hjm2-ink-2);line-height:1.6;margin:6px 0 17px}
.hjm2-settings-list{display:grid;gap:8px}
.hjm2-settings-mailbox{display:flex;align-items:center;gap:10px;border:1px solid var(--hjm2-line);border-radius:11px;padding:10px;text-decoration:none;color:var(--hjm2-ink)}
.hjm2-settings-mailbox.is-active{border-color:#c5acf9;background:var(--hjm2-purple-soft)}
.hjm2-settings-mailbox div{min-width:0;flex:1}
.hjm2-settings-mailbox strong,.hjm2-settings-mailbox small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hjm2-settings-mailbox strong{font-size:11px}.hjm2-settings-mailbox small{font-size:9px;color:var(--hjm2-ink-3);margin-top:2px}
.hjm2-settings-form{display:grid;gap:12px}
.hjm2-preference{display:flex;align-items:center;justify-content:space-between;gap:15px;border-bottom:1px solid var(--hjm2-line-2);padding:12px 0}
.hjm2-preference strong{display:block;font-size:11px}.hjm2-preference small{display:block;font-size:9px;color:var(--hjm2-ink-3);margin-top:3px;line-height:1.45}
.hjm2-health-score{width:74px;height:74px;border-radius:50%;display:grid;place-items:center;background:var(--hjm2-green-soft);color:var(--hjm2-green);font-size:22px;font-weight:700;margin:4px auto 18px}
.hjm2-health-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.hjm2-health-item{border:1px solid var(--hjm2-line);border-radius:10px;padding:11px}
.hjm2-health-item span{font-size:9px;color:var(--hjm2-ink-3);display:block}.hjm2-health-item strong{font-size:11px;display:block;margin-top:5px}
.hjm2-health-actions{display:flex;gap:8px;margin-top:15px}
.hjm2-health-output{white-space:pre-wrap;font:500 9px/1.55 ui-monospace,SFMono-Regular,Menlo,monospace;background:#17191e;color:#e8ebf1;border-radius:10px;padding:12px;max-height:230px;overflow:auto;margin-top:12px}
.hjm2-toast{position:fixed;left:50%;bottom:24px;z-index:2147483000;transform:translate(-50%,10px);opacity:0;background:#202228;color:#fff;border-radius:10px;padding:10px 14px;font:600 10px/1.4 var(--hjm2-font);box-shadow:0 16px 36px rgba(22,24,29,.22);transition:.2s ease;max-width:min(480px,88vw);text-align:center}
.hjm2-toast.is-visible{opacity:1;transform:translate(-50%,0)}
.hjm2-toast.is-error{background:#a53131}

@media(max-width:1240px){
  .hjm2-app{padding:0}
  .hjm2-app-frame{border-radius:0;border:0;grid-template-columns:52px 220px 340px minmax(0,1fr)}
  .hjm2-greeting{min-width:210px}
}
@media(max-width:1020px){
  .hjm2-app-frame{grid-template-columns:52px 215px 330px minmax(0,1fr)}
  .hjm2-greeting{display:none}
  .hjm2-global-search{max-width:none}
}
@media(max-width:860px){
  .hjm2-app-frame{grid-template-columns:52px 210px minmax(0,1fr);grid-template-rows:58px minmax(0,1fr)}
  .hjm2-topbar{grid-column:3;grid-row:1}
  .hjm2-list-pane{grid-column:3;grid-row:2;border-right:0}
  .hjm2-reader{position:fixed;inset:0;z-index:2147482300;transform:translateX(100%);transition:transform .24s ease}
  .hjm2-reader.is-open{transform:translateX(0)}
  .hjm2-reader-toolbar:before{content:"Back";font-size:10px;color:var(--hjm2-purple);margin-right:4px}
  .hjm2-category{display:none}
}
@media(max-width:640px){
  .hjm2-setup-dialog{left:0;right:0;bottom:0;top:auto;width:100%;height:92vh;transform:none;border-radius:18px 18px 0 0}
  .hjm2-setup-progress{padding:0 10px}
  .hjm2-setup-step span{display:none}
  .hjm2-setup-workspace{display:block;overflow:auto}
  .hjm2-setup-main{padding:22px 17px}
  .hjm2-setup-summary{border-left:0;border-top:1px solid var(--hjm2-line);padding:17px}
  .hjm2-domain-grid{grid-template-columns:1fr}
  .hjm2-mailbox-fields{grid-template-columns:1fr}
  .hjm2-mailbox-fields .hjm2-field:last-child{grid-column:auto}
  .hjm2-picker-header{display:block}.hjm2-picker-header .hjm2-button{margin-top:13px}
  .hjm2-picker-overview{grid-template-columns:1fr 1fr}.hjm2-picker-overview .is-primary{grid-column:1/-1}
  .hjm2-picker-table-head{display:none}
  .hjm2-picker-row{grid-template-columns:1fr auto;padding:13px;gap:9px}
  .hjm2-picker-row>.hjm2-picker-cell{display:none}
  .hjm2-picker-actions{grid-column:2;grid-row:1}
  .hjm2-app-frame{grid-template-columns:1fr;grid-template-rows:54px minmax(0,1fr)}
  .hjm2-rail,.hjm2-sidebar{display:none}
  .hjm2-topbar{grid-column:1;grid-row:1;padding:0 10px}
  .hjm2-mobile-home{display:flex}
  .hjm2-list-pane{grid-column:1;grid-row:2}
  .hjm2-list-status{height:40px}
  .hjm2-list-status>[data-hjm2-folder-title]{display:none}
  .hjm2-mobile-folder{display:block}
  .hjm2-global-search{height:34px}
  .hjm2-top-actions .hjm2-icon-button:nth-of-type(2){display:none}
  .hjm2-compose{right:0;bottom:0;width:100%;height:92vh;border-radius:16px 16px 0 0}
  .hjm2-drawer{top:auto;left:0;width:100%;height:88vh;border-radius:16px 16px 0 0}
}
@media(prefers-reduced-motion:reduce){.hjm2-setup *,.hjm2-picker *,.hjm2-app *{animation-duration:.01ms!important;transition-duration:.01ms!important}}

/* ========================================================================
 * HostingJet 0.28.87 — Workspaces mail manager, adapted from supplied HTML.
 * Poppins is mandatory throughout Mail, including inputs, labels and inbox UI.
 * ====================================================================== */
.hjm2-picker,.hjm2-picker *,.hjm2-picker input,.hjm2-picker select,.hjm2-picker button,.hjm2-setup,.hjm2-setup *,.hjm2-setup input,.hjm2-setup select,.hjm2-setup button,.hjm2-app,.hjm2-app *,.hjm2-app input,.hjm2-app select,.hjm2-app textarea,.hjm2-app button{font-family:'Poppins',sans-serif!important}
.hjmailx{--hjmx-brand:#3d4af5;--hjmx-brand-deep:#2c37c7;--hjmx-brand-soft:#eef0fe;--hjmx-paper:#fff;--hjmx-sunk:#f5f6f8;--hjmx-line:#e4e6eb;--hjmx-line-soft:#edeef2;--hjmx-ink:#12141b;--hjmx-soft:#585f6c;--hjmx-faint:#9498a3;--hjmx-good:#187a54;--hjmx-good-soft:#e7f6ef;--hjmx-warn:#a9660a;--hjmx-warn-soft:#fbf0dd;position:relative;max-width:1120px;margin:0 auto;padding:34px 30px 70px;color:var(--hjmx-ink);background:transparent}
.hjmailx button,.hjmailx input,.hjmailx select{font:inherit}.hjmailx-view-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:24px}.hjmailx-kicker{display:block;margin-bottom:7px;font-size:10px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--hjmx-brand)}.hjmailx-view-head h1{margin:0;font-size:27px;line-height:1.15;font-weight:600;letter-spacing:-.035em}.hjmailx-view-head p{margin:7px 0 0;color:var(--hjmx-soft);font-size:12.5px;line-height:1.55}.hjmailx-add{border-radius:999px!important;padding-inline:18px!important;box-shadow:0 9px 22px -11px rgba(61,74,245,.55)}
.hjmailx-stat-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px;margin-bottom:22px}.hjmailx-stat{min-height:112px;padding:15px 16px;border:1px solid var(--hjmx-line);border-radius:16px;background:#fff;text-align:left;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}.hjmailx-stat>span{font-size:10px;font-weight:600;text-transform:uppercase;letter-spacing:.055em;color:var(--hjmx-faint)}.hjmailx-stat>strong{margin-top:8px;font-size:22px;line-height:1;font-weight:600;letter-spacing:-.035em}.hjmailx-stat>small{margin-top:7px;font-size:10.5px;color:var(--hjmx-faint)}button.hjmailx-stat{cursor:pointer}button.hjmailx-stat:hover{border-color:#d7d9e0;box-shadow:0 8px 22px -16px rgba(18,20,27,.35);transform:translateY(-1px)}.hjmailx-stat.is-warn>strong{color:var(--hjmx-warn)}.hjmailx-stat.is-good>strong{color:var(--hjmx-good)}
.hjmailx-toolbar{margin-bottom:16px}.hjmailx-search{height:42px;display:flex;align-items:center;gap:9px;padding:0 14px;border:1px solid var(--hjmx-line);border-radius:999px;background:var(--hjmx-sunk);transition:border-color .18s ease,box-shadow .18s ease,background .18s ease}.hjmailx-search:focus-within,.hjmailx-list-search:focus-within{border-color:var(--hjmx-brand);background:#fff;box-shadow:0 0 0 4px rgba(61,74,245,.12)}.hjmailx-search svg,.hjmailx-list-search svg{width:15px;height:15px;color:var(--hjmx-faint);flex:none}.hjmailx-search input,.hjmailx-list-search input{width:100%;min-width:0;border:0!important;outline:0!important;background:transparent!important;box-shadow:none!important;color:var(--hjmx-ink);font-size:12px!important;padding:0!important}.hjmailx-toolbar-bottom{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-top:12px}.hjmailx-chips{display:flex;gap:6px;flex-wrap:wrap}.hjmailx-chips button{border:1px solid var(--hjmx-line);background:#fff;color:var(--hjmx-soft);border-radius:999px;padding:7px 12px;font-size:10.5px;font-weight:600;cursor:pointer;transition:.15s ease}.hjmailx-chips button:hover{background:var(--hjmx-sunk)}.hjmailx-chips button.is-active{border-color:var(--hjmx-ink);background:var(--hjmx-ink);color:#fff}.hjmailx-sort{display:flex;align-items:center;gap:8px;color:var(--hjmx-faint);font-size:10.5px}.hjmailx-sort select{appearance:none;border:1px solid var(--hjmx-line);border-radius:8px;background:#fff;padding:7px 28px 7px 10px;color:var(--hjmx-ink);font-size:10.5px;font-weight:600;outline:0;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23585f6c' stroke-width='1.3' fill='none'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 9px center}.hjmailx-grid-head{display:flex;align-items:center;justify-content:space-between;margin:20px 2px 11px}.hjmailx-grid-head strong{font-size:12px;font-weight:600}.hjmailx-grid-head span{font-size:10.5px;color:var(--hjmx-faint)}
.hjmailx-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(255px,1fr));gap:13px}.hjmailx-ws-card{min-width:0;border:1px solid var(--hjmx-line);border-radius:16px;background:#fff;padding:17px;text-align:left;cursor:pointer;color:var(--hjmx-ink);display:flex;flex-direction:column;gap:11px;transition:border-color .22s ease,box-shadow .22s ease,transform .22s ease;animation:hjmxCardIn .4s ease both;animation-delay:calc(var(--i,1)*28ms)}.hjmailx-ws-card:hover{border-color:#d6d8df;box-shadow:0 16px 32px -24px rgba(18,20,27,.48);transform:translateY(-2px)}.hjmailx-ws-card:focus-visible{outline:2px solid var(--hjmx-brand);outline-offset:2px}.hjmailx-card-top,.hjmailx-card-foot{display:flex;align-items:center;justify-content:space-between;gap:10px}.hjmailx-badge,.hjmailx-drawer-badge{width:39px;height:39px;border-radius:11px;display:grid;place-items:center;background:linear-gradient(145deg,var(--hjmx-brand),var(--hjmx-brand-deep));color:#fff;font-size:14px;font-weight:600;box-shadow:0 10px 18px -12px rgba(61,74,245,.6)}.hjmailx-status,.hjmailx-mail-status{display:inline-flex;align-items:center;gap:5px;border-radius:999px;padding:4px 8px;font-size:9.5px;font-weight:600;white-space:nowrap}.hjmailx-status i,.hjmailx-mail-status i{width:5px;height:5px;border-radius:50%;background:currentColor}.hjmailx-status.is-active,.hjmailx-mail-status.is-active{background:var(--hjmx-good-soft);color:var(--hjmx-good)}.hjmailx-status.is-setup,.hjmailx-mail-status.is-setup{background:var(--hjmx-warn-soft);color:var(--hjmx-warn)}.hjmailx-domain-name{font-size:14px;font-weight:600;letter-spacing:-.025em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hjmailx-meta{font-size:10.5px;color:var(--hjmx-soft);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hjmailx-bar{height:5px;border-radius:99px;background:#ecedf2;overflow:hidden}.hjmailx-bar i{display:block;height:100%;border-radius:inherit;background:var(--hjmx-brand)}.hjmailx-storage-label{margin-top:-5px;font-size:9.5px;color:var(--hjmx-faint)}.hjmailx-notice{display:flex;align-items:center;gap:6px;padding:7px 8px;border-radius:8px;background:var(--hjmx-warn-soft);color:var(--hjmx-warn);font-size:10px;font-weight:500}.hjmailx-notice svg{width:13px;height:13px;flex:none}.hjmailx-card-foot{margin-top:2px;min-height:24px}.hjmailx-avatars{display:flex;align-items:center}.hjmailx-avatars i{width:23px;height:23px;margin-left:-6px;border:2px solid #fff;border-radius:50%;display:grid;place-items:center;background:#747a86;color:#fff;font-size:8px;font-style:normal;font-weight:600}.hjmailx-avatars i:first-child{margin-left:0}.hjmailx-avatars i:nth-child(2){background:#5063c8}.hjmailx-avatars i:nth-child(3){background:#a9654c}.hjmailx-avatars i.is-more{background:#eceef2;color:#5b6170}.hjmailx-manage{display:flex;align-items:center;gap:4px;color:var(--hjmx-brand);font-size:10.5px;font-weight:600}.hjmailx-manage svg{width:12px;height:12px}.hjmailx-no-results,.hjmailx-mail-no-results{padding:25px;text-align:center;color:var(--hjmx-faint);font-size:11px}.hjmailx-empty{padding:70px 20px;text-align:center;border:1px dashed #d7d9e0;border-radius:18px}.hjmailx-empty>span{width:56px;height:56px;margin:0 auto 16px;border-radius:17px;background:var(--hjmx-brand-soft);color:var(--hjmx-brand);display:grid;place-items:center}.hjmailx-empty svg{width:25px;height:25px}.hjmailx-empty h2{margin:0;font-size:16px;font-weight:600}.hjmailx-empty p{max-width:420px;margin:8px auto 0;color:var(--hjmx-soft);font-size:11px;line-height:1.6}
.hjmailx-overlay{position:fixed;inset:0;z-index:2147482400;background:rgba(18,20,27,.4);backdrop-filter:blur(2px);opacity:0;transition:opacity .28s ease}.hjmailx-overlay.is-open{opacity:1}.hjmailx-drawer{position:fixed;z-index:2147482410;top:0;right:0;bottom:0;width:min(460px,94vw);background:#fff;box-shadow:-26px 0 64px -20px rgba(14,16,22,.22);display:flex;flex-direction:column;transform:translateX(102%);transition:transform .34s cubic-bezier(.16,1,.3,1)}.hjmailx-drawer.is-open{transform:translateX(0)}.hjmailx-drawer-head{display:flex;align-items:flex-start;gap:12px;padding:20px 20px 17px;border-bottom:1px solid var(--hjmx-line-soft);flex:none}.hjmailx-drawer-head>div{flex:1;min-width:0}.hjmailx-drawer-head>div>div{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.hjmailx-drawer-head h2{margin:0;font-size:15px;font-weight:600;letter-spacing:-.025em;word-break:break-word}.hjmailx-drawer-head p{margin:4px 0 0;color:var(--hjmx-soft);font-size:10.5px}.hjmailx-drawer-state{border-radius:999px;background:var(--hjmx-good-soft);color:var(--hjmx-good);padding:3px 7px;font-size:9px;font-weight:600}.hjmailx-drawer-state.is-setup{background:var(--hjmx-warn-soft);color:var(--hjmx-warn)}.hjmailx-close{width:31px;height:31px;display:grid;place-items:center;flex:none;border:1px solid var(--hjmx-line);border-radius:50%;background:#fff;color:var(--hjmx-soft);cursor:pointer}.hjmailx-close:hover{background:var(--hjmx-sunk);color:var(--hjmx-ink)}.hjmailx-close svg{width:13px;height:13px}.hjmailx-drawer-body{flex:1;min-height:0;overflow:auto;padding:17px 20px 32px}.hjmailx-domain-panel{display:block}.hjmailx-domain-panel[hidden]{display:none}.hjmailx-create-card{width:100%;display:flex;align-items:center;gap:11px;padding:13px;border:1px solid var(--hjmx-line);border-radius:14px;background:#fff;text-align:left;color:var(--hjmx-ink);cursor:pointer;transition:.18s ease;margin-bottom:14px}.hjmailx-create-card:hover{border-color:#d6d9e7;background:#fbfbff;box-shadow:0 8px 20px -18px rgba(61,74,245,.5)}.hjmailx-create-card>span{width:32px;height:32px;border-radius:9px;background:var(--hjmx-brand-soft);color:var(--hjmx-brand);display:grid;place-items:center;flex:none}.hjmailx-create-card>span svg{width:15px;height:15px}.hjmailx-create-card>div{flex:1;min-width:0}.hjmailx-create-card strong,.hjmailx-create-card small{display:block}.hjmailx-create-card strong{font-size:11.5px;font-weight:600}.hjmailx-create-card small{margin-top:2px;color:var(--hjmx-faint);font-size:9.5px}.hjmailx-create-card>svg{width:14px;height:14px;color:var(--hjmx-faint)}.hjmailx-list-search{height:37px;display:flex;align-items:center;gap:8px;padding:0 12px;border:1px solid var(--hjmx-line);border-radius:999px;background:var(--hjmx-sunk);margin-bottom:10px}.hjmailx-list-meta{display:flex;justify-content:space-between;margin:0 2px 7px;color:var(--hjmx-faint);font-size:9.5px}.hjmailx-mailbox-list{display:flex;flex-direction:column;gap:7px}.hjmailx-mailbox-row{display:flex;align-items:flex-start;gap:10px;padding:11px;border:1px solid var(--hjmx-line);border-radius:11px;background:#fff;transition:.16s ease}.hjmailx-mailbox-row:hover{border-color:#d7d9e0;box-shadow:0 6px 18px -16px rgba(18,20,27,.4)}.hjmailx-mail-avatar{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:#6772c6;color:#fff;font-size:10px;font-weight:600;flex:none}.hjmailx-mail-main{flex:1;min-width:0}.hjmailx-mail-main strong,.hjmailx-mail-main small,.hjmailx-mail-main em{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hjmailx-mail-main strong{font-size:10.5px;font-weight:600}.hjmailx-mail-main small{margin-top:3px;color:var(--hjmx-soft);font-size:9px}.hjmailx-mail-main em{margin-top:3px;color:var(--hjmx-faint);font-size:8.5px;font-style:normal}.hjmailx-mail-actions{display:flex;align-items:flex-end;gap:6px;flex-direction:column;flex:none}.hjmailx-mail-actions .hjm2-button{min-width:76px}.hjmailx-drawer-empty{padding:32px 12px;text-align:center;color:var(--hjmx-soft)}.hjmailx-drawer-empty strong{font-size:11px}.hjmailx-drawer-empty p{margin:5px 0 0;font-size:9.5px;color:var(--hjmx-faint)}body.hjmailx-drawer-lock{overflow:hidden!important}@keyframes hjmxCardIn{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:860px){.hjmailx{padding:25px 18px 58px}.hjmailx-stat-strip{grid-template-columns:1fr 1fr}.hjmailx-view-head{align-items:flex-start}.hjmailx-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.hjmailx{padding:20px 13px 48px}.hjmailx-view-head{display:block}.hjmailx-view-head .hjmailx-add{margin-top:13px}.hjmailx-stat-strip{gap:8px}.hjmailx-stat{min-height:96px;padding:12px}.hjmailx-stat>strong{font-size:19px}.hjmailx-toolbar-bottom{align-items:flex-start;flex-direction:column}.hjmailx-sort{width:100%;justify-content:space-between}.hjmailx-grid{grid-template-columns:1fr}.hjmailx-drawer{top:auto;left:0;right:0;width:100%;height:min(88vh,760px);border-radius:18px 18px 0 0;transform:translateY(102%)}.hjmailx-drawer.is-open{transform:translateY(0)}.hjmailx-drawer-head{padding:16px}.hjmailx-drawer-body{padding:14px 16px 26px}.hjmailx-mailbox-row{align-items:center}.hjmailx-mail-actions .hjmailx-mail-status{display:none}}

/* v0.28.147 — exact Mail page stays full-screen but now participates in the
   HALO two-column shell. The previous source-only rule positioned the Mail
   main panel at inset:0, which placed the iframe underneath the persistent
   HALO sidebar and clipped the entire left edge. */
.hj-shell.hj-mail-source-only {
  position: fixed !important;
  inset: 0 !important;
  z-index: 2147481000 !important;
  display: grid !important;
  grid-template-columns: var(--halo-sidebar-width, 286px) minmax(0, 1fr) !important;
  grid-template-rows: minmax(0, 1fr) !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  height: 100vh !important;
  height: 100dvh !important;
  min-height: 100vh !important;
  min-height: 100dvh !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  background: transparent !important;
}
.hj-shell.hj-mail-source-only > .hj-sidebar {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  grid-column: 1 !important;
  grid-row: 1 !important;
  position: relative !important;
  inset: auto !important;
  width: var(--halo-sidebar-width, 286px) !important;
  min-width: var(--halo-sidebar-width, 286px) !important;
  max-width: var(--halo-sidebar-width, 286px) !important;
  height: 100vh !important;
  height: 100dvh !important;
  min-height: 0 !important;
  transform: none !important;
  z-index: 3 !important;
}
.hj-shell.hj-mail-source-only > .hj-main {
  position: relative !important;
  inset: auto !important;
  grid-column: 2 !important;
  grid-row: 1 !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  height: 100vh !important;
  height: 100dvh !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  background: transparent !important;
}
.hj-shell.hj-mail-source-only > .hj-main > .hj-topbar,
.hj-shell.hj-mail-source-only > .hj-main > .hj-breadcrumbs,
.hj-shell.hj-mail-source-only > .hj-main > .hj-page-title-row,
.hj-shell.hj-mail-source-only > .hj-main > .hj-page-context,
.hj-shell.hj-mail-source-only > .hj-main > .hj-service-workspace-bar,
.hj-shell.hj-mail-source-only > .hj-main > [data-hj81-notifications-popover],
.hj-shell.hj-mail-source-only > .hj-main > [data-hj81-account-popover] { display: none !important; }
.hj-shell.hj-mail-source-only .hj-customer-mail-source-frame {
  position: relative !important;
  inset: auto !important;
  display: block !important;
  flex: 1 1 auto !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  height: 100% !important;
  min-height: 0 !important;
  border: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  vertical-align: top !important;
  background: transparent !important;
}
@media (max-width: 900px) {
  .hj-shell.hj-mail-source-only {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  .hj-shell.hj-mail-source-only > .hj-sidebar {
    display: none !important;
  }
  .hj-shell.hj-mail-source-only > .hj-main {
    grid-column: 1 !important;
  }
}


/* v0.28.90 — Mail lives inside the normal HALO customer shell. Only the
   navigation rail supplied inside the Mail HTML is removed. */
body .hj-shell.hj-mail-source-embedded{position:relative!important;inset:auto!important;display:flex!important;width:100%!important;max-width:none!important;min-height:100vh!important;margin:0!important;padding:0!important;overflow:visible!important;background:transparent!important}
body .hj-shell.hj-mail-source-embedded>.hj-sidebar{display:flex!important;visibility:visible!important;opacity:1!important}
body .hj-shell.hj-mail-source-embedded>.hj-main{position:relative!important;inset:auto!important;display:flex!important;flex:1 1 auto!important;flex-direction:column!important;width:auto!important;max-width:none!important;min-width:0!important;min-height:100vh!important;margin:0!important;padding:0!important;overflow:hidden!important;background:transparent!important}
body .hj-shell.hj-mail-source-embedded>.hj-main>.hj-topbar{display:flex!important;visibility:visible!important;opacity:1!important;flex:0 0 var(--halo-header-height,64px)!important}
body .hj-shell.hj-mail-source-embedded>.hj-main>.hj-breadcrumbs,body .hj-shell.hj-mail-source-embedded>.hj-main>.hj-page-title-row,body .hj-shell.hj-mail-source-embedded>.hj-main>.hj-page-context,body .hj-shell.hj-mail-source-embedded>.hj-main>.hj-service-workspace-bar{display:none!important}
body .hj-shell.hj-mail-source-embedded .hj-customer-mail-source-frame{position:relative!important;inset:auto!important;display:block!important;flex:1 1 auto!important;width:100%!important;max-width:none!important;height:calc(100vh - var(--halo-header-height,64px))!important;height:calc(100dvh - var(--halo-header-height,64px))!important;min-height:620px!important;border:0!important;margin:0!important;padding:0!important;background:transparent!important}
@media(max-width:900px){body .hj-shell.hj-mail-source-embedded>.hj-sidebar{display:none!important}body .hj-shell.hj-mail-source-embedded .hj-customer-mail-source-frame{height:calc(100dvh - var(--halo-header-height,64px))!important;min-height:560px!important}}

/* 0.28.90 — keep the HALO Email nav kebab visible even when global SVG rules
   reset icon fills. This is the outer HALO sidebar menu, not the Mail source UI. */
body .hj-shell .hj-mail-nav-more{display:flex!important;align-items:center!important;justify-content:center!important;color:#5f6470!important}
body .hj-shell .hj-mail-nav-more svg{display:block!important;width:17px!important;height:17px!important;fill:currentColor!important;stroke:none!important;overflow:visible!important}
body .hj-shell .hj-mail-nav-more svg circle{display:block!important;fill:currentColor!important;stroke:none!important;opacity:1!important}


/* 0.28.97 — mailbox quota meters use the shared HostingJet analytic-meter language. */
.hjm2-storage-meter{position:relative!important;height:9px!important;border-radius:999px!important;overflow:hidden!important;background:repeating-linear-gradient(135deg,#eef0f2 0 3px,#fff 3px 6px)!important;box-shadow:inset 0 0 0 1px #eff0f2!important;}
.hjm2-storage-meter i{position:relative!important;z-index:1!important;height:100%!important;background:#baff14!important;border-radius:999px!important;box-shadow:none!important;}

/* v0.28.153 — app (4) Mail source uses a clean pure-white canvas and internal drawer/inbox scrolling. */
.hj-shell.hj-mail-source-only,
.hj-shell.hj-mail-source-only > .hj-main,
.hj-shell.hj-mail-source-only .hj-customer-mail-source-frame{background:transparent!important}


/* v0.28.154 — remove every parent-shell tint around the supplied Mail source. */
html.hj-cloud-os-ready body:has(.hj-shell.hj-mail-source-only),
body:has(.hj-shell.hj-mail-source-only),
body .hj-shell.hj-mail-source-only,
body .hj-shell.hj-mail-source-only > .hj-main,
body .hj-shell.hj-mail-source-only .hj-customer-mail-source-frame,
body .hj-shell.hj-mail-source-embedded,
body .hj-shell.hj-mail-source-embedded > .hj-main,
body .hj-shell.hj-mail-source-embedded .hj-customer-mail-source-frame{
  background:#FFFFFF !important;
  background-image:none !important;
  box-shadow:none !important;
}
body .hj-shell.hj-mail-source-only,
body .hj-shell.hj-mail-source-embedded{
  border:0 !important;
  border-radius:0 !important;
}
body .hj-shell.hj-mail-source-only .hj-customer-mail-source-frame,
body .hj-shell.hj-mail-source-embedded .hj-customer-mail-source-frame{
  outline:0 !important;
}


/* v0.28.155 — remove residual grey edge/gutter around the Mail workspace shell. */
body .hj-shell.hj-mail-source-only,
body .hj-shell.hj-mail-source-only > .hj-main,
body .hj-shell.hj-mail-source-only .hj-customer-mail-source-frame,
body .hj-shell.hj-mail-source-embedded,
body .hj-shell.hj-mail-source-embedded > .hj-main,
body .hj-shell.hj-mail-source-embedded .hj-customer-mail-source-frame{
  background:#fff !important;
  background-image:none !important;
  box-shadow:none !important;
  filter:none !important;
}
body .hj-shell.hj-mail-source-only > .hj-main,
body .hj-shell.hj-mail-source-embedded > .hj-main{
  padding:0 !important;
  margin:0 !important;
}
body .hj-shell.hj-mail-source-only .hj-customer-mail-source-frame,
body .hj-shell.hj-mail-source-embedded .hj-customer-mail-source-frame{
  display:block !important;
  border:0 !important;
  outline:0 !important;
  box-shadow:none !important;
}


/* v0.28.156 — let the Mail source use a transparent canvas so the original Halo page background shows through cleanly. */
body .hj-shell.hj-mail-source-only,
body .hj-shell.hj-mail-source-only > .hj-main,
body .hj-shell.hj-mail-source-only .hj-customer-mail-source-frame,
body .hj-shell.hj-mail-source-embedded,
body .hj-shell.hj-mail-source-embedded > .hj-main,
body .hj-shell.hj-mail-source-embedded .hj-customer-mail-source-frame{
  background:transparent !important;
  background-image:none !important;
  box-shadow:none !important;
}

/* v0.28.157 — widen the imported Mail workspace so the main area does not look broken or overly empty on the right side. */


/* v0.28.158 — fix the right gutter by removing internal iframe scrolling and letting the Mail source fully occupy the available width while the browser canvas owns vertical scrolling. */
.hj-shell.hj-mail-source-only{
  position:relative !important;
  inset:auto !important;
  height:auto !important;
  min-height:100vh !important;
  overflow:visible !important;
  width:100% !important;
  max-width:none !important;
}
.hj-shell.hj-mail-source-only > .hj-main,
body .hj-shell.hj-mail-source-embedded > .hj-main{
  height:auto !important;
  min-height:100vh !important;
  overflow:visible !important;
}
.hj-shell.hj-mail-source-only .hj-customer-mail-source-frame,
body .hj-shell.hj-mail-source-embedded .hj-customer-mail-source-frame{
  width:100% !important;
  max-width:none !important;
  height:auto !important;
  min-height:calc(100vh - var(--halo-header-height,64px)) !important;
  overflow:hidden !important;
  border:0 !important;
  margin:0 !important;
  padding:0 !important;
  box-shadow:none !important;
  background:transparent !important;
}
html.hj-cloud-os-ready body,
body{
  scrollbar-gutter:auto !important;
}

/* v0.28.159 — final Mail edge/centering correction.
   The imported source contains off-canvas drawers; the source itself now hides
   their shadow while closed. Keep the outer shell truly edge-to-edge and let
   the page own one browser scrollbar. */
html.hj-cloud-os-ready body:has(.hj-shell.hj-mail-source-only),
body:has(.hj-shell.hj-mail-source-only){
  margin:0 !important;
  padding:0 !important;
  max-width:none !important;
  overflow-x:hidden !important;
  background:transparent !important;
}
body .hj-shell.hj-mail-source-only{
  width:100% !important;
  max-width:none !important;
  min-width:0 !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
  filter:none !important;
  background:transparent !important;
}
body .hj-shell.hj-mail-source-only > .hj-main{
  width:100% !important;
  max-width:none !important;
  min-width:0 !important;
  min-height:100vh !important;
  min-height:100dvh !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
  filter:none !important;
  overflow:visible !important;
  background:transparent !important;
}
body .hj-shell.hj-mail-source-only .hj-customer-mail-source-frame{
  display:block !important;
  width:100% !important;
  max-width:none !important;
  min-width:0 !important;
  min-height:100vh !important;
  min-height:100dvh !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  outline:0 !important;
  box-shadow:none !important;
  filter:none !important;
  overflow:hidden !important;
  background:transparent !important;
}

/* v0.28.160 — solid Mail viewport canvas.
   Legacy public.css still gives .hj-page-current-mail a tinted canvas. The
   source iframe used to be transparent, which allowed that tint to show at
   the far-right viewport edge. The Mail route now owns an explicit white
   canvas from the WordPress/HALO host through the iframe itself. */
html.hj-cloud-os-ready body:has(.hj-shell.hj-mail-source-only),
body:has(.hj-shell.hj-mail-source-only),
body:has(.hj-shell.hj-mail-source-embedded),
body .hj-page-current-mail,
body .hj-page-current-mail > .hj-main,
body .hj-shell.hj-mail-source-only,
body .hj-shell.hj-mail-source-only > .hj-main,
body .hj-shell.hj-mail-source-only .hj-customer-mail-source-frame,
body .hj-shell.hj-mail-source-embedded,
body .hj-shell.hj-mail-source-embedded > .hj-main,
body .hj-shell.hj-mail-source-embedded .hj-customer-mail-source-frame{
  background:#FFFFFF !important;
  background-color:#FFFFFF !important;
  background-image:none !important;
  box-shadow:none !important;
  filter:none !important;
}
body .hj-shell.hj-mail-source-only .hj-customer-mail-source-frame,
body .hj-shell.hj-mail-source-embedded .hj-customer-mail-source-frame{
  border:0 !important;
  outline:0 !important;
  color-scheme:light !important;
}


/* v0.28.163 — live inbox redesign based on the supplied inbox_fixed.html.
   The prototype's visual language is mapped onto HostingJet's real IMAP/SMTP
   data attributes; no sample messages or simulated actions are shipped. */
.hjm2-app{
  --hjm163-onyx:#0a0a0c;
  --hjm163-onyx-2:#1c1c1f;
  --hjm163-sidebar-card:#18181b;
  --hjm163-sidebar-card-2:#1f1f23;
  --hjm163-sidebar-border:#28282c;
  --hjm163-sidebar-text:#f6f6f8;
  --hjm163-sidebar-muted:#8e8e96;
  --hjm163-red:#f0384a;
  --hjm163-green:#3fae6b;
  --hjm163-orange:#ff7a45;
  --hjm163-ink:#0f0f13;
  --hjm163-soft:#48484f;
  --hjm163-muted:#77777f;
  --hjm163-line:#eceef0;
  --hjm163-line-soft:#f4f4f6;
  --hjm163-radius-lg:14px;
  --hjm163-radius-md:11px;
  --hjm163-ease:cubic-bezier(.2,.7,.2,1);
  inset:0!important;
  padding:0!important;
  background:#2c2c30!important;
  color:var(--hjm163-ink)!important;
  font-family:'Poppins',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif!important;
}
.hjm2-app .hjm2-app-frame.hjm2-inbox-v163{
  height:100vh!important;height:100dvh!important;width:100%!important;
  max-width:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;
  display:grid!important;grid-template-columns:238px 415px minmax(0,1fr)!important;grid-template-rows:minmax(0,1fr)!important;
  overflow:hidden!important;background:#fff!important;
}
.hjm2-app .hjm2-rail,.hjm2-app .hjm2-topbar{display:none!important}

/* Dark navigation column */
.hjm2-app .hjm2-sidebar{
  grid-column:1!important;grid-row:1!important;min-height:0!important;
  border:0!important;border-right:1px solid #17171a!important;background:var(--hjm163-onyx)!important;color:var(--hjm163-sidebar-text)!important;
  display:flex!important;flex-direction:column!important;padding:15px 14px 14px!important;overflow-y:auto!important;
}
.hjm2-sidebar-home{display:flex;align-items:center;gap:9px;padding:5px 7px 11px;color:var(--hjm163-sidebar-text);text-decoration:none;font-size:12px;font-weight:700;letter-spacing:-.01em}
.hjm2-sidebar-home-mark{width:28px;height:28px;border-radius:9px;background:#fff;color:var(--hjm163-onyx);display:grid;place-items:center;box-shadow:0 8px 18px -10px rgba(255,255,255,.45)}
.hjm2-sidebar-home-mark svg{width:14px;height:14px}
.hjm2-app .hjm2-account{margin:0 0 11px!important;padding:7px 8px!important;border:1px solid transparent!important;border-radius:var(--hjm163-radius-md)!important;background:transparent!important;gap:9px!important;min-height:49px!important;transition:.18s var(--hjm163-ease)}
.hjm2-app .hjm2-account:hover{background:var(--hjm163-sidebar-card)!important;border-color:var(--hjm163-sidebar-border)!important}
.hjm2-app .hjm2-account-avatar{width:34px!important;height:34px!important;border-radius:50%!important;background:#fff!important;color:var(--hjm163-onyx)!important;font-size:12px!important;box-shadow:0 0 0 1px rgba(255,255,255,.06)!important}
.hjm2-app .hjm2-account-copy strong{font-size:12.5px!important;color:var(--hjm163-sidebar-text)!important;font-weight:600!important}
.hjm2-app .hjm2-account-copy small{font-size:10px!important;color:var(--hjm163-sidebar-muted)!important;margin-top:2px!important}
.hjm2-mailbox-switch{width:25px;height:26px;max-width:25px;border:0;border-radius:7px;background:var(--hjm163-sidebar-card-2);color:var(--hjm163-sidebar-text);font-size:0;padding:0;cursor:pointer;color-scheme:dark}
.hjm2-app .hjm2-account>.hjm2-icon-button{width:26px!important;height:26px!important;color:var(--hjm163-sidebar-muted)!important;border:0!important}
.hjm2-app .hjm2-account>.hjm2-icon-button:hover{background:var(--hjm163-sidebar-card-2)!important;color:#fff!important}
.hjm2-app .hjm2-compose-main{height:auto!important;min-height:41px!important;margin:0 0 10px!important;border:0!important;border-radius:var(--hjm163-radius-md)!important;background:linear-gradient(135deg,#fff 0%,#eeeef1 100%)!important;color:var(--hjm163-onyx)!important;font-size:12.5px!important;font-weight:700!important;box-shadow:0 12px 24px -12px rgba(255,255,255,.22),0 1px 0 rgba(255,255,255,.4) inset!important;transition:transform .16s var(--hjm163-ease),box-shadow .18s var(--hjm163-ease)!important}
.hjm2-app .hjm2-compose-main:hover{transform:translateY(-1px)!important;box-shadow:0 16px 30px -12px rgba(255,255,255,.32),0 1px 0 rgba(255,255,255,.4) inset!important}
.hjm2-app .hjm2-compose-main svg{width:14px!important;height:14px!important}
.hjm2-app .hjm2-sidebar-search{height:38px!important;margin:0 0 12px!important;border:1px solid var(--hjm163-sidebar-border)!important;border-radius:var(--hjm163-radius-md)!important;background:var(--hjm163-sidebar-card)!important;padding:0 10px!important;color:#5a5a62!important;transition:.15s var(--hjm163-ease)!important}
.hjm2-app .hjm2-sidebar-search:focus-within{border-color:#48484f!important;box-shadow:0 0 0 3px rgba(255,255,255,.06)!important}
.hjm2-app .hjm2-sidebar-search input{font-size:12px!important;color:var(--hjm163-sidebar-text)!important;background:transparent!important}
.hjm2-app .hjm2-sidebar-search input::placeholder{color:#5a5a62!important}
.hjm2-app .hjm2-sidebar-search kbd{display:none!important}
.hjm2-sidebar-heading{padding:0 6px 9px}
.hjm2-sidebar-heading>div{display:flex;align-items:center;gap:7px}
.hjm2-sidebar-heading strong{font-size:19px;font-weight:700;letter-spacing:-.025em;color:#fff}
.hjm2-unread-badge{display:inline-flex;align-items:center;justify-content:center;min-width:24px;height:18px;padding:0 6px;border-radius:20px;background:var(--hjm163-red);color:#fff;font-size:9.5px;font-weight:700}
.hjm2-sidebar-heading small{display:block;margin-top:3px;color:#5a5a62;font-size:10.5px;font-weight:500}
.hjm2-app .hjm2-folders{padding:0!important;overflow:auto!important;flex:1!important;min-height:110px!important}
.hjm2-app .hjm2-folder-label{padding:10px 8px 5px!important;color:var(--hjm163-sidebar-muted)!important;font-size:10px!important;font-weight:700!important;text-transform:uppercase!important;letter-spacing:.045em!important}
.hjm2-app .hjm2-folder{height:36px!important;border-radius:8px!important;color:#c6c6cd!important;padding:0 8px!important;gap:9px!important;font-size:12px!important;font-weight:600!important;transition:.16s var(--hjm163-ease)!important}
.hjm2-app .hjm2-folder:hover{background:var(--hjm163-sidebar-card)!important;color:#fff!important}
.hjm2-app .hjm2-folder.is-active{background:linear-gradient(135deg,#fff 0%,#eeeef1 100%)!important;color:var(--hjm163-onyx)!important;box-shadow:0 8px 18px -8px rgba(255,255,255,.25)!important;font-weight:700!important}
.hjm2-app .hjm2-folder svg{width:14px!important;height:14px!important}
.hjm2-app .hjm2-folder b{min-width:21px;padding:2px 6px;border-radius:20px;background:rgba(255,255,255,.08);color:var(--hjm163-sidebar-muted)!important;text-align:center;font-size:9.5px!important}
.hjm2-app .hjm2-folder.is-active b{background:rgba(10,10,12,.12)!important;color:var(--hjm163-onyx)!important}
.hjm2-sidebar-quick{display:grid;gap:3px;padding:8px 0 6px;border-top:1px solid var(--hjm163-sidebar-border)}
.hjm2-sidebar-quick>button{display:grid;grid-template-columns:25px minmax(0,1fr) auto;align-items:center;gap:8px;width:100%;padding:6px 7px;border:0;border-radius:8px;background:transparent;color:#c6c6cd;text-align:left;transition:.15s var(--hjm163-ease)}
.hjm2-sidebar-quick>button:hover{background:var(--hjm163-sidebar-card);color:#fff}
.hjm2-sidebar-quick>button>span{width:25px;height:25px;border-radius:8px;background:var(--hjm163-sidebar-card);display:grid;place-items:center;color:var(--hjm163-sidebar-muted)}
.hjm2-sidebar-quick>button:hover>span{background:var(--hjm163-sidebar-card-2);color:#fff}
.hjm2-sidebar-quick svg{width:13px;height:13px}
.hjm2-sidebar-quick b{font-size:11px;font-weight:600}
.hjm2-sidebar-quick i{font-size:9px;font-weight:600;font-style:normal;color:#5a5a62}
.hjm2-app .hjm2-sidebar-footer{padding:8px 0 0!important;border:0!important}
.hjm2-app .hjm2-storage{padding:10px 11px!important;border:1px solid var(--hjm163-sidebar-border)!important;border-radius:var(--hjm163-radius-md)!important;background:var(--hjm163-sidebar-card)!important}
.hjm2-storage-copy{min-width:0}
.hjm2-app .hjm2-storage strong{color:#fff!important;font-size:10.5px!important;font-weight:600!important}
.hjm2-app .hjm2-storage small{color:var(--hjm163-sidebar-muted)!important;font-size:9px!important}
.hjm2-app .hjm2-storage-bar{height:5px!important;margin-top:8px!important;background:#2b2b30!important}
.hjm2-app .hjm2-storage-bar i{background:linear-gradient(90deg,#fff,#9c9ca5)!important}
.hjm2-app .hjm2-upgrade{height:27px!important;margin-top:8px!important;background:#fff!important;color:var(--hjm163-onyx)!important;border-radius:7px!important;font-size:9.5px!important}

/* Message list column */
.hjm2-app .hjm2-list-pane{grid-column:2!important;grid-row:1!important;min-width:0!important;min-height:0!important;border-right:1px solid var(--hjm163-line)!important;background:#fff!important;display:flex!important;flex-direction:column!important}
.hjm2-center-head{height:64px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 16px;flex:none}
.hjm2-center-title{display:flex;align-items:center;gap:8px}
.hjm2-center-title h1{margin:0;font-size:19px;font-weight:700;letter-spacing:-.025em;color:var(--hjm163-ink)}
.hjm2-beta-pill{display:inline-flex;align-items:center;height:19px;padding:0 8px;border-radius:20px;background:linear-gradient(135deg,#2b2b30,#0a0a0c);color:#fff;font-size:8.5px;font-weight:700;letter-spacing:.04em}
.hjm2-center-actions{display:flex;gap:3px}
.hjm2-center-actions .hjm2-icon-button{width:29px!important;height:29px!important;border:0!important;color:var(--hjm163-soft)!important}
.hjm2-center-actions .hjm2-icon-button:hover{background:var(--hjm163-line-soft)!important;color:var(--hjm163-ink)!important}
.hjm2-inbox-search-row{display:flex;gap:7px;padding:0 16px 12px;flex:none}
.hjm2-app .hjm2-global-search{height:39px!important;max-width:none!important;flex:1!important;border:1px solid var(--hjm163-line)!important;border-radius:var(--hjm163-radius-md)!important;background:var(--hjm163-line-soft)!important;padding:0 11px!important;color:var(--hjm163-muted)!important;transition:.15s var(--hjm163-ease)!important}
.hjm2-app .hjm2-global-search:focus-within{background:#fff!important;border-color:#c9c9d0!important;box-shadow:0 0 0 3px rgba(15,15,20,.05)!important}
.hjm2-app .hjm2-global-search svg{width:15px!important;height:15px!important}
.hjm2-app .hjm2-global-search input{font-size:12px!important;color:var(--hjm163-ink)!important}
.hjm2-app .hjm2-global-search input::placeholder{color:var(--hjm163-muted)!important}
.hjm2-app .hjm2-category{height:39px!important;min-width:62px!important;border:1px solid var(--hjm163-line)!important;border-radius:var(--hjm163-radius-md)!important;background:#fff!important;color:var(--hjm163-soft)!important;font-size:10px!important;padding:0 7px!important}
.hjm2-app .hjm2-list-toolbar{height:46px!important;padding:0 16px!important;border-bottom:1px solid var(--hjm163-line)!important;border-top:1px solid var(--hjm163-line-soft)!important;gap:8px!important}
.hjm2-app .hjm2-filter-tabs{gap:18px!important;overflow:visible!important}
.hjm2-app .hjm2-filter{height:45px!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;color:var(--hjm163-muted)!important;font-size:11.5px!important;font-weight:600!important;position:relative!important;box-shadow:none!important}
.hjm2-app .hjm2-filter.is-active{color:var(--hjm163-ink)!important;background:transparent!important;border:0!important;box-shadow:none!important}
.hjm2-app .hjm2-filter.is-active:after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:2px;border-radius:3px;background:var(--hjm163-ink)}
.hjm2-app .hjm2-filter span{font-size:9px;color:inherit}
.hjm2-app .hjm2-list-toolbar>.hjm2-icon-button{width:29px!important;height:29px!important;border:0!important;margin-left:auto!important}
.hjm2-app .hjm2-list-status{height:31px!important;padding:0 16px!important;border-bottom:1px solid var(--hjm163-line-soft)!important;font-size:9.5px!important;color:var(--hjm163-muted)!important}
.hjm2-app .hjm2-list-status [data-hjm2-folder-title]{font-weight:600;color:var(--hjm163-soft)}
.hjm2-app .hjm2-message-list{flex:1!important;min-height:0!important;overflow:auto!important;padding:10px 14px 12px!important;display:flex!important;flex-direction:column!important;gap:7px!important;background:#fff!important}
.hjm2-app .hjm2-message{min-height:0!important;border:1px solid rgba(15,15,20,.05)!important;border-radius:var(--hjm163-radius-lg)!important;background:#fff!important;padding:14px 15px!important;display:grid!important;grid-template-columns:15px 38px minmax(0,1fr)!important;align-items:start!important;gap:11px!important;box-shadow:0 1px 2px rgba(15,15,20,.02)!important;animation:hjm163-card-in .34s var(--hjm163-ease) both!important;animation-delay:var(--hjm2-row-delay,0ms)!important;transition:background .18s var(--hjm163-ease),box-shadow .2s var(--hjm163-ease),transform .16s var(--hjm163-ease),border-color .18s var(--hjm163-ease)!important}
.hjm2-app .hjm2-message:hover{background:#fbfbfc!important;border-color:rgba(15,15,20,.08)!important;box-shadow:0 8px 20px -14px rgba(15,15,20,.13)!important;transform:translateY(-1px)!important}
.hjm2-app .hjm2-message.is-selected{background:#fff!important;border-color:rgba(15,15,20,.11)!important;box-shadow:0 14px 28px -16px rgba(15,15,20,.18),0 0 0 1px rgba(15,15,20,.06)!important}
.hjm2-app .hjm2-message.is-unread:before{content:""!important;position:absolute!important;left:0!important;top:14px!important;bottom:14px!important;width:2px!important;border-radius:0 2px 2px 0!important;background:var(--hjm163-onyx)!important;opacity:.18!important}
.hjm2-message-radio{width:15px;height:15px;border-radius:50%;border:1.7px solid #d7d7dd;margin-top:2px;display:block;transition:.15s var(--hjm163-ease)}
.hjm2-message.is-unread .hjm2-message-radio{border-color:var(--hjm163-onyx);box-shadow:inset 0 0 0 3px #fff;background:var(--hjm163-onyx)}
.hjm2-app .hjm2-message-avatar{width:38px!important;height:38px!important;border-radius:50%!important;background:linear-gradient(135deg,#3a3a40,#151518)!important;color:#fff!important;font-size:10.5px!important;font-weight:700!important;box-shadow:0 2px 5px -2px rgba(15,15,20,.25)!important}
.hjm2-app .hjm2-message-copy{display:flex!important;flex-direction:column!important;min-width:0!important}
.hjm2-app .hjm2-message-top{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:7px!important}
.hjm2-app .hjm2-message-top strong{font-size:12.5px!important;color:var(--hjm163-ink)!important;font-weight:600!important;letter-spacing:-.01em!important}
.hjm2-message-tags{display:flex;align-items:center;gap:4px;flex:none}
.hjm2-message-tag{display:inline-flex;align-items:center;gap:3px;padding:2.5px 7px;border-radius:20px;background:#eef0f3;color:#33333b;font-size:8.5px;font-weight:600;line-height:1.2}
.hjm2-message-tag:before{content:"";width:3px;height:3px;border-radius:50%;background:currentColor}
.hjm2-message-tag.is-blue{background:#e7f4fb;color:#2f8fc7}
.hjm2-message-tag.is-blue:before{display:none}
.hjm2-message-tag svg{width:9px;height:9px}
.hjm2-app .hjm2-message-subject{margin-top:2px!important;font-size:10.5px!important;font-weight:500!important;color:var(--hjm163-muted)!important;line-height:1.4!important}
.hjm2-app .hjm2-message-preview{margin-top:5px!important;font-size:11.5px!important;font-weight:400!important;color:var(--hjm163-soft)!important;line-height:1.48!important;white-space:normal!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important}
.hjm2-app .hjm2-message.is-unread .hjm2-message-preview{color:var(--hjm163-ink)!important}
.hjm2-app .hjm2-message-meta{display:flex!important;align-items:center!important;gap:11px!important;margin-top:8px!important;padding-top:8px!important;border-top:1px solid rgba(15,15,20,.05)!important;color:var(--hjm163-muted)!important}
.hjm2-app .hjm2-message-meta>span{display:flex;align-items:center;gap:4px;font-size:9px;min-width:0}
.hjm2-app .hjm2-message-meta>span svg{width:10px;height:10px}
.hjm2-app .hjm2-message-meta b{color:var(--hjm163-soft);font-weight:600}
.hjm2-app .hjm2-message-star{margin-left:auto!important;width:22px;height:22px;border:0!important;border-radius:7px!important;display:grid!important;place-items:center!important;color:#b0b0b6!important;background:transparent!important;padding:0!important}
.hjm2-app .hjm2-message-star:hover{background:var(--hjm163-line-soft)!important;color:var(--hjm163-ink)!important}
.hjm2-app .hjm2-message-star svg{width:13px;height:13px}
.hjm2-app .hjm2-message-star.is-active{color:#e3ad20!important}
.hjm2-app .hjm2-message-star.is-active svg{fill:currentColor!important}
.hjm2-app .hjm2-message-skeleton{height:116px!important;border:1px solid var(--hjm163-line-soft)!important;border-radius:var(--hjm163-radius-lg)!important;padding:14px!important;margin:0!important;flex:none!important}
.hjm2-app .hjm2-pagination{height:42px!important;padding:0 14px!important;border-top:1px solid var(--hjm163-line)!important;background:#fff!important}
.hjm2-app .hjm2-pagination span{font-size:9.5px!important;color:var(--hjm163-muted)!important}
.hjm2-app .hjm2-pagination .hjm2-icon-button{width:27px!important;height:27px!important;border:0!important}

/* Reading pane */
.hjm2-app .hjm2-reader{grid-column:3!important;grid-row:1!important;min-width:0!important;min-height:0!important;background:#fff!important;display:flex!important;flex-direction:column!important;position:relative!important}
.hjm2-app .hjm2-reader-empty{display:grid!important;place-items:center!important;height:100%!important;min-height:0!important;padding:40px!important;text-align:center!important;color:var(--hjm163-muted)!important}
.hjm2-app .hjm2-reader-empty>div{max-width:300px}
.hjm2-empty-mark{width:66px;height:66px;margin:0 auto 14px;border-radius:50%;background:var(--hjm163-line-soft);display:grid;place-items:center;color:var(--hjm163-muted)}
.hjm2-empty-mark svg{width:27px!important;height:27px!important;margin:0!important}
.hjm2-app .hjm2-reader-empty strong{display:block;font-size:14px!important;color:var(--hjm163-ink)!important;font-weight:700!important}
.hjm2-app .hjm2-reader-empty p{margin:6px 0 0!important;font-size:11.5px!important;line-height:1.55!important;color:var(--hjm163-muted)!important}
.hjm2-app .hjm2-reader-content{height:100%!important;min-height:0!important;display:flex!important;flex-direction:column!important}
.hjm2-app .hjm2-reader-toolbar{height:64px!important;flex:none!important;border-bottom:1px solid var(--hjm163-line)!important;padding:0 23px!important;display:flex!important;align-items:center!important;gap:6px!important}
.hjm2-reader-toolbar-label{font-size:11px;font-weight:600;color:var(--hjm163-muted);margin-left:5px}
.hjm2-toolbar-divider{width:1px;height:20px;background:var(--hjm163-line);margin:0 2px}
.hjm2-app .hjm2-reader-toolbar .hjm2-icon-button{width:30px!important;height:30px!important;border:0!important;color:var(--hjm163-soft)!important}
.hjm2-app .hjm2-reader-toolbar .hjm2-icon-button:hover{background:var(--hjm163-line-soft)!important;color:var(--hjm163-ink)!important}
.hjm2-app .hjm2-reader-toolbar [data-hjm2-star-action].is-active{color:#e3ad20!important}
.hjm2-app .hjm2-reader-toolbar [data-hjm2-star-action].is-active svg{fill:currentColor!important}
.hjm2-app .hjm2-reader-scroll{flex:1!important;min-height:0!important;overflow:auto!important;padding:0 26px 26px!important}
.hjm2-app .hjm2-message-head{max-width:820px!important;margin:0 auto!important;padding:20px 0 0!important;border:0!important}
.hjm2-app .hjm2-sender{display:flex!important;align-items:center!important;gap:12px!important;margin:0!important}
.hjm2-app .hjm2-sender .hjm2-message-avatar{width:44px!important;height:44px!important;flex:none!important}
.hjm2-app .hjm2-sender-copy{min-width:0!important;flex:1!important}
.hjm2-app .hjm2-sender-copy strong{font-size:15px!important;font-weight:700!important;color:var(--hjm163-ink)!important}
.hjm2-app .hjm2-sender-copy span{margin-top:2px!important;font-size:10.5px!important;color:var(--hjm163-muted)!important}
.hjm2-app .hjm2-sender>.hjm2-icon-button{width:30px!important;height:30px!important;border:0!important}
.hjm2-app .hjm2-message-head-row{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:20px!important;margin-top:20px!important}
.hjm2-app .hjm2-message-head-row h2{margin:0!important;font-size:22px!important;line-height:1.28!important;letter-spacing:-.025em!important;font-weight:700!important;color:var(--hjm163-ink)!important}
.hjm2-app .hjm2-message-head-row time{padding-top:5px!important;font-size:10px!important;color:var(--hjm163-muted)!important;white-space:nowrap!important}
.hjm2-app .hjm2-security-banner,.hjm2-app .hjm2-remote-images{max-width:820px!important;margin:14px auto 0!important;border-radius:var(--hjm163-radius-md)!important;font-size:10.5px!important}
.hjm2-app .hjm2-security-banner{background:#f7f7f8!important;border:1px solid var(--hjm163-line)!important;color:var(--hjm163-muted)!important;padding:9px 11px!important}
.hjm2-app .hjm2-security-banner.is-caution{background:#fff6e8!important;border-color:#f2dfb8!important;color:#8a6414!important}
.hjm2-app .hjm2-remote-images{background:#fff6e8!important;border:1px solid #f2dfb8!important;color:#8a6414!important;padding:8px 10px!important}
.hjm2-app .hjm2-message-body{max-width:820px!important;margin:17px auto 0!important;border:0!important;background:#fff!important;min-height:260px!important}
.hjm2-app .hjm2-message-body iframe{width:100%!important;min-height:360px!important;border:0!important;background:#fff!important}
.hjm2-app .hjm2-attachments{max-width:820px!important;margin:20px auto 0!important;padding:0 0 20px!important;border:0!important}
.hjm2-app .hjm2-attachments header{display:flex!important;align-items:center!important;justify-content:space-between!important;margin-bottom:11px!important}
.hjm2-app .hjm2-attachment-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important}
.hjm2-app .hjm2-attachment{border:1px solid var(--hjm163-line)!important;border-radius:11px!important;background:var(--hjm163-line-soft)!important;color:var(--hjm163-ink)!important;text-decoration:none!important;transition:.15s var(--hjm163-ease)!important}
.hjm2-app .hjm2-attachment:hover{background:#fff!important;box-shadow:0 9px 20px -15px rgba(15,15,20,.25)!important;transform:translateY(-1px)!important}
.hjm2-app .hjm2-reply-actions{max-width:820px!important;margin:0 auto!important;padding:16px 0 20px!important;border-top:1px solid var(--hjm163-line)!important}
.hjm2-app .hjm2-button.is-purple{background:linear-gradient(135deg,#2b2b30,#0a0a0c)!important;color:#fff!important}

/* Compose becomes the supplied right-side drawer pattern. */
.hjm2-app .hjm2-compose{position:fixed!important;z-index:2147482350!important;top:0!important;right:0!important;bottom:0!important;width:min(470px,94vw)!important;height:100vh!important;height:100dvh!important;border:0!important;border-radius:0!important;background:#fff!important;box-shadow:-24px 0 60px -20px rgba(0,0,0,.35)!important;display:flex!important;flex-direction:column!important;overflow:hidden!important;animation:hjm163-drawer-in .3s var(--hjm163-ease) both!important}
.hjm2-app .hjm2-compose[hidden]{display:none!important}
.hjm2-app .hjm2-compose.is-minimized{top:auto!important;height:56px!important;bottom:18px!important;right:18px!important;border-radius:14px!important;width:340px!important}
.hjm2-app .hjm2-compose-head{height:64px!important;flex:none!important;padding:0 20px!important;border-bottom:1px solid var(--hjm163-line)!important;background:#fff!important;color:var(--hjm163-ink)!important}
.hjm2-app .hjm2-compose-head strong{font-size:15px!important;font-weight:700!important}
.hjm2-app .hjm2-compose-fields{flex:none!important;border:0!important}
.hjm2-app .hjm2-compose-row{min-height:48px!important;padding:0 20px!important;border-bottom:1px solid var(--hjm163-line-soft)!important}
.hjm2-app .hjm2-compose-row label{width:53px!important;font-size:10.5px!important;color:var(--hjm163-muted)!important}
.hjm2-app .hjm2-compose-row input{font-size:12.5px!important;color:var(--hjm163-ink)!important}
.hjm2-app .hjm2-compose-row>button{font-size:10px!important;color:var(--hjm163-muted)!important}
.hjm2-app .hjm2-compose-body{flex:1!important;min-height:180px!important;padding:18px 20px!important;border:0!important;resize:none!important;outline:0!important;font-size:12.5px!important;line-height:1.7!important;color:var(--hjm163-ink)!important;background:#fff!important}
.hjm2-app .hjm2-compose-files{padding:0 20px 10px!important}
.hjm2-app .hjm2-compose-footer{height:66px!important;flex:none!important;padding:0 20px!important;border-top:1px solid var(--hjm163-line)!important;background:#fff!important}
.hjm2-app .hjm2-compose-footer [data-hjm2-send]{height:40px!important;border-radius:24px!important;padding:0 19px!important}

/* Existing settings/health remain functional but use the same monochrome surface. */
.hjm2-app .hjm2-layer{z-index:2147482400!important}
.hjm2-app .hjm2-layer-backdrop{background:rgba(8,8,10,.48)!important;backdrop-filter:blur(3px)!important}
.hjm2-app .hjm2-drawer{width:min(470px,94vw)!important;border:0!important;border-radius:0!important;box-shadow:-24px 0 60px -20px rgba(0,0,0,.35)!important}
.hjm2-app .hjm2-drawer-head{height:64px!important;padding:0 20px!important;border-bottom:1px solid var(--hjm163-line)!important}
.hjm2-app .hjm2-drawer-tabs{padding:10px 14px 0!important;border-bottom:1px solid var(--hjm163-line)!important;gap:16px!important}
.hjm2-app .hjm2-drawer-tabs button.is-active{color:var(--hjm163-ink)!important}
.hjm2-app .hjm2-drawer-tabs button.is-active:after{background:var(--hjm163-ink)!important}

@keyframes hjm163-card-in{from{opacity:0;transform:translateY(8px) scale(.99)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes hjm163-drawer-in{from{opacity:.65;transform:translateX(34px)}to{opacity:1;transform:translateX(0)}}

@media(max-width:1180px){
  .hjm2-app .hjm2-app-frame.hjm2-inbox-v163{grid-template-columns:220px 360px minmax(0,1fr)!important}
  .hjm2-app .hjm2-message{padding:12px!important;grid-template-columns:14px 34px minmax(0,1fr)!important;gap:9px!important}
  .hjm2-app .hjm2-message-avatar{width:34px!important;height:34px!important}
  .hjm2-message-tags .hjm2-message-tag{display:none!important}
  .hjm2-app .hjm2-reader-scroll{padding-left:20px!important;padding-right:20px!important}
}
@media(max-width:900px){
  .hjm2-app .hjm2-app-frame.hjm2-inbox-v163{grid-template-columns:360px minmax(0,1fr)!important}
  .hjm2-app .hjm2-sidebar{display:none!important}
  .hjm2-app .hjm2-list-pane{grid-column:1!important}
  .hjm2-app .hjm2-reader{grid-column:2!important}
  .hjm2-app .hjm2-mobile-folder{display:block!important}
}
@media(max-width:760px){
  .hjm2-app .hjm2-app-frame.hjm2-inbox-v163{display:block!important;position:relative!important}
  .hjm2-app .hjm2-list-pane{position:absolute!important;inset:0!important;width:100%!important;border-right:0!important}
  .hjm2-app .hjm2-reader{position:absolute!important;inset:0!important;width:100%!important;z-index:20!important;transform:translateX(100%)!important;transition:transform .28s var(--hjm163-ease)!important;box-shadow:-20px 0 50px -30px rgba(0,0,0,.35)!important}
  .hjm2-app .hjm2-reader.is-open{transform:translateX(0)!important}
  .hjm2-center-head{height:58px!important}
  .hjm2-app .hjm2-list-toolbar{padding-left:14px!important;padding-right:14px!important}
  .hjm2-inbox-search-row{padding-left:14px!important;padding-right:14px!important}
  .hjm2-app .hjm2-message-list{padding-left:10px!important;padding-right:10px!important}
  .hjm2-app .hjm2-reader-toolbar{height:58px!important;padding:0 14px!important}
  .hjm2-app .hjm2-reader-scroll{padding:0 17px 22px!important}
  .hjm2-app .hjm2-message-head-row{display:block!important}
  .hjm2-app .hjm2-message-head-row time{display:block;margin-top:5px!important}
  .hjm2-app .hjm2-attachment-grid{grid-template-columns:1fr!important}
  .hjm2-app .hjm2-category{display:none!important}
}
@media(max-width:460px){
  .hjm2-app .hjm2-filter-tabs{gap:14px!important}
  .hjm2-app .hjm2-message{grid-template-columns:12px 34px minmax(0,1fr)!important;padding:11px!important;gap:8px!important}
  .hjm2-app .hjm2-message-preview{-webkit-line-clamp:2!important}
  .hjm2-app .hjm2-compose{width:100vw!important;max-width:100vw!important}
}
@media(prefers-reduced-motion:reduce){
  .hjm2-app .hjm2-message,.hjm2-app .hjm2-compose,.hjm2-app .hjm2-reader{animation:none!important;transition-duration:.001ms!important}
}
/* Hidden-state guard for the v0.28.163 flex/grid overrides. */
.hjm2-app .hjm2-reader-empty[hidden],
.hjm2-app .hjm2-reader-content[hidden]{display:none!important}

/* v0.28.165 — exact supplied inbox host. The Mail iframe owns the full viewport;
   the customer-supplied HTML inside it is not restyled or modified. */
body .hj-shell.hj-mail-source-only{
  position:fixed!important;inset:0!important;z-index:2147483000!important;
  display:block!important;width:100vw!important;max-width:none!important;
  height:100vh!important;height:100dvh!important;min-height:0!important;
  margin:0!important;padding:0!important;overflow:hidden!important;background:transparent!important;
}
body .hj-shell.hj-mail-source-only>.hj-sidebar{display:none!important;visibility:hidden!important;}
body .hj-shell.hj-mail-source-only>.hj-main{
  position:fixed!important;inset:0!important;display:block!important;
  width:100vw!important;max-width:none!important;height:100vh!important;height:100dvh!important;
  min-height:0!important;margin:0!important;padding:0!important;overflow:hidden!important;background:transparent!important;
}
body .hj-shell.hj-mail-source-only>.hj-main>.hj-topbar,
body .hj-shell.hj-mail-source-only>.hj-main>.hj-breadcrumbs,
body .hj-shell.hj-mail-source-only>.hj-main>.hj-page-title-row,
body .hj-shell.hj-mail-source-only>.hj-main>.hj-page-context,
body .hj-shell.hj-mail-source-only>.hj-main>.hj-service-workspace-bar{display:none!important;}
body .hj-shell.hj-mail-source-only .hj-customer-mail-source-frame{
  position:fixed!important;inset:0!important;display:block!important;
  width:100vw!important;max-width:none!important;height:100vh!important;height:100dvh!important;
  min-height:0!important;margin:0!important;padding:0!important;border:0!important;outline:0!important;
  box-shadow:none!important;overflow:hidden!important;background:transparent!important;
}
