:root{--bg:#f5f7fa;--panel:#ffffff;--panel-soft:#f9fafb;--line:#e6eaf0;--line-strong:#d9dee7;--text:#15201c;--muted:#667085;--muted2:#98a2b3;--brand:#0f766e;--brand-dark:#0b5f59;--brand-soft:#ecfdf5;--accent:#2563eb;--danger:#b42318;--shadow:0 12px 36px rgba(16,24,40,.06)}
*{box-sizing:border-box}html,body{height:100%}body{margin:0;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--text);background:var(--bg);-webkit-font-smoothing:antialiased}button,input,textarea{font:inherit}
.app{height:100vh;display:grid;grid-template-rows:64px 1fr;overflow:hidden;background:linear-gradient(180deg,#fbfcfd 0,#f4f6f8 100%)}.top{display:flex;align-items:center;justify-content:space-between;padding:0 20px;border-bottom:1px solid var(--line);background:rgba(255,255,255,.94);backdrop-filter:blur(12px);z-index:10}.brand{display:flex;align-items:center;gap:11px;min-width:0}.brand-mark{width:36px;height:36px;border-radius:10px;display:grid;place-items:center;font-weight:800;font-size:15px;color:#fff;background:linear-gradient(135deg,#0f766e,#0b5f59);box-shadow:0 6px 16px rgba(15,118,110,.18)}.brand-title{font-size:15px;font-weight:760;letter-spacing:-.01em}.brand-account{font-size:11px;color:var(--muted);margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:360px}.top-actions{display:flex;align-items:center;gap:9px}.status-pill{height:34px;padding:0 12px;border:1px solid var(--line);border-radius:999px;display:flex;align-items:center;gap:8px;background:#fff;color:var(--muted);font-size:12px}.dot{width:7px;height:7px;border-radius:50%;background:#12b76a;box-shadow:0 0 0 3px rgba(18,183,106,.10)}.dot.off{background:#f04438;box-shadow:0 0 0 3px rgba(240,68,56,.10)}.icon-btn{width:34px;height:34px;border:1px solid var(--line);border-radius:9px;background:#fff;color:#475467;cursor:pointer;font-size:18px;line-height:1}.icon-btn:hover{background:#f9fafb;border-color:var(--line-strong)}
.layout{min-height:0;display:grid;grid-template-columns:244px minmax(350px,390px) minmax(520px,1fr)}.side{min-height:0;overflow:auto;padding:20px 14px 18px;background:#fbfcfd;border-right:1px solid var(--line)}.side-kicker{font-size:10px;font-weight:800;letter-spacing:.11em;color:var(--muted2);padding:0 9px 10px}.compose{width:100%;height:42px;border:0;border-radius:11px;background:linear-gradient(135deg,var(--brand),var(--brand-dark));color:#fff;font-weight:720;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:8px;box-shadow:0 8px 18px rgba(15,118,110,.18);margin-bottom:16px}.compose:hover{filter:brightness(.98);transform:translateY(-1px)}.compose-plus{font-size:19px;font-weight:400;line-height:1}.quick-folders{display:grid;gap:4px}.folder{width:100%;min-height:37px;border:0;background:transparent;border-radius:9px;color:#475467;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 10px;text-align:left}.folder:hover{background:#f2f4f7;color:#1d2939}.folder.active{background:var(--brand-soft);color:var(--brand-dark);font-weight:700}.folder-main{display:flex;align-items:center;gap:9px;min-width:0}.quick-icon{width:17px;color:#7d8a98;text-align:center}.folder.active .quick-icon{color:var(--brand)}.folder-count{font-size:11px;min-width:18px;height:20px;padding:0 6px;border-radius:999px;display:grid;place-items:center;color:#667085;background:#f2f4f7}.folder.active .folder-count{background:#d9f6ec;color:var(--brand-dark)}.folder-section-title{margin:22px 9px 7px;display:flex;align-items:center;justify-content:space-between;font-size:10px;font-weight:800;letter-spacing:.09em;text-transform:uppercase;color:var(--muted2)}.folder-section-title span:last-child{font-weight:700;letter-spacing:.05em;color:#b0b7c3}.folder-tree-row{font-size:12px;min-height:32px;padding-top:6px;padding-bottom:6px}.folder-label{display:flex;align-items:center;gap:7px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.folder-label::before{content:"";width:13px;height:9px;border:1.5px solid #a6afbb;border-radius:2px;display:inline-block;flex:0 0 auto;box-shadow:inset 0 2px 0 rgba(255,255,255,.5)}.folder-label i{font-style:normal;font-size:9px;color:#98a2b3;width:8px}.folder.active .folder-label::before{border-color:var(--brand)}.folder-empty{font-size:12px;padding:12px;color:var(--muted)}
.list{min-height:0;background:#fff;border-right:1px solid var(--line);display:grid;grid-template-rows:auto 1fr}.list-head{padding:18px 16px 12px;border-bottom:1px solid var(--line);background:#fff}.list-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:14px}.eyebrow{font-size:9px;font-weight:800;letter-spacing:.11em;color:var(--muted2);margin-bottom:3px}.list-heading h2{margin:0;font-size:19px;letter-spacing:-.02em}.count-pill{height:24px;min-width:28px;padding:0 8px;border-radius:999px;background:#f2f4f7;color:#475467;font-size:11px;font-weight:700;display:grid;place-items:center}.search-wrap{height:39px;border:1px solid var(--line-strong);border-radius:10px;background:#fbfcfd;display:flex;align-items:center;padding:0 10px;gap:7px;transition:.16s}.search-wrap:focus-within{border-color:#89bcb5;box-shadow:0 0 0 3px rgba(15,118,110,.08);background:#fff}.search-icon{font-size:17px;color:#98a2b3;transform:rotate(-15deg)}.search{width:100%;border:0;background:transparent;outline:0;color:#344054;font-size:12px;padding:0}.search::placeholder{color:#98a2b3}.filter-row{display:flex;gap:7px;margin-top:10px}.filter-chip{height:28px;border:1px solid transparent;border-radius:999px;background:#f5f7f9;color:#667085;padding:0 10px;font-size:11px;font-weight:650;cursor:pointer}.filter-chip:hover{background:#eef1f4}.filter-chip.active{background:#e9f8f4;color:var(--brand-dark);border-color:#d4efe8}.messages{overflow:auto;scrollbar-width:thin;scrollbar-color:#d5dae1 transparent}.msg{position:relative;display:grid;grid-template-columns:38px minmax(0,1fr);gap:10px;padding:13px 14px;border-bottom:1px solid #f0f2f5;cursor:pointer;background:#fff;transition:.14s}.msg:hover{background:#f9fbfb}.msg.selected{background:#f0faf7}.msg.selected::before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:var(--brand)}.msg-avatar{width:36px;height:36px;border-radius:10px;background:#f2f4f7;color:#475467;display:grid;place-items:center;font-size:11px;font-weight:800;letter-spacing:.02em}.msg.unread .msg-avatar{background:#dff7f1;color:var(--brand-dark)}.msg-main{min-width:0}.msg-top{display:flex;align-items:center;justify-content:space-between;gap:10px}.msg-from{font-size:12px;font-weight:650;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.msg.unread .msg-from{font-weight:800;color:#182b25}.msg-date{font-size:10px;color:#98a2b3;white-space:nowrap}.msg-subject{font-size:12px;color:#475467;margin-top:5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.msg.unread .msg-subject{font-weight:700;color:#263a34}.msg-line{display:flex;align-items:center;gap:6px;margin-top:7px;font-size:10px;color:#98a2b3}.unread-dot{width:6px;height:6px;border-radius:50%;background:var(--brand)}.empty{padding:34px 22px;text-align:center;color:var(--muted);font-size:13px}
.reader{min-width:0;min-height:0;overflow:auto;padding:20px 22px 26px;background:#f6f8fa}.reader-card{max-width:980px;margin:0 auto;background:#fff;border:1px solid var(--line);border-radius:16px;min-height:calc(100vh - 110px);overflow:hidden;box-shadow:var(--shadow)}.reader-empty{min-height:calc(100vh - 112px);display:grid;place-items:center;padding:40px}.reader-empty-inner{display:flex;flex-direction:column;align-items:center;max-width:300px;text-align:center;color:var(--muted)}.reader-empty-icon{width:54px;height:54px;border-radius:15px;background:#eef8f5;color:var(--brand);display:grid;place-items:center;font-size:24px;margin-bottom:14px}.reader-empty strong{font-size:15px;color:#344054;margin-bottom:6px}.reader-empty span{font-size:12px;line-height:1.5}.mail-head{padding:24px 26px 18px;border-bottom:1px solid var(--line);background:linear-gradient(180deg,#fff,#fcfdfd)}.mail-subject-row{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.mail-head h2{margin:0;font-size:22px;line-height:1.28;letter-spacing:-.025em}.sender-row{display:flex;align-items:center;gap:11px;margin-top:16px}.sender-avatar{width:40px;height:40px;border-radius:12px;background:#e8f7f3;color:var(--brand-dark);display:grid;place-items:center;font-weight:800;font-size:12px}.sender-meta{min-width:0}.sender-name{font-size:13px;font-weight:750;color:#344054}.sender-address{font-size:11px;color:#98a2b3;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:520px}.meta{margin-top:10px;font-size:11px;color:#7b8794;line-height:1.55}.mail-actions{display:flex;gap:7px;flex-wrap:wrap;margin-top:16px}.btn{height:34px;border:1px solid var(--line-strong);background:#fff;border-radius:9px;padding:0 11px;color:#475467;font-size:12px;font-weight:650;cursor:pointer}.btn:hover{background:#f9fafb}.btn.primary{background:var(--brand);border-color:var(--brand);color:#fff}.btn.primary:hover{background:var(--brand-dark)}.mail-body{padding:28px 30px;white-space:pre-wrap;line-height:1.65;font-size:14px;color:#26352f;word-break:break-word}.mail-html-wrap{padding:14px 20px 24px;background:#fff}.mail-html-frame{display:block;width:100%;height:69vh;min-height:540px;border:0;background:#fff}.attachments{padding:0 28px 24px;display:flex;gap:8px;flex-wrap:wrap}.att{display:inline-flex;align-items:center;padding:7px 10px;border:1px solid var(--line);border-radius:9px;color:#475467;font-size:11px;background:#fafbfc}.compose-pane{padding:26px}.compose-pane h2{margin:0 0 18px;font-size:21px;letter-spacing:-.02em}.field{margin-bottom:13px}.field label{display:block;font-size:11px;font-weight:750;color:#475467;margin-bottom:6px}.field input,.field textarea{width:100%;border:1px solid var(--line-strong);border-radius:10px;padding:10px 11px;outline:none;color:#344054;background:#fff}.field textarea{min-height:330px;resize:vertical;line-height:1.55}.field input:focus,.field textarea:focus{border-color:#89bcb5;box-shadow:0 0 0 3px rgba(15,118,110,.08)}.compose-actions{display:flex;gap:8px;justify-content:flex-end;margin-top:16px}.notice{padding:10px 12px;border:1px solid #dcefe9;border-radius:9px;background:#f5fcfa;color:#40635a;font-size:11px;margin-bottom:16px}.toast{position:fixed;right:20px;bottom:20px;z-index:50;background:#101828;color:#fff;padding:11px 14px;border-radius:10px;font-size:12px;box-shadow:0 12px 30px rgba(16,24,40,.20);display:none}.toast.err{background:var(--danger)}.loading{pointer-events:none}
@media(max-width:1180px){.layout{grid-template-columns:210px 350px minmax(430px,1fr)}.side{padding-left:10px;padding-right:10px}.reader{padding:14px}.mail-head{padding:20px}.mail-body{padding:24px}}
@media(max-width:900px){.layout{grid-template-columns:180px 1fr}.reader{position:fixed;inset:64px 0 0 0;background:var(--bg);z-index:20;display:none;padding:12px}.reader.mobile-open{display:block}.list{border-right:0}.brand-account{max-width:220px}.reader-card{min-height:calc(100vh - 88px)}}
@media(max-width:620px){.app{grid-template-rows:58px 1fr}.top{padding:0 12px}.brand-mark{width:32px;height:32px}.brand-account{display:none}.status-pill{display:none}.layout{grid-template-columns:92px 1fr}.side{padding:12px 7px}.side-kicker,.folder-section-title span:last-child{display:none}.compose{height:38px;font-size:0}.compose-plus{font-size:21px}.folder{padding-left:8px;padding-right:8px}.folder-main{gap:5px}.folder-main{font-size:11px}.folder-tree-row{padding-left:8px!important}.folder-tree-row .folder-label{font-size:0}.folder-tree-row .folder-label::before{width:15px;height:10px}.reader{inset:58px 0 0 0}.mail-subject-row{display:block}.mail-head h2{font-size:19px}.mail-html-frame{min-height:480px}.list-head{padding:14px 10px 10px}}

/* CEO MAIL V4 · carpetas plegables + firma visible */
.folder-toggle{display:inline-grid;place-items:center;width:14px;height:18px;border-radius:4px;color:#98a2b3;transition:.15s;flex:0 0 auto}.folder-toggle.has-children{color:#667085;font-size:11px}.folder-toggle.has-children:hover{background:#e9edf2;color:#344054}.folder-tree-row{transition:background .12s,color .12s}
.signature-box{margin-top:14px;border:1px solid var(--line);border-radius:12px;background:#fbfcfd;overflow:hidden}.signature-box-head{height:38px;padding:0 12px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);background:#f8fafb;color:#475467}.signature-box-head span{font-size:11px;font-weight:800}.signature-box-head small{font-size:10px;color:#98a2b3}.signature-frame{display:block;width:100%;height:250px;border:0;background:#fff}
@media(max-width:620px){.signature-frame{height:280px}.folder-toggle{width:12px}}

.folder-drag{width:14px;flex:0 0 14px;color:#b1bac5;cursor:grab;font-size:12px;line-height:1;user-select:none;opacity:.55}.folder-drag:hover{color:var(--brand);opacity:1}.folder-drag:active{cursor:grabbing}.folder-tree-row.drag-over{background:#e5f7f2!important;box-shadow:inset 0 0 0 1px #9bd5c8}.folder-tree-row .folder-label{flex:1}.folder-tree-row{justify-content:flex-start}.folder-tree-row>span:last-child{margin-left:auto}

/* CEO MAIL V7 · prioridades persistentes */
.msg[data-priority="1"]{box-shadow:inset 4px 0 #d92d20}.msg[data-priority="2"]{box-shadow:inset 4px 0 #f79009}.msg[data-priority="3"]{box-shadow:inset 4px 0 #fdb022}.msg[data-priority="4"]{box-shadow:inset 4px 0 #2e90fa}.msg[data-priority="5"]{box-shadow:inset 4px 0 #12b76a}.msg[data-priority="1"]:not(.selected){background:linear-gradient(90deg,#fff4f2 0,#fff 34%)}.msg[data-priority="2"]:not(.selected){background:linear-gradient(90deg,#fff8ed 0,#fff 34%)}.msg[data-priority="3"]:not(.selected){background:linear-gradient(90deg,#fffbea 0,#fff 34%)}.msg[data-priority="4"]:not(.selected){background:linear-gradient(90deg,#eff8ff 0,#fff 34%)}.msg[data-priority="5"]:not(.selected){background:linear-gradient(90deg,#ecfdf3 0,#fff 34%)}.msg[data-priority]:not([data-priority="0"]).selected::before{display:none}.priority-dot{width:8px;height:8px;border-radius:50%;display:inline-block;flex:0 0 auto}.p1{background:#d92d20!important}.p2{background:#f79009!important}.p3{background:#fdb022!important}.p4{background:#2e90fa!important}.p5{background:#12b76a!important}.priority-picker{display:flex;align-items:center;gap:7px;margin-top:13px;padding-top:12px;border-top:1px solid #eef1f4}.priority-title{font-size:11px;font-weight:750;color:#667085;margin-right:2px}.priority-swatch{width:22px;height:22px;border-radius:50%;border:3px solid #fff;box-shadow:0 0 0 1px #d0d5dd;cursor:pointer;padding:0}.priority-swatch:hover{transform:scale(1.12)}.priority-clear{width:22px;height:22px;border-radius:50%;border:1px solid #d0d5dd;background:#fff;color:#667085;font-size:10px;font-weight:800;cursor:pointer}.priority-current{font-size:10px;color:#98a2b3;margin-left:3px}.priority-shortcuts{display:flex;align-items:center;gap:8px;margin-top:9px;color:#98a2b3;font-size:9px;white-space:nowrap;overflow:hidden}.shortcut-color{display:inline-flex;align-items:center;gap:3px}.shortcut-color i{width:6px;height:6px;border-radius:50%;display:inline-block}.shortcut-key{font-weight:800;color:#667085}
@media(max-width:900px){.priority-shortcuts{display:none}}

.btn.danger{color:#b42318;border-color:#f0c9c5;background:#fff}.btn.danger:hover{background:#fff4f2;border-color:#e9a9a2}

/* CEO MAIL V10 · legibilidad + lector full responsive */
@media(min-width:901px){
  .layout{grid-template-columns:260px minmax(400px,440px) minmax(0,1fr)}
  .reader{padding:10px;overflow:hidden;display:flex;min-width:0}
  .reader-card{max-width:none;width:100%;height:100%;min-height:0;margin:0;border-radius:12px;display:flex;flex-direction:column}
  .mail-head{flex:0 0 auto;padding:22px 28px 18px}
  .mail-html-wrap{flex:1;min-height:0;padding:8px 12px 12px;overflow:hidden}
  .mail-html-frame{width:100%;height:100%;min-height:0}
  .mail-body{flex:1;min-height:0;overflow:auto;padding:28px 34px}
  .compose-pane{flex:1;overflow:auto}
}
.brand-title{font-size:17px}.brand-account{font-size:13px}.side-kicker,.folder-section-title{font-size:11px}
.compose{height:46px;font-size:14px}.folder{min-height:40px;font-size:14px}.folder-tree-row{font-size:13px;min-height:35px}.folder-count{font-size:12px}
.list-heading h2{font-size:22px}.search{font-size:13px}.filter-chip{font-size:12px;height:31px}.priority-shortcuts{font-size:10px}
.msg{grid-template-columns:42px minmax(0,1fr);gap:11px;padding:15px 15px}.msg-avatar{width:40px;height:40px;font-size:12px}
.msg-from{font-size:14px}.msg-date{font-size:11px}.msg-subject{font-size:13.5px;line-height:1.35}.msg-line{font-size:11px;margin-top:8px}
.mail-head h2{font-size:26px}.sender-name{font-size:15px}.sender-address{font-size:12px}.meta{font-size:12.5px}.btn{height:38px;font-size:13px}.priority-title{font-size:12px}.priority-current{font-size:11px}
.mail-body{font-size:16px;line-height:1.7}.att{font-size:12px}.reader-empty strong{font-size:17px}.reader-empty span{font-size:13px}
@media(min-width:1500px){.layout{grid-template-columns:280px minmax(430px,470px) minmax(0,1fr)}.msg-from{font-size:14.5px}.msg-subject{font-size:14px}.reader{padding:8px}}
@media(max-width:1180px) and (min-width:901px){.layout{grid-template-columns:220px 370px minmax(0,1fr)}.folder{font-size:13px}.folder-tree-row{font-size:12.5px}}


/* CEO MAIL V11 · contraste tipografico reforzado */
body{color:#101828;font-weight:500}
.brand-title{font-weight:800}.brand-account{font-weight:600;color:#475467}
.side-kicker,.folder-section-title,.eyebrow{font-weight:900;color:#667085}
.folder{font-size:14px;font-weight:650;color:#344054}.folder.active{font-weight:850;color:#075e57}.folder-tree-row{font-size:13.5px}.folder-count,.count-pill{font-weight:800}
.list-heading h2{font-size:22px;font-weight:850;color:#101828}.search{font-size:13.5px;font-weight:550;color:#1d2939}.filter-chip{font-size:12px;font-weight:750}
.msg-from{font-size:14px;font-weight:750;color:#1d2939}.msg.unread .msg-from{font-weight:900;color:#101828}.msg-subject{font-size:13.5px;font-weight:600;color:#344054}.msg.unread .msg-subject{font-weight:800;color:#182230}
.msg-date{font-size:11.5px;font-weight:650;color:#667085}.msg-line{font-size:11.5px;font-weight:600;color:#667085}
.mail-head h2{font-size:26px;font-weight:850;color:#101828}.sender-name{font-size:15px;font-weight:850;color:#1d2939}.sender-address{font-size:12.5px;font-weight:600;color:#667085}.meta{font-size:12.5px;font-weight:600;color:#667085}.meta strong{font-weight:850;color:#344054}.btn{font-size:13px;font-weight:750}
.priority-title{font-size:12px;font-weight:850;color:#475467}.priority-current{font-size:11.5px;font-weight:650;color:#667085}.mail-body{font-size:16px;font-weight:550;line-height:1.72;color:#182230}.att{font-size:12px;font-weight:650}
.compose-pane h2{font-size:24px;font-weight:850}.field label{font-size:12px;font-weight:850}.field input,.field textarea{font-size:15px;font-weight:550}
@media(max-width:900px){.mail-head h2{font-size:23px}.folder{font-size:13px}.msg-from{font-size:13.5px}.msg-subject{font-size:13px}}

/* CEO MAIL V12 · Copiloto IA SHADOW + flujo Entrada=pendientes */
.btn.success{background:#ecfdf3;border-color:#a6e3c7;color:#067647}.btn.success:hover{background:#dff8ea;border-color:#86d5b0}
.ai-copilot{margin:14px 18px 0;border:1px solid #cfe8e2;border-radius:14px;background:linear-gradient(180deg,#f7fffc,#f2faf7);padding:16px 18px;box-shadow:0 6px 18px rgba(15,118,110,.05)}
.ai-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:11px}.ai-head>div{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.ai-head strong{font-size:14px;font-weight:900;color:#075e57}.ai-head small{font-size:10.5px;font-weight:700;color:#667085}.ai-spark{width:26px;height:26px;border-radius:8px;display:inline-grid;place-items:center;background:#dff7f1;color:#0f766e;font-weight:900}.ai-refresh{width:30px;height:30px;border:1px solid #cfe8e2;border-radius:8px;background:#fff;color:#0f766e;font-size:17px;cursor:pointer}.ai-refresh:hover{background:#ecfdf5}
.ai-summary{font-size:14px;font-weight:650;line-height:1.55;color:#1d2939}.ai-action{margin-top:12px;padding:11px 12px;border-radius:10px;background:#fff;border:1px solid #e4ece9;display:grid;gap:4px}.ai-action span{font-size:10px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:#667085}.ai-action strong{font-size:14px;line-height:1.45;color:#101828}.ai-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}.ai-chip{display:inline-flex;align-items:center;min-height:26px;padding:3px 8px;border-radius:999px;background:#fff;border:1px solid #dbe6e2;color:#475467;font-size:10.5px;font-weight:750}.ai-chip.strong{background:#e8f7f3;color:#075e57;border-color:#c7e8df}.ai-chip.good{background:#ecfdf3;color:#067647;border-color:#b7e9cf}.ai-chip.pending{background:#fff8eb;color:#b54708;border-color:#fedf89}.ai-why{margin-top:9px;font-size:11.5px;font-weight:600;line-height:1.5;color:#667085}.ai-actions{display:flex;flex-wrap:wrap;gap:7px;margin-top:12px}.ai-btn{height:32px;font-size:11.5px}.ai-loading{display:flex;align-items:center;gap:10px;color:#667085}.ai-loading div{display:grid;gap:2px}.ai-loading strong{font-size:13px;color:#075e57}.ai-loading span{font-size:11px}.ai-error{color:#b42318}
@media(min-width:901px){.ai-copilot{margin:14px 20px 0;flex:0 0 auto}.reader-card>.mail-html-wrap,.reader-card>.mail-body{margin-top:4px}}
@media(max-width:620px){.ai-copilot{margin:10px 10px 0;padding:13px}.ai-head small{width:100%;padding-left:34px}.ai-summary,.ai-action strong{font-size:13px}}

/* CEO_MAIL_ATTACHMENTS_AI_COLLAPSE_V13 */
.attachments{padding:0;margin-top:12px;display:block}.attachments-title{font-size:11px;font-weight:850;color:#475467;margin-bottom:7px;display:flex;align-items:center;gap:6px}.attachments-title span{display:inline-grid;place-items:center;min-width:18px;height:18px;border-radius:9px;background:#eef2f6;color:#475467;font-size:10px}.attachments-list{display:flex;gap:7px;flex-wrap:wrap}.att{padding:0;overflow:hidden;background:#f8fafc;display:inline-flex;align-items:stretch}.att-open{display:flex;align-items:center;gap:6px;padding:7px 9px;color:#344054;text-decoration:none;min-width:0}.att-open strong{max-width:260px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.att-open small{font-size:10px;color:#98a2b3;font-weight:650}.att-open:hover{background:#f0f7f5}.att-download{width:32px;display:grid;place-items:center;border-left:1px solid var(--line);color:var(--brand);text-decoration:none;font-size:16px;font-weight:900}.att-download:hover{background:#eaf8f4}.att.disabled{padding:7px 9px;opacity:.65}
.ai-copilot.collapsed{padding:10px 14px;margin-top:10px}.ai-copilot.collapsed .ai-head{margin-bottom:0}.ai-copilot.collapsed .ai-collapsible{display:none}.ai-head-actions{display:flex;align-items:center;gap:6px}.ai-toggle{height:30px;border:1px solid #cfe8e2;border-radius:8px;background:#fff;color:#0f766e;padding:0 10px;font-size:11px;font-weight:800;cursor:pointer}.ai-toggle:hover{background:#ecfdf5}.ai-collapsible{display:block}.ai-loading{color:#667085;font-size:12px}.ai-copilot.collapsed .ai-head small{max-width:520px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media(max-width:620px){.att-open small{display:none}.att-open strong{max-width:185px}.ai-copilot.collapsed{margin:8px 8px 0}.ai-head-actions{margin-left:auto}}

/* CEO MAIL V14 · bloque Carpetas IMAP plegable */
.folder-section-toggle{width:calc(100% - 18px);border:0;background:transparent;padding:0;cursor:pointer;text-align:left}.folder-section-toggle:hover{color:#344054}.folder-section-toggle span:last-child{color:var(--brand);font-weight:850}.folder-block-collapsed #folder-tree{display:none}.folder-block-collapsed .folder-section-toggle{margin-bottom:0}.folder-section-toggle[aria-expanded="true"] span:last-child{color:#667085}

/* CEO MAIL V15 · adjuntos salientes */
.compose-attachments{margin:4px 0 14px;border:1px solid var(--line);border-radius:12px;background:#fbfcfd;padding:11px 12px}.compose-attach-head{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.compose-attach-head>span{font-size:10.5px;color:#98a2b3;font-weight:650}.attach-btn{color:var(--brand);border-color:#b9ddd5;background:#fff}.attach-btn:hover{background:#eefaf7}.compose-files{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px}.compose-files.empty{display:none}.compose-file{display:flex;align-items:center;border:1px solid #dce3e8;background:#fff;border-radius:9px;overflow:hidden;max-width:100%}.compose-file>span{display:flex;align-items:center;gap:6px;padding:7px 9px;min-width:0;color:#344054;font-size:11px}.compose-file strong{max-width:280px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.compose-file small{color:#98a2b3;font-weight:650;white-space:nowrap}.compose-file button{width:30px;align-self:stretch;border:0;border-left:1px solid #e4e7ec;background:#fff;color:#b42318;font-size:18px;cursor:pointer}.compose-file button:hover{background:#fff4f2}
@media(max-width:620px){.compose-file strong{max-width:170px}.compose-attach-head>span{width:100%}}

/* CEO_MAIL_V16_FULL_SIDEBAR_COLLAPSE */
.side{min-width:0;transition:opacity .16s ease,transform .18s ease,padding .18s ease,border-color .18s ease}.layout{transition:grid-template-columns .18s ease}.mailbox-head-actions{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px}.sidebar-collapse-btn{height:36px;border:1px solid var(--line-strong);border-radius:9px;background:#fff;color:#475467;padding:0 11px;font-size:12px;font-weight:800;cursor:pointer;white-space:nowrap}.sidebar-collapse-btn:hover{background:#f2f4f7}.compose.compose-head{width:auto;height:36px;margin:0;padding:0 14px;border-radius:9px;box-shadow:none;font-size:12px;flex:0 0 auto}.app.sidebar-collapsed .side{padding-left:0;padding-right:0;border-right-color:transparent;opacity:0;transform:translateX(-100%);overflow:hidden;pointer-events:none}.app.sidebar-collapsed .layout{grid-template-columns:0 minmax(420px,460px) minmax(0,1fr)}
@media(max-width:900px){.app.sidebar-collapsed .layout{grid-template-columns:0 1fr}.mailbox-head-actions{gap:6px}.sidebar-collapse-btn{padding:0 9px}.compose.compose-head{padding:0 11px}}
@media(max-width:620px){.mailbox-head-actions{align-items:stretch}.sidebar-collapse-btn,.compose.compose-head{font-size:11px}.compose.compose-head .compose-plus{font-size:16px}}

/* CEO_MAIL_V17_COMPACT_READER_HEADER */
.compact-head{padding:11px 16px 9px!important}.compact-head .mail-subject-row{margin:0}.compact-head h2{font-size:21px!important;line-height:1.15!important}.compact-sender{margin-top:8px!important;gap:8px!important}.compact-sender .sender-avatar{width:30px!important;height:30px!important;border-radius:9px!important;font-size:10px!important}.compact-sender .sender-name{font-size:12.5px!important;line-height:1.25}.sender-address-inline{font-size:10.5px;font-weight:600;color:#667085;margin-left:5px}.compact-meta{margin-top:3px!important;font-size:10.5px!important;line-height:1.3!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.compact-actions{margin-top:8px!important;gap:5px!important}.compact-actions .btn{height:29px!important;padding:0 9px!important;border-radius:7px!important;font-size:10.5px!important}.mail-info-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:8px;padding-top:7px;border-top:1px solid #eef1f4;min-width:0}.compact-priority{margin:0!important;padding:0!important;border:0!important;gap:5px!important;flex:0 0 auto}.compact-priority .priority-title{font-size:10.5px!important}.compact-priority .priority-swatch,.compact-priority .priority-clear{width:18px!important;height:18px!important}.compact-priority .priority-current{font-size:10px!important;max-width:120px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mail-info-row .attachments{padding:0!important;margin:0!important;display:flex!important;align-items:center!important;gap:5px!important;min-width:0;flex:1;justify-content:flex-end}.mail-info-row .attachments-title{margin:0!important;font-size:10px!important;white-space:nowrap}.mail-info-row .attachments-title span{height:16px!important;min-width:16px!important;font-size:9px!important}.mail-info-row .attachments-list{gap:5px!important;flex-wrap:nowrap;min-width:0;overflow:hidden}.mail-info-row .att{height:25px!important;min-width:0}.mail-info-row .att-open{padding:4px 6px!important;gap:4px!important;min-width:0}.mail-info-row .att-open strong{max-width:210px!important;font-size:10px!important}.mail-info-row .att-open small{font-size:9px!important}.mail-info-row .att-download{width:26px!important;font-size:13px!important}.ai-copilot{margin-top:6px!important}.ai-copilot.collapsed{padding:7px 10px!important;margin-top:6px!important}.ai-copilot.collapsed .ai-head{min-height:26px}.mail-html-wrap{padding-top:5px!important}.mail-body{padding-top:16px!important}
@media(max-width:1100px){.mail-info-row{align-items:flex-start;flex-wrap:wrap}.mail-info-row .attachments{justify-content:flex-start;width:100%}.sender-address-inline{display:none}.compact-meta{white-space:normal}.mail-info-row .att-open strong{max-width:170px!important}}

/* CEO_MAIL_V18_MOVE_TO_FOLDER */
.mail-move-select{height:29px;border:1px solid var(--line-strong);border-radius:7px;background:#fff;color:#475467;padding:0 24px 0 8px;font-size:10.5px;font-weight:750;outline:0;cursor:pointer;max-width:145px}.mail-move-select:hover{background:#f9fafb}.mail-move-select:focus{border-color:#89bcb5;box-shadow:0 0 0 2px rgba(15,118,110,.08)}

/* V23 recipient autocomplete */
.recipient-field{position:relative}
.recipient-suggest{display:none;position:absolute;left:0;right:0;top:100%;z-index:80;background:#fff;border:1px solid #cfd8e3;border-radius:8px;box-shadow:0 10px 26px rgba(15,23,42,.14);max-height:260px;overflow:auto;margin-top:3px;padding:4px}
.recipient-suggest.show{display:block}
.recipient-option{display:flex;width:100%;border:0;background:#fff;text-align:left;padding:8px 10px;border-radius:6px;cursor:pointer;align-items:center;gap:10px;font-size:12px;color:#17212b}
.recipient-option:hover,.recipient-option.active{background:#eaf8f5}
.recipient-option strong{flex:0 1 auto;max-width:45%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px}
.recipient-option span{color:#667085;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:11px}

/* CEO_MAIL_V24_QUIET_REFRESH_COMPOSE */
.compose-topline{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px}.compose-topline h2{margin:0}.compose-actions-top{margin:0;flex:0 0 auto}.compose-actions-top .btn{min-width:86px}.compose-pane .field textarea{min-height:390px}
@media(max-width:620px){.compose-topline{align-items:flex-start}.compose-actions-top .btn{min-width:0;padding:0 9px}.compose-pane .field textarea{min-height:320px}}

/* CEO_MAIL_V25_DRAG_DROP_ATTACHMENTS */
.compose-pane{position:relative}
.compose-drop-overlay{position:absolute;inset:10px;z-index:95;display:none;align-items:center;justify-content:center;border:2px dashed #4da999;border-radius:14px;background:rgba(236,253,245,.94);pointer-events:none}
.compose-drop-overlay>div{text-align:center;padding:22px 28px;border-radius:13px;background:#fff;box-shadow:0 12px 36px rgba(15,118,110,.12);color:#075e57}
.compose-drop-overlay strong{display:block;font-size:18px;font-weight:900}
.compose-drop-overlay span{display:block;margin-top:5px;font-size:12px;font-weight:650;color:#667085}
.compose-pane.drag-files-over .compose-drop-overlay{display:flex}
.compose-pane.drag-files-over .field textarea{border-color:#4da999;box-shadow:0 0 0 3px rgba(15,118,110,.10)}
.compose-attachments{transition:border-color .14s,background .14s}.compose-pane.drag-files-over .compose-attachments{border-color:#8fd1c3;background:#eefaf7}
@media(max-width:620px){.compose-drop-overlay{inset:6px}.compose-drop-overlay strong{font-size:16px}}
