﻿/* cannalnx-ui.css — shared look for the CannaLnx facelift.
   Scoped: every rule lives under .cx-root and every class is prefixed cx-, so pages opt in one at a time
   and Bootstrap / CannaLnx.css / Kendo cannot collide. Load once from _LayoutCannaLnx after CannaLnx.css. */

.cx-root{
  /* CannaLnx brand (Matthew's style guide, Oct 2026): blues lead, green only in the logo and small accents. Inter throughout. */
  --cx-bg:#ffffff; --cx-fg:#2E2E2E; --cx-muted:#55688B; --cx-line:#E3ECF3; --cx-panel:#F0F6FB;
  --cx-brand:#0B3D5C; --cx-brand-dark:#2B7B9D; --cx-brand-soft:#E7F2F9; --cx-accent-ink:#0B3D5C;
  --cx-link:#2B7B9D; --cx-warn:#b54708; --cx-info:#2B7B9D;
  --cx-font-body:"Inter","Segoe UI",system-ui,-apple-system,sans-serif;
  --cx-font-display:"Inter","Segoe UI",system-ui,-apple-system,sans-serif;
  --cx-radius:10px; --cx-shadow:0 1px 3px rgba(11,61,92,.08),0 4px 14px rgba(11,61,92,.06);
  background:var(--cx-bg); color:var(--cx-fg); font-family:var(--cx-font-body); font-size:16px; line-height:1.45;
}
/* ---------------------------------------------------------------------------------------------------
   COLOR OPTIONS. The block above is the live palette (brand green). To try a blue, copy ONE of the blocks
   below, paste it directly AFTER the .cx-root{...} block above, and refresh. Later definitions win, so
   nothing else needs editing. The logo and the legacy green pages are unaffected either way.
   Each block sets the same six tokens: brand (buttons, titles), brand-dark (hover), brand-soft (tints),
   accent-ink (text on tints), link, and info (focus rings). Contrast on white: brand >= 4.5:1 for text.

   Option A — Clinical navy (quiet, institutional; green leaf becomes the only green on the page)
.cx-root{ --cx-brand:#1f4e8c; --cx-brand-dark:#163a69; --cx-brand-soft:#e7eef8; --cx-accent-ink:#13305a; --cx-link:#1f4e8c; --cx-info:#2f7bd6; }

   Option B — Medical blue (brighter, closer to healthcare-app blues; most contrast with the green leaf)
.cx-root{ --cx-brand:#1b6fc2; --cx-brand-dark:#14538f; --cx-brand-soft:#e6f0fb; --cx-accent-ink:#0f3c6a; --cx-link:#1b6fc2; --cx-info:#1b6fc2; }

   Option C — Teal-blue (sits between the current green and a hospital blue; the leaf reads as family)
.cx-root{ --cx-brand:#137a8a; --cx-brand-dark:#0e5c69; --cx-brand-soft:#e3f2f4; --cx-accent-ink:#0b3f47; --cx-link:#137a8a; --cx-info:#1b8fa3; }

   Option D — Blue with green accent: Option A for brand/links, but keep green for the soft tints and
   highlighted states so the leaf has company. Mix and match: tokens are independent.
.cx-root{ --cx-brand:#1f4e8c; --cx-brand-dark:#163a69; --cx-brand-soft:#e9f7e3; --cx-accent-ink:#1d5a0c; --cx-link:#1f4e8c; --cx-info:#2f7bd6; }
   --------------------------------------------------------------------------------------------------- */
.cx-root *,.cx-root *::before,.cx-root *::after{box-sizing:border-box}
.cx-root a{color:var(--cx-link);text-decoration:none}
.cx-root a:hover{color:var(--cx-accent-ink)}
.cx-root img{max-width:100%}

/* page frame */
.cx-wrap{max-width:1180px;margin:0 auto;padding-block:8px 32px;padding-inline:16px}
.cx-narrow{max-width:820px;margin:0 auto;padding-block:8px 32px;padding-inline:16px}
.cx-h1{font-family:var(--cx-font-display);color:var(--cx-brand);font-size:34px;line-height:1.15;margin:0;text-wrap:balance;font-weight:700}
.cx-h2{font-family:var(--cx-font-display);color:var(--cx-fg);font-size:22px;line-height:1.2;margin:0;font-weight:700}
.cx-lead{color:var(--cx-muted);font-size:16px;margin:4px 0 0;max-width:62ch}
.cx-hint{font-size:12px;color:var(--cx-muted)}
.cx-muted{color:var(--cx-muted)}
.cx-center{text-align:center}
.cx-center .cx-lead{margin-inline:auto}
.cx-page-head{display:flex;flex-direction:column;gap:6px;margin:12px 0 18px}

/* pills & buttons */
.cx-pill{background:var(--cx-brand);color:#fff;border:0;border-radius:999px;padding:9px 18px;font-weight:600;font-size:14px;cursor:pointer;text-decoration:none;display:inline-block;line-height:1.3;font-family:inherit}
.cx-root a.cx-pill,.cx-root a.cx-pill:hover{color:#fff}
.cx-pill:hover{background:var(--cx-brand-dark)}
.cx-pill.cx-ghost{background:transparent;color:var(--cx-accent-ink);border:1.5px solid var(--cx-brand)}
.cx-root a.cx-pill.cx-ghost,.cx-root a.cx-pill.cx-ghost:hover{color:var(--cx-accent-ink)}
.cx-pill.cx-ghost:hover{background:var(--cx-brand-soft)}
.cx-pill.cx-sm{padding:6px 14px;font-size:13px}
.cx-pill:focus-visible,.cx-root button:focus-visible,.cx-root a:focus-visible{outline:3px solid var(--cx-info);outline-offset:2px}
.cx-btn{border:1px solid var(--cx-line);background:var(--cx-bg);color:var(--cx-fg);border-radius:999px;padding:8px 16px;cursor:pointer;font-weight:600;font-family:inherit;font-size:14px}
.cx-btn.cx-primary{background:var(--cx-brand);border-color:var(--cx-brand);color:#fff}
.cx-btn.cx-primary:hover{background:var(--cx-brand-dark)}

/* segmented sub-menu (tabs within a section) */
.cx-submenu{display:flex;flex-wrap:wrap;gap:6px;padding:4px;background:var(--cx-panel);border-radius:999px;width:max-content;max-width:100%}
.cx-submenu a,.cx-submenu button{border:0;background:transparent;color:var(--cx-muted);border-radius:999px;padding:7px 16px;font-weight:600;font-size:14px;cursor:pointer;font-family:inherit;white-space:nowrap}
.cx-submenu a:hover{color:var(--cx-fg)}
.cx-submenu a[aria-current="page"],.cx-submenu button[aria-pressed="true"]{background:var(--cx-bg);color:var(--cx-accent-ink);box-shadow:0 1px 2px rgba(20,40,20,.12)}

/* toolbar */
.cx-toolbar{display:flex;flex-wrap:wrap;gap:10px 14px;align-items:center;justify-content:space-between;margin:14px 0 18px}
.cx-toolbar .cx-right{display:flex;gap:10px;align-items:center;flex-wrap:wrap;font-size:13px;color:var(--cx-muted)}
.cx-search{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.cx-search input[type=text],.cx-search input[type=search]{font:inherit;font-size:14px;color:var(--cx-fg);background:var(--cx-bg);border:1px solid var(--cx-line);border-radius:999px;padding:8px 14px;min-width:0;width:280px;max-width:100%}
.cx-search input:focus{border-color:var(--cx-brand);outline:none;box-shadow:0 0 0 3px var(--cx-brand-soft)}

/* chips & badges */
.cx-chips{display:flex;flex-wrap:wrap;gap:6px}
.cx-chip{border:1px solid var(--cx-line);background:var(--cx-bg);color:var(--cx-fg);border-radius:999px;padding:4px 12px;font-size:13px;cursor:pointer;font-family:inherit}
.cx-chip[aria-pressed="true"]{background:var(--cx-brand-soft);border-color:var(--cx-brand);color:var(--cx-accent-ink);font-weight:600}
.cx-badge{display:inline-block;font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;background:var(--cx-brand-soft);color:var(--cx-accent-ink);padding:3px 9px;border-radius:999px;white-space:nowrap}
.cx-tag{display:inline-block;font-size:12px;border:1px solid var(--cx-line);border-radius:4px;padding:1px 6px;color:var(--cx-muted)}

/* cards */
.cx-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:18px}
.cx-card{background:var(--cx-bg);border:1px solid var(--cx-line);border-radius:var(--cx-radius);box-shadow:var(--cx-shadow);display:flex;flex-direction:column;min-width:0;overflow:hidden}
.cx-root a.cx-card{color:var(--cx-fg)}
.cx-root a.cx-card:hover{color:var(--cx-fg);border-color:var(--cx-brand)}
@media (prefers-reduced-motion:no-preference){.cx-card{transition:transform .15s ease,border-color .15s ease}.cx-card:hover{transform:translateY(-2px)}}
.cx-card-media{display:block;aspect-ratio:4/3;width:100%;background:var(--cx-panel);overflow:hidden}
.cx-card-media.cx-square{aspect-ratio:1/1}
.cx-card-media img{width:100%;height:100%;object-fit:cover;display:block}
.cx-card-body{padding:12px 14px 14px;display:flex;flex-direction:column;gap:6px;flex:1 1 auto}
.cx-card-head{padding:12px 14px 10px;border-bottom:1px solid var(--cx-line);display:flex;justify-content:space-between;gap:10px;align-items:flex-start}
.cx-card-foot{margin-top:auto;padding:10px 14px;border-top:1px solid var(--cx-line);display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}
.cx-card-date{font-size:12px;color:var(--cx-muted);font-weight:600;letter-spacing:.04em;text-transform:uppercase}
.cx-card-title{font-size:19px;font-weight:700;line-height:1.25;text-wrap:balance;margin:0}
.cx-card-cta{margin-top:auto;padding-top:6px;color:var(--cx-link);font-weight:600;font-size:14px}

/* panels & tiles */
.cx-panel{background:var(--cx-panel);border-radius:8px;padding:12px 14px}
.cx-panel-title{font-size:11px;letter-spacing:.08em;text-transform:uppercase;font-weight:700;color:var(--cx-muted);display:flex;justify-content:space-between;align-items:baseline;gap:8px}
.cx-tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:14px}
.cx-tile{background:var(--cx-panel);border:1px solid var(--cx-line);border-radius:var(--cx-radius);padding:12px 14px}
.cx-tile .cx-lbl{font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--cx-muted);font-weight:600}
.cx-tile .cx-val{font-size:22px;font-weight:700;margin-top:2px;font-variant-numeric:tabular-nums}

/* article reader */
.cx-article{max-width:760px;margin:0 auto}
.cx-article-head{display:flex;flex-direction:column;gap:8px;margin:8px 0 18px}
.cx-article-title{font-family:var(--cx-font-display);font-size:36px;line-height:1.15;margin:0;text-wrap:balance;color:var(--cx-fg)}
.cx-article-meta{display:flex;flex-wrap:wrap;gap:6px 14px;align-items:center;font-size:13px;color:var(--cx-muted)}
.cx-prose{font-size:18px;line-height:1.6;color:var(--cx-fg)}
.cx-prose p{margin:0 0 1em;font-size:inherit;line-height:inherit;font-family:inherit;color:inherit}
.cx-prose h1,.cx-prose h2,.cx-prose h3{font-family:var(--cx-font-display);line-height:1.2;margin:1.4em 0 .5em;color:var(--cx-fg)}
.cx-prose h1{font-size:30px}.cx-prose h2{font-size:25px}.cx-prose h3{font-size:21px}
.cx-prose img{max-width:100%;height:auto;border-radius:8px;display:block;margin:1em auto}
.cx-prose img[style*="width: 0px"],.cx-prose img[style*="width:0px"],.cx-prose img[width="0"]{display:none}   /* zero-width leftovers from the article editor */
.cx-prose blockquote{border-left:3px solid var(--cx-brand);margin:1em 0;padding:4px 16px;color:var(--cx-muted)}
.cx-prose ul,.cx-prose ol{padding-left:1.4em}
.cx-prose table{width:100%;border-collapse:collapse;font-size:15px}
.cx-prose td,.cx-prose th{border-bottom:1px solid var(--cx-line);padding:6px 4px;text-align:left}
.cx-share{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.cx-share a{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--cx-line);border-radius:999px;padding:6px 12px;font-size:13px;color:var(--cx-fg);background:var(--cx-bg)}
.cx-share a:hover{border-color:var(--cx-brand);color:var(--cx-accent-ink)}
.cx-share svg{width:16px;height:16px}

/* comments */
.cx-comments{margin-top:32px;border-top:1px solid var(--cx-line);padding-top:20px;display:flex;flex-direction:column;gap:12px}
.cx-comments textarea{width:100%;font:inherit;font-size:15px;color:var(--cx-fg);background:var(--cx-bg);border:1px solid var(--cx-line);border-radius:8px;padding:10px 12px;resize:vertical}
.cx-comments textarea:focus{border-color:var(--cx-brand);outline:none;box-shadow:0 0 0 3px var(--cx-brand-soft)}
.cx-comment{background:var(--cx-panel);border-radius:8px;padding:10px 14px;font-size:15px;line-height:1.5}
.cx-comment .cx-who{font-weight:600;font-size:13px;color:var(--cx-muted);margin-bottom:4px}
.cx-notice{background:var(--cx-brand-soft);border:1px solid var(--cx-brand);border-radius:8px;padding:12px 14px;font-size:15px}

/* tables */
.cx-table-wrap{overflow-x:auto}
.cx-table{width:100%;border-collapse:collapse;font-size:14px;font-variant-numeric:tabular-nums}
.cx-table th{text-align:left;font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--cx-muted);padding:6px 8px;border-bottom:1px solid var(--cx-line)}
.cx-table td{padding:7px 8px;border-bottom:1px dashed var(--cx-line);vertical-align:top}

/* modal */
.cx-backdrop{position:fixed;inset:0;background:rgba(10,20,10,.55);display:flex;align-items:center;justify-content:center;padding:16px;z-index:1050}
.cx-modal{background:var(--cx-bg);color:var(--cx-fg);border-radius:12px;max-width:620px;width:100%;max-height:92vh;overflow:auto;box-shadow:0 20px 60px rgba(0,0,0,.35);border:1px solid var(--cx-line)}
.cx-modal-head{background:var(--cx-brand);color:#fff;padding:14px 18px;border-radius:12px 12px 0 0;display:flex;justify-content:space-between;align-items:center;gap:10px}
.cx-modal-head h2{margin:0;font-size:18px;font-family:var(--cx-font-display);color:#fff}
.cx-modal-body{padding:16px 18px;display:flex;flex-direction:column;gap:16px}
.cx-modal-foot{padding:12px 18px 16px;display:flex;justify-content:flex-end;gap:10px;border-top:1px solid var(--cx-line)}
.cx-close{background:transparent;border:0;color:#fff;font-size:22px;cursor:pointer;line-height:1;font-family:inherit}
.cx-toast{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);background:var(--cx-accent-ink);color:#fff;padding:10px 16px;border-radius:999px;font-size:14px;z-index:1060;box-shadow:var(--cx-shadow)}

@media (max-width:480px){.cx-h1{font-size:28px}.cx-article-title{font-size:28px}.cx-prose{font-size:17px}.cx-search input[type=text]{width:100%}}
/* ---------- Editorial masthead & footer (site chrome) ---------- */
.cx-masthead-wrap{max-width:1180px;margin:0 auto;padding:22px 16px 0}
.cx-masthead{display:flex;justify-content:space-between;align-items:center;gap:16px 24px;flex-wrap:wrap;padding-bottom:14px;border-bottom:2px solid var(--cx-fg)}
.cx-masthead-brand img{display:block;width:230px;max-width:100%;height:auto;margin-left:0}
.cx-masthead-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.cx-masthead-account{display:flex;gap:16px;align-items:center;margin-left:10px;padding-left:16px;border-left:1px solid var(--cx-line)}
.cx-masthead-link{display:inline-flex;align-items:center;gap:6px;font-size:13.5px;font-weight:600;color:var(--cx-muted);text-decoration:none;white-space:nowrap}
.cx-root a.cx-masthead-link:hover{color:var(--cx-fg)}
.cx-root a.cx-masthead-link.cx-has-mail{color:var(--cx-link)}
.cx-masthead-account .dropdown-menu{font-size:14px}
.cx-avatar{width:40px;height:50px;border-radius:50%;object-fit:cover;object-position:center top;background:var(--cx-panel);display:inline-block}   /* portrait oval (Todd, Oct 2026) */
@media (max-width:640px){.cx-masthead-account{margin-left:0;padding-left:0;border-left:0;width:100%}}
.cx-masthead-nav{max-width:1180px;margin:0 auto;padding:0 16px}
/* Home page width (Oct 2026): bands run full-bleed, their CONTENT sits in a 1180px column.
   (Replaces the #bground cap: that boxed the backgrounds too. Bootstrap .container sections already behave this way.) */
.cx-col{max-width:1180px;margin-left:auto;margin-right:auto;box-sizing:border-box}
.publicationArticlesIndexBody{max-width:1180px;margin-left:auto;margin-right:auto}
.ecs-hero-wrap .toplefttext{max-width:1180px;margin-left:auto;margin-right:auto;padding:0 20px}
.cx-masthead-nav>.d-flex{border-bottom:1px solid var(--cx-line)} /* rule sits inside the padding, same edges as the masthead rule above it */
.cx-masthead-nav .navbar{width:100%;padding:0}
.cx-masthead-nav .navbar-collapse{width:100%}
.cx-masthead-nav .navbar-nav{width:100%;gap:2px 6px;align-items:center}
.cx-masthead-nav .nav-link,.cx-masthead-nav .navbar-nav>li>a.nav-link{font-family:var(--cx-font-body);font-size:12.5px !important;font-weight:600;letter-spacing:.07em;text-transform:uppercase;color:var(--cx-fg);padding:12px 9px;white-space:nowrap}
.cx-masthead-nav .nav-link img{vertical-align:-3px}
.cx-masthead-nav .nav-link:hover,.cx-masthead-nav .nav-link.active{color:var(--cx-brand-dark)}
.cx-masthead-nav .nav-link.active{box-shadow:inset 0 -2px 0 var(--cx-brand)}
.cx-masthead-nav .cx-nav-account .nav-link,.cx-masthead-nav .cx-nav-account ~ li .nav-link{text-transform:none;letter-spacing:0;font-weight:500;font-size:14px !important;color:var(--cx-muted)}
.cx-masthead-nav .dropdown-menu{border:1px solid var(--cx-line);border-radius:8px;box-shadow:var(--cx-shadow);font-size:14px}
.cx-masthead-nav .dropdown-item{color:var(--cx-fg);padding:7px 14px}
.cx-masthead-nav .dropdown-item:hover,.cx-masthead-nav .dropdown-item.active{background:var(--cx-brand-soft);color:var(--cx-accent-ink)}
.cx-masthead-nav .UserMenu{display:inline-block;vertical-align:middle;font-size:14px}
.cx-masthead-nav .navbar-toggler{margin:8px 0}
@media (max-width:991px){.cx-masthead-nav .nav-link{padding:10px 8px}.cx-masthead{align-items:center}}

.cx-footer{margin-top:48px;border-top:2px solid var(--cx-fg);font-size:14px;color:var(--cx-muted);background:var(--cx-bg)}
.cx-footer-inner{max-width:1180px;margin:0 auto;padding:26px 16px 22px}
.cx-footer-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:24px;align-items:start}
.cx-footer-grid>div{display:flex;flex-direction:column;gap:6px;min-width:0}
.cx-footer-grid img{align-self:flex-start;width:auto;height:auto;max-width:100%}
.cx-footer-grid img[height]{height:auto;max-height:120px}
.cx-footer-grid a{color:var(--cx-link)}
.cx-footer-h{font-family:var(--cx-font-display);font-weight:700;font-size:15px;color:var(--cx-fg);margin:0 0 4px}
.cx-footer-legal{display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px 20px;margin-top:20px;padding-top:12px;border-top:1px solid var(--cx-line);font-size:12px}
.cx-footer-legal a{color:var(--cx-link)}

/* ---------- My Mail (Phase B, Oct 2026) ---------- */
.cx-root [hidden]{display:none!important}
.cx-mail-page{padding-top:18px;padding-bottom:40px}
.cx-mail-head{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;flex-wrap:wrap;margin-bottom:16px}
.cx-mail{display:grid;grid-template-columns:380px minmax(0,1fr);gap:18px;align-items:start}
.cx-mail-list{background:var(--cx-bg);border:1px solid var(--cx-line);border-radius:var(--cx-radius);box-shadow:var(--cx-shadow);overflow:hidden;min-width:0}
.cx-mail-tabs{margin:10px 10px 6px}
.cx-mail-count{display:inline-block;min-width:18px;padding:0 6px;border-radius:999px;background:var(--cx-brand);color:#fff;font-size:11px;line-height:18px;text-align:center;margin-left:4px}
.cx-mail-count:empty{display:none}
.cx-mail-rows{max-height:70vh;overflow:auto}
.cx-mail-row{display:flex;gap:12px;width:100%;text-align:left;background:transparent;border:0;border-top:1px solid var(--cx-line);padding:12px 14px;cursor:pointer;font:inherit;color:var(--cx-fg);min-width:0}
.cx-mail-row:hover{background:var(--cx-panel)}
.cx-mail-row.cx-selected{background:var(--cx-brand-soft)}
.cx-mail-row.cx-unread .cx-mail-name,.cx-mail-row.cx-unread .cx-mail-subject{font-weight:700;color:var(--cx-fg)}
.cx-mail-row.cx-unread .cx-mail-avatar::after{content:"";position:absolute;top:-2px;right:-2px;width:10px;height:10px;border-radius:50%;background:var(--cx-brand);border:2px solid var(--cx-bg)}
.cx-mail-avatar{position:relative;flex:0 0 auto;width:42px;height:42px;border-radius:50%;background:var(--cx-brand-soft);color:var(--cx-accent-ink);font-weight:700;font-size:16px;display:flex;align-items:center;justify-content:center;overflow:visible}
.cx-mail-avatar>span{line-height:1}
.cx-mail-avatar img{position:absolute;inset:0;width:100%;height:100%;border-radius:50%;object-fit:cover;background:#fff}
.cx-mail-main{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1 1 auto}
.cx-mail-top{display:flex;justify-content:space-between;gap:10px;align-items:baseline}
.cx-mail-name{font-weight:600;font-size:15px;color:var(--cx-fg);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cx-mail-time{font-size:12px;color:var(--cx-muted);white-space:nowrap}
.cx-mail-via{font-weight:600;font-size:12px;color:var(--cx-muted);margin-left:6px}
.cx-mail-subject{font-size:14px;color:var(--cx-fg);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cx-mail-preview{font-size:13px;color:var(--cx-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cx-mail-empty{padding:28px 16px;color:var(--cx-muted);text-align:center}
.cx-mail-more{display:block;width:100%;border:0;border-top:1px solid var(--cx-line);background:var(--cx-panel);color:var(--cx-link);font:inherit;font-weight:600;font-size:14px;padding:12px;cursor:pointer}
.cx-mail-pane{background:var(--cx-bg);border:1px solid var(--cx-line);border-radius:var(--cx-radius);box-shadow:var(--cx-shadow);min-width:0;min-height:420px;display:flex;flex-direction:column}
.cx-mail-pane>div{display:flex;flex-direction:column;flex:1 1 auto;min-height:0}
.cx-mail-placeholder{align-items:center;justify-content:center;color:var(--cx-muted);padding:40px}
.cx-mail-pane-head{display:flex;align-items:center;gap:12px;padding:14px 16px;border-bottom:1px solid var(--cx-line);flex:0 0 auto}
.cx-mail-pane-title{min-width:0;flex:1 1 auto}
.cx-mail-pane-title .cx-mail-name{font-size:17px}
.cx-mail-back{display:none;border:0;background:transparent;font:inherit;font-size:20px;color:var(--cx-link);cursor:pointer;padding:0 4px}
.cx-mail-messages{flex:1 1 auto;overflow:auto;padding:16px;display:flex;flex-direction:column;gap:12px;max-height:48vh}
.cx-mail-msg{max-width:82%;border-radius:12px;padding:10px 14px;font-size:15px;line-height:1.45}
.cx-mail-msg.cx-from-them{align-self:flex-start;background:var(--cx-panel);border-bottom-left-radius:4px}
.cx-mail-msg.cx-from-me{align-self:flex-end;background:var(--cx-brand-soft);border-bottom-right-radius:4px}
.cx-mail-msg-meta{display:flex;gap:10px;flex-wrap:wrap;align-items:baseline;font-size:12px;color:var(--cx-muted);margin-bottom:4px}
.cx-mail-msg-meta b{color:var(--cx-fg);font-size:13px}
.cx-mail-read{font-style:italic}
.cx-mail-msg-subject{font-weight:600;font-size:14px;margin-bottom:4px}
.cx-mail-msg-body p{margin:0 0 .6em}
.cx-mail-msg-body p:last-child{margin-bottom:0}
.cx-mail-msg-body ul,.cx-mail-msg-body ol{margin:0 0 .6em;padding-left:1.4em}
.cx-mail-reply,.cx-mail-pane #composeForm{padding:14px 16px;border-top:1px solid var(--cx-line);display:flex;flex-direction:column;gap:10px;flex:0 0 auto}
.cx-mail-pane #composeForm{border-top:0}
.cx-mail-input{font:inherit;font-size:15px;color:var(--cx-fg);background:var(--cx-bg);border:1px solid var(--cx-line);border-radius:8px;padding:9px 12px;width:100%}
.cx-mail-input:focus{border-color:var(--cx-brand);outline:none;box-shadow:0 0 0 3px var(--cx-brand-soft)}
.cx-mail-actions{display:flex;justify-content:flex-end;align-items:center;gap:12px}
.cx-mail-error{color:var(--cx-warn);font-size:13px;margin-right:auto}
.cx-root .note-editor.note-frame{border:1px solid var(--cx-line);border-radius:8px;font-family:inherit}
.cx-root .note-editor .note-toolbar{background:var(--cx-panel);border-bottom:1px solid var(--cx-line);border-radius:8px 8px 0 0}
.cx-root .note-editable{font-size:15px;line-height:1.45;color:var(--cx-fg)}
.cx-mail-search{padding:14px 16px 6px}
.cx-mail-search input[type=search]{width:100%}
.cx-mail-groups{padding:6px 8px 14px;overflow:auto;max-height:56vh}
.cx-mail-group{margin:8px 0 4px}
.cx-mail-group .cx-panel-title{padding:8px 8px 4px}
.cx-mail-pick{display:flex;align-items:center;gap:12px;width:100%;text-align:left;background:transparent;border:0;border-radius:8px;padding:8px;cursor:pointer;font:inherit;color:var(--cx-fg)}
.cx-mail-pick:hover{background:var(--cx-panel)}
.cx-mail-pick .cx-mail-avatar{width:36px;height:36px;font-size:14px}
.cx-mail-to{display:flex;align-items:center;gap:12px;padding:4px 0 2px}
.cx-mail-favask{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;font-size:14px}
.cx-mail-favbtns{display:flex;gap:8px;align-items:center}
@media (max-width:900px){
  .cx-mail{grid-template-columns:1fr}
  .cx-mail-pane{display:none}
  .cx-mail.cx-show-pane .cx-mail-pane{display:flex}
  .cx-mail.cx-show-pane .cx-mail-list{display:none}
  .cx-mail-back{display:inline-block}
  .cx-mail-rows{max-height:none}
  .cx-mail-messages{max-height:none}
  .cx-mail-msg{max-width:92%}
}

/* Brand refresh (Oct 2026): buttons and controls use the style guide's softly rounded corners instead of full pills;
   legacy green headings inside facelifted pages follow the brand colour. Badges, counts and avatars stay round. */
.cx-pill,.cx-btn,.cx-chip,.cx-share a,.cx-search input[type=text],.cx-search input[type=search]{border-radius:6px}
.cx-submenu{border-radius:8px}
.cx-submenu a,.cx-submenu button{border-radius:6px}
.cx-toast{border-radius:8px}
.cx-root .cannaLnxGreen{color:var(--cx-brand) !important}
.cx-h1,.cx-h2,.cx-article-title,.cx-prose h1,.cx-prose h2,.cx-prose h3,.cx-footer-h{font-weight:600;letter-spacing:-.01em}
