#atosy-intermail-877{position:fixed;z-index:7990;inset:132px 0 0;background:radial-gradient(ellipse at 70% 15%,#143b7c 0%,#071e43 60%,#061a38 100%);color:#dce9fd;font:500 14px/1.45 system-ui,-apple-system,"Segoe UI",sans-serif;overflow:auto}#atosy-intermail-877[hidden]{display:none!important}#atosy-intermail-877 *{box-sizing:border-box}#atosy-intermail-877 button{font:inherit;cursor:pointer;color:inherit}#atosy-intermail-877 button:focus-visible,#atosy-intermail-877 input:focus-visible{outline:2px solid #58c9ff;outline-offset:2px}.im-page{padding:16px clamp(12px,3vw,46px) 28px;height:100%;min-height:650px;display:flex;flex-direction:column;gap:15px}.im-heading{display:flex;align-items:end;justify-content:space-between;gap:16px}.im-crumb{font-size:12px;color:#9ebcdf;margin-bottom:10px}.im-title{display:flex;align-items:center;gap:14px}.im-icon{display:grid;place-items:center;border-radius:14px;background:#ff884f;box-shadow:0 0 22px #ff884f55;width:52px;height:52px;color:white;font-size:28px;font-weight:800}.im-title h1{font-size:27px;line-height:1.1;margin:0;color:#f3f8ff}.im-title p{margin:3px 0 0;color:#abc4e3}.im-stats{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.im-stats>div{min-width:100px;border:1px solid #436ba3;border-radius:13px;background:#183f755e;padding:7px 15px;font-size:16px}.im-stats b{margin-left:8px;color:#fff}.im-stats small{display:block;font-size:11px;color:#b6d0ed}.im-stats>button{border:1px solid #557eae;background:#193c69;border-radius:11px;width:36px;height:36px}.im-demo{font-size:10px;letter-spacing:.06em;color:#f4c57c}.im-layout{display:grid;grid-template-columns:minmax(190px,18%) minmax(310px,36%) minmax(360px,1fr);gap:10px;flex:1;min-height:0}.im-sidebar,.im-list,.im-reader{background:linear-gradient(150deg,#102d5b,#08234a);border:1px solid #315b92;border-radius:20px;box-shadow:0 12px 32px #00173450;min-height:0}.im-sidebar{padding:15px 12px;overflow:auto}.im-compose{width:100%;padding:15px 10px;border-radius:16px;background:linear-gradient(100deg,#26bdfa,#0d62f6);border:1px solid #72d6ff;font-weight:750!important;box-shadow:0 4px 16px #0b80f566}.im-folders{margin-top:19px;display:grid;gap:3px}.im-folders button,.im-label{width:100%;border:0;background:transparent;text-align:left;display:flex;justify-content:space-between;align-items:center;gap:5px;padding:10px 12px;border-radius:10px}.im-folders button:hover,.im-label:hover,.im-folders button.active,.im-label.active{background:#235492}.im-folders button.active{box-shadow:inset 3px 0 #42c3ff}.im-folders small{background:#2789ed;padding:2px 8px;border-radius:30px}.im-side-title{border-top:1px solid #315582;margin-top:15px;padding:17px 10px 8px;font-weight:800;font-size:11px;letter-spacing:.06em;color:#aac7e9}.im-list{display:flex;flex-direction:column;overflow:hidden}.im-search{margin:12px;display:flex;background:#0b2854;border:1px solid #4270ac;border-radius:12px}.im-search input{min-width:0;flex:1;background:none;border:0;color:#fff;padding:13px;font:inherit}.im-search button{border:0;background:none;padding:0 13px}.im-list-head{display:flex;justify-content:space-between;align-items:center;gap:5px;padding:10px 16px;border-bottom:1px solid #345584;color:#bad1ed;font-size:12px}.im-list-head button{background:none;border:0;font-size:12px!important}.im-scroll{overflow:auto;flex:1}.im-mail{display:flex;gap:9px;align-items:center;padding:12px 10px;border-bottom:1px solid #ffffff17;cursor:pointer}.im-mail:hover{background:#1b457b}.im-mail.current{background:linear-gradient(90deg,#1d62b9,#194b91);box-shadow:inset 0 0 0 1px #479cf0;border-radius:10px}.im-mail input{accent-color:#33aaff;flex:none}.im-star{border:0;background:none;font-size:22px!important;color:#bbd0ef!important;padding:0 2px}.im-avatar{display:grid;place-items:center;flex:none;width:35px;height:35px;background:linear-gradient(135deg,#257efa,#8b58dc);border-radius:50%;font-weight:800;color:white}.im-mailcopy{min-width:0;flex:1}.im-mailcopy>div{display:flex;justify-content:space-between;gap:8px}.im-mailcopy strong{font-size:13px}.im-mailcopy time,.im-mailcopy small{font-size:11px;color:#b5c8e2}.im-mailcopy b,.im-mailcopy small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.im-mailcopy b{color:#eaf4ff;font-size:12px}.im-count{padding:13px;border-top:1px solid #355b89;font-size:11px;color:#a9c3e4}.im-reader{padding:20px;overflow:auto;display:flex;flex-direction:column}.im-reader-head{border-bottom:1px solid #345987;padding-bottom:15px;display:flex;align-items:start;gap:9px;justify-content:space-between}.im-reader-head h2{margin:0;color:#f4f8ff;font-size:19px}.im-reader-tags{border-radius:20px;background:#214c87;color:#c3d8f6;font-size:11px;padding:5px 8px;white-space:nowrap}.im-sender{display:flex;align-items:center;gap:10px;margin:15px 0}.im-sender>div{flex:1}.im-sender small{display:block;color:#a1bcdf}.im-sender time{font-size:11px;color:#b9cbea}.im-body{white-space:normal;line-height:1.8;flex:1;min-height:180px;padding:12px 0;color:#e5eeff}.im-read-actions{display:flex;gap:8px;flex-wrap:wrap}.im-read-actions button{border:1px solid #4d8ace;background:#164c8d;border-radius:11px;padding:10px 18px}.im-read-actions button:first-child{background:linear-gradient(100deg,#22b8fa,#0d64ee)}.im-empty{text-align:center;padding:70px 12px;color:#93b0d3}.im-compose-panel{position:absolute;right:35px;bottom:20px;width:min(550px,calc(100vw - 60px));height:460px;display:flex;flex-direction:column;background:#0d2c58;border:1px solid #66a4e4;border-radius:16px;box-shadow:0 15px 70px #000b25;overflow:hidden}.im-compose-bar{background:#174880;padding:12px 16px;font-weight:800;display:flex;justify-content:space-between}.im-compose-bar button{border:0;background:none}.im-compose-panel label{display:flex;align-items:center;gap:10px;padding:10px 16px;border-bottom:1px solid #3a6090}.im-compose-panel input{flex:1;background:none;border:0;color:white;padding:7px;font:inherit;min-width:0}.im-compose-panel textarea{flex:1;background:none;border:0;resize:none;padding:16px;color:white;font:inherit}.im-compose-bottom{display:flex;gap:6px;align-items:center;padding:12px;border-top:1px solid #3d6799}.im-compose-bottom span{flex:1;font-size:11px;color:#e7bd81}.im-compose-bottom button{background:#1459a5;border:1px solid #4794e2;border-radius:8px;padding:8px;font-size:11px!important}@media(max-width:1100px){.im-layout{grid-template-columns:170px minmax(250px,1fr)}.im-reader{grid-column:2;min-height:350px}.im-page{height:auto}.im-list{min-height:400px}}@media(max-width:650px){#atosy-intermail-877{inset:90px 0 0}.im-page{padding:10px}.im-heading{align-items:start;flex-direction:column}.im-layout{grid-template-columns:1fr}.im-sidebar{display:flex;gap:8px;overflow:auto}.im-compose{min-width:150px}.im-folders{display:flex;margin:0;gap:5px}.im-folders button{white-space:nowrap}.im-side-title,.im-label{display:none}.im-reader{grid-column:1}.im-stats{display:none}}
/* V878: full dedicated workspace — background and content fill below actual ERP header. */
body.intermail-open-877{overflow:hidden}
#atosy-intermail-877{bottom:0;left:0;right:0;height:auto;width:100%;z-index:6000;overflow:auto;background:radial-gradient(ellipse at 76% 20%,#153d80 0%,#081f48 52%,#041934 100%)}
#atosy-intermail-877 .im-page{min-height:100%;height:100%;max-width:1900px;margin:0 auto}
#atosy-intermail-877 .im-layout{min-height:520px}

/* V879: compact title spacing after breadcrumb removal; dedicate height to mail panels. */
#atosy-intermail-877 .im-page{padding-top:10px;gap:10px}
#atosy-intermail-877 .im-heading{min-height:0}
#atosy-intermail-877 .im-crumb{display:none!important}

/* V881: breathing room below ERP header; adjust outer container only. */
#atosy-intermail-877 .im-page{padding-top:20px}

/* V882: polished metallic gold star. Uses inline SVG, no external assets. */
#atosy-intermail-877 .im-star{width:29px;height:29px;min-width:29px;display:inline-flex;align-items:center;justify-content:center;position:relative;isolation:isolate;flex:none;background:transparent;border:0;border-radius:9px;padding:3px!important;color:inherit!important;transition:transform .16s ease,filter .16s ease}
#atosy-intermail-877 .im-star svg{position:relative;z-index:1;display:block;width:22px;height:22px;overflow:visible}
#atosy-intermail-877 .im-star svg path{fill:transparent;stroke:#bcd3f3;stroke-width:1.9;stroke-linejoin:round;transition:fill .18s ease,stroke .18s ease,filter .18s ease}
#atosy-intermail-877 .im-star:hover{transform:scale(1.08)}
#atosy-intermail-877 .im-star.is-starred svg path{fill:#ffc32c;stroke:#ffe18c;stroke-width:1.25;filter:drop-shadow(0 1px 0 #b36a09) drop-shadow(0 0 4px rgba(255,198,54,.62)) drop-shadow(0 0 9px rgba(255,183,46,.25))}
#atosy-intermail-877 .im-star.is-starred:before{content:"";position:absolute;inset:2px;border-radius:50%;background:radial-gradient(circle,rgba(255,210,90,.22),transparent 70%);pointer-events:none}
#atosy-intermail-877 .im-star.is-starred:hover svg path{filter:drop-shadow(0 1px 0 #b36a09) drop-shadow(0 0 6px rgba(255,208,80,.78)) drop-shadow(0 0 12px rgba(255,183,46,.3))}
@media(prefers-reduced-motion:reduce){#atosy-intermail-877 .im-star,#atosy-intermail-877 .im-star svg path{transition:none}}

/* V883: consistent trailing counters for every mail folder and category label. */
#atosy-intermail-877 .im-folders button,#atosy-intermail-877 .im-label{display:flex;align-items:center;justify-content:space-between;gap:8px}
#atosy-intermail-877 .im-folder-count{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;min-width:27px;height:23px;padding:1px 7px;border-radius:999px;background:rgba(78,126,190,.23);border:1px solid rgba(124,175,240,.15);font-size:12px;font-weight:700;line-height:1;color:#a8c9ed;font-variant-numeric:tabular-nums}
#atosy-intermail-877 .im-folders button.active .im-folder-count,#atosy-intermail-877 .im-label.active .im-folder-count{background:#2789ed;color:#fff;border-color:transparent}
#atosy-intermail-877 .im-label-name{min-width:0;overflow-wrap:anywhere}

/* V884: hide sidebar scrollbar while preserving mousewheel, touch and keyboard scrolling. */
#atosy-intermail-877 .im-sidebar{
  scrollbar-width:none;
  -ms-overflow-style:none;
}
#atosy-intermail-877 .im-sidebar::-webkit-scrollbar{
  display:none;
  width:0;
  height:0;
}

/* V925 — Live universal Supabase tags in the InterMail sidebar.
   Distinguish real catalog labels from demo email seed data. */
#atosy-intermail-877 .im-tag-real-indicator-925{
 display:inline-flex;
 align-items:center;
 margin-left:5px;
 font-size:9px;
 line-height:1;
 padding:3px 5px;
 border-radius:5px;
 background:rgba(47,145,218,.13);
 border:1px solid rgba(105,194,241,.25);
 color:#88d6fc;
 vertical-align:middle;
 letter-spacing:.04em;
 font-weight:700;
}
#atosy-intermail-877 .im-real-tag-925{
 --im-tag-accent:#38BDF8;
 width:100%;
 border:1px solid transparent;
 border-radius:10px;
 color:#e4f2ff;
 min-height:43px;
}
#atosy-intermail-877 .im-real-tag-925 .im-label-name{
 display:flex;
 align-items:center;
 gap:9px;
 min-width:0;
 flex:1;
}
#atosy-intermail-877 .im-real-tag-925 .im-tag-name-925{
 min-width:0;
 line-height:1.35;
 overflow-wrap:anywhere;
 font-weight:600;
 font-size:12px;
}
#atosy-intermail-877 .im-real-tag-925 .im-tag-dot-925{
 flex:0 0 10px;
 width:10px;
 height:10px;
 border-radius:50%;
 background:var(--im-tag-accent);
 box-shadow:0 0 0 3px color-mix(in srgb,var(--im-tag-accent) 14%,transparent);
}
#atosy-intermail-877 .im-real-tag-925:hover{
 background:color-mix(in srgb,var(--im-tag-accent) 11%,#102e59);
 border-color:color-mix(in srgb,var(--im-tag-accent) 35%,transparent);
}
#atosy-intermail-877 .im-real-tag-925.active{
 background:color-mix(in srgb,var(--im-tag-accent) 17%,#11376b)!important;
 border-color:color-mix(in srgb,var(--im-tag-accent) 55%,transparent)!important;
 box-shadow:inset 3px 0 0 var(--im-tag-accent);
}
#atosy-intermail-877 .im-real-tag-925 .im-folder-count{
 color:#bad0e9;
 background:rgba(109,156,201,.1);
}
#atosy-intermail-877 .im-tag-state-925{
 padding:9px 12px 13px;
 color:#b9d0ee;
 font-size:12px;
 line-height:1.45;
}
#atosy-intermail-877 .im-tag-state-925.is-error{
 color:#ffcfda;
}
#atosy-intermail-877 .im-tag-state-925 button{
 background:rgba(30,91,153,.55);
 border:1px solid rgba(116,187,247,.45);
 border-radius:7px;
 padding:4px 8px;
 color:#e6f4ff;
 cursor:pointer;
}
#atosy-intermail-877 .im-tag-empty-925{
 padding:30px 18px;
 line-height:1.6;
 text-align:center;
 color:#bad5ed;
}


/* V926 — Image-reference InterMail layout. The former top heading is removed,
   and the brand now lives inside the left panel, above Compose.
   All selectors are scoped to the InterMail workspace. */
#atosy-intermail-877{
 background:
  radial-gradient(ellipse at 91% 75%,rgba(13,72,146,.28),transparent 56%),
  radial-gradient(ellipse at 35% -9%,#10376d,#071d40 66%,#041936);
 isolation:isolate;
}
#atosy-intermail-877::before,
#atosy-intermail-877::after{
 content:"";
 position:fixed;
 z-index:0;
 bottom:-112px;
 height:210px;
 pointer-events:none;
 opacity:.7;
}
#atosy-intermail-877::before{
 left:-10%;
 width:78%;
 border-radius:47% 53% 0 0;
 transform:rotate(8deg);
 background:linear-gradient(180deg,rgba(12,92,175,.4),rgba(3,38,93,.65) 46%,rgba(2,30,67,0) 90%);
 box-shadow:0 -1px 1px rgba(38,150,240,.14);
}
#atosy-intermail-877::after{
 right:-10%;
 width:60%;
 border-radius:55% 45% 0 0;
 transform:rotate(-12deg);
 background:linear-gradient(180deg,rgba(14,102,187,.37),rgba(3,44,103,.63) 42%,rgba(3,35,75,0) 90%);
 box-shadow:0 -1px 1px rgba(56,181,255,.17);
}
#atosy-intermail-877 .im-page{
 position:relative;
 z-index:1;
 display:block;
 width:100%;
 max-width:1840px;
 min-height:100%;
 height:auto;
 margin:0 auto;
 padding:clamp(19px,2.8vh,28px) clamp(17px,2.85vw,48px) 35px;
}
#atosy-intermail-877 .im-layout{
 display:grid;
 grid-template-columns:minmax(285px,24%) minmax(350px,33%) minmax(360px,1fr);
 align-items:stretch;
 gap:16px;
 height:clamp(530px,68vh,760px);
 min-height:530px;
}
#atosy-intermail-877 .im-sidebar,
#atosy-intermail-877 .im-list,
#atosy-intermail-877 .im-reader{
 min-width:0;
 min-height:0;
 border:1px solid rgba(61,137,198,.76);
 border-radius:22px;
 background:linear-gradient(145deg,#0b2a54 0%,#09244b 70%,#082249 100%);
 box-shadow:0 12px 32px rgba(0,13,46,.24),inset 0 1px 0 rgba(128,204,254,.025);
}
#atosy-intermail-877 .im-sidebar{
 display:block;
 overflow:auto;
 padding:20px 18px;
}
#atosy-intermail-877 .im-sidebar-heading{
 position:relative;
 display:flex;
 align-items:center;
 min-height:52px;
 padding-bottom:18px;
 margin-bottom:19px;
 border-bottom:1px solid rgba(93,149,203,.43);
}
#atosy-intermail-877 .im-sidebar-brand{
 display:flex;
 align-items:center;
 gap:14px;
 min-width:0;
}
#atosy-intermail-877 .im-icon{
 flex:0 0 52px;
 width:52px;
 height:52px;
 display:grid;
 place-items:center;
 border-radius:13px;
 background:linear-gradient(135deg,#ff9c69 0%,#ff824e 65%,#f8a43a);
 color:#fff;
 font-size:26px;
 font-weight:800;
 box-shadow:0 4px 15px rgba(255,122,67,.32);
}
#atosy-intermail-877 .im-sidebar-brand-copy{
 min-width:0;
}
#atosy-intermail-877 .im-sidebar-brand h1{
 margin:0;
 color:#f4f8ff;
 font-size:22px;
 font-weight:750;
 letter-spacing:-.025em;
 line-height:1.18;
}
#atosy-intermail-877 .im-sidebar-brand p{
 margin:3px 0 0;
 color:#bfd1eb;
 font-size:12px;
 line-height:1.4;
}
#atosy-intermail-877 .im-sidebar-close{
 position:absolute;
 top:0;
 right:-5px;
 display:grid;
 place-items:center;
 width:25px;
 height:25px;
 padding:0;
 border:1px solid rgba(122,176,223,.3);
 border-radius:8px;
 background:rgba(18,62,108,.87);
 color:#cfe7ff;
 opacity:0;
 transition:opacity .15s ease,background .15s ease;
}
#atosy-intermail-877 .im-sidebar-heading:hover .im-sidebar-close,
#atosy-intermail-877 .im-sidebar-close:focus-visible{
 opacity:1;
}
#atosy-intermail-877 .im-compose{
 display:block;
 width:100%;
 min-height:51px;
 padding:11px 13px;
 border:1px solid rgba(104,219,255,.75);
 border-radius:14px;
 background:linear-gradient(105deg,#23c3f0,#0b5af3);
 box-shadow:0 4px 14px rgba(3,101,231,.25);
 color:#f6fbff;
 font-size:13px;
 font-weight:750!important;
}
#atosy-intermail-877 .im-folders{
 display:grid;
 gap:4px;
 margin-top:18px;
}
#atosy-intermail-877 .im-folders button,
#atosy-intermail-877 .im-label{
 min-height:40px;
 padding:9px 11px;
 border-radius:10px;
 font-size:12.5px;
 line-height:1.4;
}
#atosy-intermail-877 .im-folders button.active{
 background:linear-gradient(90deg,#1a568c,#184476);
 box-shadow:inset 3px 0 #35ccfa;
}
#atosy-intermail-877 .im-folder-count{
 min-width:26px;
 height:23px;
 padding:1px 7px;
 font-size:11px;
}
#atosy-intermail-877 .im-side-title{
 margin-top:15px;
 padding:15px 7px 8px;
 font-size:10px;
 letter-spacing:.07em;
}
#atosy-intermail-877 .im-real-tag-925{
 min-height:40px;
}
#atosy-intermail-877 .im-real-tag-925 .im-tag-name-925{
 font-size:11.5px;
 line-height:1.4;
}
#atosy-intermail-877 .im-list{
 display:flex;
 flex-direction:column;
 overflow:hidden;
}
#atosy-intermail-877 .im-search{
 flex:0 0 auto;
 margin:21px 17px 11px;
 min-height:44px;
 border-radius:11px;
 border-color:rgba(79,142,194,.7);
 background:rgba(18,53,98,.6);
}
#atosy-intermail-877 .im-search input{
 padding:10px 12px;
 font-size:12.5px;
}
#atosy-intermail-877 .im-search button{
 padding:0 12px;
 font-size:17px;
}
#atosy-intermail-877 .im-list-head{
 flex:0 0 auto;
 min-height:43px;
 padding:8px 16px 10px;
 font-size:11px;
 color:#c8dcf6;
}
#atosy-intermail-877 .im-list-head button{
 font-size:11px!important;
}
#atosy-intermail-877 .im-scroll{
 min-height:0;
 overflow-y:auto;
 scrollbar-color:rgba(120,180,241,.48) rgba(9,36,77,.4);
 scrollbar-width:thin;
}
#atosy-intermail-877 .im-mail{
 min-height:77px;
 padding:10px 10px;
 gap:9px;
 border-bottom:1px solid rgba(122,174,220,.15);
}
#atosy-intermail-877 .im-mail.current{
 min-height:82px;
 border-radius:10px;
 /* V968C — Match the selected folder's quieter blue palette. */
 background:linear-gradient(90deg,#1a568c,#184476);
 box-shadow:inset 0 0 0 1px rgba(67,159,223,.5);
}
#atosy-intermail-877 .im-star{
 width:27px;
 min-width:27px;
 height:27px;
}
#atosy-intermail-877 .im-star svg{
 width:21px;
 height:21px;
}
#atosy-intermail-877 .im-avatar{
 width:38px;
 height:38px;
 font-size:13px;
}
#atosy-intermail-877 .im-mailcopy strong{
 font-size:12px;
}
#atosy-intermail-877 .im-mailcopy b{
 font-size:11.5px;
}
#atosy-intermail-877 .im-mailcopy small,
#atosy-intermail-877 .im-mailcopy time{
 font-size:10.5px;
}
#atosy-intermail-877 .im-count{
 flex:0 0 auto;
 padding:11px 15px;
 font-size:10px;
 background:rgba(9,34,75,.35);
}
#atosy-intermail-877 .im-reader{
 display:flex;
 flex-direction:column;
 padding:27px 27px 22px;
 overflow:auto;
}
#atosy-intermail-877 .im-reader-head{
 padding:0 0 17px;
 border-bottom:1px solid rgba(99,150,199,.39);
}
#atosy-intermail-877 .im-reader-head h2{
 font-size:19px;
 line-height:1.35;
 font-weight:750;
 letter-spacing:-.01em;
}
#atosy-intermail-877 .im-sender{
 gap:11px;
 margin:17px 0 15px;
 font-size:12.5px;
}
/* V952: Reader avatar matches the subject-based message-list avatar exactly. */
#atosy-intermail-877 .im-sender .im-avatar.im-mail-avatar-v949{
 width:38px;
 min-width:38px;
 height:38px;
 font-size:13px;
 letter-spacing:.01em;
}
#atosy-intermail-877 .im-sender small{
 font-size:11px;
}
#atosy-intermail-877 .im-sender time{
 font-size:11px;
}
#atosy-intermail-877 .im-body{
 flex:1;
 min-height:170px;
 padding:13px 3px 0;
 font-size:14px;
 line-height:1.85;
 color:#e7efff;
 overflow-wrap:anywhere;
}
#atosy-intermail-877 .im-read-actions{
 flex:0 0 auto;
 display:flex;
 gap:11px;
 padding:0 3px 5px;
}
#atosy-intermail-877 .im-read-actions button{
 min-height:44px;
 padding:9px 19px;
 font-size:12px;
 font-weight:700;
 border-radius:11px;
}
#atosy-intermail-877 .im-read-actions button:first-child{
 background:linear-gradient(105deg,#1bc4ec,#0c5bf1);
 border-color:#4cbdf0;
}
@media(max-width:1230px){
 #atosy-intermail-877 .im-layout{
  grid-template-columns:minmax(220px,265px) minmax(0,1fr);
  height:auto;
  min-height:0;
 }
 #atosy-intermail-877 .im-sidebar{
  grid-row:1 / span 2;
  min-height:680px;
 }
 #atosy-intermail-877 .im-list{
  min-height:480px;
 }
 #atosy-intermail-877 .im-reader{
  grid-column:2;
  min-height:450px;
 }
}
@media(max-width:760px){
 #atosy-intermail-877 .im-page{
  padding:15px 12px 32px;
 }
 #atosy-intermail-877 .im-layout{
  grid-template-columns:minmax(0,1fr);
  gap:12px;
 }
 #atosy-intermail-877 .im-sidebar{
  grid-row:auto;
  min-height:0;
  padding:15px;
  overflow:visible;
 }
 #atosy-intermail-877 .im-sidebar-heading{
  margin-bottom:13px;
  padding-bottom:13px;
 }
 #atosy-intermail-877 .im-sidebar-close{
  opacity:1;
 }
 #atosy-intermail-877 .im-folders{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
 }
 #atosy-intermail-877 .im-folders button{
  white-space:normal;
 }
 #atosy-intermail-877 .im-side-title{
  display:block;
 }
 #atosy-intermail-877 .im-label{
  display:flex;
 }
 #atosy-intermail-877 .im-reader{
  grid-column:auto;
  min-height:420px;
  padding:20px;
 }
 #atosy-intermail-877 .im-list{
  min-height:500px;
 }
 #atosy-intermail-877 .im-compose{
  min-width:0;
 }
}
@media(prefers-reduced-motion:reduce){
 #atosy-intermail-877 .im-sidebar-close{
  transition:none;
 }
}

/* V927 — Equal outer gutters on InterMail.
   The measured ERP header determines #atosy-intermail-877.top at runtime.
   Fill exactly the available workspace while matching top/bottom/left/right
   outer margins; keep list/sidebar/reader scroll areas independent. */
#atosy-intermail-877{
 --im-outer-gutter-v927:clamp(16px,2.7vh,28px);
}
#atosy-intermail-877 .im-page{
 box-sizing:border-box;
 display:flex;
 flex-direction:column;
 width:100%;
 max-width:none;
 height:100%;
 min-height:0;
 padding:var(--im-outer-gutter-v927);
 margin:0;
}
#atosy-intermail-877 .im-layout{
 flex:1 1 0;
 height:auto;
 min-height:0;
 width:100%;
}
#atosy-intermail-877 .im-sidebar,
#atosy-intermail-877 .im-list,
#atosy-intermail-877 .im-reader{
 min-height:0;
}
/* Below the three-column breakpoint, panels stack so the outer page may
   scroll normally rather than clipping the reader on smaller screens. */
@media(max-width:1230px){
 #atosy-intermail-877 .im-page{
  display:block;
  height:auto;
  min-height:100%;
 }
 #atosy-intermail-877 .im-layout{
  display:grid;
  height:auto;
  min-height:0;
 }
}
@media(max-width:760px){
 #atosy-intermail-877{
  --im-outer-gutter-v927:14px;
 }
}


/* V928 — Search control refresh: restrained cyan focus, integrated icon,
   compact capsule, and an accessible circular clear action. */
#atosy-intermail-877 .im-search{
 display:flex;
 flex:0 0 auto;
 position:relative;
 align-items:center;
 gap:0;
 height:46px!important;
 min-height:46px!important;
 margin:20px 18px 11px;
 padding:0!important;
 border:1px solid rgba(88,158,220,.58)!important;
 border-radius:999px!important;
 background:linear-gradient(105deg,rgba(8,38,83,.95),rgba(14,56,109,.83))!important;
 box-shadow:inset 0 1px 0 rgba(190,228,255,.07),0 3px 12px rgba(1,12,39,.12)!important;
 transition:border-color .16s ease,box-shadow .16s ease,background .16s ease;
}
#atosy-intermail-877 .im-search:hover{
 border-color:rgba(106,202,250,.83)!important;
}
#atosy-intermail-877 .im-search:focus-within{
 border-color:#46d8ff!important;
 background:linear-gradient(105deg,rgba(6,39,83,.98),rgba(12,52,104,.94))!important;
 box-shadow:0 0 0 1px rgba(59,214,255,.48),
   0 0 0 3px rgba(24,154,235,.12),
   0 0 14px rgba(9,178,243,.17),
   inset 0 1px 0 rgba(170,224,255,.1)!important;
}
#atosy-intermail-877 .im-search-icon-v928{
 width:19px;
 height:19px;
 flex:0 0 19px;
 margin-left:16px;
 margin-right:11px;
 color:#aacdeb;
 opacity:.95;
 pointer-events:none;
 transition:color .16s ease;
}
#atosy-intermail-877 .im-search:focus-within .im-search-icon-v928{
 color:#72ddff;
}
#atosy-intermail-877 .im-search input[data-im-search]{
 flex:1 1 auto;
 display:block;
 width:100%;
 min-width:0;
 height:100%;
 margin:0;
 padding:0 9px 0 0!important;
 border:0!important;
 border-radius:0;
 outline:none!important;
 background:transparent!important;
 box-shadow:none!important;
 color:#edf7ff!important;
 -webkit-text-fill-color:#edf7ff!important;
 font:500 12.5px/1.45 system-ui,-apple-system,"Segoe UI",sans-serif!important;
 caret-color:#65ddff;
}
#atosy-intermail-877 .im-search input[data-im-search]::placeholder{
 color:#98b9da;
 -webkit-text-fill-color:#98b9da;
 opacity:.86;
}
#atosy-intermail-877 .im-search input[data-im-search]::-webkit-search-decoration,
#atosy-intermail-877 .im-search input[data-im-search]::-webkit-search-cancel-button,
#atosy-intermail-877 .im-search input[data-im-search]::-webkit-search-results-button,
#atosy-intermail-877 .im-search input[data-im-search]::-webkit-search-results-decoration{
 -webkit-appearance:none;
 appearance:none;
 display:none;
}
#atosy-intermail-877 .im-search .im-search-clear-v928{
 display:inline-flex;
 flex:0 0 28px;
 align-items:center;
 justify-content:center;
 width:28px;
 height:28px;
 min-width:28px;
 min-height:28px;
 margin:0 9px 0 4px;
 padding:0!important;
 border:1px solid rgba(122,215,255,.55)!important;
 border-radius:50%!important;
 background:linear-gradient(150deg,#159fe5,#1264c1)!important;
 box-shadow:0 1px 6px rgba(5,93,173,.33)!important;
 color:#f4fbff!important;
 transition:transform .15s ease,border-color .15s ease,background .15s ease;
}
#atosy-intermail-877 .im-search .im-search-clear-v928 svg{
 width:15px;
 height:15px;
 pointer-events:none;
}
#atosy-intermail-877 .im-search .im-search-clear-v928:not(:disabled):hover{
 transform:scale(1.07);
 border-color:#a7eeff!important;
 background:linear-gradient(150deg,#24b6f4,#1174db)!important;
}
#atosy-intermail-877 .im-search .im-search-clear-v928:disabled{
 opacity:.36;
 box-shadow:none!important;
 cursor:default;
}
#atosy-intermail-877 .im-search .im-search-clear-v928:focus-visible{
 outline:2px solid #a0ebff!important;
 outline-offset:2px!important;
}
@media(max-width:760px){
 #atosy-intermail-877 .im-search{
  margin:15px 13px 10px;
  height:44px!important;
  min-height:44px!important;
 }
 #atosy-intermail-877 .im-search-icon-v928{
  margin-left:14px;
  margin-right:9px;
 }
}
@media(prefers-reduced-motion:reduce){
 #atosy-intermail-877 .im-search,
 #atosy-intermail-877 .im-search-icon-v928,
 #atosy-intermail-877 .im-search .im-search-clear-v928{
  transition:none;
 }
}


/* V929 — Sidebar displays the canonical shared Tags hierarchy. */
#atosy-intermail-877 .im-tag-tree-v929{
 display:flex;
 flex-direction:column;
 gap:3px;
}
#atosy-intermail-877 .im-tag-tree-row-v929{
 display:flex;
 align-items:center;
 min-width:0;
 width:100%;
 padding-left:var(--im-tag-indent,0px);
 gap:3px;
}
#atosy-intermail-877 .im-tag-tree-row-v929 .im-real-tag-925{
 flex:1 1 auto;
 width:auto;
 min-width:0;
 padding:7px 6px!important;
 text-align:left;
 border-radius:9px;
}
#atosy-intermail-877 .im-tag-tree-row-v929 .im-tag-expand-v929,
#atosy-intermail-877 .im-tag-tree-row-v929 .im-tag-expand-spacer-v929{
 flex:0 0 18px;
 width:18px;
 height:25px;
 display:grid;
 place-items:center;
 margin:0;
 padding:0;
 border:0;
 background:transparent;
 color:#b3d9f7;
 border-radius:5px;
 font-size:13px;
 line-height:1;
}
#atosy-intermail-877 .im-tag-tree-row-v929 .im-tag-expand-v929:hover{
 background:rgba(55,159,225,.2);
 color:#fff;
}
#atosy-intermail-877 .im-tag-tree-row-v929 .im-tag-name-925{
 overflow-wrap:anywhere;
}
#atosy-intermail-877 .im-tag-tree-row-v929[data-im-tag-level]:not([data-im-tag-level="1"]) .im-tag-dot-925{
 width:8px;
 height:8px;
 flex-basis:8px;
}

/* V944 — Show saved universal Tag icons in InterMail; preserve colored dots
   for tags without an icon and keep text, nesting and counts unchanged. */
#atosy-intermail-877 .im-real-tag-925 .im-tag-icon-v944{
 display:inline-flex;
 align-items:center;
 justify-content:center;
 flex:0 0 18px;
 width:18px;
 height:18px;
 min-width:18px;
 line-height:1;
 font-size:15px;
 font-family:Apple Color Emoji,Segoe UI Emoji,Noto Color Emoji,system-ui,sans-serif;
 vertical-align:middle;
}

/* V945 — Quiet, semantic Tag color capsules. Color belongs to the icon/name,
   not the full sidebar row; preserve hierarchy, counts and readable text. */
#atosy-intermail-877 .im-tag-tree-row-v929 .im-real-tag-925 .im-label-name{
 box-sizing:border-box;
 display:inline-flex;
 align-items:center;
 flex:0 1 auto;
 width:max-content;
 max-width:calc(100% - 33px);
 min-width:0;
 gap:7px;
 padding:5px 9px;
 border:1px solid color-mix(in srgb,var(--im-tag-accent) 42%,transparent);
 border-radius:999px;
 background:color-mix(in srgb,var(--im-tag-accent) 13%,#09264e);
 box-shadow:inset 0 1px 0 rgba(255,255,255,.035);
}
#atosy-intermail-877 .im-tag-tree-row-v929 .im-real-tag-925 .im-folder-count{
 flex:none;
 margin-left:auto;
}
#atosy-intermail-877 .im-tag-tree-row-v929 .im-real-tag-925 .im-tag-name-925{
 color:#f1f7ff;
 -webkit-text-fill-color:#f1f7ff;
 font-weight:620;
}
#atosy-intermail-877 .im-tag-tree-row-v929 .im-real-tag-925:hover .im-label-name{
 background:color-mix(in srgb,var(--im-tag-accent) 19%,#0b2b55);
 border-color:color-mix(in srgb,var(--im-tag-accent) 58%,transparent);
}
#atosy-intermail-877 .im-tag-tree-row-v929 .im-real-tag-925.active .im-label-name{
 background:color-mix(in srgb,var(--im-tag-accent) 23%,#0b2b55);
 border-color:color-mix(in srgb,var(--im-tag-accent) 70%,transparent);
}
#atosy-intermail-877 .im-tag-tree-row-v929 .im-real-tag-925 .im-tag-icon-v944{
 flex:0 0 17px;
 width:17px;
 min-width:17px;
}
@media(prefers-reduced-motion:no-preference){
 #atosy-intermail-877 .im-tag-tree-row-v929 .im-real-tag-925 .im-label-name{
  transition:background-color .15s ease,border-color .15s ease;
 }
}

/* V946 — Expand arrow after Tag capsule, before count.
   Separate sibling controls prevent nested-button interaction bugs. */
#atosy-intermail-877 .im-tag-tree-row-v929.im-tag-row-v946{
 gap:5px;
 min-width:0;
}
#atosy-intermail-877 .im-tag-tree-row-v929.im-tag-row-v946 .im-real-tag-925{
 flex:1 1 auto;
 width:auto;
 min-width:0;
 justify-content:flex-start;
 gap:0;
 padding:6px 0!important;
 border:0!important;
 background:transparent!important;
 box-shadow:none!important;
}
#atosy-intermail-877 .im-tag-tree-row-v929.im-tag-row-v946 .im-real-tag-925 .im-label-name{
 flex:0 1 auto;
 width:max-content;
 max-width:100%;
 min-width:0;
}
#atosy-intermail-877 .im-tag-tree-row-v929.im-tag-row-v946 .im-tag-expand-v929,
#atosy-intermail-877 .im-tag-tree-row-v929.im-tag-row-v946 .im-tag-expand-spacer-v929{
 flex:0 0 18px;
 order:2;
 margin:0;
}
#atosy-intermail-877 .im-tag-tree-row-v929.im-tag-row-v946 > .im-folder-count{
 flex:0 0 auto;
 order:3;
 margin:0;
 color:#bad0e9;
 background:rgba(109,156,201,.1);
}
#atosy-intermail-877 .im-tag-tree-row-v929.im-tag-row-v946 .im-real-tag-925:hover .im-label-name{
 background:color-mix(in srgb,var(--im-tag-accent) 19%,#0b2b55);
 border-color:color-mix(in srgb,var(--im-tag-accent) 58%,transparent);
}
#atosy-intermail-877 .im-tag-tree-row-v929.im-tag-row-v946 .im-real-tag-925.active .im-label-name{
 background:color-mix(in srgb,var(--im-tag-accent) 23%,#0b2b55);
 border-color:color-mix(in srgb,var(--im-tag-accent) 70%,transparent);
}

/* V948 — Checkbox-free mail multi-selection (Shift range, Ctrl/Command toggle).
   Keep opened-message highlight independent of batch selection. */
#atosy-intermail-877 .im-mail[data-view]{
 user-select:none;
 -webkit-user-select:none;
}
#atosy-intermail-877 .im-mail[data-view]:focus-visible{
 outline:2px solid #78d7ff;
 outline-offset:-3px;
}
#atosy-intermail-877 .im-mail.is-multi-selected-v948{
 background:linear-gradient(90deg,rgba(18,116,182,.37),rgba(22,77,135,.3))!important;
 box-shadow:inset 3px 0 0 #46d1fc,inset 0 0 0 1px rgba(77,175,231,.35)!important;
 border-radius:9px;
}
#atosy-intermail-877 .im-mail.is-multi-selected-v948.current{
 background:linear-gradient(90deg,#1a568c,#184476)!important;
 box-shadow:inset 3px 0 0 #46d1fc,inset 0 0 0 1px rgba(67,159,223,.5)!important;
}

/* V949 — Column-three composer, integrated into the existing reader panel. */
#atosy-intermail-877 .im-reader.im-reader-composing-v949{
 overflow:hidden;
 padding:0;
}
#atosy-intermail-877 .im-compose-inline-v949{
 display:flex;
 flex-direction:column;
 flex:1 1 0;
 min-width:0;
 min-height:0;
 width:100%;
 padding:26px 26px 20px;
 gap:0;
}
#atosy-intermail-877 .im-compose-inline-head-v949{
 display:flex;
 justify-content:space-between;
 align-items:flex-start;
 gap:14px;
 padding:0 0 19px;
 margin-bottom:18px;
 border-bottom:1px solid rgba(100,157,216,.4);
}
#atosy-intermail-877 .im-compose-inline-head-v949 small{
 display:block;
 font-size:10px;
 font-weight:750;
 letter-spacing:.12em;
 color:#88c6f5;
 margin-bottom:5px;
}
#atosy-intermail-877 .im-compose-inline-head-v949 h2{
 margin:0;
 color:#f0f8ff;
 font-size:20px;
 line-height:1.35;
 font-weight:750;
}
#atosy-intermail-877 .im-compose-inline-close-v949{
 display:grid;
 place-items:center;
 flex:0 0 29px;
 width:29px;
 height:29px;
 padding:0;
 border:1px solid rgba(115,174,232,.42);
 border-radius:9px;
 background:rgba(45,100,167,.16);
 font-size:20px;
 color:#c5e2fb;
}
#atosy-intermail-877 .im-compose-inline-fields-v949{
 display:grid;
 grid-template-columns:82px minmax(0,1fr);
 gap:11px 12px;
 align-items:center;
 padding-bottom:18px;
 border-bottom:1px solid rgba(100,157,216,.26);
}
#atosy-intermail-877 .im-compose-inline-fields-v949 label,
#atosy-intermail-877 .im-compose-body-label-v949{
 color:#b5d3f1;
 font-size:12px;
 font-weight:650;
}
#atosy-intermail-877 .im-compose-inline-fields-v949 input{
 box-sizing:border-box;
 min-width:0;
 width:100%;
 min-height:39px;
 padding:9px 12px;
 border:1px solid rgba(99,165,224,.48);
 border-radius:10px;
 background:rgba(5,31,70,.65);
 color:#eef7ff;
 font-size:13px;
}
#atosy-intermail-877 .im-compose-inline-fields-v949 input::placeholder,
#atosy-intermail-877 .im-compose-body-v949::placeholder{color:#85a9cb}
#atosy-intermail-877 .im-compose-body-label-v949{
 display:block;
 margin:17px 0 9px;
}
#atosy-intermail-877 .im-compose-body-v949{
 display:block;
 box-sizing:border-box;
 width:100%;
 min-height:145px;
 flex:1 1 0;
 resize:none;
 padding:14px 15px;
 border:1px solid rgba(99,165,224,.37);
 border-radius:12px;
 background:rgba(5,31,70,.46);
 color:#edf7ff;
 font:500 13px/1.75 system-ui,-apple-system,"Segoe UI",sans-serif;
}
#atosy-intermail-877 .im-compose-inline-footer-v949{
 display:flex;
 justify-content:space-between;
 align-items:center;
 flex-wrap:wrap;
 gap:10px;
 margin-top:16px;
}
#atosy-intermail-877 .im-compose-inline-footer-v949>span{
 font-size:11px;
 color:#9cb9d9;
}
#atosy-intermail-877 .im-compose-inline-actions-v949{display:flex;gap:8px;flex-wrap:wrap}
#atosy-intermail-877 .im-compose-inline-actions-v949 button{
 padding:9px 15px;
 border:1px solid rgba(112,170,226,.6);
 border-radius:10px;
 background:rgba(37,92,154,.55);
 color:#eaf7ff;
 font-size:12px;
 font-weight:700;
}
#atosy-intermail-877 .im-compose-inline-actions-v949 [data-im="save-draft"]{
 background:linear-gradient(105deg,#1dbdec,#126bf0);
 border-color:#52c3fd;
}
@media(max-width:760px){
 #atosy-intermail-877 .im-reader.im-reader-composing-v949{min-height:500px}
 #atosy-intermail-877 .im-compose-inline-v949{padding:18px}
 #atosy-intermail-877 .im-compose-inline-fields-v949{grid-template-columns:1fr;gap:7px}
}

/* V950 — Composer field palette harmonized with ATOSY's navy/cyan UI.
   Override inherited global input styles and browser autofill paints. */
#atosy-intermail-877 .im-reader.im-reader-composing-v949
 .im-compose-inline-fields-v949 input,
#atosy-intermail-877 .im-reader.im-reader-composing-v949
 .im-compose-body-v949{
 appearance:none;
 -webkit-appearance:none;
 background:#09264c!important;
 background-image:none!important;
 color:#eff8ff!important;
 -webkit-text-fill-color:#eff8ff!important;
 caret-color:#79dcff!important;
 border:1px solid rgba(102,163,215,.55)!important;
 box-shadow:inset 0 1px 2px rgba(0,12,33,.17)!important;
 outline:none!important;
 font-family:system-ui,-apple-system,"Segoe UI",sans-serif!important;
 font-size:13px!important;
 font-weight:500!important;
 letter-spacing:normal!important;
}
#atosy-intermail-877 .im-reader.im-reader-composing-v949
 .im-compose-inline-fields-v949 input{
 min-height:42px;
 border-radius:10px!important;
 padding:10px 13px!important;
}
#atosy-intermail-877 .im-reader.im-reader-composing-v949
 .im-compose-body-v949{
 border-radius:12px!important;
 line-height:1.75!important;
 padding:14px 15px!important;
}
#atosy-intermail-877 .im-reader.im-reader-composing-v949
 .im-compose-inline-fields-v949 input::placeholder,
#atosy-intermail-877 .im-reader.im-reader-composing-v949
 .im-compose-body-v949::placeholder{
 color:#92afcf!important;
 -webkit-text-fill-color:#92afcf!important;
 opacity:1!important;
}
#atosy-intermail-877 .im-reader.im-reader-composing-v949
 .im-compose-inline-fields-v949 input:focus,
#atosy-intermail-877 .im-reader.im-reader-composing-v949
 .im-compose-body-v949:focus{
 border-color:#54c9f6!important;
 outline:2px solid rgba(70,194,243,.62)!important;
 outline-offset:0!important;
 box-shadow:0 0 0 3px rgba(25,157,222,.12),inset 0 1px 2px rgba(0,12,33,.14)!important;
}
#atosy-intermail-877 .im-reader.im-reader-composing-v949
 .im-compose-inline-fields-v949 input:-webkit-autofill,
#atosy-intermail-877 .im-reader.im-reader-composing-v949
 .im-compose-inline-fields-v949 input:-webkit-autofill:hover,
#atosy-intermail-877 .im-reader.im-reader-composing-v949
 .im-compose-inline-fields-v949 input:-webkit-autofill:focus{
 -webkit-box-shadow:0 0 0 1000px #09264c inset!important;
 -webkit-text-fill-color:#eff8ff!important;
 caret-color:#79dcff!important;
 border-color:rgba(102,163,215,.55)!important;
 transition:background-color 9999s ease-out 0s;
}
#atosy-intermail-877 .im-reader.im-reader-composing-v949
 .im-compose-inline-fields-v949 label,
#atosy-intermail-877 .im-reader.im-reader-composing-v949
 .im-compose-body-label-v949{
 color:#c0daf3!important;
 -webkit-text-fill-color:#c0daf3!important;
 font-size:12px!important;
 font-weight:650!important;
}

/* V951 — Bottom-docked InterMail compose tabs. Top heading stays untouched.
   Active tab connects UPWARD into the current reader/compose surface. */
#atosy-intermail-877 .im-reader.im-reader-has-tabs-v951{
 padding-bottom:0;
 overflow:hidden;
}
#atosy-intermail-877 .im-reader.im-reader-composing-v949.im-reader-has-tabs-v951{
 padding:0;
}
#atosy-intermail-877 .im-reader.im-reader-has-tabs-v951 .im-compose-inline-v949{
 overflow-y:auto;
 scrollbar-width:thin;
 scrollbar-color:#406d9e transparent;
 padding-bottom:13px;
}
#atosy-intermail-877 .im-reader.im-reader-has-tabs-v951 .im-compose-inline-v949 .im-compose-body-v949{
 min-height:120px;
}
#atosy-intermail-877 .im-compose-dock-v951{
 box-sizing:border-box;
 display:flex;
 align-items:flex-end;
 flex:0 0 auto;
 width:100%;
 min-width:0;
 min-height:66px;
 gap:7px;
 padding:10px 12px 10px;
 margin-top:auto;
 position:relative;
 z-index:2;
 border-top:1px solid rgba(79,159,217,.45);
 background:linear-gradient(180deg,#0b2953 0%,#09234b 100%);
 box-shadow:0 -7px 17px rgba(0,18,51,.19);
}
#atosy-intermail-877 .im-reader.im-reader-has-tabs-v951:not(.im-reader-composing-v949) .im-compose-dock-v951{
 /* Reading tabs fill the reader width exactly as composing tabs do. */
 width:calc(100% + 54px);
 margin-left:-27px;
 margin-right:-27px;
}
#atosy-intermail-877 .im-compose-dock-scroll-v951{
 display:flex;
 flex:1 1 auto;
 align-items:flex-end;
 gap:5px;
 overflow-x:auto;
 overflow-y:hidden;
 scrollbar-width:thin;
 scrollbar-color:rgba(107,173,231,.55) transparent;
 min-width:0;
 padding:3px 1px 2px;
}
#atosy-intermail-877 .im-compose-dock-tab-v951{
 display:flex;
 flex:0 1 170px;
 min-width:92px;
 max-width:215px;
 height:40px;
 align-items:center;
 gap:2px;
 padding:0 5px 0 1px;
 border:1px solid rgba(90,159,215,.49);
 border-radius:12px 12px 9px 9px;
 background:linear-gradient(160deg,#153a69,#0a2852);
 box-shadow:inset 0 1px 0 rgba(166,215,255,.06);
 transition:background .16s ease,border-color .16s ease,box-shadow .16s ease;
}
#atosy-intermail-877 .im-compose-dock-tab-v951.is-active{
 position:relative;
 border-color:#55d4ff;
 border-top:0;
 border-radius:7px 7px 12px 12px;
 background:linear-gradient(110deg,#17bde9 0%,#127ee9 57%,#0a57ee 100%);
 box-shadow:0 2px 11px rgba(24,151,241,.24),inset 0 -1px 0 rgba(202,247,255,.32);
}
#atosy-intermail-877 .im-compose-dock-select-v951{
 display:flex;
 min-width:0;
 flex:1 1 auto;
 align-items:center;
 gap:6px;
 padding:8px 5px 8px 9px;
 border:0!important;
 background:transparent!important;
 box-shadow:none!important;
 text-align:left;
 font-size:11px!important;
 font-weight:700!important;
 color:#d7eaff!important;
 cursor:pointer;
}
#atosy-intermail-877 .im-compose-dock-tab-v951.is-active .im-compose-dock-select-v951{
 color:#fff!important;
}
#atosy-intermail-877 .im-compose-dock-caption-v951{
 display:block;
 min-width:0;
 overflow:hidden;
 white-space:nowrap;
 text-overflow:ellipsis;
}
#atosy-intermail-877 .im-compose-dock-close-v951{
 display:grid;
 flex:0 0 21px;
 place-items:center;
 padding:0;
 width:21px;
 height:23px;
 line-height:1;
 font-size:16px!important;
 border:0!important;
 border-radius:6px;
 background:transparent!important;
 color:#c3dbf4!important;
}
#atosy-intermail-877 .im-compose-dock-tab-v951.is-active .im-compose-dock-close-v951{
 color:#fff!important;
}
#atosy-intermail-877 .im-compose-dock-close-v951:hover{
 background:rgba(190,221,255,.18)!important;
}
#atosy-intermail-877 .im-compose-dock-add-v951{
 display:grid;
 flex:0 0 35px;
 place-items:center;
 width:35px;
 height:35px;
 margin:0 0 3px;
 padding:0;
 border:1px solid rgba(98,170,231,.64);
 border-radius:11px;
 background:rgba(17,61,112,.85);
 color:#e0f2ff;
 font-size:24px!important;
 font-weight:400!important;
}
#atosy-intermail-877 .im-compose-dock-add-v951:hover{
 background:rgba(26,120,191,.55);
 border-color:#67d5ff;
}
#atosy-intermail-877 .im-compose-dock-v951 button:focus-visible{
 outline:2px solid #93eaff;
 outline-offset:-2px;
}
@media(max-width:1230px){
 #atosy-intermail-877 .im-reader.im-reader-has-tabs-v951{min-height:440px}
}
@media(max-width:760px){
 #atosy-intermail-877 .im-compose-dock-v951{padding:8px;gap:5px}
 #atosy-intermail-877 .im-compose-dock-tab-v951{min-width:100px;flex-basis:155px}
 #atosy-intermail-877 .im-reader.im-reader-has-tabs-v951:not(.im-reader-composing-v949) .im-compose-dock-v951{
  width:calc(100% + 40px);
  margin-left:-20px;
  margin-right:-20px;
 }
}
@media(prefers-reduced-motion:reduce){
 #atosy-intermail-877 .im-compose-dock-tab-v951{transition:none}
}

/* V952 — Mixed reading + composing tabs retain exact opening order. */
#atosy-intermail-877 .im-compose-dock-tab-v951.is-read-v952:not(.is-active){
 border-color:rgba(96,150,210,.47);
 background:linear-gradient(145deg,#102e59,#0b2549);
}
#atosy-intermail-877 .im-compose-dock-tab-v951.is-read-v952.is-active{
 background:linear-gradient(120deg,#137bb5,#1265be);
 border-color:#51c7f7;
}
#atosy-intermail-877 .im-compose-dock-tab-v951.is-read-v952 .im-compose-dock-caption-v951{
 font-weight:650;
}

/* V953 — Clean tab header: no cyan strip or divider crossing active tab. */
#atosy-intermail-877 .im-compose-dock-v951{
 border-top:0;
}
#atosy-intermail-877 .im-compose-dock-tab-v951.is-active{
 border-top:0;
 box-shadow:0 2px 11px rgba(24,151,241,.24),inset 0 -1px 0 rgba(202,247,255,.25);
}
#atosy-intermail-877 .im-compose-dock-tab-v951.is-active::before{
 content:none!important;
 display:none!important;
}

/* V954 — Standalone close-all control anchored to the right of the bottom tab dock. */
#atosy-intermail-877 .im-compose-dock-close-all-v954{
 display:grid;
 place-items:center;
 flex:0 0 34px;
 width:34px;
 height:34px;
 margin:0 0 3px;
 padding:0;
 border:1px solid rgba(98,170,231,.56);
 border-radius:10px;
 background:rgba(17,61,112,.75);
 color:#dcecff;
 font-size:21px!important;
 line-height:1!important;
 font-weight:600!important;
 cursor:pointer;
}
#atosy-intermail-877 .im-compose-dock-close-all-v954:hover{
 background:rgba(167,58,87,.27);
 border-color:#f17d9b;
 color:#fff;
}
#atosy-intermail-877 .im-compose-dock-close-all-v954:focus-visible{
 outline:2px solid #93eaff;
 outline-offset:2px;
}

/* V957 — Read-only true Information participants, resolved against Subject profiles. */
#atosy-intermail-877 .im-recipients-v957{
 display:flex;
 flex-direction:column;
 gap:8px;
 border-bottom:1px solid rgba(99,154,212,.25);
 padding:4px 0 14px;
 margin-bottom:7px;
}
#atosy-intermail-877 .im-recipients-v957>div{
 display:grid;
 grid-template-columns:42px minmax(0,1fr);
 align-items:start;
 gap:8px;
 font-size:11px;
}
#atosy-intermail-877 .im-recipients-v957>div>span{
 font-size:11px;
 color:#8fb8de;
 padding-top:4px;
 font-weight:700;
}
#atosy-intermail-877 .im-recipients-v957 strong{
 display:flex;
 flex-wrap:wrap;
 align-items:center;
 gap:5px;
 min-width:0;
 font-size:11px;
 font-weight:600;
}
#atosy-intermail-877 .im-person-v957{
 display:inline-flex;
 max-width:100%;
 padding:3px 8px;
 border:1px solid rgba(88,150,207,.52);
 border-radius:999px;
 background:rgba(24,81,135,.32);
 color:#e9f6ff;
 overflow-wrap:anywhere;
}
#atosy-intermail-877 .im-recipients-v957 em{
 color:#84a9ce;
 font-style:normal;
 font-weight:400;
}


/* V934 — Compact Gmail-like attachments immediately below the InterMail body. */
#atosy-intermail-877 .im-reader:not(.im-reader-composing-v949) .im-body{flex:0 0 auto;min-height:0;padding-bottom:14px}
#atosy-intermail-877 .im-reader:not(.im-reader-composing-v949) .im-read-actions{margin-top:auto;padding-top:18px}
#atosy-intermail-877 .im-attachments-v934{flex:0 0 auto;min-width:0;margin:0 3px 12px;padding:12px 0 0;border-top:1px solid rgba(109,167,221,.3);display:grid;gap:6px}
#atosy-intermail-877 .im-attachments-title-v934{font-size:11px;line-height:1.4;font-weight:750;color:#b5d5f4;margin-bottom:2px}
#atosy-intermail-877 .im-attachment-row-v934{box-sizing:border-box;display:flex;align-items:center;gap:10px;width:100%;max-width:460px;min-height:39px;padding:7px 10px;border:1px solid rgba(95,161,219,.36);border-radius:10px;background:rgba(28,76,127,.27);color:#e8f3ff;font:600 11.5px/1.45 system-ui,sans-serif;text-decoration:none;text-align:left;cursor:pointer}
#atosy-intermail-877 .im-attachment-row-v934:hover{background:rgba(33,105,175,.4);border-color:rgba(93,195,247,.7)}
#atosy-intermail-877 .im-attachment-row-v934:focus-visible{outline:2px solid #75d9ff;outline-offset:2px}
#atosy-intermail-877 .im-attachment-icon-v934{flex:0 0 auto;display:grid;place-items:center;width:24px;height:24px;border-radius:6px;background:rgba(64,145,227,.23);color:#8bdfff;font-size:14px}
#atosy-intermail-877 .im-attachment-name-v934{min-width:0;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#atosy-intermail-877 .im-attachment-row-v934 small{flex:0 0 auto;color:#a8c7e7;font-size:10px;font-weight:600}
#atosy-intermail-877 .im-attachment-note-v934{font-size:11px;color:#9dbbdc;padding:3px 1px}
#atosy-intermail-877 .im-attachment-note-v934 button{color:#86d5ff;background:none;border:0;padding:0 3px;cursor:pointer}


/* V935 — Isolate the rounded active-message outline from neighboring separators.
   Spacing is applied only to the active row; the other rows keep their dimensions. */
#atosy-intermail-877 .im-scroll > .im-mail.current{
 position:relative;
 margin:3px 5px;
 border-bottom-color:transparent;
 border-radius:11px;
 background-clip:padding-box;
}
#atosy-intermail-877 .im-scroll > .im-mail.current:focus-visible{
 outline-offset:1px;
}


/* V936 — Hover and selected mail cards share the same rounded geometry.
   Reserve the inset margins for every row so moving the pointer never shifts rows. */
#atosy-intermail-877 .im-scroll > .im-mail[data-view]{
 margin:3px 5px;
 min-height:78px;
 padding:7px 10px;
 align-items:center;
 border-radius:11px;
 background-clip:padding-box;
}
#atosy-intermail-877 .im-scroll > .im-mail[data-view].current{
 min-height:88px;
}
#atosy-intermail-877 .im-scroll > .im-mail[data-view]:hover:not(.current){
 border-bottom-color:transparent;
 background:linear-gradient(90deg,rgba(35,99,162,.62),rgba(26,79,137,.58));
 box-shadow:inset 0 0 0 1px rgba(83,160,230,.38);
}
#atosy-intermail-877 .im-scroll > .im-mail[data-view].current:hover{
 border-bottom-color:transparent;
}


/* V938 — Freeze the tabs at the reader's bottom edge.
   Only the message/composer content scrolls; the tab dock is never in its scrollport. */
#atosy-intermail-877 .im-reader.im-reader-has-tabs-v951{
 display:flex;
 flex-direction:column;
 min-height:0;
 overflow:hidden;
}
#atosy-intermail-877 .im-reader.im-reader-has-tabs-v951 .im-reader-scroll-v938{
 display:flex;
 flex-direction:column;
 flex:1 1 0;
 min-height:0;
 min-width:0;
 width:100%;
 overflow-y:auto;
 overflow-x:hidden;
 overscroll-behavior:contain;
 scrollbar-width:thin;
 scrollbar-color:rgba(112,172,236,.58) transparent;
}
#atosy-intermail-877 .im-reader.im-reader-has-tabs-v951 .im-reader-scroll-v938 .im-read-actions{
 margin-top:auto;
 padding-bottom:18px;
}
#atosy-intermail-877 .im-reader.im-reader-has-tabs-v951 .im-compose-inline-v949{
 flex:1 1 0;
 min-height:0;
 overflow-y:auto;
 overscroll-behavior:contain;
}
#atosy-intermail-877 .im-reader.im-reader-has-tabs-v951 > .im-compose-dock-v951{
 position:relative;
 flex:0 0 auto;
 bottom:auto;
 z-index:3;
 margin-top:0;
}


/* V939 — Keep the mail subject fixed at the top of the reader while reading.
   Sender, recipients, body, attachments and actions scroll in a separate region;
   V938's bottom tab dock remains a sibling and stays frozen. */
#atosy-intermail-877 .im-reader.im-reader-reading-v939{
 display:flex;
 flex-direction:column;
 min-height:0;
 overflow:hidden;
}
#atosy-intermail-877 .im-reader.im-reader-reading-v939.im-reader-has-tabs-v951{
 padding-bottom:0;
}
#atosy-intermail-877 .im-reader.im-reader-reading-v939 > .im-reader-head-fixed-v939{
 flex:0 0 auto;
 min-width:0;
 width:100%;
 overflow-wrap:anywhere;
 position:relative;
 z-index:2;
}
#atosy-intermail-877 .im-reader.im-reader-reading-v939 > .im-reader-scroll-v938{
 display:flex;
 flex-direction:column;
 flex:1 1 0;
 min-height:0;
 min-width:0;
 width:100%;
 overflow-y:auto;
 overflow-x:hidden;
 overscroll-behavior:contain;
 scrollbar-width:thin;
 scrollbar-color:rgba(112,172,236,.58) transparent;
}
#atosy-intermail-877 .im-reader.im-reader-reading-v939 > .im-reader-scroll-v938 .im-read-actions{
 margin-top:auto;
 padding-bottom:18px;
}


/* V940 — Small user-consent control, consistent with ATOSY InterMail. */
#atosy-intermail-877 .im-notification-setup-v940{
 display:flex;align-items:center;justify-content:center;width:100%;min-height:35px;
 margin:8px 0 0;padding:7px 12px;border:1px solid rgba(84,161,217,.38);
 border-radius:10px;background:rgba(21,69,121,.26);color:#b9dcfa;
 font:650 11px/1.4 system-ui,sans-serif;cursor:pointer;
}
#atosy-intermail-877 .im-notification-setup-v940:hover{
 background:rgba(26,111,173,.35);border-color:#5abce9;color:#f2fbff;
}
#atosy-intermail-877 .im-notification-setup-v940:focus-visible{
 outline:2px solid #70ddff;outline-offset:2px;
}
#atosy-discussion-toast-v940{
 position:fixed;z-index:12000;right:20px;bottom:20px;max-width:min(375px,calc(100vw - 32px));
 display:flex;align-items:center;gap:12px;padding:12px 13px;border-radius:13px;
 border:1px solid rgba(91,186,236,.66);background:#0c2d5c;color:#e4f3ff;
 box-shadow:0 12px 32px rgba(2,17,44,.35);font:600 12px/1.5 system-ui,sans-serif;
}
#atosy-discussion-toast-v940[hidden]{display:none!important}
#atosy-discussion-toast-v940>span{flex:1;min-width:0}
#atosy-discussion-toast-v940>button{
 padding:7px 12px;border-radius:8px;border:1px solid #66b7e7;
 background:#1368ba;color:#fff;cursor:pointer;font:700 11px system-ui,sans-serif;
}


/* V941 — Recipient picker built from the canonical Subject directory.
   Two groups: pinned ATOSY ERP users first, then other Subject profiles. */
#atosy-intermail-877 .im-recipient-picker-v941{position:relative;min-width:0;width:100%;z-index:5}
#atosy-intermail-877 .im-recipient-picker-v941:focus-within{z-index:10}
#atosy-intermail-877 .im-recipient-input-wrap-v941{display:flex;align-items:center;flex-wrap:wrap;gap:5px;min-width:0;min-height:43px;padding:4px 7px;border:1px solid rgba(99,165,224,.48);border-radius:10px;background:rgba(5,31,70,.65)}
#atosy-intermail-877 .im-recipient-input-wrap-v941:focus-within{border-color:#4bcfff;box-shadow:0 0 0 2px rgba(57,188,251,.22)}
#atosy-intermail-877 .im-recipient-picker-v941 .im-recipient-search-v941{flex:1 1 130px;width:auto!important;min-width:90px!important;min-height:31px!important;height:31px!important;padding:4px 5px!important;border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;font-size:12px!important}
#atosy-intermail-877 .im-recipient-picker-v941 .im-recipient-search-v941:focus{box-shadow:none!important;outline:0!important}
#atosy-intermail-877 .im-recipient-chip-v941{display:inline-flex;align-items:center;max-width:100%;min-width:0;gap:5px;padding:3px 5px 3px 9px;border:1px solid rgba(94,178,239,.51);background:rgba(27,100,165,.55);border-radius:999px;color:#e9f6ff;font-size:11px;font-weight:650}
#atosy-intermail-877 .im-recipient-chip-v941>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#atosy-intermail-877 .im-recipient-chip-v941 button{flex:0 0 auto;width:18px;height:18px;padding:0;border:0;border-radius:50%;background:rgba(92,160,219,.22);font-size:14px;line-height:16px;cursor:pointer}
#atosy-intermail-877 .im-recipient-picker-v941 .im-recipient-toggle-v941{flex:0 0 26px;width:26px;height:28px;padding:0;border:0;background:transparent;color:#a8d9fd;font-size:20px;cursor:pointer}
#atosy-intermail-877 .im-recipient-menu-v941{position:absolute;top:calc(100% + 5px);left:0;right:0;z-index:40;max-height:min(320px,44vh);overflow-y:auto;overscroll-behavior:contain;padding:6px;border:1px solid rgba(83,173,236,.62);border-radius:12px;background:#092b57;box-shadow:0 14px 34px rgba(0,12,40,.52);scrollbar-width:thin;scrollbar-color:#4c87bd transparent}
#atosy-intermail-877 .im-recipient-group-v941+.im-recipient-group-v941{border-top:1px solid rgba(114,170,221,.24);margin-top:5px;padding-top:5px}
#atosy-intermail-877 .im-recipient-group-heading-v941{padding:7px 9px 5px;font-size:10px;font-weight:800;letter-spacing:.035em;color:#82c9f6}
#atosy-intermail-877 .im-recipient-option-v941{display:flex;align-items:center;width:100%;min-width:0;gap:9px;border:0;border-radius:8px;padding:7px 9px;background:transparent;color:#e8f4ff;text-align:left;cursor:pointer}
#atosy-intermail-877 .im-recipient-option-v941:hover,#atosy-intermail-877 .im-recipient-option-v941:focus-visible{background:rgba(37,108,179,.48)}
#atosy-intermail-877 .im-recipient-option-v941[aria-pressed="true"]{background:rgba(31,112,177,.3)}
#atosy-intermail-877 .im-recipient-option-avatar-v941{flex:0 0 29px;display:grid;place-items:center;height:29px;width:29px;border-radius:50%;background:linear-gradient(135deg,#237fe2,#6a5de7);font-size:11px;font-weight:800}
#atosy-intermail-877 .im-recipient-option-copy-v941{display:grid;flex:1;min-width:0}
#atosy-intermail-877 .im-recipient-option-copy-v941 strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}
#atosy-intermail-877 .im-recipient-option-copy-v941 small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#9ebfdf;font-size:10px}
#atosy-intermail-877 .im-recipient-tick-v941{flex:0 0 17px;text-align:center;color:#77d5ff;font-weight:800}
#atosy-intermail-877 .im-recipient-no-results-v941{padding:16px;text-align:center;font-size:11px;color:#9cbadd}

/* V943 — Hide the redundant notification opt-in control in InterMail's left sidebar.
   Keep the header notification bell and V940 notification logic unchanged. */
#atosy-intermail-877 .im-sidebar .im-notification-setup-v940{display:none!important}


/* V944 — Per-recipient read receipts: compact status chips in To/CC, unread markers,
   action to mark read/unread, and a compact state filter. */
/* V945: this component must override the global styles.css/theme.css select
   !important rules, which otherwise produce dark text on a gray native field. */
#atosy-intermail-877 .im-list-head .im-read-filter-v944{
 display:block;min-width:112px;max-width:155px;min-height:30px;
 padding:5px 24px 5px 9px;border-radius:8px;
 border:1px solid rgba(96,164,225,.55)!important;
 background:#0c315f!important;
 color:#e2f4ff!important;
 -webkit-text-fill-color:#e2f4ff!important;
 font:650 11px/1.3 system-ui,-apple-system,'Segoe UI',sans-serif;
 color-scheme:dark;
 cursor:pointer;appearance:auto;
 box-shadow:inset 0 1px 0 rgba(255,255,255,.05)!important;
}
#atosy-intermail-877 .im-list-head .im-read-filter-v944:hover{
 border-color:rgba(113,213,255,.78)!important;
 background:#164a82!important;
 color:#fff!important;
 -webkit-text-fill-color:#fff!important;
}
#atosy-intermail-877 .im-list-head .im-read-filter-v944:focus-visible{
 outline:2px solid #85ddff;outline-offset:2px;
 border-color:#6acfff!important;
}
#atosy-intermail-877 .im-list-head .im-read-filter-v944 option{
 background-color:#0b2d57!important;
 color:#e2f4ff!important;
 -webkit-text-fill-color:#e2f4ff!important;
}
#atosy-intermail-877 .im-mailcopy strong{display:inline-flex;align-items:center;gap:6px}
#atosy-intermail-877 .im-unread-dot-v944{
 display:inline-block;flex:0 0 7px;width:7px;height:7px;
 border-radius:50%;background:#3dd1fb;box-shadow:0 0 7px rgba(58,209,251,.45);
}
#atosy-intermail-877 .im-scroll > .im-mail.unread .im-mailcopy b,
#atosy-intermail-877 .im-scroll > .im-mail.unread .im-mailcopy strong{
 font-weight:850;color:#fff;
}
#atosy-intermail-877 .im-scroll > .im-mail.im-read-v944:not(.current) .im-mailcopy b{
 color:#bad2ed;font-weight:550;
}
#atosy-intermail-877 .im-person-v957.im-person-receipt-v944{
 display:inline-flex;gap:7px;align-items:center;flex-wrap:wrap;
 padding:4px 8px;max-width:100%;
}
#atosy-intermail-877 .im-person-read-state-v944{
 display:inline-flex;align-items:center;white-space:nowrap;
 font-size:10px;font-weight:700;line-height:1.4;
 border-left:1px solid rgba(105,167,220,.36);
 padding-left:7px;
}
#atosy-intermail-877 .im-person-read-state-v944.is-read{color:#79e2bd}
#atosy-intermail-877 .im-person-read-state-v944.is-unread{color:#f2cb85}
#atosy-intermail-877 .im-person-read-state-v944.is-unknown{color:#9cbadb}
#atosy-intermail-877 .im-receipt-summary-v944{
 display:block;margin:0 0 8px;padding:0 0 11px;
 border-bottom:1px solid rgba(99,154,212,.22);
 font-size:10px;line-height:1.55;color:#adc9e7;
}
#atosy-intermail-877 .im-receipt-summary-v944 strong{
 color:#86ddc7;font-weight:800;
}
#atosy-intermail-877 .im-read-actions .im-read-toggle-v944{
 border-color:rgba(90,169,228,.46);background:rgba(31,81,133,.52);
 color:#d5ebff;padding:10px 12px;font-size:11px;font-weight:700;cursor:pointer;
}
#atosy-intermail-877 .im-read-actions .im-read-toggle-v944:hover{
 border-color:#64ccff;background:#245e9f;
}
@media(max-width:650px){
 #atosy-intermail-877 .im-list-head .im-read-filter-v944{
  max-width:130px;font-size:10px;min-height:32px;
 }
}



/* V951 — Restore comfortable 78px minimum row height without reserving extra subject lines.
   The row flex alignment, grid vertical alignment, and centered metadata from V950 remain unchanged. */
/* V950 — Compact variable-height mail rows; short subjects no longer reserve an empty second line.
   Subject and preview stay close, while star, avatar and date/code all center vertically. */
/* V949 — Dedicated two-tier meta column in InterMail message rows.
   Date stays top-right, sender Subject code directly below.
   Both title (two lines) and preview remain strictly in the left grid column.
   Avatar derives from subject initials, not sender identity. */
#atosy-intermail-877 .im-mailcopy-v949{
 display:grid;
 grid-template-columns:minmax(0,1fr) 86px;
 grid-template-rows:auto auto;
 column-gap:9px;
 row-gap:2px;
 align-content:center;
 align-items:start;
 flex:1 1 auto;
 min-width:0;
 width:100%;
}
#atosy-intermail-877 .im-mailcopy-v949 .im-mail-subject-v946{
 grid-column:1;
 grid-row:1;
 display:-webkit-box;
 min-width:0;
 min-height:0;
 max-height:calc(2 * 1.45em);
 margin:0;
 overflow:hidden;
 -webkit-box-orient:vertical;
 -webkit-line-clamp:2;
 white-space:normal;
 overflow-wrap:anywhere;
 color:#ebf6ff;
 font-size:12px;
 font-weight:780;
 line-height:1.45;
}
#atosy-intermail-877 .im-mailcopy-v949 .im-mail-title-v946{
 display:inline;
 min-width:0;
 white-space:normal;
 overflow-wrap:anywhere;
}
#atosy-intermail-877 .im-mailcopy-v949 .im-mail-meta-v949{
 grid-column:2;
 grid-row:1 / span 2;
 display:flex;
 flex-direction:column;
 align-items:flex-end;
 justify-content:center;
 align-self:center;
 gap:4px;
 min-width:0;
 width:100%;
 padding-top:0;
 white-space:nowrap;
 font-variant-numeric:tabular-nums;
}
#atosy-intermail-877 .im-mailcopy-v949 .im-mail-meta-v949 time{
 display:block;
 width:100%;
 margin:0;
 color:#b5c8e2;
 font-size:10.5px;
 line-height:1.45;
 text-align:right;
 white-space:nowrap;
}
#atosy-intermail-877 .im-mailcopy-v949 .im-mail-sender-code-v949{
 display:inline-block;
 max-width:100%;
 padding:2px 7px;
 border:1px solid rgba(99,175,231,.35);
 border-radius:7px;
 background:rgba(50,114,176,.19);
 color:#98dbff;
 font-size:10px;
 font-weight:750;
 line-height:1.3;
 overflow:hidden;
 text-overflow:ellipsis;
 white-space:nowrap;
}
#atosy-intermail-877 .im-mailcopy-v949 .im-mail-preview-v946{
 grid-column:1;
 grid-row:2;
 display:block;
 min-width:0;
 max-width:100%;
 margin:0;
 overflow:hidden;
 text-overflow:ellipsis;
 white-space:nowrap;
 color:#b6cce6;
 font-size:11px;
 line-height:1.45;
}
#atosy-intermail-877 .im-mail-avatar-v949{
 width:38px;
 min-width:38px;
 height:38px;
 font-size:13px;
 letter-spacing:.01em;
}
#atosy-intermail-877 .im-scroll > .im-mail.unread .im-mailcopy-v949 .im-mail-subject-v946{
 font-weight:850;
 color:#fff;
}
@media(max-width:650px){
 #atosy-intermail-877 .im-mailcopy-v949{
  grid-template-columns:minmax(0,1fr) 78px;
  column-gap:7px;
 }
}


/* V953C — Desktop zoom-fit workspace.
   Browser zoom reduces CSS viewport width and previously activated the
   <=1230px two-column / <=760px one-column layouts. A fine-pointer desktop
   instead keeps all 3 panes in one grid; JS uniformly fits the workspace to
   the available viewport, retaining usable column proportions. Touch-first
   devices continue to use the original V952 responsive layout. */
#atosy-intermail-877.im-desktop-three-v953c{
 overflow:hidden;
}
#atosy-intermail-877.im-desktop-three-v953c .im-page{
 display:flex;
 flex-direction:column;
 box-sizing:border-box;
 max-width:none;
 min-width:0;
 min-height:0;
 margin:0;
 overflow:hidden;
}
#atosy-intermail-877.im-desktop-three-v953c .im-layout{
 display:grid;
 flex:1 1 0;
 grid-template-columns:minmax(0,24%) minmax(0,33%) minmax(0,1fr);
 grid-template-rows:minmax(0,1fr);
 align-items:stretch;
 gap:16px;
 width:100%;
 height:100%;
 min-width:0;
 min-height:0;
}
#atosy-intermail-877.im-desktop-three-v953c .im-layout > .im-sidebar{
 grid-column:1;
 grid-row:1;
 min-width:0;
 min-height:0;
 overflow:auto;
 padding:20px 18px;
}
#atosy-intermail-877.im-desktop-three-v953c .im-layout > .im-list{
 grid-column:2;
 grid-row:1;
 min-width:0;
 min-height:0;
 overflow:hidden;
}
#atosy-intermail-877.im-desktop-three-v953c .im-layout > .im-reader{
 grid-column:3;
 grid-row:1;
 min-width:0;
 min-height:0;
 overflow:hidden;
 padding:27px 27px 22px;
}
#atosy-intermail-877.im-desktop-three-v953c .im-layout > .im-reader.im-reader-composing-v949{
 padding:0;
}
#atosy-intermail-877.im-desktop-three-v953c .im-layout > .im-reader.im-reader-has-tabs-v951:not(.im-reader-composing-v949){
 padding-bottom:0;
}
#atosy-intermail-877.im-desktop-three-v953c .im-folders{
 grid-template-columns:minmax(0,1fr);
}
#atosy-intermail-877.im-desktop-three-v953c .im-compose-inline-fields-v949{
 grid-template-columns:82px minmax(0,1fr);
 gap:11px 12px;
}
#atosy-intermail-877.im-desktop-three-v953c .im-sidebar-heading{
 margin-bottom:19px;
 padding-bottom:18px;
}


/* V961 — Three aligned columns inside every message: status + full Tag + fixed HR code.
   The left badge group is two columns (status max-content, Tag minmax(0,1fr)).
   On narrow widths only the Tag text wraps; status stays on one line.
   Date stays at the fixed right edge of row 1 and Subject sender code at the
   SAME fixed right edge of row 2, regardless of tag length/row height.
   This directly replaces V960 to avoid stacking CSS patches. */
#atosy-intermail-877 .im-scroll > .im-mail[data-view]{
 min-height:88px;
 height:auto;
 align-items:center;
 padding-block:8px;
}
#atosy-intermail-877 .im-mailcopy-v949{
 display:grid;
 grid-template-columns:minmax(0,1fr) 78px;
 grid-template-rows:auto auto;
 column-gap:6px;
 row-gap:3px;
 align-content:center;
 align-items:start;
 min-width:0;
}
/* Flatten only the mail metadata layout wrapper; this does not remove its DOM,
   event targets, accessibility text or the existing semantic time/code nodes. */
#atosy-intermail-877 .im-mailcopy-v949 .im-mail-meta-v949{
 display:contents;
}
#atosy-intermail-877 .im-mailcopy-v949 .im-mail-meta-v949 time{
 grid-column:2;
 grid-row:1;
 justify-self:end;
 align-self:center;
 width:auto;
 min-width:0;
 white-space:nowrap;
 text-align:right;
}
#atosy-intermail-877 .im-mailcopy-v949 .im-mail-sender-code-v949{
 grid-column:2;
 grid-row:2;
 align-self:start;
 justify-self:end;
 width:max-content;
 max-width:100%;
 margin:0;
 white-space:nowrap;
}
/* In the first badge row status + Tag MUST stay adjacent, even when the tag
   itself needs to wrap over multiple lines. Extra Tags get following rows. */
#atosy-intermail-877 .im-mailcopy-v949 .im-mail-badges-v959m{
 grid-column:1;
 grid-row:2;
 display:grid;
 grid-template-columns:max-content minmax(0,1fr);
 grid-auto-flow:row;
 grid-auto-rows:minmax(20px,auto);
 gap:4px 5px;
 align-items:start;
 justify-items:start;
 min-width:0;
 width:100%;
 max-width:100%;
 height:auto;
 min-height:20px;
 margin:0;
 padding:0;
 overflow:visible;
 white-space:normal;
}
#atosy-intermail-877 .im-mail-status-chip-v959m,
#atosy-intermail-877 .im-mail-tag-chip-v959m,
#atosy-intermail-877 .im-mail-tag-more-v959m{
 box-sizing:border-box;
 display:inline-flex;
 align-items:center;
 justify-content:center;
 gap:4px;
 min-height:20px;
 height:auto;
 max-width:100%;
 padding:2px 5px;
 border:1px solid rgba(111,170,224,.30);
 border-radius:7px;
 font-size:9.5px;
 line-height:1.25;
 font-weight:690;
 letter-spacing:0;
}
#atosy-intermail-877 .im-mail-status-chip-v959m{
 grid-column:1;
 grid-row:1;
 flex:none;
 white-space:nowrap;
 color:#b9cee6;
 background:rgba(61,90,130,.16);
 border-color:rgba(125,156,191,.27);
}
#atosy-intermail-877 .im-mail-status-chip-v959m.is-read{
 color:#7be3c2;
 background:rgba(31,113,98,.16);
 border-color:rgba(102,210,175,.28);
}
#atosy-intermail-877 .im-mail-status-chip-v959m.is-unread{
 color:#f5cb82;
 background:rgba(122,91,41,.15);
 border-color:rgba(222,176,100,.28);
}
#atosy-intermail-877 .im-mail-status-chip-v959m.is-partial{
 color:#acd7ee;
 background:rgba(35,94,137,.18);
 border-color:rgba(91,169,218,.30);
}
#atosy-intermail-877 .im-mail-status-chip-v959m.is-draft{
 color:#b9cde5;
 background:rgba(67,91,128,.16);
 border-color:rgba(127,155,191,.27);
}
/* The first Tag fits beside status even if its available width is narrow.
   A long Tag wraps internally (never ellipsis). Later tags start on new rows. */
#atosy-intermail-877 .im-mail-tag-chip-v959m{
 grid-column:2;
 justify-self:start;
 min-width:0;
 width:max-content;
 max-width:100%;
 padding-inline:5px;
 justify-content:flex-start;
 color:#e9f5ff;
 background:rgba(45,95,153,.22);
 border-color:rgba(112,175,223,.35);
 overflow:visible;
 white-space:normal;
 overflow-wrap:anywhere;
 text-align:left;
}
#atosy-intermail-877 .im-mail-tag-chip-v959m:nth-child(2){grid-row:1;}
@supports (color:color-mix(in srgb,red,blue)){
 #atosy-intermail-877 .im-mail-tag-chip-v959m:not(.is-placeholder){
  background:color-mix(in srgb,var(--im-chip-accent,#38bdf8) 16%,#0d2a50);
  border-color:color-mix(in srgb,var(--im-chip-accent,#38bdf8) 38%,#6484a6);
 }
}
#atosy-intermail-877 .im-mail-tag-chip-v959m.is-placeholder{
 color:#b5c8e2;
 background:rgba(92,117,157,.16);
 border-color:rgba(126,162,199,.28);
}
#atosy-intermail-877 .im-mail-tag-dot-v959m{
 display:inline-block;
 flex:0 0 7px;
 width:7px;
 height:7px;
 border-radius:50%;
 background:var(--im-chip-accent,#7798bc);
 box-shadow:0 0 0 1px rgba(255,255,255,.08);
}
#atosy-intermail-877 .im-mail-tag-chip-v959m.is-placeholder .im-mail-tag-dot-v959m{
 background:#8aa9ca;
}
#atosy-intermail-877 .im-mail-tag-name-v959m{
 display:block;
 min-width:0;
 max-width:100%;
 overflow:visible;
 text-overflow:clip;
 white-space:normal;
 overflow-wrap:anywhere;
 word-break:normal;
 line-height:1.25;
}
#atosy-intermail-877 .im-mail-tag-more-v959m{
 grid-column:2;
 flex:0 0 auto;
 padding-inline:5px;
 color:#c9e3fb;
 background:rgba(69,110,168,.22);
 border-color:rgba(112,175,223,.28);
}
/* Keep the fixed sender code and readable complete label on narrow views.
   No fixed height, blank line reservation or horizontal scroll is introduced. */
@media(max-width:650px){
 #atosy-intermail-877 .im-mailcopy-v949{
  grid-template-columns:minmax(0,1fr) 70px;
  column-gap:5px;
 }
 #atosy-intermail-877 .im-mailcopy-v949 .im-mail-badges-v959m{gap:4px;}
 #atosy-intermail-877 .im-mail-status-chip-v959m,
 #atosy-intermail-877 .im-mail-tag-chip-v959m{
  font-size:9px;
  padding-inline:4px;
 }
}

/* V964M — Quiet end-of-month affordance; older months append on scroll. */
#atosy-intermail-877 .im-month-more-v964m{
 display:block;
 width:100%;
 min-height:40px;
 padding:12px 10px 14px;
 text-align:center;
 font-size:10.5px;
 line-height:1.35;
 font-weight:550;
 color:#9fbedf;
 border-top:1px solid rgba(109,163,219,.14);
 background:transparent;
 user-select:none;
}

/* V978U — Compose matches the Information (A) To/CC picker layout.
   Selected Subject chips have their own row; search is one border only.
   Keep dropdown in flow like A profile, rather than another nested frame. */
#atosy-intermail-877 .im-reader.im-reader-composing-v949 .im-recipient-picker-v978{
 display:flex;flex-direction:column;gap:7px;min-width:0;z-index:auto;
}
#atosy-intermail-877 .im-reader.im-reader-composing-v949 .im-recipient-chips-v978{
 display:flex;flex-wrap:wrap;align-items:center;gap:6px;min-width:0;
}
#atosy-intermail-877 .im-reader.im-reader-composing-v949 .im-recipient-input-wrap-v941{
 padding:0!important;min-height:0!important;border:0!important;border-radius:0!important;
 background:transparent!important;box-shadow:none!important;
}
#atosy-intermail-877 .im-reader.im-reader-composing-v949
 .im-recipient-picker-v978 .im-recipient-search-v941{
 flex:1 1 100%!important;width:100%!important;min-width:0!important;
 height:40px!important;min-height:40px!important;
 padding:9px 12px!important;border:1px solid #4378b4!important;
 border-radius:9px!important;background:#0a2c59!important;
 color:#f4f8ff!important;-webkit-text-fill-color:#f4f8ff!important;
 caret-color:#74d7ff!important;
 font:500 12px/1.45 system-ui,-apple-system,sans-serif!important;
}
#atosy-intermail-877 .im-reader.im-reader-composing-v949
 .im-recipient-picker-v978 .im-recipient-search-v941::placeholder{
 color:#9ebbdc!important;-webkit-text-fill-color:#9ebbdc!important;opacity:1;
}
#atosy-intermail-877 .im-reader.im-reader-composing-v949
 .im-recipient-picker-v978 .im-recipient-search-v941:focus-visible{
 outline:2px solid #54bdf9!important;outline-offset:1px!important;
}
#atosy-intermail-877 .im-reader.im-reader-composing-v949 .im-recipient-menu-v941{
 position:relative!important;top:auto!important;left:auto!important;right:auto!important;
 width:100%;box-sizing:border-box;z-index:5;
 max-height:min(230px,32vh);margin-top:0;
 background:linear-gradient(155deg,#0c315e,#09264d);
 border:1px solid #3a699f;box-shadow:none;
}
#atosy-intermail-877 .im-reader.im-reader-composing-v949 .im-compose-inline-fields-v949{
 align-items:start;
}
#atosy-intermail-877 .im-reader.im-reader-composing-v949 .im-compose-inline-fields-v949 > label{
 padding-top:12px;
}
#atosy-intermail-877 .im-reader.im-reader-composing-v949 .im-compose-inline-head-v949{
 align-items:center;gap:12px;
}
#atosy-intermail-877 .im-reader.im-reader-composing-v949 .im-compose-head-actions-v978{
 display:flex;align-items:center;justify-content:flex-end;flex-wrap:nowrap;
 gap:8px;flex:0 0 auto;
}
#atosy-intermail-877 .im-reader.im-reader-composing-v949 .im-compose-head-actions-v978 button{
 white-space:nowrap;min-height:34px;padding:7px 11px;border-radius:9px;
 cursor:pointer;
}
#atosy-intermail-877 .im-reader.im-reader-composing-v949 .im-compose-head-actions-v978 button:disabled{
 opacity:.55;cursor:wait;
}
#atosy-intermail-877 .im-reader.im-reader-composing-v949 .im-compose-inline-footer-v949{
 margin-top:12px;justify-content:flex-start;
}
@media(max-width:650px){
 #atosy-intermail-877 .im-reader.im-reader-composing-v949 .im-compose-inline-head-v949{
  align-items:flex-start;flex-wrap:wrap;
 }
 #atosy-intermail-877 .im-reader.im-reader-composing-v949 .im-compose-head-actions-v978{
  width:100%;justify-content:flex-end;
 }
}

/* V979S — Live draft persistence status, no implementation details in UI. */
#atosy-intermail-877 .im-draft-status-v979{
 display:inline-flex;align-items:center;gap:8px;
 min-height:24px;font:600 11px/1.45 system-ui,-apple-system,"Segoe UI",sans-serif;
 color:#a9c7e7;overflow-wrap:anywhere;
}
#atosy-intermail-877 .im-draft-status-dot-v979{
 width:7px;height:7px;min-width:7px;border-radius:50%;background:#849fbd;
 box-shadow:0 0 0 3px rgba(132,159,189,.12);
}
#atosy-intermail-877 .im-draft-status-v979[data-state="dirty"]{color:#d5c29f}
#atosy-intermail-877 .im-draft-status-v979[data-state="dirty"] .im-draft-status-dot-v979{background:#e6b45f}
#atosy-intermail-877 .im-draft-status-v979[data-state="saving"]{color:#9dd5fb}
#atosy-intermail-877 .im-draft-status-v979[data-state="saving"] .im-draft-status-dot-v979{
 background:#53bdfa;animation:im-draft-saving-pulse-v979 1.15s ease-in-out infinite;
}
#atosy-intermail-877 .im-draft-status-v979[data-state="saved"]{color:#8bd8c2}
#atosy-intermail-877 .im-draft-status-v979[data-state="saved"] .im-draft-status-dot-v979{background:#47c4a0}
#atosy-intermail-877 .im-draft-status-v979[data-state="error"]{color:#f1b6b1}
#atosy-intermail-877 .im-draft-status-v979[data-state="error"] .im-draft-status-dot-v979{background:#e98381}
#atosy-intermail-877 .im-draft-saved-notice-v979{
 display:inline-flex;align-items:center;gap:8px;margin:10px 16px 4px;
 padding:8px 12px;align-self:flex-start;border-radius:10px;
 border:1px solid rgba(69,193,150,.33);background:rgba(31,108,91,.18);
 font:600 11px/1.4 system-ui,-apple-system,"Segoe UI",sans-serif;color:#8cdec7;
}
@keyframes im-draft-saving-pulse-v979{
 0%,100%{opacity:1}50%{opacity:.4}
}
@media(prefers-reduced-motion:reduce){
 #atosy-intermail-877 .im-draft-status-v979[data-state="saving"] .im-draft-status-dot-v979{animation:none}
}

/* V994C — Canonical Information (A) classification in InterMail compose. */
#atosy-intermail-877 .im-compose-inline-fields-v949{align-items:start}
#atosy-intermail-877 .im-compose-inline-fields-v949 > label{padding-top:12px}
#atosy-intermail-877 .im-category-wrap-v994{min-width:0;position:relative}
#atosy-intermail-877 .im-category-trigger-v994{
 display:flex;width:100%;min-height:43px;align-items:center;justify-content:space-between;
 gap:8px;text-align:left;cursor:pointer;padding:9px 12px;
 color:#e7f5ff;background:#0a2c59;border:1px solid #4378b4;border-radius:9px;
 font:600 12px/1.4 Inter,-apple-system,system-ui,sans-serif;
}
#atosy-intermail-877 .im-category-trigger-v994 span:first-child{
 flex:1;min-width:0;overflow-wrap:anywhere;
}
#atosy-intermail-877 .im-category-trigger-v994:hover{
 border-color:#67b5ed;background:#103868;
}
#atosy-intermail-877 .im-category-trigger-v994:focus-visible,
#atosy-intermail-877 .im-category-search-v994:focus-visible,
#atosy-intermail-877 .im-category-row-v994 button:focus-visible{
 outline:2px solid #68c5ff;outline-offset:1px;
}
#atosy-intermail-877 .im-category-panel-v994{
 margin-top:7px;border:1px solid #3c6f9e;border-radius:11px;
 padding:9px;background:linear-gradient(155deg,#0d3261,#09264e);
}
#atosy-intermail-877 .im-category-search-v994{
 width:100%;height:39px;padding:8px 10px;outline:none;
 background:#092b56;border:1px solid #4276ae;border-radius:8px;
 font:500 12px Inter,-apple-system,system-ui,sans-serif;color:#f4f9ff;
}
#atosy-intermail-877 .im-category-search-v994::placeholder{color:#9db9d6}
#atosy-intermail-877 .im-category-results-v994{
 max-height:min(235px,30vh);overflow:auto;overscroll-behavior:contain;margin-top:7px;
}
#atosy-intermail-877 .im-category-results-v994>p{
 padding:9px 7px;margin:0;color:#aecbe8;font-size:12px;
}
#atosy-intermail-877 .im-category-row-v994{
 display:flex;align-items:center;gap:3px;min-width:0;
 padding-left:calc(var(--im-category-depth) * 12px);border-radius:8px;
}
#atosy-intermail-877 .im-category-row-v994:hover{background:rgba(75,142,209,.16)}
#atosy-intermail-877 .im-category-row-v994 button{
 border:0;background:transparent;color:#e6f4ff;cursor:pointer;
}
#atosy-intermail-877 .im-category-expand-v994{
 flex:0 0 22px;width:22px;min-height:32px;padding:0;color:#9bcafa!important;
}
#atosy-intermail-877 .im-category-expand-v994:disabled{cursor:default}
#atosy-intermail-877 .im-category-option-v994{
 flex:1;min-width:0;min-height:34px;display:flex;align-items:center;
 justify-content:space-between;gap:7px;padding:6px;text-align:left;
 font:600 12px/1.4 Inter,-apple-system,system-ui,sans-serif;
}
#atosy-intermail-877 .im-category-option-v994 small{
 flex:0 0 auto;color:#9fbfdd;font-size:10px;
}
#atosy-intermail-877 .im-category-option-v994[aria-selected="true"]{
 color:#8dd6ff;font-weight:750;
}

/* V998UI — Explicit category confirmation alongside the search input. */
#atosy-intermail-877 .im-category-search-row-v998{
 display:flex;align-items:stretch;gap:7px;min-width:0;
}
#atosy-intermail-877 .im-category-search-row-v998 .im-category-search-v994{
 flex:1 1 auto;min-width:0;width:0;
}
#atosy-intermail-877 .im-category-confirm-v998{
 flex:0 0 auto;min-width:57px;min-height:39px;padding:0 12px;
 border:1px solid rgba(117,205,255,.72);border-radius:8px;
 background:linear-gradient(135deg,#20bde8,#0877e7);
 color:#fff;cursor:pointer;font:700 12px Inter,-apple-system,system-ui,sans-serif;
 box-shadow:inset 0 1px 0 rgba(255,255,255,.17);
 transition:background .16s ease,box-shadow .16s ease;
}
#atosy-intermail-877 .im-category-confirm-v998:hover:not(:disabled){
 background:linear-gradient(135deg,#39c9f2,#168af5);
 box-shadow:0 0 0 2px rgba(44,190,246,.13);
}
#atosy-intermail-877 .im-category-confirm-v998:disabled{
 opacity:.45;cursor:not-allowed;
}
#atosy-intermail-877 .im-category-confirm-v998:focus-visible{
 outline:2px solid #88dcff;outline-offset:2px;
}
#atosy-intermail-877 .im-category-option-v994[aria-selected="true"]{
 border-radius:7px;background:rgba(42,157,229,.21);
}
@media(prefers-reduced-motion:reduce){
 #atosy-intermail-877 .im-category-confirm-v998{transition:none}
}

/* V999ROUND — Harmonized rounded InterMail actions and composer fields.
   Preserve circle icon actions, pill tags, and the established 3-column layout. */
#atosy-intermail-877{
 --im-action-radius-v999:16px;
 --im-field-radius-v999:18px;
 --im-menu-radius-v999:16px;
}
/* Button surfaces; keep compact icon controls and inline tree toggles intact. */
#atosy-intermail-877 .im-compose-head-actions-v978 button,
#atosy-intermail-877 .im-compose-inline-actions-v949 button,
#atosy-intermail-877 .im-category-confirm-v998,
#atosy-intermail-877 .im-read-actions button,
#atosy-intermail-877 .im-list-head button,
#atosy-intermail-877 .im-compose-new,
#atosy-intermail-877 .im-compose-dock-add-v951,
#atosy-intermail-877 .im-compose-dock-tab-v951,
#atosy-intermail-877 .im-folders button,
#atosy-intermail-877 .im-category-trigger-v994{
 border-radius:var(--im-action-radius-v999)!important;
}
/* Input surfaces in compose: the recipient's outer frame, not its inner search. */
#atosy-intermail-877 .im-compose-inline-fields-v949 > input,
#atosy-intermail-877 .im-compose-inline-fields-v949 > select,
#atosy-intermail-877 .im-recipient-input-wrap-v941,
#atosy-intermail-877 .im-compose-body-v949,
#atosy-intermail-877 .im-category-search-v994{
 border-radius:var(--im-field-radius-v999)!important;
}
/* Classification containers feel connected while retaining their hierarchy. */
#atosy-intermail-877 .im-category-panel-v994,
#atosy-intermail-877 .im-recipient-menu-v941{
 border-radius:var(--im-menu-radius-v999)!important;
}
#atosy-intermail-877 .im-category-row-v994,
#atosy-intermail-877 .im-category-option-v994,
#atosy-intermail-877 .im-recipient-option-v941{
 border-radius:12px!important;
}
/* Never turn circular remove buttons, avatar icons, or tag chips into squares. */
#atosy-intermail-877 .im-recipient-chip-v941,
#atosy-intermail-877 .im-recipient-chip-v941 button{
 border-radius:999px!important;
}
@media(max-width:650px){
 #atosy-intermail-877{
  --im-action-radius-v999:14px;
  --im-field-radius-v999:16px;
  --im-menu-radius-v999:14px;
 }
}

/* V1001RADIUS — Match the real Classification field's V999 radius on
   the visible recipient search and subject input (not the transparent
   recipient wrapper). Existing focus/hover colors stay unchanged. */
#atosy-intermail-877 .im-reader.im-reader-composing-v949
 .im-recipient-picker-v978 .im-recipient-search-v941,
#atosy-intermail-877 .im-reader.im-reader-composing-v949
 .im-compose-inline-fields-v949 > #im-subject{
 border-radius:var(--im-action-radius-v999,16px)!important;
}
@media(max-width:650px){
 #atosy-intermail-877 .im-reader.im-reader-composing-v949
  .im-recipient-picker-v978 .im-recipient-search-v941,
 #atosy-intermail-877 .im-reader.im-reader-composing-v949
  .im-compose-inline-fields-v949 > #im-subject{
  border-radius:var(--im-action-radius-v999,14px)!important;
 }
}

/* V1002ROUND — Actual left-rail "Soạn thư mới" button uses .im-compose,
   not .im-compose-new. Match modern InterMail button radius. */
#atosy-intermail-877 .im-sidebar > button.im-compose{
 border-radius:20px!important;
}
@media(max-width:650px){
 #atosy-intermail-877 .im-sidebar > button.im-compose{
  border-radius:18px!important;
 }
}

/* V1003FILTER — multi-field hover panel replaces the native read-status select.
   All styles scoped to InterMail; dropdown overlays the mail list. */
#atosy-intermail-877 .im-list-head{position:relative;z-index:25;overflow:visible}
#atosy-intermail-877 .im-filter-wrap-v1003{position:relative;flex:0 0 auto}
#atosy-intermail-877 .im-list-head .im-filter-trigger-v1003{
 display:inline-flex;align-items:center;justify-content:center;gap:7px;
 min-height:34px;padding:7px 13px;white-space:nowrap;
 border:1px solid rgba(110,177,234,.56);border-radius:14px;
 background:linear-gradient(180deg,#153e70,#0c315d);color:#e9f6ff;
 font:700 12px/1.25 Inter,system-ui,sans-serif;cursor:pointer;
 box-shadow:inset 0 1px 0 rgba(255,255,255,.07);
}
#atosy-intermail-877 .im-list-head .im-filter-trigger-v1003:hover,
#atosy-intermail-877 .im-filter-wrap-v1003:focus-within .im-filter-trigger-v1003{
 border-color:#66c9fb;background:#185080;color:#fff;
}
#atosy-intermail-877 .im-filter-active-count-v1003{
 display:grid;place-items:center;min-width:18px;height:18px;padding:0 5px;
 border-radius:999px;background:#258df0;color:#fff;font-size:10px;
}
#atosy-intermail-877 .im-filter-panel-v1003{
 display:none;position:absolute;top:100%;right:0;
 z-index:50;width:min(342px,calc(100vw - 36px));max-height:min(620px,calc(100vh - 250px));
 overflow-y:auto;overscroll-behavior:contain;padding:15px;
 border:1px solid rgba(109,180,239,.44);border-radius:18px;
 background:linear-gradient(153deg,#113663,#0a2850 85%);
 box-shadow:0 20px 50px rgba(0,9,34,.50),inset 0 1px 0 rgba(255,255,255,.09);
}
/* V1263: explicit open state, never dismiss on hover/focus loss. */
#atosy-intermail-877.im-filter-open-v1263 .im-filter-wrap-v1003 .im-filter-panel-v1003{
 display:grid;gap:12px;
}
#atosy-intermail-877 .im-filter-heading-v1003{
 display:flex;justify-content:space-between;align-items:center;gap:8px;
 padding:0 0 9px;border-bottom:1px solid rgba(142,195,239,.2);
}
#atosy-intermail-877 .im-filter-heading-v1003 strong{
 color:#f1f8ff;font-size:13px;font-weight:750;
}
#atosy-intermail-877 .im-filter-heading-v1003 button{
 padding:5px 9px;border:1px solid rgba(115,183,237,.35);border-radius:10px;
 background:#133b69;color:#c3e5ff;font-size:11px;cursor:pointer;
}
#atosy-intermail-877 .im-filter-heading-v1003 button:hover{
 background:#20578e;border-color:#72caff;
}
#atosy-intermail-877 .im-filter-panel-v1003 label{
 display:flex;flex-direction:column;align-items:stretch;gap:6px;
 min-width:0;color:#b7d4f0;font-size:11px;font-weight:700;line-height:1.4;
}
#atosy-intermail-877 .im-filter-panel-v1003 select,
#atosy-intermail-877 .im-filter-panel-v1003 input{
 display:block;box-sizing:border-box;width:100%;min-width:0;min-height:38px;
 margin:0;padding:8px 11px;border:1px solid #4678ad!important;border-radius:13px!important;
 background:#0a2b56!important;color:#eaf6ff!important;
 -webkit-text-fill-color:#eaf6ff!important;
 font:600 12px/1.35 Inter,system-ui,sans-serif!important;color-scheme:dark;
 outline:none;box-shadow:none;
}
#atosy-intermail-877 .im-filter-panel-v1003 select:focus-visible,
#atosy-intermail-877 .im-filter-panel-v1003 input:focus-visible{
 border-color:#6ed3ff!important;outline:2px solid rgba(73,190,255,.5);outline-offset:1px;
}
#atosy-intermail-877 .im-filter-panel-v1003 input::placeholder{color:#94afcc!important;-webkit-text-fill-color:#94afcc!important}
#atosy-intermail-877 .im-filter-dates-v1003{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px}
@media(max-width:650px){
 #atosy-intermail-877 .im-filter-panel-v1003{width:min(310px,calc(100vw - 28px));max-height:min(450px,65vh)}
 #atosy-intermail-877 .im-list-head .im-filter-trigger-v1003{font-size:11px;padding:6px 10px}
}

/* V1004CAT — Share the compose classification tree language in the filter. */
#atosy-intermail-877 .im-filter-category-field-v1004{display:flex;flex-direction:column;gap:6px;min-width:0}
#atosy-intermail-877 .im-filter-category-wrap-v1004 .im-category-trigger-v994{
 min-height:38px;border-radius:13px!important;font-size:12px!important;
}
#atosy-intermail-877 .im-filter-category-wrap-v1004 .im-category-panel-v994{
 margin-top:7px;padding:9px;border-radius:14px;
}
#atosy-intermail-877 .im-filter-category-wrap-v1004 .im-category-results-v994{
 max-height:min(230px,28vh);overflow-y:auto;overscroll-behavior:contain;
}
#atosy-intermail-877 .im-filter-category-wrap-v1004 .im-category-search-row-v998{
 min-width:0;
}
#atosy-intermail-877 .im-filter-category-wrap-v1004 .im-category-search-v994{
 min-width:0;max-width:none;flex:1 1 auto;
}
#atosy-intermail-877 .im-filter-category-wrap-v1004 .im-category-confirm-v998{
 min-width:54px;flex:0 0 auto;
}
#atosy-intermail-877 .im-filter-category-wrap-v1004 .im-category-option-v994{
 overflow-wrap:anywhere;
}

/* V1007TREE — Clear hierarchy: only level 1 is bold; larger branch arrows. */
#atosy-intermail-877 .im-category-row-v994[data-im-category-level="1"] > .im-category-option-v994{
 font-weight:700!important;
}
#atosy-intermail-877 .im-category-row-v994[data-im-category-level]:not([data-im-category-level="1"]) > .im-category-option-v994,
#atosy-intermail-877 .im-category-row-v994[data-im-category-level]:not([data-im-category-level="1"]) > .im-category-option-v994[aria-selected="true"]{
 font-weight:400!important;
}
#atosy-intermail-877 .im-category-row-v994 > .im-category-expand-v994{
 font-size:17px!important;
 line-height:1!important;
 font-weight:700!important;
}

/* V1111 — InterMail compose: canonical Information label and shared Drive attachments.
   Scoped entirely to the right-hand compose panel; preserve its vertical scrolling. */
#atosy-intermail-877 .im-compose-tag-field-v1111{min-width:0}
#atosy-intermail-877 .im-compose-tag-field-v1111 select{
 box-sizing:border-box;display:block;width:100%;min-width:0;min-height:43px;
 border:1px solid #4378b4;border-radius:12px;
 background:#0a2c59;color:#e7f5ff;
 font:600 12px/1.4 Inter,system-ui,sans-serif;padding:9px 12px;
}
#atosy-intermail-877 .im-compose-tag-field-v1111 select:focus-visible{
 border-color:#54c9f6;outline:2px solid rgba(84,201,246,.36);
}
#atosy-intermail-877 .im-drive-v1111{
 display:grid;gap:8px;margin-top:16px;min-width:0;color:#c9e2fa;
}
#atosy-intermail-877 .im-drive-heading-v1111{
 display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:6px;
 font:650 12px/1.4 Inter,system-ui,sans-serif;
}
#atosy-intermail-877 .im-drive-heading-v1111 small{
 color:#8eb9da;font-size:10px;font-weight:500;
}
#atosy-intermail-877 .im-drive-drop-v1111{
 display:flex;align-items:center;justify-content:flex-start;gap:12px;flex-wrap:wrap;
 background:#0b2c56;border:1px dashed #598ebd;border-radius:14px;
 padding:12px;min-height:66px;color:#bbd7f0;font:550 12px/1.5 system-ui,sans-serif;
 transition:border-color .15s ease,box-shadow .15s ease,background .15s ease;
}
#atosy-intermail-877 .im-drive-drop-v1111.is-dragover-v1111{
 border-color:#71daff;background:#154b7f;
 box-shadow:inset 0 0 0 1px #71daff,0 0 15px rgba(77,194,255,.24);
}
#atosy-intermail-877 .im-drive-pick-v1111{
 position:relative;display:inline-flex;align-items:center;justify-content:center;
 padding:9px 14px;border-radius:11px;border:1px solid #59b2f4;
 background:linear-gradient(100deg,#13b3e6,#136cf7);
 color:white;font:700 12px/1.2 Inter,system-ui,sans-serif;cursor:pointer;
}
#atosy-intermail-877 .im-drive-pick-v1111:focus-within{
 outline:2px solid #8fddff;outline-offset:2px;
}
#atosy-intermail-877 .im-drive-pick-v1111 input{
 position:absolute;width:1px;height:1px;opacity:0;clip-path:inset(50%);overflow:hidden;
}
#atosy-intermail-877 .im-drive-hint-v1111{
 color:#a6c8e7;font:500 11px/1.4 system-ui,sans-serif;
}
#atosy-intermail-877 .im-drive-files-v1111{
 display:grid;gap:6px;min-width:0;
 font:500 11px/1.4 system-ui,sans-serif;color:#bed7ec;
}
#atosy-intermail-877 .im-file-v1111{
 display:flex;align-items:center;justify-content:space-between;gap:10px;
 min-width:0;background:#123969;border:1px solid #4574a8;
 border-radius:9px;padding:6px 9px;
}
#atosy-intermail-877 .im-file-v1111 span{
 min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
#atosy-intermail-877 .im-file-v1111 button{
 flex:none;border:0;background:transparent;color:#d5eaff;
 cursor:pointer;font-size:18px;line-height:1;
}
#atosy-intermail-877 .im-drive-progress-v1111{
 display:grid;gap:6px;background:#123762;border:1px solid #4784bd;
 border-radius:11px;padding:10px;color:#bde5fb;
}
#atosy-intermail-877 .im-drive-progress-v1111[hidden]{display:none!important}
#atosy-intermail-877 .im-drive-progress-v1111 progress{
 width:100%;height:8px;accent-color:#33bbf6;
}
#atosy-intermail-877 .im-drive-progress-v1111 small{
 color:#bde5fb;font:550 11px/1.4 system-ui,sans-serif;
}
#atosy-intermail-877 .im-reader-composing-v949 .im-compose-body-v949{
 min-height:110px;
}
@media(prefers-reduced-motion:reduce){
 #atosy-intermail-877 .im-drive-drop-v1111{transition:none}
}

#atosy-intermail-877 .im-drive-progress-v1111 [data-im-drive-retry-v1111]{
 justify-self:start;border:1px solid #65ace7;border-radius:9px;
 color:#e7f6ff;background:#185388;padding:7px 12px;
 font:700 11px/1.35 system-ui,sans-serif;cursor:pointer;
}
#atosy-intermail-877 .im-drive-progress-v1111 [data-im-drive-retry-v1111][hidden]{display:none!important}

/* V1113 — InterMail compose Nhãn picker: same blue hierarchical search language
   as the S/V/O/A internal discussion picker. Only the compose column is scoped. */
#atosy-intermail-877 .im-compose-tag-picker-v1113{
 position:relative;min-width:0;width:100%;z-index:2;
}
#atosy-intermail-877 .im-compose-tag-toggle-v1113{
 display:flex;align-items:center;justify-content:space-between;gap:10px;
 width:100%;min-height:43px;box-sizing:border-box;
 padding:6px 12px;border-radius:12px;
 border:1px solid #4c82b9;background:#0b2d59;color:#e8f4ff;
 font:600 12px/1.4 Inter,system-ui,sans-serif;text-align:left;cursor:pointer;
}
#atosy-intermail-877 .im-compose-tag-toggle-v1113:hover{
 border-color:#6aa6d8;
}
#atosy-intermail-877 .im-compose-tag-toggle-v1113:focus-visible,
#atosy-intermail-877 .im-compose-tag-menu-v1113 input:focus-visible{
 outline:2px solid #65cafa;outline-offset:2px;
}
#atosy-intermail-877 .im-compose-tag-placeholder-v1113,
#atosy-intermail-877 .im-compose-tag-chip-v1113{
 display:inline-flex;align-items:center;gap:7px;min-width:0;
 padding:5px 9px;border-radius:18px;
 border:1px solid #58789c;background:#294368;color:#e7f4ff;
 font:600 12px/1.3 Inter,system-ui,sans-serif;
}
#atosy-intermail-877 .im-compose-tag-chip-v1113{
 border-color:var(--im-compose-tag-accent,#548dc1);
 background:color-mix(in srgb,var(--im-compose-tag-accent,#548dc1) 18%,#142e53);
}
#atosy-intermail-877 .im-compose-tag-dot-v1113{
 display:inline-block;width:9px;height:9px;min-width:9px;border-radius:50%;
 background:var(--im-compose-tag-accent,#94a9c0);
 box-shadow:0 0 0 2px rgba(255,255,255,.08);
}
#atosy-intermail-877 .im-compose-tag-caret-v1113{
 color:#a5ccf0;font-size:12px;flex:none;
}
#atosy-intermail-877 .im-compose-tag-menu-v1113{
 margin-top:5px;padding:9px;border:1px solid #558fc4;
 border-radius:13px;background:#0b2d57;
 box-shadow:0 12px 22px rgba(0,9,25,.26);
 color:#e6f4ff;
}
#atosy-intermail-877 .im-compose-tag-menu-v1113 input{
 width:100%;box-sizing:border-box;min-height:40px;margin:0 0 8px;
 border-radius:20px;border:1px solid #4c86bd;background:#09274f;
 padding:8px 12px;color:#edf8ff;
 font:500 12px/1.4 Inter,system-ui,sans-serif;
}
#atosy-intermail-877 .im-compose-tag-menu-v1113 input::placeholder{color:#9fc0e1}
#atosy-intermail-877 .im-compose-tag-tree-v1113{
 max-height:246px;overflow-y:auto;overscroll-behavior:contain;
 scrollbar-color:#416e9c transparent;
}
#atosy-intermail-877 .im-compose-tag-row-v1113{
 display:flex;align-items:center;gap:5px;min-height:37px;
 padding:2px 7px 2px var(--im-compose-tag-indent,5px);
 border-radius:8px;color:#dcecff;
}
#atosy-intermail-877 .im-compose-tag-row-v1113:hover,
#atosy-intermail-877 .im-compose-tag-row-v1113.is-selected-v1113{
 background:#20588e;
}
#atosy-intermail-877 .im-compose-tag-row-v1113>button[data-im-compose-tag-pick-v1113]{
 flex:1;min-width:0;display:flex;align-items:center;gap:8px;
 color:inherit;border:0;background:none;padding:7px 0;text-align:left;
 font:400 12px/1.45 Inter,system-ui,sans-serif;cursor:pointer;
}
#atosy-intermail-877 .im-compose-tag-row-v1113[aria-level="1"]>button[data-im-compose-tag-pick-v1113]{
 font-weight:700;
}
#atosy-intermail-877 .im-compose-tag-row-v1113>small{
 flex:none;font:500 10px/1.35 Inter,system-ui,sans-serif;color:#9dbad5;
}
#atosy-intermail-877 .im-compose-tag-expand-v1113,
#atosy-intermail-877 .im-compose-tag-expand-spacer-v1113{
 flex:none;display:grid;place-items:center;width:19px;height:27px;
 border:0;background:transparent;color:#b4d5f0;padding:0;
 font:700 12px/1 Inter,system-ui,sans-serif;
}
#atosy-intermail-877 .im-compose-tag-expand-v1113{cursor:pointer}
#atosy-intermail-877 .im-compose-tag-empty-v1113{
 color:#afcbe4;font:500 12px/1.5 Inter,system-ui,sans-serif;padding:10px;
}
#atosy-intermail-877 .im-compose-tag-menu-v1113 button:focus-visible{
 outline:2px solid #69c6ff;outline-offset:1px;border-radius:5px;
}
@media(prefers-reduced-motion:reduce){
 #atosy-intermail-877 .im-compose-tag-toggle-v1113{transition:none}
}

/* V1114 — exact canonical tag-chip visual token parity with
   Thảo luận nội bộ's .svoa-a-tag-chip-v974c, scoped to compose. */
#atosy-intermail-877 .im-compose-tag-preview-v1114{
 display:flex;flex-wrap:wrap;align-items:center;gap:5px;min-width:0;
}
#atosy-intermail-877 .im-compose-tag-chip-v1114{
 --ach-tag-accent:#38BDF8;
 display:inline-flex!important;
 align-items:center;gap:8px;max-width:100%;min-height:29px;
 padding:3px 10px!important;
 border:1px solid color-mix(in srgb,var(--ach-tag-accent) 52%,transparent)!important;
 border-radius:999px!important;
 background:color-mix(in srgb,var(--ach-tag-accent) 16%,#08254b)!important;
 box-shadow:inset 0 1px 0 rgba(255,255,255,.035);
 color:#f6faff!important;-webkit-text-fill-color:#f6faff!important;
 font-weight:650!important;font-size:12px!important;line-height:1.35!important;
 overflow-wrap:anywhere;vertical-align:middle;
}
#atosy-intermail-877 .im-compose-tag-chip-dot-v1114{
 display:inline-block;width:9px;height:9px;flex:0 0 9px;border-radius:50%;
 background:var(--ach-tag-accent)!important;
 box-shadow:0 0 0 2px rgba(255,255,255,.07);
}
#atosy-intermail-877 .im-compose-tag-chip-icon-v1114{
 display:inline-grid;place-items:center;flex:0 0 auto;
 font-size:12px;line-height:1.15;
}
#atosy-intermail-877 .im-compose-tag-chip-name-v1114{
 min-width:0;overflow-wrap:anywhere;
}
#atosy-intermail-877 .im-compose-tag-chip-v1114.is-selected-v1114{
 box-shadow:inset 0 1px 0 rgba(255,255,255,.035),
 0 0 0 1px color-mix(in srgb,var(--ach-tag-accent) 22%,transparent);
}
#atosy-intermail-877 .im-compose-tag-row-v1113{
 min-width:0;
}
#atosy-intermail-877 .im-compose-tag-row-v1113>button.im-compose-tag-choice-v1114{
 flex:1;min-width:0;display:flex;align-items:center;gap:8px;
 background:none;border:0;padding:3px 0;text-align:left;cursor:pointer;color:inherit;
 font:500 12px/1.4 Inter,system-ui,sans-serif;
}
#atosy-intermail-877 .im-compose-tag-row-v1113>button.im-compose-tag-choice-v1114
 .im-compose-tag-chip-v1114{flex:0 1 auto;min-width:0}
#atosy-intermail-877 .im-compose-tag-row-v1113[aria-level="1"]>button.im-compose-tag-choice-v1114{
 font-weight:700;
}
#atosy-intermail-877 .im-compose-tag-checkbox-v1114{
 flex:0 0 16px;width:16px;height:16px;
 display:grid;place-items:center;border:1px solid #6c9bc7;
 border-radius:4px;background:#10335e;color:white;font-size:11px;
}
#atosy-intermail-877 .im-compose-tag-choice-v1114[aria-checked="true"]
 .im-compose-tag-checkbox-v1114{
 background:#166ec0;border-color:#89c7ff;
}
#atosy-intermail-877 .im-compose-tag-row-v1113>small{
 margin-left:auto;flex:0 0 auto;
}
#atosy-intermail-877 .im-compose-tag-toggle-v1113{
 min-width:0;
}

/* V1257 — Primary Send action next to Save Draft. */
#atosy-intermail .im-compose-head-actions-v978 .im-send-mail-v1257,
.at-intermail .im-compose-head-actions-v978 .im-send-mail-v1257,
.im-compose-head-actions-v978 .im-send-mail-v1257{
  color:#fff;
  background:linear-gradient(105deg,#13bce9,#1169ec);
  border:1px solid #74ceff;
  border-radius:999px;
  font-weight:800;
  min-width:76px;
}
.im-compose-head-actions-v978 .im-send-mail-v1257:hover:not(:disabled){
  filter:brightness(1.1);
}
.im-compose-head-actions-v978 .im-send-mail-v1257:disabled{
  opacity:.55;
  cursor:wait;
}

/* V1258 — Swap visual priority: Save Draft is secondary, Send is primary.
   Scoped to the composer so no other InterMail controls are affected. */
#atosy-intermail-877 .im-reader.im-reader-composing-v949 .im-compose-head-actions-v978 [data-im="save-draft"]{
  background:rgba(37,92,154,.55)!important;
  background-image:none!important;
  border-color:rgba(112,170,226,.6)!important;
  color:#eaf7ff!important;
  box-shadow:none!important;
}
#atosy-intermail-877 .im-reader.im-reader-composing-v949 .im-compose-head-actions-v978 [data-im="send-mail-v1257"]{
  background:linear-gradient(105deg,#1dbdec,#126bf0)!important;
  border-color:#52c3fd!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  font-weight:800!important;
}

/* V1274 — Inline send status immediately below composer title and Send action. */
#atosy-intermail-877 .im-send-progress-v1274{
 flex:0 0 auto;min-width:0;margin:-9px 0 17px;
 padding:9px 12px 10px;border:1px solid rgba(76,160,220,.42);
 border-radius:13px;background:rgba(15,70,122,.36);
 color:#cde8ff;
}
#atosy-intermail-877 .im-send-progress-v1274[hidden]{display:none!important}
#atosy-intermail-877 .im-send-progress-heading-v1274{
 display:flex;justify-content:space-between;align-items:center;
 gap:12px;min-width:0;margin-bottom:7px;
 font-size:11px;font-weight:650;line-height:1.4;
}
#atosy-intermail-877 [data-send-progress-label-v1274]{
 overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0;
}
#atosy-intermail-877 [data-send-progress-percent-v1274]{flex:none;font-variant-numeric:tabular-nums}
#atosy-intermail-877 .im-send-progress-track-v1274{
 height:7px;overflow:hidden;position:relative;
 border-radius:999px;background:#082849;border:1px solid #35658f;
}
#atosy-intermail-877 .im-send-progress-fill-v1274{
 height:100%;border-radius:999px;
 background:linear-gradient(90deg,#11b7e4,#2685ff);
 transition:width .14s linear;
}
#atosy-intermail-877 .im-send-progress-fill-v1274.is-indeterminate-v1274{
 position:absolute;left:0;width:35%;animation:im-send-indeterminate-v1274 1.5s ease-in-out infinite;
}
#atosy-intermail-877 .im-send-progress-v1274[data-phase="error"]{
 color:#ffc8c4;border-color:#c76970;background:rgba(97,28,52,.28);
}
#atosy-intermail-877 .im-send-progress-v1274[data-phase="error"] .im-send-progress-fill-v1274{
 background:#e17782;animation:none;width:100%;
}
#atosy-intermail-877 .im-send-progress-v1274[data-phase="done"]{
 color:#b5ffe6;border-color:#378e7f;
}
#atosy-intermail-877 .im-send-progress-v1274[data-phase="done"] .im-send-progress-fill-v1274{
 background:#2aca98;
}
@keyframes im-send-indeterminate-v1274{
 0%{transform:translateX(-110%)}
 100%{transform:translateX(310%)}
}
@media(prefers-reduced-motion:reduce){
 #atosy-intermail-877 .im-send-progress-fill-v1274.is-indeterminate-v1274{animation:none;width:100%;opacity:.6}
}

/* V1275 — Unified softer mail-row corners for hover, active and range selection.
   Inset geometry remains constant in all states to prevent hover layout shift. */
#atosy-intermail-877 .im-scroll > .im-mail[data-view],
#atosy-intermail-877 .im-scroll > .im-mail[data-view]:hover,
#atosy-intermail-877 .im-scroll > .im-mail[data-view].current,
#atosy-intermail-877 .im-scroll > .im-mail[data-view].is-multi-selected-v948{
 border-radius:18px;
 background-clip:padding-box;
}
#atosy-intermail-877 .im-scroll > .im-mail[data-view]:focus-visible{
 border-radius:18px;
}

/* V1276 — InterMail list interaction parity with the sidebar folder selection.
   Hover is a soft preview; opened/current mail keeps the folder-style cyan selection rail.
   Preserve row dimensions and the multi-selection semantics. */
#atosy-intermail-877 .im-scroll > .im-mail[data-view]:hover:not(.current):not(.is-multi-selected-v948){
  background:linear-gradient(90deg,rgba(30,79,129,.42),rgba(23,66,113,.30));
  box-shadow:inset 0 0 0 1px rgba(88,157,217,.18);
}
#atosy-intermail-877 .im-scroll > .im-mail[data-view].current,
#atosy-intermail-877 .im-scroll > .im-mail[data-view].current:hover{
  background:linear-gradient(90deg,#1a568c,#184476)!important;
  box-shadow:inset 3px 0 0 #35ccfa,inset 0 0 0 1px rgba(67,159,223,.50)!important;
  border-bottom-color:transparent;
}
#atosy-intermail-877 .im-scroll > .im-mail[data-view].is-multi-selected-v948:not(.current),
#atosy-intermail-877 .im-scroll > .im-mail[data-view].is-multi-selected-v948:not(.current):hover{
  background:linear-gradient(90deg,rgba(18,116,182,.37),rgba(22,77,135,.30))!important;
  box-shadow:inset 3px 0 0 #46d1fc,inset 0 0 0 1px rgba(77,175,231,.35)!important;
}

/* V1277 — Mail-list classification chips mirror sidebar's rounded tag capsules.
   Retain compact grid placement and natural long-name wrapping. */
#atosy-intermail-877 .im-scroll .im-mail-tag-chip-v959m{
  border-radius:999px;
  gap:5px;
  padding:3px 8px;
  background:color-mix(in srgb,var(--im-chip-accent,#38bdf8) 13%,#09264e);
  border-color:color-mix(in srgb,var(--im-chip-accent,#38bdf8) 42%,transparent);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035);
}
#atosy-intermail-877 .im-scroll .im-mail-tag-chip-v959m.is-placeholder{
  background:rgba(92,117,157,.16);
  border-color:rgba(126,162,199,.28);
}
#atosy-intermail-877 .im-scroll .im-mail-tag-icon-v1277{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 17px;
  width:17px;
  min-width:17px;
  line-height:1;
  font-size:13px;
  white-space:nowrap;
}
#atosy-intermail-877 .im-scroll .im-mail-tag-dot-v959m{
  flex:0 0 9px;
  width:9px;
  height:9px;
}

/* V1278 — Reader shows every canonical mail tag below recipient read receipts.
   Reuse the list-chip palette and icon; keep the reader's compact aligned rows. */
#atosy-intermail-877 .im-reader-tags-v1278{
  display:grid;
  grid-template-columns:42px minmax(0,1fr);
  align-items:start;
  gap:8px;
  min-width:0;
  padding:10px 0 13px;
  margin:0 0 5px;
  border-bottom:1px solid rgba(99,154,212,.25);
}
#atosy-intermail-877 .im-reader-tags-label-v1278{
  padding-top:5px;
  font-size:11px;
  font-weight:700;
  color:#8fb8de;
}
#atosy-intermail-877 .im-reader-tag-list-v1278{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  align-content:start;
  gap:6px;
  min-width:0;
}
#atosy-intermail-877 .im-reader-tag-list-v1278 .im-mail-tag-chip-v959m{
  display:inline-flex;
  align-items:center;
  flex:0 1 auto;
  min-width:0;
  max-width:100%;
  min-height:27px;
  width:max-content;
  gap:6px;
  padding:5px 9px;
  border:1px solid color-mix(in srgb,var(--im-chip-accent,#38bdf8) 42%,transparent);
  border-radius:999px;
  background:color-mix(in srgb,var(--im-chip-accent,#38bdf8) 13%,#09264e);
  color:#f1f7ff;
  font-size:11px;
  font-weight:650;
  line-height:1.3;
  overflow-wrap:anywhere;
  text-align:left;
}
#atosy-intermail-877 .im-reader-tag-list-v1278 .im-mail-tag-chip-v959m.is-placeholder{
  background:rgba(92,117,157,.16);
  border-color:rgba(126,162,199,.28);
  color:#b5c8e2;
}
#atosy-intermail-877 .im-reader-tag-list-v1278 .im-mail-tag-icon-v1277{
  display:inline-flex;
  flex:0 0 17px;
  align-items:center;
  justify-content:center;
  width:17px;
  font-size:14px;
  line-height:1;
  white-space:nowrap;
}
#atosy-intermail-877 .im-reader-tag-list-v1278 .im-mail-tag-name-v959m{
  overflow-wrap:anywhere;
  white-space:normal;
  line-height:1.3;
}

/* V1279 — Quiet editorial emphasis for plain-text mail content.
   The reader is not a rich-text editor: preserve escaped text and existing line breaks. */
#atosy-intermail-877 .im-reader.im-reader-reading-v939 .im-reader-scroll-v938 > .im-body{
  position:relative;
  flex:0 0 auto;
  min-width:0;
  min-height:0;
  margin:14px 0 17px;
  padding:19px 22px 21px 24px;
  border:1px solid rgba(105,166,223,.22);
  border-left:3px solid rgba(74,194,245,.72);
  border-radius:15px;
  background:linear-gradient(125deg,rgba(37,91,151,.19),rgba(18,55,104,.11) 70%);
  box-shadow:inset 0 1px 0 rgba(216,239,255,.035),0 8px 26px rgba(0,15,39,.10);
  color:#eef5ff;
  font-size:15px;
  font-weight:480;
  line-height:1.85;
  letter-spacing:.005em;
  overflow-wrap:anywhere;
  word-break:normal;
  user-select:text;
}
@media(max-width:650px){
  #atosy-intermail-877 .im-reader.im-reader-reading-v939 .im-reader-scroll-v938 > .im-body{
    margin:11px 0 14px;
    padding:15px 15px 17px 17px;
    font-size:14px;
    line-height:1.75;
    border-radius:12px;
  }
}

/* V1280 — Clear in-ERP preview/download affordances for Information Drive attachments. */
#atosy-intermail-877 .im-attachment-card-v1280{
  max-width:100%;
  min-height:48px;
  flex-wrap:wrap;
  gap:8px;
  padding:8px 10px;
  cursor:default;
}
#atosy-intermail-877 .im-attachment-card-v1280 .im-attachment-name-v934{
  flex:1 1 150px;
  min-width:0;
  overflow-wrap:anywhere;
  white-space:normal;
  line-height:1.4;
}
#atosy-intermail-877 .im-attachment-card-v1280 small{
  white-space:nowrap;
}
#atosy-intermail-877 .im-attachment-actions-v1280{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  flex-wrap:wrap;
  gap:6px;
  margin-left:auto;
}
#atosy-intermail-877 .im-attachment-actions-v1280 button{
  border:1px solid rgba(99,174,231,.48);
  border-radius:9px;
  background:rgba(27,91,157,.5);
  color:#e4f5ff;
  font-size:11px;
  font-weight:700;
  min-height:28px;
  padding:4px 10px;
}
#atosy-intermail-877 .im-attachment-actions-v1280 button:hover{
  border-color:rgba(116,216,255,.85);
  background:rgba(31,124,196,.64);
}
#atosy-intermail-877 .im-attachment-actions-v1280 button:focus-visible{
  outline:2px solid #75d9ff;
  outline-offset:2px;
}

/* V1281 — Honest indeterminate preview-load indicator (Drive read has no byte progress). */
#atosy-intermail-877 .im-attachment-card-v1280.is-opening-v1281{
  border-color:rgba(84,190,244,.74);
  background:rgba(26,89,152,.48);
}
#atosy-intermail-877 .im-attachment-progress-v1281{
  display:flex;
  flex-direction:column;
  gap:7px;
  flex:1 0 100%;
  min-width:0;
  padding:3px 2px 1px;
  font-size:11px;
  font-weight:650;
  color:#b9e9ff;
}
#atosy-intermail-877 .im-attachment-progress-track-v1281{
  position:relative;
  display:block;
  height:5px;
  overflow:hidden;
  border-radius:999px;
  background:rgba(8,34,72,.8);
  border:1px solid rgba(79,151,209,.32);
}
#atosy-intermail-877 .im-attachment-progress-fill-v1281{
  display:block;
  position:absolute;
  inset:0 auto 0 0;
  width:34%;
  border-radius:999px;
  background:linear-gradient(90deg,#2ab7ea,#78dfff);
  animation:im-attachment-loading-v1281 1.25s ease-in-out infinite;
}
#atosy-intermail-877 .im-attachment-actions-v1280 button:disabled{
  opacity:.6;
  cursor:progress;
}
@keyframes im-attachment-loading-v1281{
  0%{transform:translateX(-110%)}
  100%{transform:translateX(310%)}
}
@media(prefers-reduced-motion:reduce){
  #atosy-intermail-877 .im-attachment-progress-fill-v1281{
    animation:none;
    width:100%;
    opacity:.65;
  }
}

/* V1282 — InterMail read-only image gallery, inspired by the Design inventory. */
#atosy-intermail-877 .im-image-gallery-v1282{
  flex:0 0 auto;
  min-width:0;
  margin:4px 3px 15px;
  padding:15px 0 0;
  border-top:1px solid rgba(109,167,221,.30);
}
#atosy-intermail-877 .im-image-gallery-v1282 > header{
  display:flex;
  align-items:center;
  gap:6px;
  margin-bottom:10px;
  font-size:12px;
  font-weight:760;
  color:#cce7ff;
}
#atosy-intermail-877 .im-image-gallery-v1282 > header small{font-size:11px;color:#91bbdf}
#atosy-intermail-877 .im-image-grid-v1282{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
  min-width:0;
}
#atosy-intermail-877 .im-image-card-v1282{
  min-width:0;
  overflow:hidden;
  border:1px solid rgba(100,169,228,.42);
  border-radius:16px;
  background:linear-gradient(180deg,#153966,#102d56);
  box-shadow:0 6px 16px rgba(0,19,44,.15);
}
#atosy-intermail-877 .im-image-stage-v1282{
  aspect-ratio:1 / 1;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  background:#f8fbff;
}
#atosy-intermail-877 .im-image-stage-v1282 img{
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
}
#atosy-intermail-877 .im-image-placeholder-v1282{
  display:grid;
  place-items:center;
  width:100%;
  height:100%;
  padding:12px;
  background:linear-gradient(110deg,#e7edf4,#f8fbff,#e7edf4);
  color:#59718c;
  font-size:11px;
  font-weight:650;
  text-align:center;
}
#atosy-intermail-877 .im-image-card-info-v1282{
  display:grid;
  gap:9px;
  padding:10px 11px;
  min-width:0;
}
#atosy-intermail-877 .im-image-card-info-v1282 strong{
  min-width:0;
  font-size:11px;
  line-height:1.45;
  overflow-wrap:anywhere;
  color:#eaf4ff;
}
#atosy-intermail-877 .im-image-card-actions-v1282{
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:7px;
}
#atosy-intermail-877 .im-image-card-actions-v1282 small{
  font-size:10px;
  color:#acc8e8;
}
#atosy-intermail-877 .im-image-card-actions-v1282 button{
  min-height:28px;
  padding:5px 12px;
  border:1px solid #569dd1;
  border-radius:10px;
  background:#19558d;
  color:#fff;
  font-size:11px;
  font-weight:730;
}
#atosy-intermail-877 .im-image-card-actions-v1282 button:hover{
  border-color:#91deff;
  background:#2576b4;
}
#atosy-intermail-877 .im-image-card-actions-v1282 button:disabled{opacity:.65;cursor:progress}
#atosy-intermail-877 .im-image-card-info-v1282 > .im-attachment-progress-v1281{
  width:100%;
  font-size:10px;
}
@media(max-width:520px){
 #atosy-intermail-877 .im-image-grid-v1282{grid-template-columns:1fr}
}

/* V1283 — Match the Design inventory's image-loading visual language.
   Indeterminate progress, never an invented byte percentage. */
#atosy-intermail-877 .im-image-stage-v1282 .im-image-placeholder-v1282{
  position:relative;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  width:100%;
  height:100%;
  min-height:0;
  padding:16px 11px;
  overflow:hidden;
  background:radial-gradient(ellipse at 50% 44%,#265eaa 0%,#1c4a89 57%,#123866 100%);
  color:#a0d9ff;
  text-align:center;
}
#atosy-intermail-877 .im-image-placeholder-star-v1283{
  display:grid;
  place-items:center;
  margin:auto;
  font-size:42px;
  font-weight:400;
  line-height:1;
  color:#8ed1ff;
  text-shadow:0 0 14px rgba(109,202,255,.15);
}
#atosy-intermail-877 .im-image-placeholder-progress-v1283{
  position:relative;
  display:block;
  width:100%;
  height:13px;
  flex:0 0 13px;
  overflow:hidden;
  padding:2px;
  border:1px solid rgba(99,178,239,.47);
  border-radius:999px;
  background:rgba(6,29,65,.70);
  box-shadow:0 1px 4px rgba(0,14,36,.20);
}
#atosy-intermail-877 .im-image-placeholder-progress-fill-v1283{
  display:block;
  width:22%;
  height:100%;
  border-radius:999px;
  background:linear-gradient(90deg,#39c7f2,#73e0ff);
  box-shadow:0 0 8px rgba(68,202,253,.30);
  animation:im-image-pending-v1283 1.35s ease-in-out infinite;
}
#atosy-intermail-877 .im-image-stage-v1282 .im-image-placeholder-v1282.is-error-v1283{
  background:linear-gradient(160deg,#255080,#133963);
  gap:14px;
  color:#d5e9fa;
}
#atosy-intermail-877 .is-error-v1283 .im-image-placeholder-star-v1283{
  color:#f1d299;
  font-size:30px;
}
#atosy-intermail-877 .im-image-placeholder-text-v1283{
  margin:auto 0;
  font-size:11px;
  font-weight:700;
}
@keyframes im-image-pending-v1283{
  from{transform:translateX(-120%)}
  to{transform:translateX(480%)}
}
@media(prefers-reduced-motion:reduce){
  #atosy-intermail-877 .im-image-placeholder-progress-fill-v1283{
    animation:none;
    width:58%;
  }
}

/* V1285 — Attachment hierarchy: parent heading, regular files, then child image gallery. */
#atosy-intermail-877 .im-attachments-parent-v1285{
  display:grid;
  align-content:start;
  gap:9px;
  margin-bottom:14px;
}
#atosy-intermail-877 .im-attachments-parent-v1285 > .im-attachments-title-v934{
  margin:0 0 2px;
}
#atosy-intermail-877 .im-attachments-parent-v1285 > .im-image-gallery-v1282{
  margin:8px 0 0;
  padding:12px 0 0;
  border-top:1px solid rgba(109,167,221,.20);
}
#atosy-intermail-877 .im-attachments-parent-v1285 > .im-image-gallery-v1282:first-of-type{
  margin-top:2px;
  padding-top:8px;
  border-top:0;
}
#atosy-intermail-877 .im-attachments-parent-v1285 .im-image-gallery-v1282 > header{
  margin-bottom:10px;
  font-size:11.5px;
  color:#aecdEA;
}

/* V1286 — Draft attachment previews: images stay nested inside Google Drive attachments. */
#atosy-intermail-877 .im-compose-gallery-v1286{
  display:grid;
  gap:10px;
  min-width:0;
  padding:11px 0 4px;
  border-top:1px solid rgba(103,163,220,.22);
}
#atosy-intermail-877 .im-compose-gallery-heading-v1286{
  font-size:11.5px;
  font-weight:750;
  color:#c0def8;
}
#atosy-intermail-877 .im-compose-gallery-grid-v1286{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
  min-width:0;
}
#atosy-intermail-877 .im-compose-image-card-v1286{
  min-width:0;
  overflow:hidden;
  border-radius:15px;
  border:1px solid rgba(104,171,226,.46);
  background:linear-gradient(180deg,#153966,#102d56);
  box-shadow:0 6px 16px rgba(0,19,44,.13);
}
#atosy-intermail-877 .im-compose-image-stage-v1286{
  aspect-ratio:1/1;
  overflow:hidden;
  background:#fff;
}
#atosy-intermail-877 .im-compose-image-stage-v1286 img{
  width:100%;
  height:100%;
  display:block;
  object-fit:contain;
}
#atosy-intermail-877 .im-compose-image-info-v1286{
  display:grid;
  gap:8px;
  padding:10px;
  min-width:0;
}
#atosy-intermail-877 .im-compose-image-info-v1286 strong{
  overflow-wrap:anywhere;
  font-size:11px;
  line-height:1.4;
  color:#eaf5ff;
}
#atosy-intermail-877 .im-compose-image-actions-v1286{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:flex-end;
  gap:6px;
}
#atosy-intermail-877 .im-compose-image-actions-v1286 small{
  margin-right:auto;
  color:#b4cee8;
  font-size:10px;
}
#atosy-intermail-877 .im-compose-image-actions-v1286 button{
  min-height:28px;
  border:1px solid rgba(100,180,232,.54);
  border-radius:9px;
  background:rgba(28,94,157,.66);
  color:#fff;
  padding:4px 10px;
  font-size:11px;
  font-weight:700;
}
#atosy-intermail-877 .im-compose-image-actions-v1286 button:hover{
  background:#2878b6;
  border-color:#91deff;
}
#atosy-intermail-877 .im-compose-image-actions-v1286 button:last-child{
  padding:4px 8px;
}
.im-compose-image-overlay-v1286{
  position:fixed;
  inset:0;
  z-index:20000;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
  background:rgba(0,10,28,.87);
  backdrop-filter:blur(7px);
}
.im-compose-image-viewer-v1286{
  display:flex;
  flex-direction:column;
  width:min(1100px,100%);
  max-height:95vh;
  border:1px solid #4785bd;
  border-radius:16px;
  overflow:hidden;
  background:#0e2850;
  box-shadow:0 24px 65px rgba(0,0,0,.45);
}
.im-compose-image-viewer-v1286 header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:10px 16px;
  color:#eaf5ff;
}
.im-compose-image-viewer-v1286 header strong{
  min-width:0;
  overflow-wrap:anywhere;
  font-size:13px;
}
.im-compose-image-viewer-v1286 header button{
  border:1px solid #5589ba;
  border-radius:9px;
  color:#fff;
  background:#174979;
  cursor:pointer;
  font-size:20px;
  padding:2px 10px;
}
.im-compose-image-viewer-v1286 img{
  display:block;
  max-width:100%;
  max-height:calc(95vh - 55px);
  width:auto;
  height:auto;
  object-fit:contain;
  align-self:center;
}
@media(max-width:540px){
  #atosy-intermail-877 .im-compose-gallery-grid-v1286{grid-template-columns:1fr}
  .im-compose-image-overlay-v1286{padding:8px}
}

/* V1289 — Repair the ACTUAL backdrop behind the header's rounded corners.
   styles.css sets html/body background to #073b82 (bright cobalt); that remains
   visible through the curved header corners ABOVE #atosy-intermail-877.top.
   A workspace-only override fixes the exposed underlay, without altering header
   painting, border radius, glow or the rest of the app. */
html:has(body.intermail-open-877),
body.intermail-open-877{
  background:#071d40!important;
  background-color:#071d40!important;
}

/* V1300 — Readable, non-editable delivery metadata when editing sent mail. */
#atosy-intermail-877 .im-sent-edit-note-v1300{
  grid-column:1/-1;
  margin:4px 0 8px;
  padding:11px 13px;
  border:1px solid rgba(91,179,234,.36);
  border-left:3px solid #31c6ed;
  border-radius:12px;
  background:rgba(21,86,150,.25);
  color:#bfe5fa;
  font-size:12px;
  font-weight:550;
  line-height:1.6;
}
#atosy-intermail-877 .im-read-actions [data-im="edit-sent-v1300"]{
  border-color:rgba(90,183,231,.68);
  color:#e8f7ff;
}
#atosy-intermail-877 .im-read-actions [data-im="edit-sent-v1300"]:hover{
  border-color:#91e3ff;
  background:rgba(33,126,198,.45);
}

/* V1301 — Existing Drive files inside full sent-mail editor. */
#atosy-intermail-877 .im-existing-files-v1301{
 display:grid;gap:8px;min-width:0;margin:0 0 12px;
 padding:11px;border:1px solid rgba(104,171,226,.33);
 border-radius:13px;background:rgba(10,46,89,.20);
}
#atosy-intermail-877 .im-existing-files-v1301 > strong{
 font-size:11.5px;color:#cce8ff;
}
#atosy-intermail-877 .im-existing-file-row-v1301{
 display:flex;align-items:center;gap:8px;min-width:0;
 padding:7px 9px;border:1px solid rgba(100,167,222,.25);border-radius:10px;
}
#atosy-intermail-877 .im-existing-file-row-v1301 > span{
 flex:1;min-width:0;overflow-wrap:anywhere;font-size:11px;
}
#atosy-intermail-877 .im-existing-file-row-v1301 button{
 flex-shrink:0;border:1px solid rgba(109,188,231,.5);
 border-radius:9px;background:rgba(27,83,147,.62);
 padding:5px 8px;color:#e8f6ff;font-size:11px;font-weight:650;
 cursor:pointer;
}
#atosy-intermail-877 .im-existing-file-row-v1301 button:hover{
 border-color:#93e2ff;background:#286ba4;
}
#atosy-intermail-877 .im-existing-file-row-v1301.is-removed-v1301{
 opacity:.72;border-style:dashed;
}
#atosy-intermail-877 .im-existing-file-row-v1301.is-removed-v1301 > span{
 text-decoration:line-through;
}
@media(max-width:560px){
 #atosy-intermail-877 .im-existing-file-row-v1301{flex-wrap:wrap}
 #atosy-intermail-877 .im-existing-file-row-v1301 > span{flex-basis:100%}
}

/* V1302 — Authenticated Drive image previews in sent-mail editor. */
#atosy-intermail-877 .im-existing-gallery-v1302{margin-top:12px}
#atosy-intermail-877 .im-existing-gallery-v1302 .im-compose-image-card-v1286.is-removed-v1301{
 opacity:.63;
 border-style:dashed;
}
#atosy-intermail-877 .im-existing-gallery-v1302 .im-compose-image-card-v1286.is-removed-v1301 strong{
 text-decoration:line-through;
}
#atosy-intermail-877 .im-old-image-loading-v1302{
 width:100%;height:100%;min-height:160px;display:flex;flex-direction:column;
 align-items:center;justify-content:center;gap:12px;padding:12px;
 background:radial-gradient(circle at 50% 40%,#295f9d,#173c70 78%);
 color:#c4e3ff;
}
#atosy-intermail-877 .im-old-image-star-v1302{
 font-size:35px;line-height:1;color:#90ceff;
}
#atosy-intermail-877 .im-old-image-loading-v1302 small{
 font-size:11px;font-weight:700;
}
#atosy-intermail-877 .im-old-image-progress-v1302{
 width:95%;height:7px;overflow:hidden;border-radius:999px;
 border:1px solid rgba(140,207,252,.44);background:rgba(5,25,54,.56);
}
#atosy-intermail-877 .im-old-image-progress-v1302>span{
 display:block;height:100%;width:32%;border-radius:999px;
 background:linear-gradient(90deg,#28bef1,#86e1ff);
 animation:im-old-image-loading-v1302 1.4s ease-in-out infinite alternate;
}
@keyframes im-old-image-loading-v1302{
 from{transform:translateX(0)}
 to{transform:translateX(215%)}
}
@media(prefers-reduced-motion:reduce){
 #atosy-intermail-877 .im-old-image-progress-v1302>span{animation:none;width:60%}
}

/* V2610: content-sized InterMail compose field, no nested vertical scrolling. */
#atosy-intermail-877 .im-reader.im-reader-composing-v949 .im-compose-inline-v949[data-im-autogrow-v2610]{overflow-y:auto;min-height:0;overscroll-behavior:contain;}
#atosy-intermail-877 .im-reader.im-reader-composing-v949 .im-compose-inline-v949[data-im-autogrow-v2610] > *{flex-shrink:0;}
#atosy-intermail-877 .im-reader.im-reader-composing-v949 .im-compose-inline-v949[data-im-autogrow-v2610] #im-body.im-compose-body-v949{box-sizing:border-box;flex:0 0 auto!important;min-height:240px!important;max-height:none!important;height:auto;overflow-y:hidden!important;resize:none!important;width:100%;min-width:0;}
@supports(field-sizing:content){
 #atosy-intermail-877 .im-reader.im-reader-composing-v949 .im-compose-inline-v949[data-im-autogrow-v2610] #im-body.im-compose-body-v949{field-sizing:content;height:auto!important;}
}
